@easypost/easy-ui 1.0.0-alpha.72 → 1.0.0-alpha.74

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 (320) hide show
  1. package/Badge/index.js +14 -14
  2. package/Badge/index.mjs +14 -14
  3. package/Banner/index.js +5 -5
  4. package/Banner/index.mjs +5 -5
  5. package/Button/Button.d.ts.map +1 -1
  6. package/Button/index.js +1 -1
  7. package/Button/index.mjs +1 -1
  8. package/Button/utilities.d.ts.map +1 -1
  9. package/CHANGELOG.md +22 -0
  10. package/Calendar/index.js +1 -1
  11. package/Calendar/index.mjs +1 -1
  12. package/Card/Card.stories.d.ts.map +1 -1
  13. package/Card/index.js +1 -1
  14. package/Card/index.mjs +1 -1
  15. package/CheckableCard/index.js +6 -6
  16. package/CheckableCard/index.mjs +6 -6
  17. package/Checkbox/Checkbox.stories.d.ts.map +1 -1
  18. package/Checkbox/index.js +1 -1
  19. package/Checkbox/index.mjs +1 -1
  20. package/CodeBlock/index.js +17 -17
  21. package/CodeBlock/index.mjs +17 -17
  22. package/CodeSnippet/index.js +1 -1
  23. package/CodeSnippet/index.mjs +1 -1
  24. package/DataGrid/index.js +157 -126
  25. package/DataGrid/index.mjs +151 -120
  26. package/DatePicker/index.js +30 -15
  27. package/DatePicker/index.mjs +31 -16
  28. package/DateRangePicker/index.js +30 -15
  29. package/DateRangePicker/index.mjs +30 -15
  30. package/Drawer/Drawer.stories.d.ts.map +1 -1
  31. package/Drawer/index.js +21 -21
  32. package/Drawer/index.mjs +21 -21
  33. package/DropdownButton/index.js +13 -13
  34. package/DropdownButton/index.mjs +13 -13
  35. package/EmptyStateCard/index.js +8 -8
  36. package/EmptyStateCard/index.mjs +8 -8
  37. package/FocusedProductLayout/index.js +23 -23
  38. package/FocusedProductLayout/index.mjs +23 -23
  39. package/ForgeLayout/index.js +88 -58
  40. package/ForgeLayout/index.mjs +88 -58
  41. package/FormLayout/index.js +5 -5
  42. package/FormLayout/index.mjs +5 -5
  43. package/HorizontalGrid/index.js +1 -1
  44. package/HorizontalGrid/index.mjs +1 -1
  45. package/HorizontalStack/index.js +1 -1
  46. package/HorizontalStack/index.mjs +1 -1
  47. package/Icon/index.js +1 -1
  48. package/Icon/index.mjs +1 -1
  49. package/IconButton/index.js +13 -13
  50. package/IconButton/index.mjs +13 -13
  51. package/InputField/index.js +1 -1
  52. package/InputField/index.mjs +1 -1
  53. package/KebabButton/index.js +1 -1
  54. package/KebabButton/index.mjs +1 -1
  55. package/Menu/MenuItem.d.ts.map +1 -1
  56. package/Menu/MenuSection.d.ts.map +1 -1
  57. package/Menu/index.js +1 -1
  58. package/Menu/index.mjs +1 -1
  59. package/Modal/Modal.stories.d.ts.map +1 -1
  60. package/Modal/index.js +23 -23
  61. package/Modal/index.mjs +23 -23
  62. package/MultiSelect/index.js +60 -54
  63. package/MultiSelect/index.mjs +51 -45
  64. package/NexusLayout/index.js +33 -33
  65. package/NexusLayout/index.mjs +33 -33
  66. package/Notification/Notification.d.ts.map +1 -1
  67. package/Notification/Notification.stories.d.ts.map +1 -1
  68. package/Notification/index.js +1 -1
  69. package/Notification/index.mjs +1 -1
  70. package/Pagination/index.js +8 -8
  71. package/Pagination/index.mjs +8 -8
  72. package/PillGroup/index.js +1 -1
  73. package/PillGroup/index.mjs +1 -1
  74. package/ProductLayout/ProductLayout.stories.d.ts.map +1 -1
  75. package/ProductLayout/index.js +27 -27
  76. package/ProductLayout/index.mjs +27 -27
  77. package/Provider/index.js +3 -3
  78. package/Provider/index.mjs +3 -3
  79. package/RadioButtonGroup/index.js +9 -9
  80. package/RadioButtonGroup/index.mjs +9 -9
  81. package/RadioGroup/index.js +1 -1
  82. package/RadioGroup/index.mjs +1 -1
  83. package/RangeCalendar/index.js +1 -1
  84. package/RangeCalendar/index.mjs +1 -1
  85. package/SearchNav/CTAGroup.d.ts.map +1 -1
  86. package/SearchNav/LogoGroup.d.ts.map +1 -1
  87. package/SearchNav/index.js +29 -29
  88. package/SearchNav/index.mjs +29 -29
  89. package/SectionCard/index.js +7 -7
  90. package/SectionCard/index.mjs +7 -7
  91. package/Select/Select.stories.d.ts.map +1 -1
  92. package/Select/SelectOption.d.ts.map +1 -1
  93. package/Select/SelectSection.d.ts.map +1 -1
  94. package/Select/index.js +5 -5
  95. package/Select/index.mjs +5 -5
  96. package/SelectorErrorTooltip/index.js +1 -1
  97. package/SelectorErrorTooltip/index.mjs +1 -1
  98. package/Spinner/index.js +1 -1
  99. package/Spinner/index.mjs +1 -1
  100. package/SplitToggleCard/index.js +4 -4
  101. package/SplitToggleCard/index.mjs +4 -4
  102. package/Stepper/Stepper.stories.d.ts.map +1 -1
  103. package/Stepper/index.js +1 -1
  104. package/Stepper/index.mjs +1 -1
  105. package/TabNav/index.js +1 -1
  106. package/TabNav/index.mjs +1 -1
  107. package/TabPanels/TabPanelsItem.d.ts.map +1 -1
  108. package/TabPanels/index.js +16 -12
  109. package/TabPanels/index.mjs +16 -12
  110. package/Tabs/index.js +1 -1
  111. package/Tabs/index.mjs +1 -1
  112. package/Text/index.js +1 -1
  113. package/Text/index.mjs +1 -1
  114. package/TextField/index.js +1 -1
  115. package/TextField/index.mjs +1 -1
  116. package/Textarea/index.js +1 -1
  117. package/Textarea/index.mjs +1 -1
  118. package/Theme/index.js +1 -1
  119. package/Theme/index.mjs +1 -1
  120. package/Toggle/index.js +1 -1
  121. package/Toggle/index.mjs +1 -1
  122. package/ToggleCard/index.js +2 -2
  123. package/ToggleCard/index.mjs +2 -2
  124. package/Tooltip/index.js +1 -1
  125. package/Tooltip/index.mjs +1 -1
  126. package/UnstyledButton/index.js +1 -1
  127. package/UnstyledButton/index.mjs +1 -1
  128. package/VerticalNav/Item.d.ts.map +1 -1
  129. package/VerticalNav/index.js +29 -29
  130. package/VerticalNav/index.mjs +29 -29
  131. package/VerticalStack/index.js +1 -1
  132. package/VerticalStack/index.mjs +1 -1
  133. package/__chunks__/{Button-D3HH6Cop.js → Button-BP4wFAxx.js} +19 -19
  134. package/__chunks__/{Button-BuHLa-_9.mjs → Button-Cltfedkl.mjs} +19 -19
  135. package/__chunks__/{Button-DHEZ4A2s.mjs → Button-DhaXhFT-.mjs} +7 -10
  136. package/__chunks__/{Button-BoPQ-Fx9.js → Button-E5WMp4Zg.js} +7 -10
  137. package/__chunks__/{Calendar-CS3-UW6-.mjs → Calendar-4bRks2Gi.mjs} +2 -2
  138. package/__chunks__/{Calendar-HLsBZpg5.js → Calendar-B1PZJFWH.js} +2 -2
  139. package/__chunks__/{CalendarBase-DN4q1mxw.mjs → CalendarBase-B3wrkkDS.mjs} +29 -29
  140. package/__chunks__/{CalendarBase-BsJ1gLtC.js → CalendarBase-Do4GSgxd.js} +30 -30
  141. package/__chunks__/{Card-BL_e88zr.mjs → Card-DLf_ttOB.mjs} +12 -12
  142. package/__chunks__/{Card-CvXlsu1o.js → Card-svNtJnxD.js} +12 -12
  143. package/__chunks__/{Checkbox-D0xwliOU.mjs → Checkbox-BWiWcRta.mjs} +25 -25
  144. package/__chunks__/{Checkbox-BbmNbbNQ.js → Checkbox-DlGXuABy.js} +25 -25
  145. package/__chunks__/{CodeSnippet-vJa_F29X.mjs → CodeSnippet-BUoVXuUr.mjs} +3 -3
  146. package/__chunks__/{CodeSnippet-CpLud0B6.js → CodeSnippet-odGPao5O.js} +3 -3
  147. package/__chunks__/{DatePickerBase-D4ciyYti.js → DatePickerBase-CV6eQTsD.js} +143 -60
  148. package/__chunks__/{DatePickerBase-DmqKEP5k.mjs → DatePickerBase-CphayrFl.mjs} +140 -57
  149. package/__chunks__/{Dialog-CuqmbMC4.js → Dialog-Bn6AgWyj.js} +69 -23
  150. package/__chunks__/{Dialog-D9aIj4DH.mjs → Dialog-CpCJycIv.mjs} +70 -24
  151. package/__chunks__/{FocusScope-Djtxzznf.js → FocusScope-CL3-fUEU.js} +216 -53
  152. package/__chunks__/{FocusScope-CUJV-jWH.mjs → FocusScope-Dg66t-dG.mjs} +208 -45
  153. package/__chunks__/{HelpMenu-4kIhlSTd.mjs → HelpMenu-Bpe3QdoK.mjs} +7 -7
  154. package/__chunks__/{HelpMenu-BG-6BlVd.js → HelpMenu-BsRNOEFK.js} +7 -7
  155. package/__chunks__/{HorizontalGrid-CAxzLBcy.js → HorizontalGrid-CAwv7zKY.js} +1 -1
  156. package/__chunks__/{HorizontalGrid-Caa2bBkn.mjs → HorizontalGrid-Dz8EFgmu.mjs} +1 -1
  157. package/__chunks__/{HorizontalStack-DH_u-Fl7.js → HorizontalStack-CXpjASZi.js} +1 -1
  158. package/__chunks__/{HorizontalStack-Bsl5R02e.mjs → HorizontalStack-CxE8tPx_.mjs} +1 -1
  159. package/__chunks__/{Icon-DL_gGk21.mjs → Icon-0SN9dbwU.mjs} +2 -2
  160. package/__chunks__/{Icon-BLHQN7Np.js → Icon-W8F9w-jS.js} +2 -2
  161. package/__chunks__/{InputCaption-CPAw7fJI.mjs → InputCaption-CRtCXzV7.mjs} +2 -2
  162. package/__chunks__/{InputCaption-OV5VGKWq.js → InputCaption-z01Eep0I.js} +2 -2
  163. package/__chunks__/{InputField-B_3YmU4B.mjs → InputField-BcEdR4h5.mjs} +7 -7
  164. package/__chunks__/{InputField-ChgMqvwU.js → InputField-DlJu_e99.js} +7 -7
  165. package/__chunks__/{InputIcon-COm6bQef.mjs → InputIcon-B3t4QT3H.mjs} +31 -31
  166. package/__chunks__/{InputIcon-BXS9Y8rn.js → InputIcon-BIaAI6v9.js} +31 -31
  167. package/__chunks__/{KebabButton-BRGCIPIv.mjs → KebabButton-B98kLaDH.mjs} +5 -5
  168. package/__chunks__/{KebabButton-DO9OIb2W.js → KebabButton-uoFD_mgV.js} +5 -5
  169. package/__chunks__/{Menu-BYCSuuaR.mjs → Menu-BpTzrm6c.mjs} +44 -30
  170. package/__chunks__/{Menu-DzWdkzK8.js → Menu-DKoRZfeR.js} +44 -30
  171. package/__chunks__/{Notification-BKVkpmTz.mjs → Notification-Br5D4KA8.mjs} +706 -730
  172. package/__chunks__/{Notification-D2fe-Xxz.js → Notification-fsBr9yzr.js} +707 -731
  173. package/__chunks__/{Overlay-zuiAML3I.mjs → Overlay-BtkNBEyr.mjs} +4 -4
  174. package/__chunks__/{Overlay-CwJbrICR.js → Overlay-CwRnK9dm.js} +4 -4
  175. package/__chunks__/{PillGroup-9OjxsTMP.mjs → PillGroup-Bwtq0W9U.mjs} +109 -68
  176. package/__chunks__/{PillGroup-CHPsa3VB.js → PillGroup-DQxoRceT.js} +109 -68
  177. package/__chunks__/{RadioGroup-BulGTLfR.js → RadioGroup-DHvuOAI0.js} +28 -26
  178. package/__chunks__/{RadioGroup-DV7xIP19.mjs → RadioGroup-iTWNHb_4.mjs} +28 -26
  179. package/__chunks__/{RangeCalendar-jktYfFqj.js → RangeCalendar-CV64PgSa.js} +3 -3
  180. package/__chunks__/{RangeCalendar-CwDjqHGQ.mjs → RangeCalendar-W6F-KXKF.mjs} +3 -3
  181. package/__chunks__/{SelectOverlay-6pBMMSgG.mjs → SelectOverlay-D5Df5qbg.mjs} +34 -34
  182. package/__chunks__/{SelectOverlay-HjVuurPc.js → SelectOverlay-snHhT9xQ.js} +34 -34
  183. package/__chunks__/{SelectionManager-DCO_d3m1.mjs → SelectionManager-my6312qq.mjs} +6 -0
  184. package/__chunks__/{SelectionManager-DuX6geJg.js → SelectionManager-px2R7S_e.js} +6 -0
  185. package/__chunks__/{SelectorErrorTooltip-B4k8RWP0.mjs → SelectorErrorTooltip-D78wZKLX.mjs} +4 -4
  186. package/__chunks__/{SelectorErrorTooltip-BWn16OXi.js → SelectorErrorTooltip-ZTlArMnH.js} +4 -4
  187. package/__chunks__/{Spinner-vUeXdpkO.js → Spinner-BQg8KbBa.js} +7 -7
  188. package/__chunks__/{Spinner-CNPgXjAf.mjs → Spinner-fkGldbX3.mjs} +7 -7
  189. package/__chunks__/{Stepper-CAscDgRy.mjs → Stepper-BUH1axEj.mjs} +28 -28
  190. package/__chunks__/{Stepper-sqTqQ9uL.js → Stepper-DLfdtbvv.js} +28 -28
  191. package/__chunks__/{TabNav-ByxN1m64.js → TabNav-BUwzxG3g.js} +1 -1
  192. package/__chunks__/{TabNav-C1qCKmy4.mjs → TabNav-CKEi-DUF.mjs} +1 -1
  193. package/__chunks__/{Tabs-DNN1AXwm.js → Tabs--FBVp-tw.js} +20 -20
  194. package/__chunks__/{Tabs-CKqKdgkN.mjs → Tabs-C7OfCIBi.mjs} +20 -20
  195. package/__chunks__/{Text-BPOoDg5O.mjs → Text-BYGcKHR7.mjs} +40 -40
  196. package/__chunks__/{Text-CFmLMgB7.js → Text-DZ601qf9.js} +40 -40
  197. package/__chunks__/{TextField-CtAwsnQG.mjs → TextField-BWEZbXZ-.mjs} +1 -1
  198. package/__chunks__/{TextField-CES6ydsj.js → TextField-DJ5YAdLq.js} +1 -1
  199. package/__chunks__/{Theme-ByVPHaBx.mjs → Theme-CctofSlt.mjs} +1 -1
  200. package/__chunks__/{Theme-BTOgcCP2.js → Theme-Ck5K42IR.js} +1 -1
  201. package/__chunks__/{Toggle-qwyZuSZH.mjs → Toggle-CgRXkhDq.mjs} +15 -15
  202. package/__chunks__/{Toggle-D5VRzeJU.js → Toggle-DdKkOwZq.js} +15 -15
  203. package/__chunks__/{Tooltip-BAKQ9mVy.mjs → Tooltip-2wr2yp_C.mjs} +17 -16
  204. package/__chunks__/{Tooltip-CYDWD3VB.js → Tooltip-b45ajKHN.js} +17 -16
  205. package/__chunks__/{UnstyledButton-yd6ZL2Yi.js → UnstyledButton-BNciIRwZ.js} +3 -3
  206. package/__chunks__/{UnstyledButton-D_DzFe67.mjs → UnstyledButton-aKk2POM3.mjs} +3 -3
  207. package/__chunks__/{VerticalStack-BkGZvd41.mjs → VerticalStack-C2yDQVHD.mjs} +3 -3
  208. package/__chunks__/{VerticalStack-B7ytb3Iu.js → VerticalStack-Dzpv3O67.js} +3 -3
  209. package/__chunks__/{VisuallyHidden-cQCgS6_a.mjs → VisuallyHidden-BW8z0u63.mjs} +2 -2
  210. package/__chunks__/{VisuallyHidden-DcUrMWfu.js → VisuallyHidden-CxznJ2eH.js} +2 -2
  211. package/__chunks__/{ariaHideOutside-CvJKAP9c.mjs → ariaHideOutside-BWTlv_g_.mjs} +26 -11
  212. package/__chunks__/{ariaHideOutside-DkYn-eBq.js → ariaHideOutside-CCOx7fIt.js} +27 -12
  213. package/__chunks__/{context-CYcq9Zvo.js → context-B-dkBtcD.js} +1 -54
  214. package/__chunks__/{context-D3NeXov7.js → context-BQfsEeih.js} +1 -1
  215. package/__chunks__/{context-BZCcafjG.mjs → context-BZH2zfKM.mjs} +1 -1
  216. package/__chunks__/{context-EpOG85wC.mjs → context-ClcSNaYl.mjs} +3 -56
  217. package/__chunks__/focusSafely-DLX4i5KV.js +15 -0
  218. package/__chunks__/focusSafely-MpYXzuLP.mjs +16 -0
  219. package/__chunks__/index-6ObXAT_4.js +147 -0
  220. package/__chunks__/index-DOQwYO8h.mjs +148 -0
  221. package/__chunks__/{mergeProps-DniMwM6P.js → mergeProps-6pKCnMWU.js} +21 -19
  222. package/__chunks__/{mergeProps-DSi85raC.mjs → mergeProps-C4OYS8Nd.mjs} +26 -24
  223. package/__chunks__/{scrollIntoView-wURtlgJt.mjs → scrollIntoView-1v0vfaIN.mjs} +1 -1
  224. package/__chunks__/{scrollIntoView-BN4yt25y.js → scrollIntoView-CzFYIYQT.js} +1 -1
  225. package/__chunks__/{tokens-BolVbjJp.mjs → tokens-CyXKQDx6.mjs} +142 -142
  226. package/__chunks__/{tokens-BmCk-Bk0.js → tokens-MDLCVf35.js} +142 -142
  227. package/__chunks__/{useButton-CdgRb7pd.mjs → useButton-B8EwIeGA.mjs} +5 -5
  228. package/__chunks__/{useButton-B_VJe1i5.js → useButton-BUzZ-5VB.js} +5 -5
  229. package/__chunks__/{useCollator-B-keb3wA.mjs → useCollator-CYCg6wMz.mjs} +1 -1
  230. package/__chunks__/{useCollator-DGrSWVh4.js → useCollator-DpGidudE.js} +1 -1
  231. package/__chunks__/{useDialog-DJ-g6m8Y.js → useDialog-BkTg_V3k.js} +5 -5
  232. package/__chunks__/{useDialog-Bxep5NaV.mjs → useDialog-mJmFmECS.mjs} +5 -5
  233. package/__chunks__/{useEdgeInterceptors-WqF_YygM.mjs → useEdgeInterceptors-D_DARZZd.mjs} +5 -5
  234. package/__chunks__/{useEdgeInterceptors-Dr0sj9Ly.js → useEdgeInterceptors-Ihk8NfjJ.js} +5 -5
  235. package/__chunks__/{useEvent-B0fsKtsf.mjs → useEvent-DUet8f_n.mjs} +1 -1
  236. package/__chunks__/{useEvent-DY7dR7Mi.js → useEvent-DiEr5shV.js} +1 -1
  237. package/__chunks__/{useField-B6VplZ_n.mjs → useField-CQfJ37Nt.mjs} +2 -2
  238. package/__chunks__/{useField-BJW_bXVD.js → useField-MeTEdBhD.js} +2 -2
  239. package/__chunks__/{useFilter-D-K0Oj-7.mjs → useFilter-D3MAuO1e.mjs} +1 -1
  240. package/__chunks__/{useFilter-DpnZ54nd.js → useFilter-DUqh08RA.js} +1 -1
  241. package/__chunks__/{useFocus-lnK5BCt2.mjs → useFocus-BR2JUcSC.mjs} +3 -3
  242. package/__chunks__/{useFocus-l6ZlVMHW.js → useFocus-CMM1E_s1.js} +5 -5
  243. package/__chunks__/{useFocusRing-f5StfjhA.js → useFocusRing-BTr2SNa0.js} +3 -3
  244. package/__chunks__/{useFocusRing-KIEn23AD.mjs → useFocusRing-BbxvDonI.mjs} +3 -3
  245. package/__chunks__/{useFocusVisible-CiIrKjuz.js → useFocusVisible-DFYEx6se.js} +18 -107
  246. package/__chunks__/{useFocusVisible-Bb3k4_O_.mjs → useFocusVisible-D_XXcaLm.mjs} +11 -100
  247. package/__chunks__/useFocusWithin-B1KKdipT.js +69 -0
  248. package/__chunks__/useFocusWithin-DMidhx8C.mjs +70 -0
  249. package/__chunks__/{useFocusable-BQyiwtXU.js → useFocusable-6aWd3xB2.js} +15 -12
  250. package/__chunks__/{useFocusable-DxcU91xN.mjs → useFocusable-BQyiLqbY.mjs} +16 -13
  251. package/__chunks__/{useFormReset-DA1Lwdha.mjs → useFormReset-DwIsbrAk.mjs} +1 -1
  252. package/__chunks__/{useFormReset-Bgj93eR3.js → useFormReset-Ja1aibwy.js} +1 -1
  253. package/__chunks__/{useFormValidation-BeqiYVJN.js → useFormValidation-BqUyj3MW.js} +2 -2
  254. package/__chunks__/{useFormValidation-CCe1AoIX.mjs → useFormValidation-SckXeoUZ.mjs} +2 -2
  255. package/__chunks__/{useHasTabbableChild-DOO1szWv.mjs → useHasTabbableChild-BkKbzCwx.mjs} +2 -2
  256. package/__chunks__/{useHasTabbableChild-CepF5tQS.js → useHasTabbableChild-OzJPDs7u.js} +2 -2
  257. package/__chunks__/{useHighlightSelectionDescription-B_YjQEPD.mjs → useHighlightSelectionDescription-C3ZHe657.mjs} +16 -7
  258. package/__chunks__/{useHighlightSelectionDescription-nSfKxNPA.js → useHighlightSelectionDescription-DDHTMZiR.js} +16 -7
  259. package/__chunks__/{useHover-BOYR4wqI.mjs → useHover-DpEGMvo6.mjs} +13 -3
  260. package/__chunks__/{useHover-BIKwjrCT.js → useHover-NuBBFo1D.js} +13 -3
  261. package/__chunks__/{useLabel-D37VV43W.mjs → useLabel-B3S3Miea.mjs} +2 -2
  262. package/__chunks__/{useLabel-t-N6anB8.js → useLabel-DVLShpAi.js} +2 -2
  263. package/__chunks__/{useLabels-5f58TiCH.mjs → useLabels-ClfID0sX.mjs} +1 -1
  264. package/__chunks__/{useLabels-KmwewLTv.js → useLabels-DrIYrapv.js} +1 -1
  265. package/__chunks__/{useLink-CQhl3ZGL.js → useLink-DyvPn11c.js} +4 -4
  266. package/__chunks__/{useLink-BGK9UEQW.mjs → useLink-WThPkjA2.mjs} +4 -4
  267. package/__chunks__/{useListBoxSection-Dl15OiHe.mjs → useListBoxSection-8W_ApdBB.mjs} +10 -10
  268. package/__chunks__/{useListBoxSection-TdoNdwIM.js → useListBoxSection-rWvzEd35.js} +11 -11
  269. package/__chunks__/{useListState-I5rva0Fq.js → useListState-CKHwm7j_.js} +27 -12
  270. package/__chunks__/{useListState-AFrlkW73.mjs → useListState-DqBHV23A.mjs} +28 -13
  271. package/__chunks__/{useLocalizedStringFormatter-BHXy3Wtu.mjs → useLocalizedStringFormatter-BhtDVRd3.mjs} +1 -1
  272. package/__chunks__/{useLocalizedStringFormatter-CaF1VsOH.js → useLocalizedStringFormatter-C3ZwxPrF.js} +1 -1
  273. package/__chunks__/{useMenuTrigger-DhSBxWW5.js → useMenuTrigger-BVkF1AqM.js} +9 -5
  274. package/__chunks__/{useMenuTrigger-DDKy3dcp.mjs → useMenuTrigger-D1J5fKGN.mjs} +9 -5
  275. package/__chunks__/{useMenuTriggerState-BJJ3WdLH.mjs → useMenuTriggerState-BtbgVHYJ.mjs} +1 -1
  276. package/__chunks__/{useMenuTriggerState-DTZmPbSP.js → useMenuTriggerState-Skj7UUPq.js} +1 -1
  277. package/__chunks__/{useModalOverlay-BeCxNyVY.mjs → useModalOverlay-USYfWlZ0.mjs} +3 -3
  278. package/__chunks__/{useModalOverlay-gSHY_FAb.js → useModalOverlay-VZIDHsXZ.js} +3 -3
  279. package/__chunks__/{useOverlayPosition-DJGEWKwM.js → useOverlayPosition-4b_rkosH.js} +5 -5
  280. package/__chunks__/{useOverlayPosition-CTTQ0gZN.mjs → useOverlayPosition-vVuqBjvk.mjs} +4 -4
  281. package/__chunks__/{useOverlayTrigger-BvP35sYf.mjs → useOverlayTrigger-C_ezbQv8.mjs} +2 -2
  282. package/__chunks__/{useOverlayTrigger-CiUR_pLO.js → useOverlayTrigger-Df2Gw0ns.js} +2 -2
  283. package/__chunks__/{usePress-DTGD4Sub.js → usePress-BkfhIu8i.js} +92 -124
  284. package/__chunks__/{usePress-CqfuY_T7.mjs → usePress-CMfwAyab.mjs} +77 -109
  285. package/__chunks__/{useSelectableItem-DeFiKyU1.mjs → useSelectableItem-DR0zbOkr.mjs} +122 -55
  286. package/__chunks__/{useSelectableItem-BEkjpB_K.js → useSelectableItem-DyTPlPnm.js} +123 -56
  287. package/__chunks__/{useSelectableList-Dk3TxzYJ.js → useSelectableList-CORVRfbM.js} +4 -4
  288. package/__chunks__/{useSelectableList-DPJUwWwV.mjs → useSelectableList-CPXWkbh2.mjs} +4 -4
  289. package/__chunks__/{useSingleSelectListState-DuCUY6dR.mjs → useSingleSelectListState-61RqBjo5.mjs} +1 -1
  290. package/__chunks__/{useSingleSelectListState-5RB1w9vv.js → useSingleSelectListState-IrBbHxlA.js} +1 -1
  291. package/__chunks__/{useTextField-CspDdKaL.mjs → useTextField-BMdTAdta.mjs} +9 -8
  292. package/__chunks__/{useTextField-DM-ZTn9j.js → useTextField-CLVShmFK.js} +10 -9
  293. package/__chunks__/{useToggle-Cu5EqIJD.js → useToggle-ARrVy-Wa.js} +9 -7
  294. package/__chunks__/{useToggle-CbrJW7jr.mjs → useToggle-XRd89s8O.mjs} +9 -7
  295. package/__chunks__/{useTreeState-D6aHf9kN.js → useTreeState-DrWJoIPU.js} +1 -1
  296. package/__chunks__/{useTreeState-w_raYfy2.mjs → useTreeState-DtfZCGLY.mjs} +1 -1
  297. package/__chunks__/{useUpdateEffect-CssYIsWI.js → useUpdateEffect-BII0W8Ne.js} +2 -1
  298. package/__chunks__/{useUpdateEffect-BLgGnNgL.mjs → useUpdateEffect-C9amKlvd.mjs} +2 -1
  299. package/__chunks__/{utilities-DIZYscJV.js → utilities-1DzM5WE1.js} +21 -16
  300. package/__chunks__/{utilities-CczOI9Hn.mjs → utilities-9S1EwfZA.mjs} +21 -16
  301. package/__chunks__/{utils-BlKqJM2_.js → utils-CY9C69XV.js} +8 -7
  302. package/__chunks__/utils-DTjlhnVc.js +383 -0
  303. package/__chunks__/{utils-BIfsWYLR.mjs → utils-VVmFE3B0.mjs} +8 -7
  304. package/__chunks__/utils-_T25xnBK.mjs +385 -0
  305. package/package.json +10 -10
  306. package/style.css +1214 -1313
  307. package/styles/_scrollbars.scss +8 -8
  308. package/styles/_token-helpers.scss +0 -9
  309. package/styles/global.scss +1 -1
  310. package/utilities/react.d.ts.map +1 -1
  311. package/utilities/storybook.d.ts +12 -88
  312. package/utilities/storybook.d.ts.map +1 -1
  313. package/__chunks__/focusSafely-CCOEuEpK.mjs +0 -15
  314. package/__chunks__/focusSafely-wmTq_iKq.js +0 -14
  315. package/__chunks__/index-CTw89HMx.js +0 -198
  316. package/__chunks__/index-DCSYt1ke.mjs +0 -199
  317. package/__chunks__/isVirtualEvent-B_Z4yzgm.mjs +0 -75
  318. package/__chunks__/isVirtualEvent-C-tB2MCl.js +0 -74
  319. package/__chunks__/useFocusWithin-BGNdxo9d.mjs +0 -48
  320. package/__chunks__/useFocusWithin-C-45XiL1.js +0 -47
@@ -18,537 +18,117 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  import * as React from "react";
21
- import React__default, { useEffect, useState, useCallback, useRef, useMemo, createContext, useContext } from "react";
21
+ import React__default, { useCallback, useState, useEffect, useRef, useMemo, createContext, useContext } from "react";
22
22
  import { C as Close } from "./Close-Cq6Q6MN6.mjs";
23
23
  import { C as CheckCircle } from "./CheckCircle-C9h2PNWU.mjs";
24
- import { c as $bdb11010cef70236$export$f680877a34711e37, b as $bdb11010cef70236$export$b4cc09c592e8fdb8, d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-DSi85raC.mjs";
25
- import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-BHXy3Wtu.mjs";
24
+ import { e as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, d as $bdb11010cef70236$export$f680877a34711e37, c as $bdb11010cef70236$export$b4cc09c592e8fdb8, b as $8ae05eaa5c114e9c$export$7f54fc3180508a52, $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-C4OYS8Nd.mjs";
25
+ import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-BhtDVRd3.mjs";
26
26
  import { createPortal } from "react-dom";
27
- import { s as shimExports } from "./index-DCSYt1ke.mjs";
28
- import { I as Icon } from "./Icon-DL_gGk21.mjs";
29
- import { T as Text } from "./Text-BPOoDg5O.mjs";
27
+ import { s as shimExports } from "./index-DOQwYO8h.mjs";
28
+ import { I as Icon } from "./Icon-0SN9dbwU.mjs";
29
+ import { T as Text } from "./Text-BYGcKHR7.mjs";
30
30
  import { classNames, variationName } from "../utilities/css.mjs";
31
- import { U as UnstyledButton } from "./UnstyledButton-D_DzFe67.mjs";
32
- import { a as $7215afc6de606d6b$export$de79e2c695e052f3 } from "./context-EpOG85wC.mjs";
33
- import { $ as $507fabe10e71c6fb$export$630ff653c5ada6a9 } from "./useFocusVisible-Bb3k4_O_.mjs";
34
- import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-BGNdxo9d.mjs";
35
- import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-BOYR4wqI.mjs";
36
- var __defProp$3 = Object.defineProperty;
37
- var __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;
38
- var __hasOwnProp$3 = Object.prototype.hasOwnProperty;
39
- var __propIsEnum$3 = Object.prototype.propertyIsEnumerable;
40
- var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, {
41
- enumerable: true,
42
- configurable: true,
43
- writable: true,
44
- value
45
- }) : obj[key] = value;
46
- var __spreadValues$3 = (a, b) => {
47
- for (var prop in b || (b = {})) if (__hasOwnProp$3.call(b, prop)) __defNormalProp$3(a, prop, b[prop]);
48
- if (__getOwnPropSymbols$3) for (var prop of __getOwnPropSymbols$3(b)) {
49
- if (__propIsEnum$3.call(b, prop)) __defNormalProp$3(a, prop, b[prop]);
31
+ import { U as UnstyledButton } from "./UnstyledButton-aKk2POM3.mjs";
32
+ import { d as $7215afc6de606d6b$export$de79e2c695e052f3 } from "./utils-_T25xnBK.mjs";
33
+ import { $ as $507fabe10e71c6fb$export$630ff653c5ada6a9 } from "./useFocusVisible-D_XXcaLm.mjs";
34
+ import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-DMidhx8C.mjs";
35
+ import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-DpEGMvo6.mjs";
36
+ function $77b352cf12efcf73$export$84726ef35ca2129a(queue) {
37
+ let subscribe = useCallback((fn) => queue.subscribe(fn), [
38
+ queue
39
+ ]);
40
+ let getSnapshot = useCallback(() => queue.visibleToasts, [
41
+ queue
42
+ ]);
43
+ let visibleToasts = shimExports.useSyncExternalStore(subscribe, getSnapshot, getSnapshot);
44
+ return {
45
+ visibleToasts,
46
+ add: (content, options) => queue.add(content, options),
47
+ close: (key) => queue.close(key),
48
+ pauseAll: () => queue.pauseAll(),
49
+ resumeAll: () => queue.resumeAll()
50
+ };
51
+ }
52
+ class $77b352cf12efcf73$export$f1f8569633bbbec4 {
53
+ runWithWrapUpdate(fn) {
54
+ if (this.wrapUpdate) this.wrapUpdate(fn);
55
+ else fn();
50
56
  }
51
- return a;
52
- };
53
- var __objRest$3 = (source, exclude) => {
54
- var target = {};
55
- for (var prop in source) if (__hasOwnProp$3.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
56
- if (source != null && __getOwnPropSymbols$3) for (var prop of __getOwnPropSymbols$3(source)) {
57
- if (exclude.indexOf(prop) < 0 && __propIsEnum$3.call(source, prop)) target[prop] = source[prop];
57
+ /** Subscribes to updates to the visible toasts. */
58
+ subscribe(fn) {
59
+ this.subscriptions.add(fn);
60
+ return () => this.subscriptions.delete(fn);
58
61
  }
59
- return target;
60
- };
61
- const Error2 = (_a) => {
62
- var _b = _a, { title, titleId } = _b, props = __objRest$3(_b, ["title", "titleId"]);
63
- return React.createElement("svg", __spreadValues$3({
64
- xmlns: "http://www.w3.org/2000/svg",
65
- viewBox: "0 -960 960 960",
66
- "aria-labelledby": titleId
67
- }, props), title ? React.createElement("title", {
68
- id: titleId
69
- }, title) : null, React.createElement("path", {
70
- d: "M479.98-290.77q11.9 0 19.58-7.66 7.67-7.65 7.67-19.55t-7.66-19.58q-7.65-7.67-19.55-7.67t-19.58 7.65q-7.67 7.66-7.67 19.56 0 11.9 7.66 19.58 7.65 7.67 19.55 7.67Zm-20.44-141.08h45.38v-249.53h-45.38v249.53ZM480.33-100q-78.95 0-147.89-29.92-68.95-29.92-120.76-81.71-51.81-51.79-81.75-120.78Q100-401.39 100-480.43q0-78.66 29.92-147.87 29.92-69.21 81.71-120.52 51.79-51.31 120.78-81.25Q401.39-860 480.43-860q78.66 0 147.87 29.92 69.21 29.92 120.52 81.21 51.31 51.29 81.25 120.63Q860-558.9 860-480.33q0 78.95-29.92 147.89-29.92 68.95-81.21 120.57-51.29 51.63-120.63 81.75Q558.9-100 480.33-100Zm.17-45.39q139.19 0 236.65-97.76 97.46-97.77 97.46-237.35 0-139.19-97.27-236.65-97.27-97.46-237.34-97.46-139.08 0-236.85 97.27-97.76 97.27-97.76 237.34 0 139.08 97.76 236.85 97.77 97.76 237.35 97.76ZM480-480Z"
71
- }));
72
- };
73
- var __defProp$2 = Object.defineProperty;
74
- var __getOwnPropSymbols$2 = Object.getOwnPropertySymbols;
75
- var __hasOwnProp$2 = Object.prototype.hasOwnProperty;
76
- var __propIsEnum$2 = Object.prototype.propertyIsEnumerable;
77
- var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, {
78
- enumerable: true,
79
- configurable: true,
80
- writable: true,
81
- value
82
- }) : obj[key] = value;
83
- var __spreadValues$2 = (a, b) => {
84
- for (var prop in b || (b = {})) if (__hasOwnProp$2.call(b, prop)) __defNormalProp$2(a, prop, b[prop]);
85
- if (__getOwnPropSymbols$2) for (var prop of __getOwnPropSymbols$2(b)) {
86
- if (__propIsEnum$2.call(b, prop)) __defNormalProp$2(a, prop, b[prop]);
62
+ /** Adds a new toast to the queue. */
63
+ add(content, options = {}) {
64
+ let toastKey = "_" + Math.random().toString(36).slice(2);
65
+ let toast = __spreadProps(__spreadValues({}, options), {
66
+ content,
67
+ key: toastKey,
68
+ timer: options.timeout ? new $77b352cf12efcf73$var$Timer(() => this.close(toastKey), options.timeout) : void 0
69
+ });
70
+ this.queue.unshift(toast);
71
+ this.updateVisibleToasts();
72
+ return toastKey;
87
73
  }
88
- return a;
89
- };
90
- var __objRest$2 = (source, exclude) => {
91
- var target = {};
92
- for (var prop in source) if (__hasOwnProp$2.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
93
- if (source != null && __getOwnPropSymbols$2) for (var prop of __getOwnPropSymbols$2(source)) {
94
- if (exclude.indexOf(prop) < 0 && __propIsEnum$2.call(source, prop)) target[prop] = source[prop];
74
+ /**
75
+ * Closes a toast.
76
+ */
77
+ close(key) {
78
+ let index = this.queue.findIndex((t) => t.key === key);
79
+ if (index >= 0) {
80
+ var _this_queue_index_onClose, _this_queue_index;
81
+ (_this_queue_index_onClose = (_this_queue_index = this.queue[index]).onClose) === null || _this_queue_index_onClose === void 0 ? void 0 : _this_queue_index_onClose.call(_this_queue_index);
82
+ this.queue.splice(index, 1);
83
+ }
84
+ this.updateVisibleToasts();
95
85
  }
96
- return target;
97
- };
98
- const Warning = (_a) => {
99
- var _b = _a, { title, titleId } = _b, props = __objRest$2(_b, ["title", "titleId"]);
100
- return React.createElement("svg", __spreadValues$2({
101
- xmlns: "http://www.w3.org/2000/svg",
102
- viewBox: "0 -960 960 960",
103
- "aria-labelledby": titleId
104
- }, props), title ? React.createElement("title", {
105
- id: titleId
106
- }, title) : null, React.createElement("path", {
107
- d: "M74.62-140 480-840l405.38 700H74.62Zm78.61-45.39h653.54L480-749.23 153.23-185.39Zm329.8-60.07q10.7 0 17.76-7.24 7.06-7.24 7.06-17.94 0-10.71-7.24-17.76-7.24-7.06-17.95-7.06-10.7 0-17.76 7.24-7.05 7.24-7.05 17.94 0 10.7 7.24 17.76 7.24 7.06 17.94 7.06Zm-22.88-97.92h45.39v-217.85h-45.39v217.85ZM480-467.31Z"
108
- }));
109
- };
110
- var __defProp$1 = Object.defineProperty;
111
- var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;
112
- var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
113
- var __propIsEnum$1 = Object.prototype.propertyIsEnumerable;
114
- var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, {
115
- enumerable: true,
116
- configurable: true,
117
- writable: true,
118
- value
119
- }) : obj[key] = value;
120
- var __spreadValues$1 = (a, b) => {
121
- for (var prop in b || (b = {})) if (__hasOwnProp$1.call(b, prop)) __defNormalProp$1(a, prop, b[prop]);
122
- if (__getOwnPropSymbols$1) for (var prop of __getOwnPropSymbols$1(b)) {
123
- if (__propIsEnum$1.call(b, prop)) __defNormalProp$1(a, prop, b[prop]);
86
+ updateVisibleToasts() {
87
+ this.visibleToasts = this.queue.slice(0, this.maxVisibleToasts);
88
+ for (let fn of this.subscriptions) this.runWithWrapUpdate(fn);
124
89
  }
125
- return a;
126
- };
127
- var __objRest$1 = (source, exclude) => {
128
- var target = {};
129
- for (var prop in source) if (__hasOwnProp$1.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
130
- if (source != null && __getOwnPropSymbols$1) for (var prop of __getOwnPropSymbols$1(source)) {
131
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1.call(source, prop)) target[prop] = source[prop];
90
+ /** Pauses the timers for all visible toasts. */
91
+ pauseAll() {
92
+ for (let toast of this.visibleToasts) if (toast.timer) toast.timer.pause();
132
93
  }
133
- return target;
134
- };
135
- const DocumentScanner = (_a) => {
136
- var _b = _a, { title, titleId } = _b, props = __objRest$1(_b, ["title", "titleId"]);
137
- return React.createElement("svg", __spreadValues$1({
138
- xmlns: "http://www.w3.org/2000/svg",
139
- viewBox: "0 -960 960 960",
140
- "aria-labelledby": titleId
141
- }, props), title ? React.createElement("title", {
142
- id: titleId
143
- }, title) : null, React.createElement("path", {
144
- d: "M90-748.46V-910h161.92v45.38H135.38v116.16H90Zm734.62 0v-116.16H708.46V-910H870v161.54h-45.38ZM90-50v-161.92h45.38v116.54h116.54V-50H90Zm618.46 0v-45.38h116.16v-116.54H870V-50H708.46ZM255.38-227.69q0 4.61 3.85 8.46 3.85 3.85 8.46 3.85h424.62q4.61 0 8.46-3.85 3.85-3.85 3.85-8.46v-504.62q0-4.61-3.85-8.46-3.85-3.85-8.46-3.85H267.69q-4.61 0-8.46 3.85-3.85 3.85-3.85 8.46v504.62ZM267.69-170q-23.53 0-40.61-17.08T210-227.69v-504.62q0-23.53 17.08-40.61T267.69-790h424.62q23.53 0 40.61 17.08T750-732.31v504.62q0 23.53-17.08 40.61T692.31-170H267.69Zm109.62-407.31h205.38v-45.38H377.31v45.38Zm0 120h205.38v-45.38H377.31v45.38Zm0 120h205.38v-45.38H377.31v45.38ZM255.38-227.69v-516.93 529.24-12.31Z"
145
- }));
146
- };
147
- var __defProp2 = Object.defineProperty;
148
- var __getOwnPropSymbols2 = Object.getOwnPropertySymbols;
149
- var __hasOwnProp2 = Object.prototype.hasOwnProperty;
150
- var __propIsEnum2 = Object.prototype.propertyIsEnumerable;
151
- var __defNormalProp2 = (obj, key, value) => key in obj ? __defProp2(obj, key, {
152
- enumerable: true,
153
- configurable: true,
154
- writable: true,
155
- value
156
- }) : obj[key] = value;
157
- var __spreadValues2 = (a, b) => {
158
- for (var prop in b || (b = {})) if (__hasOwnProp2.call(b, prop)) __defNormalProp2(a, prop, b[prop]);
159
- if (__getOwnPropSymbols2) for (var prop of __getOwnPropSymbols2(b)) {
160
- if (__propIsEnum2.call(b, prop)) __defNormalProp2(a, prop, b[prop]);
94
+ /** Resumes the timers for all visible toasts. */
95
+ resumeAll() {
96
+ for (let toast of this.visibleToasts) if (toast.timer) toast.timer.resume();
161
97
  }
162
- return a;
163
- };
164
- var __objRest = (source, exclude) => {
165
- var target = {};
166
- for (var prop in source) if (__hasOwnProp2.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
167
- if (source != null && __getOwnPropSymbols2) for (var prop of __getOwnPropSymbols2(source)) {
168
- if (exclude.indexOf(prop) < 0 && __propIsEnum2.call(source, prop)) target[prop] = source[prop];
98
+ constructor(options) {
99
+ this.queue = [];
100
+ this.subscriptions = /* @__PURE__ */ new Set();
101
+ this.visibleToasts = [];
102
+ var _options_maxVisibleToasts;
103
+ this.maxVisibleToasts = (_options_maxVisibleToasts = options === null || options === void 0 ? void 0 : options.maxVisibleToasts) !== null && _options_maxVisibleToasts !== void 0 ? _options_maxVisibleToasts : Infinity;
104
+ this.wrapUpdate = options === null || options === void 0 ? void 0 : options.wrapUpdate;
169
105
  }
170
- return target;
171
- };
172
- const CurrencyExchange = (_a) => {
173
- var _b = _a, { title, titleId } = _b, props = __objRest(_b, ["title", "titleId"]);
174
- return React.createElement("svg", __spreadValues2({
175
- xmlns: "http://www.w3.org/2000/svg",
176
- viewBox: "0 -960 960 960",
177
- "aria-labelledby": titleId
178
- }, props), title ? React.createElement("title", {
179
- id: titleId
180
- }, title) : null, React.createElement("path", {
181
- d: "M480-60q-117 0-219.65-68.89-102.66-68.88-156.89-166.19v141.23H58.08v-220h220v45.39H136.85q45.61 91.23 142.03 157.15 96.43 65.92 201.12 65.92 75.69 0 142.88-28.26 67.2-28.27 117.73-77.47 50.54-49.19 80.93-115.99 30.38-66.81 32.69-142.89h45.38q-1.92 85.23-35.65 159.85-33.73 74.61-90.46 130.38Q716.77-124 641.19-92 565.61-60 480-60Zm-23.23-142.62v-52.07q-42.31-10.85-72.23-34.85T334-356.46l39.85-14.31q14.3 37.23 44.61 58.46 30.31 21.23 68.16 21.23 39.61 0 68.8-19.88 29.2-19.89 29.2-56.89 0-34.15-23.66-55.88-23.65-21.73-90.27-48.96-62.69-25-91.73-52.46-29.04-27.47-29.04-74.16 0-40.92 28.85-71.15 28.85-30.23 80-37.23v-49.08h43.84v49.08q34.93 3.23 62.16 21.69Q592-667.54 609-635.62L571.38-618Q556-643.69 534-657.31q-22-13.61-52-13.61-40.15 0-64.38 19.92-24.24 19.92-24.24 51.69 0 32.77 22.93 51.39 22.92 18.61 84.77 43 69.77 28.23 98.19 58.3 28.42 30.08 28.42 78.77 0 26.16-9.96 46.77-9.96 20.62-26.85 35.04-16.88 14.42-40.11 22.96-23.23 8.54-50.16 10.39v50.07h-43.84ZM60.39-490q2.69-87.15 36.8-161.96 34.12-74.81 91.23-130.19 57.12-55.39 132.12-86.62Q395.54-900 480-900q115.85 0 219.65 69.08 103.81 69.08 156.89 167.54v-142.77h45.38v220h-220v-45.39h141.23q-44.46-89.3-140.57-156.19-96.12-66.88-202.58-66.88-74.15 0-141.35 27.88-67.19 27.88-117.92 76.69-50.73 48.81-81.69 115.62-30.96 66.8-33.27 144.42H60.39Z"
182
- }));
183
- };
184
- var $ff9177efc58547ad$exports = {};
185
- $ff9177efc58547ad$exports = {
186
- "close": `إغلاق`,
187
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
188
- one: () => `${formatter.number(args.count)} إشعار`,
189
- other: () => `${formatter.number(args.count)} إشعارات`
190
- })}.`
191
- };
192
- var $25eb7c0c0c45e544$exports = {};
193
- $25eb7c0c0c45e544$exports = {
194
- "close": `Затвори`,
195
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
196
- one: () => `${formatter.number(args.count)} известие`,
197
- other: () => `${formatter.number(args.count)} известия`
198
- })}.`
199
- };
200
- var $28feffc3d61a8691$exports = {};
201
- $28feffc3d61a8691$exports = {
202
- "close": `Zavřít`,
203
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
204
- one: () => `${formatter.number(args.count)} oznámení`,
205
- other: () => `${formatter.number(args.count)} oznámení`
206
- })}.`
207
- };
208
- var $390d441203d25ff4$exports = {};
209
- $390d441203d25ff4$exports = {
210
- "close": `Luk`,
211
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
212
- one: () => `${formatter.number(args.count)} besked`,
213
- other: () => `${formatter.number(args.count)} beskeder`
214
- })}.`
215
- };
216
- var $7063c2d0f14f979a$exports = {};
217
- $7063c2d0f14f979a$exports = {
218
- "close": `Schließen`,
219
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
220
- one: () => `${formatter.number(args.count)} Benachrichtigung`,
221
- other: () => `${formatter.number(args.count)} Benachrichtigungen`
222
- })}.`
223
- };
224
- var $2dfc1dbb6590af88$exports = {};
225
- $2dfc1dbb6590af88$exports = {
226
- "close": `Κλείσιμο`,
227
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
228
- one: () => `${formatter.number(args.count)} ειδοποίηση`,
229
- other: () => `${formatter.number(args.count)} ειδοποιήσεις`
230
- })}.`
231
- };
232
- var $9a12ff1caae5a7a5$exports = {};
233
- $9a12ff1caae5a7a5$exports = {
234
- "close": `Close`,
235
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
236
- one: () => `${formatter.number(args.count)} notification`,
237
- other: () => `${formatter.number(args.count)} notifications`
238
- })}.`
239
- };
240
- var $f4095fb5a72adbe6$exports = {};
241
- $f4095fb5a72adbe6$exports = {
242
- "close": `Cerrar`,
243
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
244
- one: () => `${formatter.number(args.count)} notificación`,
245
- other: () => `${formatter.number(args.count)} notificaciones`
246
- })}.`
247
- };
248
- var $75bc5191b9d7826a$exports = {};
249
- $75bc5191b9d7826a$exports = {
250
- "close": `Sule`,
251
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
252
- one: () => `${formatter.number(args.count)} teatis`,
253
- other: () => `${formatter.number(args.count)} teatist`
254
- })}.`
255
- };
256
- var $e4b9aef18b0db8dc$exports = {};
257
- $e4b9aef18b0db8dc$exports = {
258
- "close": `Sulje`,
259
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
260
- one: () => `${formatter.number(args.count)} ilmoitus`,
261
- other: () => `${formatter.number(args.count)} ilmoitusta`
262
- })}.`
263
- };
264
- var $888756784d832bd7$exports = {};
265
- $888756784d832bd7$exports = {
266
- "close": `Fermer`,
267
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
268
- one: () => `${formatter.number(args.count)} notification`,
269
- other: () => `${formatter.number(args.count)} notifications`
270
- })}.`
271
- };
272
- var $6835949b68a1fabf$exports = {};
273
- $6835949b68a1fabf$exports = {
274
- "close": `סגור`,
275
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
276
- one: () => `${formatter.number(args.count)} התראה`,
277
- other: () => `${formatter.number(args.count)} התראות`
278
- })}.`
279
- };
280
- var $87ffcbc0b651e40b$exports = {};
281
- $87ffcbc0b651e40b$exports = {
282
- "close": `Zatvori`,
283
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
284
- one: () => `${formatter.number(args.count)} obavijest`,
285
- other: () => `${formatter.number(args.count)} obavijesti`
286
- })}.`
287
- };
288
- var $dc6e3b2813600d69$exports = {};
289
- $dc6e3b2813600d69$exports = {
290
- "close": `Bezárás`,
291
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
292
- one: () => `${formatter.number(args.count)} értesítés`,
293
- other: () => `${formatter.number(args.count)} értesítés`
294
- })}.`
295
- };
296
- var $fe136bcbacfcfa14$exports = {};
297
- $fe136bcbacfcfa14$exports = {
298
- "close": `Chiudi`,
299
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
300
- one: () => `${formatter.number(args.count)} notifica`,
301
- other: () => `${formatter.number(args.count)} notifiche`
302
- })}.`
303
- };
304
- var $8fb53a929b46df83$exports = {};
305
- $8fb53a929b46df83$exports = {
306
- "close": `閉じる`,
307
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
308
- one: () => `${formatter.number(args.count)} 個の通知`,
309
- other: () => `${formatter.number(args.count)} 個の通知`
310
- })}。`
311
- };
312
- var $2c38dbfaf041a865$exports = {};
313
- $2c38dbfaf041a865$exports = {
314
- "close": `닫기`,
315
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
316
- one: () => `${formatter.number(args.count)}개 알림`,
317
- other: () => `${formatter.number(args.count)}개 알림`
318
- })}.`
319
- };
320
- var $48f3f33a29908d4c$exports = {};
321
- $48f3f33a29908d4c$exports = {
322
- "close": `Uždaryti`,
323
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
324
- one: () => `${formatter.number(args.count)} pranešimas`,
325
- other: () => `${formatter.number(args.count)} pranešimai`
326
- })}.`
327
- };
328
- var $9867160d996455a0$exports = {};
329
- $9867160d996455a0$exports = {
330
- "close": `Aizvērt`,
331
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
332
- one: () => `${formatter.number(args.count)} paziņojums`,
333
- other: () => `${formatter.number(args.count)} paziņojumi`
334
- })}.`
335
- };
336
- var $196258ea25c96487$exports = {};
337
- $196258ea25c96487$exports = {
338
- "close": `Lukk`,
339
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
340
- one: () => `${formatter.number(args.count)} varsling`,
341
- other: () => `${formatter.number(args.count)} varsler`
342
- })}.`
343
- };
344
- var $949061cb954e8000$exports = {};
345
- $949061cb954e8000$exports = {
346
- "close": `Sluiten`,
347
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
348
- one: () => `${formatter.number(args.count)} melding`,
349
- other: () => `${formatter.number(args.count)} meldingen`
350
- })}.`
351
- };
352
- var $8189bed27add1ad3$exports = {};
353
- $8189bed27add1ad3$exports = {
354
- "close": `Zamknij`,
355
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
356
- one: () => `${formatter.number(args.count)} powiadomienie`,
357
- few: () => `${formatter.number(args.count)} powiadomienia`,
358
- many: () => `${formatter.number(args.count)} powiadomień`,
359
- other: () => `${formatter.number(args.count)} powiadomienia`
360
- })}.`
361
- };
362
- var $a361756a93b6e28c$exports = {};
363
- $a361756a93b6e28c$exports = {
364
- "close": `Fechar`,
365
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
366
- one: () => `${formatter.number(args.count)} notificação`,
367
- other: () => `${formatter.number(args.count)} notificações`
368
- })}.`
369
- };
370
- var $034c7393857c8db0$exports = {};
371
- $034c7393857c8db0$exports = {
372
- "close": `Fechar`,
373
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
374
- one: () => `${formatter.number(args.count)} notificação`,
375
- other: () => `${formatter.number(args.count)} notificações`
376
- })}.`
377
- };
378
- var $e33d3b3868478b04$exports = {};
379
- $e33d3b3868478b04$exports = {
380
- "close": `Închideţi`,
381
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
382
- one: () => `${formatter.number(args.count)} notificare`,
383
- other: () => `${formatter.number(args.count)} notificări`
384
- })}.`
385
- };
386
- var $9a7dcb914b29cd9f$exports = {};
387
- $9a7dcb914b29cd9f$exports = {
388
- "close": `Закрыть`,
389
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
390
- one: () => `${formatter.number(args.count)} уведомление`,
391
- other: () => `${formatter.number(args.count)} уведомления`
392
- })}.`
393
- };
394
- var $e43d964a0c7f1266$exports = {};
395
- $e43d964a0c7f1266$exports = {
396
- "close": `Zatvoriť`,
397
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
398
- one: () => `${formatter.number(args.count)} oznámenie`,
399
- few: () => `${formatter.number(args.count)} oznámenia`,
400
- other: () => `${formatter.number(args.count)} oznámení`
401
- })}.`
402
- };
403
- var $0bc56cee3275bcaa$exports = {};
404
- $0bc56cee3275bcaa$exports = {
405
- "close": `Zapri`,
406
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
407
- one: () => `${formatter.number(args.count)} obvestilo`,
408
- two: () => `${formatter.number(args.count)} obvestili`,
409
- few: () => `${formatter.number(args.count)} obvestila`,
410
- other: () => `${formatter.number(args.count)} obvestil`
411
- })}.`
412
- };
413
- var $7dbdd7289c10d2ba$exports = {};
414
- $7dbdd7289c10d2ba$exports = {
415
- "close": `Zatvori`,
416
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
417
- one: () => `${formatter.number(args.count)} obaveštenje`,
418
- other: () => `${formatter.number(args.count)} obaveštenja`
419
- })}.`
420
- };
421
- var $ccbe6066c10b1e53$exports = {};
422
- $ccbe6066c10b1e53$exports = {
423
- "close": `Stäng`,
424
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
425
- one: () => `${formatter.number(args.count)} meddelande`,
426
- other: () => `${formatter.number(args.count)} meddelanden`
427
- })}.`
428
- };
429
- var $9d503476b9d858b7$exports = {};
430
- $9d503476b9d858b7$exports = {
431
- "close": `Kapat`,
432
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
433
- one: () => `${formatter.number(args.count)} bildirim`,
434
- other: () => `${formatter.number(args.count)} bildirim`
435
- })}.`
436
- };
437
- var $32ee419c7b9b7a83$exports = {};
438
- $32ee419c7b9b7a83$exports = {
439
- "close": `Закрити`,
440
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
441
- one: () => `${formatter.number(args.count)} сповіщення`,
442
- other: () => `${formatter.number(args.count)} сповіщення`
443
- })}.`
444
- };
445
- var $122525af1cb737c7$exports = {};
446
- $122525af1cb737c7$exports = {
447
- "close": `关闭`,
448
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
449
- one: () => `${formatter.number(args.count)} 个通知`,
450
- other: () => `${formatter.number(args.count)} 个通知`
451
- })}。`
452
- };
453
- var $52e8b1b00094e5a3$exports = {};
454
- $52e8b1b00094e5a3$exports = {
455
- "close": `關閉`,
456
- "notifications": (args, formatter) => `${formatter.plural(args.count, {
457
- one: () => `${formatter.number(args.count)} 個通知`,
458
- other: () => `${formatter.number(args.count)} 個通知`
459
- })}。`
460
- };
461
- var $7853651519a70071$exports = {};
462
- $7853651519a70071$exports = {
463
- "ar-AE": $ff9177efc58547ad$exports,
464
- "bg-BG": $25eb7c0c0c45e544$exports,
465
- "cs-CZ": $28feffc3d61a8691$exports,
466
- "da-DK": $390d441203d25ff4$exports,
467
- "de-DE": $7063c2d0f14f979a$exports,
468
- "el-GR": $2dfc1dbb6590af88$exports,
469
- "en-US": $9a12ff1caae5a7a5$exports,
470
- "es-ES": $f4095fb5a72adbe6$exports,
471
- "et-EE": $75bc5191b9d7826a$exports,
472
- "fi-FI": $e4b9aef18b0db8dc$exports,
473
- "fr-FR": $888756784d832bd7$exports,
474
- "he-IL": $6835949b68a1fabf$exports,
475
- "hr-HR": $87ffcbc0b651e40b$exports,
476
- "hu-HU": $dc6e3b2813600d69$exports,
477
- "it-IT": $fe136bcbacfcfa14$exports,
478
- "ja-JP": $8fb53a929b46df83$exports,
479
- "ko-KR": $2c38dbfaf041a865$exports,
480
- "lt-LT": $48f3f33a29908d4c$exports,
481
- "lv-LV": $9867160d996455a0$exports,
482
- "nb-NO": $196258ea25c96487$exports,
483
- "nl-NL": $949061cb954e8000$exports,
484
- "pl-PL": $8189bed27add1ad3$exports,
485
- "pt-BR": $a361756a93b6e28c$exports,
486
- "pt-PT": $034c7393857c8db0$exports,
487
- "ro-RO": $e33d3b3868478b04$exports,
488
- "ru-RU": $9a7dcb914b29cd9f$exports,
489
- "sk-SK": $e43d964a0c7f1266$exports,
490
- "sl-SI": $0bc56cee3275bcaa$exports,
491
- "sr-SP": $7dbdd7289c10d2ba$exports,
492
- "sv-SE": $ccbe6066c10b1e53$exports,
493
- "tr-TR": $9d503476b9d858b7$exports,
494
- "uk-UA": $32ee419c7b9b7a83$exports,
495
- "zh-CN": $122525af1cb737c7$exports,
496
- "zh-TW": $52e8b1b00094e5a3$exports
497
- };
498
- function $parcel$interopDefault$1(a) {
499
- return a && a.__esModule ? a.default : a;
500
106
  }
501
- function $d6542812f0669241$export$a407b657d3044108(props, state, ref) {
502
- let { key, timer, timeout, animation } = props.toast;
503
- useEffect(() => {
504
- if (timer == null || timeout == null) return;
505
- timer.reset(timeout);
506
- return () => {
507
- timer.pause();
508
- };
509
- }, [
510
- timer,
511
- timeout
512
- ]);
513
- let [isEntered, setIsEntered] = React__default.useState(false);
514
- useEffect(() => {
515
- if (animation === "entering" || animation === "queued") setIsEntered(true);
516
- }, [
517
- animation
518
- ]);
519
- let titleId = $bdb11010cef70236$export$f680877a34711e37();
520
- let descriptionId = $bdb11010cef70236$export$b4cc09c592e8fdb8();
521
- let stringFormatter = $fca6afa0e843324b$export$f12b703ca79dfbb1($parcel$interopDefault$1($7853651519a70071$exports), "@react-aria/toast");
522
- return {
523
- toastProps: {
524
- role: "alertdialog",
525
- "aria-modal": "false",
526
- "aria-label": props["aria-label"],
527
- "aria-labelledby": props["aria-labelledby"] || titleId,
528
- "aria-describedby": props["aria-describedby"] || descriptionId,
529
- "aria-details": props["aria-details"],
530
- // Hide toasts that are animating out so VoiceOver doesn't announce them.
531
- "aria-hidden": animation === "exiting" ? "true" : void 0,
532
- tabIndex: 0
533
- },
534
- contentProps: {
535
- role: "alert",
536
- "aria-atomic": "true",
537
- style: {
538
- visibility: isEntered || animation === null ? "visible" : "hidden"
539
- }
540
- },
541
- titleProps: {
542
- id: titleId
543
- },
544
- descriptionProps: {
545
- id: descriptionId
546
- },
547
- closeButtonProps: {
548
- "aria-label": stringFormatter.format("close"),
549
- onPress: () => state.close(key)
550
- }
551
- };
107
+ class $77b352cf12efcf73$var$Timer {
108
+ reset(delay) {
109
+ this.remaining = delay;
110
+ this.resume();
111
+ }
112
+ pause() {
113
+ if (this.timerId == null) return;
114
+ clearTimeout(this.timerId);
115
+ this.timerId = null;
116
+ this.remaining -= Date.now() - this.startTime;
117
+ }
118
+ resume() {
119
+ if (this.remaining <= 0) return;
120
+ this.startTime = Date.now();
121
+ this.timerId = setTimeout(() => {
122
+ this.timerId = null;
123
+ this.remaining = 0;
124
+ this.callback();
125
+ }, this.remaining);
126
+ }
127
+ constructor(callback, delay) {
128
+ this.startTime = null;
129
+ this.remaining = delay;
130
+ this.callback = callback;
131
+ }
552
132
  }
553
133
  const $a86207c5d7f7e1fb$var$LANDMARK_API_VERSION = 1;
554
134
  const $a86207c5d7f7e1fb$var$landmarkSymbol = Symbol.for("react-aria-landmark-manager");
@@ -837,51 +417,414 @@ class $a86207c5d7f7e1fb$var$LandmarkManager {
837
417
  this.focusoutHandler = this.focusoutHandler.bind(this);
838
418
  }
839
419
  }
840
- function $a86207c5d7f7e1fb$export$4cc632584fd87fae(props, ref) {
841
- const { role, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, focus } = props;
842
- let manager = $a86207c5d7f7e1fb$var$useLandmarkManager();
843
- let label = ariaLabel || ariaLabelledby;
844
- let [isLandmarkFocused, setIsLandmarkFocused] = useState(false);
845
- let defaultFocus = useCallback(() => {
846
- setIsLandmarkFocused(true);
847
- }, [
848
- setIsLandmarkFocused
849
- ]);
850
- let blur = useCallback(() => {
851
- setIsLandmarkFocused(false);
852
- }, [
853
- setIsLandmarkFocused
854
- ]);
855
- $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
856
- if (manager) return manager.registerLandmark({
857
- ref,
858
- label,
859
- role,
860
- focus: focus || defaultFocus,
861
- blur
862
- });
863
- }, [
864
- manager,
865
- label,
866
- ref,
867
- role,
868
- focus,
869
- defaultFocus,
870
- blur
871
- ]);
420
+ function $a86207c5d7f7e1fb$export$4cc632584fd87fae(props, ref) {
421
+ const { role, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, focus } = props;
422
+ let manager = $a86207c5d7f7e1fb$var$useLandmarkManager();
423
+ let label = ariaLabel || ariaLabelledby;
424
+ let [isLandmarkFocused, setIsLandmarkFocused] = useState(false);
425
+ let defaultFocus = useCallback(() => {
426
+ setIsLandmarkFocused(true);
427
+ }, [
428
+ setIsLandmarkFocused
429
+ ]);
430
+ let blur = useCallback(() => {
431
+ setIsLandmarkFocused(false);
432
+ }, [
433
+ setIsLandmarkFocused
434
+ ]);
435
+ $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
436
+ if (manager) return manager.registerLandmark({
437
+ ref,
438
+ label,
439
+ role,
440
+ focus: focus || defaultFocus,
441
+ blur
442
+ });
443
+ }, [
444
+ manager,
445
+ label,
446
+ ref,
447
+ role,
448
+ focus,
449
+ defaultFocus,
450
+ blur
451
+ ]);
452
+ useEffect(() => {
453
+ var _ref_current;
454
+ if (isLandmarkFocused) (_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.focus();
455
+ }, [
456
+ isLandmarkFocused,
457
+ ref
458
+ ]);
459
+ return {
460
+ landmarkProps: {
461
+ role,
462
+ tabIndex: isLandmarkFocused ? -1 : void 0,
463
+ "aria-label": ariaLabel,
464
+ "aria-labelledby": ariaLabelledby
465
+ }
466
+ };
467
+ }
468
+ var $ff9177efc58547ad$exports = {};
469
+ $ff9177efc58547ad$exports = {
470
+ "close": `إغلاق`,
471
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
472
+ one: () => `${formatter.number(args.count)} إشعار`,
473
+ other: () => `${formatter.number(args.count)} إشعارات`
474
+ })}.`
475
+ };
476
+ var $25eb7c0c0c45e544$exports = {};
477
+ $25eb7c0c0c45e544$exports = {
478
+ "close": `Затвори`,
479
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
480
+ one: () => `${formatter.number(args.count)} известие`,
481
+ other: () => `${formatter.number(args.count)} известия`
482
+ })}.`
483
+ };
484
+ var $28feffc3d61a8691$exports = {};
485
+ $28feffc3d61a8691$exports = {
486
+ "close": `Zavřít`,
487
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
488
+ one: () => `${formatter.number(args.count)} oznámení`,
489
+ other: () => `${formatter.number(args.count)} oznámení`
490
+ })}.`
491
+ };
492
+ var $390d441203d25ff4$exports = {};
493
+ $390d441203d25ff4$exports = {
494
+ "close": `Luk`,
495
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
496
+ one: () => `${formatter.number(args.count)} besked`,
497
+ other: () => `${formatter.number(args.count)} beskeder`
498
+ })}.`
499
+ };
500
+ var $7063c2d0f14f979a$exports = {};
501
+ $7063c2d0f14f979a$exports = {
502
+ "close": `Schließen`,
503
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
504
+ one: () => `${formatter.number(args.count)} Benachrichtigung`,
505
+ other: () => `${formatter.number(args.count)} Benachrichtigungen`
506
+ })}.`
507
+ };
508
+ var $2dfc1dbb6590af88$exports = {};
509
+ $2dfc1dbb6590af88$exports = {
510
+ "close": `Κλείσιμο`,
511
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
512
+ one: () => `${formatter.number(args.count)} ειδοποίηση`,
513
+ other: () => `${formatter.number(args.count)} ειδοποιήσεις`
514
+ })}.`
515
+ };
516
+ var $9a12ff1caae5a7a5$exports = {};
517
+ $9a12ff1caae5a7a5$exports = {
518
+ "close": `Close`,
519
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
520
+ one: () => `${formatter.number(args.count)} notification`,
521
+ other: () => `${formatter.number(args.count)} notifications`
522
+ })}.`
523
+ };
524
+ var $f4095fb5a72adbe6$exports = {};
525
+ $f4095fb5a72adbe6$exports = {
526
+ "close": `Cerrar`,
527
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
528
+ one: () => `${formatter.number(args.count)} notificación`,
529
+ other: () => `${formatter.number(args.count)} notificaciones`
530
+ })}.`
531
+ };
532
+ var $75bc5191b9d7826a$exports = {};
533
+ $75bc5191b9d7826a$exports = {
534
+ "close": `Sule`,
535
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
536
+ one: () => `${formatter.number(args.count)} teatis`,
537
+ other: () => `${formatter.number(args.count)} teatist`
538
+ })}.`
539
+ };
540
+ var $e4b9aef18b0db8dc$exports = {};
541
+ $e4b9aef18b0db8dc$exports = {
542
+ "close": `Sulje`,
543
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
544
+ one: () => `${formatter.number(args.count)} ilmoitus`,
545
+ other: () => `${formatter.number(args.count)} ilmoitusta`
546
+ })}.`
547
+ };
548
+ var $888756784d832bd7$exports = {};
549
+ $888756784d832bd7$exports = {
550
+ "close": `Fermer`,
551
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
552
+ one: () => `${formatter.number(args.count)} notification`,
553
+ other: () => `${formatter.number(args.count)} notifications`
554
+ })}.`
555
+ };
556
+ var $6835949b68a1fabf$exports = {};
557
+ $6835949b68a1fabf$exports = {
558
+ "close": `סגור`,
559
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
560
+ one: () => `${formatter.number(args.count)} התראה`,
561
+ other: () => `${formatter.number(args.count)} התראות`
562
+ })}.`
563
+ };
564
+ var $87ffcbc0b651e40b$exports = {};
565
+ $87ffcbc0b651e40b$exports = {
566
+ "close": `Zatvori`,
567
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
568
+ one: () => `${formatter.number(args.count)} obavijest`,
569
+ other: () => `${formatter.number(args.count)} obavijesti`
570
+ })}.`
571
+ };
572
+ var $dc6e3b2813600d69$exports = {};
573
+ $dc6e3b2813600d69$exports = {
574
+ "close": `Bezárás`,
575
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
576
+ one: () => `${formatter.number(args.count)} értesítés`,
577
+ other: () => `${formatter.number(args.count)} értesítés`
578
+ })}.`
579
+ };
580
+ var $fe136bcbacfcfa14$exports = {};
581
+ $fe136bcbacfcfa14$exports = {
582
+ "close": `Chiudi`,
583
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
584
+ one: () => `${formatter.number(args.count)} notifica`,
585
+ other: () => `${formatter.number(args.count)} notifiche`
586
+ })}.`
587
+ };
588
+ var $8fb53a929b46df83$exports = {};
589
+ $8fb53a929b46df83$exports = {
590
+ "close": `閉じる`,
591
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
592
+ one: () => `${formatter.number(args.count)} 個の通知`,
593
+ other: () => `${formatter.number(args.count)} 個の通知`
594
+ })}。`
595
+ };
596
+ var $2c38dbfaf041a865$exports = {};
597
+ $2c38dbfaf041a865$exports = {
598
+ "close": `닫기`,
599
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
600
+ one: () => `${formatter.number(args.count)}개 알림`,
601
+ other: () => `${formatter.number(args.count)}개 알림`
602
+ })}.`
603
+ };
604
+ var $48f3f33a29908d4c$exports = {};
605
+ $48f3f33a29908d4c$exports = {
606
+ "close": `Uždaryti`,
607
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
608
+ one: () => `${formatter.number(args.count)} pranešimas`,
609
+ other: () => `${formatter.number(args.count)} pranešimai`
610
+ })}.`
611
+ };
612
+ var $9867160d996455a0$exports = {};
613
+ $9867160d996455a0$exports = {
614
+ "close": `Aizvērt`,
615
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
616
+ one: () => `${formatter.number(args.count)} paziņojums`,
617
+ other: () => `${formatter.number(args.count)} paziņojumi`
618
+ })}.`
619
+ };
620
+ var $196258ea25c96487$exports = {};
621
+ $196258ea25c96487$exports = {
622
+ "close": `Lukk`,
623
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
624
+ one: () => `${formatter.number(args.count)} varsling`,
625
+ other: () => `${formatter.number(args.count)} varsler`
626
+ })}.`
627
+ };
628
+ var $949061cb954e8000$exports = {};
629
+ $949061cb954e8000$exports = {
630
+ "close": `Sluiten`,
631
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
632
+ one: () => `${formatter.number(args.count)} melding`,
633
+ other: () => `${formatter.number(args.count)} meldingen`
634
+ })}.`
635
+ };
636
+ var $8189bed27add1ad3$exports = {};
637
+ $8189bed27add1ad3$exports = {
638
+ "close": `Zamknij`,
639
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
640
+ one: () => `${formatter.number(args.count)} powiadomienie`,
641
+ few: () => `${formatter.number(args.count)} powiadomienia`,
642
+ many: () => `${formatter.number(args.count)} powiadomień`,
643
+ other: () => `${formatter.number(args.count)} powiadomienia`
644
+ })}.`
645
+ };
646
+ var $a361756a93b6e28c$exports = {};
647
+ $a361756a93b6e28c$exports = {
648
+ "close": `Fechar`,
649
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
650
+ one: () => `${formatter.number(args.count)} notificação`,
651
+ other: () => `${formatter.number(args.count)} notificações`
652
+ })}.`
653
+ };
654
+ var $034c7393857c8db0$exports = {};
655
+ $034c7393857c8db0$exports = {
656
+ "close": `Fechar`,
657
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
658
+ one: () => `${formatter.number(args.count)} notificação`,
659
+ other: () => `${formatter.number(args.count)} notificações`
660
+ })}.`
661
+ };
662
+ var $e33d3b3868478b04$exports = {};
663
+ $e33d3b3868478b04$exports = {
664
+ "close": `Închideţi`,
665
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
666
+ one: () => `${formatter.number(args.count)} notificare`,
667
+ other: () => `${formatter.number(args.count)} notificări`
668
+ })}.`
669
+ };
670
+ var $9a7dcb914b29cd9f$exports = {};
671
+ $9a7dcb914b29cd9f$exports = {
672
+ "close": `Закрыть`,
673
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
674
+ one: () => `${formatter.number(args.count)} уведомление`,
675
+ other: () => `${formatter.number(args.count)} уведомления`
676
+ })}.`
677
+ };
678
+ var $e43d964a0c7f1266$exports = {};
679
+ $e43d964a0c7f1266$exports = {
680
+ "close": `Zatvoriť`,
681
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
682
+ one: () => `${formatter.number(args.count)} oznámenie`,
683
+ few: () => `${formatter.number(args.count)} oznámenia`,
684
+ other: () => `${formatter.number(args.count)} oznámení`
685
+ })}.`
686
+ };
687
+ var $0bc56cee3275bcaa$exports = {};
688
+ $0bc56cee3275bcaa$exports = {
689
+ "close": `Zapri`,
690
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
691
+ one: () => `${formatter.number(args.count)} obvestilo`,
692
+ two: () => `${formatter.number(args.count)} obvestili`,
693
+ few: () => `${formatter.number(args.count)} obvestila`,
694
+ other: () => `${formatter.number(args.count)} obvestil`
695
+ })}.`
696
+ };
697
+ var $7dbdd7289c10d2ba$exports = {};
698
+ $7dbdd7289c10d2ba$exports = {
699
+ "close": `Zatvori`,
700
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
701
+ one: () => `${formatter.number(args.count)} obaveštenje`,
702
+ other: () => `${formatter.number(args.count)} obaveštenja`
703
+ })}.`
704
+ };
705
+ var $ccbe6066c10b1e53$exports = {};
706
+ $ccbe6066c10b1e53$exports = {
707
+ "close": `Stäng`,
708
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
709
+ one: () => `${formatter.number(args.count)} meddelande`,
710
+ other: () => `${formatter.number(args.count)} meddelanden`
711
+ })}.`
712
+ };
713
+ var $9d503476b9d858b7$exports = {};
714
+ $9d503476b9d858b7$exports = {
715
+ "close": `Kapat`,
716
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
717
+ one: () => `${formatter.number(args.count)} bildirim`,
718
+ other: () => `${formatter.number(args.count)} bildirim`
719
+ })}.`
720
+ };
721
+ var $32ee419c7b9b7a83$exports = {};
722
+ $32ee419c7b9b7a83$exports = {
723
+ "close": `Закрити`,
724
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
725
+ one: () => `${formatter.number(args.count)} сповіщення`,
726
+ other: () => `${formatter.number(args.count)} сповіщення`
727
+ })}.`
728
+ };
729
+ var $122525af1cb737c7$exports = {};
730
+ $122525af1cb737c7$exports = {
731
+ "close": `关闭`,
732
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
733
+ one: () => `${formatter.number(args.count)} 个通知`,
734
+ other: () => `${formatter.number(args.count)} 个通知`
735
+ })}。`
736
+ };
737
+ var $52e8b1b00094e5a3$exports = {};
738
+ $52e8b1b00094e5a3$exports = {
739
+ "close": `關閉`,
740
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
741
+ one: () => `${formatter.number(args.count)} 個通知`,
742
+ other: () => `${formatter.number(args.count)} 個通知`
743
+ })}。`
744
+ };
745
+ var $7853651519a70071$exports = {};
746
+ $7853651519a70071$exports = {
747
+ "ar-AE": $ff9177efc58547ad$exports,
748
+ "bg-BG": $25eb7c0c0c45e544$exports,
749
+ "cs-CZ": $28feffc3d61a8691$exports,
750
+ "da-DK": $390d441203d25ff4$exports,
751
+ "de-DE": $7063c2d0f14f979a$exports,
752
+ "el-GR": $2dfc1dbb6590af88$exports,
753
+ "en-US": $9a12ff1caae5a7a5$exports,
754
+ "es-ES": $f4095fb5a72adbe6$exports,
755
+ "et-EE": $75bc5191b9d7826a$exports,
756
+ "fi-FI": $e4b9aef18b0db8dc$exports,
757
+ "fr-FR": $888756784d832bd7$exports,
758
+ "he-IL": $6835949b68a1fabf$exports,
759
+ "hr-HR": $87ffcbc0b651e40b$exports,
760
+ "hu-HU": $dc6e3b2813600d69$exports,
761
+ "it-IT": $fe136bcbacfcfa14$exports,
762
+ "ja-JP": $8fb53a929b46df83$exports,
763
+ "ko-KR": $2c38dbfaf041a865$exports,
764
+ "lt-LT": $48f3f33a29908d4c$exports,
765
+ "lv-LV": $9867160d996455a0$exports,
766
+ "nb-NO": $196258ea25c96487$exports,
767
+ "nl-NL": $949061cb954e8000$exports,
768
+ "pl-PL": $8189bed27add1ad3$exports,
769
+ "pt-BR": $a361756a93b6e28c$exports,
770
+ "pt-PT": $034c7393857c8db0$exports,
771
+ "ro-RO": $e33d3b3868478b04$exports,
772
+ "ru-RU": $9a7dcb914b29cd9f$exports,
773
+ "sk-SK": $e43d964a0c7f1266$exports,
774
+ "sl-SI": $0bc56cee3275bcaa$exports,
775
+ "sr-SP": $7dbdd7289c10d2ba$exports,
776
+ "sv-SE": $ccbe6066c10b1e53$exports,
777
+ "tr-TR": $9d503476b9d858b7$exports,
778
+ "uk-UA": $32ee419c7b9b7a83$exports,
779
+ "zh-CN": $122525af1cb737c7$exports,
780
+ "zh-TW": $52e8b1b00094e5a3$exports
781
+ };
782
+ function $parcel$interopDefault$1(a) {
783
+ return a && a.__esModule ? a.default : a;
784
+ }
785
+ function $d6542812f0669241$export$a407b657d3044108(props, state, ref) {
786
+ let { key, timer, timeout } = props.toast;
872
787
  useEffect(() => {
873
- var _ref_current;
874
- if (isLandmarkFocused) (_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.focus();
788
+ if (timer == null || timeout == null) return;
789
+ timer.reset(timeout);
790
+ return () => {
791
+ timer.pause();
792
+ };
875
793
  }, [
876
- isLandmarkFocused,
877
- ref
794
+ timer,
795
+ timeout
878
796
  ]);
797
+ let titleId = $bdb11010cef70236$export$f680877a34711e37();
798
+ let descriptionId = $bdb11010cef70236$export$b4cc09c592e8fdb8();
799
+ let stringFormatter = $fca6afa0e843324b$export$f12b703ca79dfbb1($parcel$interopDefault$1($7853651519a70071$exports), "@react-aria/toast");
800
+ let [isVisible, setIsVisible] = useState(false);
801
+ useEffect(() => {
802
+ setIsVisible(true);
803
+ }, []);
879
804
  return {
880
- landmarkProps: {
881
- role,
882
- tabIndex: isLandmarkFocused ? -1 : void 0,
883
- "aria-label": ariaLabel,
884
- "aria-labelledby": ariaLabelledby
805
+ toastProps: {
806
+ role: "alertdialog",
807
+ "aria-modal": "false",
808
+ "aria-label": props["aria-label"],
809
+ "aria-labelledby": props["aria-labelledby"] || titleId,
810
+ "aria-describedby": props["aria-describedby"] || descriptionId,
811
+ "aria-details": props["aria-details"],
812
+ tabIndex: 0
813
+ },
814
+ contentProps: {
815
+ role: "alert",
816
+ "aria-atomic": "true",
817
+ "aria-hidden": isVisible ? void 0 : "true"
818
+ },
819
+ titleProps: {
820
+ id: titleId
821
+ },
822
+ descriptionProps: {
823
+ id: descriptionId
824
+ },
825
+ closeButtonProps: {
826
+ "aria-label": stringFormatter.format("close"),
827
+ onPress: () => state.close(key)
885
828
  }
886
829
  };
887
830
  }
@@ -896,9 +839,21 @@ function $6cc546b19ee7130a$export$b8cbbb20a51697de(props, state, ref) {
896
839
  count: state.visibleToasts.length
897
840
  })
898
841
  }, ref);
842
+ let isHovered = useRef(false);
843
+ let isFocused = useRef(false);
844
+ let updateTimers = $8ae05eaa5c114e9c$export$7f54fc3180508a52(() => {
845
+ if (isHovered.current || isFocused.current) state.pauseAll();
846
+ else state.resumeAll();
847
+ });
899
848
  let { hoverProps } = $6179b936705e76d3$export$ae780daf29e6d456({
900
- onHoverStart: state.pauseAll,
901
- onHoverEnd: state.resumeAll
849
+ onHoverStart: () => {
850
+ isHovered.current = true;
851
+ updateTimers();
852
+ },
853
+ onHoverEnd: () => {
854
+ isHovered.current = false;
855
+ updateTimers();
856
+ }
902
857
  });
903
858
  let toasts = useRef([]);
904
859
  let prevVisibleToasts = useRef(state.visibleToasts);
@@ -920,44 +875,52 @@ function $6cc546b19ee7130a$export$b8cbbb20a51697de(props, state, ref) {
920
875
  i,
921
876
  isRemoved: !state.visibleToasts.some((t2) => t.key === t2.key)
922
877
  }));
923
- let removedFocusedToastIndex = allToasts.findIndex((t) => t.i === focusedToast.current);
878
+ let removedFocusedToastIndex = allToasts.findIndex((t) => t.i === focusedToast.current && t.isRemoved);
924
879
  if (removedFocusedToastIndex > -1) {
925
- let i = 0;
926
- let nextToast;
927
- let prevToast;
928
- while (i <= removedFocusedToastIndex) {
929
- if (!allToasts[i].isRemoved) prevToast = Math.max(0, i - 1);
930
- i++;
931
- }
932
- while (i < allToasts.length) {
933
- if (!allToasts[i].isRemoved) {
934
- nextToast = i - 1;
935
- break;
880
+ var _lastFocused_current;
881
+ if ($507fabe10e71c6fb$export$630ff653c5ada6a9() === "pointer" && ((_lastFocused_current = lastFocused.current) === null || _lastFocused_current === void 0 ? void 0 : _lastFocused_current.isConnected)) $7215afc6de606d6b$export$de79e2c695e052f3(lastFocused.current);
882
+ else {
883
+ let i = 0;
884
+ let nextToast;
885
+ let prevToast;
886
+ while (i <= removedFocusedToastIndex) {
887
+ if (!allToasts[i].isRemoved) prevToast = Math.max(0, i - 1);
888
+ i++;
936
889
  }
937
- i++;
890
+ while (i < allToasts.length) {
891
+ if (!allToasts[i].isRemoved) {
892
+ nextToast = i - 1;
893
+ break;
894
+ }
895
+ i++;
896
+ }
897
+ if (prevToast === void 0 && nextToast === void 0) prevToast = 0;
898
+ if (prevToast >= 0 && prevToast < toasts.current.length) $7215afc6de606d6b$export$de79e2c695e052f3(toasts.current[prevToast]);
899
+ else if (nextToast >= 0 && nextToast < toasts.current.length) $7215afc6de606d6b$export$de79e2c695e052f3(toasts.current[nextToast]);
938
900
  }
939
- if (prevToast === void 0 && nextToast === void 0) prevToast = 0;
940
- if (prevToast >= 0 && prevToast < toasts.current.length) $7215afc6de606d6b$export$de79e2c695e052f3(toasts.current[prevToast]);
941
- else if (nextToast >= 0 && nextToast < toasts.current.length) $7215afc6de606d6b$export$de79e2c695e052f3(toasts.current[nextToast]);
942
901
  }
943
902
  prevVisibleToasts.current = state.visibleToasts;
944
903
  }, [
945
904
  state.visibleToasts,
946
- ref
905
+ ref,
906
+ updateTimers
947
907
  ]);
948
908
  let lastFocused = useRef(null);
949
909
  let { focusWithinProps } = $9ab94262bd0047c7$export$420e68273165f4ec({
950
910
  onFocusWithin: (e) => {
951
- state.pauseAll();
911
+ isFocused.current = true;
952
912
  lastFocused.current = e.relatedTarget;
913
+ updateTimers();
953
914
  },
954
915
  onBlurWithin: () => {
955
- state.resumeAll();
916
+ isFocused.current = false;
956
917
  lastFocused.current = null;
918
+ updateTimers();
957
919
  }
958
920
  });
959
921
  useEffect(() => {
960
- if (state.visibleToasts.length === 0 && lastFocused.current && document.body.contains(lastFocused.current)) {
922
+ var _lastFocused_current;
923
+ if (state.visibleToasts.length === 0 && ((_lastFocused_current = lastFocused.current) === null || _lastFocused_current === void 0 ? void 0 : _lastFocused_current.isConnected)) {
961
924
  if ($507fabe10e71c6fb$export$630ff653c5ada6a9() === "pointer") $7215afc6de606d6b$export$de79e2c695e052f3(lastFocused.current);
962
925
  else lastFocused.current.focus();
963
926
  lastFocused.current = null;
@@ -968,7 +931,8 @@ function $6cc546b19ee7130a$export$b8cbbb20a51697de(props, state, ref) {
968
931
  ]);
969
932
  useEffect(() => {
970
933
  return () => {
971
- if (lastFocused.current && document.body.contains(lastFocused.current)) {
934
+ var _lastFocused_current;
935
+ if ((_lastFocused_current = lastFocused.current) === null || _lastFocused_current === void 0 ? void 0 : _lastFocused_current.isConnected) {
972
936
  if ($507fabe10e71c6fb$export$630ff653c5ada6a9() === "pointer") $7215afc6de606d6b$export$de79e2c695e052f3(lastFocused.current);
973
937
  else lastFocused.current.focus();
974
938
  lastFocused.current = null;
@@ -998,18 +962,166 @@ function $6cc546b19ee7130a$export$b8cbbb20a51697de(props, state, ref) {
998
962
  })
999
963
  };
1000
964
  }
1001
- const statusPromotional = "_statusPromotional_7hyqb_5";
1002
- const statusSuccess = "_statusSuccess_7hyqb_10";
1003
- const statusNeutral = "_statusNeutral_7hyqb_15";
1004
- const statusWarning = "_statusWarning_7hyqb_20";
1005
- const statusError = "_statusError_7hyqb_25";
1006
- const typeToast = "_typeToast_7hyqb_30";
1007
- const typeAlert = "_typeAlert_7hyqb_34";
1008
- const Notification$1 = "_Notification_7hyqb_39";
1009
- const iconText = "_iconText_7hyqb_55";
1010
- const closeButton = "_closeButton_7hyqb_61";
1011
- const region = "_region_7hyqb_70";
1012
- const container = "_container_7hyqb_76";
965
+ var __defProp$3 = Object.defineProperty;
966
+ var __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;
967
+ var __hasOwnProp$3 = Object.prototype.hasOwnProperty;
968
+ var __propIsEnum$3 = Object.prototype.propertyIsEnumerable;
969
+ var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, {
970
+ enumerable: true,
971
+ configurable: true,
972
+ writable: true,
973
+ value
974
+ }) : obj[key] = value;
975
+ var __spreadValues$3 = (a, b) => {
976
+ for (var prop in b || (b = {})) if (__hasOwnProp$3.call(b, prop)) __defNormalProp$3(a, prop, b[prop]);
977
+ if (__getOwnPropSymbols$3) for (var prop of __getOwnPropSymbols$3(b)) {
978
+ if (__propIsEnum$3.call(b, prop)) __defNormalProp$3(a, prop, b[prop]);
979
+ }
980
+ return a;
981
+ };
982
+ var __objRest$3 = (source, exclude) => {
983
+ var target = {};
984
+ for (var prop in source) if (__hasOwnProp$3.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
985
+ if (source != null && __getOwnPropSymbols$3) for (var prop of __getOwnPropSymbols$3(source)) {
986
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$3.call(source, prop)) target[prop] = source[prop];
987
+ }
988
+ return target;
989
+ };
990
+ const Error2 = (_a) => {
991
+ var _b = _a, { title, titleId } = _b, props = __objRest$3(_b, ["title", "titleId"]);
992
+ return React.createElement("svg", __spreadValues$3({
993
+ xmlns: "http://www.w3.org/2000/svg",
994
+ viewBox: "0 -960 960 960",
995
+ "aria-labelledby": titleId
996
+ }, props), title ? React.createElement("title", {
997
+ id: titleId
998
+ }, title) : null, React.createElement("path", {
999
+ d: "M479.98-290.77q11.9 0 19.58-7.66 7.67-7.65 7.67-19.55t-7.66-19.58q-7.65-7.67-19.55-7.67t-19.58 7.65q-7.67 7.66-7.67 19.56 0 11.9 7.66 19.58 7.65 7.67 19.55 7.67Zm-20.44-141.08h45.38v-249.53h-45.38v249.53ZM480.33-100q-78.95 0-147.89-29.92-68.95-29.92-120.76-81.71-51.81-51.79-81.75-120.78Q100-401.39 100-480.43q0-78.66 29.92-147.87 29.92-69.21 81.71-120.52 51.79-51.31 120.78-81.25Q401.39-860 480.43-860q78.66 0 147.87 29.92 69.21 29.92 120.52 81.21 51.31 51.29 81.25 120.63Q860-558.9 860-480.33q0 78.95-29.92 147.89-29.92 68.95-81.21 120.57-51.29 51.63-120.63 81.75Q558.9-100 480.33-100Zm.17-45.39q139.19 0 236.65-97.76 97.46-97.77 97.46-237.35 0-139.19-97.27-236.65-97.27-97.46-237.34-97.46-139.08 0-236.85 97.27-97.76 97.27-97.76 237.34 0 139.08 97.76 236.85 97.77 97.76 237.35 97.76ZM480-480Z"
1000
+ }));
1001
+ };
1002
+ var __defProp$2 = Object.defineProperty;
1003
+ var __getOwnPropSymbols$2 = Object.getOwnPropertySymbols;
1004
+ var __hasOwnProp$2 = Object.prototype.hasOwnProperty;
1005
+ var __propIsEnum$2 = Object.prototype.propertyIsEnumerable;
1006
+ var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, {
1007
+ enumerable: true,
1008
+ configurable: true,
1009
+ writable: true,
1010
+ value
1011
+ }) : obj[key] = value;
1012
+ var __spreadValues$2 = (a, b) => {
1013
+ for (var prop in b || (b = {})) if (__hasOwnProp$2.call(b, prop)) __defNormalProp$2(a, prop, b[prop]);
1014
+ if (__getOwnPropSymbols$2) for (var prop of __getOwnPropSymbols$2(b)) {
1015
+ if (__propIsEnum$2.call(b, prop)) __defNormalProp$2(a, prop, b[prop]);
1016
+ }
1017
+ return a;
1018
+ };
1019
+ var __objRest$2 = (source, exclude) => {
1020
+ var target = {};
1021
+ for (var prop in source) if (__hasOwnProp$2.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
1022
+ if (source != null && __getOwnPropSymbols$2) for (var prop of __getOwnPropSymbols$2(source)) {
1023
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$2.call(source, prop)) target[prop] = source[prop];
1024
+ }
1025
+ return target;
1026
+ };
1027
+ const Warning = (_a) => {
1028
+ var _b = _a, { title, titleId } = _b, props = __objRest$2(_b, ["title", "titleId"]);
1029
+ return React.createElement("svg", __spreadValues$2({
1030
+ xmlns: "http://www.w3.org/2000/svg",
1031
+ viewBox: "0 -960 960 960",
1032
+ "aria-labelledby": titleId
1033
+ }, props), title ? React.createElement("title", {
1034
+ id: titleId
1035
+ }, title) : null, React.createElement("path", {
1036
+ d: "M74.62-140 480-840l405.38 700H74.62Zm78.61-45.39h653.54L480-749.23 153.23-185.39Zm329.8-60.07q10.7 0 17.76-7.24 7.06-7.24 7.06-17.94 0-10.71-7.24-17.76-7.24-7.06-17.95-7.06-10.7 0-17.76 7.24-7.05 7.24-7.05 17.94 0 10.7 7.24 17.76 7.24 7.06 17.94 7.06Zm-22.88-97.92h45.39v-217.85h-45.39v217.85ZM480-467.31Z"
1037
+ }));
1038
+ };
1039
+ var __defProp$1 = Object.defineProperty;
1040
+ var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;
1041
+ var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
1042
+ var __propIsEnum$1 = Object.prototype.propertyIsEnumerable;
1043
+ var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, {
1044
+ enumerable: true,
1045
+ configurable: true,
1046
+ writable: true,
1047
+ value
1048
+ }) : obj[key] = value;
1049
+ var __spreadValues$1 = (a, b) => {
1050
+ for (var prop in b || (b = {})) if (__hasOwnProp$1.call(b, prop)) __defNormalProp$1(a, prop, b[prop]);
1051
+ if (__getOwnPropSymbols$1) for (var prop of __getOwnPropSymbols$1(b)) {
1052
+ if (__propIsEnum$1.call(b, prop)) __defNormalProp$1(a, prop, b[prop]);
1053
+ }
1054
+ return a;
1055
+ };
1056
+ var __objRest$1 = (source, exclude) => {
1057
+ var target = {};
1058
+ for (var prop in source) if (__hasOwnProp$1.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
1059
+ if (source != null && __getOwnPropSymbols$1) for (var prop of __getOwnPropSymbols$1(source)) {
1060
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1.call(source, prop)) target[prop] = source[prop];
1061
+ }
1062
+ return target;
1063
+ };
1064
+ const DocumentScanner = (_a) => {
1065
+ var _b = _a, { title, titleId } = _b, props = __objRest$1(_b, ["title", "titleId"]);
1066
+ return React.createElement("svg", __spreadValues$1({
1067
+ xmlns: "http://www.w3.org/2000/svg",
1068
+ viewBox: "0 -960 960 960",
1069
+ "aria-labelledby": titleId
1070
+ }, props), title ? React.createElement("title", {
1071
+ id: titleId
1072
+ }, title) : null, React.createElement("path", {
1073
+ d: "M90-748.46V-910h161.92v45.38H135.38v116.16H90Zm734.62 0v-116.16H708.46V-910H870v161.54h-45.38ZM90-50v-161.92h45.38v116.54h116.54V-50H90Zm618.46 0v-45.38h116.16v-116.54H870V-50H708.46ZM255.38-227.69q0 4.61 3.85 8.46 3.85 3.85 8.46 3.85h424.62q4.61 0 8.46-3.85 3.85-3.85 3.85-8.46v-504.62q0-4.61-3.85-8.46-3.85-3.85-8.46-3.85H267.69q-4.61 0-8.46 3.85-3.85 3.85-3.85 8.46v504.62ZM267.69-170q-23.53 0-40.61-17.08T210-227.69v-504.62q0-23.53 17.08-40.61T267.69-790h424.62q23.53 0 40.61 17.08T750-732.31v504.62q0 23.53-17.08 40.61T692.31-170H267.69Zm109.62-407.31h205.38v-45.38H377.31v45.38Zm0 120h205.38v-45.38H377.31v45.38Zm0 120h205.38v-45.38H377.31v45.38ZM255.38-227.69v-516.93 529.24-12.31Z"
1074
+ }));
1075
+ };
1076
+ var __defProp2 = Object.defineProperty;
1077
+ var __getOwnPropSymbols2 = Object.getOwnPropertySymbols;
1078
+ var __hasOwnProp2 = Object.prototype.hasOwnProperty;
1079
+ var __propIsEnum2 = Object.prototype.propertyIsEnumerable;
1080
+ var __defNormalProp2 = (obj, key, value) => key in obj ? __defProp2(obj, key, {
1081
+ enumerable: true,
1082
+ configurable: true,
1083
+ writable: true,
1084
+ value
1085
+ }) : obj[key] = value;
1086
+ var __spreadValues2 = (a, b) => {
1087
+ for (var prop in b || (b = {})) if (__hasOwnProp2.call(b, prop)) __defNormalProp2(a, prop, b[prop]);
1088
+ if (__getOwnPropSymbols2) for (var prop of __getOwnPropSymbols2(b)) {
1089
+ if (__propIsEnum2.call(b, prop)) __defNormalProp2(a, prop, b[prop]);
1090
+ }
1091
+ return a;
1092
+ };
1093
+ var __objRest = (source, exclude) => {
1094
+ var target = {};
1095
+ for (var prop in source) if (__hasOwnProp2.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
1096
+ if (source != null && __getOwnPropSymbols2) for (var prop of __getOwnPropSymbols2(source)) {
1097
+ if (exclude.indexOf(prop) < 0 && __propIsEnum2.call(source, prop)) target[prop] = source[prop];
1098
+ }
1099
+ return target;
1100
+ };
1101
+ const CurrencyExchange = (_a) => {
1102
+ var _b = _a, { title, titleId } = _b, props = __objRest(_b, ["title", "titleId"]);
1103
+ return React.createElement("svg", __spreadValues2({
1104
+ xmlns: "http://www.w3.org/2000/svg",
1105
+ viewBox: "0 -960 960 960",
1106
+ "aria-labelledby": titleId
1107
+ }, props), title ? React.createElement("title", {
1108
+ id: titleId
1109
+ }, title) : null, React.createElement("path", {
1110
+ d: "M480-60q-117 0-219.65-68.89-102.66-68.88-156.89-166.19v141.23H58.08v-220h220v45.39H136.85q45.61 91.23 142.03 157.15 96.43 65.92 201.12 65.92 75.69 0 142.88-28.26 67.2-28.27 117.73-77.47 50.54-49.19 80.93-115.99 30.38-66.81 32.69-142.89h45.38q-1.92 85.23-35.65 159.85-33.73 74.61-90.46 130.38Q716.77-124 641.19-92 565.61-60 480-60Zm-23.23-142.62v-52.07q-42.31-10.85-72.23-34.85T334-356.46l39.85-14.31q14.3 37.23 44.61 58.46 30.31 21.23 68.16 21.23 39.61 0 68.8-19.88 29.2-19.89 29.2-56.89 0-34.15-23.66-55.88-23.65-21.73-90.27-48.96-62.69-25-91.73-52.46-29.04-27.47-29.04-74.16 0-40.92 28.85-71.15 28.85-30.23 80-37.23v-49.08h43.84v49.08q34.93 3.23 62.16 21.69Q592-667.54 609-635.62L571.38-618Q556-643.69 534-657.31q-22-13.61-52-13.61-40.15 0-64.38 19.92-24.24 19.92-24.24 51.69 0 32.77 22.93 51.39 22.92 18.61 84.77 43 69.77 28.23 98.19 58.3 28.42 30.08 28.42 78.77 0 26.16-9.96 46.77-9.96 20.62-26.85 35.04-16.88 14.42-40.11 22.96-23.23 8.54-50.16 10.39v50.07h-43.84ZM60.39-490q2.69-87.15 36.8-161.96 34.12-74.81 91.23-130.19 57.12-55.39 132.12-86.62Q395.54-900 480-900q115.85 0 219.65 69.08 103.81 69.08 156.89 167.54v-142.77h45.38v220h-220v-45.39h141.23q-44.46-89.3-140.57-156.19-96.12-66.88-202.58-66.88-74.15 0-141.35 27.88-67.19 27.88-117.92 76.69-50.73 48.81-81.69 115.62-30.96 66.8-33.27 144.42H60.39Z"
1111
+ }));
1112
+ };
1113
+ const statusPromotional = "_statusPromotional_dgfcn_4";
1114
+ const statusSuccess = "_statusSuccess_dgfcn_9";
1115
+ const statusNeutral = "_statusNeutral_dgfcn_14";
1116
+ const statusWarning = "_statusWarning_dgfcn_19";
1117
+ const statusError = "_statusError_dgfcn_24";
1118
+ const typeToast = "_typeToast_dgfcn_29";
1119
+ const typeAlert = "_typeAlert_dgfcn_33";
1120
+ const Notification$1 = "_Notification_dgfcn_38";
1121
+ const iconText = "_iconText_dgfcn_54";
1122
+ const closeButton = "_closeButton_dgfcn_60";
1123
+ const region = "_region_dgfcn_69";
1124
+ const container = "_container_dgfcn_75";
1013
1125
  const styles = {
1014
1126
  statusPromotional,
1015
1127
  statusSuccess,
@@ -1066,141 +1178,6 @@ function NotificationContainer(props) {
1066
1178
  state
1067
1179
  })), container2 != null ? container2 : document.body) : null);
1068
1180
  }
1069
- function $77b352cf12efcf73$export$84726ef35ca2129a(queue) {
1070
- let subscribe = useCallback((fn) => queue.subscribe(fn), [
1071
- queue
1072
- ]);
1073
- let getSnapshot = useCallback(() => queue.visibleToasts, [
1074
- queue
1075
- ]);
1076
- let visibleToasts = shimExports.useSyncExternalStore(subscribe, getSnapshot, getSnapshot);
1077
- return {
1078
- visibleToasts,
1079
- add: (content, options) => queue.add(content, options),
1080
- close: (key) => queue.close(key),
1081
- remove: (key) => queue.remove(key),
1082
- pauseAll: () => queue.pauseAll(),
1083
- resumeAll: () => queue.resumeAll()
1084
- };
1085
- }
1086
- class $77b352cf12efcf73$export$f1f8569633bbbec4 {
1087
- /** Subscribes to updates to the visible toasts. */
1088
- subscribe(fn) {
1089
- this.subscriptions.add(fn);
1090
- return () => this.subscriptions.delete(fn);
1091
- }
1092
- /** Adds a new toast to the queue. */
1093
- add(content, options = {}) {
1094
- let toastKey = Math.random().toString(36);
1095
- let toast = __spreadProps(__spreadValues({}, options), {
1096
- content,
1097
- key: toastKey,
1098
- timer: options.timeout ? new $77b352cf12efcf73$var$Timer(() => this.close(toastKey), options.timeout) : void 0
1099
- });
1100
- let low = 0;
1101
- let high = this.queue.length;
1102
- while (low < high) {
1103
- let mid = Math.floor((low + high) / 2);
1104
- if ((toast.priority || 0) > (this.queue[mid].priority || 0)) high = mid;
1105
- else low = mid + 1;
1106
- }
1107
- this.queue.splice(low, 0, toast);
1108
- toast.animation = low < this.maxVisibleToasts ? "entering" : "queued";
1109
- let i = this.maxVisibleToasts;
1110
- while (i < this.queue.length) this.queue[i++].animation = "queued";
1111
- this.updateVisibleToasts({
1112
- action: "add"
1113
- });
1114
- return toastKey;
1115
- }
1116
- /**
1117
- * Closes a toast. If `hasExitAnimation` is true, the toast
1118
- * transitions to an "exiting" state instead of being removed immediately.
1119
- */
1120
- close(key) {
1121
- let index = this.queue.findIndex((t) => t.key === key);
1122
- if (index >= 0) {
1123
- var _this_queue_index_onClose, _this_queue_index;
1124
- (_this_queue_index_onClose = (_this_queue_index = this.queue[index]).onClose) === null || _this_queue_index_onClose === void 0 ? void 0 : _this_queue_index_onClose.call(_this_queue_index);
1125
- this.queue.splice(index, 1);
1126
- }
1127
- this.updateVisibleToasts({
1128
- action: "close",
1129
- key
1130
- });
1131
- }
1132
- /** Removes a toast from the visible toasts after an exiting animation. */
1133
- remove(key) {
1134
- this.updateVisibleToasts({
1135
- action: "remove",
1136
- key
1137
- });
1138
- }
1139
- updateVisibleToasts(options) {
1140
- let { action, key } = options;
1141
- let toasts = this.queue.slice(0, this.maxVisibleToasts);
1142
- if (action === "add" && this.hasExitAnimation) {
1143
- let prevToasts = this.visibleToasts.filter((t) => !toasts.some((t2) => t.key === t2.key)).map((t) => __spreadProps(__spreadValues({}, t), {
1144
- animation: "exiting"
1145
- }));
1146
- this.visibleToasts = prevToasts.concat(toasts).sort((a, b) => {
1147
- var _b_priority, _a_priority;
1148
- return ((_b_priority = b.priority) !== null && _b_priority !== void 0 ? _b_priority : 0) - ((_a_priority = a.priority) !== null && _a_priority !== void 0 ? _a_priority : 0);
1149
- });
1150
- } else if (action === "close" && this.hasExitAnimation)
1151
- this.visibleToasts = this.visibleToasts.map((t) => {
1152
- if (t.key !== key) return t;
1153
- else return __spreadProps(__spreadValues({}, t), {
1154
- animation: "exiting"
1155
- });
1156
- });
1157
- else this.visibleToasts = toasts;
1158
- for (let fn of this.subscriptions) fn();
1159
- }
1160
- /** Pauses the timers for all visible toasts. */
1161
- pauseAll() {
1162
- for (let toast of this.visibleToasts) if (toast.timer) toast.timer.pause();
1163
- }
1164
- /** Resumes the timers for all visible toasts. */
1165
- resumeAll() {
1166
- for (let toast of this.visibleToasts) if (toast.timer) toast.timer.resume();
1167
- }
1168
- constructor(options) {
1169
- this.queue = [];
1170
- this.subscriptions = /* @__PURE__ */ new Set();
1171
- this.visibleToasts = [];
1172
- var _options_maxVisibleToasts;
1173
- this.maxVisibleToasts = (_options_maxVisibleToasts = options === null || options === void 0 ? void 0 : options.maxVisibleToasts) !== null && _options_maxVisibleToasts !== void 0 ? _options_maxVisibleToasts : 1;
1174
- var _options_hasExitAnimation;
1175
- this.hasExitAnimation = (_options_hasExitAnimation = options === null || options === void 0 ? void 0 : options.hasExitAnimation) !== null && _options_hasExitAnimation !== void 0 ? _options_hasExitAnimation : false;
1176
- }
1177
- }
1178
- class $77b352cf12efcf73$var$Timer {
1179
- reset(delay) {
1180
- this.remaining = delay;
1181
- this.resume();
1182
- }
1183
- pause() {
1184
- if (this.timerId == null) return;
1185
- clearTimeout(this.timerId);
1186
- this.timerId = null;
1187
- this.remaining -= Date.now() - this.startTime;
1188
- }
1189
- resume() {
1190
- if (this.remaining <= 0) return;
1191
- this.startTime = Date.now();
1192
- this.timerId = setTimeout(() => {
1193
- this.timerId = null;
1194
- this.remaining = 0;
1195
- this.callback();
1196
- }, this.remaining);
1197
- }
1198
- constructor(callback, delay) {
1199
- this.startTime = null;
1200
- this.remaining = delay;
1201
- this.callback = callback;
1202
- }
1203
- }
1204
1181
  const TOAST_TIMEOUT_DURATION = 4e3;
1205
1182
  class EasyUINotificationQueue extends $77b352cf12efcf73$export$f1f8569633bbbec4 {
1206
1183
  constructor(options) {
@@ -1332,7 +1309,6 @@ function NotificationProvider(props) {
1332
1309
  const state = {
1333
1310
  close: combinedState.close,
1334
1311
  add: combinedState.add,
1335
- remove: combinedState.remove,
1336
1312
  pauseAll: combinedState.pauseAll,
1337
1313
  resumeAll: combinedState.resumeAll,
1338
1314
  visibleToasts: combinedState.visibleToasts