@opens/ui 1.0.7 → 1.0.9

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.
@@ -1,5 +1,5 @@
1
- import { defineComponent as O, ref as M, watch as Ve, openBlock as P, createElementBlock as k, createElementVNode as y, toDisplayString as F, normalizeClass as C, withDirectives as be, withKeys as We, vModelDynamic as ht, renderSlot as S, vShow as Ke, pushScopeId as Dt, popScopeId as Lt, nextTick as Rt, createBlock as Ce, normalizeProps as Et, guardReactiveProps as Ht, withScopeId as Mt, resolveComponent as Le, normalizeStyle as ze, Fragment as It, createCommentVNode as _e, withCtx as le, createVNode as Re, unref as D, createTextVNode as Ft, computed as ge } from "vue";
2
- const Vt = { class: "simple-input" }, Wt = { class: "yu-flex yu-h-full yu-pl-2" }, jt = { class: "material-icons yu-text-gray-700 yu-my-auto" }, qt = ["placeholder", "type", "maxlength"], Gt = /* @__PURE__ */ O({
1
+ import { defineComponent as O, ref as I, watch as We, openBlock as $, createElementBlock as C, createElementVNode as c, toDisplayString as k, normalizeClass as B, withDirectives as Q, withKeys as je, vModelDynamic as yt, renderSlot as S, vShow as Je, pushScopeId as Lt, popScopeId as Et, nextTick as Ht, createBlock as we, normalizeProps as Mt, guardReactiveProps as It, withScopeId as Ft, resolveComponent as Le, normalizeStyle as Ne, Fragment as Vt, createCommentVNode as ye, withCtx as Z, createVNode as Se, unref as b, createTextVNode as Ee, computed as q, resolveDirective as Wt, useSlots as jt } from "vue";
2
+ const qt = { class: "simple-input" }, Gt = { class: "yu-flex yu-h-full yu-pl-2" }, Ut = { class: "material-icons yu-text-gray-700 yu-my-auto" }, Yt = ["placeholder", "type", "maxlength"], Xt = /* @__PURE__ */ O({
3
3
  __name: "icon-text-input",
4
4
  props: {
5
5
  value: null,
@@ -14,11 +14,11 @@ const Vt = { class: "simple-input" }, Wt = { class: "yu-flex yu-h-full yu-pl-2"
14
14
  emits: ["blur", "focus", "input"],
15
15
  setup(e, { emit: t }) {
16
16
  const o = e;
17
- M(!1);
18
- const n = M(o.value);
19
- M(!1);
20
- const i = M(o.type), s = M(!1);
21
- Ve(s, (a) => {
17
+ I(!1);
18
+ const n = I(o.value);
19
+ I(!1);
20
+ const i = I(o.type), s = I(!1);
21
+ We(s, (a) => {
22
22
  if (!a) {
23
23
  t("blur");
24
24
  return;
@@ -31,29 +31,29 @@ const Vt = { class: "simple-input" }, Wt = { class: "yu-flex yu-h-full yu-pl-2"
31
31
  function l(a) {
32
32
  t("input", a.target.value);
33
33
  }
34
- return (a, u) => (P(), k("div", Vt, [
35
- y("div", Wt, [
36
- y("i", jt, F(e.icon), 1),
37
- y("p", {
38
- class: C(["yu-text-gray-500 yu-font-plus yu-font-medium yu-p-1 yu-px-2 yu-transition", { "yu-translate-y-2 yu-text-sm": r(), "yu-translate-y-0 yu-text-xs": !r() }])
39
- }, F(e.label), 3)
34
+ return (a, u) => ($(), C("div", qt, [
35
+ c("div", Gt, [
36
+ c("i", Ut, k(e.icon), 1),
37
+ c("p", {
38
+ class: B(["yu-text-gray-500 yu-font-plus yu-font-medium yu-p-1 yu-px-2 yu-transition", { "yu-translate-y-2 yu-text-sm": r(), "yu-translate-y-0 yu-text-xs": !r() }])
39
+ }, k(e.label), 3)
40
40
  ]),
41
- be(y("input", {
41
+ Q(c("input", {
42
42
  class: "yu-pl-8 yu-absolute yu-w-full yu-h-full yu-outline-none yu-bg-transparent yu-appearence-none yu-indent-2 yu-pt-3 yu-font-plus yu-font-semibold yu-text-gray-800",
43
43
  placeholder: e.placeholder,
44
44
  onInput: l,
45
- onFocus: u[0] || (u[0] = (c) => s.value = !0),
46
- onBlur: u[1] || (u[1] = (c) => s.value = !1),
47
- "onUpdate:modelValue": u[2] || (u[2] = (c) => n.value = c),
45
+ onFocus: u[0] || (u[0] = (p) => s.value = !0),
46
+ onBlur: u[1] || (u[1] = (p) => s.value = !1),
47
+ "onUpdate:modelValue": u[2] || (u[2] = (p) => n.value = p),
48
48
  type: i.value || e.type,
49
- onKeyup: u[3] || (u[3] = We((c) => a.$emit("keyup-enter"), ["enter"])),
49
+ onKeyup: u[3] || (u[3] = je((p) => a.$emit("keyup-enter"), ["enter"])),
50
50
  maxlength: e.caract
51
- }, null, 40, qt), [
52
- [ht, n.value]
51
+ }, null, 40, Yt), [
52
+ [yt, n.value]
53
53
  ])
54
54
  ]));
55
55
  }
56
- }), Ut = ["type", "disabled"], ft = /* @__PURE__ */ O({
56
+ }), Kt = ["type", "disabled"], ft = /* @__PURE__ */ O({
57
57
  __name: "text-input",
58
58
  props: {
59
59
  modelValue: null,
@@ -64,7 +64,7 @@ const Vt = { class: "simple-input" }, Wt = { class: "yu-flex yu-h-full yu-pl-2"
64
64
  },
65
65
  emits: ["update:model-value", "blur", "press-enter"],
66
66
  setup(e, { emit: t }) {
67
- const n = M(e.modelValue), i = M(!1);
67
+ const n = I(e.modelValue), i = I(!1);
68
68
  function s() {
69
69
  return !(i.value || n.value);
70
70
  }
@@ -75,27 +75,27 @@ const Vt = { class: "simple-input" }, Wt = { class: "yu-flex yu-h-full yu-pl-2"
75
75
  const u = a.target;
76
76
  t("update:model-value", u.value);
77
77
  }
78
- return (a, u) => (P(), k("div", {
79
- class: C(["simple-input", { "yu-border-red-500": e.invalid }])
78
+ return (a, u) => ($(), C("div", {
79
+ class: B(["simple-input", { "yu-border-red-500": e.invalid }])
80
80
  }, [
81
- y("p", {
82
- class: C(["yu-text-gray-500 yu-font-plus yu-font-medium yu-p-1 yu-px-2 yu-transition", { "yu-translate-y-1/4 yu-text-sm": s(), "yu-translate-x-0 yu-text-xs": !s() }])
83
- }, F(e.label), 3),
84
- be(y("input", {
81
+ c("p", {
82
+ class: B(["yu-text-gray-500 yu-font-plus yu-font-medium yu-p-1 yu-px-2 yu-transition", { "yu-translate-y-1/4 yu-text-sm": s(), "yu-translate-x-0 yu-text-xs": !s() }])
83
+ }, k(e.label), 3),
84
+ Q(c("input", {
85
85
  class: "yu-absolute yu-w-full yu-h-full yu-outline-none yu-bg-transparent yu-appearence-none yu-indent-2 yu-pt-3 yu-font-plus yu-font-semibold yu-text-gray-800 dark:yu-text-gray-200",
86
- "onUpdate:modelValue": u[0] || (u[0] = (c) => n.value = c),
87
- onKeyup: u[1] || (u[1] = We((c) => r("press-enter"), ["enter"])),
86
+ "onUpdate:modelValue": u[0] || (u[0] = (p) => n.value = p),
87
+ onKeyup: u[1] || (u[1] = je((p) => r("press-enter"), ["enter"])),
88
88
  type: e.type,
89
89
  disabled: e.disabled,
90
90
  onInput: l,
91
- onFocus: u[2] || (u[2] = (c) => i.value = !0),
92
- onBlur: u[3] || (u[3] = (c) => i.value = !1)
93
- }, null, 40, Ut), [
94
- [ht, n.value]
91
+ onFocus: u[2] || (u[2] = (p) => i.value = !0),
92
+ onBlur: u[3] || (u[3] = (p) => i.value = !1)
93
+ }, null, 40, Kt), [
94
+ [yt, n.value]
95
95
  ])
96
96
  ], 2));
97
97
  }
98
- }), Yt = ["checked"], Xt = /* @__PURE__ */ O({
98
+ }), Jt = ["checked"], Qt = /* @__PURE__ */ O({
99
99
  __name: "switch-checkbox",
100
100
  props: {
101
101
  modelValue: { type: Boolean },
@@ -104,25 +104,25 @@ const Vt = { class: "simple-input" }, Wt = { class: "yu-flex yu-h-full yu-pl-2"
104
104
  },
105
105
  emits: ["update:modelValue", "change", "input"],
106
106
  setup(e, { emit: t }) {
107
- const n = M(e.modelValue);
108
- return M(!1), Ve(n, (i) => {
107
+ const n = I(e.modelValue);
108
+ return I(!1), We(n, (i) => {
109
109
  t("update:modelValue", i);
110
- }), (i, s) => (P(), k("div", {
110
+ }), (i, s) => ($(), C("div", {
111
111
  class: "yu-relative yu-inline-block yu-w-10 yu-align-middle yu-select-none yu-transition yu-duration-200 yu-ease-in",
112
112
  onClick: s[0] || (s[0] = (r) => n.value = !n.value)
113
113
  }, [
114
- y("input", {
114
+ c("input", {
115
115
  class: "yu-absolute yu-block yu-w-6 yu-h-6 yu-bg-white yu-border-4 yu-rounded-full yu-appearance-none yu-cursor-pointer toggle-checkbox checked:yu-right-0 checked:yu-border-primary-500",
116
116
  type: "checkbox",
117
117
  checked: n.value
118
- }, null, 8, Yt),
119
- y("label", {
120
- class: C(["yu-block yu-h-6 yu-overflow-hidden yu-bg-gray-300 yu-rounded-full yu-cursor-pointer yu-toggle-label", { "yu-bg-primary-500": n.value }]),
118
+ }, null, 8, Jt),
119
+ c("label", {
120
+ class: B(["yu-block yu-h-6 yu-overflow-hidden yu-bg-gray-300 yu-rounded-full yu-cursor-pointer yu-toggle-label", { "yu-bg-primary-500": n.value }]),
121
121
  for: "toggle"
122
122
  }, null, 2)
123
123
  ]));
124
124
  }
125
- }), Kt = /* @__PURE__ */ O({
125
+ }), Zt = /* @__PURE__ */ O({
126
126
  __name: "button-primary",
127
127
  props: {
128
128
  large: {
@@ -147,13 +147,13 @@ const Vt = { class: "simple-input" }, Wt = { class: "yu-flex yu-h-full yu-pl-2"
147
147
  }
148
148
  },
149
149
  setup(e) {
150
- return (t, o) => (P(), k("button", {
151
- class: C(["yu-bg-primary yu-px-5 yu-p-2 yu-w-fit yu-text-base yu-text-white yu-rounded-md yu-transition-all yu-font-plus yu-font-bold yu-truncate hover:yu-brightness-90 active:yu-scale-95", { "!yu-px-7 !yu-p-4": e.large, "!yu-px-3 !yu-p-1": e.small, "!yu-bg-red-500": e.warning, "!yu-bg-yellow-400": e.alert, "!yu-bg-green-400": e.success }])
150
+ return (t, o) => ($(), C("button", {
151
+ class: B(["yu-bg-primary yu-px-5 yu-p-2 yu-w-fit yu-text-base yu-text-white yu-rounded-md yu-transition-all yu-font-plus yu-font-bold yu-truncate hover:yu-brightness-90 active:yu-scale-95", { "!yu-px-7 !yu-p-4": e.large, "!yu-px-3 !yu-p-1": e.small, "!yu-bg-red-500": e.warning, "!yu-bg-yellow-400": e.alert, "!yu-bg-green-400": e.success }])
152
152
  }, [
153
153
  S(t.$slots, "default")
154
154
  ], 2));
155
155
  }
156
- }), Jt = /* @__PURE__ */ O({
156
+ }), eo = /* @__PURE__ */ O({
157
157
  __name: "button-secondary",
158
158
  props: {
159
159
  large: {
@@ -178,26 +178,26 @@ const Vt = { class: "simple-input" }, Wt = { class: "yu-flex yu-h-full yu-pl-2"
178
178
  }
179
179
  },
180
180
  setup(e) {
181
- return (t, o) => (P(), k("button", {
182
- class: C(["yu-text-primary yu-bg-primary yu-text-base yu-w-fit yu-px-5 yu-p-2 yu-rounded-md yu-transition-all yu-font-plus yu-font-bold yu-truncate !yu-bg-opacity-5 group hover:!yu-bg-opacity-10 active:yu-scale-95 active:!yu-bg-opacity-20", { "!yu-text-lg": e.large, "!yu-text-sm": e.small, "!yu-text-red-500 !yu-bg-red-500": e.warning, "!yu-text-yellow-400 !yu-bg-yellow-400": e.alert, "!yu-text-green-400 !yu-bg-green-400": e.success }])
181
+ return (t, o) => ($(), C("button", {
182
+ class: B(["yu-text-primary yu-bg-primary yu-text-base yu-w-fit yu-px-5 yu-p-2 yu-rounded-md yu-transition-all yu-font-plus yu-font-bold yu-truncate !yu-bg-opacity-5 group hover:!yu-bg-opacity-10 active:yu-scale-95 active:!yu-bg-opacity-20", { "!yu-text-lg": e.large, "!yu-text-sm": e.small, "!yu-text-red-500 !yu-bg-red-500": e.warning, "!yu-text-yellow-400 !yu-bg-yellow-400": e.alert, "!yu-text-green-400 !yu-bg-green-400": e.success }])
183
183
  }, [
184
184
  S(t.$slots, "default")
185
185
  ], 2));
186
186
  }
187
- }), Qt = { class: "yu-transition yu-text-gray-900 yu-font-plus yu-text-sm yu-p-2 yu-font-semibold yu-rounded-md yu-cursor-pointer yu-flex yu-items-center active:yu-scale-95 hover:yu-bg-primary-500 hover:!yu-bg-opacity-10 hover:yu-text-primary-400" };
188
- function Zt(e, t) {
189
- return P(), k("div", Qt, [
187
+ }), to = { class: "yu-transition yu-text-gray-900 yu-font-plus yu-text-sm yu-p-2 yu-font-semibold yu-rounded-md yu-cursor-pointer yu-flex yu-items-center active:yu-scale-95 hover:yu-bg-primary-500 hover:!yu-bg-opacity-10 hover:yu-text-primary-400" };
188
+ function oo(e, t) {
189
+ return $(), C("div", to, [
190
190
  S(e.$slots, "default")
191
191
  ]);
192
192
  }
193
- const ye = (e, t) => {
193
+ const ve = (e, t) => {
194
194
  const o = e.__vccOpts || e;
195
195
  for (const [n, i] of t)
196
196
  o[n] = i;
197
197
  return o;
198
198
  };
199
- var eo = {};
200
- const yt = /* @__PURE__ */ ye(eo, [["render", Zt]]), to = { class: "yu-relative yu-w-full" }, oo = { class: "yu-text-gray-700 yu-font-plus yu-font-medium yu-text-base yu-mr-2" }, no = { class: "yu-mt-2 yu-w-full yu-bg-white yu-rounded-md yu-flex yu-flex-col yu-gap-1 yu-shadow-md yu-absolute yu-z-10" }, io = { class: "yu-w-full yu-rounded-md yu-p-2" }, so = /* @__PURE__ */ O({
199
+ var no = {};
200
+ const mt = /* @__PURE__ */ ve(no, [["render", oo]]), io = { class: "yu-relative yu-w-full" }, so = { class: "yu-text-gray-700 yu-font-plus yu-font-medium yu-text-base yu-mr-2" }, ro = { class: "yu-mt-2 yu-w-full yu-bg-white yu-rounded-md yu-flex yu-flex-col yu-gap-1 yu-shadow-md yu-absolute yu-z-10" }, lo = { class: "yu-w-full yu-rounded-md yu-p-2" }, ao = /* @__PURE__ */ O({
201
201
  __name: "simple-dropdown",
202
202
  props: {
203
203
  label: null,
@@ -206,86 +206,86 @@ const yt = /* @__PURE__ */ ye(eo, [["render", Zt]]), to = { class: "yu-relative
206
206
  },
207
207
  setup(e) {
208
208
  const t = e;
209
- Ve(
209
+ We(
210
210
  () => t.isOpen,
211
211
  (n) => {
212
212
  o.value = n;
213
213
  }
214
214
  );
215
- const o = M(!1);
216
- return (n, i) => (P(), k("div", null, [
217
- y("div", to, [
218
- y("button", {
219
- class: C(["yu-w-full yu-bg-gray-700 yu-bg-opacity-0 yu-px-3 yu-p-2 yu-rounded-md yu-flex yu-gap-1 yu-transition yu-border yu-border-gray-200 hover:yu-bg-opacity-10 yu-group active:yu-bg-primary-500 active:!yu-bg-opacity-10 active:yu-scale-95", { "!yu-bg-primary-500 !yu-bg-opacity-10": o.value }]),
215
+ const o = I(!1);
216
+ return (n, i) => ($(), C("div", null, [
217
+ c("div", io, [
218
+ c("button", {
219
+ class: B(["yu-w-full yu-bg-gray-700 yu-bg-opacity-0 yu-px-3 yu-p-2 yu-rounded-md yu-flex yu-gap-1 yu-transition yu-border yu-border-gray-200 hover:yu-bg-opacity-10 yu-group active:yu-bg-primary-500 active:!yu-bg-opacity-10 active:yu-scale-95", { "!yu-bg-primary-500 !yu-bg-opacity-10": o.value }]),
220
220
  onClick: i[0] || (i[0] = (s) => o.value = !o.value)
221
221
  }, [
222
- be(y("i", {
223
- class: C(["material-icons yu-text-gray-700 yu-h-fit", { "yu-text-primary-500": o.value }])
224
- }, F(e.icon), 3), [
225
- [Ke, e.icon]
222
+ Q(c("i", {
223
+ class: B(["material-icons yu-text-gray-700 yu-h-fit", { "yu-text-primary-500": o.value }])
224
+ }, k(e.icon), 3), [
225
+ [Je, e.icon]
226
226
  ]),
227
- y("div", oo, F(e.label), 1),
228
- y("i", {
229
- class: C(["material-icons yu-text-gray-700 yu-h-fit yu-ml-auto", { "yu-text-primary-500 yu-rotate-180": o.value }])
227
+ c("div", so, k(e.label), 1),
228
+ c("i", {
229
+ class: B(["material-icons yu-text-gray-700 yu-h-fit yu-ml-auto", { "yu-text-primary-500 yu-rotate-180": o.value }])
230
230
  }, " keyboard_arrow_down", 2)
231
231
  ], 2),
232
- be(y("div", no, [
233
- y("div", io, [
232
+ Q(c("div", ro, [
233
+ c("div", lo, [
234
234
  S(n.$slots, "default")
235
235
  ])
236
236
  ], 512), [
237
- [Ke, o.value]
237
+ [Je, o.value]
238
238
  ])
239
239
  ])
240
240
  ]));
241
241
  }
242
- }), ro = ["top", "right", "bottom", "left"], Je = ["start", "end"], Qe = /* @__PURE__ */ ro.reduce((e, t) => e.concat(t, t + "-" + Je[0], t + "-" + Je[1]), []), pe = Math.min, oe = Math.max, lo = {
242
+ }), uo = ["top", "right", "bottom", "left"], Qe = ["start", "end"], Ze = /* @__PURE__ */ uo.reduce((e, t) => e.concat(t, t + "-" + Qe[0], t + "-" + Qe[1]), []), fe = Math.min, se = Math.max, co = {
243
243
  left: "right",
244
244
  right: "left",
245
245
  bottom: "top",
246
246
  top: "bottom"
247
- }, ao = {
247
+ }, po = {
248
248
  start: "end",
249
249
  end: "start"
250
250
  };
251
- function Ee(e, t, o) {
252
- return oe(e, pe(t, o));
251
+ function He(e, t, o) {
252
+ return se(e, fe(t, o));
253
253
  }
254
- function ie(e, t) {
254
+ function le(e, t) {
255
255
  return typeof e == "function" ? e(t) : e;
256
256
  }
257
- function U(e) {
257
+ function Y(e) {
258
258
  return e.split("-")[0];
259
259
  }
260
260
  function V(e) {
261
261
  return e.split("-")[1];
262
262
  }
263
- function mt(e) {
263
+ function gt(e) {
264
264
  return e === "x" ? "y" : "x";
265
265
  }
266
- function je(e) {
266
+ function qe(e) {
267
267
  return e === "y" ? "height" : "width";
268
268
  }
269
- function me(e) {
270
- return ["top", "bottom"].includes(U(e)) ? "y" : "x";
269
+ function xe(e) {
270
+ return ["top", "bottom"].includes(Y(e)) ? "y" : "x";
271
271
  }
272
- function qe(e) {
273
- return mt(me(e));
272
+ function Ge(e) {
273
+ return gt(xe(e));
274
274
  }
275
- function gt(e, t, o) {
275
+ function wt(e, t, o) {
276
276
  o === void 0 && (o = !1);
277
- const n = V(e), i = qe(e), s = je(i);
277
+ const n = V(e), i = Ge(e), s = qe(i);
278
278
  let r = i === "x" ? n === (o ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
279
- return t.reference[s] > t.floating[s] && (r = Se(r)), [r, Se(r)];
279
+ return t.reference[s] > t.floating[s] && (r = Be(r)), [r, Be(r)];
280
280
  }
281
- function uo(e) {
282
- const t = Se(e);
283
- return [$e(e), t, $e(t)];
281
+ function ho(e) {
282
+ const t = Be(e);
283
+ return [Te(e), t, Te(t)];
284
284
  }
285
- function $e(e) {
286
- return e.replace(/start|end/g, (t) => ao[t]);
285
+ function Te(e) {
286
+ return e.replace(/start|end/g, (t) => po[t]);
287
287
  }
288
- function co(e, t, o) {
288
+ function yo(e, t, o) {
289
289
  const n = ["left", "right"], i = ["right", "left"], s = ["top", "bottom"], r = ["bottom", "top"];
290
290
  switch (e) {
291
291
  case "top":
@@ -298,15 +298,15 @@ function co(e, t, o) {
298
298
  return [];
299
299
  }
300
300
  }
301
- function po(e, t, o, n) {
301
+ function fo(e, t, o, n) {
302
302
  const i = V(e);
303
- let s = co(U(e), o === "start", n);
304
- return i && (s = s.map((r) => r + "-" + i), t && (s = s.concat(s.map($e)))), s;
303
+ let s = yo(Y(e), o === "start", n);
304
+ return i && (s = s.map((r) => r + "-" + i), t && (s = s.concat(s.map(Te)))), s;
305
305
  }
306
- function Se(e) {
307
- return e.replace(/left|right|bottom|top/g, (t) => lo[t]);
306
+ function Be(e) {
307
+ return e.replace(/left|right|bottom|top/g, (t) => co[t]);
308
308
  }
309
- function ho(e) {
309
+ function mo(e) {
310
310
  return {
311
311
  top: 0,
312
312
  right: 0,
@@ -315,15 +315,15 @@ function ho(e) {
315
315
  ...e
316
316
  };
317
317
  }
318
- function wt(e) {
319
- return typeof e != "number" ? ho(e) : {
318
+ function vt(e) {
319
+ return typeof e != "number" ? mo(e) : {
320
320
  top: e,
321
321
  right: e,
322
322
  bottom: e,
323
323
  left: e
324
324
  };
325
325
  }
326
- function ae(e) {
326
+ function de(e) {
327
327
  return {
328
328
  ...e,
329
329
  top: e.y,
@@ -332,36 +332,36 @@ function ae(e) {
332
332
  bottom: e.y + e.height
333
333
  };
334
334
  }
335
- function Ze(e, t, o) {
335
+ function et(e, t, o) {
336
336
  let {
337
337
  reference: n,
338
338
  floating: i
339
339
  } = e;
340
- const s = me(t), r = qe(t), l = je(r), a = U(t), u = s === "y", c = n.x + n.width / 2 - i.width / 2, p = n.y + n.height / 2 - i.height / 2, h = n[l] / 2 - i[l] / 2;
340
+ const s = xe(t), r = Ge(t), l = qe(r), a = Y(t), u = s === "y", p = n.x + n.width / 2 - i.width / 2, h = n.y + n.height / 2 - i.height / 2, y = n[l] / 2 - i[l] / 2;
341
341
  let d;
342
342
  switch (a) {
343
343
  case "top":
344
344
  d = {
345
- x: c,
345
+ x: p,
346
346
  y: n.y - i.height
347
347
  };
348
348
  break;
349
349
  case "bottom":
350
350
  d = {
351
- x: c,
351
+ x: p,
352
352
  y: n.y + n.height
353
353
  };
354
354
  break;
355
355
  case "right":
356
356
  d = {
357
357
  x: n.x + n.width,
358
- y: p
358
+ y: h
359
359
  };
360
360
  break;
361
361
  case "left":
362
362
  d = {
363
363
  x: n.x - i.width,
364
- y: p
364
+ y: h
365
365
  };
366
366
  break;
367
367
  default:
@@ -372,15 +372,15 @@ function Ze(e, t, o) {
372
372
  }
373
373
  switch (V(t)) {
374
374
  case "start":
375
- d[r] -= h * (o && u ? -1 : 1);
375
+ d[r] -= y * (o && u ? -1 : 1);
376
376
  break;
377
377
  case "end":
378
- d[r] += h * (o && u ? -1 : 1);
378
+ d[r] += y * (o && u ? -1 : 1);
379
379
  break;
380
380
  }
381
381
  return d;
382
382
  }
383
- const fo = async (e, t, o) => {
383
+ const go = async (e, t, o) => {
384
384
  const {
385
385
  placement: n = "bottom",
386
386
  strategy: i = "absolute",
@@ -392,23 +392,23 @@ const fo = async (e, t, o) => {
392
392
  floating: t,
393
393
  strategy: i
394
394
  }), {
395
- x: c,
396
- y: p
397
- } = Ze(u, n, a), h = n, d = {}, f = 0;
395
+ x: p,
396
+ y: h
397
+ } = et(u, n, a), y = n, d = {}, f = 0;
398
398
  for (let m = 0; m < l.length; m++) {
399
399
  const {
400
400
  name: v,
401
401
  fn: g
402
402
  } = l[m], {
403
403
  x: w,
404
- y: b,
405
- data: $,
406
- reset: _
404
+ y: _,
405
+ data: P,
406
+ reset: T
407
407
  } = await g({
408
- x: c,
409
- y: p,
408
+ x: p,
409
+ y: h,
410
410
  initialPlacement: n,
411
- placement: h,
411
+ placement: y,
412
412
  strategy: i,
413
413
  middlewareData: d,
414
414
  rects: u,
@@ -418,33 +418,33 @@ const fo = async (e, t, o) => {
418
418
  floating: t
419
419
  }
420
420
  });
421
- if (c = w ?? c, p = b ?? p, d = {
421
+ if (p = w ?? p, h = _ ?? h, d = {
422
422
  ...d,
423
423
  [v]: {
424
424
  ...d[v],
425
- ...$
425
+ ...P
426
426
  }
427
- }, _ && f <= 50) {
428
- f++, typeof _ == "object" && (_.placement && (h = _.placement), _.rects && (u = _.rects === !0 ? await r.getElementRects({
427
+ }, T && f <= 50) {
428
+ f++, typeof T == "object" && (T.placement && (y = T.placement), T.rects && (u = T.rects === !0 ? await r.getElementRects({
429
429
  reference: e,
430
430
  floating: t,
431
431
  strategy: i
432
- }) : _.rects), {
433
- x: c,
434
- y: p
435
- } = Ze(u, h, a)), m = -1;
432
+ }) : T.rects), {
433
+ x: p,
434
+ y: h
435
+ } = et(u, y, a)), m = -1;
436
436
  continue;
437
437
  }
438
438
  }
439
439
  return {
440
- x: c,
441
- y: p,
442
- placement: h,
440
+ x: p,
441
+ y: h,
442
+ placement: y,
443
443
  strategy: i,
444
444
  middlewareData: d
445
445
  };
446
446
  };
447
- async function Be(e, t) {
447
+ async function Ae(e, t) {
448
448
  var o;
449
449
  t === void 0 && (t = {});
450
450
  const {
@@ -456,38 +456,38 @@ async function Be(e, t) {
456
456
  strategy: a
457
457
  } = e, {
458
458
  boundary: u = "clippingAncestors",
459
- rootBoundary: c = "viewport",
460
- elementContext: p = "floating",
461
- altBoundary: h = !1,
459
+ rootBoundary: p = "viewport",
460
+ elementContext: h = "floating",
461
+ altBoundary: y = !1,
462
462
  padding: d = 0
463
- } = ie(t, e), f = wt(d), v = l[h ? p === "floating" ? "reference" : "floating" : p], g = ae(await s.getClippingRect({
463
+ } = le(t, e), f = vt(d), v = l[y ? h === "floating" ? "reference" : "floating" : h], g = de(await s.getClippingRect({
464
464
  element: (o = await (s.isElement == null ? void 0 : s.isElement(v))) == null || o ? v : v.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(l.floating)),
465
465
  boundary: u,
466
- rootBoundary: c,
466
+ rootBoundary: p,
467
467
  strategy: a
468
- })), w = p === "floating" ? {
468
+ })), w = h === "floating" ? {
469
469
  ...r.floating,
470
470
  x: n,
471
471
  y: i
472
- } : r.reference, b = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(l.floating)), $ = await (s.isElement == null ? void 0 : s.isElement(b)) ? await (s.getScale == null ? void 0 : s.getScale(b)) || {
472
+ } : r.reference, _ = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(l.floating)), P = await (s.isElement == null ? void 0 : s.isElement(_)) ? await (s.getScale == null ? void 0 : s.getScale(_)) || {
473
473
  x: 1,
474
474
  y: 1
475
475
  } : {
476
476
  x: 1,
477
477
  y: 1
478
- }, _ = ae(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
478
+ }, T = de(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
479
479
  rect: w,
480
- offsetParent: b,
480
+ offsetParent: _,
481
481
  strategy: a
482
482
  }) : w);
483
483
  return {
484
- top: (g.top - _.top + f.top) / $.y,
485
- bottom: (_.bottom - g.bottom + f.bottom) / $.y,
486
- left: (g.left - _.left + f.left) / $.x,
487
- right: (_.right - g.right + f.right) / $.x
484
+ top: (g.top - T.top + f.top) / P.y,
485
+ bottom: (T.bottom - g.bottom + f.bottom) / P.y,
486
+ left: (g.left - T.left + f.left) / P.x,
487
+ right: (T.right - g.right + f.right) / P.x
488
488
  };
489
489
  }
490
- const yo = (e) => ({
490
+ const wo = (e) => ({
491
491
  name: "arrow",
492
492
  options: e,
493
493
  async fn(t) {
@@ -501,34 +501,34 @@ const yo = (e) => ({
501
501
  middlewareData: a
502
502
  } = t, {
503
503
  element: u,
504
- padding: c = 0
505
- } = ie(e, t) || {};
504
+ padding: p = 0
505
+ } = le(e, t) || {};
506
506
  if (u == null)
507
507
  return {};
508
- const p = wt(c), h = {
508
+ const h = vt(p), y = {
509
509
  x: o,
510
510
  y: n
511
- }, d = qe(i), f = je(d), m = await r.getDimensions(u), v = d === "y", g = v ? "top" : "left", w = v ? "bottom" : "right", b = v ? "clientHeight" : "clientWidth", $ = s.reference[f] + s.reference[d] - h[d] - s.floating[f], _ = h[d] - s.reference[d], T = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(u));
512
- let B = T ? T[b] : 0;
513
- (!B || !await (r.isElement == null ? void 0 : r.isElement(T))) && (B = l.floating[b] || s.floating[f]);
514
- const R = $ / 2 - _ / 2, E = B / 2 - m[f] / 2 - 1, A = pe(p[g], E), H = pe(p[w], E), z = A, ee = B - m[f] - H, N = B / 2 - m[f] / 2 + R, W = Ee(z, N, ee), j = !a.arrow && V(i) != null && N != W && s.reference[f] / 2 - (N < z ? A : H) - m[f] / 2 < 0, Y = j ? N < z ? N - z : N - ee : 0;
511
+ }, d = Ge(i), f = qe(d), m = await r.getDimensions(u), v = d === "y", g = v ? "top" : "left", w = v ? "bottom" : "right", _ = v ? "clientHeight" : "clientWidth", P = s.reference[f] + s.reference[d] - y[d] - s.floating[f], T = y[d] - s.reference[d], A = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(u));
512
+ let z = A ? A[_] : 0;
513
+ (!z || !await (r.isElement == null ? void 0 : r.isElement(A))) && (z = l.floating[_] || s.floating[f]);
514
+ const E = P / 2 - T / 2, H = z / 2 - m[f] / 2 - 1, N = fe(h[g], H), M = fe(h[w], H), D = N, ne = z - m[f] - M, R = z / 2 - m[f] / 2 + E, W = He(D, R, ne), j = !a.arrow && V(i) != null && R != W && s.reference[f] / 2 - (R < D ? N : M) - m[f] / 2 < 0, X = j ? R < D ? R - D : R - ne : 0;
515
515
  return {
516
- [d]: h[d] + Y,
516
+ [d]: y[d] + X,
517
517
  data: {
518
518
  [d]: W,
519
- centerOffset: N - W - Y,
519
+ centerOffset: R - W - X,
520
520
  ...j && {
521
- alignmentOffset: Y
521
+ alignmentOffset: X
522
522
  }
523
523
  },
524
524
  reset: j
525
525
  };
526
526
  }
527
527
  });
528
- function mo(e, t, o) {
529
- return (e ? [...o.filter((i) => V(i) === e), ...o.filter((i) => V(i) !== e)] : o.filter((i) => U(i) === i)).filter((i) => e ? V(i) === e || (t ? $e(i) !== i : !1) : !0);
528
+ function vo(e, t, o) {
529
+ return (e ? [...o.filter((i) => V(i) === e), ...o.filter((i) => V(i) !== e)] : o.filter((i) => Y(i) === i)).filter((i) => e ? V(i) === e || (t ? Te(i) !== i : !1) : !0);
530
530
  }
531
- const go = function(e) {
531
+ const xo = function(e) {
532
532
  return e === void 0 && (e = {}), {
533
533
  name: "autoPlacement",
534
534
  options: e,
@@ -541,62 +541,62 @@ const go = function(e) {
541
541
  platform: a,
542
542
  elements: u
543
543
  } = t, {
544
- crossAxis: c = !1,
545
- alignment: p,
546
- allowedPlacements: h = Qe,
544
+ crossAxis: p = !1,
545
+ alignment: h,
546
+ allowedPlacements: y = Ze,
547
547
  autoAlignment: d = !0,
548
548
  ...f
549
- } = ie(e, t), m = p !== void 0 || h === Qe ? mo(p || null, d, h) : h, v = await Be(t, f), g = ((o = r.autoPlacement) == null ? void 0 : o.index) || 0, w = m[g];
549
+ } = le(e, t), m = h !== void 0 || y === Ze ? vo(h || null, d, y) : y, v = await Ae(t, f), g = ((o = r.autoPlacement) == null ? void 0 : o.index) || 0, w = m[g];
550
550
  if (w == null)
551
551
  return {};
552
- const b = gt(w, s, await (a.isRTL == null ? void 0 : a.isRTL(u.floating)));
552
+ const _ = wt(w, s, await (a.isRTL == null ? void 0 : a.isRTL(u.floating)));
553
553
  if (l !== w)
554
554
  return {
555
555
  reset: {
556
556
  placement: m[0]
557
557
  }
558
558
  };
559
- const $ = [v[U(w)], v[b[0]], v[b[1]]], _ = [...((n = r.autoPlacement) == null ? void 0 : n.overflows) || [], {
559
+ const P = [v[Y(w)], v[_[0]], v[_[1]]], T = [...((n = r.autoPlacement) == null ? void 0 : n.overflows) || [], {
560
560
  placement: w,
561
- overflows: $
562
- }], T = m[g + 1];
563
- if (T)
561
+ overflows: P
562
+ }], A = m[g + 1];
563
+ if (A)
564
564
  return {
565
565
  data: {
566
566
  index: g + 1,
567
- overflows: _
567
+ overflows: T
568
568
  },
569
569
  reset: {
570
- placement: T
570
+ placement: A
571
571
  }
572
572
  };
573
- const B = _.map((A) => {
574
- const H = V(A.placement);
575
- return [A.placement, H && c ? (
573
+ const z = T.map((N) => {
574
+ const M = V(N.placement);
575
+ return [N.placement, M && p ? (
576
576
  // Check along the mainAxis and main crossAxis side.
577
- A.overflows.slice(0, 2).reduce((z, ee) => z + ee, 0)
577
+ N.overflows.slice(0, 2).reduce((D, ne) => D + ne, 0)
578
578
  ) : (
579
579
  // Check only the mainAxis.
580
- A.overflows[0]
581
- ), A.overflows];
582
- }).sort((A, H) => A[1] - H[1]), E = ((i = B.filter((A) => A[2].slice(
580
+ N.overflows[0]
581
+ ), N.overflows];
582
+ }).sort((N, M) => N[1] - M[1]), H = ((i = z.filter((N) => N[2].slice(
583
583
  0,
584
584
  // Aligned placements should not check their opposite crossAxis
585
585
  // side.
586
- V(A[0]) ? 2 : 3
587
- ).every((H) => H <= 0))[0]) == null ? void 0 : i[0]) || B[0][0];
588
- return E !== l ? {
586
+ V(N[0]) ? 2 : 3
587
+ ).every((M) => M <= 0))[0]) == null ? void 0 : i[0]) || z[0][0];
588
+ return H !== l ? {
589
589
  data: {
590
590
  index: g + 1,
591
- overflows: _
591
+ overflows: T
592
592
  },
593
593
  reset: {
594
- placement: E
594
+ placement: H
595
595
  }
596
596
  } : {};
597
597
  }
598
598
  };
599
- }, wo = function(e) {
599
+ }, bo = function(e) {
600
600
  return e === void 0 && (e = {}), {
601
601
  name: "flip",
602
602
  options: e,
@@ -610,57 +610,57 @@ const go = function(e) {
610
610
  platform: a,
611
611
  elements: u
612
612
  } = t, {
613
- mainAxis: c = !0,
614
- crossAxis: p = !0,
615
- fallbackPlacements: h,
613
+ mainAxis: p = !0,
614
+ crossAxis: h = !0,
615
+ fallbackPlacements: y,
616
616
  fallbackStrategy: d = "bestFit",
617
617
  fallbackAxisSideDirection: f = "none",
618
618
  flipAlignment: m = !0,
619
619
  ...v
620
- } = ie(e, t);
620
+ } = le(e, t);
621
621
  if ((o = s.arrow) != null && o.alignmentOffset)
622
622
  return {};
623
- const g = U(i), w = U(l) === l, b = await (a.isRTL == null ? void 0 : a.isRTL(u.floating)), $ = h || (w || !m ? [Se(l)] : uo(l));
624
- !h && f !== "none" && $.push(...po(l, m, f, b));
625
- const _ = [l, ...$], T = await Be(t, v), B = [];
626
- let R = ((n = s.flip) == null ? void 0 : n.overflows) || [];
627
- if (c && B.push(T[g]), p) {
628
- const z = gt(i, r, b);
629
- B.push(T[z[0]], T[z[1]]);
623
+ const g = Y(i), w = Y(l) === l, _ = await (a.isRTL == null ? void 0 : a.isRTL(u.floating)), P = y || (w || !m ? [Be(l)] : ho(l));
624
+ !y && f !== "none" && P.push(...fo(l, m, f, _));
625
+ const T = [l, ...P], A = await Ae(t, v), z = [];
626
+ let E = ((n = s.flip) == null ? void 0 : n.overflows) || [];
627
+ if (p && z.push(A[g]), h) {
628
+ const D = wt(i, r, _);
629
+ z.push(A[D[0]], A[D[1]]);
630
630
  }
631
- if (R = [...R, {
631
+ if (E = [...E, {
632
632
  placement: i,
633
- overflows: B
634
- }], !B.every((z) => z <= 0)) {
635
- var E, A;
636
- const z = (((E = s.flip) == null ? void 0 : E.index) || 0) + 1, ee = _[z];
637
- if (ee)
633
+ overflows: z
634
+ }], !z.every((D) => D <= 0)) {
635
+ var H, N;
636
+ const D = (((H = s.flip) == null ? void 0 : H.index) || 0) + 1, ne = T[D];
637
+ if (ne)
638
638
  return {
639
639
  data: {
640
- index: z,
641
- overflows: R
640
+ index: D,
641
+ overflows: E
642
642
  },
643
643
  reset: {
644
- placement: ee
644
+ placement: ne
645
645
  }
646
646
  };
647
- let N = (A = R.filter((W) => W.overflows[0] <= 0).sort((W, j) => W.overflows[1] - j.overflows[1])[0]) == null ? void 0 : A.placement;
648
- if (!N)
647
+ let R = (N = E.filter((W) => W.overflows[0] <= 0).sort((W, j) => W.overflows[1] - j.overflows[1])[0]) == null ? void 0 : N.placement;
648
+ if (!R)
649
649
  switch (d) {
650
650
  case "bestFit": {
651
- var H;
652
- const W = (H = R.map((j) => [j.placement, j.overflows.filter((Y) => Y > 0).reduce((Y, Nt) => Y + Nt, 0)]).sort((j, Y) => j[1] - Y[1])[0]) == null ? void 0 : H[0];
653
- W && (N = W);
651
+ var M;
652
+ const W = (M = E.map((j) => [j.placement, j.overflows.filter((X) => X > 0).reduce((X, Rt) => X + Rt, 0)]).sort((j, X) => j[1] - X[1])[0]) == null ? void 0 : M[0];
653
+ W && (R = W);
654
654
  break;
655
655
  }
656
656
  case "initialPlacement":
657
- N = l;
657
+ R = l;
658
658
  break;
659
659
  }
660
- if (i !== N)
660
+ if (i !== R)
661
661
  return {
662
662
  reset: {
663
- placement: N
663
+ placement: R
664
664
  }
665
665
  };
666
666
  }
@@ -668,35 +668,35 @@ const go = function(e) {
668
668
  }
669
669
  };
670
670
  };
671
- async function vo(e, t) {
671
+ async function _o(e, t) {
672
672
  const {
673
673
  placement: o,
674
674
  platform: n,
675
675
  elements: i
676
- } = e, s = await (n.isRTL == null ? void 0 : n.isRTL(i.floating)), r = U(o), l = V(o), a = me(o) === "y", u = ["left", "top"].includes(r) ? -1 : 1, c = s && a ? -1 : 1, p = ie(t, e);
676
+ } = e, s = await (n.isRTL == null ? void 0 : n.isRTL(i.floating)), r = Y(o), l = V(o), a = xe(o) === "y", u = ["left", "top"].includes(r) ? -1 : 1, p = s && a ? -1 : 1, h = le(t, e);
677
677
  let {
678
- mainAxis: h,
678
+ mainAxis: y,
679
679
  crossAxis: d,
680
680
  alignmentAxis: f
681
- } = typeof p == "number" ? {
682
- mainAxis: p,
681
+ } = typeof h == "number" ? {
682
+ mainAxis: h,
683
683
  crossAxis: 0,
684
684
  alignmentAxis: null
685
685
  } : {
686
686
  mainAxis: 0,
687
687
  crossAxis: 0,
688
688
  alignmentAxis: null,
689
- ...p
689
+ ...h
690
690
  };
691
691
  return l && typeof f == "number" && (d = l === "end" ? f * -1 : f), a ? {
692
- x: d * c,
693
- y: h * u
692
+ x: d * p,
693
+ y: y * u
694
694
  } : {
695
- x: h * u,
696
- y: d * c
695
+ x: y * u,
696
+ y: d * p
697
697
  };
698
698
  }
699
- const xo = function(e) {
699
+ const $o = function(e) {
700
700
  return e === void 0 && (e = 0), {
701
701
  name: "offset",
702
702
  options: e,
@@ -707,7 +707,7 @@ const xo = function(e) {
707
707
  y: s,
708
708
  placement: r,
709
709
  middlewareData: l
710
- } = t, a = await vo(t, e);
710
+ } = t, a = await _o(t, e);
711
711
  return r === ((o = l.offset) == null ? void 0 : o.placement) && (n = l.arrow) != null && n.alignmentOffset ? {} : {
712
712
  x: i + a.x,
713
713
  y: s + a.y,
@@ -718,7 +718,7 @@ const xo = function(e) {
718
718
  };
719
719
  }
720
720
  };
721
- }, bo = function(e) {
721
+ }, So = function(e) {
722
722
  return e === void 0 && (e = {}), {
723
723
  name: "shift",
724
724
  options: e,
@@ -743,23 +743,23 @@ const xo = function(e) {
743
743
  }
744
744
  },
745
745
  ...a
746
- } = ie(e, t), u = {
746
+ } = le(e, t), u = {
747
747
  x: o,
748
748
  y: n
749
- }, c = await Be(t, a), p = me(U(i)), h = mt(p);
750
- let d = u[h], f = u[p];
749
+ }, p = await Ae(t, a), h = xe(Y(i)), y = gt(h);
750
+ let d = u[y], f = u[h];
751
751
  if (s) {
752
- const v = h === "y" ? "top" : "left", g = h === "y" ? "bottom" : "right", w = d + c[v], b = d - c[g];
753
- d = Ee(w, d, b);
752
+ const v = y === "y" ? "top" : "left", g = y === "y" ? "bottom" : "right", w = d + p[v], _ = d - p[g];
753
+ d = He(w, d, _);
754
754
  }
755
755
  if (r) {
756
- const v = p === "y" ? "top" : "left", g = p === "y" ? "bottom" : "right", w = f + c[v], b = f - c[g];
757
- f = Ee(w, f, b);
756
+ const v = h === "y" ? "top" : "left", g = h === "y" ? "bottom" : "right", w = f + p[v], _ = f - p[g];
757
+ f = He(w, f, _);
758
758
  }
759
759
  const m = l.fn({
760
760
  ...t,
761
- [h]: d,
762
- [p]: f
761
+ [y]: d,
762
+ [h]: f
763
763
  });
764
764
  return {
765
765
  ...m,
@@ -770,7 +770,7 @@ const xo = function(e) {
770
770
  };
771
771
  }
772
772
  };
773
- }, _o = function(e) {
773
+ }, To = function(e) {
774
774
  return e === void 0 && (e = {}), {
775
775
  name: "size",
776
776
  options: e,
@@ -784,32 +784,32 @@ const xo = function(e) {
784
784
  apply: r = () => {
785
785
  },
786
786
  ...l
787
- } = ie(e, t), a = await Be(t, l), u = U(o), c = V(o), p = me(o) === "y", {
788
- width: h,
787
+ } = le(e, t), a = await Ae(t, l), u = Y(o), p = V(o), h = xe(o) === "y", {
788
+ width: y,
789
789
  height: d
790
790
  } = n.floating;
791
791
  let f, m;
792
- u === "top" || u === "bottom" ? (f = u, m = c === (await (i.isRTL == null ? void 0 : i.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (m = u, f = c === "end" ? "top" : "bottom");
793
- const v = d - a[f], g = h - a[m], w = !t.middlewareData.shift;
794
- let b = v, $ = g;
795
- if (p) {
796
- const T = h - a.left - a.right;
797
- $ = c || w ? pe(g, T) : T;
792
+ u === "top" || u === "bottom" ? (f = u, m = p === (await (i.isRTL == null ? void 0 : i.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (m = u, f = p === "end" ? "top" : "bottom");
793
+ const v = d - a[f], g = y - a[m], w = !t.middlewareData.shift;
794
+ let _ = v, P = g;
795
+ if (h) {
796
+ const A = y - a.left - a.right;
797
+ P = p || w ? fe(g, A) : A;
798
798
  } else {
799
- const T = d - a.top - a.bottom;
800
- b = c || w ? pe(v, T) : T;
799
+ const A = d - a.top - a.bottom;
800
+ _ = p || w ? fe(v, A) : A;
801
801
  }
802
- if (w && !c) {
803
- const T = oe(a.left, 0), B = oe(a.right, 0), R = oe(a.top, 0), E = oe(a.bottom, 0);
804
- p ? $ = h - 2 * (T !== 0 || B !== 0 ? T + B : oe(a.left, a.right)) : b = d - 2 * (R !== 0 || E !== 0 ? R + E : oe(a.top, a.bottom));
802
+ if (w && !p) {
803
+ const A = se(a.left, 0), z = se(a.right, 0), E = se(a.top, 0), H = se(a.bottom, 0);
804
+ h ? P = y - 2 * (A !== 0 || z !== 0 ? A + z : se(a.left, a.right)) : _ = d - 2 * (E !== 0 || H !== 0 ? E + H : se(a.top, a.bottom));
805
805
  }
806
806
  await r({
807
807
  ...t,
808
- availableWidth: $,
809
- availableHeight: b
808
+ availableWidth: P,
809
+ availableHeight: _
810
810
  });
811
- const _ = await i.getDimensions(s.floating);
812
- return h !== _.width || d !== _.height ? {
811
+ const T = await i.getDimensions(s.floating);
812
+ return y !== T.width || d !== T.height ? {
813
813
  reset: {
814
814
  rects: !0
815
815
  }
@@ -821,204 +821,204 @@ function L(e) {
821
821
  var t;
822
822
  return ((t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
823
823
  }
824
- function q(e) {
824
+ function G(e) {
825
825
  return L(e).getComputedStyle(e);
826
826
  }
827
- const et = Math.min, ue = Math.max, Te = Math.round;
828
- function vt(e) {
829
- const t = q(e);
827
+ const tt = Math.min, ce = Math.max, Ce = Math.round;
828
+ function xt(e) {
829
+ const t = G(e);
830
830
  let o = parseFloat(t.width), n = parseFloat(t.height);
831
- const i = e.offsetWidth, s = e.offsetHeight, r = Te(o) !== i || Te(n) !== s;
831
+ const i = e.offsetWidth, s = e.offsetHeight, r = Ce(o) !== i || Ce(n) !== s;
832
832
  return r && (o = i, n = s), { width: o, height: n, fallback: r };
833
833
  }
834
- function Z(e) {
835
- return bt(e) ? (e.nodeName || "").toLowerCase() : "";
834
+ function oe(e) {
835
+ return _t(e) ? (e.nodeName || "").toLowerCase() : "";
836
836
  }
837
- let we;
838
- function xt() {
839
- if (we)
840
- return we;
837
+ let be;
838
+ function bt() {
839
+ if (be)
840
+ return be;
841
841
  const e = navigator.userAgentData;
842
- return e && Array.isArray(e.brands) ? (we = e.brands.map((t) => t.brand + "/" + t.version).join(" "), we) : navigator.userAgent;
842
+ return e && Array.isArray(e.brands) ? (be = e.brands.map((t) => t.brand + "/" + t.version).join(" "), be) : navigator.userAgent;
843
843
  }
844
- function G(e) {
844
+ function U(e) {
845
845
  return e instanceof L(e).HTMLElement;
846
846
  }
847
- function J(e) {
847
+ function ee(e) {
848
848
  return e instanceof L(e).Element;
849
849
  }
850
- function bt(e) {
850
+ function _t(e) {
851
851
  return e instanceof L(e).Node;
852
852
  }
853
- function tt(e) {
853
+ function ot(e) {
854
854
  return typeof ShadowRoot > "u" ? !1 : e instanceof L(e).ShadowRoot || e instanceof ShadowRoot;
855
855
  }
856
- function Ae(e) {
857
- const { overflow: t, overflowX: o, overflowY: n, display: i } = q(e);
856
+ function ke(e) {
857
+ const { overflow: t, overflowX: o, overflowY: n, display: i } = G(e);
858
858
  return /auto|scroll|overlay|hidden|clip/.test(t + n + o) && !["inline", "contents"].includes(i);
859
859
  }
860
- function $o(e) {
861
- return ["table", "td", "th"].includes(Z(e));
860
+ function Bo(e) {
861
+ return ["table", "td", "th"].includes(oe(e));
862
862
  }
863
- function He(e) {
864
- const t = /firefox/i.test(xt()), o = q(e), n = o.backdropFilter || o.WebkitBackdropFilter;
863
+ function Me(e) {
864
+ const t = /firefox/i.test(bt()), o = G(e), n = o.backdropFilter || o.WebkitBackdropFilter;
865
865
  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) => {
866
866
  const s = o.contain;
867
867
  return s != null && s.includes(i);
868
868
  });
869
869
  }
870
- function _t() {
871
- return !/^((?!chrome|android).)*safari/i.test(xt());
870
+ function $t() {
871
+ return !/^((?!chrome|android).)*safari/i.test(bt());
872
872
  }
873
- function Ge(e) {
874
- return ["html", "body", "#document"].includes(Z(e));
875
- }
876
- function $t(e) {
877
- return J(e) ? e : e.contextElement;
878
- }
879
- const St = { x: 1, y: 1 };
880
- function se(e) {
881
- const t = $t(e);
882
- if (!G(t))
883
- return St;
884
- const o = t.getBoundingClientRect(), { width: n, height: i, fallback: s } = vt(t);
885
- let r = (s ? Te(o.width) : o.width) / n, l = (s ? Te(o.height) : o.height) / i;
873
+ function Ue(e) {
874
+ return ["html", "body", "#document"].includes(oe(e));
875
+ }
876
+ function St(e) {
877
+ return ee(e) ? e : e.contextElement;
878
+ }
879
+ const Tt = { x: 1, y: 1 };
880
+ function ae(e) {
881
+ const t = St(e);
882
+ if (!U(t))
883
+ return Tt;
884
+ const o = t.getBoundingClientRect(), { width: n, height: i, fallback: s } = xt(t);
885
+ let r = (s ? Ce(o.width) : o.width) / n, l = (s ? Ce(o.height) : o.height) / i;
886
886
  return r && Number.isFinite(r) || (r = 1), l && Number.isFinite(l) || (l = 1), { x: r, y: l };
887
887
  }
888
- function he(e, t, o, n) {
888
+ function me(e, t, o, n) {
889
889
  var i, s;
890
890
  t === void 0 && (t = !1), o === void 0 && (o = !1);
891
- const r = e.getBoundingClientRect(), l = $t(e);
892
- let a = St;
893
- t && (n ? J(n) && (a = se(n)) : a = se(e));
894
- const u = l ? L(l) : window, c = !_t() && o;
895
- let p = (r.left + (c && ((i = u.visualViewport) == null ? void 0 : i.offsetLeft) || 0)) / a.x, h = (r.top + (c && ((s = u.visualViewport) == null ? void 0 : s.offsetTop) || 0)) / a.y, d = r.width / a.x, f = r.height / a.y;
891
+ const r = e.getBoundingClientRect(), l = St(e);
892
+ let a = Tt;
893
+ t && (n ? ee(n) && (a = ae(n)) : a = ae(e));
894
+ const u = l ? L(l) : window, p = !$t() && o;
895
+ let h = (r.left + (p && ((i = u.visualViewport) == null ? void 0 : i.offsetLeft) || 0)) / a.x, y = (r.top + (p && ((s = u.visualViewport) == null ? void 0 : s.offsetTop) || 0)) / a.y, d = r.width / a.x, f = r.height / a.y;
896
896
  if (l) {
897
- const m = L(l), v = n && J(n) ? L(n) : n;
897
+ const m = L(l), v = n && ee(n) ? L(n) : n;
898
898
  let g = m.frameElement;
899
899
  for (; g && n && v !== m; ) {
900
- const w = se(g), b = g.getBoundingClientRect(), $ = getComputedStyle(g);
901
- b.x += (g.clientLeft + parseFloat($.paddingLeft)) * w.x, b.y += (g.clientTop + parseFloat($.paddingTop)) * w.y, p *= w.x, h *= w.y, d *= w.x, f *= w.y, p += b.x, h += b.y, g = L(g).frameElement;
900
+ const w = ae(g), _ = g.getBoundingClientRect(), P = getComputedStyle(g);
901
+ _.x += (g.clientLeft + parseFloat(P.paddingLeft)) * w.x, _.y += (g.clientTop + parseFloat(P.paddingTop)) * w.y, h *= w.x, y *= w.y, d *= w.x, f *= w.y, h += _.x, y += _.y, g = L(g).frameElement;
902
902
  }
903
903
  }
904
- return { width: d, height: f, top: h, right: p + d, bottom: h + f, left: p, x: p, y: h };
904
+ return { width: d, height: f, top: y, right: h + d, bottom: y + f, left: h, x: h, y };
905
905
  }
906
- function Q(e) {
907
- return ((bt(e) ? e.ownerDocument : e.document) || window.document).documentElement;
906
+ function te(e) {
907
+ return ((_t(e) ? e.ownerDocument : e.document) || window.document).documentElement;
908
908
  }
909
- function ke(e) {
910
- return J(e) ? { scrollLeft: e.scrollLeft, scrollTop: e.scrollTop } : { scrollLeft: e.pageXOffset, scrollTop: e.pageYOffset };
909
+ function Oe(e) {
910
+ return ee(e) ? { scrollLeft: e.scrollLeft, scrollTop: e.scrollTop } : { scrollLeft: e.pageXOffset, scrollTop: e.pageYOffset };
911
911
  }
912
- function Tt(e) {
913
- return he(Q(e)).left + ke(e).scrollLeft;
912
+ function Bt(e) {
913
+ return me(te(e)).left + Oe(e).scrollLeft;
914
914
  }
915
- function fe(e) {
916
- if (Z(e) === "html")
915
+ function ge(e) {
916
+ if (oe(e) === "html")
917
917
  return e;
918
- const t = e.assignedSlot || e.parentNode || tt(e) && e.host || Q(e);
919
- return tt(t) ? t.host : t;
918
+ const t = e.assignedSlot || e.parentNode || ot(e) && e.host || te(e);
919
+ return ot(t) ? t.host : t;
920
920
  }
921
- function Pt(e) {
922
- const t = fe(e);
923
- return Ge(t) ? t.ownerDocument.body : G(t) && Ae(t) ? t : Pt(t);
921
+ function Ct(e) {
922
+ const t = ge(e);
923
+ return Ue(t) ? t.ownerDocument.body : U(t) && ke(t) ? t : Ct(t);
924
924
  }
925
925
  function Pe(e, t) {
926
926
  var o;
927
927
  t === void 0 && (t = []);
928
- const n = Pt(e), i = n === ((o = e.ownerDocument) == null ? void 0 : o.body), s = L(n);
929
- return i ? t.concat(s, s.visualViewport || [], Ae(n) ? n : []) : t.concat(n, Pe(n));
928
+ const n = Ct(e), i = n === ((o = e.ownerDocument) == null ? void 0 : o.body), s = L(n);
929
+ return i ? t.concat(s, s.visualViewport || [], ke(n) ? n : []) : t.concat(n, Pe(n));
930
930
  }
931
- function ot(e, t, o) {
932
- return t === "viewport" ? ae(function(n, i) {
933
- const s = L(n), r = Q(n), l = s.visualViewport;
934
- let a = r.clientWidth, u = r.clientHeight, c = 0, p = 0;
931
+ function nt(e, t, o) {
932
+ return t === "viewport" ? de(function(n, i) {
933
+ const s = L(n), r = te(n), l = s.visualViewport;
934
+ let a = r.clientWidth, u = r.clientHeight, p = 0, h = 0;
935
935
  if (l) {
936
936
  a = l.width, u = l.height;
937
- const h = _t();
938
- (h || !h && i === "fixed") && (c = l.offsetLeft, p = l.offsetTop);
937
+ const y = $t();
938
+ (y || !y && i === "fixed") && (p = l.offsetLeft, h = l.offsetTop);
939
939
  }
940
- return { width: a, height: u, x: c, y: p };
941
- }(e, o)) : J(t) ? ae(function(n, i) {
942
- const s = he(n, !0, i === "fixed"), r = s.top + n.clientTop, l = s.left + n.clientLeft, a = G(n) ? se(n) : { x: 1, y: 1 };
940
+ return { width: a, height: u, x: p, y: h };
941
+ }(e, o)) : ee(t) ? de(function(n, i) {
942
+ const s = me(n, !0, i === "fixed"), r = s.top + n.clientTop, l = s.left + n.clientLeft, a = U(n) ? ae(n) : { x: 1, y: 1 };
943
943
  return { width: n.clientWidth * a.x, height: n.clientHeight * a.y, x: l * a.x, y: r * a.y };
944
- }(t, o)) : ae(function(n) {
945
- const i = Q(n), s = ke(n), r = n.ownerDocument.body, l = ue(i.scrollWidth, i.clientWidth, r.scrollWidth, r.clientWidth), a = ue(i.scrollHeight, i.clientHeight, r.scrollHeight, r.clientHeight);
946
- let u = -s.scrollLeft + Tt(n);
947
- const c = -s.scrollTop;
948
- return q(r).direction === "rtl" && (u += ue(i.clientWidth, r.clientWidth) - l), { width: l, height: a, x: u, y: c };
949
- }(Q(e)));
950
- }
951
- function nt(e) {
952
- return G(e) && q(e).position !== "fixed" ? e.offsetParent : null;
944
+ }(t, o)) : de(function(n) {
945
+ const i = te(n), s = Oe(n), r = n.ownerDocument.body, l = ce(i.scrollWidth, i.clientWidth, r.scrollWidth, r.clientWidth), a = ce(i.scrollHeight, i.clientHeight, r.scrollHeight, r.clientHeight);
946
+ let u = -s.scrollLeft + Bt(n);
947
+ const p = -s.scrollTop;
948
+ return G(r).direction === "rtl" && (u += ce(i.clientWidth, r.clientWidth) - l), { width: l, height: a, x: u, y: p };
949
+ }(te(e)));
953
950
  }
954
951
  function it(e) {
952
+ return U(e) && G(e).position !== "fixed" ? e.offsetParent : null;
953
+ }
954
+ function st(e) {
955
955
  const t = L(e);
956
- let o = nt(e);
957
- for (; o && $o(o) && q(o).position === "static"; )
958
- o = nt(o);
959
- return o && (Z(o) === "html" || Z(o) === "body" && q(o).position === "static" && !He(o)) ? t : o || function(n) {
960
- let i = fe(n);
961
- for (; G(i) && !Ge(i); ) {
962
- if (He(i))
956
+ let o = it(e);
957
+ for (; o && Bo(o) && G(o).position === "static"; )
958
+ o = it(o);
959
+ return o && (oe(o) === "html" || oe(o) === "body" && G(o).position === "static" && !Me(o)) ? t : o || function(n) {
960
+ let i = ge(n);
961
+ for (; U(i) && !Ue(i); ) {
962
+ if (Me(i))
963
963
  return i;
964
- i = fe(i);
964
+ i = ge(i);
965
965
  }
966
966
  return null;
967
967
  }(e) || t;
968
968
  }
969
- function So(e, t, o) {
970
- const n = G(t), i = Q(t), s = he(e, !0, o === "fixed", t);
969
+ function Co(e, t, o) {
970
+ const n = U(t), i = te(t), s = me(e, !0, o === "fixed", t);
971
971
  let r = { scrollLeft: 0, scrollTop: 0 };
972
972
  const l = { x: 0, y: 0 };
973
973
  if (n || !n && o !== "fixed")
974
- if ((Z(t) !== "body" || Ae(i)) && (r = ke(t)), G(t)) {
975
- const a = he(t, !0);
974
+ if ((oe(t) !== "body" || ke(i)) && (r = Oe(t)), U(t)) {
975
+ const a = me(t, !0);
976
976
  l.x = a.x + t.clientLeft, l.y = a.y + t.clientTop;
977
977
  } else
978
- i && (l.x = Tt(i));
978
+ i && (l.x = Bt(i));
979
979
  return { x: s.left + r.scrollLeft - l.x, y: s.top + r.scrollTop - l.y, width: s.width, height: s.height };
980
980
  }
981
- const To = { getClippingRect: function(e) {
981
+ const Po = { getClippingRect: function(e) {
982
982
  let { element: t, boundary: o, rootBoundary: n, strategy: i } = e;
983
- const s = o === "clippingAncestors" ? function(u, c) {
984
- const p = c.get(u);
985
- if (p)
986
- return p;
987
- let h = Pe(u).filter((v) => J(v) && Z(v) !== "body"), d = null;
988
- const f = q(u).position === "fixed";
989
- let m = f ? fe(u) : u;
990
- for (; J(m) && !Ge(m); ) {
991
- const v = q(m), g = He(m);
992
- (f ? g || d : g || v.position !== "static" || !d || !["absolute", "fixed"].includes(d.position)) ? d = v : h = h.filter((w) => w !== m), m = fe(m);
983
+ const s = o === "clippingAncestors" ? function(u, p) {
984
+ const h = p.get(u);
985
+ if (h)
986
+ return h;
987
+ let y = Pe(u).filter((v) => ee(v) && oe(v) !== "body"), d = null;
988
+ const f = G(u).position === "fixed";
989
+ let m = f ? ge(u) : u;
990
+ for (; ee(m) && !Ue(m); ) {
991
+ const v = G(m), g = Me(m);
992
+ (f ? g || d : g || v.position !== "static" || !d || !["absolute", "fixed"].includes(d.position)) ? d = v : y = y.filter((w) => w !== m), m = ge(m);
993
993
  }
994
- return c.set(u, h), h;
995
- }(t, this._c) : [].concat(o), r = [...s, n], l = r[0], a = r.reduce((u, c) => {
996
- const p = ot(t, c, i);
997
- return u.top = ue(p.top, u.top), u.right = et(p.right, u.right), u.bottom = et(p.bottom, u.bottom), u.left = ue(p.left, u.left), u;
998
- }, ot(t, l, i));
994
+ return p.set(u, y), y;
995
+ }(t, this._c) : [].concat(o), r = [...s, n], l = r[0], a = r.reduce((u, p) => {
996
+ const h = nt(t, p, i);
997
+ return u.top = ce(h.top, u.top), u.right = tt(h.right, u.right), u.bottom = tt(h.bottom, u.bottom), u.left = ce(h.left, u.left), u;
998
+ }, nt(t, l, i));
999
999
  return { width: a.right - a.left, height: a.bottom - a.top, x: a.left, y: a.top };
1000
1000
  }, convertOffsetParentRelativeRectToViewportRelativeRect: function(e) {
1001
1001
  let { rect: t, offsetParent: o, strategy: n } = e;
1002
- const i = G(o), s = Q(o);
1002
+ const i = U(o), s = te(o);
1003
1003
  if (o === s)
1004
1004
  return t;
1005
1005
  let r = { scrollLeft: 0, scrollTop: 0 }, l = { x: 1, y: 1 };
1006
1006
  const a = { x: 0, y: 0 };
1007
- if ((i || !i && n !== "fixed") && ((Z(o) !== "body" || Ae(s)) && (r = ke(o)), G(o))) {
1008
- const u = he(o);
1009
- l = se(o), a.x = u.x + o.clientLeft, a.y = u.y + o.clientTop;
1007
+ if ((i || !i && n !== "fixed") && ((oe(o) !== "body" || ke(s)) && (r = Oe(o)), U(o))) {
1008
+ const u = me(o);
1009
+ l = ae(o), a.x = u.x + o.clientLeft, a.y = u.y + o.clientTop;
1010
1010
  }
1011
1011
  return { width: t.width * l.x, height: t.height * l.y, x: t.x * l.x - r.scrollLeft * l.x + a.x, y: t.y * l.y - r.scrollTop * l.y + a.y };
1012
- }, isElement: J, getDimensions: function(e) {
1013
- return G(e) ? vt(e) : e.getBoundingClientRect();
1014
- }, getOffsetParent: it, getDocumentElement: Q, getScale: se, async getElementRects(e) {
1012
+ }, isElement: ee, getDimensions: function(e) {
1013
+ return U(e) ? xt(e) : e.getBoundingClientRect();
1014
+ }, getOffsetParent: st, getDocumentElement: te, getScale: ae, async getElementRects(e) {
1015
1015
  let { reference: t, floating: o, strategy: n } = e;
1016
- const i = this.getOffsetParent || it, s = this.getDimensions;
1017
- return { reference: So(t, await i(o), n), floating: { x: 0, y: 0, ...await s(o) } };
1018
- }, getClientRects: (e) => Array.from(e.getClientRects()), isRTL: (e) => q(e).direction === "rtl" }, Po = (e, t, o) => {
1019
- const n = /* @__PURE__ */ new Map(), i = { platform: To, ...o }, s = { ...i.platform, _c: n };
1020
- return fo(e, t, { ...i, platform: s });
1021
- }, ne = {
1016
+ const i = this.getOffsetParent || st, s = this.getDimensions;
1017
+ return { reference: Co(t, await i(o), n), floating: { x: 0, y: 0, ...await s(o) } };
1018
+ }, getClientRects: (e) => Array.from(e.getClientRects()), isRTL: (e) => G(e).direction === "rtl" }, Ao = (e, t, o) => {
1019
+ const n = /* @__PURE__ */ new Map(), i = { platform: Po, ...o }, s = { ...i.platform, _c: n };
1020
+ return go(e, t, { ...i, platform: s });
1021
+ }, re = {
1022
1022
  // Disable popper components
1023
1023
  disabled: !1,
1024
1024
  // Default position offset along main axis (px)
@@ -1093,96 +1093,96 @@ const To = { getClippingRect: function(e) {
1093
1093
  }
1094
1094
  }
1095
1095
  };
1096
- function Me(e, t) {
1097
- let o = ne.themes[e] || {}, n;
1096
+ function Ie(e, t) {
1097
+ let o = re.themes[e] || {}, n;
1098
1098
  do
1099
- n = o[t], typeof n > "u" ? o.$extend ? o = ne.themes[o.$extend] || {} : (o = null, n = ne[t]) : o = null;
1099
+ n = o[t], typeof n > "u" ? o.$extend ? o = re.themes[o.$extend] || {} : (o = null, n = re[t]) : o = null;
1100
1100
  while (o);
1101
1101
  return n;
1102
1102
  }
1103
- function Co(e) {
1103
+ function ko(e) {
1104
1104
  const t = [e];
1105
- let o = ne.themes[e] || {};
1105
+ let o = re.themes[e] || {};
1106
1106
  do
1107
- o.$extend && !o.$resetCss ? (t.push(o.$extend), o = ne.themes[o.$extend] || {}) : o = null;
1107
+ o.$extend && !o.$resetCss ? (t.push(o.$extend), o = re.themes[o.$extend] || {}) : o = null;
1108
1108
  while (o);
1109
1109
  return t.map((n) => `v-popper--theme-${n}`);
1110
1110
  }
1111
- function st(e) {
1111
+ function rt(e) {
1112
1112
  const t = [e];
1113
- let o = ne.themes[e] || {};
1113
+ let o = re.themes[e] || {};
1114
1114
  do
1115
- o.$extend ? (t.push(o.$extend), o = ne.themes[o.$extend] || {}) : o = null;
1115
+ o.$extend ? (t.push(o.$extend), o = re.themes[o.$extend] || {}) : o = null;
1116
1116
  while (o);
1117
1117
  return t;
1118
1118
  }
1119
- let re = !1;
1119
+ let ue = !1;
1120
1120
  if (typeof window < "u") {
1121
- re = !1;
1121
+ ue = !1;
1122
1122
  try {
1123
1123
  const e = Object.defineProperty({}, "passive", {
1124
1124
  get() {
1125
- re = !0;
1125
+ ue = !0;
1126
1126
  }
1127
1127
  });
1128
1128
  window.addEventListener("test", null, e);
1129
1129
  } catch {
1130
1130
  }
1131
1131
  }
1132
- let Ct = !1;
1133
- typeof window < "u" && typeof navigator < "u" && (Ct = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream);
1134
- const Bo = ["auto", "top", "bottom", "left", "right"].reduce((e, t) => e.concat([
1132
+ let Pt = !1;
1133
+ typeof window < "u" && typeof navigator < "u" && (Pt = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream);
1134
+ const Oo = ["auto", "top", "bottom", "left", "right"].reduce((e, t) => e.concat([
1135
1135
  t,
1136
1136
  `${t}-start`,
1137
1137
  `${t}-end`
1138
- ]), []), rt = {
1138
+ ]), []), lt = {
1139
1139
  hover: "mouseenter",
1140
1140
  focus: "focus",
1141
1141
  click: "click",
1142
1142
  touch: "touchstart",
1143
1143
  pointer: "pointerdown"
1144
- }, lt = {
1144
+ }, at = {
1145
1145
  hover: "mouseleave",
1146
1146
  focus: "blur",
1147
1147
  click: "click",
1148
1148
  touch: "touchend",
1149
1149
  pointer: "pointerup"
1150
1150
  };
1151
- function at(e, t) {
1151
+ function ut(e, t) {
1152
1152
  const o = e.indexOf(t);
1153
1153
  o !== -1 && e.splice(o, 1);
1154
1154
  }
1155
- function Ne() {
1155
+ function De() {
1156
1156
  return new Promise((e) => requestAnimationFrame(() => {
1157
1157
  requestAnimationFrame(e);
1158
1158
  }));
1159
1159
  }
1160
- const I = [];
1161
- let te = null;
1162
- const ut = {};
1163
- function dt(e) {
1164
- let t = ut[e];
1165
- return t || (t = ut[e] = []), t;
1160
+ const F = [];
1161
+ let ie = null;
1162
+ const dt = {};
1163
+ function ct(e) {
1164
+ let t = dt[e];
1165
+ return t || (t = dt[e] = []), t;
1166
1166
  }
1167
- let Ie = function() {
1167
+ let Fe = function() {
1168
1168
  };
1169
- typeof window < "u" && (Ie = window.Element);
1169
+ typeof window < "u" && (Fe = window.Element);
1170
1170
  function x(e) {
1171
1171
  return function(t) {
1172
- return Me(t.theme, e);
1172
+ return Ie(t.theme, e);
1173
1173
  };
1174
1174
  }
1175
- const De = "__floating-vue__popper", Bt = () => O({
1175
+ const Re = "__floating-vue__popper", At = () => O({
1176
1176
  name: "VPopper",
1177
1177
  provide() {
1178
1178
  return {
1179
- [De]: {
1179
+ [Re]: {
1180
1180
  parentPopper: this
1181
1181
  }
1182
1182
  };
1183
1183
  },
1184
1184
  inject: {
1185
- [De]: { default: null }
1185
+ [Re]: { default: null }
1186
1186
  },
1187
1187
  props: {
1188
1188
  theme: {
@@ -1224,7 +1224,7 @@ const De = "__floating-vue__popper", Bt = () => O({
1224
1224
  placement: {
1225
1225
  type: String,
1226
1226
  default: x("placement"),
1227
- validator: (e) => Bo.includes(e)
1227
+ validator: (e) => Oo.includes(e)
1228
1228
  },
1229
1229
  delay: {
1230
1230
  type: [String, Number, Object],
@@ -1263,11 +1263,11 @@ const De = "__floating-vue__popper", Bt = () => O({
1263
1263
  default: x("popperHideTriggers")
1264
1264
  },
1265
1265
  container: {
1266
- type: [String, Object, Ie, Boolean],
1266
+ type: [String, Object, Fe, Boolean],
1267
1267
  default: x("container")
1268
1268
  },
1269
1269
  boundary: {
1270
- type: [String, Ie],
1270
+ type: [String, Fe],
1271
1271
  default: x("boundary")
1272
1272
  },
1273
1273
  strategy: {
@@ -1425,7 +1425,7 @@ const De = "__floating-vue__popper", Bt = () => O({
1425
1425
  },
1426
1426
  parentPopper() {
1427
1427
  var e;
1428
- return (e = this[De]) == null ? void 0 : e.parentPopper;
1428
+ return (e = this[Re]) == null ? void 0 : e.parentPopper;
1429
1429
  },
1430
1430
  hasPopperShowTriggerHover() {
1431
1431
  var e, t;
@@ -1513,21 +1513,21 @@ const De = "__floating-vue__popper", Bt = () => O({
1513
1513
  strategy: this.strategy,
1514
1514
  middleware: []
1515
1515
  };
1516
- (this.distance || this.skidding) && e.middleware.push(xo({
1516
+ (this.distance || this.skidding) && e.middleware.push($o({
1517
1517
  mainAxis: this.distance,
1518
1518
  crossAxis: this.skidding
1519
1519
  }));
1520
1520
  const t = this.placement.startsWith("auto");
1521
- if (t ? e.middleware.push(go({
1521
+ if (t ? e.middleware.push(xo({
1522
1522
  alignment: this.placement.split("-")[1] ?? ""
1523
- })) : e.placement = this.placement, this.preventOverflow && (this.shift && e.middleware.push(bo({
1523
+ })) : e.placement = this.placement, this.preventOverflow && (this.shift && e.middleware.push(So({
1524
1524
  padding: this.overflowPadding,
1525
1525
  boundary: this.boundary,
1526
1526
  crossAxis: this.shiftCrossAxis
1527
- })), !t && this.flip && e.middleware.push(wo({
1527
+ })), !t && this.flip && e.middleware.push(bo({
1528
1528
  padding: this.overflowPadding,
1529
1529
  boundary: this.boundary
1530
- }))), e.middleware.push(yo({
1530
+ }))), e.middleware.push(wo({
1531
1531
  element: this.$_arrowNode,
1532
1532
  padding: this.arrowPadding
1533
1533
  })), this.arrowOverflow && e.middleware.push({
@@ -1561,14 +1561,14 @@ const De = "__floating-vue__popper", Bt = () => O({
1561
1561
  }
1562
1562
  });
1563
1563
  }
1564
- (this.autoMaxSize || this.autoBoundaryMaxSize) && (this.$_innerNode.style.maxWidth = null, this.$_innerNode.style.maxHeight = null, e.middleware.push(_o({
1564
+ (this.autoMaxSize || this.autoBoundaryMaxSize) && (this.$_innerNode.style.maxWidth = null, this.$_innerNode.style.maxHeight = null, e.middleware.push(To({
1565
1565
  boundary: this.boundary,
1566
1566
  padding: this.overflowPadding,
1567
1567
  apply: ({ availableWidth: n, availableHeight: i }) => {
1568
1568
  this.$_innerNode.style.maxWidth = n != null ? `${n}px` : null, this.$_innerNode.style.maxHeight = i != null ? `${i}px` : null;
1569
1569
  }
1570
1570
  })));
1571
- const o = await Po(this.$_referenceNode, this.$_popperNode, e);
1571
+ const o = await Ao(this.$_referenceNode, this.$_popperNode, e);
1572
1572
  Object.assign(this.result, {
1573
1573
  x: o.x,
1574
1574
  y: o.y,
@@ -1581,8 +1581,8 @@ const De = "__floating-vue__popper", Bt = () => O({
1581
1581
  });
1582
1582
  },
1583
1583
  $_scheduleShow(e = null, t = !1) {
1584
- if (this.$_updateParentShownChildren(!0), this.$_hideInProgress = !1, clearTimeout(this.$_scheduleTimer), te && this.instantMove && te.instantMove && te !== this.parentPopper) {
1585
- te.$_applyHide(!0), this.$_applyShow(!0);
1584
+ if (this.$_updateParentShownChildren(!0), this.$_hideInProgress = !1, clearTimeout(this.$_scheduleTimer), ie && this.instantMove && ie.instantMove && ie !== this.parentPopper) {
1585
+ ie.$_applyHide(!0), this.$_applyShow(!0);
1586
1586
  return;
1587
1587
  }
1588
1588
  t ? this.$_applyShow() : this.$_scheduleTimer = setTimeout(this.$_applyShow.bind(this), this.$_computeDelay("show"));
@@ -1592,14 +1592,14 @@ const De = "__floating-vue__popper", Bt = () => O({
1592
1592
  this.$_pendingHide = !0;
1593
1593
  return;
1594
1594
  }
1595
- 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"));
1595
+ this.$_updateParentShownChildren(!1), this.$_hideInProgress = !0, clearTimeout(this.$_scheduleTimer), this.isShown && (ie = this), t ? this.$_applyHide() : this.$_scheduleTimer = setTimeout(this.$_applyHide.bind(this), this.$_computeDelay("hide"));
1596
1596
  },
1597
1597
  $_computeDelay(e) {
1598
1598
  const t = this.delay;
1599
1599
  return parseInt(t && t[e] || t || 0);
1600
1600
  },
1601
1601
  async $_applyShow(e = !1) {
1602
- clearTimeout(this.$_disposeTimer), clearTimeout(this.$_scheduleTimer), this.skipTransition = e, !this.isShown && (this.$_ensureTeleport(), await Ne(), await this.$_computePosition(), await this.$_applyShowEffect(), this.positioningDisabled || this.$_registerEventListeners([
1602
+ clearTimeout(this.$_disposeTimer), clearTimeout(this.$_scheduleTimer), this.skipTransition = e, !this.isShown && (this.$_ensureTeleport(), await De(), await this.$_computePosition(), await this.$_applyShowEffect(), this.positioningDisabled || this.$_registerEventListeners([
1603
1603
  ...Pe(this.$_referenceNode),
1604
1604
  ...Pe(this.$_popperNode)
1605
1605
  ], "scroll", () => {
@@ -1620,13 +1620,13 @@ const De = "__floating-vue__popper", Bt = () => O({
1620
1620
  const e = this.showGroup;
1621
1621
  if (e) {
1622
1622
  let t;
1623
- for (let o = 0; o < I.length; o++)
1624
- t = I[o], t.showGroup !== e && (t.hide(), t.$emit("close-group"));
1623
+ for (let o = 0; o < F.length; o++)
1624
+ t = F[o], t.showGroup !== e && (t.hide(), t.$emit("close-group"));
1625
1625
  }
1626
- I.push(this), document.body.classList.add("v-popper--some-open");
1627
- for (const t of st(this.theme))
1628
- dt(t).push(this), document.body.classList.add(`v-popper--some-open--${t}`);
1629
- this.$emit("apply-show"), this.classes.showFrom = !0, this.classes.showTo = !1, this.classes.hideFrom = !1, this.classes.hideTo = !1, await Ne(), this.classes.showFrom = !1, this.classes.showTo = !0, this.noAutoFocus || this.$_popperNode.focus();
1626
+ F.push(this), document.body.classList.add("v-popper--some-open");
1627
+ for (const t of rt(this.theme))
1628
+ ct(t).push(this), document.body.classList.add(`v-popper--some-open--${t}`);
1629
+ this.$emit("apply-show"), this.classes.showFrom = !0, this.classes.showTo = !1, this.classes.hideFrom = !1, this.classes.hideTo = !1, await De(), this.classes.showFrom = !1, this.classes.showTo = !0, this.noAutoFocus || this.$_popperNode.focus();
1630
1630
  },
1631
1631
  async $_applyHide(e = !1) {
1632
1632
  if (this.shownChildren.size > 0) {
@@ -1635,19 +1635,19 @@ const De = "__floating-vue__popper", Bt = () => O({
1635
1635
  }
1636
1636
  if (clearTimeout(this.$_scheduleTimer), !this.isShown)
1637
1637
  return;
1638
- this.skipTransition = e, at(I, this), I.length === 0 && document.body.classList.remove("v-popper--some-open");
1639
- for (const o of st(this.theme)) {
1640
- const n = dt(o);
1641
- at(n, this), n.length === 0 && document.body.classList.remove(`v-popper--some-open--${o}`);
1638
+ this.skipTransition = e, ut(F, this), F.length === 0 && document.body.classList.remove("v-popper--some-open");
1639
+ for (const o of rt(this.theme)) {
1640
+ const n = ct(o);
1641
+ ut(n, this), n.length === 0 && document.body.classList.remove(`v-popper--some-open--${o}`);
1642
1642
  }
1643
- te === this && (te = null), this.isShown = !1, this.$_applyAttrsToTarget({
1643
+ ie === this && (ie = null), this.isShown = !1, this.$_applyAttrsToTarget({
1644
1644
  "aria-describedby": void 0,
1645
1645
  "data-popper-shown": void 0
1646
1646
  }), clearTimeout(this.$_disposeTimer);
1647
1647
  const t = this.disposeTimeout;
1648
1648
  t !== null && (this.$_disposeTimer = setTimeout(() => {
1649
1649
  this.$_popperNode && (this.$_detachPopperNode(), this.isMounted = !1);
1650
- }, 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 Ne(), this.classes.hideFrom = !1, this.classes.hideTo = !0;
1650
+ }, 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 De(), this.classes.hideFrom = !1, this.classes.hideTo = !0;
1651
1651
  },
1652
1652
  $_autoShowHide() {
1653
1653
  this.shown ? this.show() : this.hide();
@@ -1664,14 +1664,14 @@ const De = "__floating-vue__popper", Bt = () => O({
1664
1664
  const e = (o) => {
1665
1665
  this.isShown && !this.$_hideInProgress || (o.usedByTooltip = !0, !this.$_preventShow && this.show({ event: o }));
1666
1666
  };
1667
- this.$_registerTriggerListeners(this.$_targetNodes, rt, this.triggers, this.showTriggers, e), this.$_registerTriggerListeners([this.$_popperNode], rt, this.popperTriggers, this.popperShowTriggers, e);
1667
+ this.$_registerTriggerListeners(this.$_targetNodes, lt, this.triggers, this.showTriggers, e), this.$_registerTriggerListeners([this.$_popperNode], lt, this.popperTriggers, this.popperShowTriggers, e);
1668
1668
  const t = (o) => {
1669
1669
  o.usedByTooltip || this.hide({ event: o });
1670
1670
  };
1671
- this.$_registerTriggerListeners(this.$_targetNodes, lt, this.triggers, this.hideTriggers, t), this.$_registerTriggerListeners([this.$_popperNode], lt, this.popperTriggers, this.popperHideTriggers, t);
1671
+ this.$_registerTriggerListeners(this.$_targetNodes, at, this.triggers, this.hideTriggers, t), this.$_registerTriggerListeners([this.$_popperNode], at, this.popperTriggers, this.popperHideTriggers, t);
1672
1672
  },
1673
1673
  $_registerEventListeners(e, t, o) {
1674
- this.$_events.push({ targetNodes: e, eventType: t, handler: o }), e.forEach((n) => n.addEventListener(t, o, re ? {
1674
+ this.$_events.push({ targetNodes: e, eventType: t, handler: o }), e.forEach((n) => n.addEventListener(t, o, ue ? {
1675
1675
  passive: !0
1676
1676
  } : void 0));
1677
1677
  },
@@ -1720,12 +1720,12 @@ const De = "__floating-vue__popper", Bt = () => O({
1720
1720
  },
1721
1721
  $_isAimingPopper() {
1722
1722
  const e = this.$_referenceNode.getBoundingClientRect();
1723
- if (de >= e.left && de <= e.right && ce >= e.top && ce <= e.bottom) {
1724
- const t = this.$_popperNode.getBoundingClientRect(), o = de - X, n = ce - K, i = t.left + t.width / 2 - X + (t.top + t.height / 2) - K + t.width + t.height, s = X + o * i, r = K + n * i;
1725
- return ve(X, K, s, r, t.left, t.top, t.left, t.bottom) || // Left edge
1726
- ve(X, K, s, r, t.left, t.top, t.right, t.top) || // Top edge
1727
- ve(X, K, s, r, t.right, t.top, t.right, t.bottom) || // Right edge
1728
- ve(X, K, s, r, t.left, t.bottom, t.right, t.bottom);
1723
+ if (pe >= e.left && pe <= e.right && he >= e.top && he <= e.bottom) {
1724
+ const t = this.$_popperNode.getBoundingClientRect(), o = pe - K, n = he - 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;
1725
+ return _e(K, J, s, r, t.left, t.top, t.left, t.bottom) || // Left edge
1726
+ _e(K, J, s, r, t.left, t.top, t.right, t.top) || // Top edge
1727
+ _e(K, J, s, r, t.right, t.top, t.right, t.bottom) || // Right edge
1728
+ _e(K, J, s, r, t.left, t.bottom, t.right, t.bottom);
1729
1729
  }
1730
1730
  return !1;
1731
1731
  }
@@ -1734,16 +1734,16 @@ const De = "__floating-vue__popper", Bt = () => O({
1734
1734
  return this.$slots.default(this.slotData);
1735
1735
  }
1736
1736
  });
1737
- typeof document < "u" && typeof window < "u" && (Ct ? (document.addEventListener("touchstart", ct, re ? {
1737
+ typeof document < "u" && typeof window < "u" && (Pt ? (document.addEventListener("touchstart", pt, ue ? {
1738
1738
  passive: !0,
1739
1739
  capture: !0
1740
- } : !0), document.addEventListener("touchend", ko, re ? {
1740
+ } : !0), document.addEventListener("touchend", No, ue ? {
1741
1741
  passive: !0,
1742
1742
  capture: !0
1743
- } : !0)) : (window.addEventListener("mousedown", ct, !0), window.addEventListener("click", Ao, !0)), window.addEventListener("resize", No));
1744
- function ct(e) {
1745
- for (let t = 0; t < I.length; t++) {
1746
- const o = I[t];
1743
+ } : !0)) : (window.addEventListener("mousedown", pt, !0), window.addEventListener("click", zo, !0)), window.addEventListener("resize", Lo));
1744
+ function pt(e) {
1745
+ for (let t = 0; t < F.length; t++) {
1746
+ const o = F[t];
1747
1747
  try {
1748
1748
  const n = o.popperNode();
1749
1749
  o.$_mouseDownContains = n.contains(e.target);
@@ -1751,20 +1751,20 @@ function ct(e) {
1751
1751
  }
1752
1752
  }
1753
1753
  }
1754
- function Ao(e) {
1755
- At(e);
1754
+ function zo(e) {
1755
+ kt(e);
1756
1756
  }
1757
- function ko(e) {
1758
- At(e, !0);
1757
+ function No(e) {
1758
+ kt(e, !0);
1759
1759
  }
1760
- function At(e, t = !1) {
1760
+ function kt(e, t = !1) {
1761
1761
  const o = {};
1762
- for (let n = I.length - 1; n >= 0; n--) {
1763
- const i = I[n];
1762
+ for (let n = F.length - 1; n >= 0; n--) {
1763
+ const i = F[n];
1764
1764
  try {
1765
- const s = i.$_containsGlobalTarget = Oo(i, e);
1765
+ const s = i.$_containsGlobalTarget = Do(i, e);
1766
1766
  i.$_pendingHide = !1, requestAnimationFrame(() => {
1767
- if (i.$_pendingHide = !1, !o[i.randomId] && pt(i, s, e)) {
1767
+ if (i.$_pendingHide = !1, !o[i.randomId] && ht(i, s, e)) {
1768
1768
  if (i.$_handleGlobalClose(e, t), !e.closeAllPopover && e.closePopover && s) {
1769
1769
  let l = i.parentPopper;
1770
1770
  for (; l; )
@@ -1772,7 +1772,7 @@ function At(e, t = !1) {
1772
1772
  return;
1773
1773
  }
1774
1774
  let r = i.parentPopper;
1775
- for (; r && pt(r, r.$_containsGlobalTarget, e); )
1775
+ for (; r && ht(r, r.$_containsGlobalTarget, e); )
1776
1776
  r.$_handleGlobalClose(e, t), r = r.parentPopper;
1777
1777
  }
1778
1778
  });
@@ -1780,54 +1780,54 @@ function At(e, t = !1) {
1780
1780
  }
1781
1781
  }
1782
1782
  }
1783
- function Oo(e, t) {
1783
+ function Do(e, t) {
1784
1784
  const o = e.popperNode();
1785
1785
  return e.$_mouseDownContains || o.contains(t.target);
1786
1786
  }
1787
- function pt(e, t, o) {
1788
- return o.closeAllPopover || o.closePopover && t || zo(e, o) && !t;
1787
+ function ht(e, t, o) {
1788
+ return o.closeAllPopover || o.closePopover && t || Ro(e, o) && !t;
1789
1789
  }
1790
- function zo(e, t) {
1790
+ function Ro(e, t) {
1791
1791
  if (typeof e.autoHide == "function") {
1792
1792
  const o = e.autoHide(t);
1793
1793
  return e.lastAutoHide = o, o;
1794
1794
  }
1795
1795
  return e.autoHide;
1796
1796
  }
1797
- function No(e) {
1798
- for (let t = 0; t < I.length; t++)
1799
- I[t].$_computePosition(e);
1797
+ function Lo(e) {
1798
+ for (let t = 0; t < F.length; t++)
1799
+ F[t].$_computePosition(e);
1800
1800
  }
1801
- let X = 0, K = 0, de = 0, ce = 0;
1801
+ let K = 0, J = 0, pe = 0, he = 0;
1802
1802
  typeof window < "u" && window.addEventListener("mousemove", (e) => {
1803
- X = de, K = ce, de = e.clientX, ce = e.clientY;
1804
- }, re ? {
1803
+ K = pe, J = he, pe = e.clientX, he = e.clientY;
1804
+ }, ue ? {
1805
1805
  passive: !0
1806
1806
  } : void 0);
1807
- function ve(e, t, o, n, i, s, r, l) {
1807
+ function _e(e, t, o, n, i, s, r, l) {
1808
1808
  const a = ((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));
1809
1809
  return a >= 0 && a <= 1 && u >= 0 && u <= 1;
1810
1810
  }
1811
- const Do = {
1812
- extends: Bt()
1813
- }, Ue = (e, t) => {
1811
+ const Eo = {
1812
+ extends: At()
1813
+ }, Ye = (e, t) => {
1814
1814
  const o = e.__vccOpts || e;
1815
1815
  for (const [n, i] of t)
1816
1816
  o[n] = i;
1817
1817
  return o;
1818
1818
  };
1819
- function Lo(e, t, o, n, i, s) {
1820
- return P(), k("div", {
1819
+ function Ho(e, t, o, n, i, s) {
1820
+ return $(), C("div", {
1821
1821
  ref: "reference",
1822
- class: C(["v-popper", {
1822
+ class: B(["v-popper", {
1823
1823
  "v-popper--shown": e.slotData.isShown
1824
1824
  }])
1825
1825
  }, [
1826
- S(e.$slots, "default", Et(Ht(e.slotData)))
1826
+ S(e.$slots, "default", Mt(It(e.slotData)))
1827
1827
  ], 2);
1828
1828
  }
1829
- const Ro = /* @__PURE__ */ Ue(Do, [["render", Lo]]);
1830
- function Eo() {
1829
+ const Mo = /* @__PURE__ */ Ye(Eo, [["render", Ho]]);
1830
+ function Io() {
1831
1831
  var e = window.navigator.userAgent, t = e.indexOf("MSIE ");
1832
1832
  if (t > 0)
1833
1833
  return parseInt(e.substring(t + 5, e.indexOf(".", t)), 10);
@@ -1839,11 +1839,11 @@ function Eo() {
1839
1839
  var i = e.indexOf("Edge/");
1840
1840
  return i > 0 ? parseInt(e.substring(i + 5, e.indexOf(".", i)), 10) : -1;
1841
1841
  }
1842
- let xe;
1843
- function Fe() {
1844
- Fe.init || (Fe.init = !0, xe = Eo() !== -1);
1842
+ let $e;
1843
+ function Ve() {
1844
+ Ve.init || (Ve.init = !0, $e = Io() !== -1);
1845
1845
  }
1846
- var Oe = {
1846
+ var ze = {
1847
1847
  name: "ResizeObserver",
1848
1848
  props: {
1849
1849
  emitOnMount: {
@@ -1863,11 +1863,11 @@ var Oe = {
1863
1863
  "notify"
1864
1864
  ],
1865
1865
  mounted() {
1866
- Fe(), Rt(() => {
1866
+ Ve(), Ht(() => {
1867
1867
  this._w = this.$el.offsetWidth, this._h = this.$el.offsetHeight, this.emitOnMount && this.emitSize();
1868
1868
  });
1869
1869
  const e = document.createElement("object");
1870
- this._resizeObject = e, e.setAttribute("aria-hidden", "true"), e.setAttribute("tabindex", -1), e.onload = this.addResizeHandlers, e.type = "text/html", xe && this.$el.appendChild(e), e.data = "about:blank", xe || this.$el.appendChild(e);
1870
+ this._resizeObject = e, e.setAttribute("aria-hidden", "true"), e.setAttribute("tabindex", -1), e.onload = this.addResizeHandlers, e.type = "text/html", $e && this.$el.appendChild(e), e.data = "about:blank", $e || this.$el.appendChild(e);
1871
1871
  },
1872
1872
  beforeUnmount() {
1873
1873
  this.removeResizeHandlers();
@@ -1886,34 +1886,34 @@ var Oe = {
1886
1886
  this._resizeObject.contentDocument.defaultView.addEventListener("resize", this.compareAndNotify), this.compareAndNotify();
1887
1887
  },
1888
1888
  removeResizeHandlers() {
1889
- this._resizeObject && this._resizeObject.onload && (!xe && this._resizeObject.contentDocument && this._resizeObject.contentDocument.defaultView.removeEventListener("resize", this.compareAndNotify), this.$el.removeChild(this._resizeObject), this._resizeObject.onload = null, this._resizeObject = null);
1889
+ this._resizeObject && this._resizeObject.onload && (!$e && this._resizeObject.contentDocument && this._resizeObject.contentDocument.defaultView.removeEventListener("resize", this.compareAndNotify), this.$el.removeChild(this._resizeObject), this._resizeObject.onload = null, this._resizeObject = null);
1890
1890
  }
1891
1891
  }
1892
1892
  };
1893
- const Ho = /* @__PURE__ */ Mt("data-v-b329ee4c");
1894
- Dt("data-v-b329ee4c");
1895
- const Mo = {
1893
+ const Fo = /* @__PURE__ */ Ft("data-v-b329ee4c");
1894
+ Lt("data-v-b329ee4c");
1895
+ const Vo = {
1896
1896
  class: "resize-observer",
1897
1897
  tabindex: "-1"
1898
1898
  };
1899
- Lt();
1900
- const Io = /* @__PURE__ */ Ho((e, t, o, n, i, s) => (P(), Ce("div", Mo)));
1901
- Oe.render = Io;
1902
- Oe.__scopeId = "data-v-b329ee4c";
1903
- Oe.__file = "src/components/ResizeObserver.vue";
1904
- const kt = (e = "theme") => ({
1899
+ Et();
1900
+ const Wo = /* @__PURE__ */ Fo((e, t, o, n, i, s) => ($(), we("div", Vo)));
1901
+ ze.render = Wo;
1902
+ ze.__scopeId = "data-v-b329ee4c";
1903
+ ze.__file = "src/components/ResizeObserver.vue";
1904
+ const Ot = (e = "theme") => ({
1905
1905
  computed: {
1906
1906
  themeClass() {
1907
- return Co(this[e]);
1907
+ return ko(this[e]);
1908
1908
  }
1909
1909
  }
1910
- }), Fo = O({
1910
+ }), jo = O({
1911
1911
  name: "VPopperContent",
1912
1912
  components: {
1913
- ResizeObserver: Oe
1913
+ ResizeObserver: ze
1914
1914
  },
1915
1915
  mixins: [
1916
- kt()
1916
+ Ot()
1917
1917
  ],
1918
1918
  props: {
1919
1919
  popperId: String,
@@ -1935,19 +1935,19 @@ const kt = (e = "theme") => ({
1935
1935
  return e != null && !isNaN(e) ? `${e}px` : null;
1936
1936
  }
1937
1937
  }
1938
- }), Vo = ["id", "aria-hidden", "tabindex", "data-popper-placement"], Wo = {
1938
+ }), qo = ["id", "aria-hidden", "tabindex", "data-popper-placement"], Go = {
1939
1939
  ref: "inner",
1940
1940
  class: "v-popper__inner"
1941
- }, jo = /* @__PURE__ */ y("div", { class: "v-popper__arrow-outer" }, null, -1), qo = /* @__PURE__ */ y("div", { class: "v-popper__arrow-inner" }, null, -1), Go = [
1942
- jo,
1943
- qo
1941
+ }, Uo = /* @__PURE__ */ c("div", { class: "v-popper__arrow-outer" }, null, -1), Yo = /* @__PURE__ */ c("div", { class: "v-popper__arrow-inner" }, null, -1), Xo = [
1942
+ Uo,
1943
+ Yo
1944
1944
  ];
1945
- function Uo(e, t, o, n, i, s) {
1945
+ function Ko(e, t, o, n, i, s) {
1946
1946
  const r = Le("ResizeObserver");
1947
- return P(), k("div", {
1947
+ return $(), C("div", {
1948
1948
  id: e.popperId,
1949
1949
  ref: "popover",
1950
- class: C(["v-popper__popper", [
1950
+ class: B(["v-popper__popper", [
1951
1951
  e.themeClass,
1952
1952
  e.classes.popperClass,
1953
1953
  {
@@ -1962,48 +1962,48 @@ function Uo(e, t, o, n, i, s) {
1962
1962
  "v-popper__popper--no-positioning": !e.result
1963
1963
  }
1964
1964
  ]]),
1965
- style: ze(e.result ? {
1965
+ style: Ne(e.result ? {
1966
1966
  position: e.result.strategy,
1967
1967
  transform: `translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`
1968
1968
  } : void 0),
1969
1969
  "aria-hidden": e.shown ? "false" : "true",
1970
1970
  tabindex: e.autoHide ? 0 : void 0,
1971
1971
  "data-popper-placement": e.result ? e.result.placement : void 0,
1972
- onKeyup: t[2] || (t[2] = We((l) => e.autoHide && e.$emit("hide"), ["esc"]))
1972
+ onKeyup: t[2] || (t[2] = je((l) => e.autoHide && e.$emit("hide"), ["esc"]))
1973
1973
  }, [
1974
- y("div", {
1974
+ c("div", {
1975
1975
  class: "v-popper__backdrop",
1976
1976
  onClick: t[0] || (t[0] = (l) => e.autoHide && e.$emit("hide"))
1977
1977
  }),
1978
- y("div", {
1978
+ c("div", {
1979
1979
  class: "v-popper__wrapper",
1980
- style: ze(e.result ? {
1980
+ style: Ne(e.result ? {
1981
1981
  transformOrigin: e.result.transformOrigin
1982
1982
  } : void 0)
1983
1983
  }, [
1984
- y("div", Wo, [
1985
- e.mounted ? (P(), k(It, { key: 0 }, [
1986
- y("div", null, [
1984
+ c("div", Go, [
1985
+ e.mounted ? ($(), C(Vt, { key: 0 }, [
1986
+ c("div", null, [
1987
1987
  S(e.$slots, "default")
1988
1988
  ]),
1989
- e.handleResize ? (P(), Ce(r, {
1989
+ e.handleResize ? ($(), we(r, {
1990
1990
  key: 0,
1991
1991
  onNotify: t[1] || (t[1] = (l) => e.$emit("resize", l))
1992
- })) : _e("", !0)
1993
- ], 64)) : _e("", !0)
1992
+ })) : ye("", !0)
1993
+ ], 64)) : ye("", !0)
1994
1994
  ], 512),
1995
- y("div", {
1995
+ c("div", {
1996
1996
  ref: "arrow",
1997
1997
  class: "v-popper__arrow-container",
1998
- style: ze(e.result ? {
1998
+ style: Ne(e.result ? {
1999
1999
  left: e.toPx(e.result.arrow.x),
2000
2000
  top: e.toPx(e.result.arrow.y)
2001
2001
  } : void 0)
2002
- }, Go, 4)
2002
+ }, Xo, 4)
2003
2003
  ], 4)
2004
- ], 46, Vo);
2004
+ ], 46, qo);
2005
2005
  }
2006
- const Ot = /* @__PURE__ */ Ue(Fo, [["render", Uo]]), zt = {
2006
+ const zt = /* @__PURE__ */ Ye(jo, [["render", Ko]]), Nt = {
2007
2007
  methods: {
2008
2008
  show(...e) {
2009
2009
  return this.$refs.popper.show(...e);
@@ -2018,15 +2018,15 @@ const Ot = /* @__PURE__ */ Ue(Fo, [["render", Uo]]), zt = {
2018
2018
  return this.$refs.popper.onResize(...e);
2019
2019
  }
2020
2020
  }
2021
- }, Yo = O({
2021
+ }, Jo = O({
2022
2022
  name: "VPopperWrapper",
2023
2023
  components: {
2024
- Popper: Ro,
2025
- PopperContent: Ot
2024
+ Popper: Mo,
2025
+ PopperContent: zt
2026
2026
  },
2027
2027
  mixins: [
2028
- zt,
2029
- kt("finalTheme")
2028
+ Nt,
2029
+ Ot("finalTheme")
2030
2030
  ],
2031
2031
  props: {
2032
2032
  theme: {
@@ -2045,23 +2045,23 @@ const Ot = /* @__PURE__ */ Ue(Fo, [["render", Uo]]), zt = {
2045
2045
  }
2046
2046
  }
2047
2047
  });
2048
- function Xo(e, t, o, n, i, s) {
2048
+ function Qo(e, t, o, n, i, s) {
2049
2049
  const r = Le("PopperContent"), l = Le("Popper");
2050
- return P(), Ce(l, {
2050
+ return $(), we(l, {
2051
2051
  ref: "popper",
2052
2052
  theme: e.finalTheme,
2053
2053
  "target-nodes": e.getTargetNodes,
2054
2054
  "popper-node": () => e.$refs.popperContent.$el,
2055
- class: C([
2055
+ class: B([
2056
2056
  e.themeClass
2057
2057
  ])
2058
2058
  }, {
2059
- default: le(({
2059
+ default: Z(({
2060
2060
  popperId: a,
2061
2061
  isShown: u,
2062
- shouldMountContent: c,
2063
- skipTransition: p,
2064
- autoHide: h,
2062
+ shouldMountContent: p,
2063
+ skipTransition: h,
2064
+ autoHide: y,
2065
2065
  show: d,
2066
2066
  hide: f,
2067
2067
  handleResize: m,
@@ -2074,21 +2074,21 @@ function Xo(e, t, o, n, i, s) {
2074
2074
  show: d,
2075
2075
  hide: f
2076
2076
  }),
2077
- Re(r, {
2077
+ Se(r, {
2078
2078
  ref: "popperContent",
2079
2079
  "popper-id": a,
2080
2080
  theme: e.finalTheme,
2081
2081
  shown: u,
2082
- mounted: c,
2083
- "skip-transition": p,
2084
- "auto-hide": h,
2082
+ mounted: p,
2083
+ "skip-transition": h,
2084
+ "auto-hide": y,
2085
2085
  "handle-resize": m,
2086
2086
  classes: g,
2087
2087
  result: w,
2088
2088
  onHide: f,
2089
2089
  onResize: v
2090
2090
  }, {
2091
- default: le(() => [
2091
+ default: Z(() => [
2092
2092
  S(e.$slots, "popper", {
2093
2093
  shown: u,
2094
2094
  hide: f
@@ -2100,25 +2100,27 @@ function Xo(e, t, o, n, i, s) {
2100
2100
  _: 3
2101
2101
  }, 8, ["theme", "target-nodes", "popper-node", "class"]);
2102
2102
  }
2103
- const Ye = /* @__PURE__ */ Ue(Yo, [["render", Xo]]), Ko = {
2104
- ...Ye,
2103
+ const Xe = /* @__PURE__ */ Ye(Jo, [["render", Qo]]), Zo = {
2104
+ ...Xe,
2105
2105
  name: "VDropdown",
2106
2106
  vPopperTheme: "dropdown"
2107
2107
  };
2108
2108
  ({
2109
- ...Ye
2110
- });
2111
- ({
2112
- ...Ye
2109
+ ...Xe
2113
2110
  });
2111
+ const en = {
2112
+ ...Xe,
2113
+ name: "VTooltip",
2114
+ vPopperTheme: "tooltip"
2115
+ };
2114
2116
  O({
2115
2117
  name: "VTooltipDirective",
2116
2118
  components: {
2117
- Popper: Bt(),
2118
- PopperContent: Ot
2119
+ Popper: At(),
2120
+ PopperContent: zt
2119
2121
  },
2120
2122
  mixins: [
2121
- zt
2123
+ Nt
2122
2124
  ],
2123
2125
  inheritAttrs: !1,
2124
2126
  props: {
@@ -2128,7 +2130,7 @@ O({
2128
2130
  },
2129
2131
  html: {
2130
2132
  type: Boolean,
2131
- default: (e) => Me(e.theme, "html")
2133
+ default: (e) => Ie(e.theme, "html")
2132
2134
  },
2133
2135
  content: {
2134
2136
  type: [String, Number, Function],
@@ -2136,7 +2138,7 @@ O({
2136
2138
  },
2137
2139
  loadingContent: {
2138
2140
  type: String,
2139
- default: (e) => Me(e.theme, "loadingContent")
2141
+ default: (e) => Ie(e.theme, "loadingContent")
2140
2142
  },
2141
2143
  targetNodes: {
2142
2144
  type: Function,
@@ -2192,7 +2194,7 @@ O({
2192
2194
  }
2193
2195
  }
2194
2196
  });
2195
- const Jo = Ko, Qo = { class: "yu-text-gray-700 yu-font-plus yu-font-medium yu-text-base yu-mr-2" }, Zo = { class: "yu-w-full yu-rounded-md yu-p-2 yu-flex yu-flex-col yu-gap-1" }, en = { class: "yu-px-2 yu-w-full" }, tn = /* @__PURE__ */ y("div", { class: "yu-text-gray-700 yu-text-xs yu-mr-2" }, "Selecionar todos", -1), on = ["checked"], nn = { class: "yu-w-full yu-p-2 yu-overflow-y-auto yu-max-h-60" }, sn = /* @__PURE__ */ O({
2197
+ const tn = Zo, on = en, nn = { class: "yu-text-gray-700 yu-font-plus yu-font-medium yu-text-base yu-mr-2" }, sn = { class: "yu-w-full yu-rounded-md yu-p-2 yu-flex yu-flex-col yu-gap-1" }, rn = { class: "yu-px-2 yu-w-full" }, ln = /* @__PURE__ */ c("div", { class: "yu-text-gray-700 yu-text-xs yu-mr-2" }, "Selecionar todos", -1), an = ["checked"], un = { class: "yu-w-full yu-p-2 yu-overflow-y-auto yu-max-h-60" }, dn = /* @__PURE__ */ O({
2196
2198
  __name: "app-dropdown",
2197
2199
  props: {
2198
2200
  label: {
@@ -2226,67 +2228,70 @@ const Jo = Ko, Qo = { class: "yu-text-gray-700 yu-font-plus yu-font-medium yu-te
2226
2228
  },
2227
2229
  emits: ["filter-value", "update:allSelected", "update:opened"],
2228
2230
  setup(e, { expose: t, emit: o }) {
2229
- const n = M(!1), i = (s) => {
2231
+ const n = I(!1), i = (s) => {
2230
2232
  n.value = s, o("update:opened", s);
2231
2233
  };
2232
- return t({ opened: n }), (s, r) => (P(), Ce(D(Jo), {
2234
+ return t({ opened: n }), (s, r) => ($(), we(b(tn), {
2233
2235
  placement: "bottom-start",
2234
2236
  skidding: 6,
2235
2237
  "onUpdate:shown": i
2236
2238
  }, {
2237
- popper: le(() => [
2239
+ popper: Z(() => [
2238
2240
  e.showSearchInput ? S(s.$slots, "searchInput", { key: 0 }, () => [
2239
- y("div", Zo, [
2240
- Re(ft, {
2241
+ c("div", sn, [
2242
+ Se(ft, {
2241
2243
  label: e.inputLabel || "Procurar",
2242
2244
  "onUpdate:modelValue": r[0] || (r[0] = (l) => o("filter-value", l))
2243
2245
  }, null, 8, ["label"])
2244
2246
  ])
2245
- ]) : _e("", !0),
2247
+ ]) : ye("", !0),
2246
2248
  e.showSelectAll ? S(s.$slots, "selectAll", { key: 1 }, () => [
2247
- y("div", en, [
2248
- Re(yt, {
2249
+ c("div", rn, [
2250
+ Se(mt, {
2249
2251
  onClick: r[1] || (r[1] = (l) => o("update:allSelected"))
2250
2252
  }, {
2251
- default: le(() => [
2252
- tn,
2253
- y("input", {
2253
+ default: Z(() => [
2254
+ ln,
2255
+ c("input", {
2254
2256
  class: "yu-ml-auto yu-accent-primary-500 yu-border-2 yu-cursor-pointer",
2255
2257
  type: "checkbox",
2256
2258
  checked: e.allSelected
2257
- }, null, 8, on)
2259
+ }, null, 8, an)
2258
2260
  ]),
2259
2261
  _: 1
2260
2262
  })
2261
2263
  ])
2262
- ]) : _e("", !0),
2263
- y("div", nn, [
2264
+ ]) : ye("", !0),
2265
+ c("div", un, [
2264
2266
  S(s.$slots, "default")
2265
2267
  ])
2266
2268
  ]),
2267
- default: le(() => [
2268
- y("button", {
2269
- class: C(["yu-bg-gray-700 yu-bg-opacity-0 yu-px-3 yu-p-2 yu-rounded-md yu-flex yu-gap-1 yu-transition hover:yu-bg-opacity-10 yu-group active:yu-bg-primary-500 active:!yu-bg-opacity-10 active:yu-scale-95", { "!yu-bg-primary-500 !yu-bg-opacity-10": n.value }])
2269
+ default: Z(() => [
2270
+ c("button", {
2271
+ class: B(["yu-bg-gray-700 yu-bg-opacity-0 yu-px-3 yu-p-2 yu-rounded-md yu-flex yu-gap-1 yu-transition hover:yu-bg-opacity-10 yu-group active:yu-bg-primary-500 active:!yu-bg-opacity-10 active:yu-scale-95", { "!yu-bg-primary-500 !yu-bg-opacity-10": n.value }])
2270
2272
  }, [
2271
2273
  S(s.$slots, "icon", {}, () => [
2272
- y("i", {
2273
- class: C(["material-icons yu-text-gray-700 yu-h-fit", { "yu-text-primary-500": n.value }])
2274
- }, F(e.icon), 3)
2274
+ c("i", {
2275
+ class: B(["material-icons yu-text-gray-700 yu-h-fit", { "yu-text-primary-500": n.value }])
2276
+ }, k(e.icon), 3)
2275
2277
  ]),
2276
2278
  S(s.$slots, "label", {}, () => [
2277
- y("div", Qo, F(e.label), 1)
2279
+ c("div", nn, k(e.label), 1)
2278
2280
  ]),
2279
2281
  S(s.$slots, "open-icon", {}, () => [
2280
- y("i", {
2281
- class: C(["material-icons yu-text-gray-700 yu-h-fit yu-ml-auto yu-transition-all", { "yu-text-primary-500 yu-rotate-180": n.value }])
2282
- }, F(e.openIcon), 3)
2282
+ c("i", {
2283
+ class: B(["material-icons yu-text-gray-700 yu-h-fit yu-ml-auto yu-transition-all", { "yu-text-primary-500 yu-rotate-180": n.value }])
2284
+ }, k(e.openIcon), 3)
2283
2285
  ])
2284
2286
  ], 2)
2285
2287
  ]),
2286
2288
  _: 3
2287
2289
  }));
2288
2290
  }
2289
- }), rn = { class: "yu-border yu-border-gray-100 yu-rounded-md yu-py-4 yu-px-3 yu-bg-white yu-flex yu-flex-col yu-justify-center yu-shadow-2xl yu-shadow-gray-100" }, ln = { class: "yu-flex yu-gap-5 yu-px-2" }, an = { class: "yu-flex yu-flex-col" }, un = { class: "yu-font-plus yu-flex yu-text-xl yu-text-gray-800 yu-font-bold yu-items-center" }, dn = { class: "yu-font-plus yu-text-xs yu-text-gray-400" }, cn = { class: "yu-font-plus yu-text-gray-400 yu-font-medium yu-text-sm" }, pn = /* @__PURE__ */ O({
2291
+ }), cn = { class: "yu-border yu-border-gray-100 yu-rounded-md yu-py-4 yu-px-3 yu-bg-white yu-flex yu-flex-col yu-justify-center yu-shadow-2xl yu-shadow-gray-100" }, pn = { class: "yu-flex yu-gap-5 yu-px-2" }, hn = { class: "yu-flex yu-flex-col" }, yn = { class: "yu-font-plus yu-flex yu-text-xl yu-text-gray-800 yu-font-bold yu-items-center" }, fn = {
2292
+ key: 0,
2293
+ class: "yu-font-plus yu-text-xs yu-text-gray-400"
2294
+ }, mn = { class: "yu-font-plus yu-text-gray-400 yu-font-medium yu-text-sm" }, gn = /* @__PURE__ */ O({
2290
2295
  __name: "stat-card",
2291
2296
  props: {
2292
2297
  icon: {
@@ -2308,50 +2313,44 @@ const Jo = Ko, Qo = { class: "yu-text-gray-700 yu-font-plus yu-font-medium yu-te
2308
2313
  total: {
2309
2314
  type: Number,
2310
2315
  default: 100
2316
+ },
2317
+ hideTotal: {
2318
+ type: Boolean,
2319
+ default: !1
2311
2320
  }
2312
2321
  },
2313
2322
  setup(e) {
2314
- return (t, o) => (P(), k("div", rn, [
2315
- y("div", ln, [
2316
- y("i", {
2317
- class: C(["yu-aspect-square material-icons yu-bg-yellow-100 yu-text-yellow-500 yu-h-14 yu-w-14 yu-place-items-center yu-rounded-full !yu-text-1xl !yu-grid", { "!yu-text-red-500 !yu-bg-red-100": e.bad, "!yu-text-green-500 !yu-bg-green-100": e.good }])
2318
- }, F(e.icon), 3),
2319
- y("div", an, [
2320
- y("div", un, [
2321
- Ft(F(e.comparison), 1),
2322
- y("span", dn, "/" + F(e.total), 1)
2323
+ return (t, o) => ($(), C("div", cn, [
2324
+ c("div", pn, [
2325
+ S(t.$slots, "icon", {}, () => [
2326
+ c("i", {
2327
+ class: B(["yu-aspect-square material-icons yu-bg-yellow-100 yu-text-yellow-500 yu-h-14 yu-w-14 yu-place-items-center yu-rounded-full !yu-text-1xl !yu-grid", { "!yu-text-red-500 !yu-bg-red-100": e.bad, "!yu-text-green-500 !yu-bg-green-100": e.good }])
2328
+ }, k(e.icon), 3)
2329
+ ]),
2330
+ c("div", hn, [
2331
+ c("div", yn, [
2332
+ Ee(k(e.comparison), 1),
2333
+ e.hideTotal ? ye("", !0) : ($(), C("span", fn, "/" + k(e.total), 1))
2323
2334
  ]),
2324
- y("p", cn, [
2335
+ c("p", mn, [
2325
2336
  S(t.$slots, "default")
2326
2337
  ])
2327
2338
  ])
2328
2339
  ])
2329
2340
  ]));
2330
2341
  }
2331
- }), hn = { class: "yu-border yu-border-gray-100 yu-rounded-md yu-py-5 yu-px-5 yu-bg-white yu-shadow-md yu-shadow-gray-100" }, fn = { class: "yu-font-plus yu-text-gray-800 yu-font-semibold yu-text-lg" }, yn = { class: "yu-mt-2 yu-flex yu-flex-col" };
2332
- function mn(e, t) {
2333
- return P(), k("div", hn, [
2334
- y("div", fn, [
2335
- S(e.$slots, "heading")
2336
- ]),
2337
- y("div", yn, [
2338
- S(e.$slots, "list")
2339
- ])
2340
- ]);
2341
- }
2342
- var gn = {};
2343
- const wn = /* @__PURE__ */ ye(gn, [["render", mn]]);
2344
- function Xe(e, t) {
2345
- const o = ge(() => ({
2342
+ });
2343
+ function Ke(e, t) {
2344
+ const o = q(() => ({
2346
2345
  "!yu-font-plus": t.plus,
2347
2346
  "!yu-font-inter": t.inter,
2348
2347
  "!yu-font-titillium": t.titillium
2349
- })), n = ge(() => ({
2348
+ })), n = q(() => ({
2350
2349
  "!yu-text-primary": t.primary,
2351
2350
  "!yu-text-secondary": t.secondary,
2352
2351
  "!yu-text-base": t.neutral,
2353
2352
  "!yu-text-neutral": t.gray
2354
- })), i = ge(() => ({
2353
+ })), i = q(() => ({
2355
2354
  "!yu-font-thin": t.thin,
2356
2355
  "!yu-font-extralight": t.extralight,
2357
2356
  "!yu-font-light": t.light,
@@ -2361,7 +2360,7 @@ function Xe(e, t) {
2361
2360
  "!yu-font-bold": t.bold,
2362
2361
  "!yu-font-extrabold": t.extrabold,
2363
2362
  "!yu-font-black": t.black
2364
- })), s = ge(() => ({
2363
+ })), s = q(() => ({
2365
2364
  ...{
2366
2365
  title: {
2367
2366
  "!yu-text-xl": t.small,
@@ -2384,7 +2383,7 @@ function Xe(e, t) {
2384
2383
  }));
2385
2384
  return { fontClass: o, colorClass: n, weightClass: i, sizeClass: s };
2386
2385
  }
2387
- const vn = /* @__PURE__ */ O({
2386
+ const wn = /* @__PURE__ */ O({
2388
2387
  __name: "title",
2389
2388
  props: {
2390
2389
  inter: { type: Boolean },
@@ -2409,15 +2408,120 @@ const vn = /* @__PURE__ */ O({
2409
2408
  neutral: { type: Boolean }
2410
2409
  },
2411
2410
  setup(e) {
2412
- const t = e, { fontClass: o, colorClass: n, weightClass: i, sizeClass: s } = Xe("title", t);
2413
- return (r, l) => (P(), k("h1", {
2414
- class: C(["yu-font-inter yu-text-2xl yu-font-normal yu-text-black", [D(o), D(n), D(i), D(s)]])
2411
+ const t = e, { fontClass: o, colorClass: n, weightClass: i, sizeClass: s } = Ke("title", t);
2412
+ return (r, l) => ($(), C("h1", {
2413
+ class: B(["yu-font-inter yu-text-2xl yu-font-normal yu-text-black", [b(o), b(n), b(i), b(s)]])
2415
2414
  }, [
2416
2415
  S(r.$slots, "default", {}, void 0, !0)
2417
2416
  ], 2));
2418
2417
  }
2419
2418
  });
2420
- const xn = /* @__PURE__ */ ye(vn, [["__scopeId", "data-v-e5bd72b2"]]), bn = /* @__PURE__ */ O({
2419
+ const Dt = /* @__PURE__ */ ve(wn, [["__scopeId", "data-v-e5bd72b2"]]), vn = { class: "yu-border yu-border-gray-100 yu-rounded-md yu-py-4 yu-px-5 yu-bg-white yu-shadow-2xl yu-shadow-gray-100 yu-flex yu-flex-col" }, xn = { class: "yu-flex gap-3 yu-flex-col yu-h-full yu-w-full yu-justify-between" }, bn = { class: "yu-text-base" }, _n = { class: "yu-flex yu-justify-between" }, $n = { class: "yu-flex yu-gap-2" }, Sn = { class: "yu-aspect-square material-icons yu-h-12 yu-w-12 yu-place-items-center yu-rounded-full cursor-default !yu-text-1xl !yu-grid !yu-bg-green-100 !yu-text-green-500" }, Tn = { class: "yu-font-plus yu-flex yu-text-xl yu-text-gray-800 yu-font-bold yu-items-center" }, Bn = { class: "yu-flex yu-gap-2" }, Cn = { class: "yu-aspect-square material-icons yu-h-12 yu-w-12 yu-place-items-center yu-rounded-full cursor-default !yu-text-1xl !yu-grid !yu-bg-red-100 !yu-text-red-500" }, Pn = { class: "yu-font-plus yu-flex yu-text-xl yu-text-gray-800 yu-font-bold yu-items-center" }, An = { class: "yu-flex yu-gap-1" }, kn = /* @__PURE__ */ c("i", { class: "yu-aspect-square material-icons yu-h-12 yu-w-12 yu-place-items-center yu-rounded-full cursor-default !yu-text-1xl !yu-grid" }, "call_received", -1), On = { class: "yu-font-plus yu-flex yu-text-xl yu-text-gray-800 yu-font-bold yu-items-center" }, zn = { class: "yu-flex yu-gap-1" }, Nn = /* @__PURE__ */ c("i", { class: "yu-aspect-square material-icons yu-h-12 yu-w-12 yu-place-items-center yu-rounded-full cursor-default !yu-text-1xl !yu-grid" }, "call_made", -1), Dn = { class: "yu-font-plus yu-flex yu-text-xl yu-text-gray-800 yu-font-bold yu-items-center" }, Rn = /* @__PURE__ */ O({
2420
+ __name: "app-advanced-stat-card",
2421
+ props: {
2422
+ totalGood: {
2423
+ type: Number,
2424
+ default: 0
2425
+ },
2426
+ totalBad: {
2427
+ type: Number,
2428
+ default: 0
2429
+ },
2430
+ totalReceived: {
2431
+ type: Number,
2432
+ default: 0
2433
+ },
2434
+ totalSent: {
2435
+ type: Number,
2436
+ default: 0
2437
+ },
2438
+ goodTooltip: {
2439
+ type: String,
2440
+ default: ""
2441
+ },
2442
+ badTooltip: {
2443
+ type: String,
2444
+ default: ""
2445
+ },
2446
+ receivedTooltip: {
2447
+ type: String,
2448
+ default: ""
2449
+ },
2450
+ sentTooltip: {
2451
+ type: String,
2452
+ default: ""
2453
+ }
2454
+ },
2455
+ setup(e) {
2456
+ return (t, o) => {
2457
+ const n = Wt("tooltip");
2458
+ return $(), C("div", vn, [
2459
+ c("div", xn, [
2460
+ Se(Dt, {
2461
+ plus: "",
2462
+ semibold: ""
2463
+ }, {
2464
+ default: Z(() => [
2465
+ c("div", bn, [
2466
+ S(t.$slots, "title")
2467
+ ])
2468
+ ]),
2469
+ _: 3
2470
+ }),
2471
+ c("div", _n, [
2472
+ Q(($(), C("div", $n, [
2473
+ c("i", Sn, [
2474
+ S(t.$slots, "icon-good", {}, () => [
2475
+ Ee("assignment")
2476
+ ])
2477
+ ]),
2478
+ c("p", Tn, k(e.totalGood), 1)
2479
+ ])), [
2480
+ [n, e.goodTooltip]
2481
+ ]),
2482
+ Q(($(), C("div", Bn, [
2483
+ c("i", Cn, [
2484
+ S(t.$slots, "icon-bad", {}, () => [
2485
+ Ee("assignment")
2486
+ ])
2487
+ ]),
2488
+ c("p", Pn, k(e.totalBad), 1)
2489
+ ])), [
2490
+ [n, e.badTooltip]
2491
+ ]),
2492
+ Q(($(), C("div", An, [
2493
+ kn,
2494
+ c("p", On, k(e.totalReceived), 1)
2495
+ ])), [
2496
+ [n, e.receivedTooltip]
2497
+ ]),
2498
+ Q(($(), C("div", zn, [
2499
+ Nn,
2500
+ c("p", Dn, k(e.totalSent), 1)
2501
+ ])), [
2502
+ [n, e.sentTooltip]
2503
+ ])
2504
+ ]),
2505
+ c("div", null, [
2506
+ S(t.$slots, "footer")
2507
+ ])
2508
+ ])
2509
+ ]);
2510
+ };
2511
+ }
2512
+ }), Ln = { class: "yu-border yu-border-gray-100 yu-rounded-md yu-py-5 yu-px-5 yu-bg-white yu-shadow-md yu-shadow-gray-100" }, En = { class: "yu-font-plus yu-text-gray-800 yu-font-semibold yu-text-lg" }, Hn = { class: "yu-mt-2 yu-flex yu-flex-col" };
2513
+ function Mn(e, t) {
2514
+ return $(), C("div", Ln, [
2515
+ c("div", En, [
2516
+ S(e.$slots, "heading")
2517
+ ]),
2518
+ c("div", Hn, [
2519
+ S(e.$slots, "list")
2520
+ ])
2521
+ ]);
2522
+ }
2523
+ var In = {};
2524
+ const Fn = /* @__PURE__ */ ve(In, [["render", Mn]]), Vn = /* @__PURE__ */ O({
2421
2525
  __name: "subtitle",
2422
2526
  props: {
2423
2527
  inter: { type: Boolean },
@@ -2441,15 +2545,15 @@ const xn = /* @__PURE__ */ ye(vn, [["__scopeId", "data-v-e5bd72b2"]]), bn = /* @
2441
2545
  neutral: { type: Boolean }
2442
2546
  },
2443
2547
  setup(e) {
2444
- const t = e, { fontClass: o, colorClass: n, weightClass: i, sizeClass: s } = Xe("subtitle", t);
2445
- return (r, l) => (P(), k("h3", {
2446
- class: C(["yu-font-inter yu-text-md yu-font-normal yu-text-black", [D(o), D(n), D(i), D(s)]])
2548
+ const t = e, { fontClass: o, colorClass: n, weightClass: i, sizeClass: s } = Ke("subtitle", t);
2549
+ return (r, l) => ($(), C("h3", {
2550
+ class: B(["yu-font-inter yu-text-md yu-font-normal yu-text-black", [b(o), b(n), b(i), b(s)]])
2447
2551
  }, [
2448
2552
  S(r.$slots, "default", {}, void 0, !0)
2449
2553
  ], 2));
2450
2554
  }
2451
2555
  });
2452
- const _n = /* @__PURE__ */ ye(bn, [["__scopeId", "data-v-cd3f9071"]]), $n = /* @__PURE__ */ O({
2556
+ const Wn = /* @__PURE__ */ ve(Vn, [["__scopeId", "data-v-cd3f9071"]]), jn = /* @__PURE__ */ O({
2453
2557
  __name: "text",
2454
2558
  props: {
2455
2559
  inter: { type: Boolean },
@@ -2474,33 +2578,76 @@ const _n = /* @__PURE__ */ ye(bn, [["__scopeId", "data-v-cd3f9071"]]), $n = /* @
2474
2578
  neutral: { type: Boolean }
2475
2579
  },
2476
2580
  setup(e) {
2477
- const t = e, { fontClass: o, colorClass: n, weightClass: i, sizeClass: s } = Xe("text", t);
2478
- return (r, l) => (P(), k("p", {
2479
- class: C(["yu-font-inter yu-text-sm yu-font-normal yu-text-black", [D(o), D(n), D(i), D(s)]])
2581
+ const t = e, { fontClass: o, colorClass: n, weightClass: i, sizeClass: s } = Ke("text", t);
2582
+ return (r, l) => ($(), C("p", {
2583
+ class: B(["yu-font-inter yu-text-sm yu-font-normal yu-text-black", [b(o), b(n), b(i), b(s)]])
2480
2584
  }, [
2481
2585
  S(r.$slots, "default", {}, void 0, !0)
2482
2586
  ], 2));
2483
2587
  }
2484
2588
  });
2485
- const Sn = /* @__PURE__ */ ye($n, [["__scopeId", "data-v-747f1999"]]);
2486
- const Pn = {
2589
+ const qn = /* @__PURE__ */ ve(jn, [["__scopeId", "data-v-747f1999"]]), Gn = {
2590
+ key: 0,
2591
+ class: "yu-relative yu-cursor-help"
2592
+ }, Un = { class: "yu-relative yu-cursor-help" }, Yn = { class: "yu-text-sm yu-max-w-44" }, Xn = /* @__PURE__ */ O({
2593
+ __name: "app-tooltip-icon",
2594
+ props: {
2595
+ error: Boolean,
2596
+ warning: Boolean,
2597
+ info: Boolean,
2598
+ success: Boolean,
2599
+ ping: Boolean,
2600
+ small: Boolean
2601
+ },
2602
+ setup(e) {
2603
+ const t = e, o = q(() => jt()), n = q(() => !!o.value["yu-default"]), i = q(() => t.ping ? "yu-animate-ping" : ""), s = q(() => t.error ? "error" : t.warning ? "warning" : t.info ? "info" : t.success ? "check_circle" : "info"), r = q(() => t.error ? "yu-text-red-500" : t.warning ? "yu-text-amber-500" : t.info ? "yu-text-zinc-300" : t.success ? "yu-text-green-500" : "yu-text-zinc-400"), l = q(() => t.small ? "yu-text-sm" : "yu-text-lg");
2604
+ return (a, u) => b(n) ? ($(), we(b(on), { key: 1 }, {
2605
+ popper: Z(() => [
2606
+ c("div", Yn, [
2607
+ S(a.$slots, "default")
2608
+ ])
2609
+ ]),
2610
+ default: Z(() => [
2611
+ c("div", Un, [
2612
+ c("div", {
2613
+ class: B(["material-icons yu-select-none yu-notranslate yu-cursor-help yu-absolute", [b(r), b(l)]])
2614
+ }, k(b(s)), 3),
2615
+ c("div", {
2616
+ class: B(["material-icons yu-select-none yu-notranslate yu-cursor-help", [b(i), b(r), b(l)]])
2617
+ }, k(b(s)), 3)
2618
+ ])
2619
+ ]),
2620
+ _: 3
2621
+ })) : ($(), C("div", Gn, [
2622
+ c("div", {
2623
+ class: B(["material-icons yu-select-none yu-notranslate yu-absolute", [b(r), b(l)]])
2624
+ }, k(b(s)), 3),
2625
+ c("div", {
2626
+ class: B(["material-icons yu-select-none yu-notranslate", [b(i), b(r), b(l)]])
2627
+ }, k(b(s)), 3)
2628
+ ]));
2629
+ }
2630
+ });
2631
+ const Jn = {
2487
2632
  install: (e) => {
2488
- e.component("TextInput", ft), e.component("IconTextInput", Gt), e.component("SwitchCheckbox", Xt), e.component("ButtonPrimary", Kt), e.component("ButtonSecondary", Jt), e.component("SimpleDropdown", so), e.component("AppDropdown", sn), e.component("SimpleDropdownItem", yt), e.component("StatCard", pn), e.component("ListCard", wn), e.component("AppTitle", xn), e.component("AppSubtitle", _n), e.component("AppText", Sn);
2633
+ e.component("TextInput", ft), e.component("IconTextInput", Xt), e.component("SwitchCheckbox", Qt), e.component("ButtonPrimary", Zt), e.component("ButtonSecondary", eo), e.component("SimpleDropdown", ao), e.component("AppDropdown", dn), e.component("SimpleDropdownItem", mt), e.component("StatCard", gn), e.component("AppAdvancedStatCard", Rn), e.component("ListCard", Fn), e.component("AppTitle", Dt), e.component("AppSubtitle", Wn), e.component("AppText", qn), e.component("AppTooltipIcon", Xn);
2489
2634
  }
2490
2635
  };
2491
2636
  export {
2492
- sn as AppDropdown,
2493
- _n as AppSubtitle,
2494
- Sn as AppText,
2495
- xn as AppTitle,
2496
- Kt as ButtonPrimary,
2497
- Jt as ButtonSecondary,
2498
- Gt as IconTextInput,
2499
- wn as ListCard,
2500
- so as SimpleDropdown,
2501
- yt as SimpleDropdownItem,
2502
- pn as StatCard,
2503
- Xt as SwitchCheckbox,
2637
+ Rn as AppAdvancedStatCard,
2638
+ dn as AppDropdown,
2639
+ Wn as AppSubtitle,
2640
+ qn as AppText,
2641
+ Dt as AppTitle,
2642
+ Xn as AppTooltipIcon,
2643
+ Zt as ButtonPrimary,
2644
+ eo as ButtonSecondary,
2645
+ Xt as IconTextInput,
2646
+ Fn as ListCard,
2647
+ ao as SimpleDropdown,
2648
+ mt as SimpleDropdownItem,
2649
+ gn as StatCard,
2650
+ Qt as SwitchCheckbox,
2504
2651
  ft as TextInput,
2505
- Pn as default
2652
+ Jn as default
2506
2653
  };