@maltjoy/core-vue 4.0.0-beta.2 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { defineComponent as B, computed as V, openBlock as d, createElementBlock as g, normalizeClass as E, createElementVNode as b, Fragment as Q, createTextVNode as W, toDisplayString as D, createCommentVNode as j, createBlock as L, resolveDynamicComponent as re, mergeProps as X, withCtx as O, renderSlot as k, unref as Y, renderList as te, inject as Ie, normalizeStyle as ie, useAttrs as Ee, useId as ct, resolveDirective as Vt, withDirectives as dt, getCurrentScope as It, onScopeDispose as Et, toRef as Yn, readonly as Zn, customRef as Xn, ref as C, shallowRef as fn, watch as ne, nextTick as Ue, getCurrentInstance as Qn, onMounted as se, h as eo, Teleport as De, createVNode as q, useSlots as oe, withKeys as Ge, onBeforeUnmount as Re, provide as ft, Transition as Lt, createSlots as At, normalizeProps as to, guardReactiveProps as no, mergeModels as oo, useModel as ao, createStaticVNode as yn, onBeforeMount as lo, shallowReadonly as Ae, onUnmounted as vn, vShow as ro, render as Ht, withModifiers as io, createApp as so } from "vue";
1
+ import { defineComponent as B, computed as I, openBlock as d, createElementBlock as g, normalizeClass as E, createElementVNode as b, Fragment as Q, createTextVNode as W, toDisplayString as D, createCommentVNode as j, createBlock as L, resolveDynamicComponent as re, mergeProps as X, withCtx as O, renderSlot as k, unref as Y, renderList as te, inject as Ie, normalizeStyle as ie, useAttrs as Ee, useId as ct, resolveDirective as Vt, withDirectives as dt, getCurrentScope as It, onScopeDispose as Et, toRef as Yn, readonly as Zn, customRef as Xn, ref as C, shallowRef as fn, watch as ne, nextTick as Ue, getCurrentInstance as Qn, onMounted as se, h as eo, Teleport as De, createVNode as q, useSlots as oe, withKeys as Ge, onBeforeUnmount as Re, provide as ft, Transition as Lt, createSlots as At, normalizeProps as to, guardReactiveProps as no, mergeModels as oo, useModel as ao, createStaticVNode as yn, onBeforeMount as lo, shallowReadonly as Ae, onUnmounted as vn, vShow as ro, render as Ht, withModifiers as io, createApp as so } from "vue";
2
2
  function Wt(e) {
3
3
  const t = e.target;
4
4
  if (!t)
@@ -54,7 +54,7 @@ function vo(e, t) {
54
54
  function Ut(e, t) {
55
55
  return e ? (Array.isArray(e) ? e : vo(e)).map((n) => n.toLowerCase()).join("-") : "";
56
56
  }
57
- const Wu = {
57
+ const Hu = {
58
58
  created: (e, t) => {
59
59
  for (const n in t.value) {
60
60
  const o = Ut(n);
@@ -84,7 +84,7 @@ const Wu = {
84
84
  isPartial: Boolean
85
85
  },
86
86
  setup(e) {
87
- const t = e, n = V(() => ({
87
+ const t = e, n = I(() => ({
88
88
  "joy-availability__dot": !0,
89
89
  "joy-availability--partial": t.isPartial,
90
90
  [t.status]: !0
@@ -106,7 +106,7 @@ const Wu = {
106
106
  for (const [o, a] of t)
107
107
  n[o] = a;
108
108
  return n;
109
- }, Uu = /* @__PURE__ */ F(mo, [["__scopeId", "data-v-3452c6e7"]]), ho = ["role", "tabindex", "aria-label", "title"], G = /* @__PURE__ */ B({
109
+ }, Wu = /* @__PURE__ */ F(mo, [["__scopeId", "data-v-3452c6e7"]]), ho = ["role", "tabindex", "aria-label", "title"], G = /* @__PURE__ */ B({
110
110
  __name: "VJoyIcon",
111
111
  props: {
112
112
  ariaLabel: {
@@ -137,7 +137,7 @@ const Wu = {
137
137
  }
138
138
  },
139
139
  setup(e) {
140
- const t = e, n = V(() => {
140
+ const t = e, n = I(() => {
141
141
  if (t.role === "button")
142
142
  return t.tabIndex;
143
143
  });
@@ -196,16 +196,16 @@ const Wu = {
196
196
  },
197
197
  emits: ["click"],
198
198
  setup(e, { expose: t, emit: n }) {
199
- const o = n, a = e, r = V(() => a.size === "large" ? "medium" : a.size === "medium" ? "small" : a.size === "small" ? "xsmall" : "small"), l = V(() => a.link ? {
199
+ const o = n, a = e, r = I(() => a.size === "large" ? "medium" : a.size === "medium" ? "small" : a.size === "small" ? "xsmall" : "small"), l = I(() => a.link ? {
200
200
  type: "button"
201
- } : null), s = V(() => ({
201
+ } : null), s = I(() => ({
202
202
  "joy-avatar": !0,
203
203
  "joy-avatar__link": a.link,
204
204
  "joy-avatar__placeholder": i.value,
205
205
  [`joy-avatar__${a.size}`]: !0,
206
206
  [`joy-avatar__${a.color}`]: !0,
207
207
  "joy-avatar--empty": a.isEmpty
208
- })), i = V(() => !a.fullName && !a.photoUrl && !a.totalNumber && !a.isEmpty), u = V(() => {
208
+ })), i = I(() => !a.fullName && !a.photoUrl && !a.totalNumber && !a.isEmpty), u = I(() => {
209
209
  function f(p) {
210
210
  return p.replace(/[';,:()]/g, "").charAt(0);
211
211
  }
@@ -284,7 +284,7 @@ const Wu = {
284
284
  k(t.$slots, "default", {}, void 0, !0)
285
285
  ], 2));
286
286
  }
287
- }), Ku = /* @__PURE__ */ F(So, [["__scopeId", "data-v-c985cccf"]]), _o = { key: 0 }, $o = /* @__PURE__ */ B({
287
+ }), Uu = /* @__PURE__ */ F(So, [["__scopeId", "data-v-c985cccf"]]), $o = { key: 0 }, _o = /* @__PURE__ */ B({
288
288
  __name: "VJoyDot",
289
289
  props: {
290
290
  number: Number,
@@ -297,10 +297,10 @@ const Wu = {
297
297
  return (t, n) => (d(), g("div", {
298
298
  class: E(["joy-dot", `joy-dot__${e.variant}`, { "joy-dot__number": e.number }])
299
299
  }, [
300
- e.number ? (d(), g("span", _o, D(e.number > 99 ? "99+" : e.number), 1)) : j("", !0)
300
+ e.number ? (d(), g("span", $o, D(e.number > 99 ? "99+" : e.number), 1)) : j("", !0)
301
301
  ], 2));
302
302
  }
303
- }), Kt = /* @__PURE__ */ F($o, [["__scopeId", "data-v-0dc5251e"]]), Co = /* @__PURE__ */ B({
303
+ }), Kt = /* @__PURE__ */ F(_o, [["__scopeId", "data-v-0dc5251e"]]), Co = /* @__PURE__ */ B({
304
304
  __name: "VJoyBadge",
305
305
  props: {
306
306
  /**
@@ -394,7 +394,7 @@ const To = { class: "joy-badge-level" }, Vo = {
394
394
  }
395
395
  },
396
396
  setup(e) {
397
- const t = e, n = V(() => {
397
+ const t = e, n = I(() => {
398
398
  switch (t.type) {
399
399
  case tt.HIGH_POTENTIAL:
400
400
  case le.HIGH_POTENTIAL:
@@ -490,7 +490,7 @@ const To = { class: "joy-badge-level" }, Vo = {
490
490
  ], 2)
491
491
  ]));
492
492
  }
493
- }), Gu = /* @__PURE__ */ F(Ao, [["__scopeId", "data-v-08a5e2c8"]]), Bo = /* @__PURE__ */ B({
493
+ }), Ku = /* @__PURE__ */ F(Ao, [["__scopeId", "data-v-08a5e2c8"]]), Bo = /* @__PURE__ */ B({
494
494
  __name: "VJoyBlockSkeleton",
495
495
  props: {
496
496
  /** If you want to use it properly you need to set fixed width and height */
@@ -508,7 +508,7 @@ const To = { class: "joy-badge-level" }, Vo = {
508
508
  }
509
509
  },
510
510
  setup(e) {
511
- const t = e, n = Ie("VJoyWrapperContext", {}), o = V(() => {
511
+ const t = e, n = Ie("VJoyWrapperContext", {}), o = I(() => {
512
512
  if (Object.keys(n).length === 0)
513
513
  return;
514
514
  let a = "1 0";
@@ -527,7 +527,7 @@ const To = { class: "joy-badge-level" }, Vo = {
527
527
  })
528
528
  }, null, 6));
529
529
  }
530
- }), Yu = /* @__PURE__ */ F(Bo, [["__scopeId", "data-v-4da2c7cb"]]);
530
+ }), Gu = /* @__PURE__ */ F(Bo, [["__scopeId", "data-v-4da2c7cb"]]);
531
531
  function pn(e) {
532
532
  let t;
533
533
  switch (e) {
@@ -570,7 +570,7 @@ const No = /* @__PURE__ */ B({
570
570
  class: E(["joy-spinner", `joy-spinner_${e.color}`])
571
571
  }, null, 2));
572
572
  }
573
- }), mn = /* @__PURE__ */ F(No, [["__scopeId", "data-v-52944a9b"]]), zo = ["id"], Po = /* @__PURE__ */ B({
573
+ }), mn = /* @__PURE__ */ F(No, [["__scopeId", "data-v-52944a9b"]]), zo = /* @__PURE__ */ B({
574
574
  __name: "VJoyButton",
575
575
  props: {
576
576
  /**
@@ -616,7 +616,7 @@ const No = /* @__PURE__ */ B({
616
616
  }
617
617
  },
618
618
  setup(e, { expose: t }) {
619
- const n = e, o = Ee(), a = ct(), r = V(() => n.id || a + "--JoyButton"), l = V(() => {
619
+ const n = e, o = Ee(), a = ct() + "--JoyButton", r = I(() => {
620
620
  switch (n.size) {
621
621
  case "xxsmall":
622
622
  return "xxsmall";
@@ -627,10 +627,11 @@ const No = /* @__PURE__ */ B({
627
627
  default:
628
628
  return "small";
629
629
  }
630
- }), s = V(() => ["white", "ghost", "secondary"].includes(n.variant) ? "teal" : "white");
631
- return t({ generatedId: a }), (i, u) => {
632
- const c = Vt("joy-ripple");
630
+ }), l = I(() => ["white", "ghost", "secondary"].includes(n.variant) ? "teal" : "white");
631
+ return t({ generatedId: a }), (s, i) => {
632
+ const u = Vt("joy-ripple");
633
633
  return dt((d(), L(re(Y(o).href ? "a" : "button"), {
634
+ id: e.id,
634
635
  disabled: e.loading || Y(o).disabled,
635
636
  type: Y(o).type || "button",
636
637
  class: E([
@@ -642,43 +643,43 @@ const No = /* @__PURE__ */ B({
642
643
  "joy-button_loading": e.loading
643
644
  }
644
645
  ]),
645
- "aria-labelledby": (i.$slots.default || e.label) && r.value
646
+ "aria-labelledby": (s.$slots.default || e.label) && a
646
647
  }, {
647
648
  default: O(() => [
648
649
  e.icon && e.iconPosition === "left" ? (d(), L(G, {
649
650
  key: 0,
650
651
  class: "joy-button_icon joy-button_icon--left",
651
652
  name: e.icon,
652
- size: l.value,
653
+ size: r.value,
653
654
  "aria-hidden": "true"
654
655
  }, null, 8, ["name", "size"])) : j("", !0),
655
656
  e.loading ? (d(), L(mn, {
656
657
  key: 1,
657
- color: s.value
658
+ color: l.value
658
659
  }, null, 8, ["color"])) : j("", !0),
659
660
  b("span", {
660
- id: r.value,
661
+ id: a,
661
662
  class: "joy-button--slot"
662
663
  }, [
663
- k(i.$slots, "default", {}, () => [
664
+ k(s.$slots, "default", {}, () => [
664
665
  W(D(e.label), 1)
665
666
  ], !0)
666
- ], 8, zo),
667
+ ]),
667
668
  e.icon && e.iconPosition === "right" ? (d(), L(G, {
668
669
  key: 2,
669
670
  class: "joy-button_icon joy-button_icon--right",
670
671
  name: e.icon,
671
- size: l.value,
672
+ size: r.value,
672
673
  "aria-hidden": "true"
673
674
  }, null, 8, ["name", "size"])) : j("", !0)
674
675
  ]),
675
676
  _: 3
676
- }, 8, ["disabled", "type", "class", "aria-labelledby"])), [
677
- [c]
677
+ }, 8, ["id", "disabled", "type", "class", "aria-labelledby"])), [
678
+ [u]
678
679
  ]);
679
680
  };
680
681
  }
681
- }), ce = /* @__PURE__ */ F(Po, [["__scopeId", "data-v-ec7fddca"]]);
682
+ }), ce = /* @__PURE__ */ F(zo, [["__scopeId", "data-v-c08989a8"]]);
682
683
  function vt(e) {
683
684
  return It() ? (Et(e), !0) : !1;
684
685
  }
@@ -687,25 +688,25 @@ function be(e) {
687
688
  }
688
689
  const pt = typeof window < "u" && typeof document < "u";
689
690
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
690
- const Oo = (e) => e != null, Do = Object.prototype.toString, hn = (e) => Do.call(e) === "[object Object]", Ne = () => {
691
- }, jt = /* @__PURE__ */ Ro();
692
- function Ro() {
691
+ const Po = (e) => e != null, Oo = Object.prototype.toString, hn = (e) => Oo.call(e) === "[object Object]", Ne = () => {
692
+ }, jt = /* @__PURE__ */ Do();
693
+ function Do() {
693
694
  var e, t;
694
695
  return pt && ((e = window == null ? void 0 : window.navigator) == null ? void 0 : e.userAgent) && (/iP(ad|hone|od)/.test(window.navigator.userAgent) || ((t = window == null ? void 0 : window.navigator) == null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
695
696
  }
696
- function Mo(...e) {
697
+ function Ro(...e) {
697
698
  if (e.length !== 1)
698
699
  return Yn(...e);
699
700
  const t = e[0];
700
701
  return typeof t == "function" ? Zn(Xn(() => ({ get: t, set: Ne }))) : C(t);
701
702
  }
702
- function _e(e) {
703
+ function $e(e) {
703
704
  var t;
704
705
  const n = be(e);
705
706
  return (t = n == null ? void 0 : n.$el) != null ? t : n;
706
707
  }
707
708
  const Bt = pt ? window : void 0;
708
- function $e(...e) {
709
+ function _e(...e) {
709
710
  let t, n, o, a;
710
711
  if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([n, o, a] = e, t = Bt) : [t, n, o, a] = e, !t)
711
712
  return Ne;
@@ -713,7 +714,7 @@ function $e(...e) {
713
714
  const r = [], l = () => {
714
715
  r.forEach((c) => c()), r.length = 0;
715
716
  }, s = (c, f, y, p) => (c.addEventListener(f, y, p), () => c.removeEventListener(f, y, p)), i = ne(
716
- () => [_e(t), be(a)],
717
+ () => [$e(t), be(a)],
717
718
  ([c, f]) => {
718
719
  if (l(), !c)
719
720
  return;
@@ -729,7 +730,7 @@ function $e(...e) {
729
730
  return vt(u), u;
730
731
  }
731
732
  let Gt = !1;
732
- function Jo(e, t, n = {}) {
733
+ function Mo(e, t, n = {}) {
733
734
  const { window: o = Bt, ignore: a = [], capture: r = !0, detectIframe: l = !1 } = n;
734
735
  if (!o)
735
736
  return Ne;
@@ -739,12 +740,12 @@ function Jo(e, t, n = {}) {
739
740
  if (typeof p == "string")
740
741
  return Array.from(o.document.querySelectorAll(p)).some((v) => v === y.target || y.composedPath().includes(v));
741
742
  {
742
- const v = _e(p);
743
+ const v = $e(p);
743
744
  return v && (y.target === v || y.composedPath().includes(v));
744
745
  }
745
746
  }), c = [
746
- $e(o, "click", (y) => {
747
- const p = _e(e);
747
+ _e(o, "click", (y) => {
748
+ const p = $e(e);
748
749
  if (!(!p || p === y.target || y.composedPath().includes(p))) {
749
750
  if (y.detail === 0 && (s = !i(y)), !s) {
750
751
  s = !0;
@@ -753,31 +754,31 @@ function Jo(e, t, n = {}) {
753
754
  t(y);
754
755
  }
755
756
  }, { passive: !0, capture: r }),
756
- $e(o, "pointerdown", (y) => {
757
- const p = _e(e);
757
+ _e(o, "pointerdown", (y) => {
758
+ const p = $e(e);
758
759
  s = !i(y) && !!(p && !y.composedPath().includes(p));
759
760
  }, { passive: !0 }),
760
- l && $e(o, "blur", (y) => {
761
+ l && _e(o, "blur", (y) => {
761
762
  setTimeout(() => {
762
763
  var p;
763
- const v = _e(e);
764
+ const v = $e(e);
764
765
  ((p = o.document.activeElement) == null ? void 0 : p.tagName) === "IFRAME" && !(v != null && v.contains(o.document.activeElement)) && t(y);
765
766
  }, 0);
766
767
  })
767
768
  ].filter(Boolean);
768
769
  return () => c.forEach((y) => y());
769
770
  }
770
- function qo() {
771
+ function Jo() {
771
772
  const e = C(!1), t = Qn();
772
773
  return t && se(() => {
773
774
  e.value = !0;
774
775
  }, t), e;
775
776
  }
776
- function Ho(e) {
777
- const t = qo();
778
- return V(() => (t.value, !!e()));
777
+ function qo(e) {
778
+ const t = Jo();
779
+ return I(() => (t.value, !!e()));
779
780
  }
780
- function Wo(e, t = {}) {
781
+ function Ho(e, t = {}) {
781
782
  const n = C(!1), o = fn(null);
782
783
  let a = 0, r = !0;
783
784
  if (pt) {
@@ -786,22 +787,22 @@ function Wo(e, t = {}) {
786
787
  const f = Array.from((c = (u = i.dataTransfer) == null ? void 0 : u.files) != null ? c : []);
787
788
  return o.value = f.length === 0 ? null : f;
788
789
  };
789
- $e(e, "dragenter", (i) => {
790
+ _e(e, "dragenter", (i) => {
790
791
  var u, c;
791
- const f = Array.from(((u = i == null ? void 0 : i.dataTransfer) == null ? void 0 : u.items) || []).map((y) => y.kind === "file" ? y.type : null).filter(Oo);
792
+ const f = Array.from(((u = i == null ? void 0 : i.dataTransfer) == null ? void 0 : u.items) || []).map((y) => y.kind === "file" ? y.type : null).filter(Po);
792
793
  if (l.dataTypes && i.dataTransfer) {
793
794
  const y = Y(l.dataTypes);
794
795
  if (r = typeof y == "function" ? y(f) : y ? y.some((p) => f.includes(p)) : !0, !r)
795
796
  return;
796
797
  }
797
798
  i.preventDefault(), a += 1, n.value = !0, (c = l.onEnter) == null || c.call(l, s(i), i);
798
- }), $e(e, "dragover", (i) => {
799
+ }), _e(e, "dragover", (i) => {
799
800
  var u;
800
801
  r && (i.preventDefault(), (u = l.onOver) == null || u.call(l, s(i), i));
801
- }), $e(e, "dragleave", (i) => {
802
+ }), _e(e, "dragleave", (i) => {
802
803
  var u;
803
804
  r && (i.preventDefault(), a -= 1, a === 0 && (n.value = !1), (u = l.onLeave) == null || u.call(l, s(i), i));
804
- }), $e(e, "drop", (i) => {
805
+ }), _e(e, "drop", (i) => {
805
806
  var u;
806
807
  i.preventDefault(), a = 0, n.value = !1, (u = l.onDrop) == null || u.call(l, s(i), i);
807
808
  });
@@ -811,12 +812,12 @@ function Wo(e, t = {}) {
811
812
  isOverDropZone: n
812
813
  };
813
814
  }
814
- function Uo(e, t, n = {}) {
815
+ function Wo(e, t, n = {}) {
815
816
  const { window: o = Bt, ...a } = n;
816
817
  let r;
817
- const l = Ho(() => o && "ResizeObserver" in o), s = () => {
818
+ const l = qo(() => o && "ResizeObserver" in o), s = () => {
818
819
  r && (r.disconnect(), r = void 0);
819
- }, i = V(() => Array.isArray(e) ? e.map((f) => _e(f)) : [_e(e)]), u = ne(
820
+ }, i = I(() => Array.isArray(e) ? e.map((f) => $e(f)) : [$e(e)]), u = ne(
820
821
  i,
821
822
  (f) => {
822
823
  if (s(), l.value && o) {
@@ -834,7 +835,7 @@ function Uo(e, t, n = {}) {
834
835
  stop: c
835
836
  };
836
837
  }
837
- function Ko(e) {
838
+ function Uo(e) {
838
839
  var t;
839
840
  const n = C(e == null ? void 0 : e.element), o = C(e == null ? void 0 : e.input), a = (t = e == null ? void 0 : e.styleProp) != null ? t : "height", r = C(1);
840
841
  function l() {
@@ -844,7 +845,7 @@ function Ko(e) {
844
845
  let u = "";
845
846
  n.value.style[a] = "1px", r.value = (s = n.value) == null ? void 0 : s.scrollHeight, e != null && e.styleTarget ? be(e.styleTarget).style[a] = `${r.value}px` : u = `${r.value}px`, n.value.style[a] = u, (i = e == null ? void 0 : e.onResize) == null || i.call(e);
846
847
  }
847
- return ne([o, n], () => Ue(l), { immediate: !0 }), Uo(n, () => l()), e != null && e.watch && ne(e.watch, l, { immediate: !0, deep: !0 }), {
848
+ return ne([o, n], () => Ue(l), { immediate: !0 }), Wo(n, () => l()), e != null && e.watch && ne(e.watch, l, { immediate: !0, deep: !0 }), {
848
849
  textarea: n,
849
850
  input: o,
850
851
  triggerResize: l
@@ -856,7 +857,7 @@ const Ft = /* @__PURE__ */ B({
856
857
  emits: ["trigger"],
857
858
  setup(e, { slots: t, emit: n }) {
858
859
  const o = C();
859
- return Jo(o, (a) => {
860
+ return Mo(o, (a) => {
860
861
  n("trigger", a);
861
862
  }, e.options), () => {
862
863
  if (t.default)
@@ -864,21 +865,21 @@ const Ft = /* @__PURE__ */ B({
864
865
  };
865
866
  }
866
867
  });
867
- function Go(e) {
868
+ function Ko(e) {
868
869
  var t;
869
870
  const n = be(e);
870
871
  return (t = n == null ? void 0 : n.$el) != null ? t : n;
871
872
  }
872
- const Yo = pt ? window : void 0;
873
- function Zo(...e) {
873
+ const Go = pt ? window : void 0;
874
+ function Yo(...e) {
874
875
  let t, n, o, a;
875
- if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([n, o, a] = e, t = Yo) : [t, n, o, a] = e, !t)
876
+ if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([n, o, a] = e, t = Go) : [t, n, o, a] = e, !t)
876
877
  return Ne;
877
878
  Array.isArray(n) || (n = [n]), Array.isArray(o) || (o = [o]);
878
879
  const r = [], l = () => {
879
880
  r.forEach((c) => c()), r.length = 0;
880
881
  }, s = (c, f, y, p) => (c.addEventListener(f, y, p), () => c.removeEventListener(f, y, p)), i = ne(
881
- () => [Go(t), be(a)],
882
+ () => [Ko(t), be(a)],
882
883
  ([c, f]) => {
883
884
  if (l(), !c)
884
885
  return;
@@ -905,15 +906,15 @@ function bn(e) {
905
906
  return !n || n.tagName === "BODY" ? !1 : bn(n);
906
907
  }
907
908
  }
908
- function Xo(e) {
909
+ function Zo(e) {
909
910
  const t = e || window.event, n = t.target;
910
911
  return bn(n) ? !1 : t.touches.length > 1 ? !0 : (t.preventDefault && t.preventDefault(), !1);
911
912
  }
912
913
  const Xe = /* @__PURE__ */ new WeakMap();
913
- function Qo(e, t = !1) {
914
+ function Xo(e, t = !1) {
914
915
  const n = C(t);
915
916
  let o = null, a;
916
- ne(Mo(e), (s) => {
917
+ ne(Ro(e), (s) => {
917
918
  const i = wt(be(s));
918
919
  if (i) {
919
920
  const u = i;
@@ -924,11 +925,11 @@ function Qo(e, t = !1) {
924
925
  });
925
926
  const r = () => {
926
927
  const s = wt(be(e));
927
- !s || n.value || (jt && (o = Zo(
928
+ !s || n.value || (jt && (o = Yo(
928
929
  s,
929
930
  "touchmove",
930
931
  (i) => {
931
- Xo(i);
932
+ Zo(i);
932
933
  },
933
934
  { passive: !1 }
934
935
  )), s.style.overflow = "hidden", n.value = !0);
@@ -937,7 +938,7 @@ function Qo(e, t = !1) {
937
938
  const i = wt(be(e));
938
939
  !i || !n.value || (jt && (o == null || o()), i.style.overflow = (s = Xe.get(i)) != null ? s : "", Xe.delete(i), n.value = !1);
939
940
  };
940
- return vt(l), V({
941
+ return vt(l), I({
941
942
  get() {
942
943
  return n.value;
943
944
  },
@@ -946,19 +947,19 @@ function Qo(e, t = !1) {
946
947
  }
947
948
  });
948
949
  }
949
- function ea() {
950
+ function Qo() {
950
951
  let e = !1;
951
952
  const t = C(!1);
952
953
  return (n, o) => {
953
954
  if (t.value = o.value, e)
954
955
  return;
955
956
  e = !0;
956
- const a = Qo(n, o.value);
957
+ const a = Xo(n, o.value);
957
958
  ne(t, (r) => a.value = r);
958
959
  };
959
960
  }
960
- ea();
961
- const ta = { class: "joy-bottom-sheet_content" }, na = { class: "joy-bottom-sheet_footer" }, Yt = 75, Zt = "moving", oa = /* @__PURE__ */ B({
961
+ Qo();
962
+ const ea = { class: "joy-bottom-sheet_content" }, ta = { class: "joy-bottom-sheet_footer" }, Yt = 75, Zt = "moving", na = /* @__PURE__ */ B({
962
963
  inheritAttrs: !1,
963
964
  __name: "VJoyBottomSheet",
964
965
  props: {
@@ -993,7 +994,7 @@ const ta = { class: "joy-bottom-sheet_content" }, na = { class: "joy-bottom-shee
993
994
  },
994
995
  emits: ["bottom-sheet:close"],
995
996
  setup(e, { expose: t, emit: n }) {
996
- const o = e, a = Ee(), r = V(() => {
997
+ const o = e, a = Ee(), r = I(() => {
997
998
  if (s.value)
998
999
  return a;
999
1000
  }), l = n, s = C(!1), i = C(!1), u = C(o.open), c = C(!1), f = C();
@@ -1007,21 +1008,21 @@ const ta = { class: "joy-bottom-sheet_content" }, na = { class: "joy-bottom-shee
1007
1008
  }, 300);
1008
1009
  }
1009
1010
  function m(w) {
1010
- c.value = !0, f.value.classList.add(Zt), y = I(w);
1011
+ c.value = !0, f.value.classList.add(Zt), y = V(w);
1011
1012
  }
1012
1013
  function h(w) {
1013
1014
  c.value && (S(w) > Yt && v(), z());
1014
1015
  }
1015
- function _(w) {
1016
+ function $(w) {
1016
1017
  if (c.value) {
1017
1018
  const M = S(w);
1018
1019
  M > Yt ? v() : M > 0 && P(M);
1019
1020
  }
1020
1021
  }
1021
1022
  function S(w) {
1022
- return I(w) - y;
1023
+ return V(w) - y;
1023
1024
  }
1024
- function I(w) {
1025
+ function V(w) {
1025
1026
  return ["touchend", "touchmove", "touchstart"].includes(w.type) ? w.changedTouches[0].clientY : w.clientY;
1026
1027
  }
1027
1028
  function P(w) {
@@ -1071,18 +1072,18 @@ const ta = { class: "joy-bottom-sheet_content" }, na = { class: "joy-bottom-shee
1071
1072
  class: "joy-bottom-sheet_header",
1072
1073
  onMousedown: m,
1073
1074
  onMouseup: h,
1074
- onMousemove: _,
1075
+ onMousemove: $,
1075
1076
  onMouseleave: h,
1076
1077
  onTouchstart: m,
1077
1078
  onTouchend: h,
1078
- onTouchmove: _
1079
+ onTouchmove: $
1079
1080
  }, M[0] || (M[0] = [
1080
1081
  b("div", { class: "joy-bottom-sheet_header-close" }, null, -1)
1081
1082
  ]), 32),
1082
- b("div", ta, [
1083
+ b("div", ea, [
1083
1084
  k(w.$slots, "bottom-sheet-content", {}, void 0, !0)
1084
1085
  ]),
1085
- b("div", na, [
1086
+ b("div", ta, [
1086
1087
  k(w.$slots, "bottom-sheet-cta", {}, () => [
1087
1088
  q(ce, {
1088
1089
  class: "joy-bottom-sheet_footer-close",
@@ -1098,14 +1099,14 @@ const ta = { class: "joy-bottom-sheet_content" }, na = { class: "joy-bottom-shee
1098
1099
  ], 16)) : j("", !0)
1099
1100
  ], 8, ["to"])) : j("", !0);
1100
1101
  }
1101
- }), Zu = /* @__PURE__ */ F(oa, [["__scopeId", "data-v-4ea29b12"]]), Xu = /* @__PURE__ */ B({
1102
+ }), Yu = /* @__PURE__ */ F(na, [["__scopeId", "data-v-4ea29b12"]]), Zu = /* @__PURE__ */ B({
1102
1103
  __name: "VJoyBottomSheetTrigger",
1103
1104
  props: {
1104
1105
  bottomSheet: {}
1105
1106
  },
1106
1107
  emits: ["click"],
1107
1108
  setup(e, { emit: t }) {
1108
- const n = e, o = t, a = V(() => n.bottomSheet), r = oe(), l = V(() => r.default());
1109
+ const n = e, o = t, a = I(() => n.bottomSheet), r = oe(), l = I(() => r.default());
1109
1110
  function s() {
1110
1111
  var i;
1111
1112
  o("click"), (i = a.value) == null || i.show();
@@ -1115,7 +1116,7 @@ const ta = { class: "joy-bottom-sheet_content" }, na = { class: "joy-bottom-shee
1115
1116
  onClick: s
1116
1117
  }))), 128));
1117
1118
  }
1118
- }), aa = { class: "joy-checkbox__wrapper" }, la = { class: "joy-checkbox__input-wrapper" }, ra = ["id", "name", "disabled", "checked", "required", "value", "indeterminate"], ia = { class: "joy-checkbox__content-wrapper" }, sa = { class: "joy-checkbox__content" }, ua = /* @__PURE__ */ B({
1119
+ }), oa = { class: "joy-checkbox__wrapper" }, aa = { class: "joy-checkbox__input-wrapper" }, la = ["id", "name", "disabled", "checked", "required", "value", "indeterminate"], ra = { class: "joy-checkbox__content-wrapper" }, ia = { class: "joy-checkbox__content" }, sa = /* @__PURE__ */ B({
1119
1120
  __name: "VJoyCheckbox",
1120
1121
  props: {
1121
1122
  /** Can't be used in addition of v-model. See usage : https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes */
@@ -1184,7 +1185,7 @@ const ta = { class: "joy-bottom-sheet_content" }, na = { class: "joy-bottom-shee
1184
1185
  };
1185
1186
  return t({
1186
1187
  isIndeterminate: l
1187
- }), (c, f) => (d(), g("div", aa, [
1188
+ }), (c, f) => (d(), g("div", oa, [
1188
1189
  b("label", {
1189
1190
  class: E([
1190
1191
  "joy-checkbox",
@@ -1197,7 +1198,7 @@ const ta = { class: "joy-bottom-sheet_content" }, na = { class: "joy-bottom-shee
1197
1198
  }
1198
1199
  ])
1199
1200
  }, [
1200
- b("div", la, [
1201
+ b("div", aa, [
1201
1202
  b("input", {
1202
1203
  id: e.id,
1203
1204
  ref_key: "input",
@@ -1216,23 +1217,23 @@ const ta = { class: "joy-bottom-sheet_content" }, na = { class: "joy-bottom-shee
1216
1217
  (...y) => u.onFocus && u.onFocus(...y)),
1217
1218
  onBlur: f[2] || (f[2] = //@ts-ignore
1218
1219
  (...y) => u.onBlur && u.onBlur(...y))
1219
- }, null, 40, ra)
1220
+ }, null, 40, la)
1220
1221
  ]),
1221
- b("div", ia, [
1222
+ b("div", ra, [
1222
1223
  k(c.$slots, "default", {}, () => [
1223
1224
  W(D(e.label), 1)
1224
1225
  ], !0),
1225
- b("div", sa, [
1226
+ b("div", ia, [
1226
1227
  k(c.$slots, "checkbox-content", {}, void 0, !0)
1227
1228
  ])
1228
1229
  ])
1229
1230
  ], 2)
1230
1231
  ]));
1231
1232
  }
1232
- }), gn = /* @__PURE__ */ F(ua, [["__scopeId", "data-v-8391ace5"]]), ca = ["id"], da = { class: "joy-collapse-item__header-right" }, fa = {
1233
+ }), gn = /* @__PURE__ */ F(sa, [["__scopeId", "data-v-8391ace5"]]), ua = ["id"], ca = { class: "joy-collapse-item__header-right" }, da = {
1233
1234
  key: 0,
1234
1235
  class: "joy-collapse-item__summary___subheader"
1235
- }, ya = { class: "joy-collapse-item__summary___preview" }, va = ["aria-labelledby"], pa = /* @__PURE__ */ B({
1236
+ }, fa = { class: "joy-collapse-item__summary___preview" }, ya = ["aria-labelledby"], va = /* @__PURE__ */ B({
1236
1237
  __name: "VJoyCollapseItem",
1237
1238
  props: {
1238
1239
  /** Title of the collapse item */
@@ -1311,16 +1312,16 @@ const ta = { class: "joy-bottom-sheet_content" }, na = { class: "joy-bottom-shee
1311
1312
  name: e.summaryIcon
1312
1313
  }, null, 8, ["name"])) : j("", !0),
1313
1314
  W(" " + D(e.header), 1)
1314
- ], 8, ca),
1315
- b("div", da, [
1315
+ ], 8, ua),
1316
+ b("div", ca, [
1316
1317
  k(u.$slots, "collapse-header-right")
1317
1318
  ]),
1318
1319
  q(G, {
1319
1320
  class: "joy-collapse-item__summary___marker",
1320
1321
  name: "chevron-down"
1321
1322
  }),
1322
- e.subheader ? (d(), g("span", fa, D(e.subheader), 1)) : j("", !0),
1323
- b("span", ya, [
1323
+ e.subheader ? (d(), g("span", da, D(e.subheader), 1)) : j("", !0),
1324
+ b("span", fa, [
1324
1325
  k(u.$slots, "collapse-preview")
1325
1326
  ])
1326
1327
  ], 32),
@@ -1336,10 +1337,10 @@ const ta = { class: "joy-bottom-sheet_content" }, na = { class: "joy-bottom-shee
1336
1337
  ])
1337
1338
  }, [
1338
1339
  k(u.$slots, "default")
1339
- ], 10, va)) : j("", !0)
1340
+ ], 10, ya)) : j("", !0)
1340
1341
  ], 2));
1341
1342
  }
1342
- }), ma = /* @__PURE__ */ F(pa, [["__scopeId", "data-v-71c8a78d"]]), ha = { class: "joy-collapse" }, ba = /* @__PURE__ */ B({
1343
+ }), pa = /* @__PURE__ */ F(va, [["__scopeId", "data-v-71c8a78d"]]), ma = { class: "joy-collapse" }, ha = /* @__PURE__ */ B({
1343
1344
  __name: "VJoyCollapse",
1344
1345
  props: {
1345
1346
  /** Open one item at a time. Works with modelValue */
@@ -1364,7 +1365,7 @@ const ta = { class: "joy-bottom-sheet_content" }, na = { class: "joy-bottom-shee
1364
1365
  },
1365
1366
  emits: ["update:modelValue"],
1366
1367
  setup(e, { expose: t, emit: n }) {
1367
- const o = e, a = C(o.modelValue), r = oe(), l = n, s = V(() => {
1368
+ const o = e, a = C(o.modelValue), r = oe(), l = n, s = I(() => {
1368
1369
  const v = r.default();
1369
1370
  return v.length === 1 && typeof v[0].type != "object" ? v[0].children.filter(i) : v.filter(i);
1370
1371
  });
@@ -1400,8 +1401,8 @@ const ta = { class: "joy-bottom-sheet_content" }, na = { class: "joy-bottom-shee
1400
1401
  isOpen: c,
1401
1402
  items: s,
1402
1403
  openedCollapseItem: a
1403
- }), (v, m) => (d(), g("div", ha, [
1404
- (d(!0), g(Q, null, te(s.value, (h) => (d(), L(ma, X({ ref_for: !0 }, h.props, {
1404
+ }), (v, m) => (d(), g("div", ma, [
1405
+ (d(!0), g(Q, null, te(s.value, (h) => (d(), L(pa, X({ ref_for: !0 }, h.props, {
1405
1406
  key: h.props.id,
1406
1407
  open: c(h),
1407
1408
  mode: e.mode,
@@ -1409,19 +1410,19 @@ const ta = { class: "joy-bottom-sheet_content" }, na = { class: "joy-bottom-shee
1409
1410
  "onCollapseItem:close": () => y(h)
1410
1411
  }), {
1411
1412
  "collapse-header-right": O(() => [
1412
- (d(!0), g(Q, null, te(u(h, "collapse-header-right"), (_, S) => (d(), L(re(_), { key: S }))), 128))
1413
+ (d(!0), g(Q, null, te(u(h, "collapse-header-right"), ($, S) => (d(), L(re($), { key: S }))), 128))
1413
1414
  ]),
1414
1415
  "collapse-preview": O(() => [
1415
- (d(!0), g(Q, null, te(u(h, "collapse-preview"), (_, S) => (d(), L(re(_), { key: S }))), 128))
1416
+ (d(!0), g(Q, null, te(u(h, "collapse-preview"), ($, S) => (d(), L(re($), { key: S }))), 128))
1416
1417
  ]),
1417
1418
  default: O(() => [
1418
- (d(!0), g(Q, null, te(u(h, "default"), (_, S) => (d(), L(re(_), { key: S }))), 128))
1419
+ (d(!0), g(Q, null, te(u(h, "default"), ($, S) => (d(), L(re($), { key: S }))), 128))
1419
1420
  ]),
1420
1421
  _: 2
1421
1422
  }, 1040, ["open", "mode", "onCollapseItem:open", "onCollapseItem:close"]))), 128))
1422
1423
  ]));
1423
1424
  }
1424
- }), Qu = /* @__PURE__ */ F(ba, [["__scopeId", "data-v-35744932"]]), ga = ["src", "alt", "title", "loading"], wa = /* @__PURE__ */ B({
1425
+ }), Xu = /* @__PURE__ */ F(ha, [["__scopeId", "data-v-35744932"]]), ba = ["src", "alt", "title", "loading"], ga = /* @__PURE__ */ B({
1425
1426
  __name: "VJoyCompanyAvatar",
1426
1427
  props: {
1427
1428
  /** Inject the URL of your image. Fallback will be the icon */
@@ -1441,7 +1442,7 @@ const ta = { class: "joy-bottom-sheet_content" }, na = { class: "joy-bottom-shee
1441
1442
  }
1442
1443
  },
1443
1444
  setup(e) {
1444
- const t = e, n = V(() => {
1445
+ const t = e, n = I(() => {
1445
1446
  switch (t.size) {
1446
1447
  case "large":
1447
1448
  return "small";
@@ -1462,14 +1463,14 @@ const ta = { class: "joy-bottom-sheet_content" }, na = { class: "joy-bottom-shee
1462
1463
  alt: e.imgAlt || e.companyName,
1463
1464
  title: e.companyName,
1464
1465
  loading: e.loading
1465
- }, null, 8, ga)) : (d(), L(G, {
1466
+ }, null, 8, ba)) : (d(), L(G, {
1466
1467
  key: 1,
1467
1468
  name: "company-placeholder",
1468
1469
  size: n.value
1469
1470
  }, null, 8, ["size"]))
1470
1471
  ], 2));
1471
1472
  }
1472
- }), ec = /* @__PURE__ */ F(wa, [["__scopeId", "data-v-2f1289c1"]]), ka = ["aria-hidden"], ja = /* @__PURE__ */ B({
1473
+ }), Qu = /* @__PURE__ */ F(ga, [["__scopeId", "data-v-2f1289c1"]]), wa = ["aria-hidden"], ka = /* @__PURE__ */ B({
1473
1474
  __name: "VJoyFormError",
1474
1475
  props: {
1475
1476
  /** In some cases you'll need to inject the error in the DOM but hide it. Visible by default */
@@ -1495,12 +1496,12 @@ const ta = { class: "joy-bottom-sheet_content" }, na = { class: "joy-bottom-shee
1495
1496
  W(D(e.noHtmlErrorText), 1)
1496
1497
  ], !0)
1497
1498
  ])
1498
- ], 10, ka));
1499
+ ], 10, wa));
1499
1500
  }
1500
- }), Nt = /* @__PURE__ */ F(ja, [["__scopeId", "data-v-deb60895"]]), Sa = {
1501
+ }), Nt = /* @__PURE__ */ F(ka, [["__scopeId", "data-v-deb60895"]]), ja = {
1501
1502
  key: 0,
1502
1503
  class: "joy-label-required"
1503
- }, _a = {
1504
+ }, Sa = {
1504
1505
  key: 1,
1505
1506
  class: "joy-label-optional"
1506
1507
  }, $a = /* @__PURE__ */ B({
@@ -1531,14 +1532,14 @@ const ta = { class: "joy-bottom-sheet_content" }, na = { class: "joy-bottom-shee
1531
1532
  k(t.$slots, "default", {}, () => [
1532
1533
  W(D(e.text), 1)
1533
1534
  ], !0),
1534
- e.required ? (d(), g("span", Sa, "*")) : j("", !0),
1535
- e.optionalLabel ? (d(), g("span", _a, "- " + D(e.optionalLabel), 1)) : j("", !0)
1535
+ e.required ? (d(), g("span", ja, "*")) : j("", !0),
1536
+ e.optionalLabel ? (d(), g("span", Sa, "- " + D(e.optionalLabel), 1)) : j("", !0)
1536
1537
  ]),
1537
1538
  _: 3
1538
1539
  }, 16, ["class"]));
1539
1540
  }
1540
1541
  }), Le = /* @__PURE__ */ F($a, [["__scopeId", "data-v-f48de041"]]);
1541
- function Ca(e) {
1542
+ function _a(e) {
1542
1543
  const t = () => e();
1543
1544
  se(() => {
1544
1545
  window.addEventListener("resize", t);
@@ -1552,13 +1553,13 @@ function zt(e, t) {
1552
1553
  t && ((n = e.value) == null || n.focus());
1553
1554
  });
1554
1555
  }
1555
- const xa = { class: "joy-counter" }, Ta = ["aria-label", "disabled"], Va = { class: "joy-counter__input-wrapper" }, Ia = ["id", "min", "max", "aria-invalid", "name", "required", "value"], Ea = ["aria-label", "disabled"], La = {
1556
+ const Ca = { class: "joy-counter" }, xa = ["aria-label", "disabled"], Ta = { class: "joy-counter__input-wrapper" }, Va = ["id", "min", "max", "aria-invalid", "name", "required", "value"], Ia = ["aria-label", "disabled"], Ea = {
1556
1557
  key: 0,
1557
1558
  class: "joy-counter_error"
1558
- }, Aa = {
1559
+ }, La = {
1559
1560
  inheritAttrs: !1
1560
- }, Ba = /* @__PURE__ */ B({
1561
- ...Aa,
1561
+ }, Aa = /* @__PURE__ */ B({
1562
+ ...La,
1562
1563
  __name: "VJoyCounter",
1563
1564
  props: {
1564
1565
  autofocus: {
@@ -1643,7 +1644,7 @@ const xa = { class: "joy-counter" }, Ta = ["aria-label", "disabled"], Va = { cla
1643
1644
  r.value = !y();
1644
1645
  }
1645
1646
  function f(h = !0) {
1646
- const _ = a.step.toString().split("."), S = _.length === 2 ? _[1].length : 0;
1647
+ const $ = a.step.toString().split("."), S = $.length === 2 ? $[1].length : 0;
1647
1648
  return parseFloat(h ? (a.modelValue + a.step).toFixed(S) : (a.modelValue - a.step).toFixed(S));
1648
1649
  }
1649
1650
  function y() {
@@ -1668,7 +1669,7 @@ const xa = { class: "joy-counter" }, Ta = ["aria-label", "disabled"], Va = { cla
1668
1669
  };
1669
1670
  return t({
1670
1671
  props: a
1671
- }), (h, _) => (d(), g("div", xa, [
1672
+ }), (h, $) => (d(), g("div", Ca, [
1672
1673
  e.label ? (d(), L(Le, {
1673
1674
  key: 0,
1674
1675
  for: e.id,
@@ -1694,8 +1695,8 @@ const xa = { class: "joy-counter" }, Ta = ["aria-label", "disabled"], Va = { cla
1694
1695
  onClick: i
1695
1696
  }, [
1696
1697
  q(G, { name: "minus" })
1697
- ], 8, Ta),
1698
- b("div", Va, [
1698
+ ], 8, xa),
1699
+ b("div", Ta, [
1699
1700
  b("input", X({
1700
1701
  id: e.id,
1701
1702
  ref_key: "input",
@@ -1710,13 +1711,13 @@ const xa = { class: "joy-counter" }, Ta = ["aria-label", "disabled"], Va = { cla
1710
1711
  step: "any",
1711
1712
  value: e.modelValue
1712
1713
  }, h.$attrs, {
1713
- onInput: _[0] || (_[0] = //@ts-ignore
1714
+ onInput: $[0] || ($[0] = //@ts-ignore
1714
1715
  (...S) => m.onInput && m.onInput(...S)),
1715
- onBlur: _[1] || (_[1] = //@ts-ignore
1716
+ onBlur: $[1] || ($[1] = //@ts-ignore
1716
1717
  (...S) => m.onBlur && m.onBlur(...S)),
1717
- onFocus: _[2] || (_[2] = //@ts-ignore
1718
+ onFocus: $[2] || ($[2] = //@ts-ignore
1718
1719
  (...S) => m.onFocus && m.onFocus(...S))
1719
- }), null, 16, Ia)
1720
+ }), null, 16, Va)
1720
1721
  ]),
1721
1722
  b("button", {
1722
1723
  class: "joy-counter__increment",
@@ -1726,23 +1727,23 @@ const xa = { class: "joy-counter" }, Ta = ["aria-label", "disabled"], Va = { cla
1726
1727
  onClick: u
1727
1728
  }, [
1728
1729
  q(G, { name: "add" })
1729
- ], 8, Ea),
1730
- e.invalid && e.errorMessage ? (d(), g("div", La, [
1730
+ ], 8, Ia),
1731
+ e.invalid && e.errorMessage ? (d(), g("div", Ea, [
1731
1732
  q(Nt, { "no-html-error-text": e.errorMessage }, null, 8, ["no-html-error-text"])
1732
1733
  ])) : j("", !0)
1733
1734
  ], 2)
1734
1735
  ]));
1735
1736
  }
1736
- }), tc = /* @__PURE__ */ F(Ba, [["__scopeId", "data-v-556fd173"]]);
1737
- function Fa(e) {
1737
+ }), ec = /* @__PURE__ */ F(Aa, [["__scopeId", "data-v-556fd173"]]);
1738
+ function Ba(e) {
1738
1739
  return It() ? (Et(e), !0) : !1;
1739
1740
  }
1740
- function Na(e) {
1741
+ function Fa(e) {
1741
1742
  return typeof e == "function" ? e() : Y(e);
1742
1743
  }
1743
- function za(e) {
1744
+ function Na(e) {
1744
1745
  var t;
1745
- const n = Na(e);
1746
+ const n = Fa(e);
1746
1747
  return (t = n == null ? void 0 : n.$el) != null ? t : n;
1747
1748
  }
1748
1749
  /*!
@@ -1760,7 +1761,7 @@ var wn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1760
1761
  n === void 0 && (n = !0);
1761
1762
  var a = t == null || (o = t.getAttribute) === null || o === void 0 ? void 0 : o.call(t, "inert"), r = a === "" || a === "true", l = r || n && t && e(t.parentNode);
1762
1763
  return l;
1763
- }, Pa = function(t) {
1764
+ }, za = function(t) {
1764
1765
  var n, o = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "contenteditable");
1765
1766
  return o === "" || o === "true";
1766
1767
  }, jn = function(t, n, o) {
@@ -1794,31 +1795,31 @@ var wn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1794
1795
  }
1795
1796
  }
1796
1797
  return a;
1797
- }, _n = function(t) {
1798
+ }, $n = function(t) {
1798
1799
  return !isNaN(parseInt(t.getAttribute("tabindex"), 10));
1799
1800
  }, Se = function(t) {
1800
1801
  if (!t)
1801
1802
  throw new Error("No node provided");
1802
- return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || Pa(t)) && !_n(t) ? 0 : t.tabIndex;
1803
- }, Oa = function(t, n) {
1803
+ return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || za(t)) && !$n(t) ? 0 : t.tabIndex;
1804
+ }, Pa = function(t, n) {
1804
1805
  var o = Se(t);
1805
- return o < 0 && n && !_n(t) ? 0 : o;
1806
- }, Da = function(t, n) {
1806
+ return o < 0 && n && !$n(t) ? 0 : o;
1807
+ }, Oa = function(t, n) {
1807
1808
  return t.tabIndex === n.tabIndex ? t.documentOrder - n.documentOrder : t.tabIndex - n.tabIndex;
1808
- }, $n = function(t) {
1809
+ }, _n = function(t) {
1809
1810
  return t.tagName === "INPUT";
1811
+ }, Da = function(t) {
1812
+ return _n(t) && t.type === "hidden";
1810
1813
  }, Ra = function(t) {
1811
- return $n(t) && t.type === "hidden";
1812
- }, Ma = function(t) {
1813
1814
  var n = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(o) {
1814
1815
  return o.tagName === "SUMMARY";
1815
1816
  });
1816
1817
  return n;
1817
- }, Ja = function(t, n) {
1818
+ }, Ma = function(t, n) {
1818
1819
  for (var o = 0; o < t.length; o++)
1819
1820
  if (t[o].checked && t[o].form === n)
1820
1821
  return t[o];
1821
- }, qa = function(t) {
1822
+ }, Ja = function(t) {
1822
1823
  if (!t.name)
1823
1824
  return !0;
1824
1825
  var n = t.form || at(t), o = function(s) {
@@ -1832,13 +1833,13 @@ var wn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1832
1833
  } catch (l) {
1833
1834
  return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", l.message), !1;
1834
1835
  }
1835
- var r = Ja(a, t.form);
1836
+ var r = Ma(a, t.form);
1836
1837
  return !r || r === t;
1838
+ }, qa = function(t) {
1839
+ return _n(t) && t.type === "radio";
1837
1840
  }, Ha = function(t) {
1838
- return $n(t) && t.type === "radio";
1841
+ return qa(t) && !Ja(t);
1839
1842
  }, Wa = function(t) {
1840
- return Ha(t) && !qa(t);
1841
- }, Ua = function(t) {
1842
1843
  var n, o = t && at(t), a = (n = o) === null || n === void 0 ? void 0 : n.host, r = !1;
1843
1844
  if (o && o !== t) {
1844
1845
  var l, s, i;
@@ -1851,7 +1852,7 @@ var wn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1851
1852
  }, Xt = function(t) {
1852
1853
  var n = t.getBoundingClientRect(), o = n.width, a = n.height;
1853
1854
  return o === 0 && a === 0;
1854
- }, Ka = function(t, n) {
1855
+ }, Ua = function(t, n) {
1855
1856
  var o = n.displayCheck, a = n.getShadowRoot;
1856
1857
  if (getComputedStyle(t).visibility === "hidden")
1857
1858
  return !0;
@@ -1868,14 +1869,14 @@ var wn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1868
1869
  }
1869
1870
  t = s;
1870
1871
  }
1871
- if (Ua(t))
1872
+ if (Wa(t))
1872
1873
  return !t.getClientRects().length;
1873
1874
  if (o !== "legacy-full")
1874
1875
  return !0;
1875
1876
  } else if (o === "non-zero-area")
1876
1877
  return Xt(t);
1877
1878
  return !1;
1878
- }, Ga = function(t) {
1879
+ }, Ka = function(t) {
1879
1880
  if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))
1880
1881
  for (var n = t.parentElement; n; ) {
1881
1882
  if (n.tagName === "FIELDSET" && n.disabled) {
@@ -1893,17 +1894,17 @@ var wn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1893
1894
  return !(n.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
1894
1895
  // because we're limited in the type of selectors we can use in JSDom (see related
1895
1896
  // note related to `candidateSelectors`)
1896
- lt(n) || Ra(n) || Ka(n, t) || // For a details element with a summary, the summary element gets the focus
1897
- Ma(n) || Ga(n));
1897
+ lt(n) || Da(n) || Ua(n, t) || // For a details element with a summary, the summary element gets the focus
1898
+ Ra(n) || Ka(n));
1898
1899
  }, St = function(t, n) {
1899
- return !(Wa(n) || Se(n) < 0 || !rt(t, n));
1900
- }, Ya = function(t) {
1900
+ return !(Ha(n) || Se(n) < 0 || !rt(t, n));
1901
+ }, Ga = function(t) {
1901
1902
  var n = parseInt(t.getAttribute("tabindex"), 10);
1902
1903
  return !!(isNaN(n) || n >= 0);
1903
- }, Za = function e(t) {
1904
+ }, Ya = function e(t) {
1904
1905
  var n = [], o = [];
1905
1906
  return t.forEach(function(a, r) {
1906
- var l = !!a.scopeParent, s = l ? a.scopeParent : a, i = Oa(s, l), u = l ? e(a.candidates) : s;
1907
+ var l = !!a.scopeParent, s = l ? a.scopeParent : a, i = Pa(s, l), u = l ? e(a.candidates) : s;
1907
1908
  i === 0 ? l ? n.push.apply(n, u) : n.push(s) : o.push({
1908
1909
  documentOrder: r,
1909
1910
  tabIndex: i,
@@ -1911,19 +1912,19 @@ var wn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1911
1912
  isScope: l,
1912
1913
  content: u
1913
1914
  });
1914
- }), o.sort(Da).reduce(function(a, r) {
1915
+ }), o.sort(Oa).reduce(function(a, r) {
1915
1916
  return r.isScope ? a.push.apply(a, r.content) : a.push(r.content), a;
1916
1917
  }, []).concat(n);
1917
- }, Xa = function(t, n) {
1918
+ }, Za = function(t, n) {
1918
1919
  n = n || {};
1919
1920
  var o;
1920
1921
  return n.getShadowRoot ? o = Sn([t], n.includeContainer, {
1921
1922
  filter: St.bind(null, n),
1922
1923
  flatten: !1,
1923
1924
  getShadowRoot: n.getShadowRoot,
1924
- shadowRootFilter: Ya
1925
- }) : o = jn(t, n.includeContainer, St.bind(null, n)), Za(o);
1926
- }, Qa = function(t, n) {
1925
+ shadowRootFilter: Ga
1926
+ }) : o = jn(t, n.includeContainer, St.bind(null, n)), Ya(o);
1927
+ }, Xa = function(t, n) {
1927
1928
  n = n || {};
1928
1929
  var o;
1929
1930
  return n.getShadowRoot ? o = Sn([t], n.includeContainer, {
@@ -1935,10 +1936,10 @@ var wn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1935
1936
  if (n = n || {}, !t)
1936
1937
  throw new Error("No node provided");
1937
1938
  return Ce.call(t, ot) === !1 ? !1 : St(n, t);
1938
- }, el = /* @__PURE__ */ wn.concat("iframe").join(","), kt = function(t, n) {
1939
+ }, Qa = /* @__PURE__ */ wn.concat("iframe").join(","), kt = function(t, n) {
1939
1940
  if (n = n || {}, !t)
1940
1941
  throw new Error("No node provided");
1941
- return Ce.call(t, el) === !1 ? !1 : rt(n, t);
1942
+ return Ce.call(t, Qa) === !1 ? !1 : rt(n, t);
1942
1943
  };
1943
1944
  /*!
1944
1945
  * focus-trap 7.5.4
@@ -1958,22 +1959,22 @@ function en(e) {
1958
1959
  for (var t = 1; t < arguments.length; t++) {
1959
1960
  var n = arguments[t] != null ? arguments[t] : {};
1960
1961
  t % 2 ? Qt(Object(n), !0).forEach(function(o) {
1961
- tl(e, o, n[o]);
1962
+ el(e, o, n[o]);
1962
1963
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Qt(Object(n)).forEach(function(o) {
1963
1964
  Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o));
1964
1965
  });
1965
1966
  }
1966
1967
  return e;
1967
1968
  }
1968
- function tl(e, t, n) {
1969
- return t = ol(t), t in e ? Object.defineProperty(e, t, {
1969
+ function el(e, t, n) {
1970
+ return t = nl(t), t in e ? Object.defineProperty(e, t, {
1970
1971
  value: n,
1971
1972
  enumerable: !0,
1972
1973
  configurable: !0,
1973
1974
  writable: !0
1974
1975
  }) : e[t] = n, e;
1975
1976
  }
1976
- function nl(e, t) {
1977
+ function tl(e, t) {
1977
1978
  if (typeof e != "object" || e === null) return e;
1978
1979
  var n = e[Symbol.toPrimitive];
1979
1980
  if (n !== void 0) {
@@ -1983,8 +1984,8 @@ function nl(e, t) {
1983
1984
  }
1984
1985
  return (t === "string" ? String : Number)(e);
1985
1986
  }
1986
- function ol(e) {
1987
- var t = nl(e, "string");
1987
+ function nl(e) {
1988
+ var t = tl(e, "string");
1988
1989
  return typeof t == "symbol" ? t : String(t);
1989
1990
  }
1990
1991
  var tn = {
@@ -2000,15 +2001,15 @@ var tn = {
2000
2001
  var o = t.indexOf(n);
2001
2002
  o !== -1 && t.splice(o, 1), t.length > 0 && t[t.length - 1].unpause();
2002
2003
  }
2003
- }, al = function(t) {
2004
+ }, ol = function(t) {
2004
2005
  return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
2005
- }, ll = function(t) {
2006
+ }, al = function(t) {
2006
2007
  return (t == null ? void 0 : t.key) === "Escape" || (t == null ? void 0 : t.key) === "Esc" || (t == null ? void 0 : t.keyCode) === 27;
2007
2008
  }, We = function(t) {
2008
2009
  return (t == null ? void 0 : t.key) === "Tab" || (t == null ? void 0 : t.keyCode) === 9;
2009
- }, rl = function(t) {
2010
+ }, ll = function(t) {
2010
2011
  return We(t) && !t.shiftKey;
2011
- }, il = function(t) {
2012
+ }, rl = function(t) {
2012
2013
  return We(t) && t.shiftKey;
2013
2014
  }, nn = function(t) {
2014
2015
  return setTimeout(t, 0);
@@ -2023,13 +2024,13 @@ var tn = {
2023
2024
  return typeof t == "function" ? t.apply(void 0, o) : t;
2024
2025
  }, Qe = function(t) {
2025
2026
  return t.target.shadowRoot && typeof t.composedPath == "function" ? t.composedPath()[0] : t.target;
2026
- }, sl = [], ul = function(t, n) {
2027
- var o = (n == null ? void 0 : n.document) || document, a = (n == null ? void 0 : n.trapStack) || sl, r = en({
2027
+ }, il = [], sl = function(t, n) {
2028
+ var o = (n == null ? void 0 : n.document) || document, a = (n == null ? void 0 : n.trapStack) || il, r = en({
2028
2029
  returnFocusOnDeactivate: !0,
2029
2030
  escapeDeactivates: !0,
2030
2031
  delayInitialFocus: !0,
2031
- isKeyForward: rl,
2032
- isKeyBackward: il
2032
+ isKeyForward: ll,
2033
+ isKeyBackward: rl
2033
2034
  }, n), l = {
2034
2035
  // containers given to createFocusTrap()
2035
2036
  // @type {Array<HTMLElement>}
@@ -2066,22 +2067,22 @@ var tn = {
2066
2067
  delayInitialFocusTimer: void 0,
2067
2068
  // the most recent KeyboardEvent for the configured nav key (typically [SHIFT+]TAB), if any
2068
2069
  recentNavEvent: void 0
2069
- }, s, i = function($, x, N) {
2070
- return $ && $[x] !== void 0 ? $[x] : r[N || x];
2071
- }, u = function($, x) {
2070
+ }, s, i = function(_, x, N) {
2071
+ return _ && _[x] !== void 0 ? _[x] : r[N || x];
2072
+ }, u = function(_, x) {
2072
2073
  var N = typeof (x == null ? void 0 : x.composedPath) == "function" ? x.composedPath() : void 0;
2073
2074
  return l.containerGroups.findIndex(function(U) {
2074
2075
  var H = U.container, K = U.tabbableNodes;
2075
- return H.contains($) || // fall back to explicit tabbable search which will take into consideration any
2076
+ return H.contains(_) || // fall back to explicit tabbable search which will take into consideration any
2076
2077
  // web components if the `tabbableOptions.getShadowRoot` option was used for
2077
2078
  // the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
2078
2079
  // look inside web components even if open)
2079
2080
  (N == null ? void 0 : N.includes(H)) || K.find(function(Z) {
2080
- return Z === $;
2081
+ return Z === _;
2081
2082
  });
2082
2083
  });
2083
- }, c = function($) {
2084
- var x = r[$];
2084
+ }, c = function(_) {
2085
+ var x = r[_];
2085
2086
  if (typeof x == "function") {
2086
2087
  for (var N = arguments.length, U = new Array(N > 1 ? N - 1 : 0), H = 1; H < N; H++)
2087
2088
  U[H - 1] = arguments[H];
@@ -2090,29 +2091,29 @@ var tn = {
2090
2091
  if (x === !0 && (x = void 0), !x) {
2091
2092
  if (x === void 0 || x === !1)
2092
2093
  return x;
2093
- throw new Error("`".concat($, "` was specified but was not a node, or did not return a node"));
2094
+ throw new Error("`".concat(_, "` was specified but was not a node, or did not return a node"));
2094
2095
  }
2095
2096
  var K = x;
2096
2097
  if (typeof x == "string" && (K = o.querySelector(x), !K))
2097
- throw new Error("`".concat($, "` as selector refers to no known node"));
2098
+ throw new Error("`".concat(_, "` as selector refers to no known node"));
2098
2099
  return K;
2099
2100
  }, f = function() {
2100
- var $ = c("initialFocus");
2101
- if ($ === !1)
2101
+ var _ = c("initialFocus");
2102
+ if (_ === !1)
2102
2103
  return !1;
2103
- if ($ === void 0 || !kt($, r.tabbableOptions))
2104
+ if (_ === void 0 || !kt(_, r.tabbableOptions))
2104
2105
  if (u(o.activeElement) >= 0)
2105
- $ = o.activeElement;
2106
+ _ = o.activeElement;
2106
2107
  else {
2107
2108
  var x = l.tabbableGroups[0], N = x && x.firstTabbableNode;
2108
- $ = N || c("fallbackFocus");
2109
+ _ = N || c("fallbackFocus");
2109
2110
  }
2110
- if (!$)
2111
+ if (!_)
2111
2112
  throw new Error("Your focus-trap needs to have at least one focusable element");
2112
- return $;
2113
+ return _;
2113
2114
  }, y = function() {
2114
- if (l.containerGroups = l.containers.map(function($) {
2115
- var x = Xa($, r.tabbableOptions), N = Qa($, r.tabbableOptions), U = x.length > 0 ? x[0] : void 0, H = x.length > 0 ? x[x.length - 1] : void 0, K = N.find(function(ae) {
2115
+ if (l.containerGroups = l.containers.map(function(_) {
2116
+ var x = Za(_, r.tabbableOptions), N = Xa(_, r.tabbableOptions), U = x.length > 0 ? x[0] : void 0, H = x.length > 0 ? x[x.length - 1] : void 0, K = N.find(function(ae) {
2116
2117
  return Be(ae);
2117
2118
  }), Z = N.slice().reverse().find(function(ae) {
2118
2119
  return Be(ae);
@@ -2120,7 +2121,7 @@ var tn = {
2120
2121
  return Se(ae) > 0;
2121
2122
  });
2122
2123
  return {
2123
- container: $,
2124
+ container: _,
2124
2125
  tabbableNodes: x,
2125
2126
  focusableNodes: N,
2126
2127
  /** True if at least one node with positive `tabindex` was found in this container. */
@@ -2157,33 +2158,33 @@ var tn = {
2157
2158
  }) : x[me + (Me ? 1 : -1)];
2158
2159
  }
2159
2160
  };
2160
- }), l.tabbableGroups = l.containerGroups.filter(function($) {
2161
- return $.tabbableNodes.length > 0;
2161
+ }), l.tabbableGroups = l.containerGroups.filter(function(_) {
2162
+ return _.tabbableNodes.length > 0;
2162
2163
  }), l.tabbableGroups.length <= 0 && !c("fallbackFocus"))
2163
2164
  throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");
2164
- if (l.containerGroups.find(function($) {
2165
- return $.posTabIndexesFound;
2165
+ if (l.containerGroups.find(function(_) {
2166
+ return _.posTabIndexesFound;
2166
2167
  }) && l.containerGroups.length > 1)
2167
2168
  throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
2168
- }, p = function R($) {
2169
- var x = $.activeElement;
2169
+ }, p = function R(_) {
2170
+ var x = _.activeElement;
2170
2171
  if (x)
2171
2172
  return x.shadowRoot && x.shadowRoot.activeElement !== null ? R(x.shadowRoot) : x;
2172
- }, v = function R($) {
2173
- if ($ !== !1 && $ !== p(document)) {
2174
- if (!$ || !$.focus) {
2173
+ }, v = function R(_) {
2174
+ if (_ !== !1 && _ !== p(document)) {
2175
+ if (!_ || !_.focus) {
2175
2176
  R(f());
2176
2177
  return;
2177
2178
  }
2178
- $.focus({
2179
+ _.focus({
2179
2180
  preventScroll: !!r.preventScroll
2180
- }), l.mostRecentlyFocusedNode = $, al($) && $.select();
2181
+ }), l.mostRecentlyFocusedNode = _, ol(_) && _.select();
2181
2182
  }
2182
- }, m = function($) {
2183
- var x = c("setReturnFocus", $);
2184
- return x || (x === !1 ? !1 : $);
2185
- }, h = function($) {
2186
- var x = $.target, N = $.event, U = $.isBackward, H = U === void 0 ? !1 : U;
2183
+ }, m = function(_) {
2184
+ var x = c("setReturnFocus", _);
2185
+ return x || (x === !1 ? !1 : _);
2186
+ }, h = function(_) {
2187
+ var x = _.target, N = _.event, U = _.isBackward, H = U === void 0 ? !1 : U;
2187
2188
  x = x || Qe(N), y();
2188
2189
  var K = null;
2189
2190
  if (l.tabbableGroups.length > 0) {
@@ -2212,10 +2213,10 @@ var tn = {
2212
2213
  } else
2213
2214
  K = c("fallbackFocus");
2214
2215
  return K;
2215
- }, _ = function($) {
2216
- var x = Qe($);
2217
- if (!(u(x, $) >= 0)) {
2218
- if (qe(r.clickOutsideDeactivates, $)) {
2216
+ }, $ = function(_) {
2217
+ var x = Qe(_);
2218
+ if (!(u(x, _) >= 0)) {
2219
+ if (qe(r.clickOutsideDeactivates, _)) {
2219
2220
  s.deactivate({
2220
2221
  // NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
2221
2222
  // which will result in the outside click setting focus to the node
@@ -2227,14 +2228,14 @@ var tn = {
2227
2228
  });
2228
2229
  return;
2229
2230
  }
2230
- qe(r.allowOutsideClick, $) || $.preventDefault();
2231
+ qe(r.allowOutsideClick, _) || _.preventDefault();
2231
2232
  }
2232
- }, S = function($) {
2233
- var x = Qe($), N = u(x, $) >= 0;
2233
+ }, S = function(_) {
2234
+ var x = Qe(_), N = u(x, _) >= 0;
2234
2235
  if (N || x instanceof Document)
2235
2236
  N && (l.mostRecentlyFocusedNode = x);
2236
2237
  else {
2237
- $.stopImmediatePropagation();
2238
+ _.stopImmediatePropagation();
2238
2239
  var U, H = !0;
2239
2240
  if (l.mostRecentlyFocusedNode)
2240
2241
  if (Se(l.mostRecentlyFocusedNode) > 0) {
@@ -2261,31 +2262,31 @@ var tn = {
2261
2262
  })), v(U || l.mostRecentlyFocusedNode || f());
2262
2263
  }
2263
2264
  l.recentNavEvent = void 0;
2264
- }, I = function($) {
2265
+ }, V = function(_) {
2265
2266
  var x = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
2266
- l.recentNavEvent = $;
2267
+ l.recentNavEvent = _;
2267
2268
  var N = h({
2268
- event: $,
2269
+ event: _,
2269
2270
  isBackward: x
2270
2271
  });
2271
- N && (We($) && $.preventDefault(), v(N));
2272
- }, P = function($) {
2273
- if (ll($) && qe(r.escapeDeactivates, $) !== !1) {
2274
- $.preventDefault(), s.deactivate();
2272
+ N && (We(_) && _.preventDefault(), v(N));
2273
+ }, P = function(_) {
2274
+ if (al(_) && qe(r.escapeDeactivates, _) !== !1) {
2275
+ _.preventDefault(), s.deactivate();
2275
2276
  return;
2276
2277
  }
2277
- (r.isKeyForward($) || r.isKeyBackward($)) && I($, r.isKeyBackward($));
2278
- }, z = function($) {
2279
- var x = Qe($);
2280
- u(x, $) >= 0 || qe(r.clickOutsideDeactivates, $) || qe(r.allowOutsideClick, $) || ($.preventDefault(), $.stopImmediatePropagation());
2278
+ (r.isKeyForward(_) || r.isKeyBackward(_)) && V(_, r.isKeyBackward(_));
2279
+ }, z = function(_) {
2280
+ var x = Qe(_);
2281
+ u(x, _) >= 0 || qe(r.clickOutsideDeactivates, _) || qe(r.allowOutsideClick, _) || (_.preventDefault(), _.stopImmediatePropagation());
2281
2282
  }, A = function() {
2282
2283
  if (l.active)
2283
2284
  return tn.activateTrap(a, s), l.delayInitialFocusTimer = r.delayInitialFocus ? nn(function() {
2284
2285
  v(f());
2285
- }) : v(f()), o.addEventListener("focusin", S, !0), o.addEventListener("mousedown", _, {
2286
+ }) : v(f()), o.addEventListener("focusin", S, !0), o.addEventListener("mousedown", $, {
2286
2287
  capture: !0,
2287
2288
  passive: !1
2288
- }), o.addEventListener("touchstart", _, {
2289
+ }), o.addEventListener("touchstart", $, {
2289
2290
  capture: !0,
2290
2291
  passive: !1
2291
2292
  }), o.addEventListener("click", z, {
@@ -2297,9 +2298,9 @@ var tn = {
2297
2298
  }), s;
2298
2299
  }, w = function() {
2299
2300
  if (l.active)
2300
- return o.removeEventListener("focusin", S, !0), o.removeEventListener("mousedown", _, !0), o.removeEventListener("touchstart", _, !0), o.removeEventListener("click", z, !0), o.removeEventListener("keydown", P, !0), s;
2301
- }, M = function($) {
2302
- var x = $.some(function(N) {
2301
+ return o.removeEventListener("focusin", S, !0), o.removeEventListener("mousedown", $, !0), o.removeEventListener("touchstart", $, !0), o.removeEventListener("click", z, !0), o.removeEventListener("keydown", P, !0), s;
2302
+ }, M = function(_) {
2303
+ var x = _.some(function(N) {
2303
2304
  var U = Array.from(N.removedNodes);
2304
2305
  return U.some(function(H) {
2305
2306
  return H === l.mostRecentlyFocusedNode;
@@ -2307,8 +2308,8 @@ var tn = {
2307
2308
  });
2308
2309
  x && v(f());
2309
2310
  }, T = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(M) : void 0, J = function() {
2310
- T && (T.disconnect(), l.active && !l.paused && l.containers.map(function($) {
2311
- T.observe($, {
2311
+ T && (T.disconnect(), l.active && !l.paused && l.containers.map(function(_) {
2312
+ T.observe(_, {
2312
2313
  subtree: !0,
2313
2314
  childList: !0
2314
2315
  });
@@ -2321,24 +2322,24 @@ var tn = {
2321
2322
  get paused() {
2322
2323
  return l.paused;
2323
2324
  },
2324
- activate: function($) {
2325
+ activate: function(_) {
2325
2326
  if (l.active)
2326
2327
  return this;
2327
- var x = i($, "onActivate"), N = i($, "onPostActivate"), U = i($, "checkCanFocusTrap");
2328
+ var x = i(_, "onActivate"), N = i(_, "onPostActivate"), U = i(_, "checkCanFocusTrap");
2328
2329
  U || y(), l.active = !0, l.paused = !1, l.nodeFocusedBeforeActivation = o.activeElement, x == null || x();
2329
2330
  var H = function() {
2330
2331
  U && y(), A(), J(), N == null || N();
2331
2332
  };
2332
2333
  return U ? (U(l.containers.concat()).then(H, H), this) : (H(), this);
2333
2334
  },
2334
- deactivate: function($) {
2335
+ deactivate: function(_) {
2335
2336
  if (!l.active)
2336
2337
  return this;
2337
2338
  var x = en({
2338
2339
  onDeactivate: r.onDeactivate,
2339
2340
  onPostDeactivate: r.onPostDeactivate,
2340
2341
  checkCanReturnFocus: r.checkCanReturnFocus
2341
- }, $);
2342
+ }, _);
2342
2343
  clearTimeout(l.delayInitialFocusTimer), l.delayInitialFocusTimer = void 0, w(), l.active = !1, l.paused = !1, J(), tn.deactivateTrap(a, s);
2343
2344
  var N = i(x, "onDeactivate"), U = i(x, "onPostDeactivate"), H = i(x, "checkCanReturnFocus"), K = i(x, "returnFocus", "returnFocusOnDeactivate");
2344
2345
  N == null || N();
@@ -2349,20 +2350,20 @@ var tn = {
2349
2350
  };
2350
2351
  return K && H ? (H(m(l.nodeFocusedBeforeActivation)).then(Z, Z), this) : (Z(), this);
2351
2352
  },
2352
- pause: function($) {
2353
+ pause: function(_) {
2353
2354
  if (l.paused || !l.active)
2354
2355
  return this;
2355
- var x = i($, "onPause"), N = i($, "onPostPause");
2356
+ var x = i(_, "onPause"), N = i(_, "onPostPause");
2356
2357
  return l.paused = !0, x == null || x(), w(), J(), N == null || N(), this;
2357
2358
  },
2358
- unpause: function($) {
2359
+ unpause: function(_) {
2359
2360
  if (!l.paused || !l.active)
2360
2361
  return this;
2361
- var x = i($, "onUnpause"), N = i($, "onPostUnpause");
2362
+ var x = i(_, "onUnpause"), N = i(_, "onPostUnpause");
2362
2363
  return l.paused = !1, x == null || x(), y(), A(), J(), N == null || N(), this;
2363
2364
  },
2364
- updateContainerElements: function($) {
2365
- var x = [].concat($).filter(Boolean);
2365
+ updateContainerElements: function(_) {
2366
+ var x = [].concat(_).filter(Boolean);
2366
2367
  return l.containers = x.map(function(N) {
2367
2368
  return typeof N == "string" ? o.querySelector(N) : N;
2368
2369
  }), l.active && y(), J(), this;
@@ -2377,9 +2378,9 @@ function Cn(e, t = {}) {
2377
2378
  n && (n.unpause(), l.value = !1);
2378
2379
  };
2379
2380
  return ne(
2380
- () => za(e),
2381
+ () => Na(e),
2381
2382
  (f) => {
2382
- f && (n = ul(f, {
2383
+ f && (n = sl(f, {
2383
2384
  ...a,
2384
2385
  onActivate() {
2385
2386
  r.value = !0, t.onActivate && t.onActivate();
@@ -2390,7 +2391,7 @@ function Cn(e, t = {}) {
2390
2391
  }), o && s());
2391
2392
  },
2392
2393
  { flush: "post" }
2393
- ), Fa(() => i()), {
2394
+ ), Ba(() => i()), {
2394
2395
  hasFocus: r,
2395
2396
  isPaused: l,
2396
2397
  activate: s,
@@ -2399,7 +2400,7 @@ function Cn(e, t = {}) {
2399
2400
  unpause: c
2400
2401
  };
2401
2402
  }
2402
- const cl = /* @__PURE__ */ B({
2403
+ const ul = /* @__PURE__ */ B({
2403
2404
  __name: "VJoyWrapper",
2404
2405
  props: {
2405
2406
  /** Horizontal spread. Refers to CSS flex justify-content. */
@@ -2459,22 +2460,22 @@ const cl = /* @__PURE__ */ B({
2459
2460
  k(n.$slots, "default", {}, void 0, !0)
2460
2461
  ], 2));
2461
2462
  }
2462
- }), fe = /* @__PURE__ */ F(cl, [["__scopeId", "data-v-68d89412"]]), dl = ["id"], fl = { class: "joy-dialog__inner" }, yl = {
2463
+ }), fe = /* @__PURE__ */ F(ul, [["__scopeId", "data-v-68d89412"]]), cl = ["id"], dl = { class: "joy-dialog__inner" }, fl = {
2463
2464
  key: 0,
2464
2465
  class: "joy-dialog__shapes"
2465
- }, vl = { class: "joy-dialog--header" }, pl = {
2466
+ }, yl = { class: "joy-dialog--header" }, vl = {
2466
2467
  key: 0,
2467
2468
  class: "joy-dialog--preheader"
2468
- }, ml = {
2469
+ }, pl = {
2469
2470
  id: "dialogDescription",
2470
2471
  class: "joy-dialog--subheader"
2471
- }, hl = {
2472
+ }, ml = {
2472
2473
  class: "joy-dialog--body",
2473
2474
  tabindex: "0"
2474
- }, bl = {
2475
+ }, hl = {
2475
2476
  key: 2,
2476
2477
  class: "joy-dialog--indicators"
2477
- }, gl = /* @__PURE__ */ B({
2478
+ }, bl = /* @__PURE__ */ B({
2478
2479
  inheritAttrs: !1,
2479
2480
  __name: "VJoyDialog",
2480
2481
  props: {
@@ -2552,23 +2553,23 @@ const cl = /* @__PURE__ */ B({
2552
2553
  },
2553
2554
  emits: ["dialog:open", "dialog:after-open", "dialog:hide", "dialog:after-hide", "dialog:before-unmount", "dialog:confirm"],
2554
2555
  setup(e, { expose: t, emit: n }) {
2555
- const o = e, a = n, r = ct() + "--JoyDialog", l = oe(), s = C(!1), i = C(), u = C(o.open), c = Cn(i), f = Ee(), y = V(() => {
2556
+ const o = e, a = n, r = ct() + "--JoyDialog", l = oe(), s = C(!1), i = C(), u = C(o.open), c = Cn(i), f = Ee(), y = I(() => {
2556
2557
  if (s.value)
2557
2558
  return f;
2558
- }), p = V(() => {
2559
+ }), p = I(() => {
2559
2560
  const A = l["dialog-cancel"] || l["dialog-confirm"], w = o.cancelText || o.confirmText;
2560
2561
  return !!A || !!w;
2561
- }), m = V(() => o.id || r).value + "-header";
2562
+ }), m = I(() => o.id || r).value + "-header";
2562
2563
  function h() {
2563
- !o.patternConfirm && _();
2564
+ !o.patternConfirm && $();
2564
2565
  }
2565
- async function _(A = { fireHideEvent: !0 }) {
2566
+ async function $(A = { fireHideEvent: !0 }) {
2566
2567
  c.deactivate(), u.value = !1, await Ue(), he(!1), A.fireHideEvent && a("dialog:hide");
2567
2568
  }
2568
2569
  async function S() {
2569
2570
  u.value = !0, await Ue(), o.focusTrap && c.activate(), o.preventBodyScroll && he(!0);
2570
2571
  }
2571
- function I() {
2572
+ function V() {
2572
2573
  a("dialog:open");
2573
2574
  }
2574
2575
  function P() {
@@ -2584,7 +2585,7 @@ const cl = /* @__PURE__ */ B({
2584
2585
  }), t({
2585
2586
  focusTrapReturn: c,
2586
2587
  hasFooterSlots: p,
2587
- hide: _,
2588
+ hide: $,
2588
2589
  isOpen: u,
2589
2590
  show: S
2590
2591
  }), (A, w) => s.value ? (d(), L(De, {
@@ -2595,7 +2596,7 @@ const cl = /* @__PURE__ */ B({
2595
2596
  duration: { enter: 300, leave: 100 },
2596
2597
  name: "dialog",
2597
2598
  appear: "",
2598
- onEnter: I,
2599
+ onEnter: V,
2599
2600
  onAfterEnter: P,
2600
2601
  onAfterLeave: z
2601
2602
  }, {
@@ -2628,8 +2629,8 @@ const cl = /* @__PURE__ */ B({
2628
2629
  }
2629
2630
  ])
2630
2631
  }, [
2631
- b("div", fl, [
2632
- e.patternBrand ? (d(), g("div", yl, w[3] || (w[3] = [
2632
+ b("div", dl, [
2633
+ e.patternBrand ? (d(), g("div", fl, w[3] || (w[3] = [
2633
2634
  b("div", { class: "joy-dialog__shapes___shape" }, null, -1),
2634
2635
  b("div", { class: "joy-dialog__shapes___shape" }, null, -1)
2635
2636
  ]))) : j("", !0),
@@ -2642,8 +2643,8 @@ const cl = /* @__PURE__ */ B({
2642
2643
  height: `${e.bannerHeight}px`
2643
2644
  })
2644
2645
  }, null, 4)) : j("", !0),
2645
- b("div", vl, [
2646
- A.$slots["dialog-preheader"] ? (d(), g("div", pl, [
2646
+ b("div", yl, [
2647
+ A.$slots["dialog-preheader"] ? (d(), g("div", vl, [
2647
2648
  k(A.$slots, "dialog-preheader", {}, void 0, !0)
2648
2649
  ])) : j("", !0),
2649
2650
  b("div", {
@@ -2652,7 +2653,7 @@ const cl = /* @__PURE__ */ B({
2652
2653
  }, [
2653
2654
  k(A.$slots, "dialog-header", {}, void 0, !0)
2654
2655
  ]),
2655
- b("p", ml, [
2656
+ b("p", pl, [
2656
2657
  k(A.$slots, "dialog-subheader", {}, void 0, !0)
2657
2658
  ]),
2658
2659
  e.patternConfirm ? j("", !0) : (d(), L(ce, {
@@ -2665,10 +2666,10 @@ const cl = /* @__PURE__ */ B({
2665
2666
  name: "cross",
2666
2667
  label: e.closeLabel,
2667
2668
  class: "joy-dialog--close",
2668
- onClick: w[0] || (w[0] = (M) => _())
2669
+ onClick: w[0] || (w[0] = (M) => $())
2669
2670
  }, null, 8, ["label"]))
2670
2671
  ]),
2671
- b("div", hl, [
2672
+ b("div", ml, [
2672
2673
  k(A.$slots, "dialog-body", {}, void 0, !0)
2673
2674
  ]),
2674
2675
  b("div", {
@@ -2690,7 +2691,7 @@ const cl = /* @__PURE__ */ B({
2690
2691
  class: "joy-dialog--cancel",
2691
2692
  variant: "ghost",
2692
2693
  size: e.buttonSize,
2693
- onClick: w[1] || (w[1] = (M) => _())
2694
+ onClick: w[1] || (w[1] = (M) => $())
2694
2695
  }, {
2695
2696
  default: O(() => [
2696
2697
  W(D(e.cancelText), 1)
@@ -2716,25 +2717,25 @@ const cl = /* @__PURE__ */ B({
2716
2717
  _: 3
2717
2718
  })
2718
2719
  ], 2),
2719
- Y(l)["dialog-indicators"] ? (d(), g("div", bl, [
2720
+ Y(l)["dialog-indicators"] ? (d(), g("div", hl, [
2720
2721
  k(A.$slots, "dialog-indicators", {}, void 0, !0)
2721
2722
  ])) : j("", !0)
2722
2723
  ])
2723
2724
  ], 2)
2724
- ], 16, dl)) : j("", !0)
2725
+ ], 16, cl)) : j("", !0)
2725
2726
  ]),
2726
2727
  _: 3
2727
2728
  })
2728
2729
  ], 8, ["to"])) : j("", !0);
2729
2730
  }
2730
- }), nc = /* @__PURE__ */ F(gl, [["__scopeId", "data-v-e41ea69b"]]), oc = /* @__PURE__ */ B({
2731
+ }), tc = /* @__PURE__ */ F(bl, [["__scopeId", "data-v-e41ea69b"]]), nc = /* @__PURE__ */ B({
2731
2732
  __name: "VJoyDialogTrigger",
2732
2733
  props: {
2733
2734
  dialog: {}
2734
2735
  },
2735
2736
  emits: ["click"],
2736
2737
  setup(e, { emit: t }) {
2737
- const n = e, o = V(() => n.dialog), a = t, r = oe(), l = V(() => r.default());
2738
+ const n = e, o = I(() => n.dialog), a = t, r = oe(), l = I(() => r.default());
2738
2739
  async function s() {
2739
2740
  var i;
2740
2741
  a("click"), await ((i = o.value) == null ? void 0 : i.show());
@@ -2744,7 +2745,7 @@ const cl = /* @__PURE__ */ B({
2744
2745
  onClick: s
2745
2746
  }))), 128));
2746
2747
  }
2747
- }), wl = ["disabled"], kl = { class: "joy-divider-cta--icon" }, jl = { class: "joy-divider-cta--content" }, Sl = { class: "joy-divider-cta--content---title" }, _l = /* @__PURE__ */ B({
2748
+ }), gl = ["disabled"], wl = { class: "joy-divider-cta--icon" }, kl = { class: "joy-divider-cta--content" }, jl = { class: "joy-divider-cta--content---title" }, Sl = /* @__PURE__ */ B({
2748
2749
  __name: "VJoyDividerCta",
2749
2750
  props: {
2750
2751
  disabled: {
@@ -2758,24 +2759,24 @@ const cl = /* @__PURE__ */ B({
2758
2759
  class: E(["joy-divider-cta", { "joy-divider-cta__disabled": e.disabled }]),
2759
2760
  disabled: e.disabled
2760
2761
  }, [
2761
- b("div", kl, [
2762
+ b("div", wl, [
2762
2763
  q(G, { name: "add" })
2763
2764
  ]),
2764
- b("div", jl, [
2765
- b("p", Sl, [
2765
+ b("div", kl, [
2766
+ b("p", jl, [
2766
2767
  k(t.$slots, "default", {}, void 0, !0)
2767
2768
  ]),
2768
2769
  k(t.$slots, "divider-content", {}, void 0, !0)
2769
2770
  ])
2770
- ], 10, wl));
2771
+ ], 10, gl));
2771
2772
  }
2772
- }), ac = /* @__PURE__ */ F(_l, [["__scopeId", "data-v-aa93710e"]]), $l = ["id"], Cl = { class: "joy-drawer__inner" }, xl = { class: "joy-drawer--header" }, Tl = {
2773
+ }), oc = /* @__PURE__ */ F(Sl, [["__scopeId", "data-v-aa93710e"]]), $l = ["id"], _l = { class: "joy-drawer__inner" }, Cl = { class: "joy-drawer--header" }, xl = {
2773
2774
  id: "drawerDescription",
2774
2775
  class: "joy-drawer--subheader"
2775
- }, Vl = {
2776
+ }, Tl = {
2776
2777
  class: "joy-drawer--body",
2777
2778
  tabindex: "0"
2778
- }, Il = /* @__PURE__ */ B({
2779
+ }, Vl = /* @__PURE__ */ B({
2779
2780
  inheritAttrs: !1,
2780
2781
  __name: "VJoyDrawer",
2781
2782
  props: {
@@ -2837,23 +2838,23 @@ const cl = /* @__PURE__ */ B({
2837
2838
  },
2838
2839
  emits: ["drawer:open", "drawer:after-open", "drawer:hide", "drawer:after-hide", "drawer:before-unmount", "drawer:confirm"],
2839
2840
  setup(e, { expose: t, emit: n }) {
2840
- const o = e, a = n, r = ct() + "--JoyDrawer", l = oe(), s = C(!1), i = C(), u = C(o.open), c = Cn(i), f = Ee(), y = V(() => {
2841
+ const o = e, a = n, r = ct() + "--JoyDrawer", l = oe(), s = C(!1), i = C(), u = C(o.open), c = Cn(i), f = Ee(), y = I(() => {
2841
2842
  if (s.value)
2842
2843
  return f;
2843
- }), p = V(() => {
2844
+ }), p = I(() => {
2844
2845
  const z = l["drawer-cancel"] || l["drawer-confirm"], A = o.cancelText || o.confirmText;
2845
2846
  return !!z || !!A;
2846
- }), v = V(() => o.id || r), m = v.value + "-header";
2847
+ }), v = I(() => o.id || r), m = v.value + "-header";
2847
2848
  async function h(z = { fireHideEvent: !0 }) {
2848
2849
  o.onBeforeHide && !await o.onBeforeHide() || (c.deactivate(), u.value = !1, await Ue(), he(!1), z.fireHideEvent && a("drawer:hide"));
2849
2850
  }
2850
- async function _() {
2851
+ async function $() {
2851
2852
  u.value = !0, await Ue(), o.focusTrap && !o.elevated && c.activate(), !o.elevated && o.preventBodyScroll && he(!0);
2852
2853
  }
2853
2854
  function S() {
2854
2855
  a("drawer:open");
2855
2856
  }
2856
- function I() {
2857
+ function V() {
2857
2858
  a("drawer:after-open");
2858
2859
  }
2859
2860
  function P() {
@@ -2868,7 +2869,7 @@ const cl = /* @__PURE__ */ B({
2868
2869
  hasFooterSlots: p,
2869
2870
  hide: h,
2870
2871
  isOpen: u,
2871
- show: _
2872
+ show: $
2872
2873
  }), (z, A) => s.value ? (d(), L(De, {
2873
2874
  key: 0,
2874
2875
  to: e.teleport
@@ -2878,7 +2879,7 @@ const cl = /* @__PURE__ */ B({
2878
2879
  name: "drawer",
2879
2880
  appear: "",
2880
2881
  onEnter: S,
2881
- onAfterEnter: I,
2882
+ onAfterEnter: V,
2882
2883
  onAfterLeave: P
2883
2884
  }, {
2884
2885
  default: O(() => [
@@ -2917,15 +2918,15 @@ const cl = /* @__PURE__ */ B({
2917
2918
  }
2918
2919
  ])
2919
2920
  }, [
2920
- b("div", Cl, [
2921
- b("div", xl, [
2921
+ b("div", _l, [
2922
+ b("div", Cl, [
2922
2923
  b("div", {
2923
2924
  id: m,
2924
2925
  class: "joy-drawer--header__title"
2925
2926
  }, [
2926
2927
  k(z.$slots, "drawer-header", {}, void 0, !0)
2927
2928
  ]),
2928
- b("p", Tl, [
2929
+ b("p", xl, [
2929
2930
  k(z.$slots, "drawer-subheader", {}, void 0, !0)
2930
2931
  ]),
2931
2932
  q(ce, {
@@ -2940,7 +2941,7 @@ const cl = /* @__PURE__ */ B({
2940
2941
  onClick: A[1] || (A[1] = (w) => h())
2941
2942
  }, null, 8, ["label"])
2942
2943
  ]),
2943
- b("div", Vl, [
2944
+ b("div", Tl, [
2944
2945
  k(z.$slots, "drawer-body", {}, void 0, !0)
2945
2946
  ]),
2946
2947
  b("div", {
@@ -2997,14 +2998,14 @@ const cl = /* @__PURE__ */ B({
2997
2998
  })
2998
2999
  ], 8, ["to"])) : j("", !0);
2999
3000
  }
3000
- }), lc = /* @__PURE__ */ F(Il, [["__scopeId", "data-v-731df0f1"]]), rc = /* @__PURE__ */ B({
3001
+ }), ac = /* @__PURE__ */ F(Vl, [["__scopeId", "data-v-731df0f1"]]), lc = /* @__PURE__ */ B({
3001
3002
  __name: "VJoyDrawerTrigger",
3002
3003
  props: {
3003
3004
  drawer: {}
3004
3005
  },
3005
3006
  emits: ["click"],
3006
3007
  setup(e, { emit: t }) {
3007
- const n = e, o = t, a = V(() => n.drawer), r = oe(), l = V(() => r.default());
3008
+ const n = e, o = t, a = I(() => n.drawer), r = oe(), l = I(() => r.default());
3008
3009
  async function s() {
3009
3010
  var i;
3010
3011
  o("click"), await ((i = a.value) == null ? void 0 : i.show());
@@ -3014,13 +3015,13 @@ const cl = /* @__PURE__ */ B({
3014
3015
  onClick: s
3015
3016
  }))), 128));
3016
3017
  }
3017
- }), El = {
3018
+ }), Il = {
3018
3019
  key: 0,
3019
3020
  class: "joy-dropdown-list__header"
3020
- }, Ll = ["aria-label", "aria-labelledby"], Al = ["id", "tabindex", "aria-disabled", "aria-selected", "title", "aria-label", ".dataModel", "onClick"], Bl = {
3021
+ }, El = ["aria-label", "aria-labelledby"], Ll = ["id", "tabindex", "aria-disabled", "aria-selected", "title", "aria-label", ".dataModel", "onClick"], Al = {
3021
3022
  key: 1,
3022
3023
  class: "joy-dropdown-list__footer"
3023
- }, Fl = /* @__PURE__ */ B({
3024
+ }, Bl = /* @__PURE__ */ B({
3024
3025
  __name: "VJoyDropdownList",
3025
3026
  props: {
3026
3027
  /**
@@ -3064,7 +3065,7 @@ const cl = /* @__PURE__ */ B({
3064
3065
  },
3065
3066
  emits: ["update:modelValue", "close:dropdownList", "reset"],
3066
3067
  setup(e, { expose: t, emit: n }) {
3067
- const o = n, a = e, r = C(), l = V(() => (v) => !a.modelValue || !v.value && !v.id ? !1 : a.modelValue === v.value || a.modelValue === v.id);
3068
+ const o = n, a = e, r = C(), l = I(() => (v) => !a.modelValue || !v.value && !v.id ? !1 : a.modelValue === v.value || a.modelValue === v.id);
3068
3069
  function s(v) {
3069
3070
  v.disabled || o("update:modelValue", v.value || v.id);
3070
3071
  }
@@ -3093,8 +3094,8 @@ const cl = /* @__PURE__ */ B({
3093
3094
  o("update:modelValue", h.dataModel);
3094
3095
  }
3095
3096
  if (c() && v.key === " " && v.preventDefault(), ["ArrowDown", "ArrowUp", "Home", "End"].includes(v.key)) {
3096
- const h = i(), _ = c();
3097
- let S = h.indexOf(_);
3097
+ const h = i(), $ = c();
3098
+ let S = h.indexOf($);
3098
3099
  if (h.length) {
3099
3100
  v.preventDefault(), v.key === "ArrowDown" ? S++ : v.key === "ArrowUp" ? S-- : v.key === "Home" ? S = 0 : v.key === "End" && (S = h.length - 1), S < 0 && (S = h.length - 1), S > h.length - 1 && (S = 0), y(h[S]);
3100
3101
  return;
@@ -3118,7 +3119,7 @@ const cl = /* @__PURE__ */ B({
3118
3119
  class: "joy-dropdown-list",
3119
3120
  style: ie({ width: `${e.width}px`, "max-width": `${e.width}px` })
3120
3121
  }, [
3121
- v.$slots["dropdown-list-header"] || e.reset ? (d(), g("header", El, [
3122
+ v.$slots["dropdown-list-header"] || e.reset ? (d(), g("header", Il, [
3122
3123
  e.reset ? (d(), g("button", {
3123
3124
  key: 0,
3124
3125
  type: "button",
@@ -3161,20 +3162,20 @@ const cl = /* @__PURE__ */ B({
3161
3162
  "aria-label": h.label,
3162
3163
  ".dataModel": h.value || h.id,
3163
3164
  role: "option",
3164
- onClick: (_) => s(h)
3165
+ onClick: ($) => s(h)
3165
3166
  }, [
3166
3167
  k(v.$slots, "label", X({ ref_for: !0 }, h), () => [
3167
3168
  b("span", null, D(h.label), 1)
3168
3169
  ], !0)
3169
- ], 46, Al))), 128))
3170
- ], 8, Ll)) : j("", !0)
3170
+ ], 46, Ll))), 128))
3171
+ ], 8, El)) : j("", !0)
3171
3172
  ], 6),
3172
- v.$slots["dropdown-list-footer"] ? (d(), g("footer", Bl, [
3173
+ v.$slots["dropdown-list-footer"] ? (d(), g("footer", Al, [
3173
3174
  k(v.$slots, "dropdown-list-footer", {}, void 0, !0)
3174
3175
  ])) : j("", !0)
3175
3176
  ], 4));
3176
3177
  }
3177
- }), Nl = /* @__PURE__ */ F(Fl, [["__scopeId", "data-v-7a3292aa"]]), zl = /* @__PURE__ */ B({
3178
+ }), Fl = /* @__PURE__ */ F(Bl, [["__scopeId", "data-v-7a3292aa"]]), Nl = /* @__PURE__ */ B({
3178
3179
  __name: "VJoyDropdown",
3179
3180
  props: {
3180
3181
  /** DOM valid selector to give to Vue3 Teleport "to" property */
@@ -3275,7 +3276,7 @@ const cl = /* @__PURE__ */ B({
3275
3276
  },
3276
3277
  { flush: "post" }
3277
3278
  );
3278
- const v = V(() => {
3279
+ const v = I(() => {
3279
3280
  let A = `${a.dropdownGap}px`;
3280
3281
  return a.direction === "up" && (A = "-" + A), {
3281
3282
  marginTop: A
@@ -3289,13 +3290,13 @@ const cl = /* @__PURE__ */ B({
3289
3290
  function h(A) {
3290
3291
  A.stopPropagation(), c.value = !1, p && clearTimeout(p), u.value = A.target, r.value = !0, o("dropdown:open");
3291
3292
  }
3292
- function _() {
3293
+ function $() {
3293
3294
  m(), S();
3294
3295
  }
3295
3296
  function S() {
3296
3297
  u.value && u.value.focus();
3297
3298
  }
3298
- function I(A) {
3299
+ function V(A) {
3299
3300
  o("update:modelValue", A), a.closeOnSelect && (m(), S());
3300
3301
  }
3301
3302
  function P() {
@@ -3304,7 +3305,7 @@ const cl = /* @__PURE__ */ B({
3304
3305
  function z() {
3305
3306
  !s.value || !s.value.children.length || (s.value.children[0].id = f);
3306
3307
  }
3307
- return Ca(m), se(() => {
3308
+ return _a(m), se(() => {
3308
3309
  z();
3309
3310
  }), t({
3310
3311
  showDropdownList: r,
@@ -3341,7 +3342,7 @@ const cl = /* @__PURE__ */ B({
3341
3342
  ]),
3342
3343
  style: ie(v.value)
3343
3344
  }, [
3344
- q(Nl, {
3345
+ q(Fl, {
3345
3346
  "model-value": e.modelValue,
3346
3347
  options: e.options,
3347
3348
  size: e.size,
@@ -3350,8 +3351,8 @@ const cl = /* @__PURE__ */ B({
3350
3351
  reset: e.reset,
3351
3352
  "reset-label": e.resetLabel,
3352
3353
  "aria-labelled-by": f,
3353
- "onUpdate:modelValue": I,
3354
- "onClose:dropdownList": _,
3354
+ "onUpdate:modelValue": V,
3355
+ "onClose:dropdownList": $,
3355
3356
  onReset: P
3356
3357
  }, At({
3357
3358
  label: O((M) => [
@@ -3388,13 +3389,13 @@ const cl = /* @__PURE__ */ B({
3388
3389
  _: 3
3389
3390
  }, 512));
3390
3391
  }
3391
- }), ic = /* @__PURE__ */ F(zl, [["__scopeId", "data-v-3b33b526"]]), Pl = { class: "joy-dropzone__icon-wrapper" }, Ol = /* @__PURE__ */ B({
3392
+ }), rc = /* @__PURE__ */ F(Nl, [["__scopeId", "data-v-3b33b526"]]), zl = { class: "joy-dropzone__icon-wrapper" }, Pl = /* @__PURE__ */ B({
3392
3393
  __name: "VJoyDropzoneIcon",
3393
3394
  props: {
3394
3395
  name: { type: String, required: !0 }
3395
3396
  },
3396
3397
  setup(e) {
3397
- return (t, n) => (d(), g("div", Pl, [
3398
+ return (t, n) => (d(), g("div", zl, [
3398
3399
  q(G, {
3399
3400
  "aria-hidden": "true",
3400
3401
  name: e.name,
@@ -3402,13 +3403,13 @@ const cl = /* @__PURE__ */ B({
3402
3403
  }, null, 8, ["name"])
3403
3404
  ]));
3404
3405
  }
3405
- }), xn = /* @__PURE__ */ F(Ol, [["__scopeId", "data-v-5a2d1889"]]), Dl = { class: "joy-dropzone__file__description" }, Rl = { class: "joy-dropzone__file__name" }, Ml = {
3406
+ }), xn = /* @__PURE__ */ F(Pl, [["__scopeId", "data-v-5a2d1889"]]), Ol = { class: "joy-dropzone__file__description" }, Dl = { class: "joy-dropzone__file__name" }, Rl = {
3406
3407
  key: 0,
3407
3408
  class: "joy-dropzone__file__information"
3408
- }, Jl = {
3409
+ }, Ml = {
3409
3410
  key: 1,
3410
3411
  class: "joy-dropzone__file__error"
3411
- }, ql = /* @__PURE__ */ B({
3412
+ }, Jl = /* @__PURE__ */ B({
3412
3413
  __name: "VJoyDropzoneFileItem",
3413
3414
  props: {
3414
3415
  file: {},
@@ -3433,12 +3434,12 @@ const cl = /* @__PURE__ */ B({
3433
3434
  name: "file-check",
3434
3435
  class: "joy-dropzone__file__icon"
3435
3436
  }),
3436
- b("div", Dl, [
3437
- b("span", Rl, D(n.file.name), 1),
3438
- t.information ? (d(), g("div", Ml, [
3437
+ b("div", Ol, [
3438
+ b("span", Dl, D(n.file.name), 1),
3439
+ t.information ? (d(), g("div", Rl, [
3439
3440
  k(o.$slots, "information", { file: o.file }, void 0, !0)
3440
3441
  ])) : j("", !0),
3441
- o.error ? (d(), g("p", Jl, D(o.error), 1)) : j("", !0)
3442
+ o.error ? (d(), g("p", Ml, D(o.error), 1)) : j("", !0)
3442
3443
  ]),
3443
3444
  q(fe, {
3444
3445
  "column-gap": "1",
@@ -3473,13 +3474,13 @@ const cl = /* @__PURE__ */ B({
3473
3474
  _: 3
3474
3475
  }));
3475
3476
  }
3476
- }), Hl = /* @__PURE__ */ F(ql, [["__scopeId", "data-v-f47da94a"]]), Wl = ["name", "accept", "multiple"], Ul = ["for"], Kl = {
3477
+ }), ql = /* @__PURE__ */ F(Jl, [["__scopeId", "data-v-f47da94a"]]), Hl = ["name", "accept", "multiple"], Wl = ["for"], Ul = {
3477
3478
  key: 0,
3478
3479
  class: "joy-dropzone__files"
3479
- }, Gl = { class: "joy-dropzone__instruction__text" }, Yl = {
3480
+ }, Kl = { class: "joy-dropzone__instruction__text" }, Gl = {
3480
3481
  key: 0,
3481
3482
  class: "joy-dropzone__legend"
3482
- }, Zl = /* @__PURE__ */ B({
3483
+ }, Yl = /* @__PURE__ */ B({
3483
3484
  __name: "VJoyDropzone",
3484
3485
  props: /* @__PURE__ */ oo({
3485
3486
  name: {},
@@ -3497,9 +3498,9 @@ const cl = /* @__PURE__ */ B({
3497
3498
  }),
3498
3499
  emits: ["update:modelValue"],
3499
3500
  setup(e, { expose: t }) {
3500
- const n = oe(), o = e, a = ao(e, "modelValue"), r = C(v(a.value)), l = C(), s = C(), i = C(), { isOverDropZone: u } = Wo(s, {
3501
- onDrop: I
3502
- }), c = V(() => a.value.filter((T) => T instanceof File)), f = V(() => o.multiple || c.value.length === 0 ? void 0 : m(c.value[0]));
3501
+ const n = oe(), o = e, a = ao(e, "modelValue"), r = C(v(a.value)), l = C(), s = C(), i = C(), { isOverDropZone: u } = Ho(s, {
3502
+ onDrop: V
3503
+ }), c = I(() => a.value.filter((T) => T instanceof File)), f = I(() => o.multiple || c.value.length === 0 ? void 0 : m(c.value[0]));
3503
3504
  function y(T) {
3504
3505
  return o.accept.length > 0 ? o.accept.includes(T.type) : !0;
3505
3506
  }
@@ -3523,7 +3524,7 @@ const cl = /* @__PURE__ */ B({
3523
3524
  function h() {
3524
3525
  l.value = void 0, i.value && i.value.click();
3525
3526
  }
3526
- function _() {
3527
+ function $() {
3527
3528
  i.value && (i.value.value = "");
3528
3529
  }
3529
3530
  function S(T) {
@@ -3531,7 +3532,7 @@ const cl = /* @__PURE__ */ B({
3531
3532
  const J = (R = T.target) == null ? void 0 : R.files;
3532
3533
  !J || J.length === 0 || (l.value ? (M(l.value, Array.from(J)), l.value = void 0) : w(Array.from(J)));
3533
3534
  }
3534
- function I(T) {
3535
+ function V(T) {
3535
3536
  !T || T.length === 0 || (l.value = void 0, w(T));
3536
3537
  }
3537
3538
  function P(T) {
@@ -3548,8 +3549,8 @@ const cl = /* @__PURE__ */ B({
3548
3549
  }
3549
3550
  function M(T, [J, ...R]) {
3550
3551
  if (o.multiple) {
3551
- const $ = [...a.value];
3552
- $[a.value.indexOf(T)] = J, $.push(...R), z($);
3552
+ const _ = [...a.value];
3553
+ _[a.value.indexOf(T)] = J, _.push(...R), z(_);
3553
3554
  } else
3554
3555
  z([J]);
3555
3556
  }
@@ -3576,15 +3577,15 @@ const cl = /* @__PURE__ */ B({
3576
3577
  multiple: T.multiple,
3577
3578
  tabindex: "-1",
3578
3579
  onChange: S,
3579
- onClick: _
3580
- }, null, 40, Wl),
3580
+ onClick: $
3581
+ }, null, 40, Hl),
3581
3582
  b("label", {
3582
3583
  for: T.name,
3583
3584
  class: "joy-dropzone__label"
3584
3585
  }, [
3585
- a.value.length > 0 ? (d(), g("div", Kl, [
3586
- (d(!0), g(Q, null, te(a.value, (R, $) => (d(), L(Hl, {
3587
- key: `${R.name}_${$}`,
3586
+ a.value.length > 0 ? (d(), g("div", Ul, [
3587
+ (d(!0), g(Q, null, te(a.value, (R, _) => (d(), L(ql, {
3588
+ key: `${R.name}_${_}`,
3588
3589
  file: R,
3589
3590
  error: T.multiple ? m(R) : void 0,
3590
3591
  "update-label": T.updateLabel,
@@ -3620,7 +3621,7 @@ const cl = /* @__PURE__ */ B({
3620
3621
  name: "add",
3621
3622
  class: "joy-dropzone__instruction__icon"
3622
3623
  }),
3623
- b("p", Gl, [
3624
+ b("p", Kl, [
3624
3625
  k(T.$slots, "dropzone-description", {}, () => [
3625
3626
  J[0] || (J[0] = W("Drop your file here or click here"))
3626
3627
  ], !0)
@@ -3628,9 +3629,9 @@ const cl = /* @__PURE__ */ B({
3628
3629
  ]),
3629
3630
  _: 3
3630
3631
  })) : j("", !0)
3631
- ], 8, Ul)
3632
+ ], 8, Wl)
3632
3633
  ], 512),
3633
- n["dropzone-legend"] ? (d(), g("div", Yl, [
3634
+ n["dropzone-legend"] ? (d(), g("div", Gl, [
3634
3635
  k(T.$slots, "dropzone-legend", {}, void 0, !0)
3635
3636
  ])) : j("", !0),
3636
3637
  f.value ? (d(), L(Nt, {
@@ -3640,7 +3641,7 @@ const cl = /* @__PURE__ */ B({
3640
3641
  }, null, 8, ["no-html-error-text"])) : j("", !0)
3641
3642
  ], 2));
3642
3643
  }
3643
- }), sc = /* @__PURE__ */ F(Zl, [["__scopeId", "data-v-ee77e9fc"]]), Xl = ["aria-label"], Ql = { class: "joy-filter-bar__wrapper" }, er = /* @__PURE__ */ B({
3644
+ }), ic = /* @__PURE__ */ F(Yl, [["__scopeId", "data-v-ee77e9fc"]]), Zl = ["aria-label"], Xl = { class: "joy-filter-bar__wrapper" }, Ql = /* @__PURE__ */ B({
3644
3645
  __name: "VJoyFilterBar",
3645
3646
  props: {
3646
3647
  /** To give a label to the whole component */
@@ -3652,12 +3653,12 @@ const cl = /* @__PURE__ */ B({
3652
3653
  role: "group",
3653
3654
  "aria-label": e.ariaLabel || "Filter bar"
3654
3655
  }, [
3655
- b("div", Ql, [
3656
+ b("div", Xl, [
3656
3657
  k(t.$slots, "default", {}, void 0, !0)
3657
3658
  ])
3658
- ], 8, Xl));
3659
+ ], 8, Zl));
3659
3660
  }
3660
- }), uc = /* @__PURE__ */ F(er, [["__scopeId", "data-v-cb769d05"]]), tr = /* @__PURE__ */ B({
3661
+ }), sc = /* @__PURE__ */ F(Ql, [["__scopeId", "data-v-cb769d05"]]), er = /* @__PURE__ */ B({
3661
3662
  __name: "VJoyFilterBarButton",
3662
3663
  props: {
3663
3664
  /** Label to inject inside the button */
@@ -3694,7 +3695,7 @@ const cl = /* @__PURE__ */ B({
3694
3695
  })) : j("", !0)
3695
3696
  ], 2));
3696
3697
  }
3697
- }), cc = /* @__PURE__ */ F(tr, [["__scopeId", "data-v-cfb21c78"]]), nr = /* @__PURE__ */ B({
3698
+ }), uc = /* @__PURE__ */ F(er, [["__scopeId", "data-v-cfb21c78"]]), tr = /* @__PURE__ */ B({
3698
3699
  __name: "VJoyFormFieldSkeleton",
3699
3700
  props: {
3700
3701
  /** In some cases you'll need to inject the error in the DOM but hide it. Visible by default */
@@ -3714,7 +3715,7 @@ const cl = /* @__PURE__ */ B({
3714
3715
  }
3715
3716
  },
3716
3717
  setup(e, { expose: t }) {
3717
- const n = e, o = Ie("VJoyWrapperContext", {}), a = V(() => {
3718
+ const n = e, o = Ie("VJoyWrapperContext", {}), a = I(() => {
3718
3719
  const r = o.direction === "column" ? "auto" : null;
3719
3720
  if (!n.width && n.flex === "1") {
3720
3721
  const i = ["1", "0"];
@@ -3732,7 +3733,7 @@ const cl = /* @__PURE__ */ B({
3732
3733
  })
3733
3734
  }, null, 6));
3734
3735
  }
3735
- }), dc = /* @__PURE__ */ F(nr, [["__scopeId", "data-v-235a3b9e"]]), or = { class: "joy-funnel__header" }, ar = { class: "funnel__header__inner" }, lr = /* @__PURE__ */ B({
3736
+ }), cc = /* @__PURE__ */ F(tr, [["__scopeId", "data-v-235a3b9e"]]), nr = { class: "joy-funnel__header" }, or = { class: "funnel__header__inner" }, ar = /* @__PURE__ */ B({
3736
3737
  __name: "VJoyFunnel",
3737
3738
  props: {
3738
3739
  /**
@@ -3758,7 +3759,7 @@ const cl = /* @__PURE__ */ B({
3758
3759
  const u = i.currentTarget;
3759
3760
  n.value = u.scrollTop === 0, l.value && !n.value ? a.value = !1 : l.value && n.value && (a.value = !0);
3760
3761
  }
3761
- const l = V(() => !!o["funnel-stepper"]), s = V(() => o["funnel-footer"] ? o["funnel-footer"]().length > 0 : !1);
3762
+ const l = I(() => !!o["funnel-stepper"]), s = I(() => o["funnel-footer"] ? o["funnel-footer"]().length > 0 : !1);
3762
3763
  return t({
3763
3764
  scrollOnTop: n,
3764
3765
  hasStepperSlot: l,
@@ -3771,8 +3772,8 @@ const cl = /* @__PURE__ */ B({
3771
3772
  }
3772
3773
  ])
3773
3774
  }, [
3774
- b("div", or, [
3775
- b("div", ar, [
3775
+ b("div", nr, [
3776
+ b("div", or, [
3776
3777
  k(i.$slots, "funnel-header", {}, void 0, !0)
3777
3778
  ])
3778
3779
  ]),
@@ -3805,31 +3806,31 @@ const cl = /* @__PURE__ */ B({
3805
3806
  ], 32)
3806
3807
  ], 2));
3807
3808
  }
3808
- }), fc = /* @__PURE__ */ F(lr, [["__scopeId", "data-v-e2fccb79"]]), rr = { class: "joy-funnel-footer" }, ir = { class: "joy-funnel-footer__left" }, sr = { class: "joy-funnel-footer__right" }, ur = /* @__PURE__ */ B({
3809
+ }), dc = /* @__PURE__ */ F(ar, [["__scopeId", "data-v-e2fccb79"]]), lr = { class: "joy-funnel-footer" }, rr = { class: "joy-funnel-footer__left" }, ir = { class: "joy-funnel-footer__right" }, sr = /* @__PURE__ */ B({
3809
3810
  __name: "VJoyFunnelFooter",
3810
3811
  setup(e) {
3811
- return (t, n) => (d(), g("footer", rr, [
3812
- b("div", ir, [
3812
+ return (t, n) => (d(), g("footer", lr, [
3813
+ b("div", rr, [
3813
3814
  k(t.$slots, "footer-left", {}, void 0, !0)
3814
3815
  ]),
3815
- b("div", sr, [
3816
+ b("div", ir, [
3816
3817
  k(t.$slots, "footer-right", {}, void 0, !0)
3817
3818
  ])
3818
3819
  ]));
3819
3820
  }
3820
- }), yc = /* @__PURE__ */ F(ur, [["__scopeId", "data-v-bdeeb2bd"]]), cr = { class: "joy-header" }, dr = { class: "joy-header__left" }, fr = { class: "joy-header__right" }, yr = /* @__PURE__ */ B({
3821
+ }), fc = /* @__PURE__ */ F(sr, [["__scopeId", "data-v-bdeeb2bd"]]), ur = { class: "joy-header" }, cr = { class: "joy-header__left" }, dr = { class: "joy-header__right" }, fr = /* @__PURE__ */ B({
3821
3822
  __name: "VJoyHeader",
3822
3823
  setup(e) {
3823
- return (t, n) => (d(), g("header", cr, [
3824
- b("div", dr, [
3824
+ return (t, n) => (d(), g("header", ur, [
3825
+ b("div", cr, [
3825
3826
  k(t.$slots, "header-left", {}, void 0, !0)
3826
3827
  ]),
3827
- b("div", fr, [
3828
+ b("div", dr, [
3828
3829
  k(t.$slots, "header-right", {}, void 0, !0)
3829
3830
  ])
3830
3831
  ]));
3831
3832
  }
3832
- }), vc = /* @__PURE__ */ F(yr, [["__scopeId", "data-v-7928856e"]]), vr = { class: "joy-highlight__decorator" }, pr = { class: "joy-highlight__text" }, mr = { key: 0 }, hr = /* @__PURE__ */ B({
3833
+ }), yc = /* @__PURE__ */ F(fr, [["__scopeId", "data-v-7928856e"]]), yr = { class: "joy-highlight__decorator" }, vr = { class: "joy-highlight__text" }, pr = { key: 0 }, mr = /* @__PURE__ */ B({
3833
3834
  __name: "VJoyHighlight",
3834
3835
  props: {
3835
3836
  accent: {
@@ -3856,7 +3857,7 @@ const cl = /* @__PURE__ */ B({
3856
3857
  }
3857
3858
  },
3858
3859
  setup(e, { expose: t }) {
3859
- const n = e, o = V(() => n.icon ? n.icon : pn(n.level));
3860
+ const n = e, o = I(() => n.icon ? n.icon : pn(n.level));
3860
3861
  return t({
3861
3862
  getRelevantIcon: o
3862
3863
  }), (a, r) => (d(), g("div", {
@@ -3870,7 +3871,7 @@ const cl = /* @__PURE__ */ B({
3870
3871
  }
3871
3872
  ])
3872
3873
  }, [
3873
- b("div", vr, [
3874
+ b("div", yr, [
3874
3875
  k(a.$slots, "highlight-decorator", {}, () => [
3875
3876
  e.displayIcon ? (d(), L(G, {
3876
3877
  key: 0,
@@ -3878,15 +3879,15 @@ const cl = /* @__PURE__ */ B({
3878
3879
  }, null, 8, ["name"])) : j("", !0)
3879
3880
  ], !0)
3880
3881
  ]),
3881
- b("div", pr, [
3882
- a.$slots["highlight-title"] ? (d(), g("strong", mr, [
3882
+ b("div", vr, [
3883
+ a.$slots["highlight-title"] ? (d(), g("strong", pr, [
3883
3884
  k(a.$slots, "highlight-title", {}, void 0, !0)
3884
3885
  ])) : j("", !0),
3885
3886
  k(a.$slots, "default", {}, void 0, !0)
3886
3887
  ])
3887
3888
  ], 2));
3888
3889
  }
3889
- }), pc = /* @__PURE__ */ F(hr, [["__scopeId", "data-v-e5c2ff23"]]), br = ["aria-label"], gr = /* @__PURE__ */ B({
3890
+ }), vc = /* @__PURE__ */ F(mr, [["__scopeId", "data-v-e5c2ff23"]]), hr = ["aria-label"], br = /* @__PURE__ */ B({
3890
3891
  __name: "VJoyIndicator",
3891
3892
  props: {
3892
3893
  /** Value is used for the parent v-model. Mandatory */
@@ -3916,10 +3917,10 @@ const cl = /* @__PURE__ */ B({
3916
3917
  type: "button",
3917
3918
  class: E(["joy-indicator--button", { "joy-indicator--button-selected": e.selected }]),
3918
3919
  "aria-label": e.ariaLabel || e.value.toString()
3919
- }, null, 10, br)
3920
+ }, null, 10, hr)
3920
3921
  ], 2));
3921
3922
  }
3922
- }), wr = /* @__PURE__ */ F(gr, [["__scopeId", "data-v-2babb982"]]), kr = /* @__PURE__ */ B({
3923
+ }), gr = /* @__PURE__ */ F(br, [["__scopeId", "data-v-2babb982"]]), wr = /* @__PURE__ */ B({
3923
3924
  __name: "VJoyIndicators",
3924
3925
  props: {
3925
3926
  variant: {
@@ -3932,7 +3933,7 @@ const cl = /* @__PURE__ */ B({
3932
3933
  },
3933
3934
  emits: ["update:modelValue"],
3934
3935
  setup(e, { expose: t, emit: n }) {
3935
- const o = e, a = n, r = oe(), l = C(o.modelValue), s = V(() => {
3936
+ const o = e, a = n, r = oe(), l = C(o.modelValue), s = I(() => {
3936
3937
  const f = r.default();
3937
3938
  return f.length === 1 && typeof f[0].type != "object" ? f[0].children.filter(u) : f.filter(u);
3938
3939
  });
@@ -3957,7 +3958,7 @@ const cl = /* @__PURE__ */ B({
3957
3958
  }), (f, y) => (d(), g("ul", {
3958
3959
  class: E(["joy-indicators", `joy-indicators--${e.variant}`])
3959
3960
  }, [
3960
- (d(!0), g(Q, null, te(s.value, (p) => (d(), L(wr, X({
3961
+ (d(!0), g(Q, null, te(s.value, (p) => (d(), L(gr, X({
3961
3962
  key: p.props.value,
3962
3963
  ref_for: !0
3963
3964
  }, { ...p.props, variant: e.variant }, {
@@ -3966,7 +3967,7 @@ const cl = /* @__PURE__ */ B({
3966
3967
  }), null, 16, ["selected", "onClick"]))), 128))
3967
3968
  ], 2));
3968
3969
  }
3969
- }), mc = /* @__PURE__ */ F(kr, [["__scopeId", "data-v-f2dd63e9"]]), jr = ["id", "name", "required", "disabled", "readonly", "type", "value"], Sr = ["data-unit"], _r = /* @__PURE__ */ B({
3970
+ }), pc = /* @__PURE__ */ F(wr, [["__scopeId", "data-v-f2dd63e9"]]), kr = ["id", "name", "required", "disabled", "readonly", "type", "value"], jr = ["data-unit"], Sr = /* @__PURE__ */ B({
3970
3971
  inheritAttrs: !1,
3971
3972
  __name: "VJoyInput",
3972
3973
  props: {
@@ -4044,13 +4045,13 @@ const cl = /* @__PURE__ */ B({
4044
4045
  setup(e, { expose: t, emit: n }) {
4045
4046
  const o = n, a = e, r = Ie("VJoyWrapperContext", {}), l = C(), s = C(), i = Ee(), u = oe(), c = C(!1), f = C(!1);
4046
4047
  zt(l, a.autofocus);
4047
- const y = V(() => typeof a.modelValue == "number" || !a.clearable || a.unit || !a.modelValue ? !1 : a.modelValue.length > 0 && !a.unit), p = V(() => u.default && u.default()), v = V(() => Object.keys(r).length > 0), m = C(a.type), h = V(() => a.type === "password" && !!a.modelValue);
4048
+ const y = I(() => typeof a.modelValue == "number" || !a.clearable || a.unit || !a.modelValue ? !1 : a.modelValue.length > 0 && !a.unit), p = I(() => u.default && u.default()), v = I(() => Object.keys(r).length > 0), m = C(a.type), h = I(() => a.type === "password" && !!a.modelValue);
4048
4049
  lo(() => {
4049
4050
  m.value = a.unit ? "number" : a.type;
4050
4051
  });
4051
- function _() {
4052
- var I;
4053
- a.readonly || (I = l.value) == null || I.focus();
4052
+ function $() {
4053
+ var V;
4054
+ a.readonly || (V = l.value) == null || V.focus();
4054
4055
  }
4055
4056
  const S = {
4056
4057
  onFocus: () => {
@@ -4059,27 +4060,27 @@ const cl = /* @__PURE__ */ B({
4059
4060
  onBlur: () => {
4060
4061
  c.value = !1;
4061
4062
  },
4062
- onWheelScroll(I) {
4063
- a.type === "number" && I.preventDefault();
4063
+ onWheelScroll(V) {
4064
+ a.type === "number" && V.preventDefault();
4064
4065
  },
4065
- onInput: (I) => {
4066
- let P = I.target.value;
4066
+ onInput: (V) => {
4067
+ let P = V.target.value;
4067
4068
  a.modelModifiers.lazy || o("update:modelValue", P);
4068
4069
  },
4069
- onChange: (I) => {
4070
- let P = I.target.value;
4070
+ onChange: (V) => {
4071
+ let P = V.target.value;
4071
4072
  a.modelModifiers.lazy && o("update:modelValue", P);
4072
4073
  },
4073
4074
  clearValue: () => {
4074
4075
  a.disabled || o("update:modelValue", "");
4075
4076
  },
4076
- togglePassword: (I) => {
4077
- I.preventDefault(), f.value = !f.value, f.value ? m.value = "text" : m.value = "password";
4077
+ togglePassword: (V) => {
4078
+ V.preventDefault(), f.value = !f.value, f.value ? m.value = "text" : m.value = "password";
4078
4079
  }
4079
4080
  };
4080
4081
  return t({
4081
- focus: _
4082
- }), (I, P) => (d(), g("div", {
4082
+ focus: $
4083
+ }), (V, P) => (d(), g("div", {
4083
4084
  ref_key: "root",
4084
4085
  ref: s,
4085
4086
  class: E([`joy-input--${a.size}`])
@@ -4104,7 +4105,7 @@ const cl = /* @__PURE__ */ B({
4104
4105
  size: e.labelSize
4105
4106
  }, {
4106
4107
  default: O(() => [
4107
- k(I.$slots, "default", {}, () => [
4108
+ k(V.$slots, "default", {}, () => [
4108
4109
  W(D(e.label), 1)
4109
4110
  ], !0)
4110
4111
  ]),
@@ -4121,7 +4122,7 @@ const cl = /* @__PURE__ */ B({
4121
4122
  }
4122
4123
  ])
4123
4124
  }, [
4124
- b("input", X(I.$attrs, {
4125
+ b("input", X(V.$attrs, {
4125
4126
  id: e.id || e.name,
4126
4127
  ref_key: "input",
4127
4128
  ref: l,
@@ -4147,7 +4148,7 @@ const cl = /* @__PURE__ */ B({
4147
4148
  (...z) => S.onChange && S.onChange(...z)),
4148
4149
  onWheel: P[4] || (P[4] = //@ts-ignore
4149
4150
  (...z) => S.onWheelScroll && S.onWheelScroll(...z))
4150
- }), null, 16, jr),
4151
+ }), null, 16, kr),
4151
4152
  y.value ? (d(), L(ce, {
4152
4153
  key: 0,
4153
4154
  class: "joy-input--clear",
@@ -4172,12 +4173,12 @@ const cl = /* @__PURE__ */ B({
4172
4173
  key: 3,
4173
4174
  "data-unit": e.unit,
4174
4175
  class: "joy-input--unit"
4175
- }, null, 8, Sr)) : j("", !0)
4176
+ }, null, 8, jr)) : j("", !0)
4176
4177
  ], 2)
4177
4178
  ], 2)
4178
4179
  ], 2));
4179
4180
  }
4180
- }), hc = /* @__PURE__ */ F(_r, [["__scopeId", "data-v-ccd7525a"]]), $r = ["href"], Cr = { class: "joy-link__text" }, xr = /* @__PURE__ */ B({
4181
+ }), mc = /* @__PURE__ */ F(Sr, [["__scopeId", "data-v-ccd7525a"]]), $r = ["href"], _r = { class: "joy-link__text" }, Cr = /* @__PURE__ */ B({
4181
4182
  __name: "VJoyLink",
4182
4183
  props: {
4183
4184
  href: {
@@ -4199,14 +4200,14 @@ const cl = /* @__PURE__ */ B({
4199
4200
  key: 0,
4200
4201
  name: e.icon
4201
4202
  }, null, 8, ["name"])) : j("", !0),
4202
- b("span", Cr, [
4203
+ b("span", _r, [
4203
4204
  k(t.$slots, "default", {}, () => [
4204
4205
  W(D(e.text), 1)
4205
4206
  ], !0)
4206
4207
  ])
4207
4208
  ], 16, $r));
4208
4209
  }
4209
- }), bc = /* @__PURE__ */ F(xr, [["__scopeId", "data-v-9cfadbae"]]), Tr = { class: "joy-list-item__left" }, Vr = { class: "joy-font-primary-300 joy-m-0" }, Ir = { class: "joy-list-item__right" }, Er = /* @__PURE__ */ B({
4210
+ }), hc = /* @__PURE__ */ F(Cr, [["__scopeId", "data-v-9cfadbae"]]), xr = { class: "joy-list-item__left" }, Tr = { class: "joy-font-primary-300 joy-m-0" }, Vr = { class: "joy-list-item__right" }, Ir = /* @__PURE__ */ B({
4210
4211
  __name: "VJoyListItem",
4211
4212
  props: {
4212
4213
  icon: {}
@@ -4224,17 +4225,17 @@ const cl = /* @__PURE__ */ B({
4224
4225
  justify: "space-between"
4225
4226
  }, {
4226
4227
  default: O(() => [
4227
- b("div", Tr, [
4228
+ b("div", xr, [
4228
4229
  t.icon ? (d(), L(G, {
4229
4230
  key: 0,
4230
4231
  class: "joy-p-3 joy-list-item__left-icon",
4231
4232
  name: t.icon
4232
4233
  }, null, 8, ["name"])) : j("", !0),
4233
- b("p", Vr, [
4234
+ b("p", Tr, [
4234
4235
  k(t.$slots, "list-item-left", {}, void 0, !0)
4235
4236
  ])
4236
4237
  ]),
4237
- b("div", Ir, [
4238
+ b("div", Vr, [
4238
4239
  k(t.$slots, "list-item-right", {}, void 0, !0)
4239
4240
  ])
4240
4241
  ]),
@@ -4242,7 +4243,7 @@ const cl = /* @__PURE__ */ B({
4242
4243
  })
4243
4244
  ]));
4244
4245
  }
4245
- }), gc = /* @__PURE__ */ F(Er, [["__scopeId", "data-v-6c3750f0"]]), Lr = ["tabindex", "aria-activedescendant", "aria-label"], Ar = ["aria-disabled", "aria-current", "title", "aria-label", ".dataModel", "onClick"], Br = { "aria-hidden": "true" }, Fr = /* @__PURE__ */ B({
4246
+ }), bc = /* @__PURE__ */ F(Ir, [["__scopeId", "data-v-6c3750f0"]]), Er = ["tabindex", "aria-activedescendant", "aria-label"], Lr = ["aria-disabled", "aria-current", "title", "aria-label", ".dataModel", "onClick"], Ar = { "aria-hidden": "true" }, Br = /* @__PURE__ */ B({
4246
4247
  __name: "VJoyMenu",
4247
4248
  props: {
4248
4249
  /**
@@ -4329,7 +4330,7 @@ const cl = /* @__PURE__ */ B({
4329
4330
  role: "menuitem",
4330
4331
  onClick: (h) => s(m)
4331
4332
  }, [
4332
- b("div", Br, [
4333
+ b("div", Ar, [
4333
4334
  k(y.$slots, "menu-item", X({ ref_for: !0 }, m), () => [
4334
4335
  m.icon ? (d(), L(G, {
4335
4336
  key: 0,
@@ -4338,15 +4339,15 @@ const cl = /* @__PURE__ */ B({
4338
4339
  b("span", null, D(m.label), 1)
4339
4340
  ], !0)
4340
4341
  ])
4341
- ], 42, Ar)), [
4342
+ ], 42, Lr)), [
4342
4343
  [v, { id: u(m) }]
4343
4344
  ])), 128))
4344
- ], 40, Lr);
4345
+ ], 40, Er);
4345
4346
  };
4346
4347
  }
4347
- }), wc = /* @__PURE__ */ F(Fr, [["__scopeId", "data-v-895583e2"]]), Nr = ["id"], zr = {
4348
+ }), gc = /* @__PURE__ */ F(Br, [["__scopeId", "data-v-895583e2"]]), Fr = ["id"], Nr = {
4348
4349
  class: /* @__PURE__ */ E(["joy-multi-checkbox"])
4349
- }, Pr = /* @__PURE__ */ B({
4350
+ }, zr = /* @__PURE__ */ B({
4350
4351
  __name: "VJoyMultiCheckbox",
4351
4352
  props: {
4352
4353
  /** To render the list of checkboxes you have to use this property. See "Controls" for object model */
@@ -4408,7 +4409,7 @@ const cl = /* @__PURE__ */ B({
4408
4409
  ]),
4409
4410
  _: 1
4410
4411
  }, 8, ["required", "optional-label", "size"])) : j("", !0),
4411
- b("div", zr, [
4412
+ b("div", Nr, [
4412
4413
  (d(!0), g(Q, null, te(e.options, (i) => (d(), L(gn, {
4413
4414
  id: i.id,
4414
4415
  key: i.id,
@@ -4425,9 +4426,9 @@ const cl = /* @__PURE__ */ B({
4425
4426
  _: 2
4426
4427
  }, 1032, ["id", "name", "value", "checked", "onUpdate:checked"]))), 128))
4427
4428
  ])
4428
- ], 8, Nr));
4429
+ ], 8, Fr));
4429
4430
  }
4430
- }), kc = /* @__PURE__ */ F(Pr, [["__scopeId", "data-v-04da9dc2"]]), an = /* @__PURE__ */ B({
4431
+ }), wc = /* @__PURE__ */ F(zr, [["__scopeId", "data-v-04da9dc2"]]), an = /* @__PURE__ */ B({
4431
4432
  __name: "PaginationIcon",
4432
4433
  props: {
4433
4434
  label: {
@@ -4458,7 +4459,7 @@ const cl = /* @__PURE__ */ B({
4458
4459
  onClick: n[0] || (n[0] = (o) => t.$emit("click"))
4459
4460
  }, null, 8, ["label", "title", "icon", "disabled"]));
4460
4461
  }
4461
- }), Or = ["aria-label", "data-current"], Dr = ["onClick"], Rr = ["aria-current"], Mr = 6, Jr = /* @__PURE__ */ B({
4462
+ }), Pr = ["aria-label", "data-current"], Or = ["onClick"], Dr = ["aria-current"], Rr = 6, Mr = /* @__PURE__ */ B({
4462
4463
  __name: "VJoyPagination",
4463
4464
  props: {
4464
4465
  /** Current page number */
@@ -4489,10 +4490,10 @@ const cl = /* @__PURE__ */ B({
4489
4490
  },
4490
4491
  emits: ["update:current-page"],
4491
4492
  setup(e, { emit: t }) {
4492
- const n = e, o = t, a = V(() => {
4493
+ const n = e, o = t, a = I(() => {
4493
4494
  const c = l.value.length;
4494
4495
  return l.value[c - 1] !== l.value[c - 2] + 1;
4495
- }), r = V(() => l.value[0] !== l.value[1] - 1), l = V(() => n.totalPages === 1 ? [1] : n.totalPages < Mr ? i(2, n.totalPages - 1) : u(n.currentPage));
4496
+ }), r = I(() => l.value[0] !== l.value[1] - 1), l = I(() => n.totalPages === 1 ? [1] : n.totalPages < Rr ? i(2, n.totalPages - 1) : u(n.currentPage));
4496
4497
  function s(c, f) {
4497
4498
  n.currentPage === 1 && f === "prev" || n.currentPage === n.totalPages && f === "next" || o("update:current-page", c);
4498
4499
  }
@@ -4542,9 +4543,9 @@ const cl = /* @__PURE__ */ B({
4542
4543
  b("button", {
4543
4544
  type: "button",
4544
4545
  "aria-current": y === e.currentPage ? "true" : "false"
4545
- }, D(y), 9, Rr)
4546
+ }, D(y), 9, Dr)
4546
4547
  ], !0)
4547
- ], 10, Dr))), 128))
4548
+ ], 10, Or))), 128))
4548
4549
  ])
4549
4550
  ]),
4550
4551
  b("li", {
@@ -4560,12 +4561,12 @@ const cl = /* @__PURE__ */ B({
4560
4561
  ], !0)
4561
4562
  ])
4562
4563
  ])
4563
- ], 8, Or));
4564
+ ], 8, Pr));
4564
4565
  }
4565
- }), jc = /* @__PURE__ */ F(Jr, [["__scopeId", "data-v-7e82041f"]]), qr = { class: "joy-screen-loader__content" }, Hr = {
4566
+ }), kc = /* @__PURE__ */ F(Mr, [["__scopeId", "data-v-7e82041f"]]), Jr = { class: "joy-screen-loader__content" }, qr = {
4566
4567
  key: 0,
4567
4568
  class: "joy-screen-loader__content"
4568
- }, Wr = /* @__PURE__ */ B({
4569
+ }, Hr = /* @__PURE__ */ B({
4569
4570
  __name: "VJoyScreenLoader",
4570
4571
  props: {
4571
4572
  /** Light or dark. Changes the spinner and background color */
@@ -4583,31 +4584,31 @@ const cl = /* @__PURE__ */ B({
4583
4584
  return (t, n) => (d(), g("div", {
4584
4585
  class: E(["joy-screen-loader", `joy-screen-loader--${e.color}`, { "joy-screen-loader--overlay": e.overlay }])
4585
4586
  }, [
4586
- b("div", qr, [
4587
+ b("div", Jr, [
4587
4588
  k(t.$slots, "spinner", {}, () => [
4588
4589
  q(mn, {
4589
4590
  color: e.color === "dark" ? "white" : "teal"
4590
4591
  }, null, 8, ["color"])
4591
4592
  ], !0),
4592
- t.$slots.content ? (d(), g("div", Hr, [
4593
+ t.$slots.content ? (d(), g("div", qr, [
4593
4594
  k(t.$slots, "content", {}, void 0, !0)
4594
4595
  ])) : j("", !0)
4595
4596
  ])
4596
4597
  ], 2));
4597
4598
  }
4598
- }), Tn = /* @__PURE__ */ F(Wr, [["__scopeId", "data-v-266b7e2a"]]), Ur = {
4599
+ }), Tn = /* @__PURE__ */ F(Hr, [["__scopeId", "data-v-266b7e2a"]]), Wr = {
4599
4600
  key: 0,
4600
4601
  class: /* @__PURE__ */ E(["joy-panel__header"])
4601
- }, Kr = {
4602
+ }, Ur = {
4602
4603
  key: 1,
4603
4604
  class: "joy-panel__header-action"
4604
- }, Gr = {
4605
+ }, Kr = {
4605
4606
  key: 2,
4606
4607
  class: "joy-panel__header-subtitle"
4607
- }, Yr = { class: "joy-panel__body" }, Zr = {
4608
+ }, Gr = { class: "joy-panel__body" }, Yr = {
4608
4609
  key: 1,
4609
4610
  class: "joy-panel__footer"
4610
- }, Xr = /* @__PURE__ */ B({
4611
+ }, Zr = /* @__PURE__ */ B({
4611
4612
  __name: "VJoyPanel",
4612
4613
  props: {
4613
4614
  flex: {
@@ -4639,7 +4640,7 @@ const cl = /* @__PURE__ */ B({
4639
4640
  }
4640
4641
  },
4641
4642
  setup(e) {
4642
- const t = Ie("VJoyWrapperContext", {}), n = V(() => Object.keys(t).length > 0), o = oe(), a = C(), r = V(() => !!o["panel-title"] || !!o["panel-subtitle"] || !!o["panel-title-action"]);
4643
+ const t = Ie("VJoyWrapperContext", {}), n = I(() => Object.keys(t).length > 0), o = oe(), a = C(), r = I(() => !!o["panel-title"] || !!o["panel-subtitle"] || !!o["panel-title-action"]);
4643
4644
  return (l, s) => (d(), g("section", {
4644
4645
  ref_key: "panel",
4645
4646
  ref: a,
@@ -4654,24 +4655,24 @@ const cl = /* @__PURE__ */ B({
4654
4655
  }
4655
4656
  ])
4656
4657
  }, [
4657
- r.value ? (d(), g("header", Ur, [
4658
+ r.value ? (d(), g("header", Wr, [
4658
4659
  o["panel-title"] ? (d(), g("div", {
4659
4660
  key: 0,
4660
4661
  class: E(["joy-panel__header-title", `joy-panel__header-title--${e.titleSize}`])
4661
4662
  }, [
4662
4663
  k(l.$slots, "panel-title", {}, void 0, !0)
4663
4664
  ], 2)) : j("", !0),
4664
- o["panel-title-action"] ? (d(), g("div", Kr, [
4665
+ o["panel-title-action"] ? (d(), g("div", Ur, [
4665
4666
  k(l.$slots, "panel-title-action", {}, void 0, !0)
4666
4667
  ])) : j("", !0),
4667
- o["panel-subtitle"] ? (d(), g("div", Gr, [
4668
+ o["panel-subtitle"] ? (d(), g("div", Kr, [
4668
4669
  k(l.$slots, "panel-subtitle", {}, void 0, !0)
4669
4670
  ])) : j("", !0)
4670
4671
  ])) : j("", !0),
4671
- b("div", Yr, [
4672
+ b("div", Gr, [
4672
4673
  k(l.$slots, "panel-body", {}, void 0, !0)
4673
4674
  ]),
4674
- o["panel-action"] ? (d(), g("footer", Zr, [
4675
+ o["panel-action"] ? (d(), g("footer", Yr, [
4675
4676
  k(l.$slots, "panel-action", {}, void 0, !0)
4676
4677
  ])) : j("", !0),
4677
4678
  e.loading ? (d(), L(Tn, {
@@ -4686,40 +4687,40 @@ const cl = /* @__PURE__ */ B({
4686
4687
  }, 8, ["color"])) : j("", !0)
4687
4688
  ], 6));
4688
4689
  }
4689
- }), Sc = /* @__PURE__ */ F(Xr, [["__scopeId", "data-v-bf00f207"]]), Qr = { class: "joy-panel-section" }, ei = {
4690
+ }), jc = /* @__PURE__ */ F(Zr, [["__scopeId", "data-v-bf00f207"]]), Xr = { class: "joy-panel-section" }, Qr = {
4690
4691
  key: 0,
4691
4692
  class: "joy-panel-section__title"
4692
- }, ti = {
4693
+ }, ei = {
4693
4694
  key: 1,
4694
4695
  class: "joy-panel-section__content"
4695
- }, ni = /* @__PURE__ */ B({
4696
+ }, ti = /* @__PURE__ */ B({
4696
4697
  __name: "VJoyPanelSection",
4697
4698
  setup(e) {
4698
4699
  const t = oe();
4699
- return (n, o) => (d(), g("div", Qr, [
4700
- Y(t)["panel-section-title"] ? (d(), g("div", ei, [
4700
+ return (n, o) => (d(), g("div", Xr, [
4701
+ Y(t)["panel-section-title"] ? (d(), g("div", Qr, [
4701
4702
  k(n.$slots, "panel-section-title", {}, void 0, !0)
4702
4703
  ])) : j("", !0),
4703
- Y(t)["panel-section-content"] ? (d(), g("div", ti, [
4704
+ Y(t)["panel-section-content"] ? (d(), g("div", ei, [
4704
4705
  k(n.$slots, "panel-section-content", {}, void 0, !0)
4705
4706
  ])) : j("", !0)
4706
4707
  ]));
4707
4708
  }
4708
- }), _c = /* @__PURE__ */ F(ni, [["__scopeId", "data-v-d88510ab"]]), oi = {}, ai = { class: "joy-product-tour-spotlight" };
4709
- function li(e, t) {
4710
- return d(), g("div", ai);
4709
+ }), Sc = /* @__PURE__ */ F(ti, [["__scopeId", "data-v-d88510ab"]]), ni = {}, oi = { class: "joy-product-tour-spotlight" };
4710
+ function ai(e, t) {
4711
+ return d(), g("div", oi);
4711
4712
  }
4712
- const ri = /* @__PURE__ */ F(oi, [["render", li], ["__scopeId", "data-v-fbaf8e78"]]), _t = Math.min, ii = Math.max, si = {
4713
+ const li = /* @__PURE__ */ F(ni, [["render", ai], ["__scopeId", "data-v-fbaf8e78"]]), $t = Math.min, ri = Math.max, ii = {
4713
4714
  left: "right",
4714
4715
  right: "left",
4715
4716
  bottom: "top",
4716
4717
  top: "bottom"
4717
- }, ui = {
4718
+ }, si = {
4718
4719
  start: "end",
4719
4720
  end: "start"
4720
4721
  };
4721
- function $t(e, t, n) {
4722
- return ii(e, _t(t, n));
4722
+ function _t(e, t, n) {
4723
+ return ri(e, $t(t, n));
4723
4724
  }
4724
4725
  function xe(e, t) {
4725
4726
  return typeof e == "function" ? e(t) : e;
@@ -4742,20 +4743,20 @@ function Te(e) {
4742
4743
  function Dt(e) {
4743
4744
  return Pt(Te(e));
4744
4745
  }
4745
- function ci(e, t, n) {
4746
+ function ui(e, t, n) {
4746
4747
  n === void 0 && (n = !1);
4747
4748
  const o = Ye(e), a = Dt(e), r = Ot(a);
4748
4749
  let l = a === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
4749
4750
  return t.reference[r] > t.floating[r] && (l = it(l)), [l, it(l)];
4750
4751
  }
4751
- function di(e) {
4752
+ function ci(e) {
4752
4753
  const t = it(e);
4753
4754
  return [Ct(e), t, Ct(t)];
4754
4755
  }
4755
4756
  function Ct(e) {
4756
- return e.replace(/start|end/g, (t) => ui[t]);
4757
+ return e.replace(/start|end/g, (t) => si[t]);
4757
4758
  }
4758
- function fi(e, t, n) {
4759
+ function di(e, t, n) {
4759
4760
  const o = ["left", "right"], a = ["right", "left"], r = ["top", "bottom"], l = ["bottom", "top"];
4760
4761
  switch (e) {
4761
4762
  case "top":
@@ -4768,15 +4769,15 @@ function fi(e, t, n) {
4768
4769
  return [];
4769
4770
  }
4770
4771
  }
4771
- function yi(e, t, n, o) {
4772
+ function fi(e, t, n, o) {
4772
4773
  const a = Ye(e);
4773
- let r = fi(ge(e), n === "start", o);
4774
+ let r = di(ge(e), n === "start", o);
4774
4775
  return a && (r = r.map((l) => l + "-" + a), t && (r = r.concat(r.map(Ct)))), r;
4775
4776
  }
4776
4777
  function it(e) {
4777
- return e.replace(/left|right|bottom|top/g, (t) => si[t]);
4778
+ return e.replace(/left|right|bottom|top/g, (t) => ii[t]);
4778
4779
  }
4779
- function vi(e) {
4780
+ function yi(e) {
4780
4781
  return {
4781
4782
  top: 0,
4782
4783
  right: 0,
@@ -4786,7 +4787,7 @@ function vi(e) {
4786
4787
  };
4787
4788
  }
4788
4789
  function Vn(e) {
4789
- return typeof e != "number" ? vi(e) : {
4790
+ return typeof e != "number" ? yi(e) : {
4790
4791
  top: e,
4791
4792
  right: e,
4792
4793
  bottom: e,
@@ -4859,7 +4860,7 @@ function ln(e, t, n) {
4859
4860
  }
4860
4861
  return p;
4861
4862
  }
4862
- const pi = async (e, t, n) => {
4863
+ const vi = async (e, t, n) => {
4863
4864
  const {
4864
4865
  placement: o = "bottom",
4865
4866
  strategy: a = "absolute",
@@ -4877,13 +4878,13 @@ const pi = async (e, t, n) => {
4877
4878
  for (let m = 0; m < s.length; m++) {
4878
4879
  const {
4879
4880
  name: h,
4880
- fn: _
4881
+ fn: $
4881
4882
  } = s[m], {
4882
4883
  x: S,
4883
- y: I,
4884
+ y: V,
4884
4885
  data: P,
4885
4886
  reset: z
4886
- } = await _({
4887
+ } = await $({
4887
4888
  x: c,
4888
4889
  y: f,
4889
4890
  initialPlacement: o,
@@ -4897,7 +4898,7 @@ const pi = async (e, t, n) => {
4897
4898
  floating: t
4898
4899
  }
4899
4900
  });
4900
- c = S ?? c, f = I ?? f, p = {
4901
+ c = S ?? c, f = V ?? f, p = {
4901
4902
  ...p,
4902
4903
  [h]: {
4903
4904
  ...p[h],
@@ -4936,7 +4937,7 @@ async function In(e, t) {
4936
4937
  elementContext: f = "floating",
4937
4938
  altBoundary: y = !1,
4938
4939
  padding: p = 0
4939
- } = xe(t, e), v = Vn(p), h = s[y ? f === "floating" ? "reference" : "floating" : f], _ = st(await r.getClippingRect({
4940
+ } = xe(t, e), v = Vn(p), h = s[y ? f === "floating" ? "reference" : "floating" : f], $ = st(await r.getClippingRect({
4940
4941
  element: (n = await (r.isElement == null ? void 0 : r.isElement(h))) == null || n ? h : h.contextElement || await (r.getDocumentElement == null ? void 0 : r.getDocumentElement(s.floating)),
4941
4942
  boundary: u,
4942
4943
  rootBoundary: c,
@@ -4946,7 +4947,7 @@ async function In(e, t) {
4946
4947
  y: a,
4947
4948
  width: l.floating.width,
4948
4949
  height: l.floating.height
4949
- } : l.reference, I = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(s.floating)), P = await (r.isElement == null ? void 0 : r.isElement(I)) ? await (r.getScale == null ? void 0 : r.getScale(I)) || {
4950
+ } : l.reference, V = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(s.floating)), P = await (r.isElement == null ? void 0 : r.isElement(V)) ? await (r.getScale == null ? void 0 : r.getScale(V)) || {
4950
4951
  x: 1,
4951
4952
  y: 1
4952
4953
  } : {
@@ -4955,17 +4956,17 @@ async function In(e, t) {
4955
4956
  }, z = st(r.convertOffsetParentRelativeRectToViewportRelativeRect ? await r.convertOffsetParentRelativeRectToViewportRelativeRect({
4956
4957
  elements: s,
4957
4958
  rect: S,
4958
- offsetParent: I,
4959
+ offsetParent: V,
4959
4960
  strategy: i
4960
4961
  }) : S);
4961
4962
  return {
4962
- top: (_.top - z.top + v.top) / P.y,
4963
- bottom: (z.bottom - _.bottom + v.bottom) / P.y,
4964
- left: (_.left - z.left + v.left) / P.x,
4965
- right: (z.right - _.right + v.right) / P.x
4963
+ top: ($.top - z.top + v.top) / P.y,
4964
+ bottom: (z.bottom - $.bottom + v.bottom) / P.y,
4965
+ left: ($.left - z.left + v.left) / P.x,
4966
+ right: (z.right - $.right + v.right) / P.x
4966
4967
  };
4967
4968
  }
4968
- const mi = (e) => ({
4969
+ const pi = (e) => ({
4969
4970
  name: "arrow",
4970
4971
  options: e,
4971
4972
  async fn(t) {
@@ -4986,10 +4987,10 @@ const mi = (e) => ({
4986
4987
  const f = Vn(c), y = {
4987
4988
  x: n,
4988
4989
  y: o
4989
- }, p = Dt(a), v = Ot(p), m = await l.getDimensions(u), h = p === "y", _ = h ? "top" : "left", S = h ? "bottom" : "right", I = h ? "clientHeight" : "clientWidth", P = r.reference[v] + r.reference[p] - y[p] - r.floating[v], z = y[p] - r.reference[p], A = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(u));
4990
- let w = A ? A[I] : 0;
4991
- (!w || !await (l.isElement == null ? void 0 : l.isElement(A))) && (w = s.floating[I] || r.floating[v]);
4992
- const M = P / 2 - z / 2, T = w / 2 - m[v] / 2 - 1, J = _t(f[_], T), R = _t(f[S], T), $ = J, x = w - m[v] - R, N = w / 2 - m[v] / 2 + M, U = $t($, N, x), H = !i.arrow && Ye(a) != null && N !== U && r.reference[v] / 2 - (N < $ ? J : R) - m[v] / 2 < 0, K = H ? N < $ ? N - $ : N - x : 0;
4990
+ }, p = Dt(a), v = Ot(p), m = await l.getDimensions(u), h = p === "y", $ = h ? "top" : "left", S = h ? "bottom" : "right", V = h ? "clientHeight" : "clientWidth", P = r.reference[v] + r.reference[p] - y[p] - r.floating[v], z = y[p] - r.reference[p], A = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(u));
4991
+ let w = A ? A[V] : 0;
4992
+ (!w || !await (l.isElement == null ? void 0 : l.isElement(A))) && (w = s.floating[V] || r.floating[v]);
4993
+ const M = P / 2 - z / 2, T = w / 2 - m[v] / 2 - 1, J = $t(f[$], T), R = $t(f[S], T), _ = J, x = w - m[v] - R, N = w / 2 - m[v] / 2 + M, U = _t(_, N, x), H = !i.arrow && Ye(a) != null && N !== U && r.reference[v] / 2 - (N < _ ? J : R) - m[v] / 2 < 0, K = H ? N < _ ? N - _ : N - x : 0;
4993
4994
  return {
4994
4995
  [p]: y[p] + K,
4995
4996
  data: {
@@ -5026,19 +5027,19 @@ const mi = (e) => ({
5026
5027
  } = xe(e, t);
5027
5028
  if ((n = r.arrow) != null && n.alignmentOffset)
5028
5029
  return {};
5029
- const _ = ge(a), S = Te(s), I = ge(s) === s, P = await (i.isRTL == null ? void 0 : i.isRTL(u.floating)), z = y || (I || !m ? [it(s)] : di(s)), A = v !== "none";
5030
- !y && A && z.push(...yi(s, m, v, P));
5030
+ const $ = ge(a), S = Te(s), V = ge(s) === s, P = await (i.isRTL == null ? void 0 : i.isRTL(u.floating)), z = y || (V || !m ? [it(s)] : ci(s)), A = v !== "none";
5031
+ !y && A && z.push(...fi(s, m, v, P));
5031
5032
  const w = [s, ...z], M = await In(t, h), T = [];
5032
5033
  let J = ((o = r.flip) == null ? void 0 : o.overflows) || [];
5033
- if (c && T.push(M[_]), f) {
5034
- const N = ci(a, l, P);
5034
+ if (c && T.push(M[$]), f) {
5035
+ const N = ui(a, l, P);
5035
5036
  T.push(M[N[0]], M[N[1]]);
5036
5037
  }
5037
5038
  if (J = [...J, {
5038
5039
  placement: a,
5039
5040
  overflows: T
5040
5041
  }], !T.every((N) => N <= 0)) {
5041
- var R, $;
5042
+ var R, _;
5042
5043
  const N = (((R = r.flip) == null ? void 0 : R.index) || 0) + 1, U = w[N];
5043
5044
  if (U)
5044
5045
  return {
@@ -5050,7 +5051,7 @@ const mi = (e) => ({
5050
5051
  placement: U
5051
5052
  }
5052
5053
  };
5053
- let H = ($ = J.filter((K) => K.overflows[0] <= 0).sort((K, Z) => K.overflows[1] - Z.overflows[1])[0]) == null ? void 0 : $.placement;
5054
+ let H = (_ = J.filter((K) => K.overflows[0] <= 0).sort((K, Z) => K.overflows[1] - Z.overflows[1])[0]) == null ? void 0 : _.placement;
5054
5055
  if (!H)
5055
5056
  switch (p) {
5056
5057
  case "bestFit": {
@@ -5082,7 +5083,7 @@ const mi = (e) => ({
5082
5083
  }
5083
5084
  };
5084
5085
  };
5085
- async function hi(e, t) {
5086
+ async function mi(e, t) {
5086
5087
  const {
5087
5088
  placement: n,
5088
5089
  platform: o,
@@ -5121,7 +5122,7 @@ const Ln = function(e) {
5121
5122
  y: r,
5122
5123
  placement: l,
5123
5124
  middlewareData: s
5124
- } = t, i = await hi(t, e);
5125
+ } = t, i = await mi(t, e);
5125
5126
  return l === ((n = s.offset) == null ? void 0 : n.placement) && (o = s.arrow) != null && o.alignmentOffset ? {} : {
5126
5127
  x: a + i.x,
5127
5128
  y: r + i.y,
@@ -5147,11 +5148,11 @@ const Ln = function(e) {
5147
5148
  limiter: s = {
5148
5149
  fn: (h) => {
5149
5150
  let {
5150
- x: _,
5151
+ x: $,
5151
5152
  y: S
5152
5153
  } = h;
5153
5154
  return {
5154
- x: _,
5155
+ x: $,
5155
5156
  y: S
5156
5157
  };
5157
5158
  }
@@ -5163,12 +5164,12 @@ const Ln = function(e) {
5163
5164
  }, c = await In(t, i), f = Te(ge(a)), y = Pt(f);
5164
5165
  let p = u[y], v = u[f];
5165
5166
  if (r) {
5166
- const h = y === "y" ? "top" : "left", _ = y === "y" ? "bottom" : "right", S = p + c[h], I = p - c[_];
5167
- p = $t(S, p, I);
5167
+ const h = y === "y" ? "top" : "left", $ = y === "y" ? "bottom" : "right", S = p + c[h], V = p - c[$];
5168
+ p = _t(S, p, V);
5168
5169
  }
5169
5170
  if (l) {
5170
- const h = f === "y" ? "top" : "left", _ = f === "y" ? "bottom" : "right", S = v + c[h], I = v - c[_];
5171
- v = $t(S, v, I);
5171
+ const h = f === "y" ? "top" : "left", $ = f === "y" ? "bottom" : "right", S = v + c[h], V = v - c[$];
5172
+ v = _t(S, v, V);
5172
5173
  }
5173
5174
  const m = s.fn({
5174
5175
  ...t,
@@ -5212,12 +5213,12 @@ const Ln = function(e) {
5212
5213
  ...m
5213
5214
  };
5214
5215
  if (i) {
5215
- const I = y === "y" ? "height" : "width", P = r.reference[y] - r.floating[I] + h.mainAxis, z = r.reference[y] + r.reference[I] - h.mainAxis;
5216
+ const V = y === "y" ? "height" : "width", P = r.reference[y] - r.floating[V] + h.mainAxis, z = r.reference[y] + r.reference[V] - h.mainAxis;
5216
5217
  p < P ? p = P : p > z && (p = z);
5217
5218
  }
5218
5219
  if (u) {
5219
- var _, S;
5220
- const I = y === "y" ? "width" : "height", P = ["top", "left"].includes(ge(a)), z = r.reference[f] - r.floating[I] + (P && ((_ = l.offset) == null ? void 0 : _[f]) || 0) + (P ? 0 : h.crossAxis), A = r.reference[f] + r.reference[I] + (P ? 0 : ((S = l.offset) == null ? void 0 : S[f]) || 0) - (P ? h.crossAxis : 0);
5220
+ var $, S;
5221
+ const V = y === "y" ? "width" : "height", P = ["top", "left"].includes(ge(a)), z = r.reference[f] - r.floating[V] + (P && (($ = l.offset) == null ? void 0 : $[f]) || 0) + (P ? 0 : h.crossAxis), A = r.reference[f] + r.reference[V] + (P ? 0 : ((S = l.offset) == null ? void 0 : S[f]) || 0) - (P ? h.crossAxis : 0);
5221
5222
  v < z ? v = z : v > A && (v = A);
5222
5223
  }
5223
5224
  return {
@@ -5262,14 +5263,14 @@ function Ze(e) {
5262
5263
  } = de(e);
5263
5264
  return /auto|scroll|overlay|hidden|clip/.test(t + o + n) && !["inline", "contents"].includes(a);
5264
5265
  }
5265
- function bi(e) {
5266
+ function hi(e) {
5266
5267
  return ["table", "td", "th"].includes(ke(e));
5267
5268
  }
5268
5269
  function Rt(e) {
5269
5270
  const t = Mt(), n = de(e);
5270
5271
  return n.transform !== "none" || n.perspective !== "none" || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((o) => (n.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (n.contain || "").includes(o));
5271
5272
  }
5272
- function gi(e) {
5273
+ function bi(e) {
5273
5274
  let t = Oe(e);
5274
5275
  for (; ye(t) && !mt(t); ) {
5275
5276
  if (Rt(t))
@@ -5346,15 +5347,15 @@ function Pe(e) {
5346
5347
  y: s
5347
5348
  };
5348
5349
  }
5349
- const wi = /* @__PURE__ */ we(0);
5350
+ const gi = /* @__PURE__ */ we(0);
5350
5351
  function Pn(e) {
5351
5352
  const t = ue(e);
5352
- return !Mt() || !t.visualViewport ? wi : {
5353
+ return !Mt() || !t.visualViewport ? gi : {
5353
5354
  x: t.visualViewport.offsetLeft,
5354
5355
  y: t.visualViewport.offsetTop
5355
5356
  };
5356
5357
  }
5357
- function ki(e, t, n) {
5358
+ function wi(e, t, n) {
5358
5359
  return t === void 0 && (t = !1), !n || t && n !== ue(e) ? !1 : t;
5359
5360
  }
5360
5361
  function Ve(e, t, n, o) {
@@ -5362,14 +5363,14 @@ function Ve(e, t, n, o) {
5362
5363
  const a = e.getBoundingClientRect(), r = Jt(e);
5363
5364
  let l = we(1);
5364
5365
  t && (o ? ve(o) && (l = Pe(o)) : l = Pe(e));
5365
- const s = ki(r, n, o) ? Pn(r) : we(0);
5366
+ const s = wi(r, n, o) ? Pn(r) : we(0);
5366
5367
  let i = (a.left + s.x) / l.x, u = (a.top + s.y) / l.y, c = a.width / l.x, f = a.height / l.y;
5367
5368
  if (r) {
5368
5369
  const y = ue(r), p = o && ve(o) ? ue(o) : o;
5369
5370
  let v = y.frameElement;
5370
5371
  for (; v && o && p !== y; ) {
5371
- const m = Pe(v), h = v.getBoundingClientRect(), _ = de(v), S = h.left + (v.clientLeft + parseFloat(_.paddingLeft)) * m.x, I = h.top + (v.clientTop + parseFloat(_.paddingTop)) * m.y;
5372
- i *= m.x, u *= m.y, c *= m.x, f *= m.y, i += S, u += I, v = ue(v).frameElement;
5372
+ const m = Pe(v), h = v.getBoundingClientRect(), $ = de(v), S = h.left + (v.clientLeft + parseFloat($.paddingLeft)) * m.x, V = h.top + (v.clientTop + parseFloat($.paddingTop)) * m.y;
5373
+ i *= m.x, u *= m.y, c *= m.x, f *= m.y, i += S, u += V, v = ue(v).frameElement;
5373
5374
  }
5374
5375
  }
5375
5376
  return st({
@@ -5379,7 +5380,7 @@ function Ve(e, t, n, o) {
5379
5380
  y: u
5380
5381
  });
5381
5382
  }
5382
- function ji(e) {
5383
+ function ki(e) {
5383
5384
  let {
5384
5385
  rect: t,
5385
5386
  offsetParent: n,
@@ -5404,13 +5405,13 @@ function ji(e) {
5404
5405
  y: t.y * s.y - l.scrollTop * s.y + i.y
5405
5406
  };
5406
5407
  }
5407
- function Si(e) {
5408
+ function ji(e) {
5408
5409
  return Array.from(e.getClientRects());
5409
5410
  }
5410
5411
  function On(e) {
5411
5412
  return Ve(pe(e)).left + ht(e).scrollLeft;
5412
5413
  }
5413
- function _i(e) {
5414
+ function Si(e) {
5414
5415
  const t = pe(e), n = ht(e), o = e.ownerDocument.body, a = ze(t.scrollWidth, t.clientWidth, o.scrollWidth, o.clientWidth), r = ze(t.scrollHeight, t.clientHeight, o.scrollHeight, o.clientHeight);
5415
5416
  let l = -n.scrollLeft + On(e);
5416
5417
  const s = -n.scrollTop;
@@ -5436,7 +5437,7 @@ function $i(e, t) {
5436
5437
  y: i
5437
5438
  };
5438
5439
  }
5439
- function Ci(e, t) {
5440
+ function _i(e, t) {
5440
5441
  const n = Ve(e, !0, t === "fixed"), o = n.top + e.clientTop, a = n.left + e.clientLeft, r = ye(e) ? Pe(e) : we(1), l = e.clientWidth * r.x, s = e.clientHeight * r.y, i = a * r.x, u = o * r.y;
5441
5442
  return {
5442
5443
  width: l,
@@ -5450,9 +5451,9 @@ function sn(e, t, n) {
5450
5451
  if (t === "viewport")
5451
5452
  o = $i(e, n);
5452
5453
  else if (t === "document")
5453
- o = _i(pe(e));
5454
+ o = Si(pe(e));
5454
5455
  else if (ve(t))
5455
- o = Ci(t, n);
5456
+ o = _i(t, n);
5456
5457
  else {
5457
5458
  const a = Pn(e);
5458
5459
  o = {
@@ -5467,7 +5468,7 @@ function Dn(e, t) {
5467
5468
  const n = Oe(e);
5468
5469
  return n === t || !ve(n) || mt(n) ? !1 : de(n).position === "fixed" || Dn(n, t);
5469
5470
  }
5470
- function xi(e, t) {
5471
+ function Ci(e, t) {
5471
5472
  const n = t.get(e);
5472
5473
  if (n)
5473
5474
  return n;
@@ -5480,14 +5481,14 @@ function xi(e, t) {
5480
5481
  }
5481
5482
  return t.set(e, o), o;
5482
5483
  }
5483
- function Ti(e) {
5484
+ function xi(e) {
5484
5485
  let {
5485
5486
  element: t,
5486
5487
  boundary: n,
5487
5488
  rootBoundary: o,
5488
5489
  strategy: a
5489
5490
  } = e;
5490
- const l = [...n === "clippingAncestors" ? xi(t, this._c) : [].concat(n), o], s = l[0], i = l.reduce((u, c) => {
5491
+ const l = [...n === "clippingAncestors" ? Ci(t, this._c) : [].concat(n), o], s = l[0], i = l.reduce((u, c) => {
5491
5492
  const f = sn(t, c, a);
5492
5493
  return u.top = ze(f.top, u.top), u.right = xt(f.right, u.right), u.bottom = xt(f.bottom, u.bottom), u.left = ze(f.left, u.left), u;
5493
5494
  }, sn(t, s, a));
@@ -5498,10 +5499,10 @@ function Ti(e) {
5498
5499
  y: i.top
5499
5500
  };
5500
5501
  }
5501
- function Vi(e) {
5502
+ function Ti(e) {
5502
5503
  return zn(e);
5503
5504
  }
5504
- function Ii(e, t, n) {
5505
+ function Vi(e, t, n) {
5505
5506
  const o = ye(t), a = pe(t), r = n === "fixed", l = Ve(e, !0, r, t);
5506
5507
  let s = {
5507
5508
  scrollLeft: 0,
@@ -5528,11 +5529,11 @@ function Rn(e, t) {
5528
5529
  if (!ye(e))
5529
5530
  return n;
5530
5531
  let o = un(e, t);
5531
- for (; o && bi(o) && de(o).position === "static"; )
5532
+ for (; o && hi(o) && de(o).position === "static"; )
5532
5533
  o = un(o, t);
5533
- return o && (ke(o) === "html" || ke(o) === "body" && de(o).position === "static" && !Rt(o)) ? n : o || gi(e) || n;
5534
+ return o && (ke(o) === "html" || ke(o) === "body" && de(o).position === "static" && !Rt(o)) ? n : o || bi(e) || n;
5534
5535
  }
5535
- const Ei = async function(e) {
5536
+ const Ii = async function(e) {
5536
5537
  let {
5537
5538
  reference: t,
5538
5539
  floating: n,
@@ -5540,7 +5541,7 @@ const Ei = async function(e) {
5540
5541
  } = e;
5541
5542
  const a = this.getOffsetParent || Rn, r = this.getDimensions;
5542
5543
  return {
5543
- reference: Ii(t, await a(n), o),
5544
+ reference: Vi(t, await a(n), o),
5544
5545
  floating: {
5545
5546
  x: 0,
5546
5547
  y: 0,
@@ -5548,22 +5549,22 @@ const Ei = async function(e) {
5548
5549
  }
5549
5550
  };
5550
5551
  };
5551
- function Li(e) {
5552
+ function Ei(e) {
5552
5553
  return de(e).direction === "rtl";
5553
5554
  }
5554
- const Ai = {
5555
- convertOffsetParentRelativeRectToViewportRelativeRect: ji,
5555
+ const Li = {
5556
+ convertOffsetParentRelativeRectToViewportRelativeRect: ki,
5556
5557
  getDocumentElement: pe,
5557
- getClippingRect: Ti,
5558
+ getClippingRect: xi,
5558
5559
  getOffsetParent: Rn,
5559
- getElementRects: Ei,
5560
- getClientRects: Si,
5561
- getDimensions: Vi,
5560
+ getElementRects: Ii,
5561
+ getClientRects: ji,
5562
+ getDimensions: Ti,
5562
5563
  getScale: Pe,
5563
5564
  isElement: ve,
5564
- isRTL: Li
5565
+ isRTL: Ei
5565
5566
  };
5566
- function Bi(e, t) {
5567
+ function Ai(e, t) {
5567
5568
  let n = null, o;
5568
5569
  const a = pe(e);
5569
5570
  function r() {
@@ -5583,17 +5584,17 @@ function Bi(e, t) {
5583
5584
  rootMargin: -p + "px " + -v + "px " + -m + "px " + -h + "px",
5584
5585
  threshold: ze(0, xt(1, i)) || 1
5585
5586
  };
5586
- let I = !0;
5587
+ let V = !0;
5587
5588
  function P(z) {
5588
5589
  const A = z[0].intersectionRatio;
5589
5590
  if (A !== i) {
5590
- if (!I)
5591
+ if (!V)
5591
5592
  return l();
5592
5593
  A ? l(!1, A) : o = setTimeout(() => {
5593
5594
  l(!1, 1e-7);
5594
5595
  }, 100);
5595
5596
  }
5596
- I = !1;
5597
+ V = !1;
5597
5598
  }
5598
5599
  try {
5599
5600
  n = new IntersectionObserver(P, {
@@ -5608,7 +5609,7 @@ function Bi(e, t) {
5608
5609
  }
5609
5610
  return l(!0), r;
5610
5611
  }
5611
- function Fi(e, t, n, o) {
5612
+ function Bi(e, t, n, o) {
5612
5613
  o === void 0 && (o = {});
5613
5614
  const {
5614
5615
  ancestorScroll: a = !0,
@@ -5617,15 +5618,15 @@ function Fi(e, t, n, o) {
5617
5618
  layoutShift: s = typeof IntersectionObserver == "function",
5618
5619
  animationFrame: i = !1
5619
5620
  } = o, u = Jt(e), c = a || r ? [...u ? Ke(u) : [], ...Ke(t)] : [];
5620
- c.forEach((_) => {
5621
- a && _.addEventListener("scroll", n, {
5621
+ c.forEach(($) => {
5622
+ a && $.addEventListener("scroll", n, {
5622
5623
  passive: !0
5623
- }), r && _.addEventListener("resize", n);
5624
+ }), r && $.addEventListener("resize", n);
5624
5625
  });
5625
- const f = u && s ? Bi(u, n) : null;
5626
+ const f = u && s ? Ai(u, n) : null;
5626
5627
  let y = -1, p = null;
5627
- l && (p = new ResizeObserver((_) => {
5628
- let [S] = _;
5628
+ l && (p = new ResizeObserver(($) => {
5629
+ let [S] = $;
5629
5630
  S && S.target === u && p && (p.unobserve(t), cancelAnimationFrame(y), y = requestAnimationFrame(() => {
5630
5631
  p && p.observe(t);
5631
5632
  })), n();
@@ -5633,45 +5634,45 @@ function Fi(e, t, n, o) {
5633
5634
  let v, m = i ? Ve(e) : null;
5634
5635
  i && h();
5635
5636
  function h() {
5636
- const _ = Ve(e);
5637
- m && (_.x !== m.x || _.y !== m.y || _.width !== m.width || _.height !== m.height) && n(), m = _, v = requestAnimationFrame(h);
5637
+ const $ = Ve(e);
5638
+ m && ($.x !== m.x || $.y !== m.y || $.width !== m.width || $.height !== m.height) && n(), m = $, v = requestAnimationFrame(h);
5638
5639
  }
5639
5640
  return n(), () => {
5640
- c.forEach((_) => {
5641
- a && _.removeEventListener("scroll", n), r && _.removeEventListener("resize", n);
5641
+ c.forEach(($) => {
5642
+ a && $.removeEventListener("scroll", n), r && $.removeEventListener("resize", n);
5642
5643
  }), f && f(), p && p.disconnect(), p = null, i && cancelAnimationFrame(v);
5643
5644
  };
5644
5645
  }
5645
- const Ni = (e, t, n) => {
5646
+ const Fi = (e, t, n) => {
5646
5647
  const o = /* @__PURE__ */ new Map(), a = {
5647
- platform: Ai,
5648
+ platform: Li,
5648
5649
  ...n
5649
5650
  }, r = {
5650
5651
  ...a.platform,
5651
5652
  _c: o
5652
5653
  };
5653
- return pi(e, t, {
5654
+ return vi(e, t, {
5654
5655
  ...a,
5655
5656
  platform: r
5656
5657
  });
5657
5658
  };
5658
- function zi(e) {
5659
+ function Ni(e) {
5659
5660
  return Mn(e) ? (e.nodeName || "").toLowerCase() : "#document";
5660
5661
  }
5661
- function Pi(e) {
5662
+ function zi(e) {
5662
5663
  var t;
5663
5664
  return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
5664
5665
  }
5665
5666
  function Mn(e) {
5666
- return e instanceof Node || e instanceof Pi(e).Node;
5667
+ return e instanceof Node || e instanceof zi(e).Node;
5667
5668
  }
5668
- function Oi(e) {
5669
+ function Pi(e) {
5669
5670
  return e != null && typeof e == "object" && "$el" in e;
5670
5671
  }
5671
5672
  function Tt(e) {
5672
- if (Oi(e)) {
5673
+ if (Pi(e)) {
5673
5674
  const t = e.$el;
5674
- return Mn(t) && zi(t) === "#comment" ? null : t;
5675
+ return Mn(t) && Ni(t) === "#comment" ? null : t;
5675
5676
  }
5676
5677
  return e;
5677
5678
  }
@@ -5684,7 +5685,7 @@ function Jn(e) {
5684
5685
  options: e,
5685
5686
  fn(t) {
5686
5687
  const n = Tt(Fe(e.element));
5687
- return n == null ? {} : mi({
5688
+ return n == null ? {} : pi({
5688
5689
  element: n,
5689
5690
  padding: e.padding
5690
5691
  }).fn(t);
@@ -5700,19 +5701,19 @@ function cn(e, t) {
5700
5701
  }
5701
5702
  function Hn(e, t, n) {
5702
5703
  n === void 0 && (n = {});
5703
- const o = n.whileElementsMounted, a = V(() => {
5704
+ const o = n.whileElementsMounted, a = I(() => {
5704
5705
  var w;
5705
5706
  return (w = Fe(n.open)) != null ? w : !0;
5706
- }), r = V(() => Fe(n.middleware)), l = V(() => {
5707
+ }), r = I(() => Fe(n.middleware)), l = I(() => {
5707
5708
  var w;
5708
5709
  return (w = Fe(n.placement)) != null ? w : "bottom";
5709
- }), s = V(() => {
5710
+ }), s = I(() => {
5710
5711
  var w;
5711
5712
  return (w = Fe(n.strategy)) != null ? w : "absolute";
5712
- }), i = V(() => {
5713
+ }), i = I(() => {
5713
5714
  var w;
5714
5715
  return (w = Fe(n.transform)) != null ? w : !0;
5715
- }), u = V(() => Tt(e.value)), c = V(() => Tt(t.value)), f = C(0), y = C(0), p = C(s.value), v = C(l.value), m = fn({}), h = C(!1), _ = V(() => {
5716
+ }), u = I(() => Tt(e.value)), c = I(() => Tt(t.value)), f = C(0), y = C(0), p = C(s.value), v = C(l.value), m = fn({}), h = C(!1), $ = I(() => {
5716
5717
  const w = {
5717
5718
  position: p.value,
5718
5719
  left: "0",
@@ -5734,8 +5735,8 @@ function Hn(e, t, n) {
5734
5735
  };
5735
5736
  });
5736
5737
  let S;
5737
- function I() {
5738
- u.value == null || c.value == null || Ni(u.value, c.value, {
5738
+ function V() {
5739
+ u.value == null || c.value == null || Fi(u.value, c.value, {
5739
5740
  middleware: r.value,
5740
5741
  placement: l.value,
5741
5742
  strategy: s.value
@@ -5748,18 +5749,18 @@ function Hn(e, t, n) {
5748
5749
  }
5749
5750
  function z() {
5750
5751
  if (P(), o === void 0) {
5751
- I();
5752
+ V();
5752
5753
  return;
5753
5754
  }
5754
5755
  if (u.value != null && c.value != null) {
5755
- S = o(u.value, c.value, I);
5756
+ S = o(u.value, c.value, V);
5756
5757
  return;
5757
5758
  }
5758
5759
  }
5759
5760
  function A() {
5760
5761
  a.value || (h.value = !1);
5761
5762
  }
5762
- return ne([r, l, s], I, {
5763
+ return ne([r, l, s], V, {
5763
5764
  flush: "sync"
5764
5765
  }), ne([u, c], z, {
5765
5766
  flush: "sync"
@@ -5772,11 +5773,11 @@ function Hn(e, t, n) {
5772
5773
  placement: Ae(v),
5773
5774
  middlewareData: Ae(m),
5774
5775
  isPositioned: Ae(h),
5775
- floatingStyles: _,
5776
- update: I
5776
+ floatingStyles: $,
5777
+ update: V
5777
5778
  };
5778
5779
  }
5779
- const Di = () => {
5780
+ const Oi = () => {
5780
5781
  const e = C(null);
5781
5782
  return {
5782
5783
  clearProductTourRef: () => {
@@ -5788,10 +5789,10 @@ const Di = () => {
5788
5789
  },
5789
5790
  productToursRef: e
5790
5791
  };
5791
- }, Wn = Di(), Ri = { class: "joy-product-tour__content" }, Mi = { class: "joy-product-tour__header" }, Ji = {
5792
+ }, Wn = Oi(), Di = { class: "joy-product-tour__content" }, Ri = { class: "joy-product-tour__header" }, Mi = {
5792
5793
  key: 0,
5793
5794
  class: "joy-product-tour__footer"
5794
- }, qi = { class: "joy-product-tour__footer___steps" }, Hi = "joy-product-tour-spotlight__wrapper", Wi = /* @__PURE__ */ B({
5795
+ }, Ji = { class: "joy-product-tour__footer___steps" }, qi = "joy-product-tour-spotlight__wrapper", Hi = /* @__PURE__ */ B({
5795
5796
  __name: "VJoyProductTourInner",
5796
5797
  props: {
5797
5798
  icon: {},
@@ -5811,7 +5812,7 @@ const Di = () => {
5811
5812
  Hn(i, l, {
5812
5813
  placement: a.position,
5813
5814
  whileElementsMounted(...w) {
5814
- return Fi(...w, { ancestorResize: !0, ancestorScroll: !0, elementResize: !0 });
5815
+ return Bi(...w, { ancestorResize: !0, ancestorScroll: !0, elementResize: !0 });
5815
5816
  },
5816
5817
  transform: !1,
5817
5818
  middleware: [
@@ -5825,7 +5826,7 @@ const Di = () => {
5825
5826
  Jn({ element: y, padding: 0 })
5826
5827
  ]
5827
5828
  })
5828
- ), v = V(() => {
5829
+ ), v = I(() => {
5829
5830
  const { middlewareData: w, placement: M } = p.value, T = w.arrow, J = {
5830
5831
  top: "bottom",
5831
5832
  right: "left",
@@ -5842,7 +5843,7 @@ const Di = () => {
5842
5843
  });
5843
5844
  function m() {
5844
5845
  var w;
5845
- a.spotlightSelector && document.body.contains(document.querySelector(a.spotlightSelector)) && (i.value = document.querySelector(a.spotlightSelector), _({
5846
+ a.spotlightSelector && document.body.contains(document.querySelector(a.spotlightSelector)) && (i.value = document.querySelector(a.spotlightSelector), $({
5846
5847
  elementToHighlight: i.value,
5847
5848
  disableOverlay: a.disableOverlay
5848
5849
  }), (w = p.value) == null || w.update(), f.value = !0);
@@ -5850,14 +5851,14 @@ const Di = () => {
5850
5851
  function h() {
5851
5852
  f.value = !1, r(), A(), o("product-tour:hide");
5852
5853
  }
5853
- function _(w) {
5854
- i.value && (w.disableOverlay || S(), I(w.elementToHighlight));
5854
+ function $(w) {
5855
+ i.value && (w.disableOverlay || S(), V(w.elementToHighlight));
5855
5856
  }
5856
5857
  function S() {
5857
5858
  s.value = document.createElement("div"), s.value.classList.add("joy-product-tour__overlay"), s.value.addEventListener("click", h, { once: !0 }), s.value.style.position = "fixed", s.value.style.top = "0", s.value.style.left = "0", s.value.style.width = "100%", s.value.style.height = "100%", s.value.style.zIndex = "var(--joy-core-z-index-backdrop)", document.querySelector("body").appendChild(s.value);
5858
5859
  }
5859
- function I(w) {
5860
- w && (w.style.position = "relative", w.style.zIndex = "calc(var(--joy-core-z-index-backdrop) + 1)", u.value = q(ri), c.value = document.createElement("div"), c.value.classList.add(Hi), document.body.appendChild(c.value), Ht(u.value, c.value), P());
5860
+ function V(w) {
5861
+ w && (w.style.position = "relative", w.style.zIndex = "calc(var(--joy-core-z-index-backdrop) + 1)", u.value = q(li), c.value = document.createElement("div"), c.value.classList.add(qi), document.body.appendChild(c.value), Ht(u.value, c.value), P());
5861
5862
  }
5862
5863
  function P() {
5863
5864
  if (!c.value)
@@ -5925,7 +5926,7 @@ const Di = () => {
5925
5926
  onClick: h
5926
5927
  })) : j("", !0)
5927
5928
  ], 2),
5928
- b("div", Ri, [
5929
+ b("div", Di, [
5929
5930
  w.icon ? (d(), L(G, {
5930
5931
  key: 0,
5931
5932
  class: "joy-product-tour__content___icon",
@@ -5933,17 +5934,17 @@ const Di = () => {
5933
5934
  size: "medium"
5934
5935
  }, null, 8, ["name"])) : j("", !0),
5935
5936
  b("div", null, [
5936
- b("div", Mi, [
5937
+ b("div", Ri, [
5937
5938
  k(w.$slots, "product-tour-header", {}, void 0, !0)
5938
5939
  ]),
5939
5940
  k(w.$slots, "product-tour-content", {}, void 0, !0)
5940
5941
  ])
5941
5942
  ]),
5942
- w.$slots["product-tour-dismiss"] || w.$slots["product-tour-next"] ? (d(), g("div", Ji, [
5943
+ w.$slots["product-tour-dismiss"] || w.$slots["product-tour-next"] ? (d(), g("div", Mi, [
5943
5944
  b("div", { onClick: h }, [
5944
5945
  k(w.$slots, "product-tour-dismiss", {}, void 0, !0)
5945
5946
  ]),
5946
- b("span", qi, [
5947
+ b("span", Ji, [
5947
5948
  w.steps > 1 ? (d(), g(Q, { key: 0 }, [
5948
5949
  W(D(w.step) + "/" + D(w.steps), 1)
5949
5950
  ], 64)) : j("", !0)
@@ -5956,7 +5957,7 @@ const Di = () => {
5956
5957
  ]);
5957
5958
  };
5958
5959
  }
5959
- }), Ui = /* @__PURE__ */ F(Wi, [["__scopeId", "data-v-76a02680"]]), $c = /* @__PURE__ */ B({
5960
+ }), Wi = /* @__PURE__ */ F(Hi, [["__scopeId", "data-v-76a02680"]]), $c = /* @__PURE__ */ B({
5960
5961
  inheritAttrs: !1,
5961
5962
  __name: "VJoyProductTour",
5962
5963
  props: {
@@ -5973,7 +5974,7 @@ const Di = () => {
5973
5974
  },
5974
5975
  emits: ["product-tour:hide"],
5975
5976
  setup(e, { expose: t, emit: n }) {
5976
- const o = C(!1), a = e, r = n, { storeProductTourRef: l, clearProductTourRef: s } = Wn, i = C(), u = Ee(), c = V(() => {
5977
+ const o = C(!1), a = e, r = n, { storeProductTourRef: l, clearProductTourRef: s } = Wn, i = C(), u = Ee(), c = I(() => {
5977
5978
  if (o.value)
5978
5979
  return u;
5979
5980
  });
@@ -5993,7 +5994,7 @@ const Di = () => {
5993
5994
  show: f,
5994
5995
  hide: p
5995
5996
  }), (v, m) => (d(), L(De, { to: "body" }, [
5996
- q(Ui, X({ ...a, ...c.value }, {
5997
+ q(Wi, X({ ...a, ...c.value }, {
5997
5998
  ref_key: "productTour",
5998
5999
  ref: i,
5999
6000
  "onProductTour:hide": y
@@ -6020,14 +6021,14 @@ const Di = () => {
6020
6021
  }, 16)
6021
6022
  ]));
6022
6023
  }
6023
- }), Cc = /* @__PURE__ */ B({
6024
+ }), _c = /* @__PURE__ */ B({
6024
6025
  __name: "VJoyProductTourTrigger",
6025
6026
  props: {
6026
6027
  productTour: {}
6027
6028
  },
6028
6029
  emits: ["click"],
6029
6030
  setup(e, { emit: t }) {
6030
- const n = e, o = t, a = V(() => n.productTour), r = oe(), l = V(() => r.default());
6031
+ const n = e, o = t, a = I(() => n.productTour), r = oe(), l = I(() => r.default());
6031
6032
  async function s() {
6032
6033
  var i;
6033
6034
  o("click"), a.value && ((i = a.value) == null || i.show());
@@ -6037,7 +6038,7 @@ const Di = () => {
6037
6038
  onClick: s
6038
6039
  }))), 128));
6039
6040
  }
6040
- }), Ki = /* @__PURE__ */ B({
6041
+ }), Ui = /* @__PURE__ */ B({
6041
6042
  __name: "VJoyProgressBar",
6042
6043
  props: {
6043
6044
  /** import TJoyProgressBarColors */
@@ -6065,7 +6066,7 @@ const Di = () => {
6065
6066
  }
6066
6067
  },
6067
6068
  setup(e, { expose: t }) {
6068
- const n = e, o = C(0), a = V(() => r());
6069
+ const n = e, o = C(0), a = I(() => r());
6069
6070
  function r() {
6070
6071
  return n.percentage ? o.value = n.percentage : n.currentStep && n.steps ? o.value = Math.round(n.currentStep / n.steps * 100) : o.value = 0, o.value < 0 && (o.value = 0), o.value > 100 && (o.value = 100), o.value + "%";
6071
6072
  }
@@ -6081,7 +6082,7 @@ const Di = () => {
6081
6082
  }, null, 4)
6082
6083
  ], 2));
6083
6084
  }
6084
- }), xc = /* @__PURE__ */ F(Ki, [["__scopeId", "data-v-14b07f95"]]), Gi = ["id", "value", "checked", "disabled", "required", "name"], Yi = { class: "joy-radio-label" }, Zi = { class: "joy-radio-content__wrapper" }, Xi = { class: "joy-radio-content" }, Qi = /* @__PURE__ */ B({
6085
+ }), Cc = /* @__PURE__ */ F(Ui, [["__scopeId", "data-v-14b07f95"]]), Ki = ["id", "value", "checked", "disabled", "required", "name"], Gi = { class: "joy-radio-label" }, Yi = { class: "joy-radio-content__wrapper" }, Zi = { class: "joy-radio-content" }, Xi = /* @__PURE__ */ B({
6085
6086
  __name: "VJoyRadio",
6086
6087
  props: {
6087
6088
  disabled: {
@@ -6118,7 +6119,7 @@ const Di = () => {
6118
6119
  },
6119
6120
  emits: ["update:modelValue"],
6120
6121
  setup(e, { expose: t, emit: n }) {
6121
- const o = n, a = e, r = C(!1), l = C(!1), s = C(null), i = C(null), u = oe(), c = V(() => !a.modelValue || !a.value ? !1 : a.modelValue === a.value);
6122
+ const o = n, a = e, r = C(!1), l = C(!1), s = C(null), i = C(null), u = oe(), c = I(() => !a.modelValue || !a.value ? !1 : a.modelValue === a.value);
6122
6123
  function f() {
6123
6124
  r.value = !!u["expandable-content"] && c.value;
6124
6125
  }
@@ -6168,12 +6169,12 @@ const Di = () => {
6168
6169
  onChange: y,
6169
6170
  onFocus: p,
6170
6171
  onBlur: v
6171
- }, null, 40, Gi),
6172
- b("span", Yi, [
6172
+ }, null, 40, Ki),
6173
+ b("span", Gi, [
6173
6174
  k(m.$slots, "default", {}, void 0, !0)
6174
6175
  ]),
6175
- b("div", Zi, [
6176
- b("div", Xi, [
6176
+ b("div", Yi, [
6177
+ b("div", Zi, [
6177
6178
  k(m.$slots, "radio-content", {}, void 0, !0)
6178
6179
  ]),
6179
6180
  b("div", {
@@ -6186,7 +6187,7 @@ const Di = () => {
6186
6187
  ])
6187
6188
  ], 2));
6188
6189
  }
6189
- }), Tc = /* @__PURE__ */ F(Qi, [["__scopeId", "data-v-7ee19b20"]]), es = ["form", "name"], ts = /* @__PURE__ */ B({
6190
+ }), xc = /* @__PURE__ */ F(Xi, [["__scopeId", "data-v-7ee19b20"]]), Qi = ["form", "name"], es = /* @__PURE__ */ B({
6190
6191
  __name: "VJoyRadioGroup",
6191
6192
  props: {
6192
6193
  /**
@@ -6220,9 +6221,9 @@ const Di = () => {
6220
6221
  }, [
6221
6222
  k(t.$slots, "default", {}, void 0, !0)
6222
6223
  ], 2)
6223
- ], 8, es));
6224
+ ], 8, Qi));
6224
6225
  }
6225
- }), Vc = /* @__PURE__ */ F(ts, [["__scopeId", "data-v-1b870a4c"]]), ns = ["ariaLabel"], os = { class: "joy-rating-stars" }, as = { class: "joy-rating-stars__content" }, ls = { key: 0 }, rs = /* @__PURE__ */ B({
6226
+ }), Tc = /* @__PURE__ */ F(es, [["__scopeId", "data-v-1b870a4c"]]), ts = ["ariaLabel"], ns = { class: "joy-rating-stars" }, os = { class: "joy-rating-stars__content" }, as = { key: 0 }, ls = /* @__PURE__ */ B({
6226
6227
  __name: "VJoyRatingStars",
6227
6228
  props: {
6228
6229
  /** Between 0 and 5 */
@@ -6241,7 +6242,7 @@ const Di = () => {
6241
6242
  }
6242
6243
  },
6243
6244
  setup(e, { expose: t }) {
6244
- const n = e, o = Ee(), a = V(() => {
6245
+ const n = e, o = Ee(), a = I(() => {
6245
6246
  let r = [], l = 0.24, s = 0.75;
6246
6247
  for (let i = 0; i < 5; i++)
6247
6248
  n.ratingValue > l ? r.push(n.ratingValue < s ? "half" : "full") : r.push("empty"), l += 1, s += 1;
@@ -6254,7 +6255,7 @@ const Di = () => {
6254
6255
  class: "joy-rating-stars__wrapper",
6255
6256
  ariaLabel: Y(o).ariaLabel || `Rating: ${e.ratingValue} out of 5`
6256
6257
  }, [
6257
- b("ul", os, [
6258
+ b("ul", ns, [
6258
6259
  (d(!0), g(Q, null, te(a.value, (s, i) => (d(), g("li", {
6259
6260
  key: i,
6260
6261
  class: E([`joy-rating-stars--${e.size}`])
@@ -6277,14 +6278,14 @@ const Di = () => {
6277
6278
  }))
6278
6279
  ], 2))), 128))
6279
6280
  ]),
6280
- b("div", as, [
6281
+ b("div", os, [
6281
6282
  k(r.$slots, "rating-stars-content", {}, () => [
6282
- e.reviewCount ? (d(), g("span", ls, "(" + D(e.reviewCount) + ")", 1)) : j("", !0)
6283
+ e.reviewCount ? (d(), g("span", as, "(" + D(e.reviewCount) + ")", 1)) : j("", !0)
6283
6284
  ], !0)
6284
6285
  ])
6285
- ], 8, ns));
6286
+ ], 8, ts));
6286
6287
  }
6287
- }), is = /* @__PURE__ */ F(rs, [["__scopeId", "data-v-4c9a1026"]]), ss = ["id", "name", "aria-invalid", "required", "disabled"], us = ["selected"], cs = /* @__PURE__ */ B({
6288
+ }), rs = /* @__PURE__ */ F(ls, [["__scopeId", "data-v-4c9a1026"]]), is = ["id", "name", "aria-invalid", "required", "disabled"], ss = ["selected"], us = /* @__PURE__ */ B({
6288
6289
  __name: "VJoySelect",
6289
6290
  props: {
6290
6291
  disabled: {
@@ -6328,33 +6329,33 @@ const Di = () => {
6328
6329
  },
6329
6330
  emits: ["update:modelValue"],
6330
6331
  setup(e, { expose: t, emit: n }) {
6331
- const o = e, a = n, r = oe(), l = V(() => {
6332
+ const o = e, a = n, r = oe(), l = I(() => {
6332
6333
  const m = r.default();
6333
6334
  let h = [];
6334
- return m.forEach((_) => {
6335
- if (s(_))
6336
- h.push(_);
6335
+ return m.forEach(($) => {
6336
+ if (s($))
6337
+ h.push($);
6337
6338
  else {
6338
- const S = _.children;
6339
+ const S = $.children;
6339
6340
  if (typeof S == "string" || !S.length)
6340
6341
  return;
6341
- const I = S.filter(s);
6342
- h = [...h, ...I];
6342
+ const V = S.filter(s);
6343
+ h = [...h, ...V];
6343
6344
  }
6344
6345
  }), h;
6345
6346
  });
6346
6347
  function s(m) {
6347
6348
  return (m == null ? void 0 : m.type) === "option";
6348
6349
  }
6349
- const i = C(), u = C(), c = C(!1), f = V(() => o.labelSize ? o.labelSize : o.size !== "medium" ? "small" : "medium");
6350
+ const i = C(), u = C(), c = C(!1), f = I(() => o.labelSize ? o.labelSize : o.size !== "medium" ? "small" : "medium");
6350
6351
  se(() => {
6351
- var _;
6352
+ var $;
6352
6353
  const m = r["select-label"] && r["select-label"]();
6353
6354
  if (!m || !m.length)
6354
6355
  return;
6355
6356
  const h = m[0];
6356
6357
  if (h.type === "JoyLabel") {
6357
- const S = (_ = h.props) == null ? void 0 : _.for;
6358
+ const S = ($ = h.props) == null ? void 0 : $.for;
6358
6359
  if (!S) {
6359
6360
  console.warn("JoyLabel for attribute is missing");
6360
6361
  return;
@@ -6416,16 +6417,16 @@ const Di = () => {
6416
6417
  onFocus: p,
6417
6418
  onBlur: v
6418
6419
  }, [
6419
- (d(!0), g(Q, null, te(l.value, (_) => {
6420
- var S, I;
6420
+ (d(!0), g(Q, null, te(l.value, ($) => {
6421
+ var S, V;
6421
6422
  return d(), g("option", X({
6422
- key: (S = _.props) == null ? void 0 : S.value,
6423
+ key: (S = $.props) == null ? void 0 : S.value,
6423
6424
  ref_for: !0
6424
- }, _.props, {
6425
- selected: ((I = _.props) == null ? void 0 : I.value) === e.modelValue
6426
- }), D(_.children), 17, us);
6425
+ }, $.props, {
6426
+ selected: ((V = $.props) == null ? void 0 : V.value) === e.modelValue
6427
+ }), D($.children), 17, ss);
6427
6428
  }), 128))
6428
- ], 40, ss),
6429
+ ], 40, is),
6429
6430
  q(G, {
6430
6431
  class: "joy-select__chevron",
6431
6432
  name: "chevron-down"
@@ -6433,7 +6434,7 @@ const Di = () => {
6433
6434
  ], 2)
6434
6435
  ], 512));
6435
6436
  }
6436
- }), Ic = /* @__PURE__ */ F(cs, [["__scopeId", "data-v-7e3adcd9"]]), ds = ["aria-disabled"], fs = ["id", "value", "checked", "disabled", "required", "name"], ys = { class: "joy-selectable-item__label" }, vs = /* @__PURE__ */ B({
6437
+ }), Vc = /* @__PURE__ */ F(us, [["__scopeId", "data-v-7e3adcd9"]]), cs = ["aria-disabled"], ds = ["id", "value", "checked", "disabled", "required", "name"], fs = { class: "joy-selectable-item__label" }, ys = /* @__PURE__ */ B({
6437
6438
  __name: "VJoySelectableItem",
6438
6439
  props: {
6439
6440
  disabled: {
@@ -6527,7 +6528,7 @@ const Di = () => {
6527
6528
  (...f) => s.onFocus && s.onFocus(...f)),
6528
6529
  onBlur: c[2] || (c[2] = //@ts-ignore
6529
6530
  (...f) => s.onBlur && s.onBlur(...f))
6530
- }, null, 40, fs)),
6531
+ }, null, 40, ds)),
6531
6532
  (d(), L(re(Y(l)), {
6532
6533
  for: e.id,
6533
6534
  class: E([
@@ -6561,7 +6562,7 @@ const Di = () => {
6561
6562
  ]),
6562
6563
  _: 3
6563
6564
  }, 8, ["id", "checked", "disabled", "value", "name", "required"])) : j("", !0),
6564
- b("div", ys, [
6565
+ b("div", fs, [
6565
6566
  e.multiple ? j("", !0) : k(u.$slots, "default", { key: 0 }, void 0, !0)
6566
6567
  ]),
6567
6568
  b("div", {
@@ -6574,9 +6575,9 @@ const Di = () => {
6574
6575
  ]),
6575
6576
  _: 3
6576
6577
  }, 8, ["for", "class", "onClick"]))
6577
- ], 10, ds));
6578
+ ], 10, cs));
6578
6579
  }
6579
- }), ps = /* @__PURE__ */ F(vs, [["__scopeId", "data-v-a9ceec9f"]]), ms = ["id"], hs = /* @__PURE__ */ B({
6580
+ }), vs = /* @__PURE__ */ F(ys, [["__scopeId", "data-v-a9ceec9f"]]), ps = ["id"], ms = /* @__PURE__ */ B({
6580
6581
  __name: "VJoySelectableItemGroup",
6581
6582
  props: {
6582
6583
  options: {
@@ -6653,7 +6654,7 @@ const Di = () => {
6653
6654
  }
6654
6655
  ])
6655
6656
  }, [
6656
- (d(!0), g(Q, null, te(e.options, (i) => (d(), L(ps, X({ ref_for: !0 }, i.attrs, {
6657
+ (d(!0), g(Q, null, te(e.options, (i) => (d(), L(vs, X({ ref_for: !0 }, i.attrs, {
6657
6658
  id: i.id,
6658
6659
  key: i.id,
6659
6660
  name: i.name,
@@ -6680,9 +6681,9 @@ const Di = () => {
6680
6681
  } : void 0
6681
6682
  ]), 1040, ["id", "name", "disabled", "value", "multiple", "variant", "checked", "onUpdate:checked"]))), 128))
6682
6683
  ], 2)
6683
- ], 8, ms));
6684
+ ], 8, ps));
6684
6685
  }
6685
- }), Ec = /* @__PURE__ */ F(hs, [["__scopeId", "data-v-bc1d3c64"]]), bs = /* @__PURE__ */ B({
6686
+ }), Ic = /* @__PURE__ */ F(ms, [["__scopeId", "data-v-bc1d3c64"]]), hs = /* @__PURE__ */ B({
6686
6687
  __name: "VJoySeparator",
6687
6688
  props: {
6688
6689
  /** Main text to apply in the central area */
@@ -6701,10 +6702,10 @@ const Di = () => {
6701
6702
  b("span", null, D(e.text), 1)
6702
6703
  ], 2));
6703
6704
  }
6704
- }), Lc = /* @__PURE__ */ F(bs, [["__scopeId", "data-v-21db2899"]]), gs = { class: "joy-snackbar__img joy-core-radius-6 joy-bgcolor-neutral-50" }, ws = { class: "joy-snackbar__content" }, ks = {
6705
+ }), Ec = /* @__PURE__ */ F(hs, [["__scopeId", "data-v-21db2899"]]), bs = { class: "joy-snackbar__img joy-core-radius-6 joy-bgcolor-neutral-50" }, gs = { class: "joy-snackbar__content" }, ws = {
6705
6706
  key: 0,
6706
6707
  class: "joy-mb-1"
6707
- }, js = ["innerHTML"], Ss = /* @__PURE__ */ B({
6708
+ }, ks = ["innerHTML"], js = /* @__PURE__ */ B({
6708
6709
  __name: "VJoySnackbar",
6709
6710
  props: {
6710
6711
  level: {
@@ -6754,7 +6755,7 @@ const Di = () => {
6754
6755
  setup(e, { expose: t }) {
6755
6756
  const n = e, o = C(!0);
6756
6757
  let a, r;
6757
- const l = "joy-snackbar-" + yt(), s = V(() => pn(n.level));
6758
+ const l = "joy-snackbar-" + yt(), s = I(() => pn(n.level));
6758
6759
  function i() {
6759
6760
  var m;
6760
6761
  (m = n.bus) == null || m.emit("snackbar:action-click");
@@ -6800,15 +6801,15 @@ const Di = () => {
6800
6801
  id: l,
6801
6802
  class: E(["joy-snackbar", `joy-snackbar_${e.level}`])
6802
6803
  }, [
6803
- b("div", gs, [
6804
+ b("div", bs, [
6804
6805
  q(G, {
6805
6806
  name: s.value,
6806
6807
  size: "small"
6807
6808
  }, null, 8, ["name"])
6808
6809
  ]),
6809
- b("div", ws, [
6810
- e.header ? (d(), g("strong", ks, D(e.header), 1)) : j("", !0),
6811
- b("span", { innerHTML: e.message }, null, 8, js),
6810
+ b("div", gs, [
6811
+ e.header ? (d(), g("strong", ws, D(e.header), 1)) : j("", !0),
6812
+ b("span", { innerHTML: e.message }, null, 8, ks),
6812
6813
  e.actionText ? (d(), g("p", {
6813
6814
  key: 1,
6814
6815
  class: "joy-snackbar__trigger___action",
@@ -6829,10 +6830,10 @@ const Di = () => {
6829
6830
  ], 2)
6830
6831
  ], 2));
6831
6832
  }
6832
- }), _s = /* @__PURE__ */ F(Ss, [["__scopeId", "data-v-9045801e"]]), $s = ["id"], Cs = { class: "joy-step__stroke" }, xs = {
6833
+ }), Ss = /* @__PURE__ */ F(js, [["__scopeId", "data-v-9045801e"]]), $s = ["id"], _s = { class: "joy-step__stroke" }, Cs = {
6833
6834
  key: 0,
6834
6835
  class: "joy-step__label"
6835
- }, Ts = /* @__PURE__ */ B({
6836
+ }, xs = /* @__PURE__ */ B({
6836
6837
  __name: "VJoyStep",
6837
6838
  props: {
6838
6839
  /** Set it to completed to change it's color */
@@ -6866,7 +6867,7 @@ const Di = () => {
6866
6867
  },
6867
6868
  emits: ["update:subSteps"],
6868
6869
  setup(e, { expose: t, emit: n }) {
6869
- const o = e, a = n, r = C(0.1), l = V(() => o.completed ? "100%" : s.value ? o.subSteps <= 1 || o.currentSubStep === 1 ? "10%" : (Math.min(o.currentSubStep / o.subSteps - r.value, 1 - r.value) * 100).toFixed(1) + "%" : "0%"), s = V(() => o.currentSubStep > 0);
6870
+ const o = e, a = n, r = C(0.1), l = I(() => o.completed ? "100%" : s.value ? o.subSteps <= 1 || o.currentSubStep === 1 ? "10%" : (Math.min(o.currentSubStep / o.subSteps - r.value, 1 - r.value) * 100).toFixed(1) + "%" : "0%"), s = I(() => o.currentSubStep > 0);
6870
6871
  function i(u) {
6871
6872
  u <= 0 && console.warn("subSteps must be equal or greater than 1"), a("update:subSteps");
6872
6873
  }
@@ -6883,7 +6884,7 @@ const Di = () => {
6883
6884
  }
6884
6885
  ])
6885
6886
  }, [
6886
- b("span", Cs, [
6887
+ b("span", _s, [
6887
6888
  b("span", {
6888
6889
  class: "joy-step__stroke--filled",
6889
6890
  style: ie({ maxWidth: l.value })
@@ -6891,7 +6892,7 @@ const Di = () => {
6891
6892
  ]),
6892
6893
  q(Lt, { name: "joy-step__label" }, {
6893
6894
  default: O(() => [
6894
- e.showLabel ? (d(), g("span", xs, [
6895
+ e.showLabel ? (d(), g("span", Cs, [
6895
6896
  k(u.$slots, "default", {}, void 0, !0)
6896
6897
  ])) : j("", !0)
6897
6898
  ]),
@@ -6899,7 +6900,7 @@ const Di = () => {
6899
6900
  })
6900
6901
  ], 10, $s));
6901
6902
  }
6902
- }), Vs = /* @__PURE__ */ F(Ts, [["__scopeId", "data-v-3820cdf3"]]), Is = { class: "joy-stepper" }, Es = /* @__PURE__ */ B({
6903
+ }), Ts = /* @__PURE__ */ F(xs, [["__scopeId", "data-v-3820cdf3"]]), Vs = { class: "joy-stepper" }, Is = /* @__PURE__ */ B({
6903
6904
  __name: "VJoyStepper",
6904
6905
  props: {
6905
6906
  /** Current step value */
@@ -6914,7 +6915,7 @@ const Di = () => {
6914
6915
  }
6915
6916
  },
6916
6917
  setup(e, { expose: t }) {
6917
- const n = e, o = oe(), a = Ie("VJoyStepperShowLabels", !0), r = V(() => {
6918
+ const n = e, o = oe(), a = Ie("VJoyStepperShowLabels", !0), r = I(() => {
6918
6919
  const y = o.default();
6919
6920
  return y.length === 1 && typeof y[0].type != "object" ? y[0].children.filter(l) : y.filter(l);
6920
6921
  });
@@ -6922,7 +6923,7 @@ const Di = () => {
6922
6923
  var p;
6923
6924
  return ((p = y.type) == null ? void 0 : p.__name) === "VJoyStep";
6924
6925
  }
6925
- const s = V(() => n.step > 0 ? r.value[n.step - 1] : r.value[0]), i = V(() => s.value.props === null ? !1 : n.subStep <= 0 || n.subStep > c.value), u = V(() => i.value && s.value.props ? s.value.props["sub-steps"] : n.subStep), c = V(() => s.value.props === null ? s.value.type.props.subSteps.default : s.value.props["sub-steps"]);
6926
+ const s = I(() => n.step > 0 ? r.value[n.step - 1] : r.value[0]), i = I(() => s.value.props === null ? !1 : n.subStep <= 0 || n.subStep > c.value), u = I(() => i.value && s.value.props ? s.value.props["sub-steps"] : n.subStep), c = I(() => s.value.props === null ? s.value.type.props.subSteps.default : s.value.props["sub-steps"]);
6926
6927
  function f(y) {
6927
6928
  return y !== n.step - 1 ? 0 : u.value;
6928
6929
  }
@@ -6930,19 +6931,19 @@ const Di = () => {
6930
6931
  currentItemSubStep: u,
6931
6932
  steps: r,
6932
6933
  invalidSubStepValue: i
6933
- }), (y, p) => (d(), g("div", Is, [
6934
+ }), (y, p) => (d(), g("div", Vs, [
6934
6935
  (d(!0), g(Q, null, te(r.value, (v, m) => {
6935
6936
  var h;
6936
- return d(), L(Vs, X({ ref_for: !0 }, v.props, {
6937
+ return d(), L(Ts, X({ ref_for: !0 }, v.props, {
6937
6938
  key: (h = v.props) == null ? void 0 : h.id,
6938
6939
  completed: m < e.step - 1,
6939
6940
  "current-sub-step": f(m),
6940
6941
  "show-label": Y(a)
6941
6942
  }), {
6942
6943
  default: O(() => {
6943
- var _;
6944
+ var $;
6944
6945
  return [
6945
- (_ = v.children) != null && _.default ? (d(), L(re(v.children.default), { key: 0 })) : j("", !0)
6946
+ ($ = v.children) != null && $.default ? (d(), L(re(v.children.default), { key: 0 })) : j("", !0)
6946
6947
  ];
6947
6948
  }),
6948
6949
  _: 2
@@ -6950,7 +6951,7 @@ const Di = () => {
6950
6951
  }), 128))
6951
6952
  ]));
6952
6953
  }
6953
- }), Ac = /* @__PURE__ */ F(Es, [["__scopeId", "data-v-22705668"]]), Ls = ["id", "aria-hidden", "aria-labelledby"], As = /* @__PURE__ */ B({
6954
+ }), Lc = /* @__PURE__ */ F(Is, [["__scopeId", "data-v-22705668"]]), Es = ["id", "aria-hidden", "aria-labelledby"], Ls = /* @__PURE__ */ B({
6954
6955
  __name: "VJoyTab",
6955
6956
  props: {
6956
6957
  /**
@@ -6981,7 +6982,7 @@ const Di = () => {
6981
6982
  }
6982
6983
  },
6983
6984
  setup(e) {
6984
- const t = e, n = Ie("VJoyTabs", C("")), o = V(() => n.value === t.tab);
6985
+ const t = e, n = Ie("VJoyTabs", C("")), o = I(() => n.value === t.tab);
6985
6986
  return (a, r) => (d(), g("div", {
6986
6987
  id: `joy-tab-${e.tab}`,
6987
6988
  role: "tabpanel",
@@ -6993,12 +6994,12 @@ const Di = () => {
6993
6994
  })
6994
6995
  }, [
6995
6996
  k(a.$slots, "default", {}, void 0, !0)
6996
- ], 10, Ls));
6997
+ ], 10, Es));
6997
6998
  }
6998
- }), Bc = /* @__PURE__ */ F(As, [["__scopeId", "data-v-a76a7c92"]]), Bs = ["id", "href", "aria-selected", "aria-controls"], Fs = {
6999
+ }), Ac = /* @__PURE__ */ F(Ls, [["__scopeId", "data-v-a76a7c92"]]), As = ["id", "href", "aria-selected", "aria-controls"], Bs = {
6999
7000
  type: "button",
7000
7001
  tabindex: "-1"
7001
- }, Ns = /* @__PURE__ */ B({
7002
+ }, Fs = /* @__PURE__ */ B({
7002
7003
  __name: "TabButton",
7003
7004
  props: {
7004
7005
  /**
@@ -7058,7 +7059,7 @@ const Di = () => {
7058
7059
  "joy-tab-button__selected": e.selected
7059
7060
  })
7060
7061
  }, [
7061
- b("button", Fs, [
7062
+ b("button", Bs, [
7062
7063
  k(r.$slots, "default", {}, () => [
7063
7064
  W(D(e.label), 1)
7064
7065
  ], !0),
@@ -7070,9 +7071,9 @@ const Di = () => {
7070
7071
  }, null, 8, ["number"])) : j("", !0)
7071
7072
  ])
7072
7073
  ], 2)
7073
- ], 40, Bs));
7074
+ ], 40, As));
7074
7075
  }
7075
- }), zs = /* @__PURE__ */ F(Ns, [["__scopeId", "data-v-26b80ed6"]]), Ps = { class: "joy-tabs" }, Os = /* @__PURE__ */ B({
7076
+ }), Ns = /* @__PURE__ */ F(Fs, [["__scopeId", "data-v-26b80ed6"]]), zs = { class: "joy-tabs" }, Ps = /* @__PURE__ */ B({
7076
7077
  __name: "VJoyTabs",
7077
7078
  props: {
7078
7079
  /** Use this prop to activate a specific tab by default by giving its name */
@@ -7084,13 +7085,13 @@ const Di = () => {
7084
7085
  setup(e, { expose: t, emit: n }) {
7085
7086
  const o = e, a = n, r = oe(), l = C(o.selectedTab);
7086
7087
  ft("VJoyTabs", l);
7087
- const s = C(null), i = C(null), u = C(!1), c = C(!1), f = V(() => {
7088
+ const s = C(null), i = C(null), u = C(!1), c = C(!1), f = I(() => {
7088
7089
  const h = r.default();
7089
7090
  return h.length === 1 && typeof h[0].type != "object" ? h[0].children.filter(y) : h.filter(y);
7090
7091
  });
7091
7092
  function y(h) {
7092
- var _;
7093
- return ((_ = h == null ? void 0 : h.type) == null ? void 0 : _.__name) === "VJoyTab";
7093
+ var $;
7094
+ return (($ = h == null ? void 0 : h.type) == null ? void 0 : $.__name) === "VJoyTab";
7094
7095
  }
7095
7096
  function p(h) {
7096
7097
  return h.props.tab === l.value;
@@ -7098,8 +7099,8 @@ const Di = () => {
7098
7099
  function v() {
7099
7100
  i.value && s.value && i.value.scrollWidth > s.value.offsetWidth ? (c.value = i.value.scrollLeft > 0, u.value = i.value.scrollLeft + s.value.offsetWidth < i.value.scrollWidth) : (c.value = !1, u.value = !1);
7100
7101
  }
7101
- function m(h, _ = !0) {
7102
- h && _ && (l.value = h, a("update:selected-tab", h));
7102
+ function m(h, $ = !0) {
7103
+ h && $ && (l.value = h, a("update:selected-tab", h));
7103
7104
  }
7104
7105
  return ne(
7105
7106
  () => o.selectedTab,
@@ -7115,7 +7116,7 @@ const Di = () => {
7115
7116
  (h = i.value) == null || h.removeEventListener("scroll", v);
7116
7117
  }), t({
7117
7118
  tabs: f
7118
- }), (h, _) => (d(), g("div", Ps, [
7119
+ }), (h, $) => (d(), g("div", zs, [
7119
7120
  b("div", {
7120
7121
  ref_key: "buttonListWrapper",
7121
7122
  ref: s,
@@ -7134,7 +7135,7 @@ const Di = () => {
7134
7135
  (d(!0), g(Q, null, te(f.value, (S) => (d(), g("div", {
7135
7136
  key: S.props.tab
7136
7137
  }, [
7137
- q(zs, {
7138
+ q(Ns, {
7138
7139
  tab: S.props.tab,
7139
7140
  label: S.props.label,
7140
7141
  href: S.props.href,
@@ -7143,9 +7144,9 @@ const Di = () => {
7143
7144
  onChangeTab: () => m(S.props.tab, !S.props.href)
7144
7145
  }, {
7145
7146
  default: O(() => {
7146
- var I;
7147
+ var V;
7147
7148
  return [
7148
- (I = S.children) != null && I.header ? (d(), L(re(S.children.header), { key: 0 })) : j("", !0)
7149
+ (V = S.children) != null && V.header ? (d(), L(re(S.children.header), { key: 0 })) : j("", !0)
7149
7150
  ];
7150
7151
  }),
7151
7152
  _: 2
@@ -7158,7 +7159,7 @@ const Di = () => {
7158
7159
  ])
7159
7160
  ]));
7160
7161
  }
7161
- }), Fc = /* @__PURE__ */ F(Os, [["__scopeId", "data-v-9aea2d41"]]), Ds = ["id", "role"], Rs = /* @__PURE__ */ B({
7162
+ }), Bc = /* @__PURE__ */ F(Ps, [["__scopeId", "data-v-9aea2d41"]]), Os = ["id", "role"], Ds = /* @__PURE__ */ B({
7162
7163
  __name: "VJoyTag",
7163
7164
  props: {
7164
7165
  label: {},
@@ -7176,7 +7177,7 @@ const Di = () => {
7176
7177
  },
7177
7178
  emits: ["selected", "remove", "click"],
7178
7179
  setup(e, { emit: t }) {
7179
- const n = ["primary", "secondary"], o = t, a = e, r = V(() => ({
7180
+ const n = ["primary", "secondary"], o = t, a = e, r = I(() => ({
7180
7181
  "joy-tag": !0,
7181
7182
  "joy-tag__selected": a.selected,
7182
7183
  "joy-tag__selectable": a.selectable || a.link,
@@ -7185,7 +7186,7 @@ const Di = () => {
7185
7186
  "joy-tag__disabled": a.disabled,
7186
7187
  ["joy-tag__" + a.size]: !0,
7187
7188
  ["joy-tag__" + a.variant]: !0
7188
- })), l = ct() + "--JoyTag", s = V(() => a.id || l);
7189
+ })), l = ct() + "--JoyTag", s = I(() => a.id || l);
7189
7190
  function i() {
7190
7191
  o("remove", { value: a.value });
7191
7192
  }
@@ -7216,9 +7217,9 @@ const Di = () => {
7216
7217
  onClick: io(i, ["stop"]),
7217
7218
  onKeydown: Ge(i, ["enter"])
7218
7219
  })) : j("", !0)
7219
- ], 10, Ds));
7220
+ ], 10, Os));
7220
7221
  }
7221
- }), Un = /* @__PURE__ */ F(Rs, [["__scopeId", "data-v-9c079536"]]);
7222
+ }), Un = /* @__PURE__ */ F(Ds, [["__scopeId", "data-v-9c079536"]]);
7222
7223
  var He = /* @__PURE__ */ ((e) => (e.DUPLICATED_ENTRY = "DUPLICATED_ENTRY", e.INVALID_EMAIL = "INVALID_EMAIL", e))(He || {});
7223
7224
  function dn(e) {
7224
7225
  if (!Array.isArray(e) && typeof e != "string")
@@ -7231,7 +7232,7 @@ function dn(e) {
7231
7232
  return o;
7232
7233
  }) === void 0 : t(e);
7233
7234
  }
7234
- const Ms = { class: "joy-tags-input__wrapper" }, Js = ["id", "name", "placeholder"], qs = { key: 0 }, Hs = { key: 1 }, Ws = /* @__PURE__ */ B({
7235
+ const Rs = { class: "joy-tags-input__wrapper" }, Ms = ["id", "name", "placeholder"], Js = { key: 0 }, qs = { key: 1 }, Hs = /* @__PURE__ */ B({
7235
7236
  __name: "VJoyTagsInput",
7236
7237
  props: {
7237
7238
  name: {},
@@ -7246,7 +7247,7 @@ const Ms = { class: "joy-tags-input__wrapper" }, Js = ["id", "name", "placeholde
7246
7247
  },
7247
7248
  emits: ["update:modelValue", "validation:error"],
7248
7249
  setup(e, { expose: t, emit: n }) {
7249
- const o = e, a = n, r = C(o.modelValue), l = C(!1), s = C(null), i = C(o.invalid), u = C(null), c = V(() => o.validation === "email"), f = V(() => c.value && u.value === "INVALID_EMAIL" && !!o.invalidEmailError), y = V(() => u.value === "DUPLICATED_ENTRY" && !!o.duplicationError), p = V(() => i.value && (!!f.value || !!y.value));
7250
+ const o = e, a = n, r = C(o.modelValue), l = C(!1), s = C(null), i = C(o.invalid), u = C(null), c = I(() => o.validation === "email"), f = I(() => c.value && u.value === "INVALID_EMAIL" && !!o.invalidEmailError), y = I(() => u.value === "DUPLICATED_ENTRY" && !!o.duplicationError), p = I(() => i.value && (!!f.value || !!y.value));
7250
7251
  function v() {
7251
7252
  c.value && i.value === !0 && (u.value = He.INVALID_EMAIL);
7252
7253
  }
@@ -7257,7 +7258,7 @@ const Ms = { class: "joy-tags-input__wrapper" }, Js = ["id", "name", "placeholde
7257
7258
  function h() {
7258
7259
  m() && (u.value = He.DUPLICATED_ENTRY);
7259
7260
  }
7260
- function _(w) {
7261
+ function $(w) {
7261
7262
  var M, T, J, R;
7262
7263
  if (["Enter", ","].includes(w.key)) {
7263
7264
  if (w.preventDefault(), A(), m()) {
@@ -7278,7 +7279,7 @@ const Ms = { class: "joy-tags-input__wrapper" }, Js = ["id", "name", "placeholde
7278
7279
  function S() {
7279
7280
  l.value = !0;
7280
7281
  }
7281
- function I() {
7282
+ function V() {
7282
7283
  l.value = !1, A();
7283
7284
  }
7284
7285
  function P(w) {
@@ -7306,7 +7307,7 @@ const Ms = { class: "joy-tags-input__wrapper" }, Js = ["id", "name", "placeholde
7306
7307
  ), t({
7307
7308
  isInvalid: i,
7308
7309
  hasDuplicates: m
7309
- }), (w, M) => (d(), g("div", Ms, [
7310
+ }), (w, M) => (d(), g("div", Rs, [
7310
7311
  w.$slots.default ? (d(), L(Le, {
7311
7312
  key: 0,
7312
7313
  id: w.name,
@@ -7347,10 +7348,10 @@ const Ms = { class: "joy-tags-input__wrapper" }, Js = ["id", "name", "placeholde
7347
7348
  type: "text",
7348
7349
  name: w.name,
7349
7350
  placeholder: w.placeholder,
7350
- onKeydown: _,
7351
+ onKeydown: $,
7351
7352
  onFocus: S,
7352
- onBlur: I
7353
- }, null, 40, Js)
7353
+ onBlur: V
7354
+ }, null, 40, Ms)
7354
7355
  ], 2),
7355
7356
  p.value ? (d(), L(Nt, {
7356
7357
  key: 1,
@@ -7358,15 +7359,15 @@ const Ms = { class: "joy-tags-input__wrapper" }, Js = ["id", "name", "placeholde
7358
7359
  }, {
7359
7360
  default: O(() => [
7360
7361
  b("ul", null, [
7361
- y.value ? (d(), g("li", qs, D(w.duplicationError), 1)) : j("", !0),
7362
- f.value ? (d(), g("li", Hs, D(w.invalidEmailError), 1)) : j("", !0)
7362
+ y.value ? (d(), g("li", Js, D(w.duplicationError), 1)) : j("", !0),
7363
+ f.value ? (d(), g("li", qs, D(w.invalidEmailError), 1)) : j("", !0)
7363
7364
  ])
7364
7365
  ]),
7365
7366
  _: 1
7366
7367
  })) : j("", !0)
7367
7368
  ]));
7368
7369
  }
7369
- }), Nc = /* @__PURE__ */ F(Ws, [["__scopeId", "data-v-3576a764"]]), Us = /* @__PURE__ */ B({
7370
+ }), Fc = /* @__PURE__ */ F(Hs, [["__scopeId", "data-v-3576a764"]]), Ws = /* @__PURE__ */ B({
7370
7371
  __name: "VJoyTagsList",
7371
7372
  props: {
7372
7373
  align: {
@@ -7445,36 +7446,36 @@ const Ms = { class: "joy-tags-input__wrapper" }, Js = ["id", "name", "placeholde
7445
7446
  }, 1040, ["selectable", "removable", "variant", "selected", "onSelected"]))), 128))
7446
7447
  ], 2));
7447
7448
  }
7448
- }), zc = /* @__PURE__ */ F(Us, [["__scopeId", "data-v-1d8003ef"]]), Ks = {}, Gs = {
7449
+ }), Nc = /* @__PURE__ */ F(Ws, [["__scopeId", "data-v-1d8003ef"]]), Us = {}, Ks = {
7449
7450
  class: /* @__PURE__ */ E(["joy-template-shape__shapes"])
7450
7451
  };
7451
- function Ys(e, t) {
7452
- return d(), g("div", Gs, t[0] || (t[0] = [
7452
+ function Gs(e, t) {
7453
+ return d(), g("div", Ks, t[0] || (t[0] = [
7453
7454
  yn('<div class="shapes__wrapper" data-v-da63aa46><div class="shape_1" data-v-da63aa46></div><div class="shape_2" data-v-da63aa46></div><div class="shape_3" data-v-da63aa46></div><div class="shape_4" data-v-da63aa46></div></div>', 1)
7454
7455
  ]));
7455
7456
  }
7456
- const Zs = /* @__PURE__ */ F(Ks, [["render", Ys], ["__scopeId", "data-v-da63aa46"]]), Xs = { class: "joy-template__wrapper" }, Qs = {
7457
+ const Ys = /* @__PURE__ */ F(Us, [["render", Gs], ["__scopeId", "data-v-da63aa46"]]), Zs = { class: "joy-template__wrapper" }, Xs = {
7457
7458
  key: 0,
7458
7459
  class: "joy-template__heading"
7459
- }, eu = {
7460
+ }, Qs = {
7460
7461
  key: 0,
7461
7462
  class: "joy-template-slot-back"
7462
- }, tu = { class: "joy-template__heading___headings" }, nu = {
7463
+ }, eu = { class: "joy-template__heading___headings" }, tu = {
7463
7464
  key: 0,
7464
7465
  class: "joy-template-slot-title"
7465
- }, ou = {
7466
+ }, nu = {
7466
7467
  key: 1,
7467
7468
  class: "joy-template-slot-subtitle"
7468
- }, au = {
7469
+ }, ou = {
7469
7470
  key: 1,
7470
7471
  class: "joy-template-slot-actions"
7471
- }, lu = {
7472
+ }, au = {
7472
7473
  key: 0,
7473
7474
  class: "joy-template-slot-main"
7474
- }, ru = {
7475
+ }, lu = {
7475
7476
  key: 1,
7476
7477
  class: "joy-template-slot-sidebar"
7477
- }, iu = /* @__PURE__ */ B({
7478
+ }, ru = /* @__PURE__ */ B({
7478
7479
  __name: "VJoyTemplate",
7479
7480
  props: {
7480
7481
  /** Takes 100% of free space */
@@ -7495,25 +7496,25 @@ const Zs = /* @__PURE__ */ F(Ks, [["render", Ys], ["__scopeId", "data-v-da63aa46
7495
7496
  }
7496
7497
  },
7497
7498
  setup(e) {
7498
- const t = e, n = oe(), o = V(() => !!n["template-back"] || !!n["template-title"] || !!n["template-subtitle"] || !!n["template-actions"]);
7499
+ const t = e, n = oe(), o = I(() => !!n["template-back"] || !!n["template-title"] || !!n["template-subtitle"] || !!n["template-actions"]);
7499
7500
  return (a, r) => (d(), g("div", {
7500
7501
  class: E(["joy-template", { "joy-template--full": e.full, "joy-template--loading": e.loading }])
7501
7502
  }, [
7502
- e.shapes ? (d(), L(Zs, { key: 0 })) : j("", !0),
7503
- b("div", Xs, [
7504
- o.value ? (d(), g("div", Qs, [
7505
- n["template-back"] ? (d(), g("div", eu, [
7503
+ e.shapes ? (d(), L(Ys, { key: 0 })) : j("", !0),
7504
+ b("div", Zs, [
7505
+ o.value ? (d(), g("div", Xs, [
7506
+ n["template-back"] ? (d(), g("div", Qs, [
7506
7507
  k(a.$slots, "template-back", {}, void 0, !0)
7507
7508
  ])) : j("", !0),
7508
- b("div", tu, [
7509
- n["template-title"] ? (d(), g("div", nu, [
7509
+ b("div", eu, [
7510
+ n["template-title"] ? (d(), g("div", tu, [
7510
7511
  k(a.$slots, "template-title", {}, void 0, !0)
7511
7512
  ])) : j("", !0),
7512
- n["template-subtitle"] ? (d(), g("div", ou, [
7513
+ n["template-subtitle"] ? (d(), g("div", nu, [
7513
7514
  k(a.$slots, "template-subtitle", {}, void 0, !0)
7514
7515
  ])) : j("", !0)
7515
7516
  ]),
7516
- n["template-actions"] ? (d(), g("div", au, [
7517
+ n["template-actions"] ? (d(), g("div", ou, [
7517
7518
  k(a.$slots, "template-actions", {}, void 0, !0)
7518
7519
  ])) : j("", !0)
7519
7520
  ])) : j("", !0),
@@ -7525,10 +7526,10 @@ const Zs = /* @__PURE__ */ F(Ks, [["render", Ys], ["__scopeId", "data-v-da63aa46
7525
7526
  }
7526
7527
  ])
7527
7528
  }, [
7528
- a.$slots["template-main"] ? (d(), g("div", lu, [
7529
+ a.$slots["template-main"] ? (d(), g("div", au, [
7529
7530
  k(a.$slots, "template-main", {}, void 0, !0)
7530
7531
  ])) : j("", !0),
7531
- a.$slots["template-sidebar"] ? (d(), g("div", ru, [
7532
+ a.$slots["template-sidebar"] ? (d(), g("div", lu, [
7532
7533
  k(a.$slots, "template-sidebar", {}, void 0, !0)
7533
7534
  ])) : j("", !0)
7534
7535
  ], 2)
@@ -7545,7 +7546,7 @@ const Zs = /* @__PURE__ */ F(Ks, [["render", Ys], ["__scopeId", "data-v-da63aa46
7545
7546
  }, 8, ["color"])) : j("", !0)
7546
7547
  ], 2));
7547
7548
  }
7548
- }), Pc = /* @__PURE__ */ F(iu, [["__scopeId", "data-v-3c76ca88"]]), su = /* @__PURE__ */ B({
7549
+ }), zc = /* @__PURE__ */ F(ru, [["__scopeId", "data-v-3c76ca88"]]), iu = /* @__PURE__ */ B({
7549
7550
  __name: "VJoyText",
7550
7551
  props: {
7551
7552
  /** Defines the tag name of the Node you want to create. By default it's a simple P tag. Lowercase only */
@@ -7569,13 +7570,13 @@ const Zs = /* @__PURE__ */ F(Ks, [["render", Ys], ["__scopeId", "data-v-da63aa46
7569
7570
  _: 3
7570
7571
  }, 8, ["class"]));
7571
7572
  }
7572
- }), Oc = /* @__PURE__ */ F(su, [["__scopeId", "data-v-6295f9ec"]]), uu = ["aria-disabled"], cu = { class: "joy-textarea_wrapper" }, du = ["id", "disabled", "name", "required", "minlength", "value"], fu = {
7573
+ }), Pc = /* @__PURE__ */ F(iu, [["__scopeId", "data-v-6295f9ec"]]), su = ["aria-disabled"], uu = { class: "joy-textarea_wrapper" }, cu = ["id", "disabled", "name", "required", "minlength", "value"], du = {
7573
7574
  key: 1,
7574
7575
  class: "joy-textarea_helpers"
7575
- }, yu = {
7576
+ }, fu = {
7576
7577
  inheritAttrs: !1
7577
- }, vu = /* @__PURE__ */ B({
7578
- ...yu,
7578
+ }, yu = /* @__PURE__ */ B({
7579
+ ...fu,
7579
7580
  __name: "VJoyTextarea",
7580
7581
  props: {
7581
7582
  autofocus: {
@@ -7633,11 +7634,11 @@ const Zs = /* @__PURE__ */ F(Ks, [["render", Ys], ["__scopeId", "data-v-da63aa46
7633
7634
  },
7634
7635
  emits: ["update:modelValue"],
7635
7636
  setup(e, { expose: t, emit: n }) {
7636
- const o = n, a = e, r = oe(), l = C(), { triggerResize: s } = Ko({
7637
+ const o = n, a = e, r = oe(), l = C(), { triggerResize: s } = Uo({
7637
7638
  element: a.autogrow ? l : void 0
7638
7639
  }), i = C(!1), u = C(!1);
7639
7640
  zt(l, a.autofocus);
7640
- const c = V(() => a.maxlength ? a.modelValue.length > a.maxlength : !1), f = V(() => a.minlength ? a.modelValue.length < a.minlength : !1), y = V(() => !!(a.label || r.default)), p = {
7641
+ const c = I(() => a.maxlength ? a.modelValue.length > a.maxlength : !1), f = I(() => a.minlength ? a.modelValue.length < a.minlength : !1), y = I(() => !!(a.label || r.default)), p = {
7641
7642
  onInput: (v) => {
7642
7643
  a.modelModifiers.lazy || o("update:modelValue", v.target.value), p.triggerResize();
7643
7644
  },
@@ -7694,7 +7695,7 @@ const Zs = /* @__PURE__ */ F(Ks, [["render", Ys], ["__scopeId", "data-v-da63aa46
7694
7695
  ]),
7695
7696
  _: 3
7696
7697
  }, 8, ["for", "required", "optional-label", "size"])) : j("", !0),
7697
- b("div", cu, [
7698
+ b("div", uu, [
7698
7699
  b("textarea", X(v.$attrs, {
7699
7700
  id: e.id,
7700
7701
  ref_key: "textarea",
@@ -7713,9 +7714,9 @@ const Zs = /* @__PURE__ */ F(Ks, [["render", Ys], ["__scopeId", "data-v-da63aa46
7713
7714
  (...h) => p.onFocus && p.onFocus(...h)),
7714
7715
  onBlur: m[3] || (m[3] = //@ts-ignore
7715
7716
  (...h) => p.onBlur && p.onBlur(...h))
7716
- }), null, 16, du)
7717
+ }), null, 16, cu)
7717
7718
  ]),
7718
- e.minlength || e.maxlength ? (d(), g("div", fu, [
7719
+ e.minlength || e.maxlength ? (d(), g("div", du, [
7719
7720
  e.minlength ? (d(), g("p", {
7720
7721
  key: 0,
7721
7722
  class: E(["joy-textarea-min", { "joy-textarea-min-invalid": e.invalid }])
@@ -7733,9 +7734,9 @@ const Zs = /* @__PURE__ */ F(Ks, [["render", Ys], ["__scopeId", "data-v-da63aa46
7733
7734
  class: E(["joy-textarea-count", { "joy-textarea-count-invalid": c.value }])
7734
7735
  }, D(e.modelValue.length + "/" + e.maxlength), 3)) : j("", !0)
7735
7736
  ])) : j("", !0)
7736
- ], 10, uu));
7737
+ ], 10, su));
7737
7738
  }
7738
- }), Dc = /* @__PURE__ */ F(vu, [["__scopeId", "data-v-52e4553a"]]), pu = { class: "joy-toggle__wrapper" }, mu = ["name", "disabled", "checked", "required", "aria-checked", "value"], hu = { class: "joy-toggle__content" }, bu = { class: "joy-toggle__content-label" }, gu = /* @__PURE__ */ B({
7739
+ }), Oc = /* @__PURE__ */ F(yu, [["__scopeId", "data-v-52e4553a"]]), vu = { class: "joy-toggle__wrapper" }, pu = ["name", "disabled", "checked", "required", "aria-checked", "value"], mu = { class: "joy-toggle__content" }, hu = { class: "joy-toggle__content-label" }, bu = /* @__PURE__ */ B({
7739
7740
  __name: "VJoyToggle",
7740
7741
  props: {
7741
7742
  modelValue: {
@@ -7783,7 +7784,7 @@ const Zs = /* @__PURE__ */ F(Ks, [["render", Ys], ["__scopeId", "data-v-da63aa46
7783
7784
  o.value = !1;
7784
7785
  }
7785
7786
  };
7786
- return (r, l) => (d(), g("div", pu, [
7787
+ return (r, l) => (d(), g("div", vu, [
7787
7788
  b("label", {
7788
7789
  class: E([
7789
7790
  "joy-toggle",
@@ -7811,10 +7812,10 @@ const Zs = /* @__PURE__ */ F(Ks, [["render", Ys], ["__scopeId", "data-v-da63aa46
7811
7812
  (...s) => a.onFocus && a.onFocus(...s)),
7812
7813
  onBlur: l[2] || (l[2] = //@ts-ignore
7813
7814
  (...s) => a.onBlur && a.onBlur(...s))
7814
- }, null, 40, mu),
7815
- b("p", hu, [
7815
+ }, null, 40, pu),
7816
+ b("p", mu, [
7816
7817
  l[3] || (l[3] = b("span", { class: "joy-toggle__symbol" }, null, -1)),
7817
- b("span", bu, [
7818
+ b("span", hu, [
7818
7819
  k(r.$slots, "default", {}, () => [
7819
7820
  W(D(e.label), 1)
7820
7821
  ], !0)
@@ -7837,7 +7838,7 @@ const Zs = /* @__PURE__ */ F(Ks, [["render", Ys], ["__scopeId", "data-v-da63aa46
7837
7838
  ], 2)
7838
7839
  ]));
7839
7840
  }
7840
- }), Rc = /* @__PURE__ */ F(gu, [["__scopeId", "data-v-99a4c774"]]), wu = /* @__PURE__ */ B({
7841
+ }), Dc = /* @__PURE__ */ F(bu, [["__scopeId", "data-v-99a4c774"]]), gu = /* @__PURE__ */ B({
7841
7842
  __name: "VJoyTooltip",
7842
7843
  props: {
7843
7844
  /** If you are 100% sure the content you want to inject does not contain anything that could lead to any XSS, use this */
@@ -7895,36 +7896,36 @@ const Zs = /* @__PURE__ */ F(Ks, [["render", Ys], ["__scopeId", "data-v-da63aa46
7895
7896
  Jn({ element: i, padding: 0 })
7896
7897
  ]
7897
7898
  })
7898
- ), c = V(
7899
+ ), c = I(
7899
7900
  () => o.enableClickInContent ? {
7900
7901
  ignore: [l]
7901
7902
  } : {}
7902
- ), f = V(() => n["tooltip-content"] || o.text);
7903
- function y(_) {
7904
- _.preventDefault(), _.stopPropagation(), !a.value && o.event !== "click" && m();
7903
+ ), f = I(() => n["tooltip-content"] || o.text);
7904
+ function y($) {
7905
+ $.preventDefault(), $.stopPropagation(), !a.value && o.event !== "click" && m();
7905
7906
  }
7906
7907
  function p() {
7907
7908
  o.event !== "click" && m(!1);
7908
7909
  }
7909
- function v(_) {
7910
- !a.value && o.event === "click" && (_.preventDefault(), _.stopPropagation(), m());
7910
+ function v($) {
7911
+ !a.value && o.event === "click" && ($.preventDefault(), $.stopPropagation(), m());
7911
7912
  }
7912
- function m(_ = !0) {
7913
+ function m($ = !0) {
7913
7914
  var S;
7914
7915
  (S = u.value) == null || S.update(), setTimeout(() => {
7915
- a.value = _;
7916
+ a.value = $;
7916
7917
  }, o.delay);
7917
7918
  }
7918
- const h = V(() => {
7919
- const { middlewareData: _, placement: S } = u.value, I = _.arrow, P = {
7919
+ const h = I(() => {
7920
+ const { middlewareData: $, placement: S } = u.value, V = $.arrow, P = {
7920
7921
  top: "bottom",
7921
7922
  right: "left",
7922
7923
  bottom: "top",
7923
7924
  left: "right"
7924
7925
  }[S.split("-")[0]];
7925
7926
  return {
7926
- left: (I == null ? void 0 : I.x) && `${I == null ? void 0 : I.x}px`,
7927
- top: (I == null ? void 0 : I.y) && `${I == null ? void 0 : I.y}px`,
7927
+ left: (V == null ? void 0 : V.x) && `${V == null ? void 0 : V.x}px`,
7928
+ top: (V == null ? void 0 : V.y) && `${V == null ? void 0 : V.y}px`,
7928
7929
  right: "",
7929
7930
  bottom: "",
7930
7931
  [P]: "-4px"
@@ -7937,14 +7938,14 @@ const Zs = /* @__PURE__ */ F(Ks, [["render", Ys], ["__scopeId", "data-v-da63aa46
7937
7938
  }), t({
7938
7939
  tooltipVisible: a,
7939
7940
  tooltip: s
7940
- }), (_, S) => (d(), L(Y(Ft), {
7941
+ }), ($, S) => (d(), L(Y(Ft), {
7941
7942
  ref: "tooltipClickOutside",
7942
7943
  class: "joy-tooltip__click-outside",
7943
7944
  options: c.value,
7944
- onTrigger: S[1] || (S[1] = (I) => m(!1))
7945
+ onTrigger: S[1] || (S[1] = (V) => m(!1))
7945
7946
  }, {
7946
7947
  default: O(() => {
7947
- var I;
7948
+ var V;
7948
7949
  return [
7949
7950
  b("div", {
7950
7951
  ref_key: "tooltipWrapper",
@@ -7955,7 +7956,7 @@ const Zs = /* @__PURE__ */ F(Ks, [["render", Ys], ["__scopeId", "data-v-da63aa46
7955
7956
  onMouseleave: p,
7956
7957
  onKeydown: S[0] || (S[0] = Ge((P) => m(!1), ["tab"]))
7957
7958
  }, [
7958
- k(_.$slots, "default", {}, void 0, !0),
7959
+ k($.$slots, "default", {}, void 0, !0),
7959
7960
  (d(), L(De, { to: "body" }, [
7960
7961
  a.value && f.value ? (d(), g("div", {
7961
7962
  key: 0,
@@ -7969,14 +7970,14 @@ const Zs = /* @__PURE__ */ F(Ks, [["render", Ys], ["__scopeId", "data-v-da63aa46
7969
7970
  "joy-tooltip__content--hiding": !a.value
7970
7971
  }
7971
7972
  ]),
7972
- style: ie({ ...(I = u.value) == null ? void 0 : I.floatingStyles, maxWidth: `${e.tooltipWidth}px` })
7973
+ style: ie({ ...(V = u.value) == null ? void 0 : V.floatingStyles, maxWidth: `${e.tooltipWidth}px` })
7973
7974
  }, [
7974
7975
  b("div", {
7975
7976
  ref_key: "tooltipContent",
7976
7977
  ref: l,
7977
7978
  class: "joy-tooltip__content__inner"
7978
7979
  }, [
7979
- k(_.$slots, "tooltip-content", {}, () => [
7980
+ k($.$slots, "tooltip-content", {}, () => [
7980
7981
  W(D(e.text), 1)
7981
7982
  ], !0)
7982
7983
  ], 512),
@@ -7994,7 +7995,7 @@ const Zs = /* @__PURE__ */ F(Ks, [["render", Ys], ["__scopeId", "data-v-da63aa46
7994
7995
  _: 3
7995
7996
  }, 8, ["options"]));
7996
7997
  }
7997
- }), Mc = /* @__PURE__ */ F(wu, [["__scopeId", "data-v-ef1a62ec"]]), ku = { class: "joy-user-card__picture" }, ju = { class: "joy-user-card__informations" }, Su = { class: "joy-user-card__title" }, _u = { class: "joy-user-card__subtitle" }, $u = /* @__PURE__ */ B({
7998
+ }), Rc = /* @__PURE__ */ F(gu, [["__scopeId", "data-v-ef1a62ec"]]), wu = { class: "joy-user-card__picture" }, ku = { class: "joy-user-card__informations" }, ju = { class: "joy-user-card__title" }, Su = { class: "joy-user-card__subtitle" }, $u = /* @__PURE__ */ B({
7998
7999
  __name: "VJoyUserCard",
7999
8000
  props: {
8000
8001
  /**
@@ -8027,7 +8028,7 @@ const Zs = /* @__PURE__ */ F(Ks, [["render", Ys], ["__scopeId", "data-v-da63aa46
8027
8028
  title: e.fullName
8028
8029
  }, t.$attrs), {
8029
8030
  default: O(() => [
8030
- b("div", ku, [
8031
+ b("div", wu, [
8031
8032
  k(t.$slots, "user-card-avatar", {}, () => [
8032
8033
  q(jo, {
8033
8034
  "photo-url": e.photoUrl,
@@ -8035,19 +8036,19 @@ const Zs = /* @__PURE__ */ F(Ks, [["render", Ys], ["__scopeId", "data-v-da63aa46
8035
8036
  }, null, 8, ["photo-url", "full-name"])
8036
8037
  ], !0)
8037
8038
  ]),
8038
- b("div", ju, [
8039
- b("p", Su, [
8039
+ b("div", ku, [
8040
+ b("p", ju, [
8040
8041
  k(t.$slots, "user-card-title", {}, () => [
8041
8042
  W(D(e.fullName), 1)
8042
8043
  ], !0)
8043
8044
  ]),
8044
- b("p", _u, [
8045
+ b("p", Su, [
8045
8046
  k(t.$slots, "user-card-subtitle", {}, () => [
8046
8047
  W(D(e.subTitle), 1)
8047
8048
  ], !0)
8048
8049
  ]),
8049
8050
  k(t.$slots, "user-card-rating-stars", {}, () => [
8050
- e.ratingValue ? (d(), L(is, {
8051
+ e.ratingValue ? (d(), L(rs, {
8051
8052
  key: 0,
8052
8053
  "rating-value": e.ratingValue
8053
8054
  }, null, 8, ["rating-value"])) : j("", !0)
@@ -8060,13 +8061,13 @@ const Zs = /* @__PURE__ */ F(Ks, [["render", Ys], ["__scopeId", "data-v-da63aa46
8060
8061
  _: 3
8061
8062
  }, 16, ["href", "title"]));
8062
8063
  }
8063
- }), Jc = /* @__PURE__ */ F($u, [["__scopeId", "data-v-86acec3a"]]), Cu = { class: "joy-walkthrough-trigger__content" }, xu = {
8064
+ }), Mc = /* @__PURE__ */ F($u, [["__scopeId", "data-v-86acec3a"]]), _u = { class: "joy-walkthrough-trigger__content" }, Cu = {
8064
8065
  key: 0,
8065
8066
  class: "joy-pr-3"
8066
- }, Tu = {
8067
+ }, xu = {
8067
8068
  key: 1,
8068
8069
  class: "joy-pl-3"
8069
- }, Vu = /* @__PURE__ */ B({
8070
+ }, Tu = /* @__PURE__ */ B({
8070
8071
  __name: "VJoyWalkthroughTrigger",
8071
8072
  props: {
8072
8073
  icon: {},
@@ -8089,9 +8090,9 @@ const Zs = /* @__PURE__ */ F(Ks, [["render", Ys], ["__scopeId", "data-v-da63aa46
8089
8090
  class: "joy-walkthrough-trigger__icon joy-mr-3",
8090
8091
  name: o.icon
8091
8092
  }, null, 8, ["name"])) : j("", !0),
8092
- b("div", Cu, [
8093
- o.title ? (d(), g("span", xu, D(o.title), 1)) : j("", !0),
8094
- o.subtitle ? (d(), g("span", Tu, D(o.subtitle), 1)) : j("", !0)
8093
+ b("div", _u, [
8094
+ o.title ? (d(), g("span", Cu, D(o.title), 1)) : j("", !0),
8095
+ o.subtitle ? (d(), g("span", xu, D(o.subtitle), 1)) : j("", !0)
8095
8096
  ]),
8096
8097
  q(G, {
8097
8098
  class: "joy-ml-3",
@@ -8103,13 +8104,13 @@ const Zs = /* @__PURE__ */ F(Ks, [["render", Ys], ["__scopeId", "data-v-da63aa46
8103
8104
  ]);
8104
8105
  };
8105
8106
  }
8106
- }), Iu = /* @__PURE__ */ F(Vu, [["__scopeId", "data-v-56824d11"]]), Eu = { class: "joy-walkthrough-modal__illustration" }, Lu = { class: "joy-walkthrough-modal__content___titles" }, Au = { class: "joy-walkthrough-modal__content___title" }, Bu = { class: "joy-walkthrough-modal__content___subtitle" }, Fu = { class: "joy-font-primary-450" }, Nu = { style: { flex: "1" } }, zu = {
8107
+ }), Vu = /* @__PURE__ */ F(Tu, [["__scopeId", "data-v-56824d11"]]), Iu = { class: "joy-walkthrough-modal__illustration" }, Eu = { class: "joy-walkthrough-modal__content___titles" }, Lu = { class: "joy-walkthrough-modal__content___title" }, Au = { class: "joy-walkthrough-modal__content___subtitle" }, Bu = { class: "joy-font-primary-450" }, Fu = { style: { flex: "1" } }, Nu = {
8107
8108
  key: 0,
8108
8109
  class: "joy-mt-4 joy-walkthrough-modal__content-inner"
8109
- }, Pu = {
8110
+ }, zu = {
8110
8111
  type: "button",
8111
8112
  class: "joy-walkthrough-modal__footer-button joy-color-secondary-50 joy-font-primary-300"
8112
- }, Ou = /* @__PURE__ */ B({
8113
+ }, Pu = /* @__PURE__ */ B({
8113
8114
  __name: "VJoyWalkthrough",
8114
8115
  props: {
8115
8116
  open: { type: Boolean, default: !1 },
@@ -8194,14 +8195,14 @@ const Zs = /* @__PURE__ */ F(Ks, [["render", Ys], ["__scopeId", "data-v-da63aa46
8194
8195
  wrap: "nowrap"
8195
8196
  }, {
8196
8197
  default: O(() => [
8197
- b("div", Eu, [
8198
+ b("div", Iu, [
8198
8199
  k(y.$slots, "walkthrough-illustration", {}, void 0, !0)
8199
8200
  ]),
8200
- b("div", Lu, [
8201
- b("div", Au, [
8201
+ b("div", Eu, [
8202
+ b("div", Lu, [
8202
8203
  k(y.$slots, "walkthrough-title", {}, void 0, !0)
8203
8204
  ]),
8204
- b("div", Bu, [
8205
+ b("div", Au, [
8205
8206
  k(y.$slots, "walkthrough-subtitle", {}, void 0, !0)
8206
8207
  ])
8207
8208
  ])
@@ -8213,14 +8214,14 @@ const Zs = /* @__PURE__ */ F(Ks, [["render", Ys], ["__scopeId", "data-v-da63aa46
8213
8214
  class: "joy-mt-4"
8214
8215
  }, {
8215
8216
  default: O(() => [
8216
- b("span", Fu, D(y.progress + "%"), 1),
8217
- b("div", Nu, [
8217
+ b("span", Bu, D(y.progress + "%"), 1),
8218
+ b("div", Fu, [
8218
8219
  k(y.$slots, "walkthrough-progress", {}, void 0, !0)
8219
8220
  ])
8220
8221
  ]),
8221
8222
  _: 3
8222
8223
  }),
8223
- y.$slots["walkthrough-content"] ? (d(), g("div", zu, [
8224
+ y.$slots["walkthrough-content"] ? (d(), g("div", Nu, [
8224
8225
  k(y.$slots, "walkthrough-content", {}, void 0, !0)
8225
8226
  ])) : j("", !0)
8226
8227
  ], 2),
@@ -8229,10 +8230,10 @@ const Zs = /* @__PURE__ */ F(Ks, [["render", Ys], ["__scopeId", "data-v-da63aa46
8229
8230
  class: "joy-walkthrough-modal__footer joy-p-6",
8230
8231
  onClick: c
8231
8232
  }, [
8232
- b("button", Pu, D(y.footer), 1)
8233
+ b("button", zu, D(y.footer), 1)
8233
8234
  ])) : j("", !0)
8234
8235
  ], 16)) : j("", !0),
8235
- l.value ? j("", !0) : (d(), L(Iu, X({ key: 1 }, y.triggerAttrs, {
8236
+ l.value ? j("", !0) : (d(), L(Vu, X({ key: 1 }, y.triggerAttrs, {
8236
8237
  title: y.triggerTitle,
8237
8238
  subtitle: y.triggerSubtitle,
8238
8239
  icon: y.triggerIcon,
@@ -8242,8 +8243,8 @@ const Zs = /* @__PURE__ */ F(Ks, [["render", Ys], ["__scopeId", "data-v-da63aa46
8242
8243
  ], 2)
8243
8244
  ], 8, ["disabled"]));
8244
8245
  }
8245
- }), qc = /* @__PURE__ */ F(Ou, [["__scopeId", "data-v-a781459b"]]);
8246
- function Du(e) {
8246
+ }), Jc = /* @__PURE__ */ F(Pu, [["__scopeId", "data-v-a781459b"]]);
8247
+ function Ou(e) {
8247
8248
  return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, n) {
8248
8249
  var o = e.get(t);
8249
8250
  o ? o.push(n) : e.set(t, [n]);
@@ -8259,20 +8260,20 @@ function Du(e) {
8259
8260
  });
8260
8261
  } };
8261
8262
  }
8262
- function Ru() {
8263
- return Du();
8263
+ function Du() {
8264
+ return Ou();
8264
8265
  }
8265
- const Kn = "joy-snackbar__container", Mu = "joy-snackbar__shell--";
8266
+ const Kn = "joy-snackbar__container", Ru = "joy-snackbar__shell--";
8266
8267
  let nt = 0, Gn = [];
8267
- const Ju = {
8268
+ const Mu = {
8268
8269
  install: (e) => {
8269
- typeof window < "u" && qu(), e.directive("joy-ripple", uo);
8270
+ typeof window < "u" && Ju(), e.directive("joy-ripple", uo);
8270
8271
  }
8271
8272
  };
8272
- function Hc() {
8273
+ function qc() {
8273
8274
  nt = 0, Gn = [];
8274
8275
  }
8275
- function qu(e = { appendTo: "body", defaultMountSelector: Kn }) {
8276
+ function Ju(e = { appendTo: "body", defaultMountSelector: Kn }) {
8276
8277
  var o;
8277
8278
  const t = document.createElement("div");
8278
8279
  t.id = e.defaultMountSelector;
@@ -8290,20 +8291,20 @@ function qu(e = { appendTo: "body", defaultMountSelector: Kn }) {
8290
8291
  }
8291
8292
  `, document.head.appendChild(n), document.getElementById(t.id) === null && (e.appendTo === "body" ? document.body.appendChild(t) : (o = document.body.querySelector(e.appendTo)) == null || o.appendChild(t));
8292
8293
  }
8293
- function Wc(e) {
8294
+ function Hc(e) {
8294
8295
  var r, l;
8295
8296
  nt++;
8296
8297
  let t, n;
8297
- const o = Ru();
8298
+ const o = Du();
8298
8299
  t = so(
8299
- _s,
8300
+ Ss,
8300
8301
  Object.assign(e.props, {
8301
8302
  bus: o,
8302
8303
  instanceNb: nt
8303
8304
  })
8304
8305
  );
8305
8306
  const a = document.createElement("div");
8306
- return a.classList.add("joy-snackbar__shell"), n = `${Mu}${nt}`, a.id = n, e.snackbarHostId ? (r = document.getElementById(e.snackbarHostId)) == null || r.appendChild(a) : (l = document.getElementById(Kn)) == null || l.appendChild(a), t.use(Ju).mount("#" + n), Gn.push(t), o.on("snackbar:hide", () => {
8307
+ return a.classList.add("joy-snackbar__shell"), n = `${Ru}${nt}`, a.id = n, e.snackbarHostId ? (r = document.getElementById(e.snackbarHostId)) == null || r.appendChild(a) : (l = document.getElementById(Kn)) == null || l.appendChild(a), t.use(Mu).mount("#" + n), Gn.push(t), o.on("snackbar:hide", () => {
8307
8308
  var s;
8308
8309
  t.unmount(), (s = document.getElementById(n)) == null || s.remove();
8309
8310
  }), {
@@ -8312,82 +8313,82 @@ function Wc(e) {
8312
8313
  };
8313
8314
  }
8314
8315
  export {
8315
- Lc as $,
8316
- vc as A,
8317
- pc as B,
8316
+ Ec as $,
8317
+ yc as A,
8318
+ vc as B,
8318
8319
  G as C,
8319
- wr as D,
8320
- mc as E,
8321
- hc as F,
8320
+ gr as D,
8321
+ pc as E,
8322
+ mc as F,
8322
8323
  Le as G,
8323
- bc as H,
8324
- gc as I,
8325
- Nl as J,
8326
- wc as K,
8327
- kc as L,
8328
- jc as M,
8329
- Sc as N,
8330
- _c as O,
8324
+ hc as H,
8325
+ bc as I,
8326
+ Fl as J,
8327
+ gc as K,
8328
+ wc as L,
8329
+ kc as M,
8330
+ jc as N,
8331
+ Sc as O,
8331
8332
  $c as P,
8332
- Cc as Q,
8333
- xc as R,
8334
- Tc as S,
8335
- Vc as T,
8336
- is as U,
8337
- Uu as V,
8333
+ _c as Q,
8334
+ Cc as R,
8335
+ xc as S,
8336
+ Tc as T,
8337
+ rs as U,
8338
+ Wu as V,
8338
8339
  Tn as W,
8339
- Ic as X,
8340
- ps as Y,
8341
- Ec as Z,
8342
- Xu as _,
8340
+ Vc as X,
8341
+ vs as Y,
8342
+ Ic as Z,
8343
+ Zu as _,
8343
8344
  jo as a,
8344
- _s as a0,
8345
+ Ss as a0,
8345
8346
  mn as a1,
8346
- Vs as a2,
8347
- Ac as a3,
8348
- Bc as a4,
8349
- Fc as a5,
8347
+ Ts as a2,
8348
+ Lc as a3,
8349
+ Ac as a4,
8350
+ Bc as a5,
8350
8351
  Un as a6,
8351
- Nc as a7,
8352
- zc as a8,
8353
- Pc as a9,
8354
- Zs as aa,
8355
- Oc as ab,
8356
- Dc as ac,
8357
- Rc as ad,
8358
- Mc as ae,
8359
- Jc as af,
8360
- qc as ag,
8361
- Iu as ah,
8352
+ Fc as a7,
8353
+ Nc as a8,
8354
+ zc as a9,
8355
+ Ys as aa,
8356
+ Pc as ab,
8357
+ Oc as ac,
8358
+ Dc as ad,
8359
+ Rc as ae,
8360
+ Mc as af,
8361
+ Jc as ag,
8362
+ Vu as ah,
8362
8363
  fe as ai,
8363
- qu as aj,
8364
+ Ju as aj,
8364
8365
  uo as ak,
8365
- Wu as al,
8366
- Wc as am,
8367
- Hc as an,
8368
- Ku as b,
8366
+ Hu as al,
8367
+ Hc as am,
8368
+ qc as an,
8369
+ Uu as b,
8369
8370
  xo as c,
8370
- Gu as d,
8371
- Yu as e,
8372
- Zu as f,
8371
+ Ku as d,
8372
+ Gu as e,
8373
+ Yu as f,
8373
8374
  ce as g,
8374
8375
  gn as h,
8375
- Qu as i,
8376
- ma as j,
8377
- ec as k,
8378
- tc as l,
8379
- nc as m,
8380
- oc as n,
8381
- ac as o,
8376
+ Xu as i,
8377
+ pa as j,
8378
+ Qu as k,
8379
+ ec as l,
8380
+ tc as m,
8381
+ nc as n,
8382
+ oc as o,
8382
8383
  Kt as p,
8383
- lc as q,
8384
- rc as r,
8385
- ic as s,
8386
- sc as t,
8387
- uc as u,
8388
- cc as v,
8384
+ ac as q,
8385
+ lc as r,
8386
+ rc as s,
8387
+ ic as t,
8388
+ sc as u,
8389
+ uc as v,
8389
8390
  Nt as w,
8390
- dc as x,
8391
- fc as y,
8392
- yc as z
8391
+ cc as x,
8392
+ dc as y,
8393
+ fc as z
8393
8394
  };