@konstructio/ui 0.1.2-alpha.112 → 0.1.2-alpha.113

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 (292) hide show
  1. package/dist/{AdditionalOptions-D3SZ2WFJ.js → AdditionalOptions-ClcR_Kf7.js} +1 -1
  2. package/dist/{AlertDialogTrigger-Cdw3C2Tv.js → AlertDialogTrigger-C9xoCZrZ.js} +33 -33
  3. package/dist/Checkbox-DRdyrKjk.js +252 -0
  4. package/dist/CollapsedSteps-CR7oCTRC.js +112 -0
  5. package/dist/{CommandInput-DiRv6fEA.js → CommandInput-Du2o616y.js} +1 -1
  6. package/dist/Counter-DMkXIsOO.js +229 -0
  7. package/dist/DropdownButton-JilCRLJY.js +92 -0
  8. package/dist/FlagSelectorList-iZ3gUVpf.js +954 -0
  9. package/dist/{HamburgerTrigger-DjHmNEJD.js → HamburgerTrigger-BgeS_nBA.js} +15 -15
  10. package/dist/Modal-CysTe3zL.js +83 -0
  11. package/dist/Spinner-CTonkSzG.js +47 -0
  12. package/dist/Switch-5cdUxbhX.js +215 -0
  13. package/dist/{Wrapper-MmlrJppS.js → Wrapper-BCi_pLOr.js} +38 -38
  14. package/dist/{Wrapper-BxfB3BDa.js → Wrapper-ThpRi_Gg.js} +9 -9
  15. package/dist/components/Alert/Alert.js +45 -41
  16. package/dist/components/AlertDialog/AlertDialog.js +42 -42
  17. package/dist/components/AlertDialog/components/AlertDialogTrigger.js +1 -1
  18. package/dist/components/AlertDialog/components/index.js +1 -1
  19. package/dist/components/Avatar/Avatar.js +37 -0
  20. package/dist/components/Avatar/Avatar.variants.js +25 -0
  21. package/dist/components/Avatar/hooks/index.js +5 -0
  22. package/dist/components/Avatar/hooks/use-gravatar-url.js +25 -0
  23. package/dist/components/AvatarGroup/AvatarGroup.js +40 -0
  24. package/dist/components/Badge/Badge.js +1 -1
  25. package/dist/components/BadgeGroup/BadgeGroup.js +62 -0
  26. package/dist/components/BadgeGroup/hooks/index.js +4 -0
  27. package/dist/components/BadgeGroup/hooks/use-visible-badge-count/use-visible-badge-count.js +50 -0
  28. package/dist/components/Breadcrumb/components/CollapsedSteps/CollapsedSteps.js +4 -0
  29. package/dist/components/Breadcrumb/components/index.js +6 -4
  30. package/dist/components/Button/Button.js +25 -19
  31. package/dist/components/Button/Button.variants.js +4 -1
  32. package/dist/components/ButtonGroup/ButtonGroup.js +16 -16
  33. package/dist/components/ButtonGroup/components/ButtonGroupItem/ButtonGroupItem.js +8 -8
  34. package/dist/components/Checkbox/Checkbox.js +1 -1
  35. package/dist/components/CheckboxCard/CheckboxCard.js +52 -0
  36. package/dist/components/Collapse/Collapse.js +63 -0
  37. package/dist/components/Command/Command.js +5 -5
  38. package/dist/components/Command/components/Command.js +1 -1
  39. package/dist/components/Command/components/CommandEmpty.js +1 -1
  40. package/dist/components/Command/components/CommandGroup.js +1 -1
  41. package/dist/components/Command/components/CommandInput.js +1 -1
  42. package/dist/components/Command/components/CommandItem.js +1 -1
  43. package/dist/components/Command/components/CommandList.js +1 -1
  44. package/dist/components/Command/components/CommandSeparator.js +1 -1
  45. package/dist/components/Command/components/DialogContent.js +1 -1
  46. package/dist/components/Command/components/DialogOverlay.js +1 -1
  47. package/dist/components/Command/components/index.js +1 -1
  48. package/dist/components/ConfirmDialog/ConfirmDialog.js +110 -0
  49. package/dist/components/CopyButton/CopyButton.js +29 -29
  50. package/dist/components/Counter/Counter.js +1 -1
  51. package/dist/components/Counter/Counter.variants.js +73 -16
  52. package/dist/components/DateRangePicker/components/CalendarPanel/CalendarPanel.js +1 -1
  53. package/dist/components/DateRangePicker/components/CalendarPanel/components/CalendarMonth/CalendarMonth.js +23 -31
  54. package/dist/components/DateRangePicker/components/CalendarPanel/components/CalendarMonth/components/CalendarMonthContent/CalendarMonthContent.js +26 -0
  55. package/dist/components/DateRangePicker/components/CalendarPanel/components/IndependentModeCalendar/IndependentModeCalendar.js +8 -8
  56. package/dist/components/DateRangePicker/components/CalendarPanel/components/TogetherModeCalendar/TogetherModeCalendar.js +13 -13
  57. package/dist/components/DateRangePicker/components/RightPanel/RightPanel.js +15 -16
  58. package/dist/components/Datepicker/DatePicker.js +14 -49
  59. package/dist/components/Datepicker/components/DatePickerContent/DatePickerContent.js +51 -0
  60. package/dist/components/Drawer/Drawer.js +18 -18
  61. package/dist/components/DropdownButton/DropdownButton.js +1 -1
  62. package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.js +1 -1
  63. package/dist/components/Filter/components/CustomDateRangeFilterDropdown/components/Actions/Actions.js +10 -11
  64. package/dist/components/Filter/components/CustomDateRangeFilterDropdown/hooks/useFormattedDateRange/useFormattedDateRange.js +25 -22
  65. package/dist/components/Filter/components/DateFilterDropdown/hooks/useDateFilterDropdown/useDateFilterDropdown.js +16 -16
  66. package/dist/components/Filter/components/DateRangeFilterDropdown/hooks/useDateRangeFilterDropdown/useDateRangeFilterDropdown.js +29 -29
  67. package/dist/components/Filter/components/FilterDropdown/FilterDropdown.js +10 -10
  68. package/dist/components/Filter/components/TextMultiSelect/TextMultiSelect.js +1 -1
  69. package/dist/components/Filter/hooks/index.js +3 -1
  70. package/dist/components/Filter/hooks/useLocale.js +16 -0
  71. package/dist/components/Filter/utils/index.js +6 -2
  72. package/dist/components/LineChart/LineChart.js +18 -125
  73. package/dist/components/LineChart/components/LineChartContent/LineChartContent.js +127 -0
  74. package/dist/components/Modal/Modal.js +1 -1
  75. package/dist/components/Modal/components/Body/Body.js +1 -1
  76. package/dist/components/Modal/components/Footer/Footer.js +1 -1
  77. package/dist/components/Modal/components/Header/Header.js +1 -1
  78. package/dist/components/Modal/components/Wrapper/Wrapper.js +1 -1
  79. package/dist/components/Modal/components/index.js +1 -1
  80. package/dist/components/MultiSelectDropdown/MultiSelectDropdown.js +1 -1
  81. package/dist/components/MultiSelectDropdown/MultiSelectDropdown.variants.js +22 -3
  82. package/dist/components/MultiSelectDropdown/components/List/List.js +1 -1
  83. package/dist/components/MultiSelectDropdown/components/Wrapper/Wrapper.js +1 -1
  84. package/dist/components/MultiSelectDropdown/components/index.js +1 -1
  85. package/dist/components/OtpInput/OtpInput.js +103 -0
  86. package/dist/components/PasswordRules/PasswordRules.js +51 -0
  87. package/dist/components/PhoneNumberInput/PhoneNumberInput.js +39 -10
  88. package/dist/components/PhoneNumberInput/components/FlagSelectorList/FlagSelectorList.js +1 -1
  89. package/dist/components/PhoneNumberInput/components/FlagSelectorWrapper/FlagSelectorWrapper.js +4 -4
  90. package/dist/components/PhoneNumberInput/components/PhoneNumberInputContent.js +15 -0
  91. package/dist/components/PhoneNumberInput/components/TruncateText/TruncateText.js +15 -15
  92. package/dist/components/PhoneNumberInput/components/Wrapper.js +1 -1
  93. package/dist/components/PhoneNumberInput/components/index.js +2 -2
  94. package/dist/components/PhoneNumberInput/contexts/index.js +4 -4
  95. package/dist/components/PhoneNumberInput/contexts/phone-number.provider.js +1 -1
  96. package/dist/components/PieChart/PieChart.js +10 -53
  97. package/dist/components/PieChart/components/PieChartContent/PieChartContent.js +56 -0
  98. package/dist/components/ProgressBar/ProgressBar.js +10 -10
  99. package/dist/components/RadioCard/RadioCard.js +36 -18
  100. package/dist/components/RadioCard/RadioCard.variants.js +9 -3
  101. package/dist/components/RadioGroup/RadioGroup.js +1 -1
  102. package/dist/components/Range/Range.js +1 -1
  103. package/dist/components/Select/Select.js +2 -2
  104. package/dist/components/Select/components/AdditionalOptions/AdditionalOptions.js +1 -1
  105. package/dist/components/Select/components/List/List.js +10 -10
  106. package/dist/components/Select/components/Wrapper.js +1 -1
  107. package/dist/components/Select/components/index.js +2 -2
  108. package/dist/components/Sidebar/components/CollapseTrigger/CollapseTrigger.js +15 -15
  109. package/dist/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.js +1 -1
  110. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.js +66 -42
  111. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.variants.js +10 -4
  112. package/dist/components/Sidebar/components/Wrapper/Wrapper.js +91 -86
  113. package/dist/components/Sidebar/components/index.js +1 -1
  114. package/dist/components/Skeleton/Skeleton.js +18 -0
  115. package/dist/components/Skeleton/Skeleton.variants.js +25 -0
  116. package/dist/components/Slider/Slider.js +1 -1
  117. package/dist/components/Spinner/Spinner.js +1 -1
  118. package/dist/components/Stepper/Stepper.js +38 -29
  119. package/dist/components/Stepper/Stepper.variants.js +55 -19
  120. package/dist/components/Stepper/hooks/useStepItemLogic.js +1 -1
  121. package/dist/components/Switch/Switch.js +1 -1
  122. package/dist/components/Tabs/Tabs.js +52 -24
  123. package/dist/components/Tabs/Tabs.variants.js +15 -6
  124. package/dist/components/Tabs/components/Content.js +6 -6
  125. package/dist/components/Tabs/components/List.js +10 -10
  126. package/dist/components/Tabs/components/Trigger.js +11 -10
  127. package/dist/components/Tag/Tag.js +1 -1
  128. package/dist/components/TagsInput/TagsInput.js +159 -0
  129. package/dist/components/Toast/Toast.js +68 -2
  130. package/dist/components/Toast/components/ToastCard/ToastCard.js +32 -32
  131. package/dist/components/Tooltip/Tooltip.js +32 -16
  132. package/dist/components/VirtualizedTable/VirtualizedTable.js +32 -101
  133. package/dist/components/VirtualizedTable/components/Actions/Actions.variants.js +18 -5
  134. package/dist/components/VirtualizedTable/components/Actions/components/ActionsList/ActionsList.js +29 -19
  135. package/dist/components/VirtualizedTable/components/Actions/components/InlineActions/InlineActions.js +66 -33
  136. package/dist/components/VirtualizedTable/components/Actions/components/PortalActions/PortalActions.js +31 -29
  137. package/dist/components/VirtualizedTable/components/Actions/components/PortalActions/hooks/use-actions-menu/use-actions-menu.js +23 -20
  138. package/dist/components/VirtualizedTable/components/Actions/components/PortalActions/hooks/use-menu-interactions/use-menu-interactions.js +51 -45
  139. package/dist/components/VirtualizedTable/components/Body/Body.js +6 -6
  140. package/dist/components/VirtualizedTable/components/DropdownPaginate/DropdownPaginate.js +22 -22
  141. package/dist/components/VirtualizedTable/components/EmptyResults/EmptyResults.js +30 -0
  142. package/dist/components/VirtualizedTable/components/EmptyState/EmptyState.js +32 -0
  143. package/dist/components/VirtualizedTable/components/ErrorState/ErrorState.js +35 -0
  144. package/dist/components/VirtualizedTable/components/Filter/Filter.js +5 -5
  145. package/dist/components/VirtualizedTable/components/Header/Header.js +4 -4
  146. package/dist/components/VirtualizedTable/components/TruncateText/TruncateText.js +46 -39
  147. package/dist/components/VirtualizedTable/components/VirtualizedTableContent/VirtualizedTableContent.js +91 -0
  148. package/dist/components/VirtualizedTable/components/index.js +18 -12
  149. package/dist/components/VirtualizedTable/contexts/index.js +6 -6
  150. package/dist/components/VirtualizedTable/contexts/table.context.js +1 -0
  151. package/dist/components/VirtualizedTable/contexts/table.provider.js +1 -1
  152. package/dist/components/VirtualizedTable/utils/index.js +4 -4
  153. package/dist/components/index.js +180 -154
  154. package/dist/components-B_SWqhCL.js +147 -0
  155. package/dist/{utils-DVYdP0CJ.js → country-locale-map-DbrJ3bEE.js} +373 -373
  156. package/dist/{debounce-BdyZeJQk.js → debounce-dMRJxNsT.js} +3 -3
  157. package/dist/{dist-DcFwF4XM.js → dist-1AtWkIZ4.js} +268 -260
  158. package/dist/{dist-CgzF5_J6.js → dist-4IVGO6ZT.js} +4 -4
  159. package/dist/dist-BCoDIdCt.js +429 -0
  160. package/dist/{dist-Bi8Y5nEx.js → dist-BXv-jY2v.js} +60 -55
  161. package/dist/{dist-C4j75TwZ.js → dist-BbJP2Efh.js} +2 -2
  162. package/dist/dist-Bh7M0KDN.js +367 -0
  163. package/dist/dist-BqDJX7m1.js +209 -0
  164. package/dist/dist-C0OhTLFV.js +31 -0
  165. package/dist/dist-C1a-68Kb.js +120 -0
  166. package/dist/dist-CK8FUUUn.js +125 -0
  167. package/dist/dist-CQSCPpFc.js +196 -0
  168. package/dist/{dist-CCdbu9GU.js → dist-CYuWoi9I.js} +1 -1
  169. package/dist/{dist-DX0sBG3Q.js → dist-C_jtUTU9.js} +5 -6
  170. package/dist/{dist-D-yS0HN8.js → dist-DbeY0Pzx.js} +6 -6
  171. package/dist/dist-fPYIsxyx.js +465 -0
  172. package/dist/dist-rsFD9q_X.js +484 -0
  173. package/dist/{dist-BUocnzkM.js → dist-uuWgjOcO.js} +1 -1
  174. package/dist/dist-vDSmnSS_.js +41 -0
  175. package/dist/dist-vUCyiTQy.js +365 -0
  176. package/dist/es2015-ChhQTsb4.js +74 -0
  177. package/dist/index.js +194 -168
  178. package/dist/{isObject-pLoSfdr0.js → isSymbol-BG9higgO.js} +14 -14
  179. package/dist/lib/components/Alert/Alert.types.d.ts +4 -0
  180. package/dist/lib/components/Avatar/Avatar.d.ts +14 -0
  181. package/dist/lib/components/Avatar/Avatar.types.d.ts +21 -0
  182. package/dist/lib/components/Avatar/Avatar.variants.d.ts +3 -0
  183. package/dist/lib/components/Avatar/hooks/index.d.ts +1 -0
  184. package/dist/lib/components/Avatar/hooks/use-gravatar-url.d.ts +2 -0
  185. package/dist/lib/components/AvatarGroup/AvatarGroup.d.ts +16 -0
  186. package/dist/lib/components/AvatarGroup/AvatarGroup.types.d.ts +19 -0
  187. package/dist/lib/components/BadgeGroup/BadgeGroup.d.ts +15 -0
  188. package/dist/lib/components/BadgeGroup/BadgeGroup.types.d.ts +25 -0
  189. package/dist/lib/components/BadgeGroup/hooks/index.d.ts +1 -0
  190. package/dist/lib/components/BadgeGroup/hooks/use-visible-badge-count/use-visible-badge-count.d.ts +2 -0
  191. package/dist/lib/components/BadgeGroup/hooks/use-visible-badge-count/use-visible-badge-count.types.d.ts +10 -0
  192. package/dist/lib/components/Breadcrumb/Breadcrumb.types.d.ts +4 -0
  193. package/dist/lib/components/Breadcrumb/components/CollapsedSteps/CollapsedSteps.d.ts +3 -0
  194. package/dist/lib/components/Breadcrumb/components/CollapsedSteps/CollapsedSteps.types.d.ts +5 -0
  195. package/dist/lib/components/Breadcrumb/components/index.d.ts +1 -0
  196. package/dist/lib/components/Button/Button.variants.d.ts +1 -1
  197. package/dist/lib/components/CheckboxCard/CheckboxCard.d.ts +20 -0
  198. package/dist/lib/components/CheckboxCard/CheckboxCard.types.d.ts +13 -0
  199. package/dist/lib/components/Collapse/Collapse.d.ts +19 -0
  200. package/dist/lib/components/Collapse/Collapse.types.d.ts +17 -0
  201. package/dist/lib/components/ConfirmDialog/ConfirmDialog.d.ts +23 -0
  202. package/dist/lib/components/ConfirmDialog/ConfirmDialog.types.d.ts +46 -0
  203. package/dist/lib/components/Counter/Counter.d.ts +7 -4
  204. package/dist/lib/components/Counter/Counter.types.d.ts +23 -0
  205. package/dist/lib/components/Counter/Counter.variants.d.ts +10 -1
  206. package/dist/lib/components/DateRangePicker/components/CalendarPanel/components/CalendarMonth/components/CalendarMonthContent/CalendarMonthContent.d.ts +3 -0
  207. package/dist/lib/components/Datepicker/components/DatePickerContent/DatePickerContent.d.ts +3 -0
  208. package/dist/lib/components/DropdownButton/DropdownButton.types.d.ts +11 -0
  209. package/dist/lib/components/Filter/hooks/index.d.ts +1 -0
  210. package/dist/lib/components/Filter/hooks/useLocale.d.ts +1 -0
  211. package/dist/lib/components/Filter/utils/index.d.ts +1 -0
  212. package/dist/lib/components/LineChart/components/LineChartContent/LineChartContent.d.ts +3 -0
  213. package/dist/lib/components/Modal/Modal.types.d.ts +2 -0
  214. package/dist/lib/components/Modal/components/Wrapper/Wrapper.types.d.ts +2 -0
  215. package/dist/lib/components/MultiSelectDropdown/MultiSelectDropdown.types.d.ts +10 -0
  216. package/dist/lib/components/MultiSelectDropdown/MultiSelectDropdown.variants.d.ts +4 -1
  217. package/dist/lib/components/OtpInput/OtpInput.d.ts +19 -0
  218. package/dist/lib/components/OtpInput/OtpInput.types.d.ts +32 -0
  219. package/dist/lib/components/PasswordRules/PasswordRules.d.ts +20 -0
  220. package/dist/lib/components/PasswordRules/PasswordRules.types.d.ts +24 -0
  221. package/dist/lib/components/PhoneNumberInput/components/PhoneNumberInputContent.d.ts +18 -0
  222. package/dist/lib/components/PieChart/components/PieChartContent/PieChartContent.d.ts +3 -0
  223. package/dist/lib/components/RadioCard/RadioCard.d.ts +11 -0
  224. package/dist/lib/components/RadioCard/RadioCard.types.d.ts +10 -1
  225. package/dist/lib/components/RadioCard/RadioCard.variants.d.ts +3 -1
  226. package/dist/lib/components/Sidebar/Sidebar.types.d.ts +4 -0
  227. package/dist/lib/components/Sidebar/components/CollapseTrigger/CollapseTrigger.types.d.ts +2 -0
  228. package/dist/lib/components/Sidebar/components/NavigationOption/NavigationOption.types.d.ts +6 -0
  229. package/dist/lib/components/Sidebar/components/NavigationOption/NavigationOption.variants.d.ts +1 -0
  230. package/dist/lib/components/Skeleton/Skeleton.d.ts +14 -0
  231. package/dist/lib/components/Skeleton/Skeleton.types.d.ts +16 -0
  232. package/dist/lib/components/Skeleton/Skeleton.variants.d.ts +3 -0
  233. package/dist/lib/components/Stepper/Stepper.types.d.ts +2 -0
  234. package/dist/lib/components/Stepper/Stepper.variants.d.ts +7 -4
  235. package/dist/lib/components/Switch/Switch.types.d.ts +7 -0
  236. package/dist/lib/components/Tabs/Tabs.d.ts +13 -13
  237. package/dist/lib/components/Tabs/Tabs.types.d.ts +14 -3
  238. package/dist/lib/components/Tabs/Tabs.variants.d.ts +1 -1
  239. package/dist/lib/components/TagsInput/TagsInput.d.ts +20 -0
  240. package/dist/lib/components/TagsInput/TagsInput.types.d.ts +37 -0
  241. package/dist/lib/components/Tooltip/Tooltip.d.ts +4 -0
  242. package/dist/lib/components/Tooltip/Tooltip.types.d.ts +10 -0
  243. package/dist/lib/components/VirtualizedTable/VirtualizedTable.d.ts +8 -2
  244. package/dist/lib/components/VirtualizedTable/components/Actions/Actions.types.d.ts +6 -0
  245. package/dist/lib/components/VirtualizedTable/components/Actions/Actions.variants.d.ts +3 -1
  246. package/dist/lib/components/VirtualizedTable/components/Actions/components/ActionsList/ActionsList.d.ts +1 -1
  247. package/dist/lib/components/VirtualizedTable/components/Actions/components/ActionsList/ActionsList.types.d.ts +2 -0
  248. package/dist/lib/components/VirtualizedTable/components/Actions/components/InlineActions/InlineActions.d.ts +1 -1
  249. package/dist/lib/components/VirtualizedTable/components/Actions/components/PortalActions/PortalActions.d.ts +1 -1
  250. package/dist/lib/components/VirtualizedTable/components/Actions/components/PortalActions/hooks/use-actions-menu/use-actions-menu.d.ts +4 -1
  251. package/dist/lib/components/VirtualizedTable/components/Actions/components/PortalActions/hooks/use-actions-menu/use-actions-menu.types.d.ts +3 -0
  252. package/dist/lib/components/VirtualizedTable/components/Actions/components/PortalActions/hooks/use-menu-interactions/use-menu-interactions.d.ts +3 -1
  253. package/dist/lib/components/VirtualizedTable/components/Actions/components/PortalActions/hooks/use-menu-interactions/use-menu-interactions.types.d.ts +1 -0
  254. package/dist/lib/components/VirtualizedTable/components/EmptyResults/EmptyResults.d.ts +3 -0
  255. package/dist/lib/components/VirtualizedTable/components/EmptyResults/EmptyResults.types.d.ts +9 -0
  256. package/dist/lib/components/VirtualizedTable/components/EmptyState/EmptyState.d.ts +3 -0
  257. package/dist/lib/components/VirtualizedTable/components/EmptyState/EmptyState.types.d.ts +8 -0
  258. package/dist/lib/components/VirtualizedTable/components/ErrorState/ErrorState.d.ts +3 -0
  259. package/dist/lib/components/VirtualizedTable/components/ErrorState/ErrorState.types.d.ts +9 -0
  260. package/dist/lib/components/VirtualizedTable/components/TruncateText/TruncateText.d.ts +2 -1
  261. package/dist/lib/components/VirtualizedTable/components/TruncateText/TruncateText.types.d.ts +8 -3
  262. package/dist/lib/components/VirtualizedTable/components/VirtualizedTableContent/VirtualizedTableContent.d.ts +3 -0
  263. package/dist/lib/components/VirtualizedTable/components/index.d.ts +3 -0
  264. package/dist/lib/components/VirtualizedTable/contexts/table.context.d.ts +1 -0
  265. package/dist/lib/components/index.d.ts +10 -0
  266. package/dist/package.json +31 -30
  267. package/dist/{phone-number.provider-BASl9fGG.js → phone-number.provider-DnuL-yYF.js} +4 -4
  268. package/dist/styles.css +1 -1
  269. package/dist/{table.provider-MQ4T5Xb5.js → table.provider-CW1fpZcF.js} +80 -79
  270. package/package.json +31 -30
  271. package/dist/AnimatePresence-BsUYG9bm.js +0 -186
  272. package/dist/Checkbox-CrNxsm3G.js +0 -247
  273. package/dist/Counter-DN50BVq6.js +0 -194
  274. package/dist/DropdownButton-Blhkj-Oi.js +0 -490
  275. package/dist/FlagSelectorList-ClKGwDpS.js +0 -918
  276. package/dist/Modal-Bk1I_NCC.js +0 -81
  277. package/dist/Spinner-smR3esbL.js +0 -47
  278. package/dist/Switch-CPE8v6Zh.js +0 -199
  279. package/dist/Toast-CRPLONv9.js +0 -77
  280. package/dist/components-z-LYRWfq.js +0 -124
  281. package/dist/dist-CNui_Egg.js +0 -451
  282. package/dist/dist-CR3FMRzF.js +0 -118
  283. package/dist/dist-D5Q2IYuC.js +0 -358
  284. package/dist/dist-D70ZJkHf.js +0 -29
  285. package/dist/dist-DZ_SU77k.js +0 -437
  286. package/dist/dist-LRkZdylX.js +0 -174
  287. package/dist/dist-f8EwfITY.js +0 -194
  288. package/dist/dist-pWlMx4Fi.js +0 -36
  289. package/dist/dist-uerXivvM.js +0 -178
  290. package/dist/dist-xCbHbMLA.js +0 -116
  291. package/dist/es2015-Hhb87ipX.js +0 -231
  292. package/dist/react-C685EsYG.js +0 -4730
@@ -1,33 +1,33 @@
1
- import { a as Xt } from "./dist-xCbHbMLA.js";
2
- import { t as Ot } from "./dist-CCdbu9GU.js";
3
- import { i as ve, n as xt } from "./dist-D-yS0HN8.js";
4
- import { t as xe } from "./dist-D70ZJkHf.js";
5
- import { t as ye } from "./dist-pWlMx4Fi.js";
1
+ import { a as qt } from "./dist-CK8FUUUn.js";
2
+ import { t as Ot } from "./dist-CYuWoi9I.js";
3
+ import { i as ve, n as xt } from "./dist-DbeY0Pzx.js";
4
+ import { t as Ae } from "./dist-C0OhTLFV.js";
5
+ import { t as be } from "./dist-vDSmnSS_.js";
6
6
  import * as O from "react";
7
- import { useLayoutEffect as be } from "react";
8
- import * as Ae from "react-dom";
7
+ import { useLayoutEffect as Re } from "react";
8
+ import * as Pe from "react-dom";
9
9
  import { jsx as V } from "react/jsx-runtime";
10
- var Re = [
10
+ var Oe = [
11
11
  "top",
12
12
  "right",
13
13
  "bottom",
14
14
  "left"
15
- ], K = Math.min, I = Math.max, lt = Math.round, st = Math.floor, j = (t) => ({
15
+ ], U = Math.min, I = Math.max, lt = Math.round, st = Math.floor, j = (t) => ({
16
16
  x: t,
17
17
  y: t
18
- }), Pe = {
18
+ }), Ce = {
19
19
  left: "right",
20
20
  right: "left",
21
21
  bottom: "top",
22
22
  top: "bottom"
23
23
  };
24
- function Yt(t, e, n) {
25
- return I(t, K(e, n));
24
+ function Ut(t, e, n) {
25
+ return I(t, U(e, n));
26
26
  }
27
27
  function Y(t, e) {
28
28
  return typeof t == "function" ? t(e) : t;
29
29
  }
30
- function U(t) {
30
+ function K(t) {
31
31
  return t.split("-")[0];
32
32
  }
33
33
  function et(t) {
@@ -46,13 +46,13 @@ function N(t) {
46
46
  function Et(t) {
47
47
  return Ct(N(t));
48
48
  }
49
- function Oe(t, e, n) {
49
+ function Se(t, e, n) {
50
50
  n === void 0 && (n = !1);
51
51
  const r = et(t), i = Et(t), o = St(i);
52
52
  let s = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
53
53
  return e.reference[o] > e.floating[o] && (s = at(s)), [s, at(s)];
54
54
  }
55
- function Ce(t) {
55
+ function Ee(t) {
56
56
  const e = at(t);
57
57
  return [
58
58
  Rt(t),
@@ -63,29 +63,29 @@ function Ce(t) {
63
63
  function Rt(t) {
64
64
  return t.includes("start") ? t.replace("start", "end") : t.replace("end", "start");
65
65
  }
66
- var Ft = ["left", "right"], Wt = ["right", "left"], Se = ["top", "bottom"], Ee = ["bottom", "top"];
67
- function Le(t, e, n) {
66
+ var Ft = ["left", "right"], Wt = ["right", "left"], Le = ["top", "bottom"], Te = ["bottom", "top"];
67
+ function $e(t, e, n) {
68
68
  switch (t) {
69
69
  case "top":
70
70
  case "bottom":
71
71
  return n ? e ? Wt : Ft : e ? Ft : Wt;
72
72
  case "left":
73
73
  case "right":
74
- return e ? Se : Ee;
74
+ return e ? Le : Te;
75
75
  default:
76
76
  return [];
77
77
  }
78
78
  }
79
- function Te(t, e, n, r) {
79
+ function De(t, e, n, r) {
80
80
  const i = et(t);
81
- let o = Le(U(t), n === "start", r);
81
+ let o = $e(K(t), n === "start", r);
82
82
  return i && (o = o.map((s) => s + "-" + i), e && (o = o.concat(o.map(Rt)))), o;
83
83
  }
84
84
  function at(t) {
85
- const e = U(t);
86
- return Pe[e] + t.slice(e.length);
85
+ const e = K(t);
86
+ return Ce[e] + t.slice(e.length);
87
87
  }
88
- function $e(t) {
88
+ function Me(t) {
89
89
  var e, n, r, i;
90
90
  return {
91
91
  top: (e = t.top) != null ? e : 0,
@@ -94,8 +94,8 @@ function $e(t) {
94
94
  left: (i = t.left) != null ? i : 0
95
95
  };
96
96
  }
97
- function qt(t) {
98
- return typeof t != "number" ? $e(t) : {
97
+ function Kt(t) {
98
+ return typeof t != "number" ? Me(t) : {
99
99
  top: t,
100
100
  right: t,
101
101
  bottom: t,
@@ -117,7 +117,7 @@ function ft(t) {
117
117
  }
118
118
  function kt(t, e, n) {
119
119
  let { reference: r, floating: i } = t;
120
- const o = N(e), s = Et(e), c = St(s), l = U(e), u = o === "y", f = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, p = r[c] / 2 - i[c] / 2;
120
+ const o = N(e), s = Et(e), c = St(s), l = K(e), u = o === "y", f = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, p = r[c] / 2 - i[c] / 2;
121
121
  let a;
122
122
  switch (l) {
123
123
  case "top":
@@ -153,10 +153,10 @@ function kt(t, e, n) {
153
153
  const m = et(e);
154
154
  return m && (a[s] += p * (m === "end" ? 1 : -1) * (n && u ? -1 : 1)), a;
155
155
  }
156
- async function De(t, e) {
156
+ async function _e(t, e) {
157
157
  var n;
158
158
  e === void 0 && (e = {});
159
- const { x: r, y: i, platform: o, rects: s, elements: c, strategy: l } = t, { boundary: u = "clippingAncestors", rootBoundary: f = "viewport", elementContext: d = "floating", altBoundary: p = !1, padding: a = 0 } = Y(e, t), m = qt(a), h = c[p ? d === "floating" ? "reference" : "floating" : d], g = ft(await o.getClippingRect({
159
+ const { x: r, y: i, platform: o, rects: s, elements: c, strategy: l } = t, { boundary: u = "clippingAncestors", rootBoundary: f = "viewport", elementContext: d = "floating", altBoundary: p = !1, padding: a = 0 } = Y(e, t), m = Kt(a), h = c[p ? d === "floating" ? "reference" : "floating" : d], g = ft(await o.getClippingRect({
160
160
  element: (n = await (o.isElement == null ? void 0 : o.isElement(h))) == null || n ? h : h.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(c.floating)),
161
161
  boundary: u,
162
162
  rootBoundary: f,
@@ -166,26 +166,26 @@ async function De(t, e) {
166
166
  y: i,
167
167
  width: s.floating.width,
168
168
  height: s.floating.height
169
- } : s.reference, v = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(c.floating)), b = await (o.isElement == null ? void 0 : o.isElement(v)) && await (o.getScale == null ? void 0 : o.getScale(v)) || {
169
+ } : s.reference, y = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(c.floating)), A = await (o.isElement == null ? void 0 : o.isElement(y)) && await (o.getScale == null ? void 0 : o.getScale(y)) || {
170
170
  x: 1,
171
171
  y: 1
172
- }, y = ft(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({
172
+ }, v = ft(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({
173
173
  elements: c,
174
174
  rect: w,
175
- offsetParent: v,
175
+ offsetParent: y,
176
176
  strategy: l
177
177
  }) : w);
178
178
  return {
179
- top: (g.top - y.top + m.top) / b.y,
180
- bottom: (y.bottom - g.bottom + m.bottom) / b.y,
181
- left: (g.left - y.left + m.left) / b.x,
182
- right: (y.right - g.right + m.right) / b.x
179
+ top: (g.top - v.top + m.top) / A.y,
180
+ bottom: (v.bottom - g.bottom + m.bottom) / A.y,
181
+ left: (g.left - v.left + m.left) / A.x,
182
+ right: (v.right - g.right + m.right) / A.x
183
183
  };
184
184
  }
185
- var Me = 50, _e = async (t, e, n) => {
185
+ var Fe = 50, We = async (t, e, n) => {
186
186
  const { placement: r = "bottom", strategy: i = "absolute", middleware: o = [], platform: s } = n, c = s.detectOverflow ? s : {
187
187
  ...s,
188
- detectOverflow: De
188
+ detectOverflow: _e
189
189
  }, l = await (s.isRTL == null ? void 0 : s.isRTL(e));
190
190
  let u = await s.getElementRects({
191
191
  reference: t,
@@ -196,7 +196,7 @@ var Me = 50, _e = async (t, e, n) => {
196
196
  for (let h = 0; h < o.length; h++) {
197
197
  const g = o[h];
198
198
  if (!g) continue;
199
- const { name: w, fn: v } = g, { x: b, y, data: R, reset: x } = await v({
199
+ const { name: w, fn: y } = g, { x: A, y: v, data: R, reset: x } = await y({
200
200
  x: f,
201
201
  y: d,
202
202
  initialPlacement: r,
@@ -210,10 +210,10 @@ var Me = 50, _e = async (t, e, n) => {
210
210
  floating: e
211
211
  }
212
212
  });
213
- f = b ?? f, d = y ?? d, m[w] = {
213
+ f = A ?? f, d = v ?? d, m[w] = {
214
214
  ...m[w],
215
215
  ...R
216
- }, x && a < Me && (a++, typeof x == "object" && (x.placement && (p = x.placement), x.rects && (u = x.rects === !0 ? await s.getElementRects({
216
+ }, x && a < Fe && (a++, typeof x == "object" && (x.placement && (p = x.placement), x.rects && (u = x.rects === !0 ? await s.getElementRects({
217
217
  reference: t,
218
218
  floating: e,
219
219
  strategy: i
@@ -226,30 +226,30 @@ var Me = 50, _e = async (t, e, n) => {
226
226
  strategy: i,
227
227
  middlewareData: m
228
228
  };
229
- }, Fe = (t) => ({
229
+ }, ke = (t) => ({
230
230
  name: "arrow",
231
231
  options: t,
232
232
  async fn(e) {
233
233
  const { x: n, y: r, placement: i, rects: o, platform: s, elements: c, middlewareData: l } = e, { element: u, padding: f = 0 } = Y(t, e) || {};
234
234
  if (u == null) return {};
235
- const d = qt(f), p = {
235
+ const d = Kt(f), p = {
236
236
  x: n,
237
237
  y: r
238
- }, a = Et(i), m = St(a), h = await s.getDimensions(u), g = a === "y", w = g ? "top" : "left", v = g ? "bottom" : "right", b = g ? "clientHeight" : "clientWidth", y = o.reference[m] + o.reference[a] - p[a] - o.floating[m], R = p[a] - o.reference[a], x = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(u));
239
- let A = x ? x[b] : 0;
240
- (!A || !await (s.isElement == null ? void 0 : s.isElement(x))) && (A = c.floating[b] || o.floating[m]);
241
- const C = y / 2 - R / 2, D = A / 2 - h[m] / 2 - 1, $ = K(d[w], D), k = K(d[v], D), H = A - h[m] - k, T = A / 2 - h[m] / 2 + C, S = Yt($, T, H), F = !l.arrow && et(i) != null && T !== S && o.reference[m] / 2 - (T < $ ? $ : k) - h[m] / 2 < 0, E = F ? T < $ ? T - $ : T - H : 0;
238
+ }, a = Et(i), m = St(a), h = await s.getDimensions(u), g = a === "y", w = g ? "top" : "left", y = g ? "bottom" : "right", A = g ? "clientHeight" : "clientWidth", v = o.reference[m] + o.reference[a] - p[a] - o.floating[m], R = p[a] - o.reference[a], x = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(u));
239
+ let b = x ? x[A] : 0;
240
+ (!b || !await (s.isElement == null ? void 0 : s.isElement(x))) && (b = c.floating[A] || o.floating[m]);
241
+ const S = v / 2 - R / 2, D = b / 2 - h[m] / 2 - 1, $ = U(d[w], D), k = U(d[y], D), H = b - h[m] - k, T = b / 2 - h[m] / 2 + S, C = Ut($, T, H), F = !l.arrow && et(i) != null && T !== C && o.reference[m] / 2 - (T < $ ? $ : k) - h[m] / 2 < 0, E = F ? T < $ ? T - $ : T - H : 0;
242
242
  return {
243
243
  [a]: p[a] + E,
244
244
  data: {
245
- [a]: S,
246
- centerOffset: T - S - E,
245
+ [a]: C,
246
+ centerOffset: T - C - E,
247
247
  ...F && { alignmentOffset: E }
248
248
  },
249
249
  reset: F
250
250
  };
251
251
  }
252
- }), We = function(t) {
252
+ }), He = function(t) {
253
253
  return t === void 0 && (t = {}), {
254
254
  name: "flip",
255
255
  options: t,
@@ -257,24 +257,24 @@ var Me = 50, _e = async (t, e, n) => {
257
257
  var n, r;
258
258
  const { placement: i, middlewareData: o, rects: s, initialPlacement: c, platform: l, elements: u } = e, { mainAxis: f = !0, crossAxis: d = !0, fallbackPlacements: p, fallbackStrategy: a = "bestFit", fallbackAxisSideDirection: m = "none", flipAlignment: h = !0, ...g } = Y(t, e);
259
259
  if ((n = o.arrow) != null && n.alignmentOffset) return {};
260
- const w = U(i), v = N(c), b = U(c) === c, y = await (l.isRTL == null ? void 0 : l.isRTL(u.floating)), R = p || (b || !h ? [at(c)] : Ce(c)), x = m !== "none";
261
- !p && x && R.push(...Te(c, h, m, y));
262
- const A = [c, ...R], C = await l.detectOverflow(e, g), D = [];
260
+ const w = K(i), y = N(c), A = K(c) === c, v = await (l.isRTL == null ? void 0 : l.isRTL(u.floating)), R = p || (A || !h ? [at(c)] : Ee(c)), x = m !== "none";
261
+ !p && x && R.push(...De(c, h, m, v));
262
+ const b = [c, ...R], S = await l.detectOverflow(e, g), D = [];
263
263
  let $ = ((r = o.flip) == null ? void 0 : r.overflows) || [];
264
- if (f && D.push(C[w]), d) {
265
- const S = Oe(i, s, y);
266
- D.push(C[S[0]], C[S[1]]);
264
+ if (f && D.push(S[w]), d) {
265
+ const C = Se(i, s, v);
266
+ D.push(S[C[0]], S[C[1]]);
267
267
  }
268
268
  if ($ = [...$, {
269
269
  placement: i,
270
270
  overflows: D
271
- }], !D.every((S) => S <= 0)) {
271
+ }], !D.every((C) => C <= 0)) {
272
272
  var k, H;
273
- const S = (((k = o.flip) == null ? void 0 : k.index) || 0) + 1, F = A[S];
274
- if (F && (!(d === "alignment" && v !== N(F)) || $.every((M) => N(M.placement) === v ? M.overflows[0] > 0 : !0)))
273
+ const C = (((k = o.flip) == null ? void 0 : k.index) || 0) + 1, F = b[C];
274
+ if (F && (!(d === "alignment" && y !== N(F)) || $.every((M) => N(M.placement) === y ? M.overflows[0] > 0 : !0)))
275
275
  return {
276
276
  data: {
277
- index: S,
277
+ index: C,
278
278
  overflows: $
279
279
  },
280
280
  reset: { placement: F }
@@ -286,7 +286,7 @@ var Me = 50, _e = async (t, e, n) => {
286
286
  const M = (T = $.filter((P) => {
287
287
  if (x) {
288
288
  const L = N(P.placement);
289
- return L === v || L === "y";
289
+ return L === y || L === "y";
290
290
  }
291
291
  return !0;
292
292
  }).map((P) => [P.placement, P.overflows.filter((L) => L > 0).reduce((L, W) => L + W, 0)]).sort((P, L) => P[1] - L[1])[0]) == null ? void 0 : T[0];
@@ -311,9 +311,9 @@ function Ht(t, e) {
311
311
  };
312
312
  }
313
313
  function Nt(t) {
314
- return Re.some((e) => t[e] >= 0);
314
+ return Oe.some((e) => t[e] >= 0);
315
315
  }
316
- var ke = function(t) {
316
+ var Ne = function(t) {
317
317
  return t === void 0 && (t = {}), {
318
318
  name: "hide",
319
319
  options: t,
@@ -345,9 +345,9 @@ var ke = function(t) {
345
345
  }
346
346
  }
347
347
  };
348
- }, Kt = /* @__PURE__ */ new Set(["left", "top"]);
349
- async function He(t, e) {
350
- const { placement: n, platform: r, elements: i } = t, o = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), s = U(n), c = et(n), l = N(n) === "y", u = Kt.has(s) ? -1 : 1, f = o && l ? -1 : 1, d = Y(e, t);
348
+ }, Zt = /* @__PURE__ */ new Set(["left", "top"]);
349
+ async function ze(t, e) {
350
+ const { placement: n, platform: r, elements: i } = t, o = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), s = K(n), c = et(n), l = N(n) === "y", u = Zt.has(s) ? -1 : 1, f = o && l ? -1 : 1, d = Y(e, t);
351
351
  let { mainAxis: p, crossAxis: a, alignmentAxis: m } = typeof d == "number" ? {
352
352
  mainAxis: d,
353
353
  crossAxis: 0,
@@ -365,13 +365,13 @@ async function He(t, e) {
365
365
  y: a * f
366
366
  };
367
367
  }
368
- var Ne = function(t) {
368
+ var Be = function(t) {
369
369
  return t === void 0 && (t = 0), {
370
370
  name: "offset",
371
371
  options: t,
372
372
  async fn(e) {
373
373
  var n, r;
374
- const { x: i, y: o, placement: s, middlewareData: c } = e, l = await He(e, t);
374
+ const { x: i, y: o, placement: s, middlewareData: c } = e, l = await ze(e, t);
375
375
  return s === ((n = c.offset) == null ? void 0 : n.placement) && (r = c.arrow) != null && r.alignmentOffset ? {} : {
376
376
  x: i + l.x,
377
377
  y: o + l.y,
@@ -382,23 +382,23 @@ var Ne = function(t) {
382
382
  };
383
383
  }
384
384
  };
385
- }, ze = function(t) {
385
+ }, Ve = function(t) {
386
386
  return t === void 0 && (t = {}), {
387
387
  name: "shift",
388
388
  options: t,
389
389
  async fn(e) {
390
- const { x: n, y: r, placement: i, platform: o } = e, { mainAxis: s = !0, crossAxis: c = !1, limiter: l = { fn: (v) => {
391
- let { x: b, y } = v;
390
+ const { x: n, y: r, placement: i, platform: o } = e, { mainAxis: s = !0, crossAxis: c = !1, limiter: l = { fn: (y) => {
391
+ let { x: A, y: v } = y;
392
392
  return {
393
- x: b,
394
- y
393
+ x: A,
394
+ y: v
395
395
  };
396
396
  } }, ...u } = Y(t, e), f = {
397
397
  x: n,
398
398
  y: r
399
399
  }, d = await o.detectOverflow(e, u), p = N(i), a = Ct(p);
400
400
  let m = f[a], h = f[p];
401
- const g = (v, b) => Yt(b + d[v === "y" ? "top" : "left"], b, b - d[v === "y" ? "bottom" : "right"]);
401
+ const g = (y, A) => Ut(A + d[y === "y" ? "top" : "left"], A, A - d[y === "y" ? "bottom" : "right"]);
402
402
  s && (m = g(a, m)), c && (h = g(p, h));
403
403
  const w = l.fn({
404
404
  ...e,
@@ -418,7 +418,7 @@ var Ne = function(t) {
418
418
  };
419
419
  }
420
420
  };
421
- }, Be = function(t) {
421
+ }, Ie = function(t) {
422
422
  return t === void 0 && (t = {}), {
423
423
  options: t,
424
424
  fn(e) {
@@ -428,7 +428,7 @@ var Ne = function(t) {
428
428
  y: o
429
429
  }, a = N(s), m = Ct(a);
430
430
  let h = p[m], g = p[a];
431
- const w = Y(u, e), v = typeof w == "number" ? {
431
+ const w = Y(u, e), y = typeof w == "number" ? {
432
432
  mainAxis: w,
433
433
  crossAxis: 0
434
434
  } : {
@@ -436,13 +436,13 @@ var Ne = function(t) {
436
436
  crossAxis: (r = w.crossAxis) != null ? r : 0
437
437
  };
438
438
  if (f) {
439
- const R = m === "y" ? "height" : "width", x = c.reference[m] - c.floating[R] + v.mainAxis, A = c.reference[m] + c.reference[R] - v.mainAxis;
440
- h < x ? h = x : h > A && (h = A);
439
+ const R = m === "y" ? "height" : "width", x = c.reference[m] - c.floating[R] + y.mainAxis, b = c.reference[m] + c.reference[R] - y.mainAxis;
440
+ h < x ? h = x : h > b && (h = b);
441
441
  }
442
442
  if (d) {
443
- var b, y;
444
- const R = m === "y" ? "width" : "height", x = Kt.has(U(s)), A = c.reference[a] - c.floating[R] + (x && ((b = l.offset) == null ? void 0 : b[a]) || 0) + (x ? 0 : v.crossAxis), C = c.reference[a] + c.reference[R] + (x ? 0 : ((y = l.offset) == null ? void 0 : y[a]) || 0) - (x ? v.crossAxis : 0);
445
- g < A ? g = A : g > C && (g = C);
443
+ var A, v;
444
+ const R = m === "y" ? "width" : "height", x = Zt.has(K(s)), b = c.reference[a] - c.floating[R] + (x && ((A = l.offset) == null ? void 0 : A[a]) || 0) + (x ? 0 : y.crossAxis), S = c.reference[a] + c.reference[R] + (x ? 0 : ((v = l.offset) == null ? void 0 : v[a]) || 0) - (x ? y.crossAxis : 0);
445
+ g < b ? g = b : g > S && (g = S);
446
446
  }
447
447
  return {
448
448
  [m]: h,
@@ -450,24 +450,24 @@ var Ne = function(t) {
450
450
  };
451
451
  }
452
452
  };
453
- }, Ve = function(t) {
453
+ }, je = function(t) {
454
454
  return t === void 0 && (t = {}), {
455
455
  name: "size",
456
456
  options: t,
457
457
  async fn(e) {
458
458
  const { placement: n, rects: r, platform: i, elements: o } = e, { apply: s = () => {
459
- }, ...c } = Y(t, e), l = await i.detectOverflow(e, c), u = U(n), f = et(n), d = N(n) === "y", { width: p, height: a } = r.floating;
459
+ }, ...c } = Y(t, e), l = await i.detectOverflow(e, c), u = K(n), f = et(n), d = N(n) === "y", { width: p, height: a } = r.floating;
460
460
  let m, h;
461
461
  u === "top" || u === "bottom" ? (m = u, h = f === (await (i.isRTL == null ? void 0 : i.isRTL(o.floating)) ? "start" : "end") ? "left" : "right") : (h = u, m = f === "end" ? "top" : "bottom");
462
- const g = a - l.top - l.bottom, w = p - l.left - l.right, v = K(a - l[m], g), b = K(p - l[h], w), y = e.middlewareData.shift, R = !y;
463
- let x = v, A = b;
464
- y != null && y.enabled.x && (A = w), y != null && y.enabled.y && (x = g), R && !f && (d ? A = p - 2 * I(l.left, l.right) : x = a - 2 * I(l.top, l.bottom)), await s({
462
+ const g = a - l.top - l.bottom, w = p - l.left - l.right, y = U(a - l[m], g), A = U(p - l[h], w), v = e.middlewareData.shift, R = !v;
463
+ let x = y, b = A;
464
+ v != null && v.enabled.x && (b = w), v != null && v.enabled.y && (x = g), R && !f && (d ? b = p - 2 * I(l.left, l.right) : x = a - 2 * I(l.top, l.bottom)), await s({
465
465
  ...e,
466
- availableWidth: A,
466
+ availableWidth: b,
467
467
  availableHeight: x
468
468
  });
469
- const C = await i.getDimensions(o.floating);
470
- return p !== C.width || a !== C.height ? { reset: { rects: !0 } } : {};
469
+ const S = await i.getDimensions(o.floating);
470
+ return p !== S.width || a !== S.height ? { reset: { rects: !0 } } : {};
471
471
  }
472
472
  };
473
473
  };
@@ -475,7 +475,7 @@ function dt() {
475
475
  return typeof window < "u";
476
476
  }
477
477
  function nt(t) {
478
- return Ut(t) ? (t.nodeName || "").toLowerCase() : "#document";
478
+ return Gt(t) ? (t.nodeName || "").toLowerCase() : "#document";
479
479
  }
480
480
  function _(t) {
481
481
  var e;
@@ -483,9 +483,9 @@ function _(t) {
483
483
  }
484
484
  function q(t) {
485
485
  var e;
486
- return (e = (Ut(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
486
+ return (e = (Gt(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
487
487
  }
488
- function Ut(t) {
488
+ function Gt(t) {
489
489
  return dt() ? t instanceof Node || t instanceof _(t).Node : !1;
490
490
  }
491
491
  function z(t) {
@@ -501,7 +501,7 @@ function mt(t) {
501
501
  const { overflow: e, overflowX: n, overflowY: r, display: i } = B(t);
502
502
  return /auto|scroll|overlay|hidden|clip/.test(e + r + n) && i !== "inline" && i !== "contents";
503
503
  }
504
- function Ie(t) {
504
+ function Xe(t) {
505
505
  return /^(table|td|th)$/.test(nt(t));
506
506
  }
507
507
  function pt(t) {
@@ -515,12 +515,12 @@ function pt(t) {
515
515
  return !1;
516
516
  }
517
517
  }
518
- var je = /transform|translate|scale|rotate|perspective|filter/, Xe = /paint|layout|strict|content/, G = (t) => !!t && t !== "none", yt;
518
+ var Ye = /transform|translate|scale|rotate|perspective|filter/, qe = /paint|layout|strict|content/, G = (t) => !!t && t !== "none", vt;
519
519
  function Lt(t) {
520
520
  const e = z(t) ? B(t) : t;
521
- return G(e.transform) || G(e.translate) || G(e.scale) || G(e.rotate) || G(e.perspective) || !Tt() && (G(e.backdropFilter) || G(e.filter)) || je.test(e.willChange || "") || Xe.test(e.contain || "");
521
+ return G(e.transform) || G(e.translate) || G(e.scale) || G(e.rotate) || G(e.perspective) || !Tt() && (G(e.backdropFilter) || G(e.filter)) || Ye.test(e.willChange || "") || qe.test(e.contain || "");
522
522
  }
523
- function Ye(t) {
523
+ function Ue(t) {
524
524
  let e = J(t);
525
525
  for (; Z(e) && !rt(e); ) {
526
526
  if (Lt(e)) return e;
@@ -530,7 +530,7 @@ function Ye(t) {
530
530
  return null;
531
531
  }
532
532
  function Tt() {
533
- return yt == null && (yt = typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none")), yt;
533
+ return vt == null && (vt = typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none")), vt;
534
534
  }
535
535
  function rt(t) {
536
536
  return /^(html|body|#document)$/.test(nt(t));
@@ -552,14 +552,14 @@ function J(t) {
552
552
  const e = t.assignedSlot || t.parentNode || zt(t) && t.host || q(t);
553
553
  return zt(e) ? e.host : e;
554
554
  }
555
- function Zt(t) {
555
+ function Jt(t) {
556
556
  const e = J(t);
557
- return rt(e) ? (t.ownerDocument || t).body : Z(e) && mt(e) ? e : Zt(e);
557
+ return rt(e) ? (t.ownerDocument || t).body : Z(e) && mt(e) ? e : Jt(e);
558
558
  }
559
559
  function ot(t, e, n) {
560
560
  var r;
561
561
  e === void 0 && (e = []), n === void 0 && (n = !0);
562
- const i = Zt(t), o = i === ((r = t.ownerDocument) == null ? void 0 : r.body), s = _(i);
562
+ const i = Jt(t), o = i === ((r = t.ownerDocument) == null ? void 0 : r.body), s = _(i);
563
563
  if (o) {
564
564
  const c = Pt(s);
565
565
  return e.concat(s, s.visualViewport || [], mt(i) ? i : [], c && n ? ot(c) : []);
@@ -568,7 +568,7 @@ function ot(t, e, n) {
568
568
  function Pt(t) {
569
569
  return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
570
570
  }
571
- function Gt(t) {
571
+ function Qt(t) {
572
572
  const e = B(t);
573
573
  let n = parseFloat(e.width) || 0, r = parseFloat(e.height) || 0;
574
574
  const i = Z(t), o = i ? t.offsetWidth : n, s = i ? t.offsetHeight : r, c = lt(n) !== o || lt(r) !== s;
@@ -584,22 +584,22 @@ function $t(t) {
584
584
  function tt(t) {
585
585
  const e = $t(t);
586
586
  if (!Z(e)) return j(1);
587
- const n = e.getBoundingClientRect(), { width: r, height: i, $: o } = Gt(e);
587
+ const n = e.getBoundingClientRect(), { width: r, height: i, $: o } = Qt(e);
588
588
  let s = (o ? lt(n.width) : n.width) / r, c = (o ? lt(n.height) : n.height) / i;
589
589
  return (!s || !Number.isFinite(s)) && (s = 1), (!c || !Number.isFinite(c)) && (c = 1), {
590
590
  x: s,
591
591
  y: c
592
592
  };
593
593
  }
594
- var qe = /* @__PURE__ */ j(0);
595
- function Jt(t) {
594
+ var Ke = /* @__PURE__ */ j(0);
595
+ function te(t) {
596
596
  const e = _(t);
597
- return !Tt() || !e.visualViewport ? qe : {
597
+ return !Tt() || !e.visualViewport ? Ke : {
598
598
  x: e.visualViewport.offsetLeft,
599
599
  y: e.visualViewport.offsetTop
600
600
  };
601
601
  }
602
- function Ke(t, e, n) {
602
+ function Ze(t, e, n) {
603
603
  return e === void 0 && (e = !1), !!n && e && n === _(t);
604
604
  }
605
605
  function Q(t, e, n, r) {
@@ -607,14 +607,14 @@ function Q(t, e, n, r) {
607
607
  const i = t.getBoundingClientRect(), o = $t(t);
608
608
  let s = j(1);
609
609
  e && (r ? z(r) && (s = tt(r)) : s = tt(t));
610
- const c = Ke(o, n, r) ? Jt(o) : j(0);
610
+ const c = Ze(o, n, r) ? te(o) : j(0);
611
611
  let l = (i.left + c.x) / s.x, u = (i.top + c.y) / s.y, f = i.width / s.x, d = i.height / s.y;
612
612
  if (o && r) {
613
613
  const p = _(o), a = z(r) ? _(r) : r;
614
614
  let m = p, h = Pt(m);
615
615
  for (; h && a !== m; ) {
616
- const g = tt(h), w = h.getBoundingClientRect(), v = B(h), b = w.left + (h.clientLeft + parseFloat(v.paddingLeft)) * g.x, y = w.top + (h.clientTop + parseFloat(v.paddingTop)) * g.y;
617
- l *= g.x, u *= g.y, f *= g.x, d *= g.y, l += b, u += y, m = _(h), h = Pt(m);
616
+ const g = tt(h), w = h.getBoundingClientRect(), y = B(h), A = w.left + (h.clientLeft + parseFloat(y.paddingLeft)) * g.x, v = w.top + (h.clientTop + parseFloat(y.paddingTop)) * g.y;
617
+ l *= g.x, u *= g.y, f *= g.x, d *= g.y, l += A, u += v, m = _(h), h = Pt(m);
618
618
  }
619
619
  }
620
620
  return ft({
@@ -628,14 +628,14 @@ function gt(t, e) {
628
628
  const n = ht(t).scrollLeft;
629
629
  return e ? e.left + n : Q(q(t)).left + n;
630
630
  }
631
- function Qt(t, e) {
631
+ function ee(t, e) {
632
632
  const n = t.getBoundingClientRect();
633
633
  return {
634
634
  x: n.left + e.scrollLeft - gt(t, n),
635
635
  y: n.top + e.scrollTop
636
636
  };
637
637
  }
638
- function Ue(t) {
638
+ function Ge(t) {
639
639
  let { elements: e, rect: n, offsetParent: r, strategy: i } = t;
640
640
  const o = i === "fixed", s = q(r), c = e ? pt(e.floating) : !1;
641
641
  if (r === s || c && o) return n;
@@ -648,7 +648,7 @@ function Ue(t) {
648
648
  const a = Q(r);
649
649
  u = tt(r), f.x = a.x + r.clientLeft, f.y = a.y + r.clientTop;
650
650
  }
651
- const p = s && !d && !o ? Qt(s, l) : j(0);
651
+ const p = s && !d && !o ? ee(s, l) : j(0);
652
652
  return {
653
653
  width: n.width * u.x,
654
654
  height: n.height * u.y,
@@ -656,10 +656,10 @@ function Ue(t) {
656
656
  y: n.y * u.y - l.scrollTop * u.y + f.y + p.y
657
657
  };
658
658
  }
659
- function Ze(t) {
659
+ function Je(t) {
660
660
  return t.getClientRects ? Array.from(t.getClientRects()) : [];
661
661
  }
662
- function Ge(t) {
662
+ function Qe(t) {
663
663
  const e = ht(t), n = t.ownerDocument.body, r = I(t.scrollWidth, t.clientWidth, n.scrollWidth, n.clientWidth), i = I(t.scrollHeight, t.clientHeight, n.scrollHeight, n.clientHeight);
664
664
  let o = -e.scrollLeft + gt(t);
665
665
  const s = -e.scrollTop;
@@ -670,8 +670,8 @@ function Ge(t) {
670
670
  y: s
671
671
  };
672
672
  }
673
- var Je = 25;
674
- function Qe(t, e, n) {
673
+ var tn = 25;
674
+ function en(t, e, n) {
675
675
  n === void 0 && (n = "viewport");
676
676
  const r = n === "layoutViewport", i = _(t), o = q(t), s = i.visualViewport;
677
677
  let c = o.clientWidth, l = o.clientHeight, u = 0, f = 0;
@@ -681,7 +681,7 @@ function Qe(t, e, n) {
681
681
  }
682
682
  if (gt(o) <= 0) {
683
683
  const d = o.ownerDocument, p = d.body, a = getComputedStyle(p), m = d.compatMode === "CSS1Compat" && parseFloat(a.marginLeft) + parseFloat(a.marginRight) || 0, h = Math.abs(o.clientWidth - p.clientWidth - m), g = getComputedStyle(o).scrollbarGutter === "stable both-edges" ? h / 2 : h;
684
- g <= Je && (c -= g);
684
+ g <= tn && (c -= g);
685
685
  }
686
686
  return {
687
687
  width: c,
@@ -690,7 +690,7 @@ function Qe(t, e, n) {
690
690
  y: f
691
691
  };
692
692
  }
693
- function tn(t, e) {
693
+ function nn(t, e) {
694
694
  const n = Q(t, !0, e === "fixed"), r = n.top + t.clientTop, i = n.left + t.clientLeft, o = tt(t);
695
695
  return {
696
696
  width: t.clientWidth * o.x,
@@ -701,11 +701,11 @@ function tn(t, e) {
701
701
  }
702
702
  function Bt(t, e, n) {
703
703
  let r;
704
- if (e === "viewport" || e === "layoutViewport") r = Qe(t, n, e);
705
- else if (e === "document") r = Ge(q(t));
706
- else if (z(e)) r = tn(e, n);
704
+ if (e === "viewport" || e === "layoutViewport") r = en(t, n, e);
705
+ else if (e === "document") r = Qe(q(t));
706
+ else if (z(e)) r = nn(e, n);
707
707
  else {
708
- const i = Jt(t);
708
+ const i = te(t);
709
709
  r = {
710
710
  x: e.x - i.x,
711
711
  y: e.y - i.y,
@@ -715,7 +715,7 @@ function Bt(t, e, n) {
715
715
  }
716
716
  return ft(r);
717
717
  }
718
- function en(t, e) {
718
+ function rn(t, e) {
719
719
  const n = e.get(t);
720
720
  if (n) return n;
721
721
  let r = ot(t, [], !1).filter((c) => z(c) && nt(c) !== "body"), i = null;
@@ -727,13 +727,13 @@ function en(t, e) {
727
727
  }
728
728
  return e.set(t, r), r;
729
729
  }
730
- function nn(t) {
730
+ function on(t) {
731
731
  let { element: e, boundary: n, rootBoundary: r, strategy: i } = t;
732
- const o = [...n === "clippingAncestors" ? pt(e) ? [] : en(e, this._c) : [].concat(n), r], s = Bt(e, o[0], i);
732
+ const o = [...n === "clippingAncestors" ? pt(e) ? [] : rn(e, this._c) : [].concat(n), r], s = Bt(e, o[0], i);
733
733
  let c = s.top, l = s.right, u = s.bottom, f = s.left;
734
734
  for (let d = 1; d < o.length; d++) {
735
735
  const p = Bt(e, o[d], i);
736
- c = I(p.top, c), l = K(p.right, l), u = K(p.bottom, u), f = I(p.left, f);
736
+ c = I(p.top, c), l = U(p.right, l), u = U(p.bottom, u), f = I(p.left, f);
737
737
  }
738
738
  return {
739
739
  width: l - f,
@@ -742,14 +742,14 @@ function nn(t) {
742
742
  y: c
743
743
  };
744
744
  }
745
- function rn(t) {
746
- const { width: e, height: n } = Gt(t);
745
+ function sn(t) {
746
+ const { width: e, height: n } = Qt(t);
747
747
  return {
748
748
  width: e,
749
749
  height: n
750
750
  };
751
751
  }
752
- function on(t, e, n) {
752
+ function cn(t, e, n) {
753
753
  const r = Z(e), i = q(e), o = n === "fixed", s = Q(t, !0, o, e);
754
754
  let c = {
755
755
  scrollLeft: 0,
@@ -761,7 +761,7 @@ function on(t, e, n) {
761
761
  l.x = f.x + e.clientLeft, l.y = f.y + e.clientTop;
762
762
  }
763
763
  !r && i && (l.x = gt(i));
764
- const u = i && !r && !o ? Qt(i, c) : j(0);
764
+ const u = i && !r && !o ? ee(i, c) : j(0);
765
765
  return {
766
766
  x: s.left + c.scrollLeft - l.x - u.x,
767
767
  y: s.top + c.scrollTop - l.y - u.y,
@@ -769,7 +769,7 @@ function on(t, e, n) {
769
769
  height: s.height
770
770
  };
771
771
  }
772
- function bt(t) {
772
+ function At(t) {
773
773
  return B(t).position === "static";
774
774
  }
775
775
  function Vt(t, e) {
@@ -778,25 +778,25 @@ function Vt(t, e) {
778
778
  let n = t.offsetParent;
779
779
  return q(t) === n && (n = n.ownerDocument.body), n;
780
780
  }
781
- function te(t, e) {
781
+ function ne(t, e) {
782
782
  const n = _(t);
783
783
  if (pt(t)) return n;
784
784
  if (!Z(t)) {
785
785
  let i = J(t);
786
786
  for (; i && !rt(i); ) {
787
- if (z(i) && !bt(i)) return i;
787
+ if (z(i) && !At(i)) return i;
788
788
  i = J(i);
789
789
  }
790
790
  return n;
791
791
  }
792
792
  let r = Vt(t, e);
793
- for (; r && Ie(r) && bt(r); ) r = Vt(r, e);
794
- return r && rt(r) && bt(r) && !Lt(r) ? n : r || Ye(t) || n;
793
+ for (; r && Xe(r) && At(r); ) r = Vt(r, e);
794
+ return r && rt(r) && At(r) && !Lt(r) ? n : r || Ue(t) || n;
795
795
  }
796
- var sn = async function(t) {
797
- const e = this.getOffsetParent || te, n = this.getDimensions, r = await n(t.floating);
796
+ var ln = async function(t) {
797
+ const e = this.getOffsetParent || ne, n = this.getDimensions, r = await n(t.floating);
798
798
  return {
799
- reference: on(t.reference, await e(t.floating), t.strategy),
799
+ reference: cn(t.reference, await e(t.floating), t.strategy),
800
800
  floating: {
801
801
  x: 0,
802
802
  y: 0,
@@ -805,25 +805,25 @@ var sn = async function(t) {
805
805
  }
806
806
  };
807
807
  };
808
- function cn(t) {
808
+ function an(t) {
809
809
  return B(t).direction === "rtl";
810
810
  }
811
- var ln = {
812
- convertOffsetParentRelativeRectToViewportRelativeRect: Ue,
811
+ var fn = {
812
+ convertOffsetParentRelativeRectToViewportRelativeRect: Ge,
813
813
  getDocumentElement: q,
814
- getClippingRect: nn,
815
- getOffsetParent: te,
816
- getElementRects: sn,
817
- getClientRects: Ze,
818
- getDimensions: rn,
814
+ getClippingRect: on,
815
+ getOffsetParent: ne,
816
+ getElementRects: ln,
817
+ getClientRects: Je,
818
+ getDimensions: sn,
819
819
  getScale: tt,
820
820
  isElement: z,
821
- isRTL: cn
821
+ isRTL: an
822
822
  };
823
- function ee(t, e) {
823
+ function re(t, e) {
824
824
  return t.x === e.x && t.y === e.y && t.width === e.width && t.height === e.height;
825
825
  }
826
- function an(t, e, n) {
826
+ function un(t, e, n) {
827
827
  let r = null, i;
828
828
  const o = q(t);
829
829
  function s() {
@@ -834,14 +834,14 @@ function an(t, e, n) {
834
834
  f === void 0 && (f = !1), d === void 0 && (d = 1), s();
835
835
  const p = t.getBoundingClientRect(), { left: a, top: m, width: h, height: g } = p;
836
836
  if (f || e(), !h || !g) return;
837
- const w = st(m), v = st(o.clientWidth - (a + h)), b = st(o.clientHeight - (m + g)), y = st(a), R = {
838
- rootMargin: -w + "px " + -v + "px " + -b + "px " + -y + "px",
839
- threshold: I(0, K(1, d)) || 1
837
+ const w = st(m), y = st(o.clientWidth - (a + h)), A = st(o.clientHeight - (m + g)), v = st(a), R = {
838
+ rootMargin: -w + "px " + -y + "px " + -A + "px " + -v + "px",
839
+ threshold: I(0, U(1, d)) || 1
840
840
  };
841
841
  let x = !0;
842
- function A(C) {
843
- const D = C[0].intersectionRatio;
844
- if (!ee(p, t.getBoundingClientRect())) return c();
842
+ function b(S) {
843
+ const D = S[0].intersectionRatio;
844
+ if (!re(p, t.getBoundingClientRect())) return c();
845
845
  if (D !== d) {
846
846
  if (!x) return c();
847
847
  D ? c(!1, D) : i = setTimeout(() => {
@@ -851,12 +851,12 @@ function an(t, e, n) {
851
851
  x = !1;
852
852
  }
853
853
  try {
854
- r = new IntersectionObserver(A, {
854
+ r = new IntersectionObserver(b, {
855
855
  ...R,
856
856
  root: o.ownerDocument
857
857
  });
858
858
  } catch {
859
- r = new IntersectionObserver(A, R);
859
+ r = new IntersectionObserver(b, R);
860
860
  }
861
861
  r.observe(t);
862
862
  }
@@ -865,45 +865,45 @@ function an(t, e, n) {
865
865
  l.removeEventListener("resize", u), s();
866
866
  };
867
867
  }
868
- function fn(t, e, n, r) {
868
+ function dn(t, e, n, r) {
869
869
  r === void 0 && (r = {});
870
870
  const { ancestorScroll: i = !0, ancestorResize: o = !0, elementResize: s = typeof ResizeObserver == "function", layoutShift: c = typeof IntersectionObserver == "function", animationFrame: l = !1 } = r, u = $t(t), f = i || o ? [...u ? ot(u) : [], ...e ? ot(e) : []] : [];
871
871
  f.forEach((w) => {
872
872
  i && w.addEventListener("scroll", n), o && w.addEventListener("resize", n);
873
873
  });
874
- const d = u && c ? an(u, n, o) : null;
874
+ const d = u && c ? un(u, n, o) : null;
875
875
  let p = -1, a = null;
876
876
  s && (a = new ResizeObserver((w) => {
877
- let [v] = w;
878
- v && v.target === u && a && e && (a.unobserve(e), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
879
- var b;
880
- (b = a) == null || b.observe(e);
877
+ let [y] = w;
878
+ y && y.target === u && a && e && (a.unobserve(e), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
879
+ var A;
880
+ (A = a) == null || A.observe(e);
881
881
  })), n();
882
882
  }), u && !l && a.observe(u), e && a.observe(e));
883
883
  let m, h = l ? Q(t) : null;
884
884
  l && g();
885
885
  function g() {
886
886
  const w = Q(t);
887
- h && !ee(h, w) && n(), h = w, m = requestAnimationFrame(g);
887
+ h && !re(h, w) && n(), h = w, m = requestAnimationFrame(g);
888
888
  }
889
889
  return n(), () => {
890
890
  var w;
891
- f.forEach((v) => {
892
- i && v.removeEventListener("scroll", n), o && v.removeEventListener("resize", n);
891
+ f.forEach((y) => {
892
+ i && y.removeEventListener("scroll", n), o && y.removeEventListener("resize", n);
893
893
  }), d?.(), (w = a) == null || w.disconnect(), a = null, l && cancelAnimationFrame(m);
894
894
  };
895
895
  }
896
- var un = Ne, dn = ze, mn = We, pn = Ve, hn = ke, It = Fe, gn = Be, wn = (t, e, n) => {
896
+ var mn = Be, pn = Ve, hn = He, gn = je, wn = Ne, It = ke, yn = Ie, xn = (t, e, n) => {
897
897
  const r = /* @__PURE__ */ new Map(), i = n ?? {}, o = {
898
- ...ln,
898
+ ...fn,
899
899
  ...i.platform,
900
900
  _c: r
901
901
  };
902
- return _e(t, e, {
902
+ return We(t, e, {
903
903
  ...i,
904
904
  platform: o
905
905
  });
906
- }, ct = typeof document < "u" ? be : function() {
906
+ }, ct = typeof document < "u" ? Re : function() {
907
907
  };
908
908
  function ut(t, e) {
909
909
  if (t === e) return !0;
@@ -927,14 +927,14 @@ function ut(t, e) {
927
927
  }
928
928
  return t !== t && e !== e;
929
929
  }
930
- function ne(t) {
930
+ function oe(t) {
931
931
  return typeof window > "u" ? 1 : (t.ownerDocument.defaultView || window).devicePixelRatio || 1;
932
932
  }
933
933
  function jt(t, e) {
934
- const n = ne(t);
934
+ const n = oe(t);
935
935
  return Math.round(e * n) / n;
936
936
  }
937
- function At(t) {
937
+ function bt(t) {
938
938
  const e = O.useRef(t);
939
939
  return ct(() => {
940
940
  e.current = t;
@@ -951,23 +951,23 @@ function vn(t) {
951
951
  isPositioned: !1
952
952
  }), [p, a] = O.useState(r);
953
953
  ut(p, r) || a(r);
954
- const [m, h] = O.useState(null), [g, w] = O.useState(null), v = O.useCallback((P) => {
954
+ const [m, h] = O.useState(null), [g, w] = O.useState(null), y = O.useCallback((P) => {
955
955
  P !== x.current && (x.current = P, h(P));
956
- }, []), b = O.useCallback((P) => {
957
- P !== A.current && (A.current = P, w(P));
958
- }, []), y = o || m, R = s || g, x = O.useRef(null), A = O.useRef(null), C = O.useRef(f), D = l != null, $ = At(l), k = At(i), H = At(u), T = O.useCallback(() => {
959
- if (!x.current || !A.current) return;
956
+ }, []), A = O.useCallback((P) => {
957
+ P !== b.current && (b.current = P, w(P));
958
+ }, []), v = o || m, R = s || g, x = O.useRef(null), b = O.useRef(null), S = O.useRef(f), D = l != null, $ = bt(l), k = bt(i), H = bt(u), T = O.useCallback(() => {
959
+ if (!x.current || !b.current) return;
960
960
  const P = {
961
961
  placement: e,
962
962
  strategy: n,
963
963
  middleware: p
964
964
  };
965
- k.current && (P.platform = k.current), wn(x.current, A.current, P).then((L) => {
965
+ k.current && (P.platform = k.current), xn(x.current, b.current, P).then((L) => {
966
966
  const W = {
967
967
  ...L,
968
968
  isPositioned: H.current !== !1
969
969
  };
970
- S.current && !ut(C.current, W) && (C.current = W, Ae.flushSync(() => {
970
+ C.current && !ut(S.current, W) && (S.current = W, Pe.flushSync(() => {
971
971
  d(W);
972
972
  }));
973
973
  });
@@ -979,21 +979,21 @@ function vn(t) {
979
979
  H
980
980
  ]);
981
981
  ct(() => {
982
- u === !1 && C.current.isPositioned && (C.current.isPositioned = !1, d((P) => ({
982
+ u === !1 && S.current.isPositioned && (S.current.isPositioned = !1, d((P) => ({
983
983
  ...P,
984
984
  isPositioned: !1
985
985
  })));
986
986
  }, [u]);
987
- const S = O.useRef(!1);
988
- ct(() => (S.current = !0, () => {
989
- S.current = !1;
987
+ const C = O.useRef(!1);
988
+ ct(() => (C.current = !0, () => {
989
+ C.current = !1;
990
990
  }), []), ct(() => {
991
- if (y && (x.current = y), R && (A.current = R), y && R) {
992
- if ($.current) return $.current(y, R, T);
991
+ if (v && (x.current = v), R && (b.current = R), v && R) {
992
+ if ($.current) return $.current(v, R, T);
993
993
  T();
994
994
  }
995
995
  }, [
996
- y,
996
+ v,
997
997
  R,
998
998
  T,
999
999
  $,
@@ -1001,13 +1001,13 @@ function vn(t) {
1001
1001
  ]);
1002
1002
  const F = O.useMemo(() => ({
1003
1003
  reference: x,
1004
- floating: A,
1005
- setReference: v,
1006
- setFloating: b
1007
- }), [v, b]), E = O.useMemo(() => ({
1008
- reference: y,
1004
+ floating: b,
1005
+ setReference: y,
1006
+ setFloating: A
1007
+ }), [y, A]), E = O.useMemo(() => ({
1008
+ reference: v,
1009
1009
  floating: R
1010
- }), [y, R]), M = O.useMemo(() => {
1010
+ }), [v, R]), M = O.useMemo(() => {
1011
1011
  const P = {
1012
1012
  position: n,
1013
1013
  left: 0,
@@ -1018,7 +1018,7 @@ function vn(t) {
1018
1018
  return c ? {
1019
1019
  ...P,
1020
1020
  transform: "translate(" + L + "px, " + W + "px)",
1021
- ...ne(E.floating) >= 1.5 && { willChange: "transform" }
1021
+ ...oe(E.floating) >= 1.5 && { willChange: "transform" }
1022
1022
  } : {
1023
1023
  position: n,
1024
1024
  left: L,
@@ -1045,7 +1045,7 @@ function vn(t) {
1045
1045
  M
1046
1046
  ]);
1047
1047
  }
1048
- var xn = (t) => {
1048
+ var An = (t) => {
1049
1049
  function e(n) {
1050
1050
  return {}.hasOwnProperty.call(n, "current");
1051
1051
  }
@@ -1063,55 +1063,55 @@ var xn = (t) => {
1063
1063
  }).fn(n) : {};
1064
1064
  }
1065
1065
  };
1066
- }, yn = (t, e) => {
1067
- const n = un(t);
1066
+ }, bn = (t, e) => {
1067
+ const n = mn(t);
1068
1068
  return {
1069
1069
  name: n.name,
1070
1070
  fn: n.fn,
1071
1071
  options: [t, e]
1072
1072
  };
1073
- }, bn = (t, e) => {
1074
- const n = dn(t);
1073
+ }, Rn = (t, e) => {
1074
+ const n = pn(t);
1075
1075
  return {
1076
1076
  name: n.name,
1077
1077
  fn: n.fn,
1078
1078
  options: [t, e]
1079
1079
  };
1080
- }, An = (t, e) => ({
1081
- fn: gn(t).fn,
1080
+ }, Pn = (t, e) => ({
1081
+ fn: yn(t).fn,
1082
1082
  options: [t, e]
1083
- }), Rn = (t, e) => {
1084
- const n = mn(t);
1083
+ }), On = (t, e) => {
1084
+ const n = hn(t);
1085
1085
  return {
1086
1086
  name: n.name,
1087
1087
  fn: n.fn,
1088
1088
  options: [t, e]
1089
1089
  };
1090
- }, Pn = (t, e) => {
1091
- const n = pn(t);
1090
+ }, Cn = (t, e) => {
1091
+ const n = gn(t);
1092
1092
  return {
1093
1093
  name: n.name,
1094
1094
  fn: n.fn,
1095
1095
  options: [t, e]
1096
1096
  };
1097
- }, On = (t, e) => {
1098
- const n = hn(t);
1097
+ }, Sn = (t, e) => {
1098
+ const n = wn(t);
1099
1099
  return {
1100
1100
  name: n.name,
1101
1101
  fn: n.fn,
1102
1102
  options: [t, e]
1103
1103
  };
1104
- }, Cn = (t, e) => {
1105
- const n = xn(t);
1104
+ }, En = (t, e) => {
1105
+ const n = An(t);
1106
1106
  return {
1107
1107
  name: n.name,
1108
1108
  fn: n.fn,
1109
1109
  options: [t, e]
1110
1110
  };
1111
- }, Sn = Object.defineProperty, En = (t, e) => Sn(t, "name", {
1111
+ }, Ln = Object.defineProperty, Tn = (t, e) => Ln(t, "name", {
1112
1112
  value: e,
1113
1113
  configurable: !0
1114
- }), Ln = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ En(function(e, n) {
1114
+ }), $n = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ Tn(function(e, n) {
1115
1115
  const { children: r, width: i = 10, height: o = 5, ...s } = e;
1116
1116
  return /* @__PURE__ */ V(Ot.svg, {
1117
1117
  ...s,
@@ -1122,12 +1122,18 @@ var xn = (t) => {
1122
1122
  preserveAspectRatio: "none",
1123
1123
  children: e.asChild ? r : /* @__PURE__ */ V("polygon", { points: "0,0 30,0 15,10" })
1124
1124
  });
1125
- }, "Arrow")), Tn = Ln, $n = Object.defineProperty, X = (t, e) => $n(t, "name", {
1125
+ }, "Arrow")), Dn = Object.defineProperty, X = (t, e) => Dn(t, "name", {
1126
1126
  value: e,
1127
1127
  configurable: !0
1128
- }), re = "Popper", [oe, Zn] = ve(re), [Dn, ie] = oe(re), Mn = /* @__PURE__ */ X((t) => {
1128
+ }), Xt = {
1129
+ Partial: "partial",
1130
+ Always: "always"
1131
+ }, Yt = {
1132
+ Optimized: "optimized",
1133
+ Always: "always"
1134
+ }, ie = "Popper", [se, qn] = ve(ie), [Mn, ce] = se(ie), Un = /* @__PURE__ */ X((t) => {
1129
1135
  const { __scopePopper: e, children: n } = t, [r, i] = O.useState(null), [o, s] = O.useState(void 0);
1130
- return /* @__PURE__ */ V(Dn, {
1136
+ return /* @__PURE__ */ V(Mn, {
1131
1137
  scope: e,
1132
1138
  anchor: r,
1133
1139
  onAnchorChange: i,
@@ -1135,10 +1141,10 @@ var xn = (t) => {
1135
1141
  setPlacementState: s,
1136
1142
  children: n
1137
1143
  });
1138
- }, "Popper"), _n = "PopperAnchor", Fn = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ X(function(e, n) {
1139
- const { __scopePopper: r, virtualRef: i, ...o } = e, s = ie(_n, r), c = O.useRef(null), l = s.onAnchorChange, u = O.useCallback((h) => {
1144
+ }, "Popper"), _n = "PopperAnchor", Kn = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ X(function(e, n) {
1145
+ const { __scopePopper: r, virtualRef: i, ...o } = e, s = ce(_n, r), c = O.useRef(null), l = s.onAnchorChange, u = O.useCallback((h) => {
1140
1146
  c.current = h, h && l(h);
1141
- }, [l]), f = Xt(n, u), d = O.useRef(null);
1147
+ }, [l]), f = qt(n, u), d = O.useRef(null);
1142
1148
  O.useEffect(() => {
1143
1149
  if (!i) return;
1144
1150
  const h = d.current;
@@ -1151,74 +1157,77 @@ var xn = (t) => {
1151
1157
  ...o,
1152
1158
  ref: f
1153
1159
  });
1154
- }, "PopperAnchor")), se = "PopperContent", [Wn, kn] = oe(se), Hn = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ X(function(e, n) {
1155
- const { __scopePopper: r, side: i = "bottom", sideOffset: o = 0, align: s = "center", alignOffset: c = 0, arrowPadding: l = 0, avoidCollisions: u = !0, collisionBoundary: f = [], collisionPadding: d = 0, sticky: p = "partial", hideWhenDetached: a = !1, updatePositionStrategy: m = "optimized", onPlaced: h, ...g } = e, w = ie(se, r), [v, b] = O.useState(null), y = Xt(n, b), [R, x] = O.useState(null), A = ye(R), C = A?.width ?? 0, D = A?.height ?? 0, $ = i + (s !== "center" ? "-" + s : ""), k = typeof d == "number" ? d : {
1160
+ }, "PopperAnchor")), le = "PopperContent", [Fn, Wn] = se(le), Zn = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ X(function(e, n) {
1161
+ const { __scopePopper: r, side: i = "bottom", sideOffset: o = 0, align: s = "center", alignOffset: c = 0, arrowPadding: l = 0, avoidCollisions: u = !0, collisionBoundary: f = [], collisionPadding: d = 0, sticky: p = Xt.Partial, hideWhenDetached: a = !1, updatePositionStrategy: m = Yt.Optimized, onPlaced: h, ...g } = e, w = ce(le, r), [y, A] = O.useState(null), v = qt(n, A), [R, x] = O.useState(null), b = be(R), S = b?.width ?? 0, D = b?.height ?? 0, $ = i + (s !== "center" ? "-" + s : ""), k = typeof d == "number" ? d : {
1156
1162
  top: 0,
1157
1163
  right: 0,
1158
1164
  bottom: 0,
1159
1165
  left: 0,
1160
1166
  ...d
1161
- }, H = Array.isArray(f) ? f : [f], T = H.length > 0, S = {
1167
+ }, H = Array.isArray(f) ? f : [f], T = H.length > 0, C = {
1162
1168
  padding: k,
1163
- boundary: H.filter(ce),
1169
+ boundary: H.filter(ae),
1164
1170
  altBoundary: T
1165
1171
  }, { refs: F, floatingStyles: E, placement: M, isPositioned: P, middlewareData: L } = vn({
1166
1172
  strategy: "fixed",
1167
1173
  placement: $,
1168
- whileElementsMounted: /* @__PURE__ */ X((...vt) => fn(...vt, { animationFrame: m === "always" }), "whileElementsMounted"),
1174
+ whileElementsMounted: /* @__PURE__ */ X((...yt) => dn(...yt, { animationFrame: m === Yt.Always }), "whileElementsMounted"),
1169
1175
  elements: { reference: w.anchor },
1170
1176
  middleware: [
1171
- yn({
1177
+ bn({
1172
1178
  mainAxis: o + D,
1173
1179
  alignmentAxis: c
1174
1180
  }),
1175
- u && bn({
1181
+ u && Rn({
1176
1182
  mainAxis: !0,
1177
1183
  crossAxis: !1,
1178
- limiter: p === "partial" ? An() : void 0,
1179
- ...S
1184
+ ...p === Xt.Partial ? { limiter: Pn() } : {},
1185
+ ...C
1180
1186
  }),
1181
- u && Rn({ ...S }),
1182
- Pn({
1183
- ...S,
1184
- apply: /* @__PURE__ */ X(({ elements: vt, rects: me, availableWidth: pe, availableHeight: he }) => {
1185
- const { width: ge, height: we } = me.reference, it = vt.floating.style;
1186
- it.setProperty("--radix-popper-available-width", `${pe}px`), it.setProperty("--radix-popper-available-height", `${he}px`), it.setProperty("--radix-popper-anchor-width", `${ge}px`), it.setProperty("--radix-popper-anchor-height", `${we}px`);
1187
+ u && On({ ...C }),
1188
+ Cn({
1189
+ ...C,
1190
+ apply: /* @__PURE__ */ X(({ elements: yt, rects: he, availableWidth: ge, availableHeight: we }) => {
1191
+ const { width: ye, height: xe } = he.reference, it = yt.floating.style;
1192
+ it.setProperty("--radix-popper-available-width", `${ge}px`), it.setProperty("--radix-popper-available-height", `${we}px`), it.setProperty("--radix-popper-anchor-width", `${ye}px`), it.setProperty("--radix-popper-anchor-height", `${xe}px`);
1187
1193
  }, "apply")
1188
1194
  }),
1189
- R && Cn({
1195
+ R && En({
1190
1196
  element: R,
1191
1197
  padding: l
1192
1198
  }),
1193
- Vn({
1194
- arrowWidth: C,
1199
+ Nn({
1200
+ arrowWidth: S,
1195
1201
  arrowHeight: D
1196
1202
  }),
1197
- a && On({
1203
+ a && Sn(T ? {
1204
+ strategy: "referenceHidden",
1205
+ ...C
1206
+ } : {
1198
1207
  strategy: "referenceHidden",
1199
- ...S,
1200
- boundary: T ? S.boundary : void 0
1208
+ padding: C.padding,
1209
+ altBoundary: C.altBoundary
1201
1210
  })
1202
1211
  ]
1203
1212
  }), W = w.setPlacementState;
1204
1213
  xt(() => (W(M), () => {
1205
1214
  W(void 0);
1206
1215
  }), [M, W]);
1207
- const [Dt, Mt] = wt(M), _t = xe(h);
1216
+ const [Dt, Mt] = wt(M), _t = Ae(h);
1208
1217
  xt(() => {
1209
1218
  P && _t?.();
1210
1219
  }, [P, _t]);
1211
- const le = L.arrow?.x, ae = L.arrow?.y, fe = L.arrow?.centerOffset !== 0, [ue, de] = O.useState();
1220
+ const fe = L.arrow?.x, ue = L.arrow?.y, de = L.arrow?.centerOffset !== 0, [me, pe] = O.useState();
1212
1221
  return xt(() => {
1213
- v && de(window.getComputedStyle(v).zIndex);
1214
- }, [v]), /* @__PURE__ */ V("div", {
1222
+ y && pe(window.getComputedStyle(y).zIndex);
1223
+ }, [y]), /* @__PURE__ */ V("div", {
1215
1224
  ref: F.setFloating,
1216
1225
  "data-radix-popper-content-wrapper": "",
1217
1226
  style: {
1218
1227
  ...E,
1219
1228
  transform: P ? E.transform : "translate(0, -200%)",
1220
1229
  minWidth: "max-content",
1221
- zIndex: ue,
1230
+ zIndex: me,
1222
1231
  "--radix-popper-transform-origin": [L.transformOrigin?.x, L.transformOrigin?.y].join(" "),
1223
1232
  ...L.hide?.referenceHidden && {
1224
1233
  visibility: "hidden",
@@ -1226,19 +1235,19 @@ var xn = (t) => {
1226
1235
  }
1227
1236
  },
1228
1237
  dir: e.dir,
1229
- children: /* @__PURE__ */ V(Wn, {
1238
+ children: /* @__PURE__ */ V(Fn, {
1230
1239
  scope: r,
1231
1240
  placedSide: Dt,
1232
1241
  placedAlign: Mt,
1233
1242
  onArrowChange: x,
1234
- arrowX: le,
1235
- arrowY: ae,
1236
- shouldHideArrow: fe,
1243
+ arrowX: fe,
1244
+ arrowY: ue,
1245
+ shouldHideArrow: de,
1237
1246
  children: /* @__PURE__ */ V(Ot.div, {
1238
1247
  "data-side": Dt,
1239
1248
  "data-align": Mt,
1240
1249
  ...g,
1241
- ref: y,
1250
+ ref: v,
1242
1251
  style: {
1243
1252
  ...g.style,
1244
1253
  animation: P ? g.style?.animation : "none"
@@ -1246,13 +1255,13 @@ var xn = (t) => {
1246
1255
  })
1247
1256
  })
1248
1257
  });
1249
- }, "PopperContent")), Nn = "PopperArrow", zn = {
1258
+ }, "PopperContent")), kn = "PopperArrow", Hn = {
1250
1259
  top: "bottom",
1251
1260
  right: "left",
1252
1261
  bottom: "top",
1253
1262
  left: "right"
1254
- }, Bn = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ X(function(e, n) {
1255
- const { __scopePopper: r, ...i } = e, o = kn(Nn, r), s = zn[o.placedSide];
1263
+ }, Gn = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ X(function(e, n) {
1264
+ const { __scopePopper: r, ...i } = e, o = Wn(kn, r), s = Hn[o.placedSide];
1256
1265
  return /* @__PURE__ */ V("span", {
1257
1266
  ref: o.onArrowChange,
1258
1267
  style: {
@@ -1274,7 +1283,7 @@ var xn = (t) => {
1274
1283
  }[o.placedSide],
1275
1284
  visibility: o.shouldHideArrow ? "hidden" : void 0
1276
1285
  },
1277
- children: /* @__PURE__ */ V(Tn, {
1286
+ children: /* @__PURE__ */ V($n, {
1278
1287
  ...i,
1279
1288
  ref: n,
1280
1289
  style: {
@@ -1284,11 +1293,11 @@ var xn = (t) => {
1284
1293
  })
1285
1294
  });
1286
1295
  }, "PopperArrow"));
1287
- function ce(t) {
1296
+ function ae(t) {
1288
1297
  return t !== null;
1289
1298
  }
1290
- X(ce, "isNotNull");
1291
- var Vn = /* @__PURE__ */ X((t) => ({
1299
+ X(ae, "isNotNull");
1300
+ var Nn = /* @__PURE__ */ X((t) => ({
1292
1301
  name: "transformOrigin",
1293
1302
  options: t,
1294
1303
  fn(e) {
@@ -1309,11 +1318,10 @@ function wt(t) {
1309
1318
  return [e, n];
1310
1319
  }
1311
1320
  X(wt, "getSideAndAlignFromPlacement");
1312
- var Gn = Mn, Jn = Fn, Qn = Hn, tr = Bn;
1313
1321
  export {
1314
- Zn as a,
1315
- Gn as i,
1316
- tr as n,
1317
- Qn as r,
1318
- Jn as t
1322
+ qn as a,
1323
+ Zn as i,
1324
+ Kn as n,
1325
+ Gn as r,
1326
+ Un as t
1319
1327
  };