@reni-corp/reni-2c-ui 0.3.291 → 0.4.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 (242) hide show
  1. package/README.md +131 -0
  2. package/dist/__tests__/helpers/assert-contract.d.ts +9 -0
  3. package/dist/__tests__/helpers/assert-contract.d.ts.map +1 -0
  4. package/dist/__tests__/helpers/contract-helpers.d.ts +45 -0
  5. package/dist/__tests__/helpers/contract-helpers.d.ts.map +1 -0
  6. package/dist/__tests__/setup.d.ts +1 -0
  7. package/dist/__tests__/setup.d.ts.map +1 -0
  8. package/dist/components/elements/Alert.vue.d.ts +14 -36
  9. package/dist/components/elements/Alert.vue.d.ts.map +1 -1
  10. package/dist/components/elements/Button.vue.d.ts +13 -41
  11. package/dist/components/elements/Button.vue.d.ts.map +1 -1
  12. package/dist/components/elements/CheckBox.vue.d.ts +11 -60
  13. package/dist/components/elements/CheckBox.vue.d.ts.map +1 -1
  14. package/dist/components/elements/ComboBox.vue.d.ts +34 -116
  15. package/dist/components/elements/ComboBox.vue.d.ts.map +1 -1
  16. package/dist/components/elements/DescriptionList.vue.d.ts +12 -27
  17. package/dist/components/elements/DescriptionList.vue.d.ts.map +1 -1
  18. package/dist/components/elements/Divider.vue.d.ts +3 -27
  19. package/dist/components/elements/Divider.vue.d.ts.map +1 -1
  20. package/dist/components/elements/Html.vue.d.ts +2 -32
  21. package/dist/components/elements/Html.vue.d.ts.map +1 -1
  22. package/dist/components/elements/Icon.vue.d.ts +4 -28
  23. package/dist/components/elements/Icon.vue.d.ts.map +1 -1
  24. package/dist/components/elements/Image.vue.d.ts +19 -43
  25. package/dist/components/elements/Image.vue.d.ts.map +1 -1
  26. package/dist/components/elements/Label.vue.d.ts +13 -33
  27. package/dist/components/elements/Label.vue.d.ts.map +1 -1
  28. package/dist/components/elements/PasswordField.vue.d.ts +13 -151
  29. package/dist/components/elements/PasswordField.vue.d.ts.map +1 -1
  30. package/dist/components/elements/Progress.vue.d.ts +3 -31
  31. package/dist/components/elements/Progress.vue.d.ts.map +1 -1
  32. package/dist/components/elements/RadioButton.vue.d.ts +17 -28
  33. package/dist/components/elements/RadioButton.vue.d.ts.map +1 -1
  34. package/dist/components/elements/RadioButtonGroup.vue.d.ts +26 -75
  35. package/dist/components/elements/RadioButtonGroup.vue.d.ts.map +1 -1
  36. package/dist/components/elements/SelectBox.vue.d.ts +30 -121
  37. package/dist/components/elements/SelectBox.vue.d.ts.map +1 -1
  38. package/dist/components/elements/SkeletonLoader.vue.d.ts +2 -24
  39. package/dist/components/elements/SkeletonLoader.vue.d.ts.map +1 -1
  40. package/dist/components/elements/SpinButton.vue.d.ts +23 -52
  41. package/dist/components/elements/SpinButton.vue.d.ts.map +1 -1
  42. package/dist/components/elements/Spinner.vue.d.ts +3 -27
  43. package/dist/components/elements/Spinner.vue.d.ts.map +1 -1
  44. package/dist/components/elements/Text.vue.d.ts +12 -34
  45. package/dist/components/elements/Text.vue.d.ts.map +1 -1
  46. package/dist/components/elements/TextField.vue.d.ts +23 -146
  47. package/dist/components/elements/TextField.vue.d.ts.map +1 -1
  48. package/dist/components/elements/ToolChip.vue.d.ts +11 -33
  49. package/dist/components/elements/ToolChip.vue.d.ts.map +1 -1
  50. package/dist/components/features/AnnounceBar.vue.d.ts +11 -29
  51. package/dist/components/features/AnnounceBar.vue.d.ts.map +1 -1
  52. package/dist/components/features/AnnounceBarCollection.vue.d.ts +10 -34
  53. package/dist/components/features/AnnounceBarCollection.vue.d.ts.map +1 -1
  54. package/dist/components/features/Banner.vue.d.ts +22 -0
  55. package/dist/components/features/Banner.vue.d.ts.map +1 -0
  56. package/dist/components/features/BrandLogo.vue.d.ts +2 -24
  57. package/dist/components/features/BrandLogo.vue.d.ts.map +1 -1
  58. package/dist/components/features/CategoryBanner.vue.d.ts +3 -30
  59. package/dist/components/features/CategoryBanner.vue.d.ts.map +1 -1
  60. package/dist/components/features/FloatingBanner.vue.d.ts +3 -21
  61. package/dist/components/features/FloatingBanner.vue.d.ts.map +1 -1
  62. package/dist/components/features/Hero.vue.d.ts +32 -52
  63. package/dist/components/features/Hero.vue.d.ts.map +1 -1
  64. package/dist/components/features/ImageGrid.vue.d.ts +3 -30
  65. package/dist/components/features/ImageGrid.vue.d.ts.map +1 -1
  66. package/dist/components/features/LinkList.vue.d.ts +3 -28
  67. package/dist/components/features/LinkList.vue.d.ts.map +1 -1
  68. package/dist/components/features/Marquee.vue.d.ts +19 -49
  69. package/dist/components/features/Marquee.vue.d.ts.map +1 -1
  70. package/dist/components/features/MediaContent.vue.d.ts +14 -36
  71. package/dist/components/features/MediaContent.vue.d.ts.map +1 -1
  72. package/dist/components/features/ProductLabels.vue.d.ts +1 -19
  73. package/dist/components/features/ProductLabels.vue.d.ts.map +1 -1
  74. package/dist/components/features/ProductList.vue.d.ts +63 -88
  75. package/dist/components/features/ProductList.vue.d.ts.map +1 -1
  76. package/dist/components/features/ProductListItem.vue.d.ts +7 -35
  77. package/dist/components/features/ProductListItem.vue.d.ts.map +1 -1
  78. package/dist/components/features/ProductPurchase.vue.d.ts +12 -43
  79. package/dist/components/features/ProductPurchase.vue.d.ts.map +1 -1
  80. package/dist/components/features/Schedule.vue.d.ts +11 -29
  81. package/dist/components/features/Schedule.vue.d.ts.map +1 -1
  82. package/dist/components/features/ScheduleDateItem.vue.d.ts +2 -26
  83. package/dist/components/features/ScheduleDateItem.vue.d.ts.map +1 -1
  84. package/dist/components/features/ScheduleDelivery.vue.d.ts +10 -26
  85. package/dist/components/features/ScheduleDelivery.vue.d.ts.map +1 -1
  86. package/dist/components/features/ScheduleDeliveryItem.vue.d.ts +2 -24
  87. package/dist/components/features/ScheduleDeliveryItem.vue.d.ts.map +1 -1
  88. package/dist/components/features/SchedulePeriod.vue.d.ts +2 -26
  89. package/dist/components/features/SchedulePeriod.vue.d.ts.map +1 -1
  90. package/dist/components/features/SchedulePickup.vue.d.ts +10 -26
  91. package/dist/components/features/SchedulePickup.vue.d.ts.map +1 -1
  92. package/dist/components/features/SchedulePickupItem.vue.d.ts +2 -24
  93. package/dist/components/features/SchedulePickupItem.vue.d.ts.map +1 -1
  94. package/dist/components/features/Schedules.vue.d.ts +10 -22
  95. package/dist/components/features/Schedules.vue.d.ts.map +1 -1
  96. package/dist/components/features/SnsLink.vue.d.ts +3 -29
  97. package/dist/components/features/SnsLink.vue.d.ts.map +1 -1
  98. package/dist/components/foundation/AppBar.vue.d.ts +15 -40
  99. package/dist/components/foundation/AppBar.vue.d.ts.map +1 -1
  100. package/dist/components/foundation/AppBody.vue.d.ts +9 -4
  101. package/dist/components/foundation/AppBody.vue.d.ts.map +1 -1
  102. package/dist/components/foundation/AppFooter.vue.d.ts +13 -35
  103. package/dist/components/foundation/AppFooter.vue.d.ts.map +1 -1
  104. package/dist/components/foundation/AppFrame.vue.d.ts +10 -5
  105. package/dist/components/foundation/AppFrame.vue.d.ts.map +1 -1
  106. package/dist/components/interactive/Dialog.vue.d.ts +18 -40
  107. package/dist/components/interactive/Dialog.vue.d.ts.map +1 -1
  108. package/dist/components/interactive/Disclosure.vue.d.ts +22 -37
  109. package/dist/components/interactive/Disclosure.vue.d.ts.map +1 -1
  110. package/dist/components/interactive/DropDown.vue.d.ts +20 -34
  111. package/dist/components/interactive/DropDown.vue.d.ts.map +1 -1
  112. package/dist/components/interactive/Gallery.vue.d.ts +2 -34
  113. package/dist/components/interactive/Gallery.vue.d.ts.map +1 -1
  114. package/dist/components/interactive/Lightbox.vue.d.ts +32 -0
  115. package/dist/components/interactive/Lightbox.vue.d.ts.map +1 -0
  116. package/dist/components/interactive/Modal.vue.d.ts +15 -33
  117. package/dist/components/interactive/Modal.vue.d.ts.map +1 -1
  118. package/dist/components/interactive/Notification.vue.d.ts +5 -35
  119. package/dist/components/interactive/Notification.vue.d.ts.map +1 -1
  120. package/dist/components/interactive/Slider.vue.d.ts +32 -28
  121. package/dist/components/interactive/Slider.vue.d.ts.map +1 -1
  122. package/dist/components/interactive/Tab.vue.d.ts +17 -25
  123. package/dist/components/interactive/Tab.vue.d.ts.map +1 -1
  124. package/dist/components/interactive/TabGroup.vue.d.ts +25 -0
  125. package/dist/components/interactive/TabGroup.vue.d.ts.map +1 -0
  126. package/dist/components/interactive/TabPanel.vue.d.ts +9 -3
  127. package/dist/components/interactive/TabPanel.vue.d.ts.map +1 -1
  128. package/dist/components/interactive/TabPanels.vue.d.ts +27 -32
  129. package/dist/components/interactive/TabPanels.vue.d.ts.map +1 -1
  130. package/dist/components/interactive/Tabs.vue.d.ts +31 -31
  131. package/dist/components/interactive/Tabs.vue.d.ts.map +1 -1
  132. package/dist/components/layouts/Card.vue.d.ts +12 -30
  133. package/dist/components/layouts/Card.vue.d.ts.map +1 -1
  134. package/dist/components/layouts/Grid.vue.d.ts +11 -32
  135. package/dist/components/layouts/Grid.vue.d.ts.map +1 -1
  136. package/dist/components/layouts/List.vue.d.ts +28 -42
  137. package/dist/components/layouts/List.vue.d.ts.map +1 -1
  138. package/dist/components/layouts/Page.vue.d.ts +33 -62
  139. package/dist/components/layouts/Page.vue.d.ts.map +1 -1
  140. package/dist/components/layouts/Section.vue.d.ts +22 -41
  141. package/dist/components/layouts/Section.vue.d.ts.map +1 -1
  142. package/dist/components/layouts/Stack.vue.d.ts +12 -40
  143. package/dist/components/layouts/Stack.vue.d.ts.map +1 -1
  144. package/dist/components/navigation/BottomBar.vue.d.ts +10 -26
  145. package/dist/components/navigation/BottomBar.vue.d.ts.map +1 -1
  146. package/dist/components/navigation/Drawer.vue.d.ts +14 -32
  147. package/dist/components/navigation/Drawer.vue.d.ts.map +1 -1
  148. package/dist/components/renderless/DataProvider.vue.d.ts +19 -42
  149. package/dist/components/renderless/DataProvider.vue.d.ts.map +1 -1
  150. package/dist/components/renderless/Form.vue.d.ts +22 -43
  151. package/dist/components/renderless/Form.vue.d.ts.map +1 -1
  152. package/dist/components/renderless/OptionGroupSwitchController.vue.d.ts +20 -43
  153. package/dist/components/renderless/OptionGroupSwitchController.vue.d.ts.map +1 -1
  154. package/dist/composable/useAppNotifications.d.ts +0 -1
  155. package/dist/composable/useToolChip.d.ts +0 -1
  156. package/dist/composables.d.ts +0 -1
  157. package/dist/composables.es.js +5 -6
  158. package/dist/contexts/tabGroup.d.ts +17 -0
  159. package/dist/contexts/tabGroup.d.ts.map +1 -0
  160. package/dist/directives/auto-scale.d.ts +0 -1
  161. package/dist/directives/glitch.d.ts +0 -1
  162. package/dist/{index-a725a791.js → index-D7ldGb8i.js} +18 -30
  163. package/dist/index.d.ts +8 -11
  164. package/dist/index.d.ts.map +1 -1
  165. package/dist/index.es.js +6795 -6735
  166. package/dist/script.es.js +8571 -8506
  167. package/dist/script.umd.js +28 -28
  168. package/dist/style.css +1 -1
  169. package/dist/types.d.ts +0 -1
  170. package/dist/{composables-93778bb4.js → useAppDialogGuidance-Bs1h3YmP.js} +1060 -1044
  171. package/dist/utils.d.ts +46 -1
  172. package/dist/utils.d.ts.map +1 -1
  173. package/dist/validation.d.ts +0 -1
  174. package/dist/valueObjects/CurrencyValue.d.ts +0 -1
  175. package/dist/valueObjects/NumberValue.d.ts +0 -1
  176. package/dist/{valueObjects-e0ea7f1b.js → valueObjects-CvF0zaqR.js} +1 -1
  177. package/dist/valueObjects.es.js +1 -1
  178. package/package.json +29 -28
  179. package/src/stories/Alert.stories.ts +1 -1
  180. package/src/stories/AnnounceBar.stories.ts +1 -1
  181. package/src/stories/AnnounceBarCollection.stories.ts +135 -0
  182. package/src/stories/AppBar.stories.ts +6 -2
  183. package/src/stories/AppFooter.stories.ts +1 -1
  184. package/src/stories/AppFrame.stories.ts +1 -1
  185. package/src/stories/AppLayout.stories.ts +5 -16
  186. package/src/stories/Banner.stories.ts +235 -0
  187. package/src/stories/Button.stories.ts +1 -1
  188. package/src/stories/Card.stories.ts +1 -1
  189. package/src/stories/CheckBox.stories.ts +84 -22
  190. package/src/stories/ComboBox.stories.ts +62 -2
  191. package/src/stories/Dialog.stories.ts +1 -1
  192. package/src/stories/Disclosure.stories.ts +1 -1
  193. package/src/stories/Divider.stories.ts +1 -1
  194. package/src/stories/Drawer.stories.ts +1 -1
  195. package/src/stories/DropDown.stories.ts +1 -1
  196. package/src/stories/FloatingBanner.stories.ts +1 -1
  197. package/src/stories/Form.stories.ts +96 -1
  198. package/src/stories/Gallery.stories.ts +1 -1
  199. package/src/stories/Grid.stories.ts +1 -1
  200. package/src/stories/Hero.stories.ts +175 -26
  201. package/src/stories/Html.stories.ts +69 -1
  202. package/src/stories/Icon.stories.ts +1 -1
  203. package/src/stories/Image.stories.ts +1 -1
  204. package/src/stories/Label.stories.ts +97 -4
  205. package/src/stories/Lightbox.stories.ts +231 -0
  206. package/src/stories/List.stories.ts +62 -15
  207. package/src/stories/Modal.stories.ts +1 -1
  208. package/src/stories/Notification.stories.ts +1 -1
  209. package/src/stories/Page.stories.ts +36 -1
  210. package/src/stories/PasswordField.stories.ts +1 -1
  211. package/src/stories/ProductList.stories.ts +65 -3
  212. package/src/stories/ProductPurchase.stories.ts +2 -2
  213. package/src/stories/Progress.stories.ts +1 -1
  214. package/src/stories/Radio.stories.ts +130 -12
  215. package/src/stories/Section.stories.ts +29 -4
  216. package/src/stories/SelectBox.stories.ts +56 -1
  217. package/src/stories/SkeletonLoader.stories.ts +1 -1
  218. package/src/stories/Slider.stories.ts +365 -7
  219. package/src/stories/SnsLink.stories.ts +1 -1
  220. package/src/stories/SpinButton.stories.ts +1 -1
  221. package/src/stories/Spinner.stories.ts +1 -1
  222. package/src/stories/Stack.stories.ts +1 -1
  223. package/src/stories/Switch.stories.ts +1 -1
  224. package/src/stories/Tab.stories.ts +28 -11
  225. package/src/stories/TabGroup.stories.ts +290 -0
  226. package/src/stories/TabPanels.stories.ts +1 -1
  227. package/src/stories/Tabs.stories.ts +104 -3
  228. package/src/stories/Text.stories.ts +24 -1
  229. package/src/stories/TextArea.stories.ts +78 -1
  230. package/src/stories/TextField.stories.ts +75 -2
  231. package/src/stories/ToolChip.stories.ts +1 -1
  232. package/src/stories/compositions/EventPage.stories.ts +184 -0
  233. package/src/stories/compositions/FormPage.stories.ts +222 -0
  234. package/src/stories/compositions/TopPage.stories.ts +164 -0
  235. package/dist/components/features/CarouselBanner.vue.d.ts +0 -36
  236. package/dist/components/features/CarouselBanner.vue.d.ts.map +0 -1
  237. package/dist/components/features/VariationSelector.vue.d.ts +0 -39
  238. package/dist/components/features/VariationSelector.vue.d.ts.map +0 -1
  239. package/src/stories/Carousel.stories.ts +0 -62
  240. package/src/stories/CarouselBanner.stories.ts +0 -103
  241. package/src/stories/ProductLabels.stories.ts +0 -65
  242. package/src/stories/SoldStacker.stories.ts +0 -68
@@ -1,73 +1,71 @@
1
- import { pushScopeId as Jt, popScopeId as Qt, defineComponent as ze, nextTick as Ue, openBlock as Y, createBlock as Re, ref as z, createElementBlock as me, normalizeClass as Xe, renderSlot as Te, normalizeProps as Zt, guardReactiveProps as en, withScopeId as tn, resolveComponent as ge, normalizeStyle as Be, withKeys as nn, createElementVNode as oe, Fragment as on, createCommentVNode as nt, mergeProps as St, withCtx as Pe, createVNode as Tt, createApp as sn, h as rn, toDisplayString as ln, unref as an, onMounted as Pt, getCurrentScope as dn, onScopeDispose as cn, isRef as un, getCurrentInstance as Ke, toRef as pn, readonly as hn, customRef as fn, computed as se, reactive as ot, watch as we, watchEffect as mn } from "vue";
2
- const gn = ["top", "right", "bottom", "left"], it = ["start", "end"], st = /* @__PURE__ */ gn.reduce((e, t) => e.concat(t, t + "-" + it[0], t + "-" + it[1]), []), ve = Math.min, ne = Math.max, wn = {
1
+ import { pushScopeId as Kt, popScopeId as Jt, defineComponent as Re, nextTick as Ue, ref as R, createApp as Qt, h as Zt, resolveComponent as me, openBlock as Y, createBlock as ze, mergeProps as _t, withCtx as Te, createVNode as St, normalizeClass as Ye, createElementBlock as ge, toDisplayString as eo, renderSlot as Pe, normalizeProps as to, guardReactiveProps as oo, withKeys as no, normalizeStyle as De, createElementVNode as ie, Fragment as io, createCommentVNode as tt, withScopeId as so, onMounted as Tt, unref as ro, getCurrentScope as lo, onScopeDispose as ao, getCurrentInstance as Xe, isRef as co, toRef as uo, readonly as po, customRef as ho, watch as we, computed as ee, reactive as ot, watchEffect as fo } from "vue";
2
+ const mo = ["top", "right", "bottom", "left"], nt = ["start", "end"], it = /* @__PURE__ */ mo.reduce((e, t) => e.concat(t, t + "-" + nt[0], t + "-" + nt[1]), []), ve = Math.min, ne = Math.max, go = {
3
3
  left: "right",
4
4
  right: "left",
5
5
  bottom: "top",
6
6
  top: "bottom"
7
- }, vn = {
8
- start: "end",
9
- end: "start"
10
7
  };
11
- function Ve(e, t, n) {
12
- return ne(e, ve(t, n));
8
+ function je(e, t, o) {
9
+ return ne(e, ve(t, o));
13
10
  }
14
11
  function re(e, t) {
15
12
  return typeof e == "function" ? e(t) : e;
16
13
  }
17
- function q(e) {
14
+ function G(e) {
18
15
  return e.split("-")[0];
19
16
  }
20
- function F(e) {
17
+ function I(e) {
21
18
  return e.split("-")[1];
22
19
  }
23
- function At(e) {
20
+ function Pt(e) {
24
21
  return e === "x" ? "y" : "x";
25
22
  }
26
- function Je(e) {
23
+ function Ke(e) {
27
24
  return e === "y" ? "height" : "width";
28
25
  }
29
- const yn = /* @__PURE__ */ new Set(["top", "bottom"]);
30
- function G(e) {
31
- return yn.has(q(e)) ? "y" : "x";
26
+ function U(e) {
27
+ const t = e[0];
28
+ return t === "t" || t === "b" ? "y" : "x";
32
29
  }
33
- function Qe(e) {
34
- return At(G(e));
30
+ function Je(e) {
31
+ return Pt(U(e));
35
32
  }
36
- function Ct(e, t, n) {
37
- n === void 0 && (n = !1);
38
- const o = F(e), i = Qe(e), s = Je(i);
39
- let r = i === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
33
+ function At(e, t, o) {
34
+ o === void 0 && (o = !1);
35
+ const n = I(e), i = Je(e), s = Ke(i);
36
+ let r = i === "x" ? n === (o ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
40
37
  return t.reference[s] > t.floating[s] && (r = Ce(r)), [r, Ce(r)];
41
38
  }
42
- function $n(e) {
39
+ function wo(e) {
43
40
  const t = Ce(e);
44
41
  return [Ae(e), t, Ae(t)];
45
42
  }
46
43
  function Ae(e) {
47
- return e.replace(/start|end/g, (t) => vn[t]);
44
+ return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
48
45
  }
49
- const rt = ["left", "right"], lt = ["right", "left"], bn = ["top", "bottom"], xn = ["bottom", "top"];
50
- function _n(e, t, n) {
46
+ const st = ["left", "right"], rt = ["right", "left"], vo = ["top", "bottom"], yo = ["bottom", "top"];
47
+ function $o(e, t, o) {
51
48
  switch (e) {
52
49
  case "top":
53
50
  case "bottom":
54
- return n ? t ? lt : rt : t ? rt : lt;
51
+ return o ? t ? rt : st : t ? st : rt;
55
52
  case "left":
56
53
  case "right":
57
- return t ? bn : xn;
54
+ return t ? vo : yo;
58
55
  default:
59
56
  return [];
60
57
  }
61
58
  }
62
- function Sn(e, t, n, o) {
63
- const i = F(e);
64
- let s = _n(q(e), n === "start", o);
59
+ function xo(e, t, o, n) {
60
+ const i = I(e);
61
+ let s = $o(G(e), o === "start", n);
65
62
  return i && (s = s.map((r) => r + "-" + i), t && (s = s.concat(s.map(Ae)))), s;
66
63
  }
67
64
  function Ce(e) {
68
- return e.replace(/left|right|bottom|top/g, (t) => wn[t]);
65
+ const t = G(e);
66
+ return go[t] + e.slice(t.length);
69
67
  }
70
- function Tn(e) {
68
+ function bo(e) {
71
69
  return {
72
70
  top: 0,
73
71
  right: 0,
@@ -76,8 +74,8 @@ function Tn(e) {
76
74
  ...e
77
75
  };
78
76
  }
79
- function Ot(e) {
80
- return typeof e != "number" ? Tn(e) : {
77
+ function Ct(e) {
78
+ return typeof e != "number" ? bo(e) : {
81
79
  top: e,
82
80
  right: e,
83
81
  bottom: e,
@@ -87,505 +85,509 @@ function Ot(e) {
87
85
  function ue(e) {
88
86
  const {
89
87
  x: t,
90
- y: n,
91
- width: o,
88
+ y: o,
89
+ width: n,
92
90
  height: i
93
91
  } = e;
94
92
  return {
95
- width: o,
93
+ width: n,
96
94
  height: i,
97
- top: n,
95
+ top: o,
98
96
  left: t,
99
- right: t + o,
100
- bottom: n + i,
97
+ right: t + n,
98
+ bottom: o + i,
101
99
  x: t,
102
- y: n
100
+ y: o
103
101
  };
104
102
  }
105
- function at(e, t, n) {
103
+ function lt(e, t, o) {
106
104
  let {
107
- reference: o,
105
+ reference: n,
108
106
  floating: i
109
107
  } = e;
110
- const s = G(t), r = Qe(t), l = Je(r), c = q(t), d = s === "y", a = o.x + o.width / 2 - i.width / 2, u = o.y + o.height / 2 - i.height / 2, p = o[l] / 2 - i[l] / 2;
108
+ const s = U(t), r = Je(t), l = Ke(r), p = G(t), u = s === "y", c = n.x + n.width / 2 - i.width / 2, a = n.y + n.height / 2 - i.height / 2, d = n[l] / 2 - i[l] / 2;
111
109
  let h;
112
- switch (c) {
110
+ switch (p) {
113
111
  case "top":
114
112
  h = {
115
- x: a,
116
- y: o.y - i.height
113
+ x: c,
114
+ y: n.y - i.height
117
115
  };
118
116
  break;
119
117
  case "bottom":
120
118
  h = {
121
- x: a,
122
- y: o.y + o.height
119
+ x: c,
120
+ y: n.y + n.height
123
121
  };
124
122
  break;
125
123
  case "right":
126
124
  h = {
127
- x: o.x + o.width,
128
- y: u
125
+ x: n.x + n.width,
126
+ y: a
129
127
  };
130
128
  break;
131
129
  case "left":
132
130
  h = {
133
- x: o.x - i.width,
134
- y: u
131
+ x: n.x - i.width,
132
+ y: a
135
133
  };
136
134
  break;
137
135
  default:
138
136
  h = {
139
- x: o.x,
140
- y: o.y
137
+ x: n.x,
138
+ y: n.y
141
139
  };
142
140
  }
143
- switch (F(t)) {
141
+ switch (I(t)) {
144
142
  case "start":
145
- h[r] -= p * (n && d ? -1 : 1);
143
+ h[r] -= d * (o && u ? -1 : 1);
146
144
  break;
147
145
  case "end":
148
- h[r] += p * (n && d ? -1 : 1);
146
+ h[r] += d * (o && u ? -1 : 1);
149
147
  break;
150
148
  }
151
149
  return h;
152
150
  }
153
- const Pn = async (e, t, n) => {
154
- const {
155
- placement: o = "bottom",
156
- strategy: i = "absolute",
157
- middleware: s = [],
158
- platform: r
159
- } = n, l = s.filter(Boolean), c = await (r.isRTL == null ? void 0 : r.isRTL(t));
160
- let d = await r.getElementRects({
161
- reference: e,
162
- floating: t,
163
- strategy: i
164
- }), {
165
- x: a,
166
- y: u
167
- } = at(d, o, c), p = o, h = {}, f = 0;
168
- for (let m = 0; m < l.length; m++) {
169
- const {
170
- name: w,
171
- fn: g
172
- } = l[m], {
173
- x: v,
174
- y: $,
175
- data: T,
176
- reset: x
177
- } = await g({
178
- x: a,
179
- y: u,
180
- initialPlacement: o,
181
- placement: p,
182
- strategy: i,
183
- middlewareData: h,
184
- rects: d,
185
- platform: r,
186
- elements: {
187
- reference: e,
188
- floating: t
189
- }
190
- });
191
- a = v ?? a, u = $ ?? u, h = {
192
- ...h,
193
- [w]: {
194
- ...h[w],
195
- ...T
196
- }
197
- }, x && f <= 50 && (f++, typeof x == "object" && (x.placement && (p = x.placement), x.rects && (d = x.rects === !0 ? await r.getElementRects({
198
- reference: e,
199
- floating: t,
200
- strategy: i
201
- }) : x.rects), {
202
- x: a,
203
- y: u
204
- } = at(d, p, c)), m = -1);
205
- }
206
- return {
207
- x: a,
208
- y: u,
209
- placement: p,
210
- strategy: i,
211
- middlewareData: h
212
- };
213
- };
214
- async function Le(e, t) {
215
- var n;
151
+ async function _o(e, t) {
152
+ var o;
216
153
  t === void 0 && (t = {});
217
154
  const {
218
- x: o,
155
+ x: n,
219
156
  y: i,
220
157
  platform: s,
221
158
  rects: r,
222
159
  elements: l,
223
- strategy: c
160
+ strategy: p
224
161
  } = e, {
225
- boundary: d = "clippingAncestors",
226
- rootBoundary: a = "viewport",
227
- elementContext: u = "floating",
228
- altBoundary: p = !1,
162
+ boundary: u = "clippingAncestors",
163
+ rootBoundary: c = "viewport",
164
+ elementContext: a = "floating",
165
+ altBoundary: d = !1,
229
166
  padding: h = 0
230
- } = re(t, e), f = Ot(h), w = l[p ? u === "floating" ? "reference" : "floating" : u], g = ue(await s.getClippingRect({
231
- element: (n = await (s.isElement == null ? void 0 : s.isElement(w))) == null || n ? w : w.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(l.floating)),
232
- boundary: d,
233
- rootBoundary: a,
234
- strategy: c
235
- })), v = u === "floating" ? {
236
- x: o,
167
+ } = re(t, e), f = Ct(h), w = l[d ? a === "floating" ? "reference" : "floating" : a], g = ue(await s.getClippingRect({
168
+ element: (o = await (s.isElement == null ? void 0 : s.isElement(w))) == null || o ? w : w.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(l.floating)),
169
+ boundary: u,
170
+ rootBoundary: c,
171
+ strategy: p
172
+ })), v = a === "floating" ? {
173
+ x: n,
237
174
  y: i,
238
175
  width: r.floating.width,
239
176
  height: r.floating.height
240
- } : r.reference, $ = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(l.floating)), T = await (s.isElement == null ? void 0 : s.isElement($)) ? await (s.getScale == null ? void 0 : s.getScale($)) || {
177
+ } : r.reference, $ = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(l.floating)), b = await (s.isElement == null ? void 0 : s.isElement($)) ? await (s.getScale == null ? void 0 : s.getScale($)) || {
241
178
  x: 1,
242
179
  y: 1
243
180
  } : {
244
181
  x: 1,
245
182
  y: 1
246
- }, x = ue(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
183
+ }, T = ue(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
247
184
  elements: l,
248
185
  rect: v,
249
186
  offsetParent: $,
250
- strategy: c
187
+ strategy: p
251
188
  }) : v);
252
189
  return {
253
- top: (g.top - x.top + f.top) / T.y,
254
- bottom: (x.bottom - g.bottom + f.bottom) / T.y,
255
- left: (g.left - x.left + f.left) / T.x,
256
- right: (x.right - g.right + f.right) / T.x
190
+ top: (g.top - T.top + f.top) / b.y,
191
+ bottom: (T.bottom - g.bottom + f.bottom) / b.y,
192
+ left: (g.left - T.left + f.left) / b.x,
193
+ right: (T.right - g.right + f.right) / b.x
257
194
  };
258
195
  }
259
- const An = (e) => ({
196
+ const So = 50, To = async (e, t, o) => {
197
+ const {
198
+ placement: n = "bottom",
199
+ strategy: i = "absolute",
200
+ middleware: s = [],
201
+ platform: r
202
+ } = o, l = r.detectOverflow ? r : {
203
+ ...r,
204
+ detectOverflow: _o
205
+ }, p = await (r.isRTL == null ? void 0 : r.isRTL(t));
206
+ let u = await r.getElementRects({
207
+ reference: e,
208
+ floating: t,
209
+ strategy: i
210
+ }), {
211
+ x: c,
212
+ y: a
213
+ } = lt(u, n, p), d = n, h = 0;
214
+ const f = {};
215
+ for (let m = 0; m < s.length; m++) {
216
+ const w = s[m];
217
+ if (!w)
218
+ continue;
219
+ const {
220
+ name: g,
221
+ fn: v
222
+ } = w, {
223
+ x: $,
224
+ y: b,
225
+ data: T,
226
+ reset: S
227
+ } = await v({
228
+ x: c,
229
+ y: a,
230
+ initialPlacement: n,
231
+ placement: d,
232
+ strategy: i,
233
+ middlewareData: f,
234
+ rects: u,
235
+ platform: l,
236
+ elements: {
237
+ reference: e,
238
+ floating: t
239
+ }
240
+ });
241
+ c = $ ?? c, a = b ?? a, f[g] = {
242
+ ...f[g],
243
+ ...T
244
+ }, S && h < So && (h++, typeof S == "object" && (S.placement && (d = S.placement), S.rects && (u = S.rects === !0 ? await r.getElementRects({
245
+ reference: e,
246
+ floating: t,
247
+ strategy: i
248
+ }) : S.rects), {
249
+ x: c,
250
+ y: a
251
+ } = lt(u, d, p)), m = -1);
252
+ }
253
+ return {
254
+ x: c,
255
+ y: a,
256
+ placement: d,
257
+ strategy: i,
258
+ middlewareData: f
259
+ };
260
+ }, Po = (e) => ({
260
261
  name: "arrow",
261
262
  options: e,
262
263
  async fn(t) {
263
264
  const {
264
- x: n,
265
- y: o,
265
+ x: o,
266
+ y: n,
266
267
  placement: i,
267
268
  rects: s,
268
269
  platform: r,
269
270
  elements: l,
270
- middlewareData: c
271
+ middlewareData: p
271
272
  } = t, {
272
- element: d,
273
- padding: a = 0
273
+ element: u,
274
+ padding: c = 0
274
275
  } = re(e, t) || {};
275
- if (d == null)
276
+ if (u == null)
276
277
  return {};
277
- const u = Ot(a), p = {
278
- x: n,
279
- y: o
280
- }, h = Qe(i), f = Je(h), m = await r.getDimensions(d), w = h === "y", g = w ? "top" : "left", v = w ? "bottom" : "right", $ = w ? "clientHeight" : "clientWidth", T = s.reference[f] + s.reference[h] - p[h] - s.floating[f], x = p[h] - s.reference[h], N = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(d));
281
- let y = N ? N[$] : 0;
282
- (!y || !await (r.isElement == null ? void 0 : r.isElement(N))) && (y = l.floating[$] || s.floating[f]);
283
- const E = T / 2 - x / 2, S = y / 2 - m[f] / 2 - 1, _ = ve(u[g], S), O = ve(u[v], S), A = _, P = y - m[f] - O, C = y / 2 - m[f] / 2 + E, R = Ve(A, C, P), D = !c.arrow && F(i) != null && C !== R && s.reference[f] / 2 - (C < A ? _ : O) - m[f] / 2 < 0, L = D ? C < A ? C - A : C - P : 0;
278
+ const a = Ct(c), d = {
279
+ x: o,
280
+ y: n
281
+ }, h = Je(i), f = Ke(h), m = await r.getDimensions(u), w = h === "y", g = w ? "top" : "left", v = w ? "bottom" : "right", $ = w ? "clientHeight" : "clientWidth", b = s.reference[f] + s.reference[h] - d[h] - s.floating[f], T = d[h] - s.reference[h], S = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(u));
282
+ let y = S ? S[$] : 0;
283
+ (!y || !await (r.isElement == null ? void 0 : r.isElement(S))) && (y = l.floating[$] || s.floating[f]);
284
+ const E = b / 2 - T / 2, P = y / 2 - m[f] / 2 - 1, _ = ve(a[g], P), N = ve(a[v], P), C = _, A = y - m[f] - N, O = y / 2 - m[f] / 2 + E, z = je(C, O, A), M = !p.arrow && I(i) != null && O !== z && s.reference[f] / 2 - (O < C ? _ : N) - m[f] / 2 < 0, L = M ? O < C ? O - C : O - A : 0;
284
285
  return {
285
- [h]: p[h] + L,
286
+ [h]: d[h] + L,
286
287
  data: {
287
- [h]: R,
288
- centerOffset: C - R - L,
289
- ...D && {
288
+ [h]: z,
289
+ centerOffset: O - z - L,
290
+ ...M && {
290
291
  alignmentOffset: L
291
292
  }
292
293
  },
293
- reset: D
294
+ reset: M
294
295
  };
295
296
  }
296
297
  });
297
- function Cn(e, t, n) {
298
- return (e ? [...n.filter((i) => F(i) === e), ...n.filter((i) => F(i) !== e)] : n.filter((i) => q(i) === i)).filter((i) => e ? F(i) === e || (t ? Ae(i) !== i : !1) : !0);
298
+ function Ao(e, t, o) {
299
+ return (e ? [...o.filter((i) => I(i) === e), ...o.filter((i) => I(i) !== e)] : o.filter((i) => G(i) === i)).filter((i) => e ? I(i) === e || (t ? Ae(i) !== i : !1) : !0);
299
300
  }
300
- const On = function(e) {
301
+ const Co = function(e) {
301
302
  return e === void 0 && (e = {}), {
302
303
  name: "autoPlacement",
303
304
  options: e,
304
305
  async fn(t) {
305
- var n, o, i;
306
+ var o, n, i;
306
307
  const {
307
308
  rects: s,
308
309
  middlewareData: r,
309
310
  placement: l,
310
- platform: c,
311
- elements: d
311
+ platform: p,
312
+ elements: u
312
313
  } = t, {
313
- crossAxis: a = !1,
314
- alignment: u,
315
- allowedPlacements: p = st,
314
+ crossAxis: c = !1,
315
+ alignment: a,
316
+ allowedPlacements: d = it,
316
317
  autoAlignment: h = !0,
317
318
  ...f
318
- } = re(e, t), m = u !== void 0 || p === st ? Cn(u || null, h, p) : p, w = await Le(t, f), g = ((n = r.autoPlacement) == null ? void 0 : n.index) || 0, v = m[g];
319
+ } = re(e, t), m = a !== void 0 || d === it ? Ao(a || null, h, d) : d, w = await p.detectOverflow(t, f), g = ((o = r.autoPlacement) == null ? void 0 : o.index) || 0, v = m[g];
319
320
  if (v == null)
320
321
  return {};
321
- const $ = Ct(v, s, await (c.isRTL == null ? void 0 : c.isRTL(d.floating)));
322
+ const $ = At(v, s, await (p.isRTL == null ? void 0 : p.isRTL(u.floating)));
322
323
  if (l !== v)
323
324
  return {
324
325
  reset: {
325
326
  placement: m[0]
326
327
  }
327
328
  };
328
- const T = [w[q(v)], w[$[0]], w[$[1]]], x = [...((o = r.autoPlacement) == null ? void 0 : o.overflows) || [], {
329
+ const b = [w[G(v)], w[$[0]], w[$[1]]], T = [...((n = r.autoPlacement) == null ? void 0 : n.overflows) || [], {
329
330
  placement: v,
330
- overflows: T
331
- }], N = m[g + 1];
332
- if (N)
331
+ overflows: b
332
+ }], S = m[g + 1];
333
+ if (S)
333
334
  return {
334
335
  data: {
335
336
  index: g + 1,
336
- overflows: x
337
+ overflows: T
337
338
  },
338
339
  reset: {
339
- placement: N
340
+ placement: S
340
341
  }
341
342
  };
342
- const y = x.map((_) => {
343
- const O = F(_.placement);
344
- return [_.placement, O && a ? (
343
+ const y = T.map((_) => {
344
+ const N = I(_.placement);
345
+ return [_.placement, N && c ? (
345
346
  // Check along the mainAxis and main crossAxis side.
346
- _.overflows.slice(0, 2).reduce((A, P) => A + P, 0)
347
+ _.overflows.slice(0, 2).reduce((C, A) => C + A, 0)
347
348
  ) : (
348
349
  // Check only the mainAxis.
349
350
  _.overflows[0]
350
351
  ), _.overflows];
351
- }).sort((_, O) => _[1] - O[1]), S = ((i = y.filter((_) => _[2].slice(
352
+ }).sort((_, N) => _[1] - N[1]), P = ((i = y.filter((_) => _[2].slice(
352
353
  0,
353
354
  // Aligned placements should not check their opposite crossAxis
354
355
  // side.
355
- F(_[0]) ? 2 : 3
356
- ).every((O) => O <= 0))[0]) == null ? void 0 : i[0]) || y[0][0];
357
- return S !== l ? {
356
+ I(_[0]) ? 2 : 3
357
+ ).every((N) => N <= 0))[0]) == null ? void 0 : i[0]) || y[0][0];
358
+ return P !== l ? {
358
359
  data: {
359
360
  index: g + 1,
360
- overflows: x
361
+ overflows: T
361
362
  },
362
363
  reset: {
363
- placement: S
364
+ placement: P
364
365
  }
365
366
  } : {};
366
367
  }
367
368
  };
368
- }, Nn = function(e) {
369
+ }, Oo = function(e) {
369
370
  return e === void 0 && (e = {}), {
370
371
  name: "flip",
371
372
  options: e,
372
373
  async fn(t) {
373
- var n, o;
374
+ var o, n;
374
375
  const {
375
376
  placement: i,
376
377
  middlewareData: s,
377
378
  rects: r,
378
379
  initialPlacement: l,
379
- platform: c,
380
- elements: d
380
+ platform: p,
381
+ elements: u
381
382
  } = t, {
382
- mainAxis: a = !0,
383
- crossAxis: u = !0,
384
- fallbackPlacements: p,
383
+ mainAxis: c = !0,
384
+ crossAxis: a = !0,
385
+ fallbackPlacements: d,
385
386
  fallbackStrategy: h = "bestFit",
386
387
  fallbackAxisSideDirection: f = "none",
387
388
  flipAlignment: m = !0,
388
389
  ...w
389
390
  } = re(e, t);
390
- if ((n = s.arrow) != null && n.alignmentOffset)
391
+ if ((o = s.arrow) != null && o.alignmentOffset)
391
392
  return {};
392
- const g = q(i), v = G(l), $ = q(l) === l, T = await (c.isRTL == null ? void 0 : c.isRTL(d.floating)), x = p || ($ || !m ? [Ce(l)] : $n(l)), N = f !== "none";
393
- !p && N && x.push(...Sn(l, m, f, T));
394
- const y = [l, ...x], E = await Le(t, w), S = [];
395
- let _ = ((o = s.flip) == null ? void 0 : o.overflows) || [];
396
- if (a && S.push(E[g]), u) {
397
- const C = Ct(i, r, T);
398
- S.push(E[C[0]], E[C[1]]);
393
+ const g = G(i), v = U(l), $ = G(l) === l, b = await (p.isRTL == null ? void 0 : p.isRTL(u.floating)), T = d || ($ || !m ? [Ce(l)] : wo(l)), S = f !== "none";
394
+ !d && S && T.push(...xo(l, m, f, b));
395
+ const y = [l, ...T], E = await p.detectOverflow(t, w), P = [];
396
+ let _ = ((n = s.flip) == null ? void 0 : n.overflows) || [];
397
+ if (c && P.push(E[g]), a) {
398
+ const O = At(i, r, b);
399
+ P.push(E[O[0]], E[O[1]]);
399
400
  }
400
401
  if (_ = [..._, {
401
402
  placement: i,
402
- overflows: S
403
- }], !S.every((C) => C <= 0)) {
404
- var O, A;
405
- const C = (((O = s.flip) == null ? void 0 : O.index) || 0) + 1, R = y[C];
406
- if (R && (!(u === "alignment" ? v !== G(R) : !1) || // We leave the current main axis only if every placement on that axis
403
+ overflows: P
404
+ }], !P.every((O) => O <= 0)) {
405
+ var N, C;
406
+ const O = (((N = s.flip) == null ? void 0 : N.index) || 0) + 1, z = y[O];
407
+ if (z && (!(a === "alignment" ? v !== U(z) : !1) || // We leave the current main axis only if every placement on that axis
407
408
  // overflows the main axis.
408
- _.every((B) => G(B.placement) === v ? B.overflows[0] > 0 : !0)))
409
+ _.every((F) => U(F.placement) === v ? F.overflows[0] > 0 : !0)))
409
410
  return {
410
411
  data: {
411
- index: C,
412
+ index: O,
412
413
  overflows: _
413
414
  },
414
415
  reset: {
415
- placement: R
416
+ placement: z
416
417
  }
417
418
  };
418
- let D = (A = _.filter((L) => L.overflows[0] <= 0).sort((L, B) => L.overflows[1] - B.overflows[1])[0]) == null ? void 0 : A.placement;
419
- if (!D)
419
+ let M = (C = _.filter((L) => L.overflows[0] <= 0).sort((L, F) => L.overflows[1] - F.overflows[1])[0]) == null ? void 0 : C.placement;
420
+ if (!M)
420
421
  switch (h) {
421
422
  case "bestFit": {
422
- var P;
423
- const L = (P = _.filter((B) => {
424
- if (N) {
425
- const U = G(B.placement);
426
- return U === v || // Create a bias to the `y` side axis due to horizontal
423
+ var A;
424
+ const L = (A = _.filter((F) => {
425
+ if (S) {
426
+ const X = U(F.placement);
427
+ return X === v || // Create a bias to the `y` side axis due to horizontal
427
428
  // reading directions favoring greater width.
428
- U === "y";
429
+ X === "y";
429
430
  }
430
431
  return !0;
431
- }).map((B) => [B.placement, B.overflows.filter((U) => U > 0).reduce((U, Kt) => U + Kt, 0)]).sort((B, U) => B[1] - U[1])[0]) == null ? void 0 : P[0];
432
- L && (D = L);
432
+ }).map((F) => [F.placement, F.overflows.filter((X) => X > 0).reduce((X, Xt) => X + Xt, 0)]).sort((F, X) => F[1] - X[1])[0]) == null ? void 0 : A[0];
433
+ L && (M = L);
433
434
  break;
434
435
  }
435
436
  case "initialPlacement":
436
- D = l;
437
+ M = l;
437
438
  break;
438
439
  }
439
- if (i !== D)
440
+ if (i !== M)
440
441
  return {
441
442
  reset: {
442
- placement: D
443
+ placement: M
443
444
  }
444
445
  };
445
446
  }
446
447
  return {};
447
448
  }
448
449
  };
449
- }, En = /* @__PURE__ */ new Set(["left", "top"]);
450
- async function zn(e, t) {
450
+ }, No = /* @__PURE__ */ new Set(["left", "top"]);
451
+ async function Eo(e, t) {
451
452
  const {
452
- placement: n,
453
- platform: o,
453
+ placement: o,
454
+ platform: n,
454
455
  elements: i
455
- } = e, s = await (o.isRTL == null ? void 0 : o.isRTL(i.floating)), r = q(n), l = F(n), c = G(n) === "y", d = En.has(r) ? -1 : 1, a = s && c ? -1 : 1, u = re(t, e);
456
+ } = e, s = await (n.isRTL == null ? void 0 : n.isRTL(i.floating)), r = G(o), l = I(o), p = U(o) === "y", u = No.has(r) ? -1 : 1, c = s && p ? -1 : 1, a = re(t, e);
456
457
  let {
457
- mainAxis: p,
458
+ mainAxis: d,
458
459
  crossAxis: h,
459
460
  alignmentAxis: f
460
- } = typeof u == "number" ? {
461
- mainAxis: u,
461
+ } = typeof a == "number" ? {
462
+ mainAxis: a,
462
463
  crossAxis: 0,
463
464
  alignmentAxis: null
464
465
  } : {
465
- mainAxis: u.mainAxis || 0,
466
- crossAxis: u.crossAxis || 0,
467
- alignmentAxis: u.alignmentAxis
466
+ mainAxis: a.mainAxis || 0,
467
+ crossAxis: a.crossAxis || 0,
468
+ alignmentAxis: a.alignmentAxis
468
469
  };
469
- return l && typeof f == "number" && (h = l === "end" ? f * -1 : f), c ? {
470
- x: h * a,
471
- y: p * d
470
+ return l && typeof f == "number" && (h = l === "end" ? f * -1 : f), p ? {
471
+ x: h * c,
472
+ y: d * u
472
473
  } : {
473
- x: p * d,
474
- y: h * a
474
+ x: d * u,
475
+ y: h * c
475
476
  };
476
477
  }
477
- const Rn = function(e) {
478
+ const Ro = function(e) {
478
479
  return e === void 0 && (e = 0), {
479
480
  name: "offset",
480
481
  options: e,
481
482
  async fn(t) {
482
- var n, o;
483
+ var o, n;
483
484
  const {
484
485
  x: i,
485
486
  y: s,
486
487
  placement: r,
487
488
  middlewareData: l
488
- } = t, c = await zn(t, e);
489
- return r === ((n = l.offset) == null ? void 0 : n.placement) && (o = l.arrow) != null && o.alignmentOffset ? {} : {
490
- x: i + c.x,
491
- y: s + c.y,
489
+ } = t, p = await Eo(t, e);
490
+ return r === ((o = l.offset) == null ? void 0 : o.placement) && (n = l.arrow) != null && n.alignmentOffset ? {} : {
491
+ x: i + p.x,
492
+ y: s + p.y,
492
493
  data: {
493
- ...c,
494
+ ...p,
494
495
  placement: r
495
496
  }
496
497
  };
497
498
  }
498
499
  };
499
- }, Ln = function(e) {
500
+ }, zo = function(e) {
500
501
  return e === void 0 && (e = {}), {
501
502
  name: "shift",
502
503
  options: e,
503
504
  async fn(t) {
504
505
  const {
505
- x: n,
506
- y: o,
507
- placement: i
506
+ x: o,
507
+ y: n,
508
+ placement: i,
509
+ platform: s
508
510
  } = t, {
509
- mainAxis: s = !0,
510
- crossAxis: r = !1,
511
- limiter: l = {
512
- fn: (w) => {
511
+ mainAxis: r = !0,
512
+ crossAxis: l = !1,
513
+ limiter: p = {
514
+ fn: (g) => {
513
515
  let {
514
- x: g,
515
- y: v
516
- } = w;
516
+ x: v,
517
+ y: $
518
+ } = g;
517
519
  return {
518
- x: g,
519
- y: v
520
+ x: v,
521
+ y: $
520
522
  };
521
523
  }
522
524
  },
523
- ...c
524
- } = re(e, t), d = {
525
- x: n,
526
- y: o
527
- }, a = await Le(t, c), u = G(q(i)), p = At(u);
528
- let h = d[p], f = d[u];
529
- if (s) {
530
- const w = p === "y" ? "top" : "left", g = p === "y" ? "bottom" : "right", v = h + a[w], $ = h - a[g];
531
- h = Ve(v, h, $);
532
- }
525
+ ...u
526
+ } = re(e, t), c = {
527
+ x: o,
528
+ y: n
529
+ }, a = await s.detectOverflow(t, u), d = U(G(i)), h = Pt(d);
530
+ let f = c[h], m = c[d];
533
531
  if (r) {
534
- const w = u === "y" ? "top" : "left", g = u === "y" ? "bottom" : "right", v = f + a[w], $ = f - a[g];
535
- f = Ve(v, f, $);
532
+ const g = h === "y" ? "top" : "left", v = h === "y" ? "bottom" : "right", $ = f + a[g], b = f - a[v];
533
+ f = je($, f, b);
536
534
  }
537
- const m = l.fn({
535
+ if (l) {
536
+ const g = d === "y" ? "top" : "left", v = d === "y" ? "bottom" : "right", $ = m + a[g], b = m - a[v];
537
+ m = je($, m, b);
538
+ }
539
+ const w = p.fn({
538
540
  ...t,
539
- [p]: h,
540
- [u]: f
541
+ [h]: f,
542
+ [d]: m
541
543
  });
542
544
  return {
543
- ...m,
545
+ ...w,
544
546
  data: {
545
- x: m.x - n,
546
- y: m.y - o,
547
+ x: w.x - o,
548
+ y: w.y - n,
547
549
  enabled: {
548
- [p]: s,
549
- [u]: r
550
+ [h]: r,
551
+ [d]: l
550
552
  }
551
553
  }
552
554
  };
553
555
  }
554
556
  };
555
- }, Hn = function(e) {
557
+ }, Lo = function(e) {
556
558
  return e === void 0 && (e = {}), {
557
559
  name: "size",
558
560
  options: e,
559
561
  async fn(t) {
560
- var n, o;
562
+ var o, n;
561
563
  const {
562
564
  placement: i,
563
565
  rects: s,
564
566
  platform: r,
565
567
  elements: l
566
568
  } = t, {
567
- apply: c = () => {
569
+ apply: p = () => {
568
570
  },
569
- ...d
570
- } = re(e, t), a = await Le(t, d), u = q(i), p = F(i), h = G(i) === "y", {
571
+ ...u
572
+ } = re(e, t), c = await r.detectOverflow(t, u), a = G(i), d = I(i), h = U(i) === "y", {
571
573
  width: f,
572
574
  height: m
573
575
  } = s.floating;
574
576
  let w, g;
575
- u === "top" || u === "bottom" ? (w = u, g = p === (await (r.isRTL == null ? void 0 : r.isRTL(l.floating)) ? "start" : "end") ? "left" : "right") : (g = u, w = p === "end" ? "top" : "bottom");
576
- const v = m - a.top - a.bottom, $ = f - a.left - a.right, T = ve(m - a[w], v), x = ve(f - a[g], $), N = !t.middlewareData.shift;
577
- let y = T, E = x;
578
- if ((n = t.middlewareData.shift) != null && n.enabled.x && (E = $), (o = t.middlewareData.shift) != null && o.enabled.y && (y = v), N && !p) {
579
- const _ = ne(a.left, 0), O = ne(a.right, 0), A = ne(a.top, 0), P = ne(a.bottom, 0);
580
- h ? E = f - 2 * (_ !== 0 || O !== 0 ? _ + O : ne(a.left, a.right)) : y = m - 2 * (A !== 0 || P !== 0 ? A + P : ne(a.top, a.bottom));
577
+ a === "top" || a === "bottom" ? (w = a, g = d === (await (r.isRTL == null ? void 0 : r.isRTL(l.floating)) ? "start" : "end") ? "left" : "right") : (g = a, w = d === "end" ? "top" : "bottom");
578
+ const v = m - c.top - c.bottom, $ = f - c.left - c.right, b = ve(m - c[w], v), T = ve(f - c[g], $), S = !t.middlewareData.shift;
579
+ let y = b, E = T;
580
+ if ((o = t.middlewareData.shift) != null && o.enabled.x && (E = $), (n = t.middlewareData.shift) != null && n.enabled.y && (y = v), S && !d) {
581
+ const _ = ne(c.left, 0), N = ne(c.right, 0), C = ne(c.top, 0), A = ne(c.bottom, 0);
582
+ h ? E = f - 2 * (_ !== 0 || N !== 0 ? _ + N : ne(c.left, c.right)) : y = m - 2 * (C !== 0 || A !== 0 ? C + A : ne(c.top, c.bottom));
581
583
  }
582
- await c({
584
+ await p({
583
585
  ...t,
584
586
  availableWidth: E,
585
587
  availableHeight: y
586
588
  });
587
- const S = await r.getDimensions(l.floating);
588
- return f !== S.width || m !== S.height ? {
589
+ const P = await r.getDimensions(l.floating);
590
+ return f !== P.width || m !== P.height ? {
589
591
  reset: {
590
592
  rects: !0
591
593
  }
@@ -593,208 +595,199 @@ const Rn = function(e) {
593
595
  }
594
596
  };
595
597
  };
596
- function k(e) {
598
+ function D(e) {
597
599
  var t;
598
600
  return ((t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
599
601
  }
600
- function j(e) {
601
- return k(e).getComputedStyle(e);
602
+ function V(e) {
603
+ return D(e).getComputedStyle(e);
602
604
  }
603
- const dt = Math.min, pe = Math.max, Oe = Math.round;
604
- function Nt(e) {
605
- const t = j(e);
606
- let n = parseFloat(t.width), o = parseFloat(t.height);
607
- const i = e.offsetWidth, s = e.offsetHeight, r = Oe(n) !== i || Oe(o) !== s;
608
- return r && (n = i, o = s), { width: n, height: o, fallback: r };
605
+ const at = Math.min, pe = Math.max, Oe = Math.round;
606
+ function Ot(e) {
607
+ const t = V(e);
608
+ let o = parseFloat(t.width), n = parseFloat(t.height);
609
+ const i = e.offsetWidth, s = e.offsetHeight, r = Oe(o) !== i || Oe(n) !== s;
610
+ return r && (o = i, n = s), { width: o, height: n, fallback: r };
609
611
  }
610
- function ee(e) {
611
- return zt(e) ? (e.nodeName || "").toLowerCase() : "";
612
+ function te(e) {
613
+ return Et(e) ? (e.nodeName || "").toLowerCase() : "";
612
614
  }
613
- let xe;
614
- function Et() {
615
- if (xe)
616
- return xe;
615
+ let be;
616
+ function Nt() {
617
+ if (be) return be;
617
618
  const e = navigator.userAgentData;
618
- return e && Array.isArray(e.brands) ? (xe = e.brands.map((t) => t.brand + "/" + t.version).join(" "), xe) : navigator.userAgent;
619
+ return e && Array.isArray(e.brands) ? (be = e.brands.map((t) => t.brand + "/" + t.version).join(" "), be) : navigator.userAgent;
619
620
  }
620
- function V(e) {
621
- return e instanceof k(e).HTMLElement;
621
+ function q(e) {
622
+ return e instanceof D(e).HTMLElement;
622
623
  }
623
624
  function Q(e) {
624
- return e instanceof k(e).Element;
625
+ return e instanceof D(e).Element;
625
626
  }
626
- function zt(e) {
627
- return e instanceof k(e).Node;
627
+ function Et(e) {
628
+ return e instanceof D(e).Node;
628
629
  }
629
630
  function ct(e) {
630
- return typeof ShadowRoot > "u" ? !1 : e instanceof k(e).ShadowRoot || e instanceof ShadowRoot;
631
+ return typeof ShadowRoot > "u" ? !1 : e instanceof D(e).ShadowRoot || e instanceof ShadowRoot;
631
632
  }
632
- function He(e) {
633
- const { overflow: t, overflowX: n, overflowY: o, display: i } = j(e);
634
- return /auto|scroll|overlay|hidden|clip/.test(t + o + n) && !["inline", "contents"].includes(i);
633
+ function Le(e) {
634
+ const { overflow: t, overflowX: o, overflowY: n, display: i } = V(e);
635
+ return /auto|scroll|overlay|hidden|clip/.test(t + n + o) && !["inline", "contents"].includes(i);
635
636
  }
636
- function Mn(e) {
637
- return ["table", "td", "th"].includes(ee(e));
637
+ function ko(e) {
638
+ return ["table", "td", "th"].includes(te(e));
638
639
  }
639
- function qe(e) {
640
- const t = /firefox/i.test(Et()), n = j(e), o = n.backdropFilter || n.WebkitBackdropFilter;
641
- return n.transform !== "none" || n.perspective !== "none" || !!o && o !== "none" || t && n.willChange === "filter" || t && !!n.filter && n.filter !== "none" || ["transform", "perspective"].some((i) => n.willChange.includes(i)) || ["paint", "layout", "strict", "content"].some((i) => {
642
- const s = n.contain;
640
+ function Ve(e) {
641
+ const t = /firefox/i.test(Nt()), o = V(e), n = o.backdropFilter || o.WebkitBackdropFilter;
642
+ return o.transform !== "none" || o.perspective !== "none" || !!n && n !== "none" || t && o.willChange === "filter" || t && !!o.filter && o.filter !== "none" || ["transform", "perspective"].some((i) => o.willChange.includes(i)) || ["paint", "layout", "strict", "content"].some((i) => {
643
+ const s = o.contain;
643
644
  return s != null && s.includes(i);
644
645
  });
645
646
  }
646
647
  function Rt() {
647
- return !/^((?!chrome|android).)*safari/i.test(Et());
648
+ return !/^((?!chrome|android).)*safari/i.test(Nt());
648
649
  }
649
- function Ze(e) {
650
- return ["html", "body", "#document"].includes(ee(e));
650
+ function Qe(e) {
651
+ return ["html", "body", "#document"].includes(te(e));
651
652
  }
652
- function Lt(e) {
653
+ function zt(e) {
653
654
  return Q(e) ? e : e.contextElement;
654
655
  }
655
- const Ht = { x: 1, y: 1 };
656
- function de(e) {
657
- const t = Lt(e);
658
- if (!V(t))
659
- return Ht;
660
- const n = t.getBoundingClientRect(), { width: o, height: i, fallback: s } = Nt(t);
661
- let r = (s ? Oe(n.width) : n.width) / o, l = (s ? Oe(n.height) : n.height) / i;
656
+ const Lt = { x: 1, y: 1 };
657
+ function ae(e) {
658
+ const t = zt(e);
659
+ if (!q(t)) return Lt;
660
+ const o = t.getBoundingClientRect(), { width: n, height: i, fallback: s } = Ot(t);
661
+ let r = (s ? Oe(o.width) : o.width) / n, l = (s ? Oe(o.height) : o.height) / i;
662
662
  return r && Number.isFinite(r) || (r = 1), l && Number.isFinite(l) || (l = 1), { x: r, y: l };
663
663
  }
664
- function ye(e, t, n, o) {
664
+ function ye(e, t, o, n) {
665
665
  var i, s;
666
- t === void 0 && (t = !1), n === void 0 && (n = !1);
667
- const r = e.getBoundingClientRect(), l = Lt(e);
668
- let c = Ht;
669
- t && (o ? Q(o) && (c = de(o)) : c = de(e));
670
- const d = l ? k(l) : window, a = !Rt() && n;
671
- let u = (r.left + (a && ((i = d.visualViewport) == null ? void 0 : i.offsetLeft) || 0)) / c.x, p = (r.top + (a && ((s = d.visualViewport) == null ? void 0 : s.offsetTop) || 0)) / c.y, h = r.width / c.x, f = r.height / c.y;
666
+ t === void 0 && (t = !1), o === void 0 && (o = !1);
667
+ const r = e.getBoundingClientRect(), l = zt(e);
668
+ let p = Lt;
669
+ t && (n ? Q(n) && (p = ae(n)) : p = ae(e));
670
+ const u = l ? D(l) : window, c = !Rt() && o;
671
+ let a = (r.left + (c && ((i = u.visualViewport) == null ? void 0 : i.offsetLeft) || 0)) / p.x, d = (r.top + (c && ((s = u.visualViewport) == null ? void 0 : s.offsetTop) || 0)) / p.y, h = r.width / p.x, f = r.height / p.y;
672
672
  if (l) {
673
- const m = k(l), w = o && Q(o) ? k(o) : o;
673
+ const m = D(l), w = n && Q(n) ? D(n) : n;
674
674
  let g = m.frameElement;
675
- for (; g && o && w !== m; ) {
676
- const v = de(g), $ = g.getBoundingClientRect(), T = getComputedStyle(g);
677
- $.x += (g.clientLeft + parseFloat(T.paddingLeft)) * v.x, $.y += (g.clientTop + parseFloat(T.paddingTop)) * v.y, u *= v.x, p *= v.y, h *= v.x, f *= v.y, u += $.x, p += $.y, g = k(g).frameElement;
675
+ for (; g && n && w !== m; ) {
676
+ const v = ae(g), $ = g.getBoundingClientRect(), b = getComputedStyle(g);
677
+ $.x += (g.clientLeft + parseFloat(b.paddingLeft)) * v.x, $.y += (g.clientTop + parseFloat(b.paddingTop)) * v.y, a *= v.x, d *= v.y, h *= v.x, f *= v.y, a += $.x, d += $.y, g = D(g).frameElement;
678
678
  }
679
679
  }
680
- return { width: h, height: f, top: p, right: u + h, bottom: p + f, left: u, x: u, y: p };
680
+ return { width: h, height: f, top: d, right: a + h, bottom: d + f, left: a, x: a, y: d };
681
681
  }
682
682
  function Z(e) {
683
- return ((zt(e) ? e.ownerDocument : e.document) || window.document).documentElement;
683
+ return ((Et(e) ? e.ownerDocument : e.document) || window.document).documentElement;
684
684
  }
685
- function Me(e) {
685
+ function ke(e) {
686
686
  return Q(e) ? { scrollLeft: e.scrollLeft, scrollTop: e.scrollTop } : { scrollLeft: e.pageXOffset, scrollTop: e.pageYOffset };
687
687
  }
688
- function Mt(e) {
689
- return ye(Z(e)).left + Me(e).scrollLeft;
688
+ function kt(e) {
689
+ return ye(Z(e)).left + ke(e).scrollLeft;
690
690
  }
691
691
  function $e(e) {
692
- if (ee(e) === "html")
693
- return e;
692
+ if (te(e) === "html") return e;
694
693
  const t = e.assignedSlot || e.parentNode || ct(e) && e.host || Z(e);
695
694
  return ct(t) ? t.host : t;
696
695
  }
697
- function Dt(e) {
696
+ function Ht(e) {
698
697
  const t = $e(e);
699
- return Ze(t) ? t.ownerDocument.body : V(t) && He(t) ? t : Dt(t);
698
+ return Qe(t) ? t.ownerDocument.body : q(t) && Le(t) ? t : Ht(t);
700
699
  }
701
700
  function Ne(e, t) {
702
- var n;
701
+ var o;
703
702
  t === void 0 && (t = []);
704
- const o = Dt(e), i = o === ((n = e.ownerDocument) == null ? void 0 : n.body), s = k(o);
705
- return i ? t.concat(s, s.visualViewport || [], He(o) ? o : []) : t.concat(o, Ne(o));
703
+ const n = Ht(e), i = n === ((o = e.ownerDocument) == null ? void 0 : o.body), s = D(n);
704
+ return i ? t.concat(s, s.visualViewport || [], Le(n) ? n : []) : t.concat(n, Ne(n));
706
705
  }
707
- function ut(e, t, n) {
708
- return t === "viewport" ? ue(function(o, i) {
709
- const s = k(o), r = Z(o), l = s.visualViewport;
710
- let c = r.clientWidth, d = r.clientHeight, a = 0, u = 0;
706
+ function dt(e, t, o) {
707
+ return t === "viewport" ? ue(function(n, i) {
708
+ const s = D(n), r = Z(n), l = s.visualViewport;
709
+ let p = r.clientWidth, u = r.clientHeight, c = 0, a = 0;
711
710
  if (l) {
712
- c = l.width, d = l.height;
713
- const p = Rt();
714
- (p || !p && i === "fixed") && (a = l.offsetLeft, u = l.offsetTop);
711
+ p = l.width, u = l.height;
712
+ const d = Rt();
713
+ (d || !d && i === "fixed") && (c = l.offsetLeft, a = l.offsetTop);
715
714
  }
716
- return { width: c, height: d, x: a, y: u };
717
- }(e, n)) : Q(t) ? ue(function(o, i) {
718
- const s = ye(o, !0, i === "fixed"), r = s.top + o.clientTop, l = s.left + o.clientLeft, c = V(o) ? de(o) : { x: 1, y: 1 };
719
- return { width: o.clientWidth * c.x, height: o.clientHeight * c.y, x: l * c.x, y: r * c.y };
720
- }(t, n)) : ue(function(o) {
721
- const i = Z(o), s = Me(o), r = o.ownerDocument.body, l = pe(i.scrollWidth, i.clientWidth, r.scrollWidth, r.clientWidth), c = pe(i.scrollHeight, i.clientHeight, r.scrollHeight, r.clientHeight);
722
- let d = -s.scrollLeft + Mt(o);
723
- const a = -s.scrollTop;
724
- return j(r).direction === "rtl" && (d += pe(i.clientWidth, r.clientWidth) - l), { width: l, height: c, x: d, y: a };
715
+ return { width: p, height: u, x: c, y: a };
716
+ }(e, o)) : Q(t) ? ue(function(n, i) {
717
+ const s = ye(n, !0, i === "fixed"), r = s.top + n.clientTop, l = s.left + n.clientLeft, p = q(n) ? ae(n) : { x: 1, y: 1 };
718
+ return { width: n.clientWidth * p.x, height: n.clientHeight * p.y, x: l * p.x, y: r * p.y };
719
+ }(t, o)) : ue(function(n) {
720
+ const i = Z(n), s = ke(n), r = n.ownerDocument.body, l = pe(i.scrollWidth, i.clientWidth, r.scrollWidth, r.clientWidth), p = pe(i.scrollHeight, i.clientHeight, r.scrollHeight, r.clientHeight);
721
+ let u = -s.scrollLeft + kt(n);
722
+ const c = -s.scrollTop;
723
+ return V(r).direction === "rtl" && (u += pe(i.clientWidth, r.clientWidth) - l), { width: l, height: p, x: u, y: c };
725
724
  }(Z(e)));
726
725
  }
727
- function pt(e) {
728
- return V(e) && j(e).position !== "fixed" ? e.offsetParent : null;
726
+ function ut(e) {
727
+ return q(e) && V(e).position !== "fixed" ? e.offsetParent : null;
729
728
  }
730
- function ht(e) {
731
- const t = k(e);
732
- let n = pt(e);
733
- for (; n && Mn(n) && j(n).position === "static"; )
734
- n = pt(n);
735
- return n && (ee(n) === "html" || ee(n) === "body" && j(n).position === "static" && !qe(n)) ? t : n || function(o) {
736
- let i = $e(o);
737
- for (; V(i) && !Ze(i); ) {
738
- if (qe(i))
739
- return i;
729
+ function pt(e) {
730
+ const t = D(e);
731
+ let o = ut(e);
732
+ for (; o && ko(o) && V(o).position === "static"; ) o = ut(o);
733
+ return o && (te(o) === "html" || te(o) === "body" && V(o).position === "static" && !Ve(o)) ? t : o || function(n) {
734
+ let i = $e(n);
735
+ for (; q(i) && !Qe(i); ) {
736
+ if (Ve(i)) return i;
740
737
  i = $e(i);
741
738
  }
742
739
  return null;
743
740
  }(e) || t;
744
741
  }
745
- function Dn(e, t, n) {
746
- const o = V(t), i = Z(t), s = ye(e, !0, n === "fixed", t);
742
+ function Ho(e, t, o) {
743
+ const n = q(t), i = Z(t), s = ye(e, !0, o === "fixed", t);
747
744
  let r = { scrollLeft: 0, scrollTop: 0 };
748
745
  const l = { x: 0, y: 0 };
749
- if (o || !o && n !== "fixed")
750
- if ((ee(t) !== "body" || He(i)) && (r = Me(t)), V(t)) {
751
- const c = ye(t, !0);
752
- l.x = c.x + t.clientLeft, l.y = c.y + t.clientTop;
753
- } else
754
- i && (l.x = Mt(i));
746
+ if (n || !n && o !== "fixed") if ((te(t) !== "body" || Le(i)) && (r = ke(t)), q(t)) {
747
+ const p = ye(t, !0);
748
+ l.x = p.x + t.clientLeft, l.y = p.y + t.clientTop;
749
+ } else i && (l.x = kt(i));
755
750
  return { x: s.left + r.scrollLeft - l.x, y: s.top + r.scrollTop - l.y, width: s.width, height: s.height };
756
751
  }
757
- const kn = { getClippingRect: function(e) {
758
- let { element: t, boundary: n, rootBoundary: o, strategy: i } = e;
759
- const s = n === "clippingAncestors" ? function(d, a) {
760
- const u = a.get(d);
761
- if (u)
762
- return u;
763
- let p = Ne(d).filter((w) => Q(w) && ee(w) !== "body"), h = null;
764
- const f = j(d).position === "fixed";
765
- let m = f ? $e(d) : d;
766
- for (; Q(m) && !Ze(m); ) {
767
- const w = j(m), g = qe(m);
768
- (f ? g || h : g || w.position !== "static" || !h || !["absolute", "fixed"].includes(h.position)) ? h = w : p = p.filter((v) => v !== m), m = $e(m);
752
+ const Mo = { getClippingRect: function(e) {
753
+ let { element: t, boundary: o, rootBoundary: n, strategy: i } = e;
754
+ const s = o === "clippingAncestors" ? function(u, c) {
755
+ const a = c.get(u);
756
+ if (a) return a;
757
+ let d = Ne(u).filter((w) => Q(w) && te(w) !== "body"), h = null;
758
+ const f = V(u).position === "fixed";
759
+ let m = f ? $e(u) : u;
760
+ for (; Q(m) && !Qe(m); ) {
761
+ const w = V(m), g = Ve(m);
762
+ (f ? g || h : g || w.position !== "static" || !h || !["absolute", "fixed"].includes(h.position)) ? h = w : d = d.filter((v) => v !== m), m = $e(m);
769
763
  }
770
- return a.set(d, p), p;
771
- }(t, this._c) : [].concat(n), r = [...s, o], l = r[0], c = r.reduce((d, a) => {
772
- const u = ut(t, a, i);
773
- return d.top = pe(u.top, d.top), d.right = dt(u.right, d.right), d.bottom = dt(u.bottom, d.bottom), d.left = pe(u.left, d.left), d;
774
- }, ut(t, l, i));
775
- return { width: c.right - c.left, height: c.bottom - c.top, x: c.left, y: c.top };
764
+ return c.set(u, d), d;
765
+ }(t, this._c) : [].concat(o), r = [...s, n], l = r[0], p = r.reduce((u, c) => {
766
+ const a = dt(t, c, i);
767
+ return u.top = pe(a.top, u.top), u.right = at(a.right, u.right), u.bottom = at(a.bottom, u.bottom), u.left = pe(a.left, u.left), u;
768
+ }, dt(t, l, i));
769
+ return { width: p.right - p.left, height: p.bottom - p.top, x: p.left, y: p.top };
776
770
  }, convertOffsetParentRelativeRectToViewportRelativeRect: function(e) {
777
- let { rect: t, offsetParent: n, strategy: o } = e;
778
- const i = V(n), s = Z(n);
779
- if (n === s)
780
- return t;
771
+ let { rect: t, offsetParent: o, strategy: n } = e;
772
+ const i = q(o), s = Z(o);
773
+ if (o === s) return t;
781
774
  let r = { scrollLeft: 0, scrollTop: 0 }, l = { x: 1, y: 1 };
782
- const c = { x: 0, y: 0 };
783
- if ((i || !i && o !== "fixed") && ((ee(n) !== "body" || He(s)) && (r = Me(n)), V(n))) {
784
- const d = ye(n);
785
- l = de(n), c.x = d.x + n.clientLeft, c.y = d.y + n.clientTop;
775
+ const p = { x: 0, y: 0 };
776
+ if ((i || !i && n !== "fixed") && ((te(o) !== "body" || Le(s)) && (r = ke(o)), q(o))) {
777
+ const u = ye(o);
778
+ l = ae(o), p.x = u.x + o.clientLeft, p.y = u.y + o.clientTop;
786
779
  }
787
- return { width: t.width * l.x, height: t.height * l.y, x: t.x * l.x - r.scrollLeft * l.x + c.x, y: t.y * l.y - r.scrollTop * l.y + c.y };
780
+ return { width: t.width * l.x, height: t.height * l.y, x: t.x * l.x - r.scrollLeft * l.x + p.x, y: t.y * l.y - r.scrollTop * l.y + p.y };
788
781
  }, isElement: Q, getDimensions: function(e) {
789
- return V(e) ? Nt(e) : e.getBoundingClientRect();
790
- }, getOffsetParent: ht, getDocumentElement: Z, getScale: de, async getElementRects(e) {
791
- let { reference: t, floating: n, strategy: o } = e;
792
- const i = this.getOffsetParent || ht, s = this.getDimensions;
793
- return { reference: Dn(t, await i(n), o), floating: { x: 0, y: 0, ...await s(n) } };
794
- }, getClientRects: (e) => Array.from(e.getClientRects()), isRTL: (e) => j(e).direction === "rtl" }, Bn = (e, t, n) => {
795
- const o = /* @__PURE__ */ new Map(), i = { platform: kn, ...n }, s = { ...i.platform, _c: o };
796
- return Pn(e, t, { ...i, platform: s });
797
- }, ie = {
782
+ return q(e) ? Ot(e) : e.getBoundingClientRect();
783
+ }, getOffsetParent: pt, getDocumentElement: Z, getScale: ae, async getElementRects(e) {
784
+ let { reference: t, floating: o, strategy: n } = e;
785
+ const i = this.getOffsetParent || pt, s = this.getDimensions;
786
+ return { reference: Ho(t, await i(o), n), floating: { x: 0, y: 0, ...await s(o) } };
787
+ }, getClientRects: (e) => Array.from(e.getClientRects()), isRTL: (e) => V(e).direction === "rtl" }, Do = (e, t, o) => {
788
+ const n = /* @__PURE__ */ new Map(), i = { platform: Mo, ...o }, s = { ...i.platform, _c: n };
789
+ return To(e, t, { ...i, platform: s });
790
+ }, se = {
798
791
  // Disable popper components
799
792
  disabled: !1,
800
793
  // Default position offset along main axis (px)
@@ -870,26 +863,26 @@ const kn = { getClippingRect: function(e) {
870
863
  }
871
864
  };
872
865
  function Ee(e, t) {
873
- let n = ie.themes[e] || {}, o;
866
+ let o = se.themes[e] || {}, n;
874
867
  do
875
- o = n[t], typeof o > "u" ? n.$extend ? n = ie.themes[n.$extend] || {} : (n = null, o = ie[t]) : n = null;
876
- while (n);
877
- return o;
868
+ n = o[t], typeof n > "u" ? o.$extend ? o = se.themes[o.$extend] || {} : (o = null, n = se[t]) : o = null;
869
+ while (o);
870
+ return n;
878
871
  }
879
- function In(e) {
872
+ function Bo(e) {
880
873
  const t = [e];
881
- let n = ie.themes[e] || {};
874
+ let o = se.themes[e] || {};
882
875
  do
883
- n.$extend && !n.$resetCss ? (t.push(n.$extend), n = ie.themes[n.$extend] || {}) : n = null;
884
- while (n);
885
- return t.map((o) => `v-popper--theme-${o}`);
876
+ o.$extend && !o.$resetCss ? (t.push(o.$extend), o = se.themes[o.$extend] || {}) : o = null;
877
+ while (o);
878
+ return t.map((n) => `v-popper--theme-${n}`);
886
879
  }
887
- function ft(e) {
880
+ function ht(e) {
888
881
  const t = [e];
889
- let n = ie.themes[e] || {};
882
+ let o = se.themes[e] || {};
890
883
  do
891
- n.$extend ? (t.push(n.$extend), n = ie.themes[n.$extend] || {}) : n = null;
892
- while (n);
884
+ o.$extend ? (t.push(o.$extend), o = se.themes[o.$extend] || {}) : o = null;
885
+ while (o);
893
886
  return t;
894
887
  }
895
888
  let ce = !1;
@@ -905,50 +898,50 @@ if (typeof window < "u") {
905
898
  } catch {
906
899
  }
907
900
  }
908
- let kt = !1;
909
- typeof window < "u" && typeof navigator < "u" && (kt = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream);
910
- const Bt = ["auto", "top", "bottom", "left", "right"].reduce((e, t) => e.concat([
901
+ let Mt = !1;
902
+ typeof window < "u" && typeof navigator < "u" && (Mt = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream);
903
+ const Dt = ["auto", "top", "bottom", "left", "right"].reduce((e, t) => e.concat([
911
904
  t,
912
905
  `${t}-start`,
913
906
  `${t}-end`
914
- ]), []), mt = {
907
+ ]), []), ft = {
915
908
  hover: "mouseenter",
916
909
  focus: "focus",
917
910
  click: "click",
918
911
  touch: "touchstart",
919
912
  pointer: "pointerdown"
920
- }, gt = {
913
+ }, mt = {
921
914
  hover: "mouseleave",
922
915
  focus: "blur",
923
916
  click: "click",
924
917
  touch: "touchend",
925
918
  pointer: "pointerup"
926
919
  };
927
- function wt(e, t) {
928
- const n = e.indexOf(t);
929
- n !== -1 && e.splice(n, 1);
920
+ function gt(e, t) {
921
+ const o = e.indexOf(t);
922
+ o !== -1 && e.splice(o, 1);
930
923
  }
931
- function Ie() {
924
+ function Be() {
932
925
  return new Promise((e) => requestAnimationFrame(() => {
933
926
  requestAnimationFrame(e);
934
927
  }));
935
928
  }
936
- const M = [];
937
- let te = null;
938
- const vt = {};
939
- function yt(e) {
940
- let t = vt[e];
941
- return t || (t = vt[e] = []), t;
929
+ const H = [];
930
+ let oe = null;
931
+ const wt = {};
932
+ function vt(e) {
933
+ let t = wt[e];
934
+ return t || (t = wt[e] = []), t;
942
935
  }
943
- let Ge = function() {
936
+ let qe = function() {
944
937
  };
945
- typeof window < "u" && (Ge = window.Element);
946
- function b(e) {
938
+ typeof window < "u" && (qe = window.Element);
939
+ function x(e) {
947
940
  return function(t) {
948
941
  return Ee(t.theme, e);
949
942
  };
950
943
  }
951
- const Fe = "__floating-vue__popper", It = () => ze({
944
+ const Fe = "__floating-vue__popper", Bt = () => Re({
952
945
  name: "VPopper",
953
946
  provide() {
954
947
  return {
@@ -991,147 +984,147 @@ const Fe = "__floating-vue__popper", It = () => ze({
991
984
  },
992
985
  disabled: {
993
986
  type: Boolean,
994
- default: b("disabled")
987
+ default: x("disabled")
995
988
  },
996
989
  positioningDisabled: {
997
990
  type: Boolean,
998
- default: b("positioningDisabled")
991
+ default: x("positioningDisabled")
999
992
  },
1000
993
  placement: {
1001
994
  type: String,
1002
- default: b("placement"),
1003
- validator: (e) => Bt.includes(e)
995
+ default: x("placement"),
996
+ validator: (e) => Dt.includes(e)
1004
997
  },
1005
998
  delay: {
1006
999
  type: [String, Number, Object],
1007
- default: b("delay")
1000
+ default: x("delay")
1008
1001
  },
1009
1002
  distance: {
1010
1003
  type: [Number, String],
1011
- default: b("distance")
1004
+ default: x("distance")
1012
1005
  },
1013
1006
  skidding: {
1014
1007
  type: [Number, String],
1015
- default: b("skidding")
1008
+ default: x("skidding")
1016
1009
  },
1017
1010
  triggers: {
1018
1011
  type: Array,
1019
- default: b("triggers")
1012
+ default: x("triggers")
1020
1013
  },
1021
1014
  showTriggers: {
1022
1015
  type: [Array, Function],
1023
- default: b("showTriggers")
1016
+ default: x("showTriggers")
1024
1017
  },
1025
1018
  hideTriggers: {
1026
1019
  type: [Array, Function],
1027
- default: b("hideTriggers")
1020
+ default: x("hideTriggers")
1028
1021
  },
1029
1022
  popperTriggers: {
1030
1023
  type: Array,
1031
- default: b("popperTriggers")
1024
+ default: x("popperTriggers")
1032
1025
  },
1033
1026
  popperShowTriggers: {
1034
1027
  type: [Array, Function],
1035
- default: b("popperShowTriggers")
1028
+ default: x("popperShowTriggers")
1036
1029
  },
1037
1030
  popperHideTriggers: {
1038
1031
  type: [Array, Function],
1039
- default: b("popperHideTriggers")
1032
+ default: x("popperHideTriggers")
1040
1033
  },
1041
1034
  container: {
1042
- type: [String, Object, Ge, Boolean],
1043
- default: b("container")
1035
+ type: [String, Object, qe, Boolean],
1036
+ default: x("container")
1044
1037
  },
1045
1038
  boundary: {
1046
- type: [String, Ge],
1047
- default: b("boundary")
1039
+ type: [String, qe],
1040
+ default: x("boundary")
1048
1041
  },
1049
1042
  strategy: {
1050
1043
  type: String,
1051
1044
  validator: (e) => ["absolute", "fixed"].includes(e),
1052
- default: b("strategy")
1045
+ default: x("strategy")
1053
1046
  },
1054
1047
  autoHide: {
1055
1048
  type: [Boolean, Function],
1056
- default: b("autoHide")
1049
+ default: x("autoHide")
1057
1050
  },
1058
1051
  handleResize: {
1059
1052
  type: Boolean,
1060
- default: b("handleResize")
1053
+ default: x("handleResize")
1061
1054
  },
1062
1055
  instantMove: {
1063
1056
  type: Boolean,
1064
- default: b("instantMove")
1057
+ default: x("instantMove")
1065
1058
  },
1066
1059
  eagerMount: {
1067
1060
  type: Boolean,
1068
- default: b("eagerMount")
1061
+ default: x("eagerMount")
1069
1062
  },
1070
1063
  popperClass: {
1071
1064
  type: [String, Array, Object],
1072
- default: b("popperClass")
1065
+ default: x("popperClass")
1073
1066
  },
1074
1067
  computeTransformOrigin: {
1075
1068
  type: Boolean,
1076
- default: b("computeTransformOrigin")
1069
+ default: x("computeTransformOrigin")
1077
1070
  },
1078
1071
  /**
1079
1072
  * @deprecated
1080
1073
  */
1081
1074
  autoMinSize: {
1082
1075
  type: Boolean,
1083
- default: b("autoMinSize")
1076
+ default: x("autoMinSize")
1084
1077
  },
1085
1078
  autoSize: {
1086
1079
  type: [Boolean, String],
1087
- default: b("autoSize")
1080
+ default: x("autoSize")
1088
1081
  },
1089
1082
  /**
1090
1083
  * @deprecated
1091
1084
  */
1092
1085
  autoMaxSize: {
1093
1086
  type: Boolean,
1094
- default: b("autoMaxSize")
1087
+ default: x("autoMaxSize")
1095
1088
  },
1096
1089
  autoBoundaryMaxSize: {
1097
1090
  type: Boolean,
1098
- default: b("autoBoundaryMaxSize")
1091
+ default: x("autoBoundaryMaxSize")
1099
1092
  },
1100
1093
  preventOverflow: {
1101
1094
  type: Boolean,
1102
- default: b("preventOverflow")
1095
+ default: x("preventOverflow")
1103
1096
  },
1104
1097
  overflowPadding: {
1105
1098
  type: [Number, String],
1106
- default: b("overflowPadding")
1099
+ default: x("overflowPadding")
1107
1100
  },
1108
1101
  arrowPadding: {
1109
1102
  type: [Number, String],
1110
- default: b("arrowPadding")
1103
+ default: x("arrowPadding")
1111
1104
  },
1112
1105
  arrowOverflow: {
1113
1106
  type: Boolean,
1114
- default: b("arrowOverflow")
1107
+ default: x("arrowOverflow")
1115
1108
  },
1116
1109
  flip: {
1117
1110
  type: Boolean,
1118
- default: b("flip")
1111
+ default: x("flip")
1119
1112
  },
1120
1113
  shift: {
1121
1114
  type: Boolean,
1122
- default: b("shift")
1115
+ default: x("shift")
1123
1116
  },
1124
1117
  shiftCrossAxis: {
1125
1118
  type: Boolean,
1126
- default: b("shiftCrossAxis")
1119
+ default: x("shiftCrossAxis")
1127
1120
  },
1128
1121
  noAutoFocus: {
1129
1122
  type: Boolean,
1130
- default: b("noAutoFocus")
1123
+ default: x("noAutoFocus")
1131
1124
  },
1132
1125
  disposeTimeout: {
1133
1126
  type: Number,
1134
- default: b("disposeTimeout")
1127
+ default: x("disposeTimeout")
1135
1128
  }
1136
1129
  },
1137
1130
  emits: {
@@ -1249,14 +1242,14 @@ const Fe = "__floating-vue__popper", It = () => ze({
1249
1242
  this.dispose();
1250
1243
  },
1251
1244
  methods: {
1252
- show({ event: e = null, skipDelay: t = !1, force: n = !1 } = {}) {
1253
- var o, i;
1254
- (o = this.parentPopper) != null && o.lockedChild && this.parentPopper.lockedChild !== this || (this.$_pendingHide = !1, (n || !this.disabled) && (((i = this.parentPopper) == null ? void 0 : i.lockedChild) === this && (this.parentPopper.lockedChild = null), this.$_scheduleShow(e, t), this.$emit("show"), this.$_showFrameLocked = !0, requestAnimationFrame(() => {
1245
+ show({ event: e = null, skipDelay: t = !1, force: o = !1 } = {}) {
1246
+ var n, i;
1247
+ (n = this.parentPopper) != null && n.lockedChild && this.parentPopper.lockedChild !== this || (this.$_pendingHide = !1, (o || !this.disabled) && (((i = this.parentPopper) == null ? void 0 : i.lockedChild) === this && (this.parentPopper.lockedChild = null), this.$_scheduleShow(e, t), this.$emit("show"), this.$_showFrameLocked = !0, requestAnimationFrame(() => {
1255
1248
  this.$_showFrameLocked = !1;
1256
1249
  })), this.$emit("update:shown", !0));
1257
1250
  },
1258
1251
  hide({ event: e = null, skipDelay: t = !1 } = {}) {
1259
- var n;
1252
+ var o;
1260
1253
  if (!this.$_hideInProgress) {
1261
1254
  if (this.shownChildren.size > 0) {
1262
1255
  this.$_pendingHide = !0;
@@ -1268,7 +1261,7 @@ const Fe = "__floating-vue__popper", It = () => ze({
1268
1261
  }, 1e3));
1269
1262
  return;
1270
1263
  }
1271
- ((n = this.parentPopper) == null ? void 0 : n.lockedChild) === this && (this.parentPopper.lockedChild = null), this.$_pendingHide = !1, this.$_scheduleHide(e, t), this.$emit("hide"), this.$emit("update:shown", !1);
1264
+ ((o = this.parentPopper) == null ? void 0 : o.lockedChild) === this && (this.parentPopper.lockedChild = null), this.$_pendingHide = !1, this.$_scheduleHide(e, t), this.$emit("hide"), this.$emit("update:shown", !1);
1272
1265
  }
1273
1266
  },
1274
1267
  init() {
@@ -1288,44 +1281,44 @@ const Fe = "__floating-vue__popper", It = () => ze({
1288
1281
  strategy: this.strategy,
1289
1282
  middleware: []
1290
1283
  };
1291
- (this.distance || this.skidding) && e.middleware.push(Rn({
1284
+ (this.distance || this.skidding) && e.middleware.push(Ro({
1292
1285
  mainAxis: this.distance,
1293
1286
  crossAxis: this.skidding
1294
1287
  }));
1295
1288
  const t = this.placement.startsWith("auto");
1296
- if (t ? e.middleware.push(On({
1289
+ if (t ? e.middleware.push(Co({
1297
1290
  alignment: this.placement.split("-")[1] ?? ""
1298
- })) : e.placement = this.placement, this.preventOverflow && (this.shift && e.middleware.push(Ln({
1291
+ })) : e.placement = this.placement, this.preventOverflow && (this.shift && e.middleware.push(zo({
1299
1292
  padding: this.overflowPadding,
1300
1293
  boundary: this.boundary,
1301
1294
  crossAxis: this.shiftCrossAxis
1302
- })), !t && this.flip && e.middleware.push(Nn({
1295
+ })), !t && this.flip && e.middleware.push(Oo({
1303
1296
  padding: this.overflowPadding,
1304
1297
  boundary: this.boundary
1305
- }))), e.middleware.push(An({
1298
+ }))), e.middleware.push(Po({
1306
1299
  element: this.$_arrowNode,
1307
1300
  padding: this.arrowPadding
1308
1301
  })), this.arrowOverflow && e.middleware.push({
1309
1302
  name: "arrowOverflow",
1310
- fn: ({ placement: o, rects: i, middlewareData: s }) => {
1303
+ fn: ({ placement: n, rects: i, middlewareData: s }) => {
1311
1304
  let r;
1312
1305
  const { centerOffset: l } = s.arrow;
1313
- return o.startsWith("top") || o.startsWith("bottom") ? r = Math.abs(l) > i.reference.width / 2 : r = Math.abs(l) > i.reference.height / 2, {
1306
+ return n.startsWith("top") || n.startsWith("bottom") ? r = Math.abs(l) > i.reference.width / 2 : r = Math.abs(l) > i.reference.height / 2, {
1314
1307
  data: {
1315
1308
  overflow: r
1316
1309
  }
1317
1310
  };
1318
1311
  }
1319
1312
  }), this.autoMinSize || this.autoSize) {
1320
- const o = this.autoSize ? this.autoSize : this.autoMinSize ? "min" : null;
1313
+ const n = this.autoSize ? this.autoSize : this.autoMinSize ? "min" : null;
1321
1314
  e.middleware.push({
1322
1315
  name: "autoSize",
1323
1316
  fn: ({ rects: i, placement: s, middlewareData: r }) => {
1324
1317
  var l;
1325
1318
  if ((l = r.autoSize) != null && l.skip)
1326
1319
  return {};
1327
- let c, d;
1328
- return s.startsWith("top") || s.startsWith("bottom") ? c = i.reference.width : d = i.reference.height, this.$_innerNode.style[o === "min" ? "minWidth" : o === "max" ? "maxWidth" : "width"] = c != null ? `${c}px` : null, this.$_innerNode.style[o === "min" ? "minHeight" : o === "max" ? "maxHeight" : "height"] = d != null ? `${d}px` : null, {
1320
+ let p, u;
1321
+ return s.startsWith("top") || s.startsWith("bottom") ? p = i.reference.width : u = i.reference.height, this.$_innerNode.style[n === "min" ? "minWidth" : n === "max" ? "maxWidth" : "width"] = p != null ? `${p}px` : null, this.$_innerNode.style[n === "min" ? "minHeight" : n === "max" ? "maxHeight" : "height"] = u != null ? `${u}px` : null, {
1329
1322
  data: {
1330
1323
  skip: !0
1331
1324
  },
@@ -1336,28 +1329,28 @@ const Fe = "__floating-vue__popper", It = () => ze({
1336
1329
  }
1337
1330
  });
1338
1331
  }
1339
- (this.autoMaxSize || this.autoBoundaryMaxSize) && (this.$_innerNode.style.maxWidth = null, this.$_innerNode.style.maxHeight = null, e.middleware.push(Hn({
1332
+ (this.autoMaxSize || this.autoBoundaryMaxSize) && (this.$_innerNode.style.maxWidth = null, this.$_innerNode.style.maxHeight = null, e.middleware.push(Lo({
1340
1333
  boundary: this.boundary,
1341
1334
  padding: this.overflowPadding,
1342
- apply: ({ availableWidth: o, availableHeight: i }) => {
1343
- this.$_innerNode.style.maxWidth = o != null ? `${o}px` : null, this.$_innerNode.style.maxHeight = i != null ? `${i}px` : null;
1335
+ apply: ({ availableWidth: n, availableHeight: i }) => {
1336
+ this.$_innerNode.style.maxWidth = n != null ? `${n}px` : null, this.$_innerNode.style.maxHeight = i != null ? `${i}px` : null;
1344
1337
  }
1345
1338
  })));
1346
- const n = await Bn(this.$_referenceNode, this.$_popperNode, e);
1339
+ const o = await Do(this.$_referenceNode, this.$_popperNode, e);
1347
1340
  Object.assign(this.result, {
1348
- x: n.x,
1349
- y: n.y,
1350
- placement: n.placement,
1351
- strategy: n.strategy,
1341
+ x: o.x,
1342
+ y: o.y,
1343
+ placement: o.placement,
1344
+ strategy: o.strategy,
1352
1345
  arrow: {
1353
- ...n.middlewareData.arrow,
1354
- ...n.middlewareData.arrowOverflow
1346
+ ...o.middlewareData.arrow,
1347
+ ...o.middlewareData.arrowOverflow
1355
1348
  }
1356
1349
  });
1357
1350
  },
1358
1351
  $_scheduleShow(e = null, t = !1) {
1359
- if (this.$_updateParentShownChildren(!0), this.$_hideInProgress = !1, clearTimeout(this.$_scheduleTimer), te && this.instantMove && te.instantMove && te !== this.parentPopper) {
1360
- te.$_applyHide(!0), this.$_applyShow(!0);
1352
+ if (this.$_updateParentShownChildren(!0), this.$_hideInProgress = !1, clearTimeout(this.$_scheduleTimer), oe && this.instantMove && oe.instantMove && oe !== this.parentPopper) {
1353
+ oe.$_applyHide(!0), this.$_applyShow(!0);
1361
1354
  return;
1362
1355
  }
1363
1356
  t ? this.$_applyShow() : this.$_scheduleTimer = setTimeout(this.$_applyShow.bind(this), this.$_computeDelay("show"));
@@ -1367,14 +1360,14 @@ const Fe = "__floating-vue__popper", It = () => ze({
1367
1360
  this.$_pendingHide = !0;
1368
1361
  return;
1369
1362
  }
1370
- this.$_updateParentShownChildren(!1), this.$_hideInProgress = !0, clearTimeout(this.$_scheduleTimer), this.isShown && (te = this), t ? this.$_applyHide() : this.$_scheduleTimer = setTimeout(this.$_applyHide.bind(this), this.$_computeDelay("hide"));
1363
+ this.$_updateParentShownChildren(!1), this.$_hideInProgress = !0, clearTimeout(this.$_scheduleTimer), this.isShown && (oe = this), t ? this.$_applyHide() : this.$_scheduleTimer = setTimeout(this.$_applyHide.bind(this), this.$_computeDelay("hide"));
1371
1364
  },
1372
1365
  $_computeDelay(e) {
1373
1366
  const t = this.delay;
1374
1367
  return parseInt(t && t[e] || t || 0);
1375
1368
  },
1376
1369
  async $_applyShow(e = !1) {
1377
- clearTimeout(this.$_disposeTimer), clearTimeout(this.$_scheduleTimer), this.skipTransition = e, !this.isShown && (this.$_ensureTeleport(), await Ie(), await this.$_computePosition(), await this.$_applyShowEffect(), this.positioningDisabled || this.$_registerEventListeners([
1370
+ clearTimeout(this.$_disposeTimer), clearTimeout(this.$_scheduleTimer), this.skipTransition = e, !this.isShown && (this.$_ensureTeleport(), await Be(), await this.$_computePosition(), await this.$_applyShowEffect(), this.positioningDisabled || this.$_registerEventListeners([
1378
1371
  ...Ne(this.$_referenceNode),
1379
1372
  ...Ne(this.$_popperNode)
1380
1373
  ], "scroll", () => {
@@ -1385,7 +1378,7 @@ const Fe = "__floating-vue__popper", It = () => ze({
1385
1378
  if (this.$_hideInProgress)
1386
1379
  return;
1387
1380
  if (this.computeTransformOrigin) {
1388
- const t = this.$_referenceNode.getBoundingClientRect(), n = this.$_popperNode.querySelector(".v-popper__wrapper"), o = n.parentNode.getBoundingClientRect(), i = t.x + t.width / 2 - (o.left + n.offsetLeft), s = t.y + t.height / 2 - (o.top + n.offsetTop);
1381
+ const t = this.$_referenceNode.getBoundingClientRect(), o = this.$_popperNode.querySelector(".v-popper__wrapper"), n = o.parentNode.getBoundingClientRect(), i = t.x + t.width / 2 - (n.left + o.offsetLeft), s = t.y + t.height / 2 - (n.top + o.offsetTop);
1389
1382
  this.result.transformOrigin = `${i}px ${s}px`;
1390
1383
  }
1391
1384
  this.isShown = !0, this.$_applyAttrsToTarget({
@@ -1395,13 +1388,13 @@ const Fe = "__floating-vue__popper", It = () => ze({
1395
1388
  const e = this.showGroup;
1396
1389
  if (e) {
1397
1390
  let t;
1398
- for (let n = 0; n < M.length; n++)
1399
- t = M[n], t.showGroup !== e && (t.hide(), t.$emit("close-group"));
1391
+ for (let o = 0; o < H.length; o++)
1392
+ t = H[o], t.showGroup !== e && (t.hide(), t.$emit("close-group"));
1400
1393
  }
1401
- M.push(this), document.body.classList.add("v-popper--some-open");
1402
- for (const t of ft(this.theme))
1403
- yt(t).push(this), document.body.classList.add(`v-popper--some-open--${t}`);
1404
- this.$emit("apply-show"), this.classes.showFrom = !0, this.classes.showTo = !1, this.classes.hideFrom = !1, this.classes.hideTo = !1, await Ie(), this.classes.showFrom = !1, this.classes.showTo = !0, this.noAutoFocus || this.$_popperNode.focus();
1394
+ H.push(this), document.body.classList.add("v-popper--some-open");
1395
+ for (const t of ht(this.theme))
1396
+ vt(t).push(this), document.body.classList.add(`v-popper--some-open--${t}`);
1397
+ this.$emit("apply-show"), this.classes.showFrom = !0, this.classes.showTo = !1, this.classes.hideFrom = !1, this.classes.hideTo = !1, await Be(), this.classes.showFrom = !1, this.classes.showTo = !0, this.noAutoFocus || this.$_popperNode.focus();
1405
1398
  },
1406
1399
  async $_applyHide(e = !1) {
1407
1400
  if (this.shownChildren.size > 0) {
@@ -1410,19 +1403,19 @@ const Fe = "__floating-vue__popper", It = () => ze({
1410
1403
  }
1411
1404
  if (clearTimeout(this.$_scheduleTimer), !this.isShown)
1412
1405
  return;
1413
- this.skipTransition = e, wt(M, this), M.length === 0 && document.body.classList.remove("v-popper--some-open");
1414
- for (const n of ft(this.theme)) {
1415
- const o = yt(n);
1416
- wt(o, this), o.length === 0 && document.body.classList.remove(`v-popper--some-open--${n}`);
1406
+ this.skipTransition = e, gt(H, this), H.length === 0 && document.body.classList.remove("v-popper--some-open");
1407
+ for (const o of ht(this.theme)) {
1408
+ const n = vt(o);
1409
+ gt(n, this), n.length === 0 && document.body.classList.remove(`v-popper--some-open--${o}`);
1417
1410
  }
1418
- te === this && (te = null), this.isShown = !1, this.$_applyAttrsToTarget({
1411
+ oe === this && (oe = null), this.isShown = !1, this.$_applyAttrsToTarget({
1419
1412
  "aria-describedby": void 0,
1420
1413
  "data-popper-shown": void 0
1421
1414
  }), clearTimeout(this.$_disposeTimer);
1422
1415
  const t = this.disposeTimeout;
1423
1416
  t !== null && (this.$_disposeTimer = setTimeout(() => {
1424
1417
  this.$_popperNode && (this.$_detachPopperNode(), this.isMounted = !1);
1425
- }, t)), this.$_removeEventListeners("scroll"), this.$emit("apply-hide"), this.classes.showFrom = !1, this.classes.showTo = !1, this.classes.hideFrom = !0, this.classes.hideTo = !1, await Ie(), this.classes.hideFrom = !1, this.classes.hideTo = !0;
1418
+ }, t)), this.$_removeEventListeners("scroll"), this.$emit("apply-hide"), this.classes.showFrom = !1, this.classes.showTo = !1, this.classes.hideFrom = !0, this.classes.hideTo = !1, await Be(), this.classes.hideFrom = !1, this.classes.hideTo = !0;
1426
1419
  },
1427
1420
  $_autoShowHide() {
1428
1421
  this.shown ? this.show() : this.hide();
@@ -1436,32 +1429,32 @@ const Fe = "__floating-vue__popper", It = () => ze({
1436
1429
  e.appendChild(this.$_popperNode), this.isMounted = !0;
1437
1430
  },
1438
1431
  $_addEventListeners() {
1439
- const e = (n) => {
1440
- this.isShown && !this.$_hideInProgress || (n.usedByTooltip = !0, !this.$_preventShow && this.show({ event: n }));
1432
+ const e = (o) => {
1433
+ this.isShown && !this.$_hideInProgress || (o.usedByTooltip = !0, !this.$_preventShow && this.show({ event: o }));
1441
1434
  };
1442
- this.$_registerTriggerListeners(this.$_targetNodes, mt, this.triggers, this.showTriggers, e), this.$_registerTriggerListeners([this.$_popperNode], mt, this.popperTriggers, this.popperShowTriggers, e);
1443
- const t = (n) => {
1444
- n.usedByTooltip || this.hide({ event: n });
1435
+ this.$_registerTriggerListeners(this.$_targetNodes, ft, this.triggers, this.showTriggers, e), this.$_registerTriggerListeners([this.$_popperNode], ft, this.popperTriggers, this.popperShowTriggers, e);
1436
+ const t = (o) => {
1437
+ o.usedByTooltip || this.hide({ event: o });
1445
1438
  };
1446
- this.$_registerTriggerListeners(this.$_targetNodes, gt, this.triggers, this.hideTriggers, t), this.$_registerTriggerListeners([this.$_popperNode], gt, this.popperTriggers, this.popperHideTriggers, t);
1439
+ this.$_registerTriggerListeners(this.$_targetNodes, mt, this.triggers, this.hideTriggers, t), this.$_registerTriggerListeners([this.$_popperNode], mt, this.popperTriggers, this.popperHideTriggers, t);
1447
1440
  },
1448
- $_registerEventListeners(e, t, n) {
1449
- this.$_events.push({ targetNodes: e, eventType: t, handler: n }), e.forEach((o) => o.addEventListener(t, n, ce ? {
1441
+ $_registerEventListeners(e, t, o) {
1442
+ this.$_events.push({ targetNodes: e, eventType: t, handler: o }), e.forEach((n) => n.addEventListener(t, o, ce ? {
1450
1443
  passive: !0
1451
1444
  } : void 0));
1452
1445
  },
1453
- $_registerTriggerListeners(e, t, n, o, i) {
1454
- let s = n;
1455
- o != null && (s = typeof o == "function" ? o(s) : o), s.forEach((r) => {
1446
+ $_registerTriggerListeners(e, t, o, n, i) {
1447
+ let s = o;
1448
+ n != null && (s = typeof n == "function" ? n(s) : n), s.forEach((r) => {
1456
1449
  const l = t[r];
1457
1450
  l && this.$_registerEventListeners(e, l, i);
1458
1451
  });
1459
1452
  },
1460
1453
  $_removeEventListeners(e) {
1461
1454
  const t = [];
1462
- this.$_events.forEach((n) => {
1463
- const { targetNodes: o, eventType: i, handler: s } = n;
1464
- !e || e === i ? o.forEach((r) => r.removeEventListener(i, s)) : t.push(n);
1455
+ this.$_events.forEach((o) => {
1456
+ const { targetNodes: n, eventType: i, handler: s } = o;
1457
+ !e || e === i ? n.forEach((r) => r.removeEventListener(i, s)) : t.push(o);
1465
1458
  }), this.$_events = t;
1466
1459
  },
1467
1460
  $_refreshListeners() {
@@ -1476,16 +1469,16 @@ const Fe = "__floating-vue__popper", It = () => ze({
1476
1469
  this.$_popperNode.parentNode && this.$_popperNode.parentNode.removeChild(this.$_popperNode);
1477
1470
  },
1478
1471
  $_swapTargetAttrs(e, t) {
1479
- for (const n of this.$_targetNodes) {
1480
- const o = n.getAttribute(e);
1481
- o && (n.removeAttribute(e), n.setAttribute(t, o));
1472
+ for (const o of this.$_targetNodes) {
1473
+ const n = o.getAttribute(e);
1474
+ n && (o.removeAttribute(e), o.setAttribute(t, n));
1482
1475
  }
1483
1476
  },
1484
1477
  $_applyAttrsToTarget(e) {
1485
1478
  for (const t of this.$_targetNodes)
1486
- for (const n in e) {
1487
- const o = e[n];
1488
- o == null ? t.removeAttribute(n) : t.setAttribute(n, o);
1479
+ for (const o in e) {
1480
+ const n = e[o];
1481
+ n == null ? t.removeAttribute(o) : t.setAttribute(o, n);
1489
1482
  }
1490
1483
  },
1491
1484
  $_updateParentShownChildren(e) {
@@ -1496,11 +1489,11 @@ const Fe = "__floating-vue__popper", It = () => ze({
1496
1489
  $_isAimingPopper() {
1497
1490
  const e = this.$_referenceNode.getBoundingClientRect();
1498
1491
  if (he >= e.left && he <= e.right && fe >= e.top && fe <= e.bottom) {
1499
- const t = this.$_popperNode.getBoundingClientRect(), n = he - X, o = fe - K, i = t.left + t.width / 2 - X + (t.top + t.height / 2) - K + t.width + t.height, s = X + n * i, r = K + o * i;
1500
- return _e(X, K, s, r, t.left, t.top, t.left, t.bottom) || // Left edge
1501
- _e(X, K, s, r, t.left, t.top, t.right, t.top) || // Top edge
1502
- _e(X, K, s, r, t.right, t.top, t.right, t.bottom) || // Right edge
1503
- _e(X, K, s, r, t.left, t.bottom, t.right, t.bottom);
1492
+ const t = this.$_popperNode.getBoundingClientRect(), o = he - K, n = fe - J, i = t.left + t.width / 2 - K + (t.top + t.height / 2) - J + t.width + t.height, s = K + o * i, r = J + n * i;
1493
+ return _e(K, J, s, r, t.left, t.top, t.left, t.bottom) || // Left edge
1494
+ _e(K, J, s, r, t.left, t.top, t.right, t.top) || // Top edge
1495
+ _e(K, J, s, r, t.right, t.top, t.right, t.bottom) || // Right edge
1496
+ _e(K, J, s, r, t.left, t.bottom, t.right, t.bottom);
1504
1497
  }
1505
1498
  return !1;
1506
1499
  }
@@ -1509,45 +1502,45 @@ const Fe = "__floating-vue__popper", It = () => ze({
1509
1502
  return this.$slots.default(this.slotData);
1510
1503
  }
1511
1504
  });
1512
- typeof document < "u" && typeof window < "u" && (kt ? (document.addEventListener("touchstart", $t, ce ? {
1505
+ typeof document < "u" && typeof window < "u" && (Mt ? (document.addEventListener("touchstart", yt, ce ? {
1513
1506
  passive: !0,
1514
1507
  capture: !0
1515
- } : !0), document.addEventListener("touchend", Wn, ce ? {
1508
+ } : !0), document.addEventListener("touchend", Io, ce ? {
1516
1509
  passive: !0,
1517
1510
  capture: !0
1518
- } : !0)) : (window.addEventListener("mousedown", $t, !0), window.addEventListener("click", Fn, !0)), window.addEventListener("resize", qn));
1519
- function $t(e) {
1520
- for (let t = 0; t < M.length; t++) {
1521
- const n = M[t];
1511
+ } : !0)) : (window.addEventListener("mousedown", yt, !0), window.addEventListener("click", Fo, !0)), window.addEventListener("resize", Vo));
1512
+ function yt(e) {
1513
+ for (let t = 0; t < H.length; t++) {
1514
+ const o = H[t];
1522
1515
  try {
1523
- const o = n.popperNode();
1524
- n.$_mouseDownContains = o.contains(e.target);
1516
+ const n = o.popperNode();
1517
+ o.$_mouseDownContains = n.contains(e.target);
1525
1518
  } catch {
1526
1519
  }
1527
1520
  }
1528
1521
  }
1529
- function Fn(e) {
1522
+ function Fo(e) {
1530
1523
  Ft(e);
1531
1524
  }
1532
- function Wn(e) {
1525
+ function Io(e) {
1533
1526
  Ft(e, !0);
1534
1527
  }
1535
1528
  function Ft(e, t = !1) {
1536
- const n = {};
1537
- for (let o = M.length - 1; o >= 0; o--) {
1538
- const i = M[o];
1529
+ const o = {};
1530
+ for (let n = H.length - 1; n >= 0; n--) {
1531
+ const i = H[n];
1539
1532
  try {
1540
- const s = i.$_containsGlobalTarget = jn(i, e);
1533
+ const s = i.$_containsGlobalTarget = Wo(i, e);
1541
1534
  i.$_pendingHide = !1, requestAnimationFrame(() => {
1542
- if (i.$_pendingHide = !1, !n[i.randomId] && bt(i, s, e)) {
1535
+ if (i.$_pendingHide = !1, !o[i.randomId] && $t(i, s, e)) {
1543
1536
  if (i.$_handleGlobalClose(e, t), !e.closeAllPopover && e.closePopover && s) {
1544
1537
  let l = i.parentPopper;
1545
1538
  for (; l; )
1546
- n[l.randomId] = !0, l = l.parentPopper;
1539
+ o[l.randomId] = !0, l = l.parentPopper;
1547
1540
  return;
1548
1541
  }
1549
1542
  let r = i.parentPopper;
1550
- for (; r && bt(r, r.$_containsGlobalTarget, e); )
1543
+ for (; r && $t(r, r.$_containsGlobalTarget, e); )
1551
1544
  r.$_handleGlobalClose(e, t), r = r.parentPopper;
1552
1545
  }
1553
1546
  });
@@ -1555,74 +1548,74 @@ function Ft(e, t = !1) {
1555
1548
  }
1556
1549
  }
1557
1550
  }
1558
- function jn(e, t) {
1559
- const n = e.popperNode();
1560
- return e.$_mouseDownContains || n.contains(t.target);
1551
+ function Wo(e, t) {
1552
+ const o = e.popperNode();
1553
+ return e.$_mouseDownContains || o.contains(t.target);
1561
1554
  }
1562
- function bt(e, t, n) {
1563
- return n.closeAllPopover || n.closePopover && t || Vn(e, n) && !t;
1555
+ function $t(e, t, o) {
1556
+ return o.closeAllPopover || o.closePopover && t || jo(e, o) && !t;
1564
1557
  }
1565
- function Vn(e, t) {
1558
+ function jo(e, t) {
1566
1559
  if (typeof e.autoHide == "function") {
1567
- const n = e.autoHide(t);
1568
- return e.lastAutoHide = n, n;
1560
+ const o = e.autoHide(t);
1561
+ return e.lastAutoHide = o, o;
1569
1562
  }
1570
1563
  return e.autoHide;
1571
1564
  }
1572
- function qn(e) {
1573
- for (let t = 0; t < M.length; t++)
1574
- M[t].$_computePosition(e);
1565
+ function Vo(e) {
1566
+ for (let t = 0; t < H.length; t++)
1567
+ H[t].$_computePosition(e);
1575
1568
  }
1576
- function Gn() {
1577
- for (let e = 0; e < M.length; e++)
1578
- M[e].hide();
1569
+ function qo() {
1570
+ for (let e = 0; e < H.length; e++)
1571
+ H[e].hide();
1579
1572
  }
1580
- let X = 0, K = 0, he = 0, fe = 0;
1573
+ let K = 0, J = 0, he = 0, fe = 0;
1581
1574
  typeof window < "u" && window.addEventListener("mousemove", (e) => {
1582
- X = he, K = fe, he = e.clientX, fe = e.clientY;
1575
+ K = he, J = fe, he = e.clientX, fe = e.clientY;
1583
1576
  }, ce ? {
1584
1577
  passive: !0
1585
1578
  } : void 0);
1586
- function _e(e, t, n, o, i, s, r, l) {
1587
- const c = ((r - i) * (t - s) - (l - s) * (e - i)) / ((l - s) * (n - e) - (r - i) * (o - t)), d = ((n - e) * (t - s) - (o - t) * (e - i)) / ((l - s) * (n - e) - (r - i) * (o - t));
1588
- return c >= 0 && c <= 1 && d >= 0 && d <= 1;
1589
- }
1590
- const Yn = {
1591
- extends: It()
1592
- }, De = (e, t) => {
1593
- const n = e.__vccOpts || e;
1594
- for (const [o, i] of t)
1595
- n[o] = i;
1596
- return n;
1579
+ function _e(e, t, o, n, i, s, r, l) {
1580
+ const p = ((r - i) * (t - s) - (l - s) * (e - i)) / ((l - s) * (o - e) - (r - i) * (n - t)), u = ((o - e) * (t - s) - (n - t) * (e - i)) / ((l - s) * (o - e) - (r - i) * (n - t));
1581
+ return p >= 0 && p <= 1 && u >= 0 && u <= 1;
1582
+ }
1583
+ const Go = {
1584
+ extends: Bt()
1585
+ }, He = (e, t) => {
1586
+ const o = e.__vccOpts || e;
1587
+ for (const [n, i] of t)
1588
+ o[n] = i;
1589
+ return o;
1597
1590
  };
1598
- function Un(e, t, n, o, i, s) {
1599
- return Y(), me("div", {
1591
+ function Uo(e, t, o, n, i, s) {
1592
+ return Y(), ge("div", {
1600
1593
  ref: "reference",
1601
- class: Xe(["v-popper", {
1594
+ class: Ye(["v-popper", {
1602
1595
  "v-popper--shown": e.slotData.isShown
1603
1596
  }])
1604
1597
  }, [
1605
- Te(e.$slots, "default", Zt(en(e.slotData)))
1598
+ Pe(e.$slots, "default", to(oo(e.slotData)))
1606
1599
  ], 2);
1607
1600
  }
1608
- const Xn = /* @__PURE__ */ De(Yn, [["render", Un]]);
1609
- function Kn() {
1601
+ const Yo = /* @__PURE__ */ He(Go, [["render", Uo]]);
1602
+ function Xo() {
1610
1603
  var e = window.navigator.userAgent, t = e.indexOf("MSIE ");
1611
1604
  if (t > 0)
1612
1605
  return parseInt(e.substring(t + 5, e.indexOf(".", t)), 10);
1613
- var n = e.indexOf("Trident/");
1614
- if (n > 0) {
1615
- var o = e.indexOf("rv:");
1616
- return parseInt(e.substring(o + 3, e.indexOf(".", o)), 10);
1606
+ var o = e.indexOf("Trident/");
1607
+ if (o > 0) {
1608
+ var n = e.indexOf("rv:");
1609
+ return parseInt(e.substring(n + 3, e.indexOf(".", n)), 10);
1617
1610
  }
1618
1611
  var i = e.indexOf("Edge/");
1619
1612
  return i > 0 ? parseInt(e.substring(i + 5, e.indexOf(".", i)), 10) : -1;
1620
1613
  }
1621
1614
  let Se;
1622
- function Ye() {
1623
- Ye.init || (Ye.init = !0, Se = Kn() !== -1);
1615
+ function Ge() {
1616
+ Ge.init || (Ge.init = !0, Se = Xo() !== -1);
1624
1617
  }
1625
- var ke = {
1618
+ var Me = {
1626
1619
  name: "ResizeObserver",
1627
1620
  props: {
1628
1621
  emitOnMount: {
@@ -1642,7 +1635,7 @@ var ke = {
1642
1635
  "notify"
1643
1636
  ],
1644
1637
  mounted() {
1645
- Ye(), Ue(() => {
1638
+ Ge(), Ue(() => {
1646
1639
  this._w = this.$el.offsetWidth, this._h = this.$el.offsetHeight, this.emitOnMount && this.emitSize();
1647
1640
  });
1648
1641
  const e = document.createElement("object");
@@ -1669,30 +1662,30 @@ var ke = {
1669
1662
  }
1670
1663
  }
1671
1664
  };
1672
- const Jn = /* @__PURE__ */ tn("data-v-b329ee4c");
1673
- Jt("data-v-b329ee4c");
1674
- const Qn = {
1665
+ const Ko = /* @__PURE__ */ so("data-v-b329ee4c");
1666
+ Kt("data-v-b329ee4c");
1667
+ const Jo = {
1675
1668
  class: "resize-observer",
1676
1669
  tabindex: "-1"
1677
1670
  };
1678
- Qt();
1679
- const Zn = /* @__PURE__ */ Jn((e, t, n, o, i, s) => (Y(), Re("div", Qn)));
1680
- ke.render = Zn;
1681
- ke.__scopeId = "data-v-b329ee4c";
1682
- ke.__file = "src/components/ResizeObserver.vue";
1683
- const Wt = (e = "theme") => ({
1671
+ Jt();
1672
+ const Qo = /* @__PURE__ */ Ko((e, t, o, n, i, s) => (Y(), ze("div", Jo)));
1673
+ Me.render = Qo;
1674
+ Me.__scopeId = "data-v-b329ee4c";
1675
+ Me.__file = "src/components/ResizeObserver.vue";
1676
+ const It = (e = "theme") => ({
1684
1677
  computed: {
1685
1678
  themeClass() {
1686
- return In(this[e]);
1679
+ return Bo(this[e]);
1687
1680
  }
1688
1681
  }
1689
- }), eo = ze({
1682
+ }), Zo = Re({
1690
1683
  name: "VPopperContent",
1691
1684
  components: {
1692
- ResizeObserver: ke
1685
+ ResizeObserver: Me
1693
1686
  },
1694
1687
  mixins: [
1695
- Wt()
1688
+ It()
1696
1689
  ],
1697
1690
  props: {
1698
1691
  popperId: String,
@@ -1714,19 +1707,19 @@ const Wt = (e = "theme") => ({
1714
1707
  return e != null && !isNaN(e) ? `${e}px` : null;
1715
1708
  }
1716
1709
  }
1717
- }), to = ["id", "aria-hidden", "tabindex", "data-popper-placement"], no = {
1710
+ }), en = ["id", "aria-hidden", "tabindex", "data-popper-placement"], tn = {
1718
1711
  ref: "inner",
1719
1712
  class: "v-popper__inner"
1720
- }, oo = /* @__PURE__ */ oe("div", { class: "v-popper__arrow-outer" }, null, -1), io = /* @__PURE__ */ oe("div", { class: "v-popper__arrow-inner" }, null, -1), so = [
1721
- oo,
1722
- io
1713
+ }, on = /* @__PURE__ */ ie("div", { class: "v-popper__arrow-outer" }, null, -1), nn = /* @__PURE__ */ ie("div", { class: "v-popper__arrow-inner" }, null, -1), sn = [
1714
+ on,
1715
+ nn
1723
1716
  ];
1724
- function ro(e, t, n, o, i, s) {
1725
- const r = ge("ResizeObserver");
1726
- return Y(), me("div", {
1717
+ function rn(e, t, o, n, i, s) {
1718
+ const r = me("ResizeObserver");
1719
+ return Y(), ge("div", {
1727
1720
  id: e.popperId,
1728
1721
  ref: "popover",
1729
- class: Xe(["v-popper__popper", [
1722
+ class: Ye(["v-popper__popper", [
1730
1723
  e.themeClass,
1731
1724
  e.classes.popperClass,
1732
1725
  {
@@ -1741,48 +1734,48 @@ function ro(e, t, n, o, i, s) {
1741
1734
  "v-popper__popper--no-positioning": !e.result
1742
1735
  }
1743
1736
  ]]),
1744
- style: Be(e.result ? {
1737
+ style: De(e.result ? {
1745
1738
  position: e.result.strategy,
1746
1739
  transform: `translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`
1747
1740
  } : void 0),
1748
1741
  "aria-hidden": e.shown ? "false" : "true",
1749
1742
  tabindex: e.autoHide ? 0 : void 0,
1750
1743
  "data-popper-placement": e.result ? e.result.placement : void 0,
1751
- onKeyup: t[2] || (t[2] = nn((l) => e.autoHide && e.$emit("hide"), ["esc"]))
1744
+ onKeyup: t[2] || (t[2] = no((l) => e.autoHide && e.$emit("hide"), ["esc"]))
1752
1745
  }, [
1753
- oe("div", {
1746
+ ie("div", {
1754
1747
  class: "v-popper__backdrop",
1755
1748
  onClick: t[0] || (t[0] = (l) => e.autoHide && e.$emit("hide"))
1756
1749
  }),
1757
- oe("div", {
1750
+ ie("div", {
1758
1751
  class: "v-popper__wrapper",
1759
- style: Be(e.result ? {
1752
+ style: De(e.result ? {
1760
1753
  transformOrigin: e.result.transformOrigin
1761
1754
  } : void 0)
1762
1755
  }, [
1763
- oe("div", no, [
1764
- e.mounted ? (Y(), me(on, { key: 0 }, [
1765
- oe("div", null, [
1766
- Te(e.$slots, "default")
1756
+ ie("div", tn, [
1757
+ e.mounted ? (Y(), ge(io, { key: 0 }, [
1758
+ ie("div", null, [
1759
+ Pe(e.$slots, "default")
1767
1760
  ]),
1768
- e.handleResize ? (Y(), Re(r, {
1761
+ e.handleResize ? (Y(), ze(r, {
1769
1762
  key: 0,
1770
1763
  onNotify: t[1] || (t[1] = (l) => e.$emit("resize", l))
1771
- })) : nt("", !0)
1772
- ], 64)) : nt("", !0)
1764
+ })) : tt("", !0)
1765
+ ], 64)) : tt("", !0)
1773
1766
  ], 512),
1774
- oe("div", {
1767
+ ie("div", {
1775
1768
  ref: "arrow",
1776
1769
  class: "v-popper__arrow-container",
1777
- style: Be(e.result ? {
1770
+ style: De(e.result ? {
1778
1771
  left: e.toPx(e.result.arrow.x),
1779
1772
  top: e.toPx(e.result.arrow.y)
1780
1773
  } : void 0)
1781
- }, so, 4)
1774
+ }, sn, 4)
1782
1775
  ], 4)
1783
- ], 46, to);
1776
+ ], 46, en);
1784
1777
  }
1785
- const jt = /* @__PURE__ */ De(eo, [["render", ro]]), Vt = {
1778
+ const Wt = /* @__PURE__ */ He(Zo, [["render", rn]]), jt = {
1786
1779
  methods: {
1787
1780
  show(...e) {
1788
1781
  return this.$refs.popper.show(...e);
@@ -1797,15 +1790,15 @@ const jt = /* @__PURE__ */ De(eo, [["render", ro]]), Vt = {
1797
1790
  return this.$refs.popper.onResize(...e);
1798
1791
  }
1799
1792
  }
1800
- }, lo = ze({
1793
+ }, ln = Re({
1801
1794
  name: "VPopperWrapper",
1802
1795
  components: {
1803
- Popper: Xn,
1804
- PopperContent: jt
1796
+ Popper: Yo,
1797
+ PopperContent: Wt
1805
1798
  },
1806
1799
  mixins: [
1807
- Vt,
1808
- Wt("finalTheme")
1800
+ jt,
1801
+ It("finalTheme")
1809
1802
  ],
1810
1803
  props: {
1811
1804
  theme: {
@@ -1993,9 +1986,9 @@ const jt = /* @__PURE__ */ De(eo, [["render", ro]]), Vt = {
1993
1986
  }
1994
1987
  }
1995
1988
  });
1996
- function ao(e, t, n, o, i, s) {
1997
- const r = ge("PopperContent"), l = ge("Popper");
1998
- return Y(), Re(l, St({ ref: "popper" }, e.$props, {
1989
+ function an(e, t, o, n, i, s) {
1990
+ const r = me("PopperContent"), l = me("Popper");
1991
+ return Y(), ze(l, _t({ ref: "popper" }, e.$props, {
1999
1992
  theme: e.finalTheme,
2000
1993
  "target-nodes": e.getTargetNodes,
2001
1994
  "popper-node": () => e.$refs.popperContent.$el,
@@ -2004,7 +1997,7 @@ function ao(e, t, n, o, i, s) {
2004
1997
  ],
2005
1998
  onShow: t[0] || (t[0] = () => e.$emit("show")),
2006
1999
  onHide: t[1] || (t[1] = () => e.$emit("hide")),
2007
- "onUpdate:shown": t[2] || (t[2] = (c) => e.$emit("update:shown", c)),
2000
+ "onUpdate:shown": t[2] || (t[2] = (p) => e.$emit("update:shown", p)),
2008
2001
  onApplyShow: t[3] || (t[3] = () => e.$emit("apply-show")),
2009
2002
  onApplyHide: t[4] || (t[4] = () => e.$emit("apply-hide")),
2010
2003
  onCloseGroup: t[5] || (t[5] = () => e.$emit("close-group")),
@@ -2012,12 +2005,12 @@ function ao(e, t, n, o, i, s) {
2012
2005
  onAutoHide: t[7] || (t[7] = () => e.$emit("auto-hide")),
2013
2006
  onResize: t[8] || (t[8] = () => e.$emit("resize"))
2014
2007
  }), {
2015
- default: Pe(({
2016
- popperId: c,
2017
- isShown: d,
2018
- shouldMountContent: a,
2019
- skipTransition: u,
2020
- autoHide: p,
2008
+ default: Te(({
2009
+ popperId: p,
2010
+ isShown: u,
2011
+ shouldMountContent: c,
2012
+ skipTransition: a,
2013
+ autoHide: d,
2021
2014
  show: h,
2022
2015
  hide: f,
2023
2016
  handleResize: m,
@@ -2025,28 +2018,28 @@ function ao(e, t, n, o, i, s) {
2025
2018
  classes: g,
2026
2019
  result: v
2027
2020
  }) => [
2028
- Te(e.$slots, "default", {
2029
- shown: d,
2021
+ Pe(e.$slots, "default", {
2022
+ shown: u,
2030
2023
  show: h,
2031
2024
  hide: f
2032
2025
  }),
2033
- Tt(r, {
2026
+ St(r, {
2034
2027
  ref: "popperContent",
2035
- "popper-id": c,
2028
+ "popper-id": p,
2036
2029
  theme: e.finalTheme,
2037
- shown: d,
2038
- mounted: a,
2039
- "skip-transition": u,
2040
- "auto-hide": p,
2030
+ shown: u,
2031
+ mounted: c,
2032
+ "skip-transition": a,
2033
+ "auto-hide": d,
2041
2034
  "handle-resize": m,
2042
2035
  classes: g,
2043
2036
  result: v,
2044
2037
  onHide: f,
2045
2038
  onResize: w
2046
2039
  }, {
2047
- default: Pe(() => [
2048
- Te(e.$slots, "popper", {
2049
- shown: d,
2040
+ default: Te(() => [
2041
+ Pe(e.$slots, "popper", {
2042
+ shown: u,
2050
2043
  hide: f
2051
2044
  })
2052
2045
  ]),
@@ -2056,25 +2049,25 @@ function ao(e, t, n, o, i, s) {
2056
2049
  _: 3
2057
2050
  }, 16, ["theme", "target-nodes", "popper-node", "class"]);
2058
2051
  }
2059
- const et = /* @__PURE__ */ De(lo, [["render", ao]]);
2052
+ const Ze = /* @__PURE__ */ He(ln, [["render", an]]);
2060
2053
  ({
2061
- ...et
2054
+ ...Ze
2062
2055
  });
2063
2056
  ({
2064
- ...et
2057
+ ...Ze
2065
2058
  });
2066
- const co = {
2067
- ...et,
2059
+ const cn = {
2060
+ ...Ze,
2068
2061
  name: "VTooltip",
2069
2062
  vPopperTheme: "tooltip"
2070
- }, uo = ze({
2063
+ }, dn = Re({
2071
2064
  name: "VTooltipDirective",
2072
2065
  components: {
2073
- Popper: It(),
2074
- PopperContent: jt
2066
+ Popper: Bt(),
2067
+ PopperContent: Wt
2075
2068
  },
2076
2069
  mixins: [
2077
- Vt
2070
+ jt
2078
2071
  ],
2079
2072
  inheritAttrs: !1,
2080
2073
  props: {
@@ -2133,8 +2126,8 @@ const co = {
2133
2126
  fetchContent(e) {
2134
2127
  if (typeof this.content == "function" && this.$_isShown && (e || !this.$_loading && this.asyncContent == null)) {
2135
2128
  this.asyncContent = null, this.$_loading = !0;
2136
- const t = ++this.$_fetchId, n = this.content(this);
2137
- n.then ? n.then((o) => this.onResult(t, o)) : this.onResult(t, n);
2129
+ const t = ++this.$_fetchId, o = this.content(this);
2130
+ o.then ? o.then((n) => this.onResult(t, n)) : this.onResult(t, o);
2138
2131
  }
2139
2132
  },
2140
2133
  onResult(e, t) {
@@ -2147,53 +2140,53 @@ const co = {
2147
2140
  this.$_isShown = !1;
2148
2141
  }
2149
2142
  }
2150
- }), po = ["innerHTML"], ho = ["textContent"];
2151
- function fo(e, t, n, o, i, s) {
2152
- const r = ge("PopperContent"), l = ge("Popper");
2153
- return Y(), Re(l, St({ ref: "popper" }, e.$attrs, {
2143
+ }), un = ["innerHTML"], pn = ["textContent"];
2144
+ function hn(e, t, o, n, i, s) {
2145
+ const r = me("PopperContent"), l = me("Popper");
2146
+ return Y(), ze(l, _t({ ref: "popper" }, e.$attrs, {
2154
2147
  theme: e.theme,
2155
2148
  "target-nodes": e.targetNodes,
2156
2149
  "popper-node": () => e.$refs.popperContent.$el,
2157
2150
  onApplyShow: e.onShow,
2158
2151
  onApplyHide: e.onHide
2159
2152
  }), {
2160
- default: Pe(({
2161
- popperId: c,
2162
- isShown: d,
2163
- shouldMountContent: a,
2164
- skipTransition: u,
2165
- autoHide: p,
2153
+ default: Te(({
2154
+ popperId: p,
2155
+ isShown: u,
2156
+ shouldMountContent: c,
2157
+ skipTransition: a,
2158
+ autoHide: d,
2166
2159
  hide: h,
2167
2160
  handleResize: f,
2168
2161
  onResize: m,
2169
2162
  classes: w,
2170
2163
  result: g
2171
2164
  }) => [
2172
- Tt(r, {
2165
+ St(r, {
2173
2166
  ref: "popperContent",
2174
- class: Xe({
2167
+ class: Ye({
2175
2168
  "v-popper--tooltip-loading": e.loading
2176
2169
  }),
2177
- "popper-id": c,
2170
+ "popper-id": p,
2178
2171
  theme: e.theme,
2179
- shown: d,
2180
- mounted: a,
2181
- "skip-transition": u,
2182
- "auto-hide": p,
2172
+ shown: u,
2173
+ mounted: c,
2174
+ "skip-transition": a,
2175
+ "auto-hide": d,
2183
2176
  "handle-resize": f,
2184
2177
  classes: w,
2185
2178
  result: g,
2186
2179
  onHide: h,
2187
2180
  onResize: m
2188
2181
  }, {
2189
- default: Pe(() => [
2190
- e.html ? (Y(), me("div", {
2182
+ default: Te(() => [
2183
+ e.html ? (Y(), ge("div", {
2191
2184
  key: 0,
2192
2185
  innerHTML: e.finalContent
2193
- }, null, 8, po)) : (Y(), me("div", {
2186
+ }, null, 8, un)) : (Y(), ge("div", {
2194
2187
  key: 1,
2195
- textContent: ln(e.finalContent)
2196
- }, null, 8, ho))
2188
+ textContent: eo(e.finalContent)
2189
+ }, null, 8, pn))
2197
2190
  ]),
2198
2191
  _: 2
2199
2192
  }, 1032, ["class", "popper-id", "theme", "shown", "mounted", "skip-transition", "auto-hide", "handle-resize", "classes", "result", "onHide", "onResize"])
@@ -2201,32 +2194,32 @@ function fo(e, t, n, o, i, s) {
2201
2194
  _: 1
2202
2195
  }, 16, ["theme", "target-nodes", "popper-node", "onApplyShow", "onApplyHide"]);
2203
2196
  }
2204
- const mo = /* @__PURE__ */ De(uo, [["render", fo]]), qt = "v-popper--has-tooltip";
2205
- function go(e, t) {
2206
- let n = e.placement;
2207
- if (!n && t)
2208
- for (const o of Bt)
2209
- t[o] && (n = o);
2210
- return n || (n = Ee(e.theme || "tooltip", "placement")), n;
2197
+ const fn = /* @__PURE__ */ He(dn, [["render", hn]]), Vt = "v-popper--has-tooltip";
2198
+ function mn(e, t) {
2199
+ let o = e.placement;
2200
+ if (!o && t)
2201
+ for (const n of Dt)
2202
+ t[n] && (o = n);
2203
+ return o || (o = Ee(e.theme || "tooltip", "placement")), o;
2211
2204
  }
2212
- function wo(e, t, n) {
2213
- let o;
2205
+ function gn(e, t, o) {
2206
+ let n;
2214
2207
  const i = typeof t;
2215
- return i === "string" ? o = { content: t } : t && i === "object" ? o = t : o = { content: !1 }, o.placement = go(o, n), o.targetNodes = () => [e], o.referenceNode = () => e, o;
2208
+ return i === "string" ? n = { content: t } : t && i === "object" ? n = t : n = { content: !1 }, n.placement = mn(n, o), n.targetNodes = () => [e], n.referenceNode = () => e, n;
2216
2209
  }
2217
- let We, be, vo = 0;
2218
- function yo() {
2219
- if (We)
2210
+ let Ie, xe, wn = 0;
2211
+ function vn() {
2212
+ if (Ie)
2220
2213
  return;
2221
- be = z([]), We = sn({
2214
+ xe = R([]), Ie = Qt({
2222
2215
  name: "VTooltipDirectiveApp",
2223
2216
  setup() {
2224
2217
  return {
2225
- directives: be
2218
+ directives: xe
2226
2219
  };
2227
2220
  },
2228
2221
  render() {
2229
- return this.directives.map((t) => rn(mo, {
2222
+ return this.directives.map((t) => Zt(fn, {
2230
2223
  ...t.options,
2231
2224
  shown: t.shown || t.options.shown,
2232
2225
  key: t.id
@@ -2237,17 +2230,17 @@ function yo() {
2237
2230
  }
2238
2231
  });
2239
2232
  const e = document.createElement("div");
2240
- document.body.appendChild(e), We.mount(e);
2233
+ document.body.appendChild(e), Ie.mount(e);
2241
2234
  }
2242
- function $o(e, t, n) {
2243
- yo();
2244
- const o = z(wo(e, t, n)), i = z(!1), s = {
2245
- id: vo++,
2246
- options: o,
2235
+ function yn(e, t, o) {
2236
+ vn();
2237
+ const n = R(gn(e, t, o)), i = R(!1), s = {
2238
+ id: wn++,
2239
+ options: n,
2247
2240
  shown: i
2248
2241
  };
2249
- return be.value.push(s), e.classList && e.classList.add(qt), e.$_popper = {
2250
- options: o,
2242
+ return xe.value.push(s), e.classList && e.classList.add(Vt), e.$_popper = {
2243
+ options: n,
2251
2244
  item: s,
2252
2245
  show() {
2253
2246
  i.value = !0;
@@ -2257,285 +2250,324 @@ function $o(e, t, n) {
2257
2250
  }
2258
2251
  };
2259
2252
  }
2260
- function bo(e) {
2253
+ function $n(e) {
2261
2254
  if (e.$_popper) {
2262
- const t = be.value.indexOf(e.$_popper.item);
2263
- t !== -1 && be.value.splice(t, 1), delete e.$_popper, delete e.$_popperOldShown, delete e.$_popperMountTarget;
2255
+ const t = xe.value.indexOf(e.$_popper.item);
2256
+ t !== -1 && xe.value.splice(t, 1), delete e.$_popper, delete e.$_popperOldShown, delete e.$_popperMountTarget;
2264
2257
  }
2265
- e.classList && e.classList.remove(qt);
2258
+ e.classList && e.classList.remove(Vt);
2266
2259
  }
2267
- const Mo = co, je = typeof window < "u";
2268
- function tt(e) {
2269
- return dn() ? (cn(e), !0) : !1;
2260
+ const Hn = cn, We = typeof window < "u";
2261
+ function et(e) {
2262
+ return lo() ? (ao(e), !0) : !1;
2270
2263
  }
2271
- function H(e) {
2272
- return typeof e == "function" ? e() : an(e);
2264
+ function k(e) {
2265
+ return typeof e == "function" ? e() : ro(e);
2273
2266
  }
2274
- const Gt = typeof window < "u" && typeof document < "u";
2267
+ const qt = typeof window < "u" && typeof document < "u";
2275
2268
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
2276
- const xo = (e) => typeof e < "u", _o = Object.prototype.toString, So = (e) => _o.call(e) === "[object Object]", W = () => {
2277
- }, To = /* @__PURE__ */ Po();
2278
- function Po() {
2269
+ const xn = (e) => typeof e < "u", bn = Object.prototype.toString, _n = (e) => bn.call(e) === "[object Object]", W = () => {
2270
+ }, Sn = /* @__PURE__ */ Tn();
2271
+ function Tn() {
2279
2272
  var e, t;
2280
- return Gt && ((e = window == null ? void 0 : window.navigator) == null ? void 0 : e.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((t = window == null ? void 0 : window.navigator) == null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
2273
+ return qt && ((e = window == null ? void 0 : window.navigator) == null ? void 0 : e.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((t = window == null ? void 0 : window.navigator) == null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
2281
2274
  }
2282
- function Yt(e, t) {
2283
- function n(...o) {
2275
+ function Gt(e, t) {
2276
+ function o(...n) {
2284
2277
  return new Promise((i, s) => {
2285
- Promise.resolve(e(() => t.apply(this, o), { fn: t, thisArg: this, args: o })).then(i).catch(s);
2278
+ Promise.resolve(e(() => t.apply(this, n), { fn: t, thisArg: this, args: n })).then(i).catch(s);
2286
2279
  });
2287
2280
  }
2288
- return n;
2281
+ return o;
2289
2282
  }
2290
- function Ao(e, t = {}) {
2291
- let n, o, i = W;
2283
+ function Pn(e, t = {}) {
2284
+ let o, n, i = W;
2292
2285
  const s = (l) => {
2293
2286
  clearTimeout(l), i(), i = W;
2294
2287
  };
2295
2288
  return (l) => {
2296
- const c = H(e), d = H(t.maxWait);
2297
- return n && s(n), c <= 0 || d !== void 0 && d <= 0 ? (o && (s(o), o = null), Promise.resolve(l())) : new Promise((a, u) => {
2298
- i = t.rejectOnCancel ? u : a, d && !o && (o = setTimeout(() => {
2299
- n && s(n), o = null, a(l());
2300
- }, d)), n = setTimeout(() => {
2301
- o && s(o), o = null, a(l());
2302
- }, c);
2289
+ const p = k(e), u = k(t.maxWait);
2290
+ return o && s(o), p <= 0 || u !== void 0 && u <= 0 ? (n && (s(n), n = null), Promise.resolve(l())) : new Promise((c, a) => {
2291
+ i = t.rejectOnCancel ? a : c, u && !n && (n = setTimeout(() => {
2292
+ o && s(o), n = null, c(l());
2293
+ }, u)), o = setTimeout(() => {
2294
+ n && s(n), n = null, c(l());
2295
+ }, p);
2303
2296
  });
2304
2297
  };
2305
2298
  }
2306
- function Co(...e) {
2307
- let t = 0, n, o = !0, i = W, s, r, l, c, d;
2308
- !un(e[0]) && typeof e[0] == "object" ? { delay: r, trailing: l = !0, leading: c = !0, rejectOnCancel: d = !1 } = e[0] : [r, l = !0, c = !0, d = !1] = e;
2309
- const a = () => {
2310
- n && (clearTimeout(n), n = void 0, i(), i = W);
2299
+ function An(...e) {
2300
+ let t = 0, o, n = !0, i = W, s, r, l, p, u;
2301
+ !co(e[0]) && typeof e[0] == "object" ? { delay: r, trailing: l = !0, leading: p = !0, rejectOnCancel: u = !1 } = e[0] : [r, l = !0, p = !0, u = !1] = e;
2302
+ const c = () => {
2303
+ o && (clearTimeout(o), o = void 0, i(), i = W);
2311
2304
  };
2312
- return (p) => {
2313
- const h = H(r), f = Date.now() - t, m = () => s = p();
2314
- return a(), h <= 0 ? (t = Date.now(), m()) : (f > h && (c || !o) ? (t = Date.now(), m()) : l && (s = new Promise((w, g) => {
2315
- i = d ? g : w, n = setTimeout(() => {
2316
- t = Date.now(), o = !0, w(m()), a();
2305
+ return (d) => {
2306
+ const h = k(r), f = Date.now() - t, m = () => s = d();
2307
+ return c(), h <= 0 ? (t = Date.now(), m()) : (f > h && (p || !n) ? (t = Date.now(), m()) : l && (s = new Promise((w, g) => {
2308
+ i = u ? g : w, o = setTimeout(() => {
2309
+ t = Date.now(), n = !0, w(m()), c();
2317
2310
  }, Math.max(0, h - f));
2318
- })), !c && !n && (n = setTimeout(() => o = !0, h)), o = !1, s);
2311
+ })), !p && !o && (o = setTimeout(() => n = !0, h)), n = !1, s);
2319
2312
  };
2320
2313
  }
2321
- const Do = {
2322
- mounted: "mounted",
2323
- updated: "updated",
2324
- unmounted: "unmounted"
2314
+ const Mn = {
2315
+ mounted: "mounted"
2325
2316
  };
2326
- function Oo(e, t) {
2327
- var n;
2317
+ function Cn(e, t) {
2318
+ var o;
2328
2319
  if (typeof e == "number")
2329
2320
  return e + t;
2330
- const o = ((n = e.match(/^-?\d+\.?\d*/)) == null ? void 0 : n[0]) || "", i = e.slice(o.length), s = Number.parseFloat(o) + t;
2321
+ const n = ((o = e.match(/^-?\d+\.?\d*/)) == null ? void 0 : o[0]) || "", i = e.slice(n.length), s = Number.parseFloat(n) + t;
2331
2322
  return Number.isNaN(s) ? e : s + i;
2332
2323
  }
2333
- function No(e) {
2334
- return e || Ke();
2324
+ function On(e) {
2325
+ return Xe();
2335
2326
  }
2336
- function ko(...e) {
2327
+ function Dn(...e) {
2337
2328
  if (e.length !== 1)
2338
- return pn(...e);
2329
+ return uo(...e);
2339
2330
  const t = e[0];
2340
- return typeof t == "function" ? hn(fn(() => ({ get: t, set: W }))) : z(t);
2331
+ return typeof t == "function" ? po(ho(() => ({ get: t, set: W }))) : R(t);
2341
2332
  }
2342
- function Eo(e, t = 200, n = {}) {
2343
- return Yt(
2344
- Ao(t, n),
2333
+ function Nn(e, t = 200, o = {}) {
2334
+ return Gt(
2335
+ Pn(t, o),
2345
2336
  e
2346
2337
  );
2347
2338
  }
2348
- function zo(e, t = 200, n = !1, o = !0, i = !1) {
2349
- return Yt(
2350
- Co(t, n, o, i),
2339
+ function En(e, t = 200, o = !1, n = !0, i = !1) {
2340
+ return Gt(
2341
+ An(t, o, n, i),
2351
2342
  e
2352
2343
  );
2353
2344
  }
2354
- function Ut(e, t = !0, n) {
2355
- No() ? Pt(e, n) : t ? e() : Ue(e);
2345
+ function Ut(e, t = !0, o) {
2346
+ On() ? Tt(e, o) : t ? e() : Ue(e);
2356
2347
  }
2357
- function J(e) {
2348
+ function B(e) {
2358
2349
  var t;
2359
- const n = H(e);
2360
- return (t = n == null ? void 0 : n.$el) != null ? t : n;
2350
+ const o = k(e);
2351
+ return (t = o == null ? void 0 : o.$el) != null ? t : o;
2361
2352
  }
2362
- const le = Gt ? window : void 0;
2363
- function I(...e) {
2364
- let t, n, o, i;
2365
- if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([n, o, i] = e, t = le) : [t, n, o, i] = e, !t)
2353
+ const le = qt ? window : void 0;
2354
+ function j(...e) {
2355
+ let t, o, n, i;
2356
+ if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([o, n, i] = e, t = le) : [t, o, n, i] = e, !t)
2366
2357
  return W;
2367
- Array.isArray(n) || (n = [n]), Array.isArray(o) || (o = [o]);
2358
+ Array.isArray(o) || (o = [o]), Array.isArray(n) || (n = [n]);
2368
2359
  const s = [], r = () => {
2369
- s.forEach((a) => a()), s.length = 0;
2370
- }, l = (a, u, p, h) => (a.addEventListener(u, p, h), () => a.removeEventListener(u, p, h)), c = we(
2371
- () => [J(t), H(i)],
2372
- ([a, u]) => {
2373
- if (r(), !a)
2360
+ s.forEach((c) => c()), s.length = 0;
2361
+ }, l = (c, a, d, h) => (c.addEventListener(a, d, h), () => c.removeEventListener(a, d, h)), p = we(
2362
+ () => [B(t), k(i)],
2363
+ ([c, a]) => {
2364
+ if (r(), !c)
2374
2365
  return;
2375
- const p = So(u) ? { ...u } : u;
2366
+ const d = _n(a) ? { ...a } : a;
2376
2367
  s.push(
2377
- ...n.flatMap((h) => o.map((f) => l(a, h, f, p)))
2368
+ ...o.flatMap((h) => n.map((f) => l(c, h, f, d)))
2378
2369
  );
2379
2370
  },
2380
2371
  { immediate: !0, flush: "post" }
2381
- ), d = () => {
2382
- c(), r();
2372
+ ), u = () => {
2373
+ p(), r();
2383
2374
  };
2384
- return tt(d), d;
2375
+ return et(u), u;
2385
2376
  }
2386
2377
  let xt = !1;
2387
- function Bo(e, t, n = {}) {
2388
- const { window: o = le, ignore: i = [], capture: s = !0, detectIframe: r = !1 } = n;
2389
- if (!o)
2378
+ function Bn(e, t, o = {}) {
2379
+ const { window: n = le, ignore: i = [], capture: s = !0, detectIframe: r = !1 } = o;
2380
+ if (!n)
2390
2381
  return W;
2391
- To && !xt && (xt = !0, Array.from(o.document.body.children).forEach((p) => p.addEventListener("click", W)), o.document.documentElement.addEventListener("click", W));
2382
+ Sn && !xt && (xt = !0, Array.from(n.document.body.children).forEach((d) => d.addEventListener("click", W)), n.document.documentElement.addEventListener("click", W));
2392
2383
  let l = !0;
2393
- const c = (p) => i.some((h) => {
2384
+ const p = (d) => i.some((h) => {
2394
2385
  if (typeof h == "string")
2395
- return Array.from(o.document.querySelectorAll(h)).some((f) => f === p.target || p.composedPath().includes(f));
2386
+ return Array.from(n.document.querySelectorAll(h)).some((f) => f === d.target || d.composedPath().includes(f));
2396
2387
  {
2397
- const f = J(h);
2398
- return f && (p.target === f || p.composedPath().includes(f));
2388
+ const f = B(h);
2389
+ return f && (d.target === f || d.composedPath().includes(f));
2399
2390
  }
2400
- }), a = [
2401
- I(o, "click", (p) => {
2402
- const h = J(e);
2403
- if (!(!h || h === p.target || p.composedPath().includes(h))) {
2404
- if (p.detail === 0 && (l = !c(p)), !l) {
2391
+ }), c = [
2392
+ j(n, "click", (d) => {
2393
+ const h = B(e);
2394
+ if (!(!h || h === d.target || d.composedPath().includes(h))) {
2395
+ if (d.detail === 0 && (l = !p(d)), !l) {
2405
2396
  l = !0;
2406
2397
  return;
2407
2398
  }
2408
- t(p);
2399
+ t(d);
2409
2400
  }
2410
2401
  }, { passive: !0, capture: s }),
2411
- I(o, "pointerdown", (p) => {
2412
- const h = J(e);
2413
- l = !c(p) && !!(h && !p.composedPath().includes(h));
2402
+ j(n, "pointerdown", (d) => {
2403
+ const h = B(e);
2404
+ l = !p(d) && !!(h && !d.composedPath().includes(h));
2414
2405
  }, { passive: !0 }),
2415
- r && I(o, "blur", (p) => {
2406
+ r && j(n, "blur", (d) => {
2416
2407
  setTimeout(() => {
2417
2408
  var h;
2418
- const f = J(e);
2419
- ((h = o.document.activeElement) == null ? void 0 : h.tagName) === "IFRAME" && !(f != null && f.contains(o.document.activeElement)) && t(p);
2409
+ const f = B(e);
2410
+ ((h = n.document.activeElement) == null ? void 0 : h.tagName) === "IFRAME" && !(f != null && f.contains(n.document.activeElement)) && t(d);
2420
2411
  }, 0);
2421
2412
  })
2422
2413
  ].filter(Boolean);
2423
- return () => a.forEach((p) => p());
2414
+ return () => c.forEach((d) => d());
2424
2415
  }
2425
- function Ro() {
2426
- const e = z(!1), t = Ke();
2427
- return t && Pt(() => {
2416
+ function Rn() {
2417
+ const e = R(!1), t = Xe();
2418
+ return t && Tt(() => {
2428
2419
  e.value = !0;
2429
2420
  }, t), e;
2430
2421
  }
2431
- function Xt(e) {
2432
- const t = Ro();
2433
- return se(() => (t.value, !!e()));
2422
+ function Yt(e) {
2423
+ const t = Rn();
2424
+ return ee(() => (t.value, !!e()));
2434
2425
  }
2435
- function ae(e, t = {}) {
2436
- const { window: n = le } = t, o = Xt(() => n && "matchMedia" in n && typeof n.matchMedia == "function");
2426
+ function de(e, t = {}) {
2427
+ const { window: o = le } = t, n = Yt(() => o && "matchMedia" in o && typeof o.matchMedia == "function");
2437
2428
  let i;
2438
- const s = z(!1), r = (d) => {
2439
- s.value = d.matches;
2429
+ const s = R(!1), r = (u) => {
2430
+ s.value = u.matches;
2440
2431
  }, l = () => {
2441
2432
  i && ("removeEventListener" in i ? i.removeEventListener("change", r) : i.removeListener(r));
2442
- }, c = mn(() => {
2443
- o.value && (l(), i = n.matchMedia(H(e)), "addEventListener" in i ? i.addEventListener("change", r) : i.addListener(r), s.value = i.matches);
2433
+ }, p = fo(() => {
2434
+ n.value && (l(), i = o.matchMedia(k(e)), "addEventListener" in i ? i.addEventListener("change", r) : i.addListener(r), s.value = i.matches);
2444
2435
  });
2445
- return tt(() => {
2446
- c(), l(), i = void 0;
2436
+ return et(() => {
2437
+ p(), l(), i = void 0;
2447
2438
  }), s;
2448
2439
  }
2449
- const Io = {
2440
+ const Fn = {
2450
2441
  sm: 640,
2451
2442
  md: 768,
2452
2443
  lg: 1024,
2453
2444
  xl: 1280,
2454
2445
  "2xl": 1536
2455
2446
  };
2456
- function Fo(e, t = {}) {
2457
- function n(a, u) {
2458
- let p = H(e[H(a)]);
2459
- return u != null && (p = Oo(p, u)), typeof p == "number" && (p = `${p}px`), p;
2447
+ function In(e, t = {}) {
2448
+ function o(c, a) {
2449
+ let d = k(e[k(c)]);
2450
+ return a != null && (d = Cn(d, a)), typeof d == "number" && (d = `${d}px`), d;
2460
2451
  }
2461
- const { window: o = le, strategy: i = "min-width" } = t;
2462
- function s(a) {
2463
- return o ? o.matchMedia(a).matches : !1;
2452
+ const { window: n = le, strategy: i = "min-width" } = t;
2453
+ function s(c) {
2454
+ return n ? n.matchMedia(c).matches : !1;
2464
2455
  }
2465
- const r = (a) => ae(() => `(min-width: ${n(a)})`, t), l = (a) => ae(() => `(max-width: ${n(a)})`, t), c = Object.keys(e).reduce((a, u) => (Object.defineProperty(a, u, {
2466
- get: () => i === "min-width" ? r(u) : l(u),
2456
+ const r = (c) => de(() => `(min-width: ${o(c)})`, t), l = (c) => de(() => `(max-width: ${o(c)})`, t), p = Object.keys(e).reduce((c, a) => (Object.defineProperty(c, a, {
2457
+ get: () => i === "min-width" ? r(a) : l(a),
2467
2458
  enumerable: !0,
2468
2459
  configurable: !0
2469
- }), a), {});
2470
- function d() {
2471
- const a = Object.keys(e).map((u) => [u, r(u)]);
2472
- return se(() => a.filter(([, u]) => u.value).map(([u]) => u));
2460
+ }), c), {});
2461
+ function u() {
2462
+ const c = Object.keys(e).map((a) => [a, r(a)]);
2463
+ return ee(() => c.filter(([, a]) => a.value).map(([a]) => a));
2473
2464
  }
2474
- return Object.assign(c, {
2465
+ return Object.assign(p, {
2475
2466
  greaterOrEqual: r,
2476
2467
  smallerOrEqual: l,
2477
- greater(a) {
2478
- return ae(() => `(min-width: ${n(a, 0.1)})`, t);
2468
+ greater(c) {
2469
+ return de(() => `(min-width: ${o(c, 0.1)})`, t);
2479
2470
  },
2480
- smaller(a) {
2481
- return ae(() => `(max-width: ${n(a, -0.1)})`, t);
2471
+ smaller(c) {
2472
+ return de(() => `(max-width: ${o(c, -0.1)})`, t);
2482
2473
  },
2483
- between(a, u) {
2484
- return ae(() => `(min-width: ${n(a)}) and (max-width: ${n(u, -0.1)})`, t);
2474
+ between(c, a) {
2475
+ return de(() => `(min-width: ${o(c)}) and (max-width: ${o(a, -0.1)})`, t);
2485
2476
  },
2486
- isGreater(a) {
2487
- return s(`(min-width: ${n(a, 0.1)})`);
2477
+ isGreater(c) {
2478
+ return s(`(min-width: ${o(c, 0.1)})`);
2488
2479
  },
2489
- isGreaterOrEqual(a) {
2490
- return s(`(min-width: ${n(a)})`);
2480
+ isGreaterOrEqual(c) {
2481
+ return s(`(min-width: ${o(c)})`);
2491
2482
  },
2492
- isSmaller(a) {
2493
- return s(`(max-width: ${n(a, -0.1)})`);
2483
+ isSmaller(c) {
2484
+ return s(`(max-width: ${o(c, -0.1)})`);
2494
2485
  },
2495
- isSmallerOrEqual(a) {
2496
- return s(`(max-width: ${n(a)})`);
2486
+ isSmallerOrEqual(c) {
2487
+ return s(`(max-width: ${o(c)})`);
2497
2488
  },
2498
- isInBetween(a, u) {
2499
- return s(`(min-width: ${n(a)}) and (max-width: ${n(u, -0.1)})`);
2489
+ isInBetween(c, a) {
2490
+ return s(`(min-width: ${o(c)}) and (max-width: ${o(a, -0.1)})`);
2500
2491
  },
2501
- current: d,
2492
+ current: u,
2502
2493
  active() {
2503
- const a = d();
2504
- return se(() => a.value.length === 0 ? "" : a.value.at(-1));
2494
+ const c = u();
2495
+ return ee(() => c.value.length === 0 ? "" : c.value.at(-1));
2505
2496
  }
2506
2497
  });
2507
2498
  }
2508
- function Lo(e) {
2499
+ function zn(e) {
2509
2500
  return JSON.parse(JSON.stringify(e));
2510
2501
  }
2511
- function Wo(e, t, n = {}) {
2512
- const { window: o = le, ...i } = n;
2502
+ function Ln(e, t, o = {}) {
2503
+ const { window: n = le, ...i } = o;
2513
2504
  let s;
2514
- const r = Xt(() => o && "ResizeObserver" in o), l = () => {
2505
+ const r = Yt(() => n && "ResizeObserver" in n), l = () => {
2515
2506
  s && (s.disconnect(), s = void 0);
2516
- }, c = se(() => Array.isArray(e) ? e.map((u) => J(u)) : [J(e)]), d = we(
2517
- c,
2518
- (u) => {
2519
- if (l(), r.value && o) {
2507
+ }, p = ee(() => Array.isArray(e) ? e.map((a) => B(a)) : [B(e)]), u = we(
2508
+ p,
2509
+ (a) => {
2510
+ if (l(), r.value && n) {
2520
2511
  s = new ResizeObserver(t);
2521
- for (const p of u)
2522
- p && s.observe(p, i);
2512
+ for (const d of a)
2513
+ d && s.observe(d, i);
2523
2514
  }
2524
2515
  },
2525
2516
  { immediate: !0, flush: "post" }
2526
- ), a = () => {
2527
- l(), d();
2517
+ ), c = () => {
2518
+ l(), u();
2528
2519
  };
2529
- return tt(a), {
2520
+ return et(c), {
2530
2521
  isSupported: r,
2531
- stop: a
2522
+ stop: c
2532
2523
  };
2533
2524
  }
2534
- const _t = 1;
2535
- function jo(e, t = {}) {
2525
+ function Wn(e, t = { width: 0, height: 0 }, o = {}) {
2526
+ const { window: n = le, box: i = "content-box" } = o, s = ee(() => {
2527
+ var a, d;
2528
+ return (d = (a = B(e)) == null ? void 0 : a.namespaceURI) == null ? void 0 : d.includes("svg");
2529
+ }), r = R(t.width), l = R(t.height), { stop: p } = Ln(
2530
+ e,
2531
+ ([a]) => {
2532
+ const d = i === "border-box" ? a.borderBoxSize : i === "content-box" ? a.contentBoxSize : a.devicePixelContentBoxSize;
2533
+ if (n && s.value) {
2534
+ const h = B(e);
2535
+ if (h) {
2536
+ const f = h.getBoundingClientRect();
2537
+ r.value = f.width, l.value = f.height;
2538
+ }
2539
+ } else if (d) {
2540
+ const h = Array.isArray(d) ? d : [d];
2541
+ r.value = h.reduce((f, { inlineSize: m }) => f + m, 0), l.value = h.reduce((f, { blockSize: m }) => f + m, 0);
2542
+ } else
2543
+ r.value = a.contentRect.width, l.value = a.contentRect.height;
2544
+ },
2545
+ o
2546
+ );
2547
+ Ut(() => {
2548
+ const a = B(e);
2549
+ a && (r.value = "offsetWidth" in a ? a.offsetWidth : t.width, l.value = "offsetHeight" in a ? a.offsetHeight : t.height);
2550
+ });
2551
+ const u = we(
2552
+ () => B(e),
2553
+ (a) => {
2554
+ r.value = a ? t.width : 0, l.value = a ? t.height : 0;
2555
+ }
2556
+ );
2557
+ function c() {
2558
+ p(), u();
2559
+ }
2560
+ return {
2561
+ width: r,
2562
+ height: l,
2563
+ stop: c
2564
+ };
2565
+ }
2566
+ const bt = 1;
2567
+ function jn(e, t = {}) {
2536
2568
  const {
2537
- throttle: n = 0,
2538
- idle: o = 200,
2569
+ throttle: o = 0,
2570
+ idle: n = 200,
2539
2571
  onStop: i = W,
2540
2572
  onScroll: s = W,
2541
2573
  offset: r = {
@@ -2548,42 +2580,42 @@ function jo(e, t = {}) {
2548
2580
  capture: !1,
2549
2581
  passive: !0
2550
2582
  },
2551
- behavior: c = "auto",
2552
- window: d = le,
2553
- onError: a = (y) => {
2583
+ behavior: p = "auto",
2584
+ window: u = le,
2585
+ onError: c = (y) => {
2554
2586
  console.error(y);
2555
2587
  }
2556
- } = t, u = z(0), p = z(0), h = se({
2588
+ } = t, a = R(0), d = R(0), h = ee({
2557
2589
  get() {
2558
- return u.value;
2590
+ return a.value;
2559
2591
  },
2560
2592
  set(y) {
2561
2593
  m(y, void 0);
2562
2594
  }
2563
- }), f = se({
2595
+ }), f = ee({
2564
2596
  get() {
2565
- return p.value;
2597
+ return d.value;
2566
2598
  },
2567
2599
  set(y) {
2568
2600
  m(void 0, y);
2569
2601
  }
2570
2602
  });
2571
2603
  function m(y, E) {
2572
- var S, _, O, A;
2573
- if (!d)
2604
+ var P, _, N, C;
2605
+ if (!u)
2574
2606
  return;
2575
- const P = H(e);
2576
- if (!P)
2607
+ const A = k(e);
2608
+ if (!A)
2577
2609
  return;
2578
- (O = P instanceof Document ? d.document.body : P) == null || O.scrollTo({
2579
- top: (S = H(E)) != null ? S : f.value,
2580
- left: (_ = H(y)) != null ? _ : h.value,
2581
- behavior: H(c)
2610
+ (N = A instanceof Document ? u.document.body : A) == null || N.scrollTo({
2611
+ top: (P = k(E)) != null ? P : f.value,
2612
+ left: (_ = k(y)) != null ? _ : h.value,
2613
+ behavior: k(p)
2582
2614
  });
2583
- const C = ((A = P == null ? void 0 : P.document) == null ? void 0 : A.documentElement) || (P == null ? void 0 : P.documentElement) || P;
2584
- h != null && (u.value = C.scrollLeft), f != null && (p.value = C.scrollTop);
2615
+ const O = ((C = A == null ? void 0 : A.document) == null ? void 0 : C.documentElement) || (A == null ? void 0 : A.documentElement) || A;
2616
+ h != null && (a.value = O.scrollLeft), f != null && (d.value = O.scrollTop);
2585
2617
  }
2586
- const w = z(!1), g = ot({
2618
+ const w = R(!1), g = ot({
2587
2619
  left: !0,
2588
2620
  right: !1,
2589
2621
  top: !0,
@@ -2595,40 +2627,40 @@ function jo(e, t = {}) {
2595
2627
  bottom: !1
2596
2628
  }), $ = (y) => {
2597
2629
  w.value && (w.value = !1, v.left = !1, v.right = !1, v.top = !1, v.bottom = !1, i(y));
2598
- }, T = Eo($, n + o), x = (y) => {
2630
+ }, b = Nn($, o + n), T = (y) => {
2599
2631
  var E;
2600
- if (!d)
2632
+ if (!u)
2601
2633
  return;
2602
- const S = ((E = y == null ? void 0 : y.document) == null ? void 0 : E.documentElement) || (y == null ? void 0 : y.documentElement) || J(y), { display: _, flexDirection: O } = getComputedStyle(S), A = S.scrollLeft;
2603
- v.left = A < u.value, v.right = A > u.value;
2604
- const P = Math.abs(A) <= (r.left || 0), C = Math.abs(A) + S.clientWidth >= S.scrollWidth - (r.right || 0) - _t;
2605
- _ === "flex" && O === "row-reverse" ? (g.left = C, g.right = P) : (g.left = P, g.right = C), u.value = A;
2606
- let R = S.scrollTop;
2607
- y === d.document && !R && (R = d.document.body.scrollTop), v.top = R < p.value, v.bottom = R > p.value;
2608
- const D = Math.abs(R) <= (r.top || 0), L = Math.abs(R) + S.clientHeight >= S.scrollHeight - (r.bottom || 0) - _t;
2609
- _ === "flex" && O === "column-reverse" ? (g.top = L, g.bottom = D) : (g.top = D, g.bottom = L), p.value = R;
2610
- }, N = (y) => {
2634
+ const P = ((E = y == null ? void 0 : y.document) == null ? void 0 : E.documentElement) || (y == null ? void 0 : y.documentElement) || B(y), { display: _, flexDirection: N } = getComputedStyle(P), C = P.scrollLeft;
2635
+ v.left = C < a.value, v.right = C > a.value;
2636
+ const A = Math.abs(C) <= (r.left || 0), O = Math.abs(C) + P.clientWidth >= P.scrollWidth - (r.right || 0) - bt;
2637
+ _ === "flex" && N === "row-reverse" ? (g.left = O, g.right = A) : (g.left = A, g.right = O), a.value = C;
2638
+ let z = P.scrollTop;
2639
+ y === u.document && !z && (z = u.document.body.scrollTop), v.top = z < d.value, v.bottom = z > d.value;
2640
+ const M = Math.abs(z) <= (r.top || 0), L = Math.abs(z) + P.clientHeight >= P.scrollHeight - (r.bottom || 0) - bt;
2641
+ _ === "flex" && N === "column-reverse" ? (g.top = L, g.bottom = M) : (g.top = M, g.bottom = L), d.value = z;
2642
+ }, S = (y) => {
2611
2643
  var E;
2612
- if (!d)
2644
+ if (!u)
2613
2645
  return;
2614
- const S = (E = y.target.documentElement) != null ? E : y.target;
2615
- x(S), w.value = !0, T(y), s(y);
2646
+ const P = (E = y.target.documentElement) != null ? E : y.target;
2647
+ T(P), w.value = !0, b(y), s(y);
2616
2648
  };
2617
- return I(
2649
+ return j(
2618
2650
  e,
2619
2651
  "scroll",
2620
- n ? zo(N, n, !0, !1) : N,
2652
+ o ? En(S, o, !0, !1) : S,
2621
2653
  l
2622
2654
  ), Ut(() => {
2623
2655
  try {
2624
- const y = H(e);
2656
+ const y = k(e);
2625
2657
  if (!y)
2626
2658
  return;
2627
- x(y);
2659
+ T(y);
2628
2660
  } catch (y) {
2629
- a(y);
2661
+ c(y);
2630
2662
  }
2631
- }), I(
2663
+ }), j(
2632
2664
  e,
2633
2665
  "scrollend",
2634
2666
  $,
@@ -2640,43 +2672,43 @@ function jo(e, t = {}) {
2640
2672
  arrivedState: g,
2641
2673
  directions: v,
2642
2674
  measure() {
2643
- const y = H(e);
2644
- d && y && x(y);
2675
+ const y = k(e);
2676
+ u && y && T(y);
2645
2677
  }
2646
2678
  };
2647
2679
  }
2648
- function Vo(e, t, n, o = {}) {
2680
+ function Vn(e, t, o, n = {}) {
2649
2681
  var i, s, r;
2650
2682
  const {
2651
2683
  clone: l = !1,
2652
- passive: c = !1,
2653
- eventName: d,
2654
- deep: a = !1,
2655
- defaultValue: u,
2656
- shouldEmit: p
2657
- } = o, h = Ke(), f = n || (h == null ? void 0 : h.emit) || ((i = h == null ? void 0 : h.$emit) == null ? void 0 : i.bind(h)) || ((r = (s = h == null ? void 0 : h.proxy) == null ? void 0 : s.$emit) == null ? void 0 : r.bind(h == null ? void 0 : h.proxy));
2658
- let m = d;
2659
- t || (t = "modelValue"), m = m || `update:${t.toString()}`;
2660
- const w = ($) => l ? typeof l == "function" ? l($) : Lo($) : $, g = () => xo(e[t]) ? w(e[t]) : u, v = ($) => {
2661
- p ? p($) && f(m, $) : f(m, $);
2684
+ passive: p = !1,
2685
+ eventName: u,
2686
+ deep: c = !1,
2687
+ defaultValue: a,
2688
+ shouldEmit: d
2689
+ } = n, h = Xe(), f = o || (h == null ? void 0 : h.emit) || ((i = h == null ? void 0 : h.$emit) == null ? void 0 : i.bind(h)) || ((r = (s = h == null ? void 0 : h.proxy) == null ? void 0 : s.$emit) == null ? void 0 : r.bind(h == null ? void 0 : h.proxy));
2690
+ let m = u;
2691
+ m = m || `update:${t.toString()}`;
2692
+ const w = ($) => l ? typeof l == "function" ? l($) : zn($) : $, g = () => xn(e[t]) ? w(e[t]) : a, v = ($) => {
2693
+ d ? d($) && f(m, $) : f(m, $);
2662
2694
  };
2663
- if (c) {
2664
- const $ = g(), T = z($);
2665
- let x = !1;
2695
+ if (p) {
2696
+ const $ = g(), b = R($);
2697
+ let T = !1;
2666
2698
  return we(
2667
2699
  () => e[t],
2668
- (N) => {
2669
- x || (x = !0, T.value = w(N), Ue(() => x = !1));
2700
+ (S) => {
2701
+ T || (T = !0, b.value = w(S), Ue(() => T = !1));
2670
2702
  }
2671
2703
  ), we(
2672
- T,
2673
- (N) => {
2674
- !x && (N !== e[t] || a) && v(N);
2704
+ b,
2705
+ (S) => {
2706
+ !T && (S !== e[t] || c) && v(S);
2675
2707
  },
2676
- { deep: a }
2677
- ), T;
2708
+ { deep: c }
2709
+ ), b;
2678
2710
  } else
2679
- return se({
2711
+ return ee({
2680
2712
  get() {
2681
2713
  return g();
2682
2714
  },
@@ -2685,29 +2717,13 @@ function Vo(e, t, n, o = {}) {
2685
2717
  }
2686
2718
  });
2687
2719
  }
2688
- function qo(e = {}) {
2689
- const {
2690
- window: t = le,
2691
- initialWidth: n = Number.POSITIVE_INFINITY,
2692
- initialHeight: o = Number.POSITIVE_INFINITY,
2693
- listenOrientation: i = !0,
2694
- includeScrollbar: s = !0
2695
- } = e, r = z(n), l = z(o), c = () => {
2696
- t && (s ? (r.value = t.innerWidth, l.value = t.innerHeight) : (r.value = t.document.documentElement.clientWidth, l.value = t.document.documentElement.clientHeight));
2697
- };
2698
- if (c(), Ut(c), I("resize", c, { passive: !0 }), i) {
2699
- const d = ae("(orientation: portrait)");
2700
- we(d, () => c());
2701
- }
2702
- return { width: r, height: l };
2703
- }
2704
- function Go(e = 5e3) {
2705
- const t = z([]);
2706
- let n = 1;
2720
+ function qn(e = 5e3) {
2721
+ const t = R([]);
2722
+ let o = 1;
2707
2723
  return {
2708
2724
  notifications: t,
2709
2725
  addNotification: (s) => {
2710
- const r = { ...s, id: n++ };
2726
+ const r = { ...s, id: o++ };
2711
2727
  t.value.push(r), setTimeout(() => {
2712
2728
  const l = t.value.indexOf(r);
2713
2729
  l !== -1 && t.value.splice(l, 1);
@@ -2721,43 +2737,43 @@ function Go(e = 5e3) {
2721
2737
  }
2722
2738
  };
2723
2739
  }
2724
- function Yo() {
2725
- const e = z(0);
2740
+ function Gn() {
2741
+ const e = R(0);
2726
2742
  return {
2727
2743
  tabIndex: e,
2728
- updateTabIndex: (n) => {
2729
- e.value = n;
2744
+ updateTabIndex: (o) => {
2745
+ e.value = o;
2730
2746
  }
2731
2747
  };
2732
2748
  }
2733
- function Uo() {
2734
- const e = (i) => new Promise((s) => setTimeout(s, i)), n = "RN-ui-tool-chip";
2749
+ function Un() {
2750
+ const e = (i) => new Promise((s) => setTimeout(s, i)), o = "RN-ui-tool-chip";
2735
2751
  return {
2736
- hideAllPoppers: Gn,
2752
+ hideAllPoppers: qo,
2737
2753
  showPopper: ({
2738
2754
  name: i,
2739
2755
  element: s,
2740
2756
  message: r,
2741
2757
  placement: l = "auto",
2742
- hasDone: c = !0,
2743
- timeout: d = 5e3,
2744
- autoHideOnUserInteraction: a = !0,
2745
- displayOnce: u = !1,
2746
- strategy: p = "absolute"
2758
+ hasDone: p = !0,
2759
+ timeout: u = 5e3,
2760
+ autoHideOnUserInteraction: c = !0,
2761
+ displayOnce: a = !1,
2762
+ strategy: d = "absolute"
2747
2763
  }) => {
2748
- const h = $o(
2764
+ const h = yn(
2749
2765
  s,
2750
2766
  {
2751
2767
  triggers: [],
2752
2768
  theme: "tooltip",
2753
2769
  placement: l,
2754
2770
  shiftCrossAxis: !0,
2755
- strategy: p,
2771
+ strategy: d,
2756
2772
  content: `
2757
- <div id="${i}" class="${n}">
2758
- <div class="${n}-content">
2759
- <div><span class="${n}-text RN-text--size-body">${r}</span></div>
2760
- ${c ? `<button class="${n}-done" id="${i}-done">OK</button>` : ""}
2773
+ <div id="${i}" class="${o}">
2774
+ <div class="${o}-content">
2775
+ <div><span class="${o}-text RN-text--size-body">${r}</span></div>
2776
+ ${p ? `<button class="${o}-done" id="${i}-done">OK</button>` : ""}
2761
2777
  </div>
2762
2778
  </div>
2763
2779
  `,
@@ -2766,68 +2782,68 @@ function Uo() {
2766
2782
  null
2767
2783
  ), f = () => {
2768
2784
  const w = `tooltip-shown-${i}`;
2769
- je && localStorage.getItem(w) || h.show();
2785
+ We && localStorage.getItem(w) || h.show();
2770
2786
  }, m = async () => {
2771
- if (je && u) {
2787
+ if (We && a) {
2772
2788
  const w = `tooltip-shown-${i}`;
2773
2789
  localStorage.setItem(w, "true");
2774
2790
  }
2775
- h.hide(), await e(100), bo(s);
2791
+ h.hide(), await e(100), $n(s);
2776
2792
  };
2777
2793
  f(), setTimeout(() => {
2778
- je && (I(
2794
+ We && (j(
2779
2795
  document.getElementById(`${i}-done`),
2780
2796
  "click",
2781
2797
  m
2782
- ), a && (I(document, "click", m), I(document, "touchmove", m), I(document, "scroll", m), I(window, "scroll", m)));
2783
- }, 500), d != null && setTimeout(m, d);
2798
+ ), c && (j(document, "click", m), j(document, "touchmove", m), j(document, "scroll", m), j(window, "scroll", m)));
2799
+ }, 500), u != null && setTimeout(m, u);
2784
2800
  }
2785
2801
  };
2786
2802
  }
2787
- function Xo() {
2788
- const e = z(""), t = z(!1), n = z(""), o = z(() => {
2789
- }), i = ({ _title: l = "", _content: c = "", _confirmHandler: d = () => {
2803
+ function Yn() {
2804
+ const e = R(""), t = R(!1), o = R(""), n = R(() => {
2805
+ }), i = ({ _title: l = "", _content: p = "", _confirmHandler: u = () => {
2790
2806
  } }) => {
2791
- e.value = l, n.value = c, o.value = d, t.value = !0;
2807
+ e.value = l, o.value = p, n.value = u, t.value = !0;
2792
2808
  }, s = () => {
2793
- t.value = !1, e.value = "", n.value = "", o.value = () => {
2809
+ t.value = !1, e.value = "", o.value = "", n.value = () => {
2794
2810
  };
2795
2811
  };
2796
2812
  return {
2797
2813
  visible: t,
2798
2814
  title: e,
2799
- content: n,
2800
- confirmHandler: o,
2815
+ content: o,
2816
+ confirmHandler: n,
2801
2817
  show: i,
2802
2818
  hide: s,
2803
2819
  confirm: () => {
2804
- o.value(), s();
2820
+ n.value(), s();
2805
2821
  }
2806
2822
  };
2807
2823
  }
2808
2824
  export {
2809
- Mo as W,
2810
- Eo as a,
2811
- Io as b,
2812
- zo as c,
2813
- Do as d,
2814
- Ut as e,
2815
- So as f,
2816
- tt as g,
2817
- ko as h,
2818
- je as i,
2819
- Gt as j,
2820
- To as k,
2821
- Vo as l,
2822
- jo as m,
2825
+ Hn as W,
2826
+ qn as a,
2827
+ Gn as b,
2828
+ Un as c,
2829
+ In as d,
2830
+ Fn as e,
2831
+ Mn as f,
2832
+ En as g,
2833
+ Ut as h,
2834
+ We as i,
2835
+ qt as j,
2836
+ _n as k,
2837
+ et as l,
2838
+ Nn as m,
2823
2839
  W as n,
2824
- Bo as o,
2825
- qo as p,
2826
- Wo as q,
2827
- Go as r,
2828
- Yo as s,
2829
- H as t,
2830
- Fo as u,
2831
- Uo as v,
2832
- Xo as w
2840
+ Bn as o,
2841
+ Dn as p,
2842
+ Sn as q,
2843
+ Vn as r,
2844
+ jn as s,
2845
+ k as t,
2846
+ Yn as u,
2847
+ Wn as v,
2848
+ Ln as w
2833
2849
  };