@maltjoy/core-vue 3.31.0-next → 3.31.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 Y, createTextVNode as W, toDisplayString as O, createCommentVNode as j, createBlock as A, resolveDynamicComponent as se, mergeProps as ae, withCtx as R, pushScopeId as Ye, popScopeId as Ze, renderSlot as _, unref as D, renderList as ee, inject as Xe, normalizeStyle as ie, ref as C, onMounted as re, useAttrs as Re, resolveDirective as Xn, withDirectives as cn, getCurrentScope as Vt, onScopeDispose as It, toRef as Qn, readonly as ea, customRef as ta, shallowRef as dn, watch as te, nextTick as Ue, getCurrentInstance as na, h as aa, Teleport as Qe, createVNode as K, useSlots as X, onBeforeUnmount as De, provide as Et, Transition as fn, withKeys as pt, normalizeProps as _e, guardReactiveProps as ke, createSlots as Lt, mergeModels as oa, useModel as la, createStaticVNode as vn, onBeforeMount as ra, shallowReadonly as Be, onUnmounted as yn, vShow as ia, render as qt, withModifiers as sa, createApp as ua } from "vue";
1
+ import { defineComponent as B, computed as V, openBlock as d, createElementBlock as g, normalizeClass as E, createElementVNode as b, Fragment as G, createTextVNode as W, toDisplayString as O, createCommentVNode as j, createBlock as L, resolveDynamicComponent as re, mergeProps as ae, withCtx as R, pushScopeId as Ye, popScopeId as Ze, renderSlot as _, unref as D, renderList as X, inject as Xe, normalizeStyle as se, ref as C, onMounted as ie, useAttrs as Re, resolveDirective as Xn, withDirectives as cn, getCurrentScope as Vt, onScopeDispose as It, toRef as Qn, readonly as ea, customRef as ta, shallowRef as dn, watch as te, nextTick as Ue, getCurrentInstance as na, h as aa, Teleport as Qe, createVNode as K, useSlots as Q, withKeys as et, onBeforeUnmount as De, provide as Et, Transition as fn, normalizeProps as _e, guardReactiveProps as ke, createSlots as Lt, mergeModels as oa, useModel as la, createStaticVNode as vn, onBeforeMount as ra, shallowReadonly as Be, onUnmounted as yn, vShow as ia, render as qt, withModifiers as sa, createApp as ua } from "vue";
2
2
  function Ht(e) {
3
3
  const t = e.target;
4
4
  if (!t)
@@ -46,7 +46,7 @@ const ca = {
46
46
  b("span", {
47
47
  class: E(n.value)
48
48
  }, null, 2),
49
- e.label ? (d(), g(Y, { key: 0 }, [
49
+ e.label ? (d(), g(G, { key: 0 }, [
50
50
  W(O(e.label), 1)
51
51
  ], 64)) : j("", !0)
52
52
  ], 10, da));
@@ -56,7 +56,7 @@ const ca = {
56
56
  for (const [a, o] of t)
57
57
  n[a] = o;
58
58
  return n;
59
- }, nc = /* @__PURE__ */ F(fa, [["__scopeId", "data-v-3452c6e7"]]), va = ["role", "tabindex", "aria-label", "title"], G = /* @__PURE__ */ B({
59
+ }, ac = /* @__PURE__ */ F(fa, [["__scopeId", "data-v-3452c6e7"]]), va = ["role", "tabindex", "aria-label", "title"], Y = /* @__PURE__ */ B({
60
60
  __name: "VJoyIcon",
61
61
  props: {
62
62
  ariaLabel: {
@@ -168,12 +168,12 @@ const ca = {
168
168
  isAnonymous: i,
169
169
  initials: u
170
170
  }), (c, y) => (d(), g("div", pa, [
171
- (d(), A(se(e.link ? "button" : "div"), ae(l.value, {
171
+ (d(), L(re(e.link ? "button" : "div"), ae(l.value, {
172
172
  class: [s.value],
173
173
  onClick: f
174
174
  }), {
175
175
  default: R(() => [
176
- i.value ? (d(), A(G, {
176
+ i.value ? (d(), L(Y, {
177
177
  key: 0,
178
178
  name: "user-photo",
179
179
  color: "white",
@@ -186,10 +186,10 @@ const ca = {
186
186
  alt: e.fullName || "",
187
187
  loading: "lazy"
188
188
  }, null, 8, ma)) : j("", !0),
189
- e.fullName ? (d(), g(Y, { key: 2 }, [
189
+ e.fullName ? (d(), g(G, { key: 2 }, [
190
190
  W(O(u.value), 1)
191
191
  ], 64)) : j("", !0),
192
- e.totalNumber ? (d(), g(Y, { key: 3 }, [
192
+ e.totalNumber ? (d(), g(G, { key: 3 }, [
193
193
  W(O("+" + e.totalNumber), 1)
194
194
  ], 64)) : j("", !0)
195
195
  ]),
@@ -223,7 +223,7 @@ const ca = {
223
223
  _(t.$slots, "default", {}, void 0, !0)
224
224
  ], 2));
225
225
  }
226
- }), ac = /* @__PURE__ */ F(ka, [["__scopeId", "data-v-c985cccf"]]), ja = { key: 0 }, $a = /* @__PURE__ */ B({
226
+ }), oc = /* @__PURE__ */ F(ka, [["__scopeId", "data-v-c985cccf"]]), ja = { key: 0 }, $a = /* @__PURE__ */ B({
227
227
  __name: "VJoyDot",
228
228
  props: {
229
229
  number: Number,
@@ -268,7 +268,7 @@ const ca = {
268
268
  number: Number
269
269
  },
270
270
  setup(e) {
271
- return (t, n) => e.number ? (d(), A(Wt, {
271
+ return (t, n) => e.number ? (d(), L(Wt, {
272
272
  key: 0,
273
273
  variant: e.variant,
274
274
  number: e.number
@@ -277,7 +277,7 @@ const ca = {
277
277
  class: E(["joy-badge", `joy-badge__${e.variant}`, { "joy-badge--with-bulletpoint": e.bulletpoint }]),
278
278
  role: "status"
279
279
  }, [
280
- e.bulletpoint ? (d(), A(Wt, {
280
+ e.bulletpoint ? (d(), L(Wt, {
281
281
  key: 0,
282
282
  class: "joy-badge_dot",
283
283
  variant: e.variant
@@ -288,7 +288,7 @@ const ca = {
288
288
  ], 2));
289
289
  }
290
290
  }), xa = /* @__PURE__ */ F(Ca, [["__scopeId", "data-v-c96c1104"]]);
291
- var ne = /* @__PURE__ */ ((e) => (e.HIGH_POTENTIAL = "highpotential", e.HIGH_POTENTIAL_AUTO = "high-potential-auto", e.MALT_LINKER = "maltlinker", e.NEW = "new", e.SUPER_MALTER = "supermalter", e.VERIFIED = "verified", e))(ne || {}), rt = /* @__PURE__ */ ((e) => (e.HIGH_POTENTIAL = "program_high-potential", e))(rt || {});
291
+ var ne = /* @__PURE__ */ ((e) => (e.HIGH_POTENTIAL = "highpotential", e.HIGH_POTENTIAL_AUTO = "high-potential-auto", e.MALT_LINKER = "maltlinker", e.NEW = "new", e.SUPER_MALTER = "supermalter", e.VERIFIED = "verified", e))(ne || {}), it = /* @__PURE__ */ ((e) => (e.HIGH_POTENTIAL = "program_high-potential", e))(it || {});
292
292
  const fe = (e) => (Ye("data-v-08a5e2c8"), e = e(), Ze(), e), Ta = { class: "joy-badge-level" }, Va = /* @__PURE__ */ fe(() => /* @__PURE__ */ b("path", {
293
293
  fill: "#264FFA",
294
294
  d: "M5.71533 12.2962 11.4243 18l.0049-11.45716-5.71387 5.75336Z"
@@ -384,7 +384,7 @@ const fe = (e) => (Ye("data-v-08a5e2c8"), e = e(), Ze(), e), Ta = { class: "joy-
384
384
  setup(e) {
385
385
  const t = e, n = V(() => {
386
386
  switch (t.type) {
387
- case rt.HIGH_POTENTIAL:
387
+ case it.HIGH_POTENTIAL:
388
388
  case ne.HIGH_POTENTIAL:
389
389
  return "High Potential";
390
390
  case ne.HIGH_POTENTIAL_AUTO:
@@ -402,7 +402,7 @@ const fe = (e) => (Ye("data-v-08a5e2c8"), e = e(), Ze(), e), Ta = { class: "joy-
402
402
  }
403
403
  });
404
404
  return (a, o) => (d(), g("span", Ta, [
405
- e.type === D(ne).SUPER_MALTER ? (d(!0), g(Y, { key: 0 }, ee(e.superMalterLevel, (r, l) => (d(), g("svg", {
405
+ e.type === D(ne).SUPER_MALTER ? (d(!0), g(G, { key: 0 }, X(e.superMalterLevel, (r, l) => (d(), g("svg", {
406
406
  key: l,
407
407
  class: "joy-badge-level__supermalter",
408
408
  xmlns: "http://www.w3.org/2000/svg",
@@ -412,13 +412,13 @@ const fe = (e) => (Ye("data-v-08a5e2c8"), e = e(), Ze(), e), Ta = { class: "joy-
412
412
  e.type === D(ne).HIGH_POTENTIAL ? (d(), g("svg", Aa, Fa)) : j("", !0),
413
413
  e.type === D(ne).HIGH_POTENTIAL_AUTO ? (d(), g("svg", Na, Da)) : j("", !0),
414
414
  e.type === D(ne).MALT_LINKER ? (d(), g("svg", Ma, Ha)) : j("", !0),
415
- e.type === D(rt).HIGH_POTENTIAL ? (d(), g("svg", Wa, Ka)) : j("", !0),
415
+ e.type === D(it).HIGH_POTENTIAL ? (d(), g("svg", Wa, Ka)) : j("", !0),
416
416
  b("span", {
417
417
  class: E([
418
418
  {
419
419
  "joy-badge-level__tag": e.visibleText,
420
420
  red: e.type === D(ne).NEW || e.type === D(ne).MALT_LINKER || e.type === D(ne).HIGH_POTENTIAL_AUTO,
421
- blue: e.type === D(rt).HIGH_POTENTIAL || e.type === D(ne).HIGH_POTENTIAL || e.type === D(ne).SUPER_MALTER,
421
+ blue: e.type === D(it).HIGH_POTENTIAL || e.type === D(ne).HIGH_POTENTIAL || e.type === D(ne).SUPER_MALTER,
422
422
  turquoise: e.type === D(ne).VERIFIED
423
423
  }
424
424
  ])
@@ -429,7 +429,7 @@ const fe = (e) => (Ye("data-v-08a5e2c8"), e = e(), Ze(), e), Ta = { class: "joy-
429
429
  ], 2)
430
430
  ]));
431
431
  }
432
- }), oc = /* @__PURE__ */ F(Ga, [["__scopeId", "data-v-08a5e2c8"]]), Ya = /* @__PURE__ */ B({
432
+ }), lc = /* @__PURE__ */ F(Ga, [["__scopeId", "data-v-08a5e2c8"]]), Ya = /* @__PURE__ */ B({
433
433
  __name: "VJoyBlockSkeleton",
434
434
  props: {
435
435
  /** If you want to use it properly you need to set fixed width and height */
@@ -459,14 +459,14 @@ const fe = (e) => (Ye("data-v-08a5e2c8"), e = e(), Ze(), e), Ta = { class: "joy-
459
459
  "joy-block-skeleton": !0,
460
460
  "joy-block-skeleton--circle": e.circle
461
461
  }),
462
- style: ie({
462
+ style: se({
463
463
  "max-width": e.width,
464
464
  height: e.height,
465
465
  flex: a.value
466
466
  })
467
467
  }, null, 6));
468
468
  }
469
- }), lc = /* @__PURE__ */ F(Ya, [["__scopeId", "data-v-4da2c7cb"]]);
469
+ }), rc = /* @__PURE__ */ F(Ya, [["__scopeId", "data-v-4da2c7cb"]]);
470
470
  function pn(e) {
471
471
  let t;
472
472
  switch (e) {
@@ -512,7 +512,7 @@ const Xa = /* @__PURE__ */ B({
512
512
  }), mn = /* @__PURE__ */ F(Xa, [["__scopeId", "data-v-52944a9b"]]);
513
513
  function Qa() {
514
514
  const e = C();
515
- return re(() => {
515
+ return ie(() => {
516
516
  e.value = "joy-button--" + je();
517
517
  }), {
518
518
  randomId: e
@@ -575,7 +575,7 @@ const eo = ["id"], to = /* @__PURE__ */ B({
575
575
  }), l = V(() => ["white", "ghost", "secondary"].includes(n.variant) ? "teal" : "white");
576
576
  return t({ randomId: o }), (s, i) => {
577
577
  const u = Xn("joy-ripple");
578
- return cn((d(), A(se(D(a).href ? "a" : "button"), {
578
+ return cn((d(), L(re(D(a).href ? "a" : "button"), {
579
579
  disabled: e.loading || D(a).disabled,
580
580
  type: D(a).type || "button",
581
581
  class: E([
@@ -590,14 +590,14 @@ const eo = ["id"], to = /* @__PURE__ */ B({
590
590
  "aria-labelledby": (s.$slots.default || e.label) && D(o)
591
591
  }, {
592
592
  default: R(() => [
593
- e.icon && e.iconPosition === "left" ? (d(), A(G, {
593
+ e.icon && e.iconPosition === "left" ? (d(), L(Y, {
594
594
  key: 0,
595
595
  class: "joy-button_icon joy-button_icon--left",
596
596
  name: e.icon,
597
597
  size: r.value,
598
598
  "aria-hidden": "true"
599
599
  }, null, 8, ["name", "size"])) : j("", !0),
600
- e.loading ? (d(), A(mn, {
600
+ e.loading ? (d(), L(mn, {
601
601
  key: 1,
602
602
  color: l.value
603
603
  }, null, 8, ["color"])) : j("", !0),
@@ -609,7 +609,7 @@ const eo = ["id"], to = /* @__PURE__ */ B({
609
609
  W(O(e.label), 1)
610
610
  ], !0)
611
611
  ], 8, eo),
612
- e.icon && e.iconPosition === "right" ? (d(), A(G, {
612
+ e.icon && e.iconPosition === "right" ? (d(), L(Y, {
613
613
  key: 2,
614
614
  class: "joy-button_icon joy-button_icon--right",
615
615
  name: e.icon,
@@ -714,7 +714,7 @@ function ro(e, t, n = {}) {
714
714
  }
715
715
  function io() {
716
716
  const e = C(!1), t = na();
717
- return t && re(() => {
717
+ return t && ie(() => {
718
718
  e.value = !0;
719
719
  }, t), e;
720
720
  }
@@ -854,7 +854,7 @@ function mo(e) {
854
854
  const t = e || window.event, n = t.target;
855
855
  return bn(n) ? !1 : t.touches.length > 1 ? !0 : (t.preventDefault && t.preventDefault(), !1);
856
856
  }
857
- const at = /* @__PURE__ */ new WeakMap();
857
+ const ot = /* @__PURE__ */ new WeakMap();
858
858
  function ho(e, t = !1) {
859
859
  const n = C(t);
860
860
  let a = null, o;
@@ -862,7 +862,7 @@ function ho(e, t = !1) {
862
862
  const i = _t(be(s));
863
863
  if (i) {
864
864
  const u = i;
865
- at.get(u) || at.set(u, o), n.value && (u.style.overflow = "hidden");
865
+ ot.get(u) || ot.set(u, o), n.value && (u.style.overflow = "hidden");
866
866
  }
867
867
  }, {
868
868
  immediate: !0
@@ -880,7 +880,7 @@ function ho(e, t = !1) {
880
880
  }, l = () => {
881
881
  var s;
882
882
  const i = _t(be(e));
883
- !i || !n.value || (jt && (a == null || a()), i.style.overflow = (s = at.get(i)) != null ? s : "", at.delete(i), n.value = !1);
883
+ !i || !n.value || (jt && (a == null || a()), i.style.overflow = (s = ot.get(i)) != null ? s : "", ot.delete(i), n.value = !1);
884
884
  };
885
885
  return mt(l), V({
886
886
  get() {
@@ -954,7 +954,7 @@ const gn = (e) => (Ye("data-v-cba81110"), e = e(), Ze(), e), go = /* @__PURE__ *
954
954
  }, 300);
955
955
  }
956
956
  function h(w) {
957
- f.value = !0, c.value.classList.add(Gt), y = L(w);
957
+ f.value = !0, c.value.classList.add(Gt), y = A(w);
958
958
  }
959
959
  function m(w) {
960
960
  f.value && (k(w) > Kt && v(), T());
@@ -966,9 +966,9 @@ const gn = (e) => (Ye("data-v-cba81110"), e = e(), Ze(), e), go = /* @__PURE__ *
966
966
  }
967
967
  }
968
968
  function k(w) {
969
- return L(w) - y;
969
+ return A(w) - y;
970
970
  }
971
- function L(w) {
971
+ function A(w) {
972
972
  return ["touchend", "touchmove", "touchstart"].includes(w.type) ? w.changedTouches[0].clientY : w.clientY;
973
973
  }
974
974
  function P(w) {
@@ -980,14 +980,14 @@ const gn = (e) => (Ye("data-v-cba81110"), e = e(), Ze(), e), go = /* @__PURE__ *
980
980
  function I() {
981
981
  a.preventBodyScroll && he(!0);
982
982
  }
983
- return re(() => {
983
+ return ie(() => {
984
984
  s.value = !0, a.open && I();
985
985
  }), t({
986
986
  hide: v,
987
987
  show: p,
988
988
  isOpen: u,
989
989
  moveContainer: P
990
- }), (w, z) => s.value ? (d(), A(Qe, {
990
+ }), (w, z) => s.value ? (d(), L(Qe, {
991
991
  key: 0,
992
992
  to: e.teleport
993
993
  }, [
@@ -1038,19 +1038,19 @@ const gn = (e) => (Ye("data-v-cba81110"), e = e(), Ze(), e), go = /* @__PURE__ *
1038
1038
  ], 16)) : j("", !0)
1039
1039
  ], 8, ["to"])) : j("", !0);
1040
1040
  }
1041
- }), rc = /* @__PURE__ */ F(jo, [["__scopeId", "data-v-cba81110"]]), ic = /* @__PURE__ */ B({
1041
+ }), ic = /* @__PURE__ */ F(jo, [["__scopeId", "data-v-cba81110"]]), sc = /* @__PURE__ */ B({
1042
1042
  __name: "VJoyBottomSheetTrigger",
1043
1043
  props: {
1044
1044
  bottomSheet: {}
1045
1045
  },
1046
1046
  emits: ["click"],
1047
1047
  setup(e, { emit: t }) {
1048
- const n = e, a = t, o = V(() => n.bottomSheet), r = X(), l = V(() => r.default());
1048
+ const n = e, a = t, o = V(() => n.bottomSheet), r = Q(), l = V(() => r.default());
1049
1049
  function s() {
1050
1050
  var i;
1051
1051
  a("click"), (i = o.value) == null || i.show();
1052
1052
  }
1053
- return (i, u) => (d(!0), g(Y, null, ee(l.value, (f) => (d(), A(se(f), {
1053
+ return (i, u) => (d(!0), g(G, null, X(l.value, (f) => (d(), L(re(f), {
1054
1054
  key: f,
1055
1055
  onClick: s
1056
1056
  }))), 128));
@@ -1169,7 +1169,10 @@ const gn = (e) => (Ye("data-v-cba81110"), e = e(), Ze(), e), go = /* @__PURE__ *
1169
1169
  ], 2)
1170
1170
  ]));
1171
1171
  }
1172
- }), wn = /* @__PURE__ */ F(Io, [["__scopeId", "data-v-8391ace5"]]), Eo = ["aria-expanded"], Lo = ["id"], Ao = { class: "joy-collapse-item__header-right" }, Bo = ["aria-labelledby"], Fo = /* @__PURE__ */ B({
1172
+ }), wn = /* @__PURE__ */ F(Io, [["__scopeId", "data-v-8391ace5"]]), Eo = ["id"], Lo = { class: "joy-collapse-item__header-right" }, Ao = {
1173
+ key: 0,
1174
+ class: "joy-collapse-item__summary___subheader"
1175
+ }, Bo = { class: "joy-collapse-item__summary___preview" }, Fo = ["aria-labelledby"], No = /* @__PURE__ */ B({
1173
1176
  __name: "VJoyCollapseItem",
1174
1177
  props: {
1175
1178
  /** Title of the collapse item */
@@ -1177,6 +1180,9 @@ const gn = (e) => (Ye("data-v-cba81110"), e = e(), Ze(), e), go = /* @__PURE__ *
1177
1180
  type: String,
1178
1181
  required: !0
1179
1182
  },
1183
+ subheader: {
1184
+ type: String
1185
+ },
1180
1186
  open: {
1181
1187
  type: Boolean,
1182
1188
  default: !1
@@ -1225,11 +1231,12 @@ const gn = (e) => (Ye("data-v-cba81110"), e = e(), Ze(), e), go = /* @__PURE__ *
1225
1231
  }
1226
1232
  ])
1227
1233
  }, [
1228
- b("button", {
1229
- "aria-expanded": r.value,
1230
- type: "button",
1234
+ b("div", {
1235
+ role: "button",
1236
+ tabindex: "0",
1231
1237
  class: "joy-collapse-item__summary",
1232
1238
  onClick: s,
1239
+ onKeydown: et(s, ["enter"]),
1233
1240
  onFocus: f[0] || (f[0] = (c) => l.value = !0),
1234
1241
  onBlur: f[1] || (f[1] = (c) => l.value = !1)
1235
1242
  }, [
@@ -1237,22 +1244,26 @@ const gn = (e) => (Ye("data-v-cba81110"), e = e(), Ze(), e), go = /* @__PURE__ *
1237
1244
  id: e.id,
1238
1245
  class: "joy-collapse-item__summary___content"
1239
1246
  }, [
1240
- e.summaryIcon ? (d(), A(G, {
1247
+ e.summaryIcon ? (d(), L(Y, {
1241
1248
  key: 0,
1242
1249
  "aria-hidden": "true",
1243
1250
  color: "secondary",
1244
1251
  name: e.summaryIcon
1245
1252
  }, null, 8, ["name"])) : j("", !0),
1246
1253
  W(" " + O(e.header), 1)
1247
- ], 8, Lo),
1248
- b("div", Ao, [
1254
+ ], 8, Eo),
1255
+ b("div", Lo, [
1249
1256
  _(u.$slots, "collapse-header-right")
1250
1257
  ]),
1251
- K(G, {
1258
+ K(Y, {
1252
1259
  class: "joy-collapse-item__summary___marker",
1253
1260
  name: "chevron-down"
1254
- })
1255
- ], 40, Eo),
1261
+ }),
1262
+ e.subheader ? (d(), g("span", Ao, O(e.subheader), 1)) : j("", !0),
1263
+ b("span", Bo, [
1264
+ _(u.$slots, "collapse-preview")
1265
+ ])
1266
+ ], 32),
1256
1267
  r.value ? (d(), g("div", {
1257
1268
  key: 0,
1258
1269
  role: "region",
@@ -1265,10 +1276,10 @@ const gn = (e) => (Ye("data-v-cba81110"), e = e(), Ze(), e), go = /* @__PURE__ *
1265
1276
  ])
1266
1277
  }, [
1267
1278
  _(u.$slots, "default")
1268
- ], 10, Bo)) : j("", !0)
1279
+ ], 10, Fo)) : j("", !0)
1269
1280
  ], 2));
1270
1281
  }
1271
- }), No = /* @__PURE__ */ F(Fo, [["__scopeId", "data-v-15ed16fd"]]), zo = { class: "joy-collapse" }, Po = /* @__PURE__ */ B({
1282
+ }), zo = /* @__PURE__ */ F(No, [["__scopeId", "data-v-71c8a78d"]]), Po = { class: "joy-collapse" }, Oo = /* @__PURE__ */ B({
1272
1283
  __name: "VJoyCollapse",
1273
1284
  props: {
1274
1285
  /** Open one item at a time. Works with modelValue */
@@ -1293,7 +1304,7 @@ const gn = (e) => (Ye("data-v-cba81110"), e = e(), Ze(), e), go = /* @__PURE__ *
1293
1304
  },
1294
1305
  emits: ["update:modelValue"],
1295
1306
  setup(e, { expose: t, emit: n }) {
1296
- const a = e, o = C(a.modelValue), r = X(), l = n, s = V(() => {
1307
+ const a = e, o = C(a.modelValue), r = Q(), l = n, s = V(() => {
1297
1308
  const v = r.default();
1298
1309
  return v.length === 1 && typeof v[0].type != "object" ? v[0].children.filter(i) : v.filter(i);
1299
1310
  });
@@ -1329,8 +1340,8 @@ const gn = (e) => (Ye("data-v-cba81110"), e = e(), Ze(), e), go = /* @__PURE__ *
1329
1340
  isOpen: f,
1330
1341
  items: s,
1331
1342
  openedCollapseItem: o
1332
- }), (v, h) => (d(), g("div", zo, [
1333
- (d(!0), g(Y, null, ee(s.value, (m) => (d(), A(No, ae(m.props, {
1343
+ }), (v, h) => (d(), g("div", Po, [
1344
+ (d(!0), g(G, null, X(s.value, (m) => (d(), L(zo, ae(m.props, {
1334
1345
  key: m.props.id,
1335
1346
  open: f(m),
1336
1347
  mode: e.mode,
@@ -1338,16 +1349,19 @@ const gn = (e) => (Ye("data-v-cba81110"), e = e(), Ze(), e), go = /* @__PURE__ *
1338
1349
  "onCollapseItem:close": () => y(m)
1339
1350
  }), {
1340
1351
  "collapse-header-right": R(() => [
1341
- (d(!0), g(Y, null, ee(u(m, "collapse-header-right"), (S, k) => (d(), A(se(S), { key: k }))), 128))
1352
+ (d(!0), g(G, null, X(u(m, "collapse-header-right"), (S, k) => (d(), L(re(S), { key: k }))), 128))
1353
+ ]),
1354
+ "collapse-preview": R(() => [
1355
+ (d(!0), g(G, null, X(u(m, "collapse-preview"), (S, k) => (d(), L(re(S), { key: k }))), 128))
1342
1356
  ]),
1343
1357
  default: R(() => [
1344
- (d(!0), g(Y, null, ee(u(m, "default"), (S, k) => (d(), A(se(S), { key: k }))), 128))
1358
+ (d(!0), g(G, null, X(u(m, "default"), (S, k) => (d(), L(re(S), { key: k }))), 128))
1345
1359
  ]),
1346
1360
  _: 2
1347
1361
  }, 1040, ["open", "mode", "onCollapseItem:open", "onCollapseItem:close"]))), 128))
1348
1362
  ]));
1349
1363
  }
1350
- }), sc = /* @__PURE__ */ F(Po, [["__scopeId", "data-v-94c846f4"]]), Oo = ["src", "alt", "title"], Ro = /* @__PURE__ */ B({
1364
+ }), uc = /* @__PURE__ */ F(Oo, [["__scopeId", "data-v-35744932"]]), Ro = ["src", "alt", "title"], Do = /* @__PURE__ */ B({
1351
1365
  __name: "VJoyCompanyAvatar",
1352
1366
  props: {
1353
1367
  /** Inject the URL of your image. Fallback will be the icon */
@@ -1382,14 +1396,14 @@ const gn = (e) => (Ye("data-v-cba81110"), e = e(), Ze(), e), go = /* @__PURE__ *
1382
1396
  src: e.imgSrc,
1383
1397
  alt: e.imgAlt || e.companyName,
1384
1398
  title: e.companyName
1385
- }, null, 8, Oo)) : (d(), A(G, {
1399
+ }, null, 8, Ro)) : (d(), L(Y, {
1386
1400
  key: 1,
1387
1401
  name: "company-placeholder",
1388
1402
  size: n.value
1389
1403
  }, null, 8, ["size"]))
1390
1404
  ], 2));
1391
1405
  }
1392
- }), uc = /* @__PURE__ */ F(Ro, [["__scopeId", "data-v-1c40fd23"]]), Do = ["aria-hidden"], Mo = /* @__PURE__ */ B({
1406
+ }), cc = /* @__PURE__ */ F(Do, [["__scopeId", "data-v-1c40fd23"]]), Mo = ["aria-hidden"], Jo = /* @__PURE__ */ B({
1393
1407
  __name: "VJoyFormError",
1394
1408
  props: {
1395
1409
  /** In some cases you'll need to inject the error in the DOM but hide it. Visible by default */
@@ -1406,7 +1420,7 @@ const gn = (e) => (Ye("data-v-cba81110"), e = e(), Ze(), e), go = /* @__PURE__ *
1406
1420
  class: E(["joy-form-error", { "joy-has-error": e.visible }]),
1407
1421
  role: "alert"
1408
1422
  }, [
1409
- K(G, {
1423
+ K(Y, {
1410
1424
  class: "joy-icon-error",
1411
1425
  name: "warning-triangle"
1412
1426
  }),
@@ -1415,15 +1429,15 @@ const gn = (e) => (Ye("data-v-cba81110"), e = e(), Ze(), e), go = /* @__PURE__ *
1415
1429
  W(O(e.noHtmlErrorText), 1)
1416
1430
  ], !0)
1417
1431
  ])
1418
- ], 10, Do));
1432
+ ], 10, Mo));
1419
1433
  }
1420
- }), Ft = /* @__PURE__ */ F(Mo, [["__scopeId", "data-v-deb60895"]]), Jo = {
1434
+ }), Ft = /* @__PURE__ */ F(Jo, [["__scopeId", "data-v-deb60895"]]), qo = {
1421
1435
  key: 0,
1422
1436
  class: "joy-label-required"
1423
- }, qo = {
1437
+ }, Ho = {
1424
1438
  key: 1,
1425
1439
  class: "joy-label-optional"
1426
- }, Ho = /* @__PURE__ */ B({
1440
+ }, Wo = /* @__PURE__ */ B({
1427
1441
  __name: "VJoyLabel",
1428
1442
  props: {
1429
1443
  size: {
@@ -1444,41 +1458,41 @@ const gn = (e) => (Ye("data-v-cba81110"), e = e(), Ze(), e), go = /* @__PURE__ *
1444
1458
  text: String
1445
1459
  },
1446
1460
  setup(e) {
1447
- return (t, n) => (d(), A(se(e.tagName), ae({
1461
+ return (t, n) => (d(), L(re(e.tagName), ae({
1448
1462
  class: ["joy-label", `joy-label--${e.size}`]
1449
1463
  }, t.$attrs), {
1450
1464
  default: R(() => [
1451
1465
  _(t.$slots, "default", {}, () => [
1452
1466
  W(O(e.text), 1)
1453
1467
  ], !0),
1454
- e.required ? (d(), g("span", Jo, "*")) : j("", !0),
1455
- e.optionalLabel ? (d(), g("span", qo, "- " + O(e.optionalLabel), 1)) : j("", !0)
1468
+ e.required ? (d(), g("span", qo, "*")) : j("", !0),
1469
+ e.optionalLabel ? (d(), g("span", Ho, "- " + O(e.optionalLabel), 1)) : j("", !0)
1456
1470
  ]),
1457
1471
  _: 3
1458
1472
  }, 16, ["class"]));
1459
1473
  }
1460
- }), Ae = /* @__PURE__ */ F(Ho, [["__scopeId", "data-v-f48de041"]]);
1461
- function Wo(e) {
1474
+ }), Ae = /* @__PURE__ */ F(Wo, [["__scopeId", "data-v-f48de041"]]);
1475
+ function Uo(e) {
1462
1476
  const t = () => e();
1463
- re(() => {
1477
+ ie(() => {
1464
1478
  window.addEventListener("resize", t);
1465
1479
  }), De(() => {
1466
1480
  window.removeEventListener("resize", t);
1467
1481
  });
1468
1482
  }
1469
1483
  function Nt(e, t) {
1470
- re(() => {
1484
+ ie(() => {
1471
1485
  var n;
1472
1486
  t && ((n = e.value) == null || n.focus());
1473
1487
  });
1474
1488
  }
1475
- const Uo = { class: "joy-counter" }, Ko = ["aria-label", "disabled"], Go = { class: "joy-counter__input-wrapper" }, Yo = ["id", "min", "max", "aria-invalid", "name", "required", "value"], Zo = ["aria-label", "disabled"], Xo = {
1489
+ const Ko = { class: "joy-counter" }, Go = ["aria-label", "disabled"], Yo = { class: "joy-counter__input-wrapper" }, Zo = ["id", "min", "max", "aria-invalid", "name", "required", "value"], Xo = ["aria-label", "disabled"], Qo = {
1476
1490
  key: 0,
1477
1491
  class: "joy-counter_error"
1478
- }, Qo = {
1492
+ }, el = {
1479
1493
  inheritAttrs: !1
1480
- }, el = /* @__PURE__ */ B({
1481
- ...Qo,
1494
+ }, tl = /* @__PURE__ */ B({
1495
+ ...el,
1482
1496
  __name: "VJoyCounter",
1483
1497
  props: {
1484
1498
  autofocus: {
@@ -1588,8 +1602,8 @@ const Uo = { class: "joy-counter" }, Ko = ["aria-label", "disabled"], Go = { cla
1588
1602
  };
1589
1603
  return t({
1590
1604
  props: o
1591
- }), (m, S) => (d(), g("div", Uo, [
1592
- e.label ? (d(), A(Ae, {
1605
+ }), (m, S) => (d(), g("div", Ko, [
1606
+ e.label ? (d(), L(Ae, {
1593
1607
  key: 0,
1594
1608
  for: e.id,
1595
1609
  required: e.required && e.requiredMark,
@@ -1613,9 +1627,9 @@ const Uo = { class: "joy-counter" }, Ko = ["aria-label", "disabled"], Go = { cla
1613
1627
  disabled: e.modelValue <= e.min,
1614
1628
  onClick: i
1615
1629
  }, [
1616
- K(G, { name: "minus" })
1617
- ], 8, Ko),
1618
- b("div", Go, [
1630
+ K(Y, { name: "minus" })
1631
+ ], 8, Go),
1632
+ b("div", Yo, [
1619
1633
  b("input", ae({
1620
1634
  id: e.id,
1621
1635
  ref_key: "input",
@@ -1636,7 +1650,7 @@ const Uo = { class: "joy-counter" }, Ko = ["aria-label", "disabled"], Go = { cla
1636
1650
  (...k) => h.onBlur && h.onBlur(...k)),
1637
1651
  onFocus: S[2] || (S[2] = //@ts-ignore
1638
1652
  (...k) => h.onFocus && h.onFocus(...k))
1639
- }), null, 16, Yo)
1653
+ }), null, 16, Zo)
1640
1654
  ]),
1641
1655
  b("button", {
1642
1656
  class: "joy-counter__increment",
@@ -1645,53 +1659,53 @@ const Uo = { class: "joy-counter" }, Ko = ["aria-label", "disabled"], Go = { cla
1645
1659
  disabled: e.max ? e.modelValue >= e.max : !1,
1646
1660
  onClick: u
1647
1661
  }, [
1648
- K(G, { name: "add" })
1649
- ], 8, Zo),
1650
- e.invalid && e.errorMessage ? (d(), g("div", Xo, [
1662
+ K(Y, { name: "add" })
1663
+ ], 8, Xo),
1664
+ e.invalid && e.errorMessage ? (d(), g("div", Qo, [
1651
1665
  K(Ft, { "no-html-error-text": e.errorMessage }, null, 8, ["no-html-error-text"])
1652
1666
  ])) : j("", !0)
1653
1667
  ], 2)
1654
1668
  ]));
1655
1669
  }
1656
- }), cc = /* @__PURE__ */ F(el, [["__scopeId", "data-v-556fd173"]]);
1657
- function tl(e) {
1670
+ }), dc = /* @__PURE__ */ F(tl, [["__scopeId", "data-v-556fd173"]]);
1671
+ function nl(e) {
1658
1672
  return Vt() ? (It(e), !0) : !1;
1659
1673
  }
1660
- function nl(e) {
1674
+ function al(e) {
1661
1675
  return typeof e == "function" ? e() : D(e);
1662
1676
  }
1663
- function al(e) {
1677
+ function ol(e) {
1664
1678
  var t;
1665
- const n = nl(e);
1679
+ const n = al(e);
1666
1680
  return (t = n == null ? void 0 : n.$el) != null ? t : n;
1667
1681
  }
1668
1682
  /*!
1669
1683
  * tabbable 6.2.0
1670
1684
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
1671
1685
  */
1672
- var Sn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], st = /* @__PURE__ */ Sn.join(","), _n = typeof Element > "u", Ie = _n ? function() {
1673
- } : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, ut = !_n && Element.prototype.getRootNode ? function(e) {
1686
+ var Sn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], ut = /* @__PURE__ */ Sn.join(","), _n = typeof Element > "u", Ie = _n ? function() {
1687
+ } : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, ct = !_n && Element.prototype.getRootNode ? function(e) {
1674
1688
  var t;
1675
1689
  return e == null || (t = e.getRootNode) === null || t === void 0 ? void 0 : t.call(e);
1676
1690
  } : function(e) {
1677
1691
  return e == null ? void 0 : e.ownerDocument;
1678
- }, ct = function e(t, n) {
1692
+ }, dt = function e(t, n) {
1679
1693
  var a;
1680
1694
  n === void 0 && (n = !0);
1681
1695
  var o = t == null || (a = t.getAttribute) === null || a === void 0 ? void 0 : a.call(t, "inert"), r = o === "" || o === "true", l = r || n && t && e(t.parentNode);
1682
1696
  return l;
1683
- }, ol = function(t) {
1697
+ }, ll = function(t) {
1684
1698
  var n, a = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "contenteditable");
1685
1699
  return a === "" || a === "true";
1686
1700
  }, kn = function(t, n, a) {
1687
- if (ct(t))
1701
+ if (dt(t))
1688
1702
  return [];
1689
- var o = Array.prototype.slice.apply(t.querySelectorAll(st));
1690
- return n && Ie.call(t, st) && o.unshift(t), o = o.filter(a), o;
1703
+ var o = Array.prototype.slice.apply(t.querySelectorAll(ut));
1704
+ return n && Ie.call(t, ut) && o.unshift(t), o = o.filter(a), o;
1691
1705
  }, jn = function e(t, n, a) {
1692
1706
  for (var o = [], r = Array.from(t); r.length; ) {
1693
1707
  var l = r.shift();
1694
- if (!ct(l, !1))
1708
+ if (!dt(l, !1))
1695
1709
  if (l.tagName === "SLOT") {
1696
1710
  var s = l.assignedElements(), i = s.length ? s : l.children, u = e(i, !0, a);
1697
1711
  a.flatten ? o.push.apply(o, u) : o.push({
@@ -1699,10 +1713,10 @@ var Sn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1699
1713
  candidates: u
1700
1714
  });
1701
1715
  } else {
1702
- var f = Ie.call(l, st);
1716
+ var f = Ie.call(l, ut);
1703
1717
  f && a.filter(l) && (n || !t.includes(l)) && o.push(l);
1704
1718
  var c = l.shadowRoot || // check for an undisclosed shadow
1705
- typeof a.getShadowRoot == "function" && a.getShadowRoot(l), y = !ct(c, !1) && (!a.shadowRootFilter || a.shadowRootFilter(l));
1719
+ typeof a.getShadowRoot == "function" && a.getShadowRoot(l), y = !dt(c, !1) && (!a.shadowRootFilter || a.shadowRootFilter(l));
1706
1720
  if (c && y) {
1707
1721
  var p = e(c === !0 ? l.children : c.children, !0, a);
1708
1722
  a.flatten ? o.push.apply(o, p) : o.push({
@@ -1719,29 +1733,29 @@ var Sn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1719
1733
  }, Ce = function(t) {
1720
1734
  if (!t)
1721
1735
  throw new Error("No node provided");
1722
- return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || ol(t)) && !$n(t) ? 0 : t.tabIndex;
1723
- }, ll = function(t, n) {
1736
+ return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || ll(t)) && !$n(t) ? 0 : t.tabIndex;
1737
+ }, rl = function(t, n) {
1724
1738
  var a = Ce(t);
1725
1739
  return a < 0 && n && !$n(t) ? 0 : a;
1726
- }, rl = function(t, n) {
1740
+ }, il = function(t, n) {
1727
1741
  return t.tabIndex === n.tabIndex ? t.documentOrder - n.documentOrder : t.tabIndex - n.tabIndex;
1728
1742
  }, Cn = function(t) {
1729
1743
  return t.tagName === "INPUT";
1730
- }, il = function(t) {
1731
- return Cn(t) && t.type === "hidden";
1732
1744
  }, sl = function(t) {
1745
+ return Cn(t) && t.type === "hidden";
1746
+ }, ul = function(t) {
1733
1747
  var n = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(a) {
1734
1748
  return a.tagName === "SUMMARY";
1735
1749
  });
1736
1750
  return n;
1737
- }, ul = function(t, n) {
1751
+ }, cl = function(t, n) {
1738
1752
  for (var a = 0; a < t.length; a++)
1739
1753
  if (t[a].checked && t[a].form === n)
1740
1754
  return t[a];
1741
- }, cl = function(t) {
1755
+ }, dl = function(t) {
1742
1756
  if (!t.name)
1743
1757
  return !0;
1744
- var n = t.form || ut(t), a = function(s) {
1758
+ var n = t.form || ct(t), a = function(s) {
1745
1759
  return n.querySelectorAll('input[type="radio"][name="' + s + '"]');
1746
1760
  }, o;
1747
1761
  if (typeof window < "u" && typeof window.CSS < "u" && typeof window.CSS.escape == "function")
@@ -1752,26 +1766,26 @@ var Sn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1752
1766
  } catch (l) {
1753
1767
  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;
1754
1768
  }
1755
- var r = ul(o, t.form);
1769
+ var r = cl(o, t.form);
1756
1770
  return !r || r === t;
1757
- }, dl = function(t) {
1758
- return Cn(t) && t.type === "radio";
1759
1771
  }, fl = function(t) {
1760
- return dl(t) && !cl(t);
1772
+ return Cn(t) && t.type === "radio";
1761
1773
  }, vl = function(t) {
1762
- var n, a = t && ut(t), o = (n = a) === null || n === void 0 ? void 0 : n.host, r = !1;
1774
+ return fl(t) && !dl(t);
1775
+ }, yl = function(t) {
1776
+ var n, a = t && ct(t), o = (n = a) === null || n === void 0 ? void 0 : n.host, r = !1;
1763
1777
  if (a && a !== t) {
1764
1778
  var l, s, i;
1765
1779
  for (r = !!((l = o) !== null && l !== void 0 && (s = l.ownerDocument) !== null && s !== void 0 && s.contains(o) || t != null && (i = t.ownerDocument) !== null && i !== void 0 && i.contains(t)); !r && o; ) {
1766
1780
  var u, f, c;
1767
- a = ut(o), o = (u = a) === null || u === void 0 ? void 0 : u.host, r = !!((f = o) !== null && f !== void 0 && (c = f.ownerDocument) !== null && c !== void 0 && c.contains(o));
1781
+ a = ct(o), o = (u = a) === null || u === void 0 ? void 0 : u.host, r = !!((f = o) !== null && f !== void 0 && (c = f.ownerDocument) !== null && c !== void 0 && c.contains(o));
1768
1782
  }
1769
1783
  }
1770
1784
  return r;
1771
1785
  }, Yt = function(t) {
1772
1786
  var n = t.getBoundingClientRect(), a = n.width, o = n.height;
1773
1787
  return a === 0 && o === 0;
1774
- }, yl = function(t, n) {
1788
+ }, pl = function(t, n) {
1775
1789
  var a = n.displayCheck, o = n.getShadowRoot;
1776
1790
  if (getComputedStyle(t).visibility === "hidden")
1777
1791
  return !0;
@@ -1781,21 +1795,21 @@ var Sn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1781
1795
  if (!a || a === "full" || a === "legacy-full") {
1782
1796
  if (typeof o == "function") {
1783
1797
  for (var s = t; t; ) {
1784
- var i = t.parentElement, u = ut(t);
1798
+ var i = t.parentElement, u = ct(t);
1785
1799
  if (i && !i.shadowRoot && o(i) === !0)
1786
1800
  return Yt(t);
1787
1801
  t.assignedSlot ? t = t.assignedSlot : !i && u !== t.ownerDocument ? t = u.host : t = i;
1788
1802
  }
1789
1803
  t = s;
1790
1804
  }
1791
- if (vl(t))
1805
+ if (yl(t))
1792
1806
  return !t.getClientRects().length;
1793
1807
  if (a !== "legacy-full")
1794
1808
  return !0;
1795
1809
  } else if (a === "non-zero-area")
1796
1810
  return Yt(t);
1797
1811
  return !1;
1798
- }, pl = function(t) {
1812
+ }, ml = function(t) {
1799
1813
  if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))
1800
1814
  for (var n = t.parentElement; n; ) {
1801
1815
  if (n.tagName === "FIELDSET" && n.disabled) {
@@ -1809,21 +1823,21 @@ var Sn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1809
1823
  n = n.parentElement;
1810
1824
  }
1811
1825
  return !1;
1812
- }, dt = function(t, n) {
1826
+ }, ft = function(t, n) {
1813
1827
  return !(n.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
1814
1828
  // because we're limited in the type of selectors we can use in JSDom (see related
1815
1829
  // note related to `candidateSelectors`)
1816
- ct(n) || il(n) || yl(n, t) || // For a details element with a summary, the summary element gets the focus
1817
- sl(n) || pl(n));
1830
+ dt(n) || sl(n) || pl(n, t) || // For a details element with a summary, the summary element gets the focus
1831
+ ul(n) || ml(n));
1818
1832
  }, $t = function(t, n) {
1819
- return !(fl(n) || Ce(n) < 0 || !dt(t, n));
1820
- }, ml = function(t) {
1833
+ return !(vl(n) || Ce(n) < 0 || !ft(t, n));
1834
+ }, hl = function(t) {
1821
1835
  var n = parseInt(t.getAttribute("tabindex"), 10);
1822
1836
  return !!(isNaN(n) || n >= 0);
1823
- }, hl = function e(t) {
1837
+ }, bl = function e(t) {
1824
1838
  var n = [], a = [];
1825
1839
  return t.forEach(function(o, r) {
1826
- var l = !!o.scopeParent, s = l ? o.scopeParent : o, i = ll(s, l), u = l ? e(o.candidates) : s;
1840
+ var l = !!o.scopeParent, s = l ? o.scopeParent : o, i = rl(s, l), u = l ? e(o.candidates) : s;
1827
1841
  i === 0 ? l ? n.push.apply(n, u) : n.push(s) : a.push({
1828
1842
  documentOrder: r,
1829
1843
  tabIndex: i,
@@ -1831,34 +1845,34 @@ var Sn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1831
1845
  isScope: l,
1832
1846
  content: u
1833
1847
  });
1834
- }), a.sort(rl).reduce(function(o, r) {
1848
+ }), a.sort(il).reduce(function(o, r) {
1835
1849
  return r.isScope ? o.push.apply(o, r.content) : o.push(r.content), o;
1836
1850
  }, []).concat(n);
1837
- }, bl = function(t, n) {
1851
+ }, gl = function(t, n) {
1838
1852
  n = n || {};
1839
1853
  var a;
1840
1854
  return n.getShadowRoot ? a = jn([t], n.includeContainer, {
1841
1855
  filter: $t.bind(null, n),
1842
1856
  flatten: !1,
1843
1857
  getShadowRoot: n.getShadowRoot,
1844
- shadowRootFilter: ml
1845
- }) : a = kn(t, n.includeContainer, $t.bind(null, n)), hl(a);
1846
- }, gl = function(t, n) {
1858
+ shadowRootFilter: hl
1859
+ }) : a = kn(t, n.includeContainer, $t.bind(null, n)), bl(a);
1860
+ }, wl = function(t, n) {
1847
1861
  n = n || {};
1848
1862
  var a;
1849
1863
  return n.getShadowRoot ? a = jn([t], n.includeContainer, {
1850
- filter: dt.bind(null, n),
1864
+ filter: ft.bind(null, n),
1851
1865
  flatten: !0,
1852
1866
  getShadowRoot: n.getShadowRoot
1853
- }) : a = kn(t, n.includeContainer, dt.bind(null, n)), a;
1867
+ }) : a = kn(t, n.includeContainer, ft.bind(null, n)), a;
1854
1868
  }, Fe = function(t, n) {
1855
1869
  if (n = n || {}, !t)
1856
1870
  throw new Error("No node provided");
1857
- return Ie.call(t, st) === !1 ? !1 : $t(n, t);
1858
- }, wl = /* @__PURE__ */ Sn.concat("iframe").join(","), kt = function(t, n) {
1871
+ return Ie.call(t, ut) === !1 ? !1 : $t(n, t);
1872
+ }, Sl = /* @__PURE__ */ Sn.concat("iframe").join(","), kt = function(t, n) {
1859
1873
  if (n = n || {}, !t)
1860
1874
  throw new Error("No node provided");
1861
- return Ie.call(t, wl) === !1 ? !1 : dt(n, t);
1875
+ return Ie.call(t, Sl) === !1 ? !1 : ft(n, t);
1862
1876
  };
1863
1877
  /*!
1864
1878
  * focus-trap 7.5.4
@@ -1878,22 +1892,22 @@ function Xt(e) {
1878
1892
  for (var t = 1; t < arguments.length; t++) {
1879
1893
  var n = arguments[t] != null ? arguments[t] : {};
1880
1894
  t % 2 ? Zt(Object(n), !0).forEach(function(a) {
1881
- Sl(e, a, n[a]);
1895
+ _l(e, a, n[a]);
1882
1896
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Zt(Object(n)).forEach(function(a) {
1883
1897
  Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(n, a));
1884
1898
  });
1885
1899
  }
1886
1900
  return e;
1887
1901
  }
1888
- function Sl(e, t, n) {
1889
- return t = kl(t), t in e ? Object.defineProperty(e, t, {
1902
+ function _l(e, t, n) {
1903
+ return t = jl(t), t in e ? Object.defineProperty(e, t, {
1890
1904
  value: n,
1891
1905
  enumerable: !0,
1892
1906
  configurable: !0,
1893
1907
  writable: !0
1894
1908
  }) : e[t] = n, e;
1895
1909
  }
1896
- function _l(e, t) {
1910
+ function kl(e, t) {
1897
1911
  if (typeof e != "object" || e === null)
1898
1912
  return e;
1899
1913
  var n = e[Symbol.toPrimitive];
@@ -1905,8 +1919,8 @@ function _l(e, t) {
1905
1919
  }
1906
1920
  return (t === "string" ? String : Number)(e);
1907
1921
  }
1908
- function kl(e) {
1909
- var t = _l(e, "string");
1922
+ function jl(e) {
1923
+ var t = kl(e, "string");
1910
1924
  return typeof t == "symbol" ? t : String(t);
1911
1925
  }
1912
1926
  var Qt = {
@@ -1922,15 +1936,15 @@ var Qt = {
1922
1936
  var a = t.indexOf(n);
1923
1937
  a !== -1 && t.splice(a, 1), t.length > 0 && t[t.length - 1].unpause();
1924
1938
  }
1925
- }, jl = function(t) {
1926
- return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
1927
1939
  }, $l = function(t) {
1940
+ return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
1941
+ }, Cl = function(t) {
1928
1942
  return (t == null ? void 0 : t.key) === "Escape" || (t == null ? void 0 : t.key) === "Esc" || (t == null ? void 0 : t.keyCode) === 27;
1929
1943
  }, We = function(t) {
1930
1944
  return (t == null ? void 0 : t.key) === "Tab" || (t == null ? void 0 : t.keyCode) === 9;
1931
- }, Cl = function(t) {
1932
- return We(t) && !t.shiftKey;
1933
1945
  }, xl = function(t) {
1946
+ return We(t) && !t.shiftKey;
1947
+ }, Tl = function(t) {
1934
1948
  return We(t) && t.shiftKey;
1935
1949
  }, en = function(t) {
1936
1950
  return setTimeout(t, 0);
@@ -1943,15 +1957,15 @@ var Qt = {
1943
1957
  for (var n = arguments.length, a = new Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++)
1944
1958
  a[o - 1] = arguments[o];
1945
1959
  return typeof t == "function" ? t.apply(void 0, a) : t;
1946
- }, ot = function(t) {
1960
+ }, lt = function(t) {
1947
1961
  return t.target.shadowRoot && typeof t.composedPath == "function" ? t.composedPath()[0] : t.target;
1948
- }, Tl = [], Vl = function(t, n) {
1949
- var a = (n == null ? void 0 : n.document) || document, o = (n == null ? void 0 : n.trapStack) || Tl, r = Xt({
1962
+ }, Vl = [], Il = function(t, n) {
1963
+ var a = (n == null ? void 0 : n.document) || document, o = (n == null ? void 0 : n.trapStack) || Vl, r = Xt({
1950
1964
  returnFocusOnDeactivate: !0,
1951
1965
  escapeDeactivates: !0,
1952
1966
  delayInitialFocus: !0,
1953
- isKeyForward: Cl,
1954
- isKeyBackward: xl
1967
+ isKeyForward: xl,
1968
+ isKeyBackward: Tl
1955
1969
  }, n), l = {
1956
1970
  // containers given to createFocusTrap()
1957
1971
  // @type {Array<HTMLElement>}
@@ -1998,8 +2012,8 @@ var Qt = {
1998
2012
  // web components if the `tabbableOptions.getShadowRoot` option was used for
1999
2013
  // the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
2000
2014
  // look inside web components even if open)
2001
- (N == null ? void 0 : N.includes(q)) || U.find(function(Q) {
2002
- return Q === $;
2015
+ (N == null ? void 0 : N.includes(q)) || U.find(function(ee) {
2016
+ return ee === $;
2003
2017
  });
2004
2018
  });
2005
2019
  }, f = function($) {
@@ -2034,9 +2048,9 @@ var Qt = {
2034
2048
  return $;
2035
2049
  }, y = function() {
2036
2050
  if (l.containerGroups = l.containers.map(function($) {
2037
- var x = bl($, r.tabbableOptions), N = gl($, r.tabbableOptions), J = x.length > 0 ? x[0] : void 0, q = x.length > 0 ? x[x.length - 1] : void 0, U = N.find(function(oe) {
2051
+ var x = gl($, r.tabbableOptions), N = wl($, r.tabbableOptions), J = x.length > 0 ? x[0] : void 0, q = x.length > 0 ? x[x.length - 1] : void 0, U = N.find(function(oe) {
2038
2052
  return Fe(oe);
2039
- }), Q = N.slice().reverse().find(function(oe) {
2053
+ }), ee = N.slice().reverse().find(function(oe) {
2040
2054
  return Fe(oe);
2041
2055
  }), le = !!x.find(function(oe) {
2042
2056
  return Ce(oe) > 0;
@@ -2061,7 +2075,7 @@ var Qt = {
2061
2075
  /** First tabbable node in container, __DOM__ order; `undefined` if none. */
2062
2076
  firstDomTabbableNode: U,
2063
2077
  /** Last tabbable node in container, __DOM__ order; `undefined` if none. */
2064
- lastDomTabbableNode: Q,
2078
+ lastDomTabbableNode: ee,
2065
2079
  /**
2066
2080
  * Finds the __tabbable__ node that follows the given node in the specified direction,
2067
2081
  * in this container, if any.
@@ -2099,25 +2113,25 @@ var Qt = {
2099
2113
  }
2100
2114
  $.focus({
2101
2115
  preventScroll: !!r.preventScroll
2102
- }), l.mostRecentlyFocusedNode = $, jl($) && $.select();
2116
+ }), l.mostRecentlyFocusedNode = $, $l($) && $.select();
2103
2117
  }
2104
2118
  }, h = function($) {
2105
2119
  var x = f("setReturnFocus", $);
2106
2120
  return x || (x === !1 ? !1 : $);
2107
2121
  }, m = function($) {
2108
2122
  var x = $.target, N = $.event, J = $.isBackward, q = J === void 0 ? !1 : J;
2109
- x = x || ot(N), y();
2123
+ x = x || lt(N), y();
2110
2124
  var U = null;
2111
2125
  if (l.tabbableGroups.length > 0) {
2112
- var Q = u(x, N), le = Q >= 0 ? l.containerGroups[Q] : void 0;
2113
- if (Q < 0)
2126
+ var ee = u(x, N), le = ee >= 0 ? l.containerGroups[ee] : void 0;
2127
+ if (ee < 0)
2114
2128
  q ? U = l.tabbableGroups[l.tabbableGroups.length - 1].lastTabbableNode : U = l.tabbableGroups[0].firstTabbableNode;
2115
2129
  else if (q) {
2116
2130
  var oe = tn(l.tabbableGroups, function(wt) {
2117
2131
  var St = wt.firstTabbableNode;
2118
2132
  return x === St;
2119
2133
  });
2120
- if (oe < 0 && (le.container === x || kt(x, r.tabbableOptions) && !Fe(x, r.tabbableOptions) && !le.nextTabbableNode(x, !1)) && (oe = Q), oe >= 0) {
2134
+ if (oe < 0 && (le.container === x || kt(x, r.tabbableOptions) && !Fe(x, r.tabbableOptions) && !le.nextTabbableNode(x, !1)) && (oe = ee), oe >= 0) {
2121
2135
  var $e = oe === 0 ? l.tabbableGroups.length - 1 : oe - 1, Me = l.tabbableGroups[$e];
2122
2136
  U = Ce(x) >= 0 ? Me.lastTabbableNode : Me.lastDomTabbableNode;
2123
2137
  } else
@@ -2127,7 +2141,7 @@ var Qt = {
2127
2141
  var St = wt.lastTabbableNode;
2128
2142
  return x === St;
2129
2143
  });
2130
- if (me < 0 && (le.container === x || kt(x, r.tabbableOptions) && !Fe(x, r.tabbableOptions) && !le.nextTabbableNode(x)) && (me = Q), me >= 0) {
2144
+ if (me < 0 && (le.container === x || kt(x, r.tabbableOptions) && !Fe(x, r.tabbableOptions) && !le.nextTabbableNode(x)) && (me = ee), me >= 0) {
2131
2145
  var Je = me === l.tabbableGroups.length - 1 ? 0 : me + 1, Jt = l.tabbableGroups[Je];
2132
2146
  U = Ce(x) >= 0 ? Jt.firstTabbableNode : Jt.firstDomTabbableNode;
2133
2147
  } else
@@ -2137,7 +2151,7 @@ var Qt = {
2137
2151
  U = f("fallbackFocus");
2138
2152
  return U;
2139
2153
  }, S = function($) {
2140
- var x = ot($);
2154
+ var x = lt($);
2141
2155
  if (!(u(x, $) >= 0)) {
2142
2156
  if (qe(r.clickOutsideDeactivates, $)) {
2143
2157
  s.deactivate({
@@ -2154,7 +2168,7 @@ var Qt = {
2154
2168
  qe(r.allowOutsideClick, $) || $.preventDefault();
2155
2169
  }
2156
2170
  }, k = function($) {
2157
- var x = ot($), N = u(x, $) >= 0;
2171
+ var x = lt($), N = u(x, $) >= 0;
2158
2172
  if (N || x instanceof Document)
2159
2173
  N && (l.mostRecentlyFocusedNode = x);
2160
2174
  else {
@@ -2162,12 +2176,12 @@ var Qt = {
2162
2176
  var J, q = !0;
2163
2177
  if (l.mostRecentlyFocusedNode)
2164
2178
  if (Ce(l.mostRecentlyFocusedNode) > 0) {
2165
- var U = u(l.mostRecentlyFocusedNode), Q = l.containerGroups[U].tabbableNodes;
2166
- if (Q.length > 0) {
2167
- var le = Q.findIndex(function(oe) {
2179
+ var U = u(l.mostRecentlyFocusedNode), ee = l.containerGroups[U].tabbableNodes;
2180
+ if (ee.length > 0) {
2181
+ var le = ee.findIndex(function(oe) {
2168
2182
  return oe === l.mostRecentlyFocusedNode;
2169
2183
  });
2170
- le >= 0 && (r.isKeyForward(l.recentNavEvent) ? le + 1 < Q.length && (J = Q[le + 1], q = !1) : le - 1 >= 0 && (J = Q[le - 1], q = !1));
2184
+ le >= 0 && (r.isKeyForward(l.recentNavEvent) ? le + 1 < ee.length && (J = ee[le + 1], q = !1) : le - 1 >= 0 && (J = ee[le - 1], q = !1));
2171
2185
  }
2172
2186
  } else
2173
2187
  l.containerGroups.some(function(oe) {
@@ -2185,7 +2199,7 @@ var Qt = {
2185
2199
  })), v(J || l.mostRecentlyFocusedNode || c());
2186
2200
  }
2187
2201
  l.recentNavEvent = void 0;
2188
- }, L = function($) {
2202
+ }, A = function($) {
2189
2203
  var x = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
2190
2204
  l.recentNavEvent = $;
2191
2205
  var N = m({
@@ -2194,13 +2208,13 @@ var Qt = {
2194
2208
  });
2195
2209
  N && (We($) && $.preventDefault(), v(N));
2196
2210
  }, P = function($) {
2197
- if ($l($) && qe(r.escapeDeactivates, $) !== !1) {
2211
+ if (Cl($) && qe(r.escapeDeactivates, $) !== !1) {
2198
2212
  $.preventDefault(), s.deactivate();
2199
2213
  return;
2200
2214
  }
2201
- (r.isKeyForward($) || r.isKeyBackward($)) && L($, r.isKeyBackward($));
2215
+ (r.isKeyForward($) || r.isKeyBackward($)) && A($, r.isKeyBackward($));
2202
2216
  }, T = function($) {
2203
- var x = ot($);
2217
+ var x = lt($);
2204
2218
  u(x, $) >= 0 || qe(r.clickOutsideDeactivates, $) || qe(r.allowOutsideClick, $) || ($.preventDefault(), $.stopImmediatePropagation());
2205
2219
  }, I = function() {
2206
2220
  if (l.active)
@@ -2266,12 +2280,12 @@ var Qt = {
2266
2280
  clearTimeout(l.delayInitialFocusTimer), l.delayInitialFocusTimer = void 0, w(), l.active = !1, l.paused = !1, Z(), Qt.deactivateTrap(o, s);
2267
2281
  var N = i(x, "onDeactivate"), J = i(x, "onPostDeactivate"), q = i(x, "checkCanReturnFocus"), U = i(x, "returnFocus", "returnFocusOnDeactivate");
2268
2282
  N == null || N();
2269
- var Q = function() {
2283
+ var ee = function() {
2270
2284
  en(function() {
2271
2285
  U && v(h(l.nodeFocusedBeforeActivation)), J == null || J();
2272
2286
  });
2273
2287
  };
2274
- return U && q ? (q(h(l.nodeFocusedBeforeActivation)).then(Q, Q), this) : (Q(), this);
2288
+ return U && q ? (q(h(l.nodeFocusedBeforeActivation)).then(ee, ee), this) : (ee(), this);
2275
2289
  },
2276
2290
  pause: function($) {
2277
2291
  if (l.paused || !l.active)
@@ -2301,9 +2315,9 @@ function xn(e, t = {}) {
2301
2315
  n && (n.unpause(), l.value = !1);
2302
2316
  };
2303
2317
  return te(
2304
- () => al(e),
2318
+ () => ol(e),
2305
2319
  (c) => {
2306
- c && (n = Vl(c, {
2320
+ c && (n = Il(c, {
2307
2321
  ...o,
2308
2322
  onActivate() {
2309
2323
  r.value = !0, t.onActivate && t.onActivate();
@@ -2314,7 +2328,7 @@ function xn(e, t = {}) {
2314
2328
  }), a && s());
2315
2329
  },
2316
2330
  { flush: "post" }
2317
- ), tl(() => i()), {
2331
+ ), nl(() => i()), {
2318
2332
  hasFocus: r,
2319
2333
  isPaused: l,
2320
2334
  activate: s,
@@ -2323,7 +2337,7 @@ function xn(e, t = {}) {
2323
2337
  unpause: f
2324
2338
  };
2325
2339
  }
2326
- const Il = /* @__PURE__ */ B({
2340
+ const El = /* @__PURE__ */ B({
2327
2341
  __name: "VJoyWrapper",
2328
2342
  props: {
2329
2343
  /** Horizontal spread. Refers to CSS flex justify-content. */
@@ -2383,25 +2397,25 @@ const Il = /* @__PURE__ */ B({
2383
2397
  _(n.$slots, "default", {}, void 0, !0)
2384
2398
  ], 2));
2385
2399
  }
2386
- }), Ke = /* @__PURE__ */ F(Il, [["__scopeId", "data-v-68d89412"]]), Tn = (e) => (Ye("data-v-37136d78"), e = e(), Ze(), e), El = ["id"], Ll = { class: "joy-dialog__inner" }, Al = {
2400
+ }), Ke = /* @__PURE__ */ F(El, [["__scopeId", "data-v-68d89412"]]), Tn = (e) => (Ye("data-v-37136d78"), e = e(), Ze(), e), Ll = ["id"], Al = { class: "joy-dialog__inner" }, Bl = {
2387
2401
  key: 0,
2388
2402
  class: "joy-dialog__shapes"
2389
- }, Bl = /* @__PURE__ */ Tn(() => /* @__PURE__ */ b("div", { class: "joy-dialog__shapes___shape" }, null, -1)), Fl = /* @__PURE__ */ Tn(() => /* @__PURE__ */ b("div", { class: "joy-dialog__shapes___shape" }, null, -1)), Nl = [
2390
- Bl,
2391
- Fl
2392
- ], zl = { class: "joy-dialog--header" }, Pl = {
2403
+ }, Fl = /* @__PURE__ */ Tn(() => /* @__PURE__ */ b("div", { class: "joy-dialog__shapes___shape" }, null, -1)), Nl = /* @__PURE__ */ Tn(() => /* @__PURE__ */ b("div", { class: "joy-dialog__shapes___shape" }, null, -1)), zl = [
2404
+ Fl,
2405
+ Nl
2406
+ ], Pl = { class: "joy-dialog--header" }, Ol = {
2393
2407
  key: 0,
2394
2408
  class: "joy-dialog--preheader"
2395
- }, Ol = {
2409
+ }, Rl = {
2396
2410
  id: "dialogDescription",
2397
2411
  class: "joy-dialog--subheader"
2398
- }, Rl = {
2412
+ }, Dl = {
2399
2413
  class: "joy-dialog--body",
2400
2414
  tabindex: "0"
2401
- }, Dl = {
2415
+ }, Ml = {
2402
2416
  key: 2,
2403
2417
  class: "joy-dialog--indicators"
2404
- }, Ml = /* @__PURE__ */ B({
2418
+ }, Jl = /* @__PURE__ */ B({
2405
2419
  inheritAttrs: !1,
2406
2420
  __name: "VJoyDialog",
2407
2421
  props: {
@@ -2479,7 +2493,7 @@ const Il = /* @__PURE__ */ B({
2479
2493
  },
2480
2494
  emits: ["dialog:open", "dialog:after-open", "dialog:hide", "dialog:after-hide", "dialog:before-unmount", "dialog:confirm"],
2481
2495
  setup(e, { expose: t, emit: n }) {
2482
- const a = e, o = n, r = "joy-dialog--" + je(), l = X(), s = C(!1), i = C(), u = C(a.open), f = xn(i), c = Re(), y = V(() => {
2496
+ const a = e, o = n, r = "joy-dialog--" + je(), l = Q(), s = C(!1), i = C(), u = C(a.open), f = xn(i), c = Re(), y = V(() => {
2483
2497
  if (s.value)
2484
2498
  return c;
2485
2499
  }), p = V(() => {
@@ -2495,7 +2509,7 @@ const Il = /* @__PURE__ */ B({
2495
2509
  async function k() {
2496
2510
  u.value = !0, await Ue(), a.focusTrap && f.activate(), a.preventBodyScroll && he(!0);
2497
2511
  }
2498
- function L() {
2512
+ function A() {
2499
2513
  o("dialog:open");
2500
2514
  }
2501
2515
  function P() {
@@ -2504,7 +2518,7 @@ const Il = /* @__PURE__ */ B({
2504
2518
  function T() {
2505
2519
  o("dialog:after-hide");
2506
2520
  }
2507
- return re(async () => {
2521
+ return ie(async () => {
2508
2522
  s.value = !0;
2509
2523
  }), De(() => {
2510
2524
  u.value === !0 && (o("dialog:before-unmount"), he(!1));
@@ -2514,7 +2528,7 @@ const Il = /* @__PURE__ */ B({
2514
2528
  hide: S,
2515
2529
  isOpen: u,
2516
2530
  show: k
2517
- }), (I, w) => s.value ? (d(), A(Qe, {
2531
+ }), (I, w) => s.value ? (d(), L(Qe, {
2518
2532
  key: 0,
2519
2533
  to: e.teleport
2520
2534
  }, [
@@ -2522,7 +2536,7 @@ const Il = /* @__PURE__ */ B({
2522
2536
  duration: { enter: 300, leave: 100 },
2523
2537
  name: "dialog",
2524
2538
  appear: "",
2525
- onEnter: L,
2539
+ onEnter: A,
2526
2540
  onAfterEnter: P,
2527
2541
  onAfterLeave: T
2528
2542
  }, {
@@ -2535,7 +2549,7 @@ const Il = /* @__PURE__ */ B({
2535
2549
  "aria-modal": "true",
2536
2550
  class: ["joy-dialog", `joy-dialog--${e.size}`, { "joy-dialog--open": u.value, "joy-dialog--pattern-brand": e.patternBrand }],
2537
2551
  "aria-labelledby": h,
2538
- onKeydown: pt(m, ["esc"])
2552
+ onKeydown: et(m, ["esc"])
2539
2553
  }), [
2540
2554
  b("div", {
2541
2555
  class: E([
@@ -2555,19 +2569,19 @@ const Il = /* @__PURE__ */ B({
2555
2569
  }
2556
2570
  ])
2557
2571
  }, [
2558
- b("div", Ll, [
2559
- e.patternBrand ? (d(), g("div", Al, Nl)) : j("", !0),
2572
+ b("div", Al, [
2573
+ e.patternBrand ? (d(), g("div", Bl, zl)) : j("", !0),
2560
2574
  e.bannerSrc ? (d(), g("div", {
2561
2575
  key: 1,
2562
2576
  class: "joy-dialog--banner",
2563
- style: ie({
2577
+ style: se({
2564
2578
  backgroundImage: `url(${e.bannerSrc})`,
2565
2579
  backgroundPosition: e.bannerPosition,
2566
2580
  height: `${e.bannerHeight}px`
2567
2581
  })
2568
2582
  }, null, 4)) : j("", !0),
2569
- b("div", zl, [
2570
- I.$slots["dialog-preheader"] ? (d(), g("div", Pl, [
2583
+ b("div", Pl, [
2584
+ I.$slots["dialog-preheader"] ? (d(), g("div", Ol, [
2571
2585
  _(I.$slots, "dialog-preheader", {}, void 0, !0)
2572
2586
  ])) : j("", !0),
2573
2587
  b("div", {
@@ -2576,10 +2590,10 @@ const Il = /* @__PURE__ */ B({
2576
2590
  }, [
2577
2591
  _(I.$slots, "dialog-header", {}, void 0, !0)
2578
2592
  ]),
2579
- b("p", Ol, [
2593
+ b("p", Rl, [
2580
2594
  _(I.$slots, "dialog-subheader", {}, void 0, !0)
2581
2595
  ]),
2582
- e.patternConfirm ? j("", !0) : (d(), A(ue, {
2596
+ e.patternConfirm ? j("", !0) : (d(), L(ue, {
2583
2597
  key: 1,
2584
2598
  id: "joy-dialog--close",
2585
2599
  circle: "",
@@ -2592,7 +2606,7 @@ const Il = /* @__PURE__ */ B({
2592
2606
  onClick: w[0] || (w[0] = (z) => S())
2593
2607
  }, null, 8, ["label"]))
2594
2608
  ]),
2595
- b("div", Rl, [
2609
+ b("div", Dl, [
2596
2610
  _(I.$slots, "dialog-body", {}, void 0, !0)
2597
2611
  ]),
2598
2612
  b("div", {
@@ -2609,7 +2623,7 @@ const Il = /* @__PURE__ */ B({
2609
2623
  }, {
2610
2624
  default: R(() => [
2611
2625
  _(I.$slots, "dialog-cancel", {}, () => [
2612
- e.cancelText ? (d(), A(ue, {
2626
+ e.cancelText ? (d(), L(ue, {
2613
2627
  key: 0,
2614
2628
  class: "joy-dialog--cancel",
2615
2629
  variant: "ghost",
@@ -2623,7 +2637,7 @@ const Il = /* @__PURE__ */ B({
2623
2637
  }, 8, ["size"])) : j("", !0)
2624
2638
  ], !0),
2625
2639
  _(I.$slots, "dialog-confirm", {}, () => [
2626
- e.confirmText ? (d(), A(ue, {
2640
+ e.confirmText ? (d(), L(ue, {
2627
2641
  key: 0,
2628
2642
  class: "joy-dialog--confirm",
2629
2643
  variant: "main",
@@ -2640,35 +2654,35 @@ const Il = /* @__PURE__ */ B({
2640
2654
  _: 3
2641
2655
  })
2642
2656
  ], 2),
2643
- D(l)["dialog-indicators"] ? (d(), g("div", Dl, [
2657
+ D(l)["dialog-indicators"] ? (d(), g("div", Ml, [
2644
2658
  _(I.$slots, "dialog-indicators", {}, void 0, !0)
2645
2659
  ])) : j("", !0)
2646
2660
  ])
2647
2661
  ], 2)
2648
- ], 16, El)) : j("", !0)
2662
+ ], 16, Ll)) : j("", !0)
2649
2663
  ]),
2650
2664
  _: 3
2651
2665
  })
2652
2666
  ], 8, ["to"])) : j("", !0);
2653
2667
  }
2654
- }), dc = /* @__PURE__ */ F(Ml, [["__scopeId", "data-v-37136d78"]]), fc = /* @__PURE__ */ B({
2668
+ }), fc = /* @__PURE__ */ F(Jl, [["__scopeId", "data-v-37136d78"]]), vc = /* @__PURE__ */ B({
2655
2669
  __name: "VJoyDialogTrigger",
2656
2670
  props: {
2657
2671
  dialog: {}
2658
2672
  },
2659
2673
  emits: ["click"],
2660
2674
  setup(e, { emit: t }) {
2661
- const n = e, a = V(() => n.dialog), o = t, r = X(), l = V(() => r.default());
2675
+ const n = e, a = V(() => n.dialog), o = t, r = Q(), l = V(() => r.default());
2662
2676
  async function s() {
2663
2677
  var i;
2664
2678
  o("click"), await ((i = a.value) == null ? void 0 : i.show());
2665
2679
  }
2666
- return (i, u) => (d(!0), g(Y, null, ee(l.value, (f) => (d(), A(se(f), {
2680
+ return (i, u) => (d(!0), g(G, null, X(l.value, (f) => (d(), L(re(f), {
2667
2681
  key: f,
2668
2682
  onClick: s
2669
2683
  }))), 128));
2670
2684
  }
2671
- }), Jl = ["disabled"], ql = { class: "joy-divider-cta--icon" }, Hl = { class: "joy-divider-cta--content" }, Wl = { class: "joy-divider-cta--content---title" }, Ul = /* @__PURE__ */ B({
2685
+ }), ql = ["disabled"], Hl = { class: "joy-divider-cta--icon" }, Wl = { class: "joy-divider-cta--content" }, Ul = { class: "joy-divider-cta--content---title" }, Kl = /* @__PURE__ */ B({
2672
2686
  __name: "VJoyDividerCta",
2673
2687
  props: {
2674
2688
  disabled: {
@@ -2682,24 +2696,24 @@ const Il = /* @__PURE__ */ B({
2682
2696
  class: E(["joy-divider-cta", { "joy-divider-cta__disabled": e.disabled }]),
2683
2697
  disabled: e.disabled
2684
2698
  }, [
2685
- b("div", ql, [
2686
- K(G, { name: "add" })
2687
- ]),
2688
2699
  b("div", Hl, [
2689
- b("p", Wl, [
2700
+ K(Y, { name: "add" })
2701
+ ]),
2702
+ b("div", Wl, [
2703
+ b("p", Ul, [
2690
2704
  _(t.$slots, "default", {}, void 0, !0)
2691
2705
  ]),
2692
2706
  _(t.$slots, "divider-content", {}, void 0, !0)
2693
2707
  ])
2694
- ], 10, Jl));
2708
+ ], 10, ql));
2695
2709
  }
2696
- }), vc = /* @__PURE__ */ F(Ul, [["__scopeId", "data-v-aa93710e"]]), Kl = ["id"], Gl = { class: "joy-drawer__inner" }, Yl = { class: "joy-drawer--header" }, Zl = {
2710
+ }), yc = /* @__PURE__ */ F(Kl, [["__scopeId", "data-v-aa93710e"]]), Gl = ["id"], Yl = { class: "joy-drawer__inner" }, Zl = { class: "joy-drawer--header" }, Xl = {
2697
2711
  id: "drawerDescription",
2698
2712
  class: "joy-drawer--subheader"
2699
- }, Xl = {
2713
+ }, Ql = {
2700
2714
  class: "joy-drawer--body",
2701
2715
  tabindex: "0"
2702
- }, Ql = /* @__PURE__ */ B({
2716
+ }, er = /* @__PURE__ */ B({
2703
2717
  inheritAttrs: !1,
2704
2718
  __name: "VJoyDrawer",
2705
2719
  props: {
@@ -2761,7 +2775,7 @@ const Il = /* @__PURE__ */ B({
2761
2775
  },
2762
2776
  emits: ["drawer:open", "drawer:after-open", "drawer:hide", "drawer:after-hide", "drawer:before-unmount", "drawer:confirm"],
2763
2777
  setup(e, { expose: t, emit: n }) {
2764
- const a = e, o = n, r = "joy-drawer--" + je(), l = X(), s = C(!1), i = C(), u = C(a.open), f = xn(i), c = Re(), y = V(() => {
2778
+ const a = e, o = n, r = "joy-drawer--" + je(), l = Q(), s = C(!1), i = C(), u = C(a.open), f = xn(i), c = Re(), y = V(() => {
2765
2779
  if (s.value)
2766
2780
  return c;
2767
2781
  }), p = V(() => {
@@ -2777,13 +2791,13 @@ const Il = /* @__PURE__ */ B({
2777
2791
  function k() {
2778
2792
  o("drawer:open");
2779
2793
  }
2780
- function L() {
2794
+ function A() {
2781
2795
  o("drawer:after-open");
2782
2796
  }
2783
2797
  function P() {
2784
2798
  o("drawer:after-hide");
2785
2799
  }
2786
- return re(() => {
2800
+ return ie(() => {
2787
2801
  s.value = !0;
2788
2802
  }), De(() => {
2789
2803
  u.value === !0 && (o("drawer:before-unmount"), he(!1));
@@ -2793,7 +2807,7 @@ const Il = /* @__PURE__ */ B({
2793
2807
  hide: m,
2794
2808
  isOpen: u,
2795
2809
  show: S
2796
- }), (T, I) => s.value ? (d(), A(Qe, {
2810
+ }), (T, I) => s.value ? (d(), L(Qe, {
2797
2811
  key: 0,
2798
2812
  to: e.teleport
2799
2813
  }, [
@@ -2802,7 +2816,7 @@ const Il = /* @__PURE__ */ B({
2802
2816
  name: "drawer",
2803
2817
  appear: "",
2804
2818
  onEnter: k,
2805
- onAfterEnter: L,
2819
+ onAfterEnter: A,
2806
2820
  onAfterLeave: P
2807
2821
  }, {
2808
2822
  default: R(() => [
@@ -2821,7 +2835,7 @@ const Il = /* @__PURE__ */ B({
2821
2835
  }
2822
2836
  ],
2823
2837
  "aria-labelledby": h,
2824
- onKeydown: I[4] || (I[4] = pt((w) => m(), ["esc"]))
2838
+ onKeydown: I[4] || (I[4] = et((w) => m(), ["esc"]))
2825
2839
  }), [
2826
2840
  e.elevated ? j("", !0) : (d(), g("div", {
2827
2841
  key: 0,
@@ -2841,15 +2855,15 @@ const Il = /* @__PURE__ */ B({
2841
2855
  }
2842
2856
  ])
2843
2857
  }, [
2844
- b("div", Gl, [
2845
- b("div", Yl, [
2858
+ b("div", Yl, [
2859
+ b("div", Zl, [
2846
2860
  b("div", {
2847
2861
  id: h,
2848
2862
  class: "joy-drawer--header__title"
2849
2863
  }, [
2850
2864
  _(T.$slots, "drawer-header", {}, void 0, !0)
2851
2865
  ]),
2852
- b("p", Zl, [
2866
+ b("p", Xl, [
2853
2867
  _(T.$slots, "drawer-subheader", {}, void 0, !0)
2854
2868
  ]),
2855
2869
  K(ue, {
@@ -2864,7 +2878,7 @@ const Il = /* @__PURE__ */ B({
2864
2878
  onClick: I[1] || (I[1] = (w) => m())
2865
2879
  }, null, 8, ["label"])
2866
2880
  ]),
2867
- b("div", Xl, [
2881
+ b("div", Ql, [
2868
2882
  _(T.$slots, "drawer-body", {}, void 0, !0)
2869
2883
  ]),
2870
2884
  b("div", {
@@ -2882,7 +2896,7 @@ const Il = /* @__PURE__ */ B({
2882
2896
  }, {
2883
2897
  default: R(() => [
2884
2898
  _(T.$slots, "drawer-cancel", {}, () => [
2885
- e.cancelText ? (d(), A(ue, {
2899
+ e.cancelText ? (d(), L(ue, {
2886
2900
  key: 0,
2887
2901
  class: "joy-drawer--cancel",
2888
2902
  variant: "ghost",
@@ -2896,7 +2910,7 @@ const Il = /* @__PURE__ */ B({
2896
2910
  }, 8, ["size"])) : j("", !0)
2897
2911
  ], !0),
2898
2912
  _(T.$slots, "drawer-confirm", {}, () => [
2899
- e.confirmText ? (d(), A(ue, {
2913
+ e.confirmText ? (d(), L(ue, {
2900
2914
  key: 0,
2901
2915
  class: "joy-drawer--confirm",
2902
2916
  variant: "main",
@@ -2915,36 +2929,36 @@ const Il = /* @__PURE__ */ B({
2915
2929
  ], 2)
2916
2930
  ])
2917
2931
  ], 2)
2918
- ], 16, Kl)) : j("", !0)
2932
+ ], 16, Gl)) : j("", !0)
2919
2933
  ]),
2920
2934
  _: 3
2921
2935
  })
2922
2936
  ], 8, ["to"])) : j("", !0);
2923
2937
  }
2924
- }), yc = /* @__PURE__ */ F(Ql, [["__scopeId", "data-v-73384607"]]), pc = /* @__PURE__ */ B({
2938
+ }), pc = /* @__PURE__ */ F(er, [["__scopeId", "data-v-73384607"]]), mc = /* @__PURE__ */ B({
2925
2939
  __name: "VJoyDrawerTrigger",
2926
2940
  props: {
2927
2941
  drawer: {}
2928
2942
  },
2929
2943
  emits: ["click"],
2930
2944
  setup(e, { emit: t }) {
2931
- const n = e, a = t, o = V(() => n.drawer), r = X(), l = V(() => r.default());
2945
+ const n = e, a = t, o = V(() => n.drawer), r = Q(), l = V(() => r.default());
2932
2946
  async function s() {
2933
2947
  var i;
2934
2948
  a("click"), await ((i = o.value) == null ? void 0 : i.show());
2935
2949
  }
2936
- return (i, u) => (d(!0), g(Y, null, ee(l.value, (f) => (d(), A(se(f), {
2950
+ return (i, u) => (d(!0), g(G, null, X(l.value, (f) => (d(), L(re(f), {
2937
2951
  key: f,
2938
2952
  onClick: s
2939
2953
  }))), 128));
2940
2954
  }
2941
- }), er = {
2955
+ }), tr = {
2942
2956
  key: 0,
2943
2957
  class: "joy-dropdown-list__header"
2944
- }, tr = ["aria-label", "aria-labelledby"], nr = ["id", "tabindex", "aria-disabled", "aria-selected", "title", "aria-label", ".dataModel", "onClick"], ar = {
2958
+ }, nr = ["aria-label", "aria-labelledby"], ar = ["id", "tabindex", "aria-disabled", "aria-selected", "title", "aria-label", ".dataModel", "onClick"], or = {
2945
2959
  key: 1,
2946
2960
  class: "joy-dropdown-list__footer"
2947
- }, or = /* @__PURE__ */ B({
2961
+ }, lr = /* @__PURE__ */ B({
2948
2962
  __name: "VJoyDropdownList",
2949
2963
  props: {
2950
2964
  /**
@@ -3032,7 +3046,7 @@ const Il = /* @__PURE__ */ B({
3032
3046
  function p() {
3033
3047
  a("reset");
3034
3048
  }
3035
- return re(() => {
3049
+ return ie(() => {
3036
3050
  window.addEventListener("keydown", c), u();
3037
3051
  }), De(() => {
3038
3052
  window.removeEventListener("keydown", c);
@@ -3040,9 +3054,9 @@ const Il = /* @__PURE__ */ B({
3040
3054
  isSelected: l
3041
3055
  }), (v, h) => (d(), g("div", {
3042
3056
  class: "joy-dropdown-list",
3043
- style: ie({ width: `${e.width}px`, "max-width": `${e.width}px` })
3057
+ style: se({ width: `${e.width}px`, "max-width": `${e.width}px` })
3044
3058
  }, [
3045
- v.$slots["dropdown-list-header"] || e.reset ? (d(), g("header", er, [
3059
+ v.$slots["dropdown-list-header"] || e.reset ? (d(), g("header", tr, [
3046
3060
  e.reset ? (d(), g("button", {
3047
3061
  key: 0,
3048
3062
  type: "button",
@@ -3054,7 +3068,7 @@ const Il = /* @__PURE__ */ B({
3054
3068
  b("div", {
3055
3069
  tabindex: "0",
3056
3070
  class: E(["joy-dropdown-list__items", { "joy-dropdown-list__items-slotted": v.$slots["dropdown-list-items"] }]),
3057
- style: ie({ "max-height": `${e.height}px` })
3071
+ style: se({ "max-height": `${e.height}px` })
3058
3072
  }, [
3059
3073
  _(v.$slots, "dropdown-list-items", {}, void 0, !0),
3060
3074
  e.options.length ? (d(), g("ul", {
@@ -3066,10 +3080,10 @@ const Il = /* @__PURE__ */ B({
3066
3080
  "aria-label": e.ariaLabel,
3067
3081
  "aria-labelledby": e.ariaLabelledBy
3068
3082
  }, [
3069
- (d(!0), g(Y, null, ee(e.options, (m) => (d(), g("li", {
3083
+ (d(!0), g(G, null, X(e.options, (m) => (d(), g("li", {
3070
3084
  id: m.id,
3071
3085
  key: m.id,
3072
- style: ie({ "max-width": `${e.width}px` }),
3086
+ style: se({ "max-width": `${e.width}px` }),
3073
3087
  class: E([
3074
3088
  "joy-dropdown-list__item",
3075
3089
  `joy-dropdown-list__item--${e.size}`,
@@ -3090,15 +3104,15 @@ const Il = /* @__PURE__ */ B({
3090
3104
  _(v.$slots, "label", _e(ke(m)), () => [
3091
3105
  b("span", null, O(m.label), 1)
3092
3106
  ], !0)
3093
- ], 46, nr))), 128))
3094
- ], 8, tr)) : j("", !0)
3107
+ ], 46, ar))), 128))
3108
+ ], 8, nr)) : j("", !0)
3095
3109
  ], 6),
3096
- v.$slots["dropdown-list-footer"] ? (d(), g("footer", ar, [
3110
+ v.$slots["dropdown-list-footer"] ? (d(), g("footer", or, [
3097
3111
  _(v.$slots, "dropdown-list-footer", {}, void 0, !0)
3098
3112
  ])) : j("", !0)
3099
3113
  ], 4));
3100
3114
  }
3101
- }), lr = /* @__PURE__ */ F(or, [["__scopeId", "data-v-7a3292aa"]]), rr = /* @__PURE__ */ B({
3115
+ }), rr = /* @__PURE__ */ F(lr, [["__scopeId", "data-v-7a3292aa"]]), ir = /* @__PURE__ */ B({
3102
3116
  __name: "VJoyDropdown",
3103
3117
  props: {
3104
3118
  /** DOM valid selector to give to Vue3 Teleport "to" property */
@@ -3219,7 +3233,7 @@ const Il = /* @__PURE__ */ B({
3219
3233
  function k() {
3220
3234
  u.value && u.value.focus();
3221
3235
  }
3222
- function L(I) {
3236
+ function A(I) {
3223
3237
  a("update:modelValue", I), o.closeOnSelect && (h(), k());
3224
3238
  }
3225
3239
  function P() {
@@ -3228,12 +3242,12 @@ const Il = /* @__PURE__ */ B({
3228
3242
  function T() {
3229
3243
  !s.value || !s.value.children.length || (s.value.children[0].id = c);
3230
3244
  }
3231
- return Wo(h), re(() => {
3245
+ return Uo(h), ie(() => {
3232
3246
  T();
3233
3247
  }), t({
3234
3248
  showDropdownList: r,
3235
3249
  generatedId: c
3236
- }), (I, w) => (d(), A(D(Bt), {
3250
+ }), (I, w) => (d(), L(D(Bt), {
3237
3251
  ref_key: "dropdown",
3238
3252
  ref: l,
3239
3253
  options: y,
@@ -3263,9 +3277,9 @@ const Il = /* @__PURE__ */ B({
3263
3277
  "joy-dropdown__list--hiding": f.value
3264
3278
  }
3265
3279
  ]),
3266
- style: ie(v.value)
3280
+ style: se(v.value)
3267
3281
  }, [
3268
- K(lr, {
3282
+ K(rr, {
3269
3283
  "model-value": e.modelValue,
3270
3284
  options: e.options,
3271
3285
  size: e.size,
@@ -3274,7 +3288,7 @@ const Il = /* @__PURE__ */ B({
3274
3288
  reset: e.reset,
3275
3289
  "reset-label": e.resetLabel,
3276
3290
  "aria-labelled-by": c,
3277
- "onUpdate:modelValue": L,
3291
+ "onUpdate:modelValue": A,
3278
3292
  "onClose:dropdownList": S,
3279
3293
  onReset: P
3280
3294
  }, Lt({
@@ -3312,27 +3326,27 @@ const Il = /* @__PURE__ */ B({
3312
3326
  _: 3
3313
3327
  }, 512));
3314
3328
  }
3315
- }), mc = /* @__PURE__ */ F(rr, [["__scopeId", "data-v-a152eb12"]]), ir = { class: "joy-dropzone__icon-wrapper" }, sr = /* @__PURE__ */ B({
3329
+ }), hc = /* @__PURE__ */ F(ir, [["__scopeId", "data-v-a152eb12"]]), sr = { class: "joy-dropzone__icon-wrapper" }, ur = /* @__PURE__ */ B({
3316
3330
  __name: "VJoyDropzoneIcon",
3317
3331
  props: {
3318
3332
  name: { type: String, required: !0 }
3319
3333
  },
3320
3334
  setup(e) {
3321
- return (t, n) => (d(), g("div", ir, [
3322
- K(G, {
3335
+ return (t, n) => (d(), g("div", sr, [
3336
+ K(Y, {
3323
3337
  "aria-hidden": "true",
3324
3338
  name: e.name,
3325
3339
  class: "joy-dropzone__icon"
3326
3340
  }, null, 8, ["name"])
3327
3341
  ]));
3328
3342
  }
3329
- }), Vn = /* @__PURE__ */ F(sr, [["__scopeId", "data-v-5a2d1889"]]), ur = { class: "joy-dropzone__file__description" }, cr = { class: "joy-dropzone__file__name" }, dr = {
3343
+ }), Vn = /* @__PURE__ */ F(ur, [["__scopeId", "data-v-5a2d1889"]]), cr = { class: "joy-dropzone__file__description" }, dr = { class: "joy-dropzone__file__name" }, fr = {
3330
3344
  key: 0,
3331
3345
  class: "joy-dropzone__file__information"
3332
- }, fr = {
3346
+ }, vr = {
3333
3347
  key: 1,
3334
3348
  class: "joy-dropzone__file__error"
3335
- }, vr = /* @__PURE__ */ B({
3349
+ }, yr = /* @__PURE__ */ B({
3336
3350
  __name: "VJoyDropzoneFileItem",
3337
3351
  props: {
3338
3352
  file: {},
@@ -3342,8 +3356,8 @@ const Il = /* @__PURE__ */ B({
3342
3356
  },
3343
3357
  emits: ["delete", "update"],
3344
3358
  setup(e) {
3345
- const t = X(), n = e;
3346
- return (a, o) => (d(), A(Ke, {
3359
+ const t = Q(), n = e;
3360
+ return (a, o) => (d(), L(Ke, {
3347
3361
  "column-gap": "6",
3348
3362
  "row-gap": "4",
3349
3363
  justify: "flex-start",
@@ -3357,12 +3371,12 @@ const Il = /* @__PURE__ */ B({
3357
3371
  name: "file-check",
3358
3372
  class: "joy-dropzone__file__icon"
3359
3373
  }),
3360
- b("div", ur, [
3361
- b("span", cr, O(n.file.name), 1),
3362
- D(t).information ? (d(), g("div", dr, [
3374
+ b("div", cr, [
3375
+ b("span", dr, O(n.file.name), 1),
3376
+ D(t).information ? (d(), g("div", fr, [
3363
3377
  _(a.$slots, "information", { file: a.file }, void 0, !0)
3364
3378
  ])) : j("", !0),
3365
- a.error ? (d(), g("p", fr, O(a.error), 1)) : j("", !0)
3379
+ a.error ? (d(), g("p", vr, O(a.error), 1)) : j("", !0)
3366
3380
  ]),
3367
3381
  K(Ke, {
3368
3382
  "column-gap": "1",
@@ -3397,13 +3411,13 @@ const Il = /* @__PURE__ */ B({
3397
3411
  _: 3
3398
3412
  }));
3399
3413
  }
3400
- }), yr = /* @__PURE__ */ F(vr, [["__scopeId", "data-v-f47da94a"]]), pr = ["name", "accept", "multiple"], mr = ["for"], hr = {
3414
+ }), pr = /* @__PURE__ */ F(yr, [["__scopeId", "data-v-f47da94a"]]), mr = ["name", "accept", "multiple"], hr = ["for"], br = {
3401
3415
  key: 0,
3402
3416
  class: "joy-dropzone__files"
3403
- }, br = { class: "joy-dropzone__instruction__text" }, gr = {
3417
+ }, gr = { class: "joy-dropzone__instruction__text" }, wr = {
3404
3418
  key: 0,
3405
3419
  class: "joy-dropzone__legend"
3406
- }, wr = /* @__PURE__ */ B({
3420
+ }, Sr = /* @__PURE__ */ B({
3407
3421
  __name: "VJoyDropzone",
3408
3422
  props: /* @__PURE__ */ oa({
3409
3423
  name: {},
@@ -3421,7 +3435,7 @@ const Il = /* @__PURE__ */ B({
3421
3435
  }),
3422
3436
  emits: ["update:modelValue"],
3423
3437
  setup(e, { expose: t }) {
3424
- const n = X(), a = e, o = la(e, "modelValue"), r = C(), l = C(), s = C(), { isOverDropZone: i } = uo(l, {
3438
+ const n = Q(), a = e, o = la(e, "modelValue"), r = C(), l = C(), s = C(), { isOverDropZone: i } = uo(l, {
3425
3439
  onDrop: k
3426
3440
  }), u = V(() => o.value.filter((w) => w instanceof File)), f = V(() => u.value.some((w) => !y(w) || !p(w))), c = V(() => a.multiple || u.value.length === 0 ? void 0 : v(u.value[0]));
3427
3441
  function y(w) {
@@ -3455,7 +3469,7 @@ const Il = /* @__PURE__ */ B({
3455
3469
  function k(w) {
3456
3470
  !w || w.length === 0 || (r.value = void 0, T(w));
3457
3471
  }
3458
- function L(w) {
3472
+ function A(w) {
3459
3473
  r.value = w, s.value && s.value.click();
3460
3474
  }
3461
3475
  function P(w) {
@@ -3491,19 +3505,19 @@ const Il = /* @__PURE__ */ B({
3491
3505
  tabindex: "-1",
3492
3506
  onChange: S,
3493
3507
  onClick: m
3494
- }, null, 40, pr),
3508
+ }, null, 40, mr),
3495
3509
  b("label", {
3496
3510
  for: w.name,
3497
3511
  class: "joy-dropzone__label"
3498
3512
  }, [
3499
- o.value.length > 0 ? (d(), g("div", hr, [
3500
- (d(!0), g(Y, null, ee(o.value, (M, Z) => (d(), A(yr, {
3513
+ o.value.length > 0 ? (d(), g("div", br, [
3514
+ (d(!0), g(G, null, X(o.value, (M, Z) => (d(), L(pr, {
3501
3515
  key: `${M.name}_${Z}`,
3502
3516
  file: M,
3503
3517
  error: w.multiple ? v(M) : void 0,
3504
3518
  "update-label": w.updateLabel,
3505
3519
  "delete-label": w.deleteLabel,
3506
- onUpdate: (H) => L(M),
3520
+ onUpdate: (H) => A(M),
3507
3521
  onDelete: (H) => P(M)
3508
3522
  }, Lt({ _: 2 }, [
3509
3523
  D(n)["file-information"] ? {
@@ -3522,7 +3536,7 @@ const Il = /* @__PURE__ */ B({
3522
3536
  } : void 0
3523
3537
  ]), 1032, ["file", "error", "update-label", "delete-label", "onUpdate", "onDelete"]))), 128))
3524
3538
  ])) : j("", !0),
3525
- o.value.length === 0 || w.multiple ? (d(), A(Ke, {
3539
+ o.value.length === 0 || w.multiple ? (d(), L(Ke, {
3526
3540
  key: 1,
3527
3541
  wrap: "nowrap",
3528
3542
  "no-margin": "",
@@ -3534,7 +3548,7 @@ const Il = /* @__PURE__ */ B({
3534
3548
  name: "add",
3535
3549
  class: "joy-dropzone__instruction__icon"
3536
3550
  }),
3537
- b("p", br, [
3551
+ b("p", gr, [
3538
3552
  _(w.$slots, "dropzone-description", {}, () => [
3539
3553
  W("Drop your file here or click here")
3540
3554
  ], !0)
@@ -3542,19 +3556,19 @@ const Il = /* @__PURE__ */ B({
3542
3556
  ]),
3543
3557
  _: 3
3544
3558
  })) : j("", !0)
3545
- ], 8, mr)
3559
+ ], 8, hr)
3546
3560
  ], 512),
3547
- D(n)["dropzone-legend"] ? (d(), g("div", gr, [
3561
+ D(n)["dropzone-legend"] ? (d(), g("div", wr, [
3548
3562
  _(w.$slots, "dropzone-legend", {}, void 0, !0)
3549
3563
  ])) : j("", !0),
3550
- c.value ? (d(), A(Ft, {
3564
+ c.value ? (d(), L(Ft, {
3551
3565
  key: 1,
3552
3566
  "no-html-error-text": c.value,
3553
3567
  class: "joy-dropzone__error"
3554
3568
  }, null, 8, ["no-html-error-text"])) : j("", !0)
3555
3569
  ], 2));
3556
3570
  }
3557
- }), hc = /* @__PURE__ */ F(wr, [["__scopeId", "data-v-32812dd6"]]), Sr = ["aria-label"], _r = { class: "joy-filter-bar__wrapper" }, kr = /* @__PURE__ */ B({
3571
+ }), bc = /* @__PURE__ */ F(Sr, [["__scopeId", "data-v-32812dd6"]]), _r = ["aria-label"], kr = { class: "joy-filter-bar__wrapper" }, jr = /* @__PURE__ */ B({
3558
3572
  __name: "VJoyFilterBar",
3559
3573
  props: {
3560
3574
  /** To give a label to the whole component */
@@ -3566,12 +3580,12 @@ const Il = /* @__PURE__ */ B({
3566
3580
  role: "group",
3567
3581
  "aria-label": e.ariaLabel || "Filter bar"
3568
3582
  }, [
3569
- b("div", _r, [
3583
+ b("div", kr, [
3570
3584
  _(t.$slots, "default", {}, void 0, !0)
3571
3585
  ])
3572
- ], 8, Sr));
3586
+ ], 8, _r));
3573
3587
  }
3574
- }), bc = /* @__PURE__ */ F(kr, [["__scopeId", "data-v-e027069a"]]), jr = /* @__PURE__ */ B({
3588
+ }), gc = /* @__PURE__ */ F(jr, [["__scopeId", "data-v-e027069a"]]), $r = /* @__PURE__ */ B({
3575
3589
  __name: "VJoyFilterBarButton",
3576
3590
  props: {
3577
3591
  /** Label to inject inside the button */
@@ -3599,7 +3613,7 @@ const Il = /* @__PURE__ */ B({
3599
3613
  }, [
3600
3614
  W(O(e.label) + " ", 1),
3601
3615
  _(l.$slots, "default", {}, void 0, !0),
3602
- D(o) ? (d(), A(G, {
3616
+ D(o) ? (d(), L(Y, {
3603
3617
  key: 0,
3604
3618
  class: "joy-filter-bar-button__icon",
3605
3619
  name: "chevron-down",
@@ -3608,19 +3622,19 @@ const Il = /* @__PURE__ */ B({
3608
3622
  })) : j("", !0)
3609
3623
  ], 2));
3610
3624
  }
3611
- }), gc = /* @__PURE__ */ F(jr, [["__scopeId", "data-v-44f9dbfc"]]), $r = { class: "joy-footer" }, Cr = { class: "joy-footer__left" }, xr = { class: "joy-footer__right" }, Tr = /* @__PURE__ */ B({
3625
+ }), wc = /* @__PURE__ */ F($r, [["__scopeId", "data-v-44f9dbfc"]]), Cr = { class: "joy-footer" }, xr = { class: "joy-footer__left" }, Tr = { class: "joy-footer__right" }, Vr = /* @__PURE__ */ B({
3612
3626
  __name: "VJoyFooter",
3613
3627
  setup(e) {
3614
- return (t, n) => (d(), g("footer", $r, [
3615
- b("div", Cr, [
3628
+ return (t, n) => (d(), g("footer", Cr, [
3629
+ b("div", xr, [
3616
3630
  _(t.$slots, "footer-left", {}, void 0, !0)
3617
3631
  ]),
3618
- b("div", xr, [
3632
+ b("div", Tr, [
3619
3633
  _(t.$slots, "footer-right", {}, void 0, !0)
3620
3634
  ])
3621
3635
  ]));
3622
3636
  }
3623
- }), wc = /* @__PURE__ */ F(Tr, [["__scopeId", "data-v-e174785d"]]), Vr = /* @__PURE__ */ B({
3637
+ }), Sc = /* @__PURE__ */ F(Vr, [["__scopeId", "data-v-e1cd31ef"]]), Ir = /* @__PURE__ */ B({
3624
3638
  __name: "VJoyFormFieldSkeleton",
3625
3639
  props: {
3626
3640
  /** In some cases you'll need to inject the error in the DOM but hide it. Visible by default */
@@ -3652,15 +3666,15 @@ const Il = /* @__PURE__ */ B({
3652
3666
  return t({ flexStyle: o }), (r, l) => (d(), g("div", {
3653
3667
  "aria-hidden": "true",
3654
3668
  class: E(["joy-form-skeleton", `joy-form-skeleton--${e.size}`]),
3655
- style: ie({
3669
+ style: se({
3656
3670
  "max-width": e.width,
3657
3671
  flex: o.value
3658
3672
  })
3659
3673
  }, null, 6));
3660
3674
  }
3661
- }), Sc = /* @__PURE__ */ F(Vr, [["__scopeId", "data-v-235a3b9e"]]), Ir = { class: "joy-funnel__header" }, Er = { class: "funnel__header__inner" }, Lr = { class: "joy-funnel__stepper" }, Ar = /* @__PURE__ */ vn('<div class="shapes__wrapper" data-v-42085efa><div class="shape_1" data-v-42085efa></div><div class="shape_2" data-v-42085efa></div><div class="shape_3" data-v-42085efa></div><div class="shape_4" data-v-42085efa></div></div>', 1), Br = [
3662
- Ar
3663
- ], Fr = { class: "joy-funnel__footer" }, Nr = /* @__PURE__ */ B({
3675
+ }), _c = /* @__PURE__ */ F(Ir, [["__scopeId", "data-v-235a3b9e"]]), Er = { class: "joy-funnel__header" }, Lr = { class: "funnel__header__inner" }, Ar = { class: "joy-funnel__stepper" }, Br = /* @__PURE__ */ vn('<div class="shapes__wrapper" data-v-42085efa><div class="shape_1" data-v-42085efa></div><div class="shape_2" data-v-42085efa></div><div class="shape_3" data-v-42085efa></div><div class="shape_4" data-v-42085efa></div></div>', 1), Fr = [
3676
+ Br
3677
+ ], Nr = { class: "joy-funnel__footer" }, zr = /* @__PURE__ */ B({
3664
3678
  __name: "VJoyFunnel",
3665
3679
  props: {
3666
3680
  /**
@@ -3680,7 +3694,7 @@ const Il = /* @__PURE__ */ B({
3680
3694
  }
3681
3695
  },
3682
3696
  setup(e, { expose: t }) {
3683
- const n = C(!0), a = X();
3697
+ const n = C(!0), a = Q();
3684
3698
  function o(s) {
3685
3699
  const i = s.currentTarget;
3686
3700
  n.value = i.scrollTop === 0;
@@ -3699,11 +3713,11 @@ const Il = /* @__PURE__ */ B({
3699
3713
  }
3700
3714
  ])
3701
3715
  }, [
3702
- b("div", Ir, [
3703
- b("div", Er, [
3716
+ b("div", Er, [
3717
+ b("div", Lr, [
3704
3718
  _(s.$slots, "funnel-header", {}, void 0, !0)
3705
3719
  ]),
3706
- b("div", Lr, [
3720
+ b("div", Ar, [
3707
3721
  _(s.$slots, "funnel-stepper", {}, void 0, !0)
3708
3722
  ])
3709
3723
  ]),
@@ -3716,7 +3730,7 @@ const Il = /* @__PURE__ */ B({
3716
3730
  "joy-funnel__shapes--no-footer": !l.value
3717
3731
  }
3718
3732
  ])
3719
- }, Br, 2)),
3733
+ }, Fr, 2)),
3720
3734
  b("div", {
3721
3735
  class: "joy-funnel__scrollable",
3722
3736
  onScroll: o
@@ -3727,24 +3741,24 @@ const Il = /* @__PURE__ */ B({
3727
3741
  _(s.$slots, "default", {}, void 0, !0)
3728
3742
  ], 2)
3729
3743
  ], 32),
3730
- b("div", Fr, [
3744
+ b("div", Nr, [
3731
3745
  _(s.$slots, "funnel-footer", {}, void 0, !0)
3732
3746
  ])
3733
3747
  ], 2));
3734
3748
  }
3735
- }), _c = /* @__PURE__ */ F(Nr, [["__scopeId", "data-v-42085efa"]]), zr = { class: "joy-header" }, Pr = { class: "joy-header__left" }, Or = { class: "joy-header__right" }, Rr = /* @__PURE__ */ B({
3749
+ }), kc = /* @__PURE__ */ F(zr, [["__scopeId", "data-v-42085efa"]]), Pr = { class: "joy-header" }, Or = { class: "joy-header__left" }, Rr = { class: "joy-header__right" }, Dr = /* @__PURE__ */ B({
3736
3750
  __name: "VJoyHeader",
3737
3751
  setup(e) {
3738
- return (t, n) => (d(), g("header", zr, [
3739
- b("div", Pr, [
3752
+ return (t, n) => (d(), g("header", Pr, [
3753
+ b("div", Or, [
3740
3754
  _(t.$slots, "header-left", {}, void 0, !0)
3741
3755
  ]),
3742
- b("div", Or, [
3756
+ b("div", Rr, [
3743
3757
  _(t.$slots, "header-right", {}, void 0, !0)
3744
3758
  ])
3745
3759
  ]));
3746
3760
  }
3747
- }), kc = /* @__PURE__ */ F(Rr, [["__scopeId", "data-v-7928856e"]]), Dr = { class: "joy-highlight__decorator" }, Mr = { class: "joy-highlight__text" }, Jr = { key: 0 }, qr = /* @__PURE__ */ B({
3761
+ }), jc = /* @__PURE__ */ F(Dr, [["__scopeId", "data-v-7928856e"]]), Mr = { class: "joy-highlight__decorator" }, Jr = { class: "joy-highlight__text" }, qr = { key: 0 }, Hr = /* @__PURE__ */ B({
3748
3762
  __name: "VJoyHighlight",
3749
3763
  props: {
3750
3764
  accent: {
@@ -3785,23 +3799,23 @@ const Il = /* @__PURE__ */ B({
3785
3799
  }
3786
3800
  ])
3787
3801
  }, [
3788
- b("div", Dr, [
3802
+ b("div", Mr, [
3789
3803
  _(o.$slots, "highlight-decorator", {}, () => [
3790
- e.displayIcon ? (d(), A(G, {
3804
+ e.displayIcon ? (d(), L(Y, {
3791
3805
  key: 0,
3792
3806
  name: a.value
3793
3807
  }, null, 8, ["name"])) : j("", !0)
3794
3808
  ], !0)
3795
3809
  ]),
3796
- b("div", Mr, [
3797
- o.$slots["highlight-title"] ? (d(), g("strong", Jr, [
3810
+ b("div", Jr, [
3811
+ o.$slots["highlight-title"] ? (d(), g("strong", qr, [
3798
3812
  _(o.$slots, "highlight-title", {}, void 0, !0)
3799
3813
  ])) : j("", !0),
3800
3814
  _(o.$slots, "default", {}, void 0, !0)
3801
3815
  ])
3802
3816
  ], 2));
3803
3817
  }
3804
- }), jc = /* @__PURE__ */ F(qr, [["__scopeId", "data-v-53c18803"]]), Hr = ["aria-label"], Wr = /* @__PURE__ */ B({
3818
+ }), $c = /* @__PURE__ */ F(Hr, [["__scopeId", "data-v-53c18803"]]), Wr = ["aria-label"], Ur = /* @__PURE__ */ B({
3805
3819
  __name: "VJoyIndicator",
3806
3820
  props: {
3807
3821
  /** Value is used for the parent v-model. Mandatory */
@@ -3831,10 +3845,10 @@ const Il = /* @__PURE__ */ B({
3831
3845
  type: "button",
3832
3846
  class: E(["joy-indicator--button", { "joy-indicator--button-selected": e.selected }]),
3833
3847
  "aria-label": e.ariaLabel || e.value.toString()
3834
- }, null, 10, Hr)
3848
+ }, null, 10, Wr)
3835
3849
  ], 2));
3836
3850
  }
3837
- }), Ur = /* @__PURE__ */ F(Wr, [["__scopeId", "data-v-2babb982"]]), Kr = /* @__PURE__ */ B({
3851
+ }), Kr = /* @__PURE__ */ F(Ur, [["__scopeId", "data-v-2babb982"]]), Gr = /* @__PURE__ */ B({
3838
3852
  __name: "VJoyIndicators",
3839
3853
  props: {
3840
3854
  variant: {
@@ -3847,7 +3861,7 @@ const Il = /* @__PURE__ */ B({
3847
3861
  },
3848
3862
  emits: ["update:modelValue"],
3849
3863
  setup(e, { expose: t, emit: n }) {
3850
- const a = e, o = n, r = X(), l = C(a.modelValue), s = V(() => {
3864
+ const a = e, o = n, r = Q(), l = C(a.modelValue), s = V(() => {
3851
3865
  const c = r.default();
3852
3866
  return c.length === 1 && typeof c[0].type != "object" ? c[0].children.filter(u) : c.filter(u);
3853
3867
  });
@@ -3872,7 +3886,7 @@ const Il = /* @__PURE__ */ B({
3872
3886
  }), (c, y) => (d(), g("ul", {
3873
3887
  class: E(["joy-indicators", `joy-indicators--${e.variant}`])
3874
3888
  }, [
3875
- (d(!0), g(Y, null, ee(s.value, (p) => (d(), A(Ur, ae({
3889
+ (d(!0), g(G, null, X(s.value, (p) => (d(), L(Kr, ae({
3876
3890
  key: p.props.value
3877
3891
  }, { ...p.props, variant: e.variant }, {
3878
3892
  selected: i(p),
@@ -3880,7 +3894,7 @@ const Il = /* @__PURE__ */ B({
3880
3894
  }), null, 16, ["selected", "onClick"]))), 128))
3881
3895
  ], 2));
3882
3896
  }
3883
- }), $c = /* @__PURE__ */ F(Kr, [["__scopeId", "data-v-f2dd63e9"]]), Gr = ["id", "name", "required", "disabled", "readonly", "type", "value"], Yr = ["data-unit"], Zr = /* @__PURE__ */ B({
3897
+ }), Cc = /* @__PURE__ */ F(Gr, [["__scopeId", "data-v-f2dd63e9"]]), Yr = ["id", "name", "required", "disabled", "readonly", "type", "value"], Zr = ["data-unit"], Xr = /* @__PURE__ */ B({
3884
3898
  inheritAttrs: !1,
3885
3899
  __name: "VJoyInput",
3886
3900
  props: {
@@ -3956,11 +3970,11 @@ const Il = /* @__PURE__ */ B({
3956
3970
  },
3957
3971
  emits: ["update:modelValue"],
3958
3972
  setup(e, { expose: t, emit: n }) {
3959
- const a = n, o = e, r = C(), l = C(), s = Re(), i = X(), u = C(!1), f = C(!1);
3973
+ const a = n, o = e, r = C(), l = C(), s = Re(), i = Q(), u = C(!1), f = C(!1);
3960
3974
  Nt(r, o.autofocus);
3961
3975
  const c = V(() => typeof o.modelValue == "number" || !o.clearable || o.unit || !o.modelValue ? !1 : o.modelValue.length > 0 && !o.unit), y = V(() => i.default && i.default()), p = V(() => {
3962
- var k, L;
3963
- return !!((k = l.value) != null && k.closest("joy-wrapper")) || !!((L = l.value) != null && L.closest(".joy-wrapper"));
3976
+ var k, A;
3977
+ return !!((k = l.value) != null && k.closest("joy-wrapper")) || !!((A = l.value) != null && A.closest(".joy-wrapper"));
3964
3978
  }), v = C(o.type), h = V(() => o.type === "password" && !!o.modelValue);
3965
3979
  ra(() => {
3966
3980
  v.value = o.unit ? "number" : o.type;
@@ -3980,12 +3994,12 @@ const Il = /* @__PURE__ */ B({
3980
3994
  k.preventDefault();
3981
3995
  },
3982
3996
  onInput: (k) => {
3983
- let L = k.target.value;
3984
- o.modelModifiers.lazy || a("update:modelValue", L);
3997
+ let A = k.target.value;
3998
+ o.modelModifiers.lazy || a("update:modelValue", A);
3985
3999
  },
3986
4000
  onChange: (k) => {
3987
- let L = k.target.value;
3988
- o.modelModifiers.lazy && a("update:modelValue", L);
4001
+ let A = k.target.value;
4002
+ o.modelModifiers.lazy && a("update:modelValue", A);
3989
4003
  },
3990
4004
  clearValue: () => {
3991
4005
  o.disabled || a("update:modelValue", "");
@@ -3996,7 +4010,7 @@ const Il = /* @__PURE__ */ B({
3996
4010
  };
3997
4011
  return t({
3998
4012
  focus: m
3999
- }), (k, L) => (d(), g("div", {
4013
+ }), (k, A) => (d(), g("div", {
4000
4014
  ref_key: "root",
4001
4015
  ref: l,
4002
4016
  class: E([`joy-input--${o.size}`])
@@ -4013,7 +4027,7 @@ const Il = /* @__PURE__ */ B({
4013
4027
  }
4014
4028
  ])
4015
4029
  }, [
4016
- y.value || e.label ? (d(), A(Ae, {
4030
+ y.value || e.label ? (d(), L(Ae, {
4017
4031
  key: 0,
4018
4032
  for: e.id || e.name,
4019
4033
  required: e.required && e.requiredMark,
@@ -4054,18 +4068,18 @@ const Il = /* @__PURE__ */ B({
4054
4068
  ],
4055
4069
  type: v.value,
4056
4070
  value: e.modelValue,
4057
- onFocus: L[0] || (L[0] = //@ts-ignore
4071
+ onFocus: A[0] || (A[0] = //@ts-ignore
4058
4072
  (...P) => S.onFocus && S.onFocus(...P)),
4059
- onBlur: L[1] || (L[1] = //@ts-ignore
4073
+ onBlur: A[1] || (A[1] = //@ts-ignore
4060
4074
  (...P) => S.onBlur && S.onBlur(...P)),
4061
- onInput: L[2] || (L[2] = //@ts-ignore
4075
+ onInput: A[2] || (A[2] = //@ts-ignore
4062
4076
  (...P) => S.onInput && S.onInput(...P)),
4063
- onChange: L[3] || (L[3] = //@ts-ignore
4077
+ onChange: A[3] || (A[3] = //@ts-ignore
4064
4078
  (...P) => S.onChange && S.onChange(...P)),
4065
- onWheel: L[4] || (L[4] = //@ts-ignore
4079
+ onWheel: A[4] || (A[4] = //@ts-ignore
4066
4080
  (...P) => S.onWheelScroll && S.onWheelScroll(...P))
4067
- }), null, 16, Gr),
4068
- c.value ? (d(), A(ue, {
4081
+ }), null, 16, Yr),
4082
+ c.value ? (d(), L(ue, {
4069
4083
  key: 0,
4070
4084
  class: "joy-input--clear",
4071
4085
  circle: "",
@@ -4074,13 +4088,13 @@ const Il = /* @__PURE__ */ B({
4074
4088
  icon: "cross",
4075
4089
  onClick: S.clearValue
4076
4090
  }, null, 8, ["onClick"])) : j("", !0),
4077
- h.value ? (d(), A(G, {
4091
+ h.value ? (d(), L(Y, {
4078
4092
  key: 1,
4079
4093
  class: "joy-input--password-icon",
4080
4094
  name: f.value ? "eye-masked" : "eye",
4081
4095
  onClick: S.togglePassword
4082
4096
  }, null, 8, ["name", "onClick"])) : j("", !0),
4083
- e.icon ? (d(), A(G, {
4097
+ e.icon ? (d(), L(Y, {
4084
4098
  key: 2,
4085
4099
  class: "joy-input--decorative-icon",
4086
4100
  name: e.icon
@@ -4089,12 +4103,12 @@ const Il = /* @__PURE__ */ B({
4089
4103
  key: 3,
4090
4104
  "data-unit": e.unit,
4091
4105
  class: "joy-input--unit"
4092
- }, null, 8, Yr)) : j("", !0)
4106
+ }, null, 8, Zr)) : j("", !0)
4093
4107
  ], 2)
4094
4108
  ], 2)
4095
4109
  ], 2));
4096
4110
  }
4097
- }), Cc = /* @__PURE__ */ F(Zr, [["__scopeId", "data-v-372cd5d9"]]), Xr = ["href"], Qr = /* @__PURE__ */ B({
4111
+ }), xc = /* @__PURE__ */ F(Xr, [["__scopeId", "data-v-372cd5d9"]]), Qr = ["href"], ei = /* @__PURE__ */ B({
4098
4112
  __name: "VJoyLink",
4099
4113
  props: {
4100
4114
  href: {
@@ -4112,16 +4126,16 @@ const Il = /* @__PURE__ */ B({
4112
4126
  return (t, n) => (d(), g("a", ae({ href: e.href }, t.$attrs, {
4113
4127
  class: ["joy-link", `joy-link_${e.color}`]
4114
4128
  }), [
4115
- e.icon ? (d(), A(G, {
4129
+ e.icon ? (d(), L(Y, {
4116
4130
  key: 0,
4117
4131
  name: e.icon
4118
4132
  }, null, 8, ["name"])) : j("", !0),
4119
4133
  _(t.$slots, "default", {}, () => [
4120
4134
  W(O(e.text), 1)
4121
4135
  ], !0)
4122
- ], 16, Xr));
4136
+ ], 16, Qr));
4123
4137
  }
4124
- }), xc = /* @__PURE__ */ F(Qr, [["__scopeId", "data-v-8dcab8fb"]]), ei = ["tabindex", "aria-activedescendant", "aria-label"], ti = ["id", "aria-disabled", "aria-current", "title", "aria-label", ".dataModel", "onClick"], ni = { "aria-hidden": "true" }, ai = /* @__PURE__ */ B({
4138
+ }), Tc = /* @__PURE__ */ F(ei, [["__scopeId", "data-v-8dcab8fb"]]), ti = ["tabindex", "aria-activedescendant", "aria-label"], ni = ["id", "aria-disabled", "aria-current", "title", "aria-label", ".dataModel", "onClick"], ai = { "aria-hidden": "true" }, oi = /* @__PURE__ */ B({
4125
4139
  __name: "VJoyMenu",
4126
4140
  props: {
4127
4141
  /**
@@ -4188,7 +4202,7 @@ const Il = /* @__PURE__ */ B({
4188
4202
  role: "menu",
4189
4203
  onKeydown: c
4190
4204
  }, [
4191
- (d(!0), g(Y, null, ee(e.items, (v) => (d(), g("li", {
4205
+ (d(!0), g(G, null, X(e.items, (v) => (d(), g("li", {
4192
4206
  id: u(v),
4193
4207
  key: v.label,
4194
4208
  class: E([
@@ -4207,21 +4221,21 @@ const Il = /* @__PURE__ */ B({
4207
4221
  role: "menuitem",
4208
4222
  onClick: (h) => s(v)
4209
4223
  }, [
4210
- b("div", ni, [
4224
+ b("div", ai, [
4211
4225
  _(y.$slots, "menu-item", _e(ke(v)), () => [
4212
- v.icon ? (d(), A(G, {
4226
+ v.icon ? (d(), L(Y, {
4213
4227
  key: 0,
4214
4228
  name: v.icon
4215
4229
  }, null, 8, ["name"])) : j("", !0),
4216
4230
  b("span", null, O(v.label), 1)
4217
4231
  ], !0)
4218
4232
  ])
4219
- ], 42, ti))), 128))
4220
- ], 40, ei));
4233
+ ], 42, ni))), 128))
4234
+ ], 40, ti));
4221
4235
  }
4222
- }), Tc = /* @__PURE__ */ F(ai, [["__scopeId", "data-v-782c4573"]]), oi = ["id"], li = {
4236
+ }), Vc = /* @__PURE__ */ F(oi, [["__scopeId", "data-v-782c4573"]]), li = ["id"], ri = {
4223
4237
  class: /* @__PURE__ */ E(["joy-multi-checkbox"])
4224
- }, ri = /* @__PURE__ */ B({
4238
+ }, ii = /* @__PURE__ */ B({
4225
4239
  __name: "VJoyMultiCheckbox",
4226
4240
  props: {
4227
4241
  /** To render the list of checkboxes you have to use this property. See "Controls" for object model */
@@ -4271,7 +4285,7 @@ const Il = /* @__PURE__ */ B({
4271
4285
  id: e.id,
4272
4286
  class: "joy-multi-checkbox__wrapper"
4273
4287
  }, [
4274
- e.label ? (d(), A(Ae, {
4288
+ e.label ? (d(), L(Ae, {
4275
4289
  key: 0,
4276
4290
  "tag-name": "legend",
4277
4291
  required: e.required && e.requiredMark,
@@ -4283,8 +4297,8 @@ const Il = /* @__PURE__ */ B({
4283
4297
  ]),
4284
4298
  _: 1
4285
4299
  }, 8, ["required", "optional-label", "size"])) : j("", !0),
4286
- b("div", li, [
4287
- (d(!0), g(Y, null, ee(e.options, (i) => (d(), A(wn, {
4300
+ b("div", ri, [
4301
+ (d(!0), g(G, null, X(e.options, (i) => (d(), L(wn, {
4288
4302
  id: i.id,
4289
4303
  key: i.id,
4290
4304
  name: i.name,
@@ -4300,9 +4314,9 @@ const Il = /* @__PURE__ */ B({
4300
4314
  _: 2
4301
4315
  }, 1032, ["id", "name", "value", "checked", "onUpdate:checked"]))), 128))
4302
4316
  ])
4303
- ], 8, oi));
4317
+ ], 8, li));
4304
4318
  }
4305
- }), Vc = /* @__PURE__ */ F(ri, [["__scopeId", "data-v-04da9dc2"]]), nn = /* @__PURE__ */ B({
4319
+ }), Ic = /* @__PURE__ */ F(ii, [["__scopeId", "data-v-04da9dc2"]]), nn = /* @__PURE__ */ B({
4306
4320
  __name: "PaginationIcon",
4307
4321
  props: {
4308
4322
  label: {
@@ -4320,7 +4334,7 @@ const Il = /* @__PURE__ */ B({
4320
4334
  },
4321
4335
  emits: ["click"],
4322
4336
  setup(e) {
4323
- return (t, n) => (d(), A(ue, {
4337
+ return (t, n) => (d(), L(ue, {
4324
4338
  class: "joy-pagination__icon",
4325
4339
  label: e.label,
4326
4340
  title: e.label,
@@ -4333,7 +4347,7 @@ const Il = /* @__PURE__ */ B({
4333
4347
  onClick: n[0] || (n[0] = (a) => t.$emit("click"))
4334
4348
  }, null, 8, ["label", "title", "icon", "disabled"]));
4335
4349
  }
4336
- }), ii = ["aria-label", "data-current"], si = ["onClick"], ui = ["aria-current"], ci = 6, di = /* @__PURE__ */ B({
4350
+ }), si = ["aria-label", "data-current"], ui = ["onClick"], ci = ["aria-current"], di = 6, fi = /* @__PURE__ */ B({
4337
4351
  __name: "VJoyPagination",
4338
4352
  props: {
4339
4353
  /** Current page number */
@@ -4367,7 +4381,7 @@ const Il = /* @__PURE__ */ B({
4367
4381
  const n = e, a = t, o = V(() => {
4368
4382
  const f = l.value.length;
4369
4383
  return l.value[f - 1] !== l.value[f - 2] + 1;
4370
- }), r = V(() => l.value[0] !== l.value[1] - 1), l = V(() => n.totalPages === 1 ? [1] : n.totalPages < ci ? i(2, n.totalPages - 1) : u(n.currentPage));
4384
+ }), r = V(() => l.value[0] !== l.value[1] - 1), l = V(() => n.totalPages === 1 ? [1] : n.totalPages < di ? i(2, n.totalPages - 1) : u(n.currentPage));
4371
4385
  function s(f, c) {
4372
4386
  n.currentPage === 1 && c === "prev" || n.currentPage === n.totalPages && c === "next" || a("update:current-page", f);
4373
4387
  }
@@ -4402,7 +4416,7 @@ const Il = /* @__PURE__ */ B({
4402
4416
  ]),
4403
4417
  b("li", null, [
4404
4418
  b("ul", null, [
4405
- (d(!0), g(Y, null, ee(l.value, (y) => (d(), g("li", {
4419
+ (d(!0), g(G, null, X(l.value, (y) => (d(), g("li", {
4406
4420
  key: y,
4407
4421
  class: E({
4408
4422
  "joy-pagination__item": !0,
@@ -4417,9 +4431,9 @@ const Il = /* @__PURE__ */ B({
4417
4431
  b("button", {
4418
4432
  type: "button",
4419
4433
  "aria-current": y === e.currentPage ? "true" : "false"
4420
- }, O(y), 9, ui)
4434
+ }, O(y), 9, ci)
4421
4435
  ], !0)
4422
- ], 10, si))), 128))
4436
+ ], 10, ui))), 128))
4423
4437
  ])
4424
4438
  ]),
4425
4439
  b("li", {
@@ -4435,12 +4449,12 @@ const Il = /* @__PURE__ */ B({
4435
4449
  ], !0)
4436
4450
  ])
4437
4451
  ])
4438
- ], 8, ii));
4452
+ ], 8, si));
4439
4453
  }
4440
- }), Ic = /* @__PURE__ */ F(di, [["__scopeId", "data-v-7e82041f"]]), fi = { class: "joy-screen-loader__content" }, vi = {
4454
+ }), Ec = /* @__PURE__ */ F(fi, [["__scopeId", "data-v-7e82041f"]]), vi = { class: "joy-screen-loader__content" }, yi = {
4441
4455
  key: 0,
4442
4456
  class: "joy-screen-loader__content"
4443
- }, yi = /* @__PURE__ */ B({
4457
+ }, pi = /* @__PURE__ */ B({
4444
4458
  __name: "VJoyScreenLoader",
4445
4459
  props: {
4446
4460
  /** Light or dark. Changes the spinner and background color */
@@ -4458,31 +4472,31 @@ const Il = /* @__PURE__ */ B({
4458
4472
  return (t, n) => (d(), g("div", {
4459
4473
  class: E(["joy-screen-loader", `joy-screen-loader--${e.color}`, { "joy-screen-loader--overlay": e.overlay }])
4460
4474
  }, [
4461
- b("div", fi, [
4475
+ b("div", vi, [
4462
4476
  _(t.$slots, "spinner", {}, () => [
4463
4477
  K(mn, {
4464
4478
  color: e.color === "dark" ? "white" : "teal"
4465
4479
  }, null, 8, ["color"])
4466
4480
  ], !0),
4467
- t.$slots.content ? (d(), g("div", vi, [
4481
+ t.$slots.content ? (d(), g("div", yi, [
4468
4482
  _(t.$slots, "content", {}, void 0, !0)
4469
4483
  ])) : j("", !0)
4470
4484
  ])
4471
4485
  ], 2));
4472
4486
  }
4473
- }), In = /* @__PURE__ */ F(yi, [["__scopeId", "data-v-266b7e2a"]]), pi = {
4487
+ }), In = /* @__PURE__ */ F(pi, [["__scopeId", "data-v-266b7e2a"]]), mi = {
4474
4488
  key: 0,
4475
4489
  class: /* @__PURE__ */ E(["joy-panel__header"])
4476
- }, mi = {
4490
+ }, hi = {
4477
4491
  key: 1,
4478
4492
  class: "joy-panel__header-action"
4479
- }, hi = {
4493
+ }, bi = {
4480
4494
  key: 2,
4481
4495
  class: "joy-panel__header-subtitle"
4482
- }, bi = { class: "joy-panel__body" }, gi = {
4496
+ }, gi = { class: "joy-panel__body" }, wi = {
4483
4497
  key: 1,
4484
4498
  class: "joy-panel__footer"
4485
- }, wi = /* @__PURE__ */ B({
4499
+ }, Si = /* @__PURE__ */ B({
4486
4500
  __name: "VJoyPanel",
4487
4501
  props: {
4488
4502
  flex: {
@@ -4514,11 +4528,11 @@ const Il = /* @__PURE__ */ B({
4514
4528
  }
4515
4529
  },
4516
4530
  setup(e) {
4517
- const t = Xe("VJoyWrapperContext", {}), n = V(() => Object.keys(t).length > 0), a = X(), o = C(), r = V(() => !!a["panel-title"] || !!a["panel-subtitle"] || !!a["panel-title-action"]);
4531
+ const t = Xe("VJoyWrapperContext", {}), n = V(() => Object.keys(t).length > 0), a = Q(), o = C(), r = V(() => !!a["panel-title"] || !!a["panel-subtitle"] || !!a["panel-title-action"]);
4518
4532
  return (l, s) => (d(), g("section", {
4519
4533
  ref_key: "panel",
4520
4534
  ref: o,
4521
- style: ie({ flex: e.flex }),
4535
+ style: se({ flex: e.flex }),
4522
4536
  class: E([
4523
4537
  "joy-panel",
4524
4538
  `joy-panel--${e.padding}`,
@@ -4529,27 +4543,27 @@ const Il = /* @__PURE__ */ B({
4529
4543
  }
4530
4544
  ])
4531
4545
  }, [
4532
- r.value ? (d(), g("header", pi, [
4546
+ r.value ? (d(), g("header", mi, [
4533
4547
  D(a)["panel-title"] ? (d(), g("div", {
4534
4548
  key: 0,
4535
4549
  class: E(["joy-panel__header-title", `joy-panel__header-title--${e.titleSize}`])
4536
4550
  }, [
4537
4551
  _(l.$slots, "panel-title", {}, void 0, !0)
4538
4552
  ], 2)) : j("", !0),
4539
- D(a)["panel-title-action"] ? (d(), g("div", mi, [
4553
+ D(a)["panel-title-action"] ? (d(), g("div", hi, [
4540
4554
  _(l.$slots, "panel-title-action", {}, void 0, !0)
4541
4555
  ])) : j("", !0),
4542
- D(a)["panel-subtitle"] ? (d(), g("div", hi, [
4556
+ D(a)["panel-subtitle"] ? (d(), g("div", bi, [
4543
4557
  _(l.$slots, "panel-subtitle", {}, void 0, !0)
4544
4558
  ])) : j("", !0)
4545
4559
  ])) : j("", !0),
4546
- b("div", bi, [
4560
+ b("div", gi, [
4547
4561
  _(l.$slots, "panel-body", {}, void 0, !0)
4548
4562
  ]),
4549
- D(a)["panel-action"] ? (d(), g("footer", gi, [
4563
+ D(a)["panel-action"] ? (d(), g("footer", wi, [
4550
4564
  _(l.$slots, "panel-action", {}, void 0, !0)
4551
4565
  ])) : j("", !0),
4552
- e.loading ? (d(), A(In, {
4566
+ e.loading ? (d(), L(In, {
4553
4567
  key: 2,
4554
4568
  overlay: "",
4555
4569
  color: e.loadingColor
@@ -4561,38 +4575,38 @@ const Il = /* @__PURE__ */ B({
4561
4575
  }, 8, ["color"])) : j("", !0)
4562
4576
  ], 6));
4563
4577
  }
4564
- }), Ec = /* @__PURE__ */ F(wi, [["__scopeId", "data-v-bf00f207"]]), Si = { class: "joy-panel-section" }, _i = {
4578
+ }), Lc = /* @__PURE__ */ F(Si, [["__scopeId", "data-v-bf00f207"]]), _i = { class: "joy-panel-section" }, ki = {
4565
4579
  key: 0,
4566
4580
  class: "joy-panel-section__title"
4567
- }, ki = {
4581
+ }, ji = {
4568
4582
  key: 1,
4569
4583
  class: "joy-panel-section__content"
4570
- }, ji = /* @__PURE__ */ B({
4584
+ }, $i = /* @__PURE__ */ B({
4571
4585
  __name: "VJoyPanelSection",
4572
4586
  setup(e) {
4573
- const t = X();
4574
- return (n, a) => (d(), g("div", Si, [
4575
- D(t)["panel-section-title"] ? (d(), g("div", _i, [
4587
+ const t = Q();
4588
+ return (n, a) => (d(), g("div", _i, [
4589
+ D(t)["panel-section-title"] ? (d(), g("div", ki, [
4576
4590
  _(n.$slots, "panel-section-title", {}, void 0, !0)
4577
4591
  ])) : j("", !0),
4578
- D(t)["panel-section-content"] ? (d(), g("div", ki, [
4592
+ D(t)["panel-section-content"] ? (d(), g("div", ji, [
4579
4593
  _(n.$slots, "panel-section-content", {}, void 0, !0)
4580
4594
  ])) : j("", !0)
4581
4595
  ]));
4582
4596
  }
4583
- }), Lc = /* @__PURE__ */ F(ji, [["__scopeId", "data-v-d88510ab"]]), $i = {}, Ci = { class: "joy-product-tour-spotlight" };
4584
- function xi(e, t) {
4585
- return d(), g("div", Ci);
4597
+ }), Ac = /* @__PURE__ */ F($i, [["__scopeId", "data-v-d88510ab"]]), Ci = {}, xi = { class: "joy-product-tour-spotlight" };
4598
+ function Ti(e, t) {
4599
+ return d(), g("div", xi);
4586
4600
  }
4587
- const Ti = /* @__PURE__ */ F($i, [["render", xi], ["__scopeId", "data-v-fbaf8e78"]]), Pe = Math.min, Ve = Math.max, ft = Math.round, lt = Math.floor, ge = (e) => ({
4601
+ const Vi = /* @__PURE__ */ F(Ci, [["render", Ti], ["__scopeId", "data-v-fbaf8e78"]]), Pe = Math.min, Ve = Math.max, vt = Math.round, rt = Math.floor, ge = (e) => ({
4588
4602
  x: e,
4589
4603
  y: e
4590
- }), Vi = {
4604
+ }), Ii = {
4591
4605
  left: "right",
4592
4606
  right: "left",
4593
4607
  bottom: "top",
4594
4608
  top: "bottom"
4595
- }, Ii = {
4609
+ }, Ei = {
4596
4610
  start: "end",
4597
4611
  end: "start"
4598
4612
  };
@@ -4605,7 +4619,7 @@ function Ee(e, t) {
4605
4619
  function we(e) {
4606
4620
  return e.split("-")[0];
4607
4621
  }
4608
- function et(e) {
4622
+ function tt(e) {
4609
4623
  return e.split("-")[1];
4610
4624
  }
4611
4625
  function zt(e) {
@@ -4614,26 +4628,26 @@ function zt(e) {
4614
4628
  function Pt(e) {
4615
4629
  return e === "y" ? "height" : "width";
4616
4630
  }
4617
- function tt(e) {
4631
+ function nt(e) {
4618
4632
  return ["top", "bottom"].includes(we(e)) ? "y" : "x";
4619
4633
  }
4620
4634
  function Ot(e) {
4621
- return zt(tt(e));
4635
+ return zt(nt(e));
4622
4636
  }
4623
- function Ei(e, t, n) {
4637
+ function Li(e, t, n) {
4624
4638
  n === void 0 && (n = !1);
4625
- const a = et(e), o = Ot(e), r = Pt(o);
4639
+ const a = tt(e), o = Ot(e), r = Pt(o);
4626
4640
  let l = o === "x" ? a === (n ? "end" : "start") ? "right" : "left" : a === "start" ? "bottom" : "top";
4627
- return t.reference[r] > t.floating[r] && (l = vt(l)), [l, vt(l)];
4641
+ return t.reference[r] > t.floating[r] && (l = yt(l)), [l, yt(l)];
4628
4642
  }
4629
- function Li(e) {
4630
- const t = vt(e);
4643
+ function Ai(e) {
4644
+ const t = yt(e);
4631
4645
  return [xt(e), t, xt(t)];
4632
4646
  }
4633
4647
  function xt(e) {
4634
- return e.replace(/start|end/g, (t) => Ii[t]);
4648
+ return e.replace(/start|end/g, (t) => Ei[t]);
4635
4649
  }
4636
- function Ai(e, t, n) {
4650
+ function Bi(e, t, n) {
4637
4651
  const a = ["left", "right"], o = ["right", "left"], r = ["top", "bottom"], l = ["bottom", "top"];
4638
4652
  switch (e) {
4639
4653
  case "top":
@@ -4646,15 +4660,15 @@ function Ai(e, t, n) {
4646
4660
  return [];
4647
4661
  }
4648
4662
  }
4649
- function Bi(e, t, n, a) {
4650
- const o = et(e);
4651
- let r = Ai(we(e), n === "start", a);
4663
+ function Fi(e, t, n, a) {
4664
+ const o = tt(e);
4665
+ let r = Bi(we(e), n === "start", a);
4652
4666
  return o && (r = r.map((l) => l + "-" + o), t && (r = r.concat(r.map(xt)))), r;
4653
4667
  }
4654
- function vt(e) {
4655
- return e.replace(/left|right|bottom|top/g, (t) => Vi[t]);
4668
+ function yt(e) {
4669
+ return e.replace(/left|right|bottom|top/g, (t) => Ii[t]);
4656
4670
  }
4657
- function Fi(e) {
4671
+ function Ni(e) {
4658
4672
  return {
4659
4673
  top: 0,
4660
4674
  right: 0,
@@ -4664,14 +4678,14 @@ function Fi(e) {
4664
4678
  };
4665
4679
  }
4666
4680
  function En(e) {
4667
- return typeof e != "number" ? Fi(e) : {
4681
+ return typeof e != "number" ? Ni(e) : {
4668
4682
  top: e,
4669
4683
  right: e,
4670
4684
  bottom: e,
4671
4685
  left: e
4672
4686
  };
4673
4687
  }
4674
- function yt(e) {
4688
+ function pt(e) {
4675
4689
  return {
4676
4690
  ...e,
4677
4691
  top: e.y,
@@ -4685,7 +4699,7 @@ function an(e, t, n) {
4685
4699
  reference: a,
4686
4700
  floating: o
4687
4701
  } = e;
4688
- const r = tt(t), l = Ot(t), s = Pt(l), i = we(t), u = r === "y", f = a.x + a.width / 2 - o.width / 2, c = a.y + a.height / 2 - o.height / 2, y = a[s] / 2 - o[s] / 2;
4702
+ const r = nt(t), l = Ot(t), s = Pt(l), i = we(t), u = r === "y", f = a.x + a.width / 2 - o.width / 2, c = a.y + a.height / 2 - o.height / 2, y = a[s] / 2 - o[s] / 2;
4689
4703
  let p;
4690
4704
  switch (i) {
4691
4705
  case "top":
@@ -4718,7 +4732,7 @@ function an(e, t, n) {
4718
4732
  y: a.y
4719
4733
  };
4720
4734
  }
4721
- switch (et(t)) {
4735
+ switch (tt(t)) {
4722
4736
  case "start":
4723
4737
  p[l] -= y * (n && u ? -1 : 1);
4724
4738
  break;
@@ -4728,7 +4742,7 @@ function an(e, t, n) {
4728
4742
  }
4729
4743
  return p;
4730
4744
  }
4731
- const Ni = async (e, t, n) => {
4745
+ const zi = async (e, t, n) => {
4732
4746
  const {
4733
4747
  placement: a = "bottom",
4734
4748
  strategy: o = "absolute",
@@ -4749,7 +4763,7 @@ const Ni = async (e, t, n) => {
4749
4763
  fn: S
4750
4764
  } = s[h], {
4751
4765
  x: k,
4752
- y: L,
4766
+ y: A,
4753
4767
  data: P,
4754
4768
  reset: T
4755
4769
  } = await S({
@@ -4766,7 +4780,7 @@ const Ni = async (e, t, n) => {
4766
4780
  floating: t
4767
4781
  }
4768
4782
  });
4769
- if (f = k ?? f, c = L ?? c, p = {
4783
+ if (f = k ?? f, c = A ?? c, p = {
4770
4784
  ...p,
4771
4785
  [m]: {
4772
4786
  ...p[m],
@@ -4808,7 +4822,7 @@ async function Ln(e, t) {
4808
4822
  elementContext: c = "floating",
4809
4823
  altBoundary: y = !1,
4810
4824
  padding: p = 0
4811
- } = Ee(t, e), v = En(p), m = s[y ? c === "floating" ? "reference" : "floating" : c], S = yt(await r.getClippingRect({
4825
+ } = Ee(t, e), v = En(p), m = s[y ? c === "floating" ? "reference" : "floating" : c], S = pt(await r.getClippingRect({
4812
4826
  element: (n = await (r.isElement == null ? void 0 : r.isElement(m))) == null || n ? m : m.contextElement || await (r.getDocumentElement == null ? void 0 : r.getDocumentElement(s.floating)),
4813
4827
  boundary: u,
4814
4828
  rootBoundary: f,
@@ -4817,15 +4831,15 @@ async function Ln(e, t) {
4817
4831
  ...l.floating,
4818
4832
  x: a,
4819
4833
  y: o
4820
- } : l.reference, L = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(s.floating)), P = await (r.isElement == null ? void 0 : r.isElement(L)) ? await (r.getScale == null ? void 0 : r.getScale(L)) || {
4834
+ } : l.reference, A = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(s.floating)), P = await (r.isElement == null ? void 0 : r.isElement(A)) ? await (r.getScale == null ? void 0 : r.getScale(A)) || {
4821
4835
  x: 1,
4822
4836
  y: 1
4823
4837
  } : {
4824
4838
  x: 1,
4825
4839
  y: 1
4826
- }, T = yt(r.convertOffsetParentRelativeRectToViewportRelativeRect ? await r.convertOffsetParentRelativeRectToViewportRelativeRect({
4840
+ }, T = pt(r.convertOffsetParentRelativeRectToViewportRelativeRect ? await r.convertOffsetParentRelativeRectToViewportRelativeRect({
4827
4841
  rect: k,
4828
- offsetParent: L,
4842
+ offsetParent: A,
4829
4843
  strategy: i
4830
4844
  }) : k);
4831
4845
  return {
@@ -4835,7 +4849,7 @@ async function Ln(e, t) {
4835
4849
  right: (T.right - S.right + v.right) / P.x
4836
4850
  };
4837
4851
  }
4838
- const zi = (e) => ({
4852
+ const Pi = (e) => ({
4839
4853
  name: "arrow",
4840
4854
  options: e,
4841
4855
  async fn(t) {
@@ -4856,10 +4870,10 @@ const zi = (e) => ({
4856
4870
  const c = En(f), y = {
4857
4871
  x: n,
4858
4872
  y: a
4859
- }, p = Ot(o), v = Pt(p), h = await l.getDimensions(u), m = p === "y", S = m ? "top" : "left", k = m ? "bottom" : "right", L = m ? "clientHeight" : "clientWidth", P = r.reference[v] + r.reference[p] - y[p] - r.floating[v], T = y[p] - r.reference[p], I = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(u));
4860
- let w = I ? I[L] : 0;
4861
- (!w || !await (l.isElement == null ? void 0 : l.isElement(I))) && (w = s.floating[L] || r.floating[v]);
4862
- const z = P / 2 - T / 2, M = w / 2 - h[v] / 2 - 1, Z = Pe(c[S], M), H = Pe(c[k], M), $ = Z, x = w - h[v] - H, N = w / 2 - h[v] / 2 + z, J = Ct($, N, x), q = !i.arrow && et(o) != null && N != J && r.reference[v] / 2 - (N < $ ? Z : H) - h[v] / 2 < 0, U = q ? N < $ ? N - $ : N - x : 0;
4873
+ }, p = Ot(o), v = Pt(p), h = await l.getDimensions(u), m = p === "y", S = m ? "top" : "left", k = m ? "bottom" : "right", A = m ? "clientHeight" : "clientWidth", P = r.reference[v] + r.reference[p] - y[p] - r.floating[v], T = y[p] - r.reference[p], I = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(u));
4874
+ let w = I ? I[A] : 0;
4875
+ (!w || !await (l.isElement == null ? void 0 : l.isElement(I))) && (w = s.floating[A] || r.floating[v]);
4876
+ const z = P / 2 - T / 2, M = w / 2 - h[v] / 2 - 1, Z = Pe(c[S], M), H = Pe(c[k], M), $ = Z, x = w - h[v] - H, N = w / 2 - h[v] / 2 + z, J = Ct($, N, x), q = !i.arrow && tt(o) != null && N != J && r.reference[v] / 2 - (N < $ ? Z : H) - h[v] / 2 < 0, U = q ? N < $ ? N - $ : N - x : 0;
4863
4877
  return {
4864
4878
  [p]: y[p] + U,
4865
4879
  data: {
@@ -4896,12 +4910,12 @@ const zi = (e) => ({
4896
4910
  } = Ee(e, t);
4897
4911
  if ((n = r.arrow) != null && n.alignmentOffset)
4898
4912
  return {};
4899
- const S = we(o), k = we(s) === s, L = await (i.isRTL == null ? void 0 : i.isRTL(u.floating)), P = y || (k || !h ? [vt(s)] : Li(s));
4900
- !y && v !== "none" && P.push(...Bi(s, h, v, L));
4913
+ const S = we(o), k = we(s) === s, A = await (i.isRTL == null ? void 0 : i.isRTL(u.floating)), P = y || (k || !h ? [yt(s)] : Ai(s));
4914
+ !y && v !== "none" && P.push(...Fi(s, h, v, A));
4901
4915
  const T = [s, ...P], I = await Ln(t, m), w = [];
4902
4916
  let z = ((a = r.flip) == null ? void 0 : a.overflows) || [];
4903
4917
  if (f && w.push(I[S]), c) {
4904
- const $ = Ei(o, l, L);
4918
+ const $ = Li(o, l, A);
4905
4919
  w.push(I[$[0]], I[$[1]]);
4906
4920
  }
4907
4921
  if (z = [...z, {
@@ -4925,7 +4939,7 @@ const zi = (e) => ({
4925
4939
  switch (p) {
4926
4940
  case "bestFit": {
4927
4941
  var H;
4928
- const J = (H = z.map((q) => [q.placement, q.overflows.filter((U) => U > 0).reduce((U, Q) => U + Q, 0)]).sort((q, U) => q[1] - U[1])[0]) == null ? void 0 : H[0];
4942
+ const J = (H = z.map((q) => [q.placement, q.overflows.filter((U) => U > 0).reduce((U, ee) => U + ee, 0)]).sort((q, U) => q[1] - U[1])[0]) == null ? void 0 : H[0];
4929
4943
  J && (N = J);
4930
4944
  break;
4931
4945
  }
@@ -4944,12 +4958,12 @@ const zi = (e) => ({
4944
4958
  }
4945
4959
  };
4946
4960
  };
4947
- async function Pi(e, t) {
4961
+ async function Oi(e, t) {
4948
4962
  const {
4949
4963
  placement: n,
4950
4964
  platform: a,
4951
4965
  elements: o
4952
- } = e, r = await (a.isRTL == null ? void 0 : a.isRTL(o.floating)), l = we(n), s = et(n), i = tt(n) === "y", u = ["left", "top"].includes(l) ? -1 : 1, f = r && i ? -1 : 1, c = Ee(t, e);
4966
+ } = e, r = await (a.isRTL == null ? void 0 : a.isRTL(o.floating)), l = we(n), s = tt(n), i = nt(n) === "y", u = ["left", "top"].includes(l) ? -1 : 1, f = r && i ? -1 : 1, c = Ee(t, e);
4953
4967
  let {
4954
4968
  mainAxis: y,
4955
4969
  crossAxis: p,
@@ -4980,7 +4994,7 @@ const Bn = function(e) {
4980
4994
  const {
4981
4995
  x: n,
4982
4996
  y: a
4983
- } = t, o = await Pi(t, e);
4997
+ } = t, o = await Oi(t, e);
4984
4998
  return {
4985
4999
  x: n + o.x,
4986
5000
  y: a + o.y,
@@ -5016,15 +5030,15 @@ const Bn = function(e) {
5016
5030
  } = Ee(e, t), u = {
5017
5031
  x: n,
5018
5032
  y: a
5019
- }, f = await Ln(t, i), c = tt(we(o)), y = zt(c);
5033
+ }, f = await Ln(t, i), c = nt(we(o)), y = zt(c);
5020
5034
  let p = u[y], v = u[c];
5021
5035
  if (r) {
5022
- const m = y === "y" ? "top" : "left", S = y === "y" ? "bottom" : "right", k = p + f[m], L = p - f[S];
5023
- p = Ct(k, p, L);
5036
+ const m = y === "y" ? "top" : "left", S = y === "y" ? "bottom" : "right", k = p + f[m], A = p - f[S];
5037
+ p = Ct(k, p, A);
5024
5038
  }
5025
5039
  if (l) {
5026
- const m = c === "y" ? "top" : "left", S = c === "y" ? "bottom" : "right", k = v + f[m], L = v - f[S];
5027
- v = Ct(k, v, L);
5040
+ const m = c === "y" ? "top" : "left", S = c === "y" ? "bottom" : "right", k = v + f[m], A = v - f[S];
5041
+ v = Ct(k, v, A);
5028
5042
  }
5029
5043
  const h = s.fn({
5030
5044
  ...t,
@@ -5057,7 +5071,7 @@ const Bn = function(e) {
5057
5071
  } = Ee(e, t), f = {
5058
5072
  x: n,
5059
5073
  y: a
5060
- }, c = tt(o), y = zt(c);
5074
+ }, c = nt(o), y = zt(c);
5061
5075
  let p = f[y], v = f[c];
5062
5076
  const h = Ee(s, t), m = typeof h == "number" ? {
5063
5077
  mainAxis: h,
@@ -5068,12 +5082,12 @@ const Bn = function(e) {
5068
5082
  ...h
5069
5083
  };
5070
5084
  if (i) {
5071
- const L = y === "y" ? "height" : "width", P = r.reference[y] - r.floating[L] + m.mainAxis, T = r.reference[y] + r.reference[L] - m.mainAxis;
5085
+ const A = y === "y" ? "height" : "width", P = r.reference[y] - r.floating[A] + m.mainAxis, T = r.reference[y] + r.reference[A] - m.mainAxis;
5072
5086
  p < P ? p = P : p > T && (p = T);
5073
5087
  }
5074
5088
  if (u) {
5075
5089
  var S, k;
5076
- const L = y === "y" ? "width" : "height", P = ["top", "left"].includes(we(o)), T = r.reference[c] - r.floating[L] + (P && ((S = l.offset) == null ? void 0 : S[c]) || 0) + (P ? 0 : m.crossAxis), I = r.reference[c] + r.reference[L] + (P ? 0 : ((k = l.offset) == null ? void 0 : k[c]) || 0) - (P ? m.crossAxis : 0);
5090
+ const A = y === "y" ? "width" : "height", P = ["top", "left"].includes(we(o)), T = r.reference[c] - r.floating[A] + (P && ((S = l.offset) == null ? void 0 : S[c]) || 0) + (P ? 0 : m.crossAxis), I = r.reference[c] + r.reference[A] + (P ? 0 : ((k = l.offset) == null ? void 0 : k[c]) || 0) - (P ? m.crossAxis : 0);
5077
5091
  v < T ? v = T : v > I && (v = I);
5078
5092
  }
5079
5093
  return {
@@ -5106,7 +5120,7 @@ function ve(e) {
5106
5120
  function on(e) {
5107
5121
  return typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof ce(e).ShadowRoot;
5108
5122
  }
5109
- function nt(e) {
5123
+ function at(e) {
5110
5124
  const {
5111
5125
  overflow: t,
5112
5126
  overflowX: n,
@@ -5115,14 +5129,14 @@ function nt(e) {
5115
5129
  } = de(e);
5116
5130
  return /auto|scroll|overlay|hidden|clip/.test(t + a + n) && !["inline", "contents"].includes(o);
5117
5131
  }
5118
- function Oi(e) {
5132
+ function Ri(e) {
5119
5133
  return ["table", "td", "th"].includes(Se(e));
5120
5134
  }
5121
5135
  function Rt(e) {
5122
5136
  const t = Dt(), n = de(e);
5123
5137
  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((a) => (n.willChange || "").includes(a)) || ["paint", "layout", "strict", "content"].some((a) => (n.contain || "").includes(a));
5124
5138
  }
5125
- function Ri(e) {
5139
+ function Di(e) {
5126
5140
  let t = Oe(e);
5127
5141
  for (; ve(t) && !bt(t); ) {
5128
5142
  if (Rt(t))
@@ -5163,18 +5177,18 @@ function Oe(e) {
5163
5177
  }
5164
5178
  function Pn(e) {
5165
5179
  const t = Oe(e);
5166
- return bt(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : ve(t) && nt(t) ? t : Pn(t);
5180
+ return bt(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : ve(t) && at(t) ? t : Pn(t);
5167
5181
  }
5168
5182
  function Ge(e, t, n) {
5169
5183
  var a;
5170
5184
  t === void 0 && (t = []), n === void 0 && (n = !0);
5171
5185
  const o = Pn(e), r = o === ((a = e.ownerDocument) == null ? void 0 : a.body), l = ce(o);
5172
- return r ? t.concat(l, l.visualViewport || [], nt(o) ? o : [], l.frameElement && n ? Ge(l.frameElement) : []) : t.concat(o, Ge(o, [], n));
5186
+ return r ? t.concat(l, l.visualViewport || [], at(o) ? o : [], l.frameElement && n ? Ge(l.frameElement) : []) : t.concat(o, Ge(o, [], n));
5173
5187
  }
5174
5188
  function On(e) {
5175
5189
  const t = de(e);
5176
5190
  let n = parseFloat(t.width) || 0, a = parseFloat(t.height) || 0;
5177
- const o = ve(e), r = o ? e.offsetWidth : n, l = o ? e.offsetHeight : a, s = ft(n) !== r || ft(a) !== l;
5191
+ const o = ve(e), r = o ? e.offsetWidth : n, l = o ? e.offsetHeight : a, s = vt(n) !== r || vt(a) !== l;
5178
5192
  return s && (n = r, a = l), {
5179
5193
  width: n,
5180
5194
  height: a,
@@ -5193,21 +5207,21 @@ function ze(e) {
5193
5207
  height: o,
5194
5208
  $: r
5195
5209
  } = On(t);
5196
- let l = (r ? ft(n.width) : n.width) / a, s = (r ? ft(n.height) : n.height) / o;
5210
+ let l = (r ? vt(n.width) : n.width) / a, s = (r ? vt(n.height) : n.height) / o;
5197
5211
  return (!l || !Number.isFinite(l)) && (l = 1), (!s || !Number.isFinite(s)) && (s = 1), {
5198
5212
  x: l,
5199
5213
  y: s
5200
5214
  };
5201
5215
  }
5202
- const Di = /* @__PURE__ */ ge(0);
5216
+ const Mi = /* @__PURE__ */ ge(0);
5203
5217
  function Rn(e) {
5204
5218
  const t = ce(e);
5205
- return !Dt() || !t.visualViewport ? Di : {
5219
+ return !Dt() || !t.visualViewport ? Mi : {
5206
5220
  x: t.visualViewport.offsetLeft,
5207
5221
  y: t.visualViewport.offsetTop
5208
5222
  };
5209
5223
  }
5210
- function Mi(e, t, n) {
5224
+ function Ji(e, t, n) {
5211
5225
  return t === void 0 && (t = !1), !n || t && n !== ce(e) ? !1 : t;
5212
5226
  }
5213
5227
  function Le(e, t, n, a) {
@@ -5215,24 +5229,24 @@ function Le(e, t, n, a) {
5215
5229
  const o = e.getBoundingClientRect(), r = Mt(e);
5216
5230
  let l = ge(1);
5217
5231
  t && (a ? ye(a) && (l = ze(a)) : l = ze(e));
5218
- const s = Mi(r, n, a) ? Rn(r) : ge(0);
5232
+ const s = Ji(r, n, a) ? Rn(r) : ge(0);
5219
5233
  let i = (o.left + s.x) / l.x, u = (o.top + s.y) / l.y, f = o.width / l.x, c = o.height / l.y;
5220
5234
  if (r) {
5221
5235
  const y = ce(r), p = a && ye(a) ? ce(a) : a;
5222
5236
  let v = y.frameElement;
5223
5237
  for (; v && a && p !== y; ) {
5224
- const h = ze(v), m = v.getBoundingClientRect(), S = de(v), k = m.left + (v.clientLeft + parseFloat(S.paddingLeft)) * h.x, L = m.top + (v.clientTop + parseFloat(S.paddingTop)) * h.y;
5225
- i *= h.x, u *= h.y, f *= h.x, c *= h.y, i += k, u += L, v = ce(v).frameElement;
5238
+ const h = ze(v), m = v.getBoundingClientRect(), S = de(v), k = m.left + (v.clientLeft + parseFloat(S.paddingLeft)) * h.x, A = m.top + (v.clientTop + parseFloat(S.paddingTop)) * h.y;
5239
+ i *= h.x, u *= h.y, f *= h.x, c *= h.y, i += k, u += A, v = ce(v).frameElement;
5226
5240
  }
5227
5241
  }
5228
- return yt({
5242
+ return pt({
5229
5243
  width: f,
5230
5244
  height: c,
5231
5245
  x: i,
5232
5246
  y: u
5233
5247
  });
5234
5248
  }
5235
- function Ji(e) {
5249
+ function qi(e) {
5236
5250
  let {
5237
5251
  rect: t,
5238
5252
  offsetParent: n,
@@ -5246,7 +5260,7 @@ function Ji(e) {
5246
5260
  scrollTop: 0
5247
5261
  }, s = ge(1);
5248
5262
  const i = ge(0);
5249
- if ((o || !o && a !== "fixed") && ((Se(n) !== "body" || nt(r)) && (l = gt(n)), ve(n))) {
5263
+ if ((o || !o && a !== "fixed") && ((Se(n) !== "body" || at(r)) && (l = gt(n)), ve(n))) {
5250
5264
  const u = Le(n);
5251
5265
  s = ze(n), i.x = u.x + n.clientLeft, i.y = u.y + n.clientTop;
5252
5266
  }
@@ -5257,13 +5271,13 @@ function Ji(e) {
5257
5271
  y: t.y * s.y - l.scrollTop * s.y + i.y
5258
5272
  };
5259
5273
  }
5260
- function qi(e) {
5274
+ function Hi(e) {
5261
5275
  return Array.from(e.getClientRects());
5262
5276
  }
5263
5277
  function Dn(e) {
5264
5278
  return Le(pe(e)).left + gt(e).scrollLeft;
5265
5279
  }
5266
- function Hi(e) {
5280
+ function Wi(e) {
5267
5281
  const t = pe(e), n = gt(e), a = e.ownerDocument.body, o = Ve(t.scrollWidth, t.clientWidth, a.scrollWidth, a.clientWidth), r = Ve(t.scrollHeight, t.clientHeight, a.scrollHeight, a.clientHeight);
5268
5282
  let l = -n.scrollLeft + Dn(e);
5269
5283
  const s = -n.scrollTop;
@@ -5274,7 +5288,7 @@ function Hi(e) {
5274
5288
  y: s
5275
5289
  };
5276
5290
  }
5277
- function Wi(e, t) {
5291
+ function Ui(e, t) {
5278
5292
  const n = ce(e), a = pe(e), o = n.visualViewport;
5279
5293
  let r = a.clientWidth, l = a.clientHeight, s = 0, i = 0;
5280
5294
  if (o) {
@@ -5289,7 +5303,7 @@ function Wi(e, t) {
5289
5303
  y: i
5290
5304
  };
5291
5305
  }
5292
- function Ui(e, t) {
5306
+ function Ki(e, t) {
5293
5307
  const n = Le(e, !0, t === "fixed"), a = n.top + e.clientTop, o = n.left + e.clientLeft, r = ve(e) ? ze(e) : ge(1), l = e.clientWidth * r.x, s = e.clientHeight * r.y, i = o * r.x, u = a * r.y;
5294
5308
  return {
5295
5309
  width: l,
@@ -5301,11 +5315,11 @@ function Ui(e, t) {
5301
5315
  function ln(e, t, n) {
5302
5316
  let a;
5303
5317
  if (t === "viewport")
5304
- a = Wi(e, n);
5318
+ a = Ui(e, n);
5305
5319
  else if (t === "document")
5306
- a = Hi(pe(e));
5320
+ a = Wi(pe(e));
5307
5321
  else if (ye(t))
5308
- a = Ui(t, n);
5322
+ a = Ki(t, n);
5309
5323
  else {
5310
5324
  const o = Rn(e);
5311
5325
  a = {
@@ -5314,13 +5328,13 @@ function ln(e, t, n) {
5314
5328
  y: t.y - o.y
5315
5329
  };
5316
5330
  }
5317
- return yt(a);
5331
+ return pt(a);
5318
5332
  }
5319
5333
  function Mn(e, t) {
5320
5334
  const n = Oe(e);
5321
5335
  return n === t || !ye(n) || bt(n) ? !1 : de(n).position === "fixed" || Mn(n, t);
5322
5336
  }
5323
- function Ki(e, t) {
5337
+ function Gi(e, t) {
5324
5338
  const n = t.get(e);
5325
5339
  if (n)
5326
5340
  return n;
@@ -5329,18 +5343,18 @@ function Ki(e, t) {
5329
5343
  let l = r ? Oe(e) : e;
5330
5344
  for (; ye(l) && !bt(l); ) {
5331
5345
  const s = de(l), i = Rt(l);
5332
- !i && s.position === "fixed" && (o = null), (r ? !i && !o : !i && s.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || nt(l) && !i && Mn(e, l)) ? a = a.filter((f) => f !== l) : o = s, l = Oe(l);
5346
+ !i && s.position === "fixed" && (o = null), (r ? !i && !o : !i && s.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || at(l) && !i && Mn(e, l)) ? a = a.filter((f) => f !== l) : o = s, l = Oe(l);
5333
5347
  }
5334
5348
  return t.set(e, a), a;
5335
5349
  }
5336
- function Gi(e) {
5350
+ function Yi(e) {
5337
5351
  let {
5338
5352
  element: t,
5339
5353
  boundary: n,
5340
5354
  rootBoundary: a,
5341
5355
  strategy: o
5342
5356
  } = e;
5343
- const l = [...n === "clippingAncestors" ? Ki(t, this._c) : [].concat(n), a], s = l[0], i = l.reduce((u, f) => {
5357
+ const l = [...n === "clippingAncestors" ? Gi(t, this._c) : [].concat(n), a], s = l[0], i = l.reduce((u, f) => {
5344
5358
  const c = ln(t, f, o);
5345
5359
  return u.top = Ve(c.top, u.top), u.right = Pe(c.right, u.right), u.bottom = Pe(c.bottom, u.bottom), u.left = Ve(c.left, u.left), u;
5346
5360
  }, ln(t, s, o));
@@ -5351,10 +5365,10 @@ function Gi(e) {
5351
5365
  y: i.top
5352
5366
  };
5353
5367
  }
5354
- function Yi(e) {
5368
+ function Zi(e) {
5355
5369
  return On(e);
5356
5370
  }
5357
- function Zi(e, t, n) {
5371
+ function Xi(e, t, n) {
5358
5372
  const a = ve(t), o = pe(t), r = n === "fixed", l = Le(e, !0, r, t);
5359
5373
  let s = {
5360
5374
  scrollLeft: 0,
@@ -5362,7 +5376,7 @@ function Zi(e, t, n) {
5362
5376
  };
5363
5377
  const i = ge(0);
5364
5378
  if (a || !a && !r)
5365
- if ((Se(t) !== "body" || nt(o)) && (s = gt(t)), a) {
5379
+ if ((Se(t) !== "body" || at(o)) && (s = gt(t)), a) {
5366
5380
  const u = Le(t, !0, r, t);
5367
5381
  i.x = u.x + t.clientLeft, i.y = u.y + t.clientTop;
5368
5382
  } else
@@ -5382,11 +5396,11 @@ function Jn(e, t) {
5382
5396
  if (!ve(e))
5383
5397
  return n;
5384
5398
  let a = rn(e, t);
5385
- for (; a && Oi(a) && de(a).position === "static"; )
5399
+ for (; a && Ri(a) && de(a).position === "static"; )
5386
5400
  a = rn(a, t);
5387
- return a && (Se(a) === "html" || Se(a) === "body" && de(a).position === "static" && !Rt(a)) ? n : a || Ri(e) || n;
5401
+ return a && (Se(a) === "html" || Se(a) === "body" && de(a).position === "static" && !Rt(a)) ? n : a || Di(e) || n;
5388
5402
  }
5389
- const Xi = async function(e) {
5403
+ const Qi = async function(e) {
5390
5404
  let {
5391
5405
  reference: t,
5392
5406
  floating: n,
@@ -5394,7 +5408,7 @@ const Xi = async function(e) {
5394
5408
  } = e;
5395
5409
  const o = this.getOffsetParent || Jn, r = this.getDimensions;
5396
5410
  return {
5397
- reference: Zi(t, await o(n), a),
5411
+ reference: Xi(t, await o(n), a),
5398
5412
  floating: {
5399
5413
  x: 0,
5400
5414
  y: 0,
@@ -5402,22 +5416,22 @@ const Xi = async function(e) {
5402
5416
  }
5403
5417
  };
5404
5418
  };
5405
- function Qi(e) {
5419
+ function es(e) {
5406
5420
  return de(e).direction === "rtl";
5407
5421
  }
5408
- const es = {
5409
- convertOffsetParentRelativeRectToViewportRelativeRect: Ji,
5422
+ const ts = {
5423
+ convertOffsetParentRelativeRectToViewportRelativeRect: qi,
5410
5424
  getDocumentElement: pe,
5411
- getClippingRect: Gi,
5425
+ getClippingRect: Yi,
5412
5426
  getOffsetParent: Jn,
5413
- getElementRects: Xi,
5414
- getClientRects: qi,
5415
- getDimensions: Yi,
5427
+ getElementRects: Qi,
5428
+ getClientRects: Hi,
5429
+ getDimensions: Zi,
5416
5430
  getScale: ze,
5417
5431
  isElement: ye,
5418
- isRTL: Qi
5432
+ isRTL: es
5419
5433
  };
5420
- function ts(e, t) {
5434
+ function ns(e, t) {
5421
5435
  let n = null, a;
5422
5436
  const o = pe(e);
5423
5437
  function r() {
@@ -5433,21 +5447,21 @@ function ts(e, t) {
5433
5447
  } = e.getBoundingClientRect();
5434
5448
  if (s || t(), !c || !y)
5435
5449
  return;
5436
- const p = lt(f), v = lt(o.clientWidth - (u + c)), h = lt(o.clientHeight - (f + y)), m = lt(u), k = {
5450
+ const p = rt(f), v = rt(o.clientWidth - (u + c)), h = rt(o.clientHeight - (f + y)), m = rt(u), k = {
5437
5451
  rootMargin: -p + "px " + -v + "px " + -h + "px " + -m + "px",
5438
5452
  threshold: Ve(0, Pe(1, i)) || 1
5439
5453
  };
5440
- let L = !0;
5454
+ let A = !0;
5441
5455
  function P(T) {
5442
5456
  const I = T[0].intersectionRatio;
5443
5457
  if (I !== i) {
5444
- if (!L)
5458
+ if (!A)
5445
5459
  return l();
5446
5460
  I ? l(!1, I) : a = setTimeout(() => {
5447
5461
  l(!1, 1e-7);
5448
5462
  }, 100);
5449
5463
  }
5450
- L = !1;
5464
+ A = !1;
5451
5465
  }
5452
5466
  try {
5453
5467
  n = new IntersectionObserver(P, {
@@ -5462,7 +5476,7 @@ function ts(e, t) {
5462
5476
  }
5463
5477
  return l(!0), r;
5464
5478
  }
5465
- function ns(e, t, n, a) {
5479
+ function as(e, t, n, a) {
5466
5480
  a === void 0 && (a = {});
5467
5481
  const {
5468
5482
  ancestorScroll: o = !0,
@@ -5476,7 +5490,7 @@ function ns(e, t, n, a) {
5476
5490
  passive: !0
5477
5491
  }), r && S.addEventListener("resize", n);
5478
5492
  });
5479
- const c = u && s ? ts(u, n) : null;
5493
+ const c = u && s ? ns(u, n) : null;
5480
5494
  let y = -1, p = null;
5481
5495
  l && (p = new ResizeObserver((S) => {
5482
5496
  let [k] = S;
@@ -5496,15 +5510,15 @@ function ns(e, t, n, a) {
5496
5510
  }), c && c(), p && p.disconnect(), p = null, i && cancelAnimationFrame(v);
5497
5511
  };
5498
5512
  }
5499
- const as = (e, t, n) => {
5513
+ const os = (e, t, n) => {
5500
5514
  const a = /* @__PURE__ */ new Map(), o = {
5501
- platform: es,
5515
+ platform: ts,
5502
5516
  ...n
5503
5517
  }, r = {
5504
5518
  ...o.platform,
5505
5519
  _c: a
5506
5520
  };
5507
- return Ni(e, t, {
5521
+ return zi(e, t, {
5508
5522
  ...o,
5509
5523
  platform: r
5510
5524
  });
@@ -5519,7 +5533,7 @@ function qn(e) {
5519
5533
  options: e,
5520
5534
  fn(t) {
5521
5535
  const n = Tt(D(e.element));
5522
- return n == null ? {} : zi({
5536
+ return n == null ? {} : Pi({
5523
5537
  element: n,
5524
5538
  padding: e.padding
5525
5539
  }).fn(t);
@@ -5569,8 +5583,8 @@ function Wn(e, t, n) {
5569
5583
  };
5570
5584
  });
5571
5585
  let k;
5572
- function L() {
5573
- u.value == null || f.value == null || as(u.value, f.value, {
5586
+ function A() {
5587
+ u.value == null || f.value == null || os(u.value, f.value, {
5574
5588
  middleware: r.value,
5575
5589
  placement: l.value,
5576
5590
  strategy: s.value
@@ -5583,18 +5597,18 @@ function Wn(e, t, n) {
5583
5597
  }
5584
5598
  function T() {
5585
5599
  if (P(), a === void 0) {
5586
- L();
5600
+ A();
5587
5601
  return;
5588
5602
  }
5589
5603
  if (u.value != null && f.value != null) {
5590
- k = a(u.value, f.value, L);
5604
+ k = a(u.value, f.value, A);
5591
5605
  return;
5592
5606
  }
5593
5607
  }
5594
5608
  function I() {
5595
5609
  o.value || (m.value = !1);
5596
5610
  }
5597
- return te([r, l, s], L, {
5611
+ return te([r, l, s], A, {
5598
5612
  flush: "sync"
5599
5613
  }), te([u, f], T, {
5600
5614
  flush: "sync"
@@ -5608,10 +5622,10 @@ function Wn(e, t, n) {
5608
5622
  middlewareData: Be(h),
5609
5623
  isPositioned: Be(m),
5610
5624
  floatingStyles: S,
5611
- update: L
5625
+ update: A
5612
5626
  };
5613
5627
  }
5614
- const os = () => {
5628
+ const ls = () => {
5615
5629
  const e = C(null);
5616
5630
  return {
5617
5631
  clearProductTourRef: () => {
@@ -5623,10 +5637,10 @@ const os = () => {
5623
5637
  },
5624
5638
  productToursRef: e
5625
5639
  };
5626
- }, Un = os(), ls = { class: "joy-product-tour__content" }, rs = { class: "joy-product-tour__header" }, is = {
5640
+ }, Un = ls(), rs = { class: "joy-product-tour__content" }, is = { class: "joy-product-tour__header" }, ss = {
5627
5641
  key: 0,
5628
5642
  class: "joy-product-tour__footer"
5629
- }, ss = { class: "joy-product-tour__footer___steps" }, us = { class: "joy-product-tour__footer___cta" }, cs = "joy-product-tour-spotlight__wrapper", ds = /* @__PURE__ */ B({
5643
+ }, us = { class: "joy-product-tour__footer___steps" }, cs = { class: "joy-product-tour__footer___cta" }, ds = "joy-product-tour-spotlight__wrapper", fs = /* @__PURE__ */ B({
5630
5644
  __name: "VJoyProductTourInner",
5631
5645
  props: {
5632
5646
  icon: {},
@@ -5644,7 +5658,7 @@ const os = () => {
5644
5658
  Wn(l, o, {
5645
5659
  placement: n.position,
5646
5660
  whileElementsMounted(...T) {
5647
- return ns(...T, { ancestorResize: !0, ancestorScroll: !0, elementResize: !0 });
5661
+ return as(...T, { ancestorResize: !0, ancestorScroll: !0, elementResize: !0 });
5648
5662
  },
5649
5663
  transform: !1,
5650
5664
  middleware: [
@@ -5690,7 +5704,7 @@ const os = () => {
5690
5704
  r.value = document.createElement("div"), r.value.classList.add("joy-product-tour__overlay"), r.value.addEventListener("click", v, { once: !0 }), r.value.style.position = "fixed", r.value.style.top = "0", r.value.style.left = "0", r.value.style.width = "100%", r.value.style.height = "100%", r.value.style.zIndex = "var(--joy-core-z-index-backdrop)", document.querySelector("body").appendChild(r.value);
5691
5705
  }
5692
5706
  function S(T) {
5693
- T && (T.style.position = "relative", T.style.zIndex = "calc(var(--joy-core-z-index-backdrop) + 1)", s.value = K(Ti), i.value = document.createElement("div"), i.value.classList.add(cs), document.body.appendChild(i.value), qt(s.value, i.value), k());
5707
+ T && (T.style.position = "relative", T.style.zIndex = "calc(var(--joy-core-z-index-backdrop) + 1)", s.value = K(Vi), i.value = document.createElement("div"), i.value.classList.add(ds), document.body.appendChild(i.value), qt(s.value, i.value), k());
5694
5708
  }
5695
5709
  function k() {
5696
5710
  if (!i.value)
@@ -5698,11 +5712,11 @@ const os = () => {
5698
5712
  const { left: T, top: I, height: w, width: z } = l.value.getBoundingClientRect();
5699
5713
  i.value.style.left = `calc(${window.scrollX + T - n.spotlightPadding}px`, i.value.style.top = `${window.scrollY + I - n.spotlightPadding}px`, i.value.style.width = `${z}px`, i.value.style.height = `${w}px`, i.value.style.position = "absolute", i.value.style.padding = n.spotlightPadding + "px";
5700
5714
  }
5701
- function L() {
5715
+ function A() {
5702
5716
  r.value && r.value.remove();
5703
5717
  }
5704
5718
  function P() {
5705
- L(), l.value && (l.value.style.position = "", l.value.style.zIndex = ""), i.value && (qt(null, i.value), i.value.remove());
5719
+ A(), l.value && (l.value.style.position = "", l.value.style.zIndex = ""), i.value && (qt(null, i.value), i.value.remove());
5706
5720
  }
5707
5721
  return te(c.value, () => {
5708
5722
  var T;
@@ -5720,13 +5734,13 @@ const os = () => {
5720
5734
  ref: o,
5721
5735
  class: "joy-product-tour__wrapper",
5722
5736
  role: "tooltip",
5723
- style: ie({ "--product-tour-width": T.maxWidth + "px", ...(w = c.value) == null ? void 0 : w.floatingStyles })
5737
+ style: se({ "--product-tour-width": T.maxWidth + "px", ...(w = c.value) == null ? void 0 : w.floatingStyles })
5724
5738
  }, [
5725
5739
  b("div", {
5726
5740
  ref_key: "productTourArrow",
5727
5741
  ref: f,
5728
5742
  class: "joy-product-tour__arrow",
5729
- style: ie(y.value)
5743
+ style: se(y.value)
5730
5744
  }, null, 4),
5731
5745
  b("div", {
5732
5746
  class: E([
@@ -5752,27 +5766,27 @@ const os = () => {
5752
5766
  onClick: v
5753
5767
  })
5754
5768
  ], 2),
5755
- b("div", ls, [
5756
- T.icon ? (d(), A(G, {
5769
+ b("div", rs, [
5770
+ T.icon ? (d(), L(Y, {
5757
5771
  key: 0,
5758
5772
  class: "joy-product-tour__content___icon",
5759
5773
  name: T.icon,
5760
5774
  size: "medium"
5761
5775
  }, null, 8, ["name"])) : j("", !0),
5762
5776
  b("div", null, [
5763
- b("div", rs, [
5777
+ b("div", is, [
5764
5778
  _(T.$slots, "product-tour-header", {}, void 0, !0)
5765
5779
  ]),
5766
5780
  _(T.$slots, "product-tour-content", {}, void 0, !0)
5767
5781
  ])
5768
5782
  ]),
5769
- T.$slots["product-tour-dismiss"] || T.$slots["product-tour-next"] ? (d(), g("div", is, [
5770
- b("span", ss, [
5771
- T.steps > 1 ? (d(), g(Y, { key: 0 }, [
5783
+ T.$slots["product-tour-dismiss"] || T.$slots["product-tour-next"] ? (d(), g("div", ss, [
5784
+ b("span", us, [
5785
+ T.steps > 1 ? (d(), g(G, { key: 0 }, [
5772
5786
  W(O(T.step) + "/" + O(T.steps), 1)
5773
5787
  ], 64)) : j("", !0)
5774
5788
  ]),
5775
- b("div", us, [
5789
+ b("div", cs, [
5776
5790
  b("div", { onClick: v }, [
5777
5791
  _(T.$slots, "product-tour-dismiss", {}, void 0, !0)
5778
5792
  ]),
@@ -5785,7 +5799,7 @@ const os = () => {
5785
5799
  ]);
5786
5800
  };
5787
5801
  }
5788
- }), fs = /* @__PURE__ */ F(ds, [["__scopeId", "data-v-c1f5e735"]]), Ac = /* @__PURE__ */ B({
5802
+ }), vs = /* @__PURE__ */ F(fs, [["__scopeId", "data-v-c1f5e735"]]), Bc = /* @__PURE__ */ B({
5789
5803
  __name: "VJoyProductTour",
5790
5804
  props: {
5791
5805
  icon: {},
@@ -5807,13 +5821,13 @@ const os = () => {
5807
5821
  var i;
5808
5822
  (i = r.value) == null || i.hide(), o();
5809
5823
  }
5810
- return re(() => {
5824
+ return ie(() => {
5811
5825
  n.open && a(r.value);
5812
5826
  }), t({
5813
5827
  show: l,
5814
5828
  hide: s
5815
- }), (i, u) => (d(), A(Qe, { to: "body" }, [
5816
- K(fs, ae(n, {
5829
+ }), (i, u) => (d(), L(Qe, { to: "body" }, [
5830
+ K(vs, ae(n, {
5817
5831
  ref_key: "productTour",
5818
5832
  ref: r
5819
5833
  }), {
@@ -5836,24 +5850,24 @@ const os = () => {
5836
5850
  }, 16)
5837
5851
  ]));
5838
5852
  }
5839
- }), Bc = /* @__PURE__ */ B({
5853
+ }), Fc = /* @__PURE__ */ B({
5840
5854
  __name: "VJoyProductTourTrigger",
5841
5855
  props: {
5842
5856
  productTour: {}
5843
5857
  },
5844
5858
  emits: ["click"],
5845
5859
  setup(e, { emit: t }) {
5846
- const n = e, a = t, o = V(() => n.productTour), r = X(), l = V(() => r.default());
5860
+ const n = e, a = t, o = V(() => n.productTour), r = Q(), l = V(() => r.default());
5847
5861
  async function s() {
5848
5862
  var i;
5849
5863
  a("click"), o.value && ((i = o.value) == null || i.show());
5850
5864
  }
5851
- return (i, u) => (d(!0), g(Y, null, ee(l.value, (f) => (d(), A(se(f), {
5865
+ return (i, u) => (d(!0), g(G, null, X(l.value, (f) => (d(), L(re(f), {
5852
5866
  key: f,
5853
5867
  onClick: s
5854
5868
  }))), 128));
5855
5869
  }
5856
- }), vs = /* @__PURE__ */ B({
5870
+ }), ys = /* @__PURE__ */ B({
5857
5871
  __name: "VJoyProgressBar",
5858
5872
  props: {
5859
5873
  /** import TJoyProgressBarColors */
@@ -5893,11 +5907,11 @@ const os = () => {
5893
5907
  }, [
5894
5908
  b("div", {
5895
5909
  class: "joy-progress-bar-inner",
5896
- style: ie({ width: o.value })
5910
+ style: se({ width: o.value })
5897
5911
  }, null, 4)
5898
5912
  ], 2));
5899
5913
  }
5900
- }), Fc = /* @__PURE__ */ F(vs, [["__scopeId", "data-v-cd823b2d"]]), ys = ["id", "value", "checked", "disabled", "required", "name"], ps = { class: "joy-radio-label" }, ms = { class: "joy-radio-content__wrapper" }, hs = { class: "joy-radio-content" }, bs = /* @__PURE__ */ B({
5914
+ }), Nc = /* @__PURE__ */ F(ys, [["__scopeId", "data-v-cd823b2d"]]), ps = ["id", "value", "checked", "disabled", "required", "name"], ms = { class: "joy-radio-label" }, hs = { class: "joy-radio-content__wrapper" }, bs = { class: "joy-radio-content" }, gs = /* @__PURE__ */ B({
5901
5915
  __name: "VJoyRadio",
5902
5916
  props: {
5903
5917
  disabled: {
@@ -5934,14 +5948,14 @@ const os = () => {
5934
5948
  },
5935
5949
  emits: ["update:modelValue"],
5936
5950
  setup(e, { expose: t, emit: n }) {
5937
- const a = n, o = e, r = C(!1), l = C(!1), s = C(null), i = C(null), u = X(), f = V(() => !o.modelValue || !o.value ? !1 : o.modelValue === o.value);
5951
+ const a = n, o = e, r = C(!1), l = C(!1), s = C(null), i = C(null), u = Q(), f = V(() => !o.modelValue || !o.value ? !1 : o.modelValue === o.value);
5938
5952
  function c() {
5939
5953
  r.value = !!u["expandable-content"] && f.value;
5940
5954
  }
5941
5955
  function y() {
5942
5956
  a("update:modelValue", o.value), c();
5943
5957
  }
5944
- re(() => {
5958
+ ie(() => {
5945
5959
  o.theme === "outline" && c();
5946
5960
  });
5947
5961
  function p() {
@@ -5984,12 +5998,12 @@ const os = () => {
5984
5998
  onChange: y,
5985
5999
  onFocus: p,
5986
6000
  onBlur: v
5987
- }, null, 40, ys),
5988
- b("span", ps, [
6001
+ }, null, 40, ps),
6002
+ b("span", ms, [
5989
6003
  _(h.$slots, "default", {}, void 0, !0)
5990
6004
  ]),
5991
- b("div", ms, [
5992
- b("div", hs, [
6005
+ b("div", hs, [
6006
+ b("div", bs, [
5993
6007
  _(h.$slots, "radio-content", {}, void 0, !0)
5994
6008
  ]),
5995
6009
  b("div", {
@@ -6002,7 +6016,7 @@ const os = () => {
6002
6016
  ])
6003
6017
  ], 2));
6004
6018
  }
6005
- }), Nc = /* @__PURE__ */ F(bs, [["__scopeId", "data-v-7ee19b20"]]), gs = ["form", "name"], ws = /* @__PURE__ */ B({
6019
+ }), zc = /* @__PURE__ */ F(gs, [["__scopeId", "data-v-7ee19b20"]]), ws = ["form", "name"], Ss = /* @__PURE__ */ B({
6006
6020
  __name: "VJoyRadioGroup",
6007
6021
  props: {
6008
6022
  /**
@@ -6036,9 +6050,9 @@ const os = () => {
6036
6050
  }, [
6037
6051
  _(t.$slots, "default", {}, void 0, !0)
6038
6052
  ], 2)
6039
- ], 8, gs));
6053
+ ], 8, ws));
6040
6054
  }
6041
- }), zc = /* @__PURE__ */ F(ws, [["__scopeId", "data-v-1b870a4c"]]), Ss = ["ariaLabel"], _s = { class: "joy-rating-stars" }, ks = { class: "joy-rating-stars__content" }, js = { key: 0 }, $s = /* @__PURE__ */ B({
6055
+ }), Pc = /* @__PURE__ */ F(Ss, [["__scopeId", "data-v-1b870a4c"]]), _s = ["ariaLabel"], ks = { class: "joy-rating-stars" }, js = { class: "joy-rating-stars__content" }, $s = { key: 0 }, Cs = /* @__PURE__ */ B({
6042
6056
  __name: "VJoyRatingStars",
6043
6057
  props: {
6044
6058
  /** Between 0 and 5 */
@@ -6070,22 +6084,22 @@ const os = () => {
6070
6084
  class: "joy-rating-stars__wrapper",
6071
6085
  ariaLabel: D(a).ariaLabel || `Rating: ${e.ratingValue} out of 5`
6072
6086
  }, [
6073
- b("ul", _s, [
6074
- (d(!0), g(Y, null, ee(o.value, (s, i) => (d(), g("li", {
6087
+ b("ul", ks, [
6088
+ (d(!0), g(G, null, X(o.value, (s, i) => (d(), g("li", {
6075
6089
  key: i,
6076
6090
  class: E([`joy-rating-stars--${e.size}`])
6077
6091
  }, [
6078
- s === "full" ? (d(), A(G, {
6092
+ s === "full" ? (d(), L(Y, {
6079
6093
  key: 0,
6080
6094
  "aria-hidden": "true",
6081
6095
  name: "star-fill",
6082
6096
  color: "quaternary"
6083
- })) : s === "half" ? (d(), A(G, {
6097
+ })) : s === "half" ? (d(), L(Y, {
6084
6098
  key: 1,
6085
6099
  "aria-hidden": "true",
6086
6100
  name: "star-half",
6087
6101
  color: "quaternary"
6088
- })) : (d(), A(G, {
6102
+ })) : (d(), L(Y, {
6089
6103
  key: 2,
6090
6104
  "aria-hidden": "true",
6091
6105
  name: "star",
@@ -6093,14 +6107,14 @@ const os = () => {
6093
6107
  }))
6094
6108
  ], 2))), 128))
6095
6109
  ]),
6096
- b("div", ks, [
6110
+ b("div", js, [
6097
6111
  _(r.$slots, "rating-stars-content", {}, () => [
6098
- e.reviewCount ? (d(), g("span", js, "(" + O(e.reviewCount) + ")", 1)) : j("", !0)
6112
+ e.reviewCount ? (d(), g("span", $s, "(" + O(e.reviewCount) + ")", 1)) : j("", !0)
6099
6113
  ], !0)
6100
6114
  ])
6101
- ], 8, Ss));
6115
+ ], 8, _s));
6102
6116
  }
6103
- }), Cs = /* @__PURE__ */ F($s, [["__scopeId", "data-v-4c9a1026"]]), xs = ["id", "name", "aria-invalid", "required", "disabled"], Ts = ["selected"], Vs = /* @__PURE__ */ B({
6117
+ }), xs = /* @__PURE__ */ F(Cs, [["__scopeId", "data-v-4c9a1026"]]), Ts = ["id", "name", "aria-invalid", "required", "disabled"], Vs = ["selected"], Is = /* @__PURE__ */ B({
6104
6118
  __name: "VJoySelect",
6105
6119
  props: {
6106
6120
  disabled: {
@@ -6144,7 +6158,7 @@ const os = () => {
6144
6158
  },
6145
6159
  emits: ["update:modelValue"],
6146
6160
  setup(e, { expose: t, emit: n }) {
6147
- const a = e, o = n, r = X(), l = V(() => {
6161
+ const a = e, o = n, r = Q(), l = V(() => {
6148
6162
  const h = r.default();
6149
6163
  let m = [];
6150
6164
  return h.forEach((S) => {
@@ -6154,8 +6168,8 @@ const os = () => {
6154
6168
  const k = S.children;
6155
6169
  if (typeof k == "string" || !k.length)
6156
6170
  return;
6157
- const L = k.filter(s);
6158
- m = [...m, ...L];
6171
+ const A = k.filter(s);
6172
+ m = [...m, ...A];
6159
6173
  }
6160
6174
  }), m;
6161
6175
  });
@@ -6163,7 +6177,7 @@ const os = () => {
6163
6177
  return (h == null ? void 0 : h.type) === "option";
6164
6178
  }
6165
6179
  const i = C(), u = C(), f = C(!1), c = V(() => a.labelSize ? a.labelSize : a.size !== "medium" ? "small" : "medium");
6166
- re(() => {
6180
+ ie(() => {
6167
6181
  var S;
6168
6182
  const h = r["select-label"] && r["select-label"]();
6169
6183
  if (!h || !h.length)
@@ -6195,7 +6209,7 @@ const os = () => {
6195
6209
  ref: i
6196
6210
  }, [
6197
6211
  _(h.$slots, "select-label", {}, () => [
6198
- e.label ? (d(), A(Ae, {
6212
+ e.label ? (d(), L(Ae, {
6199
6213
  key: 0,
6200
6214
  required: e.required && e.requiredMark,
6201
6215
  "optional-label": e.optionalLabel,
@@ -6232,23 +6246,23 @@ const os = () => {
6232
6246
  onFocus: p,
6233
6247
  onBlur: v
6234
6248
  }, [
6235
- (d(!0), g(Y, null, ee(l.value, (S) => {
6236
- var k, L;
6249
+ (d(!0), g(G, null, X(l.value, (S) => {
6250
+ var k, A;
6237
6251
  return d(), g("option", ae({
6238
6252
  key: (k = S.props) == null ? void 0 : k.value
6239
6253
  }, S.props, {
6240
- selected: ((L = S.props) == null ? void 0 : L.value) === e.modelValue
6241
- }), O(S.children), 17, Ts);
6254
+ selected: ((A = S.props) == null ? void 0 : A.value) === e.modelValue
6255
+ }), O(S.children), 17, Vs);
6242
6256
  }), 128))
6243
- ], 40, xs),
6244
- K(G, {
6257
+ ], 40, Ts),
6258
+ K(Y, {
6245
6259
  class: "joy-select__chevron",
6246
6260
  name: "chevron-down"
6247
6261
  })
6248
6262
  ], 2)
6249
6263
  ], 512));
6250
6264
  }
6251
- }), Pc = /* @__PURE__ */ F(Vs, [["__scopeId", "data-v-7e3adcd9"]]), Is = ["aria-disabled"], Es = ["id", "value", "checked", "disabled", "required", "name"], Ls = { class: "joy-selectable-item__label" }, As = /* @__PURE__ */ B({
6265
+ }), Oc = /* @__PURE__ */ F(Is, [["__scopeId", "data-v-7e3adcd9"]]), Es = ["aria-disabled"], Ls = ["id", "value", "checked", "disabled", "required", "name"], As = { class: "joy-selectable-item__label" }, Bs = /* @__PURE__ */ B({
6252
6266
  __name: "VJoySelectableItem",
6253
6267
  props: {
6254
6268
  disabled: {
@@ -6338,8 +6352,8 @@ const os = () => {
6338
6352
  (...y) => i.onFocus && i.onFocus(...y)),
6339
6353
  onBlur: c[2] || (c[2] = //@ts-ignore
6340
6354
  (...y) => i.onBlur && i.onBlur(...y))
6341
- }, null, 40, Es)),
6342
- (d(), A(se(D(s)), {
6355
+ }, null, 40, Ls)),
6356
+ (d(), L(re(D(s)), {
6343
6357
  for: e.id,
6344
6358
  class: E([
6345
6359
  "joy-selectable-item",
@@ -6353,7 +6367,7 @@ const os = () => {
6353
6367
  onClick: i.onLabelClick
6354
6368
  }, {
6355
6369
  default: R(() => [
6356
- e.multiple ? (d(), A(wn, {
6370
+ e.multiple ? (d(), L(wn, {
6357
6371
  key: 0,
6358
6372
  id: e.id,
6359
6373
  checked: o.value,
@@ -6374,7 +6388,7 @@ const os = () => {
6374
6388
  ]),
6375
6389
  _: 3
6376
6390
  }, 8, ["id", "checked", "disabled", "value", "name", "required"])) : j("", !0),
6377
- b("div", Ls, [
6391
+ b("div", As, [
6378
6392
  e.multiple ? j("", !0) : _(f.$slots, "default", { key: 0 }, void 0, !0)
6379
6393
  ]),
6380
6394
  b("div", {
@@ -6387,9 +6401,9 @@ const os = () => {
6387
6401
  ]),
6388
6402
  _: 3
6389
6403
  }, 8, ["for", "class", "onClick"]))
6390
- ], 10, Is));
6404
+ ], 10, Es));
6391
6405
  }
6392
- }), Bs = /* @__PURE__ */ F(As, [["__scopeId", "data-v-63935f26"]]), Fs = ["id"], Ns = /* @__PURE__ */ B({
6406
+ }), Fs = /* @__PURE__ */ F(Bs, [["__scopeId", "data-v-63935f26"]]), Ns = ["id"], zs = /* @__PURE__ */ B({
6393
6407
  __name: "VJoySelectableItemGroup",
6394
6408
  props: {
6395
6409
  options: {
@@ -6444,7 +6458,7 @@ const os = () => {
6444
6458
  id: e.id,
6445
6459
  class: "joy-selectable-item-group__wrapper"
6446
6460
  }, [
6447
- e.label ? (d(), A(Ae, {
6461
+ e.label ? (d(), L(Ae, {
6448
6462
  key: 0,
6449
6463
  "tag-name": "legend",
6450
6464
  required: e.required && e.requiredMark,
@@ -6466,7 +6480,7 @@ const os = () => {
6466
6480
  }
6467
6481
  ])
6468
6482
  }, [
6469
- (d(!0), g(Y, null, ee(e.options, (i) => (d(), A(Bs, ae(i.attrs, {
6483
+ (d(!0), g(G, null, X(e.options, (i) => (d(), L(Fs, ae(i.attrs, {
6470
6484
  id: i.id,
6471
6485
  key: i.id,
6472
6486
  name: i.name,
@@ -6492,9 +6506,9 @@ const os = () => {
6492
6506
  } : void 0
6493
6507
  ]), 1040, ["id", "name", "disabled", "value", "multiple", "checked", "onUpdate:checked"]))), 128))
6494
6508
  ], 2)
6495
- ], 8, Fs));
6509
+ ], 8, Ns));
6496
6510
  }
6497
- }), Oc = /* @__PURE__ */ F(Ns, [["__scopeId", "data-v-0851108e"]]), zs = /* @__PURE__ */ B({
6511
+ }), Rc = /* @__PURE__ */ F(zs, [["__scopeId", "data-v-0851108e"]]), Ps = /* @__PURE__ */ B({
6498
6512
  __name: "VJoySeparator",
6499
6513
  props: {
6500
6514
  /** Main text to apply in the central area */
@@ -6513,7 +6527,7 @@ const os = () => {
6513
6527
  b("span", null, O(e.text), 1)
6514
6528
  ], 2));
6515
6529
  }
6516
- }), Rc = /* @__PURE__ */ F(zs, [["__scopeId", "data-v-21db2899"]]), Ps = { class: "joy-snackbar__img" }, Os = { class: "joy-snackbar__content" }, Rs = { key: 0 }, Ds = ["innerHTML"], Ms = /* @__PURE__ */ B({
6530
+ }), Dc = /* @__PURE__ */ F(Ps, [["__scopeId", "data-v-21db2899"]]), Os = { class: "joy-snackbar__img" }, Rs = { class: "joy-snackbar__content" }, Ds = { key: 0 }, Ms = ["innerHTML"], Js = /* @__PURE__ */ B({
6517
6531
  __name: "VJoySnackbar",
6518
6532
  props: {
6519
6533
  level: {
@@ -6587,7 +6601,7 @@ const os = () => {
6587
6601
  (h = n.bus) == null || h.emit("snackbar:hide");
6588
6602
  }, n.duration + 300);
6589
6603
  }
6590
- re(() => {
6604
+ ie(() => {
6591
6605
  var h;
6592
6606
  (h = n.bus) == null || h.emit("snackbar:show"), typeof n.duration == "number" && y();
6593
6607
  });
@@ -6609,19 +6623,19 @@ const os = () => {
6609
6623
  id: l,
6610
6624
  class: E(["joy-snackbar", `joy-snackbar_${e.level}`])
6611
6625
  }, [
6612
- b("div", Ps, [
6613
- K(G, { name: s.value }, null, 8, ["name"])
6614
- ]),
6615
6626
  b("div", Os, [
6616
- e.header ? (d(), g("strong", Rs, O(e.header), 1)) : j("", !0),
6617
- b("span", { innerHTML: e.message }, null, 8, Ds),
6627
+ K(Y, { name: s.value }, null, 8, ["name"])
6628
+ ]),
6629
+ b("div", Rs, [
6630
+ e.header ? (d(), g("strong", Ds, O(e.header), 1)) : j("", !0),
6631
+ b("span", { innerHTML: e.message }, null, 8, Ms),
6618
6632
  e.actionText ? (d(), g("p", {
6619
6633
  key: 1,
6620
6634
  class: "joy-snackbar__trigger___action",
6621
6635
  onClick: i
6622
6636
  }, O(e.actionText), 1)) : j("", !0)
6623
6637
  ]),
6624
- e.closable ? (d(), A(ue, {
6638
+ e.closable ? (d(), L(ue, {
6625
6639
  key: 0,
6626
6640
  class: "joy-snackbar__close-icon",
6627
6641
  circle: "",
@@ -6633,7 +6647,7 @@ const os = () => {
6633
6647
  ], 2)
6634
6648
  ], 2));
6635
6649
  }
6636
- }), Js = /* @__PURE__ */ F(Ms, [["__scopeId", "data-v-d93e38fe"]]), qs = ["id"], Hs = { class: "joy-step__stroke" }, Ws = { class: "joy-step__label" }, Us = /* @__PURE__ */ B({
6650
+ }), qs = /* @__PURE__ */ F(Js, [["__scopeId", "data-v-d93e38fe"]]), Hs = ["id"], Ws = { class: "joy-step__stroke" }, Us = { class: "joy-step__label" }, Ks = /* @__PURE__ */ B({
6637
6651
  __name: "VJoyStep",
6638
6652
  props: {
6639
6653
  /** Set it to completed to change it's color */
@@ -6680,18 +6694,18 @@ const os = () => {
6680
6694
  }
6681
6695
  ])
6682
6696
  }, [
6683
- b("span", Hs, [
6697
+ b("span", Ws, [
6684
6698
  b("span", {
6685
6699
  class: "joy-step__stroke--filled",
6686
- style: ie({ maxWidth: l.value })
6700
+ style: se({ maxWidth: l.value })
6687
6701
  }, null, 4)
6688
6702
  ]),
6689
- b("span", Ws, [
6703
+ b("span", Us, [
6690
6704
  _(u.$slots, "default", {}, void 0, !0)
6691
6705
  ])
6692
- ], 10, qs));
6706
+ ], 10, Hs));
6693
6707
  }
6694
- }), Ks = /* @__PURE__ */ F(Us, [["__scopeId", "data-v-b63419a7"]]), Gs = { class: "joy-stepper" }, Ys = /* @__PURE__ */ B({
6708
+ }), Gs = /* @__PURE__ */ F(Ks, [["__scopeId", "data-v-b63419a7"]]), Ys = { class: "joy-stepper" }, Zs = /* @__PURE__ */ B({
6695
6709
  __name: "VJoyStepper",
6696
6710
  props: {
6697
6711
  /** Current step value */
@@ -6706,7 +6720,7 @@ const os = () => {
6706
6720
  }
6707
6721
  },
6708
6722
  setup(e, { expose: t }) {
6709
- const n = e, a = X(), o = V(() => {
6723
+ const n = e, a = Q(), o = V(() => {
6710
6724
  const c = a.default();
6711
6725
  return c.length === 1 && typeof c[0].type != "object" ? c[0].children.filter(r) : c.filter(r);
6712
6726
  });
@@ -6722,10 +6736,10 @@ const os = () => {
6722
6736
  currentItemSubStep: i,
6723
6737
  steps: o,
6724
6738
  invalidSubStepValue: s
6725
- }), (c, y) => (d(), g("div", Gs, [
6726
- (d(!0), g(Y, null, ee(o.value, (p, v) => {
6739
+ }), (c, y) => (d(), g("div", Ys, [
6740
+ (d(!0), g(G, null, X(o.value, (p, v) => {
6727
6741
  var h;
6728
- return d(), A(Ks, ae(p.props, {
6742
+ return d(), L(Gs, ae(p.props, {
6729
6743
  key: (h = p.props) == null ? void 0 : h.id,
6730
6744
  completed: v < e.step - 1,
6731
6745
  "current-sub-step": f(v)
@@ -6733,7 +6747,7 @@ const os = () => {
6733
6747
  default: R(() => {
6734
6748
  var m;
6735
6749
  return [
6736
- (m = p.children) != null && m.default ? (d(), A(se(p.children.default), { key: 0 })) : j("", !0)
6750
+ (m = p.children) != null && m.default ? (d(), L(re(p.children.default), { key: 0 })) : j("", !0)
6737
6751
  ];
6738
6752
  }),
6739
6753
  _: 2
@@ -6741,7 +6755,7 @@ const os = () => {
6741
6755
  }), 128))
6742
6756
  ]));
6743
6757
  }
6744
- }), Dc = /* @__PURE__ */ F(Ys, [["__scopeId", "data-v-dcd87434"]]), Zs = ["id", "aria-hidden", "aria-labelledby"], Xs = /* @__PURE__ */ B({
6758
+ }), Mc = /* @__PURE__ */ F(Zs, [["__scopeId", "data-v-dcd87434"]]), Xs = ["id", "aria-hidden", "aria-labelledby"], Qs = /* @__PURE__ */ B({
6745
6759
  __name: "VJoyTab",
6746
6760
  props: {
6747
6761
  /**
@@ -6784,12 +6798,12 @@ const os = () => {
6784
6798
  })
6785
6799
  }, [
6786
6800
  _(o.$slots, "default", {}, void 0, !0)
6787
- ], 10, Zs));
6801
+ ], 10, Xs));
6788
6802
  }
6789
- }), Mc = /* @__PURE__ */ F(Xs, [["__scopeId", "data-v-a76a7c92"]]), Qs = ["id", "href", "aria-selected", "aria-controls"], eu = {
6803
+ }), Jc = /* @__PURE__ */ F(Qs, [["__scopeId", "data-v-a76a7c92"]]), eu = ["id", "href", "aria-selected", "aria-controls"], tu = {
6790
6804
  type: "button",
6791
6805
  tabindex: "-1"
6792
- }, tu = /* @__PURE__ */ B({
6806
+ }, nu = /* @__PURE__ */ B({
6793
6807
  __name: "TabButton",
6794
6808
  props: {
6795
6809
  /**
@@ -6849,11 +6863,11 @@ const os = () => {
6849
6863
  "joy-tab-button__selected": e.selected
6850
6864
  })
6851
6865
  }, [
6852
- b("button", eu, [
6866
+ b("button", tu, [
6853
6867
  _(r.$slots, "default", {}, () => [
6854
6868
  W(O(e.label), 1)
6855
6869
  ], !0),
6856
- e.notifications ? (d(), A(xa, {
6870
+ e.notifications ? (d(), L(xa, {
6857
6871
  key: 0,
6858
6872
  class: "joy-tab-button_notifications",
6859
6873
  variant: "red",
@@ -6861,9 +6875,9 @@ const os = () => {
6861
6875
  }, null, 8, ["number"])) : j("", !0)
6862
6876
  ])
6863
6877
  ], 2)
6864
- ], 40, Qs));
6878
+ ], 40, eu));
6865
6879
  }
6866
- }), nu = /* @__PURE__ */ F(tu, [["__scopeId", "data-v-26b80ed6"]]), au = { class: "joy-tabs" }, ou = /* @__PURE__ */ B({
6880
+ }), au = /* @__PURE__ */ F(nu, [["__scopeId", "data-v-26b80ed6"]]), ou = { class: "joy-tabs" }, lu = /* @__PURE__ */ B({
6867
6881
  __name: "VJoyTabs",
6868
6882
  props: {
6869
6883
  /** Use this prop to activate a specific tab by default by giving its name */
@@ -6873,7 +6887,7 @@ const os = () => {
6873
6887
  },
6874
6888
  emits: ["update:selected-tab"],
6875
6889
  setup(e, { expose: t, emit: n }) {
6876
- const a = e, o = n, r = X(), l = C(a.selectedTab);
6890
+ const a = e, o = n, r = Q(), l = C(a.selectedTab);
6877
6891
  Et("VJoyTabs", l);
6878
6892
  const s = C(null), i = C(null), u = C(!1), f = C(!1), c = V(() => {
6879
6893
  const m = r.default();
@@ -6898,7 +6912,7 @@ const os = () => {
6898
6912
  m && h(m);
6899
6913
  },
6900
6914
  { immediate: !0 }
6901
- ), re(() => {
6915
+ ), ie(() => {
6902
6916
  var m;
6903
6917
  v(), (m = i.value) == null || m.addEventListener("scroll", v);
6904
6918
  }), De(() => {
@@ -6906,7 +6920,7 @@ const os = () => {
6906
6920
  (m = i.value) == null || m.removeEventListener("scroll", v);
6907
6921
  }), t({
6908
6922
  tabs: c
6909
- }), (m, S) => (d(), g("div", au, [
6923
+ }), (m, S) => (d(), g("div", ou, [
6910
6924
  b("div", {
6911
6925
  ref_key: "buttonListWrapper",
6912
6926
  ref: s,
@@ -6922,10 +6936,10 @@ const os = () => {
6922
6936
  class: "joy-tabs-buttons",
6923
6937
  role: "tablist"
6924
6938
  }, [
6925
- (d(!0), g(Y, null, ee(c.value, (k) => (d(), g("div", {
6939
+ (d(!0), g(G, null, X(c.value, (k) => (d(), g("div", {
6926
6940
  key: k.props.tab
6927
6941
  }, [
6928
- K(nu, {
6942
+ K(au, {
6929
6943
  tab: k.props.tab,
6930
6944
  label: k.props.label,
6931
6945
  href: k.props.href,
@@ -6934,9 +6948,9 @@ const os = () => {
6934
6948
  onChangeTab: () => h(k.props.tab, !k.props.href)
6935
6949
  }, {
6936
6950
  default: R(() => {
6937
- var L;
6951
+ var A;
6938
6952
  return [
6939
- (L = k.children) != null && L.header ? (d(), A(se(k.children.header), { key: 0 })) : j("", !0)
6953
+ (A = k.children) != null && A.header ? (d(), L(re(k.children.header), { key: 0 })) : j("", !0)
6940
6954
  ];
6941
6955
  }),
6942
6956
  _: 2
@@ -6949,7 +6963,7 @@ const os = () => {
6949
6963
  ])
6950
6964
  ]));
6951
6965
  }
6952
- }), Jc = /* @__PURE__ */ F(ou, [["__scopeId", "data-v-9aea2d41"]]), lu = ["id", "role"], ru = /* @__PURE__ */ B({
6966
+ }), qc = /* @__PURE__ */ F(lu, [["__scopeId", "data-v-9aea2d41"]]), ru = ["id", "role"], iu = /* @__PURE__ */ B({
6953
6967
  __name: "VJoyTag",
6954
6968
  props: {
6955
6969
  label: {},
@@ -6985,7 +6999,7 @@ const os = () => {
6985
6999
  onClick: s
6986
7000
  }, [
6987
7001
  _(i.$slots, "default", {}, () => [
6988
- i.draggable ? (d(), A(G, {
7002
+ i.draggable ? (d(), L(Y, {
6989
7003
  key: 0,
6990
7004
  class: "joy-tag__drag",
6991
7005
  name: "drag",
@@ -6993,18 +7007,18 @@ const os = () => {
6993
7007
  })) : j("", !0),
6994
7008
  W(" " + O(i.label), 1)
6995
7009
  ], !0),
6996
- i.removable ? (d(), A(G, {
7010
+ i.removable ? (d(), L(Y, {
6997
7011
  key: 0,
6998
7012
  class: "joy-tag__removable",
6999
7013
  name: "cross",
7000
7014
  size: "xxsmall",
7001
7015
  role: "button",
7002
7016
  onClick: sa(l, ["stop"]),
7003
- onKeydown: pt(l, ["enter"])
7017
+ onKeydown: et(l, ["enter"])
7004
7018
  })) : j("", !0)
7005
- ], 10, lu));
7019
+ ], 10, ru));
7006
7020
  }
7007
- }), Kn = /* @__PURE__ */ F(ru, [["__scopeId", "data-v-bf90789b"]]);
7021
+ }), Kn = /* @__PURE__ */ F(iu, [["__scopeId", "data-v-bf90789b"]]);
7008
7022
  var He = /* @__PURE__ */ ((e) => (e.DUPLICATED_ENTRY = "DUPLICATED_ENTRY", e.INVALID_EMAIL = "INVALID_EMAIL", e))(He || {});
7009
7023
  function un(e) {
7010
7024
  if (!Array.isArray(e) && typeof e != "string")
@@ -7017,7 +7031,7 @@ function un(e) {
7017
7031
  return a;
7018
7032
  }) === void 0 : t(e);
7019
7033
  }
7020
- const iu = { class: "joy-tags-input__wrapper" }, su = ["id", "name", "placeholder"], uu = { key: 0 }, cu = { key: 1 }, du = /* @__PURE__ */ B({
7034
+ const su = { class: "joy-tags-input__wrapper" }, uu = ["id", "name", "placeholder"], cu = { key: 0 }, du = { key: 1 }, fu = /* @__PURE__ */ B({
7021
7035
  __name: "VJoyTagsInput",
7022
7036
  props: {
7023
7037
  name: {},
@@ -7064,7 +7078,7 @@ const iu = { class: "joy-tags-input__wrapper" }, su = ["id", "name", "placeholde
7064
7078
  function k() {
7065
7079
  l.value = !0;
7066
7080
  }
7067
- function L() {
7081
+ function A() {
7068
7082
  l.value = !1, I();
7069
7083
  }
7070
7084
  function P(w) {
@@ -7092,8 +7106,8 @@ const iu = { class: "joy-tags-input__wrapper" }, su = ["id", "name", "placeholde
7092
7106
  ), t({
7093
7107
  isInvalid: i,
7094
7108
  hasDuplicates: h
7095
- }), (w, z) => (d(), g("div", iu, [
7096
- w.$slots.default ? (d(), A(Ae, {
7109
+ }), (w, z) => (d(), g("div", su, [
7110
+ w.$slots.default ? (d(), L(Ae, {
7097
7111
  key: 0,
7098
7112
  id: w.name,
7099
7113
  class: "joy-tags-input__label"
@@ -7112,7 +7126,7 @@ const iu = { class: "joy-tags-input__wrapper" }, su = ["id", "name", "placeholde
7112
7126
  }
7113
7127
  ])
7114
7128
  }, [
7115
- (d(!0), g(Y, null, ee(r.value, (M) => (d(), A(Kn, {
7129
+ (d(!0), g(G, null, X(r.value, (M) => (d(), L(Kn, {
7116
7130
  key: M,
7117
7131
  variant: w.variant,
7118
7132
  removable: !0,
@@ -7135,24 +7149,24 @@ const iu = { class: "joy-tags-input__wrapper" }, su = ["id", "name", "placeholde
7135
7149
  placeholder: w.placeholder,
7136
7150
  onKeydown: S,
7137
7151
  onFocus: k,
7138
- onBlur: L
7139
- }, null, 40, su)
7152
+ onBlur: A
7153
+ }, null, 40, uu)
7140
7154
  ], 2),
7141
- p.value ? (d(), A(Ft, {
7155
+ p.value ? (d(), L(Ft, {
7142
7156
  key: 1,
7143
7157
  class: "joy-tags-input__error"
7144
7158
  }, {
7145
7159
  default: R(() => [
7146
7160
  b("ul", null, [
7147
- y.value ? (d(), g("li", uu, O(w.duplicationError), 1)) : j("", !0),
7148
- c.value ? (d(), g("li", cu, O(w.invalidEmailError), 1)) : j("", !0)
7161
+ y.value ? (d(), g("li", cu, O(w.duplicationError), 1)) : j("", !0),
7162
+ c.value ? (d(), g("li", du, O(w.invalidEmailError), 1)) : j("", !0)
7149
7163
  ])
7150
7164
  ]),
7151
7165
  _: 1
7152
7166
  })) : j("", !0)
7153
7167
  ]));
7154
7168
  }
7155
- }), qc = /* @__PURE__ */ F(du, [["__scopeId", "data-v-3576a764"]]), fu = /* @__PURE__ */ B({
7169
+ }), Hc = /* @__PURE__ */ F(fu, [["__scopeId", "data-v-3576a764"]]), vu = /* @__PURE__ */ B({
7156
7170
  __name: "VJoyTagsList",
7157
7171
  props: {
7158
7172
  align: {
@@ -7208,7 +7222,7 @@ const iu = { class: "joy-tags-input__wrapper" }, su = ["id", "name", "placeholde
7208
7222
  return (u, f) => (d(), g("div", {
7209
7223
  class: E(["joy-tags-list", `joy-tags-list--${e.align}`])
7210
7224
  }, [
7211
- (d(!0), g(Y, null, ee(e.tags, (c) => (d(), A(Kn, ae({
7225
+ (d(!0), g(G, null, X(e.tags, (c) => (d(), L(Kn, ae({
7212
7226
  key: c.value || c.label
7213
7227
  }, c, {
7214
7228
  selectable: r(c),
@@ -7230,36 +7244,36 @@ const iu = { class: "joy-tags-input__wrapper" }, su = ["id", "name", "placeholde
7230
7244
  }, 1040, ["selectable", "removable", "variant", "selected", "onSelected"]))), 128))
7231
7245
  ], 2));
7232
7246
  }
7233
- }), Hc = /* @__PURE__ */ F(fu, [["__scopeId", "data-v-1d8003ef"]]), vu = {}, yu = {
7247
+ }), Wc = /* @__PURE__ */ F(vu, [["__scopeId", "data-v-1d8003ef"]]), yu = {}, pu = {
7234
7248
  class: /* @__PURE__ */ E(["joy-template-shape__shapes"])
7235
- }, pu = /* @__PURE__ */ vn('<div class="shapes__wrapper" data-v-8b258f92><div class="shape_1" data-v-8b258f92></div><div class="shape_2" data-v-8b258f92></div><div class="shape_3" data-v-8b258f92></div><div class="shape_4" data-v-8b258f92></div></div>', 1), mu = [
7236
- pu
7249
+ }, mu = /* @__PURE__ */ vn('<div class="shapes__wrapper" data-v-8b258f92><div class="shape_1" data-v-8b258f92></div><div class="shape_2" data-v-8b258f92></div><div class="shape_3" data-v-8b258f92></div><div class="shape_4" data-v-8b258f92></div></div>', 1), hu = [
7250
+ mu
7237
7251
  ];
7238
- function hu(e, t) {
7239
- return d(), g("div", yu, mu);
7252
+ function bu(e, t) {
7253
+ return d(), g("div", pu, hu);
7240
7254
  }
7241
- const bu = /* @__PURE__ */ F(vu, [["render", hu], ["__scopeId", "data-v-8b258f92"]]), gu = { class: "joy-template__wrapper" }, wu = {
7255
+ const gu = /* @__PURE__ */ F(yu, [["render", bu], ["__scopeId", "data-v-8b258f92"]]), wu = { class: "joy-template__wrapper" }, Su = {
7242
7256
  key: 0,
7243
7257
  class: "joy-template__heading"
7244
- }, Su = {
7258
+ }, _u = {
7245
7259
  key: 0,
7246
7260
  class: "joy-template-slot-back"
7247
- }, _u = { class: "joy-template__heading___headings" }, ku = {
7261
+ }, ku = { class: "joy-template__heading___headings" }, ju = {
7248
7262
  key: 0,
7249
7263
  class: "joy-template-slot-title"
7250
- }, ju = {
7264
+ }, $u = {
7251
7265
  key: 1,
7252
7266
  class: "joy-template-slot-subtitle"
7253
- }, $u = {
7267
+ }, Cu = {
7254
7268
  key: 1,
7255
7269
  class: "joy-template-slot-actions"
7256
- }, Cu = {
7270
+ }, xu = {
7257
7271
  key: 0,
7258
7272
  class: "joy-template-slot-main"
7259
- }, xu = {
7273
+ }, Tu = {
7260
7274
  key: 1,
7261
7275
  class: "joy-template-slot-sidebar"
7262
- }, Tu = /* @__PURE__ */ B({
7276
+ }, Vu = /* @__PURE__ */ B({
7263
7277
  __name: "VJoyTemplate",
7264
7278
  props: {
7265
7279
  /** Takes 100% of free space */
@@ -7280,25 +7294,25 @@ const bu = /* @__PURE__ */ F(vu, [["render", hu], ["__scopeId", "data-v-8b258f92
7280
7294
  }
7281
7295
  },
7282
7296
  setup(e) {
7283
- const t = e, n = X(), a = V(() => !!n["template-back"] || !!n["template-title"] || !!n["template-subtitle"] || !!n["template-actions"]);
7297
+ const t = e, n = Q(), a = V(() => !!n["template-back"] || !!n["template-title"] || !!n["template-subtitle"] || !!n["template-actions"]);
7284
7298
  return (o, r) => (d(), g("main", {
7285
7299
  class: E(["joy-template", { "joy-template--full": e.full, "joy-template--loading": e.loading }])
7286
7300
  }, [
7287
- e.shapes ? (d(), A(bu, { key: 0 })) : j("", !0),
7288
- b("div", gu, [
7289
- a.value ? (d(), g("div", wu, [
7290
- D(n)["template-back"] ? (d(), g("div", Su, [
7301
+ e.shapes ? (d(), L(gu, { key: 0 })) : j("", !0),
7302
+ b("div", wu, [
7303
+ a.value ? (d(), g("div", Su, [
7304
+ D(n)["template-back"] ? (d(), g("div", _u, [
7291
7305
  _(o.$slots, "template-back", {}, void 0, !0)
7292
7306
  ])) : j("", !0),
7293
- b("div", _u, [
7294
- D(n)["template-title"] ? (d(), g("div", ku, [
7307
+ b("div", ku, [
7308
+ D(n)["template-title"] ? (d(), g("div", ju, [
7295
7309
  _(o.$slots, "template-title", {}, void 0, !0)
7296
7310
  ])) : j("", !0),
7297
- D(n)["template-subtitle"] ? (d(), g("div", ju, [
7311
+ D(n)["template-subtitle"] ? (d(), g("div", $u, [
7298
7312
  _(o.$slots, "template-subtitle", {}, void 0, !0)
7299
7313
  ])) : j("", !0)
7300
7314
  ]),
7301
- D(n)["template-actions"] ? (d(), g("div", $u, [
7315
+ D(n)["template-actions"] ? (d(), g("div", Cu, [
7302
7316
  _(o.$slots, "template-actions", {}, void 0, !0)
7303
7317
  ])) : j("", !0)
7304
7318
  ])) : j("", !0),
@@ -7310,15 +7324,15 @@ const bu = /* @__PURE__ */ F(vu, [["render", hu], ["__scopeId", "data-v-8b258f92
7310
7324
  }
7311
7325
  ])
7312
7326
  }, [
7313
- o.$slots["template-main"] ? (d(), g("div", Cu, [
7327
+ o.$slots["template-main"] ? (d(), g("div", xu, [
7314
7328
  _(o.$slots, "template-main", {}, void 0, !0)
7315
7329
  ])) : j("", !0),
7316
- o.$slots["template-sidebar"] ? (d(), g("div", xu, [
7330
+ o.$slots["template-sidebar"] ? (d(), g("div", Tu, [
7317
7331
  _(o.$slots, "template-sidebar", {}, void 0, !0)
7318
7332
  ])) : j("", !0)
7319
7333
  ], 2)
7320
7334
  ]),
7321
- e.loading ? (d(), A(In, {
7335
+ e.loading ? (d(), L(In, {
7322
7336
  key: 1,
7323
7337
  overlay: "",
7324
7338
  color: e.loadingColor
@@ -7330,7 +7344,7 @@ const bu = /* @__PURE__ */ F(vu, [["render", hu], ["__scopeId", "data-v-8b258f92
7330
7344
  }, 8, ["color"])) : j("", !0)
7331
7345
  ], 2));
7332
7346
  }
7333
- }), Wc = /* @__PURE__ */ F(Tu, [["__scopeId", "data-v-72ffed7d"]]), Vu = /* @__PURE__ */ B({
7347
+ }), Uc = /* @__PURE__ */ F(Vu, [["__scopeId", "data-v-72ffed7d"]]), Iu = /* @__PURE__ */ B({
7334
7348
  __name: "VJoyText",
7335
7349
  props: {
7336
7350
  /** Defines the tag name of the Node you want to create. By default it's a simple P tag. Lowercase only */
@@ -7345,7 +7359,7 @@ const bu = /* @__PURE__ */ F(vu, [["render", hu], ["__scopeId", "data-v-8b258f92
7345
7359
  }
7346
7360
  },
7347
7361
  setup(e) {
7348
- return (t, n) => (d(), A(se(e.tagName), {
7362
+ return (t, n) => (d(), L(re(e.tagName), {
7349
7363
  class: E(`joy-text joy-font-${e.preset}`)
7350
7364
  }, {
7351
7365
  default: R(() => [
@@ -7354,13 +7368,13 @@ const bu = /* @__PURE__ */ F(vu, [["render", hu], ["__scopeId", "data-v-8b258f92
7354
7368
  _: 3
7355
7369
  }, 8, ["class"]));
7356
7370
  }
7357
- }), Uc = /* @__PURE__ */ F(Vu, [["__scopeId", "data-v-6295f9ec"]]), Iu = ["aria-disabled"], Eu = { class: "joy-textarea_wrapper" }, Lu = ["id", "disabled", "name", "required", "minlength", "value"], Au = {
7371
+ }), Kc = /* @__PURE__ */ F(Iu, [["__scopeId", "data-v-6295f9ec"]]), Eu = ["aria-disabled"], Lu = { class: "joy-textarea_wrapper" }, Au = ["id", "disabled", "name", "required", "minlength", "value"], Bu = {
7358
7372
  key: 1,
7359
7373
  class: "joy-textarea_helpers"
7360
- }, Bu = {
7374
+ }, Fu = {
7361
7375
  inheritAttrs: !1
7362
- }, Fu = /* @__PURE__ */ B({
7363
- ...Bu,
7376
+ }, Nu = /* @__PURE__ */ B({
7377
+ ...Fu,
7364
7378
  __name: "VJoyTextarea",
7365
7379
  props: {
7366
7380
  autofocus: {
@@ -7418,7 +7432,7 @@ const bu = /* @__PURE__ */ F(vu, [["render", hu], ["__scopeId", "data-v-8b258f92
7418
7432
  },
7419
7433
  emits: ["update:modelValue"],
7420
7434
  setup(e, { expose: t, emit: n }) {
7421
- const a = n, o = e, r = X(), l = C(), { triggerResize: s } = fo({
7435
+ const a = n, o = e, r = Q(), l = C(), { triggerResize: s } = fo({
7422
7436
  element: o.autogrow ? l : void 0
7423
7437
  }), i = C(!1), u = C(!1);
7424
7438
  Nt(l, o.autofocus);
@@ -7465,7 +7479,7 @@ const bu = /* @__PURE__ */ F(vu, [["render", hu], ["__scopeId", "data-v-8b258f92
7465
7479
  }
7466
7480
  ])
7467
7481
  }, [
7468
- y.value ? (d(), A(Ae, {
7482
+ y.value ? (d(), L(Ae, {
7469
7483
  key: 0,
7470
7484
  for: e.id,
7471
7485
  required: e.required && e.requiredMark,
@@ -7479,7 +7493,7 @@ const bu = /* @__PURE__ */ F(vu, [["render", hu], ["__scopeId", "data-v-8b258f92
7479
7493
  ]),
7480
7494
  _: 3
7481
7495
  }, 8, ["for", "required", "optional-label", "size"])) : j("", !0),
7482
- b("div", Eu, [
7496
+ b("div", Lu, [
7483
7497
  b("textarea", ae(v.$attrs, {
7484
7498
  id: e.id,
7485
7499
  ref_key: "textarea",
@@ -7498,14 +7512,14 @@ const bu = /* @__PURE__ */ F(vu, [["render", hu], ["__scopeId", "data-v-8b258f92
7498
7512
  (...m) => p.onFocus && p.onFocus(...m)),
7499
7513
  onBlur: h[3] || (h[3] = //@ts-ignore
7500
7514
  (...m) => p.onBlur && p.onBlur(...m))
7501
- }), null, 16, Lu)
7515
+ }), null, 16, Au)
7502
7516
  ]),
7503
- e.minlength || e.maxlength ? (d(), g("div", Au, [
7517
+ e.minlength || e.maxlength ? (d(), g("div", Bu, [
7504
7518
  e.minlength ? (d(), g("p", {
7505
7519
  key: 0,
7506
7520
  class: E(["joy-textarea-min", { "joy-textarea-min-invalid": e.invalid }])
7507
7521
  }, [
7508
- c.value ? j("", !0) : (d(), A(G, {
7522
+ c.value ? j("", !0) : (d(), L(Y, {
7509
7523
  key: 0,
7510
7524
  name: "check",
7511
7525
  color: "neutral",
@@ -7518,9 +7532,9 @@ const bu = /* @__PURE__ */ F(vu, [["render", hu], ["__scopeId", "data-v-8b258f92
7518
7532
  class: E(["joy-textarea-count", { "joy-textarea-count-invalid": f.value }])
7519
7533
  }, O(e.modelValue.length + "/" + e.maxlength), 3)) : j("", !0)
7520
7534
  ])) : j("", !0)
7521
- ], 10, Iu));
7535
+ ], 10, Eu));
7522
7536
  }
7523
- }), Kc = /* @__PURE__ */ F(Fu, [["__scopeId", "data-v-52e4553a"]]), Gn = (e) => (Ye("data-v-99a4c774"), e = e(), Ze(), e), Nu = { class: "joy-toggle__wrapper" }, zu = ["name", "disabled", "checked", "required", "aria-checked", "value"], Pu = { class: "joy-toggle__content" }, Ou = /* @__PURE__ */ Gn(() => /* @__PURE__ */ b("span", { class: "joy-toggle__symbol" }, null, -1)), Ru = { class: "joy-toggle__content-label" }, Du = /* @__PURE__ */ Gn(() => /* @__PURE__ */ b("span", { class: "joy-toggle__smile" }, [
7537
+ }), Gc = /* @__PURE__ */ F(Nu, [["__scopeId", "data-v-52e4553a"]]), Gn = (e) => (Ye("data-v-99a4c774"), e = e(), Ze(), e), zu = { class: "joy-toggle__wrapper" }, Pu = ["name", "disabled", "checked", "required", "aria-checked", "value"], Ou = { class: "joy-toggle__content" }, Ru = /* @__PURE__ */ Gn(() => /* @__PURE__ */ b("span", { class: "joy-toggle__symbol" }, null, -1)), Du = { class: "joy-toggle__content-label" }, Mu = /* @__PURE__ */ Gn(() => /* @__PURE__ */ b("span", { class: "joy-toggle__smile" }, [
7524
7538
  /* @__PURE__ */ b("svg", {
7525
7539
  width: "18",
7526
7540
  height: "10",
@@ -7533,7 +7547,7 @@ const bu = /* @__PURE__ */ F(vu, [["render", hu], ["__scopeId", "data-v-8b258f92
7533
7547
  fill: "currentColor"
7534
7548
  })
7535
7549
  ])
7536
- ], -1)), Mu = /* @__PURE__ */ B({
7550
+ ], -1)), Ju = /* @__PURE__ */ B({
7537
7551
  __name: "VJoyToggle",
7538
7552
  props: {
7539
7553
  modelValue: {
@@ -7568,7 +7582,7 @@ const bu = /* @__PURE__ */ F(vu, [["render", hu], ["__scopeId", "data-v-8b258f92
7568
7582
  emits: ["update:modelValue"],
7569
7583
  setup(e, { emit: t }) {
7570
7584
  const n = t;
7571
- X();
7585
+ Q();
7572
7586
  const a = C(!1), o = {
7573
7587
  onChange: (r) => {
7574
7588
  const l = r.target.checked;
@@ -7581,7 +7595,7 @@ const bu = /* @__PURE__ */ F(vu, [["render", hu], ["__scopeId", "data-v-8b258f92
7581
7595
  a.value = !1;
7582
7596
  }
7583
7597
  };
7584
- return (r, l) => (d(), g("div", Nu, [
7598
+ return (r, l) => (d(), g("div", zu, [
7585
7599
  b("label", {
7586
7600
  class: E([
7587
7601
  "joy-toggle",
@@ -7609,20 +7623,20 @@ const bu = /* @__PURE__ */ F(vu, [["render", hu], ["__scopeId", "data-v-8b258f92
7609
7623
  (...s) => o.onFocus && o.onFocus(...s)),
7610
7624
  onBlur: l[2] || (l[2] = //@ts-ignore
7611
7625
  (...s) => o.onBlur && o.onBlur(...s))
7612
- }, null, 40, zu),
7613
- b("p", Pu, [
7614
- Ou,
7615
- b("span", Ru, [
7626
+ }, null, 40, Pu),
7627
+ b("p", Ou, [
7628
+ Ru,
7629
+ b("span", Du, [
7616
7630
  _(r.$slots, "default", {}, () => [
7617
7631
  W(O(e.label), 1)
7618
7632
  ], !0)
7619
7633
  ]),
7620
- Du
7634
+ Mu
7621
7635
  ])
7622
7636
  ], 2)
7623
7637
  ]));
7624
7638
  }
7625
- }), Gc = /* @__PURE__ */ F(Mu, [["__scopeId", "data-v-99a4c774"]]), Ju = { class: "joy-tooltip__content__inner" }, qu = /* @__PURE__ */ B({
7639
+ }), Yc = /* @__PURE__ */ F(Ju, [["__scopeId", "data-v-99a4c774"]]), qu = { class: "joy-tooltip__content__inner" }, Hu = /* @__PURE__ */ B({
7626
7640
  __name: "VJoyTooltip",
7627
7641
  props: {
7628
7642
  /** If you are 100% sure the content you want to inject does not contain anything that could lead to any XSS, use this */
@@ -7660,7 +7674,7 @@ const bu = /* @__PURE__ */ F(vu, [["render", hu], ["__scopeId", "data-v-8b258f92
7660
7674
  }
7661
7675
  },
7662
7676
  setup(e, { expose: t }) {
7663
- const n = X(), a = e, o = C(!1), r = C(null), l = C(null), s = C(), i = C(
7677
+ const n = Q(), a = e, o = C(!1), r = C(null), l = C(null), s = C(), i = C(
7664
7678
  Wn(r, l, {
7665
7679
  placement: a.placement,
7666
7680
  transform: !1,
@@ -7706,14 +7720,14 @@ const bu = /* @__PURE__ */ F(vu, [["render", hu], ["__scopeId", "data-v-8b258f92
7706
7720
  [k]: "-4px"
7707
7721
  };
7708
7722
  });
7709
- return re(() => {
7723
+ return ie(() => {
7710
7724
  a.show && p();
7711
7725
  }), De(() => {
7712
7726
  o.value = !1;
7713
7727
  }), t({
7714
7728
  tooltipVisible: o,
7715
7729
  tooltip: l
7716
- }), (h, m) => (d(), A(D(Bt), {
7730
+ }), (h, m) => (d(), L(D(Bt), {
7717
7731
  ref: "tooltipClickOutside",
7718
7732
  class: "joy-tooltip__click-outside",
7719
7733
  onTrigger: m[1] || (m[1] = (S) => p(!1))
@@ -7728,10 +7742,10 @@ const bu = /* @__PURE__ */ F(vu, [["render", hu], ["__scopeId", "data-v-8b258f92
7728
7742
  onClick: y,
7729
7743
  onMouseenter: f,
7730
7744
  onMouseleave: c,
7731
- onKeydown: m[0] || (m[0] = pt((k) => p(!1), ["tab"]))
7745
+ onKeydown: m[0] || (m[0] = et((k) => p(!1), ["tab"]))
7732
7746
  }, [
7733
7747
  _(h.$slots, "default", {}, void 0, !0),
7734
- (d(), A(Qe, { to: "body" }, [
7748
+ (d(), L(Qe, { to: "body" }, [
7735
7749
  o.value && u.value ? (d(), g("div", {
7736
7750
  key: 0,
7737
7751
  ref_key: "tooltip",
@@ -7744,9 +7758,9 @@ const bu = /* @__PURE__ */ F(vu, [["render", hu], ["__scopeId", "data-v-8b258f92
7744
7758
  "joy-tooltip__content--hiding": !o.value
7745
7759
  }
7746
7760
  ]),
7747
- style: ie({ ...(S = i.value) == null ? void 0 : S.floatingStyles, maxWidth: `${e.tooltipWidth}px` })
7761
+ style: se({ ...(S = i.value) == null ? void 0 : S.floatingStyles, maxWidth: `${e.tooltipWidth}px` })
7748
7762
  }, [
7749
- b("div", Ju, [
7763
+ b("div", qu, [
7750
7764
  _(h.$slots, "tooltip-content", {}, () => [
7751
7765
  W(O(e.text), 1)
7752
7766
  ], !0)
@@ -7755,7 +7769,7 @@ const bu = /* @__PURE__ */ F(vu, [["render", hu], ["__scopeId", "data-v-8b258f92
7755
7769
  ref_key: "tooltipArrow",
7756
7770
  ref: s,
7757
7771
  class: "joy-tooltip__arrow",
7758
- style: ie(v.value)
7772
+ style: se(v.value)
7759
7773
  }, null, 4)
7760
7774
  ], 6)) : j("", !0)
7761
7775
  ]))
@@ -7765,7 +7779,7 @@ const bu = /* @__PURE__ */ F(vu, [["render", hu], ["__scopeId", "data-v-8b258f92
7765
7779
  _: 3
7766
7780
  }, 512));
7767
7781
  }
7768
- }), Yc = /* @__PURE__ */ F(qu, [["__scopeId", "data-v-d54d6979"]]), Hu = { class: "joy-user-card__picture" }, Wu = { class: "joy-user-card__informations" }, Uu = { class: "joy-user-card__title" }, Ku = { class: "joy-user-card__subtitle" }, Gu = /* @__PURE__ */ B({
7782
+ }), Zc = /* @__PURE__ */ F(Hu, [["__scopeId", "data-v-d54d6979"]]), Wu = { class: "joy-user-card__picture" }, Uu = { class: "joy-user-card__informations" }, Ku = { class: "joy-user-card__title" }, Gu = { class: "joy-user-card__subtitle" }, Yu = /* @__PURE__ */ B({
7769
7783
  __name: "VJoyUserCard",
7770
7784
  props: {
7771
7785
  /**
@@ -7792,13 +7806,13 @@ const bu = /* @__PURE__ */ F(vu, [["render", hu], ["__scopeId", "data-v-8b258f92
7792
7806
  }
7793
7807
  },
7794
7808
  setup(e) {
7795
- return (t, n) => (d(), A(se(e.link ? "a" : "div"), ae({
7809
+ return (t, n) => (d(), L(re(e.link ? "a" : "div"), ae({
7796
7810
  class: "joy-user-card",
7797
7811
  href: e.link,
7798
7812
  title: e.fullName
7799
7813
  }, t.$attrs), {
7800
7814
  default: R(() => [
7801
- b("div", Hu, [
7815
+ b("div", Wu, [
7802
7816
  _(t.$slots, "user-card-avatar", {}, () => [
7803
7817
  K(_a, {
7804
7818
  "photo-url": e.photoUrl,
@@ -7806,19 +7820,19 @@ const bu = /* @__PURE__ */ F(vu, [["render", hu], ["__scopeId", "data-v-8b258f92
7806
7820
  }, null, 8, ["photo-url", "full-name"])
7807
7821
  ], !0)
7808
7822
  ]),
7809
- b("div", Wu, [
7810
- b("p", Uu, [
7823
+ b("div", Uu, [
7824
+ b("p", Ku, [
7811
7825
  _(t.$slots, "user-card-title", {}, () => [
7812
7826
  W(O(e.fullName), 1)
7813
7827
  ], !0)
7814
7828
  ]),
7815
- b("p", Ku, [
7829
+ b("p", Gu, [
7816
7830
  _(t.$slots, "user-card-subtitle", {}, () => [
7817
7831
  W(O(e.subTitle), 1)
7818
7832
  ], !0)
7819
7833
  ]),
7820
7834
  _(t.$slots, "user-card-rating-stars", {}, () => [
7821
- e.ratingValue ? (d(), A(Cs, {
7835
+ e.ratingValue ? (d(), L(xs, {
7822
7836
  key: 0,
7823
7837
  "rating-value": e.ratingValue
7824
7838
  }, null, 8, ["rating-value"])) : j("", !0)
@@ -7831,8 +7845,8 @@ const bu = /* @__PURE__ */ F(vu, [["render", hu], ["__scopeId", "data-v-8b258f92
7831
7845
  _: 3
7832
7846
  }, 16, ["href", "title"]));
7833
7847
  }
7834
- }), Zc = /* @__PURE__ */ F(Gu, [["__scopeId", "data-v-86acec3a"]]);
7835
- function Yu(e) {
7848
+ }), Xc = /* @__PURE__ */ F(Yu, [["__scopeId", "data-v-86acec3a"]]);
7849
+ function Zu(e) {
7836
7850
  return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, n) {
7837
7851
  var a = e.get(t);
7838
7852
  a ? a.push(n) : e.set(t, [n]);
@@ -7848,20 +7862,20 @@ function Yu(e) {
7848
7862
  });
7849
7863
  } };
7850
7864
  }
7851
- function Zu() {
7852
- return Yu();
7865
+ function Xu() {
7866
+ return Zu();
7853
7867
  }
7854
- const Yn = "joy-snackbar__container", Xu = "joy-snackbar__shell--";
7855
- let it = 0, Zn = [];
7856
- const Qu = {
7868
+ const Yn = "joy-snackbar__container", Qu = "joy-snackbar__shell--";
7869
+ let st = 0, Zn = [];
7870
+ const ec = {
7857
7871
  install: (e) => {
7858
- typeof window < "u" && ec(), e.directive("joy-ripple", ca);
7872
+ typeof window < "u" && tc(), e.directive("joy-ripple", ca);
7859
7873
  }
7860
7874
  };
7861
- function Xc() {
7862
- it = 0, Zn = [];
7875
+ function Qc() {
7876
+ st = 0, Zn = [];
7863
7877
  }
7864
- function ec(e = { appendTo: "body", defaultMountSelector: Yn }) {
7878
+ function tc(e = { appendTo: "body", defaultMountSelector: Yn }) {
7865
7879
  var a;
7866
7880
  const t = document.createElement("div");
7867
7881
  t.id = e.defaultMountSelector;
@@ -7877,20 +7891,20 @@ function ec(e = { appendTo: "body", defaultMountSelector: Yn }) {
7877
7891
  }
7878
7892
  `, document.head.appendChild(n), document.getElementById(t.id) === null && (e.appendTo === "body" ? document.body.appendChild(t) : (a = document.body.querySelector(e.appendTo)) == null || a.appendChild(t));
7879
7893
  }
7880
- function Qc(e) {
7894
+ function ed(e) {
7881
7895
  var r, l;
7882
- it++;
7896
+ st++;
7883
7897
  let t, n;
7884
- const a = Zu();
7898
+ const a = Xu();
7885
7899
  t = ua(
7886
- Js,
7900
+ qs,
7887
7901
  Object.assign(e.props, {
7888
7902
  bus: a,
7889
- instanceNb: it
7903
+ instanceNb: st
7890
7904
  })
7891
7905
  );
7892
7906
  const o = document.createElement("div");
7893
- return o.classList.add("joy-snackbar__shell"), n = `${Xu}${it}`, o.id = n, e.snackbarHostId ? (r = document.getElementById(e.snackbarHostId)) == null || r.appendChild(o) : (l = document.getElementById(Yn)) == null || l.appendChild(o), t.use(Qu).mount("#" + n), Zn.push(t), a.on("snackbar:hide", () => {
7907
+ return o.classList.add("joy-snackbar__shell"), n = `${Qu}${st}`, o.id = n, e.snackbarHostId ? (r = document.getElementById(e.snackbarHostId)) == null || r.appendChild(o) : (l = document.getElementById(Yn)) == null || l.appendChild(o), t.use(ec).mount("#" + n), Zn.push(t), a.on("snackbar:hide", () => {
7894
7908
  var s;
7895
7909
  t.unmount(), (s = document.getElementById(n)) == null || s.remove();
7896
7910
  }), {
@@ -7899,78 +7913,78 @@ function Qc(e) {
7899
7913
  };
7900
7914
  }
7901
7915
  export {
7902
- Js as $,
7903
- kc as A,
7904
- jc as B,
7905
- G as C,
7906
- Ur as D,
7907
- $c as E,
7908
- Cc as F,
7916
+ qs as $,
7917
+ jc as A,
7918
+ $c as B,
7919
+ Y as C,
7920
+ Kr as D,
7921
+ Cc as E,
7922
+ xc as F,
7909
7923
  Ae as G,
7910
- xc as H,
7911
- Tc as I,
7912
- lr as J,
7913
- Vc as K,
7914
- Ic as L,
7915
- Ec as M,
7916
- Lc as N,
7917
- Ac as O,
7918
- Bc as P,
7919
- Fc as Q,
7920
- Nc as R,
7921
- zc as S,
7922
- Cs as T,
7924
+ Tc as H,
7925
+ Vc as I,
7926
+ rr as J,
7927
+ Ic as K,
7928
+ Ec as L,
7929
+ Lc as M,
7930
+ Ac as N,
7931
+ Bc as O,
7932
+ Fc as P,
7933
+ Nc as Q,
7934
+ zc as R,
7935
+ Pc as S,
7936
+ xs as T,
7923
7937
  In as U,
7924
- nc as V,
7925
- Pc as W,
7926
- Bs as X,
7927
- Oc as Y,
7928
- Rc as Z,
7929
- ic as _,
7938
+ ac as V,
7939
+ Oc as W,
7940
+ Fs as X,
7941
+ Rc as Y,
7942
+ Dc as Z,
7943
+ sc as _,
7930
7944
  _a as a,
7931
7945
  mn as a0,
7932
- Ks as a1,
7933
- Dc as a2,
7934
- Mc as a3,
7935
- Jc as a4,
7946
+ Gs as a1,
7947
+ Mc as a2,
7948
+ Jc as a3,
7949
+ qc as a4,
7936
7950
  Kn as a5,
7937
- qc as a6,
7938
- Hc as a7,
7939
- Wc as a8,
7940
- bu as a9,
7941
- Uc as aa,
7942
- Kc as ab,
7943
- Gc as ac,
7944
- Yc as ad,
7945
- Zc as ae,
7951
+ Hc as a6,
7952
+ Wc as a7,
7953
+ Uc as a8,
7954
+ gu as a9,
7955
+ Kc as aa,
7956
+ Gc as ab,
7957
+ Yc as ac,
7958
+ Zc as ad,
7959
+ Xc as ae,
7946
7960
  Ke as af,
7947
- ec as ag,
7961
+ tc as ag,
7948
7962
  ca as ah,
7949
- Qc as ai,
7950
- Xc as aj,
7951
- ac as b,
7963
+ ed as ai,
7964
+ Qc as aj,
7965
+ oc as b,
7952
7966
  xa as c,
7953
- oc as d,
7954
- lc as e,
7955
- rc as f,
7967
+ lc as d,
7968
+ rc as e,
7969
+ ic as f,
7956
7970
  ue as g,
7957
7971
  wn as h,
7958
- sc as i,
7959
- No as j,
7960
- uc as k,
7961
- cc as l,
7962
- dc as m,
7963
- fc as n,
7964
- vc as o,
7972
+ uc as i,
7973
+ zo as j,
7974
+ cc as k,
7975
+ dc as l,
7976
+ fc as m,
7977
+ vc as n,
7978
+ yc as o,
7965
7979
  Wt as p,
7966
- yc as q,
7967
- pc as r,
7968
- mc as s,
7969
- hc as t,
7970
- bc as u,
7971
- gc as v,
7972
- wc as w,
7980
+ pc as q,
7981
+ mc as r,
7982
+ hc as s,
7983
+ bc as t,
7984
+ gc as u,
7985
+ wc as v,
7986
+ Sc as w,
7973
7987
  Ft as x,
7974
- Sc as y,
7975
- _c as z
7988
+ _c as y,
7989
+ kc as z
7976
7990
  };