@adyen/bento-vue3 1.94.0 → 1.96.0

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 (250) hide show
  1. package/dist/@types/components.d.ts +2 -0
  2. package/dist/@types/index.d.ts +83 -9
  3. package/dist/action-bar.js +1 -1
  4. package/dist/ai-tag.js +1 -1
  5. package/dist/anchor-scroller.js +1 -1
  6. package/dist/assets/accordion-item.css +1 -1
  7. package/dist/assets/action-bar.css +1 -1
  8. package/dist/assets/base-modal.css +1 -1
  9. package/dist/assets/button-actions.css +1 -1
  10. package/dist/assets/card.css +1 -1
  11. package/dist/assets/dashed-underline.css +1 -1
  12. package/dist/assets/data-grid.css +1 -1
  13. package/dist/assets/date-picker.css +1 -1
  14. package/dist/assets/date-range-picker.css +1 -1
  15. package/dist/assets/date-time-picker.css +1 -0
  16. package/dist/assets/dialog-page.css +1 -1
  17. package/dist/assets/draggable-handle.css +1 -1
  18. package/dist/assets/dropdown.css +1 -1
  19. package/dist/assets/field-label.css +1 -1
  20. package/dist/assets/file-uploader.css +1 -1
  21. package/dist/assets/filter-bar.css +1 -1
  22. package/dist/assets/form-layout-group.css +1 -0
  23. package/dist/assets/form-layout-title.css +1 -1
  24. package/dist/assets/header-meta.css +1 -1
  25. package/dist/assets/input-field-password.css +1 -1
  26. package/dist/assets/input-field.css +1 -1
  27. package/dist/assets/inspector.css +1 -1
  28. package/dist/assets/modal-fullscreen.css +1 -1
  29. package/dist/assets/navigation-menu-group.css +1 -1
  30. package/dist/assets/secondary-nav.css +1 -1
  31. package/dist/assets/sidepanel.css +1 -1
  32. package/dist/button.js +1 -1
  33. package/dist/card.js +1 -1
  34. package/dist/checkbox.js +2 -2
  35. package/dist/chunks/{action-bar.jhGXgcQl.js → action-bar.CIVprT2U.js} +4 -4
  36. package/dist/chunks/{action-bar.jhGXgcQl.js.map → action-bar.CIVprT2U.js.map} +1 -1
  37. package/dist/chunks/{ai-tag.DIdhvkaT.js → ai-tag.DkTlRY__.js} +2 -2
  38. package/dist/chunks/{ai-tag.DIdhvkaT.js.map → ai-tag.DkTlRY__.js.map} +1 -1
  39. package/dist/chunks/{anchor-scroller.BhppCt1n.js → anchor-scroller.J2mkf0uu.js} +5 -5
  40. package/dist/chunks/{anchor-scroller.BhppCt1n.js.map → anchor-scroller.J2mkf0uu.js.map} +1 -1
  41. package/dist/chunks/{base-modal.DxjZyGlG.js → base-modal.BKtpH-qh.js} +6 -6
  42. package/dist/chunks/{base-modal.DxjZyGlG.js.map → base-modal.BKtpH-qh.js.map} +1 -1
  43. package/dist/chunks/{button-actions-with-menu.DJzCF9ja.js → button-actions-with-menu.cMAAF47d.js} +3 -3
  44. package/dist/chunks/{button-actions-with-menu.DJzCF9ja.js.map → button-actions-with-menu.cMAAF47d.js.map} +1 -1
  45. package/dist/chunks/{button-actions.uco5ptf5.js → button-actions.CxTxPprd.js} +2 -2
  46. package/dist/chunks/{button-actions.uco5ptf5.js.map → button-actions.CxTxPprd.js.map} +1 -1
  47. package/dist/chunks/{calendar.D8CM3XkW.js → calendar.iQyNwQBL.js} +81 -75
  48. package/dist/chunks/calendar.iQyNwQBL.js.map +1 -0
  49. package/dist/chunks/{card.CWzJewQv.js → card.CQlyqa5-.js} +2 -2
  50. package/dist/chunks/{card.CWzJewQv.js.map → card.CQlyqa5-.js.map} +1 -1
  51. package/dist/chunks/{checkbox-group.Bq6PsVI_.js → checkbox-group.BcDIXL27.js} +3 -3
  52. package/dist/chunks/{checkbox-group.Bq6PsVI_.js.map → checkbox-group.BcDIXL27.js.map} +1 -1
  53. package/dist/chunks/{checkbox.DreTXMg0.js → checkbox.LTRqb-pE.js} +2 -2
  54. package/dist/chunks/{checkbox.DreTXMg0.js.map → checkbox.LTRqb-pE.js.map} +1 -1
  55. package/dist/chunks/{code-snippet.CGOmdPc-.js → code-snippet.DHzB-8JJ.js} +4 -4
  56. package/dist/chunks/{code-snippet.CGOmdPc-.js.map → code-snippet.DHzB-8JJ.js.map} +1 -1
  57. package/dist/chunks/{controls-group.D4MEP6GO.js → controls-group.B-wIl-I7.js} +2 -2
  58. package/dist/chunks/{controls-group.D4MEP6GO.js.map → controls-group.B-wIl-I7.js.map} +1 -1
  59. package/dist/chunks/{copy.Dxqx884r.js → copy.XM_7RiIR.js} +3 -3
  60. package/dist/chunks/{copy.Dxqx884r.js.map → copy.XM_7RiIR.js.map} +1 -1
  61. package/dist/chunks/{dashboard-section.NWMwtxVX.js → dashboard-section.Da6ZFGtm.js} +4 -4
  62. package/dist/chunks/{dashboard-section.NWMwtxVX.js.map → dashboard-section.Da6ZFGtm.js.map} +1 -1
  63. package/dist/chunks/dashed-underline.DJmMXcdt.js +85 -0
  64. package/dist/chunks/dashed-underline.DJmMXcdt.js.map +1 -0
  65. package/dist/chunks/{data-grid-template.Bf-VZS0u.js → data-grid-template.-MuGcJp1.js} +4 -4
  66. package/dist/chunks/{data-grid-template.Bf-VZS0u.js.map → data-grid-template.-MuGcJp1.js.map} +1 -1
  67. package/dist/chunks/{data-grid.D_TrebJz.js → data-grid.CNIXkdCJ.js} +885 -882
  68. package/dist/chunks/{data-grid.D_TrebJz.js.map → data-grid.CNIXkdCJ.js.map} +1 -1
  69. package/dist/chunks/date-picker.DyImOUH4.js +277 -0
  70. package/dist/chunks/date-picker.DyImOUH4.js.map +1 -0
  71. package/dist/chunks/{date-range-picker.C5CSReZ5.js → date-range-picker.BigC6wm2.js} +418 -437
  72. package/dist/chunks/date-range-picker.BigC6wm2.js.map +1 -0
  73. package/dist/chunks/{dialog-page.CZN5-Ohm.js → dialog-page.BOwnhJze.js} +2 -2
  74. package/dist/chunks/{dialog-page.CZN5-Ohm.js.map → dialog-page.BOwnhJze.js.map} +1 -1
  75. package/dist/chunks/directive.D1-d-C2K.js +28 -0
  76. package/dist/chunks/directive.D1-d-C2K.js.map +1 -0
  77. package/dist/chunks/draggable-handle.C1dudqKz.js +1649 -0
  78. package/dist/chunks/{draggable-handle.B_E-T3BS.js.map → draggable-handle.C1dudqKz.js.map} +1 -1
  79. package/dist/chunks/drawer.BQoyUVOW.js +64 -0
  80. package/dist/chunks/{drawer.GXqb2HPx.js.map → drawer.BQoyUVOW.js.map} +1 -1
  81. package/dist/chunks/{dropdown-tag.DUDW-Be6.js → dropdown-tag.C1ei1SyR.js} +3 -3
  82. package/dist/chunks/{dropdown-tag.DUDW-Be6.js.map → dropdown-tag.C1ei1SyR.js.map} +1 -1
  83. package/dist/chunks/{dropdown.Bsic3Nll.js → dropdown.C5um1anU.js} +523 -508
  84. package/dist/chunks/dropdown.C5um1anU.js.map +1 -0
  85. package/dist/chunks/{field-label.DFtyMriH.js → field-label.CLV3nSzz.js} +2 -2
  86. package/dist/chunks/{field-label.DFtyMriH.js.map → field-label.CLV3nSzz.js.map} +1 -1
  87. package/dist/chunks/{file-uploader.CKo27YzT.js → file-uploader.C9YOBRQg.js} +39 -38
  88. package/dist/chunks/{file-uploader.CKo27YzT.js.map → file-uploader.C9YOBRQg.js.map} +1 -1
  89. package/dist/chunks/{filter-bar.Dhghqmhb.js → filter-bar.CvZnM3hM.js} +282 -279
  90. package/dist/chunks/{filter-bar.Dhghqmhb.js.map → filter-bar.CvZnM3hM.js.map} +1 -1
  91. package/dist/chunks/{focus-trap.DcxrXRKl.js → focus-trap.Dl_rHbwH.js} +2 -2
  92. package/dist/chunks/{focus-trap.DcxrXRKl.js.map → focus-trap.Dl_rHbwH.js.map} +1 -1
  93. package/dist/chunks/{footer-actions.Dyi8PTyI.js → footer-actions.zlKq74F1.js} +2 -2
  94. package/dist/chunks/{footer-actions.Dyi8PTyI.js.map → footer-actions.zlKq74F1.js.map} +1 -1
  95. package/dist/chunks/form-layout-group.08QuvVmC.js +81 -0
  96. package/dist/chunks/form-layout-group.08QuvVmC.js.map +1 -0
  97. package/dist/chunks/form-layout-title.Kwve4xv2.js +179 -0
  98. package/dist/chunks/form-layout-title.Kwve4xv2.js.map +1 -0
  99. package/dist/chunks/header-meta.NFZo1ACP.js +243 -0
  100. package/dist/chunks/{header-meta.I2Tztkls.js.map → header-meta.NFZo1ACP.js.map} +1 -1
  101. package/dist/chunks/{header-with-views.MPJPxTzT.js → header-with-views.ubPTyW9A.js} +10 -10
  102. package/dist/chunks/{header-with-views.MPJPxTzT.js.map → header-with-views.ubPTyW9A.js.map} +1 -1
  103. package/dist/chunks/{header.CBzF5Ap9.js → header.Ds0sFKBB.js} +3 -3
  104. package/dist/chunks/{header.CBzF5Ap9.js.map → header.Ds0sFKBB.js.map} +1 -1
  105. package/dist/chunks/{index.Cqv1XuTj.js → index.oOAkh64h.js} +248 -225
  106. package/dist/chunks/{index.Cqv1XuTj.js.map → index.oOAkh64h.js.map} +1 -1
  107. package/dist/chunks/{info-icon.C_ZkQb1d.js → info-icon.1FtkyuYH.js} +3 -3
  108. package/dist/chunks/{info-icon.C_ZkQb1d.js.map → info-icon.1FtkyuYH.js.map} +1 -1
  109. package/dist/chunks/{input-field-password.CA16O5Gv.js → input-field-password.CZ-NTpZF.js} +26 -25
  110. package/dist/chunks/input-field-password.CZ-NTpZF.js.map +1 -0
  111. package/dist/chunks/{input-field-phone-number.CTeDyk0e.js → input-field-phone-number.DOHk6gSp.js} +13 -14
  112. package/dist/chunks/{input-field-phone-number.CTeDyk0e.js.map → input-field-phone-number.DOHk6gSp.js.map} +1 -1
  113. package/dist/chunks/{input-field.DlEEFday.js → input-field.DBlTGgAD.js} +104 -101
  114. package/dist/chunks/input-field.DBlTGgAD.js.map +1 -0
  115. package/dist/chunks/{input-time.CIdcQBgS.js → input-time.CHIjCO74.js} +7 -8
  116. package/dist/chunks/{input-time.CIdcQBgS.js.map → input-time.CHIjCO74.js.map} +1 -1
  117. package/dist/chunks/{inspector.BdPLtQ1t.js → inspector.BvBC1ABK.js} +3 -3
  118. package/dist/chunks/{inspector.BdPLtQ1t.js.map → inspector.BvBC1ABK.js.map} +1 -1
  119. package/dist/chunks/{layout-row.PGFh3qzc.js → layout-row.BsGdHl3d.js} +8 -8
  120. package/dist/chunks/{layout-row.PGFh3qzc.js.map → layout-row.BsGdHl3d.js.map} +1 -1
  121. package/dist/chunks/{list-item.D34osEIh.js → list-item.E1o7yuEB.js} +2 -2
  122. package/dist/chunks/{list-item.D34osEIh.js.map → list-item.E1o7yuEB.js.map} +1 -1
  123. package/dist/chunks/{listbox-option-tag.12duL_ZH.js → listbox-option-tag.yF6p9iQw.js} +2 -2
  124. package/dist/chunks/{listbox-option-tag.12duL_ZH.js.map → listbox-option-tag.yF6p9iQw.js.map} +1 -1
  125. package/dist/chunks/{modal-fullscreen.BGpyGUGB.js → modal-fullscreen.DmruiE3n.js} +4 -4
  126. package/dist/chunks/{modal-fullscreen.BGpyGUGB.js.map → modal-fullscreen.DmruiE3n.js.map} +1 -1
  127. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.B_CD-6Sn.js → modal.vue_vue_type_script_setup_true_lang.CrJQWuzb.js} +4 -4
  128. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.B_CD-6Sn.js.map → modal.vue_vue_type_script_setup_true_lang.CrJQWuzb.js.map} +1 -1
  129. package/dist/chunks/navigation-menu-group.CQ6ImGsJ.js +336 -0
  130. package/dist/chunks/navigation-menu-group.CQ6ImGsJ.js.map +1 -0
  131. package/dist/chunks/{pagination.CbGLdXSQ.js → pagination.DbpHH_53.js} +2 -2
  132. package/dist/chunks/{pagination.CbGLdXSQ.js.map → pagination.DbpHH_53.js.map} +1 -1
  133. package/dist/chunks/popover.types.DATOPtuh.js +6 -0
  134. package/dist/chunks/{popover.types.63w2RF7Y.js.map → popover.types.DATOPtuh.js.map} +1 -1
  135. package/dist/chunks/{popper-container.WR8Hb24e.js → popper-container.BH4WxeUj.js} +2 -2
  136. package/dist/chunks/{popper-container.WR8Hb24e.js.map → popper-container.BH4WxeUj.js.map} +1 -1
  137. package/dist/chunks/{promo-banner.DS8jlFES.js → promo-banner.DvV9eXs4.js} +2 -2
  138. package/dist/chunks/{promo-banner.DS8jlFES.js.map → promo-banner.DvV9eXs4.js.map} +1 -1
  139. package/dist/chunks/{radio-group.DpLQ_Wnj.js → radio-group.Cg67ZU0c.js} +3 -3
  140. package/dist/chunks/{radio-group.DpLQ_Wnj.js.map → radio-group.Cg67ZU0c.js.map} +1 -1
  141. package/dist/chunks/{rich-text-editor.CRa59ETT.js → rich-text-editor.u-V4fNWK.js} +4 -4
  142. package/dist/chunks/{rich-text-editor.CRa59ETT.js.map → rich-text-editor.u-V4fNWK.js.map} +1 -1
  143. package/dist/chunks/{search-bar.tmX9JctT.js → search-bar.TKgi1KLs.js} +5 -6
  144. package/dist/chunks/{search-bar.tmX9JctT.js.map → search-bar.TKgi1KLs.js.map} +1 -1
  145. package/dist/chunks/secondary-nav.0OsJiAWI.js +315 -0
  146. package/dist/chunks/{secondary-nav.KIu9A7pb.js.map → secondary-nav.0OsJiAWI.js.map} +1 -1
  147. package/dist/chunks/{segmented-control.Dxfpt98K.js → segmented-control.D6Yvxxpc.js} +2 -2
  148. package/dist/chunks/{segmented-control.Dxfpt98K.js.map → segmented-control.D6Yvxxpc.js.map} +1 -1
  149. package/dist/chunks/{selection-card-group.BVxESHZH.js → selection-card-group.C59ZIrVm.js} +3 -3
  150. package/dist/chunks/{selection-card-group.BVxESHZH.js.map → selection-card-group.C59ZIrVm.js.map} +1 -1
  151. package/dist/chunks/set-time-in-date.9-8WOiMT.js +27 -0
  152. package/dist/chunks/set-time-in-date.9-8WOiMT.js.map +1 -0
  153. package/dist/chunks/{sidepanel.BwesEWP_.js → sidepanel.BVQt6Tac.js} +6 -6
  154. package/dist/chunks/{sidepanel.BwesEWP_.js.map → sidepanel.BVQt6Tac.js.map} +1 -1
  155. package/dist/chunks/{structured-list-item.DUWQ4ggz.js → structured-list-item.BhYtSw2f.js} +4 -4
  156. package/dist/chunks/{structured-list-item.DUWQ4ggz.js.map → structured-list-item.BhYtSw2f.js.map} +1 -1
  157. package/dist/chunks/{summary-grid.types.BvZUfgwA.js → summary-grid.types.9sUs0LS0.js} +5 -5
  158. package/dist/chunks/{summary-grid.types.BvZUfgwA.js.map → summary-grid.types.9sUs0LS0.js.map} +1 -1
  159. package/dist/chunks/{tab.DKVHFvuI.js → tab.ByjWuWQz.js} +108 -99
  160. package/dist/chunks/{tab.DKVHFvuI.js.map → tab.ByjWuWQz.js.map} +1 -1
  161. package/dist/chunks/{tag.DyNHhsGt.js → tag.Uu-6AQys.js} +2 -2
  162. package/dist/chunks/{tag.DyNHhsGt.js.map → tag.Uu-6AQys.js.map} +1 -1
  163. package/dist/chunks/{textarea.DNeZr2IZ.js → textarea.QgSLPL7S.js} +2 -2
  164. package/dist/chunks/{textarea.DNeZr2IZ.js.map → textarea.QgSLPL7S.js.map} +1 -1
  165. package/dist/chunks/{timeline-item.CfA1E0zq.js → timeline-item.DfwOm5do.js} +6 -6
  166. package/dist/chunks/{timeline-item.CfA1E0zq.js.map → timeline-item.DfwOm5do.js.map} +1 -1
  167. package/dist/chunks/{tooltip.CuwiX213.js → tooltip.Djn54E1O.js} +3 -3
  168. package/dist/chunks/{tooltip.CuwiX213.js.map → tooltip.Djn54E1O.js.map} +1 -1
  169. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.4vdcgS4f.js → tutorial.vue_vue_type_script_setup_true_lang.B5-sWGlz.js} +4 -4
  170. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.4vdcgS4f.js.map → tutorial.vue_vue_type_script_setup_true_lang.B5-sWGlz.js.map} +1 -1
  171. package/dist/chunks/use-bento-delayed-hover.Csc3nIWt.js +30 -0
  172. package/dist/chunks/use-bento-delayed-hover.Csc3nIWt.js.map +1 -0
  173. package/dist/chunks/{use-cached-selected-values.C2nbQ4g-.js → use-cached-selected-values.DOw5IKdU.js} +3 -3
  174. package/dist/chunks/{use-cached-selected-values.C2nbQ4g-.js.map → use-cached-selected-values.DOw5IKdU.js.map} +1 -1
  175. package/dist/chunks/{use-date-input-formatter.DaBZd09a.js → use-date-input-formatter.x285YiSd.js} +2 -2
  176. package/dist/chunks/{use-date-input-formatter.DaBZd09a.js.map → use-date-input-formatter.x285YiSd.js.map} +1 -1
  177. package/dist/code-snippet.js +1 -1
  178. package/dist/dashboard-template.js +1 -1
  179. package/dist/dashed-underline.js +1 -1
  180. package/dist/data-grid-template.js +1 -1
  181. package/dist/data-grid.js +1 -1
  182. package/dist/date-picker.js +2 -2
  183. package/dist/date-range-picker.js +2 -2
  184. package/dist/date-time-picker.js +123 -0
  185. package/dist/date-time-picker.js.map +1 -0
  186. package/dist/draggable.js +1 -1
  187. package/dist/drawer.js +1 -1
  188. package/dist/dropdown.js +3 -3
  189. package/dist/file-uploader.js +1 -1
  190. package/dist/filter-bar.js +1 -1
  191. package/dist/focus-trap.js +1 -1
  192. package/dist/form-layout.js +5 -4
  193. package/dist/form-layout.js.map +1 -1
  194. package/dist/header-with-views.js +1 -1
  195. package/dist/header.js +1 -1
  196. package/dist/index.js +217 -216
  197. package/dist/index.js.map +1 -1
  198. package/dist/info-icon.js +1 -1
  199. package/dist/input-field-password.js +1 -1
  200. package/dist/input-field-phone-number.js +1 -1
  201. package/dist/input-field.js +1 -1
  202. package/dist/input-time.js +1 -1
  203. package/dist/inspector.js +1 -1
  204. package/dist/internal.js +11 -11
  205. package/dist/layout.js +1 -1
  206. package/dist/list.js +1 -1
  207. package/dist/menu.js +1 -1
  208. package/dist/modal-fullscreen.js +1 -1
  209. package/dist/modal.js +2 -2
  210. package/dist/navigation-menu.js +1 -1
  211. package/dist/pagination.js +1 -1
  212. package/dist/popover.js +2 -2
  213. package/dist/popper-container.js +1 -1
  214. package/dist/promo-banner.js +1 -1
  215. package/dist/radio-group.js +1 -1
  216. package/dist/rich-text-editor.js +1 -1
  217. package/dist/search-bar.js +2 -2
  218. package/dist/secondary-nav.js +1 -1
  219. package/dist/segmented-control.js +1 -1
  220. package/dist/selection-card.js +1 -1
  221. package/dist/sidepanel.js +1 -1
  222. package/dist/structured-list.js +1 -1
  223. package/dist/summary-grid.js +1 -1
  224. package/dist/tabs.js +1 -1
  225. package/dist/tag.js +1 -1
  226. package/dist/textarea.js +1 -1
  227. package/dist/timeline.js +1 -1
  228. package/dist/tutorial.js +1 -1
  229. package/dist/web-types.json +1 -1
  230. package/package.json +6 -6
  231. package/dist/chunks/calendar.D8CM3XkW.js.map +0 -1
  232. package/dist/chunks/dashed-underline.DojqhvAa.js +0 -108
  233. package/dist/chunks/dashed-underline.DojqhvAa.js.map +0 -1
  234. package/dist/chunks/date-picker.DUUGSbot.js +0 -269
  235. package/dist/chunks/date-picker.DUUGSbot.js.map +0 -1
  236. package/dist/chunks/date-range-picker.C5CSReZ5.js.map +0 -1
  237. package/dist/chunks/directive.C8kY-ZW-.js +0 -23
  238. package/dist/chunks/directive.C8kY-ZW-.js.map +0 -1
  239. package/dist/chunks/draggable-handle.B_E-T3BS.js +0 -1639
  240. package/dist/chunks/drawer.GXqb2HPx.js +0 -55
  241. package/dist/chunks/dropdown.Bsic3Nll.js.map +0 -1
  242. package/dist/chunks/form-layout-title.B712PesH.js +0 -253
  243. package/dist/chunks/form-layout-title.B712PesH.js.map +0 -1
  244. package/dist/chunks/header-meta.I2Tztkls.js +0 -259
  245. package/dist/chunks/input-field-password.CA16O5Gv.js.map +0 -1
  246. package/dist/chunks/input-field.DlEEFday.js.map +0 -1
  247. package/dist/chunks/navigation-menu-group.D5HMMAuh.js +0 -320
  248. package/dist/chunks/navigation-menu-group.D5HMMAuh.js.map +0 -1
  249. package/dist/chunks/popover.types.63w2RF7Y.js +0 -6
  250. package/dist/chunks/secondary-nav.KIu9A7pb.js +0 -306
@@ -1,101 +1,101 @@
1
- import { ref as p, watch as A, onMounted as U, nextTick as re, unref as ie, toRef as le, readonly as ue, customRef as se, effectScope as ce, getCurrentScope as ae, onScopeDispose as fe, getCurrentInstance as X, isRef as de, shallowRef as ve, computed as O, reactive as Y, watchEffect as he } from "vue";
2
- function C(e) {
3
- return ae() ? (fe(e), !0) : !1;
1
+ import { ref as p, watch as A, onMounted as U, nextTick as le, unref as ue, toRef as se, readonly as X, customRef as ce, effectScope as ae, getCurrentScope as fe, onScopeDispose as de, getCurrentInstance as K, isRef as ve, shallowRef as me, computed as O, reactive as Y, watchEffect as he } from "vue";
2
+ function D(e) {
3
+ return fe() ? (de(e), !0) : !1;
4
4
  }
5
5
  function We(e) {
6
6
  let t = !1, n;
7
- const r = ce(!0);
7
+ const r = ae(!0);
8
8
  return (...u) => (t || (n = r.run(() => e(...u)), t = !0), n);
9
9
  }
10
10
  function w(e) {
11
- return typeof e == "function" ? e() : ie(e);
11
+ return typeof e == "function" ? e() : ue(e);
12
12
  }
13
- const me = typeof window < "u" && typeof document < "u";
13
+ const Q = typeof window < "u" && typeof document < "u";
14
14
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
15
- const K = (e) => e != null, pe = Object.prototype.toString, we = (e) => pe.call(e) === "[object Object]", I = () => {
15
+ const J = (e) => e != null, pe = Object.prototype.toString, we = (e) => pe.call(e) === "[object Object]", I = () => {
16
16
  };
17
- function P(e, t) {
17
+ function H(e, t) {
18
18
  function n(...r) {
19
- return new Promise((u, l) => {
20
- Promise.resolve(e(() => t.apply(this, r), { fn: t, thisArg: this, args: r })).then(u).catch(l);
19
+ return new Promise((u, i) => {
20
+ Promise.resolve(e(() => t.apply(this, r), { fn: t, thisArg: this, args: r })).then(u).catch(i);
21
21
  });
22
22
  }
23
23
  return n;
24
24
  }
25
25
  const be = (e) => e();
26
- function Q(e, t = {}) {
26
+ function Z(e, t = {}) {
27
27
  let n, r, u = I;
28
- const l = (s) => {
28
+ const i = (s) => {
29
29
  clearTimeout(s), u(), u = I;
30
30
  };
31
31
  return (s) => {
32
32
  const d = w(e), a = w(t.maxWait);
33
- return n && l(n), d <= 0 || a !== void 0 && a <= 0 ? (r && (l(r), r = null), Promise.resolve(s())) : new Promise((o, i) => {
34
- u = t.rejectOnCancel ? i : o, a && !r && (r = setTimeout(() => {
35
- n && l(n), r = null, o(s());
33
+ return n && i(n), d <= 0 || a !== void 0 && a <= 0 ? (r && (i(r), r = null), Promise.resolve(s())) : new Promise((o, l) => {
34
+ u = t.rejectOnCancel ? l : o, a && !r && (r = setTimeout(() => {
35
+ n && i(n), r = null, o(s());
36
36
  }, a)), n = setTimeout(() => {
37
- r && l(r), r = null, o(s());
37
+ r && i(r), r = null, o(s());
38
38
  }, d);
39
39
  });
40
40
  };
41
41
  }
42
- function J(...e) {
43
- let t = 0, n, r = !0, u = I, l, c, s, d, a;
44
- !de(e[0]) && typeof e[0] == "object" ? { delay: c, trailing: s = !0, leading: d = !0, rejectOnCancel: a = !1 } = e[0] : [c, s = !0, d = !0, a = !1] = e;
42
+ function ee(...e) {
43
+ let t = 0, n, r = !0, u = I, i, c, s, d, a;
44
+ !ve(e[0]) && typeof e[0] == "object" ? { delay: c, trailing: s = !0, leading: d = !0, rejectOnCancel: a = !1 } = e[0] : [c, s = !0, d = !0, a = !1] = e;
45
45
  const o = () => {
46
46
  n && (clearTimeout(n), n = void 0, u(), u = I);
47
47
  };
48
48
  return (f) => {
49
- const v = w(c), h = Date.now() - t, E = () => l = f();
50
- return o(), v <= 0 ? (t = Date.now(), E()) : (h > v && (d || !r) ? (t = Date.now(), E()) : s && (l = new Promise((g, b) => {
49
+ const v = w(c), m = Date.now() - t, E = () => i = f();
50
+ return o(), v <= 0 ? (t = Date.now(), E()) : (m > v && (d || !r) ? (t = Date.now(), E()) : s && (i = new Promise((g, b) => {
51
51
  u = a ? b : g, n = setTimeout(() => {
52
52
  t = Date.now(), r = !0, g(E()), o();
53
- }, Math.max(0, v - h));
54
- })), !d && !n && (n = setTimeout(() => r = !0, v)), r = !1, l);
53
+ }, Math.max(0, v - m));
54
+ })), !d && !n && (n = setTimeout(() => r = !0, v)), r = !1, i);
55
55
  };
56
56
  }
57
57
  function ge(e, t) {
58
58
  var n;
59
59
  if (typeof e == "number")
60
60
  return e + t;
61
- const r = ((n = e.match(/^-?\d+\.?\d*/)) == null ? void 0 : n[0]) || "", u = e.slice(r.length), l = Number.parseFloat(r) + t;
62
- return Number.isNaN(l) ? e : l + u;
61
+ const r = ((n = e.match(/^-?\d+\.?\d*/)) == null ? void 0 : n[0]) || "", u = e.slice(r.length), i = Number.parseFloat(r) + t;
62
+ return Number.isNaN(i) ? e : i + u;
63
63
  }
64
64
  function ye(e) {
65
- return X();
65
+ return K();
66
66
  }
67
67
  function Ee(...e) {
68
68
  if (e.length !== 1)
69
- return le(...e);
69
+ return se(...e);
70
70
  const t = e[0];
71
- return typeof t == "function" ? ue(se(() => ({ get: t, set: I }))) : p(t);
71
+ return typeof t == "function" ? X(ce(() => ({ get: t, set: I }))) : p(t);
72
72
  }
73
- function Z(e, t = 200, n = {}) {
74
- return P(
75
- Q(t, n),
73
+ function te(e, t = 200, n = {}) {
74
+ return H(
75
+ Z(t, n),
76
76
  e
77
77
  );
78
78
  }
79
79
  function Le(e, t = 200, n = {}) {
80
- const r = p(e.value), u = Z(() => {
80
+ const r = p(e.value), u = te(() => {
81
81
  r.value = e.value;
82
82
  }, t, n);
83
83
  return A(e, () => u()), r;
84
84
  }
85
85
  function xe(e, t = 200, n = !1, r = !0, u = !1) {
86
- return P(
87
- J(t, n, r, u),
86
+ return H(
87
+ ee(t, n, r, u),
88
88
  e
89
89
  );
90
90
  }
91
- function ee(e, t, n = {}) {
91
+ function ne(e, t, n = {}) {
92
92
  const {
93
93
  eventFilter: r = be,
94
94
  ...u
95
95
  } = n;
96
96
  return A(
97
97
  e,
98
- P(
98
+ H(
99
99
  r,
100
100
  t
101
101
  ),
@@ -103,40 +103,62 @@ function ee(e, t, n = {}) {
103
103
  );
104
104
  }
105
105
  function F(e, t = !0, n) {
106
- ye() ? U(e, n) : t ? e() : re(e);
106
+ ye() ? U(e, n) : t ? e() : le(e);
107
107
  }
108
108
  function Me(e, t, n = {}) {
109
+ const {
110
+ immediate: r = !0
111
+ } = n, u = p(!1);
112
+ let i = null;
113
+ function c() {
114
+ i && (clearTimeout(i), i = null);
115
+ }
116
+ function s() {
117
+ u.value = !1, c();
118
+ }
119
+ function d(...a) {
120
+ c(), u.value = !0, i = setTimeout(() => {
121
+ u.value = !1, i = null, e(...a);
122
+ }, w(t));
123
+ }
124
+ return r && (u.value = !0, Q && d()), D(s), {
125
+ isPending: X(u),
126
+ start: d,
127
+ stop: s
128
+ };
129
+ }
130
+ function Ne(e, t, n = {}) {
109
131
  const {
110
132
  debounce: r = 0,
111
133
  maxWait: u = void 0,
112
- ...l
134
+ ...i
113
135
  } = n;
114
- return ee(
136
+ return ne(
115
137
  e,
116
138
  t,
117
139
  {
118
- ...l,
119
- eventFilter: Q(r, { maxWait: u })
140
+ ...i,
141
+ eventFilter: Z(r, { maxWait: u })
120
142
  }
121
143
  );
122
144
  }
123
- function Ne(e, t, n = {}) {
145
+ function De(e, t, n = {}) {
124
146
  const {
125
147
  throttle: r = 0,
126
148
  trailing: u = !0,
127
- leading: l = !0,
149
+ leading: i = !0,
128
150
  ...c
129
151
  } = n;
130
- return ee(
152
+ return ne(
131
153
  e,
132
154
  t,
133
155
  {
134
156
  ...c,
135
- eventFilter: J(r, u, l)
157
+ eventFilter: ee(r, u, i)
136
158
  }
137
159
  );
138
160
  }
139
- const S = me ? window : void 0;
161
+ const S = Q ? window : void 0;
140
162
  function x(e) {
141
163
  var t;
142
164
  const n = w(e);
@@ -147,70 +169,70 @@ function R(...e) {
147
169
  if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([n, r, u] = e, t = S) : [t, n, r, u] = e, !t)
148
170
  return I;
149
171
  Array.isArray(n) || (n = [n]), Array.isArray(r) || (r = [r]);
150
- const l = [], c = () => {
151
- l.forEach((o) => o()), l.length = 0;
152
- }, s = (o, i, f, v) => (o.addEventListener(i, f, v), () => o.removeEventListener(i, f, v)), d = A(
172
+ const i = [], c = () => {
173
+ i.forEach((o) => o()), i.length = 0;
174
+ }, s = (o, l, f, v) => (o.addEventListener(l, f, v), () => o.removeEventListener(l, f, v)), d = A(
153
175
  () => [x(t), w(u)],
154
- ([o, i]) => {
176
+ ([o, l]) => {
155
177
  if (c(), !o)
156
178
  return;
157
- const f = we(i) ? { ...i } : i;
158
- l.push(
159
- ...n.flatMap((v) => r.map((h) => s(o, v, h, f)))
179
+ const f = we(l) ? { ...l } : l;
180
+ i.push(
181
+ ...n.flatMap((v) => r.map((m) => s(o, v, m, f)))
160
182
  );
161
183
  },
162
184
  { immediate: !0, flush: "post" }
163
185
  ), a = () => {
164
186
  d(), c();
165
187
  };
166
- return C(a), a;
188
+ return D(a), a;
167
189
  }
168
190
  function Oe(e) {
169
191
  return typeof e == "function" ? e : typeof e == "string" ? (t) => t.key === e : Array.isArray(e) ? (t) => e.includes(t.key) : () => !0;
170
192
  }
171
- function De(...e) {
193
+ function $e(...e) {
172
194
  let t, n, r = {};
173
195
  e.length === 3 ? (t = e[0], n = e[1], r = e[2]) : e.length === 2 ? typeof e[1] == "object" ? (t = !0, n = e[0], r = e[1]) : (t = e[0], n = e[1]) : (t = !0, n = e[0]);
174
196
  const {
175
197
  target: u = S,
176
- eventName: l = "keydown",
198
+ eventName: i = "keydown",
177
199
  passive: c = !1,
178
200
  dedupe: s = !1
179
201
  } = r, d = Oe(t);
180
- return R(u, l, (o) => {
202
+ return R(u, i, (o) => {
181
203
  o.repeat && w(s) || d(o) && n(o);
182
204
  }, c);
183
205
  }
184
206
  function Se() {
185
- const e = p(!1), t = X();
207
+ const e = p(!1), t = K();
186
208
  return t && U(() => {
187
209
  e.value = !0;
188
210
  }, t), e;
189
211
  }
190
- function V(e) {
212
+ function P(e) {
191
213
  const t = Se();
192
214
  return O(() => (t.value, !!e()));
193
215
  }
194
- function te(e, t, n = {}) {
216
+ function oe(e, t, n = {}) {
195
217
  const { window: r = S, ...u } = n;
196
- let l;
197
- const c = V(() => r && "MutationObserver" in r), s = () => {
198
- l && (l.disconnect(), l = void 0);
218
+ let i;
219
+ const c = P(() => r && "MutationObserver" in r), s = () => {
220
+ i && (i.disconnect(), i = void 0);
199
221
  }, d = O(() => {
200
- const f = w(e), v = (Array.isArray(f) ? f : [f]).map(x).filter(K);
222
+ const f = w(e), v = (Array.isArray(f) ? f : [f]).map(x).filter(J);
201
223
  return new Set(v);
202
224
  }), a = A(
203
225
  () => d.value,
204
226
  (f) => {
205
- s(), c.value && f.size && (l = new MutationObserver(t), f.forEach((v) => l.observe(v, u)));
227
+ s(), c.value && f.size && (i = new MutationObserver(t), f.forEach((v) => i.observe(v, u)));
206
228
  },
207
229
  { immediate: !0, flush: "post" }
208
- ), o = () => l?.takeRecords(), i = () => {
230
+ ), o = () => i?.takeRecords(), l = () => {
209
231
  a(), s();
210
232
  };
211
- return C(i), {
233
+ return D(l), {
212
234
  isSupported: c,
213
- stop: i,
235
+ stop: l,
214
236
  takeRecords: o
215
237
  };
216
238
  }
@@ -220,9 +242,9 @@ function Te(e = {}) {
220
242
  window: n = S,
221
243
  deep: r = !0,
222
244
  triggerOnRemoval: u = !1
223
- } = e, l = (t = e.document) != null ? t : n?.document, c = () => {
245
+ } = e, i = (t = e.document) != null ? t : n?.document, c = () => {
224
246
  var a;
225
- let o = l?.activeElement;
247
+ let o = i?.activeElement;
226
248
  if (r)
227
249
  for (; o?.shadowRoot; )
228
250
  o = (a = o?.shadowRoot) == null ? void 0 : a.activeElement;
@@ -232,7 +254,7 @@ function Te(e = {}) {
232
254
  };
233
255
  return n && (R(n, "blur", (a) => {
234
256
  a.relatedTarget === null && d();
235
- }, !0), R(n, "focus", d, !0)), u && te(l, (a) => {
257
+ }, !0), R(n, "focus", d, !0)), u && oe(i, (a) => {
236
258
  a.filter((o) => o.removedNodes.length).map((o) => Array.from(o.removedNodes)).flat().forEach((o) => {
237
259
  o === s.value && d();
238
260
  });
@@ -242,36 +264,36 @@ function Te(e = {}) {
242
264
  }), d(), s;
243
265
  }
244
266
  function N(e, t = {}) {
245
- const { window: n = S } = t, r = V(() => n && "matchMedia" in n && typeof n.matchMedia == "function");
267
+ const { window: n = S } = t, r = P(() => n && "matchMedia" in n && typeof n.matchMedia == "function");
246
268
  let u;
247
- const l = p(!1), c = (a) => {
248
- l.value = a.matches;
269
+ const i = p(!1), c = (a) => {
270
+ i.value = a.matches;
249
271
  }, s = () => {
250
272
  u && ("removeEventListener" in u ? u.removeEventListener("change", c) : u.removeListener(c));
251
273
  }, d = he(() => {
252
- r.value && (s(), u = n.matchMedia(w(e)), "addEventListener" in u ? u.addEventListener("change", c) : u.addListener(c), l.value = u.matches);
274
+ r.value && (s(), u = n.matchMedia(w(e)), "addEventListener" in u ? u.addEventListener("change", c) : u.addListener(c), i.value = u.matches);
253
275
  });
254
- return C(() => {
276
+ return D(() => {
255
277
  d(), s(), u = void 0;
256
- }), l;
278
+ }), i;
257
279
  }
258
- function $e(e, t = {}) {
259
- function n(o, i) {
280
+ function je(e, t = {}) {
281
+ function n(o, l) {
260
282
  let f = w(e[w(o)]);
261
- return i != null && (f = ge(f, i)), typeof f == "number" && (f = `${f}px`), f;
283
+ return l != null && (f = ge(f, l)), typeof f == "number" && (f = `${f}px`), f;
262
284
  }
263
285
  const { window: r = S, strategy: u = "min-width" } = t;
264
- function l(o) {
286
+ function i(o) {
265
287
  return r ? r.matchMedia(o).matches : !1;
266
288
  }
267
- const c = (o) => N(() => `(min-width: ${n(o)})`, t), s = (o) => N(() => `(max-width: ${n(o)})`, t), d = Object.keys(e).reduce((o, i) => (Object.defineProperty(o, i, {
268
- get: () => u === "min-width" ? c(i) : s(i),
289
+ const c = (o) => N(() => `(min-width: ${n(o)})`, t), s = (o) => N(() => `(max-width: ${n(o)})`, t), d = Object.keys(e).reduce((o, l) => (Object.defineProperty(o, l, {
290
+ get: () => u === "min-width" ? c(l) : s(l),
269
291
  enumerable: !0,
270
292
  configurable: !0
271
293
  }), o), {});
272
294
  function a() {
273
- const o = Object.keys(e).map((i) => [i, c(i)]);
274
- return O(() => o.filter(([, i]) => i.value).map(([i]) => i));
295
+ const o = Object.keys(e).map((l) => [l, c(l)]);
296
+ return O(() => o.filter(([, l]) => l.value).map(([l]) => l));
275
297
  }
276
298
  return Object.assign(d, {
277
299
  greaterOrEqual: c,
@@ -282,23 +304,23 @@ function $e(e, t = {}) {
282
304
  smaller(o) {
283
305
  return N(() => `(max-width: ${n(o, -0.1)})`, t);
284
306
  },
285
- between(o, i) {
286
- return N(() => `(min-width: ${n(o)}) and (max-width: ${n(i, -0.1)})`, t);
307
+ between(o, l) {
308
+ return N(() => `(min-width: ${n(o)}) and (max-width: ${n(l, -0.1)})`, t);
287
309
  },
288
310
  isGreater(o) {
289
- return l(`(min-width: ${n(o, 0.1)})`);
311
+ return i(`(min-width: ${n(o, 0.1)})`);
290
312
  },
291
313
  isGreaterOrEqual(o) {
292
- return l(`(min-width: ${n(o)})`);
314
+ return i(`(min-width: ${n(o)})`);
293
315
  },
294
316
  isSmaller(o) {
295
- return l(`(max-width: ${n(o, -0.1)})`);
317
+ return i(`(max-width: ${n(o, -0.1)})`);
296
318
  },
297
319
  isSmallerOrEqual(o) {
298
- return l(`(max-width: ${n(o)})`);
320
+ return i(`(max-width: ${n(o)})`);
299
321
  },
300
- isInBetween(o, i) {
301
- return l(`(min-width: ${n(o)}) and (max-width: ${n(i, -0.1)})`);
322
+ isInBetween(o, l) {
323
+ return i(`(min-width: ${n(o)}) and (max-width: ${n(l, -0.1)})`);
302
324
  },
303
325
  current: a,
304
326
  active() {
@@ -307,24 +329,24 @@ function $e(e, t = {}) {
307
329
  }
308
330
  });
309
331
  }
310
- function je(e, t) {
311
- const n = ve(a()), r = Ee(e), u = O({
332
+ function Ce(e, t) {
333
+ const n = me(a()), r = Ee(e), u = O({
312
334
  get() {
313
335
  var o;
314
- const i = r.value;
315
- let f = t?.getIndexOf ? t.getIndexOf(n.value, i) : i.indexOf(n.value);
336
+ const l = r.value;
337
+ let f = t?.getIndexOf ? t.getIndexOf(n.value, l) : l.indexOf(n.value);
316
338
  return f < 0 && (f = (o = t?.fallbackIndex) != null ? o : 0), f;
317
339
  },
318
340
  set(o) {
319
- l(o);
341
+ i(o);
320
342
  }
321
343
  });
322
- function l(o) {
323
- const i = r.value, f = i.length, v = (o % f + f) % f, h = i[v];
324
- return n.value = h, h;
344
+ function i(o) {
345
+ const l = r.value, f = l.length, v = (o % f + f) % f, m = l[v];
346
+ return n.value = m, m;
325
347
  }
326
348
  function c(o = 1) {
327
- return l(u.value + o);
349
+ return i(u.value + o);
328
350
  }
329
351
  function s(o = 1) {
330
352
  return c(o);
@@ -333,109 +355,109 @@ function je(e, t) {
333
355
  return c(-o);
334
356
  }
335
357
  function a() {
336
- var o, i;
337
- return (i = w((o = t?.initialValue) != null ? o : w(e)[0])) != null ? i : void 0;
358
+ var o, l;
359
+ return (l = w((o = t?.initialValue) != null ? o : w(e)[0])) != null ? l : void 0;
338
360
  }
339
- return A(r, () => l(u.value)), {
361
+ return A(r, () => i(u.value)), {
340
362
  state: n,
341
363
  index: u,
342
364
  next: s,
343
365
  prev: d,
344
- go: l
366
+ go: i
345
367
  };
346
368
  }
347
- function ne(e, t, n = {}) {
369
+ function re(e, t, n = {}) {
348
370
  const { window: r = S, ...u } = n;
349
- let l;
350
- const c = V(() => r && "ResizeObserver" in r), s = () => {
351
- l && (l.disconnect(), l = void 0);
371
+ let i;
372
+ const c = P(() => r && "ResizeObserver" in r), s = () => {
373
+ i && (i.disconnect(), i = void 0);
352
374
  }, d = O(() => {
353
- const i = w(e);
354
- return Array.isArray(i) ? i.map((f) => x(f)) : [x(i)];
375
+ const l = w(e);
376
+ return Array.isArray(l) ? l.map((f) => x(f)) : [x(l)];
355
377
  }), a = A(
356
378
  d,
357
- (i) => {
379
+ (l) => {
358
380
  if (s(), c.value && r) {
359
- l = new ResizeObserver(t);
360
- for (const f of i)
361
- f && l.observe(f, u);
381
+ i = new ResizeObserver(t);
382
+ for (const f of l)
383
+ f && i.observe(f, u);
362
384
  }
363
385
  },
364
386
  { immediate: !0, flush: "post" }
365
387
  ), o = () => {
366
388
  s(), a();
367
389
  };
368
- return C(o), {
390
+ return D(o), {
369
391
  isSupported: c,
370
392
  stop: o
371
393
  };
372
394
  }
373
- function Ce(e, t = {}) {
395
+ function Fe(e, t = {}) {
374
396
  const {
375
397
  reset: n = !0,
376
398
  windowResize: r = !0,
377
399
  windowScroll: u = !0,
378
- immediate: l = !0,
400
+ immediate: i = !0,
379
401
  updateTiming: c = "sync"
380
- } = t, s = p(0), d = p(0), a = p(0), o = p(0), i = p(0), f = p(0), v = p(0), h = p(0);
402
+ } = t, s = p(0), d = p(0), a = p(0), o = p(0), l = p(0), f = p(0), v = p(0), m = p(0);
381
403
  function E() {
382
404
  const b = x(e);
383
405
  if (!b) {
384
- n && (s.value = 0, d.value = 0, a.value = 0, o.value = 0, i.value = 0, f.value = 0, v.value = 0, h.value = 0);
406
+ n && (s.value = 0, d.value = 0, a.value = 0, o.value = 0, l.value = 0, f.value = 0, v.value = 0, m.value = 0);
385
407
  return;
386
408
  }
387
409
  const y = b.getBoundingClientRect();
388
- s.value = y.height, d.value = y.bottom, a.value = y.left, o.value = y.right, i.value = y.top, f.value = y.width, v.value = y.x, h.value = y.y;
410
+ s.value = y.height, d.value = y.bottom, a.value = y.left, o.value = y.right, l.value = y.top, f.value = y.width, v.value = y.x, m.value = y.y;
389
411
  }
390
412
  function g() {
391
413
  c === "sync" ? E() : c === "next-frame" && requestAnimationFrame(() => E());
392
414
  }
393
- return ne(e, g), A(() => x(e), (b) => !b && g()), te(e, g, {
415
+ return re(e, g), A(() => x(e), (b) => !b && g()), oe(e, g, {
394
416
  attributeFilter: ["style", "class"]
395
417
  }), u && R("scroll", g, { capture: !0, passive: !0 }), r && R("resize", g, { passive: !0 }), F(() => {
396
- l && g();
418
+ i && g();
397
419
  }), {
398
420
  height: s,
399
421
  bottom: d,
400
422
  left: a,
401
423
  right: o,
402
- top: i,
424
+ top: l,
403
425
  width: f,
404
426
  x: v,
405
- y: h,
427
+ y: m,
406
428
  update: g
407
429
  };
408
430
  }
409
- function Fe(e, t = { width: 0, height: 0 }, n = {}) {
410
- const { window: r = S, box: u = "content-box" } = n, l = O(() => {
411
- var i, f;
412
- return (f = (i = x(e)) == null ? void 0 : i.namespaceURI) == null ? void 0 : f.includes("svg");
413
- }), c = p(t.width), s = p(t.height), { stop: d } = ne(
431
+ function Pe(e, t = { width: 0, height: 0 }, n = {}) {
432
+ const { window: r = S, box: u = "content-box" } = n, i = O(() => {
433
+ var l, f;
434
+ return (f = (l = x(e)) == null ? void 0 : l.namespaceURI) == null ? void 0 : f.includes("svg");
435
+ }), c = p(t.width), s = p(t.height), { stop: d } = re(
414
436
  e,
415
- ([i]) => {
416
- const f = u === "border-box" ? i.borderBoxSize : u === "content-box" ? i.contentBoxSize : i.devicePixelContentBoxSize;
417
- if (r && l.value) {
437
+ ([l]) => {
438
+ const f = u === "border-box" ? l.borderBoxSize : u === "content-box" ? l.contentBoxSize : l.devicePixelContentBoxSize;
439
+ if (r && i.value) {
418
440
  const v = x(e);
419
441
  if (v) {
420
- const h = v.getBoundingClientRect();
421
- c.value = h.width, s.value = h.height;
442
+ const m = v.getBoundingClientRect();
443
+ c.value = m.width, s.value = m.height;
422
444
  }
423
445
  } else if (f) {
424
446
  const v = Array.isArray(f) ? f : [f];
425
- c.value = v.reduce((h, { inlineSize: E }) => h + E, 0), s.value = v.reduce((h, { blockSize: E }) => h + E, 0);
447
+ c.value = v.reduce((m, { inlineSize: E }) => m + E, 0), s.value = v.reduce((m, { blockSize: E }) => m + E, 0);
426
448
  } else
427
- c.value = i.contentRect.width, s.value = i.contentRect.height;
449
+ c.value = l.contentRect.width, s.value = l.contentRect.height;
428
450
  },
429
451
  n
430
452
  );
431
453
  F(() => {
432
- const i = x(e);
433
- i && (c.value = "offsetWidth" in i ? i.offsetWidth : t.width, s.value = "offsetHeight" in i ? i.offsetHeight : t.height);
454
+ const l = x(e);
455
+ l && (c.value = "offsetWidth" in l ? l.offsetWidth : t.width, s.value = "offsetHeight" in l ? l.offsetHeight : t.height);
434
456
  });
435
457
  const a = A(
436
458
  () => x(e),
437
- (i) => {
438
- c.value = i ? t.width : 0, s.value = i ? t.height : 0;
459
+ (l) => {
460
+ c.value = l ? t.width : 0, s.value = l ? t.height : 0;
439
461
  }
440
462
  );
441
463
  function o() {
@@ -451,76 +473,76 @@ function _e(e, t, n = {}) {
451
473
  const {
452
474
  root: r,
453
475
  rootMargin: u = "0px",
454
- threshold: l = 0,
476
+ threshold: i = 0,
455
477
  window: c = S,
456
478
  immediate: s = !0
457
- } = n, d = V(() => c && "IntersectionObserver" in c), a = O(() => {
458
- const h = w(e);
459
- return (Array.isArray(h) ? h : [h]).map(x).filter(K);
479
+ } = n, d = P(() => c && "IntersectionObserver" in c), a = O(() => {
480
+ const m = w(e);
481
+ return (Array.isArray(m) ? m : [m]).map(x).filter(J);
460
482
  });
461
483
  let o = I;
462
- const i = p(s), f = d.value ? A(
463
- () => [a.value, x(r), i.value],
464
- ([h, E]) => {
465
- if (o(), !i.value || !h.length)
484
+ const l = p(s), f = d.value ? A(
485
+ () => [a.value, x(r), l.value],
486
+ ([m, E]) => {
487
+ if (o(), !l.value || !m.length)
466
488
  return;
467
489
  const g = new IntersectionObserver(
468
490
  t,
469
491
  {
470
492
  root: x(E),
471
493
  rootMargin: u,
472
- threshold: l
494
+ threshold: i
473
495
  }
474
496
  );
475
- h.forEach((b) => b && g.observe(b)), o = () => {
497
+ m.forEach((b) => b && g.observe(b)), o = () => {
476
498
  g.disconnect(), o = I;
477
499
  };
478
500
  },
479
501
  { immediate: s, flush: "post" }
480
502
  ) : I, v = () => {
481
- o(), f(), i.value = !1;
503
+ o(), f(), l.value = !1;
482
504
  };
483
- return C(v), {
505
+ return D(v), {
484
506
  isSupported: d,
485
- isActive: i,
507
+ isActive: l,
486
508
  pause() {
487
- o(), i.value = !1;
509
+ o(), l.value = !1;
488
510
  },
489
511
  resume() {
490
- i.value = !0;
512
+ l.value = !0;
491
513
  },
492
514
  stop: v
493
515
  };
494
516
  }
495
517
  function Ve(e, t = {}) {
496
- const { window: n = S, scrollTarget: r, threshold: u = 0 } = t, l = p(!1);
518
+ const { window: n = S, scrollTarget: r, threshold: u = 0 } = t, i = p(!1);
497
519
  return _e(
498
520
  e,
499
521
  (c) => {
500
- let s = l.value, d = 0;
522
+ let s = i.value, d = 0;
501
523
  for (const a of c)
502
524
  a.time >= d && (d = a.time, s = a.isIntersecting);
503
- l.value = s;
525
+ i.value = s;
504
526
  },
505
527
  {
506
528
  root: r,
507
529
  window: n,
508
530
  threshold: u
509
531
  }
510
- ), l;
532
+ ), i;
511
533
  }
512
534
  const Ie = "focusin", Re = "focusout";
513
535
  function He(e, t = {}) {
514
- const { window: n = S } = t, r = O(() => x(e)), u = p(!1), l = O(() => u.value), c = Te(t);
515
- return !n || !c.value ? { focused: l } : (R(r, Ie, () => u.value = !0), R(r, Re, () => u.value = !1), { focused: l });
536
+ const { window: n = S } = t, r = O(() => x(e)), u = p(!1), i = O(() => u.value), c = Te(t);
537
+ return !n || !c.value ? { focused: i } : (R(r, Ie, () => u.value = !0), R(r, Re, () => u.value = !1), { focused: i });
516
538
  }
517
539
  const k = 1;
518
- function Pe(e, t = {}) {
540
+ function ze(e, t = {}) {
519
541
  const {
520
542
  throttle: n = 0,
521
543
  idle: r = 200,
522
544
  onStop: u = I,
523
- onScroll: l = I,
545
+ onScroll: i = I,
524
546
  offset: c = {
525
547
  left: 0,
526
548
  right: 0,
@@ -533,38 +555,38 @@ function Pe(e, t = {}) {
533
555
  },
534
556
  behavior: d = "auto",
535
557
  window: a = S,
536
- onError: o = (m) => {
537
- console.error(m);
558
+ onError: o = (h) => {
559
+ console.error(h);
538
560
  }
539
- } = t, i = p(0), f = p(0), v = O({
561
+ } = t, l = p(0), f = p(0), v = O({
540
562
  get() {
541
- return i.value;
563
+ return l.value;
542
564
  },
543
- set(m) {
544
- E(m, void 0);
565
+ set(h) {
566
+ E(h, void 0);
545
567
  }
546
- }), h = O({
568
+ }), m = O({
547
569
  get() {
548
570
  return f.value;
549
571
  },
550
- set(m) {
551
- E(void 0, m);
572
+ set(h) {
573
+ E(void 0, h);
552
574
  }
553
575
  });
554
- function E(m, L) {
555
- var T, D, $, W;
576
+ function E(h, L) {
577
+ var T, $, j, W;
556
578
  if (!a)
557
579
  return;
558
580
  const _ = w(e);
559
581
  if (!_)
560
582
  return;
561
- ($ = _ instanceof Document ? a.document.body : _) == null || $.scrollTo({
562
- top: (T = w(L)) != null ? T : h.value,
563
- left: (D = w(m)) != null ? D : v.value,
583
+ (j = _ instanceof Document ? a.document.body : _) == null || j.scrollTo({
584
+ top: (T = w(L)) != null ? T : m.value,
585
+ left: ($ = w(h)) != null ? $ : v.value,
564
586
  behavior: w(d)
565
587
  });
566
- const j = ((W = _?.document) == null ? void 0 : W.documentElement) || _?.documentElement || _;
567
- v != null && (i.value = j.scrollLeft), h != null && (f.value = j.scrollTop);
588
+ const C = ((W = _?.document) == null ? void 0 : W.documentElement) || _?.documentElement || _;
589
+ v != null && (l.value = C.scrollLeft), m != null && (f.value = C.scrollTop);
568
590
  }
569
591
  const g = p(!1), b = Y({
570
592
  left: !0,
@@ -576,26 +598,26 @@ function Pe(e, t = {}) {
576
598
  right: !1,
577
599
  top: !1,
578
600
  bottom: !1
579
- }), z = (m) => {
580
- g.value && (g.value = !1, y.left = !1, y.right = !1, y.top = !1, y.bottom = !1, u(m));
581
- }, oe = Z(z, n + r), H = (m) => {
601
+ }), z = (h) => {
602
+ g.value && (g.value = !1, y.left = !1, y.right = !1, y.top = !1, y.bottom = !1, u(h));
603
+ }, ie = te(z, n + r), V = (h) => {
582
604
  var L;
583
605
  if (!a)
584
606
  return;
585
- const T = ((L = m?.document) == null ? void 0 : L.documentElement) || m?.documentElement || x(m), { display: D, flexDirection: $ } = getComputedStyle(T), W = T.scrollLeft;
586
- y.left = W < i.value, y.right = W > i.value;
587
- const _ = Math.abs(W) <= (c.left || 0), j = Math.abs(W) + T.clientWidth >= T.scrollWidth - (c.right || 0) - k;
588
- D === "flex" && $ === "row-reverse" ? (b.left = j, b.right = _) : (b.left = _, b.right = j), i.value = W;
607
+ const T = ((L = h?.document) == null ? void 0 : L.documentElement) || h?.documentElement || x(h), { display: $, flexDirection: j } = getComputedStyle(T), W = T.scrollLeft;
608
+ y.left = W < l.value, y.right = W > l.value;
609
+ const _ = Math.abs(W) <= (c.left || 0), C = Math.abs(W) + T.clientWidth >= T.scrollWidth - (c.right || 0) - k;
610
+ $ === "flex" && j === "row-reverse" ? (b.left = C, b.right = _) : (b.left = _, b.right = C), l.value = W;
589
611
  let M = T.scrollTop;
590
- m === a.document && !M && (M = a.document.body.scrollTop), y.top = M < f.value, y.bottom = M > f.value;
612
+ h === a.document && !M && (M = a.document.body.scrollTop), y.top = M < f.value, y.bottom = M > f.value;
591
613
  const q = Math.abs(M) <= (c.top || 0), G = Math.abs(M) + T.clientHeight >= T.scrollHeight - (c.bottom || 0) - k;
592
- D === "flex" && $ === "column-reverse" ? (b.top = G, b.bottom = q) : (b.top = q, b.bottom = G), f.value = M;
593
- }, B = (m) => {
614
+ $ === "flex" && j === "column-reverse" ? (b.top = G, b.bottom = q) : (b.top = q, b.bottom = G), f.value = M;
615
+ }, B = (h) => {
594
616
  var L;
595
617
  if (!a)
596
618
  return;
597
- const T = (L = m.target.documentElement) != null ? L : m.target;
598
- H(T), g.value = !0, oe(m), l(m);
619
+ const T = (L = h.target.documentElement) != null ? L : h.target;
620
+ V(T), g.value = !0, ie(h), i(h);
599
621
  };
600
622
  return R(
601
623
  e,
@@ -604,12 +626,12 @@ function Pe(e, t = {}) {
604
626
  s
605
627
  ), F(() => {
606
628
  try {
607
- const m = w(e);
608
- if (!m)
629
+ const h = w(e);
630
+ if (!h)
609
631
  return;
610
- H(m);
611
- } catch (m) {
612
- o(m);
632
+ V(h);
633
+ } catch (h) {
634
+ o(h);
613
635
  }
614
636
  }), R(
615
637
  e,
@@ -618,24 +640,24 @@ function Pe(e, t = {}) {
618
640
  s
619
641
  ), {
620
642
  x: v,
621
- y: h,
643
+ y: m,
622
644
  isScrolling: g,
623
645
  arrivedState: b,
624
646
  directions: y,
625
647
  measure() {
626
- const m = w(e);
627
- a && m && H(m);
648
+ const h = w(e);
649
+ a && h && V(h);
628
650
  }
629
651
  };
630
652
  }
631
- function ze(e = {}) {
653
+ function Be(e = {}) {
632
654
  const { window: t = S, behavior: n = "auto" } = e;
633
655
  if (!t)
634
656
  return {
635
657
  x: p(0),
636
658
  y: p(0)
637
659
  };
638
- const r = p(t.scrollX), u = p(t.scrollY), l = O({
660
+ const r = p(t.scrollX), u = p(t.scrollY), i = O({
639
661
  get() {
640
662
  return r.value;
641
663
  },
@@ -660,18 +682,18 @@ function ze(e = {}) {
660
682
  capture: !1,
661
683
  passive: !0
662
684
  }
663
- ), { x: l, y: c };
685
+ ), { x: i, y: c };
664
686
  }
665
- function Be(e = {}) {
687
+ function qe(e = {}) {
666
688
  const {
667
689
  window: t = S,
668
690
  initialWidth: n = Number.POSITIVE_INFINITY,
669
691
  initialHeight: r = Number.POSITIVE_INFINITY,
670
692
  listenOrientation: u = !0,
671
- includeScrollbar: l = !0,
693
+ includeScrollbar: i = !0,
672
694
  type: c = "inner"
673
695
  } = e, s = p(n), d = p(r), a = () => {
674
- t && (c === "outer" ? (s.value = t.outerWidth, d.value = t.outerHeight) : l ? (s.value = t.innerWidth, d.value = t.innerHeight) : (s.value = t.document.documentElement.clientWidth, d.value = t.document.documentElement.clientHeight));
696
+ t && (c === "outer" ? (s.value = t.outerWidth, d.value = t.outerHeight) : i ? (s.value = t.innerWidth, d.value = t.innerHeight) : (s.value = t.document.documentElement.clientWidth, d.value = t.document.documentElement.clientHeight));
675
697
  };
676
698
  if (a(), F(a), R("resize", a, { passive: !0 }), u) {
677
699
  const o = N("(orientation: portrait)");
@@ -680,26 +702,27 @@ function Be(e = {}) {
680
702
  return { width: s, height: d };
681
703
  }
682
704
  export {
683
- $e as a,
684
- Te as b,
685
- Fe as c,
705
+ qe as a,
706
+ je as b,
707
+ Te as c,
686
708
  Pe as d,
687
709
  ze as e,
688
- He as f,
689
- je as g,
690
- Ne as h,
691
- Ce as i,
692
- N as j,
693
- We as k,
694
- R as l,
695
- ne as m,
696
- te as n,
697
- Ve as o,
698
- x as p,
699
- De as q,
710
+ Be as f,
711
+ He as g,
712
+ Ce as h,
713
+ De as i,
714
+ Fe as j,
715
+ N as k,
716
+ We as l,
717
+ R as m,
718
+ re as n,
719
+ oe as o,
720
+ Ve as p,
721
+ x as q,
700
722
  Le as r,
723
+ $e as s,
701
724
  w as t,
702
- Be as u,
703
- Me as w
725
+ Me as u,
726
+ Ne as w
704
727
  };
705
- //# sourceMappingURL=index.Cqv1XuTj.js.map
728
+ //# sourceMappingURL=index.oOAkh64h.js.map