@commercetools/nimbus 0.0.9-rc8 → 0.0.10

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 (967) hide show
  1. package/dist/chunks/Button-BOMjcccZ.es.js +80 -0
  2. package/dist/chunks/Button-BOMjcccZ.es.js.map +1 -0
  3. package/dist/chunks/Button-Whc4raea.cjs.js +2 -0
  4. package/dist/chunks/Button-Whc4raea.cjs.js.map +1 -0
  5. package/dist/chunks/DateField-BjIjR7y5.cjs.js +2 -0
  6. package/dist/chunks/DateField-BjIjR7y5.cjs.js.map +1 -0
  7. package/dist/chunks/DateField-DbAaUSAR.es.js +2565 -0
  8. package/dist/chunks/DateField-DbAaUSAR.es.js.map +1 -0
  9. package/dist/chunks/Dialog-B6tbMgyU.cjs.js +2 -0
  10. package/dist/chunks/Dialog-B6tbMgyU.cjs.js.map +1 -0
  11. package/dist/chunks/Dialog-Ct6jqZ14.es.js +870 -0
  12. package/dist/chunks/Dialog-Ct6jqZ14.es.js.map +1 -0
  13. package/dist/chunks/FocusScope-BUeBbhRq.cjs.js +2 -0
  14. package/dist/chunks/FocusScope-BUeBbhRq.cjs.js.map +1 -0
  15. package/dist/chunks/FocusScope-BacYMT5s.es.js +628 -0
  16. package/dist/chunks/FocusScope-BacYMT5s.es.js.map +1 -0
  17. package/dist/chunks/Form-amb1SjpT.cjs.js +2 -0
  18. package/dist/chunks/Form-amb1SjpT.cjs.js.map +1 -0
  19. package/dist/chunks/Form-yBl0QZl8.es.js +7 -0
  20. package/dist/chunks/Form-yBl0QZl8.es.js.map +1 -0
  21. package/dist/chunks/Group-CTSushH_.es.js +78 -0
  22. package/dist/chunks/Group-CTSushH_.es.js.map +1 -0
  23. package/dist/chunks/Group-DCFj0iWW.cjs.js +2 -0
  24. package/dist/chunks/Group-DCFj0iWW.cjs.js.map +1 -0
  25. package/dist/chunks/Hidden-CNJIJ63M.cjs.js +2 -0
  26. package/dist/chunks/Hidden-CNJIJ63M.cjs.js.map +1 -0
  27. package/dist/chunks/Hidden-CeBYiBUb.es.js +28 -0
  28. package/dist/chunks/Hidden-CeBYiBUb.es.js.map +1 -0
  29. package/dist/chunks/Input-CiHYWjLE.cjs.js +2 -0
  30. package/dist/chunks/Input-CiHYWjLE.cjs.js.map +1 -0
  31. package/dist/chunks/Input-DN0K3GJf.es.js +43 -0
  32. package/dist/chunks/Input-DN0K3GJf.es.js.map +1 -0
  33. package/dist/chunks/Label-CNMvF_U4.cjs.js +2 -0
  34. package/dist/chunks/Label-CNMvF_U4.cjs.js.map +1 -0
  35. package/dist/chunks/Label-DBDcs-md.es.js +17 -0
  36. package/dist/chunks/Label-DBDcs-md.es.js.map +1 -0
  37. package/dist/chunks/ListBox-ABeVGjvU.es.js +3007 -0
  38. package/dist/chunks/ListBox-ABeVGjvU.es.js.map +1 -0
  39. package/dist/chunks/ListBox-DCA-jDGn.cjs.js +18 -0
  40. package/dist/chunks/ListBox-DCA-jDGn.cjs.js.map +1 -0
  41. package/dist/chunks/LiveAnnouncer-B6177m92.es.js +52 -0
  42. package/dist/chunks/LiveAnnouncer-B6177m92.es.js.map +1 -0
  43. package/dist/chunks/LiveAnnouncer-CwEWPU8b.cjs.js +2 -0
  44. package/dist/chunks/LiveAnnouncer-CwEWPU8b.cjs.js.map +1 -0
  45. package/dist/chunks/NumberFormatter-DewVDY5w.cjs.js +2 -0
  46. package/dist/chunks/NumberFormatter-DewVDY5w.cjs.js.map +1 -0
  47. package/dist/chunks/NumberFormatter-DgOUVrge.es.js +120 -0
  48. package/dist/chunks/NumberFormatter-DgOUVrge.es.js.map +1 -0
  49. package/dist/chunks/OverlayArrow-BpI9oaqU.es.js +479 -0
  50. package/dist/chunks/OverlayArrow-BpI9oaqU.es.js.map +1 -0
  51. package/dist/chunks/OverlayArrow-HjwHXXDg.cjs.js +2 -0
  52. package/dist/chunks/OverlayArrow-HjwHXXDg.cjs.js.map +1 -0
  53. package/dist/chunks/ProgressBar-CjzD-Z5i.es.js +39 -0
  54. package/dist/chunks/ProgressBar-CjzD-Z5i.es.js.map +1 -0
  55. package/dist/chunks/ProgressBar-DpsMzb_5.cjs.js +2 -0
  56. package/dist/chunks/ProgressBar-DpsMzb_5.cjs.js.map +1 -0
  57. package/dist/chunks/RSPContexts-AkhSBHGO.es.js +6 -0
  58. package/dist/chunks/RSPContexts-AkhSBHGO.es.js.map +1 -0
  59. package/dist/chunks/RSPContexts-CIAIlAKH.cjs.js +2 -0
  60. package/dist/chunks/RSPContexts-CIAIlAKH.cjs.js.map +1 -0
  61. package/dist/chunks/SSRProvider-DZRLwxPS.cjs.js +2 -0
  62. package/dist/chunks/SSRProvider-DZRLwxPS.cjs.js.map +1 -0
  63. package/dist/chunks/SSRProvider-eIEwc-2s.es.js +51 -0
  64. package/dist/chunks/SSRProvider-eIEwc-2s.es.js.map +1 -0
  65. package/dist/chunks/Text-BWSfeB9p.cjs.js +2 -0
  66. package/dist/chunks/Text-BWSfeB9p.cjs.js.map +1 -0
  67. package/dist/chunks/Text-DOcU1ycg.es.js +6 -0
  68. package/dist/chunks/Text-DOcU1ycg.es.js.map +1 -0
  69. package/dist/chunks/TextArea-BeSyeRBk.es.js +42 -0
  70. package/dist/chunks/TextArea-BeSyeRBk.es.js.map +1 -0
  71. package/dist/chunks/TextArea-C0Ozz1GB.cjs.js +2 -0
  72. package/dist/chunks/TextArea-C0Ozz1GB.cjs.js.map +1 -0
  73. package/dist/chunks/VisuallyHidden-BeFoHnz-.cjs.js +2 -0
  74. package/dist/chunks/VisuallyHidden-BeFoHnz-.cjs.js.map +1 -0
  75. package/dist/chunks/VisuallyHidden-D5E2DfM-.es.js +41 -0
  76. package/dist/chunks/VisuallyHidden-D5E2DfM-.es.js.map +1 -0
  77. package/dist/chunks/accordion-BqC_0cQF.cjs.js +2 -0
  78. package/dist/chunks/accordion-BqC_0cQF.cjs.js.map +1 -0
  79. package/dist/chunks/accordion-Dc0-jhj-.es.js +221 -0
  80. package/dist/chunks/accordion-Dc0-jhj-.es.js.map +1 -0
  81. package/dist/chunks/alert-0lZycfTS.cjs.js +2 -0
  82. package/dist/chunks/alert-0lZycfTS.cjs.js.map +1 -0
  83. package/dist/chunks/alert-CLgnvjGx.es.js +186 -0
  84. package/dist/chunks/alert-CLgnvjGx.es.js.map +1 -0
  85. package/dist/chunks/avatar-BLun8TXk.cjs.js +2 -0
  86. package/dist/chunks/avatar-BLun8TXk.cjs.js.map +1 -0
  87. package/dist/chunks/avatar-DgvfEdwK.es.js +37 -0
  88. package/dist/chunks/avatar-DgvfEdwK.es.js.map +1 -0
  89. package/dist/chunks/avatar.recipe-BSmmqvwQ.es.js +39 -0
  90. package/dist/chunks/avatar.recipe-BSmmqvwQ.es.js.map +1 -0
  91. package/dist/chunks/avatar.recipe-aGNBZhVF.cjs.js +2 -0
  92. package/dist/chunks/avatar.recipe-aGNBZhVF.cjs.js.map +1 -0
  93. package/dist/chunks/badge-BFL2bErq.cjs.js +2 -0
  94. package/dist/chunks/badge-BFL2bErq.cjs.js.map +1 -0
  95. package/dist/chunks/badge-C_FXV6xO.es.js +76 -0
  96. package/dist/chunks/badge-C_FXV6xO.es.js.map +1 -0
  97. package/dist/chunks/box-DD4jYgS7.es.js +11 -0
  98. package/dist/chunks/box-DD4jYgS7.es.js.map +1 -0
  99. package/dist/chunks/box-FU6tRPFs.cjs.js +2 -0
  100. package/dist/chunks/box-FU6tRPFs.cjs.js.map +1 -0
  101. package/dist/chunks/button-ByoXAf0f.cjs.js +2 -0
  102. package/dist/chunks/button-ByoXAf0f.cjs.js.map +1 -0
  103. package/dist/chunks/button-HUhEhOaq.es.js +66 -0
  104. package/dist/chunks/button-HUhEhOaq.es.js.map +1 -0
  105. package/dist/chunks/button.recipe-DHk13lGU.cjs.js +2 -0
  106. package/dist/chunks/button.recipe-DHk13lGU.cjs.js.map +1 -0
  107. package/dist/chunks/button.recipe-DzOS_Bqm.es.js +191 -0
  108. package/dist/chunks/button.recipe-DzOS_Bqm.es.js.map +1 -0
  109. package/dist/chunks/calendar-4vA2Wjuk.es.js +1577 -0
  110. package/dist/chunks/calendar-4vA2Wjuk.es.js.map +1 -0
  111. package/dist/chunks/calendar-fDyD76bv.cjs.js +2 -0
  112. package/dist/chunks/calendar-fDyD76bv.cjs.js.map +1 -0
  113. package/dist/chunks/calendar.recipe-B2sMokBn.es.js +101 -0
  114. package/dist/chunks/calendar.recipe-B2sMokBn.es.js.map +1 -0
  115. package/dist/chunks/calendar.recipe-gUaUNltl.cjs.js +2 -0
  116. package/dist/chunks/calendar.recipe-gUaUNltl.cjs.js.map +1 -0
  117. package/dist/chunks/card-B9Ei2Ifh.cjs.js +2 -0
  118. package/dist/chunks/card-B9Ei2Ifh.cjs.js.map +1 -0
  119. package/dist/chunks/card-BlrFTWUO.es.js +138 -0
  120. package/dist/chunks/card-BlrFTWUO.es.js.map +1 -0
  121. package/dist/chunks/checkbox-BjNxOrz3.es.js +89 -0
  122. package/dist/chunks/checkbox-BjNxOrz3.es.js.map +1 -0
  123. package/dist/chunks/checkbox-DwrmmRar.cjs.js +2 -0
  124. package/dist/chunks/checkbox-DwrmmRar.cjs.js.map +1 -0
  125. package/dist/chunks/code-CI8aUhmu.es.js +6 -0
  126. package/dist/chunks/code-CI8aUhmu.es.js.map +1 -0
  127. package/dist/chunks/code-Dg4Larbo.cjs.js +2 -0
  128. package/dist/chunks/code-Dg4Larbo.cjs.js.map +1 -0
  129. package/dist/chunks/combobox-e2_LtIV2.cjs.js +2 -0
  130. package/dist/chunks/combobox-e2_LtIV2.cjs.js.map +1 -0
  131. package/dist/chunks/combobox-yROd_YZT.es.js +1898 -0
  132. package/dist/chunks/combobox-yROd_YZT.es.js.map +1 -0
  133. package/dist/chunks/combobox.recipe-BtnFn38v.cjs.js +2 -0
  134. package/dist/chunks/combobox.recipe-BtnFn38v.cjs.js.map +1 -0
  135. package/dist/chunks/combobox.recipe-aeARdYiV.es.js +407 -0
  136. package/dist/chunks/combobox.recipe-aeARdYiV.es.js.map +1 -0
  137. package/dist/chunks/context-D3RF-nTI.es.js +94 -0
  138. package/dist/chunks/context-D3RF-nTI.es.js.map +1 -0
  139. package/dist/chunks/context-DURpz5en.cjs.js +2 -0
  140. package/dist/chunks/context-DURpz5en.cjs.js.map +1 -0
  141. package/dist/chunks/date-input-BC-7OWJ7.cjs.js +2 -0
  142. package/dist/chunks/date-input-BC-7OWJ7.cjs.js.map +1 -0
  143. package/dist/chunks/date-input-CB3KDtkI.es.js +16 -0
  144. package/dist/chunks/date-input-CB3KDtkI.es.js.map +1 -0
  145. package/dist/chunks/date-input.recipe-BtWEmJGK.es.js +119 -0
  146. package/dist/chunks/date-input.recipe-BtWEmJGK.es.js.map +1 -0
  147. package/dist/chunks/date-input.recipe-Cf9e8VAr.cjs.js +2 -0
  148. package/dist/chunks/date-input.recipe-Cf9e8VAr.cjs.js.map +1 -0
  149. package/dist/chunks/date-picker-BO7p5VmS.cjs.js +2 -0
  150. package/dist/chunks/date-picker-BO7p5VmS.cjs.js.map +1 -0
  151. package/dist/chunks/date-picker-DJVAYEAw.es.js +484 -0
  152. package/dist/chunks/date-picker-DJVAYEAw.es.js.map +1 -0
  153. package/dist/chunks/date-picker.recipe-5Avb06qp.cjs.js +2 -0
  154. package/dist/chunks/date-picker.recipe-5Avb06qp.cjs.js.map +1 -0
  155. package/dist/chunks/date-picker.recipe-Dy6NmKHA.es.js +82 -0
  156. package/dist/chunks/date-picker.recipe-Dy6NmKHA.es.js.map +1 -0
  157. package/dist/chunks/dialog-C1HRMUcF.es.js +33 -0
  158. package/dist/chunks/dialog-C1HRMUcF.es.js.map +1 -0
  159. package/dist/chunks/dialog-amEwvIoM.cjs.js +2 -0
  160. package/dist/chunks/dialog-amEwvIoM.cjs.js.map +1 -0
  161. package/dist/chunks/divider-Bo7fu52f.es.js +72 -0
  162. package/dist/chunks/divider-Bo7fu52f.es.js.map +1 -0
  163. package/dist/chunks/divider-jlSUrmo7.cjs.js +2 -0
  164. package/dist/chunks/divider-jlSUrmo7.cjs.js.map +1 -0
  165. package/dist/chunks/extractStyleProps-CxgBrz3O.es.js +11 -0
  166. package/dist/chunks/extractStyleProps-CxgBrz3O.es.js.map +1 -0
  167. package/dist/chunks/extractStyleProps-lyk7D-zN.cjs.js +2 -0
  168. package/dist/chunks/extractStyleProps-lyk7D-zN.cjs.js.map +1 -0
  169. package/dist/chunks/filterDOMProps-BS2lrgFA.cjs.js +2 -0
  170. package/dist/chunks/filterDOMProps-BS2lrgFA.cjs.js.map +1 -0
  171. package/dist/chunks/filterDOMProps-D6KHYVBX.es.js +25 -0
  172. package/dist/chunks/filterDOMProps-D6KHYVBX.es.js.map +1 -0
  173. package/dist/chunks/focusSafely-BsLdCW-M.cjs.js +2 -0
  174. package/dist/chunks/focusSafely-BsLdCW-M.cjs.js.map +1 -0
  175. package/dist/chunks/focusSafely-CahaQIyI.es.js +37 -0
  176. package/dist/chunks/focusSafely-CahaQIyI.es.js.map +1 -0
  177. package/dist/chunks/focusWithoutScrolling-BlyUcXdY.cjs.js +2 -0
  178. package/dist/chunks/focusWithoutScrolling-BlyUcXdY.cjs.js.map +1 -0
  179. package/dist/chunks/focusWithoutScrolling-CDw3JYiq.es.js +46 -0
  180. package/dist/chunks/focusWithoutScrolling-CDw3JYiq.es.js.map +1 -0
  181. package/dist/chunks/form-field-DmlJuq9F.cjs.js +11 -0
  182. package/dist/chunks/form-field-DmlJuq9F.cjs.js.map +1 -0
  183. package/dist/chunks/form-field-DwxzvTA8.es.js +309 -0
  184. package/dist/chunks/form-field-DwxzvTA8.es.js.map +1 -0
  185. package/dist/chunks/getScrollParent-DE66eQI-.es.js +15 -0
  186. package/dist/chunks/getScrollParent-DE66eQI-.es.js.map +1 -0
  187. package/dist/chunks/getScrollParent-Dc1cnLDE.cjs.js +2 -0
  188. package/dist/chunks/getScrollParent-Dc1cnLDE.cjs.js.map +1 -0
  189. package/dist/chunks/grid-CugcJxRP.es.js +14 -0
  190. package/dist/chunks/grid-CugcJxRP.es.js.map +1 -0
  191. package/dist/chunks/grid-xr2A-OqD.cjs.js +2 -0
  192. package/dist/chunks/grid-xr2A-OqD.cjs.js.map +1 -0
  193. package/dist/chunks/icon-BFNYuilh.es.js +31 -0
  194. package/dist/chunks/icon-BFNYuilh.es.js.map +1 -0
  195. package/dist/chunks/icon-D50i-dqv.cjs.js +2 -0
  196. package/dist/chunks/icon-D50i-dqv.cjs.js.map +1 -0
  197. package/dist/chunks/icon-button-Bj1MnoDm.es.js +14 -0
  198. package/dist/chunks/icon-button-Bj1MnoDm.es.js.map +1 -0
  199. package/dist/chunks/icon-button-Vf2txEnP.cjs.js +2 -0
  200. package/dist/chunks/icon-button-Vf2txEnP.cjs.js.map +1 -0
  201. package/dist/chunks/image-DCirAAnr.cjs.js +2 -0
  202. package/dist/chunks/image-DCirAAnr.cjs.js.map +1 -0
  203. package/dist/chunks/image-rXPA3shk.es.js +8 -0
  204. package/dist/chunks/image-rXPA3shk.es.js.map +1 -0
  205. package/dist/chunks/kbd-BKH_SGCC.es.js +6 -0
  206. package/dist/chunks/kbd-BKH_SGCC.es.js.map +1 -0
  207. package/dist/chunks/kbd-Bhv8ae1I.cjs.js +2 -0
  208. package/dist/chunks/kbd-Bhv8ae1I.cjs.js.map +1 -0
  209. package/dist/chunks/link-C89khrQp.cjs.js +2 -0
  210. package/dist/chunks/link-C89khrQp.cjs.js.map +1 -0
  211. package/dist/chunks/link-D3Rr2RQl.es.js +50 -0
  212. package/dist/chunks/link-D3Rr2RQl.es.js.map +1 -0
  213. package/dist/chunks/link.recipe-Ba2by0OG.es.js +51 -0
  214. package/dist/chunks/link.recipe-Ba2by0OG.es.js.map +1 -0
  215. package/dist/chunks/link.recipe-CG3leGAx.cjs.js +2 -0
  216. package/dist/chunks/link.recipe-CG3leGAx.cjs.js.map +1 -0
  217. package/dist/chunks/list-8yfreyzi.cjs.js +2 -0
  218. package/dist/chunks/list-8yfreyzi.cjs.js.map +1 -0
  219. package/dist/chunks/list-B21joBrq.es.js +13 -0
  220. package/dist/chunks/list-B21joBrq.es.js.map +1 -0
  221. package/dist/chunks/loading-spinner-CnJDA2s5.cjs.js +2 -0
  222. package/dist/chunks/loading-spinner-CnJDA2s5.cjs.js.map +1 -0
  223. package/dist/chunks/loading-spinner-DBsMwy3U.es.js +105 -0
  224. package/dist/chunks/loading-spinner-DBsMwy3U.es.js.map +1 -0
  225. package/dist/chunks/make-element-focusable-diGDWsyp.es.js +22 -0
  226. package/dist/chunks/make-element-focusable-diGDWsyp.es.js.map +1 -0
  227. package/dist/chunks/make-element-focusable-zhwaMi8v.cjs.js +2 -0
  228. package/dist/chunks/make-element-focusable-zhwaMi8v.cjs.js.map +1 -0
  229. package/dist/chunks/mergeProps--cTsQeLh.cjs.js +2 -0
  230. package/dist/chunks/mergeProps--cTsQeLh.cjs.js.map +1 -0
  231. package/dist/chunks/mergeProps-BUo0BHVY.es.js +128 -0
  232. package/dist/chunks/mergeProps-BUo0BHVY.es.js.map +1 -0
  233. package/dist/chunks/multiline-text-input-AjqfDDxC.cjs.js +12 -0
  234. package/dist/chunks/multiline-text-input-AjqfDDxC.cjs.js.map +1 -0
  235. package/dist/chunks/multiline-text-input-CIHvD3Oz.es.js +116 -0
  236. package/dist/chunks/multiline-text-input-CIHvD3Oz.es.js.map +1 -0
  237. package/dist/chunks/nimbus-provider-BjnzjFmv.es.js +1663 -0
  238. package/dist/chunks/nimbus-provider-BjnzjFmv.es.js.map +1 -0
  239. package/dist/chunks/nimbus-provider-Cfpse_6n.cjs.js +2 -0
  240. package/dist/chunks/nimbus-provider-Cfpse_6n.cjs.js.map +1 -0
  241. package/dist/chunks/number-5qMXmHyn.es.js +21 -0
  242. package/dist/chunks/number-5qMXmHyn.es.js.map +1 -0
  243. package/dist/chunks/number-CnrRPi4_.cjs.js +2 -0
  244. package/dist/chunks/number-CnrRPi4_.cjs.js.map +1 -0
  245. package/dist/chunks/number-input-Da1tzQlg.es.js +653 -0
  246. package/dist/chunks/number-input-Da1tzQlg.es.js.map +1 -0
  247. package/dist/chunks/number-input-oxPP81Et.cjs.js +2 -0
  248. package/dist/chunks/number-input-oxPP81Et.cjs.js.map +1 -0
  249. package/dist/chunks/number-input.recipe-2n6A2w0m.cjs.js +2 -0
  250. package/dist/chunks/number-input.recipe-2n6A2w0m.cjs.js.map +1 -0
  251. package/dist/chunks/number-input.recipe-8gbsGnLJ.es.js +209 -0
  252. package/dist/chunks/number-input.recipe-8gbsGnLJ.es.js.map +1 -0
  253. package/dist/chunks/openLink-Bb-6Z-d5.es.js +101 -0
  254. package/dist/chunks/openLink-Bb-6Z-d5.es.js.map +1 -0
  255. package/dist/chunks/openLink-COo3k75n.cjs.js +2 -0
  256. package/dist/chunks/openLink-COo3k75n.cjs.js.map +1 -0
  257. package/dist/chunks/password-input-BBUAEOxl.cjs.js +2 -0
  258. package/dist/chunks/password-input-BBUAEOxl.cjs.js.map +1 -0
  259. package/dist/chunks/password-input-CS1tN_Tr.es.js +50 -0
  260. package/dist/chunks/password-input-CS1tN_Tr.es.js.map +1 -0
  261. package/dist/chunks/platform-Bc175Jt1.es.js +45 -0
  262. package/dist/chunks/platform-Bc175Jt1.es.js.map +1 -0
  263. package/dist/chunks/platform-Vom5nEUR.cjs.js +2 -0
  264. package/dist/chunks/platform-Vom5nEUR.cjs.js.map +1 -0
  265. package/dist/chunks/progress-bar-QwctSqZZ.es.js +71 -0
  266. package/dist/chunks/progress-bar-QwctSqZZ.es.js.map +1 -0
  267. package/dist/chunks/progress-bar-oKaz0uqw.cjs.js +2 -0
  268. package/dist/chunks/progress-bar-oKaz0uqw.cjs.js.map +1 -0
  269. package/dist/chunks/radio-input-BexkdvxD.es.js +320 -0
  270. package/dist/chunks/radio-input-BexkdvxD.es.js.map +1 -0
  271. package/dist/chunks/radio-input-C7QoAolu.cjs.js +2 -0
  272. package/dist/chunks/radio-input-C7QoAolu.cjs.js.map +1 -0
  273. package/dist/chunks/radio-input.recipe-CM9R2ilP.es.js +75 -0
  274. package/dist/chunks/radio-input.recipe-CM9R2ilP.es.js.map +1 -0
  275. package/dist/chunks/radio-input.recipe-DdXB4lqs.cjs.js +2 -0
  276. package/dist/chunks/radio-input.recipe-DdXB4lqs.cjs.js.map +1 -0
  277. package/dist/chunks/scrollIntoView-CqkKWFb6.es.js +83 -0
  278. package/dist/chunks/scrollIntoView-CqkKWFb6.es.js.map +1 -0
  279. package/dist/chunks/scrollIntoView-DJjtWQTK.cjs.js +2 -0
  280. package/dist/chunks/scrollIntoView-DJjtWQTK.cjs.js.map +1 -0
  281. package/dist/chunks/select-CU2u2b6U.es.js +792 -0
  282. package/dist/chunks/select-CU2u2b6U.es.js.map +1 -0
  283. package/dist/chunks/select-CwzhqF_g.cjs.js +2 -0
  284. package/dist/chunks/select-CwzhqF_g.cjs.js.map +1 -0
  285. package/dist/chunks/select.recipe-CXWsUldF.es.js +203 -0
  286. package/dist/chunks/select.recipe-CXWsUldF.es.js.map +1 -0
  287. package/dist/chunks/select.recipe-DUHFWlQt.cjs.js +2 -0
  288. package/dist/chunks/select.recipe-DUHFWlQt.cjs.js.map +1 -0
  289. package/dist/chunks/simple-grid-CFOP9g2P.es.js +14 -0
  290. package/dist/chunks/simple-grid-CFOP9g2P.es.js.map +1 -0
  291. package/dist/chunks/simple-grid-CHgTayx6.cjs.js +2 -0
  292. package/dist/chunks/simple-grid-CHgTayx6.cjs.js.map +1 -0
  293. package/dist/chunks/stack-__ugxVHD.es.js +11 -0
  294. package/dist/chunks/stack-__ugxVHD.es.js.map +1 -0
  295. package/dist/chunks/stack-wFUhYQQb.cjs.js +2 -0
  296. package/dist/chunks/stack-wFUhYQQb.cjs.js.map +1 -0
  297. package/dist/chunks/switch-CUwyaYts.cjs.js +2 -0
  298. package/dist/chunks/switch-CUwyaYts.cjs.js.map +1 -0
  299. package/dist/chunks/switch-DgbFw1kA.es.js +78 -0
  300. package/dist/chunks/switch-DgbFw1kA.es.js.map +1 -0
  301. package/dist/chunks/switch.recipe-CWOjEnIy.es.js +100 -0
  302. package/dist/chunks/switch.recipe-CWOjEnIy.es.js.map +1 -0
  303. package/dist/chunks/switch.recipe-DHopLj_g.cjs.js +2 -0
  304. package/dist/chunks/switch.recipe-DHopLj_g.cjs.js.map +1 -0
  305. package/dist/chunks/tag-group-Cc6S9cbR.es.js +1347 -0
  306. package/dist/chunks/tag-group-Cc6S9cbR.es.js.map +1 -0
  307. package/dist/chunks/tag-group-DCgEBbmh.cjs.js +2 -0
  308. package/dist/chunks/tag-group-DCgEBbmh.cjs.js.map +1 -0
  309. package/dist/chunks/text-CEFwlX3E.cjs.js +2 -0
  310. package/dist/chunks/text-CEFwlX3E.cjs.js.map +1 -0
  311. package/dist/chunks/text-CYoFrI2I.es.js +24 -0
  312. package/dist/chunks/text-CYoFrI2I.es.js.map +1 -0
  313. package/dist/chunks/text-input-fAoATAAX.cjs.js +2 -0
  314. package/dist/chunks/text-input-fAoATAAX.cjs.js.map +1 -0
  315. package/dist/chunks/text-input-uhPCsxsK.es.js +17 -0
  316. package/dist/chunks/text-input-uhPCsxsK.es.js.map +1 -0
  317. package/dist/chunks/text-input.recipe-DxzvFMOB.cjs.js +2 -0
  318. package/dist/chunks/text-input.recipe-DxzvFMOB.cjs.js.map +1 -0
  319. package/dist/chunks/text-input.recipe-KNoUuq-g.es.js +64 -0
  320. package/dist/chunks/text-input.recipe-KNoUuq-g.es.js.map +1 -0
  321. package/dist/chunks/time-input-BwtzFUWN.cjs.js +2 -0
  322. package/dist/chunks/time-input-BwtzFUWN.cjs.js.map +1 -0
  323. package/dist/chunks/time-input-ClF6Qx1T.es.js +129 -0
  324. package/dist/chunks/time-input-ClF6Qx1T.es.js.map +1 -0
  325. package/dist/chunks/toggle-button-group-BDzXfqxK.es.js +275 -0
  326. package/dist/chunks/toggle-button-group-BDzXfqxK.es.js.map +1 -0
  327. package/dist/chunks/toggle-button-group-BOdTMLPd.cjs.js +2 -0
  328. package/dist/chunks/toggle-button-group-BOdTMLPd.cjs.js.map +1 -0
  329. package/dist/chunks/tooltip-MQm4h_hA.es.js +273 -0
  330. package/dist/chunks/tooltip-MQm4h_hA.es.js.map +1 -0
  331. package/dist/chunks/tooltip-p-s9eZWV.cjs.js +2 -0
  332. package/dist/chunks/tooltip-p-s9eZWV.cjs.js.map +1 -0
  333. package/dist/chunks/tooltip.recipe-B9-7OFCi.es.js +24 -0
  334. package/dist/chunks/tooltip.recipe-B9-7OFCi.es.js.map +1 -0
  335. package/dist/chunks/tooltip.recipe-CkNOA8Sg.cjs.js +2 -0
  336. package/dist/chunks/tooltip.recipe-CkNOA8Sg.cjs.js.map +1 -0
  337. package/dist/chunks/useButton-Cw2i6_TH.cjs.js +2 -0
  338. package/dist/chunks/useButton-Cw2i6_TH.cjs.js.map +1 -0
  339. package/dist/chunks/useButton-DdY6ixlh.es.js +48 -0
  340. package/dist/chunks/useButton-DdY6ixlh.es.js.map +1 -0
  341. package/dist/chunks/useCollator-BhJcleP-.es.js +12 -0
  342. package/dist/chunks/useCollator-BhJcleP-.es.js.map +1 -0
  343. package/dist/chunks/useCollator-DLdpB_Ui.cjs.js +2 -0
  344. package/dist/chunks/useCollator-DLdpB_Ui.cjs.js.map +1 -0
  345. package/dist/chunks/useControlledState-D0L6S_5r.cjs.js +2 -0
  346. package/dist/chunks/useControlledState-D0L6S_5r.cjs.js.map +1 -0
  347. package/dist/chunks/useControlledState-u436Wbp1.es.js +31 -0
  348. package/dist/chunks/useControlledState-u436Wbp1.es.js.map +1 -0
  349. package/dist/chunks/useDateFormatter-CeTPxW8a.cjs.js +2 -0
  350. package/dist/chunks/useDateFormatter-CeTPxW8a.cjs.js.map +1 -0
  351. package/dist/chunks/useDateFormatter-DvdguFVS.es.js +1581 -0
  352. package/dist/chunks/useDateFormatter-DvdguFVS.es.js.map +1 -0
  353. package/dist/chunks/useEvent-BFbCMsMG.cjs.js +2 -0
  354. package/dist/chunks/useEvent-BFbCMsMG.cjs.js.map +1 -0
  355. package/dist/chunks/useEvent-CzfHWUdv.es.js +22 -0
  356. package/dist/chunks/useEvent-CzfHWUdv.es.js.map +1 -0
  357. package/dist/chunks/useField-CNr5aECk.cjs.js +2 -0
  358. package/dist/chunks/useField-CNr5aECk.cjs.js.map +1 -0
  359. package/dist/chunks/useField-Caqfdud_.es.js +36 -0
  360. package/dist/chunks/useField-Caqfdud_.es.js.map +1 -0
  361. package/dist/chunks/useFocus-3ktZKnFP.es.js +135 -0
  362. package/dist/chunks/useFocus-3ktZKnFP.es.js.map +1 -0
  363. package/dist/chunks/useFocus-D9bTLwXz.cjs.js +2 -0
  364. package/dist/chunks/useFocus-D9bTLwXz.cjs.js.map +1 -0
  365. package/dist/chunks/useFocusRing-Bij4qXCm.es.js +34 -0
  366. package/dist/chunks/useFocusRing-Bij4qXCm.es.js.map +1 -0
  367. package/dist/chunks/useFocusRing-DE3LmlBK.cjs.js +2 -0
  368. package/dist/chunks/useFocusRing-DE3LmlBK.cjs.js.map +1 -0
  369. package/dist/chunks/useFocusWithin-BxAgY02U.es.js +55 -0
  370. package/dist/chunks/useFocusWithin-BxAgY02U.es.js.map +1 -0
  371. package/dist/chunks/useFocusWithin-CWaYFSji.cjs.js +2 -0
  372. package/dist/chunks/useFocusWithin-CWaYFSji.cjs.js.map +1 -0
  373. package/dist/chunks/useFocusable-41-WL-k6.cjs.js +2 -0
  374. package/dist/chunks/useFocusable-41-WL-k6.cjs.js.map +1 -0
  375. package/dist/chunks/useFocusable-B4YfgYbi.es.js +75 -0
  376. package/dist/chunks/useFocusable-B4YfgYbi.es.js.map +1 -0
  377. package/dist/chunks/useFormReset-B7JIQEba.cjs.js +2 -0
  378. package/dist/chunks/useFormReset-B7JIQEba.cjs.js.map +1 -0
  379. package/dist/chunks/useFormReset-j9laz3Zh.es.js +21 -0
  380. package/dist/chunks/useFormReset-j9laz3Zh.es.js.map +1 -0
  381. package/dist/chunks/useFormValidation-BbPFbrIk.es.js +179 -0
  382. package/dist/chunks/useFormValidation-BbPFbrIk.es.js.map +1 -0
  383. package/dist/chunks/useFormValidation-WxEl8dbL.cjs.js +2 -0
  384. package/dist/chunks/useFormValidation-WxEl8dbL.cjs.js.map +1 -0
  385. package/dist/chunks/useHover-ClWWazLU.cjs.js +2 -0
  386. package/dist/chunks/useHover-ClWWazLU.cjs.js.map +1 -0
  387. package/dist/chunks/useHover-DmJo2yqg.es.js +85 -0
  388. package/dist/chunks/useHover-DmJo2yqg.es.js.map +1 -0
  389. package/dist/chunks/useLabel-C1BLl-NU.cjs.js +2 -0
  390. package/dist/chunks/useLabel-C1BLl-NU.cjs.js.map +1 -0
  391. package/dist/chunks/useLabel-CekSAnqJ.es.js +37 -0
  392. package/dist/chunks/useLabel-CekSAnqJ.es.js.map +1 -0
  393. package/dist/chunks/useLocalizedStringFormatter-BfWBwLjq.es.js +97 -0
  394. package/dist/chunks/useLocalizedStringFormatter-BfWBwLjq.es.js.map +1 -0
  395. package/dist/chunks/useLocalizedStringFormatter-CdsqKKUv.cjs.js +2 -0
  396. package/dist/chunks/useLocalizedStringFormatter-CdsqKKUv.cjs.js.map +1 -0
  397. package/dist/chunks/useObjectRef-4v2MxSjQ.cjs.js +2 -0
  398. package/dist/chunks/useObjectRef-4v2MxSjQ.cjs.js.map +1 -0
  399. package/dist/chunks/useObjectRef-CaJ5pgjX.es.js +30 -0
  400. package/dist/chunks/useObjectRef-CaJ5pgjX.es.js.map +1 -0
  401. package/dist/chunks/usePress-CHjHe0z6.cjs.js +8 -0
  402. package/dist/chunks/usePress-CHjHe0z6.cjs.js.map +1 -0
  403. package/dist/chunks/usePress-Cjh8V0gi.es.js +452 -0
  404. package/dist/chunks/usePress-Cjh8V0gi.es.js.map +1 -0
  405. package/dist/chunks/useProgressBar-C2d-2Fkp.cjs.js +2 -0
  406. package/dist/chunks/useProgressBar-C2d-2Fkp.cjs.js.map +1 -0
  407. package/dist/chunks/useProgressBar-DZT7aMNM.es.js +48 -0
  408. package/dist/chunks/useProgressBar-DZT7aMNM.es.js.map +1 -0
  409. package/dist/chunks/useSingleSelectListState-C2uPq6eE.cjs.js +2 -0
  410. package/dist/chunks/useSingleSelectListState-C2uPq6eE.cjs.js.map +1 -0
  411. package/dist/chunks/useSingleSelectListState-NfI_d4ak.es.js +269 -0
  412. package/dist/chunks/useSingleSelectListState-NfI_d4ak.es.js.map +1 -0
  413. package/dist/chunks/useSpinButton-C2O01UxL.cjs.js +2 -0
  414. package/dist/chunks/useSpinButton-C2O01UxL.cjs.js.map +1 -0
  415. package/dist/chunks/useSpinButton-D2j8iVmv.es.js +432 -0
  416. package/dist/chunks/useSpinButton-D2j8iVmv.es.js.map +1 -0
  417. package/dist/chunks/useTextField-BMUp5FfB.cjs.js +2 -0
  418. package/dist/chunks/useTextField-BMUp5FfB.cjs.js.map +1 -0
  419. package/dist/chunks/useTextField-CtQSL6tL.es.js +88 -0
  420. package/dist/chunks/useTextField-CtQSL6tL.es.js.map +1 -0
  421. package/dist/chunks/useToggle-CTRf6MHr.es.js +50 -0
  422. package/dist/chunks/useToggle-CTRf6MHr.es.js.map +1 -0
  423. package/dist/chunks/useToggle-CdzYIaIp.cjs.js +2 -0
  424. package/dist/chunks/useToggle-CdzYIaIp.cjs.js.map +1 -0
  425. package/dist/chunks/useToggleState-bO90kfqG.cjs.js +2 -0
  426. package/dist/chunks/useToggleState-bO90kfqG.cjs.js.map +1 -0
  427. package/dist/chunks/useToggleState-mKFEFD2Q.es.js +19 -0
  428. package/dist/chunks/useToggleState-mKFEFD2Q.es.js.map +1 -0
  429. package/dist/chunks/useUpdateEffect-CCDx8D4X.es.js +14 -0
  430. package/dist/chunks/useUpdateEffect-CCDx8D4X.es.js.map +1 -0
  431. package/dist/chunks/useUpdateEffect-sk3kiVGz.cjs.js +2 -0
  432. package/dist/chunks/useUpdateEffect-sk3kiVGz.cjs.js.map +1 -0
  433. package/dist/chunks/utils-4CMfmbln.es.js +187 -0
  434. package/dist/chunks/utils-4CMfmbln.es.js.map +1 -0
  435. package/dist/chunks/utils-BQD5cAKH.cjs.js +2 -0
  436. package/dist/chunks/utils-BQD5cAKH.cjs.js.map +1 -0
  437. package/dist/chunks/utils-DB75DiMj.es.js +128 -0
  438. package/dist/chunks/utils-DB75DiMj.es.js.map +1 -0
  439. package/dist/chunks/utils-DDsBrWAK.cjs.js +2 -0
  440. package/dist/chunks/utils-DDsBrWAK.cjs.js.map +1 -0
  441. package/dist/chunks/visually-hidden-DJxzCHM4.es.js +11 -0
  442. package/dist/chunks/visually-hidden-DJxzCHM4.es.js.map +1 -0
  443. package/dist/chunks/visually-hidden-XscDHjYa.cjs.js +2 -0
  444. package/dist/chunks/visually-hidden-XscDHjYa.cjs.js.map +1 -0
  445. package/dist/components/accordion.cjs +1 -1
  446. package/dist/components/accordion.es.js +1 -1
  447. package/dist/components/alert.cjs +1 -1
  448. package/dist/components/alert.es.js +1 -1
  449. package/dist/components/avatar.cjs +1 -1
  450. package/dist/components/avatar.es.js +1 -1
  451. package/dist/components/badge.cjs +1 -1
  452. package/dist/components/badge.es.js +1 -1
  453. package/dist/components/box.cjs +1 -1
  454. package/dist/components/box.es.js +1 -1
  455. package/dist/components/button.cjs +1 -1
  456. package/dist/components/button.es.js +1 -1
  457. package/dist/components/calendar.cjs +1 -1
  458. package/dist/components/calendar.es.js +1 -1
  459. package/dist/components/card.cjs +1 -1
  460. package/dist/components/card.es.js +1 -1
  461. package/dist/components/checkbox.cjs +1 -1
  462. package/dist/components/checkbox.es.js +1 -1
  463. package/dist/components/code.cjs +1 -1
  464. package/dist/components/code.es.js +1 -1
  465. package/dist/components/combobox.cjs +1 -1
  466. package/dist/components/combobox.es.js +1 -1
  467. package/dist/components/components.cjs +1 -1
  468. package/dist/components/components.es.js +106 -105
  469. package/dist/components/components.es.js.map +1 -1
  470. package/dist/components/date-input.cjs +1 -1
  471. package/dist/components/date-input.es.js +1 -1
  472. package/dist/components/date-picker.cjs +1 -1
  473. package/dist/components/date-picker.es.js +1 -1
  474. package/dist/components/dialog.cjs +1 -1
  475. package/dist/components/dialog.es.js +1 -1
  476. package/dist/components/divider.cjs +2 -0
  477. package/dist/components/divider.cjs.map +1 -0
  478. package/dist/components/divider.es.js +5 -0
  479. package/dist/components/divider.es.js.map +1 -0
  480. package/dist/components/form-field.cjs +1 -1
  481. package/dist/components/form-field.es.js +1 -1
  482. package/dist/components/grid.cjs +1 -1
  483. package/dist/components/grid.es.js +1 -1
  484. package/dist/components/icon-button.cjs +1 -1
  485. package/dist/components/icon-button.es.js +1 -1
  486. package/dist/components/icon.cjs +1 -1
  487. package/dist/components/icon.es.js +1 -1
  488. package/dist/components/image.cjs +1 -1
  489. package/dist/components/image.es.js +1 -1
  490. package/dist/components/kbd.cjs +1 -1
  491. package/dist/components/kbd.es.js +1 -1
  492. package/dist/components/link.cjs +1 -1
  493. package/dist/components/link.es.js +1 -1
  494. package/dist/components/list.cjs +1 -1
  495. package/dist/components/list.es.js +1 -1
  496. package/dist/components/loading-spinner.cjs +1 -1
  497. package/dist/components/loading-spinner.es.js +1 -1
  498. package/dist/components/multiline-text-input.cjs +1 -1
  499. package/dist/components/multiline-text-input.es.js +1 -1
  500. package/dist/components/nimbus-provider.cjs +1 -1
  501. package/dist/components/nimbus-provider.es.js +2 -5
  502. package/dist/components/number-input.cjs +1 -1
  503. package/dist/components/number-input.es.js +1 -1
  504. package/dist/components/password-input.cjs +1 -1
  505. package/dist/components/password-input.es.js +1 -1
  506. package/dist/components/progress-bar.cjs +2 -0
  507. package/dist/components/progress-bar.cjs.map +1 -0
  508. package/dist/components/progress-bar.es.js +5 -0
  509. package/dist/components/progress-bar.es.js.map +1 -0
  510. package/dist/components/radio-input.cjs +1 -1
  511. package/dist/components/radio-input.es.js +1 -1
  512. package/dist/components/select.cjs +1 -1
  513. package/dist/components/select.es.js +1 -1
  514. package/dist/components/simple-grid.cjs +1 -1
  515. package/dist/components/simple-grid.es.js +1 -1
  516. package/dist/components/stack.cjs +1 -1
  517. package/dist/components/stack.es.js +1 -1
  518. package/dist/components/switch.cjs +1 -1
  519. package/dist/components/switch.es.js +1 -1
  520. package/dist/components/tag-group.cjs +1 -1
  521. package/dist/components/tag-group.es.js +1 -1
  522. package/dist/components/text-input.cjs +1 -1
  523. package/dist/components/text-input.es.js +1 -1
  524. package/dist/components/text.cjs +1 -1
  525. package/dist/components/text.es.js +1 -1
  526. package/dist/components/time-input.cjs +1 -1
  527. package/dist/components/time-input.es.js +1 -1
  528. package/dist/components/toggle-button-group.cjs +1 -1
  529. package/dist/components/toggle-button-group.es.js +1 -1
  530. package/dist/components/tooltip.cjs +1 -1
  531. package/dist/components/tooltip.es.js +2 -2
  532. package/dist/components/visually-hidden.cjs +1 -1
  533. package/dist/components/visually-hidden.es.js +1 -1
  534. package/dist/components.d.ts +323 -14
  535. package/dist/divider.d.ts +87 -0
  536. package/dist/index.cjs +1 -1
  537. package/dist/index.cjs.map +1 -1
  538. package/dist/index.d.ts +373 -3
  539. package/dist/index.es.js +281 -246
  540. package/dist/index.es.js.map +1 -1
  541. package/dist/nimbus-provider.d.ts +82 -12
  542. package/dist/progress-bar.d.ts +168 -0
  543. package/dist/setup-jsdom-polyfills.cjs +1 -1
  544. package/dist/setup-jsdom-polyfills.cjs.map +1 -1
  545. package/dist/setup-jsdom-polyfills.es.js +1 -1
  546. package/dist/setup-jsdom-polyfills.es.js.map +1 -1
  547. package/package.json +16 -15
  548. package/dist/chunks/Button-BxcMDv2N.js +0 -79
  549. package/dist/chunks/Button-BxcMDv2N.js.map +0 -1
  550. package/dist/chunks/Button-tPOlfQRd.js +0 -2
  551. package/dist/chunks/Button-tPOlfQRd.js.map +0 -1
  552. package/dist/chunks/DateField-CaR3Qeda.js +0 -2564
  553. package/dist/chunks/DateField-CaR3Qeda.js.map +0 -1
  554. package/dist/chunks/DateField-D3h6vCMK.js +0 -2
  555. package/dist/chunks/DateField-D3h6vCMK.js.map +0 -1
  556. package/dist/chunks/Dialog-5VrXdl86.js +0 -2
  557. package/dist/chunks/Dialog-5VrXdl86.js.map +0 -1
  558. package/dist/chunks/Dialog-DJv-Zg_L.js +0 -870
  559. package/dist/chunks/Dialog-DJv-Zg_L.js.map +0 -1
  560. package/dist/chunks/FocusScope-CsXy0kJw.js +0 -627
  561. package/dist/chunks/FocusScope-CsXy0kJw.js.map +0 -1
  562. package/dist/chunks/FocusScope-Cysx7oI0.js +0 -2
  563. package/dist/chunks/FocusScope-Cysx7oI0.js.map +0 -1
  564. package/dist/chunks/Form-DdaqVtM4.js +0 -8
  565. package/dist/chunks/Form-DdaqVtM4.js.map +0 -1
  566. package/dist/chunks/Form-DqkTf3LZ.js +0 -2
  567. package/dist/chunks/Form-DqkTf3LZ.js.map +0 -1
  568. package/dist/chunks/Group-CTpcJZmt.js +0 -2
  569. package/dist/chunks/Group-CTpcJZmt.js.map +0 -1
  570. package/dist/chunks/Group-D3CaEDfr.js +0 -78
  571. package/dist/chunks/Group-D3CaEDfr.js.map +0 -1
  572. package/dist/chunks/Hidden-CNJIJ63M.js +0 -2
  573. package/dist/chunks/Hidden-CNJIJ63M.js.map +0 -1
  574. package/dist/chunks/Hidden-CeBYiBUb.js +0 -28
  575. package/dist/chunks/Hidden-CeBYiBUb.js.map +0 -1
  576. package/dist/chunks/Input-0vJb_5Js.js +0 -43
  577. package/dist/chunks/Input-0vJb_5Js.js.map +0 -1
  578. package/dist/chunks/Input-rMOtwpe-.js +0 -2
  579. package/dist/chunks/Input-rMOtwpe-.js.map +0 -1
  580. package/dist/chunks/ListBox-Dmkou3Hm.js +0 -18
  581. package/dist/chunks/ListBox-Dmkou3Hm.js.map +0 -1
  582. package/dist/chunks/ListBox-Dss9OMcn.js +0 -3004
  583. package/dist/chunks/ListBox-Dss9OMcn.js.map +0 -1
  584. package/dist/chunks/LiveAnnouncer-B6177m92.js +0 -52
  585. package/dist/chunks/LiveAnnouncer-B6177m92.js.map +0 -1
  586. package/dist/chunks/LiveAnnouncer-CwEWPU8b.js +0 -2
  587. package/dist/chunks/LiveAnnouncer-CwEWPU8b.js.map +0 -1
  588. package/dist/chunks/NumberFormatter-DewVDY5w.js +0 -2
  589. package/dist/chunks/NumberFormatter-DewVDY5w.js.map +0 -1
  590. package/dist/chunks/NumberFormatter-DgOUVrge.js +0 -120
  591. package/dist/chunks/NumberFormatter-DgOUVrge.js.map +0 -1
  592. package/dist/chunks/OverlayArrow-Bs2caVoG.js +0 -2
  593. package/dist/chunks/OverlayArrow-Bs2caVoG.js.map +0 -1
  594. package/dist/chunks/OverlayArrow-qjQZbu8u.js +0 -479
  595. package/dist/chunks/OverlayArrow-qjQZbu8u.js.map +0 -1
  596. package/dist/chunks/RSPContexts-AkhSBHGO.js +0 -6
  597. package/dist/chunks/RSPContexts-AkhSBHGO.js.map +0 -1
  598. package/dist/chunks/RSPContexts-CIAIlAKH.js +0 -2
  599. package/dist/chunks/RSPContexts-CIAIlAKH.js.map +0 -1
  600. package/dist/chunks/SSRProvider-DZRLwxPS.js +0 -2
  601. package/dist/chunks/SSRProvider-DZRLwxPS.js.map +0 -1
  602. package/dist/chunks/SSRProvider-eIEwc-2s.js +0 -51
  603. package/dist/chunks/SSRProvider-eIEwc-2s.js.map +0 -1
  604. package/dist/chunks/Text-BWSfeB9p.js +0 -2
  605. package/dist/chunks/Text-BWSfeB9p.js.map +0 -1
  606. package/dist/chunks/Text-DOcU1ycg.js +0 -6
  607. package/dist/chunks/Text-DOcU1ycg.js.map +0 -1
  608. package/dist/chunks/TextArea-BfVV0_3h.js +0 -2
  609. package/dist/chunks/TextArea-BfVV0_3h.js.map +0 -1
  610. package/dist/chunks/TextArea-Q-NI2yW5.js +0 -42
  611. package/dist/chunks/TextArea-Q-NI2yW5.js.map +0 -1
  612. package/dist/chunks/VisuallyHidden-2REhp9RT.js +0 -41
  613. package/dist/chunks/VisuallyHidden-2REhp9RT.js.map +0 -1
  614. package/dist/chunks/VisuallyHidden-Cg0LJ1Dh.js +0 -2
  615. package/dist/chunks/VisuallyHidden-Cg0LJ1Dh.js.map +0 -1
  616. package/dist/chunks/accordion-D4Qqg89m.js +0 -221
  617. package/dist/chunks/accordion-D4Qqg89m.js.map +0 -1
  618. package/dist/chunks/accordion-vrKLW-re.js +0 -2
  619. package/dist/chunks/accordion-vrKLW-re.js.map +0 -1
  620. package/dist/chunks/alert-B738R1TJ.js +0 -2
  621. package/dist/chunks/alert-B738R1TJ.js.map +0 -1
  622. package/dist/chunks/alert-BX5IPnc_.js +0 -186
  623. package/dist/chunks/alert-BX5IPnc_.js.map +0 -1
  624. package/dist/chunks/avatar-85FE_L0r.js +0 -37
  625. package/dist/chunks/avatar-85FE_L0r.js.map +0 -1
  626. package/dist/chunks/avatar-Aa0LrRpo.js +0 -2
  627. package/dist/chunks/avatar-Aa0LrRpo.js.map +0 -1
  628. package/dist/chunks/avatar.recipe-BSmmqvwQ.js +0 -39
  629. package/dist/chunks/avatar.recipe-BSmmqvwQ.js.map +0 -1
  630. package/dist/chunks/avatar.recipe-aGNBZhVF.js +0 -2
  631. package/dist/chunks/avatar.recipe-aGNBZhVF.js.map +0 -1
  632. package/dist/chunks/badge-BFbBB0US.js +0 -2
  633. package/dist/chunks/badge-BFbBB0US.js.map +0 -1
  634. package/dist/chunks/badge-C1bFH3CB.js +0 -76
  635. package/dist/chunks/badge-C1bFH3CB.js.map +0 -1
  636. package/dist/chunks/box-DD4jYgS7.js +0 -11
  637. package/dist/chunks/box-DD4jYgS7.js.map +0 -1
  638. package/dist/chunks/box-FU6tRPFs.js +0 -2
  639. package/dist/chunks/box-FU6tRPFs.js.map +0 -1
  640. package/dist/chunks/button-BLZONb0_.js +0 -2
  641. package/dist/chunks/button-BLZONb0_.js.map +0 -1
  642. package/dist/chunks/button-zSDA7FRw.js +0 -66
  643. package/dist/chunks/button-zSDA7FRw.js.map +0 -1
  644. package/dist/chunks/button.recipe-DHk13lGU.js +0 -2
  645. package/dist/chunks/button.recipe-DHk13lGU.js.map +0 -1
  646. package/dist/chunks/button.recipe-DzOS_Bqm.js +0 -191
  647. package/dist/chunks/button.recipe-DzOS_Bqm.js.map +0 -1
  648. package/dist/chunks/calendar-BIB7Bqqn.js +0 -1577
  649. package/dist/chunks/calendar-BIB7Bqqn.js.map +0 -1
  650. package/dist/chunks/calendar-DRE_oZOp.js +0 -2
  651. package/dist/chunks/calendar-DRE_oZOp.js.map +0 -1
  652. package/dist/chunks/calendar.recipe-B2sMokBn.js +0 -101
  653. package/dist/chunks/calendar.recipe-B2sMokBn.js.map +0 -1
  654. package/dist/chunks/calendar.recipe-gUaUNltl.js +0 -2
  655. package/dist/chunks/calendar.recipe-gUaUNltl.js.map +0 -1
  656. package/dist/chunks/card-DAC7L3R0.js +0 -2
  657. package/dist/chunks/card-DAC7L3R0.js.map +0 -1
  658. package/dist/chunks/card-DSC-PYAU.js +0 -138
  659. package/dist/chunks/card-DSC-PYAU.js.map +0 -1
  660. package/dist/chunks/checkbox-B1w8RLi0.js +0 -2
  661. package/dist/chunks/checkbox-B1w8RLi0.js.map +0 -1
  662. package/dist/chunks/checkbox-CJQ1O9W5.js +0 -89
  663. package/dist/chunks/checkbox-CJQ1O9W5.js.map +0 -1
  664. package/dist/chunks/code-CI8aUhmu.js +0 -6
  665. package/dist/chunks/code-CI8aUhmu.js.map +0 -1
  666. package/dist/chunks/code-Dg4Larbo.js +0 -2
  667. package/dist/chunks/code-Dg4Larbo.js.map +0 -1
  668. package/dist/chunks/combobox-DLABf790.js +0 -2
  669. package/dist/chunks/combobox-DLABf790.js.map +0 -1
  670. package/dist/chunks/combobox-ZcHPms3T.js +0 -1896
  671. package/dist/chunks/combobox-ZcHPms3T.js.map +0 -1
  672. package/dist/chunks/combobox.recipe-BIn4O0NT.js +0 -407
  673. package/dist/chunks/combobox.recipe-BIn4O0NT.js.map +0 -1
  674. package/dist/chunks/combobox.recipe-Da71Y6ye.js +0 -2
  675. package/dist/chunks/combobox.recipe-Da71Y6ye.js.map +0 -1
  676. package/dist/chunks/context-BmQ51HC8.js +0 -2
  677. package/dist/chunks/context-BmQ51HC8.js.map +0 -1
  678. package/dist/chunks/context-CI0Y3O6x.js +0 -94
  679. package/dist/chunks/context-CI0Y3O6x.js.map +0 -1
  680. package/dist/chunks/date-input-DnjW061n.js +0 -2
  681. package/dist/chunks/date-input-DnjW061n.js.map +0 -1
  682. package/dist/chunks/date-input-tzOJ2b9K.js +0 -16
  683. package/dist/chunks/date-input-tzOJ2b9K.js.map +0 -1
  684. package/dist/chunks/date-input.recipe-BtWEmJGK.js +0 -119
  685. package/dist/chunks/date-input.recipe-BtWEmJGK.js.map +0 -1
  686. package/dist/chunks/date-input.recipe-Cf9e8VAr.js +0 -2
  687. package/dist/chunks/date-input.recipe-Cf9e8VAr.js.map +0 -1
  688. package/dist/chunks/date-picker-BOJn_b_Y.js +0 -2
  689. package/dist/chunks/date-picker-BOJn_b_Y.js.map +0 -1
  690. package/dist/chunks/date-picker-npElUeVw.js +0 -483
  691. package/dist/chunks/date-picker-npElUeVw.js.map +0 -1
  692. package/dist/chunks/date-picker.recipe-5Avb06qp.js +0 -2
  693. package/dist/chunks/date-picker.recipe-5Avb06qp.js.map +0 -1
  694. package/dist/chunks/date-picker.recipe-Dy6NmKHA.js +0 -82
  695. package/dist/chunks/date-picker.recipe-Dy6NmKHA.js.map +0 -1
  696. package/dist/chunks/dialog-C1HRMUcF.js +0 -33
  697. package/dist/chunks/dialog-C1HRMUcF.js.map +0 -1
  698. package/dist/chunks/dialog-amEwvIoM.js +0 -2
  699. package/dist/chunks/dialog-amEwvIoM.js.map +0 -1
  700. package/dist/chunks/extractStyleProps-CxgBrz3O.js +0 -11
  701. package/dist/chunks/extractStyleProps-CxgBrz3O.js.map +0 -1
  702. package/dist/chunks/extractStyleProps-lyk7D-zN.js +0 -2
  703. package/dist/chunks/extractStyleProps-lyk7D-zN.js.map +0 -1
  704. package/dist/chunks/filterDOMProps-BS2lrgFA.js +0 -2
  705. package/dist/chunks/filterDOMProps-BS2lrgFA.js.map +0 -1
  706. package/dist/chunks/filterDOMProps-D6KHYVBX.js +0 -25
  707. package/dist/chunks/filterDOMProps-D6KHYVBX.js.map +0 -1
  708. package/dist/chunks/focusSafely-DKDcdc1Z.js +0 -36
  709. package/dist/chunks/focusSafely-DKDcdc1Z.js.map +0 -1
  710. package/dist/chunks/focusSafely-DTxIMq-P.js +0 -2
  711. package/dist/chunks/focusSafely-DTxIMq-P.js.map +0 -1
  712. package/dist/chunks/form-field-CblzjGEw.js +0 -11
  713. package/dist/chunks/form-field-CblzjGEw.js.map +0 -1
  714. package/dist/chunks/form-field-D_qT2LNU.js +0 -309
  715. package/dist/chunks/form-field-D_qT2LNU.js.map +0 -1
  716. package/dist/chunks/getScrollParent-DE66eQI-.js +0 -15
  717. package/dist/chunks/getScrollParent-DE66eQI-.js.map +0 -1
  718. package/dist/chunks/getScrollParent-Dc1cnLDE.js +0 -2
  719. package/dist/chunks/getScrollParent-Dc1cnLDE.js.map +0 -1
  720. package/dist/chunks/grid-CugcJxRP.js +0 -14
  721. package/dist/chunks/grid-CugcJxRP.js.map +0 -1
  722. package/dist/chunks/grid-xr2A-OqD.js +0 -2
  723. package/dist/chunks/grid-xr2A-OqD.js.map +0 -1
  724. package/dist/chunks/icon-BFNYuilh.js +0 -31
  725. package/dist/chunks/icon-BFNYuilh.js.map +0 -1
  726. package/dist/chunks/icon-D50i-dqv.js +0 -2
  727. package/dist/chunks/icon-D50i-dqv.js.map +0 -1
  728. package/dist/chunks/icon-button-DVBfoOHT.js +0 -14
  729. package/dist/chunks/icon-button-DVBfoOHT.js.map +0 -1
  730. package/dist/chunks/icon-button-Ds1Wzyc1.js +0 -2
  731. package/dist/chunks/icon-button-Ds1Wzyc1.js.map +0 -1
  732. package/dist/chunks/image-DCirAAnr.js +0 -2
  733. package/dist/chunks/image-DCirAAnr.js.map +0 -1
  734. package/dist/chunks/image-rXPA3shk.js +0 -8
  735. package/dist/chunks/image-rXPA3shk.js.map +0 -1
  736. package/dist/chunks/kbd-BKH_SGCC.js +0 -6
  737. package/dist/chunks/kbd-BKH_SGCC.js.map +0 -1
  738. package/dist/chunks/kbd-Bhv8ae1I.js +0 -2
  739. package/dist/chunks/kbd-Bhv8ae1I.js.map +0 -1
  740. package/dist/chunks/link-BfHXJGo9.js +0 -2
  741. package/dist/chunks/link-BfHXJGo9.js.map +0 -1
  742. package/dist/chunks/link-CE73eHS0.js +0 -49
  743. package/dist/chunks/link-CE73eHS0.js.map +0 -1
  744. package/dist/chunks/link.recipe-Ba2by0OG.js +0 -51
  745. package/dist/chunks/link.recipe-Ba2by0OG.js.map +0 -1
  746. package/dist/chunks/link.recipe-CG3leGAx.js +0 -2
  747. package/dist/chunks/link.recipe-CG3leGAx.js.map +0 -1
  748. package/dist/chunks/list-8yfreyzi.js +0 -2
  749. package/dist/chunks/list-8yfreyzi.js.map +0 -1
  750. package/dist/chunks/list-B21joBrq.js +0 -13
  751. package/dist/chunks/list-B21joBrq.js.map +0 -1
  752. package/dist/chunks/loading-spinner-AhRrVHKd.js +0 -137
  753. package/dist/chunks/loading-spinner-AhRrVHKd.js.map +0 -1
  754. package/dist/chunks/loading-spinner-B2I1CsuC.js +0 -2
  755. package/dist/chunks/loading-spinner-B2I1CsuC.js.map +0 -1
  756. package/dist/chunks/make-element-focusable-_kgqlXGc.js +0 -22
  757. package/dist/chunks/make-element-focusable-_kgqlXGc.js.map +0 -1
  758. package/dist/chunks/make-element-focusable-ijZC9F3C.js +0 -2
  759. package/dist/chunks/make-element-focusable-ijZC9F3C.js.map +0 -1
  760. package/dist/chunks/mergeProps-BeIu4MsM.js +0 -2
  761. package/dist/chunks/mergeProps-BeIu4MsM.js.map +0 -1
  762. package/dist/chunks/mergeProps-tCFA9wZ1.js +0 -128
  763. package/dist/chunks/mergeProps-tCFA9wZ1.js.map +0 -1
  764. package/dist/chunks/multiline-text-input-C8yclL-x.js +0 -12
  765. package/dist/chunks/multiline-text-input-C8yclL-x.js.map +0 -1
  766. package/dist/chunks/multiline-text-input-D6P_NVi6.js +0 -116
  767. package/dist/chunks/multiline-text-input-D6P_NVi6.js.map +0 -1
  768. package/dist/chunks/nimbus-provider-CTg-F7UD.js +0 -2
  769. package/dist/chunks/nimbus-provider-CTg-F7UD.js.map +0 -1
  770. package/dist/chunks/nimbus-provider-h_Fu03Zk.js +0 -1530
  771. package/dist/chunks/nimbus-provider-h_Fu03Zk.js.map +0 -1
  772. package/dist/chunks/number-5qMXmHyn.js +0 -21
  773. package/dist/chunks/number-5qMXmHyn.js.map +0 -1
  774. package/dist/chunks/number-CnrRPi4_.js +0 -2
  775. package/dist/chunks/number-CnrRPi4_.js.map +0 -1
  776. package/dist/chunks/number-input-BTbzj3aN.js +0 -652
  777. package/dist/chunks/number-input-BTbzj3aN.js.map +0 -1
  778. package/dist/chunks/number-input-D7D2ahNb.js +0 -2
  779. package/dist/chunks/number-input-D7D2ahNb.js.map +0 -1
  780. package/dist/chunks/number-input.recipe-2n6A2w0m.js +0 -2
  781. package/dist/chunks/number-input.recipe-2n6A2w0m.js.map +0 -1
  782. package/dist/chunks/number-input.recipe-8gbsGnLJ.js +0 -209
  783. package/dist/chunks/number-input.recipe-8gbsGnLJ.js.map +0 -1
  784. package/dist/chunks/password-input-BD5GZKX7.js +0 -2
  785. package/dist/chunks/password-input-BD5GZKX7.js.map +0 -1
  786. package/dist/chunks/password-input-fiypX-6w.js +0 -50
  787. package/dist/chunks/password-input-fiypX-6w.js.map +0 -1
  788. package/dist/chunks/radio-input-4v_6tT94.js +0 -319
  789. package/dist/chunks/radio-input-4v_6tT94.js.map +0 -1
  790. package/dist/chunks/radio-input-B2IVmel0.js +0 -2
  791. package/dist/chunks/radio-input-B2IVmel0.js.map +0 -1
  792. package/dist/chunks/radio-input.recipe-CM9R2ilP.js +0 -75
  793. package/dist/chunks/radio-input.recipe-CM9R2ilP.js.map +0 -1
  794. package/dist/chunks/radio-input.recipe-DdXB4lqs.js +0 -2
  795. package/dist/chunks/radio-input.recipe-DdXB4lqs.js.map +0 -1
  796. package/dist/chunks/scrollIntoView-B01y55fg.js +0 -2
  797. package/dist/chunks/scrollIntoView-B01y55fg.js.map +0 -1
  798. package/dist/chunks/scrollIntoView-CXOsfZIS.js +0 -83
  799. package/dist/chunks/scrollIntoView-CXOsfZIS.js.map +0 -1
  800. package/dist/chunks/select-7cuL-dmI.js +0 -2
  801. package/dist/chunks/select-7cuL-dmI.js.map +0 -1
  802. package/dist/chunks/select-DH4OUn_y.js +0 -791
  803. package/dist/chunks/select-DH4OUn_y.js.map +0 -1
  804. package/dist/chunks/select.recipe-CXWsUldF.js +0 -203
  805. package/dist/chunks/select.recipe-CXWsUldF.js.map +0 -1
  806. package/dist/chunks/select.recipe-DUHFWlQt.js +0 -2
  807. package/dist/chunks/select.recipe-DUHFWlQt.js.map +0 -1
  808. package/dist/chunks/simple-grid-CFOP9g2P.js +0 -14
  809. package/dist/chunks/simple-grid-CFOP9g2P.js.map +0 -1
  810. package/dist/chunks/simple-grid-CHgTayx6.js +0 -2
  811. package/dist/chunks/simple-grid-CHgTayx6.js.map +0 -1
  812. package/dist/chunks/stack-__ugxVHD.js +0 -11
  813. package/dist/chunks/stack-__ugxVHD.js.map +0 -1
  814. package/dist/chunks/stack-wFUhYQQb.js +0 -2
  815. package/dist/chunks/stack-wFUhYQQb.js.map +0 -1
  816. package/dist/chunks/switch-CnbvTSF9.js +0 -2
  817. package/dist/chunks/switch-CnbvTSF9.js.map +0 -1
  818. package/dist/chunks/switch-DdmbHa5R.js +0 -78
  819. package/dist/chunks/switch-DdmbHa5R.js.map +0 -1
  820. package/dist/chunks/switch.recipe-CWOjEnIy.js +0 -100
  821. package/dist/chunks/switch.recipe-CWOjEnIy.js.map +0 -1
  822. package/dist/chunks/switch.recipe-DHopLj_g.js +0 -2
  823. package/dist/chunks/switch.recipe-DHopLj_g.js.map +0 -1
  824. package/dist/chunks/tag-group-B6w2MEyf.js +0 -2
  825. package/dist/chunks/tag-group-B6w2MEyf.js.map +0 -1
  826. package/dist/chunks/tag-group-CdLfw2gL.js +0 -1347
  827. package/dist/chunks/tag-group-CdLfw2gL.js.map +0 -1
  828. package/dist/chunks/text-BjzNgHxv.js +0 -2
  829. package/dist/chunks/text-BjzNgHxv.js.map +0 -1
  830. package/dist/chunks/text-MzQiG_1j.js +0 -24
  831. package/dist/chunks/text-MzQiG_1j.js.map +0 -1
  832. package/dist/chunks/text-input-CtJ2FHJ3.js +0 -2
  833. package/dist/chunks/text-input-CtJ2FHJ3.js.map +0 -1
  834. package/dist/chunks/text-input-SYXEV4sT.js +0 -17
  835. package/dist/chunks/text-input-SYXEV4sT.js.map +0 -1
  836. package/dist/chunks/text-input.recipe-DxzvFMOB.js +0 -2
  837. package/dist/chunks/text-input.recipe-DxzvFMOB.js.map +0 -1
  838. package/dist/chunks/text-input.recipe-KNoUuq-g.js +0 -64
  839. package/dist/chunks/text-input.recipe-KNoUuq-g.js.map +0 -1
  840. package/dist/chunks/time-input-DCJYjKRY.js +0 -129
  841. package/dist/chunks/time-input-DCJYjKRY.js.map +0 -1
  842. package/dist/chunks/time-input-sjvN5iZ-.js +0 -2
  843. package/dist/chunks/time-input-sjvN5iZ-.js.map +0 -1
  844. package/dist/chunks/toggle-button-group-D-3UQLdL.js +0 -2
  845. package/dist/chunks/toggle-button-group-D-3UQLdL.js.map +0 -1
  846. package/dist/chunks/toggle-button-group-bjkXTCxu.js +0 -275
  847. package/dist/chunks/toggle-button-group-bjkXTCxu.js.map +0 -1
  848. package/dist/chunks/tooltip-C-K5iatf.js +0 -2
  849. package/dist/chunks/tooltip-C-K5iatf.js.map +0 -1
  850. package/dist/chunks/tooltip-DvoZxHgo.js +0 -273
  851. package/dist/chunks/tooltip-DvoZxHgo.js.map +0 -1
  852. package/dist/chunks/tooltip.recipe-B9-7OFCi.js +0 -24
  853. package/dist/chunks/tooltip.recipe-B9-7OFCi.js.map +0 -1
  854. package/dist/chunks/tooltip.recipe-CkNOA8Sg.js +0 -2
  855. package/dist/chunks/tooltip.recipe-CkNOA8Sg.js.map +0 -1
  856. package/dist/chunks/useButton-BZrUUsJ0.js +0 -2
  857. package/dist/chunks/useButton-BZrUUsJ0.js.map +0 -1
  858. package/dist/chunks/useButton-C5ATfvOf.js +0 -48
  859. package/dist/chunks/useButton-C5ATfvOf.js.map +0 -1
  860. package/dist/chunks/useCollator-BbJYfLGN.js +0 -12
  861. package/dist/chunks/useCollator-BbJYfLGN.js.map +0 -1
  862. package/dist/chunks/useCollator-ajK3YU47.js +0 -2
  863. package/dist/chunks/useCollator-ajK3YU47.js.map +0 -1
  864. package/dist/chunks/useControlledState-D0L6S_5r.js +0 -2
  865. package/dist/chunks/useControlledState-D0L6S_5r.js.map +0 -1
  866. package/dist/chunks/useControlledState-u436Wbp1.js +0 -31
  867. package/dist/chunks/useControlledState-u436Wbp1.js.map +0 -1
  868. package/dist/chunks/useDateFormatter-5Oe96jpR.js +0 -1581
  869. package/dist/chunks/useDateFormatter-5Oe96jpR.js.map +0 -1
  870. package/dist/chunks/useDateFormatter-6FAMsnNT.js +0 -2
  871. package/dist/chunks/useDateFormatter-6FAMsnNT.js.map +0 -1
  872. package/dist/chunks/useEvent-COOhq9E7.js +0 -22
  873. package/dist/chunks/useEvent-COOhq9E7.js.map +0 -1
  874. package/dist/chunks/useEvent-DCXRKhH2.js +0 -2
  875. package/dist/chunks/useEvent-DCXRKhH2.js.map +0 -1
  876. package/dist/chunks/useField-BY58-2Ft.js +0 -36
  877. package/dist/chunks/useField-BY58-2Ft.js.map +0 -1
  878. package/dist/chunks/useField-BeaT9Ud9.js +0 -2
  879. package/dist/chunks/useField-BeaT9Ud9.js.map +0 -1
  880. package/dist/chunks/useFocus-C1BtlMbo.js +0 -2
  881. package/dist/chunks/useFocus-C1BtlMbo.js.map +0 -1
  882. package/dist/chunks/useFocus-CuXxpIRa.js +0 -176
  883. package/dist/chunks/useFocus-CuXxpIRa.js.map +0 -1
  884. package/dist/chunks/useFocusRing-CYHdvund.js +0 -2
  885. package/dist/chunks/useFocusRing-CYHdvund.js.map +0 -1
  886. package/dist/chunks/useFocusRing-DNviWqC5.js +0 -34
  887. package/dist/chunks/useFocusRing-DNviWqC5.js.map +0 -1
  888. package/dist/chunks/useFocusWithin-AKRo9mz0.js +0 -55
  889. package/dist/chunks/useFocusWithin-AKRo9mz0.js.map +0 -1
  890. package/dist/chunks/useFocusWithin-hB6WzPnG.js +0 -2
  891. package/dist/chunks/useFocusWithin-hB6WzPnG.js.map +0 -1
  892. package/dist/chunks/useFocusable-DBEQCS1T.js +0 -75
  893. package/dist/chunks/useFocusable-DBEQCS1T.js.map +0 -1
  894. package/dist/chunks/useFocusable-DbCayKl8.js +0 -2
  895. package/dist/chunks/useFocusable-DbCayKl8.js.map +0 -1
  896. package/dist/chunks/useFormReset-BgCb2h6r.js +0 -21
  897. package/dist/chunks/useFormReset-BgCb2h6r.js.map +0 -1
  898. package/dist/chunks/useFormReset-Bt5-6Arg.js +0 -2
  899. package/dist/chunks/useFormReset-Bt5-6Arg.js.map +0 -1
  900. package/dist/chunks/useFormValidation-CbunG7dK.js +0 -2
  901. package/dist/chunks/useFormValidation-CbunG7dK.js.map +0 -1
  902. package/dist/chunks/useFormValidation-DoG8pVu2.js +0 -179
  903. package/dist/chunks/useFormValidation-DoG8pVu2.js.map +0 -1
  904. package/dist/chunks/useHover-3Zee5Ds5.js +0 -85
  905. package/dist/chunks/useHover-3Zee5Ds5.js.map +0 -1
  906. package/dist/chunks/useHover-BxTJz4Qm.js +0 -2
  907. package/dist/chunks/useHover-BxTJz4Qm.js.map +0 -1
  908. package/dist/chunks/useLabel-As7K6zBZ.js +0 -2
  909. package/dist/chunks/useLabel-As7K6zBZ.js.map +0 -1
  910. package/dist/chunks/useLabel-lLz9KH79.js +0 -24
  911. package/dist/chunks/useLabel-lLz9KH79.js.map +0 -1
  912. package/dist/chunks/useLabels-B-BeKbzR.js +0 -2
  913. package/dist/chunks/useLabels-B-BeKbzR.js.map +0 -1
  914. package/dist/chunks/useLabels-CrNu-inr.js +0 -18
  915. package/dist/chunks/useLabels-CrNu-inr.js.map +0 -1
  916. package/dist/chunks/useLocalizedStringFormatter-CDXOVKSV.js +0 -2
  917. package/dist/chunks/useLocalizedStringFormatter-CDXOVKSV.js.map +0 -1
  918. package/dist/chunks/useLocalizedStringFormatter-D1iIJE39.js +0 -97
  919. package/dist/chunks/useLocalizedStringFormatter-D1iIJE39.js.map +0 -1
  920. package/dist/chunks/useNumberFormatter-C8xwHQXb.js +0 -14
  921. package/dist/chunks/useNumberFormatter-C8xwHQXb.js.map +0 -1
  922. package/dist/chunks/useNumberFormatter-DS6s5teN.js +0 -2
  923. package/dist/chunks/useNumberFormatter-DS6s5teN.js.map +0 -1
  924. package/dist/chunks/useObjectRef-4v2MxSjQ.js +0 -2
  925. package/dist/chunks/useObjectRef-4v2MxSjQ.js.map +0 -1
  926. package/dist/chunks/useObjectRef-CaJ5pgjX.js +0 -30
  927. package/dist/chunks/useObjectRef-CaJ5pgjX.js.map +0 -1
  928. package/dist/chunks/usePress-CGAMyl6q.js +0 -8
  929. package/dist/chunks/usePress-CGAMyl6q.js.map +0 -1
  930. package/dist/chunks/usePress-Dk0M2Js8.js +0 -526
  931. package/dist/chunks/usePress-Dk0M2Js8.js.map +0 -1
  932. package/dist/chunks/useSingleSelectListState--jan8NiD.js +0 -269
  933. package/dist/chunks/useSingleSelectListState--jan8NiD.js.map +0 -1
  934. package/dist/chunks/useSingleSelectListState-DqtAmt8K.js +0 -2
  935. package/dist/chunks/useSingleSelectListState-DqtAmt8K.js.map +0 -1
  936. package/dist/chunks/useSpinButton-CQ8U5KZS.js +0 -2
  937. package/dist/chunks/useSpinButton-CQ8U5KZS.js.map +0 -1
  938. package/dist/chunks/useSpinButton-DQzgsW5H.js +0 -432
  939. package/dist/chunks/useSpinButton-DQzgsW5H.js.map +0 -1
  940. package/dist/chunks/useTextField-CNy4kFwI.js +0 -88
  941. package/dist/chunks/useTextField-CNy4kFwI.js.map +0 -1
  942. package/dist/chunks/useTextField-Dkkh1L-K.js +0 -2
  943. package/dist/chunks/useTextField-Dkkh1L-K.js.map +0 -1
  944. package/dist/chunks/useToggle-BEYjmALQ.js +0 -2
  945. package/dist/chunks/useToggle-BEYjmALQ.js.map +0 -1
  946. package/dist/chunks/useToggle-Cf0OB-T-.js +0 -50
  947. package/dist/chunks/useToggle-Cf0OB-T-.js.map +0 -1
  948. package/dist/chunks/useToggleState-B5pE_WmM.js +0 -2
  949. package/dist/chunks/useToggleState-B5pE_WmM.js.map +0 -1
  950. package/dist/chunks/useToggleState-Bz5rAf4C.js +0 -19
  951. package/dist/chunks/useToggleState-Bz5rAf4C.js.map +0 -1
  952. package/dist/chunks/useUpdateEffect-CCDx8D4X.js +0 -14
  953. package/dist/chunks/useUpdateEffect-CCDx8D4X.js.map +0 -1
  954. package/dist/chunks/useUpdateEffect-sk3kiVGz.js +0 -2
  955. package/dist/chunks/useUpdateEffect-sk3kiVGz.js.map +0 -1
  956. package/dist/chunks/utils-7n9JR4ke.js +0 -128
  957. package/dist/chunks/utils-7n9JR4ke.js.map +0 -1
  958. package/dist/chunks/utils-D6ZV0jyp.js +0 -2
  959. package/dist/chunks/utils-D6ZV0jyp.js.map +0 -1
  960. package/dist/chunks/utils-DSssdw4e.js +0 -229
  961. package/dist/chunks/utils-DSssdw4e.js.map +0 -1
  962. package/dist/chunks/utils-XbOVivul.js +0 -2
  963. package/dist/chunks/utils-XbOVivul.js.map +0 -1
  964. package/dist/chunks/visually-hidden-7U4LGJiI.js +0 -11
  965. package/dist/chunks/visually-hidden-7U4LGJiI.js.map +0 -1
  966. package/dist/chunks/visually-hidden-CRnniCks.js +0 -2
  967. package/dist/chunks/visually-hidden-CRnniCks.js.map +0 -1
@@ -0,0 +1,3007 @@
1
+ import m, { useRef as P, version as en, useEffect as Y, useMemo as T, cloneElement as ct, forwardRef as ne, useContext as R, createContext as O, useCallback as J, useState as te, isValidElement as Cl } from "react";
2
+ import { $ as ce, c as ft, b as ht, d as pt, a as oe, e as fe, f as vt, g as El } from "./utils-DB75DiMj.es.js";
3
+ import { b as Pl, $ as kl } from "./Hidden-CeBYiBUb.es.js";
4
+ import { flushSync as Il, createPortal as Fl } from "react-dom";
5
+ import { b as We } from "./useFocusable-B4YfgYbi.es.js";
6
+ import { $ as yt } from "./SSRProvider-eIEwc-2s.es.js";
7
+ import { d as Ee, c as ee, $ as W, a as re, b as _e, e as Ml } from "./mergeProps-BUo0BHVY.es.js";
8
+ import { $ as bt } from "./Text-DOcU1ycg.es.js";
9
+ import { a as Pe } from "./Input-DN0K3GJf.es.js";
10
+ import { $ as Tl, a as Ll } from "./Form-yBl0QZl8.es.js";
11
+ import { $ as Al } from "./Label-DBDcs-md.es.js";
12
+ import { a as Rl } from "./TextArea-BeSyeRBk.es.js";
13
+ import { $ as se } from "./filterDOMProps-D6KHYVBX.es.js";
14
+ import { $ as Bl } from "./useTextField-CtQSL6tL.es.js";
15
+ import { a as Vl, b as Be, e as ke } from "./utils-4CMfmbln.es.js";
16
+ import { $ as Ol, a as Nl } from "./useLabel-CekSAnqJ.es.js";
17
+ import { $ as he } from "./useObjectRef-CaJ5pgjX.es.js";
18
+ import { b as gt, h as zl, a as Ul } from "./platform-Bc175Jt1.es.js";
19
+ import { d as Ie, $ as Ge } from "./useFocus-3ktZKnFP.es.js";
20
+ import { $ as Hl } from "./useLocalizedStringFormatter-BfWBwLjq.es.js";
21
+ import { $ as $t } from "./useControlledState-u436Wbp1.es.js";
22
+ import { a as Kn, $ as je } from "./getScrollParent-DE66eQI-.es.js";
23
+ import { $ as mt, c as ql, a as Wl } from "./openLink-Bb-6Z-d5.es.js";
24
+ import { $ as xt } from "./useHover-DmJo2yqg.es.js";
25
+ import { $ as St } from "./usePress-Cjh8V0gi.es.js";
26
+ import { $ as Fe } from "./focusWithoutScrolling-CDw3JYiq.es.js";
27
+ import { $ as _l, b as Gl, a as Ye } from "./scrollIntoView-CqkKWFb6.es.js";
28
+ import { $ as Me } from "./focusSafely-CahaQIyI.es.js";
29
+ import { $ as jl } from "./useFocusWithin-BxAgY02U.es.js";
30
+ import { $ as ae } from "./useEvent-CzfHWUdv.es.js";
31
+ import { a as Yl, c as Jl } from "./FocusScope-BacYMT5s.es.js";
32
+ import { $ as Kt } from "./context-D3RF-nTI.es.js";
33
+ import { $ as Dt } from "./useCollator-BhJcleP-.es.js";
34
+ import { $ as Xl } from "./useFocusRing-Bij4qXCm.es.js";
35
+ function Je(n, e) {
36
+ const t = P(!0), l = P(null);
37
+ Ee(() => (t.current = !0, () => {
38
+ t.current = !1;
39
+ }), []), Ee(() => {
40
+ t.current ? t.current = !1 : (!l.current || e.some((i, o) => !Object.is(i, l[o]))) && n(), l.current = e;
41
+ }, e);
42
+ }
43
+ const wt = "react-aria-clear-focus", Te = "react-aria-focus";
44
+ function Q(n) {
45
+ return gt() ? n.metaKey : n.ctrlKey;
46
+ }
47
+ const Zl = 500;
48
+ function Ql(n) {
49
+ let { isDisabled: e, onLongPressStart: t, onLongPressEnd: l, onLongPress: i, threshold: o = Zl, accessibilityDescription: r } = n;
50
+ const s = P(void 0);
51
+ let { addGlobalListener: a, removeGlobalListener: c } = Vl(), { pressProps: v } = St({
52
+ isDisabled: e,
53
+ onPressStart(d) {
54
+ if (d.continuePropagation(), (d.pointerType === "mouse" || d.pointerType === "touch") && (t && t({
55
+ ...d,
56
+ type: "longpressstart"
57
+ }), s.current = setTimeout(() => {
58
+ d.target.dispatchEvent(new PointerEvent("pointercancel", {
59
+ bubbles: !0
60
+ })), Be(d.target).activeElement !== d.target && Fe(d.target), i && i({
61
+ ...d,
62
+ type: "longpress"
63
+ }), s.current = void 0;
64
+ }, o), d.pointerType === "touch")) {
65
+ let y = (b) => {
66
+ b.preventDefault();
67
+ };
68
+ a(d.target, "contextmenu", y, {
69
+ once: !0
70
+ }), a(window, "pointerup", () => {
71
+ setTimeout(() => {
72
+ c(d.target, "contextmenu", y);
73
+ }, 30);
74
+ }, {
75
+ once: !0
76
+ });
77
+ }
78
+ },
79
+ onPressEnd(d) {
80
+ s.current && clearTimeout(s.current), l && (d.pointerType === "mouse" || d.pointerType === "touch") && l({
81
+ ...d,
82
+ type: "longpressend"
83
+ });
84
+ }
85
+ }), h = _l(i && !e ? r : void 0);
86
+ return {
87
+ longPressProps: W(v, h)
88
+ };
89
+ }
90
+ function Ve(n) {
91
+ let e = ei(Be(n));
92
+ e !== n && (e && Le(e, n), n && Ct(n, e));
93
+ }
94
+ function Le(n, e) {
95
+ n.dispatchEvent(new FocusEvent("blur", {
96
+ relatedTarget: e
97
+ })), n.dispatchEvent(new FocusEvent("focusout", {
98
+ bubbles: !0,
99
+ relatedTarget: e
100
+ }));
101
+ }
102
+ function Ct(n, e) {
103
+ n.dispatchEvent(new FocusEvent("focus", {
104
+ relatedTarget: e
105
+ })), n.dispatchEvent(new FocusEvent("focusin", {
106
+ bubbles: !0,
107
+ relatedTarget: e
108
+ }));
109
+ }
110
+ function ei(n) {
111
+ let e = ke(n), t = e == null ? void 0 : e.getAttribute("aria-activedescendant");
112
+ return t && n.getElementById(t) || e;
113
+ }
114
+ const Oe = /* @__PURE__ */ new WeakMap();
115
+ function ti(n) {
116
+ return typeof n == "string" ? n.replace(/\s*/g, "") : "" + n;
117
+ }
118
+ function li(n, e) {
119
+ let t = Oe.get(n);
120
+ if (!t) throw new Error("Unknown list");
121
+ return `${t.id}-option-${ti(e)}`;
122
+ }
123
+ function Ae(n) {
124
+ return zl() ? n.altKey : n.ctrlKey;
125
+ }
126
+ function de(n, e) {
127
+ var t, l;
128
+ let i = `[data-key="${CSS.escape(String(e))}"]`, o = (t = n.current) === null || t === void 0 ? void 0 : t.dataset.collection;
129
+ return o && (i = `[data-collection="${CSS.escape(o)}"]${i}`), (l = n.current) === null || l === void 0 ? void 0 : l.querySelector(i);
130
+ }
131
+ const Et = /* @__PURE__ */ new WeakMap();
132
+ function ii(n) {
133
+ let e = re();
134
+ return Et.set(n, e), e;
135
+ }
136
+ function ni(n) {
137
+ return Et.get(n);
138
+ }
139
+ const oi = 1e3;
140
+ function ri(n) {
141
+ let { keyboardDelegate: e, selectionManager: t, onTypeSelect: l } = n, i = P({
142
+ search: "",
143
+ timeout: void 0
144
+ }).current, o = (r) => {
145
+ let s = si(r.key);
146
+ if (!(!s || r.ctrlKey || r.metaKey || !r.currentTarget.contains(r.target))) {
147
+ if (s === " " && i.search.trim().length > 0 && (r.preventDefault(), "continuePropagation" in r || r.stopPropagation()), i.search += s, e.getKeyForSearch != null) {
148
+ let a = e.getKeyForSearch(i.search, t.focusedKey);
149
+ a == null && (a = e.getKeyForSearch(i.search)), a != null && (t.setFocusedKey(a), l && l(a));
150
+ }
151
+ clearTimeout(i.timeout), i.timeout = setTimeout(() => {
152
+ i.search = "";
153
+ }, oi);
154
+ }
155
+ };
156
+ return {
157
+ typeSelectProps: {
158
+ // Using a capturing listener to catch the keydown event before
159
+ // other hooks in order to handle the Spacebar event.
160
+ onKeyDownCapture: e.getKeyForSearch ? o : void 0
161
+ }
162
+ };
163
+ }
164
+ function si(n) {
165
+ return n.length === 1 || !/^[A-Z]/i.test(n) ? n : "";
166
+ }
167
+ function ai(n) {
168
+ let { selectionManager: e, keyboardDelegate: t, ref: l, autoFocus: i = !1, shouldFocusWrap: o = !1, disallowEmptySelection: r = !1, disallowSelectAll: s = !1, escapeKeyBehavior: a = "clearSelection", selectOnFocus: c = e.selectionBehavior === "replace", disallowTypeAhead: v = !1, shouldUseVirtualFocus: h, allowsTabNavigation: d = !1, isVirtualized: y, scrollRef: b = l, linkBehavior: x = "action" } = n, { direction: g } = Kt(), $ = mt(), S = (f) => {
169
+ var u;
170
+ if (f.altKey && f.key === "Tab" && f.preventDefault(), !(!((u = l.current) === null || u === void 0) && u.contains(f.target))) return;
171
+ const E = (D, X) => {
172
+ if (D != null) {
173
+ if (e.isLink(D) && x === "selection" && c && !Ae(f)) {
174
+ Il(() => {
175
+ e.setFocusedKey(D, X);
176
+ });
177
+ let Z = de(l, D), qe = e.getItemProps(D);
178
+ Z && $.open(Z, f, qe.href, qe.routerOptions);
179
+ return;
180
+ }
181
+ if (e.setFocusedKey(D, X), e.isLink(D) && x === "override") return;
182
+ f.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(D) : c && !Ae(f) && e.replaceSelection(D);
183
+ }
184
+ };
185
+ switch (f.key) {
186
+ case "ArrowDown":
187
+ if (t.getKeyBelow) {
188
+ var L, N, z;
189
+ let D = e.focusedKey != null ? (L = t.getKeyBelow) === null || L === void 0 ? void 0 : L.call(t, e.focusedKey) : (N = t.getFirstKey) === null || N === void 0 ? void 0 : N.call(t);
190
+ D == null && o && (D = (z = t.getFirstKey) === null || z === void 0 ? void 0 : z.call(t, e.focusedKey)), D != null && (f.preventDefault(), E(D));
191
+ }
192
+ break;
193
+ case "ArrowUp":
194
+ if (t.getKeyAbove) {
195
+ var q, _, ye;
196
+ let D = e.focusedKey != null ? (q = t.getKeyAbove) === null || q === void 0 ? void 0 : q.call(t, e.focusedKey) : (_ = t.getLastKey) === null || _ === void 0 ? void 0 : _.call(t);
197
+ D == null && o && (D = (ye = t.getLastKey) === null || ye === void 0 ? void 0 : ye.call(t, e.focusedKey)), D != null && (f.preventDefault(), E(D));
198
+ }
199
+ break;
200
+ case "ArrowLeft":
201
+ if (t.getKeyLeftOf) {
202
+ var be, ge, $e;
203
+ let D = e.focusedKey != null ? (be = t.getKeyLeftOf) === null || be === void 0 ? void 0 : be.call(t, e.focusedKey) : null;
204
+ D == null && o && (D = g === "rtl" ? (ge = t.getFirstKey) === null || ge === void 0 ? void 0 : ge.call(t, e.focusedKey) : ($e = t.getLastKey) === null || $e === void 0 ? void 0 : $e.call(t, e.focusedKey)), D != null && (f.preventDefault(), E(D, g === "rtl" ? "first" : "last"));
205
+ }
206
+ break;
207
+ case "ArrowRight":
208
+ if (t.getKeyRightOf) {
209
+ var me, xe, Se;
210
+ let D = e.focusedKey != null ? (me = t.getKeyRightOf) === null || me === void 0 ? void 0 : me.call(t, e.focusedKey) : null;
211
+ D == null && o && (D = g === "rtl" ? (xe = t.getLastKey) === null || xe === void 0 ? void 0 : xe.call(t, e.focusedKey) : (Se = t.getFirstKey) === null || Se === void 0 ? void 0 : Se.call(t, e.focusedKey)), D != null && (f.preventDefault(), E(D, g === "rtl" ? "last" : "first"));
212
+ }
213
+ break;
214
+ case "Home":
215
+ if (t.getFirstKey) {
216
+ if (e.focusedKey === null && f.shiftKey) return;
217
+ f.preventDefault();
218
+ let D = t.getFirstKey(e.focusedKey, Q(f));
219
+ e.setFocusedKey(D), D != null && (Q(f) && f.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(D) : c && e.replaceSelection(D));
220
+ }
221
+ break;
222
+ case "End":
223
+ if (t.getLastKey) {
224
+ if (e.focusedKey === null && f.shiftKey) return;
225
+ f.preventDefault();
226
+ let D = t.getLastKey(e.focusedKey, Q(f));
227
+ e.setFocusedKey(D), D != null && (Q(f) && f.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(D) : c && e.replaceSelection(D));
228
+ }
229
+ break;
230
+ case "PageDown":
231
+ if (t.getKeyPageBelow && e.focusedKey != null) {
232
+ let D = t.getKeyPageBelow(e.focusedKey);
233
+ D != null && (f.preventDefault(), E(D));
234
+ }
235
+ break;
236
+ case "PageUp":
237
+ if (t.getKeyPageAbove && e.focusedKey != null) {
238
+ let D = t.getKeyPageAbove(e.focusedKey);
239
+ D != null && (f.preventDefault(), E(D));
240
+ }
241
+ break;
242
+ case "a":
243
+ Q(f) && e.selectionMode === "multiple" && s !== !0 && (f.preventDefault(), e.selectAll());
244
+ break;
245
+ case "Escape":
246
+ a === "clearSelection" && !r && e.selectedKeys.size !== 0 && (f.stopPropagation(), f.preventDefault(), e.clearSelection());
247
+ break;
248
+ case "Tab":
249
+ if (!d) {
250
+ if (f.shiftKey) l.current.focus();
251
+ else {
252
+ let D = Yl(l.current, {
253
+ tabbable: !0
254
+ }), X, Z;
255
+ do
256
+ Z = D.lastChild(), Z && (X = Z);
257
+ while (Z);
258
+ X && !X.contains(document.activeElement) && Fe(X);
259
+ }
260
+ break;
261
+ }
262
+ }
263
+ }, w = P({
264
+ top: 0,
265
+ left: 0
266
+ });
267
+ ae(b, "scroll", y ? void 0 : () => {
268
+ var f, u, E, L;
269
+ w.current = {
270
+ top: (E = (f = b.current) === null || f === void 0 ? void 0 : f.scrollTop) !== null && E !== void 0 ? E : 0,
271
+ left: (L = (u = b.current) === null || u === void 0 ? void 0 : u.scrollLeft) !== null && L !== void 0 ? L : 0
272
+ };
273
+ });
274
+ let k = (f) => {
275
+ if (e.isFocused) {
276
+ f.currentTarget.contains(f.target) || e.setFocused(!1);
277
+ return;
278
+ }
279
+ if (f.currentTarget.contains(f.target)) {
280
+ if (e.setFocused(!0), e.focusedKey == null) {
281
+ var u, E;
282
+ let z = (_) => {
283
+ _ != null && (e.setFocusedKey(_), c && !e.isSelected(_) && e.replaceSelection(_));
284
+ }, q = f.relatedTarget;
285
+ var L, N;
286
+ q && f.currentTarget.compareDocumentPosition(q) & Node.DOCUMENT_POSITION_FOLLOWING ? z((L = e.lastSelectedKey) !== null && L !== void 0 ? L : (u = t.getLastKey) === null || u === void 0 ? void 0 : u.call(t)) : z((N = e.firstSelectedKey) !== null && N !== void 0 ? N : (E = t.getFirstKey) === null || E === void 0 ? void 0 : E.call(t));
287
+ } else !y && b.current && (b.current.scrollTop = w.current.top, b.current.scrollLeft = w.current.left);
288
+ if (e.focusedKey != null && b.current) {
289
+ let z = de(l, e.focusedKey);
290
+ z instanceof HTMLElement && (!z.contains(document.activeElement) && !h && Fe(z), Ie() === "keyboard" && Ye(z, {
291
+ containingElement: l.current
292
+ }));
293
+ }
294
+ }
295
+ }, F = (f) => {
296
+ f.currentTarget.contains(f.relatedTarget) || e.setFocused(!1);
297
+ }, C = P(!1);
298
+ ae(l, Te, h ? (f) => {
299
+ let { detail: u } = f;
300
+ f.stopPropagation(), e.setFocused(!0), (u == null ? void 0 : u.focusStrategy) === "first" && (C.current = !0);
301
+ } : void 0);
302
+ let A = ee(() => {
303
+ var f, u;
304
+ let E = (u = (f = t.getFirstKey) === null || f === void 0 ? void 0 : f.call(t)) !== null && u !== void 0 ? u : null;
305
+ E == null ? (Ve(l.current), e.collection.size > 0 && (C.current = !1)) : (e.setFocusedKey(E), C.current = !1);
306
+ });
307
+ Je(() => {
308
+ C.current && A();
309
+ }, [
310
+ e.collection,
311
+ A
312
+ ]);
313
+ let M = ee(() => {
314
+ e.collection.size > 0 && (C.current = !1);
315
+ });
316
+ Je(() => {
317
+ M();
318
+ }, [
319
+ e.focusedKey,
320
+ M
321
+ ]), ae(l, wt, h ? (f) => {
322
+ var u;
323
+ f.stopPropagation(), e.setFocused(!1), !((u = f.detail) === null || u === void 0) && u.clearFocusKey && e.setFocusedKey(null);
324
+ } : void 0);
325
+ const G = P(i), B = P(!1);
326
+ Y(() => {
327
+ if (G.current) {
328
+ var f, u;
329
+ let N = null;
330
+ var E;
331
+ i === "first" && (N = (E = (f = t.getFirstKey) === null || f === void 0 ? void 0 : f.call(t)) !== null && E !== void 0 ? E : null);
332
+ var L;
333
+ i === "last" && (N = (L = (u = t.getLastKey) === null || u === void 0 ? void 0 : u.call(t)) !== null && L !== void 0 ? L : null);
334
+ let z = e.selectedKeys;
335
+ if (z.size) {
336
+ for (let q of z) if (e.canSelectItem(q)) {
337
+ N = q;
338
+ break;
339
+ }
340
+ }
341
+ e.setFocused(!0), e.setFocusedKey(N), N == null && !h && l.current && Me(l.current), e.collection.size > 0 && (G.current = !1, B.current = !0);
342
+ }
343
+ });
344
+ let p = P(e.focusedKey), K = P(null);
345
+ Y(() => {
346
+ if (e.isFocused && e.focusedKey != null && (e.focusedKey !== p.current || B.current) && b.current && l.current) {
347
+ let f = Ie(), u = de(l, e.focusedKey);
348
+ if (!(u instanceof HTMLElement))
349
+ return;
350
+ (f === "keyboard" || B.current) && (K.current && cancelAnimationFrame(K.current), K.current = requestAnimationFrame(() => {
351
+ b.current && (Gl(b.current, u), f !== "virtual" && Ye(u, {
352
+ containingElement: l.current
353
+ }));
354
+ }));
355
+ }
356
+ !h && e.isFocused && e.focusedKey == null && p.current != null && l.current && Me(l.current), p.current = e.focusedKey, B.current = !1;
357
+ }), Y(() => () => {
358
+ K.current && cancelAnimationFrame(K.current);
359
+ }, []), ae(l, "react-aria-focus-scope-restore", (f) => {
360
+ f.preventDefault(), e.setFocused(!0);
361
+ });
362
+ let I = {
363
+ onKeyDown: S,
364
+ onFocus: k,
365
+ onBlur: F,
366
+ onMouseDown(f) {
367
+ b.current === f.target && f.preventDefault();
368
+ }
369
+ }, { typeSelectProps: V } = ri({
370
+ keyboardDelegate: t,
371
+ selectionManager: e
372
+ });
373
+ v || (I = W(V, I));
374
+ let U;
375
+ h || (U = e.focusedKey == null ? 0 : -1);
376
+ let H = ii(e.collection);
377
+ return {
378
+ collectionProps: W(I, {
379
+ tabIndex: U,
380
+ "data-collection": H
381
+ })
382
+ };
383
+ }
384
+ function ui(n) {
385
+ let { id: e, selectionManager: t, key: l, ref: i, shouldSelectOnPressUp: o, shouldUseVirtualFocus: r, focus: s, isDisabled: a, onAction: c, allowsDifferentPressOrigin: v, linkBehavior: h = "action" } = n, d = mt();
386
+ e = re(e);
387
+ let y = (u) => {
388
+ if (u.pointerType === "keyboard" && Ae(u)) t.toggleSelection(l);
389
+ else {
390
+ if (t.selectionMode === "none") return;
391
+ if (t.isLink(l)) {
392
+ if (h === "selection" && i.current) {
393
+ let E = t.getItemProps(l);
394
+ d.open(i.current, u, E.href, E.routerOptions), t.setSelectedKeys(t.selectedKeys);
395
+ return;
396
+ } else if (h === "override" || h === "none") return;
397
+ }
398
+ t.selectionMode === "single" ? t.isSelected(l) && !t.disallowEmptySelection ? t.toggleSelection(l) : t.replaceSelection(l) : u && u.shiftKey ? t.extendSelection(l) : t.selectionBehavior === "toggle" || u && (Q(u) || u.pointerType === "touch" || u.pointerType === "virtual") ? t.toggleSelection(l) : t.replaceSelection(l);
399
+ }
400
+ };
401
+ Y(() => {
402
+ l === t.focusedKey && t.isFocused && (r ? Ve(i.current) : s ? s() : document.activeElement !== i.current && i.current && Me(i.current));
403
+ }, [
404
+ i,
405
+ l,
406
+ t.focusedKey,
407
+ t.childFocusStrategy,
408
+ t.isFocused,
409
+ r
410
+ ]), a = a || t.isDisabled(l);
411
+ let b = {};
412
+ !r && !a ? b = {
413
+ tabIndex: l === t.focusedKey ? 0 : -1,
414
+ onFocus(u) {
415
+ u.target === i.current && t.setFocusedKey(l);
416
+ }
417
+ } : a && (b.onMouseDown = (u) => {
418
+ u.preventDefault();
419
+ });
420
+ let x = t.isLink(l) && h === "override", g = t.isLink(l) && h !== "selection" && h !== "none", $ = !a && t.canSelectItem(l) && !x, S = (c || g) && !a, w = S && (t.selectionBehavior === "replace" ? !$ : !$ || t.isEmpty), k = S && $ && t.selectionBehavior === "replace", F = w || k, C = P(null), A = F && $, M = P(!1), G = P(!1), B = (u) => {
421
+ if (c && c(), g && i.current) {
422
+ let E = t.getItemProps(l);
423
+ d.open(i.current, u, E.href, E.routerOptions);
424
+ }
425
+ }, p = {
426
+ ref: i
427
+ };
428
+ o ? (p.onPressStart = (u) => {
429
+ C.current = u.pointerType, M.current = A, u.pointerType === "keyboard" && (!F || Ze()) && y(u);
430
+ }, v ? (p.onPressUp = w ? void 0 : (u) => {
431
+ u.pointerType === "mouse" && $ && y(u);
432
+ }, p.onPress = w ? B : (u) => {
433
+ u.pointerType !== "keyboard" && u.pointerType !== "mouse" && $ && y(u);
434
+ }) : p.onPress = (u) => {
435
+ if (w || k && u.pointerType !== "mouse") {
436
+ if (u.pointerType === "keyboard" && !Xe()) return;
437
+ B(u);
438
+ } else u.pointerType !== "keyboard" && $ && y(u);
439
+ }) : (p.onPressStart = (u) => {
440
+ C.current = u.pointerType, M.current = A, G.current = w, $ && (u.pointerType === "mouse" && !w || u.pointerType === "keyboard" && (!S || Ze())) && y(u);
441
+ }, p.onPress = (u) => {
442
+ (u.pointerType === "touch" || u.pointerType === "pen" || u.pointerType === "virtual" || u.pointerType === "keyboard" && F && Xe() || u.pointerType === "mouse" && G.current) && (F ? B(u) : $ && y(u));
443
+ }), b["data-collection"] = ni(t.collection), b["data-key"] = l, p.preventFocusOnPress = r, r && (p = W(p, {
444
+ onPressStart(u) {
445
+ u.pointerType !== "touch" && (t.setFocused(!0), t.setFocusedKey(l));
446
+ },
447
+ onPress(u) {
448
+ u.pointerType === "touch" && (t.setFocused(!0), t.setFocusedKey(l));
449
+ }
450
+ }));
451
+ let { pressProps: K, isPressed: I } = St(p), V = k ? (u) => {
452
+ C.current === "mouse" && (u.stopPropagation(), u.preventDefault(), B(u));
453
+ } : void 0, { longPressProps: U } = Ql({
454
+ isDisabled: !A,
455
+ onLongPress(u) {
456
+ u.pointerType === "touch" && (y(u), t.setSelectionBehavior("toggle"));
457
+ }
458
+ }), H = (u) => {
459
+ C.current === "touch" && M.current && u.preventDefault();
460
+ }, f = t.isLink(l) ? (u) => {
461
+ ql.isOpening || u.preventDefault();
462
+ } : void 0;
463
+ return {
464
+ itemProps: W(
465
+ b,
466
+ $ || w || r && !a ? K : {},
467
+ A ? U : {},
468
+ {
469
+ onDoubleClick: V,
470
+ onDragStartCapture: H,
471
+ onClick: f,
472
+ id: e
473
+ },
474
+ // Prevent DOM focus from moving on mouse down when using virtual focus
475
+ r ? {
476
+ onMouseDown: (u) => u.preventDefault()
477
+ } : void 0
478
+ ),
479
+ isPressed: I,
480
+ isSelected: t.isSelected(l),
481
+ isFocused: t.isFocused && t.focusedKey === l,
482
+ isDisabled: a,
483
+ allowsSelection: $,
484
+ hasAction: F
485
+ };
486
+ }
487
+ function Xe() {
488
+ let n = window.event;
489
+ return (n == null ? void 0 : n.key) === "Enter";
490
+ }
491
+ function Ze() {
492
+ let n = window.event;
493
+ return (n == null ? void 0 : n.key) === " " || (n == null ? void 0 : n.code) === "Space";
494
+ }
495
+ class Qe {
496
+ getItemRect(e) {
497
+ let t = this.ref.current;
498
+ if (!t) return null;
499
+ let l = e != null ? de(this.ref, e) : null;
500
+ if (!l) return null;
501
+ let i = t.getBoundingClientRect(), o = l.getBoundingClientRect();
502
+ return {
503
+ x: o.left - i.left + t.scrollLeft,
504
+ y: o.top - i.top + t.scrollTop,
505
+ width: o.width,
506
+ height: o.height
507
+ };
508
+ }
509
+ getContentSize() {
510
+ let e = this.ref.current;
511
+ var t, l;
512
+ return {
513
+ width: (t = e == null ? void 0 : e.scrollWidth) !== null && t !== void 0 ? t : 0,
514
+ height: (l = e == null ? void 0 : e.scrollHeight) !== null && l !== void 0 ? l : 0
515
+ };
516
+ }
517
+ getVisibleRect() {
518
+ let e = this.ref.current;
519
+ var t, l, i, o;
520
+ return {
521
+ x: (t = e == null ? void 0 : e.scrollLeft) !== null && t !== void 0 ? t : 0,
522
+ y: (l = e == null ? void 0 : e.scrollTop) !== null && l !== void 0 ? l : 0,
523
+ width: (i = e == null ? void 0 : e.offsetWidth) !== null && i !== void 0 ? i : 0,
524
+ height: (o = e == null ? void 0 : e.offsetHeight) !== null && o !== void 0 ? o : 0
525
+ };
526
+ }
527
+ constructor(e) {
528
+ this.ref = e;
529
+ }
530
+ }
531
+ class Pt {
532
+ isDisabled(e) {
533
+ var t;
534
+ return this.disabledBehavior === "all" && (((t = e.props) === null || t === void 0 ? void 0 : t.isDisabled) || this.disabledKeys.has(e.key));
535
+ }
536
+ findNextNonDisabled(e, t) {
537
+ let l = e;
538
+ for (; l != null; ) {
539
+ let i = this.collection.getItem(l);
540
+ if ((i == null ? void 0 : i.type) === "item" && !this.isDisabled(i)) return l;
541
+ l = t(l);
542
+ }
543
+ return null;
544
+ }
545
+ getNextKey(e) {
546
+ let t = e;
547
+ return t = this.collection.getKeyAfter(t), this.findNextNonDisabled(t, (l) => this.collection.getKeyAfter(l));
548
+ }
549
+ getPreviousKey(e) {
550
+ let t = e;
551
+ return t = this.collection.getKeyBefore(t), this.findNextNonDisabled(t, (l) => this.collection.getKeyBefore(l));
552
+ }
553
+ findKey(e, t, l) {
554
+ let i = e, o = this.layoutDelegate.getItemRect(i);
555
+ if (!o || i == null) return null;
556
+ let r = o;
557
+ do {
558
+ if (i = t(i), i == null) break;
559
+ o = this.layoutDelegate.getItemRect(i);
560
+ } while (o && l(r, o) && i != null);
561
+ return i;
562
+ }
563
+ isSameRow(e, t) {
564
+ return e.y === t.y || e.x !== t.x;
565
+ }
566
+ isSameColumn(e, t) {
567
+ return e.x === t.x || e.y !== t.y;
568
+ }
569
+ getKeyBelow(e) {
570
+ return this.layout === "grid" && this.orientation === "vertical" ? this.findKey(e, (t) => this.getNextKey(t), this.isSameRow) : this.getNextKey(e);
571
+ }
572
+ getKeyAbove(e) {
573
+ return this.layout === "grid" && this.orientation === "vertical" ? this.findKey(e, (t) => this.getPreviousKey(t), this.isSameRow) : this.getPreviousKey(e);
574
+ }
575
+ getNextColumn(e, t) {
576
+ return t ? this.getPreviousKey(e) : this.getNextKey(e);
577
+ }
578
+ getKeyRightOf(e) {
579
+ let t = this.direction === "ltr" ? "getKeyRightOf" : "getKeyLeftOf";
580
+ return this.layoutDelegate[t] ? (e = this.layoutDelegate[t](e), this.findNextNonDisabled(e, (l) => this.layoutDelegate[t](l))) : this.layout === "grid" ? this.orientation === "vertical" ? this.getNextColumn(e, this.direction === "rtl") : this.findKey(e, (l) => this.getNextColumn(l, this.direction === "rtl"), this.isSameColumn) : this.orientation === "horizontal" ? this.getNextColumn(e, this.direction === "rtl") : null;
581
+ }
582
+ getKeyLeftOf(e) {
583
+ let t = this.direction === "ltr" ? "getKeyLeftOf" : "getKeyRightOf";
584
+ return this.layoutDelegate[t] ? (e = this.layoutDelegate[t](e), this.findNextNonDisabled(e, (l) => this.layoutDelegate[t](l))) : this.layout === "grid" ? this.orientation === "vertical" ? this.getNextColumn(e, this.direction === "ltr") : this.findKey(e, (l) => this.getNextColumn(l, this.direction === "ltr"), this.isSameColumn) : this.orientation === "horizontal" ? this.getNextColumn(e, this.direction === "ltr") : null;
585
+ }
586
+ getFirstKey() {
587
+ let e = this.collection.getFirstKey();
588
+ return this.findNextNonDisabled(e, (t) => this.collection.getKeyAfter(t));
589
+ }
590
+ getLastKey() {
591
+ let e = this.collection.getLastKey();
592
+ return this.findNextNonDisabled(e, (t) => this.collection.getKeyBefore(t));
593
+ }
594
+ getKeyPageAbove(e) {
595
+ let t = this.ref.current, l = this.layoutDelegate.getItemRect(e);
596
+ if (!l) return null;
597
+ if (t && !je(t)) return this.getFirstKey();
598
+ let i = e;
599
+ if (this.orientation === "horizontal") {
600
+ let o = Math.max(0, l.x + l.width - this.layoutDelegate.getVisibleRect().width);
601
+ for (; l && l.x > o && i != null; )
602
+ i = this.getKeyAbove(i), l = i == null ? null : this.layoutDelegate.getItemRect(i);
603
+ } else {
604
+ let o = Math.max(0, l.y + l.height - this.layoutDelegate.getVisibleRect().height);
605
+ for (; l && l.y > o && i != null; )
606
+ i = this.getKeyAbove(i), l = i == null ? null : this.layoutDelegate.getItemRect(i);
607
+ }
608
+ return i ?? this.getFirstKey();
609
+ }
610
+ getKeyPageBelow(e) {
611
+ let t = this.ref.current, l = this.layoutDelegate.getItemRect(e);
612
+ if (!l) return null;
613
+ if (t && !je(t)) return this.getLastKey();
614
+ let i = e;
615
+ if (this.orientation === "horizontal") {
616
+ let o = Math.min(this.layoutDelegate.getContentSize().width, l.y - l.width + this.layoutDelegate.getVisibleRect().width);
617
+ for (; l && l.x < o && i != null; )
618
+ i = this.getKeyBelow(i), l = i == null ? null : this.layoutDelegate.getItemRect(i);
619
+ } else {
620
+ let o = Math.min(this.layoutDelegate.getContentSize().height, l.y - l.height + this.layoutDelegate.getVisibleRect().height);
621
+ for (; l && l.y < o && i != null; )
622
+ i = this.getKeyBelow(i), l = i == null ? null : this.layoutDelegate.getItemRect(i);
623
+ }
624
+ return i ?? this.getLastKey();
625
+ }
626
+ getKeyForSearch(e, t) {
627
+ if (!this.collator) return null;
628
+ let l = this.collection, i = t || this.getFirstKey();
629
+ for (; i != null; ) {
630
+ let o = l.getItem(i);
631
+ if (!o) return null;
632
+ let r = o.textValue.slice(0, e.length);
633
+ if (o.textValue && this.collator.compare(r, e) === 0) return i;
634
+ i = this.getNextKey(i);
635
+ }
636
+ return null;
637
+ }
638
+ constructor(...e) {
639
+ if (e.length === 1) {
640
+ let t = e[0];
641
+ this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new Qe(t.ref);
642
+ } else
643
+ this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new Qe(this.ref);
644
+ this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
645
+ }
646
+ }
647
+ function di(n) {
648
+ let { selectionManager: e, collection: t, disabledKeys: l, ref: i, keyboardDelegate: o, layoutDelegate: r } = n, s = Dt({
649
+ usage: "search",
650
+ sensitivity: "base"
651
+ }), a = e.disabledBehavior, c = T(() => o || new Pt({
652
+ collection: t,
653
+ disabledKeys: l,
654
+ disabledBehavior: a,
655
+ ref: i,
656
+ collator: s,
657
+ layoutDelegate: r
658
+ }), [
659
+ o,
660
+ r,
661
+ t,
662
+ l,
663
+ i,
664
+ s,
665
+ a
666
+ ]), { collectionProps: v } = ai({
667
+ ...n,
668
+ ref: i,
669
+ selectionManager: e,
670
+ keyboardDelegate: c
671
+ });
672
+ return {
673
+ listProps: v
674
+ };
675
+ }
676
+ function ci(n, e, t) {
677
+ let l = se(n, {
678
+ labelable: !0
679
+ }), i = n.selectionBehavior || "toggle", o = n.linkBehavior || (i === "replace" ? "action" : "override");
680
+ i === "toggle" && o === "action" && (o = "override");
681
+ let { listProps: r } = di({
682
+ ...n,
683
+ ref: t,
684
+ selectionManager: e.selectionManager,
685
+ collection: e.collection,
686
+ disabledKeys: e.disabledKeys,
687
+ linkBehavior: o
688
+ }), { focusWithinProps: s } = jl({
689
+ onFocusWithin: n.onFocus,
690
+ onBlurWithin: n.onBlur,
691
+ onFocusWithinChange: n.onFocusChange
692
+ }), a = re(n.id);
693
+ Oe.set(e, {
694
+ id: a,
695
+ shouldUseVirtualFocus: n.shouldUseVirtualFocus,
696
+ shouldSelectOnPressUp: n.shouldSelectOnPressUp,
697
+ shouldFocusOnHover: n.shouldFocusOnHover,
698
+ isVirtualized: n.isVirtualized,
699
+ onAction: n.onAction,
700
+ linkBehavior: o
701
+ });
702
+ let { labelProps: c, fieldProps: v } = Ol({
703
+ ...n,
704
+ id: a,
705
+ // listbox is not an HTML input element so it
706
+ // shouldn't be labeled by a <label> element.
707
+ labelElementType: "span"
708
+ });
709
+ return {
710
+ labelProps: c,
711
+ listBoxProps: W(l, s, e.selectionManager.selectionMode === "multiple" ? {
712
+ "aria-multiselectable": "true"
713
+ } : {}, {
714
+ role: "listbox",
715
+ ...W(v, r)
716
+ })
717
+ };
718
+ }
719
+ class fi {
720
+ build(e, t) {
721
+ return this.context = t, et(() => this.iterateCollection(e));
722
+ }
723
+ *iterateCollection(e) {
724
+ let { children: t, items: l } = e;
725
+ if (m.isValidElement(t) && t.type === m.Fragment) yield* this.iterateCollection({
726
+ children: t.props.children,
727
+ items: l
728
+ });
729
+ else if (typeof t == "function") {
730
+ if (!l) throw new Error("props.children was a function but props.items is missing");
731
+ let i = 0;
732
+ for (let o of l)
733
+ yield* this.getFullNode({
734
+ value: o,
735
+ index: i
736
+ }, {
737
+ renderer: t
738
+ }), i++;
739
+ } else {
740
+ let i = [];
741
+ m.Children.forEach(t, (r) => {
742
+ r && i.push(r);
743
+ });
744
+ let o = 0;
745
+ for (let r of i) {
746
+ let s = this.getFullNode({
747
+ element: r,
748
+ index: o
749
+ }, {});
750
+ for (let a of s)
751
+ o++, yield a;
752
+ }
753
+ }
754
+ }
755
+ getKey(e, t, l, i) {
756
+ if (e.key != null) return e.key;
757
+ if (t.type === "cell" && t.key != null) return `${i}${t.key}`;
758
+ let o = t.value;
759
+ if (o != null) {
760
+ var r;
761
+ let s = (r = o.key) !== null && r !== void 0 ? r : o.id;
762
+ if (s == null) throw new Error("No key found for item");
763
+ return s;
764
+ }
765
+ return i ? `${i}.${t.index}` : `$.${t.index}`;
766
+ }
767
+ getChildState(e, t) {
768
+ return {
769
+ renderer: t.renderer || e.renderer
770
+ };
771
+ }
772
+ *getFullNode(e, t, l, i) {
773
+ if (m.isValidElement(e.element) && e.element.type === m.Fragment) {
774
+ let g = [];
775
+ m.Children.forEach(e.element.props.children, (S) => {
776
+ g.push(S);
777
+ });
778
+ var o;
779
+ let $ = (o = e.index) !== null && o !== void 0 ? o : 0;
780
+ for (const S of g) yield* this.getFullNode({
781
+ element: S,
782
+ index: $++
783
+ }, t, l, i);
784
+ return;
785
+ }
786
+ let r = e.element;
787
+ if (!r && e.value && t && t.renderer) {
788
+ let g = this.cache.get(e.value);
789
+ if (g && (!g.shouldInvalidate || !g.shouldInvalidate(this.context))) {
790
+ g.index = e.index, g.parentKey = i ? i.key : null, yield g;
791
+ return;
792
+ }
793
+ r = t.renderer(e.value);
794
+ }
795
+ if (m.isValidElement(r)) {
796
+ let g = r.type;
797
+ if (typeof g != "function" && typeof g.getCollectionNode != "function") {
798
+ let k = r.type;
799
+ throw new Error(`Unknown element <${k}> in collection.`);
800
+ }
801
+ let $ = g.getCollectionNode(r.props, this.context);
802
+ var s;
803
+ let S = (s = e.index) !== null && s !== void 0 ? s : 0, w = $.next();
804
+ for (; !w.done && w.value; ) {
805
+ let k = w.value;
806
+ e.index = S;
807
+ var a;
808
+ let F = (a = k.key) !== null && a !== void 0 ? a : null;
809
+ F == null && (F = k.element ? null : this.getKey(r, e, t, l));
810
+ let A = [
811
+ ...this.getFullNode({
812
+ ...k,
813
+ key: F,
814
+ index: S,
815
+ wrapper: hi(e.wrapper, k.wrapper)
816
+ }, this.getChildState(t, k), l ? `${l}${r.key}` : r.key, i)
817
+ ];
818
+ for (let M of A) {
819
+ var c, v;
820
+ M.value = (v = (c = k.value) !== null && c !== void 0 ? c : e.value) !== null && v !== void 0 ? v : null, M.value && this.cache.set(M.value, M);
821
+ var h;
822
+ if (e.type && M.type !== e.type) throw new Error(`Unsupported type <${Ke(M.type)}> in <${Ke((h = i == null ? void 0 : i.type) !== null && h !== void 0 ? h : "unknown parent type")}>. Only <${Ke(e.type)}> is supported.`);
823
+ S++, yield M;
824
+ }
825
+ w = $.next(A);
826
+ }
827
+ return;
828
+ }
829
+ if (e.key == null || e.type == null) return;
830
+ let d = this;
831
+ var y, b;
832
+ let x = {
833
+ type: e.type,
834
+ props: e.props,
835
+ key: e.key,
836
+ parentKey: i ? i.key : null,
837
+ value: (y = e.value) !== null && y !== void 0 ? y : null,
838
+ level: i ? i.level + 1 : 0,
839
+ index: e.index,
840
+ rendered: e.rendered,
841
+ textValue: (b = e.textValue) !== null && b !== void 0 ? b : "",
842
+ "aria-label": e["aria-label"],
843
+ wrapper: e.wrapper,
844
+ shouldInvalidate: e.shouldInvalidate,
845
+ hasChildNodes: e.hasChildNodes || !1,
846
+ childNodes: et(function* () {
847
+ if (!e.hasChildNodes || !e.childNodes) return;
848
+ let g = 0;
849
+ for (let $ of e.childNodes()) {
850
+ $.key != null && ($.key = `${x.key}${$.key}`);
851
+ let S = d.getFullNode({
852
+ ...$,
853
+ index: g
854
+ }, d.getChildState(t, $), x.key, x);
855
+ for (let w of S)
856
+ g++, yield w;
857
+ }
858
+ })
859
+ };
860
+ yield x;
861
+ }
862
+ constructor() {
863
+ this.cache = /* @__PURE__ */ new WeakMap();
864
+ }
865
+ }
866
+ function et(n) {
867
+ let e = [], t = null;
868
+ return {
869
+ *[Symbol.iterator]() {
870
+ for (let l of e) yield l;
871
+ t || (t = n());
872
+ for (let l of t)
873
+ e.push(l), yield l;
874
+ }
875
+ };
876
+ }
877
+ function hi(n, e) {
878
+ if (n && e) return (t) => n(e(t));
879
+ if (n) return n;
880
+ if (e) return e;
881
+ }
882
+ function Ke(n) {
883
+ return n[0].toUpperCase() + n.slice(1);
884
+ }
885
+ function pi(n, e, t) {
886
+ let l = T(() => new fi(), []), { children: i, items: o, collection: r } = n;
887
+ return T(() => {
888
+ if (r) return r;
889
+ let a = l.build({
890
+ children: i,
891
+ items: o
892
+ }, t);
893
+ return e(a);
894
+ }, [
895
+ l,
896
+ i,
897
+ o,
898
+ r,
899
+ t,
900
+ e
901
+ ]);
902
+ }
903
+ function kt(n, e) {
904
+ return typeof e.getChildren == "function" ? e.getChildren(n.key) : n.childNodes;
905
+ }
906
+ function vi(n) {
907
+ return yi(n);
908
+ }
909
+ function yi(n, e) {
910
+ for (let t of n)
911
+ return t;
912
+ }
913
+ function Rn(n) {
914
+ let e;
915
+ for (let t of n) e = t;
916
+ return e;
917
+ }
918
+ function De(n, e, t) {
919
+ if (e.parentKey === t.parentKey) return e.index - t.index;
920
+ let l = [
921
+ ...tt(n, e),
922
+ e
923
+ ], i = [
924
+ ...tt(n, t),
925
+ t
926
+ ], o = l.slice(0, i.length).findIndex((r, s) => r !== i[s]);
927
+ return o !== -1 ? (e = l[o], t = i[o], e.index - t.index) : l.findIndex((r) => r === t) >= 0 ? 1 : (i.findIndex((r) => r === e) >= 0, -1);
928
+ }
929
+ function tt(n, e) {
930
+ let t = [], l = e;
931
+ for (; (l == null ? void 0 : l.parentKey) != null; )
932
+ l = n.getItem(l.parentKey), l && t.unshift(l);
933
+ return t;
934
+ }
935
+ const lt = /* @__PURE__ */ new WeakMap();
936
+ function bi(n) {
937
+ let e = lt.get(n);
938
+ if (e != null) return e;
939
+ let t = 0, l = (i) => {
940
+ for (let o of i)
941
+ o.type === "section" ? l(kt(o, n)) : o.type === "item" && t++;
942
+ };
943
+ return l(n), lt.set(n, t), t;
944
+ }
945
+ function gi(n, e, t) {
946
+ var l, i;
947
+ let { key: o } = n, r = Oe.get(e);
948
+ var s;
949
+ let a = (s = n.isDisabled) !== null && s !== void 0 ? s : e.selectionManager.isDisabled(o);
950
+ var c;
951
+ let v = (c = n.isSelected) !== null && c !== void 0 ? c : e.selectionManager.isSelected(o);
952
+ var h;
953
+ let d = (h = n.shouldSelectOnPressUp) !== null && h !== void 0 ? h : r == null ? void 0 : r.shouldSelectOnPressUp;
954
+ var y;
955
+ let b = (y = n.shouldFocusOnHover) !== null && y !== void 0 ? y : r == null ? void 0 : r.shouldFocusOnHover;
956
+ var x;
957
+ let g = (x = n.shouldUseVirtualFocus) !== null && x !== void 0 ? x : r == null ? void 0 : r.shouldUseVirtualFocus;
958
+ var $;
959
+ let S = ($ = n.isVirtualized) !== null && $ !== void 0 ? $ : r == null ? void 0 : r.isVirtualized, w = _e(), k = _e(), F = {
960
+ role: "option",
961
+ "aria-disabled": a || void 0,
962
+ "aria-selected": e.selectionManager.selectionMode !== "none" ? v : void 0
963
+ };
964
+ gt() && Ul() || (F["aria-label"] = n["aria-label"], F["aria-labelledby"] = w, F["aria-describedby"] = k);
965
+ let C = e.collection.getItem(o);
966
+ if (S) {
967
+ let f = Number(C == null ? void 0 : C.index);
968
+ F["aria-posinset"] = Number.isNaN(f) ? void 0 : f + 1, F["aria-setsize"] = bi(e.collection);
969
+ }
970
+ let A = r != null && r.onAction ? () => {
971
+ var f;
972
+ return r == null || (f = r.onAction) === null || f === void 0 ? void 0 : f.call(r, o);
973
+ } : void 0, M = li(e, o), { itemProps: G, isPressed: B, isFocused: p, hasAction: K, allowsSelection: I } = ui({
974
+ selectionManager: e.selectionManager,
975
+ key: o,
976
+ ref: t,
977
+ shouldSelectOnPressUp: d,
978
+ allowsDifferentPressOrigin: d && b,
979
+ isVirtualized: S,
980
+ shouldUseVirtualFocus: g,
981
+ isDisabled: a,
982
+ onAction: A || !(C == null || (l = C.props) === null || l === void 0) && l.onAction ? Ml(C == null || (i = C.props) === null || i === void 0 ? void 0 : i.onAction, A) : void 0,
983
+ linkBehavior: r == null ? void 0 : r.linkBehavior,
984
+ id: M
985
+ }), { hoverProps: V } = xt({
986
+ isDisabled: a || !b,
987
+ onHoverStart() {
988
+ Ge() || (e.selectionManager.setFocused(!0), e.selectionManager.setFocusedKey(o));
989
+ }
990
+ }), U = se(C == null ? void 0 : C.props);
991
+ delete U.id;
992
+ let H = Wl(C == null ? void 0 : C.props);
993
+ return {
994
+ optionProps: {
995
+ ...F,
996
+ ...W(U, G, V, H),
997
+ id: M
998
+ },
999
+ labelProps: {
1000
+ id: w
1001
+ },
1002
+ descriptionProps: {
1003
+ id: k
1004
+ },
1005
+ isFocused: p,
1006
+ isFocusVisible: p && e.selectionManager.isFocused && Ge(),
1007
+ isSelected: v,
1008
+ isDisabled: a,
1009
+ isPressed: B,
1010
+ allowsSelection: I,
1011
+ hasAction: K
1012
+ };
1013
+ }
1014
+ function $i(n) {
1015
+ let { heading: e, "aria-label": t } = n, l = re();
1016
+ return {
1017
+ itemProps: {
1018
+ role: "presentation"
1019
+ },
1020
+ headingProps: e ? {
1021
+ // Techincally, listbox cannot contain headings according to ARIA.
1022
+ // We hide the heading from assistive technology, using role="presentation",
1023
+ // and only use it as a visual label for the nested group.
1024
+ id: l,
1025
+ role: "presentation"
1026
+ } : {},
1027
+ groupProps: {
1028
+ role: "group",
1029
+ "aria-label": t,
1030
+ "aria-labelledby": e ? l : void 0
1031
+ }
1032
+ };
1033
+ }
1034
+ var ue = { exports: {} }, we = {};
1035
+ /**
1036
+ * @license React
1037
+ * use-sync-external-store-shim.production.js
1038
+ *
1039
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
1040
+ *
1041
+ * This source code is licensed under the MIT license found in the
1042
+ * LICENSE file in the root directory of this source tree.
1043
+ */
1044
+ var it;
1045
+ function mi() {
1046
+ if (it) return we;
1047
+ it = 1;
1048
+ var n = m;
1049
+ function e(h, d) {
1050
+ return h === d && (h !== 0 || 1 / h === 1 / d) || h !== h && d !== d;
1051
+ }
1052
+ var t = typeof Object.is == "function" ? Object.is : e, l = n.useState, i = n.useEffect, o = n.useLayoutEffect, r = n.useDebugValue;
1053
+ function s(h, d) {
1054
+ var y = d(), b = l({ inst: { value: y, getSnapshot: d } }), x = b[0].inst, g = b[1];
1055
+ return o(
1056
+ function() {
1057
+ x.value = y, x.getSnapshot = d, a(x) && g({ inst: x });
1058
+ },
1059
+ [h, y, d]
1060
+ ), i(
1061
+ function() {
1062
+ return a(x) && g({ inst: x }), h(function() {
1063
+ a(x) && g({ inst: x });
1064
+ });
1065
+ },
1066
+ [h]
1067
+ ), r(y), y;
1068
+ }
1069
+ function a(h) {
1070
+ var d = h.getSnapshot;
1071
+ h = h.value;
1072
+ try {
1073
+ var y = d();
1074
+ return !t(h, y);
1075
+ } catch {
1076
+ return !0;
1077
+ }
1078
+ }
1079
+ function c(h, d) {
1080
+ return d();
1081
+ }
1082
+ var v = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? c : s;
1083
+ return we.useSyncExternalStore = n.useSyncExternalStore !== void 0 ? n.useSyncExternalStore : v, we;
1084
+ }
1085
+ var Ce = {};
1086
+ /**
1087
+ * @license React
1088
+ * use-sync-external-store-shim.development.js
1089
+ *
1090
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
1091
+ *
1092
+ * This source code is licensed under the MIT license found in the
1093
+ * LICENSE file in the root directory of this source tree.
1094
+ */
1095
+ var nt;
1096
+ function xi() {
1097
+ return nt || (nt = 1, process.env.NODE_ENV !== "production" && function() {
1098
+ function n(y, b) {
1099
+ return y === b && (y !== 0 || 1 / y === 1 / b) || y !== y && b !== b;
1100
+ }
1101
+ function e(y, b) {
1102
+ v || i.startTransition === void 0 || (v = !0, console.error(
1103
+ "You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
1104
+ ));
1105
+ var x = b();
1106
+ if (!h) {
1107
+ var g = b();
1108
+ o(x, g) || (console.error(
1109
+ "The result of getSnapshot should be cached to avoid an infinite loop"
1110
+ ), h = !0);
1111
+ }
1112
+ g = r({
1113
+ inst: { value: x, getSnapshot: b }
1114
+ });
1115
+ var $ = g[0].inst, S = g[1];
1116
+ return a(
1117
+ function() {
1118
+ $.value = x, $.getSnapshot = b, t($) && S({ inst: $ });
1119
+ },
1120
+ [y, x, b]
1121
+ ), s(
1122
+ function() {
1123
+ return t($) && S({ inst: $ }), y(function() {
1124
+ t($) && S({ inst: $ });
1125
+ });
1126
+ },
1127
+ [y]
1128
+ ), c(x), x;
1129
+ }
1130
+ function t(y) {
1131
+ var b = y.getSnapshot;
1132
+ y = y.value;
1133
+ try {
1134
+ var x = b();
1135
+ return !o(y, x);
1136
+ } catch {
1137
+ return !0;
1138
+ }
1139
+ }
1140
+ function l(y, b) {
1141
+ return b();
1142
+ }
1143
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
1144
+ var i = m, o = typeof Object.is == "function" ? Object.is : n, r = i.useState, s = i.useEffect, a = i.useLayoutEffect, c = i.useDebugValue, v = !1, h = !1, d = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? l : e;
1145
+ Ce.useSyncExternalStore = i.useSyncExternalStore !== void 0 ? i.useSyncExternalStore : d, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1146
+ }()), Ce;
1147
+ }
1148
+ var ot;
1149
+ function Si() {
1150
+ return ot || (ot = 1, process.env.NODE_ENV === "production" ? ue.exports = mi() : ue.exports = xi()), ue.exports;
1151
+ }
1152
+ var Ki = /* @__PURE__ */ Si();
1153
+ class Ne {
1154
+ get childNodes() {
1155
+ throw new Error("childNodes is not supported");
1156
+ }
1157
+ clone() {
1158
+ let e = new Ne(this.type, this.key);
1159
+ return e.value = this.value, e.level = this.level, e.hasChildNodes = this.hasChildNodes, e.rendered = this.rendered, e.textValue = this.textValue, e["aria-label"] = this["aria-label"], e.index = this.index, e.parentKey = this.parentKey, e.prevKey = this.prevKey, e.nextKey = this.nextKey, e.firstChildKey = this.firstChildKey, e.lastChildKey = this.lastChildKey, e.props = this.props, e.render = this.render, e.colSpan = this.colSpan, e.colIndex = this.colIndex, e;
1160
+ }
1161
+ constructor(e, t) {
1162
+ this.value = null, this.level = 0, this.hasChildNodes = !1, this.rendered = null, this.textValue = "", this["aria-label"] = void 0, this.index = 0, this.parentKey = null, this.prevKey = null, this.nextKey = null, this.firstChildKey = null, this.lastChildKey = null, this.props = {}, this.colSpan = null, this.colIndex = null, this.type = e, this.key = t;
1163
+ }
1164
+ }
1165
+ class ze {
1166
+ get size() {
1167
+ return this.keyMap.size;
1168
+ }
1169
+ getKeys() {
1170
+ return this.keyMap.keys();
1171
+ }
1172
+ *[Symbol.iterator]() {
1173
+ let e = this.firstKey != null ? this.keyMap.get(this.firstKey) : void 0;
1174
+ for (; e; )
1175
+ yield e, e = e.nextKey != null ? this.keyMap.get(e.nextKey) : void 0;
1176
+ }
1177
+ getChildren(e) {
1178
+ let t = this.keyMap;
1179
+ return {
1180
+ *[Symbol.iterator]() {
1181
+ let l = t.get(e), i = (l == null ? void 0 : l.firstChildKey) != null ? t.get(l.firstChildKey) : null;
1182
+ for (; i; )
1183
+ yield i, i = i.nextKey != null ? t.get(i.nextKey) : void 0;
1184
+ }
1185
+ };
1186
+ }
1187
+ getKeyBefore(e) {
1188
+ let t = this.keyMap.get(e);
1189
+ if (!t) return null;
1190
+ if (t.prevKey != null) {
1191
+ for (t = this.keyMap.get(t.prevKey); t && t.type !== "item" && t.lastChildKey != null; ) t = this.keyMap.get(t.lastChildKey);
1192
+ var l;
1193
+ return (l = t == null ? void 0 : t.key) !== null && l !== void 0 ? l : null;
1194
+ }
1195
+ return t.parentKey;
1196
+ }
1197
+ getKeyAfter(e) {
1198
+ let t = this.keyMap.get(e);
1199
+ if (!t) return null;
1200
+ if (t.type !== "item" && t.firstChildKey != null) return t.firstChildKey;
1201
+ for (; t; ) {
1202
+ if (t.nextKey != null) return t.nextKey;
1203
+ if (t.parentKey != null) t = this.keyMap.get(t.parentKey);
1204
+ else return null;
1205
+ }
1206
+ return null;
1207
+ }
1208
+ getFirstKey() {
1209
+ return this.firstKey;
1210
+ }
1211
+ getLastKey() {
1212
+ let e = this.lastKey != null ? this.keyMap.get(this.lastKey) : null;
1213
+ for (; (e == null ? void 0 : e.lastChildKey) != null; ) e = this.keyMap.get(e.lastChildKey);
1214
+ var t;
1215
+ return (t = e == null ? void 0 : e.key) !== null && t !== void 0 ? t : null;
1216
+ }
1217
+ getItem(e) {
1218
+ var t;
1219
+ return (t = this.keyMap.get(e)) !== null && t !== void 0 ? t : null;
1220
+ }
1221
+ at() {
1222
+ throw new Error("Not implemented");
1223
+ }
1224
+ clone() {
1225
+ let e = this.constructor, t = new e();
1226
+ return t.keyMap = new Map(this.keyMap), t.firstKey = this.firstKey, t.lastKey = this.lastKey, t;
1227
+ }
1228
+ addNode(e) {
1229
+ if (this.frozen) throw new Error("Cannot add a node to a frozen collection");
1230
+ this.keyMap.set(e.key, e);
1231
+ }
1232
+ removeNode(e) {
1233
+ if (this.frozen) throw new Error("Cannot remove a node to a frozen collection");
1234
+ this.keyMap.delete(e);
1235
+ }
1236
+ commit(e, t, l = !1) {
1237
+ if (this.frozen) throw new Error("Cannot commit a frozen collection");
1238
+ this.firstKey = e, this.lastKey = t, this.frozen = !l;
1239
+ }
1240
+ // TODO: this is pretty specific to menu, will need to check if it is generic enough
1241
+ // Will need to handle varying levels I assume but will revisit after I get searchable menu working for base menu
1242
+ // TODO: an alternative is to simply walk the collection and add all item nodes that match the filter and any sections/separators we encounter
1243
+ // to an array, then walk that new array and fix all the next/Prev keys while adding them to the new collection
1244
+ UNSTABLE_filter(e) {
1245
+ let t = new ze(), l = null;
1246
+ for (let i of this)
1247
+ if (i.type === "section" && i.hasChildNodes) {
1248
+ let o = i.clone(), r = null;
1249
+ for (let s of this.getChildren(i.key)) if (rt(s, e, this, t)) {
1250
+ let a = s.clone();
1251
+ r == null && (o.firstChildKey = a.key), t.firstKey == null && (t.firstKey = o.key), r && r.parentKey === a.parentKey ? (r.nextKey = a.key, a.prevKey = r.key) : a.prevKey = null, a.nextKey = null, t.addNode(a), r = a;
1252
+ }
1253
+ r && (r.type !== "header" ? (o.lastChildKey = r.key, l == null ? o.prevKey = null : (l.type === "section" || l.type === "separator") && (l.nextKey = o.key, o.prevKey = l.key), o.nextKey = null, l = o, t.addNode(o)) : (t.firstKey === o.key && (t.firstKey = null), t.removeNode(r.key)));
1254
+ } else if (i.type === "separator") {
1255
+ let o = i.clone();
1256
+ o.nextKey = null, (l == null ? void 0 : l.type) === "section" && (l.nextKey = o.key, o.prevKey = l.key, l = o, t.addNode(o));
1257
+ } else {
1258
+ let o = i.clone();
1259
+ rt(o, e, this, t) && (t.firstKey == null && (t.firstKey = o.key), l != null && l.type !== "section" && l.type !== "separator" && l.parentKey === o.parentKey ? (l.nextKey = o.key, o.prevKey = l.key) : o.prevKey = null, o.nextKey = null, t.addNode(o), l = o);
1260
+ }
1261
+ if ((l == null ? void 0 : l.type) === "separator" && l.nextKey === null) {
1262
+ let i;
1263
+ l.prevKey != null && (i = t.getItem(l.prevKey), i.nextKey = null), t.removeNode(l.key), l = i;
1264
+ }
1265
+ return t.lastKey = (l == null ? void 0 : l.key) || null, t;
1266
+ }
1267
+ constructor() {
1268
+ this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1;
1269
+ }
1270
+ }
1271
+ function rt(n, e, t, l) {
1272
+ if (n.type === "subdialogtrigger" || n.type === "submenutrigger") {
1273
+ let i = [
1274
+ ...t.getChildren(n.key)
1275
+ ][0];
1276
+ if (i && e(i.textValue)) {
1277
+ let o = i.clone();
1278
+ return l.addNode(o), !0;
1279
+ } else return !1;
1280
+ } else return n.type === "header" ? !0 : e(n.textValue);
1281
+ }
1282
+ class It {
1283
+ *[Symbol.iterator]() {
1284
+ let e = this.firstChild;
1285
+ for (; e; )
1286
+ yield e, e = e.nextSibling;
1287
+ }
1288
+ get firstChild() {
1289
+ return this._firstChild;
1290
+ }
1291
+ set firstChild(e) {
1292
+ this._firstChild = e, this.ownerDocument.markDirty(this);
1293
+ }
1294
+ get lastChild() {
1295
+ return this._lastChild;
1296
+ }
1297
+ set lastChild(e) {
1298
+ this._lastChild = e, this.ownerDocument.markDirty(this);
1299
+ }
1300
+ get previousSibling() {
1301
+ return this._previousSibling;
1302
+ }
1303
+ set previousSibling(e) {
1304
+ this._previousSibling = e, this.ownerDocument.markDirty(this);
1305
+ }
1306
+ get nextSibling() {
1307
+ return this._nextSibling;
1308
+ }
1309
+ set nextSibling(e) {
1310
+ this._nextSibling = e, this.ownerDocument.markDirty(this);
1311
+ }
1312
+ get parentNode() {
1313
+ return this._parentNode;
1314
+ }
1315
+ set parentNode(e) {
1316
+ this._parentNode = e, this.ownerDocument.markDirty(this);
1317
+ }
1318
+ get isConnected() {
1319
+ var e;
1320
+ return ((e = this.parentNode) === null || e === void 0 ? void 0 : e.isConnected) || !1;
1321
+ }
1322
+ invalidateChildIndices(e) {
1323
+ (this._minInvalidChildIndex == null || !this._minInvalidChildIndex.isConnected || e.index < this._minInvalidChildIndex.index) && (this._minInvalidChildIndex = e, this.ownerDocument.markDirty(this));
1324
+ }
1325
+ updateChildIndices() {
1326
+ let e = this._minInvalidChildIndex;
1327
+ for (; e; )
1328
+ e.index = e.previousSibling ? e.previousSibling.index + 1 : 0, e = e.nextSibling;
1329
+ this._minInvalidChildIndex = null;
1330
+ }
1331
+ appendChild(e) {
1332
+ e.parentNode && e.parentNode.removeChild(e), this.firstChild == null && (this.firstChild = e), this.lastChild ? (this.lastChild.nextSibling = e, e.index = this.lastChild.index + 1, e.previousSibling = this.lastChild) : (e.previousSibling = null, e.index = 0), e.parentNode = this, e.nextSibling = null, this.lastChild = e, this.ownerDocument.markDirty(this), this.isConnected && this.ownerDocument.queueUpdate();
1333
+ }
1334
+ insertBefore(e, t) {
1335
+ if (t == null) return this.appendChild(e);
1336
+ e.parentNode && e.parentNode.removeChild(e), e.nextSibling = t, e.previousSibling = t.previousSibling, e.index = t.index - 1, this.firstChild === t ? this.firstChild = e : t.previousSibling && (t.previousSibling.nextSibling = e), t.previousSibling = e, e.parentNode = t.parentNode, this.invalidateChildIndices(e), this.isConnected && this.ownerDocument.queueUpdate();
1337
+ }
1338
+ removeChild(e) {
1339
+ e.parentNode !== this || !this.ownerDocument.isMounted || (this._minInvalidChildIndex === e && (this._minInvalidChildIndex = null), e.nextSibling && (this.invalidateChildIndices(e.nextSibling), e.nextSibling.previousSibling = e.previousSibling), e.previousSibling && (e.previousSibling.nextSibling = e.nextSibling), this.firstChild === e && (this.firstChild = e.nextSibling), this.lastChild === e && (this.lastChild = e.previousSibling), e.parentNode = null, e.nextSibling = null, e.previousSibling = null, e.index = 0, this.ownerDocument.markDirty(e), this.isConnected && this.ownerDocument.queueUpdate());
1340
+ }
1341
+ addEventListener() {
1342
+ }
1343
+ removeEventListener() {
1344
+ }
1345
+ get previousVisibleSibling() {
1346
+ let e = this.previousSibling;
1347
+ for (; e && e.isHidden; ) e = e.previousSibling;
1348
+ return e;
1349
+ }
1350
+ get nextVisibleSibling() {
1351
+ let e = this.nextSibling;
1352
+ for (; e && e.isHidden; ) e = e.nextSibling;
1353
+ return e;
1354
+ }
1355
+ get firstVisibleChild() {
1356
+ let e = this.firstChild;
1357
+ for (; e && e.isHidden; ) e = e.nextSibling;
1358
+ return e;
1359
+ }
1360
+ get lastVisibleChild() {
1361
+ let e = this.lastChild;
1362
+ for (; e && e.isHidden; ) e = e.previousSibling;
1363
+ return e;
1364
+ }
1365
+ constructor(e) {
1366
+ this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;
1367
+ }
1368
+ }
1369
+ class le extends It {
1370
+ get index() {
1371
+ return this._index;
1372
+ }
1373
+ set index(e) {
1374
+ this._index = e, this.ownerDocument.markDirty(this);
1375
+ }
1376
+ get level() {
1377
+ return this.parentNode instanceof le ? this.parentNode.level + (this.node.type === "item" ? 1 : 0) : 0;
1378
+ }
1379
+ /**
1380
+ * Lazily gets a mutable instance of a Node. If the node has already
1381
+ * been cloned during this update cycle, it just returns the existing one.
1382
+ */
1383
+ getMutableNode() {
1384
+ return this.isMutated || (this.node = this.node.clone(), this.isMutated = !0), this.ownerDocument.markDirty(this), this.node;
1385
+ }
1386
+ updateNode() {
1387
+ var e, t, l;
1388
+ let i = this.nextVisibleSibling, o = this.getMutableNode();
1389
+ o.index = this.index, o.level = this.level, o.parentKey = this.parentNode instanceof le ? this.parentNode.node.key : null;
1390
+ var r;
1391
+ o.prevKey = (r = (e = this.previousVisibleSibling) === null || e === void 0 ? void 0 : e.node.key) !== null && r !== void 0 ? r : null;
1392
+ var s;
1393
+ o.nextKey = (s = i == null ? void 0 : i.node.key) !== null && s !== void 0 ? s : null, o.hasChildNodes = !!this.firstChild;
1394
+ var a;
1395
+ o.firstChildKey = (a = (t = this.firstVisibleChild) === null || t === void 0 ? void 0 : t.node.key) !== null && a !== void 0 ? a : null;
1396
+ var c;
1397
+ if (o.lastChildKey = (c = (l = this.lastVisibleChild) === null || l === void 0 ? void 0 : l.node.key) !== null && c !== void 0 ? c : null, (o.colSpan != null || o.colIndex != null) && i) {
1398
+ var v, h;
1399
+ let d = ((v = o.colIndex) !== null && v !== void 0 ? v : o.index) + ((h = o.colSpan) !== null && h !== void 0 ? h : 1);
1400
+ if (d !== i.node.colIndex) {
1401
+ let y = i.getMutableNode();
1402
+ y.colIndex = d;
1403
+ }
1404
+ }
1405
+ }
1406
+ setProps(e, t, l, i) {
1407
+ let o = this.getMutableNode(), { value: r, textValue: s, id: a, ...c } = e;
1408
+ if (c.ref = t, o.props = c, o.rendered = l, o.render = i, o.value = r, o.textValue = s || (typeof c.children == "string" ? c.children : "") || e["aria-label"] || "", a != null && a !== o.key) {
1409
+ if (this.hasSetProps) throw new Error("Cannot change the id of an item");
1410
+ o.key = a;
1411
+ }
1412
+ c.colSpan != null && (o.colSpan = c.colSpan), this.hasSetProps = !0, this.isConnected && this.ownerDocument.queueUpdate();
1413
+ }
1414
+ get style() {
1415
+ let e = this;
1416
+ return {
1417
+ get display() {
1418
+ return e.isHidden ? "none" : "";
1419
+ },
1420
+ set display(t) {
1421
+ let l = t === "none";
1422
+ if (e.isHidden !== l) {
1423
+ var i, o;
1424
+ (((i = e.parentNode) === null || i === void 0 ? void 0 : i.firstVisibleChild) === e || ((o = e.parentNode) === null || o === void 0 ? void 0 : o.lastVisibleChild) === e) && e.ownerDocument.markDirty(e.parentNode);
1425
+ let r = e.previousVisibleSibling, s = e.nextVisibleSibling;
1426
+ r && e.ownerDocument.markDirty(r), s && e.ownerDocument.markDirty(s), e.isHidden = l, e.ownerDocument.markDirty(e);
1427
+ }
1428
+ }
1429
+ };
1430
+ }
1431
+ hasAttribute() {
1432
+ }
1433
+ setAttribute() {
1434
+ }
1435
+ setAttributeNS() {
1436
+ }
1437
+ removeAttribute() {
1438
+ }
1439
+ constructor(e, t) {
1440
+ super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.hasSetProps = !1, this.isHidden = !1, this.node = new Ne(e, `react-aria-${++t.nodeId}`);
1441
+ }
1442
+ }
1443
+ class Di extends It {
1444
+ get isConnected() {
1445
+ return this.isMounted;
1446
+ }
1447
+ createElement(e) {
1448
+ return new le(e, this);
1449
+ }
1450
+ getMutableCollection() {
1451
+ return this.nextCollection || (this.nextCollection = this.collection.clone()), this.nextCollection;
1452
+ }
1453
+ markDirty(e) {
1454
+ this.dirtyNodes.add(e);
1455
+ }
1456
+ addNode(e) {
1457
+ if (e.isHidden) return;
1458
+ let t = this.getMutableCollection();
1459
+ if (!t.getItem(e.node.key)) for (let l of e) this.addNode(l);
1460
+ t.addNode(e.node);
1461
+ }
1462
+ removeNode(e) {
1463
+ for (let l of e) this.removeNode(l);
1464
+ this.getMutableCollection().removeNode(e.node.key);
1465
+ }
1466
+ /** Finalizes the collection update, updating all nodes and freezing the collection. */
1467
+ getCollection() {
1468
+ return this.inSubscription ? this.collection.clone() : (this.queuedRender = !1, this.updateCollection(), this.collection);
1469
+ }
1470
+ updateCollection() {
1471
+ for (let o of this.dirtyNodes) o instanceof le && (!o.isConnected || o.isHidden) ? this.removeNode(o) : o.updateChildIndices();
1472
+ for (let o of this.dirtyNodes) o instanceof le && (o.isConnected && !o.isHidden && (o.updateNode(), this.addNode(o)), o.isMutated = !1);
1473
+ if (this.dirtyNodes.clear(), this.nextCollection) {
1474
+ var e, t, l, i;
1475
+ this.nextCollection.commit((l = (e = this.firstVisibleChild) === null || e === void 0 ? void 0 : e.node.key) !== null && l !== void 0 ? l : null, (i = (t = this.lastVisibleChild) === null || t === void 0 ? void 0 : t.node.key) !== null && i !== void 0 ? i : null, this.isSSR), this.isSSR || (this.collection = this.nextCollection, this.nextCollection = null);
1476
+ }
1477
+ }
1478
+ queueUpdate() {
1479
+ if (!(this.dirtyNodes.size === 0 || this.queuedRender)) {
1480
+ this.queuedRender = !0, this.inSubscription = !0;
1481
+ for (let e of this.subscriptions) e();
1482
+ this.inSubscription = !1;
1483
+ }
1484
+ }
1485
+ subscribe(e) {
1486
+ return this.subscriptions.add(e), () => this.subscriptions.delete(e);
1487
+ }
1488
+ resetAfterSSR() {
1489
+ this.isSSR && (this.isSSR = !1, this.firstChild = null, this.lastChild = null, this.nodeId = 0);
1490
+ }
1491
+ constructor(e) {
1492
+ super(null), this.nodeType = 11, this.ownerDocument = this, this.dirtyNodes = /* @__PURE__ */ new Set(), this.isSSR = !1, this.nodeId = 0, this.nodesByProps = /* @__PURE__ */ new WeakMap(), this.isMounted = !0, this.nextCollection = null, this.subscriptions = /* @__PURE__ */ new Set(), this.queuedRender = !1, this.inSubscription = !1, this.collection = e, this.nextCollection = e;
1493
+ }
1494
+ }
1495
+ function Ft(n) {
1496
+ let { children: e, items: t, idScope: l, addIdAndValue: i, dependencies: o = [] } = n, r = T(() => /* @__PURE__ */ new WeakMap(), o);
1497
+ return T(() => {
1498
+ if (t && typeof e == "function") {
1499
+ let c = [];
1500
+ for (let v of t) {
1501
+ let h = r.get(v);
1502
+ if (!h) {
1503
+ h = e(v);
1504
+ var s, a;
1505
+ let d = (a = (s = h.props.id) !== null && s !== void 0 ? s : v.key) !== null && a !== void 0 ? a : v.id;
1506
+ if (d == null) throw new Error("Could not determine key for item");
1507
+ l && (d = l + ":" + d), h = ct(h, i ? {
1508
+ key: d,
1509
+ id: d,
1510
+ value: v
1511
+ } : {
1512
+ key: d
1513
+ }), r.set(v, h);
1514
+ }
1515
+ c.push(h);
1516
+ }
1517
+ return c;
1518
+ } else if (typeof e != "function") return e;
1519
+ }, [
1520
+ e,
1521
+ t,
1522
+ r,
1523
+ l,
1524
+ i
1525
+ ]);
1526
+ }
1527
+ const Mt = /* @__PURE__ */ O(!1), ie = /* @__PURE__ */ O(null);
1528
+ function wi(n) {
1529
+ if (R(ie))
1530
+ return n.content;
1531
+ let { collection: t, document: l } = ki(n.createCollection);
1532
+ return /* @__PURE__ */ m.createElement(m.Fragment, null, /* @__PURE__ */ m.createElement(Pl, null, /* @__PURE__ */ m.createElement(ie.Provider, {
1533
+ value: l
1534
+ }, n.content)), /* @__PURE__ */ m.createElement(Ci, {
1535
+ render: n.children,
1536
+ collection: t
1537
+ }));
1538
+ }
1539
+ function Ci({ collection: n, render: e }) {
1540
+ return e(n);
1541
+ }
1542
+ function Ei(n, e, t) {
1543
+ let l = yt(), i = P(l);
1544
+ i.current = l;
1545
+ let o = J(() => i.current ? t() : e(), [
1546
+ e,
1547
+ t
1548
+ ]);
1549
+ return Ki.useSyncExternalStore(n, o);
1550
+ }
1551
+ const Pi = typeof m.useSyncExternalStore == "function" ? m.useSyncExternalStore : Ei;
1552
+ function ki(n) {
1553
+ let [e] = te(() => new Di((n == null ? void 0 : n()) || new ze())), t = J((r) => e.subscribe(r), [
1554
+ e
1555
+ ]), l = J(() => {
1556
+ let r = e.getCollection();
1557
+ return e.isSSR && e.resetAfterSSR(), r;
1558
+ }, [
1559
+ e
1560
+ ]), i = J(() => (e.isSSR = !0, e.getCollection()), [
1561
+ e
1562
+ ]), o = Pi(t, l, i);
1563
+ return Ee(() => (e.isMounted = !0, () => {
1564
+ e.isMounted = !1;
1565
+ }), [
1566
+ e
1567
+ ]), {
1568
+ collection: o,
1569
+ document: e
1570
+ };
1571
+ }
1572
+ const Re = /* @__PURE__ */ O(null);
1573
+ function Tt(n, e, t, l, i, o) {
1574
+ let r = J((a) => {
1575
+ a == null || a.setProps(e, t, l, o);
1576
+ }, [
1577
+ e,
1578
+ t,
1579
+ l,
1580
+ o
1581
+ ]), s = R(Re);
1582
+ if (s) {
1583
+ let a = s.ownerDocument.nodesByProps.get(e);
1584
+ return a || (a = s.ownerDocument.createElement(n), a.setProps(e, t, l, o), s.appendChild(a), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(e, a)), i ? /* @__PURE__ */ m.createElement(Re.Provider, {
1585
+ value: a
1586
+ }, i) : null;
1587
+ }
1588
+ return /* @__PURE__ */ m.createElement(n, {
1589
+ ref: r
1590
+ }, i);
1591
+ }
1592
+ function Lt(n, e) {
1593
+ let t = ({ node: i }) => e(i.props, i.props.ref, i), l = ne((i, o) => {
1594
+ let r = R(We);
1595
+ if (!R(Mt)) {
1596
+ if (e.length >= 3) throw new Error(e.name + " cannot be rendered outside a collection.");
1597
+ return e(i, o);
1598
+ }
1599
+ return Tt(n, i, o, "children" in i ? i.children : null, null, (a) => (
1600
+ // Forward FocusableContext to real DOM tree so tooltips work.
1601
+ /* @__PURE__ */ m.createElement(We.Provider, {
1602
+ value: r
1603
+ }, /* @__PURE__ */ m.createElement(t, {
1604
+ node: a
1605
+ }))
1606
+ ));
1607
+ });
1608
+ return l.displayName = e.name, l;
1609
+ }
1610
+ function Ii(n, e, t = At) {
1611
+ let l = ({ node: o }) => e(o.props, o.props.ref, o), i = ne((o, r) => {
1612
+ let s = t(o);
1613
+ var a;
1614
+ return (a = Tt(n, o, r, null, s, (c) => /* @__PURE__ */ m.createElement(l, {
1615
+ node: c
1616
+ }))) !== null && a !== void 0 ? a : /* @__PURE__ */ m.createElement(m.Fragment, null);
1617
+ });
1618
+ return i.displayName = e.name, i;
1619
+ }
1620
+ function At(n) {
1621
+ return Ft({
1622
+ ...n,
1623
+ addIdAndValue: !0
1624
+ });
1625
+ }
1626
+ const st = /* @__PURE__ */ O(null);
1627
+ function Fi(n) {
1628
+ let e = R(st), t = ((e == null ? void 0 : e.dependencies) || []).concat(n.dependencies), l = n.idScope || (e == null ? void 0 : e.idScope), i = At({
1629
+ ...n,
1630
+ idScope: l,
1631
+ dependencies: t
1632
+ });
1633
+ return R(ie) && (i = /* @__PURE__ */ m.createElement(Mi, null, i)), e = T(() => ({
1634
+ dependencies: t,
1635
+ idScope: l
1636
+ }), [
1637
+ l,
1638
+ ...t
1639
+ ]), /* @__PURE__ */ m.createElement(st.Provider, {
1640
+ value: e
1641
+ }, i);
1642
+ }
1643
+ function Mi({ children: n }) {
1644
+ let e = R(ie), t = T(() => /* @__PURE__ */ m.createElement(ie.Provider, {
1645
+ value: null
1646
+ }, /* @__PURE__ */ m.createElement(Mt.Provider, {
1647
+ value: !0
1648
+ }, n)), [
1649
+ n
1650
+ ]);
1651
+ return yt() ? /* @__PURE__ */ m.createElement(Re.Provider, {
1652
+ value: e
1653
+ }, t) : /* @__PURE__ */ Fl(t, e);
1654
+ }
1655
+ class at {
1656
+ *[Symbol.iterator]() {
1657
+ yield* this.iterable;
1658
+ }
1659
+ get size() {
1660
+ return this.keyMap.size;
1661
+ }
1662
+ getKeys() {
1663
+ return this.keyMap.keys();
1664
+ }
1665
+ getKeyBefore(e) {
1666
+ let t = this.keyMap.get(e);
1667
+ var l;
1668
+ return t && (l = t.prevKey) !== null && l !== void 0 ? l : null;
1669
+ }
1670
+ getKeyAfter(e) {
1671
+ let t = this.keyMap.get(e);
1672
+ var l;
1673
+ return t && (l = t.nextKey) !== null && l !== void 0 ? l : null;
1674
+ }
1675
+ getFirstKey() {
1676
+ return this.firstKey;
1677
+ }
1678
+ getLastKey() {
1679
+ return this.lastKey;
1680
+ }
1681
+ getItem(e) {
1682
+ var t;
1683
+ return (t = this.keyMap.get(e)) !== null && t !== void 0 ? t : null;
1684
+ }
1685
+ at(e) {
1686
+ const t = [
1687
+ ...this.getKeys()
1688
+ ];
1689
+ return this.getItem(t[e]);
1690
+ }
1691
+ getChildren(e) {
1692
+ let t = this.keyMap.get(e);
1693
+ return (t == null ? void 0 : t.childNodes) || [];
1694
+ }
1695
+ constructor(e) {
1696
+ this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;
1697
+ let t = (r) => {
1698
+ if (this.keyMap.set(r.key, r), r.childNodes && r.type === "section") for (let s of r.childNodes) t(s);
1699
+ };
1700
+ for (let r of e) t(r);
1701
+ let l = null, i = 0;
1702
+ for (let [r, s] of this.keyMap)
1703
+ l ? (l.nextKey = r, s.prevKey = l.key) : (this.firstKey = r, s.prevKey = void 0), s.type === "item" && (s.index = i++), l = s, l.nextKey = void 0;
1704
+ var o;
1705
+ this.lastKey = (o = l == null ? void 0 : l.key) !== null && o !== void 0 ? o : null;
1706
+ }
1707
+ }
1708
+ class j extends Set {
1709
+ constructor(e, t, l) {
1710
+ super(e), e instanceof j ? (this.anchorKey = t ?? e.anchorKey, this.currentKey = l ?? e.currentKey) : (this.anchorKey = t ?? null, this.currentKey = l ?? null);
1711
+ }
1712
+ }
1713
+ function Ti(n, e) {
1714
+ if (n.size !== e.size) return !1;
1715
+ for (let t of n)
1716
+ if (!e.has(t)) return !1;
1717
+ return !0;
1718
+ }
1719
+ function Li(n) {
1720
+ let { selectionMode: e = "none", disallowEmptySelection: t = !1, allowDuplicateSelectionEvents: l, selectionBehavior: i = "toggle", disabledBehavior: o = "all" } = n, r = P(!1), [, s] = te(!1), a = P(null), c = P(null), [, v] = te(null), h = T(() => ut(n.selectedKeys), [
1721
+ n.selectedKeys
1722
+ ]), d = T(() => ut(n.defaultSelectedKeys, new j()), [
1723
+ n.defaultSelectedKeys
1724
+ ]), [y, b] = $t(h, d, n.onSelectionChange), x = T(() => n.disabledKeys ? new Set(n.disabledKeys) : /* @__PURE__ */ new Set(), [
1725
+ n.disabledKeys
1726
+ ]), [g, $] = te(i);
1727
+ i === "replace" && g === "toggle" && typeof y == "object" && y.size === 0 && $("replace");
1728
+ let S = P(i);
1729
+ return Y(() => {
1730
+ i !== S.current && ($(i), S.current = i);
1731
+ }, [
1732
+ i
1733
+ ]), {
1734
+ selectionMode: e,
1735
+ disallowEmptySelection: t,
1736
+ selectionBehavior: g,
1737
+ setSelectionBehavior: $,
1738
+ get isFocused() {
1739
+ return r.current;
1740
+ },
1741
+ setFocused(w) {
1742
+ r.current = w, s(w);
1743
+ },
1744
+ get focusedKey() {
1745
+ return a.current;
1746
+ },
1747
+ get childFocusStrategy() {
1748
+ return c.current;
1749
+ },
1750
+ setFocusedKey(w, k = "first") {
1751
+ a.current = w, c.current = k, v(w);
1752
+ },
1753
+ selectedKeys: y,
1754
+ setSelectedKeys(w) {
1755
+ (l || !Ti(w, y)) && b(w);
1756
+ },
1757
+ disabledKeys: x,
1758
+ disabledBehavior: o
1759
+ };
1760
+ }
1761
+ function ut(n, e) {
1762
+ return n ? n === "all" ? "all" : new j(n) : e;
1763
+ }
1764
+ class Ue {
1765
+ /**
1766
+ * The type of selection that is allowed in the collection.
1767
+ */
1768
+ get selectionMode() {
1769
+ return this.state.selectionMode;
1770
+ }
1771
+ /**
1772
+ * Whether the collection allows empty selection.
1773
+ */
1774
+ get disallowEmptySelection() {
1775
+ return this.state.disallowEmptySelection;
1776
+ }
1777
+ /**
1778
+ * The selection behavior for the collection.
1779
+ */
1780
+ get selectionBehavior() {
1781
+ return this.state.selectionBehavior;
1782
+ }
1783
+ /**
1784
+ * Sets the selection behavior for the collection.
1785
+ */
1786
+ setSelectionBehavior(e) {
1787
+ this.state.setSelectionBehavior(e);
1788
+ }
1789
+ /**
1790
+ * Whether the collection is currently focused.
1791
+ */
1792
+ get isFocused() {
1793
+ return this.state.isFocused;
1794
+ }
1795
+ /**
1796
+ * Sets whether the collection is focused.
1797
+ */
1798
+ setFocused(e) {
1799
+ this.state.setFocused(e);
1800
+ }
1801
+ /**
1802
+ * The current focused key in the collection.
1803
+ */
1804
+ get focusedKey() {
1805
+ return this.state.focusedKey;
1806
+ }
1807
+ /** Whether the first or last child of the focused key should receive focus. */
1808
+ get childFocusStrategy() {
1809
+ return this.state.childFocusStrategy;
1810
+ }
1811
+ /**
1812
+ * Sets the focused key.
1813
+ */
1814
+ setFocusedKey(e, t) {
1815
+ (e == null || this.collection.getItem(e)) && this.state.setFocusedKey(e, t);
1816
+ }
1817
+ /**
1818
+ * The currently selected keys in the collection.
1819
+ */
1820
+ get selectedKeys() {
1821
+ return this.state.selectedKeys === "all" ? new Set(this.getSelectAllKeys()) : this.state.selectedKeys;
1822
+ }
1823
+ /**
1824
+ * The raw selection value for the collection.
1825
+ * Either 'all' for select all, or a set of keys.
1826
+ */
1827
+ get rawSelection() {
1828
+ return this.state.selectedKeys;
1829
+ }
1830
+ /**
1831
+ * Returns whether a key is selected.
1832
+ */
1833
+ isSelected(e) {
1834
+ if (this.state.selectionMode === "none") return !1;
1835
+ let t = this.getKey(e);
1836
+ return t == null ? !1 : this.state.selectedKeys === "all" ? this.canSelectItem(t) : this.state.selectedKeys.has(t);
1837
+ }
1838
+ /**
1839
+ * Whether the selection is empty.
1840
+ */
1841
+ get isEmpty() {
1842
+ return this.state.selectedKeys !== "all" && this.state.selectedKeys.size === 0;
1843
+ }
1844
+ /**
1845
+ * Whether all items in the collection are selected.
1846
+ */
1847
+ get isSelectAll() {
1848
+ if (this.isEmpty) return !1;
1849
+ if (this.state.selectedKeys === "all") return !0;
1850
+ if (this._isSelectAll != null) return this._isSelectAll;
1851
+ let e = this.getSelectAllKeys(), t = this.state.selectedKeys;
1852
+ return this._isSelectAll = e.every((l) => t.has(l)), this._isSelectAll;
1853
+ }
1854
+ get firstSelectedKey() {
1855
+ let e = null;
1856
+ for (let l of this.state.selectedKeys) {
1857
+ let i = this.collection.getItem(l);
1858
+ (!e || i && De(this.collection, i, e) < 0) && (e = i);
1859
+ }
1860
+ var t;
1861
+ return (t = e == null ? void 0 : e.key) !== null && t !== void 0 ? t : null;
1862
+ }
1863
+ get lastSelectedKey() {
1864
+ let e = null;
1865
+ for (let l of this.state.selectedKeys) {
1866
+ let i = this.collection.getItem(l);
1867
+ (!e || i && De(this.collection, i, e) > 0) && (e = i);
1868
+ }
1869
+ var t;
1870
+ return (t = e == null ? void 0 : e.key) !== null && t !== void 0 ? t : null;
1871
+ }
1872
+ get disabledKeys() {
1873
+ return this.state.disabledKeys;
1874
+ }
1875
+ get disabledBehavior() {
1876
+ return this.state.disabledBehavior;
1877
+ }
1878
+ /**
1879
+ * Extends the selection to the given key.
1880
+ */
1881
+ extendSelection(e) {
1882
+ if (this.selectionMode === "none") return;
1883
+ if (this.selectionMode === "single") {
1884
+ this.replaceSelection(e);
1885
+ return;
1886
+ }
1887
+ let t = this.getKey(e);
1888
+ if (t == null) return;
1889
+ let l;
1890
+ if (this.state.selectedKeys === "all") l = new j([
1891
+ t
1892
+ ], t, t);
1893
+ else {
1894
+ let r = this.state.selectedKeys;
1895
+ var i;
1896
+ let s = (i = r.anchorKey) !== null && i !== void 0 ? i : t;
1897
+ l = new j(r, s, t);
1898
+ var o;
1899
+ for (let a of this.getKeyRange(s, (o = r.currentKey) !== null && o !== void 0 ? o : t)) l.delete(a);
1900
+ for (let a of this.getKeyRange(t, s)) this.canSelectItem(a) && l.add(a);
1901
+ }
1902
+ this.state.setSelectedKeys(l);
1903
+ }
1904
+ getKeyRange(e, t) {
1905
+ let l = this.collection.getItem(e), i = this.collection.getItem(t);
1906
+ return l && i ? De(this.collection, l, i) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
1907
+ }
1908
+ getKeyRangeInternal(e, t) {
1909
+ var l;
1910
+ if (!((l = this.layoutDelegate) === null || l === void 0) && l.getKeyRange) return this.layoutDelegate.getKeyRange(e, t);
1911
+ let i = [], o = e;
1912
+ for (; o != null; ) {
1913
+ let r = this.collection.getItem(o);
1914
+ if (r && (r.type === "item" || r.type === "cell" && this.allowsCellSelection) && i.push(o), o === t) return i;
1915
+ o = this.collection.getKeyAfter(o);
1916
+ }
1917
+ return [];
1918
+ }
1919
+ getKey(e) {
1920
+ let t = this.collection.getItem(e);
1921
+ if (!t || t.type === "cell" && this.allowsCellSelection) return e;
1922
+ for (; t && t.type !== "item" && t.parentKey != null; ) t = this.collection.getItem(t.parentKey);
1923
+ return !t || t.type !== "item" ? null : t.key;
1924
+ }
1925
+ /**
1926
+ * Toggles whether the given key is selected.
1927
+ */
1928
+ toggleSelection(e) {
1929
+ if (this.selectionMode === "none") return;
1930
+ if (this.selectionMode === "single" && !this.isSelected(e)) {
1931
+ this.replaceSelection(e);
1932
+ return;
1933
+ }
1934
+ let t = this.getKey(e);
1935
+ if (t == null) return;
1936
+ let l = new j(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
1937
+ l.has(t) ? l.delete(t) : this.canSelectItem(t) && (l.add(t), l.anchorKey = t, l.currentKey = t), !(this.disallowEmptySelection && l.size === 0) && this.state.setSelectedKeys(l);
1938
+ }
1939
+ /**
1940
+ * Replaces the selection with only the given key.
1941
+ */
1942
+ replaceSelection(e) {
1943
+ if (this.selectionMode === "none") return;
1944
+ let t = this.getKey(e);
1945
+ if (t == null) return;
1946
+ let l = this.canSelectItem(t) ? new j([
1947
+ t
1948
+ ], t, t) : new j();
1949
+ this.state.setSelectedKeys(l);
1950
+ }
1951
+ /**
1952
+ * Replaces the selection with the given keys.
1953
+ */
1954
+ setSelectedKeys(e) {
1955
+ if (this.selectionMode === "none") return;
1956
+ let t = new j();
1957
+ for (let l of e) {
1958
+ let i = this.getKey(l);
1959
+ if (i != null && (t.add(i), this.selectionMode === "single"))
1960
+ break;
1961
+ }
1962
+ this.state.setSelectedKeys(t);
1963
+ }
1964
+ getSelectAllKeys() {
1965
+ let e = [], t = (l) => {
1966
+ for (; l != null; ) {
1967
+ if (this.canSelectItem(l)) {
1968
+ var i;
1969
+ let r = this.collection.getItem(l);
1970
+ (r == null ? void 0 : r.type) === "item" && e.push(l);
1971
+ var o;
1972
+ r != null && r.hasChildNodes && (this.allowsCellSelection || r.type !== "item") && t((o = (i = vi(kt(r, this.collection))) === null || i === void 0 ? void 0 : i.key) !== null && o !== void 0 ? o : null);
1973
+ }
1974
+ l = this.collection.getKeyAfter(l);
1975
+ }
1976
+ };
1977
+ return t(this.collection.getFirstKey()), e;
1978
+ }
1979
+ /**
1980
+ * Selects all items in the collection.
1981
+ */
1982
+ selectAll() {
1983
+ !this.isSelectAll && this.selectionMode === "multiple" && this.state.setSelectedKeys("all");
1984
+ }
1985
+ /**
1986
+ * Removes all keys from the selection.
1987
+ */
1988
+ clearSelection() {
1989
+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new j());
1990
+ }
1991
+ /**
1992
+ * Toggles between select all and an empty selection.
1993
+ */
1994
+ toggleSelectAll() {
1995
+ this.isSelectAll ? this.clearSelection() : this.selectAll();
1996
+ }
1997
+ select(e, t) {
1998
+ this.selectionMode !== "none" && (this.selectionMode === "single" ? this.isSelected(e) && !this.disallowEmptySelection ? this.toggleSelection(e) : this.replaceSelection(e) : this.selectionBehavior === "toggle" || t && (t.pointerType === "touch" || t.pointerType === "virtual") ? this.toggleSelection(e) : this.replaceSelection(e));
1999
+ }
2000
+ /**
2001
+ * Returns whether the current selection is equal to the given selection.
2002
+ */
2003
+ isSelectionEqual(e) {
2004
+ if (e === this.state.selectedKeys) return !0;
2005
+ let t = this.selectedKeys;
2006
+ if (e.size !== t.size) return !1;
2007
+ for (let l of e)
2008
+ if (!t.has(l)) return !1;
2009
+ for (let l of t)
2010
+ if (!e.has(l)) return !1;
2011
+ return !0;
2012
+ }
2013
+ canSelectItem(e) {
2014
+ var t;
2015
+ if (this.state.selectionMode === "none" || this.state.disabledKeys.has(e)) return !1;
2016
+ let l = this.collection.getItem(e);
2017
+ return !(!l || !(l == null || (t = l.props) === null || t === void 0) && t.isDisabled || l.type === "cell" && !this.allowsCellSelection);
2018
+ }
2019
+ isDisabled(e) {
2020
+ var t, l;
2021
+ return this.state.disabledBehavior === "all" && (this.state.disabledKeys.has(e) || !!(!((l = this.collection.getItem(e)) === null || l === void 0 || (t = l.props) === null || t === void 0) && t.isDisabled));
2022
+ }
2023
+ isLink(e) {
2024
+ var t, l;
2025
+ return !!(!((l = this.collection.getItem(e)) === null || l === void 0 || (t = l.props) === null || t === void 0) && t.href);
2026
+ }
2027
+ getItemProps(e) {
2028
+ var t;
2029
+ return (t = this.collection.getItem(e)) === null || t === void 0 ? void 0 : t.props;
2030
+ }
2031
+ withCollection(e) {
2032
+ return new Ue(e, this.state, {
2033
+ allowsCellSelection: this.allowsCellSelection,
2034
+ layoutDelegate: this.layoutDelegate || void 0
2035
+ });
2036
+ }
2037
+ constructor(e, t, l) {
2038
+ this.collection = e, this.state = t;
2039
+ var i;
2040
+ this.allowsCellSelection = (i = l == null ? void 0 : l.allowsCellSelection) !== null && i !== void 0 ? i : !1, this._isSelectAll = null, this.layoutDelegate = (l == null ? void 0 : l.layoutDelegate) || null;
2041
+ }
2042
+ }
2043
+ function Ai(n) {
2044
+ let { filter: e, layoutDelegate: t } = n, l = Li(n), i = T(() => n.disabledKeys ? new Set(n.disabledKeys) : /* @__PURE__ */ new Set(), [
2045
+ n.disabledKeys
2046
+ ]), o = J((c) => e ? new at(e(c)) : new at(c), [
2047
+ e
2048
+ ]), r = T(() => ({
2049
+ suppressTextValueWarning: n.suppressTextValueWarning
2050
+ }), [
2051
+ n.suppressTextValueWarning
2052
+ ]), s = pi(n, o, r), a = T(() => new Ue(s, l, {
2053
+ layoutDelegate: t
2054
+ }), [
2055
+ s,
2056
+ l,
2057
+ t
2058
+ ]);
2059
+ return Rt(s, a), {
2060
+ collection: s,
2061
+ disabledKeys: i,
2062
+ selectionManager: a
2063
+ };
2064
+ }
2065
+ function Ri(n, e) {
2066
+ let t = T(() => e ? n.collection.UNSTABLE_filter(e) : n.collection, [
2067
+ n.collection,
2068
+ e
2069
+ ]), l = n.selectionManager.withCollection(t);
2070
+ return Rt(t, l), {
2071
+ collection: t,
2072
+ selectionManager: l,
2073
+ disabledKeys: n.disabledKeys
2074
+ };
2075
+ }
2076
+ function Rt(n, e) {
2077
+ const t = P(null);
2078
+ Y(() => {
2079
+ if (e.focusedKey != null && !n.getItem(e.focusedKey) && t.current) {
2080
+ const v = t.current.getItem(e.focusedKey), h = [
2081
+ ...t.current.getKeys()
2082
+ ].map(($) => {
2083
+ const S = t.current.getItem($);
2084
+ return (S == null ? void 0 : S.type) === "item" ? S : null;
2085
+ }).filter(($) => $ !== null), d = [
2086
+ ...n.getKeys()
2087
+ ].map(($) => {
2088
+ const S = n.getItem($);
2089
+ return (S == null ? void 0 : S.type) === "item" ? S : null;
2090
+ }).filter(($) => $ !== null);
2091
+ var l, i;
2092
+ const y = ((l = h == null ? void 0 : h.length) !== null && l !== void 0 ? l : 0) - ((i = d == null ? void 0 : d.length) !== null && i !== void 0 ? i : 0);
2093
+ var o, r, s;
2094
+ let b = Math.min(y > 1 ? Math.max(((o = v == null ? void 0 : v.index) !== null && o !== void 0 ? o : 0) - y + 1, 0) : (r = v == null ? void 0 : v.index) !== null && r !== void 0 ? r : 0, ((s = d == null ? void 0 : d.length) !== null && s !== void 0 ? s : 0) - 1), x = null, g = !1;
2095
+ for (; b >= 0; ) {
2096
+ if (!e.isDisabled(d[b].key)) {
2097
+ x = d[b];
2098
+ break;
2099
+ }
2100
+ if (b < d.length - 1 && !g) b++;
2101
+ else {
2102
+ g = !0;
2103
+ var a, c;
2104
+ b > ((a = v == null ? void 0 : v.index) !== null && a !== void 0 ? a : 0) && (b = (c = v == null ? void 0 : v.index) !== null && c !== void 0 ? c : 0), b--;
2105
+ }
2106
+ }
2107
+ e.setFocusedKey(x ? x.key : null);
2108
+ }
2109
+ t.current = n;
2110
+ }, [
2111
+ n,
2112
+ e
2113
+ ]);
2114
+ }
2115
+ const Bi = /* @__PURE__ */ O(null), Bt = /* @__PURE__ */ O(null), Bn = /* @__PURE__ */ kl(function(e, t) {
2116
+ [e, t] = ce(e, t, Bt);
2117
+ let { validationBehavior: l } = ft(Tl) || {};
2118
+ var i, o;
2119
+ let r = (o = (i = e.validationBehavior) !== null && i !== void 0 ? i : l) !== null && o !== void 0 ? o : "native", s = P(null), [a, c] = ce({}, s, Pe), [v, h] = ht(!e["aria-label"] && !e["aria-labelledby"]), [d, y] = te("input"), { labelProps: b, inputProps: x, descriptionProps: g, errorMessageProps: $, ...S } = Bl({
2120
+ ...pt(e),
2121
+ inputElementType: d,
2122
+ label: h,
2123
+ validationBehavior: r
2124
+ }, c), w = J((C) => {
2125
+ c.current = C, C && y(C instanceof HTMLTextAreaElement ? "textarea" : "input");
2126
+ }, [
2127
+ c
2128
+ ]), k = oe({
2129
+ ...e,
2130
+ values: {
2131
+ isDisabled: e.isDisabled || !1,
2132
+ isInvalid: S.isInvalid,
2133
+ isReadOnly: e.isReadOnly || !1,
2134
+ isRequired: e.isRequired || !1
2135
+ },
2136
+ defaultClassName: "react-aria-TextField"
2137
+ }), F = se(e);
2138
+ return delete F.id, /* @__PURE__ */ m.createElement("div", {
2139
+ ...F,
2140
+ ...k,
2141
+ ref: t,
2142
+ slot: e.slot || void 0,
2143
+ "data-disabled": e.isDisabled || void 0,
2144
+ "data-invalid": S.isInvalid || void 0,
2145
+ "data-readonly": e.isReadOnly || void 0,
2146
+ "data-required": e.isRequired || void 0
2147
+ }, /* @__PURE__ */ m.createElement(fe, {
2148
+ values: [
2149
+ [
2150
+ Al,
2151
+ {
2152
+ ...b,
2153
+ ref: v
2154
+ }
2155
+ ],
2156
+ [
2157
+ Pe,
2158
+ {
2159
+ ...W(x, a),
2160
+ ref: w
2161
+ }
2162
+ ],
2163
+ [
2164
+ Rl,
2165
+ {
2166
+ ...x,
2167
+ ref: w
2168
+ }
2169
+ ],
2170
+ [
2171
+ bt,
2172
+ {
2173
+ slots: {
2174
+ description: g,
2175
+ errorMessage: $
2176
+ }
2177
+ }
2178
+ ],
2179
+ [
2180
+ Ll,
2181
+ S
2182
+ ]
2183
+ ]
2184
+ }, k.children));
2185
+ });
2186
+ var Vt = {};
2187
+ Vt = {
2188
+ collectionLabel: "مقترحات"
2189
+ };
2190
+ var Ot = {};
2191
+ Ot = {
2192
+ collectionLabel: "Предложения"
2193
+ };
2194
+ var Nt = {};
2195
+ Nt = {
2196
+ collectionLabel: "Návrhy"
2197
+ };
2198
+ var zt = {};
2199
+ zt = {
2200
+ collectionLabel: "Forslag"
2201
+ };
2202
+ var Ut = {};
2203
+ Ut = {
2204
+ collectionLabel: "Empfehlungen"
2205
+ };
2206
+ var Ht = {};
2207
+ Ht = {
2208
+ collectionLabel: "Προτάσεις"
2209
+ };
2210
+ var qt = {};
2211
+ qt = {
2212
+ collectionLabel: "Suggestions"
2213
+ };
2214
+ var Wt = {};
2215
+ Wt = {
2216
+ collectionLabel: "Sugerencias"
2217
+ };
2218
+ var _t = {};
2219
+ _t = {
2220
+ collectionLabel: "Soovitused"
2221
+ };
2222
+ var Gt = {};
2223
+ Gt = {
2224
+ collectionLabel: "Ehdotukset"
2225
+ };
2226
+ var jt = {};
2227
+ jt = {
2228
+ collectionLabel: "Suggestions"
2229
+ };
2230
+ var Yt = {};
2231
+ Yt = {
2232
+ collectionLabel: "הצעות"
2233
+ };
2234
+ var Jt = {};
2235
+ Jt = {
2236
+ collectionLabel: "Prijedlozi"
2237
+ };
2238
+ var Xt = {};
2239
+ Xt = {
2240
+ collectionLabel: "Javaslatok"
2241
+ };
2242
+ var Zt = {};
2243
+ Zt = {
2244
+ collectionLabel: "Suggerimenti"
2245
+ };
2246
+ var Qt = {};
2247
+ Qt = {
2248
+ collectionLabel: "候補"
2249
+ };
2250
+ var el = {};
2251
+ el = {
2252
+ collectionLabel: "제안"
2253
+ };
2254
+ var tl = {};
2255
+ tl = {
2256
+ collectionLabel: "Pasiūlymai"
2257
+ };
2258
+ var ll = {};
2259
+ ll = {
2260
+ collectionLabel: "Ieteikumi"
2261
+ };
2262
+ var il = {};
2263
+ il = {
2264
+ collectionLabel: "Forslag"
2265
+ };
2266
+ var nl = {};
2267
+ nl = {
2268
+ collectionLabel: "Suggesties"
2269
+ };
2270
+ var ol = {};
2271
+ ol = {
2272
+ collectionLabel: "Sugestie"
2273
+ };
2274
+ var rl = {};
2275
+ rl = {
2276
+ collectionLabel: "Sugestões"
2277
+ };
2278
+ var sl = {};
2279
+ sl = {
2280
+ collectionLabel: "Sugestões"
2281
+ };
2282
+ var al = {};
2283
+ al = {
2284
+ collectionLabel: "Sugestii"
2285
+ };
2286
+ var ul = {};
2287
+ ul = {
2288
+ collectionLabel: "Предложения"
2289
+ };
2290
+ var dl = {};
2291
+ dl = {
2292
+ collectionLabel: "Návrhy"
2293
+ };
2294
+ var cl = {};
2295
+ cl = {
2296
+ collectionLabel: "Predlogi"
2297
+ };
2298
+ var fl = {};
2299
+ fl = {
2300
+ collectionLabel: "Predlozi"
2301
+ };
2302
+ var hl = {};
2303
+ hl = {
2304
+ collectionLabel: "Förslag"
2305
+ };
2306
+ var pl = {};
2307
+ pl = {
2308
+ collectionLabel: "Öneriler"
2309
+ };
2310
+ var vl = {};
2311
+ vl = {
2312
+ collectionLabel: "Пропозиції"
2313
+ };
2314
+ var yl = {};
2315
+ yl = {
2316
+ collectionLabel: "建议"
2317
+ };
2318
+ var bl = {};
2319
+ bl = {
2320
+ collectionLabel: "建議"
2321
+ };
2322
+ var gl = {};
2323
+ gl = {
2324
+ "ar-AE": Vt,
2325
+ "bg-BG": Ot,
2326
+ "cs-CZ": Nt,
2327
+ "da-DK": zt,
2328
+ "de-DE": Ut,
2329
+ "el-GR": Ht,
2330
+ "en-US": qt,
2331
+ "es-ES": Wt,
2332
+ "et-EE": _t,
2333
+ "fi-FI": Gt,
2334
+ "fr-FR": jt,
2335
+ "he-IL": Yt,
2336
+ "hr-HR": Jt,
2337
+ "hu-HU": Xt,
2338
+ "it-IT": Zt,
2339
+ "ja-JP": Qt,
2340
+ "ko-KR": el,
2341
+ "lt-LT": tl,
2342
+ "lv-LV": ll,
2343
+ "nb-NO": il,
2344
+ "nl-NL": nl,
2345
+ "pl-PL": ol,
2346
+ "pt-BR": rl,
2347
+ "pt-PT": sl,
2348
+ "ro-RO": al,
2349
+ "ru-RU": ul,
2350
+ "sk-SK": dl,
2351
+ "sl-SI": cl,
2352
+ "sr-SP": fl,
2353
+ "sv-SE": hl,
2354
+ "tr-TR": pl,
2355
+ "uk-UA": vl,
2356
+ "zh-CN": yl,
2357
+ "zh-TW": bl
2358
+ };
2359
+ function Vi(n) {
2360
+ return n && n.__esModule ? n.default : n;
2361
+ }
2362
+ function Oi(n, e) {
2363
+ let { inputRef: t, collectionRef: l, filter: i, disableAutoFocusFirst: o = !1 } = n, r = re(), s = P(void 0), a = P(!1), c = P(null), v = P(null), h = Ie() !== "virtual";
2364
+ Y(() => () => clearTimeout(s.current), []);
2365
+ let d = ee((p) => {
2366
+ !p.isTrusted && h && t.current && ke(Be(t.current)) !== t.current && t.current.focus();
2367
+ let K = p.target;
2368
+ p.isTrusted || !K || c.current === K.id || (clearTimeout(s.current), K !== l.current ? a.current ? (c.current = K.id, s.current = setTimeout(() => {
2369
+ e.setFocusedNodeId(K.id);
2370
+ }, 500)) : (c.current = K.id, e.setFocusedNodeId(K.id)) : (c.current = null, e.setFocusedNodeId(null)), a.current = !1);
2371
+ }), y = J((p) => {
2372
+ var K;
2373
+ if (p != null) {
2374
+ var I;
2375
+ (I = v.current) === null || I === void 0 || I.removeEventListener("focusin", d), v.current = p, p.addEventListener("focusin", d);
2376
+ } else (K = v.current) === null || K === void 0 || K.removeEventListener("focusin", d);
2377
+ }, [
2378
+ d
2379
+ ]), b = he(T(() => vt(l, y), [
2380
+ l,
2381
+ y
2382
+ ])), x = ee(() => {
2383
+ var p;
2384
+ a.current = !0, (p = l.current) === null || p === void 0 || p.dispatchEvent(new CustomEvent(Te, {
2385
+ cancelable: !0,
2386
+ bubbles: !0,
2387
+ detail: {
2388
+ focusStrategy: "first"
2389
+ }
2390
+ }));
2391
+ }), g = ee((p) => {
2392
+ var K;
2393
+ Ve(ke()), c.current = null, e.setFocusedNodeId(null);
2394
+ let I = new CustomEvent(wt, {
2395
+ cancelable: !0,
2396
+ bubbles: !0,
2397
+ detail: {
2398
+ clearFocusKey: p
2399
+ }
2400
+ });
2401
+ clearTimeout(s.current), a.current = !1, (K = l.current) === null || K === void 0 || K.dispatchEvent(I);
2402
+ }), $ = (p) => {
2403
+ e.inputValue !== p && e.inputValue.length <= p.length && !o ? x() : g(!0), e.setInputValue(p);
2404
+ }, S = P(null), w = (p) => {
2405
+ var K;
2406
+ if (S.current = p.target, p.nativeEvent.isComposing) return;
2407
+ let I = c.current;
2408
+ switch (p.key) {
2409
+ case "a":
2410
+ if (Q(p)) return;
2411
+ break;
2412
+ case "Escape":
2413
+ if (p.isDefaultPrevented()) return;
2414
+ break;
2415
+ case " ":
2416
+ return;
2417
+ case "Tab":
2418
+ "continuePropagation" in p && p.continuePropagation();
2419
+ return;
2420
+ case "Home":
2421
+ case "End":
2422
+ case "PageDown":
2423
+ case "PageUp":
2424
+ case "ArrowUp":
2425
+ case "ArrowDown": {
2426
+ var V;
2427
+ if ((p.key === "Home" || p.key === "End") && I == null && p.shiftKey) return;
2428
+ p.preventDefault();
2429
+ let H = new CustomEvent(Te, {
2430
+ cancelable: !0,
2431
+ bubbles: !0
2432
+ });
2433
+ (V = l.current) === null || V === void 0 || V.dispatchEvent(H);
2434
+ break;
2435
+ }
2436
+ }
2437
+ p.isPropagationStopped() || p.stopPropagation();
2438
+ let U = !0;
2439
+ if (I == null) U = ((K = l.current) === null || K === void 0 ? void 0 : K.dispatchEvent(new KeyboardEvent(p.nativeEvent.type, p.nativeEvent))) || !1;
2440
+ else {
2441
+ let H = document.getElementById(I);
2442
+ U = (H == null ? void 0 : H.dispatchEvent(new KeyboardEvent(p.nativeEvent.type, p.nativeEvent))) || !1;
2443
+ }
2444
+ if (U) switch (p.key) {
2445
+ case "ArrowLeft":
2446
+ case "ArrowRight":
2447
+ g();
2448
+ break;
2449
+ }
2450
+ }, k = ee((p) => {
2451
+ if (p.target === S.current) {
2452
+ var K;
2453
+ p.stopImmediatePropagation();
2454
+ let I = c.current;
2455
+ if (I == null) (K = l.current) === null || K === void 0 || K.dispatchEvent(new KeyboardEvent(p.type, p));
2456
+ else {
2457
+ let V = document.getElementById(I);
2458
+ V == null || V.dispatchEvent(new KeyboardEvent(p.type, p));
2459
+ }
2460
+ }
2461
+ });
2462
+ Y(() => (document.addEventListener("keyup", k, !0), () => {
2463
+ document.removeEventListener("keyup", k, !0);
2464
+ }), [
2465
+ k
2466
+ ]);
2467
+ let F = Hl(Vi(gl), "@react-aria/autocomplete"), C = Nl({
2468
+ id: r,
2469
+ "aria-label": F.format("collectionLabel")
2470
+ }), A = J((p) => i ? i(p, e.inputValue) : !0, [
2471
+ e.inputValue,
2472
+ i
2473
+ ]), M = (p) => {
2474
+ if (!p.isTrusted) return;
2475
+ let K = c.current ? document.getElementById(c.current) : null;
2476
+ K && Le(K, p.relatedTarget);
2477
+ }, G = (p) => {
2478
+ if (!p.isTrusted) return;
2479
+ let K = c.current ? document.getElementById(c.current) : null;
2480
+ if (K) {
2481
+ let I = p.target;
2482
+ queueMicrotask(() => {
2483
+ Le(I, K), Ct(K, I);
2484
+ });
2485
+ }
2486
+ };
2487
+ var B;
2488
+ return {
2489
+ textFieldProps: {
2490
+ value: e.inputValue,
2491
+ onChange: $,
2492
+ onKeyDown: w,
2493
+ autoComplete: "off",
2494
+ "aria-haspopup": "listbox",
2495
+ "aria-controls": r,
2496
+ // TODO: readd proper logic for completionMode = complete (aria-autocomplete: both)
2497
+ "aria-autocomplete": "list",
2498
+ "aria-activedescendant": (B = e.focusedNodeId) !== null && B !== void 0 ? B : void 0,
2499
+ // This disable's iOS's autocorrect suggestions, since the autocomplete provides its own suggestions.
2500
+ autoCorrect: "off",
2501
+ // This disable's the macOS Safari spell check auto corrections.
2502
+ spellCheck: "false",
2503
+ enterKeyHint: "go",
2504
+ onBlur: M,
2505
+ onFocus: G
2506
+ },
2507
+ collectionProps: W(C, {
2508
+ shouldUseVirtualFocus: h,
2509
+ disallowTypeAhead: !0
2510
+ }),
2511
+ collectionRef: b,
2512
+ filter: i != null ? A : void 0
2513
+ };
2514
+ }
2515
+ function Ni(n) {
2516
+ let { onInputChange: e, inputValue: t, defaultInputValue: l = "" } = n, i = (c) => {
2517
+ e && e(c);
2518
+ }, [o, r] = te(null), [s, a] = $t(t, l, i);
2519
+ return {
2520
+ inputValue: s,
2521
+ setInputValue: a,
2522
+ focusedNodeId: o,
2523
+ setFocusedNodeId: r
2524
+ };
2525
+ }
2526
+ const zi = /* @__PURE__ */ O(null), Ui = /* @__PURE__ */ O(null), $l = /* @__PURE__ */ O(null);
2527
+ function Vn(n) {
2528
+ let e = ft(zi, n.slot);
2529
+ n = W(e, n);
2530
+ let { filter: t, disableAutoFocusFirst: l } = n, i = Ni(n), o = P(null), r = P(null), { textFieldProps: s, collectionProps: a, collectionRef: c, filter: v } = Oi({
2531
+ ...pt(n),
2532
+ filter: t,
2533
+ disableAutoFocusFirst: l,
2534
+ inputRef: o,
2535
+ collectionRef: r
2536
+ }, i);
2537
+ return /* @__PURE__ */ m.createElement(fe, {
2538
+ values: [
2539
+ [
2540
+ Ui,
2541
+ i
2542
+ ],
2543
+ [
2544
+ Bi,
2545
+ s
2546
+ ],
2547
+ [
2548
+ Bt,
2549
+ s
2550
+ ],
2551
+ [
2552
+ Pe,
2553
+ {
2554
+ ref: o
2555
+ }
2556
+ ],
2557
+ [
2558
+ $l,
2559
+ {
2560
+ filter: v,
2561
+ collectionProps: a,
2562
+ collectionRef: c
2563
+ }
2564
+ ]
2565
+ ]
2566
+ }, n.children);
2567
+ }
2568
+ const Hi = /* @__PURE__ */ O(null), qi = {
2569
+ CollectionRoot({ collection: n, renderDropIndicator: e }) {
2570
+ return dt(n, null, e);
2571
+ },
2572
+ CollectionBranch({ collection: n, parent: e, renderDropIndicator: t }) {
2573
+ return dt(n, e, t);
2574
+ }
2575
+ };
2576
+ function dt(n, e, t) {
2577
+ return Ft({
2578
+ items: e ? n.getChildren(e.key) : n,
2579
+ dependencies: [
2580
+ t
2581
+ ],
2582
+ children(l) {
2583
+ let i = l.render(l);
2584
+ return !t || l.type !== "item" ? i : /* @__PURE__ */ m.createElement(m.Fragment, null, t({
2585
+ type: "item",
2586
+ key: l.key,
2587
+ dropPosition: "before"
2588
+ }), i, Wi(n, l, t));
2589
+ }
2590
+ });
2591
+ }
2592
+ function Wi(n, e, t) {
2593
+ let l = e.key, i = n.getKeyAfter(l), o = i != null ? n.getItem(i) : null;
2594
+ for (; o != null && o.type !== "item"; )
2595
+ i = n.getKeyAfter(o.key), o = i != null ? n.getItem(i) : null;
2596
+ let r = e.nextKey != null ? n.getItem(e.nextKey) : null;
2597
+ for (; r != null && r.type !== "item"; ) r = r.nextKey != null ? n.getItem(r.nextKey) : null;
2598
+ let s = [];
2599
+ if (r == null) {
2600
+ let a = e;
2601
+ for (; a && (!o || a.parentKey !== o.parentKey && o.level < a.level); ) {
2602
+ let c = t({
2603
+ type: "item",
2604
+ key: a.key,
2605
+ dropPosition: "after"
2606
+ });
2607
+ /* @__PURE__ */ Cl(c) && s.push(/* @__PURE__ */ ct(c, {
2608
+ key: `${a.key}-after`
2609
+ })), a = a.parentKey != null ? n.getItem(a.parentKey) : null;
2610
+ }
2611
+ }
2612
+ return s;
2613
+ }
2614
+ const He = /* @__PURE__ */ O(qi);
2615
+ function On(n) {
2616
+ return T(() => n != null ? /* @__PURE__ */ new Set([
2617
+ n
2618
+ ]) : null, [
2619
+ n
2620
+ ]);
2621
+ }
2622
+ const pe = /* @__PURE__ */ O({}), ml = /* @__PURE__ */ O(null), _i = /* @__PURE__ */ ne(function(e, t) {
2623
+ let { render: l } = R(ml);
2624
+ return /* @__PURE__ */ m.createElement(m.Fragment, null, l(e, t));
2625
+ });
2626
+ function xl(n, e) {
2627
+ var t;
2628
+ let l = n == null ? void 0 : n.renderDropIndicator, i = n == null || (t = n.isVirtualDragging) === null || t === void 0 ? void 0 : t.call(n), o = J((r) => {
2629
+ if (i || e != null && e.isDropTarget(r)) return l ? l(r) : /* @__PURE__ */ m.createElement(_i, {
2630
+ target: r
2631
+ });
2632
+ }, [
2633
+ e == null ? void 0 : e.target,
2634
+ i,
2635
+ l
2636
+ ]);
2637
+ return n != null && n.useDropIndicator ? o : void 0;
2638
+ }
2639
+ function Gi(n, e, t) {
2640
+ var l, i;
2641
+ let o = n.focusedKey, r = null;
2642
+ if (!(e == null || (l = e.isVirtualDragging) === null || l === void 0) && l.call(e) && (t == null || (i = t.target) === null || i === void 0 ? void 0 : i.type) === "item") {
2643
+ r = t.target.key;
2644
+ var s;
2645
+ t.target.dropPosition === "after" && (r = (s = t.collection.getKeyAfter(r)) !== null && s !== void 0 ? s : r);
2646
+ }
2647
+ return T(() => new Set([
2648
+ o,
2649
+ r
2650
+ ].filter((a) => a != null)), [
2651
+ o,
2652
+ r
2653
+ ]);
2654
+ }
2655
+ const Sl = /* @__PURE__ */ O({}), Nn = /* @__PURE__ */ Lt("header", function(e, t) {
2656
+ return [e, t] = ce(e, t, Sl), /* @__PURE__ */ m.createElement("header", {
2657
+ className: "react-aria-Header",
2658
+ ...e,
2659
+ ref: t
2660
+ }, e.children);
2661
+ }), ji = /* @__PURE__ */ O({}), Kl = /* @__PURE__ */ O(null), ve = /* @__PURE__ */ O(null), zn = /* @__PURE__ */ ne(function(e, t) {
2662
+ [e, t] = ce(e, t, Kl);
2663
+ let l = R(ve);
2664
+ return l ? /* @__PURE__ */ m.createElement(Dl, {
2665
+ state: l,
2666
+ props: e,
2667
+ listBoxRef: t
2668
+ }) : /* @__PURE__ */ m.createElement(wi, {
2669
+ content: /* @__PURE__ */ m.createElement(Fi, e)
2670
+ }, (i) => /* @__PURE__ */ m.createElement(Yi, {
2671
+ props: e,
2672
+ listBoxRef: t,
2673
+ collection: i
2674
+ }));
2675
+ });
2676
+ function Yi({ props: n, listBoxRef: e, collection: t }) {
2677
+ n = {
2678
+ ...n,
2679
+ collection: t,
2680
+ children: null,
2681
+ items: null
2682
+ };
2683
+ let { layoutDelegate: l } = R(He), i = Ai({
2684
+ ...n,
2685
+ layoutDelegate: l
2686
+ });
2687
+ return /* @__PURE__ */ m.createElement(Dl, {
2688
+ state: i,
2689
+ props: n,
2690
+ listBoxRef: e
2691
+ });
2692
+ }
2693
+ function Dl({ state: n, props: e, listBoxRef: t }) {
2694
+ var l;
2695
+ let { filter: i, collectionProps: o, collectionRef: r } = R($l) || {};
2696
+ e = T(() => o ? {
2697
+ ...e,
2698
+ ...o
2699
+ } : e, [
2700
+ e,
2701
+ o
2702
+ ]);
2703
+ let { dragAndDropHooks: s, layout: a = "stack", orientation: c = "vertical" } = e;
2704
+ t = he(T(() => vt(t, r !== void 0 ? r : null), [
2705
+ r,
2706
+ t
2707
+ ]));
2708
+ let v = Ri(n, i), { collection: h, selectionManager: d } = v, y = !!(s != null && s.useDraggableCollectionState), b = !!(s != null && s.useDroppableCollectionState), { direction: x } = Kt(), { disabledBehavior: g, disabledKeys: $ } = d, S = Dt({
2709
+ usage: "search",
2710
+ sensitivity: "base"
2711
+ }), { isVirtualized: w, layoutDelegate: k, dropTargetDelegate: F, CollectionRoot: C } = R(He), A = T(() => e.keyboardDelegate || new Pt({
2712
+ collection: h,
2713
+ collator: S,
2714
+ ref: t,
2715
+ disabledKeys: $,
2716
+ disabledBehavior: g,
2717
+ layout: a,
2718
+ orientation: c,
2719
+ direction: x,
2720
+ layoutDelegate: k
2721
+ }), [
2722
+ h,
2723
+ S,
2724
+ t,
2725
+ g,
2726
+ $,
2727
+ c,
2728
+ x,
2729
+ e.keyboardDelegate,
2730
+ a,
2731
+ k
2732
+ ]), { listBoxProps: M } = ci({
2733
+ ...e,
2734
+ shouldSelectOnPressUp: y || e.shouldSelectOnPressUp,
2735
+ keyboardDelegate: A,
2736
+ isVirtualized: w
2737
+ }, v, t), G = P(y), B = P(b);
2738
+ Y(() => {
2739
+ process.env.NODE_ENV !== "production" && (G.current !== y && console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."), B.current !== b && console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."));
2740
+ }, [
2741
+ y,
2742
+ b
2743
+ ]);
2744
+ let p, K, I, V = !1, U = null, H = P(null);
2745
+ if (y && s) {
2746
+ p = s.useDraggableCollectionState({
2747
+ collection: h,
2748
+ selectionManager: d,
2749
+ preview: s.renderDragPreview ? H : void 0
2750
+ }), s.useDraggableCollection({}, p, t);
2751
+ let _ = s.DragPreview;
2752
+ U = s.renderDragPreview ? /* @__PURE__ */ m.createElement(_, {
2753
+ ref: H
2754
+ }, s.renderDragPreview) : null;
2755
+ }
2756
+ if (b && s) {
2757
+ K = s.useDroppableCollectionState({
2758
+ collection: h,
2759
+ selectionManager: d
2760
+ });
2761
+ let _ = s.dropTargetDelegate || F || new s.ListDropTargetDelegate(h, t, {
2762
+ orientation: c,
2763
+ layout: a,
2764
+ direction: x
2765
+ });
2766
+ I = s.useDroppableCollection({
2767
+ keyboardDelegate: A,
2768
+ dropTargetDelegate: _
2769
+ }, K, t), V = K.isDropTarget({
2770
+ type: "root"
2771
+ });
2772
+ }
2773
+ let { focusProps: f, isFocused: u, isFocusVisible: E } = Xl(), L = v.collection.size === 0 || v.collection.size === 1 && ((l = v.collection.getItem(v.collection.getFirstKey())) === null || l === void 0 ? void 0 : l.type) === "loader", N = {
2774
+ isDropTarget: V,
2775
+ isEmpty: L,
2776
+ isFocused: u,
2777
+ isFocusVisible: E,
2778
+ layout: e.layout || "stack",
2779
+ state: v
2780
+ }, z = oe({
2781
+ className: e.className,
2782
+ style: e.style,
2783
+ defaultClassName: "react-aria-ListBox",
2784
+ values: N
2785
+ }), q = null;
2786
+ return L && e.renderEmptyState && (q = /* @__PURE__ */ m.createElement("div", {
2787
+ // eslint-disable-next-line
2788
+ role: "option",
2789
+ style: {
2790
+ display: "contents"
2791
+ }
2792
+ }, e.renderEmptyState(N))), /* @__PURE__ */ m.createElement(Jl, null, /* @__PURE__ */ m.createElement("div", {
2793
+ ...se(e),
2794
+ ...W(M, f, I == null ? void 0 : I.collectionProps),
2795
+ ...z,
2796
+ ref: t,
2797
+ slot: e.slot || void 0,
2798
+ onScroll: e.onScroll,
2799
+ "data-drop-target": V || void 0,
2800
+ "data-empty": L || void 0,
2801
+ "data-focused": u || void 0,
2802
+ "data-focus-visible": E || void 0,
2803
+ "data-layout": e.layout || "stack",
2804
+ "data-orientation": e.orientation || "vertical"
2805
+ }, /* @__PURE__ */ m.createElement(fe, {
2806
+ values: [
2807
+ [
2808
+ Kl,
2809
+ e
2810
+ ],
2811
+ [
2812
+ ve,
2813
+ v
2814
+ ],
2815
+ [
2816
+ pe,
2817
+ {
2818
+ dragAndDropHooks: s,
2819
+ dragState: p,
2820
+ dropState: K
2821
+ }
2822
+ ],
2823
+ [
2824
+ ji,
2825
+ {
2826
+ elementType: "div"
2827
+ }
2828
+ ],
2829
+ [
2830
+ ml,
2831
+ {
2832
+ render: Ji
2833
+ }
2834
+ ],
2835
+ [
2836
+ Hi,
2837
+ {
2838
+ name: "ListBoxSection",
2839
+ render: wl
2840
+ }
2841
+ ]
2842
+ ]
2843
+ }, /* @__PURE__ */ m.createElement(C, {
2844
+ collection: h,
2845
+ scrollRef: t,
2846
+ persistedKeys: Gi(d, s, K),
2847
+ renderDropIndicator: xl(s, K)
2848
+ })), q, U));
2849
+ }
2850
+ function wl(n, e, t, l = "react-aria-ListBoxSection") {
2851
+ let i = R(ve), { dragAndDropHooks: o, dropState: r } = R(pe), { CollectionBranch: s } = R(He), [a, c] = ht();
2852
+ var v;
2853
+ let { headingProps: h, groupProps: d } = $i({
2854
+ heading: c,
2855
+ "aria-label": (v = n["aria-label"]) !== null && v !== void 0 ? v : void 0
2856
+ }), y = oe({
2857
+ defaultClassName: l,
2858
+ className: n.className,
2859
+ style: n.style,
2860
+ values: {}
2861
+ });
2862
+ return /* @__PURE__ */ m.createElement("section", {
2863
+ ...se(n),
2864
+ ...d,
2865
+ ...y,
2866
+ ref: e
2867
+ }, /* @__PURE__ */ m.createElement(Sl.Provider, {
2868
+ value: {
2869
+ ...h,
2870
+ ref: a
2871
+ }
2872
+ }, /* @__PURE__ */ m.createElement(s, {
2873
+ collection: i.collection,
2874
+ parent: t,
2875
+ renderDropIndicator: xl(o, r)
2876
+ })));
2877
+ }
2878
+ const Un = /* @__PURE__ */ Ii("section", wl), Hn = /* @__PURE__ */ Lt("item", function(e, t, l) {
2879
+ let i = he(t), o = R(ve), { dragAndDropHooks: r, dragState: s, dropState: a } = R(pe), { optionProps: c, labelProps: v, descriptionProps: h, ...d } = gi({
2880
+ key: l.key,
2881
+ "aria-label": e == null ? void 0 : e["aria-label"]
2882
+ }, o, i), { hoverProps: y, isHovered: b } = xt({
2883
+ isDisabled: !d.allowsSelection && !d.hasAction,
2884
+ onHoverStart: l.props.onHoverStart,
2885
+ onHoverChange: l.props.onHoverChange,
2886
+ onHoverEnd: l.props.onHoverEnd
2887
+ }), x = null;
2888
+ s && r && (x = r.useDraggableItem({
2889
+ key: l.key
2890
+ }, s));
2891
+ let g = null;
2892
+ a && r && (g = r.useDroppableItem({
2893
+ target: {
2894
+ type: "item",
2895
+ key: l.key,
2896
+ dropPosition: "on"
2897
+ }
2898
+ }, a, i));
2899
+ let $ = s && s.isDragging(l.key), S = oe({
2900
+ ...e,
2901
+ id: void 0,
2902
+ children: e.children,
2903
+ defaultClassName: "react-aria-ListBoxItem",
2904
+ values: {
2905
+ ...d,
2906
+ isHovered: b,
2907
+ selectionMode: o.selectionManager.selectionMode,
2908
+ selectionBehavior: o.selectionManager.selectionBehavior,
2909
+ allowsDragging: !!s,
2910
+ isDragging: $,
2911
+ isDropTarget: g == null ? void 0 : g.isDropTarget
2912
+ }
2913
+ });
2914
+ Y(() => {
2915
+ !l.textValue && process.env.NODE_ENV !== "production" && console.warn("A `textValue` prop is required for <ListBoxItem> elements with non-plain text children in order to support accessibility features such as type to select.");
2916
+ }, [
2917
+ l.textValue
2918
+ ]);
2919
+ let w = e.href ? "a" : "div";
2920
+ return /* @__PURE__ */ m.createElement(w, {
2921
+ ...W(c, y, x == null ? void 0 : x.dragProps, g == null ? void 0 : g.dropProps),
2922
+ ...S,
2923
+ ref: i,
2924
+ "data-allows-dragging": !!s || void 0,
2925
+ "data-selected": d.isSelected || void 0,
2926
+ "data-disabled": d.isDisabled || void 0,
2927
+ "data-hovered": b || void 0,
2928
+ "data-focused": d.isFocused || void 0,
2929
+ "data-focus-visible": d.isFocusVisible || void 0,
2930
+ "data-pressed": d.isPressed || void 0,
2931
+ "data-dragging": $ || void 0,
2932
+ "data-drop-target": (g == null ? void 0 : g.isDropTarget) || void 0,
2933
+ "data-selection-mode": o.selectionManager.selectionMode === "none" ? void 0 : o.selectionManager.selectionMode
2934
+ }, /* @__PURE__ */ m.createElement(fe, {
2935
+ values: [
2936
+ [
2937
+ bt,
2938
+ {
2939
+ slots: {
2940
+ [El]: v,
2941
+ label: v,
2942
+ description: h
2943
+ }
2944
+ }
2945
+ ]
2946
+ ]
2947
+ }, S.children));
2948
+ });
2949
+ function Ji(n, e) {
2950
+ e = he(e);
2951
+ let { dragAndDropHooks: t, dropState: l } = R(pe), { dropIndicatorProps: i, isHidden: o, isDropTarget: r } = t.useDropIndicator(n, l, e);
2952
+ return o ? null : /* @__PURE__ */ m.createElement(Zi, {
2953
+ ...n,
2954
+ dropIndicatorProps: i,
2955
+ isDropTarget: r,
2956
+ ref: e
2957
+ });
2958
+ }
2959
+ function Xi(n, e) {
2960
+ let { dropIndicatorProps: t, isDropTarget: l, ...i } = n, o = oe({
2961
+ ...i,
2962
+ defaultClassName: "react-aria-DropIndicator",
2963
+ values: {
2964
+ isDropTarget: l
2965
+ }
2966
+ });
2967
+ return /* @__PURE__ */ m.createElement("div", {
2968
+ ...t,
2969
+ ...o,
2970
+ // eslint-disable-next-line
2971
+ role: "option",
2972
+ ref: e,
2973
+ "data-drop-target": l || void 0
2974
+ });
2975
+ }
2976
+ const Zi = /* @__PURE__ */ ne(Xi);
2977
+ export {
2978
+ Ql as $,
2979
+ On as A,
2980
+ Ai as a,
2981
+ Pt as b,
2982
+ ri as c,
2983
+ wi as d,
2984
+ Kl as e,
2985
+ ve as f,
2986
+ zn as g,
2987
+ Hn as h,
2988
+ Un as i,
2989
+ Nn as j,
2990
+ Fi as k,
2991
+ Oe as l,
2992
+ ai as m,
2993
+ kt as n,
2994
+ bi as o,
2995
+ Ct as p,
2996
+ li as q,
2997
+ at as r,
2998
+ Vn as s,
2999
+ Bn as t,
3000
+ di as u,
3001
+ Rn as v,
3002
+ ui as w,
3003
+ Lt as x,
3004
+ He as y,
3005
+ qi as z
3006
+ };
3007
+ //# sourceMappingURL=ListBox-ABeVGjvU.es.js.map