@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 +1 @@
1
- {"version":3,"file":"useFormValidation-BcDTI6Mp.js","sources":["../../../../node_modules/.pnpm/@react-stately+form@3.1.5_react@19.1.0/node_modules/@react-stately/form/dist/useFormValidationState.mjs","../../../../node_modules/.pnpm/@react-aria+form@3.0.18_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/form/dist/useFormValidation.mjs"],"sourcesContent":["import {createContext as $69F46$createContext, useMemo as $69F46$useMemo, useContext as $69F46$useContext, useState as $69F46$useState, useRef as $69F46$useRef, useEffect as $69F46$useEffect} from \"react\";\n\n/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nconst $e5be200c675c3b3a$export$aca958c65c314e6c = {\n badInput: false,\n customError: false,\n patternMismatch: false,\n rangeOverflow: false,\n rangeUnderflow: false,\n stepMismatch: false,\n tooLong: false,\n tooShort: false,\n typeMismatch: false,\n valueMissing: false,\n valid: true\n};\nconst $e5be200c675c3b3a$var$CUSTOM_VALIDITY_STATE = {\n ...$e5be200c675c3b3a$export$aca958c65c314e6c,\n customError: true,\n valid: false\n};\nconst $e5be200c675c3b3a$export$dad6ae84456c676a = {\n isInvalid: false,\n validationDetails: $e5be200c675c3b3a$export$aca958c65c314e6c,\n validationErrors: []\n};\nconst $e5be200c675c3b3a$export$571b5131b7e65c11 = (0, $69F46$createContext)({});\nconst $e5be200c675c3b3a$export$a763b9476acd3eb = '__formValidationState' + Date.now();\nfunction $e5be200c675c3b3a$export$fc1a364ae1f3ff10(props) {\n // Private prop for parent components to pass state to children.\n if (props[$e5be200c675c3b3a$export$a763b9476acd3eb]) {\n let { realtimeValidation: realtimeValidation, displayValidation: displayValidation, updateValidation: updateValidation, resetValidation: resetValidation, commitValidation: commitValidation } = props[$e5be200c675c3b3a$export$a763b9476acd3eb];\n return {\n realtimeValidation: realtimeValidation,\n displayValidation: displayValidation,\n updateValidation: updateValidation,\n resetValidation: resetValidation,\n commitValidation: commitValidation\n };\n }\n // eslint-disable-next-line react-hooks/rules-of-hooks\n return $e5be200c675c3b3a$var$useFormValidationStateImpl(props);\n}\nfunction $e5be200c675c3b3a$var$useFormValidationStateImpl(props) {\n let { isInvalid: isInvalid, validationState: validationState, name: name, value: value, builtinValidation: builtinValidation, validate: validate, validationBehavior: validationBehavior = 'aria' } = props;\n // backward compatibility.\n if (validationState) isInvalid || (isInvalid = validationState === 'invalid');\n // If the isInvalid prop is controlled, update validation result in realtime.\n let controlledError = isInvalid !== undefined ? {\n isInvalid: isInvalid,\n validationErrors: [],\n validationDetails: $e5be200c675c3b3a$var$CUSTOM_VALIDITY_STATE\n } : null;\n // Perform custom client side validation.\n let clientError = (0, $69F46$useMemo)(()=>{\n if (!validate || value == null) return null;\n let validateErrors = $e5be200c675c3b3a$var$runValidate(validate, value);\n return $e5be200c675c3b3a$var$getValidationResult(validateErrors);\n }, [\n validate,\n value\n ]);\n if (builtinValidation === null || builtinValidation === void 0 ? void 0 : builtinValidation.validationDetails.valid) builtinValidation = undefined;\n // Get relevant server errors from the form.\n let serverErrors = (0, $69F46$useContext)($e5be200c675c3b3a$export$571b5131b7e65c11);\n let serverErrorMessages = (0, $69F46$useMemo)(()=>{\n if (name) return Array.isArray(name) ? name.flatMap((name)=>$e5be200c675c3b3a$var$asArray(serverErrors[name])) : $e5be200c675c3b3a$var$asArray(serverErrors[name]);\n return [];\n }, [\n serverErrors,\n name\n ]);\n // Show server errors when the form gets a new value, and clear when the user changes the value.\n let [lastServerErrors, setLastServerErrors] = (0, $69F46$useState)(serverErrors);\n let [isServerErrorCleared, setServerErrorCleared] = (0, $69F46$useState)(false);\n if (serverErrors !== lastServerErrors) {\n setLastServerErrors(serverErrors);\n setServerErrorCleared(false);\n }\n let serverError = (0, $69F46$useMemo)(()=>$e5be200c675c3b3a$var$getValidationResult(isServerErrorCleared ? [] : serverErrorMessages), [\n isServerErrorCleared,\n serverErrorMessages\n ]);\n // Track the next validation state in a ref until commitValidation is called.\n let nextValidation = (0, $69F46$useRef)($e5be200c675c3b3a$export$dad6ae84456c676a);\n let [currentValidity, setCurrentValidity] = (0, $69F46$useState)($e5be200c675c3b3a$export$dad6ae84456c676a);\n let lastError = (0, $69F46$useRef)($e5be200c675c3b3a$export$dad6ae84456c676a);\n let commitValidation = ()=>{\n if (!commitQueued) return;\n setCommitQueued(false);\n let error = clientError || builtinValidation || nextValidation.current;\n if (!$e5be200c675c3b3a$var$isEqualValidation(error, lastError.current)) {\n lastError.current = error;\n setCurrentValidity(error);\n }\n };\n let [commitQueued, setCommitQueued] = (0, $69F46$useState)(false);\n (0, $69F46$useEffect)(commitValidation);\n // realtimeValidation is used to update the native input element's state based on custom validation logic.\n // displayValidation is the currently displayed validation state that the user sees (e.g. on input change/form submit).\n // With validationBehavior=\"aria\", all errors are displayed in realtime rather than on submit.\n let realtimeValidation = controlledError || serverError || clientError || builtinValidation || $e5be200c675c3b3a$export$dad6ae84456c676a;\n let displayValidation = validationBehavior === 'native' ? controlledError || serverError || currentValidity : controlledError || serverError || clientError || builtinValidation || currentValidity;\n return {\n realtimeValidation: realtimeValidation,\n displayValidation: displayValidation,\n updateValidation (value) {\n // If validationBehavior is 'aria', update in realtime. Otherwise, store in a ref until commit.\n if (validationBehavior === 'aria' && !$e5be200c675c3b3a$var$isEqualValidation(currentValidity, value)) setCurrentValidity(value);\n else nextValidation.current = value;\n },\n resetValidation () {\n // Update the currently displayed validation state to valid on form reset,\n // even if the native validity says it isn't. It'll show again on the next form submit.\n let error = $e5be200c675c3b3a$export$dad6ae84456c676a;\n if (!$e5be200c675c3b3a$var$isEqualValidation(error, lastError.current)) {\n lastError.current = error;\n setCurrentValidity(error);\n }\n // Do not commit validation after the next render. This avoids a condition where\n // useSelect calls commitValidation inside an onReset handler.\n if (validationBehavior === 'native') setCommitQueued(false);\n setServerErrorCleared(true);\n },\n commitValidation () {\n // Commit validation state so the user sees it on blur/change/submit. Also clear any server errors.\n // Wait until after the next render to commit so that the latest value has been validated.\n if (validationBehavior === 'native') setCommitQueued(true);\n setServerErrorCleared(true);\n }\n };\n}\nfunction $e5be200c675c3b3a$var$asArray(v) {\n if (!v) return [];\n return Array.isArray(v) ? v : [\n v\n ];\n}\nfunction $e5be200c675c3b3a$var$runValidate(validate, value) {\n if (typeof validate === 'function') {\n let e = validate(value);\n if (e && typeof e !== 'boolean') return $e5be200c675c3b3a$var$asArray(e);\n }\n return [];\n}\nfunction $e5be200c675c3b3a$var$getValidationResult(errors) {\n return errors.length ? {\n isInvalid: true,\n validationErrors: errors,\n validationDetails: $e5be200c675c3b3a$var$CUSTOM_VALIDITY_STATE\n } : null;\n}\nfunction $e5be200c675c3b3a$var$isEqualValidation(a, b) {\n if (a === b) return true;\n return !!a && !!b && a.isInvalid === b.isInvalid && a.validationErrors.length === b.validationErrors.length && a.validationErrors.every((a, i)=>a === b.validationErrors[i]) && Object.entries(a.validationDetails).every(([k, v])=>b.validationDetails[k] === v);\n}\nfunction $e5be200c675c3b3a$export$75ee7c75d68f5b0e(...results) {\n let errors = new Set();\n let isInvalid = false;\n let validationDetails = {\n ...$e5be200c675c3b3a$export$aca958c65c314e6c\n };\n for (let v of results){\n var _validationDetails, _key;\n for (let e of v.validationErrors)errors.add(e);\n // Only these properties apply for checkboxes.\n isInvalid || (isInvalid = v.isInvalid);\n for(let key in validationDetails)(_validationDetails = validationDetails)[_key = key] || (_validationDetails[_key] = v.validationDetails[key]);\n }\n validationDetails.valid = !isInvalid;\n return {\n isInvalid: isInvalid,\n validationErrors: [\n ...errors\n ],\n validationDetails: validationDetails\n };\n}\n\n\nexport {$e5be200c675c3b3a$export$aca958c65c314e6c as VALID_VALIDITY_STATE, $e5be200c675c3b3a$export$dad6ae84456c676a as DEFAULT_VALIDATION_RESULT, $e5be200c675c3b3a$export$571b5131b7e65c11 as FormValidationContext, $e5be200c675c3b3a$export$a763b9476acd3eb as privateValidationStateProp, $e5be200c675c3b3a$export$fc1a364ae1f3ff10 as useFormValidationState, $e5be200c675c3b3a$export$75ee7c75d68f5b0e as mergeValidation};\n//# sourceMappingURL=useFormValidationState.module.js.map\n","import {setInteractionModality as $9Gacy$setInteractionModality} from \"@react-aria/interactions\";\nimport {useEffect as $9Gacy$useEffect} from \"react\";\nimport {useLayoutEffect as $9Gacy$useLayoutEffect, useEffectEvent as $9Gacy$useEffectEvent} from \"@react-aria/utils\";\n\n/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nfunction $e93e671b31057976$export$b8473d3665f3a75a(props, state, ref) {\n let { validationBehavior: validationBehavior, focus: focus } = props;\n // This is a useLayoutEffect so that it runs before the useEffect in useFormValidationState, which commits the validation change.\n (0, $9Gacy$useLayoutEffect)(()=>{\n if (validationBehavior === 'native' && (ref === null || ref === void 0 ? void 0 : ref.current) && !ref.current.disabled) {\n let errorMessage = state.realtimeValidation.isInvalid ? state.realtimeValidation.validationErrors.join(' ') || 'Invalid value.' : '';\n ref.current.setCustomValidity(errorMessage);\n // Prevent default tooltip for validation message.\n // https://bugzilla.mozilla.org/show_bug.cgi?id=605277\n if (!ref.current.hasAttribute('title')) ref.current.title = '';\n if (!state.realtimeValidation.isInvalid) state.updateValidation($e93e671b31057976$var$getNativeValidity(ref.current));\n }\n });\n let onReset = (0, $9Gacy$useEffectEvent)(()=>{\n state.resetValidation();\n });\n let onInvalid = (0, $9Gacy$useEffectEvent)((e)=>{\n var _ref_current;\n // Only commit validation if we are not already displaying one.\n // This avoids clearing server errors that the user didn't actually fix.\n if (!state.displayValidation.isInvalid) state.commitValidation();\n // Auto focus the first invalid input in a form, unless the error already had its default prevented.\n let form = ref === null || ref === void 0 ? void 0 : (_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.form;\n if (!e.defaultPrevented && ref && form && $e93e671b31057976$var$getFirstInvalidInput(form) === ref.current) {\n var _ref_current1;\n if (focus) focus();\n else (_ref_current1 = ref.current) === null || _ref_current1 === void 0 ? void 0 : _ref_current1.focus();\n // Always show focus ring.\n (0, $9Gacy$setInteractionModality)('keyboard');\n }\n // Prevent default browser error UI from appearing.\n e.preventDefault();\n });\n let onChange = (0, $9Gacy$useEffectEvent)(()=>{\n state.commitValidation();\n });\n (0, $9Gacy$useEffect)(()=>{\n let input = ref === null || ref === void 0 ? void 0 : ref.current;\n if (!input) return;\n let form = input.form;\n input.addEventListener('invalid', onInvalid);\n input.addEventListener('change', onChange);\n form === null || form === void 0 ? void 0 : form.addEventListener('reset', onReset);\n return ()=>{\n input.removeEventListener('invalid', onInvalid);\n input.removeEventListener('change', onChange);\n form === null || form === void 0 ? void 0 : form.removeEventListener('reset', onReset);\n };\n }, [\n ref,\n onInvalid,\n onChange,\n onReset,\n validationBehavior\n ]);\n}\nfunction $e93e671b31057976$var$getValidity(input) {\n // The native ValidityState object is live, meaning each property is a getter that returns the current state.\n // We need to create a snapshot of the validity state at the time this function is called to avoid unpredictable React renders.\n let validity = input.validity;\n return {\n badInput: validity.badInput,\n customError: validity.customError,\n patternMismatch: validity.patternMismatch,\n rangeOverflow: validity.rangeOverflow,\n rangeUnderflow: validity.rangeUnderflow,\n stepMismatch: validity.stepMismatch,\n tooLong: validity.tooLong,\n tooShort: validity.tooShort,\n typeMismatch: validity.typeMismatch,\n valueMissing: validity.valueMissing,\n valid: validity.valid\n };\n}\nfunction $e93e671b31057976$var$getNativeValidity(input) {\n return {\n isInvalid: !input.validity.valid,\n validationDetails: $e93e671b31057976$var$getValidity(input),\n validationErrors: input.validationMessage ? [\n input.validationMessage\n ] : []\n };\n}\nfunction $e93e671b31057976$var$getFirstInvalidInput(form) {\n for(let i = 0; i < form.elements.length; i++){\n let element = form.elements[i];\n if (!element.validity.valid) return element;\n }\n return null;\n}\n\n\nexport {$e93e671b31057976$export$b8473d3665f3a75a as useFormValidation};\n//# sourceMappingURL=useFormValidation.module.js.map\n"],"names":["$e5be200c675c3b3a$export$aca958c65c314e6c","$e5be200c675c3b3a$var$CUSTOM_VALIDITY_STATE","$e5be200c675c3b3a$export$dad6ae84456c676a","$e5be200c675c3b3a$export$571b5131b7e65c11","$69F46$createContext","$e5be200c675c3b3a$export$a763b9476acd3eb","$e5be200c675c3b3a$export$fc1a364ae1f3ff10","props","realtimeValidation","displayValidation","updateValidation","resetValidation","commitValidation","$e5be200c675c3b3a$var$useFormValidationStateImpl","isInvalid","validationState","name","value","builtinValidation","validate","validationBehavior","controlledError","clientError","$69F46$useMemo","validateErrors","$e5be200c675c3b3a$var$runValidate","$e5be200c675c3b3a$var$getValidationResult","serverErrors","$69F46$useContext","serverErrorMessages","$e5be200c675c3b3a$var$asArray","lastServerErrors","setLastServerErrors","$69F46$useState","isServerErrorCleared","setServerErrorCleared","serverError","nextValidation","$69F46$useRef","currentValidity","setCurrentValidity","lastError","commitQueued","setCommitQueued","error","$e5be200c675c3b3a$var$isEqualValidation","$69F46$useEffect","v","e","errors","b","a","i","k","$e93e671b31057976$export$b8473d3665f3a75a","state","ref","focus","$9Gacy$useLayoutEffect","errorMessage","$e93e671b31057976$var$getNativeValidity","onReset","$9Gacy$useEffectEvent","onInvalid","_ref_current","form","$e93e671b31057976$var$getFirstInvalidInput","_ref_current1","$9Gacy$setInteractionModality","onChange","$9Gacy$useEffect","input","$e93e671b31057976$var$getValidity","validity","element"],"mappings":";;;AAaA,MAAMA,IAA4C;AAAA,EAC9C,UAAU;AAAA,EACV,aAAa;AAAA,EACb,iBAAiB;AAAA,EACjB,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,cAAc;AAAA,EACd,SAAS;AAAA,EACT,U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Q,EAAM,iBAAiB,UAAUF,CAAQ,GACzCJ,KAAS,QAAmCA,EAAK,iBAAiB,SAASJ,CAAO,GAC3E,MAAI;AACP,MAAAU,EAAM,oBAAoB,WAAWR,CAAS,GAC9CQ,EAAM,oBAAoB,UAAUF,CAAQ,GAC5CJ,KAAS,QAAmCA,EAAK,oBAAoB,SAASJ,CAAO;AAAA,IACxF;AAAA,EACT,GAAO;AAAA,IACCL;AAAA,IACAO;AAAA,IACAM;AAAA,IACAR;AAAA,IACAzC;AAAA,EACR,CAAK;AACL;AACA,SAASoD,EAAkCD,GAAO;AAG9C,MAAIE,IAAWF,EAAM;AACrB,SAAO;AAAA,IACH,UAAUE,EAAS;AAAA,IACnB,aAAaA,EAAS;AAAA,IACtB,iBAAiBA,EAAS;AAAA,IAC1B,eAAeA,EAAS;AAAA,IACxB,gBAAgBA,EAAS;AAAA,IACzB,cAAcA,EAAS;AAAA,IACvB,SAASA,EAAS;AAAA,IAClB,UAAUA,EAAS;AAAA,IACnB,cAAcA,EAAS;AAAA,IACvB,cAAcA,EAAS;AAAA,IACvB,OAAOA,EAAS;AAAA,EACnB;AACL;AACA,SAASb,EAAwCW,GAAO;AACpD,SAAO;AAAA,IACH,WAAW,CAACA,EAAM,SAAS;AAAA,IAC3B,mBAAmBC,EAAkCD,CAAK;AAAA,IAC1D,kBAAkBA,EAAM,oBAAoB;AAAA,MACxCA,EAAM;AAAA,IAClB,IAAY,CAAA;AAAA,EACP;AACL;AACA,SAASL,EAA2CD,GAAM;AACtD,WAAQb,IAAI,GAAGA,IAAIa,EAAK,SAAS,QAAQb,KAAI;AACzC,QAAIsB,IAAUT,EAAK,SAASb,CAAC;AAC7B,QAAI,CAACsB,EAAQ,SAAS,MAAO,QAAOA;AAAA,EAC5C;AACI,SAAO;AACX;","x_google_ignoreList":[0,1]}
1
+ {"version":3,"file":"useFormValidation-DoG8pVu2.js","sources":["../../../../node_modules/.pnpm/@react-stately+form@3.1.5_react@19.1.0/node_modules/@react-stately/form/dist/useFormValidationState.mjs","../../../../node_modules/.pnpm/@react-aria+form@3.0.18_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/form/dist/useFormValidation.mjs"],"sourcesContent":["import {createContext as $69F46$createContext, useMemo as $69F46$useMemo, useContext as $69F46$useContext, useState as $69F46$useState, useRef as $69F46$useRef, useEffect as $69F46$useEffect} from \"react\";\n\n/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nconst $e5be200c675c3b3a$export$aca958c65c314e6c = {\n badInput: false,\n customError: false,\n patternMismatch: false,\n rangeOverflow: false,\n rangeUnderflow: false,\n stepMismatch: false,\n tooLong: false,\n tooShort: false,\n typeMismatch: false,\n valueMissing: false,\n valid: true\n};\nconst $e5be200c675c3b3a$var$CUSTOM_VALIDITY_STATE = {\n ...$e5be200c675c3b3a$export$aca958c65c314e6c,\n customError: true,\n valid: false\n};\nconst $e5be200c675c3b3a$export$dad6ae84456c676a = {\n isInvalid: false,\n validationDetails: $e5be200c675c3b3a$export$aca958c65c314e6c,\n validationErrors: []\n};\nconst $e5be200c675c3b3a$export$571b5131b7e65c11 = (0, $69F46$createContext)({});\nconst $e5be200c675c3b3a$export$a763b9476acd3eb = '__formValidationState' + Date.now();\nfunction $e5be200c675c3b3a$export$fc1a364ae1f3ff10(props) {\n // Private prop for parent components to pass state to children.\n if (props[$e5be200c675c3b3a$export$a763b9476acd3eb]) {\n let { realtimeValidation: realtimeValidation, displayValidation: displayValidation, updateValidation: updateValidation, resetValidation: resetValidation, commitValidation: commitValidation } = props[$e5be200c675c3b3a$export$a763b9476acd3eb];\n return {\n realtimeValidation: realtimeValidation,\n displayValidation: displayValidation,\n updateValidation: updateValidation,\n resetValidation: resetValidation,\n commitValidation: commitValidation\n };\n }\n // eslint-disable-next-line react-hooks/rules-of-hooks\n return $e5be200c675c3b3a$var$useFormValidationStateImpl(props);\n}\nfunction $e5be200c675c3b3a$var$useFormValidationStateImpl(props) {\n let { isInvalid: isInvalid, validationState: validationState, name: name, value: value, builtinValidation: builtinValidation, validate: validate, validationBehavior: validationBehavior = 'aria' } = props;\n // backward compatibility.\n if (validationState) isInvalid || (isInvalid = validationState === 'invalid');\n // If the isInvalid prop is controlled, update validation result in realtime.\n let controlledError = isInvalid !== undefined ? {\n isInvalid: isInvalid,\n validationErrors: [],\n validationDetails: $e5be200c675c3b3a$var$CUSTOM_VALIDITY_STATE\n } : null;\n // Perform custom client side validation.\n let clientError = (0, $69F46$useMemo)(()=>{\n if (!validate || value == null) return null;\n let validateErrors = $e5be200c675c3b3a$var$runValidate(validate, value);\n return $e5be200c675c3b3a$var$getValidationResult(validateErrors);\n }, [\n validate,\n value\n ]);\n if (builtinValidation === null || builtinValidation === void 0 ? void 0 : builtinValidation.validationDetails.valid) builtinValidation = undefined;\n // Get relevant server errors from the form.\n let serverErrors = (0, $69F46$useContext)($e5be200c675c3b3a$export$571b5131b7e65c11);\n let serverErrorMessages = (0, $69F46$useMemo)(()=>{\n if (name) return Array.isArray(name) ? name.flatMap((name)=>$e5be200c675c3b3a$var$asArray(serverErrors[name])) : $e5be200c675c3b3a$var$asArray(serverErrors[name]);\n return [];\n }, [\n serverErrors,\n name\n ]);\n // Show server errors when the form gets a new value, and clear when the user changes the value.\n let [lastServerErrors, setLastServerErrors] = (0, $69F46$useState)(serverErrors);\n let [isServerErrorCleared, setServerErrorCleared] = (0, $69F46$useState)(false);\n if (serverErrors !== lastServerErrors) {\n setLastServerErrors(serverErrors);\n setServerErrorCleared(false);\n }\n let serverError = (0, $69F46$useMemo)(()=>$e5be200c675c3b3a$var$getValidationResult(isServerErrorCleared ? [] : serverErrorMessages), [\n isServerErrorCleared,\n serverErrorMessages\n ]);\n // Track the next validation state in a ref until commitValidation is called.\n let nextValidation = (0, $69F46$useRef)($e5be200c675c3b3a$export$dad6ae84456c676a);\n let [currentValidity, setCurrentValidity] = (0, $69F46$useState)($e5be200c675c3b3a$export$dad6ae84456c676a);\n let lastError = (0, $69F46$useRef)($e5be200c675c3b3a$export$dad6ae84456c676a);\n let commitValidation = ()=>{\n if (!commitQueued) return;\n setCommitQueued(false);\n let error = clientError || builtinValidation || nextValidation.current;\n if (!$e5be200c675c3b3a$var$isEqualValidation(error, lastError.current)) {\n lastError.current = error;\n setCurrentValidity(error);\n }\n };\n let [commitQueued, setCommitQueued] = (0, $69F46$useState)(false);\n (0, $69F46$useEffect)(commitValidation);\n // realtimeValidation is used to update the native input element's state based on custom validation logic.\n // displayValidation is the currently displayed validation state that the user sees (e.g. on input change/form submit).\n // With validationBehavior=\"aria\", all errors are displayed in realtime rather than on submit.\n let realtimeValidation = controlledError || serverError || clientError || builtinValidation || $e5be200c675c3b3a$export$dad6ae84456c676a;\n let displayValidation = validationBehavior === 'native' ? controlledError || serverError || currentValidity : controlledError || serverError || clientError || builtinValidation || currentValidity;\n return {\n realtimeValidation: realtimeValidation,\n displayValidation: displayValidation,\n updateValidation (value) {\n // If validationBehavior is 'aria', update in realtime. Otherwise, store in a ref until commit.\n if (validationBehavior === 'aria' && !$e5be200c675c3b3a$var$isEqualValidation(currentValidity, value)) setCurrentValidity(value);\n else nextValidation.current = value;\n },\n resetValidation () {\n // Update the currently displayed validation state to valid on form reset,\n // even if the native validity says it isn't. It'll show again on the next form submit.\n let error = $e5be200c675c3b3a$export$dad6ae84456c676a;\n if (!$e5be200c675c3b3a$var$isEqualValidation(error, lastError.current)) {\n lastError.current = error;\n setCurrentValidity(error);\n }\n // Do not commit validation after the next render. This avoids a condition where\n // useSelect calls commitValidation inside an onReset handler.\n if (validationBehavior === 'native') setCommitQueued(false);\n setServerErrorCleared(true);\n },\n commitValidation () {\n // Commit validation state so the user sees it on blur/change/submit. Also clear any server errors.\n // Wait until after the next render to commit so that the latest value has been validated.\n if (validationBehavior === 'native') setCommitQueued(true);\n setServerErrorCleared(true);\n }\n };\n}\nfunction $e5be200c675c3b3a$var$asArray(v) {\n if (!v) return [];\n return Array.isArray(v) ? v : [\n v\n ];\n}\nfunction $e5be200c675c3b3a$var$runValidate(validate, value) {\n if (typeof validate === 'function') {\n let e = validate(value);\n if (e && typeof e !== 'boolean') return $e5be200c675c3b3a$var$asArray(e);\n }\n return [];\n}\nfunction $e5be200c675c3b3a$var$getValidationResult(errors) {\n return errors.length ? {\n isInvalid: true,\n validationErrors: errors,\n validationDetails: $e5be200c675c3b3a$var$CUSTOM_VALIDITY_STATE\n } : null;\n}\nfunction $e5be200c675c3b3a$var$isEqualValidation(a, b) {\n if (a === b) return true;\n return !!a && !!b && a.isInvalid === b.isInvalid && a.validationErrors.length === b.validationErrors.length && a.validationErrors.every((a, i)=>a === b.validationErrors[i]) && Object.entries(a.validationDetails).every(([k, v])=>b.validationDetails[k] === v);\n}\nfunction $e5be200c675c3b3a$export$75ee7c75d68f5b0e(...results) {\n let errors = new Set();\n let isInvalid = false;\n let validationDetails = {\n ...$e5be200c675c3b3a$export$aca958c65c314e6c\n };\n for (let v of results){\n var _validationDetails, _key;\n for (let e of v.validationErrors)errors.add(e);\n // Only these properties apply for checkboxes.\n isInvalid || (isInvalid = v.isInvalid);\n for(let key in validationDetails)(_validationDetails = validationDetails)[_key = key] || (_validationDetails[_key] = v.validationDetails[key]);\n }\n validationDetails.valid = !isInvalid;\n return {\n isInvalid: isInvalid,\n validationErrors: [\n ...errors\n ],\n validationDetails: validationDetails\n };\n}\n\n\nexport {$e5be200c675c3b3a$export$aca958c65c314e6c as VALID_VALIDITY_STATE, $e5be200c675c3b3a$export$dad6ae84456c676a as DEFAULT_VALIDATION_RESULT, $e5be200c675c3b3a$export$571b5131b7e65c11 as FormValidationContext, $e5be200c675c3b3a$export$a763b9476acd3eb as privateValidationStateProp, $e5be200c675c3b3a$export$fc1a364ae1f3ff10 as useFormValidationState, $e5be200c675c3b3a$export$75ee7c75d68f5b0e as mergeValidation};\n//# sourceMappingURL=useFormValidationState.module.js.map\n","import {setInteractionModality as $9Gacy$setInteractionModality} from \"@react-aria/interactions\";\nimport {useEffect as $9Gacy$useEffect} from \"react\";\nimport {useLayoutEffect as $9Gacy$useLayoutEffect, useEffectEvent as $9Gacy$useEffectEvent} from \"@react-aria/utils\";\n\n/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nfunction $e93e671b31057976$export$b8473d3665f3a75a(props, state, ref) {\n let { validationBehavior: validationBehavior, focus: focus } = props;\n // This is a useLayoutEffect so that it runs before the useEffect in useFormValidationState, which commits the validation change.\n (0, $9Gacy$useLayoutEffect)(()=>{\n if (validationBehavior === 'native' && (ref === null || ref === void 0 ? void 0 : ref.current) && !ref.current.disabled) {\n let errorMessage = state.realtimeValidation.isInvalid ? state.realtimeValidation.validationErrors.join(' ') || 'Invalid value.' : '';\n ref.current.setCustomValidity(errorMessage);\n // Prevent default tooltip for validation message.\n // https://bugzilla.mozilla.org/show_bug.cgi?id=605277\n if (!ref.current.hasAttribute('title')) ref.current.title = '';\n if (!state.realtimeValidation.isInvalid) state.updateValidation($e93e671b31057976$var$getNativeValidity(ref.current));\n }\n });\n let onReset = (0, $9Gacy$useEffectEvent)(()=>{\n state.resetValidation();\n });\n let onInvalid = (0, $9Gacy$useEffectEvent)((e)=>{\n var _ref_current;\n // Only commit validation if we are not already displaying one.\n // This avoids clearing server errors that the user didn't actually fix.\n if (!state.displayValidation.isInvalid) state.commitValidation();\n // Auto focus the first invalid input in a form, unless the error already had its default prevented.\n let form = ref === null || ref === void 0 ? void 0 : (_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.form;\n if (!e.defaultPrevented && ref && form && $e93e671b31057976$var$getFirstInvalidInput(form) === ref.current) {\n var _ref_current1;\n if (focus) focus();\n else (_ref_current1 = ref.current) === null || _ref_current1 === void 0 ? void 0 : _ref_current1.focus();\n // Always show focus ring.\n (0, $9Gacy$setInteractionModality)('keyboard');\n }\n // Prevent default browser error UI from appearing.\n e.preventDefault();\n });\n let onChange = (0, $9Gacy$useEffectEvent)(()=>{\n state.commitValidation();\n });\n (0, $9Gacy$useEffect)(()=>{\n let input = ref === null || ref === void 0 ? void 0 : ref.current;\n if (!input) return;\n let form = input.form;\n input.addEventListener('invalid', onInvalid);\n input.addEventListener('change', onChange);\n form === null || form === void 0 ? void 0 : form.addEventListener('reset', onReset);\n return ()=>{\n input.removeEventListener('invalid', onInvalid);\n input.removeEventListener('change', onChange);\n form === null || form === void 0 ? void 0 : form.removeEventListener('reset', onReset);\n };\n }, [\n ref,\n onInvalid,\n onChange,\n onReset,\n validationBehavior\n ]);\n}\nfunction $e93e671b31057976$var$getValidity(input) {\n // The native ValidityState object is live, meaning each property is a getter that returns the current state.\n // We need to create a snapshot of the validity state at the time this function is called to avoid unpredictable React renders.\n let validity = input.validity;\n return {\n badInput: validity.badInput,\n customError: validity.customError,\n patternMismatch: validity.patternMismatch,\n rangeOverflow: validity.rangeOverflow,\n rangeUnderflow: validity.rangeUnderflow,\n stepMismatch: validity.stepMismatch,\n tooLong: validity.tooLong,\n tooShort: validity.tooShort,\n typeMismatch: validity.typeMismatch,\n valueMissing: validity.valueMissing,\n valid: validity.valid\n };\n}\nfunction $e93e671b31057976$var$getNativeValidity(input) {\n return {\n isInvalid: !input.validity.valid,\n validationDetails: $e93e671b31057976$var$getValidity(input),\n validationErrors: input.validationMessage ? [\n input.validationMessage\n ] : []\n };\n}\nfunction $e93e671b31057976$var$getFirstInvalidInput(form) {\n for(let i = 0; i < form.elements.length; i++){\n let element = form.elements[i];\n if (!element.validity.valid) return element;\n }\n return null;\n}\n\n\nexport {$e93e671b31057976$export$b8473d3665f3a75a as useFormValidation};\n//# sourceMappingURL=useFormValidation.module.js.map\n"],"names":["$e5be200c675c3b3a$export$aca958c65c314e6c","$e5be200c675c3b3a$var$CUSTOM_VALIDITY_STATE","$e5be200c675c3b3a$export$dad6ae84456c676a","$e5be200c675c3b3a$export$571b5131b7e65c11","$69F46$createContext","$e5be200c675c3b3a$export$a763b9476acd3eb","$e5be200c675c3b3a$export$fc1a364ae1f3ff10","props","realtimeValidation","displayValidation","updateValidation","resetValidation","commitValidation","$e5be200c675c3b3a$var$useFormValidationStateImpl","isInvalid","validationState","name","value","builtinValidation","validate","validationBehavior","controlledError","clientError","$69F46$useMemo","validateErrors","$e5be200c675c3b3a$var$runValidate","$e5be200c675c3b3a$var$getValidationResult","serverErrors","$69F46$useContext","serverErrorMessages","$e5be200c675c3b3a$var$asArray","lastServerErrors","setLastServerErrors","$69F46$useState","isServerErrorCleared","setServerErrorCleared","serverError","nextValidation","$69F46$useRef","currentValidity","setCurrentValidity","lastError","commitQueued","setCommitQueued","error","$e5be200c675c3b3a$var$isEqualValidation","$69F46$useEffect","v","e","errors","b","a","i","k","$e93e671b31057976$export$b8473d3665f3a75a","state","ref","focus","$9Gacy$useLayoutEffect","errorMessage","$e93e671b31057976$var$getNativeValidity","onReset","$9Gacy$useEffectEvent","onInvalid","_ref_current","form","$e93e671b31057976$var$getFirstInvalidInput","_ref_current1","$9Gacy$setInteractionModality","onChange","$9Gacy$useEffect","input","$e93e671b31057976$var$getValidity","validity","element"],"mappings":";;;AAaA,MAAMA,IAA4C;AAAA,EAC9C,UAAU;AAAA,EACV,aAAa;AAAA,EACb,iBAAiB;AAAA,EACjB,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,cAAc;AAAA,EACd,S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L, c as M } from "./utils-DSssdw4e.js";
2
2
  import { useState as G, useRef as N, useEffect as b, useMemo as x } from "react";
3
3
  let u = !1, p = 0;
4
4
  function g() {
@@ -82,4 +82,4 @@ function O(d) {
82
82
  export {
83
83
  O as $
84
84
  };
85
- //# sourceMappingURL=useHover-CbdI4C89.js.map
85
+ //# sourceMappingURL=useHover-3Zee5Ds5.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useHover-CbdI4C89.js","sources":["../../../../node_modules/.pnpm/@react-aria+interactions@3.25.3_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/interactions/dist/useHover.mjs"],"sourcesContent":["import {useGlobalListeners as $AWxnT$useGlobalListeners, getOwnerDocument as $AWxnT$getOwnerDocument, nodeContains as $AWxnT$nodeContains} from \"@react-aria/utils\";\nimport {useState as $AWxnT$useState, useRef as $AWxnT$useRef, useEffect as $AWxnT$useEffect, useMemo as $AWxnT$useMemo} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ // Portions of the code in this file are based on code from react.\n// Original licensing for the following can be found in the\n// NOTICE file in the root directory of this source tree.\n// See https://github.com/facebook/react/tree/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions\n\n\n// iOS fires onPointerEnter twice: once with pointerType=\"touch\" and again with pointerType=\"mouse\".\n// We want to ignore these emulated events so they do not trigger hover behavior.\n// See https://bugs.webkit.org/show_bug.cgi?id=214609.\nlet $6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = false;\nlet $6179b936705e76d3$var$hoverCount = 0;\nfunction $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents() {\n $6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = true;\n // Clear globalIgnoreEmulatedMouseEvents after a short timeout. iOS fires onPointerEnter\n // with pointerType=\"mouse\" immediately after onPointerUp and before onFocus. On other\n // devices that don't have this quirk, we don't want to ignore a mouse hover sometime in\n // the distant future because a user previously touched the element.\n setTimeout(()=>{\n $6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = false;\n }, 50);\n}\nfunction $6179b936705e76d3$var$handleGlobalPointerEvent(e) {\n if (e.pointerType === 'touch') $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents();\n}\nfunction $6179b936705e76d3$var$setupGlobalTouchEvents() {\n if (typeof document === 'undefined') return;\n if (typeof PointerEvent !== 'undefined') document.addEventListener('pointerup', $6179b936705e76d3$var$handleGlobalPointerEvent);\n else if (process.env.NODE_ENV === 'test') document.addEventListener('touchend', $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents);\n $6179b936705e76d3$var$hoverCount++;\n return ()=>{\n $6179b936705e76d3$var$hoverCount--;\n if ($6179b936705e76d3$var$hoverCount > 0) return;\n if (typeof PointerEvent !== 'undefined') document.removeEventListener('pointerup', $6179b936705e76d3$var$handleGlobalPointerEvent);\n else if (process.env.NODE_ENV === 'test') document.removeEventListener('touchend', $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents);\n };\n}\nfunction $6179b936705e76d3$export$ae780daf29e6d456(props) {\n let { onHoverStart: onHoverStart, onHoverChange: onHoverChange, onHoverEnd: onHoverEnd, isDisabled: isDisabled } = props;\n let [isHovered, setHovered] = (0, $AWxnT$useState)(false);\n let state = (0, $AWxnT$useRef)({\n isHovered: false,\n ignoreEmulatedMouseEvents: false,\n pointerType: '',\n target: null\n }).current;\n (0, $AWxnT$useEffect)($6179b936705e76d3$var$setupGlobalTouchEvents, []);\n let { addGlobalListener: addGlobalListener, removeAllGlobalListeners: removeAllGlobalListeners } = (0, $AWxnT$useGlobalListeners)();\n let { hoverProps: hoverProps, triggerHoverEnd: triggerHoverEnd } = (0, $AWxnT$useMemo)(()=>{\n let triggerHoverStart = (event, pointerType)=>{\n state.pointerType = pointerType;\n if (isDisabled || pointerType === 'touch' || state.isHovered || !event.currentTarget.contains(event.target)) return;\n state.isHovered = true;\n let target = event.currentTarget;\n state.target = target;\n // When an element that is hovered over is removed, no pointerleave event is fired by the browser,\n // even though the originally hovered target may have shrunk in size so it is no longer hovered.\n // However, a pointerover event will be fired on the new target the mouse is over.\n // In Chrome this happens immediately. In Safari and Firefox, it happens upon moving the mouse one pixel.\n addGlobalListener((0, $AWxnT$getOwnerDocument)(event.target), 'pointerover', (e)=>{\n if (state.isHovered && state.target && !(0, $AWxnT$nodeContains)(state.target, e.target)) triggerHoverEnd(e, e.pointerType);\n }, {\n capture: true\n });\n if (onHoverStart) onHoverStart({\n type: 'hoverstart',\n target: target,\n pointerType: pointerType\n });\n if (onHoverChange) onHoverChange(true);\n setHovered(true);\n };\n let triggerHoverEnd = (event, pointerType)=>{\n let target = state.target;\n state.pointerType = '';\n state.target = null;\n if (pointerType === 'touch' || !state.isHovered || !target) return;\n state.isHovered = false;\n removeAllGlobalListeners();\n if (onHoverEnd) onHoverEnd({\n type: 'hoverend',\n target: target,\n pointerType: pointerType\n });\n if (onHoverChange) onHoverChange(false);\n setHovered(false);\n };\n let hoverProps = {};\n if (typeof PointerEvent !== 'undefined') {\n hoverProps.onPointerEnter = (e)=>{\n if ($6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents && e.pointerType === 'mouse') return;\n triggerHoverStart(e, e.pointerType);\n };\n hoverProps.onPointerLeave = (e)=>{\n if (!isDisabled && e.currentTarget.contains(e.target)) triggerHoverEnd(e, e.pointerType);\n };\n } else if (process.env.NODE_ENV === 'test') {\n hoverProps.onTouchStart = ()=>{\n state.ignoreEmulatedMouseEvents = true;\n };\n hoverProps.onMouseEnter = (e)=>{\n if (!state.ignoreEmulatedMouseEvents && !$6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents) triggerHoverStart(e, 'mouse');\n state.ignoreEmulatedMouseEvents = false;\n };\n hoverProps.onMouseLeave = (e)=>{\n if (!isDisabled && e.currentTarget.contains(e.target)) triggerHoverEnd(e, 'mouse');\n };\n }\n return {\n hoverProps: hoverProps,\n triggerHoverEnd: triggerHoverEnd\n };\n }, [\n onHoverStart,\n onHoverChange,\n onHoverEnd,\n isDisabled,\n state,\n addGlobalListener,\n removeAllGlobalListeners\n ]);\n (0, $AWxnT$useEffect)(()=>{\n // Call the triggerHoverEnd as soon as isDisabled changes to true\n // Safe to call triggerHoverEnd, it will early return if we aren't currently hovering\n if (isDisabled) triggerHoverEnd({\n currentTarget: state.target\n }, state.pointerType);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n isDisabled\n ]);\n return {\n hoverProps: hoverProps,\n isHovered: isHovered\n };\n}\n\n\nexport {$6179b936705e76d3$export$ae780daf29e6d456 as useHover};\n//# sourceMappingURL=useHover.module.js.map\n"],"names":["$6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents","$6179b936705e76d3$var$hoverCount","$6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents","$6179b936705e76d3$var$handleGlobalPointerEvent","e","$6179b936705e76d3$var$setupGlobalTouchEvents","$6179b936705e76d3$export$ae780daf29e6d456","props","onHoverStart","onHoverChange","onHoverEnd","isDisabled","isHovered","setHovered","$AWxnT$useState","state","$AWxnT$useRef","$AWxnT$useEffect","addGlobalListener","removeAllGlobalListeners","$AWxnT$useGlobalListeners","hoverProps","triggerHoverEnd","$AWxnT$useMemo","triggerHoverStart","event","pointerType","target","$AWxnT$getOwnerDocument","$AWxnT$nodeContains"],"mappings":";;AAsBA,IAAIA,IAAwD,IACxDC,IAAmC;AACvC,SAASC,IAA2D;AAChE,EAAAF,IAAwD,IAKxD,WAAW,MAAI;AACX,IAAAA,IAAwD;AAAA,EAC3D,GAAE,EAAE;AACT;AACA,SAASG,EAA+CC,GAA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BAAiBC;AAAA,IACpB;AAAA,EACT,GAAO;AAAA,IACCd;AAAA,IACAC;AAAA,IACAC;AAAA,IACAC;AAAA,IACAI;AAAA,IACAG;AAAA,IACAC;AAAA,EACR,CAAK;AACD,SAAIF,EAAkB,MAAI;AAGtB,IAAIN,KAAYW,EAAgB;AAAA,MAC5B,eAAeP,EAAM;AAAA,IACjC,GAAWA,EAAM,WAAW;AAAA,EAE5B,GAAO;AAAA,IACCJ;AAAA,EACR,CAAK,GACM;AAAA,IACH,YAAYU;AAAA,IACZ,WAAWT;AAAA,EACd;AACL;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"useHover-3Zee5Ds5.js","sources":["../../../../node_modules/.pnpm/@react-aria+interactions@3.25.3_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/interactions/dist/useHover.mjs"],"sourcesContent":["import {useGlobalListeners as $AWxnT$useGlobalListeners, getOwnerDocument as $AWxnT$getOwnerDocument, nodeContains as $AWxnT$nodeContains} from \"@react-aria/utils\";\nimport {useState as $AWxnT$useState, useRef as $AWxnT$useRef, useEffect as $AWxnT$useEffect, useMemo as $AWxnT$useMemo} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ // Portions of the code in this file are based on code from react.\n// Original licensing for the following can be found in the\n// NOTICE file in the root directory of this source tree.\n// See https://github.com/facebook/react/tree/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions\n\n\n// iOS fires onPointerEnter twice: once with pointerType=\"touch\" and again with pointerType=\"mouse\".\n// We want to ignore these emulated events so they do not trigger hover behavior.\n// See https://bugs.webkit.org/show_bug.cgi?id=214609.\nlet $6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = false;\nlet $6179b936705e76d3$var$hoverCount = 0;\nfunction $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents() {\n $6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = true;\n // Clear globalIgnoreEmulatedMouseEvents after a short timeout. iOS fires onPointerEnter\n // with pointerType=\"mouse\" immediately after onPointerUp and before onFocus. On other\n // devices that don't have this quirk, we don't want to ignore a mouse hover sometime in\n // the distant future because a user previously touched the element.\n setTimeout(()=>{\n $6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = false;\n }, 50);\n}\nfunction $6179b936705e76d3$var$handleGlobalPointerEvent(e) {\n if (e.pointerType === 'touch') $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents();\n}\nfunction $6179b936705e76d3$var$setupGlobalTouchEvents() {\n if (typeof document === 'undefined') return;\n if (typeof PointerEvent !== 'undefined') document.addEventListener('pointerup', $6179b936705e76d3$var$handleGlobalPointerEvent);\n else if (process.env.NODE_ENV === 'test') document.addEventListener('touchend', $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents);\n $6179b936705e76d3$var$hoverCount++;\n return ()=>{\n $6179b936705e76d3$var$hoverCount--;\n if ($6179b936705e76d3$var$hoverCount > 0) return;\n if (typeof PointerEvent !== 'undefined') document.removeEventListener('pointerup', $6179b936705e76d3$var$handleGlobalPointerEvent);\n else if (process.env.NODE_ENV === 'test') document.removeEventListener('touchend', $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents);\n };\n}\nfunction $6179b936705e76d3$export$ae780daf29e6d456(props) {\n let { onHoverStart: onHoverStart, onHoverChange: onHoverChange, onHoverEnd: onHoverEnd, isDisabled: isDisabled } = props;\n let [isHovered, setHovered] = (0, $AWxnT$useState)(false);\n let state = (0, $AWxnT$useRef)({\n isHovered: false,\n ignoreEmulatedMouseEvents: false,\n pointerType: '',\n target: null\n }).current;\n (0, $AWxnT$useEffect)($6179b936705e76d3$var$setupGlobalTouchEvents, []);\n let { addGlobalListener: addGlobalListener, removeAllGlobalListeners: removeAllGlobalListeners } = (0, $AWxnT$useGlobalListeners)();\n let { hoverProps: hoverProps, triggerHoverEnd: triggerHoverEnd } = (0, $AWxnT$useMemo)(()=>{\n let triggerHoverStart = (event, pointerType)=>{\n state.pointerType = pointerType;\n if (isDisabled || pointerType === 'touch' || state.isHovered || !event.currentTarget.contains(event.target)) return;\n state.isHovered = true;\n let target = event.currentTarget;\n state.target = target;\n // When an element that is hovered over is removed, no pointerleave event is fired by the browser,\n // even though the originally hovered target may have shrunk in size so it is no longer hovered.\n // However, a pointerover event will be fired on the new target the mouse is over.\n // In Chrome this happens immediately. In Safari and Firefox, it happens upon moving the mouse one pixel.\n addGlobalListener((0, $AWxnT$getOwnerDocument)(event.target), 'pointerover', (e)=>{\n if (state.isHovered && state.target && !(0, $AWxnT$nodeContains)(state.target, e.target)) triggerHoverEnd(e, e.pointerType);\n }, {\n capture: true\n });\n if (onHoverStart) onHoverStart({\n type: 'hoverstart',\n target: target,\n pointerType: pointerType\n });\n if (onHoverChange) onHoverChange(true);\n setHovered(true);\n };\n let triggerHoverEnd = (event, pointerType)=>{\n let target = state.target;\n state.pointerType = '';\n state.target = null;\n if (pointerType === 'touch' || !state.isHovered || !target) return;\n state.isHovered = false;\n removeAllGlobalListeners();\n if (onHoverEnd) onHoverEnd({\n type: 'hoverend',\n target: target,\n pointerType: pointerType\n });\n if (onHoverChange) onHoverChange(false);\n setHovered(false);\n };\n let hoverProps = {};\n if (typeof PointerEvent !== 'undefined') {\n hoverProps.onPointerEnter = (e)=>{\n if ($6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents && e.pointerType === 'mouse') return;\n triggerHoverStart(e, e.pointerType);\n };\n hoverProps.onPointerLeave = (e)=>{\n if (!isDisabled && e.currentTarget.contains(e.target)) triggerHoverEnd(e, e.pointerType);\n };\n } else if (process.env.NODE_ENV === 'test') {\n hoverProps.onTouchStart = ()=>{\n state.ignoreEmulatedMouseEvents = true;\n };\n hoverProps.onMouseEnter = (e)=>{\n if (!state.ignoreEmulatedMouseEvents && !$6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents) triggerHoverStart(e, 'mouse');\n state.ignoreEmulatedMouseEvents = false;\n };\n hoverProps.onMouseLeave = (e)=>{\n if (!isDisabled && e.currentTarget.contains(e.target)) triggerHoverEnd(e, 'mouse');\n };\n }\n return {\n hoverProps: hoverProps,\n triggerHoverEnd: triggerHoverEnd\n };\n }, [\n onHoverStart,\n onHoverChange,\n onHoverEnd,\n isDisabled,\n state,\n addGlobalListener,\n removeAllGlobalListeners\n ]);\n (0, $AWxnT$useEffect)(()=>{\n // Call the triggerHoverEnd as soon as isDisabled changes to true\n // Safe to call triggerHoverEnd, it will early return if we aren't currently hovering\n if (isDisabled) triggerHoverEnd({\n currentTarget: state.target\n }, state.pointerType);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n isDisabled\n ]);\n return {\n hoverProps: hoverProps,\n isHovered: isHovered\n };\n}\n\n\nexport {$6179b936705e76d3$export$ae780daf29e6d456 as useHover};\n//# sourceMappingURL=useHover.module.js.map\n"],"names":["$6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents","$6179b936705e76d3$var$hoverCount","$6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents","$6179b936705e76d3$var$handleGlobalPointerEvent","e","$6179b936705e76d3$var$setupGlobalTouchEvents","$6179b936705e76d3$export$ae780daf29e6d456","props","onHoverStart","onHoverChange","onHoverEnd","isDisabled","isHovered","setHovered","$AWxnT$useState","state","$AWxnT$useRef","$AWxnT$useEffect","addGlobalListener","removeAllGlobalListeners","$AWxnT$useGlobalListeners","hoverProps","triggerHoverEnd","$AWxnT$useMemo","triggerHoverStart","event","pointerType","target","$AWxnT$getOwnerDocument","$AWxnT$nodeContains"],"mappings":";;AAsBA,IAAIA,IAAwD,IACxDC,IAAmC;AAC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C3B,MAAI,CAACV,KAAc,EAAE,cAAc,SAAS,EAAE,MAAM,KAAGW,EAAgB,GAAG,OAAO;AAAA,IACpF,IAEE;AAAA,MACH,YAAYD;AAAA,MACZ,iBAAiBC;AAAA,IACpB;AAAA,EACT,GAAO;AAAA,IACCd;AAAA,IACAC;AAAA,IACAC;AAAA,IACAC;AAAA,IACAI;AAAA,IACAG;AAAA,IACAC;AAAA,EACR,CAAK;AACD,SAAIF,EAAkB,MAAI;AAGtB,IAAIN,KAAYW,EAAgB;AAAA,MAC5B,eAAeP,EAAM;AAAA,IACjC,GAAWA,EAAM,WAAW;AAAA,EAE5B,GAAO;AAAA,IACCJ;AAAA,EACR,CAAK,GACM;AAAA,IACH,YAAYU;AAAA,IACZ,WAAWT;AAAA,EACd;AACL;","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const g=require("./utils-BzPwFwlw.js"),i=require("react");let d=!1,c=0;function E(){d=!0,setTimeout(()=>{d=!1},50)}function h(f){f.pointerType==="touch"&&E()}function L(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",h):process.env.NODE_ENV==="test"&&document.addEventListener("touchend",E),c++,()=>{c--,!(c>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",h):process.env.NODE_ENV==="test"&&document.removeEventListener("touchend",E))}}function M(f){let{onHoverStart:l,onHoverChange:s,onHoverEnd:v,isDisabled:r}=f,[T,$]=i.useState(!1),t=i.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;i.useEffect(L,[]);let{addGlobalListener:b,removeAllGlobalListeners:m}=g.$03deb23ff14920c4$export$4eaf04e54aa8eed6(),{hoverProps:y,triggerHoverEnd:P}=i.useMemo(()=>{let H=(e,n)=>{if(t.pointerType=n,r||n==="touch"||t.isHovered||!e.currentTarget.contains(e.target))return;t.isHovered=!0;let a=e.currentTarget;t.target=a,b(g.$431fbd86ca7dc216$export$b204af158042fbac(e.target),"pointerover",p=>{t.isHovered&&t.target&&!g.$d4ee10de306f2510$export$4282f70798064fe0(t.target,p.target)&&u(p,p.pointerType)},{capture:!0}),l&&l({type:"hoverstart",target:a,pointerType:n}),s&&s(!0),$(!0)},u=(e,n)=>{let a=t.target;t.pointerType="",t.target=null,!(n==="touch"||!t.isHovered||!a)&&(t.isHovered=!1,m(),v&&v({type:"hoverend",target:a,pointerType:n}),s&&s(!1),$(!1))},o={};return typeof PointerEvent<"u"?(o.onPointerEnter=e=>{d&&e.pointerType==="mouse"||H(e,e.pointerType)},o.onPointerLeave=e=>{!r&&e.currentTarget.contains(e.target)&&u(e,e.pointerType)}):process.env.NODE_ENV==="test"&&(o.onTouchStart=()=>{t.ignoreEmulatedMouseEvents=!0},o.onMouseEnter=e=>{!t.ignoreEmulatedMouseEvents&&!d&&H(e,"mouse"),t.ignoreEmulatedMouseEvents=!1},o.onMouseLeave=e=>{!r&&e.currentTarget.contains(e.target)&&u(e,"mouse")}),{hoverProps:o,triggerHoverEnd:u}},[l,s,v,r,t,b,m]);return i.useEffect(()=>{r&&P({currentTarget:t.target},t.pointerType)},[r]),{hoverProps:y,isHovered:T}}exports.$6179b936705e76d3$export$ae780daf29e6d456=M;
2
- //# sourceMappingURL=useHover-ByIffPdS.js.map
1
+ "use strict";const g=require("./utils-D6ZV0jyp.js"),i=require("react");let d=!1,c=0;function E(){d=!0,setTimeout(()=>{d=!1},50)}function h(f){f.pointerType==="touch"&&E()}function L(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",h):process.env.NODE_ENV==="test"&&document.addEventListener("touchend",E),c++,()=>{c--,!(c>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",h):process.env.NODE_ENV==="test"&&document.removeEventListener("touchend",E))}}function M(f){let{onHoverStart:l,onHoverChange:s,onHoverEnd:v,isDisabled:r}=f,[T,$]=i.useState(!1),t=i.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;i.useEffect(L,[]);let{addGlobalListener:b,removeAllGlobalListeners:m}=g.$03deb23ff14920c4$export$4eaf04e54aa8eed6(),{hoverProps:y,triggerHoverEnd:P}=i.useMemo(()=>{let H=(e,n)=>{if(t.pointerType=n,r||n==="touch"||t.isHovered||!e.currentTarget.contains(e.target))return;t.isHovered=!0;let a=e.currentTarget;t.target=a,b(g.$431fbd86ca7dc216$export$b204af158042fbac(e.target),"pointerover",p=>{t.isHovered&&t.target&&!g.$d4ee10de306f2510$export$4282f70798064fe0(t.target,p.target)&&u(p,p.pointerType)},{capture:!0}),l&&l({type:"hoverstart",target:a,pointerType:n}),s&&s(!0),$(!0)},u=(e,n)=>{let a=t.target;t.pointerType="",t.target=null,!(n==="touch"||!t.isHovered||!a)&&(t.isHovered=!1,m(),v&&v({type:"hoverend",target:a,pointerType:n}),s&&s(!1),$(!1))},o={};return typeof PointerEvent<"u"?(o.onPointerEnter=e=>{d&&e.pointerType==="mouse"||H(e,e.pointerType)},o.onPointerLeave=e=>{!r&&e.currentTarget.contains(e.target)&&u(e,e.pointerType)}):process.env.NODE_ENV==="test"&&(o.onTouchStart=()=>{t.ignoreEmulatedMouseEvents=!0},o.onMouseEnter=e=>{!t.ignoreEmulatedMouseEvents&&!d&&H(e,"mouse"),t.ignoreEmulatedMouseEvents=!1},o.onMouseLeave=e=>{!r&&e.currentTarget.contains(e.target)&&u(e,"mouse")}),{hoverProps:o,triggerHoverEnd:u}},[l,s,v,r,t,b,m]);return i.useEffect(()=>{r&&P({currentTarget:t.target},t.pointerType)},[r]),{hoverProps:y,isHovered:T}}exports.$6179b936705e76d3$export$ae780daf29e6d456=M;
2
+ //# sourceMappingURL=useHover-BxTJz4Qm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useHover-ByIffPdS.js","sources":["../../../../node_modules/.pnpm/@react-aria+interactions@3.25.3_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/interactions/dist/useHover.mjs"],"sourcesContent":["import {useGlobalListeners as $AWxnT$useGlobalListeners, getOwnerDocument as $AWxnT$getOwnerDocument, nodeContains as $AWxnT$nodeContains} from \"@react-aria/utils\";\nimport {useState as $AWxnT$useState, useRef as $AWxnT$useRef, useEffect as $AWxnT$useEffect, useMemo as $AWxnT$useMemo} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ // Portions of the code in this file are based on code from react.\n// Original licensing for the following can be found in the\n// NOTICE file in the root directory of this source tree.\n// See https://github.com/facebook/react/tree/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions\n\n\n// iOS fires onPointerEnter twice: once with pointerType=\"touch\" and again with pointerType=\"mouse\".\n// We want to ignore these emulated events so they do not trigger hover behavior.\n// See https://bugs.webkit.org/show_bug.cgi?id=214609.\nlet $6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = false;\nlet $6179b936705e76d3$var$hoverCount = 0;\nfunction $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents() {\n $6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = true;\n // Clear globalIgnoreEmulatedMouseEvents after a short timeout. iOS fires onPointerEnter\n // with pointerType=\"mouse\" immediately after onPointerUp and before onFocus. On other\n // devices that don't have this quirk, we don't want to ignore a mouse hover sometime in\n // the distant future because a user previously touched the element.\n setTimeout(()=>{\n $6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = false;\n }, 50);\n}\nfunction $6179b936705e76d3$var$handleGlobalPointerEvent(e) {\n if (e.pointerType === 'touch') $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents();\n}\nfunction $6179b936705e76d3$var$setupGlobalTouchEvents() {\n if (typeof document === 'undefined') return;\n if (typeof PointerEvent !== 'undefined') document.addEventListener('pointerup', $6179b936705e76d3$var$handleGlobalPointerEvent);\n else if (process.env.NODE_ENV === 'test') document.addEventListener('touchend', $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents);\n $6179b936705e76d3$var$hoverCount++;\n return ()=>{\n $6179b936705e76d3$var$hoverCount--;\n if ($6179b936705e76d3$var$hoverCount > 0) return;\n if (typeof PointerEvent !== 'undefined') document.removeEventListener('pointerup', $6179b936705e76d3$var$handleGlobalPointerEvent);\n else if (process.env.NODE_ENV === 'test') document.removeEventListener('touchend', $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents);\n };\n}\nfunction $6179b936705e76d3$export$ae780daf29e6d456(props) {\n let { onHoverStart: onHoverStart, onHoverChange: onHoverChange, onHoverEnd: onHoverEnd, isDisabled: isDisabled } = props;\n let [isHovered, setHovered] = (0, $AWxnT$useState)(false);\n let state = (0, $AWxnT$useRef)({\n isHovered: false,\n ignoreEmulatedMouseEvents: false,\n pointerType: '',\n target: null\n }).current;\n (0, $AWxnT$useEffect)($6179b936705e76d3$var$setupGlobalTouchEvents, []);\n let { addGlobalListener: addGlobalListener, removeAllGlobalListeners: removeAllGlobalListeners } = (0, $AWxnT$useGlobalListeners)();\n let { hoverProps: hoverProps, triggerHoverEnd: triggerHoverEnd } = (0, $AWxnT$useMemo)(()=>{\n let triggerHoverStart = (event, pointerType)=>{\n state.pointerType = pointerType;\n if (isDisabled || pointerType === 'touch' || state.isHovered || !event.currentTarget.contains(event.target)) return;\n state.isHovered = true;\n let target = event.currentTarget;\n state.target = target;\n // When an element that is hovered over is removed, no pointerleave event is fired by the browser,\n // even though the originally hovered target may have shrunk in size so it is no longer hovered.\n // However, a pointerover event will be fired on the new target the mouse is over.\n // In Chrome this happens immediately. In Safari and Firefox, it happens upon moving the mouse one pixel.\n addGlobalListener((0, $AWxnT$getOwnerDocument)(event.target), 'pointerover', (e)=>{\n if (state.isHovered && state.target && !(0, $AWxnT$nodeContains)(state.target, e.target)) triggerHoverEnd(e, e.pointerType);\n }, {\n capture: true\n });\n if (onHoverStart) onHoverStart({\n type: 'hoverstart',\n target: target,\n pointerType: pointerType\n });\n if (onHoverChange) onHoverChange(true);\n setHovered(true);\n };\n let triggerHoverEnd = (event, pointerType)=>{\n let target = state.target;\n state.pointerType = '';\n state.target = null;\n if (pointerType === 'touch' || !state.isHovered || !target) return;\n state.isHovered = false;\n removeAllGlobalListeners();\n if (onHoverEnd) onHoverEnd({\n type: 'hoverend',\n target: target,\n pointerType: pointerType\n });\n if (onHoverChange) onHoverChange(false);\n setHovered(false);\n };\n let hoverProps = {};\n if (typeof PointerEvent !== 'undefined') {\n hoverProps.onPointerEnter = (e)=>{\n if ($6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents && e.pointerType === 'mouse') return;\n triggerHoverStart(e, e.pointerType);\n };\n hoverProps.onPointerLeave = (e)=>{\n if (!isDisabled && e.currentTarget.contains(e.target)) triggerHoverEnd(e, e.pointerType);\n };\n } else if (process.env.NODE_ENV === 'test') {\n hoverProps.onTouchStart = ()=>{\n state.ignoreEmulatedMouseEvents = true;\n };\n hoverProps.onMouseEnter = (e)=>{\n if (!state.ignoreEmulatedMouseEvents && !$6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents) triggerHoverStart(e, 'mouse');\n state.ignoreEmulatedMouseEvents = false;\n };\n hoverProps.onMouseLeave = (e)=>{\n if (!isDisabled && e.currentTarget.contains(e.target)) triggerHoverEnd(e, 'mouse');\n };\n }\n return {\n hoverProps: hoverProps,\n triggerHoverEnd: triggerHoverEnd\n };\n }, [\n onHoverStart,\n onHoverChange,\n onHoverEnd,\n isDisabled,\n state,\n addGlobalListener,\n removeAllGlobalListeners\n ]);\n (0, $AWxnT$useEffect)(()=>{\n // Call the triggerHoverEnd as soon as isDisabled changes to true\n // Safe to call triggerHoverEnd, it will early return if we aren't currently hovering\n if (isDisabled) triggerHoverEnd({\n currentTarget: state.target\n }, state.pointerType);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n isDisabled\n ]);\n return {\n hoverProps: hoverProps,\n isHovered: isHovered\n };\n}\n\n\nexport {$6179b936705e76d3$export$ae780daf29e6d456 as useHover};\n//# sourceMappingURL=useHover.module.js.map\n"],"names":["$6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents","$6179b936705e76d3$var$hoverCount","$6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents","$6179b936705e76d3$var$handleGlobalPointerEvent","e","$6179b936705e76d3$var$setupGlobalTouchEvents","$6179b936705e76d3$export$ae780daf29e6d456","props","onHoverStart","onHoverChange","onHoverEnd","isDisabled","isHovered","setHovered","$AWxnT$useState","state","$AWxnT$useRef","$AWxnT$useEffect","addGlobalListener","removeAllGlobalListeners","$AWxnT$useGlobalListeners","hoverProps","triggerHoverEnd","$AWxnT$useMemo","triggerHoverStart","event","pointerType","target","$AWxnT$getOwnerDocument","$AWxnT$nodeContains"],"mappings":"uEAsBA,IAAIA,EAAwD,GACxDC,EAAmC,EACvC,SAASC,GAA2D,CAChEF,EAAwD,GAKxD,WAAW,IAAI,CACXA,EAAwD,EAC3D,EAAE,EAAE,CACT,CACA,SAASG,EAA+CC,EAAG,CACnDA,EAAE,cAAgB,SAASF,EAA0D,CAC7F,CACA,SAASG,GAA+C,CACpD,GAAI,SAAO,SAAa,KACxB,OAAI,OAAO,aAAiB,IAAa,SAAS,iBAAiB,YAAaF,CAA8C,EACrH,QAAQ,IAAI,WAAa,QAAQ,SAAS,iBAAiB,WAAYD,CAAwD,EACxID,IACO,IAAI,CACPA,IACI,EAAAA,EAAmC,KACnC,OAAO,aAAiB,IAAa,SAAS,oBAAoB,YAAaE,CAA8C,EACxH,QAAQ,IAAI,WAAa,QAAQ,SAAS,oBAAoB,WAAYD,CAAwD,EAC9I,CACL,CACA,SAASI,EAA0CC,EAAO,CACtD,GAAI,CAAE,aAAcC,EAAc,cAAeC,EAA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E,EACnB,OAAI,OAAO,aAAiB,KACxBA,EAAW,eAAkB,GAAI,CACzBrB,GAAyD,EAAE,cAAgB,SAC/EwB,EAAkB,EAAG,EAAE,WAAW,CACrC,EACDH,EAAW,eAAkB,GAAI,CACzB,CAACV,GAAc,EAAE,cAAc,SAAS,EAAE,MAAM,GAAGW,EAAgB,EAAG,EAAE,WAAW,CAC1F,GACM,QAAQ,IAAI,WAAa,SAChCD,EAAW,aAAe,IAAI,CAC1BN,EAAM,0BAA4B,EACrC,EACDM,EAAW,aAAgB,GAAI,CACvB,CAACN,EAAM,2BAA6B,CAACf,GAAuDwB,EAAkB,EAAG,OAAO,EAC5HT,EAAM,0BAA4B,EACrC,EACDM,EAAW,aAAgB,GAAI,CACvB,CAACV,GAAc,EAAE,cAAc,SAAS,EAAE,MAAM,GAAGW,EAAgB,EAAG,OAAO,CACpF,GAEE,CACH,WAAYD,EACZ,gBAAiBC,CACpB,CACT,EAAO,CACCd,EACAC,EACAC,EACAC,EACAI,EACAG,EACAC,CACR,CAAK,EACD,OAAIF,EAAgB,UAAE,IAAI,CAGlBN,GAAYW,EAAgB,CAC5B,cAAeP,EAAM,MACjC,EAAWA,EAAM,WAAW,CAE5B,EAAO,CACCJ,CACR,CAAK,EACM,CACH,WAAYU,EACZ,UAAWT,CACd,CACL","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"useHover-BxTJz4Qm.js","sources":["../../../../node_modules/.pnpm/@react-aria+interactions@3.25.3_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/interactions/dist/useHover.mjs"],"sourcesContent":["import {useGlobalListeners as $AWxnT$useGlobalListeners, getOwnerDocument as $AWxnT$getOwnerDocument, nodeContains as $AWxnT$nodeContains} from \"@react-aria/utils\";\nimport {useState as $AWxnT$useState, useRef as $AWxnT$useRef, useEffect as $AWxnT$useEffect, useMemo as $AWxnT$useMemo} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ // Portions of the code in this file are based on code from react.\n// Original licensing for the following can be found in the\n// NOTICE file in the root directory of this source tree.\n// See https://github.com/facebook/react/tree/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions\n\n\n// iOS fires onPointerEnter twice: once with pointerType=\"touch\" and again with pointerType=\"mouse\".\n// We want to ignore these emulated events so they do not trigger hover behavior.\n// See https://bugs.webkit.org/show_bug.cgi?id=214609.\nlet $6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = false;\nlet $6179b936705e76d3$var$hoverCount = 0;\nfunction $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents() {\n $6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = true;\n // Clear globalIgnoreEmulatedMouseEvents after a short timeout. iOS fires onPointerEnter\n // with pointerType=\"mouse\" immediately after onPointerUp and before onFocus. On other\n // devices that don't have this quirk, we don't want to ignore a mouse hover sometime in\n // the distant future because a user previously touched the element.\n setTimeout(()=>{\n $6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = false;\n }, 50);\n}\nfunction $6179b936705e76d3$var$handleGlobalPointerEvent(e) {\n if (e.pointerType === 'touch') $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents();\n}\nfunction $6179b936705e76d3$var$setupGlobalTouchEvents() {\n if (typeof document === 'undefined') return;\n if (typeof PointerEvent !== 'undefined') document.addEventListener('pointerup', $6179b936705e76d3$var$handleGlobalPointerEvent);\n else if (process.env.NODE_ENV === 'test') document.addEventListener('touchend', $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents);\n $6179b936705e76d3$var$hoverCount++;\n return ()=>{\n $6179b936705e76d3$var$hoverCount--;\n if ($6179b936705e76d3$var$hoverCount > 0) return;\n if (typeof PointerEvent !== 'undefined') document.removeEventListener('pointerup', $6179b936705e76d3$var$handleGlobalPointerEvent);\n else if (process.env.NODE_ENV === 'test') document.removeEventListener('touchend', $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents);\n };\n}\nfunction $6179b936705e76d3$export$ae780daf29e6d456(props) {\n let { onHoverStart: onHoverStart, onHoverChange: onHoverChange, onHoverEnd: onHoverEnd, isDisabled: isDisabled } = props;\n let [isHovered, setHovered] = (0, $AWxnT$useState)(false);\n let state = (0, $AWxnT$useRef)({\n isHovered: false,\n ignoreEmulatedMouseEvents: false,\n pointerType: '',\n target: null\n }).current;\n (0, $AWxnT$useEffect)($6179b936705e76d3$var$setupGlobalTouchEvents, []);\n let { addGlobalListener: addGlobalListener, removeAllGlobalListeners: removeAllGlobalListeners } = (0, $AWxnT$useGlobalListeners)();\n let { hoverProps: hoverProps, triggerHoverEnd: triggerHoverEnd } = (0, $AWxnT$useMemo)(()=>{\n let triggerHoverStart = (event, pointerType)=>{\n state.pointerType = pointerType;\n if (isDisabled || pointerType === 'touch' || state.isHovered || !event.currentTarget.contains(event.target)) return;\n state.isHovered = true;\n let target = event.currentTarget;\n state.target = target;\n // When an element that is hovered over is removed, no pointerleave event is fired by the browser,\n // even though the originally hovered target may have shrunk in size so it is no longer hovered.\n // However, a pointerover event will be fired on the new target the mouse is over.\n // In Chrome this happens immediately. In Safari and Firefox, it happens upon moving the mouse one pixel.\n addGlobalListener((0, $AWxnT$getOwnerDocument)(event.target), 'pointerover', (e)=>{\n if (state.isHovered && state.target && !(0, $AWxnT$nodeContains)(state.target, e.target)) triggerHoverEnd(e, e.pointerType);\n }, {\n capture: true\n });\n if (onHoverStart) onHoverStart({\n type: 'hoverstart',\n target: target,\n pointerType: pointerType\n });\n if (onHoverChange) onHoverChange(true);\n setHovered(true);\n };\n let triggerHoverEnd = (event, pointerType)=>{\n let target = state.target;\n state.pointerType = '';\n state.target = null;\n if (pointerType === 'touch' || !state.isHovered || !target) return;\n state.isHovered = false;\n removeAllGlobalListeners();\n if (onHoverEnd) onHoverEnd({\n type: 'hoverend',\n target: target,\n pointerType: pointerType\n });\n if (onHoverChange) onHoverChange(false);\n setHovered(false);\n };\n let hoverProps = {};\n if (typeof PointerEvent !== 'undefined') {\n hoverProps.onPointerEnter = (e)=>{\n if ($6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents && e.pointerType === 'mouse') return;\n triggerHoverStart(e, e.pointerType);\n };\n hoverProps.onPointerLeave = (e)=>{\n if (!isDisabled && e.currentTarget.contains(e.target)) triggerHoverEnd(e, e.pointerType);\n };\n } else if (process.env.NODE_ENV === 'test') {\n hoverProps.onTouchStart = ()=>{\n state.ignoreEmulatedMouseEvents = true;\n };\n hoverProps.onMouseEnter = (e)=>{\n if (!state.ignoreEmulatedMouseEvents && !$6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents) triggerHoverStart(e, 'mouse');\n state.ignoreEmulatedMouseEvents = false;\n };\n hoverProps.onMouseLeave = (e)=>{\n if (!isDisabled && e.currentTarget.contains(e.target)) triggerHoverEnd(e, 'mouse');\n };\n }\n return {\n hoverProps: hoverProps,\n triggerHoverEnd: triggerHoverEnd\n };\n }, [\n onHoverStart,\n onHoverChange,\n onHoverEnd,\n isDisabled,\n state,\n addGlobalListener,\n removeAllGlobalListeners\n ]);\n (0, $AWxnT$useEffect)(()=>{\n // Call the triggerHoverEnd as soon as isDisabled changes to true\n // Safe to call triggerHoverEnd, it will early return if we aren't currently hovering\n if (isDisabled) triggerHoverEnd({\n currentTarget: state.target\n }, state.pointerType);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n isDisabled\n ]);\n return {\n hoverProps: hoverProps,\n isHovered: isHovered\n };\n}\n\n\nexport {$6179b936705e76d3$export$ae780daf29e6d456 as useHover};\n//# sourceMappingURL=useHover.module.js.map\n"],"names":["$6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents","$6179b936705e76d3$var$hoverCount","$6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents","$6179b936705e76d3$var$handleGlobalPointerEvent","e","$6179b936705e76d3$var$setupGlobalTouchEvents","$6179b936705e76d3$export$ae780daf29e6d456","props","onHoverStart","onHoverChange","onHoverEnd","isDisabled","isHovered","setHovered","$AWxnT$useState","state","$AWxnT$useRef","$AWxnT$useEffect","addGlobalListener","removeAllGlobalListeners","$AWxnT$useGlobalListeners","hoverProps","triggerHoverEnd","$AWxnT$useMemo","triggerHoverStart","event","pointerType","target","$AWxnT$getOwnerDocument","$AWxnT$nodeContains"],"mappings":"uEAsBA,IAAIA,EAAwD,GACxDC,EAAmC,EACvC,SAASC,GAA2D,CAChEF,EAAwD,GAKxD,WAAW,IAAI,CACXA,EAAwD,EAC3D,EAAE,EAAE,CACT,CACA,SAASG,EAA+CC,EAAG,CACnDA,EAAE,cAAgB,SAASF,EAA0D,CAC7F,CACA,SAASG,GAA+C,CACpD,GAAI,SAAO,SAAa,KACxB,OAAI,OAAO,aAAiB,IAAa,SAAS,iBAAiB,YAAaF,CAA8C,EACrH,QAAQ,IAAI,WAAa,QAAQ,SAAS,iBAAiB,WAAYD,CAAwD,EACxID,IACO,IAAI,CACPA,IACI,EAAAA,EAAmC,KACnC,OAAO,aAAiB,IAAa,SAAS,oBAAoB,YAAaE,CAA8C,EACxH,QAAQ,IAAI,WAAa,QAAQ,SAAS,oBAAoB,WAAYD,CAAwD,EAC9I,CACL,CACA,SAASI,EAA0CC,EAAO,CACtD,GAAI,CAAE,aAAcC,EAAc,cAAeC,EAAe,WAAYC,EAAY,WAAYC,CAAU,EAAKJ,EAC/G,CAACK,EAAWC,CAAU,EAAQC,EAAAA,SAAiB,EAAK,EACpDC,EAAYC,SAAe,CAC3B,UAAW,GACX,0BAA2B,GAC3B,YAAa,GACb,OAAQ,IACX,CAAA,EAAE,QACCC,EAAgB,UAAEZ,EAA8C,EAAE,EACtE,GAA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AAW,CAC1F,GACM,QAAQ,IAAI,WAAa,SAChCD,EAAW,aAAe,IAAI,CAC1BN,EAAM,0BAA4B,EACrC,EACDM,EAAW,aAAgB,GAAI,CACvB,CAACN,EAAM,2BAA6B,CAACf,GAAuDwB,EAAkB,EAAG,OAAO,EAC5HT,EAAM,0BAA4B,EACrC,EACDM,EAAW,aAAgB,GAAI,CACvB,CAACV,GAAc,EAAE,cAAc,SAAS,EAAE,MAAM,GAAGW,EAAgB,EAAG,OAAO,CACpF,GAEE,CACH,WAAYD,EACZ,gBAAiBC,CACpB,CACT,EAAO,CACCd,EACAC,EACAC,EACAC,EACAI,EACAG,EACAC,CACR,CAAK,EACD,OAAIF,EAAgB,UAAE,IAAI,CAGlBN,GAAYW,EAAgB,CAC5B,cAAeP,EAAM,MACjC,EAAWA,EAAM,WAAW,CAE5B,EAAO,CACCJ,CACR,CAAK,EACM,CACH,WAAYU,EACZ,UAAWT,CACd,CACL","x_google_ignoreList":[0]}
@@ -1,5 +1,5 @@
1
- import { c as i } from "./mergeProps-DAjoWNOq.js";
2
- import { $ as p } from "./useLabels-B1BLA0b7.js";
1
+ import { c as i } from "./mergeProps-tCFA9wZ1.js";
2
+ import { $ as p } from "./useLabels-CrNu-inr.js";
3
3
  function $(o) {
4
4
  let { id: l, label: t, "aria-labelledby": e, "aria-label": b, labelElementType: d = "label" } = o;
5
5
  l = i(l);
@@ -21,4 +21,4 @@ function $(o) {
21
21
  export {
22
22
  $
23
23
  };
24
- //# sourceMappingURL=useLabel-Dd6M1Y4b.js.map
24
+ //# sourceMappingURL=useLabel-lLz9KH79.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useLabel-Dd6M1Y4b.js","sources":["../../../../node_modules/.pnpm/@react-aria+label@3.7.19_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/label/dist/useLabel.mjs"],"sourcesContent":["import {useId as $83Elw$useId, useLabels as $83Elw$useLabels} from \"@react-aria/utils\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $d191a55c9702f145$export$8467354a121f1b9f(props) {\n let { id: id, label: label, 'aria-labelledby': ariaLabelledby, 'aria-label': ariaLabel, labelElementType: labelElementType = 'label' } = props;\n id = (0, $83Elw$useId)(id);\n let labelId = (0, $83Elw$useId)();\n let labelProps = {};\n if (label) {\n ariaLabelledby = ariaLabelledby ? `${labelId} ${ariaLabelledby}` : labelId;\n labelProps = {\n id: labelId,\n htmlFor: labelElementType === 'label' ? id : undefined\n };\n } else if (!ariaLabelledby && !ariaLabel && process.env.NODE_ENV !== 'production') console.warn('If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility');\n let fieldProps = (0, $83Elw$useLabels)({\n id: id,\n 'aria-label': ariaLabel,\n 'aria-labelledby': ariaLabelledby\n });\n return {\n labelProps: labelProps,\n fieldProps: fieldProps\n };\n}\n\n\nexport {$d191a55c9702f145$export$8467354a121f1b9f as useLabel};\n//# sourceMappingURL=useLabel.module.js.map\n"],"names":["$d191a55c9702f145$export$8467354a121f1b9f","props","id","label","ariaLabelledby","ariaLabel","labelElementType","$83Elw$useId","labelId","labelProps","fieldProps","$83Elw$useLabels"],"mappings":";;AAaA,SAASA,EAA0CC,GAAO;AACtD,MAAI,EAAE,IAAIC,GAAI,OAAOC,GAAO,mBAAmBC,GAAgB,cAAcC,GAAW,kBAAkBC,IAAmB,QAAS,IAAGL;AACzI,EAAAC,IAASK,EAAcL,CAAE;AACzB,MAAIM,IAAcD,EAAe,GAC7BE,IAAa,CAAE;AACnB,EAAIN,KACAC,IAAiBA,IAAiB,GAAGI,CAAO,IAAIJ,CAAc,KAAKI,GACnEC,IAAa;AAAA,IACT,IAAID;AAAA,IACJ,SAASF,MAAqB,UAAUJ,IAAK;AAAA,EAChD,KACM,CAACE,KAAkB,CAACC,KAAa,QAAQ,IAAI,aAAa,gBAAc,QAAQ,KAAK,sHAAsH;AACtN,MAAIK,IAAiBC,EAAkB;AAAA,IACnC,IAAIT;AAAA,IACJ,cAAcG;AAAA,IACd,mBAAmBD;AAAA,EAC3B,CAAK;AACD,SAAO;AAAA,IACH,YAAYK;AAAA,IACZ,YAAYC;AAAA,EACf;AACL;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"useLabel-lLz9KH79.js","sources":["../../../../node_modules/.pnpm/@react-aria+label@3.7.19_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/label/dist/useLabel.mjs"],"sourcesContent":["import {useId as $83Elw$useId, useLabels as $83Elw$useLabels} from \"@react-aria/utils\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $d191a55c9702f145$export$8467354a121f1b9f(props) {\n let { id: id, label: label, 'aria-labelledby': ariaLabelledby, 'aria-label': ariaLabel, labelElementType: labelElementType = 'label' } = props;\n id = (0, $83Elw$useId)(id);\n let labelId = (0, $83Elw$useId)();\n let labelProps = {};\n if (label) {\n ariaLabelledby = ariaLabelledby ? `${labelId} ${ariaLabelledby}` : labelId;\n labelProps = {\n id: labelId,\n htmlFor: labelElementType === 'label' ? id : undefined\n };\n } else if (!ariaLabelledby && !ariaLabel && process.env.NODE_ENV !== 'production') console.warn('If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility');\n let fieldProps = (0, $83Elw$useLabels)({\n id: id,\n 'aria-label': ariaLabel,\n 'aria-labelledby': ariaLabelledby\n });\n return {\n labelProps: labelProps,\n fieldProps: fieldProps\n };\n}\n\n\nexport {$d191a55c9702f145$export$8467354a121f1b9f as useLabel};\n//# sourceMappingURL=useLabel.module.js.map\n"],"names":["$d191a55c9702f145$export$8467354a121f1b9f","props","id","label","ariaLabelledby","ariaLabel","labelElementType","$83Elw$useId","labelId","labelProps","fieldProps","$83Elw$useLabels"],"mappings":";;AAaA,SAASA,EAA0CC,GAAO;AACtD,MAAI,EAAE,IAAIC,GAAI,OAAOC,GAAO,mBAAmBC,GAAgB,cAAcC,GAAW,kBAAkBC,IAAmB,QAAS,IAAGL;AACzI,EAAAC,IAASK,EAAcL,CAAE;AACzB,MAAIM,IAAcD,EAAe,GAC7BE,IAAa,CAAE;AACnB,EAAIN,KACAC,IAAiBA,IAAiB,GAAGI,CAAO,IAAIJ,CAAc,KAAKI,GACnEC,IAAa;AAAA,IACT,IAAID;AAAA,IACJ,SAASF,MAAqB,UAAUJ,IAAK;AAAA,EAChD,KACM,CAACE,KAAkB,CAACC,KAAa,QAAQ,IAAI,aAAa,gBAAc,QAAQ,KAAK,sHAAsH;AACtN,MAAIK,IAAiBC,EAAkB;AAAA,IACnC,IAAIT;AAAA,IACJ,cAAcG;AAAA,IACd,mBAAmBD;AAAA,EAC3B,CAAK;AACD,SAAO;AAAA,IACH,YAAYK;AAAA,IACZ,YAAYC;AAAA,EACf;AACL;","x_google_ignoreList":[0]}
@@ -1,4 +1,4 @@
1
- import { c as t } from "./mergeProps-DAjoWNOq.js";
1
+ import { c as t } from "./mergeProps-tCFA9wZ1.js";
2
2
  function s(r, a) {
3
3
  let { id: i, "aria-label": l, "aria-labelledby": e } = r;
4
4
  return i = t(i), e && l ? e = [
@@ -15,4 +15,4 @@ function s(r, a) {
15
15
  export {
16
16
  s as $
17
17
  };
18
- //# sourceMappingURL=useLabels-B1BLA0b7.js.map
18
+ //# sourceMappingURL=useLabels-CrNu-inr.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useLabels-B1BLA0b7.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.29.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/useLabels.mjs"],"sourcesContent":["import {useId as $bdb11010cef70236$export$f680877a34711e37} from \"./useId.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $313b98861ee5dd6c$export$d6875122194c7b44(props, defaultLabel) {\n let { id: id, 'aria-label': label, 'aria-labelledby': labelledBy } = props;\n // If there is both an aria-label and aria-labelledby,\n // combine them by pointing to the element itself.\n id = (0, $bdb11010cef70236$export$f680877a34711e37)(id);\n if (labelledBy && label) {\n let ids = new Set([\n id,\n ...labelledBy.trim().split(/\\s+/)\n ]);\n labelledBy = [\n ...ids\n ].join(' ');\n } else if (labelledBy) labelledBy = labelledBy.trim().split(/\\s+/).join(' ');\n // If no labels are provided, use the default\n if (!label && !labelledBy && defaultLabel) label = defaultLabel;\n return {\n id: id,\n 'aria-label': label,\n 'aria-labelledby': labelledBy\n };\n}\n\n\nexport {$313b98861ee5dd6c$export$d6875122194c7b44 as useLabels};\n//# sourceMappingURL=useLabels.module.js.map\n"],"names":["$313b98861ee5dd6c$export$d6875122194c7b44","props","defaultLabel","id","label","labelledBy","$bdb11010cef70236$export$f680877a34711e37"],"mappings":";AAaA,SAASA,EAA0CC,GAAOC,GAAc;AACpE,MAAI,EAAE,IAAIC,GAAI,cAAcC,GAAO,mBAAmBC,EAAU,IAAKJ;AAGrE,SAAAE,IAASG,EAA2CH,CAAE,GAClDE,KAAcD,IAKdC,IAAa;AAAA,IACT,GALM,oBAAI,IAAI;AAAA,MACdF;AAAA,MACA,GAAGE,EAAW,OAAO,MAAM,KAAK;AAAA,IAC5C,CAAS;AAAA,EAGT,EAAU,KAAK,GAAG,IACHA,MAAYA,IAAaA,EAAW,OAAO,MAAM,KAAK,EAAE,KAAK,GAAG,IAEvE,CAACD,KAAS,CAACC,KAAcH,MAAcE,IAAQF,IAC5C;AAAA,IACH,IAAIC;AAAA,IACJ,cAAcC;AAAA,IACd,mBAAmBC;AAAA,EACtB;AACL;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"useLabels-CrNu-inr.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.29.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/useLabels.mjs"],"sourcesContent":["import {useId as $bdb11010cef70236$export$f680877a34711e37} from \"./useId.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $313b98861ee5dd6c$export$d6875122194c7b44(props, defaultLabel) {\n let { id: id, 'aria-label': label, 'aria-labelledby': labelledBy } = props;\n // If there is both an aria-label and aria-labelledby,\n // combine them by pointing to the element itself.\n id = (0, $bdb11010cef70236$export$f680877a34711e37)(id);\n if (labelledBy && label) {\n let ids = new Set([\n id,\n ...labelledBy.trim().split(/\\s+/)\n ]);\n labelledBy = [\n ...ids\n ].join(' ');\n } else if (labelledBy) labelledBy = labelledBy.trim().split(/\\s+/).join(' ');\n // If no labels are provided, use the default\n if (!label && !labelledBy && defaultLabel) label = defaultLabel;\n return {\n id: id,\n 'aria-label': label,\n 'aria-labelledby': labelledBy\n };\n}\n\n\nexport {$313b98861ee5dd6c$export$d6875122194c7b44 as useLabels};\n//# sourceMappingURL=useLabels.module.js.map\n"],"names":["$313b98861ee5dd6c$export$d6875122194c7b44","props","defaultLabel","id","label","labelledBy","$bdb11010cef70236$export$f680877a34711e37"],"mappings":";AAaA,SAASA,EAA0CC,GAAOC,GAAc;AACpE,MAAI,EAAE,IAAIC,GAAI,cAAcC,GAAO,mBAAmBC,EAAU,IAAKJ;AAGrE,SAAAE,IAASG,EAA2CH,CAAE,GAClDE,KAAcD,IAKdC,IAAa;AAAA,IACT,GALM,oBAAI,IAAI;AAAA,MACdF;AAAA,MACA,GAAGE,EAAW,OAAO,MAAM,KAAK;AAAA,IAC5C,CAAS;AAAA,EAGT,EAAU,KAAK,GAAG,IACHA,MAAYA,IAAaA,EAAW,OAAO,MAAM,KAAK,EAAE,KAAK,GAAG,IAEvE,CAACD,KAAS,CAACC,KAAcH,MAAcE,IAAQF,IAC5C;AAAA,IACH,IAAIC;AAAA,IACJ,cAAcC;AAAA,IACd,mBAAmBC;AAAA,EACtB;AACL;","x_google_ignoreList":[0]}
@@ -1,6 +1,6 @@
1
- import { $ } from "./context-CgP0qpkX.js";
1
+ import { $ } from "./context-CI0Y3O6x.js";
2
2
  import { useMemo as b } from "react";
3
- const g = Symbol.for("react-aria.i18n.locale"), h = Symbol.for("react-aria.i18n.strings");
3
+ const g = /* @__PURE__ */ Symbol.for("react-aria.i18n.locale"), h = /* @__PURE__ */ Symbol.for("react-aria.i18n.strings");
4
4
  let i;
5
5
  class c {
6
6
  /** Returns a localized string for the given key and locale. */
@@ -94,4 +94,4 @@ export {
94
94
  c as b,
95
95
  p as c
96
96
  };
97
- //# sourceMappingURL=useLocalizedStringFormatter-JGrQYmnh.js.map
97
+ //# sourceMappingURL=useLocalizedStringFormatter-D1iIJE39.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useLocalizedStringFormatter-JGrQYmnh.js","sources":["../../../../node_modules/.pnpm/@internationalized+string@3.2.7/node_modules/@internationalized/string/dist/LocalizedStringDictionary.mjs","../../../../node_modules/.pnpm/@internationalized+string@3.2.7/node_modules/@internationalized/string/dist/LocalizedStringFormatter.mjs","../../../../node_modules/.pnpm/@react-aria+i18n@3.12.10_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/i18n/dist/useLocalizedStringFormatter.mjs"],"sourcesContent":["/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ const $5b160d28a433310d$var$localeSymbol = Symbol.for('react-aria.i18n.locale');\nconst $5b160d28a433310d$var$stringsSymbol = Symbol.for('react-aria.i18n.strings');\nlet $5b160d28a433310d$var$cachedGlobalStrings = undefined;\nclass $5b160d28a433310d$export$c17fa47878dc55b6 {\n /** Returns a localized string for the given key and locale. */ getStringForLocale(key, locale) {\n let strings = this.getStringsForLocale(locale);\n let string = strings[key];\n if (!string) throw new Error(`Could not find intl message ${key} in ${locale} locale`);\n return string;\n }\n /** Returns all localized strings for the given locale. */ getStringsForLocale(locale) {\n let strings = this.strings[locale];\n if (!strings) {\n strings = $5b160d28a433310d$var$getStringsForLocale(locale, this.strings, this.defaultLocale);\n this.strings[locale] = strings;\n }\n return strings;\n }\n static getGlobalDictionaryForPackage(packageName) {\n if (typeof window === 'undefined') return null;\n let locale = window[$5b160d28a433310d$var$localeSymbol];\n if ($5b160d28a433310d$var$cachedGlobalStrings === undefined) {\n let globalStrings = window[$5b160d28a433310d$var$stringsSymbol];\n if (!globalStrings) return null;\n $5b160d28a433310d$var$cachedGlobalStrings = {};\n for(let pkg in globalStrings)$5b160d28a433310d$var$cachedGlobalStrings[pkg] = new $5b160d28a433310d$export$c17fa47878dc55b6({\n [locale]: globalStrings[pkg]\n }, locale);\n }\n let dictionary = $5b160d28a433310d$var$cachedGlobalStrings === null || $5b160d28a433310d$var$cachedGlobalStrings === void 0 ? void 0 : $5b160d28a433310d$var$cachedGlobalStrings[packageName];\n if (!dictionary) throw new Error(`Strings for package \"${packageName}\" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);\n return dictionary;\n }\n constructor(messages, defaultLocale = 'en-US'){\n // Clone messages so we don't modify the original object.\n // Filter out entries with falsy values which may have been caused by applying optimize-locales-plugin.\n this.strings = Object.fromEntries(Object.entries(messages).filter(([, v])=>v));\n this.defaultLocale = defaultLocale;\n }\n}\nfunction $5b160d28a433310d$var$getStringsForLocale(locale, strings, defaultLocale = 'en-US') {\n // If there is an exact match, use it.\n if (strings[locale]) return strings[locale];\n // Attempt to find the closest match by language.\n // For example, if the locale is fr-CA (French Canadian), but there is only\n // an fr-FR (France) set of strings, use that.\n // This could be replaced with Intl.LocaleMatcher once it is supported.\n // https://github.com/tc39/proposal-intl-localematcher\n let language = $5b160d28a433310d$var$getLanguage(locale);\n if (strings[language]) return strings[language];\n for(let key in strings){\n if (key.startsWith(language + '-')) return strings[key];\n }\n // Nothing close, use english.\n return strings[defaultLocale];\n}\nfunction $5b160d28a433310d$var$getLanguage(locale) {\n // @ts-ignore\n if (Intl.Locale) // @ts-ignore\n return new Intl.Locale(locale).language;\n return locale.split('-')[0];\n}\n\n\nexport {$5b160d28a433310d$export$c17fa47878dc55b6 as LocalizedStringDictionary};\n//# sourceMappingURL=LocalizedStringDictionary.module.js.map\n","/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ const $6db58dc88e78b024$var$pluralRulesCache = new Map();\nconst $6db58dc88e78b024$var$numberFormatCache = new Map();\nclass $6db58dc88e78b024$export$2f817fcdc4b89ae0 {\n /** Formats a localized string for the given key with the provided variables. */ format(key, variables) {\n let message = this.strings.getStringForLocale(key, this.locale);\n return typeof message === 'function' ? message(variables, this) : message;\n }\n plural(count, options, type = 'cardinal') {\n let opt = options['=' + count];\n if (opt) return typeof opt === 'function' ? opt() : opt;\n let key = this.locale + ':' + type;\n let pluralRules = $6db58dc88e78b024$var$pluralRulesCache.get(key);\n if (!pluralRules) {\n pluralRules = new Intl.PluralRules(this.locale, {\n type: type\n });\n $6db58dc88e78b024$var$pluralRulesCache.set(key, pluralRules);\n }\n let selected = pluralRules.select(count);\n opt = options[selected] || options.other;\n return typeof opt === 'function' ? opt() : opt;\n }\n number(value) {\n let numberFormat = $6db58dc88e78b024$var$numberFormatCache.get(this.locale);\n if (!numberFormat) {\n numberFormat = new Intl.NumberFormat(this.locale);\n $6db58dc88e78b024$var$numberFormatCache.set(this.locale, numberFormat);\n }\n return numberFormat.format(value);\n }\n select(options, value) {\n let opt = options[value] || options.other;\n return typeof opt === 'function' ? opt() : opt;\n }\n constructor(locale, strings){\n this.locale = locale;\n this.strings = strings;\n }\n}\n\n\nexport {$6db58dc88e78b024$export$2f817fcdc4b89ae0 as LocalizedStringFormatter};\n//# sourceMappingURL=LocalizedStringFormatter.module.js.map\n","import {useLocale as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7} from \"./context.mjs\";\nimport {LocalizedStringDictionary as $6ksNp$LocalizedStringDictionary, LocalizedStringFormatter as $6ksNp$LocalizedStringFormatter} from \"@internationalized/string\";\nimport {useMemo as $6ksNp$useMemo} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nconst $fca6afa0e843324b$var$cache = new WeakMap();\nfunction $fca6afa0e843324b$var$getCachedDictionary(strings) {\n let dictionary = $fca6afa0e843324b$var$cache.get(strings);\n if (!dictionary) {\n dictionary = new (0, $6ksNp$LocalizedStringDictionary)(strings);\n $fca6afa0e843324b$var$cache.set(strings, dictionary);\n }\n return dictionary;\n}\nfunction $fca6afa0e843324b$export$87b761675e8eaa10(strings, packageName) {\n return packageName && (0, $6ksNp$LocalizedStringDictionary).getGlobalDictionaryForPackage(packageName) || $fca6afa0e843324b$var$getCachedDictionary(strings);\n}\nfunction $fca6afa0e843324b$export$f12b703ca79dfbb1(strings, packageName) {\n let { locale: locale } = (0, $18f2051aff69b9bf$export$43bb16f9c6d9e3f7)();\n let dictionary = $fca6afa0e843324b$export$87b761675e8eaa10(strings, packageName);\n return (0, $6ksNp$useMemo)(()=>new (0, $6ksNp$LocalizedStringFormatter)(locale, dictionary), [\n locale,\n dictionary\n ]);\n}\n\n\nexport {$fca6afa0e843324b$export$87b761675e8eaa10 as useLocalizedStringDictionary, $fca6afa0e843324b$export$f12b703ca79dfbb1 as useLocalizedStringFormatter};\n//# sourceMappingURL=useLocalizedStringFormatter.module.js.map\n"],"names":["$5b160d28a433310d$var$localeSymbol","$5b160d28a433310d$var$stringsSymbol","$5b160d28a433310d$var$cachedGlobalStrings","$5b160d28a433310d$export$c17fa47878dc55b6","key","locale","string","strings","$5b160d28a433310d$var$getStringsForLocale","packageName","globalStrings","pkg","dictionary","messages","defaultLocale","v","language","$5b160d28a433310d$var$getLanguage","$6db58dc88e78b024$var$pluralRulesCache","$6db58dc88e78b024$var$numberFormatCache","$6db58dc88e78b024$export$2f817fcdc4b89ae0","variables","message","count","options","type","opt","pluralRules","selected","value","numberFormat","$fca6afa0e843324b$var$cache","$fca6afa0e843324b$var$getCachedDictionary","$6ksNp$LocalizedStringDictionary","$fca6afa0e843324b$export$87b761675e8eaa10","$fca6afa0e843324b$export$f12b703ca79dfbb1","$18f2051aff69b9bf$export$43bb16f9c6d9e3f7","$6ksNp$useMemo","$6ksNp$LocalizedStringFormatter"],"mappings":";;AAUI,MAAMA,IAAqC,OAAO,IAAI,wBAAwB,GAC5EC,IAAsC,OAAO,IAAI,yBAAyB;AAChF,IAAIC;AACJ,MAAMC,EAA0C;AAAA;AAAA,EACoB,mBAAmBC,GAAKC,GAAQ;AAE5F,QAAIC,IADU,KAAK,oBAAoBD,CAAM,EACxBD,CAAG;AACxB,QAAI,CAACE,EAAQ,OAAM,IAAI,MAAM,+BAA+BF,CAAG,OAAOC,CAAM,SAAS;AACrF,WAAOC;AAAA,EACf;AAAA;AAAA,EAC+D,oBAAoBD,GAAQ;AACnF,QAAIE,IAAU,KAAK,QAAQF,CAAM;AACjC,WAAKE,MACDA,IAAUC,EAA0CH,GAAQ,KAAK,SAAS,KAAK,aAAa,GAC5F,KAAK,QAAQA,CAAM,IAAIE,IAEpBA;AAAA,EACf;AAAA,EACI,OAAO,8BAA8BE,GAAa;AAC9C,QAAI,OAAO,SAAW,IAAa,QAAO;AAC1C,QAAIJ,IAAS,OAAOL,CAAkC;AACtD,QAAIE,MAA8C,QAAW;AACzD,UAAIQ,IAAgB,OAAOT,CAAmC;AAC9D,UAAI,CAACS,EAAe,QAAO;AAC3B,MAAAR,IAA4C,CAAE;AAC9C,eAAQS,KAAOD,EAAc,CAAAR,EAA0CS,CAAG,IAAI,IAAIR,EAA0C;AAAA,QACxH,CAACE,CAAM,GAAGK,EAAcC,CAAG;AAAA,MAC9B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AiCjC,GAAQO,CAAU,GAAG;AAAA,IACzFP;AAAA,IACAO;AAAA,EACR,CAAK;AACL;","x_google_ignoreList":[0,1,2]}
1
+ {"version":3,"file":"useLocalizedStringFormatter-D1iIJE39.js","sources":["../../../../node_modules/.pnpm/@internationalized+string@3.2.7/node_modules/@internationalized/string/dist/LocalizedStringDictionary.mjs","../../../../node_modules/.pnpm/@internationalized+string@3.2.7/node_modules/@internationalized/string/dist/LocalizedStringFormatter.mjs","../../../../node_modules/.pnpm/@react-aria+i18n@3.12.10_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/i18n/dist/useLocalizedStringFormatter.mjs"],"sourcesContent":["/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ const $5b160d28a433310d$var$localeSymbol = Symbol.for('react-aria.i18n.locale');\nconst $5b160d28a433310d$var$stringsSymbol = Symbol.for('react-aria.i18n.strings');\nlet $5b160d28a433310d$var$cachedGlobalStrings = undefined;\nclass $5b160d28a433310d$export$c17fa47878dc55b6 {\n /** Returns a localized string for the given key and locale. */ getStringForLocale(key, locale) {\n let strings = this.getStringsForLocale(locale);\n let string = strings[key];\n if (!string) throw new Error(`Could not find intl message ${key} in ${locale} locale`);\n return string;\n }\n /** Returns all localized strings for the given locale. */ getStringsForLocale(locale) {\n let strings = this.strings[locale];\n if (!strings) {\n strings = $5b160d28a433310d$var$getStringsForLocale(locale, this.strings, this.defaultLocale);\n this.strings[locale] = strings;\n }\n return strings;\n }\n static getGlobalDictionaryForPackage(packageName) {\n if (typeof window === 'undefined') return null;\n let locale = window[$5b160d28a433310d$var$localeSymbol];\n if ($5b160d28a433310d$var$cachedGlobalStrings === undefined) {\n let globalStrings = window[$5b160d28a433310d$var$stringsSymbol];\n if (!globalStrings) return null;\n $5b160d28a433310d$var$cachedGlobalStrings = {};\n for(let pkg in globalStrings)$5b160d28a433310d$var$cachedGlobalStrings[pkg] = new $5b160d28a433310d$export$c17fa47878dc55b6({\n [locale]: globalStrings[pkg]\n }, locale);\n }\n let dictionary = $5b160d28a433310d$var$cachedGlobalStrings === null || $5b160d28a433310d$var$cachedGlobalStrings === void 0 ? void 0 : $5b160d28a433310d$var$cachedGlobalStrings[packageName];\n if (!dictionary) throw new Error(`Strings for package \"${packageName}\" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);\n return dictionary;\n }\n constructor(messages, defaultLocale = 'en-US'){\n // Clone messages so we don't modify the original object.\n // Filter out entries with falsy values which may have been caused by applying optimize-locales-plugin.\n this.strings = Object.fromEntries(Object.entries(messages).filter(([, v])=>v));\n this.defaultLocale = defaultLocale;\n }\n}\nfunction $5b160d28a433310d$var$getStringsForLocale(locale, strings, defaultLocale = 'en-US') {\n // If there is an exact match, use it.\n if (strings[locale]) return strings[locale];\n // Attempt to find the closest match by language.\n // For example, if the locale is fr-CA (French Canadian), but there is only\n // an fr-FR (France) set of strings, use that.\n // This could be replaced with Intl.LocaleMatcher once it is supported.\n // https://github.com/tc39/proposal-intl-localematcher\n let language = $5b160d28a433310d$var$getLanguage(locale);\n if (strings[language]) return strings[language];\n for(let key in strings){\n if (key.startsWith(language + '-')) return strings[key];\n }\n // Nothing close, use english.\n return strings[defaultLocale];\n}\nfunction $5b160d28a433310d$var$getLanguage(locale) {\n // @ts-ignore\n if (Intl.Locale) // @ts-ignore\n return new Intl.Locale(locale).language;\n return locale.split('-')[0];\n}\n\n\nexport {$5b160d28a433310d$export$c17fa47878dc55b6 as LocalizedStringDictionary};\n//# sourceMappingURL=LocalizedStringDictionary.module.js.map\n","/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ const $6db58dc88e78b024$var$pluralRulesCache = new Map();\nconst $6db58dc88e78b024$var$numberFormatCache = new Map();\nclass $6db58dc88e78b024$export$2f817fcdc4b89ae0 {\n /** Formats a localized string for the given key with the provided variables. */ format(key, variables) {\n let message = this.strings.getStringForLocale(key, this.locale);\n return typeof message === 'function' ? message(variables, this) : message;\n }\n plural(count, options, type = 'cardinal') {\n let opt = options['=' + count];\n if (opt) return typeof opt === 'function' ? opt() : opt;\n let key = this.locale + ':' + type;\n let pluralRules = $6db58dc88e78b024$var$pluralRulesCache.get(key);\n if (!pluralRules) {\n pluralRules = new Intl.PluralRules(this.locale, {\n type: type\n });\n $6db58dc88e78b024$var$pluralRulesCache.set(key, pluralRules);\n }\n let selected = pluralRules.select(count);\n opt = options[selected] || options.other;\n return typeof opt === 'function' ? opt() : opt;\n }\n number(value) {\n let numberFormat = $6db58dc88e78b024$var$numberFormatCache.get(this.locale);\n if (!numberFormat) {\n numberFormat = new Intl.NumberFormat(this.locale);\n $6db58dc88e78b024$var$numberFormatCache.set(this.locale, numberFormat);\n }\n return numberFormat.format(value);\n }\n select(options, value) {\n let opt = options[value] || options.other;\n return typeof opt === 'function' ? opt() : opt;\n }\n constructor(locale, strings){\n this.locale = locale;\n this.strings = strings;\n }\n}\n\n\nexport {$6db58dc88e78b024$export$2f817fcdc4b89ae0 as LocalizedStringFormatter};\n//# sourceMappingURL=LocalizedStringFormatter.module.js.map\n","import {useLocale as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7} from \"./context.mjs\";\nimport {LocalizedStringDictionary as $6ksNp$LocalizedStringDictionary, LocalizedStringFormatter as $6ksNp$LocalizedStringFormatter} from \"@internationalized/string\";\nimport {useMemo as $6ksNp$useMemo} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nconst $fca6afa0e843324b$var$cache = new WeakMap();\nfunction $fca6afa0e843324b$var$getCachedDictionary(strings) {\n let dictionary = $fca6afa0e843324b$var$cache.get(strings);\n if (!dictionary) {\n dictionary = new (0, $6ksNp$LocalizedStringDictionary)(strings);\n $fca6afa0e843324b$var$cache.set(strings, dictionary);\n }\n return dictionary;\n}\nfunction $fca6afa0e843324b$export$87b761675e8eaa10(strings, packageName) {\n return packageName && (0, $6ksNp$LocalizedStringDictionary).getGlobalDictionaryForPackage(packageName) || $fca6afa0e843324b$var$getCachedDictionary(strings);\n}\nfunction $fca6afa0e843324b$export$f12b703ca79dfbb1(strings, packageName) {\n let { locale: locale } = (0, $18f2051aff69b9bf$export$43bb16f9c6d9e3f7)();\n let dictionary = $fca6afa0e843324b$export$87b761675e8eaa10(strings, packageName);\n return (0, $6ksNp$useMemo)(()=>new (0, $6ksNp$LocalizedStringFormatter)(locale, dictionary), [\n locale,\n dictionary\n ]);\n}\n\n\nexport {$fca6afa0e843324b$export$87b761675e8eaa10 as useLocalizedStringDictionary, $fca6afa0e843324b$export$f12b703ca79dfbb1 as useLocalizedStringFormatter};\n//# sourceMappingURL=useLocalizedStringFormatter.module.js.map\n"],"names":["$5b160d28a433310d$var$localeSymbol","$5b160d28a433310d$var$stringsSymbol","$5b160d28a433310d$var$cachedGlobalStrings","$5b160d28a433310d$export$c17fa47878dc55b6","key","locale","string","strings","$5b160d28a433310d$var$getStringsForLocale","packageName","globalStrings","pkg","dictionary","messages","defaultLocale","v","language","$5b160d28a433310d$var$getLanguage","$6db58dc88e78b024$var$pluralRulesCache","$6db58dc88e78b024$var$numberFormatCache","$6db58dc88e78b024$export$2f817fcdc4b89ae0","variables","message","count","options","type","opt","pluralRules","selected","value","numberFormat","$fca6afa0e843324b$var$cache","$fca6afa0e843324b$var$getCachedDictionary","$6ksNp$LocalizedStringDictionary","$fca6afa0e843324b$export$87b761675e8eaa10","$fca6afa0e843324b$export$f12b703ca79dfbb1","$18f2051aff69b9bf$export$43bb16f9c6d9e3f7","$6ksNp$useMemo","$6ksNp$LocalizedStringFormatter"],"mappings":";;AAUI,MAAMA,IAAqC,uBAAO,IAAI,wBAAwB,GAC5EC,IAAsC,uBAAO,IAAI,yBAAyB;AAChF,IAAIC;AACJ,MAAMC,EAA0C;AAAA;AAAA,EACoB,mBAAmBC,GAAKC,GAAQ;AAE5F,QAAIC,IADU,KAAK,oBAAoBD,CAAM,EACxBD,CAAG;AACxB,QAAI,CAACE,EAAQ,OAAM,IAAI,MAAM,+BAA+BF,CAAG,OAAOC,CAAM,SAAS;AACrF,WAAOC;AAAA,EACf;AAAA;AAAA,EAC+D,oBAAoBD,GAAQ;AACnF,QAAIE,IAAU,KAAK,QAAQF,CAAM;AACjC,WAAKE,MACDA,IAAUC,EAA0CH,GAAQ,KAAK,SAAS,KAAK,aAAa,GAC5F,KAAK,QAAQA,CAAM,IAAIE,IAEpBA;AAAA,EACf;AAAA,EACI,OAAO,8BAA8BE,GAAa;AAC9C,QAAI,OAAO,SAAW,IAAa,QAAO;AAC1C,QAAIJ,IAAS,OAAOL,CAAkC;AACtD,QAAIE,MAA8C,QAAW;AACzD,UAAIQ,IAAgB,OAAOT,CAAmC;AAC9D,UAAI,CAACS,EAAe,QAAO;AAC3B,MAAAR,IAA4C,CAAE;AAC9C,eAAQS,KAAOD,EAAc,CAAAR,EAA0CS,CAAG,I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,GACrExB,IAAasB,EAA0C3B,GAASE,CAAW;AAC/E,SAAW4B,EAAgB,MAAI,IAAQC,EAAiCjC,GAAQO,CAAU,GAAG;AAAA,IACzFP;AAAA,IACAO;AAAA,EACR,CAAK;AACL;","x_google_ignoreList":[0,1,2]}
@@ -1,4 +1,4 @@
1
- import { $ as o } from "./context-CgP0qpkX.js";
1
+ import { $ as o } from "./context-CI0Y3O6x.js";
2
2
  import { $ as r } from "./NumberFormatter-DgOUVrge.js";
3
3
  import { useMemo as $ } from "react";
4
4
  function b(f = {}) {
@@ -11,4 +11,4 @@ function b(f = {}) {
11
11
  export {
12
12
  b as $
13
13
  };
14
- //# sourceMappingURL=useNumberFormatter-Dx-esBDc.js.map
14
+ //# sourceMappingURL=useNumberFormatter-C8xwHQXb.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useNumberFormatter-Dx-esBDc.js","sources":["../../../../node_modules/.pnpm/@react-aria+i18n@3.12.10_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/i18n/dist/useNumberFormatter.mjs"],"sourcesContent":["import {useLocale as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7} from \"./context.mjs\";\nimport {NumberFormatter as $JFEdn$NumberFormatter} from \"@internationalized/number\";\nimport {useMemo as $JFEdn$useMemo} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nfunction $a916eb452884faea$export$b7a616150fdb9f44(options = {}) {\n let { locale: locale } = (0, $18f2051aff69b9bf$export$43bb16f9c6d9e3f7)();\n return (0, $JFEdn$useMemo)(()=>new (0, $JFEdn$NumberFormatter)(locale, options), [\n locale,\n options\n ]);\n}\n\n\nexport {$a916eb452884faea$export$b7a616150fdb9f44 as useNumberFormatter};\n//# sourceMappingURL=useNumberFormatter.module.js.map\n"],"names":["$a916eb452884faea$export$b7a616150fdb9f44","options","locale","$18f2051aff69b9bf$export$43bb16f9c6d9e3f7","$JFEdn$useMemo","$JFEdn$NumberFormatter"],"mappings":";;;AAiBA,SAASA,EAA0CC,IAAU,IAAI;AAC7D,MAAI,EAAE,QAAQC,EAAQ,IAAOC,EAA4C;AACzE,SAAWC,EAAgB,MAAI,IAAQC,EAAwBH,GAAQD,CAAO,GAAG;AAAA,IAC7EC;AAAA,IACAD;AAAA,EACR,CAAK;AACL;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"useNumberFormatter-C8xwHQXb.js","sources":["../../../../node_modules/.pnpm/@react-aria+i18n@3.12.10_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/i18n/dist/useNumberFormatter.mjs"],"sourcesContent":["import {useLocale as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7} from \"./context.mjs\";\nimport {NumberFormatter as $JFEdn$NumberFormatter} from \"@internationalized/number\";\nimport {useMemo as $JFEdn$useMemo} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nfunction $a916eb452884faea$export$b7a616150fdb9f44(options = {}) {\n let { locale: locale } = (0, $18f2051aff69b9bf$export$43bb16f9c6d9e3f7)();\n return (0, $JFEdn$useMemo)(()=>new (0, $JFEdn$NumberFormatter)(locale, options), [\n locale,\n options\n ]);\n}\n\n\nexport {$a916eb452884faea$export$b7a616150fdb9f44 as useNumberFormatter};\n//# sourceMappingURL=useNumberFormatter.module.js.map\n"],"names":["$a916eb452884faea$export$b7a616150fdb9f44","options","locale","$18f2051aff69b9bf$export$43bb16f9c6d9e3f7","$JFEdn$useMemo","$JFEdn$NumberFormatter"],"mappings":";;;AAiBA,SAASA,EAA0CC,IAAU,IAAI;AAC7D,MAAI,EAAE,QAAQC,EAAQ,IAAOC,EAA4C;AACzE,SAAWC,EAAgB,MAAI,IAAQC,EAAwBH,GAAQD,CAAO,GAAG;AAAA,IAC7EC;AAAA,IACAD;AAAA,EACR,CAAK;AACL;","x_google_ignoreList":[0]}
@@ -1,8 +1,8 @@
1
- "use strict";const f=require("./utils-BzPwFwlw.js"),ae=require("./focusSafely-DuMeO0J4.js"),T=require("./useFocus-CP2rlXSg.js"),S=require("react"),P=require("./mergeProps-BeIu4MsM.js"),ce=require("react-dom"),ue=S.createContext({isNative:!0,open:be,useHref:t=>t});function q(){return S.useContext(ue)}function $e(t,n){let a=t.getAttribute("target");return(!a||a==="_self")&&t.origin===location.origin&&!t.hasAttribute("download")&&!n.metaKey&&!n.ctrlKey&&!n.altKey&&!n.shiftKey}function M(t,n,a=!0){var s,u;let{metaKey:b,ctrlKey:v,altKey:p,shiftKey:K}=n;T.$c87311424ea30a05$export$b7d78993b74f766d()&&(!((u=window.event)===null||u===void 0||(s=u.type)===null||s===void 0)&&s.startsWith("key"))&&t.target==="_blank"&&(T.$c87311424ea30a05$export$9ac100e40613ea10()?b=!0:v=!0);let x=T.$c87311424ea30a05$export$78551043582a6a98()&&T.$c87311424ea30a05$export$9ac100e40613ea10()&&!T.$c87311424ea30a05$export$7bef049ce92e4224()&&process.env.NODE_ENV!=="test"?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:b,ctrlKey:v,altKey:p,shiftKey:K}):new MouseEvent("click",{metaKey:b,ctrlKey:v,altKey:p,shiftKey:K,bubbles:!0,cancelable:!0});M.isOpening=a,f.$7215afc6de606d6b$export$de79e2c695e052f3(t),t.dispatchEvent(x),M.isOpening=!1}M.isOpening=!1;function pe(t,n){if(t instanceof HTMLAnchorElement)n(t);else if(t.hasAttribute("data-href")){let a=document.createElement("a");a.href=t.getAttribute("data-href"),t.hasAttribute("data-target")&&(a.target=t.getAttribute("data-target")),t.hasAttribute("data-rel")&&(a.rel=t.getAttribute("data-rel")),t.hasAttribute("data-download")&&(a.download=t.getAttribute("data-download")),t.hasAttribute("data-ping")&&(a.ping=t.getAttribute("data-ping")),t.hasAttribute("data-referrer-policy")&&(a.referrerPolicy=t.getAttribute("data-referrer-policy")),t.appendChild(a),n(a),t.removeChild(a)}}function be(t,n){pe(t,a=>M(a,n))}function ve(t){let n=q();var a;const s=n.useHref((a=t.href)!==null&&a!==void 0?a:"");return{"data-href":t.href?s:void 0,"data-target":t.target,"data-rel":t.rel,"data-download":t.download,"data-ping":t.ping,"data-referrer-policy":t.referrerPolicy}}function ge(t){let n=q();var a;const s=n.useHref((a=t==null?void 0:t.href)!==null&&a!==void 0?a:"");return{href:t!=null&&t.href?s:void 0,target:t==null?void 0:t.target,rel:t==null?void 0:t.rel,download:t==null?void 0:t.download,ping:t==null?void 0:t.ping,referrerPolicy:t==null?void 0:t.referrerPolicy}}let A="default",V="",R=new WeakMap;function j(t){if(T.$c87311424ea30a05$export$fedb369cb70207f1()){if(A==="default"){const n=f.$431fbd86ca7dc216$export$b204af158042fbac(t);V=n.documentElement.style.webkitUserSelect,n.documentElement.style.webkitUserSelect="none"}A="disabled"}else if(t instanceof HTMLElement||t instanceof SVGElement){let n="userSelect"in t.style?"userSelect":"webkitUserSelect";R.set(t,t.style[n]),t.style[n]="none"}}function N(t){if(T.$c87311424ea30a05$export$fedb369cb70207f1()){if(A!=="disabled")return;A="restoring",setTimeout(()=>{ae.$bbed8b41f857bcc0$export$24490316f764c430(()=>{if(A==="restoring"){const n=f.$431fbd86ca7dc216$export$b204af158042fbac(t);n.documentElement.style.webkitUserSelect==="none"&&(n.documentElement.style.webkitUserSelect=V||""),V="",A="default"}})},300)}else if((t instanceof HTMLElement||t instanceof SVGElement)&&t&&R.has(t)){let n=R.get(t),a="userSelect"in t.style?"userSelect":"webkitUserSelect";t.style[a]==="none"&&(t.style[a]=n),t.getAttribute("style")===""&&t.removeAttribute("style"),R.delete(t)}}const G=S.createContext({register:()=>{}});G.displayName="PressResponderContext";function ye(t,n){return n.get?n.get.call(t):n.value}function ie(t,n,a){if(!n.has(t))throw new TypeError("attempted to "+a+" private field on non-instance");return n.get(t)}function Te(t,n){var a=ie(t,n,"get");return ye(t,a)}function he(t,n){if(n.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function fe(t,n,a){he(t,n),n.set(t,a)}function Pe(t,n,a){if(n.set)n.set.call(t,a);else{if(!n.writable)throw new TypeError("attempted to set read only private field");n.value=a}}function J(t,n,a){var s=ie(t,n,"set");return Pe(t,s,a),a}function xe(t){let n=S.useContext(G);if(n){let{register:a,...s}=n;t=P.$3ef42575df84b30b$export$9d1611c77c2fe928(s,t),a()}return ae.$e7801be82b4b2a53$export$4debdb1a3f0fa79e(n,t.ref),t}var D=new WeakMap;class Y{continuePropagation(){J(this,D,!1)}get shouldStopPropagation(){return Te(this,D)}constructor(n,a,s,u){fe(this,D,{writable:!0,value:void 0}),J(this,D,!0);var b;let v=(b=u==null?void 0:u.target)!==null&&b!==void 0?b:s.currentTarget;const p=v==null?void 0:v.getBoundingClientRect();let K,x=0,I,g=null;s.clientX!=null&&s.clientY!=null&&(I=s.clientX,g=s.clientY),p&&(I!=null&&g!=null?(K=I-p.left,x=g-p.top):(K=p.width/2,x=p.height/2)),this.type=n,this.pointerType=a,this.target=s.currentTarget,this.shiftKey=s.shiftKey,this.metaKey=s.metaKey,this.ctrlKey=s.ctrlKey,this.altKey=s.altKey,this.x=K,this.y=x}}const Q=Symbol("linkClicked"),Z="react-aria-pressable-style",ee="data-react-aria-pressable";function Ee(t){let{onPress:n,onPressChange:a,onPressStart:s,onPressEnd:u,onPressUp:b,onClick:v,isDisabled:p,isPressed:K,preventFocusOnPress:x,shouldCancelOnPointerExit:I,allowTextSelectionOnPress:g,ref:X,...se}=xe(t),[le,W]=S.useState(!1),C=S.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:k,removeAllGlobalListeners:L}=f.$03deb23ff14920c4$export$4eaf04e54aa8eed6(),E=P.$8ae05eaa5c114e9c$export$7f54fc3180508a52((e,o)=>{let $=C.current;if(p||$.didFirePressStart)return!1;let i=!0;if($.isTriggeringEvent=!0,s){let c=new Y("pressstart",o,e);s(c),i=c.shouldStopPropagation}return a&&a(!0),$.isTriggeringEvent=!1,$.didFirePressStart=!0,W(!0),i}),h=P.$8ae05eaa5c114e9c$export$7f54fc3180508a52((e,o,$=!0)=>{let i=C.current;if(!i.didFirePressStart)return!1;i.didFirePressStart=!1,i.isTriggeringEvent=!0;let c=!0;if(u){let r=new Y("pressend",o,e);u(r),c=r.shouldStopPropagation}if(a&&a(!1),W(!1),n&&$&&!p){let r=new Y("press",o,e);n(r),c&&(c=r.shouldStopPropagation)}return i.isTriggeringEvent=!1,c}),_=P.$8ae05eaa5c114e9c$export$7f54fc3180508a52((e,o)=>{let $=C.current;if(p)return!1;if(b){$.isTriggeringEvent=!0;let i=new Y("pressup",o,e);return b(i),$.isTriggeringEvent=!1,i.shouldStopPropagation}return!0}),y=P.$8ae05eaa5c114e9c$export$7f54fc3180508a52(e=>{let o=C.current;if(o.isPressed&&o.target){o.didFirePressStart&&o.pointerType!=null&&h(O(o.target,e),o.pointerType,!1),o.isPressed=!1,o.isOverTarget=!1,o.activePointerId=null,o.pointerType=null,L(),g||N(o.target);for(let $ of o.disposables)$();o.disposables=[]}}),U=P.$8ae05eaa5c114e9c$export$7f54fc3180508a52(e=>{I&&y(e)}),H=P.$8ae05eaa5c114e9c$export$7f54fc3180508a52(e=>{v==null||v(e)}),F=P.$8ae05eaa5c114e9c$export$7f54fc3180508a52((e,o)=>{if(v){let $=new MouseEvent("click",e);f.$8a9cb279dc87e130$export$c2b7abe5d61ec696($,o),v(f.$8a9cb279dc87e130$export$525bc4921d56d4a($))}}),de=S.useMemo(()=>{let e=C.current,o={onKeyDown(i){if(B(i.nativeEvent,i.currentTarget)&&f.$d4ee10de306f2510$export$4282f70798064fe0(i.currentTarget,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(i.nativeEvent))){var c;ne(f.$d4ee10de306f2510$export$e58f029f0fbfdb29(i.nativeEvent),i.key)&&i.preventDefault();let r=!0;if(!e.isPressed&&!i.repeat){e.target=i.currentTarget,e.isPressed=!0,e.pointerType="keyboard",r=E(i,"keyboard");let l=i.currentTarget,d=m=>{B(m,l)&&!m.repeat&&f.$d4ee10de306f2510$export$4282f70798064fe0(l,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(m))&&e.target&&_(O(e.target,m),"keyboard")};k(f.$431fbd86ca7dc216$export$b204af158042fbac(i.currentTarget),"keyup",P.$ff5963eb1fccf552$export$e08e3b67e392101e(d,$),!0)}r&&i.stopPropagation(),i.metaKey&&T.$c87311424ea30a05$export$9ac100e40613ea10()&&((c=e.metaKeyEvents)===null||c===void 0||c.set(i.key,i.nativeEvent))}else i.key==="Meta"&&(e.metaKeyEvents=new Map)},onClick(i){if(!(i&&!f.$d4ee10de306f2510$export$4282f70798064fe0(i.currentTarget,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(i.nativeEvent)))&&i&&i.button===0&&!e.isTriggeringEvent&&!M.isOpening){let c=!0;if(p&&i.preventDefault(),!e.ignoreEmulatedMouseEvents&&!e.isPressed&&(e.pointerType==="virtual"||T.$6a7db85432448f7f$export$60278871457622de(i.nativeEvent))){let r=E(i,"virtual"),l=_(i,"virtual"),d=h(i,"virtual");H(i),c=r&&l&&d}else if(e.isPressed&&e.pointerType!=="keyboard"){let r=e.pointerType||i.nativeEvent.pointerType||"virtual",l=_(O(i.currentTarget,i),r),d=h(O(i.currentTarget,i),r,!0);c=l&&d,e.isOverTarget=!1,H(i),y(i)}e.ignoreEmulatedMouseEvents=!1,c&&i.stopPropagation()}}},$=i=>{var c;if(e.isPressed&&e.target&&B(i,e.target)){var r;ne(f.$d4ee10de306f2510$export$e58f029f0fbfdb29(i),i.key)&&i.preventDefault();let d=f.$d4ee10de306f2510$export$e58f029f0fbfdb29(i),m=f.$d4ee10de306f2510$export$4282f70798064fe0(e.target,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(i));h(O(e.target,i),"keyboard",m),m&&F(i,e.target),L(),i.key!=="Enter"&&z(e.target)&&f.$d4ee10de306f2510$export$4282f70798064fe0(e.target,d)&&!i[Q]&&(i[Q]=!0,M(e.target,i,!1)),e.isPressed=!1,(r=e.metaKeyEvents)===null||r===void 0||r.delete(i.key)}else if(i.key==="Meta"&&(!((c=e.metaKeyEvents)===null||c===void 0)&&c.size)){var l;let d=e.metaKeyEvents;e.metaKeyEvents=void 0;for(let m of d.values())(l=e.target)===null||l===void 0||l.dispatchEvent(new KeyboardEvent("keyup",m))}};if(typeof PointerEvent<"u"){o.onPointerDown=r=>{if(r.button!==0||!f.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent)))return;if(T.$6a7db85432448f7f$export$29bf1b5f2c56cf63(r.nativeEvent)){e.pointerType="virtual";return}e.pointerType=r.pointerType;let l=!0;if(!e.isPressed){e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=r.pointerId,e.target=r.currentTarget,g||j(e.target),l=E(r,e.pointerType);let d=f.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent);"releasePointerCapture"in d&&d.releasePointerCapture(r.pointerId),k(f.$431fbd86ca7dc216$export$b204af158042fbac(r.currentTarget),"pointerup",i,!1),k(f.$431fbd86ca7dc216$export$b204af158042fbac(r.currentTarget),"pointercancel",c,!1)}l&&r.stopPropagation()},o.onMouseDown=r=>{if(f.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent))&&r.button===0){if(x){let l=f.$8a9cb279dc87e130$export$cabe61c495ee3649(r.target);l&&e.disposables.push(l)}r.stopPropagation()}},o.onPointerUp=r=>{!f.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent))||e.pointerType==="virtual"||r.button===0&&!e.isPressed&&_(r,e.pointerType||r.pointerType)},o.onPointerEnter=r=>{r.pointerId===e.activePointerId&&e.target&&!e.isOverTarget&&e.pointerType!=null&&(e.isOverTarget=!0,E(O(e.target,r),e.pointerType))},o.onPointerLeave=r=>{r.pointerId===e.activePointerId&&e.target&&e.isOverTarget&&e.pointerType!=null&&(e.isOverTarget=!1,h(O(e.target,r),e.pointerType,!1),U(r))};let i=r=>{if(r.pointerId===e.activePointerId&&e.isPressed&&r.button===0&&e.target){if(f.$d4ee10de306f2510$export$4282f70798064fe0(e.target,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(r))&&e.pointerType!=null){let l=!1,d=setTimeout(()=>{e.isPressed&&e.target instanceof HTMLElement&&(l?y(r):(f.$7215afc6de606d6b$export$de79e2c695e052f3(e.target),e.target.click()))},80);k(r.currentTarget,"click",()=>l=!0,!0),e.disposables.push(()=>clearTimeout(d))}else y(r);e.isOverTarget=!1}},c=r=>{y(r)};o.onDragStart=r=>{f.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent))&&y(r)}}else if(process.env.NODE_ENV==="test"){o.onMouseDown=r=>{if(r.button!==0||!f.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent)))return;if(e.ignoreEmulatedMouseEvents){r.stopPropagation();return}if(e.isPressed=!0,e.isOverTarget=!0,e.target=r.currentTarget,e.pointerType=T.$6a7db85432448f7f$export$60278871457622de(r.nativeEvent)?"virtual":"mouse",ce.flushSync(()=>E(r,e.pointerType))&&r.stopPropagation(),x){let d=f.$8a9cb279dc87e130$export$cabe61c495ee3649(r.target);d&&e.disposables.push(d)}k(f.$431fbd86ca7dc216$export$b204af158042fbac(r.currentTarget),"mouseup",i,!1)},o.onMouseEnter=r=>{if(!f.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent)))return;let l=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&e.pointerType!=null&&(e.isOverTarget=!0,l=E(r,e.pointerType)),l&&r.stopPropagation()},o.onMouseLeave=r=>{if(!f.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent)))return;let l=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&e.pointerType!=null&&(e.isOverTarget=!1,l=h(r,e.pointerType,!1),U(r)),l&&r.stopPropagation()},o.onMouseUp=r=>{f.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent))&&!e.ignoreEmulatedMouseEvents&&r.button===0&&!e.isPressed&&_(r,e.pointerType||"mouse")};let i=r=>{if(r.button===0){if(e.ignoreEmulatedMouseEvents){e.ignoreEmulatedMouseEvents=!1;return}e.target&&e.target.contains(r.target)&&e.pointerType!=null||y(r),e.isOverTarget=!1}};o.onTouchStart=r=>{if(!f.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent)))return;let l=me(r.nativeEvent);if(!l)return;e.activePointerId=l.identifier,e.ignoreEmulatedMouseEvents=!0,e.isOverTarget=!0,e.isPressed=!0,e.target=r.currentTarget,e.pointerType="touch",g||j(e.target),E(w(e.target,r),e.pointerType)&&r.stopPropagation(),k(f.$431fbd86ca7dc216$export$f21a1ffae260145a(r.currentTarget),"scroll",c,!0)},o.onTouchMove=r=>{if(!f.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent)))return;if(!e.isPressed){r.stopPropagation();return}let l=te(r.nativeEvent,e.activePointerId),d=!0;l&&re(l,r.currentTarget)?!e.isOverTarget&&e.pointerType!=null&&(e.isOverTarget=!0,d=E(w(e.target,r),e.pointerType)):e.isOverTarget&&e.pointerType!=null&&(e.isOverTarget=!1,d=h(w(e.target,r),e.pointerType,!1),U(w(e.target,r))),d&&r.stopPropagation()},o.onTouchEnd=r=>{if(!f.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent)))return;if(!e.isPressed){r.stopPropagation();return}let l=te(r.nativeEvent,e.activePointerId),d=!0;l&&re(l,r.currentTarget)&&e.pointerType!=null?(_(w(e.target,r),e.pointerType),d=h(w(e.target,r),e.pointerType),F(r.nativeEvent,e.target)):e.isOverTarget&&e.pointerType!=null&&(d=h(w(e.target,r),e.pointerType,!1)),d&&r.stopPropagation(),e.isPressed=!1,e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,e.target&&!g&&N(e.target),L()},o.onTouchCancel=r=>{f.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent))&&(r.stopPropagation(),e.isPressed&&y(w(e.target,r)))};let c=r=>{e.isPressed&&f.$d4ee10de306f2510$export$4282f70798064fe0(f.$d4ee10de306f2510$export$e58f029f0fbfdb29(r),e.target)&&y({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};o.onDragStart=r=>{f.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent))&&y(r)}}return o},[k,p,x,L,g,y,U,h,E,_,H,F]);return S.useEffect(()=>{if(!X||process.env.NODE_ENV==="test")return;const e=f.$431fbd86ca7dc216$export$b204af158042fbac(X.current);if(!e||!e.head||e.getElementById(Z))return;const o=e.createElement("style");o.id=Z,o.textContent=`
1
+ "use strict";const f=require("./utils-D6ZV0jyp.js"),ae=require("./focusSafely-DTxIMq-P.js"),T=require("./useFocus-C1BtlMbo.js"),S=require("react"),P=require("./mergeProps-BeIu4MsM.js"),ce=require("react-dom"),ue=S.createContext({isNative:!0,open:be,useHref:t=>t});function q(){return S.useContext(ue)}function $e(t,n){let a=t.getAttribute("target");return(!a||a==="_self")&&t.origin===location.origin&&!t.hasAttribute("download")&&!n.metaKey&&!n.ctrlKey&&!n.altKey&&!n.shiftKey}function M(t,n,a=!0){var s,u;let{metaKey:b,ctrlKey:v,altKey:p,shiftKey:K}=n;T.$c87311424ea30a05$export$b7d78993b74f766d()&&(!((u=window.event)===null||u===void 0||(s=u.type)===null||s===void 0)&&s.startsWith("key"))&&t.target==="_blank"&&(T.$c87311424ea30a05$export$9ac100e40613ea10()?b=!0:v=!0);let x=T.$c87311424ea30a05$export$78551043582a6a98()&&T.$c87311424ea30a05$export$9ac100e40613ea10()&&!T.$c87311424ea30a05$export$7bef049ce92e4224()&&process.env.NODE_ENV!=="test"?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:b,ctrlKey:v,altKey:p,shiftKey:K}):new MouseEvent("click",{metaKey:b,ctrlKey:v,altKey:p,shiftKey:K,bubbles:!0,cancelable:!0});M.isOpening=a,f.$7215afc6de606d6b$export$de79e2c695e052f3(t),t.dispatchEvent(x),M.isOpening=!1}M.isOpening=!1;function pe(t,n){if(t instanceof HTMLAnchorElement)n(t);else if(t.hasAttribute("data-href")){let a=document.createElement("a");a.href=t.getAttribute("data-href"),t.hasAttribute("data-target")&&(a.target=t.getAttribute("data-target")),t.hasAttribute("data-rel")&&(a.rel=t.getAttribute("data-rel")),t.hasAttribute("data-download")&&(a.download=t.getAttribute("data-download")),t.hasAttribute("data-ping")&&(a.ping=t.getAttribute("data-ping")),t.hasAttribute("data-referrer-policy")&&(a.referrerPolicy=t.getAttribute("data-referrer-policy")),t.appendChild(a),n(a),t.removeChild(a)}}function be(t,n){pe(t,a=>M(a,n))}function ve(t){let n=q();var a;const s=n.useHref((a=t.href)!==null&&a!==void 0?a:"");return{"data-href":t.href?s:void 0,"data-target":t.target,"data-rel":t.rel,"data-download":t.download,"data-ping":t.ping,"data-referrer-policy":t.referrerPolicy}}function ge(t){let n=q();var a;const s=n.useHref((a=t==null?void 0:t.href)!==null&&a!==void 0?a:"");return{href:t!=null&&t.href?s:void 0,target:t==null?void 0:t.target,rel:t==null?void 0:t.rel,download:t==null?void 0:t.download,ping:t==null?void 0:t.ping,referrerPolicy:t==null?void 0:t.referrerPolicy}}let A="default",V="",R=new WeakMap;function j(t){if(T.$c87311424ea30a05$export$fedb369cb70207f1()){if(A==="default"){const n=f.$431fbd86ca7dc216$export$b204af158042fbac(t);V=n.documentElement.style.webkitUserSelect,n.documentElement.style.webkitUserSelect="none"}A="disabled"}else if(t instanceof HTMLElement||t instanceof SVGElement){let n="userSelect"in t.style?"userSelect":"webkitUserSelect";R.set(t,t.style[n]),t.style[n]="none"}}function N(t){if(T.$c87311424ea30a05$export$fedb369cb70207f1()){if(A!=="disabled")return;A="restoring",setTimeout(()=>{ae.$bbed8b41f857bcc0$export$24490316f764c430(()=>{if(A==="restoring"){const n=f.$431fbd86ca7dc216$export$b204af158042fbac(t);n.documentElement.style.webkitUserSelect==="none"&&(n.documentElement.style.webkitUserSelect=V||""),V="",A="default"}})},300)}else if((t instanceof HTMLElement||t instanceof SVGElement)&&t&&R.has(t)){let n=R.get(t),a="userSelect"in t.style?"userSelect":"webkitUserSelect";t.style[a]==="none"&&(t.style[a]=n),t.getAttribute("style")===""&&t.removeAttribute("style"),R.delete(t)}}const G=S.createContext({register:()=>{}});G.displayName="PressResponderContext";function ye(t,n){return n.get?n.get.call(t):n.value}function ie(t,n,a){if(!n.has(t))throw new TypeError("attempted to "+a+" private field on non-instance");return n.get(t)}function Te(t,n){var a=ie(t,n,"get");return ye(t,a)}function he(t,n){if(n.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function fe(t,n,a){he(t,n),n.set(t,a)}function Pe(t,n,a){if(n.set)n.set.call(t,a);else{if(!n.writable)throw new TypeError("attempted to set read only private field");n.value=a}}function J(t,n,a){var s=ie(t,n,"set");return Pe(t,s,a),a}function xe(t){let n=S.useContext(G);if(n){let{register:a,...s}=n;t=P.$3ef42575df84b30b$export$9d1611c77c2fe928(s,t),a()}return ae.$e7801be82b4b2a53$export$4debdb1a3f0fa79e(n,t.ref),t}var D=new WeakMap;class Y{continuePropagation(){J(this,D,!1)}get shouldStopPropagation(){return Te(this,D)}constructor(n,a,s,u){fe(this,D,{writable:!0,value:void 0}),J(this,D,!0);var b;let v=(b=u==null?void 0:u.target)!==null&&b!==void 0?b:s.currentTarget;const p=v==null?void 0:v.getBoundingClientRect();let K,x=0,I,g=null;s.clientX!=null&&s.clientY!=null&&(I=s.clientX,g=s.clientY),p&&(I!=null&&g!=null?(K=I-p.left,x=g-p.top):(K=p.width/2,x=p.height/2)),this.type=n,this.pointerType=a,this.target=s.currentTarget,this.shiftKey=s.shiftKey,this.metaKey=s.metaKey,this.ctrlKey=s.ctrlKey,this.altKey=s.altKey,this.x=K,this.y=x}}const Q=Symbol("linkClicked"),Z="react-aria-pressable-style",ee="data-react-aria-pressable";function Ee(t){let{onPress:n,onPressChange:a,onPressStart:s,onPressEnd:u,onPressUp:b,onClick:v,isDisabled:p,isPressed:K,preventFocusOnPress:x,shouldCancelOnPointerExit:I,allowTextSelectionOnPress:g,ref:X,...se}=xe(t),[le,W]=S.useState(!1),C=S.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:k,removeAllGlobalListeners:L}=f.$03deb23ff14920c4$export$4eaf04e54aa8eed6(),E=P.$8ae05eaa5c114e9c$export$7f54fc3180508a52((e,o)=>{let $=C.current;if(p||$.didFirePressStart)return!1;let i=!0;if($.isTriggeringEvent=!0,s){let c=new Y("pressstart",o,e);s(c),i=c.shouldStopPropagation}return a&&a(!0),$.isTriggeringEvent=!1,$.didFirePressStart=!0,W(!0),i}),h=P.$8ae05eaa5c114e9c$export$7f54fc3180508a52((e,o,$=!0)=>{let i=C.current;if(!i.didFirePressStart)return!1;i.didFirePressStart=!1,i.isTriggeringEvent=!0;let c=!0;if(u){let r=new Y("pressend",o,e);u(r),c=r.shouldStopPropagation}if(a&&a(!1),W(!1),n&&$&&!p){let r=new Y("press",o,e);n(r),c&&(c=r.shouldStopPropagation)}return i.isTriggeringEvent=!1,c}),_=P.$8ae05eaa5c114e9c$export$7f54fc3180508a52((e,o)=>{let $=C.current;if(p)return!1;if(b){$.isTriggeringEvent=!0;let i=new Y("pressup",o,e);return b(i),$.isTriggeringEvent=!1,i.shouldStopPropagation}return!0}),y=P.$8ae05eaa5c114e9c$export$7f54fc3180508a52(e=>{let o=C.current;if(o.isPressed&&o.target){o.didFirePressStart&&o.pointerType!=null&&h(O(o.target,e),o.pointerType,!1),o.isPressed=!1,o.isOverTarget=!1,o.activePointerId=null,o.pointerType=null,L(),g||N(o.target);for(let $ of o.disposables)$();o.disposables=[]}}),U=P.$8ae05eaa5c114e9c$export$7f54fc3180508a52(e=>{I&&y(e)}),H=P.$8ae05eaa5c114e9c$export$7f54fc3180508a52(e=>{v==null||v(e)}),F=P.$8ae05eaa5c114e9c$export$7f54fc3180508a52((e,o)=>{if(v){let $=new MouseEvent("click",e);f.$8a9cb279dc87e130$export$c2b7abe5d61ec696($,o),v(f.$8a9cb279dc87e130$export$525bc4921d56d4a($))}}),de=S.useMemo(()=>{let e=C.current,o={onKeyDown(i){if(B(i.nativeEvent,i.currentTarget)&&f.$d4ee10de306f2510$export$4282f70798064fe0(i.currentTarget,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(i.nativeEvent))){var c;ne(f.$d4ee10de306f2510$export$e58f029f0fbfdb29(i.nativeEvent),i.key)&&i.preventDefault();let r=!0;if(!e.isPressed&&!i.repeat){e.target=i.currentTarget,e.isPressed=!0,e.pointerType="keyboard",r=E(i,"keyboard");let l=i.currentTarget,d=m=>{B(m,l)&&!m.repeat&&f.$d4ee10de306f2510$export$4282f70798064fe0(l,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(m))&&e.target&&_(O(e.target,m),"keyboard")};k(f.$431fbd86ca7dc216$export$b204af158042fbac(i.currentTarget),"keyup",P.$ff5963eb1fccf552$export$e08e3b67e392101e(d,$),!0)}r&&i.stopPropagation(),i.metaKey&&T.$c87311424ea30a05$export$9ac100e40613ea10()&&((c=e.metaKeyEvents)===null||c===void 0||c.set(i.key,i.nativeEvent))}else i.key==="Meta"&&(e.metaKeyEvents=new Map)},onClick(i){if(!(i&&!f.$d4ee10de306f2510$export$4282f70798064fe0(i.currentTarget,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(i.nativeEvent)))&&i&&i.button===0&&!e.isTriggeringEvent&&!M.isOpening){let c=!0;if(p&&i.preventDefault(),!e.ignoreEmulatedMouseEvents&&!e.isPressed&&(e.pointerType==="virtual"||T.$6a7db85432448f7f$export$60278871457622de(i.nativeEvent))){let r=E(i,"virtual"),l=_(i,"virtual"),d=h(i,"virtual");H(i),c=r&&l&&d}else if(e.isPressed&&e.pointerType!=="keyboard"){let r=e.pointerType||i.nativeEvent.pointerType||"virtual",l=_(O(i.currentTarget,i),r),d=h(O(i.currentTarget,i),r,!0);c=l&&d,e.isOverTarget=!1,H(i),y(i)}e.ignoreEmulatedMouseEvents=!1,c&&i.stopPropagation()}}},$=i=>{var c;if(e.isPressed&&e.target&&B(i,e.target)){var r;ne(f.$d4ee10de306f2510$export$e58f029f0fbfdb29(i),i.key)&&i.preventDefault();let d=f.$d4ee10de306f2510$export$e58f029f0fbfdb29(i),m=f.$d4ee10de306f2510$export$4282f70798064fe0(e.target,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(i));h(O(e.target,i),"keyboard",m),m&&F(i,e.target),L(),i.key!=="Enter"&&z(e.target)&&f.$d4ee10de306f2510$export$4282f70798064fe0(e.target,d)&&!i[Q]&&(i[Q]=!0,M(e.target,i,!1)),e.isPressed=!1,(r=e.metaKeyEvents)===null||r===void 0||r.delete(i.key)}else if(i.key==="Meta"&&(!((c=e.metaKeyEvents)===null||c===void 0)&&c.size)){var l;let d=e.metaKeyEvents;e.metaKeyEvents=void 0;for(let m of d.values())(l=e.target)===null||l===void 0||l.dispatchEvent(new KeyboardEvent("keyup",m))}};if(typeof PointerEvent<"u"){o.onPointerDown=r=>{if(r.button!==0||!f.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent)))return;if(T.$6a7db85432448f7f$export$29bf1b5f2c56cf63(r.nativeEvent)){e.pointerType="virtual";return}e.pointerType=r.pointerType;let l=!0;if(!e.isPressed){e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=r.pointerId,e.target=r.currentTarget,g||j(e.target),l=E(r,e.pointerType);let d=f.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent);"releasePointerCapture"in d&&d.releasePointerCapture(r.pointerId),k(f.$431fbd86ca7dc216$export$b204af158042fbac(r.currentTarget),"pointerup",i,!1),k(f.$431fbd86ca7dc216$export$b204af158042fbac(r.currentTarget),"pointercancel",c,!1)}l&&r.stopPropagation()},o.onMouseDown=r=>{if(f.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent))&&r.button===0){if(x){let l=f.$8a9cb279dc87e130$export$cabe61c495ee3649(r.target);l&&e.disposables.push(l)}r.stopPropagation()}},o.onPointerUp=r=>{!f.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent))||e.pointerType==="virtual"||r.button===0&&!e.isPressed&&_(r,e.pointerType||r.pointerType)},o.onPointerEnter=r=>{r.pointerId===e.activePointerId&&e.target&&!e.isOverTarget&&e.pointerType!=null&&(e.isOverTarget=!0,E(O(e.target,r),e.pointerType))},o.onPointerLeave=r=>{r.pointerId===e.activePointerId&&e.target&&e.isOverTarget&&e.pointerType!=null&&(e.isOverTarget=!1,h(O(e.target,r),e.pointerType,!1),U(r))};let i=r=>{if(r.pointerId===e.activePointerId&&e.isPressed&&r.button===0&&e.target){if(f.$d4ee10de306f2510$export$4282f70798064fe0(e.target,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(r))&&e.pointerType!=null){let l=!1,d=setTimeout(()=>{e.isPressed&&e.target instanceof HTMLElement&&(l?y(r):(f.$7215afc6de606d6b$export$de79e2c695e052f3(e.target),e.target.click()))},80);k(r.currentTarget,"click",()=>l=!0,!0),e.disposables.push(()=>clearTimeout(d))}else y(r);e.isOverTarget=!1}},c=r=>{y(r)};o.onDragStart=r=>{f.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent))&&y(r)}}else if(process.env.NODE_ENV==="test"){o.onMouseDown=r=>{if(r.button!==0||!f.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent)))return;if(e.ignoreEmulatedMouseEvents){r.stopPropagation();return}if(e.isPressed=!0,e.isOverTarget=!0,e.target=r.currentTarget,e.pointerType=T.$6a7db85432448f7f$export$60278871457622de(r.nativeEvent)?"virtual":"mouse",ce.flushSync(()=>E(r,e.pointerType))&&r.stopPropagation(),x){let d=f.$8a9cb279dc87e130$export$cabe61c495ee3649(r.target);d&&e.disposables.push(d)}k(f.$431fbd86ca7dc216$export$b204af158042fbac(r.currentTarget),"mouseup",i,!1)},o.onMouseEnter=r=>{if(!f.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent)))return;let l=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&e.pointerType!=null&&(e.isOverTarget=!0,l=E(r,e.pointerType)),l&&r.stopPropagation()},o.onMouseLeave=r=>{if(!f.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent)))return;let l=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&e.pointerType!=null&&(e.isOverTarget=!1,l=h(r,e.pointerType,!1),U(r)),l&&r.stopPropagation()},o.onMouseUp=r=>{f.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent))&&!e.ignoreEmulatedMouseEvents&&r.button===0&&!e.isPressed&&_(r,e.pointerType||"mouse")};let i=r=>{if(r.button===0){if(e.ignoreEmulatedMouseEvents){e.ignoreEmulatedMouseEvents=!1;return}e.target&&e.target.contains(r.target)&&e.pointerType!=null||y(r),e.isOverTarget=!1}};o.onTouchStart=r=>{if(!f.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent)))return;let l=me(r.nativeEvent);if(!l)return;e.activePointerId=l.identifier,e.ignoreEmulatedMouseEvents=!0,e.isOverTarget=!0,e.isPressed=!0,e.target=r.currentTarget,e.pointerType="touch",g||j(e.target),E(w(e.target,r),e.pointerType)&&r.stopPropagation(),k(f.$431fbd86ca7dc216$export$f21a1ffae260145a(r.currentTarget),"scroll",c,!0)},o.onTouchMove=r=>{if(!f.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent)))return;if(!e.isPressed){r.stopPropagation();return}let l=te(r.nativeEvent,e.activePointerId),d=!0;l&&re(l,r.currentTarget)?!e.isOverTarget&&e.pointerType!=null&&(e.isOverTarget=!0,d=E(w(e.target,r),e.pointerType)):e.isOverTarget&&e.pointerType!=null&&(e.isOverTarget=!1,d=h(w(e.target,r),e.pointerType,!1),U(w(e.target,r))),d&&r.stopPropagation()},o.onTouchEnd=r=>{if(!f.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent)))return;if(!e.isPressed){r.stopPropagation();return}let l=te(r.nativeEvent,e.activePointerId),d=!0;l&&re(l,r.currentTarget)&&e.pointerType!=null?(_(w(e.target,r),e.pointerType),d=h(w(e.target,r),e.pointerType),F(r.nativeEvent,e.target)):e.isOverTarget&&e.pointerType!=null&&(d=h(w(e.target,r),e.pointerType,!1)),d&&r.stopPropagation(),e.isPressed=!1,e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,e.target&&!g&&N(e.target),L()},o.onTouchCancel=r=>{f.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent))&&(r.stopPropagation(),e.isPressed&&y(w(e.target,r)))};let c=r=>{e.isPressed&&f.$d4ee10de306f2510$export$4282f70798064fe0(f.$d4ee10de306f2510$export$e58f029f0fbfdb29(r),e.target)&&y({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};o.onDragStart=r=>{f.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,f.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent))&&y(r)}}return o},[k,p,x,L,g,y,U,h,E,_,H,F]);return S.useEffect(()=>{if(!X||process.env.NODE_ENV==="test")return;const e=f.$431fbd86ca7dc216$export$b204af158042fbac(X.current);if(!e||!e.head||e.getElementById(Z))return;const o=e.createElement("style");o.id=Z,o.textContent=`
2
2
  @layer {
3
3
  [${ee}] {
4
4
  touch-action: pan-x pan-y pinch-zoom;
5
5
  }
6
6
  }
7
7
  `.trim(),e.head.prepend(o)},[X]),S.useEffect(()=>{let e=C.current;return()=>{var o;g||N((o=e.target)!==null&&o!==void 0?o:void 0);for(let $ of e.disposables)$();e.disposables=[]}},[g]),{isPressed:K||le,pressProps:P.$3ef42575df84b30b$export$9d1611c77c2fe928(se,de,{[ee]:!0})}}function z(t){return t.tagName==="A"&&t.hasAttribute("href")}function B(t,n){const{key:a,code:s}=t,u=n,b=u.getAttribute("role");return(a==="Enter"||a===" "||a==="Spacebar"||s==="Space")&&!(u instanceof f.$431fbd86ca7dc216$export$f21a1ffae260145a(u).HTMLInputElement&&!oe(u,a)||u instanceof f.$431fbd86ca7dc216$export$f21a1ffae260145a(u).HTMLTextAreaElement||u.isContentEditable)&&!((b==="link"||!b&&z(u))&&a!=="Enter")}function me(t){const{targetTouches:n}=t;return n.length>0?n[0]:null}function te(t,n){const a=t.changedTouches;for(let s=0;s<a.length;s++){const u=a[s];if(u.identifier===n)return u}return null}function w(t,n){let a=0,s=0;return n.targetTouches&&n.targetTouches.length===1&&(a=n.targetTouches[0].clientX,s=n.targetTouches[0].clientY),{currentTarget:t,shiftKey:n.shiftKey,ctrlKey:n.ctrlKey,metaKey:n.metaKey,altKey:n.altKey,clientX:a,clientY:s}}function O(t,n){let a=n.clientX,s=n.clientY;return{currentTarget:t,shiftKey:n.shiftKey,ctrlKey:n.ctrlKey,metaKey:n.metaKey,altKey:n.altKey,clientX:a,clientY:s}}function Se(t){let n=0,a=0;return t.width!==void 0?n=t.width/2:t.radiusX!==void 0&&(n=t.radiusX),t.height!==void 0?a=t.height/2:t.radiusY!==void 0&&(a=t.radiusY),{top:t.clientY-a,right:t.clientX+n,bottom:t.clientY+a,left:t.clientX-n}}function Ke(t,n){return!(t.left>n.right||n.left>t.right||t.top>n.bottom||n.top>t.bottom)}function re(t,n){let a=n.getBoundingClientRect(),s=Se(t);return Ke(a,s)}function we(t){return t instanceof HTMLInputElement?!1:t instanceof HTMLButtonElement?t.type!=="submit"&&t.type!=="reset":!z(t)}function ne(t,n){return t instanceof HTMLInputElement?!oe(t,n):we(t)}const ke=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function oe(t,n){return t.type==="checkbox"||t.type==="radio"?n===" ":ke.has(t.type)}exports.$ae1eeba8b9eafd08$export$5165eccb35aaadb5=G;exports.$ea8dcbcb9ea1b556$export$7e924b3091a3bd18=ge;exports.$ea8dcbcb9ea1b556$export$95185d699e05d4d7=M;exports.$ea8dcbcb9ea1b556$export$9a302a45f65d0572=q;exports.$ea8dcbcb9ea1b556$export$bdc77b0c0a3a85d6=ve;exports.$ea8dcbcb9ea1b556$export$efa8c9099e530235=$e;exports.$f6c31cce2adf654f$export$45712eceda6fad21=Ee;exports._class_private_field_init=fe;
8
- //# sourceMappingURL=usePress-C9YKhG_e.js.map
8
+ //# sourceMappingURL=usePress-CGAMyl6q.js.map