@commercetools/nimbus 0.0.0-canary-20250902075758 → 0.0.0-canary-20250903145300

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 (709) hide show
  1. package/dist/chunks/{Button-Bh-FLo_8.cjs.js → Button-BtJHe9xY.cjs.js} +2 -2
  2. package/dist/chunks/{Button-Bh-FLo_8.cjs.js.map → Button-BtJHe9xY.cjs.js.map} +1 -1
  3. package/dist/chunks/{Button--gemnXF8.es.js → Button-CNBS3n5a.es.js} +3 -3
  4. package/dist/chunks/{Button--gemnXF8.es.js.map → Button-CNBS3n5a.es.js.map} +1 -1
  5. package/dist/chunks/{DateField-DVzmD_D6.es.js → DateField-Dm2Qlhbk.es.js} +71 -58
  6. package/dist/chunks/DateField-Dm2Qlhbk.es.js.map +1 -0
  7. package/dist/chunks/DateField-rweHHCKR.cjs.js +2 -0
  8. package/dist/chunks/DateField-rweHHCKR.cjs.js.map +1 -0
  9. package/dist/chunks/DatePicker-BdV6ICAm.cjs.js +2 -0
  10. package/dist/chunks/DatePicker-BdV6ICAm.cjs.js.map +1 -0
  11. package/dist/chunks/{DatePicker-_A7-hp_b.es.js → DatePicker-BthC1bZ_.es.js} +109 -105
  12. package/dist/chunks/DatePicker-BthC1bZ_.es.js.map +1 -0
  13. package/dist/chunks/Dialog-BeQ6Z6l2.es.js +1924 -0
  14. package/dist/chunks/Dialog-BeQ6Z6l2.es.js.map +1 -0
  15. package/dist/chunks/Dialog-CYa26HlL.cjs.js +2 -0
  16. package/dist/chunks/Dialog-CYa26HlL.cjs.js.map +1 -0
  17. package/dist/chunks/DragAndDrop-ChYb3tCX.es.js.map +1 -1
  18. package/dist/chunks/DragAndDrop-cOfUfFj8.cjs.js.map +1 -1
  19. package/dist/chunks/FieldError-CXcEMuBf.es.js.map +1 -1
  20. package/dist/chunks/FieldError-DyGFfqST.cjs.js.map +1 -1
  21. package/dist/chunks/FocusScope-CNO0fzPs.es.js.map +1 -1
  22. package/dist/chunks/FocusScope-DPn5XtSy.cjs.js.map +1 -1
  23. package/dist/chunks/Form-BuOomA4T.cjs.js.map +1 -1
  24. package/dist/chunks/Form-CXcEMuBf.es.js.map +1 -1
  25. package/dist/chunks/Group-Cfixd-fh.es.js.map +1 -1
  26. package/dist/chunks/Group-MdeByg6t.cjs.js.map +1 -1
  27. package/dist/chunks/{Heading-BI5vqfiY.cjs.js → Heading-BaW6t55l.cjs.js} +2 -2
  28. package/dist/chunks/{Heading-BI5vqfiY.cjs.js.map → Heading-BaW6t55l.cjs.js.map} +1 -1
  29. package/dist/chunks/{Heading-sepFdCCa.es.js → Heading-DEfy_f01.es.js} +5 -5
  30. package/dist/chunks/{Heading-sepFdCCa.es.js.map → Heading-DEfy_f01.es.js.map} +1 -1
  31. package/dist/chunks/Hidden-CNJIJ63M.cjs.js.map +1 -1
  32. package/dist/chunks/Hidden-j3Lbt7xL.es.js.map +1 -1
  33. package/dist/chunks/Input-BiHwUBo4.es.js.map +1 -1
  34. package/dist/chunks/Input-HBDt7LmM.cjs.js.map +1 -1
  35. package/dist/chunks/Keyboard-Clnp4zAC.es.js.map +1 -1
  36. package/dist/chunks/Keyboard-rYf2KxZN.cjs.js.map +1 -1
  37. package/dist/chunks/Label-B2YyCdLl.es.js.map +1 -1
  38. package/dist/chunks/Label-BgrYyYXn.cjs.js.map +1 -1
  39. package/dist/chunks/ListBox-CikEmFBx.cjs.js +2 -0
  40. package/dist/chunks/ListBox-CikEmFBx.cjs.js.map +1 -0
  41. package/dist/chunks/ListBox-DF3NHeEX.es.js +605 -0
  42. package/dist/chunks/ListBox-DF3NHeEX.es.js.map +1 -0
  43. package/dist/chunks/NumberFormatter-DewVDY5w.cjs.js.map +1 -1
  44. package/dist/chunks/NumberFormatter-DgOUVrge.es.js.map +1 -1
  45. package/dist/chunks/OverlayArrow-CYjyBtg8.cjs.js +2 -0
  46. package/dist/chunks/OverlayArrow-CYjyBtg8.cjs.js.map +1 -0
  47. package/dist/chunks/OverlayArrow-sJzRZNbO.es.js +491 -0
  48. package/dist/chunks/OverlayArrow-sJzRZNbO.es.js.map +1 -0
  49. package/dist/chunks/{ProgressBar-BNPexoD9.cjs.js → ProgressBar-BA3sLh1k.cjs.js} +2 -2
  50. package/dist/chunks/{ProgressBar-BNPexoD9.cjs.js.map → ProgressBar-BA3sLh1k.cjs.js.map} +1 -1
  51. package/dist/chunks/{ProgressBar-BnGsEC_2.es.js → ProgressBar-DjaUQI7N.es.js} +2 -2
  52. package/dist/chunks/{ProgressBar-BnGsEC_2.es.js.map → ProgressBar-DjaUQI7N.es.js.map} +1 -1
  53. package/dist/chunks/RSPContexts-B4yvXuBR.es.js.map +1 -1
  54. package/dist/chunks/RSPContexts-CkSl9jRK.cjs.js.map +1 -1
  55. package/dist/chunks/SSRProvider-Bc-sMhsT.cjs.js.map +1 -1
  56. package/dist/chunks/SSRProvider-Cu8KibIK.es.js.map +1 -1
  57. package/dist/chunks/{Collection-Df3FPouy.es.js → SelectionManager-CLyu96pU.es.js} +627 -577
  58. package/dist/chunks/SelectionManager-CLyu96pU.es.js.map +1 -0
  59. package/dist/chunks/SelectionManager-Mrwf4SFv.cjs.js +18 -0
  60. package/dist/chunks/SelectionManager-Mrwf4SFv.cjs.js.map +1 -0
  61. package/dist/chunks/Separator-3-E2tRbk.es.js +92 -0
  62. package/dist/chunks/Separator-3-E2tRbk.es.js.map +1 -0
  63. package/dist/chunks/Separator-CAOg-vqY.cjs.js +2 -0
  64. package/dist/chunks/Separator-CAOg-vqY.cjs.js.map +1 -0
  65. package/dist/chunks/Text-BWSfeB9p.cjs.js.map +1 -1
  66. package/dist/chunks/Text-DOcU1ycg.es.js.map +1 -1
  67. package/dist/chunks/TextArea-BmpgvS0R.es.js.map +1 -1
  68. package/dist/chunks/TextArea-D3FFXnUy.cjs.js.map +1 -1
  69. package/dist/chunks/{ToggleButton-BoIyPi3U.es.js → ToggleButton-C3JL0pgD.es.js} +3 -3
  70. package/dist/chunks/{ToggleButton-BoIyPi3U.es.js.map → ToggleButton-C3JL0pgD.es.js.map} +1 -1
  71. package/dist/chunks/{ToggleButton-By3cqA7R.cjs.js → ToggleButton-CPAdPTCr.cjs.js} +2 -2
  72. package/dist/chunks/{ToggleButton-By3cqA7R.cjs.js.map → ToggleButton-CPAdPTCr.cjs.js.map} +1 -1
  73. package/dist/chunks/VisuallyHidden-Bv_AJXZ7.cjs.js.map +1 -1
  74. package/dist/chunks/VisuallyHidden-VHEPK04F.es.js.map +1 -1
  75. package/dist/chunks/accordion-EDJoghXQ.cjs.js +2 -0
  76. package/dist/chunks/{accordion-CAC36XIK.cjs.js.map → accordion-EDJoghXQ.cjs.js.map} +1 -1
  77. package/dist/chunks/{accordion-8XmJkF18.es.js → accordion-UL4pfC2d.es.js} +25 -25
  78. package/dist/chunks/{accordion-8XmJkF18.es.js.map → accordion-UL4pfC2d.es.js.map} +1 -1
  79. package/dist/chunks/alert-BhoRNIWA.cjs.js +2 -0
  80. package/dist/chunks/{alert-STlW7NU8.cjs.js.map → alert-BhoRNIWA.cjs.js.map} +1 -1
  81. package/dist/chunks/{alert-CbAPX3xQ.es.js → alert-D-ddqYG4.es.js} +25 -26
  82. package/dist/chunks/{alert-CbAPX3xQ.es.js.map → alert-D-ddqYG4.es.js.map} +1 -1
  83. package/dist/chunks/{avatar-B7CMxFNg.es.js → avatar-Bu12OMzz.es.js} +6 -6
  84. package/dist/chunks/{avatar-B7CMxFNg.es.js.map → avatar-Bu12OMzz.es.js.map} +1 -1
  85. package/dist/chunks/avatar-C2KIWewd.cjs.js +2 -0
  86. package/dist/chunks/{avatar-mL-2hOve.cjs.js.map → avatar-C2KIWewd.cjs.js.map} +1 -1
  87. package/dist/chunks/avatar.recipe-D3--Rkmb.cjs.js +2 -0
  88. package/dist/chunks/{avatar.recipe-CQivdbFs.cjs.js.map → avatar.recipe-D3--Rkmb.cjs.js.map} +1 -1
  89. package/dist/chunks/{avatar.recipe-CxXQlkH6.es.js → avatar.recipe-DfyPWbFZ.es.js} +2 -2
  90. package/dist/chunks/{avatar.recipe-CxXQlkH6.es.js.map → avatar.recipe-DfyPWbFZ.es.js.map} +1 -1
  91. package/dist/chunks/{badge-C2elCKPp.es.js → badge-BJd-Q81M.es.js} +5 -6
  92. package/dist/chunks/{badge-C2elCKPp.es.js.map → badge-BJd-Q81M.es.js.map} +1 -1
  93. package/dist/chunks/badge-CCrBksXu.cjs.js +2 -0
  94. package/dist/chunks/{badge-HHzfG1BI.cjs.js.map → badge-CCrBksXu.cjs.js.map} +1 -1
  95. package/dist/chunks/box-CWni3A32.cjs.js +2 -0
  96. package/dist/chunks/box-CWni3A32.cjs.js.map +1 -0
  97. package/dist/chunks/box-DuBoAZvq.es.js +12 -0
  98. package/dist/chunks/box-DuBoAZvq.es.js.map +1 -0
  99. package/dist/chunks/{button-_TqIjVy-.es.js → button-CRUdodZm.es.js} +15 -15
  100. package/dist/chunks/{button-_TqIjVy-.es.js.map → button-CRUdodZm.es.js.map} +1 -1
  101. package/dist/chunks/button-CU8FW_Pl.cjs.js +2 -0
  102. package/dist/chunks/{button-CtWoT2k5.cjs.js.map → button-CU8FW_Pl.cjs.js.map} +1 -1
  103. package/dist/chunks/button.recipe-Cqkj3VMo.cjs.js +2 -0
  104. package/dist/chunks/{button.recipe-ClPhJ93N.cjs.js.map → button.recipe-Cqkj3VMo.cjs.js.map} +1 -1
  105. package/dist/chunks/{button.recipe-D9e9Gh9L.es.js → button.recipe-NdTb5f8M.es.js} +2 -2
  106. package/dist/chunks/{button.recipe-D9e9Gh9L.es.js.map → button.recipe-NdTb5f8M.es.js.map} +1 -1
  107. package/dist/chunks/calendar-DJKWldpV.cjs.js +2 -0
  108. package/dist/chunks/{calendar-DFhIC3YS.cjs.js.map → calendar-DJKWldpV.cjs.js.map} +1 -1
  109. package/dist/chunks/{calendar-Cgm2jctu.es.js → calendar-DzwFtg1t.es.js} +22 -23
  110. package/dist/chunks/{calendar-Cgm2jctu.es.js.map → calendar-DzwFtg1t.es.js.map} +1 -1
  111. package/dist/chunks/{card-R8oaAKgo.es.js → card-BfUdf1Fy.es.js} +23 -24
  112. package/dist/chunks/{card-R8oaAKgo.es.js.map → card-BfUdf1Fy.es.js.map} +1 -1
  113. package/dist/chunks/card-DeWTV05B.cjs.js +2 -0
  114. package/dist/chunks/{card-CHfjhPF8.cjs.js.map → card-DeWTV05B.cjs.js.map} +1 -1
  115. package/dist/chunks/checkbox-6nLo9Jy2.cjs.js +2 -0
  116. package/dist/chunks/{checkbox-pYAJn7HX.cjs.js.map → checkbox-6nLo9Jy2.cjs.js.map} +1 -1
  117. package/dist/chunks/{checkbox-Ce37pKIe.es.js → checkbox-GmYxVrZx.es.js} +32 -32
  118. package/dist/chunks/{checkbox-Ce37pKIe.es.js.map → checkbox-GmYxVrZx.es.js.map} +1 -1
  119. package/dist/chunks/code-Dl7u63Zn.es.js +6 -0
  120. package/dist/chunks/code-Dl7u63Zn.es.js.map +1 -0
  121. package/dist/chunks/code-q31e3vT2.cjs.js +2 -0
  122. package/dist/chunks/code-q31e3vT2.cjs.js.map +1 -0
  123. package/dist/chunks/combobox-DtPDxCo3.cjs.js +2 -0
  124. package/dist/chunks/combobox-DtPDxCo3.cjs.js.map +1 -0
  125. package/dist/chunks/combobox-gIwba2QG.es.js +2392 -0
  126. package/dist/chunks/combobox-gIwba2QG.es.js.map +1 -0
  127. package/dist/chunks/context-OoV8SSWX.cjs.js +2 -0
  128. package/dist/chunks/{context-D0_cRaDZ.cjs.js.map → context-OoV8SSWX.cjs.js.map} +1 -1
  129. package/dist/chunks/context-R4YUlO9Y.es.js +108 -0
  130. package/dist/chunks/{context-Pt-0ojuK.es.js.map → context-R4YUlO9Y.es.js.map} +1 -1
  131. package/dist/chunks/data-table-Cpk3q34E.cjs.js +2 -0
  132. package/dist/chunks/data-table-Cpk3q34E.cjs.js.map +1 -0
  133. package/dist/chunks/{data-table-BvYN1Stn.es.js → data-table-mXLxUWQz.es.js} +1275 -1695
  134. package/dist/chunks/data-table-mXLxUWQz.es.js.map +1 -0
  135. package/dist/chunks/date-input-D5unoyMt.es.js +16 -0
  136. package/dist/chunks/{date-input-DFx77xwE.es.js.map → date-input-D5unoyMt.es.js.map} +1 -1
  137. package/dist/chunks/date-input-DJ_aFB9i.cjs.js +2 -0
  138. package/dist/chunks/{date-input-BmKSBIL2.cjs.js.map → date-input-DJ_aFB9i.cjs.js.map} +1 -1
  139. package/dist/chunks/{date-picker-BzkAJfXO.es.js → date-picker-CMqAI1lp.es.js} +30 -30
  140. package/dist/chunks/{date-picker-BzkAJfXO.es.js.map → date-picker-CMqAI1lp.es.js.map} +1 -1
  141. package/dist/chunks/date-picker-f3TylaP5.cjs.js +2 -0
  142. package/dist/chunks/{date-picker-CsGYO3HW.cjs.js.map → date-picker-f3TylaP5.cjs.js.map} +1 -1
  143. package/dist/chunks/date-range-picker-CxsPpWyX.cjs.js +2 -0
  144. package/dist/chunks/{date-range-picker-uomzPtYK.cjs.js.map → date-range-picker-CxsPpWyX.cjs.js.map} +1 -1
  145. package/dist/chunks/{date-range-picker-B1Sxvj0C.es.js → date-range-picker-Dtji64Q9.es.js} +17 -17
  146. package/dist/chunks/{date-range-picker-B1Sxvj0C.es.js.map → date-range-picker-Dtji64Q9.es.js.map} +1 -1
  147. package/dist/chunks/dialog-CVa-E9-A.cjs.js +2 -0
  148. package/dist/chunks/dialog-CVa-E9-A.cjs.js.map +1 -0
  149. package/dist/chunks/dialog-DTSuKnyk.es.js +34 -0
  150. package/dist/chunks/dialog-DTSuKnyk.es.js.map +1 -0
  151. package/dist/chunks/{divider-CpctZ_-U.es.js → divider--BAm3ca4.es.js} +7 -8
  152. package/dist/chunks/{divider-CpctZ_-U.es.js.map → divider--BAm3ca4.es.js.map} +1 -1
  153. package/dist/chunks/divider-BuizjeAj.cjs.js +2 -0
  154. package/dist/chunks/{divider-CTTExmLv.cjs.js.map → divider-BuizjeAj.cjs.js.map} +1 -1
  155. package/dist/chunks/emotion-is-prop-valid.esm-Bb7Ou5_X.cjs.js +2 -0
  156. package/dist/chunks/emotion-is-prop-valid.esm-Bb7Ou5_X.cjs.js.map +1 -0
  157. package/dist/chunks/emotion-is-prop-valid.esm-qvxbqhmq.es.js +16 -0
  158. package/dist/chunks/emotion-is-prop-valid.esm-qvxbqhmq.es.js.map +1 -0
  159. package/dist/chunks/{extractStyleProps-yFm0qaXg.cjs.js → extractStyleProps-CZpHKp1I.cjs.js} +2 -2
  160. package/dist/chunks/{extractStyleProps-yFm0qaXg.cjs.js.map → extractStyleProps-CZpHKp1I.cjs.js.map} +1 -1
  161. package/dist/chunks/{extractStyleProps-DX5GBd9K.es.js → extractStyleProps-vA4cNUoc.es.js} +2 -2
  162. package/dist/chunks/{extractStyleProps-DX5GBd9K.es.js.map → extractStyleProps-vA4cNUoc.es.js.map} +1 -1
  163. package/dist/chunks/filterDOMProps-BSVCO5jK.es.js.map +1 -1
  164. package/dist/chunks/filterDOMProps-WUskt27c.cjs.js.map +1 -1
  165. package/dist/chunks/focusSafely-DJpphVHF.es.js.map +1 -1
  166. package/dist/chunks/focusSafely-jDMW9aEx.cjs.js.map +1 -1
  167. package/dist/chunks/focusWithoutScrolling-BlyUcXdY.cjs.js.map +1 -1
  168. package/dist/chunks/focusWithoutScrolling-CDw3JYiq.es.js.map +1 -1
  169. package/dist/chunks/{form-field-B1B4BtvO.es.js → form-field-Dtcfgzyo.es.js} +31 -32
  170. package/dist/chunks/{form-field-B1B4BtvO.es.js.map → form-field-Dtcfgzyo.es.js.map} +1 -1
  171. package/dist/chunks/{form-field-6_jyAhgo.cjs.js → form-field-DxcGAb23.cjs.js} +3 -3
  172. package/dist/chunks/{form-field-6_jyAhgo.cjs.js.map → form-field-DxcGAb23.cjs.js.map} +1 -1
  173. package/dist/chunks/grid-Chuw1xje.cjs.js +2 -0
  174. package/dist/chunks/{grid-CWdLtU5p.cjs.js.map → grid-Chuw1xje.cjs.js.map} +1 -1
  175. package/dist/chunks/grid-De8qjf98.es.js +14 -0
  176. package/dist/chunks/{grid-Cdmh4YaF.es.js.map → grid-De8qjf98.es.js.map} +1 -1
  177. package/dist/chunks/{icon-DTe62Nqz.es.js → icon-BoRbJStV.es.js} +9 -10
  178. package/dist/chunks/{icon-DTe62Nqz.es.js.map → icon-BoRbJStV.es.js.map} +1 -1
  179. package/dist/chunks/icon-Cny8ZtnX.cjs.js +2 -0
  180. package/dist/chunks/{icon-C_BZeqkm.cjs.js.map → icon-Cny8ZtnX.cjs.js.map} +1 -1
  181. package/dist/chunks/{icon-button-oIKucbza.es.js → icon-button-C20Gw8gQ.es.js} +2 -2
  182. package/dist/chunks/{icon-button-oIKucbza.es.js.map → icon-button-C20Gw8gQ.es.js.map} +1 -1
  183. package/dist/chunks/{icon-button-Dqhm4rBI.cjs.js → icon-button-Cc0MkBbk.cjs.js} +2 -2
  184. package/dist/chunks/{icon-button-Dqhm4rBI.cjs.js.map → icon-button-Cc0MkBbk.cjs.js.map} +1 -1
  185. package/dist/chunks/{icon-toggle-button-BYKHQRsq.es.js → icon-toggle-button-CgHQMDs3.es.js} +2 -2
  186. package/dist/chunks/{icon-toggle-button-BYKHQRsq.es.js.map → icon-toggle-button-CgHQMDs3.es.js.map} +1 -1
  187. package/dist/chunks/{icon-toggle-button-DIfDVDd4.cjs.js → icon-toggle-button-D-C99Q0s.cjs.js} +2 -2
  188. package/dist/chunks/{icon-toggle-button-DIfDVDd4.cjs.js.map → icon-toggle-button-D-C99Q0s.cjs.js.map} +1 -1
  189. package/dist/chunks/image-CGOYoc2s.cjs.js +2 -0
  190. package/dist/chunks/{image-BAqoLZQB.cjs.js.map → image-CGOYoc2s.cjs.js.map} +1 -1
  191. package/dist/chunks/image-DRigLU80.es.js +8 -0
  192. package/dist/chunks/{image-B2WbQ5hi.es.js.map → image-DRigLU80.es.js.map} +1 -1
  193. package/dist/chunks/index-C8Yrk__l.cjs.js +4 -0
  194. package/dist/chunks/index-C8Yrk__l.cjs.js.map +1 -0
  195. package/dist/chunks/{index-DRWeBbu8.es.js → index-jAeaCpRm.es.js} +465 -72
  196. package/dist/chunks/index-jAeaCpRm.es.js.map +1 -0
  197. package/dist/chunks/intlStrings-Cd44R5hT.es.js.map +1 -1
  198. package/dist/chunks/intlStrings-ClBuC6xN.cjs.js.map +1 -1
  199. package/dist/chunks/kbd-BXN9aXRE.es.js +17 -0
  200. package/dist/chunks/{kbd-CDEXQyg2.es.js.map → kbd-BXN9aXRE.es.js.map} +1 -1
  201. package/dist/chunks/kbd-DFeaXiKY.cjs.js +2 -0
  202. package/dist/chunks/{kbd-DP3lZ80W.cjs.js.map → kbd-DFeaXiKY.cjs.js.map} +1 -1
  203. package/dist/chunks/{kbd.recipe-BTW0MQqx.es.js → kbd.recipe-DXiyvrAP.es.js} +2 -2
  204. package/dist/chunks/{kbd.recipe-BTW0MQqx.es.js.map → kbd.recipe-DXiyvrAP.es.js.map} +1 -1
  205. package/dist/chunks/kbd.recipe-DjQgeTG_.cjs.js +2 -0
  206. package/dist/chunks/{kbd.recipe-9kxAU5ro.cjs.js.map → kbd.recipe-DjQgeTG_.cjs.js.map} +1 -1
  207. package/dist/chunks/{link-BoUhLeO-.es.js → link-CFK97sc0.es.js} +4 -4
  208. package/dist/chunks/{link-BoUhLeO-.es.js.map → link-CFK97sc0.es.js.map} +1 -1
  209. package/dist/chunks/link-DWa1zIUJ.cjs.js +2 -0
  210. package/dist/chunks/{link-DTUiEXYJ.cjs.js.map → link-DWa1zIUJ.cjs.js.map} +1 -1
  211. package/dist/chunks/link.recipe-Co4-fl4U.cjs.js +2 -0
  212. package/dist/chunks/{link.recipe-BfCxtKjL.cjs.js.map → link.recipe-Co4-fl4U.cjs.js.map} +1 -1
  213. package/dist/chunks/{link.recipe-BRnFQ5bP.es.js → link.recipe-pXiGIJtI.es.js} +2 -2
  214. package/dist/chunks/{link.recipe-BRnFQ5bP.es.js.map → link.recipe-pXiGIJtI.es.js.map} +1 -1
  215. package/dist/chunks/list-DJC9BmoC.cjs.js +2 -0
  216. package/dist/chunks/list-DJC9BmoC.cjs.js.map +1 -0
  217. package/dist/chunks/list-Nz5KjWzs.es.js +13 -0
  218. package/dist/chunks/list-Nz5KjWzs.es.js.map +1 -0
  219. package/dist/chunks/{loading-spinner-C7yZE-QF.es.js → loading-spinner-CvggCl-H.es.js} +7 -8
  220. package/dist/chunks/{loading-spinner-C7yZE-QF.es.js.map → loading-spinner-CvggCl-H.es.js.map} +1 -1
  221. package/dist/chunks/loading-spinner-DdYXuYkg.cjs.js +2 -0
  222. package/dist/chunks/{loading-spinner-BLDpwNFm.cjs.js.map → loading-spinner-DdYXuYkg.cjs.js.map} +1 -1
  223. package/dist/chunks/{menu-BZWMAG92.es.js → menu-8g9Hn1nm.es.js} +34 -34
  224. package/dist/chunks/{menu-BZWMAG92.es.js.map → menu-8g9Hn1nm.es.js.map} +1 -1
  225. package/dist/chunks/menu-Bm1u-R6o.cjs.js +2 -0
  226. package/dist/chunks/{menu-C41LRy4b.cjs.js.map → menu-Bm1u-R6o.cjs.js.map} +1 -1
  227. package/dist/chunks/mergeProps-BA5Cwf5w.cjs.js.map +1 -1
  228. package/dist/chunks/mergeProps-B_9syxhT.es.js.map +1 -1
  229. package/dist/chunks/{multiline-text-input-Dy6gbL7T.es.js → multiline-text-input-BGnvpB1r.es.js} +12 -14
  230. package/dist/chunks/{multiline-text-input-Dy6gbL7T.es.js.map → multiline-text-input-BGnvpB1r.es.js.map} +1 -1
  231. package/dist/chunks/multiline-text-input-sXIlwrvT.cjs.js +12 -0
  232. package/dist/chunks/{multiline-text-input-B5XtIAAO.cjs.js.map → multiline-text-input-sXIlwrvT.cjs.js.map} +1 -1
  233. package/dist/chunks/{nimbus-provider-C68IpiXi.es.js → nimbus-provider-CybdU89B.es.js} +5 -5
  234. package/dist/chunks/{nimbus-provider-C68IpiXi.es.js.map → nimbus-provider-CybdU89B.es.js.map} +1 -1
  235. package/dist/chunks/nimbus-provider-D3DvYEDv.cjs.js +2 -0
  236. package/dist/chunks/{nimbus-provider-Yka95N38.cjs.js.map → nimbus-provider-D3DvYEDv.cjs.js.map} +1 -1
  237. package/dist/chunks/number-DHvo-MDe.cjs.js.map +1 -1
  238. package/dist/chunks/number-dMxJejI6.es.js.map +1 -1
  239. package/dist/chunks/number-input-CPnA0dO-.cjs.js +2 -0
  240. package/dist/chunks/{number-input-Dm2FFtQx.cjs.js.map → number-input-CPnA0dO-.cjs.js.map} +1 -1
  241. package/dist/chunks/{number-input-BxLU6AgG.es.js → number-input-CzObpfFa.es.js} +16 -16
  242. package/dist/chunks/{number-input-BxLU6AgG.es.js.map → number-input-CzObpfFa.es.js.map} +1 -1
  243. package/dist/chunks/openLink-Ctl0AdAy.es.js.map +1 -1
  244. package/dist/chunks/openLink-DkCJYbzq.cjs.js.map +1 -1
  245. package/dist/chunks/{password-input-CwWWxcly.cjs.js → password-input-BqhrDjyW.cjs.js} +2 -2
  246. package/dist/chunks/{password-input-CwWWxcly.cjs.js.map → password-input-BqhrDjyW.cjs.js.map} +1 -1
  247. package/dist/chunks/{password-input-DJjAz3TP.es.js → password-input-C_rdTND7.es.js} +5 -5
  248. package/dist/chunks/{password-input-DJjAz3TP.es.js.map → password-input-C_rdTND7.es.js.map} +1 -1
  249. package/dist/chunks/platform-BDLy2vDY.cjs.js.map +1 -1
  250. package/dist/chunks/platform-Z5fvtFmM.es.js.map +1 -1
  251. package/dist/chunks/progress-bar-CrS1rODC.cjs.js +2 -0
  252. package/dist/chunks/{progress-bar-nQCcdv_4.cjs.js.map → progress-bar-CrS1rODC.cjs.js.map} +1 -1
  253. package/dist/chunks/{progress-bar-CDRI279T.es.js → progress-bar-pPWJ1Sn8.es.js} +19 -19
  254. package/dist/chunks/{progress-bar-CDRI279T.es.js.map → progress-bar-pPWJ1Sn8.es.js.map} +1 -1
  255. package/dist/chunks/radio-input-BTEXrXaF.cjs.js +2 -0
  256. package/dist/chunks/{radio-input-BXFY8CaT.cjs.js.map → radio-input-BTEXrXaF.cjs.js.map} +1 -1
  257. package/dist/chunks/{radio-input-CAogtJP7.es.js → radio-input-OpbQD2zP.es.js} +42 -42
  258. package/dist/chunks/{radio-input-CAogtJP7.es.js.map → radio-input-OpbQD2zP.es.js.map} +1 -1
  259. package/dist/chunks/{range-calendar-D-CvB2-1.es.js → range-calendar-BOP_J_5a.es.js} +23 -24
  260. package/dist/chunks/{range-calendar-D-CvB2-1.es.js.map → range-calendar-BOP_J_5a.es.js.map} +1 -1
  261. package/dist/chunks/range-calendar-CFotnBzs.cjs.js +2 -0
  262. package/dist/chunks/{range-calendar-BuzvPCc1.cjs.js.map → range-calendar-CFotnBzs.cjs.js.map} +1 -1
  263. package/dist/chunks/{rich-text-input-Dmp5hx2t.cjs.js → rich-text-input-CItP9BzJ.cjs.js} +2 -2
  264. package/dist/chunks/{rich-text-input-Dmp5hx2t.cjs.js.map → rich-text-input-CItP9BzJ.cjs.js.map} +1 -1
  265. package/dist/chunks/{rich-text-input-Dv7OofX2.es.js → rich-text-input-CgrxAPHc.es.js} +13 -13
  266. package/dist/chunks/{rich-text-input-Dv7OofX2.es.js.map → rich-text-input-CgrxAPHc.es.js.map} +1 -1
  267. package/dist/chunks/scrollIntoView-BYF_8_6g.es.js.map +1 -1
  268. package/dist/chunks/scrollIntoView-BzIqpHLO.cjs.js.map +1 -1
  269. package/dist/chunks/{select-Dlg0m5Ww.es.js → select-CAeD_ZuZ.es.js} +68 -69
  270. package/dist/chunks/{select-Dlg0m5Ww.es.js.map → select-CAeD_ZuZ.es.js.map} +1 -1
  271. package/dist/chunks/select-Coyt1pJN.cjs.js +2 -0
  272. package/dist/chunks/{select-IUEop3i7.cjs.js.map → select-Coyt1pJN.cjs.js.map} +1 -1
  273. package/dist/chunks/simple-grid-Cd2MJxSX.cjs.js +2 -0
  274. package/dist/chunks/simple-grid-Cd2MJxSX.cjs.js.map +1 -0
  275. package/dist/chunks/simple-grid-DU5v66TG.es.js +15 -0
  276. package/dist/chunks/simple-grid-DU5v66TG.es.js.map +1 -0
  277. package/dist/chunks/{slate-helpers-CMAwCMk0.cjs.js → slate-helpers-BN_9Hky2.cjs.js} +3 -3
  278. package/dist/chunks/{slate-helpers-CMAwCMk0.cjs.js.map → slate-helpers-BN_9Hky2.cjs.js.map} +1 -1
  279. package/dist/chunks/{slate-helpers-BwRHJO4o.es.js → slate-helpers-DunxggA8.es.js} +45 -45
  280. package/dist/chunks/{slate-helpers-BwRHJO4o.es.js.map → slate-helpers-DunxggA8.es.js.map} +1 -1
  281. package/dist/chunks/{split-button-B4Wp7H3n.cjs.js → split-button-BYrr5vRr.cjs.js} +2 -2
  282. package/dist/chunks/{split-button-B4Wp7H3n.cjs.js.map → split-button-BYrr5vRr.cjs.js.map} +1 -1
  283. package/dist/chunks/{split-button-Dpj44F6g.es.js → split-button-j2bgcP59.es.js} +5 -5
  284. package/dist/chunks/{split-button-Dpj44F6g.es.js.map → split-button-j2bgcP59.es.js.map} +1 -1
  285. package/dist/chunks/stack-CIN13EDn.cjs.js +2 -0
  286. package/dist/chunks/stack-CIN13EDn.cjs.js.map +1 -0
  287. package/dist/chunks/stack-CoNreM7B.es.js +11 -0
  288. package/dist/chunks/stack-CoNreM7B.es.js.map +1 -0
  289. package/dist/chunks/switch-BgNpbn2e.cjs.js +2 -0
  290. package/dist/chunks/{switch-CeNcr608.cjs.js.map → switch-BgNpbn2e.cjs.js.map} +1 -1
  291. package/dist/chunks/{switch-Ba9WXDDP.es.js → switch-Cid4U3m8.es.js} +8 -8
  292. package/dist/chunks/{switch-Ba9WXDDP.es.js.map → switch-Cid4U3m8.es.js.map} +1 -1
  293. package/dist/chunks/tag-group-B3YSTBpb.cjs.js +2 -0
  294. package/dist/chunks/tag-group-B3YSTBpb.cjs.js.map +1 -0
  295. package/dist/chunks/{tag-group-BY7yGmmv.es.js → tag-group-CeNHz5QQ.es.js} +279 -266
  296. package/dist/chunks/tag-group-CeNHz5QQ.es.js.map +1 -0
  297. package/dist/chunks/text-CCW9kDT_.cjs.js +2 -0
  298. package/dist/chunks/text-CCW9kDT_.cjs.js.map +1 -0
  299. package/dist/chunks/text-DfQpupDi.es.js +24 -0
  300. package/dist/chunks/text-DfQpupDi.es.js.map +1 -0
  301. package/dist/chunks/text-input-C2y4O13I.cjs.js +2 -0
  302. package/dist/chunks/{text-input-CBcEG79G.cjs.js.map → text-input-C2y4O13I.cjs.js.map} +1 -1
  303. package/dist/chunks/text-input-TZXg0lEQ.es.js +18 -0
  304. package/dist/chunks/{text-input-82882hyq.es.js.map → text-input-TZXg0lEQ.es.js.map} +1 -1
  305. package/dist/chunks/{time-input-DAA-IK0I.es.js → time-input-CI_HoOGU.es.js} +6 -8
  306. package/dist/chunks/{time-input-DAA-IK0I.es.js.map → time-input-CI_HoOGU.es.js.map} +1 -1
  307. package/dist/chunks/time-input-cHUvGWDc.cjs.js +2 -0
  308. package/dist/chunks/{time-input-CCnD_SWq.cjs.js.map → time-input-cHUvGWDc.cjs.js.map} +1 -1
  309. package/dist/chunks/toggle-button-C9ezVsSp.cjs.js +2 -0
  310. package/dist/chunks/{toggle-button-BTYd563-.cjs.js.map → toggle-button-C9ezVsSp.cjs.js.map} +1 -1
  311. package/dist/chunks/toggle-button-a0gCembi.es.js +29 -0
  312. package/dist/chunks/{toggle-button-163ZMcpk.es.js.map → toggle-button-a0gCembi.es.js.map} +1 -1
  313. package/dist/chunks/toggle-button-group-DX134q7m.cjs.js +2 -0
  314. package/dist/chunks/{toggle-button-group-Dq51N27j.cjs.js.map → toggle-button-group-DX134q7m.cjs.js.map} +1 -1
  315. package/dist/chunks/{toggle-button-group-D-sGsuZ_.es.js → toggle-button-group-jRdpdYyd.es.js} +14 -15
  316. package/dist/chunks/{toggle-button-group-D-sGsuZ_.es.js.map → toggle-button-group-jRdpdYyd.es.js.map} +1 -1
  317. package/dist/chunks/{toolbar-CzXpYEbP.cjs.js → toolbar-CLGq6IO7.cjs.js} +2 -2
  318. package/dist/chunks/{toolbar-CzXpYEbP.cjs.js.map → toolbar-CLGq6IO7.cjs.js.map} +1 -1
  319. package/dist/chunks/{toolbar-Ch-bOLkm.es.js → toolbar-hpBfKrTl.es.js} +4 -4
  320. package/dist/chunks/{toolbar-Ch-bOLkm.es.js.map → toolbar-hpBfKrTl.es.js.map} +1 -1
  321. package/dist/chunks/tooltip-B1YdruCE.es.js +269 -0
  322. package/dist/chunks/tooltip-B1YdruCE.es.js.map +1 -0
  323. package/dist/chunks/tooltip-g8-hEdZp.cjs.js +2 -0
  324. package/dist/chunks/tooltip-g8-hEdZp.cjs.js.map +1 -0
  325. package/dist/chunks/{tooltip.recipe-DsVUEki2.es.js → tooltip.recipe-Cqi_tgR5.es.js} +2 -2
  326. package/dist/chunks/{tooltip.recipe-DsVUEki2.es.js.map → tooltip.recipe-Cqi_tgR5.es.js.map} +1 -1
  327. package/dist/chunks/tooltip.recipe-dx7DAJbZ.cjs.js +2 -0
  328. package/dist/chunks/{tooltip.recipe-VqGdDqQD.cjs.js.map → tooltip.recipe-dx7DAJbZ.cjs.js.map} +1 -1
  329. package/dist/chunks/{use-formatting-state-Denpy3Zo.cjs.js → use-formatting-state-DVcnyVBl.cjs.js} +2 -2
  330. package/dist/chunks/{use-formatting-state-Denpy3Zo.cjs.js.map → use-formatting-state-DVcnyVBl.cjs.js.map} +1 -1
  331. package/dist/chunks/{use-formatting-state-RJvSR-Zg.es.js → use-formatting-state-DdKYccZs.es.js} +2 -2
  332. package/dist/chunks/{use-formatting-state-RJvSR-Zg.es.js.map → use-formatting-state-DdKYccZs.es.js.map} +1 -1
  333. package/dist/chunks/{useButton-C8n_NtBu.cjs.js → useButton-BgBfaV_L.cjs.js} +2 -2
  334. package/dist/chunks/{useButton-C8n_NtBu.cjs.js.map → useButton-BgBfaV_L.cjs.js.map} +1 -1
  335. package/dist/chunks/{useButton-M3_syr-Y.es.js → useButton-DAeSjgg9.es.js} +19 -18
  336. package/dist/chunks/{useButton-M3_syr-Y.es.js.map → useButton-DAeSjgg9.es.js.map} +1 -1
  337. package/dist/chunks/{useCollator-BvjDbml1.es.js → useCollator-BHMZd1r6.es.js} +2 -2
  338. package/dist/chunks/{useCollator-BvjDbml1.es.js.map → useCollator-BHMZd1r6.es.js.map} +1 -1
  339. package/dist/chunks/{useCollator-ZqnkTllN.cjs.js → useCollator-YVJAe1GI.cjs.js} +2 -2
  340. package/dist/chunks/{useCollator-ZqnkTllN.cjs.js.map → useCollator-YVJAe1GI.cjs.js.map} +1 -1
  341. package/dist/chunks/useControlledState-D0L6S_5r.cjs.js.map +1 -1
  342. package/dist/chunks/useControlledState-u436Wbp1.es.js.map +1 -1
  343. package/dist/chunks/{useDateFormatter-BqJA667a.es.js → useDateFormatter-C7Kxzwro.es.js} +2 -2
  344. package/dist/chunks/useDateFormatter-C7Kxzwro.es.js.map +1 -0
  345. package/dist/chunks/{useDateFormatter-Dq2Ly1Je.cjs.js → useDateFormatter-CS19Cch2.cjs.js} +2 -2
  346. package/dist/chunks/useDateFormatter-CS19Cch2.cjs.js.map +1 -0
  347. package/dist/chunks/useEvent-CuUOU5WV.cjs.js.map +1 -1
  348. package/dist/chunks/useEvent-YHhqZvpU.es.js.map +1 -1
  349. package/dist/chunks/useField-Ce9zQxmx.es.js.map +1 -1
  350. package/dist/chunks/useField-DmqO9k7a.cjs.js.map +1 -1
  351. package/dist/chunks/{useFilter-Du48WXDn.cjs.js → useFilter-CG8lxfCP.cjs.js} +2 -2
  352. package/dist/chunks/{useFilter-Du48WXDn.cjs.js.map → useFilter-CG8lxfCP.cjs.js.map} +1 -1
  353. package/dist/chunks/{useFilter-Bh0adxQ-.es.js → useFilter-DOfNzeZ9.es.js} +2 -2
  354. package/dist/chunks/{useFilter-Bh0adxQ-.es.js.map → useFilter-DOfNzeZ9.es.js.map} +1 -1
  355. package/dist/chunks/useFocus-BtJ38vev.cjs.js.map +1 -1
  356. package/dist/chunks/useFocus-DkWJ2TJC.es.js.map +1 -1
  357. package/dist/chunks/useFocusRing-CzFer4bD.cjs.js.map +1 -1
  358. package/dist/chunks/useFocusRing-updnkDQg.es.js.map +1 -1
  359. package/dist/chunks/useFocusVisible-CWDaG0ze.es.js.map +1 -1
  360. package/dist/chunks/useFocusVisible-Co0C61s7.cjs.js.map +1 -1
  361. package/dist/chunks/useFocusWithin-BDSWp3rw.cjs.js.map +1 -1
  362. package/dist/chunks/useFocusWithin-ByYlHjju.es.js.map +1 -1
  363. package/dist/chunks/useFocusable-CrsD8ZcF.es.js.map +1 -1
  364. package/dist/chunks/useFocusable-DCgmQxS1.cjs.js.map +1 -1
  365. package/dist/chunks/useFormReset--wPlnEOl.cjs.js.map +1 -1
  366. package/dist/chunks/useFormReset-DurgUJL-.es.js.map +1 -1
  367. package/dist/chunks/useFormValidation-4hZ1_a6w.es.js.map +1 -1
  368. package/dist/chunks/useFormValidation-BEaCuNx1.cjs.js.map +1 -1
  369. package/dist/chunks/useGlobalListeners-BOOfV5Wh.es.js.map +1 -1
  370. package/dist/chunks/useGlobalListeners-DcmIlwrO.cjs.js.map +1 -1
  371. package/dist/chunks/{useHighlightSelectionDescription-CsL0QM95.es.js → useHighlightSelectionDescription-BQg1WcM3.es.js} +2 -2
  372. package/dist/chunks/{useHighlightSelectionDescription-CsL0QM95.es.js.map → useHighlightSelectionDescription-BQg1WcM3.es.js.map} +1 -1
  373. package/dist/chunks/{useHighlightSelectionDescription-DwBGGESb.cjs.js → useHighlightSelectionDescription-CpDw-Mgj.cjs.js} +2 -2
  374. package/dist/chunks/{useHighlightSelectionDescription-DwBGGESb.cjs.js.map → useHighlightSelectionDescription-CpDw-Mgj.cjs.js.map} +1 -1
  375. package/dist/chunks/useHover-CiP9jMFy.cjs.js.map +1 -1
  376. package/dist/chunks/useHover-DhoE75lX.es.js.map +1 -1
  377. package/dist/chunks/useLabel-BBmkkrPP.es.js.map +1 -1
  378. package/dist/chunks/useLabel-Y8tWagLu.cjs.js.map +1 -1
  379. package/dist/chunks/{useLocalizedStringFormatter-CvzOUusg.es.js → useLocalizedStringFormatter-BRnRyxJp.es.js} +2 -2
  380. package/dist/chunks/{useLocalizedStringFormatter-CvzOUusg.es.js.map → useLocalizedStringFormatter-BRnRyxJp.es.js.map} +1 -1
  381. package/dist/chunks/{useLocalizedStringFormatter-fJnbqb2x.cjs.js → useLocalizedStringFormatter-sB0mFYtL.cjs.js} +2 -2
  382. package/dist/chunks/{useLocalizedStringFormatter-fJnbqb2x.cjs.js.map → useLocalizedStringFormatter-sB0mFYtL.cjs.js.map} +1 -1
  383. package/dist/chunks/useObjectRef-CaJ5pgjX.es.js.map +1 -1
  384. package/dist/chunks/useObjectRef-dXOJdONs.cjs.js.map +1 -1
  385. package/dist/chunks/usePress-C8-hLXJw.cjs.js.map +1 -1
  386. package/dist/chunks/usePress-DHhWHfMz.es.js.map +1 -1
  387. package/dist/chunks/{useProgressBar-BgURyN6q.es.js → useProgressBar-DHFmTHqL.es.js} +2 -2
  388. package/dist/chunks/{useProgressBar-BgURyN6q.es.js.map → useProgressBar-DHFmTHqL.es.js.map} +1 -1
  389. package/dist/chunks/{useProgressBar-8ZyM2_T3.cjs.js → useProgressBar-DWH4I0qR.cjs.js} +2 -2
  390. package/dist/chunks/{useProgressBar-8ZyM2_T3.cjs.js.map → useProgressBar-DWH4I0qR.cjs.js.map} +1 -1
  391. package/dist/chunks/useSeparator-B-OtWwE7.cjs.js.map +1 -1
  392. package/dist/chunks/useSeparator-Dg70ACBm.es.js.map +1 -1
  393. package/dist/chunks/{useSingleSelectListState-CYqW_Fx5.es.js → useSingleSelectListState-D1rjgMv_.es.js} +2 -2
  394. package/dist/chunks/{useSingleSelectListState-CYqW_Fx5.es.js.map → useSingleSelectListState-D1rjgMv_.es.js.map} +1 -1
  395. package/dist/chunks/{useSingleSelectListState-8Jfm9Pr1.cjs.js → useSingleSelectListState-F2WkLZRg.cjs.js} +2 -2
  396. package/dist/chunks/{useSingleSelectListState-8Jfm9Pr1.cjs.js.map → useSingleSelectListState-F2WkLZRg.cjs.js.map} +1 -1
  397. package/dist/chunks/{useSpinButton-C-tpK-T9.es.js → useSpinButton-C9DPDo0r.es.js} +30 -30
  398. package/dist/chunks/useSpinButton-C9DPDo0r.es.js.map +1 -0
  399. package/dist/chunks/useSpinButton-DA7sVP3T.cjs.js +2 -0
  400. package/dist/chunks/useSpinButton-DA7sVP3T.cjs.js.map +1 -0
  401. package/dist/chunks/useSyncRef-DGRbdR4H.es.js.map +1 -1
  402. package/dist/chunks/useSyncRef-bcjp9eId.cjs.js.map +1 -1
  403. package/dist/chunks/useTextField-BcthGRd8.cjs.js.map +1 -1
  404. package/dist/chunks/useTextField-BnL6tOdd.es.js.map +1 -1
  405. package/dist/chunks/useToggle-DqruaaTq.es.js.map +1 -1
  406. package/dist/chunks/useToggle-VJWgbeCC.cjs.js.map +1 -1
  407. package/dist/chunks/useToggleState-Dl-o05wQ.cjs.js.map +1 -1
  408. package/dist/chunks/useToggleState-Uh0wTgdI.es.js.map +1 -1
  409. package/dist/chunks/{useToolbar-Coi7qK2U.cjs.js → useToolbar-Bqn3EANT.cjs.js} +2 -2
  410. package/dist/chunks/{useToolbar-Coi7qK2U.cjs.js.map → useToolbar-Bqn3EANT.cjs.js.map} +1 -1
  411. package/dist/chunks/{useToolbar-9B43whQM.es.js → useToolbar-CLH6Sjes.es.js} +2 -2
  412. package/dist/chunks/{useToolbar-9B43whQM.es.js.map → useToolbar-CLH6Sjes.es.js.map} +1 -1
  413. package/dist/chunks/useUpdateEffect-C5YQs_1w.cjs.js.map +1 -1
  414. package/dist/chunks/useUpdateEffect-CCDx8D4X.es.js.map +1 -1
  415. package/dist/chunks/utils-BGHwK7fd.cjs.js.map +1 -1
  416. package/dist/chunks/utils-BHdR5Nww.cjs.js.map +1 -1
  417. package/dist/chunks/utils-BkdW_cdL.es.js.map +1 -1
  418. package/dist/chunks/utils-jpfA6kxk.es.js.map +1 -1
  419. package/dist/components/accordion.cjs +1 -1
  420. package/dist/components/accordion.es.js +1 -1
  421. package/dist/components/alert.cjs +1 -1
  422. package/dist/components/alert.es.js +1 -1
  423. package/dist/components/avatar.cjs +1 -1
  424. package/dist/components/avatar.es.js +1 -1
  425. package/dist/components/badge.cjs +1 -1
  426. package/dist/components/badge.es.js +1 -1
  427. package/dist/components/box.cjs +1 -1
  428. package/dist/components/box.es.js +1 -1
  429. package/dist/components/button.cjs +1 -1
  430. package/dist/components/button.es.js +1 -1
  431. package/dist/components/calendar.cjs +1 -1
  432. package/dist/components/calendar.es.js +1 -1
  433. package/dist/components/card.cjs +1 -1
  434. package/dist/components/card.es.js +1 -1
  435. package/dist/components/checkbox.cjs +1 -1
  436. package/dist/components/checkbox.es.js +1 -1
  437. package/dist/components/code.cjs +1 -1
  438. package/dist/components/code.es.js +1 -1
  439. package/dist/components/combobox.cjs +1 -1
  440. package/dist/components/combobox.es.js +1 -1
  441. package/dist/components/components.cjs +1 -1
  442. package/dist/components/components.es.js +60 -60
  443. package/dist/components/data-table.cjs +1 -1
  444. package/dist/components/data-table.es.js +1 -1
  445. package/dist/components/date-input.cjs +1 -1
  446. package/dist/components/date-input.es.js +1 -1
  447. package/dist/components/date-picker.cjs +1 -1
  448. package/dist/components/date-picker.es.js +1 -1
  449. package/dist/components/date-range-picker.cjs +1 -1
  450. package/dist/components/date-range-picker.es.js +1 -1
  451. package/dist/components/dialog.cjs +1 -1
  452. package/dist/components/dialog.es.js +1 -1
  453. package/dist/components/divider.cjs +1 -1
  454. package/dist/components/divider.es.js +1 -1
  455. package/dist/components/flex.cjs +1 -1
  456. package/dist/components/flex.es.js +1 -1
  457. package/dist/components/form-field.cjs +1 -1
  458. package/dist/components/form-field.es.js +1 -1
  459. package/dist/components/grid.cjs +1 -1
  460. package/dist/components/grid.es.js +1 -1
  461. package/dist/components/heading.cjs +1 -1
  462. package/dist/components/heading.es.js +2 -2
  463. package/dist/components/hooks.cjs +1 -1
  464. package/dist/components/hooks.es.js +1 -1
  465. package/dist/components/icon-button.cjs +1 -1
  466. package/dist/components/icon-button.es.js +1 -1
  467. package/dist/components/icon-toggle-button.cjs +1 -1
  468. package/dist/components/icon-toggle-button.es.js +1 -1
  469. package/dist/components/icon.cjs +1 -1
  470. package/dist/components/icon.es.js +1 -1
  471. package/dist/components/image.cjs +1 -1
  472. package/dist/components/image.es.js +1 -1
  473. package/dist/components/kbd.cjs +1 -1
  474. package/dist/components/kbd.es.js +1 -1
  475. package/dist/components/link.cjs +1 -1
  476. package/dist/components/link.es.js +1 -1
  477. package/dist/components/list.cjs +1 -1
  478. package/dist/components/list.es.js +1 -1
  479. package/dist/components/loading-spinner.cjs +1 -1
  480. package/dist/components/loading-spinner.es.js +1 -1
  481. package/dist/components/multiline-text-input.cjs +1 -1
  482. package/dist/components/multiline-text-input.es.js +1 -1
  483. package/dist/components/nimbus-provider.cjs +1 -1
  484. package/dist/components/nimbus-provider.es.js +1 -1
  485. package/dist/components/number-input.cjs +1 -1
  486. package/dist/components/number-input.es.js +1 -1
  487. package/dist/components/password-input.cjs +1 -1
  488. package/dist/components/password-input.es.js +1 -1
  489. package/dist/components/popover.cjs +1 -1
  490. package/dist/components/popover.cjs.map +1 -1
  491. package/dist/components/popover.es.js +11 -12
  492. package/dist/components/popover.es.js.map +1 -1
  493. package/dist/components/progress-bar.cjs +1 -1
  494. package/dist/components/progress-bar.es.js +1 -1
  495. package/dist/components/radio-input.cjs +1 -1
  496. package/dist/components/radio-input.es.js +1 -1
  497. package/dist/components/range-calendar.cjs +1 -1
  498. package/dist/components/range-calendar.es.js +1 -1
  499. package/dist/components/rich-text-input.cjs +1 -1
  500. package/dist/components/rich-text-input.es.js +1 -1
  501. package/dist/components/select.cjs +1 -1
  502. package/dist/components/select.es.js +1 -1
  503. package/dist/components/simple-grid.cjs +1 -1
  504. package/dist/components/simple-grid.es.js +1 -1
  505. package/dist/components/split-button.cjs +1 -1
  506. package/dist/components/split-button.es.js +1 -1
  507. package/dist/components/stack.cjs +1 -1
  508. package/dist/components/stack.es.js +1 -1
  509. package/dist/components/switch.cjs +1 -1
  510. package/dist/components/switch.es.js +1 -1
  511. package/dist/components/table.cjs +1 -1
  512. package/dist/components/table.es.js +2 -2
  513. package/dist/components/tag-group.cjs +1 -1
  514. package/dist/components/tag-group.es.js +1 -1
  515. package/dist/components/text-input.cjs +1 -1
  516. package/dist/components/text-input.es.js +1 -1
  517. package/dist/components/text.cjs +1 -1
  518. package/dist/components/text.es.js +1 -1
  519. package/dist/components/time-input.cjs +1 -1
  520. package/dist/components/time-input.es.js +1 -1
  521. package/dist/components/toggle-button-group.cjs +1 -1
  522. package/dist/components/toggle-button-group.es.js +1 -1
  523. package/dist/components/toggle-button.cjs +1 -1
  524. package/dist/components/toggle-button.es.js +1 -1
  525. package/dist/components/toolbar.cjs +1 -1
  526. package/dist/components/toolbar.es.js +1 -1
  527. package/dist/components/tooltip.cjs +1 -1
  528. package/dist/components/tooltip.es.js +1 -1
  529. package/dist/components/utils.cjs +1 -1
  530. package/dist/components/utils.es.js +2 -2
  531. package/dist/components.d.ts +35 -35
  532. package/dist/data-table.d.ts +35 -35
  533. package/dist/index.cjs +1 -1
  534. package/dist/index.cjs.map +1 -1
  535. package/dist/index.d.ts +35 -35
  536. package/dist/index.es.js +55 -55
  537. package/dist/index.es.js.map +1 -1
  538. package/package.json +12 -12
  539. package/dist/chunks/Collection-BYX373AD.cjs.js +0 -18
  540. package/dist/chunks/Collection-BYX373AD.cjs.js.map +0 -1
  541. package/dist/chunks/Collection-Df3FPouy.es.js.map +0 -1
  542. package/dist/chunks/DateField-DVzmD_D6.es.js.map +0 -1
  543. package/dist/chunks/DateField-Dh2hoOBr.cjs.js +0 -2
  544. package/dist/chunks/DateField-Dh2hoOBr.cjs.js.map +0 -1
  545. package/dist/chunks/DatePicker-C0NXSwOw.cjs.js +0 -2
  546. package/dist/chunks/DatePicker-C0NXSwOw.cjs.js.map +0 -1
  547. package/dist/chunks/DatePicker-_A7-hp_b.es.js.map +0 -1
  548. package/dist/chunks/Dialog-BnIvgMq1.cjs.js +0 -2
  549. package/dist/chunks/Dialog-BnIvgMq1.cjs.js.map +0 -1
  550. package/dist/chunks/Dialog-C3wKnoBH.es.js +0 -1903
  551. package/dist/chunks/Dialog-C3wKnoBH.es.js.map +0 -1
  552. package/dist/chunks/ListBox-B2Z13FyL.cjs.js +0 -2
  553. package/dist/chunks/ListBox-B2Z13FyL.cjs.js.map +0 -1
  554. package/dist/chunks/ListBox-BzuLanGT.es.js +0 -615
  555. package/dist/chunks/ListBox-BzuLanGT.es.js.map +0 -1
  556. package/dist/chunks/OverlayArrow-C5Ymp9MC.cjs.js +0 -2
  557. package/dist/chunks/OverlayArrow-C5Ymp9MC.cjs.js.map +0 -1
  558. package/dist/chunks/OverlayArrow-ERS8ZqL3.es.js +0 -479
  559. package/dist/chunks/OverlayArrow-ERS8ZqL3.es.js.map +0 -1
  560. package/dist/chunks/Separator-QdyS03-E.cjs.js +0 -2
  561. package/dist/chunks/Separator-QdyS03-E.cjs.js.map +0 -1
  562. package/dist/chunks/Separator-T5Cc3sUj.es.js +0 -573
  563. package/dist/chunks/Separator-T5Cc3sUj.es.js.map +0 -1
  564. package/dist/chunks/accordion-CAC36XIK.cjs.js +0 -2
  565. package/dist/chunks/alert-STlW7NU8.cjs.js +0 -2
  566. package/dist/chunks/avatar-mL-2hOve.cjs.js +0 -2
  567. package/dist/chunks/avatar.recipe-CQivdbFs.cjs.js +0 -2
  568. package/dist/chunks/badge-HHzfG1BI.cjs.js +0 -2
  569. package/dist/chunks/box-BPfqlznQ.cjs.js +0 -2
  570. package/dist/chunks/box-BPfqlznQ.cjs.js.map +0 -1
  571. package/dist/chunks/box-C8731OYq.es.js +0 -13
  572. package/dist/chunks/box-C8731OYq.es.js.map +0 -1
  573. package/dist/chunks/button-CtWoT2k5.cjs.js +0 -2
  574. package/dist/chunks/button.recipe-ClPhJ93N.cjs.js +0 -2
  575. package/dist/chunks/calendar-DFhIC3YS.cjs.js +0 -2
  576. package/dist/chunks/card-CHfjhPF8.cjs.js +0 -2
  577. package/dist/chunks/checkbox-pYAJn7HX.cjs.js +0 -2
  578. package/dist/chunks/code-CTuEvrXA.cjs.js +0 -2
  579. package/dist/chunks/code-CTuEvrXA.cjs.js.map +0 -1
  580. package/dist/chunks/code-CieYW1ER.es.js +0 -8
  581. package/dist/chunks/code-CieYW1ER.es.js.map +0 -1
  582. package/dist/chunks/combobox-C3FEfver.es.js +0 -1912
  583. package/dist/chunks/combobox-C3FEfver.es.js.map +0 -1
  584. package/dist/chunks/combobox-CnUfDGC-.cjs.js +0 -2
  585. package/dist/chunks/combobox-CnUfDGC-.cjs.js.map +0 -1
  586. package/dist/chunks/config-Mt8_uyhI.cjs.js +0 -2
  587. package/dist/chunks/config-Mt8_uyhI.cjs.js.map +0 -1
  588. package/dist/chunks/config-ufbQ08Vi.es.js +0 -6
  589. package/dist/chunks/config-ufbQ08Vi.es.js.map +0 -1
  590. package/dist/chunks/context-D0_cRaDZ.cjs.js +0 -2
  591. package/dist/chunks/context-Pt-0ojuK.es.js +0 -94
  592. package/dist/chunks/create-recipe-context-D0_lCuqq.cjs.js +0 -2
  593. package/dist/chunks/create-recipe-context-D0_lCuqq.cjs.js.map +0 -1
  594. package/dist/chunks/create-recipe-context-i2odau3L.es.js +0 -62
  595. package/dist/chunks/create-recipe-context-i2odau3L.es.js.map +0 -1
  596. package/dist/chunks/create-slot-recipe-context-DBNItnlK.es.js +0 -104
  597. package/dist/chunks/create-slot-recipe-context-DBNItnlK.es.js.map +0 -1
  598. package/dist/chunks/create-slot-recipe-context-HIF51Igr.cjs.js +0 -2
  599. package/dist/chunks/create-slot-recipe-context-HIF51Igr.cjs.js.map +0 -1
  600. package/dist/chunks/data-table-BvTXYpZB.cjs.js +0 -2
  601. package/dist/chunks/data-table-BvTXYpZB.cjs.js.map +0 -1
  602. package/dist/chunks/data-table-BvYN1Stn.es.js.map +0 -1
  603. package/dist/chunks/date-input-BmKSBIL2.cjs.js +0 -2
  604. package/dist/chunks/date-input-DFx77xwE.es.js +0 -17
  605. package/dist/chunks/date-picker-CsGYO3HW.cjs.js +0 -2
  606. package/dist/chunks/date-range-picker-uomzPtYK.cjs.js +0 -2
  607. package/dist/chunks/dialog-CG-cCFkg.es.js +0 -1889
  608. package/dist/chunks/dialog-CG-cCFkg.es.js.map +0 -1
  609. package/dist/chunks/dialog-CNZGNU5Q.cjs.js +0 -2
  610. package/dist/chunks/dialog-CNZGNU5Q.cjs.js.map +0 -1
  611. package/dist/chunks/divider-CTTExmLv.cjs.js +0 -2
  612. package/dist/chunks/empty-B5_AO6Pg.cjs.js +0 -2
  613. package/dist/chunks/empty-B5_AO6Pg.cjs.js.map +0 -1
  614. package/dist/chunks/empty-D7ZFmvo6.es.js +0 -8
  615. package/dist/chunks/empty-D7ZFmvo6.es.js.map +0 -1
  616. package/dist/chunks/factory-BpxiKxSs.es.js +0 -269
  617. package/dist/chunks/factory-BpxiKxSs.es.js.map +0 -1
  618. package/dist/chunks/factory-DlCuwIGL.cjs.js +0 -3
  619. package/dist/chunks/factory-DlCuwIGL.cjs.js.map +0 -1
  620. package/dist/chunks/flex-B81RbgfK.es.js +0 -40
  621. package/dist/chunks/flex-B81RbgfK.es.js.map +0 -1
  622. package/dist/chunks/flex-BhVeeItQ.cjs.js +0 -2
  623. package/dist/chunks/flex-BhVeeItQ.cjs.js.map +0 -1
  624. package/dist/chunks/grid-CWdLtU5p.cjs.js +0 -2
  625. package/dist/chunks/grid-Cdmh4YaF.es.js +0 -14
  626. package/dist/chunks/grid-item-CJHf3veC.cjs.js +0 -2
  627. package/dist/chunks/grid-item-CJHf3veC.cjs.js.map +0 -1
  628. package/dist/chunks/grid-item-CpPkpUVF.es.js +0 -78
  629. package/dist/chunks/grid-item-CpPkpUVF.es.js.map +0 -1
  630. package/dist/chunks/icon-C_BZeqkm.cjs.js +0 -2
  631. package/dist/chunks/image-B2WbQ5hi.es.js +0 -8
  632. package/dist/chunks/image-BAqoLZQB.cjs.js +0 -2
  633. package/dist/chunks/image-BP9LcU28.cjs.js +0 -2
  634. package/dist/chunks/image-BP9LcU28.cjs.js.map +0 -1
  635. package/dist/chunks/image-BycsRl2K.es.js +0 -22
  636. package/dist/chunks/image-BycsRl2K.es.js.map +0 -1
  637. package/dist/chunks/index-0CyuQQet.es.js +0 -8
  638. package/dist/chunks/index-0CyuQQet.es.js.map +0 -1
  639. package/dist/chunks/index-COhQ_99G.cjs.js +0 -4
  640. package/dist/chunks/index-COhQ_99G.cjs.js.map +0 -1
  641. package/dist/chunks/index-DRWeBbu8.es.js.map +0 -1
  642. package/dist/chunks/index-x9OhLGGf.cjs.js +0 -2
  643. package/dist/chunks/index-x9OhLGGf.cjs.js.map +0 -1
  644. package/dist/chunks/kbd-CDEXQyg2.es.js +0 -16
  645. package/dist/chunks/kbd-DP3lZ80W.cjs.js +0 -2
  646. package/dist/chunks/kbd.recipe-9kxAU5ro.cjs.js +0 -2
  647. package/dist/chunks/link-DTUiEXYJ.cjs.js +0 -2
  648. package/dist/chunks/link.recipe-BfCxtKjL.cjs.js +0 -2
  649. package/dist/chunks/list-r1G4iBXo.cjs.js +0 -2
  650. package/dist/chunks/list-r1G4iBXo.cjs.js.map +0 -1
  651. package/dist/chunks/list-x423RThD.es.js +0 -23
  652. package/dist/chunks/list-x423RThD.es.js.map +0 -1
  653. package/dist/chunks/loading-spinner-BLDpwNFm.cjs.js +0 -2
  654. package/dist/chunks/menu-C41LRy4b.cjs.js +0 -2
  655. package/dist/chunks/multiline-text-input-B5XtIAAO.cjs.js +0 -12
  656. package/dist/chunks/namespace-CYjqWfVn.cjs.js +0 -2
  657. package/dist/chunks/namespace-CYjqWfVn.cjs.js.map +0 -1
  658. package/dist/chunks/namespace-HxAMZBwF.es.js +0 -74
  659. package/dist/chunks/namespace-HxAMZBwF.es.js.map +0 -1
  660. package/dist/chunks/nimbus-provider-Yka95N38.cjs.js +0 -2
  661. package/dist/chunks/number-input-Dm2FFtQx.cjs.js +0 -2
  662. package/dist/chunks/progress-bar-nQCcdv_4.cjs.js +0 -2
  663. package/dist/chunks/provider-BzZZw3fF.cjs.js +0 -16
  664. package/dist/chunks/provider-BzZZw3fF.cjs.js.map +0 -1
  665. package/dist/chunks/provider-DxFdjgyb.es.js +0 -989
  666. package/dist/chunks/provider-DxFdjgyb.es.js.map +0 -1
  667. package/dist/chunks/radio-input-BXFY8CaT.cjs.js +0 -2
  668. package/dist/chunks/range-calendar-BuzvPCc1.cjs.js +0 -2
  669. package/dist/chunks/select-IUEop3i7.cjs.js +0 -2
  670. package/dist/chunks/simple-grid-Crtlocqj.es.js +0 -38
  671. package/dist/chunks/simple-grid-Crtlocqj.es.js.map +0 -1
  672. package/dist/chunks/simple-grid-yOwvCBEN.cjs.js +0 -2
  673. package/dist/chunks/simple-grid-yOwvCBEN.cjs.js.map +0 -1
  674. package/dist/chunks/stack-B6PqFPMh.cjs.js +0 -2
  675. package/dist/chunks/stack-B6PqFPMh.cjs.js.map +0 -1
  676. package/dist/chunks/stack-CBx-c8hI.es.js +0 -89
  677. package/dist/chunks/stack-CBx-c8hI.es.js.map +0 -1
  678. package/dist/chunks/switch-CeNcr608.cjs.js +0 -2
  679. package/dist/chunks/tag-group-BY7yGmmv.es.js.map +0 -1
  680. package/dist/chunks/tag-group-DXKC_JuG.cjs.js +0 -2
  681. package/dist/chunks/tag-group-DXKC_JuG.cjs.js.map +0 -1
  682. package/dist/chunks/text-B2wziCK6.es.js +0 -26
  683. package/dist/chunks/text-B2wziCK6.es.js.map +0 -1
  684. package/dist/chunks/text-hUMahKuA.cjs.js +0 -2
  685. package/dist/chunks/text-hUMahKuA.cjs.js.map +0 -1
  686. package/dist/chunks/text-input-82882hyq.es.js +0 -19
  687. package/dist/chunks/text-input-CBcEG79G.cjs.js +0 -2
  688. package/dist/chunks/time-input-CCnD_SWq.cjs.js +0 -2
  689. package/dist/chunks/toggle-button-163ZMcpk.es.js +0 -30
  690. package/dist/chunks/toggle-button-BTYd563-.cjs.js +0 -2
  691. package/dist/chunks/toggle-button-group-Dq51N27j.cjs.js +0 -2
  692. package/dist/chunks/tooltip-BFuuQNa4.cjs.js +0 -2
  693. package/dist/chunks/tooltip-BFuuQNa4.cjs.js.map +0 -1
  694. package/dist/chunks/tooltip-BpUbO0NA.es.js +0 -274
  695. package/dist/chunks/tooltip-BpUbO0NA.es.js.map +0 -1
  696. package/dist/chunks/tooltip.recipe-VqGdDqQD.cjs.js +0 -2
  697. package/dist/chunks/use-recipe-BZ_iqCkN.cjs.js +0 -2
  698. package/dist/chunks/use-recipe-BZ_iqCkN.cjs.js.map +0 -1
  699. package/dist/chunks/use-recipe-CR4W7Dne.es.js +0 -13
  700. package/dist/chunks/use-recipe-CR4W7Dne.es.js.map +0 -1
  701. package/dist/chunks/useDateFormatter-BqJA667a.es.js.map +0 -1
  702. package/dist/chunks/useDateFormatter-Dq2Ly1Je.cjs.js.map +0 -1
  703. package/dist/chunks/useSpinButton-C-tpK-T9.es.js.map +0 -1
  704. package/dist/chunks/useSpinButton-Cw8QxU2l.cjs.js +0 -2
  705. package/dist/chunks/useSpinButton-Cw8QxU2l.cjs.js.map +0 -1
  706. package/dist/chunks/walk-object-Ad4Rz5Gh.cjs.js +0 -2
  707. package/dist/chunks/walk-object-Ad4Rz5Gh.cjs.js.map +0 -1
  708. package/dist/chunks/walk-object-Drjey5HY.es.js +0 -27
  709. package/dist/chunks/walk-object-Drjey5HY.es.js.map +0 -1
@@ -1,39 +1,39 @@
1
- import S, { useRef as k, useEffect as Y, useMemo as B, cloneElement as He, forwardRef as qe, useContext as H, createContext as G, useCallback as X, useState as ie, isValidElement as st } from "react";
2
- import { a as We, d as Ge } from "./utils-jpfA6kxk.es.js";
3
- import { c as ge, $ as Z, a as _e, d as we, e as ot } from "./mergeProps-B_9syxhT.es.js";
4
- import { $ as me } from "./focusWithoutScrolling-CDw3JYiq.es.js";
5
- import { $ as je, d as ut } from "./openLink-Ctl0AdAy.es.js";
1
+ import $, { useRef as E, useEffect as Y, useMemo as B, createContext as z, cloneElement as ze, forwardRef as He, useContext as _, useCallback as X, useState as ie, isValidElement as st } from "react";
2
+ import { a as Ue, d as _e } from "./utils-jpfA6kxk.es.js";
3
+ import { c as me, $ as J, a as qe, d as we, e as ot } from "./mergeProps-B_9syxhT.es.js";
4
+ import { $ as be } from "./focusWithoutScrolling-CDw3JYiq.es.js";
5
+ import { $ as Ge, d as ut } from "./openLink-Ctl0AdAy.es.js";
6
6
  import { $ as ee } from "./useEvent-YHhqZvpU.es.js";
7
- import { a as at, b as ct, c as De, d as ke } from "./scrollIntoView-BYF_8_6g.es.js";
7
+ import { a as at, b as ct, c as Ce, d as De } from "./scrollIntoView-BYF_8_6g.es.js";
8
8
  import { b as dt } from "./FocusScope-CNO0fzPs.es.js";
9
9
  import { b as Ee } from "./useFocusVisible-CWDaG0ze.es.js";
10
- import { $ as be } from "./focusSafely-DJpphVHF.es.js";
10
+ import { $ as Se } from "./focusSafely-DJpphVHF.es.js";
11
11
  import { flushSync as ft, createPortal as ht } from "react-dom";
12
- import { $ as yt } from "./context-Pt-0ojuK.es.js";
12
+ import { $ as yt } from "./context-R4YUlO9Y.es.js";
13
13
  import { b as pt, g as vt } from "./platform-Z5fvtFmM.es.js";
14
- import { $ as Ye } from "./usePress-DHhWHfMz.es.js";
14
+ import { $ as We } from "./usePress-DHhWHfMz.es.js";
15
15
  import { $ as gt } from "./useGlobalListeners-BOOfV5Wh.es.js";
16
16
  import { a as mt } from "./Hidden-j3Lbt7xL.es.js";
17
- import { b as Ie } from "./useFocusable-CrsD8ZcF.es.js";
18
- import { $ as Xe } from "./SSRProvider-Cu8KibIK.es.js";
17
+ import { b as ke } from "./useFocusable-CrsD8ZcF.es.js";
18
+ import { $ as je } from "./SSRProvider-Cu8KibIK.es.js";
19
19
  import { $ as bt } from "./useControlledState-u436Wbp1.es.js";
20
- function Pe(r, e) {
21
- const t = k(!0), i = k(null);
22
- ge(() => (t.current = !0, () => {
20
+ function Ie(n, e) {
21
+ const t = E(!0), i = E(null);
22
+ me(() => (t.current = !0, () => {
23
23
  t.current = !1;
24
- }), []), ge(() => {
25
- t.current ? t.current = !1 : (!i.current || e.some((l, n) => !Object.is(l, i[n]))) && r(), i.current = e;
24
+ }), []), me(() => {
25
+ t.current ? t.current = !1 : (!i.current || e.some((l, r) => !Object.is(l, i[r]))) && n(), i.current = e;
26
26
  }, e);
27
27
  }
28
- const St = "react-aria-clear-focus", Kt = "react-aria-focus";
29
- function q(r) {
30
- return pt() ? r.metaKey : r.ctrlKey;
28
+ const St = "react-aria-clear-focus", $t = "react-aria-focus";
29
+ function q(n) {
30
+ return pt() ? n.metaKey : n.ctrlKey;
31
31
  }
32
- const $t = 500;
33
- function xt(r) {
34
- let { isDisabled: e, onLongPressStart: t, onLongPressEnd: i, onLongPress: l, threshold: n = $t, accessibilityDescription: s } = r;
35
- const c = k(void 0);
36
- let { addGlobalListener: u, removeGlobalListener: v } = gt(), { pressProps: $ } = Ye({
32
+ const Kt = 500;
33
+ function xt(n) {
34
+ let { isDisabled: e, onLongPressStart: t, onLongPressEnd: i, onLongPress: l, threshold: r = Kt, accessibilityDescription: s } = n;
35
+ const c = E(void 0);
36
+ let { addGlobalListener: u, removeGlobalListener: h } = gt(), { pressProps: b } = We({
37
37
  isDisabled: e,
38
38
  onPressStart(f) {
39
39
  if (f.continuePropagation(), (f.pointerType === "mouse" || f.pointerType === "touch") && (t && t({
@@ -42,19 +42,19 @@ function xt(r) {
42
42
  }), c.current = setTimeout(() => {
43
43
  f.target.dispatchEvent(new PointerEvent("pointercancel", {
44
44
  bubbles: !0
45
- })), We(f.target).activeElement !== f.target && me(f.target), l && l({
45
+ })), Ue(f.target).activeElement !== f.target && be(f.target), l && l({
46
46
  ...f,
47
47
  type: "longpress"
48
48
  }), c.current = void 0;
49
- }, n), f.pointerType === "touch")) {
50
- let h = (p) => {
51
- p.preventDefault();
49
+ }, r), f.pointerType === "touch")) {
50
+ let y = (v) => {
51
+ v.preventDefault();
52
52
  };
53
- u(f.target, "contextmenu", h, {
53
+ u(f.target, "contextmenu", y, {
54
54
  once: !0
55
55
  }), u(window, "pointerup", () => {
56
56
  setTimeout(() => {
57
- v(f.target, "contextmenu", h);
57
+ h(f.target, "contextmenu", y);
58
58
  }, 30);
59
59
  }, {
60
60
  once: !0
@@ -69,55 +69,55 @@ function xt(r) {
69
69
  }
70
70
  }), d = at(l && !e ? s : void 0);
71
71
  return {
72
- longPressProps: Z($, d)
72
+ longPressProps: J(b, d)
73
73
  };
74
74
  }
75
- function Ze(r) {
76
- let e = wt(We(r));
77
- e !== r && (e && Ct(e, r), r && Je(r, e));
75
+ function Ye(n) {
76
+ let e = Ct(Ue(n));
77
+ e !== n && (e && wt(e, n), n && Xe(n, e));
78
78
  }
79
- function Ct(r, e) {
80
- r.dispatchEvent(new FocusEvent("blur", {
79
+ function wt(n, e) {
80
+ n.dispatchEvent(new FocusEvent("blur", {
81
81
  relatedTarget: e
82
- })), r.dispatchEvent(new FocusEvent("focusout", {
82
+ })), n.dispatchEvent(new FocusEvent("focusout", {
83
83
  bubbles: !0,
84
84
  relatedTarget: e
85
85
  }));
86
86
  }
87
- function Je(r, e) {
88
- r.dispatchEvent(new FocusEvent("focus", {
87
+ function Xe(n, e) {
88
+ n.dispatchEvent(new FocusEvent("focus", {
89
89
  relatedTarget: e
90
- })), r.dispatchEvent(new FocusEvent("focusin", {
90
+ })), n.dispatchEvent(new FocusEvent("focusin", {
91
91
  bubbles: !0,
92
92
  relatedTarget: e
93
93
  }));
94
94
  }
95
- function wt(r) {
96
- let e = Ge(r), t = e?.getAttribute("aria-activedescendant");
97
- return t && r.getElementById(t) || e;
95
+ function Ct(n) {
96
+ let e = _e(n), t = e?.getAttribute("aria-activedescendant");
97
+ return t && n.getElementById(t) || e;
98
98
  }
99
- function Se(r) {
100
- return vt() ? r.altKey : r.ctrlKey;
99
+ function $e(n) {
100
+ return vt() ? n.altKey : n.ctrlKey;
101
101
  }
102
- function le(r, e) {
102
+ function le(n, e) {
103
103
  var t, i;
104
- let l = `[data-key="${CSS.escape(String(e))}"]`, n = (t = r.current) === null || t === void 0 ? void 0 : t.dataset.collection;
105
- return n && (l = `[data-collection="${CSS.escape(n)}"]${l}`), (i = r.current) === null || i === void 0 ? void 0 : i.querySelector(l);
104
+ let l = `[data-key="${CSS.escape(String(e))}"]`, r = (t = n.current) === null || t === void 0 ? void 0 : t.dataset.collection;
105
+ return r && (l = `[data-collection="${CSS.escape(r)}"]${l}`), (i = n.current) === null || i === void 0 ? void 0 : i.querySelector(l);
106
106
  }
107
- const Qe = /* @__PURE__ */ new WeakMap();
108
- function Dt(r) {
109
- let e = _e();
110
- return Qe.set(r, e), e;
107
+ const Je = /* @__PURE__ */ new WeakMap();
108
+ function Dt(n) {
109
+ let e = qe();
110
+ return Je.set(n, e), e;
111
111
  }
112
- function kt(r) {
113
- return Qe.get(r);
112
+ function Et(n) {
113
+ return Je.get(n);
114
114
  }
115
- const Et = 1e3;
116
- function It(r) {
117
- let { keyboardDelegate: e, selectionManager: t, onTypeSelect: i } = r, l = k({
115
+ const kt = 1e3;
116
+ function It(n) {
117
+ let { keyboardDelegate: e, selectionManager: t, onTypeSelect: i } = n, l = E({
118
118
  search: "",
119
119
  timeout: void 0
120
- }).current, n = (s) => {
120
+ }).current, r = (s) => {
121
121
  let c = Pt(s.key);
122
122
  if (!(!c || s.ctrlKey || s.metaKey || !s.currentTarget.contains(s.target) || l.search.length === 0 && c === " ")) {
123
123
  if (c === " " && l.search.trim().length > 0 && (s.preventDefault(), "continuePropagation" in s || s.stopPropagation()), l.search += c, e.getKeyForSearch != null) {
@@ -126,93 +126,93 @@ function It(r) {
126
126
  }
127
127
  clearTimeout(l.timeout), l.timeout = setTimeout(() => {
128
128
  l.search = "";
129
- }, Et);
129
+ }, kt);
130
130
  }
131
131
  };
132
132
  return {
133
133
  typeSelectProps: {
134
134
  // Using a capturing listener to catch the keydown event before
135
135
  // other hooks in order to handle the Spacebar event.
136
- onKeyDownCapture: e.getKeyForSearch ? n : void 0
136
+ onKeyDownCapture: e.getKeyForSearch ? r : void 0
137
137
  }
138
138
  };
139
139
  }
140
- function Pt(r) {
141
- return r.length === 1 || !/^[A-Z]/i.test(r) ? r : "";
140
+ function Pt(n) {
141
+ return n.length === 1 || !/^[A-Z]/i.test(n) ? n : "";
142
142
  }
143
- function yi(r) {
144
- let { selectionManager: e, keyboardDelegate: t, ref: i, autoFocus: l = !1, shouldFocusWrap: n = !1, disallowEmptySelection: s = !1, disallowSelectAll: c = !1, escapeKeyBehavior: u = "clearSelection", selectOnFocus: v = e.selectionBehavior === "replace", disallowTypeAhead: $ = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, isVirtualized: h, scrollRef: p = i, linkBehavior: K = "action" } = r, { direction: g } = yt(), m = je(), C = (a) => {
145
- var b;
146
- if (a.altKey && a.key === "Tab" && a.preventDefault(), !(!((b = i.current) === null || b === void 0) && b.contains(a.target))) return;
147
- const o = (y, z) => {
148
- if (y != null) {
149
- if (e.isLink(y) && K === "selection" && v && !Se(a)) {
143
+ function Si(n) {
144
+ let { selectionManager: e, keyboardDelegate: t, ref: i, autoFocus: l = !1, shouldFocusWrap: r = !1, disallowEmptySelection: s = !1, disallowSelectAll: c = !1, escapeKeyBehavior: u = "clearSelection", selectOnFocus: h = e.selectionBehavior === "replace", disallowTypeAhead: b = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, isVirtualized: y, scrollRef: v = i, linkBehavior: K = "action" } = n, { direction: g } = yt(), m = Ge(), w = (a) => {
145
+ var S;
146
+ if (a.altKey && a.key === "Tab" && a.preventDefault(), !(!((S = i.current) === null || S === void 0) && S.contains(a.target))) return;
147
+ const o = (p, H) => {
148
+ if (p != null) {
149
+ if (e.isLink(p) && K === "selection" && h && !$e(a)) {
150
150
  ft(() => {
151
- e.setFocusedKey(y, z);
151
+ e.setFocusedKey(p, H);
152
152
  });
153
- let U = le(i, y), Ce = e.getItemProps(y);
154
- U && m.open(U, a, Ce.href, Ce.routerOptions);
153
+ let U = le(i, p), xe = e.getItemProps(p);
154
+ U && m.open(U, a, xe.href, xe.routerOptions);
155
155
  return;
156
156
  }
157
- if (e.setFocusedKey(y, z), e.isLink(y) && K === "override") return;
158
- a.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(y) : v && !Se(a) && e.replaceSelection(y);
157
+ if (e.setFocusedKey(p, H), e.isLink(p) && K === "override") return;
158
+ a.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(p) : h && !$e(a) && e.replaceSelection(p);
159
159
  }
160
160
  };
161
161
  switch (a.key) {
162
162
  case "ArrowDown":
163
163
  if (t.getKeyBelow) {
164
- var w, F, P;
165
- let y = e.focusedKey != null ? (w = t.getKeyBelow) === null || w === void 0 ? void 0 : w.call(t, e.focusedKey) : (F = t.getFirstKey) === null || F === void 0 ? void 0 : F.call(t);
166
- y == null && n && (y = (P = t.getFirstKey) === null || P === void 0 ? void 0 : P.call(t, e.focusedKey)), y != null && (a.preventDefault(), o(y));
164
+ var C, F, P;
165
+ let p = e.focusedKey != null ? (C = t.getKeyBelow) === null || C === void 0 ? void 0 : C.call(t, e.focusedKey) : (F = t.getFirstKey) === null || F === void 0 ? void 0 : F.call(t);
166
+ p == null && r && (p = (P = t.getFirstKey) === null || P === void 0 ? void 0 : P.call(t, e.focusedKey)), p != null && (a.preventDefault(), o(p));
167
167
  }
168
168
  break;
169
169
  case "ArrowUp":
170
170
  if (t.getKeyAbove) {
171
- var L, N, se;
172
- let y = e.focusedKey != null ? (L = t.getKeyAbove) === null || L === void 0 ? void 0 : L.call(t, e.focusedKey) : (N = t.getLastKey) === null || N === void 0 ? void 0 : N.call(t);
173
- y == null && n && (y = (se = t.getLastKey) === null || se === void 0 ? void 0 : se.call(t, e.focusedKey)), y != null && (a.preventDefault(), o(y));
171
+ var L, N, oe;
172
+ let p = e.focusedKey != null ? (L = t.getKeyAbove) === null || L === void 0 ? void 0 : L.call(t, e.focusedKey) : (N = t.getLastKey) === null || N === void 0 ? void 0 : N.call(t);
173
+ p == null && r && (p = (oe = t.getLastKey) === null || oe === void 0 ? void 0 : oe.call(t, e.focusedKey)), p != null && (a.preventDefault(), o(p));
174
174
  }
175
175
  break;
176
176
  case "ArrowLeft":
177
177
  if (t.getKeyLeftOf) {
178
- var oe, ue, ae;
179
- let y = e.focusedKey != null ? (oe = t.getKeyLeftOf) === null || oe === void 0 ? void 0 : oe.call(t, e.focusedKey) : null;
180
- y == null && n && (y = g === "rtl" ? (ue = t.getFirstKey) === null || ue === void 0 ? void 0 : ue.call(t, e.focusedKey) : (ae = t.getLastKey) === null || ae === void 0 ? void 0 : ae.call(t, e.focusedKey)), y != null && (a.preventDefault(), o(y, g === "rtl" ? "first" : "last"));
178
+ var ue, ae, ce;
179
+ let p = e.focusedKey != null ? (ue = t.getKeyLeftOf) === null || ue === void 0 ? void 0 : ue.call(t, e.focusedKey) : null;
180
+ p == null && r && (p = g === "rtl" ? (ae = t.getFirstKey) === null || ae === void 0 ? void 0 : ae.call(t, e.focusedKey) : (ce = t.getLastKey) === null || ce === void 0 ? void 0 : ce.call(t, e.focusedKey)), p != null && (a.preventDefault(), o(p, g === "rtl" ? "first" : "last"));
181
181
  }
182
182
  break;
183
183
  case "ArrowRight":
184
184
  if (t.getKeyRightOf) {
185
- var ce, de, fe;
186
- let y = e.focusedKey != null ? (ce = t.getKeyRightOf) === null || ce === void 0 ? void 0 : ce.call(t, e.focusedKey) : null;
187
- y == null && n && (y = g === "rtl" ? (de = t.getLastKey) === null || de === void 0 ? void 0 : de.call(t, e.focusedKey) : (fe = t.getFirstKey) === null || fe === void 0 ? void 0 : fe.call(t, e.focusedKey)), y != null && (a.preventDefault(), o(y, g === "rtl" ? "last" : "first"));
185
+ var de, fe, he;
186
+ let p = e.focusedKey != null ? (de = t.getKeyRightOf) === null || de === void 0 ? void 0 : de.call(t, e.focusedKey) : null;
187
+ p == null && r && (p = g === "rtl" ? (fe = t.getLastKey) === null || fe === void 0 ? void 0 : fe.call(t, e.focusedKey) : (he = t.getFirstKey) === null || he === void 0 ? void 0 : he.call(t, e.focusedKey)), p != null && (a.preventDefault(), o(p, g === "rtl" ? "last" : "first"));
188
188
  }
189
189
  break;
190
190
  case "Home":
191
191
  if (t.getFirstKey) {
192
192
  if (e.focusedKey === null && a.shiftKey) return;
193
193
  a.preventDefault();
194
- let y = t.getFirstKey(e.focusedKey, q(a));
195
- e.setFocusedKey(y), y != null && (q(a) && a.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(y) : v && e.replaceSelection(y));
194
+ let p = t.getFirstKey(e.focusedKey, q(a));
195
+ e.setFocusedKey(p), p != null && (q(a) && a.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(p) : h && e.replaceSelection(p));
196
196
  }
197
197
  break;
198
198
  case "End":
199
199
  if (t.getLastKey) {
200
200
  if (e.focusedKey === null && a.shiftKey) return;
201
201
  a.preventDefault();
202
- let y = t.getLastKey(e.focusedKey, q(a));
203
- e.setFocusedKey(y), y != null && (q(a) && a.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(y) : v && e.replaceSelection(y));
202
+ let p = t.getLastKey(e.focusedKey, q(a));
203
+ e.setFocusedKey(p), p != null && (q(a) && a.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(p) : h && e.replaceSelection(p));
204
204
  }
205
205
  break;
206
206
  case "PageDown":
207
207
  if (t.getKeyPageBelow && e.focusedKey != null) {
208
- let y = t.getKeyPageBelow(e.focusedKey);
209
- y != null && (a.preventDefault(), o(y));
208
+ let p = t.getKeyPageBelow(e.focusedKey);
209
+ p != null && (a.preventDefault(), o(p));
210
210
  }
211
211
  break;
212
212
  case "PageUp":
213
213
  if (t.getKeyPageAbove && e.focusedKey != null) {
214
- let y = t.getKeyPageAbove(e.focusedKey);
215
- y != null && (a.preventDefault(), o(y));
214
+ let p = t.getKeyPageAbove(e.focusedKey);
215
+ p != null && (a.preventDefault(), o(p));
216
216
  }
217
217
  break;
218
218
  case "a":
@@ -225,66 +225,66 @@ function yi(r) {
225
225
  if (!f) {
226
226
  if (a.shiftKey) i.current.focus();
227
227
  else {
228
- let y = dt(i.current, {
228
+ let p = dt(i.current, {
229
229
  tabbable: !0
230
- }), z, U;
230
+ }), H, U;
231
231
  do
232
- U = y.lastChild(), U && (z = U);
232
+ U = p.lastChild(), U && (H = U);
233
233
  while (U);
234
- z && !z.contains(document.activeElement) && me(z);
234
+ H && !H.contains(document.activeElement) && be(H);
235
235
  }
236
236
  break;
237
237
  }
238
238
  }
239
- }, x = k({
239
+ }, x = E({
240
240
  top: 0,
241
241
  left: 0
242
242
  });
243
- ee(p, "scroll", h ? void 0 : () => {
244
- var a, b, o, w;
243
+ ee(v, "scroll", y ? void 0 : () => {
244
+ var a, S, o, C;
245
245
  x.current = {
246
- top: (o = (a = p.current) === null || a === void 0 ? void 0 : a.scrollTop) !== null && o !== void 0 ? o : 0,
247
- left: (w = (b = p.current) === null || b === void 0 ? void 0 : b.scrollLeft) !== null && w !== void 0 ? w : 0
246
+ top: (o = (a = v.current) === null || a === void 0 ? void 0 : a.scrollTop) !== null && o !== void 0 ? o : 0,
247
+ left: (C = (S = v.current) === null || S === void 0 ? void 0 : S.scrollLeft) !== null && C !== void 0 ? C : 0
248
248
  };
249
249
  });
250
- let E = (a) => {
250
+ let k = (a) => {
251
251
  if (e.isFocused) {
252
252
  a.currentTarget.contains(a.target) || e.setFocused(!1);
253
253
  return;
254
254
  }
255
255
  if (a.currentTarget.contains(a.target)) {
256
256
  if (e.setFocused(!0), e.focusedKey == null) {
257
- var b, o;
257
+ var S, o;
258
258
  let P = (N) => {
259
- N != null && (e.setFocusedKey(N), v && !e.isSelected(N) && e.replaceSelection(N));
259
+ N != null && (e.setFocusedKey(N), h && !e.isSelected(N) && e.replaceSelection(N));
260
260
  }, L = a.relatedTarget;
261
- var w, F;
262
- L && a.currentTarget.compareDocumentPosition(L) & Node.DOCUMENT_POSITION_FOLLOWING ? P((w = e.lastSelectedKey) !== null && w !== void 0 ? w : (b = t.getLastKey) === null || b === void 0 ? void 0 : b.call(t)) : P((F = e.firstSelectedKey) !== null && F !== void 0 ? F : (o = t.getFirstKey) === null || o === void 0 ? void 0 : o.call(t));
263
- } else !h && p.current && (p.current.scrollTop = x.current.top, p.current.scrollLeft = x.current.left);
264
- if (e.focusedKey != null && p.current) {
261
+ var C, F;
262
+ L && a.currentTarget.compareDocumentPosition(L) & Node.DOCUMENT_POSITION_FOLLOWING ? P((C = e.lastSelectedKey) !== null && C !== void 0 ? C : (S = t.getLastKey) === null || S === void 0 ? void 0 : S.call(t)) : P((F = e.firstSelectedKey) !== null && F !== void 0 ? F : (o = t.getFirstKey) === null || o === void 0 ? void 0 : o.call(t));
263
+ } else !y && v.current && (v.current.scrollTop = x.current.top, v.current.scrollLeft = x.current.left);
264
+ if (e.focusedKey != null && v.current) {
265
265
  let P = le(i, e.focusedKey);
266
- P instanceof HTMLElement && (!P.contains(document.activeElement) && !d && me(P), Ee() === "keyboard" && De(P, {
266
+ P instanceof HTMLElement && (!P.contains(document.activeElement) && !d && be(P), Ee() === "keyboard" && Ce(P, {
267
267
  containingElement: i.current
268
268
  }));
269
269
  }
270
270
  }
271
271
  }, M = (a) => {
272
272
  a.currentTarget.contains(a.relatedTarget) || e.setFocused(!1);
273
- }, A = k(!1);
274
- ee(i, Kt, d ? (a) => {
275
- let { detail: b } = a;
276
- a.stopPropagation(), e.setFocused(!0), b?.focusStrategy === "first" && (A.current = !0);
273
+ }, A = E(!1);
274
+ ee(i, $t, d ? (a) => {
275
+ let { detail: S } = a;
276
+ a.stopPropagation(), e.setFocused(!0), S?.focusStrategy === "first" && (A.current = !0);
277
277
  } : void 0);
278
278
  let T = we(() => {
279
- var a, b;
280
- let o = (b = (a = t.getFirstKey) === null || a === void 0 ? void 0 : a.call(t)) !== null && b !== void 0 ? b : null;
279
+ var a, S;
280
+ let o = (S = (a = t.getFirstKey) === null || a === void 0 ? void 0 : a.call(t)) !== null && S !== void 0 ? S : null;
281
281
  if (o == null) {
282
- let w = Ge();
283
- Ze(i.current), Je(w, null), e.collection.size > 0 && (A.current = !1);
282
+ let C = _e();
283
+ Ye(i.current), Xe(C, null), e.collection.size > 0 && (A.current = !1);
284
284
  } else
285
285
  e.setFocusedKey(o), A.current = !1;
286
286
  });
287
- Pe(() => {
287
+ Ie(() => {
288
288
  A.current && T();
289
289
  }, [
290
290
  e.collection,
@@ -293,24 +293,24 @@ function yi(r) {
293
293
  let I = we(() => {
294
294
  e.collection.size > 0 && (A.current = !1);
295
295
  });
296
- Pe(() => {
296
+ Ie(() => {
297
297
  I();
298
298
  }, [
299
299
  e.focusedKey,
300
300
  I
301
301
  ]), ee(i, St, d ? (a) => {
302
- var b;
303
- a.stopPropagation(), e.setFocused(!1), !((b = a.detail) === null || b === void 0) && b.clearFocusKey && e.setFocusedKey(null);
302
+ var S;
303
+ a.stopPropagation(), e.setFocused(!1), !((S = a.detail) === null || S === void 0) && S.clearFocusKey && e.setFocusedKey(null);
304
304
  } : void 0);
305
- const _ = k(l), O = k(!1);
305
+ const W = E(l), O = E(!1);
306
306
  Y(() => {
307
- if (_.current) {
308
- var a, b;
307
+ if (W.current) {
308
+ var a, S;
309
309
  let F = null;
310
310
  var o;
311
311
  l === "first" && (F = (o = (a = t.getFirstKey) === null || a === void 0 ? void 0 : a.call(t)) !== null && o !== void 0 ? o : null);
312
- var w;
313
- l === "last" && (F = (w = (b = t.getLastKey) === null || b === void 0 ? void 0 : b.call(t)) !== null && w !== void 0 ? w : null);
312
+ var C;
313
+ l === "last" && (F = (C = (S = t.getLastKey) === null || S === void 0 ? void 0 : S.call(t)) !== null && C !== void 0 ? C : null);
314
314
  let P = e.selectedKeys;
315
315
  if (P.size) {
316
316
  for (let L of P) if (e.canSelectItem(L)) {
@@ -318,60 +318,60 @@ function yi(r) {
318
318
  break;
319
319
  }
320
320
  }
321
- e.setFocused(!0), e.setFocusedKey(F), F == null && !d && i.current && be(i.current), e.collection.size > 0 && (_.current = !1, O.current = !0);
321
+ e.setFocused(!0), e.setFocusedKey(F), F == null && !d && i.current && Se(i.current), e.collection.size > 0 && (W.current = !1, O.current = !0);
322
322
  }
323
323
  });
324
- let V = k(e.focusedKey), D = k(null);
324
+ let V = E(e.focusedKey), D = E(null);
325
325
  Y(() => {
326
- if (e.isFocused && e.focusedKey != null && (e.focusedKey !== V.current || O.current) && p.current && i.current) {
327
- let a = Ee(), b = le(i, e.focusedKey);
328
- if (!(b instanceof HTMLElement))
326
+ if (e.isFocused && e.focusedKey != null && (e.focusedKey !== V.current || O.current) && v.current && i.current) {
327
+ let a = Ee(), S = le(i, e.focusedKey);
328
+ if (!(S instanceof HTMLElement))
329
329
  return;
330
330
  (a === "keyboard" || O.current) && (D.current && cancelAnimationFrame(D.current), D.current = requestAnimationFrame(() => {
331
- p.current && (ct(p.current, b), a !== "virtual" && De(b, {
331
+ v.current && (ct(v.current, S), a !== "virtual" && Ce(S, {
332
332
  containingElement: i.current
333
333
  }));
334
334
  }));
335
335
  }
336
- !d && e.isFocused && e.focusedKey == null && V.current != null && i.current && be(i.current), V.current = e.focusedKey, O.current = !1;
336
+ !d && e.isFocused && e.focusedKey == null && V.current != null && i.current && Se(i.current), V.current = e.focusedKey, O.current = !1;
337
337
  }), Y(() => () => {
338
338
  D.current && cancelAnimationFrame(D.current);
339
339
  }, []), ee(i, "react-aria-focus-scope-restore", (a) => {
340
340
  a.preventDefault(), e.setFocused(!0);
341
341
  });
342
342
  let j = {
343
- onKeyDown: C,
344
- onFocus: E,
343
+ onKeyDown: w,
344
+ onFocus: k,
345
345
  onBlur: M,
346
346
  onMouseDown(a) {
347
- p.current === a.target && a.preventDefault();
347
+ v.current === a.target && a.preventDefault();
348
348
  }
349
- }, { typeSelectProps: ne } = It({
349
+ }, { typeSelectProps: re } = It({
350
350
  keyboardDelegate: t,
351
351
  selectionManager: e
352
352
  });
353
- $ || (j = Z(ne, j));
353
+ b || (j = J(re, j));
354
354
  let Q;
355
355
  d || (Q = e.focusedKey == null ? 0 : -1);
356
- let re = Dt(e.collection);
356
+ let se = Dt(e.collection);
357
357
  return {
358
- collectionProps: Z(j, {
358
+ collectionProps: J(j, {
359
359
  tabIndex: Q,
360
- "data-collection": re
360
+ "data-collection": se
361
361
  })
362
362
  };
363
363
  }
364
- function pi(r) {
365
- let { id: e, selectionManager: t, key: i, ref: l, shouldSelectOnPressUp: n, shouldUseVirtualFocus: s, focus: c, isDisabled: u, onAction: v, allowsDifferentPressOrigin: $, linkBehavior: d = "action" } = r, f = je();
366
- e = _e(e);
367
- let h = (o) => {
368
- if (o.pointerType === "keyboard" && Se(o)) t.toggleSelection(i);
364
+ function $i(n) {
365
+ let { id: e, selectionManager: t, key: i, ref: l, shouldSelectOnPressUp: r, shouldUseVirtualFocus: s, focus: c, isDisabled: u, onAction: h, allowsDifferentPressOrigin: b, linkBehavior: d = "action" } = n, f = Ge();
366
+ e = qe(e);
367
+ let y = (o) => {
368
+ if (o.pointerType === "keyboard" && $e(o)) t.toggleSelection(i);
369
369
  else {
370
370
  if (t.selectionMode === "none") return;
371
371
  if (t.isLink(i)) {
372
372
  if (d === "selection" && l.current) {
373
- let w = t.getItemProps(i);
374
- f.open(l.current, o, w.href, w.routerOptions), t.setSelectedKeys(t.selectedKeys);
373
+ let C = t.getItemProps(i);
374
+ f.open(l.current, o, C.href, C.routerOptions), t.setSelectedKeys(t.selectedKeys);
375
375
  return;
376
376
  } else if (d === "override" || d === "none") return;
377
377
  }
@@ -379,7 +379,7 @@ function pi(r) {
379
379
  }
380
380
  };
381
381
  Y(() => {
382
- i === t.focusedKey && t.isFocused && (s ? Ze(l.current) : c ? c() : document.activeElement !== l.current && l.current && be(l.current));
382
+ i === t.focusedKey && t.isFocused && (s ? Ye(l.current) : c ? c() : document.activeElement !== l.current && l.current && Se(l.current));
383
383
  }, [
384
384
  l,
385
385
  i,
@@ -388,36 +388,36 @@ function pi(r) {
388
388
  t.isFocused,
389
389
  s
390
390
  ]), u = u || t.isDisabled(i);
391
- let p = {};
392
- !s && !u ? p = {
391
+ let v = {};
392
+ !s && !u ? v = {
393
393
  tabIndex: i === t.focusedKey ? 0 : -1,
394
394
  onFocus(o) {
395
395
  o.target === l.current && t.setFocusedKey(i);
396
396
  }
397
- } : u && (p.onMouseDown = (o) => {
397
+ } : u && (v.onMouseDown = (o) => {
398
398
  o.preventDefault();
399
399
  });
400
- let K = t.isLink(i) && d === "override", g = t.isLink(i) && d !== "selection" && d !== "none", m = !u && t.canSelectItem(i) && !K, C = (v || g) && !u, x = C && (t.selectionBehavior === "replace" ? !m : !m || t.isEmpty), E = C && m && t.selectionBehavior === "replace", M = x || E, A = k(null), T = M && m, I = k(!1), _ = k(!1), O = t.getItemProps(i), V = (o) => {
401
- v && v(), g && l.current && f.open(l.current, o, O.href, O.routerOptions);
400
+ let K = t.isLink(i) && d === "override", g = t.isLink(i) && d !== "selection" && d !== "none", m = !u && t.canSelectItem(i) && !K, w = (h || g) && !u, x = w && (t.selectionBehavior === "replace" ? !m : !m || t.isEmpty), k = w && m && t.selectionBehavior === "replace", M = x || k, A = E(null), T = M && m, I = E(!1), W = E(!1), O = t.getItemProps(i), V = (o) => {
401
+ h && h(), g && l.current && f.open(l.current, o, O.href, O.routerOptions);
402
402
  }, D = {
403
403
  ref: l
404
404
  };
405
- if (n ? (D.onPressStart = (o) => {
406
- A.current = o.pointerType, I.current = T, o.pointerType === "keyboard" && (!M || Me()) && h(o);
407
- }, $ ? (D.onPressUp = x ? void 0 : (o) => {
408
- o.pointerType === "mouse" && m && h(o);
405
+ if (r ? (D.onPressStart = (o) => {
406
+ A.current = o.pointerType, I.current = T, o.pointerType === "keyboard" && (!M || Fe()) && y(o);
407
+ }, b ? (D.onPressUp = x ? void 0 : (o) => {
408
+ o.pointerType === "mouse" && m && y(o);
409
409
  }, D.onPress = x ? V : (o) => {
410
- o.pointerType !== "keyboard" && o.pointerType !== "mouse" && m && h(o);
410
+ o.pointerType !== "keyboard" && o.pointerType !== "mouse" && m && y(o);
411
411
  }) : D.onPress = (o) => {
412
- if (x || E && o.pointerType !== "mouse") {
413
- if (o.pointerType === "keyboard" && !Fe()) return;
412
+ if (x || k && o.pointerType !== "mouse") {
413
+ if (o.pointerType === "keyboard" && !Pe()) return;
414
414
  V(o);
415
- } else o.pointerType !== "keyboard" && m && h(o);
415
+ } else o.pointerType !== "keyboard" && m && y(o);
416
416
  }) : (D.onPressStart = (o) => {
417
- A.current = o.pointerType, I.current = T, _.current = x, m && (o.pointerType === "mouse" && !x || o.pointerType === "keyboard" && (!C || Me())) && h(o);
417
+ A.current = o.pointerType, I.current = T, W.current = x, m && (o.pointerType === "mouse" && !x || o.pointerType === "keyboard" && (!w || Fe())) && y(o);
418
418
  }, D.onPress = (o) => {
419
- (o.pointerType === "touch" || o.pointerType === "pen" || o.pointerType === "virtual" || o.pointerType === "keyboard" && M && Fe() || o.pointerType === "mouse" && _.current) && (M ? V(o) : m && h(o));
420
- }), p["data-collection"] = kt(t.collection), p["data-key"] = i, D.preventFocusOnPress = s, s && (D = Z(D, {
419
+ (o.pointerType === "touch" || o.pointerType === "pen" || o.pointerType === "virtual" || o.pointerType === "keyboard" && M && Pe() || o.pointerType === "mouse" && W.current) && (M ? V(o) : m && y(o));
420
+ }), v["data-collection"] = Et(t.collection), v["data-key"] = i, D.preventFocusOnPress = s, s && (D = J(D, {
421
421
  onPressStart(o) {
422
422
  o.pointerType !== "touch" && (t.setFocused(!0), t.setFocusedKey(i));
423
423
  },
@@ -433,27 +433,27 @@ function pi(r) {
433
433
  "onPressUp",
434
434
  "onClick"
435
435
  ]) O[o] && (D[o] = ot(D[o], O[o]));
436
- let { pressProps: j, isPressed: ne } = Ye(D), Q = E ? (o) => {
436
+ let { pressProps: j, isPressed: re } = We(D), Q = k ? (o) => {
437
437
  A.current === "mouse" && (o.stopPropagation(), o.preventDefault(), V(o));
438
- } : void 0, { longPressProps: re } = xt({
438
+ } : void 0, { longPressProps: se } = xt({
439
439
  isDisabled: !T,
440
440
  onLongPress(o) {
441
- o.pointerType === "touch" && (h(o), t.setSelectionBehavior("toggle"));
441
+ o.pointerType === "touch" && (y(o), t.setSelectionBehavior("toggle"));
442
442
  }
443
443
  }), a = (o) => {
444
444
  A.current === "touch" && I.current && o.preventDefault();
445
- }, b = d !== "none" && t.isLink(i) ? (o) => {
445
+ }, S = d !== "none" && t.isLink(i) ? (o) => {
446
446
  ut.isOpening || o.preventDefault();
447
447
  } : void 0;
448
448
  return {
449
- itemProps: Z(
450
- p,
449
+ itemProps: J(
450
+ v,
451
451
  m || x || s && !u ? j : {},
452
- T ? re : {},
452
+ T ? se : {},
453
453
  {
454
454
  onDoubleClick: Q,
455
455
  onDragStartCapture: a,
456
- onClick: b,
456
+ onClick: S,
457
457
  id: e
458
458
  },
459
459
  // Prevent DOM focus from moving on mouse down when using virtual focus
@@ -461,7 +461,7 @@ function pi(r) {
461
461
  onMouseDown: (o) => o.preventDefault()
462
462
  } : void 0
463
463
  ),
464
- isPressed: ne,
464
+ isPressed: re,
465
465
  isSelected: t.isSelected(i),
466
466
  isFocused: t.isFocused && t.focusedKey === i,
467
467
  isDisabled: u,
@@ -469,26 +469,26 @@ function pi(r) {
469
469
  hasAction: M
470
470
  };
471
471
  }
472
- function Fe() {
473
- let r = window.event;
474
- return r?.key === "Enter";
472
+ function Pe() {
473
+ let n = window.event;
474
+ return n?.key === "Enter";
475
475
  }
476
- function Me() {
477
- let r = window.event;
478
- return r?.key === " " || r?.code === "Space";
476
+ function Fe() {
477
+ let n = window.event;
478
+ return n?.key === " " || n?.code === "Space";
479
479
  }
480
- class Ae {
480
+ class Me {
481
481
  getItemRect(e) {
482
482
  let t = this.ref.current;
483
483
  if (!t) return null;
484
484
  let i = e != null ? le(this.ref, e) : null;
485
485
  if (!i) return null;
486
- let l = t.getBoundingClientRect(), n = i.getBoundingClientRect();
486
+ let l = t.getBoundingClientRect(), r = i.getBoundingClientRect();
487
487
  return {
488
- x: n.left - l.left + t.scrollLeft,
489
- y: n.top - l.top + t.scrollTop,
490
- width: n.width,
491
- height: n.height
488
+ x: r.left - l.left + t.scrollLeft,
489
+ y: r.top - l.top + t.scrollTop,
490
+ width: r.width,
491
+ height: r.height
492
492
  };
493
493
  }
494
494
  getContentSize() {
@@ -501,19 +501,19 @@ class Ae {
501
501
  }
502
502
  getVisibleRect() {
503
503
  let e = this.ref.current;
504
- var t, i, l, n;
504
+ var t, i, l, r;
505
505
  return {
506
506
  x: (t = e?.scrollLeft) !== null && t !== void 0 ? t : 0,
507
507
  y: (i = e?.scrollTop) !== null && i !== void 0 ? i : 0,
508
508
  width: (l = e?.offsetWidth) !== null && l !== void 0 ? l : 0,
509
- height: (n = e?.offsetHeight) !== null && n !== void 0 ? n : 0
509
+ height: (r = e?.offsetHeight) !== null && r !== void 0 ? r : 0
510
510
  };
511
511
  }
512
512
  constructor(e) {
513
513
  this.ref = e;
514
514
  }
515
515
  }
516
- class vi {
516
+ class Ki {
517
517
  isDisabled(e) {
518
518
  var t;
519
519
  return this.disabledBehavior === "all" && (((t = e.props) === null || t === void 0 ? void 0 : t.isDisabled) || this.disabledKeys.has(e.key));
@@ -536,13 +536,13 @@ class vi {
536
536
  return t = this.collection.getKeyBefore(t), this.findNextNonDisabled(t, (i) => this.collection.getKeyBefore(i));
537
537
  }
538
538
  findKey(e, t, i) {
539
- let l = e, n = this.layoutDelegate.getItemRect(l);
540
- if (!n || l == null) return null;
541
- let s = n;
539
+ let l = e, r = this.layoutDelegate.getItemRect(l);
540
+ if (!r || l == null) return null;
541
+ let s = r;
542
542
  do {
543
543
  if (l = t(l), l == null) break;
544
- n = this.layoutDelegate.getItemRect(l);
545
- } while (n && i(s, n) && l != null);
544
+ r = this.layoutDelegate.getItemRect(l);
545
+ } while (r && i(s, r) && l != null);
546
546
  return l;
547
547
  }
548
548
  isSameRow(e, t) {
@@ -579,15 +579,15 @@ class vi {
579
579
  getKeyPageAbove(e) {
580
580
  let t = this.ref.current, i = this.layoutDelegate.getItemRect(e);
581
581
  if (!i) return null;
582
- if (t && !ke(t)) return this.getFirstKey();
582
+ if (t && !De(t)) return this.getFirstKey();
583
583
  let l = e;
584
584
  if (this.orientation === "horizontal") {
585
- let n = Math.max(0, i.x + i.width - this.layoutDelegate.getVisibleRect().width);
586
- for (; i && i.x > n && l != null; )
585
+ let r = Math.max(0, i.x + i.width - this.layoutDelegate.getVisibleRect().width);
586
+ for (; i && i.x > r && l != null; )
587
587
  l = this.getKeyAbove(l), i = l == null ? null : this.layoutDelegate.getItemRect(l);
588
588
  } else {
589
- let n = Math.max(0, i.y + i.height - this.layoutDelegate.getVisibleRect().height);
590
- for (; i && i.y > n && l != null; )
589
+ let r = Math.max(0, i.y + i.height - this.layoutDelegate.getVisibleRect().height);
590
+ for (; i && i.y > r && l != null; )
591
591
  l = this.getKeyAbove(l), i = l == null ? null : this.layoutDelegate.getItemRect(l);
592
592
  }
593
593
  return l ?? this.getFirstKey();
@@ -595,15 +595,15 @@ class vi {
595
595
  getKeyPageBelow(e) {
596
596
  let t = this.ref.current, i = this.layoutDelegate.getItemRect(e);
597
597
  if (!i) return null;
598
- if (t && !ke(t)) return this.getLastKey();
598
+ if (t && !De(t)) return this.getLastKey();
599
599
  let l = e;
600
600
  if (this.orientation === "horizontal") {
601
- let n = Math.min(this.layoutDelegate.getContentSize().width, i.y - i.width + this.layoutDelegate.getVisibleRect().width);
602
- for (; i && i.x < n && l != null; )
601
+ let r = Math.min(this.layoutDelegate.getContentSize().width, i.y - i.width + this.layoutDelegate.getVisibleRect().width);
602
+ for (; i && i.x < r && l != null; )
603
603
  l = this.getKeyBelow(l), i = l == null ? null : this.layoutDelegate.getItemRect(l);
604
604
  } else {
605
- let n = Math.min(this.layoutDelegate.getContentSize().height, i.y - i.height + this.layoutDelegate.getVisibleRect().height);
606
- for (; i && i.y < n && l != null; )
605
+ let r = Math.min(this.layoutDelegate.getContentSize().height, i.y - i.height + this.layoutDelegate.getVisibleRect().height);
606
+ for (; i && i.y < r && l != null; )
607
607
  l = this.getKeyBelow(l), i = l == null ? null : this.layoutDelegate.getItemRect(l);
608
608
  }
609
609
  return l ?? this.getLastKey();
@@ -612,10 +612,10 @@ class vi {
612
612
  if (!this.collator) return null;
613
613
  let i = this.collection, l = t || this.getFirstKey();
614
614
  for (; l != null; ) {
615
- let n = i.getItem(l);
616
- if (!n) return null;
617
- let s = n.textValue.slice(0, e.length);
618
- if (n.textValue && this.collator.compare(s, e) === 0) return l;
615
+ let r = i.getItem(l);
616
+ if (!r) return null;
617
+ let s = r.textValue.slice(0, e.length);
618
+ if (r.textValue && this.collator.compare(s, e) === 0) return l;
619
619
  l = this.getNextKey(l);
620
620
  }
621
621
  return null;
@@ -623,55 +623,55 @@ class vi {
623
623
  constructor(...e) {
624
624
  if (e.length === 1) {
625
625
  let t = e[0];
626
- 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 Ae(t.ref);
626
+ 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 Me(t.ref);
627
627
  } else
628
- 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 Ae(this.ref);
628
+ 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 Me(this.ref);
629
629
  this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
630
630
  }
631
631
  }
632
632
  class Ft {
633
633
  build(e, t) {
634
- return this.context = t, Re(() => this.iterateCollection(e));
634
+ return this.context = t, Ae(() => this.iterateCollection(e));
635
635
  }
636
636
  *iterateCollection(e) {
637
637
  let { children: t, items: i } = e;
638
- if (S.isValidElement(t) && t.type === S.Fragment) yield* this.iterateCollection({
638
+ if ($.isValidElement(t) && t.type === $.Fragment) yield* this.iterateCollection({
639
639
  children: t.props.children,
640
640
  items: i
641
641
  });
642
642
  else if (typeof t == "function") {
643
643
  if (!i) throw new Error("props.children was a function but props.items is missing");
644
644
  let l = 0;
645
- for (let n of i)
645
+ for (let r of i)
646
646
  yield* this.getFullNode({
647
- value: n,
647
+ value: r,
648
648
  index: l
649
649
  }, {
650
650
  renderer: t
651
651
  }), l++;
652
652
  } else {
653
653
  let l = [];
654
- S.Children.forEach(t, (s) => {
654
+ $.Children.forEach(t, (s) => {
655
655
  s && l.push(s);
656
656
  });
657
- let n = 0;
657
+ let r = 0;
658
658
  for (let s of l) {
659
659
  let c = this.getFullNode({
660
660
  element: s,
661
- index: n
661
+ index: r
662
662
  }, {});
663
663
  for (let u of c)
664
- n++, yield u;
664
+ r++, yield u;
665
665
  }
666
666
  }
667
667
  }
668
668
  getKey(e, t, i, l) {
669
669
  if (e.key != null) return e.key;
670
670
  if (t.type === "cell" && t.key != null) return `${l}${t.key}`;
671
- let n = t.value;
672
- if (n != null) {
671
+ let r = t.value;
672
+ if (r != null) {
673
673
  var s;
674
- let c = (s = n.key) !== null && s !== void 0 ? s : n.id;
674
+ let c = (s = r.key) !== null && s !== void 0 ? s : r.id;
675
675
  if (c == null) throw new Error("No key found for item");
676
676
  return c;
677
677
  }
@@ -683,15 +683,15 @@ class Ft {
683
683
  };
684
684
  }
685
685
  *getFullNode(e, t, i, l) {
686
- if (S.isValidElement(e.element) && e.element.type === S.Fragment) {
686
+ if ($.isValidElement(e.element) && e.element.type === $.Fragment) {
687
687
  let g = [];
688
- S.Children.forEach(e.element.props.children, (C) => {
689
- g.push(C);
688
+ $.Children.forEach(e.element.props.children, (w) => {
689
+ g.push(w);
690
690
  });
691
- var n;
692
- let m = (n = e.index) !== null && n !== void 0 ? n : 0;
693
- for (const C of g) yield* this.getFullNode({
694
- element: C,
691
+ var r;
692
+ let m = (r = e.index) !== null && r !== void 0 ? r : 0;
693
+ for (const w of g) yield* this.getFullNode({
694
+ element: w,
695
695
  index: m++
696
696
  }, t, i, l);
697
697
  return;
@@ -705,35 +705,35 @@ class Ft {
705
705
  }
706
706
  s = t.renderer(e.value);
707
707
  }
708
- if (S.isValidElement(s)) {
708
+ if ($.isValidElement(s)) {
709
709
  let g = s.type;
710
710
  if (typeof g != "function" && typeof g.getCollectionNode != "function") {
711
- let E = s.type;
712
- throw new Error(`Unknown element <${E}> in collection.`);
711
+ let k = s.type;
712
+ throw new Error(`Unknown element <${k}> in collection.`);
713
713
  }
714
714
  let m = g.getCollectionNode(s.props, this.context);
715
715
  var c;
716
- let C = (c = e.index) !== null && c !== void 0 ? c : 0, x = m.next();
716
+ let w = (c = e.index) !== null && c !== void 0 ? c : 0, x = m.next();
717
717
  for (; !x.done && x.value; ) {
718
- let E = x.value;
719
- e.index = C;
718
+ let k = x.value;
719
+ e.index = w;
720
720
  var u;
721
- let M = (u = E.key) !== null && u !== void 0 ? u : null;
722
- M == null && (M = E.element ? null : this.getKey(s, e, t, i));
721
+ let M = (u = k.key) !== null && u !== void 0 ? u : null;
722
+ M == null && (M = k.element ? null : this.getKey(s, e, t, i));
723
723
  let T = [
724
724
  ...this.getFullNode({
725
- ...E,
725
+ ...k,
726
726
  key: M,
727
- index: C,
728
- wrapper: Mt(e.wrapper, E.wrapper)
729
- }, this.getChildState(t, E), i ? `${i}${s.key}` : s.key, l)
727
+ index: w,
728
+ wrapper: Mt(e.wrapper, k.wrapper)
729
+ }, this.getChildState(t, k), i ? `${i}${s.key}` : s.key, l)
730
730
  ];
731
731
  for (let I of T) {
732
- var v, $;
733
- I.value = ($ = (v = E.value) !== null && v !== void 0 ? v : e.value) !== null && $ !== void 0 ? $ : null, I.value && this.cache.set(I.value, I);
732
+ var h, b;
733
+ I.value = (b = (h = k.value) !== null && h !== void 0 ? h : e.value) !== null && b !== void 0 ? b : null, I.value && this.cache.set(I.value, I);
734
734
  var d;
735
- if (e.type && I.type !== e.type) throw new Error(`Unsupported type <${he(I.type)}> in <${he((d = l?.type) !== null && d !== void 0 ? d : "unknown parent type")}>. Only <${he(e.type)}> is supported.`);
736
- C++, yield I;
735
+ if (e.type && I.type !== e.type) throw new Error(`Unsupported type <${ye(I.type)}> in <${ye((d = l?.type) !== null && d !== void 0 ? d : "unknown parent type")}>. Only <${ye(e.type)}> is supported.`);
736
+ w++, yield I;
737
737
  }
738
738
  x = m.next(T);
739
739
  }
@@ -741,31 +741,31 @@ class Ft {
741
741
  }
742
742
  if (e.key == null || e.type == null) return;
743
743
  let f = this;
744
- var h, p;
744
+ var y, v;
745
745
  let K = {
746
746
  type: e.type,
747
747
  props: e.props,
748
748
  key: e.key,
749
749
  parentKey: l ? l.key : null,
750
- value: (h = e.value) !== null && h !== void 0 ? h : null,
750
+ value: (y = e.value) !== null && y !== void 0 ? y : null,
751
751
  level: l ? l.level + 1 : 0,
752
752
  index: e.index,
753
753
  rendered: e.rendered,
754
- textValue: (p = e.textValue) !== null && p !== void 0 ? p : "",
754
+ textValue: (v = e.textValue) !== null && v !== void 0 ? v : "",
755
755
  "aria-label": e["aria-label"],
756
756
  wrapper: e.wrapper,
757
757
  shouldInvalidate: e.shouldInvalidate,
758
758
  hasChildNodes: e.hasChildNodes || !1,
759
- childNodes: Re(function* () {
759
+ childNodes: Ae(function* () {
760
760
  if (!e.hasChildNodes || !e.childNodes) return;
761
761
  let g = 0;
762
762
  for (let m of e.childNodes()) {
763
763
  m.key != null && (m.key = `${K.key}${m.key}`);
764
- let C = f.getFullNode({
764
+ let w = f.getFullNode({
765
765
  ...m,
766
766
  index: g
767
767
  }, f.getChildState(t, m), K.key, K);
768
- for (let x of C)
768
+ for (let x of w)
769
769
  g++, yield x;
770
770
  }
771
771
  })
@@ -776,80 +776,80 @@ class Ft {
776
776
  this.cache = /* @__PURE__ */ new WeakMap();
777
777
  }
778
778
  }
779
- function Re(r) {
779
+ function Ae(n) {
780
780
  let e = [], t = null;
781
781
  return {
782
782
  *[Symbol.iterator]() {
783
783
  for (let i of e) yield i;
784
- t || (t = r());
784
+ t || (t = n());
785
785
  for (let i of t)
786
786
  e.push(i), yield i;
787
787
  }
788
788
  };
789
789
  }
790
- function Mt(r, e) {
791
- if (r && e) return (t) => r(e(t));
792
- if (r) return r;
790
+ function Mt(n, e) {
791
+ if (n && e) return (t) => n(e(t));
792
+ if (n) return n;
793
793
  if (e) return e;
794
794
  }
795
- function he(r) {
796
- return r[0].toUpperCase() + r.slice(1);
795
+ function ye(n) {
796
+ return n[0].toUpperCase() + n.slice(1);
797
797
  }
798
- function gi(r, e, t) {
799
- let i = B(() => new Ft(), []), { children: l, items: n, collection: s } = r;
798
+ function xi(n, e, t) {
799
+ let i = B(() => new Ft(), []), { children: l, items: r, collection: s } = n;
800
800
  return B(() => {
801
801
  if (s) return s;
802
802
  let u = i.build({
803
803
  children: l,
804
- items: n
804
+ items: r
805
805
  }, t);
806
806
  return e(u);
807
807
  }, [
808
808
  i,
809
809
  l,
810
- n,
810
+ r,
811
811
  s,
812
812
  t,
813
813
  e
814
814
  ]);
815
815
  }
816
- function At(r, e) {
817
- return typeof e.getChildren == "function" ? e.getChildren(r.key) : r.childNodes;
816
+ function At(n, e) {
817
+ return typeof e.getChildren == "function" ? e.getChildren(n.key) : n.childNodes;
818
818
  }
819
- function Rt(r) {
820
- return Tt(r, 0);
819
+ function Rt(n) {
820
+ return Tt(n, 0);
821
821
  }
822
- function Tt(r, e) {
822
+ function Tt(n, e) {
823
823
  if (e < 0) return;
824
824
  let t = 0;
825
- for (let i of r) {
825
+ for (let i of n) {
826
826
  if (t === e) return i;
827
827
  t++;
828
828
  }
829
829
  }
830
- function mi(r) {
830
+ function wi(n) {
831
831
  let e;
832
- for (let t of r) e = t;
832
+ for (let t of n) e = t;
833
833
  return e;
834
834
  }
835
- function ye(r, e, t) {
835
+ function pe(n, e, t) {
836
836
  if (e.parentKey === t.parentKey) return e.index - t.index;
837
837
  let i = [
838
- ...Te(r, e),
838
+ ...Re(n, e),
839
839
  e
840
840
  ], l = [
841
- ...Te(r, t),
841
+ ...Re(n, t),
842
842
  t
843
- ], n = i.slice(0, l.length).findIndex((s, c) => s !== l[c]);
844
- return n !== -1 ? (e = i[n], t = l[n], e.index - t.index) : i.findIndex((s) => s === t) >= 0 ? 1 : (l.findIndex((s) => s === e) >= 0, -1);
843
+ ], r = i.slice(0, l.length).findIndex((s, c) => s !== l[c]);
844
+ return r !== -1 ? (e = i[r], t = l[r], e.index - t.index) : i.findIndex((s) => s === t) >= 0 ? 1 : (l.findIndex((s) => s === e) >= 0, -1);
845
845
  }
846
- function Te(r, e) {
846
+ function Re(n, e) {
847
847
  let t = [], i = e;
848
848
  for (; i?.parentKey != null; )
849
- i = r.getItem(i.parentKey), i && t.unshift(i);
849
+ i = n.getItem(i.parentKey), i && t.unshift(i);
850
850
  return t;
851
851
  }
852
- var te = { exports: {} }, pe = {};
852
+ var te = { exports: {} }, ve = {};
853
853
  /**
854
854
  * @license React
855
855
  * use-sync-external-store-shim.production.js
@@ -859,22 +859,22 @@ var te = { exports: {} }, pe = {};
859
859
  * This source code is licensed under the MIT license found in the
860
860
  * LICENSE file in the root directory of this source tree.
861
861
  */
862
- var Oe;
862
+ var Te;
863
863
  function Ot() {
864
- if (Oe) return pe;
865
- Oe = 1;
866
- var r = S;
864
+ if (Te) return ve;
865
+ Te = 1;
866
+ var n = $;
867
867
  function e(d, f) {
868
868
  return d === f && (d !== 0 || 1 / d === 1 / f) || d !== d && f !== f;
869
869
  }
870
- var t = typeof Object.is == "function" ? Object.is : e, i = r.useState, l = r.useEffect, n = r.useLayoutEffect, s = r.useDebugValue;
870
+ var t = typeof Object.is == "function" ? Object.is : e, i = n.useState, l = n.useEffect, r = n.useLayoutEffect, s = n.useDebugValue;
871
871
  function c(d, f) {
872
- var h = f(), p = i({ inst: { value: h, getSnapshot: f } }), K = p[0].inst, g = p[1];
873
- return n(
872
+ var y = f(), v = i({ inst: { value: y, getSnapshot: f } }), K = v[0].inst, g = v[1];
873
+ return r(
874
874
  function() {
875
- K.value = h, K.getSnapshot = f, u(K) && g({ inst: K });
875
+ K.value = y, K.getSnapshot = f, u(K) && g({ inst: K });
876
876
  },
877
- [d, h, f]
877
+ [d, y, f]
878
878
  ), l(
879
879
  function() {
880
880
  return u(K) && g({ inst: K }), d(function() {
@@ -882,25 +882,25 @@ function Ot() {
882
882
  });
883
883
  },
884
884
  [d]
885
- ), s(h), h;
885
+ ), s(y), y;
886
886
  }
887
887
  function u(d) {
888
888
  var f = d.getSnapshot;
889
889
  d = d.value;
890
890
  try {
891
- var h = f();
892
- return !t(d, h);
891
+ var y = f();
892
+ return !t(d, y);
893
893
  } catch {
894
894
  return !0;
895
895
  }
896
896
  }
897
- function v(d, f) {
897
+ function h(d, f) {
898
898
  return f();
899
899
  }
900
- var $ = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? v : c;
901
- return pe.useSyncExternalStore = r.useSyncExternalStore !== void 0 ? r.useSyncExternalStore : $, pe;
900
+ var b = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? h : c;
901
+ return ve.useSyncExternalStore = n.useSyncExternalStore !== void 0 ? n.useSyncExternalStore : b, ve;
902
902
  }
903
- var ve = {};
903
+ var ge = {};
904
904
  /**
905
905
  * @license React
906
906
  * use-sync-external-store-shim.development.js
@@ -910,77 +910,116 @@ var ve = {};
910
910
  * This source code is licensed under the MIT license found in the
911
911
  * LICENSE file in the root directory of this source tree.
912
912
  */
913
- var Le;
913
+ var Oe;
914
914
  function Lt() {
915
- return Le || (Le = 1, process.env.NODE_ENV !== "production" && function() {
916
- function r(h, p) {
917
- return h === p && (h !== 0 || 1 / h === 1 / p) || h !== h && p !== p;
915
+ return Oe || (Oe = 1, process.env.NODE_ENV !== "production" && (function() {
916
+ function n(y, v) {
917
+ return y === v && (y !== 0 || 1 / y === 1 / v) || y !== y && v !== v;
918
918
  }
919
- function e(h, p) {
920
- $ || l.startTransition === void 0 || ($ = !0, console.error(
919
+ function e(y, v) {
920
+ b || l.startTransition === void 0 || (b = !0, console.error(
921
921
  "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."
922
922
  ));
923
- var K = p();
923
+ var K = v();
924
924
  if (!d) {
925
- var g = p();
926
- n(K, g) || (console.error(
925
+ var g = v();
926
+ r(K, g) || (console.error(
927
927
  "The result of getSnapshot should be cached to avoid an infinite loop"
928
928
  ), d = !0);
929
929
  }
930
930
  g = s({
931
- inst: { value: K, getSnapshot: p }
931
+ inst: { value: K, getSnapshot: v }
932
932
  });
933
- var m = g[0].inst, C = g[1];
933
+ var m = g[0].inst, w = g[1];
934
934
  return u(
935
935
  function() {
936
- m.value = K, m.getSnapshot = p, t(m) && C({ inst: m });
936
+ m.value = K, m.getSnapshot = v, t(m) && w({ inst: m });
937
937
  },
938
- [h, K, p]
938
+ [y, K, v]
939
939
  ), c(
940
940
  function() {
941
- return t(m) && C({ inst: m }), h(function() {
942
- t(m) && C({ inst: m });
941
+ return t(m) && w({ inst: m }), y(function() {
942
+ t(m) && w({ inst: m });
943
943
  });
944
944
  },
945
- [h]
946
- ), v(K), K;
945
+ [y]
946
+ ), h(K), K;
947
947
  }
948
- function t(h) {
949
- var p = h.getSnapshot;
950
- h = h.value;
948
+ function t(y) {
949
+ var v = y.getSnapshot;
950
+ y = y.value;
951
951
  try {
952
- var K = p();
953
- return !n(h, K);
952
+ var K = v();
953
+ return !r(y, K);
954
954
  } catch {
955
955
  return !0;
956
956
  }
957
957
  }
958
- function i(h, p) {
959
- return p();
958
+ function i(y, v) {
959
+ return v();
960
960
  }
961
961
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
962
- var l = S, n = typeof Object.is == "function" ? Object.is : r, s = l.useState, c = l.useEffect, u = l.useLayoutEffect, v = l.useDebugValue, $ = !1, d = !1, f = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? i : e;
963
- ve.useSyncExternalStore = l.useSyncExternalStore !== void 0 ? l.useSyncExternalStore : f, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
964
- }()), ve;
962
+ var l = $, r = typeof Object.is == "function" ? Object.is : n, s = l.useState, c = l.useEffect, u = l.useLayoutEffect, h = l.useDebugValue, b = !1, d = !1, f = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? i : e;
963
+ ge.useSyncExternalStore = l.useSyncExternalStore !== void 0 ? l.useSyncExternalStore : f, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
964
+ })()), ge;
965
965
  }
966
- var Be;
966
+ var Le;
967
967
  function Bt() {
968
- return Be || (Be = 1, process.env.NODE_ENV === "production" ? te.exports = Ot() : te.exports = Lt()), te.exports;
968
+ return Le || (Le = 1, process.env.NODE_ENV === "production" ? te.exports = Ot() : te.exports = Lt()), te.exports;
969
969
  }
970
970
  var Vt = /* @__PURE__ */ Bt();
971
- class $e {
971
+ const Ci = /* @__PURE__ */ z(null), Di = /* @__PURE__ */ z(null);
972
+ class ne {
972
973
  get childNodes() {
973
974
  throw new Error("childNodes is not supported");
974
975
  }
975
976
  clone() {
976
- let e = new $e(this.type, this.key);
977
+ let e = new this.constructor(this.key);
977
978
  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;
978
979
  }
979
- constructor(e, t) {
980
- 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;
980
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
981
+ filter(e, t, i) {
982
+ let l = this.clone();
983
+ return t.addDescendants(l, e), l;
984
+ }
985
+ constructor(e) {
986
+ 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 = this.constructor.type, this.key = e;
987
+ }
988
+ }
989
+ class Ze extends ne {
990
+ filter(e, t, i) {
991
+ let [l, r] = Qe(e, t, this.firstChildKey, i), s = this.clone();
992
+ return s.firstChildKey = l, s.lastChildKey = r, s;
993
+ }
994
+ }
995
+ class Nt extends ne {
996
+ }
997
+ Nt.type = "header";
998
+ class zt extends ne {
999
+ }
1000
+ zt.type = "loader";
1001
+ class Ht extends Ze {
1002
+ filter(e, t, i) {
1003
+ if (i(this.textValue, this)) {
1004
+ let l = this.clone();
1005
+ return t.addDescendants(l, e), l;
1006
+ }
1007
+ return null;
1008
+ }
1009
+ }
1010
+ Ht.type = "item";
1011
+ class Ut extends Ze {
1012
+ filter(e, t, i) {
1013
+ let l = super.filter(e, t, i);
1014
+ if (l && l.lastChildKey !== null) {
1015
+ let r = e.getItem(l.lastChildKey);
1016
+ if (r && r.type !== "header") return l;
1017
+ }
1018
+ return null;
981
1019
  }
982
1020
  }
983
- class xe {
1021
+ Ut.type = "section";
1022
+ class _t {
984
1023
  get size() {
985
1024
  return this.itemCount;
986
1025
  }
@@ -1047,6 +1086,12 @@ class xe {
1047
1086
  if (this.frozen) throw new Error("Cannot add a node to a frozen collection");
1048
1087
  e.type === "item" && this.keyMap.get(e.key) == null && this.itemCount++, this.keyMap.set(e.key, e);
1049
1088
  }
1089
+ // Deeply add a node and its children to the collection from another collection, primarily used when filtering a collection
1090
+ addDescendants(e, t) {
1091
+ this.addNode(e);
1092
+ let i = t.getChildren(e.key);
1093
+ for (let l of i) this.addDescendants(l, t);
1094
+ }
1050
1095
  removeNode(e) {
1051
1096
  if (this.frozen) throw new Error("Cannot remove a node to a frozen collection");
1052
1097
  let t = this.keyMap.get(e);
@@ -1056,47 +1101,33 @@ class xe {
1056
1101
  if (this.frozen) throw new Error("Cannot commit a frozen collection");
1057
1102
  this.firstKey = e, this.lastKey = t, this.frozen = !i;
1058
1103
  }
1059
- // TODO: this is pretty specific to menu, will need to check if it is generic enough
1060
- // Will need to handle varying levels I assume but will revisit after I get searchable menu working for base menu
1061
- // TODO: an alternative is to simply walk the collection and add all item nodes that match the filter and any sections/separators we encounter
1062
- // to an array, then walk that new array and fix all the next/Prev keys while adding them to the new collection
1063
- UNSTABLE_filter(e) {
1064
- let t = new xe(), i = null;
1065
- for (let l of this)
1066
- if (l.type === "section" && l.hasChildNodes) {
1067
- let n = l.clone(), s = null;
1068
- for (let c of this.getChildren(l.key)) if (Ve(c, e, this, t)) {
1069
- let u = c.clone();
1070
- s == null && (n.firstChildKey = u.key), t.firstKey == null && (t.firstKey = n.key), s && s.parentKey === u.parentKey ? (s.nextKey = u.key, u.prevKey = s.key) : u.prevKey = null, u.nextKey = null, t.addNode(u), s = u;
1071
- }
1072
- s && (s.type !== "header" ? (n.lastChildKey = s.key, i == null ? n.prevKey = null : (i.type === "section" || i.type === "separator") && (i.nextKey = n.key, n.prevKey = i.key), n.nextKey = null, i = n, t.addNode(n)) : (t.firstKey === n.key && (t.firstKey = null), t.removeNode(s.key)));
1073
- } else if (l.type === "separator") {
1074
- let n = l.clone();
1075
- n.nextKey = null, i?.type === "section" && (i.nextKey = n.key, n.prevKey = i.key, i = n, t.addNode(n));
1076
- } else {
1077
- let n = l.clone();
1078
- Ve(n, e, this, t) && (t.firstKey == null && (t.firstKey = n.key), i != null && i.type !== "section" && i.type !== "separator" && i.parentKey === n.parentKey ? (i.nextKey = n.key, n.prevKey = i.key) : n.prevKey = null, n.nextKey = null, t.addNode(n), i = n);
1079
- }
1080
- if (i?.type === "separator" && i.nextKey === null) {
1081
- let l;
1082
- i.prevKey != null && (l = t.getItem(i.prevKey), l.nextKey = null), t.removeNode(i.key), i = l;
1083
- }
1084
- return t.lastKey = i?.key || null, t;
1104
+ filter(e) {
1105
+ let t = new this.constructor(), [i, l] = Qe(this, t, this.firstKey, e);
1106
+ return t?.commit(i, l), t;
1085
1107
  }
1086
1108
  constructor() {
1087
1109
  this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1, this.itemCount = 0;
1088
1110
  }
1089
1111
  }
1090
- function Ve(r, e, t, i) {
1091
- if (r.type === "subdialogtrigger" || r.type === "submenutrigger") {
1092
- let l = [
1093
- ...t.getChildren(r.key)
1094
- ][0];
1095
- if (l && e(l.textValue)) {
1096
- let n = l.clone();
1097
- return i.addNode(n), !0;
1098
- } else return !1;
1099
- } else return r.type === "header" ? !0 : e(r.textValue);
1112
+ function Qe(n, e, t, i) {
1113
+ if (t == null) return [
1114
+ null,
1115
+ null
1116
+ ];
1117
+ let l = null, r = null, s = n.getItem(t);
1118
+ for (; s != null; ) {
1119
+ let h = s.filter(n, e, i);
1120
+ h != null && (h.nextKey = null, r && (h.prevKey = r.key, r.nextKey = h.key), l == null && (l = h), e.addNode(h), r = h), s = s.nextKey ? n.getItem(s.nextKey) : null;
1121
+ }
1122
+ if (r && r.type === "separator") {
1123
+ let h = r.prevKey;
1124
+ e.removeNode(r.key), h ? (r = e.getItem(h), r.nextKey = null) : r = null;
1125
+ }
1126
+ var c, u;
1127
+ return [
1128
+ (c = l?.key) !== null && c !== void 0 ? c : null,
1129
+ (u = r?.key) !== null && u !== void 0 ? u : null
1130
+ ];
1100
1131
  }
1101
1132
  class et {
1102
1133
  *[Symbol.iterator]() {
@@ -1185,7 +1216,7 @@ class et {
1185
1216
  this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;
1186
1217
  }
1187
1218
  }
1188
- class W extends et {
1219
+ class G extends et {
1189
1220
  get index() {
1190
1221
  return this._index;
1191
1222
  }
@@ -1193,7 +1224,15 @@ class W extends et {
1193
1224
  this._index = e, this.ownerDocument.markDirty(this);
1194
1225
  }
1195
1226
  get level() {
1196
- return this.parentNode instanceof W ? this.parentNode.level + (this.node.type === "item" ? 1 : 0) : 0;
1227
+ var e;
1228
+ return this.parentNode instanceof G ? this.parentNode.level + (((e = this.node) === null || e === void 0 ? void 0 : e.type) === "item" ? 1 : 0) : 0;
1229
+ }
1230
+ get node() {
1231
+ if (this._node == null) throw Error("Attempted to access node before it was defined. Check if setProps wasn't called before attempting to access the node.");
1232
+ return this._node;
1233
+ }
1234
+ set node(e) {
1235
+ this._node = e;
1197
1236
  }
1198
1237
  /**
1199
1238
  * Lazily gets a mutable instance of a Node. If the node has already
@@ -1204,31 +1243,28 @@ class W extends et {
1204
1243
  }
1205
1244
  updateNode() {
1206
1245
  var e, t, i;
1207
- let l = this.nextVisibleSibling, n = this.getMutableNode();
1208
- n.index = this.index, n.level = this.level, n.parentKey = this.parentNode instanceof W ? this.parentNode.node.key : null;
1246
+ let l = this.nextVisibleSibling, r = this.getMutableNode();
1247
+ r.index = this.index, r.level = this.level, r.parentKey = this.parentNode instanceof G ? this.parentNode.node.key : null;
1209
1248
  var s;
1210
- n.prevKey = (s = (e = this.previousVisibleSibling) === null || e === void 0 ? void 0 : e.node.key) !== null && s !== void 0 ? s : null;
1249
+ r.prevKey = (s = (e = this.previousVisibleSibling) === null || e === void 0 ? void 0 : e.node.key) !== null && s !== void 0 ? s : null;
1211
1250
  var c;
1212
- n.nextKey = (c = l?.node.key) !== null && c !== void 0 ? c : null, n.hasChildNodes = !!this.firstChild;
1251
+ r.nextKey = (c = l?.node.key) !== null && c !== void 0 ? c : null, r.hasChildNodes = !!this.firstChild;
1213
1252
  var u;
1214
- n.firstChildKey = (u = (t = this.firstVisibleChild) === null || t === void 0 ? void 0 : t.node.key) !== null && u !== void 0 ? u : null;
1215
- var v;
1216
- if (n.lastChildKey = (v = (i = this.lastVisibleChild) === null || i === void 0 ? void 0 : i.node.key) !== null && v !== void 0 ? v : null, (n.colSpan != null || n.colIndex != null) && l) {
1217
- var $, d;
1218
- let f = (($ = n.colIndex) !== null && $ !== void 0 ? $ : n.index) + ((d = n.colSpan) !== null && d !== void 0 ? d : 1);
1253
+ r.firstChildKey = (u = (t = this.firstVisibleChild) === null || t === void 0 ? void 0 : t.node.key) !== null && u !== void 0 ? u : null;
1254
+ var h;
1255
+ if (r.lastChildKey = (h = (i = this.lastVisibleChild) === null || i === void 0 ? void 0 : i.node.key) !== null && h !== void 0 ? h : null, (r.colSpan != null || r.colIndex != null) && l) {
1256
+ var b, d;
1257
+ let f = ((b = r.colIndex) !== null && b !== void 0 ? b : r.index) + ((d = r.colSpan) !== null && d !== void 0 ? d : 1);
1219
1258
  if (f !== l.node.colIndex) {
1220
- let h = l.getMutableNode();
1221
- h.colIndex = f;
1259
+ let y = l.getMutableNode();
1260
+ y.colIndex = f;
1222
1261
  }
1223
1262
  }
1224
1263
  }
1225
- setProps(e, t, i, l) {
1226
- let n = this.getMutableNode(), { value: s, textValue: c, id: u, ...v } = e;
1227
- if (v.ref = t, n.props = v, n.rendered = i, n.render = l, n.value = s, n.textValue = c || (typeof v.children == "string" ? v.children : "") || e["aria-label"] || "", u != null && u !== n.key) {
1228
- if (this.hasSetProps) throw new Error("Cannot change the id of an item");
1229
- n.key = u;
1230
- }
1231
- v.colSpan != null && (n.colSpan = v.colSpan), this.hasSetProps = !0, this.isConnected && this.ownerDocument.queueUpdate();
1264
+ setProps(e, t, i, l, r) {
1265
+ let s, { value: c, textValue: u, id: h, ...b } = e;
1266
+ if (this._node == null ? (s = new i(h ?? `react-aria-${++this.ownerDocument.nodeId}`), this.node = s) : s = this.getMutableNode(), b.ref = t, s.props = b, s.rendered = l, s.render = r, s.value = c, s.textValue = u || (typeof b.children == "string" ? b.children : "") || e["aria-label"] || "", h != null && h !== s.key) throw new Error("Cannot change the id of an item");
1267
+ b.colSpan != null && (s.colSpan = b.colSpan), this.isConnected && this.ownerDocument.queueUpdate();
1232
1268
  }
1233
1269
  get style() {
1234
1270
  let e = this;
@@ -1239,8 +1275,8 @@ class W extends et {
1239
1275
  set display(t) {
1240
1276
  let i = t === "none";
1241
1277
  if (e.isHidden !== i) {
1242
- var l, n;
1243
- (((l = e.parentNode) === null || l === void 0 ? void 0 : l.firstVisibleChild) === e || ((n = e.parentNode) === null || n === void 0 ? void 0 : n.lastVisibleChild) === e) && e.ownerDocument.markDirty(e.parentNode);
1278
+ var l, r;
1279
+ (((l = e.parentNode) === null || l === void 0 ? void 0 : l.firstVisibleChild) === e || ((r = e.parentNode) === null || r === void 0 ? void 0 : r.lastVisibleChild) === e) && e.ownerDocument.markDirty(e.parentNode);
1244
1280
  let s = e.previousVisibleSibling, c = e.nextVisibleSibling;
1245
1281
  s && e.ownerDocument.markDirty(s), c && e.ownerDocument.markDirty(c), e.isHidden = i, e.ownerDocument.markDirty(e);
1246
1282
  }
@@ -1256,15 +1292,15 @@ class W extends et {
1256
1292
  removeAttribute() {
1257
1293
  }
1258
1294
  constructor(e, t) {
1259
- super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.hasSetProps = !1, this.isHidden = !1, this.node = new $e(e, `react-aria-${++t.nodeId}`);
1295
+ super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this._node = null;
1260
1296
  }
1261
1297
  }
1262
- class Nt extends et {
1298
+ class qt extends et {
1263
1299
  get isConnected() {
1264
1300
  return this.isMounted;
1265
1301
  }
1266
1302
  createElement(e) {
1267
- return new W(e, this);
1303
+ return new G(e, this);
1268
1304
  }
1269
1305
  getMutableCollection() {
1270
1306
  return this.nextCollection || (this.nextCollection = this.collection.clone()), this.nextCollection;
@@ -1287,8 +1323,8 @@ class Nt extends et {
1287
1323
  return this.inSubscription ? this.collection.clone() : (this.queuedRender = !1, this.updateCollection(), this.collection);
1288
1324
  }
1289
1325
  updateCollection() {
1290
- for (let n of this.dirtyNodes) n instanceof W && (!n.isConnected || n.isHidden) ? this.removeNode(n) : n.updateChildIndices();
1291
- for (let n of this.dirtyNodes) n instanceof W && (n.isConnected && !n.isHidden && (n.updateNode(), this.addNode(n)), n.isMutated = !1);
1326
+ for (let r of this.dirtyNodes) r instanceof G && (!r.isConnected || r.isHidden) ? this.removeNode(r) : r.updateChildIndices();
1327
+ for (let r of this.dirtyNodes) r instanceof G && (r.isConnected && !r.isHidden && (r.updateNode(), this.addNode(r)), r.isMutated = !1);
1292
1328
  if (this.dirtyNodes.clear(), this.nextCollection) {
1293
1329
  var e, t, i, l;
1294
1330
  this.nextCollection.commit((i = (e = this.firstVisibleChild) === null || e === void 0 ? void 0 : e.node.key) !== null && i !== void 0 ? i : null, (l = (t = this.lastVisibleChild) === null || t === void 0 ? void 0 : t.node.key) !== null && l !== void 0 ? l : null, this.isSSR), this.isSSR || (this.collection = this.nextCollection, this.nextCollection = null);
@@ -1311,29 +1347,29 @@ class Nt extends et {
1311
1347
  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;
1312
1348
  }
1313
1349
  }
1314
- function tt(r) {
1315
- let { children: e, items: t, idScope: i, addIdAndValue: l, dependencies: n = [] } = r, s = B(() => /* @__PURE__ */ new WeakMap(), n);
1350
+ function tt(n) {
1351
+ let { children: e, items: t, idScope: i, addIdAndValue: l, dependencies: r = [] } = n, s = B(() => /* @__PURE__ */ new WeakMap(), r);
1316
1352
  return B(() => {
1317
1353
  if (t && typeof e == "function") {
1318
- let v = [];
1319
- for (let $ of t) {
1320
- let d = s.get($);
1354
+ let h = [];
1355
+ for (let b of t) {
1356
+ let d = s.get(b);
1321
1357
  if (!d) {
1322
- d = e($);
1358
+ d = e(b);
1323
1359
  var c, u;
1324
- let f = (u = (c = d.props.id) !== null && c !== void 0 ? c : $.key) !== null && u !== void 0 ? u : $.id;
1360
+ let f = (u = (c = d.props.id) !== null && c !== void 0 ? c : b.key) !== null && u !== void 0 ? u : b.id;
1325
1361
  if (f == null) throw new Error("Could not determine key for item");
1326
- i && (f = i + ":" + f), d = He(d, l ? {
1362
+ i && (f = i + ":" + f), d = ze(d, l ? {
1327
1363
  key: f,
1328
1364
  id: f,
1329
- value: $
1365
+ value: b
1330
1366
  } : {
1331
1367
  key: f
1332
- }), s.set($, d);
1368
+ }), s.set(b, d);
1333
1369
  }
1334
- v.push(d);
1370
+ h.push(d);
1335
1371
  }
1336
- return v;
1372
+ return h;
1337
1373
  } else if (typeof e != "function") return e;
1338
1374
  }, [
1339
1375
  e,
@@ -1343,33 +1379,33 @@ function tt(r) {
1343
1379
  l
1344
1380
  ]);
1345
1381
  }
1346
- const it = /* @__PURE__ */ G(!1), J = /* @__PURE__ */ G(null);
1347
- function bi(r) {
1348
- if (H(J))
1349
- return r.content;
1350
- let { collection: t, document: i } = qt(r.createCollection);
1351
- return /* @__PURE__ */ S.createElement(S.Fragment, null, /* @__PURE__ */ S.createElement(mt, null, /* @__PURE__ */ S.createElement(J.Provider, {
1382
+ const it = /* @__PURE__ */ z(!1), Z = /* @__PURE__ */ z(null);
1383
+ function Ei(n) {
1384
+ if (_(Z))
1385
+ return n.content;
1386
+ let { collection: t, document: i } = Yt(n.createCollection);
1387
+ return /* @__PURE__ */ $.createElement($.Fragment, null, /* @__PURE__ */ $.createElement(mt, null, /* @__PURE__ */ $.createElement(Z.Provider, {
1352
1388
  value: i
1353
- }, r.content)), /* @__PURE__ */ S.createElement(zt, {
1354
- render: r.children,
1389
+ }, n.content)), /* @__PURE__ */ $.createElement(Gt, {
1390
+ render: n.children,
1355
1391
  collection: t
1356
1392
  }));
1357
1393
  }
1358
- function zt({ collection: r, render: e }) {
1359
- return e(r);
1394
+ function Gt({ collection: n, render: e }) {
1395
+ return e(n);
1360
1396
  }
1361
- function Ut(r, e, t) {
1362
- let i = Xe(), l = k(i);
1397
+ function Wt(n, e, t) {
1398
+ let i = je(), l = E(i);
1363
1399
  l.current = i;
1364
- let n = X(() => l.current ? t() : e(), [
1400
+ let r = X(() => l.current ? t() : e(), [
1365
1401
  e,
1366
1402
  t
1367
1403
  ]);
1368
- return Vt.useSyncExternalStore(r, n);
1404
+ return Vt.useSyncExternalStore(n, r);
1369
1405
  }
1370
- const Ht = typeof S.useSyncExternalStore == "function" ? S.useSyncExternalStore : Ut;
1371
- function qt(r) {
1372
- let [e] = ie(() => new Nt(r?.() || new xe())), t = X((s) => e.subscribe(s), [
1406
+ const jt = typeof $.useSyncExternalStore == "function" ? $.useSyncExternalStore : Wt;
1407
+ function Yt(n) {
1408
+ let [e] = ie(() => new qt(n?.() || new _t())), t = X((s) => e.subscribe(s), [
1373
1409
  e
1374
1410
  ]), i = X(() => {
1375
1411
  let s = e.getCollection();
@@ -1378,122 +1414,183 @@ function qt(r) {
1378
1414
  e
1379
1415
  ]), l = X(() => (e.isSSR = !0, e.getCollection()), [
1380
1416
  e
1381
- ]), n = Ht(t, i, l);
1382
- return ge(() => (e.isMounted = !0, () => {
1417
+ ]), r = jt(t, i, l);
1418
+ return me(() => (e.isMounted = !0, () => {
1383
1419
  e.isMounted = !1;
1384
1420
  }), [
1385
1421
  e
1386
1422
  ]), {
1387
- collection: n,
1423
+ collection: r,
1388
1424
  document: e
1389
1425
  };
1390
1426
  }
1391
- const Ke = /* @__PURE__ */ G(null);
1392
- function lt(r, e, t, i, l, n) {
1427
+ const Ke = /* @__PURE__ */ z(null);
1428
+ function Xt(n) {
1429
+ var e;
1430
+ return e = class extends ne {
1431
+ }, e.type = n, e;
1432
+ }
1433
+ function lt(n, e, t, i, l, r) {
1434
+ typeof n == "string" && (n = Xt(n));
1393
1435
  let s = X((u) => {
1394
- u?.setProps(e, t, i, n);
1436
+ u?.setProps(e, t, n, i, r);
1395
1437
  }, [
1396
1438
  e,
1397
1439
  t,
1398
1440
  i,
1441
+ r,
1399
1442
  n
1400
- ]), c = H(Ke);
1443
+ ]), c = _(Ke);
1401
1444
  if (c) {
1402
1445
  let u = c.ownerDocument.nodesByProps.get(e);
1403
- return u || (u = c.ownerDocument.createElement(r), u.setProps(e, t, i, n), c.appendChild(u), c.ownerDocument.updateCollection(), c.ownerDocument.nodesByProps.set(e, u)), l ? /* @__PURE__ */ S.createElement(Ke.Provider, {
1446
+ return u || (u = c.ownerDocument.createElement(n.type), u.setProps(e, t, n, i, r), c.appendChild(u), c.ownerDocument.updateCollection(), c.ownerDocument.nodesByProps.set(e, u)), l ? /* @__PURE__ */ $.createElement(Ke.Provider, {
1404
1447
  value: u
1405
1448
  }, l) : null;
1406
1449
  }
1407
- return /* @__PURE__ */ S.createElement(r, {
1450
+ return /* @__PURE__ */ $.createElement(n.type, {
1408
1451
  ref: s
1409
1452
  }, l);
1410
1453
  }
1411
- function Si(r, e) {
1412
- let t = ({ node: l }) => e(l.props, l.props.ref, l), i = qe((l, n) => {
1413
- let s = H(Ie);
1414
- if (!H(it)) {
1454
+ function ki(n, e) {
1455
+ let t = ({ node: l }) => e(l.props, l.props.ref, l), i = He((l, r) => {
1456
+ let s = _(ke);
1457
+ if (!_(it)) {
1415
1458
  if (e.length >= 3) throw new Error(e.name + " cannot be rendered outside a collection.");
1416
- return e(l, n);
1459
+ return e(l, r);
1417
1460
  }
1418
- return lt(r, l, n, "children" in l ? l.children : null, null, (u) => (
1461
+ return lt(n, l, r, "children" in l ? l.children : null, null, (u) => (
1419
1462
  // Forward FocusableContext to real DOM tree so tooltips work.
1420
- /* @__PURE__ */ S.createElement(Ie.Provider, {
1463
+ /* @__PURE__ */ $.createElement(ke.Provider, {
1421
1464
  value: s
1422
- }, /* @__PURE__ */ S.createElement(t, {
1465
+ }, /* @__PURE__ */ $.createElement(t, {
1423
1466
  node: u
1424
1467
  }))
1425
1468
  ));
1426
1469
  });
1427
1470
  return i.displayName = e.name, i;
1428
1471
  }
1429
- function Ki(r, e, t = nt) {
1430
- let i = ({ node: n }) => e(n.props, n.props.ref, n), l = qe((n, s) => {
1431
- let c = t(n);
1472
+ function Ii(n, e, t = nt) {
1473
+ let i = ({ node: r }) => e(r.props, r.props.ref, r), l = He((r, s) => {
1474
+ let c = t(r);
1432
1475
  var u;
1433
- return (u = lt(r, n, s, null, c, (v) => /* @__PURE__ */ S.createElement(i, {
1434
- node: v
1435
- }))) !== null && u !== void 0 ? u : /* @__PURE__ */ S.createElement(S.Fragment, null);
1476
+ return (u = lt(n, r, s, null, c, (h) => /* @__PURE__ */ $.createElement(i, {
1477
+ node: h
1478
+ }))) !== null && u !== void 0 ? u : /* @__PURE__ */ $.createElement($.Fragment, null);
1436
1479
  });
1437
1480
  return l.displayName = e.name, l;
1438
1481
  }
1439
- function nt(r) {
1482
+ function nt(n) {
1440
1483
  return tt({
1441
- ...r,
1484
+ ...n,
1442
1485
  addIdAndValue: !0
1443
1486
  });
1444
1487
  }
1445
- const Ne = /* @__PURE__ */ G(null);
1446
- function $i(r) {
1447
- let e = H(Ne), t = (e?.dependencies || []).concat(r.dependencies), i = r.idScope || e?.idScope, l = nt({
1448
- ...r,
1488
+ const Be = /* @__PURE__ */ z(null);
1489
+ function Pi(n) {
1490
+ let e = _(Be), t = (e?.dependencies || []).concat(n.dependencies), i = n.idScope || e?.idScope, l = nt({
1491
+ ...n,
1449
1492
  idScope: i,
1450
1493
  dependencies: t
1451
1494
  });
1452
- return H(J) && (l = /* @__PURE__ */ S.createElement(Wt, null, l)), e = B(() => ({
1495
+ return _(Z) && (l = /* @__PURE__ */ $.createElement(Jt, null, l)), e = B(() => ({
1453
1496
  dependencies: t,
1454
1497
  idScope: i
1455
1498
  }), [
1456
1499
  i,
1457
1500
  ...t
1458
- ]), /* @__PURE__ */ S.createElement(Ne.Provider, {
1501
+ ]), /* @__PURE__ */ $.createElement(Be.Provider, {
1459
1502
  value: e
1460
1503
  }, l);
1461
1504
  }
1462
- function Wt({ children: r }) {
1463
- let e = H(J), t = B(() => /* @__PURE__ */ S.createElement(J.Provider, {
1505
+ function Jt({ children: n }) {
1506
+ let e = _(Z), t = B(() => /* @__PURE__ */ $.createElement(Z.Provider, {
1464
1507
  value: null
1465
- }, /* @__PURE__ */ S.createElement(it.Provider, {
1508
+ }, /* @__PURE__ */ $.createElement(it.Provider, {
1466
1509
  value: !0
1467
- }, r)), [
1468
- r
1510
+ }, n)), [
1511
+ n
1469
1512
  ]);
1470
- return Xe() ? /* @__PURE__ */ S.createElement(Ke.Provider, {
1513
+ return je() ? /* @__PURE__ */ $.createElement(Ke.Provider, {
1471
1514
  value: e
1472
1515
  }, t) : /* @__PURE__ */ ht(t, e);
1473
1516
  }
1517
+ const Fi = /* @__PURE__ */ z(null), Zt = {
1518
+ CollectionRoot({ collection: n, renderDropIndicator: e }) {
1519
+ return Ve(n, null, e);
1520
+ },
1521
+ CollectionBranch({ collection: n, parent: e, renderDropIndicator: t }) {
1522
+ return Ve(n, e, t);
1523
+ }
1524
+ };
1525
+ function Ve(n, e, t) {
1526
+ return tt({
1527
+ items: e ? n.getChildren(e.key) : n,
1528
+ dependencies: [
1529
+ t
1530
+ ],
1531
+ children(i) {
1532
+ let l = i.render(i);
1533
+ return !t || i.type !== "item" ? l : /* @__PURE__ */ $.createElement($.Fragment, null, t({
1534
+ type: "item",
1535
+ key: i.key,
1536
+ dropPosition: "before"
1537
+ }), l, Qt(n, i, t));
1538
+ }
1539
+ });
1540
+ }
1541
+ function Qt(n, e, t) {
1542
+ let i = e.key, l = n.getKeyAfter(i), r = l != null ? n.getItem(l) : null;
1543
+ for (; r != null && r.type !== "item"; )
1544
+ l = n.getKeyAfter(r.key), r = l != null ? n.getItem(l) : null;
1545
+ let s = e.nextKey != null ? n.getItem(e.nextKey) : null;
1546
+ for (; s != null && s.type !== "item"; ) s = s.nextKey != null ? n.getItem(s.nextKey) : null;
1547
+ let c = [];
1548
+ if (s == null) {
1549
+ let u = e;
1550
+ for (; u && (!r || u.parentKey !== r.parentKey && r.level < u.level); ) {
1551
+ let h = t({
1552
+ type: "item",
1553
+ key: u.key,
1554
+ dropPosition: "after"
1555
+ });
1556
+ /* @__PURE__ */ st(h) && c.push(/* @__PURE__ */ ze(h, {
1557
+ key: `${u.key}-after`
1558
+ })), u = u.parentKey != null ? n.getItem(u.parentKey) : null;
1559
+ }
1560
+ }
1561
+ return c;
1562
+ }
1563
+ const Mi = /* @__PURE__ */ z(Zt);
1564
+ function Ai(n) {
1565
+ return B(() => n != null ? /* @__PURE__ */ new Set([
1566
+ n
1567
+ ]) : null, [
1568
+ n
1569
+ ]);
1570
+ }
1474
1571
  class R extends Set {
1475
1572
  constructor(e, t, i) {
1476
1573
  super(e), e instanceof R ? (this.anchorKey = t ?? e.anchorKey, this.currentKey = i ?? e.currentKey) : (this.anchorKey = t ?? null, this.currentKey = i ?? null);
1477
1574
  }
1478
1575
  }
1479
- function Gt(r, e) {
1480
- if (r.size !== e.size) return !1;
1481
- for (let t of r)
1576
+ function ei(n, e) {
1577
+ if (n.size !== e.size) return !1;
1578
+ for (let t of n)
1482
1579
  if (!e.has(t)) return !1;
1483
1580
  return !0;
1484
1581
  }
1485
- function xi(r) {
1486
- let { selectionMode: e = "none", disallowEmptySelection: t = !1, allowDuplicateSelectionEvents: i, selectionBehavior: l = "toggle", disabledBehavior: n = "all" } = r, s = k(!1), [, c] = ie(!1), u = k(null), v = k(null), [, $] = ie(null), d = B(() => ze(r.selectedKeys), [
1487
- r.selectedKeys
1488
- ]), f = B(() => ze(r.defaultSelectedKeys, new R()), [
1489
- r.defaultSelectedKeys
1490
- ]), [h, p] = bt(d, f, r.onSelectionChange), K = B(() => r.disabledKeys ? new Set(r.disabledKeys) : /* @__PURE__ */ new Set(), [
1491
- r.disabledKeys
1582
+ function Ri(n) {
1583
+ let { selectionMode: e = "none", disallowEmptySelection: t = !1, allowDuplicateSelectionEvents: i, selectionBehavior: l = "toggle", disabledBehavior: r = "all" } = n, s = E(!1), [, c] = ie(!1), u = E(null), h = E(null), [, b] = ie(null), d = B(() => Ne(n.selectedKeys), [
1584
+ n.selectedKeys
1585
+ ]), f = B(() => Ne(n.defaultSelectedKeys, new R()), [
1586
+ n.defaultSelectedKeys
1587
+ ]), [y, v] = bt(d, f, n.onSelectionChange), K = B(() => n.disabledKeys ? new Set(n.disabledKeys) : /* @__PURE__ */ new Set(), [
1588
+ n.disabledKeys
1492
1589
  ]), [g, m] = ie(l);
1493
- l === "replace" && g === "toggle" && typeof h == "object" && h.size === 0 && m("replace");
1494
- let C = k(l);
1590
+ l === "replace" && g === "toggle" && typeof y == "object" && y.size === 0 && m("replace");
1591
+ let w = E(l);
1495
1592
  return Y(() => {
1496
- l !== C.current && (m(l), C.current = l);
1593
+ l !== w.current && (m(l), w.current = l);
1497
1594
  }, [
1498
1595
  l
1499
1596
  ]), {
@@ -1511,21 +1608,21 @@ function xi(r) {
1511
1608
  return u.current;
1512
1609
  },
1513
1610
  get childFocusStrategy() {
1514
- return v.current;
1611
+ return h.current;
1515
1612
  },
1516
- setFocusedKey(x, E = "first") {
1517
- u.current = x, v.current = E, $(x);
1613
+ setFocusedKey(x, k = "first") {
1614
+ u.current = x, h.current = k, b(x);
1518
1615
  },
1519
- selectedKeys: h,
1616
+ selectedKeys: y,
1520
1617
  setSelectedKeys(x) {
1521
- (i || !Gt(x, h)) && p(x);
1618
+ (i || !ei(x, y)) && v(x);
1522
1619
  },
1523
1620
  disabledKeys: K,
1524
- disabledBehavior: n
1621
+ disabledBehavior: r
1525
1622
  };
1526
1623
  }
1527
- function ze(r, e) {
1528
- return r ? r === "all" ? "all" : new R(r) : e;
1624
+ function Ne(n, e) {
1625
+ return n ? n === "all" ? "all" : new R(n) : e;
1529
1626
  }
1530
1627
  class rt {
1531
1628
  /**
@@ -1621,7 +1718,7 @@ class rt {
1621
1718
  let e = null;
1622
1719
  for (let i of this.state.selectedKeys) {
1623
1720
  let l = this.collection.getItem(i);
1624
- (!e || l && ye(this.collection, l, e) < 0) && (e = l);
1721
+ (!e || l && pe(this.collection, l, e) < 0) && (e = l);
1625
1722
  }
1626
1723
  var t;
1627
1724
  return (t = e?.key) !== null && t !== void 0 ? t : null;
@@ -1630,7 +1727,7 @@ class rt {
1630
1727
  let e = null;
1631
1728
  for (let i of this.state.selectedKeys) {
1632
1729
  let l = this.collection.getItem(i);
1633
- (!e || l && ye(this.collection, l, e) > 0) && (e = l);
1730
+ (!e || l && pe(this.collection, l, e) > 0) && (e = l);
1634
1731
  }
1635
1732
  var t;
1636
1733
  return (t = e?.key) !== null && t !== void 0 ? t : null;
@@ -1661,24 +1758,24 @@ class rt {
1661
1758
  var l;
1662
1759
  let c = (l = s.anchorKey) !== null && l !== void 0 ? l : t;
1663
1760
  i = new R(s, c, t);
1664
- var n;
1665
- for (let u of this.getKeyRange(c, (n = s.currentKey) !== null && n !== void 0 ? n : t)) i.delete(u);
1761
+ var r;
1762
+ for (let u of this.getKeyRange(c, (r = s.currentKey) !== null && r !== void 0 ? r : t)) i.delete(u);
1666
1763
  for (let u of this.getKeyRange(t, c)) this.canSelectItem(u) && i.add(u);
1667
1764
  }
1668
1765
  this.state.setSelectedKeys(i);
1669
1766
  }
1670
1767
  getKeyRange(e, t) {
1671
1768
  let i = this.collection.getItem(e), l = this.collection.getItem(t);
1672
- return i && l ? ye(this.collection, i, l) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
1769
+ return i && l ? pe(this.collection, i, l) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
1673
1770
  }
1674
1771
  getKeyRangeInternal(e, t) {
1675
1772
  var i;
1676
1773
  if (!((i = this.layoutDelegate) === null || i === void 0) && i.getKeyRange) return this.layoutDelegate.getKeyRange(e, t);
1677
- let l = [], n = e;
1678
- for (; n != null; ) {
1679
- let s = this.collection.getItem(n);
1680
- if (s && (s.type === "item" || s.type === "cell" && this.allowsCellSelection) && l.push(n), n === t) return l;
1681
- n = this.collection.getKeyAfter(n);
1774
+ let l = [], r = e;
1775
+ for (; r != null; ) {
1776
+ let s = this.collection.getItem(r);
1777
+ if (s && (s.type === "item" || s.type === "cell" && this.allowsCellSelection) && l.push(r), r === t) return l;
1778
+ r = this.collection.getKeyAfter(r);
1682
1779
  }
1683
1780
  return [];
1684
1781
  }
@@ -1734,8 +1831,8 @@ class rt {
1734
1831
  var l;
1735
1832
  let s = this.collection.getItem(i);
1736
1833
  s?.type === "item" && e.push(i);
1737
- var n;
1738
- s?.hasChildNodes && (this.allowsCellSelection || s.type !== "item") && t((n = (l = Rt(At(s, this.collection))) === null || l === void 0 ? void 0 : l.key) !== null && n !== void 0 ? n : null);
1834
+ var r;
1835
+ s?.hasChildNodes && (this.allowsCellSelection || s.type !== "item") && t((r = (l = Rt(At(s, this.collection))) === null || l === void 0 ? void 0 : l.key) !== null && r !== void 0 ? r : null);
1739
1836
  }
1740
1837
  i = this.collection.getKeyAfter(i);
1741
1838
  }
@@ -1806,91 +1903,44 @@ class rt {
1806
1903
  this.allowsCellSelection = (l = i?.allowsCellSelection) !== null && l !== void 0 ? l : !1, this._isSelectAll = null, this.layoutDelegate = i?.layoutDelegate || null;
1807
1904
  }
1808
1905
  }
1809
- const Ci = /* @__PURE__ */ G(null), _t = {
1810
- CollectionRoot({ collection: r, renderDropIndicator: e }) {
1811
- return Ue(r, null, e);
1812
- },
1813
- CollectionBranch({ collection: r, parent: e, renderDropIndicator: t }) {
1814
- return Ue(r, e, t);
1815
- }
1816
- };
1817
- function Ue(r, e, t) {
1818
- return tt({
1819
- items: e ? r.getChildren(e.key) : r,
1820
- dependencies: [
1821
- t
1822
- ],
1823
- children(i) {
1824
- let l = i.render(i);
1825
- return !t || i.type !== "item" ? l : /* @__PURE__ */ S.createElement(S.Fragment, null, t({
1826
- type: "item",
1827
- key: i.key,
1828
- dropPosition: "before"
1829
- }), l, jt(r, i, t));
1830
- }
1831
- });
1832
- }
1833
- function jt(r, e, t) {
1834
- let i = e.key, l = r.getKeyAfter(i), n = l != null ? r.getItem(l) : null;
1835
- for (; n != null && n.type !== "item"; )
1836
- l = r.getKeyAfter(n.key), n = l != null ? r.getItem(l) : null;
1837
- let s = e.nextKey != null ? r.getItem(e.nextKey) : null;
1838
- for (; s != null && s.type !== "item"; ) s = s.nextKey != null ? r.getItem(s.nextKey) : null;
1839
- let c = [];
1840
- if (s == null) {
1841
- let u = e;
1842
- for (; u && (!n || u.parentKey !== n.parentKey && n.level < u.level); ) {
1843
- let v = t({
1844
- type: "item",
1845
- key: u.key,
1846
- dropPosition: "after"
1847
- });
1848
- /* @__PURE__ */ st(v) && c.push(/* @__PURE__ */ He(v, {
1849
- key: `${u.key}-after`
1850
- })), u = u.parentKey != null ? r.getItem(u.parentKey) : null;
1851
- }
1852
- }
1853
- return c;
1854
- }
1855
- const wi = /* @__PURE__ */ G(_t);
1856
- function Di(r) {
1857
- return B(() => r != null ? /* @__PURE__ */ new Set([
1858
- r
1859
- ]) : null, [
1860
- r
1861
- ]);
1862
- }
1863
1906
  export {
1864
- pi as $,
1865
- tt as A,
1866
- xe as B,
1867
- $e as C,
1868
- xt as D,
1869
- xi as a,
1870
- gi as b,
1871
- rt as c,
1872
- Si as d,
1873
- Ki as e,
1874
- bi as f,
1875
- $i as g,
1876
- wi as h,
1877
- vi as i,
1878
- Ci as j,
1879
- It as k,
1880
- yi as l,
1881
- At as m,
1882
- Kt as n,
1883
- Ze as o,
1884
- St as p,
1885
- Ct as q,
1886
- Je as r,
1887
- q as s,
1888
- wt as t,
1889
- _t as u,
1890
- Di as v,
1891
- mi as w,
1892
- Rt as x,
1893
- Tt as y,
1894
- Ae as z
1907
+ Ki as $,
1908
+ _t as A,
1909
+ Di as B,
1910
+ Ze as C,
1911
+ Xe as D,
1912
+ $t as E,
1913
+ Ye as F,
1914
+ St as G,
1915
+ wt as H,
1916
+ q as I,
1917
+ Ct as J,
1918
+ xt as K,
1919
+ Si as a,
1920
+ At as b,
1921
+ ki as c,
1922
+ Nt as d,
1923
+ ne as e,
1924
+ $i as f,
1925
+ Ri as g,
1926
+ xi as h,
1927
+ rt as i,
1928
+ Ii as j,
1929
+ Ht as k,
1930
+ Ut as l,
1931
+ Ei as m,
1932
+ Pi as n,
1933
+ Mi as o,
1934
+ Ci as p,
1935
+ Fi as q,
1936
+ zt as r,
1937
+ It as s,
1938
+ Zt as t,
1939
+ Ai as u,
1940
+ wi as v,
1941
+ Rt as w,
1942
+ Tt as x,
1943
+ Me as y,
1944
+ tt as z
1895
1945
  };
1896
- //# sourceMappingURL=Collection-Df3FPouy.es.js.map
1946
+ //# sourceMappingURL=SelectionManager-CLyu96pU.es.js.map