@26lights/orcha 0.41.104 → 0.41.106

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/orcha.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as Y, openBlock as v, createBlock as D, unref as F, mergeProps as Ae, createElementBlock as C, createElementVNode as h, pushScopeId as Bo, popScopeId as Ro, createStaticVNode as jo, computed as A, resolveDynamicComponent as It, normalizeClass as Q, renderSlot as te, toDisplayString as x, createCommentVNode as E, ref as q, watch as ce, nextTick as $e, withKeys as vt, toHandlers as No, withCtx as Z, createTextVNode as As, createVNode as T, normalizeStyle as Ue, withModifiers as fe, createSlots as fa, Fragment as ve, renderList as Ce, onMounted as Lt, onBeforeUnmount as Ts, onUnmounted as Os, Teleport as Tt, toRefs as Ee, getCurrentInstance as Pt, toRef as dt, normalizeProps as ha, guardReactiveProps as ma, withDirectives as De, vShow as Uo, onUpdated as Fo, vModelText as We, resolveComponent as ut, vModelCheckbox as Zo, getCurrentScope as Wo, onScopeDispose as zo, toHandlerKey as qo } from "vue";
1
+ import { defineComponent as Y, openBlock as v, createBlock as D, unref as F, mergeProps as Ae, createElementBlock as C, createElementVNode as h, pushScopeId as Bo, popScopeId as Ro, createStaticVNode as jo, computed as A, resolveDynamicComponent as It, normalizeClass as Q, renderSlot as te, toDisplayString as x, createCommentVNode as E, ref as q, watch as ce, nextTick as $e, withKeys as vt, toHandlers as No, withCtx as Z, createTextVNode as As, createVNode as T, normalizeStyle as Fe, withModifiers as fe, createSlots as fa, Fragment as ve, renderList as Ce, onMounted as Lt, onBeforeUnmount as Ts, onUnmounted as Os, Teleport as Tt, toRefs as Ie, getCurrentInstance as Pt, toRef as dt, normalizeProps as ha, guardReactiveProps as ma, withDirectives as Te, vShow as Uo, onUpdated as Fo, vModelText as Ne, resolveComponent as ut, vModelCheckbox as Zo, getCurrentScope as Wo, onScopeDispose as zo, toHandlerKey as qo } from "vue";
2
2
  import { RouterView as xo, useRoute as Yo, useRouter as Es } from "vue-router";
3
3
  import gt from "vuedraggable";
4
4
  const l8 = /* @__PURE__ */ Y({
@@ -1419,7 +1419,7 @@ const ra = /* @__PURE__ */ Y({
1419
1419
  n.closable ? "ao-tag--closable" : "",
1420
1420
  n.variant ? `ao-tag--${n.variant}` : ""
1421
1421
  ]),
1422
- style: Ue(n.rawColor ? { "--ao-tag-bg": n.rawColor } : {})
1422
+ style: Fe(n.rawColor ? { "--ao-tag-bg": n.rawColor } : {})
1423
1423
  }, [
1424
1424
  (v(), D(It(a.value), Ae({ class: "ao-tag__label" }, s.value, {
1425
1425
  onClick: i[0] || (i[0] = (o) => n.$emit("click", o))
@@ -2736,8 +2736,8 @@ var i3 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, l3 = /P+p+|P+|
2736
2736
  function Zn(t, e, a) {
2737
2737
  var s, n, i, o, l, r, d, u, c, p, f, _, w, g, $, b, m, O;
2738
2738
  _e(2, arguments);
2739
- var P = String(e), k = ga(), N = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : k.locale) !== null && s !== void 0 ? s : Fn, j = Je((i = (o = (l = (r = a == null ? void 0 : a.firstWeekContainsDate) !== null && r !== void 0 ? r : a == null || (d = a.locale) === null || d === void 0 || (u = d.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && l !== void 0 ? l : k.firstWeekContainsDate) !== null && o !== void 0 ? o : (c = k.locale) === null || c === void 0 || (p = c.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && i !== void 0 ? i : 1);
2740
- if (!(j >= 1 && j <= 7))
2739
+ var P = String(e), k = ga(), N = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : k.locale) !== null && s !== void 0 ? s : Fn, R = Je((i = (o = (l = (r = a == null ? void 0 : a.firstWeekContainsDate) !== null && r !== void 0 ? r : a == null || (d = a.locale) === null || d === void 0 || (u = d.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && l !== void 0 ? l : k.firstWeekContainsDate) !== null && o !== void 0 ? o : (c = k.locale) === null || c === void 0 || (p = c.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && i !== void 0 ? i : 1);
2740
+ if (!(R >= 1 && R <= 7))
2741
2741
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
2742
2742
  var G = Je((f = (_ = (w = (g = a == null ? void 0 : a.weekStartsOn) !== null && g !== void 0 ? g : a == null || ($ = a.locale) === null || $ === void 0 || (b = $.options) === null || b === void 0 ? void 0 : b.weekStartsOn) !== null && w !== void 0 ? w : k.weekStartsOn) !== null && _ !== void 0 ? _ : (m = k.locale) === null || m === void 0 || (O = m.options) === null || O === void 0 ? void 0 : O.weekStartsOn) !== null && f !== void 0 ? f : 0);
2743
2743
  if (!(G >= 0 && G <= 6))
@@ -2749,8 +2749,8 @@ function Zn(t, e, a) {
2749
2749
  var J = ke(t);
2750
2750
  if (!Rn(J))
2751
2751
  throw new RangeError("Invalid time value");
2752
- var ae = ua(J), R = bs(J, ae), X = {
2753
- firstWeekContainsDate: j,
2752
+ var ae = ua(J), j = bs(J, ae), X = {
2753
+ firstWeekContainsDate: R,
2754
2754
  weekStartsOn: G,
2755
2755
  locale: N,
2756
2756
  _originalDate: J
@@ -2769,7 +2769,7 @@ function Zn(t, e, a) {
2769
2769
  return d3(se);
2770
2770
  var L = f0[ee];
2771
2771
  if (L)
2772
- return !(a != null && a.useAdditionalWeekYearTokens) && b0(se) && mn(se, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && y0(se) && mn(se, e, String(t)), L(R, se, N.localize, X);
2772
+ return !(a != null && a.useAdditionalWeekYearTokens) && b0(se) && mn(se, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && y0(se) && mn(se, e, String(t)), L(j, se, N.localize, X);
2773
2773
  if (ee.match(c3))
2774
2774
  throw new RangeError("Format string contains an unescaped latin alphabet character `" + ee + "`");
2775
2775
  return se;
@@ -2918,7 +2918,7 @@ function M3(t, e, a) {
2918
2918
  function A3(t, e) {
2919
2919
  return e >= 0 && e <= 59;
2920
2920
  }
2921
- var Ve = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, we = {}, zn = {}, sa = {}, Ca = {}, Kt = {}, xa = {};
2921
+ var De = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, we = {}, zn = {}, sa = {}, Ca = {}, Kt = {}, xa = {};
2922
2922
  Object.defineProperty(xa, "__esModule", { value: !0 });
2923
2923
  xa.lexoHelper = void 0;
2924
2924
  xa.lexoHelper = {
@@ -3161,34 +3161,34 @@ oe.POSITIVE_SIGN = 1;
3161
3161
  Object.defineProperty(Ca, "__esModule", { value: !0 });
3162
3162
  Ca.LexoDecimal = void 0;
3163
3163
  const na = Kt, I3 = _a;
3164
- class Pe {
3164
+ class He {
3165
3165
  constructor(e, a) {
3166
3166
  this.mag = e, this.sig = a;
3167
3167
  }
3168
3168
  static half(e) {
3169
3169
  const a = e.getBase() / 2 | 0;
3170
- return Pe.make(na.LexoInteger.make(e, 1, [a]), 1);
3170
+ return He.make(na.LexoInteger.make(e, 1, [a]), 1);
3171
3171
  }
3172
3172
  static parse(e, a) {
3173
3173
  const s = e.indexOf(a.getRadixPointChar());
3174
3174
  if (e.lastIndexOf(a.getRadixPointChar()) !== s)
3175
3175
  throw new Error("More than one " + a.getRadixPointChar());
3176
3176
  if (s < 0)
3177
- return Pe.make(na.LexoInteger.parse(e, a), 0);
3177
+ return He.make(na.LexoInteger.parse(e, a), 0);
3178
3178
  const n = e.substring(0, s) + e.substring(s + 1);
3179
- return Pe.make(na.LexoInteger.parse(n, a), e.length - 1 - s);
3179
+ return He.make(na.LexoInteger.parse(n, a), e.length - 1 - s);
3180
3180
  }
3181
3181
  static from(e) {
3182
- return Pe.make(e, 0);
3182
+ return He.make(e, 0);
3183
3183
  }
3184
3184
  static make(e, a) {
3185
3185
  if (e.isZero())
3186
- return new Pe(e, 0);
3186
+ return new He(e, 0);
3187
3187
  let s = 0;
3188
3188
  for (let o = 0; o < a && e.getMag(o) === 0; ++o)
3189
3189
  ++s;
3190
3190
  const n = e.shiftRight(s), i = a - s;
3191
- return new Pe(n, i);
3191
+ return new He(n, i);
3192
3192
  }
3193
3193
  getSystem() {
3194
3194
  return this.mag.getSystem();
@@ -3199,7 +3199,7 @@ class Pe {
3199
3199
  a = a.shiftLeft();
3200
3200
  for (; s > i; )
3201
3201
  n = n.shiftLeft(), ++i;
3202
- return Pe.make(a.add(n), s);
3202
+ return He.make(a.add(n), s);
3203
3203
  }
3204
3204
  subtract(e) {
3205
3205
  let a = this.mag, s = this.sig, n = e.mag, i;
@@ -3207,10 +3207,10 @@ class Pe {
3207
3207
  a = a.shiftLeft();
3208
3208
  for (; s > i; )
3209
3209
  n = n.shiftLeft(), ++i;
3210
- return Pe.make(a.subtract(n), s);
3210
+ return He.make(a.subtract(n), s);
3211
3211
  }
3212
3212
  multiply(e) {
3213
- return Pe.make(this.mag.multiply(e.mag), this.sig + e.sig);
3213
+ return He.make(this.mag.multiply(e.mag), this.sig + e.sig);
3214
3214
  }
3215
3215
  floor() {
3216
3216
  return this.mag.shiftRight(this.sig);
@@ -3238,7 +3238,7 @@ class Pe {
3238
3238
  e < 0 && (e = 0);
3239
3239
  const s = this.sig - e;
3240
3240
  let n = this.mag.shiftRight(s);
3241
- return a && (n = n.add(na.LexoInteger.one(n.getSystem()))), Pe.make(n, e);
3241
+ return a && (n = n.add(na.LexoInteger.one(n.getSystem()))), He.make(n, e);
3242
3242
  }
3243
3243
  compareTo(e) {
3244
3244
  if (this === e)
@@ -3264,7 +3264,7 @@ class Pe {
3264
3264
  return this.format();
3265
3265
  }
3266
3266
  }
3267
- Ca.LexoDecimal = Pe;
3267
+ Ca.LexoDecimal = He;
3268
3268
  var La = {}, gn;
3269
3269
  function qn() {
3270
3270
  if (gn)
@@ -3420,7 +3420,7 @@ class H3 {
3420
3420
  }
3421
3421
  Ga.LexoNumeralSystem64 = H3;
3422
3422
  (function(t) {
3423
- var e = Ve && Ve.__createBinding || (Object.create ? function(s, n, i, o) {
3423
+ var e = De && De.__createBinding || (Object.create ? function(s, n, i, o) {
3424
3424
  o === void 0 && (o = i);
3425
3425
  var l = Object.getOwnPropertyDescriptor(n, i);
3426
3426
  (!l || ("get" in l ? !n.__esModule : l.writable || l.configurable)) && (l = { enumerable: !0, get: function() {
@@ -3428,7 +3428,7 @@ Ga.LexoNumeralSystem64 = H3;
3428
3428
  } }), Object.defineProperty(s, o, l);
3429
3429
  } : function(s, n, i, o) {
3430
3430
  o === void 0 && (o = i), s[o] = n[i];
3431
- }), a = Ve && Ve.__exportStar || function(s, n) {
3431
+ }), a = De && De.__exportStar || function(s, n) {
3432
3432
  for (var i in s)
3433
3433
  i !== "default" && !Object.prototype.hasOwnProperty.call(n, i) && e(n, s, i);
3434
3434
  };
@@ -3613,7 +3613,7 @@ function Yn() {
3613
3613
  return sa.LexoRank = n, sa;
3614
3614
  }
3615
3615
  (function(t) {
3616
- var e = Ve && Ve.__createBinding || (Object.create ? function(s, n, i, o) {
3616
+ var e = De && De.__createBinding || (Object.create ? function(s, n, i, o) {
3617
3617
  o === void 0 && (o = i);
3618
3618
  var l = Object.getOwnPropertyDescriptor(n, i);
3619
3619
  (!l || ("get" in l ? !n.__esModule : l.writable || l.configurable)) && (l = { enumerable: !0, get: function() {
@@ -3621,14 +3621,14 @@ function Yn() {
3621
3621
  } }), Object.defineProperty(s, o, l);
3622
3622
  } : function(s, n, i, o) {
3623
3623
  o === void 0 && (o = i), s[o] = n[i];
3624
- }), a = Ve && Ve.__exportStar || function(s, n) {
3624
+ }), a = De && De.__exportStar || function(s, n) {
3625
3625
  for (var i in s)
3626
3626
  i !== "default" && !Object.prototype.hasOwnProperty.call(n, i) && e(n, s, i);
3627
3627
  };
3628
3628
  Object.defineProperty(t, "__esModule", { value: !0 }), a(Yn(), t), a(qn(), t), a(Ca, t), a(Kt, t);
3629
3629
  })(zn);
3630
3630
  (function(t) {
3631
- var e = Ve && Ve.__createBinding || (Object.create ? function(s, n, i, o) {
3631
+ var e = De && De.__createBinding || (Object.create ? function(s, n, i, o) {
3632
3632
  o === void 0 && (o = i);
3633
3633
  var l = Object.getOwnPropertyDescriptor(n, i);
3634
3634
  (!l || ("get" in l ? !n.__esModule : l.writable || l.configurable)) && (l = { enumerable: !0, get: function() {
@@ -3636,7 +3636,7 @@ function Yn() {
3636
3636
  } }), Object.defineProperty(s, o, l);
3637
3637
  } : function(s, n, i, o) {
3638
3638
  o === void 0 && (o = i), s[o] = n[i];
3639
- }), a = Ve && Ve.__exportStar || function(s, n) {
3639
+ }), a = De && De.__exportStar || function(s, n) {
3640
3640
  for (var i in s)
3641
3641
  i !== "default" && !Object.prototype.hasOwnProperty.call(n, i) && e(n, s, i);
3642
3642
  };
@@ -4322,7 +4322,7 @@ const w5 = /* @__PURE__ */ Y({
4322
4322
  ], 2));
4323
4323
  }
4324
4324
  });
4325
- const da = Math.min, He = Math.max, Ua = Math.round, Pa = Math.floor, ft = (t) => ({
4325
+ const da = Math.min, Ve = Math.max, Ua = Math.round, Pa = Math.floor, ft = (t) => ({
4326
4326
  x: t,
4327
4327
  y: t
4328
4328
  }), V5 = {
@@ -4597,33 +4597,33 @@ const z5 = function(t) {
4597
4597
  const $ = Zt(n), b = Zt(l) === l, m = await (r.isRTL == null ? void 0 : r.isRTL(d.floating)), O = p || (b || !w ? [Fa(l)] : j5(l));
4598
4598
  !p && _ !== "none" && O.push(...U5(l, w, _, m));
4599
4599
  const P = [l, ...O], k = await eo(e, g), N = [];
4600
- let j = ((s = i.flip) == null ? void 0 : s.overflows) || [];
4600
+ let R = ((s = i.flip) == null ? void 0 : s.overflows) || [];
4601
4601
  if (u && N.push(k[$]), c) {
4602
- const R = R5(n, o, m);
4603
- N.push(k[R[0]], k[R[1]]);
4602
+ const j = R5(n, o, m);
4603
+ N.push(k[j[0]], k[j[1]]);
4604
4604
  }
4605
- if (j = [...j, {
4605
+ if (R = [...R, {
4606
4606
  placement: n,
4607
4607
  overflows: N
4608
- }], !N.every((R) => R <= 0)) {
4608
+ }], !N.every((j) => j <= 0)) {
4609
4609
  var G, J;
4610
- const R = (((G = i.flip) == null ? void 0 : G.index) || 0) + 1, X = P[R];
4610
+ const j = (((G = i.flip) == null ? void 0 : G.index) || 0) + 1, X = P[j];
4611
4611
  if (X)
4612
4612
  return {
4613
4613
  data: {
4614
- index: R,
4615
- overflows: j
4614
+ index: j,
4615
+ overflows: R
4616
4616
  },
4617
4617
  reset: {
4618
4618
  placement: X
4619
4619
  }
4620
4620
  };
4621
- let le = (J = j.filter((se) => se.overflows[0] <= 0).sort((se, ee) => se.overflows[1] - ee.overflows[1])[0]) == null ? void 0 : J.placement;
4621
+ let le = (J = R.filter((se) => se.overflows[0] <= 0).sort((se, ee) => se.overflows[1] - ee.overflows[1])[0]) == null ? void 0 : J.placement;
4622
4622
  if (!le)
4623
4623
  switch (f) {
4624
4624
  case "bestFit": {
4625
4625
  var ae;
4626
- const se = (ae = j.map((ee) => [ee.placement, ee.overflows.filter((L) => L > 0).reduce((L, I) => L + I, 0)]).sort((ee, L) => ee[1] - L[1])[0]) == null ? void 0 : ae[0];
4626
+ const se = (ae = R.map((ee) => [ee.placement, ee.overflows.filter((L) => L > 0).reduce((L, I) => L + I, 0)]).sort((ee, L) => ee[1] - L[1])[0]) == null ? void 0 : ae[0];
4627
4627
  se && (le = se);
4628
4628
  break;
4629
4629
  }
@@ -4671,8 +4671,8 @@ const z5 = function(t) {
4671
4671
  m = u || b ? da(g, k) : k;
4672
4672
  }
4673
4673
  if (b && !u) {
4674
- const k = He(r.left, 0), N = He(r.right, 0), j = He(r.top, 0), G = He(r.bottom, 0);
4675
- c ? O = p - 2 * (k !== 0 || N !== 0 ? k + N : He(r.left, r.right)) : m = f - 2 * (j !== 0 || G !== 0 ? j + G : He(r.top, r.bottom));
4674
+ const k = Ve(r.left, 0), N = Ve(r.right, 0), R = Ve(r.top, 0), G = Ve(r.bottom, 0);
4675
+ c ? O = p - 2 * (k !== 0 || N !== 0 ? k + N : Ve(r.left, r.right)) : m = f - 2 * (R !== 0 || G !== 0 ? R + G : Ve(r.top, r.bottom));
4676
4676
  }
4677
4677
  await o({
4678
4678
  ...e,
@@ -4691,7 +4691,7 @@ const z5 = function(t) {
4691
4691
  function ht(t) {
4692
4692
  return to(t) ? (t.nodeName || "").toLowerCase() : "#document";
4693
4693
  }
4694
- function Te(t) {
4694
+ function Oe(t) {
4695
4695
  var e;
4696
4696
  return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
4697
4697
  }
@@ -4700,16 +4700,16 @@ function st(t) {
4700
4700
  return (e = (to(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
4701
4701
  }
4702
4702
  function to(t) {
4703
- return t instanceof Node || t instanceof Te(t).Node;
4703
+ return t instanceof Node || t instanceof Oe(t).Node;
4704
4704
  }
4705
4705
  function tt(t) {
4706
- return t instanceof Element || t instanceof Te(t).Element;
4706
+ return t instanceof Element || t instanceof Oe(t).Element;
4707
4707
  }
4708
4708
  function ze(t) {
4709
- return t instanceof HTMLElement || t instanceof Te(t).HTMLElement;
4709
+ return t instanceof HTMLElement || t instanceof Oe(t).HTMLElement;
4710
4710
  }
4711
4711
  function yn(t) {
4712
- return typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof Te(t).ShadowRoot;
4712
+ return typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof Oe(t).ShadowRoot;
4713
4713
  }
4714
4714
  function wa(t) {
4715
4715
  const {
@@ -4743,7 +4743,7 @@ function es(t) {
4743
4743
  return ["html", "body", "#document"].includes(ht(t));
4744
4744
  }
4745
4745
  function Re(t) {
4746
- return Te(t).getComputedStyle(t);
4746
+ return Oe(t).getComputedStyle(t);
4747
4747
  }
4748
4748
  function ts(t) {
4749
4749
  return tt(t) ? {
@@ -4773,7 +4773,7 @@ function ao(t) {
4773
4773
  function pa(t, e, a) {
4774
4774
  var s;
4775
4775
  e === void 0 && (e = []), a === void 0 && (a = !0);
4776
- const n = ao(t), i = n === ((s = t.ownerDocument) == null ? void 0 : s.body), o = Te(n);
4776
+ const n = ao(t), i = n === ((s = t.ownerDocument) == null ? void 0 : s.body), o = Oe(n);
4777
4777
  return i ? e.concat(o, o.visualViewport || [], wa(n) ? n : [], o.frameElement && a ? pa(o.frameElement) : []) : e.concat(n, pa(n));
4778
4778
  }
4779
4779
  function so(t) {
@@ -4806,14 +4806,14 @@ function Nt(t) {
4806
4806
  }
4807
4807
  const K5 = /* @__PURE__ */ ft(0);
4808
4808
  function no(t) {
4809
- const e = Te(t);
4809
+ const e = Oe(t);
4810
4810
  return !js() || !e.visualViewport ? K5 : {
4811
4811
  x: e.visualViewport.offsetLeft,
4812
4812
  y: e.visualViewport.offsetTop
4813
4813
  };
4814
4814
  }
4815
4815
  function G5(t, e, a) {
4816
- return e === void 0 && (e = !1), !a || e && a !== Te(t) ? !1 : e;
4816
+ return e === void 0 && (e = !1), !a || e && a !== Oe(t) ? !1 : e;
4817
4817
  }
4818
4818
  function Ot(t, e, a, s) {
4819
4819
  e === void 0 && (e = !1), a === void 0 && (a = !1);
@@ -4823,11 +4823,11 @@ function Ot(t, e, a, s) {
4823
4823
  const l = G5(i, a, s) ? no(i) : ft(0);
4824
4824
  let r = (n.left + l.x) / o.x, d = (n.top + l.y) / o.y, u = n.width / o.x, c = n.height / o.y;
4825
4825
  if (i) {
4826
- const p = Te(i), f = s && tt(s) ? Te(s) : s;
4826
+ const p = Oe(i), f = s && tt(s) ? Oe(s) : s;
4827
4827
  let _ = p.frameElement;
4828
4828
  for (; _ && s && f !== p; ) {
4829
4829
  const w = Nt(_), g = _.getBoundingClientRect(), $ = Re(_), b = g.left + (_.clientLeft + parseFloat($.paddingLeft)) * w.x, m = g.top + (_.clientTop + parseFloat($.paddingTop)) * w.y;
4830
- r *= w.x, d *= w.y, u *= w.x, c *= w.y, r += b, d += m, _ = Te(_).frameElement;
4830
+ r *= w.x, d *= w.y, u *= w.x, c *= w.y, r += b, d += m, _ = Oe(_).frameElement;
4831
4831
  }
4832
4832
  }
4833
4833
  return Za({
@@ -4869,10 +4869,10 @@ function oo(t) {
4869
4869
  return Ot(st(t)).left + ts(t).scrollLeft;
4870
4870
  }
4871
4871
  function J5(t) {
4872
- const e = st(t), a = ts(t), s = t.ownerDocument.body, n = He(e.scrollWidth, e.clientWidth, s.scrollWidth, s.clientWidth), i = He(e.scrollHeight, e.clientHeight, s.scrollHeight, s.clientHeight);
4872
+ const e = st(t), a = ts(t), s = t.ownerDocument.body, n = Ve(e.scrollWidth, e.clientWidth, s.scrollWidth, s.clientWidth), i = Ve(e.scrollHeight, e.clientHeight, s.scrollHeight, s.clientHeight);
4873
4873
  let o = -a.scrollLeft + oo(t);
4874
4874
  const l = -a.scrollTop;
4875
- return Re(s).direction === "rtl" && (o += He(e.clientWidth, s.clientWidth) - n), {
4875
+ return Re(s).direction === "rtl" && (o += Ve(e.clientWidth, s.clientWidth) - n), {
4876
4876
  width: n,
4877
4877
  height: i,
4878
4878
  x: o,
@@ -4880,7 +4880,7 @@ function J5(t) {
4880
4880
  };
4881
4881
  }
4882
4882
  function e7(t, e) {
4883
- const a = Te(t), s = st(t), n = a.visualViewport;
4883
+ const a = Oe(t), s = st(t), n = a.visualViewport;
4884
4884
  let i = s.clientWidth, o = s.clientHeight, l = 0, r = 0;
4885
4885
  if (n) {
4886
4886
  i = n.width, o = n.height;
@@ -4947,7 +4947,7 @@ function s7(t) {
4947
4947
  } = t;
4948
4948
  const o = [...a === "clippingAncestors" ? a7(e, this._c) : [].concat(a), s], l = o[0], r = o.reduce((d, u) => {
4949
4949
  const c = bn(e, u, n);
4950
- return d.top = He(c.top, d.top), d.right = da(c.right, d.right), d.bottom = da(c.bottom, d.bottom), d.left = He(c.left, d.left), d;
4950
+ return d.top = Ve(c.top, d.top), d.right = da(c.right, d.right), d.bottom = da(c.bottom, d.bottom), d.left = Ve(c.left, d.left), d;
4951
4951
  }, bn(e, l, n));
4952
4952
  return {
4953
4953
  width: r.right - r.left,
@@ -4983,7 +4983,7 @@ function wn(t, e) {
4983
4983
  return !ze(t) || Re(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
4984
4984
  }
4985
4985
  function lo(t, e) {
4986
- const a = Te(t);
4986
+ const a = Oe(t);
4987
4987
  if (!ze(t))
4988
4988
  return a;
4989
4989
  let s = wn(t, e);
@@ -5040,7 +5040,7 @@ function u7(t, e) {
5040
5040
  return;
5041
5041
  const f = Pa(u), _ = Pa(n.clientWidth - (d + c)), w = Pa(n.clientHeight - (u + p)), g = Pa(d), b = {
5042
5042
  rootMargin: -f + "px " + -_ + "px " + -w + "px " + -g + "px",
5043
- threshold: He(0, da(1, r)) || 1
5043
+ threshold: Ve(0, da(1, r)) || 1
5044
5044
  };
5045
5045
  let m = !0;
5046
5046
  function O(P) {
@@ -5179,21 +5179,21 @@ const d7 = (t, e, a) => {
5179
5179
  l.value();
5180
5180
  });
5181
5181
  };
5182
- function Ze(t) {
5182
+ function We(t) {
5183
5183
  return [null, void 0].indexOf(t) !== -1;
5184
5184
  }
5185
5185
  function v7(t, e, a) {
5186
- const { object: s, valueProp: n, mode: i } = Ee(t), o = Pt().proxy, l = a.iv, r = (c, p = !0) => {
5186
+ const { object: s, valueProp: n, mode: i } = Ie(t), o = Pt().proxy, l = a.iv, r = (c, p = !0) => {
5187
5187
  l.value = u(c);
5188
5188
  const f = d(c);
5189
5189
  e.emit("change", f, o), p && (e.emit("input", f), e.emit("update:modelValue", f));
5190
- }, d = (c) => s.value || Ze(c) ? c : Array.isArray(c) ? c.map((p) => p[n.value]) : c[n.value], u = (c) => Ze(c) ? i.value === "single" ? {} : [] : c;
5190
+ }, d = (c) => s.value || We(c) ? c : Array.isArray(c) ? c.map((p) => p[n.value]) : c[n.value], u = (c) => We(c) ? i.value === "single" ? {} : [] : c;
5191
5191
  return {
5192
5192
  update: r
5193
5193
  };
5194
5194
  }
5195
5195
  function f7(t, e) {
5196
- const { value: a, modelValue: s, mode: n, valueProp: i } = Ee(t), o = q(n.value !== "single" ? [] : {}), l = A(() => s && s.value !== void 0 ? s.value : a.value), r = A(() => n.value === "single" ? o.value[i.value] : o.value.map((u) => u[i.value])), d = A(() => n.value !== "single" ? o.value.map((u) => u[i.value]).join(",") : o.value[i.value]);
5196
+ const { value: a, modelValue: s, mode: n, valueProp: i } = Ie(t), o = q(n.value !== "single" ? [] : {}), l = A(() => s && s.value !== void 0 ? s.value : a.value), r = A(() => n.value === "single" ? o.value[i.value] : o.value.map((u) => u[i.value])), d = A(() => n.value !== "single" ? o.value.map((u) => u[i.value]).join(",") : o.value[i.value]);
5197
5197
  return {
5198
5198
  iv: o,
5199
5199
  internalValue: o,
@@ -5204,7 +5204,7 @@ function f7(t, e) {
5204
5204
  };
5205
5205
  }
5206
5206
  function h7(t, e, a) {
5207
- const { regex: s } = Ee(t), n = Pt().proxy, i = a.isOpen, o = a.open, l = q(null), r = () => {
5207
+ const { regex: s } = Ie(t), n = Pt().proxy, i = a.isOpen, o = a.open, l = q(null), r = () => {
5208
5208
  l.value = "";
5209
5209
  }, d = (p) => {
5210
5210
  l.value = p.target.value;
@@ -5232,7 +5232,7 @@ function h7(t, e, a) {
5232
5232
  };
5233
5233
  }
5234
5234
  function m7(t, e, a) {
5235
- const { groupSelect: s, mode: n, groups: i, disabledProp: o } = Ee(t), l = q(null), r = (u) => {
5235
+ const { groupSelect: s, mode: n, groups: i, disabledProp: o } = Ie(t), l = q(null), r = (u) => {
5236
5236
  u === void 0 || u !== null && u[o.value] || i.value && u && u.group && (n.value === "single" || !s.value) || (l.value = u);
5237
5237
  };
5238
5238
  return {
@@ -5278,11 +5278,11 @@ function _7(t, e, a) {
5278
5278
  clearOnSelect: P,
5279
5279
  valueProp: k,
5280
5280
  allowAbsent: N,
5281
- groupLabel: j,
5281
+ groupLabel: R,
5282
5282
  canDeselect: G,
5283
5283
  max: J,
5284
5284
  strict: ae,
5285
- closeOnSelect: R,
5285
+ closeOnSelect: j,
5286
5286
  closeOnDeselect: X,
5287
5287
  groups: le,
5288
5288
  reverse: se,
@@ -5294,7 +5294,7 @@ function _7(t, e, a) {
5294
5294
  disabledProp: y,
5295
5295
  searchStart: V,
5296
5296
  searchFilter: ie
5297
- } = Ee(t), ne = Pt().proxy, z = a.iv, H = a.ev, K = a.search, he = a.clearSearch, Se = a.update, Gt = a.pointer, Xt = a.setPointer, nt = a.clearPointer, $a = a.focus, ls = a.deactivate, ot = a.close, ka = a.localize, it = q([]), Fe = q([]), Ie = q(!1), je = q(null), Ye = q(ee.value && o.value === -1 ? 10 : o.value), Qt = A(() => r.value || d.value || !1), Sa = A(() => c.value !== void 0 ? c.value : p.value !== void 0 ? p.value : !0), Le = A(() => {
5297
+ } = Ie(t), ne = Pt().proxy, z = a.iv, H = a.ev, K = a.search, he = a.clearSearch, Se = a.update, Gt = a.pointer, Xt = a.setPointer, nt = a.clearPointer, $a = a.focus, ls = a.deactivate, ot = a.close, ka = a.localize, it = q([]), Ze = q([]), Le = q(!1), je = q(null), Ye = q(ee.value && o.value === -1 ? 10 : o.value), Qt = A(() => r.value || d.value || !1), Sa = A(() => c.value !== void 0 ? c.value : p.value !== void 0 ? p.value : !0), Pe = A(() => {
5298
5298
  if (le.value) {
5299
5299
  let M = bt.value || /* istanbul ignore next */
5300
5300
  [], B = [];
@@ -5304,12 +5304,12 @@ function _7(t, e, a) {
5304
5304
  });
5305
5305
  }), B;
5306
5306
  } else {
5307
- let M = fs(Fe.value || /* istanbul ignore next */
5307
+ let M = fs(Ze.value || /* istanbul ignore next */
5308
5308
  []);
5309
5309
  return it.value.length && (M = M.concat(it.value)), M;
5310
5310
  }
5311
5311
  }), Jt = A(() => {
5312
- let M = Le.value;
5312
+ let M = Pe.value;
5313
5313
  return se.value && (M = M.reverse()), Ht.value.length && (M = Ht.value.concat(M)), vs(M);
5314
5314
  }), lt = A(() => {
5315
5315
  let M = Jt.value;
@@ -5317,17 +5317,17 @@ function _7(t, e, a) {
5317
5317
  }), bt = A(() => {
5318
5318
  if (!le.value)
5319
5319
  return [];
5320
- let M = [], B = Fe.value || /* istanbul ignore next */
5320
+ let M = [], B = Ze.value || /* istanbul ignore next */
5321
5321
  [];
5322
5322
  return it.value.length && M.push({
5323
- [j.value]: " ",
5323
+ [R.value]: " ",
5324
5324
  [L.value]: [...it.value],
5325
5325
  __CREATE__: !0
5326
5326
  }), M.concat(B);
5327
5327
  }), Ma = A(() => {
5328
5328
  let M = [...bt.value].map((B) => ({ ...B }));
5329
5329
  return Ht.value.length && (M[0] && M[0].__CREATE__ ? M[0][L.value] = [...Ht.value, ...M[0][L.value]] : M = [{
5330
- [j.value]: " ",
5330
+ [R.value]: " ",
5331
5331
  [L.value]: [...Ht.value],
5332
5332
  __CREATE__: !0
5333
5333
  }].concat(M)), M;
@@ -5349,12 +5349,12 @@ function _7(t, e, a) {
5349
5349
  }), us = A(() => {
5350
5350
  switch (n.value) {
5351
5351
  case "single":
5352
- return !Ze(z.value[k.value]);
5352
+ return !We(z.value[k.value]);
5353
5353
  case "multiple":
5354
5354
  case "tags":
5355
- return !Ze(z.value) && z.value.length > 0;
5355
+ return !We(z.value) && z.value.length > 0;
5356
5356
  }
5357
- }), yo = A(() => f !== void 0 && f.value !== void 0 ? f.value(z.value, ne) : z.value && z.value.length > 1 ? `${z.value.length} options selected` : "1 option selected"), bo = A(() => !Le.value.length && !Ie.value && !Ht.value.length), wo = A(() => Le.value.length > 0 && lt.value.length == 0 && (K.value && le.value || !le.value)), Ht = A(() => Qt.value === !1 || !K.value ? [] : Io(K.value) !== -1 ? [] : [{
5357
+ }), yo = A(() => f !== void 0 && f.value !== void 0 ? f.value(z.value, ne) : z.value && z.value.length > 1 ? `${z.value.length} options selected` : "1 option selected"), bo = A(() => !Pe.value.length && !Le.value && !Ht.value.length), wo = A(() => Pe.value.length > 0 && lt.value.length == 0 && (K.value && le.value || !le.value)), Ht = A(() => Qt.value === !1 || !K.value ? [] : Io(K.value) !== -1 ? [] : [{
5358
5358
  [k.value]: K.value,
5359
5359
  [wt.value[0]]: K.value,
5360
5360
  [u.value]: K.value,
@@ -5367,7 +5367,7 @@ function _7(t, e, a) {
5367
5367
  case "tags":
5368
5368
  return [];
5369
5369
  }
5370
- }), ko = A(() => w.value || Ie.value), Vt = (M) => {
5370
+ }), ko = A(() => w.value || Le.value), Vt = (M) => {
5371
5371
  switch (typeof M != "object" && (M = Ge(M)), n.value) {
5372
5372
  case "single":
5373
5373
  Se(M);
@@ -5404,16 +5404,16 @@ function _7(t, e, a) {
5404
5404
  return n.value === "single" ? !1 : Eo(M[L.value]) && M[L.value].length;
5405
5405
  switch (n.value) {
5406
5406
  case "single":
5407
- return !Ze(z.value) && z.value[k.value] == M[k.value];
5407
+ return !We(z.value) && z.value[k.value] == M[k.value];
5408
5408
  case "tags":
5409
5409
  case "multiple":
5410
- return !Ze(z.value) && z.value.map((B) => B[k.value]).indexOf(M[k.value]) !== -1;
5410
+ return !We(z.value) && z.value.map((B) => B[k.value]).indexOf(M[k.value]) !== -1;
5411
5411
  }
5412
5412
  }, cs = (M) => M[y.value] === !0, ds = () => J === void 0 || J.value === -1 || !us.value && J.value > 0 ? !1 : z.value.length >= J.value, Mo = (M) => {
5413
5413
  if (!cs(M)) {
5414
5414
  if (U && U.value && !Ke(M) && M.__CREATE__ && (M = { ...M }, delete M.__CREATE__, M = U.value(M, ne), M instanceof Promise)) {
5415
- Ie.value = !0, M.then((B) => {
5416
- Ie.value = !1, rn(B);
5415
+ Le.value = !0, M.then((B) => {
5416
+ Le.value = !1, rn(B);
5417
5417
  });
5418
5418
  return;
5419
5419
  }
@@ -5426,7 +5426,7 @@ function _7(t, e, a) {
5426
5426
  G.value && Dt(M), X.value && (nt(), ot());
5427
5427
  return;
5428
5428
  }
5429
- M && ps(M), P.value && he(), R.value && (nt(), ot()), M && Vt(M);
5429
+ M && ps(M), P.value && he(), j.value && (nt(), ot()), M && Vt(M);
5430
5430
  break;
5431
5431
  case "multiple":
5432
5432
  if (M && Ke(M)) {
@@ -5437,7 +5437,7 @@ function _7(t, e, a) {
5437
5437
  e.emit("max", ne);
5438
5438
  return;
5439
5439
  }
5440
- M && (ps(M), Vt(M)), P.value && he(), l.value && nt(), R.value && ot();
5440
+ M && (ps(M), Vt(M)), P.value && he(), l.value && nt(), j.value && ot();
5441
5441
  break;
5442
5442
  case "tags":
5443
5443
  if (M && Ke(M)) {
@@ -5448,10 +5448,10 @@ function _7(t, e, a) {
5448
5448
  e.emit("max", ne);
5449
5449
  return;
5450
5450
  }
5451
- M && ps(M), P.value && he(), M && Vt(M), l.value && nt(), R.value && ot();
5451
+ M && ps(M), P.value && he(), M && Vt(M), l.value && nt(), j.value && ot();
5452
5452
  break;
5453
5453
  }
5454
- R.value || $a();
5454
+ j.value || $a();
5455
5455
  }, Ao = (M) => {
5456
5456
  if (!(cs(M) || n.value === "single" || !S.value)) {
5457
5457
  switch (n.value) {
@@ -5462,13 +5462,13 @@ function _7(t, e, a) {
5462
5462
  ), l.value && Gt.value && Xt(rs.value.filter((B) => !B[y.value])[Gt.value.index]);
5463
5463
  break;
5464
5464
  }
5465
- R.value && ls();
5465
+ j.value && ls();
5466
5466
  }
5467
5467
  }, ps = (M) => {
5468
5468
  Ge(M[k.value]) === void 0 && Qt.value && (e.emit("tag", M[k.value], ne), e.emit("option", M[k.value], ne), e.emit("create", M[k.value], ne), Sa.value && Po(M), he());
5469
5469
  }, To = () => {
5470
5470
  n.value !== "single" && Vt(lt.value.filter((M) => !M.disabled && !Ke(M)));
5471
- }, Oo = (M) => M.find((B) => !Ke(B) && !B[y.value]) === void 0, Eo = (M) => M.find((B) => !Ke(B)) === void 0, Ge = (M) => Le.value[Le.value.map((B) => String(B[k.value])).indexOf(String(M))], Io = (M) => Le.value.findIndex((B) => wt.value.some((ue) => (parseInt(B[ue]) == B[ue] ? parseInt(B[ue]) : B[ue]) === (parseInt(M) == M ? parseInt(M) : M))), Lo = (M) => ["tags", "multiple"].indexOf(n.value) !== -1 && l.value && Ke(M), Po = (M) => {
5471
+ }, Oo = (M) => M.find((B) => !Ke(B) && !B[y.value]) === void 0, Eo = (M) => M.find((B) => !Ke(B)) === void 0, Ge = (M) => Pe.value[Pe.value.map((B) => String(B[k.value])).indexOf(String(M))], Io = (M) => Pe.value.findIndex((B) => wt.value.some((ue) => (parseInt(B[ue]) == B[ue] ? parseInt(B[ue]) : B[ue]) === (parseInt(M) == M ? parseInt(M) : M))), Lo = (M) => ["tags", "multiple"].indexOf(n.value) !== -1 && l.value && Ke(M), Po = (M) => {
5472
5472
  it.value.push(M);
5473
5473
  }, Ho = (M) => I.value ? M.filter(
5474
5474
  (B) => K.value ? B.__VISIBLE__.length : B[L.value].length
@@ -5489,12 +5489,12 @@ function _7(t, e, a) {
5489
5489
  return { [k.value]: ue, [wt.value[0]]: ge, [u.value]: ge };
5490
5490
  })), B = B.map((ue) => typeof ue == "object" ? ue : { [k.value]: ue, [wt.value[0]]: ue, [u.value]: ue }), B;
5491
5491
  }, Aa = () => {
5492
- Ze(H.value) || (z.value = Oa(H.value));
5493
- }, Ta = (M) => (Ie.value = !0, new Promise((B, ue) => {
5492
+ We(H.value) || (z.value = Oa(H.value));
5493
+ }, Ta = (M) => (Le.value = !0, new Promise((B, ue) => {
5494
5494
  s.value(K.value, ne).then((ge) => {
5495
- Fe.value = ge || [], typeof M == "function" && M(ge), Ie.value = !1;
5495
+ Ze.value = ge || [], typeof M == "function" && M(ge), Le.value = !1;
5496
5496
  }).catch((ge) => {
5497
- console.error(ge), Fe.value = [], Ie.value = !1;
5497
+ console.error(ge), Ze.value = [], Le.value = !1;
5498
5498
  }).finally(() => {
5499
5499
  B();
5500
5500
  });
@@ -5516,7 +5516,7 @@ function _7(t, e, a) {
5516
5516
  });
5517
5517
  }, Vo = (M) => {
5518
5518
  Ta(M);
5519
- }, Oa = (M) => Ze(M) ? n.value === "single" ? {} : [] : _.value ? M : n.value === "single" ? Ge(M) || (N.value ? {
5519
+ }, Oa = (M) => We(M) ? n.value === "single" ? {} : [] : _.value ? M : n.value === "single" ? Ge(M) || (N.value ? {
5520
5520
  [u.value]: M,
5521
5521
  [k.value]: M,
5522
5522
  [wt.value[0]]: M
@@ -5526,9 +5526,9 @@ function _7(t, e, a) {
5526
5526
  [wt.value[0]]: B
5527
5527
  }), un = () => {
5528
5528
  je.value = ce(K, (M) => {
5529
- M.length < b.value || !M && b.value !== 0 || (Ie.value = !0, O.value && (Fe.value = []), setTimeout(() => {
5529
+ M.length < b.value || !M && b.value !== 0 || (Le.value = !0, O.value && (Ze.value = []), setTimeout(() => {
5530
5530
  M == K.value && s.value(K.value, ne).then((B) => {
5531
- (M == K.value || !K.value) && (Fe.value = B, Gt.value = lt.value.filter((ue) => ue[y.value] !== !0)[0] || null, Ie.value = !1);
5531
+ (M == K.value || !K.value) && (Ze.value = B, Gt.value = lt.value.filter((ue) => ue[y.value] !== !0)[0] || null, Le.value = !1);
5532
5532
  }).catch(
5533
5533
  /* istanbul ignore next */
5534
5534
  (B) => {
@@ -5538,12 +5538,12 @@ function _7(t, e, a) {
5538
5538
  }, g.value));
5539
5539
  }, { flush: "sync" });
5540
5540
  };
5541
- if (n.value !== "single" && !Ze(H.value) && !Array.isArray(H.value))
5541
+ if (n.value !== "single" && !We(H.value) && !Array.isArray(H.value))
5542
5542
  throw new Error(`v-model must be an array when using "${n.value}" mode`);
5543
- return s && typeof s.value == "function" ? $.value ? Ta(Aa) : _.value == !0 && Aa() : (Fe.value = s.value, Aa()), g.value > -1 && un(), ce(g, (M, B) => {
5543
+ return s && typeof s.value == "function" ? $.value ? Ta(Aa) : _.value == !0 && Aa() : (Ze.value = s.value, Aa()), g.value > -1 && un(), ce(g, (M, B) => {
5544
5544
  je.value && je.value(), M >= 0 && un();
5545
5545
  }), ce(H, (M) => {
5546
- if (Ze(M)) {
5546
+ if (We(M)) {
5547
5547
  Se(Oa(M), !1);
5548
5548
  return;
5549
5549
  }
@@ -5557,7 +5557,7 @@ function _7(t, e, a) {
5557
5557
  break;
5558
5558
  }
5559
5559
  }, { deep: !0 }), ce(s, (M, B) => {
5560
- typeof t.options == "function" ? $.value && (!B || M && M.toString() !== B.toString()) && Ta() : (Fe.value = t.options, Object.keys(z.value).length || Aa(), hs());
5560
+ typeof t.options == "function" ? $.value && (!B || M && M.toString() !== B.toString()) && Ta() : (Ze.value = t.options, Object.keys(z.value).length || Aa(), hs());
5561
5561
  }), ce(u, hs), ce(o, (M, B) => {
5562
5562
  Ye.value = ee.value && M === -1 ? 10 : M;
5563
5563
  }), {
@@ -5566,15 +5566,15 @@ function _7(t, e, a) {
5566
5566
  filteredOptions: lt,
5567
5567
  hasSelected: us,
5568
5568
  multipleLabelText: yo,
5569
- eo: Le,
5570
- extendedOptions: Le,
5569
+ eo: Pe,
5570
+ extendedOptions: Pe,
5571
5571
  eg: bt,
5572
5572
  extendedGroups: bt,
5573
5573
  fg: rs,
5574
5574
  filteredGroups: rs,
5575
5575
  noOptions: bo,
5576
5576
  noResults: wo,
5577
- resolving: Ie,
5577
+ resolving: Le,
5578
5578
  busy: ko,
5579
5579
  offset: Ye,
5580
5580
  select: Vt,
@@ -5605,14 +5605,14 @@ function y7(t, e, a) {
5605
5605
  groupSelect: d,
5606
5606
  disabledProp: u,
5607
5607
  groupOptions: c
5608
- } = Ee(t), p = a.fo, f = a.fg, _ = a.handleOptionClick, w = a.handleGroupClick, g = a.search, $ = a.pointer, b = a.setPointer, m = a.clearPointer, O = a.multiselect, P = a.isOpen, k = A(() => p.value.filter((H) => !H[u.value])), N = A(() => f.value.filter((H) => !H[u.value])), j = A(() => r.value !== "single" && d.value), G = A(() => $.value && $.value.group), J = A(() => ne($.value)), ae = A(() => {
5608
+ } = Ie(t), p = a.fo, f = a.fg, _ = a.handleOptionClick, w = a.handleGroupClick, g = a.search, $ = a.pointer, b = a.setPointer, m = a.clearPointer, O = a.multiselect, P = a.isOpen, k = A(() => p.value.filter((H) => !H[u.value])), N = A(() => f.value.filter((H) => !H[u.value])), R = A(() => r.value !== "single" && d.value), G = A(() => $.value && $.value.group), J = A(() => ne($.value)), ae = A(() => {
5609
5609
  const H = G.value ? $.value : (
5610
5610
  /* istanbul ignore next */
5611
5611
  ne($.value)
5612
5612
  ), K = N.value.map((Se) => Se[o.value]).indexOf(H[o.value]);
5613
5613
  let he = N.value[K - 1];
5614
5614
  return he === void 0 && (he = X.value), he;
5615
- }), R = A(() => {
5615
+ }), j = A(() => {
5616
5616
  let H = N.value.map((K) => K.label).indexOf(G.value ? $.value[o.value] : ne($.value)[o.value]) + 1;
5617
5617
  return N.value.length <= H && (H = 0), N.value[H];
5618
5618
  }), X = A(() => [...N.value].slice(-1)[0]), le = A(() => $.value.__VISIBLE__.filter((H) => !H[u.value])[0]), se = A(() => {
@@ -5627,10 +5627,10 @@ function y7(t, e, a) {
5627
5627
  !$.value || $.value[u.value] === !0 || (G.value ? w($.value) : _($.value));
5628
5628
  }, V = () => {
5629
5629
  if ($.value === null)
5630
- b((l.value && j.value ? N.value[0].__CREATE__ ? k.value[0] : N.value[0] : k.value[0]) || null);
5631
- else if (l.value && j.value) {
5630
+ b((l.value && R.value ? N.value[0].__CREATE__ ? k.value[0] : N.value[0] : k.value[0]) || null);
5631
+ else if (l.value && R.value) {
5632
5632
  let H = G.value ? le.value : ee.value;
5633
- H === void 0 && (H = R.value, H.__CREATE__ && (H = H[c.value][0])), b(H || /* istanbul ignore next */
5633
+ H === void 0 && (H = j.value, H.__CREATE__ && (H = H[c.value][0])), b(H || /* istanbul ignore next */
5634
5634
  null);
5635
5635
  } else {
5636
5636
  let H = k.value.map((K) => K[s.value]).indexOf($.value[s.value]) + 1;
@@ -5642,8 +5642,8 @@ function y7(t, e, a) {
5642
5642
  }, ie = () => {
5643
5643
  if ($.value === null) {
5644
5644
  let H = k.value[k.value.length - 1];
5645
- l.value && j.value && (H = I.value, H === void 0 && (H = X.value)), b(H || null);
5646
- } else if (l.value && j.value) {
5645
+ l.value && R.value && (H = I.value, H === void 0 && (H = X.value)), b(H || null);
5646
+ } else if (l.value && R.value) {
5647
5647
  let H = G.value ? L.value : se.value;
5648
5648
  H === void 0 && (H = G.value ? ae.value : J.value, H.__CREATE__ && (H = L.value, H === void 0 && (H = ae.value))), b(H || /* istanbul ignore next */
5649
5649
  null);
@@ -5675,7 +5675,7 @@ function y7(t, e, a) {
5675
5675
  }
5676
5676
  }), {
5677
5677
  pointer: $,
5678
- canPointGroups: j,
5678
+ canPointGroups: R,
5679
5679
  isPointed: S,
5680
5680
  setPointerFirst: U,
5681
5681
  selectPointer: y,
@@ -5683,7 +5683,7 @@ function y7(t, e, a) {
5683
5683
  backwardPointer: ie
5684
5684
  };
5685
5685
  }
5686
- function Oe(t) {
5686
+ function Ee(t) {
5687
5687
  if (t == null)
5688
5688
  return window;
5689
5689
  if (t.toString() !== "[object Window]") {
@@ -5693,17 +5693,17 @@ function Oe(t) {
5693
5693
  return t;
5694
5694
  }
5695
5695
  function Et(t) {
5696
- var e = Oe(t).Element;
5696
+ var e = Ee(t).Element;
5697
5697
  return t instanceof e || t instanceof Element;
5698
5698
  }
5699
5699
  function Be(t) {
5700
- var e = Oe(t).HTMLElement;
5700
+ var e = Ee(t).HTMLElement;
5701
5701
  return t instanceof e || t instanceof HTMLElement;
5702
5702
  }
5703
5703
  function Us(t) {
5704
5704
  if (typeof ShadowRoot > "u")
5705
5705
  return !1;
5706
- var e = Oe(t).ShadowRoot;
5706
+ var e = Ee(t).ShadowRoot;
5707
5707
  return t instanceof e || t instanceof ShadowRoot;
5708
5708
  }
5709
5709
  var Mt = Math.max, Wa = Math.min, zt = Math.round;
@@ -5720,7 +5720,7 @@ function qt(t, e, a) {
5720
5720
  e === void 0 && (e = !1), a === void 0 && (a = !1);
5721
5721
  var s = t.getBoundingClientRect(), n = 1, i = 1;
5722
5722
  e && Be(t) && (n = t.offsetWidth > 0 && zt(s.width) / t.offsetWidth || 1, i = t.offsetHeight > 0 && zt(s.height) / t.offsetHeight || 1);
5723
- var o = Et(t) ? Oe(t) : window, l = o.visualViewport, r = !ro() && a, d = (s.left + (r && l ? l.offsetLeft : 0)) / n, u = (s.top + (r && l ? l.offsetTop : 0)) / i, c = s.width / n, p = s.height / i;
5723
+ var o = Et(t) ? Ee(t) : window, l = o.visualViewport, r = !ro() && a, d = (s.left + (r && l ? l.offsetLeft : 0)) / n, u = (s.top + (r && l ? l.offsetTop : 0)) / i, c = s.width / n, p = s.height / i;
5724
5724
  return {
5725
5725
  width: c,
5726
5726
  height: p,
@@ -5733,7 +5733,7 @@ function qt(t, e, a) {
5733
5733
  };
5734
5734
  }
5735
5735
  function Fs(t) {
5736
- var e = Oe(t), a = e.pageXOffset, s = e.pageYOffset;
5736
+ var e = Ee(t), a = e.pageXOffset, s = e.pageYOffset;
5737
5737
  return {
5738
5738
  scrollLeft: a,
5739
5739
  scrollTop: s
@@ -5746,7 +5746,7 @@ function b7(t) {
5746
5746
  };
5747
5747
  }
5748
5748
  function w7(t) {
5749
- return t === Oe(t) || !Be(t) ? Fs(t) : b7(t);
5749
+ return t === Ee(t) || !Be(t) ? Fs(t) : b7(t);
5750
5750
  }
5751
5751
  function qe(t) {
5752
5752
  return t ? (t.nodeName || "").toLowerCase() : null;
@@ -5761,7 +5761,7 @@ function Zs(t) {
5761
5761
  return qt(_t(t)).left + Fs(t).scrollLeft;
5762
5762
  }
5763
5763
  function at(t) {
5764
- return Oe(t).getComputedStyle(t);
5764
+ return Ee(t).getComputedStyle(t);
5765
5765
  }
5766
5766
  function Ws(t) {
5767
5767
  var e = at(t), a = e.overflow, s = e.overflowX, n = e.overflowY;
@@ -5815,7 +5815,7 @@ function co(t) {
5815
5815
  function ia(t, e) {
5816
5816
  var a;
5817
5817
  e === void 0 && (e = []);
5818
- var s = co(t), n = s === ((a = t.ownerDocument) == null ? void 0 : a.body), i = Oe(s), o = n ? [i].concat(i.visualViewport || [], Ws(s) ? s : []) : s, l = e.concat(o);
5818
+ var s = co(t), n = s === ((a = t.ownerDocument) == null ? void 0 : a.body), i = Ee(s), o = n ? [i].concat(i.visualViewport || [], Ws(s) ? s : []) : s, l = e.concat(o);
5819
5819
  return n ? l : (
5820
5820
  // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
5821
5821
  l.concat(ia(as(o)))
@@ -5845,11 +5845,11 @@ function M7(t) {
5845
5845
  return null;
5846
5846
  }
5847
5847
  function ss(t) {
5848
- for (var e = Oe(t), a = $n(t); a && S7(a) && at(a).position === "static"; )
5848
+ for (var e = Ee(t), a = $n(t); a && S7(a) && at(a).position === "static"; )
5849
5849
  a = $n(a);
5850
5850
  return a && (qe(a) === "html" || qe(a) === "body" && at(a).position === "static") ? e : a || M7(t) || e;
5851
5851
  }
5852
- var Ne = "top", xe = "bottom", mt = "right", Xe = "left", zs = "auto", ns = [Ne, xe, mt, Xe], xt = "start", va = "end", A7 = "clippingParents", po = "viewport", oa = "popper", T7 = "reference", kn = /* @__PURE__ */ ns.reduce(function(t, e) {
5852
+ var Ue = "top", xe = "bottom", mt = "right", Xe = "left", zs = "auto", ns = [Ue, xe, mt, Xe], xt = "start", va = "end", A7 = "clippingParents", po = "viewport", oa = "popper", T7 = "reference", kn = /* @__PURE__ */ ns.reduce(function(t, e) {
5853
5853
  return t.concat([e + "-" + xt, e + "-" + va]);
5854
5854
  }, []), O7 = /* @__PURE__ */ [].concat(ns, [zs]).reduce(function(t, e) {
5855
5855
  return t.concat([e, e + "-" + xt, e + "-" + va]);
@@ -5904,7 +5904,7 @@ function Z7(t) {
5904
5904
  });
5905
5905
  }
5906
5906
  function W7(t, e) {
5907
- var a = Oe(t), s = _t(t), n = a.visualViewport, i = s.clientWidth, o = s.clientHeight, l = 0, r = 0;
5907
+ var a = Ee(t), s = _t(t), n = a.visualViewport, i = s.clientWidth, o = s.clientHeight, l = 0, r = 0;
5908
5908
  if (n) {
5909
5909
  i = n.width, o = n.height;
5910
5910
  var d = ro();
@@ -5980,7 +5980,7 @@ function vo(t) {
5980
5980
  function fo(t) {
5981
5981
  var e = t.reference, a = t.element, s = t.placement, n = s ? pt(s) : null, i = s ? Yt(s) : null, o = e.x + e.width / 2 - a.width / 2, l = e.y + e.height / 2 - a.height / 2, r;
5982
5982
  switch (n) {
5983
- case Ne:
5983
+ case Ue:
5984
5984
  r = {
5985
5985
  x: o,
5986
5986
  y: e.y - a.height
@@ -6047,17 +6047,17 @@ function qs(t, e) {
6047
6047
  element: m,
6048
6048
  strategy: "absolute",
6049
6049
  placement: n
6050
- }), j = ks(Object.assign({}, m, N)), G = p === oa ? j : k, J = {
6050
+ }), R = ks(Object.assign({}, m, N)), G = p === oa ? R : k, J = {
6051
6051
  top: P.top - G.top + $.top,
6052
6052
  bottom: G.bottom - P.bottom + $.bottom,
6053
6053
  left: P.left - G.left + $.left,
6054
6054
  right: G.right - P.right + $.right
6055
6055
  }, ae = t.modifiersData.offset;
6056
6056
  if (p === oa && ae) {
6057
- var R = ae[n];
6057
+ var j = ae[n];
6058
6058
  Object.keys(J).forEach(function(X) {
6059
- var le = [mt, xe].indexOf(X) >= 0 ? 1 : -1, se = [Ne, xe].indexOf(X) >= 0 ? "y" : "x";
6060
- J[X] += R[se] * le;
6059
+ var le = [mt, xe].indexOf(X) >= 0 ? 1 : -1, se = [Ue, xe].indexOf(X) >= 0 ? "y" : "x";
6060
+ J[X] += j[se] * le;
6061
6061
  });
6062
6062
  }
6063
6063
  return J;
@@ -6123,10 +6123,10 @@ function Q7(t) {
6123
6123
  u.reset = !1, O = -1;
6124
6124
  continue;
6125
6125
  }
6126
- var P = u.orderedModifiers[O], k = P.fn, N = P.options, j = N === void 0 ? {} : N, G = P.name;
6126
+ var P = u.orderedModifiers[O], k = P.fn, N = P.options, R = N === void 0 ? {} : N, G = P.name;
6127
6127
  typeof k == "function" && (u = k({
6128
6128
  state: u,
6129
- options: j,
6129
+ options: R,
6130
6130
  name: G,
6131
6131
  instance: f
6132
6132
  }) || u);
@@ -6177,7 +6177,7 @@ var Ha = {
6177
6177
  passive: !0
6178
6178
  };
6179
6179
  function J7(t) {
6180
- var e = t.state, a = t.instance, s = t.options, n = s.scroll, i = n === void 0 ? !0 : n, o = s.resize, l = o === void 0 ? !0 : o, r = Oe(e.elements.popper), d = [].concat(e.scrollParents.reference, e.scrollParents.popper);
6180
+ var e = t.state, a = t.instance, s = t.options, n = s.scroll, i = n === void 0 ? !0 : n, o = s.resize, l = o === void 0 ? !0 : o, r = Ee(e.elements.popper), d = [].concat(e.scrollParents.reference, e.scrollParents.popper);
6181
6181
  return i && d.forEach(function(u) {
6182
6182
  u.addEventListener("scroll", a.update, Ha);
6183
6183
  }), l && r.addEventListener("resize", a.update, Ha), function() {
@@ -6232,10 +6232,10 @@ function Tn(t) {
6232
6232
  y: w
6233
6233
  };
6234
6234
  f = g.x, w = g.y;
6235
- var $ = o.hasOwnProperty("x"), b = o.hasOwnProperty("y"), m = Xe, O = Ne, P = window;
6235
+ var $ = o.hasOwnProperty("x"), b = o.hasOwnProperty("y"), m = Xe, O = Ue, P = window;
6236
6236
  if (d) {
6237
- var k = ss(a), N = "clientHeight", j = "clientWidth";
6238
- if (k === Oe(a) && (k = _t(a), at(k).position !== "static" && l === "absolute" && (N = "scrollHeight", j = "scrollWidth")), k = k, n === Ne || (n === Xe || n === mt) && i === va) {
6237
+ var k = ss(a), N = "clientHeight", R = "clientWidth";
6238
+ if (k === Ee(a) && (k = _t(a), at(k).position !== "static" && l === "absolute" && (N = "scrollHeight", R = "scrollWidth")), k = k, n === Ue || (n === Xe || n === mt) && i === va) {
6239
6239
  O = xe;
6240
6240
  var G = c && k === P && P.visualViewport ? P.visualViewport.height : (
6241
6241
  // $FlowFixMe[prop-missing]
@@ -6243,25 +6243,25 @@ function Tn(t) {
6243
6243
  );
6244
6244
  w -= G - s.height, w *= r ? 1 : -1;
6245
6245
  }
6246
- if (n === Xe || (n === Ne || n === xe) && i === va) {
6246
+ if (n === Xe || (n === Ue || n === xe) && i === va) {
6247
6247
  m = mt;
6248
6248
  var J = c && k === P && P.visualViewport ? P.visualViewport.width : (
6249
6249
  // $FlowFixMe[prop-missing]
6250
- k[j]
6250
+ k[R]
6251
6251
  );
6252
6252
  f -= J - s.width, f *= r ? 1 : -1;
6253
6253
  }
6254
6254
  }
6255
6255
  var ae = Object.assign({
6256
6256
  position: l
6257
- }, d && sp), R = u === !0 ? np({
6257
+ }, d && sp), j = u === !0 ? np({
6258
6258
  x: f,
6259
6259
  y: w
6260
- }, Oe(a)) : {
6260
+ }, Ee(a)) : {
6261
6261
  x: f,
6262
6262
  y: w
6263
6263
  };
6264
- if (f = R.x, w = R.y, r) {
6264
+ if (f = j.x, w = j.y, r) {
6265
6265
  var X;
6266
6266
  return Object.assign({}, ae, (X = {}, X[O] = b ? "0" : "", X[m] = $ ? "0" : "", X.transform = (P.devicePixelRatio || 1) <= 1 ? "translate(" + f + "px, " + w + "px)" : "translate3d(" + f + "px, " + w + "px, 0)", X));
6267
6267
  }
@@ -6357,7 +6357,7 @@ function fp(t) {
6357
6357
  rootBoundary: d,
6358
6358
  padding: c,
6359
6359
  altBoundary: u
6360
- }), $ = pt(e.placement), b = Yt(e.placement), m = !b, O = vo($), P = pp(O), k = e.modifiersData.popperOffsets, N = e.rects.reference, j = e.rects.popper, G = typeof w == "function" ? w(Object.assign({}, e.rects, {
6360
+ }), $ = pt(e.placement), b = Yt(e.placement), m = !b, O = vo($), P = pp(O), k = e.modifiersData.popperOffsets, N = e.rects.reference, R = e.rects.popper, G = typeof w == "function" ? w(Object.assign({}, e.rects, {
6361
6361
  placement: e.placement
6362
6362
  })) : w, J = typeof G == "number" ? {
6363
6363
  mainAxis: G,
@@ -6365,23 +6365,23 @@ function fp(t) {
6365
6365
  } : Object.assign({
6366
6366
  mainAxis: 0,
6367
6367
  altAxis: 0
6368
- }, G), ae = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, R = {
6368
+ }, G), ae = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, j = {
6369
6369
  x: 0,
6370
6370
  y: 0
6371
6371
  };
6372
6372
  if (k) {
6373
6373
  if (i) {
6374
- var X, le = O === "y" ? Ne : Xe, se = O === "y" ? xe : mt, ee = O === "y" ? "height" : "width", L = k[O], I = L + g[le], S = L - g[se], U = f ? -j[ee] / 2 : 0, y = b === xt ? N[ee] : j[ee], V = b === xt ? -j[ee] : -N[ee], ie = e.elements.arrow, ne = f && ie ? uo(ie) : {
6374
+ var X, le = O === "y" ? Ue : Xe, se = O === "y" ? xe : mt, ee = O === "y" ? "height" : "width", L = k[O], I = L + g[le], S = L - g[se], U = f ? -R[ee] / 2 : 0, y = b === xt ? N[ee] : R[ee], V = b === xt ? -R[ee] : -N[ee], ie = e.elements.arrow, ne = f && ie ? uo(ie) : {
6375
6375
  width: 0,
6376
6376
  height: 0
6377
6377
  }, z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ho(), H = z[le], K = z[se], he = Va(0, N[ee], ne[ee]), Se = m ? N[ee] / 2 - U - he - H - J.mainAxis : y - he - H - J.mainAxis, Gt = m ? -N[ee] / 2 + U + he + K + J.mainAxis : V + he + K + J.mainAxis, Xt = e.elements.arrow && ss(e.elements.arrow), nt = Xt ? O === "y" ? Xt.clientTop || 0 : Xt.clientLeft || 0 : 0, $a = (X = ae == null ? void 0 : ae[O]) != null ? X : 0, ls = L + Se - $a - nt, ot = L + Gt - $a, ka = Va(f ? Wa(I, ls) : I, L, f ? Mt(S, ot) : S);
6378
- k[O] = ka, R[O] = ka - L;
6378
+ k[O] = ka, j[O] = ka - L;
6379
6379
  }
6380
6380
  if (l) {
6381
- var it, Fe = O === "x" ? Ne : Xe, Ie = O === "x" ? xe : mt, je = k[P], Ye = P === "y" ? "height" : "width", Qt = je + g[Fe], Sa = je - g[Ie], Le = [Ne, Xe].indexOf($) !== -1, Jt = (it = ae == null ? void 0 : ae[P]) != null ? it : 0, lt = Le ? Qt : je - N[Ye] - j[Ye] - Jt + J.altAxis, bt = Le ? je + N[Ye] + j[Ye] - Jt - J.altAxis : Sa, Ma = f && Le ? vp(lt, je, bt) : Va(f ? lt : Qt, je, f ? bt : Sa);
6382
- k[P] = Ma, R[P] = Ma - je;
6381
+ var it, Ze = O === "x" ? Ue : Xe, Le = O === "x" ? xe : mt, je = k[P], Ye = P === "y" ? "height" : "width", Qt = je + g[Ze], Sa = je - g[Le], Pe = [Ue, Xe].indexOf($) !== -1, Jt = (it = ae == null ? void 0 : ae[P]) != null ? it : 0, lt = Pe ? Qt : je - N[Ye] - R[Ye] - Jt + J.altAxis, bt = Pe ? je + N[Ye] + R[Ye] - Jt - J.altAxis : Sa, Ma = f && Pe ? vp(lt, je, bt) : Va(f ? lt : Qt, je, f ? bt : Sa);
6382
+ k[P] = Ma, j[P] = Ma - je;
6383
6383
  }
6384
- e.modifiersData[s] = R;
6384
+ e.modifiersData[s] = j;
6385
6385
  }
6386
6386
  }
6387
6387
  var hp = {
@@ -6448,25 +6448,25 @@ function yp(t) {
6448
6448
  flipVariations: _,
6449
6449
  allowedAutoPlacements: w
6450
6450
  }) : z);
6451
- }, []), P = e.rects.reference, k = e.rects.popper, N = /* @__PURE__ */ new Map(), j = !0, G = O[0], J = 0; J < O.length; J++) {
6452
- var ae = O[J], R = pt(ae), X = Yt(ae) === xt, le = [Ne, xe].indexOf(R) >= 0, se = le ? "width" : "height", ee = qs(e, {
6451
+ }, []), P = e.rects.reference, k = e.rects.popper, N = /* @__PURE__ */ new Map(), R = !0, G = O[0], J = 0; J < O.length; J++) {
6452
+ var ae = O[J], j = pt(ae), X = Yt(ae) === xt, le = [Ue, xe].indexOf(j) >= 0, se = le ? "width" : "height", ee = qs(e, {
6453
6453
  placement: ae,
6454
6454
  boundary: u,
6455
6455
  rootBoundary: c,
6456
6456
  altBoundary: p,
6457
6457
  padding: d
6458
- }), L = le ? X ? mt : Xe : X ? xe : Ne;
6458
+ }), L = le ? X ? mt : Xe : X ? xe : Ue;
6459
6459
  P[se] > k[se] && (L = Da(L));
6460
6460
  var I = Da(L), S = [];
6461
- if (i && S.push(ee[R] <= 0), l && S.push(ee[L] <= 0, ee[I] <= 0), S.every(function(ne) {
6461
+ if (i && S.push(ee[j] <= 0), l && S.push(ee[L] <= 0, ee[I] <= 0), S.every(function(ne) {
6462
6462
  return ne;
6463
6463
  })) {
6464
- G = ae, j = !1;
6464
+ G = ae, R = !1;
6465
6465
  break;
6466
6466
  }
6467
6467
  N.set(ae, S);
6468
6468
  }
6469
- if (j)
6469
+ if (R)
6470
6470
  for (var U = _ ? 3 : 1, y = function(z) {
6471
6471
  var H = O.find(function(K) {
6472
6472
  var he = N.get(K);
@@ -6496,7 +6496,7 @@ var bp = {
6496
6496
  }
6497
6497
  };
6498
6498
  function wp(t, e, a) {
6499
- const { disabled: s, appendTo: n, appendToBody: i, openDirection: o } = Ee(t), l = Pt().proxy, r = a.multiselect, d = a.dropdown, u = q(!1), c = q(null), p = q(null), f = A(() => n.value || i.value), _ = A(() => o.value === "top" && p.value === "bottom" || o.value === "bottom" && p.value !== "top" ? "bottom" : "top"), w = () => {
6499
+ const { disabled: s, appendTo: n, appendToBody: i, openDirection: o } = Ie(t), l = Pt().proxy, r = a.multiselect, d = a.dropdown, u = q(!1), c = q(null), p = q(null), f = A(() => n.value || i.value), _ = A(() => o.value === "top" && p.value === "bottom" || o.value === "bottom" && p.value !== "top" ? "bottom" : "top"), w = () => {
6500
6500
  u.value || s.value || (u.value = !0, e.emit("open", l), f.value && $e(() => {
6501
6501
  $();
6502
6502
  }));
@@ -6570,12 +6570,12 @@ function wp(t, e, a) {
6570
6570
  };
6571
6571
  }
6572
6572
  function $p(t, e, a) {
6573
- const { searchable: s, disabled: n, clearOnBlur: i } = Ee(t), o = a.input, l = a.open, r = a.close, d = a.clearSearch, u = a.isOpen, c = a.wrapper, p = a.tags, f = q(!1), _ = q(!1), w = A(() => s.value || n.value ? -1 : 0), g = () => {
6573
+ const { searchable: s, disabled: n, clearOnBlur: i } = Ie(t), o = a.input, l = a.open, r = a.close, d = a.clearSearch, u = a.isOpen, c = a.wrapper, p = a.tags, f = q(!1), _ = q(!1), w = A(() => s.value || n.value ? -1 : 0), g = () => {
6574
6574
  s.value && o.value.blur(), c.value.blur();
6575
6575
  }, $ = () => {
6576
6576
  s.value && !n.value && o.value.focus();
6577
- }, b = (j = !0) => {
6578
- n.value || (f.value = !0, j && l());
6577
+ }, b = (R = !0) => {
6578
+ n.value || (f.value = !0, R && l());
6579
6579
  }, m = () => {
6580
6580
  f.value = !1, setTimeout(() => {
6581
6581
  f.value || (r(), i.value && d());
@@ -6589,8 +6589,8 @@ function $p(t, e, a) {
6589
6589
  focus: $,
6590
6590
  activate: b,
6591
6591
  deactivate: m,
6592
- handleFocusIn: (j) => {
6593
- j.target.closest("[data-tags]") && j.target.nodeName !== "INPUT" || j.target.closest("[data-clear]") || b(_.value);
6592
+ handleFocusIn: (R) => {
6593
+ R.target.closest("[data-tags]") && R.target.nodeName !== "INPUT" || R.target.closest("[data-clear]") || b(_.value);
6594
6594
  },
6595
6595
  handleFocusOut: () => {
6596
6596
  m();
@@ -6598,8 +6598,8 @@ function $p(t, e, a) {
6598
6598
  handleCaretClick: () => {
6599
6599
  m(), g();
6600
6600
  },
6601
- handleMousedown: (j) => {
6602
- _.value = !0, u.value && (j.target.isEqualNode(c.value) || j.target.isEqualNode(p.value)) ? setTimeout(() => {
6601
+ handleMousedown: (R) => {
6602
+ _.value = !0, u.value && (R.target.isEqualNode(c.value) || R.target.isEqualNode(p.value)) ? setTimeout(() => {
6603
6603
  m();
6604
6604
  }, 0) : !u.value && (document.activeElement.isEqualNode(c.value) || document.activeElement.isEqualNode(o.value)) && b(), setTimeout(() => {
6605
6605
  _.value = !1;
@@ -6620,7 +6620,7 @@ function kp(t, e, a) {
6620
6620
  createTag: c,
6621
6621
  createOption: p,
6622
6622
  reverse: f
6623
- } = Ee(t), _ = Pt().proxy, w = a.iv, g = a.update, $ = a.deselect, b = a.search, m = a.setPointer, O = a.selectPointer, P = a.backwardPointer, k = a.forwardPointer, N = a.multiselect, j = a.wrapper, G = a.tags, J = a.isOpen, ae = a.open, R = a.blur, X = a.fo, le = A(() => c.value || p.value || !1), se = A(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), ee = () => {
6623
+ } = Ie(t), _ = Pt().proxy, w = a.iv, g = a.update, $ = a.deselect, b = a.search, m = a.setPointer, O = a.selectPointer, P = a.backwardPointer, k = a.forwardPointer, N = a.multiselect, R = a.wrapper, G = a.tags, J = a.isOpen, ae = a.open, j = a.blur, X = a.fo, le = A(() => c.value || p.value || !1), se = A(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), ee = () => {
6624
6624
  s.value === "tags" && !l.value && le.value && o.value && !d.value && m(X.value[X.value.map((S) => S[r.value]).indexOf(b.value)]);
6625
6625
  };
6626
6626
  return {
@@ -6638,7 +6638,7 @@ function kp(t, e, a) {
6638
6638
  if (S.preventDefault(), S.keyCode === 229)
6639
6639
  return;
6640
6640
  if (y !== -1 && y !== void 0) {
6641
- g([...w.value].filter((ie, ne) => ne !== y)), y === U.length - 1 && (U.length - 1 ? U[U.length - 2].focus() : o.value ? G.value.querySelector("input").focus() : j.value.focus());
6641
+ g([...w.value].filter((ie, ne) => ne !== y)), y === U.length - 1 && (U.length - 1 ? U[U.length - 2].focus() : o.value ? G.value.querySelector("input").focus() : R.value.focus());
6642
6642
  return;
6643
6643
  }
6644
6644
  if (se.value.indexOf("enter") === -1 && le.value)
@@ -6664,7 +6664,7 @@ function kp(t, e, a) {
6664
6664
  ee(), O(), S.preventDefault();
6665
6665
  break;
6666
6666
  case "Escape":
6667
- R();
6667
+ j();
6668
6668
  break;
6669
6669
  case "ArrowUp":
6670
6670
  if (S.preventDefault(), !l.value)
@@ -6684,7 +6684,7 @@ function kp(t, e, a) {
6684
6684
  case "ArrowRight":
6685
6685
  if (y === -1 || S.shiftKey || s.value !== "tags" || !w.value || !w.value.length)
6686
6686
  return;
6687
- S.preventDefault(), U.length > y + 1 ? U[y + 1].focus() : o.value ? G.value.querySelector("input").focus() : o.value || j.value.focus();
6687
+ S.preventDefault(), U.length > y + 1 ? U[y + 1].focus() : o.value ? G.value.querySelector("input").focus() : o.value || R.value.focus();
6688
6688
  break;
6689
6689
  }
6690
6690
  },
@@ -6700,7 +6700,7 @@ function Sp(t, e, a) {
6700
6700
  disabled: n,
6701
6701
  showOptions: i,
6702
6702
  breakTags: o
6703
- } = Ee(t), l = a.isOpen, r = a.isPointed, d = a.isSelected, u = a.isDisabled, c = a.isActive, p = a.canPointGroups, f = a.resolving, _ = a.fo, w = a.placement, g = A(() => ({
6703
+ } = Ie(t), l = a.isOpen, r = a.isPointed, d = a.isSelected, u = a.isDisabled, c = a.isActive, p = a.canPointGroups, f = a.resolving, _ = a.fo, w = a.placement, g = A(() => ({
6704
6704
  container: "multiselect",
6705
6705
  containerDisabled: "is-disabled",
6706
6706
  containerOpen: "is-open",
@@ -6808,7 +6808,7 @@ function Mp(t, e, a) {
6808
6808
  const {
6809
6809
  limit: s,
6810
6810
  infinite: n
6811
- } = Ee(t), i = a.isOpen, o = a.offset, l = a.search, r = a.pfo, d = a.eo, u = q(null), c = q(null), p = A(() => o.value < r.value.length), f = (w) => {
6811
+ } = Ie(t), i = a.isOpen, o = a.offset, l = a.search, r = a.pfo, d = a.eo, u = q(null), c = q(null), p = A(() => o.value < r.value.length), f = (w) => {
6812
6812
  const { isIntersecting: g, target: $ } = w[0];
6813
6813
  if (g) {
6814
6814
  const b = $.offsetParent, m = b.scrollTop;
@@ -6842,39 +6842,39 @@ function Ap(t, e, a) {
6842
6842
  groupLabel: r,
6843
6843
  aria: d,
6844
6844
  searchable: u
6845
- } = Ee(t), c = a.pointer, p = a.iv, f = a.hasSelected, _ = a.multipleLabelText, w = q(null), g = A(() => {
6846
- let R = [];
6847
- return n && n.value && R.push(n.value), R.push("assist"), R.join("-");
6845
+ } = Ie(t), c = a.pointer, p = a.iv, f = a.hasSelected, _ = a.multipleLabelText, w = q(null), g = A(() => {
6846
+ let j = [];
6847
+ return n && n.value && j.push(n.value), j.push("assist"), j.join("-");
6848
6848
  }), $ = A(() => {
6849
- let R = [];
6850
- return n && n.value && R.push(n.value), R.push("multiselect-options"), R.join("-");
6849
+ let j = [];
6850
+ return n && n.value && j.push(n.value), j.push("multiselect-options"), j.join("-");
6851
6851
  }), b = A(() => {
6852
- let R = [];
6853
- if (n && n.value && R.push(n.value), c.value)
6854
- return R.push(c.value.group ? "multiselect-group" : "multiselect-option"), R.push(c.value.group ? c.value.index : c.value[i.value]), R.join("-");
6852
+ let j = [];
6853
+ if (n && n.value && j.push(n.value), c.value)
6854
+ return j.push(c.value.group ? "multiselect-group" : "multiselect-option"), j.push(c.value.group ? c.value.index : c.value[i.value]), j.join("-");
6855
6855
  }), m = A(() => s.value), O = A(() => l.value !== "single"), P = A(() => {
6856
- let R = "";
6857
- return l.value === "single" && f.value && (R += p.value[o.value]), l.value === "multiple" && f.value && (R += _.value), l.value === "tags" && f.value && (R += p.value.map((X) => X[o.value]).join(", ")), R;
6856
+ let j = "";
6857
+ return l.value === "single" && f.value && (j += p.value[o.value]), l.value === "multiple" && f.value && (j += _.value), l.value === "tags" && f.value && (j += p.value.map((X) => X[o.value]).join(", ")), j;
6858
6858
  }), k = A(() => {
6859
- let R = { ...d.value };
6860
- return u.value && (R["aria-labelledby"] = R["aria-labelledby"] ? `${g.value} ${R["aria-labelledby"]}` : g.value, P.value && R["aria-label"] && (R["aria-label"] = `${P.value}, ${R["aria-label"]}`)), R;
6861
- }), N = (R) => {
6859
+ let j = { ...d.value };
6860
+ return u.value && (j["aria-labelledby"] = j["aria-labelledby"] ? `${g.value} ${j["aria-labelledby"]}` : g.value, P.value && j["aria-label"] && (j["aria-label"] = `${P.value}, ${j["aria-label"]}`)), j;
6861
+ }), N = (j) => {
6862
6862
  let X = [];
6863
- return n && n.value && X.push(n.value), X.push("multiselect-option"), X.push(R[i.value]), X.join("-");
6864
- }, j = (R) => {
6863
+ return n && n.value && X.push(n.value), X.push("multiselect-option"), X.push(j[i.value]), X.join("-");
6864
+ }, R = (j) => {
6865
6865
  let X = [];
6866
- return n && n.value && X.push(n.value), X.push("multiselect-group"), X.push(R.index), X.join("-");
6867
- }, G = (R) => {
6866
+ return n && n.value && X.push(n.value), X.push("multiselect-group"), X.push(j.index), X.join("-");
6867
+ }, G = (j) => {
6868
6868
  let X = [];
6869
- return X.push(R), X.join(" ");
6870
- }, J = (R) => {
6869
+ return X.push(j), X.join(" ");
6870
+ }, J = (j) => {
6871
6871
  let X = [];
6872
- return X.push(R), X.join(" ");
6873
- }, ae = (R) => `${R} ❎`;
6872
+ return X.push(j), X.join(" ");
6873
+ }, ae = (j) => `${j} ❎`;
6874
6874
  return Lt(() => {
6875
6875
  if (n && n.value && document && document.querySelector) {
6876
- let R = document.querySelector(`[for="${n.value}"]`);
6877
- w.value = R ? R.innerText : null;
6876
+ let j = document.querySelector(`[for="${n.value}"]`);
6877
+ w.value = j ? j.innerText : null;
6878
6878
  }
6879
6879
  }), {
6880
6880
  arias: k,
@@ -6886,7 +6886,7 @@ function Ap(t, e, a) {
6886
6886
  ariaActiveDescendant: b,
6887
6887
  ariaOptionId: N,
6888
6888
  ariaOptionLabel: G,
6889
- ariaGroupId: j,
6889
+ ariaGroupId: R,
6890
6890
  ariaGroupLabel: J,
6891
6891
  ariaTagLabel: ae
6892
6892
  };
@@ -6895,7 +6895,7 @@ function Tp(t, e, a) {
6895
6895
  const {
6896
6896
  locale: s,
6897
6897
  fallbackLocale: n
6898
- } = Ee(t);
6898
+ } = Ie(t);
6899
6899
  return {
6900
6900
  localize: (o) => !o || typeof o != "object" ? o : o && o[s.value] ? o[s.value] : o && s.value && o[s.value.toUpperCase()] ? o[s.value.toUpperCase()] : o && o[n.value] ? o[n.value] : o && n.value && o[n.value.toUpperCase()] ? o[n.value.toUpperCase()] : o && Object.keys(o)[0] ? o[Object.keys(o)[0]] : ""
6901
6901
  };
@@ -8090,7 +8090,7 @@ const ov = ["onDrop", "onDragenter", "onDragover", "onDragleave"], iv = { class:
8090
8090
  ])
8091
8091
  ])) : E("", !0)
8092
8092
  ])) : E("", !0),
8093
- De(h("div", fv, [
8093
+ Te(h("div", fv, [
8094
8094
  h("span", hv, x(u.$t("activity.attachment.placeholder.active")), 1)
8095
8095
  ], 512), [
8096
8096
  [Uo, o.value]
@@ -8101,7 +8101,7 @@ const ov = ["onDrop", "onDragenter", "onDragover", "onDragleave"], iv = { class:
8101
8101
  const gv = { class: "ao-comment" }, Cv = { class: "ao-comment__created-at" }, _v = { class: "ao-comment__body" }, yv = { class: "ao-comment__content-wrapper" }, bv = {
8102
8102
  key: 0,
8103
8103
  class: "ao-comment__content"
8104
- }, wv = ["value", "rows"], $v = ["onClick"], kv = {
8104
+ }, wv = ["rows"], $v = ["onClick"], kv = {
8105
8105
  key: 1,
8106
8106
  class: "ao-comment__footer"
8107
8107
  }, Sv = /* @__PURE__ */ Y({
@@ -8120,8 +8120,8 @@ const gv = { class: "ao-comment" }, Cv = { class: "ao-comment__created-at" }, _v
8120
8120
  const P = a.user;
8121
8121
  return P ? `${P == null ? void 0 : P.firstName} ${P == null ? void 0 : P.lastName}` : null;
8122
8122
  }), n = q(null), i = q(a.content), { isEditing: o, toggleIsEditing: l, onUpdate: r, onDiscard: d } = Hn(n), u = A(() => {
8123
- const P = a.editedAt && ca(a.editedAt), k = ca(a.createdAt), N = /* @__PURE__ */ new Date(), j = P ?? k;
8124
- return j && p3(j, N);
8123
+ const P = a.editedAt && ca(a.editedAt), k = ca(a.createdAt), N = /* @__PURE__ */ new Date(), R = P ?? k;
8124
+ return R && p3(R, N);
8125
8125
  });
8126
8126
  A(() => o.value ? "textarea" : "p");
8127
8127
  const c = d(), p = r((P) => {
@@ -8158,39 +8158,41 @@ const gv = { class: "ao-comment" }, Cv = { class: "ao-comment__created-at" }, _v
8158
8158
  h("span", Cv, x(u.value), 1),
8159
8159
  h("div", _v, [
8160
8160
  h("div", yv, [
8161
- F(o) ? (v(), C("textarea", {
8161
+ F(o) ? Te((v(), C("textarea", {
8162
8162
  key: 1,
8163
8163
  ref_key: "commentContent",
8164
8164
  ref: n,
8165
8165
  class: "ao-comment__content",
8166
- value: i.value,
8166
+ "onUpdate:modelValue": k[0] || (k[0] = (R) => i.value = R),
8167
8167
  rows: _.value,
8168
- onInput: k[0] || (k[0] = //@ts-ignore
8169
- (...j) => F(b) && F(b)(...j)),
8170
- onKeydown: k[1] || (k[1] = //@ts-ignore
8171
- (...j) => F(m) && F(m)(...j)),
8168
+ onInput: k[1] || (k[1] = //@ts-ignore
8169
+ (...R) => F(b) && F(b)(...R)),
8170
+ onKeydown: k[2] || (k[2] = //@ts-ignore
8171
+ (...R) => F(m) && F(m)(...R)),
8172
8172
  onKeyup: [
8173
- k[2] || (k[2] = vt(
8173
+ k[3] || (k[3] = vt(
8174
8174
  //@ts-ignore
8175
- (...j) => F(c) && F(c)(...j),
8175
+ (...R) => F(c) && F(c)(...R),
8176
8176
  ["esc"]
8177
8177
  )),
8178
- k[3] || (k[3] = vt(fe(
8178
+ k[4] || (k[4] = vt(fe(
8179
8179
  //@ts-ignore
8180
- (...j) => F(p) && F(p)(...j),
8180
+ (...R) => F(p) && F(p)(...R),
8181
8181
  ["ctrl"]
8182
8182
  ), ["enter"]))
8183
8183
  ]
8184
- }, null, 40, wv)) : (v(), C("p", bv, x(P.content), 1)),
8184
+ }, null, 40, wv)), [
8185
+ [Ne, i.value]
8186
+ ]) : (v(), C("p", bv, x(P.content), 1)),
8185
8187
  F(w) && F($).length > 0 ? (v(), C("ul", {
8186
8188
  key: 2,
8187
8189
  class: "mention-list",
8188
- style: Ue({ top: F(g).top + "px", left: F(g).left + "px" })
8190
+ style: Fe({ top: F(g).top + "px", left: F(g).left + "px" })
8189
8191
  }, [
8190
- (v(!0), C(ve, null, Ce(F($), (j) => (v(), C("li", {
8191
- key: j.id,
8192
- onClick: (G) => F(O)(j.name)
8193
- }, " @" + x(j.name), 9, $v))), 128))
8192
+ (v(!0), C(ve, null, Ce(F($), (R) => (v(), C("li", {
8193
+ key: R.id,
8194
+ onClick: (G) => F(O)(R.name)
8195
+ }, " @" + x(R.name), 9, $v))), 128))
8194
8196
  ], 4)) : E("", !0)
8195
8197
  ])
8196
8198
  ]),
@@ -8286,7 +8288,7 @@ const Mv = { class: "ao-comments__header" }, Av = ["onSubmit"], Tv = ["placehold
8286
8288
  class: "ao-comments__form",
8287
8289
  onSubmit: fe(r, ["prevent"])
8288
8290
  }, [
8289
- De(h("textarea", {
8291
+ Te(h("textarea", {
8290
8292
  ref_key: "textareaRef",
8291
8293
  ref: c,
8292
8294
  "onUpdate:modelValue": O[0] || (O[0] = (k) => l.value = k),
@@ -8299,7 +8301,7 @@ const Mv = { class: "ao-comments__header" }, Av = ["onSubmit"], Tv = ["placehold
8299
8301
  (...k) => F(g) && F(g)(...k))
8300
8302
  }, null, 40, Tv), [
8301
8303
  [
8302
- We,
8304
+ Ne,
8303
8305
  l.value,
8304
8306
  void 0,
8305
8307
  { trim: !0 }
@@ -8334,7 +8336,7 @@ const Mv = { class: "ao-comments__header" }, Av = ["onSubmit"], Tv = ["placehold
8334
8336
  F(p) && F(_).length > 0 ? (v(), C("ul", {
8335
8337
  key: 1,
8336
8338
  class: "mention-list",
8337
- style: Ue({ top: F(f).top + "px", left: F(f).left + "px" })
8339
+ style: Fe({ top: F(f).top + "px", left: F(f).left + "px" })
8338
8340
  }, [
8339
8341
  (v(!0), C(ve, null, Ce(F(_), (k) => (v(), C("li", {
8340
8342
  key: k.id,
@@ -8537,7 +8539,7 @@ const Ss = /* @__PURE__ */ Y({
8537
8539
  // `undefined` is not a value for GraphQL, we have to use `null` to reset a value
8538
8540
  });
8539
8541
  }
8540
- }), j = (y) => {
8542
+ }), R = (y) => {
8541
8543
  e("addFiles", {
8542
8544
  activityId: a.activity.id,
8543
8545
  files: y
@@ -8560,7 +8562,7 @@ const Ss = /* @__PURE__ */ Y({
8560
8562
  value: z.id,
8561
8563
  label: z.name
8562
8564
  }));
8563
- }), R = (y) => {
8565
+ }), j = (y) => {
8564
8566
  a.activity && e("update:activity", {
8565
8567
  id: a.activity.id,
8566
8568
  projectId: y
@@ -8637,7 +8639,7 @@ const Ss = /* @__PURE__ */ Y({
8637
8639
  searchable: !0,
8638
8640
  disabled: !s.value,
8639
8641
  caret: s.value,
8640
- onChange: R
8642
+ onChange: j
8641
8643
  }, null, 8, ["options", "value", "disabled", "caret"])
8642
8644
  ])) : E("", !0),
8643
8645
  ae.value ? (v(), C("label", Nv, [
@@ -8660,20 +8662,20 @@ const Ss = /* @__PURE__ */ Y({
8660
8662
  T(mv, {
8661
8663
  attachments: y.activity.attachments,
8662
8664
  "is-editable": y.attachmentEnabled && s.value && y.isTemplate !== !0 && !!y.userId,
8663
- onAdd: j,
8665
+ onAdd: R,
8664
8666
  onRemove: G
8665
8667
  }, {
8666
8668
  default: Z(() => [
8667
8669
  h("label", zv, [
8668
8670
  h("span", qv, x(y.$t("activity.description.label")), 1),
8669
- De(h("textarea", {
8671
+ Te(h("textarea", {
8670
8672
  "onUpdate:modelValue": V[0] || (V[0] = (H) => i.value = H),
8671
8673
  readonly: !s.value,
8672
8674
  rows: "4",
8673
8675
  class: "ao-field__textarea"
8674
8676
  }, null, 8, xv), [
8675
8677
  [
8676
- We,
8678
+ Ne,
8677
8679
  i.value,
8678
8680
  void 0,
8679
8681
  {
@@ -8690,7 +8692,7 @@ const Ss = /* @__PURE__ */ Y({
8690
8692
  h("div", Yv, [
8691
8693
  h("label", Kv, [
8692
8694
  h("span", Gv, x(y.$t("activity.estimation.label")), 1),
8693
- De(h("input", {
8695
+ Te(h("input", {
8694
8696
  "onUpdate:modelValue": V[1] || (V[1] = (H) => o.value = H),
8695
8697
  readonly: !s.value,
8696
8698
  class: "ao-field__input ao-field__input--estim",
@@ -8698,7 +8700,7 @@ const Ss = /* @__PURE__ */ Y({
8698
8700
  min: "0"
8699
8701
  }, null, 8, Xv), [
8700
8702
  [
8701
- We,
8703
+ Ne,
8702
8704
  o.value,
8703
8705
  void 0,
8704
8706
  {
@@ -8819,14 +8821,14 @@ const Ss = /* @__PURE__ */ Y({
8819
8821
  y.isTemplate !== !0 && y.userId ? (v(), C("div", ff, [
8820
8822
  h("label", hf, [
8821
8823
  h("span", mf, x(y.$t("activity.deadline.label")), 1),
8822
- De(h("input", {
8824
+ Te(h("input", {
8823
8825
  "onUpdate:modelValue": V[4] || (V[4] = (H) => d.value = H),
8824
8826
  readonly: !s.value,
8825
8827
  class: "ao-field__input",
8826
8828
  type: "date"
8827
8829
  }, null, 8, gf), [
8828
8830
  [
8829
- We,
8831
+ Ne,
8830
8832
  d.value,
8831
8833
  void 0,
8832
8834
  { lazy: !0 }
@@ -9038,13 +9040,13 @@ const Hf = /* @__PURE__ */ Y({
9038
9040
  "onUpdate:modelValue": b[3] || (b[3] = (m) => d.value = m),
9039
9041
  options: u.value
9040
9042
  }, null, 8, ["modelValue", "options"]),
9041
- De(h("input", {
9043
+ Te(h("input", {
9042
9044
  "onUpdate:modelValue": b[4] || (b[4] = (m) => _.value = m),
9043
9045
  type: "number",
9044
9046
  min: "0"
9045
9047
  }, null, 512), [
9046
9048
  [
9047
- We,
9049
+ Ne,
9048
9050
  _.value,
9049
9051
  void 0,
9050
9052
  { number: !0 }
@@ -9314,7 +9316,7 @@ const Rf = {
9314
9316
  templateId: a.templateId,
9315
9317
  data: S
9316
9318
  });
9317
- }, N = q(!1), j = () => {
9319
+ }, N = q(!1), R = () => {
9318
9320
  N.value = !N.value;
9319
9321
  }, G = () => {
9320
9322
  e("addRule", { templateId: a.templateId });
@@ -9333,7 +9335,7 @@ const Rf = {
9333
9335
  }
9334
9336
  });
9335
9337
  }
9336
- }, R = (L) => {
9338
+ }, j = (L) => {
9337
9339
  !o.value || !l.value || !u.value || e("addItem", {
9338
9340
  type: me.TASKS,
9339
9341
  activityId: L.activityId,
@@ -9473,7 +9475,7 @@ const Rf = {
9473
9475
  }),
9474
9476
  "attachment-enabled": !1,
9475
9477
  onClose: L.$router.back,
9476
- onAddSubtask: R,
9478
+ onAddSubtask: j,
9477
9479
  onUpdateSubtask: X,
9478
9480
  onDeleteSubtask: le,
9479
9481
  onAddFiles: se,
@@ -9493,7 +9495,7 @@ const Rf = {
9493
9495
  "template-phases": n.value.phases,
9494
9496
  "template-milestones": r.value,
9495
9497
  "template-activities": d.value,
9496
- onClose: j,
9498
+ onClose: R,
9497
9499
  onAddRule: G,
9498
9500
  onRemoveRule: J
9499
9501
  }, null, 8, ["template-id", "rules", "template-phases", "template-milestones", "template-activities"])) : E("", !0)
@@ -9525,13 +9527,13 @@ const qf = { class: "ao-card__content" }, xf = {
9525
9527
  "ao-card--clickable": e.isClickable
9526
9528
  }
9527
9529
  ]),
9528
- style: Ue(e.isSelected ? { border: "solid", borderColor: e.color || "var(--ao-color-blue-base)", borderWidth: "thick" } : {})
9530
+ style: Fe(e.isSelected ? { border: "solid", borderColor: e.color || "var(--ao-color-blue-base)", borderWidth: "thick" } : {})
9529
9531
  }, {
9530
9532
  default: Z(() => [
9531
9533
  e.withLeftBorder ? (v(), C("div", {
9532
9534
  key: 0,
9533
9535
  class: "ao-card__left-border",
9534
- style: Ue({ backgroundColor: e.color })
9536
+ style: Fe({ backgroundColor: e.color })
9535
9537
  }, null, 4)) : E("", !0),
9536
9538
  h("div", qf, [
9537
9539
  e.$slots.header ? (v(), C("header", xf, [
@@ -9565,7 +9567,7 @@ const is = /* @__PURE__ */ Y({
9565
9567
  (v(!0), C(ve, null, Ce(a.value, (i) => (v(), C("div", {
9566
9568
  key: i,
9567
9569
  class: Q(["ao-progress__progress"]),
9568
- style: Ue({
9570
+ style: Fe({
9569
9571
  width: `${i * 100}%`,
9570
9572
  "--ao-progress-color": s.color || "var(--ao-color-primary-base)"
9571
9573
  })
@@ -10104,7 +10106,7 @@ function ph(t, e, a, s, n, i) {
10104
10106
  1
10105
10107
  /* TEXT */
10106
10108
  ),
10107
- De(T(
10109
+ Te(T(
10108
10110
  "input",
10109
10111
  {
10110
10112
  "onUpdate:modelValue": e[1] || (e[1] = (o) => t.modelColor = o),
@@ -10116,7 +10118,7 @@ function ph(t, e, a, s, n, i) {
10116
10118
  544
10117
10119
  /* HYDRATE_EVENTS, NEED_PATCH */
10118
10120
  ), [
10119
- [We, t.modelColor]
10121
+ [Ne, t.modelColor]
10120
10122
  ])
10121
10123
  ]);
10122
10124
  }
@@ -10543,7 +10545,7 @@ const Ch = { class: "color-picker-wrapper" }, an = /* @__PURE__ */ Y({
10543
10545
  ref_key: "pickerRef",
10544
10546
  ref: n,
10545
10547
  class: "color-picker",
10546
- style: Ue(d.value)
10548
+ style: Fe(d.value)
10547
10549
  }, [
10548
10550
  T(F(Ut), {
10549
10551
  class: "color-picker-box",
@@ -10657,14 +10659,14 @@ const _h = { class: "ao-card-project-phase__header" }, yh = { class: "ao-card-pr
10657
10659
  h("div", {
10658
10660
  class: Q(["ao-card-project-phase__footer-row", r.value ? "" : "ao-card-project-phase__no_deadline"])
10659
10661
  }, [
10660
- c.isEditable ? De((v(), C("input", {
10662
+ c.isEditable ? Te((v(), C("input", {
10661
10663
  key: 0,
10662
10664
  "onUpdate:modelValue": p[1] || (p[1] = (w) => r.value = w),
10663
10665
  class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--input",
10664
10666
  type: "date"
10665
10667
  }, null, 512)), [
10666
10668
  [
10667
- We,
10669
+ Ne,
10668
10670
  r.value,
10669
10671
  void 0,
10670
10672
  { lazy: !0 }
@@ -10712,7 +10714,7 @@ const Oh = /* @__PURE__ */ Y({
10712
10714
  setup(t) {
10713
10715
  return (e, a) => (v(), C("span", {
10714
10716
  class: "aoBadge",
10715
- style: Ue({ backgroundColor: e.color })
10717
+ style: Fe({ backgroundColor: e.color })
10716
10718
  }, null, 4));
10717
10719
  }
10718
10720
  });
@@ -10958,14 +10960,14 @@ const zh = { class: "ao-mapping-card-project-phase__header" }, qh = { class: "ao
10958
10960
  h("div", {
10959
10961
  class: Q(["ao-mapping-card-project-phase__footer-row", r.value ? "" : "ao-mapping-card-project-phase__no_deadline"])
10960
10962
  }, [
10961
- c.isEditable ? De((v(), C("input", {
10963
+ c.isEditable ? Te((v(), C("input", {
10962
10964
  key: 0,
10963
10965
  "onUpdate:modelValue": p[1] || (p[1] = (w) => r.value = w),
10964
10966
  class: "ao-mapping-card-project-phase__deadline ao-mapping-card-project-phase__deadline--input",
10965
10967
  type: "date"
10966
10968
  }, null, 512)), [
10967
10969
  [
10968
- We,
10970
+ Ne,
10969
10971
  r.value,
10970
10972
  void 0,
10971
10973
  { lazy: !0 }
@@ -11078,7 +11080,7 @@ const t9 = { class: "ao-project-phase" }, a9 = {
11078
11080
  return (b, m) => (v(), C("li", t9, [
11079
11081
  h("div", {
11080
11082
  class: "ao-project-phases__draggable-card",
11081
- style: Ue($.value)
11083
+ style: Fe($.value)
11082
11084
  }, [
11083
11085
  b.isEditable ? (v(), C("div", a9, [
11084
11086
  T(pe, {
@@ -11121,7 +11123,7 @@ const t9 = { class: "ao-project-phase" }, a9 = {
11121
11123
  g.value ? E("", !0) : (v(), C("div", o9, [
11122
11124
  h("div", {
11123
11125
  class: "ao-project-phase__milestones",
11124
- style: Ue($.value)
11126
+ style: Fe($.value)
11125
11127
  }, [
11126
11128
  T(F(gt), Ae({
11127
11129
  class: "ao-project-phase__milestones-list",
@@ -11343,11 +11345,11 @@ const g9 = ["onSubmit"], C9 = { class: "ao-save-template-modal__form-body" }, _9
11343
11345
  h("div", _9, [
11344
11346
  h("label", y9, [
11345
11347
  h("span", b9, x(o.$t("project.template.name.label")) + ": ", 1),
11346
- De(h("input", {
11348
+ Te(h("input", {
11347
11349
  "onUpdate:modelValue": l[0] || (l[0] = (r) => s.value = r),
11348
11350
  type: "text"
11349
11351
  }, null, 512), [
11350
- [We, s.value]
11352
+ [Ne, s.value]
11351
11353
  ])
11352
11354
  ])
11353
11355
  ]),
@@ -11358,7 +11360,7 @@ const g9 = ["onSubmit"], C9 = { class: "ao-save-template-modal__form-body" }, _9
11358
11360
  class: "ao-field ao-field--checkbox",
11359
11361
  key: r.id
11360
11362
  }, [
11361
- De(h("input", {
11363
+ Te(h("input", {
11362
11364
  type: "checkbox",
11363
11365
  value: r.id,
11364
11366
  "onUpdate:modelValue": l[1] || (l[1] = (d) => n.value = d)
@@ -11473,18 +11475,18 @@ const sn = /* @__PURE__ */ W(A9, [["render", E9], ["__scopeId", "data-v-ff4e3297
11473
11475
  e("addFiles", I);
11474
11476
  }, N = (I) => {
11475
11477
  e("removeFile", I);
11476
- }, j = (I) => {
11478
+ }, R = (I) => {
11477
11479
  e("addComment", I);
11478
11480
  }, G = (I) => {
11479
11481
  e("updateComment", I);
11480
11482
  }, J = (I) => {
11481
11483
  e("removeComment", I);
11482
- }, ae = q(!1), R = q(!1), X = (I, S) => {
11484
+ }, ae = q(!1), j = q(!1), X = (I, S) => {
11483
11485
  e("applyTemplate", { templateId: I, projectId: S }), ae.value = !1;
11484
11486
  }, le = (I, S) => {
11485
11487
  var V;
11486
11488
  const U = (V = a.templates) == null ? void 0 : V.at(-1), y = U ? we.LexoRank.parse(U.rank).genNext() : we.LexoRank.middle();
11487
- e("saveTemplate", { templateName: I, rank: y.format(), phaseIds: S }), R.value = !1;
11489
+ e("saveTemplate", { templateName: I, rank: y.format(), phaseIds: S }), j.value = !1;
11488
11490
  }, se = Es(), ee = q("overview"), L = [
11489
11491
  { label: "Overview", value: "overview" },
11490
11492
  { label: "Feed", value: "feed" },
@@ -11523,7 +11525,7 @@ const sn = /* @__PURE__ */ W(A9, [["render", E9], ["__scopeId", "data-v-ff4e3297
11523
11525
  class: "ao-project-overview__save-as-template",
11524
11526
  color: "primary",
11525
11527
  label: I.$t("project.template.save.label"),
11526
- onClick: S[2] || (S[2] = (y) => R.value = !0)
11528
+ onClick: S[2] || (S[2] = (y) => j.value = !0)
11527
11529
  }, null, 8, ["label"])) : E("", !0),
11528
11530
  I.isEditable === !0 ? (v(), D(re, {
11529
11531
  key: 1,
@@ -11587,7 +11589,7 @@ const sn = /* @__PURE__ */ W(A9, [["render", E9], ["__scopeId", "data-v-ff4e3297
11587
11589
  onDeleteSubtask: O,
11588
11590
  onAddFiles: k,
11589
11591
  onRemoveFile: N,
11590
- onAddComment: j,
11592
+ onAddComment: R,
11591
11593
  onUpdateComment: G,
11592
11594
  onRemoveComment: J
11593
11595
  }, {
@@ -11604,10 +11606,10 @@ const sn = /* @__PURE__ */ W(A9, [["render", E9], ["__scopeId", "data-v-ff4e3297
11604
11606
  ]))
11605
11607
  ], 16),
11606
11608
  (v(), D(Tt, { to: "body" }, [
11607
- R.value ? (v(), D(Co, {
11609
+ j.value ? (v(), D(Co, {
11608
11610
  key: 0,
11609
11611
  phases: I.phases,
11610
- onClose: S[5] || (S[5] = (y) => R.value = !1),
11612
+ onClose: S[5] || (S[5] = (y) => j.value = !1),
11611
11613
  onSave: le
11612
11614
  }, null, 8, ["phases"])) : E("", !0),
11613
11615
  ae.value ? (v(), D(go, {
@@ -11951,13 +11953,13 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
11951
11953
  o.value ? (v(), C("div", l4, [
11952
11954
  h("div", r4, [
11953
11955
  h("label", u4, [
11954
- De(h("input", {
11956
+ Te(h("input", {
11955
11957
  "onUpdate:modelValue": O[1] || (O[1] = (k) => f.value = k),
11956
11958
  class: "ao-milestone__field ao-milestone__date-field",
11957
11959
  type: "date"
11958
11960
  }, null, 512), [
11959
11961
  [
11960
- We,
11962
+ Ne,
11961
11963
  f.value,
11962
11964
  void 0,
11963
11965
  { lazy: !0 }
@@ -11988,7 +11990,7 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
11988
11990
  "user-name": k.label,
11989
11991
  "avatar-url": k.avatar,
11990
11992
  "is-closable": !0,
11991
- onClose: (j) => N(k, j)
11993
+ onClose: (R) => N(k, R)
11992
11994
  }, null, 8, ["user-name", "avatar-url", "onClose"])
11993
11995
  ]),
11994
11996
  _: 1
@@ -12001,9 +12003,9 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
12001
12003
  }, {
12002
12004
  clickable: Z(({ openPicker: k, bgColor: N }) => [
12003
12005
  h("button", {
12004
- style: Ue({ background: N }),
12006
+ style: Fe({ background: N }),
12005
12007
  class: "color-button",
12006
- onClick: (j) => b(j, k)
12008
+ onClick: (R) => b(R, k)
12007
12009
  }, null, 12, p4)
12008
12010
  ]),
12009
12011
  _: 1
@@ -12019,13 +12021,13 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
12019
12021
  group: "kanban"
12020
12022
  }, m.$attrs, { onChange: c }), {
12021
12023
  item: Z(({ element: k }) => {
12022
- var N, j, G, J, ae;
12024
+ var N, R, G, J, ae;
12023
12025
  return [
12024
12026
  T(_o, {
12025
12027
  id: k.id,
12026
12028
  name: k.name || k.id,
12027
12029
  "phase-name": (N = n.value) == null ? void 0 : N.name,
12028
- "milestone-name": (j = o.value) == null ? void 0 : j.name,
12030
+ "milestone-name": (R = o.value) == null ? void 0 : R.name,
12029
12031
  "milestone-color": (G = o.value) == null ? void 0 : G.color,
12030
12032
  deadline: k.deadline,
12031
12033
  important: k.important,
@@ -12038,7 +12040,7 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
12038
12040
  "is-editable": m.isEditable,
12039
12041
  "is-private": k.private,
12040
12042
  "is-closed": _(k),
12041
- onClick: (R) => m.$router.push({
12043
+ onClick: (j) => m.$router.push({
12042
12044
  name: F(ye).activity,
12043
12045
  params: { milestoneId: m.milestoneId, activityId: k.id }
12044
12046
  }),
@@ -12608,7 +12610,7 @@ const j4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { clas
12608
12610
  d.value = !1, e("update:searchText", S);
12609
12611
  }, N = (S) => {
12610
12612
  d.value = !1, e("clear:searchText", S);
12611
- }, j = (S) => {
12613
+ }, R = (S) => {
12612
12614
  a.selectedActivity && e("addSubtask", S);
12613
12615
  }, G = (S) => {
12614
12616
  a.selectedActivity && e("updateSubtask", S);
@@ -12616,7 +12618,7 @@ const j4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { clas
12616
12618
  a.selectedActivity && e("deleteSubtask", S);
12617
12619
  }, ae = (S) => {
12618
12620
  e("addFiles", S);
12619
- }, R = (S) => {
12621
+ }, j = (S) => {
12620
12622
  e("removeFile", S);
12621
12623
  }, X = (S) => {
12622
12624
  a.selectedActivity && e("addComment", {
@@ -12775,11 +12777,11 @@ const j4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { clas
12775
12777
  projects: _.value,
12776
12778
  onClose: U[7] || (U[7] = () => o(null, null)),
12777
12779
  "onUpdate:activity": b,
12778
- onAddSubtask: j,
12780
+ onAddSubtask: R,
12779
12781
  onUpdateSubtask: G,
12780
12782
  onDeleteSubtask: J,
12781
12783
  onAddFiles: ae,
12782
- onRemoveFile: R,
12784
+ onRemoveFile: j,
12783
12785
  onAddComment: X,
12784
12786
  onUpdateComment: le,
12785
12787
  onRemoveComment: se,