@commercetools/nimbus 0.0.9-rc7 → 0.0.9-rc8

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 (378) hide show
  1. package/dist/chunks/{Button-Dtn-lV5G.js → Button-BxcMDv2N.js} +7 -7
  2. package/dist/chunks/{Button-Dtn-lV5G.js.map → Button-BxcMDv2N.js.map} +1 -1
  3. package/dist/chunks/{Button-DOBmPkg6.js → Button-tPOlfQRd.js} +2 -2
  4. package/dist/chunks/{Button-DOBmPkg6.js.map → Button-tPOlfQRd.js.map} +1 -1
  5. package/dist/chunks/{DateField-C2G53tNO.js → DateField-CaR3Qeda.js} +24 -24
  6. package/dist/chunks/{DateField-C2G53tNO.js.map → DateField-CaR3Qeda.js.map} +1 -1
  7. package/dist/chunks/{DateField-D0hZjHMU.js → DateField-D3h6vCMK.js} +2 -2
  8. package/dist/chunks/{DateField-D0hZjHMU.js.map → DateField-D3h6vCMK.js.map} +1 -1
  9. package/dist/chunks/{Dialog-CFCn7n-k.js → Dialog-5VrXdl86.js} +2 -2
  10. package/dist/chunks/{Dialog-CFCn7n-k.js.map → Dialog-5VrXdl86.js.map} +1 -1
  11. package/dist/chunks/{Dialog-DsJ3jo2g.js → Dialog-DJv-Zg_L.js} +18 -18
  12. package/dist/chunks/{Dialog-DsJ3jo2g.js.map → Dialog-DJv-Zg_L.js.map} +1 -1
  13. package/dist/chunks/{FocusScope-B6O_mZ9T.js → FocusScope-CsXy0kJw.js} +6 -6
  14. package/dist/chunks/{FocusScope-B6O_mZ9T.js.map → FocusScope-CsXy0kJw.js.map} +1 -1
  15. package/dist/chunks/{FocusScope-Dz6kDOQY.js → FocusScope-Cysx7oI0.js} +2 -2
  16. package/dist/chunks/{FocusScope-Dz6kDOQY.js.map → FocusScope-Cysx7oI0.js.map} +1 -1
  17. package/dist/chunks/{Group-DR52Cv_h.js → Group-CTpcJZmt.js} +2 -2
  18. package/dist/chunks/{Group-DR52Cv_h.js.map → Group-CTpcJZmt.js.map} +1 -1
  19. package/dist/chunks/{Group-BMf2x0bV.js → Group-D3CaEDfr.js} +6 -6
  20. package/dist/chunks/{Group-BMf2x0bV.js.map → Group-D3CaEDfr.js.map} +1 -1
  21. package/dist/chunks/Hidden-CNJIJ63M.js +2 -0
  22. package/dist/chunks/{Hidden-BxRZGdEW.js.map → Hidden-CNJIJ63M.js.map} +1 -1
  23. package/dist/chunks/{Hidden-D6Lfpu1U.js → Hidden-CeBYiBUb.js} +1 -8
  24. package/dist/chunks/{Hidden-D6Lfpu1U.js.map → Hidden-CeBYiBUb.js.map} +1 -1
  25. package/dist/chunks/{Input-C6fX3A5E.js → Input-0vJb_5Js.js} +6 -6
  26. package/dist/chunks/{Input-C6fX3A5E.js.map → Input-0vJb_5Js.js.map} +1 -1
  27. package/dist/chunks/{Input-CRt1BJ4n.js → Input-rMOtwpe-.js} +2 -2
  28. package/dist/chunks/{Input-CRt1BJ4n.js.map → Input-rMOtwpe-.js.map} +1 -1
  29. package/dist/chunks/ListBox-Dmkou3Hm.js +18 -0
  30. package/dist/chunks/ListBox-Dmkou3Hm.js.map +1 -0
  31. package/dist/chunks/{ListBox-DH3lufv2.js → ListBox-Dss9OMcn.js} +676 -743
  32. package/dist/chunks/ListBox-Dss9OMcn.js.map +1 -0
  33. package/dist/chunks/{OverlayArrow-DsxKFiKE.js → OverlayArrow-Bs2caVoG.js} +2 -2
  34. package/dist/chunks/{OverlayArrow-DsxKFiKE.js.map → OverlayArrow-Bs2caVoG.js.map} +1 -1
  35. package/dist/chunks/{OverlayArrow-B1kv2W8j.js → OverlayArrow-qjQZbu8u.js} +4 -4
  36. package/dist/chunks/{OverlayArrow-B1kv2W8j.js.map → OverlayArrow-qjQZbu8u.js.map} +1 -1
  37. package/dist/chunks/RSPContexts-AkhSBHGO.js +6 -0
  38. package/dist/chunks/{RSPContexts-CxXY5Uko.js.map → RSPContexts-AkhSBHGO.js.map} +1 -1
  39. package/dist/chunks/RSPContexts-CIAIlAKH.js +2 -0
  40. package/dist/chunks/{RSPContexts-qzadeFSO.js.map → RSPContexts-CIAIlAKH.js.map} +1 -1
  41. package/dist/chunks/{SSRProvider-D8lZ0o6A.js → SSRProvider-eIEwc-2s.js} +2 -2
  42. package/dist/chunks/{SSRProvider-D8lZ0o6A.js.map → SSRProvider-eIEwc-2s.js.map} +1 -1
  43. package/dist/chunks/{TextArea-Ud71sffr.js → TextArea-BfVV0_3h.js} +2 -2
  44. package/dist/chunks/{TextArea-Ud71sffr.js.map → TextArea-BfVV0_3h.js.map} +1 -1
  45. package/dist/chunks/{TextArea-D-S_3q08.js → TextArea-Q-NI2yW5.js} +5 -5
  46. package/dist/chunks/{TextArea-D-S_3q08.js.map → TextArea-Q-NI2yW5.js.map} +1 -1
  47. package/dist/chunks/{VisuallyHidden-BpUTcba_.js → VisuallyHidden-2REhp9RT.js} +3 -3
  48. package/dist/chunks/{VisuallyHidden-BpUTcba_.js.map → VisuallyHidden-2REhp9RT.js.map} +1 -1
  49. package/dist/chunks/{VisuallyHidden-BxenYie4.js → VisuallyHidden-Cg0LJ1Dh.js} +2 -2
  50. package/dist/chunks/{VisuallyHidden-BxenYie4.js.map → VisuallyHidden-Cg0LJ1Dh.js.map} +1 -1
  51. package/dist/chunks/{accordion-Dc3IqP_d.js → accordion-D4Qqg89m.js} +12 -12
  52. package/dist/chunks/{accordion-Dc3IqP_d.js.map → accordion-D4Qqg89m.js.map} +1 -1
  53. package/dist/chunks/{accordion-8pelAIyn.js → accordion-vrKLW-re.js} +2 -2
  54. package/dist/chunks/{accordion-8pelAIyn.js.map → accordion-vrKLW-re.js.map} +1 -1
  55. package/dist/chunks/{alert-DxoCjJDr.js → alert-B738R1TJ.js} +2 -2
  56. package/dist/chunks/{alert-DxoCjJDr.js.map → alert-B738R1TJ.js.map} +1 -1
  57. package/dist/chunks/{alert-DSpVYhCa.js → alert-BX5IPnc_.js} +10 -10
  58. package/dist/chunks/{alert-DSpVYhCa.js.map → alert-BX5IPnc_.js.map} +1 -1
  59. package/dist/chunks/{avatar-p4QfPsxN.js → avatar-85FE_L0r.js} +3 -3
  60. package/dist/chunks/{avatar-p4QfPsxN.js.map → avatar-85FE_L0r.js.map} +1 -1
  61. package/dist/chunks/{avatar.recipe-BV5OkaPx.js → avatar.recipe-BSmmqvwQ.js} +2 -2
  62. package/dist/chunks/{avatar.recipe-BV5OkaPx.js.map → avatar.recipe-BSmmqvwQ.js.map} +1 -1
  63. package/dist/chunks/{badge-CbqLqIo9.js → badge-C1bFH3CB.js} +4 -4
  64. package/dist/chunks/{badge-CbqLqIo9.js.map → badge-C1bFH3CB.js.map} +1 -1
  65. package/dist/chunks/{button-vfAeHh1t.js → button-BLZONb0_.js} +2 -2
  66. package/dist/chunks/{button-vfAeHh1t.js.map → button-BLZONb0_.js.map} +1 -1
  67. package/dist/chunks/{button-Ckftvc2h.js → button-zSDA7FRw.js} +8 -8
  68. package/dist/chunks/{button-Ckftvc2h.js.map → button-zSDA7FRw.js.map} +1 -1
  69. package/dist/chunks/{button.recipe-DbFAOebT.js → button.recipe-DzOS_Bqm.js} +2 -2
  70. package/dist/chunks/{button.recipe-DbFAOebT.js.map → button.recipe-DzOS_Bqm.js.map} +1 -1
  71. package/dist/chunks/{calendar-Bz_gsrGo.js → calendar-BIB7Bqqn.js} +22 -22
  72. package/dist/chunks/{calendar-Bz_gsrGo.js.map → calendar-BIB7Bqqn.js.map} +1 -1
  73. package/dist/chunks/{calendar-Cs2rHplP.js → calendar-DRE_oZOp.js} +2 -2
  74. package/dist/chunks/{calendar-Cs2rHplP.js.map → calendar-DRE_oZOp.js.map} +1 -1
  75. package/dist/chunks/{calendar.recipe-RdPylgdo.js → calendar.recipe-B2sMokBn.js} +2 -2
  76. package/dist/chunks/{calendar.recipe-RdPylgdo.js.map → calendar.recipe-B2sMokBn.js.map} +1 -1
  77. package/dist/chunks/{card-B0BsL4ol.js → card-DAC7L3R0.js} +2 -2
  78. package/dist/chunks/{card-B0BsL4ol.js.map → card-DAC7L3R0.js.map} +1 -1
  79. package/dist/chunks/{card-CQwHrkIF.js → card-DSC-PYAU.js} +9 -9
  80. package/dist/chunks/{card-CQwHrkIF.js.map → card-DSC-PYAU.js.map} +1 -1
  81. package/dist/chunks/{checkbox-Cwb_QZjZ.js → checkbox-B1w8RLi0.js} +2 -2
  82. package/dist/chunks/{checkbox-Cwb_QZjZ.js.map → checkbox-B1w8RLi0.js.map} +1 -1
  83. package/dist/chunks/{checkbox-C5jtHkVZ.js → checkbox-CJQ1O9W5.js} +11 -11
  84. package/dist/chunks/{checkbox-C5jtHkVZ.js.map → checkbox-CJQ1O9W5.js.map} +1 -1
  85. package/dist/chunks/{combobox-BACFWgP3.js → combobox-DLABf790.js} +2 -2
  86. package/dist/chunks/{combobox-BACFWgP3.js.map → combobox-DLABf790.js.map} +1 -1
  87. package/dist/chunks/{combobox--lHdni2Z.js → combobox-ZcHPms3T.js} +23 -23
  88. package/dist/chunks/{combobox--lHdni2Z.js.map → combobox-ZcHPms3T.js.map} +1 -1
  89. package/dist/chunks/{combobox.recipe-KVsma6zb.js → combobox.recipe-BIn4O0NT.js} +43 -18
  90. package/dist/chunks/{combobox.recipe-KVsma6zb.js.map → combobox.recipe-BIn4O0NT.js.map} +1 -1
  91. package/dist/chunks/combobox.recipe-Da71Y6ye.js +2 -0
  92. package/dist/chunks/{combobox.recipe-BzaPWi66.js.map → combobox.recipe-Da71Y6ye.js.map} +1 -1
  93. package/dist/chunks/{context-CgP0qpkX.js → context-CI0Y3O6x.js} +4 -4
  94. package/dist/chunks/{context-CgP0qpkX.js.map → context-CI0Y3O6x.js.map} +1 -1
  95. package/dist/chunks/{date-input-9oZMESC7.js → date-input-DnjW061n.js} +2 -2
  96. package/dist/chunks/{date-input-9oZMESC7.js.map → date-input-DnjW061n.js.map} +1 -1
  97. package/dist/chunks/{date-input-DK9U-Nh8.js → date-input-tzOJ2b9K.js} +5 -5
  98. package/dist/chunks/{date-input-DK9U-Nh8.js.map → date-input-tzOJ2b9K.js.map} +1 -1
  99. package/dist/chunks/{date-input.recipe-BcsevQtW.js → date-input.recipe-BtWEmJGK.js} +2 -2
  100. package/dist/chunks/{date-input.recipe-BcsevQtW.js.map → date-input.recipe-BtWEmJGK.js.map} +1 -1
  101. package/dist/chunks/date-picker-BOJn_b_Y.js +2 -0
  102. package/dist/chunks/{date-picker-CwXGnIiO.js.map → date-picker-BOJn_b_Y.js.map} +1 -1
  103. package/dist/chunks/{date-picker-ShPOqwXi.js → date-picker-npElUeVw.js} +54 -58
  104. package/dist/chunks/{date-picker-ShPOqwXi.js.map → date-picker-npElUeVw.js.map} +1 -1
  105. package/dist/chunks/{date-picker.recipe-BJ79OJaw.js → date-picker.recipe-Dy6NmKHA.js} +2 -2
  106. package/dist/chunks/{date-picker.recipe-BJ79OJaw.js.map → date-picker.recipe-Dy6NmKHA.js.map} +1 -1
  107. package/dist/chunks/focusSafely-DKDcdc1Z.js +36 -0
  108. package/dist/chunks/{focusSafely-DuMeO0J4.js.map → focusSafely-DKDcdc1Z.js.map} +1 -1
  109. package/dist/chunks/focusSafely-DTxIMq-P.js +2 -0
  110. package/dist/chunks/{focusSafely-D_uW2Kp-.js.map → focusSafely-DTxIMq-P.js.map} +1 -1
  111. package/dist/chunks/{form-field-BUoO6HEy.js → form-field-CblzjGEw.js} +2 -2
  112. package/dist/chunks/{form-field-BUoO6HEy.js.map → form-field-CblzjGEw.js.map} +1 -1
  113. package/dist/chunks/{form-field-Dr8lL5SU.js → form-field-D_qT2LNU.js} +8 -8
  114. package/dist/chunks/{form-field-Dr8lL5SU.js.map → form-field-D_qT2LNU.js.map} +1 -1
  115. package/dist/chunks/{grid-CLVDMJAz.js → grid-CugcJxRP.js} +2 -2
  116. package/dist/chunks/{grid-CLVDMJAz.js.map → grid-CugcJxRP.js.map} +1 -1
  117. package/dist/chunks/{icon-CjRXcxB9.js → icon-BFNYuilh.js} +3 -3
  118. package/dist/chunks/{icon-CjRXcxB9.js.map → icon-BFNYuilh.js.map} +1 -1
  119. package/dist/chunks/{icon-button-1V59UrF-.js → icon-button-DVBfoOHT.js} +2 -2
  120. package/dist/chunks/{icon-button-1V59UrF-.js.map → icon-button-DVBfoOHT.js.map} +1 -1
  121. package/dist/chunks/{icon-button-CE-LnFNq.js → icon-button-Ds1Wzyc1.js} +2 -2
  122. package/dist/chunks/{icon-button-CE-LnFNq.js.map → icon-button-Ds1Wzyc1.js.map} +1 -1
  123. package/dist/chunks/{link-CCDnA-Z-.js → link-BfHXJGo9.js} +2 -2
  124. package/dist/chunks/{link-CCDnA-Z-.js.map → link-BfHXJGo9.js.map} +1 -1
  125. package/dist/chunks/{link-1lfvUDKX.js → link-CE73eHS0.js} +6 -6
  126. package/dist/chunks/{link-1lfvUDKX.js.map → link-CE73eHS0.js.map} +1 -1
  127. package/dist/chunks/{link.recipe-CbFF3IUG.js → link.recipe-Ba2by0OG.js} +2 -2
  128. package/dist/chunks/{link.recipe-CbFF3IUG.js.map → link.recipe-Ba2by0OG.js.map} +1 -1
  129. package/dist/chunks/{loading-spinner-CJh2luQX.js → loading-spinner-AhRrVHKd.js} +6 -6
  130. package/dist/chunks/{loading-spinner-CJh2luQX.js.map → loading-spinner-AhRrVHKd.js.map} +1 -1
  131. package/dist/chunks/{make-element-focusable-urU2Yczu.js → make-element-focusable-_kgqlXGc.js} +4 -4
  132. package/dist/chunks/{make-element-focusable-urU2Yczu.js.map → make-element-focusable-_kgqlXGc.js.map} +1 -1
  133. package/dist/chunks/{make-element-focusable-ByC0LOwU.js → make-element-focusable-ijZC9F3C.js} +2 -2
  134. package/dist/chunks/{make-element-focusable-ByC0LOwU.js.map → make-element-focusable-ijZC9F3C.js.map} +1 -1
  135. package/dist/chunks/{mergeProps-DAjoWNOq.js → mergeProps-tCFA9wZ1.js} +3 -3
  136. package/dist/chunks/{mergeProps-DAjoWNOq.js.map → mergeProps-tCFA9wZ1.js.map} +1 -1
  137. package/dist/chunks/{multiline-text-input-B8v-mx89.js → multiline-text-input-C8yclL-x.js} +2 -2
  138. package/dist/chunks/{multiline-text-input-B8v-mx89.js.map → multiline-text-input-C8yclL-x.js.map} +1 -1
  139. package/dist/chunks/{multiline-text-input-BS9tsQnR.js → multiline-text-input-D6P_NVi6.js} +7 -7
  140. package/dist/chunks/{multiline-text-input-BS9tsQnR.js.map → multiline-text-input-D6P_NVi6.js.map} +1 -1
  141. package/dist/chunks/{nimbus-provider-jZPLt7_j.js → nimbus-provider-CTg-F7UD.js} +2 -2
  142. package/dist/chunks/{nimbus-provider-jZPLt7_j.js.map → nimbus-provider-CTg-F7UD.js.map} +1 -1
  143. package/dist/chunks/{nimbus-provider-CFSRgGKt.js → nimbus-provider-h_Fu03Zk.js} +39 -39
  144. package/dist/chunks/{nimbus-provider-CFSRgGKt.js.map → nimbus-provider-h_Fu03Zk.js.map} +1 -1
  145. package/dist/chunks/{number-input-BFA-uYaI.js → number-input-BTbzj3aN.js} +16 -16
  146. package/dist/chunks/{number-input-BFA-uYaI.js.map → number-input-BTbzj3aN.js.map} +1 -1
  147. package/dist/chunks/{number-input-CDaEIN66.js → number-input-D7D2ahNb.js} +2 -2
  148. package/dist/chunks/{number-input-CDaEIN66.js.map → number-input-D7D2ahNb.js.map} +1 -1
  149. package/dist/chunks/{number-input.recipe-CbLyhXgE.js → number-input.recipe-8gbsGnLJ.js} +2 -2
  150. package/dist/chunks/{number-input.recipe-CbLyhXgE.js.map → number-input.recipe-8gbsGnLJ.js.map} +1 -1
  151. package/dist/chunks/{password-input-CYZ0QR0V.js → password-input-BD5GZKX7.js} +2 -2
  152. package/dist/chunks/{password-input-CYZ0QR0V.js.map → password-input-BD5GZKX7.js.map} +1 -1
  153. package/dist/chunks/{password-input-CEUQjqeT.js → password-input-fiypX-6w.js} +5 -5
  154. package/dist/chunks/{password-input-CEUQjqeT.js.map → password-input-fiypX-6w.js.map} +1 -1
  155. package/dist/chunks/{radio-input-cone4teU.js → radio-input-4v_6tT94.js} +18 -18
  156. package/dist/chunks/{radio-input-cone4teU.js.map → radio-input-4v_6tT94.js.map} +1 -1
  157. package/dist/chunks/{radio-input-5mFGE9qS.js → radio-input-B2IVmel0.js} +2 -2
  158. package/dist/chunks/{radio-input-5mFGE9qS.js.map → radio-input-B2IVmel0.js.map} +1 -1
  159. package/dist/chunks/{radio-input.recipe-QYiFg_Kf.js → radio-input.recipe-CM9R2ilP.js} +2 -2
  160. package/dist/chunks/{radio-input.recipe-QYiFg_Kf.js.map → radio-input.recipe-CM9R2ilP.js.map} +1 -1
  161. package/dist/chunks/{scrollIntoView-Dtwi5Vrc.js → scrollIntoView-CXOsfZIS.js} +2 -2
  162. package/dist/chunks/{scrollIntoView-Dtwi5Vrc.js.map → scrollIntoView-CXOsfZIS.js.map} +1 -1
  163. package/dist/chunks/{select-CSp1HFJF.js → select-7cuL-dmI.js} +2 -2
  164. package/dist/chunks/{select-CSp1HFJF.js.map → select-7cuL-dmI.js.map} +1 -1
  165. package/dist/chunks/{select-BZ2LnuaW.js → select-DH4OUn_y.js} +22 -22
  166. package/dist/chunks/{select-BZ2LnuaW.js.map → select-DH4OUn_y.js.map} +1 -1
  167. package/dist/chunks/{select.recipe-DS5ZRkug.js → select.recipe-CXWsUldF.js} +2 -2
  168. package/dist/chunks/{select.recipe-DS5ZRkug.js.map → select.recipe-CXWsUldF.js.map} +1 -1
  169. package/dist/chunks/{simple-grid-D6PoDK0-.js → simple-grid-CFOP9g2P.js} +2 -2
  170. package/dist/chunks/{simple-grid-D6PoDK0-.js.map → simple-grid-CFOP9g2P.js.map} +1 -1
  171. package/dist/chunks/{switch-CZji_hBH.js → switch-CnbvTSF9.js} +2 -2
  172. package/dist/chunks/{switch-CZji_hBH.js.map → switch-CnbvTSF9.js.map} +1 -1
  173. package/dist/chunks/{switch-QvuLHJL-.js → switch-DdmbHa5R.js} +11 -11
  174. package/dist/chunks/{switch-QvuLHJL-.js.map → switch-DdmbHa5R.js.map} +1 -1
  175. package/dist/chunks/{switch.recipe-D3gb3Xj_.js → switch.recipe-CWOjEnIy.js} +2 -2
  176. package/dist/chunks/{switch.recipe-D3gb3Xj_.js.map → switch.recipe-CWOjEnIy.js.map} +1 -1
  177. package/dist/chunks/{tag-group-v87SYIPj.js → tag-group-B6w2MEyf.js} +2 -2
  178. package/dist/chunks/{tag-group-v87SYIPj.js.map → tag-group-B6w2MEyf.js.map} +1 -1
  179. package/dist/chunks/{tag-group-JxvggHdo.js → tag-group-CdLfw2gL.js} +21 -21
  180. package/dist/chunks/{tag-group-JxvggHdo.js.map → tag-group-CdLfw2gL.js.map} +1 -1
  181. package/dist/chunks/{text-BTD3oGaQ.js → text-MzQiG_1j.js} +2 -2
  182. package/dist/chunks/{text-BTD3oGaQ.js.map → text-MzQiG_1j.js.map} +1 -1
  183. package/dist/chunks/{text-input-Ov6DSJhs.js → text-input-CtJ2FHJ3.js} +2 -2
  184. package/dist/chunks/{text-input-Ov6DSJhs.js.map → text-input-CtJ2FHJ3.js.map} +1 -1
  185. package/dist/chunks/{text-input-CpABYE1g.js → text-input-SYXEV4sT.js} +5 -5
  186. package/dist/chunks/{text-input-CpABYE1g.js.map → text-input-SYXEV4sT.js.map} +1 -1
  187. package/dist/chunks/{text-input.recipe-CGpq33Pp.js → text-input.recipe-KNoUuq-g.js} +2 -2
  188. package/dist/chunks/{text-input.recipe-CGpq33Pp.js.map → text-input.recipe-KNoUuq-g.js.map} +1 -1
  189. package/dist/chunks/{time-input-DS6RgF12.js → time-input-DCJYjKRY.js} +5 -5
  190. package/dist/chunks/{time-input-DS6RgF12.js.map → time-input-DCJYjKRY.js.map} +1 -1
  191. package/dist/chunks/{time-input-BIUdp4gX.js → time-input-sjvN5iZ-.js} +2 -2
  192. package/dist/chunks/{time-input-BIUdp4gX.js.map → time-input-sjvN5iZ-.js.map} +1 -1
  193. package/dist/chunks/toggle-button-group-D-3UQLdL.js +2 -0
  194. package/dist/chunks/{toggle-button-group-BdLaFCWe.js.map → toggle-button-group-D-3UQLdL.js.map} +1 -1
  195. package/dist/chunks/{toggle-button-group-0a-aeCiH.js → toggle-button-group-bjkXTCxu.js} +76 -66
  196. package/dist/chunks/{toggle-button-group-0a-aeCiH.js.map → toggle-button-group-bjkXTCxu.js.map} +1 -1
  197. package/dist/chunks/{tooltip-_9ZfCa2D.js → tooltip-C-K5iatf.js} +2 -2
  198. package/dist/chunks/{tooltip-_9ZfCa2D.js.map → tooltip-C-K5iatf.js.map} +1 -1
  199. package/dist/chunks/{tooltip-BdwdWMCL.js → tooltip-DvoZxHgo.js} +10 -10
  200. package/dist/chunks/{tooltip-BdwdWMCL.js.map → tooltip-DvoZxHgo.js.map} +1 -1
  201. package/dist/chunks/{tooltip.recipe-D9fYIQZz.js → tooltip.recipe-B9-7OFCi.js} +2 -2
  202. package/dist/chunks/{tooltip.recipe-D9fYIQZz.js.map → tooltip.recipe-B9-7OFCi.js.map} +1 -1
  203. package/dist/chunks/{useButton-BRqxk71F.js → useButton-BZrUUsJ0.js} +2 -2
  204. package/dist/chunks/{useButton-BRqxk71F.js.map → useButton-BZrUUsJ0.js.map} +1 -1
  205. package/dist/chunks/{useButton-CGSIlDH9.js → useButton-C5ATfvOf.js} +4 -4
  206. package/dist/chunks/{useButton-CGSIlDH9.js.map → useButton-C5ATfvOf.js.map} +1 -1
  207. package/dist/chunks/{useCollator-PO0ZNDFD.js → useCollator-BbJYfLGN.js} +2 -2
  208. package/dist/chunks/{useCollator-PO0ZNDFD.js.map → useCollator-BbJYfLGN.js.map} +1 -1
  209. package/dist/chunks/{useDateFormatter-CZ3YJIiV.js → useDateFormatter-5Oe96jpR.js} +3 -3
  210. package/dist/chunks/{useDateFormatter-CZ3YJIiV.js.map → useDateFormatter-5Oe96jpR.js.map} +1 -1
  211. package/dist/chunks/{useDateFormatter-BYTqyfPM.js → useDateFormatter-6FAMsnNT.js} +2 -2
  212. package/dist/chunks/{useDateFormatter-BYTqyfPM.js.map → useDateFormatter-6FAMsnNT.js.map} +1 -1
  213. package/dist/chunks/{useEvent-9hDa8zoA.js → useEvent-COOhq9E7.js} +2 -2
  214. package/dist/chunks/{useEvent-9hDa8zoA.js.map → useEvent-COOhq9E7.js.map} +1 -1
  215. package/dist/chunks/{useField-3jug3XBb.js → useField-BY58-2Ft.js} +3 -3
  216. package/dist/chunks/{useField-3jug3XBb.js.map → useField-BY58-2Ft.js.map} +1 -1
  217. package/dist/chunks/useFocus-C1BtlMbo.js +2 -0
  218. package/dist/chunks/{useFocus-CP2rlXSg.js.map → useFocus-C1BtlMbo.js.map} +1 -1
  219. package/dist/chunks/useFocus-CuXxpIRa.js +176 -0
  220. package/dist/chunks/{useFocus-mfjoACQ_.js.map → useFocus-CuXxpIRa.js.map} +1 -1
  221. package/dist/chunks/{useFocusRing-C4z9NtLP.js → useFocusRing-CYHdvund.js} +2 -2
  222. package/dist/chunks/{useFocusRing-C4z9NtLP.js.map → useFocusRing-CYHdvund.js.map} +1 -1
  223. package/dist/chunks/{useFocusRing-C8yOnkHj.js → useFocusRing-DNviWqC5.js} +3 -3
  224. package/dist/chunks/{useFocusRing-C8yOnkHj.js.map → useFocusRing-DNviWqC5.js.map} +1 -1
  225. package/dist/chunks/{useFocusWithin-CLd9itwe.js → useFocusWithin-AKRo9mz0.js} +2 -2
  226. package/dist/chunks/{useFocusWithin-CLd9itwe.js.map → useFocusWithin-AKRo9mz0.js.map} +1 -1
  227. package/dist/chunks/{useFocusWithin-BENrOz43.js → useFocusWithin-hB6WzPnG.js} +2 -2
  228. package/dist/chunks/{useFocusWithin-BENrOz43.js.map → useFocusWithin-hB6WzPnG.js.map} +1 -1
  229. package/dist/chunks/{useFocusable-IwGfkXQG.js → useFocusable-DBEQCS1T.js} +4 -4
  230. package/dist/chunks/{useFocusable-IwGfkXQG.js.map → useFocusable-DBEQCS1T.js.map} +1 -1
  231. package/dist/chunks/{useFocusable-C7jAQfqU.js → useFocusable-DbCayKl8.js} +2 -2
  232. package/dist/chunks/{useFocusable-C7jAQfqU.js.map → useFocusable-DbCayKl8.js.map} +1 -1
  233. package/dist/chunks/{useFormReset-CzGCrdxu.js → useFormReset-BgCb2h6r.js} +2 -2
  234. package/dist/chunks/{useFormReset-CzGCrdxu.js.map → useFormReset-BgCb2h6r.js.map} +1 -1
  235. package/dist/chunks/{useFormValidation-BSXga2hX.js → useFormValidation-CbunG7dK.js} +2 -2
  236. package/dist/chunks/{useFormValidation-BSXga2hX.js.map → useFormValidation-CbunG7dK.js.map} +1 -1
  237. package/dist/chunks/{useFormValidation-BcDTI6Mp.js → useFormValidation-DoG8pVu2.js} +4 -4
  238. package/dist/chunks/{useFormValidation-BcDTI6Mp.js.map → useFormValidation-DoG8pVu2.js.map} +1 -1
  239. package/dist/chunks/{useHover-CbdI4C89.js → useHover-3Zee5Ds5.js} +2 -2
  240. package/dist/chunks/{useHover-CbdI4C89.js.map → useHover-3Zee5Ds5.js.map} +1 -1
  241. package/dist/chunks/{useHover-ByIffPdS.js → useHover-BxTJz4Qm.js} +2 -2
  242. package/dist/chunks/{useHover-ByIffPdS.js.map → useHover-BxTJz4Qm.js.map} +1 -1
  243. package/dist/chunks/{useLabel-Dd6M1Y4b.js → useLabel-lLz9KH79.js} +3 -3
  244. package/dist/chunks/{useLabel-Dd6M1Y4b.js.map → useLabel-lLz9KH79.js.map} +1 -1
  245. package/dist/chunks/{useLabels-B1BLA0b7.js → useLabels-CrNu-inr.js} +2 -2
  246. package/dist/chunks/{useLabels-B1BLA0b7.js.map → useLabels-CrNu-inr.js.map} +1 -1
  247. package/dist/chunks/{useLocalizedStringFormatter-JGrQYmnh.js → useLocalizedStringFormatter-D1iIJE39.js} +3 -3
  248. package/dist/chunks/{useLocalizedStringFormatter-JGrQYmnh.js.map → useLocalizedStringFormatter-D1iIJE39.js.map} +1 -1
  249. package/dist/chunks/{useNumberFormatter-Dx-esBDc.js → useNumberFormatter-C8xwHQXb.js} +2 -2
  250. package/dist/chunks/{useNumberFormatter-Dx-esBDc.js.map → useNumberFormatter-C8xwHQXb.js.map} +1 -1
  251. package/dist/chunks/{usePress-C9YKhG_e.js → usePress-CGAMyl6q.js} +2 -2
  252. package/dist/chunks/{usePress-C9YKhG_e.js.map → usePress-CGAMyl6q.js.map} +1 -1
  253. package/dist/chunks/{usePress-dJvNd3G7.js → usePress-Dk0M2Js8.js} +7 -7
  254. package/dist/chunks/{usePress-dJvNd3G7.js.map → usePress-Dk0M2Js8.js.map} +1 -1
  255. package/dist/chunks/{useSingleSelectListState-DovbyYzZ.js → useSingleSelectListState--jan8NiD.js} +6 -6
  256. package/dist/chunks/{useSingleSelectListState-DovbyYzZ.js.map → useSingleSelectListState--jan8NiD.js.map} +1 -1
  257. package/dist/chunks/{useSingleSelectListState-CwUhrKQb.js → useSingleSelectListState-DqtAmt8K.js} +2 -2
  258. package/dist/chunks/{useSingleSelectListState-CwUhrKQb.js.map → useSingleSelectListState-DqtAmt8K.js.map} +1 -1
  259. package/dist/chunks/{useSpinButton-UFcBxg8e.js → useSpinButton-CQ8U5KZS.js} +2 -2
  260. package/dist/chunks/{useSpinButton-UFcBxg8e.js.map → useSpinButton-CQ8U5KZS.js.map} +1 -1
  261. package/dist/chunks/{useSpinButton-D16epD7I.js → useSpinButton-DQzgsW5H.js} +5 -5
  262. package/dist/chunks/{useSpinButton-D16epD7I.js.map → useSpinButton-DQzgsW5H.js.map} +1 -1
  263. package/dist/chunks/{useTextField-DFfK-BZg.js → useTextField-CNy4kFwI.js} +7 -7
  264. package/dist/chunks/{useTextField-DFfK-BZg.js.map → useTextField-CNy4kFwI.js.map} +1 -1
  265. package/dist/chunks/{useTextField-lejiPfpS.js → useTextField-Dkkh1L-K.js} +2 -2
  266. package/dist/chunks/{useTextField-lejiPfpS.js.map → useTextField-Dkkh1L-K.js.map} +1 -1
  267. package/dist/chunks/{useToggle-BUU7amte.js → useToggle-BEYjmALQ.js} +2 -2
  268. package/dist/chunks/{useToggle-BUU7amte.js.map → useToggle-BEYjmALQ.js.map} +1 -1
  269. package/dist/chunks/{useToggle-Cp-w42gr.js → useToggle-Cf0OB-T-.js} +5 -5
  270. package/dist/chunks/{useToggle-Cp-w42gr.js.map → useToggle-Cf0OB-T-.js.map} +1 -1
  271. package/dist/chunks/{utils-DTmE9QvG.js → utils-7n9JR4ke.js} +3 -3
  272. package/dist/chunks/{utils-DTmE9QvG.js.map → utils-7n9JR4ke.js.map} +1 -1
  273. package/dist/chunks/{utils-BzPwFwlw.js → utils-D6ZV0jyp.js} +2 -2
  274. package/dist/chunks/{utils-BzPwFwlw.js.map → utils-D6ZV0jyp.js.map} +1 -1
  275. package/dist/chunks/{utils-wW2ZswvI.js → utils-DSssdw4e.js} +15 -17
  276. package/dist/chunks/{utils-wW2ZswvI.js.map → utils-DSssdw4e.js.map} +1 -1
  277. package/dist/chunks/{visually-hidden-T2B120j4.js → visually-hidden-7U4LGJiI.js} +2 -2
  278. package/dist/chunks/{visually-hidden-T2B120j4.js.map → visually-hidden-7U4LGJiI.js.map} +1 -1
  279. package/dist/chunks/{visually-hidden-Qd_t4hAG.js → visually-hidden-CRnniCks.js} +2 -2
  280. package/dist/chunks/{visually-hidden-Qd_t4hAG.js.map → visually-hidden-CRnniCks.js.map} +1 -1
  281. package/dist/components/accordion.cjs +1 -1
  282. package/dist/components/accordion.es.js +1 -1
  283. package/dist/components/alert.cjs +1 -1
  284. package/dist/components/alert.es.js +1 -1
  285. package/dist/components/avatar.cjs +1 -1
  286. package/dist/components/avatar.es.js +1 -1
  287. package/dist/components/badge.cjs +1 -1
  288. package/dist/components/badge.es.js +1 -1
  289. package/dist/components/box.cjs +1 -1
  290. package/dist/components/button.cjs +1 -1
  291. package/dist/components/button.es.js +1 -1
  292. package/dist/components/calendar.cjs +1 -1
  293. package/dist/components/calendar.es.js +1 -1
  294. package/dist/components/card.cjs +1 -1
  295. package/dist/components/card.es.js +1 -1
  296. package/dist/components/checkbox.cjs +1 -1
  297. package/dist/components/checkbox.es.js +1 -1
  298. package/dist/components/code.cjs +1 -1
  299. package/dist/components/combobox.cjs +1 -1
  300. package/dist/components/combobox.es.js +1 -1
  301. package/dist/components/components.cjs +1 -1
  302. package/dist/components/components.es.js +33 -33
  303. package/dist/components/date-input.cjs +1 -1
  304. package/dist/components/date-input.es.js +1 -1
  305. package/dist/components/date-picker.cjs +1 -1
  306. package/dist/components/date-picker.es.js +1 -1
  307. package/dist/components/dialog.cjs +1 -1
  308. package/dist/components/flex.cjs +1 -1
  309. package/dist/components/form-field.cjs +1 -1
  310. package/dist/components/form-field.es.js +1 -1
  311. package/dist/components/grid.cjs +1 -1
  312. package/dist/components/grid.es.js +1 -1
  313. package/dist/components/heading.cjs +1 -1
  314. package/dist/components/icon-button.cjs +1 -1
  315. package/dist/components/icon-button.es.js +1 -1
  316. package/dist/components/icon.cjs +1 -1
  317. package/dist/components/icon.es.js +1 -1
  318. package/dist/components/image.cjs +1 -1
  319. package/dist/components/kbd.cjs +1 -1
  320. package/dist/components/link.cjs +1 -1
  321. package/dist/components/link.es.js +1 -1
  322. package/dist/components/list.cjs +1 -1
  323. package/dist/components/loading-spinner.cjs +1 -1
  324. package/dist/components/loading-spinner.es.js +1 -1
  325. package/dist/components/multiline-text-input.cjs +1 -1
  326. package/dist/components/multiline-text-input.es.js +1 -1
  327. package/dist/components/nimbus-provider.cjs +1 -1
  328. package/dist/components/nimbus-provider.es.js +1 -1
  329. package/dist/components/number-input.cjs +1 -1
  330. package/dist/components/number-input.es.js +1 -1
  331. package/dist/components/password-input.cjs +1 -1
  332. package/dist/components/password-input.es.js +1 -1
  333. package/dist/components/radio-input.cjs +1 -1
  334. package/dist/components/radio-input.es.js +1 -1
  335. package/dist/components/select.cjs +1 -1
  336. package/dist/components/select.es.js +1 -1
  337. package/dist/components/simple-grid.cjs +1 -1
  338. package/dist/components/simple-grid.es.js +1 -1
  339. package/dist/components/stack.cjs +1 -1
  340. package/dist/components/switch.cjs +1 -1
  341. package/dist/components/switch.es.js +1 -1
  342. package/dist/components/table.cjs +1 -1
  343. package/dist/components/tag-group.cjs +1 -1
  344. package/dist/components/tag-group.es.js +1 -1
  345. package/dist/components/text-input.cjs +1 -1
  346. package/dist/components/text-input.es.js +1 -1
  347. package/dist/components/text.cjs +1 -1
  348. package/dist/components/text.es.js +1 -1
  349. package/dist/components/time-input.cjs +1 -1
  350. package/dist/components/time-input.es.js +1 -1
  351. package/dist/components/toggle-button-group.cjs +1 -1
  352. package/dist/components/toggle-button-group.es.js +1 -1
  353. package/dist/components/tooltip.cjs +1 -1
  354. package/dist/components/tooltip.es.js +2 -2
  355. package/dist/components/visually-hidden.cjs +1 -1
  356. package/dist/components/visually-hidden.es.js +1 -1
  357. package/dist/index.cjs +1 -1
  358. package/dist/index.cjs.map +1 -1
  359. package/dist/index.es.js +84 -93
  360. package/dist/index.es.js.map +1 -1
  361. package/dist/setup-jsdom-polyfills.cjs +1 -1
  362. package/dist/setup-jsdom-polyfills.cjs.map +1 -1
  363. package/dist/setup-jsdom-polyfills.es.js +2 -22
  364. package/dist/setup-jsdom-polyfills.es.js.map +1 -1
  365. package/package.json +4 -3
  366. package/dist/chunks/Hidden-BxRZGdEW.js +0 -2
  367. package/dist/chunks/ListBox-CHhUqc7T.js +0 -18
  368. package/dist/chunks/ListBox-CHhUqc7T.js.map +0 -1
  369. package/dist/chunks/ListBox-DH3lufv2.js.map +0 -1
  370. package/dist/chunks/RSPContexts-CxXY5Uko.js +0 -11
  371. package/dist/chunks/RSPContexts-qzadeFSO.js +0 -2
  372. package/dist/chunks/combobox.recipe-BzaPWi66.js +0 -2
  373. package/dist/chunks/date-picker-CwXGnIiO.js +0 -2
  374. package/dist/chunks/focusSafely-D_uW2Kp-.js +0 -58
  375. package/dist/chunks/focusSafely-DuMeO0J4.js +0 -2
  376. package/dist/chunks/toggle-button-group-BdLaFCWe.js +0 -2
  377. package/dist/chunks/useFocus-CP2rlXSg.js +0 -2
  378. package/dist/chunks/useFocus-mfjoACQ_.js +0 -184
@@ -1,72 +1,51 @@
1
- import $, { useRef as E, version as Cl, useEffect as Y, useMemo as T, cloneElement as ft, forwardRef as re, useContext as L, createContext as O, useCallback as J, useState as te, isValidElement as El } from "react";
2
- import { $ as fe, b as ht, c as pt, d as vt, a as ie, e as pe, f as yt, g as Pl } from "./utils-DTmE9QvG.js";
3
- import { b as kl, $ as Il } from "./Hidden-D6Lfpu1U.js";
4
- import { flushSync as Fl, createPortal as Ml } from "react-dom";
5
- import { b as _e } from "./useFocusable-IwGfkXQG.js";
6
- import { $ as bt } from "./SSRProvider-D8lZ0o6A.js";
7
- import { d as he, b as ee, $ as q, c as se, a as Ge, e as Tl } from "./mergeProps-DAjoWNOq.js";
8
- import { $ as gt } from "./Text-DOcU1ycg.js";
9
- import { a as ke } from "./Input-C6fX3A5E.js";
10
- import { $ as Ll, a as Al, b as Rl } from "./Form-DdaqVtM4.js";
11
- import { a as Bl } from "./TextArea-D-S_3q08.js";
12
- import { $ as ne } from "./filterDOMProps-D6KHYVBX.js";
13
- import { $ as Vl } from "./useTextField-DFfK-BZg.js";
14
- import { a as Ol, b as Ve, i as Ie, e as Fe } from "./utils-wW2ZswvI.js";
15
- import { $ as Nl } from "./useLabels-B1BLA0b7.js";
16
- import { $ as ve } from "./useObjectRef-CaJ5pgjX.js";
17
- import { i as $t, o as zl, d as Me, g as Ul, $ as je } from "./useFocus-mfjoACQ_.js";
18
- import { $ as Hl } from "./useLocalizedStringFormatter-JGrQYmnh.js";
19
- import { $ as mt } from "./useControlledState-u436Wbp1.js";
20
- import { a as ql, $ as Ye } from "./getScrollParent-DE66eQI-.js";
21
- import { $ as xt, a as St, e as Wl, b as _l } from "./usePress-dJvNd3G7.js";
22
- import { $ as Kt } from "./useHover-CbdI4C89.js";
23
- import { $ as Gl, b as jl, a as Je } from "./scrollIntoView-Dtwi5Vrc.js";
24
- import { $ as Te } from "./focusSafely-D_uW2Kp-.js";
25
- import { $ as Yl } from "./useFocusWithin-CLd9itwe.js";
26
- import { $ as Jl } from "./useLabel-Dd6M1Y4b.js";
27
- import { $ as ue } from "./useEvent-9hDa8zoA.js";
28
- import { a as Xl, c as Zl } from "./FocusScope-B6O_mZ9T.js";
29
- import { $ as Dt } from "./context-CgP0qpkX.js";
30
- import { $ as wt } from "./useCollator-PO0ZNDFD.js";
31
- import { $ as Ql } from "./useFocusRing-C8yOnkHj.js";
32
- function Xe(n, e) {
33
- const t = E(!0), l = E(null);
34
- he(() => (t.current = !0, () => {
1
+ import m, { useRef as P, version as en, useEffect as Y, useMemo as T, cloneElement as ct, forwardRef as ne, useContext as R, createContext as O, useCallback as J, useState as te, isValidElement as Cl } from "react";
2
+ import { $ as ce, b as ft, c as ht, d as pt, a as oe, e as fe, f as vt, g as El } from "./utils-7n9JR4ke.js";
3
+ import { b as Pl, $ as kl } from "./Hidden-CeBYiBUb.js";
4
+ import { flushSync as Il, createPortal as Fl } from "react-dom";
5
+ import { b as We } from "./useFocusable-DBEQCS1T.js";
6
+ import { $ as yt } from "./SSRProvider-eIEwc-2s.js";
7
+ import { d as Ee, b as ee, $ as W, c as re, a as _e, e as Ml } from "./mergeProps-tCFA9wZ1.js";
8
+ import { $ as bt } from "./Text-DOcU1ycg.js";
9
+ import { a as Pe } from "./Input-0vJb_5Js.js";
10
+ import { $ as Tl, a as Ll, b as Al } from "./Form-DdaqVtM4.js";
11
+ import { a as Rl } from "./TextArea-Q-NI2yW5.js";
12
+ import { $ as se } from "./filterDOMProps-D6KHYVBX.js";
13
+ import { $ as Bl } from "./useTextField-CNy4kFwI.js";
14
+ import { a as Vl, b as Be, i as ke, e as Ie } from "./utils-DSssdw4e.js";
15
+ import { $ as Ol } from "./useLabels-CrNu-inr.js";
16
+ import { $ as he } from "./useObjectRef-CaJ5pgjX.js";
17
+ import { i as gt, o as Nl, d as Fe, g as zl, $ as Ge } from "./useFocus-CuXxpIRa.js";
18
+ import { $ as Ul } from "./useLocalizedStringFormatter-D1iIJE39.js";
19
+ import { $ as $t } from "./useControlledState-u436Wbp1.js";
20
+ import { a as xn, $ as je } from "./getScrollParent-DE66eQI-.js";
21
+ import { $ as mt, a as xt, e as Hl, b as ql } from "./usePress-Dk0M2Js8.js";
22
+ import { $ as St } from "./useHover-3Zee5Ds5.js";
23
+ import { $ as Wl, b as _l, a as Ye } from "./scrollIntoView-CXOsfZIS.js";
24
+ import { $ as Me } from "./focusSafely-DKDcdc1Z.js";
25
+ import { $ as Gl } from "./useFocusWithin-AKRo9mz0.js";
26
+ import { $ as jl } from "./useLabel-lLz9KH79.js";
27
+ import { $ as ae } from "./useEvent-COOhq9E7.js";
28
+ import { a as Yl, c as Jl } from "./FocusScope-CsXy0kJw.js";
29
+ import { $ as Kt } from "./context-CI0Y3O6x.js";
30
+ import { $ as Dt } from "./useCollator-BbJYfLGN.js";
31
+ import { $ as Xl } from "./useFocusRing-DNviWqC5.js";
32
+ function Je(n, e) {
33
+ const t = P(!0), l = P(null);
34
+ Ee(() => (t.current = !0, () => {
35
35
  t.current = !1;
36
- }), []), he(() => {
36
+ }), []), Ee(() => {
37
37
  t.current ? t.current = !1 : (!l.current || e.some((i, o) => !Object.is(i, l[o]))) && n(), l.current = e;
38
38
  }, e);
39
39
  }
40
- function ei(n, e) {
41
- let { collection: t, onLoadMore: l, scrollOffset: i = 1 } = n, o = E(null), r = ee((s) => {
42
- for (let a of s)
43
- a.isIntersecting && l && l();
44
- });
45
- he(() => (e.current && (o.current = new IntersectionObserver(r, {
46
- root: ql(e == null ? void 0 : e.current),
47
- rootMargin: `0px ${100 * i}% ${100 * i}% ${100 * i}%`
48
- }), o.current.observe(e.current)), () => {
49
- o.current && o.current.disconnect();
50
- }), [
51
- t,
52
- r,
53
- e,
54
- i
55
- ]);
56
- }
57
- function ti(n) {
58
- const e = Cl.split(".");
59
- return parseInt(e[0], 10) >= 19 ? n : n ? "true" : void 0;
60
- }
61
- const Ct = "react-aria-clear-focus", Le = "react-aria-focus";
40
+ const wt = "react-aria-clear-focus", Te = "react-aria-focus";
62
41
  function Q(n) {
63
- return $t() ? n.metaKey : n.ctrlKey;
42
+ return gt() ? n.metaKey : n.ctrlKey;
64
43
  }
65
- const li = 500;
66
- function ii(n) {
67
- let { isDisabled: e, onLongPressStart: t, onLongPressEnd: l, onLongPress: i, threshold: o = li, accessibilityDescription: r } = n;
68
- const s = E(void 0);
69
- let { addGlobalListener: a, removeGlobalListener: c } = Ol(), { pressProps: p } = xt({
44
+ const Zl = 500;
45
+ function Ql(n) {
46
+ let { isDisabled: e, onLongPressStart: t, onLongPressEnd: l, onLongPress: i, threshold: o = Zl, accessibilityDescription: r } = n;
47
+ const s = P(void 0);
48
+ let { addGlobalListener: a, removeGlobalListener: c } = Vl(), { pressProps: v } = mt({
70
49
  isDisabled: e,
71
50
  onPressStart(d) {
72
51
  if (d.continuePropagation(), (d.pointerType === "mouse" || d.pointerType === "touch") && (t && t({
@@ -75,19 +54,19 @@ function ii(n) {
75
54
  }), s.current = setTimeout(() => {
76
55
  d.target.dispatchEvent(new PointerEvent("pointercancel", {
77
56
  bubbles: !0
78
- })), Ve(d.target).activeElement !== d.target && Ie(d.target), i && i({
57
+ })), Be(d.target).activeElement !== d.target && ke(d.target), i && i({
79
58
  ...d,
80
59
  type: "longpress"
81
60
  }), s.current = void 0;
82
61
  }, o), d.pointerType === "touch")) {
83
- let v = (b) => {
62
+ let y = (b) => {
84
63
  b.preventDefault();
85
64
  };
86
- a(d.target, "contextmenu", v, {
65
+ a(d.target, "contextmenu", y, {
87
66
  once: !0
88
67
  }), a(window, "pointerup", () => {
89
68
  setTimeout(() => {
90
- c(d.target, "contextmenu", v);
69
+ c(d.target, "contextmenu", y);
91
70
  }, 30);
92
71
  }, {
93
72
  once: !0
@@ -100,16 +79,16 @@ function ii(n) {
100
79
  type: "longpressend"
101
80
  });
102
81
  }
103
- }), f = Gl(i && !e ? r : void 0);
82
+ }), h = Wl(i && !e ? r : void 0);
104
83
  return {
105
- longPressProps: q(p, f)
84
+ longPressProps: W(v, h)
106
85
  };
107
86
  }
108
- function Oe(n) {
109
- let e = ni(Ve(n));
110
- e !== n && (e && Ae(e, n), n && Et(n, e));
87
+ function Ve(n) {
88
+ let e = ei(Be(n));
89
+ e !== n && (e && Le(e, n), n && Ct(n, e));
111
90
  }
112
- function Ae(n, e) {
91
+ function Le(n, e) {
113
92
  n.dispatchEvent(new FocusEvent("blur", {
114
93
  relatedTarget: e
115
94
  })), n.dispatchEvent(new FocusEvent("focusout", {
@@ -117,7 +96,7 @@ function Ae(n, e) {
117
96
  relatedTarget: e
118
97
  }));
119
98
  }
120
- function Et(n, e) {
99
+ function Ct(n, e) {
121
100
  n.dispatchEvent(new FocusEvent("focus", {
122
101
  relatedTarget: e
123
102
  })), n.dispatchEvent(new FocusEvent("focusin", {
@@ -125,42 +104,42 @@ function Et(n, e) {
125
104
  relatedTarget: e
126
105
  }));
127
106
  }
128
- function ni(n) {
129
- let e = Fe(n), t = e == null ? void 0 : e.getAttribute("aria-activedescendant");
107
+ function ei(n) {
108
+ let e = Ie(n), t = e == null ? void 0 : e.getAttribute("aria-activedescendant");
130
109
  return t && n.getElementById(t) || e;
131
110
  }
132
- const Ne = /* @__PURE__ */ new WeakMap();
133
- function oi(n) {
111
+ const Oe = /* @__PURE__ */ new WeakMap();
112
+ function ti(n) {
134
113
  return typeof n == "string" ? n.replace(/\s*/g, "") : "" + n;
135
114
  }
136
- function ri(n, e) {
137
- let t = Ne.get(n);
115
+ function li(n, e) {
116
+ let t = Oe.get(n);
138
117
  if (!t) throw new Error("Unknown list");
139
- return `${t.id}-option-${oi(e)}`;
118
+ return `${t.id}-option-${ti(e)}`;
140
119
  }
141
- function Re(n) {
142
- return zl() ? n.altKey : n.ctrlKey;
120
+ function Ae(n) {
121
+ return Nl() ? n.altKey : n.ctrlKey;
143
122
  }
144
- function ce(n, e) {
123
+ function de(n, e) {
145
124
  var t, l;
146
125
  let i = `[data-key="${CSS.escape(String(e))}"]`, o = (t = n.current) === null || t === void 0 ? void 0 : t.dataset.collection;
147
126
  return o && (i = `[data-collection="${CSS.escape(o)}"]${i}`), (l = n.current) === null || l === void 0 ? void 0 : l.querySelector(i);
148
127
  }
149
- const Pt = /* @__PURE__ */ new WeakMap();
150
- function si(n) {
151
- let e = se();
152
- return Pt.set(n, e), e;
128
+ const Et = /* @__PURE__ */ new WeakMap();
129
+ function ii(n) {
130
+ let e = re();
131
+ return Et.set(n, e), e;
153
132
  }
154
- function ai(n) {
155
- return Pt.get(n);
133
+ function ni(n) {
134
+ return Et.get(n);
156
135
  }
157
- const ui = 1e3;
158
- function di(n) {
159
- let { keyboardDelegate: e, selectionManager: t, onTypeSelect: l } = n, i = E({
136
+ const oi = 1e3;
137
+ function ri(n) {
138
+ let { keyboardDelegate: e, selectionManager: t, onTypeSelect: l } = n, i = P({
160
139
  search: "",
161
140
  timeout: void 0
162
141
  }).current, o = (r) => {
163
- let s = ci(r.key);
142
+ let s = si(r.key);
164
143
  if (!(!s || r.ctrlKey || r.metaKey || !r.currentTarget.contains(r.target))) {
165
144
  if (s === " " && i.search.trim().length > 0 && (r.preventDefault(), "continuePropagation" in r || r.stopPropagation()), i.search += s, e.getKeyForSearch != null) {
166
145
  let a = e.getKeyForSearch(i.search, t.focusedKey);
@@ -168,7 +147,7 @@ function di(n) {
168
147
  }
169
148
  clearTimeout(i.timeout), i.timeout = setTimeout(() => {
170
149
  i.search = "";
171
- }, ui);
150
+ }, oi);
172
151
  }
173
152
  };
174
153
  return {
@@ -179,245 +158,245 @@ function di(n) {
179
158
  }
180
159
  };
181
160
  }
182
- function ci(n) {
161
+ function si(n) {
183
162
  return n.length === 1 || !/^[A-Z]/i.test(n) ? n : "";
184
163
  }
185
- function fi(n) {
186
- let { selectionManager: e, keyboardDelegate: t, ref: l, autoFocus: i = !1, shouldFocusWrap: o = !1, disallowEmptySelection: r = !1, disallowSelectAll: s = !1, escapeKeyBehavior: a = "clearSelection", selectOnFocus: c = e.selectionBehavior === "replace", disallowTypeAhead: p = !1, shouldUseVirtualFocus: f, allowsTabNavigation: d = !1, isVirtualized: v, scrollRef: b = l, linkBehavior: x = "action" } = n, { direction: g } = Dt(), m = St(), S = (h) => {
164
+ function ai(n) {
165
+ let { selectionManager: e, keyboardDelegate: t, ref: l, autoFocus: i = !1, shouldFocusWrap: o = !1, disallowEmptySelection: r = !1, disallowSelectAll: s = !1, escapeKeyBehavior: a = "clearSelection", selectOnFocus: c = e.selectionBehavior === "replace", disallowTypeAhead: v = !1, shouldUseVirtualFocus: h, allowsTabNavigation: d = !1, isVirtualized: y, scrollRef: b = l, linkBehavior: x = "action" } = n, { direction: g } = Kt(), $ = xt(), S = (f) => {
187
166
  var u;
188
- if (h.altKey && h.key === "Tab" && h.preventDefault(), !(!((u = l.current) === null || u === void 0) && u.contains(h.target))) return;
189
- const P = (D, X) => {
167
+ if (f.altKey && f.key === "Tab" && f.preventDefault(), !(!((u = l.current) === null || u === void 0) && u.contains(f.target))) return;
168
+ const E = (D, X) => {
190
169
  if (D != null) {
191
- if (e.isLink(D) && x === "selection" && c && !Re(h)) {
192
- Fl(() => {
170
+ if (e.isLink(D) && x === "selection" && c && !Ae(f)) {
171
+ Il(() => {
193
172
  e.setFocusedKey(D, X);
194
173
  });
195
- let Z = ce(l, D), We = e.getItemProps(D);
196
- Z && m.open(Z, h, We.href, We.routerOptions);
174
+ let Z = de(l, D), qe = e.getItemProps(D);
175
+ Z && $.open(Z, f, qe.href, qe.routerOptions);
197
176
  return;
198
177
  }
199
178
  if (e.setFocusedKey(D, X), e.isLink(D) && x === "override") return;
200
- h.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(D) : c && !Re(h) && e.replaceSelection(D);
179
+ f.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(D) : c && !Ae(f) && e.replaceSelection(D);
201
180
  }
202
181
  };
203
- switch (h.key) {
182
+ switch (f.key) {
204
183
  case "ArrowDown":
205
184
  if (t.getKeyBelow) {
206
- var A, N, z;
207
- let D = e.focusedKey != null ? (A = t.getKeyBelow) === null || A === void 0 ? void 0 : A.call(t, e.focusedKey) : (N = t.getFirstKey) === null || N === void 0 ? void 0 : N.call(t);
208
- D == null && o && (D = (z = t.getFirstKey) === null || z === void 0 ? void 0 : z.call(t, e.focusedKey)), D != null && (h.preventDefault(), P(D));
185
+ var L, N, z;
186
+ let D = e.focusedKey != null ? (L = t.getKeyBelow) === null || L === void 0 ? void 0 : L.call(t, e.focusedKey) : (N = t.getFirstKey) === null || N === void 0 ? void 0 : N.call(t);
187
+ D == null && o && (D = (z = t.getFirstKey) === null || z === void 0 ? void 0 : z.call(t, e.focusedKey)), D != null && (f.preventDefault(), E(D));
209
188
  }
210
189
  break;
211
190
  case "ArrowUp":
212
191
  if (t.getKeyAbove) {
213
- var W, _, ge;
214
- let D = e.focusedKey != null ? (W = t.getKeyAbove) === null || W === void 0 ? void 0 : W.call(t, e.focusedKey) : (_ = t.getLastKey) === null || _ === void 0 ? void 0 : _.call(t);
215
- D == null && o && (D = (ge = t.getLastKey) === null || ge === void 0 ? void 0 : ge.call(t, e.focusedKey)), D != null && (h.preventDefault(), P(D));
192
+ var q, _, ye;
193
+ let D = e.focusedKey != null ? (q = t.getKeyAbove) === null || q === void 0 ? void 0 : q.call(t, e.focusedKey) : (_ = t.getLastKey) === null || _ === void 0 ? void 0 : _.call(t);
194
+ D == null && o && (D = (ye = t.getLastKey) === null || ye === void 0 ? void 0 : ye.call(t, e.focusedKey)), D != null && (f.preventDefault(), E(D));
216
195
  }
217
196
  break;
218
197
  case "ArrowLeft":
219
198
  if (t.getKeyLeftOf) {
220
- var $e, me, xe;
221
- let D = e.focusedKey != null ? ($e = t.getKeyLeftOf) === null || $e === void 0 ? void 0 : $e.call(t, e.focusedKey) : null;
222
- D == null && o && (D = g === "rtl" ? (me = t.getFirstKey) === null || me === void 0 ? void 0 : me.call(t, e.focusedKey) : (xe = t.getLastKey) === null || xe === void 0 ? void 0 : xe.call(t, e.focusedKey)), D != null && (h.preventDefault(), P(D, g === "rtl" ? "first" : "last"));
199
+ var be, ge, $e;
200
+ let D = e.focusedKey != null ? (be = t.getKeyLeftOf) === null || be === void 0 ? void 0 : be.call(t, e.focusedKey) : null;
201
+ D == null && o && (D = g === "rtl" ? (ge = t.getFirstKey) === null || ge === void 0 ? void 0 : ge.call(t, e.focusedKey) : ($e = t.getLastKey) === null || $e === void 0 ? void 0 : $e.call(t, e.focusedKey)), D != null && (f.preventDefault(), E(D, g === "rtl" ? "first" : "last"));
223
202
  }
224
203
  break;
225
204
  case "ArrowRight":
226
205
  if (t.getKeyRightOf) {
227
- var Se, Ke, De;
228
- let D = e.focusedKey != null ? (Se = t.getKeyRightOf) === null || Se === void 0 ? void 0 : Se.call(t, e.focusedKey) : null;
229
- D == null && o && (D = g === "rtl" ? (Ke = t.getLastKey) === null || Ke === void 0 ? void 0 : Ke.call(t, e.focusedKey) : (De = t.getFirstKey) === null || De === void 0 ? void 0 : De.call(t, e.focusedKey)), D != null && (h.preventDefault(), P(D, g === "rtl" ? "last" : "first"));
206
+ var me, xe, Se;
207
+ let D = e.focusedKey != null ? (me = t.getKeyRightOf) === null || me === void 0 ? void 0 : me.call(t, e.focusedKey) : null;
208
+ D == null && o && (D = g === "rtl" ? (xe = t.getLastKey) === null || xe === void 0 ? void 0 : xe.call(t, e.focusedKey) : (Se = t.getFirstKey) === null || Se === void 0 ? void 0 : Se.call(t, e.focusedKey)), D != null && (f.preventDefault(), E(D, g === "rtl" ? "last" : "first"));
230
209
  }
231
210
  break;
232
211
  case "Home":
233
212
  if (t.getFirstKey) {
234
- if (e.focusedKey === null && h.shiftKey) return;
235
- h.preventDefault();
236
- let D = t.getFirstKey(e.focusedKey, Q(h));
237
- e.setFocusedKey(D), D != null && (Q(h) && h.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(D) : c && e.replaceSelection(D));
213
+ if (e.focusedKey === null && f.shiftKey) return;
214
+ f.preventDefault();
215
+ let D = t.getFirstKey(e.focusedKey, Q(f));
216
+ e.setFocusedKey(D), D != null && (Q(f) && f.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(D) : c && e.replaceSelection(D));
238
217
  }
239
218
  break;
240
219
  case "End":
241
220
  if (t.getLastKey) {
242
- if (e.focusedKey === null && h.shiftKey) return;
243
- h.preventDefault();
244
- let D = t.getLastKey(e.focusedKey, Q(h));
245
- e.setFocusedKey(D), D != null && (Q(h) && h.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(D) : c && e.replaceSelection(D));
221
+ if (e.focusedKey === null && f.shiftKey) return;
222
+ f.preventDefault();
223
+ let D = t.getLastKey(e.focusedKey, Q(f));
224
+ e.setFocusedKey(D), D != null && (Q(f) && f.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(D) : c && e.replaceSelection(D));
246
225
  }
247
226
  break;
248
227
  case "PageDown":
249
228
  if (t.getKeyPageBelow && e.focusedKey != null) {
250
229
  let D = t.getKeyPageBelow(e.focusedKey);
251
- D != null && (h.preventDefault(), P(D));
230
+ D != null && (f.preventDefault(), E(D));
252
231
  }
253
232
  break;
254
233
  case "PageUp":
255
234
  if (t.getKeyPageAbove && e.focusedKey != null) {
256
235
  let D = t.getKeyPageAbove(e.focusedKey);
257
- D != null && (h.preventDefault(), P(D));
236
+ D != null && (f.preventDefault(), E(D));
258
237
  }
259
238
  break;
260
239
  case "a":
261
- Q(h) && e.selectionMode === "multiple" && s !== !0 && (h.preventDefault(), e.selectAll());
240
+ Q(f) && e.selectionMode === "multiple" && s !== !0 && (f.preventDefault(), e.selectAll());
262
241
  break;
263
242
  case "Escape":
264
- a === "clearSelection" && !r && e.selectedKeys.size !== 0 && (h.stopPropagation(), h.preventDefault(), e.clearSelection());
243
+ a === "clearSelection" && !r && e.selectedKeys.size !== 0 && (f.stopPropagation(), f.preventDefault(), e.clearSelection());
265
244
  break;
266
245
  case "Tab":
267
246
  if (!d) {
268
- if (h.shiftKey) l.current.focus();
247
+ if (f.shiftKey) l.current.focus();
269
248
  else {
270
- let D = Xl(l.current, {
249
+ let D = Yl(l.current, {
271
250
  tabbable: !0
272
251
  }), X, Z;
273
252
  do
274
253
  Z = D.lastChild(), Z && (X = Z);
275
254
  while (Z);
276
- X && !X.contains(document.activeElement) && Ie(X);
255
+ X && !X.contains(document.activeElement) && ke(X);
277
256
  }
278
257
  break;
279
258
  }
280
259
  }
281
- }, w = E({
260
+ }, w = P({
282
261
  top: 0,
283
262
  left: 0
284
263
  });
285
- ue(b, "scroll", v ? void 0 : () => {
286
- var h, u, P, A;
264
+ ae(b, "scroll", y ? void 0 : () => {
265
+ var f, u, E, L;
287
266
  w.current = {
288
- top: (P = (h = b.current) === null || h === void 0 ? void 0 : h.scrollTop) !== null && P !== void 0 ? P : 0,
289
- left: (A = (u = b.current) === null || u === void 0 ? void 0 : u.scrollLeft) !== null && A !== void 0 ? A : 0
267
+ top: (E = (f = b.current) === null || f === void 0 ? void 0 : f.scrollTop) !== null && E !== void 0 ? E : 0,
268
+ left: (L = (u = b.current) === null || u === void 0 ? void 0 : u.scrollLeft) !== null && L !== void 0 ? L : 0
290
269
  };
291
270
  });
292
- let k = (h) => {
271
+ let k = (f) => {
293
272
  if (e.isFocused) {
294
- h.currentTarget.contains(h.target) || e.setFocused(!1);
273
+ f.currentTarget.contains(f.target) || e.setFocused(!1);
295
274
  return;
296
275
  }
297
- if (h.currentTarget.contains(h.target)) {
276
+ if (f.currentTarget.contains(f.target)) {
298
277
  if (e.setFocused(!0), e.focusedKey == null) {
299
- var u, P;
278
+ var u, E;
300
279
  let z = (_) => {
301
280
  _ != null && (e.setFocusedKey(_), c && !e.isSelected(_) && e.replaceSelection(_));
302
- }, W = h.relatedTarget;
303
- var A, N;
304
- W && h.currentTarget.compareDocumentPosition(W) & Node.DOCUMENT_POSITION_FOLLOWING ? z((A = e.lastSelectedKey) !== null && A !== void 0 ? A : (u = t.getLastKey) === null || u === void 0 ? void 0 : u.call(t)) : z((N = e.firstSelectedKey) !== null && N !== void 0 ? N : (P = t.getFirstKey) === null || P === void 0 ? void 0 : P.call(t));
305
- } else !v && b.current && (b.current.scrollTop = w.current.top, b.current.scrollLeft = w.current.left);
281
+ }, q = f.relatedTarget;
282
+ var L, N;
283
+ q && f.currentTarget.compareDocumentPosition(q) & Node.DOCUMENT_POSITION_FOLLOWING ? z((L = e.lastSelectedKey) !== null && L !== void 0 ? L : (u = t.getLastKey) === null || u === void 0 ? void 0 : u.call(t)) : z((N = e.firstSelectedKey) !== null && N !== void 0 ? N : (E = t.getFirstKey) === null || E === void 0 ? void 0 : E.call(t));
284
+ } else !y && b.current && (b.current.scrollTop = w.current.top, b.current.scrollLeft = w.current.left);
306
285
  if (e.focusedKey != null && b.current) {
307
- let z = ce(l, e.focusedKey);
308
- z instanceof HTMLElement && (!z.contains(document.activeElement) && !f && Ie(z), Me() === "keyboard" && Je(z, {
286
+ let z = de(l, e.focusedKey);
287
+ z instanceof HTMLElement && (!z.contains(document.activeElement) && !h && ke(z), Fe() === "keyboard" && Ye(z, {
309
288
  containingElement: l.current
310
289
  }));
311
290
  }
312
291
  }
313
- }, F = (h) => {
314
- h.currentTarget.contains(h.relatedTarget) || e.setFocused(!1);
315
- }, C = E(!1);
316
- ue(l, Le, f ? (h) => {
317
- let { detail: u } = h;
318
- h.stopPropagation(), e.setFocused(!0), (u == null ? void 0 : u.focusStrategy) === "first" && (C.current = !0);
292
+ }, F = (f) => {
293
+ f.currentTarget.contains(f.relatedTarget) || e.setFocused(!1);
294
+ }, C = P(!1);
295
+ ae(l, Te, h ? (f) => {
296
+ let { detail: u } = f;
297
+ f.stopPropagation(), e.setFocused(!0), (u == null ? void 0 : u.focusStrategy) === "first" && (C.current = !0);
319
298
  } : void 0);
320
- let R = ee(() => {
321
- var h, u;
322
- let P = (u = (h = t.getFirstKey) === null || h === void 0 ? void 0 : h.call(t)) !== null && u !== void 0 ? u : null;
323
- P == null ? (Oe(l.current), e.collection.size > 0 && (C.current = !1)) : (e.setFocusedKey(P), C.current = !1);
299
+ let A = ee(() => {
300
+ var f, u;
301
+ let E = (u = (f = t.getFirstKey) === null || f === void 0 ? void 0 : f.call(t)) !== null && u !== void 0 ? u : null;
302
+ E == null ? (Ve(l.current), e.collection.size > 0 && (C.current = !1)) : (e.setFocusedKey(E), C.current = !1);
324
303
  });
325
- Xe(() => {
326
- C.current && R();
304
+ Je(() => {
305
+ C.current && A();
327
306
  }, [
328
307
  e.collection,
329
- R
308
+ A
330
309
  ]);
331
310
  let M = ee(() => {
332
311
  e.collection.size > 0 && (C.current = !1);
333
312
  });
334
- Xe(() => {
313
+ Je(() => {
335
314
  M();
336
315
  }, [
337
316
  e.focusedKey,
338
317
  M
339
- ]), ue(l, Ct, f ? (h) => {
318
+ ]), ae(l, wt, h ? (f) => {
340
319
  var u;
341
- h.stopPropagation(), e.setFocused(!1), !((u = h.detail) === null || u === void 0) && u.clearFocusKey && e.setFocusedKey(null);
320
+ f.stopPropagation(), e.setFocused(!1), !((u = f.detail) === null || u === void 0) && u.clearFocusKey && e.setFocusedKey(null);
342
321
  } : void 0);
343
- const G = E(i), B = E(!1);
322
+ const G = P(i), B = P(!1);
344
323
  Y(() => {
345
324
  if (G.current) {
346
- var h, u;
325
+ var f, u;
347
326
  let N = null;
348
- var P;
349
- i === "first" && (N = (P = (h = t.getFirstKey) === null || h === void 0 ? void 0 : h.call(t)) !== null && P !== void 0 ? P : null);
350
- var A;
351
- i === "last" && (N = (A = (u = t.getLastKey) === null || u === void 0 ? void 0 : u.call(t)) !== null && A !== void 0 ? A : null);
327
+ var E;
328
+ i === "first" && (N = (E = (f = t.getFirstKey) === null || f === void 0 ? void 0 : f.call(t)) !== null && E !== void 0 ? E : null);
329
+ var L;
330
+ i === "last" && (N = (L = (u = t.getLastKey) === null || u === void 0 ? void 0 : u.call(t)) !== null && L !== void 0 ? L : null);
352
331
  let z = e.selectedKeys;
353
332
  if (z.size) {
354
- for (let W of z) if (e.canSelectItem(W)) {
355
- N = W;
333
+ for (let q of z) if (e.canSelectItem(q)) {
334
+ N = q;
356
335
  break;
357
336
  }
358
337
  }
359
- e.setFocused(!0), e.setFocusedKey(N), N == null && !f && l.current && Te(l.current), e.collection.size > 0 && (G.current = !1, B.current = !0);
338
+ e.setFocused(!0), e.setFocusedKey(N), N == null && !h && l.current && Me(l.current), e.collection.size > 0 && (G.current = !1, B.current = !0);
360
339
  }
361
340
  });
362
- let y = E(e.focusedKey), K = E(null);
341
+ let p = P(e.focusedKey), K = P(null);
363
342
  Y(() => {
364
- if (e.isFocused && e.focusedKey != null && (e.focusedKey !== y.current || B.current) && b.current && l.current) {
365
- let h = Me(), u = ce(l, e.focusedKey);
343
+ if (e.isFocused && e.focusedKey != null && (e.focusedKey !== p.current || B.current) && b.current && l.current) {
344
+ let f = Fe(), u = de(l, e.focusedKey);
366
345
  if (!(u instanceof HTMLElement))
367
346
  return;
368
- (h === "keyboard" || B.current) && (K.current && cancelAnimationFrame(K.current), K.current = requestAnimationFrame(() => {
369
- b.current && (jl(b.current, u), h !== "virtual" && Je(u, {
347
+ (f === "keyboard" || B.current) && (K.current && cancelAnimationFrame(K.current), K.current = requestAnimationFrame(() => {
348
+ b.current && (_l(b.current, u), f !== "virtual" && Ye(u, {
370
349
  containingElement: l.current
371
350
  }));
372
351
  }));
373
352
  }
374
- !f && e.isFocused && e.focusedKey == null && y.current != null && l.current && Te(l.current), y.current = e.focusedKey, B.current = !1;
353
+ !h && e.isFocused && e.focusedKey == null && p.current != null && l.current && Me(l.current), p.current = e.focusedKey, B.current = !1;
375
354
  }), Y(() => () => {
376
355
  K.current && cancelAnimationFrame(K.current);
377
- }, []), ue(l, "react-aria-focus-scope-restore", (h) => {
378
- h.preventDefault(), e.setFocused(!0);
356
+ }, []), ae(l, "react-aria-focus-scope-restore", (f) => {
357
+ f.preventDefault(), e.setFocused(!0);
379
358
  });
380
359
  let I = {
381
360
  onKeyDown: S,
382
361
  onFocus: k,
383
362
  onBlur: F,
384
- onMouseDown(h) {
385
- b.current === h.target && h.preventDefault();
363
+ onMouseDown(f) {
364
+ b.current === f.target && f.preventDefault();
386
365
  }
387
- }, { typeSelectProps: V } = di({
366
+ }, { typeSelectProps: V } = ri({
388
367
  keyboardDelegate: t,
389
368
  selectionManager: e
390
369
  });
391
- p || (I = q(V, I));
370
+ v || (I = W(V, I));
392
371
  let U;
393
- f || (U = e.focusedKey == null ? 0 : -1);
394
- let H = si(e.collection);
372
+ h || (U = e.focusedKey == null ? 0 : -1);
373
+ let H = ii(e.collection);
395
374
  return {
396
- collectionProps: q(I, {
375
+ collectionProps: W(I, {
397
376
  tabIndex: U,
398
377
  "data-collection": H
399
378
  })
400
379
  };
401
380
  }
402
- function hi(n) {
403
- let { id: e, selectionManager: t, key: l, ref: i, shouldSelectOnPressUp: o, shouldUseVirtualFocus: r, focus: s, isDisabled: a, onAction: c, allowsDifferentPressOrigin: p, linkBehavior: f = "action" } = n, d = St();
404
- e = se(e);
405
- let v = (u) => {
406
- if (u.pointerType === "keyboard" && Re(u)) t.toggleSelection(l);
381
+ function ui(n) {
382
+ let { id: e, selectionManager: t, key: l, ref: i, shouldSelectOnPressUp: o, shouldUseVirtualFocus: r, focus: s, isDisabled: a, onAction: c, allowsDifferentPressOrigin: v, linkBehavior: h = "action" } = n, d = xt();
383
+ e = re(e);
384
+ let y = (u) => {
385
+ if (u.pointerType === "keyboard" && Ae(u)) t.toggleSelection(l);
407
386
  else {
408
387
  if (t.selectionMode === "none") return;
409
388
  if (t.isLink(l)) {
410
- if (f === "selection" && i.current) {
411
- let P = t.getItemProps(l);
412
- d.open(i.current, u, P.href, P.routerOptions), t.setSelectedKeys(t.selectedKeys);
389
+ if (h === "selection" && i.current) {
390
+ let E = t.getItemProps(l);
391
+ d.open(i.current, u, E.href, E.routerOptions), t.setSelectedKeys(t.selectedKeys);
413
392
  return;
414
- } else if (f === "override" || f === "none") return;
393
+ } else if (h === "override" || h === "none") return;
415
394
  }
416
395
  t.selectionMode === "single" ? t.isSelected(l) && !t.disallowEmptySelection ? t.toggleSelection(l) : t.replaceSelection(l) : u && u.shiftKey ? t.extendSelection(l) : t.selectionBehavior === "toggle" || u && (Q(u) || u.pointerType === "touch" || u.pointerType === "virtual") ? t.toggleSelection(l) : t.replaceSelection(l);
417
396
  }
418
397
  };
419
398
  Y(() => {
420
- l === t.focusedKey && t.isFocused && (r ? Oe(i.current) : s ? s() : document.activeElement !== i.current && i.current && Te(i.current));
399
+ l === t.focusedKey && t.isFocused && (r ? Ve(i.current) : s ? s() : document.activeElement !== i.current && i.current && Me(i.current));
421
400
  }, [
422
401
  i,
423
402
  l,
@@ -435,30 +414,30 @@ function hi(n) {
435
414
  } : a && (b.onMouseDown = (u) => {
436
415
  u.preventDefault();
437
416
  });
438
- let x = t.isLink(l) && f === "override", g = t.isLink(l) && f !== "selection" && f !== "none", m = !a && t.canSelectItem(l) && !x, S = (c || g) && !a, w = S && (t.selectionBehavior === "replace" ? !m : !m || t.isEmpty), k = S && m && t.selectionBehavior === "replace", F = w || k, C = E(null), R = F && m, M = E(!1), G = E(!1), B = (u) => {
417
+ let x = t.isLink(l) && h === "override", g = t.isLink(l) && h !== "selection" && h !== "none", $ = !a && t.canSelectItem(l) && !x, S = (c || g) && !a, w = S && (t.selectionBehavior === "replace" ? !$ : !$ || t.isEmpty), k = S && $ && t.selectionBehavior === "replace", F = w || k, C = P(null), A = F && $, M = P(!1), G = P(!1), B = (u) => {
439
418
  if (c && c(), g && i.current) {
440
- let P = t.getItemProps(l);
441
- d.open(i.current, u, P.href, P.routerOptions);
419
+ let E = t.getItemProps(l);
420
+ d.open(i.current, u, E.href, E.routerOptions);
442
421
  }
443
- }, y = {
422
+ }, p = {
444
423
  ref: i
445
424
  };
446
- o ? (y.onPressStart = (u) => {
447
- C.current = u.pointerType, M.current = R, u.pointerType === "keyboard" && (!F || Qe()) && v(u);
448
- }, p ? (y.onPressUp = w ? void 0 : (u) => {
449
- u.pointerType === "mouse" && m && v(u);
450
- }, y.onPress = w ? B : (u) => {
451
- u.pointerType !== "keyboard" && u.pointerType !== "mouse" && m && v(u);
452
- }) : y.onPress = (u) => {
425
+ o ? (p.onPressStart = (u) => {
426
+ C.current = u.pointerType, M.current = A, u.pointerType === "keyboard" && (!F || Ze()) && y(u);
427
+ }, v ? (p.onPressUp = w ? void 0 : (u) => {
428
+ u.pointerType === "mouse" && $ && y(u);
429
+ }, p.onPress = w ? B : (u) => {
430
+ u.pointerType !== "keyboard" && u.pointerType !== "mouse" && $ && y(u);
431
+ }) : p.onPress = (u) => {
453
432
  if (w || k && u.pointerType !== "mouse") {
454
- if (u.pointerType === "keyboard" && !Ze()) return;
433
+ if (u.pointerType === "keyboard" && !Xe()) return;
455
434
  B(u);
456
- } else u.pointerType !== "keyboard" && m && v(u);
457
- }) : (y.onPressStart = (u) => {
458
- C.current = u.pointerType, M.current = R, G.current = w, m && (u.pointerType === "mouse" && !w || u.pointerType === "keyboard" && (!S || Qe())) && v(u);
459
- }, y.onPress = (u) => {
460
- (u.pointerType === "touch" || u.pointerType === "pen" || u.pointerType === "virtual" || u.pointerType === "keyboard" && F && Ze() || u.pointerType === "mouse" && G.current) && (F ? B(u) : m && v(u));
461
- }), b["data-collection"] = ai(t.collection), b["data-key"] = l, y.preventFocusOnPress = r, r && (y = q(y, {
435
+ } else u.pointerType !== "keyboard" && $ && y(u);
436
+ }) : (p.onPressStart = (u) => {
437
+ C.current = u.pointerType, M.current = A, G.current = w, $ && (u.pointerType === "mouse" && !w || u.pointerType === "keyboard" && (!S || Ze())) && y(u);
438
+ }, p.onPress = (u) => {
439
+ (u.pointerType === "touch" || u.pointerType === "pen" || u.pointerType === "virtual" || u.pointerType === "keyboard" && F && Xe() || u.pointerType === "mouse" && G.current) && (F ? B(u) : $ && y(u));
440
+ }), b["data-collection"] = ni(t.collection), b["data-key"] = l, p.preventFocusOnPress = r, r && (p = W(p, {
462
441
  onPressStart(u) {
463
442
  u.pointerType !== "touch" && (t.setFocused(!0), t.setFocusedKey(l));
464
443
  },
@@ -466,27 +445,27 @@ function hi(n) {
466
445
  u.pointerType === "touch" && (t.setFocused(!0), t.setFocusedKey(l));
467
446
  }
468
447
  }));
469
- let { pressProps: K, isPressed: I } = xt(y), V = k ? (u) => {
448
+ let { pressProps: K, isPressed: I } = mt(p), V = k ? (u) => {
470
449
  C.current === "mouse" && (u.stopPropagation(), u.preventDefault(), B(u));
471
- } : void 0, { longPressProps: U } = ii({
472
- isDisabled: !R,
450
+ } : void 0, { longPressProps: U } = Ql({
451
+ isDisabled: !A,
473
452
  onLongPress(u) {
474
- u.pointerType === "touch" && (v(u), t.setSelectionBehavior("toggle"));
453
+ u.pointerType === "touch" && (y(u), t.setSelectionBehavior("toggle"));
475
454
  }
476
455
  }), H = (u) => {
477
456
  C.current === "touch" && M.current && u.preventDefault();
478
- }, h = t.isLink(l) ? (u) => {
479
- Wl.isOpening || u.preventDefault();
457
+ }, f = t.isLink(l) ? (u) => {
458
+ Hl.isOpening || u.preventDefault();
480
459
  } : void 0;
481
460
  return {
482
- itemProps: q(
461
+ itemProps: W(
483
462
  b,
484
- m || w || r && !a ? K : {},
485
- R ? U : {},
463
+ $ || w || r && !a ? K : {},
464
+ A ? U : {},
486
465
  {
487
466
  onDoubleClick: V,
488
467
  onDragStartCapture: H,
489
- onClick: h,
468
+ onClick: f,
490
469
  id: e
491
470
  },
492
471
  // Prevent DOM focus from moving on mouse down when using virtual focus
@@ -498,23 +477,23 @@ function hi(n) {
498
477
  isSelected: t.isSelected(l),
499
478
  isFocused: t.isFocused && t.focusedKey === l,
500
479
  isDisabled: a,
501
- allowsSelection: m,
480
+ allowsSelection: $,
502
481
  hasAction: F
503
482
  };
504
483
  }
505
- function Ze() {
484
+ function Xe() {
506
485
  let n = window.event;
507
486
  return (n == null ? void 0 : n.key) === "Enter";
508
487
  }
509
- function Qe() {
488
+ function Ze() {
510
489
  let n = window.event;
511
490
  return (n == null ? void 0 : n.key) === " " || (n == null ? void 0 : n.code) === "Space";
512
491
  }
513
- class et {
492
+ class Qe {
514
493
  getItemRect(e) {
515
494
  let t = this.ref.current;
516
495
  if (!t) return null;
517
- let l = e != null ? ce(this.ref, e) : null;
496
+ let l = e != null ? de(this.ref, e) : null;
518
497
  if (!l) return null;
519
498
  let i = t.getBoundingClientRect(), o = l.getBoundingClientRect();
520
499
  return {
@@ -546,7 +525,7 @@ class et {
546
525
  this.ref = e;
547
526
  }
548
527
  }
549
- class kt {
528
+ class Pt {
550
529
  isDisabled(e) {
551
530
  var t;
552
531
  return this.disabledBehavior === "all" && (((t = e.props) === null || t === void 0 ? void 0 : t.isDisabled) || this.disabledKeys.has(e.key));
@@ -612,7 +591,7 @@ class kt {
612
591
  getKeyPageAbove(e) {
613
592
  let t = this.ref.current, l = this.layoutDelegate.getItemRect(e);
614
593
  if (!l) return null;
615
- if (t && !Ye(t)) return this.getFirstKey();
594
+ if (t && !je(t)) return this.getFirstKey();
616
595
  let i = e;
617
596
  if (this.orientation === "horizontal") {
618
597
  let o = Math.max(0, l.x + l.width - this.layoutDelegate.getVisibleRect().width);
@@ -628,7 +607,7 @@ class kt {
628
607
  getKeyPageBelow(e) {
629
608
  let t = this.ref.current, l = this.layoutDelegate.getItemRect(e);
630
609
  if (!l) return null;
631
- if (t && !Ye(t)) return this.getLastKey();
610
+ if (t && !je(t)) return this.getLastKey();
632
611
  let i = e;
633
612
  if (this.orientation === "horizontal") {
634
613
  let o = Math.min(this.layoutDelegate.getContentSize().width, l.y - l.width + this.layoutDelegate.getVisibleRect().width);
@@ -656,17 +635,17 @@ class kt {
656
635
  constructor(...e) {
657
636
  if (e.length === 1) {
658
637
  let t = e[0];
659
- 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 et(t.ref);
638
+ this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new Qe(t.ref);
660
639
  } else
661
- 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 et(this.ref);
640
+ this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new Qe(this.ref);
662
641
  this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
663
642
  }
664
643
  }
665
- function pi(n) {
666
- let { selectionManager: e, collection: t, disabledKeys: l, ref: i, keyboardDelegate: o, layoutDelegate: r } = n, s = wt({
644
+ function di(n) {
645
+ let { selectionManager: e, collection: t, disabledKeys: l, ref: i, keyboardDelegate: o, layoutDelegate: r } = n, s = Dt({
667
646
  usage: "search",
668
647
  sensitivity: "base"
669
- }), a = e.disabledBehavior, c = T(() => o || new kt({
648
+ }), a = e.disabledBehavior, c = T(() => o || new Pt({
670
649
  collection: t,
671
650
  disabledKeys: l,
672
651
  disabledBehavior: a,
@@ -681,34 +660,34 @@ function pi(n) {
681
660
  i,
682
661
  s,
683
662
  a
684
- ]), { collectionProps: p } = fi({
663
+ ]), { collectionProps: v } = ai({
685
664
  ...n,
686
665
  ref: i,
687
666
  selectionManager: e,
688
667
  keyboardDelegate: c
689
668
  });
690
669
  return {
691
- listProps: p
670
+ listProps: v
692
671
  };
693
672
  }
694
- function vi(n, e, t) {
695
- let l = ne(n, {
673
+ function ci(n, e, t) {
674
+ let l = se(n, {
696
675
  labelable: !0
697
676
  }), i = n.selectionBehavior || "toggle", o = n.linkBehavior || (i === "replace" ? "action" : "override");
698
677
  i === "toggle" && o === "action" && (o = "override");
699
- let { listProps: r } = pi({
678
+ let { listProps: r } = di({
700
679
  ...n,
701
680
  ref: t,
702
681
  selectionManager: e.selectionManager,
703
682
  collection: e.collection,
704
683
  disabledKeys: e.disabledKeys,
705
684
  linkBehavior: o
706
- }), { focusWithinProps: s } = Yl({
685
+ }), { focusWithinProps: s } = Gl({
707
686
  onFocusWithin: n.onFocus,
708
687
  onBlurWithin: n.onBlur,
709
688
  onFocusWithinChange: n.onFocusChange
710
- }), a = se(n.id);
711
- Ne.set(e, {
689
+ }), a = re(n.id);
690
+ Oe.set(e, {
712
691
  id: a,
713
692
  shouldUseVirtualFocus: n.shouldUseVirtualFocus,
714
693
  shouldSelectOnPressUp: n.shouldSelectOnPressUp,
@@ -717,7 +696,7 @@ function vi(n, e, t) {
717
696
  onAction: n.onAction,
718
697
  linkBehavior: o
719
698
  });
720
- let { labelProps: c, fieldProps: p } = Jl({
699
+ let { labelProps: c, fieldProps: v } = jl({
721
700
  ...n,
722
701
  id: a,
723
702
  // listbox is not an HTML input element so it
@@ -726,21 +705,21 @@ function vi(n, e, t) {
726
705
  });
727
706
  return {
728
707
  labelProps: c,
729
- listBoxProps: q(l, s, e.selectionManager.selectionMode === "multiple" ? {
708
+ listBoxProps: W(l, s, e.selectionManager.selectionMode === "multiple" ? {
730
709
  "aria-multiselectable": "true"
731
710
  } : {}, {
732
711
  role: "listbox",
733
- ...q(p, r)
712
+ ...W(v, r)
734
713
  })
735
714
  };
736
715
  }
737
- class yi {
716
+ class fi {
738
717
  build(e, t) {
739
- return this.context = t, tt(() => this.iterateCollection(e));
718
+ return this.context = t, et(() => this.iterateCollection(e));
740
719
  }
741
720
  *iterateCollection(e) {
742
721
  let { children: t, items: l } = e;
743
- if ($.isValidElement(t) && t.type === $.Fragment) yield* this.iterateCollection({
722
+ if (m.isValidElement(t) && t.type === m.Fragment) yield* this.iterateCollection({
744
723
  children: t.props.children,
745
724
  items: l
746
725
  });
@@ -756,7 +735,7 @@ class yi {
756
735
  }), i++;
757
736
  } else {
758
737
  let i = [];
759
- $.Children.forEach(t, (r) => {
738
+ m.Children.forEach(t, (r) => {
760
739
  r && i.push(r);
761
740
  });
762
741
  let o = 0;
@@ -788,16 +767,16 @@ class yi {
788
767
  };
789
768
  }
790
769
  *getFullNode(e, t, l, i) {
791
- if ($.isValidElement(e.element) && e.element.type === $.Fragment) {
770
+ if (m.isValidElement(e.element) && e.element.type === m.Fragment) {
792
771
  let g = [];
793
- $.Children.forEach(e.element.props.children, (S) => {
772
+ m.Children.forEach(e.element.props.children, (S) => {
794
773
  g.push(S);
795
774
  });
796
775
  var o;
797
- let m = (o = e.index) !== null && o !== void 0 ? o : 0;
776
+ let $ = (o = e.index) !== null && o !== void 0 ? o : 0;
798
777
  for (const S of g) yield* this.getFullNode({
799
778
  element: S,
800
- index: m++
779
+ index: $++
801
780
  }, t, l, i);
802
781
  return;
803
782
  }
@@ -810,49 +789,49 @@ class yi {
810
789
  }
811
790
  r = t.renderer(e.value);
812
791
  }
813
- if ($.isValidElement(r)) {
792
+ if (m.isValidElement(r)) {
814
793
  let g = r.type;
815
794
  if (typeof g != "function" && typeof g.getCollectionNode != "function") {
816
795
  let k = r.type;
817
796
  throw new Error(`Unknown element <${k}> in collection.`);
818
797
  }
819
- let m = g.getCollectionNode(r.props, this.context);
798
+ let $ = g.getCollectionNode(r.props, this.context);
820
799
  var s;
821
- let S = (s = e.index) !== null && s !== void 0 ? s : 0, w = m.next();
800
+ let S = (s = e.index) !== null && s !== void 0 ? s : 0, w = $.next();
822
801
  for (; !w.done && w.value; ) {
823
802
  let k = w.value;
824
803
  e.index = S;
825
804
  var a;
826
805
  let F = (a = k.key) !== null && a !== void 0 ? a : null;
827
806
  F == null && (F = k.element ? null : this.getKey(r, e, t, l));
828
- let R = [
807
+ let A = [
829
808
  ...this.getFullNode({
830
809
  ...k,
831
810
  key: F,
832
811
  index: S,
833
- wrapper: bi(e.wrapper, k.wrapper)
812
+ wrapper: hi(e.wrapper, k.wrapper)
834
813
  }, this.getChildState(t, k), l ? `${l}${r.key}` : r.key, i)
835
814
  ];
836
- for (let M of R) {
837
- var c, p;
838
- M.value = (p = (c = k.value) !== null && c !== void 0 ? c : e.value) !== null && p !== void 0 ? p : null, M.value && this.cache.set(M.value, M);
839
- var f;
840
- if (e.type && M.type !== e.type) throw new Error(`Unsupported type <${we(M.type)}> in <${we((f = i == null ? void 0 : i.type) !== null && f !== void 0 ? f : "unknown parent type")}>. Only <${we(e.type)}> is supported.`);
815
+ for (let M of A) {
816
+ var c, v;
817
+ M.value = (v = (c = k.value) !== null && c !== void 0 ? c : e.value) !== null && v !== void 0 ? v : null, M.value && this.cache.set(M.value, M);
818
+ var h;
819
+ if (e.type && M.type !== e.type) throw new Error(`Unsupported type <${Ke(M.type)}> in <${Ke((h = i == null ? void 0 : i.type) !== null && h !== void 0 ? h : "unknown parent type")}>. Only <${Ke(e.type)}> is supported.`);
841
820
  S++, yield M;
842
821
  }
843
- w = m.next(R);
822
+ w = $.next(A);
844
823
  }
845
824
  return;
846
825
  }
847
826
  if (e.key == null || e.type == null) return;
848
827
  let d = this;
849
- var v, b;
828
+ var y, b;
850
829
  let x = {
851
830
  type: e.type,
852
831
  props: e.props,
853
832
  key: e.key,
854
833
  parentKey: i ? i.key : null,
855
- value: (v = e.value) !== null && v !== void 0 ? v : null,
834
+ value: (y = e.value) !== null && y !== void 0 ? y : null,
856
835
  level: i ? i.level + 1 : 0,
857
836
  index: e.index,
858
837
  rendered: e.rendered,
@@ -861,15 +840,15 @@ class yi {
861
840
  wrapper: e.wrapper,
862
841
  shouldInvalidate: e.shouldInvalidate,
863
842
  hasChildNodes: e.hasChildNodes || !1,
864
- childNodes: tt(function* () {
843
+ childNodes: et(function* () {
865
844
  if (!e.hasChildNodes || !e.childNodes) return;
866
845
  let g = 0;
867
- for (let m of e.childNodes()) {
868
- m.key != null && (m.key = `${x.key}${m.key}`);
846
+ for (let $ of e.childNodes()) {
847
+ $.key != null && ($.key = `${x.key}${$.key}`);
869
848
  let S = d.getFullNode({
870
- ...m,
849
+ ...$,
871
850
  index: g
872
- }, d.getChildState(t, m), x.key, x);
851
+ }, d.getChildState(t, $), x.key, x);
873
852
  for (let w of S)
874
853
  g++, yield w;
875
854
  }
@@ -881,7 +860,7 @@ class yi {
881
860
  this.cache = /* @__PURE__ */ new WeakMap();
882
861
  }
883
862
  }
884
- function tt(n) {
863
+ function et(n) {
885
864
  let e = [], t = null;
886
865
  return {
887
866
  *[Symbol.iterator]() {
@@ -892,16 +871,16 @@ function tt(n) {
892
871
  }
893
872
  };
894
873
  }
895
- function bi(n, e) {
874
+ function hi(n, e) {
896
875
  if (n && e) return (t) => n(e(t));
897
876
  if (n) return n;
898
877
  if (e) return e;
899
878
  }
900
- function we(n) {
879
+ function Ke(n) {
901
880
  return n[0].toUpperCase() + n.slice(1);
902
881
  }
903
- function gi(n, e, t) {
904
- let l = T(() => new yi(), []), { children: i, items: o, collection: r } = n;
882
+ function pi(n, e, t) {
883
+ let l = T(() => new fi(), []), { children: i, items: o, collection: r } = n;
905
884
  return T(() => {
906
885
  if (r) return r;
907
886
  let a = l.build({
@@ -918,77 +897,77 @@ function gi(n, e, t) {
918
897
  e
919
898
  ]);
920
899
  }
921
- function It(n, e) {
900
+ function kt(n, e) {
922
901
  return typeof e.getChildren == "function" ? e.getChildren(n.key) : n.childNodes;
923
902
  }
924
- function $i(n) {
925
- return mi(n);
903
+ function vi(n) {
904
+ return yi(n);
926
905
  }
927
- function mi(n, e) {
906
+ function yi(n, e) {
928
907
  for (let t of n)
929
908
  return t;
930
909
  }
931
- function An(n) {
910
+ function Tn(n) {
932
911
  let e;
933
912
  for (let t of n) e = t;
934
913
  return e;
935
914
  }
936
- function Ce(n, e, t) {
915
+ function De(n, e, t) {
937
916
  if (e.parentKey === t.parentKey) return e.index - t.index;
938
917
  let l = [
939
- ...lt(n, e),
918
+ ...tt(n, e),
940
919
  e
941
920
  ], i = [
942
- ...lt(n, t),
921
+ ...tt(n, t),
943
922
  t
944
923
  ], o = l.slice(0, i.length).findIndex((r, s) => r !== i[s]);
945
924
  return o !== -1 ? (e = l[o], t = i[o], e.index - t.index) : l.findIndex((r) => r === t) >= 0 ? 1 : (i.findIndex((r) => r === e) >= 0, -1);
946
925
  }
947
- function lt(n, e) {
926
+ function tt(n, e) {
948
927
  let t = [], l = e;
949
928
  for (; (l == null ? void 0 : l.parentKey) != null; )
950
929
  l = n.getItem(l.parentKey), l && t.unshift(l);
951
930
  return t;
952
931
  }
953
- const it = /* @__PURE__ */ new WeakMap();
954
- function xi(n) {
955
- let e = it.get(n);
932
+ const lt = /* @__PURE__ */ new WeakMap();
933
+ function bi(n) {
934
+ let e = lt.get(n);
956
935
  if (e != null) return e;
957
936
  let t = 0, l = (i) => {
958
937
  for (let o of i)
959
- o.type === "section" ? l(It(o, n)) : o.type === "item" && t++;
938
+ o.type === "section" ? l(kt(o, n)) : o.type === "item" && t++;
960
939
  };
961
- return l(n), it.set(n, t), t;
940
+ return l(n), lt.set(n, t), t;
962
941
  }
963
- function Si(n, e, t) {
942
+ function gi(n, e, t) {
964
943
  var l, i;
965
- let { key: o } = n, r = Ne.get(e);
944
+ let { key: o } = n, r = Oe.get(e);
966
945
  var s;
967
946
  let a = (s = n.isDisabled) !== null && s !== void 0 ? s : e.selectionManager.isDisabled(o);
968
947
  var c;
969
- let p = (c = n.isSelected) !== null && c !== void 0 ? c : e.selectionManager.isSelected(o);
970
- var f;
971
- let d = (f = n.shouldSelectOnPressUp) !== null && f !== void 0 ? f : r == null ? void 0 : r.shouldSelectOnPressUp;
972
- var v;
973
- let b = (v = n.shouldFocusOnHover) !== null && v !== void 0 ? v : r == null ? void 0 : r.shouldFocusOnHover;
948
+ let v = (c = n.isSelected) !== null && c !== void 0 ? c : e.selectionManager.isSelected(o);
949
+ var h;
950
+ let d = (h = n.shouldSelectOnPressUp) !== null && h !== void 0 ? h : r == null ? void 0 : r.shouldSelectOnPressUp;
951
+ var y;
952
+ let b = (y = n.shouldFocusOnHover) !== null && y !== void 0 ? y : r == null ? void 0 : r.shouldFocusOnHover;
974
953
  var x;
975
954
  let g = (x = n.shouldUseVirtualFocus) !== null && x !== void 0 ? x : r == null ? void 0 : r.shouldUseVirtualFocus;
976
- var m;
977
- let S = (m = n.isVirtualized) !== null && m !== void 0 ? m : r == null ? void 0 : r.isVirtualized, w = Ge(), k = Ge(), F = {
955
+ var $;
956
+ let S = ($ = n.isVirtualized) !== null && $ !== void 0 ? $ : r == null ? void 0 : r.isVirtualized, w = _e(), k = _e(), F = {
978
957
  role: "option",
979
958
  "aria-disabled": a || void 0,
980
- "aria-selected": e.selectionManager.selectionMode !== "none" ? p : void 0
959
+ "aria-selected": e.selectionManager.selectionMode !== "none" ? v : void 0
981
960
  };
982
- $t() && Ul() || (F["aria-label"] = n["aria-label"], F["aria-labelledby"] = w, F["aria-describedby"] = k);
961
+ gt() && zl() || (F["aria-label"] = n["aria-label"], F["aria-labelledby"] = w, F["aria-describedby"] = k);
983
962
  let C = e.collection.getItem(o);
984
963
  if (S) {
985
- let h = Number(C == null ? void 0 : C.index);
986
- F["aria-posinset"] = Number.isNaN(h) ? void 0 : h + 1, F["aria-setsize"] = xi(e.collection);
964
+ let f = Number(C == null ? void 0 : C.index);
965
+ F["aria-posinset"] = Number.isNaN(f) ? void 0 : f + 1, F["aria-setsize"] = bi(e.collection);
987
966
  }
988
- let R = r != null && r.onAction ? () => {
989
- var h;
990
- return r == null || (h = r.onAction) === null || h === void 0 ? void 0 : h.call(r, o);
991
- } : void 0, M = ri(e, o), { itemProps: G, isPressed: B, isFocused: y, hasAction: K, allowsSelection: I } = hi({
967
+ let A = r != null && r.onAction ? () => {
968
+ var f;
969
+ return r == null || (f = r.onAction) === null || f === void 0 ? void 0 : f.call(r, o);
970
+ } : void 0, M = li(e, o), { itemProps: G, isPressed: B, isFocused: p, hasAction: K, allowsSelection: I } = ui({
992
971
  selectionManager: e.selectionManager,
993
972
  key: o,
994
973
  ref: t,
@@ -997,21 +976,21 @@ function Si(n, e, t) {
997
976
  isVirtualized: S,
998
977
  shouldUseVirtualFocus: g,
999
978
  isDisabled: a,
1000
- onAction: R || !(C == null || (l = C.props) === null || l === void 0) && l.onAction ? Tl(C == null || (i = C.props) === null || i === void 0 ? void 0 : i.onAction, R) : void 0,
979
+ onAction: A || !(C == null || (l = C.props) === null || l === void 0) && l.onAction ? Ml(C == null || (i = C.props) === null || i === void 0 ? void 0 : i.onAction, A) : void 0,
1001
980
  linkBehavior: r == null ? void 0 : r.linkBehavior,
1002
981
  id: M
1003
- }), { hoverProps: V } = Kt({
982
+ }), { hoverProps: V } = St({
1004
983
  isDisabled: a || !b,
1005
984
  onHoverStart() {
1006
- je() || (e.selectionManager.setFocused(!0), e.selectionManager.setFocusedKey(o));
985
+ Ge() || (e.selectionManager.setFocused(!0), e.selectionManager.setFocusedKey(o));
1007
986
  }
1008
- }), U = ne(C == null ? void 0 : C.props);
987
+ }), U = se(C == null ? void 0 : C.props);
1009
988
  delete U.id;
1010
- let H = _l(C == null ? void 0 : C.props);
989
+ let H = ql(C == null ? void 0 : C.props);
1011
990
  return {
1012
991
  optionProps: {
1013
992
  ...F,
1014
- ...q(U, G, V, H),
993
+ ...W(U, G, V, H),
1015
994
  id: M
1016
995
  },
1017
996
  labelProps: {
@@ -1020,17 +999,17 @@ function Si(n, e, t) {
1020
999
  descriptionProps: {
1021
1000
  id: k
1022
1001
  },
1023
- isFocused: y,
1024
- isFocusVisible: y && e.selectionManager.isFocused && je(),
1025
- isSelected: p,
1002
+ isFocused: p,
1003
+ isFocusVisible: p && e.selectionManager.isFocused && Ge(),
1004
+ isSelected: v,
1026
1005
  isDisabled: a,
1027
1006
  isPressed: B,
1028
1007
  allowsSelection: I,
1029
1008
  hasAction: K
1030
1009
  };
1031
1010
  }
1032
- function Ki(n) {
1033
- let { heading: e, "aria-label": t } = n, l = se();
1011
+ function $i(n) {
1012
+ let { heading: e, "aria-label": t } = n, l = re();
1034
1013
  return {
1035
1014
  itemProps: {
1036
1015
  role: "presentation"
@@ -1049,7 +1028,7 @@ function Ki(n) {
1049
1028
  }
1050
1029
  };
1051
1030
  }
1052
- var de = { exports: {} }, Ee = {};
1031
+ var ue = { exports: {} }, we = {};
1053
1032
  /**
1054
1033
  * @license React
1055
1034
  * use-sync-external-store-shim.production.js
@@ -1059,48 +1038,48 @@ var de = { exports: {} }, Ee = {};
1059
1038
  * This source code is licensed under the MIT license found in the
1060
1039
  * LICENSE file in the root directory of this source tree.
1061
1040
  */
1062
- var nt;
1063
- function Di() {
1064
- if (nt) return Ee;
1065
- nt = 1;
1066
- var n = $;
1067
- function e(f, d) {
1068
- return f === d && (f !== 0 || 1 / f === 1 / d) || f !== f && d !== d;
1041
+ var it;
1042
+ function mi() {
1043
+ if (it) return we;
1044
+ it = 1;
1045
+ var n = m;
1046
+ function e(h, d) {
1047
+ return h === d && (h !== 0 || 1 / h === 1 / d) || h !== h && d !== d;
1069
1048
  }
1070
1049
  var t = typeof Object.is == "function" ? Object.is : e, l = n.useState, i = n.useEffect, o = n.useLayoutEffect, r = n.useDebugValue;
1071
- function s(f, d) {
1072
- var v = d(), b = l({ inst: { value: v, getSnapshot: d } }), x = b[0].inst, g = b[1];
1050
+ function s(h, d) {
1051
+ var y = d(), b = l({ inst: { value: y, getSnapshot: d } }), x = b[0].inst, g = b[1];
1073
1052
  return o(
1074
1053
  function() {
1075
- x.value = v, x.getSnapshot = d, a(x) && g({ inst: x });
1054
+ x.value = y, x.getSnapshot = d, a(x) && g({ inst: x });
1076
1055
  },
1077
- [f, v, d]
1056
+ [h, y, d]
1078
1057
  ), i(
1079
1058
  function() {
1080
- return a(x) && g({ inst: x }), f(function() {
1059
+ return a(x) && g({ inst: x }), h(function() {
1081
1060
  a(x) && g({ inst: x });
1082
1061
  });
1083
1062
  },
1084
- [f]
1085
- ), r(v), v;
1063
+ [h]
1064
+ ), r(y), y;
1086
1065
  }
1087
- function a(f) {
1088
- var d = f.getSnapshot;
1089
- f = f.value;
1066
+ function a(h) {
1067
+ var d = h.getSnapshot;
1068
+ h = h.value;
1090
1069
  try {
1091
- var v = d();
1092
- return !t(f, v);
1070
+ var y = d();
1071
+ return !t(h, y);
1093
1072
  } catch {
1094
1073
  return !0;
1095
1074
  }
1096
1075
  }
1097
- function c(f, d) {
1076
+ function c(h, d) {
1098
1077
  return d();
1099
1078
  }
1100
- var p = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? c : s;
1101
- return Ee.useSyncExternalStore = n.useSyncExternalStore !== void 0 ? n.useSyncExternalStore : p, Ee;
1079
+ var v = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? c : s;
1080
+ return we.useSyncExternalStore = n.useSyncExternalStore !== void 0 ? n.useSyncExternalStore : v, we;
1102
1081
  }
1103
- var Pe = {};
1082
+ var Ce = {};
1104
1083
  /**
1105
1084
  * @license React
1106
1085
  * use-sync-external-store-shim.development.js
@@ -1110,77 +1089,77 @@ var Pe = {};
1110
1089
  * This source code is licensed under the MIT license found in the
1111
1090
  * LICENSE file in the root directory of this source tree.
1112
1091
  */
1113
- var ot;
1114
- function wi() {
1115
- return ot || (ot = 1, process.env.NODE_ENV !== "production" && function() {
1116
- function n(v, b) {
1117
- return v === b && (v !== 0 || 1 / v === 1 / b) || v !== v && b !== b;
1092
+ var nt;
1093
+ function xi() {
1094
+ return nt || (nt = 1, process.env.NODE_ENV !== "production" && function() {
1095
+ function n(y, b) {
1096
+ return y === b && (y !== 0 || 1 / y === 1 / b) || y !== y && b !== b;
1118
1097
  }
1119
- function e(v, b) {
1120
- p || i.startTransition === void 0 || (p = !0, console.error(
1098
+ function e(y, b) {
1099
+ v || i.startTransition === void 0 || (v = !0, console.error(
1121
1100
  "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."
1122
1101
  ));
1123
1102
  var x = b();
1124
- if (!f) {
1103
+ if (!h) {
1125
1104
  var g = b();
1126
1105
  o(x, g) || (console.error(
1127
1106
  "The result of getSnapshot should be cached to avoid an infinite loop"
1128
- ), f = !0);
1107
+ ), h = !0);
1129
1108
  }
1130
1109
  g = r({
1131
1110
  inst: { value: x, getSnapshot: b }
1132
1111
  });
1133
- var m = g[0].inst, S = g[1];
1112
+ var $ = g[0].inst, S = g[1];
1134
1113
  return a(
1135
1114
  function() {
1136
- m.value = x, m.getSnapshot = b, t(m) && S({ inst: m });
1115
+ $.value = x, $.getSnapshot = b, t($) && S({ inst: $ });
1137
1116
  },
1138
- [v, x, b]
1117
+ [y, x, b]
1139
1118
  ), s(
1140
1119
  function() {
1141
- return t(m) && S({ inst: m }), v(function() {
1142
- t(m) && S({ inst: m });
1120
+ return t($) && S({ inst: $ }), y(function() {
1121
+ t($) && S({ inst: $ });
1143
1122
  });
1144
1123
  },
1145
- [v]
1124
+ [y]
1146
1125
  ), c(x), x;
1147
1126
  }
1148
- function t(v) {
1149
- var b = v.getSnapshot;
1150
- v = v.value;
1127
+ function t(y) {
1128
+ var b = y.getSnapshot;
1129
+ y = y.value;
1151
1130
  try {
1152
1131
  var x = b();
1153
- return !o(v, x);
1132
+ return !o(y, x);
1154
1133
  } catch {
1155
1134
  return !0;
1156
1135
  }
1157
1136
  }
1158
- function l(v, b) {
1137
+ function l(y, b) {
1159
1138
  return b();
1160
1139
  }
1161
1140
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
1162
- var i = $, o = typeof Object.is == "function" ? Object.is : n, r = i.useState, s = i.useEffect, a = i.useLayoutEffect, c = i.useDebugValue, p = !1, f = !1, d = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? l : e;
1163
- Pe.useSyncExternalStore = i.useSyncExternalStore !== void 0 ? i.useSyncExternalStore : d, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1164
- }()), Pe;
1141
+ var i = m, o = typeof Object.is == "function" ? Object.is : n, r = i.useState, s = i.useEffect, a = i.useLayoutEffect, c = i.useDebugValue, v = !1, h = !1, d = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? l : e;
1142
+ Ce.useSyncExternalStore = i.useSyncExternalStore !== void 0 ? i.useSyncExternalStore : d, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1143
+ }()), Ce;
1165
1144
  }
1166
- var rt;
1167
- function Ci() {
1168
- return rt || (rt = 1, process.env.NODE_ENV === "production" ? de.exports = Di() : de.exports = wi()), de.exports;
1145
+ var ot;
1146
+ function Si() {
1147
+ return ot || (ot = 1, process.env.NODE_ENV === "production" ? ue.exports = mi() : ue.exports = xi()), ue.exports;
1169
1148
  }
1170
- var Ei = Ci();
1171
- class ze {
1149
+ var Ki = /* @__PURE__ */ Si();
1150
+ class Ne {
1172
1151
  get childNodes() {
1173
1152
  throw new Error("childNodes is not supported");
1174
1153
  }
1175
1154
  clone() {
1176
- let e = new ze(this.type, this.key);
1155
+ let e = new Ne(this.type, this.key);
1177
1156
  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;
1178
1157
  }
1179
1158
  constructor(e, t) {
1180
1159
  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;
1181
1160
  }
1182
1161
  }
1183
- class Ue {
1162
+ class ze {
1184
1163
  get size() {
1185
1164
  return this.keyMap.size;
1186
1165
  }
@@ -1260,11 +1239,11 @@ class Ue {
1260
1239
  // TODO: an alternative is to simply walk the collection and add all item nodes that match the filter and any sections/separators we encounter
1261
1240
  // to an array, then walk that new array and fix all the next/Prev keys while adding them to the new collection
1262
1241
  UNSTABLE_filter(e) {
1263
- let t = new Ue(), l = null;
1242
+ let t = new ze(), l = null;
1264
1243
  for (let i of this)
1265
1244
  if (i.type === "section" && i.hasChildNodes) {
1266
1245
  let o = i.clone(), r = null;
1267
- for (let s of this.getChildren(i.key)) if (st(s, e, this, t)) {
1246
+ for (let s of this.getChildren(i.key)) if (rt(s, e, this, t)) {
1268
1247
  let a = s.clone();
1269
1248
  r == null && (o.firstChildKey = a.key), t.firstKey == null && (t.firstKey = o.key), r && r.parentKey === a.parentKey ? (r.nextKey = a.key, a.prevKey = r.key) : a.prevKey = null, a.nextKey = null, t.addNode(a), r = a;
1270
1249
  }
@@ -1274,7 +1253,7 @@ class Ue {
1274
1253
  o.nextKey = null, (l == null ? void 0 : l.type) === "section" && (l.nextKey = o.key, o.prevKey = l.key, l = o, t.addNode(o));
1275
1254
  } else {
1276
1255
  let o = i.clone();
1277
- st(o, e, this, t) && (t.firstKey == null && (t.firstKey = o.key), l != null && l.type !== "section" && l.type !== "separator" && l.parentKey === o.parentKey ? (l.nextKey = o.key, o.prevKey = l.key) : o.prevKey = null, o.nextKey = null, t.addNode(o), l = o);
1256
+ rt(o, e, this, t) && (t.firstKey == null && (t.firstKey = o.key), l != null && l.type !== "section" && l.type !== "separator" && l.parentKey === o.parentKey ? (l.nextKey = o.key, o.prevKey = l.key) : o.prevKey = null, o.nextKey = null, t.addNode(o), l = o);
1278
1257
  }
1279
1258
  if ((l == null ? void 0 : l.type) === "separator" && l.nextKey === null) {
1280
1259
  let i;
@@ -1286,7 +1265,7 @@ class Ue {
1286
1265
  this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1;
1287
1266
  }
1288
1267
  }
1289
- function st(n, e, t, l) {
1268
+ function rt(n, e, t, l) {
1290
1269
  if (n.type === "subdialogtrigger" || n.type === "submenutrigger") {
1291
1270
  let i = [
1292
1271
  ...t.getChildren(n.key)
@@ -1297,7 +1276,7 @@ function st(n, e, t, l) {
1297
1276
  } else return !1;
1298
1277
  } else return n.type === "header" ? !0 : e(n.textValue);
1299
1278
  }
1300
- class Ft {
1279
+ class It {
1301
1280
  *[Symbol.iterator]() {
1302
1281
  let e = this.firstChild;
1303
1282
  for (; e; )
@@ -1384,7 +1363,7 @@ class Ft {
1384
1363
  this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;
1385
1364
  }
1386
1365
  }
1387
- class le extends Ft {
1366
+ class le extends It {
1388
1367
  get index() {
1389
1368
  return this._index;
1390
1369
  }
@@ -1413,11 +1392,11 @@ class le extends Ft {
1413
1392
  o.firstChildKey = (a = (t = this.firstVisibleChild) === null || t === void 0 ? void 0 : t.node.key) !== null && a !== void 0 ? a : null;
1414
1393
  var c;
1415
1394
  if (o.lastChildKey = (c = (l = this.lastVisibleChild) === null || l === void 0 ? void 0 : l.node.key) !== null && c !== void 0 ? c : null, (o.colSpan != null || o.colIndex != null) && i) {
1416
- var p, f;
1417
- let d = ((p = o.colIndex) !== null && p !== void 0 ? p : o.index) + ((f = o.colSpan) !== null && f !== void 0 ? f : 1);
1395
+ var v, h;
1396
+ let d = ((v = o.colIndex) !== null && v !== void 0 ? v : o.index) + ((h = o.colSpan) !== null && h !== void 0 ? h : 1);
1418
1397
  if (d !== i.node.colIndex) {
1419
- let v = i.getMutableNode();
1420
- v.colIndex = d;
1398
+ let y = i.getMutableNode();
1399
+ y.colIndex = d;
1421
1400
  }
1422
1401
  }
1423
1402
  }
@@ -1455,10 +1434,10 @@ class le extends Ft {
1455
1434
  removeAttribute() {
1456
1435
  }
1457
1436
  constructor(e, t) {
1458
- super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.hasSetProps = !1, this.isHidden = !1, this.node = new ze(e, `react-aria-${++t.nodeId}`);
1437
+ super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.hasSetProps = !1, this.isHidden = !1, this.node = new Ne(e, `react-aria-${++t.nodeId}`);
1459
1438
  }
1460
1439
  }
1461
- class Pi extends Ft {
1440
+ class Di extends It {
1462
1441
  get isConnected() {
1463
1442
  return this.isMounted;
1464
1443
  }
@@ -1510,27 +1489,27 @@ class Pi extends Ft {
1510
1489
  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;
1511
1490
  }
1512
1491
  }
1513
- function Mt(n) {
1492
+ function Ft(n) {
1514
1493
  let { children: e, items: t, idScope: l, addIdAndValue: i, dependencies: o = [] } = n, r = T(() => /* @__PURE__ */ new WeakMap(), o);
1515
1494
  return T(() => {
1516
1495
  if (t && typeof e == "function") {
1517
1496
  let c = [];
1518
- for (let p of t) {
1519
- let f = r.get(p);
1520
- if (!f) {
1521
- f = e(p);
1497
+ for (let v of t) {
1498
+ let h = r.get(v);
1499
+ if (!h) {
1500
+ h = e(v);
1522
1501
  var s, a;
1523
- let d = (a = (s = f.props.id) !== null && s !== void 0 ? s : p.key) !== null && a !== void 0 ? a : p.id;
1502
+ let d = (a = (s = h.props.id) !== null && s !== void 0 ? s : v.key) !== null && a !== void 0 ? a : v.id;
1524
1503
  if (d == null) throw new Error("Could not determine key for item");
1525
- l && (d = l + ":" + d), f = ft(f, i ? {
1504
+ l && (d = l + ":" + d), h = ct(h, i ? {
1526
1505
  key: d,
1527
1506
  id: d,
1528
- value: p
1507
+ value: v
1529
1508
  } : {
1530
1509
  key: d
1531
- }), r.set(p, f);
1510
+ }), r.set(v, h);
1532
1511
  }
1533
- c.push(f);
1512
+ c.push(h);
1534
1513
  }
1535
1514
  return c;
1536
1515
  } else if (typeof e != "function") return e;
@@ -1542,33 +1521,33 @@ function Mt(n) {
1542
1521
  i
1543
1522
  ]);
1544
1523
  }
1545
- const Tt = /* @__PURE__ */ O(!1), oe = /* @__PURE__ */ O(null);
1546
- function ki(n) {
1547
- if (L(oe))
1524
+ const Mt = /* @__PURE__ */ O(!1), ie = /* @__PURE__ */ O(null);
1525
+ function wi(n) {
1526
+ if (R(ie))
1548
1527
  return n.content;
1549
- let { collection: t, document: l } = Ti(n.createCollection);
1550
- return /* @__PURE__ */ $.createElement($.Fragment, null, /* @__PURE__ */ $.createElement(kl, null, /* @__PURE__ */ $.createElement(oe.Provider, {
1528
+ let { collection: t, document: l } = ki(n.createCollection);
1529
+ return /* @__PURE__ */ m.createElement(m.Fragment, null, /* @__PURE__ */ m.createElement(Pl, null, /* @__PURE__ */ m.createElement(ie.Provider, {
1551
1530
  value: l
1552
- }, n.content)), /* @__PURE__ */ $.createElement(Ii, {
1531
+ }, n.content)), /* @__PURE__ */ m.createElement(Ci, {
1553
1532
  render: n.children,
1554
1533
  collection: t
1555
1534
  }));
1556
1535
  }
1557
- function Ii({ collection: n, render: e }) {
1536
+ function Ci({ collection: n, render: e }) {
1558
1537
  return e(n);
1559
1538
  }
1560
- function Fi(n, e, t) {
1561
- let l = bt(), i = E(l);
1539
+ function Ei(n, e, t) {
1540
+ let l = yt(), i = P(l);
1562
1541
  i.current = l;
1563
1542
  let o = J(() => i.current ? t() : e(), [
1564
1543
  e,
1565
1544
  t
1566
1545
  ]);
1567
- return Ei.useSyncExternalStore(n, o);
1546
+ return Ki.useSyncExternalStore(n, o);
1568
1547
  }
1569
- const Mi = typeof $.useSyncExternalStore == "function" ? $.useSyncExternalStore : Fi;
1570
- function Ti(n) {
1571
- let [e] = te(() => new Pi((n == null ? void 0 : n()) || new Ue())), t = J((r) => e.subscribe(r), [
1548
+ const Pi = typeof m.useSyncExternalStore == "function" ? m.useSyncExternalStore : Ei;
1549
+ function ki(n) {
1550
+ let [e] = te(() => new Di((n == null ? void 0 : n()) || new ze())), t = J((r) => e.subscribe(r), [
1572
1551
  e
1573
1552
  ]), l = J(() => {
1574
1553
  let r = e.getCollection();
@@ -1577,8 +1556,8 @@ function Ti(n) {
1577
1556
  e
1578
1557
  ]), i = J(() => (e.isSSR = !0, e.getCollection()), [
1579
1558
  e
1580
- ]), o = Mi(t, l, i);
1581
- return he(() => (e.isMounted = !0, () => {
1559
+ ]), o = Pi(t, l, i);
1560
+ return Ee(() => (e.isMounted = !0, () => {
1582
1561
  e.isMounted = !1;
1583
1562
  }), [
1584
1563
  e
@@ -1587,8 +1566,8 @@ function Ti(n) {
1587
1566
  document: e
1588
1567
  };
1589
1568
  }
1590
- const Be = /* @__PURE__ */ O(null);
1591
- function Lt(n, e, t, l, i, o) {
1569
+ const Re = /* @__PURE__ */ O(null);
1570
+ function Tt(n, e, t, l, i, o) {
1592
1571
  let r = J((a) => {
1593
1572
  a == null || a.setProps(e, t, l, o);
1594
1573
  }, [
@@ -1596,81 +1575,81 @@ function Lt(n, e, t, l, i, o) {
1596
1575
  t,
1597
1576
  l,
1598
1577
  o
1599
- ]), s = L(Be);
1578
+ ]), s = R(Re);
1600
1579
  if (s) {
1601
1580
  let a = s.ownerDocument.nodesByProps.get(e);
1602
- return a || (a = s.ownerDocument.createElement(n), a.setProps(e, t, l, o), s.appendChild(a), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(e, a)), i ? /* @__PURE__ */ $.createElement(Be.Provider, {
1581
+ return a || (a = s.ownerDocument.createElement(n), a.setProps(e, t, l, o), s.appendChild(a), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(e, a)), i ? /* @__PURE__ */ m.createElement(Re.Provider, {
1603
1582
  value: a
1604
1583
  }, i) : null;
1605
1584
  }
1606
- return /* @__PURE__ */ $.createElement(n, {
1585
+ return /* @__PURE__ */ m.createElement(n, {
1607
1586
  ref: r
1608
1587
  }, i);
1609
1588
  }
1610
- function He(n, e) {
1611
- let t = ({ node: i }) => e(i.props, i.props.ref, i), l = re((i, o) => {
1612
- let r = L(_e);
1613
- if (!L(Tt)) {
1589
+ function Lt(n, e) {
1590
+ let t = ({ node: i }) => e(i.props, i.props.ref, i), l = ne((i, o) => {
1591
+ let r = R(We);
1592
+ if (!R(Mt)) {
1614
1593
  if (e.length >= 3) throw new Error(e.name + " cannot be rendered outside a collection.");
1615
1594
  return e(i, o);
1616
1595
  }
1617
- return Lt(n, i, o, "children" in i ? i.children : null, null, (a) => (
1596
+ return Tt(n, i, o, "children" in i ? i.children : null, null, (a) => (
1618
1597
  // Forward FocusableContext to real DOM tree so tooltips work.
1619
- /* @__PURE__ */ $.createElement(_e.Provider, {
1598
+ /* @__PURE__ */ m.createElement(We.Provider, {
1620
1599
  value: r
1621
- }, /* @__PURE__ */ $.createElement(t, {
1600
+ }, /* @__PURE__ */ m.createElement(t, {
1622
1601
  node: a
1623
1602
  }))
1624
1603
  ));
1625
1604
  });
1626
1605
  return l.displayName = e.name, l;
1627
1606
  }
1628
- function Li(n, e, t = At) {
1629
- let l = ({ node: o }) => e(o.props, o.props.ref, o), i = re((o, r) => {
1607
+ function Ii(n, e, t = At) {
1608
+ let l = ({ node: o }) => e(o.props, o.props.ref, o), i = ne((o, r) => {
1630
1609
  let s = t(o);
1631
1610
  var a;
1632
- return (a = Lt(n, o, r, null, s, (c) => /* @__PURE__ */ $.createElement(l, {
1611
+ return (a = Tt(n, o, r, null, s, (c) => /* @__PURE__ */ m.createElement(l, {
1633
1612
  node: c
1634
- }))) !== null && a !== void 0 ? a : /* @__PURE__ */ $.createElement($.Fragment, null);
1613
+ }))) !== null && a !== void 0 ? a : /* @__PURE__ */ m.createElement(m.Fragment, null);
1635
1614
  });
1636
1615
  return i.displayName = e.name, i;
1637
1616
  }
1638
1617
  function At(n) {
1639
- return Mt({
1618
+ return Ft({
1640
1619
  ...n,
1641
1620
  addIdAndValue: !0
1642
1621
  });
1643
1622
  }
1644
- const at = /* @__PURE__ */ O(null);
1645
- function Ai(n) {
1646
- let e = L(at), t = ((e == null ? void 0 : e.dependencies) || []).concat(n.dependencies), l = n.idScope || (e == null ? void 0 : e.idScope), i = At({
1623
+ const st = /* @__PURE__ */ O(null);
1624
+ function Fi(n) {
1625
+ let e = R(st), t = ((e == null ? void 0 : e.dependencies) || []).concat(n.dependencies), l = n.idScope || (e == null ? void 0 : e.idScope), i = At({
1647
1626
  ...n,
1648
1627
  idScope: l,
1649
1628
  dependencies: t
1650
1629
  });
1651
- return L(oe) && (i = /* @__PURE__ */ $.createElement(Ri, null, i)), e = T(() => ({
1630
+ return R(ie) && (i = /* @__PURE__ */ m.createElement(Mi, null, i)), e = T(() => ({
1652
1631
  dependencies: t,
1653
1632
  idScope: l
1654
1633
  }), [
1655
1634
  l,
1656
1635
  ...t
1657
- ]), /* @__PURE__ */ $.createElement(at.Provider, {
1636
+ ]), /* @__PURE__ */ m.createElement(st.Provider, {
1658
1637
  value: e
1659
1638
  }, i);
1660
1639
  }
1661
- function Ri({ children: n }) {
1662
- let e = L(oe), t = T(() => /* @__PURE__ */ $.createElement(oe.Provider, {
1640
+ function Mi({ children: n }) {
1641
+ let e = R(ie), t = T(() => /* @__PURE__ */ m.createElement(ie.Provider, {
1663
1642
  value: null
1664
- }, /* @__PURE__ */ $.createElement(Tt.Provider, {
1643
+ }, /* @__PURE__ */ m.createElement(Mt.Provider, {
1665
1644
  value: !0
1666
1645
  }, n)), [
1667
1646
  n
1668
1647
  ]);
1669
- return bt() ? /* @__PURE__ */ $.createElement(Be.Provider, {
1648
+ return yt() ? /* @__PURE__ */ m.createElement(Re.Provider, {
1670
1649
  value: e
1671
- }, t) : /* @__PURE__ */ Ml(t, e);
1650
+ }, t) : /* @__PURE__ */ Fl(t, e);
1672
1651
  }
1673
- class ut {
1652
+ class at {
1674
1653
  *[Symbol.iterator]() {
1675
1654
  yield* this.iterable;
1676
1655
  }
@@ -1728,31 +1707,31 @@ class j extends Set {
1728
1707
  super(e), e instanceof j ? (this.anchorKey = t ?? e.anchorKey, this.currentKey = l ?? e.currentKey) : (this.anchorKey = t ?? null, this.currentKey = l ?? null);
1729
1708
  }
1730
1709
  }
1731
- function Bi(n, e) {
1710
+ function Ti(n, e) {
1732
1711
  if (n.size !== e.size) return !1;
1733
1712
  for (let t of n)
1734
1713
  if (!e.has(t)) return !1;
1735
1714
  return !0;
1736
1715
  }
1737
- function Vi(n) {
1738
- let { selectionMode: e = "none", disallowEmptySelection: t = !1, allowDuplicateSelectionEvents: l, selectionBehavior: i = "toggle", disabledBehavior: o = "all" } = n, r = E(!1), [, s] = te(!1), a = E(null), c = E(null), [, p] = te(null), f = T(() => dt(n.selectedKeys), [
1716
+ function Li(n) {
1717
+ let { selectionMode: e = "none", disallowEmptySelection: t = !1, allowDuplicateSelectionEvents: l, selectionBehavior: i = "toggle", disabledBehavior: o = "all" } = n, r = P(!1), [, s] = te(!1), a = P(null), c = P(null), [, v] = te(null), h = T(() => ut(n.selectedKeys), [
1739
1718
  n.selectedKeys
1740
- ]), d = T(() => dt(n.defaultSelectedKeys, new j()), [
1719
+ ]), d = T(() => ut(n.defaultSelectedKeys, new j()), [
1741
1720
  n.defaultSelectedKeys
1742
- ]), [v, b] = mt(f, d, n.onSelectionChange), x = T(() => n.disabledKeys ? new Set(n.disabledKeys) : /* @__PURE__ */ new Set(), [
1721
+ ]), [y, b] = $t(h, d, n.onSelectionChange), x = T(() => n.disabledKeys ? new Set(n.disabledKeys) : /* @__PURE__ */ new Set(), [
1743
1722
  n.disabledKeys
1744
- ]), [g, m] = te(i);
1745
- i === "replace" && g === "toggle" && typeof v == "object" && v.size === 0 && m("replace");
1746
- let S = E(i);
1723
+ ]), [g, $] = te(i);
1724
+ i === "replace" && g === "toggle" && typeof y == "object" && y.size === 0 && $("replace");
1725
+ let S = P(i);
1747
1726
  return Y(() => {
1748
- i !== S.current && (m(i), S.current = i);
1727
+ i !== S.current && ($(i), S.current = i);
1749
1728
  }, [
1750
1729
  i
1751
1730
  ]), {
1752
1731
  selectionMode: e,
1753
1732
  disallowEmptySelection: t,
1754
1733
  selectionBehavior: g,
1755
- setSelectionBehavior: m,
1734
+ setSelectionBehavior: $,
1756
1735
  get isFocused() {
1757
1736
  return r.current;
1758
1737
  },
@@ -1766,20 +1745,20 @@ function Vi(n) {
1766
1745
  return c.current;
1767
1746
  },
1768
1747
  setFocusedKey(w, k = "first") {
1769
- a.current = w, c.current = k, p(w);
1748
+ a.current = w, c.current = k, v(w);
1770
1749
  },
1771
- selectedKeys: v,
1750
+ selectedKeys: y,
1772
1751
  setSelectedKeys(w) {
1773
- (l || !Bi(w, v)) && b(w);
1752
+ (l || !Ti(w, y)) && b(w);
1774
1753
  },
1775
1754
  disabledKeys: x,
1776
1755
  disabledBehavior: o
1777
1756
  };
1778
1757
  }
1779
- function dt(n, e) {
1758
+ function ut(n, e) {
1780
1759
  return n ? n === "all" ? "all" : new j(n) : e;
1781
1760
  }
1782
- class qe {
1761
+ class Ue {
1783
1762
  /**
1784
1763
  * The type of selection that is allowed in the collection.
1785
1764
  */
@@ -1873,7 +1852,7 @@ class qe {
1873
1852
  let e = null;
1874
1853
  for (let l of this.state.selectedKeys) {
1875
1854
  let i = this.collection.getItem(l);
1876
- (!e || i && Ce(this.collection, i, e) < 0) && (e = i);
1855
+ (!e || i && De(this.collection, i, e) < 0) && (e = i);
1877
1856
  }
1878
1857
  var t;
1879
1858
  return (t = e == null ? void 0 : e.key) !== null && t !== void 0 ? t : null;
@@ -1882,7 +1861,7 @@ class qe {
1882
1861
  let e = null;
1883
1862
  for (let l of this.state.selectedKeys) {
1884
1863
  let i = this.collection.getItem(l);
1885
- (!e || i && Ce(this.collection, i, e) > 0) && (e = i);
1864
+ (!e || i && De(this.collection, i, e) > 0) && (e = i);
1886
1865
  }
1887
1866
  var t;
1888
1867
  return (t = e == null ? void 0 : e.key) !== null && t !== void 0 ? t : null;
@@ -1921,7 +1900,7 @@ class qe {
1921
1900
  }
1922
1901
  getKeyRange(e, t) {
1923
1902
  let l = this.collection.getItem(e), i = this.collection.getItem(t);
1924
- return l && i ? Ce(this.collection, l, i) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
1903
+ return l && i ? De(this.collection, l, i) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
1925
1904
  }
1926
1905
  getKeyRangeInternal(e, t) {
1927
1906
  var l;
@@ -1987,7 +1966,7 @@ class qe {
1987
1966
  let r = this.collection.getItem(l);
1988
1967
  (r == null ? void 0 : r.type) === "item" && e.push(l);
1989
1968
  var o;
1990
- r != null && r.hasChildNodes && (this.allowsCellSelection || r.type !== "item") && t((o = (i = $i(It(r, this.collection))) === null || i === void 0 ? void 0 : i.key) !== null && o !== void 0 ? o : null);
1969
+ r != null && r.hasChildNodes && (this.allowsCellSelection || r.type !== "item") && t((o = (i = vi(kt(r, this.collection))) === null || i === void 0 ? void 0 : i.key) !== null && o !== void 0 ? o : null);
1991
1970
  }
1992
1971
  l = this.collection.getKeyAfter(l);
1993
1972
  }
@@ -2047,7 +2026,7 @@ class qe {
2047
2026
  return (t = this.collection.getItem(e)) === null || t === void 0 ? void 0 : t.props;
2048
2027
  }
2049
2028
  withCollection(e) {
2050
- return new qe(e, this.state, {
2029
+ return new Ue(e, this.state, {
2051
2030
  allowsCellSelection: this.allowsCellSelection,
2052
2031
  layoutDelegate: this.layoutDelegate || void 0
2053
2032
  });
@@ -2058,16 +2037,16 @@ class qe {
2058
2037
  this.allowsCellSelection = (i = l == null ? void 0 : l.allowsCellSelection) !== null && i !== void 0 ? i : !1, this._isSelectAll = null, this.layoutDelegate = (l == null ? void 0 : l.layoutDelegate) || null;
2059
2038
  }
2060
2039
  }
2061
- function Oi(n) {
2062
- let { filter: e, layoutDelegate: t } = n, l = Vi(n), i = T(() => n.disabledKeys ? new Set(n.disabledKeys) : /* @__PURE__ */ new Set(), [
2040
+ function Ai(n) {
2041
+ let { filter: e, layoutDelegate: t } = n, l = Li(n), i = T(() => n.disabledKeys ? new Set(n.disabledKeys) : /* @__PURE__ */ new Set(), [
2063
2042
  n.disabledKeys
2064
- ]), o = J((c) => e ? new ut(e(c)) : new ut(c), [
2043
+ ]), o = J((c) => e ? new at(e(c)) : new at(c), [
2065
2044
  e
2066
2045
  ]), r = T(() => ({
2067
2046
  suppressTextValueWarning: n.suppressTextValueWarning
2068
2047
  }), [
2069
2048
  n.suppressTextValueWarning
2070
- ]), s = gi(n, o, r), a = T(() => new qe(s, l, {
2049
+ ]), s = pi(n, o, r), a = T(() => new Ue(s, l, {
2071
2050
  layoutDelegate: t
2072
2051
  }), [
2073
2052
  s,
@@ -2080,7 +2059,7 @@ function Oi(n) {
2080
2059
  selectionManager: a
2081
2060
  };
2082
2061
  }
2083
- function Ni(n, e) {
2062
+ function Ri(n, e) {
2084
2063
  let t = T(() => e ? n.collection.UNSTABLE_filter(e) : n.collection, [
2085
2064
  n.collection,
2086
2065
  e
@@ -2092,24 +2071,24 @@ function Ni(n, e) {
2092
2071
  };
2093
2072
  }
2094
2073
  function Rt(n, e) {
2095
- const t = E(null);
2074
+ const t = P(null);
2096
2075
  Y(() => {
2097
2076
  if (e.focusedKey != null && !n.getItem(e.focusedKey) && t.current) {
2098
- const p = t.current.getItem(e.focusedKey), f = [
2077
+ const v = t.current.getItem(e.focusedKey), h = [
2099
2078
  ...t.current.getKeys()
2100
- ].map((m) => {
2101
- const S = t.current.getItem(m);
2079
+ ].map(($) => {
2080
+ const S = t.current.getItem($);
2102
2081
  return (S == null ? void 0 : S.type) === "item" ? S : null;
2103
- }).filter((m) => m !== null), d = [
2082
+ }).filter(($) => $ !== null), d = [
2104
2083
  ...n.getKeys()
2105
- ].map((m) => {
2106
- const S = n.getItem(m);
2084
+ ].map(($) => {
2085
+ const S = n.getItem($);
2107
2086
  return (S == null ? void 0 : S.type) === "item" ? S : null;
2108
- }).filter((m) => m !== null);
2087
+ }).filter(($) => $ !== null);
2109
2088
  var l, i;
2110
- const v = ((l = f == null ? void 0 : f.length) !== null && l !== void 0 ? l : 0) - ((i = d == null ? void 0 : d.length) !== null && i !== void 0 ? i : 0);
2089
+ const y = ((l = h == null ? void 0 : h.length) !== null && l !== void 0 ? l : 0) - ((i = d == null ? void 0 : d.length) !== null && i !== void 0 ? i : 0);
2111
2090
  var o, r, s;
2112
- let b = Math.min(v > 1 ? Math.max(((o = p == null ? void 0 : p.index) !== null && o !== void 0 ? o : 0) - v + 1, 0) : (r = p == null ? void 0 : p.index) !== null && r !== void 0 ? r : 0, ((s = d == null ? void 0 : d.length) !== null && s !== void 0 ? s : 0) - 1), x = null, g = !1;
2091
+ let b = Math.min(y > 1 ? Math.max(((o = v == null ? void 0 : v.index) !== null && o !== void 0 ? o : 0) - y + 1, 0) : (r = v == null ? void 0 : v.index) !== null && r !== void 0 ? r : 0, ((s = d == null ? void 0 : d.length) !== null && s !== void 0 ? s : 0) - 1), x = null, g = !1;
2113
2092
  for (; b >= 0; ) {
2114
2093
  if (!e.isDisabled(d[b].key)) {
2115
2094
  x = d[b];
@@ -2119,7 +2098,7 @@ function Rt(n, e) {
2119
2098
  else {
2120
2099
  g = !0;
2121
2100
  var a, c;
2122
- b > ((a = p == null ? void 0 : p.index) !== null && a !== void 0 ? a : 0) && (b = (c = p == null ? void 0 : p.index) !== null && c !== void 0 ? c : 0), b--;
2101
+ b > ((a = v == null ? void 0 : v.index) !== null && a !== void 0 ? a : 0) && (b = (c = v == null ? void 0 : v.index) !== null && c !== void 0 ? c : 0), b--;
2123
2102
  }
2124
2103
  }
2125
2104
  e.setFocusedKey(x ? x.key : null);
@@ -2130,20 +2109,20 @@ function Rt(n, e) {
2130
2109
  e
2131
2110
  ]);
2132
2111
  }
2133
- const zi = /* @__PURE__ */ O(null), Bt = /* @__PURE__ */ O(null), Rn = /* @__PURE__ */ Il(function(e, t) {
2134
- [e, t] = fe(e, t, Bt);
2135
- let { validationBehavior: l } = ht(Ll) || {};
2112
+ const Bi = /* @__PURE__ */ O(null), Bt = /* @__PURE__ */ O(null), Ln = /* @__PURE__ */ kl(function(e, t) {
2113
+ [e, t] = ce(e, t, Bt);
2114
+ let { validationBehavior: l } = ft(Tl) || {};
2136
2115
  var i, o;
2137
- let r = (o = (i = e.validationBehavior) !== null && i !== void 0 ? i : l) !== null && o !== void 0 ? o : "native", s = E(null), [a, c] = fe({}, s, ke), [p, f] = pt(!e["aria-label"] && !e["aria-labelledby"]), [d, v] = te("input"), { labelProps: b, inputProps: x, descriptionProps: g, errorMessageProps: m, ...S } = Vl({
2138
- ...vt(e),
2116
+ let r = (o = (i = e.validationBehavior) !== null && i !== void 0 ? i : l) !== null && o !== void 0 ? o : "native", s = P(null), [a, c] = ce({}, s, Pe), [v, h] = ht(!e["aria-label"] && !e["aria-labelledby"]), [d, y] = te("input"), { labelProps: b, inputProps: x, descriptionProps: g, errorMessageProps: $, ...S } = Bl({
2117
+ ...pt(e),
2139
2118
  inputElementType: d,
2140
- label: f,
2119
+ label: h,
2141
2120
  validationBehavior: r
2142
2121
  }, c), w = J((C) => {
2143
- c.current = C, C && v(C instanceof HTMLTextAreaElement ? "textarea" : "input");
2122
+ c.current = C, C && y(C instanceof HTMLTextAreaElement ? "textarea" : "input");
2144
2123
  }, [
2145
2124
  c
2146
- ]), k = ie({
2125
+ ]), k = oe({
2147
2126
  ...e,
2148
2127
  values: {
2149
2128
  isDisabled: e.isDisabled || !1,
@@ -2152,8 +2131,8 @@ const zi = /* @__PURE__ */ O(null), Bt = /* @__PURE__ */ O(null), Rn = /* @__PUR
2152
2131
  isRequired: e.isRequired || !1
2153
2132
  },
2154
2133
  defaultClassName: "react-aria-TextField"
2155
- }), F = ne(e);
2156
- return delete F.id, /* @__PURE__ */ $.createElement("div", {
2134
+ }), F = se(e);
2135
+ return delete F.id, /* @__PURE__ */ m.createElement("div", {
2157
2136
  ...F,
2158
2137
  ...k,
2159
2138
  ref: t,
@@ -2162,40 +2141,40 @@ const zi = /* @__PURE__ */ O(null), Bt = /* @__PURE__ */ O(null), Rn = /* @__PUR
2162
2141
  "data-invalid": S.isInvalid || void 0,
2163
2142
  "data-readonly": e.isReadOnly || void 0,
2164
2143
  "data-required": e.isRequired || void 0
2165
- }, /* @__PURE__ */ $.createElement(pe, {
2144
+ }, /* @__PURE__ */ m.createElement(fe, {
2166
2145
  values: [
2167
2146
  [
2168
- Al,
2147
+ Ll,
2169
2148
  {
2170
2149
  ...b,
2171
- ref: p
2150
+ ref: v
2172
2151
  }
2173
2152
  ],
2174
2153
  [
2175
- ke,
2154
+ Pe,
2176
2155
  {
2177
- ...q(x, a),
2156
+ ...W(x, a),
2178
2157
  ref: w
2179
2158
  }
2180
2159
  ],
2181
2160
  [
2182
- Bl,
2161
+ Rl,
2183
2162
  {
2184
2163
  ...x,
2185
2164
  ref: w
2186
2165
  }
2187
2166
  ],
2188
2167
  [
2189
- gt,
2168
+ bt,
2190
2169
  {
2191
2170
  slots: {
2192
2171
  description: g,
2193
- errorMessage: m
2172
+ errorMessage: $
2194
2173
  }
2195
2174
  }
2196
2175
  ],
2197
2176
  [
2198
- Rl,
2177
+ Al,
2199
2178
  S
2200
2179
  ]
2201
2180
  ]
@@ -2374,66 +2353,66 @@ gl = {
2374
2353
  "zh-CN": yl,
2375
2354
  "zh-TW": bl
2376
2355
  };
2377
- function Ui(n) {
2356
+ function Vi(n) {
2378
2357
  return n && n.__esModule ? n.default : n;
2379
2358
  }
2380
- function Hi(n, e) {
2381
- let { inputRef: t, collectionRef: l, filter: i, disableAutoFocusFirst: o = !1 } = n, r = se(), s = E(void 0), a = E(!1), c = E(null), p = E(null), f = Me() !== "virtual";
2359
+ function Oi(n, e) {
2360
+ let { inputRef: t, collectionRef: l, filter: i, disableAutoFocusFirst: o = !1 } = n, r = re(), s = P(void 0), a = P(!1), c = P(null), v = P(null), h = Fe() !== "virtual";
2382
2361
  Y(() => () => clearTimeout(s.current), []);
2383
- let d = ee((y) => {
2384
- !y.isTrusted && f && t.current && Fe(Ve(t.current)) !== t.current && t.current.focus();
2385
- let K = y.target;
2386
- y.isTrusted || !K || c.current === K.id || (clearTimeout(s.current), K !== l.current ? a.current ? (c.current = K.id, s.current = setTimeout(() => {
2362
+ let d = ee((p) => {
2363
+ !p.isTrusted && h && t.current && Ie(Be(t.current)) !== t.current && t.current.focus();
2364
+ let K = p.target;
2365
+ p.isTrusted || !K || c.current === K.id || (clearTimeout(s.current), K !== l.current ? a.current ? (c.current = K.id, s.current = setTimeout(() => {
2387
2366
  e.setFocusedNodeId(K.id);
2388
2367
  }, 500)) : (c.current = K.id, e.setFocusedNodeId(K.id)) : (c.current = null, e.setFocusedNodeId(null)), a.current = !1);
2389
- }), v = J((y) => {
2368
+ }), y = J((p) => {
2390
2369
  var K;
2391
- if (y != null) {
2370
+ if (p != null) {
2392
2371
  var I;
2393
- (I = p.current) === null || I === void 0 || I.removeEventListener("focusin", d), p.current = y, y.addEventListener("focusin", d);
2394
- } else (K = p.current) === null || K === void 0 || K.removeEventListener("focusin", d);
2372
+ (I = v.current) === null || I === void 0 || I.removeEventListener("focusin", d), v.current = p, p.addEventListener("focusin", d);
2373
+ } else (K = v.current) === null || K === void 0 || K.removeEventListener("focusin", d);
2395
2374
  }, [
2396
2375
  d
2397
- ]), b = ve(T(() => yt(l, v), [
2376
+ ]), b = he(T(() => vt(l, y), [
2398
2377
  l,
2399
- v
2378
+ y
2400
2379
  ])), x = ee(() => {
2401
- var y;
2402
- a.current = !0, (y = l.current) === null || y === void 0 || y.dispatchEvent(new CustomEvent(Le, {
2380
+ var p;
2381
+ a.current = !0, (p = l.current) === null || p === void 0 || p.dispatchEvent(new CustomEvent(Te, {
2403
2382
  cancelable: !0,
2404
2383
  bubbles: !0,
2405
2384
  detail: {
2406
2385
  focusStrategy: "first"
2407
2386
  }
2408
2387
  }));
2409
- }), g = ee((y) => {
2388
+ }), g = ee((p) => {
2410
2389
  var K;
2411
- Oe(Fe()), c.current = null, e.setFocusedNodeId(null);
2412
- let I = new CustomEvent(Ct, {
2390
+ Ve(Ie()), c.current = null, e.setFocusedNodeId(null);
2391
+ let I = new CustomEvent(wt, {
2413
2392
  cancelable: !0,
2414
2393
  bubbles: !0,
2415
2394
  detail: {
2416
- clearFocusKey: y
2395
+ clearFocusKey: p
2417
2396
  }
2418
2397
  });
2419
2398
  clearTimeout(s.current), a.current = !1, (K = l.current) === null || K === void 0 || K.dispatchEvent(I);
2420
- }), m = (y) => {
2421
- e.inputValue !== y && e.inputValue.length <= y.length && !o ? x() : g(!0), e.setInputValue(y);
2422
- }, S = E(null), w = (y) => {
2399
+ }), $ = (p) => {
2400
+ e.inputValue !== p && e.inputValue.length <= p.length && !o ? x() : g(!0), e.setInputValue(p);
2401
+ }, S = P(null), w = (p) => {
2423
2402
  var K;
2424
- if (S.current = y.target, y.nativeEvent.isComposing) return;
2403
+ if (S.current = p.target, p.nativeEvent.isComposing) return;
2425
2404
  let I = c.current;
2426
- switch (y.key) {
2405
+ switch (p.key) {
2427
2406
  case "a":
2428
- if (Q(y)) return;
2407
+ if (Q(p)) return;
2429
2408
  break;
2430
2409
  case "Escape":
2431
- if (y.isDefaultPrevented()) return;
2410
+ if (p.isDefaultPrevented()) return;
2432
2411
  break;
2433
2412
  case " ":
2434
2413
  return;
2435
2414
  case "Tab":
2436
- "continuePropagation" in y && y.continuePropagation();
2415
+ "continuePropagation" in p && p.continuePropagation();
2437
2416
  return;
2438
2417
  case "Home":
2439
2418
  case "End":
@@ -2442,9 +2421,9 @@ function Hi(n, e) {
2442
2421
  case "ArrowUp":
2443
2422
  case "ArrowDown": {
2444
2423
  var V;
2445
- if ((y.key === "Home" || y.key === "End") && I == null && y.shiftKey) return;
2446
- y.preventDefault();
2447
- let H = new CustomEvent(Le, {
2424
+ if ((p.key === "Home" || p.key === "End") && I == null && p.shiftKey) return;
2425
+ p.preventDefault();
2426
+ let H = new CustomEvent(Te, {
2448
2427
  cancelable: !0,
2449
2428
  bubbles: !0
2450
2429
  });
@@ -2452,28 +2431,28 @@ function Hi(n, e) {
2452
2431
  break;
2453
2432
  }
2454
2433
  }
2455
- y.isPropagationStopped() || y.stopPropagation();
2434
+ p.isPropagationStopped() || p.stopPropagation();
2456
2435
  let U = !0;
2457
- if (I == null) U = ((K = l.current) === null || K === void 0 ? void 0 : K.dispatchEvent(new KeyboardEvent(y.nativeEvent.type, y.nativeEvent))) || !1;
2436
+ if (I == null) U = ((K = l.current) === null || K === void 0 ? void 0 : K.dispatchEvent(new KeyboardEvent(p.nativeEvent.type, p.nativeEvent))) || !1;
2458
2437
  else {
2459
2438
  let H = document.getElementById(I);
2460
- U = (H == null ? void 0 : H.dispatchEvent(new KeyboardEvent(y.nativeEvent.type, y.nativeEvent))) || !1;
2439
+ U = (H == null ? void 0 : H.dispatchEvent(new KeyboardEvent(p.nativeEvent.type, p.nativeEvent))) || !1;
2461
2440
  }
2462
- if (U) switch (y.key) {
2441
+ if (U) switch (p.key) {
2463
2442
  case "ArrowLeft":
2464
2443
  case "ArrowRight":
2465
2444
  g();
2466
2445
  break;
2467
2446
  }
2468
- }, k = ee((y) => {
2469
- if (y.target === S.current) {
2447
+ }, k = ee((p) => {
2448
+ if (p.target === S.current) {
2470
2449
  var K;
2471
- y.stopImmediatePropagation();
2450
+ p.stopImmediatePropagation();
2472
2451
  let I = c.current;
2473
- if (I == null) (K = l.current) === null || K === void 0 || K.dispatchEvent(new KeyboardEvent(y.type, y));
2452
+ if (I == null) (K = l.current) === null || K === void 0 || K.dispatchEvent(new KeyboardEvent(p.type, p));
2474
2453
  else {
2475
2454
  let V = document.getElementById(I);
2476
- V == null || V.dispatchEvent(new KeyboardEvent(y.type, y));
2455
+ V == null || V.dispatchEvent(new KeyboardEvent(p.type, p));
2477
2456
  }
2478
2457
  }
2479
2458
  });
@@ -2482,23 +2461,23 @@ function Hi(n, e) {
2482
2461
  }), [
2483
2462
  k
2484
2463
  ]);
2485
- let F = Hl(Ui(gl), "@react-aria/autocomplete"), C = Nl({
2464
+ let F = Ul(Vi(gl), "@react-aria/autocomplete"), C = Ol({
2486
2465
  id: r,
2487
2466
  "aria-label": F.format("collectionLabel")
2488
- }), R = J((y) => i ? i(y, e.inputValue) : !0, [
2467
+ }), A = J((p) => i ? i(p, e.inputValue) : !0, [
2489
2468
  e.inputValue,
2490
2469
  i
2491
- ]), M = (y) => {
2492
- if (!y.isTrusted) return;
2470
+ ]), M = (p) => {
2471
+ if (!p.isTrusted) return;
2493
2472
  let K = c.current ? document.getElementById(c.current) : null;
2494
- K && Ae(K, y.relatedTarget);
2495
- }, G = (y) => {
2496
- if (!y.isTrusted) return;
2473
+ K && Le(K, p.relatedTarget);
2474
+ }, G = (p) => {
2475
+ if (!p.isTrusted) return;
2497
2476
  let K = c.current ? document.getElementById(c.current) : null;
2498
2477
  if (K) {
2499
- let I = y.target;
2478
+ let I = p.target;
2500
2479
  queueMicrotask(() => {
2501
- Ae(I, K), Et(K, I);
2480
+ Le(I, K), Ct(K, I);
2502
2481
  });
2503
2482
  }
2504
2483
  };
@@ -2506,7 +2485,7 @@ function Hi(n, e) {
2506
2485
  return {
2507
2486
  textFieldProps: {
2508
2487
  value: e.inputValue,
2509
- onChange: m,
2488
+ onChange: $,
2510
2489
  onKeyDown: w,
2511
2490
  autoComplete: "off",
2512
2491
  "aria-haspopup": "listbox",
@@ -2522,18 +2501,18 @@ function Hi(n, e) {
2522
2501
  onBlur: M,
2523
2502
  onFocus: G
2524
2503
  },
2525
- collectionProps: q(C, {
2526
- shouldUseVirtualFocus: f,
2504
+ collectionProps: W(C, {
2505
+ shouldUseVirtualFocus: h,
2527
2506
  disallowTypeAhead: !0
2528
2507
  }),
2529
2508
  collectionRef: b,
2530
- filter: i != null ? R : void 0
2509
+ filter: i != null ? A : void 0
2531
2510
  };
2532
2511
  }
2533
- function qi(n) {
2512
+ function Ni(n) {
2534
2513
  let { onInputChange: e, inputValue: t, defaultInputValue: l = "" } = n, i = (c) => {
2535
2514
  e && e(c);
2536
- }, [o, r] = te(null), [s, a] = mt(t, l, i);
2515
+ }, [o, r] = te(null), [s, a] = $t(t, l, i);
2537
2516
  return {
2538
2517
  inputValue: s,
2539
2518
  setInputValue: a,
@@ -2541,25 +2520,25 @@ function qi(n) {
2541
2520
  setFocusedNodeId: r
2542
2521
  };
2543
2522
  }
2544
- const Wi = /* @__PURE__ */ O(null), _i = /* @__PURE__ */ O(null), $l = /* @__PURE__ */ O(null);
2545
- function Bn(n) {
2546
- let e = ht(Wi, n.slot);
2547
- n = q(e, n);
2548
- let { filter: t, disableAutoFocusFirst: l } = n, i = qi(n), o = E(null), r = E(null), { textFieldProps: s, collectionProps: a, collectionRef: c, filter: p } = Hi({
2549
- ...vt(n),
2523
+ const zi = /* @__PURE__ */ O(null), Ui = /* @__PURE__ */ O(null), $l = /* @__PURE__ */ O(null);
2524
+ function An(n) {
2525
+ let e = ft(zi, n.slot);
2526
+ n = W(e, n);
2527
+ let { filter: t, disableAutoFocusFirst: l } = n, i = Ni(n), o = P(null), r = P(null), { textFieldProps: s, collectionProps: a, collectionRef: c, filter: v } = Oi({
2528
+ ...pt(n),
2550
2529
  filter: t,
2551
2530
  disableAutoFocusFirst: l,
2552
2531
  inputRef: o,
2553
2532
  collectionRef: r
2554
2533
  }, i);
2555
- return /* @__PURE__ */ $.createElement(pe, {
2534
+ return /* @__PURE__ */ m.createElement(fe, {
2556
2535
  values: [
2557
2536
  [
2558
- _i,
2537
+ Ui,
2559
2538
  i
2560
2539
  ],
2561
2540
  [
2562
- zi,
2541
+ Bi,
2563
2542
  s
2564
2543
  ],
2565
2544
  [
@@ -2567,7 +2546,7 @@ function Bn(n) {
2567
2546
  s
2568
2547
  ],
2569
2548
  [
2570
- ke,
2549
+ Pe,
2571
2550
  {
2572
2551
  ref: o
2573
2552
  }
@@ -2575,7 +2554,7 @@ function Bn(n) {
2575
2554
  [
2576
2555
  $l,
2577
2556
  {
2578
- filter: p,
2557
+ filter: v,
2579
2558
  collectionProps: a,
2580
2559
  collectionRef: c
2581
2560
  }
@@ -2583,31 +2562,31 @@ function Bn(n) {
2583
2562
  ]
2584
2563
  }, n.children);
2585
2564
  }
2586
- const Gi = /* @__PURE__ */ O(null), ji = {
2565
+ const Hi = /* @__PURE__ */ O(null), qi = {
2587
2566
  CollectionRoot({ collection: n, renderDropIndicator: e }) {
2588
- return ct(n, null, e);
2567
+ return dt(n, null, e);
2589
2568
  },
2590
2569
  CollectionBranch({ collection: n, parent: e, renderDropIndicator: t }) {
2591
- return ct(n, e, t);
2570
+ return dt(n, e, t);
2592
2571
  }
2593
2572
  };
2594
- function ct(n, e, t) {
2595
- return Mt({
2573
+ function dt(n, e, t) {
2574
+ return Ft({
2596
2575
  items: e ? n.getChildren(e.key) : n,
2597
2576
  dependencies: [
2598
2577
  t
2599
2578
  ],
2600
2579
  children(l) {
2601
2580
  let i = l.render(l);
2602
- return !t || l.type !== "item" ? i : /* @__PURE__ */ $.createElement($.Fragment, null, t({
2581
+ return !t || l.type !== "item" ? i : /* @__PURE__ */ m.createElement(m.Fragment, null, t({
2603
2582
  type: "item",
2604
2583
  key: l.key,
2605
2584
  dropPosition: "before"
2606
- }), i, Yi(n, l, t));
2585
+ }), i, Wi(n, l, t));
2607
2586
  }
2608
2587
  });
2609
2588
  }
2610
- function Yi(n, e, t) {
2589
+ function Wi(n, e, t) {
2611
2590
  let l = e.key, i = n.getKeyAfter(l), o = i != null ? n.getItem(i) : null;
2612
2591
  for (; o != null && o.type !== "item"; )
2613
2592
  i = n.getKeyAfter(o.key), o = i != null ? n.getItem(i) : null;
@@ -2622,29 +2601,29 @@ function Yi(n, e, t) {
2622
2601
  key: a.key,
2623
2602
  dropPosition: "after"
2624
2603
  });
2625
- /* @__PURE__ */ El(c) && s.push(/* @__PURE__ */ ft(c, {
2604
+ /* @__PURE__ */ Cl(c) && s.push(/* @__PURE__ */ ct(c, {
2626
2605
  key: `${a.key}-after`
2627
2606
  })), a = a.parentKey != null ? n.getItem(a.parentKey) : null;
2628
2607
  }
2629
2608
  }
2630
2609
  return s;
2631
2610
  }
2632
- const ye = /* @__PURE__ */ O(ji);
2633
- function Vn(n) {
2611
+ const He = /* @__PURE__ */ O(qi);
2612
+ function Rn(n) {
2634
2613
  return T(() => n != null ? /* @__PURE__ */ new Set([
2635
2614
  n
2636
2615
  ]) : null, [
2637
2616
  n
2638
2617
  ]);
2639
2618
  }
2640
- const be = /* @__PURE__ */ O({}), ml = /* @__PURE__ */ O(null), Ji = /* @__PURE__ */ re(function(e, t) {
2641
- let { render: l } = L(ml);
2642
- return /* @__PURE__ */ $.createElement($.Fragment, null, l(e, t));
2619
+ const pe = /* @__PURE__ */ O({}), ml = /* @__PURE__ */ O(null), _i = /* @__PURE__ */ ne(function(e, t) {
2620
+ let { render: l } = R(ml);
2621
+ return /* @__PURE__ */ m.createElement(m.Fragment, null, l(e, t));
2643
2622
  });
2644
2623
  function xl(n, e) {
2645
2624
  var t;
2646
2625
  let l = n == null ? void 0 : n.renderDropIndicator, i = n == null || (t = n.isVirtualDragging) === null || t === void 0 ? void 0 : t.call(n), o = J((r) => {
2647
- if (i || e != null && e.isDropTarget(r)) return l ? l(r) : /* @__PURE__ */ $.createElement(Ji, {
2626
+ if (i || e != null && e.isDropTarget(r)) return l ? l(r) : /* @__PURE__ */ m.createElement(_i, {
2648
2627
  target: r
2649
2628
  });
2650
2629
  }, [
@@ -2654,7 +2633,7 @@ function xl(n, e) {
2654
2633
  ]);
2655
2634
  return n != null && n.useDropIndicator ? o : void 0;
2656
2635
  }
2657
- function Xi(n, e, t) {
2636
+ function Gi(n, e, t) {
2658
2637
  var l, i;
2659
2638
  let o = n.focusedKey, r = null;
2660
2639
  if (!(e == null || (l = e.isVirtualDragging) === null || l === void 0) && l.call(e) && (t == null || (i = t.target) === null || i === void 0 ? void 0 : i.type) === "item") {
@@ -2670,39 +2649,39 @@ function Xi(n, e, t) {
2670
2649
  r
2671
2650
  ]);
2672
2651
  }
2673
- const Sl = /* @__PURE__ */ O({}), On = /* @__PURE__ */ He("header", function(e, t) {
2674
- return [e, t] = fe(e, t, Sl), /* @__PURE__ */ $.createElement("header", {
2652
+ const Sl = /* @__PURE__ */ O({}), Bn = /* @__PURE__ */ Lt("header", function(e, t) {
2653
+ return [e, t] = ce(e, t, Sl), /* @__PURE__ */ m.createElement("header", {
2675
2654
  className: "react-aria-Header",
2676
2655
  ...e,
2677
2656
  ref: t
2678
2657
  }, e.children);
2679
- }), Zi = /* @__PURE__ */ O({}), Kl = /* @__PURE__ */ O(null), ae = /* @__PURE__ */ O(null), Nn = /* @__PURE__ */ re(function(e, t) {
2680
- [e, t] = fe(e, t, Kl);
2681
- let l = L(ae);
2682
- return l ? /* @__PURE__ */ $.createElement(Dl, {
2658
+ }), ji = /* @__PURE__ */ O({}), Kl = /* @__PURE__ */ O(null), ve = /* @__PURE__ */ O(null), Vn = /* @__PURE__ */ ne(function(e, t) {
2659
+ [e, t] = ce(e, t, Kl);
2660
+ let l = R(ve);
2661
+ return l ? /* @__PURE__ */ m.createElement(Dl, {
2683
2662
  state: l,
2684
2663
  props: e,
2685
2664
  listBoxRef: t
2686
- }) : /* @__PURE__ */ $.createElement(ki, {
2687
- content: /* @__PURE__ */ $.createElement(Ai, e)
2688
- }, (i) => /* @__PURE__ */ $.createElement(Qi, {
2665
+ }) : /* @__PURE__ */ m.createElement(wi, {
2666
+ content: /* @__PURE__ */ m.createElement(Fi, e)
2667
+ }, (i) => /* @__PURE__ */ m.createElement(Yi, {
2689
2668
  props: e,
2690
2669
  listBoxRef: t,
2691
2670
  collection: i
2692
2671
  }));
2693
2672
  });
2694
- function Qi({ props: n, listBoxRef: e, collection: t }) {
2673
+ function Yi({ props: n, listBoxRef: e, collection: t }) {
2695
2674
  n = {
2696
2675
  ...n,
2697
2676
  collection: t,
2698
2677
  children: null,
2699
2678
  items: null
2700
2679
  };
2701
- let { layoutDelegate: l } = L(ye), i = Oi({
2680
+ let { layoutDelegate: l } = R(He), i = Ai({
2702
2681
  ...n,
2703
2682
  layoutDelegate: l
2704
2683
  });
2705
- return /* @__PURE__ */ $.createElement(Dl, {
2684
+ return /* @__PURE__ */ m.createElement(Dl, {
2706
2685
  state: i,
2707
2686
  props: n,
2708
2687
  listBoxRef: e
@@ -2710,7 +2689,7 @@ function Qi({ props: n, listBoxRef: e, collection: t }) {
2710
2689
  }
2711
2690
  function Dl({ state: n, props: e, listBoxRef: t }) {
2712
2691
  var l;
2713
- let { filter: i, collectionProps: o, collectionRef: r } = L($l) || {};
2692
+ let { filter: i, collectionProps: o, collectionRef: r } = R($l) || {};
2714
2693
  e = T(() => o ? {
2715
2694
  ...e,
2716
2695
  ...o
@@ -2719,127 +2698,127 @@ function Dl({ state: n, props: e, listBoxRef: t }) {
2719
2698
  o
2720
2699
  ]);
2721
2700
  let { dragAndDropHooks: s, layout: a = "stack", orientation: c = "vertical" } = e;
2722
- t = ve(T(() => yt(t, r !== void 0 ? r : null), [
2701
+ t = he(T(() => vt(t, r !== void 0 ? r : null), [
2723
2702
  r,
2724
2703
  t
2725
2704
  ]));
2726
- let p = Ni(n, i), { collection: f, selectionManager: d } = p, v = !!(s != null && s.useDraggableCollectionState), b = !!(s != null && s.useDroppableCollectionState), { direction: x } = Dt(), { disabledBehavior: g, disabledKeys: m } = d, S = wt({
2705
+ let v = Ri(n, i), { collection: h, selectionManager: d } = v, y = !!(s != null && s.useDraggableCollectionState), b = !!(s != null && s.useDroppableCollectionState), { direction: x } = Kt(), { disabledBehavior: g, disabledKeys: $ } = d, S = Dt({
2727
2706
  usage: "search",
2728
2707
  sensitivity: "base"
2729
- }), { isVirtualized: w, layoutDelegate: k, dropTargetDelegate: F, CollectionRoot: C } = L(ye), R = T(() => e.keyboardDelegate || new kt({
2730
- collection: f,
2708
+ }), { isVirtualized: w, layoutDelegate: k, dropTargetDelegate: F, CollectionRoot: C } = R(He), A = T(() => e.keyboardDelegate || new Pt({
2709
+ collection: h,
2731
2710
  collator: S,
2732
2711
  ref: t,
2733
- disabledKeys: m,
2712
+ disabledKeys: $,
2734
2713
  disabledBehavior: g,
2735
2714
  layout: a,
2736
2715
  orientation: c,
2737
2716
  direction: x,
2738
2717
  layoutDelegate: k
2739
2718
  }), [
2740
- f,
2719
+ h,
2741
2720
  S,
2742
2721
  t,
2743
2722
  g,
2744
- m,
2723
+ $,
2745
2724
  c,
2746
2725
  x,
2747
2726
  e.keyboardDelegate,
2748
2727
  a,
2749
2728
  k
2750
- ]), { listBoxProps: M } = vi({
2729
+ ]), { listBoxProps: M } = ci({
2751
2730
  ...e,
2752
- shouldSelectOnPressUp: v || e.shouldSelectOnPressUp,
2753
- keyboardDelegate: R,
2731
+ shouldSelectOnPressUp: y || e.shouldSelectOnPressUp,
2732
+ keyboardDelegate: A,
2754
2733
  isVirtualized: w
2755
- }, p, t), G = E(v), B = E(b);
2734
+ }, v, t), G = P(y), B = P(b);
2756
2735
  Y(() => {
2757
- process.env.NODE_ENV !== "production" && (G.current !== v && console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."), B.current !== b && console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."));
2736
+ process.env.NODE_ENV !== "production" && (G.current !== y && console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."), B.current !== b && console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."));
2758
2737
  }, [
2759
- v,
2738
+ y,
2760
2739
  b
2761
2740
  ]);
2762
- let y, K, I, V = !1, U = null, H = E(null);
2763
- if (v && s) {
2764
- y = s.useDraggableCollectionState({
2765
- collection: f,
2741
+ let p, K, I, V = !1, U = null, H = P(null);
2742
+ if (y && s) {
2743
+ p = s.useDraggableCollectionState({
2744
+ collection: h,
2766
2745
  selectionManager: d,
2767
2746
  preview: s.renderDragPreview ? H : void 0
2768
- }), s.useDraggableCollection({}, y, t);
2747
+ }), s.useDraggableCollection({}, p, t);
2769
2748
  let _ = s.DragPreview;
2770
- U = s.renderDragPreview ? /* @__PURE__ */ $.createElement(_, {
2749
+ U = s.renderDragPreview ? /* @__PURE__ */ m.createElement(_, {
2771
2750
  ref: H
2772
2751
  }, s.renderDragPreview) : null;
2773
2752
  }
2774
2753
  if (b && s) {
2775
2754
  K = s.useDroppableCollectionState({
2776
- collection: f,
2755
+ collection: h,
2777
2756
  selectionManager: d
2778
2757
  });
2779
- let _ = s.dropTargetDelegate || F || new s.ListDropTargetDelegate(f, t, {
2758
+ let _ = s.dropTargetDelegate || F || new s.ListDropTargetDelegate(h, t, {
2780
2759
  orientation: c,
2781
2760
  layout: a,
2782
2761
  direction: x
2783
2762
  });
2784
2763
  I = s.useDroppableCollection({
2785
- keyboardDelegate: R,
2764
+ keyboardDelegate: A,
2786
2765
  dropTargetDelegate: _
2787
2766
  }, K, t), V = K.isDropTarget({
2788
2767
  type: "root"
2789
2768
  });
2790
2769
  }
2791
- let { focusProps: h, isFocused: u, isFocusVisible: P } = Ql(), A = p.collection.size === 0 || p.collection.size === 1 && ((l = p.collection.getItem(p.collection.getFirstKey())) === null || l === void 0 ? void 0 : l.type) === "loader", N = {
2770
+ let { focusProps: f, isFocused: u, isFocusVisible: E } = Xl(), L = v.collection.size === 0 || v.collection.size === 1 && ((l = v.collection.getItem(v.collection.getFirstKey())) === null || l === void 0 ? void 0 : l.type) === "loader", N = {
2792
2771
  isDropTarget: V,
2793
- isEmpty: A,
2772
+ isEmpty: L,
2794
2773
  isFocused: u,
2795
- isFocusVisible: P,
2774
+ isFocusVisible: E,
2796
2775
  layout: e.layout || "stack",
2797
- state: p
2798
- }, z = ie({
2776
+ state: v
2777
+ }, z = oe({
2799
2778
  className: e.className,
2800
2779
  style: e.style,
2801
2780
  defaultClassName: "react-aria-ListBox",
2802
2781
  values: N
2803
- }), W = null;
2804
- return A && e.renderEmptyState && (W = /* @__PURE__ */ $.createElement("div", {
2782
+ }), q = null;
2783
+ return L && e.renderEmptyState && (q = /* @__PURE__ */ m.createElement("div", {
2805
2784
  // eslint-disable-next-line
2806
2785
  role: "option",
2807
2786
  style: {
2808
2787
  display: "contents"
2809
2788
  }
2810
- }, e.renderEmptyState(N))), /* @__PURE__ */ $.createElement(Zl, null, /* @__PURE__ */ $.createElement("div", {
2811
- ...ne(e),
2812
- ...q(M, h, I == null ? void 0 : I.collectionProps),
2789
+ }, e.renderEmptyState(N))), /* @__PURE__ */ m.createElement(Jl, null, /* @__PURE__ */ m.createElement("div", {
2790
+ ...se(e),
2791
+ ...W(M, f, I == null ? void 0 : I.collectionProps),
2813
2792
  ...z,
2814
2793
  ref: t,
2815
2794
  slot: e.slot || void 0,
2816
2795
  onScroll: e.onScroll,
2817
2796
  "data-drop-target": V || void 0,
2818
- "data-empty": A || void 0,
2797
+ "data-empty": L || void 0,
2819
2798
  "data-focused": u || void 0,
2820
- "data-focus-visible": P || void 0,
2799
+ "data-focus-visible": E || void 0,
2821
2800
  "data-layout": e.layout || "stack",
2822
2801
  "data-orientation": e.orientation || "vertical"
2823
- }, /* @__PURE__ */ $.createElement(pe, {
2802
+ }, /* @__PURE__ */ m.createElement(fe, {
2824
2803
  values: [
2825
2804
  [
2826
2805
  Kl,
2827
2806
  e
2828
2807
  ],
2829
2808
  [
2830
- ae,
2831
- p
2809
+ ve,
2810
+ v
2832
2811
  ],
2833
2812
  [
2834
- be,
2813
+ pe,
2835
2814
  {
2836
2815
  dragAndDropHooks: s,
2837
- dragState: y,
2816
+ dragState: p,
2838
2817
  dropState: K
2839
2818
  }
2840
2819
  ],
2841
2820
  [
2842
- Zi,
2821
+ ji,
2843
2822
  {
2844
2823
  elementType: "div"
2845
2824
  }
@@ -2847,57 +2826,57 @@ function Dl({ state: n, props: e, listBoxRef: t }) {
2847
2826
  [
2848
2827
  ml,
2849
2828
  {
2850
- render: en
2829
+ render: Ji
2851
2830
  }
2852
2831
  ],
2853
2832
  [
2854
- Gi,
2833
+ Hi,
2855
2834
  {
2856
2835
  name: "ListBoxSection",
2857
2836
  render: wl
2858
2837
  }
2859
2838
  ]
2860
2839
  ]
2861
- }, /* @__PURE__ */ $.createElement(C, {
2862
- collection: f,
2840
+ }, /* @__PURE__ */ m.createElement(C, {
2841
+ collection: h,
2863
2842
  scrollRef: t,
2864
- persistedKeys: Xi(d, s, K),
2843
+ persistedKeys: Gi(d, s, K),
2865
2844
  renderDropIndicator: xl(s, K)
2866
- })), W, U));
2845
+ })), q, U));
2867
2846
  }
2868
2847
  function wl(n, e, t, l = "react-aria-ListBoxSection") {
2869
- let i = L(ae), { dragAndDropHooks: o, dropState: r } = L(be), { CollectionBranch: s } = L(ye), [a, c] = pt();
2870
- var p;
2871
- let { headingProps: f, groupProps: d } = Ki({
2848
+ let i = R(ve), { dragAndDropHooks: o, dropState: r } = R(pe), { CollectionBranch: s } = R(He), [a, c] = ht();
2849
+ var v;
2850
+ let { headingProps: h, groupProps: d } = $i({
2872
2851
  heading: c,
2873
- "aria-label": (p = n["aria-label"]) !== null && p !== void 0 ? p : void 0
2874
- }), v = ie({
2852
+ "aria-label": (v = n["aria-label"]) !== null && v !== void 0 ? v : void 0
2853
+ }), y = oe({
2875
2854
  defaultClassName: l,
2876
2855
  className: n.className,
2877
2856
  style: n.style,
2878
2857
  values: {}
2879
2858
  });
2880
- return /* @__PURE__ */ $.createElement("section", {
2881
- ...ne(n),
2859
+ return /* @__PURE__ */ m.createElement("section", {
2860
+ ...se(n),
2882
2861
  ...d,
2883
- ...v,
2862
+ ...y,
2884
2863
  ref: e
2885
- }, /* @__PURE__ */ $.createElement(Sl.Provider, {
2864
+ }, /* @__PURE__ */ m.createElement(Sl.Provider, {
2886
2865
  value: {
2887
- ...f,
2866
+ ...h,
2888
2867
  ref: a
2889
2868
  }
2890
- }, /* @__PURE__ */ $.createElement(s, {
2869
+ }, /* @__PURE__ */ m.createElement(s, {
2891
2870
  collection: i.collection,
2892
2871
  parent: t,
2893
2872
  renderDropIndicator: xl(o, r)
2894
2873
  })));
2895
2874
  }
2896
- const zn = /* @__PURE__ */ Li("section", wl), Un = /* @__PURE__ */ He("item", function(e, t, l) {
2897
- let i = ve(t), o = L(ae), { dragAndDropHooks: r, dragState: s, dropState: a } = L(be), { optionProps: c, labelProps: p, descriptionProps: f, ...d } = Si({
2875
+ const On = /* @__PURE__ */ Ii("section", wl), Nn = /* @__PURE__ */ Lt("item", function(e, t, l) {
2876
+ let i = he(t), o = R(ve), { dragAndDropHooks: r, dragState: s, dropState: a } = R(pe), { optionProps: c, labelProps: v, descriptionProps: h, ...d } = gi({
2898
2877
  key: l.key,
2899
2878
  "aria-label": e == null ? void 0 : e["aria-label"]
2900
- }, o, i), { hoverProps: v, isHovered: b } = Kt({
2879
+ }, o, i), { hoverProps: y, isHovered: b } = St({
2901
2880
  isDisabled: !d.allowsSelection && !d.hasAction,
2902
2881
  onHoverStart: l.props.onHoverStart,
2903
2882
  onHoverChange: l.props.onHoverChange,
@@ -2914,7 +2893,7 @@ const zn = /* @__PURE__ */ Li("section", wl), Un = /* @__PURE__ */ He("item", fu
2914
2893
  dropPosition: "on"
2915
2894
  }
2916
2895
  }, a, i));
2917
- let m = s && s.isDragging(l.key), S = ie({
2896
+ let $ = s && s.isDragging(l.key), S = oe({
2918
2897
  ...e,
2919
2898
  id: void 0,
2920
2899
  children: e.children,
@@ -2925,7 +2904,7 @@ const zn = /* @__PURE__ */ Li("section", wl), Un = /* @__PURE__ */ He("item", fu
2925
2904
  selectionMode: o.selectionManager.selectionMode,
2926
2905
  selectionBehavior: o.selectionManager.selectionBehavior,
2927
2906
  allowsDragging: !!s,
2928
- isDragging: m,
2907
+ isDragging: $,
2929
2908
  isDropTarget: g == null ? void 0 : g.isDropTarget
2930
2909
  }
2931
2910
  });
@@ -2935,8 +2914,8 @@ const zn = /* @__PURE__ */ Li("section", wl), Un = /* @__PURE__ */ He("item", fu
2935
2914
  l.textValue
2936
2915
  ]);
2937
2916
  let w = e.href ? "a" : "div";
2938
- return /* @__PURE__ */ $.createElement(w, {
2939
- ...q(c, v, x == null ? void 0 : x.dragProps, g == null ? void 0 : g.dropProps),
2917
+ return /* @__PURE__ */ m.createElement(w, {
2918
+ ...W(c, y, x == null ? void 0 : x.dragProps, g == null ? void 0 : g.dropProps),
2940
2919
  ...S,
2941
2920
  ref: i,
2942
2921
  "data-allows-dragging": !!s || void 0,
@@ -2946,43 +2925,43 @@ const zn = /* @__PURE__ */ Li("section", wl), Un = /* @__PURE__ */ He("item", fu
2946
2925
  "data-focused": d.isFocused || void 0,
2947
2926
  "data-focus-visible": d.isFocusVisible || void 0,
2948
2927
  "data-pressed": d.isPressed || void 0,
2949
- "data-dragging": m || void 0,
2928
+ "data-dragging": $ || void 0,
2950
2929
  "data-drop-target": (g == null ? void 0 : g.isDropTarget) || void 0,
2951
2930
  "data-selection-mode": o.selectionManager.selectionMode === "none" ? void 0 : o.selectionManager.selectionMode
2952
- }, /* @__PURE__ */ $.createElement(pe, {
2931
+ }, /* @__PURE__ */ m.createElement(fe, {
2953
2932
  values: [
2954
2933
  [
2955
- gt,
2934
+ bt,
2956
2935
  {
2957
2936
  slots: {
2958
- [Pl]: p,
2959
- label: p,
2960
- description: f
2937
+ [El]: v,
2938
+ label: v,
2939
+ description: h
2961
2940
  }
2962
2941
  }
2963
2942
  ]
2964
2943
  ]
2965
2944
  }, S.children));
2966
2945
  });
2967
- function en(n, e) {
2968
- e = ve(e);
2969
- let { dragAndDropHooks: t, dropState: l } = L(be), { dropIndicatorProps: i, isHidden: o, isDropTarget: r } = t.useDropIndicator(n, l, e);
2970
- return o ? null : /* @__PURE__ */ $.createElement(ln, {
2946
+ function Ji(n, e) {
2947
+ e = he(e);
2948
+ let { dragAndDropHooks: t, dropState: l } = R(pe), { dropIndicatorProps: i, isHidden: o, isDropTarget: r } = t.useDropIndicator(n, l, e);
2949
+ return o ? null : /* @__PURE__ */ m.createElement(Zi, {
2971
2950
  ...n,
2972
2951
  dropIndicatorProps: i,
2973
2952
  isDropTarget: r,
2974
2953
  ref: e
2975
2954
  });
2976
2955
  }
2977
- function tn(n, e) {
2978
- let { dropIndicatorProps: t, isDropTarget: l, ...i } = n, o = ie({
2956
+ function Xi(n, e) {
2957
+ let { dropIndicatorProps: t, isDropTarget: l, ...i } = n, o = oe({
2979
2958
  ...i,
2980
2959
  defaultClassName: "react-aria-DropIndicator",
2981
2960
  values: {
2982
2961
  isDropTarget: l
2983
2962
  }
2984
2963
  });
2985
- return /* @__PURE__ */ $.createElement("div", {
2964
+ return /* @__PURE__ */ m.createElement("div", {
2986
2965
  ...t,
2987
2966
  ...o,
2988
2967
  // eslint-disable-next-line
@@ -2991,81 +2970,35 @@ function tn(n, e) {
2991
2970
  "data-drop-target": l || void 0
2992
2971
  });
2993
2972
  }
2994
- const ln = /* @__PURE__ */ re(tn);
2995
- He("loader", function(e, t, l) {
2996
- let i = L(ae), { isVirtualized: o } = L(ye), { isLoading: r, onLoadMore: s, scrollOffset: a, ...c } = e, p = E(null), f = T(() => ({
2997
- onLoadMore: s,
2998
- collection: i == null ? void 0 : i.collection,
2999
- sentinelRef: p,
3000
- scrollOffset: a
3001
- }), [
3002
- s,
3003
- a,
3004
- i == null ? void 0 : i.collection
3005
- ]);
3006
- ei(f, p);
3007
- let d = ie({
3008
- ...c,
3009
- id: void 0,
3010
- children: l.rendered,
3011
- defaultClassName: "react-aria-ListBoxLoadingIndicator",
3012
- values: null
3013
- }), v = {
3014
- // For Android talkback
3015
- tabIndex: -1
3016
- };
3017
- return o && (v["aria-posinset"] = l.index + 1, v["aria-setsize"] = i.collection.size), /* @__PURE__ */ $.createElement($.Fragment, null, /* @__PURE__ */ $.createElement("div", {
3018
- style: {
3019
- position: "relative",
3020
- width: 0,
3021
- height: 0
3022
- },
3023
- inert: ti(!0)
3024
- }, /* @__PURE__ */ $.createElement("div", {
3025
- "data-testid": "loadMoreSentinel",
3026
- ref: p,
3027
- style: {
3028
- position: "absolute",
3029
- height: 1,
3030
- width: 1
3031
- }
3032
- })), r && d.children && /* @__PURE__ */ $.createElement("div", {
3033
- ...q(ne(e), v),
3034
- ...d,
3035
- // aria-selected isn't needed here since this option is not selectable.
3036
- // eslint-disable-next-line jsx-a11y/role-has-required-aria-props
3037
- role: "option",
3038
- ref: t
3039
- }, d.children));
3040
- });
2973
+ const Zi = /* @__PURE__ */ ne(Xi);
3041
2974
  export {
3042
- ii as $,
3043
- Vn as A,
3044
- Oi as a,
3045
- kt as b,
3046
- di as c,
3047
- ki as d,
2975
+ Ql as $,
2976
+ Rn as A,
2977
+ Ai as a,
2978
+ Pt as b,
2979
+ ri as c,
2980
+ wi as d,
3048
2981
  Kl as e,
3049
- ae as f,
3050
- Nn as g,
3051
- Un as h,
3052
- zn as i,
3053
- On as j,
3054
- Ai as k,
3055
- Ne as l,
3056
- fi as m,
3057
- It as n,
3058
- xi as o,
3059
- Et as p,
3060
- ri as q,
3061
- ut as r,
3062
- Bn as s,
3063
- Rn as t,
3064
- pi as u,
3065
- An as v,
3066
- hi as w,
3067
- He as x,
3068
- ye as y,
3069
- ji as z
2982
+ ve as f,
2983
+ Vn as g,
2984
+ Nn as h,
2985
+ On as i,
2986
+ Bn as j,
2987
+ Fi as k,
2988
+ Oe as l,
2989
+ ai as m,
2990
+ kt as n,
2991
+ bi as o,
2992
+ Ct as p,
2993
+ li as q,
2994
+ at as r,
2995
+ An as s,
2996
+ Ln as t,
2997
+ di as u,
2998
+ Tn as v,
2999
+ ui as w,
3000
+ Lt as x,
3001
+ He as y,
3002
+ qi as z
3070
3003
  };
3071
- //# sourceMappingURL=ListBox-DH3lufv2.js.map
3004
+ //# sourceMappingURL=ListBox-Dss9OMcn.js.map