@26lights/orcha 0.34.4 → 0.34.5

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
@@ -1258,16 +1258,16 @@ const _e = /* @__PURE__ */ ae({
1258
1258
  click: (b) => b.stopPropagation(),
1259
1259
  blur: m
1260
1260
  } : {
1261
- click: _,
1262
- focus: _
1263
- } : {}), d = i((b, y) => {
1264
- const A = y.target.value;
1261
+ click: y,
1262
+ focus: y
1263
+ } : {}), d = i((b, _) => {
1264
+ const A = _.target.value;
1265
1265
  e("update:title", A);
1266
1266
  }), c = l(), m = async () => {
1267
1267
  s.value && o(!1);
1268
1268
  }, p = () => {
1269
1269
  e("toggle-is-editing", !1);
1270
- }, _ = (b) => {
1270
+ }, y = (b) => {
1271
1271
  b.stopPropagation(), s.value || o(!0);
1272
1272
  };
1273
1273
  return ce(
@@ -1275,7 +1275,7 @@ const _e = /* @__PURE__ */ ae({
1275
1275
  (b) => {
1276
1276
  b || c();
1277
1277
  }
1278
- ), (b, y) => (f(), N(pt(r.value), Ve({
1278
+ ), (b, _) => (f(), N(pt(r.value), Ve({
1279
1279
  id: b.id,
1280
1280
  ref_key: "target",
1281
1281
  ref: n,
@@ -1586,8 +1586,8 @@ function La(t, e) {
1586
1586
  var d = ca(), c = Xe((a = (n = (s = (o = e == null ? void 0 : e.weekStartsOn) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && s !== void 0 ? s : d.weekStartsOn) !== null && n !== void 0 ? n : (r = d.locale) === null || r === void 0 || (u = r.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && a !== void 0 ? a : 0);
1587
1587
  if (!(c >= 0 && c <= 6))
1588
1588
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
1589
- var m = be(t), p = m.getUTCDay(), _ = (p < c ? 7 : 0) + p - c;
1590
- return m.setUTCDate(m.getUTCDate() - _), m.setUTCHours(0, 0, 0, 0), m;
1589
+ var m = be(t), p = m.getUTCDay(), y = (p < c ? 7 : 0) + p - c;
1590
+ return m.setUTCDate(m.getUTCDate() - y), m.setUTCHours(0, 0, 0, 0), m;
1591
1591
  }
1592
1592
  function $n(t, e) {
1593
1593
  var a, n, s, o, i, l, r, u;
@@ -1595,11 +1595,11 @@ function $n(t, e) {
1595
1595
  var d = be(t), c = d.getUTCFullYear(), m = ca(), p = Xe((a = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && s !== void 0 ? s : m.firstWeekContainsDate) !== null && n !== void 0 ? n : (r = m.locale) === null || r === void 0 || (u = r.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && a !== void 0 ? a : 1);
1596
1596
  if (!(p >= 1 && p <= 7))
1597
1597
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
1598
- var _ = /* @__PURE__ */ new Date(0);
1599
- _.setUTCFullYear(c + 1, 0, p), _.setUTCHours(0, 0, 0, 0);
1600
- var b = La(_, e), y = /* @__PURE__ */ new Date(0);
1601
- y.setUTCFullYear(c, 0, p), y.setUTCHours(0, 0, 0, 0);
1602
- var h = La(y, e);
1598
+ var y = /* @__PURE__ */ new Date(0);
1599
+ y.setUTCFullYear(c + 1, 0, p), y.setUTCHours(0, 0, 0, 0);
1600
+ var b = La(y, e), _ = /* @__PURE__ */ new Date(0);
1601
+ _.setUTCFullYear(c, 0, p), _.setUTCHours(0, 0, 0, 0);
1602
+ var h = La(_, e);
1603
1603
  return d.getTime() >= b.getTime() ? c + 1 : d.getTime() >= h.getTime() ? c : c - 1;
1604
1604
  }
1605
1605
  function j2(t, e) {
@@ -1607,8 +1607,8 @@ function j2(t, e) {
1607
1607
  ge(1, arguments);
1608
1608
  var d = ca(), c = Xe((a = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && s !== void 0 ? s : d.firstWeekContainsDate) !== null && n !== void 0 ? n : (r = d.locale) === null || r === void 0 || (u = r.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && a !== void 0 ? a : 1), m = $n(t, e), p = /* @__PURE__ */ new Date(0);
1609
1609
  p.setUTCFullYear(m, 0, c), p.setUTCHours(0, 0, 0, 0);
1610
- var _ = La(p, e);
1611
- return _;
1610
+ var y = La(p, e);
1611
+ return y;
1612
1612
  }
1613
1613
  var U2 = 6048e5;
1614
1614
  function Z2(t, e) {
@@ -2722,12 +2722,12 @@ var H0 = {
2722
2722
  const Mn = H0;
2723
2723
  var B0 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, R0 = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, N0 = /^'([^]*?)'?$/, j0 = /''/g, U0 = /[a-zA-Z]/;
2724
2724
  function An(t, e, a) {
2725
- var n, s, o, i, l, r, u, d, c, m, p, _, b, y, h, A, $, S;
2725
+ var n, s, o, i, l, r, u, d, c, m, p, y, b, _, h, A, $, S;
2726
2726
  ge(2, arguments);
2727
2727
  var D = String(e), I = ca(), Z = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : I.locale) !== null && n !== void 0 ? n : Mn, F = Xe((o = (i = (l = (r = a == null ? void 0 : a.firstWeekContainsDate) !== null && r !== void 0 ? r : a == null || (u = a.locale) === null || u === void 0 || (d = u.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && l !== void 0 ? l : I.firstWeekContainsDate) !== null && i !== void 0 ? i : (c = I.locale) === null || c === void 0 || (m = c.options) === null || m === void 0 ? void 0 : m.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
2728
2728
  if (!(F >= 1 && F <= 7))
2729
2729
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
2730
- var K = Xe((p = (_ = (b = (y = a == null ? void 0 : a.weekStartsOn) !== null && y !== void 0 ? y : a == null || (h = a.locale) === null || h === void 0 || (A = h.options) === null || A === void 0 ? void 0 : A.weekStartsOn) !== null && b !== void 0 ? b : I.weekStartsOn) !== null && _ !== void 0 ? _ : ($ = I.locale) === null || $ === void 0 || (S = $.options) === null || S === void 0 ? void 0 : S.weekStartsOn) !== null && p !== void 0 ? p : 0);
2730
+ var K = Xe((p = (y = (b = (_ = a == null ? void 0 : a.weekStartsOn) !== null && _ !== void 0 ? _ : a == null || (h = a.locale) === null || h === void 0 || (A = h.options) === null || A === void 0 ? void 0 : A.weekStartsOn) !== null && b !== void 0 ? b : I.weekStartsOn) !== null && y !== void 0 ? y : ($ = I.locale) === null || $ === void 0 || (S = $.options) === null || S === void 0 ? void 0 : S.weekStartsOn) !== null && p !== void 0 ? p : 0);
2731
2731
  if (!(K >= 0 && K <= 6))
2732
2732
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
2733
2733
  if (!Z.localize)
@@ -2771,24 +2771,24 @@ function Z0(t) {
2771
2771
  function F0(t, e, a) {
2772
2772
  var n, s, o, i, l, r, u, d, c, m;
2773
2773
  ge(2, arguments);
2774
- var p = be(t), _ = be(e), b = ca(), y = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : b.locale) !== null && n !== void 0 ? n : Mn, h = Xe((o = (i = (l = (r = a == null ? void 0 : a.weekStartsOn) !== null && r !== void 0 ? r : a == null || (u = a.locale) === null || u === void 0 || (d = u.options) === null || d === void 0 ? void 0 : d.weekStartsOn) !== null && l !== void 0 ? l : b.weekStartsOn) !== null && i !== void 0 ? i : (c = b.locale) === null || c === void 0 || (m = c.options) === null || m === void 0 ? void 0 : m.weekStartsOn) !== null && o !== void 0 ? o : 0);
2775
- if (!y.localize)
2774
+ var p = be(t), y = be(e), b = ca(), _ = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : b.locale) !== null && n !== void 0 ? n : Mn, h = Xe((o = (i = (l = (r = a == null ? void 0 : a.weekStartsOn) !== null && r !== void 0 ? r : a == null || (u = a.locale) === null || u === void 0 || (d = u.options) === null || d === void 0 ? void 0 : d.weekStartsOn) !== null && l !== void 0 ? l : b.weekStartsOn) !== null && i !== void 0 ? i : (c = b.locale) === null || c === void 0 || (m = c.options) === null || m === void 0 ? void 0 : m.weekStartsOn) !== null && o !== void 0 ? o : 0);
2775
+ if (!_.localize)
2776
2776
  throw new RangeError("locale must contain localize property");
2777
- if (!y.formatLong)
2777
+ if (!_.formatLong)
2778
2778
  throw new RangeError("locale must contain formatLong property");
2779
- if (!y.formatRelative)
2779
+ if (!_.formatRelative)
2780
2780
  throw new RangeError("locale must contain formatRelative property");
2781
- var A = L2(p, _);
2781
+ var A = L2(p, y);
2782
2782
  if (isNaN(A))
2783
2783
  throw new RangeError("Invalid time value");
2784
2784
  var $;
2785
2785
  A < -6 ? $ = "other" : A < -1 ? $ = "lastWeek" : A < 0 ? $ = "yesterday" : A < 1 ? $ = "today" : A < 2 ? $ = "tomorrow" : A < 7 ? $ = "nextWeek" : $ = "other";
2786
- var S = f1(p, na(p)), D = f1(_, na(_)), I = y.formatRelative($, S, D, {
2787
- locale: y,
2786
+ var S = f1(p, na(p)), D = f1(y, na(y)), I = _.formatRelative($, S, D, {
2787
+ locale: _,
2788
2788
  weekStartsOn: h
2789
2789
  });
2790
2790
  return An(p, I, {
2791
- locale: y,
2791
+ locale: _,
2792
2792
  weekStartsOn: h
2793
2793
  });
2794
2794
  }
@@ -3487,17 +3487,17 @@ function In() {
3487
3487
  r = d;
3488
3488
  }
3489
3489
  let c;
3490
- for (let _ = r.getScale(); _ > 0; u = c) {
3491
- const b = _ - 1, y = r.setScale(b, !0);
3492
- if (c = u.setScale(b, !1), y.compareTo(c) === 0)
3493
- return s.checkMid(i, l, y);
3494
- if (y.compareTo(c) > 0)
3490
+ for (let y = r.getScale(); y > 0; u = c) {
3491
+ const b = y - 1, _ = r.setScale(b, !0);
3492
+ if (c = u.setScale(b, !1), _.compareTo(c) === 0)
3493
+ return s.checkMid(i, l, _);
3494
+ if (_.compareTo(c) > 0)
3495
3495
  break;
3496
- _ = b, r = y;
3496
+ y = b, r = _;
3497
3497
  }
3498
3498
  let m = s.middleInternal(i, l, r, u), p;
3499
- for (let _ = m.getScale(); _ > 0; _ = p) {
3500
- p = _ - 1;
3499
+ for (let y = m.getScale(); y > 0; y = p) {
3500
+ p = y - 1;
3501
3501
  const b = m.setScale(p);
3502
3502
  if (i.compareTo(b) >= 0 || b.compareTo(l) >= 0)
3503
3503
  break;
@@ -4341,10 +4341,10 @@ const C5 = async (t, e, a) => {
4341
4341
  }), {
4342
4342
  x: d,
4343
4343
  y: c
4344
- } = J1(u, n, r), m = n, p = {}, _ = 0;
4344
+ } = J1(u, n, r), m = n, p = {}, y = 0;
4345
4345
  for (let b = 0; b < l.length; b++) {
4346
4346
  const {
4347
- name: y,
4347
+ name: _,
4348
4348
  fn: h
4349
4349
  } = l[b], {
4350
4350
  x: A,
@@ -4367,12 +4367,12 @@ const C5 = async (t, e, a) => {
4367
4367
  });
4368
4368
  if (d = A ?? d, c = $ ?? c, p = {
4369
4369
  ...p,
4370
- [y]: {
4371
- ...p[y],
4370
+ [_]: {
4371
+ ...p[_],
4372
4372
  ...S
4373
4373
  }
4374
- }, D && _ <= 50) {
4375
- _++, typeof D == "object" && (D.placement && (m = D.placement), D.rects && (u = D.rects === !0 ? await i.getElementRects({
4374
+ }, D && y <= 50) {
4375
+ y++, typeof D == "object" && (D.placement && (m = D.placement), D.rects && (u = D.rects === !0 ? await i.getElementRects({
4376
4376
  reference: t,
4377
4377
  floating: e,
4378
4378
  strategy: s
@@ -4407,8 +4407,8 @@ async function Pn(t, e) {
4407
4407
  elementContext: c = "floating",
4408
4408
  altBoundary: m = !1,
4409
4409
  padding: p = 0
4410
- } = M1(e, t), _ = h5(p), y = l[m ? c === "floating" ? "reference" : "floating" : c], h = Pa(await o.getClippingRect({
4411
- element: (a = await (o.isElement == null ? void 0 : o.isElement(y))) == null || a ? y : y.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(l.floating)),
4410
+ } = M1(e, t), y = h5(p), _ = l[m ? c === "floating" ? "reference" : "floating" : c], h = Pa(await o.getClippingRect({
4411
+ element: (a = await (o.isElement == null ? void 0 : o.isElement(_))) == null || a ? _ : _.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(l.floating)),
4412
4412
  boundary: u,
4413
4413
  rootBoundary: d,
4414
4414
  strategy: r
@@ -4428,10 +4428,10 @@ async function Pn(t, e) {
4428
4428
  strategy: r
4429
4429
  }) : A);
4430
4430
  return {
4431
- top: (h.top - D.top + _.top) / S.y,
4432
- bottom: (D.bottom - h.bottom + _.bottom) / S.y,
4433
- left: (h.left - D.left + _.left) / S.x,
4434
- right: (D.right - h.right + _.right) / S.x
4431
+ top: (h.top - D.top + y.top) / S.y,
4432
+ bottom: (D.bottom - h.bottom + y.bottom) / S.y,
4433
+ left: (h.left - D.left + y.left) / S.x,
4434
+ right: (D.right - h.right + y.right) / S.x
4435
4435
  };
4436
4436
  }
4437
4437
  const g5 = function(t) {
@@ -4452,15 +4452,15 @@ const g5 = function(t) {
4452
4452
  crossAxis: c = !0,
4453
4453
  fallbackPlacements: m,
4454
4454
  fallbackStrategy: p = "bestFit",
4455
- fallbackAxisSideDirection: _ = "none",
4455
+ fallbackAxisSideDirection: y = "none",
4456
4456
  flipAlignment: b = !0,
4457
- ...y
4457
+ ..._
4458
4458
  } = M1(t, e);
4459
4459
  if ((a = o.arrow) != null && a.alignmentOffset)
4460
4460
  return {};
4461
4461
  const h = Bt(s), A = Bt(l) === l, $ = await (r.isRTL == null ? void 0 : r.isRTL(u.floating)), S = m || (A || !b ? [Da(l)] : f5(l));
4462
- !m && _ !== "none" && S.push(...p5(l, b, _, $));
4463
- const D = [l, ...S], I = await Pn(e, y), Z = [];
4462
+ !m && y !== "none" && S.push(...p5(l, b, y, $));
4463
+ const D = [l, ...S], I = await Pn(e, _), Z = [];
4464
4464
  let F = ((n = o.flip) == null ? void 0 : n.overflows) || [];
4465
4465
  if (d && Z.push(I[h]), c) {
4466
4466
  const B = c5(s, i, $);
@@ -4523,16 +4523,16 @@ const g5 = function(t) {
4523
4523
  width: m,
4524
4524
  height: p
4525
4525
  } = n.floating;
4526
- let _, b;
4527
- u === "top" || u === "bottom" ? (_ = u, b = d === (await (s.isRTL == null ? void 0 : s.isRTL(o.floating)) ? "start" : "end") ? "left" : "right") : (b = u, _ = d === "end" ? "top" : "bottom");
4528
- const y = p - r[_], h = m - r[b], A = !e.middlewareData.shift;
4529
- let $ = y, S = h;
4526
+ let y, b;
4527
+ u === "top" || u === "bottom" ? (y = u, b = d === (await (s.isRTL == null ? void 0 : s.isRTL(o.floating)) ? "start" : "end") ? "left" : "right") : (b = u, y = d === "end" ? "top" : "bottom");
4528
+ const _ = p - r[y], h = m - r[b], A = !e.middlewareData.shift;
4529
+ let $ = _, S = h;
4530
4530
  if (c) {
4531
4531
  const I = m - r.left - r.right;
4532
4532
  S = d || A ? oa(h, I) : I;
4533
4533
  } else {
4534
4534
  const I = p - r.top - r.bottom;
4535
- $ = d || A ? oa(y, I) : I;
4535
+ $ = d || A ? oa(_, I) : I;
4536
4536
  }
4537
4537
  if (A && !d) {
4538
4538
  const I = Oe(r.left, 0), Z = Oe(r.right, 0), F = Oe(r.top, 0), K = Oe(r.bottom, 0);
@@ -4688,10 +4688,10 @@ function $t(t, e, a, n) {
4688
4688
  let r = (s.left + l.x) / i.x, u = (s.top + l.y) / i.y, d = s.width / i.x, c = s.height / i.y;
4689
4689
  if (o) {
4690
4690
  const m = ke(o), p = n && Je(n) ? ke(n) : n;
4691
- let _ = m.frameElement;
4692
- for (; _ && n && p !== m; ) {
4693
- const b = Dt(_), y = _.getBoundingClientRect(), h = He(_), A = y.left + (_.clientLeft + parseFloat(h.paddingLeft)) * b.x, $ = y.top + (_.clientTop + parseFloat(h.paddingTop)) * b.y;
4694
- r *= b.x, u *= b.y, d *= b.x, c *= b.y, r += A, u += $, _ = ke(_).frameElement;
4691
+ let y = m.frameElement;
4692
+ for (; y && n && p !== m; ) {
4693
+ const b = Dt(y), _ = y.getBoundingClientRect(), h = He(y), A = _.left + (y.clientLeft + parseFloat(h.paddingLeft)) * b.x, $ = _.top + (y.clientTop + parseFloat(h.paddingTop)) * b.y;
4694
+ r *= b.x, u *= b.y, d *= b.x, c *= b.y, r += A, u += $, y = ke(y).frameElement;
4695
4695
  }
4696
4696
  }
4697
4697
  return Pa({
@@ -4902,8 +4902,8 @@ function H5(t, e) {
4902
4902
  } = t.getBoundingClientRect();
4903
4903
  if (l || e(), !c || !m)
4904
4904
  return;
4905
- const p = Aa(d), _ = Aa(s.clientWidth - (u + c)), b = Aa(s.clientHeight - (d + m)), y = Aa(u), A = {
4906
- rootMargin: -p + "px " + -_ + "px " + -b + "px " + -y + "px",
4905
+ const p = Aa(d), y = Aa(s.clientWidth - (u + c)), b = Aa(s.clientHeight - (d + m)), _ = Aa(u), A = {
4906
+ rootMargin: -p + "px " + -y + "px " + -b + "px " + -_ + "px",
4907
4907
  threshold: Oe(0, oa(1, r)) || 1
4908
4908
  };
4909
4909
  let $ = !0;
@@ -4953,16 +4953,16 @@ function B5(t, e, a, n) {
4953
4953
  p && p.observe(e);
4954
4954
  })), a();
4955
4955
  }), u && !r && p.observe(u), p.observe(e));
4956
- let _, b = r ? $t(t) : null;
4957
- r && y();
4958
- function y() {
4956
+ let y, b = r ? $t(t) : null;
4957
+ r && _();
4958
+ function _() {
4959
4959
  const h = $t(t);
4960
- b && (h.x !== b.x || h.y !== b.y || h.width !== b.width || h.height !== b.height) && a(), b = h, _ = requestAnimationFrame(y);
4960
+ b && (h.x !== b.x || h.y !== b.y || h.width !== b.width || h.height !== b.height) && a(), b = h, y = requestAnimationFrame(_);
4961
4961
  }
4962
4962
  return a(), () => {
4963
4963
  d.forEach((h) => {
4964
4964
  s && h.removeEventListener("scroll", a), o && h.removeEventListener("resize", a);
4965
- }), c && c(), p && p.disconnect(), p = null, r && cancelAnimationFrame(_);
4965
+ }), c && c(), p && p.disconnect(), p = null, r && cancelAnimationFrame(y);
4966
4966
  };
4967
4967
  }
4968
4968
  const R5 = (t, e, a) => {
@@ -5002,9 +5002,9 @@ const R5 = (t, e, a) => {
5002
5002
  transform: "none",
5003
5003
  marginTop: 0
5004
5004
  }), i.appendChild(m), t.multiselect.value.handleFocusOut = r;
5005
- const _ = B5(a.value, n.value, d);
5005
+ const y = B5(a.value, n.value, d);
5006
5006
  l.value = () => {
5007
- n.value && i.contains(n.value) && i.removeChild(n.value), _();
5007
+ n.value && i.contains(n.value) && i.removeChild(n.value), y();
5008
5008
  };
5009
5009
  }
5010
5010
  function d() {
@@ -5017,10 +5017,10 @@ const R5 = (t, e, a) => {
5017
5017
  fallbackPlacements: ["top-start", "bottom-start"]
5018
5018
  }),
5019
5019
  _5({
5020
- apply({ availableWidth: c, availableHeight: m, elements: p, rects: _ }) {
5020
+ apply({ availableWidth: c, availableHeight: m, elements: p, rects: y }) {
5021
5021
  Object.assign(p.floating.style, {
5022
5022
  minHeight: `${s.value}px`,
5023
- width: `${_.reference.width}px`,
5023
+ width: `${y.reference.width}px`,
5024
5024
  maxWidth: `${c}px`,
5025
5025
  maxHeight: `${m}px`
5026
5026
  // These numbers are pleasant defaults/control for screen size.
@@ -5079,9 +5079,9 @@ function Z5(t, e, a) {
5079
5079
  }
5080
5080
  }, c = (m) => {
5081
5081
  if (n && n.value) {
5082
- let _ = (m.clipboardData || /* istanbul ignore next */
5082
+ let y = (m.clipboardData || /* istanbul ignore next */
5083
5083
  window.clipboardData).getData("Text"), b = n.value;
5084
- typeof b == "string" && (b = new RegExp(b)), _.split("").every((y) => !!y.match(b)) || m.preventDefault();
5084
+ typeof b == "string" && (b = new RegExp(b)), y.split("").every((_) => !!_.match(b)) || m.preventDefault();
5085
5085
  }
5086
5086
  e.emit("paste", m, s);
5087
5087
  };
@@ -5132,9 +5132,9 @@ function z5(t, e, a) {
5132
5132
  appendNewTag: c,
5133
5133
  appendNewOption: m,
5134
5134
  multipleLabel: p,
5135
- object: _,
5135
+ object: y,
5136
5136
  loading: b,
5137
- delay: y,
5137
+ delay: _,
5138
5138
  resolveOnLoad: h,
5139
5139
  minChars: A,
5140
5140
  filterResults: $,
@@ -5253,7 +5253,7 @@ function z5(t, e, a) {
5253
5253
  break;
5254
5254
  }
5255
5255
  e.emit("deselect", N1(w), w, W);
5256
- }, N1 = (w) => _.value ? w : w[I.value], j1 = (w) => {
5256
+ }, N1 = (w) => y.value ? w : w[I.value], j1 = (w) => {
5257
5257
  Et(w);
5258
5258
  }, ns = (w, P) => {
5259
5259
  if (P.button !== 0) {
@@ -5368,19 +5368,19 @@ function z5(t, e, a) {
5368
5368
  let w = Ye(R.value[I.value]);
5369
5369
  if (w !== void 0) {
5370
5370
  let P = w[d.value];
5371
- R.value[d.value] = P, _.value && (V.value[d.value] = P);
5371
+ R.value[d.value] = P, y.value && (V.value[d.value] = P);
5372
5372
  }
5373
5373
  } else
5374
5374
  R.value.forEach((w, P) => {
5375
5375
  let oe = Ye(R.value[P][I.value]);
5376
5376
  if (oe !== void 0) {
5377
5377
  let pe = oe[d.value];
5378
- R.value[P][d.value] = pe, _.value && (V.value[P][d.value] = pe);
5378
+ R.value[P][d.value] = pe, y.value && (V.value[P][d.value] = pe);
5379
5379
  }
5380
5380
  });
5381
5381
  }, vs = (w) => {
5382
5382
  ba(w);
5383
- }, wa = (w) => je(w) ? s.value === "single" ? {} : [] : _.value ? w : s.value === "single" ? Ye(w) || (Z.value ? {
5383
+ }, wa = (w) => je(w) ? s.value === "single" ? {} : [] : y.value ? w : s.value === "single" ? Ye(w) || (Z.value ? {
5384
5384
  [d.value]: w,
5385
5385
  [I.value]: w,
5386
5386
  [_t.value[0]]: w
@@ -5399,12 +5399,12 @@ function z5(t, e, a) {
5399
5399
  console.error(P);
5400
5400
  }
5401
5401
  );
5402
- }, y.value));
5402
+ }, _.value));
5403
5403
  }, { flush: "sync" });
5404
5404
  };
5405
5405
  if (s.value !== "single" && !je(V.value) && !Array.isArray(V.value))
5406
5406
  throw new Error(`v-model must be an array when using "${s.value}" mode`);
5407
- return n && typeof n.value == "function" ? h.value ? ba(ya) : _.value == !0 && ya() : (Ne.value = n.value, ya()), y.value > -1 && F1(), ce(y, (w, P) => {
5407
+ return n && typeof n.value == "function" ? h.value ? ba(ya) : y.value == !0 && ya() : (Ne.value = n.value, ya()), _.value > -1 && F1(), ce(_, (w, P) => {
5408
5408
  Be.value && Be.value(), w >= 0 && F1();
5409
5409
  }), ce(V, (w) => {
5410
5410
  if (je(w)) {
@@ -5413,11 +5413,11 @@ function z5(t, e, a) {
5413
5413
  }
5414
5414
  switch (s.value) {
5415
5415
  case "single":
5416
- (_.value ? w[I.value] != R.value[I.value] : w != R.value[I.value]) && $e(wa(w), !1);
5416
+ (y.value ? w[I.value] != R.value[I.value] : w != R.value[I.value]) && $e(wa(w), !1);
5417
5417
  break;
5418
5418
  case "multiple":
5419
5419
  case "tags":
5420
- W5(_.value ? w.map((P) => P[I.value]) : w, R.value.map((P) => P[I.value])) || $e(wa(w), !1);
5420
+ W5(y.value ? w.map((P) => P[I.value]) : w, R.value.map((P) => P[I.value])) || $e(wa(w), !1);
5421
5421
  break;
5422
5422
  }
5423
5423
  }, { deep: !0 }), ce(n, (w, P) => {
@@ -5469,7 +5469,7 @@ function Y5(t, e, a) {
5469
5469
  groupSelect: u,
5470
5470
  disabledProp: d,
5471
5471
  groupOptions: c
5472
- } = Ae(t), m = a.fo, p = a.fg, _ = a.handleOptionClick, b = a.handleGroupClick, y = a.search, h = a.pointer, A = a.setPointer, $ = a.clearPointer, S = a.multiselect, D = a.isOpen, I = M(() => m.value.filter((V) => !V[d.value])), Z = M(() => p.value.filter((V) => !V[d.value])), F = M(() => r.value !== "single" && u.value), K = M(() => h.value && h.value.group), O = M(() => W(h.value)), X = M(() => {
5472
+ } = Ae(t), m = a.fo, p = a.fg, y = a.handleOptionClick, b = a.handleGroupClick, _ = a.search, h = a.pointer, A = a.setPointer, $ = a.clearPointer, S = a.multiselect, D = a.isOpen, I = M(() => m.value.filter((V) => !V[d.value])), Z = M(() => p.value.filter((V) => !V[d.value])), F = M(() => r.value !== "single" && u.value), K = M(() => h.value && h.value.group), O = M(() => W(h.value)), X = M(() => {
5473
5473
  const V = K.value ? h.value : (
5474
5474
  /* istanbul ignore next */
5475
5475
  W(h.value)
@@ -5488,7 +5488,7 @@ function Y5(t, e, a) {
5488
5488
  }), T = M(() => [...X.value.__VISIBLE__.filter((V) => !V[d.value])].slice(-1)[0]), q = M(() => [...C.value.__VISIBLE__.filter((V) => !V[d.value])].slice(-1)[0]), Y = (V) => h.value && (!V.group && h.value[n.value] === V[n.value] || V.group !== void 0 && h.value[i.value] === V[i.value]) ? !0 : void 0, le = () => {
5489
5489
  A(I.value[0] || null);
5490
5490
  }, k = () => {
5491
- !h.value || h.value[d.value] === !0 || (K.value ? b(h.value) : _(h.value));
5491
+ !h.value || h.value[d.value] === !0 || (K.value ? b(h.value) : y(h.value));
5492
5492
  }, x = () => {
5493
5493
  if (h.value === null)
5494
5494
  A((l.value && F.value ? Z.value[0].__CREATE__ ? I.value[0] : Z.value[0] : I.value[0]) || null);
@@ -5525,7 +5525,7 @@ function Y5(t, e, a) {
5525
5525
  let G = V.parentElement.parentElement;
5526
5526
  l.value && (G = K.value ? V.parentElement.parentElement.parentElement : V.parentElement.parentElement.parentElement.parentElement), V.offsetTop + V.offsetHeight > G.clientHeight + G.scrollTop && (G.scrollTop = V.offsetTop + V.offsetHeight - G.clientHeight), V.offsetTop < G.scrollTop && (G.scrollTop = V.offsetTop);
5527
5527
  };
5528
- return ce(y, (V) => {
5528
+ return ce(_, (V) => {
5529
5529
  o.value && (V.length && s.value ? le() : $());
5530
5530
  }), ce(D, (V) => {
5531
5531
  if (V) {
@@ -5906,7 +5906,7 @@ function k7(t, e) {
5906
5906
  }
5907
5907
  function P1(t, e) {
5908
5908
  e === void 0 && (e = {});
5909
- var a = e, n = a.placement, s = n === void 0 ? t.placement : n, o = a.strategy, i = o === void 0 ? t.strategy : o, l = a.boundary, r = l === void 0 ? e7 : l, u = a.rootBoundary, d = u === void 0 ? zn : u, c = a.elementContext, m = c === void 0 ? ea : c, p = a.altBoundary, _ = p === void 0 ? !1 : p, b = a.padding, y = b === void 0 ? 0 : b, h = $7(typeof y != "number" ? y : k7(y, Xa)), A = m === ea ? t7 : ea, $ = t.rects.popper, S = t.elements[_ ? A : m], D = w7(kt(S) ? S : S.contextElement || Ct(t.elements.popper), r, d, i), I = jt(t.elements.reference), Z = xn({
5909
+ var a = e, n = a.placement, s = n === void 0 ? t.placement : n, o = a.strategy, i = o === void 0 ? t.strategy : o, l = a.boundary, r = l === void 0 ? e7 : l, u = a.rootBoundary, d = u === void 0 ? zn : u, c = a.elementContext, m = c === void 0 ? ea : c, p = a.altBoundary, y = p === void 0 ? !1 : p, b = a.padding, _ = b === void 0 ? 0 : b, h = $7(typeof _ != "number" ? _ : k7(_, Xa)), A = m === ea ? t7 : ea, $ = t.rects.popper, S = t.elements[y ? A : m], D = w7(kt(S) ? S : S.contextElement || Ct(t.elements.popper), r, d, i), I = jt(t.elements.reference), Z = xn({
5910
5910
  reference: I,
5911
5911
  element: $,
5912
5912
  strategy: "absolute",
@@ -5965,7 +5965,7 @@ function M7(t) {
5965
5965
  var $ = p7(h7([].concat(n, d.options.modifiers)));
5966
5966
  return d.orderedModifiers = $.filter(function(S) {
5967
5967
  return S.enabled;
5968
- }), _(), p.update();
5968
+ }), y(), p.update();
5969
5969
  },
5970
5970
  // Sync update – it will always be executed, even if not necessary. This
5971
5971
  // is useful for low frequency updates where sync behavior simplifies the
@@ -6001,8 +6001,8 @@ function M7(t) {
6001
6001
  // Async and optimistically optimized update – it will not be executed if
6002
6002
  // not necessary (debounced to run at most once-per-tick)
6003
6003
  update: m7(function() {
6004
- return new Promise(function(y) {
6005
- p.forceUpdate(), y(d);
6004
+ return new Promise(function(_) {
6005
+ p.forceUpdate(), _(d);
6006
6006
  });
6007
6007
  }),
6008
6008
  destroy: function() {
@@ -6011,12 +6011,12 @@ function M7(t) {
6011
6011
  };
6012
6012
  if (!rn(l, r))
6013
6013
  return p;
6014
- p.setOptions(u).then(function(y) {
6015
- !m && u.onFirstUpdate && u.onFirstUpdate(y);
6014
+ p.setOptions(u).then(function(_) {
6015
+ !m && u.onFirstUpdate && u.onFirstUpdate(_);
6016
6016
  });
6017
- function _() {
6018
- d.orderedModifiers.forEach(function(y) {
6019
- var h = y.name, A = y.options, $ = A === void 0 ? {} : A, S = y.effect;
6017
+ function y() {
6018
+ d.orderedModifiers.forEach(function(_) {
6019
+ var h = _.name, A = _.options, $ = A === void 0 ? {} : A, S = _.effect;
6020
6020
  if (typeof S == "function") {
6021
6021
  var D = S({
6022
6022
  state: d,
@@ -6030,8 +6030,8 @@ function M7(t) {
6030
6030
  });
6031
6031
  }
6032
6032
  function b() {
6033
- c.forEach(function(y) {
6034
- return y();
6033
+ c.forEach(function(_) {
6034
+ return _();
6035
6035
  }), c = [];
6036
6036
  }
6037
6037
  return p;
@@ -6088,14 +6088,14 @@ function I7(t, e) {
6088
6088
  };
6089
6089
  }
6090
6090
  function un(t) {
6091
- var e, a = t.popper, n = t.popperRect, s = t.placement, o = t.variation, i = t.offsets, l = t.position, r = t.gpuAcceleration, u = t.adaptive, d = t.roundOffsets, c = t.isFixed, m = i.x, p = m === void 0 ? 0 : m, _ = i.y, b = _ === void 0 ? 0 : _, y = typeof d == "function" ? d({
6091
+ var e, a = t.popper, n = t.popperRect, s = t.placement, o = t.variation, i = t.offsets, l = t.position, r = t.gpuAcceleration, u = t.adaptive, d = t.roundOffsets, c = t.isFixed, m = i.x, p = m === void 0 ? 0 : m, y = i.y, b = y === void 0 ? 0 : y, _ = typeof d == "function" ? d({
6092
6092
  x: p,
6093
6093
  y: b
6094
6094
  }) : {
6095
6095
  x: p,
6096
6096
  y: b
6097
6097
  };
6098
- p = y.x, b = y.y;
6098
+ p = _.x, b = _.y;
6099
6099
  var h = i.hasOwnProperty("x"), A = i.hasOwnProperty("y"), $ = Ge, S = Re, D = window;
6100
6100
  if (u) {
6101
6101
  var I = Ka(a), Z = "clientHeight", F = "clientWidth";
@@ -6216,7 +6216,7 @@ function j7(t, e, a) {
6216
6216
  return n > a ? a : n;
6217
6217
  }
6218
6218
  function U7(t) {
6219
- var e = t.state, a = t.options, n = t.name, s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, l = i === void 0 ? !1 : i, r = a.boundary, u = a.rootBoundary, d = a.altBoundary, c = a.padding, m = a.tether, p = m === void 0 ? !0 : m, _ = a.tetherOffset, b = _ === void 0 ? 0 : _, y = P1(e, {
6219
+ var e = t.state, a = t.options, n = t.name, s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, l = i === void 0 ? !1 : i, r = a.boundary, u = a.rootBoundary, d = a.altBoundary, c = a.padding, m = a.tether, p = m === void 0 ? !0 : m, y = a.tetherOffset, b = y === void 0 ? 0 : y, _ = P1(e, {
6220
6220
  boundary: r,
6221
6221
  rootBoundary: u,
6222
6222
  padding: c,
@@ -6235,14 +6235,14 @@ function U7(t) {
6235
6235
  };
6236
6236
  if (I) {
6237
6237
  if (o) {
6238
- var C, H = S === "y" ? Re : Ge, te = S === "y" ? qe : vt, U = S === "y" ? "height" : "width", T = I[S], q = T + y[H], Y = T - y[te], le = p ? -F[U] / 2 : 0, k = A === Ut ? Z[U] : F[U], x = A === Ut ? -F[U] : -Z[U], re = e.elements.arrow, W = p && re ? qn(re) : {
6238
+ var C, H = S === "y" ? Re : Ge, te = S === "y" ? qe : vt, U = S === "y" ? "height" : "width", T = I[S], q = T + _[H], Y = T - _[te], le = p ? -F[U] / 2 : 0, k = A === Ut ? Z[U] : F[U], x = A === Ut ? -F[U] : -Z[U], re = e.elements.arrow, W = p && re ? qn(re) : {
6239
6239
  width: 0,
6240
6240
  height: 0
6241
6241
  }, R = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Gn(), V = R[H], G = R[te], ve = Sa(0, Z[U], W[U]), $e = $ ? Z[U] / 2 - le - ve - V - O.mainAxis : k - ve - V - O.mainAxis, Wt = $ ? -Z[U] / 2 + le + ve + G + O.mainAxis : x + ve + G + O.mainAxis, zt = e.elements.arrow && Ka(e.elements.arrow), at = zt ? S === "y" ? zt.clientTop || 0 : zt.clientLeft || 0 : 0, ha = (C = X == null ? void 0 : X[S]) != null ? C : 0, Qa = T + $e - ha - at, nt = T + Wt - ha, Ca = Sa(p ? Ha(q, Qa) : q, T, p ? wt(Y, nt) : Y);
6242
6242
  I[S] = Ca, B[S] = Ca - T;
6243
6243
  }
6244
6244
  if (l) {
6245
- var st, Ne = S === "x" ? Re : Ge, Te = S === "x" ? qe : vt, Be = I[D], We = D === "y" ? "height" : "width", Yt = Be + y[Ne], ga = Be - y[Te], Se = [Re, Ge].indexOf(h) !== -1, xt = (st = X == null ? void 0 : X[D]) != null ? st : 0, it = Se ? Yt : Be - Z[We] - F[We] - xt + O.altAxis, gt = Se ? Be + Z[We] + F[We] - xt - O.altAxis : ga, _a = p && Se ? j7(it, Be, gt) : Sa(p ? it : Yt, Be, p ? gt : ga);
6245
+ var st, Ne = S === "x" ? Re : Ge, Te = S === "x" ? qe : vt, Be = I[D], We = D === "y" ? "height" : "width", Yt = Be + _[Ne], ga = Be - _[Te], Se = [Re, Ge].indexOf(h) !== -1, xt = (st = X == null ? void 0 : X[D]) != null ? st : 0, it = Se ? Yt : Be - Z[We] - F[We] - xt + O.altAxis, gt = Se ? Be + Z[We] + F[We] - xt - O.altAxis : ga, _a = p && Se ? j7(it, Be, gt) : Sa(p ? it : Yt, Be, p ? gt : ga);
6246
6246
  I[D] = _a, B[D] = _a - Be;
6247
6247
  }
6248
6248
  e.modifiersData[n] = B;
@@ -6276,22 +6276,22 @@ function dn(t) {
6276
6276
  }
6277
6277
  function W7(t, e) {
6278
6278
  e === void 0 && (e = {});
6279
- var a = e, n = a.placement, s = a.boundary, o = a.rootBoundary, i = a.padding, l = a.flipVariations, r = a.allowedAutoPlacements, u = r === void 0 ? a7 : r, d = Zt(n), c = d ? l ? sn : sn.filter(function(_) {
6280
- return Zt(_) === d;
6281
- }) : Xa, m = c.filter(function(_) {
6282
- return u.indexOf(_) >= 0;
6279
+ var a = e, n = a.placement, s = a.boundary, o = a.rootBoundary, i = a.padding, l = a.flipVariations, r = a.allowedAutoPlacements, u = r === void 0 ? a7 : r, d = Zt(n), c = d ? l ? sn : sn.filter(function(y) {
6280
+ return Zt(y) === d;
6281
+ }) : Xa, m = c.filter(function(y) {
6282
+ return u.indexOf(y) >= 0;
6283
6283
  });
6284
6284
  m.length === 0 && (m = c);
6285
- var p = m.reduce(function(_, b) {
6286
- return _[b] = P1(t, {
6285
+ var p = m.reduce(function(y, b) {
6286
+ return y[b] = P1(t, {
6287
6287
  placement: b,
6288
6288
  boundary: s,
6289
6289
  rootBoundary: o,
6290
6290
  padding: i
6291
- })[ut(b)], _;
6291
+ })[ut(b)], y;
6292
6292
  }, {});
6293
- return Object.keys(p).sort(function(_, b) {
6294
- return p[_] - p[b];
6293
+ return Object.keys(p).sort(function(y, b) {
6294
+ return p[y] - p[b];
6295
6295
  });
6296
6296
  }
6297
6297
  function z7(t) {
@@ -6303,13 +6303,13 @@ function z7(t) {
6303
6303
  function Y7(t) {
6304
6304
  var e = t.state, a = t.options, n = t.name;
6305
6305
  if (!e.modifiersData[n]._skip) {
6306
- for (var s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, l = i === void 0 ? !0 : i, r = a.fallbackPlacements, u = a.padding, d = a.boundary, c = a.rootBoundary, m = a.altBoundary, p = a.flipVariations, _ = p === void 0 ? !0 : p, b = a.allowedAutoPlacements, y = e.options.placement, h = ut(y), A = h === y, $ = r || (A || !_ ? [Ea(y)] : z7(y)), S = [y].concat($).reduce(function(W, R) {
6306
+ for (var s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, l = i === void 0 ? !0 : i, r = a.fallbackPlacements, u = a.padding, d = a.boundary, c = a.rootBoundary, m = a.altBoundary, p = a.flipVariations, y = p === void 0 ? !0 : p, b = a.allowedAutoPlacements, _ = e.options.placement, h = ut(_), A = h === _, $ = r || (A || !y ? [Ea(_)] : z7(_)), S = [_].concat($).reduce(function(W, R) {
6307
6307
  return W.concat(ut(R) === D1 ? W7(e, {
6308
6308
  placement: R,
6309
6309
  boundary: d,
6310
6310
  rootBoundary: c,
6311
6311
  padding: u,
6312
- flipVariations: _,
6312
+ flipVariations: y,
6313
6313
  allowedAutoPlacements: b
6314
6314
  }) : R);
6315
6315
  }, []), D = e.rects.reference, I = e.rects.popper, Z = /* @__PURE__ */ new Map(), F = !0, K = S[0], O = 0; O < S.length; O++) {
@@ -6331,7 +6331,7 @@ function Y7(t) {
6331
6331
  Z.set(X, Y);
6332
6332
  }
6333
6333
  if (F)
6334
- for (var le = _ ? 3 : 1, k = function(R) {
6334
+ for (var le = y ? 3 : 1, k = function(R) {
6335
6335
  var V = S.find(function(G) {
6336
6336
  var ve = Z.get(G);
6337
6337
  if (ve)
@@ -6360,11 +6360,11 @@ var x7 = {
6360
6360
  }
6361
6361
  };
6362
6362
  function G7(t, e, a) {
6363
- const { disabled: n, appendTo: s, appendToBody: o, openDirection: i } = Ae(t), l = Mt().proxy, r = a.multiselect, u = a.dropdown, d = se(!1), c = se(null), m = se(null), p = M(() => s.value || o.value), _ = M(() => i.value === "top" && m.value === "bottom" || i.value === "bottom" && m.value !== "top" ? "bottom" : "top"), b = () => {
6363
+ const { disabled: n, appendTo: s, appendToBody: o, openDirection: i } = Ae(t), l = Mt().proxy, r = a.multiselect, u = a.dropdown, d = se(!1), c = se(null), m = se(null), p = M(() => s.value || o.value), y = M(() => i.value === "top" && m.value === "bottom" || i.value === "bottom" && m.value !== "top" ? "bottom" : "top"), b = () => {
6364
6364
  d.value || n.value || (d.value = !0, e.emit("open", l), p.value && De(() => {
6365
6365
  h();
6366
6366
  }));
6367
- }, y = () => {
6367
+ }, _ = () => {
6368
6368
  d.value && (d.value = !1, e.emit("close", l));
6369
6369
  }, h = () => {
6370
6370
  if (!c.value)
@@ -6377,7 +6377,7 @@ function G7(t, e, a) {
6377
6377
  {
6378
6378
  name: "offset",
6379
6379
  options: {
6380
- offset: [0, (_.value === "top" ? $ : S) * -1]
6380
+ offset: [0, (y.value === "top" ? $ : S) * -1]
6381
6381
  }
6382
6382
  }
6383
6383
  ]
@@ -6428,13 +6428,13 @@ function G7(t, e, a) {
6428
6428
  popper: c,
6429
6429
  isOpen: d,
6430
6430
  open: b,
6431
- close: y,
6432
- placement: _,
6431
+ close: _,
6432
+ placement: y,
6433
6433
  updatePopper: h
6434
6434
  };
6435
6435
  }
6436
6436
  function K7(t, e, a) {
6437
- const { searchable: n, disabled: s, clearOnBlur: o } = Ae(t), i = a.input, l = a.open, r = a.close, u = a.clearSearch, d = a.isOpen, c = a.wrapper, m = a.tags, p = se(!1), _ = se(!1), b = M(() => n.value || s.value ? -1 : 0), y = () => {
6437
+ const { searchable: n, disabled: s, clearOnBlur: o } = Ae(t), i = a.input, l = a.open, r = a.close, u = a.clearSearch, d = a.isOpen, c = a.wrapper, m = a.tags, p = se(!1), y = se(!1), b = M(() => n.value || s.value ? -1 : 0), _ = () => {
6438
6438
  n.value && i.value.blur(), c.value.blur();
6439
6439
  }, h = () => {
6440
6440
  n.value && !s.value && i.value.focus();
@@ -6448,25 +6448,25 @@ function K7(t, e, a) {
6448
6448
  return {
6449
6449
  tabindex: b,
6450
6450
  isActive: p,
6451
- mouseClicked: _,
6452
- blur: y,
6451
+ mouseClicked: y,
6452
+ blur: _,
6453
6453
  focus: h,
6454
6454
  activate: A,
6455
6455
  deactivate: $,
6456
6456
  handleFocusIn: (F) => {
6457
- F.target.closest("[data-tags]") && F.target.nodeName !== "INPUT" || F.target.closest("[data-clear]") || A(_.value);
6457
+ F.target.closest("[data-tags]") && F.target.nodeName !== "INPUT" || F.target.closest("[data-clear]") || A(y.value);
6458
6458
  },
6459
6459
  handleFocusOut: () => {
6460
6460
  $();
6461
6461
  },
6462
6462
  handleCaretClick: () => {
6463
- $(), y();
6463
+ $(), _();
6464
6464
  },
6465
6465
  handleMousedown: (F) => {
6466
- _.value = !0, d.value && (F.target.isEqualNode(c.value) || F.target.isEqualNode(m.value)) ? setTimeout(() => {
6466
+ y.value = !0, d.value && (F.target.isEqualNode(c.value) || F.target.isEqualNode(m.value)) ? setTimeout(() => {
6467
6467
  $();
6468
6468
  }, 0) : !d.value && (document.activeElement.isEqualNode(c.value) || document.activeElement.isEqualNode(i.value)) && A(), setTimeout(() => {
6469
- _.value = !1;
6469
+ y.value = !1;
6470
6470
  }, 0);
6471
6471
  }
6472
6472
  };
@@ -6484,12 +6484,12 @@ function X7(t, e, a) {
6484
6484
  createTag: c,
6485
6485
  createOption: m,
6486
6486
  reverse: p
6487
- } = Ae(t), _ = Mt().proxy, b = a.iv, y = a.update, h = a.deselect, A = a.search, $ = a.setPointer, S = a.selectPointer, D = a.backwardPointer, I = a.forwardPointer, Z = a.multiselect, F = a.wrapper, K = a.tags, O = a.isOpen, X = a.open, B = a.blur, C = a.fo, H = M(() => c.value || m.value || !1), te = M(() => s.value !== void 0 ? s.value : d.value !== void 0 ? d.value : ["enter"]), U = () => {
6487
+ } = Ae(t), y = Mt().proxy, b = a.iv, _ = a.update, h = a.deselect, A = a.search, $ = a.setPointer, S = a.selectPointer, D = a.backwardPointer, I = a.forwardPointer, Z = a.multiselect, F = a.wrapper, K = a.tags, O = a.isOpen, X = a.open, B = a.blur, C = a.fo, H = M(() => c.value || m.value || !1), te = M(() => s.value !== void 0 ? s.value : d.value !== void 0 ? d.value : ["enter"]), U = () => {
6488
6488
  n.value === "tags" && !l.value && H.value && i.value && !u.value && $(C.value[C.value.map((Y) => Y[r.value]).indexOf(A.value)]);
6489
6489
  };
6490
6490
  return {
6491
6491
  handleKeydown: (Y) => {
6492
- e.emit("keydown", Y, _);
6492
+ e.emit("keydown", Y, y);
6493
6493
  let le, k;
6494
6494
  switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(Y.key) !== -1 && n.value === "tags" && (le = [...Z.value.querySelectorAll("[data-tags] > *")].filter((x) => x !== K.value), k = le.findIndex((x) => x === document.activeElement)), Y.key) {
6495
6495
  case "Backspace":
@@ -6502,7 +6502,7 @@ function X7(t, e, a) {
6502
6502
  if (Y.preventDefault(), Y.keyCode === 229)
6503
6503
  return;
6504
6504
  if (k !== -1 && k !== void 0) {
6505
- y([...b.value].filter((re, W) => W !== k)), k === le.length - 1 && (le.length - 1 ? le[le.length - 2].focus() : i.value ? K.value.querySelector("input").focus() : F.value.focus());
6505
+ _([...b.value].filter((re, W) => W !== k)), k === le.length - 1 && (le.length - 1 ? le[le.length - 2].focus() : i.value ? K.value.querySelector("input").focus() : F.value.focus());
6506
6506
  return;
6507
6507
  }
6508
6508
  if (te.value.indexOf("enter") === -1 && H.value)
@@ -6553,7 +6553,7 @@ function X7(t, e, a) {
6553
6553
  }
6554
6554
  },
6555
6555
  handleKeyup: (Y) => {
6556
- e.emit("keyup", Y, _);
6556
+ e.emit("keyup", Y, y);
6557
6557
  },
6558
6558
  preparePointer: U
6559
6559
  };
@@ -6564,7 +6564,7 @@ function Q7(t, e, a) {
6564
6564
  disabled: s,
6565
6565
  showOptions: o,
6566
6566
  breakTags: i
6567
- } = Ae(t), l = a.isOpen, r = a.isPointed, u = a.isSelected, d = a.isDisabled, c = a.isActive, m = a.canPointGroups, p = a.resolving, _ = a.fo, b = a.placement, y = M(() => ({
6567
+ } = Ae(t), l = a.isOpen, r = a.isPointed, u = a.isSelected, d = a.isDisabled, c = a.isActive, m = a.canPointGroups, p = a.resolving, y = a.fo, b = a.placement, _ = M(() => ({
6568
6568
  container: "multiselect",
6569
6569
  containerDisabled: "is-disabled",
6570
6570
  containerOpen: "is-open",
@@ -6619,10 +6619,10 @@ function Q7(t, e, a) {
6619
6619
  assist: "multiselect-assistive-text",
6620
6620
  spacer: "multiselect-spacer",
6621
6621
  ...n.value
6622
- })), h = M(() => !!(l.value && o.value && (!p.value || p.value && _.value.length)));
6622
+ })), h = M(() => !!(l.value && o.value && (!p.value || p.value && y.value.length)));
6623
6623
  return {
6624
6624
  classList: M(() => {
6625
- const $ = y.value;
6625
+ const $ = _.value;
6626
6626
  return {
6627
6627
  container: [$.container].concat(s.value ? $.containerDisabled : []).concat(h.value && b.value === "top" ? $.containerOpenTop : []).concat(h.value && b.value !== "top" ? $.containerOpen : []).concat(c.value ? $.containerActive : []),
6628
6628
  wrapper: $.wrapper,
@@ -6673,22 +6673,22 @@ function J7(t, e, a) {
6673
6673
  limit: n,
6674
6674
  infinite: s
6675
6675
  } = Ae(t), o = a.isOpen, i = a.offset, l = a.search, r = a.pfo, u = a.eo, d = se(null), c = se(null), m = M(() => i.value < r.value.length), p = (b) => {
6676
- const { isIntersecting: y, target: h } = b[0];
6677
- if (y) {
6676
+ const { isIntersecting: _, target: h } = b[0];
6677
+ if (_) {
6678
6678
  const A = h.offsetParent, $ = A.scrollTop;
6679
6679
  i.value += n.value == -1 ? 10 : n.value, De(() => {
6680
6680
  A.scrollTop = $;
6681
6681
  });
6682
6682
  }
6683
- }, _ = () => {
6683
+ }, y = () => {
6684
6684
  o.value && i.value < r.value.length ? d.value.observe(c.value) : !o.value && d.value && d.value.disconnect();
6685
6685
  };
6686
6686
  return ce(o, () => {
6687
- s.value && _();
6687
+ s.value && y();
6688
6688
  }), ce(l, () => {
6689
- s.value && (i.value = n.value, _());
6689
+ s.value && (i.value = n.value, y());
6690
6690
  }, { flush: "post" }), ce(u, () => {
6691
- s.value && _();
6691
+ s.value && y();
6692
6692
  }, { immediate: !1, flush: "post" }), Ft(() => {
6693
6693
  window && window.IntersectionObserver && (d.value = new IntersectionObserver(p));
6694
6694
  }), {
@@ -6706,7 +6706,7 @@ function e9(t, e, a) {
6706
6706
  groupLabel: r,
6707
6707
  aria: u,
6708
6708
  searchable: d
6709
- } = Ae(t), c = a.pointer, m = a.iv, p = a.hasSelected, _ = a.multipleLabelText, b = se(null), y = M(() => {
6709
+ } = Ae(t), c = a.pointer, m = a.iv, p = a.hasSelected, y = a.multipleLabelText, b = se(null), _ = M(() => {
6710
6710
  let B = [];
6711
6711
  return s && s.value && B.push(s.value), B.push("assist"), B.join("-");
6712
6712
  }), h = M(() => {
@@ -6718,10 +6718,10 @@ function e9(t, e, a) {
6718
6718
  return B.push(c.value.group ? "multiselect-group" : "multiselect-option"), B.push(c.value.group ? c.value.index : c.value[o.value]), B.join("-");
6719
6719
  }), $ = M(() => n.value), S = M(() => l.value !== "single"), D = M(() => {
6720
6720
  let B = "";
6721
- return l.value === "single" && p.value && (B += m.value[i.value]), l.value === "multiple" && p.value && (B += _.value), l.value === "tags" && p.value && (B += m.value.map((C) => C[i.value]).join(", ")), B;
6721
+ return l.value === "single" && p.value && (B += m.value[i.value]), l.value === "multiple" && p.value && (B += y.value), l.value === "tags" && p.value && (B += m.value.map((C) => C[i.value]).join(", ")), B;
6722
6722
  }), I = M(() => {
6723
6723
  let B = { ...u.value };
6724
- return d.value && (B["aria-labelledby"] = B["aria-labelledby"] ? `${y.value} ${B["aria-labelledby"]}` : y.value, D.value && B["aria-label"] && (B["aria-label"] = `${D.value}, ${B["aria-label"]}`)), B;
6724
+ return d.value && (B["aria-labelledby"] = B["aria-labelledby"] ? `${_.value} ${B["aria-labelledby"]}` : _.value, D.value && B["aria-label"] && (B["aria-label"] = `${D.value}, ${B["aria-label"]}`)), B;
6725
6725
  }), Z = (B) => {
6726
6726
  let C = [];
6727
6727
  return s && s.value && C.push(s.value), C.push("multiselect-option"), C.push(B[o.value]), C.join("-");
@@ -6743,7 +6743,7 @@ function e9(t, e, a) {
6743
6743
  }), {
6744
6744
  arias: I,
6745
6745
  ariaLabel: D,
6746
- ariaAssist: y,
6746
+ ariaAssist: _,
6747
6747
  ariaControls: h,
6748
6748
  ariaPlaceholder: $,
6749
6749
  ariaMultiselectable: S,
@@ -7748,10 +7748,10 @@ const T9 = { class: "ao-tasks" }, S9 = { class: "ao-tasks__list" }, E9 = ["id",
7748
7748
  };
7749
7749
  e("add", m);
7750
7750
  }, i = (c, m) => {
7751
- const _ = c.target.value;
7751
+ const y = c.target.value;
7752
7752
  e("update", {
7753
7753
  id: m,
7754
- name: _
7754
+ name: y
7755
7755
  });
7756
7756
  }, l = (c, m) => {
7757
7757
  a.isEditable && e("update", {
@@ -7772,12 +7772,12 @@ const T9 = { class: "ao-tasks" }, S9 = { class: "ao-tasks__list" }, E9 = ["id",
7772
7772
  return (c, m) => (f(), g("div", T9, [
7773
7773
  v("ul", S9, [
7774
7774
  (f(!0), g(Ce, null, ye(c.tasks, (p) => {
7775
- var _, b;
7775
+ var y, b;
7776
7776
  return f(), g("li", {
7777
7777
  key: p.id,
7778
7778
  class: "ao-subtask"
7779
7779
  }, [
7780
- ((_ = c.isCheckable) == null ? void 0 : _.call(c, p)) ?? !1 ? (f(), N(de, {
7780
+ ((y = c.isCheckable) == null ? void 0 : y.call(c, p)) ?? !1 ? (f(), N(de, {
7781
7781
  key: 0,
7782
7782
  class: "ao-subtask__check",
7783
7783
  "icon-name": p.isDone ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
@@ -7792,7 +7792,7 @@ const T9 = { class: "ao-tasks" }, S9 = { class: "ao-tasks__list" }, E9 = ["id",
7792
7792
  readonly: !c.isEditable,
7793
7793
  class: Q(["ao-field__input ao-subtask__field", { "ao-subtask__field--checked": p.isDone }]),
7794
7794
  type: "text",
7795
- onChange: (y) => i(y, p.id),
7795
+ onChange: (_) => i(_, p.id),
7796
7796
  onKeyup: dt(d, ["enter"])
7797
7797
  }, null, 42, E9),
7798
7798
  Ra(". "),
@@ -7808,14 +7808,14 @@ const T9 = { class: "ao-tasks" }, S9 = { class: "ao-tasks__list" }, E9 = ["id",
7808
7808
  placeholder: c.$t("feed.filters.assignee.placeholder"),
7809
7809
  disabled: !c.isEditable,
7810
7810
  caret: c.isEditable,
7811
- onChange: (y) => u(y, p.id)
7811
+ onChange: (_) => u(_, p.id)
7812
7812
  }, {
7813
- tag: z(({ option: y, handleTagRemove: h }) => [
7813
+ tag: z(({ option: _, handleTagRemove: h }) => [
7814
7814
  L(Qe, {
7815
- "user-name": y.label,
7816
- "avatar-url": y.avatar,
7815
+ "user-name": _.label,
7816
+ "avatar-url": _.avatar,
7817
7817
  "is-closable": !0,
7818
- onClose: (A) => h(y, A)
7818
+ onClose: (A) => h(_, A)
7819
7819
  }, null, 8, ["user-name", "avatar-url", "onClose"])
7820
7820
  ]),
7821
7821
  _: 2
@@ -7983,22 +7983,22 @@ const q9 = { class: "ao-comment" }, W9 = { class: "ao-comment__created-at" }, z9
7983
7983
  const b = a.user;
7984
7984
  return b ? `${b == null ? void 0 : b.firstName} ${b == null ? void 0 : b.lastName}` : null;
7985
7985
  }), s = se(null), { isEditing: o, toggleIsEditing: i, onUpdate: l, onDiscard: r } = Cn(s), u = M(() => {
7986
- const b = a.editedAt && sa(a.editedAt), y = sa(a.createdAt), h = /* @__PURE__ */ new Date(), A = b ?? y;
7986
+ const b = a.editedAt && sa(a.editedAt), _ = sa(a.createdAt), h = /* @__PURE__ */ new Date(), A = b ?? _;
7987
7987
  return A && F0(A, h);
7988
7988
  }), d = M(() => o.value ? "textarea" : "p"), c = r(), m = l((b) => {
7989
7989
  e("edit", b);
7990
7990
  }), p = () => {
7991
7991
  e("remove");
7992
- }, _ = se(2);
7992
+ }, y = se(2);
7993
7993
  return ys(() => {
7994
7994
  De(() => {
7995
7995
  var b;
7996
7996
  if (!o.value) {
7997
- const y = (b = s.value) == null ? void 0 : b.getClientRects().length;
7998
- _.value = y || 2;
7997
+ const _ = (b = s.value) == null ? void 0 : b.getClientRects().length;
7998
+ y.value = _ || 2;
7999
7999
  }
8000
8000
  });
8001
- }), (b, y) => {
8001
+ }), (b, _) => {
8002
8002
  var h;
8003
8003
  return f(), g("li", q9, [
8004
8004
  n.value ? (f(), N(Qe, {
@@ -8015,7 +8015,7 @@ const q9 = { class: "ao-comment" }, W9 = { class: "ao-comment__created-at" }, z9
8015
8015
  ref: s,
8016
8016
  class: "ao-comment__content",
8017
8017
  value: ee(o) ? b.content : null,
8018
- rows: ee(o) ? _.value : null,
8018
+ rows: ee(o) ? y.value : null,
8019
8019
  onKeyup: [
8020
8020
  dt(ee(c), ["esc"]),
8021
8021
  dt(he(ee(m), ["ctrl"]), ["enter"])
@@ -8116,7 +8116,7 @@ const K9 = { class: "ao-comments__header" }, X9 = ["onSubmit"], Q9 = ["placehold
8116
8116
  onSubmit: he(r, ["prevent"])
8117
8117
  }, [
8118
8118
  xe(v("textarea", {
8119
- "onUpdate:modelValue": m[0] || (m[0] = (_) => l.value = _),
8119
+ "onUpdate:modelValue": m[0] || (m[0] = (y) => l.value = y),
8120
8120
  rows: "2",
8121
8121
  class: "ao-field__textarea ao-comments__form-textarea",
8122
8122
  placeholder: c.$t("activity.comment.label")
@@ -8141,16 +8141,16 @@ const K9 = { class: "ao-comments__header" }, X9 = ["onSubmit"], Q9 = ["placehold
8141
8141
  ], 40, X9)
8142
8142
  ]),
8143
8143
  ((p = n.value) == null ? void 0 : p.length) > 0 ? (f(), g("ul", e4, [
8144
- (f(!0), g(Ce, null, ye(n.value, (_) => (f(), N(G9, {
8145
- key: _.id,
8146
- user: s(_.author.id),
8147
- content: _.message,
8148
- "created-at": _.createdAt,
8149
- "edited-at": _.updatedAt,
8150
- "is-editable": _.author.id === c.userId,
8144
+ (f(!0), g(Ce, null, ye(n.value, (y) => (f(), N(G9, {
8145
+ key: y.id,
8146
+ user: s(y.author.id),
8147
+ content: y.message,
8148
+ "created-at": y.createdAt,
8149
+ "edited-at": y.updatedAt,
8150
+ "is-editable": y.author.id === c.userId,
8151
8151
  class: "ao-comment",
8152
- onEdit: (b) => u(_.id, b),
8153
- onRemove: () => d(_.id)
8152
+ onEdit: (b) => u(y.id, b),
8153
+ onRemove: () => d(y.id)
8154
8154
  }, null, 8, ["user", "content", "created-at", "edited-at", "is-editable", "onEdit", "onRemove"]))), 128))
8155
8155
  ])) : E("", !0)
8156
8156
  ], 512);
@@ -8288,7 +8288,7 @@ const h1 = /* @__PURE__ */ ae({
8288
8288
  ...C,
8289
8289
  disabled: (H = a.activity.blocking) == null ? void 0 : H.some((te) => te.id === C.value)
8290
8290
  };
8291
- })), _ = M({
8291
+ })), y = M({
8292
8292
  get() {
8293
8293
  var C;
8294
8294
  return (C = a.activity.blocking) == null ? void 0 : C.map((H) => H.id);
@@ -8307,7 +8307,7 @@ const h1 = /* @__PURE__ */ ae({
8307
8307
  (te) => te.id === C.value
8308
8308
  )
8309
8309
  };
8310
- })), y = (C) => {
8310
+ })), _ = (C) => {
8311
8311
  e("addSubtask", C);
8312
8312
  }, h = (C) => {
8313
8313
  e("updateSubtask", C);
@@ -8457,7 +8457,7 @@ const h1 = /* @__PURE__ */ ae({
8457
8457
  "is-checkable": C.isTaskCheckable,
8458
8458
  "is-editable": C.isEditable,
8459
8459
  "is-template": C.isTemplate,
8460
- onAdd: y,
8460
+ onAdd: _,
8461
8461
  onUpdate: h,
8462
8462
  onDelete: A
8463
8463
  }, null, 8, ["tasks", "activity-id", "users", "is-checkable", "is-editable", "is-template"])
@@ -8624,8 +8624,8 @@ const h1 = /* @__PURE__ */ ae({
8624
8624
  v("label", q4, [
8625
8625
  v("span", W4, J(C.$t("activity.blocking.label")), 1),
8626
8626
  L(we, {
8627
- modelValue: _.value,
8628
- "onUpdate:modelValue": H[8] || (H[8] = (U) => _.value = U),
8627
+ modelValue: y.value,
8628
+ "onUpdate:modelValue": H[8] || (H[8] = (U) => y.value = U),
8629
8629
  class: "ao-activity-details__multiselect",
8630
8630
  mode: "tags",
8631
8631
  "close-on-select": !1,
@@ -8714,7 +8714,7 @@ const x4 = /* @__PURE__ */ ae({
8714
8714
  set(h) {
8715
8715
  e("update:rule", { ...a.rule, trigger: h });
8716
8716
  }
8717
- }), p = M(() => Object.values(A2)), _ = M({
8717
+ }), p = M(() => Object.values(A2)), y = M({
8718
8718
  get() {
8719
8719
  return a.rule.duration;
8720
8720
  },
@@ -8728,7 +8728,7 @@ const x4 = /* @__PURE__ */ ae({
8728
8728
  set(h) {
8729
8729
  e("update:rule", { ...a.rule, durationUnit: h });
8730
8730
  }
8731
- }), y = M(() => Object.values(T2));
8731
+ }), _ = M(() => Object.values(T2));
8732
8732
  return (h, A) => (f(), N(pt(h.tagName), { class: "ao-rule-line" }, {
8733
8733
  default: z(() => [
8734
8734
  L(ee(lt), {
@@ -8752,13 +8752,13 @@ const x4 = /* @__PURE__ */ ae({
8752
8752
  options: d.value
8753
8753
  }, null, 8, ["modelValue", "options"]),
8754
8754
  xe(v("input", {
8755
- "onUpdate:modelValue": A[4] || (A[4] = ($) => _.value = $),
8755
+ "onUpdate:modelValue": A[4] || (A[4] = ($) => y.value = $),
8756
8756
  type: "number",
8757
8757
  min: "0"
8758
8758
  }, null, 512), [
8759
8759
  [
8760
8760
  rt,
8761
- _.value,
8761
+ y.value,
8762
8762
  void 0,
8763
8763
  { number: !0 }
8764
8764
  ]
@@ -8766,7 +8766,7 @@ const x4 = /* @__PURE__ */ ae({
8766
8766
  L(ee(lt), {
8767
8767
  modelValue: b.value,
8768
8768
  "onUpdate:modelValue": A[5] || (A[5] = ($) => b.value = $),
8769
- options: y.value
8769
+ options: _.value
8770
8770
  }, null, 8, ["modelValue", "options"]),
8771
8771
  L(de, {
8772
8772
  class: "ao-rule-line__remove",
@@ -8941,7 +8941,7 @@ const Q4 = {
8941
8941
  itemType: me.TEMPLATES,
8942
8942
  data: { name: T }
8943
8943
  });
8944
- }, _ = (T) => {
8944
+ }, y = (T) => {
8945
8945
  e("removeItem", {
8946
8946
  type: me.PHASES,
8947
8947
  templateId: a.templateId,
@@ -8956,7 +8956,7 @@ const Q4 = {
8956
8956
  itemType: me.PHASES,
8957
8957
  data: { name: q }
8958
8958
  });
8959
- }, y = (T) => {
8959
+ }, _ = (T) => {
8960
8960
  e("updateItem", T);
8961
8961
  }, h = (T) => {
8962
8962
  if (!i.value)
@@ -9127,7 +9127,7 @@ const Q4 = {
9127
9127
  "onUpdate:title": (G) => {
9128
9128
  b(R.id, G);
9129
9129
  },
9130
- onRemove: () => _(R.id)
9130
+ onRemove: () => y(R.id)
9131
9131
  }, null, 8, ["id", "name", "milestones", "is-active", "onClick", "onUpdate:title", "onRemove"])
9132
9132
  ];
9133
9133
  }),
@@ -9151,7 +9151,7 @@ const Q4 = {
9151
9151
  "milestone-id": (Y = l.value) == null ? void 0 : Y.id,
9152
9152
  onAddMilestone: h,
9153
9153
  onUpdateMilestone: $,
9154
- onUpdatePhase: y,
9154
+ onUpdatePhase: _,
9155
9155
  onRemoveMilestone: A
9156
9156
  }, null, 8, ["template-id", "phase", "milestone-id"])) : E("", !0)
9157
9157
  ]),
@@ -9514,8 +9514,8 @@ const Of = {
9514
9514
  const a = t, { t: n } = At();
9515
9515
  ce(
9516
9516
  () => a.phase.milestones,
9517
- (p, _) => {
9518
- Ke(p, _);
9517
+ (p, y) => {
9518
+ Ke(p, y);
9519
9519
  }
9520
9520
  );
9521
9521
  const s = (p) => {
@@ -9527,12 +9527,12 @@ const Of = {
9527
9527
  (p) => h3(p, a.closedStatus)
9528
9528
  )
9529
9529
  ), l = (p) => {
9530
- const { name: _, rank: b } = Pt(
9530
+ const { name: y, rank: b } = Pt(
9531
9531
  i.value ?? [],
9532
9532
  "milestone",
9533
9533
  n
9534
9534
  );
9535
- e("addMilestone", { name: _, rank: b, phaseId: p });
9535
+ e("addMilestone", { name: y, rank: b, phaseId: p });
9536
9536
  }, r = (p) => {
9537
9537
  e("updateMilestone", p);
9538
9538
  }, u = (p) => {
@@ -9544,12 +9544,8 @@ const Of = {
9544
9544
  id: p.moved.element.id,
9545
9545
  rank: ia(i.value, p.moved.newIndex)
9546
9546
  });
9547
- }, m = (p) => {
9548
- var b;
9549
- const _ = (b = a.users) == null ? void 0 : b.find((y) => y.id === p);
9550
- return (_ == null ? void 0 : _.firstName) && (_ == null ? void 0 : _.lastName) && `${_.firstName} ${_.lastName}`;
9551
- };
9552
- return (p, _) => {
9547
+ }, m = (p) => p ? `${p == null ? void 0 : p.firstName} ${p == null ? void 0 : p.lastName}` : null;
9548
+ return (p, y) => {
9553
9549
  var b;
9554
9550
  return f(), g("li", {
9555
9551
  class: Q([
@@ -9584,25 +9580,25 @@ const Of = {
9584
9580
  "item-key": "id",
9585
9581
  group: "kanban"
9586
9582
  }, p.$attrs, { onChange: c }), {
9587
- item: z(({ element: y }) => {
9583
+ item: z(({ element: _ }) => {
9588
9584
  var h;
9589
9585
  return [
9590
9586
  L(Ef, {
9591
- id: y.id,
9592
- name: y.name,
9593
- activities: y.activities,
9594
- deadline: y.deadline,
9587
+ id: _.id,
9588
+ name: _.name,
9589
+ activities: _.activities,
9590
+ deadline: _.deadline,
9595
9591
  "is-editable": !p.readonly && p.isEditable,
9596
9592
  "is-draggable": !p.readonly && p.isEditable,
9597
9593
  "closed-status": p.closedStatus,
9598
- "is-selected": y.id === ((h = p.$route.params) == null ? void 0 : h.milestoneId),
9599
- "assignee-name": m(y.assigneeId),
9600
- important: y.important,
9594
+ "is-selected": _.id === ((h = p.$route.params) == null ? void 0 : h.milestoneId),
9595
+ "assignee-name": m(_.assignee),
9596
+ important: _.important,
9601
9597
  readonly: p.readonly,
9602
9598
  class: Q(["ao-project-phase__milestone"]),
9603
9599
  onClick: (A) => !p.readonly && p.$router.push({
9604
9600
  name: ee(Ue).milestone,
9605
- params: { phaseId: p.phase.id, milestoneId: y.id }
9601
+ params: { phaseId: p.phase.id, milestoneId: _.id }
9606
9602
  }),
9607
9603
  onUpdateMilestone: r,
9608
9604
  onArchiveMilestone: u
@@ -9617,7 +9613,7 @@ const Of = {
9617
9613
  label: p.$t("project.milestone.add"),
9618
9614
  class: "ao-project-phase__milestone-add",
9619
9615
  "icon-name": "Add",
9620
- onClick: _[0] || (_[0] = () => l(p.phase.id))
9616
+ onClick: y[0] || (y[0] = () => l(p.phase.id))
9621
9617
  }, null, 8, ["label"])) : E("", !0)
9622
9618
  ])
9623
9619
  ])
@@ -9847,11 +9843,11 @@ const Kn = /* @__PURE__ */ j(Yf, [["render", Gf], ["__scopeId", "data-v-cbe33527
9847
9843
  e("update:activity", O);
9848
9844
  }, p = (O) => {
9849
9845
  e("archiveActivity", O);
9850
- }, _ = (O) => {
9846
+ }, y = (O) => {
9851
9847
  e("unarchiveActivity", O);
9852
9848
  }, b = (O) => {
9853
9849
  e("addSubtask", O);
9854
- }, y = (O) => {
9850
+ }, _ = (O) => {
9855
9851
  e("updateSubtask", O);
9856
9852
  }, h = (O) => {
9857
9853
  e("deleteSubtask", O);
@@ -9937,7 +9933,7 @@ const Kn = /* @__PURE__ */ j(Yf, [["render", Gf], ["__scopeId", "data-v-cbe33527
9937
9933
  onAddActivity: c,
9938
9934
  onUpdateActivity: m,
9939
9935
  onArchiveActivity: p,
9940
- onUnarchiveActivity: _
9936
+ onUnarchiveActivity: y
9941
9937
  }, null, 8, ["phases", "project-id", "project-name", "users", "is-editable", "closed-status"]),
9942
9938
  (f(), N(Ht, { to: "body" }, [
9943
9939
  L(B, {
@@ -9952,7 +9948,7 @@ const Kn = /* @__PURE__ */ j(Yf, [["render", Gf], ["__scopeId", "data-v-cbe33527
9952
9948
  "is-editable": O.isEditable,
9953
9949
  "onUpdate:activity": m,
9954
9950
  onAddSubtask: b,
9955
- onUpdateSubtask: y,
9951
+ onUpdateSubtask: _,
9956
9952
  onDeleteSubtask: h,
9957
9953
  onAddFiles: $,
9958
9954
  onRemoveFile: S,
@@ -10041,8 +10037,8 @@ const Jf = { class: "ao-card-feed__header" }, e8 = {
10041
10037
  name: m
10042
10038
  });
10043
10039
  }, s = M(() => a.phaseName && a.milestoneName ? `${a.phaseName} / ${a.milestoneName}` : ""), o = M(() => a.assignee ? [a.assignee] : []), i = M(() => b1(a.deadline)), l = (m) => {
10044
- const { firstName: p, lastName: _ } = m || {};
10045
- return `${p ?? ""}${p ? " " : ""}${_ ?? ""}`;
10040
+ const { firstName: p, lastName: y } = m || {};
10041
+ return `${p ?? ""}${p ? " " : ""}${y ?? ""}`;
10046
10042
  }, r = (m) => {
10047
10043
  e("removeAssignee", m);
10048
10044
  }, u = M(() => {
@@ -10109,15 +10105,15 @@ const Jf = { class: "ao-card-feed__header" }, e8 = {
10109
10105
  v("div", o8, [
10110
10106
  v("div", l8, [
10111
10107
  v("ul", r8, [
10112
- (f(!0), g(Ce, null, ye(o.value, (_) => (f(), g(Ce, {
10113
- key: _.id
10108
+ (f(!0), g(Ce, null, ye(o.value, (y) => (f(), g(Ce, {
10109
+ key: y.id
10114
10110
  }, [
10115
- _ ? (f(), g("li", u8, [
10111
+ y ? (f(), g("li", u8, [
10116
10112
  L(Qe, {
10117
- "user-name": l(_),
10118
- "avatar-url": _.avatarUrl,
10113
+ "user-name": l(y),
10114
+ "avatar-url": y.avatarUrl,
10119
10115
  "is-closable": !0,
10120
- onClose: () => r(_.id)
10116
+ onClose: () => r(y.id)
10121
10117
  }, null, 8, ["user-name", "avatar-url", "onClose"])
10122
10118
  ])) : E("", !0)
10123
10119
  ], 64))), 128))
@@ -10229,7 +10225,7 @@ const _8 = { class: "ao-project-milestone" }, y8 = { class: "ao-project-mileston
10229
10225
  deadline: h != null && h.length ? h : null
10230
10226
  });
10231
10227
  }
10232
- }), p = (h) => a.closedStatus ? w1(h, a.closedStatus) : !1, _ = M(() => {
10228
+ }), p = (h) => a.closedStatus ? w1(h, a.closedStatus) : !1, y = M(() => {
10233
10229
  var h;
10234
10230
  return ((h = a.users) == null ? void 0 : h.map((A) => ({
10235
10231
  label: `${A.firstName} ${A.lastName}`,
@@ -10248,7 +10244,7 @@ const _8 = { class: "ao-project-milestone" }, y8 = { class: "ao-project-mileston
10248
10244
  // `undefined` is not a value for GraphQL, we have to use `null` to reset a value
10249
10245
  });
10250
10246
  }
10251
- }), y = M({
10247
+ }), _ = M({
10252
10248
  get() {
10253
10249
  var h;
10254
10250
  return ((h = i.value) == null ? void 0 : h.important) ?? !1;
@@ -10277,8 +10273,8 @@ const _8 = { class: "ao-project-milestone" }, y8 = { class: "ao-project-mileston
10277
10273
  level: 5
10278
10274
  }, null, 8, ["title"]),
10279
10275
  L(h1, {
10280
- modelValue: y.value,
10281
- "onUpdate:modelValue": A[0] || (A[0] = (S) => y.value = S),
10276
+ modelValue: _.value,
10277
+ "onUpdate:modelValue": A[0] || (A[0] = (S) => _.value = S),
10282
10278
  modelModifiers: { lazy: !0 },
10283
10279
  disabled: !h.isEditable,
10284
10280
  class: "ao-milestone__important",
@@ -10312,7 +10308,7 @@ const _8 = { class: "ao-project-milestone" }, y8 = { class: "ao-project-mileston
10312
10308
  L(we, {
10313
10309
  modelValue: b.value,
10314
10310
  "onUpdate:modelValue": A[2] || (A[2] = (S) => b.value = S),
10315
- options: _.value,
10311
+ options: y.value,
10316
10312
  "close-on-select": !0,
10317
10313
  searchable: !0,
10318
10314
  max: 1,
@@ -10440,55 +10436,55 @@ const I8 = /* @__PURE__ */ ae({
10440
10436
  emits: ["update:activity", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
10441
10437
  setup(t, { emit: e }) {
10442
10438
  const a = t, n = M(() => {
10443
- var y;
10444
- return (y = a.phases) == null ? void 0 : y.find((h) => h.id === a.phaseId);
10439
+ var _;
10440
+ return (_ = a.phases) == null ? void 0 : _.find((h) => h.id === a.phaseId);
10445
10441
  }), s = M(
10446
10442
  () => {
10447
- var y;
10448
- return (y = a.phases) == null ? void 0 : y.flatMap((h) => h.milestones);
10443
+ var _;
10444
+ return (_ = a.phases) == null ? void 0 : _.flatMap((h) => h.milestones);
10449
10445
  }
10450
10446
  ), o = M(() => {
10451
- var y;
10452
- return (y = s.value) == null ? void 0 : y.find((h) => h.id === a.milestoneId);
10447
+ var _;
10448
+ return (_ = s.value) == null ? void 0 : _.find((h) => h.id === a.milestoneId);
10453
10449
  }), i = M(() => {
10454
- var y;
10455
- return (y = a.activities) == null ? void 0 : y.find((h) => h.id === a.activityId);
10456
- }), l = (y) => {
10457
- e("update:activity", y);
10458
- }, r = (y) => {
10459
- e("addSubtask", y);
10460
- }, u = (y) => {
10461
- e("updateSubtask", y);
10462
- }, d = (y) => {
10463
- e("deleteSubtask", y);
10464
- }, c = (y) => {
10465
- e("addFiles", y);
10466
- }, m = (y) => {
10467
- e("removeFile", y);
10468
- }, p = (y) => {
10469
- e("addComment", y);
10470
- }, _ = (y) => {
10471
- e("updateComment", y);
10472
- }, b = (y) => {
10473
- e("removeComment", y);
10450
+ var _;
10451
+ return (_ = a.activities) == null ? void 0 : _.find((h) => h.id === a.activityId);
10452
+ }), l = (_) => {
10453
+ e("update:activity", _);
10454
+ }, r = (_) => {
10455
+ e("addSubtask", _);
10456
+ }, u = (_) => {
10457
+ e("updateSubtask", _);
10458
+ }, d = (_) => {
10459
+ e("deleteSubtask", _);
10460
+ }, c = (_) => {
10461
+ e("addFiles", _);
10462
+ }, m = (_) => {
10463
+ e("removeFile", _);
10464
+ }, p = (_) => {
10465
+ e("addComment", _);
10466
+ }, y = (_) => {
10467
+ e("updateComment", _);
10468
+ }, b = (_) => {
10469
+ e("removeComment", _);
10474
10470
  };
10475
- return (y, h) => {
10471
+ return (_, h) => {
10476
10472
  var A, $;
10477
10473
  return i.value ? (f(), N(H1, {
10478
10474
  key: 0,
10479
10475
  activity: i.value,
10480
- "activity-types": y.activityTypes,
10481
- "milestone-id": y.milestoneId,
10482
- "template-activities": y.activities,
10476
+ "activity-types": _.activityTypes,
10477
+ "milestone-id": _.milestoneId,
10478
+ "template-activities": _.activities,
10483
10479
  "is-template": !1,
10484
- users: y.users,
10485
- "user-id": y.userId,
10486
- "is-task-checkable": y.isTaskCheckable,
10487
- statuses: y.statuses,
10480
+ users: _.users,
10481
+ "user-id": _.userId,
10482
+ "is-task-checkable": _.isTaskCheckable,
10483
+ statuses: _.statuses,
10488
10484
  breadcrumbs: `${(A = n.value) == null ? void 0 : A.name} / ${($ = o.value) == null ? void 0 : $.name}`,
10489
- "is-editable": y.isEditable,
10490
- "attachment-enabled": y.attachmentEnabled,
10491
- onClose: y.$router.back,
10485
+ "is-editable": _.isEditable,
10486
+ "attachment-enabled": _.attachmentEnabled,
10487
+ onClose: _.$router.back,
10492
10488
  "onUpdate:activity": l,
10493
10489
  onAddSubtask: r,
10494
10490
  onUpdateSubtask: u,
@@ -10496,11 +10492,11 @@ const I8 = /* @__PURE__ */ ae({
10496
10492
  onAddFiles: c,
10497
10493
  onRemoveFile: m,
10498
10494
  onAddComment: p,
10499
- onUpdateComment: _,
10495
+ onUpdateComment: y,
10500
10496
  onRemoveComment: b
10501
10497
  }, {
10502
10498
  default: z((S) => [
10503
- ne(y.$slots, "default", ua(da(S)))
10499
+ ne(_.$slots, "default", ua(da(S)))
10504
10500
  ]),
10505
10501
  _: 3
10506
10502
  }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "onClose"])) : E("", !0);
@@ -10593,16 +10589,16 @@ function F8(t, e, a = {}) {
10593
10589
  window: i = j8,
10594
10590
  immediate: l = !0
10595
10591
  } = a, r = Z8(() => i && "IntersectionObserver" in i), u = M(() => {
10596
- const _ = Ba(t);
10597
- return (Array.isArray(_) ? _ : [_]).map(d1).filter(H8);
10592
+ const y = Ba(t);
10593
+ return (Array.isArray(y) ? y : [y]).map(d1).filter(H8);
10598
10594
  });
10599
10595
  let d = aa;
10600
10596
  const c = se(l), m = r.value ? ce(
10601
10597
  () => [u.value, d1(n), c.value],
10602
- ([_, b]) => {
10603
- if (d(), !c.value || !_.length)
10598
+ ([y, b]) => {
10599
+ if (d(), !c.value || !y.length)
10604
10600
  return;
10605
- const y = new IntersectionObserver(
10601
+ const _ = new IntersectionObserver(
10606
10602
  e,
10607
10603
  {
10608
10604
  root: d1(b),
@@ -10610,8 +10606,8 @@ function F8(t, e, a = {}) {
10610
10606
  threshold: o
10611
10607
  }
10612
10608
  );
10613
- _.forEach((h) => h && y.observe(h)), d = () => {
10614
- y.disconnect(), d = aa;
10609
+ y.forEach((h) => h && _.observe(h)), d = () => {
10610
+ _.disconnect(), d = aa;
10615
10611
  };
10616
10612
  },
10617
10613
  { immediate: l, flush: "post" }
@@ -10717,15 +10713,15 @@ const q8 = {
10717
10713
  }
10718
10714
  }), {
10719
10715
  item: z(({ element: c }) => {
10720
- var m, p, _, b, y, h, A, $;
10716
+ var m, p, y, b, _, h, A, $;
10721
10717
  return [
10722
10718
  L(Xn, {
10723
10719
  id: c.id,
10724
10720
  name: c.name,
10725
10721
  "project-name": (m = c.project) == null ? void 0 : m.name,
10726
10722
  "project-color": (p = c.project) == null ? void 0 : p.color,
10727
- "phase-name": (b = (_ = c.milestone) == null ? void 0 : _.phase) == null ? void 0 : b.name,
10728
- "milestone-name": (y = c.milestone) == null ? void 0 : y.name,
10723
+ "phase-name": (b = (y = c.milestone) == null ? void 0 : y.phase) == null ? void 0 : b.name,
10724
+ "milestone-name": (_ = c.milestone) == null ? void 0 : _.name,
10729
10725
  deadline: c.deadline,
10730
10726
  rules: ((h = c.rules) == null ? void 0 : h.length) || 0,
10731
10727
  tasks: c.tasks,
@@ -10908,7 +10904,7 @@ const tv = { class: "ao-feed" }, av = { class: "ao-feed__filters" }, nv = { clas
10908
10904
  ), p = M(() => m.value.map((k) => ({
10909
10905
  value: k.id,
10910
10906
  label: k.name
10911
- }))), _ = M(() => {
10907
+ }))), y = M(() => {
10912
10908
  var k;
10913
10909
  return (k = a.activityTypes) == null ? void 0 : k.map((x) => ({
10914
10910
  value: x.id,
@@ -10918,7 +10914,7 @@ const tv = { class: "ao-feed" }, av = { class: "ao-feed__filters" }, nv = { clas
10918
10914
  value: k.id,
10919
10915
  label: `${k.firstName} ${k.lastName}`,
10920
10916
  avatar: k.avatarUrl
10921
- }))), y = (k) => {
10917
+ }))), _ = (k) => {
10922
10918
  a.selectedActivity && e("update:activity", k);
10923
10919
  }, h = (k) => {
10924
10920
  e("update:activity", k);
@@ -10932,7 +10928,7 @@ const tv = { class: "ao-feed" }, av = { class: "ao-feed__filters" }, nv = { clas
10932
10928
  return (k = a.selectedActivity) == null ? void 0 : k.deadline;
10933
10929
  },
10934
10930
  set(k) {
10935
- a.selectedActivity && y({
10931
+ a.selectedActivity && _({
10936
10932
  id: a.selectedActivity.id,
10937
10933
  deadline: k != null && k.length ? k : null
10938
10934
  });
@@ -11030,11 +11026,11 @@ const tv = { class: "ao-feed" }, av = { class: "ao-feed__filters" }, nv = { clas
11030
11026
  placeholder: k.$t("feed.filters.project.placeholder"),
11031
11027
  "onUpdate:modelValue": x[1] || (x[1] = (W) => c(ee(Ot).project, W))
11032
11028
  }, null, 8, ["model-value", "options", "placeholder"])),
11033
- _.value ? (f(), N(we, {
11029
+ y.value ? (f(), N(we, {
11034
11030
  key: 2,
11035
11031
  "model-value": k.filters[ee(Ot).type],
11036
11032
  mode: "tags",
11037
- options: _.value,
11033
+ options: y.value,
11038
11034
  "close-on-select": !1,
11039
11035
  searchable: !0,
11040
11036
  class: "ao-feed__filter ao-feed__filter__types",
@@ -11123,7 +11119,7 @@ const tv = { class: "ao-feed" }, av = { class: "ao-feed__filters" }, nv = { clas
11123
11119
  "is-editable": k.isEditable,
11124
11120
  "attachment-enabled": k.attachmentEnabled,
11125
11121
  onClose: x[7] || (x[7] = () => o(null)),
11126
- "onUpdate:activity": y,
11122
+ "onUpdate:activity": _,
11127
11123
  onAddSubtask: Z,
11128
11124
  onUpdateSubtask: F,
11129
11125
  onDeleteSubtask: K,