@alexgorbatchev/shadcn 0.0.92 → 0.0.94

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.
@@ -126,7 +126,7 @@ import {
126
126
  } from "./chunk-1j2hz3w9.js";
127
127
  import {
128
128
  useMediaQuery
129
- } from "./chunk-k99h6evz.js";
129
+ } from "./chunk-cc35g6sr.js";
130
130
  import {
131
131
  Avatar2,
132
132
  AvatarImage2,
@@ -1656,170 +1656,13 @@ function PaginationEllipsis2({ density, className, ...props }) {
1656
1656
  ]
1657
1657
  });
1658
1658
  }
1659
- // src/components/Drawer.tsx
1660
- import { useMemo as useMemo2 } from "react";
1661
-
1662
- // src/drawer/DrawerContext.ts
1663
- import { createContext as createContext2 } from "react";
1664
- var DrawerContext = createContext2(null);
1665
-
1666
- // src/hooks/useDrawer.ts
1667
- import { useContext } from "react";
1668
- function useDrawer() {
1669
- const context = useContext(DrawerContext);
1670
- if (!context) {
1671
- throw new Error("useDrawer must be used within a Drawer.");
1672
- }
1673
- return context;
1674
- }
1675
-
1676
- // src/components/Drawer.tsx
1677
- import { Drawer as DrawerPrimitive } from "@base-ui/react/drawer";
1678
- import { jsx as jsx19, jsxs as jsxs12 } from "react/jsx-runtime";
1679
- function Drawer2({
1680
- analytics,
1681
- modal = true,
1682
- showSwipeHandle = false,
1683
- snapPoints,
1684
- swipeDirection = "down",
1685
- ...props
1686
- }) {
1687
- const trackedOnOpenChange = useAnalyticsCallback("Drawer", analytics, (open, _details) => ({ name: "ui.open-request", open }), props.onOpenChange);
1688
- const hasSnapPoints = snapPoints != null && snapPoints.length > 0;
1689
- const contextValue = useMemo2(() => ({ hasSnapPoints, modal, showSwipeHandle, swipeDirection }), [hasSnapPoints, modal, showSwipeHandle, swipeDirection]);
1690
- return /* @__PURE__ */ jsx19(DrawerContext.Provider, {
1691
- value: contextValue,
1692
- children: /* @__PURE__ */ jsx19(DrawerPrimitive.Root, {
1693
- "data-slot": "drawer",
1694
- modal,
1695
- snapPoints,
1696
- swipeDirection,
1697
- ...props,
1698
- onOpenChange: trackedOnOpenChange
1699
- })
1700
- });
1701
- }
1702
- function DrawerTrigger2({ ...props }) {
1703
- return /* @__PURE__ */ jsx19(DrawerPrimitive.Trigger, {
1704
- "data-slot": "drawer-trigger",
1705
- ...props
1706
- });
1707
- }
1708
- function DrawerPortal2({ container, ref, children, ...props }) {
1709
- const resolvedContainer = usePortalContainer2(container);
1710
- const portal = usePortalNode(ref);
1711
- return /* @__PURE__ */ jsx19(DrawerPrimitive.Portal, {
1712
- "data-slot": "drawer-portal",
1713
- container: resolvedContainer,
1714
- ref: portal.ref,
1715
- ...props,
1716
- children: /* @__PURE__ */ jsx19(PortalProvider2, {
1717
- container: portal.node,
1718
- children
1719
- })
1720
- });
1721
- }
1722
- function DrawerClose2({ ...props }) {
1723
- return /* @__PURE__ */ jsx19(DrawerPrimitive.Close, {
1724
- "data-slot": "drawer-close",
1725
- ...props
1726
- });
1727
- }
1728
- function DrawerOverlay2({ density, className, ...props }) {
1729
- const resolvedDensity = useDensity(density);
1730
- return /* @__PURE__ */ jsx19(DrawerPrimitive.Backdrop, {
1731
- "data-density": resolvedDensity,
1732
- "data-slot": "drawer-overlay",
1733
- className: (state) => cn2("fixed inset-0 min-h-dvh bg-backdrop opacity-[max(var(--drawer-overlay-min-opacity,0),calc(1-var(--drawer-swipe-progress)))] transition-opacity duration-450 ease-[cubic-bezier(0.32,0.72,0,1)] select-none data-ending-style:pointer-events-none data-ending-style:opacity-0 data-ending-style:duration-[calc(var(--drawer-swipe-strength)*400ms)] data-snap-points:[--drawer-overlay-min-opacity:0.5] data-starting-style:opacity-0 data-swiping:duration-0 supports-[-webkit-touch-callout:none]:absolute", typeof className === "function" ? className(state) : className),
1734
- ...props
1735
- });
1736
- }
1737
- function DrawerSwipeHandle2({ density, className, ...props }) {
1738
- return /* @__PURE__ */ jsx19("div", {
1739
- "data-density": density,
1740
- "data-slot": "drawer-swipe-handle",
1741
- "aria-hidden": "true",
1742
- className: cn2("relative flex shrink-0 cursor-grab transition-opacity duration-200 group-data-nested-drawer-open/drawer-popup:opacity-0 group-data-nested-drawer-swiping/drawer-popup:opacity-100 group-data-[swipe-axis=x]/drawer-popup:h-full group-data-[swipe-axis=x]/drawer-popup:w-3 group-data-[swipe-axis=x]/drawer-popup:items-center group-data-[swipe-axis=y]/drawer-popup:h-3 group-data-[swipe-axis=y]/drawer-popup:w-full group-data-[swipe-axis=y]/drawer-popup:justify-center group-data-[swipe-direction=down]/drawer-popup:items-end group-data-[swipe-direction=left]/drawer-popup:order-last group-data-[swipe-direction=left]/drawer-popup:justify-start group-data-[swipe-direction=right]/drawer-popup:justify-end group-data-[swipe-direction=up]/drawer-popup:order-last group-data-[swipe-direction=up]/drawer-popup:items-start after:block after:shrink-0 after:rounded-full after:bg-muted group-data-[swipe-axis=x]/drawer-popup:after:h-24 group-data-[swipe-axis=x]/drawer-popup:after:w-1 group-data-[swipe-axis=y]/drawer-popup:after:h-1 group-data-[swipe-axis=y]/drawer-popup:after:w-24 active:cursor-grabbing", className),
1743
- ...props
1744
- });
1745
- }
1746
- function DrawerContent2({ density, className, children, ...props }) {
1747
- const resolvedDensity = useDensity(density);
1748
- const direction = useDirection2();
1749
- const { hasSnapPoints, modal, showSwipeHandle, swipeDirection } = useDrawer();
1750
- const swipeAxis = swipeDirection === "down" || swipeDirection === "up" ? "y" : "x";
1751
- return /* @__PURE__ */ jsxs12(DrawerPortal2, {
1752
- "data-slot": "drawer-portal",
1753
- children: [
1754
- modal === true && /* @__PURE__ */ jsx19(DrawerOverlay2, {
1755
- "data-snap-points": hasSnapPoints ? "" : undefined
1756
- }),
1757
- /* @__PURE__ */ jsx19(DrawerPrimitive.Viewport, {
1758
- dir: direction,
1759
- "data-slot": "drawer-viewport",
1760
- "data-modal": modal,
1761
- className: "pointer-events-none fixed inset-0 select-none data-[modal=true]:pointer-events-auto",
1762
- children: /* @__PURE__ */ jsxs12(DrawerPrimitive.Popup, {
1763
- "data-density": resolvedDensity,
1764
- "data-slot": "drawer-popup",
1765
- "data-scroll": "none",
1766
- "data-swipe-axis": swipeAxis,
1767
- "data-snap-points": hasSnapPoints ? "" : undefined,
1768
- className: (state) => cn2("group/drawer-popup pointer-events-auto fixed m-(--drawer-inset,0px) flex h-(--drawer-content-height) max-h-(--drawer-content-max-height,none) min-h-0 w-(--drawer-content-width,auto) transform-[translate3d(var(--translate-x,0px),var(--translate-y,0px),0)] flex-col border border-frame-edge shadow-frame bg-popover text-sm text-popover-foreground transition-[transform,height,opacity,filter] duration-450 ease-[cubic-bezier(0.22,1,0.36,1)] will-change-transform outline-none select-none [interpolate-size:allow-keywords] data-[swipe-direction=down]:rounded-t-md data-[swipe-direction=down]:border-t data-[swipe-direction=left]:rounded-r-md data-[swipe-direction=left]:border-r data-[swipe-direction=right]:rounded-l-md data-[swipe-direction=right]:border-l data-[swipe-direction=up]:rounded-b-md data-[swipe-direction=up]:border-b", "data-nested-drawer-open:overflow-hidden data-nested-drawer-open:brightness-95", "after:pointer-events-none after:absolute after:bg-(--drawer-bleed-background,var(--color-popover)) data-[swipe-axis=x]:after:inset-y-0 data-[swipe-axis=x]:after:w-(--bleed) data-[swipe-axis=y]:after:inset-x-0 data-[swipe-axis=y]:after:h-(--bleed) data-[swipe-direction=down]:after:top-full data-[swipe-direction=left]:after:right-full data-[swipe-direction=right]:after:left-full data-[swipe-direction=up]:after:bottom-full", "[--drawer-content-height:var(--drawer-height,auto)] data-[swipe-axis=x]:[--drawer-content-width:75%] data-[swipe-axis=y]:[--drawer-content-max-height:calc(100dvh-6rem)] data-[swipe-axis=y]:data-snap-points:[--drawer-content-height:100dvh] data-[swipe-axis=x]:sm:[--drawer-content-width:24rem]", "[--bleed:3rem] [--peek:1rem] [--stack-height:var(--drawer-frontmost-height,var(--drawer-height,0px))] [--stack-peek-offset:max(0px,calc((var(--nested-drawers)-var(--stack-progress))*var(--peek)))] [--stack-progress:clamp(0,var(--drawer-swipe-progress),1)] [--stack-shrink:0]", "data-ending-style:transform-(--closed-transform) data-ending-style:opacity-[0.9999] data-ending-style:duration-[calc(var(--drawer-swipe-strength)*400ms)] data-nested-drawer-swiping:duration-0 data-ending-style:data-nested-drawer-swiping:duration-[calc(var(--drawer-swipe-strength)*400ms)] data-starting-style:transform-(--closed-transform) data-swiping:duration-0 data-ending-style:data-swiping:duration-[calc(var(--drawer-swipe-strength)*400ms)]", "data-[swipe-axis=y]:inset-x-0 data-[swipe-axis=y]:data-nested-drawer-open:h-(--stack-height)", "data-[swipe-axis=x]:inset-y-0 data-[swipe-axis=x]:flex-row", "data-[swipe-direction=down]:bottom-0 data-[swipe-direction=down]:origin-bottom data-[swipe-direction=down]:[--closed-transform:translate3d(0,calc(100%+var(--drawer-inset,0px)+2px),0)] data-[swipe-direction=down]:[--translate-y:calc(var(--drawer-snap-point-offset,0px)+var(--drawer-swipe-movement-y)-var(--stack-peek-offset)-(var(--stack-shrink)*var(--stack-height)))]", "data-[swipe-direction=up]:top-0 data-[swipe-direction=up]:origin-top data-[swipe-direction=up]:[--closed-transform:translate3d(0,calc(-100%-var(--drawer-inset,0px)-2px),0)] data-[swipe-direction=up]:[--translate-y:calc(var(--drawer-snap-point-offset,0px)+var(--drawer-swipe-movement-y)+var(--stack-peek-offset)+(var(--stack-shrink)*var(--stack-height)))]", "data-[swipe-direction=left]:left-0 data-[swipe-direction=left]:origin-left data-[swipe-direction=left]:[--closed-transform:translate3d(calc(-100%-var(--drawer-inset,0px)-2px),0,0)] data-[swipe-direction=left]:[--translate-x:calc(var(--drawer-swipe-movement-x)+var(--stack-peek-offset)+(var(--stack-shrink)*100%))]", "data-[swipe-direction=right]:right-0 data-[swipe-direction=right]:origin-right data-[swipe-direction=right]:[--closed-transform:translate3d(calc(100%+var(--drawer-inset,0px)+2px),0,0)] data-[swipe-direction=right]:[--translate-x:calc(var(--drawer-swipe-movement-x)-var(--stack-peek-offset)-(var(--stack-shrink)*100%))]", typeof className === "function" ? className(state) : className),
1769
- ...props,
1770
- children: [
1771
- showSwipeHandle && /* @__PURE__ */ jsx19(DrawerSwipeHandle2, {}),
1772
- /* @__PURE__ */ jsx19(DrawerPrimitive.Content, {
1773
- "data-slot": "drawer-content",
1774
- "data-scroll": "none",
1775
- className: "flex min-h-0 flex-1 flex-col overflow-hidden overscroll-contain rounded-[inherit] transition-opacity duration-300 ease-out select-text group-data-nested-drawer-open/drawer-popup:opacity-0 group-data-nested-drawer-swiping/drawer-popup:opacity-100 group-data-swiping/drawer-popup:select-none",
1776
- children
1777
- })
1778
- ]
1779
- })
1780
- })
1781
- ]
1782
- });
1783
- }
1784
- function DrawerHeader2({ density, className, ...props }) {
1785
- return /* @__PURE__ */ jsx19("div", {
1786
- "data-density": density,
1787
- "data-slot": "drawer-header",
1788
- className: cn2("flex shrink-0 flex-col gap-0.5 p-panel pb-0 group-data-[swipe-axis=y]/drawer-popup:text-center md:gap-0.5 md:text-start md:group-data-[swipe-axis=y]/drawer-popup:text-start", className),
1789
- ...props
1790
- });
1791
- }
1792
- function DrawerFooter2({ density, className, ...props }) {
1793
- return /* @__PURE__ */ jsx19("div", {
1794
- "data-density": density,
1795
- "data-slot": "drawer-footer",
1796
- className: cn2("mt-auto flex shrink-0 flex-col gap-2 p-panel pt-0", className),
1797
- ...props
1798
- });
1799
- }
1800
- function DrawerTitle2({ density, className, ...props }) {
1801
- return /* @__PURE__ */ jsx19(DrawerPrimitive.Title, {
1802
- "data-density": density,
1803
- "data-slot": "drawer-title",
1804
- className: (state) => cn2(" text-base font-medium text-foreground", typeof className === "function" ? className(state) : className),
1805
- ...props
1806
- });
1807
- }
1808
- function DrawerDescription2({ density, className, ...props }) {
1809
- return /* @__PURE__ */ jsx19(DrawerPrimitive.Description, {
1810
- "data-density": density,
1811
- "data-slot": "drawer-description",
1812
- className: (state) => cn2("text-sm text-balance text-muted-foreground", typeof className === "function" ? className(state) : className),
1813
- ...props
1814
- });
1815
- }
1816
1659
  // src/components/Menubar.tsx
1817
1660
  import { CheckIcon } from "lucide-react";
1818
1661
  import { Menu as MenuPrimitive } from "@base-ui/react/menu";
1819
1662
  import { Menubar as MenubarPrimitive } from "@base-ui/react/menubar";
1820
- import { jsx as jsx20, jsxs as jsxs13 } from "react/jsx-runtime";
1663
+ import { jsx as jsx19, jsxs as jsxs12 } from "react/jsx-runtime";
1821
1664
  function Menubar2({ density, className, ...props }) {
1822
- return /* @__PURE__ */ jsx20(MenubarPrimitive, {
1665
+ return /* @__PURE__ */ jsx19(MenubarPrimitive, {
1823
1666
  "data-density": density,
1824
1667
  "data-slot": "menubar",
1825
1668
  className: (state) => cn2("flex h-control items-center gap-0.5 rounded-sm border p-px", typeof className === "function" ? className(state) : className),
@@ -1831,26 +1674,26 @@ function MenubarMenu2({
1831
1674
  ...props
1832
1675
  }) {
1833
1676
  const trackedOnOpenChange = useAnalyticsCallback("MenubarMenu", analytics, (open, _details) => ({ name: "ui.open-request", open }), props.onOpenChange);
1834
- return /* @__PURE__ */ jsx20(DropdownMenu2, {
1677
+ return /* @__PURE__ */ jsx19(DropdownMenu2, {
1835
1678
  "data-slot": "menubar-menu",
1836
1679
  ...props,
1837
1680
  onOpenChange: trackedOnOpenChange
1838
1681
  });
1839
1682
  }
1840
1683
  function MenubarGroup2({ ...props }) {
1841
- return /* @__PURE__ */ jsx20(MenuGroup2, {
1684
+ return /* @__PURE__ */ jsx19(MenuGroup2, {
1842
1685
  "data-slot": "menubar-group",
1843
1686
  ...props
1844
1687
  });
1845
1688
  }
1846
1689
  function MenubarPortal2({ ...props }) {
1847
- return /* @__PURE__ */ jsx20(MenuPortal, {
1690
+ return /* @__PURE__ */ jsx19(MenuPortal, {
1848
1691
  "data-slot": "menubar-portal",
1849
1692
  ...props
1850
1693
  });
1851
1694
  }
1852
1695
  function MenubarTrigger2({ density, className, ...props }) {
1853
- return /* @__PURE__ */ jsx20(DropdownMenuTrigger2, {
1696
+ return /* @__PURE__ */ jsx19(DropdownMenuTrigger2, {
1854
1697
  "data-density": density,
1855
1698
  "data-slot": "menubar-trigger",
1856
1699
  className: (state) => cn2("flex h-full items-center rounded-sm px-control-x text-sm leading-none font-medium outline-hidden select-none hover:bg-muted aria-expanded:bg-muted", typeof className === "function" ? className(state) : className),
@@ -1865,7 +1708,7 @@ function MenubarContent2({
1865
1708
  sideOffset = 8,
1866
1709
  ...props
1867
1710
  }) {
1868
- return /* @__PURE__ */ jsx20(MenuPopup, {
1711
+ return /* @__PURE__ */ jsx19(MenuPopup, {
1869
1712
  density,
1870
1713
  "data-slot": "menubar-content",
1871
1714
  align,
@@ -1884,7 +1727,7 @@ function MenubarItem2({
1884
1727
  ...props
1885
1728
  }) {
1886
1729
  const trackedOnClick = useAnalyticsCallback("MenubarItem", analytics, { name: "ui.activate" }, props.onClick);
1887
- return /* @__PURE__ */ jsx20(MenuItem2, {
1730
+ return /* @__PURE__ */ jsx19(MenuItem2, {
1888
1731
  density,
1889
1732
  "data-slot": "menubar-item",
1890
1733
  inset,
@@ -1904,7 +1747,7 @@ function MenubarCheckboxItem2({
1904
1747
  ...props
1905
1748
  }) {
1906
1749
  const trackedOnCheckedChange = useAnalyticsCallback("MenubarCheckboxItem", analytics, { name: "ui.change-request" }, props.onCheckedChange);
1907
- return /* @__PURE__ */ jsxs13(MenuPrimitive.CheckboxItem, {
1750
+ return /* @__PURE__ */ jsxs12(MenuPrimitive.CheckboxItem, {
1908
1751
  "data-density": density,
1909
1752
  "data-slot": "menubar-checkbox-item",
1910
1753
  "data-inset": inset,
@@ -1913,10 +1756,10 @@ function MenubarCheckboxItem2({
1913
1756
  ...props,
1914
1757
  onCheckedChange: trackedOnCheckedChange,
1915
1758
  children: [
1916
- /* @__PURE__ */ jsx20("span", {
1759
+ /* @__PURE__ */ jsx19("span", {
1917
1760
  className: "pointer-events-none absolute start-1.5 flex size-4 items-center justify-center [&_svg:not([class*='size-'])]:size-4",
1918
- children: /* @__PURE__ */ jsx20(MenuPrimitive.CheckboxItemIndicator, {
1919
- children: /* @__PURE__ */ jsx20(CheckIcon, {})
1761
+ children: /* @__PURE__ */ jsx19(MenuPrimitive.CheckboxItemIndicator, {
1762
+ children: /* @__PURE__ */ jsx19(CheckIcon, {})
1920
1763
  })
1921
1764
  }),
1922
1765
  children
@@ -1924,23 +1767,23 @@ function MenubarCheckboxItem2({
1924
1767
  });
1925
1768
  }
1926
1769
  function MenubarRadioGroup2({ ...props }) {
1927
- return /* @__PURE__ */ jsx20(MenuRadioGroup2, {
1770
+ return /* @__PURE__ */ jsx19(MenuRadioGroup2, {
1928
1771
  "data-slot": "menubar-radio-group",
1929
1772
  ...props
1930
1773
  });
1931
1774
  }
1932
1775
  function MenubarRadioItem2({ density, className, children, inset, ...props }) {
1933
- return /* @__PURE__ */ jsxs13(MenuPrimitive.RadioItem, {
1776
+ return /* @__PURE__ */ jsxs12(MenuPrimitive.RadioItem, {
1934
1777
  "data-density": density,
1935
1778
  "data-slot": "menubar-radio-item",
1936
1779
  "data-inset": inset,
1937
1780
  className: (state) => cn2("relative flex cursor-default items-center gap-control-gap rounded-md py-1 pe-1.5 ps-7 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:ps-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", typeof className === "function" ? className(state) : className),
1938
1781
  ...props,
1939
1782
  children: [
1940
- /* @__PURE__ */ jsx20("span", {
1783
+ /* @__PURE__ */ jsx19("span", {
1941
1784
  className: "pointer-events-none absolute start-1.5 flex size-4 items-center justify-center [&_svg:not([class*='size-'])]:size-4",
1942
- children: /* @__PURE__ */ jsx20(MenuPrimitive.RadioItemIndicator, {
1943
- children: /* @__PURE__ */ jsx20(CheckIcon, {})
1785
+ children: /* @__PURE__ */ jsx19(MenuPrimitive.RadioItemIndicator, {
1786
+ children: /* @__PURE__ */ jsx19(CheckIcon, {})
1944
1787
  })
1945
1788
  }),
1946
1789
  children
@@ -1948,7 +1791,7 @@ function MenubarRadioItem2({ density, className, children, inset, ...props }) {
1948
1791
  });
1949
1792
  }
1950
1793
  function MenubarLabel2({ density, className, inset, ...props }) {
1951
- return /* @__PURE__ */ jsx20(MenuLabel2, {
1794
+ return /* @__PURE__ */ jsx19(MenuLabel2, {
1952
1795
  density,
1953
1796
  "data-slot": "menubar-label",
1954
1797
  inset,
@@ -1957,7 +1800,7 @@ function MenubarLabel2({ density, className, inset, ...props }) {
1957
1800
  });
1958
1801
  }
1959
1802
  function MenubarSeparator2({ density, className, ...props }) {
1960
- return /* @__PURE__ */ jsx20(MenuSeparator2, {
1803
+ return /* @__PURE__ */ jsx19(MenuSeparator2, {
1961
1804
  density,
1962
1805
  "data-slot": "menubar-separator",
1963
1806
  className: (state) => cn2("-mx-1 my-1 h-px bg-border", typeof className === "function" ? className(state) : className),
@@ -1965,7 +1808,7 @@ function MenubarSeparator2({ density, className, ...props }) {
1965
1808
  });
1966
1809
  }
1967
1810
  function MenubarShortcut2({ density, className, ...props }) {
1968
- return /* @__PURE__ */ jsx20(MenuShortcut2, {
1811
+ return /* @__PURE__ */ jsx19(MenuShortcut2, {
1969
1812
  "data-density": density,
1970
1813
  "data-slot": "menubar-shortcut",
1971
1814
  className: cn2("ms-auto text-xs tracking-widest text-muted-foreground group-focus/menubar-item:text-accent-foreground", className),
@@ -1973,13 +1816,13 @@ function MenubarShortcut2({ density, className, ...props }) {
1973
1816
  });
1974
1817
  }
1975
1818
  function MenubarSub2({ ...props }) {
1976
- return /* @__PURE__ */ jsx20(MenuSub2, {
1819
+ return /* @__PURE__ */ jsx19(MenuSub2, {
1977
1820
  "data-slot": "menubar-sub",
1978
1821
  ...props
1979
1822
  });
1980
1823
  }
1981
1824
  function MenubarSubTrigger2({ density, className, inset, ...props }) {
1982
- return /* @__PURE__ */ jsx20(MenuSubTrigger2, {
1825
+ return /* @__PURE__ */ jsx19(MenuSubTrigger2, {
1983
1826
  density,
1984
1827
  "data-slot": "menubar-sub-trigger",
1985
1828
  inset,
@@ -1988,7 +1831,7 @@ function MenubarSubTrigger2({ density, className, inset, ...props }) {
1988
1831
  });
1989
1832
  }
1990
1833
  function MenubarSubContent2({ density, className, ...props }) {
1991
- return /* @__PURE__ */ jsx20(MenuSubContent2, {
1834
+ return /* @__PURE__ */ jsx19(MenuSubContent2, {
1992
1835
  density,
1993
1836
  "data-slot": "menubar-sub-content",
1994
1837
  className: (state) => cn2(" min-w-32 rounded-sm bg-popover p-1 text-popover-foreground shadow-frame border border-frame-edge border border-frame-edge shadow-frame duration-100 data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0 ", typeof className === "function" ? className(state) : className),
@@ -1999,7 +1842,7 @@ function MenubarSubContent2({ density, className, ...props }) {
1999
1842
  import { ChevronDownIcon as ChevronDownIcon2 } from "lucide-react";
2000
1843
  import { NavigationMenu as NavigationMenuPrimitive } from "@base-ui/react/navigation-menu";
2001
1844
  import { cva as cva3 } from "class-variance-authority";
2002
- import { jsx as jsx21, jsxs as jsxs14 } from "react/jsx-runtime";
1845
+ import { jsx as jsx20, jsxs as jsxs13 } from "react/jsx-runtime";
2003
1846
  function NavigationMenu2({
2004
1847
  analytics,
2005
1848
  density,
@@ -2010,7 +1853,7 @@ function NavigationMenu2({
2010
1853
  }) {
2011
1854
  const trackedOnValueChange = useAnalyticsCallback("NavigationMenu", analytics, { name: "ui.change-request" }, props.onValueChange);
2012
1855
  const resolvedDensity = useDensity(density);
2013
- return /* @__PURE__ */ jsxs14(NavigationMenuPrimitive.Root, {
1856
+ return /* @__PURE__ */ jsxs13(NavigationMenuPrimitive.Root, {
2014
1857
  "data-density": resolvedDensity,
2015
1858
  "data-slot": "navigation-menu",
2016
1859
  className: (state) => cn2("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center", typeof className === "function" ? className(state) : className),
@@ -2018,7 +1861,7 @@ function NavigationMenu2({
2018
1861
  onValueChange: trackedOnValueChange,
2019
1862
  children: [
2020
1863
  children,
2021
- /* @__PURE__ */ jsx21(NavigationMenuPositioner2, {
1864
+ /* @__PURE__ */ jsx20(NavigationMenuPositioner2, {
2022
1865
  density: resolvedDensity,
2023
1866
  align
2024
1867
  })
@@ -2026,7 +1869,7 @@ function NavigationMenu2({
2026
1869
  });
2027
1870
  }
2028
1871
  function NavigationMenuList2({ density, className, ...props }) {
2029
- return /* @__PURE__ */ jsx21(NavigationMenuPrimitive.List, {
1872
+ return /* @__PURE__ */ jsx20(NavigationMenuPrimitive.List, {
2030
1873
  "data-density": density,
2031
1874
  "data-slot": "navigation-menu-list",
2032
1875
  className: (state) => cn2("group flex flex-1 list-none items-center justify-center gap-0", typeof className === "function" ? className(state) : className),
@@ -2034,7 +1877,7 @@ function NavigationMenuList2({ density, className, ...props }) {
2034
1877
  });
2035
1878
  }
2036
1879
  function NavigationMenuItem2({ density, className, ...props }) {
2037
- return /* @__PURE__ */ jsx21(NavigationMenuPrimitive.Item, {
1880
+ return /* @__PURE__ */ jsx20(NavigationMenuPrimitive.Item, {
2038
1881
  "data-density": density,
2039
1882
  "data-slot": "navigation-menu-item",
2040
1883
  className: (state) => cn2("relative", typeof className === "function" ? className(state) : className),
@@ -2043,7 +1886,7 @@ function NavigationMenuItem2({ density, className, ...props }) {
2043
1886
  }
2044
1887
  var navigationMenuTriggerStyle2 = cva3("group/navigation-menu-trigger inline-flex h-control-lg w-max items-center justify-center rounded-sm px-control-x py-1.5 text-sm font-medium transition-colors outline-none hover:bg-muted focus:bg-muted focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-popup-open:bg-muted/50 data-popup-open:hover:bg-muted data-open:bg-muted/50 data-open:hover:bg-muted data-open:focus:bg-muted");
2045
1888
  function NavigationMenuTrigger2({ density, className, children, ...props }) {
2046
- return /* @__PURE__ */ jsxs14(NavigationMenuPrimitive.Trigger, {
1889
+ return /* @__PURE__ */ jsxs13(NavigationMenuPrimitive.Trigger, {
2047
1890
  "data-density": density,
2048
1891
  "data-slot": "navigation-menu-trigger",
2049
1892
  className: (state) => cn2(navigationMenuTriggerStyle2(), "group", typeof className === "function" ? className(state) : className),
@@ -2051,12 +1894,12 @@ function NavigationMenuTrigger2({ density, className, children, ...props }) {
2051
1894
  children: [
2052
1895
  children,
2053
1896
  " ",
2054
- /* @__PURE__ */ jsx21(NavigationMenuIndicator2, {})
1897
+ /* @__PURE__ */ jsx20(NavigationMenuIndicator2, {})
2055
1898
  ]
2056
1899
  });
2057
1900
  }
2058
1901
  function NavigationMenuContent2({ density, className, ...props }) {
2059
- return /* @__PURE__ */ jsx21(NavigationMenuPrimitive.Content, {
1902
+ return /* @__PURE__ */ jsx20(NavigationMenuPrimitive.Content, {
2060
1903
  "data-density": density,
2061
1904
  "data-slot": "navigation-menu-content",
2062
1905
  className: (state) => cn2("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)] data-ending-style:opacity-0 data-starting-style:opacity-0 ", typeof className === "function" ? className(state) : className),
@@ -2076,12 +1919,12 @@ function NavigationMenuPositioner2({
2076
1919
  const direction = useDirection2();
2077
1920
  const container = usePortalContainer2();
2078
1921
  const portal = usePortalNode();
2079
- return /* @__PURE__ */ jsx21(NavigationMenuPrimitive.Portal, {
1922
+ return /* @__PURE__ */ jsx20(NavigationMenuPrimitive.Portal, {
2080
1923
  container,
2081
1924
  ref: portal.ref,
2082
- children: /* @__PURE__ */ jsx21(PortalProvider2, {
1925
+ children: /* @__PURE__ */ jsx20(PortalProvider2, {
2083
1926
  container: portal.node,
2084
- children: /* @__PURE__ */ jsx21(NavigationMenuPrimitive.Positioner, {
1927
+ children: /* @__PURE__ */ jsx20(NavigationMenuPrimitive.Positioner, {
2085
1928
  dir: direction,
2086
1929
  side,
2087
1930
  sideOffset,
@@ -2089,11 +1932,11 @@ function NavigationMenuPositioner2({
2089
1932
  alignOffset,
2090
1933
  className: (state) => cn2("isolate h-(--positioner-height) w-(--positioner-width) max-w-(--available-width) transition-[top,left,right,bottom] duration-[0.35s] ease-[cubic-bezier(0.22,1,0.36,1)] data-instant:transition-none data-[side=bottom]:before:top-[-10px] data-[side=bottom]:before:right-0 data-[side=bottom]:before:left-0", typeof className === "function" ? className(state) : className),
2091
1934
  ...props,
2092
- children: /* @__PURE__ */ jsx21(NavigationMenuPrimitive.Popup, {
1935
+ children: /* @__PURE__ */ jsx20(NavigationMenuPrimitive.Popup, {
2093
1936
  "data-density": resolvedDensity,
2094
1937
  "data-slot": "navigation-menu-popup",
2095
1938
  className: "data-[ending-style]:easing-[ease] xs:w-(--popup-width) relative h-(--popup-height) w-(--popup-width) origin-(--transform-origin) rounded-sm bg-popover text-popover-foreground border border-frame-edge shadow-frame transition-[opacity,transform,width,height,translate] duration-[0.35s] ease-[cubic-bezier(0.22,1,0.36,1)] outline-none data-ending-style:opacity-0 data-ending-style:duration-150 data-starting-style:opacity-0",
2096
- children: /* @__PURE__ */ jsx21(NavigationMenuPrimitive.Viewport, {
1939
+ children: /* @__PURE__ */ jsx20(NavigationMenuPrimitive.Viewport, {
2097
1940
  className: "relative size-full overflow-hidden"
2098
1941
  })
2099
1942
  })
@@ -2103,7 +1946,7 @@ function NavigationMenuPositioner2({
2103
1946
  }
2104
1947
  function NavigationMenuLink2({ analytics, density, className, ...props }) {
2105
1948
  const trackedOnClick = useAnalyticsCallback("NavigationMenuLink", analytics, { name: "ui.activate" }, props.onClick);
2106
- return /* @__PURE__ */ jsx21(NavigationMenuPrimitive.Link, {
1949
+ return /* @__PURE__ */ jsx20(NavigationMenuPrimitive.Link, {
2107
1950
  "data-density": density,
2108
1951
  "data-slot": "navigation-menu-link",
2109
1952
  className: (state) => cn2("flex items-center gap-2 rounded-sm p-2 text-sm transition-colors outline-none hover:bg-muted focus:bg-muted focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-1 in-data-[slot=navigation-menu-content]:rounded-md data-active:bg-muted/50 data-active:hover:bg-muted data-active:focus:bg-muted [&_svg:not([class*='size-'])]:size-4", typeof className === "function" ? className(state) : className),
@@ -2117,32 +1960,32 @@ function NavigationMenuIndicator2({
2117
1960
  children,
2118
1961
  ...props
2119
1962
  }) {
2120
- return /* @__PURE__ */ jsx21(NavigationMenuPrimitive.Icon, {
1963
+ return /* @__PURE__ */ jsx20(NavigationMenuPrimitive.Icon, {
2121
1964
  "data-density": density,
2122
1965
  "data-slot": "navigation-menu-indicator",
2123
1966
  className: (state) => cn2("ms-1 inline-flex size-3 shrink-0 items-center justify-center transition-transform duration-120 data-popup-open:rotate-180 [&_svg]:size-full", typeof className === "function" ? className(state) : className),
2124
1967
  ...props,
2125
- children: children ?? /* @__PURE__ */ jsx21(ChevronDownIcon2, {})
1968
+ children: children ?? /* @__PURE__ */ jsx20(ChevronDownIcon2, {})
2126
1969
  });
2127
1970
  }
2128
1971
  // src/components/Toast.tsx
2129
1972
  import { Toast as ToastPrimitive } from "@base-ui/react/toast";
2130
1973
  import { CircleCheckIcon, InfoIcon, TriangleAlertIcon, OctagonXIcon, LoaderCircleIcon, XIcon } from "lucide-react";
2131
- import { jsx as jsx22, jsxs as jsxs15, Fragment as Fragment4 } from "react/jsx-runtime";
1974
+ import { jsx as jsx21, jsxs as jsxs14, Fragment as Fragment4 } from "react/jsx-runtime";
2132
1975
  function ToastProvider2(props) {
2133
- return /* @__PURE__ */ jsx22(ToastPrimitive.Provider, {
1976
+ return /* @__PURE__ */ jsx21(ToastPrimitive.Provider, {
2134
1977
  ...props
2135
1978
  });
2136
1979
  }
2137
1980
  function ToastPortal2({ container, ref, children, ...props }) {
2138
1981
  const resolvedContainer = usePortalContainer2(container);
2139
1982
  const portal = usePortalNode(ref);
2140
- return /* @__PURE__ */ jsx22(ToastPrimitive.Portal, {
1983
+ return /* @__PURE__ */ jsx21(ToastPrimitive.Portal, {
2141
1984
  "data-slot": "toast-portal",
2142
1985
  container: resolvedContainer,
2143
1986
  ref: portal.ref,
2144
1987
  ...props,
2145
- children: /* @__PURE__ */ jsx22(PortalProvider2, {
1988
+ children: /* @__PURE__ */ jsx21(PortalProvider2, {
2146
1989
  container: portal.node,
2147
1990
  children
2148
1991
  })
@@ -2151,7 +1994,7 @@ function ToastPortal2({ container, ref, children, ...props }) {
2151
1994
  function ToastViewport2({ density, dir, className, ...props }) {
2152
1995
  const resolvedDensity = useDensity(density);
2153
1996
  const inheritedDirection = useDirection2();
2154
- return /* @__PURE__ */ jsx22(ToastPrimitive.Viewport, {
1997
+ return /* @__PURE__ */ jsx21(ToastPrimitive.Viewport, {
2155
1998
  dir: dir ?? inheritedDirection,
2156
1999
  "data-density": resolvedDensity,
2157
2000
  "data-slot": "toast-viewport",
@@ -2160,7 +2003,7 @@ function ToastViewport2({ density, dir, className, ...props }) {
2160
2003
  });
2161
2004
  }
2162
2005
  function Toast2({ density, className, ...props }) {
2163
- return /* @__PURE__ */ jsx22(ToastPrimitive.Root, {
2006
+ return /* @__PURE__ */ jsx21(ToastPrimitive.Root, {
2164
2007
  "data-density": density,
2165
2008
  "data-slot": "toast",
2166
2009
  className: (state) => cn2("group/toast pointer-events-auto absolute right-0 bottom-0 w-full rounded-md border border-frame-edge bg-popover text-popover-foreground shadow-frame outline-none select-none focus-visible:ring-1 focus-visible:ring-ring [--offset-y:calc(var(--toast-offset-y)*-1-var(--toast-index)*var(--spacing-panel))] [transform:translateX(var(--toast-swipe-movement-x))_translateY(calc(var(--offset-y)+var(--toast-swipe-movement-y)))] transition-[transform,opacity] duration-120 ease-out data-limited:opacity-0 data-starting-style:opacity-0 data-ending-style:opacity-0 motion-reduce:transition-none", typeof className === "function" ? className(state) : className),
@@ -2168,21 +2011,21 @@ function Toast2({ density, className, ...props }) {
2168
2011
  });
2169
2012
  }
2170
2013
  function ToastContent2({ className, ...props }) {
2171
- return /* @__PURE__ */ jsx22(ToastPrimitive.Content, {
2014
+ return /* @__PURE__ */ jsx21(ToastPrimitive.Content, {
2172
2015
  "data-slot": "toast-content",
2173
2016
  className: (state) => cn2("flex items-center gap-control-gap p-panel", typeof className === "function" ? className(state) : className),
2174
2017
  ...props
2175
2018
  });
2176
2019
  }
2177
2020
  function ToastTitle2({ className, ...props }) {
2178
- return /* @__PURE__ */ jsx22(ToastPrimitive.Title, {
2021
+ return /* @__PURE__ */ jsx21(ToastPrimitive.Title, {
2179
2022
  "data-slot": "toast-title",
2180
2023
  className: (state) => cn2("text-sm font-medium", typeof className === "function" ? className(state) : className),
2181
2024
  ...props
2182
2025
  });
2183
2026
  }
2184
2027
  function ToastDescription2({ className, ...props }) {
2185
- return /* @__PURE__ */ jsx22(ToastPrimitive.Description, {
2028
+ return /* @__PURE__ */ jsx21(ToastPrimitive.Description, {
2186
2029
  "data-slot": "toast-description",
2187
2030
  className: (state) => cn2("text-sm text-muted-foreground", typeof className === "function" ? className(state) : className),
2188
2031
  ...props
@@ -2191,14 +2034,14 @@ function ToastDescription2({ className, ...props }) {
2191
2034
  function ToastAction2({
2192
2035
  analytics,
2193
2036
  className,
2194
- render = /* @__PURE__ */ jsx22(Button2, {
2037
+ render = /* @__PURE__ */ jsx21(Button2, {
2195
2038
  variant: "outline",
2196
2039
  size: "sm"
2197
2040
  }),
2198
2041
  ...props
2199
2042
  }) {
2200
2043
  const trackedOnClick = useAnalyticsCallback("ToastAction", analytics, { name: "ui.activate" }, props.onClick);
2201
- return /* @__PURE__ */ jsx22(ToastPrimitive.Action, {
2044
+ return /* @__PURE__ */ jsx21(ToastPrimitive.Action, {
2202
2045
  "data-slot": "toast-action",
2203
2046
  render,
2204
2047
  className: (state) => cn2("shrink-0", typeof className === "function" ? className(state) : className),
@@ -2210,21 +2053,21 @@ function ToastClose2({
2210
2053
  analytics,
2211
2054
  className,
2212
2055
  children,
2213
- render = /* @__PURE__ */ jsx22(Button2, {
2056
+ render = /* @__PURE__ */ jsx21(Button2, {
2214
2057
  variant: "ghost",
2215
2058
  size: "icon-sm"
2216
2059
  }),
2217
2060
  ...props
2218
2061
  }) {
2219
2062
  const trackedOnClick = useAnalyticsCallback("ToastClose", analytics, { name: "ui.activate" }, props.onClick);
2220
- return /* @__PURE__ */ jsx22(ToastPrimitive.Close, {
2063
+ return /* @__PURE__ */ jsx21(ToastPrimitive.Close, {
2221
2064
  "data-slot": "toast-close",
2222
2065
  "aria-label": "Close toast",
2223
2066
  render,
2224
2067
  className: (state) => cn2("relative shrink-0 text-muted-foreground hover:text-foreground", typeof className === "function" ? className(state) : className),
2225
2068
  ...props,
2226
2069
  onClick: trackedOnClick,
2227
- children: children ?? /* @__PURE__ */ jsx22(XIcon, {
2070
+ children: children ?? /* @__PURE__ */ jsx21(XIcon, {
2228
2071
  "aria-hidden": "true"
2229
2072
  })
2230
2073
  });
@@ -2232,24 +2075,24 @@ function ToastClose2({
2232
2075
  function ToastIcon({ type }) {
2233
2076
  switch (type) {
2234
2077
  case "success":
2235
- return /* @__PURE__ */ jsx22(CircleCheckIcon, {
2078
+ return /* @__PURE__ */ jsx21(CircleCheckIcon, {
2236
2079
  "aria-hidden": "true"
2237
2080
  });
2238
2081
  case "info":
2239
- return /* @__PURE__ */ jsx22(InfoIcon, {
2082
+ return /* @__PURE__ */ jsx21(InfoIcon, {
2240
2083
  "aria-hidden": "true"
2241
2084
  });
2242
2085
  case "warning":
2243
- return /* @__PURE__ */ jsx22(TriangleAlertIcon, {
2086
+ return /* @__PURE__ */ jsx21(TriangleAlertIcon, {
2244
2087
  "aria-hidden": "true"
2245
2088
  });
2246
2089
  case "error":
2247
- return /* @__PURE__ */ jsx22(OctagonXIcon, {
2090
+ return /* @__PURE__ */ jsx21(OctagonXIcon, {
2248
2091
  "aria-hidden": "true",
2249
2092
  className: "text-destructive"
2250
2093
  });
2251
2094
  case "loading":
2252
- return /* @__PURE__ */ jsx22(LoaderCircleIcon, {
2095
+ return /* @__PURE__ */ jsx21(LoaderCircleIcon, {
2253
2096
  "aria-hidden": "true",
2254
2097
  className: "animate-spin motion-reduce:animate-none"
2255
2098
  });
@@ -2259,41 +2102,41 @@ function ToastIcon({ type }) {
2259
2102
  }
2260
2103
  function ToastList() {
2261
2104
  const { toasts } = ToastPrimitive.useToastManager();
2262
- return /* @__PURE__ */ jsx22(Fragment4, {
2263
- children: toasts.map((toastItem) => /* @__PURE__ */ jsx22(Toast2, {
2105
+ return /* @__PURE__ */ jsx21(Fragment4, {
2106
+ children: toasts.map((toastItem) => /* @__PURE__ */ jsx21(Toast2, {
2264
2107
  toast: toastItem,
2265
- children: /* @__PURE__ */ jsxs15(ToastContent2, {
2108
+ children: /* @__PURE__ */ jsxs14(ToastContent2, {
2266
2109
  children: [
2267
- /* @__PURE__ */ jsx22("span", {
2110
+ /* @__PURE__ */ jsx21("span", {
2268
2111
  "data-slot": "toast-icon",
2269
2112
  className: "shrink-0 empty:hidden [&_svg]:size-4",
2270
- children: /* @__PURE__ */ jsx22(ToastIcon, {
2113
+ children: /* @__PURE__ */ jsx21(ToastIcon, {
2271
2114
  type: toastItem.type
2272
2115
  })
2273
2116
  }),
2274
- /* @__PURE__ */ jsxs15("div", {
2117
+ /* @__PURE__ */ jsxs14("div", {
2275
2118
  className: "flex min-w-0 flex-1 flex-col gap-1",
2276
2119
  children: [
2277
- /* @__PURE__ */ jsx22(ToastTitle2, {}),
2278
- /* @__PURE__ */ jsx22(ToastDescription2, {})
2120
+ /* @__PURE__ */ jsx21(ToastTitle2, {}),
2121
+ /* @__PURE__ */ jsx21(ToastDescription2, {})
2279
2122
  ]
2280
2123
  }),
2281
- /* @__PURE__ */ jsx22(ToastAction2, {}),
2282
- /* @__PURE__ */ jsx22(ToastClose2, {})
2124
+ /* @__PURE__ */ jsx21(ToastAction2, {}),
2125
+ /* @__PURE__ */ jsx21(ToastClose2, {})
2283
2126
  ]
2284
2127
  })
2285
2128
  }, toastItem.id))
2286
2129
  });
2287
2130
  }
2288
2131
  function ToastToaster2({ children, density, ...props }) {
2289
- return /* @__PURE__ */ jsxs15(ToastProvider2, {
2132
+ return /* @__PURE__ */ jsxs14(ToastProvider2, {
2290
2133
  ...props,
2291
2134
  children: [
2292
2135
  children,
2293
- /* @__PURE__ */ jsx22(ToastPortal2, {
2294
- children: /* @__PURE__ */ jsx22(ToastViewport2, {
2136
+ /* @__PURE__ */ jsx21(ToastPortal2, {
2137
+ children: /* @__PURE__ */ jsx21(ToastViewport2, {
2295
2138
  density,
2296
- children: /* @__PURE__ */ jsx22(ToastList, {})
2139
+ children: /* @__PURE__ */ jsx21(ToastList, {})
2297
2140
  })
2298
2141
  })
2299
2142
  ]
@@ -2309,7 +2152,7 @@ function useToastManager2() {
2309
2152
  import { mergeProps as mergeProps6 } from "@base-ui/react/merge-props";
2310
2153
  import { useRender as useRender6 } from "@base-ui/react/use-render";
2311
2154
  import { cva as cva4 } from "class-variance-authority";
2312
- import { jsx as jsx23 } from "react/jsx-runtime";
2155
+ import { jsx as jsx22 } from "react/jsx-runtime";
2313
2156
  var markerVariants2 = cva4("group/marker relative flex min-h-4 w-full items-center gap-control-gap text-start text-sm text-muted-foreground [&_svg:not([class*='size-'])]:size-4 [a]:underline [a]:underline-offset-3 [a]:hover:text-foreground [&:is(a,button)]:outline-none [&:is(a,button)]:focus-visible:outline-1 [&:is(a,button)]:focus-visible:outline-ring", {
2314
2157
  variants: {
2315
2158
  variant: {
@@ -2328,7 +2171,7 @@ function Marker2({ density, className, variant = "default", render, ...props })
2328
2171
  });
2329
2172
  }
2330
2173
  function MarkerIcon2({ density, className, ...props }) {
2331
- return /* @__PURE__ */ jsx23("span", {
2174
+ return /* @__PURE__ */ jsx22("span", {
2332
2175
  "data-density": density,
2333
2176
  "data-slot": "marker-icon",
2334
2177
  "aria-hidden": "true",
@@ -2337,7 +2180,7 @@ function MarkerIcon2({ density, className, ...props }) {
2337
2180
  });
2338
2181
  }
2339
2182
  function MarkerContent2({ density, className, ...props }) {
2340
- return /* @__PURE__ */ jsx23("span", {
2183
+ return /* @__PURE__ */ jsx22("span", {
2341
2184
  "data-density": density,
2342
2185
  "data-slot": "marker-content",
2343
2186
  className: cn2("min-w-0 wrap-break-word group-data-[variant=separator]/marker:text-center [&>a]:underline [&>a]:underline-offset-3 [&>a:hover]:text-foreground", className),
@@ -2348,9 +2191,9 @@ function MarkerContent2({ density, className, ...props }) {
2348
2191
  import { mergeProps as mergeProps7 } from "@base-ui/react/merge-props";
2349
2192
  import { useRender as useRender7 } from "@base-ui/react/use-render";
2350
2193
  import { cva as cva5 } from "class-variance-authority";
2351
- import { jsx as jsx24 } from "react/jsx-runtime";
2194
+ import { jsx as jsx23 } from "react/jsx-runtime";
2352
2195
  function BubbleGroup2({ density, className, ...props }) {
2353
- return /* @__PURE__ */ jsx24("div", {
2196
+ return /* @__PURE__ */ jsx23("div", {
2354
2197
  "data-density": density,
2355
2198
  "data-slot": "bubble-group",
2356
2199
  className: cn2("flex min-w-0 flex-col gap-control-gap", className),
@@ -2372,7 +2215,7 @@ var bubbleVariants = cva5("group/bubble relative flex w-fit max-w-[80%] min-w-0
2372
2215
  defaultVariants: { variant: "default" }
2373
2216
  });
2374
2217
  function Bubble2({ density, variant = "default", align = "start", className, ...props }) {
2375
- return /* @__PURE__ */ jsx24("div", {
2218
+ return /* @__PURE__ */ jsx23("div", {
2376
2219
  "data-density": density,
2377
2220
  "data-slot": "bubble",
2378
2221
  "data-variant": variant,
@@ -2405,7 +2248,7 @@ function BubbleReactions2({
2405
2248
  className,
2406
2249
  ...props
2407
2250
  }) {
2408
- return /* @__PURE__ */ jsx24("div", {
2251
+ return /* @__PURE__ */ jsx23("div", {
2409
2252
  "data-density": density,
2410
2253
  "data-slot": "bubble-reactions",
2411
2254
  "data-align": align,
@@ -2415,17 +2258,17 @@ function BubbleReactions2({
2415
2258
  });
2416
2259
  }
2417
2260
  // src/components/Message.tsx
2418
- import { useContext as useContext2, useLayoutEffect, useMemo as useMemo3, useRef, useState } from "react";
2261
+ import { useContext, useLayoutEffect, useMemo as useMemo2, useRef, useState } from "react";
2419
2262
  import { useRender as useRender8 } from "@base-ui/react/use-render";
2420
2263
 
2421
2264
  // src/message/MessageContext.ts
2422
- import { createContext as createContext3 } from "react";
2423
- var MessageContext = createContext3(null);
2265
+ import { createContext as createContext2 } from "react";
2266
+ var MessageContext = createContext2(null);
2424
2267
 
2425
2268
  // src/components/Message.tsx
2426
- import { jsx as jsx25 } from "react/jsx-runtime";
2269
+ import { jsx as jsx24 } from "react/jsx-runtime";
2427
2270
  function MessageGroup2({ density, className, ...props }) {
2428
- return /* @__PURE__ */ jsx25("div", {
2271
+ return /* @__PURE__ */ jsx24("div", {
2429
2272
  "data-density": density,
2430
2273
  "data-slot": "message-group",
2431
2274
  className: cn2("flex min-w-0 flex-col gap-control-gap", className),
@@ -2434,11 +2277,11 @@ function MessageGroup2({ density, className, ...props }) {
2434
2277
  }
2435
2278
  function Message2({ density, className, align = "start", style, ...props }) {
2436
2279
  const [footerOffset, setFooterOffset] = useState(0);
2437
- const context = useMemo3(() => ({ setFooterOffset }), []);
2280
+ const context = useMemo2(() => ({ setFooterOffset }), []);
2438
2281
  const messageStyle = { ...style, "--message-footer-offset": `${footerOffset}px` };
2439
- return /* @__PURE__ */ jsx25(MessageContext.Provider, {
2282
+ return /* @__PURE__ */ jsx24(MessageContext.Provider, {
2440
2283
  value: context,
2441
- children: /* @__PURE__ */ jsx25("div", {
2284
+ children: /* @__PURE__ */ jsx24("div", {
2442
2285
  "data-density": density,
2443
2286
  "data-slot": "message",
2444
2287
  "data-align": align,
@@ -2449,7 +2292,7 @@ function Message2({ density, className, align = "start", style, ...props }) {
2449
2292
  });
2450
2293
  }
2451
2294
  function MessageAvatar2({ density, className, ...props }) {
2452
- return /* @__PURE__ */ jsx25("div", {
2295
+ return /* @__PURE__ */ jsx24("div", {
2453
2296
  "data-density": density,
2454
2297
  "data-slot": "message-avatar",
2455
2298
  className: cn2("flex w-fit min-w-8 shrink-0 items-center justify-center self-end overflow-hidden rounded-full bg-muted group-has-data-[slot=message-footer]/message:-translate-y-(--message-footer-offset)", className),
@@ -2457,7 +2300,7 @@ function MessageAvatar2({ density, className, ...props }) {
2457
2300
  });
2458
2301
  }
2459
2302
  function MessageContent2({ density, className, ...props }) {
2460
- return /* @__PURE__ */ jsx25("div", {
2303
+ return /* @__PURE__ */ jsx24("div", {
2461
2304
  "data-density": density,
2462
2305
  "data-slot": "message-content",
2463
2306
  className: cn2("flex w-full min-w-0 flex-col gap-control-gap wrap-break-word group-data-[align=end]/message:[&>[data-slot]:not([data-slot=message-header])]:self-end", className),
@@ -2465,7 +2308,7 @@ function MessageContent2({ density, className, ...props }) {
2465
2308
  });
2466
2309
  }
2467
2310
  function MessageHeader2({ density, className, ...props }) {
2468
- return /* @__PURE__ */ jsx25("div", {
2311
+ return /* @__PURE__ */ jsx24("div", {
2469
2312
  "data-density": density,
2470
2313
  "data-slot": "message-header",
2471
2314
  className: cn2("flex max-w-full min-w-0 items-center px-control-x text-xs font-medium text-muted-foreground group-has-data-[variant=ghost]/message:px-0", className),
@@ -2473,7 +2316,7 @@ function MessageHeader2({ density, className, ...props }) {
2473
2316
  });
2474
2317
  }
2475
2318
  function MessageFooter2({ density, className, ...props }) {
2476
- const context = useContext2(MessageContext);
2319
+ const context = useContext(MessageContext);
2477
2320
  const footerRef = useRef(null);
2478
2321
  useLayoutEffect(() => {
2479
2322
  const footer = footerRef.current;
@@ -2507,7 +2350,7 @@ function MessageFooter2({ density, className, ...props }) {
2507
2350
  import { mergeProps as mergeProps8 } from "@base-ui/react/merge-props";
2508
2351
  import { useRender as useRender9 } from "@base-ui/react/use-render";
2509
2352
  import { cva as cva6 } from "class-variance-authority";
2510
- import { jsx as jsx26 } from "react/jsx-runtime";
2353
+ import { jsx as jsx25 } from "react/jsx-runtime";
2511
2354
  var attachmentVariants = cva6("group/attachment relative flex w-fit max-w-full min-w-0 shrink-0 flex-wrap rounded-md border bg-card text-card-foreground transition-colors motion-reduce:transition-none focus-within:ring-1 focus-within:ring-ring has-[>a,>button]:hover:bg-muted/50 data-[state=error]:border-destructive data-[state=idle]:border-dashed", {
2512
2355
  variants: {
2513
2356
  size: {
@@ -2529,7 +2372,7 @@ function Attachment2({
2529
2372
  orientation = "horizontal",
2530
2373
  ...props
2531
2374
  }) {
2532
- return /* @__PURE__ */ jsx26("div", {
2375
+ return /* @__PURE__ */ jsx25("div", {
2533
2376
  "data-slot": "attachment",
2534
2377
  "data-density": density,
2535
2378
  "data-state": state,
@@ -2549,7 +2392,7 @@ var attachmentMediaVariants = cva6("relative flex aspect-square w-10 shrink-0 it
2549
2392
  defaultVariants: { variant: "icon" }
2550
2393
  });
2551
2394
  function AttachmentMedia2({ density, className, variant = "icon", ...props }) {
2552
- return /* @__PURE__ */ jsx26("div", {
2395
+ return /* @__PURE__ */ jsx25("div", {
2553
2396
  "data-slot": "attachment-media",
2554
2397
  "data-density": density,
2555
2398
  "data-variant": variant,
@@ -2558,7 +2401,7 @@ function AttachmentMedia2({ density, className, variant = "icon", ...props }) {
2558
2401
  });
2559
2402
  }
2560
2403
  function AttachmentContent2({ density, className, ...props }) {
2561
- return /* @__PURE__ */ jsx26("div", {
2404
+ return /* @__PURE__ */ jsx25("div", {
2562
2405
  "data-slot": "attachment-content",
2563
2406
  "data-density": density,
2564
2407
  className: cn2("max-w-full min-w-0 flex-1 leading-tight group-data-[orientation=vertical]/attachment:px-1", className),
@@ -2566,7 +2409,7 @@ function AttachmentContent2({ density, className, ...props }) {
2566
2409
  });
2567
2410
  }
2568
2411
  function AttachmentTitle2({ density, className, ...props }) {
2569
- return /* @__PURE__ */ jsx26("span", {
2412
+ return /* @__PURE__ */ jsx25("span", {
2570
2413
  "data-slot": "attachment-title",
2571
2414
  "data-density": density,
2572
2415
  className: cn2("block max-w-full min-w-0 truncate font-medium group-data-[state=processing]/attachment:shimmer group-data-[state=uploading]/attachment:shimmer", className),
@@ -2574,7 +2417,7 @@ function AttachmentTitle2({ density, className, ...props }) {
2574
2417
  });
2575
2418
  }
2576
2419
  function AttachmentDescription2({ density, className, ...props }) {
2577
- return /* @__PURE__ */ jsx26("span", {
2420
+ return /* @__PURE__ */ jsx25("span", {
2578
2421
  "data-slot": "attachment-description",
2579
2422
  "data-density": density,
2580
2423
  className: cn2("mt-0.5 block max-w-full min-w-0 truncate text-xs text-muted-foreground group-data-[state=error]/attachment:text-destructive", className),
@@ -2582,7 +2425,7 @@ function AttachmentDescription2({ density, className, ...props }) {
2582
2425
  });
2583
2426
  }
2584
2427
  function AttachmentActions2({ density, className, ...props }) {
2585
- return /* @__PURE__ */ jsx26("div", {
2428
+ return /* @__PURE__ */ jsx25("div", {
2586
2429
  "data-slot": "attachment-actions",
2587
2430
  "data-density": density,
2588
2431
  className: cn2("relative z-20 flex shrink-0 items-center group-data-[orientation=vertical]/attachment:absolute group-data-[orientation=vertical]/attachment:top-3 group-data-[orientation=vertical]/attachment:end-3 group-data-[orientation=vertical]/attachment:gap-1", className),
@@ -2595,7 +2438,7 @@ function AttachmentAction2({
2595
2438
  size = "icon-xs",
2596
2439
  ...props
2597
2440
  }) {
2598
- return /* @__PURE__ */ jsx26(Button2, {
2441
+ return /* @__PURE__ */ jsx25(Button2, {
2599
2442
  "data-slot": "attachment-action",
2600
2443
  variant,
2601
2444
  size,
@@ -2620,7 +2463,7 @@ function AttachmentTrigger2({
2620
2463
  });
2621
2464
  }
2622
2465
  function AttachmentGroup2({ density, className, ...props }) {
2623
- return /* @__PURE__ */ jsx26("div", {
2466
+ return /* @__PURE__ */ jsx25("div", {
2624
2467
  "data-slot": "attachment-group",
2625
2468
  "data-density": density,
2626
2469
  className: cn2("flex min-w-0 scroll-fade-x snap-x snap-mandatory scroll-px-1 no-scrollbar gap-3 overflow-x-auto overscroll-x-contain py-1 *:data-[slot=attachment]:flex-none *:data-[slot=attachment]:snap-start", className),
@@ -2629,7 +2472,7 @@ function AttachmentGroup2({ density, className, ...props }) {
2629
2472
  }
2630
2473
  // src/components/InlineEdit.tsx
2631
2474
  import { useEffect as useEffect2, useId as useId3, useRef as useRef2, useState as useState2 } from "react";
2632
- import { jsx as jsx27, jsxs as jsxs16 } from "react/jsx-runtime";
2475
+ import { jsx as jsx26, jsxs as jsxs15 } from "react/jsx-runtime";
2633
2476
  function InlineEdit2({
2634
2477
  analytics,
2635
2478
  label,
@@ -2679,22 +2522,22 @@ function InlineEdit2({
2679
2522
  setSaving(false);
2680
2523
  }
2681
2524
  };
2682
- return /* @__PURE__ */ jsxs16("form", {
2525
+ return /* @__PURE__ */ jsxs15("form", {
2683
2526
  className: "min-w-0",
2684
2527
  onSubmit: (event) => {
2685
2528
  event.preventDefault();
2686
2529
  save();
2687
2530
  },
2688
2531
  children: [
2689
- /* @__PURE__ */ jsxs16(Tooltip2, {
2532
+ /* @__PURE__ */ jsxs15(Tooltip2, {
2690
2533
  open: Boolean(error) && isErrorOpen,
2691
2534
  onOpenChange: setErrorOpen,
2692
2535
  disableHoverablePopup: true,
2693
2536
  triggerId,
2694
2537
  children: [
2695
- /* @__PURE__ */ jsx27(TooltipTrigger2, {
2538
+ /* @__PURE__ */ jsx26(TooltipTrigger2, {
2696
2539
  id: triggerId,
2697
- render: /* @__PURE__ */ jsx27(Input2, {
2540
+ render: /* @__PURE__ */ jsx26(Input2, {
2698
2541
  analytics: false,
2699
2542
  ref: input,
2700
2543
  density,
@@ -2726,20 +2569,20 @@ function InlineEdit2({
2726
2569
  }
2727
2570
  })
2728
2571
  }),
2729
- error && /* @__PURE__ */ jsx27(TooltipContent2, {
2572
+ error && /* @__PURE__ */ jsx26(TooltipContent2, {
2730
2573
  density,
2731
2574
  side: "bottom",
2732
2575
  align: "start",
2733
2576
  "data-testid": "InlineEdit--error-popup",
2734
2577
  "aria-hidden": true,
2735
- children: /* @__PURE__ */ jsx27("p", {
2578
+ children: /* @__PURE__ */ jsx26("p", {
2736
2579
  className: "text-destructive",
2737
2580
  children: error
2738
2581
  })
2739
2582
  })
2740
2583
  ]
2741
2584
  }),
2742
- error && /* @__PURE__ */ jsx27("p", {
2585
+ error && /* @__PURE__ */ jsx26("p", {
2743
2586
  id: errorId,
2744
2587
  role: "alert",
2745
2588
  className: "sr-only",
@@ -2752,7 +2595,7 @@ function InlineEdit2({
2752
2595
  import { useState as useState3 } from "react";
2753
2596
  import { Radio } from "@base-ui/react/radio";
2754
2597
  import { StarIcon, CircleOffIcon } from "lucide-react";
2755
- import { jsx as jsx28 } from "react/jsx-runtime";
2598
+ import { jsx as jsx27 } from "react/jsx-runtime";
2756
2599
  var ITEM_SIZES = { comfortable: "size-5", compact: "size-4" };
2757
2600
  var STAR_SIZES = { comfortable: "size-3.5", compact: "size-3" };
2758
2601
  var CLEAR_SIZES = { comfortable: "size-3", compact: "size-2.5" };
@@ -2789,7 +2632,7 @@ function StarRating2({
2789
2632
  onValueChange(draft);
2790
2633
  setDraft(null);
2791
2634
  };
2792
- return /* @__PURE__ */ jsx28(RadioGroup2, {
2635
+ return /* @__PURE__ */ jsx27(RadioGroup2, {
2793
2636
  analytics,
2794
2637
  "aria-label": label,
2795
2638
  "aria-busy": busy || undefined,
@@ -2799,7 +2642,7 @@ function StarRating2({
2799
2642
  className: "inline-flex w-fit shrink-0 items-center gap-0.5",
2800
2643
  onValueChange: isConfirm ? (next) => setDraft(next) : onValueChange,
2801
2644
  onBlur,
2802
- children: [1, 2, 3, 4, 5, ...clearable ? [0] : []].map((star) => /* @__PURE__ */ jsx28(Radio.Root, {
2645
+ children: [1, 2, 3, 4, 5, ...clearable ? [0] : []].map((star) => /* @__PURE__ */ jsx27(Radio.Root, {
2803
2646
  value: star,
2804
2647
  nativeButton: true,
2805
2648
  ...focusable ? {} : { tabIndex: -1 },
@@ -2810,17 +2653,17 @@ function StarRating2({
2810
2653
  confirm(star);
2811
2654
  }
2812
2655
  },
2813
- render: /* @__PURE__ */ jsx28(AnalyticsButton, {
2656
+ render: /* @__PURE__ */ jsx27(AnalyticsButton, {
2814
2657
  component: "StarRating",
2815
2658
  type: "button"
2816
2659
  }),
2817
2660
  "aria-label": star === 0 ? "Unrated" : `${star} ${star === 1 ? "star" : "stars"}`,
2818
2661
  title: star === 0 ? "Clear rating" : `${star} stars`,
2819
2662
  className: cn2("inline-flex shrink-0 items-center justify-center rounded-sm text-muted-foreground outline-none hover:text-primary focus-visible:ring-1 focus-visible:ring-ring data-disabled:cursor-not-allowed data-disabled:opacity-50", ITEM_SIZES[density]),
2820
- children: star === 0 ? /* @__PURE__ */ jsx28(CircleOffIcon, {
2663
+ children: star === 0 ? /* @__PURE__ */ jsx27(CircleOffIcon, {
2821
2664
  "aria-hidden": "true",
2822
2665
  className: CLEAR_SIZES[density]
2823
- }) : /* @__PURE__ */ jsx28(StarIcon, {
2666
+ }) : /* @__PURE__ */ jsx27(StarIcon, {
2824
2667
  "aria-hidden": "true",
2825
2668
  className: star <= shown ? cn2(STAR_SIZES[density], "fill-primary text-primary") : STAR_SIZES[density]
2826
2669
  })
@@ -2830,7 +2673,7 @@ function StarRating2({
2830
2673
  // src/components/ReviewList.tsx
2831
2674
  import { useRef as useRef3, useState as useState4 } from "react";
2832
2675
  import { ChevronRightIcon as ChevronRightIcon3 } from "lucide-react";
2833
- import { jsx as jsx29, jsxs as jsxs17 } from "react/jsx-runtime";
2676
+ import { jsx as jsx28, jsxs as jsxs16 } from "react/jsx-runtime";
2834
2677
  var TOGGLE_KEYS = new Set(["x", "X"]);
2835
2678
  function isMod(event) {
2836
2679
  return event.metaKey || event.ctrlKey;
@@ -2913,7 +2756,7 @@ function ReviewList2({ label, rows, onIncludedChange, onExpandedChange }) {
2913
2756
  setCursor({ row: index, cell });
2914
2757
  };
2915
2758
  const isTree = rows.some((row) => row.level !== undefined);
2916
- return /* @__PURE__ */ jsx29("div", {
2759
+ return /* @__PURE__ */ jsx28("div", {
2917
2760
  "data-slot": "review-list",
2918
2761
  role: isTree ? "treegrid" : "grid",
2919
2762
  "aria-label": label,
@@ -2930,7 +2773,7 @@ function ReviewList2({ label, rows, onIncludedChange, onExpandedChange }) {
2930
2773
  cellsRef.current.delete(key);
2931
2774
  };
2932
2775
  const tabIndex = (cell) => isCursorRow && cursor.cell === cell ? 0 : -1;
2933
- return /* @__PURE__ */ jsxs17("div", {
2776
+ return /* @__PURE__ */ jsxs16("div", {
2934
2777
  role: "row",
2935
2778
  "aria-rowindex": index + 1,
2936
2779
  "aria-level": isTree ? row.level ?? 1 : undefined,
@@ -2938,13 +2781,13 @@ function ReviewList2({ label, rows, onIncludedChange, onExpandedChange }) {
2938
2781
  "data-included": row.isIncluded || undefined,
2939
2782
  className: cn2("flex min-w-0 items-start gap-2 rounded-sm px-1 py-0.5 focus-within:bg-accent/50", !row.isIncluded && "text-muted-foreground"),
2940
2783
  children: [
2941
- /* @__PURE__ */ jsx29("div", {
2784
+ /* @__PURE__ */ jsx28("div", {
2942
2785
  ref: cellRef(0),
2943
2786
  role: "gridcell",
2944
2787
  tabIndex: tabIndex(0),
2945
2788
  className: "flex shrink-0 items-center pt-0.5 outline-none focus-visible:ring-1 focus-visible:ring-ring",
2946
2789
  onClick: (event) => onRowClick(event, row, index, 0),
2947
- children: /* @__PURE__ */ jsx29(Checkbox2, {
2790
+ children: /* @__PURE__ */ jsx28(Checkbox2, {
2948
2791
  "aria-label": row.checkboxLabel,
2949
2792
  checked: row.isIncluded,
2950
2793
  indeterminate: row.isIndeterminate,
@@ -2957,7 +2800,7 @@ function ReviewList2({ label, rows, onIncludedChange, onExpandedChange }) {
2957
2800
  }
2958
2801
  })
2959
2802
  }),
2960
- /* @__PURE__ */ jsxs17("div", {
2803
+ /* @__PURE__ */ jsxs16("div", {
2961
2804
  ref: cellRef(1),
2962
2805
  role: "gridcell",
2963
2806
  tabIndex: tabIndex(1),
@@ -2965,9 +2808,9 @@ function ReviewList2({ label, rows, onIncludedChange, onExpandedChange }) {
2965
2808
  style: isTree ? { paddingInlineStart: `${((row.level ?? 1) - 1) * 1.25}rem` } : undefined,
2966
2809
  onClick: (event) => onRowClick(event, row, index, 1),
2967
2810
  children: [
2968
- isTree && /* @__PURE__ */ jsx29("span", {
2811
+ isTree && /* @__PURE__ */ jsx28("span", {
2969
2812
  className: "flex size-5 shrink-0 items-center justify-center",
2970
- children: row.isExpanded !== undefined && /* @__PURE__ */ jsx29("button", {
2813
+ children: row.isExpanded !== undefined && /* @__PURE__ */ jsx28("button", {
2971
2814
  type: "button",
2972
2815
  tabIndex: -1,
2973
2816
  "aria-hidden": "true",
@@ -2978,18 +2821,18 @@ function ReviewList2({ label, rows, onIncludedChange, onExpandedChange }) {
2978
2821
  setCursor({ row: index, cell: 1 });
2979
2822
  onExpandedChange?.(row.id, !row.isExpanded);
2980
2823
  },
2981
- children: /* @__PURE__ */ jsx29(ChevronRightIcon3, {
2824
+ children: /* @__PURE__ */ jsx28(ChevronRightIcon3, {
2982
2825
  className: cn2("size-4 transition-transform", row.isExpanded && "rotate-90")
2983
2826
  })
2984
2827
  })
2985
2828
  }),
2986
- /* @__PURE__ */ jsx29("div", {
2829
+ /* @__PURE__ */ jsx28("div", {
2987
2830
  className: "min-w-0 flex-1",
2988
2831
  children: row.content
2989
2832
  })
2990
2833
  ]
2991
2834
  }),
2992
- row.cells?.map((cell, offset) => /* @__PURE__ */ jsx29("div", {
2835
+ row.cells?.map((cell, offset) => /* @__PURE__ */ jsx28("div", {
2993
2836
  ref: cellRef(offset + 2),
2994
2837
  role: "gridcell",
2995
2838
  tabIndex: tabIndex(offset + 2),
@@ -3007,7 +2850,7 @@ import {
3007
2850
  useId as useId4,
3008
2851
  useRef as useRef4
3009
2852
  } from "react";
3010
- import { jsx as jsx30, jsxs as jsxs18 } from "react/jsx-runtime";
2853
+ import { jsx as jsx29, jsxs as jsxs17 } from "react/jsx-runtime";
3011
2854
  function isModified(event) {
3012
2855
  return event.altKey || event.metaKey || event.ctrlKey || event.shiftKey;
3013
2856
  }
@@ -3059,7 +2902,7 @@ function ChoiceTable2({
3059
2902
  onValueChange(row.id);
3060
2903
  event.currentTarget.closest("[role='grid']")?.focus({ preventScroll: true });
3061
2904
  };
3062
- return /* @__PURE__ */ jsxs18("div", {
2905
+ return /* @__PURE__ */ jsxs17("div", {
3063
2906
  ref,
3064
2907
  "data-slot": "choice-table",
3065
2908
  role: "grid",
@@ -3071,12 +2914,12 @@ function ChoiceTable2({
3071
2914
  className: "group/choice flex min-w-0 flex-col rounded-md text-sm outline-none focus-visible:ring-2 focus-visible:ring-ring",
3072
2915
  onKeyDown,
3073
2916
  children: [
3074
- /* @__PURE__ */ jsx30("div", {
2917
+ /* @__PURE__ */ jsx29("div", {
3075
2918
  role: "row",
3076
2919
  "aria-rowindex": 1,
3077
2920
  style: template,
3078
2921
  className: "grid items-end gap-x-3 border-b px-3 py-1.5 text-xs text-muted-foreground",
3079
- children: columns.map((column) => /* @__PURE__ */ jsx30("div", {
2922
+ children: columns.map((column) => /* @__PURE__ */ jsx29("div", {
3080
2923
  role: "columnheader",
3081
2924
  className: cn2("min-w-0", column.isEnd && "text-end"),
3082
2925
  children: column.header
@@ -3084,7 +2927,7 @@ function ChoiceTable2({
3084
2927
  }),
3085
2928
  rows.map((row, index) => {
3086
2929
  const isChosen = index === chosenIndex;
3087
- return /* @__PURE__ */ jsxs18("div", {
2930
+ return /* @__PURE__ */ jsxs17("div", {
3088
2931
  id: rowId(row.id),
3089
2932
  ref: (element) => {
3090
2933
  if (element)
@@ -3101,12 +2944,12 @@ function ChoiceTable2({
3101
2944
  className: cn2("grid cursor-default items-start gap-x-3 gap-y-2 border-b border-l-2 border-l-transparent px-3 py-2", isChosen && "border-l-primary bg-accent/60 group-focus-visible/choice:bg-accent"),
3102
2945
  onClick: (event) => onRowClick(event, row),
3103
2946
  children: [
3104
- row.cells.map((cell, cellIndex) => /* @__PURE__ */ jsx30("div", {
2947
+ row.cells.map((cell, cellIndex) => /* @__PURE__ */ jsx29("div", {
3105
2948
  role: "gridcell",
3106
2949
  className: cn2("min-w-0 break-words", columns[cellIndex]?.isEnd && "text-end"),
3107
2950
  children: cell
3108
2951
  }, cellIndex)),
3109
- row.detail !== undefined && /* @__PURE__ */ jsx30("div", {
2952
+ row.detail !== undefined && /* @__PURE__ */ jsx29("div", {
3110
2953
  "data-slot": "choice-table-detail",
3111
2954
  role: "gridcell",
3112
2955
  className: "col-span-full min-w-0",
@@ -3120,7 +2963,7 @@ function ChoiceTable2({
3120
2963
  }
3121
2964
  // src/components/ConfirmationDialog.tsx
3122
2965
  import { useState as useState5 } from "react";
3123
- import { jsx as jsx31, jsxs as jsxs19 } from "react/jsx-runtime";
2966
+ import { jsx as jsx30, jsxs as jsxs18 } from "react/jsx-runtime";
3124
2967
  function ConfirmationDialog2({
3125
2968
  open,
3126
2969
  title,
@@ -3132,7 +2975,7 @@ function ConfirmationDialog2({
3132
2975
  }) {
3133
2976
  const [isPending, setPending] = useState5(false);
3134
2977
  const [error, setError] = useState5(null);
3135
- return /* @__PURE__ */ jsx31(AlertDialog2, {
2978
+ return /* @__PURE__ */ jsx30(AlertDialog2, {
3136
2979
  open,
3137
2980
  onOpenChange: (next, details) => {
3138
2981
  if (isPending)
@@ -3142,33 +2985,33 @@ function ConfirmationDialog2({
3142
2985
  onOpenChange(next);
3143
2986
  }
3144
2987
  },
3145
- children: /* @__PURE__ */ jsxs19(AlertDialogContent2, {
2988
+ children: /* @__PURE__ */ jsxs18(AlertDialogContent2, {
3146
2989
  children: [
3147
- /* @__PURE__ */ jsx31(AlertDialogHeader2, {
3148
- children: /* @__PURE__ */ jsx31(AlertDialogTitle2, {
2990
+ /* @__PURE__ */ jsx30(AlertDialogHeader2, {
2991
+ children: /* @__PURE__ */ jsx30(AlertDialogTitle2, {
3149
2992
  children: title
3150
2993
  })
3151
2994
  }),
3152
- /* @__PURE__ */ jsxs19(ScrollArea2, {
2995
+ /* @__PURE__ */ jsxs18(ScrollArea2, {
3153
2996
  children: [
3154
- /* @__PURE__ */ jsx31(AlertDialogDescription2, {
2997
+ /* @__PURE__ */ jsx30(AlertDialogDescription2, {
3155
2998
  children: description
3156
2999
  }),
3157
- error && /* @__PURE__ */ jsx31(Alert2, {
3000
+ error && /* @__PURE__ */ jsx30(Alert2, {
3158
3001
  variant: "destructive",
3159
- children: /* @__PURE__ */ jsx31(AlertDescription2, {
3002
+ children: /* @__PURE__ */ jsx30(AlertDescription2, {
3160
3003
  children: error
3161
3004
  })
3162
3005
  })
3163
3006
  ]
3164
3007
  }),
3165
- /* @__PURE__ */ jsxs19(AlertDialogFooter2, {
3008
+ /* @__PURE__ */ jsxs18(AlertDialogFooter2, {
3166
3009
  children: [
3167
- /* @__PURE__ */ jsx31(AlertDialogCancel2, {
3010
+ /* @__PURE__ */ jsx30(AlertDialogCancel2, {
3168
3011
  disabled: isPending,
3169
3012
  children: "Cancel"
3170
3013
  }),
3171
- /* @__PURE__ */ jsx31(Button2, {
3014
+ /* @__PURE__ */ jsx30(Button2, {
3172
3015
  variant: "destructive",
3173
3016
  disabled: isPending,
3174
3017
  onClick: async () => {
@@ -3212,7 +3055,7 @@ function useObjectURL(file) {
3212
3055
  }
3213
3056
 
3214
3057
  // src/components/ImagePicker.tsx
3215
- import { jsx as jsx32, jsxs as jsxs20 } from "react/jsx-runtime";
3058
+ import { jsx as jsx31, jsxs as jsxs19 } from "react/jsx-runtime";
3216
3059
  function ImagePicker2({
3217
3060
  analytics,
3218
3061
  src,
@@ -3226,27 +3069,27 @@ function ImagePicker2({
3226
3069
  const input = useRef5(null);
3227
3070
  const preview = useObjectURL(file);
3228
3071
  const image = file === null ? undefined : preview ?? src;
3229
- return /* @__PURE__ */ jsxs20("figure", {
3072
+ return /* @__PURE__ */ jsxs19("figure", {
3230
3073
  className: "flex min-w-0 flex-col items-center gap-3",
3231
3074
  "aria-label": label,
3232
3075
  children: [
3233
- /* @__PURE__ */ jsxs20(Avatar2, {
3076
+ /* @__PURE__ */ jsxs19(Avatar2, {
3234
3077
  size: "preview",
3235
3078
  shape: "square",
3236
3079
  children: [
3237
- /* @__PURE__ */ jsx32(AvatarImage2, {
3080
+ /* @__PURE__ */ jsx31(AvatarImage2, {
3238
3081
  src: image,
3239
3082
  alt: label
3240
3083
  }),
3241
- /* @__PURE__ */ jsx32(AvatarFallback2, {
3242
- children: /* @__PURE__ */ jsx32(ImageIcon, {
3084
+ /* @__PURE__ */ jsx31(AvatarFallback2, {
3085
+ children: /* @__PURE__ */ jsx31(ImageIcon, {
3243
3086
  className: "size-12",
3244
3087
  "aria-hidden": "true"
3245
3088
  })
3246
3089
  })
3247
3090
  ]
3248
3091
  }),
3249
- /* @__PURE__ */ jsx32("input", {
3092
+ /* @__PURE__ */ jsx31("input", {
3250
3093
  ref: input,
3251
3094
  hidden: true,
3252
3095
  type: "file",
@@ -3262,22 +3105,22 @@ function ImagePicker2({
3262
3105
  event.currentTarget.value = "";
3263
3106
  }
3264
3107
  }),
3265
- /* @__PURE__ */ jsxs20("div", {
3108
+ /* @__PURE__ */ jsxs19("div", {
3266
3109
  className: "flex flex-wrap justify-center gap-2",
3267
3110
  children: [
3268
- /* @__PURE__ */ jsxs20(Button2, {
3111
+ /* @__PURE__ */ jsxs19(Button2, {
3269
3112
  type: "button",
3270
3113
  variant: "outline",
3271
3114
  disabled,
3272
3115
  onClick: () => input.current?.click(),
3273
3116
  children: [
3274
- /* @__PURE__ */ jsx32(UploadIcon, {
3117
+ /* @__PURE__ */ jsx31(UploadIcon, {
3275
3118
  "data-icon": "inline-start"
3276
3119
  }),
3277
3120
  "Upload image"
3278
3121
  ]
3279
3122
  }),
3280
- /* @__PURE__ */ jsx32(Button2, {
3123
+ /* @__PURE__ */ jsx31(Button2, {
3281
3124
  type: "button",
3282
3125
  variant: "outline",
3283
3126
  disabled: disabled || !image,
@@ -3291,9 +3134,9 @@ function ImagePicker2({
3291
3134
  }
3292
3135
  // src/components/Meter.tsx
3293
3136
  import { Meter as MeterPrimitive } from "@base-ui/react/meter";
3294
- import { jsx as jsx33 } from "react/jsx-runtime";
3137
+ import { jsx as jsx32 } from "react/jsx-runtime";
3295
3138
  function Meter2({ density, className, ...props }) {
3296
- return /* @__PURE__ */ jsx33(MeterPrimitive.Root, {
3139
+ return /* @__PURE__ */ jsx32(MeterPrimitive.Root, {
3297
3140
  "data-density": density,
3298
3141
  "data-slot": "meter",
3299
3142
  className: (state) => cn2("flex min-w-0 flex-wrap items-center gap-field-gap", typeof className === "function" ? className(state) : className),
@@ -3301,7 +3144,7 @@ function Meter2({ density, className, ...props }) {
3301
3144
  });
3302
3145
  }
3303
3146
  function MeterLabel2({ density, className, ...props }) {
3304
- return /* @__PURE__ */ jsx33(MeterPrimitive.Label, {
3147
+ return /* @__PURE__ */ jsx32(MeterPrimitive.Label, {
3305
3148
  "data-density": density,
3306
3149
  "data-slot": "meter-label",
3307
3150
  className: (state) => cn2("text-sm font-medium", typeof className === "function" ? className(state) : className),
@@ -3309,7 +3152,7 @@ function MeterLabel2({ density, className, ...props }) {
3309
3152
  });
3310
3153
  }
3311
3154
  function MeterValue2({ density, className, ...props }) {
3312
- return /* @__PURE__ */ jsx33(MeterPrimitive.Value, {
3155
+ return /* @__PURE__ */ jsx32(MeterPrimitive.Value, {
3313
3156
  "data-density": density,
3314
3157
  "data-slot": "meter-value",
3315
3158
  className: (state) => cn2("ms-auto text-sm text-muted-foreground tabular-nums", typeof className === "function" ? className(state) : className),
@@ -3317,7 +3160,7 @@ function MeterValue2({ density, className, ...props }) {
3317
3160
  });
3318
3161
  }
3319
3162
  function MeterTrack2({ density, className, ...props }) {
3320
- return /* @__PURE__ */ jsx33(MeterPrimitive.Track, {
3163
+ return /* @__PURE__ */ jsx32(MeterPrimitive.Track, {
3321
3164
  "data-density": density,
3322
3165
  "data-slot": "meter-track",
3323
3166
  className: (state) => cn2("h-1 w-full overflow-hidden rounded-sm bg-muted", typeof className === "function" ? className(state) : className),
@@ -3329,7 +3172,7 @@ function MeterIndicator2({
3329
3172
  className,
3330
3173
  ...props
3331
3174
  }) {
3332
- return /* @__PURE__ */ jsx33(MeterPrimitive.Indicator, {
3175
+ return /* @__PURE__ */ jsx32(MeterPrimitive.Indicator, {
3333
3176
  "data-density": density,
3334
3177
  "data-slot": "meter-indicator",
3335
3178
  className: (state) => cn2("h-full bg-primary transition-[width] motion-reduce:transition-none", typeof className === "function" ? className(state) : className),
@@ -3339,7 +3182,7 @@ function MeterIndicator2({
3339
3182
  // src/components/ToolbarToggleChip.tsx
3340
3183
  import { useId as useId5 } from "react";
3341
3184
  import { Toolbar as ToolbarPrimitive } from "@base-ui/react/toolbar";
3342
- import { jsx as jsx34, jsxs as jsxs21, Fragment as Fragment5 } from "react/jsx-runtime";
3185
+ import { jsx as jsx33, jsxs as jsxs20, Fragment as Fragment5 } from "react/jsx-runtime";
3343
3186
  function pressedLabel(pressed) {
3344
3187
  if (pressed === "mixed")
3345
3188
  return "mixed";
@@ -3376,7 +3219,7 @@ function ToolbarToggleChip2({
3376
3219
  if (!spaceActivates && event.key === " ")
3377
3220
  event.preventDefault();
3378
3221
  };
3379
- const button = /* @__PURE__ */ jsxs21(ToolbarPrimitive.Button, {
3222
+ const button = /* @__PURE__ */ jsxs20(ToolbarPrimitive.Button, {
3380
3223
  "data-density": density,
3381
3224
  "data-slot": "toolbar-toggle-chip",
3382
3225
  "data-pressed": pressedLabel(pressed),
@@ -3395,17 +3238,17 @@ function ToolbarToggleChip2({
3395
3238
  trackedChange(pressed !== true);
3396
3239
  },
3397
3240
  children: [
3398
- swatch && /* @__PURE__ */ jsx34("span", {
3241
+ swatch && /* @__PURE__ */ jsx33("span", {
3399
3242
  "aria-hidden": "true",
3400
3243
  "data-slot": "toolbar-toggle-chip-swatch",
3401
3244
  className: "size-3 shrink-0 rounded-sm border border-border",
3402
3245
  style: { backgroundColor: swatch }
3403
3246
  }),
3404
- /* @__PURE__ */ jsx34("span", {
3247
+ /* @__PURE__ */ jsx33("span", {
3405
3248
  className: hideLabel ? "sr-only" : "min-w-0 truncate",
3406
3249
  children
3407
3250
  }),
3408
- detail !== undefined && /* @__PURE__ */ jsxs21("span", {
3251
+ detail !== undefined && /* @__PURE__ */ jsxs20("span", {
3409
3252
  "data-slot": "toolbar-toggle-chip-detail",
3410
3253
  className: "text-xs text-muted-foreground",
3411
3254
  children: [
@@ -3413,28 +3256,28 @@ function ToolbarToggleChip2({
3413
3256
  detail
3414
3257
  ]
3415
3258
  }),
3416
- shortcut && !hideLabel && /* @__PURE__ */ jsx34(Kbd2, {
3259
+ shortcut && !hideLabel && /* @__PURE__ */ jsx33(Kbd2, {
3417
3260
  "aria-hidden": "true",
3418
3261
  className: "ms-1",
3419
3262
  children: shortcut.toUpperCase()
3420
3263
  })
3421
3264
  ]
3422
3265
  });
3423
- return /* @__PURE__ */ jsxs21(Fragment5, {
3266
+ return /* @__PURE__ */ jsxs20(Fragment5, {
3424
3267
  children: [
3425
- disabledReason && /* @__PURE__ */ jsx34("span", {
3268
+ disabledReason && /* @__PURE__ */ jsx33("span", {
3426
3269
  id: reasonId,
3427
3270
  className: "sr-only",
3428
3271
  children: disabledReason
3429
3272
  }),
3430
- /* @__PURE__ */ jsxs21(Tooltip2, {
3273
+ /* @__PURE__ */ jsxs20(Tooltip2, {
3431
3274
  disabled: !disabledReason && !hideLabel,
3432
3275
  children: [
3433
- /* @__PURE__ */ jsx34(TooltipTrigger2, {
3276
+ /* @__PURE__ */ jsx33(TooltipTrigger2, {
3434
3277
  render: button,
3435
3278
  closeOnClick: false
3436
3279
  }),
3437
- (disabledReason || hideLabel) && /* @__PURE__ */ jsxs21(TooltipContent2, {
3280
+ (disabledReason || hideLabel) && /* @__PURE__ */ jsxs20(TooltipContent2, {
3438
3281
  children: [
3439
3282
  hideLabel ? children : null,
3440
3283
  hideLabel && shortcut ? ` · ${shortcut.toUpperCase()}` : null,
@@ -3450,9 +3293,9 @@ function ToolbarToggleChip2({
3450
3293
  // src/components/Stepper.tsx
3451
3294
  import { Tabs as TabsPrimitive } from "@base-ui/react/tabs";
3452
3295
  import { CheckIcon as CheckIcon2 } from "lucide-react";
3453
- import { jsx as jsx35 } from "react/jsx-runtime";
3296
+ import { jsx as jsx34 } from "react/jsx-runtime";
3454
3297
  function Stepper2({ density, className, ...props }) {
3455
- return /* @__PURE__ */ jsx35(TabsPrimitive.Root, {
3298
+ return /* @__PURE__ */ jsx34(TabsPrimitive.Root, {
3456
3299
  "data-density": density,
3457
3300
  "data-slot": "stepper",
3458
3301
  className: (state) => cn2("group/stepper flex min-w-0 flex-col gap-panel data-[orientation=vertical]:flex-row", typeof className === "function" ? className(state) : className),
@@ -3465,7 +3308,7 @@ function StepperList2({
3465
3308
  activateOnFocus = false,
3466
3309
  ...props
3467
3310
  }) {
3468
- return /* @__PURE__ */ jsx35(TabsPrimitive.List, {
3311
+ return /* @__PURE__ */ jsx34(TabsPrimitive.List, {
3469
3312
  "data-density": density,
3470
3313
  "data-slot": "stepper-list",
3471
3314
  activateOnFocus,
@@ -3474,7 +3317,7 @@ function StepperList2({
3474
3317
  });
3475
3318
  }
3476
3319
  function StepperTrigger2({ density, className, ...props }) {
3477
- return /* @__PURE__ */ jsx35(TabsPrimitive.Tab, {
3320
+ return /* @__PURE__ */ jsx34(TabsPrimitive.Tab, {
3478
3321
  "data-density": density,
3479
3322
  "data-slot": "stepper-trigger",
3480
3323
  className: (state) => cn2("group/step flex min-h-control items-center gap-control-gap rounded-sm text-sm text-muted-foreground outline-none focus-visible:ring-1 focus-visible:ring-ring data-active:text-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:opacity-50", typeof className === "function" ? className(state) : className),
@@ -3482,17 +3325,17 @@ function StepperTrigger2({ density, className, ...props }) {
3482
3325
  });
3483
3326
  }
3484
3327
  function StepperIndicator2({ completed = false, children, className, ...props }) {
3485
- return /* @__PURE__ */ jsx35("span", {
3328
+ return /* @__PURE__ */ jsx34("span", {
3486
3329
  "aria-hidden": "true",
3487
3330
  "data-slot": "stepper-indicator",
3488
3331
  "data-completed": completed || undefined,
3489
3332
  className: cn2("flex size-control shrink-0 items-center justify-center rounded-sm border border-input bg-secondary text-sm tabular-nums group-data-active/step:border-primary group-data-active/step:bg-primary group-data-active/step:text-primary-foreground data-completed:border-primary data-completed:text-primary [&_svg]:size-3.5", className),
3490
3333
  ...props,
3491
- children: completed ? /* @__PURE__ */ jsx35(CheckIcon2, {}) : children
3334
+ children: completed ? /* @__PURE__ */ jsx34(CheckIcon2, {}) : children
3492
3335
  });
3493
3336
  }
3494
3337
  function StepperContent2({ density, className, ...props }) {
3495
- return /* @__PURE__ */ jsx35(TabsPrimitive.Panel, {
3338
+ return /* @__PURE__ */ jsx34(TabsPrimitive.Panel, {
3496
3339
  "data-density": density,
3497
3340
  "data-slot": "stepper-content",
3498
3341
  className: (state) => cn2("min-w-0 flex-1 outline-none focus-visible:ring-1 focus-visible:ring-ring", typeof className === "function" ? className(state) : className),
@@ -3500,7 +3343,7 @@ function StepperContent2({ density, className, ...props }) {
3500
3343
  });
3501
3344
  }
3502
3345
  // src/components/AppShell.tsx
3503
- import { jsx as jsx36, jsxs as jsxs22 } from "react/jsx-runtime";
3346
+ import { jsx as jsx35, jsxs as jsxs21 } from "react/jsx-runtime";
3504
3347
  function AppShell2({
3505
3348
  navigation,
3506
3349
  brand,
@@ -3514,28 +3357,28 @@ function AppShell2({
3514
3357
  content = "scroll",
3515
3358
  density
3516
3359
  }) {
3517
- return /* @__PURE__ */ jsxs22(SidebarProvider2, {
3360
+ return /* @__PURE__ */ jsxs21(SidebarProvider2, {
3518
3361
  density,
3519
3362
  defaultOpen: defaultSidebarOpen,
3520
3363
  className: "relative min-h-0",
3521
3364
  style: { height },
3522
3365
  "data-scroll": "none",
3523
3366
  children: [
3524
- /* @__PURE__ */ jsxs22(Sidebar2, {
3367
+ /* @__PURE__ */ jsxs21(Sidebar2, {
3525
3368
  collapsible: "icon",
3526
3369
  position: "container",
3527
3370
  children: [
3528
- /* @__PURE__ */ jsx36(SidebarHeader2, {
3371
+ /* @__PURE__ */ jsx35(SidebarHeader2, {
3529
3372
  children: brand
3530
3373
  }),
3531
- /* @__PURE__ */ jsx36(SidebarContent2, {
3532
- children: /* @__PURE__ */ jsx36("nav", {
3374
+ /* @__PURE__ */ jsx35(SidebarContent2, {
3375
+ children: /* @__PURE__ */ jsx35("nav", {
3533
3376
  "aria-label": "Primary navigation",
3534
- children: /* @__PURE__ */ jsx36(SidebarGroup2, {
3535
- children: /* @__PURE__ */ jsx36(SidebarMenu2, {
3536
- children: navigation.map((item) => /* @__PURE__ */ jsx36(SidebarMenuItem2, {
3537
- children: /* @__PURE__ */ jsxs22(SidebarMenuButton2, {
3538
- render: /* @__PURE__ */ jsx36(AnalyticsLink, {
3377
+ children: /* @__PURE__ */ jsx35(SidebarGroup2, {
3378
+ children: /* @__PURE__ */ jsx35(SidebarMenu2, {
3379
+ children: navigation.map((item) => /* @__PURE__ */ jsx35(SidebarMenuItem2, {
3380
+ children: /* @__PURE__ */ jsxs21(SidebarMenuButton2, {
3381
+ render: /* @__PURE__ */ jsx35(AnalyticsLink, {
3539
3382
  component: "AppShell",
3540
3383
  render: item.render,
3541
3384
  ...item.href === undefined ? {} : { href: item.href },
@@ -3545,7 +3388,7 @@ function AppShell2({
3545
3388
  tooltip: item.label,
3546
3389
  children: [
3547
3390
  item.icon,
3548
- /* @__PURE__ */ jsx36("span", {
3391
+ /* @__PURE__ */ jsx35("span", {
3549
3392
  children: item.label
3550
3393
  })
3551
3394
  ]
@@ -3555,41 +3398,41 @@ function AppShell2({
3555
3398
  })
3556
3399
  })
3557
3400
  }),
3558
- sidebarFooter && /* @__PURE__ */ jsx36(SidebarFooter2, {
3401
+ sidebarFooter && /* @__PURE__ */ jsx35(SidebarFooter2, {
3559
3402
  children: sidebarFooter
3560
3403
  })
3561
3404
  ]
3562
3405
  }),
3563
- /* @__PURE__ */ jsxs22(SidebarInset2, {
3406
+ /* @__PURE__ */ jsxs21(SidebarInset2, {
3564
3407
  "aria-label": label,
3565
3408
  className: "min-h-0 min-w-0",
3566
3409
  "data-scroll": "none",
3567
3410
  children: [
3568
- /* @__PURE__ */ jsxs22("header", {
3411
+ /* @__PURE__ */ jsxs21("header", {
3569
3412
  "data-scroll": "none",
3570
3413
  className: "flex shrink-0 items-center gap-control-gap border-b border-border p-panel",
3571
3414
  children: [
3572
- /* @__PURE__ */ jsx36(SidebarTrigger2, {}),
3573
- /* @__PURE__ */ jsx36(Separator2, {
3415
+ /* @__PURE__ */ jsx35(SidebarTrigger2, {}),
3416
+ /* @__PURE__ */ jsx35(Separator2, {
3574
3417
  orientation: "vertical",
3575
3418
  className: "h-control"
3576
3419
  }),
3577
3420
  header
3578
3421
  ]
3579
3422
  }),
3580
- content === "fill" ? /* @__PURE__ */ jsx36("div", {
3423
+ content === "fill" ? /* @__PURE__ */ jsx35("div", {
3581
3424
  "data-slot": "app-shell-content",
3582
3425
  "data-scroll": "none",
3583
3426
  className: "flex min-h-0 min-w-0 flex-1 flex-col",
3584
3427
  children
3585
- }) : /* @__PURE__ */ jsx36(ScrollArea2, {
3428
+ }) : /* @__PURE__ */ jsx35(ScrollArea2, {
3586
3429
  className: "min-h-0 flex-1",
3587
- children: /* @__PURE__ */ jsx36("div", {
3430
+ children: /* @__PURE__ */ jsx35("div", {
3588
3431
  className: "flex min-w-0 flex-col gap-panel p-panel",
3589
3432
  children
3590
3433
  })
3591
3434
  }),
3592
- footer && /* @__PURE__ */ jsx36("footer", {
3435
+ footer && /* @__PURE__ */ jsx35("footer", {
3593
3436
  className: "shrink-0 border-t border-border p-panel",
3594
3437
  "data-scroll": "none",
3595
3438
  children: footer
@@ -3939,7 +3782,7 @@ import {
3939
3782
  DropletIcon,
3940
3783
  SunIcon
3941
3784
  } from "lucide-react";
3942
- import { jsx as jsx37, jsxs as jsxs23, Fragment as Fragment6 } from "react/jsx-runtime";
3785
+ import { jsx as jsx36, jsxs as jsxs22, Fragment as Fragment6 } from "react/jsx-runtime";
3943
3786
  var CONDITION_ICONS = {
3944
3787
  clear: SunIcon,
3945
3788
  "partly-cloudy": CloudSunIcon,
@@ -3991,43 +3834,43 @@ function WeatherSummary2({
3991
3834
  defaultTagName: "div",
3992
3835
  props: mergeProps14({
3993
3836
  className: cn2("flex min-w-0 text-foreground", isCompact ? "flex-col items-center gap-1 text-center" : "items-center gap-panel-sm", className),
3994
- children: /* @__PURE__ */ jsxs23(Fragment6, {
3837
+ children: /* @__PURE__ */ jsxs22(Fragment6, {
3995
3838
  children: [
3996
- /* @__PURE__ */ jsx37(ConditionIcon, {
3839
+ /* @__PURE__ */ jsx36(ConditionIcon, {
3997
3840
  "aria-hidden": "true",
3998
3841
  "data-slot": "weather-summary-icon",
3999
3842
  className: cn2("shrink-0 text-muted-foreground", isCompact ? "size-6" : "size-8")
4000
3843
  }),
4001
- /* @__PURE__ */ jsxs23("div", {
3844
+ /* @__PURE__ */ jsxs22("div", {
4002
3845
  className: cn2("flex min-w-0 flex-col gap-0.5", isCompact && "items-center"),
4003
3846
  children: [
4004
- /* @__PURE__ */ jsx37("div", {
3847
+ /* @__PURE__ */ jsx36("div", {
4005
3848
  className: "text-sm font-medium break-words",
4006
3849
  children: label
4007
3850
  }),
4008
- /* @__PURE__ */ jsx37("div", {
3851
+ /* @__PURE__ */ jsx36("div", {
4009
3852
  className: cn2("text-sm text-muted-foreground", isCompact && "sr-only"),
4010
3853
  children: conditionLabel
4011
3854
  }),
4012
- /* @__PURE__ */ jsxs23("div", {
3855
+ /* @__PURE__ */ jsxs22("div", {
4013
3856
  className: "flex flex-wrap items-baseline gap-x-2 text-sm tabular-nums",
4014
3857
  children: [
4015
- /* @__PURE__ */ jsxs23("span", {
3858
+ /* @__PURE__ */ jsxs22("span", {
4016
3859
  children: [
4017
- /* @__PURE__ */ jsx37("span", {
3860
+ /* @__PURE__ */ jsx36("span", {
4018
3861
  className: "sr-only",
4019
3862
  children: "High "
4020
3863
  }),
4021
- /* @__PURE__ */ jsx37("span", {
3864
+ /* @__PURE__ */ jsx36("span", {
4022
3865
  className: "font-medium",
4023
3866
  children: highText
4024
3867
  })
4025
3868
  ]
4026
3869
  }),
4027
- /* @__PURE__ */ jsxs23("span", {
3870
+ /* @__PURE__ */ jsxs22("span", {
4028
3871
  className: "text-muted-foreground",
4029
3872
  children: [
4030
- /* @__PURE__ */ jsx37("span", {
3873
+ /* @__PURE__ */ jsx36("span", {
4031
3874
  className: "sr-only",
4032
3875
  children: "Low "
4033
3876
  }),
@@ -4036,17 +3879,17 @@ function WeatherSummary2({
4036
3879
  })
4037
3880
  ]
4038
3881
  }),
4039
- probabilityText !== undefined && /* @__PURE__ */ jsxs23("div", {
3882
+ probabilityText !== undefined && /* @__PURE__ */ jsxs22("div", {
4040
3883
  className: "flex items-center gap-1 text-xs text-muted-foreground tabular-nums",
4041
3884
  children: [
4042
- /* @__PURE__ */ jsx37(DropletIcon, {
3885
+ /* @__PURE__ */ jsx36(DropletIcon, {
4043
3886
  "aria-hidden": "true",
4044
3887
  className: "size-3 shrink-0"
4045
3888
  }),
4046
- /* @__PURE__ */ jsxs23("span", {
3889
+ /* @__PURE__ */ jsxs22("span", {
4047
3890
  children: [
4048
3891
  probabilityText,
4049
- /* @__PURE__ */ jsx37("span", {
3892
+ /* @__PURE__ */ jsx36("span", {
4050
3893
  className: "sr-only",
4051
3894
  children: " chance of precipitation"
4052
3895
  })
@@ -4064,7 +3907,7 @@ function WeatherSummary2({
4064
3907
  });
4065
3908
  }
4066
3909
  // src/components/WeatherForecast.tsx
4067
- import { jsx as jsx38 } from "react/jsx-runtime";
3910
+ import { jsx as jsx37 } from "react/jsx-runtime";
4068
3911
  function WeatherForecast2({
4069
3912
  days,
4070
3913
  label,
@@ -4075,52 +3918,52 @@ function WeatherForecast2({
4075
3918
  className,
4076
3919
  ...props
4077
3920
  }) {
4078
- return /* @__PURE__ */ jsx38("ul", {
3921
+ return /* @__PURE__ */ jsx37("ul", {
4079
3922
  "aria-label": label,
4080
3923
  "data-slot": "weather-forecast",
4081
3924
  "data-density": density,
4082
3925
  className: cn2("grid min-w-0 gap-panel-sm", variant === "strip" && "grid-cols-[repeat(auto-fill,minmax(6rem,1fr))]", className),
4083
3926
  ...props,
4084
- children: days.map(({ id, ...day }) => /* @__PURE__ */ jsx38(WeatherSummary2, {
3927
+ children: days.map(({ id, ...day }) => /* @__PURE__ */ jsx37(WeatherSummary2, {
4085
3928
  ...day,
4086
3929
  unit,
4087
3930
  locale,
4088
3931
  variant: variant === "strip" ? "compact" : "default",
4089
- render: /* @__PURE__ */ jsx38("li", {})
3932
+ render: /* @__PURE__ */ jsx37("li", {})
4090
3933
  }, id))
4091
3934
  });
4092
3935
  }
4093
3936
  // src/components/PageHeader.tsx
4094
- import { jsx as jsx39, jsxs as jsxs24 } from "react/jsx-runtime";
3937
+ import { jsx as jsx38, jsxs as jsxs23 } from "react/jsx-runtime";
4095
3938
  function PageHeader2({ title, eyebrow, description, breadcrumbs, actions, density }) {
4096
- return /* @__PURE__ */ jsxs24("header", {
3939
+ return /* @__PURE__ */ jsxs23("header", {
4097
3940
  "data-density": density,
4098
3941
  "data-slot": "page-header",
4099
3942
  "data-scroll": "none",
4100
3943
  className: "flex min-w-0 flex-col gap-field-gap",
4101
3944
  children: [
4102
3945
  breadcrumbs,
4103
- /* @__PURE__ */ jsxs24("div", {
3946
+ /* @__PURE__ */ jsxs23("div", {
4104
3947
  className: "flex min-w-0 flex-wrap items-start justify-between gap-panel",
4105
3948
  children: [
4106
- /* @__PURE__ */ jsxs24("div", {
3949
+ /* @__PURE__ */ jsxs23("div", {
4107
3950
  className: "min-w-0",
4108
3951
  children: [
4109
- eyebrow != null && /* @__PURE__ */ jsx39("div", {
3952
+ eyebrow != null && /* @__PURE__ */ jsx38("div", {
4110
3953
  className: "mb-2 text-xs font-medium tracking-widest text-muted-foreground",
4111
3954
  children: eyebrow
4112
3955
  }),
4113
- /* @__PURE__ */ jsx39("h1", {
3956
+ /* @__PURE__ */ jsx38("h1", {
4114
3957
  className: "text-xl font-semibold text-foreground",
4115
3958
  children: title
4116
3959
  }),
4117
- description && /* @__PURE__ */ jsx39("div", {
3960
+ description && /* @__PURE__ */ jsx38("div", {
4118
3961
  className: "mt-1 text-sm text-muted-foreground",
4119
3962
  children: description
4120
3963
  })
4121
3964
  ]
4122
3965
  }),
4123
- actions && /* @__PURE__ */ jsx39("div", {
3966
+ actions && /* @__PURE__ */ jsx38("div", {
4124
3967
  className: "flex min-w-0 max-w-full flex-wrap items-center gap-control-gap wrap-anywhere",
4125
3968
  children: actions
4126
3969
  })
@@ -4130,46 +3973,46 @@ function PageHeader2({ title, eyebrow, description, breadcrumbs, actions, densit
4130
3973
  });
4131
3974
  }
4132
3975
  // src/components/PageIntro.tsx
4133
- import { jsx as jsx40, jsxs as jsxs25 } from "react/jsx-runtime";
3976
+ import { jsx as jsx39, jsxs as jsxs24 } from "react/jsx-runtime";
4134
3977
  function PageIntro2({ title, description, eyebrow, icon, actions, highlights, density }) {
4135
- return /* @__PURE__ */ jsx40("header", {
3978
+ return /* @__PURE__ */ jsx39("header", {
4136
3979
  "data-density": density,
4137
3980
  "data-slot": "page-intro",
4138
3981
  "data-scroll": "none",
4139
3982
  className: "@container/page-intro min-w-0",
4140
- children: /* @__PURE__ */ jsxs25(Card2, {
3983
+ children: /* @__PURE__ */ jsxs24(Card2, {
4141
3984
  variant: "hero",
4142
3985
  className: "gap-0 py-0",
4143
3986
  children: [
4144
- /* @__PURE__ */ jsx40("div", {
3987
+ /* @__PURE__ */ jsx39("div", {
4145
3988
  "aria-hidden": "true",
4146
3989
  "data-slot": "page-intro-wash",
4147
3990
  className: "pointer-events-none absolute inset-0 -z-10 bg-[radial-gradient(ellipse_90%_140%_at_100%_0%,color-mix(in_oklab,var(--primary)_16%,transparent),transparent_65%)]"
4148
3991
  }),
4149
- /* @__PURE__ */ jsxs25("div", {
3992
+ /* @__PURE__ */ jsxs24("div", {
4150
3993
  className: "flex min-w-0 flex-col gap-panel p-(--card-spacing) @2xl/page-intro:flex-row @2xl/page-intro:items-start @2xl/page-intro:justify-between",
4151
3994
  children: [
4152
- /* @__PURE__ */ jsxs25("div", {
3995
+ /* @__PURE__ */ jsxs24("div", {
4153
3996
  className: "flex min-w-0 gap-panel",
4154
3997
  children: [
4155
- icon != null && /* @__PURE__ */ jsx40("div", {
3998
+ icon != null && /* @__PURE__ */ jsx39("div", {
4156
3999
  "aria-hidden": "true",
4157
4000
  "data-slot": "page-intro-icon",
4158
4001
  className: "flex size-12 shrink-0 items-center justify-center rounded-md bg-primary/10 text-primary [&_svg]:size-6",
4159
4002
  children: icon
4160
4003
  }),
4161
- /* @__PURE__ */ jsxs25("div", {
4004
+ /* @__PURE__ */ jsxs24("div", {
4162
4005
  className: "min-w-0",
4163
4006
  children: [
4164
- eyebrow != null && /* @__PURE__ */ jsx40("div", {
4007
+ eyebrow != null && /* @__PURE__ */ jsx39("div", {
4165
4008
  className: "mb-1 text-xs font-medium tracking-widest text-muted-foreground",
4166
4009
  children: eyebrow
4167
4010
  }),
4168
- /* @__PURE__ */ jsx40("h1", {
4011
+ /* @__PURE__ */ jsx39("h1", {
4169
4012
  className: "text-2xl font-semibold text-foreground",
4170
4013
  children: title
4171
4014
  }),
4172
- /* @__PURE__ */ jsx40("div", {
4015
+ /* @__PURE__ */ jsx39("div", {
4173
4016
  className: "mt-2 max-w-prose text-base text-pretty text-muted-foreground",
4174
4017
  children: description
4175
4018
  })
@@ -4177,33 +4020,33 @@ function PageIntro2({ title, description, eyebrow, icon, actions, highlights, de
4177
4020
  })
4178
4021
  ]
4179
4022
  }),
4180
- actions != null && /* @__PURE__ */ jsx40("div", {
4023
+ actions != null && /* @__PURE__ */ jsx39("div", {
4181
4024
  className: "flex min-w-0 max-w-full shrink-0 flex-wrap items-center gap-control-gap wrap-anywhere",
4182
4025
  children: actions
4183
4026
  })
4184
4027
  ]
4185
4028
  }),
4186
- highlights != null && highlights.length > 0 && /* @__PURE__ */ jsx40("ul", {
4029
+ highlights != null && highlights.length > 0 && /* @__PURE__ */ jsx39("ul", {
4187
4030
  "aria-label": `What you can do in ${title}`,
4188
4031
  "data-slot": "page-intro-highlights",
4189
4032
  className: "grid grid-cols-[repeat(auto-fit,minmax(min(100%,13rem),1fr))] gap-panel border-t border-border p-(--card-spacing)",
4190
- children: highlights.map((highlight) => /* @__PURE__ */ jsxs25("li", {
4033
+ children: highlights.map((highlight) => /* @__PURE__ */ jsxs24("li", {
4191
4034
  "data-slot": "page-intro-highlight",
4192
4035
  className: "flex min-w-0 gap-2",
4193
4036
  children: [
4194
- highlight.icon != null && /* @__PURE__ */ jsx40("span", {
4037
+ highlight.icon != null && /* @__PURE__ */ jsx39("span", {
4195
4038
  "aria-hidden": "true",
4196
4039
  className: "mt-0.5 shrink-0 text-primary [&_svg]:size-4",
4197
4040
  children: highlight.icon
4198
4041
  }),
4199
- /* @__PURE__ */ jsxs25("div", {
4042
+ /* @__PURE__ */ jsxs24("div", {
4200
4043
  className: "min-w-0",
4201
4044
  children: [
4202
- /* @__PURE__ */ jsx40("div", {
4045
+ /* @__PURE__ */ jsx39("div", {
4203
4046
  className: "text-sm font-medium text-foreground",
4204
4047
  children: highlight.title
4205
4048
  }),
4206
- /* @__PURE__ */ jsx40("div", {
4049
+ /* @__PURE__ */ jsx39("div", {
4207
4050
  className: "mt-0.5 text-sm text-muted-foreground",
4208
4051
  children: highlight.description
4209
4052
  })
@@ -4217,7 +4060,7 @@ function PageIntro2({ title, description, eyebrow, icon, actions, highlights, de
4217
4060
  });
4218
4061
  }
4219
4062
  // src/components/WorkspaceSwitcher.tsx
4220
- import { jsx as jsx41, jsxs as jsxs26 } from "react/jsx-runtime";
4063
+ import { jsx as jsx40, jsxs as jsxs25 } from "react/jsx-runtime";
4221
4064
  function WorkspaceSwitcher2({
4222
4065
  workspaces,
4223
4066
  value,
@@ -4227,7 +4070,7 @@ function WorkspaceSwitcher2({
4227
4070
  label = "Workspace",
4228
4071
  density
4229
4072
  }) {
4230
- return /* @__PURE__ */ jsxs26(Select2, {
4073
+ return /* @__PURE__ */ jsxs25(Select2, {
4231
4074
  items: workspaces,
4232
4075
  value,
4233
4076
  defaultValue: defaultValue ?? workspaces[0]?.value,
@@ -4237,15 +4080,15 @@ function WorkspaceSwitcher2({
4237
4080
  },
4238
4081
  disabled,
4239
4082
  children: [
4240
- /* @__PURE__ */ jsx41(SelectTrigger2, {
4083
+ /* @__PURE__ */ jsx40(SelectTrigger2, {
4241
4084
  "aria-label": label,
4242
4085
  density,
4243
- children: /* @__PURE__ */ jsx41(SelectValue2, {})
4086
+ children: /* @__PURE__ */ jsx40(SelectValue2, {})
4244
4087
  }),
4245
- /* @__PURE__ */ jsx41(SelectContent2, {
4088
+ /* @__PURE__ */ jsx40(SelectContent2, {
4246
4089
  density,
4247
- children: /* @__PURE__ */ jsx41(SelectGroup2, {
4248
- children: workspaces.map((workspace) => /* @__PURE__ */ jsx41(SelectItem2, {
4090
+ children: /* @__PURE__ */ jsx40(SelectGroup2, {
4091
+ children: workspaces.map((workspace) => /* @__PURE__ */ jsx40(SelectItem2, {
4249
4092
  value: workspace.value,
4250
4093
  children: workspace.label
4251
4094
  }, workspace.value))
@@ -4255,52 +4098,52 @@ function WorkspaceSwitcher2({
4255
4098
  });
4256
4099
  }
4257
4100
  // src/components/AccountMenu.tsx
4258
- import { jsx as jsx42, jsxs as jsxs27 } from "react/jsx-runtime";
4101
+ import { jsx as jsx41, jsxs as jsxs26 } from "react/jsx-runtime";
4259
4102
  function AccountMenu2({ name, email, image, onAction, density }) {
4260
- return /* @__PURE__ */ jsxs27(DropdownMenu2, {
4103
+ return /* @__PURE__ */ jsxs26(DropdownMenu2, {
4261
4104
  children: [
4262
- /* @__PURE__ */ jsxs27(DropdownMenuTrigger2, {
4263
- render: /* @__PURE__ */ jsx42(Button2, {
4105
+ /* @__PURE__ */ jsxs26(DropdownMenuTrigger2, {
4106
+ render: /* @__PURE__ */ jsx41(Button2, {
4264
4107
  variant: "ghost",
4265
4108
  density
4266
4109
  }),
4267
4110
  "aria-label": `Account menu for ${name}`,
4268
4111
  children: [
4269
- /* @__PURE__ */ jsxs27(Avatar2, {
4112
+ /* @__PURE__ */ jsxs26(Avatar2, {
4270
4113
  className: "size-control",
4271
4114
  children: [
4272
- /* @__PURE__ */ jsx42(AvatarImage2, {
4115
+ /* @__PURE__ */ jsx41(AvatarImage2, {
4273
4116
  src: image,
4274
4117
  alt: ""
4275
4118
  }),
4276
- /* @__PURE__ */ jsx42(AvatarFallback2, {
4119
+ /* @__PURE__ */ jsx41(AvatarFallback2, {
4277
4120
  children: name.slice(0, 2).toUpperCase()
4278
4121
  })
4279
4122
  ]
4280
4123
  }),
4281
- /* @__PURE__ */ jsx42("span", {
4124
+ /* @__PURE__ */ jsx41("span", {
4282
4125
  children: name
4283
4126
  })
4284
4127
  ]
4285
4128
  }),
4286
- /* @__PURE__ */ jsx42(MenuPopup, {
4129
+ /* @__PURE__ */ jsx41(MenuPopup, {
4287
4130
  density,
4288
4131
  align: "end",
4289
- children: /* @__PURE__ */ jsxs27(MenuGroup2, {
4132
+ children: /* @__PURE__ */ jsxs26(MenuGroup2, {
4290
4133
  children: [
4291
- /* @__PURE__ */ jsx42(MenuLabel2, {
4134
+ /* @__PURE__ */ jsx41(MenuLabel2, {
4292
4135
  children: email ?? name
4293
4136
  }),
4294
- /* @__PURE__ */ jsx42(MenuItem2, {
4137
+ /* @__PURE__ */ jsx41(MenuItem2, {
4295
4138
  onClick: () => onAction("profile"),
4296
4139
  children: "Profile"
4297
4140
  }),
4298
- /* @__PURE__ */ jsx42(MenuItem2, {
4141
+ /* @__PURE__ */ jsx41(MenuItem2, {
4299
4142
  onClick: () => onAction("settings"),
4300
4143
  children: "Settings"
4301
4144
  }),
4302
- /* @__PURE__ */ jsx42(MenuSeparator2, {}),
4303
- /* @__PURE__ */ jsx42(MenuItem2, {
4145
+ /* @__PURE__ */ jsx41(MenuSeparator2, {}),
4146
+ /* @__PURE__ */ jsx41(MenuItem2, {
4304
4147
  onClick: () => onAction("sign-out"),
4305
4148
  children: "Sign out"
4306
4149
  })
@@ -4311,7 +4154,7 @@ function AccountMenu2({ name, email, image, onAction, density }) {
4311
4154
  });
4312
4155
  }
4313
4156
  // src/components/StatCard.tsx
4314
- import { jsx as jsx43, jsxs as jsxs28 } from "react/jsx-runtime";
4157
+ import { jsx as jsx42, jsxs as jsxs27 } from "react/jsx-runtime";
4315
4158
  function StatCard2({
4316
4159
  label,
4317
4160
  value,
@@ -4322,40 +4165,40 @@ function StatCard2({
4322
4165
  loading = false,
4323
4166
  density
4324
4167
  }) {
4325
- return /* @__PURE__ */ jsxs28(Card2, {
4168
+ return /* @__PURE__ */ jsxs27(Card2, {
4326
4169
  density,
4327
4170
  "aria-label": label,
4328
4171
  "aria-busy": loading,
4329
4172
  children: [
4330
- /* @__PURE__ */ jsxs28(CardHeader2, {
4173
+ /* @__PURE__ */ jsxs27(CardHeader2, {
4331
4174
  children: [
4332
- /* @__PURE__ */ jsx43(CardTitle2, {
4175
+ /* @__PURE__ */ jsx42(CardTitle2, {
4333
4176
  children: label
4334
4177
  }),
4335
- description && /* @__PURE__ */ jsx43(CardDescription2, {
4178
+ description && /* @__PURE__ */ jsx42(CardDescription2, {
4336
4179
  children: description
4337
4180
  })
4338
4181
  ]
4339
4182
  }),
4340
- /* @__PURE__ */ jsx43(CardContent2, {
4341
- children: /* @__PURE__ */ jsxs28("div", {
4183
+ /* @__PURE__ */ jsx42(CardContent2, {
4184
+ children: /* @__PURE__ */ jsxs27("div", {
4342
4185
  className: "flex flex-wrap items-center justify-between gap-control-gap",
4343
4186
  children: [
4344
- loading ? /* @__PURE__ */ jsx43(Skeleton2, {
4187
+ loading ? /* @__PURE__ */ jsx42(Skeleton2, {
4345
4188
  className: "h-8 w-24",
4346
4189
  "aria-label": `Loading ${label}`
4347
- }) : /* @__PURE__ */ jsx43("div", {
4190
+ }) : /* @__PURE__ */ jsx42("div", {
4348
4191
  className: "text-2xl font-semibold tabular-nums",
4349
4192
  children: value
4350
4193
  }),
4351
- change && /* @__PURE__ */ jsx43(Badge2, {
4194
+ change && /* @__PURE__ */ jsx42(Badge2, {
4352
4195
  variant: changeIntent === "positive" ? "success" : changeIntent === "negative" ? "destructive" : "secondary",
4353
4196
  children: change
4354
4197
  })
4355
4198
  ]
4356
4199
  })
4357
4200
  }),
4358
- children && /* @__PURE__ */ jsx43(CardFooter2, {
4201
+ children && /* @__PURE__ */ jsx42(CardFooter2, {
4359
4202
  children
4360
4203
  })
4361
4204
  ]
@@ -4363,7 +4206,7 @@ function StatCard2({
4363
4206
  }
4364
4207
  // src/components/AuthForm.tsx
4365
4208
  import { useId as useId6, useState as useState7 } from "react";
4366
- import { jsx as jsx44, jsxs as jsxs29 } from "react/jsx-runtime";
4209
+ import { jsx as jsx43, jsxs as jsxs28 } from "react/jsx-runtime";
4367
4210
  function AuthForm2({
4368
4211
  mode = "sign-in",
4369
4212
  onSubmit,
@@ -4393,33 +4236,33 @@ function AuthForm2({
4393
4236
  setPending(false);
4394
4237
  }
4395
4238
  }
4396
- return /* @__PURE__ */ jsxs29(Card2, {
4239
+ return /* @__PURE__ */ jsxs28(Card2, {
4397
4240
  density,
4398
4241
  children: [
4399
- /* @__PURE__ */ jsxs29(CardHeader2, {
4242
+ /* @__PURE__ */ jsxs28(CardHeader2, {
4400
4243
  children: [
4401
- /* @__PURE__ */ jsx44(CardTitle2, {
4244
+ /* @__PURE__ */ jsx43(CardTitle2, {
4402
4245
  children: title
4403
4246
  }),
4404
- /* @__PURE__ */ jsx44(CardDescription2, {
4247
+ /* @__PURE__ */ jsx43(CardDescription2, {
4405
4248
  children: mode === "reset-password" ? "Enter your email to request a password reset." : "Enter your details to continue."
4406
4249
  })
4407
4250
  ]
4408
4251
  }),
4409
- /* @__PURE__ */ jsx44(CardContent2, {
4410
- children: /* @__PURE__ */ jsx44("form", {
4252
+ /* @__PURE__ */ jsx43(CardContent2, {
4253
+ children: /* @__PURE__ */ jsx43("form", {
4411
4254
  onSubmit: submit,
4412
4255
  "aria-label": title,
4413
4256
  "aria-busy": pending,
4414
- children: /* @__PURE__ */ jsxs29(FieldGroup2, {
4257
+ children: /* @__PURE__ */ jsxs28(FieldGroup2, {
4415
4258
  children: [
4416
- mode === "sign-up" && /* @__PURE__ */ jsxs29(Field2, {
4259
+ mode === "sign-up" && /* @__PURE__ */ jsxs28(Field2, {
4417
4260
  children: [
4418
- /* @__PURE__ */ jsx44(FieldLabel2, {
4261
+ /* @__PURE__ */ jsx43(FieldLabel2, {
4419
4262
  htmlFor: id + "-name",
4420
4263
  children: "Name"
4421
4264
  }),
4422
- /* @__PURE__ */ jsx44(Input2, {
4265
+ /* @__PURE__ */ jsx43(Input2, {
4423
4266
  id: id + "-name",
4424
4267
  name: "name",
4425
4268
  autoComplete: "name",
@@ -4428,13 +4271,13 @@ function AuthForm2({
4428
4271
  })
4429
4272
  ]
4430
4273
  }),
4431
- /* @__PURE__ */ jsxs29(Field2, {
4274
+ /* @__PURE__ */ jsxs28(Field2, {
4432
4275
  children: [
4433
- /* @__PURE__ */ jsx44(FieldLabel2, {
4276
+ /* @__PURE__ */ jsx43(FieldLabel2, {
4434
4277
  htmlFor: id + "-email",
4435
4278
  children: "Email"
4436
4279
  }),
4437
- /* @__PURE__ */ jsx44(Input2, {
4280
+ /* @__PURE__ */ jsx43(Input2, {
4438
4281
  id: id + "-email",
4439
4282
  name: "email",
4440
4283
  type: "email",
@@ -4444,13 +4287,13 @@ function AuthForm2({
4444
4287
  })
4445
4288
  ]
4446
4289
  }),
4447
- mode !== "reset-password" && /* @__PURE__ */ jsxs29(Field2, {
4290
+ mode !== "reset-password" && /* @__PURE__ */ jsxs28(Field2, {
4448
4291
  children: [
4449
- /* @__PURE__ */ jsx44(FieldLabel2, {
4292
+ /* @__PURE__ */ jsx43(FieldLabel2, {
4450
4293
  htmlFor: id + "-password",
4451
4294
  children: "Password"
4452
4295
  }),
4453
- /* @__PURE__ */ jsx44(Input2, {
4296
+ /* @__PURE__ */ jsx43(Input2, {
4454
4297
  id: id + "-password",
4455
4298
  name: "password",
4456
4299
  type: "password",
@@ -4459,27 +4302,27 @@ function AuthForm2({
4459
4302
  required: true,
4460
4303
  disabled: disabled || pending
4461
4304
  }),
4462
- mode === "sign-up" && /* @__PURE__ */ jsx44(FieldDescription2, {
4305
+ mode === "sign-up" && /* @__PURE__ */ jsx43(FieldDescription2, {
4463
4306
  children: "Use at least eight characters."
4464
4307
  })
4465
4308
  ]
4466
4309
  }),
4467
- error && /* @__PURE__ */ jsxs29(Alert2, {
4310
+ error && /* @__PURE__ */ jsxs28(Alert2, {
4468
4311
  variant: "destructive",
4469
4312
  children: [
4470
- /* @__PURE__ */ jsx44(AlertTitle2, {
4313
+ /* @__PURE__ */ jsx43(AlertTitle2, {
4471
4314
  children: "Request failed"
4472
4315
  }),
4473
- /* @__PURE__ */ jsx44(AlertDescription2, {
4316
+ /* @__PURE__ */ jsx43(AlertDescription2, {
4474
4317
  children: error
4475
4318
  })
4476
4319
  ]
4477
4320
  }),
4478
- /* @__PURE__ */ jsxs29(Button2, {
4321
+ /* @__PURE__ */ jsxs28(Button2, {
4479
4322
  type: "submit",
4480
4323
  disabled: disabled || pending,
4481
4324
  children: [
4482
- pending && /* @__PURE__ */ jsx44(Spinner2, {
4325
+ pending && /* @__PURE__ */ jsx43(Spinner2, {
4483
4326
  "data-icon": "inline-start"
4484
4327
  }),
4485
4328
  mode === "reset-password" ? "Send reset link" : title
@@ -4490,14 +4333,14 @@ function AuthForm2({
4490
4333
  })
4491
4334
  })
4492
4335
  }),
4493
- footer && /* @__PURE__ */ jsx44(CardFooter2, {
4336
+ footer && /* @__PURE__ */ jsx43(CardFooter2, {
4494
4337
  children: footer
4495
4338
  })
4496
4339
  ]
4497
4340
  });
4498
4341
  }
4499
4342
  // src/components/SettingsSection.tsx
4500
- import { jsx as jsx45, jsxs as jsxs30 } from "react/jsx-runtime";
4343
+ import { jsx as jsx44, jsxs as jsxs29 } from "react/jsx-runtime";
4501
4344
  function SettingsSection2({
4502
4345
  title,
4503
4346
  description,
@@ -4510,48 +4353,48 @@ function SettingsSection2({
4510
4353
  destructive = false,
4511
4354
  density
4512
4355
  }) {
4513
- return /* @__PURE__ */ jsx45("form", {
4356
+ return /* @__PURE__ */ jsx44("form", {
4514
4357
  "aria-label": title,
4515
4358
  onSubmit,
4516
4359
  "aria-busy": pending,
4517
- children: /* @__PURE__ */ jsxs30(Card2, {
4360
+ children: /* @__PURE__ */ jsxs29(Card2, {
4518
4361
  density,
4519
4362
  children: [
4520
- /* @__PURE__ */ jsxs30(CardHeader2, {
4363
+ /* @__PURE__ */ jsxs29(CardHeader2, {
4521
4364
  children: [
4522
- /* @__PURE__ */ jsx45(CardTitle2, {
4365
+ /* @__PURE__ */ jsx44(CardTitle2, {
4523
4366
  children: title
4524
4367
  }),
4525
- description && /* @__PURE__ */ jsx45(CardDescription2, {
4368
+ description && /* @__PURE__ */ jsx44(CardDescription2, {
4526
4369
  children: description
4527
4370
  })
4528
4371
  ]
4529
4372
  }),
4530
- /* @__PURE__ */ jsx45(CardContent2, {
4531
- children: /* @__PURE__ */ jsxs30("fieldset", {
4373
+ /* @__PURE__ */ jsx44(CardContent2, {
4374
+ children: /* @__PURE__ */ jsxs29("fieldset", {
4532
4375
  disabled: disabled || pending,
4533
4376
  className: "min-w-0 border-0 p-0",
4534
4377
  children: [
4535
- /* @__PURE__ */ jsx45("legend", {
4378
+ /* @__PURE__ */ jsx44("legend", {
4536
4379
  className: "sr-only",
4537
4380
  children: title
4538
4381
  }),
4539
- /* @__PURE__ */ jsx45(FieldGroup2, {
4382
+ /* @__PURE__ */ jsx44(FieldGroup2, {
4540
4383
  children
4541
4384
  })
4542
4385
  ]
4543
4386
  })
4544
4387
  }),
4545
- /* @__PURE__ */ jsxs30(CardFooter2, {
4388
+ /* @__PURE__ */ jsxs29(CardFooter2, {
4546
4389
  className: "flex flex-wrap items-center justify-between gap-control-gap",
4547
4390
  children: [
4548
4391
  footer,
4549
- /* @__PURE__ */ jsxs30(Button2, {
4392
+ /* @__PURE__ */ jsxs29(Button2, {
4550
4393
  type: "submit",
4551
4394
  variant: destructive ? "destructive" : "default",
4552
4395
  disabled: disabled || pending,
4553
4396
  children: [
4554
- pending && /* @__PURE__ */ jsx45(Spinner2, {
4397
+ pending && /* @__PURE__ */ jsx44(Spinner2, {
4555
4398
  "data-icon": "inline-start"
4556
4399
  }),
4557
4400
  saveLabel
@@ -4564,7 +4407,7 @@ function SettingsSection2({
4564
4407
  });
4565
4408
  }
4566
4409
  // src/components/TagInput.tsx
4567
- import { jsx as jsx46, jsxs as jsxs31 } from "react/jsx-runtime";
4410
+ import { jsx as jsx45, jsxs as jsxs30 } from "react/jsx-runtime";
4568
4411
  function TagInput2({
4569
4412
  label,
4570
4413
  options,
@@ -4577,7 +4420,7 @@ function TagInput2({
4577
4420
  density
4578
4421
  }) {
4579
4422
  const anchor = useComboboxAnchor2();
4580
- return /* @__PURE__ */ jsxs31(Combobox2, {
4423
+ return /* @__PURE__ */ jsxs30(Combobox2, {
4581
4424
  items: options,
4582
4425
  multiple: true,
4583
4426
  value,
@@ -4586,33 +4429,33 @@ function TagInput2({
4586
4429
  disabled,
4587
4430
  name,
4588
4431
  children: [
4589
- /* @__PURE__ */ jsxs31(ComboboxChips2, {
4432
+ /* @__PURE__ */ jsxs30(ComboboxChips2, {
4590
4433
  ref: anchor,
4591
4434
  density,
4592
4435
  children: [
4593
- /* @__PURE__ */ jsx46(ComboboxValue2, {
4594
- children: (values) => values.map((item) => /* @__PURE__ */ jsx46(ComboboxChip2, {
4436
+ /* @__PURE__ */ jsx45(ComboboxValue2, {
4437
+ children: (values) => values.map((item) => /* @__PURE__ */ jsx45(ComboboxChip2, {
4595
4438
  removeLabel: `Remove ${item}`,
4596
4439
  children: item
4597
4440
  }, item))
4598
4441
  }),
4599
- /* @__PURE__ */ jsx46(ComboboxChipsInput2, {
4442
+ /* @__PURE__ */ jsx45(ComboboxChipsInput2, {
4600
4443
  "aria-label": label,
4601
4444
  placeholder
4602
4445
  })
4603
4446
  ]
4604
4447
  }),
4605
- /* @__PURE__ */ jsxs31(ComboboxContent2, {
4448
+ /* @__PURE__ */ jsxs30(ComboboxContent2, {
4606
4449
  anchor,
4607
4450
  density,
4608
4451
  children: [
4609
- /* @__PURE__ */ jsx46(ComboboxEmpty2, {
4452
+ /* @__PURE__ */ jsx45(ComboboxEmpty2, {
4610
4453
  children: "No matching tags."
4611
4454
  }),
4612
- /* @__PURE__ */ jsx46(ComboboxList2, {
4613
- children: /* @__PURE__ */ jsx46(ComboboxGroup2, {
4614
- children: /* @__PURE__ */ jsx46(ComboboxCollection2, {
4615
- children: (item) => /* @__PURE__ */ jsx46(ComboboxItem2, {
4455
+ /* @__PURE__ */ jsx45(ComboboxList2, {
4456
+ children: /* @__PURE__ */ jsx45(ComboboxGroup2, {
4457
+ children: /* @__PURE__ */ jsx45(ComboboxCollection2, {
4458
+ children: (item) => /* @__PURE__ */ jsx45(ComboboxItem2, {
4616
4459
  value: item,
4617
4460
  children: item
4618
4461
  }, item)
@@ -4625,7 +4468,7 @@ function TagInput2({
4625
4468
  });
4626
4469
  }
4627
4470
  // src/components/FilterBar.tsx
4628
- import { jsx as jsx47, jsxs as jsxs32 } from "react/jsx-runtime";
4471
+ import { jsx as jsx46, jsxs as jsxs31 } from "react/jsx-runtime";
4629
4472
  function FilterBar2({
4630
4473
  label,
4631
4474
  search,
@@ -4636,26 +4479,26 @@ function FilterBar2({
4636
4479
  disabled,
4637
4480
  density
4638
4481
  }) {
4639
- return /* @__PURE__ */ jsxs32("fieldset", {
4482
+ return /* @__PURE__ */ jsxs31("fieldset", {
4640
4483
  "aria-label": label,
4641
4484
  disabled,
4642
4485
  "data-density": density,
4643
4486
  className: "flex min-w-0 flex-wrap items-center gap-2",
4644
4487
  children: [
4645
- /* @__PURE__ */ jsx47(Input2, {
4488
+ /* @__PURE__ */ jsx46(Input2, {
4646
4489
  "aria-label": `Search ${label}`,
4647
4490
  type: "search",
4648
4491
  value: search,
4649
4492
  onChange: (event) => onSearchChange(event.target.value),
4650
4493
  className: "min-w-40 flex-1"
4651
4494
  }),
4652
- filters.map((filter) => /* @__PURE__ */ jsx47(OptionSelect2, {
4495
+ filters.map((filter) => /* @__PURE__ */ jsx46(OptionSelect2, {
4653
4496
  "aria-label": filter.label,
4654
4497
  value: value[filter.id] ?? "",
4655
4498
  onValueChange: (next) => onValueChange({ ...value, [filter.id]: next }),
4656
4499
  options: [{ value: "", label: filter.allLabel ?? `All ${filter.label.toLowerCase()}` }, ...filter.options]
4657
4500
  }, filter.id)),
4658
- /* @__PURE__ */ jsx47(Button2, {
4501
+ /* @__PURE__ */ jsx46(Button2, {
4659
4502
  type: "button",
4660
4503
  variant: "ghost",
4661
4504
  disabled: !search && !Object.values(value).some(Boolean),
@@ -4669,7 +4512,7 @@ function FilterBar2({
4669
4512
  });
4670
4513
  }
4671
4514
  // src/components/BarList.tsx
4672
- import { jsx as jsx48, jsxs as jsxs33 } from "react/jsx-runtime";
4515
+ import { jsx as jsx47, jsxs as jsxs32 } from "react/jsx-runtime";
4673
4516
  function BarList2({
4674
4517
  label,
4675
4518
  items,
@@ -4678,14 +4521,14 @@ function BarList2({
4678
4521
  density
4679
4522
  }) {
4680
4523
  const max = Math.max(1, ...items.map((item) => item.value));
4681
- return /* @__PURE__ */ jsxs33("section", {
4524
+ return /* @__PURE__ */ jsxs32("section", {
4682
4525
  "aria-label": label,
4683
4526
  "data-density": density,
4684
4527
  children: [
4685
- /* @__PURE__ */ jsx48("ul", {
4528
+ /* @__PURE__ */ jsx47("ul", {
4686
4529
  className: "grid gap-3",
4687
- children: items.map((item) => /* @__PURE__ */ jsx48("li", {
4688
- children: /* @__PURE__ */ jsxs33(Meter2, {
4530
+ children: items.map((item) => /* @__PURE__ */ jsx47("li", {
4531
+ children: /* @__PURE__ */ jsxs32(Meter2, {
4689
4532
  min: 0,
4690
4533
  max,
4691
4534
  value: item.value,
@@ -4693,11 +4536,11 @@ function BarList2({
4693
4536
  format: { maximumFractionDigits: 2 },
4694
4537
  className: "gap-y-1",
4695
4538
  children: [
4696
- /* @__PURE__ */ jsxs33("div", {
4539
+ /* @__PURE__ */ jsxs32("div", {
4697
4540
  className: "flex w-full items-center justify-between gap-3 text-sm",
4698
4541
  children: [
4699
- /* @__PURE__ */ jsx48(MeterLabel2, {
4700
- children: onItemSelect ? /* @__PURE__ */ jsx48(Button2, {
4542
+ /* @__PURE__ */ jsx47(MeterLabel2, {
4543
+ children: onItemSelect ? /* @__PURE__ */ jsx47(Button2, {
4701
4544
  type: "button",
4702
4545
  variant: "link",
4703
4546
  className: "h-auto p-0",
@@ -4705,19 +4548,19 @@ function BarList2({
4705
4548
  children: item.label
4706
4549
  }) : item.label
4707
4550
  }),
4708
- /* @__PURE__ */ jsx48(MeterValue2, {
4551
+ /* @__PURE__ */ jsx47(MeterValue2, {
4709
4552
  children: () => valueFormatter(item.value)
4710
4553
  })
4711
4554
  ]
4712
4555
  }),
4713
- /* @__PURE__ */ jsx48(MeterTrack2, {
4714
- children: /* @__PURE__ */ jsx48(MeterIndicator2, {})
4556
+ /* @__PURE__ */ jsx47(MeterTrack2, {
4557
+ children: /* @__PURE__ */ jsx47(MeterIndicator2, {})
4715
4558
  })
4716
4559
  ]
4717
4560
  })
4718
4561
  }, item.id))
4719
4562
  }),
4720
- !items.length && /* @__PURE__ */ jsx48("p", {
4563
+ !items.length && /* @__PURE__ */ jsx47("p", {
4721
4564
  role: "status",
4722
4565
  className: "text-sm text-muted-foreground",
4723
4566
  children: "No data available."
@@ -4726,23 +4569,23 @@ function BarList2({
4726
4569
  });
4727
4570
  }
4728
4571
  // src/components/StatusTracker.tsx
4729
- import { jsx as jsx49, jsxs as jsxs34 } from "react/jsx-runtime";
4572
+ import { jsx as jsx48, jsxs as jsxs33 } from "react/jsx-runtime";
4730
4573
  var statusClasses = { success: "bg-success", warning: "bg-warning", error: "bg-destructive", unknown: "bg-muted" };
4731
4574
  function StatusTracker2({ label, items, onItemSelect, density }) {
4732
- return /* @__PURE__ */ jsx49(TooltipProvider2, {
4733
- children: /* @__PURE__ */ jsx49("div", {
4575
+ return /* @__PURE__ */ jsx48(TooltipProvider2, {
4576
+ children: /* @__PURE__ */ jsx48("div", {
4734
4577
  role: "group",
4735
4578
  "aria-label": label,
4736
4579
  "data-density": density,
4737
4580
  className: "flex min-w-0 gap-1",
4738
- children: items.map((item) => /* @__PURE__ */ jsxs34(Tooltip2, {
4581
+ children: items.map((item) => /* @__PURE__ */ jsxs33(Tooltip2, {
4739
4582
  children: [
4740
- /* @__PURE__ */ jsx49(TooltipTrigger2, {
4583
+ /* @__PURE__ */ jsx48(TooltipTrigger2, {
4741
4584
  "aria-label": `${item.label}: ${item.status}`,
4742
4585
  onClick: () => onItemSelect?.(item),
4743
4586
  className: cn2("h-8 min-w-2 flex-1 rounded-sm outline-none focus-visible:ring-2 focus-visible:ring-ring", statusClasses[item.status])
4744
4587
  }),
4745
- /* @__PURE__ */ jsxs34(TooltipContent2, {
4588
+ /* @__PURE__ */ jsxs33(TooltipContent2, {
4746
4589
  children: [
4747
4590
  item.label,
4748
4591
  ": ",
@@ -4755,7 +4598,7 @@ function StatusTracker2({ label, items, onItemSelect, density }) {
4755
4598
  });
4756
4599
  }
4757
4600
  // src/components/DashboardLayout.tsx
4758
- import { jsx as jsx50, jsxs as jsxs35 } from "react/jsx-runtime";
4601
+ import { jsx as jsx49, jsxs as jsxs34 } from "react/jsx-runtime";
4759
4602
  function DashboardLayout2({
4760
4603
  title,
4761
4604
  description,
@@ -4766,24 +4609,24 @@ function DashboardLayout2({
4766
4609
  footer,
4767
4610
  density
4768
4611
  }) {
4769
- return /* @__PURE__ */ jsxs35("div", {
4612
+ return /* @__PURE__ */ jsxs34("div", {
4770
4613
  "data-density": density,
4771
4614
  "data-scroll": "none",
4772
4615
  className: "grid min-w-0 gap-6",
4773
4616
  children: [
4774
- /* @__PURE__ */ jsx50(PageHeader2, {
4617
+ /* @__PURE__ */ jsx49(PageHeader2, {
4775
4618
  title,
4776
4619
  description,
4777
4620
  actions
4778
4621
  }),
4779
4622
  filters,
4780
- stats.length > 0 && /* @__PURE__ */ jsx50("div", {
4623
+ stats.length > 0 && /* @__PURE__ */ jsx49("div", {
4781
4624
  className: "grid gap-4 sm:grid-cols-2 xl:grid-cols-4",
4782
- children: stats.map(({ id, ...stat }) => /* @__PURE__ */ jsx50(StatCard2, {
4625
+ children: stats.map(({ id, ...stat }) => /* @__PURE__ */ jsx49(StatCard2, {
4783
4626
  ...stat
4784
4627
  }, id))
4785
4628
  }),
4786
- /* @__PURE__ */ jsx50("div", {
4629
+ /* @__PURE__ */ jsx49("div", {
4787
4630
  className: "grid min-w-0 gap-4",
4788
4631
  children
4789
4632
  }),
@@ -4792,18 +4635,18 @@ function DashboardLayout2({
4792
4635
  });
4793
4636
  }
4794
4637
  // src/components/BillingUsage.tsx
4795
- import { jsx as jsx51, jsxs as jsxs36 } from "react/jsx-runtime";
4638
+ import { jsx as jsx50, jsxs as jsxs35 } from "react/jsx-runtime";
4796
4639
  function BillingUsage2({ plan, price, period, metrics, onManage, pending, density }) {
4797
- return /* @__PURE__ */ jsxs36(Card2, {
4640
+ return /* @__PURE__ */ jsxs35(Card2, {
4798
4641
  density,
4799
4642
  "aria-label": "Billing and usage",
4800
4643
  children: [
4801
- /* @__PURE__ */ jsxs36(CardHeader2, {
4644
+ /* @__PURE__ */ jsxs35(CardHeader2, {
4802
4645
  children: [
4803
- /* @__PURE__ */ jsx51(CardTitle2, {
4646
+ /* @__PURE__ */ jsx50(CardTitle2, {
4804
4647
  children: plan
4805
4648
  }),
4806
- /* @__PURE__ */ jsxs36(CardDescription2, {
4649
+ /* @__PURE__ */ jsxs35(CardDescription2, {
4807
4650
  children: [
4808
4651
  price,
4809
4652
  " · ",
@@ -4812,32 +4655,32 @@ function BillingUsage2({ plan, price, period, metrics, onManage, pending, densit
4812
4655
  })
4813
4656
  ]
4814
4657
  }),
4815
- /* @__PURE__ */ jsx51(CardContent2, {
4658
+ /* @__PURE__ */ jsx50(CardContent2, {
4816
4659
  className: "grid gap-4",
4817
- children: metrics.map((metric) => /* @__PURE__ */ jsxs36(Meter2, {
4660
+ children: metrics.map((metric) => /* @__PURE__ */ jsxs35(Meter2, {
4818
4661
  value: metric.used,
4819
4662
  max: metric.limit,
4820
4663
  "aria-label": metric.label,
4821
4664
  children: [
4822
- /* @__PURE__ */ jsxs36("div", {
4665
+ /* @__PURE__ */ jsxs35("div", {
4823
4666
  className: "mb-2 flex items-center justify-between gap-3 text-sm",
4824
4667
  children: [
4825
- /* @__PURE__ */ jsx51(MeterLabel2, {
4668
+ /* @__PURE__ */ jsx50(MeterLabel2, {
4826
4669
  children: metric.label
4827
4670
  }),
4828
- /* @__PURE__ */ jsx51(MeterValue2, {
4671
+ /* @__PURE__ */ jsx50(MeterValue2, {
4829
4672
  children: () => `${metric.used.toLocaleString()} / ${metric.limit.toLocaleString()}${metric.unit ? ` ${metric.unit}` : ""}`
4830
4673
  })
4831
4674
  ]
4832
4675
  }),
4833
- /* @__PURE__ */ jsx51(MeterTrack2, {
4834
- children: /* @__PURE__ */ jsx51(MeterIndicator2, {})
4676
+ /* @__PURE__ */ jsx50(MeterTrack2, {
4677
+ children: /* @__PURE__ */ jsx50(MeterIndicator2, {})
4835
4678
  })
4836
4679
  ]
4837
4680
  }, metric.id))
4838
4681
  }),
4839
- /* @__PURE__ */ jsx51(CardFooter2, {
4840
- children: /* @__PURE__ */ jsx51(Button2, {
4682
+ /* @__PURE__ */ jsx50(CardFooter2, {
4683
+ children: /* @__PURE__ */ jsx50(Button2, {
4841
4684
  type: "button",
4842
4685
  variant: "outline",
4843
4686
  onClick: onManage,
@@ -4848,4 +4691,4 @@ function BillingUsage2({ plan, price, period, metrics, onManage, pending, densit
4848
4691
  ]
4849
4692
  });
4850
4693
  }
4851
- export { ButtonLink2, ContextMenu2, ContextMenuPortal2, ContextMenuTrigger2, ContextMenuContent2, ActionsMenu2, ActionsMenuTrigger2, ActionsMenuContextTarget2, ActionsMenuContextContent2, FormDialog2, Accordion2, AccordionItem2, AccordionTrigger2, AccordionContent2, OptionCardGroup2, OptionCard2, EmptyState3, PageMessage2, formatDataLabel2, DataViewer2, JsonViewer2, AlertDialog2, AlertDialogTrigger2, AlertDialogPortal2, AlertDialogOverlay2, AlertDialogContent2, AlertDialogHeader2, AlertDialogFooter2, AlertDialogMedia2, AlertDialogTitle2, AlertDialogDescription2, AlertDialogAction2, AlertDialogCancel2, DensityProvider2, collectLayoutViolations2, LayoutGuard2, ScrollGuard2, ThemeProvider2, AspectRatio2, Breadcrumb2, BreadcrumbList2, BreadcrumbItem2, BreadcrumbLink2, BreadcrumbPage2, BreadcrumbSeparator2, BreadcrumbEllipsis2, buttonGroupVariants2, ButtonGroup2, ButtonGroupText2, ButtonGroupSeparator2, ItemGroup2, ItemSeparator2, Item2, ItemMedia2, ItemContent2, ItemTitle2, ItemDescription2, ItemActions2, ItemHeader2, ItemFooter2, Pagination2, PaginationContent2, PaginationItem2, PaginationLink2, PaginationPrevious2, PaginationNext2, PaginationEllipsis2, Drawer2, DrawerTrigger2, DrawerPortal2, DrawerClose2, DrawerOverlay2, DrawerSwipeHandle2, DrawerContent2, DrawerHeader2, DrawerFooter2, DrawerTitle2, DrawerDescription2, Menubar2, MenubarMenu2, MenubarGroup2, MenubarPortal2, MenubarTrigger2, MenubarContent2, MenubarItem2, MenubarCheckboxItem2, MenubarRadioGroup2, MenubarRadioItem2, MenubarLabel2, MenubarSeparator2, MenubarShortcut2, MenubarSub2, MenubarSubTrigger2, MenubarSubContent2, NavigationMenu2, NavigationMenuList2, NavigationMenuItem2, navigationMenuTriggerStyle2, NavigationMenuTrigger2, NavigationMenuContent2, NavigationMenuPositioner2, NavigationMenuLink2, NavigationMenuIndicator2, ToastProvider2, ToastPortal2, ToastViewport2, Toast2, ToastContent2, ToastTitle2, ToastDescription2, ToastAction2, ToastClose2, ToastToaster2, createToastManager2, useToastManager2, markerVariants2, Marker2, MarkerIcon2, MarkerContent2, BubbleGroup2, Bubble2, BubbleContent2, BubbleReactions2, MessageGroup2, Message2, MessageAvatar2, MessageContent2, MessageHeader2, MessageFooter2, Attachment2, AttachmentMedia2, AttachmentContent2, AttachmentTitle2, AttachmentDescription2, AttachmentActions2, AttachmentAction2, AttachmentTrigger2, AttachmentGroup2, InlineEdit2, StarRating2, ReviewList2, ChoiceTable2, ConfirmationDialog2, ImagePicker2, Meter2, MeterLabel2, MeterValue2, MeterTrack2, MeterIndicator2, ToolbarToggleChip2, Stepper2, StepperList2, StepperTrigger2, StepperIndicator2, StepperContent2, AppShell2, Stack2, Grid2, GridItem2, Container2, Text2, Heading2, WeatherSummary2, WeatherForecast2, PageHeader2, PageIntro2, WorkspaceSwitcher2, AccountMenu2, StatCard2, AuthForm2, SettingsSection2, TagInput2, FilterBar2, BarList2, StatusTracker2, DashboardLayout2, BillingUsage2 };
4694
+ export { ButtonLink2, ContextMenu2, ContextMenuPortal2, ContextMenuTrigger2, ContextMenuContent2, ActionsMenu2, ActionsMenuTrigger2, ActionsMenuContextTarget2, ActionsMenuContextContent2, FormDialog2, Accordion2, AccordionItem2, AccordionTrigger2, AccordionContent2, OptionCardGroup2, OptionCard2, EmptyState3, PageMessage2, formatDataLabel2, DataViewer2, JsonViewer2, AlertDialog2, AlertDialogTrigger2, AlertDialogPortal2, AlertDialogOverlay2, AlertDialogContent2, AlertDialogHeader2, AlertDialogFooter2, AlertDialogMedia2, AlertDialogTitle2, AlertDialogDescription2, AlertDialogAction2, AlertDialogCancel2, DensityProvider2, collectLayoutViolations2, LayoutGuard2, ScrollGuard2, ThemeProvider2, AspectRatio2, Breadcrumb2, BreadcrumbList2, BreadcrumbItem2, BreadcrumbLink2, BreadcrumbPage2, BreadcrumbSeparator2, BreadcrumbEllipsis2, buttonGroupVariants2, ButtonGroup2, ButtonGroupText2, ButtonGroupSeparator2, ItemGroup2, ItemSeparator2, Item2, ItemMedia2, ItemContent2, ItemTitle2, ItemDescription2, ItemActions2, ItemHeader2, ItemFooter2, Pagination2, PaginationContent2, PaginationItem2, PaginationLink2, PaginationPrevious2, PaginationNext2, PaginationEllipsis2, Menubar2, MenubarMenu2, MenubarGroup2, MenubarPortal2, MenubarTrigger2, MenubarContent2, MenubarItem2, MenubarCheckboxItem2, MenubarRadioGroup2, MenubarRadioItem2, MenubarLabel2, MenubarSeparator2, MenubarShortcut2, MenubarSub2, MenubarSubTrigger2, MenubarSubContent2, NavigationMenu2, NavigationMenuList2, NavigationMenuItem2, navigationMenuTriggerStyle2, NavigationMenuTrigger2, NavigationMenuContent2, NavigationMenuPositioner2, NavigationMenuLink2, NavigationMenuIndicator2, ToastProvider2, ToastPortal2, ToastViewport2, Toast2, ToastContent2, ToastTitle2, ToastDescription2, ToastAction2, ToastClose2, ToastToaster2, createToastManager2, useToastManager2, markerVariants2, Marker2, MarkerIcon2, MarkerContent2, BubbleGroup2, Bubble2, BubbleContent2, BubbleReactions2, MessageGroup2, Message2, MessageAvatar2, MessageContent2, MessageHeader2, MessageFooter2, Attachment2, AttachmentMedia2, AttachmentContent2, AttachmentTitle2, AttachmentDescription2, AttachmentActions2, AttachmentAction2, AttachmentTrigger2, AttachmentGroup2, InlineEdit2, StarRating2, ReviewList2, ChoiceTable2, ConfirmationDialog2, ImagePicker2, Meter2, MeterLabel2, MeterValue2, MeterTrack2, MeterIndicator2, ToolbarToggleChip2, Stepper2, StepperList2, StepperTrigger2, StepperIndicator2, StepperContent2, AppShell2, Stack2, Grid2, GridItem2, Container2, Text2, Heading2, WeatherSummary2, WeatherForecast2, PageHeader2, PageIntro2, WorkspaceSwitcher2, AccountMenu2, StatCard2, AuthForm2, SettingsSection2, TagInput2, FilterBar2, BarList2, StatusTracker2, DashboardLayout2, BillingUsage2 };