@teammodlr/ui-kit 2.1.20 → 2.1.21

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.
package/lib/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as P, renderSlot as L, ref as $, watch as K, computed as p, openBlock as v, createElementBlock as w, normalizeClass as h, normalizeStyle as re, inject as fe, onMounted as pe, resolveComponent as le, createBlock as ne, mergeProps as $e, reactive as Ie, toRef as X, provide as Ce, Fragment as Q, renderList as he, createElementVNode as T, createVNode as J, withCtx as Y, createTextVNode as ie, toDisplayString as H, createCommentVNode as V, onBeforeUnmount as _t, resolveDynamicComponent as sn, readonly as co, onUnmounted as hr, withDirectives as jt, vModelCheckbox as gr, getCurrentScope as fo, onScopeDispose as po, unref as ln, isRef as vo, toRefs as mo, customRef as ho, getCurrentInstance as yr, watchEffect as ft, nextTick as Ge, toHandlers as pt, Teleport as Le, Transition as Je, withModifiers as je, withKeys as rt, shallowRef as xt, TransitionGroup as go, vModelRadio as yo, vModelText as bo, toRaw as An, onActivated as wo, onDeactivated as $o, h as at } from "vue";
1
+ import { defineComponent as P, renderSlot as L, ref as $, watch as K, computed as p, openBlock as v, createElementBlock as w, normalizeClass as g, normalizeStyle as re, inject as fe, onMounted as pe, resolveComponent as le, createBlock as ne, mergeProps as $e, reactive as Ie, toRef as X, provide as Se, Fragment as Q, renderList as he, createElementVNode as T, createVNode as J, withCtx as Y, createTextVNode as ie, toDisplayString as H, createCommentVNode as V, onBeforeUnmount as _t, resolveDynamicComponent as sn, readonly as co, onUnmounted as hr, withDirectives as jt, vModelCheckbox as gr, getCurrentScope as fo, onScopeDispose as po, unref as ln, isRef as vo, toRefs as mo, customRef as ho, getCurrentInstance as yr, watchEffect as ft, nextTick as Ge, toHandlers as pt, Teleport as Le, Transition as Je, withModifiers as je, withKeys as rt, shallowRef as xt, TransitionGroup as go, vModelRadio as yo, vModelText as bo, toRaw as An, onActivated as wo, onDeactivated as $o, h as at } from "vue";
2
2
  const ko = {
3
3
  h: {
4
4
  type: Function,
@@ -8,13 +8,13 @@ const ko = {
8
8
  type: Object,
9
9
  default: void 0
10
10
  }
11
- }, Co = P({
11
+ }, So = P({
12
12
  name: "Renderer",
13
13
  props: ko,
14
14
  setup(e, { slots: t }) {
15
15
  return () => typeof e.h != "function" ? L(t, "default", e.props) : e.h(e.props);
16
16
  }
17
- }), So = P({
17
+ }), Co = P({
18
18
  name: "MImage",
19
19
  props: {
20
20
  src: {
@@ -70,13 +70,13 @@ const ko = {
70
70
  }, To = ["src", "alt"];
71
71
  function Mo(e, t, n, r, a, s) {
72
72
  return v(), w("img", {
73
- class: h(e.computedClasses),
73
+ class: g(e.computedClasses),
74
74
  style: re(e.computedStyles),
75
75
  src: e.source,
76
76
  alt: e.alt
77
77
  }, null, 14, To);
78
78
  }
79
- const br = /* @__PURE__ */ N(So, [["render", Mo]]);
79
+ const br = /* @__PURE__ */ N(Co, [["render", Mo]]);
80
80
  var Oo = "_1rgsfqk2", Eo = "_1rgsfqk8", Ro = "_1rgsfqka", Ao = "_1rgsfqk9", Bo = { xs: "_1rgsfqk3", sm: "_1rgsfqk4", md: "_1rgsfqk5", lg: "_1rgsfqk6", xl: "_1rgsfqk7" };
81
81
  const wr = Symbol("AVATAR_GROUP_STATE"), zo = P({
82
82
  name: "MAvatar",
@@ -130,7 +130,7 @@ const wr = Symbol("AVATAR_GROUP_STATE"), zo = P({
130
130
  function Io(e, t, n, r, a, s) {
131
131
  const o = le("MImage");
132
132
  return v(), w("span", {
133
- class: h(e.classes),
133
+ class: g(e.classes),
134
134
  ref: "avatar"
135
135
  }, [
136
136
  (e.src || e.srcSet) && e.imageExists ? (v(), ne(o, $e({ key: 0 }, e.$attrs, {
@@ -177,7 +177,7 @@ const Lo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
177
177
  rounded: X(e, "rounded"),
178
178
  max: X(e, "max")
179
179
  });
180
- Ce(wr, t);
180
+ Se(wr, t);
181
181
  const n = p(() => e.options.slice(0, e.max)), r = p(() => e.options.length - e.max);
182
182
  return {
183
183
  style: Lo,
@@ -189,11 +189,11 @@ const Lo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
189
189
  function No(e, t, n, r, a, s) {
190
190
  const o = le("MAvatar");
191
191
  return v(), w("ul", {
192
- class: h(e.style.base)
192
+ class: g(e.style.base)
193
193
  }, [
194
194
  (v(!0), w(Q, null, he(e.avatars, (l, i) => (v(), w("li", {
195
195
  key: i,
196
- class: h(e.style.item)
196
+ class: g(e.style.item)
197
197
  }, [
198
198
  T("div", {
199
199
  style: re([{ display: "inline-block", position: "relative", outline: "0" }, { zIndex: e.avatars.length - i }])
@@ -245,10 +245,10 @@ const qo = P({
245
245
  });
246
246
  function Ko(e, t, n, r, a, s) {
247
247
  return v(), w("span", {
248
- class: h(e.baseClass)
248
+ class: g(e.baseClass)
249
249
  }, [
250
250
  T("span", {
251
- class: h(e.textClass),
251
+ class: g(e.textClass),
252
252
  secondary: ""
253
253
  }, [
254
254
  L(e.$slots, "default")
@@ -256,10 +256,10 @@ function Ko(e, t, n, r, a, s) {
256
256
  ], 2);
257
257
  }
258
258
  const Go = /* @__PURE__ */ N(qo, [["render", Ko]]), kr = Symbol("BREADCRUMB_STATE");
259
- var Cr = "_1j3winb0", Uo = "_1j3winb1", Xo = "_1j3winb2", Yo = "_1j3winb3";
259
+ var Sr = "_1j3winb0", Uo = "_1j3winb1", Xo = "_1j3winb2", Yo = "_1j3winb3";
260
260
  const Zo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
261
261
  __proto__: null,
262
- base: Cr,
262
+ base: Sr,
263
263
  item: Uo,
264
264
  link: Xo,
265
265
  separator: Yo
@@ -283,9 +283,9 @@ const Zo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
283
283
  separator: X(e, "seperator"),
284
284
  refreshItems: n
285
285
  }), a = p(() => [
286
- Cr
286
+ Sr
287
287
  ]);
288
- return Ce(kr, r), {
288
+ return Se(kr, r), {
289
289
  refreshItems: n,
290
290
  classes: a
291
291
  };
@@ -293,7 +293,7 @@ const Zo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
293
293
  });
294
294
  function Qo(e, t, n, r, a, s) {
295
295
  return v(), w("ol", {
296
- class: h(e.classes)
296
+ class: g(e.classes)
297
297
  }, [
298
298
  L(e.$slots, "default")
299
299
  ], 2);
@@ -337,26 +337,26 @@ const es = /* @__PURE__ */ N(Jo, [["render", Qo]]), ts = P({
337
337
  });
338
338
  function ns(e, t, n, r, a, s) {
339
339
  return v(), w("li", {
340
- class: h(e.style.item)
340
+ class: g(e.style.item)
341
341
  }, [
342
342
  T("a", {
343
343
  tabindex: "0",
344
344
  onClick: t[0] || (t[0] = (...o) => e.handleClick && e.handleClick(...o)),
345
- class: h(e.style.link)
345
+ class: g(e.style.link)
346
346
  }, [
347
347
  L(e.$slots, "default", {}, () => [
348
348
  ie(H(e.label), 1)
349
349
  ])
350
350
  ], 2),
351
351
  T("span", {
352
- class: h(e.style.separator),
352
+ class: g(e.style.separator),
353
353
  role: "separator"
354
354
  }, H(e.separator), 3)
355
355
  ], 2);
356
356
  }
357
357
  const rs = /* @__PURE__ */ N(ts, [["render", ns]]);
358
358
  var as = "_1s6j4ps7", os = "_1s6j4ps18", ss = "_1s6j4psz _1s6j4psy", ls = "_1s6j4ps10 _1s6j4psy", is = "_1s6j4ps13", us = "_1s6j4ps15 _1s6j4ps14", ds = "_1s6j4ps16", cs = { primary: "_1s6j4psm", dark: "_1s6j4psn", default: "_1s6j4pso", tertiary: "_1s6j4psp", success: "_1s6j4psq", warning: "_1s6j4psr", error: "_1s6j4pss" }, fs = "_1s6j4ps19", ps = "_1s6j4ps17", vs = { primary: "_1s6j4psf", dark: "_1s6j4psg", default: "_1s6j4psh", tertiary: "_1s6j4psi", success: "_1s6j4psj", warning: "_1s6j4psk", error: "_1s6j4psl" }, ms = { xs: "_1s6j4pst", sm: "_1s6j4psu", md: "_1s6j4psv", lg: "_1s6j4psw", xl: "_1s6j4psx" }, hs = { primary: "_1s6j4ps8", dark: "_1s6j4ps9", default: "_1s6j4psa", tertiary: "_1s6j4psb", success: "_1s6j4psc", warning: "_1s6j4psd", error: "_1s6j4pse" }, gs = "_1s6j4ps11", ys = "_1s6j4ps12";
359
- const Sr = Symbol("BUTTON_GROUP_STATE"), un = Symbol("FORM_STATE"), bs = P({
359
+ const Cr = Symbol("BUTTON_GROUP_STATE"), un = Symbol("FORM_STATE"), bs = P({
360
360
  name: "MButton",
361
361
  props: {
362
362
  type: {
@@ -414,7 +414,7 @@ const Sr = Symbol("BUTTON_GROUP_STATE"), un = Symbol("FORM_STATE"), bs = P({
414
414
  }
415
415
  },
416
416
  setup(e, { slots: t }) {
417
- const n = fe(Sr, null), r = fe(un, null), a = fe("dropdown", null), s = $("md"), o = $(!1), l = $(0), i = X(e, "loading"), u = p(() => a == null ? void 0 : a.isOpen.value), d = p(() => n == null ? void 0 : n.size), c = p(() => d.value || e.size), f = p(() => !!t["icon-left"]), m = p(() => !!t["icon-right"]), g = p(() => [
417
+ const n = fe(Cr, null), r = fe(un, null), a = fe("dropdown", null), s = $("md"), o = $(!1), l = $(0), i = X(e, "loading"), u = p(() => a == null ? void 0 : a.isOpen.value), d = p(() => n == null ? void 0 : n.size), c = p(() => d.value || e.size), f = p(() => !!t["icon-left"]), m = p(() => !!t["icon-right"]), h = p(() => [
418
418
  as,
419
419
  [ms[c.value]],
420
420
  hs[e.variant],
@@ -442,19 +442,19 @@ const Sr = Symbol("BUTTON_GROUP_STATE"), un = Symbol("FORM_STATE"), bs = P({
442
442
  l.value && clearTimeout(l.value);
443
443
  }), {
444
444
  dropdownOpen: u,
445
- computedClasses: g,
445
+ computedClasses: h,
446
446
  computedWaveClasses: O,
447
447
  computedBorderClasses: k,
448
448
  computedBorderStateClasses: M,
449
449
  computedTag: R,
450
450
  hasIconLeft: f,
451
451
  hasIconRight: m,
452
- handleClick: (C) => {
452
+ handleClick: (S) => {
453
453
  if (e.disabled) {
454
- C.preventDefault();
454
+ S.preventDefault();
455
455
  return;
456
456
  }
457
- e.onClick(C);
457
+ e.onClick(S);
458
458
  },
459
459
  waveTimerId: l,
460
460
  iconLeft: us,
@@ -473,14 +473,14 @@ function ws(e, t, n, r, a, s) {
473
473
  }, e.$attrs), {
474
474
  default: Y(() => [
475
475
  T("div", {
476
- class: h(e.computedBorderClasses)
476
+ class: g(e.computedBorderClasses)
477
477
  }, null, 2),
478
478
  T("div", {
479
- class: h(e.computedBorderStateClasses)
479
+ class: g(e.computedBorderStateClasses)
480
480
  }, null, 2),
481
481
  e.hasIconLeft ? (v(), w("span", {
482
482
  key: 0,
483
- class: h(e.iconLeft)
483
+ class: g(e.iconLeft)
484
484
  }, [
485
485
  L(e.$slots, "icon-left")
486
486
  ], 2)) : V("", !0),
@@ -489,7 +489,7 @@ function ws(e, t, n, r, a, s) {
489
489
  ]),
490
490
  e.hasIconRight ? (v(), w("span", {
491
491
  key: 1,
492
- class: h(e.iconRight)
492
+ class: g(e.iconRight)
493
493
  }, [
494
494
  L(e.$slots, "icon-right")
495
495
  ], 2)) : V("", !0)
@@ -511,19 +511,19 @@ const ks = P({
511
511
  const t = Ie({
512
512
  size: X(e, "size")
513
513
  });
514
- return Ce(Sr, t), {
514
+ return Se(Cr, t), {
515
515
  classes: $s
516
516
  };
517
517
  }
518
518
  });
519
- function Cs(e, t, n, r, a, s) {
519
+ function Ss(e, t, n, r, a, s) {
520
520
  return v(), w("div", {
521
- class: h(e.classes)
521
+ class: g(e.classes)
522
522
  }, [
523
523
  L(e.$slots, "default")
524
524
  ], 2);
525
525
  }
526
- const Ss = /* @__PURE__ */ N(ks, [["render", Cs]]);
526
+ const Cs = /* @__PURE__ */ N(ks, [["render", Ss]]);
527
527
  function Ts(e) {
528
528
  return e === null || e.value === null ? null : "$el" in e.value ? e.value.$el : e.value;
529
529
  }
@@ -555,43 +555,43 @@ const oe = (e, {
555
555
  const a = $(!0), s = $(e.error), { id: o } = dn("input"), l = e.name ? e.name : o.value, i = $(l);
556
556
  K(
557
557
  () => e.error,
558
- (g) => s.value = g
558
+ (h) => s.value = h
559
559
  ), K(
560
560
  () => e.name,
561
- (g) => l.value = g
561
+ (h) => l.value = h
562
562
  );
563
563
  const u = fe(un, null), d = () => {
564
564
  s.value = "", a.value = !0, n("update:modelValue", "");
565
- }, c = (g) => {
566
- s.value = g;
567
- }, f = (g) => {
568
- g = g || e.modelValue, a.value = !1;
565
+ }, c = (h) => {
566
+ s.value = h;
567
+ }, f = (h) => {
568
+ h = h || e.modelValue, a.value = !1;
569
569
  for (let O = 0; O < e.rules.length; O++) {
570
570
  const k = e.rules[O];
571
571
  let M = !0;
572
572
  if (typeof k == "function")
573
- M = k(g);
573
+ M = k(h);
574
574
  else if (Array.isArray(k) && k.length === 2) {
575
575
  const { 0: R, 1: B } = k;
576
- M = R(g, B);
576
+ M = R(h, B);
577
577
  } else {
578
578
  const R = k.fn, { options: B } = k;
579
- M = R(g, B);
579
+ M = R(h, B);
580
580
  }
581
581
  if (M !== !0)
582
582
  return s.value = M, !1;
583
583
  }
584
584
  return s.value = "", !0;
585
585
  }, m = r ? p(() => ({
586
- blur: (g) => n("blur", g),
587
- focus: (g) => n("focus", g),
588
- input: (g) => {
586
+ blur: (h) => n("blur", h),
587
+ focus: (h) => n("focus", h),
588
+ input: (h) => {
589
589
  n(
590
590
  "update:modelValue",
591
- g.target.value
591
+ h.target.value
592
592
  );
593
593
  },
594
- change: (g) => n("change", g)
594
+ change: (h) => n("change", h)
595
595
  })) : {};
596
596
  return pe(() => {
597
597
  u == null || u.add(
@@ -697,7 +697,7 @@ const As = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
697
697
  setError: c,
698
698
  formError: f,
699
699
  formDisabled: m,
700
- formLoading: g,
700
+ formLoading: h,
701
701
  inputListeners: O
702
702
  } = oe(e, { focus: s, emit: n }), k = p(() => m || e.disabled || e.loading), M = X(e, "name"), R = p(() => !!t.default), B = p(() => [
703
703
  Mr,
@@ -706,7 +706,7 @@ const As = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
706
706
  [Or]: k.value,
707
707
  [Er]: e.indeterminate
708
708
  }
709
- ]), C = p(() => f.value || e.error), b = p({
709
+ ]), S = p(() => f.value || e.error), b = p({
710
710
  get() {
711
711
  return e.modelValue;
712
712
  },
@@ -730,7 +730,7 @@ const As = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
730
730
  disabled: k,
731
731
  name: M,
732
732
  checkboxRef: a,
733
- inputError: C,
733
+ inputError: S,
734
734
  toggle: b,
735
735
  style: As,
736
736
  classes: B,
@@ -743,7 +743,7 @@ const As = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
743
743
  }), zs = ["id", "name", "required", "value", "disabled", "checked", "indeterminate", "aria-disabled", "aria-labelledby"], Is = ["id"];
744
744
  function _s(e, t, n, r, a, s) {
745
745
  return v(), w("label", {
746
- class: h(e.style.base)
746
+ class: g(e.style.base)
747
747
  }, [
748
748
  jt(T("input", $e({
749
749
  id: e.name,
@@ -764,7 +764,7 @@ function _s(e, t, n, r, a, s) {
764
764
  [gr, e.toggle]
765
765
  ]),
766
766
  T("span", {
767
- class: h(e.style.label),
767
+ class: g(e.style.label),
768
768
  id: `${e.id}-label`
769
769
  }, [
770
770
  e.hasSlot ? L(e.$slots, "default", { key: 0 }) : (v(), w(Q, { key: 1 }, [
@@ -831,7 +831,7 @@ function ee(...e) {
831
831
  return;
832
832
  const f = Ds(c) ? { ...c } : c;
833
833
  s.push(
834
- ...n.flatMap((m) => r.map((g) => l(d, m, g, f)))
834
+ ...n.flatMap((m) => r.map((h) => l(d, m, h, f)))
835
835
  );
836
836
  },
837
837
  { immediate: !0, flush: "post" }
@@ -849,10 +849,10 @@ function fn(e, t, n = {}) {
849
849
  let l = !0;
850
850
  const i = (f) => a.some((m) => {
851
851
  if (typeof m == "string")
852
- return Array.from(r.document.querySelectorAll(m)).some((g) => g === f.target || f.composedPath().includes(g));
852
+ return Array.from(r.document.querySelectorAll(m)).some((h) => h === f.target || f.composedPath().includes(h));
853
853
  {
854
- const g = Fe(m);
855
- return g && (f.target === g || f.composedPath().includes(g));
854
+ const h = Fe(m);
855
+ return h && (f.target === h || f.composedPath().includes(h));
856
856
  }
857
857
  }), d = [
858
858
  ee(r, "click", (f) => {
@@ -872,8 +872,8 @@ function fn(e, t, n = {}) {
872
872
  o && ee(r, "blur", (f) => {
873
873
  setTimeout(() => {
874
874
  var m;
875
- const g = Fe(e);
876
- ((m = r.document.activeElement) == null ? void 0 : m.tagName) === "IFRAME" && !(g != null && g.contains(r.document.activeElement)) && t(f);
875
+ const h = Fe(e);
876
+ ((m = r.document.activeElement) == null ? void 0 : m.tagName) === "IFRAME" && !(h != null && h.contains(r.document.activeElement)) && t(f);
877
877
  }, 0);
878
878
  })
879
879
  ].filter(Boolean);
@@ -902,17 +902,17 @@ function Hs(e, t = {}) {
902
902
  initialValue: c,
903
903
  axis: f = "both",
904
904
  draggingElement: m = Qe,
905
- containerElement: g,
905
+ containerElement: h,
906
906
  handle: O = e
907
907
  } = t, k = $(
908
908
  (n = Be(c)) != null ? n : { x: 0, y: 0 }
909
909
  ), M = $(), R = (A) => a ? a.includes(A.pointerType) : !0, B = (A) => {
910
910
  Be(s) && A.preventDefault(), Be(o) && A.stopPropagation();
911
- }, C = (A) => {
911
+ }, S = (A) => {
912
912
  var _;
913
913
  if (!R(A) || Be(l) && A.target !== Be(e))
914
914
  return;
915
- const z = ((_ = Be(g)) != null ? _ : Be(e)).getBoundingClientRect(), y = {
915
+ const z = ((_ = Be(h)) != null ? _ : Be(e)).getBoundingClientRect(), y = {
916
916
  x: A.clientX - z.left,
917
917
  y: A.clientY - z.top
918
918
  };
@@ -930,7 +930,7 @@ function Hs(e, t = {}) {
930
930
  };
931
931
  if (cn) {
932
932
  const A = { capture: (r = t.capture) != null ? r : !0 };
933
- ee(O, "pointerdown", C, A), ee(m, "pointermove", b, A), ee(m, "pointerup", E, A);
933
+ ee(O, "pointerdown", S, A), ee(m, "pointermove", b, A), ee(m, "pointerup", E, A);
934
934
  }
935
935
  return {
936
936
  ...Vs(k),
@@ -969,7 +969,7 @@ function Ks(e = {}) {
969
969
  eventFilter: i
970
970
  } = e;
971
971
  let u = null;
972
- const d = $(a.x), c = $(a.y), f = $(null), m = typeof t == "function" ? t : qs[t], g = (b) => {
972
+ const d = $(a.x), c = $(a.y), f = $(null), m = typeof t == "function" ? t : qs[t], h = (b) => {
973
973
  const E = m(b);
974
974
  u = b, E && ([d.value, c.value] = E, f.value = "mouse");
975
975
  }, O = (b) => {
@@ -984,10 +984,10 @@ function Ks(e = {}) {
984
984
  u instanceof MouseEvent && b && (d.value = b[0] + s.scrollX, c.value = b[1] + s.scrollY);
985
985
  }, M = () => {
986
986
  d.value = a.x, c.value = a.y;
987
- }, R = i ? (b) => i(() => g(b), {}) : (b) => g(b), B = i ? (b) => i(() => O(b), {}) : (b) => O(b), C = i ? () => i(() => k(), {}) : () => k();
987
+ }, R = i ? (b) => i(() => h(b), {}) : (b) => h(b), B = i ? (b) => i(() => O(b), {}) : (b) => O(b), S = i ? () => i(() => k(), {}) : () => k();
988
988
  if (o) {
989
989
  const b = { passive: !0 };
990
- ee(o, ["mousemove", "dragover"], R, b), n && t !== "movement" && (ee(o, ["touchstart", "touchmove"], B, b), r && ee(o, "touchend", M, b)), l && t === "page" && ee(s, "scroll", C, { passive: !0 });
990
+ ee(o, ["mousemove", "dragover"], R, b), n && t !== "movement" && (ee(o, ["touchstart", "touchmove"], B, b), r && ee(o, "touchend", M, b)), l && t === "page" && ee(s, "scroll", S, { passive: !0 });
991
991
  }
992
992
  return {
993
993
  x: d,
@@ -999,7 +999,7 @@ function Br(e, t = {}) {
999
999
  const {
1000
1000
  handleOutside: n = !0,
1001
1001
  window: r = Qe
1002
- } = t, { x: a, y: s, sourceType: o } = Ks(t), l = $(e ?? (r == null ? void 0 : r.document.body)), i = $(0), u = $(0), d = $(0), c = $(0), f = $(0), m = $(0), g = $(!0);
1002
+ } = t, { x: a, y: s, sourceType: o } = Ks(t), l = $(e ?? (r == null ? void 0 : r.document.body)), i = $(0), u = $(0), d = $(0), c = $(0), f = $(0), m = $(0), h = $(!0);
1003
1003
  let O = () => {
1004
1004
  };
1005
1005
  return r && (O = K(
@@ -1012,15 +1012,15 @@ function Br(e, t = {}) {
1012
1012
  left: M,
1013
1013
  top: R,
1014
1014
  width: B,
1015
- height: C
1015
+ height: S
1016
1016
  } = k.getBoundingClientRect();
1017
- d.value = M + r.pageXOffset, c.value = R + r.pageYOffset, f.value = C, m.value = B;
1017
+ d.value = M + r.pageXOffset, c.value = R + r.pageYOffset, f.value = S, m.value = B;
1018
1018
  const b = a.value - d.value, E = s.value - c.value;
1019
- g.value = B === 0 || C === 0 || b < 0 || E < 0 || b > B || E > C, (n || !g.value) && (i.value = b, u.value = E);
1019
+ h.value = B === 0 || S === 0 || b < 0 || E < 0 || b > B || E > S, (n || !h.value) && (i.value = b, u.value = E);
1020
1020
  },
1021
1021
  { immediate: !0 }
1022
1022
  ), ee(document, "mouseleave", () => {
1023
- g.value = !0;
1023
+ h.value = !0;
1024
1024
  })), {
1025
1025
  x: a,
1026
1026
  y: s,
@@ -1031,7 +1031,7 @@ function Br(e, t = {}) {
1031
1031
  elementPositionY: c,
1032
1032
  elementHeight: f,
1033
1033
  elementWidth: m,
1034
- isOutside: g,
1034
+ isOutside: h,
1035
1035
  stop: O
1036
1036
  };
1037
1037
  }
@@ -1098,11 +1098,11 @@ const al = (e, t, n, r) => {
1098
1098
  const a = e, s = t * n, o = a / 60, l = s * (1 - Math.abs(o % 2 - 1));
1099
1099
  let i = 0, u = 0, d = 0;
1100
1100
  o >= 0 && o < 1 ? (i = s, u = l) : o >= 1 && o < 2 ? (i = l, u = s) : o >= 2 && o < 3 ? (u = s, d = l) : o >= 3 && o < 4 ? (u = l, d = s) : o >= 4 && o < 5 ? (i = l, d = s) : (i = s, d = l);
1101
- const c = t - s, f = Math.round((i + c) * 255), m = Math.round((u + c) * 255), g = Math.round((d + c) * 255);
1101
+ const c = t - s, f = Math.round((i + c) * 255), m = Math.round((u + c) * 255), h = Math.round((d + c) * 255);
1102
1102
  return {
1103
1103
  r: f,
1104
1104
  g: m,
1105
- b: g,
1105
+ b: h,
1106
1106
  a: r
1107
1107
  };
1108
1108
  }, ll = (e, t) => {
@@ -1117,7 +1117,7 @@ const al = (e, t, n, r) => {
1117
1117
  a: t
1118
1118
  };
1119
1119
  };
1120
- var ge = "top", Se = "bottom", Te = "right", ye = "left", Dt = "auto", vt = [ge, Se, Te, ye], Ue = "start", ut = "end", il = "clippingParents", jr = "viewport", ot = "popper", ul = "reference", In = /* @__PURE__ */ vt.reduce(function(e, t) {
1120
+ var ge = "top", Ce = "bottom", Te = "right", ye = "left", Dt = "auto", vt = [ge, Ce, Te, ye], Ue = "start", ut = "end", il = "clippingParents", jr = "viewport", ot = "popper", ul = "reference", In = /* @__PURE__ */ vt.reduce(function(e, t) {
1121
1121
  return e.concat([t + "-" + Ue, t + "-" + ut]);
1122
1122
  }, []), Lr = /* @__PURE__ */ [].concat(vt, [Dt]).reduce(function(e, t) {
1123
1123
  return e.concat([t, t + "-" + Ue, t + "-" + ut]);
@@ -1270,7 +1270,7 @@ function _n(e) {
1270
1270
  return !we(e) || // https://github.com/popperjs/popper-core/issues/837
1271
1271
  Ee(e).position === "fixed" ? null : e.offsetParent;
1272
1272
  }
1273
- function Cl(e) {
1273
+ function Sl(e) {
1274
1274
  var t = /firefox/i.test(Qt()), n = /Trident/i.test(Qt());
1275
1275
  if (n && we(e)) {
1276
1276
  var r = Ee(e);
@@ -1289,7 +1289,7 @@ function Cl(e) {
1289
1289
  function mt(e) {
1290
1290
  for (var t = Me(e), n = _n(e); n && kl(n) && Ee(n).position === "static"; )
1291
1291
  n = _n(n);
1292
- return n && (ze(n) === "html" || ze(n) === "body" && Ee(n).position === "static") ? t : n || Cl(e) || t;
1292
+ return n && (ze(n) === "html" || ze(n) === "body" && Ee(n).position === "static") ? t : n || Sl(e) || t;
1293
1293
  }
1294
1294
  function mn(e) {
1295
1295
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
@@ -1297,7 +1297,7 @@ function mn(e) {
1297
1297
  function st(e, t, n) {
1298
1298
  return xe(e, Bt(t, n));
1299
1299
  }
1300
- function Sl(e, t, n) {
1300
+ function Cl(e, t, n) {
1301
1301
  var r = st(e, t, n);
1302
1302
  return r > n ? n : r;
1303
1303
  }
@@ -1325,7 +1325,7 @@ var Tl = function(t, n) {
1325
1325
  function Ml(e) {
1326
1326
  var t, n = e.state, r = e.name, a = e.options, s = n.elements.arrow, o = n.modifiersData.popperOffsets, l = Oe(n.placement), i = mn(l), u = [ye, Te].indexOf(l) >= 0, d = u ? "height" : "width";
1327
1327
  if (!(!s || !o)) {
1328
- var c = Tl(a.padding, n), f = vn(s), m = i === "y" ? ge : ye, g = i === "y" ? Se : Te, O = n.rects.reference[d] + n.rects.reference[i] - o[i] - n.rects.popper[d], k = o[i] - n.rects.reference[i], M = mt(s), R = M ? i === "y" ? M.clientHeight || 0 : M.clientWidth || 0 : 0, B = O / 2 - k / 2, C = c[m], b = R - f[d] - c[g], E = R / 2 - f[d] / 2 + B, A = st(C, E, b), _ = i;
1328
+ var c = Tl(a.padding, n), f = vn(s), m = i === "y" ? ge : ye, h = i === "y" ? Ce : Te, O = n.rects.reference[d] + n.rects.reference[i] - o[i] - n.rects.popper[d], k = o[i] - n.rects.reference[i], M = mt(s), R = M ? i === "y" ? M.clientHeight || 0 : M.clientWidth || 0 : 0, B = O / 2 - k / 2, S = c[m], b = R - f[d] - c[h], E = R / 2 - f[d] / 2 + B, A = st(S, E, b), _ = i;
1329
1329
  n.modifiersData[r] = (t = {}, t[_] = A, t.centerOffset = A - E, t);
1330
1330
  }
1331
1331
  }
@@ -1365,7 +1365,7 @@ function Al(e) {
1365
1365
  };
1366
1366
  }
1367
1367
  function jn(e) {
1368
- var t, n = e.popper, r = e.popperRect, a = e.placement, s = e.variation, o = e.offsets, l = e.position, i = e.gpuAcceleration, u = e.adaptive, d = e.roundOffsets, c = e.isFixed, f = o.x, m = f === void 0 ? 0 : f, g = o.y, O = g === void 0 ? 0 : g, k = typeof d == "function" ? d({
1368
+ var t, n = e.popper, r = e.popperRect, a = e.placement, s = e.variation, o = e.offsets, l = e.position, i = e.gpuAcceleration, u = e.adaptive, d = e.roundOffsets, c = e.isFixed, f = o.x, m = f === void 0 ? 0 : f, h = o.y, O = h === void 0 ? 0 : h, k = typeof d == "function" ? d({
1369
1369
  x: m,
1370
1370
  y: O
1371
1371
  }) : {
@@ -1373,18 +1373,18 @@ function jn(e) {
1373
1373
  y: O
1374
1374
  };
1375
1375
  m = k.x, O = k.y;
1376
- var M = o.hasOwnProperty("x"), R = o.hasOwnProperty("y"), B = ye, C = ge, b = window;
1376
+ var M = o.hasOwnProperty("x"), R = o.hasOwnProperty("y"), B = ye, S = ge, b = window;
1377
1377
  if (u) {
1378
1378
  var E = mt(n), A = "clientHeight", _ = "clientWidth";
1379
1379
  if (E === Me(n) && (E = Pe(n), Ee(E).position !== "static" && l === "absolute" && (A = "scrollHeight", _ = "scrollWidth")), E = E, a === ge || (a === ye || a === Te) && s === ut) {
1380
- C = Se;
1380
+ S = Ce;
1381
1381
  var j = c && E === b && b.visualViewport ? b.visualViewport.height : (
1382
1382
  // $FlowFixMe[prop-missing]
1383
1383
  E[A]
1384
1384
  );
1385
1385
  O -= j - r.height, O *= i ? 1 : -1;
1386
1386
  }
1387
- if (a === ye || (a === ge || a === Se) && s === ut) {
1387
+ if (a === ye || (a === ge || a === Ce) && s === ut) {
1388
1388
  B = Te;
1389
1389
  var z = c && E === b && b.visualViewport ? b.visualViewport.width : (
1390
1390
  // $FlowFixMe[prop-missing]
@@ -1395,18 +1395,18 @@ function jn(e) {
1395
1395
  }
1396
1396
  var y = Object.assign({
1397
1397
  position: l
1398
- }, u && Rl), S = d === !0 ? Al({
1398
+ }, u && Rl), C = d === !0 ? Al({
1399
1399
  x: m,
1400
1400
  y: O
1401
1401
  }) : {
1402
1402
  x: m,
1403
1403
  y: O
1404
1404
  };
1405
- if (m = S.x, O = S.y, i) {
1405
+ if (m = C.x, O = C.y, i) {
1406
1406
  var D;
1407
- return Object.assign({}, y, (D = {}, D[C] = R ? "0" : "", D[B] = M ? "0" : "", D.transform = (b.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " + O + "px)" : "translate3d(" + m + "px, " + O + "px, 0)", D));
1407
+ return Object.assign({}, y, (D = {}, D[S] = R ? "0" : "", D[B] = M ? "0" : "", D.transform = (b.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " + O + "px)" : "translate3d(" + m + "px, " + O + "px, 0)", D));
1408
1408
  }
1409
- return Object.assign({}, y, (t = {}, t[C] = R ? O + "px" : "", t[B] = M ? m + "px" : "", t.transform = "", t));
1409
+ return Object.assign({}, y, (t = {}, t[S] = R ? O + "px" : "", t[B] = M ? m + "px" : "", t.transform = "", t));
1410
1410
  }
1411
1411
  function Bl(e) {
1412
1412
  var t = e.state, n = e.options, r = n.gpuAcceleration, a = r === void 0 ? !0 : r, s = n.adaptive, o = s === void 0 ? !0 : s, l = n.roundOffsets, i = l === void 0 ? !0 : l;
@@ -1577,7 +1577,7 @@ function Hr(e) {
1577
1577
  y: t.y - n.height
1578
1578
  };
1579
1579
  break;
1580
- case Se:
1580
+ case Ce:
1581
1581
  i = {
1582
1582
  x: o,
1583
1583
  y: t.y + t.height
@@ -1617,7 +1617,7 @@ function Hr(e) {
1617
1617
  }
1618
1618
  function dt(e, t) {
1619
1619
  t === void 0 && (t = {});
1620
- var n = t, r = n.placement, a = r === void 0 ? e.placement : r, s = n.strategy, o = s === void 0 ? e.strategy : s, l = n.boundary, i = l === void 0 ? il : l, u = n.rootBoundary, d = u === void 0 ? jr : u, c = n.elementContext, f = c === void 0 ? ot : c, m = n.altBoundary, g = m === void 0 ? !1 : m, O = n.padding, k = O === void 0 ? 0 : O, M = Vr(typeof k != "number" ? k : Fr(k, vt)), R = f === ot ? ul : ot, B = e.rects.popper, C = e.elements[g ? R : f], b = Fl(qe(C) ? C : C.contextElement || Pe(e.elements.popper), i, d, o), E = Ye(e.elements.reference), A = Hr({
1620
+ var n = t, r = n.placement, a = r === void 0 ? e.placement : r, s = n.strategy, o = s === void 0 ? e.strategy : s, l = n.boundary, i = l === void 0 ? il : l, u = n.rootBoundary, d = u === void 0 ? jr : u, c = n.elementContext, f = c === void 0 ? ot : c, m = n.altBoundary, h = m === void 0 ? !1 : m, O = n.padding, k = O === void 0 ? 0 : O, M = Vr(typeof k != "number" ? k : Fr(k, vt)), R = f === ot ? ul : ot, B = e.rects.popper, S = e.elements[h ? R : f], b = Fl(qe(S) ? S : S.contextElement || Pe(e.elements.popper), i, d, o), E = Ye(e.elements.reference), A = Hr({
1621
1621
  reference: E,
1622
1622
  element: B,
1623
1623
  strategy: "absolute",
@@ -1629,32 +1629,32 @@ function dt(e, t) {
1629
1629
  right: j.right - b.right + M.right
1630
1630
  }, y = e.modifiersData.offset;
1631
1631
  if (f === ot && y) {
1632
- var S = y[a];
1632
+ var C = y[a];
1633
1633
  Object.keys(z).forEach(function(D) {
1634
- var x = [Te, Se].indexOf(D) >= 0 ? 1 : -1, q = [ge, Se].indexOf(D) >= 0 ? "y" : "x";
1635
- z[D] += S[q] * x;
1634
+ var x = [Te, Ce].indexOf(D) >= 0 ? 1 : -1, q = [ge, Ce].indexOf(D) >= 0 ? "y" : "x";
1635
+ z[D] += C[q] * x;
1636
1636
  });
1637
1637
  }
1638
1638
  return z;
1639
1639
  }
1640
1640
  function xl(e, t) {
1641
1641
  t === void 0 && (t = {});
1642
- var n = t, r = n.placement, a = n.boundary, s = n.rootBoundary, o = n.padding, l = n.flipVariations, i = n.allowedAutoPlacements, u = i === void 0 ? Lr : i, d = Ze(r), c = d ? l ? In : In.filter(function(g) {
1643
- return Ze(g) === d;
1644
- }) : vt, f = c.filter(function(g) {
1645
- return u.indexOf(g) >= 0;
1642
+ var n = t, r = n.placement, a = n.boundary, s = n.rootBoundary, o = n.padding, l = n.flipVariations, i = n.allowedAutoPlacements, u = i === void 0 ? Lr : i, d = Ze(r), c = d ? l ? In : In.filter(function(h) {
1643
+ return Ze(h) === d;
1644
+ }) : vt, f = c.filter(function(h) {
1645
+ return u.indexOf(h) >= 0;
1646
1646
  });
1647
1647
  f.length === 0 && (f = c, process.env.NODE_ENV !== "production" && console.error(["Popper: The `allowedAutoPlacements` option did not allow any", "placements. Ensure the `placement` option matches the variation", "of the allowed placements.", 'For example, "auto" cannot be used to allow "bottom-start".', 'Use "auto-start" instead.'].join(" ")));
1648
- var m = f.reduce(function(g, O) {
1649
- return g[O] = dt(e, {
1648
+ var m = f.reduce(function(h, O) {
1649
+ return h[O] = dt(e, {
1650
1650
  placement: O,
1651
1651
  boundary: a,
1652
1652
  rootBoundary: s,
1653
1653
  padding: o
1654
- })[Oe(O)], g;
1654
+ })[Oe(O)], h;
1655
1655
  }, {});
1656
- return Object.keys(m).sort(function(g, O) {
1657
- return m[g] - m[O];
1656
+ return Object.keys(m).sort(function(h, O) {
1657
+ return m[h] - m[O];
1658
1658
  });
1659
1659
  }
1660
1660
  function Hl(e) {
@@ -1666,26 +1666,26 @@ function Hl(e) {
1666
1666
  function Wl(e) {
1667
1667
  var t = e.state, n = e.options, r = e.name;
1668
1668
  if (!t.modifiersData[r]._skip) {
1669
- for (var a = n.mainAxis, s = a === void 0 ? !0 : a, o = n.altAxis, l = o === void 0 ? !0 : o, i = n.fallbackPlacements, u = n.padding, d = n.boundary, c = n.rootBoundary, f = n.altBoundary, m = n.flipVariations, g = m === void 0 ? !0 : m, O = n.allowedAutoPlacements, k = t.options.placement, M = Oe(k), R = M === k, B = i || (R || !g ? [Ot(k)] : Hl(k)), C = [k].concat(B).reduce(function(_e, G) {
1669
+ for (var a = n.mainAxis, s = a === void 0 ? !0 : a, o = n.altAxis, l = o === void 0 ? !0 : o, i = n.fallbackPlacements, u = n.padding, d = n.boundary, c = n.rootBoundary, f = n.altBoundary, m = n.flipVariations, h = m === void 0 ? !0 : m, O = n.allowedAutoPlacements, k = t.options.placement, M = Oe(k), R = M === k, B = i || (R || !h ? [Ot(k)] : Hl(k)), S = [k].concat(B).reduce(function(_e, G) {
1670
1670
  return _e.concat(Oe(G) === Dt ? xl(t, {
1671
1671
  placement: G,
1672
1672
  boundary: d,
1673
1673
  rootBoundary: c,
1674
1674
  padding: u,
1675
- flipVariations: g,
1675
+ flipVariations: h,
1676
1676
  allowedAutoPlacements: O
1677
1677
  }) : G);
1678
- }, []), b = t.rects.reference, E = t.rects.popper, A = /* @__PURE__ */ new Map(), _ = !0, j = C[0], z = 0; z < C.length; z++) {
1679
- var y = C[z], S = Oe(y), D = Ze(y) === Ue, x = [ge, Se].indexOf(S) >= 0, q = x ? "width" : "height", I = dt(t, {
1678
+ }, []), b = t.rects.reference, E = t.rects.popper, A = /* @__PURE__ */ new Map(), _ = !0, j = S[0], z = 0; z < S.length; z++) {
1679
+ var y = S[z], C = Oe(y), D = Ze(y) === Ue, x = [ge, Ce].indexOf(C) >= 0, q = x ? "width" : "height", I = dt(t, {
1680
1680
  placement: y,
1681
1681
  boundary: d,
1682
1682
  rootBoundary: c,
1683
1683
  altBoundary: f,
1684
1684
  padding: u
1685
- }), W = x ? D ? Te : ye : D ? Se : ge;
1685
+ }), W = x ? D ? Te : ye : D ? Ce : ge;
1686
1686
  b[q] > E[q] && (W = Ot(W));
1687
1687
  var Z = Ot(W), ae = [];
1688
- if (s && ae.push(I[S] <= 0), l && ae.push(I[W] <= 0, I[Z] <= 0), ae.every(function(_e) {
1688
+ if (s && ae.push(I[C] <= 0), l && ae.push(I[W] <= 0, I[Z] <= 0), ae.every(function(_e) {
1689
1689
  return _e;
1690
1690
  })) {
1691
1691
  j = y, _ = !1;
@@ -1694,8 +1694,8 @@ function Wl(e) {
1694
1694
  A.set(y, ae);
1695
1695
  }
1696
1696
  if (_)
1697
- for (var ue = g ? 3 : 1, be = function(G) {
1698
- var de = C.find(function(ve) {
1697
+ for (var ue = h ? 3 : 1, be = function(G) {
1698
+ var de = S.find(function(ve) {
1699
1699
  var ce = A.get(ve);
1700
1700
  if (ce)
1701
1701
  return ce.slice(0, G).every(function(tt) {
@@ -1734,7 +1734,7 @@ function Pn(e, t, n) {
1734
1734
  };
1735
1735
  }
1736
1736
  function Nn(e) {
1737
- return [ge, Te, Se, ye].some(function(t) {
1737
+ return [ge, Te, Ce, ye].some(function(t) {
1738
1738
  return e[t] >= 0;
1739
1739
  });
1740
1740
  }
@@ -1806,12 +1806,12 @@ function Ql(e) {
1806
1806
  return e === "x" ? "y" : "x";
1807
1807
  }
1808
1808
  function ei(e) {
1809
- var t = e.state, n = e.options, r = e.name, a = n.mainAxis, s = a === void 0 ? !0 : a, o = n.altAxis, l = o === void 0 ? !1 : o, i = n.boundary, u = n.rootBoundary, d = n.altBoundary, c = n.padding, f = n.tether, m = f === void 0 ? !0 : f, g = n.tetherOffset, O = g === void 0 ? 0 : g, k = dt(t, {
1809
+ var t = e.state, n = e.options, r = e.name, a = n.mainAxis, s = a === void 0 ? !0 : a, o = n.altAxis, l = o === void 0 ? !1 : o, i = n.boundary, u = n.rootBoundary, d = n.altBoundary, c = n.padding, f = n.tether, m = f === void 0 ? !0 : f, h = n.tetherOffset, O = h === void 0 ? 0 : h, k = dt(t, {
1810
1810
  boundary: i,
1811
1811
  rootBoundary: u,
1812
1812
  padding: c,
1813
1813
  altBoundary: d
1814
- }), M = Oe(t.placement), R = Ze(t.placement), B = !R, C = mn(M), b = Ql(C), E = t.modifiersData.popperOffsets, A = t.rects.reference, _ = t.rects.popper, j = typeof O == "function" ? O(Object.assign({}, t.rects, {
1814
+ }), M = Oe(t.placement), R = Ze(t.placement), B = !R, S = mn(M), b = Ql(S), E = t.modifiersData.popperOffsets, A = t.rects.reference, _ = t.rects.popper, j = typeof O == "function" ? O(Object.assign({}, t.rects, {
1815
1815
  placement: t.placement
1816
1816
  })) : O, z = typeof j == "number" ? {
1817
1817
  mainAxis: j,
@@ -1819,23 +1819,23 @@ function ei(e) {
1819
1819
  } : Object.assign({
1820
1820
  mainAxis: 0,
1821
1821
  altAxis: 0
1822
- }, j), y = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, S = {
1822
+ }, j), y = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, C = {
1823
1823
  x: 0,
1824
1824
  y: 0
1825
1825
  };
1826
1826
  if (E) {
1827
1827
  if (s) {
1828
- var D, x = C === "y" ? ge : ye, q = C === "y" ? Se : Te, I = C === "y" ? "height" : "width", W = E[C], Z = W + k[x], ae = W - k[q], ue = m ? -_[I] / 2 : 0, be = R === Ue ? A[I] : _[I], se = R === Ue ? -_[I] : -A[I], ke = t.elements.arrow, _e = m && ke ? vn(ke) : {
1828
+ var D, x = S === "y" ? ge : ye, q = S === "y" ? Ce : Te, I = S === "y" ? "height" : "width", W = E[S], Z = W + k[x], ae = W - k[q], ue = m ? -_[I] / 2 : 0, be = R === Ue ? A[I] : _[I], se = R === Ue ? -_[I] : -A[I], ke = t.elements.arrow, _e = m && ke ? vn(ke) : {
1829
1829
  width: 0,
1830
1830
  height: 0
1831
- }, G = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Nr(), de = G[x], ve = G[q], ce = st(0, A[I], _e[I]), tt = B ? A[I] / 2 - ue - ce - de - z.mainAxis : be - ce - de - z.mainAxis, Vt = B ? -A[I] / 2 + ue + ce + ve + z.mainAxis : se + ce + ve + z.mainAxis, F = t.elements.arrow && mt(t.elements.arrow), te = F ? C === "y" ? F.clientTop || 0 : F.clientLeft || 0 : 0, U = (D = y == null ? void 0 : y[C]) != null ? D : 0, Re = W + tt - U - te, nt = W + Vt - U, kn = st(m ? Bt(Z, Re) : Z, W, m ? xe(ae, nt) : ae);
1832
- E[C] = kn, S[C] = kn - W;
1831
+ }, G = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Nr(), de = G[x], ve = G[q], ce = st(0, A[I], _e[I]), tt = B ? A[I] / 2 - ue - ce - de - z.mainAxis : be - ce - de - z.mainAxis, Vt = B ? -A[I] / 2 + ue + ce + ve + z.mainAxis : se + ce + ve + z.mainAxis, F = t.elements.arrow && mt(t.elements.arrow), te = F ? S === "y" ? F.clientTop || 0 : F.clientLeft || 0 : 0, U = (D = y == null ? void 0 : y[S]) != null ? D : 0, Re = W + tt - U - te, nt = W + Vt - U, kn = st(m ? Bt(Z, Re) : Z, W, m ? xe(ae, nt) : ae);
1832
+ E[S] = kn, C[S] = kn - W;
1833
1833
  }
1834
1834
  if (l) {
1835
- var Cn, io = C === "x" ? ge : ye, uo = C === "x" ? Se : Te, Ne = E[b], ht = b === "y" ? "height" : "width", Sn = Ne + k[io], Tn = Ne - k[uo], Ft = [ge, ye].indexOf(M) !== -1, Mn = (Cn = y == null ? void 0 : y[b]) != null ? Cn : 0, On = Ft ? Sn : Ne - A[ht] - _[ht] - Mn + z.altAxis, En = Ft ? Ne + A[ht] + _[ht] - Mn - z.altAxis : Tn, Rn = m && Ft ? Sl(On, Ne, En) : st(m ? On : Sn, Ne, m ? En : Tn);
1836
- E[b] = Rn, S[b] = Rn - Ne;
1835
+ var Sn, io = S === "x" ? ge : ye, uo = S === "x" ? Ce : Te, Ne = E[b], ht = b === "y" ? "height" : "width", Cn = Ne + k[io], Tn = Ne - k[uo], Ft = [ge, ye].indexOf(M) !== -1, Mn = (Sn = y == null ? void 0 : y[b]) != null ? Sn : 0, On = Ft ? Cn : Ne - A[ht] - _[ht] - Mn + z.altAxis, En = Ft ? Ne + A[ht] + _[ht] - Mn - z.altAxis : Tn, Rn = m && Ft ? Cl(On, Ne, En) : st(m ? On : Cn, Ne, m ? En : Tn);
1836
+ E[b] = Rn, C[b] = Rn - Ne;
1837
1837
  }
1838
- t.modifiersData[r] = S;
1838
+ t.modifiersData[r] = C;
1839
1839
  }
1840
1840
  }
1841
1841
  const ti = {
@@ -2023,14 +2023,14 @@ function vi(e) {
2023
2023
  if (d.orderedModifiers = B.filter(function(y) {
2024
2024
  return y.enabled;
2025
2025
  }), process.env.NODE_ENV !== "production") {
2026
- var C = ci([].concat(B, d.options.modifiers), function(y) {
2027
- var S = y.name;
2028
- return S;
2026
+ var S = ci([].concat(B, d.options.modifiers), function(y) {
2027
+ var C = y.name;
2028
+ return C;
2029
2029
  });
2030
- if (di(C), Oe(d.options.placement) === Dt) {
2030
+ if (di(S), Oe(d.options.placement) === Dt) {
2031
2031
  var b = d.orderedModifiers.find(function(y) {
2032
- var S = y.name;
2033
- return S === "flip";
2032
+ var C = y.name;
2033
+ return C === "flip";
2034
2034
  });
2035
2035
  b || console.error(['Popper: "auto" placements require the "flip" modifier be', "present and enabled to work."].join(" "));
2036
2036
  }
@@ -2039,7 +2039,7 @@ function vi(e) {
2039
2039
  return parseFloat(y);
2040
2040
  }) && console.warn(['Popper: CSS "margin" styles cannot be used to apply padding', "between the popper and its reference element or boundary.", "To replicate margin, use the `offset` modifier, as well as", "the `padding` option in the `preventOverflow` and `flip`", "modifiers."].join(" "));
2041
2041
  }
2042
- return g(), m.update();
2042
+ return h(), m.update();
2043
2043
  },
2044
2044
  // Sync update – it will always be executed, even if not necessary. This
2045
2045
  // is useful for low frequency updates where sync behavior simplifies the
@@ -2059,8 +2059,8 @@ function vi(e) {
2059
2059
  }, d.reset = !1, d.placement = d.options.placement, d.orderedModifiers.forEach(function(y) {
2060
2060
  return d.modifiersData[y.name] = Object.assign({}, y.data);
2061
2061
  });
2062
- for (var C = 0, b = 0; b < d.orderedModifiers.length; b++) {
2063
- if (process.env.NODE_ENV !== "production" && (C += 1, C > 100)) {
2062
+ for (var S = 0, b = 0; b < d.orderedModifiers.length; b++) {
2063
+ if (process.env.NODE_ENV !== "production" && (S += 1, S > 100)) {
2064
2064
  console.error(pi);
2065
2065
  break;
2066
2066
  }
@@ -2094,11 +2094,11 @@ function vi(e) {
2094
2094
  m.setOptions(u).then(function(k) {
2095
2095
  !f && u.onFirstUpdate && u.onFirstUpdate(k);
2096
2096
  });
2097
- function g() {
2097
+ function h() {
2098
2098
  d.orderedModifiers.forEach(function(k) {
2099
- var M = k.name, R = k.options, B = R === void 0 ? {} : R, C = k.effect;
2100
- if (typeof C == "function") {
2101
- var b = C({
2099
+ var M = k.name, R = k.options, B = R === void 0 ? {} : R, S = k.effect;
2100
+ if (typeof S == "function") {
2101
+ var b = S({
2102
2102
  state: d,
2103
2103
  name: M,
2104
2104
  instance: m,
@@ -2179,7 +2179,7 @@ function Nt(e) {
2179
2179
  });
2180
2180
  let c = null;
2181
2181
  n && K(n, (M) => {
2182
- g(M), f();
2182
+ h(M), f();
2183
2183
  }), pe(() => {
2184
2184
  Ge(m);
2185
2185
  }), _t(k);
@@ -2195,7 +2195,7 @@ function Nt(e) {
2195
2195
  M(), R();
2196
2196
  };
2197
2197
  }
2198
- function g(M) {
2198
+ function h(M) {
2199
2199
  l.value = typeof M == "boolean" ? M ? "body" : "" : M;
2200
2200
  }
2201
2201
  function O() {
@@ -2235,13 +2235,13 @@ const Wn = $(0), bi = 1e3, wi = Symbol("ZINDEX"), et = (e) => {
2235
2235
  nextZIndex: () => (Wn.value++, r.value)
2236
2236
  };
2237
2237
  };
2238
- var $i = "_16zb7bi3", ki = "_16zb7bi0", Ci = "_16zb7bi2", Si = "_16zb7bi1";
2238
+ var $i = "_16zb7bi3", ki = "_16zb7bi0", Si = "_16zb7bi2", Ci = "_16zb7bi1";
2239
2239
  const Ti = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2240
2240
  __proto__: null,
2241
2241
  hueSliderThumb: $i,
2242
2242
  slider: ki,
2243
- sliderBar: Ci,
2244
- sliderTransparent: Si
2243
+ sliderBar: Si,
2244
+ sliderTransparent: Ci
2245
2245
  }, Symbol.toStringTag, { value: "Module" })), Mi = P({
2246
2246
  name: "MSlider",
2247
2247
  props: {
@@ -2281,15 +2281,15 @@ const Ti = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2281
2281
  });
2282
2282
  function Oi(e, t, n, r, a, s) {
2283
2283
  return v(), w("div", {
2284
- class: h(e.style.slider)
2284
+ class: g(e.style.slider)
2285
2285
  }, [
2286
2286
  T("div", {
2287
- class: h(e.style.sliderTransparent)
2287
+ class: g(e.style.sliderTransparent)
2288
2288
  }, [
2289
2289
  T("div", {
2290
2290
  ref: "slider",
2291
2291
  onMousedown: t[0] || (t[0] = (...o) => e.handleMouseDown && e.handleMouseDown(...o)),
2292
- class: h(e.style.sliderBar),
2292
+ class: g(e.style.sliderBar),
2293
2293
  style: re({ background: e.background })
2294
2294
  }, null, 38)
2295
2295
  ], 2),
@@ -2299,7 +2299,7 @@ function Oi(e, t, n, r, a, s) {
2299
2299
  }, [
2300
2300
  T("div", {
2301
2301
  draggable: "",
2302
- class: h(e.style.hueSliderThumb),
2302
+ class: g(e.style.hueSliderThumb),
2303
2303
  onMousedown: t[1] || (t[1] = (...o) => e.handleMouseDown && e.handleMouseDown(...o)),
2304
2304
  style: re({ left: `${e.modelValue}%` })
2305
2305
  }, null, 38)
@@ -2384,16 +2384,16 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2384
2384
  validate: c,
2385
2385
  setError: f,
2386
2386
  formError: m,
2387
- formDisabled: g,
2387
+ formDisabled: h,
2388
2388
  formLoading: O
2389
- } = oe(e, { focus: s, emit: n }), k = $(!1), M = X(e, "name"), R = p(() => !!t["icon-left"]), B = p(() => !!t["icon-right"]), C = p(() => !!t.prefix), b = p(() => !!t.suffix), E = p(() => !!(t["help-message"] || t.help)), A = p(() => g || e.disabled), _ = p(() => O || e.loading), j = p(() => {
2389
+ } = oe(e, { focus: s, emit: n }), k = $(!1), M = X(e, "name"), R = p(() => !!t["icon-left"]), B = p(() => !!t["icon-right"]), S = p(() => !!t.prefix), b = p(() => !!t.suffix), E = p(() => !!(t["help-message"] || t.help)), A = p(() => h || e.disabled), _ = p(() => O || e.loading), j = p(() => {
2390
2390
  const I = e.type;
2391
2391
  return I === "password" ? k.value ? "text" : "password" : I;
2392
2392
  }), z = p(() => e.loading || e.readonly), y = p(() => [
2393
2393
  {
2394
2394
  [Et]: e.block
2395
2395
  }
2396
- ]), S = p(() => [
2396
+ ]), C = p(() => [
2397
2397
  Jr,
2398
2398
  qr,
2399
2399
  Zr[e.size],
@@ -2423,13 +2423,13 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2423
2423
  loading: _,
2424
2424
  readonly: z,
2425
2425
  inputComputedClasses: D,
2426
- wrapperComputedClasses: S,
2426
+ wrapperComputedClasses: C,
2427
2427
  computedContainerClasses: y,
2428
2428
  name: M,
2429
2429
  hasLeftIcon: R,
2430
2430
  hasRightIcon: B,
2431
2431
  hasSuffix: b,
2432
- hasPrefix: C,
2432
+ hasPrefix: S,
2433
2433
  hasHelpMessage: E,
2434
2434
  inputError: x,
2435
2435
  style: Di,
@@ -2445,30 +2445,30 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2445
2445
  function Fi(e, t, n, r, a, s) {
2446
2446
  return v(), w("div", {
2447
2447
  ref: "container",
2448
- class: h(e.computedContainerClasses)
2448
+ class: g(e.computedContainerClasses)
2449
2449
  }, [
2450
2450
  e.label ? (v(), w("label", {
2451
2451
  key: 0,
2452
2452
  for: e.id,
2453
2453
  id: `${e.id}-label`,
2454
- class: h(e.style.label)
2454
+ class: g(e.style.label)
2455
2455
  }, H(e.label), 11, Ni)) : V("", !0),
2456
2456
  e.description ? (v(), w("div", {
2457
2457
  key: 1,
2458
- class: h(e.style.description)
2458
+ class: g(e.style.description)
2459
2459
  }, H(e.description), 3)) : V("", !0),
2460
2460
  T("div", {
2461
- class: h(e.wrapperComputedClasses)
2461
+ class: g(e.wrapperComputedClasses)
2462
2462
  }, [
2463
2463
  e.hasLeftIcon ? (v(), w("div", {
2464
2464
  key: 0,
2465
- class: h(e.style.leftIcon)
2465
+ class: g(e.style.leftIcon)
2466
2466
  }, [
2467
2467
  L(e.$slots, "icon-left")
2468
2468
  ], 2)) : V("", !0),
2469
2469
  e.hasPrefix ? (v(), w("div", {
2470
2470
  key: 1,
2471
- class: h(e.style.prefix)
2471
+ class: g(e.style.prefix)
2472
2472
  }, [
2473
2473
  L(e.$slots, "prefix")
2474
2474
  ], 2)) : V("", !0),
@@ -2487,26 +2487,26 @@ function Fi(e, t, n, r, a, s) {
2487
2487
  }), null, 16, Vi),
2488
2488
  e.hasSuffix ? (v(), w("div", {
2489
2489
  key: 2,
2490
- class: h(e.style.suffix)
2490
+ class: g(e.style.suffix)
2491
2491
  }, [
2492
2492
  L(e.$slots, "suffix")
2493
2493
  ], 2)) : V("", !0),
2494
2494
  e.hasRightIcon ? (v(), w("div", {
2495
2495
  key: 3,
2496
- class: h(e.style.rightIcon)
2496
+ class: g(e.style.rightIcon)
2497
2497
  }, [
2498
2498
  L(e.$slots, "icon-right")
2499
2499
  ], 2)) : V("", !0)
2500
2500
  ], 2),
2501
2501
  e.hasHelpMessage ? (v(), w("div", {
2502
2502
  key: 2,
2503
- class: h(e.style.helpMessage)
2503
+ class: g(e.style.helpMessage)
2504
2504
  }, [
2505
2505
  L(e.$slots, "help")
2506
2506
  ], 2)) : V("", !0),
2507
2507
  e.inputError ? (v(), w("div", {
2508
2508
  key: 3,
2509
- class: h(e.style.errorMessage)
2509
+ class: g(e.style.errorMessage)
2510
2510
  }, H(e.inputError), 3)) : V("", !0)
2511
2511
  ], 2);
2512
2512
  }
@@ -2536,24 +2536,24 @@ const Qr = /* @__PURE__ */ N(Pi, [["render", Fi]]), xi = P({
2536
2536
  MButton: Tr
2537
2537
  },
2538
2538
  setup(e, { emit: t }) {
2539
- const { isSupported: n, open: r, sRGBHex: a } = Ws(), { nextZIndex: s } = et(), o = $(!1), l = $(!1), i = $(""), u = $(""), d = $(""), c = $(""), f = $(""), m = $(), g = $(), O = $(), k = X(e, "transfer"), M = X(e, "placement"), R = $(), B = $(0), C = $(100), b = $(!1), E = Ie({
2539
+ const { isSupported: n, open: r, sRGBHex: a } = Ws(), { nextZIndex: s } = et(), o = $(!1), l = $(!1), i = $(""), u = $(""), d = $(""), c = $(""), f = $(""), m = $(), h = $(), O = $(), k = X(e, "transfer"), M = X(e, "placement"), R = $(), B = $(0), S = $(100), b = $(!1), E = Ie({
2540
2540
  x: 0,
2541
2541
  y: 0
2542
- }), A = $(e.zIndex ?? s()), { elementX: _, elementY: j } = Br(m), { pressed: z } = zr(), { popper: y, transferTo: S, updatePopper: D } = Nt({
2542
+ }), A = $(e.zIndex ?? s()), { elementX: _, elementY: j } = Br(m), { pressed: z } = zr(), { popper: y, transferTo: C, updatePopper: D } = Nt({
2543
2543
  reference: O,
2544
2544
  placement: M,
2545
2545
  transfer: k,
2546
- wrapper: g,
2546
+ wrapper: h,
2547
2547
  isDrop: !1,
2548
2548
  offset: [-2, 2]
2549
- }), x = p(() => 1 - E.y), q = p(() => E.x), I = p(() => sl(B.value * 3.6, x.value, q.value, C.value / 100)), W = p(() => ll(B.value * 3.6, C.value / 100)), Z = () => {
2549
+ }), x = p(() => 1 - E.y), q = p(() => E.x), I = p(() => sl(B.value * 3.6, x.value, q.value, S.value / 100)), W = p(() => ll(B.value * 3.6, S.value / 100)), Z = () => {
2550
2550
  i.value = al(I.value.r, I.value.g, I.value.b, I.value.a), u.value = I.value.r.toString(), d.value = I.value.g.toString(), c.value = I.value.b.toString(), f.value = I.value.a.toFixed(2).toString(), t("update:modelValue", i.value);
2551
2551
  };
2552
2552
  K(() => I.value, () => {
2553
2553
  Z();
2554
2554
  });
2555
2555
  const ae = (G, de) => {
2556
- E.x = G.s, E.y = 1 - G.v, B.value = 1 / 360 * G.h * 100, C.value = de * 100, Z();
2556
+ E.x = G.s, E.y = 1 - G.v, B.value = 1 / 360 * G.h * 100, S.value = de * 100, Z();
2557
2557
  }, ue = () => {
2558
2558
  var G = ol(i.value, I.value.r, I.value.g, I.value.b, I.value.a);
2559
2559
  ae(zn(G.r, G.g, G.b), G.a);
@@ -2589,8 +2589,8 @@ const Qr = /* @__PURE__ */ N(Pi, [["render", Fi]]), xi = P({
2589
2589
  }), {
2590
2590
  isOpen: o,
2591
2591
  popper: y,
2592
- transferTo: S,
2593
- wrapper: g,
2592
+ transferTo: C,
2593
+ wrapper: h,
2594
2594
  referenceRef: O,
2595
2595
  updateFromRGB: be,
2596
2596
  updateFromHex: ue,
@@ -2604,7 +2604,7 @@ const Qr = /* @__PURE__ */ N(Pi, [["render", Fi]]), xi = P({
2604
2604
  aInput: f,
2605
2605
  finalColor: I,
2606
2606
  hueSlider: B,
2607
- opacitySlider: C,
2607
+ opacitySlider: S,
2608
2608
  dragging: b,
2609
2609
  setThumbPosition: se,
2610
2610
  position: E,
@@ -2667,10 +2667,10 @@ function Zi(e, t, n, r, a, s) {
2667
2667
  T("div", {
2668
2668
  ref: "referenceRef",
2669
2669
  onClick: t[0] || (t[0] = (u) => e.isOpen = !e.isOpen),
2670
- class: h(e.style.reference)
2670
+ class: g(e.style.reference)
2671
2671
  }, [
2672
2672
  T("div", {
2673
- class: h(e.style.referenceColor),
2673
+ class: g(e.style.referenceColor),
2674
2674
  style: re({ backgroundColor: `rgba(${e.finalColor.r}, ${e.finalColor.g}, ${e.finalColor.b}, ${e.finalColor.a})` })
2675
2675
  }, null, 6)
2676
2676
  ], 2),
@@ -2684,24 +2684,24 @@ function Zi(e, t, n, r, a, s) {
2684
2684
  default: Y(() => [
2685
2685
  e.isOpen ? (v(), w("div", {
2686
2686
  key: 0,
2687
- class: h(e.style.container),
2687
+ class: g(e.style.container),
2688
2688
  ref: "popper",
2689
2689
  style: re({ zIndex: e.zIndex })
2690
2690
  }, [
2691
2691
  T("div", {
2692
2692
  ref: "picker",
2693
2693
  onMousedown: t[3] || (t[3] = (...u) => e.handleMouseDown && e.handleMouseDown(...u)),
2694
- class: h(e.style.colours),
2694
+ class: g(e.style.colours),
2695
2695
  style: re(`background: rgb(${e.mainColor.r}, ${e.mainColor.g}, ${e.mainColor.b});`)
2696
2696
  }, [
2697
2697
  T("div", {
2698
- class: h(e.style.whiteGradient)
2698
+ class: g(e.style.whiteGradient)
2699
2699
  }, null, 2),
2700
2700
  T("div", {
2701
- class: h(e.style.blackGradient)
2701
+ class: g(e.style.blackGradient)
2702
2702
  }, null, 2),
2703
2703
  T("div", {
2704
- class: h(e.style.sliderThumb),
2704
+ class: g(e.style.sliderThumb),
2705
2705
  onMousedown: t[1] || (t[1] = (...u) => e.handleMouseDown && e.handleMouseDown(...u)),
2706
2706
  onDragover: t[2] || (t[2] = je(() => {
2707
2707
  }, ["prevent"])),
@@ -2709,17 +2709,17 @@ function Zi(e, t, n, r, a, s) {
2709
2709
  }, null, 38)
2710
2710
  ], 38),
2711
2711
  T("div", {
2712
- class: h(e.style.colorActions)
2712
+ class: g(e.style.colorActions)
2713
2713
  }, [
2714
2714
  e.canPickColor ? (v(), w("button", {
2715
2715
  key: 0,
2716
2716
  role: "button",
2717
2717
  disabled: !e.canPickColor,
2718
- class: h(e.style.eyeDrop),
2718
+ class: g(e.style.eyeDrop),
2719
2719
  onClick: t[4] || (t[4] = (...u) => e.openEyeDropper && e.openEyeDropper(...u))
2720
2720
  }, Ki, 10, Wi)) : (v(), w("div", {
2721
2721
  key: 1,
2722
- class: h(e.style.preview)
2722
+ class: g(e.style.preview)
2723
2723
  }, [
2724
2724
  T("div", {
2725
2725
  style: re(`width: 100%; height: 100%; background-color: rgba(${e.finalColor.r}, ${e.finalColor.g}, ${e.finalColor.b}, ${e.finalColor.a});`)
@@ -2739,7 +2739,7 @@ function Zi(e, t, n, r, a, s) {
2739
2739
  ])
2740
2740
  ], 2),
2741
2741
  T("div", {
2742
- class: h(e.style.colorActions)
2742
+ class: g(e.style.colorActions)
2743
2743
  }, [
2744
2744
  e.rgbOrHex ? (v(), w(Q, { key: 0 }, [
2745
2745
  J(l, {
@@ -2814,7 +2814,7 @@ const Ji = /* @__PURE__ */ N(xi, [["render", Zi]]), tn = Symbol("DROPDOWN_STATE"
2814
2814
  name: "DropdownWrapper",
2815
2815
  setup() {
2816
2816
  const e = fe(tn, null);
2817
- Ce("dropdown-select", e == null ? void 0 : e.handleSelect);
2817
+ Se("dropdown-select", e == null ? void 0 : e.handleSelect);
2818
2818
  }
2819
2819
  });
2820
2820
  function eu(e, t, n, r, a, s) {
@@ -2918,7 +2918,7 @@ const sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2918
2918
  }
2919
2919
  }
2920
2920
  return d.value;
2921
- }), { popper: m, transferTo: g, updatePopper: O } = Nt({
2921
+ }), { popper: m, transferTo: h, updatePopper: O } = Nt({
2922
2922
  reference: f,
2923
2923
  placement: l,
2924
2924
  transfer: i,
@@ -2926,12 +2926,12 @@ const sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2926
2926
  isDrop: !0,
2927
2927
  offset: a ? [-2, 2] : [0, 14]
2928
2928
  }), k = ta(s, d);
2929
- Ce("dropdown-select", null);
2929
+ Se("dropdown-select", null);
2930
2930
  const M = Ie({
2931
- handleSelect: C,
2931
+ handleSelect: S,
2932
2932
  isOpen: o
2933
2933
  });
2934
- Ce(tn, M), K(
2934
+ Se(tn, M), K(
2935
2935
  () => e.open,
2936
2936
  (y) => {
2937
2937
  o.value = y;
@@ -2950,24 +2950,24 @@ const sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2950
2950
  }), ee("resize", () => {
2951
2951
  O();
2952
2952
  }), fn(u, (y) => {
2953
- let S = y.target, D = 0;
2954
- for (; S; ) {
2955
- if (S.classList.contains("m-dropdown-menu"))
2953
+ let C = y.target, D = 0;
2954
+ for (; C; ) {
2955
+ if (C.classList.contains("m-dropdown-menu"))
2956
2956
  return;
2957
- if (S = S.parentElement, D > 10)
2957
+ if (C = C.parentElement, D > 10)
2958
2958
  break;
2959
2959
  D++;
2960
2960
  }
2961
2961
  o.value = !1;
2962
2962
  });
2963
2963
  function R(y) {
2964
- const [S] = y.split("-");
2965
- a && S !== "right" && S !== "left" ? l.value = "right-start" : l.value = y;
2964
+ const [C] = y.split("-");
2965
+ a && C !== "right" && C !== "left" ? l.value = "right-start" : l.value = y;
2966
2966
  }
2967
2967
  function B() {
2968
2968
  o.value = !o.value;
2969
2969
  }
2970
- function C(y) {
2970
+ function S(y) {
2971
2971
  o.value = !1, e.onSelect(y), typeof (n == null ? void 0 : n.handleSelect) == "function" && n.handleSelect([k.value, ...y]);
2972
2972
  }
2973
2973
  const b = p(() => [
@@ -2989,17 +2989,17 @@ const sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2989
2989
  j.value = "auto";
2990
2990
  return;
2991
2991
  }
2992
- let y = (x = f.value) == null ? void 0 : x.getBoundingClientRect().height, S = (q = f.value) == null ? void 0 : q.getBoundingClientRect().top;
2993
- if (!y || !S)
2992
+ let y = (x = f.value) == null ? void 0 : x.getBoundingClientRect().height, C = (q = f.value) == null ? void 0 : q.getBoundingClientRect().top;
2993
+ if (!y || !C)
2994
2994
  return;
2995
2995
  let D = window.innerHeight;
2996
- j.value = `${D - y - S - 30}px`;
2996
+ j.value = `${D - y - C - 30}px`;
2997
2997
  }
2998
2998
  return {
2999
2999
  wrapper: u,
3000
3000
  referenceRef: d,
3001
3001
  popper: m,
3002
- transferTo: g,
3002
+ transferTo: h,
3003
3003
  isOpen: o,
3004
3004
  isNested: a,
3005
3005
  placement: l,
@@ -3018,11 +3018,11 @@ function ou(e, t, n, r, a, s) {
3018
3018
  const o = le("DropdownWrapper");
3019
3019
  return v(), w("span", {
3020
3020
  ref: "wrapper",
3021
- class: h(e.computedWrapperClasses)
3021
+ class: g(e.computedWrapperClasses)
3022
3022
  }, [
3023
3023
  T("span", {
3024
3024
  ref: "referenceRef",
3025
- class: h(e.computedReferenceClasses),
3025
+ class: g(e.computedReferenceClasses),
3026
3026
  onClick: t[0] || (t[0] = (...l) => e.toggleDropdown && e.toggleDropdown(...l))
3027
3027
  }, [
3028
3028
  L(e.$slots, "default")
@@ -3043,7 +3043,7 @@ function ou(e, t, n, r, a, s) {
3043
3043
  e.isOpen ? (v(), w("div", {
3044
3044
  key: 0,
3045
3045
  ref: "popper",
3046
- class: h(e.menuClasses),
3046
+ class: g(e.menuClasses),
3047
3047
  style: re({ zIndex: e.zIndex, maxHeight: e.maxHeight })
3048
3048
  }, [
3049
3049
  L(e.$slots, "menu")
@@ -3122,18 +3122,18 @@ function iu(e, t, n, r, a, s) {
3122
3122
  default: Y(() => [
3123
3123
  e.hasIconLeft ? (v(), w("div", {
3124
3124
  key: 0,
3125
- class: h(e.style.menuItemIcon)
3125
+ class: g(e.style.menuItemIcon)
3126
3126
  }, [
3127
3127
  L(e.$slots, "icon-left")
3128
3128
  ], 2)) : V("", !0),
3129
3129
  T("div", {
3130
- class: h(e.style.menuItemText)
3130
+ class: g(e.style.menuItemText)
3131
3131
  }, [
3132
3132
  L(e.$slots, "default")
3133
3133
  ], 2),
3134
3134
  e.hasIconRight ? (v(), w("div", {
3135
3135
  key: 1,
3136
- class: h(e.style.menuItemIcon)
3136
+ class: g(e.style.menuItemIcon)
3137
3137
  }, [
3138
3138
  L(e.$slots, "icon-right")
3139
3139
  ], 2)) : V("", !0)
@@ -3151,7 +3151,7 @@ const uu = /* @__PURE__ */ N(lu, [["render", iu]]), du = P({
3151
3151
  });
3152
3152
  function cu(e, t, n, r, a, s) {
3153
3153
  return v(), w("ul", {
3154
- class: h(e.style.menuItems)
3154
+ class: g(e.style.menuItems)
3155
3155
  }, [
3156
3156
  L(e.$slots, "default")
3157
3157
  ], 2);
@@ -3168,7 +3168,7 @@ const fu = /* @__PURE__ */ N(du, [["render", cu]]), pu = P({
3168
3168
  });
3169
3169
  function vu(e, t, n, r, a, s) {
3170
3170
  return v(), w("li", {
3171
- class: h(e.computedClasses)
3171
+ class: g(e.computedClasses)
3172
3172
  }, null, 2);
3173
3173
  }
3174
3174
  const mu = /* @__PURE__ */ N(pu, [["render", vu]]), hu = P({
@@ -3181,7 +3181,7 @@ const mu = /* @__PURE__ */ N(pu, [["render", vu]]), hu = P({
3181
3181
  });
3182
3182
  function gu(e, t, n, r, a, s) {
3183
3183
  return v(), w("li", {
3184
- class: h(e.computedClasses)
3184
+ class: g(e.computedClasses)
3185
3185
  }, [
3186
3186
  L(e.$slots, "default")
3187
3187
  ], 2);
@@ -3279,7 +3279,7 @@ const ku = P({
3279
3279
  disabled: X(e, "disabled"),
3280
3280
  loading: X(e, "loading")
3281
3281
  });
3282
- Ce(un, r), pe(() => {
3282
+ Se(un, r), pe(() => {
3283
3283
  e.autoFocus && n && n.length > 0 && n[0].focus();
3284
3284
  }), K(() => e.errors, (i) => {
3285
3285
  i && Ge(() => {
@@ -3314,10 +3314,10 @@ const ku = P({
3314
3314
  };
3315
3315
  }
3316
3316
  });
3317
- function Cu(e, t, n, r, a, s) {
3317
+ function Su(e, t, n, r, a, s) {
3318
3318
  return v(), w("form", {
3319
3319
  style: re(e.computedStyles),
3320
- class: h([
3320
+ class: g([
3321
3321
  e.computedClasses
3322
3322
  ]),
3323
3323
  onSubmit: t[0] || (t[0] = je((...o) => e.submit && e.submit(...o), ["prevent"]))
@@ -3325,7 +3325,7 @@ function Cu(e, t, n, r, a, s) {
3325
3325
  L(e.$slots, "default", { loading: e.loading })
3326
3326
  ], 38);
3327
3327
  }
3328
- const Su = /* @__PURE__ */ N(ku, [["render", Cu]]), Tu = P({
3328
+ const Cu = /* @__PURE__ */ N(ku, [["render", Su]]), Tu = P({
3329
3329
  name: "MLink",
3330
3330
  props: {
3331
3331
  color: {
@@ -3365,7 +3365,7 @@ const Su = /* @__PURE__ */ N(ku, [["render", Cu]]), Tu = P({
3365
3365
  function Mu(e, t, n, r, a, s) {
3366
3366
  return v(), ne(sn(e.tag), {
3367
3367
  to: e.to,
3368
- class: h(e.computedClasses),
3368
+ class: g(e.computedClasses),
3369
3369
  disabled: e.disabled
3370
3370
  }, {
3371
3371
  default: Y(() => [
@@ -3507,10 +3507,10 @@ function Yu(e, t, n, r, a, s) {
3507
3507
  default: Y(() => [
3508
3508
  e.show ? (v(), w("div", {
3509
3509
  key: 0,
3510
- class: h(e.classes)
3510
+ class: g(e.classes)
3511
3511
  }, [
3512
3512
  T("span", {
3513
- class: h(e.iconClasses)
3513
+ class: g(e.iconClasses)
3514
3514
  }, [
3515
3515
  e.variant == "info" ? (v(), w("svg", _u, Lu)) : e.variant == "success" ? (v(), w("svg", Du, Nu)) : e.variant == "warning" ? (v(), w("svg", Vu, xu)) : e.variant == "error" ? (v(), w("svg", Hu, qu)) : e.variant == "loading" ? (v(), w("svg", Ku, Uu)) : V("", !0)
3516
3516
  ], 2),
@@ -3520,7 +3520,11 @@ function Yu(e, t, n, r, a, s) {
3520
3520
  _: 1
3521
3521
  }, 8, ["enter-active-class", "leave-active-class", "enter-from-class", "leave-to-class"]);
3522
3522
  }
3523
- const Zu = /* @__PURE__ */ N(Iu, [["render", Yu]]), Ju = P({
3523
+ const Zu = /* @__PURE__ */ N(Iu, [["render", Yu]]);
3524
+ function Ju() {
3525
+ return $(typeof window > "u");
3526
+ }
3527
+ const Qu = P({
3524
3528
  name: "MMessageProvider",
3525
3529
  components: {
3526
3530
  MMessage: Zu
@@ -3540,130 +3544,130 @@ const Zu = /* @__PURE__ */ N(Iu, [["render", Yu]]), Ju = P({
3540
3544
  }
3541
3545
  },
3542
3546
  setup(e, { slots: t }) {
3543
- const n = $([]), r = $({}), a = {
3544
- create(u, d) {
3545
- return s(u, { type: "default", ...d });
3547
+ const n = Ju(), r = $([]), a = $({}), s = {
3548
+ create(d, c) {
3549
+ return o(d, { type: "default", ...c });
3546
3550
  },
3547
- info(u, d) {
3548
- return s(u, { ...d, type: "info" });
3551
+ info(d, c) {
3552
+ return o(d, { ...c, type: "info" });
3549
3553
  },
3550
- success(u, d) {
3551
- return s(u, { ...d, type: "success" });
3554
+ success(d, c) {
3555
+ return o(d, { ...c, type: "success" });
3552
3556
  },
3553
- warning(u, d) {
3554
- return s(u, { ...d, type: "warning" });
3557
+ warning(d, c) {
3558
+ return o(d, { ...c, type: "warning" });
3555
3559
  },
3556
- error(u, d) {
3557
- return s(u, { ...d, type: "error" });
3560
+ error(d, c) {
3561
+ return o(d, { ...c, type: "error" });
3558
3562
  },
3559
- loading(u, d) {
3560
- return s(u, { ...d, type: "loading" });
3563
+ loading(d, c) {
3564
+ return o(d, { ...c, type: "loading" });
3561
3565
  },
3562
- destroyAll: o
3566
+ destroyAll: l
3563
3567
  };
3564
- Ce("m-message", a);
3565
- function s(u, d) {
3566
- const { id: c } = dn("m-message"), f = c.value, m = Ie({
3567
- ...d,
3568
- content: u,
3569
- key: f,
3568
+ Se("m-message", s);
3569
+ function o(d, c) {
3570
+ const { id: f } = dn("m-message"), m = f.value, h = Ie({
3571
+ ...c,
3572
+ content: d,
3573
+ key: m,
3570
3574
  destroy: () => {
3571
- r.value[f].hide();
3575
+ a.value[m].hide();
3572
3576
  }
3573
3577
  });
3574
- return n.value.push(m), m;
3578
+ return r.value.push(h), h;
3575
3579
  }
3576
- function o() {
3577
- Object.values(r.value).forEach((u) => {
3578
- u.hide();
3580
+ function l() {
3581
+ Object.values(a.value).forEach((d) => {
3582
+ d.hide();
3579
3583
  });
3580
3584
  }
3581
- function l(u) {
3582
- n.value = n.value.filter(
3583
- (d) => d.key !== u
3584
- ), delete r.value[u];
3585
+ function i(d) {
3586
+ r.value = r.value.filter(
3587
+ (c) => c.key !== d
3588
+ ), delete a.value[d];
3585
3589
  }
3586
- const i = p(() => [
3590
+ const u = p(() => [
3587
3591
  zu,
3588
3592
  // @ts-ignore
3589
3593
  [Au[e.placement]]
3590
3594
  ]);
3591
3595
  return Object.assign(
3592
3596
  {
3593
- messageRefs: r,
3594
- messageList: n,
3595
- onInternalAfterLeave: l,
3596
- classes: i,
3597
+ messageRefs: a,
3598
+ messageList: r,
3599
+ isServer: n,
3600
+ onInternalAfterLeave: i,
3601
+ classes: u,
3597
3602
  modalScale: _r
3598
3603
  },
3599
- a
3604
+ s
3600
3605
  );
3601
3606
  }
3602
3607
  });
3603
- function Qu(e, t, n, r, a, s) {
3608
+ function ed(e, t, n, r, a, s) {
3604
3609
  const o = le("MMessage");
3605
3610
  return v(), w(Q, null, [
3606
3611
  L(e.$slots, "default"),
3607
- T("template", null, [
3608
- (v(), ne(Le, {
3609
- to: e.teleportTo ?? "body"
3610
- }, [
3611
- J(Je, {
3612
- type: "animation",
3613
- "enter-active-class": e.modalScale.enterActive,
3614
- "leave-active-class": e.modalScale.leaveActive,
3615
- "enter-from-class": e.modalScale.enterFrom,
3616
- "leave-to-class": e.modalScale.leaveTo
3617
- }, {
3618
- default: Y(() => [
3619
- T("div", {
3620
- class: h(e.classes)
3621
- }, [
3622
- (v(!0), w(Q, null, he(e.messageList, (l) => (v(), ne(o, {
3623
- key: l.key,
3624
- internalKey: l.key,
3625
- variant: l.type,
3626
- content: l.content,
3627
- timeout: l.timeout ?? e.timeout,
3628
- ref_for: !0,
3629
- ref: "messageRefs",
3630
- "on-internal-after-leave": e.onInternalAfterLeave
3631
- }, null, 8, ["internalKey", "variant", "content", "timeout", "on-internal-after-leave"]))), 128))
3632
- ], 2)
3633
- ]),
3634
- _: 1
3635
- }, 8, ["enter-active-class", "leave-active-class", "enter-from-class", "leave-to-class"])
3636
- ], 8, ["to"]))
3637
- ])
3612
+ e.isServer ? V("", !0) : (v(), ne(Le, {
3613
+ key: 0,
3614
+ to: e.teleportTo ?? "body"
3615
+ }, [
3616
+ J(Je, {
3617
+ type: "animation",
3618
+ "enter-active-class": e.modalScale.enterActive,
3619
+ "leave-active-class": e.modalScale.leaveActive,
3620
+ "enter-from-class": e.modalScale.enterFrom,
3621
+ "leave-to-class": e.modalScale.leaveTo
3622
+ }, {
3623
+ default: Y(() => [
3624
+ T("div", {
3625
+ class: g(e.classes)
3626
+ }, [
3627
+ (v(!0), w(Q, null, he(e.messageList, (l) => (v(), ne(o, {
3628
+ key: l.key,
3629
+ internalKey: l.key,
3630
+ variant: l.type,
3631
+ content: l.content,
3632
+ timeout: l.timeout ?? e.timeout,
3633
+ ref_for: !0,
3634
+ ref: "messageRefs",
3635
+ "on-internal-after-leave": e.onInternalAfterLeave
3636
+ }, null, 8, ["internalKey", "variant", "content", "timeout", "on-internal-after-leave"]))), 128))
3637
+ ], 2)
3638
+ ]),
3639
+ _: 1
3640
+ }, 8, ["enter-active-class", "leave-active-class", "enter-from-class", "leave-to-class"])
3641
+ ], 8, ["to"]))
3638
3642
  ], 64);
3639
3643
  }
3640
- const ed = /* @__PURE__ */ N(Ju, [["render", Qu]]);
3641
- var td = "_1iwo5bck", ua = "_1iwo5bce", da = "_1iwo5bcd", nd = "_1iwo5bcj", ca = "_1iwo5bcf", rd = "_1iwo5bct", ad = "_1iwo5bcp", od = "_1iwo5bcq", sd = "_1iwo5bcn", ld = "_1iwo5bcr", id = "_1iwo5bcm", ud = "_1iwo5bco", dd = "_1iwo5bcl", fa = "_1iwo5bcg", cd = "_1iwo5bch", fd = "_1iwo5bcb", pa = "_1iwo5bcc", pd = "_1iwo5bcs", vd = { xs: "_1iwo5bc5", sm: "_1iwo5bc6", md: "_1iwo5bc7", lg: "_1iwo5bc8", xl: "_1iwo5bc9" }, md = "_1iwo5bci", hd = { maxWidth: "var(--_1iwo5bc0)", backgroundColor: "var(--_1iwo5bc1)", borderColor: "var(--_1iwo5bc2)", initialLeft: "var(--_1iwo5bc3)", initialTop: "var(--_1iwo5bc4)" }, va = "_1iwo5bca";
3642
- const gd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3644
+ const td = /* @__PURE__ */ N(Qu, [["render", ed]]);
3645
+ var nd = "_1iwo5bck", ua = "_1iwo5bce", da = "_1iwo5bcd", rd = "_1iwo5bcj", ca = "_1iwo5bcf", ad = "_1iwo5bct", od = "_1iwo5bcp", sd = "_1iwo5bcq", ld = "_1iwo5bcn", id = "_1iwo5bcr", ud = "_1iwo5bcm", dd = "_1iwo5bco", cd = "_1iwo5bcl", fa = "_1iwo5bcg", fd = "_1iwo5bch", pd = "_1iwo5bcb", pa = "_1iwo5bcc", vd = "_1iwo5bcs", md = { xs: "_1iwo5bc5", sm: "_1iwo5bc6", md: "_1iwo5bc7", lg: "_1iwo5bc8", xl: "_1iwo5bc9" }, hd = "_1iwo5bci", gd = { maxWidth: "var(--_1iwo5bc0)", backgroundColor: "var(--_1iwo5bc1)", borderColor: "var(--_1iwo5bc2)", initialLeft: "var(--_1iwo5bc3)", initialTop: "var(--_1iwo5bc4)" }, va = "_1iwo5bca";
3646
+ const yd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3643
3647
  __proto__: null,
3644
- body: td,
3648
+ body: nd,
3645
3649
  centeredModal: ua,
3646
3650
  centeredWrapper: da,
3647
- close: nd,
3651
+ close: rd,
3648
3652
  container: ca,
3649
- content: rd,
3650
- fadeBackgroundEnter: ad,
3651
- fadeBackgroundLeave: od,
3652
- fadeEnter: sd,
3653
- fadeEnterFrom: ld,
3654
- fadeEnterNoBounce: id,
3655
- fadeLeave: ud,
3656
- footer: dd,
3653
+ content: ad,
3654
+ fadeBackgroundEnter: od,
3655
+ fadeBackgroundLeave: sd,
3656
+ fadeEnter: ld,
3657
+ fadeEnterFrom: id,
3658
+ fadeEnterNoBounce: ud,
3659
+ fadeLeave: dd,
3660
+ footer: cd,
3657
3661
  hasSidebar: fa,
3658
- header: cd,
3659
- mask: fd,
3662
+ header: fd,
3663
+ mask: pd,
3660
3664
  modal: pa,
3661
- sidebar: pd,
3662
- size: vd,
3663
- title: md,
3664
- vars: hd,
3665
+ sidebar: vd,
3666
+ size: md,
3667
+ title: hd,
3668
+ vars: gd,
3665
3669
  wrapper: va
3666
- }, Symbol.toStringTag, { value: "Module" })), yd = P({
3670
+ }, Symbol.toStringTag, { value: "Module" })), bd = P({
3667
3671
  name: "MModal",
3668
3672
  props: {
3669
3673
  title: {
@@ -3712,8 +3716,8 @@ const gd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3712
3716
  emits: ["open"],
3713
3717
  setup(e, { emit: t, slots: n }) {
3714
3718
  const { nextZIndex: r } = et(), a = $(!1), s = $(), o = xt(), l = $(e.zIndex ?? r()), i = p(() => !!n.sidebar), u = p(() => !!n.footer), d = $(), c = p(() => {
3715
- const { width: z, height: y } = e, S = {};
3716
- return z !== void 0 && (S.width = typeof z == "number" ? `${z}px` : z), y !== void 0 && (S.height = typeof y == "number" ? `${y}px` : y), d.value && (S.transformOrigin = d.value), S;
3719
+ const { width: z, height: y } = e, C = {};
3720
+ return z !== void 0 && (C.width = typeof z == "number" ? `${z}px` : z), y !== void 0 && (C.height = typeof y == "number" ? `${y}px` : y), d.value && (C.transformOrigin = d.value), C;
3717
3721
  }), f = p(() => [
3718
3722
  va,
3719
3723
  {
@@ -3725,7 +3729,7 @@ const gd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3725
3729
  {
3726
3730
  [ua]: e.centered
3727
3731
  }
3728
- ]), g = p(() => [
3732
+ ]), h = p(() => [
3729
3733
  ca,
3730
3734
  {
3731
3735
  [fa]: i.value
@@ -3738,7 +3742,7 @@ const gd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3738
3742
  M.value = setTimeout(() => {
3739
3743
  k.value = !1;
3740
3744
  }, 0);
3741
- }, C = (z) => {
3745
+ }, S = (z) => {
3742
3746
  if (!(e.canClickOutside || e.outsideClose))
3743
3747
  return null;
3744
3748
  k.value ? k.value = !1 : o.value === z.target && E(z);
@@ -3754,9 +3758,9 @@ const gd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3754
3758
  _(), a.value = !0;
3755
3759
  };
3756
3760
  function _() {
3757
- let z = window, y = z.document.documentElement, S = z.innerWidth - y.clientWidth;
3758
- if (y.style.overflow = "hidden", S > 0) {
3759
- let D = y.clientWidth - y.offsetWidth, x = S - D;
3761
+ let z = window, y = z.document.documentElement, C = z.innerWidth - y.clientWidth;
3762
+ if (y.style.overflow = "hidden", C > 0) {
3763
+ let D = y.clientWidth - y.offsetWidth, x = C - D;
3760
3764
  y.style.paddingRight = `${x}px`;
3761
3765
  }
3762
3766
  }
@@ -3768,17 +3772,17 @@ const gd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3768
3772
  }
3769
3773
  return {
3770
3774
  close: E,
3771
- onOutsideClick: C,
3775
+ onOutsideClick: S,
3772
3776
  open: A,
3773
3777
  onContentMouseDown: R,
3774
3778
  onContentMouseUp: B,
3775
3779
  onWrapperKeyDown: b,
3776
3780
  target: s,
3777
- style: gd,
3781
+ style: yd,
3778
3782
  isOpen: a,
3779
3783
  computedWrapperStyles: O,
3780
3784
  computedModalClasses: m,
3781
- computedContainerClasses: g,
3785
+ computedContainerClasses: h,
3782
3786
  computedWrapperClasses: f,
3783
3787
  zIndex: l,
3784
3788
  modalScale: _r,
@@ -3791,7 +3795,7 @@ const gd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3791
3795
  };
3792
3796
  }
3793
3797
  });
3794
- function bd(e, t, n, r, a, s) {
3798
+ function wd(e, t, n, r, a, s) {
3795
3799
  return v(), ne(Le, { to: "body" }, [
3796
3800
  J(go, {
3797
3801
  type: "animation",
@@ -3803,7 +3807,7 @@ function bd(e, t, n, r, a, s) {
3803
3807
  default: Y(() => [
3804
3808
  e.isOpen ? (v(), w("div", {
3805
3809
  key: 0,
3806
- class: h(e.style.mask),
3810
+ class: g(e.style.mask),
3807
3811
  style: re({ zIndex: e.zIndex })
3808
3812
  }, null, 6)) : V("", !0),
3809
3813
  e.isOpen ? (v(), w("div", {
@@ -3812,7 +3816,7 @@ function bd(e, t, n, r, a, s) {
3812
3816
  onKeydown: t[3] || (t[3] = (...o) => e.onWrapperKeyDown && e.onWrapperKeyDown(...o)),
3813
3817
  ref: "wrapperRef",
3814
3818
  role: "dialog",
3815
- class: h(e.computedWrapperClasses),
3819
+ class: g(e.computedWrapperClasses),
3816
3820
  style: re(e.computedWrapperStyles),
3817
3821
  onClick: t[4] || (t[4] = (...o) => e.onOutsideClick && e.onOutsideClick(...o))
3818
3822
  }, [
@@ -3821,7 +3825,7 @@ function bd(e, t, n, r, a, s) {
3821
3825
  role: "document"
3822
3826
  }, e.$attrs, { style: e.contentStyleRef }), [
3823
3827
  T("div", {
3824
- class: h(e.computedContainerClasses),
3828
+ class: g(e.computedContainerClasses),
3825
3829
  onMousedown: t[1] || (t[1] = (...o) => e.onContentMouseDown && e.onContentMouseDown(...o)),
3826
3830
  onMouseup: t[2] || (t[2] = (...o) => e.onContentMouseUp && e.onContentMouseUp(...o)),
3827
3831
  ref: "target"
@@ -3831,38 +3835,38 @@ function bd(e, t, n, r, a, s) {
3831
3835
  ]) : (v(), w(Q, { key: 1 }, [
3832
3836
  e.hasSidebar ? (v(), w("div", {
3833
3837
  key: 0,
3834
- class: h(e.style.sidebar)
3838
+ class: g(e.style.sidebar)
3835
3839
  }, [
3836
3840
  L(e.$slots, "sidebar")
3837
3841
  ], 2)) : V("", !0),
3838
3842
  T("div", {
3839
- class: h(e.style.content)
3843
+ class: g(e.style.content)
3840
3844
  }, [
3841
3845
  e.title || e.showClose ? (v(), w("div", {
3842
3846
  key: 0,
3843
- class: h(e.style.header)
3847
+ class: g(e.style.header)
3844
3848
  }, [
3845
3849
  e.title ? (v(), w("div", {
3846
3850
  key: 0,
3847
- class: h(e.style.title)
3851
+ class: g(e.style.title)
3848
3852
  }, [
3849
3853
  T("div", null, H(e.title), 1)
3850
3854
  ], 2)) : V("", !0)
3851
3855
  ], 2)) : V("", !0),
3852
3856
  e.showClose ? (v(), w("button", {
3853
3857
  key: 1,
3854
- class: h(e.style.close),
3858
+ class: g(e.style.close),
3855
3859
  onClick: t[0] || (t[0] = (...o) => e.close && e.close(...o))
3856
3860
  }, null, 2)) : V("", !0),
3857
3861
  T("div", {
3858
- class: h(e.style.body)
3862
+ class: g(e.style.body)
3859
3863
  }, [
3860
3864
  L(e.$slots, "body"),
3861
3865
  L(e.$slots, "default")
3862
3866
  ], 2),
3863
3867
  e.hasFooter ? (v(), w("div", {
3864
3868
  key: 2,
3865
- class: h(e.style.footer)
3869
+ class: g(e.style.footer)
3866
3870
  }, [
3867
3871
  L(e.$slots, "footer")
3868
3872
  ], 2)) : V("", !0)
@@ -3876,18 +3880,18 @@ function bd(e, t, n, r, a, s) {
3876
3880
  }, 8, ["enter-active-class", "leave-active-class", "enter-from-class", "leave-to-class"])
3877
3881
  ]);
3878
3882
  }
3879
- const ma = /* @__PURE__ */ N(yd, [["render", bd]]);
3880
- var wd = "_1vreayh6", $d = "_1vreayh3", kd = "_1vreayh5", Cd = "_1vreayh4", Sd = "_1vreayh2", Td = "_1vreayh7", Md = { backgroundColor: "var(--_1vreayh0)", color: "var(--_1vreayh1)" };
3881
- const Od = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3883
+ const ma = /* @__PURE__ */ N(bd, [["render", wd]]);
3884
+ var $d = "_1vreayh6", kd = "_1vreayh3", Sd = "_1vreayh5", Cd = "_1vreayh4", Td = "_1vreayh2", Md = "_1vreayh7", Od = { backgroundColor: "var(--_1vreayh0)", color: "var(--_1vreayh1)" };
3885
+ const Ed = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3882
3886
  __proto__: null,
3883
- active: wd,
3884
- buttons: $d,
3885
- page: kd,
3887
+ active: $d,
3888
+ buttons: kd,
3889
+ page: Sd,
3886
3890
  pages: Cd,
3887
- pagination: Sd,
3888
- svg: Td,
3889
- vars: Md
3890
- }, Symbol.toStringTag, { value: "Module" })), yt = 7, bt = 1, Kn = 5, Ed = P({
3891
+ pagination: Td,
3892
+ svg: Md,
3893
+ vars: Od
3894
+ }, Symbol.toStringTag, { value: "Module" })), yt = 7, bt = 1, Kn = 5, Rd = P({
3891
3895
  name: "Pagination",
3892
3896
  props: {
3893
3897
  page: {
@@ -3929,12 +3933,12 @@ const Od = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3929
3933
  let { page: c } = e;
3930
3934
  if (r.value)
3931
3935
  return [i(1, { current: !1 })];
3932
- let f = bt * 2 + 1, m = (yt - f - 2) / 2, g, O, k = Math.max(c - Kn, 1), M = Math.min(c + Kn, s.value);
3936
+ let f = bt * 2 + 1, m = (yt - f - 2) / 2, h, O, k = Math.max(c - Kn, 1), M = Math.min(c + Kn, s.value);
3933
3937
  switch (!0) {
3934
3938
  case s.value <= yt:
3935
3939
  return l(1, s.value);
3936
3940
  case c <= m + bt + 2:
3937
- return g = yt - m - 1, l(1, g).concat(
3941
+ return h = yt - m - 1, l(1, h).concat(
3938
3942
  i(M, { more: !0, forward: !0 })
3939
3943
  ).concat(
3940
3944
  l(
@@ -3966,16 +3970,16 @@ const Od = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3966
3970
  });
3967
3971
  function l(c, f) {
3968
3972
  let m = [];
3969
- for (let g = 0; g < f; g++)
3970
- m[g] = i(c + g);
3973
+ for (let h = 0; h < f; h++)
3974
+ m[h] = i(c + h);
3971
3975
  return m;
3972
3976
  }
3973
- function i(c, { more: f = !1, forward: m = !1, current: g = !1 } = {}) {
3977
+ function i(c, { more: f = !1, forward: m = !1, current: h = !1 } = {}) {
3974
3978
  return {
3975
3979
  page: c,
3976
3980
  more: f,
3977
3981
  forward: m,
3978
- current: g || c === e.page,
3982
+ current: h || c === e.page,
3979
3983
  text: c
3980
3984
  };
3981
3985
  }
@@ -3995,35 +3999,35 @@ const Od = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3995
3999
  pageIndicatorSeries: o,
3996
4000
  getKey: u,
3997
4001
  handlePageChange: d,
3998
- style: Od
4002
+ style: Ed
3999
4003
  };
4000
4004
  }
4001
- }), Rd = ["tabindex", "disabled"], Ad = /* @__PURE__ */ T("path", {
4005
+ }), Ad = ["tabindex", "disabled"], Bd = /* @__PURE__ */ T("path", {
4002
4006
  stroke: "currentColor",
4003
4007
  fill: "currentColor",
4004
4008
  "fill-rule": "evenodd",
4005
4009
  d: "m2.462 12 7.222-6.77-1.368-1.46-8 7.5a1 1 0 0 0 0 1.46l8 7.5 1.368-1.46L2.462 12z",
4006
4010
  "clip-rule": "evenodd"
4007
- }, null, -1), Bd = [
4008
- Ad
4009
- ], zd = ["disabled", "onClick", "aria-label"], Id = ["tabindex", "disabled"], _d = /* @__PURE__ */ T("path", {
4011
+ }, null, -1), zd = [
4012
+ Bd
4013
+ ], Id = ["disabled", "onClick", "aria-label"], _d = ["tabindex", "disabled"], jd = /* @__PURE__ */ T("path", {
4010
4014
  stroke: "currentColor",
4011
4015
  fill: "currentColor",
4012
4016
  "fill-rule": "evenodd",
4013
4017
  d: "M10 12a1 1 0 0 1-.316.73l-8 7.5-1.368-1.46L7.538 12 .316 5.23l1.368-1.46 8 7.5A1 1 0 0 1 10 12z",
4014
4018
  "clip-rule": "evenodd"
4015
- }, null, -1), jd = [
4016
- _d
4019
+ }, null, -1), Ld = [
4020
+ jd
4017
4021
  ];
4018
- function Ld(e, t, n, r, a, s) {
4022
+ function Dd(e, t, n, r, a, s) {
4019
4023
  return v(), w("div", {
4020
- class: h(e.style.pagination)
4024
+ class: g(e.style.pagination)
4021
4025
  }, [
4022
4026
  T("div", {
4023
- class: h(e.style.buttons)
4027
+ class: g(e.style.buttons)
4024
4028
  }, [
4025
4029
  T("button", {
4026
- class: h(e.style.page),
4030
+ class: g(e.style.page),
4027
4031
  tabindex: e.page === 1 ? void 0 : "0",
4028
4032
  disabled: e.page === 1,
4029
4033
  "aria-label": "Previous",
@@ -4031,21 +4035,21 @@ function Ld(e, t, n, r, a, s) {
4031
4035
  onClick: t[0] || (t[0] = (o) => e.handlePageChange(e.page - 1))
4032
4036
  }, [
4033
4037
  (v(), w("svg", {
4034
- class: h(e.style.svg),
4038
+ class: g(e.style.svg),
4035
4039
  xmlns: "http://www.w3.org/2000/svg",
4036
4040
  fill: "none",
4037
4041
  viewBox: "0 0 10 24",
4038
4042
  width: "10",
4039
4043
  height: "24",
4040
4044
  focusable: "false"
4041
- }, Bd, 2))
4042
- ], 10, Rd),
4045
+ }, zd, 2))
4046
+ ], 10, Ad),
4043
4047
  T("div", {
4044
- class: h(e.style.pages)
4048
+ class: g(e.style.pages)
4045
4049
  }, [
4046
4050
  (v(!0), w(Q, null, he(e.pageIndicatorSeries, (o, l) => (v(), w("button", {
4047
4051
  key: l,
4048
- class: h([
4052
+ class: g([
4049
4053
  e.style.page,
4050
4054
  {
4051
4055
  [e.style.active]: o.current
@@ -4064,7 +4068,7 @@ function Ld(e, t, n, r, a, s) {
4064
4068
  ], 64)) : (v(), w(Q, { key: 1 }, [
4065
4069
  ie(H(o.text), 1)
4066
4070
  ], 64))
4067
- ], 10, zd))), 128))
4071
+ ], 10, Id))), 128))
4068
4072
  ], 2),
4069
4073
  T("button", {
4070
4074
  tabindex: e.page === e.pageCount ? void 0 : "0",
@@ -4072,36 +4076,36 @@ function Ld(e, t, n, r, a, s) {
4072
4076
  "aria-label": "Next",
4073
4077
  role: "button",
4074
4078
  onClick: t[1] || (t[1] = (o) => e.handlePageChange(e.page + 1)),
4075
- class: h(e.style.page)
4079
+ class: g(e.style.page)
4076
4080
  }, [
4077
4081
  (v(), w("svg", {
4078
- class: h(e.style.svg),
4082
+ class: g(e.style.svg),
4079
4083
  xmlns: "http://www.w3.org/2000/svg",
4080
4084
  fill: "none",
4081
4085
  viewBox: "0 0 10 24",
4082
4086
  width: "10",
4083
4087
  height: "24",
4084
4088
  focusable: "false"
4085
- }, jd, 2))
4086
- ], 10, Id)
4089
+ }, Ld, 2))
4090
+ ], 10, _d)
4087
4091
  ], 2)
4088
4092
  ], 2);
4089
4093
  }
4090
- const Dd = /* @__PURE__ */ N(Ed, [["render", Ld]]);
4091
- var Pd = "_9ebxua5", ha = "_9ebxua8", ga = "_9ebxua9", Nd = "_9ebxua7", ya = "_9ebxuaa", Vd = "_9ebxuab", Fd = "_9ebxua6", xd = "_9ebxuac", ba = { xs: "_9ebxuad", sm: "_9ebxuae", md: "_9ebxuaf", lg: "_9ebxuag", xl: "_9ebxuah" }, Hd = { height: "var(--_9ebxua0)", radius: "var(--_9ebxua1)", backgroundColor: "var(--_9ebxua2)", borderColor: "var(--_9ebxua3)", color: "var(--_9ebxua4)" };
4092
- const Wd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4094
+ const Pd = /* @__PURE__ */ N(Rd, [["render", Dd]]);
4095
+ var Nd = "_9ebxua5", ha = "_9ebxua8", ga = "_9ebxua9", Vd = "_9ebxua7", ya = "_9ebxuaa", Fd = "_9ebxuab", xd = "_9ebxua6", Hd = "_9ebxuac", ba = { xs: "_9ebxuad", sm: "_9ebxuae", md: "_9ebxuaf", lg: "_9ebxuag", xl: "_9ebxuah" }, Wd = { height: "var(--_9ebxua0)", radius: "var(--_9ebxua1)", backgroundColor: "var(--_9ebxua2)", borderColor: "var(--_9ebxua3)", color: "var(--_9ebxua4)" };
4096
+ const qd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4093
4097
  __proto__: null,
4094
- base: Pd,
4098
+ base: Nd,
4095
4099
  checkbox: ha,
4096
4100
  checked: ga,
4097
- checkmark: Nd,
4101
+ checkmark: Vd,
4098
4102
  disabled: ya,
4099
- indeterminate: Vd,
4100
- input: Fd,
4101
- label: xd,
4103
+ indeterminate: Fd,
4104
+ input: xd,
4105
+ label: Hd,
4102
4106
  size: ba,
4103
- vars: Hd
4104
- }, Symbol.toStringTag, { value: "Module" })), qd = P({
4107
+ vars: Wd
4108
+ }, Symbol.toStringTag, { value: "Module" })), Kd = P({
4105
4109
  name: "Radio",
4106
4110
  emits: oe.emits(),
4107
4111
  props: {
@@ -4136,9 +4140,9 @@ const Wd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4136
4140
  setError: c,
4137
4141
  formError: f,
4138
4142
  formDisabled: m,
4139
- formLoading: g,
4143
+ formLoading: h,
4140
4144
  inputListeners: O
4141
- } = oe(e, { focus: s, emit: n }), k = p(() => m || g || e.disabled || e.loading), M = X(e, "name"), R = p(() => e.modelValue === e.value), B = p(() => !!t.default), C = p({
4145
+ } = oe(e, { focus: s, emit: n }), k = p(() => m || h || e.disabled || e.loading), M = X(e, "name"), R = p(() => e.modelValue === e.value), B = p(() => !!t.default), S = p({
4142
4146
  get() {
4143
4147
  return e.modelValue;
4144
4148
  },
@@ -4166,10 +4170,10 @@ const Wd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4166
4170
  disabled: k,
4167
4171
  name: M,
4168
4172
  checked: R,
4169
- pick: C,
4173
+ pick: S,
4170
4174
  radioRef: a,
4171
4175
  inputError: E,
4172
- style: Wd,
4176
+ style: qd,
4173
4177
  classes: b,
4174
4178
  hasSlot: B,
4175
4179
  inputListeners: O,
@@ -4177,10 +4181,10 @@ const Wd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4177
4181
  blur: o
4178
4182
  };
4179
4183
  }
4180
- }), Kd = ["value", "aria-checked", "aria-disabled", "aria-labelledby", "disabled", "name", "id"], Gd = ["id"];
4181
- function Ud(e, t, n, r, a, s) {
4184
+ }), Gd = ["value", "aria-checked", "aria-disabled", "aria-labelledby", "disabled", "name", "id"], Ud = ["id"];
4185
+ function Xd(e, t, n, r, a, s) {
4182
4186
  return v(), w("label", {
4183
- class: h(e.style.base)
4187
+ class: g(e.style.base)
4184
4188
  }, [
4185
4189
  jt(T("input", $e({
4186
4190
  "onUpdate:modelValue": t[0] || (t[0] = (o) => e.pick = o),
@@ -4194,25 +4198,25 @@ function Ud(e, t, n, r, a, s) {
4194
4198
  id: e.id
4195
4199
  }, e.$attrs, pt(e.inputListeners, !0), {
4196
4200
  class: e.style.input
4197
- }), null, 16, Kd), [
4201
+ }), null, 16, Gd), [
4198
4202
  [yo, e.pick]
4199
4203
  ]),
4200
4204
  T("span", {
4201
- class: h(e.classes)
4205
+ class: g(e.classes)
4202
4206
  }, null, 2),
4203
4207
  T("span", {
4204
- class: h(e.style.label),
4208
+ class: g(e.style.label),
4205
4209
  id: `${e.id}-label`
4206
4210
  }, [
4207
4211
  e.hasSlot ? L(e.$slots, "default", { key: 0 }) : (v(), w(Q, { key: 1 }, [
4208
4212
  ie(H(e.label), 1)
4209
4213
  ], 64))
4210
- ], 10, Gd)
4214
+ ], 10, Ud)
4211
4215
  ], 2);
4212
4216
  }
4213
- const Xd = /* @__PURE__ */ N(qd, [["render", Ud]]);
4214
- var Yd = "_17j4o87", Zd = "_17j4o8f", Jd = "_17j4o8g", Qd = { xs: "_17j4o8a", sm: "_17j4o8b", md: "_17j4o8c", lg: "_17j4o8d", xl: "_17j4o8e" }, Gn = { active: "_17j4o88", default: "_17j4o89" };
4215
- const wa = Symbol("RADIO_BUTTON_GROUP_STATE"), ec = P({
4217
+ const Yd = /* @__PURE__ */ N(Kd, [["render", Xd]]);
4218
+ var Zd = "_17j4o87", Jd = "_17j4o8f", Qd = "_17j4o8g", ec = { xs: "_17j4o8a", sm: "_17j4o8b", md: "_17j4o8c", lg: "_17j4o8d", xl: "_17j4o8e" }, Gn = { active: "_17j4o88", default: "_17j4o89" };
4219
+ const wa = Symbol("RADIO_BUTTON_GROUP_STATE"), tc = P({
4216
4220
  name: "MRadioButton",
4217
4221
  props: {
4218
4222
  ...oe.props(),
@@ -4248,21 +4252,21 @@ const wa = Symbol("RADIO_BUTTON_GROUP_STATE"), ec = P({
4248
4252
  const r = $(null), a = fe(wa, null), s = p(() => a == null ? void 0 : a.modelValue), o = p(() => (a == null ? void 0 : a.size) || e.size), l = p(() => a == null ? void 0 : a.name), { focus: i, blur: u } = me(r);
4249
4253
  oe(e, { focus: i, emit: t });
4250
4254
  const d = p(() => s.value === e.id), c = p(() => [
4251
- Yd,
4252
- [Qd[o.value]],
4255
+ Zd,
4256
+ [ec[o.value]],
4253
4257
  {
4254
- [Zd]: e.icon,
4258
+ [Jd]: e.icon,
4255
4259
  [Gn.default]: !d.value,
4256
4260
  [Gn.active]: d.value
4257
4261
  }
4258
4262
  ]), f = p(() => [
4259
- Jd
4260
- ]), m = (g) => {
4263
+ Qd
4264
+ ]), m = (h) => {
4261
4265
  if (e.disabled) {
4262
- g.preventDefault();
4266
+ h.preventDefault();
4263
4267
  return;
4264
4268
  }
4265
- a.doUpdateValue(e.id), e.onClick(g);
4269
+ a.doUpdateValue(e.id), e.onClick(h);
4266
4270
  };
4267
4271
  return n({
4268
4272
  focus: i,
@@ -4279,8 +4283,8 @@ const wa = Symbol("RADIO_BUTTON_GROUP_STATE"), ec = P({
4279
4283
  computedRadioClasses: f
4280
4284
  };
4281
4285
  }
4282
- }), tc = ["disabled", "aria-selected", "aria-disabled"], nc = ["name", "value", "disabled"];
4283
- function rc(e, t, n, r, a, s) {
4286
+ }), nc = ["disabled", "aria-selected", "aria-disabled"], rc = ["name", "value", "disabled"];
4287
+ function ac(e, t, n, r, a, s) {
4284
4288
  return v(), w("label", $e({
4285
4289
  class: e.computedClasses,
4286
4290
  disabled: e.disabled,
@@ -4291,19 +4295,19 @@ function rc(e, t, n, r, a, s) {
4291
4295
  }), [
4292
4296
  T("input", {
4293
4297
  type: "radio",
4294
- class: h(e.computedRadioClasses),
4298
+ class: g(e.computedRadioClasses),
4295
4299
  name: e.name,
4296
4300
  value: e.id,
4297
4301
  disabled: e.disabled
4298
- }, null, 10, nc),
4302
+ }, null, 10, rc),
4299
4303
  T("span", null, [
4300
4304
  L(e.$slots, "default")
4301
4305
  ])
4302
- ], 16, tc);
4306
+ ], 16, nc);
4303
4307
  }
4304
- const ac = /* @__PURE__ */ N(ec, [["render", rc]]);
4305
- var oc = "nd85wg3", sc = "nd85wg5";
4306
- const lc = P({
4308
+ const oc = /* @__PURE__ */ N(tc, [["render", ac]]);
4309
+ var sc = "nd85wg3", lc = "nd85wg5";
4310
+ const ic = P({
4307
4311
  name: "MRadioButtonGroup",
4308
4312
  props: {
4309
4313
  modelValue: {
@@ -4341,31 +4345,31 @@ const lc = P({
4341
4345
  modelValue: r,
4342
4346
  doUpdateValue: n
4343
4347
  });
4344
- return Ce(wa, a), {
4348
+ return Se(wa, a), {
4345
4349
  computedClasses: p(() => [
4346
- oc,
4350
+ sc,
4347
4351
  {
4348
- [sc]: e.block
4352
+ [lc]: e.block
4349
4353
  }
4350
4354
  ])
4351
4355
  };
4352
4356
  }
4353
4357
  });
4354
- function ic(e, t, n, r, a, s) {
4358
+ function uc(e, t, n, r, a, s) {
4355
4359
  return v(), w("div", {
4356
- class: h(e.computedClasses)
4360
+ class: g(e.computedClasses)
4357
4361
  }, [
4358
4362
  L(e.$slots, "default")
4359
4363
  ], 2);
4360
4364
  }
4361
- const uc = /* @__PURE__ */ N(lc, [["render", ic]]);
4362
- var $a = "n5k6jk7", dc = "n5k6jk8", cc = { height: "var(--n5k6jk0)", radius: "var(--n5k6jk1)", paddingX: "var(--n5k6jk2)", paddingY: "var(--n5k6jk3)", borderColor: "var(--n5k6jk4)", backgroundColor: "var(--n5k6jk5)", color: "var(--n5k6jk6)" };
4363
- const fc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4365
+ const dc = /* @__PURE__ */ N(ic, [["render", uc]]);
4366
+ var $a = "n5k6jk7", cc = "n5k6jk8", fc = { height: "var(--n5k6jk0)", radius: "var(--n5k6jk1)", paddingX: "var(--n5k6jk2)", paddingY: "var(--n5k6jk3)", borderColor: "var(--n5k6jk4)", backgroundColor: "var(--n5k6jk5)", color: "var(--n5k6jk6)" };
4367
+ const pc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4364
4368
  __proto__: null,
4365
4369
  base: $a,
4366
- close: dc,
4367
- vars: cc
4368
- }, Symbol.toStringTag, { value: "Module" })), pc = P({
4370
+ close: cc,
4371
+ vars: fc
4372
+ }, Symbol.toStringTag, { value: "Module" })), vc = P({
4369
4373
  name: "MTag",
4370
4374
  props: {
4371
4375
  color: {
@@ -4390,16 +4394,16 @@ const fc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4390
4394
  close: () => {
4391
4395
  t("close");
4392
4396
  },
4393
- style: fc
4397
+ style: pc
4394
4398
  };
4395
4399
  }
4396
- }), vc = {
4400
+ }), mc = {
4397
4401
  viewBox: "0 0 12 12",
4398
4402
  version: "1.1",
4399
4403
  xmlns: "http://www.w3.org/2000/svg",
4400
4404
  "aria-hidden": "true",
4401
4405
  style: { width: "1em", height: "1em" }
4402
- }, mc = /* @__PURE__ */ T("g", {
4406
+ }, hc = /* @__PURE__ */ T("g", {
4403
4407
  stroke: "none",
4404
4408
  "stroke-width": "1",
4405
4409
  fill: "none",
@@ -4411,12 +4415,12 @@ const fc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4411
4415
  }, [
4412
4416
  /* @__PURE__ */ T("path", { d: "M2.08859116,2.2156945 L2.14644661,2.14644661 C2.32001296,1.97288026 2.58943736,1.95359511 2.7843055,2.08859116 L2.85355339,2.14644661 L6,5.293 L9.14644661,2.14644661 C9.34170876,1.95118446 9.65829124,1.95118446 9.85355339,2.14644661 C10.0488155,2.34170876 10.0488155,2.65829124 9.85355339,2.85355339 L6.707,6 L9.85355339,9.14644661 C10.0271197,9.32001296 10.0464049,9.58943736 9.91140884,9.7843055 L9.85355339,9.85355339 C9.67998704,10.0271197 9.41056264,10.0464049 9.2156945,9.91140884 L9.14644661,9.85355339 L6,6.707 L2.85355339,9.85355339 C2.65829124,10.0488155 2.34170876,10.0488155 2.14644661,9.85355339 C1.95118446,9.65829124 1.95118446,9.34170876 2.14644661,9.14644661 L5.293,6 L2.14644661,2.85355339 C1.97288026,2.67998704 1.95359511,2.41056264 2.08859116,2.2156945 L2.14644661,2.14644661 L2.08859116,2.2156945 Z" })
4413
4417
  ])
4414
- ], -1), hc = [
4415
- mc
4418
+ ], -1), gc = [
4419
+ hc
4416
4420
  ];
4417
- function gc(e, t, n, r, a, s) {
4421
+ function yc(e, t, n, r, a, s) {
4418
4422
  return v(), w("div", {
4419
- class: h(e.computedClasses)
4423
+ class: g(e.computedClasses)
4420
4424
  }, [
4421
4425
  T("span", null, [
4422
4426
  L(e.$slots, "default")
@@ -4424,46 +4428,46 @@ function gc(e, t, n, r, a, s) {
4424
4428
  e.closeable ? (v(), w("button", {
4425
4429
  key: 0,
4426
4430
  onClick: t[0] || (t[0] = je((...o) => e.close && e.close(...o), ["stop"])),
4427
- class: h(e.style.close),
4431
+ class: g(e.style.close),
4428
4432
  tabindex: "0"
4429
4433
  }, [
4430
- (v(), w("svg", vc, hc))
4434
+ (v(), w("svg", mc, gc))
4431
4435
  ], 2)) : V("", !0)
4432
4436
  ], 2);
4433
4437
  }
4434
- const ka = /* @__PURE__ */ N(pc, [["render", gc]]);
4435
- var Ca = "_1cuepogb", yc = "_1cuepogd", bc = "_1cuepogv", wc = "_1cuepogw", $c = "_1cuepogx", kc = "_1cuepog10", Cc = "_1cuepogg", Sc = "_1cuepoge", Tc = "_1cuepogi", Mc = "_1cuepogh", nn = "_1cuepogj", Oc = "_1cuepogl", Ec = "_1cuepogf", Rc = "_1cuepogm", Ac = "_1cuepogz", Bc = "_1cuepogr", zc = "_1cuepogs", Ic = "_1cuepogy", _c = "_1cuepogu", jc = "_1cuepogt", Lc = "_1cuepogq", Dc = "_1cuepogn", Pc = "_1cuepogk", Nc = "_1cuepogo", Vc = "_1cuepogp", Sa = "_1cuepogc", Fc = { height: "var(--_1cuepog0)", radius: "var(--_1cuepog1)", paddingX: "var(--_1cuepog2)", paddingY: "var(--_1cuepog3)", borderColor: "var(--_1cuepog4)", backgroundColor: "var(--_1cuepog5)", color: "var(--_1cuepog6)", cursor: "var(--_1cuepog7)", optionColor: "var(--_1cuepog8)", optionBackgroundColor: "var(--_1cuepog9)" }, Ta = "_1cuepoga";
4436
- const xc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4438
+ const ka = /* @__PURE__ */ N(vc, [["render", yc]]);
4439
+ var Sa = "_1cuepogb", bc = "_1cuepogd", wc = "_1cuepogv", $c = "_1cuepogw", kc = "_1cuepogx", Sc = "_1cuepog10", Cc = "_1cuepogg", Tc = "_1cuepoge", Mc = "_1cuepogi", Oc = "_1cuepogh", nn = "_1cuepogj", Ec = "_1cuepogl", Rc = "_1cuepogf", Ac = "_1cuepogm", Bc = "_1cuepogz", zc = "_1cuepogr", Ic = "_1cuepogs", _c = "_1cuepogy", jc = "_1cuepogu", Lc = "_1cuepogt", Dc = "_1cuepogq", Pc = "_1cuepogn", Nc = "_1cuepogk", Vc = "_1cuepogo", Fc = "_1cuepogp", Ca = "_1cuepogc", xc = { height: "var(--_1cuepog0)", radius: "var(--_1cuepog1)", paddingX: "var(--_1cuepog2)", paddingY: "var(--_1cuepog3)", borderColor: "var(--_1cuepog4)", backgroundColor: "var(--_1cuepog5)", color: "var(--_1cuepog6)", cursor: "var(--_1cuepog7)", optionColor: "var(--_1cuepog8)", optionBackgroundColor: "var(--_1cuepog9)" }, Ta = "_1cuepoga";
4440
+ const Hc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4437
4441
  __proto__: null,
4438
- base: Ca,
4439
- block: yc,
4440
- checkAll: bc,
4441
- checkAllButton: wc,
4442
- checkAllButtonActive: $c,
4443
- clearable: kc,
4442
+ base: Sa,
4443
+ block: bc,
4444
+ checkAll: wc,
4445
+ checkAllButton: $c,
4446
+ checkAllButtonActive: kc,
4447
+ clearable: Sc,
4444
4448
  description: Cc,
4445
- disabled: Sc,
4446
- error: Tc,
4447
- errorMessage: Mc,
4449
+ disabled: Tc,
4450
+ error: Mc,
4451
+ errorMessage: Oc,
4448
4452
  focused: nn,
4449
- hasRightIcon: Oc,
4450
- label: Ec,
4451
- menu: Rc,
4452
- noResults: Ac,
4453
- option: Bc,
4454
- optionFocused: zc,
4455
- optionIcon: Ic,
4456
- optionLabel: _c,
4457
- optionSelected: jc,
4458
- options: Lc,
4459
- placeholder: Dc,
4460
- rightIcon: Pc,
4461
- search: Nc,
4462
- searchInput: Vc,
4463
- selectedTags: Sa,
4464
- vars: Fc,
4453
+ hasRightIcon: Ec,
4454
+ label: Rc,
4455
+ menu: Ac,
4456
+ noResults: Bc,
4457
+ option: zc,
4458
+ optionFocused: Ic,
4459
+ optionIcon: _c,
4460
+ optionLabel: jc,
4461
+ optionSelected: Lc,
4462
+ options: Dc,
4463
+ placeholder: Pc,
4464
+ rightIcon: Nc,
4465
+ search: Vc,
4466
+ searchInput: Fc,
4467
+ selectedTags: Ca,
4468
+ vars: xc,
4465
4469
  wrapper: Ta
4466
- }, Symbol.toStringTag, { value: "Module" })), Hc = P({
4470
+ }, Symbol.toStringTag, { value: "Module" })), Wc = P({
4467
4471
  name: "MSelect",
4468
4472
  emits: oe.emits(),
4469
4473
  props: {
@@ -4540,10 +4544,10 @@ const xc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4540
4544
  MTag: ka
4541
4545
  },
4542
4546
  setup(e, { emit: t, expose: n }) {
4543
- const r = $(null), a = $(), s = $(), o = $(), l = $(), i = $(0), u = $(!1), d = $(!1), c = $(""), f = $("bottom-start"), m = $(!1), g = $(0), O = $(!1), { focus: k, blur: M } = me(r), {
4547
+ const r = $(null), a = $(), s = $(), o = $(), l = $(), i = $(0), u = $(!1), d = $(!1), c = $(""), f = $("bottom-start"), m = $(!1), h = $(0), O = $(!1), { focus: k, blur: M } = me(r), {
4544
4548
  id: R,
4545
4549
  insideForm: B,
4546
- inputListeners: C,
4550
+ inputListeners: S,
4547
4551
  formError: b,
4548
4552
  formDisabled: E,
4549
4553
  formLoading: A
@@ -4553,15 +4557,15 @@ const xc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4553
4557
  reference: r,
4554
4558
  wrapper: a,
4555
4559
  offset: [0, 5]
4556
- }), z = p(() => E || e.disabled), y = p(() => A || e.loading), S = p({
4560
+ }), z = p(() => E || e.disabled), y = p(() => A || e.loading), C = p({
4557
4561
  get() {
4558
4562
  return e.multiple ? e.modelValue ? Array.isArray(e.modelValue) ? e.modelValue : [e.modelValue] : [] : e.modelValue || null;
4559
4563
  },
4560
4564
  set(F) {
4561
4565
  t("update:modelValue", F);
4562
4566
  }
4563
- }), D = p(() => e.max <= 0 ? S.value : e.multiple && Array.isArray(S.value) && S.value.length > e.max ? S.value.slice(0, e.max) : S.value), x = p(() => e.multiple && Array.isArray(S.value) && e.max > 0 ? S.value.length - e.max : 0), q = p(() => e.consistentWidth ? {
4564
- width: g.value + "px"
4567
+ }), D = p(() => e.max <= 0 ? C.value : e.multiple && Array.isArray(C.value) && C.value.length > e.max ? C.value.slice(0, e.max) : C.value), x = p(() => e.multiple && Array.isArray(C.value) && e.max > 0 ? C.value.length - e.max : 0), q = p(() => e.consistentWidth ? {
4568
+ width: h.value + "px"
4565
4569
  } : {}), I = p(() => {
4566
4570
  if (!e.options || e.options.length == 0)
4567
4571
  return [];
@@ -4572,7 +4576,7 @@ const xc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4572
4576
  if (U[e.optionLabel] === void 0)
4573
4577
  throw new Error("Option label is undefined");
4574
4578
  let Re = U[e.optionValue], nt;
4575
- return e.multiple && Array.isArray(S.value) ? nt = S.value.includes(Re) : nt = S.value === Re, {
4579
+ return e.multiple && Array.isArray(C.value) ? nt = C.value.includes(Re) : nt = C.value === Re, {
4576
4580
  value: Re,
4577
4581
  label: U[e.optionLabel],
4578
4582
  active: nt,
@@ -4592,7 +4596,7 @@ const xc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4592
4596
  if (te[e.optionLabel] === void 0)
4593
4597
  throw new Error("Option label is undefined");
4594
4598
  let U = te[e.optionValue], Re;
4595
- return e.multiple && Array.isArray(S.value) ? Re = S.value.includes(U) : Re = S.value === U, {
4599
+ return e.multiple && Array.isArray(C.value) ? Re = C.value.includes(U) : Re = C.value === U, {
4596
4600
  value: U,
4597
4601
  label: te[e.optionLabel],
4598
4602
  active: Re,
@@ -4607,7 +4611,7 @@ const xc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4607
4611
  }), F;
4608
4612
  });
4609
4613
  function W() {
4610
- e.multiple && I.value.length !== 0 && (Array.isArray(S.value) ? S.value.length === I.value.length ? S.value = [] : S.value = I.value.map((F) => F.value) : S.value = []);
4614
+ e.multiple && I.value.length !== 0 && (Array.isArray(C.value) ? C.value.length === I.value.length ? C.value = [] : C.value = I.value.map((F) => F.value) : C.value = []);
4611
4615
  }
4612
4616
  function Z() {
4613
4617
  z.value || y.value || (u.value = !0);
@@ -4624,19 +4628,19 @@ const xc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4624
4628
  function ue(F) {
4625
4629
  if (I.value.find((U) => U.value === F))
4626
4630
  if (e.multiple) {
4627
- if (Array.isArray(S.value)) {
4628
- const U = S.value.indexOf(F);
4629
- U !== -1 ? S.value.splice(U, 1) : (S.value.push(F), t("update:modelValue", S.value));
4631
+ if (Array.isArray(C.value)) {
4632
+ const U = C.value.indexOf(F);
4633
+ U !== -1 ? C.value.splice(U, 1) : (C.value.push(F), t("update:modelValue", C.value));
4630
4634
  } else
4631
- S.value = [F];
4635
+ C.value = [F];
4632
4636
  j();
4633
4637
  } else
4634
- S.value = F, u.value = !1;
4638
+ C.value = F, u.value = !1;
4635
4639
  }
4636
4640
  function be(F) {
4637
- if (e.multiple && Array.isArray(S.value)) {
4638
- const te = S.value.indexOf(F);
4639
- te !== -1 && S.value.splice(te, 1), j();
4641
+ if (e.multiple && Array.isArray(C.value)) {
4642
+ const te = C.value.indexOf(F);
4643
+ te !== -1 && C.value.splice(te, 1), j();
4640
4644
  }
4641
4645
  }
4642
4646
  ee("resize", () => {
@@ -4686,9 +4690,9 @@ const xc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4686
4690
  [nn]: d.value
4687
4691
  }
4688
4692
  ]), de = p(() => [
4689
- Ca,
4693
+ Sa,
4690
4694
  {
4691
- [Sa]: e.multiple && Array.isArray(S.value) && S.value.length > 0,
4695
+ [Ca]: e.multiple && Array.isArray(C.value) && C.value.length > 0,
4692
4696
  [nn]: u.value,
4693
4697
  // [`m-select--${props.size}`]: props.size,
4694
4698
  "m-select--disabled": z.value || y.value,
@@ -4704,13 +4708,13 @@ const xc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4704
4708
  ee(l, "keydown", se), ee(o, "keydown", se), fn(r, () => {
4705
4709
  u.value = !1;
4706
4710
  }, { ignore: [o, _] }), ft(() => {
4707
- r.value && u.value && (g.value = r.value.offsetWidth);
4711
+ r.value && u.value && (h.value = r.value.offsetWidth);
4708
4712
  }), K(i, (F) => {
4709
4713
  O.value && typeof F < "u" && s.value && s.value[F].scrollIntoView({ block: "nearest", inline: "nearest" });
4710
4714
  }), K(u, (F) => {
4711
4715
  Ge(() => {
4712
4716
  if (F || (c.value = ""), e.searchable && o.value && o.value.focus(), F && s.value) {
4713
- const te = I.value.findIndex((U) => U.value === S.value);
4717
+ const te = I.value.findIndex((U) => U.value === C.value);
4714
4718
  te !== -1 && (s.value[te].scrollIntoView({ block: "nearest" }), i.value = te);
4715
4719
  }
4716
4720
  O.value = !1;
@@ -4732,7 +4736,7 @@ const xc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4732
4736
  id: R,
4733
4737
  isOpen: tt,
4734
4738
  open: u,
4735
- selected: S,
4739
+ selected: C,
4736
4740
  selectedMax: D,
4737
4741
  selectedCountNotShown: x,
4738
4742
  computedOptions: I,
@@ -4747,53 +4751,53 @@ const xc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4747
4751
  removeSelected: be,
4748
4752
  inputError: ce,
4749
4753
  transitionName: ke,
4750
- inputListeners: C,
4751
- style: xc,
4754
+ inputListeners: S,
4755
+ style: Hc,
4752
4756
  focused: d,
4753
4757
  scale: Lt,
4754
4758
  toggleAllItems: W
4755
4759
  };
4756
4760
  }
4757
- }), Wc = {
4761
+ }), qc = {
4758
4762
  ref: "selectRef",
4759
4763
  tabindex: "-1"
4760
- }, qc = ["for", "id"], Kc = ["id", "aria-disabled", "aria-labelledby"], Gc = ["aria-hidden"], Uc = {
4764
+ }, Kc = ["for", "id"], Gc = ["id", "aria-disabled", "aria-labelledby"], Uc = ["aria-hidden"], Xc = {
4761
4765
  key: 0,
4762
4766
  xmlns: "http://www.w3.org/2000/svg",
4763
4767
  viewBox: "0 0 20 20",
4764
4768
  fill: "currentColor",
4765
4769
  "aria-hidden": "true"
4766
- }, Xc = /* @__PURE__ */ T("path", {
4770
+ }, Yc = /* @__PURE__ */ T("path", {
4767
4771
  "fill-rule": "evenodd",
4768
4772
  d: "M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z",
4769
4773
  "clip-rule": "evenodd"
4770
- }, null, -1), Yc = [
4771
- Xc
4772
- ], Zc = ["onClick", "onHover"], Jc = {
4774
+ }, null, -1), Zc = [
4775
+ Yc
4776
+ ], Jc = ["onClick", "onHover"], Qc = {
4773
4777
  key: 0,
4774
4778
  xmlns: "http://www.w3.org/2000/svg",
4775
4779
  viewBox: "0 0 20 20",
4776
4780
  fill: "currentColor",
4777
4781
  "aria-hidden": "true"
4778
- }, Qc = /* @__PURE__ */ T("path", {
4782
+ }, ef = /* @__PURE__ */ T("path", {
4779
4783
  "fill-rule": "evenodd",
4780
4784
  d: "M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z",
4781
4785
  "clip-rule": "evenodd"
4782
- }, null, -1), ef = [
4783
- Qc
4786
+ }, null, -1), tf = [
4787
+ ef
4784
4788
  ];
4785
- function tf(e, t, n, r, a, s) {
4789
+ function nf(e, t, n, r, a, s) {
4786
4790
  const o = le("MTag");
4787
- return v(), w("div", Wc, [
4791
+ return v(), w("div", qc, [
4788
4792
  e.label ? (v(), w("label", {
4789
4793
  key: 0,
4790
4794
  for: e.id,
4791
- class: h(e.style.label),
4795
+ class: g(e.style.label),
4792
4796
  id: `${e.id}-label`
4793
- }, H(e.label), 11, qc)) : V("", !0),
4797
+ }, H(e.label), 11, Kc)) : V("", !0),
4794
4798
  e.description ? (v(), w("div", {
4795
4799
  key: 1,
4796
- class: h(e.style.description)
4800
+ class: g(e.style.description)
4797
4801
  }, H(e.description), 3)) : V("", !0),
4798
4802
  T("div", $e({ class: e.computedWrapperClasses }, pt(e.inputListeners, !0), {
4799
4803
  id: e.id,
@@ -4804,7 +4808,7 @@ function tf(e, t, n, r, a, s) {
4804
4808
  onFocusin: t[2] || (t[2] = (...l) => e.focusSelect && e.focusSelect(...l))
4805
4809
  }), [
4806
4810
  T("div", {
4807
- class: h(e.selectComputedClasses)
4811
+ class: g(e.selectComputedClasses)
4808
4812
  }, [
4809
4813
  e.multiple && Array.isArray(e.selected) && e.selected.length > 0 ? (v(), w(Q, { key: 0 }, [
4810
4814
  (v(!0), w(Q, null, he(e.selectedMax, (l) => (v(), ne(o, {
@@ -4831,7 +4835,7 @@ function tf(e, t, n, r, a, s) {
4831
4835
  ie(H(e.getSelectedLabel(e.selected)), 1)
4832
4836
  ], 64)) : (v(), w("div", {
4833
4837
  key: 2,
4834
- class: h(e.style.placeholder)
4838
+ class: g(e.style.placeholder)
4835
4839
  }, H(e.placeholder), 3))
4836
4840
  ], 2),
4837
4841
  (v(), ne(Le, { to: "body" }, [
@@ -4844,30 +4848,30 @@ function tf(e, t, n, r, a, s) {
4844
4848
  default: Y(() => [
4845
4849
  e.isOpen ? (v(), w("div", {
4846
4850
  key: 0,
4847
- class: h(e.style.menu),
4851
+ class: g(e.style.menu),
4848
4852
  ref: "popper",
4849
4853
  style: re(e.computedConsistentWidth),
4850
4854
  "aria-hidden": e.isOpen ? "false" : "true"
4851
4855
  }, [
4852
4856
  e.searchable || e.multiple && e.selectAll ? (v(), w("div", {
4853
4857
  key: 0,
4854
- class: h(e.style.search)
4858
+ class: g(e.style.search)
4855
4859
  }, [
4856
4860
  e.multiple && e.selectAll ? (v(), w("div", {
4857
4861
  key: 0,
4858
- class: h(e.style.checkAll)
4862
+ class: g(e.style.checkAll)
4859
4863
  }, [
4860
4864
  T("button", {
4861
4865
  role: "button",
4862
4866
  type: "button",
4863
- class: h({
4867
+ class: g({
4864
4868
  [e.style.checkAllButton]: !0,
4865
4869
  [e.style.checkAllButtonActive]: e.computedOptions.length > 0 && e.computedOptions.length === e.selected.length
4866
4870
  }),
4867
4871
  onClick: t[0] || (t[0] = je((...l) => e.toggleAllItems && e.toggleAllItems(...l), ["prevent"])),
4868
4872
  "aria-description": "Select all items"
4869
4873
  }, [
4870
- e.computedOptions.length > 0 && e.computedOptions.length === e.selected.length ? (v(), w("svg", Uc, Yc)) : V("", !0)
4874
+ e.computedOptions.length > 0 && e.computedOptions.length === e.selected.length ? (v(), w("svg", Xc, Zc)) : V("", !0)
4871
4875
  ], 2)
4872
4876
  ], 2)) : V("", !0),
4873
4877
  e.searchable ? jt((v(), w("input", {
@@ -4876,19 +4880,19 @@ function tf(e, t, n, r, a, s) {
4876
4880
  ref: "searchRef",
4877
4881
  "onUpdate:modelValue": t[1] || (t[1] = (l) => e.search = l),
4878
4882
  placeholder: "Search",
4879
- class: h(e.style.searchInput)
4883
+ class: g(e.style.searchInput)
4880
4884
  }, null, 2)), [
4881
4885
  [bo, e.search]
4882
4886
  ]) : V("", !0)
4883
4887
  ], 2)) : V("", !0),
4884
4888
  T("div", {
4885
- class: h(e.style.options)
4889
+ class: g(e.style.options)
4886
4890
  }, [
4887
4891
  (v(!0), w(Q, null, he(e.computedOptions, (l, i) => (v(), w("div", {
4888
4892
  key: i,
4889
4893
  ref_for: !0,
4890
4894
  ref: "optionsRef",
4891
- class: h({
4895
+ class: g({
4892
4896
  [e.style.option]: !0,
4893
4897
  [e.style.optionSelected]: l.active,
4894
4898
  [e.style.optionFocused]: e.selectedIndex === i
@@ -4897,34 +4901,34 @@ function tf(e, t, n, r, a, s) {
4897
4901
  onHover: (u) => e.selectedIndex = i
4898
4902
  }, [
4899
4903
  T("span", {
4900
- class: h(e.style.optionIcon)
4904
+ class: g(e.style.optionIcon)
4901
4905
  }, [
4902
- l.active ? (v(), w("svg", Jc, ef)) : V("", !0)
4906
+ l.active ? (v(), w("svg", Qc, tf)) : V("", !0)
4903
4907
  ], 2),
4904
4908
  T("span", {
4905
- class: h(e.style.optionLabel)
4909
+ class: g(e.style.optionLabel)
4906
4910
  }, H(l.label), 3)
4907
- ], 42, Zc))), 128)),
4911
+ ], 42, Jc))), 128)),
4908
4912
  e.computedOptions.length === 0 ? (v(), w("div", {
4909
4913
  key: 0,
4910
- class: h(e.style.noResults)
4914
+ class: g(e.style.noResults)
4911
4915
  }, " No results ", 2)) : V("", !0)
4912
4916
  ], 2)
4913
- ], 14, Gc)) : V("", !0)
4917
+ ], 14, Uc)) : V("", !0)
4914
4918
  ]),
4915
4919
  _: 1
4916
4920
  }, 8, ["enter-active-class", "leave-active-class", "enter-from-class", "leave-to-class"])
4917
4921
  ]))
4918
- ], 16, Kc),
4922
+ ], 16, Gc),
4919
4923
  e.inputError ? (v(), w("div", {
4920
4924
  key: 2,
4921
- class: h(e.style.errorMessage)
4925
+ class: g(e.style.errorMessage)
4922
4926
  }, H(e.inputError), 3)) : V("", !0)
4923
4927
  ], 512);
4924
4928
  }
4925
- const nf = /* @__PURE__ */ N(Hc, [["render", tf]]);
4926
- var rf = "vvn4y46", af = "vvn4y47", Un = { height: "var(--vvn4y40)", width: "var(--vvn4y41)", marginBottom: "var(--vvn4y42)", radius: "var(--vvn4y43)", startColor: "var(--vvn4y44)", endColor: "var(--vvn4y45)" };
4927
- const of = P({
4929
+ const rf = /* @__PURE__ */ N(Wc, [["render", nf]]);
4930
+ var af = "vvn4y46", of = "vvn4y47", Un = { height: "var(--vvn4y40)", width: "var(--vvn4y41)", marginBottom: "var(--vvn4y42)", radius: "var(--vvn4y43)", startColor: "var(--vvn4y44)", endColor: "var(--vvn4y45)" };
4931
+ const sf = P({
4928
4932
  name: "MSkeleton",
4929
4933
  props: {
4930
4934
  width: {
@@ -4940,9 +4944,9 @@ const of = P({
4940
4944
  },
4941
4945
  setup(e) {
4942
4946
  const t = p(() => [
4943
- rf,
4947
+ af,
4944
4948
  {
4945
- [af]: e.loading
4949
+ [of]: e.loading
4946
4950
  }
4947
4951
  ]), n = p(() => {
4948
4952
  let r = {};
@@ -4954,24 +4958,24 @@ const of = P({
4954
4958
  };
4955
4959
  }
4956
4960
  });
4957
- function sf(e, t, n, r, a, s) {
4961
+ function lf(e, t, n, r, a, s) {
4958
4962
  return v(), w("div", {
4959
- class: h(e.computedClasses),
4963
+ class: g(e.computedClasses),
4960
4964
  style: re(e.computedStyles)
4961
4965
  }, null, 6);
4962
4966
  }
4963
- const lf = /* @__PURE__ */ N(of, [["render", sf]]);
4964
- var uf = "nth4pa6", Ma = "nth4pa5", Oa = "nth4pa8", df = "nth4pa7", cf = "nth4pa9", Ea = { xs: "nth4paa", sm: "nth4pab", md: "nth4pac", lg: "nth4pad", xl: "nth4pae" }, Ra = "nth4pa4";
4965
- const ff = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4967
+ const uf = /* @__PURE__ */ N(sf, [["render", lf]]);
4968
+ var df = "nth4pa6", Ma = "nth4pa5", Oa = "nth4pa8", cf = "nth4pa7", ff = "nth4pa9", Ea = { xs: "nth4paa", sm: "nth4pab", md: "nth4pac", lg: "nth4pad", xl: "nth4pae" }, Ra = "nth4pa4";
4969
+ const pf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4966
4970
  __proto__: null,
4967
- base: uf,
4971
+ base: df,
4968
4972
  checked: Ma,
4969
4973
  disabled: Oa,
4970
- input: df,
4971
- label: cf,
4974
+ input: cf,
4975
+ label: ff,
4972
4976
  size: Ea,
4973
4977
  toggle: Ra
4974
- }, Symbol.toStringTag, { value: "Module" })), pf = P({
4978
+ }, Symbol.toStringTag, { value: "Module" })), vf = P({
4975
4979
  name: "Switch",
4976
4980
  emits: oe.emits(),
4977
4981
  props: {
@@ -5002,9 +5006,9 @@ const ff = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5002
5006
  setError: c,
5003
5007
  formError: f,
5004
5008
  formDisabled: m,
5005
- formLoading: g,
5009
+ formLoading: h,
5006
5010
  inputListeners: O
5007
- } = oe(e, { focus: s, emit: n }), k = p(() => m || e.disabled || e.loading), M = X(e, "name"), R = $(!1), B = p(() => !!t.default), C = p(() => [
5011
+ } = oe(e, { focus: s, emit: n }), k = p(() => m || e.disabled || e.loading), M = X(e, "name"), R = $(!1), B = p(() => !!t.default), S = p(() => [
5008
5012
  Ra,
5009
5013
  [Ea[e.size]],
5010
5014
  {
@@ -5036,18 +5040,18 @@ const ff = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5036
5040
  toggleRef: a,
5037
5041
  inputError: b,
5038
5042
  toggle: E,
5039
- style: ff,
5040
- classes: C,
5043
+ style: pf,
5044
+ classes: S,
5041
5045
  hasSlot: B,
5042
5046
  inputListeners: O,
5043
5047
  focus: s,
5044
5048
  blur: o
5045
5049
  };
5046
5050
  }
5047
- }), vf = ["aria-checked", "aria-disabled", "aria-labelledby", "disabled", "name", "id"], mf = ["id"];
5048
- function hf(e, t, n, r, a, s) {
5051
+ }), mf = ["aria-checked", "aria-disabled", "aria-labelledby", "disabled", "name", "id"], hf = ["id"];
5052
+ function gf(e, t, n, r, a, s) {
5049
5053
  return v(), w("label", {
5050
- class: h(e.style.base),
5054
+ class: g(e.style.base),
5051
5055
  onClick: t[1] || (t[1] = je((...o) => e.toggle && e.toggle(...o), ["prevent"]))
5052
5056
  }, [
5053
5057
  jt(T("input", $e({
@@ -5060,23 +5064,23 @@ function hf(e, t, n, r, a, s) {
5060
5064
  name: e.name,
5061
5065
  id: e.id,
5062
5066
  class: e.style.input
5063
- }, e.$attrs, pt(e.inputListeners, !0)), null, 16, vf), [
5067
+ }, e.$attrs, pt(e.inputListeners, !0)), null, 16, mf), [
5064
5068
  [gr, e.checked]
5065
5069
  ]),
5066
5070
  T("span", {
5067
- class: h(e.classes)
5071
+ class: g(e.classes)
5068
5072
  }, null, 2),
5069
5073
  T("span", {
5070
- class: h(e.style.label),
5074
+ class: g(e.style.label),
5071
5075
  id: `${e.id}-label`
5072
5076
  }, [
5073
5077
  e.hasSlot ? L(e.$slots, "default", { key: 0 }) : (v(), w(Q, { key: 1 }, [
5074
5078
  ie(H(e.label), 1)
5075
5079
  ], 64))
5076
- ], 10, mf)
5080
+ ], 10, hf)
5077
5081
  ], 2);
5078
5082
  }
5079
- const gf = /* @__PURE__ */ N(pf, [["render", hf]]), yf = P({
5083
+ const yf = /* @__PURE__ */ N(vf, [["render", gf]]), bf = P({
5080
5084
  name: "Tab",
5081
5085
  props: {
5082
5086
  value: {
@@ -5121,17 +5125,17 @@ const gf = /* @__PURE__ */ N(pf, [["render", hf]]), yf = P({
5121
5125
  teleportTo: s
5122
5126
  };
5123
5127
  }
5124
- }), bf = ["data-value"], wf = ["disabled"];
5125
- function $f(e, t, n, r, a, s) {
5128
+ }), wf = ["data-value"], $f = ["disabled"];
5129
+ function kf(e, t, n, r, a, s) {
5126
5130
  return v(), w("li", {
5127
5131
  "data-value": e.computedValue,
5128
- class: h(e.computedTabWrapperClasses)
5132
+ class: g(e.computedTabWrapperClasses)
5129
5133
  }, [
5130
5134
  T("button", {
5131
5135
  role: "button",
5132
5136
  type: "button",
5133
5137
  ref: "tabRef",
5134
- class: h(e.computedTabClasses),
5138
+ class: g(e.computedTabClasses),
5135
5139
  onClick: t[0] || (t[0] = je((...o) => e.handleClick && e.handleClick(...o), ["prevent"])),
5136
5140
  disabled: e.disabled
5137
5141
  }, [
@@ -5147,10 +5151,10 @@ function $f(e, t, n, r, a, s) {
5147
5151
  }, [
5148
5152
  L(e.$slots, "default")
5149
5153
  ], 8, ["to"])) : V("", !0)
5150
- ], 10, wf)
5151
- ], 10, bf);
5154
+ ], 10, $f)
5155
+ ], 10, wf);
5152
5156
  }
5153
- const kf = /* @__PURE__ */ N(yf, [["render", $f]]), Cf = P({
5157
+ const Sf = /* @__PURE__ */ N(bf, [["render", kf]]), Cf = P({
5154
5158
  name: "TabGroup",
5155
5159
  props: {
5156
5160
  modelValue: {
@@ -5185,7 +5189,7 @@ const kf = /* @__PURE__ */ N(yf, [["render", $f]]), Cf = P({
5185
5189
  function u(d) {
5186
5190
  s.value = d, t("update:modelValue", d);
5187
5191
  }
5188
- return Ce("tabs", {
5192
+ return Se("tabs", {
5189
5193
  tabsContentRef: r,
5190
5194
  selectTab: u,
5191
5195
  state: o
@@ -5197,36 +5201,36 @@ const kf = /* @__PURE__ */ N(yf, [["render", $f]]), Cf = P({
5197
5201
  computedTabsClasses: i
5198
5202
  };
5199
5203
  }
5200
- }), Sf = { ref: "wrapperRef" }, Tf = {
5204
+ }), Tf = { ref: "wrapperRef" }, Mf = {
5201
5205
  ref: "tabsContentRef",
5202
5206
  class: "m-tab-group__content"
5203
5207
  };
5204
- function Mf(e, t, n, r, a, s) {
5208
+ function Of(e, t, n, r, a, s) {
5205
5209
  return v(), w("div", {
5206
- class: h(e.computedWrapperClasses)
5210
+ class: g(e.computedWrapperClasses)
5207
5211
  }, [
5208
- T("div", Sf, [
5212
+ T("div", Tf, [
5209
5213
  T("ul", {
5210
5214
  ref: "tabsRef",
5211
- class: h(e.computedTabsClasses)
5215
+ class: g(e.computedTabsClasses)
5212
5216
  }, [
5213
5217
  L(e.$slots, "default")
5214
5218
  ], 2)
5215
5219
  ], 512),
5216
- T("div", Tf, null, 512)
5220
+ T("div", Mf, null, 512)
5217
5221
  ], 2);
5218
5222
  }
5219
- const Of = /* @__PURE__ */ N(Cf, [["render", Mf]]), Ef = P({
5223
+ const Ef = /* @__PURE__ */ N(Cf, [["render", Of]]), Rf = P({
5220
5224
  name: "TableHeadRow"
5221
5225
  });
5222
- function Rf(e, t, n, r, a, s) {
5226
+ function Af(e, t, n, r, a, s) {
5223
5227
  return v(), w("thead", null, [
5224
5228
  T("tr", null, [
5225
5229
  L(e.$slots, "default")
5226
5230
  ])
5227
5231
  ]);
5228
5232
  }
5229
- const Aa = /* @__PURE__ */ N(Ef, [["render", Rf]]), Af = P({
5233
+ const Aa = /* @__PURE__ */ N(Rf, [["render", Af]]), Bf = P({
5230
5234
  name: "TableHead",
5231
5235
  props: {
5232
5236
  sort: {
@@ -5249,22 +5253,22 @@ const Aa = /* @__PURE__ */ N(Ef, [["render", Rf]]), Af = P({
5249
5253
  };
5250
5254
  }
5251
5255
  });
5252
- function Bf(e, t, n, r, a, s) {
5256
+ function zf(e, t, n, r, a, s) {
5253
5257
  return v(), w("th", {
5254
5258
  style: re(e.computedStyles)
5255
5259
  }, [
5256
5260
  L(e.$slots, "default")
5257
5261
  ], 4);
5258
5262
  }
5259
- const Ba = /* @__PURE__ */ N(Af, [["render", Bf]]), zf = P({
5263
+ const Ba = /* @__PURE__ */ N(Bf, [["render", zf]]), If = P({
5260
5264
  name: "TableBody"
5261
5265
  });
5262
- function If(e, t, n, r, a, s) {
5266
+ function _f(e, t, n, r, a, s) {
5263
5267
  return v(), w("tbody", null, [
5264
5268
  L(e.$slots, "default")
5265
5269
  ]);
5266
5270
  }
5267
- const za = /* @__PURE__ */ N(zf, [["render", If]]), _f = P({
5271
+ const za = /* @__PURE__ */ N(If, [["render", _f]]), jf = P({
5268
5272
  name: "TableRow",
5269
5273
  setup(e) {
5270
5274
  return {
@@ -5272,7 +5276,7 @@ const za = /* @__PURE__ */ N(zf, [["render", If]]), _f = P({
5272
5276
  };
5273
5277
  }
5274
5278
  });
5275
- function jf(e, t, n, r, a, s) {
5279
+ function Lf(e, t, n, r, a, s) {
5276
5280
  return v(), w("tr", {
5277
5281
  onMouseenter: t[0] || (t[0] = (o) => e.hover = !0),
5278
5282
  onMouseleave: t[1] || (t[1] = (o) => e.hover = !1)
@@ -5280,17 +5284,17 @@ function jf(e, t, n, r, a, s) {
5280
5284
  L(e.$slots, "default", { onHover: e.hover })
5281
5285
  ], 32);
5282
5286
  }
5283
- const Ia = /* @__PURE__ */ N(_f, [["render", jf]]), Lf = P({
5287
+ const Ia = /* @__PURE__ */ N(jf, [["render", Lf]]), Df = P({
5284
5288
  name: "TableCell"
5285
5289
  });
5286
- function Df(e, t, n, r, a, s) {
5290
+ function Pf(e, t, n, r, a, s) {
5287
5291
  return v(), w("td", null, [
5288
5292
  L(e.$slots, "default")
5289
5293
  ]);
5290
5294
  }
5291
- const _a = /* @__PURE__ */ N(Lf, [["render", Df]]);
5292
- var Pf = "_7qymuu5", Nf = "_7qymuu6", Vf = "_7qymuu4", Ff = "_7qymuu0";
5293
- const xf = P({
5295
+ const _a = /* @__PURE__ */ N(Df, [["render", Pf]]);
5296
+ var Nf = "_7qymuu5", Vf = "_7qymuu6", Ff = "_7qymuu4", xf = "_7qymuu0";
5297
+ const Hf = P({
5294
5298
  name: "Table",
5295
5299
  components: {
5296
5300
  TableHeadRow: Aa,
@@ -5331,16 +5335,16 @@ const xf = P({
5331
5335
  },
5332
5336
  setup(e, { emit: t, attrs: n }) {
5333
5337
  const r = p(() => [
5334
- Ff,
5338
+ xf,
5335
5339
  "m-table__wrapper",
5336
5340
  {
5337
5341
  "m-table__wrapper--loading": e.loading
5338
5342
  }
5339
5343
  ]), a = p(() => [
5340
- Vf,
5344
+ Ff,
5341
5345
  {
5342
- [Pf]: e.hover,
5343
- [Nf]: e.striped
5346
+ [Nf]: e.hover,
5347
+ [Vf]: e.striped
5344
5348
  }
5345
5349
  ]), s = p({
5346
5350
  get() {
@@ -5377,14 +5381,14 @@ const xf = P({
5377
5381
  onSelect: i
5378
5382
  };
5379
5383
  }
5380
- }), Hf = { key: 1 }, Wf = ["colspan"];
5381
- function qf(e, t, n, r, a, s) {
5384
+ }), Wf = { key: 1 }, qf = ["colspan"];
5385
+ function Kf(e, t, n, r, a, s) {
5382
5386
  const o = le("MCheckbox"), l = le("TableHead"), i = le("TableHeadRow"), u = le("TableCell"), d = le("TableRow"), c = le("TableBody");
5383
5387
  return v(), w("div", {
5384
- class: h(e.wrapperComputedClasses)
5388
+ class: g(e.wrapperComputedClasses)
5385
5389
  }, [
5386
5390
  T("table", {
5387
- class: h(e.tableComputedClasses)
5391
+ class: g(e.tableComputedClasses)
5388
5392
  }, [
5389
5393
  J(i, null, {
5390
5394
  default: Y(() => [
@@ -5420,7 +5424,7 @@ function qf(e, t, n, r, a, s) {
5420
5424
  J(c, null, {
5421
5425
  default: Y(() => [
5422
5426
  e.items.length > 0 ? (v(!0), w(Q, { key: 0 }, he(e.items, (f, m) => (v(), ne(d, { key: m }, {
5423
- default: Y(({ onHover: g }) => [
5427
+ default: Y(({ onHover: h }) => [
5424
5428
  e.modelValue ? (v(), ne(u, { key: 0 }, {
5425
5429
  default: Y(() => [
5426
5430
  J(o, {
@@ -5440,7 +5444,7 @@ function qf(e, t, n, r, a, s) {
5440
5444
  default: Y(() => [
5441
5445
  L(e.$slots, O.key, {
5442
5446
  item: f,
5443
- onHover: g
5447
+ onHover: h
5444
5448
  }, () => [
5445
5449
  ie(H(
5446
5450
  //@ts-ignore
@@ -5453,12 +5457,12 @@ function qf(e, t, n, r, a, s) {
5453
5457
  ]),
5454
5458
  _: 2
5455
5459
  }, 1024))), 128)) : V("", !0),
5456
- e.items.length === 0 ? (v(), w("tr", Hf, [
5460
+ e.items.length === 0 ? (v(), w("tr", Wf, [
5457
5461
  T("td", {
5458
5462
  colspan: e.headers.length
5459
5463
  }, [
5460
5464
  L(e.$slots, "empty")
5461
- ], 8, Wf)
5465
+ ], 8, qf)
5462
5466
  ])) : V("", !0)
5463
5467
  ]),
5464
5468
  _: 3
@@ -5466,21 +5470,21 @@ function qf(e, t, n, r, a, s) {
5466
5470
  ], 2)
5467
5471
  ], 2);
5468
5472
  }
5469
- const Kf = /* @__PURE__ */ N(xf, [["render", qf]]);
5470
- var ja = "_5gdpyh9", Rt = "_5gdpyhf", Gf = "_5gdpyhi", La = "_5gdpyhg", Da = "_5gdpyhk", Uf = "_5gdpyhj", Xf = "_5gdpyhh", Pa = { xs: "_5gdpyha", sm: "_5gdpyhb", md: "_5gdpyhc", lg: "_5gdpyhd", xl: "_5gdpyhe" }, Yf = { height: "var(--_5gdpyh0)", radius: "var(--_5gdpyh1)", paddingX: "var(--_5gdpyh2)", paddingY: "var(--_5gdpyh3)", borderColor: "var(--_5gdpyh4)", backgroundColor: "var(--_5gdpyh5)", color: "var(--_5gdpyh6)", cursor: "var(--_5gdpyh7)" }, Na = "_5gdpyh8";
5471
- const Zf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5473
+ const Gf = /* @__PURE__ */ N(Hf, [["render", Kf]]);
5474
+ var ja = "_5gdpyh9", Rt = "_5gdpyhf", Uf = "_5gdpyhi", La = "_5gdpyhg", Da = "_5gdpyhk", Xf = "_5gdpyhj", Yf = "_5gdpyhh", Pa = { xs: "_5gdpyha", sm: "_5gdpyhb", md: "_5gdpyhc", lg: "_5gdpyhd", xl: "_5gdpyhe" }, Zf = { height: "var(--_5gdpyh0)", radius: "var(--_5gdpyh1)", paddingX: "var(--_5gdpyh2)", paddingY: "var(--_5gdpyh3)", borderColor: "var(--_5gdpyh4)", backgroundColor: "var(--_5gdpyh5)", color: "var(--_5gdpyh6)", cursor: "var(--_5gdpyh7)" }, Na = "_5gdpyh8";
5475
+ const Jf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5472
5476
  __proto__: null,
5473
5477
  base: ja,
5474
5478
  block: Rt,
5475
- description: Gf,
5479
+ description: Uf,
5476
5480
  disabled: La,
5477
5481
  error: Da,
5478
- errorMessage: Uf,
5479
- label: Xf,
5482
+ errorMessage: Xf,
5483
+ label: Yf,
5480
5484
  size: Pa,
5481
- vars: Yf,
5485
+ vars: Zf,
5482
5486
  wrapper: Na
5483
- }, Symbol.toStringTag, { value: "Module" })), Jf = P({
5487
+ }, Symbol.toStringTag, { value: "Module" })), Qf = P({
5484
5488
  name: "MTextArea",
5485
5489
  props: {
5486
5490
  ...oe.props(),
@@ -5535,9 +5539,9 @@ const Zf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5535
5539
  validate: c,
5536
5540
  setError: f,
5537
5541
  formError: m,
5538
- formDisabled: g,
5542
+ formDisabled: h,
5539
5543
  formLoading: O
5540
- } = oe(e, { focus: s, emit: n }), k = X(e, "name"), M = p(() => g || e.disabled), R = p(() => O || e.loading), B = p(() => e.loading || e.readonly), C = p(() => [
5544
+ } = oe(e, { focus: s, emit: n }), k = X(e, "name"), M = p(() => h || e.disabled), R = p(() => O || e.loading), B = p(() => e.loading || e.readonly), S = p(() => [
5541
5545
  {
5542
5546
  [Rt]: e.block
5543
5547
  }
@@ -5568,10 +5572,10 @@ const Zf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5568
5572
  readonly: B,
5569
5573
  inputComputedClasses: E,
5570
5574
  wrapperComputedClasses: b,
5571
- computedContainerClasses: C,
5575
+ computedContainerClasses: S,
5572
5576
  name: k,
5573
5577
  inputError: A,
5574
- style: Zf,
5578
+ style: Jf,
5575
5579
  onClear: _,
5576
5580
  validate: c,
5577
5581
  setError: f,
@@ -5580,24 +5584,24 @@ const Zf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5580
5584
  inputListeners: d
5581
5585
  };
5582
5586
  }
5583
- }), Qf = ["for", "id"], ep = ["id", "placeholder", "name", "value", "readonly", "disabled", "aria-disabled", "aria-labelledby"];
5584
- function tp(e, t, n, r, a, s) {
5587
+ }), ep = ["for", "id"], tp = ["id", "placeholder", "name", "value", "readonly", "disabled", "aria-disabled", "aria-labelledby"];
5588
+ function np(e, t, n, r, a, s) {
5585
5589
  return v(), w("div", {
5586
5590
  ref: "container",
5587
- class: h(e.computedContainerClasses)
5591
+ class: g(e.computedContainerClasses)
5588
5592
  }, [
5589
5593
  e.label ? (v(), w("label", {
5590
5594
  key: 0,
5591
5595
  for: e.id,
5592
5596
  id: `${e.id}-label`,
5593
- class: h(e.style.label)
5594
- }, H(e.label), 11, Qf)) : V("", !0),
5597
+ class: g(e.style.label)
5598
+ }, H(e.label), 11, ep)) : V("", !0),
5595
5599
  e.description ? (v(), w("div", {
5596
5600
  key: 1,
5597
- class: h(e.style.description)
5601
+ class: g(e.style.description)
5598
5602
  }, H(e.description), 3)) : V("", !0),
5599
5603
  T("div", {
5600
- class: h(e.wrapperComputedClasses)
5604
+ class: g(e.wrapperComputedClasses)
5601
5605
  }, [
5602
5606
  T("textarea", $e({
5603
5607
  style: `height: ${e.height}px`,
@@ -5611,26 +5615,26 @@ function tp(e, t, n, r, a, s) {
5611
5615
  disabled: e.disabled || e.loading,
5612
5616
  "aria-disabled": e.disabled ? "true" : "false",
5613
5617
  "aria-labelledby": `${e.id}-label`
5614
- }), null, 16, ep)
5618
+ }), null, 16, tp)
5615
5619
  ], 2),
5616
5620
  e.inputError ? (v(), w("div", {
5617
5621
  key: 2,
5618
- class: h(e.style.errorMessage)
5622
+ class: g(e.style.errorMessage)
5619
5623
  }, H(e.inputError), 3)) : V("", !0)
5620
5624
  ], 2);
5621
5625
  }
5622
- const np = /* @__PURE__ */ N(Jf, [["render", tp]]);
5623
- var rp = "zjrp2q3", ap = "zjrp2q6", op = "zjrp2q7", Va = "zjrp2q5", Fa = "zjrp2q4", sp = { backgroundColor: "var(--zjrp2q0)", color: "var(--zjrp2q1)" }, lp = "zjrp2q2";
5624
- const ip = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5626
+ const rp = /* @__PURE__ */ N(Qf, [["render", np]]);
5627
+ var ap = "zjrp2q3", op = "zjrp2q6", sp = "zjrp2q7", Va = "zjrp2q5", Fa = "zjrp2q4", lp = { backgroundColor: "var(--zjrp2q0)", color: "var(--zjrp2q1)" }, ip = "zjrp2q2";
5628
+ const up = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5625
5629
  __proto__: null,
5626
- container: rp,
5627
- fadeEnter: ap,
5628
- fadeLeave: op,
5630
+ container: ap,
5631
+ fadeEnter: op,
5632
+ fadeLeave: sp,
5629
5633
  reverse: Va,
5630
5634
  tooltip: Fa,
5631
- vars: sp,
5632
- wrapper: lp
5633
- }, Symbol.toStringTag, { value: "Module" })), up = P({
5635
+ vars: lp,
5636
+ wrapper: ip
5637
+ }, Symbol.toStringTag, { value: "Module" })), dp = P({
5634
5638
  name: "MTooltip",
5635
5639
  props: {
5636
5640
  text: {
@@ -5695,7 +5699,7 @@ const ip = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5695
5699
  k && f();
5696
5700
  }
5697
5701
  );
5698
- function g() {
5702
+ function h() {
5699
5703
  i.value && clearTimeout(i.value), e.delay ? i.value = setTimeout(() => {
5700
5704
  o.value = !0;
5701
5705
  }, e.delay) : o.value = !0;
@@ -5710,23 +5714,23 @@ const ip = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5710
5714
  popper: d,
5711
5715
  transferTo: c,
5712
5716
  isOpen: o,
5713
- show: g,
5717
+ show: h,
5714
5718
  hide: O,
5715
5719
  computedClasses: m,
5716
5720
  zIndex: l,
5717
- style: ip,
5721
+ style: up,
5718
5722
  fade: Ir
5719
5723
  };
5720
5724
  }
5721
- }), dp = { ref: "reference" };
5722
- function cp(e, t, n, r, a, s) {
5725
+ }), cp = { ref: "reference" };
5726
+ function fp(e, t, n, r, a, s) {
5723
5727
  return v(), w("span", $e(e.$attrs, {
5724
5728
  style: { display: "inline-flex" },
5725
5729
  onMouseenter: t[0] || (t[0] = (...o) => e.show && e.show(...o)),
5726
5730
  onMouseleave: t[1] || (t[1] = (...o) => e.hide && e.hide(...o)),
5727
5731
  ref: "wrapper"
5728
5732
  }), [
5729
- T("span", dp, [
5733
+ T("span", cp, [
5730
5734
  L(e.$slots, "default")
5731
5735
  ], 512),
5732
5736
  (v(), ne(Le, { to: e.transferTo }, [
@@ -5740,7 +5744,7 @@ function cp(e, t, n, r, a, s) {
5740
5744
  e.isOpen ? (v(), w("div", {
5741
5745
  key: 0,
5742
5746
  role: "tooltip",
5743
- class: h(e.computedClasses),
5747
+ class: g(e.computedClasses),
5744
5748
  ref: "popper",
5745
5749
  style: re({ zIndex: e.zIndex })
5746
5750
  }, [
@@ -5754,18 +5758,18 @@ function cp(e, t, n, r, a, s) {
5754
5758
  ], 8, ["to"]))
5755
5759
  ], 16);
5756
5760
  }
5757
- const fp = /* @__PURE__ */ N(up, [["render", cp]]);
5758
- var pp = "eo9iqi1", vp = "eo9iqi3", mp = "eo9iqi4", hp = "eo9iqi2", gp = "eo9iqi5", yp = {}, bp = "eo9iqi0";
5759
- const wp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5761
+ const pp = /* @__PURE__ */ N(dp, [["render", fp]]);
5762
+ var vp = "eo9iqi1", mp = "eo9iqi3", hp = "eo9iqi4", gp = "eo9iqi2", yp = "eo9iqi5", bp = {}, wp = "eo9iqi0";
5763
+ const $p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5760
5764
  __proto__: null,
5761
- list: pp,
5762
- listBody: vp,
5763
- listContainer: mp,
5764
- listHeader: hp,
5765
- transferItem: gp,
5766
- vars: yp,
5767
- wrapper: bp
5768
- }, Symbol.toStringTag, { value: "Module" })), $p = P({
5765
+ list: vp,
5766
+ listBody: mp,
5767
+ listContainer: hp,
5768
+ listHeader: gp,
5769
+ transferItem: yp,
5770
+ vars: bp,
5771
+ wrapper: wp
5772
+ }, Symbol.toStringTag, { value: "Module" })), kp = P({
5769
5773
  name: "Transfer",
5770
5774
  props: {
5771
5775
  options: {
@@ -5816,7 +5820,7 @@ const wp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5816
5820
  };
5817
5821
  }, { sourceData: a, targetData: s } = r();
5818
5822
  return {
5819
- style: wp,
5823
+ style: $p,
5820
5824
  sourceData: a,
5821
5825
  targetData: s,
5822
5826
  wrapper: n,
@@ -5828,23 +5832,23 @@ const wp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5828
5832
  }
5829
5833
  };
5830
5834
  }
5831
- }), kp = ["onClick"], Cp = ["onClick"];
5832
- function Sp(e, t, n, r, a, s) {
5835
+ }), Sp = ["onClick"], Cp = ["onClick"];
5836
+ function Tp(e, t, n, r, a, s) {
5833
5837
  return v(), w("div", {
5834
- class: h(e.style.wrapper),
5838
+ class: g(e.style.wrapper),
5835
5839
  ref: "wrapper"
5836
5840
  }, [
5837
5841
  T("div", {
5838
- class: h([e.style.list])
5842
+ class: g([e.style.list])
5839
5843
  }, [
5840
5844
  T("div", {
5841
- class: h(e.style.listHeader)
5845
+ class: g(e.style.listHeader)
5842
5846
  }, H(e.sourceTitle), 3),
5843
5847
  T("div", {
5844
- class: h(e.style.listBody)
5848
+ class: g(e.style.listBody)
5845
5849
  }, [
5846
5850
  T("div", {
5847
- class: h(e.style.listContainer)
5851
+ class: g(e.style.listContainer)
5848
5852
  }, [
5849
5853
  (v(!0), w(Q, null, he(e.sourceData, (o) => (v(), w("div", {
5850
5854
  key: (
@@ -5852,25 +5856,25 @@ function Sp(e, t, n, r, a, s) {
5852
5856
  o[e.optionKey]
5853
5857
  ),
5854
5858
  onClick: (l) => e.handleSourceClick(o),
5855
- class: h(e.style.transferItem)
5859
+ class: g(e.style.transferItem)
5856
5860
  }, H(
5857
5861
  // @ts-ignore
5858
5862
  o[e.optionLabel]
5859
- ), 11, kp))), 128))
5863
+ ), 11, Sp))), 128))
5860
5864
  ], 2)
5861
5865
  ], 2)
5862
5866
  ], 2),
5863
5867
  T("div", {
5864
- class: h([e.style.list])
5868
+ class: g([e.style.list])
5865
5869
  }, [
5866
5870
  T("div", {
5867
- class: h(e.style.listHeader)
5871
+ class: g(e.style.listHeader)
5868
5872
  }, H(e.targetTitle), 3),
5869
5873
  T("div", {
5870
- class: h(e.style.listBody)
5874
+ class: g(e.style.listBody)
5871
5875
  }, [
5872
5876
  T("div", {
5873
- class: h(e.style.listContainer)
5877
+ class: g(e.style.listContainer)
5874
5878
  }, [
5875
5879
  (v(!0), w(Q, null, he(e.targetData, (o) => (v(), w("div", {
5876
5880
  key: (
@@ -5878,7 +5882,7 @@ function Sp(e, t, n, r, a, s) {
5878
5882
  o[e.optionKey]
5879
5883
  ),
5880
5884
  onClick: (l) => e.handleTargetClick(o),
5881
- class: h(e.style.transferItem)
5885
+ class: g(e.style.transferItem)
5882
5886
  }, H(
5883
5887
  // @ts-ignore
5884
5888
  o[e.optionLabel]
@@ -5888,12 +5892,12 @@ function Sp(e, t, n, r, a, s) {
5888
5892
  ], 2)
5889
5893
  ], 2);
5890
5894
  }
5891
- const Tp = /* @__PURE__ */ N($p, [["render", Sp]]);
5892
- var Mp = "_1e8logj0";
5893
- const Op = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5895
+ const Mp = /* @__PURE__ */ N(kp, [["render", Tp]]);
5896
+ var Op = "_1e8logj0";
5897
+ const Ep = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5894
5898
  __proto__: null,
5895
- container: Mp
5896
- }, Symbol.toStringTag, { value: "Module" })), Ep = P({
5899
+ container: Op
5900
+ }, Symbol.toStringTag, { value: "Module" })), Rp = P({
5897
5901
  name: "VirtualScroll",
5898
5902
  props: {
5899
5903
  items: {
@@ -5941,7 +5945,7 @@ const Op = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5941
5945
  ) + 2 * e.buffer
5942
5946
  );
5943
5947
  return { row: R, col: B };
5944
- }), f = p(() => d.value.col * e.itemWidth), m = p(() => d.value.row * e.itemHeight), g = p(
5948
+ }), f = p(() => d.value.col * e.itemWidth), m = p(() => d.value.row * e.itemHeight), h = p(
5945
5949
  () => Math.ceil(a.value / e.itemHeight)
5946
5950
  ), O = p(
5947
5951
  () => Math.ceil(s.value / e.itemWidth)
@@ -5951,7 +5955,7 @@ const Op = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5951
5955
  return ft(() => {
5952
5956
  const R = Math.min(
5953
5957
  e.items.length - d.value.row,
5954
- g.value + 2 * Math.round(e.buffer + e.buffer / 2)
5958
+ h.value + 2 * Math.round(e.buffer + e.buffer / 2)
5955
5959
  ), B = Math.min(
5956
5960
  // @ts-ignore
5957
5961
  e.items[0].length - d.value.col,
@@ -5983,14 +5987,14 @@ const Op = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5983
5987
  offsetX: f,
5984
5988
  offsetY: m,
5985
5989
  onScroll: M,
5986
- style: Op
5990
+ style: Ep
5987
5991
  };
5988
5992
  }
5989
5993
  });
5990
- function Rp(e, t, n, r, a, s) {
5994
+ function Ap(e, t, n, r, a, s) {
5991
5995
  return v(), w("div", {
5992
5996
  ref: "scroller",
5993
- class: h(e.style.container),
5997
+ class: g(e.style.container),
5994
5998
  onScrollPassive: t[0] || (t[0] = (...o) => e.onScroll && e.onScroll(...o))
5995
5999
  }, [
5996
6000
  T("div", {
@@ -6015,7 +6019,7 @@ function Rp(e, t, n, r, a, s) {
6015
6019
  ], 4)
6016
6020
  ], 34);
6017
6021
  }
6018
- const Ap = /* @__PURE__ */ N(Ep, [["render", Rp]]), Bp = {
6022
+ const Bp = /* @__PURE__ */ N(Rp, [["render", Ap]]), zp = {
6019
6023
  title: String,
6020
6024
  closable: {
6021
6025
  type: Boolean,
@@ -6033,9 +6037,9 @@ const Ap = /* @__PURE__ */ N(Ep, [["render", Rp]]), Bp = {
6033
6037
  type: String,
6034
6038
  default: "primary"
6035
6039
  }
6036
- }, zp = P({
6040
+ }, Ip = P({
6037
6041
  name: "Confirm",
6038
- props: Bp,
6042
+ props: zp,
6039
6043
  setup(e, { slots: t }) {
6040
6044
  const n = $();
6041
6045
  et();
@@ -6057,8 +6061,8 @@ const Ap = /* @__PURE__ */ N(Ep, [["render", Rp]]), Bp = {
6057
6061
  };
6058
6062
  },
6059
6063
  components: { MModal: ma }
6060
- }), Ip = { style: { display: "flex", "flex-grow": "1", "justify-content": "end" } };
6061
- function _p(e, t, n, r, a, s) {
6064
+ }), _p = { style: { display: "flex", "flex-grow": "1", "justify-content": "end" } };
6065
+ function jp(e, t, n, r, a, s) {
6062
6066
  const o = le("MButton"), l = le("MModal");
6063
6067
  return v(), w("div", null, [
6064
6068
  J(l, {
@@ -6071,7 +6075,7 @@ function _p(e, t, n, r, a, s) {
6071
6075
  ie(H(e.content), 1)
6072
6076
  ]),
6073
6077
  footer: Y(() => [
6074
- T("div", Ip, [
6078
+ T("div", _p, [
6075
6079
  J(o, {
6076
6080
  variant: e.okVariant,
6077
6081
  onClick: e.handleOk
@@ -6096,14 +6100,14 @@ function _p(e, t, n, r, a, s) {
6096
6100
  }, 8, ["title", "onClose"])
6097
6101
  ]);
6098
6102
  }
6099
- const jp = /* @__PURE__ */ N(zp, [["render", _p]]), Lp = {
6103
+ const Lp = /* @__PURE__ */ N(Ip, [["render", jp]]), Dp = {
6100
6104
  teleportTo: {
6101
6105
  type: String,
6102
6106
  default: "body"
6103
6107
  }
6104
- }, Dp = P({
6108
+ }, Pp = P({
6105
6109
  name: "ConfirmProvider",
6106
- props: Lp,
6110
+ props: Dp,
6107
6111
  setup(e, { slots: t }) {
6108
6112
  const n = $([]), r = {};
6109
6113
  function a(l) {
@@ -6125,14 +6129,14 @@ const jp = /* @__PURE__ */ N(zp, [["render", _p]]), Lp = {
6125
6129
  create: a,
6126
6130
  destroyAll: s
6127
6131
  };
6128
- return Ce("m-confirm", o), {
6132
+ return Se("m-confirm", o), {
6129
6133
  ...o,
6130
6134
  dialogRefs: r,
6131
6135
  dialogList: n
6132
6136
  };
6133
6137
  }
6134
6138
  });
6135
- function Pp(e, t, n, r, a, s) {
6139
+ function Np(e, t, n, r, a, s) {
6136
6140
  const o = le("MConfirm");
6137
6141
  return v(), w(Q, null, [
6138
6142
  L(e.$slots, "default"),
@@ -6158,22 +6162,22 @@ function Pp(e, t, n, r, a, s) {
6158
6162
  ])
6159
6163
  ], 64);
6160
6164
  }
6161
- const Np = /* @__PURE__ */ N(Dp, [["render", Pp]]);
6162
- var xa = "cjx5qb1", Ha = "cjx5qb2", Vp = "cjx5qb9", Fp = "cjx5qb5", xp = "cjx5qb4", Hp = "cjx5qb7", Wp = "cjx5qb6", qp = "cjx5qb0", Kp = "cjx5qb8", Gp = {}, Up = "cjx5qb3";
6163
- const Xp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6165
+ const Vp = /* @__PURE__ */ N(Pp, [["render", Np]]);
6166
+ var xa = "cjx5qb1", Ha = "cjx5qb2", Fp = "cjx5qb9", xp = "cjx5qb5", Hp = "cjx5qb4", Wp = "cjx5qb7", qp = "cjx5qb6", Kp = "cjx5qb0", Gp = "cjx5qb8", Up = {}, Xp = "cjx5qb3";
6167
+ const Yp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6164
6168
  __proto__: null,
6165
6169
  backdrop: xa,
6166
6170
  backdropColor: Ha,
6167
- close: Vp,
6168
- content: Fp,
6169
- dialog: xp,
6170
- footer: Hp,
6171
- header: Wp,
6172
- root: qp,
6173
- title: Kp,
6174
- vars: Gp,
6175
- wrapper: Up
6176
- }, Symbol.toStringTag, { value: "Module" })), Yp = P({
6171
+ close: Fp,
6172
+ content: xp,
6173
+ dialog: Hp,
6174
+ footer: Wp,
6175
+ header: qp,
6176
+ root: Kp,
6177
+ title: Gp,
6178
+ vars: Up,
6179
+ wrapper: Xp
6180
+ }, Symbol.toStringTag, { value: "Module" })), Zp = P({
6177
6181
  name: "Dialog",
6178
6182
  props: {
6179
6183
  title: {
@@ -6228,35 +6232,35 @@ const Xp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6228
6232
  width: u,
6229
6233
  x: s,
6230
6234
  y: o,
6231
- style: Xp,
6235
+ style: Yp,
6232
6236
  backdropClasses: i,
6233
6237
  nextZIndex: l
6234
6238
  };
6235
6239
  }
6236
- }), Zp = /* @__PURE__ */ T("div", {
6240
+ }), Jp = /* @__PURE__ */ T("div", {
6237
6241
  tabindex: "0",
6238
6242
  "aria-hidden": "true",
6239
6243
  style: { width: "0px", height: "0px", overflow: "hidden", outline: "none" }
6240
- }, null, -1), Jp = /* @__PURE__ */ T("div", {
6244
+ }, null, -1), Qp = /* @__PURE__ */ T("div", {
6241
6245
  tabindex: "0",
6242
6246
  "aria-hidden": "true",
6243
6247
  style: { width: "0px", height: "0px", overflow: "hidden", outline: "none" }
6244
6248
  }, null, -1);
6245
- function Qp(e, t, n, r, a, s) {
6249
+ function ev(e, t, n, r, a, s) {
6246
6250
  return v(), ne(Le, { to: "body" }, [
6247
6251
  T("div", {
6248
- class: h(e.style.root)
6252
+ class: g(e.style.root)
6249
6253
  }, [
6250
6254
  T("div", {
6251
- class: h(e.backdropClasses)
6255
+ class: g(e.backdropClasses)
6252
6256
  }, null, 2),
6253
6257
  T("div", {
6254
6258
  ref: "wrapper",
6255
- class: h(e.style.wrapper)
6259
+ class: g(e.style.wrapper)
6256
6260
  }, [
6257
6261
  T("div", {
6258
6262
  ref: "dialog",
6259
- class: h(e.style.dialog),
6263
+ class: g(e.style.dialog),
6260
6264
  style: re({
6261
6265
  // top: y + 'px',
6262
6266
  // left: x + 'px',
@@ -6264,20 +6268,20 @@ function Qp(e, t, n, r, a, s) {
6264
6268
  width: e.width
6265
6269
  })
6266
6270
  }, [
6267
- Zp,
6271
+ Jp,
6268
6272
  T("div", {
6269
- class: h(e.style.content)
6273
+ class: g(e.style.content)
6270
6274
  }, [
6271
6275
  T("button", {
6272
6276
  role: "button",
6273
- class: h(e.style.close)
6277
+ class: g(e.style.close)
6274
6278
  }, "x", 2),
6275
6279
  T("div", {
6276
- class: h(e.style.header),
6280
+ class: g(e.style.header),
6277
6281
  ref: "handle"
6278
6282
  }, [
6279
6283
  T("div", {
6280
- class: h(e.style.title)
6284
+ class: g(e.style.title)
6281
6285
  }, [
6282
6286
  L(e.$slots, "title", {}, () => [
6283
6287
  ie(" Title ")
@@ -6288,25 +6292,25 @@ function Qp(e, t, n, r, a, s) {
6288
6292
  L(e.$slots, "default")
6289
6293
  ]),
6290
6294
  T("div", {
6291
- class: h(e.style.footer)
6295
+ class: g(e.style.footer)
6292
6296
  }, [
6293
6297
  L(e.$slots, "footer")
6294
6298
  ], 2)
6295
6299
  ], 2),
6296
- Jp
6300
+ Qp
6297
6301
  ], 6)
6298
6302
  ], 2)
6299
6303
  ], 2)
6300
6304
  ]);
6301
6305
  }
6302
- const ev = /* @__PURE__ */ N(Yp, [["render", Qp]]);
6306
+ const tv = /* @__PURE__ */ N(Zp, [["render", ev]]);
6303
6307
  let zt = [];
6304
6308
  const Wa = /* @__PURE__ */ new WeakMap();
6305
- function tv() {
6309
+ function nv() {
6306
6310
  zt.forEach((e) => e(...Wa.get(e))), zt = [];
6307
6311
  }
6308
- function nv(e, ...t) {
6309
- Wa.set(e, t), !zt.includes(e) && zt.push(e) === 1 && requestAnimationFrame(tv);
6312
+ function rv(e, ...t) {
6313
+ Wa.set(e, t), !zt.includes(e) && zt.push(e) === 1 && requestAnimationFrame(nv);
6310
6314
  }
6311
6315
  function Xn(e) {
6312
6316
  return typeof e == "string" ? e.endsWith("px") ? Number(e.slice(0, e.length - 2)) : Number(e) : e;
@@ -6315,7 +6319,7 @@ function wt(e) {
6315
6319
  if (e != null)
6316
6320
  return typeof e == "number" ? `${e}px` : e.endsWith("px") ? e : `${e}px`;
6317
6321
  }
6318
- function rv(e) {
6322
+ function av(e) {
6319
6323
  const t = p(e), n = $(t.value);
6320
6324
  return K(t, (r) => {
6321
6325
  n.value = r;
@@ -6330,45 +6334,45 @@ function rv(e) {
6330
6334
  };
6331
6335
  }
6332
6336
  const qa = Symbol("@css-render/vue3-ssr");
6333
- function av(e, t) {
6337
+ function ov(e, t) {
6334
6338
  return `<style cssr-id="${e}">
6335
6339
  ${t}
6336
6340
  </style>`;
6337
6341
  }
6338
- function ov(e, t) {
6342
+ function sv(e, t) {
6339
6343
  const n = fe(qa, null);
6340
6344
  if (n === null) {
6341
6345
  console.error("[css-render/vue3-ssr]: no ssr context found.");
6342
6346
  return;
6343
6347
  }
6344
6348
  const { styles: r, ids: a } = n;
6345
- a.has(e) || r !== null && (a.add(e), r.push(av(e, t)));
6349
+ a.has(e) || r !== null && (a.add(e), r.push(ov(e, t)));
6346
6350
  }
6347
- const sv = typeof document < "u";
6348
- function lv() {
6349
- if (sv)
6351
+ const lv = typeof document < "u";
6352
+ function iv() {
6353
+ if (lv)
6350
6354
  return;
6351
6355
  const e = fe(qa, null);
6352
6356
  if (e !== null)
6353
6357
  return {
6354
- adapter: ov,
6358
+ adapter: sv,
6355
6359
  context: e
6356
6360
  };
6357
6361
  }
6358
6362
  function Yn(e, t) {
6359
6363
  console.error(`[vueuc/${e}]: ${t}`);
6360
6364
  }
6361
- function iv(e) {
6365
+ function uv(e) {
6362
6366
  let t = 0;
6363
6367
  for (let n = 0; n < e.length; ++n)
6364
6368
  e[n] === "&" && ++t;
6365
6369
  return t;
6366
6370
  }
6367
- const Ka = /\s*,(?![^(]*\))\s*/g, uv = /\s+/g;
6368
- function dv(e, t) {
6371
+ const Ka = /\s*,(?![^(]*\))\s*/g, dv = /\s+/g;
6372
+ function cv(e, t) {
6369
6373
  const n = [];
6370
6374
  return t.split(Ka).forEach((r) => {
6371
- let a = iv(r);
6375
+ let a = uv(r);
6372
6376
  if (a) {
6373
6377
  if (a === 1) {
6374
6378
  e.forEach((o) => {
@@ -6399,7 +6403,7 @@ function dv(e, t) {
6399
6403
  s.forEach((o) => n.push(o));
6400
6404
  }), n;
6401
6405
  }
6402
- function cv(e, t) {
6406
+ function fv(e, t) {
6403
6407
  const n = [];
6404
6408
  return t.split(Ka).forEach((r) => {
6405
6409
  e.forEach((a) => {
@@ -6407,12 +6411,12 @@ function cv(e, t) {
6407
6411
  });
6408
6412
  }), n;
6409
6413
  }
6410
- function fv(e) {
6414
+ function pv(e) {
6411
6415
  let t = [""];
6412
6416
  return e.forEach((n) => {
6413
6417
  n = n && n.trim(), // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
6414
- n && (n.includes("&") ? t = dv(t, n) : t = cv(t, n));
6415
- }), t.join(", ").replace(uv, " ");
6418
+ n && (n.includes("&") ? t = cv(t, n) : t = fv(t, n));
6419
+ }), t.join(", ").replace(dv, " ");
6416
6420
  }
6417
6421
  function Zn(e) {
6418
6422
  if (!e)
@@ -6423,24 +6427,24 @@ function Zn(e) {
6423
6427
  function bn(e) {
6424
6428
  return document.querySelector(`style[cssr-id="${e}"]`);
6425
6429
  }
6426
- function pv(e) {
6430
+ function vv(e) {
6427
6431
  const t = document.createElement("style");
6428
6432
  return t.setAttribute("cssr-id", e), t;
6429
6433
  }
6430
6434
  function $t(e) {
6431
6435
  return e ? /^\s*@(s|m)/.test(e) : !1;
6432
6436
  }
6433
- const vv = /[A-Z]/g;
6437
+ const mv = /[A-Z]/g;
6434
6438
  function Ga(e) {
6435
- return e.replace(vv, (t) => "-" + t.toLowerCase());
6439
+ return e.replace(mv, (t) => "-" + t.toLowerCase());
6436
6440
  }
6437
- function mv(e, t = " ") {
6441
+ function hv(e, t = " ") {
6438
6442
  return typeof e == "object" && e !== null ? ` {
6439
6443
  ` + Object.entries(e).map((n) => t + ` ${Ga(n[0])}: ${n[1]};`).join(`
6440
6444
  `) + `
6441
6445
  ` + t + "}" : `: ${e};`;
6442
6446
  }
6443
- function hv(e, t, n) {
6447
+ function gv(e, t, n) {
6444
6448
  return typeof e == "function" ? e({
6445
6449
  context: t.context,
6446
6450
  props: n
@@ -6449,7 +6453,7 @@ function hv(e, t, n) {
6449
6453
  function Jn(e, t, n, r) {
6450
6454
  if (!t)
6451
6455
  return "";
6452
- const a = hv(t, n, r);
6456
+ const a = gv(t, n, r);
6453
6457
  if (!a)
6454
6458
  return "";
6455
6459
  if (typeof a == "string")
@@ -6471,7 +6475,7 @@ ${a}
6471
6475
  `);
6472
6476
  return;
6473
6477
  }
6474
- l = Ga(l), i != null && o.push(` ${l}${mv(i)}`);
6478
+ l = Ga(l), i != null && o.push(` ${l}${hv(i)}`);
6475
6479
  }), e && o.push("}"), o.join(`
6476
6480
  `);
6477
6481
  }
@@ -6506,7 +6510,7 @@ function Ua(e, t, n, r, a, s) {
6506
6510
  });
6507
6511
  $t(d) ? l = d : t.push(d);
6508
6512
  }
6509
- const i = fv(t), u = Jn(i, e.props, r, a);
6513
+ const i = pv(t), u = Jn(i, e.props, r, a);
6510
6514
  l ? (n.push(`${l} {`), s && u && s.insertRule(`${l} {
6511
6515
  ${u}
6512
6516
  }
@@ -6527,7 +6531,7 @@ function Xa(e, t, n, r = !1) {
6527
6531
 
6528
6532
  `);
6529
6533
  }
6530
- function gv(e) {
6534
+ function yv(e) {
6531
6535
  for (var t = 0, n, r = 0, a = e.length; a >= 4; ++r, a -= 4)
6532
6536
  n = e.charCodeAt(r) & 255 | (e.charCodeAt(++r) & 255) << 8 | (e.charCodeAt(++r) & 255) << 16 | (e.charCodeAt(++r) & 255) << 24, n = /* Math.imul(k, m): */
6533
6537
  (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */
@@ -6547,7 +6551,7 @@ function gv(e) {
6547
6551
  (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
6548
6552
  }
6549
6553
  typeof window < "u" && (window.__cssrContext = {});
6550
- function yv(e, t, n) {
6554
+ function bv(e, t, n) {
6551
6555
  const { els: r } = t;
6552
6556
  if (n === void 0)
6553
6557
  r.forEach(Zn), t.els = [];
@@ -6559,7 +6563,7 @@ function yv(e, t, n) {
6559
6563
  function Qn(e, t) {
6560
6564
  e.push(t);
6561
6565
  }
6562
- function bv(e, t, n, r, a, s, o, l, i) {
6566
+ function wv(e, t, n, r, a, s, o, l, i) {
6563
6567
  if (s && !i) {
6564
6568
  if (n === void 0) {
6565
6569
  console.error("[css-render/mount]: `id` is required in `silent` mode.");
@@ -6570,14 +6574,14 @@ function bv(e, t, n, r, a, s, o, l, i) {
6570
6574
  return;
6571
6575
  }
6572
6576
  let u;
6573
- if (n === void 0 && (u = t.render(r), n = gv(u)), i) {
6577
+ if (n === void 0 && (u = t.render(r), n = yv(u)), i) {
6574
6578
  i.adapter(n, u ?? t.render(r));
6575
6579
  return;
6576
6580
  }
6577
6581
  const d = bn(n);
6578
6582
  if (d !== null && !o)
6579
6583
  return d;
6580
- const c = d ?? pv(n);
6584
+ const c = d ?? vv(n);
6581
6585
  if (u === void 0 && (u = t.render(r)), c.textContent = u, d !== null)
6582
6586
  return d;
6583
6587
  if (l) {
@@ -6587,16 +6591,16 @@ function bv(e, t, n, r, a, s, o, l, i) {
6587
6591
  }
6588
6592
  return a ? document.head.insertBefore(c, document.head.querySelector("style, link")) : document.head.appendChild(c), Qn(t.els, c), c;
6589
6593
  }
6590
- function wv(e) {
6594
+ function $v(e) {
6591
6595
  return Xa(this, this.instance, e);
6592
6596
  }
6593
- function $v(e = {}) {
6597
+ function kv(e = {}) {
6594
6598
  const { id: t, ssr: n, props: r, head: a = !1, silent: s = !1, force: o = !1, anchorMetaName: l } = e;
6595
- return bv(this.instance, this, t, r, a, s, o, l, n);
6599
+ return wv(this.instance, this, t, r, a, s, o, l, n);
6596
6600
  }
6597
- function kv(e = {}) {
6601
+ function Sv(e = {}) {
6598
6602
  const { id: t } = e;
6599
- yv(this.instance, this, t);
6603
+ bv(this.instance, this, t);
6600
6604
  }
6601
6605
  const kt = function(e, t, n, r) {
6602
6606
  return {
@@ -6605,14 +6609,14 @@ const kt = function(e, t, n, r) {
6605
6609
  props: n,
6606
6610
  children: r,
6607
6611
  els: [],
6608
- render: wv,
6609
- mount: $v,
6610
- unmount: kv
6612
+ render: $v,
6613
+ mount: kv,
6614
+ unmount: Sv
6611
6615
  };
6612
6616
  }, Cv = function(e, t, n, r) {
6613
6617
  return Array.isArray(t) ? kt(e, { $: null }, null, t) : Array.isArray(n) ? kt(e, t, null, n) : Array.isArray(r) ? kt(e, t, n, r) : kt(e, t, n, null);
6614
6618
  };
6615
- function Sv(e = {}) {
6619
+ function Tv(e = {}) {
6616
6620
  let t = null;
6617
6621
  const n = {
6618
6622
  c: (...r) => Cv(n, ...r),
@@ -6630,11 +6634,11 @@ function Sv(e = {}) {
6630
6634
  };
6631
6635
  return n;
6632
6636
  }
6633
- const { c: Wt } = Sv(), Tv = "vueuc-style";
6637
+ const { c: Wt } = Tv(), Mv = "vueuc-style";
6634
6638
  function er(e) {
6635
6639
  return e & -e;
6636
6640
  }
6637
- class Mv {
6641
+ class Ov {
6638
6642
  /**
6639
6643
  * @param l length of the array
6640
6644
  * @param min min value of the array
@@ -6704,15 +6708,15 @@ class Mv {
6704
6708
  return n;
6705
6709
  }
6706
6710
  }
6707
- var He = [], Ov = function() {
6711
+ var He = [], Ev = function() {
6708
6712
  return He.some(function(e) {
6709
6713
  return e.activeTargets.length > 0;
6710
6714
  });
6711
- }, Ev = function() {
6715
+ }, Rv = function() {
6712
6716
  return He.some(function(e) {
6713
6717
  return e.skippedTargets.length > 0;
6714
6718
  });
6715
- }, tr = "ResizeObserver loop completed with undelivered notifications.", Rv = function() {
6719
+ }, tr = "ResizeObserver loop completed with undelivered notifications.", Av = function() {
6716
6720
  var e;
6717
6721
  typeof ErrorEvent == "function" ? e = new ErrorEvent("error", {
6718
6722
  message: tr
@@ -6723,7 +6727,7 @@ var He = [], Ov = function() {
6723
6727
  })(ct || (ct = {}));
6724
6728
  var We = function(e) {
6725
6729
  return Object.freeze(e);
6726
- }, Av = function() {
6730
+ }, Bv = function() {
6727
6731
  function e(t, n) {
6728
6732
  this.inlineSize = t, this.blockSize = n, We(this);
6729
6733
  }
@@ -6753,7 +6757,7 @@ var We = function(e) {
6753
6757
  return !0;
6754
6758
  var n = (t = e == null ? void 0 : e.ownerDocument) === null || t === void 0 ? void 0 : t.defaultView;
6755
6759
  return !!(n && e instanceof n.Element);
6756
- }, Bv = function(e) {
6760
+ }, zv = function(e) {
6757
6761
  switch (e.tagName) {
6758
6762
  case "INPUT":
6759
6763
  if (e.type !== "image")
@@ -6768,27 +6772,27 @@ var We = function(e) {
6768
6772
  return !0;
6769
6773
  }
6770
6774
  return !1;
6771
- }, it = typeof window < "u" ? window : {}, Ct = /* @__PURE__ */ new WeakMap(), rr = /auto|scroll/, zv = /^tb|vertical/, Iv = /msie|trident/i.test(it.navigator && it.navigator.userAgent), Ae = function(e) {
6775
+ }, it = typeof window < "u" ? window : {}, St = /* @__PURE__ */ new WeakMap(), rr = /auto|scroll/, Iv = /^tb|vertical/, _v = /msie|trident/i.test(it.navigator && it.navigator.userAgent), Ae = function(e) {
6772
6776
  return parseFloat(e || "0");
6773
6777
  }, Ke = function(e, t, n) {
6774
- return e === void 0 && (e = 0), t === void 0 && (t = 0), n === void 0 && (n = !1), new Av((n ? t : e) || 0, (n ? e : t) || 0);
6778
+ return e === void 0 && (e = 0), t === void 0 && (t = 0), n === void 0 && (n = !1), new Bv((n ? t : e) || 0, (n ? e : t) || 0);
6775
6779
  }, ar = We({
6776
6780
  devicePixelContentBoxSize: Ke(),
6777
6781
  borderBoxSize: Ke(),
6778
6782
  contentBoxSize: Ke(),
6779
6783
  contentRect: new Ya(0, 0, 0, 0)
6780
6784
  }), Ja = function(e, t) {
6781
- if (t === void 0 && (t = !1), Ct.has(e) && !t)
6782
- return Ct.get(e);
6785
+ if (t === void 0 && (t = !1), St.has(e) && !t)
6786
+ return St.get(e);
6783
6787
  if (Za(e))
6784
- return Ct.set(e, ar), ar;
6785
- var n = getComputedStyle(e), r = wn(e) && e.ownerSVGElement && e.getBBox(), a = !Iv && n.boxSizing === "border-box", s = zv.test(n.writingMode || ""), o = !r && rr.test(n.overflowY || ""), l = !r && rr.test(n.overflowX || ""), i = r ? 0 : Ae(n.paddingTop), u = r ? 0 : Ae(n.paddingRight), d = r ? 0 : Ae(n.paddingBottom), c = r ? 0 : Ae(n.paddingLeft), f = r ? 0 : Ae(n.borderTopWidth), m = r ? 0 : Ae(n.borderRightWidth), g = r ? 0 : Ae(n.borderBottomWidth), O = r ? 0 : Ae(n.borderLeftWidth), k = c + u, M = i + d, R = O + m, B = f + g, C = l ? e.offsetHeight - B - e.clientHeight : 0, b = o ? e.offsetWidth - R - e.clientWidth : 0, E = a ? k + R : 0, A = a ? M + B : 0, _ = r ? r.width : Ae(n.width) - E - b, j = r ? r.height : Ae(n.height) - A - C, z = _ + k + b + R, y = j + M + C + B, S = We({
6788
+ return St.set(e, ar), ar;
6789
+ var n = getComputedStyle(e), r = wn(e) && e.ownerSVGElement && e.getBBox(), a = !_v && n.boxSizing === "border-box", s = Iv.test(n.writingMode || ""), o = !r && rr.test(n.overflowY || ""), l = !r && rr.test(n.overflowX || ""), i = r ? 0 : Ae(n.paddingTop), u = r ? 0 : Ae(n.paddingRight), d = r ? 0 : Ae(n.paddingBottom), c = r ? 0 : Ae(n.paddingLeft), f = r ? 0 : Ae(n.borderTopWidth), m = r ? 0 : Ae(n.borderRightWidth), h = r ? 0 : Ae(n.borderBottomWidth), O = r ? 0 : Ae(n.borderLeftWidth), k = c + u, M = i + d, R = O + m, B = f + h, S = l ? e.offsetHeight - B - e.clientHeight : 0, b = o ? e.offsetWidth - R - e.clientWidth : 0, E = a ? k + R : 0, A = a ? M + B : 0, _ = r ? r.width : Ae(n.width) - E - b, j = r ? r.height : Ae(n.height) - A - S, z = _ + k + b + R, y = j + M + S + B, C = We({
6786
6790
  devicePixelContentBoxSize: Ke(Math.round(_ * devicePixelRatio), Math.round(j * devicePixelRatio), s),
6787
6791
  borderBoxSize: Ke(z, y, s),
6788
6792
  contentBoxSize: Ke(_, j, s),
6789
6793
  contentRect: new Ya(c, i, _, j)
6790
6794
  });
6791
- return Ct.set(e, S), S;
6795
+ return St.set(e, C), C;
6792
6796
  }, Qa = function(e, t, n) {
6793
6797
  var r = Ja(e, n), a = r.borderBoxSize, s = r.contentBoxSize, o = r.devicePixelContentBoxSize;
6794
6798
  switch (t) {
@@ -6799,7 +6803,7 @@ var We = function(e) {
6799
6803
  default:
6800
6804
  return s;
6801
6805
  }
6802
- }, _v = function() {
6806
+ }, jv = function() {
6803
6807
  function e(t) {
6804
6808
  var n = Ja(t);
6805
6809
  this.target = t, this.contentRect = n.contentRect, this.borderBoxSize = We([n.borderBoxSize]), this.contentBoxSize = We([n.contentBoxSize]), this.devicePixelContentBoxSize = We([n.devicePixelContentBoxSize]);
@@ -6811,13 +6815,13 @@ var We = function(e) {
6811
6815
  for (var t = 0, n = e.parentNode; n; )
6812
6816
  t += 1, n = n.parentNode;
6813
6817
  return t;
6814
- }, jv = function() {
6818
+ }, Lv = function() {
6815
6819
  var e = 1 / 0, t = [];
6816
6820
  He.forEach(function(o) {
6817
6821
  if (o.activeTargets.length !== 0) {
6818
6822
  var l = [];
6819
6823
  o.activeTargets.forEach(function(u) {
6820
- var d = new _v(u.target), c = eo(u.target);
6824
+ var d = new jv(u.target), c = eo(u.target);
6821
6825
  l.push(d), u.lastReportedSize = Qa(u.target, u.observedBox), c < e && (e = c);
6822
6826
  }), t.push(function() {
6823
6827
  o.callback.call(o.observer, l, o.observer);
@@ -6835,32 +6839,32 @@ var We = function(e) {
6835
6839
  a.isActive() && (eo(a.target) > e ? n.activeTargets.push(a) : n.skippedTargets.push(a));
6836
6840
  });
6837
6841
  });
6838
- }, Lv = function() {
6842
+ }, Dv = function() {
6839
6843
  var e = 0;
6840
- for (or(e); Ov(); )
6841
- e = jv(), or(e);
6842
- return Ev() && Rv(), e > 0;
6843
- }, qt, to = [], Dv = function() {
6844
+ for (or(e); Ev(); )
6845
+ e = Lv(), or(e);
6846
+ return Rv() && Av(), e > 0;
6847
+ }, qt, to = [], Pv = function() {
6844
6848
  return to.splice(0).forEach(function(e) {
6845
6849
  return e();
6846
6850
  });
6847
- }, Pv = function(e) {
6851
+ }, Nv = function(e) {
6848
6852
  if (!qt) {
6849
6853
  var t = 0, n = document.createTextNode(""), r = { characterData: !0 };
6850
6854
  new MutationObserver(function() {
6851
- return Dv();
6855
+ return Pv();
6852
6856
  }).observe(n, r), qt = function() {
6853
6857
  n.textContent = "".concat(t ? t-- : t++);
6854
6858
  };
6855
6859
  }
6856
6860
  to.push(e), qt();
6857
- }, Nv = function(e) {
6858
- Pv(function() {
6861
+ }, Vv = function(e) {
6862
+ Nv(function() {
6859
6863
  requestAnimationFrame(e);
6860
6864
  });
6861
- }, At = 0, Vv = function() {
6865
+ }, At = 0, Fv = function() {
6862
6866
  return !!At;
6863
- }, Fv = 250, xv = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, sr = [
6867
+ }, xv = 250, Hv = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, sr = [
6864
6868
  "resize",
6865
6869
  "load",
6866
6870
  "transitionend",
@@ -6877,7 +6881,7 @@ var We = function(e) {
6877
6881
  "focus"
6878
6882
  ], lr = function(e) {
6879
6883
  return e === void 0 && (e = 0), Date.now() + e;
6880
- }, Kt = !1, Hv = function() {
6884
+ }, Kt = !1, Wv = function() {
6881
6885
  function e() {
6882
6886
  var t = this;
6883
6887
  this.stopped = !0, this.listener = function() {
@@ -6886,15 +6890,15 @@ var We = function(e) {
6886
6890
  }
6887
6891
  return e.prototype.run = function(t) {
6888
6892
  var n = this;
6889
- if (t === void 0 && (t = Fv), !Kt) {
6893
+ if (t === void 0 && (t = xv), !Kt) {
6890
6894
  Kt = !0;
6891
6895
  var r = lr(t);
6892
- Nv(function() {
6896
+ Vv(function() {
6893
6897
  var a = !1;
6894
6898
  try {
6895
- a = Lv();
6899
+ a = Dv();
6896
6900
  } finally {
6897
- if (Kt = !1, t = r - lr(), !Vv())
6901
+ if (Kt = !1, t = r - lr(), !Fv())
6898
6902
  return;
6899
6903
  a ? n.run(1e3) : t > 0 ? n.run(t) : n.start();
6900
6904
  }
@@ -6904,7 +6908,7 @@ var We = function(e) {
6904
6908
  this.stop(), this.run();
6905
6909
  }, e.prototype.observe = function() {
6906
6910
  var t = this, n = function() {
6907
- return t.observer && t.observer.observe(document.body, xv);
6911
+ return t.observer && t.observer.observe(document.body, Hv);
6908
6912
  };
6909
6913
  document.body ? n() : it.addEventListener("DOMContentLoaded", n);
6910
6914
  }, e.prototype.start = function() {
@@ -6918,11 +6922,11 @@ var We = function(e) {
6918
6922
  return it.removeEventListener(n, t.listener, !0);
6919
6923
  }), this.stopped = !0);
6920
6924
  }, e;
6921
- }(), an = new Hv(), ir = function(e) {
6925
+ }(), an = new Wv(), ir = function(e) {
6922
6926
  !At && e > 0 && an.start(), At += e, !At && an.stop();
6923
- }, Wv = function(e) {
6924
- return !wn(e) && !Bv(e) && getComputedStyle(e).display === "inline";
6925
- }, qv = function() {
6927
+ }, qv = function(e) {
6928
+ return !wn(e) && !zv(e) && getComputedStyle(e).display === "inline";
6929
+ }, Kv = function() {
6926
6930
  function e(t, n) {
6927
6931
  this.target = t, this.observedBox = n || ct.CONTENT_BOX, this.lastReportedSize = {
6928
6932
  inlineSize: 0,
@@ -6931,14 +6935,14 @@ var We = function(e) {
6931
6935
  }
6932
6936
  return e.prototype.isActive = function() {
6933
6937
  var t = Qa(this.target, this.observedBox, !0);
6934
- return Wv(this.target) && (this.lastReportedSize = t), this.lastReportedSize.inlineSize !== t.inlineSize || this.lastReportedSize.blockSize !== t.blockSize;
6938
+ return qv(this.target) && (this.lastReportedSize = t), this.lastReportedSize.inlineSize !== t.inlineSize || this.lastReportedSize.blockSize !== t.blockSize;
6935
6939
  }, e;
6936
- }(), Kv = function() {
6940
+ }(), Gv = function() {
6937
6941
  function e(t, n) {
6938
6942
  this.activeTargets = [], this.skippedTargets = [], this.observationTargets = [], this.observer = t, this.callback = n;
6939
6943
  }
6940
6944
  return e;
6941
- }(), St = /* @__PURE__ */ new WeakMap(), ur = function(e, t) {
6945
+ }(), Ct = /* @__PURE__ */ new WeakMap(), ur = function(e, t) {
6942
6946
  for (var n = 0; n < e.length; n += 1)
6943
6947
  if (e[n].target === t)
6944
6948
  return n;
@@ -6947,21 +6951,21 @@ var We = function(e) {
6947
6951
  function e() {
6948
6952
  }
6949
6953
  return e.connect = function(t, n) {
6950
- var r = new Kv(t, n);
6951
- St.set(t, r);
6954
+ var r = new Gv(t, n);
6955
+ Ct.set(t, r);
6952
6956
  }, e.observe = function(t, n, r) {
6953
- var a = St.get(t), s = a.observationTargets.length === 0;
6954
- ur(a.observationTargets, n) < 0 && (s && He.push(a), a.observationTargets.push(new qv(n, r && r.box)), ir(1), an.schedule());
6957
+ var a = Ct.get(t), s = a.observationTargets.length === 0;
6958
+ ur(a.observationTargets, n) < 0 && (s && He.push(a), a.observationTargets.push(new Kv(n, r && r.box)), ir(1), an.schedule());
6955
6959
  }, e.unobserve = function(t, n) {
6956
- var r = St.get(t), a = ur(r.observationTargets, n), s = r.observationTargets.length === 1;
6960
+ var r = Ct.get(t), a = ur(r.observationTargets, n), s = r.observationTargets.length === 1;
6957
6961
  a >= 0 && (s && He.splice(He.indexOf(r), 1), r.observationTargets.splice(a, 1), ir(-1));
6958
6962
  }, e.disconnect = function(t) {
6959
- var n = this, r = St.get(t);
6963
+ var n = this, r = Ct.get(t);
6960
6964
  r.observationTargets.slice().forEach(function(a) {
6961
6965
  return n.unobserve(t, a.target);
6962
6966
  }), r.activeTargets.splice(0, r.activeTargets.length);
6963
6967
  }, e;
6964
- }(), Gv = function() {
6968
+ }(), Uv = function() {
6965
6969
  function e(t) {
6966
6970
  if (arguments.length === 0)
6967
6971
  throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");
@@ -6987,9 +6991,9 @@ var We = function(e) {
6987
6991
  return "function ResizeObserver () { [polyfill code] }";
6988
6992
  }, e;
6989
6993
  }();
6990
- class Uv {
6994
+ class Xv {
6991
6995
  constructor() {
6992
- this.handleResize = this.handleResize.bind(this), this.observer = new (typeof window < "u" && window.ResizeObserver || Gv)(this.handleResize), this.elHandlersMap = /* @__PURE__ */ new Map();
6996
+ this.handleResize = this.handleResize.bind(this), this.observer = new (typeof window < "u" && window.ResizeObserver || Uv)(this.handleResize), this.elHandlersMap = /* @__PURE__ */ new Map();
6993
6997
  }
6994
6998
  handleResize(t) {
6995
6999
  for (const n of t) {
@@ -7004,7 +7008,7 @@ class Uv {
7004
7008
  this.elHandlersMap.has(t) && (this.elHandlersMap.delete(t), this.observer.unobserve(t));
7005
7009
  }
7006
7010
  }
7007
- const dr = new Uv(), cr = P({
7011
+ const dr = new Xv(), cr = P({
7008
7012
  name: "ResizeObserver",
7009
7013
  props: {
7010
7014
  onResize: Function
@@ -7036,14 +7040,14 @@ const dr = new Uv(), cr = P({
7036
7040
  }
7037
7041
  });
7038
7042
  let Mt;
7039
- function Xv() {
7043
+ function Yv() {
7040
7044
  return Mt === void 0 && ("matchMedia" in window ? Mt = window.matchMedia("(pointer:coarse)").matches : Mt = !1), Mt;
7041
7045
  }
7042
7046
  let Gt;
7043
7047
  function fr() {
7044
7048
  return Gt === void 0 && (Gt = "chrome" in window ? window.devicePixelRatio : 1), Gt;
7045
7049
  }
7046
- const Yv = Wt(".v-vl", {
7050
+ const Zv = Wt(".v-vl", {
7047
7051
  maxHeight: "inherit",
7048
7052
  height: "100%",
7049
7053
  overflow: "auto",
@@ -7059,7 +7063,7 @@ const Yv = Wt(".v-vl", {
7059
7063
  display: "none"
7060
7064
  })
7061
7065
  ])
7062
- ]), Zv = P({
7066
+ ]), Jv = P({
7063
7067
  name: "VirtualList",
7064
7068
  inheritAttrs: !1,
7065
7069
  props: {
@@ -7106,15 +7110,15 @@ const Yv = Wt(".v-vl", {
7106
7110
  }
7107
7111
  },
7108
7112
  setup(e) {
7109
- const t = lv();
7110
- Yv.mount({
7113
+ const t = iv();
7114
+ Zv.mount({
7111
7115
  id: "vueuc/virtual-list",
7112
7116
  head: !0,
7113
- anchorMetaName: Tv,
7117
+ anchorMetaName: Mv,
7114
7118
  ssr: t
7115
7119
  }), pe(() => {
7116
- const { defaultScrollIndex: y, defaultScrollKey: S } = e;
7117
- y != null ? g({ index: y }) : S != null && g({ key: S });
7120
+ const { defaultScrollIndex: y, defaultScrollKey: C } = e;
7121
+ y != null ? h({ index: y }) : C != null && h({ key: C });
7118
7122
  });
7119
7123
  let n = !1, r = !1;
7120
7124
  wo(() => {
@@ -7122,34 +7126,34 @@ const Yv = Wt(".v-vl", {
7122
7126
  r = !0;
7123
7127
  return;
7124
7128
  }
7125
- g({ top: c.value, left: d });
7129
+ h({ top: c.value, left: d });
7126
7130
  }), $o(() => {
7127
7131
  n = !0, r || (r = !0);
7128
7132
  });
7129
7133
  const a = p(() => {
7130
- const y = /* @__PURE__ */ new Map(), { keyField: S } = e;
7134
+ const y = /* @__PURE__ */ new Map(), { keyField: C } = e;
7131
7135
  return e.items.forEach((D, x) => {
7132
- y.set(D[S], x);
7136
+ y.set(D[C], x);
7133
7137
  }), y;
7134
7138
  }), s = $(null), o = $(void 0), l = /* @__PURE__ */ new Map(), i = p(() => {
7135
- const { items: y, itemSize: S, keyField: D } = e, x = new Mv(y.length, S);
7139
+ const { items: y, itemSize: C, keyField: D } = e, x = new Ov(y.length, C);
7136
7140
  return y.forEach((q, I) => {
7137
7141
  const W = q[D], Z = l.get(W);
7138
7142
  Z !== void 0 && x.add(I, Z);
7139
7143
  }), x;
7140
7144
  }), u = $(0);
7141
7145
  let d = 0;
7142
- const c = $(0), f = rv(() => Math.max(i.value.getBound(c.value - Xn(e.paddingTop)) - 1, 0)), m = p(() => {
7146
+ const c = $(0), f = av(() => Math.max(i.value.getBound(c.value - Xn(e.paddingTop)) - 1, 0)), m = p(() => {
7143
7147
  const { value: y } = o;
7144
7148
  if (y === void 0)
7145
7149
  return [];
7146
- const { items: S, itemSize: D } = e, x = f.value, q = Math.min(x + Math.ceil(y / D + 1), S.length - 1), I = [];
7150
+ const { items: C, itemSize: D } = e, x = f.value, q = Math.min(x + Math.ceil(y / D + 1), C.length - 1), I = [];
7147
7151
  for (let W = x; W <= q; ++W)
7148
- I.push(S[W]);
7152
+ I.push(C[W]);
7149
7153
  return I;
7150
- }), g = (y, S) => {
7154
+ }), h = (y, C) => {
7151
7155
  if (typeof y == "number") {
7152
- R(y, S, "auto");
7156
+ R(y, C, "auto");
7153
7157
  return;
7154
7158
  }
7155
7159
  const { left: D, top: x, index: q, key: I, position: W, behavior: Z, debounce: ae = !0 } = y;
@@ -7164,13 +7168,13 @@ const Yv = Wt(".v-vl", {
7164
7168
  W === "bottom" ? R(0, Number.MAX_SAFE_INTEGER, Z) : W === "top" && R(0, 0, Z);
7165
7169
  };
7166
7170
  let O, k = null;
7167
- function M(y, S, D) {
7171
+ function M(y, C, D) {
7168
7172
  const { value: x } = i, q = x.sum(y) + Xn(e.paddingTop);
7169
7173
  if (!D)
7170
7174
  s.value.scrollTo({
7171
7175
  left: 0,
7172
7176
  top: q,
7173
- behavior: S
7177
+ behavior: C
7174
7178
  });
7175
7179
  else {
7176
7180
  O = y, k !== null && window.clearTimeout(k), k = window.setTimeout(() => {
@@ -7182,28 +7186,28 @@ const Yv = Wt(".v-vl", {
7182
7186
  q + Z <= I + W || s.value.scrollTo({
7183
7187
  left: 0,
7184
7188
  top: q + Z - W,
7185
- behavior: S
7189
+ behavior: C
7186
7190
  });
7187
7191
  } else
7188
7192
  s.value.scrollTo({
7189
7193
  left: 0,
7190
7194
  top: q,
7191
- behavior: S
7195
+ behavior: C
7192
7196
  });
7193
7197
  }
7194
7198
  }
7195
- function R(y, S, D) {
7199
+ function R(y, C, D) {
7196
7200
  s.value.scrollTo({
7197
7201
  left: y,
7198
- top: S,
7202
+ top: C,
7199
7203
  behavior: D
7200
7204
  });
7201
7205
  }
7202
- function B(y, S) {
7206
+ function B(y, C) {
7203
7207
  var D, x, q;
7204
- if (n || e.ignoreItemResize || z(S.target))
7208
+ if (n || e.ignoreItemResize || z(C.target))
7205
7209
  return;
7206
- const { value: I } = i, W = a.value.get(y), Z = I.get(W), ae = (q = (x = (D = S.borderBoxSize) === null || D === void 0 ? void 0 : D[0]) === null || x === void 0 ? void 0 : x.blockSize) !== null && q !== void 0 ? q : S.contentRect.height;
7210
+ const { value: I } = i, W = a.value.get(y), Z = I.get(W), ae = (q = (x = (D = C.borderBoxSize) === null || D === void 0 ? void 0 : D[0]) === null || x === void 0 ? void 0 : x.blockSize) !== null && q !== void 0 ? q : C.contentRect.height;
7207
7211
  if (ae === Z)
7208
7212
  return;
7209
7213
  ae - e.itemSize === 0 ? l.delete(y) : l.set(y, ae - e.itemSize);
@@ -7228,20 +7232,20 @@ const Yv = Wt(".v-vl", {
7228
7232
  }
7229
7233
  u.value++;
7230
7234
  }
7231
- const C = !Xv();
7235
+ const S = !Yv();
7232
7236
  let b = !1;
7233
7237
  function E(y) {
7234
- var S;
7235
- (S = e.onScroll) === null || S === void 0 || S.call(e, y), (!C || !b) && j();
7238
+ var C;
7239
+ (C = e.onScroll) === null || C === void 0 || C.call(e, y), (!S || !b) && j();
7236
7240
  }
7237
7241
  function A(y) {
7238
- var S;
7239
- if ((S = e.onWheel) === null || S === void 0 || S.call(e, y), C) {
7242
+ var C;
7243
+ if ((C = e.onWheel) === null || C === void 0 || C.call(e, y), S) {
7240
7244
  const D = s.value;
7241
7245
  if (D != null) {
7242
7246
  if (y.deltaX === 0 && (D.scrollTop === 0 && y.deltaY <= 0 || D.scrollTop + D.offsetHeight >= D.scrollHeight && y.deltaY >= 0))
7243
7247
  return;
7244
- y.preventDefault(), D.scrollTop += y.deltaY / fr(), D.scrollLeft += y.deltaX / fr(), j(), b = !0, nv(() => {
7248
+ y.preventDefault(), D.scrollTop += y.deltaY / fr(), D.scrollLeft += y.deltaX / fr(), j(), b = !0, rv(() => {
7245
7249
  b = !1;
7246
7250
  });
7247
7251
  }
@@ -7251,19 +7255,19 @@ const Yv = Wt(".v-vl", {
7251
7255
  if (n || z(y.target) || y.contentRect.height === o.value)
7252
7256
  return;
7253
7257
  o.value = y.contentRect.height;
7254
- const { onResize: S } = e;
7255
- S !== void 0 && S(y);
7258
+ const { onResize: C } = e;
7259
+ C !== void 0 && C(y);
7256
7260
  }
7257
7261
  function j() {
7258
7262
  const { value: y } = s;
7259
7263
  y != null && (c.value = y.scrollTop, d = y.scrollLeft);
7260
7264
  }
7261
7265
  function z(y) {
7262
- let S = y;
7263
- for (; S !== null; ) {
7264
- if (S.style.display === "none")
7266
+ let C = y;
7267
+ for (; C !== null; ) {
7268
+ if (C.style.display === "none")
7265
7269
  return !0;
7266
- S = S.parentElement;
7270
+ C = C.parentElement;
7267
7271
  }
7268
7272
  return !1;
7269
7273
  }
@@ -7274,13 +7278,13 @@ const Yv = Wt(".v-vl", {
7274
7278
  },
7275
7279
  keyToIndex: a,
7276
7280
  itemsStyle: p(() => {
7277
- const { itemResizable: y } = e, S = wt(i.value.sum());
7281
+ const { itemResizable: y } = e, C = wt(i.value.sum());
7278
7282
  return u.value, [
7279
7283
  e.itemsStyle,
7280
7284
  {
7281
7285
  boxSizing: "content-box",
7282
- height: y ? "" : S,
7283
- minHeight: y ? S : "",
7286
+ height: y ? "" : C,
7287
+ minHeight: y ? C : "",
7284
7288
  paddingTop: wt(e.paddingTop),
7285
7289
  paddingBottom: wt(e.paddingBottom)
7286
7290
  }
@@ -7292,7 +7296,7 @@ const Yv = Wt(".v-vl", {
7292
7296
  viewportItems: m,
7293
7297
  listElRef: s,
7294
7298
  itemsElRef: $(null),
7295
- scrollTo: g,
7299
+ scrollTo: h,
7296
7300
  handleListResize: _,
7297
7301
  handleListScroll: E,
7298
7302
  handleListWheel: A,
@@ -7339,7 +7343,7 @@ const Yv = Wt(".v-vl", {
7339
7343
  }
7340
7344
  });
7341
7345
  }
7342
- }), Jv = {
7346
+ }), Qv = {
7343
7347
  expandedKeys: Array,
7344
7348
  defaultExpandAll: Boolean,
7345
7349
  keyField: {
@@ -7359,7 +7363,7 @@ const Yv = Wt(".v-vl", {
7359
7363
  "onUpdate:indeterminateKeys": [Function, Array],
7360
7364
  onUpdateExpandedKeys: [Function, Array],
7361
7365
  "onUpdate:expandedKeys": [Function, Array]
7362
- }, Qv = {
7366
+ }, em = {
7363
7367
  data: {
7364
7368
  type: Array,
7365
7369
  default: () => []
@@ -7383,9 +7387,9 @@ const Yv = Wt(".v-vl", {
7383
7387
  virtualScroll: Boolean,
7384
7388
  nodeProps: Function,
7385
7389
  getChildren: Function,
7386
- ...Jv
7390
+ ...Qv
7387
7391
  };
7388
- function em(e, t, n, r) {
7392
+ function tm(e, t, n, r) {
7389
7393
  return {
7390
7394
  getIsGroup() {
7391
7395
  return !1;
@@ -7409,7 +7413,7 @@ function no(e, t) {
7409
7413
  const n = t(e);
7410
7414
  e.children !== void 0 && n !== on.STOP && e.children.forEach((r) => no(r, t));
7411
7415
  }
7412
- function tm(e, t = {}) {
7416
+ function nm(e, t = {}) {
7413
7417
  const { preserveGroup: n = !1 } = t, r = [], a = n ? (o) => {
7414
7418
  o.isLeaf || (r.push(o.key), s(o.children));
7415
7419
  } : (o) => {
@@ -7420,30 +7424,30 @@ function tm(e, t = {}) {
7420
7424
  }
7421
7425
  return s(e), r;
7422
7426
  }
7423
- function nm(e, t) {
7427
+ function rm(e, t) {
7424
7428
  const { isLeaf: n } = e;
7425
7429
  return n !== void 0 ? n : !t(e);
7426
7430
  }
7427
- function rm(e) {
7431
+ function am(e) {
7428
7432
  return e.children;
7429
7433
  }
7430
- function am(e) {
7434
+ function om(e) {
7431
7435
  return e.key;
7432
7436
  }
7433
- function om() {
7437
+ function sm() {
7434
7438
  return !1;
7435
7439
  }
7436
- function sm(e, t) {
7440
+ function lm(e, t) {
7437
7441
  const { isLeaf: n } = e;
7438
7442
  return !(n === !1 && !Array.isArray(t(e)));
7439
7443
  }
7440
- function lm(e) {
7444
+ function im(e) {
7441
7445
  return e.disabled === !0;
7442
7446
  }
7443
- function im(e, t) {
7447
+ function um(e, t) {
7444
7448
  return e.isLeaf === !1 && !Array.isArray(t(e));
7445
7449
  }
7446
- function um(e, t) {
7450
+ function dm(e, t) {
7447
7451
  if (e.isLeaf === !0) {
7448
7452
  const n = t(e);
7449
7453
  if (Array.isArray(n) && n.length > 0)
@@ -7459,30 +7463,30 @@ function Xt(e) {
7459
7463
  var t;
7460
7464
  return e == null || Array.isArray(e) ? [] : (t = e.indeterminateKeys) !== null && t !== void 0 ? t : [];
7461
7465
  }
7462
- function dm(e, t) {
7466
+ function cm(e, t) {
7463
7467
  const n = new Set(e);
7464
7468
  return t.forEach((r) => {
7465
7469
  n.has(r) || n.add(r);
7466
7470
  }), Array.from(n);
7467
7471
  }
7468
- function cm(e, t) {
7472
+ function fm(e, t) {
7469
7473
  const n = new Set(e);
7470
7474
  return t.forEach((r) => {
7471
7475
  n.has(r) && n.delete(r);
7472
7476
  }), Array.from(n);
7473
7477
  }
7474
- function fm(e) {
7478
+ function pm(e) {
7475
7479
  return (e == null ? void 0 : e.type) === "group";
7476
7480
  }
7477
- class pm extends Error {
7481
+ class vm extends Error {
7478
7482
  constructor() {
7479
7483
  super(), this.message = "SubtreeNotLoadedError: checking a subtree whose required nodes are not fully loaded.";
7480
7484
  }
7481
7485
  }
7482
- function vm(e, t, n, r) {
7486
+ function mm(e, t, n, r) {
7483
7487
  return It(t.concat(e), n, r, !1);
7484
7488
  }
7485
- function mm(e, t) {
7489
+ function hm(e, t) {
7486
7490
  const n = /* @__PURE__ */ new Set();
7487
7491
  return e.forEach((r) => {
7488
7492
  const a = t.treeNodeMap.get(r);
@@ -7493,8 +7497,8 @@ function mm(e, t) {
7493
7497
  }
7494
7498
  }), n;
7495
7499
  }
7496
- function hm(e, t, n, r) {
7497
- const a = It(t, n, r, !1), s = It(e, n, r, !0), o = mm(e, n), l = [];
7500
+ function gm(e, t, n, r) {
7501
+ const a = It(t, n, r, !1), s = It(e, n, r, !0), o = hm(e, n), l = [];
7498
7502
  return a.forEach((i) => {
7499
7503
  (s.has(i) || o.has(i)) && l.push(i);
7500
7504
  }), l.forEach((i) => a.delete(i)), a;
@@ -7503,10 +7507,10 @@ function Yt(e, t) {
7503
7507
  const { checkedKeys: n, keysToCheck: r, keysToUncheck: a, indeterminateKeys: s, cascade: o, leafOnly: l, checkStrategy: i, allowNotLoaded: u } = e;
7504
7508
  if (!o)
7505
7509
  return r !== void 0 ? {
7506
- checkedKeys: dm(n, r),
7510
+ checkedKeys: cm(n, r),
7507
7511
  indeterminateKeys: Array.from(s)
7508
7512
  } : a !== void 0 ? {
7509
- checkedKeys: cm(n, a),
7513
+ checkedKeys: fm(n, a),
7510
7514
  indeterminateKeys: Array.from(s)
7511
7515
  } : {
7512
7516
  checkedKeys: Array.from(n),
@@ -7514,23 +7518,23 @@ function Yt(e, t) {
7514
7518
  };
7515
7519
  const { levelTreeNodeMap: d } = t;
7516
7520
  let c;
7517
- a !== void 0 ? c = hm(a, n, t, u) : r !== void 0 ? c = vm(r, n, t, u) : c = It(n, t, u, !1);
7518
- const f = i === "parent", m = i === "child" || l, g = c, O = /* @__PURE__ */ new Set(), k = Math.max.apply(null, Array.from(d.keys()));
7521
+ a !== void 0 ? c = gm(a, n, t, u) : r !== void 0 ? c = mm(r, n, t, u) : c = It(n, t, u, !1);
7522
+ const f = i === "parent", m = i === "child" || l, h = c, O = /* @__PURE__ */ new Set(), k = Math.max.apply(null, Array.from(d.keys()));
7519
7523
  for (let M = k; M >= 0; M -= 1) {
7520
7524
  const R = M === 0, B = d.get(M);
7521
- for (const C of B) {
7522
- if (C.isLeaf)
7525
+ for (const S of B) {
7526
+ if (S.isLeaf)
7523
7527
  continue;
7524
- const { key: b, shallowLoaded: E } = C;
7525
- if (m && E && C.children.forEach((z) => {
7526
- !z.disabled && !z.isLeaf && z.shallowLoaded && g.has(z.key) && g.delete(z.key);
7527
- }), C.disabled || !E)
7528
+ const { key: b, shallowLoaded: E } = S;
7529
+ if (m && E && S.children.forEach((z) => {
7530
+ !z.disabled && !z.isLeaf && z.shallowLoaded && h.has(z.key) && h.delete(z.key);
7531
+ }), S.disabled || !E)
7528
7532
  continue;
7529
7533
  let A = !0, _ = !1, j = !0;
7530
- for (const z of C.children) {
7534
+ for (const z of S.children) {
7531
7535
  const y = z.key;
7532
7536
  if (!z.disabled) {
7533
- if (j && (j = !1), g.has(y))
7537
+ if (j && (j = !1), h.has(y))
7534
7538
  _ = !0;
7535
7539
  else if (O.has(y)) {
7536
7540
  _ = !0, A = !1;
@@ -7539,13 +7543,13 @@ function Yt(e, t) {
7539
7543
  break;
7540
7544
  }
7541
7545
  }
7542
- A && !j ? (f && C.children.forEach((z) => {
7543
- !z.disabled && g.has(z.key) && g.delete(z.key);
7544
- }), g.add(b)) : _ && O.add(b), R && m && g.has(b) && g.delete(b);
7546
+ A && !j ? (f && S.children.forEach((z) => {
7547
+ !z.disabled && h.has(z.key) && h.delete(z.key);
7548
+ }), h.add(b)) : _ && O.add(b), R && m && h.has(b) && h.delete(b);
7545
7549
  }
7546
7550
  }
7547
7551
  return {
7548
- checkedKeys: Array.from(g),
7552
+ checkedKeys: Array.from(h),
7549
7553
  indeterminateKeys: Array.from(O)
7550
7554
  };
7551
7555
  }
@@ -7557,16 +7561,16 @@ function It(e, t, n, r) {
7557
7561
  if (d.disabled)
7558
7562
  return on.STOP;
7559
7563
  const { key: c } = d;
7560
- if (!o.has(c) && (o.add(c), l.add(c), im(d.rawNode, s))) {
7564
+ if (!o.has(c) && (o.add(c), l.add(c), um(d.rawNode, s))) {
7561
7565
  if (r)
7562
7566
  return on.STOP;
7563
7567
  if (!n)
7564
- throw new pm();
7568
+ throw new vm();
7565
7569
  }
7566
7570
  });
7567
7571
  }), l;
7568
7572
  }
7569
- function gm(e, { includeGroup: t = !1, includeSelf: n = !0 }, r) {
7573
+ function ym(e, { includeGroup: t = !1, includeSelf: n = !0 }, r) {
7570
7574
  var a;
7571
7575
  const s = r.treeNodeMap;
7572
7576
  let o = e == null ? null : (a = s.get(e)) !== null && a !== void 0 ? a : null;
@@ -7581,18 +7585,18 @@ function gm(e, { includeGroup: t = !1, includeSelf: n = !0 }, r) {
7581
7585
  !o.ignored && (t || !o.isGroup) && l.treeNodePath.push(o), o = o.parent;
7582
7586
  return l.treeNodePath.reverse(), n || l.treeNodePath.pop(), l.keyPath = l.treeNodePath.map((i) => i.key), l;
7583
7587
  }
7584
- function ym(e) {
7588
+ function bm(e) {
7585
7589
  if (e.length === 0)
7586
7590
  return null;
7587
7591
  const t = e[0];
7588
7592
  return t.isGroup || t.ignored || t.disabled ? t.getNext() : t;
7589
7593
  }
7590
- function bm(e, t) {
7594
+ function wm(e, t) {
7591
7595
  const n = e.siblings, r = n.length, { index: a } = e;
7592
7596
  return t ? n[(a + 1) % r] : a === n.length - 1 ? null : n[a + 1];
7593
7597
  }
7594
7598
  function vr(e, t, { loop: n = !1, includeDisabled: r = !1 } = {}) {
7595
- const a = t === "prev" ? wm : bm, s = {
7599
+ const a = t === "prev" ? $m : wm, s = {
7596
7600
  reverse: t === "prev"
7597
7601
  };
7598
7602
  let o = !1, l = null;
@@ -7617,7 +7621,7 @@ function vr(e, t, { loop: n = !1, includeDisabled: r = !1 } = {}) {
7617
7621
  if (d !== null)
7618
7622
  i(d);
7619
7623
  else {
7620
- const c = $m(u);
7624
+ const c = km(u);
7621
7625
  c != null && c.isGroup ? i(a(c, n)) : n && i(a(u, !0));
7622
7626
  }
7623
7627
  }
@@ -7625,11 +7629,11 @@ function vr(e, t, { loop: n = !1, includeDisabled: r = !1 } = {}) {
7625
7629
  }
7626
7630
  return i(e), l;
7627
7631
  }
7628
- function wm(e, t) {
7632
+ function $m(e, t) {
7629
7633
  const n = e.siblings, r = n.length, { index: a } = e;
7630
7634
  return t ? n[(a - 1 + r) % r] : a === 0 ? null : n[a - 1];
7631
7635
  }
7632
- function $m(e) {
7636
+ function km(e) {
7633
7637
  return e.parent;
7634
7638
  }
7635
7639
  function $n(e, t = {}) {
@@ -7649,7 +7653,7 @@ function $n(e, t = {}) {
7649
7653
  }
7650
7654
  return null;
7651
7655
  }
7652
- const km = {
7656
+ const Sm = {
7653
7657
  getChild() {
7654
7658
  return this.ignored ? null : $n(this);
7655
7659
  },
@@ -7674,7 +7678,7 @@ function Cm(e, t) {
7674
7678
  }
7675
7679
  return a(e), r;
7676
7680
  }
7677
- function Sm(e, t) {
7681
+ function Tm(e, t) {
7678
7682
  const n = e.key;
7679
7683
  for (; t; ) {
7680
7684
  if (t.key === n)
@@ -7687,7 +7691,7 @@ function ro(e, t, n, r, a, s = null, o = 0) {
7687
7691
  const l = [];
7688
7692
  return e.forEach((i, u) => {
7689
7693
  var d;
7690
- process.env.NODE_ENV !== "production" && um(i, a) && console.error("[treemate]: node", i, "is invalid");
7694
+ process.env.NODE_ENV !== "production" && dm(i, a) && console.error("[treemate]: node", i, "is invalid");
7691
7695
  const c = Object.create(r);
7692
7696
  if (c.rawNode = i, c.siblings = l, c.level = o, c.index = u, c.isFirstChild = u === 0, c.isLastChild = u + 1 === e.length, c.parent = s, !c.ignored) {
7693
7697
  const f = a(i);
@@ -7696,10 +7700,10 @@ function ro(e, t, n, r, a, s = null, o = 0) {
7696
7700
  l.push(c), t.set(c.key, c), n.has(o) || n.set(o, []), (d = n.get(o)) === null || d === void 0 || d.push(c);
7697
7701
  }), l;
7698
7702
  }
7699
- function Tm(e, t = {}) {
7703
+ function Mm(e, t = {}) {
7700
7704
  var n;
7701
- const r = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), { getDisabled: s = lm, getIgnored: o = om, getIsGroup: l = fm, getKey: i = am } = t, u = (n = t.getChildren) !== null && n !== void 0 ? n : rm, d = t.ignoreEmptyChildren ? (C) => {
7702
- const b = u(C);
7705
+ const r = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), { getDisabled: s = im, getIgnored: o = sm, getIsGroup: l = pm, getKey: i = om } = t, u = (n = t.getChildren) !== null && n !== void 0 ? n : am, d = t.ignoreEmptyChildren ? (S) => {
7706
+ const b = u(S);
7703
7707
  return Array.isArray(b) ? b.length ? b : null : b;
7704
7708
  } : u, c = Object.assign({
7705
7709
  get key() {
@@ -7712,44 +7716,44 @@ function Tm(e, t = {}) {
7712
7716
  return l(this.rawNode);
7713
7717
  },
7714
7718
  get isLeaf() {
7715
- return nm(this.rawNode, d);
7719
+ return rm(this.rawNode, d);
7716
7720
  },
7717
7721
  get shallowLoaded() {
7718
- return sm(this.rawNode, d);
7722
+ return lm(this.rawNode, d);
7719
7723
  },
7720
7724
  get ignored() {
7721
7725
  return o(this.rawNode);
7722
7726
  },
7723
- contains(C) {
7724
- return Sm(this, C);
7727
+ contains(S) {
7728
+ return Tm(this, S);
7725
7729
  }
7726
- }, km), f = ro(e, r, a, c, d);
7727
- function m(C) {
7728
- if (C == null)
7730
+ }, Sm), f = ro(e, r, a, c, d);
7731
+ function m(S) {
7732
+ if (S == null)
7729
7733
  return null;
7730
- const b = r.get(C);
7734
+ const b = r.get(S);
7731
7735
  return b && !b.isGroup && !b.ignored ? b : null;
7732
7736
  }
7733
- function g(C) {
7734
- if (C == null)
7737
+ function h(S) {
7738
+ if (S == null)
7735
7739
  return null;
7736
- const b = r.get(C);
7740
+ const b = r.get(S);
7737
7741
  return b && !b.ignored ? b : null;
7738
7742
  }
7739
- function O(C, b) {
7740
- const E = g(C);
7743
+ function O(S, b) {
7744
+ const E = h(S);
7741
7745
  return E ? E.getPrev(b) : null;
7742
7746
  }
7743
- function k(C, b) {
7744
- const E = g(C);
7747
+ function k(S, b) {
7748
+ const E = h(S);
7745
7749
  return E ? E.getNext(b) : null;
7746
7750
  }
7747
- function M(C) {
7748
- const b = g(C);
7751
+ function M(S) {
7752
+ const b = h(S);
7749
7753
  return b ? b.getParent() : null;
7750
7754
  }
7751
- function R(C) {
7752
- const b = g(C);
7755
+ function R(S) {
7756
+ const b = h(S);
7753
7757
  return b ? b.getChild() : null;
7754
7758
  }
7755
7759
  const B = {
@@ -7758,8 +7762,8 @@ function Tm(e, t = {}) {
7758
7762
  levelTreeNodeMap: a,
7759
7763
  maxLevel: Math.max(...a.keys()),
7760
7764
  getChildren: d,
7761
- getFlattenedNodes(C) {
7762
- return Cm(f, C);
7765
+ getFlattenedNodes(S) {
7766
+ return Cm(f, S);
7763
7767
  },
7764
7768
  getNode: m,
7765
7769
  getPrev: O,
@@ -7767,64 +7771,64 @@ function Tm(e, t = {}) {
7767
7771
  getParent: M,
7768
7772
  getChild: R,
7769
7773
  getFirstAvailableNode() {
7770
- return ym(f);
7774
+ return bm(f);
7771
7775
  },
7772
- getPath(C, b = {}) {
7773
- return gm(C, b, B);
7776
+ getPath(S, b = {}) {
7777
+ return ym(S, b, B);
7774
7778
  },
7775
- getCheckedKeys(C, b = {}) {
7779
+ getCheckedKeys(S, b = {}) {
7776
7780
  const { cascade: E = !0, leafOnly: A = !1, checkStrategy: _ = "all", allowNotLoaded: j = !1 } = b;
7777
7781
  return Yt({
7778
- checkedKeys: Ut(C),
7779
- indeterminateKeys: Xt(C),
7782
+ checkedKeys: Ut(S),
7783
+ indeterminateKeys: Xt(S),
7780
7784
  cascade: E,
7781
7785
  leafOnly: A,
7782
7786
  checkStrategy: _,
7783
7787
  allowNotLoaded: j
7784
7788
  }, B);
7785
7789
  },
7786
- check(C, b, E = {}) {
7790
+ check(S, b, E = {}) {
7787
7791
  const { cascade: A = !0, leafOnly: _ = !1, checkStrategy: j = "all", allowNotLoaded: z = !1 } = E;
7788
7792
  return Yt({
7789
7793
  checkedKeys: Ut(b),
7790
7794
  indeterminateKeys: Xt(b),
7791
- keysToCheck: C == null ? [] : pr(C),
7795
+ keysToCheck: S == null ? [] : pr(S),
7792
7796
  cascade: A,
7793
7797
  leafOnly: _,
7794
7798
  checkStrategy: j,
7795
7799
  allowNotLoaded: z
7796
7800
  }, B);
7797
7801
  },
7798
- uncheck(C, b, E = {}) {
7802
+ uncheck(S, b, E = {}) {
7799
7803
  const { cascade: A = !0, leafOnly: _ = !1, checkStrategy: j = "all", allowNotLoaded: z = !1 } = E;
7800
7804
  return Yt({
7801
7805
  checkedKeys: Ut(b),
7802
7806
  indeterminateKeys: Xt(b),
7803
- keysToUncheck: C == null ? [] : pr(C),
7807
+ keysToUncheck: S == null ? [] : pr(S),
7804
7808
  cascade: A,
7805
7809
  leafOnly: _,
7806
7810
  checkStrategy: j,
7807
7811
  allowNotLoaded: z
7808
7812
  }, B);
7809
7813
  },
7810
- getNonLeafKeys(C = {}) {
7811
- return tm(f, C);
7814
+ getNonLeafKeys(S = {}) {
7815
+ return nm(f, S);
7812
7816
  }
7813
7817
  };
7814
7818
  return B;
7815
7819
  }
7816
7820
  const ao = "tree";
7817
- var Mm = "vikfr11", oo = { 90: "vikfr12" }, Om = "vikfr14", Em = "vikfr15", Rm = "vikfr16", Am = "vikfr13", so = "vikfr10";
7821
+ var Om = "vikfr11", oo = { 90: "vikfr12" }, Em = "vikfr14", Rm = "vikfr15", Am = "vikfr16", Bm = "vikfr13", so = "vikfr10";
7818
7822
  const lo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7819
7823
  __proto__: null,
7820
- icon: Mm,
7824
+ icon: Om,
7821
7825
  iconRotate: oo,
7822
- node: Om,
7823
- nodeContent: Em,
7824
- nodeContentText: Rm,
7825
- nodeWrapper: Am,
7826
+ node: Em,
7827
+ nodeContent: Rm,
7828
+ nodeContentText: Am,
7829
+ nodeWrapper: Bm,
7826
7830
  toggle: so
7827
- }, Symbol.toStringTag, { value: "Module" })), Bm = P({
7831
+ }, Symbol.toStringTag, { value: "Module" })), zm = P({
7828
7832
  name: "TreeNodeToggle",
7829
7833
  props: {
7830
7834
  expanded: Boolean,
@@ -7846,34 +7850,34 @@ const lo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7846
7850
  iconClass: t
7847
7851
  };
7848
7852
  }
7849
- }), zm = /* @__PURE__ */ T("path", { d: "M12 8l10 8l-10 8z" }, null, -1), Im = [
7850
- zm
7851
- ], _m = /* @__PURE__ */ T("path", { d: "M12 8l10 8l-10 8z" }, null, -1), jm = [
7852
- _m
7853
+ }), Im = /* @__PURE__ */ T("path", { d: "M12 8l10 8l-10 8z" }, null, -1), _m = [
7854
+ Im
7855
+ ], jm = /* @__PURE__ */ T("path", { d: "M12 8l10 8l-10 8z" }, null, -1), Lm = [
7856
+ jm
7853
7857
  ];
7854
- function Lm(e, t, n, r, a, s) {
7858
+ function Dm(e, t, n, r, a, s) {
7855
7859
  return v(), w("div", {
7856
7860
  onClick: t[0] || (t[0] = (...o) => e.onClick && e.onClick(...o)),
7857
- class: h(e.iconClass)
7861
+ class: g(e.iconClass)
7858
7862
  }, [
7859
7863
  e.hide ? V("", !0) : (v(), w(Q, { key: 0 }, [
7860
7864
  e.expanded ? (v(), w("svg", {
7861
7865
  key: 0,
7862
- class: h(e.style.icon),
7866
+ class: g(e.style.icon),
7863
7867
  xmlns: "http://www.w3.org/2000/svg",
7864
7868
  viewBox: "0 0 32 32"
7865
- }, Im, 2)) : (v(), w("svg", {
7869
+ }, _m, 2)) : (v(), w("svg", {
7866
7870
  key: 1,
7867
- class: h(e.style.icon),
7871
+ class: g(e.style.icon),
7868
7872
  xmlns: "http://www.w3.org/2000/svg",
7869
7873
  viewBox: "0 0 32 32"
7870
- }, jm, 2))
7874
+ }, Lm, 2))
7871
7875
  ], 64))
7872
7876
  ], 2);
7873
7877
  }
7874
- const Dm = /* @__PURE__ */ N(Bm, [["render", Lm]]), Pm = P({
7878
+ const Pm = /* @__PURE__ */ N(zm, [["render", Dm]]), Nm = P({
7875
7879
  name: "TreeNode",
7876
- components: { TreeNodeToggle: Dm },
7880
+ components: { TreeNodeToggle: Pm },
7877
7881
  props: {
7878
7882
  node: {
7879
7883
  type: Object,
@@ -7903,13 +7907,13 @@ const Dm = /* @__PURE__ */ N(Bm, [["render", Lm]]), Pm = P({
7903
7907
  delete B[s.value], i(B);
7904
7908
  }
7905
7909
  const m = p(() => e.node.level);
7906
- function g(M) {
7910
+ function h(M) {
7907
7911
  d();
7908
7912
  }
7909
7913
  const O = p(() => e.node.rawNode[r.value]), k = p(() => t.mergedExpandedKeysRef.value.includes(e.node.key));
7910
7914
  return {
7911
7915
  selfElRef: u,
7912
- handleLineClick: g,
7916
+ handleLineClick: h,
7913
7917
  indentCount: m,
7914
7918
  labelField: O,
7915
7919
  expanded: k,
@@ -7918,17 +7922,17 @@ const Dm = /* @__PURE__ */ N(Bm, [["render", Lm]]), Pm = P({
7918
7922
  style: lo
7919
7923
  };
7920
7924
  }
7921
- }), Nm = { style: { "flex-grow": "0", "flex-shrink": "0", height: "0" } };
7922
- function Vm(e, t, n, r, a, s) {
7925
+ }), Vm = { style: { "flex-grow": "0", "flex-shrink": "0", height: "0" } };
7926
+ function Fm(e, t, n, r, a, s) {
7923
7927
  const o = le("TreeNodeToggle");
7924
7928
  return v(), w("div", {
7925
7929
  onDblclick: t[0] || (t[0] = (...l) => e.doDoubleClick && e.doDoubleClick(...l)),
7926
- class: h(e.style.nodeWrapper)
7930
+ class: g(e.style.nodeWrapper)
7927
7931
  }, [
7928
7932
  T("div", {
7929
- class: h(e.style.node)
7933
+ class: g(e.style.node)
7930
7934
  }, [
7931
- e.indentCount > 0 ? (v(!0), w(Q, { key: 0 }, he(e.indentCount, (l) => (v(), w("div", Nm, [
7935
+ e.indentCount > 0 ? (v(!0), w(Q, { key: 0 }, he(e.indentCount, (l) => (v(), w("div", Vm, [
7932
7936
  (v(), w("div", {
7933
7937
  key: l,
7934
7938
  style: { width: "16px" }
@@ -7941,42 +7945,42 @@ function Vm(e, t, n, r, a, s) {
7941
7945
  onClick: e.handleToggleClick
7942
7946
  }, null, 8, ["hide", "node", "expanded", "onClick"]),
7943
7947
  T("div", {
7944
- class: h(e.style.nodeContent)
7948
+ class: g(e.style.nodeContent)
7945
7949
  }, [
7946
7950
  T("div", {
7947
- class: h(e.style.nodeContentText)
7951
+ class: g(e.style.nodeContentText)
7948
7952
  }, H(e.labelField), 3)
7949
7953
  ], 2)
7950
7954
  ], 2)
7951
7955
  ], 34);
7952
7956
  }
7953
- const Fm = /* @__PURE__ */ N(Pm, [["render", Vm]]);
7954
- function xm(e, t) {
7957
+ const xm = /* @__PURE__ */ N(Nm, [["render", Fm]]);
7958
+ function Hm(e, t) {
7955
7959
  return K(e, (n) => {
7956
7960
  n !== void 0 && (t.value = n);
7957
7961
  }), p(() => e.value === void 0 ? t.value : e.value);
7958
7962
  }
7959
- const Hm = P({
7960
- components: { TreeNode: Fm, VVirtualList: Zv },
7963
+ const Wm = P({
7964
+ components: { TreeNode: xm, VVirtualList: Jv },
7961
7965
  name: "Tree",
7962
- props: Qv,
7966
+ props: em,
7963
7967
  emits: ["update:expandedKeys", "dblclick"],
7964
7968
  setup: function(e, { emit: t }) {
7965
7969
  const n = $(null);
7966
7970
  $(null);
7967
- const r = p(() => Tm(
7971
+ const r = p(() => Mm(
7968
7972
  e.data,
7969
- em(
7973
+ tm(
7970
7974
  e.keyField,
7971
7975
  e.childrenField,
7972
7976
  "disabled",
7973
7977
  e.getChildren
7974
7978
  )
7975
- )), a = X(e, "expandedKeys"), s = $([]), o = xm(
7979
+ )), a = X(e, "expandedKeys"), s = $([]), o = Hm(
7976
7980
  a,
7977
7981
  s
7978
7982
  ), l = p(() => r.value.getFlattenedNodes(o.value));
7979
- Ce(ao, {
7983
+ Se(ao, {
7980
7984
  mergedExpandedKeysRef: o,
7981
7985
  indentRef: X(e, "indent"),
7982
7986
  expandOnClickRef: X(e, "expandOnClick"),
@@ -7994,17 +7998,17 @@ const Hm = P({
7994
7998
  t("dblclick", f);
7995
7999
  }
7996
8000
  function d(f) {
7997
- const { key: m } = f, { value: g } = o, O = g.findIndex(
8001
+ const { key: m } = f, { value: h } = o, O = h.findIndex(
7998
8002
  (k) => k === m
7999
8003
  );
8000
8004
  if (~O) {
8001
- const k = Array.from(g);
8005
+ const k = Array.from(h);
8002
8006
  k.splice(O, 1), c(k);
8003
8007
  } else {
8004
8008
  const k = r.value.getNode(m);
8005
8009
  if (!k || k.isLeaf)
8006
8010
  return;
8007
- let M = g.concat(m);
8011
+ let M = h.concat(m);
8008
8012
  c(M);
8009
8013
  }
8010
8014
  }
@@ -8017,10 +8021,10 @@ const Hm = P({
8017
8021
  selfElRef: n
8018
8022
  };
8019
8023
  }
8020
- }), Wm = { ref: "selfElRef" };
8021
- function qm(e, t, n, r, a, s) {
8024
+ }), qm = { ref: "selfElRef" };
8025
+ function Km(e, t, n, r, a, s) {
8022
8026
  const o = le("TreeNode"), l = le("VVirtualList");
8023
- return v(), w("div", Wm, [
8027
+ return v(), w("div", qm, [
8024
8028
  J(l, {
8025
8029
  ref: "virtualListInstRef",
8026
8030
  items: e.nodesRef,
@@ -8034,7 +8038,7 @@ function qm(e, t, n, r, a, s) {
8034
8038
  }, 8, ["items"])
8035
8039
  ], 512);
8036
8040
  }
8037
- const Km = /* @__PURE__ */ N(Hm, [["render", qm]]), mr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8041
+ const Gm = /* @__PURE__ */ N(Wm, [["render", Km]]), mr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8038
8042
  __proto__: null,
8039
8043
  MAvatar: $r,
8040
8044
  MAvatarGroup: Vo,
@@ -8042,49 +8046,49 @@ const Km = /* @__PURE__ */ N(Hm, [["render", qm]]), mr = /* @__PURE__ */ Object.
8042
8046
  MBreadcrumb: es,
8043
8047
  MBreadcrumbItem: rs,
8044
8048
  MButton: Tr,
8045
- MButtonGroup: Ss,
8049
+ MButtonGroup: Cs,
8046
8050
  MCheckbox: Ar,
8047
8051
  MColorPicker: Ji,
8048
- MConfirm: jp,
8049
- MConfirmProvider: Np,
8050
- MDialog: ev,
8052
+ MConfirm: Lp,
8053
+ MConfirmProvider: Vp,
8054
+ MDialog: tv,
8051
8055
  MDropdown: su,
8052
8056
  MDropdownHeading: yu,
8053
8057
  MDropdownItem: uu,
8054
8058
  MDropdownList: fu,
8055
8059
  MDropdownSeperator: mu,
8056
8060
  MDropdownWrapper: ea,
8057
- MForm: Su,
8061
+ MForm: Cu,
8058
8062
  MImage: br,
8059
8063
  MInput: Qr,
8060
8064
  MLink: Ou,
8061
- MMessageProvider: ed,
8065
+ MMessageProvider: td,
8062
8066
  MModal: ma,
8063
- MPagination: Dd,
8064
- MRadio: Xd,
8065
- MRadioButton: ac,
8066
- MRadioButtonGroup: uc,
8067
- MRenderer: Co,
8068
- MSelect: nf,
8069
- MSkeleton: lf,
8067
+ MPagination: Pd,
8068
+ MRadio: Yd,
8069
+ MRadioButton: oc,
8070
+ MRadioButtonGroup: dc,
8071
+ MRenderer: So,
8072
+ MSelect: rf,
8073
+ MSkeleton: uf,
8070
8074
  MSlider: Wr,
8071
- MSwitch: gf,
8072
- MTab: kf,
8073
- MTabGroup: Of,
8074
- MTable: Kf,
8075
+ MSwitch: yf,
8076
+ MTab: Sf,
8077
+ MTabGroup: Ef,
8078
+ MTable: Gf,
8075
8079
  MTableBody: za,
8076
8080
  MTableCell: _a,
8077
8081
  MTableHead: Ba,
8078
8082
  MTableHeadRow: Aa,
8079
8083
  MTableRow: Ia,
8080
8084
  MTag: ka,
8081
- MTextarea: np,
8082
- MTooltip: fp,
8083
- MTransfer: Tp,
8084
- MTree: Km,
8085
- MVirtualScroll: Ap
8085
+ MTextarea: rp,
8086
+ MTooltip: pp,
8087
+ MTransfer: Mp,
8088
+ MTree: Gm,
8089
+ MVirtualScroll: Bp
8086
8090
  }, Symbol.toStringTag, { value: "Module" }));
8087
- function ih() {
8091
+ function uh() {
8088
8092
  const e = fe("m-message", null);
8089
8093
  if (e === null)
8090
8094
  throw new Error(
@@ -8092,7 +8096,7 @@ function ih() {
8092
8096
  );
8093
8097
  return e;
8094
8098
  }
8095
- function uh() {
8099
+ function dh() {
8096
8100
  const e = fe("m-confirm", null);
8097
8101
  if (e === null)
8098
8102
  throw new Error(
@@ -8100,26 +8104,26 @@ function uh() {
8100
8104
  );
8101
8105
  return e;
8102
8106
  }
8103
- var Gm = { none: "0px", xsmall: "1px", small: "2px", default: "4px", medium: "6px", large: "8px", xlarge: "12px", full: "9999px" }, Um = { none: "ntsf1md", xsmall: "ntsf1me", small: "ntsf1mf", default: "ntsf1mg", medium: "ntsf1mh", large: "ntsf1mi", xlarge: "ntsf1mj", full: "ntsf1mk" }, Xm = { base: "14px", xsmall: "10px", small: "12px", large: "16px", xlarge: "18px", xxlarge: "20px" }, Ym = { base: "ntsf1ml", xsmall: "ntsf1mm", small: "ntsf1mn", large: "ntsf1mo", xlarge: "ntsf1mp", xxlarge: "ntsf1mq" }, Zm = { 0: "ntsf1m0", 1: "ntsf1m1", 2: "ntsf1m2", 3: "ntsf1m3", 4: "ntsf1m4", 5: "ntsf1m5", 6: "ntsf1m6", 7: "ntsf1m7", 8: "ntsf1m8", "0.5": "ntsf1m9", "1.5": "ntsf1ma", "2.5": "ntsf1mb", "3.5": "ntsf1mc" }, Jm = { sm: "ntsf1mr", md: "ntsf1ms", lg: "ntsf1mt" }, Qm = { sm: "0px 3px 6px 1px rgb(154 161 171 / 15%)", md: "0px 4px 10px 1px rgb(154 161 171 / 20%)", lg: "0px 7px 14px 1px rgb(154 161 171 / 23%)" }, eh = { 0: "0px", 1: "4px", 2: "8px", 3: "12px", 4: "16px", 5: "18px", 6: "20px", 7: "24px", 8: "28px", "0.5": "2px", "1.5": "6px", "2.5": "10px", "3.5": "14px" }, th = { color: { font: { default: "var(--ntsf1mv)", muted: "var(--ntsf1mw)", subtle: "var(--ntsf1mx)", text: "var(--ntsf1my)" }, gray: { 50: "var(--ntsf1mz)", 75: "var(--ntsf1m10)", 100: "var(--ntsf1m11)", 150: "var(--ntsf1m12)", 200: "var(--ntsf1m13)", 250: "var(--ntsf1m14)", 300: "var(--ntsf1m15)", 400: "var(--ntsf1m16)", 500: "var(--ntsf1m17)", 600: "var(--ntsf1m18)", 700: "var(--ntsf1m19)", 800: "var(--ntsf1m1a)", 900: "var(--ntsf1m1b)" }, blue: { 50: "var(--ntsf1m1c)", 100: "var(--ntsf1m1d)", 200: "var(--ntsf1m1e)", 300: "var(--ntsf1m1f)", 400: "var(--ntsf1m1g)", 500: "var(--ntsf1m1h)", 600: "var(--ntsf1m1i)", 700: "var(--ntsf1m1j)", 800: "var(--ntsf1m1k)", 900: "var(--ntsf1m1l)" }, amber: { 50: "var(--ntsf1m1m)", 100: "var(--ntsf1m1n)", 200: "var(--ntsf1m1o)", 300: "var(--ntsf1m1p)", 400: "var(--ntsf1m1q)", 500: "var(--ntsf1m1r)", 600: "var(--ntsf1m1s)", 700: "var(--ntsf1m1t)", 800: "var(--ntsf1m1u)", 900: "var(--ntsf1m1v)" }, red: { 50: "var(--ntsf1m1w)", 100: "var(--ntsf1m1x)", 200: "var(--ntsf1m1y)", 300: "var(--ntsf1m1z)", 400: "var(--ntsf1m20)", 500: "var(--ntsf1m21)", 600: "var(--ntsf1m22)", 700: "var(--ntsf1m23)", 800: "var(--ntsf1m24)", 900: "var(--ntsf1m25)" }, green: { 50: "var(--ntsf1m26)", 100: "var(--ntsf1m27)", 200: "var(--ntsf1m28)", 300: "var(--ntsf1m29)", 400: "var(--ntsf1m2a)", 500: "var(--ntsf1m2b)", 600: "var(--ntsf1m2c)", 700: "var(--ntsf1m2d)", 800: "var(--ntsf1m2e)", 900: "var(--ntsf1m2f)" }, primary: "var(--ntsf1m2g)", saxe: { 50: "var(--ntsf1m2h)", 100: "var(--ntsf1m2i)", 200: "var(--ntsf1m2j)", 300: "var(--ntsf1m2k)", 400: "var(--ntsf1m2l)", 500: "var(--ntsf1m2m)", 600: "var(--ntsf1m2n)", 700: "var(--ntsf1m2o)", 800: "var(--ntsf1m2p)", 900: "var(--ntsf1m2q)", 950: "var(--ntsf1m2r)" } }, space: { 0: "var(--ntsf1m2s)", 1: "var(--ntsf1m2t)", 2: "var(--ntsf1m2u)", 3: "var(--ntsf1m2v)", 4: "var(--ntsf1m2w)", 5: "var(--ntsf1m2x)", 6: "var(--ntsf1m2y)", 7: "var(--ntsf1m2z)", 8: "var(--ntsf1m30)", "0.5": "var(--ntsf1m31)", "1.5": "var(--ntsf1m32)", "2.5": "var(--ntsf1m33)", "3.5": "var(--ntsf1m34)" }, fontSize: { base: "var(--ntsf1m35)", xsmall: "var(--ntsf1m36)", small: "var(--ntsf1m37)", large: "var(--ntsf1m38)", xlarge: "var(--ntsf1m39)", xxlarge: "var(--ntsf1m3a)" }, shadow: { sm: "var(--ntsf1m3b)", md: "var(--ntsf1m3c)", lg: "var(--ntsf1m3d)" }, transition: { default: "var(--ntsf1m3e)" }, rounded: { none: "var(--ntsf1m3f)", xsmall: "var(--ntsf1m3g)", small: "var(--ntsf1m3h)", default: "var(--ntsf1m3i)", medium: "var(--ntsf1m3j)", large: "var(--ntsf1m3k)", xlarge: "var(--ntsf1m3l)", full: "var(--ntsf1m3m)" } }, nh = { default: "cubic-bezier(0.4, 0, 0.2, 1)" }, rh = { default: "ntsf1mu" };
8104
- const dh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8107
+ var Um = { none: "0px", xsmall: "1px", small: "2px", default: "4px", medium: "6px", large: "8px", xlarge: "12px", full: "9999px" }, Xm = { none: "ntsf1md", xsmall: "ntsf1me", small: "ntsf1mf", default: "ntsf1mg", medium: "ntsf1mh", large: "ntsf1mi", xlarge: "ntsf1mj", full: "ntsf1mk" }, Ym = { base: "14px", xsmall: "10px", small: "12px", large: "16px", xlarge: "18px", xxlarge: "20px" }, Zm = { base: "ntsf1ml", xsmall: "ntsf1mm", small: "ntsf1mn", large: "ntsf1mo", xlarge: "ntsf1mp", xxlarge: "ntsf1mq" }, Jm = { 0: "ntsf1m0", 1: "ntsf1m1", 2: "ntsf1m2", 3: "ntsf1m3", 4: "ntsf1m4", 5: "ntsf1m5", 6: "ntsf1m6", 7: "ntsf1m7", 8: "ntsf1m8", "0.5": "ntsf1m9", "1.5": "ntsf1ma", "2.5": "ntsf1mb", "3.5": "ntsf1mc" }, Qm = { sm: "ntsf1mr", md: "ntsf1ms", lg: "ntsf1mt" }, eh = { sm: "0px 3px 6px 1px rgb(154 161 171 / 15%)", md: "0px 4px 10px 1px rgb(154 161 171 / 20%)", lg: "0px 7px 14px 1px rgb(154 161 171 / 23%)" }, th = { 0: "0px", 1: "4px", 2: "8px", 3: "12px", 4: "16px", 5: "18px", 6: "20px", 7: "24px", 8: "28px", "0.5": "2px", "1.5": "6px", "2.5": "10px", "3.5": "14px" }, nh = { color: { font: { default: "var(--ntsf1mv)", muted: "var(--ntsf1mw)", subtle: "var(--ntsf1mx)", text: "var(--ntsf1my)" }, gray: { 50: "var(--ntsf1mz)", 75: "var(--ntsf1m10)", 100: "var(--ntsf1m11)", 150: "var(--ntsf1m12)", 200: "var(--ntsf1m13)", 250: "var(--ntsf1m14)", 300: "var(--ntsf1m15)", 400: "var(--ntsf1m16)", 500: "var(--ntsf1m17)", 600: "var(--ntsf1m18)", 700: "var(--ntsf1m19)", 800: "var(--ntsf1m1a)", 900: "var(--ntsf1m1b)" }, blue: { 50: "var(--ntsf1m1c)", 100: "var(--ntsf1m1d)", 200: "var(--ntsf1m1e)", 300: "var(--ntsf1m1f)", 400: "var(--ntsf1m1g)", 500: "var(--ntsf1m1h)", 600: "var(--ntsf1m1i)", 700: "var(--ntsf1m1j)", 800: "var(--ntsf1m1k)", 900: "var(--ntsf1m1l)" }, amber: { 50: "var(--ntsf1m1m)", 100: "var(--ntsf1m1n)", 200: "var(--ntsf1m1o)", 300: "var(--ntsf1m1p)", 400: "var(--ntsf1m1q)", 500: "var(--ntsf1m1r)", 600: "var(--ntsf1m1s)", 700: "var(--ntsf1m1t)", 800: "var(--ntsf1m1u)", 900: "var(--ntsf1m1v)" }, red: { 50: "var(--ntsf1m1w)", 100: "var(--ntsf1m1x)", 200: "var(--ntsf1m1y)", 300: "var(--ntsf1m1z)", 400: "var(--ntsf1m20)", 500: "var(--ntsf1m21)", 600: "var(--ntsf1m22)", 700: "var(--ntsf1m23)", 800: "var(--ntsf1m24)", 900: "var(--ntsf1m25)" }, green: { 50: "var(--ntsf1m26)", 100: "var(--ntsf1m27)", 200: "var(--ntsf1m28)", 300: "var(--ntsf1m29)", 400: "var(--ntsf1m2a)", 500: "var(--ntsf1m2b)", 600: "var(--ntsf1m2c)", 700: "var(--ntsf1m2d)", 800: "var(--ntsf1m2e)", 900: "var(--ntsf1m2f)" }, primary: "var(--ntsf1m2g)", saxe: { 50: "var(--ntsf1m2h)", 100: "var(--ntsf1m2i)", 200: "var(--ntsf1m2j)", 300: "var(--ntsf1m2k)", 400: "var(--ntsf1m2l)", 500: "var(--ntsf1m2m)", 600: "var(--ntsf1m2n)", 700: "var(--ntsf1m2o)", 800: "var(--ntsf1m2p)", 900: "var(--ntsf1m2q)", 950: "var(--ntsf1m2r)" } }, space: { 0: "var(--ntsf1m2s)", 1: "var(--ntsf1m2t)", 2: "var(--ntsf1m2u)", 3: "var(--ntsf1m2v)", 4: "var(--ntsf1m2w)", 5: "var(--ntsf1m2x)", 6: "var(--ntsf1m2y)", 7: "var(--ntsf1m2z)", 8: "var(--ntsf1m30)", "0.5": "var(--ntsf1m31)", "1.5": "var(--ntsf1m32)", "2.5": "var(--ntsf1m33)", "3.5": "var(--ntsf1m34)" }, fontSize: { base: "var(--ntsf1m35)", xsmall: "var(--ntsf1m36)", small: "var(--ntsf1m37)", large: "var(--ntsf1m38)", xlarge: "var(--ntsf1m39)", xxlarge: "var(--ntsf1m3a)" }, shadow: { sm: "var(--ntsf1m3b)", md: "var(--ntsf1m3c)", lg: "var(--ntsf1m3d)" }, transition: { default: "var(--ntsf1m3e)" }, rounded: { none: "var(--ntsf1m3f)", xsmall: "var(--ntsf1m3g)", small: "var(--ntsf1m3h)", default: "var(--ntsf1m3i)", medium: "var(--ntsf1m3j)", large: "var(--ntsf1m3k)", xlarge: "var(--ntsf1m3l)", full: "var(--ntsf1m3m)" } }, rh = { default: "cubic-bezier(0.4, 0, 0.2, 1)" }, ah = { default: "ntsf1mu" };
8108
+ const ch = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8105
8109
  __proto__: null,
8106
- borderRadiusScale: Gm,
8107
- borderRadiusVariants: Um,
8108
- fontSizeScale: Xm,
8109
- fontSizeVariants: Ym,
8110
- marginVariants: Zm,
8111
- shadowVariants: Jm,
8112
- shadows: Qm,
8113
- spaceScale: eh,
8114
- themeVars: th,
8115
- transitions: nh,
8116
- transitionsVariants: rh
8117
- }, Symbol.toStringTag, { value: "Module" })), ah = {
8110
+ borderRadiusScale: Um,
8111
+ borderRadiusVariants: Xm,
8112
+ fontSizeScale: Ym,
8113
+ fontSizeVariants: Zm,
8114
+ marginVariants: Jm,
8115
+ shadowVariants: Qm,
8116
+ shadows: eh,
8117
+ spaceScale: th,
8118
+ themeVars: nh,
8119
+ transitions: rh,
8120
+ transitionsVariants: ah
8121
+ }, Symbol.toStringTag, { value: "Module" })), oh = {
8118
8122
  prefix: "M"
8119
- }, oh = (e = {}) => ({
8123
+ }, sh = (e = {}) => ({
8120
8124
  install: (n, r = {}) => {
8121
8125
  const a = {
8122
- ...ah,
8126
+ ...oh,
8123
8127
  ...e,
8124
8128
  ...r
8125
8129
  };
@@ -8128,7 +8132,7 @@ const dh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8128
8132
  n.component(`${a.prefix}${o}`, s);
8129
8133
  });
8130
8134
  }
8131
- }), sh = oh, ch = sh({
8135
+ }), lh = sh, fh = lh({
8132
8136
  components: Object.keys(mr).map(
8133
8137
  (e) => mr[e]
8134
8138
  )
@@ -8140,52 +8144,52 @@ export {
8140
8144
  es as MBreadcrumb,
8141
8145
  rs as MBreadcrumbItem,
8142
8146
  Tr as MButton,
8143
- Ss as MButtonGroup,
8147
+ Cs as MButtonGroup,
8144
8148
  Ar as MCheckbox,
8145
8149
  Ji as MColorPicker,
8146
- jp as MConfirm,
8147
- Np as MConfirmProvider,
8148
- ev as MDialog,
8150
+ Lp as MConfirm,
8151
+ Vp as MConfirmProvider,
8152
+ tv as MDialog,
8149
8153
  su as MDropdown,
8150
8154
  yu as MDropdownHeading,
8151
8155
  uu as MDropdownItem,
8152
8156
  fu as MDropdownList,
8153
8157
  mu as MDropdownSeperator,
8154
8158
  ea as MDropdownWrapper,
8155
- Su as MForm,
8159
+ Cu as MForm,
8156
8160
  br as MImage,
8157
8161
  Qr as MInput,
8158
8162
  Ou as MLink,
8159
- ed as MMessageProvider,
8163
+ td as MMessageProvider,
8160
8164
  ma as MModal,
8161
- Dd as MPagination,
8162
- Xd as MRadio,
8163
- ac as MRadioButton,
8164
- uc as MRadioButtonGroup,
8165
- Co as MRenderer,
8166
- nf as MSelect,
8167
- lf as MSkeleton,
8165
+ Pd as MPagination,
8166
+ Yd as MRadio,
8167
+ oc as MRadioButton,
8168
+ dc as MRadioButtonGroup,
8169
+ So as MRenderer,
8170
+ rf as MSelect,
8171
+ uf as MSkeleton,
8168
8172
  Wr as MSlider,
8169
- gf as MSwitch,
8170
- kf as MTab,
8171
- Of as MTabGroup,
8172
- Kf as MTable,
8173
+ yf as MSwitch,
8174
+ Sf as MTab,
8175
+ Ef as MTabGroup,
8176
+ Gf as MTable,
8173
8177
  za as MTableBody,
8174
8178
  _a as MTableCell,
8175
8179
  Ba as MTableHead,
8176
8180
  Aa as MTableHeadRow,
8177
8181
  Ia as MTableRow,
8178
8182
  ka as MTag,
8179
- np as MTextarea,
8180
- fp as MTooltip,
8181
- Tp as MTransfer,
8182
- Km as MTree,
8183
- Ap as MVirtualScroll,
8184
- sh as createUI,
8185
- ch as default,
8186
- dh as theme,
8187
- uh as useConfirm,
8188
- ih as useMessage,
8183
+ rp as MTextarea,
8184
+ pp as MTooltip,
8185
+ Mp as MTransfer,
8186
+ Gm as MTree,
8187
+ Bp as MVirtualScroll,
8188
+ lh as createUI,
8189
+ fh as default,
8190
+ ch as theme,
8191
+ dh as useConfirm,
8192
+ uh as useMessage,
8189
8193
  Nt as usePopper,
8190
8194
  et as useZIndex
8191
8195
  };