@adyen/bento-vue3 1.60.0 → 1.60.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 (581) hide show
  1. package/dist/@types/components.d.ts +201 -0
  2. package/dist/@types/index.d.ts +17835 -0
  3. package/dist/@types/use-form-v4.d.ts +86 -0
  4. package/dist/accordion.js +6 -0
  5. package/dist/accordion.js.map +1 -0
  6. package/dist/action-bar.js +5 -0
  7. package/dist/action-bar.js.map +1 -0
  8. package/dist/alert.js +8 -0
  9. package/dist/alert.js.map +1 -0
  10. package/dist/assets/accordion-item.css +1 -0
  11. package/dist/assets/action-bar.css +1 -0
  12. package/dist/assets/alert.css +1 -0
  13. package/dist/assets/avatar.css +1 -0
  14. package/dist/assets/base-button.css +1 -0
  15. package/dist/assets/base-modal.css +1 -0
  16. package/dist/assets/button-actions-with-menu.css +1 -0
  17. package/dist/assets/button-actions.css +1 -0
  18. package/dist/assets/button.css +1 -0
  19. package/dist/assets/calendar.css +1 -0
  20. package/dist/assets/card.css +1 -0
  21. package/dist/assets/checkbox-group.css +1 -0
  22. package/dist/assets/checkbox-input.css +1 -0
  23. package/dist/assets/checkbox.css +1 -0
  24. package/dist/assets/chip.css +1 -0
  25. package/dist/assets/code-snippet.css +1 -0
  26. package/dist/assets/controls-group.css +1 -0
  27. package/dist/assets/copy.css +1 -0
  28. package/dist/assets/country.css +1 -0
  29. package/dist/assets/currency.css +1 -0
  30. package/dist/assets/dashboard-section.css +1 -0
  31. package/dist/assets/dashed-underline.css +1 -0
  32. package/dist/assets/data-grid-template.css +1 -0
  33. package/dist/assets/data-grid.css +1 -0
  34. package/dist/assets/date-picker.css +1 -0
  35. package/dist/assets/date-range-picker.css +1 -0
  36. package/dist/assets/date.css +1 -0
  37. package/dist/assets/dialog-page.css +1 -0
  38. package/dist/assets/divider.css +1 -0
  39. package/dist/assets/dropdown-default-textbox.css +1 -0
  40. package/dist/assets/dropdown-tag.css +1 -0
  41. package/dist/assets/dropdown.css +1 -0
  42. package/dist/assets/empty-state.css +1 -0
  43. package/dist/assets/error-message.css +1 -0
  44. package/dist/assets/file-uploader.css +1 -0
  45. package/dist/assets/filter-bar.css +1 -0
  46. package/dist/assets/fixed-scroller.css +1 -0
  47. package/dist/assets/focus-trap.css +1 -0
  48. package/dist/assets/footer-actions.css +1 -0
  49. package/dist/assets/form-layout-title.css +1 -0
  50. package/dist/assets/grid-layout.css +1 -0
  51. package/dist/assets/header-with-views.css +1 -0
  52. package/dist/assets/header.css +1 -0
  53. package/dist/assets/info-icon-with-popover.css +1 -0
  54. package/dist/assets/info-icon.css +1 -0
  55. package/dist/assets/input-field-password.css +1 -0
  56. package/dist/assets/input-field-phone-number.css +1 -0
  57. package/dist/assets/input-field.css +1 -0
  58. package/dist/assets/inspector.css +1 -0
  59. package/dist/assets/layout-row.css +1 -0
  60. package/dist/assets/link.css +1 -0
  61. package/dist/assets/listbox-option-tag.css +1 -0
  62. package/dist/assets/loading-indicator.css +1 -0
  63. package/dist/assets/main.css +1 -0
  64. package/dist/assets/menu.css +1 -0
  65. package/dist/assets/modal-fullscreen.css +1 -0
  66. package/dist/assets/pagination.css +1 -0
  67. package/dist/assets/payment-method.css +1 -0
  68. package/dist/assets/popover.css +1 -0
  69. package/dist/assets/popper-container.css +1 -0
  70. package/dist/assets/promo-banner.css +1 -0
  71. package/dist/assets/radio-group.css +1 -0
  72. package/dist/assets/radio-input.css +1 -0
  73. package/dist/assets/rich-text-editor.css +1 -0
  74. package/dist/assets/search-bar.css +1 -0
  75. package/dist/assets/secondary-nav.css +1 -0
  76. package/dist/assets/segmented-control.css +1 -0
  77. package/dist/assets/selection-card-group.css +1 -0
  78. package/dist/assets/sidepanel.css +1 -0
  79. package/dist/assets/status.css +1 -0
  80. package/dist/assets/step.css +1 -0
  81. package/dist/assets/structured-list-item.css +1 -0
  82. package/dist/assets/summary-grid.css +1 -0
  83. package/dist/assets/tabs.css +1 -0
  84. package/dist/assets/tag.css +1 -0
  85. package/dist/assets/teleport.css +1 -0
  86. package/dist/assets/textarea.css +1 -0
  87. package/dist/assets/timeline-item.css +1 -0
  88. package/dist/assets/toast.css +1 -0
  89. package/dist/assets/toggle-button.css +1 -0
  90. package/dist/assets/toggle.css +1 -0
  91. package/dist/assets/tooltip.css +1 -0
  92. package/dist/assets/tutorial.css +1 -0
  93. package/dist/assets/typography.css +1 -0
  94. package/dist/assets/use-cached-selected-values.css +1 -0
  95. package/dist/avatar.js +5 -0
  96. package/dist/avatar.js.map +1 -0
  97. package/dist/button.js +16 -0
  98. package/dist/button.js.map +1 -0
  99. package/dist/card.js +7 -0
  100. package/dist/card.js.map +1 -0
  101. package/dist/checkbox.js +11 -0
  102. package/dist/checkbox.js.map +1 -0
  103. package/dist/chip.js +5 -0
  104. package/dist/chip.js.map +1 -0
  105. package/dist/chunks/1-generic-use.CZhwP2Yc.js +5 -0
  106. package/dist/chunks/1-generic-use.CZhwP2Yc.js.map +1 -0
  107. package/dist/chunks/1-generic-use.R6x8PEGA.js +5 -0
  108. package/dist/chunks/1-generic-use.R6x8PEGA.js.map +1 -0
  109. package/dist/chunks/2-generic-use.CNKjB4B7.js +5 -0
  110. package/dist/chunks/2-generic-use.CNKjB4B7.js.map +1 -0
  111. package/dist/chunks/2-generic-use.w0fUhovx.js +5 -0
  112. package/dist/chunks/2-generic-use.w0fUhovx.js.map +1 -0
  113. package/dist/chunks/3-generic-use.BLEzR04g.js +5 -0
  114. package/dist/chunks/3-generic-use.BLEzR04g.js.map +1 -0
  115. package/dist/chunks/3-generic-use.D3NFHgI4.js +5 -0
  116. package/dist/chunks/3-generic-use.D3NFHgI4.js.map +1 -0
  117. package/dist/chunks/4-generic-use.CULEpvgj.js +5 -0
  118. package/dist/chunks/4-generic-use.CULEpvgj.js.map +1 -0
  119. package/dist/chunks/4-generic-use.D82y3n39.js +5 -0
  120. package/dist/chunks/4-generic-use.D82y3n39.js.map +1 -0
  121. package/dist/chunks/_commonjsHelpers.C6fGbg64.js +7 -0
  122. package/dist/chunks/_commonjsHelpers.C6fGbg64.js.map +1 -0
  123. package/dist/chunks/_plugin-vue_export-helper.CHgC5LLL.js +10 -0
  124. package/dist/chunks/_plugin-vue_export-helper.CHgC5LLL.js.map +1 -0
  125. package/dist/chunks/accordion-item.CihL7JaZ.js +142 -0
  126. package/dist/chunks/accordion-item.CihL7JaZ.js.map +1 -0
  127. package/dist/chunks/action-bar.BDF61iH-.js +203 -0
  128. package/dist/chunks/action-bar.BDF61iH-.js.map +1 -0
  129. package/dist/chunks/adding-payment-methods.BJZLPxtM.js +5 -0
  130. package/dist/chunks/adding-payment-methods.BJZLPxtM.js.map +1 -0
  131. package/dist/chunks/adding-payment-methods.Dle8zt43.js +5 -0
  132. package/dist/chunks/adding-payment-methods.Dle8zt43.js.map +1 -0
  133. package/dist/chunks/adyen-giving.Ffw_DlJK.js +5 -0
  134. package/dist/chunks/adyen-giving.Ffw_DlJK.js.map +1 -0
  135. package/dist/chunks/adyen-giving.LiKHj_jY.js +5 -0
  136. package/dist/chunks/adyen-giving.LiKHj_jY.js.map +1 -0
  137. package/dist/chunks/alert.CjegN2iG.js +169 -0
  138. package/dist/chunks/alert.CjegN2iG.js.map +1 -0
  139. package/dist/chunks/aria-label.CaUURpnB.js +13 -0
  140. package/dist/chunks/aria-label.CaUURpnB.js.map +1 -0
  141. package/dist/chunks/avatar.B0-9jC6H.js +94 -0
  142. package/dist/chunks/avatar.B0-9jC6H.js.map +1 -0
  143. package/dist/chunks/base-button.DdNFlbgH.js +115 -0
  144. package/dist/chunks/base-button.DdNFlbgH.js.map +1 -0
  145. package/dist/chunks/base-modal.D2tNbxw3.js +504 -0
  146. package/dist/chunks/base-modal.D2tNbxw3.js.map +1 -0
  147. package/dist/chunks/base-modal.keys.C2PQXcE2.js +5 -0
  148. package/dist/chunks/base-modal.keys.C2PQXcE2.js.map +1 -0
  149. package/dist/chunks/bin.CA6UQCNZ.js +37 -0
  150. package/dist/chunks/bin.CA6UQCNZ.js.map +1 -0
  151. package/dist/chunks/button-actions-with-menu.DG5t9zB7.js +174 -0
  152. package/dist/chunks/button-actions-with-menu.DG5t9zB7.js.map +1 -0
  153. package/dist/chunks/button-actions.1MReMMnL.js +264 -0
  154. package/dist/chunks/button-actions.1MReMMnL.js.map +1 -0
  155. package/dist/chunks/button.CVZJTZv0.js +120 -0
  156. package/dist/chunks/button.CVZJTZv0.js.map +1 -0
  157. package/dist/chunks/calendar.ugV5Vzqs.js +1290 -0
  158. package/dist/chunks/calendar.ugV5Vzqs.js.map +1 -0
  159. package/dist/chunks/card.dF_i6neN.js +213 -0
  160. package/dist/chunks/card.dF_i6neN.js.map +1 -0
  161. package/dist/chunks/checkbox-group.DtXPnGyr.js +192 -0
  162. package/dist/chunks/checkbox-group.DtXPnGyr.js.map +1 -0
  163. package/dist/chunks/checkbox-input.DVayucaL.js +168 -0
  164. package/dist/chunks/checkbox-input.DVayucaL.js.map +1 -0
  165. package/dist/chunks/checkbox.B-jC5L05.js +253 -0
  166. package/dist/chunks/checkbox.B-jC5L05.js.map +1 -0
  167. package/dist/chunks/checkmark-circle-fill.jicbqe7k.js +44 -0
  168. package/dist/chunks/checkmark-circle-fill.jicbqe7k.js.map +1 -0
  169. package/dist/chunks/checkmark-small.D7l69yBf.js +29 -0
  170. package/dist/chunks/checkmark-small.D7l69yBf.js.map +1 -0
  171. package/dist/chunks/chevron-left.BF63HtOH.js +52 -0
  172. package/dist/chunks/chevron-left.BF63HtOH.js.map +1 -0
  173. package/dist/chunks/chevron-up.-0oLlHmh.js +52 -0
  174. package/dist/chunks/chevron-up.-0oLlHmh.js.map +1 -0
  175. package/dist/chunks/chip.BVCzNGaI.js +71 -0
  176. package/dist/chunks/chip.BVCzNGaI.js.map +1 -0
  177. package/dist/chunks/click-outside.C1Ud8AA2.js +23 -0
  178. package/dist/chunks/click-outside.C1Ud8AA2.js.map +1 -0
  179. package/dist/chunks/code-snippet.iD36_pOw.js +334 -0
  180. package/dist/chunks/code-snippet.iD36_pOw.js.map +1 -0
  181. package/dist/chunks/codemirror.Zv80n3Z2.js +14628 -0
  182. package/dist/chunks/codemirror.Zv80n3Z2.js.map +1 -0
  183. package/dist/chunks/controls-group.BX2GxXvb.js +98 -0
  184. package/dist/chunks/controls-group.BX2GxXvb.js.map +1 -0
  185. package/dist/chunks/copy.jE0EciK8.js +156 -0
  186. package/dist/chunks/copy.jE0EciK8.js.map +1 -0
  187. package/dist/chunks/country.BhAcCmRx.js +99 -0
  188. package/dist/chunks/country.BhAcCmRx.js.map +1 -0
  189. package/dist/chunks/country.types.C0Q_hhgJ.js +269 -0
  190. package/dist/chunks/country.types.C0Q_hhgJ.js.map +1 -0
  191. package/dist/chunks/cross-circle-fill-small.mY6ihJcA.js +29 -0
  192. package/dist/chunks/cross-circle-fill-small.mY6ihJcA.js.map +1 -0
  193. package/dist/chunks/cross-circle-fill.B7YpDLTK.js +44 -0
  194. package/dist/chunks/cross-circle-fill.B7YpDLTK.js.map +1 -0
  195. package/dist/chunks/cross-small.CFrBIeYK.js +29 -0
  196. package/dist/chunks/cross-small.CFrBIeYK.js.map +1 -0
  197. package/dist/chunks/cross.CbLEjiVy.js +29 -0
  198. package/dist/chunks/cross.CbLEjiVy.js.map +1 -0
  199. package/dist/chunks/currency.DagWnTry.js +109 -0
  200. package/dist/chunks/currency.DagWnTry.js.map +1 -0
  201. package/dist/chunks/dashboard-section.Bq1abySA.js +165 -0
  202. package/dist/chunks/dashboard-section.Bq1abySA.js.map +1 -0
  203. package/dist/chunks/dashed-underline.DweJIpuJ.js +98 -0
  204. package/dist/chunks/dashed-underline.DweJIpuJ.js.map +1 -0
  205. package/dist/chunks/data-grid-template.UkERMC7S.js +143 -0
  206. package/dist/chunks/data-grid-template.UkERMC7S.js.map +1 -0
  207. package/dist/chunks/data-grid-template.keys.2_AkxuNT.js +5 -0
  208. package/dist/chunks/data-grid-template.keys.2_AkxuNT.js.map +1 -0
  209. package/dist/chunks/data-grid.o4emi6FA.js +3646 -0
  210. package/dist/chunks/data-grid.o4emi6FA.js.map +1 -0
  211. package/dist/chunks/date-input.BqBdAO1E.js +17 -0
  212. package/dist/chunks/date-input.BqBdAO1E.js.map +1 -0
  213. package/dist/chunks/date-picker.BPLtpBbX.js +315 -0
  214. package/dist/chunks/date-picker.BPLtpBbX.js.map +1 -0
  215. package/dist/chunks/date-range-picker.BYvj1y8T.js +1181 -0
  216. package/dist/chunks/date-range-picker.BYvj1y8T.js.map +1 -0
  217. package/dist/chunks/date.CKXySBQv.js +995 -0
  218. package/dist/chunks/date.CKXySBQv.js.map +1 -0
  219. package/dist/chunks/debounce.DUTu11PS.js +10 -0
  220. package/dist/chunks/debounce.DUTu11PS.js.map +1 -0
  221. package/dist/chunks/dialog-page.Cngbnn1Z.js +175 -0
  222. package/dist/chunks/dialog-page.Cngbnn1Z.js.map +1 -0
  223. package/dist/chunks/directive.Cbdox5VL.js +23 -0
  224. package/dist/chunks/directive.Cbdox5VL.js.map +1 -0
  225. package/dist/chunks/divider.qUOSAbU6.js +33 -0
  226. package/dist/chunks/divider.qUOSAbU6.js.map +1 -0
  227. package/dist/chunks/dot.BW-xtyjC.js +29 -0
  228. package/dist/chunks/dot.BW-xtyjC.js.map +1 -0
  229. package/dist/chunks/dropdown-default-textbox.BNhy-QDH.js +419 -0
  230. package/dist/chunks/dropdown-default-textbox.BNhy-QDH.js.map +1 -0
  231. package/dist/chunks/dropdown-tag.DxLOtAIw.js +202 -0
  232. package/dist/chunks/dropdown-tag.DxLOtAIw.js.map +1 -0
  233. package/dist/chunks/dropdown.FJu_m8Tw.js +936 -0
  234. package/dist/chunks/dropdown.FJu_m8Tw.js.map +1 -0
  235. package/dist/chunks/empty-state.BGWjUH6G.js +185 -0
  236. package/dist/chunks/empty-state.BGWjUH6G.js.map +1 -0
  237. package/dist/chunks/error-message.Cb9-ZwSV.js +158 -0
  238. package/dist/chunks/error-message.Cb9-ZwSV.js.map +1 -0
  239. package/dist/chunks/es6.n1ewaW31.js +11 -0
  240. package/dist/chunks/es6.n1ewaW31.js.map +1 -0
  241. package/dist/chunks/events.FNmSWp_P.js +52 -0
  242. package/dist/chunks/events.FNmSWp_P.js.map +1 -0
  243. package/dist/chunks/expand.DusW7F7p.js +33 -0
  244. package/dist/chunks/expand.DusW7F7p.js.map +1 -0
  245. package/dist/chunks/file-uploader.Bp8PDPHt.js +2280 -0
  246. package/dist/chunks/file-uploader.Bp8PDPHt.js.map +1 -0
  247. package/dist/chunks/filter-bar.BRB7BjbE.js +2976 -0
  248. package/dist/chunks/filter-bar.BRB7BjbE.js.map +1 -0
  249. package/dist/chunks/fixed-scroller.BjxA_R63.js +147 -0
  250. package/dist/chunks/fixed-scroller.BjxA_R63.js.map +1 -0
  251. package/dist/chunks/focus-trap.CljZgv9i.js +500 -0
  252. package/dist/chunks/focus-trap.CljZgv9i.js.map +1 -0
  253. package/dist/chunks/footer-actions.jRnnqdse.js +110 -0
  254. package/dist/chunks/footer-actions.jRnnqdse.js.map +1 -0
  255. package/dist/chunks/form-layout-title.CsmjzAje.js +206 -0
  256. package/dist/chunks/form-layout-title.CsmjzAje.js.map +1 -0
  257. package/dist/chunks/form-layout.types.D3EKzbE7.js +5 -0
  258. package/dist/chunks/form-layout.types.D3EKzbE7.js.map +1 -0
  259. package/dist/chunks/generate-uid.NJ8tVoha.js +32 -0
  260. package/dist/chunks/generate-uid.NJ8tVoha.js.map +1 -0
  261. package/dist/chunks/get-date-locale.BN8xEjY0.js +1735 -0
  262. package/dist/chunks/get-date-locale.BN8xEjY0.js.map +1 -0
  263. package/dist/chunks/get-slot-text.DQlZEsId.js +12 -0
  264. package/dist/chunks/get-slot-text.DQlZEsId.js.map +1 -0
  265. package/dist/chunks/grid-layout.BTLE3rac.js +114 -0
  266. package/dist/chunks/grid-layout.BTLE3rac.js.map +1 -0
  267. package/dist/chunks/header-with-views.DJSGKRhj.js +2362 -0
  268. package/dist/chunks/header-with-views.DJSGKRhj.js.map +1 -0
  269. package/dist/chunks/header.BBnN_HU9.js +253 -0
  270. package/dist/chunks/header.BBnN_HU9.js.map +1 -0
  271. package/dist/chunks/i18n.B6g5VX0q.js +3131 -0
  272. package/dist/chunks/i18n.B6g5VX0q.js.map +1 -0
  273. package/dist/chunks/image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js +47 -0
  274. package/dist/chunks/image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js.map +1 -0
  275. package/dist/chunks/index.BDuTpjD8.js +40 -0
  276. package/dist/chunks/index.BDuTpjD8.js.map +1 -0
  277. package/dist/chunks/index.BxBB1rsx.js +15 -0
  278. package/dist/chunks/index.BxBB1rsx.js.map +1 -0
  279. package/dist/chunks/index.CWuzEfiV.js +6 -0
  280. package/dist/chunks/index.CWuzEfiV.js.map +1 -0
  281. package/dist/chunks/index.DD7TppDb.js +10 -0
  282. package/dist/chunks/index.DD7TppDb.js.map +1 -0
  283. package/dist/chunks/index.FNUaPG4G.js +528 -0
  284. package/dist/chunks/index.FNUaPG4G.js.map +1 -0
  285. package/dist/chunks/info-icon-with-popover.D6WFtFFY.js +97 -0
  286. package/dist/chunks/info-icon-with-popover.D6WFtFFY.js.map +1 -0
  287. package/dist/chunks/info-icon.BYCwlUzk.js +45 -0
  288. package/dist/chunks/info-icon.BYCwlUzk.js.map +1 -0
  289. package/dist/chunks/info.HK3R7Drc.js +44 -0
  290. package/dist/chunks/info.HK3R7Drc.js.map +1 -0
  291. package/dist/chunks/input-field-password.CtK2VVqL.js +366 -0
  292. package/dist/chunks/input-field-password.CtK2VVqL.js.map +1 -0
  293. package/dist/chunks/input-field-phone-number.Cf5nQpfS.js +3106 -0
  294. package/dist/chunks/input-field-phone-number.Cf5nQpfS.js.map +1 -0
  295. package/dist/chunks/input-field.C94JL_Qv.js +298 -0
  296. package/dist/chunks/input-field.C94JL_Qv.js.map +1 -0
  297. package/dist/chunks/inspector.CxNXHV8C.js +200 -0
  298. package/dist/chunks/inspector.CxNXHV8C.js.map +1 -0
  299. package/dist/chunks/inspector.types.DyHwE18g.js +5 -0
  300. package/dist/chunks/inspector.types.DyHwE18g.js.map +1 -0
  301. package/dist/chunks/internal-error.BLZodVBE.js +5 -0
  302. package/dist/chunks/internal-error.BLZodVBE.js.map +1 -0
  303. package/dist/chunks/internal-error.BmrwJFpR.js +5 -0
  304. package/dist/chunks/internal-error.BmrwJFpR.js.map +1 -0
  305. package/dist/chunks/keyboard-navigation.CqgGzfZQ.js +66 -0
  306. package/dist/chunks/keyboard-navigation.CqgGzfZQ.js.map +1 -0
  307. package/dist/chunks/layout-row.CZNtHaXd.js +100 -0
  308. package/dist/chunks/layout-row.CZNtHaXd.js.map +1 -0
  309. package/dist/chunks/link.CTH1xj0i.js +116 -0
  310. package/dist/chunks/link.CTH1xj0i.js.map +1 -0
  311. package/dist/chunks/listbox-option-tag.DNBeYvNM.js +55 -0
  312. package/dist/chunks/listbox-option-tag.DNBeYvNM.js.map +1 -0
  313. package/dist/chunks/loading-indicator.DEepb9Wl.js +44 -0
  314. package/dist/chunks/loading-indicator.DEepb9Wl.js.map +1 -0
  315. package/dist/chunks/menu.BcXV6WhV.js +768 -0
  316. package/dist/chunks/menu.BcXV6WhV.js.map +1 -0
  317. package/dist/chunks/modal-fullscreen.D93NZCBg.js +270 -0
  318. package/dist/chunks/modal-fullscreen.D93NZCBg.js.map +1 -0
  319. package/dist/chunks/modal-fullscreen.keys.CMba3hYp.js +5 -0
  320. package/dist/chunks/modal-fullscreen.keys.CMba3hYp.js.map +1 -0
  321. package/dist/chunks/modal.vue_vue_type_script_setup_true_lang.B3uzibmr.js +501 -0
  322. package/dist/chunks/modal.vue_vue_type_script_setup_true_lang.B3uzibmr.js.map +1 -0
  323. package/dist/chunks/no-results-found.Bg_ZcEid.js +5 -0
  324. package/dist/chunks/no-results-found.Bg_ZcEid.js.map +1 -0
  325. package/dist/chunks/no-results-found.BqvYsBR6.js +5 -0
  326. package/dist/chunks/no-results-found.BqvYsBR6.js.map +1 -0
  327. package/dist/chunks/notifications-cleared.BMZk37uf.js +5 -0
  328. package/dist/chunks/notifications-cleared.BMZk37uf.js.map +1 -0
  329. package/dist/chunks/notifications-cleared.C7W9ZXY7.js +5 -0
  330. package/dist/chunks/notifications-cleared.C7W9ZXY7.js.map +1 -0
  331. package/dist/chunks/on-click-outside.D9aY9g8G.js +101 -0
  332. package/dist/chunks/on-click-outside.D9aY9g8G.js.map +1 -0
  333. package/dist/chunks/page-not-found.COJLPVaU.js +5 -0
  334. package/dist/chunks/page-not-found.COJLPVaU.js.map +1 -0
  335. package/dist/chunks/page-not-found.DWW6W-PZ.js +5 -0
  336. package/dist/chunks/page-not-found.DWW6W-PZ.js.map +1 -0
  337. package/dist/chunks/pagination.rrPdG7nK.js +461 -0
  338. package/dist/chunks/pagination.rrPdG7nK.js.map +1 -0
  339. package/dist/chunks/payment-method.eazefwm6.js +125 -0
  340. package/dist/chunks/payment-method.eazefwm6.js.map +1 -0
  341. package/dist/chunks/payment-method.types.BqtH7RM2.js +5 -0
  342. package/dist/chunks/payment-method.types.BqtH7RM2.js.map +1 -0
  343. package/dist/chunks/planned-maintenance.C61sWB9h.js +5 -0
  344. package/dist/chunks/planned-maintenance.C61sWB9h.js.map +1 -0
  345. package/dist/chunks/planned-maintenance.jmWYTdet.js +5 -0
  346. package/dist/chunks/planned-maintenance.jmWYTdet.js.map +1 -0
  347. package/dist/chunks/popover.KFyR9BXF.js +350 -0
  348. package/dist/chunks/popover.KFyR9BXF.js.map +1 -0
  349. package/dist/chunks/popper-container.b5h4zYgT.js +1396 -0
  350. package/dist/chunks/popper-container.b5h4zYgT.js.map +1 -0
  351. package/dist/chunks/popper-container.types.BCZMbVFD.js +9 -0
  352. package/dist/chunks/popper-container.types.BCZMbVFD.js.map +1 -0
  353. package/dist/chunks/promo-banner.BfXfaCrf.js +126 -0
  354. package/dist/chunks/promo-banner.BfXfaCrf.js.map +1 -0
  355. package/dist/chunks/radio-group.Q8q8J7WW.js +321 -0
  356. package/dist/chunks/radio-group.Q8q8J7WW.js.map +1 -0
  357. package/dist/chunks/radio-input.DKfQGxtp.js +96 -0
  358. package/dist/chunks/radio-input.DKfQGxtp.js.map +1 -0
  359. package/dist/chunks/referrals.BvtT-kQS.js +5 -0
  360. package/dist/chunks/referrals.BvtT-kQS.js.map +1 -0
  361. package/dist/chunks/referrals.aX8WZigH.js +5 -0
  362. package/dist/chunks/referrals.aX8WZigH.js.map +1 -0
  363. package/dist/chunks/refresh.C20ROVDS.js +29 -0
  364. package/dist/chunks/refresh.C20ROVDS.js.map +1 -0
  365. package/dist/chunks/resize.Bqks3WUm.js +15 -0
  366. package/dist/chunks/resize.Bqks3WUm.js.map +1 -0
  367. package/dist/chunks/rich-text-editor.Ddt7IVXL.js +6221 -0
  368. package/dist/chunks/rich-text-editor.Ddt7IVXL.js.map +1 -0
  369. package/dist/chunks/search-bar.ZidZj4NE.js +114 -0
  370. package/dist/chunks/search-bar.ZidZj4NE.js.map +1 -0
  371. package/dist/chunks/search.CW_aTqip.js +44 -0
  372. package/dist/chunks/search.CW_aTqip.js.map +1 -0
  373. package/dist/chunks/secondary-nav.Cy2JAzoO.js +138 -0
  374. package/dist/chunks/secondary-nav.Cy2JAzoO.js.map +1 -0
  375. package/dist/chunks/segmented-control.CZpx9H-d.js +144 -0
  376. package/dist/chunks/segmented-control.CZpx9H-d.js.map +1 -0
  377. package/dist/chunks/segmented-control.types.BHRLV8KU.js +5 -0
  378. package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -0
  379. package/dist/chunks/selection-card-group.B2EoXxux.js +474 -0
  380. package/dist/chunks/selection-card-group.B2EoXxux.js.map +1 -0
  381. package/dist/chunks/show.ByWWaogc.js +64 -0
  382. package/dist/chunks/show.ByWWaogc.js.map +1 -0
  383. package/dist/chunks/sidepanel.CNA3pTXy.js +254 -0
  384. package/dist/chunks/sidepanel.CNA3pTXy.js.map +1 -0
  385. package/dist/chunks/sidepanel.keys.R0DKQuYx.js +5 -0
  386. package/dist/chunks/sidepanel.keys.R0DKQuYx.js.map +1 -0
  387. package/dist/chunks/status.types.Bdv2zuuh.js +44 -0
  388. package/dist/chunks/status.types.Bdv2zuuh.js.map +1 -0
  389. package/dist/chunks/step.7l-t-eN9.js +264 -0
  390. package/dist/chunks/step.7l-t-eN9.js.map +1 -0
  391. package/dist/chunks/structured-list-item.CLpfMbkV.js +108 -0
  392. package/dist/chunks/structured-list-item.CLpfMbkV.js.map +1 -0
  393. package/dist/chunks/success.DhioLvPD.js +5 -0
  394. package/dist/chunks/success.DhioLvPD.js.map +1 -0
  395. package/dist/chunks/success.nNwxJRBS.js +5 -0
  396. package/dist/chunks/success.nNwxJRBS.js.map +1 -0
  397. package/dist/chunks/summary-grid.keys.CxTf_FOc.js +6 -0
  398. package/dist/chunks/summary-grid.keys.CxTf_FOc.js.map +1 -0
  399. package/dist/chunks/summary-grid.types.BcicwgZm.js +466 -0
  400. package/dist/chunks/summary-grid.types.BcicwgZm.js.map +1 -0
  401. package/dist/chunks/tabs.Bn4YIjoy.js +266 -0
  402. package/dist/chunks/tabs.Bn4YIjoy.js.map +1 -0
  403. package/dist/chunks/tabs.keys.Bc2pSKRw.js +7 -0
  404. package/dist/chunks/tabs.keys.Bc2pSKRw.js.map +1 -0
  405. package/dist/chunks/tag.DwnsmTVq.js +51 -0
  406. package/dist/chunks/tag.DwnsmTVq.js.map +1 -0
  407. package/dist/chunks/teleport.CfGWjxe2.js +129 -0
  408. package/dist/chunks/teleport.CfGWjxe2.js.map +1 -0
  409. package/dist/chunks/textarea.Dl5TFi8E.js +278 -0
  410. package/dist/chunks/textarea.Dl5TFi8E.js.map +1 -0
  411. package/dist/chunks/timeline-item.CcbL86D0.js +567 -0
  412. package/dist/chunks/timeline-item.CcbL86D0.js.map +1 -0
  413. package/dist/chunks/toast.Ae5ZoWHb.js +221 -0
  414. package/dist/chunks/toast.Ae5ZoWHb.js.map +1 -0
  415. package/dist/chunks/toggle-button.Dv1t15yj.js +80 -0
  416. package/dist/chunks/toggle-button.Dv1t15yj.js.map +1 -0
  417. package/dist/chunks/toggle.hoD_i2Ey.js +161 -0
  418. package/dist/chunks/toggle.hoD_i2Ey.js.map +1 -0
  419. package/dist/chunks/tooltip.D2o0d8Xf.js +205 -0
  420. package/dist/chunks/tooltip.D2o0d8Xf.js.map +1 -0
  421. package/dist/chunks/truncate.BfIl_-71.js +8 -0
  422. package/dist/chunks/truncate.BfIl_-71.js.map +1 -0
  423. package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.Bcu-t4d8.js +423 -0
  424. package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.Bcu-t4d8.js.map +1 -0
  425. package/dist/chunks/typography.DN5eC5ch.js +83 -0
  426. package/dist/chunks/typography.DN5eC5ch.js.map +1 -0
  427. package/dist/chunks/upload-files.5wQwbfkp.js +5 -0
  428. package/dist/chunks/upload-files.5wQwbfkp.js.map +1 -0
  429. package/dist/chunks/upload-files.jTQY6y2X.js +5 -0
  430. package/dist/chunks/upload-files.jTQY6y2X.js.map +1 -0
  431. package/dist/chunks/use-bento-toast-controller.D3LA1FCd.js +50 -0
  432. package/dist/chunks/use-bento-toast-controller.D3LA1FCd.js.map +1 -0
  433. package/dist/chunks/use-cached-selected-values.Ber7lUiH.js +1475 -0
  434. package/dist/chunks/use-cached-selected-values.Ber7lUiH.js.map +1 -0
  435. package/dist/chunks/use-click-outside.BnhTgpSt.js +14 -0
  436. package/dist/chunks/use-click-outside.BnhTgpSt.js.map +1 -0
  437. package/dist/chunks/use-country-items.4kZgVg_l.js +30 -0
  438. package/dist/chunks/use-country-items.4kZgVg_l.js.map +1 -0
  439. package/dist/chunks/use-country-phon-code.DVgE19zT.js +5610 -0
  440. package/dist/chunks/use-country-phon-code.DVgE19zT.js.map +1 -0
  441. package/dist/chunks/use-default-slot-validator.O02rzsob.js +16 -0
  442. package/dist/chunks/use-default-slot-validator.O02rzsob.js.map +1 -0
  443. package/dist/chunks/use-expandable-content-height.GkjjbmPy.js +17 -0
  444. package/dist/chunks/use-expandable-content-height.GkjjbmPy.js.map +1 -0
  445. package/dist/chunks/use-form-layout-loading.D3lALhtC.js +12 -0
  446. package/dist/chunks/use-form-layout-loading.D3lALhtC.js.map +1 -0
  447. package/dist/chunks/use-has-slot.B7eQSabc.js +15 -0
  448. package/dist/chunks/use-has-slot.B7eQSabc.js.map +1 -0
  449. package/dist/chunks/warning-filled.DmHh0nYG.js +29 -0
  450. package/dist/chunks/warning-filled.DmHh0nYG.js.map +1 -0
  451. package/dist/chunks/wrong-environment.BOsyKdRI.js +5 -0
  452. package/dist/chunks/wrong-environment.BOsyKdRI.js.map +1 -0
  453. package/dist/chunks/wrong-environment.BiHTPtbJ.js +5 -0
  454. package/dist/chunks/wrong-environment.BiHTPtbJ.js.map +1 -0
  455. package/dist/click-outside.js +5 -0
  456. package/dist/click-outside.js.map +1 -0
  457. package/dist/code-snippet.js +8 -0
  458. package/dist/code-snippet.js.map +1 -0
  459. package/dist/country.js +12 -0
  460. package/dist/country.js.map +1 -0
  461. package/dist/currency.js +6 -0
  462. package/dist/currency.js.map +1 -0
  463. package/dist/dashboard-template.js +6 -0
  464. package/dist/dashboard-template.js.map +1 -0
  465. package/dist/dashed-underline.js +5 -0
  466. package/dist/dashed-underline.js.map +1 -0
  467. package/dist/data-grid-template.js +5 -0
  468. package/dist/data-grid-template.js.map +1 -0
  469. package/dist/data-grid.js +11 -0
  470. package/dist/data-grid.js.map +1 -0
  471. package/dist/date-picker.js +8 -0
  472. package/dist/date-picker.js.map +1 -0
  473. package/dist/date-range-picker.js +8 -0
  474. package/dist/date-range-picker.js.map +1 -0
  475. package/dist/date.js +6 -0
  476. package/dist/date.js.map +1 -0
  477. package/dist/divider.js +5 -0
  478. package/dist/divider.js.map +1 -0
  479. package/dist/dropdown.js +16 -0
  480. package/dist/dropdown.js.map +1 -0
  481. package/dist/empty-state.js +8 -0
  482. package/dist/empty-state.js.map +1 -0
  483. package/dist/file-uploader.js +5 -0
  484. package/dist/file-uploader.js.map +1 -0
  485. package/dist/filter-bar.js +8 -0
  486. package/dist/filter-bar.js.map +1 -0
  487. package/dist/focus-trap.js +5 -0
  488. package/dist/focus-trap.js.map +1 -0
  489. package/dist/fonts/fonts.css +2 -0
  490. package/dist/form-layout.js +8 -0
  491. package/dist/form-layout.js.map +1 -0
  492. package/dist/header-with-views.js +5 -0
  493. package/dist/header-with-views.js.map +1 -0
  494. package/dist/header.js +5 -0
  495. package/dist/header.js.map +1 -0
  496. package/dist/image.js +7 -0
  497. package/dist/image.js.map +1 -0
  498. package/dist/index.js +371 -0
  499. package/dist/index.js.map +1 -0
  500. package/dist/info-icon.js +5 -0
  501. package/dist/info-icon.js.map +1 -0
  502. package/dist/input-field-password.js +10 -0
  503. package/dist/input-field-password.js.map +1 -0
  504. package/dist/input-field-phone-number.js +5 -0
  505. package/dist/input-field-phone-number.js.map +1 -0
  506. package/dist/input-field.js +10 -0
  507. package/dist/input-field.js.map +1 -0
  508. package/dist/inspector.js +7 -0
  509. package/dist/inspector.js.map +1 -0
  510. package/dist/internal.js +43 -0
  511. package/dist/internal.js.map +1 -0
  512. package/dist/layout.js +6 -0
  513. package/dist/layout.js.map +1 -0
  514. package/dist/link.js +6 -0
  515. package/dist/link.js.map +1 -0
  516. package/dist/loading-indicator.js +6 -0
  517. package/dist/loading-indicator.js.map +1 -0
  518. package/dist/menu.js +6 -0
  519. package/dist/menu.js.map +1 -0
  520. package/dist/modal-fullscreen.js +6 -0
  521. package/dist/modal-fullscreen.js.map +1 -0
  522. package/dist/modal.js +14 -0
  523. package/dist/modal.js.map +1 -0
  524. package/dist/pagination.js +5 -0
  525. package/dist/pagination.js.map +1 -0
  526. package/dist/payment-method.js +7 -0
  527. package/dist/payment-method.js.map +1 -0
  528. package/dist/popover.js +6 -0
  529. package/dist/popover.js.map +1 -0
  530. package/dist/popper-container.js +10 -0
  531. package/dist/popper-container.js.map +1 -0
  532. package/dist/promo-banner.js +7 -0
  533. package/dist/promo-banner.js.map +1 -0
  534. package/dist/radio-group.js +9 -0
  535. package/dist/radio-group.js.map +1 -0
  536. package/dist/rich-text-editor.js +5 -0
  537. package/dist/rich-text-editor.js.map +1 -0
  538. package/dist/search-bar.js +9 -0
  539. package/dist/search-bar.js.map +1 -0
  540. package/dist/secondary-nav.js +5 -0
  541. package/dist/secondary-nav.js.map +1 -0
  542. package/dist/segmented-control.js +7 -0
  543. package/dist/segmented-control.js.map +1 -0
  544. package/dist/selection-card.js +7 -0
  545. package/dist/selection-card.js.map +1 -0
  546. package/dist/sidepanel.js +7 -0
  547. package/dist/sidepanel.js.map +1 -0
  548. package/dist/status.js +6 -0
  549. package/dist/status.js.map +1 -0
  550. package/dist/stepper.js +8 -0
  551. package/dist/stepper.js.map +1 -0
  552. package/dist/structured-list.js +6 -0
  553. package/dist/structured-list.js.map +1 -0
  554. package/dist/styles/bento-dark.css +2055 -0
  555. package/dist/styles/bento-light.css +2054 -0
  556. package/dist/styles/bento.css +2054 -0
  557. package/dist/styles/legacy.css +2209 -0
  558. package/dist/styles/styleguide.css +2109 -0
  559. package/dist/styles/utility.css +987 -0
  560. package/dist/summary-grid.js +12 -0
  561. package/dist/summary-grid.js.map +1 -0
  562. package/dist/tabs.js +6 -0
  563. package/dist/tabs.js.map +1 -0
  564. package/dist/tag.js +6 -0
  565. package/dist/tag.js.map +1 -0
  566. package/dist/textarea.js +5 -0
  567. package/dist/textarea.js.map +1 -0
  568. package/dist/timeline.js +10 -0
  569. package/dist/timeline.js.map +1 -0
  570. package/dist/toast.js +5 -0
  571. package/dist/toast.js.map +1 -0
  572. package/dist/toggle.js +7 -0
  573. package/dist/toggle.js.map +1 -0
  574. package/dist/tutorial.js +5 -0
  575. package/dist/tutorial.js.map +1 -0
  576. package/dist/typography.js +8 -0
  577. package/dist/typography.js.map +1 -0
  578. package/dist/use-form-v4.js +8300 -0
  579. package/dist/use-form-v4.js.map +1 -0
  580. package/dist/web-types.json +49 -0
  581. package/package.json +5 -5
@@ -0,0 +1,1396 @@
1
+ import { computed as P, unref as N, ref as Y, shallowRef as Qt, watch as it, getCurrentScope as Zt, onScopeDispose as te, shallowReadonly as tt, defineComponent as ee, toRefs as ne, createBlock as oe, openBlock as Et, mergeProps as St, withCtx as ie, renderSlot as re, createElementBlock as se, createCommentVNode as le } from "vue";
2
+ import { B as ce } from "./focus-trap.CljZgv9i.js";
3
+ import { c as Tt, b as ae } from "./popper-container.types.BCZMbVFD.js";
4
+ import { _ as fe } from "./_plugin-vue_export-helper.CHgC5LLL.js";
5
+ import "../assets/popper-container.css";
6
+ const Vt = ["top", "right", "bottom", "left"], Lt = ["start", "end"], Dt = /* @__PURE__ */ Vt.reduce((t, e) => t.concat(e, e + "-" + Lt[0], e + "-" + Lt[1]), []), nt = Math.min, K = Math.max, at = Math.round, ct = Math.floor, B = (t) => ({
7
+ x: t,
8
+ y: t
9
+ }), ue = {
10
+ left: "right",
11
+ right: "left",
12
+ bottom: "top",
13
+ top: "bottom"
14
+ }, de = {
15
+ start: "end",
16
+ end: "start"
17
+ };
18
+ function wt(t, e, n) {
19
+ return K(t, nt(e, n));
20
+ }
21
+ function Q(t, e) {
22
+ return typeof t == "function" ? t(e) : t;
23
+ }
24
+ function I(t) {
25
+ return t.split("-")[0];
26
+ }
27
+ function M(t) {
28
+ return t.split("-")[1];
29
+ }
30
+ function Nt(t) {
31
+ return t === "x" ? "y" : "x";
32
+ }
33
+ function xt(t) {
34
+ return t === "y" ? "height" : "width";
35
+ }
36
+ function G(t) {
37
+ return ["top", "bottom"].includes(I(t)) ? "y" : "x";
38
+ }
39
+ function bt(t) {
40
+ return Nt(G(t));
41
+ }
42
+ function It(t, e, n) {
43
+ n === void 0 && (n = !1);
44
+ const o = M(t), i = bt(t), s = xt(i);
45
+ let r = i === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
46
+ return e.reference[s] > e.floating[s] && (r = ut(r)), [r, ut(r)];
47
+ }
48
+ function me(t) {
49
+ const e = ut(t);
50
+ return [ft(t), e, ft(e)];
51
+ }
52
+ function ft(t) {
53
+ return t.replace(/start|end/g, (e) => de[e]);
54
+ }
55
+ function pe(t, e, n) {
56
+ const o = ["left", "right"], i = ["right", "left"], s = ["top", "bottom"], r = ["bottom", "top"];
57
+ switch (t) {
58
+ case "top":
59
+ case "bottom":
60
+ return n ? e ? i : o : e ? o : i;
61
+ case "left":
62
+ case "right":
63
+ return e ? s : r;
64
+ default:
65
+ return [];
66
+ }
67
+ }
68
+ function ge(t, e, n, o) {
69
+ const i = M(t);
70
+ let s = pe(I(t), n === "start", o);
71
+ return i && (s = s.map((r) => r + "-" + i), e && (s = s.concat(s.map(ft)))), s;
72
+ }
73
+ function ut(t) {
74
+ return t.replace(/left|right|bottom|top/g, (e) => ue[e]);
75
+ }
76
+ function he(t) {
77
+ return {
78
+ top: 0,
79
+ right: 0,
80
+ bottom: 0,
81
+ left: 0,
82
+ ...t
83
+ };
84
+ }
85
+ function jt(t) {
86
+ return typeof t != "number" ? he(t) : {
87
+ top: t,
88
+ right: t,
89
+ bottom: t,
90
+ left: t
91
+ };
92
+ }
93
+ function dt(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 kt(t, e, n) {
112
+ let {
113
+ reference: o,
114
+ floating: i
115
+ } = t;
116
+ const s = G(e), r = bt(e), l = xt(r), a = I(e), c = s === "y", d = o.x + o.width / 2 - i.width / 2, u = o.y + o.height / 2 - i.height / 2, p = o[l] / 2 - i[l] / 2;
117
+ let f;
118
+ switch (a) {
119
+ case "top":
120
+ f = {
121
+ x: d,
122
+ y: o.y - i.height
123
+ };
124
+ break;
125
+ case "bottom":
126
+ f = {
127
+ x: d,
128
+ y: o.y + o.height
129
+ };
130
+ break;
131
+ case "right":
132
+ f = {
133
+ x: o.x + o.width,
134
+ y: u
135
+ };
136
+ break;
137
+ case "left":
138
+ f = {
139
+ x: o.x - i.width,
140
+ y: u
141
+ };
142
+ break;
143
+ default:
144
+ f = {
145
+ x: o.x,
146
+ y: o.y
147
+ };
148
+ }
149
+ switch (M(e)) {
150
+ case "start":
151
+ f[r] -= p * (n && c ? -1 : 1);
152
+ break;
153
+ case "end":
154
+ f[r] += p * (n && c ? -1 : 1);
155
+ break;
156
+ }
157
+ return f;
158
+ }
159
+ const we = async (t, e, n) => {
160
+ const {
161
+ placement: o = "bottom",
162
+ strategy: i = "absolute",
163
+ middleware: s = [],
164
+ platform: r
165
+ } = n, l = s.filter(Boolean), a = await (r.isRTL == null ? void 0 : r.isRTL(e));
166
+ let c = await r.getElementRects({
167
+ reference: t,
168
+ floating: e,
169
+ strategy: i
170
+ }), {
171
+ x: d,
172
+ y: u
173
+ } = kt(c, o, a), p = o, f = {}, m = 0;
174
+ for (let g = 0; g < l.length; g++) {
175
+ const {
176
+ name: v,
177
+ fn: h
178
+ } = l[g], {
179
+ x: w,
180
+ y: x,
181
+ data: O,
182
+ reset: y
183
+ } = await h({
184
+ x: d,
185
+ y: u,
186
+ initialPlacement: o,
187
+ placement: p,
188
+ strategy: i,
189
+ middlewareData: f,
190
+ rects: c,
191
+ platform: r,
192
+ elements: {
193
+ reference: t,
194
+ floating: e
195
+ }
196
+ });
197
+ d = w ?? d, u = x ?? u, f = {
198
+ ...f,
199
+ [v]: {
200
+ ...f[v],
201
+ ...O
202
+ }
203
+ }, y && m <= 50 && (m++, typeof y == "object" && (y.placement && (p = y.placement), y.rects && (c = y.rects === !0 ? await r.getElementRects({
204
+ reference: t,
205
+ floating: e,
206
+ strategy: i
207
+ }) : y.rects), {
208
+ x: d,
209
+ y: u
210
+ } = kt(c, p, a)), g = -1);
211
+ }
212
+ return {
213
+ x: d,
214
+ y: u,
215
+ placement: p,
216
+ strategy: i,
217
+ middlewareData: f
218
+ };
219
+ };
220
+ async function rt(t, e) {
221
+ var n;
222
+ e === void 0 && (e = {});
223
+ const {
224
+ x: o,
225
+ y: i,
226
+ platform: s,
227
+ rects: r,
228
+ elements: l,
229
+ strategy: a
230
+ } = t, {
231
+ boundary: c = "clippingAncestors",
232
+ rootBoundary: d = "viewport",
233
+ elementContext: u = "floating",
234
+ altBoundary: p = !1,
235
+ padding: f = 0
236
+ } = Q(e, t), m = jt(f), v = l[p ? u === "floating" ? "reference" : "floating" : u], h = dt(await s.getClippingRect({
237
+ element: (n = await (s.isElement == null ? void 0 : s.isElement(v))) == null || n ? v : v.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(l.floating)),
238
+ boundary: c,
239
+ rootBoundary: d,
240
+ strategy: a
241
+ })), w = u === "floating" ? {
242
+ x: o,
243
+ y: i,
244
+ width: r.floating.width,
245
+ height: r.floating.height
246
+ } : r.reference, x = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(l.floating)), O = await (s.isElement == null ? void 0 : s.isElement(x)) ? await (s.getScale == null ? void 0 : s.getScale(x)) || {
247
+ x: 1,
248
+ y: 1
249
+ } : {
250
+ x: 1,
251
+ y: 1
252
+ }, y = dt(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
253
+ elements: l,
254
+ rect: w,
255
+ offsetParent: x,
256
+ strategy: a
257
+ }) : w);
258
+ return {
259
+ top: (h.top - y.top + m.top) / O.y,
260
+ bottom: (y.bottom - h.bottom + m.bottom) / O.y,
261
+ left: (h.left - y.left + m.left) / O.x,
262
+ right: (y.right - h.right + m.right) / O.x
263
+ };
264
+ }
265
+ const ve = (t) => ({
266
+ name: "arrow",
267
+ options: t,
268
+ async fn(e) {
269
+ const {
270
+ x: n,
271
+ y: o,
272
+ placement: i,
273
+ rects: s,
274
+ platform: r,
275
+ elements: l,
276
+ middlewareData: a
277
+ } = e, {
278
+ element: c,
279
+ padding: d = 0
280
+ } = Q(t, e) || {};
281
+ if (c == null)
282
+ return {};
283
+ const u = jt(d), p = {
284
+ x: n,
285
+ y: o
286
+ }, f = bt(i), m = xt(f), g = await r.getDimensions(c), v = f === "y", h = v ? "top" : "left", w = v ? "bottom" : "right", x = v ? "clientHeight" : "clientWidth", O = s.reference[m] + s.reference[f] - p[f] - s.floating[m], y = p[f] - s.reference[f], R = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(c));
287
+ let b = R ? R[x] : 0;
288
+ (!b || !await (r.isElement == null ? void 0 : r.isElement(R))) && (b = l.floating[x] || s.floating[m]);
289
+ const H = O / 2 - y / 2, C = b / 2 - g[m] / 2 - 1, A = nt(u[h], C), S = nt(u[w], C), W = A, q = b - g[m] - S, k = b / 2 - g[m] / 2 + H, T = wt(W, k, q), X = !a.arrow && M(i) != null && k !== T && s.reference[m] / 2 - (k < W ? A : S) - g[m] / 2 < 0, V = X ? k < W ? k - W : k - q : 0;
290
+ return {
291
+ [f]: p[f] + V,
292
+ data: {
293
+ [f]: T,
294
+ centerOffset: k - T - V,
295
+ ...X && {
296
+ alignmentOffset: V
297
+ }
298
+ },
299
+ reset: X
300
+ };
301
+ }
302
+ });
303
+ function ye(t, e, n) {
304
+ return (t ? [...n.filter((i) => M(i) === t), ...n.filter((i) => M(i) !== t)] : n.filter((i) => I(i) === i)).filter((i) => t ? M(i) === t || (e ? ft(i) !== i : !1) : !0);
305
+ }
306
+ const xe = function(t) {
307
+ return t === void 0 && (t = {}), {
308
+ name: "autoPlacement",
309
+ options: t,
310
+ async fn(e) {
311
+ var n, o, i;
312
+ const {
313
+ rects: s,
314
+ middlewareData: r,
315
+ placement: l,
316
+ platform: a,
317
+ elements: c
318
+ } = e, {
319
+ crossAxis: d = !1,
320
+ alignment: u,
321
+ allowedPlacements: p = Dt,
322
+ autoAlignment: f = !0,
323
+ ...m
324
+ } = Q(t, e), g = u !== void 0 || p === Dt ? ye(u || null, f, p) : p, v = await rt(e, m), h = ((n = r.autoPlacement) == null ? void 0 : n.index) || 0, w = g[h];
325
+ if (w == null)
326
+ return {};
327
+ const x = It(w, s, await (a.isRTL == null ? void 0 : a.isRTL(c.floating)));
328
+ if (l !== w)
329
+ return {
330
+ reset: {
331
+ placement: g[0]
332
+ }
333
+ };
334
+ const O = [v[I(w)], v[x[0]], v[x[1]]], y = [...((o = r.autoPlacement) == null ? void 0 : o.overflows) || [], {
335
+ placement: w,
336
+ overflows: O
337
+ }], R = g[h + 1];
338
+ if (R)
339
+ return {
340
+ data: {
341
+ index: h + 1,
342
+ overflows: y
343
+ },
344
+ reset: {
345
+ placement: R
346
+ }
347
+ };
348
+ const b = y.map((A) => {
349
+ const S = M(A.placement);
350
+ return [A.placement, S && d ? (
351
+ // Check along the mainAxis and main crossAxis side.
352
+ A.overflows.slice(0, 2).reduce((W, q) => W + q, 0)
353
+ ) : (
354
+ // Check only the mainAxis.
355
+ A.overflows[0]
356
+ ), A.overflows];
357
+ }).sort((A, S) => A[1] - S[1]), C = ((i = b.filter((A) => A[2].slice(
358
+ 0,
359
+ // Aligned placements should not check their opposite crossAxis
360
+ // side.
361
+ M(A[0]) ? 2 : 3
362
+ ).every((S) => S <= 0))[0]) == null ? void 0 : i[0]) || b[0][0];
363
+ return C !== l ? {
364
+ data: {
365
+ index: h + 1,
366
+ overflows: y
367
+ },
368
+ reset: {
369
+ placement: C
370
+ }
371
+ } : {};
372
+ }
373
+ };
374
+ }, be = function(t) {
375
+ return t === void 0 && (t = {}), {
376
+ name: "flip",
377
+ options: t,
378
+ async fn(e) {
379
+ var n, o;
380
+ const {
381
+ placement: i,
382
+ middlewareData: s,
383
+ rects: r,
384
+ initialPlacement: l,
385
+ platform: a,
386
+ elements: c
387
+ } = e, {
388
+ mainAxis: d = !0,
389
+ crossAxis: u = !0,
390
+ fallbackPlacements: p,
391
+ fallbackStrategy: f = "bestFit",
392
+ fallbackAxisSideDirection: m = "none",
393
+ flipAlignment: g = !0,
394
+ ...v
395
+ } = Q(t, e);
396
+ if ((n = s.arrow) != null && n.alignmentOffset)
397
+ return {};
398
+ const h = I(i), w = G(l), x = I(l) === l, O = await (a.isRTL == null ? void 0 : a.isRTL(c.floating)), y = p || (x || !g ? [ut(l)] : me(l)), R = m !== "none";
399
+ !p && R && y.push(...ge(l, g, m, O));
400
+ const b = [l, ...y], H = await rt(e, v), C = [];
401
+ let A = ((o = s.flip) == null ? void 0 : o.overflows) || [];
402
+ if (d && C.push(H[h]), u) {
403
+ const T = It(i, r, O);
404
+ C.push(H[T[0]], H[T[1]]);
405
+ }
406
+ if (A = [...A, {
407
+ placement: i,
408
+ overflows: C
409
+ }], !C.every((T) => T <= 0)) {
410
+ var S, W;
411
+ const T = (((S = s.flip) == null ? void 0 : S.index) || 0) + 1, X = b[T];
412
+ if (X) {
413
+ var q;
414
+ const j = u === "alignment" ? w !== G(X) : !1, F = ((q = A[0]) == null ? void 0 : q.overflows[0]) > 0;
415
+ if (!j || F)
416
+ return {
417
+ data: {
418
+ index: T,
419
+ overflows: A
420
+ },
421
+ reset: {
422
+ placement: X
423
+ }
424
+ };
425
+ }
426
+ let V = (W = A.filter((j) => j.overflows[0] <= 0).sort((j, F) => j.overflows[1] - F.overflows[1])[0]) == null ? void 0 : W.placement;
427
+ if (!V)
428
+ switch (f) {
429
+ case "bestFit": {
430
+ var k;
431
+ const j = (k = A.filter((F) => {
432
+ if (R) {
433
+ const z = G(F.placement);
434
+ return z === w || // Create a bias to the `y` side axis due to horizontal
435
+ // reading directions favoring greater width.
436
+ z === "y";
437
+ }
438
+ return !0;
439
+ }).map((F) => [F.placement, F.overflows.filter((z) => z > 0).reduce((z, Jt) => z + Jt, 0)]).sort((F, z) => F[1] - z[1])[0]) == null ? void 0 : k[0];
440
+ j && (V = j);
441
+ break;
442
+ }
443
+ case "initialPlacement":
444
+ V = l;
445
+ break;
446
+ }
447
+ if (i !== V)
448
+ return {
449
+ reset: {
450
+ placement: V
451
+ }
452
+ };
453
+ }
454
+ return {};
455
+ }
456
+ };
457
+ };
458
+ function Ft(t, e) {
459
+ return {
460
+ top: t.top - e.height,
461
+ right: t.right - e.width,
462
+ bottom: t.bottom - e.height,
463
+ left: t.left - e.width
464
+ };
465
+ }
466
+ function Bt(t) {
467
+ return Vt.some((e) => t[e] >= 0);
468
+ }
469
+ const Oe = function(t) {
470
+ return t === void 0 && (t = {}), {
471
+ name: "hide",
472
+ options: t,
473
+ async fn(e) {
474
+ const {
475
+ rects: n
476
+ } = e, {
477
+ strategy: o = "referenceHidden",
478
+ ...i
479
+ } = Q(t, e);
480
+ switch (o) {
481
+ case "referenceHidden": {
482
+ const s = await rt(e, {
483
+ ...i,
484
+ elementContext: "reference"
485
+ }), r = Ft(s, n.reference);
486
+ return {
487
+ data: {
488
+ referenceHiddenOffsets: r,
489
+ referenceHidden: Bt(r)
490
+ }
491
+ };
492
+ }
493
+ case "escaped": {
494
+ const s = await rt(e, {
495
+ ...i,
496
+ altBoundary: !0
497
+ }), r = Ft(s, n.floating);
498
+ return {
499
+ data: {
500
+ escapedOffsets: r,
501
+ escaped: Bt(r)
502
+ }
503
+ };
504
+ }
505
+ default:
506
+ return {};
507
+ }
508
+ }
509
+ };
510
+ };
511
+ async function Ae(t, e) {
512
+ const {
513
+ placement: n,
514
+ platform: o,
515
+ elements: i
516
+ } = t, s = await (o.isRTL == null ? void 0 : o.isRTL(i.floating)), r = I(n), l = M(n), a = G(n) === "y", c = ["left", "top"].includes(r) ? -1 : 1, d = s && a ? -1 : 1, u = Q(e, t);
517
+ let {
518
+ mainAxis: p,
519
+ crossAxis: f,
520
+ alignmentAxis: m
521
+ } = typeof u == "number" ? {
522
+ mainAxis: u,
523
+ crossAxis: 0,
524
+ alignmentAxis: null
525
+ } : {
526
+ mainAxis: u.mainAxis || 0,
527
+ crossAxis: u.crossAxis || 0,
528
+ alignmentAxis: u.alignmentAxis
529
+ };
530
+ return l && typeof m == "number" && (f = l === "end" ? m * -1 : m), a ? {
531
+ x: f * d,
532
+ y: p * c
533
+ } : {
534
+ x: p * c,
535
+ y: f * d
536
+ };
537
+ }
538
+ const Re = function(t) {
539
+ return t === void 0 && (t = 0), {
540
+ name: "offset",
541
+ options: t,
542
+ async fn(e) {
543
+ var n, o;
544
+ const {
545
+ x: i,
546
+ y: s,
547
+ placement: r,
548
+ middlewareData: l
549
+ } = e, a = await Ae(e, t);
550
+ return r === ((n = l.offset) == null ? void 0 : n.placement) && (o = l.arrow) != null && o.alignmentOffset ? {} : {
551
+ x: i + a.x,
552
+ y: s + a.y,
553
+ data: {
554
+ ...a,
555
+ placement: r
556
+ }
557
+ };
558
+ }
559
+ };
560
+ }, Pe = function(t) {
561
+ return t === void 0 && (t = {}), {
562
+ name: "shift",
563
+ options: t,
564
+ async fn(e) {
565
+ const {
566
+ x: n,
567
+ y: o,
568
+ placement: i
569
+ } = e, {
570
+ mainAxis: s = !0,
571
+ crossAxis: r = !1,
572
+ limiter: l = {
573
+ fn: (v) => {
574
+ let {
575
+ x: h,
576
+ y: w
577
+ } = v;
578
+ return {
579
+ x: h,
580
+ y: w
581
+ };
582
+ }
583
+ },
584
+ ...a
585
+ } = Q(t, e), c = {
586
+ x: n,
587
+ y: o
588
+ }, d = await rt(e, a), u = G(I(i)), p = Nt(u);
589
+ let f = c[p], m = c[u];
590
+ if (s) {
591
+ const v = p === "y" ? "top" : "left", h = p === "y" ? "bottom" : "right", w = f + d[v], x = f - d[h];
592
+ f = wt(w, f, x);
593
+ }
594
+ if (r) {
595
+ const v = u === "y" ? "top" : "left", h = u === "y" ? "bottom" : "right", w = m + d[v], x = m - d[h];
596
+ m = wt(w, m, x);
597
+ }
598
+ const g = l.fn({
599
+ ...e,
600
+ [p]: f,
601
+ [u]: m
602
+ });
603
+ return {
604
+ ...g,
605
+ data: {
606
+ x: g.x - n,
607
+ y: g.y - o,
608
+ enabled: {
609
+ [p]: s,
610
+ [u]: r
611
+ }
612
+ }
613
+ };
614
+ }
615
+ };
616
+ };
617
+ function mt() {
618
+ return typeof window < "u";
619
+ }
620
+ function Z(t) {
621
+ return Ot(t) ? (t.nodeName || "").toLowerCase() : "#document";
622
+ }
623
+ function E(t) {
624
+ var e;
625
+ return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
626
+ }
627
+ function _(t) {
628
+ var e;
629
+ return (e = (Ot(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
630
+ }
631
+ function Ot(t) {
632
+ return mt() ? t instanceof Node || t instanceof E(t).Node : !1;
633
+ }
634
+ function L(t) {
635
+ return mt() ? t instanceof Element || t instanceof E(t).Element : !1;
636
+ }
637
+ function $(t) {
638
+ return mt() ? t instanceof HTMLElement || t instanceof E(t).HTMLElement : !1;
639
+ }
640
+ function Mt(t) {
641
+ return !mt() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof E(t).ShadowRoot;
642
+ }
643
+ function lt(t) {
644
+ const {
645
+ overflow: e,
646
+ overflowX: n,
647
+ overflowY: o,
648
+ display: i
649
+ } = D(t);
650
+ return /auto|scroll|overlay|hidden|clip/.test(e + o + n) && !["inline", "contents"].includes(i);
651
+ }
652
+ function Ce(t) {
653
+ return ["table", "td", "th"].includes(Z(t));
654
+ }
655
+ function pt(t) {
656
+ return [":popover-open", ":modal"].some((e) => {
657
+ try {
658
+ return t.matches(e);
659
+ } catch {
660
+ return !1;
661
+ }
662
+ });
663
+ }
664
+ function At(t) {
665
+ const e = Rt(), n = L(t) ? D(t) : t;
666
+ return ["transform", "translate", "scale", "rotate", "perspective"].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) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((o) => (n.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (n.contain || "").includes(o));
667
+ }
668
+ function Ee(t) {
669
+ let e = U(t);
670
+ for (; $(e) && !ot(e); ) {
671
+ if (At(e))
672
+ return e;
673
+ if (pt(e))
674
+ return null;
675
+ e = U(e);
676
+ }
677
+ return null;
678
+ }
679
+ function Rt() {
680
+ return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
681
+ }
682
+ function ot(t) {
683
+ return ["html", "body", "#document"].includes(Z(t));
684
+ }
685
+ function D(t) {
686
+ return E(t).getComputedStyle(t);
687
+ }
688
+ function gt(t) {
689
+ return L(t) ? {
690
+ scrollLeft: t.scrollLeft,
691
+ scrollTop: t.scrollTop
692
+ } : {
693
+ scrollLeft: t.scrollX,
694
+ scrollTop: t.scrollY
695
+ };
696
+ }
697
+ function U(t) {
698
+ if (Z(t) === "html")
699
+ return t;
700
+ const e = (
701
+ // Step into the shadow DOM of the parent of a slotted node.
702
+ t.assignedSlot || // DOM Element detected.
703
+ t.parentNode || // ShadowRoot detected.
704
+ Mt(t) && t.host || // Fallback.
705
+ _(t)
706
+ );
707
+ return Mt(e) ? e.host : e;
708
+ }
709
+ function zt(t) {
710
+ const e = U(t);
711
+ return ot(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : $(e) && lt(e) ? e : zt(e);
712
+ }
713
+ function st(t, e, n) {
714
+ var o;
715
+ e === void 0 && (e = []), n === void 0 && (n = !0);
716
+ const i = zt(t), s = i === ((o = t.ownerDocument) == null ? void 0 : o.body), r = E(i);
717
+ if (s) {
718
+ const l = vt(r);
719
+ return e.concat(r, r.visualViewport || [], lt(i) ? i : [], l && n ? st(l) : []);
720
+ }
721
+ return e.concat(i, st(i, [], n));
722
+ }
723
+ function vt(t) {
724
+ return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
725
+ }
726
+ function Yt(t) {
727
+ const e = D(t);
728
+ let n = parseFloat(e.width) || 0, o = parseFloat(e.height) || 0;
729
+ const i = $(t), s = i ? t.offsetWidth : n, r = i ? t.offsetHeight : o, l = at(n) !== s || at(o) !== r;
730
+ return l && (n = s, o = r), {
731
+ width: n,
732
+ height: o,
733
+ $: l
734
+ };
735
+ }
736
+ function Pt(t) {
737
+ return L(t) ? t : t.contextElement;
738
+ }
739
+ function et(t) {
740
+ const e = Pt(t);
741
+ if (!$(e))
742
+ return B(1);
743
+ const n = e.getBoundingClientRect(), {
744
+ width: o,
745
+ height: i,
746
+ $: s
747
+ } = Yt(e);
748
+ let r = (s ? at(n.width) : n.width) / o, l = (s ? at(n.height) : n.height) / i;
749
+ return (!r || !Number.isFinite(r)) && (r = 1), (!l || !Number.isFinite(l)) && (l = 1), {
750
+ x: r,
751
+ y: l
752
+ };
753
+ }
754
+ const Se = /* @__PURE__ */ B(0);
755
+ function Ut(t) {
756
+ const e = E(t);
757
+ return !Rt() || !e.visualViewport ? Se : {
758
+ x: e.visualViewport.offsetLeft,
759
+ y: e.visualViewport.offsetTop
760
+ };
761
+ }
762
+ function Te(t, e, n) {
763
+ return e === void 0 && (e = !1), !n || e && n !== E(t) ? !1 : e;
764
+ }
765
+ function J(t, e, n, o) {
766
+ e === void 0 && (e = !1), n === void 0 && (n = !1);
767
+ const i = t.getBoundingClientRect(), s = Pt(t);
768
+ let r = B(1);
769
+ e && (o ? L(o) && (r = et(o)) : r = et(t));
770
+ const l = Te(s, n, o) ? Ut(s) : B(0);
771
+ let a = (i.left + l.x) / r.x, c = (i.top + l.y) / r.y, d = i.width / r.x, u = i.height / r.y;
772
+ if (s) {
773
+ const p = E(s), f = o && L(o) ? E(o) : o;
774
+ let m = p, g = vt(m);
775
+ for (; g && o && f !== m; ) {
776
+ const v = et(g), h = g.getBoundingClientRect(), w = D(g), x = h.left + (g.clientLeft + parseFloat(w.paddingLeft)) * v.x, O = h.top + (g.clientTop + parseFloat(w.paddingTop)) * v.y;
777
+ a *= v.x, c *= v.y, d *= v.x, u *= v.y, a += x, c += O, m = E(g), g = vt(m);
778
+ }
779
+ }
780
+ return dt({
781
+ width: d,
782
+ height: u,
783
+ x: a,
784
+ y: c
785
+ });
786
+ }
787
+ function Ct(t, e) {
788
+ const n = gt(t).scrollLeft;
789
+ return e ? e.left + n : J(_(t)).left + n;
790
+ }
791
+ function qt(t, e, n) {
792
+ n === void 0 && (n = !1);
793
+ const o = t.getBoundingClientRect(), i = o.left + e.scrollLeft - (n ? 0 : (
794
+ // RTL <body> scrollbar.
795
+ Ct(t, o)
796
+ )), s = o.top + e.scrollTop;
797
+ return {
798
+ x: i,
799
+ y: s
800
+ };
801
+ }
802
+ function Le(t) {
803
+ let {
804
+ elements: e,
805
+ rect: n,
806
+ offsetParent: o,
807
+ strategy: i
808
+ } = t;
809
+ const s = i === "fixed", r = _(o), l = e ? pt(e.floating) : !1;
810
+ if (o === r || l && s)
811
+ return n;
812
+ let a = {
813
+ scrollLeft: 0,
814
+ scrollTop: 0
815
+ }, c = B(1);
816
+ const d = B(0), u = $(o);
817
+ if ((u || !u && !s) && ((Z(o) !== "body" || lt(r)) && (a = gt(o)), $(o))) {
818
+ const f = J(o);
819
+ c = et(o), d.x = f.x + o.clientLeft, d.y = f.y + o.clientTop;
820
+ }
821
+ const p = r && !u && !s ? qt(r, a, !0) : B(0);
822
+ return {
823
+ width: n.width * c.x,
824
+ height: n.height * c.y,
825
+ x: n.x * c.x - a.scrollLeft * c.x + d.x + p.x,
826
+ y: n.y * c.y - a.scrollTop * c.y + d.y + p.y
827
+ };
828
+ }
829
+ function De(t) {
830
+ return Array.from(t.getClientRects());
831
+ }
832
+ function ke(t) {
833
+ const e = _(t), n = gt(t), o = t.ownerDocument.body, i = K(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), s = K(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
834
+ let r = -n.scrollLeft + Ct(t);
835
+ const l = -n.scrollTop;
836
+ return D(o).direction === "rtl" && (r += K(e.clientWidth, o.clientWidth) - i), {
837
+ width: i,
838
+ height: s,
839
+ x: r,
840
+ y: l
841
+ };
842
+ }
843
+ function Fe(t, e) {
844
+ const n = E(t), o = _(t), i = n.visualViewport;
845
+ let s = o.clientWidth, r = o.clientHeight, l = 0, a = 0;
846
+ if (i) {
847
+ s = i.width, r = i.height;
848
+ const c = Rt();
849
+ (!c || c && e === "fixed") && (l = i.offsetLeft, a = i.offsetTop);
850
+ }
851
+ return {
852
+ width: s,
853
+ height: r,
854
+ x: l,
855
+ y: a
856
+ };
857
+ }
858
+ function Be(t, e) {
859
+ const n = J(t, !0, e === "fixed"), o = n.top + t.clientTop, i = n.left + t.clientLeft, s = $(t) ? et(t) : B(1), r = t.clientWidth * s.x, l = t.clientHeight * s.y, a = i * s.x, c = o * s.y;
860
+ return {
861
+ width: r,
862
+ height: l,
863
+ x: a,
864
+ y: c
865
+ };
866
+ }
867
+ function $t(t, e, n) {
868
+ let o;
869
+ if (e === "viewport")
870
+ o = Fe(t, n);
871
+ else if (e === "document")
872
+ o = ke(_(t));
873
+ else if (L(e))
874
+ o = Be(e, n);
875
+ else {
876
+ const i = Ut(t);
877
+ o = {
878
+ x: e.x - i.x,
879
+ y: e.y - i.y,
880
+ width: e.width,
881
+ height: e.height
882
+ };
883
+ }
884
+ return dt(o);
885
+ }
886
+ function Xt(t, e) {
887
+ const n = U(t);
888
+ return n === e || !L(n) || ot(n) ? !1 : D(n).position === "fixed" || Xt(n, e);
889
+ }
890
+ function Me(t, e) {
891
+ const n = e.get(t);
892
+ if (n)
893
+ return n;
894
+ let o = st(t, [], !1).filter((l) => L(l) && Z(l) !== "body"), i = null;
895
+ const s = D(t).position === "fixed";
896
+ let r = s ? U(t) : t;
897
+ for (; L(r) && !ot(r); ) {
898
+ const l = D(r), a = At(r);
899
+ !a && l.position === "fixed" && (i = null), (s ? !a && !i : !a && l.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || lt(r) && !a && Xt(t, r)) ? o = o.filter((d) => d !== r) : i = l, r = U(r);
900
+ }
901
+ return e.set(t, o), o;
902
+ }
903
+ function $e(t) {
904
+ let {
905
+ element: e,
906
+ boundary: n,
907
+ rootBoundary: o,
908
+ strategy: i
909
+ } = t;
910
+ const r = [...n === "clippingAncestors" ? pt(e) ? [] : Me(e, this._c) : [].concat(n), o], l = r[0], a = r.reduce((c, d) => {
911
+ const u = $t(e, d, i);
912
+ return c.top = K(u.top, c.top), c.right = nt(u.right, c.right), c.bottom = nt(u.bottom, c.bottom), c.left = K(u.left, c.left), c;
913
+ }, $t(e, l, i));
914
+ return {
915
+ width: a.right - a.left,
916
+ height: a.bottom - a.top,
917
+ x: a.left,
918
+ y: a.top
919
+ };
920
+ }
921
+ function _e(t) {
922
+ const {
923
+ width: e,
924
+ height: n
925
+ } = Yt(t);
926
+ return {
927
+ width: e,
928
+ height: n
929
+ };
930
+ }
931
+ function He(t, e, n) {
932
+ const o = $(e), i = _(e), s = n === "fixed", r = J(t, !0, s, e);
933
+ let l = {
934
+ scrollLeft: 0,
935
+ scrollTop: 0
936
+ };
937
+ const a = B(0);
938
+ if (o || !o && !s)
939
+ if ((Z(e) !== "body" || lt(i)) && (l = gt(e)), o) {
940
+ const p = J(e, !0, s, e);
941
+ a.x = p.x + e.clientLeft, a.y = p.y + e.clientTop;
942
+ } else i && (a.x = Ct(i));
943
+ const c = i && !o && !s ? qt(i, l) : B(0), d = r.left + l.scrollLeft - a.x - c.x, u = r.top + l.scrollTop - a.y - c.y;
944
+ return {
945
+ x: d,
946
+ y: u,
947
+ width: r.width,
948
+ height: r.height
949
+ };
950
+ }
951
+ function ht(t) {
952
+ return D(t).position === "static";
953
+ }
954
+ function _t(t, e) {
955
+ if (!$(t) || D(t).position === "fixed")
956
+ return null;
957
+ if (e)
958
+ return e(t);
959
+ let n = t.offsetParent;
960
+ return _(t) === n && (n = n.ownerDocument.body), n;
961
+ }
962
+ function Kt(t, e) {
963
+ const n = E(t);
964
+ if (pt(t))
965
+ return n;
966
+ if (!$(t)) {
967
+ let i = U(t);
968
+ for (; i && !ot(i); ) {
969
+ if (L(i) && !ht(i))
970
+ return i;
971
+ i = U(i);
972
+ }
973
+ return n;
974
+ }
975
+ let o = _t(t, e);
976
+ for (; o && Ce(o) && ht(o); )
977
+ o = _t(o, e);
978
+ return o && ot(o) && ht(o) && !At(o) ? n : o || Ee(t) || n;
979
+ }
980
+ const We = async function(t) {
981
+ const e = this.getOffsetParent || Kt, n = this.getDimensions, o = await n(t.floating);
982
+ return {
983
+ reference: He(t.reference, await e(t.floating), t.strategy),
984
+ floating: {
985
+ x: 0,
986
+ y: 0,
987
+ width: o.width,
988
+ height: o.height
989
+ }
990
+ };
991
+ };
992
+ function Ve(t) {
993
+ return D(t).direction === "rtl";
994
+ }
995
+ const Ne = {
996
+ convertOffsetParentRelativeRectToViewportRelativeRect: Le,
997
+ getDocumentElement: _,
998
+ getClippingRect: $e,
999
+ getOffsetParent: Kt,
1000
+ getElementRects: We,
1001
+ getClientRects: De,
1002
+ getDimensions: _e,
1003
+ getScale: et,
1004
+ isElement: L,
1005
+ isRTL: Ve
1006
+ };
1007
+ function Ie(t, e) {
1008
+ let n = null, o;
1009
+ const i = _(t);
1010
+ function s() {
1011
+ var l;
1012
+ clearTimeout(o), (l = n) == null || l.disconnect(), n = null;
1013
+ }
1014
+ function r(l, a) {
1015
+ l === void 0 && (l = !1), a === void 0 && (a = 1), s();
1016
+ const {
1017
+ left: c,
1018
+ top: d,
1019
+ width: u,
1020
+ height: p
1021
+ } = t.getBoundingClientRect();
1022
+ if (l || e(), !u || !p)
1023
+ return;
1024
+ const f = ct(d), m = ct(i.clientWidth - (c + u)), g = ct(i.clientHeight - (d + p)), v = ct(c), w = {
1025
+ rootMargin: -f + "px " + -m + "px " + -g + "px " + -v + "px",
1026
+ threshold: K(0, nt(1, a)) || 1
1027
+ };
1028
+ let x = !0;
1029
+ function O(y) {
1030
+ const R = y[0].intersectionRatio;
1031
+ if (R !== a) {
1032
+ if (!x)
1033
+ return r();
1034
+ R ? r(!1, R) : o = setTimeout(() => {
1035
+ r(!1, 1e-7);
1036
+ }, 1e3);
1037
+ }
1038
+ x = !1;
1039
+ }
1040
+ try {
1041
+ n = new IntersectionObserver(O, {
1042
+ ...w,
1043
+ // Handle <iframe>s
1044
+ root: i.ownerDocument
1045
+ });
1046
+ } catch {
1047
+ n = new IntersectionObserver(O, w);
1048
+ }
1049
+ n.observe(t);
1050
+ }
1051
+ return r(!0), s;
1052
+ }
1053
+ function Ht(t, e, n, o) {
1054
+ o === void 0 && (o = {});
1055
+ const {
1056
+ ancestorScroll: i = !0,
1057
+ ancestorResize: s = !0,
1058
+ elementResize: r = typeof ResizeObserver == "function",
1059
+ layoutShift: l = typeof IntersectionObserver == "function",
1060
+ animationFrame: a = !1
1061
+ } = o, c = Pt(t), d = i || s ? [...c ? st(c) : [], ...st(e)] : [];
1062
+ d.forEach((h) => {
1063
+ i && h.addEventListener("scroll", n, {
1064
+ passive: !0
1065
+ }), s && h.addEventListener("resize", n);
1066
+ });
1067
+ const u = c && l ? Ie(c, n) : null;
1068
+ let p = -1, f = null;
1069
+ r && (f = new ResizeObserver((h) => {
1070
+ let [w] = h;
1071
+ w && w.target === c && f && (f.unobserve(e), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
1072
+ var x;
1073
+ (x = f) == null || x.observe(e);
1074
+ })), n();
1075
+ }), c && !a && f.observe(c), f.observe(e));
1076
+ let m, g = a ? J(t) : null;
1077
+ a && v();
1078
+ function v() {
1079
+ const h = J(t);
1080
+ g && (h.x !== g.x || h.y !== g.y || h.width !== g.width || h.height !== g.height) && n(), g = h, m = requestAnimationFrame(v);
1081
+ }
1082
+ return n(), () => {
1083
+ var h;
1084
+ d.forEach((w) => {
1085
+ i && w.removeEventListener("scroll", n), s && w.removeEventListener("resize", n);
1086
+ }), u == null || u(), (h = f) == null || h.disconnect(), f = null, a && cancelAnimationFrame(m);
1087
+ };
1088
+ }
1089
+ const je = Re, ze = xe, Ye = Pe, Ue = be, cn = Oe, qe = ve, Xe = (t, e, n) => {
1090
+ const o = /* @__PURE__ */ new Map(), i = {
1091
+ platform: Ne,
1092
+ ...n
1093
+ }, s = {
1094
+ ...i.platform,
1095
+ _c: o
1096
+ };
1097
+ return we(t, e, {
1098
+ ...i,
1099
+ platform: s
1100
+ });
1101
+ };
1102
+ function Ke(t) {
1103
+ return t != null && typeof t == "object" && "$el" in t;
1104
+ }
1105
+ function yt(t) {
1106
+ if (Ke(t)) {
1107
+ const e = t.$el;
1108
+ return Ot(e) && Z(e) === "#comment" ? null : e;
1109
+ }
1110
+ return t;
1111
+ }
1112
+ function Ge(t) {
1113
+ return {
1114
+ name: "arrow",
1115
+ options: t,
1116
+ fn(e) {
1117
+ const n = yt(N(t.element));
1118
+ return n == null ? {} : qe({
1119
+ element: n,
1120
+ padding: t.padding
1121
+ }).fn(e);
1122
+ }
1123
+ };
1124
+ }
1125
+ function Gt(t) {
1126
+ return typeof window > "u" ? 1 : (t.ownerDocument.defaultView || window).devicePixelRatio || 1;
1127
+ }
1128
+ function Wt(t, e) {
1129
+ const n = Gt(t);
1130
+ return Math.round(e * n) / n;
1131
+ }
1132
+ function Je(t, e, n) {
1133
+ n === void 0 && (n = {});
1134
+ const o = n.whileElementsMounted, i = P(() => {
1135
+ var b;
1136
+ return (b = N(n.open)) != null ? b : !0;
1137
+ }), s = P(() => N(n.middleware)), r = P(() => {
1138
+ var b;
1139
+ return (b = N(n.placement)) != null ? b : "bottom";
1140
+ }), l = P(() => {
1141
+ var b;
1142
+ return (b = N(n.strategy)) != null ? b : "absolute";
1143
+ }), a = P(() => {
1144
+ var b;
1145
+ return (b = N(n.transform)) != null ? b : !0;
1146
+ }), c = P(() => yt(t.value)), d = P(() => yt(e.value)), u = Y(0), p = Y(0), f = Y(l.value), m = Y(r.value), g = Qt({}), v = Y(!1), h = P(() => {
1147
+ const b = {
1148
+ position: f.value,
1149
+ left: "0",
1150
+ top: "0"
1151
+ };
1152
+ if (!d.value)
1153
+ return b;
1154
+ const H = Wt(d.value, u.value), C = Wt(d.value, p.value);
1155
+ return a.value ? {
1156
+ ...b,
1157
+ transform: "translate(" + H + "px, " + C + "px)",
1158
+ ...Gt(d.value) >= 1.5 && {
1159
+ willChange: "transform"
1160
+ }
1161
+ } : {
1162
+ position: f.value,
1163
+ left: H + "px",
1164
+ top: C + "px"
1165
+ };
1166
+ });
1167
+ let w;
1168
+ function x() {
1169
+ c.value == null || d.value == null || Xe(c.value, d.value, {
1170
+ middleware: s.value,
1171
+ placement: r.value,
1172
+ strategy: l.value
1173
+ }).then((b) => {
1174
+ u.value = b.x, p.value = b.y, f.value = b.strategy, m.value = b.placement, g.value = b.middlewareData, v.value = !0;
1175
+ });
1176
+ }
1177
+ function O() {
1178
+ typeof w == "function" && (w(), w = void 0);
1179
+ }
1180
+ function y() {
1181
+ if (O(), o === void 0) {
1182
+ x();
1183
+ return;
1184
+ }
1185
+ if (c.value != null && d.value != null) {
1186
+ w = o(c.value, d.value, x);
1187
+ return;
1188
+ }
1189
+ }
1190
+ function R() {
1191
+ i.value || (v.value = !1);
1192
+ }
1193
+ return it([s, r, l], x, {
1194
+ flush: "sync"
1195
+ }), it([c, d], y, {
1196
+ flush: "sync"
1197
+ }), it(i, R, {
1198
+ flush: "sync"
1199
+ }), Zt() && te(O), {
1200
+ x: tt(u),
1201
+ y: tt(p),
1202
+ strategy: tt(f),
1203
+ placement: tt(m),
1204
+ middlewareData: tt(g),
1205
+ isPositioned: tt(v),
1206
+ floatingStyles: h,
1207
+ update: x
1208
+ };
1209
+ }
1210
+ const Qe = (t, e) => t ? e[1] + 7 : e[1], Ze = (t) => {
1211
+ let e = Array.isArray(t) ? t : [t];
1212
+ return e = e.filter((n) => n !== "auto" && n !== "auto-start" && n !== "auto-end").map((n) => n), {
1213
+ fallbackPlacements: e
1214
+ };
1215
+ }, tn = {
1216
+ name: "sameWidth",
1217
+ fn: ({ elements: t }) => (t.floating.style.width = `${t.reference.offsetWidth}px`, {})
1218
+ }, en = {}, nn = /* @__PURE__ */ ee({
1219
+ ...en,
1220
+ __name: "popper-container",
1221
+ props: {
1222
+ /**
1223
+ * The aria role assigned to the container. Defaults to null, which means it's not set if nothing is passed.
1224
+ */
1225
+ ariaRole: {
1226
+ type: String,
1227
+ default: null,
1228
+ validator: (t) => Object.values(ae).includes(t)
1229
+ },
1230
+ /**
1231
+ * Indicates if container should have additional arrow, pointing at target element
1232
+ * Can be just a boolean flag, or an object with additional configuration:
1233
+ * @property {Array<string>} arrow.classes – apply any additional classes to the arrow element.
1234
+ * @property {string} arrow.padding – useful when content has rounded corners, @see {@link https://floating-ui.com/docs/arrow#padding}
1235
+ */
1236
+ arrow: { type: Object, default: void 0 },
1237
+ /**
1238
+ * Disables wrapping focus-trap component.
1239
+ * Mostly useful for the storybook demo.
1240
+ */
1241
+ disabledFocusTrap: { type: Boolean, default: !1 },
1242
+ /**
1243
+ * Allows to configure to fallback position to the one specified, it could be 'auto' or ['right', 'top', ...].
1244
+ * Useful when not using auto as starting placement.
1245
+ * @see {@link https://floating-ui.com/docs/flip#fallbackplacements}
1246
+ */
1247
+ fallbackPosition: {
1248
+ type: [Array, String],
1249
+ default: null
1250
+ },
1251
+ /**
1252
+ * Instructs popover to be visible outside of the containing container.
1253
+ * Useful when component would be used in limited containers like Modal, Side panel, etc.
1254
+ * @see {@link https://floating-ui.com/docs/usefloating#strategy}
1255
+ */
1256
+ fixedPositioning: { type: Boolean, default: !1 },
1257
+ /**
1258
+ * The id to be set on the component. Use it for accessibility purposes.
1259
+ */
1260
+ id: { type: String, default: null },
1261
+ /**
1262
+ * If hiding / showing popper element then use this property to tell the popper when to update it's position.
1263
+ * This will drastically help improve performance, as we will not need to track hidden elements.
1264
+ */
1265
+ isHidden: { type: Boolean, default: null },
1266
+ /**
1267
+ * Instructs popper container to have the same width as target element.
1268
+ */
1269
+ matchWidth: { type: Boolean, default: !1 },
1270
+ /**
1271
+ * Custom set of middleware. Useful for low-level control over Popper behavior in some really complex use cases.
1272
+ * @see {@link https://floating-ui.com/docs/middleware}
1273
+ */
1274
+ middleware: { type: Array, default: null },
1275
+ /**
1276
+ * Allows to displace a popper container from its target element.
1277
+ * @see {@link https://floating-ui.com/docs/offset#options}
1278
+ */
1279
+ offset: {
1280
+ type: Array,
1281
+ default: () => [0, 0],
1282
+ validator: (t) => (t == null ? void 0 : t.length) === 2
1283
+ },
1284
+ /**
1285
+ * Position relative to the target element
1286
+ * @see {@link https://floating-ui.com/docs/computeposition#placement}
1287
+ */
1288
+ position: {
1289
+ type: String,
1290
+ default: Tt.AUTO,
1291
+ validator: (t) => Object.values(Tt).includes(t)
1292
+ },
1293
+ /**
1294
+ * Reference to the DOM element or Vue component for positioning
1295
+ */
1296
+ targetElement: { type: [Element, Object], required: !0 }
1297
+ },
1298
+ emits: ["placement"],
1299
+ setup(t, { emit: e }) {
1300
+ var O;
1301
+ const n = t, o = e, { position: i } = ne(n), s = Y(), r = Y(null), l = Y(n.position), a = P(
1302
+ () => n.targetElement.$el ? n.targetElement.$el : n.targetElement
1303
+ ), c = P(
1304
+ () => s.value.$el ? s.value.$el : s.value
1305
+ ), d = P(() => (n == null ? void 0 : n.position) !== "auto" && (n == null ? void 0 : n.fallbackPosition) !== "auto"), u = P(() => {
1306
+ switch (n.position) {
1307
+ case "auto-start":
1308
+ return { alignment: "start", crossAxis: !0 };
1309
+ case "auto-end":
1310
+ return { alignment: "end", crossAxis: !0 };
1311
+ default:
1312
+ return;
1313
+ }
1314
+ }), p = P(() => n.fixedPositioning ? "fixed" : "absolute"), { floatingStyles: f, middlewareData: m, placement: g, update: v } = Je(a, s, {
1315
+ placement: i,
1316
+ middleware: [
1317
+ // Adds flip modifier if fallbackPosition is not set to auto
1318
+ ...d.value ? [
1319
+ Ue({
1320
+ fallbackPlacements: Ze(n.fallbackPosition).fallbackPlacements
1321
+ })
1322
+ ] : [],
1323
+ // Adds autoposition middlelare if position is set to any auto variants
1324
+ ...d.value ? [] : [ze(u.value)],
1325
+ // Add shifting middle in case popper is still not fully visible in view port
1326
+ Ye(),
1327
+ // Adds offset middlelare if offset property is set
1328
+ ...n.offset ? [je(Qe(n.arrow, n.offset))] : [],
1329
+ // Adds arrow middlelare if arrow property is set, can set additional padding property
1330
+ ...n.arrow ? [Ge({ element: r, padding: n.arrow.padding || 0 })] : [],
1331
+ // Adds same width middleware to keep popper width same as referenced element's width
1332
+ ...n.matchWidth ? [tn] : [],
1333
+ // If there is additional custom middleware to add via the property then add it
1334
+ ...((O = n.middleware) == null ? void 0 : O.length) > 0 ? n.middleware : []
1335
+ ],
1336
+ strategy: p,
1337
+ // If we're mounting the element with a `v-if` then we need to auto update it while it's mounted
1338
+ ...n.isHidden === null ? { whileElementsMounted: Ht } : []
1339
+ });
1340
+ let h;
1341
+ it(
1342
+ () => n.isHidden,
1343
+ () => {
1344
+ n.isHidden !== null && !n.isHidden ? h = Ht(a == null ? void 0 : a.value, c == null ? void 0 : c.value, v) : n.isHidden !== null && n.isHidden && typeof h == "function" && h();
1345
+ }
1346
+ ), it(
1347
+ () => g.value,
1348
+ () => {
1349
+ l.value !== g.value && (l.value = g.value, o("placement", l.value));
1350
+ }
1351
+ );
1352
+ const w = P(() => {
1353
+ var y, R;
1354
+ return {
1355
+ position: "absolute",
1356
+ left: ((y = m.value.arrow) == null ? void 0 : y.x) != null ? `${m.value.arrow.x}px` : "",
1357
+ top: ((R = m.value.arrow) == null ? void 0 : R.y) != null ? `${m.value.arrow.y}px` : ""
1358
+ };
1359
+ }), x = P(() => {
1360
+ var y;
1361
+ return {
1362
+ class: n.arrow.classes,
1363
+ style: w.value,
1364
+ // Applies a data-hide attribute to arrow element depending on center offset.
1365
+ ...((y = m.value.arrow) == null ? void 0 : y.centerOffset) !== 0 ? { "data-hide": "" } : {}
1366
+ };
1367
+ });
1368
+ return (y, R) => (Et(), oe(N(ce), St(y.$attrs, {
1369
+ id: t.id,
1370
+ ref_key: "popperContainerRef",
1371
+ ref: s,
1372
+ class: "b-popper-container",
1373
+ "data-popper-placement": N(g),
1374
+ disabled: t.disabledFocusTrap,
1375
+ style: N(f),
1376
+ role: t.ariaRole
1377
+ }), {
1378
+ default: ie(() => [
1379
+ re(y.$slots, "default", {}, void 0, !0),
1380
+ n.arrow ? (Et(), se("span", St({ key: 0 }, x.value, {
1381
+ ref_key: "floatingArrow",
1382
+ ref: r,
1383
+ class: "b-popper-container__arrow",
1384
+ "data-testid": "arrow"
1385
+ }), null, 16)) : le("", !0)
1386
+ ]),
1387
+ _: 3
1388
+ }, 16, ["id", "data-popper-placement", "disabled", "style", "role"]));
1389
+ }
1390
+ }), an = /* @__PURE__ */ fe(nn, [["__scopeId", "data-v-59884aac"]]);
1391
+ export {
1392
+ an as P,
1393
+ cn as h,
1394
+ je as o
1395
+ };
1396
+ //# sourceMappingURL=popper-container.b5h4zYgT.js.map