@televet/kibble-ui 4.0.0-beta.100 → 4.0.0-beta.102

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 (334) hide show
  1. package/dist/chunks/{alert.types-DeHWvQla.js → alert.types-BFIjEpyN.js} +3 -3
  2. package/dist/chunks/{alert.types-DeHWvQla.js.map → alert.types-BFIjEpyN.js.map} +1 -1
  3. package/dist/chunks/{alert.types-DNeGpiVS.js → alert.types-CBlxvlwZ.js} +2 -2
  4. package/dist/chunks/{alert.types-DNeGpiVS.js.map → alert.types-CBlxvlwZ.js.map} +1 -1
  5. package/dist/chunks/{avatar.component-SZi87lRl.js → avatar.component-37joMuMZ.js} +2 -2
  6. package/dist/chunks/{avatar.component-SZi87lRl.js.map → avatar.component-37joMuMZ.js.map} +1 -1
  7. package/dist/chunks/{avatar.component-CV_95YCj.js → avatar.component-DdeMVY3l.js} +6 -6
  8. package/dist/chunks/{avatar.component-CV_95YCj.js.map → avatar.component-DdeMVY3l.js.map} +1 -1
  9. package/dist/chunks/{avatarGroup.component-Bp-_csZz.js → avatarGroup.component-CPjot93U.js} +2 -2
  10. package/dist/chunks/{avatarGroup.component-Bp-_csZz.js.map → avatarGroup.component-CPjot93U.js.map} +1 -1
  11. package/dist/chunks/{avatarGroup.component-CPTXS5Mp.js → avatarGroup.component-DboSD8PG.js} +2 -2
  12. package/dist/chunks/{avatarGroup.component-CPTXS5Mp.js.map → avatarGroup.component-DboSD8PG.js.map} +1 -1
  13. package/dist/chunks/{buttonGroup.component-BJl5t4CV.js → buttonGroup.component-CeU9SOoZ.js} +2 -2
  14. package/dist/chunks/{buttonGroup.component-BJl5t4CV.js.map → buttonGroup.component-CeU9SOoZ.js.map} +1 -1
  15. package/dist/chunks/{buttonGroup.component-CHZoLKsR.js → buttonGroup.component-CmsAFBU-.js} +2 -2
  16. package/dist/chunks/{buttonGroup.component-CHZoLKsR.js.map → buttonGroup.component-CmsAFBU-.js.map} +1 -1
  17. package/dist/chunks/{characterCounter.component-Cvw7D33c.js → characterCounter.component-Aa1IFCGT.js} +2 -2
  18. package/dist/chunks/{characterCounter.component-Cvw7D33c.js.map → characterCounter.component-Aa1IFCGT.js.map} +1 -1
  19. package/dist/chunks/{characterCounter.component-C4sKYWJ2.js → characterCounter.component-D8qNJrRV.js} +3 -3
  20. package/dist/chunks/{characterCounter.component-C4sKYWJ2.js.map → characterCounter.component-D8qNJrRV.js.map} +1 -1
  21. package/dist/chunks/{checkbox.records-CTlAD-2Q.js → checkbox.anatomy-AIdXcqX-.js} +12 -22
  22. package/dist/chunks/checkbox.anatomy-AIdXcqX-.js.map +1 -0
  23. package/dist/chunks/checkbox.anatomy-Cscbdyfb.js +2 -0
  24. package/dist/chunks/checkbox.anatomy-Cscbdyfb.js.map +1 -0
  25. package/dist/chunks/checkbox.component-BBnhOurl.js +2 -0
  26. package/dist/chunks/{checkbox.component-CY7ZklEW.js.map → checkbox.component-BBnhOurl.js.map} +1 -1
  27. package/dist/chunks/{checkbox.component-BpSGOInE.js → checkbox.component-Twnwzi6T.js} +51 -50
  28. package/dist/chunks/{checkbox.component-BpSGOInE.js.map → checkbox.component-Twnwzi6T.js.map} +1 -1
  29. package/dist/chunks/checkbox.records-DJfdKuOe.js +2 -0
  30. package/dist/chunks/checkbox.records-DJfdKuOe.js.map +1 -0
  31. package/dist/chunks/checkbox.records-JWbKQ684.js +14 -0
  32. package/dist/chunks/checkbox.records-JWbKQ684.js.map +1 -0
  33. package/dist/chunks/{checkboxGroup.component-DsXi7j46.js → checkboxGroup.component-B3R7JBVo.js} +2 -2
  34. package/dist/chunks/{checkboxGroup.component-DsXi7j46.js.map → checkboxGroup.component-B3R7JBVo.js.map} +1 -1
  35. package/dist/chunks/{checkboxGroup.component-B154cVx5.js → checkboxGroup.component-BY34zJk7.js} +3 -3
  36. package/dist/chunks/{checkboxGroup.component-B154cVx5.js.map → checkboxGroup.component-BY34zJk7.js.map} +1 -1
  37. package/dist/chunks/{config-DlTdf-Yt.js → config-BsZeMu66.js} +10 -10
  38. package/dist/chunks/{config-DlTdf-Yt.js.map → config-BsZeMu66.js.map} +1 -1
  39. package/dist/chunks/{conversationCard.component-CSJXjO4D.js → conversationCard.component-BOH8hmb-.js} +2 -2
  40. package/dist/chunks/{conversationCard.component-CSJXjO4D.js.map → conversationCard.component-BOH8hmb-.js.map} +1 -1
  41. package/dist/chunks/{conversationCard.component-DCpGDLwc.js → conversationCard.component-FdiTvQhb.js} +9 -9
  42. package/dist/chunks/{conversationCard.component-DCpGDLwc.js.map → conversationCard.component-FdiTvQhb.js.map} +1 -1
  43. package/dist/chunks/{datePicker.component-DmxLdt_M.js → datePicker.component-BKGUGrux.js} +2 -2
  44. package/dist/chunks/{datePicker.component-DmxLdt_M.js.map → datePicker.component-BKGUGrux.js.map} +1 -1
  45. package/dist/chunks/{datePicker.component-DSEMVYWG.js → datePicker.component-BMFKZ9jI.js} +8 -8
  46. package/dist/chunks/{datePicker.component-DSEMVYWG.js.map → datePicker.component-BMFKZ9jI.js.map} +1 -1
  47. package/dist/chunks/{dialog-trigger-MkOQUjzu.js → dialog-trigger-CyE0fW3K.js} +2 -2
  48. package/dist/chunks/{dialog-trigger-MkOQUjzu.js.map → dialog-trigger-CyE0fW3K.js.map} +1 -1
  49. package/dist/chunks/{dialog-trigger-eqGXDXGQ.js → dialog-trigger-TJz2Nslg.js} +5 -5
  50. package/dist/chunks/{dialog-trigger-eqGXDXGQ.js.map → dialog-trigger-TJz2Nslg.js.map} +1 -1
  51. package/dist/chunks/field.anatomy-B-h4RMqL.js +2 -0
  52. package/dist/chunks/field.anatomy-B-h4RMqL.js.map +1 -0
  53. package/dist/chunks/field.anatomy-DuyH4wX7.js +16 -0
  54. package/dist/chunks/field.anatomy-DuyH4wX7.js.map +1 -0
  55. package/dist/chunks/{heading.component-BHha3j1I.js → heading.component-DiuOQTuV.js} +2 -2
  56. package/dist/chunks/{heading.component-BHha3j1I.js.map → heading.component-DiuOQTuV.js.map} +1 -1
  57. package/dist/chunks/{heading.component-DNsKd4Gh.js → heading.component-SSTHKtRE.js} +2 -2
  58. package/dist/chunks/{heading.component-DNsKd4Gh.js.map → heading.component-SSTHKtRE.js.map} +1 -1
  59. package/dist/chunks/{index-YtNA0Ueo.js → index-1syExFDc.js} +59 -59
  60. package/dist/chunks/{index-YtNA0Ueo.js.map → index-1syExFDc.js.map} +1 -1
  61. package/dist/chunks/{index-Bz8HDeWA.js → index-4eV_IBpJ.js} +5 -5
  62. package/dist/chunks/{index-Bz8HDeWA.js.map → index-4eV_IBpJ.js.map} +1 -1
  63. package/dist/chunks/{index-cSjUS7Xj.js → index-7Od5VFiw.js} +13 -13
  64. package/dist/chunks/{index-cSjUS7Xj.js.map → index-7Od5VFiw.js.map} +1 -1
  65. package/dist/chunks/{index-Bff1r_rH.js → index-AafzY9XD.js} +10 -10
  66. package/dist/chunks/{index-Bff1r_rH.js.map → index-AafzY9XD.js.map} +1 -1
  67. package/dist/chunks/{index-CS8X6LiC.js → index-BLSUI_Fi.js} +2 -2
  68. package/dist/chunks/{index-CS8X6LiC.js.map → index-BLSUI_Fi.js.map} +1 -1
  69. package/dist/chunks/{index-C_AXAeNS.js → index-BOJXzk6X.js} +4 -4
  70. package/dist/chunks/{index-C_AXAeNS.js.map → index-BOJXzk6X.js.map} +1 -1
  71. package/dist/chunks/{index-DVNjUEDJ.js → index-Bkr-bXiq.js} +11 -11
  72. package/dist/chunks/{index-DVNjUEDJ.js.map → index-Bkr-bXiq.js.map} +1 -1
  73. package/dist/chunks/{index-DSedXH1s.js → index-BszONCjy.js} +2 -2
  74. package/dist/chunks/{index-DSedXH1s.js.map → index-BszONCjy.js.map} +1 -1
  75. package/dist/chunks/{index-BR7peqZO.js → index-BvfTd0It.js} +2 -2
  76. package/dist/chunks/{index-BR7peqZO.js.map → index-BvfTd0It.js.map} +1 -1
  77. package/dist/chunks/{index-Cbkb_94C.js → index-CObxBCse.js} +3 -3
  78. package/dist/chunks/{index-Cbkb_94C.js.map → index-CObxBCse.js.map} +1 -1
  79. package/dist/chunks/{index-QTIBH1Or.js → index-CVzg8MBo.js} +2 -2
  80. package/dist/chunks/{index-QTIBH1Or.js.map → index-CVzg8MBo.js.map} +1 -1
  81. package/dist/chunks/{index-DOXzraja.js → index-CYfS9qal.js} +2 -2
  82. package/dist/chunks/{index-DOXzraja.js.map → index-CYfS9qal.js.map} +1 -1
  83. package/dist/chunks/{index-CJLttzPM.js → index-DT0_Ld2V.js} +3 -3
  84. package/dist/chunks/{index-CJLttzPM.js.map → index-DT0_Ld2V.js.map} +1 -1
  85. package/dist/chunks/{index-OpolRlgD.js → index-IHJqZIuH.js} +3 -3
  86. package/dist/chunks/{index-OpolRlgD.js.map → index-IHJqZIuH.js.map} +1 -1
  87. package/dist/chunks/{index-L197Dry5.js → index-cHBEWy02.js} +4 -4
  88. package/dist/chunks/{index-L197Dry5.js.map → index-cHBEWy02.js.map} +1 -1
  89. package/dist/chunks/{radio.records-4ih1q8nO.js → index-hGcS7e_x.js} +22 -33
  90. package/dist/chunks/index-hGcS7e_x.js.map +1 -0
  91. package/dist/chunks/{radio.records-j0JOqaJ4.js → index-n37Ze35k.js} +2 -2
  92. package/dist/chunks/index-n37Ze35k.js.map +1 -0
  93. package/dist/chunks/{index-DBk0LkcO.js → index-sEoMwGry.js} +2 -2
  94. package/dist/chunks/{index-DBk0LkcO.js.map → index-sEoMwGry.js.map} +1 -1
  95. package/dist/chunks/{index-DowO8Ued.js → index-vvHShogE.js} +2 -2
  96. package/dist/chunks/{index-DowO8Ued.js.map → index-vvHShogE.js.map} +1 -1
  97. package/dist/chunks/{logo.types-BbSodfBq.js → logo.types-Cx1LeO8I.js} +2 -2
  98. package/dist/chunks/{logo.types-BbSodfBq.js.map → logo.types-Cx1LeO8I.js.map} +1 -1
  99. package/dist/chunks/{menu.component-D38vU6MX.js → menu.component-BdkYpKpN.js} +8 -8
  100. package/dist/chunks/{menu.component-D38vU6MX.js.map → menu.component-BdkYpKpN.js.map} +1 -1
  101. package/dist/chunks/{menu.component-DVKNEINC.js → menu.component-CCM8bsSm.js} +2 -2
  102. package/dist/chunks/{menu.component-DVKNEINC.js.map → menu.component-CCM8bsSm.js.map} +1 -1
  103. package/dist/chunks/{modal.types-mGxpGfVt.js → modal.types-D3YGNiuI.js} +4 -4
  104. package/dist/chunks/{modal.types-mGxpGfVt.js.map → modal.types-D3YGNiuI.js.map} +1 -1
  105. package/dist/chunks/{modal.types-Bbh7jkHL.js → modal.types-VeN6tZvj.js} +2 -2
  106. package/dist/chunks/{modal.types-Bbh7jkHL.js.map → modal.types-VeN6tZvj.js.map} +1 -1
  107. package/dist/chunks/{notificationCounter.component-BzhAKrKR.js → notificationCounter.component-Bgm4hK9N.js} +2 -2
  108. package/dist/chunks/{notificationCounter.component-BzhAKrKR.js.map → notificationCounter.component-Bgm4hK9N.js.map} +1 -1
  109. package/dist/chunks/{pinInput.types-BlHIF-kD.js → pinInput.types-BNBwX6Hl.js} +2 -2
  110. package/dist/chunks/{pinInput.types-BlHIF-kD.js.map → pinInput.types-BNBwX6Hl.js.map} +1 -1
  111. package/dist/chunks/{pinInput.types-CD_tKvQm.js → pinInput.types-NqL1HFRm.js} +6 -6
  112. package/dist/chunks/{pinInput.types-CD_tKvQm.js.map → pinInput.types-NqL1HFRm.js.map} +1 -1
  113. package/dist/chunks/{popover-root-provider-BErev2-N.js → popover-root-provider-B9H57A1i.js} +4 -4
  114. package/dist/chunks/{popover-root-provider-BErev2-N.js.map → popover-root-provider-B9H57A1i.js.map} +1 -1
  115. package/dist/chunks/{popover-root-provider-C2iwUZJn.js → popover-root-provider-Dwbh8WhW.js} +2 -2
  116. package/dist/chunks/{popover-root-provider-C2iwUZJn.js.map → popover-root-provider-Dwbh8WhW.js.map} +1 -1
  117. package/dist/chunks/{popover.component-BnIYkGYM.js → popover.component-CaYI1vEW.js} +2 -2
  118. package/dist/chunks/{popover.component-BnIYkGYM.js.map → popover.component-CaYI1vEW.js.map} +1 -1
  119. package/dist/chunks/{popover.component-UkDDe5Dh.js → popover.component-DlGkkvve.js} +7 -7
  120. package/dist/chunks/{popover.component-UkDDe5Dh.js.map → popover.component-DlGkkvve.js.map} +1 -1
  121. package/dist/chunks/{popover.recipe-CQYAiRTB.js → popover.recipe-CFCoAAlW.js} +2 -2
  122. package/dist/chunks/{popover.recipe-CQYAiRTB.js.map → popover.recipe-CFCoAAlW.js.map} +1 -1
  123. package/dist/chunks/{popover.recipe-DlJtOeLy.js → popover.recipe-DegR9fjD.js} +5 -5
  124. package/dist/chunks/{popover.recipe-DlJtOeLy.js.map → popover.recipe-DegR9fjD.js.map} +1 -1
  125. package/dist/chunks/preset-Bpky4UAW.js +17019 -0
  126. package/dist/chunks/preset-Bpky4UAW.js.map +1 -0
  127. package/dist/chunks/preset-L6TibmCL.js +10 -0
  128. package/dist/chunks/preset-L6TibmCL.js.map +1 -0
  129. package/dist/chunks/radio.records-BxCn4oUd.js +2 -0
  130. package/dist/chunks/radio.records-BxCn4oUd.js.map +1 -0
  131. package/dist/chunks/radio.records-Cc3kP4Vn.js +14 -0
  132. package/dist/chunks/radio.records-Cc3kP4Vn.js.map +1 -0
  133. package/dist/chunks/radioGroup.component-CEnFc_Ag.js +2 -0
  134. package/dist/chunks/{radioGroup.component-SvJktaFu.js.map → radioGroup.component-CEnFc_Ag.js.map} +1 -1
  135. package/dist/chunks/{radioGroup.component-DJsYK4YT.js → radioGroup.component-q0bBXVnx.js} +22 -21
  136. package/dist/chunks/{radioGroup.component-DJsYK4YT.js.map → radioGroup.component-q0bBXVnx.js.map} +1 -1
  137. package/dist/chunks/{ratingDots.component-BdUvoShh.js → ratingDots.component-BAm2XjZr.js} +4 -4
  138. package/dist/chunks/{ratingDots.component-BdUvoShh.js.map → ratingDots.component-BAm2XjZr.js.map} +1 -1
  139. package/dist/chunks/{ratingDots.component-CRiV8Gx3.js → ratingDots.component-eMRd5aP2.js} +2 -2
  140. package/dist/chunks/{ratingDots.component-CRiV8Gx3.js.map → ratingDots.component-eMRd5aP2.js.map} +1 -1
  141. package/dist/chunks/{render-strategy-C_zp9LNQ.js → render-strategy-BlfXwB_1.js} +2 -2
  142. package/dist/chunks/{render-strategy-C_zp9LNQ.js.map → render-strategy-BlfXwB_1.js.map} +1 -1
  143. package/dist/chunks/{render-strategy-CHp7lb6C.js → render-strategy-DMTZ92PV.js} +2 -2
  144. package/dist/chunks/{render-strategy-CHp7lb6C.js.map → render-strategy-DMTZ92PV.js.map} +1 -1
  145. package/dist/chunks/{select.component-BNMyz5Nm.js → select.component-BZwOWiuJ.js} +9 -9
  146. package/dist/chunks/{select.component-BNMyz5Nm.js.map → select.component-BZwOWiuJ.js.map} +1 -1
  147. package/dist/chunks/{select.component-a6mH3buQ.js → select.component-Dp3XguXB.js} +2 -2
  148. package/dist/chunks/{select.component-a6mH3buQ.js.map → select.component-Dp3XguXB.js.map} +1 -1
  149. package/dist/chunks/{sortableList.component-DceIFi13.js → sortableList.component-DfmuHVvP.js} +2 -2
  150. package/dist/chunks/{sortableList.component-DceIFi13.js.map → sortableList.component-DfmuHVvP.js.map} +1 -1
  151. package/dist/chunks/{sortableList.component-BKthQS8R.js → sortableList.component-yvvu0IJp.js} +3 -3
  152. package/dist/chunks/{sortableList.component-BKthQS8R.js.map → sortableList.component-yvvu0IJp.js.map} +1 -1
  153. package/dist/chunks/{spinner.component-CzTRzWbL.js → spinner.component-Bu5rGx9x.js} +3 -3
  154. package/dist/chunks/{spinner.component-CzTRzWbL.js.map → spinner.component-Bu5rGx9x.js.map} +1 -1
  155. package/dist/chunks/{spinner.component-lZds47YM.js → spinner.component-C7ylmPXr.js} +2 -2
  156. package/dist/chunks/{spinner.component-lZds47YM.js.map → spinner.component-C7ylmPXr.js.map} +1 -1
  157. package/dist/chunks/{styledAvatar.types-BNejv6F7.js → styledAvatar.types-BaxV5wPq.js} +2 -2
  158. package/dist/chunks/{styledAvatar.types-BNejv6F7.js.map → styledAvatar.types-BaxV5wPq.js.map} +1 -1
  159. package/dist/chunks/{styledAvatar.types-DXwe2DPH.js → styledAvatar.types-C_9GVvmD.js} +2 -2
  160. package/dist/chunks/{styledAvatar.types-DXwe2DPH.js.map → styledAvatar.types-C_9GVvmD.js.map} +1 -1
  161. package/dist/chunks/{swatch.types-DbgA3RWc.js → swatch.types-DiwKSXzz.js} +2 -2
  162. package/dist/chunks/{swatch.types-DbgA3RWc.js.map → swatch.types-DiwKSXzz.js.map} +1 -1
  163. package/dist/chunks/{switch.component-DVHjLc9H.js → switch.component-C4NO_Gs5.js} +6 -6
  164. package/dist/chunks/{switch.component-DVHjLc9H.js.map → switch.component-C4NO_Gs5.js.map} +1 -1
  165. package/dist/chunks/{switch.component-DC6-XTlo.js → switch.component-GM35zwYa.js} +2 -2
  166. package/dist/chunks/{switch.component-DC6-XTlo.js.map → switch.component-GM35zwYa.js.map} +1 -1
  167. package/dist/chunks/{tabs.component-DKW-zlGD.js → tabs.component-1hCkIY3w.js} +2 -2
  168. package/dist/chunks/{tabs.component-DKW-zlGD.js.map → tabs.component-1hCkIY3w.js.map} +1 -1
  169. package/dist/chunks/{tabs.component-b8VxTs-T.js → tabs.component-BqawOxko.js} +10 -10
  170. package/dist/chunks/{tabs.component-b8VxTs-T.js.map → tabs.component-BqawOxko.js.map} +1 -1
  171. package/dist/chunks/{tagBlock.component-CfxiQgjI.js → tagBlock.component-ChGexy1g.js} +5 -5
  172. package/dist/chunks/{tagBlock.component-CfxiQgjI.js.map → tagBlock.component-ChGexy1g.js.map} +1 -1
  173. package/dist/chunks/{tagBlock.component-XQpgKtzp.js → tagBlock.component-DwTt-HqP.js} +2 -2
  174. package/dist/chunks/{tagBlock.component-XQpgKtzp.js.map → tagBlock.component-DwTt-HqP.js.map} +1 -1
  175. package/dist/chunks/{text.component-DJW--Vty.js → text.component-DDSfgcFP.js} +2 -2
  176. package/dist/chunks/{text.component-DJW--Vty.js.map → text.component-DDSfgcFP.js.map} +1 -1
  177. package/dist/chunks/{text.component-C501PJrN.js → text.component-fgp06lR8.js} +2 -2
  178. package/dist/chunks/{text.component-C501PJrN.js.map → text.component-fgp06lR8.js.map} +1 -1
  179. package/dist/chunks/{textInput.component-BPuhDvEr.js → textInput.component-B3Q800_J.js} +2 -2
  180. package/dist/chunks/{textInput.component-BPuhDvEr.js.map → textInput.component-B3Q800_J.js.map} +1 -1
  181. package/dist/chunks/{textInput.component-evu71Hys.js → textInput.component-vxAD2BDI.js} +6 -6
  182. package/dist/chunks/{textInput.component-evu71Hys.js.map → textInput.component-vxAD2BDI.js.map} +1 -1
  183. package/dist/chunks/{textarea.component-CZQMAMYT.js → textarea.component-CVCNVeqW.js} +13 -13
  184. package/dist/chunks/{textarea.component-CZQMAMYT.js.map → textarea.component-CVCNVeqW.js.map} +1 -1
  185. package/dist/chunks/{textarea.component-DE-RO7Sv.js → textarea.component-DBS-A-Jk.js} +2 -2
  186. package/dist/chunks/{textarea.component-DE-RO7Sv.js.map → textarea.component-DBS-A-Jk.js.map} +1 -1
  187. package/dist/chunks/theme.provider-C-kSI07j.js +24 -0
  188. package/dist/chunks/theme.provider-C-kSI07j.js.map +1 -0
  189. package/dist/chunks/theme.provider-CQ3U4kMw.js +2885 -0
  190. package/dist/chunks/theme.provider-CQ3U4kMw.js.map +1 -0
  191. package/dist/chunks/{timePicker.component-D_0jwXVM.js → timePicker.component-KqAcboP6.js} +2 -2
  192. package/dist/chunks/{timePicker.component-D_0jwXVM.js.map → timePicker.component-KqAcboP6.js.map} +1 -1
  193. package/dist/chunks/{timePicker.component-DXkOhFKy.js → timePicker.component-f-FAs8bP.js} +4 -4
  194. package/dist/chunks/{timePicker.component-DXkOhFKy.js.map → timePicker.component-f-FAs8bP.js.map} +1 -1
  195. package/dist/chunks/{timeRange.component-bC1TS9T0.js → timeRange.component-C-SA8EFz.js} +2 -2
  196. package/dist/chunks/{timeRange.component-bC1TS9T0.js.map → timeRange.component-C-SA8EFz.js.map} +1 -1
  197. package/dist/chunks/{timeRange.component-BTmY7o_y.js → timeRange.component-pWCZj2UZ.js} +2 -2
  198. package/dist/chunks/{timeRange.component-BTmY7o_y.js.map → timeRange.component-pWCZj2UZ.js.map} +1 -1
  199. package/dist/chunks/{timestamp.component-DNYI2gVi.js → timestamp.component-CStcenp0.js} +2 -2
  200. package/dist/chunks/{timestamp.component-DNYI2gVi.js.map → timestamp.component-CStcenp0.js.map} +1 -1
  201. package/dist/chunks/{timestamp.component-DLqT7x-O.js → timestamp.component-DpA8pTzY.js} +3 -3
  202. package/dist/chunks/{timestamp.component-DLqT7x-O.js.map → timestamp.component-DpA8pTzY.js.map} +1 -1
  203. package/dist/chunks/{toaster.records-Bb46MMbZ.js → toaster.records-DjNU8CFN.js} +2 -2
  204. package/dist/chunks/{toaster.records-Bb46MMbZ.js.map → toaster.records-DjNU8CFN.js.map} +1 -1
  205. package/dist/chunks/tooltip.component-BYqCIrbb.js +142 -0
  206. package/dist/chunks/tooltip.component-BYqCIrbb.js.map +1 -0
  207. package/dist/chunks/tooltip.component-DFn799tO.js +2 -0
  208. package/dist/chunks/tooltip.component-DFn799tO.js.map +1 -0
  209. package/dist/chunks/{typography.records-H4aA5AOA.js → typography.records-BEd2lI_g.js} +10 -22
  210. package/dist/chunks/typography.records-BEd2lI_g.js.map +1 -0
  211. package/dist/chunks/typography.records-Cg_lT1Z3.js +2 -0
  212. package/dist/chunks/typography.records-Cg_lT1Z3.js.map +1 -0
  213. package/dist/chunks/{use-field-context-CArmgHPP.js → use-field-context-4x8yd4wU.js} +2 -2
  214. package/dist/chunks/{use-field-context-CArmgHPP.js.map → use-field-context-4x8yd4wU.js.map} +1 -1
  215. package/dist/chunks/{use-field-context-Cm3grEyV.js → use-field-context-CFITFjXV.js} +2 -2
  216. package/dist/chunks/{use-field-context-Cm3grEyV.js.map → use-field-context-CFITFjXV.js.map} +1 -1
  217. package/dist/chunks/use-locale-context-DxX8oC2w.js +22 -0
  218. package/dist/chunks/use-locale-context-DxX8oC2w.js.map +1 -0
  219. package/dist/chunks/{use-locale-context-BiiNTYMT.js → use-locale-context-ib8415q7.js} +1125 -773
  220. package/dist/chunks/use-locale-context-ib8415q7.js.map +1 -0
  221. package/dist/chunks/{withFormControl-l2C92-pT.js → withFormControl-CKHeFdbP.js} +56 -55
  222. package/dist/chunks/{withFormControl-l2C92-pT.js.map → withFormControl-CKHeFdbP.js.map} +1 -1
  223. package/dist/chunks/withFormControl-DUbGQZnV.js +2 -0
  224. package/dist/chunks/{withFormControl-BUrlnWW8.js.map → withFormControl-DUbGQZnV.js.map} +1 -1
  225. package/dist/chunks/{withTruncation-CQ7mmyn9.js → withTruncation-BjQjta4-.js} +2 -2
  226. package/dist/chunks/{withTruncation-CQ7mmyn9.js.map → withTruncation-BjQjta4-.js.map} +1 -1
  227. package/dist/chunks/{withTruncation-B6vA2g0w.js → withTruncation-DubH2hvc.js} +2 -2
  228. package/dist/chunks/{withTruncation-B6vA2g0w.js.map → withTruncation-DubH2hvc.js.map} +1 -1
  229. package/dist/chunks/{wrap-B8tBNeBY.js → wrap-CfOMkouk.js} +2 -2
  230. package/dist/chunks/{wrap-B8tBNeBY.js.map → wrap-CfOMkouk.js.map} +1 -1
  231. package/dist/cjs/chakra/index.cjs +1 -1
  232. package/dist/cjs/chakra/index.cjs.map +1 -1
  233. package/dist/cjs/components/Alert/index.cjs +1 -1
  234. package/dist/cjs/components/Avatar/index.cjs +1 -1
  235. package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
  236. package/dist/cjs/components/ButtonGroup/index.cjs +1 -1
  237. package/dist/cjs/components/CharacterCounter/index.cjs +1 -1
  238. package/dist/cjs/components/Checkbox/index.cjs +1 -1
  239. package/dist/cjs/components/CheckboxGroup/index.cjs +1 -1
  240. package/dist/cjs/components/ConversationCard/index.cjs +1 -1
  241. package/dist/cjs/components/DatePicker/index.cjs +1 -1
  242. package/dist/cjs/components/Heading/index.cjs +1 -1
  243. package/dist/cjs/components/Menu/index.cjs +1 -1
  244. package/dist/cjs/components/Modal/index.cjs +1 -1
  245. package/dist/cjs/components/PinInput/index.cjs +1 -1
  246. package/dist/cjs/components/Popover/index.cjs +1 -1
  247. package/dist/cjs/components/RadioGroup/index.cjs +1 -1
  248. package/dist/cjs/components/RatingDots/index.cjs +1 -1
  249. package/dist/cjs/components/Select/index.cjs +1 -1
  250. package/dist/cjs/components/SortableList/index.cjs +1 -1
  251. package/dist/cjs/components/Spinner/index.cjs +1 -1
  252. package/dist/cjs/components/StyledAvatar/index.cjs +1 -1
  253. package/dist/cjs/components/Switch/index.cjs +1 -1
  254. package/dist/cjs/components/Tabs/index.cjs +1 -1
  255. package/dist/cjs/components/TagBlock/index.cjs +1 -1
  256. package/dist/cjs/components/Text/index.cjs +1 -1
  257. package/dist/cjs/components/TextInput/index.cjs +1 -1
  258. package/dist/cjs/components/Textarea/index.cjs +1 -1
  259. package/dist/cjs/components/TimePicker/index.cjs +1 -1
  260. package/dist/cjs/components/TimeRange/index.cjs +1 -1
  261. package/dist/cjs/components/Timestamp/index.cjs +1 -1
  262. package/dist/cjs/components/Tooltip/index.cjs +1 -1
  263. package/dist/cjs/components/index.cjs +1 -1
  264. package/dist/cjs/index.cjs +1 -1
  265. package/dist/cjs/theme/index.cjs +1 -1
  266. package/dist/esm/chakra/index.js +197 -191
  267. package/dist/esm/chakra/index.js.map +1 -1
  268. package/dist/esm/components/Alert/index.js +1 -1
  269. package/dist/esm/components/Avatar/index.js +1 -1
  270. package/dist/esm/components/AvatarGroup/index.js +1 -1
  271. package/dist/esm/components/ButtonGroup/index.js +1 -1
  272. package/dist/esm/components/CharacterCounter/index.js +1 -1
  273. package/dist/esm/components/Checkbox/index.js +1 -1
  274. package/dist/esm/components/CheckboxGroup/index.js +1 -1
  275. package/dist/esm/components/ConversationCard/index.js +1 -1
  276. package/dist/esm/components/DatePicker/index.js +1 -1
  277. package/dist/esm/components/Heading/index.js +1 -1
  278. package/dist/esm/components/Logo/index.js +1 -1
  279. package/dist/esm/components/Menu/index.js +1 -1
  280. package/dist/esm/components/Modal/index.js +1 -1
  281. package/dist/esm/components/NotificationCounter/index.js +1 -1
  282. package/dist/esm/components/PinInput/index.js +1 -1
  283. package/dist/esm/components/Popover/index.js +1 -1
  284. package/dist/esm/components/RadioGroup/index.js +1 -1
  285. package/dist/esm/components/RatingDots/index.js +1 -1
  286. package/dist/esm/components/Select/index.js +1 -1
  287. package/dist/esm/components/SortableList/index.js +1 -1
  288. package/dist/esm/components/Spinner/index.js +1 -1
  289. package/dist/esm/components/StyledAvatar/index.js +1 -1
  290. package/dist/esm/components/Swatch/index.js +1 -1
  291. package/dist/esm/components/Switch/index.js +1 -1
  292. package/dist/esm/components/Tabs/index.js +1 -1
  293. package/dist/esm/components/TagBlock/index.js +1 -1
  294. package/dist/esm/components/Text/index.js +1 -1
  295. package/dist/esm/components/TextInput/index.js +1 -1
  296. package/dist/esm/components/Textarea/index.js +1 -1
  297. package/dist/esm/components/TimePicker/index.js +1 -1
  298. package/dist/esm/components/TimeRange/index.js +1 -1
  299. package/dist/esm/components/Timestamp/index.js +1 -1
  300. package/dist/esm/components/Toast/index.js +1 -1
  301. package/dist/esm/components/Tooltip/index.js +1 -1
  302. package/dist/esm/components/index.js +33 -33
  303. package/dist/esm/index.js +56 -55
  304. package/dist/esm/theme/index.js +3 -2
  305. package/dist/types/chakra/index.d.ts +2 -1
  306. package/dist/types/theme/index.d.ts +1 -1
  307. package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +3 -3
  308. package/package.json +1 -1
  309. package/dist/chunks/checkbox.component-CY7ZklEW.js +0 -2
  310. package/dist/chunks/checkbox.records-CTlAD-2Q.js.map +0 -1
  311. package/dist/chunks/checkbox.records-DI3mqSNf.js +0 -2
  312. package/dist/chunks/checkbox.records-DI3mqSNf.js.map +0 -1
  313. package/dist/chunks/index-DUY19L6M.js +0 -6312
  314. package/dist/chunks/index-DUY19L6M.js.map +0 -1
  315. package/dist/chunks/index-iaug4k6v.js +0 -8
  316. package/dist/chunks/index-iaug4k6v.js.map +0 -1
  317. package/dist/chunks/radio.records-4ih1q8nO.js.map +0 -1
  318. package/dist/chunks/radio.records-j0JOqaJ4.js.map +0 -1
  319. package/dist/chunks/radioGroup.component-SvJktaFu.js +0 -2
  320. package/dist/chunks/theme.provider-By9pC56x.js +0 -13594
  321. package/dist/chunks/theme.provider-By9pC56x.js.map +0 -1
  322. package/dist/chunks/theme.provider-C7LTWlAF.js +0 -26
  323. package/dist/chunks/theme.provider-C7LTWlAF.js.map +0 -1
  324. package/dist/chunks/tooltip.component-CIUcGhxw.js +0 -2
  325. package/dist/chunks/tooltip.component-CIUcGhxw.js.map +0 -1
  326. package/dist/chunks/tooltip.component-Cr_en1NQ.js +0 -489
  327. package/dist/chunks/tooltip.component-Cr_en1NQ.js.map +0 -1
  328. package/dist/chunks/typography.records-CSy2LmDd.js +0 -2
  329. package/dist/chunks/typography.records-CSy2LmDd.js.map +0 -1
  330. package/dist/chunks/typography.records-H4aA5AOA.js.map +0 -1
  331. package/dist/chunks/use-locale-context-BiiNTYMT.js.map +0 -1
  332. package/dist/chunks/use-locale-context-D0LByRu9.js +0 -22
  333. package/dist/chunks/use-locale-context-D0LByRu9.js.map +0 -1
  334. package/dist/chunks/withFormControl-BUrlnWW8.js +0 -2
@@ -1,7 +1,7 @@
1
- import { j as ue } from "./jsx-runtime-C5mzlN2N.js";
2
- import { b2 as mt, G as pt, b3 as yt, a6 as Je, T as ht, b4 as re, b5 as Oe, b6 as vt, b7 as ie, aF as He, b8 as xt, K as wt, a1 as bt, c as Ot, al as St, an as Et, r as Re, e as Qe, E as Rt, b9 as At, l as Tt, ba as _t, a7 as Pt, F as Nt } from "./index-YtNA0Ueo.js";
3
- import Ze, { createContext as Ct, useContext as Dt, useState as Ae, useSyncExternalStore as Mt, useEffect as se, Children as et, useMemo as Lt, useRef as L, useLayoutEffect as kt, memo as $t, forwardRef as Vt, createElement as Ht, isValidElement as zt, cloneElement as Ut, useCallback as Ft } from "react";
4
- var fe = { exports: {} }, N = {};
1
+ import { j as fe } from "./jsx-runtime-C5mzlN2N.js";
2
+ import { ar as St, I as Pt, as as Tt, a6 as rt, T as Ct, at as re, au as Re, av as At, aw as se, ax as He, ay as Nt, C as _t, a1 as Dt, c as ot, al as Lt, an as Mt, r as Ce, e as it, G as kt, az as It, l as Vt, aA as $t, a7 as Ft, H as Ut, z as Ht, t as zt, b as Bt } from "./index-1syExFDc.js";
3
+ import st, { createContext as Wt, useContext as jt, useState as Ae, useSyncExternalStore as Gt, useEffect as ce, Children as ct, useMemo as qt, useRef as M, useLayoutEffect as Yt, memo as Kt, forwardRef as Xt, createElement as Jt, isValidElement as Qt, cloneElement as Zt, useCallback as en } from "react";
4
+ var de = { exports: {} }, N = {};
5
5
  /**
6
6
  * @license React
7
7
  * react-dom.production.js
@@ -12,18 +12,18 @@ var fe = { exports: {} }, N = {};
12
12
  * LICENSE file in the root directory of this source tree.
13
13
  */
14
14
  var ze;
15
- function It() {
15
+ function tn() {
16
16
  if (ze) return N;
17
17
  ze = 1;
18
- var e = Ze;
18
+ var e = st;
19
19
  function t(u) {
20
- var s = "https://react.dev/errors/" + u;
20
+ var i = "https://react.dev/errors/" + u;
21
21
  if (1 < arguments.length) {
22
- s += "?args[]=" + encodeURIComponent(arguments[1]);
22
+ i += "?args[]=" + encodeURIComponent(arguments[1]);
23
23
  for (var g = 2; g < arguments.length; g++)
24
- s += "&args[]=" + encodeURIComponent(arguments[g]);
24
+ i += "&args[]=" + encodeURIComponent(arguments[g]);
25
25
  }
26
- return "Minified React error #" + u + "; visit " + s + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
26
+ return "Minified React error #" + u + "; visit " + i + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
27
27
  }
28
28
  function r() {
29
29
  }
@@ -44,107 +44,107 @@ function It() {
44
44
  p: 0,
45
45
  findDOMNode: null
46
46
  }, o = Symbol.for("react.portal");
47
- function c(u, s, g) {
47
+ function c(u, i, g) {
48
48
  var a = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
49
49
  return {
50
50
  $$typeof: o,
51
51
  key: a == null ? null : "" + a,
52
52
  children: u,
53
- containerInfo: s,
53
+ containerInfo: i,
54
54
  implementation: g
55
55
  };
56
56
  }
57
57
  var l = e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
58
- function f(u, s) {
58
+ function f(u, i) {
59
59
  if (u === "font") return "";
60
- if (typeof s == "string")
61
- return s === "use-credentials" ? s : "";
60
+ if (typeof i == "string")
61
+ return i === "use-credentials" ? i : "";
62
62
  }
63
- return N.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = n, N.createPortal = function(u, s) {
63
+ return N.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = n, N.createPortal = function(u, i) {
64
64
  var g = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
65
- if (!s || s.nodeType !== 1 && s.nodeType !== 9 && s.nodeType !== 11)
65
+ if (!i || i.nodeType !== 1 && i.nodeType !== 9 && i.nodeType !== 11)
66
66
  throw Error(t(299));
67
- return c(u, s, null, g);
67
+ return c(u, i, null, g);
68
68
  }, N.flushSync = function(u) {
69
- var s = l.T, g = n.p;
69
+ var i = l.T, g = n.p;
70
70
  try {
71
71
  if (l.T = null, n.p = 2, u) return u();
72
72
  } finally {
73
- l.T = s, n.p = g, n.d.f();
73
+ l.T = i, n.p = g, n.d.f();
74
74
  }
75
- }, N.preconnect = function(u, s) {
76
- typeof u == "string" && (s ? (s = s.crossOrigin, s = typeof s == "string" ? s === "use-credentials" ? s : "" : void 0) : s = null, n.d.C(u, s));
75
+ }, N.preconnect = function(u, i) {
76
+ typeof u == "string" && (i ? (i = i.crossOrigin, i = typeof i == "string" ? i === "use-credentials" ? i : "" : void 0) : i = null, n.d.C(u, i));
77
77
  }, N.prefetchDNS = function(u) {
78
78
  typeof u == "string" && n.d.D(u);
79
- }, N.preinit = function(u, s) {
80
- if (typeof u == "string" && s && typeof s.as == "string") {
81
- var g = s.as, a = f(g, s.crossOrigin), i = typeof s.integrity == "string" ? s.integrity : void 0, d = typeof s.fetchPriority == "string" ? s.fetchPriority : void 0;
79
+ }, N.preinit = function(u, i) {
80
+ if (typeof u == "string" && i && typeof i.as == "string") {
81
+ var g = i.as, a = f(g, i.crossOrigin), s = typeof i.integrity == "string" ? i.integrity : void 0, d = typeof i.fetchPriority == "string" ? i.fetchPriority : void 0;
82
82
  g === "style" ? n.d.S(
83
83
  u,
84
- typeof s.precedence == "string" ? s.precedence : void 0,
84
+ typeof i.precedence == "string" ? i.precedence : void 0,
85
85
  {
86
86
  crossOrigin: a,
87
- integrity: i,
87
+ integrity: s,
88
88
  fetchPriority: d
89
89
  }
90
90
  ) : g === "script" && n.d.X(u, {
91
91
  crossOrigin: a,
92
- integrity: i,
92
+ integrity: s,
93
93
  fetchPriority: d,
94
- nonce: typeof s.nonce == "string" ? s.nonce : void 0
94
+ nonce: typeof i.nonce == "string" ? i.nonce : void 0
95
95
  });
96
96
  }
97
- }, N.preinitModule = function(u, s) {
97
+ }, N.preinitModule = function(u, i) {
98
98
  if (typeof u == "string")
99
- if (typeof s == "object" && s !== null) {
100
- if (s.as == null || s.as === "script") {
99
+ if (typeof i == "object" && i !== null) {
100
+ if (i.as == null || i.as === "script") {
101
101
  var g = f(
102
- s.as,
103
- s.crossOrigin
102
+ i.as,
103
+ i.crossOrigin
104
104
  );
105
105
  n.d.M(u, {
106
106
  crossOrigin: g,
107
- integrity: typeof s.integrity == "string" ? s.integrity : void 0,
108
- nonce: typeof s.nonce == "string" ? s.nonce : void 0
107
+ integrity: typeof i.integrity == "string" ? i.integrity : void 0,
108
+ nonce: typeof i.nonce == "string" ? i.nonce : void 0
109
109
  });
110
110
  }
111
- } else s == null && n.d.M(u);
112
- }, N.preload = function(u, s) {
113
- if (typeof u == "string" && typeof s == "object" && s !== null && typeof s.as == "string") {
114
- var g = s.as, a = f(g, s.crossOrigin);
111
+ } else i == null && n.d.M(u);
112
+ }, N.preload = function(u, i) {
113
+ if (typeof u == "string" && typeof i == "object" && i !== null && typeof i.as == "string") {
114
+ var g = i.as, a = f(g, i.crossOrigin);
115
115
  n.d.L(u, g, {
116
116
  crossOrigin: a,
117
- integrity: typeof s.integrity == "string" ? s.integrity : void 0,
118
- nonce: typeof s.nonce == "string" ? s.nonce : void 0,
119
- type: typeof s.type == "string" ? s.type : void 0,
120
- fetchPriority: typeof s.fetchPriority == "string" ? s.fetchPriority : void 0,
121
- referrerPolicy: typeof s.referrerPolicy == "string" ? s.referrerPolicy : void 0,
122
- imageSrcSet: typeof s.imageSrcSet == "string" ? s.imageSrcSet : void 0,
123
- imageSizes: typeof s.imageSizes == "string" ? s.imageSizes : void 0,
124
- media: typeof s.media == "string" ? s.media : void 0
117
+ integrity: typeof i.integrity == "string" ? i.integrity : void 0,
118
+ nonce: typeof i.nonce == "string" ? i.nonce : void 0,
119
+ type: typeof i.type == "string" ? i.type : void 0,
120
+ fetchPriority: typeof i.fetchPriority == "string" ? i.fetchPriority : void 0,
121
+ referrerPolicy: typeof i.referrerPolicy == "string" ? i.referrerPolicy : void 0,
122
+ imageSrcSet: typeof i.imageSrcSet == "string" ? i.imageSrcSet : void 0,
123
+ imageSizes: typeof i.imageSizes == "string" ? i.imageSizes : void 0,
124
+ media: typeof i.media == "string" ? i.media : void 0
125
125
  });
126
126
  }
127
- }, N.preloadModule = function(u, s) {
127
+ }, N.preloadModule = function(u, i) {
128
128
  if (typeof u == "string")
129
- if (s) {
130
- var g = f(s.as, s.crossOrigin);
129
+ if (i) {
130
+ var g = f(i.as, i.crossOrigin);
131
131
  n.d.m(u, {
132
- as: typeof s.as == "string" && s.as !== "script" ? s.as : void 0,
132
+ as: typeof i.as == "string" && i.as !== "script" ? i.as : void 0,
133
133
  crossOrigin: g,
134
- integrity: typeof s.integrity == "string" ? s.integrity : void 0
134
+ integrity: typeof i.integrity == "string" ? i.integrity : void 0
135
135
  });
136
136
  } else n.d.m(u);
137
137
  }, N.requestFormReset = function(u) {
138
138
  n.d.r(u);
139
- }, N.unstable_batchedUpdates = function(u, s) {
140
- return u(s);
141
- }, N.useFormState = function(u, s, g) {
142
- return l.H.useFormState(u, s, g);
139
+ }, N.unstable_batchedUpdates = function(u, i) {
140
+ return u(i);
141
+ }, N.useFormState = function(u, i, g) {
142
+ return l.H.useFormState(u, i, g);
143
143
  }, N.useFormStatus = function() {
144
144
  return l.H.useHostTransitionStatus();
145
145
  }, N.version = "19.1.0", N;
146
146
  }
147
- var C = {};
147
+ var _ = {};
148
148
  /**
149
149
  * @license React
150
150
  * react-dom.development.js
@@ -154,37 +154,37 @@ var C = {};
154
154
  * This source code is licensed under the MIT license found in the
155
155
  * LICENSE file in the root directory of this source tree.
156
156
  */
157
- var Ue;
158
- function Wt() {
159
- return Ue || (Ue = 1, process.env.NODE_ENV !== "production" && function() {
157
+ var Be;
158
+ function nn() {
159
+ return Be || (Be = 1, process.env.NODE_ENV !== "production" && function() {
160
160
  function e() {
161
161
  }
162
162
  function t(a) {
163
163
  return "" + a;
164
164
  }
165
- function r(a, i, d) {
166
- var m = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
165
+ function r(a, s, d) {
166
+ var p = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
167
167
  try {
168
- t(m);
169
- var p = !1;
168
+ t(p);
169
+ var m = !1;
170
170
  } catch {
171
- p = !0;
171
+ m = !0;
172
172
  }
173
- return p && (console.error(
173
+ return m && (console.error(
174
174
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
175
- typeof Symbol == "function" && Symbol.toStringTag && m[Symbol.toStringTag] || m.constructor.name || "Object"
176
- ), t(m)), {
177
- $$typeof: s,
178
- key: m == null ? null : "" + m,
175
+ typeof Symbol == "function" && Symbol.toStringTag && p[Symbol.toStringTag] || p.constructor.name || "Object"
176
+ ), t(p)), {
177
+ $$typeof: i,
178
+ key: p == null ? null : "" + p,
179
179
  children: a,
180
- containerInfo: i,
180
+ containerInfo: s,
181
181
  implementation: d
182
182
  };
183
183
  }
184
- function n(a, i) {
184
+ function n(a, s) {
185
185
  if (a === "font") return "";
186
- if (typeof i == "string")
187
- return i === "use-credentials" ? i : "";
186
+ if (typeof s == "string")
187
+ return s === "use-credentials" ? s : "";
188
188
  }
189
189
  function o(a) {
190
190
  return a === null ? "`null`" : a === void 0 ? "`undefined`" : a === "" ? "an empty string" : 'something with type "' + typeof a + '"';
@@ -203,7 +203,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
203
203
  ), a;
204
204
  }
205
205
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
206
- var f = Ze, u = {
206
+ var f = st, u = {
207
207
  d: {
208
208
  f: e,
209
209
  r: function() {
@@ -221,88 +221,88 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
221
221
  },
222
222
  p: 0,
223
223
  findDOMNode: null
224
- }, s = Symbol.for("react.portal"), g = f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
224
+ }, i = Symbol.for("react.portal"), g = f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
225
225
  typeof Map == "function" && Map.prototype != null && typeof Map.prototype.forEach == "function" && typeof Set == "function" && Set.prototype != null && typeof Set.prototype.clear == "function" && typeof Set.prototype.forEach == "function" || console.error(
226
226
  "React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"
227
- ), C.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = u, C.createPortal = function(a, i) {
227
+ ), _.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = u, _.createPortal = function(a, s) {
228
228
  var d = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
229
- if (!i || i.nodeType !== 1 && i.nodeType !== 9 && i.nodeType !== 11)
229
+ if (!s || s.nodeType !== 1 && s.nodeType !== 9 && s.nodeType !== 11)
230
230
  throw Error("Target container is not a DOM element.");
231
- return r(a, i, null, d);
232
- }, C.flushSync = function(a) {
233
- var i = g.T, d = u.p;
231
+ return r(a, s, null, d);
232
+ }, _.flushSync = function(a) {
233
+ var s = g.T, d = u.p;
234
234
  try {
235
235
  if (g.T = null, u.p = 2, a)
236
236
  return a();
237
237
  } finally {
238
- g.T = i, u.p = d, u.d.f() && console.error(
238
+ g.T = s, u.p = d, u.d.f() && console.error(
239
239
  "flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."
240
240
  );
241
241
  }
242
- }, C.preconnect = function(a, i) {
243
- typeof a == "string" && a ? i != null && typeof i != "object" ? console.error(
242
+ }, _.preconnect = function(a, s) {
243
+ typeof a == "string" && a ? s != null && typeof s != "object" ? console.error(
244
244
  "ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",
245
- c(i)
246
- ) : i != null && typeof i.crossOrigin != "string" && console.error(
245
+ c(s)
246
+ ) : s != null && typeof s.crossOrigin != "string" && console.error(
247
247
  "ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",
248
- o(i.crossOrigin)
248
+ o(s.crossOrigin)
249
249
  ) : console.error(
250
250
  "ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
251
251
  o(a)
252
- ), typeof a == "string" && (i ? (i = i.crossOrigin, i = typeof i == "string" ? i === "use-credentials" ? i : "" : void 0) : i = null, u.d.C(a, i));
253
- }, C.prefetchDNS = function(a) {
252
+ ), typeof a == "string" && (s ? (s = s.crossOrigin, s = typeof s == "string" ? s === "use-credentials" ? s : "" : void 0) : s = null, u.d.C(a, s));
253
+ }, _.prefetchDNS = function(a) {
254
254
  if (typeof a != "string" || !a)
255
255
  console.error(
256
256
  "ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
257
257
  o(a)
258
258
  );
259
259
  else if (1 < arguments.length) {
260
- var i = arguments[1];
261
- typeof i == "object" && i.hasOwnProperty("crossOrigin") ? console.error(
260
+ var s = arguments[1];
261
+ typeof s == "object" && s.hasOwnProperty("crossOrigin") ? console.error(
262
262
  "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
263
- c(i)
263
+ c(s)
264
264
  ) : console.error(
265
265
  "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
266
- c(i)
266
+ c(s)
267
267
  );
268
268
  }
269
269
  typeof a == "string" && u.d.D(a);
270
- }, C.preinit = function(a, i) {
271
- if (typeof a == "string" && a ? i == null || typeof i != "object" ? console.error(
270
+ }, _.preinit = function(a, s) {
271
+ if (typeof a == "string" && a ? s == null || typeof s != "object" ? console.error(
272
272
  "ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",
273
- c(i)
274
- ) : i.as !== "style" && i.as !== "script" && console.error(
273
+ c(s)
274
+ ) : s.as !== "style" && s.as !== "script" && console.error(
275
275
  'ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',
276
- c(i.as)
276
+ c(s.as)
277
277
  ) : console.error(
278
278
  "ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
279
279
  o(a)
280
- ), typeof a == "string" && i && typeof i.as == "string") {
281
- var d = i.as, m = n(d, i.crossOrigin), p = typeof i.integrity == "string" ? i.integrity : void 0, y = typeof i.fetchPriority == "string" ? i.fetchPriority : void 0;
280
+ ), typeof a == "string" && s && typeof s.as == "string") {
281
+ var d = s.as, p = n(d, s.crossOrigin), m = typeof s.integrity == "string" ? s.integrity : void 0, y = typeof s.fetchPriority == "string" ? s.fetchPriority : void 0;
282
282
  d === "style" ? u.d.S(
283
283
  a,
284
- typeof i.precedence == "string" ? i.precedence : void 0,
284
+ typeof s.precedence == "string" ? s.precedence : void 0,
285
285
  {
286
- crossOrigin: m,
287
- integrity: p,
286
+ crossOrigin: p,
287
+ integrity: m,
288
288
  fetchPriority: y
289
289
  }
290
290
  ) : d === "script" && u.d.X(a, {
291
- crossOrigin: m,
292
- integrity: p,
291
+ crossOrigin: p,
292
+ integrity: m,
293
293
  fetchPriority: y,
294
- nonce: typeof i.nonce == "string" ? i.nonce : void 0
294
+ nonce: typeof s.nonce == "string" ? s.nonce : void 0
295
295
  });
296
296
  }
297
- }, C.preinitModule = function(a, i) {
297
+ }, _.preinitModule = function(a, s) {
298
298
  var d = "";
299
- if (typeof a == "string" && a || (d += " The `href` argument encountered was " + o(a) + "."), i !== void 0 && typeof i != "object" ? d += " The `options` argument encountered was " + o(i) + "." : i && "as" in i && i.as !== "script" && (d += " The `as` option encountered was " + c(i.as) + "."), d)
299
+ if (typeof a == "string" && a || (d += " The `href` argument encountered was " + o(a) + "."), s !== void 0 && typeof s != "object" ? d += " The `options` argument encountered was " + o(s) + "." : s && "as" in s && s.as !== "script" && (d += " The `as` option encountered was " + c(s.as) + "."), d)
300
300
  console.error(
301
301
  "ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",
302
302
  d
303
303
  );
304
304
  else
305
- switch (d = i && typeof i.as == "string" ? i.as : "script", d) {
305
+ switch (d = s && typeof s.as == "string" ? s.as : "script", d) {
306
306
  case "script":
307
307
  break;
308
308
  default:
@@ -312,65 +312,65 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
312
312
  a
313
313
  );
314
314
  }
315
- typeof a == "string" && (typeof i == "object" && i !== null ? (i.as == null || i.as === "script") && (d = n(
316
- i.as,
317
- i.crossOrigin
315
+ typeof a == "string" && (typeof s == "object" && s !== null ? (s.as == null || s.as === "script") && (d = n(
316
+ s.as,
317
+ s.crossOrigin
318
318
  ), u.d.M(a, {
319
319
  crossOrigin: d,
320
- integrity: typeof i.integrity == "string" ? i.integrity : void 0,
321
- nonce: typeof i.nonce == "string" ? i.nonce : void 0
322
- })) : i == null && u.d.M(a));
323
- }, C.preload = function(a, i) {
320
+ integrity: typeof s.integrity == "string" ? s.integrity : void 0,
321
+ nonce: typeof s.nonce == "string" ? s.nonce : void 0
322
+ })) : s == null && u.d.M(a));
323
+ }, _.preload = function(a, s) {
324
324
  var d = "";
325
- if (typeof a == "string" && a || (d += " The `href` argument encountered was " + o(a) + "."), i == null || typeof i != "object" ? d += " The `options` argument encountered was " + o(i) + "." : typeof i.as == "string" && i.as || (d += " The `as` option encountered was " + o(i.as) + "."), d && console.error(
325
+ if (typeof a == "string" && a || (d += " The `href` argument encountered was " + o(a) + "."), s == null || typeof s != "object" ? d += " The `options` argument encountered was " + o(s) + "." : typeof s.as == "string" && s.as || (d += " The `as` option encountered was " + o(s.as) + "."), d && console.error(
326
326
  'ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',
327
327
  d
328
- ), typeof a == "string" && typeof i == "object" && i !== null && typeof i.as == "string") {
329
- d = i.as;
330
- var m = n(
328
+ ), typeof a == "string" && typeof s == "object" && s !== null && typeof s.as == "string") {
329
+ d = s.as;
330
+ var p = n(
331
331
  d,
332
- i.crossOrigin
332
+ s.crossOrigin
333
333
  );
334
334
  u.d.L(a, d, {
335
- crossOrigin: m,
336
- integrity: typeof i.integrity == "string" ? i.integrity : void 0,
337
- nonce: typeof i.nonce == "string" ? i.nonce : void 0,
338
- type: typeof i.type == "string" ? i.type : void 0,
339
- fetchPriority: typeof i.fetchPriority == "string" ? i.fetchPriority : void 0,
340
- referrerPolicy: typeof i.referrerPolicy == "string" ? i.referrerPolicy : void 0,
341
- imageSrcSet: typeof i.imageSrcSet == "string" ? i.imageSrcSet : void 0,
342
- imageSizes: typeof i.imageSizes == "string" ? i.imageSizes : void 0,
343
- media: typeof i.media == "string" ? i.media : void 0
335
+ crossOrigin: p,
336
+ integrity: typeof s.integrity == "string" ? s.integrity : void 0,
337
+ nonce: typeof s.nonce == "string" ? s.nonce : void 0,
338
+ type: typeof s.type == "string" ? s.type : void 0,
339
+ fetchPriority: typeof s.fetchPriority == "string" ? s.fetchPriority : void 0,
340
+ referrerPolicy: typeof s.referrerPolicy == "string" ? s.referrerPolicy : void 0,
341
+ imageSrcSet: typeof s.imageSrcSet == "string" ? s.imageSrcSet : void 0,
342
+ imageSizes: typeof s.imageSizes == "string" ? s.imageSizes : void 0,
343
+ media: typeof s.media == "string" ? s.media : void 0
344
344
  });
345
345
  }
346
- }, C.preloadModule = function(a, i) {
346
+ }, _.preloadModule = function(a, s) {
347
347
  var d = "";
348
- typeof a == "string" && a || (d += " The `href` argument encountered was " + o(a) + "."), i !== void 0 && typeof i != "object" ? d += " The `options` argument encountered was " + o(i) + "." : i && "as" in i && typeof i.as != "string" && (d += " The `as` option encountered was " + o(i.as) + "."), d && console.error(
348
+ typeof a == "string" && a || (d += " The `href` argument encountered was " + o(a) + "."), s !== void 0 && typeof s != "object" ? d += " The `options` argument encountered was " + o(s) + "." : s && "as" in s && typeof s.as != "string" && (d += " The `as` option encountered was " + o(s.as) + "."), d && console.error(
349
349
  'ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',
350
350
  d
351
- ), typeof a == "string" && (i ? (d = n(
352
- i.as,
353
- i.crossOrigin
351
+ ), typeof a == "string" && (s ? (d = n(
352
+ s.as,
353
+ s.crossOrigin
354
354
  ), u.d.m(a, {
355
- as: typeof i.as == "string" && i.as !== "script" ? i.as : void 0,
355
+ as: typeof s.as == "string" && s.as !== "script" ? s.as : void 0,
356
356
  crossOrigin: d,
357
- integrity: typeof i.integrity == "string" ? i.integrity : void 0
357
+ integrity: typeof s.integrity == "string" ? s.integrity : void 0
358
358
  })) : u.d.m(a));
359
- }, C.requestFormReset = function(a) {
359
+ }, _.requestFormReset = function(a) {
360
360
  u.d.r(a);
361
- }, C.unstable_batchedUpdates = function(a, i) {
362
- return a(i);
363
- }, C.useFormState = function(a, i, d) {
364
- return l().useFormState(a, i, d);
365
- }, C.useFormStatus = function() {
361
+ }, _.unstable_batchedUpdates = function(a, s) {
362
+ return a(s);
363
+ }, _.useFormState = function(a, s, d) {
364
+ return l().useFormState(a, s, d);
365
+ }, _.useFormStatus = function() {
366
366
  return l().useHostTransitionStatus();
367
- }, C.version = "19.1.0", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
368
- }()), C;
367
+ }, _.version = "19.1.0", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
368
+ }()), _;
369
369
  }
370
- var Fe;
371
- function jt() {
372
- if (Fe) return fe.exports;
373
- Fe = 1;
370
+ var We;
371
+ function rn() {
372
+ if (We) return de.exports;
373
+ We = 1;
374
374
  function e() {
375
375
  if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) {
376
376
  if (process.env.NODE_ENV !== "production")
@@ -382,13 +382,13 @@ function jt() {
382
382
  }
383
383
  }
384
384
  }
385
- return process.env.NODE_ENV === "production" ? (e(), fe.exports = It()) : fe.exports = Wt(), fe.exports;
385
+ return process.env.NODE_ENV === "production" ? (e(), de.exports = tn()) : de.exports = nn(), de.exports;
386
386
  }
387
- var ve = jt();
388
- function Bt(e, t) {
387
+ var we = rn();
388
+ function on(e, t) {
389
389
  return `${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`;
390
390
  }
391
- function Ne(e = {}) {
391
+ function Le(e = {}) {
392
392
  const {
393
393
  name: t,
394
394
  strict: r = !0,
@@ -396,19 +396,19 @@ function Ne(e = {}) {
396
396
  providerName: o = "Provider",
397
397
  errorMessage: c,
398
398
  defaultValue: l
399
- } = e, f = Ct(l);
399
+ } = e, f = Wt(l);
400
400
  f.displayName = t;
401
401
  function u() {
402
- const s = Dt(f);
403
- if (!s && r) {
404
- const g = new Error(c ?? Bt(n, o));
402
+ const i = jt(f);
403
+ if (!i && r) {
404
+ const g = new Error(c ?? on(n, o));
405
405
  throw g.name = "ContextError", Error.captureStackTrace?.(g, u), g;
406
406
  }
407
- return s;
407
+ return i;
408
408
  }
409
409
  return [f.Provider, u, f];
410
410
  }
411
- const [xr, qt] = Ne({
411
+ const [kr, sn] = Le({
412
412
  name: "EnvironmentContext",
413
413
  hookName: "useEnvironmentContext",
414
414
  providerName: "<EnvironmentProvider />",
@@ -418,40 +418,40 @@ const [xr, qt] = Ne({
418
418
  getDocument: () => document,
419
419
  getWindow: () => window
420
420
  }
421
- }), wr = (e) => {
422
- const { children: t, disabled: r } = e, [n, o] = Ae(e.container?.current), c = Mt(
423
- Gt,
421
+ }), Ir = (e) => {
422
+ const { children: t, disabled: r } = e, [n, o] = Ae(e.container?.current), c = Gt(
423
+ an,
424
424
  () => !1,
425
425
  () => !0
426
- ), { getRootNode: l } = qt();
427
- if (se(() => {
426
+ ), { getRootNode: l } = sn();
427
+ if (ce(() => {
428
428
  o(() => e.container?.current);
429
- }, [e.container]), c || r) return /* @__PURE__ */ ue.jsx(ue.Fragment, { children: t });
430
- const f = n ?? Yt(l);
431
- return /* @__PURE__ */ ue.jsx(ue.Fragment, { children: et.map(t, (u) => ve.createPortal(u, f)) });
432
- }, Yt = (e) => {
429
+ }, [e.container]), c || r) return /* @__PURE__ */ fe.jsx(fe.Fragment, { children: t });
430
+ const f = n ?? cn(l);
431
+ return /* @__PURE__ */ fe.jsx(fe.Fragment, { children: ct.map(t, (u) => we.createPortal(u, f)) });
432
+ }, cn = (e) => {
433
433
  const t = e?.(), r = t.getRootNode();
434
- return mt(r) ? r : pt(t).body;
435
- }, Gt = () => () => {
434
+ return St(r) ? r : Pt(t).body;
435
+ }, an = () => () => {
436
436
  };
437
- function Kt(e) {
437
+ function ln(e) {
438
438
  return new Proxy({}, {
439
439
  get(t, r) {
440
440
  return r === "style" ? (n) => e({ style: n }).style : e;
441
441
  }
442
442
  });
443
443
  }
444
- var Xt = () => (e) => Array.from(new Set(e)), tt = typeof globalThis.document < "u" ? kt : se;
445
- function me(e) {
446
- const t = e().value ?? e().defaultValue, r = e().isEqual ?? Object.is, [n] = Ae(t), [o, c] = Ae(n), l = e().value !== void 0, f = L(o);
444
+ var at = () => (e) => Array.from(new Set(e)), lt = typeof globalThis.document < "u" ? Yt : ce;
445
+ function ye(e) {
446
+ const t = e().value ?? e().defaultValue, r = e().isEqual ?? Object.is, [n] = Ae(t), [o, c] = Ae(n), l = e().value !== void 0, f = M(o);
447
447
  f.current = l ? e().value : o;
448
- const u = L(f.current);
449
- tt(() => {
448
+ const u = M(f.current);
449
+ lt(() => {
450
450
  u.current = f.current;
451
451
  }, [o, e().value]);
452
- const s = (a) => {
453
- const i = u.current, d = ie(a) ? a(i) : a;
454
- e().debug && console.log(`[bindable > ${e().debug}] setValue`, { next: d, prev: i }), l || c(d), r(d, i) || e().onChange?.(d, i);
452
+ const i = (a) => {
453
+ const s = u.current, d = se(a) ? a(s) : a;
454
+ e().debug && console.log(`[bindable > ${e().debug}] setValue`, { next: d, prev: s }), l || c(d), r(d, s) || e().onChange?.(d, s);
455
455
  };
456
456
  function g() {
457
457
  return l ? e().value : o;
@@ -461,21 +461,21 @@ function me(e) {
461
461
  ref: f,
462
462
  get: g,
463
463
  set(a) {
464
- (e().sync ? ve.flushSync : vt)(() => s(a));
464
+ (e().sync ? we.flushSync : At)(() => i(a));
465
465
  },
466
- invoke(a, i) {
467
- e().onChange?.(a, i);
466
+ invoke(a, s) {
467
+ e().onChange?.(a, s);
468
468
  },
469
469
  hash(a) {
470
470
  return e().hash?.(a) ?? String(a);
471
471
  }
472
472
  };
473
473
  }
474
- me.cleanup = (e) => {
475
- se(() => e, []);
474
+ ye.cleanup = (e) => {
475
+ ce(() => e, []);
476
476
  };
477
- me.ref = (e) => {
478
- const t = L(e);
477
+ ye.ref = (e) => {
478
+ const t = M(e);
479
479
  return {
480
480
  get: () => t.current,
481
481
  set: (r) => {
@@ -483,8 +483,8 @@ me.ref = (e) => {
483
483
  }
484
484
  };
485
485
  };
486
- function Jt(e) {
487
- const t = L(e);
486
+ function un(e) {
487
+ const t = M(e);
488
488
  return {
489
489
  get(r) {
490
490
  return t.current[r];
@@ -494,188 +494,188 @@ function Jt(e) {
494
494
  }
495
495
  };
496
496
  }
497
- var Qt = (e, t) => {
498
- const r = L(!1), n = L(!1);
499
- se(() => {
497
+ var fn = (e, t) => {
498
+ const r = M(!1), n = M(!1);
499
+ ce(() => {
500
500
  if (r.current && n.current) return t();
501
501
  n.current = !0;
502
- }, [...(e ?? []).map((o) => typeof o == "function" ? o() : o)]), se(() => (r.current = !0, () => {
502
+ }, [...(e ?? []).map((o) => typeof o == "function" ? o() : o)]), ce(() => (r.current = !0, () => {
503
503
  r.current = !1;
504
504
  }), []);
505
505
  };
506
- function Zt(e, t = {}) {
507
- const r = Lt(() => {
508
- const { id: h, ids: x, getRootNode: R } = t;
509
- return yt({ id: h, ids: x, getRootNode: R });
506
+ function dn(e, t = {}) {
507
+ const r = qt(() => {
508
+ const { id: h, ids: O, getRootNode: S } = t;
509
+ return Tt({ id: h, ids: O, getRootNode: S });
510
510
  }, [t]), n = (...h) => {
511
511
  e.debug && console.log(...h);
512
- }, o = e.props?.({ props: Je(t), scope: r }) ?? t, c = en(o), l = e.context?.({
512
+ }, o = e.props?.({ props: rt(t), scope: r }) ?? t, c = gn(o), l = e.context?.({
513
513
  prop: c,
514
- bindable: me,
514
+ bindable: ye,
515
515
  scope: r,
516
- flush: Ie,
516
+ flush: je,
517
517
  getContext() {
518
518
  return u;
519
519
  },
520
520
  getComputed() {
521
- return S;
521
+ return b;
522
522
  },
523
523
  getRefs() {
524
- return p;
524
+ return m;
525
525
  }
526
- }), f = nt(l), u = {
526
+ }), f = ut(l), u = {
527
527
  get(h) {
528
528
  return f.current?.[h].ref.current;
529
529
  },
530
- set(h, x) {
531
- f.current?.[h].set(x);
530
+ set(h, O) {
531
+ f.current?.[h].set(O);
532
532
  },
533
533
  initial(h) {
534
534
  return f.current?.[h].initial;
535
535
  },
536
536
  hash(h) {
537
- const x = f.current?.[h].get();
538
- return f.current?.[h].hash(x);
537
+ const O = f.current?.[h].get();
538
+ return f.current?.[h].hash(O);
539
539
  }
540
- }, s = L(/* @__PURE__ */ new Map()), g = L(null), a = L(null), i = L({ type: "" }), d = () => ({
541
- ...i.current,
540
+ }, i = M(/* @__PURE__ */ new Map()), g = M(null), a = M(null), s = M({ type: "" }), d = () => ({
541
+ ...s.current,
542
542
  current() {
543
- return i.current;
543
+ return s.current;
544
544
  },
545
545
  previous() {
546
546
  return a.current;
547
547
  }
548
- }), m = () => ({
549
- ...A,
548
+ }), p = () => ({
549
+ ...P,
550
550
  matches(...h) {
551
- return h.includes(A.ref.current);
551
+ return h.includes(P.ref.current);
552
552
  },
553
553
  hasTag(h) {
554
- return !!e.states[A.ref.current]?.tags?.includes(h);
554
+ return !!e.states[P.ref.current]?.tags?.includes(h);
555
555
  }
556
- }), p = Jt(e.refs?.({ prop: c, context: u }) ?? {}), y = () => ({
557
- state: m(),
556
+ }), m = un(e.refs?.({ prop: c, context: u }) ?? {}), y = () => ({
557
+ state: p(),
558
558
  context: u,
559
559
  event: d(),
560
560
  prop: c,
561
- send: M,
561
+ send: L,
562
562
  action: v,
563
563
  guard: w,
564
- track: Qt,
565
- refs: p,
566
- computed: S,
567
- flush: Ie,
564
+ track: fn,
565
+ refs: m,
566
+ computed: b,
567
+ flush: je,
568
568
  scope: r,
569
- choose: E
569
+ choose: R
570
570
  }), v = (h) => {
571
- const x = ie(h) ? h(y()) : h;
572
- if (!x) return;
573
- const R = x.map((O) => {
574
- const T = e.implementations?.actions?.[O];
575
- return T || He(`[zag-js] No implementation found for action "${JSON.stringify(O)}"`), T;
571
+ const O = se(h) ? h(y()) : h;
572
+ if (!O) return;
573
+ const S = O.map((E) => {
574
+ const T = e.implementations?.actions?.[E];
575
+ return T || He(`[zag-js] No implementation found for action "${JSON.stringify(E)}"`), T;
576
576
  });
577
- for (const O of R)
578
- O?.(y());
579
- }, w = (h) => ie(h) ? h(y()) : e.implementations?.guards?.[h](y()), b = (h) => {
580
- const x = ie(h) ? h(y()) : h;
581
- if (!x) return;
582
- const R = x.map((T) => {
583
- const P = e.implementations?.effects?.[T];
584
- return P || He(`[zag-js] No implementation found for effect "${JSON.stringify(T)}"`), P;
585
- }), O = [];
586
- for (const T of R) {
587
- const P = T?.(y());
588
- P && O.push(P);
577
+ for (const E of S)
578
+ E?.(y());
579
+ }, w = (h) => se(h) ? h(y()) : e.implementations?.guards?.[h](y()), x = (h) => {
580
+ const O = se(h) ? h(y()) : h;
581
+ if (!O) return;
582
+ const S = O.map((T) => {
583
+ const A = e.implementations?.effects?.[T];
584
+ return A || He(`[zag-js] No implementation found for effect "${JSON.stringify(T)}"`), A;
585
+ }), E = [];
586
+ for (const T of S) {
587
+ const A = T?.(y());
588
+ A && E.push(A);
589
589
  }
590
- return () => O.forEach((T) => T?.());
591
- }, E = (h) => xt(h).find((x) => {
592
- let R = !x.guard;
593
- return wt(x.guard) ? R = !!w(x.guard) : ie(x.guard) && (R = x.guard(y())), R;
594
- }), S = (h) => {
595
- ht(e.computed, () => "[zag-js] No computed object found on machine");
596
- const x = e.computed[h];
597
- return x({
590
+ return () => E.forEach((T) => T?.());
591
+ }, R = (h) => Nt(h).find((O) => {
592
+ let S = !O.guard;
593
+ return _t(O.guard) ? S = !!w(O.guard) : se(O.guard) && (S = O.guard(y())), S;
594
+ }), b = (h) => {
595
+ Ct(e.computed, () => "[zag-js] No computed object found on machine");
596
+ const O = e.computed[h];
597
+ return O({
598
598
  context: u,
599
599
  event: d(),
600
600
  prop: c,
601
- refs: p,
601
+ refs: m,
602
602
  scope: r,
603
- computed: S
603
+ computed: b
604
604
  });
605
- }, A = me(() => ({
605
+ }, P = ye(() => ({
606
606
  defaultValue: e.initialState({ prop: c }),
607
- onChange(h, x) {
608
- x && (s.current.get(x)?.(), s.current.delete(x)), x && v(e.states[x]?.exit), v(g.current?.actions);
609
- const R = b(e.states[h]?.effects);
610
- if (R && s.current.set(h, R), x === Oe) {
607
+ onChange(h, O) {
608
+ O && (i.current.get(O)?.(), i.current.delete(O)), O && v(e.states[O]?.exit), v(g.current?.actions);
609
+ const S = x(e.states[h]?.effects);
610
+ if (S && i.current.set(h, S), O === Re) {
611
611
  v(e.entry);
612
- const O = b(e.effects);
613
- O && s.current.set(Oe, O);
612
+ const E = x(e.effects);
613
+ E && i.current.set(Re, E);
614
614
  }
615
615
  v(e.states[h]?.entry);
616
616
  }
617
- })), _ = L(void 0), D = L(re.NotStarted);
618
- tt(() => {
617
+ })), C = M(void 0), D = M(re.NotStarted);
618
+ lt(() => {
619
619
  queueMicrotask(() => {
620
- const R = D.current === re.Started;
621
- D.current = re.Started, n(R ? "rehydrating..." : "initializing...");
622
- const O = _.current ?? A.initial;
623
- A.invoke(O, R ? A.get() : Oe);
620
+ const S = D.current === re.Started;
621
+ D.current = re.Started, n(S ? "rehydrating..." : "initializing...");
622
+ const E = C.current ?? P.initial;
623
+ P.invoke(E, S ? P.get() : Re);
624
624
  });
625
- const h = s.current, x = A.ref.current;
625
+ const h = i.current, O = P.ref.current;
626
626
  return () => {
627
- n("unmounting..."), _.current = x, D.current = re.Stopped, h.forEach((R) => R?.()), s.current = /* @__PURE__ */ new Map(), g.current = null, queueMicrotask(() => {
627
+ n("unmounting..."), C.current = O, D.current = re.Stopped, h.forEach((S) => S?.()), i.current = /* @__PURE__ */ new Map(), g.current = null, queueMicrotask(() => {
628
628
  v(e.exit);
629
629
  });
630
630
  };
631
631
  }, []);
632
- const V = () => "ref" in A ? A.ref.current : A.get(), M = (h) => {
632
+ const V = () => "ref" in P ? P.ref.current : P.get(), L = (h) => {
633
633
  queueMicrotask(() => {
634
634
  if (D.current !== re.Started) return;
635
- a.current = i.current, i.current = h, n("send", h);
636
- let x = V();
637
- const R = (
635
+ a.current = s.current, s.current = h, n("send", h);
636
+ let O = V();
637
+ const S = (
638
638
  // @ts-ignore
639
- e.states[x].on?.[h.type] ?? // @ts-ignore
639
+ e.states[O].on?.[h.type] ?? // @ts-ignore
640
640
  e.on?.[h.type]
641
- ), O = E(R);
642
- if (!O) return;
643
- g.current = O;
644
- const T = O.target ?? x;
645
- n("transition", O);
646
- const P = T !== x;
647
- P ? ve.flushSync(() => A.set(T)) : O.reenter && !P ? A.invoke(x, x) : v(O.actions ?? []);
641
+ ), E = R(S);
642
+ if (!E) return;
643
+ g.current = E;
644
+ const T = E.target ?? O;
645
+ n("transition", E);
646
+ const A = T !== O;
647
+ A ? we.flushSync(() => P.set(T)) : E.reenter && !A ? P.invoke(O, O) : v(E.actions ?? []);
648
648
  });
649
649
  };
650
650
  return e.watch?.(y()), {
651
- state: m(),
652
- send: M,
651
+ state: p(),
652
+ send: L,
653
653
  context: u,
654
654
  prop: c,
655
655
  scope: r,
656
- refs: p,
657
- computed: S,
656
+ refs: m,
657
+ computed: b,
658
658
  event: d(),
659
659
  getStatus: () => D.current
660
660
  };
661
661
  }
662
- function nt(e) {
663
- const t = L(e);
662
+ function ut(e) {
663
+ const t = M(e);
664
664
  return t.current = e, t;
665
665
  }
666
- function en(e) {
667
- const t = nt(e);
666
+ function gn(e) {
667
+ const t = ut(e);
668
668
  return function(n) {
669
669
  return t.current[n];
670
670
  };
671
671
  }
672
- function Ie(e) {
672
+ function je(e) {
673
673
  queueMicrotask(() => {
674
- ve.flushSync(() => e());
674
+ we.flushSync(() => e());
675
675
  });
676
676
  }
677
- var br = Kt((e) => e);
678
- function tn(...e) {
677
+ var Vr = ln((e) => e);
678
+ function pn(...e) {
679
679
  return (t) => {
680
680
  const r = [];
681
681
  for (const n of e)
@@ -690,28 +690,28 @@ function tn(...e) {
690
690
  };
691
691
  };
692
692
  }
693
- function nn(e) {
693
+ function mn(e) {
694
694
  let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
695
695
  return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
696
696
  }
697
697
  const Se = (e) => {
698
- const t = $t(
699
- Vt((r, n) => {
698
+ const t = Kt(
699
+ Xt((r, n) => {
700
700
  const { asChild: o, children: c, ...l } = r;
701
701
  if (!o)
702
- return Ht(e, { ...l, ref: n }, c);
703
- const f = et.only(c);
704
- if (!zt(f))
702
+ return Jt(e, { ...l, ref: n }, c);
703
+ const f = ct.only(c);
704
+ if (!Qt(f))
705
705
  return null;
706
- const u = nn(f);
707
- return Ut(f, {
708
- ...bt(l, f.props),
709
- ref: n ? tn(n, u) : u
706
+ const u = mn(f);
707
+ return Zt(f, {
708
+ ...Dt(l, f.props),
709
+ ref: n ? pn(n, u) : u
710
710
  });
711
711
  })
712
712
  );
713
713
  return t.displayName = e.displayName || e.name, t;
714
- }, rn = () => {
714
+ }, yn = () => {
715
715
  const e = /* @__PURE__ */ new Map();
716
716
  return new Proxy(Se, {
717
717
  apply(t, r, n) {
@@ -722,17 +722,17 @@ const Se = (e) => {
722
722
  return e.has(n) || e.set(n, Se(n)), e.get(n);
723
723
  }
724
724
  });
725
- }, Or = rn(), [Sr, Er] = Ne({
725
+ }, $r = yn(), [Fr, Ur] = Le({
726
726
  name: "PresenceContext",
727
727
  hookName: "usePresenceContext",
728
728
  providerName: "<PresenceProvider />"
729
- }), on = () => (e, t) => t.reduce(
729
+ }), hn = () => (e, t) => t.reduce(
730
730
  (r, n) => {
731
731
  const [o, c] = r, l = n;
732
732
  return c[l] !== void 0 && (o[l] = c[l]), delete c[l], [o, c];
733
733
  },
734
734
  [{}, { ...e }]
735
- ), Rr = (e) => on()(e, [
735
+ ), Hr = (e) => hn()(e, [
736
736
  "immediate",
737
737
  "lazyMount",
738
738
  "onExitComplete",
@@ -740,7 +740,7 @@ const Se = (e) => {
740
740
  "skipAnimationOnMount",
741
741
  "unmountOnExit"
742
742
  ]);
743
- function sn(e, t) {
743
+ function vn(e, t) {
744
744
  const { state: r, send: n, context: o } = e, c = r.matches("mounted", "unmountSuspended");
745
745
  return {
746
746
  skip: !o.get("initial"),
@@ -753,7 +753,7 @@ function sn(e, t) {
753
753
  }
754
754
  };
755
755
  }
756
- var cn = Ot({
756
+ var On = ot({
757
757
  props({ props: e }) {
758
758
  return { ...e, present: !!e.present };
759
759
  },
@@ -842,7 +842,7 @@ var cn = Ot({
842
842
  e.set("node", t.node);
843
843
  },
844
844
  setStyles: ({ refs: e, event: t }) => {
845
- e.set("styles", Qe(t.node));
845
+ e.set("styles", it(t.node));
846
846
  },
847
847
  syncPresence: ({ context: e, refs: t, send: r, prop: n }) => {
848
848
  const o = n("present");
@@ -851,14 +851,14 @@ var cn = Ot({
851
851
  const c = t.get("node");
852
852
  if (!o && c?.ownerDocument.visibilityState === "hidden")
853
853
  return r({ type: "UNMOUNT", src: "visibilitychange" });
854
- Re(() => {
855
- const l = de(t.get("styles"));
854
+ Ce(() => {
855
+ const l = ge(t.get("styles"));
856
856
  e.set("unmountAnimationName", l), l === "none" || l === e.get("prevAnimationName") || t.get("styles")?.display === "none" || t.get("styles")?.animationDuration === "0s" ? r({ type: "UNMOUNT", src: "presence.changed" }) : r({ type: "UNMOUNT.SUSPEND" });
857
857
  });
858
858
  },
859
859
  setPrevAnimationName: ({ context: e, refs: t }) => {
860
- Re(() => {
861
- e.set("prevAnimationName", de(t.get("styles")));
860
+ Ce(() => {
861
+ e.set("prevAnimationName", ge(t.get("styles")));
862
862
  });
863
863
  },
864
864
  clearPrevAnimationName: ({ context: e }) => {
@@ -870,103 +870,103 @@ var cn = Ot({
870
870
  const n = t.get("node");
871
871
  if (!n) return;
872
872
  const o = (f) => {
873
- (f.composedPath?.()?.[0] ?? f.target) === n && e.set("prevAnimationName", de(t.get("styles")));
873
+ (f.composedPath?.()?.[0] ?? f.target) === n && e.set("prevAnimationName", ge(t.get("styles")));
874
874
  }, c = (f) => {
875
- const u = de(t.get("styles"));
876
- Rt(f) === n && u === e.get("unmountAnimationName") && r({ type: "UNMOUNT", src: "animationend" });
875
+ const u = ge(t.get("styles"));
876
+ kt(f) === n && u === e.get("unmountAnimationName") && r({ type: "UNMOUNT", src: "animationend" });
877
877
  };
878
878
  n.addEventListener("animationstart", o), n.addEventListener("animationcancel", c), n.addEventListener("animationend", c);
879
- const l = St(n, { animationFillMode: "forwards" });
879
+ const l = Lt(n, { animationFillMode: "forwards" });
880
880
  return () => {
881
- n.removeEventListener("animationstart", o), n.removeEventListener("animationcancel", c), n.removeEventListener("animationend", c), Et(() => l());
881
+ n.removeEventListener("animationstart", o), n.removeEventListener("animationcancel", c), n.removeEventListener("animationend", c), Mt(() => l());
882
882
  };
883
883
  }
884
884
  }
885
885
  }
886
886
  });
887
- function de(e) {
887
+ function ge(e) {
888
888
  return e?.animationName || "none";
889
889
  }
890
- Xt()(["onExitComplete", "present", "immediate"]);
891
- function an(e, t = {}) {
892
- const { sync: r = !1 } = t, n = ln(e);
893
- return Ft(
890
+ at()(["onExitComplete", "present", "immediate"]);
891
+ function wn(e, t = {}) {
892
+ const { sync: r = !1 } = t, n = xn(e);
893
+ return en(
894
894
  // biome-ignore lint/suspicious/noExplicitAny: <explanation>
895
895
  (...o) => r ? queueMicrotask(() => n.current?.(...o)) : n.current?.(...o),
896
896
  [r, n]
897
897
  );
898
898
  }
899
- function ln(e) {
900
- const t = L(e);
899
+ function xn(e) {
900
+ const t = M(e);
901
901
  return t.current = e, t;
902
902
  }
903
- const Ar = (e = {}) => {
904
- const { lazyMount: t, unmountOnExit: r, present: n, skipAnimationOnMount: o = !1, ...c } = e, l = L(!1), f = {
903
+ const zr = (e = {}) => {
904
+ const { lazyMount: t, unmountOnExit: r, present: n, skipAnimationOnMount: o = !1, ...c } = e, l = M(!1), f = {
905
905
  ...c,
906
906
  present: n,
907
- onExitComplete: an(e.onExitComplete)
908
- }, u = Zt(cn, f), s = sn(u);
909
- s.present && (l.current = !0);
910
- const g = !s.present && !l.current && t || r && !s.present && l.current, a = () => ({
911
- "data-state": s.skip && o ? void 0 : n ? "open" : "closed",
912
- hidden: !s.present
907
+ onExitComplete: wn(e.onExitComplete)
908
+ }, u = dn(On, f), i = vn(u);
909
+ i.present && (l.current = !0);
910
+ const g = !i.present && !l.current && t || r && !i.present && l.current, a = () => ({
911
+ "data-state": i.skip && o ? void 0 : n ? "open" : "closed",
912
+ hidden: !i.present
913
913
  });
914
914
  return {
915
- ref: s.setNode,
915
+ ref: i.setNode,
916
916
  getPresenceProps: a,
917
- present: s.present,
917
+ present: i.present,
918
918
  unmounted: g
919
919
  };
920
- }, un = ["top", "right", "bottom", "left"], X = Math.min, k = Math.max, pe = Math.round, ge = Math.floor, W = (e) => ({
920
+ }, En = ["top", "right", "bottom", "left"], X = Math.min, k = Math.max, he = Math.round, pe = Math.floor, B = (e) => ({
921
921
  x: e,
922
922
  y: e
923
- }), fn = {
923
+ }), bn = {
924
924
  left: "right",
925
925
  right: "left",
926
926
  bottom: "top",
927
927
  top: "bottom"
928
- }, dn = {
928
+ }, Rn = {
929
929
  start: "end",
930
930
  end: "start"
931
931
  };
932
- function Te(e, t, r) {
932
+ function Ne(e, t, r) {
933
933
  return k(e, X(t, r));
934
934
  }
935
- function Y(e, t) {
935
+ function q(e, t) {
936
936
  return typeof e == "function" ? e(t) : e;
937
937
  }
938
- function G(e) {
938
+ function Y(e) {
939
939
  return e.split("-")[0];
940
940
  }
941
941
  function te(e) {
942
942
  return e.split("-")[1];
943
943
  }
944
- function Ce(e) {
944
+ function Me(e) {
945
945
  return e === "x" ? "y" : "x";
946
946
  }
947
- function De(e) {
947
+ function ke(e) {
948
948
  return e === "y" ? "height" : "width";
949
949
  }
950
- function I(e) {
951
- return ["top", "bottom"].includes(G(e)) ? "y" : "x";
950
+ function z(e) {
951
+ return ["top", "bottom"].includes(Y(e)) ? "y" : "x";
952
952
  }
953
- function Me(e) {
954
- return Ce(I(e));
953
+ function Ie(e) {
954
+ return Me(z(e));
955
955
  }
956
- function gn(e, t, r) {
956
+ function Sn(e, t, r) {
957
957
  r === void 0 && (r = !1);
958
- const n = te(e), o = Me(e), c = De(o);
958
+ const n = te(e), o = Ie(e), c = ke(o);
959
959
  let l = o === "x" ? n === (r ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
960
- return t.reference[c] > t.floating[c] && (l = ye(l)), [l, ye(l)];
960
+ return t.reference[c] > t.floating[c] && (l = ve(l)), [l, ve(l)];
961
961
  }
962
- function mn(e) {
963
- const t = ye(e);
962
+ function Pn(e) {
963
+ const t = ve(e);
964
964
  return [_e(e), t, _e(t)];
965
965
  }
966
966
  function _e(e) {
967
- return e.replace(/start|end/g, (t) => dn[t]);
967
+ return e.replace(/start|end/g, (t) => Rn[t]);
968
968
  }
969
- function pn(e, t, r) {
969
+ function Tn(e, t, r) {
970
970
  const n = ["left", "right"], o = ["right", "left"], c = ["top", "bottom"], l = ["bottom", "top"];
971
971
  switch (e) {
972
972
  case "top":
@@ -979,15 +979,15 @@ function pn(e, t, r) {
979
979
  return [];
980
980
  }
981
981
  }
982
- function yn(e, t, r, n) {
982
+ function Cn(e, t, r, n) {
983
983
  const o = te(e);
984
- let c = pn(G(e), r === "start", n);
984
+ let c = Tn(Y(e), r === "start", n);
985
985
  return o && (c = c.map((l) => l + "-" + o), t && (c = c.concat(c.map(_e)))), c;
986
986
  }
987
- function ye(e) {
988
- return e.replace(/left|right|bottom|top/g, (t) => fn[t]);
987
+ function ve(e) {
988
+ return e.replace(/left|right|bottom|top/g, (t) => bn[t]);
989
989
  }
990
- function hn(e) {
990
+ function An(e) {
991
991
  return {
992
992
  top: 0,
993
993
  right: 0,
@@ -996,15 +996,15 @@ function hn(e) {
996
996
  ...e
997
997
  };
998
998
  }
999
- function rt(e) {
1000
- return typeof e != "number" ? hn(e) : {
999
+ function ft(e) {
1000
+ return typeof e != "number" ? An(e) : {
1001
1001
  top: e,
1002
1002
  right: e,
1003
1003
  bottom: e,
1004
1004
  left: e
1005
1005
  };
1006
1006
  }
1007
- function he(e) {
1007
+ function Oe(e) {
1008
1008
  const {
1009
1009
  x: t,
1010
1010
  y: r,
@@ -1022,12 +1022,12 @@ function he(e) {
1022
1022
  y: r
1023
1023
  };
1024
1024
  }
1025
- function We(e, t, r) {
1025
+ function Ge(e, t, r) {
1026
1026
  let {
1027
1027
  reference: n,
1028
1028
  floating: o
1029
1029
  } = e;
1030
- const c = I(t), l = Me(t), f = De(l), u = G(t), s = c === "y", g = n.x + n.width / 2 - o.width / 2, a = n.y + n.height / 2 - o.height / 2, i = n[f] / 2 - o[f] / 2;
1030
+ const c = z(t), l = Ie(t), f = ke(l), u = Y(t), i = c === "y", g = n.x + n.width / 2 - o.width / 2, a = n.y + n.height / 2 - o.height / 2, s = n[f] / 2 - o[f] / 2;
1031
1031
  let d;
1032
1032
  switch (u) {
1033
1033
  case "top":
@@ -1062,76 +1062,76 @@ function We(e, t, r) {
1062
1062
  }
1063
1063
  switch (te(t)) {
1064
1064
  case "start":
1065
- d[l] -= i * (r && s ? -1 : 1);
1065
+ d[l] -= s * (r && i ? -1 : 1);
1066
1066
  break;
1067
1067
  case "end":
1068
- d[l] += i * (r && s ? -1 : 1);
1068
+ d[l] += s * (r && i ? -1 : 1);
1069
1069
  break;
1070
1070
  }
1071
1071
  return d;
1072
1072
  }
1073
- const vn = async (e, t, r) => {
1073
+ const Nn = async (e, t, r) => {
1074
1074
  const {
1075
1075
  placement: n = "bottom",
1076
1076
  strategy: o = "absolute",
1077
1077
  middleware: c = [],
1078
1078
  platform: l
1079
1079
  } = r, f = c.filter(Boolean), u = await (l.isRTL == null ? void 0 : l.isRTL(t));
1080
- let s = await l.getElementRects({
1080
+ let i = await l.getElementRects({
1081
1081
  reference: e,
1082
1082
  floating: t,
1083
1083
  strategy: o
1084
1084
  }), {
1085
1085
  x: g,
1086
1086
  y: a
1087
- } = We(s, n, u), i = n, d = {}, m = 0;
1088
- for (let p = 0; p < f.length; p++) {
1087
+ } = Ge(i, n, u), s = n, d = {}, p = 0;
1088
+ for (let m = 0; m < f.length; m++) {
1089
1089
  const {
1090
1090
  name: y,
1091
1091
  fn: v
1092
- } = f[p], {
1092
+ } = f[m], {
1093
1093
  x: w,
1094
- y: b,
1095
- data: E,
1096
- reset: S
1094
+ y: x,
1095
+ data: R,
1096
+ reset: b
1097
1097
  } = await v({
1098
1098
  x: g,
1099
1099
  y: a,
1100
1100
  initialPlacement: n,
1101
- placement: i,
1101
+ placement: s,
1102
1102
  strategy: o,
1103
1103
  middlewareData: d,
1104
- rects: s,
1104
+ rects: i,
1105
1105
  platform: l,
1106
1106
  elements: {
1107
1107
  reference: e,
1108
1108
  floating: t
1109
1109
  }
1110
1110
  });
1111
- g = w ?? g, a = b ?? a, d = {
1111
+ g = w ?? g, a = x ?? a, d = {
1112
1112
  ...d,
1113
1113
  [y]: {
1114
1114
  ...d[y],
1115
- ...E
1115
+ ...R
1116
1116
  }
1117
- }, S && m <= 50 && (m++, typeof S == "object" && (S.placement && (i = S.placement), S.rects && (s = S.rects === !0 ? await l.getElementRects({
1117
+ }, b && p <= 50 && (p++, typeof b == "object" && (b.placement && (s = b.placement), b.rects && (i = b.rects === !0 ? await l.getElementRects({
1118
1118
  reference: e,
1119
1119
  floating: t,
1120
1120
  strategy: o
1121
- }) : S.rects), {
1121
+ }) : b.rects), {
1122
1122
  x: g,
1123
1123
  y: a
1124
- } = We(s, i, u)), p = -1);
1124
+ } = Ge(i, s, u)), m = -1);
1125
1125
  }
1126
1126
  return {
1127
1127
  x: g,
1128
1128
  y: a,
1129
- placement: i,
1129
+ placement: s,
1130
1130
  strategy: o,
1131
1131
  middlewareData: d
1132
1132
  };
1133
1133
  };
1134
- async function ce(e, t) {
1134
+ async function ae(e, t) {
1135
1135
  var r;
1136
1136
  t === void 0 && (t = {});
1137
1137
  const {
@@ -1142,14 +1142,14 @@ async function ce(e, t) {
1142
1142
  elements: f,
1143
1143
  strategy: u
1144
1144
  } = e, {
1145
- boundary: s = "clippingAncestors",
1145
+ boundary: i = "clippingAncestors",
1146
1146
  rootBoundary: g = "viewport",
1147
1147
  elementContext: a = "floating",
1148
- altBoundary: i = !1,
1148
+ altBoundary: s = !1,
1149
1149
  padding: d = 0
1150
- } = Y(t, e), m = rt(d), y = f[i ? a === "floating" ? "reference" : "floating" : a], v = he(await c.getClippingRect({
1150
+ } = q(t, e), p = ft(d), y = f[s ? a === "floating" ? "reference" : "floating" : a], v = Oe(await c.getClippingRect({
1151
1151
  element: (r = await (c.isElement == null ? void 0 : c.isElement(y))) == null || r ? y : y.contextElement || await (c.getDocumentElement == null ? void 0 : c.getDocumentElement(f.floating)),
1152
- boundary: s,
1152
+ boundary: i,
1153
1153
  rootBoundary: g,
1154
1154
  strategy: u
1155
1155
  })), w = a === "floating" ? {
@@ -1157,26 +1157,26 @@ async function ce(e, t) {
1157
1157
  y: o,
1158
1158
  width: l.floating.width,
1159
1159
  height: l.floating.height
1160
- } : l.reference, b = await (c.getOffsetParent == null ? void 0 : c.getOffsetParent(f.floating)), E = await (c.isElement == null ? void 0 : c.isElement(b)) ? await (c.getScale == null ? void 0 : c.getScale(b)) || {
1160
+ } : l.reference, x = await (c.getOffsetParent == null ? void 0 : c.getOffsetParent(f.floating)), R = await (c.isElement == null ? void 0 : c.isElement(x)) ? await (c.getScale == null ? void 0 : c.getScale(x)) || {
1161
1161
  x: 1,
1162
1162
  y: 1
1163
1163
  } : {
1164
1164
  x: 1,
1165
1165
  y: 1
1166
- }, S = he(c.convertOffsetParentRelativeRectToViewportRelativeRect ? await c.convertOffsetParentRelativeRectToViewportRelativeRect({
1166
+ }, b = Oe(c.convertOffsetParentRelativeRectToViewportRelativeRect ? await c.convertOffsetParentRelativeRectToViewportRelativeRect({
1167
1167
  elements: f,
1168
1168
  rect: w,
1169
- offsetParent: b,
1169
+ offsetParent: x,
1170
1170
  strategy: u
1171
1171
  }) : w);
1172
1172
  return {
1173
- top: (v.top - S.top + m.top) / E.y,
1174
- bottom: (S.bottom - v.bottom + m.bottom) / E.y,
1175
- left: (v.left - S.left + m.left) / E.x,
1176
- right: (S.right - v.right + m.right) / E.x
1173
+ top: (v.top - b.top + p.top) / R.y,
1174
+ bottom: (b.bottom - v.bottom + p.bottom) / R.y,
1175
+ left: (v.left - b.left + p.left) / R.x,
1176
+ right: (b.right - v.right + p.right) / R.x
1177
1177
  };
1178
1178
  }
1179
- const xn = (e) => ({
1179
+ const _n = (e) => ({
1180
1180
  name: "arrow",
1181
1181
  options: e,
1182
1182
  async fn(t) {
@@ -1189,31 +1189,31 @@ const xn = (e) => ({
1189
1189
  elements: f,
1190
1190
  middlewareData: u
1191
1191
  } = t, {
1192
- element: s,
1192
+ element: i,
1193
1193
  padding: g = 0
1194
- } = Y(e, t) || {};
1195
- if (s == null)
1194
+ } = q(e, t) || {};
1195
+ if (i == null)
1196
1196
  return {};
1197
- const a = rt(g), i = {
1197
+ const a = ft(g), s = {
1198
1198
  x: r,
1199
1199
  y: n
1200
- }, d = Me(o), m = De(d), p = await l.getDimensions(s), y = d === "y", v = y ? "top" : "left", w = y ? "bottom" : "right", b = y ? "clientHeight" : "clientWidth", E = c.reference[m] + c.reference[d] - i[d] - c.floating[m], S = i[d] - c.reference[d], A = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(s));
1201
- let _ = A ? A[b] : 0;
1202
- (!_ || !await (l.isElement == null ? void 0 : l.isElement(A))) && (_ = f.floating[b] || c.floating[m]);
1203
- const D = E / 2 - S / 2, V = _ / 2 - p[m] / 2 - 1, M = X(a[v], V), h = X(a[w], V), x = M, R = _ - p[m] - h, O = _ / 2 - p[m] / 2 + D, T = Te(x, O, R), P = !u.arrow && te(o) != null && O !== T && c.reference[m] / 2 - (O < x ? M : h) - p[m] / 2 < 0, H = P ? O < x ? O - x : O - R : 0;
1200
+ }, d = Ie(o), p = ke(d), m = await l.getDimensions(i), y = d === "y", v = y ? "top" : "left", w = y ? "bottom" : "right", x = y ? "clientHeight" : "clientWidth", R = c.reference[p] + c.reference[d] - s[d] - c.floating[p], b = s[d] - c.reference[d], P = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(i));
1201
+ let C = P ? P[x] : 0;
1202
+ (!C || !await (l.isElement == null ? void 0 : l.isElement(P))) && (C = f.floating[x] || c.floating[p]);
1203
+ const D = R / 2 - b / 2, V = C / 2 - m[p] / 2 - 1, L = X(a[v], V), h = X(a[w], V), O = L, S = C - m[p] - h, E = C / 2 - m[p] / 2 + D, T = Ne(O, E, S), A = !u.arrow && te(o) != null && E !== T && c.reference[p] / 2 - (E < O ? L : h) - m[p] / 2 < 0, $ = A ? E < O ? E - O : E - S : 0;
1204
1204
  return {
1205
- [d]: i[d] + H,
1205
+ [d]: s[d] + $,
1206
1206
  data: {
1207
1207
  [d]: T,
1208
- centerOffset: O - T - H,
1209
- ...P && {
1210
- alignmentOffset: H
1208
+ centerOffset: E - T - $,
1209
+ ...A && {
1210
+ alignmentOffset: $
1211
1211
  }
1212
1212
  },
1213
- reset: P
1213
+ reset: A
1214
1214
  };
1215
1215
  }
1216
- }), wn = function(e) {
1216
+ }), Dn = function(e) {
1217
1217
  return e === void 0 && (e = {}), {
1218
1218
  name: "flip",
1219
1219
  options: e,
@@ -1225,69 +1225,69 @@ const xn = (e) => ({
1225
1225
  rects: l,
1226
1226
  initialPlacement: f,
1227
1227
  platform: u,
1228
- elements: s
1228
+ elements: i
1229
1229
  } = t, {
1230
1230
  mainAxis: g = !0,
1231
1231
  crossAxis: a = !0,
1232
- fallbackPlacements: i,
1232
+ fallbackPlacements: s,
1233
1233
  fallbackStrategy: d = "bestFit",
1234
- fallbackAxisSideDirection: m = "none",
1235
- flipAlignment: p = !0,
1234
+ fallbackAxisSideDirection: p = "none",
1235
+ flipAlignment: m = !0,
1236
1236
  ...y
1237
- } = Y(e, t);
1237
+ } = q(e, t);
1238
1238
  if ((r = c.arrow) != null && r.alignmentOffset)
1239
1239
  return {};
1240
- const v = G(o), w = I(f), b = G(f) === f, E = await (u.isRTL == null ? void 0 : u.isRTL(s.floating)), S = i || (b || !p ? [ye(f)] : mn(f)), A = m !== "none";
1241
- !i && A && S.push(...yn(f, p, m, E));
1242
- const _ = [f, ...S], D = await ce(t, y), V = [];
1243
- let M = ((n = c.flip) == null ? void 0 : n.overflows) || [];
1240
+ const v = Y(o), w = z(f), x = Y(f) === f, R = await (u.isRTL == null ? void 0 : u.isRTL(i.floating)), b = s || (x || !m ? [ve(f)] : Pn(f)), P = p !== "none";
1241
+ !s && P && b.push(...Cn(f, m, p, R));
1242
+ const C = [f, ...b], D = await ae(t, y), V = [];
1243
+ let L = ((n = c.flip) == null ? void 0 : n.overflows) || [];
1244
1244
  if (g && V.push(D[v]), a) {
1245
- const O = gn(o, l, E);
1246
- V.push(D[O[0]], D[O[1]]);
1245
+ const E = Sn(o, l, R);
1246
+ V.push(D[E[0]], D[E[1]]);
1247
1247
  }
1248
- if (M = [...M, {
1248
+ if (L = [...L, {
1249
1249
  placement: o,
1250
1250
  overflows: V
1251
- }], !V.every((O) => O <= 0)) {
1252
- var h, x;
1253
- const O = (((h = c.flip) == null ? void 0 : h.index) || 0) + 1, T = _[O];
1254
- if (T && (!(a === "alignment" ? w !== I(T) : !1) || // We leave the current main axis only if every placement on that axis
1251
+ }], !V.every((E) => E <= 0)) {
1252
+ var h, O;
1253
+ const E = (((h = c.flip) == null ? void 0 : h.index) || 0) + 1, T = C[E];
1254
+ if (T && (!(a === "alignment" ? w !== z(T) : !1) || // We leave the current main axis only if every placement on that axis
1255
1255
  // overflows the main axis.
1256
- M.every((z) => z.overflows[0] > 0 && I(z.placement) === w)))
1256
+ L.every((F) => F.overflows[0] > 0 && z(F.placement) === w)))
1257
1257
  return {
1258
1258
  data: {
1259
- index: O,
1260
- overflows: M
1259
+ index: E,
1260
+ overflows: L
1261
1261
  },
1262
1262
  reset: {
1263
1263
  placement: T
1264
1264
  }
1265
1265
  };
1266
- let P = (x = M.filter((H) => H.overflows[0] <= 0).sort((H, z) => H.overflows[1] - z.overflows[1])[0]) == null ? void 0 : x.placement;
1267
- if (!P)
1266
+ let A = (O = L.filter(($) => $.overflows[0] <= 0).sort(($, F) => $.overflows[1] - F.overflows[1])[0]) == null ? void 0 : O.placement;
1267
+ if (!A)
1268
1268
  switch (d) {
1269
1269
  case "bestFit": {
1270
- var R;
1271
- const H = (R = M.filter((z) => {
1272
- if (A) {
1273
- const K = I(z.placement);
1270
+ var S;
1271
+ const $ = (S = L.filter((F) => {
1272
+ if (P) {
1273
+ const K = z(F.placement);
1274
1274
  return K === w || // Create a bias to the `y` side axis due to horizontal
1275
1275
  // reading directions favoring greater width.
1276
1276
  K === "y";
1277
1277
  }
1278
1278
  return !0;
1279
- }).map((z) => [z.placement, z.overflows.filter((K) => K > 0).reduce((K, gt) => K + gt, 0)]).sort((z, K) => z[1] - K[1])[0]) == null ? void 0 : R[0];
1280
- H && (P = H);
1279
+ }).map((F) => [F.placement, F.overflows.filter((K) => K > 0).reduce((K, Rt) => K + Rt, 0)]).sort((F, K) => F[1] - K[1])[0]) == null ? void 0 : S[0];
1280
+ $ && (A = $);
1281
1281
  break;
1282
1282
  }
1283
1283
  case "initialPlacement":
1284
- P = f;
1284
+ A = f;
1285
1285
  break;
1286
1286
  }
1287
- if (o !== P)
1287
+ if (o !== A)
1288
1288
  return {
1289
1289
  reset: {
1290
- placement: P
1290
+ placement: A
1291
1291
  }
1292
1292
  };
1293
1293
  }
@@ -1295,7 +1295,7 @@ const xn = (e) => ({
1295
1295
  }
1296
1296
  };
1297
1297
  };
1298
- function je(e, t) {
1298
+ function qe(e, t) {
1299
1299
  return {
1300
1300
  top: e.top - t.height,
1301
1301
  right: e.right - t.width,
@@ -1303,10 +1303,10 @@ function je(e, t) {
1303
1303
  left: e.left - t.width
1304
1304
  };
1305
1305
  }
1306
- function Be(e) {
1307
- return un.some((t) => e[t] >= 0);
1306
+ function Ye(e) {
1307
+ return En.some((t) => e[t] >= 0);
1308
1308
  }
1309
- const bn = function(e) {
1309
+ const Ln = function(e) {
1310
1310
  return e === void 0 && (e = {}), {
1311
1311
  name: "hide",
1312
1312
  options: e,
@@ -1316,29 +1316,29 @@ const bn = function(e) {
1316
1316
  } = t, {
1317
1317
  strategy: n = "referenceHidden",
1318
1318
  ...o
1319
- } = Y(e, t);
1319
+ } = q(e, t);
1320
1320
  switch (n) {
1321
1321
  case "referenceHidden": {
1322
- const c = await ce(t, {
1322
+ const c = await ae(t, {
1323
1323
  ...o,
1324
1324
  elementContext: "reference"
1325
- }), l = je(c, r.reference);
1325
+ }), l = qe(c, r.reference);
1326
1326
  return {
1327
1327
  data: {
1328
1328
  referenceHiddenOffsets: l,
1329
- referenceHidden: Be(l)
1329
+ referenceHidden: Ye(l)
1330
1330
  }
1331
1331
  };
1332
1332
  }
1333
1333
  case "escaped": {
1334
- const c = await ce(t, {
1334
+ const c = await ae(t, {
1335
1335
  ...o,
1336
1336
  altBoundary: !0
1337
- }), l = je(c, r.floating);
1337
+ }), l = qe(c, r.floating);
1338
1338
  return {
1339
1339
  data: {
1340
1340
  escapedOffsets: l,
1341
- escaped: Be(l)
1341
+ escaped: Ye(l)
1342
1342
  }
1343
1343
  };
1344
1344
  }
@@ -1348,16 +1348,16 @@ const bn = function(e) {
1348
1348
  }
1349
1349
  };
1350
1350
  };
1351
- async function On(e, t) {
1351
+ async function Mn(e, t) {
1352
1352
  const {
1353
1353
  placement: r,
1354
1354
  platform: n,
1355
1355
  elements: o
1356
- } = e, c = await (n.isRTL == null ? void 0 : n.isRTL(o.floating)), l = G(r), f = te(r), u = I(r) === "y", s = ["left", "top"].includes(l) ? -1 : 1, g = c && u ? -1 : 1, a = Y(t, e);
1356
+ } = e, c = await (n.isRTL == null ? void 0 : n.isRTL(o.floating)), l = Y(r), f = te(r), u = z(r) === "y", i = ["left", "top"].includes(l) ? -1 : 1, g = c && u ? -1 : 1, a = q(t, e);
1357
1357
  let {
1358
- mainAxis: i,
1358
+ mainAxis: s,
1359
1359
  crossAxis: d,
1360
- alignmentAxis: m
1360
+ alignmentAxis: p
1361
1361
  } = typeof a == "number" ? {
1362
1362
  mainAxis: a,
1363
1363
  crossAxis: 0,
@@ -1367,15 +1367,15 @@ async function On(e, t) {
1367
1367
  crossAxis: a.crossAxis || 0,
1368
1368
  alignmentAxis: a.alignmentAxis
1369
1369
  };
1370
- return f && typeof m == "number" && (d = f === "end" ? m * -1 : m), u ? {
1370
+ return f && typeof p == "number" && (d = f === "end" ? p * -1 : p), u ? {
1371
1371
  x: d * g,
1372
- y: i * s
1372
+ y: s * i
1373
1373
  } : {
1374
- x: i * s,
1374
+ x: s * i,
1375
1375
  y: d * g
1376
1376
  };
1377
1377
  }
1378
- const Sn = function(e) {
1378
+ const kn = function(e) {
1379
1379
  return e === void 0 && (e = 0), {
1380
1380
  name: "offset",
1381
1381
  options: e,
@@ -1386,7 +1386,7 @@ const Sn = function(e) {
1386
1386
  y: c,
1387
1387
  placement: l,
1388
1388
  middlewareData: f
1389
- } = t, u = await On(t, e);
1389
+ } = t, u = await Mn(t, e);
1390
1390
  return l === ((r = f.offset) == null ? void 0 : r.placement) && (n = f.arrow) != null && n.alignmentOffset ? {} : {
1391
1391
  x: o + u.x,
1392
1392
  y: c + u.y,
@@ -1397,7 +1397,7 @@ const Sn = function(e) {
1397
1397
  };
1398
1398
  }
1399
1399
  };
1400
- }, En = function(e) {
1400
+ }, In = function(e) {
1401
1401
  return e === void 0 && (e = {}), {
1402
1402
  name: "shift",
1403
1403
  options: e,
@@ -1422,38 +1422,38 @@ const Sn = function(e) {
1422
1422
  }
1423
1423
  },
1424
1424
  ...u
1425
- } = Y(e, t), s = {
1425
+ } = q(e, t), i = {
1426
1426
  x: r,
1427
1427
  y: n
1428
- }, g = await ce(t, u), a = I(G(o)), i = Ce(a);
1429
- let d = s[i], m = s[a];
1428
+ }, g = await ae(t, u), a = z(Y(o)), s = Me(a);
1429
+ let d = i[s], p = i[a];
1430
1430
  if (c) {
1431
- const y = i === "y" ? "top" : "left", v = i === "y" ? "bottom" : "right", w = d + g[y], b = d - g[v];
1432
- d = Te(w, d, b);
1431
+ const y = s === "y" ? "top" : "left", v = s === "y" ? "bottom" : "right", w = d + g[y], x = d - g[v];
1432
+ d = Ne(w, d, x);
1433
1433
  }
1434
1434
  if (l) {
1435
- const y = a === "y" ? "top" : "left", v = a === "y" ? "bottom" : "right", w = m + g[y], b = m - g[v];
1436
- m = Te(w, m, b);
1435
+ const y = a === "y" ? "top" : "left", v = a === "y" ? "bottom" : "right", w = p + g[y], x = p - g[v];
1436
+ p = Ne(w, p, x);
1437
1437
  }
1438
- const p = f.fn({
1438
+ const m = f.fn({
1439
1439
  ...t,
1440
- [i]: d,
1441
- [a]: m
1440
+ [s]: d,
1441
+ [a]: p
1442
1442
  });
1443
1443
  return {
1444
- ...p,
1444
+ ...m,
1445
1445
  data: {
1446
- x: p.x - r,
1447
- y: p.y - n,
1446
+ x: m.x - r,
1447
+ y: m.y - n,
1448
1448
  enabled: {
1449
- [i]: c,
1449
+ [s]: c,
1450
1450
  [a]: l
1451
1451
  }
1452
1452
  }
1453
1453
  };
1454
1454
  }
1455
1455
  };
1456
- }, Rn = function(e) {
1456
+ }, Vn = function(e) {
1457
1457
  return e === void 0 && (e = {}), {
1458
1458
  options: e,
1459
1459
  fn(t) {
@@ -1466,36 +1466,36 @@ const Sn = function(e) {
1466
1466
  } = t, {
1467
1467
  offset: f = 0,
1468
1468
  mainAxis: u = !0,
1469
- crossAxis: s = !0
1470
- } = Y(e, t), g = {
1469
+ crossAxis: i = !0
1470
+ } = q(e, t), g = {
1471
1471
  x: r,
1472
1472
  y: n
1473
- }, a = I(o), i = Ce(a);
1474
- let d = g[i], m = g[a];
1475
- const p = Y(f, t), y = typeof p == "number" ? {
1476
- mainAxis: p,
1473
+ }, a = z(o), s = Me(a);
1474
+ let d = g[s], p = g[a];
1475
+ const m = q(f, t), y = typeof m == "number" ? {
1476
+ mainAxis: m,
1477
1477
  crossAxis: 0
1478
1478
  } : {
1479
1479
  mainAxis: 0,
1480
1480
  crossAxis: 0,
1481
- ...p
1481
+ ...m
1482
1482
  };
1483
1483
  if (u) {
1484
- const b = i === "y" ? "height" : "width", E = c.reference[i] - c.floating[b] + y.mainAxis, S = c.reference[i] + c.reference[b] - y.mainAxis;
1485
- d < E ? d = E : d > S && (d = S);
1484
+ const x = s === "y" ? "height" : "width", R = c.reference[s] - c.floating[x] + y.mainAxis, b = c.reference[s] + c.reference[x] - y.mainAxis;
1485
+ d < R ? d = R : d > b && (d = b);
1486
1486
  }
1487
- if (s) {
1487
+ if (i) {
1488
1488
  var v, w;
1489
- const b = i === "y" ? "width" : "height", E = ["top", "left"].includes(G(o)), S = c.reference[a] - c.floating[b] + (E && ((v = l.offset) == null ? void 0 : v[a]) || 0) + (E ? 0 : y.crossAxis), A = c.reference[a] + c.reference[b] + (E ? 0 : ((w = l.offset) == null ? void 0 : w[a]) || 0) - (E ? y.crossAxis : 0);
1490
- m < S ? m = S : m > A && (m = A);
1489
+ const x = s === "y" ? "width" : "height", R = ["top", "left"].includes(Y(o)), b = c.reference[a] - c.floating[x] + (R && ((v = l.offset) == null ? void 0 : v[a]) || 0) + (R ? 0 : y.crossAxis), P = c.reference[a] + c.reference[x] + (R ? 0 : ((w = l.offset) == null ? void 0 : w[a]) || 0) - (R ? y.crossAxis : 0);
1490
+ p < b ? p = b : p > P && (p = P);
1491
1491
  }
1492
1492
  return {
1493
- [i]: d,
1494
- [a]: m
1493
+ [s]: d,
1494
+ [a]: p
1495
1495
  };
1496
1496
  }
1497
1497
  };
1498
- }, An = function(e) {
1498
+ }, $n = function(e) {
1499
1499
  return e === void 0 && (e = {}), {
1500
1500
  name: "size",
1501
1501
  options: e,
@@ -1509,26 +1509,26 @@ const Sn = function(e) {
1509
1509
  } = t, {
1510
1510
  apply: u = () => {
1511
1511
  },
1512
- ...s
1513
- } = Y(e, t), g = await ce(t, s), a = G(o), i = te(o), d = I(o) === "y", {
1514
- width: m,
1515
- height: p
1512
+ ...i
1513
+ } = q(e, t), g = await ae(t, i), a = Y(o), s = te(o), d = z(o) === "y", {
1514
+ width: p,
1515
+ height: m
1516
1516
  } = c.floating;
1517
1517
  let y, v;
1518
- a === "top" || a === "bottom" ? (y = a, v = i === (await (l.isRTL == null ? void 0 : l.isRTL(f.floating)) ? "start" : "end") ? "left" : "right") : (v = a, y = i === "end" ? "top" : "bottom");
1519
- const w = p - g.top - g.bottom, b = m - g.left - g.right, E = X(p - g[y], w), S = X(m - g[v], b), A = !t.middlewareData.shift;
1520
- let _ = E, D = S;
1521
- if ((r = t.middlewareData.shift) != null && r.enabled.x && (D = b), (n = t.middlewareData.shift) != null && n.enabled.y && (_ = w), A && !i) {
1522
- const M = k(g.left, 0), h = k(g.right, 0), x = k(g.top, 0), R = k(g.bottom, 0);
1523
- d ? D = m - 2 * (M !== 0 || h !== 0 ? M + h : k(g.left, g.right)) : _ = p - 2 * (x !== 0 || R !== 0 ? x + R : k(g.top, g.bottom));
1518
+ a === "top" || a === "bottom" ? (y = a, v = s === (await (l.isRTL == null ? void 0 : l.isRTL(f.floating)) ? "start" : "end") ? "left" : "right") : (v = a, y = s === "end" ? "top" : "bottom");
1519
+ const w = m - g.top - g.bottom, x = p - g.left - g.right, R = X(m - g[y], w), b = X(p - g[v], x), P = !t.middlewareData.shift;
1520
+ let C = R, D = b;
1521
+ if ((r = t.middlewareData.shift) != null && r.enabled.x && (D = x), (n = t.middlewareData.shift) != null && n.enabled.y && (C = w), P && !s) {
1522
+ const L = k(g.left, 0), h = k(g.right, 0), O = k(g.top, 0), S = k(g.bottom, 0);
1523
+ d ? D = p - 2 * (L !== 0 || h !== 0 ? L + h : k(g.left, g.right)) : C = m - 2 * (O !== 0 || S !== 0 ? O + S : k(g.top, g.bottom));
1524
1524
  }
1525
1525
  await u({
1526
1526
  ...t,
1527
1527
  availableWidth: D,
1528
- availableHeight: _
1528
+ availableHeight: C
1529
1529
  });
1530
1530
  const V = await l.getDimensions(f.floating);
1531
- return m !== V.width || p !== V.height ? {
1531
+ return p !== V.width || m !== V.height ? {
1532
1532
  reset: {
1533
1533
  rects: !0
1534
1534
  }
@@ -1540,41 +1540,41 @@ function xe() {
1540
1540
  return typeof window < "u";
1541
1541
  }
1542
1542
  function ne(e) {
1543
- return ot(e) ? (e.nodeName || "").toLowerCase() : "#document";
1543
+ return dt(e) ? (e.nodeName || "").toLowerCase() : "#document";
1544
1544
  }
1545
- function $(e) {
1545
+ function I(e) {
1546
1546
  var t;
1547
1547
  return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
1548
1548
  }
1549
- function B(e) {
1549
+ function j(e) {
1550
1550
  var t;
1551
- return (t = (ot(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
1551
+ return (t = (dt(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
1552
1552
  }
1553
- function ot(e) {
1554
- return xe() ? e instanceof Node || e instanceof $(e).Node : !1;
1553
+ function dt(e) {
1554
+ return xe() ? e instanceof Node || e instanceof I(e).Node : !1;
1555
1555
  }
1556
1556
  function U(e) {
1557
- return xe() ? e instanceof Element || e instanceof $(e).Element : !1;
1557
+ return xe() ? e instanceof Element || e instanceof I(e).Element : !1;
1558
1558
  }
1559
- function j(e) {
1560
- return xe() ? e instanceof HTMLElement || e instanceof $(e).HTMLElement : !1;
1559
+ function W(e) {
1560
+ return xe() ? e instanceof HTMLElement || e instanceof I(e).HTMLElement : !1;
1561
1561
  }
1562
- function qe(e) {
1563
- return !xe() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof $(e).ShadowRoot;
1562
+ function Ke(e) {
1563
+ return !xe() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof I(e).ShadowRoot;
1564
1564
  }
1565
- function le(e) {
1565
+ function ue(e) {
1566
1566
  const {
1567
1567
  overflow: t,
1568
1568
  overflowX: r,
1569
1569
  overflowY: n,
1570
1570
  display: o
1571
- } = F(e);
1571
+ } = H(e);
1572
1572
  return /auto|scroll|overlay|hidden|clip/.test(t + n + r) && !["inline", "contents"].includes(o);
1573
1573
  }
1574
- function Tn(e) {
1574
+ function Fn(e) {
1575
1575
  return ["table", "td", "th"].includes(ne(e));
1576
1576
  }
1577
- function we(e) {
1577
+ function Ee(e) {
1578
1578
  return [":popover-open", ":modal"].some((t) => {
1579
1579
  try {
1580
1580
  return e.matches(t);
@@ -1583,29 +1583,29 @@ function we(e) {
1583
1583
  }
1584
1584
  });
1585
1585
  }
1586
- function Le(e) {
1587
- const t = ke(), r = U(e) ? F(e) : e;
1586
+ function Ve(e) {
1587
+ const t = $e(), r = U(e) ? H(e) : e;
1588
1588
  return ["transform", "translate", "scale", "rotate", "perspective"].some((n) => r[n] ? r[n] !== "none" : !1) || (r.containerType ? r.containerType !== "normal" : !1) || !t && (r.backdropFilter ? r.backdropFilter !== "none" : !1) || !t && (r.filter ? r.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((n) => (r.willChange || "").includes(n)) || ["paint", "layout", "strict", "content"].some((n) => (r.contain || "").includes(n));
1589
1589
  }
1590
- function _n(e) {
1590
+ function Un(e) {
1591
1591
  let t = J(e);
1592
- for (; j(t) && !ee(t); ) {
1593
- if (Le(t))
1592
+ for (; W(t) && !ee(t); ) {
1593
+ if (Ve(t))
1594
1594
  return t;
1595
- if (we(t))
1595
+ if (Ee(t))
1596
1596
  return null;
1597
1597
  t = J(t);
1598
1598
  }
1599
1599
  return null;
1600
1600
  }
1601
- function ke() {
1601
+ function $e() {
1602
1602
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
1603
1603
  }
1604
1604
  function ee(e) {
1605
1605
  return ["html", "body", "#document"].includes(ne(e));
1606
1606
  }
1607
- function F(e) {
1608
- return $(e).getComputedStyle(e);
1607
+ function H(e) {
1608
+ return I(e).getComputedStyle(e);
1609
1609
  }
1610
1610
  function be(e) {
1611
1611
  return U(e) ? {
@@ -1623,152 +1623,152 @@ function J(e) {
1623
1623
  // Step into the shadow DOM of the parent of a slotted node.
1624
1624
  e.assignedSlot || // DOM Element detected.
1625
1625
  e.parentNode || // ShadowRoot detected.
1626
- qe(e) && e.host || // Fallback.
1627
- B(e)
1626
+ Ke(e) && e.host || // Fallback.
1627
+ j(e)
1628
1628
  );
1629
- return qe(t) ? t.host : t;
1629
+ return Ke(t) ? t.host : t;
1630
1630
  }
1631
- function it(e) {
1631
+ function gt(e) {
1632
1632
  const t = J(e);
1633
- return ee(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : j(t) && le(t) ? t : it(t);
1633
+ return ee(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : W(t) && ue(t) ? t : gt(t);
1634
1634
  }
1635
- function ae(e, t, r) {
1635
+ function le(e, t, r) {
1636
1636
  var n;
1637
1637
  t === void 0 && (t = []), r === void 0 && (r = !0);
1638
- const o = it(e), c = o === ((n = e.ownerDocument) == null ? void 0 : n.body), l = $(o);
1638
+ const o = gt(e), c = o === ((n = e.ownerDocument) == null ? void 0 : n.body), l = I(o);
1639
1639
  if (c) {
1640
- const f = Pe(l);
1641
- return t.concat(l, l.visualViewport || [], le(o) ? o : [], f && r ? ae(f) : []);
1640
+ const f = De(l);
1641
+ return t.concat(l, l.visualViewport || [], ue(o) ? o : [], f && r ? le(f) : []);
1642
1642
  }
1643
- return t.concat(o, ae(o, [], r));
1643
+ return t.concat(o, le(o, [], r));
1644
1644
  }
1645
- function Pe(e) {
1645
+ function De(e) {
1646
1646
  return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
1647
1647
  }
1648
- function st(e) {
1649
- const t = F(e);
1648
+ function pt(e) {
1649
+ const t = H(e);
1650
1650
  let r = parseFloat(t.width) || 0, n = parseFloat(t.height) || 0;
1651
- const o = j(e), c = o ? e.offsetWidth : r, l = o ? e.offsetHeight : n, f = pe(r) !== c || pe(n) !== l;
1651
+ const o = W(e), c = o ? e.offsetWidth : r, l = o ? e.offsetHeight : n, f = he(r) !== c || he(n) !== l;
1652
1652
  return f && (r = c, n = l), {
1653
1653
  width: r,
1654
1654
  height: n,
1655
1655
  $: f
1656
1656
  };
1657
1657
  }
1658
- function $e(e) {
1658
+ function Fe(e) {
1659
1659
  return U(e) ? e : e.contextElement;
1660
1660
  }
1661
1661
  function Z(e) {
1662
- const t = $e(e);
1663
- if (!j(t))
1664
- return W(1);
1662
+ const t = Fe(e);
1663
+ if (!W(t))
1664
+ return B(1);
1665
1665
  const r = t.getBoundingClientRect(), {
1666
1666
  width: n,
1667
1667
  height: o,
1668
1668
  $: c
1669
- } = st(t);
1670
- let l = (c ? pe(r.width) : r.width) / n, f = (c ? pe(r.height) : r.height) / o;
1669
+ } = pt(t);
1670
+ let l = (c ? he(r.width) : r.width) / n, f = (c ? he(r.height) : r.height) / o;
1671
1671
  return (!l || !Number.isFinite(l)) && (l = 1), (!f || !Number.isFinite(f)) && (f = 1), {
1672
1672
  x: l,
1673
1673
  y: f
1674
1674
  };
1675
1675
  }
1676
- const Pn = /* @__PURE__ */ W(0);
1677
- function ct(e) {
1678
- const t = $(e);
1679
- return !ke() || !t.visualViewport ? Pn : {
1676
+ const Hn = /* @__PURE__ */ B(0);
1677
+ function mt(e) {
1678
+ const t = I(e);
1679
+ return !$e() || !t.visualViewport ? Hn : {
1680
1680
  x: t.visualViewport.offsetLeft,
1681
1681
  y: t.visualViewport.offsetTop
1682
1682
  };
1683
1683
  }
1684
- function Nn(e, t, r) {
1685
- return t === void 0 && (t = !1), !r || t && r !== $(e) ? !1 : t;
1684
+ function zn(e, t, r) {
1685
+ return t === void 0 && (t = !1), !r || t && r !== I(e) ? !1 : t;
1686
1686
  }
1687
1687
  function Q(e, t, r, n) {
1688
1688
  t === void 0 && (t = !1), r === void 0 && (r = !1);
1689
- const o = e.getBoundingClientRect(), c = $e(e);
1690
- let l = W(1);
1689
+ const o = e.getBoundingClientRect(), c = Fe(e);
1690
+ let l = B(1);
1691
1691
  t && (n ? U(n) && (l = Z(n)) : l = Z(e));
1692
- const f = Nn(c, r, n) ? ct(c) : W(0);
1693
- let u = (o.left + f.x) / l.x, s = (o.top + f.y) / l.y, g = o.width / l.x, a = o.height / l.y;
1692
+ const f = zn(c, r, n) ? mt(c) : B(0);
1693
+ let u = (o.left + f.x) / l.x, i = (o.top + f.y) / l.y, g = o.width / l.x, a = o.height / l.y;
1694
1694
  if (c) {
1695
- const i = $(c), d = n && U(n) ? $(n) : n;
1696
- let m = i, p = Pe(m);
1697
- for (; p && n && d !== m; ) {
1698
- const y = Z(p), v = p.getBoundingClientRect(), w = F(p), b = v.left + (p.clientLeft + parseFloat(w.paddingLeft)) * y.x, E = v.top + (p.clientTop + parseFloat(w.paddingTop)) * y.y;
1699
- u *= y.x, s *= y.y, g *= y.x, a *= y.y, u += b, s += E, m = $(p), p = Pe(m);
1695
+ const s = I(c), d = n && U(n) ? I(n) : n;
1696
+ let p = s, m = De(p);
1697
+ for (; m && n && d !== p; ) {
1698
+ const y = Z(m), v = m.getBoundingClientRect(), w = H(m), x = v.left + (m.clientLeft + parseFloat(w.paddingLeft)) * y.x, R = v.top + (m.clientTop + parseFloat(w.paddingTop)) * y.y;
1699
+ u *= y.x, i *= y.y, g *= y.x, a *= y.y, u += x, i += R, p = I(m), m = De(p);
1700
1700
  }
1701
1701
  }
1702
- return he({
1702
+ return Oe({
1703
1703
  width: g,
1704
1704
  height: a,
1705
1705
  x: u,
1706
- y: s
1706
+ y: i
1707
1707
  });
1708
1708
  }
1709
- function Ve(e, t) {
1709
+ function Ue(e, t) {
1710
1710
  const r = be(e).scrollLeft;
1711
- return t ? t.left + r : Q(B(e)).left + r;
1711
+ return t ? t.left + r : Q(j(e)).left + r;
1712
1712
  }
1713
- function at(e, t, r) {
1713
+ function yt(e, t, r) {
1714
1714
  r === void 0 && (r = !1);
1715
1715
  const n = e.getBoundingClientRect(), o = n.left + t.scrollLeft - (r ? 0 : (
1716
1716
  // RTL <body> scrollbar.
1717
- Ve(e, n)
1717
+ Ue(e, n)
1718
1718
  )), c = n.top + t.scrollTop;
1719
1719
  return {
1720
1720
  x: o,
1721
1721
  y: c
1722
1722
  };
1723
1723
  }
1724
- function Cn(e) {
1724
+ function Bn(e) {
1725
1725
  let {
1726
1726
  elements: t,
1727
1727
  rect: r,
1728
1728
  offsetParent: n,
1729
1729
  strategy: o
1730
1730
  } = e;
1731
- const c = o === "fixed", l = B(n), f = t ? we(t.floating) : !1;
1731
+ const c = o === "fixed", l = j(n), f = t ? Ee(t.floating) : !1;
1732
1732
  if (n === l || f && c)
1733
1733
  return r;
1734
1734
  let u = {
1735
1735
  scrollLeft: 0,
1736
1736
  scrollTop: 0
1737
- }, s = W(1);
1738
- const g = W(0), a = j(n);
1739
- if ((a || !a && !c) && ((ne(n) !== "body" || le(l)) && (u = be(n)), j(n))) {
1737
+ }, i = B(1);
1738
+ const g = B(0), a = W(n);
1739
+ if ((a || !a && !c) && ((ne(n) !== "body" || ue(l)) && (u = be(n)), W(n))) {
1740
1740
  const d = Q(n);
1741
- s = Z(n), g.x = d.x + n.clientLeft, g.y = d.y + n.clientTop;
1741
+ i = Z(n), g.x = d.x + n.clientLeft, g.y = d.y + n.clientTop;
1742
1742
  }
1743
- const i = l && !a && !c ? at(l, u, !0) : W(0);
1743
+ const s = l && !a && !c ? yt(l, u, !0) : B(0);
1744
1744
  return {
1745
- width: r.width * s.x,
1746
- height: r.height * s.y,
1747
- x: r.x * s.x - u.scrollLeft * s.x + g.x + i.x,
1748
- y: r.y * s.y - u.scrollTop * s.y + g.y + i.y
1745
+ width: r.width * i.x,
1746
+ height: r.height * i.y,
1747
+ x: r.x * i.x - u.scrollLeft * i.x + g.x + s.x,
1748
+ y: r.y * i.y - u.scrollTop * i.y + g.y + s.y
1749
1749
  };
1750
1750
  }
1751
- function Dn(e) {
1751
+ function Wn(e) {
1752
1752
  return Array.from(e.getClientRects());
1753
1753
  }
1754
- function Mn(e) {
1755
- const t = B(e), r = be(e), n = e.ownerDocument.body, o = k(t.scrollWidth, t.clientWidth, n.scrollWidth, n.clientWidth), c = k(t.scrollHeight, t.clientHeight, n.scrollHeight, n.clientHeight);
1756
- let l = -r.scrollLeft + Ve(e);
1754
+ function jn(e) {
1755
+ const t = j(e), r = be(e), n = e.ownerDocument.body, o = k(t.scrollWidth, t.clientWidth, n.scrollWidth, n.clientWidth), c = k(t.scrollHeight, t.clientHeight, n.scrollHeight, n.clientHeight);
1756
+ let l = -r.scrollLeft + Ue(e);
1757
1757
  const f = -r.scrollTop;
1758
- return F(n).direction === "rtl" && (l += k(t.clientWidth, n.clientWidth) - o), {
1758
+ return H(n).direction === "rtl" && (l += k(t.clientWidth, n.clientWidth) - o), {
1759
1759
  width: o,
1760
1760
  height: c,
1761
1761
  x: l,
1762
1762
  y: f
1763
1763
  };
1764
1764
  }
1765
- function Ln(e, t) {
1766
- const r = $(e), n = B(e), o = r.visualViewport;
1765
+ function Gn(e, t) {
1766
+ const r = I(e), n = j(e), o = r.visualViewport;
1767
1767
  let c = n.clientWidth, l = n.clientHeight, f = 0, u = 0;
1768
1768
  if (o) {
1769
1769
  c = o.width, l = o.height;
1770
- const s = ke();
1771
- (!s || s && t === "fixed") && (f = o.offsetLeft, u = o.offsetTop);
1770
+ const i = $e();
1771
+ (!i || i && t === "fixed") && (f = o.offsetLeft, u = o.offsetTop);
1772
1772
  }
1773
1773
  return {
1774
1774
  width: c,
@@ -1777,25 +1777,25 @@ function Ln(e, t) {
1777
1777
  y: u
1778
1778
  };
1779
1779
  }
1780
- function kn(e, t) {
1781
- const r = Q(e, !0, t === "fixed"), n = r.top + e.clientTop, o = r.left + e.clientLeft, c = j(e) ? Z(e) : W(1), l = e.clientWidth * c.x, f = e.clientHeight * c.y, u = o * c.x, s = n * c.y;
1780
+ function qn(e, t) {
1781
+ const r = Q(e, !0, t === "fixed"), n = r.top + e.clientTop, o = r.left + e.clientLeft, c = W(e) ? Z(e) : B(1), l = e.clientWidth * c.x, f = e.clientHeight * c.y, u = o * c.x, i = n * c.y;
1782
1782
  return {
1783
1783
  width: l,
1784
1784
  height: f,
1785
1785
  x: u,
1786
- y: s
1786
+ y: i
1787
1787
  };
1788
1788
  }
1789
- function Ye(e, t, r) {
1789
+ function Xe(e, t, r) {
1790
1790
  let n;
1791
1791
  if (t === "viewport")
1792
- n = Ln(e, r);
1792
+ n = Gn(e, r);
1793
1793
  else if (t === "document")
1794
- n = Mn(B(e));
1794
+ n = jn(j(e));
1795
1795
  else if (U(t))
1796
- n = kn(t, r);
1796
+ n = qn(t, r);
1797
1797
  else {
1798
- const o = ct(e);
1798
+ const o = mt(e);
1799
1799
  n = {
1800
1800
  x: t.x - o.x,
1801
1801
  y: t.y - o.y,
@@ -1803,36 +1803,36 @@ function Ye(e, t, r) {
1803
1803
  height: t.height
1804
1804
  };
1805
1805
  }
1806
- return he(n);
1806
+ return Oe(n);
1807
1807
  }
1808
- function lt(e, t) {
1808
+ function ht(e, t) {
1809
1809
  const r = J(e);
1810
- return r === t || !U(r) || ee(r) ? !1 : F(r).position === "fixed" || lt(r, t);
1810
+ return r === t || !U(r) || ee(r) ? !1 : H(r).position === "fixed" || ht(r, t);
1811
1811
  }
1812
- function $n(e, t) {
1812
+ function Yn(e, t) {
1813
1813
  const r = t.get(e);
1814
1814
  if (r)
1815
1815
  return r;
1816
- let n = ae(e, [], !1).filter((f) => U(f) && ne(f) !== "body"), o = null;
1817
- const c = F(e).position === "fixed";
1816
+ let n = le(e, [], !1).filter((f) => U(f) && ne(f) !== "body"), o = null;
1817
+ const c = H(e).position === "fixed";
1818
1818
  let l = c ? J(e) : e;
1819
1819
  for (; U(l) && !ee(l); ) {
1820
- const f = F(l), u = Le(l);
1821
- !u && f.position === "fixed" && (o = null), (c ? !u && !o : !u && f.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || le(l) && !u && lt(e, l)) ? n = n.filter((g) => g !== l) : o = f, l = J(l);
1820
+ const f = H(l), u = Ve(l);
1821
+ !u && f.position === "fixed" && (o = null), (c ? !u && !o : !u && f.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || ue(l) && !u && ht(e, l)) ? n = n.filter((g) => g !== l) : o = f, l = J(l);
1822
1822
  }
1823
1823
  return t.set(e, n), n;
1824
1824
  }
1825
- function Vn(e) {
1825
+ function Kn(e) {
1826
1826
  let {
1827
1827
  element: t,
1828
1828
  boundary: r,
1829
1829
  rootBoundary: n,
1830
1830
  strategy: o
1831
1831
  } = e;
1832
- const l = [...r === "clippingAncestors" ? we(t) ? [] : $n(t, this._c) : [].concat(r), n], f = l[0], u = l.reduce((s, g) => {
1833
- const a = Ye(t, g, o);
1834
- return s.top = k(a.top, s.top), s.right = X(a.right, s.right), s.bottom = X(a.bottom, s.bottom), s.left = k(a.left, s.left), s;
1835
- }, Ye(t, f, o));
1832
+ const l = [...r === "clippingAncestors" ? Ee(t) ? [] : Yn(t, this._c) : [].concat(r), n], f = l[0], u = l.reduce((i, g) => {
1833
+ const a = Xe(t, g, o);
1834
+ return i.top = k(a.top, i.top), i.right = X(a.right, i.right), i.bottom = X(a.bottom, i.bottom), i.left = k(a.left, i.left), i;
1835
+ }, Xe(t, f, o));
1836
1836
  return {
1837
1837
  width: u.right - u.left,
1838
1838
  height: u.bottom - u.top,
@@ -1840,29 +1840,29 @@ function Vn(e) {
1840
1840
  y: u.top
1841
1841
  };
1842
1842
  }
1843
- function Hn(e) {
1843
+ function Xn(e) {
1844
1844
  const {
1845
1845
  width: t,
1846
1846
  height: r
1847
- } = st(e);
1847
+ } = pt(e);
1848
1848
  return {
1849
1849
  width: t,
1850
1850
  height: r
1851
1851
  };
1852
1852
  }
1853
- function zn(e, t, r) {
1854
- const n = j(t), o = B(t), c = r === "fixed", l = Q(e, !0, c, t);
1853
+ function Jn(e, t, r) {
1854
+ const n = W(t), o = j(t), c = r === "fixed", l = Q(e, !0, c, t);
1855
1855
  let f = {
1856
1856
  scrollLeft: 0,
1857
1857
  scrollTop: 0
1858
1858
  };
1859
- const u = W(0);
1859
+ const u = B(0);
1860
1860
  if (n || !n && !c)
1861
- if ((ne(t) !== "body" || le(o)) && (f = be(t)), n) {
1862
- const i = Q(t, !0, c, t);
1863
- u.x = i.x + t.clientLeft, u.y = i.y + t.clientTop;
1864
- } else o && (u.x = Ve(o));
1865
- const s = o && !n && !c ? at(o, f) : W(0), g = l.left + f.scrollLeft - u.x - s.x, a = l.top + f.scrollTop - u.y - s.y;
1861
+ if ((ne(t) !== "body" || ue(o)) && (f = be(t)), n) {
1862
+ const s = Q(t, !0, c, t);
1863
+ u.x = s.x + t.clientLeft, u.y = s.y + t.clientTop;
1864
+ } else o && (u.x = Ue(o));
1865
+ const i = o && !n && !c ? yt(o, f) : B(0), g = l.left + f.scrollLeft - u.x - i.x, a = l.top + f.scrollTop - u.y - i.y;
1866
1866
  return {
1867
1867
  x: g,
1868
1868
  y: a,
@@ -1870,39 +1870,39 @@ function zn(e, t, r) {
1870
1870
  height: l.height
1871
1871
  };
1872
1872
  }
1873
- function Ee(e) {
1874
- return F(e).position === "static";
1873
+ function Pe(e) {
1874
+ return H(e).position === "static";
1875
1875
  }
1876
- function Ge(e, t) {
1877
- if (!j(e) || F(e).position === "fixed")
1876
+ function Je(e, t) {
1877
+ if (!W(e) || H(e).position === "fixed")
1878
1878
  return null;
1879
1879
  if (t)
1880
1880
  return t(e);
1881
1881
  let r = e.offsetParent;
1882
- return B(e) === r && (r = r.ownerDocument.body), r;
1882
+ return j(e) === r && (r = r.ownerDocument.body), r;
1883
1883
  }
1884
- function ut(e, t) {
1885
- const r = $(e);
1886
- if (we(e))
1884
+ function vt(e, t) {
1885
+ const r = I(e);
1886
+ if (Ee(e))
1887
1887
  return r;
1888
- if (!j(e)) {
1888
+ if (!W(e)) {
1889
1889
  let o = J(e);
1890
1890
  for (; o && !ee(o); ) {
1891
- if (U(o) && !Ee(o))
1891
+ if (U(o) && !Pe(o))
1892
1892
  return o;
1893
1893
  o = J(o);
1894
1894
  }
1895
1895
  return r;
1896
1896
  }
1897
- let n = Ge(e, t);
1898
- for (; n && Tn(n) && Ee(n); )
1899
- n = Ge(n, t);
1900
- return n && ee(n) && Ee(n) && !Le(n) ? r : n || _n(e) || r;
1897
+ let n = Je(e, t);
1898
+ for (; n && Fn(n) && Pe(n); )
1899
+ n = Je(n, t);
1900
+ return n && ee(n) && Pe(n) && !Ve(n) ? r : n || Un(e) || r;
1901
1901
  }
1902
- const Un = async function(e) {
1903
- const t = this.getOffsetParent || ut, r = this.getDimensions, n = await r(e.floating);
1902
+ const Qn = async function(e) {
1903
+ const t = this.getOffsetParent || vt, r = this.getDimensions, n = await r(e.floating);
1904
1904
  return {
1905
- reference: zn(e.reference, await t(e.floating), e.strategy),
1905
+ reference: Jn(e.reference, await t(e.floating), e.strategy),
1906
1906
  floating: {
1907
1907
  x: 0,
1908
1908
  y: 0,
@@ -1911,71 +1911,71 @@ const Un = async function(e) {
1911
1911
  }
1912
1912
  };
1913
1913
  };
1914
- function Fn(e) {
1915
- return F(e).direction === "rtl";
1916
- }
1917
- const In = {
1918
- convertOffsetParentRelativeRectToViewportRelativeRect: Cn,
1919
- getDocumentElement: B,
1920
- getClippingRect: Vn,
1921
- getOffsetParent: ut,
1922
- getElementRects: Un,
1923
- getClientRects: Dn,
1924
- getDimensions: Hn,
1914
+ function Zn(e) {
1915
+ return H(e).direction === "rtl";
1916
+ }
1917
+ const er = {
1918
+ convertOffsetParentRelativeRectToViewportRelativeRect: Bn,
1919
+ getDocumentElement: j,
1920
+ getClippingRect: Kn,
1921
+ getOffsetParent: vt,
1922
+ getElementRects: Qn,
1923
+ getClientRects: Wn,
1924
+ getDimensions: Xn,
1925
1925
  getScale: Z,
1926
1926
  isElement: U,
1927
- isRTL: Fn
1927
+ isRTL: Zn
1928
1928
  };
1929
- function ft(e, t) {
1929
+ function Ot(e, t) {
1930
1930
  return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
1931
1931
  }
1932
- function Wn(e, t) {
1932
+ function tr(e, t) {
1933
1933
  let r = null, n;
1934
- const o = B(e);
1934
+ const o = j(e);
1935
1935
  function c() {
1936
1936
  var f;
1937
1937
  clearTimeout(n), (f = r) == null || f.disconnect(), r = null;
1938
1938
  }
1939
1939
  function l(f, u) {
1940
1940
  f === void 0 && (f = !1), u === void 0 && (u = 1), c();
1941
- const s = e.getBoundingClientRect(), {
1941
+ const i = e.getBoundingClientRect(), {
1942
1942
  left: g,
1943
1943
  top: a,
1944
- width: i,
1944
+ width: s,
1945
1945
  height: d
1946
- } = s;
1947
- if (f || t(), !i || !d)
1946
+ } = i;
1947
+ if (f || t(), !s || !d)
1948
1948
  return;
1949
- const m = ge(a), p = ge(o.clientWidth - (g + i)), y = ge(o.clientHeight - (a + d)), v = ge(g), b = {
1950
- rootMargin: -m + "px " + -p + "px " + -y + "px " + -v + "px",
1949
+ const p = pe(a), m = pe(o.clientWidth - (g + s)), y = pe(o.clientHeight - (a + d)), v = pe(g), x = {
1950
+ rootMargin: -p + "px " + -m + "px " + -y + "px " + -v + "px",
1951
1951
  threshold: k(0, X(1, u)) || 1
1952
1952
  };
1953
- let E = !0;
1954
- function S(A) {
1955
- const _ = A[0].intersectionRatio;
1956
- if (_ !== u) {
1957
- if (!E)
1953
+ let R = !0;
1954
+ function b(P) {
1955
+ const C = P[0].intersectionRatio;
1956
+ if (C !== u) {
1957
+ if (!R)
1958
1958
  return l();
1959
- _ ? l(!1, _) : n = setTimeout(() => {
1959
+ C ? l(!1, C) : n = setTimeout(() => {
1960
1960
  l(!1, 1e-7);
1961
1961
  }, 1e3);
1962
1962
  }
1963
- _ === 1 && !ft(s, e.getBoundingClientRect()) && l(), E = !1;
1963
+ C === 1 && !Ot(i, e.getBoundingClientRect()) && l(), R = !1;
1964
1964
  }
1965
1965
  try {
1966
- r = new IntersectionObserver(S, {
1967
- ...b,
1966
+ r = new IntersectionObserver(b, {
1967
+ ...x,
1968
1968
  // Handle <iframe>s
1969
1969
  root: o.ownerDocument
1970
1970
  });
1971
1971
  } catch {
1972
- r = new IntersectionObserver(S, b);
1972
+ r = new IntersectionObserver(b, x);
1973
1973
  }
1974
1974
  r.observe(e);
1975
1975
  }
1976
1976
  return l(!0), c;
1977
1977
  }
1978
- function jn(e, t, r, n) {
1978
+ function nr(e, t, r, n) {
1979
1979
  n === void 0 && (n = {});
1980
1980
  const {
1981
1981
  ancestorScroll: o = !0,
@@ -1983,48 +1983,48 @@ function jn(e, t, r, n) {
1983
1983
  elementResize: l = typeof ResizeObserver == "function",
1984
1984
  layoutShift: f = typeof IntersectionObserver == "function",
1985
1985
  animationFrame: u = !1
1986
- } = n, s = $e(e), g = o || c ? [...s ? ae(s) : [], ...ae(t)] : [];
1986
+ } = n, i = Fe(e), g = o || c ? [...i ? le(i) : [], ...le(t)] : [];
1987
1987
  g.forEach((v) => {
1988
1988
  o && v.addEventListener("scroll", r, {
1989
1989
  passive: !0
1990
1990
  }), c && v.addEventListener("resize", r);
1991
1991
  });
1992
- const a = s && f ? Wn(s, r) : null;
1993
- let i = -1, d = null;
1992
+ const a = i && f ? tr(i, r) : null;
1993
+ let s = -1, d = null;
1994
1994
  l && (d = new ResizeObserver((v) => {
1995
1995
  let [w] = v;
1996
- w && w.target === s && d && (d.unobserve(t), cancelAnimationFrame(i), i = requestAnimationFrame(() => {
1997
- var b;
1998
- (b = d) == null || b.observe(t);
1996
+ w && w.target === i && d && (d.unobserve(t), cancelAnimationFrame(s), s = requestAnimationFrame(() => {
1997
+ var x;
1998
+ (x = d) == null || x.observe(t);
1999
1999
  })), r();
2000
- }), s && !u && d.observe(s), d.observe(t));
2001
- let m, p = u ? Q(e) : null;
2000
+ }), i && !u && d.observe(i), d.observe(t));
2001
+ let p, m = u ? Q(e) : null;
2002
2002
  u && y();
2003
2003
  function y() {
2004
2004
  const v = Q(e);
2005
- p && !ft(p, v) && r(), p = v, m = requestAnimationFrame(y);
2005
+ m && !Ot(m, v) && r(), m = v, p = requestAnimationFrame(y);
2006
2006
  }
2007
2007
  return r(), () => {
2008
2008
  var v;
2009
2009
  g.forEach((w) => {
2010
2010
  o && w.removeEventListener("scroll", r), c && w.removeEventListener("resize", r);
2011
- }), a?.(), (v = d) == null || v.disconnect(), d = null, u && cancelAnimationFrame(m);
2011
+ }), a?.(), (v = d) == null || v.disconnect(), d = null, u && cancelAnimationFrame(p);
2012
2012
  };
2013
2013
  }
2014
- const Bn = Sn, qn = En, Yn = wn, Gn = An, Kn = bn, Xn = xn, Jn = Rn, Qn = (e, t, r) => {
2014
+ const rr = kn, or = In, ir = Dn, sr = $n, cr = Ln, ar = _n, lr = Vn, ur = (e, t, r) => {
2015
2015
  const n = /* @__PURE__ */ new Map(), o = {
2016
- platform: In,
2016
+ platform: er,
2017
2017
  ...r
2018
2018
  }, c = {
2019
2019
  ...o.platform,
2020
2020
  _c: n
2021
2021
  };
2022
- return vn(e, t, {
2022
+ return Nn(e, t, {
2023
2023
  ...o,
2024
2024
  platform: c
2025
2025
  });
2026
2026
  };
2027
- function Ke(e = 0, t = 0, r = 0, n = 0) {
2027
+ function Qe(e = 0, t = 0, r = 0, n = 0) {
2028
2028
  if (typeof DOMRect == "function")
2029
2029
  return new DOMRect(e, t, r, n);
2030
2030
  const o = {
@@ -2039,27 +2039,27 @@ function Ke(e = 0, t = 0, r = 0, n = 0) {
2039
2039
  };
2040
2040
  return { ...o, toJSON: () => o };
2041
2041
  }
2042
- function Zn(e) {
2043
- if (!e) return Ke();
2042
+ function fr(e) {
2043
+ if (!e) return Qe();
2044
2044
  const { x: t, y: r, width: n, height: o } = e;
2045
- return Ke(t, r, n, o);
2045
+ return Qe(t, r, n, o);
2046
2046
  }
2047
- function er(e, t) {
2047
+ function dr(e, t) {
2048
2048
  return {
2049
- contextElement: Tt(e) ? e : void 0,
2049
+ contextElement: Vt(e) ? e : void 0,
2050
2050
  getBoundingClientRect: () => {
2051
2051
  const r = e, n = t?.(r);
2052
- return n || !r ? Zn(n) : r.getBoundingClientRect();
2052
+ return n || !r ? fr(n) : r.getBoundingClientRect();
2053
2053
  }
2054
2054
  };
2055
2055
  }
2056
- var oe = (e) => ({ variable: e, reference: `var(${e})` }), q = {
2056
+ var oe = (e) => ({ variable: e, reference: `var(${e})` }), G = {
2057
2057
  arrowSize: oe("--arrow-size"),
2058
2058
  arrowSizeHalf: oe("--arrow-size-half"),
2059
2059
  arrowBg: oe("--arrow-background"),
2060
2060
  transformOrigin: oe("--transform-origin"),
2061
2061
  arrowOffset: oe("--arrow-offset")
2062
- }, tr = (e) => ({
2062
+ }, gr = (e) => ({
2063
2063
  top: "bottom center",
2064
2064
  "top-start": e ? `${e.x}px bottom` : "left bottom",
2065
2065
  "top-end": e ? `${e.x}px bottom` : "right bottom",
@@ -2072,22 +2072,22 @@ var oe = (e) => ({ variable: e, reference: `var(${e})` }), q = {
2072
2072
  right: "left center",
2073
2073
  "right-start": e ? `left ${e.y}px` : "left top",
2074
2074
  "right-end": e ? `left ${e.y}px` : "left bottom"
2075
- }), nr = {
2075
+ }), pr = {
2076
2076
  name: "transformOrigin",
2077
2077
  fn({ placement: e, elements: t, middlewareData: r }) {
2078
- const { arrow: n } = r, o = tr(n)[e], { floating: c } = t;
2079
- return c.style.setProperty(q.transformOrigin.variable, o), {
2078
+ const { arrow: n } = r, o = gr(n)[e], { floating: c } = t;
2079
+ return c.style.setProperty(G.transformOrigin.variable, o), {
2080
2080
  data: { transformOrigin: o }
2081
2081
  };
2082
2082
  }
2083
- }, rr = {
2083
+ }, mr = {
2084
2084
  name: "rects",
2085
2085
  fn({ rects: e }) {
2086
2086
  return {
2087
2087
  data: e
2088
2088
  };
2089
2089
  }
2090
- }, or = (e) => {
2090
+ }, yr = (e) => {
2091
2091
  if (e)
2092
2092
  return {
2093
2093
  name: "shiftArrow",
@@ -2097,19 +2097,19 @@ var oe = (e) => ({ variable: e, reference: `var(${e})` }), q = {
2097
2097
  return Object.assign(e.style, {
2098
2098
  left: n != null ? `${n}px` : "",
2099
2099
  top: o != null ? `${o}px` : "",
2100
- [c]: `calc(100% + ${q.arrowOffset.reference})`
2100
+ [c]: `calc(100% + ${G.arrowOffset.reference})`
2101
2101
  }), {};
2102
2102
  }
2103
2103
  };
2104
2104
  };
2105
- function ir(e) {
2105
+ function hr(e) {
2106
2106
  const [t, r] = e.split("-");
2107
2107
  return { side: t, align: r, hasAlign: r != null };
2108
2108
  }
2109
- function Tr(e) {
2109
+ function Br(e) {
2110
2110
  return e.split("-")[0];
2111
2111
  }
2112
- var sr = {
2112
+ var vr = {
2113
2113
  strategy: "absolute",
2114
2114
  placement: "bottom",
2115
2115
  listeners: !0,
@@ -2122,51 +2122,51 @@ var sr = {
2122
2122
  overflowPadding: 8,
2123
2123
  arrowPadding: 4
2124
2124
  };
2125
- function Xe(e, t) {
2125
+ function Ze(e, t) {
2126
2126
  const r = e.devicePixelRatio || 1;
2127
2127
  return Math.round(t * r) / r;
2128
2128
  }
2129
- function dt(e) {
2130
- return Pt(e.boundary);
2129
+ function wt(e) {
2130
+ return Ft(e.boundary);
2131
2131
  }
2132
- function cr(e, t) {
2132
+ function Or(e, t) {
2133
2133
  if (e)
2134
- return Xn({
2134
+ return ar({
2135
2135
  element: e,
2136
2136
  padding: t.arrowPadding
2137
2137
  });
2138
2138
  }
2139
- function ar(e, t) {
2140
- if (!_t(t.offset ?? t.gutter))
2141
- return Bn(({ placement: r }) => {
2142
- const n = (e?.clientHeight || 0) / 2, o = t.offset?.mainAxis ?? t.gutter, c = typeof o == "number" ? o + n : o ?? n, { hasAlign: l } = ir(r), f = l ? void 0 : t.shift, u = t.offset?.crossAxis ?? f;
2143
- return Je({
2139
+ function wr(e, t) {
2140
+ if (!$t(t.offset ?? t.gutter))
2141
+ return rr(({ placement: r }) => {
2142
+ const n = (e?.clientHeight || 0) / 2, o = t.offset?.mainAxis ?? t.gutter, c = typeof o == "number" ? o + n : o ?? n, { hasAlign: l } = hr(r), f = l ? void 0 : t.shift, u = t.offset?.crossAxis ?? f;
2143
+ return rt({
2144
2144
  crossAxis: u,
2145
2145
  mainAxis: c,
2146
2146
  alignmentAxis: t.shift
2147
2147
  });
2148
2148
  });
2149
2149
  }
2150
- function lr(e) {
2150
+ function xr(e) {
2151
2151
  if (e.flip)
2152
- return Yn({
2153
- boundary: dt(e),
2152
+ return ir({
2153
+ boundary: wt(e),
2154
2154
  padding: e.overflowPadding,
2155
2155
  fallbackPlacements: e.flip === !0 ? void 0 : e.flip
2156
2156
  });
2157
2157
  }
2158
- function ur(e) {
2158
+ function Er(e) {
2159
2159
  if (!(!e.slide && !e.overlap))
2160
- return qn({
2161
- boundary: dt(e),
2160
+ return or({
2161
+ boundary: wt(e),
2162
2162
  mainAxis: e.slide,
2163
2163
  crossAxis: e.overlap,
2164
2164
  padding: e.overflowPadding,
2165
- limiter: Jn()
2165
+ limiter: lr()
2166
2166
  });
2167
2167
  }
2168
- function fr(e) {
2169
- return Gn({
2168
+ function br(e) {
2169
+ return sr({
2170
2170
  padding: e.overflowPadding,
2171
2171
  apply({ elements: t, rects: r, availableHeight: n, availableWidth: o }) {
2172
2172
  const c = t.floating, l = Math.round(r.reference.width);
@@ -2174,79 +2174,79 @@ function fr(e) {
2174
2174
  }
2175
2175
  });
2176
2176
  }
2177
- function dr(e) {
2177
+ function Rr(e) {
2178
2178
  if (e.hideWhenDetached)
2179
- return Kn({ strategy: "referenceHidden", boundary: e.boundary?.() ?? "clippingAncestors" });
2179
+ return cr({ strategy: "referenceHidden", boundary: e.boundary?.() ?? "clippingAncestors" });
2180
2180
  }
2181
- function gr(e) {
2181
+ function Sr(e) {
2182
2182
  return e ? e === !0 ? { ancestorResize: !0, ancestorScroll: !0, elementResize: !0, layoutShift: !0 } : e : {};
2183
2183
  }
2184
- function mr(e, t, r = {}) {
2185
- const n = er(e, r.getAnchorRect);
2184
+ function Pr(e, t, r = {}) {
2185
+ const n = dr(e, r.getAnchorRect);
2186
2186
  if (!t || !n) return;
2187
- const o = Object.assign({}, sr, r), c = t.querySelector("[data-part=arrow]"), l = [
2188
- ar(c, o),
2189
- lr(o),
2190
- ur(o),
2191
- cr(c, o),
2192
- or(c),
2193
- nr,
2194
- fr(o),
2195
- dr(o),
2196
- rr
2197
- ], { placement: f, strategy: u, onComplete: s, onPositioned: g } = o, a = async () => {
2187
+ const o = Object.assign({}, vr, r), c = t.querySelector("[data-part=arrow]"), l = [
2188
+ wr(c, o),
2189
+ xr(o),
2190
+ Er(o),
2191
+ Or(c, o),
2192
+ yr(c),
2193
+ pr,
2194
+ br(o),
2195
+ Rr(o),
2196
+ mr
2197
+ ], { placement: f, strategy: u, onComplete: i, onPositioned: g } = o, a = async () => {
2198
2198
  if (!n || !t) return;
2199
- const p = await Qn(n, t, {
2199
+ const m = await ur(n, t, {
2200
2200
  placement: f,
2201
2201
  middleware: l,
2202
2202
  strategy: u
2203
2203
  });
2204
- s?.(p), g?.({ placed: !0 });
2205
- const y = Nt(t), v = Xe(y, p.x), w = Xe(y, p.y);
2206
- t.style.setProperty("--x", `${v}px`), t.style.setProperty("--y", `${w}px`), o.hideWhenDetached && (p.middlewareData.hide?.referenceHidden ? (t.style.setProperty("visibility", "hidden"), t.style.setProperty("pointer-events", "none")) : (t.style.removeProperty("visibility"), t.style.removeProperty("pointer-events")));
2207
- const b = t.firstElementChild;
2208
- if (b) {
2209
- const E = Qe(b);
2210
- t.style.setProperty("--z-index", E.zIndex);
2204
+ i?.(m), g?.({ placed: !0 });
2205
+ const y = Ut(t), v = Ze(y, m.x), w = Ze(y, m.y);
2206
+ t.style.setProperty("--x", `${v}px`), t.style.setProperty("--y", `${w}px`), o.hideWhenDetached && (m.middlewareData.hide?.referenceHidden ? (t.style.setProperty("visibility", "hidden"), t.style.setProperty("pointer-events", "none")) : (t.style.removeProperty("visibility"), t.style.removeProperty("pointer-events")));
2207
+ const x = t.firstElementChild;
2208
+ if (x) {
2209
+ const R = it(x);
2210
+ t.style.setProperty("--z-index", R.zIndex);
2211
2211
  }
2212
- }, i = async () => {
2212
+ }, s = async () => {
2213
2213
  r.updatePosition ? (await r.updatePosition({ updatePosition: a }), g?.({ placed: !0 })) : await a();
2214
- }, d = gr(o.listeners), m = o.listeners ? jn(n, t, i, d) : At;
2215
- return i(), () => {
2216
- m?.(), g?.({ placed: !1 });
2214
+ }, d = Sr(o.listeners), p = o.listeners ? nr(n, t, s, d) : It;
2215
+ return s(), () => {
2216
+ p?.(), g?.({ placed: !1 });
2217
2217
  };
2218
2218
  }
2219
- function _r(e, t, r = {}) {
2220
- const { defer: n, ...o } = r, c = n ? Re : (f) => f(), l = [];
2219
+ function et(e, t, r = {}) {
2220
+ const { defer: n, ...o } = r, c = n ? Ce : (f) => f(), l = [];
2221
2221
  return l.push(
2222
2222
  c(() => {
2223
2223
  const f = typeof e == "function" ? e() : e, u = typeof t == "function" ? t() : t;
2224
- l.push(mr(f, u, o));
2224
+ l.push(Pr(f, u, o));
2225
2225
  })
2226
2226
  ), () => {
2227
2227
  l.forEach((f) => f?.());
2228
2228
  };
2229
2229
  }
2230
- var pr = {
2230
+ var Tr = {
2231
2231
  bottom: "rotate(45deg)",
2232
2232
  left: "rotate(135deg)",
2233
2233
  top: "rotate(225deg)",
2234
2234
  right: "rotate(315deg)"
2235
2235
  };
2236
- function Pr(e = {}) {
2236
+ function Cr(e = {}) {
2237
2237
  const { placement: t, sameWidth: r, fitViewport: n, strategy: o = "absolute" } = e;
2238
2238
  return {
2239
2239
  arrow: {
2240
2240
  position: "absolute",
2241
- width: q.arrowSize.reference,
2242
- height: q.arrowSize.reference,
2243
- [q.arrowSizeHalf.variable]: `calc(${q.arrowSize.reference} / 2)`,
2244
- [q.arrowOffset.variable]: `calc(${q.arrowSizeHalf.reference} * -1)`
2241
+ width: G.arrowSize.reference,
2242
+ height: G.arrowSize.reference,
2243
+ [G.arrowSizeHalf.variable]: `calc(${G.arrowSize.reference} / 2)`,
2244
+ [G.arrowOffset.variable]: `calc(${G.arrowSizeHalf.reference} * -1)`
2245
2245
  },
2246
2246
  arrowTip: {
2247
2247
  // @ts-expect-error - Fix this
2248
- transform: t ? pr[t.split("-")[0]] : void 0,
2249
- background: q.arrowBg.reference,
2248
+ transform: t ? Tr[t.split("-")[0]] : void 0,
2249
+ background: G.arrowBg.reference,
2250
2250
  top: "0",
2251
2251
  left: "0",
2252
2252
  width: "100%",
@@ -2270,7 +2270,356 @@ function Pr(e = {}) {
2270
2270
  }
2271
2271
  };
2272
2272
  }
2273
- const [Nr, Cr] = Ne({
2273
+ var Ar = Bt("hoverCard").parts("arrow", "arrowTip", "trigger", "positioner", "content"), ie = Ar.build(), xt = (e) => e.ids?.trigger ?? `hover-card:${e.id}:trigger`, Et = (e) => e.ids?.content ?? `hover-card:${e.id}:content`, bt = (e) => e.ids?.positioner ?? `hover-card:${e.id}:popper`, Nr = (e) => e.ids?.arrow ?? `hover-card:${e.id}:arrow`, Te = (e) => e.getById(xt(e)), _r = (e) => e.getById(Et(e)), tt = (e) => e.getById(bt(e));
2274
+ function Wr(e, t) {
2275
+ const { state: r, send: n, prop: o, context: c, scope: l } = e, f = r.hasTag("open"), u = Cr({
2276
+ ...o("positioning"),
2277
+ placement: c.get("currentPlacement")
2278
+ });
2279
+ return {
2280
+ open: f,
2281
+ setOpen(i) {
2282
+ r.hasTag("open") !== i && n({ type: i ? "OPEN" : "CLOSE" });
2283
+ },
2284
+ reposition(i = {}) {
2285
+ n({ type: "POSITIONING.SET", options: i });
2286
+ },
2287
+ getArrowProps() {
2288
+ return t.element({
2289
+ id: Nr(l),
2290
+ ...ie.arrow.attrs,
2291
+ dir: o("dir"),
2292
+ style: u.arrow
2293
+ });
2294
+ },
2295
+ getArrowTipProps() {
2296
+ return t.element({
2297
+ ...ie.arrowTip.attrs,
2298
+ dir: o("dir"),
2299
+ style: u.arrowTip
2300
+ });
2301
+ },
2302
+ getTriggerProps() {
2303
+ return t.element({
2304
+ ...ie.trigger.attrs,
2305
+ dir: o("dir"),
2306
+ "data-placement": c.get("currentPlacement"),
2307
+ id: xt(l),
2308
+ "data-state": f ? "open" : "closed",
2309
+ onPointerEnter(i) {
2310
+ i.pointerType !== "touch" && n({ type: "POINTER_ENTER", src: "trigger" });
2311
+ },
2312
+ onPointerLeave(i) {
2313
+ i.pointerType !== "touch" && n({ type: "POINTER_LEAVE", src: "trigger" });
2314
+ },
2315
+ onFocus() {
2316
+ n({ type: "TRIGGER_FOCUS" });
2317
+ },
2318
+ onBlur() {
2319
+ n({ type: "TRIGGER_BLUR" });
2320
+ }
2321
+ });
2322
+ },
2323
+ getPositionerProps() {
2324
+ return t.element({
2325
+ id: bt(l),
2326
+ ...ie.positioner.attrs,
2327
+ dir: o("dir"),
2328
+ style: u.floating
2329
+ });
2330
+ },
2331
+ getContentProps() {
2332
+ return t.element({
2333
+ ...ie.content.attrs,
2334
+ dir: o("dir"),
2335
+ id: Et(l),
2336
+ hidden: !f,
2337
+ tabIndex: -1,
2338
+ "data-state": f ? "open" : "closed",
2339
+ "data-placement": c.get("currentPlacement"),
2340
+ onPointerEnter(i) {
2341
+ i.pointerType !== "touch" && n({ type: "POINTER_ENTER", src: "content" });
2342
+ },
2343
+ onPointerLeave(i) {
2344
+ i.pointerType !== "touch" && n({ type: "POINTER_LEAVE", src: "content" });
2345
+ }
2346
+ });
2347
+ }
2348
+ };
2349
+ }
2350
+ var { not: me, and: nt } = Ht(), jr = ot({
2351
+ props({ props: e }) {
2352
+ return {
2353
+ openDelay: 700,
2354
+ closeDelay: 300,
2355
+ ...e,
2356
+ positioning: {
2357
+ placement: "bottom",
2358
+ ...e.positioning
2359
+ }
2360
+ };
2361
+ },
2362
+ initialState({ prop: e }) {
2363
+ return e("open") || e("defaultOpen") ? "open" : "closed";
2364
+ },
2365
+ context({ prop: e, bindable: t }) {
2366
+ return {
2367
+ open: t(() => ({
2368
+ defaultValue: e("defaultOpen"),
2369
+ value: e("open"),
2370
+ onChange(r) {
2371
+ e("onOpenChange")?.({ open: r });
2372
+ }
2373
+ })),
2374
+ currentPlacement: t(() => ({
2375
+ defaultValue: void 0
2376
+ })),
2377
+ isPointer: t(() => ({
2378
+ defaultValue: !1
2379
+ }))
2380
+ };
2381
+ },
2382
+ watch({ track: e, context: t, action: r }) {
2383
+ e([() => t.get("open")], () => {
2384
+ r(["toggleVisibility"]);
2385
+ });
2386
+ },
2387
+ states: {
2388
+ closed: {
2389
+ tags: ["closed"],
2390
+ entry: ["clearIsPointer"],
2391
+ on: {
2392
+ "CONTROLLED.OPEN": {
2393
+ target: "open"
2394
+ },
2395
+ POINTER_ENTER: {
2396
+ target: "opening",
2397
+ actions: ["setIsPointer"]
2398
+ },
2399
+ TRIGGER_FOCUS: {
2400
+ target: "opening"
2401
+ },
2402
+ OPEN: {
2403
+ target: "opening"
2404
+ }
2405
+ }
2406
+ },
2407
+ opening: {
2408
+ tags: ["closed"],
2409
+ effects: ["waitForOpenDelay"],
2410
+ on: {
2411
+ OPEN_DELAY: [
2412
+ {
2413
+ guard: "isOpenControlled",
2414
+ actions: ["invokeOnOpen"]
2415
+ },
2416
+ {
2417
+ target: "open",
2418
+ actions: ["invokeOnOpen"]
2419
+ }
2420
+ ],
2421
+ "CONTROLLED.OPEN": {
2422
+ target: "open"
2423
+ },
2424
+ "CONTROLLED.CLOSE": {
2425
+ target: "closed"
2426
+ },
2427
+ POINTER_LEAVE: [
2428
+ {
2429
+ guard: "isOpenControlled",
2430
+ // We trigger toggleVisibility manually since the `ctx.open` has not changed yet (at this point)
2431
+ actions: ["invokeOnClose", "toggleVisibility"]
2432
+ },
2433
+ {
2434
+ target: "closed",
2435
+ actions: ["invokeOnClose"]
2436
+ }
2437
+ ],
2438
+ TRIGGER_BLUR: [
2439
+ {
2440
+ guard: nt("isOpenControlled", me("isPointer")),
2441
+ // We trigger toggleVisibility manually since the `ctx.open` has not changed yet (at this point)
2442
+ actions: ["invokeOnClose", "toggleVisibility"]
2443
+ },
2444
+ {
2445
+ guard: me("isPointer"),
2446
+ target: "closed",
2447
+ actions: ["invokeOnClose"]
2448
+ }
2449
+ ],
2450
+ CLOSE: [
2451
+ {
2452
+ guard: "isOpenControlled",
2453
+ // We trigger toggleVisibility manually since the `ctx.open` has not changed yet (at this point)
2454
+ actions: ["invokeOnClose", "toggleVisibility"]
2455
+ },
2456
+ {
2457
+ target: "closed",
2458
+ actions: ["invokeOnClose"]
2459
+ }
2460
+ ]
2461
+ }
2462
+ },
2463
+ open: {
2464
+ tags: ["open"],
2465
+ effects: ["trackDismissableElement", "trackPositioning"],
2466
+ on: {
2467
+ "CONTROLLED.CLOSE": {
2468
+ target: "closed"
2469
+ },
2470
+ POINTER_ENTER: {
2471
+ actions: ["setIsPointer"]
2472
+ },
2473
+ POINTER_LEAVE: {
2474
+ target: "closing"
2475
+ },
2476
+ CLOSE: [
2477
+ {
2478
+ guard: "isOpenControlled",
2479
+ actions: ["invokeOnClose"]
2480
+ },
2481
+ {
2482
+ target: "closed",
2483
+ actions: ["invokeOnClose"]
2484
+ }
2485
+ ],
2486
+ TRIGGER_BLUR: [
2487
+ {
2488
+ guard: nt("isOpenControlled", me("isPointer")),
2489
+ actions: ["invokeOnClose"]
2490
+ },
2491
+ {
2492
+ guard: me("isPointer"),
2493
+ target: "closed",
2494
+ actions: ["invokeOnClose"]
2495
+ }
2496
+ ],
2497
+ "POSITIONING.SET": {
2498
+ actions: ["reposition"]
2499
+ }
2500
+ }
2501
+ },
2502
+ closing: {
2503
+ tags: ["open"],
2504
+ effects: ["trackPositioning", "waitForCloseDelay"],
2505
+ on: {
2506
+ CLOSE_DELAY: [
2507
+ {
2508
+ guard: "isOpenControlled",
2509
+ actions: ["invokeOnClose"]
2510
+ },
2511
+ {
2512
+ target: "closed",
2513
+ actions: ["invokeOnClose"]
2514
+ }
2515
+ ],
2516
+ "CONTROLLED.CLOSE": {
2517
+ target: "closed"
2518
+ },
2519
+ "CONTROLLED.OPEN": {
2520
+ target: "open"
2521
+ },
2522
+ POINTER_ENTER: {
2523
+ target: "open",
2524
+ // no need to invokeOnOpen here because it's still open (but about to close)
2525
+ actions: ["setIsPointer"]
2526
+ }
2527
+ }
2528
+ }
2529
+ },
2530
+ implementations: {
2531
+ guards: {
2532
+ isPointer: ({ context: e }) => !!e.get("isPointer"),
2533
+ isOpenControlled: ({ prop: e }) => e("open") != null
2534
+ },
2535
+ effects: {
2536
+ waitForOpenDelay({ send: e, prop: t }) {
2537
+ const r = setTimeout(() => {
2538
+ e({ type: "OPEN_DELAY" });
2539
+ }, t("openDelay"));
2540
+ return () => clearTimeout(r);
2541
+ },
2542
+ waitForCloseDelay({ send: e, prop: t }) {
2543
+ const r = setTimeout(() => {
2544
+ e({ type: "CLOSE_DELAY" });
2545
+ }, t("closeDelay"));
2546
+ return () => clearTimeout(r);
2547
+ },
2548
+ trackPositioning({ context: e, prop: t, scope: r }) {
2549
+ e.get("currentPlacement") || e.set("currentPlacement", t("positioning").placement);
2550
+ const n = () => tt(r);
2551
+ return et(Te(r), n, {
2552
+ ...t("positioning"),
2553
+ defer: !0,
2554
+ onComplete(o) {
2555
+ e.set("currentPlacement", o.placement);
2556
+ }
2557
+ });
2558
+ },
2559
+ trackDismissableElement({ send: e, scope: t, prop: r }) {
2560
+ return zt(() => _r(t), {
2561
+ defer: !0,
2562
+ exclude: [Te(t)],
2563
+ onDismiss() {
2564
+ e({ type: "CLOSE", src: "interact-outside" });
2565
+ },
2566
+ onInteractOutside: r("onInteractOutside"),
2567
+ onPointerDownOutside: r("onPointerDownOutside"),
2568
+ onFocusOutside(o) {
2569
+ o.preventDefault(), r("onFocusOutside")?.(o);
2570
+ }
2571
+ });
2572
+ }
2573
+ },
2574
+ actions: {
2575
+ invokeOnClose({ prop: e }) {
2576
+ e("onOpenChange")?.({ open: !1 });
2577
+ },
2578
+ invokeOnOpen({ prop: e }) {
2579
+ e("onOpenChange")?.({ open: !0 });
2580
+ },
2581
+ setIsPointer({ context: e }) {
2582
+ e.set("isPointer", !0);
2583
+ },
2584
+ clearIsPointer({ context: e }) {
2585
+ e.set("isPointer", !1);
2586
+ },
2587
+ reposition({ context: e, prop: t, scope: r, event: n }) {
2588
+ const o = () => tt(r);
2589
+ et(Te(r), o, {
2590
+ ...t("positioning"),
2591
+ ...n.options,
2592
+ defer: !0,
2593
+ listeners: !1,
2594
+ onComplete(c) {
2595
+ e.set("currentPlacement", c.placement);
2596
+ }
2597
+ });
2598
+ },
2599
+ toggleVisibility({ prop: e, event: t, send: r }) {
2600
+ queueMicrotask(() => {
2601
+ r({ type: e("open") ? "CONTROLLED.OPEN" : "CONTROLLED.CLOSE", previousEvent: t });
2602
+ });
2603
+ }
2604
+ }
2605
+ }
2606
+ });
2607
+ at()([
2608
+ "closeDelay",
2609
+ "dir",
2610
+ "getRootNode",
2611
+ "id",
2612
+ "ids",
2613
+ "onOpenChange",
2614
+ "defaultOpen",
2615
+ "open",
2616
+ "openDelay",
2617
+ "positioning",
2618
+ "onInteractOutside",
2619
+ "onPointerDownOutside",
2620
+ "onFocusOutside"
2621
+ ]);
2622
+ const [Gr, qr] = Le({
2274
2623
  name: "LocaleContext",
2275
2624
  hookName: "useLocaleContext",
2276
2625
  providerName: "<LocaleProvider />",
@@ -2278,24 +2627,27 @@ const [Nr, Cr] = Ne({
2278
2627
  defaultValue: { dir: "ltr", locale: "en-US" }
2279
2628
  });
2280
2629
  export {
2281
- wr as P,
2282
- on as a,
2283
- Xt as b,
2284
- Ne as c,
2285
- Pr as d,
2286
- Tr as e,
2287
- Or as f,
2288
- _r as g,
2289
- tn as h,
2290
- qt as i,
2291
- Cr as j,
2292
- Zt as k,
2293
- Ar as l,
2294
- Sr as m,
2295
- br as n,
2296
- an as o,
2297
- ve as r,
2298
- Rr as s,
2299
- Er as u
2630
+ Ir as P,
2631
+ hn as a,
2632
+ at as b,
2633
+ Le as c,
2634
+ Cr as d,
2635
+ Br as e,
2636
+ $r as f,
2637
+ et as g,
2638
+ pn as h,
2639
+ sn as i,
2640
+ qr as j,
2641
+ dn as k,
2642
+ zr as l,
2643
+ Fr as m,
2644
+ Vr as n,
2645
+ jr as o,
2646
+ Wr as p,
2647
+ wn as q,
2648
+ we as r,
2649
+ Hr as s,
2650
+ Ar as t,
2651
+ Ur as u
2300
2652
  };
2301
- //# sourceMappingURL=use-locale-context-BiiNTYMT.js.map
2653
+ //# sourceMappingURL=use-locale-context-ib8415q7.js.map