@adyen/bento-vue3 1.85.0 → 1.86.1

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 (373) hide show
  1. package/dist/@types/components.d.ts +2 -0
  2. package/dist/@types/index.d.ts +358 -260
  3. package/dist/accordion.js +1 -1
  4. package/dist/action-bar.js +1 -1
  5. package/dist/ai-tag.js +1 -1
  6. package/dist/alert.js +1 -1
  7. package/dist/anchor-scroller.js +5 -0
  8. package/dist/anchor-scroller.js.map +1 -0
  9. package/dist/assets/accordion-item.css +1 -1
  10. package/dist/assets/action-bar.css +1 -1
  11. package/dist/assets/anchor-scroller.css +1 -0
  12. package/dist/assets/base-modal.css +1 -1
  13. package/dist/assets/button-actions.css +1 -1
  14. package/dist/assets/card.css +1 -1
  15. package/dist/assets/data-grid.css +1 -1
  16. package/dist/assets/date-picker.css +1 -1
  17. package/dist/assets/date-range-picker.css +1 -1
  18. package/dist/assets/dialog-page.css +1 -1
  19. package/dist/assets/dropdown-default-textbox.css +1 -1
  20. package/dist/assets/dropdown.css +1 -1
  21. package/dist/assets/error-message.css +1 -0
  22. package/dist/assets/file-uploader.css +1 -1
  23. package/dist/assets/fixed-scroller.css +1 -1
  24. package/dist/assets/inspector.css +1 -1
  25. package/dist/assets/modal-fullscreen.css +1 -1
  26. package/dist/assets/secondary-nav.css +1 -1
  27. package/dist/assets/sidepanel.css +1 -1
  28. package/dist/assets/use-cached-selected-values.css +1 -1
  29. package/dist/avatar.js +1 -1
  30. package/dist/button.js +3 -3
  31. package/dist/card.js +1 -1
  32. package/dist/checkbox.js +6 -6
  33. package/dist/chip.js +1 -1
  34. package/dist/chunks/{accordion-item.yRlQj4VF.js → accordion-item.QQ06tTjt.js} +8 -8
  35. package/dist/chunks/{accordion-item.yRlQj4VF.js.map → accordion-item.QQ06tTjt.js.map} +1 -1
  36. package/dist/chunks/{action-bar.BlhZoFfL.js → action-bar.g7rM3wUc.js} +15 -15
  37. package/dist/chunks/{action-bar.BlhZoFfL.js.map → action-bar.g7rM3wUc.js.map} +1 -1
  38. package/dist/chunks/{ai-button.PAbhTT01.js → ai-button.XfeGC4-Q.js} +6 -6
  39. package/dist/chunks/{ai-button.PAbhTT01.js.map → ai-button.XfeGC4-Q.js.map} +1 -1
  40. package/dist/chunks/{ai-tag.CqMBHSfn.js → ai-tag.UlRkq54l.js} +34 -26
  41. package/dist/chunks/{ai-tag.CqMBHSfn.js.map → ai-tag.UlRkq54l.js.map} +1 -1
  42. package/dist/chunks/{alert.BYcw-u3b.js → alert.CDWtu0Hu.js} +11 -11
  43. package/dist/chunks/{alert.BYcw-u3b.js.map → alert.CDWtu0Hu.js.map} +1 -1
  44. package/dist/chunks/anchor-scroller.CKIQu3NK.js +215 -0
  45. package/dist/chunks/anchor-scroller.CKIQu3NK.js.map +1 -0
  46. package/dist/chunks/{arrow-left.DoP6zFsY.js → arrow-left.C6UiqO-c.js} +5 -5
  47. package/dist/chunks/{arrow-left.DoP6zFsY.js.map → arrow-left.C6UiqO-c.js.map} +1 -1
  48. package/dist/chunks/{arrow-right.BVd1Dgd8.js → arrow-right.fSdLV_ho.js} +5 -5
  49. package/dist/chunks/{arrow-right.BVd1Dgd8.js.map → arrow-right.fSdLV_ho.js.map} +1 -1
  50. package/dist/chunks/{artificial-intelligence-ai-filled.G_Yr_37U.js → artificial-intelligence-ai-filled.AhDHffzT.js} +4 -4
  51. package/dist/chunks/{artificial-intelligence-ai-filled.G_Yr_37U.js.map → artificial-intelligence-ai-filled.AhDHffzT.js.map} +1 -1
  52. package/dist/chunks/{avatar.CNGMjwg3.js → avatar.Caeba-pw.js} +3 -3
  53. package/dist/chunks/{avatar.CNGMjwg3.js.map → avatar.Caeba-pw.js.map} +1 -1
  54. package/dist/chunks/{base-button.CUd03aA2.js → base-button.CRYAiuzn.js} +9 -9
  55. package/dist/chunks/{base-button.CUd03aA2.js.map → base-button.CRYAiuzn.js.map} +1 -1
  56. package/dist/chunks/{base-modal.CNETR72d.js → base-modal.D5HrjwL1.js} +23 -23
  57. package/dist/chunks/{base-modal.CNETR72d.js.map → base-modal.D5HrjwL1.js.map} +1 -1
  58. package/dist/chunks/{bin.DuHlEQBO.js → bin.Cude0fiB.js} +4 -4
  59. package/dist/chunks/{bin.DuHlEQBO.js.map → bin.Cude0fiB.js.map} +1 -1
  60. package/dist/chunks/{button-actions-with-menu.DY0pTtk-.js → button-actions-with-menu.DBqA3Ws5.js} +7 -7
  61. package/dist/chunks/{button-actions-with-menu.DY0pTtk-.js.map → button-actions-with-menu.DBqA3Ws5.js.map} +1 -1
  62. package/dist/chunks/{button-actions.Dk8xU2cz.js → button-actions.BH-J7dux.js} +17 -17
  63. package/dist/chunks/{button-actions.Dk8xU2cz.js.map → button-actions.BH-J7dux.js.map} +1 -1
  64. package/dist/chunks/{button.CSp48LJt.js → button.C6t9_lzm.js} +12 -12
  65. package/dist/chunks/{button.CSp48LJt.js.map → button.C6t9_lzm.js.map} +1 -1
  66. package/dist/chunks/{calendar.Dbc0yjyg.js → calendar.DzeJoNc2.js} +11 -11
  67. package/dist/chunks/{calendar.Dbc0yjyg.js.map → calendar.DzeJoNc2.js.map} +1 -1
  68. package/dist/chunks/{card.C7LbwK7Q.js → card.DcXXdxWL.js} +7 -7
  69. package/dist/chunks/{card.C7LbwK7Q.js.map → card.DcXXdxWL.js.map} +1 -1
  70. package/dist/chunks/{checkbox-group.CCpe-S-E.js → checkbox-group.Bh_aqKoA.js} +11 -11
  71. package/dist/chunks/{checkbox-group.CCpe-S-E.js.map → checkbox-group.Bh_aqKoA.js.map} +1 -1
  72. package/dist/chunks/{checkbox-input.Dk9iFQQe.js → checkbox-input.BZjSoCQW.js} +4 -4
  73. package/dist/chunks/{checkbox-input.Dk9iFQQe.js.map → checkbox-input.BZjSoCQW.js.map} +1 -1
  74. package/dist/chunks/{checkbox.A35e7MsN.js → checkbox.7kpOXm-b.js} +22 -22
  75. package/dist/chunks/{checkbox.A35e7MsN.js.map → checkbox.7kpOXm-b.js.map} +1 -1
  76. package/dist/chunks/{checkmark-circle-fill._6-d40ru.js → checkmark-circle-fill.DugX5fbG.js} +4 -4
  77. package/dist/chunks/{checkmark-circle-fill._6-d40ru.js.map → checkmark-circle-fill.DugX5fbG.js.map} +1 -1
  78. package/dist/chunks/{checkmark-small.x-gmK2Dt.js → checkmark-small.CRuZauJc.js} +5 -5
  79. package/dist/chunks/{checkmark-small.x-gmK2Dt.js.map → checkmark-small.CRuZauJc.js.map} +1 -1
  80. package/dist/chunks/{chevron-down.DCQ6ZLaq.js → chevron-down.XeE-LBV_.js} +5 -5
  81. package/dist/chunks/{chevron-down.DCQ6ZLaq.js.map → chevron-down.XeE-LBV_.js.map} +1 -1
  82. package/dist/chunks/{chevron-left.Cfn1uGLH.js → chevron-left.C_vPW7OR.js} +8 -8
  83. package/dist/chunks/{chevron-left.Cfn1uGLH.js.map → chevron-left.C_vPW7OR.js.map} +1 -1
  84. package/dist/chunks/{chevron-up.kfuLRpZb.js → chevron-up.Cmgl2a3x.js} +5 -5
  85. package/dist/chunks/{chevron-up.kfuLRpZb.js.map → chevron-up.Cmgl2a3x.js.map} +1 -1
  86. package/dist/chunks/{chip.eefnwpgE.js → chip.CyW1V8RU.js} +7 -7
  87. package/dist/chunks/{chip.eefnwpgE.js.map → chip.CyW1V8RU.js.map} +1 -1
  88. package/dist/chunks/{click-outside.C1Ud8AA2.js → click-outside.CDz_x8mN.js} +2 -2
  89. package/dist/chunks/{click-outside.C1Ud8AA2.js.map → click-outside.CDz_x8mN.js.map} +1 -1
  90. package/dist/chunks/{code-snippet.DKkTjYdC.js → code-snippet.UIqVTv4U.js} +15 -15
  91. package/dist/chunks/{code-snippet.DKkTjYdC.js.map → code-snippet.UIqVTv4U.js.map} +1 -1
  92. package/dist/chunks/{codemirror.Cy7iSLbd.js → codemirror.D2BAltnu.js} +3688 -3673
  93. package/dist/chunks/codemirror.D2BAltnu.js.map +1 -0
  94. package/dist/chunks/{controls-group.BHOKajou.js → controls-group.Dip3WAKV.js} +10 -10
  95. package/dist/chunks/{controls-group.BHOKajou.js.map → controls-group.Dip3WAKV.js.map} +1 -1
  96. package/dist/chunks/{copy.CgITv6wr.js → copy.ByyQlckP.js} +6 -6
  97. package/dist/chunks/{copy.CgITv6wr.js.map → copy.ByyQlckP.js.map} +1 -1
  98. package/dist/chunks/{country.vSfTQW51.js → country.DJts6kCv.js} +5 -5
  99. package/dist/chunks/{country.vSfTQW51.js.map → country.DJts6kCv.js.map} +1 -1
  100. package/dist/chunks/{country.types.DaVCMxk-.js → country.types.BBQbWkTY.js} +3 -3
  101. package/dist/chunks/{country.types.DaVCMxk-.js.map → country.types.BBQbWkTY.js.map} +1 -1
  102. package/dist/chunks/{cross-circle-fill-small.Dv5-PxwF.js → cross-circle-fill-small.H1wH-vcZ.js} +5 -5
  103. package/dist/chunks/{cross-circle-fill-small.Dv5-PxwF.js.map → cross-circle-fill-small.H1wH-vcZ.js.map} +1 -1
  104. package/dist/chunks/{cross-circle-fill.CYLL7jfC.js → cross-circle-fill.BWCKKn0E.js} +4 -4
  105. package/dist/chunks/{cross-circle-fill.CYLL7jfC.js.map → cross-circle-fill.BWCKKn0E.js.map} +1 -1
  106. package/dist/chunks/{cross-small.n1UO5wNB.js → cross-small.Bjq2Gqvh.js} +5 -5
  107. package/dist/chunks/{cross-small.n1UO5wNB.js.map → cross-small.Bjq2Gqvh.js.map} +1 -1
  108. package/dist/chunks/{cross.B92GxFTY.js → cross.CCHdi6v3.js} +5 -5
  109. package/dist/chunks/{cross.B92GxFTY.js.map → cross.CCHdi6v3.js.map} +1 -1
  110. package/dist/chunks/{currency.DijmAkAB.js → currency.Afx8MVdY.js} +4 -4
  111. package/dist/chunks/{currency.DijmAkAB.js.map → currency.Afx8MVdY.js.map} +1 -1
  112. package/dist/chunks/{dashboard-section.CrXdP_MQ.js → dashboard-section.CIHtXoeW.js} +8 -8
  113. package/dist/chunks/{dashboard-section.CrXdP_MQ.js.map → dashboard-section.CIHtXoeW.js.map} +1 -1
  114. package/dist/chunks/{dashed-underline.BzppJBtk.js → dashed-underline.CLwPU-C2.js} +14 -14
  115. package/dist/chunks/{dashed-underline.BzppJBtk.js.map → dashed-underline.CLwPU-C2.js.map} +1 -1
  116. package/dist/chunks/{data-grid-template.DFjdgxwb.js → data-grid-template.BTpSfkQt.js} +8 -8
  117. package/dist/chunks/{data-grid-template.DFjdgxwb.js.map → data-grid-template.BTpSfkQt.js.map} +1 -1
  118. package/dist/chunks/{data-grid.KkCt0Bgm.js → data-grid.kEhur6r-.js} +457 -453
  119. package/dist/chunks/data-grid.kEhur6r-.js.map +1 -0
  120. package/dist/chunks/date-input.XSJuuCHe.js +20 -0
  121. package/dist/chunks/date-input.XSJuuCHe.js.map +1 -0
  122. package/dist/chunks/{date-picker.dQuj_OF_.js → date-picker.CvTSZhMI.js} +82 -81
  123. package/dist/chunks/date-picker.CvTSZhMI.js.map +1 -0
  124. package/dist/chunks/date-picker.types.Ckt7zxGy.js.map +1 -1
  125. package/dist/chunks/date-range-picker.D0YqnZ86.js +1080 -0
  126. package/dist/chunks/{date-range-picker.BAKR_gDf.js.map → date-range-picker.D0YqnZ86.js.map} +1 -1
  127. package/dist/chunks/date-range-picker.types.Ckt7zxGy.js.map +1 -1
  128. package/dist/chunks/{date.CL55prL0.js → date.BtB1HyWQ.js} +4 -4
  129. package/dist/chunks/{date.CL55prL0.js.map → date.BtB1HyWQ.js.map} +1 -1
  130. package/dist/chunks/dialog-page.B3ptLXXP.js +162 -0
  131. package/dist/chunks/dialog-page.B3ptLXXP.js.map +1 -0
  132. package/dist/chunks/{directive.Cbdox5VL.js → directive.rXUeDb8p.js} +2 -2
  133. package/dist/chunks/{directive.Cbdox5VL.js.map → directive.rXUeDb8p.js.map} +1 -1
  134. package/dist/chunks/{divider.Dho4_hQ7.js → divider.BIY84UH7.js} +5 -5
  135. package/dist/chunks/{divider.Dho4_hQ7.js.map → divider.BIY84UH7.js.map} +1 -1
  136. package/dist/chunks/{dot.ob6N-5Um.js → dot.DBmwmOUN.js} +5 -5
  137. package/dist/chunks/{dot.ob6N-5Um.js.map → dot.DBmwmOUN.js.map} +1 -1
  138. package/dist/chunks/{dropdown-default-textbox.DFtFMu5G.js → dropdown-default-textbox.B-_dTUVX.js} +107 -117
  139. package/dist/chunks/dropdown-default-textbox.B-_dTUVX.js.map +1 -0
  140. package/dist/chunks/{dropdown-tag.CBgns9Y3.js → dropdown-tag.DDNOZhEG.js} +20 -20
  141. package/dist/chunks/{dropdown-tag.CBgns9Y3.js.map → dropdown-tag.DDNOZhEG.js.map} +1 -1
  142. package/dist/chunks/dropdown.CU6nfq3V.js +836 -0
  143. package/dist/chunks/dropdown.CU6nfq3V.js.map +1 -0
  144. package/dist/chunks/{empty-state.D_ifpeU-.js → empty-state.DqdPzU-g.js} +15 -15
  145. package/dist/chunks/{empty-state.D_ifpeU-.js.map → empty-state.DqdPzU-g.js.map} +1 -1
  146. package/dist/chunks/{field-label.OurHuGZS.js → error-message.BYA2_fPV.js} +67 -67
  147. package/dist/chunks/error-message.BYA2_fPV.js.map +1 -0
  148. package/dist/chunks/{expand.C9IAqYYL.js → expand.BrywY9jl.js} +4 -4
  149. package/dist/chunks/{expand.C9IAqYYL.js.map → expand.BrywY9jl.js.map} +1 -1
  150. package/dist/chunks/{file-uploader.CQgu9YIY.js → file-uploader.Q2ufNRTY.js} +79 -79
  151. package/dist/chunks/{file-uploader.CQgu9YIY.js.map → file-uploader.Q2ufNRTY.js.map} +1 -1
  152. package/dist/chunks/{filter-bar.BJmaoSr2.js → filter-bar.CkYOjRAa.js} +213 -205
  153. package/dist/chunks/{filter-bar.BJmaoSr2.js.map → filter-bar.CkYOjRAa.js.map} +1 -1
  154. package/dist/chunks/fixed-scroller.i1tmEmst.js +161 -0
  155. package/dist/chunks/{fixed-scroller.e56yJp7Q.js.map → fixed-scroller.i1tmEmst.js.map} +1 -1
  156. package/dist/chunks/{focus-trap.DH57j-Ov.js → focus-trap.CBvh2H_m.js} +294 -277
  157. package/dist/chunks/focus-trap.CBvh2H_m.js.map +1 -0
  158. package/dist/chunks/{footer-actions.BMggOsip.js → footer-actions.DLzMOB7j.js} +8 -8
  159. package/dist/chunks/{footer-actions.BMggOsip.js.map → footer-actions.DLzMOB7j.js.map} +1 -1
  160. package/dist/chunks/{form-layout-title.wnvpIbOe.js → form-layout-title.DYmTc6M7.js} +6 -6
  161. package/dist/chunks/{form-layout-title.wnvpIbOe.js.map → form-layout-title.DYmTc6M7.js.map} +1 -1
  162. package/dist/chunks/{grab.B63hmf-_.js → grab.DJYL4kBq.js} +5 -5
  163. package/dist/chunks/{grab.B63hmf-_.js.map → grab.DJYL4kBq.js.map} +1 -1
  164. package/dist/chunks/{grid-layout.DDaRNz4-.js → grid-layout.Vhv1_zFs.js} +21 -21
  165. package/dist/chunks/{grid-layout.DDaRNz4-.js.map → grid-layout.Vhv1_zFs.js.map} +1 -1
  166. package/dist/chunks/{header-meta.CkLmuprc.js → header-meta.Bw8ZGwJW.js} +13 -13
  167. package/dist/chunks/{header-meta.CkLmuprc.js.map → header-meta.Bw8ZGwJW.js.map} +1 -1
  168. package/dist/chunks/{header-with-views.BXZmqtnz.js → header-with-views.CJDoE4hw.js} +20 -20
  169. package/dist/chunks/{header-with-views.BXZmqtnz.js.map → header-with-views.CJDoE4hw.js.map} +1 -1
  170. package/dist/chunks/{header.RiaBKasj.js → header.BeH8KH_l.js} +14 -14
  171. package/dist/chunks/{header.RiaBKasj.js.map → header.BeH8KH_l.js.map} +1 -1
  172. package/dist/chunks/{image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js → image.vue_vue_type_script_setup_true_lang.BMoSMeM-.js} +3 -3
  173. package/dist/chunks/{image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js.map → image.vue_vue_type_script_setup_true_lang.BMoSMeM-.js.map} +1 -1
  174. package/dist/chunks/{index.pdBj0KQU.js → index.B875RXHM.js} +3 -3
  175. package/dist/chunks/{index.pdBj0KQU.js.map → index.B875RXHM.js.map} +1 -1
  176. package/dist/chunks/index.CbxHJr39.js +691 -0
  177. package/dist/chunks/{index.CL07S4Wa.js.map → index.CbxHJr39.js.map} +1 -1
  178. package/dist/chunks/{info-icon.B6wfo65e.js → info-icon.BLtyJvY4.js} +9 -9
  179. package/dist/chunks/{info-icon.B6wfo65e.js.map → info-icon.BLtyJvY4.js.map} +1 -1
  180. package/dist/chunks/{info.BKwey1HA.js → info.6Z6NxUst.js} +4 -4
  181. package/dist/chunks/{info.BKwey1HA.js.map → info.6Z6NxUst.js.map} +1 -1
  182. package/dist/chunks/{input-field-password.ClyJRN6h.js → input-field-password.KeKQPIZv.js} +21 -21
  183. package/dist/chunks/{input-field-password.ClyJRN6h.js.map → input-field-password.KeKQPIZv.js.map} +1 -1
  184. package/dist/chunks/{input-field-phone-number.CUdzwXz0.js → input-field-phone-number.eaU9p15A.js} +10 -10
  185. package/dist/chunks/{input-field-phone-number.CUdzwXz0.js.map → input-field-phone-number.eaU9p15A.js.map} +1 -1
  186. package/dist/chunks/{input-field.CFNofr-W.js → input-field.CNdqlGw6.js} +9 -9
  187. package/dist/chunks/{input-field.CFNofr-W.js.map → input-field.CNdqlGw6.js.map} +1 -1
  188. package/dist/chunks/{inspector.I4-8J_fd.js → inspector.Bnf0g7QE.js} +16 -16
  189. package/dist/chunks/{inspector.I4-8J_fd.js.map → inspector.Bnf0g7QE.js.map} +1 -1
  190. package/dist/chunks/{isSameWeek.5sjhTHiU.js → isSameWeek.DjeUtLwI.js} +2 -2
  191. package/dist/chunks/{isSameWeek.5sjhTHiU.js.map → isSameWeek.DjeUtLwI.js.map} +1 -1
  192. package/dist/chunks/{it.DEniTaO2.js → it.DIafuXtH.js} +2 -2
  193. package/dist/chunks/{it.DEniTaO2.js.map → it.DIafuXtH.js.map} +1 -1
  194. package/dist/chunks/{layout-row.Ccw24NzW.js → layout-row.Bz-mRqAq.js} +4 -4
  195. package/dist/chunks/{layout-row.Ccw24NzW.js.map → layout-row.Bz-mRqAq.js.map} +1 -1
  196. package/dist/chunks/{link.BLCQlEZU.js → link.DTCn2EtX.js} +11 -11
  197. package/dist/chunks/{link.BLCQlEZU.js.map → link.DTCn2EtX.js.map} +1 -1
  198. package/dist/chunks/{listbox-option-tag.BHQiD5oC.js → listbox-option-tag.C3ihNg6_.js} +9 -9
  199. package/dist/chunks/{listbox-option-tag.BHQiD5oC.js.map → listbox-option-tag.C3ihNg6_.js.map} +1 -1
  200. package/dist/chunks/{loading-indicator.Db794TT5.js → loading-indicator.BPol9I84.js} +3 -3
  201. package/dist/chunks/{loading-indicator.Db794TT5.js.map → loading-indicator.BPol9I84.js.map} +1 -1
  202. package/dist/chunks/{minus-small.DYIyF5XW.js → minus-small.CnYLTuSv.js} +5 -5
  203. package/dist/chunks/{minus-small.DYIyF5XW.js.map → minus-small.CnYLTuSv.js.map} +1 -1
  204. package/dist/chunks/{modal-fullscreen.f445bZ94.js → modal-fullscreen.B3AGUJgl.js} +100 -96
  205. package/dist/chunks/modal-fullscreen.B3AGUJgl.js.map +1 -0
  206. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.KSBXRR2X.js → modal.vue_vue_type_script_setup_true_lang.BAwez0nB.js} +13 -13
  207. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.KSBXRR2X.js.map → modal.vue_vue_type_script_setup_true_lang.BAwez0nB.js.map} +1 -1
  208. package/dist/chunks/on-click-outside.BW4rkhzG.js +91 -0
  209. package/dist/chunks/on-click-outside.BW4rkhzG.js.map +1 -0
  210. package/dist/chunks/{pagination.DuRU9Xg_.js → pagination.lu9nx8j8.js} +10 -10
  211. package/dist/chunks/{pagination.DuRU9Xg_.js.map → pagination.lu9nx8j8.js.map} +1 -1
  212. package/dist/chunks/{payment-method.BGEBaa4w.js → payment-method.AeKHZlAO.js} +3 -3
  213. package/dist/chunks/{payment-method.BGEBaa4w.js.map → payment-method.AeKHZlAO.js.map} +1 -1
  214. package/dist/chunks/popover.types.C_Z2JeVK.js +6 -0
  215. package/dist/chunks/{popover.types.BbYumG-N.js.map → popover.types.C_Z2JeVK.js.map} +1 -1
  216. package/dist/chunks/popper-container.BefZxTzP.js +1432 -0
  217. package/dist/chunks/popper-container.BefZxTzP.js.map +1 -0
  218. package/dist/chunks/{promo-banner.DzIYjBfG.js → promo-banner.BLie64oS.js} +11 -11
  219. package/dist/chunks/{promo-banner.DzIYjBfG.js.map → promo-banner.BLie64oS.js.map} +1 -1
  220. package/dist/chunks/{radio-group.EqsvAKt2.js → radio-group.C6nQRQDB.js} +20 -20
  221. package/dist/chunks/{radio-group.EqsvAKt2.js.map → radio-group.C6nQRQDB.js.map} +1 -1
  222. package/dist/chunks/{radio-input.CBNE-AkM.js → radio-input.DektLjN4.js} +3 -3
  223. package/dist/chunks/{radio-input.CBNE-AkM.js.map → radio-input.DektLjN4.js.map} +1 -1
  224. package/dist/chunks/{refresh.BB4ouvz_.js → refresh.C31KClfx.js} +5 -5
  225. package/dist/chunks/{refresh.BB4ouvz_.js.map → refresh.C31KClfx.js.map} +1 -1
  226. package/dist/chunks/{rich-text-editor.-JS_rIjs.js → rich-text-editor.C39NKgl0.js} +11 -15
  227. package/dist/chunks/rich-text-editor.C39NKgl0.js.map +1 -0
  228. package/dist/chunks/{search-bar.DPc0omnd.js → search-bar.CbTrg2Sk.js} +10 -10
  229. package/dist/chunks/{search-bar.DPc0omnd.js.map → search-bar.CbTrg2Sk.js.map} +1 -1
  230. package/dist/chunks/{search.PczW-onY.js → search.ClLmZAgC.js} +4 -4
  231. package/dist/chunks/{search.PczW-onY.js.map → search.ClLmZAgC.js.map} +1 -1
  232. package/dist/chunks/{secondary-nav.BGKR8l0u.js → secondary-nav.DTOZQewf.js} +25 -25
  233. package/dist/chunks/secondary-nav.DTOZQewf.js.map +1 -0
  234. package/dist/chunks/{segmented-control.CFPAl4HD.js → segmented-control.D9rHBysM.js} +9 -9
  235. package/dist/chunks/{segmented-control.CFPAl4HD.js.map → segmented-control.D9rHBysM.js.map} +1 -1
  236. package/dist/chunks/{selection-card-group.BL0LTYhI.js → selection-card-group.KEsG0D5V.js} +9 -9
  237. package/dist/chunks/{selection-card-group.BL0LTYhI.js.map → selection-card-group.KEsG0D5V.js.map} +1 -1
  238. package/dist/chunks/{show.CT4Augxb.js → show.BreRPkgL.js} +6 -6
  239. package/dist/chunks/{show.CT4Augxb.js.map → show.BreRPkgL.js.map} +1 -1
  240. package/dist/chunks/{sidepanel.sWMdYcUC.js → sidepanel.DJCagqzl.js} +73 -69
  241. package/dist/chunks/sidepanel.DJCagqzl.js.map +1 -0
  242. package/dist/chunks/{startOfWeek.CM1KIrNi.js → startOfWeek.D8Yh4c0G.js} +3 -3
  243. package/dist/chunks/{startOfWeek.CM1KIrNi.js.map → startOfWeek.D8Yh4c0G.js.map} +1 -1
  244. package/dist/chunks/{status.types.ChOI6XGU.js → status.types.D3v3k-Q8.js} +6 -6
  245. package/dist/chunks/{status.types.ChOI6XGU.js.map → status.types.D3v3k-Q8.js.map} +1 -1
  246. package/dist/chunks/{step.DpgnDx29.js → step.BV7MsrRF.js} +9 -9
  247. package/dist/chunks/{step.DpgnDx29.js.map → step.BV7MsrRF.js.map} +1 -1
  248. package/dist/chunks/{structured-list-item.Uky_MJPp.js → structured-list-item.f1tmHSEN.js} +9 -9
  249. package/dist/chunks/{structured-list-item.Uky_MJPp.js.map → structured-list-item.f1tmHSEN.js.map} +1 -1
  250. package/dist/chunks/{summary-grid.types.R-TEtkgx.js → summary-grid.types.COcV-sOB.js} +13 -13
  251. package/dist/chunks/{summary-grid.types.R-TEtkgx.js.map → summary-grid.types.COcV-sOB.js.map} +1 -1
  252. package/dist/chunks/{tab.JPngc9oS.js → tab.DRrnMCxe.js} +6 -6
  253. package/dist/chunks/{tab.JPngc9oS.js.map → tab.DRrnMCxe.js.map} +1 -1
  254. package/dist/chunks/{tag.CNN_D55j.js → tag.Dr7MKe9q.js} +9 -9
  255. package/dist/chunks/{tag.CNN_D55j.js.map → tag.Dr7MKe9q.js.map} +1 -1
  256. package/dist/chunks/{textarea.BGcYYD8C.js → textarea.CtgbUCjH.js} +7 -7
  257. package/dist/chunks/{textarea.BGcYYD8C.js.map → textarea.CtgbUCjH.js.map} +1 -1
  258. package/dist/chunks/{timeline-item.Cbd_rb9J.js → timeline-item.D9nmCe6u.js} +41 -41
  259. package/dist/chunks/{timeline-item.Cbd_rb9J.js.map → timeline-item.D9nmCe6u.js.map} +1 -1
  260. package/dist/chunks/{toast.DiIIrX7h.js → toast.Bbtq3Icj.js} +22 -22
  261. package/dist/chunks/{toast.DiIIrX7h.js.map → toast.Bbtq3Icj.js.map} +1 -1
  262. package/dist/chunks/{toggle.vl0ZwLhN.js → toggle.BupEBkIG.js} +6 -6
  263. package/dist/chunks/{toggle.vl0ZwLhN.js.map → toggle.BupEBkIG.js.map} +1 -1
  264. package/dist/chunks/{tooltip.CqV3Okcs.js → tooltip.DYpJZ-99.js} +60 -60
  265. package/dist/chunks/tooltip.DYpJZ-99.js.map +1 -0
  266. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.DkTE0rmi.js → tutorial.vue_vue_type_script_setup_true_lang.B5hWgNSd.js} +9 -9
  267. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.DkTE0rmi.js.map → tutorial.vue_vue_type_script_setup_true_lang.B5hWgNSd.js.map} +1 -1
  268. package/dist/chunks/{typography.6Oo5TOMP.js → typography.B3J6_tYk.js} +5 -5
  269. package/dist/chunks/{typography.6Oo5TOMP.js.map → typography.B3J6_tYk.js.map} +1 -1
  270. package/dist/chunks/{use-bento-toast-controller.V61h7XzI.js → use-bento-toast-controller.BFctDoMg.js} +2 -2
  271. package/dist/chunks/{use-bento-toast-controller.V61h7XzI.js.map → use-bento-toast-controller.BFctDoMg.js.map} +1 -1
  272. package/dist/chunks/{use-cached-selected-values.iGHt7ROs.js → use-cached-selected-values.BiSuG1eX.js} +20 -20
  273. package/dist/chunks/use-cached-selected-values.BiSuG1eX.js.map +1 -0
  274. package/dist/chunks/{use-country-items.JZCYNoW7.js → use-country-items.BTzByPdQ.js} +9 -9
  275. package/dist/chunks/{use-country-items.JZCYNoW7.js.map → use-country-items.BTzByPdQ.js.map} +1 -1
  276. package/dist/chunks/utils.BzUwtTXc.js +21 -0
  277. package/dist/chunks/utils.BzUwtTXc.js.map +1 -0
  278. package/dist/chunks/{warning-filled.BMGD0G-_.js → warning-filled.BzyK_mMj.js} +5 -5
  279. package/dist/chunks/{warning-filled.BMGD0G-_.js.map → warning-filled.BzyK_mMj.js.map} +1 -1
  280. package/dist/chunks/{zh-CN.CgIooHto.js → zh-CN.Bw_6j9Cd.js} +2 -2
  281. package/dist/chunks/{zh-CN.CgIooHto.js.map → zh-CN.Bw_6j9Cd.js.map} +1 -1
  282. package/dist/click-outside.js +1 -1
  283. package/dist/code-snippet.js +1 -1
  284. package/dist/country.js +2 -2
  285. package/dist/currency.js +1 -1
  286. package/dist/dashboard-template.js +1 -1
  287. package/dist/dashed-underline.js +1 -1
  288. package/dist/data-grid-template.js +1 -1
  289. package/dist/data-grid.js +1 -1
  290. package/dist/date-picker.js +2 -2
  291. package/dist/date-range-picker.js +2 -2
  292. package/dist/date.js +1 -1
  293. package/dist/divider.js +1 -1
  294. package/dist/draggable-handle.js +73 -57
  295. package/dist/draggable-handle.js.map +1 -1
  296. package/dist/dropdown.js +4 -4
  297. package/dist/empty-state.js +1 -1
  298. package/dist/file-uploader.js +1 -1
  299. package/dist/filter-bar.js +1 -1
  300. package/dist/focus-trap.js +1 -1
  301. package/dist/form-layout.js +1 -1
  302. package/dist/header-with-views.js +1 -1
  303. package/dist/header.js +1 -1
  304. package/dist/image.js +1 -1
  305. package/dist/index.js +278 -276
  306. package/dist/index.js.map +1 -1
  307. package/dist/info-icon.js +1 -1
  308. package/dist/input-field-password.js +1 -1
  309. package/dist/input-field-phone-number.js +1 -1
  310. package/dist/input-field.js +1 -1
  311. package/dist/inspector.js +1 -1
  312. package/dist/internal.js +42 -42
  313. package/dist/layout.js +1 -1
  314. package/dist/link.js +1 -1
  315. package/dist/loading-indicator.js +1 -1
  316. package/dist/menu.js +1 -1
  317. package/dist/modal-fullscreen.js +1 -1
  318. package/dist/modal.js +2 -2
  319. package/dist/pagination.js +1 -1
  320. package/dist/payment-method.js +1 -1
  321. package/dist/popover.js +2 -2
  322. package/dist/popper-container.js +1 -1
  323. package/dist/promo-banner.js +1 -1
  324. package/dist/radio-group.js +2 -2
  325. package/dist/rich-text-editor.js +1 -1
  326. package/dist/search-bar.js +2 -2
  327. package/dist/secondary-nav.js +1 -1
  328. package/dist/segmented-control.js +1 -1
  329. package/dist/selection-card.js +1 -1
  330. package/dist/sidepanel.js +1 -1
  331. package/dist/status.js +1 -1
  332. package/dist/stepper.js +1 -1
  333. package/dist/structured-list.js +1 -1
  334. package/dist/summary-grid.js +1 -1
  335. package/dist/tabs.js +1 -1
  336. package/dist/tag.js +1 -1
  337. package/dist/textarea.js +1 -1
  338. package/dist/timeline.js +1 -1
  339. package/dist/toast.js +1 -1
  340. package/dist/toggle.js +1 -1
  341. package/dist/tutorial.js +1 -1
  342. package/dist/typography.js +1 -1
  343. package/dist/use-form-v4.js +756 -7787
  344. package/dist/use-form-v4.js.map +1 -1
  345. package/dist/web-types.json +1 -1
  346. package/package.json +7 -7
  347. package/dist/assets/field-label.css +0 -1
  348. package/dist/chunks/codemirror.Cy7iSLbd.js.map +0 -1
  349. package/dist/chunks/data-grid.KkCt0Bgm.js.map +0 -1
  350. package/dist/chunks/date-input.BbZqj10S.js +0 -15
  351. package/dist/chunks/date-input.BbZqj10S.js.map +0 -1
  352. package/dist/chunks/date-picker.dQuj_OF_.js.map +0 -1
  353. package/dist/chunks/date-range-picker.BAKR_gDf.js +0 -1100
  354. package/dist/chunks/dialog-page.CF10AQQ3.js +0 -158
  355. package/dist/chunks/dialog-page.CF10AQQ3.js.map +0 -1
  356. package/dist/chunks/dropdown-default-textbox.DFtFMu5G.js.map +0 -1
  357. package/dist/chunks/dropdown.DmzMGz30.js +0 -837
  358. package/dist/chunks/dropdown.DmzMGz30.js.map +0 -1
  359. package/dist/chunks/field-label.OurHuGZS.js.map +0 -1
  360. package/dist/chunks/fixed-scroller.e56yJp7Q.js +0 -155
  361. package/dist/chunks/focus-trap.DH57j-Ov.js.map +0 -1
  362. package/dist/chunks/index.CL07S4Wa.js +0 -592
  363. package/dist/chunks/modal-fullscreen.f445bZ94.js.map +0 -1
  364. package/dist/chunks/on-click-outside.D9aY9g8G.js +0 -101
  365. package/dist/chunks/on-click-outside.D9aY9g8G.js.map +0 -1
  366. package/dist/chunks/popover.types.BbYumG-N.js +0 -6
  367. package/dist/chunks/popper-container.DdG_YvVF.js +0 -1413
  368. package/dist/chunks/popper-container.DdG_YvVF.js.map +0 -1
  369. package/dist/chunks/rich-text-editor.-JS_rIjs.js.map +0 -1
  370. package/dist/chunks/secondary-nav.BGKR8l0u.js.map +0 -1
  371. package/dist/chunks/sidepanel.sWMdYcUC.js.map +0 -1
  372. package/dist/chunks/tooltip.CqV3Okcs.js.map +0 -1
  373. package/dist/chunks/use-cached-selected-values.iGHt7ROs.js.map +0 -1
@@ -0,0 +1,1432 @@
1
+ import { computed as S, unref as V, ref as z, shallowRef as oe, watch as ot, getCurrentScope as ie, onScopeDispose as re, shallowReadonly as Z, defineComponent as le, toRefs as se, openBlock as Rt, createBlock as ce, mergeProps as St, withCtx as ae, renderSlot as fe, createElementBlock as ue, createCommentVNode as de } from "vue";
2
+ import { B as me } from "./focus-trap.CBvh2H_m.js";
3
+ import { _ as pe } from "./_plugin-vue_export-helper.CHgC5LLL.js";
4
+ import "../assets/popper-container.css";
5
+ const Vt = ["top", "right", "bottom", "left"], Et = ["start", "end"], Lt = /* @__PURE__ */ Vt.reduce((t, e) => t.concat(e, e + "-" + Et[0], e + "-" + Et[1]), []), et = Math.min, G = Math.max, st = Math.round, lt = Math.floor, _ = (t) => ({
6
+ x: t,
7
+ y: t
8
+ }), ge = {
9
+ left: "right",
10
+ right: "left",
11
+ bottom: "top",
12
+ top: "bottom"
13
+ }, he = {
14
+ start: "end",
15
+ end: "start"
16
+ };
17
+ function ht(t, e, n) {
18
+ return G(t, et(e, n));
19
+ }
20
+ function J(t, e) {
21
+ return typeof t == "function" ? t(e) : t;
22
+ }
23
+ function I(t) {
24
+ return t.split("-")[0];
25
+ }
26
+ function B(t) {
27
+ return t.split("-")[1];
28
+ }
29
+ function It(t) {
30
+ return t === "x" ? "y" : "x";
31
+ }
32
+ function yt(t) {
33
+ return t === "y" ? "height" : "width";
34
+ }
35
+ const we = /* @__PURE__ */ new Set(["top", "bottom"]);
36
+ function U(t) {
37
+ return we.has(I(t)) ? "y" : "x";
38
+ }
39
+ function xt(t) {
40
+ return It(U(t));
41
+ }
42
+ function jt(t, e, n) {
43
+ n === void 0 && (n = !1);
44
+ const o = B(t), i = xt(t), l = yt(i);
45
+ let r = i === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
46
+ return e.reference[l] > e.floating[l] && (r = at(r)), [r, at(r)];
47
+ }
48
+ function ve(t) {
49
+ const e = at(t);
50
+ return [ct(t), e, ct(e)];
51
+ }
52
+ function ct(t) {
53
+ return t.replace(/start|end/g, (e) => he[e]);
54
+ }
55
+ const Ct = ["left", "right"], Dt = ["right", "left"], ye = ["top", "bottom"], xe = ["bottom", "top"];
56
+ function be(t, e, n) {
57
+ switch (t) {
58
+ case "top":
59
+ case "bottom":
60
+ return n ? e ? Dt : Ct : e ? Ct : Dt;
61
+ case "left":
62
+ case "right":
63
+ return e ? ye : xe;
64
+ default:
65
+ return [];
66
+ }
67
+ }
68
+ function Oe(t, e, n, o) {
69
+ const i = B(t);
70
+ let l = be(I(t), n === "start", o);
71
+ return i && (l = l.map((r) => r + "-" + i), e && (l = l.concat(l.map(ct)))), l;
72
+ }
73
+ function at(t) {
74
+ return t.replace(/left|right|bottom|top/g, (e) => ge[e]);
75
+ }
76
+ function Ae(t) {
77
+ return {
78
+ top: 0,
79
+ right: 0,
80
+ bottom: 0,
81
+ left: 0,
82
+ ...t
83
+ };
84
+ }
85
+ function zt(t) {
86
+ return typeof t != "number" ? Ae(t) : {
87
+ top: t,
88
+ right: t,
89
+ bottom: t,
90
+ left: t
91
+ };
92
+ }
93
+ function ft(t) {
94
+ const {
95
+ x: e,
96
+ y: n,
97
+ width: o,
98
+ height: i
99
+ } = t;
100
+ return {
101
+ width: o,
102
+ height: i,
103
+ top: n,
104
+ left: e,
105
+ right: e + o,
106
+ bottom: n + i,
107
+ x: e,
108
+ y: n
109
+ };
110
+ }
111
+ function Pt(t, e, n) {
112
+ let {
113
+ reference: o,
114
+ floating: i
115
+ } = t;
116
+ const l = U(e), r = xt(e), s = yt(r), c = I(e), a = l === "y", u = o.x + o.width / 2 - i.width / 2, d = o.y + o.height / 2 - i.height / 2, p = o[s] / 2 - i[s] / 2;
117
+ let f;
118
+ switch (c) {
119
+ case "top":
120
+ f = {
121
+ x: u,
122
+ y: o.y - i.height
123
+ };
124
+ break;
125
+ case "bottom":
126
+ f = {
127
+ x: u,
128
+ y: o.y + o.height
129
+ };
130
+ break;
131
+ case "right":
132
+ f = {
133
+ x: o.x + o.width,
134
+ y: d
135
+ };
136
+ break;
137
+ case "left":
138
+ f = {
139
+ x: o.x - i.width,
140
+ y: d
141
+ };
142
+ break;
143
+ default:
144
+ f = {
145
+ x: o.x,
146
+ y: o.y
147
+ };
148
+ }
149
+ switch (B(e)) {
150
+ case "start":
151
+ f[r] -= p * (n && a ? -1 : 1);
152
+ break;
153
+ case "end":
154
+ f[r] += p * (n && a ? -1 : 1);
155
+ break;
156
+ }
157
+ return f;
158
+ }
159
+ async function Te(t, e) {
160
+ var n;
161
+ e === void 0 && (e = {});
162
+ const {
163
+ x: o,
164
+ y: i,
165
+ platform: l,
166
+ rects: r,
167
+ elements: s,
168
+ strategy: c
169
+ } = t, {
170
+ boundary: a = "clippingAncestors",
171
+ rootBoundary: u = "viewport",
172
+ elementContext: d = "floating",
173
+ altBoundary: p = !1,
174
+ padding: f = 0
175
+ } = J(e, t), m = zt(f), w = s[p ? d === "floating" ? "reference" : "floating" : d], h = ft(await l.getClippingRect({
176
+ element: (n = await (l.isElement == null ? void 0 : l.isElement(w))) == null || n ? w : w.contextElement || await (l.getDocumentElement == null ? void 0 : l.getDocumentElement(s.floating)),
177
+ boundary: a,
178
+ rootBoundary: u,
179
+ strategy: c
180
+ })), v = d === "floating" ? {
181
+ x: o,
182
+ y: i,
183
+ width: r.floating.width,
184
+ height: r.floating.height
185
+ } : r.reference, x = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(s.floating)), b = await (l.isElement == null ? void 0 : l.isElement(x)) ? await (l.getScale == null ? void 0 : l.getScale(x)) || {
186
+ x: 1,
187
+ y: 1
188
+ } : {
189
+ x: 1,
190
+ y: 1
191
+ }, O = ft(l.convertOffsetParentRelativeRectToViewportRelativeRect ? await l.convertOffsetParentRelativeRectToViewportRelativeRect({
192
+ elements: s,
193
+ rect: v,
194
+ offsetParent: x,
195
+ strategy: c
196
+ }) : v);
197
+ return {
198
+ top: (h.top - O.top + m.top) / b.y,
199
+ bottom: (O.bottom - h.bottom + m.bottom) / b.y,
200
+ left: (h.left - O.left + m.left) / b.x,
201
+ right: (O.right - h.right + m.right) / b.x
202
+ };
203
+ }
204
+ const Re = async (t, e, n) => {
205
+ const {
206
+ placement: o = "bottom",
207
+ strategy: i = "absolute",
208
+ middleware: l = [],
209
+ platform: r
210
+ } = n, s = l.filter(Boolean), c = await (r.isRTL == null ? void 0 : r.isRTL(e));
211
+ let a = await r.getElementRects({
212
+ reference: t,
213
+ floating: e,
214
+ strategy: i
215
+ }), {
216
+ x: u,
217
+ y: d
218
+ } = Pt(a, o, c), p = o, f = {}, m = 0;
219
+ for (let w = 0; w < s.length; w++) {
220
+ var g;
221
+ const {
222
+ name: h,
223
+ fn: v
224
+ } = s[w], {
225
+ x,
226
+ y: b,
227
+ data: O,
228
+ reset: A
229
+ } = await v({
230
+ x: u,
231
+ y: d,
232
+ initialPlacement: o,
233
+ placement: p,
234
+ strategy: i,
235
+ middlewareData: f,
236
+ rects: a,
237
+ platform: {
238
+ ...r,
239
+ detectOverflow: (g = r.detectOverflow) != null ? g : Te
240
+ },
241
+ elements: {
242
+ reference: t,
243
+ floating: e
244
+ }
245
+ });
246
+ u = x ?? u, d = b ?? d, f = {
247
+ ...f,
248
+ [h]: {
249
+ ...f[h],
250
+ ...O
251
+ }
252
+ }, A && m <= 50 && (m++, typeof A == "object" && (A.placement && (p = A.placement), A.rects && (a = A.rects === !0 ? await r.getElementRects({
253
+ reference: t,
254
+ floating: e,
255
+ strategy: i
256
+ }) : A.rects), {
257
+ x: u,
258
+ y: d
259
+ } = Pt(a, p, c)), w = -1);
260
+ }
261
+ return {
262
+ x: u,
263
+ y: d,
264
+ placement: p,
265
+ strategy: i,
266
+ middlewareData: f
267
+ };
268
+ }, Se = (t) => ({
269
+ name: "arrow",
270
+ options: t,
271
+ async fn(e) {
272
+ const {
273
+ x: n,
274
+ y: o,
275
+ placement: i,
276
+ rects: l,
277
+ platform: r,
278
+ elements: s,
279
+ middlewareData: c
280
+ } = e, {
281
+ element: a,
282
+ padding: u = 0
283
+ } = J(t, e) || {};
284
+ if (a == null)
285
+ return {};
286
+ const d = zt(u), p = {
287
+ x: n,
288
+ y: o
289
+ }, f = xt(i), m = yt(f), g = await r.getDimensions(a), w = f === "y", h = w ? "top" : "left", v = w ? "bottom" : "right", x = w ? "clientHeight" : "clientWidth", b = l.reference[m] + l.reference[f] - p[f] - l.floating[m], O = p[f] - l.reference[f], A = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(a));
290
+ let y = A ? A[x] : 0;
291
+ (!y || !await (r.isElement == null ? void 0 : r.isElement(A))) && (y = s.floating[x] || l.floating[m]);
292
+ const H = b / 2 - O / 2, E = y / 2 - g[m] / 2 - 1, T = et(d[h], E), C = et(d[v], E), N = T, Y = y - g[m] - C, R = y / 2 - g[m] / 2 + H, q = ht(N, R, Y), W = !c.arrow && B(i) != null && R !== q && l.reference[m] / 2 - (R < N ? T : C) - g[m] / 2 < 0, D = W ? R < N ? R - N : R - Y : 0;
293
+ return {
294
+ [f]: p[f] + D,
295
+ data: {
296
+ [f]: q,
297
+ centerOffset: R - q - D,
298
+ ...W && {
299
+ alignmentOffset: D
300
+ }
301
+ },
302
+ reset: W
303
+ };
304
+ }
305
+ });
306
+ function Ee(t, e, n) {
307
+ return (t ? [...n.filter((i) => B(i) === t), ...n.filter((i) => B(i) !== t)] : n.filter((i) => I(i) === i)).filter((i) => t ? B(i) === t || (e ? ct(i) !== i : !1) : !0);
308
+ }
309
+ const Le = function(t) {
310
+ return t === void 0 && (t = {}), {
311
+ name: "autoPlacement",
312
+ options: t,
313
+ async fn(e) {
314
+ var n, o, i;
315
+ const {
316
+ rects: l,
317
+ middlewareData: r,
318
+ placement: s,
319
+ platform: c,
320
+ elements: a
321
+ } = e, {
322
+ crossAxis: u = !1,
323
+ alignment: d,
324
+ allowedPlacements: p = Lt,
325
+ autoAlignment: f = !0,
326
+ ...m
327
+ } = J(t, e), g = d !== void 0 || p === Lt ? Ee(d || null, f, p) : p, w = await c.detectOverflow(e, m), h = ((n = r.autoPlacement) == null ? void 0 : n.index) || 0, v = g[h];
328
+ if (v == null)
329
+ return {};
330
+ const x = jt(v, l, await (c.isRTL == null ? void 0 : c.isRTL(a.floating)));
331
+ if (s !== v)
332
+ return {
333
+ reset: {
334
+ placement: g[0]
335
+ }
336
+ };
337
+ const b = [w[I(v)], w[x[0]], w[x[1]]], O = [...((o = r.autoPlacement) == null ? void 0 : o.overflows) || [], {
338
+ placement: v,
339
+ overflows: b
340
+ }], A = g[h + 1];
341
+ if (A)
342
+ return {
343
+ data: {
344
+ index: h + 1,
345
+ overflows: O
346
+ },
347
+ reset: {
348
+ placement: A
349
+ }
350
+ };
351
+ const y = O.map((T) => {
352
+ const C = B(T.placement);
353
+ return [T.placement, C && u ? (
354
+ // Check along the mainAxis and main crossAxis side.
355
+ T.overflows.slice(0, 2).reduce((N, Y) => N + Y, 0)
356
+ ) : (
357
+ // Check only the mainAxis.
358
+ T.overflows[0]
359
+ ), T.overflows];
360
+ }).sort((T, C) => T[1] - C[1]), E = ((i = y.filter((T) => T[2].slice(
361
+ 0,
362
+ // Aligned placements should not check their opposite crossAxis
363
+ // side.
364
+ B(T[0]) ? 2 : 3
365
+ ).every((C) => C <= 0))[0]) == null ? void 0 : i[0]) || y[0][0];
366
+ return E !== s ? {
367
+ data: {
368
+ index: h + 1,
369
+ overflows: O
370
+ },
371
+ reset: {
372
+ placement: E
373
+ }
374
+ } : {};
375
+ }
376
+ };
377
+ }, Ce = function(t) {
378
+ return t === void 0 && (t = {}), {
379
+ name: "flip",
380
+ options: t,
381
+ async fn(e) {
382
+ var n, o;
383
+ const {
384
+ placement: i,
385
+ middlewareData: l,
386
+ rects: r,
387
+ initialPlacement: s,
388
+ platform: c,
389
+ elements: a
390
+ } = e, {
391
+ mainAxis: u = !0,
392
+ crossAxis: d = !0,
393
+ fallbackPlacements: p,
394
+ fallbackStrategy: f = "bestFit",
395
+ fallbackAxisSideDirection: m = "none",
396
+ flipAlignment: g = !0,
397
+ ...w
398
+ } = J(t, e);
399
+ if ((n = l.arrow) != null && n.alignmentOffset)
400
+ return {};
401
+ const h = I(i), v = U(s), x = I(s) === s, b = await (c.isRTL == null ? void 0 : c.isRTL(a.floating)), O = p || (x || !g ? [at(s)] : ve(s)), A = m !== "none";
402
+ !p && A && O.push(...Oe(s, g, m, b));
403
+ const y = [s, ...O], H = await c.detectOverflow(e, w), E = [];
404
+ let T = ((o = l.flip) == null ? void 0 : o.overflows) || [];
405
+ if (u && E.push(H[h]), d) {
406
+ const R = jt(i, r, b);
407
+ E.push(H[R[0]], H[R[1]]);
408
+ }
409
+ if (T = [...T, {
410
+ placement: i,
411
+ overflows: E
412
+ }], !E.every((R) => R <= 0)) {
413
+ var C, N;
414
+ const R = (((C = l.flip) == null ? void 0 : C.index) || 0) + 1, q = y[R];
415
+ if (q && (!(d === "alignment" ? v !== U(q) : !1) || // We leave the current main axis only if every placement on that axis
416
+ // overflows the main axis.
417
+ T.every((P) => U(P.placement) === v ? P.overflows[0] > 0 : !0)))
418
+ return {
419
+ data: {
420
+ index: R,
421
+ overflows: T
422
+ },
423
+ reset: {
424
+ placement: q
425
+ }
426
+ };
427
+ let W = (N = T.filter((D) => D.overflows[0] <= 0).sort((D, P) => D.overflows[1] - P.overflows[1])[0]) == null ? void 0 : N.placement;
428
+ if (!W)
429
+ switch (f) {
430
+ case "bestFit": {
431
+ var Y;
432
+ const D = (Y = T.filter((P) => {
433
+ if (A) {
434
+ const j = U(P.placement);
435
+ return j === v || // Create a bias to the `y` side axis due to horizontal
436
+ // reading directions favoring greater width.
437
+ j === "y";
438
+ }
439
+ return !0;
440
+ }).map((P) => [P.placement, P.overflows.filter((j) => j > 0).reduce((j, ne) => j + ne, 0)]).sort((P, j) => P[1] - j[1])[0]) == null ? void 0 : Y[0];
441
+ D && (W = D);
442
+ break;
443
+ }
444
+ case "initialPlacement":
445
+ W = s;
446
+ break;
447
+ }
448
+ if (i !== W)
449
+ return {
450
+ reset: {
451
+ placement: W
452
+ }
453
+ };
454
+ }
455
+ return {};
456
+ }
457
+ };
458
+ };
459
+ function Ft(t, e) {
460
+ return {
461
+ top: t.top - e.height,
462
+ right: t.right - e.width,
463
+ bottom: t.bottom - e.height,
464
+ left: t.left - e.width
465
+ };
466
+ }
467
+ function Mt(t) {
468
+ return Vt.some((e) => t[e] >= 0);
469
+ }
470
+ const De = function(t) {
471
+ return t === void 0 && (t = {}), {
472
+ name: "hide",
473
+ options: t,
474
+ async fn(e) {
475
+ const {
476
+ rects: n,
477
+ platform: o
478
+ } = e, {
479
+ strategy: i = "referenceHidden",
480
+ ...l
481
+ } = J(t, e);
482
+ switch (i) {
483
+ case "referenceHidden": {
484
+ const r = await o.detectOverflow(e, {
485
+ ...l,
486
+ elementContext: "reference"
487
+ }), s = Ft(r, n.reference);
488
+ return {
489
+ data: {
490
+ referenceHiddenOffsets: s,
491
+ referenceHidden: Mt(s)
492
+ }
493
+ };
494
+ }
495
+ case "escaped": {
496
+ const r = await o.detectOverflow(e, {
497
+ ...l,
498
+ altBoundary: !0
499
+ }), s = Ft(r, n.floating);
500
+ return {
501
+ data: {
502
+ escapedOffsets: s,
503
+ escaped: Mt(s)
504
+ }
505
+ };
506
+ }
507
+ default:
508
+ return {};
509
+ }
510
+ }
511
+ };
512
+ }, Pe = /* @__PURE__ */ new Set(["left", "top"]);
513
+ async function Fe(t, e) {
514
+ const {
515
+ placement: n,
516
+ platform: o,
517
+ elements: i
518
+ } = t, l = await (o.isRTL == null ? void 0 : o.isRTL(i.floating)), r = I(n), s = B(n), c = U(n) === "y", a = Pe.has(r) ? -1 : 1, u = l && c ? -1 : 1, d = J(e, t);
519
+ let {
520
+ mainAxis: p,
521
+ crossAxis: f,
522
+ alignmentAxis: m
523
+ } = typeof d == "number" ? {
524
+ mainAxis: d,
525
+ crossAxis: 0,
526
+ alignmentAxis: null
527
+ } : {
528
+ mainAxis: d.mainAxis || 0,
529
+ crossAxis: d.crossAxis || 0,
530
+ alignmentAxis: d.alignmentAxis
531
+ };
532
+ return s && typeof m == "number" && (f = s === "end" ? m * -1 : m), c ? {
533
+ x: f * u,
534
+ y: p * a
535
+ } : {
536
+ x: p * a,
537
+ y: f * u
538
+ };
539
+ }
540
+ const Me = function(t) {
541
+ return t === void 0 && (t = 0), {
542
+ name: "offset",
543
+ options: t,
544
+ async fn(e) {
545
+ var n, o;
546
+ const {
547
+ x: i,
548
+ y: l,
549
+ placement: r,
550
+ middlewareData: s
551
+ } = e, c = await Fe(e, t);
552
+ return r === ((n = s.offset) == null ? void 0 : n.placement) && (o = s.arrow) != null && o.alignmentOffset ? {} : {
553
+ x: i + c.x,
554
+ y: l + c.y,
555
+ data: {
556
+ ...c,
557
+ placement: r
558
+ }
559
+ };
560
+ }
561
+ };
562
+ }, _e = function(t) {
563
+ return t === void 0 && (t = {}), {
564
+ name: "shift",
565
+ options: t,
566
+ async fn(e) {
567
+ const {
568
+ x: n,
569
+ y: o,
570
+ placement: i,
571
+ platform: l
572
+ } = e, {
573
+ mainAxis: r = !0,
574
+ crossAxis: s = !1,
575
+ limiter: c = {
576
+ fn: (h) => {
577
+ let {
578
+ x: v,
579
+ y: x
580
+ } = h;
581
+ return {
582
+ x: v,
583
+ y: x
584
+ };
585
+ }
586
+ },
587
+ ...a
588
+ } = J(t, e), u = {
589
+ x: n,
590
+ y: o
591
+ }, d = await l.detectOverflow(e, a), p = U(I(i)), f = It(p);
592
+ let m = u[f], g = u[p];
593
+ if (r) {
594
+ const h = f === "y" ? "top" : "left", v = f === "y" ? "bottom" : "right", x = m + d[h], b = m - d[v];
595
+ m = ht(x, m, b);
596
+ }
597
+ if (s) {
598
+ const h = p === "y" ? "top" : "left", v = p === "y" ? "bottom" : "right", x = g + d[h], b = g - d[v];
599
+ g = ht(x, g, b);
600
+ }
601
+ const w = c.fn({
602
+ ...e,
603
+ [f]: m,
604
+ [p]: g
605
+ });
606
+ return {
607
+ ...w,
608
+ data: {
609
+ x: w.x - n,
610
+ y: w.y - o,
611
+ enabled: {
612
+ [f]: r,
613
+ [p]: s
614
+ }
615
+ }
616
+ };
617
+ }
618
+ };
619
+ };
620
+ function ut() {
621
+ return typeof window < "u";
622
+ }
623
+ function Q(t) {
624
+ return bt(t) ? (t.nodeName || "").toLowerCase() : "#document";
625
+ }
626
+ function L(t) {
627
+ var e;
628
+ return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
629
+ }
630
+ function $(t) {
631
+ var e;
632
+ return (e = (bt(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
633
+ }
634
+ function bt(t) {
635
+ return ut() ? t instanceof Node || t instanceof L(t).Node : !1;
636
+ }
637
+ function F(t) {
638
+ return ut() ? t instanceof Element || t instanceof L(t).Element : !1;
639
+ }
640
+ function k(t) {
641
+ return ut() ? t instanceof HTMLElement || t instanceof L(t).HTMLElement : !1;
642
+ }
643
+ function _t(t) {
644
+ return !ut() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof L(t).ShadowRoot;
645
+ }
646
+ const Be = /* @__PURE__ */ new Set(["inline", "contents"]);
647
+ function rt(t) {
648
+ const {
649
+ overflow: e,
650
+ overflowX: n,
651
+ overflowY: o,
652
+ display: i
653
+ } = M(t);
654
+ return /auto|scroll|overlay|hidden|clip/.test(e + o + n) && !Be.has(i);
655
+ }
656
+ const ke = /* @__PURE__ */ new Set(["table", "td", "th"]);
657
+ function $e(t) {
658
+ return ke.has(Q(t));
659
+ }
660
+ const He = [":popover-open", ":modal"];
661
+ function dt(t) {
662
+ return He.some((e) => {
663
+ try {
664
+ return t.matches(e);
665
+ } catch {
666
+ return !1;
667
+ }
668
+ });
669
+ }
670
+ const Ne = ["transform", "translate", "scale", "rotate", "perspective"], We = ["transform", "translate", "scale", "rotate", "perspective", "filter"], Ve = ["paint", "layout", "strict", "content"];
671
+ function Ot(t) {
672
+ const e = At(), n = F(t) ? M(t) : t;
673
+ return Ne.some((o) => n[o] ? n[o] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !e && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !e && (n.filter ? n.filter !== "none" : !1) || We.some((o) => (n.willChange || "").includes(o)) || Ve.some((o) => (n.contain || "").includes(o));
674
+ }
675
+ function Ie(t) {
676
+ let e = X(t);
677
+ for (; k(e) && !nt(e); ) {
678
+ if (Ot(e))
679
+ return e;
680
+ if (dt(e))
681
+ return null;
682
+ e = X(e);
683
+ }
684
+ return null;
685
+ }
686
+ function At() {
687
+ return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
688
+ }
689
+ const je = /* @__PURE__ */ new Set(["html", "body", "#document"]);
690
+ function nt(t) {
691
+ return je.has(Q(t));
692
+ }
693
+ function M(t) {
694
+ return L(t).getComputedStyle(t);
695
+ }
696
+ function mt(t) {
697
+ return F(t) ? {
698
+ scrollLeft: t.scrollLeft,
699
+ scrollTop: t.scrollTop
700
+ } : {
701
+ scrollLeft: t.scrollX,
702
+ scrollTop: t.scrollY
703
+ };
704
+ }
705
+ function X(t) {
706
+ if (Q(t) === "html")
707
+ return t;
708
+ const e = (
709
+ // Step into the shadow DOM of the parent of a slotted node.
710
+ t.assignedSlot || // DOM Element detected.
711
+ t.parentNode || // ShadowRoot detected.
712
+ _t(t) && t.host || // Fallback.
713
+ $(t)
714
+ );
715
+ return _t(e) ? e.host : e;
716
+ }
717
+ function Ut(t) {
718
+ const e = X(t);
719
+ return nt(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : k(e) && rt(e) ? e : Ut(e);
720
+ }
721
+ function it(t, e, n) {
722
+ var o;
723
+ e === void 0 && (e = []), n === void 0 && (n = !0);
724
+ const i = Ut(t), l = i === ((o = t.ownerDocument) == null ? void 0 : o.body), r = L(i);
725
+ if (l) {
726
+ const s = wt(r);
727
+ return e.concat(r, r.visualViewport || [], rt(i) ? i : [], s && n ? it(s) : []);
728
+ }
729
+ return e.concat(i, it(i, [], n));
730
+ }
731
+ function wt(t) {
732
+ return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
733
+ }
734
+ function Xt(t) {
735
+ const e = M(t);
736
+ let n = parseFloat(e.width) || 0, o = parseFloat(e.height) || 0;
737
+ const i = k(t), l = i ? t.offsetWidth : n, r = i ? t.offsetHeight : o, s = st(n) !== l || st(o) !== r;
738
+ return s && (n = l, o = r), {
739
+ width: n,
740
+ height: o,
741
+ $: s
742
+ };
743
+ }
744
+ function Tt(t) {
745
+ return F(t) ? t : t.contextElement;
746
+ }
747
+ function tt(t) {
748
+ const e = Tt(t);
749
+ if (!k(e))
750
+ return _(1);
751
+ const n = e.getBoundingClientRect(), {
752
+ width: o,
753
+ height: i,
754
+ $: l
755
+ } = Xt(e);
756
+ let r = (l ? st(n.width) : n.width) / o, s = (l ? st(n.height) : n.height) / i;
757
+ return (!r || !Number.isFinite(r)) && (r = 1), (!s || !Number.isFinite(s)) && (s = 1), {
758
+ x: r,
759
+ y: s
760
+ };
761
+ }
762
+ const ze = /* @__PURE__ */ _(0);
763
+ function Yt(t) {
764
+ const e = L(t);
765
+ return !At() || !e.visualViewport ? ze : {
766
+ x: e.visualViewport.offsetLeft,
767
+ y: e.visualViewport.offsetTop
768
+ };
769
+ }
770
+ function Ue(t, e, n) {
771
+ return e === void 0 && (e = !1), !n || e && n !== L(t) ? !1 : e;
772
+ }
773
+ function K(t, e, n, o) {
774
+ e === void 0 && (e = !1), n === void 0 && (n = !1);
775
+ const i = t.getBoundingClientRect(), l = Tt(t);
776
+ let r = _(1);
777
+ e && (o ? F(o) && (r = tt(o)) : r = tt(t));
778
+ const s = Ue(l, n, o) ? Yt(l) : _(0);
779
+ let c = (i.left + s.x) / r.x, a = (i.top + s.y) / r.y, u = i.width / r.x, d = i.height / r.y;
780
+ if (l) {
781
+ const p = L(l), f = o && F(o) ? L(o) : o;
782
+ let m = p, g = wt(m);
783
+ for (; g && o && f !== m; ) {
784
+ const w = tt(g), h = g.getBoundingClientRect(), v = M(g), x = h.left + (g.clientLeft + parseFloat(v.paddingLeft)) * w.x, b = h.top + (g.clientTop + parseFloat(v.paddingTop)) * w.y;
785
+ c *= w.x, a *= w.y, u *= w.x, d *= w.y, c += x, a += b, m = L(g), g = wt(m);
786
+ }
787
+ }
788
+ return ft({
789
+ width: u,
790
+ height: d,
791
+ x: c,
792
+ y: a
793
+ });
794
+ }
795
+ function pt(t, e) {
796
+ const n = mt(t).scrollLeft;
797
+ return e ? e.left + n : K($(t)).left + n;
798
+ }
799
+ function qt(t, e) {
800
+ const n = t.getBoundingClientRect(), o = n.left + e.scrollLeft - pt(t, n), i = n.top + e.scrollTop;
801
+ return {
802
+ x: o,
803
+ y: i
804
+ };
805
+ }
806
+ function Xe(t) {
807
+ let {
808
+ elements: e,
809
+ rect: n,
810
+ offsetParent: o,
811
+ strategy: i
812
+ } = t;
813
+ const l = i === "fixed", r = $(o), s = e ? dt(e.floating) : !1;
814
+ if (o === r || s && l)
815
+ return n;
816
+ let c = {
817
+ scrollLeft: 0,
818
+ scrollTop: 0
819
+ }, a = _(1);
820
+ const u = _(0), d = k(o);
821
+ if ((d || !d && !l) && ((Q(o) !== "body" || rt(r)) && (c = mt(o)), k(o))) {
822
+ const f = K(o);
823
+ a = tt(o), u.x = f.x + o.clientLeft, u.y = f.y + o.clientTop;
824
+ }
825
+ const p = r && !d && !l ? qt(r, c) : _(0);
826
+ return {
827
+ width: n.width * a.x,
828
+ height: n.height * a.y,
829
+ x: n.x * a.x - c.scrollLeft * a.x + u.x + p.x,
830
+ y: n.y * a.y - c.scrollTop * a.y + u.y + p.y
831
+ };
832
+ }
833
+ function Ye(t) {
834
+ return Array.from(t.getClientRects());
835
+ }
836
+ function qe(t) {
837
+ const e = $(t), n = mt(t), o = t.ownerDocument.body, i = G(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), l = G(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
838
+ let r = -n.scrollLeft + pt(t);
839
+ const s = -n.scrollTop;
840
+ return M(o).direction === "rtl" && (r += G(e.clientWidth, o.clientWidth) - i), {
841
+ width: i,
842
+ height: l,
843
+ x: r,
844
+ y: s
845
+ };
846
+ }
847
+ const Bt = 25;
848
+ function Ge(t, e) {
849
+ const n = L(t), o = $(t), i = n.visualViewport;
850
+ let l = o.clientWidth, r = o.clientHeight, s = 0, c = 0;
851
+ if (i) {
852
+ l = i.width, r = i.height;
853
+ const u = At();
854
+ (!u || u && e === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
855
+ }
856
+ const a = pt(o);
857
+ if (a <= 0) {
858
+ const u = o.ownerDocument, d = u.body, p = getComputedStyle(d), f = u.compatMode === "CSS1Compat" && parseFloat(p.marginLeft) + parseFloat(p.marginRight) || 0, m = Math.abs(o.clientWidth - d.clientWidth - f);
859
+ m <= Bt && (l -= m);
860
+ } else a <= Bt && (l += a);
861
+ return {
862
+ width: l,
863
+ height: r,
864
+ x: s,
865
+ y: c
866
+ };
867
+ }
868
+ const Ke = /* @__PURE__ */ new Set(["absolute", "fixed"]);
869
+ function Je(t, e) {
870
+ const n = K(t, !0, e === "fixed"), o = n.top + t.clientTop, i = n.left + t.clientLeft, l = k(t) ? tt(t) : _(1), r = t.clientWidth * l.x, s = t.clientHeight * l.y, c = i * l.x, a = o * l.y;
871
+ return {
872
+ width: r,
873
+ height: s,
874
+ x: c,
875
+ y: a
876
+ };
877
+ }
878
+ function kt(t, e, n) {
879
+ let o;
880
+ if (e === "viewport")
881
+ o = Ge(t, n);
882
+ else if (e === "document")
883
+ o = qe($(t));
884
+ else if (F(e))
885
+ o = Je(e, n);
886
+ else {
887
+ const i = Yt(t);
888
+ o = {
889
+ x: e.x - i.x,
890
+ y: e.y - i.y,
891
+ width: e.width,
892
+ height: e.height
893
+ };
894
+ }
895
+ return ft(o);
896
+ }
897
+ function Gt(t, e) {
898
+ const n = X(t);
899
+ return n === e || !F(n) || nt(n) ? !1 : M(n).position === "fixed" || Gt(n, e);
900
+ }
901
+ function Qe(t, e) {
902
+ const n = e.get(t);
903
+ if (n)
904
+ return n;
905
+ let o = it(t, [], !1).filter((s) => F(s) && Q(s) !== "body"), i = null;
906
+ const l = M(t).position === "fixed";
907
+ let r = l ? X(t) : t;
908
+ for (; F(r) && !nt(r); ) {
909
+ const s = M(r), c = Ot(r);
910
+ !c && s.position === "fixed" && (i = null), (l ? !c && !i : !c && s.position === "static" && !!i && Ke.has(i.position) || rt(r) && !c && Gt(t, r)) ? o = o.filter((u) => u !== r) : i = s, r = X(r);
911
+ }
912
+ return e.set(t, o), o;
913
+ }
914
+ function Ze(t) {
915
+ let {
916
+ element: e,
917
+ boundary: n,
918
+ rootBoundary: o,
919
+ strategy: i
920
+ } = t;
921
+ const r = [...n === "clippingAncestors" ? dt(e) ? [] : Qe(e, this._c) : [].concat(n), o], s = r[0], c = r.reduce((a, u) => {
922
+ const d = kt(e, u, i);
923
+ return a.top = G(d.top, a.top), a.right = et(d.right, a.right), a.bottom = et(d.bottom, a.bottom), a.left = G(d.left, a.left), a;
924
+ }, kt(e, s, i));
925
+ return {
926
+ width: c.right - c.left,
927
+ height: c.bottom - c.top,
928
+ x: c.left,
929
+ y: c.top
930
+ };
931
+ }
932
+ function tn(t) {
933
+ const {
934
+ width: e,
935
+ height: n
936
+ } = Xt(t);
937
+ return {
938
+ width: e,
939
+ height: n
940
+ };
941
+ }
942
+ function en(t, e, n) {
943
+ const o = k(e), i = $(e), l = n === "fixed", r = K(t, !0, l, e);
944
+ let s = {
945
+ scrollLeft: 0,
946
+ scrollTop: 0
947
+ };
948
+ const c = _(0);
949
+ function a() {
950
+ c.x = pt(i);
951
+ }
952
+ if (o || !o && !l)
953
+ if ((Q(e) !== "body" || rt(i)) && (s = mt(e)), o) {
954
+ const f = K(e, !0, l, e);
955
+ c.x = f.x + e.clientLeft, c.y = f.y + e.clientTop;
956
+ } else i && a();
957
+ l && !o && i && a();
958
+ const u = i && !o && !l ? qt(i, s) : _(0), d = r.left + s.scrollLeft - c.x - u.x, p = r.top + s.scrollTop - c.y - u.y;
959
+ return {
960
+ x: d,
961
+ y: p,
962
+ width: r.width,
963
+ height: r.height
964
+ };
965
+ }
966
+ function gt(t) {
967
+ return M(t).position === "static";
968
+ }
969
+ function $t(t, e) {
970
+ if (!k(t) || M(t).position === "fixed")
971
+ return null;
972
+ if (e)
973
+ return e(t);
974
+ let n = t.offsetParent;
975
+ return $(t) === n && (n = n.ownerDocument.body), n;
976
+ }
977
+ function Kt(t, e) {
978
+ const n = L(t);
979
+ if (dt(t))
980
+ return n;
981
+ if (!k(t)) {
982
+ let i = X(t);
983
+ for (; i && !nt(i); ) {
984
+ if (F(i) && !gt(i))
985
+ return i;
986
+ i = X(i);
987
+ }
988
+ return n;
989
+ }
990
+ let o = $t(t, e);
991
+ for (; o && $e(o) && gt(o); )
992
+ o = $t(o, e);
993
+ return o && nt(o) && gt(o) && !Ot(o) ? n : o || Ie(t) || n;
994
+ }
995
+ const nn = async function(t) {
996
+ const e = this.getOffsetParent || Kt, n = this.getDimensions, o = await n(t.floating);
997
+ return {
998
+ reference: en(t.reference, await e(t.floating), t.strategy),
999
+ floating: {
1000
+ x: 0,
1001
+ y: 0,
1002
+ width: o.width,
1003
+ height: o.height
1004
+ }
1005
+ };
1006
+ };
1007
+ function on(t) {
1008
+ return M(t).direction === "rtl";
1009
+ }
1010
+ const rn = {
1011
+ convertOffsetParentRelativeRectToViewportRelativeRect: Xe,
1012
+ getDocumentElement: $,
1013
+ getClippingRect: Ze,
1014
+ getOffsetParent: Kt,
1015
+ getElementRects: nn,
1016
+ getClientRects: Ye,
1017
+ getDimensions: tn,
1018
+ getScale: tt,
1019
+ isElement: F,
1020
+ isRTL: on
1021
+ };
1022
+ function Jt(t, e) {
1023
+ return t.x === e.x && t.y === e.y && t.width === e.width && t.height === e.height;
1024
+ }
1025
+ function ln(t, e) {
1026
+ let n = null, o;
1027
+ const i = $(t);
1028
+ function l() {
1029
+ var s;
1030
+ clearTimeout(o), (s = n) == null || s.disconnect(), n = null;
1031
+ }
1032
+ function r(s, c) {
1033
+ s === void 0 && (s = !1), c === void 0 && (c = 1), l();
1034
+ const a = t.getBoundingClientRect(), {
1035
+ left: u,
1036
+ top: d,
1037
+ width: p,
1038
+ height: f
1039
+ } = a;
1040
+ if (s || e(), !p || !f)
1041
+ return;
1042
+ const m = lt(d), g = lt(i.clientWidth - (u + p)), w = lt(i.clientHeight - (d + f)), h = lt(u), x = {
1043
+ rootMargin: -m + "px " + -g + "px " + -w + "px " + -h + "px",
1044
+ threshold: G(0, et(1, c)) || 1
1045
+ };
1046
+ let b = !0;
1047
+ function O(A) {
1048
+ const y = A[0].intersectionRatio;
1049
+ if (y !== c) {
1050
+ if (!b)
1051
+ return r();
1052
+ y ? r(!1, y) : o = setTimeout(() => {
1053
+ r(!1, 1e-7);
1054
+ }, 1e3);
1055
+ }
1056
+ y === 1 && !Jt(a, t.getBoundingClientRect()) && r(), b = !1;
1057
+ }
1058
+ try {
1059
+ n = new IntersectionObserver(O, {
1060
+ ...x,
1061
+ // Handle <iframe>s
1062
+ root: i.ownerDocument
1063
+ });
1064
+ } catch {
1065
+ n = new IntersectionObserver(O, x);
1066
+ }
1067
+ n.observe(t);
1068
+ }
1069
+ return r(!0), l;
1070
+ }
1071
+ function Ht(t, e, n, o) {
1072
+ o === void 0 && (o = {});
1073
+ const {
1074
+ ancestorScroll: i = !0,
1075
+ ancestorResize: l = !0,
1076
+ elementResize: r = typeof ResizeObserver == "function",
1077
+ layoutShift: s = typeof IntersectionObserver == "function",
1078
+ animationFrame: c = !1
1079
+ } = o, a = Tt(t), u = i || l ? [...a ? it(a) : [], ...it(e)] : [];
1080
+ u.forEach((h) => {
1081
+ i && h.addEventListener("scroll", n, {
1082
+ passive: !0
1083
+ }), l && h.addEventListener("resize", n);
1084
+ });
1085
+ const d = a && s ? ln(a, n) : null;
1086
+ let p = -1, f = null;
1087
+ r && (f = new ResizeObserver((h) => {
1088
+ let [v] = h;
1089
+ v && v.target === a && f && (f.unobserve(e), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
1090
+ var x;
1091
+ (x = f) == null || x.observe(e);
1092
+ })), n();
1093
+ }), a && !c && f.observe(a), f.observe(e));
1094
+ let m, g = c ? K(t) : null;
1095
+ c && w();
1096
+ function w() {
1097
+ const h = K(t);
1098
+ g && !Jt(g, h) && n(), g = h, m = requestAnimationFrame(w);
1099
+ }
1100
+ return n(), () => {
1101
+ var h;
1102
+ u.forEach((v) => {
1103
+ i && v.removeEventListener("scroll", n), l && v.removeEventListener("resize", n);
1104
+ }), d == null || d(), (h = f) == null || h.disconnect(), f = null, c && cancelAnimationFrame(m);
1105
+ };
1106
+ }
1107
+ const sn = Me, cn = Le, an = _e, fn = Ce, Tn = De, un = Se, dn = (t, e, n) => {
1108
+ const o = /* @__PURE__ */ new Map(), i = {
1109
+ platform: rn,
1110
+ ...n
1111
+ }, l = {
1112
+ ...i.platform,
1113
+ _c: o
1114
+ };
1115
+ return Re(t, e, {
1116
+ ...i,
1117
+ platform: l
1118
+ });
1119
+ };
1120
+ function mn(t) {
1121
+ return t != null && typeof t == "object" && "$el" in t;
1122
+ }
1123
+ function vt(t) {
1124
+ if (mn(t)) {
1125
+ const e = t.$el;
1126
+ return bt(e) && Q(e) === "#comment" ? null : e;
1127
+ }
1128
+ return t;
1129
+ }
1130
+ function pn(t) {
1131
+ return {
1132
+ name: "arrow",
1133
+ options: t,
1134
+ fn(e) {
1135
+ const n = vt(V(t.element));
1136
+ return n == null ? {} : un({
1137
+ element: n,
1138
+ padding: t.padding
1139
+ }).fn(e);
1140
+ }
1141
+ };
1142
+ }
1143
+ function Qt(t) {
1144
+ return typeof window > "u" ? 1 : (t.ownerDocument.defaultView || window).devicePixelRatio || 1;
1145
+ }
1146
+ function Nt(t, e) {
1147
+ const n = Qt(t);
1148
+ return Math.round(e * n) / n;
1149
+ }
1150
+ function gn(t, e, n) {
1151
+ n === void 0 && (n = {});
1152
+ const o = n.whileElementsMounted, i = S(() => {
1153
+ var y;
1154
+ return (y = V(n.open)) != null ? y : !0;
1155
+ }), l = S(() => V(n.middleware)), r = S(() => {
1156
+ var y;
1157
+ return (y = V(n.placement)) != null ? y : "bottom";
1158
+ }), s = S(() => {
1159
+ var y;
1160
+ return (y = V(n.strategy)) != null ? y : "absolute";
1161
+ }), c = S(() => {
1162
+ var y;
1163
+ return (y = V(n.transform)) != null ? y : !0;
1164
+ }), a = S(() => vt(t.value)), u = S(() => vt(e.value)), d = z(0), p = z(0), f = z(s.value), m = z(r.value), g = oe({}), w = z(!1), h = S(() => {
1165
+ const y = {
1166
+ position: f.value,
1167
+ left: "0",
1168
+ top: "0"
1169
+ };
1170
+ if (!u.value)
1171
+ return y;
1172
+ const H = Nt(u.value, d.value), E = Nt(u.value, p.value);
1173
+ return c.value ? {
1174
+ ...y,
1175
+ transform: "translate(" + H + "px, " + E + "px)",
1176
+ ...Qt(u.value) >= 1.5 && {
1177
+ willChange: "transform"
1178
+ }
1179
+ } : {
1180
+ position: f.value,
1181
+ left: H + "px",
1182
+ top: E + "px"
1183
+ };
1184
+ });
1185
+ let v;
1186
+ function x() {
1187
+ a.value == null || u.value == null || dn(a.value, u.value, {
1188
+ middleware: l.value,
1189
+ placement: r.value,
1190
+ strategy: s.value
1191
+ }).then((y) => {
1192
+ d.value = y.x, p.value = y.y, f.value = y.strategy, m.value = y.placement, g.value = y.middlewareData, w.value = !0;
1193
+ });
1194
+ }
1195
+ function b() {
1196
+ typeof v == "function" && (v(), v = void 0);
1197
+ }
1198
+ function O() {
1199
+ if (b(), o === void 0) {
1200
+ x();
1201
+ return;
1202
+ }
1203
+ if (a.value != null && u.value != null) {
1204
+ v = o(a.value, u.value, x);
1205
+ return;
1206
+ }
1207
+ }
1208
+ function A() {
1209
+ i.value || (w.value = !1);
1210
+ }
1211
+ return ot([l, r, s], x, {
1212
+ flush: "sync"
1213
+ }), ot([a, u], O, {
1214
+ flush: "sync"
1215
+ }), ot(i, A, {
1216
+ flush: "sync"
1217
+ }), ie() && re(b), {
1218
+ x: Z(d),
1219
+ y: Z(p),
1220
+ strategy: Z(f),
1221
+ placement: Z(m),
1222
+ middlewareData: Z(g),
1223
+ isPositioned: Z(w),
1224
+ floatingStyles: h,
1225
+ update: x
1226
+ };
1227
+ }
1228
+ var Zt = /* @__PURE__ */ ((t) => (t.TOP = "top", t.RIGHT = "right", t.BOTTOM = "bottom", t.LEFT = "left", t))(Zt || {}), te = /* @__PURE__ */ ((t) => (t.AUTO = "auto", t.AUTO_START = "auto-start", t.AUTO_END = "auto-end", t.TOP_START = "top-start", t.TOP_END = "top-end", t.RIGHT_START = "right-start", t.RIGHT_END = "right-end", t.BOTTOM_START = "bottom-start", t.BOTTOM_END = "bottom-end", t.LEFT_START = "left-start", t.LEFT_END = "left-end", t))(te || {}), ee = /* @__PURE__ */ ((t) => (t.TOOLTIP = "tooltip", t.POPOVER = "dialog", t))(ee || {});
1229
+ const Wt = { ...Zt, ...te }, hn = (t, e) => t ? e[1] + 7 : e[1], wn = (t) => {
1230
+ let e = Array.isArray(t) ? t : [t];
1231
+ return e = e.filter((n) => n !== "auto" && n !== "auto-start" && n !== "auto-end").map((n) => n), {
1232
+ fallbackPlacements: e
1233
+ };
1234
+ }, vn = {
1235
+ name: "sameWidth",
1236
+ fn: ({ elements: t }) => (t.floating.style.width = `${t.reference.offsetWidth}px`, {})
1237
+ }, yn = {}, xn = /* @__PURE__ */ le({
1238
+ ...yn,
1239
+ __name: "popper-container",
1240
+ props: {
1241
+ /**
1242
+ * The aria role assigned to the container. Defaults to null, which means it's not set if nothing is passed.
1243
+ */
1244
+ ariaRole: {
1245
+ type: String,
1246
+ default: null,
1247
+ validator: (t) => Object.values(ee).includes(t)
1248
+ },
1249
+ /**
1250
+ * Indicates if container should have additional arrow, pointing at target element
1251
+ * Can be just a boolean flag, or an object with additional configuration:
1252
+ * @property {Array<string>} arrow.classes – apply any additional classes to the arrow element.
1253
+ * @property {string} arrow.padding – useful when content has rounded corners, @see {@link https://floating-ui.com/docs/arrow#padding}
1254
+ */
1255
+ arrow: { type: Object, default: void 0 },
1256
+ /**
1257
+ * Disables wrapping focus-trap component.
1258
+ * Mostly useful for the storybook demo.
1259
+ */
1260
+ disabledFocusTrap: { type: Boolean, default: !1 },
1261
+ /**
1262
+ * Allows to configure to fallback position to the one specified, it could be 'auto' or ['right', 'top', ...].
1263
+ * Useful when not using auto as starting placement.
1264
+ * @see {@link https://floating-ui.com/docs/flip#fallbackplacements}
1265
+ */
1266
+ fallbackPosition: {
1267
+ type: [Array, String],
1268
+ default: null
1269
+ },
1270
+ /**
1271
+ * Instructs popover to be visible outside of the containing container.
1272
+ * Useful when component would be used in limited containers like Modal, Side panel, etc.
1273
+ * @see {@link https://floating-ui.com/docs/usefloating#strategy}
1274
+ */
1275
+ fixedPositioning: { type: Boolean, default: !1 },
1276
+ /**
1277
+ * The id to be set on the component. Use it for accessibility purposes.
1278
+ */
1279
+ id: { type: String, default: null },
1280
+ /**
1281
+ * If hiding / showing popper element then use this property to tell the popper when to update it's position.
1282
+ * This will drastically help improve performance, as we will not need to track hidden elements.
1283
+ */
1284
+ isHidden: { type: Boolean, default: null },
1285
+ /**
1286
+ * Instructs popper container to have the same width as target element.
1287
+ */
1288
+ matchWidth: { type: Boolean, default: !1 },
1289
+ /**
1290
+ * Custom set of middleware. Useful for low-level control over Popper behavior in some really complex use cases.
1291
+ * @see {@link https://floating-ui.com/docs/middleware}
1292
+ */
1293
+ middleware: { type: Array, default: null },
1294
+ /**
1295
+ * Allows to displace a popper container from its target element.
1296
+ * @see {@link https://floating-ui.com/docs/offset#options}
1297
+ */
1298
+ offset: {
1299
+ type: Array,
1300
+ default: () => [0, 0],
1301
+ validator: (t) => (t == null ? void 0 : t.length) === 2
1302
+ },
1303
+ /**
1304
+ * Position relative to the target element
1305
+ * @see {@link https://floating-ui.com/docs/computeposition#placement}
1306
+ */
1307
+ position: {
1308
+ type: String,
1309
+ default: Wt.AUTO,
1310
+ validator: (t) => Object.values(Wt).includes(t)
1311
+ },
1312
+ /**
1313
+ * Reference to the DOM element or Vue component for positioning
1314
+ */
1315
+ targetElement: { type: [Element, Object], required: !0 },
1316
+ /**
1317
+ * Activates focus trap for both arrow and tab keys.
1318
+ */
1319
+ trapAll: { type: Boolean, default: !1 },
1320
+ /**
1321
+ * Configurations for the focus-trap when trap-all is active.
1322
+ */
1323
+ trapAllOptions: {
1324
+ type: Object,
1325
+ default: void 0
1326
+ }
1327
+ },
1328
+ emits: ["placement"],
1329
+ setup(t, { emit: e }) {
1330
+ var b;
1331
+ const n = t, o = e, { position: i } = se(n), l = z(), r = z(null), s = z(n.position), c = S(
1332
+ () => n.targetElement.$el ? n.targetElement.$el : n.targetElement
1333
+ ), a = S(
1334
+ () => l.value.$el ? l.value.$el : l.value
1335
+ ), u = S(() => (n == null ? void 0 : n.position) !== "auto" && (n == null ? void 0 : n.fallbackPosition) !== "auto"), d = S(() => {
1336
+ switch (n.position) {
1337
+ case "auto-start":
1338
+ return { alignment: "start", crossAxis: !0 };
1339
+ case "auto-end":
1340
+ return { alignment: "end", crossAxis: !0 };
1341
+ default:
1342
+ return;
1343
+ }
1344
+ }), p = S(() => n.fixedPositioning ? "fixed" : "absolute"), { floatingStyles: f, middlewareData: m, placement: g, update: w } = gn(c, l, {
1345
+ placement: i,
1346
+ middleware: [
1347
+ // Adds flip modifier if fallbackPosition is not set to auto
1348
+ ...u.value ? [
1349
+ fn({
1350
+ fallbackPlacements: wn(n.fallbackPosition).fallbackPlacements
1351
+ })
1352
+ ] : [],
1353
+ // Adds autoposition middlelare if position is set to any auto variants
1354
+ ...u.value ? [] : [cn(d.value)],
1355
+ // Add shifting middle in case popper is still not fully visible in view port
1356
+ an(),
1357
+ // Adds offset middlelare if offset property is set
1358
+ ...n.offset ? [sn(hn(n.arrow, n.offset))] : [],
1359
+ // Adds arrow middlelare if arrow property is set, can set additional padding property
1360
+ ...n.arrow ? [pn({ element: r, padding: n.arrow.padding || 0 })] : [],
1361
+ // Adds same width middleware to keep popper width same as referenced element's width
1362
+ ...n.matchWidth ? [vn] : [],
1363
+ // If there is additional custom middleware to add via the property then add it
1364
+ ...((b = n.middleware) == null ? void 0 : b.length) > 0 ? n.middleware : []
1365
+ ],
1366
+ strategy: p,
1367
+ // If we're mounting the element with a `v-if` then we need to auto update it while it's mounted
1368
+ ...n.isHidden === null ? { whileElementsMounted: Ht } : []
1369
+ });
1370
+ let h;
1371
+ ot(
1372
+ () => n.isHidden,
1373
+ () => {
1374
+ n.isHidden !== null && !n.isHidden ? h = Ht(c == null ? void 0 : c.value, a == null ? void 0 : a.value, w) : n.isHidden !== null && n.isHidden && typeof h == "function" && h();
1375
+ }
1376
+ ), ot(
1377
+ () => g.value,
1378
+ () => {
1379
+ s.value !== g.value && (s.value = g.value, o("placement", s.value));
1380
+ }
1381
+ );
1382
+ const v = S(() => {
1383
+ var O, A;
1384
+ return {
1385
+ position: "absolute",
1386
+ left: ((O = m.value.arrow) == null ? void 0 : O.x) != null ? `${m.value.arrow.x}px` : "",
1387
+ top: ((A = m.value.arrow) == null ? void 0 : A.y) != null ? `${m.value.arrow.y}px` : ""
1388
+ };
1389
+ }), x = S(() => {
1390
+ var O;
1391
+ return {
1392
+ class: n.arrow.classes,
1393
+ style: v.value,
1394
+ // Applies a data-hide attribute to arrow element depending on center offset.
1395
+ ...((O = m.value.arrow) == null ? void 0 : O.centerOffset) !== 0 ? { "data-hide": "" } : {}
1396
+ };
1397
+ });
1398
+ return (O, A) => (Rt(), ce(V(me), St(O.$attrs, {
1399
+ id: t.id,
1400
+ ref_key: "popperContainerRef",
1401
+ ref: l,
1402
+ class: "b-popper-container",
1403
+ "data-popper-placement": V(g),
1404
+ disabled: t.disabledFocusTrap,
1405
+ style: V(f),
1406
+ role: t.ariaRole,
1407
+ "trap-all": t.trapAll,
1408
+ "trap-all-options": t.trapAllOptions
1409
+ }), {
1410
+ default: ae(() => [
1411
+ fe(O.$slots, "default", {}, void 0, !0),
1412
+ n.arrow ? (Rt(), ue("span", St({ key: 0 }, x.value, {
1413
+ ref_key: "floatingArrow",
1414
+ ref: r,
1415
+ class: "b-popper-container__arrow",
1416
+ "data-testid": "arrow"
1417
+ }), null, 16)) : de("", !0)
1418
+ ]),
1419
+ _: 3
1420
+ }, 16, ["id", "data-popper-placement", "disabled", "style", "role", "trap-all", "trap-all-options"]));
1421
+ }
1422
+ }), Rn = /* @__PURE__ */ pe(xn, [["__scopeId", "data-v-78f222b8"]]);
1423
+ export {
1424
+ Rn as P,
1425
+ ee as a,
1426
+ Wt as b,
1427
+ Zt as c,
1428
+ te as d,
1429
+ Tn as h,
1430
+ sn as o
1431
+ };
1432
+ //# sourceMappingURL=popper-container.BefZxTzP.js.map