@duro-app/ui 5.12.0 → 5.14.0

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.
Files changed (270) hide show
  1. package/README.md +49 -0
  2. package/dist/Table-DnaoH-h5.js +1806 -0
  3. package/dist/Table-DnaoH-h5.js.map +1 -0
  4. package/dist/components/AppShell/native.css.d.ts +53 -0
  5. package/dist/components/AppShell/native.css.d.ts.map +1 -0
  6. package/dist/components/Button/Button.d.ts.map +1 -1
  7. package/dist/components/ColorMode/ColorMode.d.ts +2 -1
  8. package/dist/components/ColorMode/ColorMode.d.ts.map +1 -1
  9. package/dist/components/ColorMode/storage.d.ts +4 -0
  10. package/dist/components/ColorMode/storage.d.ts.map +1 -0
  11. package/dist/components/ColorMode/styles.css.d.ts +4 -0
  12. package/dist/components/ColorMode/styles.css.d.ts.map +1 -1
  13. package/dist/components/ColorMode/useSystemScheme.d.ts +7 -0
  14. package/dist/components/ColorMode/useSystemScheme.d.ts.map +1 -0
  15. package/dist/components/Combobox/Combobox.d.ts +7 -2
  16. package/dist/components/Combobox/Combobox.d.ts.map +1 -1
  17. package/dist/components/Combobox/comboboxState.d.ts +29 -0
  18. package/dist/components/Combobox/comboboxState.d.ts.map +1 -0
  19. package/dist/components/Combobox/native.css.d.ts +27 -0
  20. package/dist/components/Combobox/native.css.d.ts.map +1 -0
  21. package/dist/components/Combobox/useComboboxRoot.d.ts +6 -10
  22. package/dist/components/Combobox/useComboboxRoot.d.ts.map +1 -1
  23. package/dist/components/Drawer/Drawer.d.ts +12 -37
  24. package/dist/components/Drawer/Drawer.d.ts.map +1 -1
  25. package/dist/components/Drawer/Drawer.meta.d.ts.map +1 -1
  26. package/dist/components/Drawer/DrawerScroll.stories.d.ts.map +1 -1
  27. package/dist/components/Drawer/DrawerSnap.stories.d.ts +22 -0
  28. package/dist/components/Drawer/DrawerSnap.stories.d.ts.map +1 -0
  29. package/dist/components/Drawer/native.css.d.ts +59 -0
  30. package/dist/components/Drawer/native.css.d.ts.map +1 -0
  31. package/dist/components/Drawer/parts.css.d.ts +96 -0
  32. package/dist/components/Drawer/parts.css.d.ts.map +1 -0
  33. package/dist/components/Drawer/parts.d.ts +56 -0
  34. package/dist/components/Drawer/parts.d.ts.map +1 -0
  35. package/dist/components/Drawer/sheetPhysics.d.ts +56 -0
  36. package/dist/components/Drawer/sheetPhysics.d.ts.map +1 -0
  37. package/dist/components/Drawer/styles.css.d.ts +16 -57
  38. package/dist/components/Drawer/styles.css.d.ts.map +1 -1
  39. package/dist/components/Drawer/touchInput.d.ts +35 -0
  40. package/dist/components/Drawer/touchInput.d.ts.map +1 -0
  41. package/dist/components/Drawer/useDrawerRoot.d.ts +33 -0
  42. package/dist/components/Drawer/useDrawerRoot.d.ts.map +1 -0
  43. package/dist/components/Drawer/useSheetHeights.d.ts +7 -0
  44. package/dist/components/Drawer/useSheetHeights.d.ts.map +1 -0
  45. package/dist/components/Drawer/useSwipeDismiss.d.ts +13 -2
  46. package/dist/components/Drawer/useSwipeDismiss.d.ts.map +1 -1
  47. package/dist/components/Form/FormSubmitContext.d.ts +8 -0
  48. package/dist/components/Form/FormSubmitContext.d.ts.map +1 -0
  49. package/dist/components/Listbox/native.css.d.ts +84 -0
  50. package/dist/components/Listbox/native.css.d.ts.map +1 -0
  51. package/dist/components/Menu/Menu.d.ts +7 -1
  52. package/dist/components/Menu/Menu.d.ts.map +1 -1
  53. package/dist/components/Menu/native.css.d.ts +14 -0
  54. package/dist/components/Menu/native.css.d.ts.map +1 -0
  55. package/dist/components/Menu/useMenuOpen.d.ts +16 -0
  56. package/dist/components/Menu/useMenuOpen.d.ts.map +1 -0
  57. package/dist/components/Menu/useMenuRoot.d.ts +3 -6
  58. package/dist/components/Menu/useMenuRoot.d.ts.map +1 -1
  59. package/dist/components/Popover/native.css.d.ts +11 -0
  60. package/dist/components/Popover/native.css.d.ts.map +1 -0
  61. package/dist/components/Select/Select.d.ts +9 -2
  62. package/dist/components/Select/Select.d.ts.map +1 -1
  63. package/dist/components/Select/Select.stories.d.ts +11 -0
  64. package/dist/components/Select/Select.stories.d.ts.map +1 -1
  65. package/dist/components/Select/native.css.d.ts +11 -0
  66. package/dist/components/Select/native.css.d.ts.map +1 -0
  67. package/dist/components/Select/selectState.d.ts +21 -0
  68. package/dist/components/Select/selectState.d.ts.map +1 -0
  69. package/dist/components/Select/styles.css.d.ts +10 -0
  70. package/dist/components/Select/styles.css.d.ts.map +1 -1
  71. package/dist/components/Select/useSelectRoot.d.ts +6 -8
  72. package/dist/components/Select/useSelectRoot.d.ts.map +1 -1
  73. package/dist/components/SideNav/Chevron.d.ts +4 -0
  74. package/dist/components/SideNav/Chevron.d.ts.map +1 -0
  75. package/dist/components/SideNav/SideNav.d.ts.map +1 -1
  76. package/dist/components/SideNav/styles.css.d.ts +6 -0
  77. package/dist/components/SideNav/styles.css.d.ts.map +1 -1
  78. package/dist/components/SideNav/types.d.ts +6 -0
  79. package/dist/components/SideNav/types.d.ts.map +1 -0
  80. package/dist/components/SplitPane/SplitPane.d.ts +38 -0
  81. package/dist/components/SplitPane/SplitPane.d.ts.map +1 -0
  82. package/dist/components/SplitPane/SplitPane.meta.d.ts +3 -0
  83. package/dist/components/SplitPane/SplitPane.meta.d.ts.map +1 -0
  84. package/dist/components/SplitPane/SplitPane.stories.d.ts +17 -0
  85. package/dist/components/SplitPane/SplitPane.stories.d.ts.map +1 -0
  86. package/dist/components/SplitPane/styles.css.d.ts +78 -0
  87. package/dist/components/SplitPane/styles.css.d.ts.map +1 -0
  88. package/dist/components/Tabs/TabLayout.d.ts +7 -0
  89. package/dist/components/Tabs/TabLayout.d.ts.map +1 -0
  90. package/dist/components/Tabs/Tabs.d.ts.map +1 -1
  91. package/dist/components/Tabs/indicator.d.ts +28 -0
  92. package/dist/components/Tabs/indicator.d.ts.map +1 -0
  93. package/dist/components/Tabs/styles.css.d.ts +4 -0
  94. package/dist/components/Tabs/styles.css.d.ts.map +1 -1
  95. package/dist/components/Tabs/useTabIndicator.d.ts +4 -0
  96. package/dist/components/Tabs/useTabIndicator.d.ts.map +1 -0
  97. package/dist/components/Tabs/useTabKeys.d.ts +13 -0
  98. package/dist/components/Tabs/useTabKeys.d.ts.map +1 -0
  99. package/dist/components/Tag/RemoveGlyph.d.ts +4 -0
  100. package/dist/components/Tag/RemoveGlyph.d.ts.map +1 -0
  101. package/dist/components/Tag/Tag.d.ts +2 -24
  102. package/dist/components/Tag/Tag.d.ts.map +1 -1
  103. package/dist/components/Tag/styles.css.d.ts +8 -0
  104. package/dist/components/Tag/styles.css.d.ts.map +1 -1
  105. package/dist/components/Tag/types.d.ts +39 -0
  106. package/dist/components/Tag/types.d.ts.map +1 -0
  107. package/dist/components/ThemeProvider/ThemeOverrides.stories.d.ts +13 -0
  108. package/dist/components/ThemeProvider/ThemeOverrides.stories.d.ts.map +1 -0
  109. package/dist/components/ThemeProvider/ThemeProvider.d.ts +9 -2
  110. package/dist/components/ThemeProvider/ThemeProvider.d.ts.map +1 -1
  111. package/dist/components/ThemeProvider/overrideRule.d.ts +7 -0
  112. package/dist/components/ThemeProvider/overrideRule.d.ts.map +1 -0
  113. package/dist/components/ThemeProvider/overrides.d.ts +16 -0
  114. package/dist/components/ThemeProvider/overrides.d.ts.map +1 -0
  115. package/dist/components/Toast/ToastProvider.d.ts +2 -21
  116. package/dist/components/Toast/ToastProvider.d.ts.map +1 -1
  117. package/dist/components/Toast/native.css.d.ts +81 -0
  118. package/dist/components/Toast/native.css.d.ts.map +1 -0
  119. package/dist/components/Toast/store.d.ts +47 -0
  120. package/dist/components/Toast/store.d.ts.map +1 -0
  121. package/dist/components/Tooltip/TooltipHint.d.ts +9 -0
  122. package/dist/components/Tooltip/TooltipHint.d.ts.map +1 -0
  123. package/dist/components/Tree/Tree.d.ts.map +1 -1
  124. package/dist/components/Tree/styles.css.d.ts +6 -0
  125. package/dist/components/Tree/styles.css.d.ts.map +1 -1
  126. package/dist/components/Tree/useTreeKeyboard.d.ts +19 -0
  127. package/dist/components/Tree/useTreeKeyboard.d.ts.map +1 -0
  128. package/dist/components/VirtualList/VirtualList.d.ts +33 -0
  129. package/dist/components/VirtualList/VirtualList.d.ts.map +1 -0
  130. package/dist/components/VirtualList/VirtualList.meta.d.ts +3 -0
  131. package/dist/components/VirtualList/VirtualList.meta.d.ts.map +1 -0
  132. package/dist/components/VirtualList/VirtualList.stories.d.ts +15 -0
  133. package/dist/components/VirtualList/VirtualList.stories.d.ts.map +1 -0
  134. package/dist/components/VirtualList/styles.css.d.ts +28 -0
  135. package/dist/components/VirtualList/styles.css.d.ts.map +1 -0
  136. package/dist/index.css +1 -1
  137. package/dist/index.d.ts +4 -2
  138. package/dist/index.d.ts.map +1 -1
  139. package/dist/index.js +5090 -4381
  140. package/dist/index.js.map +1 -1
  141. package/dist/shared/ButtonHost.d.ts +11 -0
  142. package/dist/shared/ButtonHost.d.ts.map +1 -0
  143. package/dist/shared/pressableChild.d.ts +14 -0
  144. package/dist/shared/pressableChild.d.ts.map +1 -0
  145. package/dist/shared/textOf.d.ts +7 -0
  146. package/dist/shared/textOf.d.ts.map +1 -0
  147. package/dist/table.js +1 -1
  148. package/package.json +3 -2
  149. package/src/components/AppShell/AppShell.meta.ts +1 -1
  150. package/src/components/AppShell/AppShell.native.tsx +174 -0
  151. package/src/components/AppShell/native.css.ts +56 -0
  152. package/src/components/Button/Button.tsx +15 -4
  153. package/src/components/ColorMode/ColorMode.meta.ts +1 -1
  154. package/src/components/ColorMode/ColorMode.tsx +16 -37
  155. package/src/components/ColorMode/storage.native.ts +8 -0
  156. package/src/components/ColorMode/storage.ts +19 -0
  157. package/src/components/ColorMode/styles.css.ts +6 -0
  158. package/src/components/ColorMode/useSystemScheme.native.ts +6 -0
  159. package/src/components/ColorMode/useSystemScheme.ts +19 -0
  160. package/src/components/Combobox/Combobox.meta.ts +1 -1
  161. package/src/components/Combobox/Combobox.native.tsx +295 -0
  162. package/src/components/Combobox/Combobox.tsx +14 -8
  163. package/src/components/Combobox/comboboxState.ts +107 -0
  164. package/src/components/Combobox/native.css.ts +33 -0
  165. package/src/components/Combobox/useComboboxRoot.ts +17 -91
  166. package/src/components/Drawer/Drawer.meta.ts +2 -1
  167. package/src/components/Drawer/Drawer.native.tsx +491 -0
  168. package/src/components/Drawer/Drawer.tsx +65 -143
  169. package/src/components/Drawer/DrawerScroll.stories.tsx +4 -54
  170. package/src/components/Drawer/DrawerSnap.stories.tsx +225 -0
  171. package/src/components/Drawer/native.css.ts +62 -0
  172. package/src/components/Drawer/parts.css.ts +125 -0
  173. package/src/components/Drawer/parts.tsx +110 -0
  174. package/src/components/Drawer/sheetPhysics.ts +103 -0
  175. package/src/components/Drawer/styles.css.ts +18 -73
  176. package/src/components/Drawer/touchInput.ts +81 -0
  177. package/src/components/Drawer/useDrawerRoot.ts +90 -0
  178. package/src/components/Drawer/useSheetHeights.ts +42 -0
  179. package/src/components/Drawer/useSwipeDismiss.ts +146 -23
  180. package/src/components/Form/Form.meta.ts +1 -1
  181. package/src/components/Form/Form.native.tsx +120 -0
  182. package/src/components/Form/FormSubmitContext.ts +12 -0
  183. package/src/components/Listbox/Listbox.meta.ts +1 -1
  184. package/src/components/Listbox/Listbox.native.tsx +153 -0
  185. package/src/components/Listbox/native.css.ts +91 -0
  186. package/src/components/Menu/Menu.meta.ts +1 -1
  187. package/src/components/Menu/Menu.native.tsx +268 -0
  188. package/src/components/Menu/Menu.tsx +11 -2
  189. package/src/components/Menu/native.css.ts +18 -0
  190. package/src/components/Menu/useMenuOpen.ts +33 -0
  191. package/src/components/Menu/useMenuRoot.ts +7 -26
  192. package/src/components/Popover/Popover.meta.ts +1 -1
  193. package/src/components/Popover/Popover.native.tsx +205 -0
  194. package/src/components/Popover/native.css.ts +13 -0
  195. package/src/components/ScrollArea/ScrollArea.meta.ts +1 -1
  196. package/src/components/ScrollArea/ScrollArea.native.tsx +61 -0
  197. package/src/components/Select/Select.meta.ts +1 -1
  198. package/src/components/Select/Select.native.tsx +224 -0
  199. package/src/components/Select/Select.stories.tsx +49 -1
  200. package/src/components/Select/Select.tsx +20 -3
  201. package/src/components/Select/native.css.ts +13 -0
  202. package/src/components/Select/selectState.ts +36 -0
  203. package/src/components/Select/styles.css.ts +11 -0
  204. package/src/components/Select/useSelectRoot.ts +9 -30
  205. package/src/components/SideNav/Chevron.native.tsx +20 -0
  206. package/src/components/SideNav/Chevron.tsx +20 -0
  207. package/src/components/SideNav/SideNav.meta.ts +1 -1
  208. package/src/components/SideNav/SideNav.tsx +57 -41
  209. package/src/components/SideNav/styles.css.ts +8 -0
  210. package/src/components/SideNav/types.ts +6 -0
  211. package/src/components/SplitPane/SplitPane.meta.ts +40 -0
  212. package/src/components/SplitPane/SplitPane.native.tsx +47 -0
  213. package/src/components/SplitPane/SplitPane.stories.tsx +148 -0
  214. package/src/components/SplitPane/SplitPane.tsx +218 -0
  215. package/src/components/SplitPane/styles.css.ts +81 -0
  216. package/src/components/Tabs/TabLayout.native.tsx +9 -0
  217. package/src/components/Tabs/TabLayout.tsx +6 -0
  218. package/src/components/Tabs/Tabs.meta.ts +1 -1
  219. package/src/components/Tabs/Tabs.tsx +38 -136
  220. package/src/components/Tabs/indicator.ts +36 -0
  221. package/src/components/Tabs/styles.css.ts +7 -0
  222. package/src/components/Tabs/useTabIndicator.native.ts +35 -0
  223. package/src/components/Tabs/useTabIndicator.ts +49 -0
  224. package/src/components/Tabs/useTabKeys.native.ts +2 -0
  225. package/src/components/Tabs/useTabKeys.ts +99 -0
  226. package/src/components/Tag/RemoveGlyph.native.tsx +17 -0
  227. package/src/components/Tag/RemoveGlyph.tsx +10 -0
  228. package/src/components/Tag/Tag.meta.ts +1 -1
  229. package/src/components/Tag/Tag.native.tsx +70 -0
  230. package/src/components/Tag/Tag.tsx +9 -37
  231. package/src/components/Tag/styles.css.ts +9 -0
  232. package/src/components/Tag/types.ts +43 -0
  233. package/src/components/ThemeProvider/ThemeOverrides.stories.tsx +113 -0
  234. package/src/components/ThemeProvider/ThemeProvider.meta.ts +1 -1
  235. package/src/components/ThemeProvider/ThemeProvider.native.tsx +36 -7
  236. package/src/components/ThemeProvider/ThemeProvider.tsx +42 -6
  237. package/src/components/ThemeProvider/overrideRule.ts +39 -0
  238. package/src/components/ThemeProvider/overrides.ts +27 -0
  239. package/src/components/Toast/Toast.meta.ts +1 -1
  240. package/src/components/Toast/ToastProvider.native.tsx +226 -0
  241. package/src/components/Toast/ToastProvider.tsx +22 -84
  242. package/src/components/Toast/native.css.ts +78 -0
  243. package/src/components/Toast/store.ts +96 -0
  244. package/src/components/Toggle/Toggle.tsx +3 -3
  245. package/src/components/Tooltip/Tooltip.meta.ts +1 -1
  246. package/src/components/Tooltip/Tooltip.native.tsx +36 -0
  247. package/src/components/Tooltip/TooltipHint.ts +13 -0
  248. package/src/components/Tree/Tree.meta.ts +1 -1
  249. package/src/components/Tree/Tree.tsx +23 -135
  250. package/src/components/Tree/styles.css.ts +6 -0
  251. package/src/components/Tree/useTreeKeyboard.native.ts +5 -0
  252. package/src/components/Tree/useTreeKeyboard.ts +152 -0
  253. package/src/components/VirtualList/VirtualList.meta.ts +39 -0
  254. package/src/components/VirtualList/VirtualList.stories.tsx +95 -0
  255. package/src/components/VirtualList/VirtualList.tsx +103 -0
  256. package/src/components/VirtualList/styles.css.ts +31 -0
  257. package/src/form.native.ts +7 -0
  258. package/src/hooks/useContainerBelow.native.ts +30 -0
  259. package/src/index.native.ts +48 -0
  260. package/src/index.ts +9 -1
  261. package/src/shared/ButtonHost.native.tsx +70 -0
  262. package/src/shared/ButtonHost.tsx +12 -0
  263. package/src/shared/focusInput.native.ts +18 -0
  264. package/src/shared/portal/AnchoredOverlay.native.tsx +117 -0
  265. package/src/shared/pressableChild.ts +33 -0
  266. package/src/shared/textOf.ts +13 -0
  267. package/src/shared/useKeyboardHeight.native.ts +18 -0
  268. package/src/shared/useScreenReaderEnabled.native.ts +19 -0
  269. package/dist/Table-ColfpgKV.js +0 -1552
  270. package/dist/Table-ColfpgKV.js.map +0 -1
@@ -0,0 +1,1806 @@
1
+ import { jsx as W, jsxs as ae, Fragment as Pe } from "react/jsx-runtime";
2
+ import { c as R, m as C, d as H } from "./compiler-runtime-BuugS4D0.js";
3
+ import { useContext as O, createContext as A, useId as U, useRef as I, useLayoutEffect as le, useState as ee, useCallback as we, useEffect as _, Children as ce, isValidElement as Ee } from "react";
4
+ import { createPortal as Oe } from "react-dom";
5
+ const Ge = {
6
+ xs: 4,
7
+ sm: 8,
8
+ ms: 12,
9
+ md: 16,
10
+ lg: 24,
11
+ xl: 32,
12
+ xxl: 48,
13
+ xxxl: 64
14
+ }, Hr = {
15
+ instant: 0,
16
+ minimal: 1,
17
+ quick: 120,
18
+ fast: 150,
19
+ brisk: 160,
20
+ base: 200,
21
+ slow: 280
22
+ }, De = ["touchTarget", "controlSm", "controlMd", "controlLg", "indicator", "indicatorDot", "checkMarkW", "checkMarkH", "switchTrackW", "switchTrackH", "switchThumb", "iconButton", "iconButtonSm", "spinnerSm", "spinnerMd", "spinnerLg", "glyphXs", "glyphSm", "glyphMd", "iconSm", "iconMd", "iconLg", "iconXl", "iconXxl", "thumbSm", "mediaTileMinW", "glyphClampMax", "timeReadoutW", "navMarkerW", "navMarkerH", "divider", "tabIndicator", "edgeFade", "scrollbar", "swatchW", "swatchH", "labelMinW", "popupMinW", "listMaxH", "listMaxHSm", "dialogSm", "dialogMd", "dialogLg", "panelSm", "panelMd", "panelLg", "toastMaxW", "gridColSm", "gridColMd", "pageSm", "pageMd", "pageLg", "sidebarW", "pageXs", "pageXl", "asideW", "gridColXs", "fieldMinWSm", "fieldMinW", "popoverWSm", "popoverW", "popupMaxW", "meterH", "skeletonChipW", "dropZoneMinH", "canvasMinH", "editorMinH", "toolbarH", "embedW", "colorPickerW", "colorAreaH", "colorTrackH", "colorSwatch", "colorPreviewH", "handle", "chip", "placeholderMinH", "previewMaxH", "barH", "sheetGrabberW", "sheetGrabberH", "readoutW", "sliderW", "paletteMinW", "deviceBarW", "timeGutterW", "dayHeaderH", "timelineLabelW", "appBarH", "dragThumbW", "dragThumbH"], Q = {
23
+ touchTarget: 44,
24
+ controlSm: 28,
25
+ controlMd: 39,
26
+ controlLg: 40,
27
+ indicator: 18,
28
+ indicatorDot: 8,
29
+ checkMarkW: 5,
30
+ checkMarkH: 9,
31
+ switchTrackW: 36,
32
+ switchTrackH: 20,
33
+ switchThumb: 16,
34
+ iconButton: 32,
35
+ iconButtonSm: 28,
36
+ spinnerSm: 16,
37
+ spinnerMd: 24,
38
+ spinnerLg: 40,
39
+ glyphXs: 10,
40
+ glyphSm: 12,
41
+ glyphMd: 16,
42
+ iconSm: 16,
43
+ iconMd: 18,
44
+ iconLg: 24,
45
+ iconXl: 36,
46
+ iconXxl: 48,
47
+ thumbSm: 40,
48
+ mediaTileMinW: 108,
49
+ glyphClampMax: 160,
50
+ timeReadoutW: 74,
51
+ navMarkerW: 3,
52
+ navMarkerH: 18,
53
+ divider: 1,
54
+ tabIndicator: 2,
55
+ edgeFade: 32,
56
+ scrollbar: 8,
57
+ swatchW: 44,
58
+ swatchH: 34,
59
+ labelMinW: 120,
60
+ popupMinW: 160,
61
+ listMaxH: 280,
62
+ listMaxHSm: 200,
63
+ dialogSm: 400,
64
+ dialogMd: 520,
65
+ dialogLg: 680,
66
+ panelSm: 360,
67
+ panelMd: 480,
68
+ panelLg: 640,
69
+ toastMaxW: 440,
70
+ gridColSm: 240,
71
+ gridColMd: 280,
72
+ pageSm: 600,
73
+ pageMd: 800,
74
+ pageLg: 1200,
75
+ sidebarW: 240,
76
+ pageXs: 480,
77
+ pageXl: 1440,
78
+ asideW: 320,
79
+ gridColXs: 200,
80
+ fieldMinWSm: 80,
81
+ fieldMinW: 160,
82
+ popoverWSm: 240,
83
+ popoverW: 320,
84
+ popupMaxW: 280,
85
+ meterH: 6,
86
+ skeletonChipW: 96,
87
+ dropZoneMinH: 128,
88
+ canvasMinH: 480,
89
+ editorMinH: 160,
90
+ toolbarH: 36,
91
+ embedW: 550,
92
+ colorPickerW: 196,
93
+ colorAreaH: 150,
94
+ colorTrackH: 12,
95
+ colorSwatch: 20,
96
+ colorPreviewH: 22,
97
+ handle: 16,
98
+ chip: 24,
99
+ placeholderMinH: 80,
100
+ previewMaxH: 320,
101
+ barH: 4,
102
+ sheetGrabberW: 40,
103
+ sheetGrabberH: 4,
104
+ readoutW: 40,
105
+ sliderW: 96,
106
+ paletteMinW: 96,
107
+ deviceBarW: 96,
108
+ timeGutterW: 64,
109
+ dayHeaderH: 46,
110
+ timelineLabelW: 180,
111
+ appBarH: 61,
112
+ dragThumbW: 132,
113
+ dragThumbH: 99
114
+ }, jr = {
115
+ sm: Q.iconSm,
116
+ md: Q.iconMd,
117
+ lg: Q.iconLg,
118
+ xl: Q.iconXl,
119
+ xxl: Q.iconXxl
120
+ }, Ae = {
121
+ bg: "var(--bg-xqkwqtp)",
122
+ bgCard: "var(--bgCard-xj2l5r)",
123
+ bgCardHover: "var(--bgCardHover-xlxk7vw)",
124
+ text: "var(--text-xlpbogt)",
125
+ textMuted: "var(--textMuted-x651nu9)",
126
+ accent: "var(--accent-xw7wp3v)",
127
+ accentHover: "var(--accentHover-x18fqoz)",
128
+ accentContrast: "var(--accentContrast-x3gzxyp)",
129
+ border: "var(--border-x1drj1pb)",
130
+ error: "var(--error-x13gdhh0)",
131
+ errorHover: "var(--errorHover-x7eyu03)",
132
+ errorBg: "var(--errorBg-xrl8836)",
133
+ errorBorder: "var(--errorBorder-x1a6pjl)",
134
+ errorText: "var(--errorText-xf51nwe)",
135
+ errorContrast: "var(--errorContrast-x1lvjkah)",
136
+ success: "var(--success-x197pe5n)",
137
+ successBg: "var(--successBg-xzjukav)",
138
+ successBorder: "var(--successBorder-x1my3ygc)",
139
+ successText: "var(--successText-x46dg9e)",
140
+ warning: "var(--warning-x1gq0pyw)",
141
+ warningBg: "var(--warningBg-xtnxqss)",
142
+ warningBorder: "var(--warningBorder-x1ev2mr5)",
143
+ warningText: "var(--warningText-x1lgjghx)",
144
+ info: "var(--info-x97ho0r)",
145
+ infoBg: "var(--infoBg-xho8jir)",
146
+ infoBorder: "var(--infoBorder-xnevk3x)",
147
+ infoText: "var(--infoText-x19pseus)",
148
+ highlight: "var(--highlight-x14yvf5c)",
149
+ highlightBg: "var(--highlightBg-x5qhmj2)",
150
+ highlightBorder: "var(--highlightBorder-xd7ycfq)",
151
+ highlightText: "var(--highlightText-x1lyse6a)",
152
+ scrim: "var(--scrim-x2ypej7)",
153
+ inverseFill: "var(--inverseFill-x1il694p)",
154
+ inverseFillHover: "var(--inverseFillHover-xmxqxj9)",
155
+ inverseBorder: "var(--inverseBorder-x1x0j0at)",
156
+ inverseBorderHover: "var(--inverseBorderHover-x12x46ev)",
157
+ fixedLight: "var(--fixedLight-xd608fw)",
158
+ fixedDark: "var(--fixedDark-xy1v4hq)",
159
+ overlayLight: "var(--overlayLight-x71omwc)",
160
+ contrastSurface: "var(--contrastSurface-x1i512m4)",
161
+ onContrastSurface: "var(--onContrastSurface-x1dm0pi1)",
162
+ contrastBorder: "var(--contrastBorder-x1g9he7g)",
163
+ bgInset: "var(--bgInset-x1985064)",
164
+ bgElevated: "var(--bgElevated-x5jb1ex)",
165
+ bgSelected: "var(--bgSelected-x1tz8xx4)",
166
+ pressOverlay: "var(--pressOverlay-xwcyaps)",
167
+ ripple: "var(--ripple-x4boxpx)",
168
+ bgSectionTint: "var(--bgSectionTint-x1jltjee)",
169
+ borderSubtle: "var(--borderSubtle-xazur3r)",
170
+ borderStrong: "var(--borderStrong-x1hk6q8z)",
171
+ surfaceHighlight: "var(--surfaceHighlight-xaxphpr)",
172
+ textSubtle: "var(--textSubtle-x1v06cot)",
173
+ textDisabled: "var(--textDisabled-x1h1b3kn)",
174
+ neutral: "var(--neutral-xomrn58)",
175
+ neutralBg: "var(--neutralBg-x19rt8v4)",
176
+ neutralBorder: "var(--neutralBorder-x5p3bn0)",
177
+ neutralText: "var(--neutralText-x1xjscs0)",
178
+ active: "var(--active-xs7lmjr)",
179
+ activeBg: "var(--activeBg-x35bva0)",
180
+ activeBorder: "var(--activeBorder-x16mx242)",
181
+ activeText: "var(--activeText-x1m8q3u3)",
182
+ accentDisabled: "var(--accentDisabled-x1u9f29m)",
183
+ segmentTrack: "var(--segmentTrack-x1bxdgyc)",
184
+ segmentActive: "var(--segmentActive-xiwz7t0)",
185
+ scrimSoft: "var(--scrimSoft-x1hszvdp)",
186
+ scrimStrong: "var(--scrimStrong-x1bj3i5v)",
187
+ onScrimMuted: "var(--onScrimMuted-xqxo091)",
188
+ __varGroupHash__: "xjvd03b"
189
+ };
190
+ /**
191
+ * @license react-strict-dom
192
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
193
+ *
194
+ * This source code is licensed under the MIT license found in the
195
+ * LICENSE file in the root directory of this source tree.
196
+ */
197
+ const be = {};
198
+ function Fe(o) {
199
+ process.env.NODE_ENV !== "test" && be[o] || (be[o] = !0, console.error(`[error] React Strict DOM: ${o}`));
200
+ }
201
+ const Xe = /* @__PURE__ */ new Set(["alt", "aria-activedescendant", "aria-atomic", "aria-autocomplete", "aria-busy", "aria-checked", "aria-colcount", "aria-colindex", "aria-colindextext", "aria-colspan", "aria-controls", "aria-current", "aria-describedby", "aria-details", "aria-disabled", "aria-errormessage", "aria-expanded", "aria-flowto", "aria-haspopup", "aria-hidden", "aria-invalid", "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-level", "aria-live", "aria-modal", "aria-multiline", "aria-multiselectable", "aria-orientation", "aria-owns", "aria-placeholder", "aria-posinset", "aria-pressed", "aria-readonly", "aria-required", "aria-roledescription", "aria-rowcount", "aria-rowindex", "aria-rowindextext", "aria-rowspan", "aria-selected", "aria-setsize", "aria-sort", "aria-valuemax", "aria-valuemin", "aria-valuenow", "aria-valuetext", "autoCapitalize", "autoComplete", "autoFocus", "checked", "children", "crossOrigin", "decoding", "defaultChecked", "defaultValue", "dir", "disabled", "download", "draggable", "elementTiming", "enterKeyHint", "fetchPriority", "for", "height", "hidden", "href", "id", "inert", "inputMode", "label", "lang", "loading", "max", "maxLength", "min", "minLength", "multiple", "name", "onAuxClick", "onBeforeInput", "onBlur", "onChange", "onClick", "onContextMenu", "onCopy", "onCut", "onError", "onFocus", "onFocusIn", "onFocusOut", "onFullscreenChange", "onFullscreenError", "onGotPointerCapture", "onInput", "onInvalid", "onKeyDown", "onKeyUp", "onLoad", "onLostPointerCapture", "onPaste", "onPointerCancel", "onPointerDown", "onPointerEnter", "onPointerLeave", "onPointerMove", "onPointerOut", "onPointerOver", "onPointerUp", "onScroll", "onSelect", "onSelectionChange", "onWheel", "placeholder", "readOnly", "referrerPolicy", "rel", "required", "role", "rows", "selected", "spellCheck", "src", "srcSet", "step", "style", "tabIndex", "target", "type", "value", "width", "suppressHydrationWarning", "onMouseDown", "onMouseEnter", "onMouseLeave", "onMouseMove", "onMouseOut", "onMouseOver", "onMouseUp", "onTouchCancel", "onTouchEnd", "onTouchMove", "onTouchStart"]);
202
+ function Ve(o) {
203
+ return Xe.has(o) || o.indexOf("data-") > -1;
204
+ }
205
+ var xe = {};
206
+ Object.defineProperty(xe, "__esModule", {
207
+ value: !0
208
+ });
209
+ var Me = xe.styleq = void 0, _e = /* @__PURE__ */ new WeakMap(), Ke = "$$css";
210
+ function Te(o) {
211
+ var e, t, r;
212
+ return o != null && (e = o.disableCache === !0, t = o.disableMix === !0, r = o.transform), function() {
213
+ for (var n = [], c = "", a = null, s = "", i = e ? null : _e, d = new Array(arguments.length), u = 0; u < arguments.length; u++)
214
+ d[u] = arguments[u];
215
+ for (; d.length > 0; ) {
216
+ var p = d.pop();
217
+ if (!(p == null || p === !1)) {
218
+ if (Array.isArray(p)) {
219
+ for (var x = 0; x < p.length; x++)
220
+ d.push(p[x]);
221
+ continue;
222
+ }
223
+ var h = r != null ? r(p) : p;
224
+ if (h.$$css != null) {
225
+ var g = "";
226
+ if (i != null && i.has(h)) {
227
+ var b = i.get(h);
228
+ b != null && (g = b[0], s = b[2], n.push.apply(n, b[1]), i = b[3]);
229
+ } else {
230
+ var f = [];
231
+ for (var m in h) {
232
+ var v = h[m];
233
+ if (m === Ke) {
234
+ var S = h[m];
235
+ S !== !0 && (s = s ? S + "; " + s : S);
236
+ continue;
237
+ }
238
+ typeof v == "string" || v === null ? n.includes(m) || (n.push(m), i != null && f.push(m), typeof v == "string" && (g += g ? " " + v : v)) : console.error("styleq: ".concat(m, " typeof ").concat(String(v), ' is not "string" or "null".'));
239
+ }
240
+ if (i != null) {
241
+ var $ = /* @__PURE__ */ new WeakMap();
242
+ i.set(h, [g, f, s, $]), i = $;
243
+ }
244
+ }
245
+ g && (c = c ? g + " " + c : g);
246
+ } else if (t)
247
+ a == null && (a = {}), a = Object.assign({}, h, a);
248
+ else {
249
+ var M = null;
250
+ for (var j in h) {
251
+ var z = h[j];
252
+ z !== void 0 && (n.includes(j) || (z != null && (a == null && (a = {}), M == null && (M = {}), M[j] = z), n.push(j), i = null));
253
+ }
254
+ M != null && (a = Object.assign(M, a));
255
+ }
256
+ }
257
+ }
258
+ var E = [c, a, s];
259
+ return E;
260
+ };
261
+ }
262
+ var Ne = Me = xe.styleq = Te();
263
+ Ne.factory = Te;
264
+ const Ye = Me.factory({
265
+ disableMix: !0
266
+ });
267
+ function Ze(...o) {
268
+ const [e, t, r] = Ye(o), l = {};
269
+ if (e != null && e !== "" && (l.className = e), t != null && (l.style = t), r != null && r !== "") {
270
+ const n = r.split(";"), c = {};
271
+ for (const a of n) {
272
+ const s = a.trim(), [i, d] = s.split(":");
273
+ d != null && (c[i] = c[i] != null ? `${c[i]},${d}` : d);
274
+ }
275
+ l["data-style-src"] = Object.keys(c).map((a) => `${a}:${c[a]}`).join("; ");
276
+ }
277
+ return l;
278
+ }
279
+ function Ue(o) {
280
+ Object.keys(o).forEach((e) => {
281
+ Ve(e) || (Fe(`invalid prop "${e}"`), delete o[e]);
282
+ });
283
+ }
284
+ function k(o, e) {
285
+ const t = {
286
+ $$css: !0,
287
+ "debug::name": `html-${o}`
288
+ };
289
+ function r({
290
+ ref: l,
291
+ ...n
292
+ }) {
293
+ const {
294
+ for: c,
295
+ style: a,
296
+ ...s
297
+ } = n, i = s;
298
+ Ue(i), c != null && (i.htmlFor = c), n.role != null && (i.role = n.role === "none" ? "presentation" : n.role), o === "button" ? i.type = i.type ? i.type : "button" : (o === "input" || o === "textarea") && (i.dir = i.dir ? i.dir : "auto");
299
+ const d = Ze([t, e, a]);
300
+ return W(o, {
301
+ ...i,
302
+ ...d,
303
+ ref: l
304
+ });
305
+ }
306
+ return r.displayName = `html.${o}`, r;
307
+ }
308
+ const w = {
309
+ block: {
310
+ "margin-kogj98": "margin-x1ghz6dp",
311
+ "padding-kmVPX3": "padding-x1717udv",
312
+ $$css: ".pnpm:web/index.js:226"
313
+ },
314
+ inline: {
315
+ "margin-kogj98": "margin-x1ghz6dp",
316
+ "padding-kmVPX3": "padding-x1717udv",
317
+ "textDecoration-kybGjl": "textDecoration-x1hl2dhg",
318
+ "textAlign-k9WMMc": "textAlign-x16tdsg8",
319
+ "wordWrap-kD5eJx": "wordWrap-x1vvkbs",
320
+ $$css: ".pnpm:web/index.js:230"
321
+ },
322
+ inlineblock: {
323
+ "borderStyle-ksu8eU": "borderStyle-x1y0btm7",
324
+ "margin-kogj98": "margin-x1ghz6dp",
325
+ "padding-kmVPX3": "padding-x1717udv",
326
+ $$css: ".pnpm:web/index.js:237"
327
+ },
328
+ button: {
329
+ "borderWidth-kMzoRj": "borderWidth-xmkeg23",
330
+ $$css: ".pnpm:web/index.js:242"
331
+ },
332
+ codePre: {
333
+ "fontFamily-kMv6JI": "fontFamily-x1lxnp44",
334
+ "fontSize-kGuDYH": "fontSize-xrv4cvt",
335
+ "overflow-kVQacm": "overflow-xysyzu8",
336
+ $$css: ".pnpm:web/index.js:245"
337
+ },
338
+ heading: {
339
+ "fontSize-kGuDYH": "fontSize-xngnso2",
340
+ "wordWrap-kD5eJx": "wordWrap-x1vvkbs",
341
+ $$css: ".pnpm:web/index.js:250"
342
+ },
343
+ hr: {
344
+ "backgroundColor-kWkggS": "backgroundColor-x42x0ya",
345
+ "borderStyle-ksu8eU": "borderStyle-xng3xce",
346
+ "borderWidth-kMzoRj": "borderWidth-xc342km",
347
+ "boxSizing-kB7OPa": "boxSizing-x9f619",
348
+ "height-kZKoxP": "height-xjm9jq1",
349
+ $$css: ".pnpm:web/index.js:254"
350
+ },
351
+ img: {
352
+ "aspectRatio-kOBAk4": "aspectRatio-xuw900x",
353
+ "height-kZKoxP": "height-xt7dq6l",
354
+ "maxWidth-ks0D6T": "maxWidth-x193iq5w",
355
+ $$css: ".pnpm:web/index.js:261"
356
+ },
357
+ input: {
358
+ "borderWidth-kMzoRj": "borderWidth-xmkeg23",
359
+ "borderStyle-ksu8eU": "borderStyle-x1y0btm7",
360
+ $$css: ".pnpm:web/index.js:266"
361
+ },
362
+ list: {
363
+ "listStyle-kB88ic": "listStyle-xe8uvvx",
364
+ $$css: ".pnpm:web/index.js:270"
365
+ },
366
+ strong: {
367
+ "fontWeight-k63SB2": "fontWeight-x117nqv4",
368
+ $$css: ".pnpm:web/index.js:273"
369
+ },
370
+ textarea: {
371
+ "borderWidth-kMzoRj": "borderWidth-xmkeg23",
372
+ "borderStyle-ksu8eU": "borderStyle-x1y0btm7",
373
+ "resize-kHenm0": "resize-x288g5",
374
+ $$css: ".pnpm:web/index.js:276"
375
+ }
376
+ }, Je = w.inline, Qe = w.block, et = w.block, tt = w.inline, ot = w.inline, rt = w.inline, nt = w.block, it = null, st = [w.inlineblock, w.button], at = [w.inline, w.codePre], lt = null, ct = w.block, dt = w.inline, ut = w.block, xt = w.block, pt = w.block, Z = [w.block, w.heading], gt = w.block, ht = [w.block, w.hr], mt = w.inline, bt = w.img, ft = [w.inlineblock, w.input], vt = null, kt = null, yt = w.inline, wt = w.block, Mt = w.block, Tt = w.inline, Wt = w.block, St = [w.list, w.block], $t = null, Ct = null, Ht = w.block, jt = [w.block, w.codePre], zt = null, Rt = w.block, Bt = w.inlineblock, Lt = w.inline, It = [w.inline, w.strong], qt = w.inline, Pt = w.inline, Et = [w.inlineblock, w.textarea], Ot = null, Gt = [w.list, w.block], y = {
377
+ a: Je,
378
+ article: Qe,
379
+ aside: et,
380
+ b: tt,
381
+ bdi: ot,
382
+ bdo: rt,
383
+ blockquote: nt,
384
+ br: it,
385
+ button: st,
386
+ code: at,
387
+ del: lt,
388
+ div: ct,
389
+ em: dt,
390
+ fieldset: ut,
391
+ footer: xt,
392
+ form: pt,
393
+ h1: Z,
394
+ h2: Z,
395
+ h3: Z,
396
+ h4: Z,
397
+ h5: Z,
398
+ h6: Z,
399
+ header: gt,
400
+ hr: ht,
401
+ i: mt,
402
+ img: bt,
403
+ input: ft,
404
+ ins: vt,
405
+ kbd: kt,
406
+ label: yt,
407
+ li: wt,
408
+ main: Mt,
409
+ mark: Tt,
410
+ nav: Wt,
411
+ ol: St,
412
+ optgroup: $t,
413
+ option: Ct,
414
+ p: Ht,
415
+ pre: jt,
416
+ s: zt,
417
+ section: Rt,
418
+ select: Bt,
419
+ span: Lt,
420
+ strong: It,
421
+ sub: qt,
422
+ sup: Pt,
423
+ textarea: Et,
424
+ u: Ot,
425
+ ul: Gt
426
+ }, Dt = k("a", y.a), At = k("article", y.article), Ft = k("aside", y.aside), Xt = k("b", y.b), Vt = k("bdi", y.bdi), _t = k("bdo", y.bdo), Kt = k("blockquote", y.blockquote), Nt = k("br", y.br), Yt = k("button", y.button), Zt = k("code", y.code), Ut = k("del", y.del), Jt = k("div", y.div), Qt = k("em", y.em), eo = k("fieldset", y.fieldset), to = k("footer", y.footer), oo = k("form", y.form), ro = k("h1", y.h1), no = k("h2", y.h2), io = k("h3", y.h3), so = k("h4", y.h4), ao = k("h5", y.h5), lo = k("h6", y.h6), co = k("header", y.header), uo = k("hr", y.hr), xo = k("i", y.i), po = k("img", y.img), go = k("input", y.input), ho = k("ins", y.ins), mo = k("kbd", y.kbd), bo = k("label", y.label), fo = k("li", y.li), vo = k("main", y.main), ko = k("mark", y.mark), yo = k("nav", y.nav), wo = k("ol", y.ol), Mo = k("optgroup", y.optgroup), To = k("option", y.option), Wo = k("p", y.p), So = k("pre", y.pre), $o = k("s", y.s), Co = k("section", y.section), Ho = k("select", y.select), jo = k("span", y.span), zo = k("strong", y.strong), Ro = k("sub", y.sub), Bo = k("sup", y.sup), Lo = k("textarea", y.textarea), Io = k("u", y.u), qo = k("ul", y.ul);
427
+ var Po = /* @__PURE__ */ Object.freeze({
428
+ __proto__: null,
429
+ a: Dt,
430
+ article: At,
431
+ aside: Ft,
432
+ b: Xt,
433
+ bdi: Vt,
434
+ bdo: _t,
435
+ blockquote: Kt,
436
+ br: Nt,
437
+ button: Yt,
438
+ code: Zt,
439
+ del: Ut,
440
+ div: Jt,
441
+ em: Qt,
442
+ fieldset: eo,
443
+ footer: to,
444
+ form: oo,
445
+ h1: ro,
446
+ h2: no,
447
+ h3: io,
448
+ h4: so,
449
+ h5: ao,
450
+ h6: lo,
451
+ header: co,
452
+ hr: uo,
453
+ i: xo,
454
+ img: po,
455
+ input: go,
456
+ ins: ho,
457
+ kbd: mo,
458
+ label: bo,
459
+ li: fo,
460
+ main: vo,
461
+ mark: ko,
462
+ nav: yo,
463
+ ol: wo,
464
+ optgroup: Mo,
465
+ option: To,
466
+ p: Wo,
467
+ pre: So,
468
+ s: $o,
469
+ section: Co,
470
+ select: Ho,
471
+ span: jo,
472
+ strong: zo,
473
+ sub: Ro,
474
+ sup: Bo,
475
+ textarea: Lo,
476
+ u: Io,
477
+ ul: qo
478
+ });
479
+ const We = A(null);
480
+ function Eo() {
481
+ return O(We);
482
+ }
483
+ const Se = A(null);
484
+ function Oo() {
485
+ return O(Se);
486
+ }
487
+ const K = {
488
+ item: {
489
+ "position-kVAEAm": "position-x1n2onr6",
490
+ "zIndex-kY2c9j": "zIndex-x1lhispz",
491
+ $$css: "ButtonGroup/attached.css.ts:14"
492
+ },
493
+ horizontalFirst: {
494
+ "borderTopRightRadius-ksF3WI": "borderTopRightRadius-x1a2w583",
495
+ "borderBottomRightRadius-kYm2EN": "borderBottomRightRadius-xjppbhk",
496
+ $$css: "ButtonGroup/attached.css.ts:18"
497
+ },
498
+ horizontalMiddle: {
499
+ "borderRadius-kaIpWk": "borderRadius-x2u8bby",
500
+ "marginLeft-koQZXg": "marginLeft-x1804tp4",
501
+ $$css: "ButtonGroup/attached.css.ts:22"
502
+ },
503
+ horizontalLast: {
504
+ "borderTopLeftRadius-kIxVMA": "borderTopLeftRadius-x1ia1hqs",
505
+ "borderBottomLeftRadius-kqGeR4": "borderBottomLeftRadius-xfrllxf",
506
+ "marginLeft-koQZXg": "marginLeft-x1804tp4",
507
+ $$css: "ButtonGroup/attached.css.ts:26"
508
+ },
509
+ verticalFirst: {
510
+ "borderBottomLeftRadius-kqGeR4": "borderBottomLeftRadius-xfrllxf",
511
+ "borderBottomRightRadius-kYm2EN": "borderBottomRightRadius-xjppbhk",
512
+ $$css: "ButtonGroup/attached.css.ts:31"
513
+ },
514
+ verticalMiddle: {
515
+ "borderRadius-kaIpWk": "borderRadius-x2u8bby",
516
+ "marginTop-keoZOQ": "marginTop-xn1ib9x",
517
+ $$css: "ButtonGroup/attached.css.ts:35"
518
+ },
519
+ verticalLast: {
520
+ "borderTopLeftRadius-kIxVMA": "borderTopLeftRadius-x1ia1hqs",
521
+ "borderTopRightRadius-ksF3WI": "borderTopRightRadius-x1a2w583",
522
+ "marginTop-keoZOQ": "marginTop-xn1ib9x",
523
+ $$css: "ButtonGroup/attached.css.ts:39"
524
+ }
525
+ }, Go = {
526
+ horizontal: {
527
+ first: K.horizontalFirst,
528
+ middle: K.horizontalMiddle,
529
+ last: K.horizontalLast,
530
+ only: null
531
+ },
532
+ vertical: {
533
+ first: K.verticalFirst,
534
+ middle: K.verticalMiddle,
535
+ last: K.verticalLast,
536
+ only: null
537
+ }
538
+ };
539
+ function Do(o) {
540
+ const e = R.c(26);
541
+ let t;
542
+ e[0] !== o ? (t = o === void 0 ? {} : o, e[0] = o, e[1] = t) : t = e[1];
543
+ const {
544
+ disabled: r
545
+ } = t, l = r === void 0 ? !1 : r, n = U(), c = I(null), a = Oo(), s = Eo(), i = a?.register, d = s?.register;
546
+ let u, p;
547
+ e[2] !== l || e[3] !== i || e[4] !== n || e[5] !== d ? (u = () => {
548
+ const $ = c.current;
549
+ if (!$)
550
+ return;
551
+ const M = i?.(n, $, l), j = d?.(n, $, l);
552
+ return () => {
553
+ M?.(), j?.();
554
+ };
555
+ }, p = [n, l, i, d], e[2] = l, e[3] = i, e[4] = n, e[5] = d, e[6] = u, e[7] = p) : (u = e[6], p = e[7]), le(u, p);
556
+ let x;
557
+ e[8] !== a || e[9] !== n ? (x = a ? a.positionOf(n) : null, e[8] = a, e[9] = n, e[10] = x) : x = e[10];
558
+ const h = x;
559
+ let g;
560
+ e[11] !== a || e[12] !== h ? (g = a && h ? [K.item, Go[a.orientation][h]] : null, e[11] = a, e[12] = h, e[13] = g) : g = e[13];
561
+ const b = g, f = a !== null;
562
+ let m;
563
+ e[14] !== n || e[15] !== s ? (m = s?.tabIndexOf(n), e[14] = n, e[15] = s, e[16] = m) : m = e[16];
564
+ let v;
565
+ e[17] !== n || e[18] !== s ? (v = s ? () => s.onItemFocus(n) : void 0, e[17] = n, e[18] = s, e[19] = v) : v = e[19];
566
+ let S;
567
+ return e[20] !== h || e[21] !== b || e[22] !== f || e[23] !== m || e[24] !== v ? (S = {
568
+ ref: c,
569
+ attached: f,
570
+ position: h,
571
+ style: b,
572
+ tabIndex: m,
573
+ onFocus: v
574
+ }, e[20] = h, e[21] = b, e[22] = f, e[23] = m, e[24] = v, e[25] = S) : S = e[25], S;
575
+ }
576
+ const Ao = {
577
+ xjvd03b: "xoev3oz xjvd03b",
578
+ $$css: !0
579
+ }, Fo = {
580
+ x13v825q: "x1jk1o70 x13v825q",
581
+ $$css: !0
582
+ }, Xo = {
583
+ xjvd03b: "x1ud4188 xjvd03b",
584
+ $$css: !0
585
+ }, Vo = {
586
+ x13v825q: "xc8o4hb x13v825q",
587
+ $$css: !0
588
+ }, fe = A({
589
+ theme: null,
590
+ colors: {}
591
+ });
592
+ function _o(o, e, t) {
593
+ const r = o.theme === e ? o.colors : {};
594
+ return {
595
+ theme: e,
596
+ colors: t ? {
597
+ ...r,
598
+ ...t
599
+ } : r
600
+ };
601
+ }
602
+ function Ko(o) {
603
+ return /[;{}<>"'\\]/.test(o) ? !1 : /^#[0-9a-f]{3,8}$/i.test(o) || /^(rgba?|hsla?|hwb|lab|lch|oklab|oklch|color)\([^()]*\)$/i.test(o) || /^[a-z]+$/i.test(o);
604
+ }
605
+ function No(o, e, t) {
606
+ const r = Object.entries(e).flatMap(([n, c]) => {
607
+ const a = t(n);
608
+ return a && typeof c == "string" && Ko(c) ? [`${a}: ${c};`] : [];
609
+ });
610
+ if (r.length === 0) return null;
611
+ const l = `[data-duro-theme="${o}"]`;
612
+ return `${l}${l} { ${r.join(" ")} }`;
613
+ }
614
+ const Yo = {
615
+ light: [Ao, Fo],
616
+ "high-contrast": [Xo, Vo]
617
+ }, ve = {
618
+ root: {
619
+ "display-k1xSpc": "display-xjp7ctv",
620
+ "color-kMwMTN": "color-x95150z",
621
+ $$css: "ThemeProvider/ThemeProvider.tsx:31"
622
+ },
623
+ portalMount: {
624
+ "position-kVAEAm": "position-xixxii4",
625
+ "top-k87sOh": "top-x13vifvy",
626
+ "left-kbCHJM": "left-xu96u03",
627
+ "right-kCIrl2": "right-x3m8u43",
628
+ "bottom-krVfgx": "bottom-x1ey2m1c",
629
+ "pointerEvents-kfzvcC": "pointerEvents-x47corl",
630
+ "zIndex-kY2c9j": "zIndex-x3z26px",
631
+ $$css: "ThemeProvider/ThemeProvider.tsx:39"
632
+ }
633
+ }, $e = A(null);
634
+ function Zo() {
635
+ return O($e);
636
+ }
637
+ function Uo(o) {
638
+ const e = String(Ae[o] ?? ""), t = /^var\((--[\w-]+)\)$/.exec(e);
639
+ return t ? t[1] : null;
640
+ }
641
+ function zr(o) {
642
+ const e = R.c(25), {
643
+ theme: t,
644
+ overrides: r,
645
+ children: l
646
+ } = o, n = t === void 0 ? "dark" : t, c = Yo[n], a = c?.[0], s = c?.[1];
647
+ let i;
648
+ e[0] !== a || e[1] !== s ? (i = [a, s, ve.root], e[0] = a, e[1] = s, e[2] = i) : i = e[2];
649
+ const d = i, [u, p] = ee(null), x = U(), h = O(fe);
650
+ let g;
651
+ e[3] !== h || e[4] !== r || e[5] !== n ? (g = _o(h, n, r), e[3] = h, e[4] = r, e[5] = n, e[6] = g) : g = e[6];
652
+ const b = g;
653
+ let f;
654
+ e[7] !== b.colors || e[8] !== x ? (f = Object.keys(b.colors).length > 0 ? No(x, b.colors, Uo) : null, e[7] = b.colors, e[8] = x, e[9] = f) : f = e[9];
655
+ const m = f, v = m ? x : void 0;
656
+ let S;
657
+ e[10] !== m ? (S = m ? /* @__PURE__ */ W("style", { children: m }) : null, e[10] = m, e[11] = S) : S = e[11];
658
+ let $;
659
+ e[12] !== l || e[13] !== u ? ($ = /* @__PURE__ */ W($e.Provider, { value: u, children: l }), e[12] = l, e[13] = u, e[14] = $) : $ = e[14];
660
+ let M;
661
+ e[15] !== b || e[16] !== $ ? (M = /* @__PURE__ */ W(fe.Provider, { value: b, children: $ }), e[15] = b, e[16] = $, e[17] = M) : M = e[17];
662
+ let j;
663
+ e[18] === Symbol.for("react.memo_cache_sentinel") ? (j = /* @__PURE__ */ W("div", { "data-element-src": "ThemeProvider/ThemeProvider.tsx:96", ref: p, "data-portal-mount": !0, ...C(H.div, ve.portalMount) }), e[18] = j) : j = e[18];
664
+ let z;
665
+ return e[19] !== d || e[20] !== M || e[21] !== v || e[22] !== S || e[23] !== n ? (z = /* @__PURE__ */ ae("div", { "data-element-src": "ThemeProvider/ThemeProvider.tsx:88", "data-theme": n, "data-duro-theme": v, ...C(H.div, d), children: [
666
+ S,
667
+ M,
668
+ j
669
+ ] }), e[19] = d, e[20] = M, e[21] = v, e[22] = S, e[23] = n, e[24] = z) : z = e[24], z;
670
+ }
671
+ function Jo(o) {
672
+ const e = R.c(2), {
673
+ children: t
674
+ } = o;
675
+ let r;
676
+ return e[0] !== t ? (r = /* @__PURE__ */ W(Se.Provider, { value: null, children: /* @__PURE__ */ W(We.Provider, { value: null, children: t }) }), e[0] = t, e[1] = r) : r = e[1], r;
677
+ }
678
+ function Ce(o) {
679
+ return o.button === 0 && !o.metaKey && !o.ctrlKey && !o.shiftKey && !o.altKey && !o.defaultPrevented;
680
+ }
681
+ function Rr(o, e, t) {
682
+ if (e)
683
+ return (r) => {
684
+ t != null || !Ce(r) || e(o, r);
685
+ };
686
+ }
687
+ const Br = {
688
+ xs: 480,
689
+ sm: 640,
690
+ md: 768,
691
+ lg: 1024,
692
+ xl: 1280
693
+ }, He = {
694
+ touchTarget: "var(--touchTarget-x1u5badx)",
695
+ controlSm: "var(--controlSm-x6ymn93)",
696
+ controlMd: "var(--controlMd-xkvaeme)",
697
+ controlLg: "var(--controlLg-xf3drh3)",
698
+ indicator: "var(--indicator-xce456j)",
699
+ indicatorDot: "var(--indicatorDot-xqflvbi)",
700
+ checkMarkW: "var(--checkMarkW-xvyirw7)",
701
+ checkMarkH: "var(--checkMarkH-xz3lx6u)",
702
+ switchTrackW: "var(--switchTrackW-xcah3tt)",
703
+ switchTrackH: "var(--switchTrackH-x1h3icne)",
704
+ switchThumb: "var(--switchThumb-x6qupft)",
705
+ iconButton: "var(--iconButton-x16lr7a8)",
706
+ iconButtonSm: "var(--iconButtonSm-xtjgrhy)",
707
+ spinnerSm: "var(--spinnerSm-xoj3xel)",
708
+ spinnerMd: "var(--spinnerMd-x11a4rba)",
709
+ spinnerLg: "var(--spinnerLg-x1lgp9p9)",
710
+ glyphXs: "var(--glyphXs-x7xktls)",
711
+ glyphSm: "var(--glyphSm-x17geiot)",
712
+ glyphMd: "var(--glyphMd-x1hz0jso)",
713
+ iconSm: "var(--iconSm-x1k4bwrj)",
714
+ iconMd: "var(--iconMd-x1oru5hg)",
715
+ iconLg: "var(--iconLg-x1lsumnr)",
716
+ iconXl: "var(--iconXl-x7w40q9)",
717
+ iconXxl: "var(--iconXxl-xij55jf)",
718
+ thumbSm: "var(--thumbSm-x1t1g9ky)",
719
+ mediaTileMinW: "var(--mediaTileMinW-x1pavouy)",
720
+ glyphClampMax: "var(--glyphClampMax-x3c2ety)",
721
+ timeReadoutW: "var(--timeReadoutW-x4630c6)",
722
+ navMarkerW: "var(--navMarkerW-x1swbkx4)",
723
+ navMarkerH: "var(--navMarkerH-xlc6r7a)",
724
+ divider: "var(--divider-x34oj7m)",
725
+ tabIndicator: "var(--tabIndicator-xeswvk3)",
726
+ edgeFade: "var(--edgeFade-x1a8srg4)",
727
+ scrollbar: "var(--scrollbar-xppi9bb)",
728
+ swatchW: "var(--swatchW-x14v7170)",
729
+ swatchH: "var(--swatchH-x5k3223)",
730
+ labelMinW: "var(--labelMinW-x1tnvsg3)",
731
+ popupMinW: "var(--popupMinW-xzyp04)",
732
+ listMaxH: "var(--listMaxH-x1g3bmh3)",
733
+ listMaxHSm: "var(--listMaxHSm-xhny4oa)",
734
+ dialogSm: "var(--dialogSm-x16fibl1)",
735
+ dialogMd: "var(--dialogMd-x1yjoj5l)",
736
+ dialogLg: "var(--dialogLg-xsd9wl3)",
737
+ panelSm: "var(--panelSm-x1ng1dcv)",
738
+ panelMd: "var(--panelMd-x11x23mn)",
739
+ panelLg: "var(--panelLg-x19cpfjm)",
740
+ toastMaxW: "var(--toastMaxW-x1po6n0z)",
741
+ gridColSm: "var(--gridColSm-xzwpy92)",
742
+ gridColMd: "var(--gridColMd-x1cjqdt9)",
743
+ pageSm: "var(--pageSm-x5j4ghi)",
744
+ pageMd: "var(--pageMd-xloo57l)",
745
+ pageLg: "var(--pageLg-x393fnm)",
746
+ sidebarW: "var(--sidebarW-x16fh60r)",
747
+ pageXs: "var(--pageXs-xkx7b2k)",
748
+ pageXl: "var(--pageXl-xe1y5wy)",
749
+ asideW: "var(--asideW-x1sefzvd)",
750
+ gridColXs: "var(--gridColXs-x1uralsc)",
751
+ fieldMinWSm: "var(--fieldMinWSm-x17qqf6g)",
752
+ fieldMinW: "var(--fieldMinW-x3410dk)",
753
+ popoverWSm: "var(--popoverWSm-x17g62mi)",
754
+ popoverW: "var(--popoverW-xf1f07)",
755
+ popupMaxW: "var(--popupMaxW-x16p43ce)",
756
+ meterH: "var(--meterH-x5xauib)",
757
+ skeletonChipW: "var(--skeletonChipW-xmw24hn)",
758
+ dropZoneMinH: "var(--dropZoneMinH-x9asgie)",
759
+ canvasMinH: "var(--canvasMinH-xpv99dk)",
760
+ editorMinH: "var(--editorMinH-x7umtuv)",
761
+ toolbarH: "var(--toolbarH-x16tj5lc)",
762
+ embedW: "var(--embedW-x1jprk4i)",
763
+ colorPickerW: "var(--colorPickerW-xafjozf)",
764
+ colorAreaH: "var(--colorAreaH-xn4he4)",
765
+ colorTrackH: "var(--colorTrackH-x1ixtmdy)",
766
+ colorSwatch: "var(--colorSwatch-xr73m8p)",
767
+ colorPreviewH: "var(--colorPreviewH-x1by70nu)",
768
+ handle: "var(--handle-xt9m584)",
769
+ chip: "var(--chip-xofdvjg)",
770
+ placeholderMinH: "var(--placeholderMinH-xy0p02w)",
771
+ previewMaxH: "var(--previewMaxH-x1phh3ob)",
772
+ barH: "var(--barH-x1oc8exn)",
773
+ sheetGrabberW: "var(--sheetGrabberW-xqnf4ck)",
774
+ sheetGrabberH: "var(--sheetGrabberH-x1mzwlvd)",
775
+ readoutW: "var(--readoutW-xi5rn1i)",
776
+ sliderW: "var(--sliderW-xvcfp7i)",
777
+ paletteMinW: "var(--paletteMinW-x1514e6j)",
778
+ deviceBarW: "var(--deviceBarW-xqnx4o4)",
779
+ timeGutterW: "var(--timeGutterW-xsc6tna)",
780
+ dayHeaderH: "var(--dayHeaderH-x1j7gty0)",
781
+ timelineLabelW: "var(--timelineLabelW-xx6mz1f)",
782
+ appBarH: "var(--appBarH-x12xs6hi)",
783
+ dragThumbW: "var(--dragThumbW-x1bz26bx)",
784
+ dragThumbH: "var(--dragThumbH-xbt2de9)",
785
+ __varGroupHash__: "x1w57kmz"
786
+ }, Qo = typeof process < "u" && process.env?.NODE_ENV === "production", ke = /* @__PURE__ */ new Set();
787
+ function je(o, e, t) {
788
+ const r = `${o}:${e}`;
789
+ Qo || ke.has(r) || (ke.add(r), console.warn(`[duro-app/ui ${o}] ${t}`));
790
+ }
791
+ const ze = new Set(De);
792
+ function Re(o) {
793
+ return typeof o == "string" && ze.has(o) ? He[o] : o;
794
+ }
795
+ function ye(o) {
796
+ const e = o;
797
+ if (typeof e != "string") return e;
798
+ const t = /^(minmax|fit-content)\((.*)\)$/.exec(e);
799
+ if (t) {
800
+ const r = t[2].split(",").map((l) => String(Re(l.trim())));
801
+ return `${t[1]}(${r.join(", ")})`;
802
+ }
803
+ return ze.has(e) ? He[e] : e;
804
+ }
805
+ const P = {
806
+ root: {
807
+ "position-kVAEAm": "position-x1n2onr6",
808
+ "display-k1xSpc": "display-x3nfvp2",
809
+ $$css: "Menu/styles.css.ts:12"
810
+ },
811
+ trigger: {
812
+ "display-k1xSpc": "display-x3nfvp2",
813
+ "alignItems-kGNEyG": "alignItems-x6s0dn4",
814
+ "gap-kOIVth": "gap-x175yhtj",
815
+ "paddingTop-kLKAdn": "paddingTop-xc2wovk",
816
+ "paddingBottom-kGO01o": "paddingBottom-x1dr83cj",
817
+ "paddingLeft-kE3dHu": "paddingLeft-x2rk66v",
818
+ "paddingRight-kpe85a": "paddingRight-x7huf2v",
819
+ "fontFamily-kMv6JI": "fontFamily-xce2pww",
820
+ "fontSize-kGuDYH": "fontSize-x1tzajr0",
821
+ "color-kMwMTN": "color-x95150z",
822
+ "backgroundColor-kWkggS": "backgroundColor-xjbqb8w backgroundColor-x14zl4n5",
823
+ "borderWidth-kMzoRj": "borderWidth-x1qc3l2q",
824
+ "borderStyle-ksu8eU": "borderStyle-x1y0btm7",
825
+ "borderColor-kVAM5u": "borderColor-x15ykms2",
826
+ "borderRadius-kaIpWk": "borderRadius-x17rit4p",
827
+ "minWidth-k7Eaqz": "minWidth-x7pv91t",
828
+ "minHeight-kAzted": "minHeight-xztz0i",
829
+ "cursor-kkrTdU": "cursor-x1ypdohk",
830
+ "transitionProperty-k1ekBW": "transitionProperty-xts7igz",
831
+ "transitionDuration-kIyJzY": "transitionDuration-x13k8chi",
832
+ $$css: "Menu/styles.css.ts:16"
833
+ },
834
+ triggerGhost: {
835
+ "justifyContent-kjj79g": "justifyContent-xl56j7k",
836
+ "minWidth-k7Eaqz": "minWidth-x1v8ggfx minWidth-x7pv91t",
837
+ "minHeight-kAzted": "minHeight-x1304zm3 minHeight-xztz0i",
838
+ "paddingTop-kLKAdn": "paddingTop-x1i738hq",
839
+ "paddingBottom-kGO01o": "paddingBottom-x6sojwk",
840
+ "paddingLeft-kE3dHu": "paddingLeft-xzmizx3",
841
+ "paddingRight-kpe85a": "paddingRight-x7ulw7g",
842
+ "borderColor-kVAM5u": "borderColor-x9r1u3d",
843
+ $$css: "Menu/styles.css.ts:43"
844
+ },
845
+ triggerSmall: {
846
+ "gap-kOIVth": "gap-xl5ne8a",
847
+ "paddingTop-kLKAdn": "paddingTop-x1i738hq",
848
+ "paddingBottom-kGO01o": "paddingBottom-x6sojwk",
849
+ "paddingLeft-kE3dHu": "paddingLeft-x6xq64o",
850
+ "paddingRight-kpe85a": "paddingRight-xpkaq21",
851
+ "fontSize-kGuDYH": "fontSize-x1f81oxx",
852
+ "minHeight-kAzted": "minHeight-xjf0s44 minHeight-xztz0i",
853
+ $$css: "Menu/styles.css.ts:56"
854
+ },
855
+ triggerGhostSmall: {
856
+ "fontSize-kGuDYH": "fontSize-x1f81oxx",
857
+ "minWidth-k7Eaqz": "minWidth-x1xyvl2a minWidth-x7pv91t",
858
+ "minHeight-kAzted": "minHeight-xmlnt67 minHeight-xztz0i",
859
+ $$css: "Menu/styles.css.ts:66"
860
+ },
861
+ popup: {
862
+ "position-kVAEAm": "position-xixxii4",
863
+ "top-k87sOh": "top-x13vifvy",
864
+ "left-kbCHJM": "left-xu96u03",
865
+ "backgroundColor-kWkggS": "backgroundColor-xuw63hu",
866
+ "borderWidth-kMzoRj": "borderWidth-x1qc3l2q",
867
+ "borderStyle-ksu8eU": "borderStyle-x1y0btm7",
868
+ "borderColor-kVAM5u": "borderColor-x15ykms2",
869
+ "borderRadius-kaIpWk": "borderRadius-x17rit4p",
870
+ "boxShadow-kGVxlE": "boxShadow-x1e78jka",
871
+ "paddingTop-kLKAdn": "paddingTop-x1i738hq",
872
+ "paddingBottom-kGO01o": "paddingBottom-x6sojwk",
873
+ "minWidth-k7Eaqz": "minWidth-x9i2ahm",
874
+ "maxHeight-kskxy": "maxHeight-x2usv7r",
875
+ "overflowY-kORKVm": "overflowY-x1odjw0f",
876
+ "zIndex-kY2c9j": "zIndex-x9qr3eb",
877
+ "pointerEvents-kfzvcC": "pointerEvents-x67bb7w",
878
+ "outlineStyle-k3XXqK": "outlineStyle-x1t137rt",
879
+ $$css: "Menu/styles.css.ts:71"
880
+ },
881
+ popupPosition: (o, e) => [{
882
+ "top-k87sOh": o != null ? "top-xjbys53" : o,
883
+ "left-kbCHJM": e != null ? "left-xgq9j65" : e,
884
+ $$css: "Menu/styles.css.ts:94"
885
+ }, {
886
+ "--x-top": ((t) => typeof t == "number" ? t + "px" : t ?? void 0)(o),
887
+ "--x-left": ((t) => typeof t == "number" ? t + "px" : t ?? void 0)(e)
888
+ }],
889
+ item: {
890
+ "display-k1xSpc": "display-x78zum5",
891
+ "alignItems-kGNEyG": "alignItems-x6s0dn4",
892
+ "paddingTop-kLKAdn": "paddingTop-xc2wovk",
893
+ "paddingBottom-kGO01o": "paddingBottom-x1dr83cj",
894
+ "paddingLeft-kE3dHu": "paddingLeft-x2rk66v",
895
+ "paddingRight-kpe85a": "paddingRight-x7huf2v",
896
+ "fontSize-kGuDYH": "fontSize-x1tzajr0",
897
+ "fontFamily-kMv6JI": "fontFamily-xce2pww",
898
+ "color-kMwMTN": "color-x95150z",
899
+ "borderRadius-kaIpWk": "borderRadius-x17rit4p",
900
+ "cursor-kkrTdU": "cursor-x1ypdohk",
901
+ "backgroundColor-kWkggS": "backgroundColor-xjbqb8w",
902
+ "transitionProperty-k1ekBW": "transitionProperty-x15406qy",
903
+ "transitionDuration-kIyJzY": "transitionDuration-x13k8chi",
904
+ $$css: "Menu/styles.css.ts:98"
905
+ },
906
+ itemHighlighted: {
907
+ "backgroundColor-kWkggS": "backgroundColor-xlyqa1p",
908
+ "outlineStyle-k3XXqK": "outlineStyle-xaatb59",
909
+ "outlineWidth-kMeerF": "outlineWidth-x1a33d5h",
910
+ "outlineColor-kjBf7l": "outlineColor-x1uczgqu",
911
+ "outlineOffset-kInvED": "outlineOffset-x186wpgv",
912
+ $$css: "Menu/styles.css.ts:116"
913
+ },
914
+ separator: {
915
+ "height-kZKoxP": "height-xqtp20y",
916
+ "marginTop-keoZOQ": "marginTop-xuerg7n",
917
+ "marginBottom-k1K539": "marginBottom-xnccn3x",
918
+ "borderTopWidth-kEafiO": "borderTopWidth-xljp14s",
919
+ "borderTopStyle-kPef9Z": "borderTopStyle-x13fuv20",
920
+ "borderTopColor-kLZC3w": "borderTopColor-xvuocu",
921
+ $$css: "Menu/styles.css.ts:123"
922
+ },
923
+ linkItem: {
924
+ "textDecoration-kybGjl": "textDecoration-x1hl2dhg",
925
+ "color-kMwMTN": "color-x95150z color-xtolcfe",
926
+ $$css: "Menu/styles.css.ts:131"
927
+ }
928
+ }, Be = A(null);
929
+ function de() {
930
+ const o = O(Be);
931
+ if (!o)
932
+ throw new Error("Menu compound components must be used within Menu.Root");
933
+ return o;
934
+ }
935
+ function er(o, e) {
936
+ return o ? !e.some((t) => t != null && t.contains(o)) : !0;
937
+ }
938
+ function tr({
939
+ open: o,
940
+ defaultOpen: e = !1,
941
+ onOpenChange: t
942
+ }) {
943
+ const [r, l] = ee(e), n = o !== void 0, c = n ? o : r, a = I(c);
944
+ a.current = c;
945
+ const s = I(t);
946
+ s.current = t;
947
+ const i = we((d) => {
948
+ d !== a.current && (n || l(d), s.current?.(d));
949
+ }, [n]);
950
+ return {
951
+ open: c,
952
+ openRef: a,
953
+ setOpen: i
954
+ };
955
+ }
956
+ function or(o) {
957
+ const e = R.c(37), {
958
+ open: t,
959
+ openRef: r,
960
+ setOpen: l
961
+ } = tr(o), [n, c] = ee(null), a = I(n);
962
+ let s, i;
963
+ e[0] !== n ? (s = () => {
964
+ a.current = n;
965
+ }, i = [n], e[0] = n, e[1] = s, e[2] = i) : (s = e[1], i = e[2]), le(s, i);
966
+ const d = U(), u = U(), p = I(null), x = I(null), h = I(null);
967
+ let g;
968
+ e[3] === Symbol.for("react.memo_cache_sentinel") ? (g = /* @__PURE__ */ new Map(), e[3] = g) : g = e[3];
969
+ const b = I(g);
970
+ let f;
971
+ e[4] === Symbol.for("react.memo_cache_sentinel") ? (f = [], e[4] = f) : f = e[4];
972
+ const m = I(f);
973
+ let v;
974
+ e[5] !== r || e[6] !== l ? (v = () => {
975
+ r.current && (l(!1), c(null));
976
+ }, e[5] = r, e[6] = l, e[7] = v) : v = e[7];
977
+ const S = v;
978
+ let $;
979
+ e[8] !== S || e[9] !== r ? ($ = () => {
980
+ r.current && (S(), x.current?.focus());
981
+ }, e[8] = S, e[9] = r, e[10] = $) : $ = e[10];
982
+ const M = $;
983
+ let j;
984
+ e[11] !== M || e[12] !== r || e[13] !== l ? (j = () => {
985
+ r.current ? M() : l(!0);
986
+ }, e[11] = M, e[12] = r, e[13] = l, e[14] = j) : j = e[14];
987
+ const z = j, E = I(!1);
988
+ let X, G;
989
+ e[15] !== t ? (X = () => {
990
+ if (t && !E.current) {
991
+ h.current?.focus({
992
+ preventScroll: !0
993
+ });
994
+ const B = m.current[0];
995
+ B && c(B);
996
+ } else
997
+ !t && E.current && c(null);
998
+ E.current = t;
999
+ }, G = [t], e[15] = t, e[16] = X, e[17] = G) : (X = e[16], G = e[17]), _(X, G);
1000
+ let F, V;
1001
+ e[18] !== n ? (V = () => {
1002
+ if (!n)
1003
+ return;
1004
+ b.current.get(n)?.scrollIntoView?.({
1005
+ block: "nearest"
1006
+ });
1007
+ }, F = [n], e[18] = n, e[19] = F, e[20] = V) : (F = e[19], V = e[20]), _(V, F);
1008
+ let te;
1009
+ e[21] === Symbol.for("react.memo_cache_sentinel") ? (te = (B, J) => {
1010
+ b.current.set(B, J);
1011
+ const N = b.current, q = [...N.keys()];
1012
+ return q.sort((L, D) => {
1013
+ const Y = N.get(L), me = N.get(D);
1014
+ return !Y || !me ? 0 : Y.compareDocumentPosition(me) & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : 1;
1015
+ }), m.current = q, () => {
1016
+ b.current.delete(B), m.current = m.current.filter((L) => L !== B);
1017
+ };
1018
+ }, e[21] = te) : te = e[21];
1019
+ const qe = te;
1020
+ let oe, re;
1021
+ e[22] !== M || e[23] !== t ? (oe = () => {
1022
+ const B = h.current;
1023
+ if (!B || !t)
1024
+ return;
1025
+ const J = function(q) {
1026
+ if (q.key === "Escape") {
1027
+ q.preventDefault(), q.stopPropagation(), M();
1028
+ return;
1029
+ }
1030
+ if (q.key === "Tab") {
1031
+ M();
1032
+ return;
1033
+ }
1034
+ const L = m.current;
1035
+ if (L.length !== 0)
1036
+ e: switch (q.key) {
1037
+ case "ArrowDown": {
1038
+ q.preventDefault(), c((D) => {
1039
+ const Y = D ? L.indexOf(D) : -1;
1040
+ return L[(Y + 1) % L.length];
1041
+ });
1042
+ break e;
1043
+ }
1044
+ case "ArrowUp": {
1045
+ q.preventDefault(), c((D) => {
1046
+ const Y = D ? L.indexOf(D) : 0;
1047
+ return L[(Y - 1 + L.length) % L.length];
1048
+ });
1049
+ break e;
1050
+ }
1051
+ case "Home": {
1052
+ q.preventDefault(), c(L[0]);
1053
+ break e;
1054
+ }
1055
+ case "End": {
1056
+ q.preventDefault(), c(L[L.length - 1]);
1057
+ break e;
1058
+ }
1059
+ case "Enter":
1060
+ case " ": {
1061
+ q.preventDefault();
1062
+ const D = a.current;
1063
+ D && b.current.get(D)?.click();
1064
+ }
1065
+ }
1066
+ };
1067
+ return B.addEventListener("keydown", J), () => B.removeEventListener("keydown", J);
1068
+ }, re = [t, M], e[22] = M, e[23] = t, e[24] = oe, e[25] = re) : (oe = e[24], re = e[25]), _(oe, re);
1069
+ let ne, ie;
1070
+ e[26] !== S || e[27] !== t ? (ne = () => {
1071
+ if (!t)
1072
+ return;
1073
+ const B = function(N) {
1074
+ er(N.target, [h.current, x.current]) && S();
1075
+ };
1076
+ return document.addEventListener("pointerdown", B, !0), () => document.removeEventListener("pointerdown", B, !0);
1077
+ }, ie = [t, S], e[26] = S, e[27] = t, e[28] = ne, e[29] = ie) : (ne = e[28], ie = e[29]), _(ne, ie);
1078
+ let se;
1079
+ return e[30] !== M || e[31] !== n || e[32] !== d || e[33] !== t || e[34] !== z || e[35] !== u ? (se = {
1080
+ ctx: {
1081
+ open: t,
1082
+ toggle: z,
1083
+ close: M,
1084
+ menuId: d,
1085
+ triggerId: u,
1086
+ highlightedId: n,
1087
+ setHighlightedId: c,
1088
+ registerItem: qe,
1089
+ triggerRef: x,
1090
+ popupRef: h
1091
+ },
1092
+ rootRef: p
1093
+ }, e[30] = M, e[31] = n, e[32] = d, e[33] = t, e[34] = z, e[35] = u, e[36] = se) : se = e[36], se;
1094
+ }
1095
+ function rr({
1096
+ anchor: o,
1097
+ popup: e,
1098
+ viewport: t,
1099
+ side: r,
1100
+ align: l,
1101
+ offset: n
1102
+ }) {
1103
+ const c = o.top + o.height + n, a = o.top - n - e.height, s = c + e.height <= t.height, i = a >= 0;
1104
+ let d = r;
1105
+ r === "bottom" && !s && i ? d = "top" : r === "top" && !i && s && (d = "bottom");
1106
+ const u = d === "bottom" ? c : a;
1107
+ let p = o.left;
1108
+ l === "center" ? p = o.left + (o.width - e.width) / 2 : l === "end" && (p = o.left + o.width - e.width);
1109
+ const x = Math.max(0, t.width - e.width);
1110
+ return p = Math.min(Math.max(0, p), x), {
1111
+ top: u,
1112
+ left: p,
1113
+ side: d
1114
+ };
1115
+ }
1116
+ const nr = A(null);
1117
+ function ir(o, e) {
1118
+ const t = R.c(5), {
1119
+ active: r
1120
+ } = e, l = O(nr);
1121
+ let n, c;
1122
+ t[0] !== r || t[1] !== l || t[2] !== o ? (n = () => {
1123
+ const a = o.current;
1124
+ if (!(!l || !r || !a))
1125
+ return l.register(a);
1126
+ }, c = [l, r, o], t[0] = r, t[1] = l, t[2] = o, t[3] = n, t[4] = c) : (n = t[3], c = t[4]), le(n, c);
1127
+ }
1128
+ function sr(o) {
1129
+ const e = R.c(10), {
1130
+ children: t,
1131
+ open: r,
1132
+ defaultOpen: l,
1133
+ onOpenChange: n
1134
+ } = o;
1135
+ let c;
1136
+ e[0] !== l || e[1] !== n || e[2] !== r ? (c = {
1137
+ open: r,
1138
+ defaultOpen: l,
1139
+ onOpenChange: n
1140
+ }, e[0] = l, e[1] = n, e[2] = r, e[3] = c) : c = e[3];
1141
+ const {
1142
+ ctx: a,
1143
+ rootRef: s
1144
+ } = or(c);
1145
+ let i;
1146
+ e[4] !== t || e[5] !== s ? (i = /* @__PURE__ */ W("div", { "data-element-src": "Menu/Menu.tsx:42", ref: s, ...C(H.div, P.root), children: t }), e[4] = t, e[5] = s, e[6] = i) : i = e[6];
1147
+ let d;
1148
+ return e[7] !== a || e[8] !== i ? (d = /* @__PURE__ */ W(Be.Provider, { value: a, children: i }), e[7] = a, e[8] = i, e[9] = d) : d = e[9], d;
1149
+ }
1150
+ const ar = 'button, a[href], input, select, textarea, [role="button"]';
1151
+ function lr({
1152
+ children: o,
1153
+ "aria-label": e,
1154
+ variant: t = "default",
1155
+ size: r = "default",
1156
+ ref: l
1157
+ }) {
1158
+ const {
1159
+ open: n,
1160
+ toggle: c,
1161
+ menuId: a,
1162
+ triggerId: s,
1163
+ triggerRef: i
1164
+ } = de(), d = Do(), u = d.ref, p = we((x) => {
1165
+ i.current = x, u.current = x, typeof l == "function" ? l(x) : l && (l.current = x);
1166
+ }, [l, i, u]);
1167
+ return _(() => {
1168
+ i.current?.querySelector(ar) && je("Menu", "trigger-nested-control", "Menu.Trigger is itself the button — give it the label (text, an Icon), not a Button, link or other control. A control inside a <button> is invalid HTML: it breaks hydration and hands assistive tech a button inside a button.");
1169
+ }, [i]), /* @__PURE__ */ W("button", { "data-element-src": "Menu/Menu.tsx:101", ref: p, tabIndex: d.tabIndex, onFocus: d.onFocus, id: s, type: "button", onClick: c, "aria-label": e, "aria-expanded": n, "aria-haspopup": "menu", "aria-controls": n ? a : void 0, ...C(H.button, P.trigger, t === "ghost" ? [P.triggerGhost, r === "small" && P.triggerGhostSmall] : r === "small" && P.triggerSmall, d.style), children: o });
1170
+ }
1171
+ function cr(o) {
1172
+ const e = R.c(26), {
1173
+ children: t,
1174
+ align: r
1175
+ } = o, l = r === void 0 ? "start" : r, {
1176
+ open: n,
1177
+ menuId: c,
1178
+ triggerId: a,
1179
+ highlightedId: s,
1180
+ triggerRef: i,
1181
+ popupRef: d
1182
+ } = de();
1183
+ let u;
1184
+ e[0] === Symbol.for("react.memo_cache_sentinel") ? (u = {
1185
+ top: 0,
1186
+ left: 0
1187
+ }, e[0] = u) : u = e[0];
1188
+ const [p, x] = ee(u), h = Zo();
1189
+ let g;
1190
+ e[1] !== n ? (g = {
1191
+ active: n
1192
+ }, e[1] = n, e[2] = g) : g = e[2], ir(d, g);
1193
+ let b, f;
1194
+ if (e[3] !== l || e[4] !== n || e[5] !== d || e[6] !== i ? (b = () => {
1195
+ if (!n)
1196
+ return;
1197
+ const E = () => {
1198
+ const X = d.current, G = i.current?.getBoundingClientRect();
1199
+ if (!X || !G)
1200
+ return;
1201
+ const F = rr({
1202
+ anchor: {
1203
+ top: G.top,
1204
+ left: G.left,
1205
+ width: G.width,
1206
+ height: G.height
1207
+ },
1208
+ popup: {
1209
+ width: X.offsetWidth,
1210
+ height: X.offsetHeight
1211
+ },
1212
+ viewport: {
1213
+ width: window.innerWidth,
1214
+ height: window.innerHeight
1215
+ },
1216
+ side: "bottom",
1217
+ align: l,
1218
+ offset: Ge.xs
1219
+ });
1220
+ x((V) => V.top === F.top && V.left === F.left ? V : {
1221
+ top: F.top,
1222
+ left: F.left
1223
+ });
1224
+ };
1225
+ return E(), window.addEventListener("resize", E), window.addEventListener("scroll", E, !0), () => {
1226
+ window.removeEventListener("resize", E), window.removeEventListener("scroll", E, !0);
1227
+ };
1228
+ }, f = [n, l, d, i], e[3] = l, e[4] = n, e[5] = d, e[6] = i, e[7] = b, e[8] = f) : (b = e[7], f = e[8]), le(b, f), !n || typeof document > "u")
1229
+ return null;
1230
+ const m = s ?? void 0;
1231
+ let v;
1232
+ e[9] !== p.left || e[10] !== p.top ? (v = P.popupPosition(p.top, p.left), e[9] = p.left, e[10] = p.top, e[11] = v) : v = e[11];
1233
+ let S;
1234
+ e[12] !== v ? (S = [P.popup, v], e[12] = v, e[13] = S) : S = e[13];
1235
+ let $;
1236
+ e[14] !== t ? ($ = /* @__PURE__ */ W(Jo, { children: t }), e[14] = t, e[15] = $) : $ = e[15];
1237
+ let M;
1238
+ e[16] !== c || e[17] !== d || e[18] !== m || e[19] !== S || e[20] !== $ || e[21] !== a ? (M = /* @__PURE__ */ W("div", { "data-element-src": "Menu/Menu.tsx:171", ref: d, id: c, role: "menu", tabIndex: -1, "aria-labelledby": a, "aria-activedescendant": m, ...C(H.div, S), children: $ }), e[16] = c, e[17] = d, e[18] = m, e[19] = S, e[20] = $, e[21] = a, e[22] = M) : M = e[22];
1239
+ const j = h ?? document.body;
1240
+ let z;
1241
+ return e[23] !== M || e[24] !== j ? (z = Oe(M, j), e[23] = M, e[24] = j, e[25] = z) : z = e[25], z;
1242
+ }
1243
+ function dr(o) {
1244
+ const e = R.c(18), {
1245
+ onClick: t,
1246
+ children: r
1247
+ } = o, {
1248
+ close: l,
1249
+ highlightedId: n,
1250
+ setHighlightedId: c,
1251
+ registerItem: a
1252
+ } = de(), s = U(), i = I(null), d = n === s;
1253
+ let u, p;
1254
+ e[0] !== s || e[1] !== a ? (u = () => {
1255
+ const v = i.current;
1256
+ if (v)
1257
+ return a(s, v);
1258
+ }, p = [s, a], e[0] = s, e[1] = a, e[2] = u, e[3] = p) : (u = e[2], p = e[3]), _(u, p);
1259
+ let x;
1260
+ e[4] !== l || e[5] !== t ? (x = () => {
1261
+ t?.(), l();
1262
+ }, e[4] = l, e[5] = t, e[6] = x) : x = e[6];
1263
+ const h = x;
1264
+ let g;
1265
+ e[7] !== s || e[8] !== c ? (g = () => c(s), e[7] = s, e[8] = c, e[9] = g) : g = e[9];
1266
+ const b = d && P.itemHighlighted;
1267
+ let f;
1268
+ e[10] !== b ? (f = [P.item, b], e[10] = b, e[11] = f) : f = e[11];
1269
+ let m;
1270
+ return e[12] !== r || e[13] !== h || e[14] !== s || e[15] !== g || e[16] !== f ? (m = /* @__PURE__ */ W("div", { "data-element-src": "Menu/Menu.tsx:210", ref: i, id: s, role: "menuitem", onClick: h, onPointerEnter: g, ...C(H.div, f), children: r }), e[12] = r, e[13] = h, e[14] = s, e[15] = g, e[16] = f, e[17] = m) : m = e[17], m;
1271
+ }
1272
+ function ur(o) {
1273
+ const e = R.c(20), {
1274
+ href: t,
1275
+ onNavigate: r,
1276
+ children: l
1277
+ } = o, {
1278
+ close: n,
1279
+ highlightedId: c,
1280
+ setHighlightedId: a,
1281
+ registerItem: s
1282
+ } = de(), i = U(), d = I(null), u = c === i;
1283
+ let p, x;
1284
+ e[0] !== i || e[1] !== s ? (p = () => {
1285
+ const v = d.current;
1286
+ if (v)
1287
+ return s(i, v);
1288
+ }, x = [i, s], e[0] = i, e[1] = s, e[2] = p, e[3] = x) : (p = e[2], x = e[3]), _(p, x);
1289
+ let h;
1290
+ e[4] !== n || e[5] !== t || e[6] !== r ? (h = (v) => {
1291
+ r && Ce(v) && r(t, v), n();
1292
+ }, e[4] = n, e[5] = t, e[6] = r, e[7] = h) : h = e[7];
1293
+ let g;
1294
+ e[8] !== i || e[9] !== a ? (g = () => a(i), e[8] = i, e[9] = a, e[10] = g) : g = e[10];
1295
+ const b = u && P.itemHighlighted;
1296
+ let f;
1297
+ e[11] !== b ? (f = [P.item, P.linkItem, b], e[11] = b, e[12] = f) : f = e[12];
1298
+ let m;
1299
+ return e[13] !== l || e[14] !== t || e[15] !== i || e[16] !== h || e[17] !== g || e[18] !== f ? (m = /* @__PURE__ */ W("a", { "data-element-src": "Menu/Menu.tsx:247", ref: d, id: i, href: t, onClick: h, role: "menuitem", onPointerEnter: g, ...C(H.a, f), children: l }), e[13] = l, e[14] = t, e[15] = i, e[16] = h, e[17] = g, e[18] = f, e[19] = m) : m = e[19], m;
1300
+ }
1301
+ function xr() {
1302
+ const o = R.c(1);
1303
+ let e;
1304
+ return o[0] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ W("div", { "data-element-src": "Menu/Menu.tsx:269", role: "separator", "aria-orientation": "horizontal", ...C(H.div, P.separator) }), o[0] = e) : e = o[0], e;
1305
+ }
1306
+ const Lr = {
1307
+ Root: sr,
1308
+ Trigger: lr,
1309
+ Popup: cr,
1310
+ Item: dr,
1311
+ LinkItem: ur,
1312
+ Separator: xr
1313
+ }, T = {
1314
+ container: {
1315
+ "containerType-k9g6sI": "containerType-x12h1iku",
1316
+ "display-k1xSpc": "display-x78zum5",
1317
+ "flexDirection-kXwgrk": "flexDirection-xdt5ytf",
1318
+ "gap-kOIVth": "gap-x175yhtj",
1319
+ $$css: "Table/styles.css.ts:25"
1320
+ },
1321
+ rootContainer: {
1322
+ "containerType-k9g6sI": "containerType-x12h1iku",
1323
+ "display-k1xSpc": "display-x78zum5",
1324
+ "flexDirection-kXwgrk": "flexDirection-xdt5ytf",
1325
+ "gap-kOIVth": "gap-x175yhtj",
1326
+ $$css: "Table/styles.css.ts:34"
1327
+ },
1328
+ clickableRow: {
1329
+ "cursor-kkrTdU": "cursor-x1ypdohk",
1330
+ "outlineWidth-kMeerF": "outlineWidth-x1k57tk5 outlineWidth-x4u4vcp",
1331
+ "outlineStyle-k3XXqK": "outlineStyle-xaatb59",
1332
+ "outlineColor-kjBf7l": "outlineColor-x1e3ajik",
1333
+ "outlineOffset-kInvED": "outlineOffset-x1j8r21s",
1334
+ $$css: "Table/styles.css.ts:43"
1335
+ },
1336
+ root: {
1337
+ "display-k1xSpc": "display-xrvj5dj",
1338
+ "borderWidth-kMzoRj": "borderWidth-x1qc3l2q",
1339
+ "borderStyle-ksu8eU": "borderStyle-x1y0btm7",
1340
+ "borderColor-kVAM5u": "borderColor-x15ykms2",
1341
+ "borderRadius-kaIpWk": "borderRadius-xwbokb3",
1342
+ "overflow-kVQacm": "overflow-xb3r6kr",
1343
+ "backgroundColor-kWkggS": "backgroundColor-xuw63hu",
1344
+ "fontFamily-kMv6JI": "fontFamily-xce2pww",
1345
+ "color-kMwMTN": "color-x95150z",
1346
+ $$css: "Table/styles.css.ts:55"
1347
+ },
1348
+ rootResponsive: {
1349
+ "minWidth-k7Eaqz": "minWidth-x13qp9f6 minWidth-xym1sjy",
1350
+ "borderWidth-kMzoRj": "borderWidth-x1qc3l2q borderWidth-xtteep3",
1351
+ "backgroundColor-kWkggS": "backgroundColor-xuw63hu backgroundColor-x1i4f0qi",
1352
+ "overflow-kVQacm": "overflow-xb3r6kr overflow-x2v4zgh",
1353
+ "rowGap-khm7nJ": "rowGap-xxs79tx rowGap-xijoxap",
1354
+ $$css: "Table/styles.css.ts:74"
1355
+ },
1356
+ header: {
1357
+ "display-k1xSpc": "display-xrvj5dj display-xncg82s",
1358
+ "gridColumn-kBCFzs": "gridColumn-x1osaytk",
1359
+ "gridTemplateColumns-kumcoG": "gridTemplateColumns-x4w6khx",
1360
+ "backgroundColor-kWkggS": "backgroundColor-xuw63hu",
1361
+ $$css: "Table/styles.css.ts:106"
1362
+ },
1363
+ body: {
1364
+ "display-k1xSpc": "display-xrvj5dj",
1365
+ "gridColumn-kBCFzs": "gridColumn-x1osaytk",
1366
+ "gridTemplateColumns-kumcoG": "gridTemplateColumns-x4w6khx",
1367
+ $$css: "Table/styles.css.ts:117"
1368
+ },
1369
+ row: {
1370
+ "display-k1xSpc": "display-xrvj5dj",
1371
+ "gridColumn-kBCFzs": "gridColumn-x1osaytk",
1372
+ "gridTemplateColumns-kumcoG": "gridTemplateColumns-x4w6khx gridTemplateColumns-x1iukyyp",
1373
+ "borderBottomWidth-kt9PQ7": "borderBottomWidth-x12yxxv5 borderBottomWidth-xatuo0m",
1374
+ "borderBottomStyle-kfdmCh": "borderBottomStyle-x1q0q8m5",
1375
+ "borderBottomColor-kL6WhQ": "borderBottomColor-x19cyuh1",
1376
+ $$css: "Table/styles.css.ts:126"
1377
+ },
1378
+ bodyRow: {
1379
+ "backgroundColor-kWkggS": "backgroundColor-xjbqb8w backgroundColor-xp88rol backgroundColor-x14zl4n5",
1380
+ "transitionProperty-k1ekBW": "transitionProperty-x15406qy",
1381
+ "transitionDuration-kIyJzY": "transitionDuration-x13k8chi",
1382
+ "transitionTimingFunction-kAMwcw": "transitionTimingFunction-xrbxpra",
1383
+ "padding-kmVPX3": "padding-x1717udv padding-x1s7rzzx",
1384
+ "borderRadius-kaIpWk": "borderRadius-x2u8bby borderRadius-x95x1h7",
1385
+ "borderWidth-kMzoRj": "borderWidth-xc342km borderWidth-xrp8l4a",
1386
+ "borderStyle-ksu8eU": "borderStyle-x1y0btm7",
1387
+ "borderColor-kVAM5u": "borderColor-x15ykms2",
1388
+ $$css: "Table/styles.css.ts:140"
1389
+ },
1390
+ headerCell: {
1391
+ "fontWeight-k63SB2": "fontWeight-x1x12jc5",
1392
+ "color-kMwMTN": "color-x4opovt",
1393
+ "textAlign-k9WMMc": "textAlign-x1yc453h",
1394
+ "minWidth-k7Eaqz": "minWidth-xeuugli",
1395
+ "overflowWrap-kHjlTd": "overflowWrap-x1mzt3pk",
1396
+ "whiteSpace-khDVqt": "whiteSpace-xeaf4i8 whiteSpace-x1348v4l",
1397
+ $$css: "Table/styles.css.ts:167"
1398
+ },
1399
+ cell: {
1400
+ "color-kMwMTN": "color-x95150z",
1401
+ "display-k1xSpc": "display-x78zum5 display-xs8gwy4",
1402
+ "alignItems-kGNEyG": "alignItems-x6s0dn4",
1403
+ "minWidth-k7Eaqz": "minWidth-xeuugli",
1404
+ "overflow-kVQacm": "overflow-x1rea2x4 overflow-x1axt6uq",
1405
+ "whiteSpace-khDVqt": "whiteSpace-xeaf4i8",
1406
+ "overflowWrap-kHjlTd": "overflowWrap-x1mzt3pk",
1407
+ "gridTemplateColumns-kumcoG": "gridTemplateColumns-xzgtm8w",
1408
+ "gap-kOIVth": "gap-xxhr3t gap-xgrwfsz",
1409
+ $$css: "Table/styles.css.ts:190"
1410
+ },
1411
+ cellValue: {
1412
+ "minWidth-k7Eaqz": "minWidth-xeuugli",
1413
+ "flexGrow-kzQI83": "flexGrow-x1iyjqo2",
1414
+ "overflowWrap-kHjlTd": "overflowWrap-x1mzt3pk",
1415
+ $$css: "Table/styles.css.ts:228"
1416
+ },
1417
+ cellLabel: {
1418
+ "display-k1xSpc": "display-x1s85apg display-x1sim00f",
1419
+ "color-kMwMTN": "color-x4opovt",
1420
+ "fontWeight-k63SB2": "fontWeight-x120ksxs",
1421
+ "fontSize-kGuDYH": "fontSize-x1f81oxx",
1422
+ $$css: "Table/styles.css.ts:237"
1423
+ },
1424
+ cellActions: {
1425
+ "gridTemplateColumns-kumcoG": "gridTemplateColumns-x1iukyyp",
1426
+ "justifyContent-kjj79g": "justifyContent-xalo3at",
1427
+ "marginTop-keoZOQ": "marginTop-xdj266r marginTop-x1mip588",
1428
+ "paddingTop-kLKAdn": "paddingTop-x1waenea",
1429
+ "borderTopWidth-kEafiO": "borderTopWidth-x972fbf borderTopWidth-x1ijfi2n",
1430
+ "borderTopStyle-kPef9Z": "borderTopStyle-x13fuv20",
1431
+ "borderTopColor-kLZC3w": "borderTopColor-xvuocu",
1432
+ $$css: "Table/styles.css.ts:251"
1433
+ },
1434
+ cellSm: {
1435
+ "paddingTop-kLKAdn": "paddingTop-x1i738hq paddingTop-x81it4n",
1436
+ "paddingBottom-kGO01o": "paddingBottom-x6sojwk paddingBottom-x1jele16",
1437
+ "paddingLeft-kE3dHu": "paddingLeft-x6xq64o",
1438
+ "paddingRight-kpe85a": "paddingRight-xpkaq21",
1439
+ "fontSize-kGuDYH": "fontSize-x1f81oxx",
1440
+ $$css: "Table/styles.css.ts:277"
1441
+ },
1442
+ cellMd: {
1443
+ "paddingTop-kLKAdn": "paddingTop-xc2wovk",
1444
+ "paddingBottom-kGO01o": "paddingBottom-x1dr83cj",
1445
+ "paddingLeft-kE3dHu": "paddingLeft-x2rk66v paddingLeft-x1u39w1b",
1446
+ "paddingRight-kpe85a": "paddingRight-x7huf2v paddingRight-x1cevoma",
1447
+ "fontSize-kGuDYH": "fontSize-x1tzajr0",
1448
+ $$css: "Table/styles.css.ts:291"
1449
+ },
1450
+ stripedEven: {
1451
+ "backgroundColor-kWkggS": "backgroundColor-xlyqa1p backgroundColor-xp88rol backgroundColor-x14zl4n5",
1452
+ $$css: "Table/styles.css.ts:307"
1453
+ },
1454
+ borderedCell: {
1455
+ "borderRightWidth-kWqL5O": "borderRightWidth-xnwp6cp borderRightWidth-xc5nm28",
1456
+ "borderRightStyle-kSWEuD": "borderRightStyle-x32b0ac",
1457
+ "borderRightColor-k26BEO": "borderRightColor-x9iiiab",
1458
+ $$css: "Table/styles.css.ts:316"
1459
+ },
1460
+ borderedCellLast: {
1461
+ "borderRightWidth-kWqL5O": "borderRightWidth-xgfja2r",
1462
+ $$css: "Table/styles.css.ts:324"
1463
+ },
1464
+ sortChip: {
1465
+ "display-k1xSpc": "display-x1s85apg display-x11cgw9t",
1466
+ "alignSelf-kSGwAc": "alignSelf-xqcrz7y",
1467
+ $$css: "Table/styles.css.ts:329"
1468
+ },
1469
+ scrollX: {
1470
+ "overflowX-kXHlph": "overflowX-xw2csxc",
1471
+ "overflowY-kORKVm": "overflowY-xryxfnj",
1472
+ "WebkitOverflowScrolling-kuHK5b": "WebkitOverflowScrolling-x5lxg6s",
1473
+ $$css: "Table/styles.css.ts:343"
1474
+ },
1475
+ scrollFrame: {
1476
+ "position-kVAEAm": "position-x1n2onr6",
1477
+ $$css: "Table/styles.css.ts:354"
1478
+ },
1479
+ edgeFade: {
1480
+ "position-kVAEAm": "position-x10l6tqk",
1481
+ "top-k87sOh": "top-xnfr1j",
1482
+ "bottom-krVfgx": "bottom-x19ip775",
1483
+ "width-kzqmXN": "width-x1xju080",
1484
+ "pointerEvents-kfzvcC": "pointerEvents-x47corl",
1485
+ "opacity-kSiTet": "opacity-xg01cxk",
1486
+ "transitionProperty-k1ekBW": "transitionProperty-x19991ni",
1487
+ "transitionDuration-kIyJzY": "transitionDuration-x13k8chi",
1488
+ "transitionTimingFunction-kAMwcw": "transitionTimingFunction-xrbxpra",
1489
+ $$css: "Table/styles.css.ts:361"
1490
+ },
1491
+ edgeFadeLeft: {
1492
+ "left-kbCHJM": "left-xt9097p",
1493
+ "borderTopLeftRadius-kIxVMA": "borderTopLeftRadius-xha5hpv",
1494
+ "borderBottomLeftRadius-kqGeR4": "borderBottomLeftRadius-x1hsk2v7",
1495
+ "backgroundImage-kKwaWg": "backgroundImage-xvdn1ag",
1496
+ $$css: "Table/styles.css.ts:372"
1497
+ },
1498
+ edgeFadeRight: {
1499
+ "right-kCIrl2": "right-x1hp3iq1",
1500
+ "borderTopRightRadius-ksF3WI": "borderTopRightRadius-xbbsgyh",
1501
+ "borderBottomRightRadius-kYm2EN": "borderBottomRightRadius-xitffcu",
1502
+ "backgroundImage-kKwaWg": "backgroundImage-x1ykoi01",
1503
+ $$css: "Table/styles.css.ts:378"
1504
+ },
1505
+ edgeFadeVisible: {
1506
+ "opacity-kSiTet": "opacity-x1hc1fzr",
1507
+ $$css: "Table/styles.css.ts:384"
1508
+ },
1509
+ gridColumns: (o) => [{
1510
+ "gridTemplateColumns-kumcoG": o != null ? "gridTemplateColumns-xqketvx" : o,
1511
+ $$css: "Table/styles.css.ts:389"
1512
+ }, {
1513
+ "--x-gridTemplateColumns": o ?? void 0
1514
+ }],
1515
+ gridColumnsResponsive: (o, e) => [{
1516
+ "gridTemplateColumns-kumcoG": (o != null ? "gridTemplateColumns-x39pwss " : o) + (e != null ? "gridTemplateColumns-x17u3dsi " : e) + "gridTemplateColumns-x1iukyyp",
1517
+ $$css: "Table/styles.css.ts:408"
1518
+ }, {
1519
+ "--x-1pds3uo": o ?? void 0,
1520
+ "--x-1n5740v": e ?? void 0
1521
+ }]
1522
+ }, Le = A(null);
1523
+ function ue() {
1524
+ const o = O(Le);
1525
+ if (!o)
1526
+ throw new Error("Table compound components must be used within Table.Root");
1527
+ return o;
1528
+ }
1529
+ const pe = A(!1);
1530
+ function pr(o) {
1531
+ const e = R.c(2), {
1532
+ children: t
1533
+ } = o;
1534
+ let r;
1535
+ return e[0] !== t ? (r = /* @__PURE__ */ W("div", { "data-element-src": "Table/Table.tsx:55", ...C(H.div, T.container), children: t }), e[0] = t, e[1] = r) : r = e[1], r;
1536
+ }
1537
+ function gr(o) {
1538
+ let e = "";
1539
+ return ce.forEach(o, (t) => {
1540
+ (typeof t == "string" || typeof t == "number") && (e += String(t));
1541
+ }), e;
1542
+ }
1543
+ function hr(o) {
1544
+ let e = o;
1545
+ for (let t = 0; t < 8 && e && typeof e == "object"; t++) {
1546
+ const r = e.type ?? e.render;
1547
+ if (r == null) break;
1548
+ e = r;
1549
+ }
1550
+ return e;
1551
+ }
1552
+ function mr(o, e) {
1553
+ const t = [], r = [], l = [];
1554
+ function n(c) {
1555
+ ce.forEach(c, (a) => {
1556
+ if (!Ee(a)) return;
1557
+ const s = a.props, i = hr(a.type), d = i?.displayName || i?.name || "";
1558
+ if (i === he || d === "HeaderCell") {
1559
+ const u = s.width ? String(ye(s.width)) : `minmax(${Re(e)}, 1fr)`;
1560
+ t.push(u), r.push(s.compactWidth ? String(ye(s.compactWidth)) : u);
1561
+ const p = typeof s.label == "string" ? s.label : void 0, x = gr(s.children).trim(), h = p ?? x;
1562
+ !p && x === "" && s.children != null && je("Table", "headerCell-missing-label", "Table.HeaderCell with JSX children must set `label` for stack-mode rendering."), l.push(h);
1563
+ } else s.children && n(s.children);
1564
+ });
1565
+ }
1566
+ return n(o), {
1567
+ template: t.join(" "),
1568
+ compactTemplate: r.join(" "),
1569
+ labels: l
1570
+ };
1571
+ }
1572
+ function br(o) {
1573
+ const e = R.c(13), {
1574
+ children: t
1575
+ } = o, r = I(null);
1576
+ let l;
1577
+ e[0] === Symbol.for("react.memo_cache_sentinel") ? (l = {
1578
+ start: !1,
1579
+ end: !1
1580
+ }, e[0] = l) : l = e[0];
1581
+ const [n, c] = ee(l);
1582
+ let a, s;
1583
+ e[1] === Symbol.for("react.memo_cache_sentinel") ? (a = () => {
1584
+ const g = r.current;
1585
+ if (!g)
1586
+ return;
1587
+ const b = () => {
1588
+ const m = g.scrollWidth - g.clientWidth > 1;
1589
+ c({
1590
+ start: m && g.scrollLeft > 1,
1591
+ end: m && g.scrollLeft + g.clientWidth < g.scrollWidth - 1
1592
+ });
1593
+ };
1594
+ b(), g.addEventListener("scroll", b, {
1595
+ passive: !0
1596
+ });
1597
+ const f = typeof ResizeObserver < "u" ? new ResizeObserver(b) : null;
1598
+ return f?.observe(g), () => {
1599
+ g.removeEventListener("scroll", b), f?.disconnect();
1600
+ };
1601
+ }, s = [], e[1] = a, e[2] = s) : (a = e[1], s = e[2]), _(a, s);
1602
+ let i;
1603
+ e[3] !== t ? (i = /* @__PURE__ */ W("div", { "data-element-src": "Table/Table.tsx:196", ref: r, ...C(H.div, T.scrollX), children: t }), e[3] = t, e[4] = i) : i = e[4];
1604
+ const d = n.start && T.edgeFadeVisible;
1605
+ let u;
1606
+ e[5] !== d ? (u = /* @__PURE__ */ W("div", { "data-element-src": "Table/Table.tsx:199", "aria-hidden": !0, ...C(H.div, T.edgeFade, T.edgeFadeLeft, d) }), e[5] = d, e[6] = u) : u = e[6];
1607
+ const p = n.end && T.edgeFadeVisible;
1608
+ let x;
1609
+ e[7] !== p ? (x = /* @__PURE__ */ W("div", { "data-element-src": "Table/Table.tsx:203", "aria-hidden": !0, ...C(H.div, T.edgeFade, T.edgeFadeRight, p) }), e[7] = p, e[8] = x) : x = e[8];
1610
+ let h;
1611
+ return e[9] !== i || e[10] !== u || e[11] !== x ? (h = /* @__PURE__ */ ae("div", { "data-element-src": "Table/Table.tsx:195", ...C(H.div, T.scrollFrame), children: [
1612
+ i,
1613
+ u,
1614
+ x
1615
+ ] }), e[9] = i, e[10] = u, e[11] = x, e[12] = h) : h = e[12], h;
1616
+ }
1617
+ function fr({
1618
+ children: o,
1619
+ variant: e = "default",
1620
+ size: t = "md",
1621
+ responsive: r = !0,
1622
+ minColumnWidth: l = "labelMinW",
1623
+ sortChip: n,
1624
+ pagination: c
1625
+ }) {
1626
+ const a = I(null), {
1627
+ template: s,
1628
+ compactTemplate: i,
1629
+ labels: d
1630
+ } = mr(o, l);
1631
+ s && (a.current = s);
1632
+ const u = /* @__PURE__ */ W("div", { "data-element-src": "Table/Table.tsx:257", role: "table", ...C(
1633
+ H.div,
1634
+ T.root,
1635
+ // When responsive, use gridColumnsResponsive so the explicit column
1636
+ // template and the stack-mode @container override live in one StyleX
1637
+ // style object. Splitting them across two styles (gridColumns +
1638
+ // rootResponsive) causes StyleX conflict resolution to drop the
1639
+ // column template because rootResponsive's gridTemplateColumns key
1640
+ // always wins as the later entry in the array.
1641
+ s ? r ? T.gridColumnsResponsive(s, i) : T.gridColumns(s) : void 0,
1642
+ r && T.rootResponsive
1643
+ ), children: o }), x = /* @__PURE__ */ ae(Pe, { children: [
1644
+ n,
1645
+ r ? /* @__PURE__ */ W(br, { children: u }) : u,
1646
+ c
1647
+ ] });
1648
+ return /* @__PURE__ */ W(Le.Provider, { value: {
1649
+ variant: e,
1650
+ size: t,
1651
+ responsive: r,
1652
+ labels: d,
1653
+ inferredTemplateRef: a
1654
+ }, children: r ? /* @__PURE__ */ W("div", { "data-element-src": "Table/Table.tsx:299", ...C(H.div, T.rootContainer), children: x }) : x });
1655
+ }
1656
+ function vr(o) {
1657
+ const e = R.c(2), {
1658
+ children: t
1659
+ } = o;
1660
+ let r;
1661
+ return e[0] !== t ? (r = /* @__PURE__ */ W(pe.Provider, { value: !0, children: /* @__PURE__ */ W("div", { "data-element-src": "Table/Table.tsx:309", role: "rowgroup", ...C(H.div, T.header), children: t }) }), e[0] = t, e[1] = r) : r = e[1], r;
1662
+ }
1663
+ function kr(o) {
1664
+ const e = R.c(19), {
1665
+ children: t
1666
+ } = o, {
1667
+ variant: r
1668
+ } = ue();
1669
+ let l, n, c, a, s, i;
1670
+ if (e[0] !== t || e[1] !== r) {
1671
+ const p = ce.toArray(t);
1672
+ n = pe.Provider, i = !1, l = Po.div, c = "rowgroup", a = T.body;
1673
+ let x;
1674
+ e[8] !== r ? (x = (h, g) => r !== "striped" ? h : /* @__PURE__ */ W(Ie.Provider, { value: g, children: h }, h.key ?? g), e[8] = r, e[9] = x) : x = e[9], s = p.map(x), e[0] = t, e[1] = r, e[2] = l, e[3] = n, e[4] = c, e[5] = a, e[6] = s, e[7] = i;
1675
+ } else
1676
+ l = e[2], n = e[3], c = e[4], a = e[5], s = e[6], i = e[7];
1677
+ let d;
1678
+ e[10] !== l || e[11] !== c || e[12] !== a || e[13] !== s ? (d = /* @__PURE__ */ W(l, { role: c, style: a, children: s }), e[10] = l, e[11] = c, e[12] = a, e[13] = s, e[14] = d) : d = e[14];
1679
+ let u;
1680
+ return e[15] !== n || e[16] !== i || e[17] !== d ? (u = /* @__PURE__ */ W(n, { value: i, children: d }), e[15] = n, e[16] = i, e[17] = d, e[18] = u) : u = e[18], u;
1681
+ }
1682
+ const Ie = A(-1), yr = 'button, a, input, select, textarea, [role="button"], [role="link"], [role="checkbox"], [role="menuitem"], [role="switch"], [role="tab"], [contenteditable="true"]';
1683
+ function wr(o) {
1684
+ const e = R.c(17), {
1685
+ children: t,
1686
+ onClick: r,
1687
+ "aria-label": l
1688
+ } = o, {
1689
+ variant: n
1690
+ } = ue(), c = O(pe), a = O(Ie), s = a >= 0 && a % 2 === 1;
1691
+ let i;
1692
+ if (e[0] !== l || e[1] !== t || e[2] !== s || e[3] !== c || e[4] !== r || e[5] !== n) {
1693
+ const d = ce.toArray(t), u = r !== void 0 && !c;
1694
+ let p;
1695
+ e[7] !== u || e[8] !== r ? (p = u ? (m) => {
1696
+ const v = m.target;
1697
+ v instanceof Element && v.closest(yr) || r();
1698
+ } : void 0, e[7] = u, e[8] = r, e[9] = p) : p = e[9];
1699
+ let x;
1700
+ e[10] !== u || e[11] !== r ? (x = u ? (m) => {
1701
+ (m.key === "Enter" || m.key === " ") && r();
1702
+ } : void 0, e[10] = u, e[11] = r, e[12] = x) : x = e[12];
1703
+ const h = !c && T.bodyRow, g = !c && n === "striped" && s && T.stripedEven, b = u && T.clickableRow;
1704
+ let f;
1705
+ e[13] !== h || e[14] !== g || e[15] !== b ? (f = [T.row, h, g, b], e[13] = h, e[14] = g, e[15] = b, e[16] = f) : f = e[16], i = /* @__PURE__ */ W("div", { "data-element-src": "Table/Table.tsx:381", role: "row", tabIndex: u ? 0 : void 0, "aria-label": u ? l : void 0, onClick: p, onKeyDown: x, ...C(H.div, f), children: d.map((m, v) => /* @__PURE__ */ W(ge.Provider, { value: {
1706
+ index: v,
1707
+ total: d.length
1708
+ }, children: m }, m.key ?? v)) }), e[0] = l, e[1] = t, e[2] = s, e[3] = c, e[4] = r, e[5] = n, e[6] = i;
1709
+ } else
1710
+ i = e[6];
1711
+ return i;
1712
+ }
1713
+ const ge = A({
1714
+ index: 0,
1715
+ total: 0
1716
+ });
1717
+ function he(o) {
1718
+ const e = R.c(8), {
1719
+ children: t,
1720
+ "aria-label": r
1721
+ } = o, {
1722
+ size: l,
1723
+ variant: n
1724
+ } = ue(), {
1725
+ index: c,
1726
+ total: a
1727
+ } = O(ge), s = n === "bordered" && c === a - 1, i = l === "sm" ? T.cellSm : T.cellMd, d = n === "bordered" && T.borderedCell, u = s && T.borderedCellLast;
1728
+ let p;
1729
+ e[0] !== i || e[1] !== d || e[2] !== u ? (p = [T.headerCell, i, d, u], e[0] = i, e[1] = d, e[2] = u, e[3] = p) : p = e[3];
1730
+ let x;
1731
+ return e[4] !== r || e[5] !== t || e[6] !== p ? (x = /* @__PURE__ */ W("div", { "data-element-src": "Table/Table.tsx:467", role: "columnheader", "aria-label": r, ...C(H.div, p), children: t }), e[4] = r, e[5] = t, e[6] = p, e[7] = x) : x = e[7], x;
1732
+ }
1733
+ he.displayName = "HeaderCell";
1734
+ function Mr(o) {
1735
+ const e = R.c(16), {
1736
+ children: t,
1737
+ isActions: r
1738
+ } = o, {
1739
+ size: l,
1740
+ variant: n,
1741
+ labels: c,
1742
+ responsive: a
1743
+ } = ue(), {
1744
+ index: s,
1745
+ total: i
1746
+ } = O(ge), d = n === "bordered" && s === i - 1, u = c[s] ?? "", p = l === "sm" ? T.cellSm : T.cellMd, x = n === "bordered" && T.borderedCell, h = d && T.borderedCellLast, g = r && T.cellActions;
1747
+ let b;
1748
+ e[0] !== p || e[1] !== x || e[2] !== h || e[3] !== g ? (b = [T.cell, p, x, h, g], e[0] = p, e[1] = x, e[2] = h, e[3] = g, e[4] = b) : b = e[4];
1749
+ let f;
1750
+ e[5] !== r || e[6] !== u || e[7] !== a ? (f = a && !r && u !== "" ? /* @__PURE__ */ W("span", { "data-element-src": "Table/Table.tsx:507", ...C(H.span, T.cellLabel), children: u }) : null, e[5] = r, e[6] = u, e[7] = a, e[8] = f) : f = e[8];
1751
+ let m;
1752
+ e[9] !== t || e[10] !== r ? (m = r ? t : /* @__PURE__ */ W("div", { "data-element-src": "Table/Table.tsx:509", ...C(H.div, T.cellValue), children: t }), e[9] = t, e[10] = r, e[11] = m) : m = e[11];
1753
+ let v;
1754
+ return e[12] !== b || e[13] !== f || e[14] !== m ? (v = /* @__PURE__ */ ae("div", { "data-element-src": "Table/Table.tsx:496", role: "cell", ...C(H.div, b), children: [
1755
+ f,
1756
+ m
1757
+ ] }), e[12] = b, e[13] = f, e[14] = m, e[15] = v) : v = e[15], v;
1758
+ }
1759
+ const Tr = {
1760
+ /** @deprecated Wrap behaviour is built into Table.Root. Drop this wrapper from new code. */
1761
+ Container: pr,
1762
+ Root: fr,
1763
+ Header: vr,
1764
+ Body: kr,
1765
+ Row: wr,
1766
+ HeaderCell: he,
1767
+ Cell: Mr
1768
+ }, Ir = Tr;
1769
+ export {
1770
+ Se as B,
1771
+ Jo as C,
1772
+ Hr as D,
1773
+ he as H,
1774
+ jr as I,
1775
+ Lr as M,
1776
+ nr as P,
1777
+ wr as R,
1778
+ Ge as S,
1779
+ zr as T,
1780
+ Zo as a,
1781
+ Br as b,
1782
+ Ae as c,
1783
+ je as d,
1784
+ ir as e,
1785
+ rr as f,
1786
+ Q as g,
1787
+ Po as h,
1788
+ Ce as i,
1789
+ Eo as j,
1790
+ Oo as k,
1791
+ Rr as l,
1792
+ We as m,
1793
+ er as n,
1794
+ ye as o,
1795
+ Ir as p,
1796
+ T as q,
1797
+ Re as r,
1798
+ He as s,
1799
+ vr as t,
1800
+ Do as u,
1801
+ kr as v,
1802
+ fr as w,
1803
+ Mr as x,
1804
+ Tr as y
1805
+ };
1806
+ //# sourceMappingURL=Table-DnaoH-h5.js.map