@midas-ds/components 14.0.0 → 14.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (290) hide show
  1. package/AccordionItem-CAi-XFOc.js +343 -0
  2. package/AccordionItem-tWS22wDv.cjs +1 -0
  3. package/{Breadcrumbs-DpUPChG9.cjs → Breadcrumbs-BBDGxc68.cjs} +1 -1
  4. package/{Breadcrumbs-CV3rVTjR.js → Breadcrumbs-BenPNv8Z.js} +4 -4
  5. package/Button-1sEX8jKn.cjs +1 -0
  6. package/{Button-xc8A29pm.cjs → Button-BEWKXjlP.cjs} +1 -1
  7. package/{Button-CRIYvCRM.js → Button-CF97piBl.js} +1 -1
  8. package/{Button-B6lxIKPk.js → Button-CGe3Nyos.js} +121 -115
  9. package/CHANGELOG.md +26 -0
  10. package/{Card-CfosvMF5.js → Card-DJ8E5Rzd.js} +3 -3
  11. package/{Card-D2E3gviQ.cjs → Card-Db9xdzJ0.cjs} +1 -1
  12. package/{CharacterCounter-C-PFKoGg.cjs → CharacterCounter-CTpQ12f7.cjs} +1 -1
  13. package/{CharacterCounter-DpFONstE.js → CharacterCounter-gbDGfize.js} +2 -2
  14. package/Checkbox-BgrLxY6P.cjs +1 -0
  15. package/{Checkbox-Cr3MmHPE.js → Checkbox-CdN1D5pD.js} +94 -90
  16. package/{CheckboxGroup-DEY3JDEL.js → CheckboxGroup-B1b-6bKq.js} +7 -7
  17. package/{CheckboxGroup-f9Oa1MhQ.cjs → CheckboxGroup-BfZyy5yU.cjs} +1 -1
  18. package/{Collection-j_iWeuZo.js → Collection-BkxwF21i.js} +205 -213
  19. package/Collection-vGO6v3_U.cjs +1 -0
  20. package/{ColorSchemeSwitch-Cur7zN5_.cjs → ColorSchemeSwitch-BOooU0iy.cjs} +1 -1
  21. package/{ColorSchemeSwitch-ChFSNntp.js → ColorSchemeSwitch-KjnsdbDr.js} +2 -2
  22. package/{ComboBox-D7eKe-M5.js → ComboBox-D1ZSZ6m-.js} +254 -246
  23. package/ComboBox-Dztk_jtC.cjs +1 -0
  24. package/{DateField-BszKZodr.cjs → DateField-BogEOseq.cjs} +1 -1
  25. package/{DateField-xyhyDy7u.js → DateField-lsr_1fw4.js} +4 -4
  26. package/{DateInputDivider-2Wf2hlXA.js → DateInputDivider-CRv3YuXd.js} +191 -188
  27. package/DateInputDivider-CYqm6PZP.cjs +1 -0
  28. package/{DateRangePicker-YwKi0ukr.js → DateRangePicker-5k1swaEt.js} +119 -115
  29. package/DateRangePicker-CgNXWOT6.cjs +6 -0
  30. package/Dialog-B1N4Ndyx.js +256 -0
  31. package/{Dialog-DOyFzvUa.js → Dialog-BUAp30Wc.js} +712 -694
  32. package/Dialog-BgSxz1JW.cjs +1 -0
  33. package/Dialog-PrnV8KTh.cjs +6 -0
  34. package/{DragAndDrop-DQ_6tl6K.cjs → DragAndDrop-Cs-V-9ak.cjs} +1 -1
  35. package/{DragAndDrop-DPRU3Y0Y.js → DragAndDrop-DF0VoPJw.js} +1 -1
  36. package/{Dropdown-5rmvcHD_.cjs → Dropdown-DBFLb8Tl.cjs} +1 -1
  37. package/{Dropdown-uC9wc8vd.js → Dropdown-DaARa89l.js} +2 -2
  38. package/{FieldError-C4WBoCRc.cjs → FieldError-Cimgm8qD.cjs} +1 -1
  39. package/{FieldError-C4kD4yJZ.js → FieldError-l3xULRa0.js} +3 -3
  40. package/{FileUpload-01wGpykv.js → FileUpload-CN0HNJ_Y.js} +9 -9
  41. package/{FileUpload-CTbh7Gic.cjs → FileUpload-DHmsupSe.cjs} +1 -1
  42. package/Group-B0Wj9pI8.cjs +1 -0
  43. package/Group-BAd7alBM.js +46 -0
  44. package/{Heading-CEx2LJyM.js → Heading-CCoGfKQ8.js} +9 -9
  45. package/{Heading-CUShN98j.cjs → Heading-x7y3xadc.cjs} +1 -1
  46. package/{InfoBanner-CRSz8DK2.js → InfoBanner-BW3vy9mc.js} +1 -1
  47. package/{InfoBanner-D_pNj1J2.cjs → InfoBanner-_M_rGQiu.cjs} +1 -1
  48. package/{Input-CCuE9Sc5.cjs → Input-Bda0PCu5.cjs} +1 -1
  49. package/{Input-CkTOajNJ.js → Input-CQzv-D9g.js} +3 -3
  50. package/{Label-CV9p0K2n.js → Label-BGMXsSFb.js} +4 -4
  51. package/{Label-CkIRTC0_.cjs → Label-CNTODOFg.cjs} +1 -1
  52. package/Layout-BrEuHajQ.cjs +16 -0
  53. package/{Layout-IeVrHpT0.js → Layout-JL9l-y7w.js} +62 -63
  54. package/{Link-BFvUN5Sq.js → Link-BudFjYrw.js} +1 -1
  55. package/{Link-D2K7bDd3.cjs → Link-BvUSTIip.cjs} +1 -1
  56. package/{Link-a3Ymcnoa.cjs → Link-DRU6Qzia.cjs} +1 -1
  57. package/{Link-B9CQXWzE.js → Link-l-nMP-Zd.js} +5 -5
  58. package/{LinkButton-BCn5gR10.cjs → LinkButton-DGdnbTgR.cjs} +1 -1
  59. package/{LinkButton-DN3J1Agu.js → LinkButton-DP9W-E32.js} +1 -1
  60. package/ListBox-TGCxrXIJ.cjs +1 -0
  61. package/{ListBox-2eEa1l0M.js → ListBox-mOCZvKD4.js} +187 -176
  62. package/{ListBoxLoadMoreItem-IcGb_XwN.js → ListBoxLoadMoreItem-CLdTe6-z.js} +3 -3
  63. package/{ListBoxLoadMoreItem-BBE3OF4J.cjs → ListBoxLoadMoreItem-UX0jFQN4.cjs} +1 -1
  64. package/ListBoxSection-BNBHosou.cjs +1 -0
  65. package/{ListBoxSection-dksiACMZ.js → ListBoxSection-D_kTkvgG.js} +139 -140
  66. package/{ListKeyboardDelegate-Dyu4eFtP.js → ListKeyboardDelegate-BHnZMUhW.js} +36 -40
  67. package/ListKeyboardDelegate-CLRlDto7.cjs +1 -0
  68. package/{OverlayArrow-Bh_G2tJ3.js → OverlayArrow-CjGslX2c.js} +2 -2
  69. package/{OverlayArrow-DJ4nNscD.cjs → OverlayArrow-bcrb_syE.cjs} +1 -1
  70. package/{Popover-D7_IfJ3o.js → Popover-CZFi2YGz.js} +2 -2
  71. package/{Popover-BI2Koco0.cjs → Popover-uYTWBGHa.cjs} +1 -1
  72. package/{PressResponder-DUhG97jJ.js → PressResponder-BMj6Zvbn.js} +3 -3
  73. package/{PressResponder-AXK2I_yx.cjs → PressResponder-ChvCuOue.cjs} +1 -1
  74. package/{ProgressBar-B-TOuoAC.cjs → ProgressBar-BGemuJIq.cjs} +1 -1
  75. package/{ProgressBar-B0WEQkyq.js → ProgressBar-DhRmckYM.js} +2 -2
  76. package/{RSPContexts-BW2SEIqe.js → RSPContexts-B0lEq7qq.js} +5 -3
  77. package/RSPContexts-XUvspq3j.cjs +1 -0
  78. package/Radio-Bp_31Z59.js +340 -0
  79. package/Radio-D3RGVrEd.cjs +1 -0
  80. package/{RangeCalendar-D5TMu8GI.js → RangeCalendar-9C96gMvy.js} +58 -58
  81. package/{RangeCalendar-B6zKSDju.cjs → RangeCalendar-ChfmP_ql.cjs} +2 -2
  82. package/{SearchField-wojUSY2S.js → SearchField-DrEdzWAy.js} +3 -3
  83. package/{SearchField-DnBBlPT7.cjs → SearchField-JaDXLq5W.cjs} +1 -1
  84. package/Select-BCUH-Z7q.cjs +1 -0
  85. package/Select-CpPE78Ke.js +676 -0
  86. package/SelectionIndicator-BiSN1toV.cjs +1 -0
  87. package/{FocusScope-8ILtcq9W.js → SelectionIndicator-ant6jeC1.js} +256 -165
  88. package/SelectionManager-C469yQeD.js +1063 -0
  89. package/SelectionManager-uFYC4wpu.cjs +1 -0
  90. package/{Separator--4b7vckr.js → Separator-B6l5qSpR.js} +2 -2
  91. package/{Separator-COlhRmJF.js → Separator-BWAnBMVN.js} +4 -4
  92. package/{Separator-DcbM84B8.cjs → Separator-DbhmtwDa.cjs} +1 -1
  93. package/{Separator-BQkxEZC9.cjs → Separator-J0pLW4BN.cjs} +1 -1
  94. package/Spinner-D6Fcu_Dp.js +54 -0
  95. package/Spinner-DIapnvIz.cjs +6 -0
  96. package/TabList-C0tRVI6Q.cjs +1 -0
  97. package/TabList-DmkxO7MM.js +394 -0
  98. package/Table-BLqjyYKk.cjs +16 -0
  99. package/{Table-cCSOrPkK.js → Table-CyWZO9uf.js} +707 -703
  100. package/Tag-DJqYiBLR.js +774 -0
  101. package/Tag-FDHGu_WP.cjs +1 -0
  102. package/{Text-CkhG15SU.cjs → Text-0wXj3J8E.cjs} +1 -1
  103. package/{Text-BQe1I4-r.js → Text-BBFWBNAH.js} +1 -1
  104. package/{Text-CkhZTTV5.cjs → Text-D5OSv6Uv.cjs} +1 -1
  105. package/{Text-BpERRete.js → Text-bqP9NeVg.js} +1 -1
  106. package/{TextArea-B5TsyJxa.cjs → TextArea-CZxwvBcS.cjs} +1 -1
  107. package/{TextArea-Cado2arG.js → TextArea-CrY7P18c.js} +8 -8
  108. package/{TextField-5AI6T1ol.js → TextField-BWea-IT-.js} +10 -10
  109. package/TextField-DsN-kBfh.cjs +1 -0
  110. package/{Toast-Cs-Uvf1p.cjs → Toast-DUZ5jfG1.cjs} +1 -1
  111. package/{Toast-CgXRE33Y.js → Toast-Di3h8A14.js} +12 -12
  112. package/{ToggleButtonGroup-SKGgfFs4.js → ToggleButtonGroup-Bh4hP6Lk.js} +82 -78
  113. package/ToggleButtonGroup-D7r34GCt.cjs +1 -0
  114. package/{Tooltip-txk48Qof.js → Tooltip-CUdmOznK.js} +4 -4
  115. package/{Tooltip-BrupFzaI.cjs → Tooltip-D-ATlbIM.cjs} +1 -1
  116. package/{VisuallyHidden-Awup6QxT.cjs → VisuallyHidden-BMelU6B0.cjs} +1 -1
  117. package/{VisuallyHidden-D2ZXHTJs.js → VisuallyHidden-DuW70K-5.js} +1 -1
  118. package/accordion/index.cjs +1 -1
  119. package/accordion/index.js +1 -1
  120. package/assets/AccordionItem.css +1 -1
  121. package/assets/RangeCalendar.css +1 -1
  122. package/assets/Spinner.css +1 -1
  123. package/assets/TabList.css +1 -1
  124. package/assets/default.css +1 -1
  125. package/breadcrumbs/index.cjs +1 -1
  126. package/breadcrumbs/index.js +1 -1
  127. package/button/index.cjs +1 -1
  128. package/button/index.js +1 -1
  129. package/calendar/index.cjs +1 -1
  130. package/calendar/index.js +1 -1
  131. package/card/index.cjs +1 -1
  132. package/card/index.js +1 -1
  133. package/character-counter/index.cjs +1 -1
  134. package/character-counter/index.js +1 -1
  135. package/checkbox/index.cjs +1 -1
  136. package/checkbox/index.js +2 -2
  137. package/color-scheme-switch/index.cjs +1 -1
  138. package/color-scheme-switch/index.js +1 -1
  139. package/combobox/index.cjs +1 -1
  140. package/combobox/index.js +1 -1
  141. package/date-field/index.cjs +1 -1
  142. package/date-field/index.js +2 -2
  143. package/date-picker/index.cjs +1 -1
  144. package/date-picker/index.js +1 -1
  145. package/dropdown/index.cjs +1 -1
  146. package/dropdown/index.js +1 -1
  147. package/field-error/index.cjs +1 -1
  148. package/field-error/index.js +1 -1
  149. package/file-upload/index.cjs +1 -1
  150. package/file-upload/index.js +1 -1
  151. package/{getScrollParent-Ru2U2LlM.js → getScrollParent-DFCzfqHG.js} +1 -1
  152. package/{getScrollParent-DuKmPmUa.cjs → getScrollParent-DjULaF_q.cjs} +1 -1
  153. package/heading/index.cjs +1 -1
  154. package/heading/index.js +1 -1
  155. package/index.cjs +1 -1
  156. package/index.js +42 -42
  157. package/info-banner/index.cjs +1 -1
  158. package/info-banner/index.js +1 -1
  159. package/label/index.cjs +1 -1
  160. package/label/index.js +1 -1
  161. package/layout/index.cjs +1 -1
  162. package/layout/index.js +1 -1
  163. package/link/index.cjs +1 -1
  164. package/link/index.js +2 -2
  165. package/link-button/index.cjs +1 -1
  166. package/link-button/index.js +2 -2
  167. package/list-box/index.cjs +1 -1
  168. package/list-box/index.js +2 -2
  169. package/menu/index.cjs +1 -1
  170. package/menu/index.js +2 -2
  171. package/modal/index.cjs +1 -1
  172. package/modal/index.js +2 -2
  173. package/package.json +4 -4
  174. package/popover/index.cjs +1 -1
  175. package/popover/index.js +1 -1
  176. package/progress-bar/index.cjs +1 -1
  177. package/progress-bar/index.js +1 -1
  178. package/radio/index.cjs +1 -1
  179. package/radio/index.js +1 -1
  180. package/scrollIntoView-BVI21Y4-.js +65 -0
  181. package/scrollIntoView-BueMOyGp.cjs +1 -0
  182. package/search-field/index.cjs +1 -1
  183. package/search-field/index.js +1 -1
  184. package/select/index.cjs +1 -1
  185. package/select/index.js +1 -1
  186. package/select/types.d.ts +1 -1
  187. package/select/useMultiSelect.d.ts +2 -2
  188. package/spinner/Spinner.d.ts +5 -1
  189. package/spinner/index.cjs +1 -1
  190. package/spinner/index.js +1 -1
  191. package/table/index.cjs +1 -1
  192. package/table/index.js +1 -1
  193. package/tabs/Tabs.d.ts +2 -9
  194. package/tabs/index.cjs +1 -1
  195. package/tabs/index.d.ts +0 -1
  196. package/tabs/index.js +1 -1
  197. package/tag/index.cjs +1 -1
  198. package/tag/index.js +1 -1
  199. package/text/index.cjs +1 -1
  200. package/text/index.js +1 -1
  201. package/textfield/TextArea.d.ts +3 -2
  202. package/textfield/TextField.d.ts +3 -2
  203. package/textfield/index.cjs +1 -1
  204. package/textfield/index.js +1 -1
  205. package/toast/index.cjs +1 -1
  206. package/toast/index.js +1 -1
  207. package/toggle-button/index.cjs +1 -1
  208. package/toggle-button/index.js +1 -1
  209. package/tooltip/index.cjs +1 -1
  210. package/tooltip/index.js +1 -1
  211. package/{useButton-Bh3duhYL.cjs → useButton-C0r5nrqs.cjs} +1 -1
  212. package/{useButton-A-VOfwuT.js → useButton-CRgN6aZf.js} +2 -2
  213. package/useDateFormatter-BrrFo4nY.cjs +1 -0
  214. package/{useDateFormatter-CxlJTAki.js → useDateFormatter-Bs5A6Xtu.js} +353 -322
  215. package/{useField-sSWPm-He.js → useField-BhJ9dM2g.js} +1 -1
  216. package/{useField-CY4OYE5a.cjs → useField-DvszkIMx.cjs} +1 -1
  217. package/{useFilter-DHcouDzv.js → useFilter-BdUU-HQZ.js} +1 -1
  218. package/{useFilter-DlZLqsJD.cjs → useFilter-R2IPvbS8.cjs} +1 -1
  219. package/{useFocusRing-Cig5Y0l-.cjs → useFocusRing-C-XVcAE5.cjs} +1 -1
  220. package/{useFocusRing-Copf_tx8.js → useFocusRing-CcxI7nbg.js} +2 -2
  221. package/{useFocusWithin-BKopz9sr.js → useFocusWithin-DhXBuB2O.js} +1 -1
  222. package/{useFocusWithin-TryC2Kkw.cjs → useFocusWithin-GBjoTL5o.cjs} +1 -1
  223. package/{useFocusable-CCh54GIw.js → useFocusable-BJj-Bkig.js} +3 -3
  224. package/{useFocusable-DhdAtEw8.cjs → useFocusable-M4se1KJt.cjs} +1 -1
  225. package/{useFormValidation-DdIIVZ5j.js → useFormValidation-By7G-T7y.js} +1 -1
  226. package/{useFormValidation-BJNizNDf.cjs → useFormValidation-DV2Ioblb.cjs} +1 -1
  227. package/useHasTabbableChild-CIZGg_iG.cjs +1 -0
  228. package/{useHasTabbableChild-BbgOpdGQ.js → useHasTabbableChild-CnpSoDuJ.js} +1 -1
  229. package/{useHighlightSelectionDescription-D6F-YO6b.cjs → useHighlightSelectionDescription-CBZfyrhy.cjs} +1 -1
  230. package/{useHighlightSelectionDescription-BL_02EKv.js → useHighlightSelectionDescription-DPiqOr_Z.js} +2 -2
  231. package/{useHover-eU40luVI.cjs → useHover-DULSfLuK.cjs} +1 -1
  232. package/{useHover-zCCNtF6g.js → useHover-DkC5FyNd.js} +4 -4
  233. package/{useListState-BdC308Sq.cjs → useListState-DBawAMhF.cjs} +1 -1
  234. package/{useListState-D2yPZrFZ.js → useListState-PZF3ahpk.js} +1 -1
  235. package/{usePress-4yZ5a87p.js → usePress-BqQIhkNY.js} +43 -43
  236. package/usePress-DmU79HEg.cjs +7 -0
  237. package/{useSingleSelectListState-lyai-bC_.js → useSingleSelectListState-BLRBEJC7.js} +1 -1
  238. package/{useSingleSelectListState-b_SPhYG4.cjs → useSingleSelectListState-CNETmoj5.cjs} +1 -1
  239. package/{useTextField-DjxrmW7d.js → useTextField-B8pM0p6X.js} +4 -4
  240. package/{useTextField-DUEQl6sr.cjs → useTextField-CiWV3eeD.cjs} +1 -1
  241. package/utils/types.d.ts +5 -0
  242. package/utils-CtICjCYt.cjs +1 -0
  243. package/{utils-BMBoiyL7.js → utils-D2iKpxcZ.js} +43 -39
  244. package/utils-DRIRjPUS.cjs +1 -0
  245. package/{utils-CrT5PVBA.js → utils-Dxh86KaB.js} +19 -17
  246. package/AccordionItem-BJw5IKe0.js +0 -334
  247. package/AccordionItem-DhMimhYo.cjs +0 -1
  248. package/Button-BTX5G3le.cjs +0 -1
  249. package/Checkbox-D-CFY6QF.cjs +0 -1
  250. package/Collection-DaZzboRu.cjs +0 -1
  251. package/ComboBox-C4NybZ32.cjs +0 -1
  252. package/DateInputDivider-BgXKFwB0.cjs +0 -1
  253. package/DateRangePicker-DTPkr3hX.cjs +0 -6
  254. package/Dialog-DLnopN3Z.js +0 -237
  255. package/Dialog-DNu42oLH.cjs +0 -1
  256. package/Dialog-w6EBWT__.cjs +0 -1
  257. package/FocusScope-Dv0F-mG2.cjs +0 -1
  258. package/Group-C2hEIsGV.js +0 -45
  259. package/Group-cuyk9Hsy.cjs +0 -1
  260. package/Layout-CVnlO10z.cjs +0 -16
  261. package/ListBox-Bx9M5vqb.cjs +0 -1
  262. package/ListBoxSection-kujY2gUl.cjs +0 -1
  263. package/ListKeyboardDelegate-DJDPir-w.cjs +0 -1
  264. package/RSPContexts-D8hmBfGm.cjs +0 -1
  265. package/Radio-D6KNkSA2.js +0 -333
  266. package/Radio-DsVsutMH.cjs +0 -1
  267. package/Select-D9h_RQ2k.cjs +0 -1
  268. package/Select-Dc6y8gPR.js +0 -654
  269. package/SelectionManager-D-4ThfPZ.js +0 -1043
  270. package/SelectionManager-FYrDfe5v.cjs +0 -1
  271. package/Spinner-CTha503N.js +0 -47
  272. package/Spinner-DKQ9_SQB.cjs +0 -6
  273. package/TabList-BhC96APe.cjs +0 -1
  274. package/TabList-P5HnizZt.js +0 -393
  275. package/Table-BB8Ag5_3.cjs +0 -16
  276. package/Tag-D2vh0KRD.js +0 -765
  277. package/Tag-D32MGLjS.cjs +0 -1
  278. package/TextField-4xfAzdBI.cjs +0 -1
  279. package/ToggleButtonGroup-CiX2eXB8.cjs +0 -1
  280. package/scrollIntoView-ClEACHUk.js +0 -57
  281. package/scrollIntoView-DRSoJp89.cjs +0 -1
  282. package/useDateFormatter-D0bVjgIb.cjs +0 -1
  283. package/useHasTabbableChild-wH3RCjTd.cjs +0 -1
  284. package/useObserveElement-BdI4zgd7.js +0 -27
  285. package/useObserveElement-BzEr5D32.cjs +0 -1
  286. package/usePress-Dj3t18Pf.cjs +0 -7
  287. package/utils-I-LGXGYH.cjs +0 -1
  288. package/utils-cBvgilDa.cjs +0 -1
  289. package/variables-B3KEYyhW.cjs +0 -1
  290. package/variables-DzXcMW2k.js +0 -5
@@ -0,0 +1 @@
1
+ "use strict";const b=require("./utils-DRIRjPUS.cjs"),g=require("./mergeProps-Du5A8xi8.cjs"),I=require("./useHover-DULSfLuK.cjs"),O=require("./useFocusable-M4se1KJt.cjs"),p=require("react"),M=require("./utils-CtICjCYt.cjs"),U=require("react-dom");class ee{get currentNode(){return this._currentNode}set currentNode(e){if(!b.$d4ee10de306f2510$export$4282f70798064fe0(this.root,e))throw new Error("Cannot set currentNode to a node that is not contained by the root node.");const t=[];let n=e,o=e;for(this._currentNode=e;n&&n!==this.root;)if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const l=n,a=this._doc.createTreeWalker(l,this.whatToShow,{acceptNode:this._acceptNode});t.push(a),a.currentNode=o,this._currentSetFor.add(a),n=o=l.host}else n=n.parentNode;const i=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});t.push(i),i.currentNode=o,this._currentSetFor.add(i),this._walkerStack=t}get doc(){return this._doc}firstChild(){let e=this.currentNode,t=this.nextNode();return b.$d4ee10de306f2510$export$4282f70798064fe0(e,t)?(t&&(this.currentNode=t),t):(this.currentNode=e,null)}lastChild(){let t=this._walkerStack[0].lastChild();return t&&(this.currentNode=t),t}nextNode(){const e=this._walkerStack[0].nextNode();if(e){if(e.shadowRoot){var t;let o;if(typeof this.filter=="function"?o=this.filter(e):!((t=this.filter)===null||t===void 0)&&t.acceptNode&&(o=this.filter.acceptNode(e)),o===NodeFilter.FILTER_ACCEPT)return this.currentNode=e,e;let i=this.nextNode();return i&&(this.currentNode=i),i}return e&&(this.currentNode=e),e}else if(this._walkerStack.length>1){this._walkerStack.shift();let n=this.nextNode();return n&&(this.currentNode=n),n}else return null}previousNode(){const e=this._walkerStack[0];if(e.currentNode===e.root){if(this._currentSetFor.has(e))if(this._currentSetFor.delete(e),this._walkerStack.length>1){this._walkerStack.shift();let o=this.previousNode();return o&&(this.currentNode=o),o}else return null;return null}const t=e.previousNode();if(t){if(t.shadowRoot){var n;let i;if(typeof this.filter=="function"?i=this.filter(t):!((n=this.filter)===null||n===void 0)&&n.acceptNode&&(i=this.filter.acceptNode(t)),i===NodeFilter.FILTER_ACCEPT)return t&&(this.currentNode=t),t;let l=this.lastChild();return l&&(this.currentNode=l),l}return t&&(this.currentNode=t),t}else if(this._walkerStack.length>1){this._walkerStack.shift();let o=this.previousNode();return o&&(this.currentNode=o),o}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}constructor(e,t,n,o){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=l=>{if(l.nodeType===Node.ELEMENT_NODE){const $=l.shadowRoot;if($){const c=this._doc.createTreeWalker($,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(c),NodeFilter.FILTER_ACCEPT}else{var a;if(typeof this.filter=="function")return this.filter(l);if(!((a=this.filter)===null||a===void 0)&&a.acceptNode)return this.filter.acceptNode(l);if(this.filter===null)return NodeFilter.FILTER_ACCEPT}}return NodeFilter.FILTER_SKIP},this._doc=e,this.root=t,this.filter=o??null,this.whatToShow=n??NodeFilter.SHOW_ALL,this._currentNode=t,this._walkerStack.unshift(e.createTreeWalker(t,n,this._acceptNode));const i=t.shadowRoot;if(i){const l=this._doc.createTreeWalker(i,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(l)}}}function te(r,e,t,n){return b.$f4e2df6bd15f8569$export$98658e8c59125e6a()?new ee(r,e,t,n):r.createTreeWalker(e,t,n)}const V=p.createContext(null),K="react-aria-focus-scope-restore";let v=null;function re(r){let{children:e,contain:t,restoreFocus:n,autoFocus:o}=r,i=p.useRef(null),l=p.useRef(null),a=p.useRef([]),{parentNode:$}=p.useContext(V)||{},c=p.useMemo(()=>new D({scopeRef:a}),[a]);g.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{let s=$||N.root;if(N.getTreeNode(s.scopeRef)&&v&&!_(v,s.scopeRef)){let u=N.getTreeNode(v);u&&(s=u)}s.addChild(c),N.addNode(c)},[c,$]),g.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{let s=N.getTreeNode(a);s&&(s.contain=!!t)},[t]),g.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{var s;let u=(s=i.current)===null||s===void 0?void 0:s.nextSibling,h=[],T=S=>S.stopPropagation();for(;u&&u!==l.current;)h.push(u),u.addEventListener(K,T),u=u.nextSibling;return a.current=h,()=>{for(let S of h)S.removeEventListener(K,T)}},[e]),ce(a,n,t),ae(a,t),de(a,n,t),le(a,o),p.useEffect(()=>{const s=b.$d4ee10de306f2510$export$cd4e5573fbe2b576(b.$431fbd86ca7dc216$export$b204af158042fbac(a.current?a.current[0]:void 0));let u=null;if(w(s,a.current)){for(let h of N.traverse())h.scopeRef&&w(s,h.scopeRef.current)&&(u=h);u===N.getTreeNode(a)&&(v=u.scopeRef)}},[a]),g.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>()=>{var s,u,h;let T=(h=(u=N.getTreeNode(a))===null||u===void 0||(s=u.parent)===null||s===void 0?void 0:s.scopeRef)!==null&&h!==void 0?h:null;(a===v||_(a,v))&&(!T||N.getTreeNode(T))&&(v=T),N.removeTreeNode(a)},[a]);let f=p.useMemo(()=>ne(a),[]),d=p.useMemo(()=>({focusManager:f,parentNode:c}),[c,f]);return p.createElement(V.Provider,{value:d},p.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:i}),e,p.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:l}))}function ne(r){return{focusNext(e={}){let t=r.current,{from:n,tabbable:o,wrap:i,accept:l}=e;var a;let $=n||b.$d4ee10de306f2510$export$cd4e5573fbe2b576(b.$431fbd86ca7dc216$export$b204af158042fbac((a=t[0])!==null&&a!==void 0?a:void 0)),c=t[0].previousElementSibling,f=y(t),d=m(f,{tabbable:o,accept:l},t);d.currentNode=w($,t)?$:c;let s=d.nextNode();return!s&&i&&(d.currentNode=c,s=d.nextNode()),s&&x(s,!0),s},focusPrevious(e={}){let t=r.current,{from:n,tabbable:o,wrap:i,accept:l}=e;var a;let $=n||b.$d4ee10de306f2510$export$cd4e5573fbe2b576(b.$431fbd86ca7dc216$export$b204af158042fbac((a=t[0])!==null&&a!==void 0?a:void 0)),c=t[t.length-1].nextElementSibling,f=y(t),d=m(f,{tabbable:o,accept:l},t);d.currentNode=w($,t)?$:c;let s=d.previousNode();return!s&&i&&(d.currentNode=c,s=d.previousNode()),s&&x(s,!0),s},focusFirst(e={}){let t=r.current,{tabbable:n,accept:o}=e,i=y(t),l=m(i,{tabbable:n,accept:o},t);l.currentNode=t[0].previousElementSibling;let a=l.nextNode();return a&&x(a,!0),a},focusLast(e={}){let t=r.current,{tabbable:n,accept:o}=e,i=y(t),l=m(i,{tabbable:n,accept:o},t);l.currentNode=t[t.length-1].nextElementSibling;let a=l.previousNode();return a&&x(a,!0),a}}}function y(r){return r[0].parentElement}function C(r){let e=N.getTreeNode(v);for(;e&&e.scopeRef!==r;){if(e.contain)return!1;e=e.parent}return!0}function oe(r){if(r.checked)return!0;let e=[];if(!r.form)e=[...b.$431fbd86ca7dc216$export$b204af158042fbac(r).querySelectorAll(`input[type="radio"][name="${CSS.escape(r.name)}"]`)].filter(i=>!i.form);else{var t,n;let i=(n=r.form)===null||n===void 0||(t=n.elements)===null||t===void 0?void 0:t.namedItem(r.name);e=[...i??[]]}return e?!e.some(i=>i.checked):!1}function ae(r,e){let t=p.useRef(void 0),n=p.useRef(void 0);g.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{let o=r.current;if(!e){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}const i=b.$431fbd86ca7dc216$export$b204af158042fbac(o?o[0]:void 0);let l=c=>{if(c.key!=="Tab"||c.altKey||c.ctrlKey||c.metaKey||!C(r)||c.isComposing)return;let f=b.$d4ee10de306f2510$export$cd4e5573fbe2b576(i),d=r.current;if(!d||!w(f,d))return;let s=y(d),u=m(s,{tabbable:!0},d);if(!f)return;u.currentNode=f;let h=c.shiftKey?u.previousNode():u.nextNode();h||(u.currentNode=c.shiftKey?d[d.length-1].nextElementSibling:d[0].previousElementSibling,h=c.shiftKey?u.previousNode():u.nextNode()),c.preventDefault(),h&&x(h,!0)},a=c=>{(!v||_(v,r))&&w(b.$d4ee10de306f2510$export$e58f029f0fbfdb29(c),r.current)?(v=r,t.current=b.$d4ee10de306f2510$export$e58f029f0fbfdb29(c)):C(r)&&!k(b.$d4ee10de306f2510$export$e58f029f0fbfdb29(c),r)?t.current?t.current.focus():v&&v.current&&q(v.current):C(r)&&(t.current=b.$d4ee10de306f2510$export$e58f029f0fbfdb29(c))},$=c=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{let f=I.$507fabe10e71c6fb$export$630ff653c5ada6a9(),d=(f==="virtual"||f===null)&&I.$c87311424ea30a05$export$a11b0059900ceec8()&&I.$c87311424ea30a05$export$6446a186d09e379e(),s=b.$d4ee10de306f2510$export$cd4e5573fbe2b576(i);if(!d&&s&&C(r)&&!k(s,r)){v=r;let h=b.$d4ee10de306f2510$export$e58f029f0fbfdb29(c);if(h&&h.isConnected){var u;t.current=h,(u=t.current)===null||u===void 0||u.focus()}else v.current&&q(v.current)}})};return i.addEventListener("keydown",l,!1),i.addEventListener("focusin",a,!1),o==null||o.forEach(c=>c.addEventListener("focusin",a,!1)),o==null||o.forEach(c=>c.addEventListener("focusout",$,!1)),()=>{i.removeEventListener("keydown",l,!1),i.removeEventListener("focusin",a,!1),o==null||o.forEach(c=>c.removeEventListener("focusin",a,!1)),o==null||o.forEach(c=>c.removeEventListener("focusout",$,!1))}},[r,e]),g.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function J(r){return k(r)}function w(r,e){return!r||!e?!1:e.some(t=>t.contains(r))}function k(r,e=null){if(r instanceof Element&&r.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:t}of N.traverse(N.getTreeNode(e)))if(t&&w(r,t.current))return!0;return!1}function ie(r){return k(r,v)}function _(r,e){var t;let n=(t=N.getTreeNode(e))===null||t===void 0?void 0:t.parent;for(;n;){if(n.scopeRef===r)return!0;n=n.parent}return!1}function x(r,e=!1){if(r!=null&&!e)try{(0,O.$3ad3f6e1647bc98d$export$80f3e147d781571c)(r)}catch{}else if(r!=null)try{r.focus()}catch{}}function G(r,e=!0){let t=r[0].previousElementSibling,n=y(r),o=m(n,{tabbable:e},r);o.currentNode=t;let i=o.nextNode();return e&&!i&&(n=y(r),o=m(n,{tabbable:!1},r),o.currentNode=t,i=o.nextNode()),i}function q(r,e=!0){x(G(r,e))}function le(r,e){const t=p.useRef(e);p.useEffect(()=>{if(t.current){v=r;const n=b.$431fbd86ca7dc216$export$b204af158042fbac(r.current?r.current[0]:void 0);!w(b.$d4ee10de306f2510$export$cd4e5573fbe2b576(n),v.current)&&r.current&&q(r.current)}t.current=!1},[r])}function ce(r,e,t){g.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{if(e||t)return;let n=r.current;const o=b.$431fbd86ca7dc216$export$b204af158042fbac(n?n[0]:void 0);let i=l=>{let a=b.$d4ee10de306f2510$export$e58f029f0fbfdb29(l);w(a,r.current)?v=r:J(a)||(v=null)};return o.addEventListener("focusin",i,!1),n==null||n.forEach(l=>l.addEventListener("focusin",i,!1)),()=>{o.removeEventListener("focusin",i,!1),n==null||n.forEach(l=>l.removeEventListener("focusin",i,!1))}},[r,e,t])}function B(r){let e=N.getTreeNode(v);for(;e&&e.scopeRef!==r;){if(e.nodeToRestore)return!1;e=e.parent}return(e==null?void 0:e.scopeRef)===r}function de(r,e,t){const n=p.useRef(typeof document<"u"?b.$d4ee10de306f2510$export$cd4e5573fbe2b576(b.$431fbd86ca7dc216$export$b204af158042fbac(r.current?r.current[0]:void 0)):null);g.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{let o=r.current;const i=b.$431fbd86ca7dc216$export$b204af158042fbac(o?o[0]:void 0);if(!e||t)return;let l=()=>{(!v||_(v,r))&&w(b.$d4ee10de306f2510$export$cd4e5573fbe2b576(i),r.current)&&(v=r)};return i.addEventListener("focusin",l,!1),o==null||o.forEach(a=>a.addEventListener("focusin",l,!1)),()=>{i.removeEventListener("focusin",l,!1),o==null||o.forEach(a=>a.removeEventListener("focusin",l,!1))}},[r,t]),g.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{const o=b.$431fbd86ca7dc216$export$b204af158042fbac(r.current?r.current[0]:void 0);if(!e)return;let i=l=>{if(l.key!=="Tab"||l.altKey||l.ctrlKey||l.metaKey||!C(r)||l.isComposing)return;let a=o.activeElement;if(!k(a,r)||!B(r))return;let $=N.getTreeNode(r);if(!$)return;let c=$.nodeToRestore,f=m(o.body,{tabbable:!0});f.currentNode=a;let d=l.shiftKey?f.previousNode():f.nextNode();if((!c||!c.isConnected||c===o.body)&&(c=void 0,$.nodeToRestore=void 0),(!d||!k(d,r))&&c){f.currentNode=c;do d=l.shiftKey?f.previousNode():f.nextNode();while(k(d,r));l.preventDefault(),l.stopPropagation(),d?x(d,!0):J(c)?x(c,!0):a.blur()}};return t||o.addEventListener("keydown",i,!0),()=>{t||o.removeEventListener("keydown",i,!0)}},[r,e,t]),g.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{const o=b.$431fbd86ca7dc216$export$b204af158042fbac(r.current?r.current[0]:void 0);if(!e)return;let i=N.getTreeNode(r);if(i){var l;return i.nodeToRestore=(l=n.current)!==null&&l!==void 0?l:void 0,()=>{let a=N.getTreeNode(r);if(!a)return;let $=a.nodeToRestore,c=b.$d4ee10de306f2510$export$cd4e5573fbe2b576(o);if(e&&$&&(c&&k(c,r)||c===o.body&&B(r))){let f=N.clone();requestAnimationFrame(()=>{if(o.activeElement===o.body){let d=f.getTreeNode(r);for(;d;){if(d.nodeToRestore&&d.nodeToRestore.isConnected){H(d.nodeToRestore);return}d=d.parent}for(d=f.getTreeNode(r);d;){if(d.scopeRef&&d.scopeRef.current&&N.getTreeNode(d.scopeRef)){let s=G(d.scopeRef.current,!0);H(s);return}d=d.parent}}})}}}},[r,e])}function H(r){r.dispatchEvent(new CustomEvent(K,{bubbles:!0,cancelable:!0}))&&x(r)}function m(r,e,t){let n=e!=null&&e.tabbable?b.$b4b717babfbb907b$export$bebd5a1431fec25d:b.$b4b717babfbb907b$export$4c063cf1350e6fed,o=(r==null?void 0:r.nodeType)===Node.ELEMENT_NODE?r:null,i=b.$431fbd86ca7dc216$export$b204af158042fbac(o),l=te(i,r||i,NodeFilter.SHOW_ELEMENT,{acceptNode(a){var $;return!(e==null||($=e.from)===null||$===void 0)&&$.contains(a)||e!=null&&e.tabbable&&a.tagName==="INPUT"&&a.getAttribute("type")==="radio"&&(!oe(a)||l.currentNode.tagName==="INPUT"&&l.currentNode.type==="radio"&&l.currentNode.name===a.name)?NodeFilter.FILTER_REJECT:n(a)&&(!t||w(a,t))&&(!(e!=null&&e.accept)||e.accept(a))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return e!=null&&e.from&&(l.currentNode=e.from),l}function fe(r,e={}){return{focusNext(t={}){let n=r.current;if(!n)return null;let{from:o,tabbable:i=e.tabbable,wrap:l=e.wrap,accept:a=e.accept}=t,$=o||b.$d4ee10de306f2510$export$cd4e5573fbe2b576(b.$431fbd86ca7dc216$export$b204af158042fbac(n)),c=m(n,{tabbable:i,accept:a});n.contains($)&&(c.currentNode=$);let f=c.nextNode();return!f&&l&&(c.currentNode=n,f=c.nextNode()),f&&x(f,!0),f},focusPrevious(t=e){let n=r.current;if(!n)return null;let{from:o,tabbable:i=e.tabbable,wrap:l=e.wrap,accept:a=e.accept}=t,$=o||b.$d4ee10de306f2510$export$cd4e5573fbe2b576(b.$431fbd86ca7dc216$export$b204af158042fbac(n)),c=m(n,{tabbable:i,accept:a});if(n.contains($))c.currentNode=$;else{let d=P(c);return d&&x(d,!0),d??null}let f=c.previousNode();if(!f&&l){c.currentNode=n;let d=P(c);if(!d)return null;f=d}return f&&x(f,!0),f??null},focusFirst(t=e){let n=r.current;if(!n)return null;let{tabbable:o=e.tabbable,accept:i=e.accept}=t,a=m(n,{tabbable:o,accept:i}).nextNode();return a&&x(a,!0),a},focusLast(t=e){let n=r.current;if(!n)return null;let{tabbable:o=e.tabbable,accept:i=e.accept}=t,l=m(n,{tabbable:o,accept:i}),a=P(l);return a&&x(a,!0),a??null}}}function P(r){let e,t;do t=r.lastChild(),t&&(e=t);while(t);return e}class W{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let o=this.fastMap.get(t??null);if(!o)return;let i=new D({scopeRef:e});o.addChild(i),i.parent=o,this.fastMap.set(e,i),n&&(i.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(e===null)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let i of this.traverse())i!==t&&t.nodeToRestore&&i.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&w(i.nodeToRestore,t.scopeRef.current)&&(i.nodeToRestore=t.nodeToRestore);let o=t.children;n&&(n.removeChild(t),o.size>0&&o.forEach(i=>n&&n.addChild(i))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(e.scopeRef!=null&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e;let t=new W;var n;for(let o of this.traverse())t.addTreeNode(o.scopeRef,(n=(e=o.parent)===null||e===void 0?void 0:e.scopeRef)!==null&&n!==void 0?n:null,o.nodeToRestore);return t}constructor(){this.fastMap=new Map,this.root=new D({scopeRef:null}),this.fastMap.set(null,this.root)}}class D{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}let N=new W;const X=p.createContext(null);function ue(r){let e=p.useRef({});return p.createElement(X.Provider,{value:e},r.children)}const se=p.forwardRef(function(e,t){let{name:n,isVisible:o=!0,children:i,className:l,style:a,...$}=e,[c,f]=p.useState(o?"visible":"hidden"),d=p.useContext(X);if(!d)throw new Error("<SharedElement> must be rendered inside a <SharedElementTransition>");o&&c==="hidden"&&f("visible"),t=M.$df56164dff5785e2$export$4338b53315abf666(t),g.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{let u=t.current,h=d.current,T=h[n],S=null;if(u&&o&&T){f("visible");let R=u.getAnimations(),L=T.style.map(([E,A])=>{let j=u.style[E];if(E==="translate"){let z=T.rect,F=u.getBoundingClientRect(),Q=z.left-(F==null?void 0:F.left),Z=z.top-(F==null?void 0:F.top);u.style.translate=`${Q}px ${Z}px`}else u.style[E]=A;return[E,j]});for(let E of u.getAnimations())R.includes(E)||E.cancel();S=requestAnimationFrame(()=>{S=null;for(let[E,A]of L)u.style[E]=A}),delete h[n]}else u&&o&&!T?(queueMicrotask(()=>U.flushSync(()=>f("entering"))),S=requestAnimationFrame(()=>{S=null,f("visible")})):u&&!o&&queueMicrotask(()=>{h[n]?(delete h[n],U.flushSync(()=>f("exiting")),Promise.all(u.getAnimations().map(R=>R.finished)).then(()=>f("hidden")).catch(()=>{})):f("hidden")});return()=>{if(S!=null&&cancelAnimationFrame(S),u&&u.isConnected&&!u.hasAttribute("data-exiting")){let R=window.getComputedStyle(u);if(R.transitionProperty!=="none"){let L=R.transitionProperty.split(/\s*,\s*/);h[n]={rect:u.getBoundingClientRect(),style:L.map(E=>[E,R[E]])}}}}},[t,d,n,o]);let s=M.$64fa3d84918910a7$export$4d86445c2cf5e3({children:i,className:l,style:a,values:{isEntering:c==="entering",isExiting:c==="exiting"}});return c==="hidden"?null:p.createElement("div",{...$,...s,ref:t,"data-entering":c==="entering"||void 0,"data-exiting":c==="exiting"||void 0})}),Y=p.createContext({isSelected:!1}),be=p.forwardRef(function(e,t){[e,t]=M.$64fa3d84918910a7$export$29f1550f4b0d4415(e,t,Y);let{isSelected:n,...o}=e;return p.createElement(se,{...o,ref:t,className:e.className||"react-aria-SelectionIndicator",name:"SelectionIndicator",isVisible:n})});exports.$1d5b8b8664671ef2$export$17f80983afe4e444=be;exports.$1d5b8b8664671ef2$export$c9549807523555e0=Y;exports.$9bf71ea28793e738$export$1258395f99bf9cbf=ie;exports.$9bf71ea28793e738$export$20e40289641fbbb6=re;exports.$9bf71ea28793e738$export$2d6ec8fc375ceafa=m;exports.$9bf71ea28793e738$export$c5251b9e124bf29=fe;exports.$c8a5a149f625efcf$export$758399f318e6385a=ue;