@26lights/orcha 0.41.32 → 0.41.34

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,6 +1,6 @@
1
- import { defineComponent as q, openBlock as d, createBlock as D, unref as Q, mergeProps as Ae, createElementBlock as C, createElementVNode as h, pushScopeId as Hi, popScopeId as Vi, createStaticVNode as Di, computed as M, resolveDynamicComponent as ht, normalizeClass as X, renderSlot as te, toDisplayString as W, createCommentVNode as O, ref as Y, watch as ce, nextTick as Ve, withKeys as dt, toHandlers as Bi, withCtx as F, createTextVNode as za, createVNode as A, normalizeStyle as qa, withModifiers as ve, createSlots as va, Fragment as fe, renderList as _e, onMounted as mt, onBeforeUnmount as Ts, onUnmounted as Os, Teleport as Ot, toRefs as Oe, getCurrentInstance as Lt, toRef as Rt, normalizeProps as fa, guardReactiveProps as ha, withDirectives as De, vShow as ji, onUpdated as Ri, vModelText as Ze, resolveComponent as Ge, vModelCheckbox as Ni, getCurrentScope as Ui, onScopeDispose as Fi, toHandlerKey as Zi } from "vue";
2
- import { RouterView as Wi, useRoute as zi, useRouter as Es } from "vue-router";
3
- import gt from "vuedraggable";
1
+ import { defineComponent as q, openBlock as d, createBlock as D, unref as Q, mergeProps as Ae, createElementBlock as C, createElementVNode as h, pushScopeId as Hi, popScopeId as Vi, createStaticVNode as Di, computed as M, resolveDynamicComponent as ht, normalizeClass as X, renderSlot as te, toDisplayString as W, createCommentVNode as O, ref as Y, watch as ce, nextTick as Me, withKeys as dt, toHandlers as Bi, withCtx as F, createTextVNode as za, createVNode as A, normalizeStyle as qa, withModifiers as ve, createSlots as va, Fragment as fe, renderList as _e, onMounted as It, onBeforeUnmount as In, onUnmounted as Ts, Teleport as Tt, toRefs as Ee, getCurrentInstance as Lt, toRef as Rt, normalizeProps as fa, guardReactiveProps as ha, withDirectives as De, vShow as ji, onUpdated as Ri, vModelText as Ze, resolveComponent as Ge, vModelCheckbox as Ni, getCurrentScope as Ui, onScopeDispose as Fi, toHandlerKey as Zi } from "vue";
2
+ import { RouterView as Wi, useRoute as zi, useRouter as Os } from "vue-router";
3
+ import mt from "vuedraggable";
4
4
  const X4 = /* @__PURE__ */ q({
5
5
  __name: "AoTemplates",
6
6
  props: {
@@ -617,23 +617,23 @@ function hu(t, e) {
617
617
  const mu = /* @__PURE__ */ N(du, [["render", hu]]), gu = q({
618
618
  name: "LoadingIcon"
619
619
  });
620
- const Is = (t) => (Hi("data-v-ad6da4a9"), t = t(), Vi(), t), Cu = {
620
+ const Es = (t) => (Hi("data-v-ad6da4a9"), t = t(), Vi(), t), Cu = {
621
621
  width: "24",
622
622
  height: "24",
623
623
  viewBox: "0 0 24 24",
624
624
  fill: "none",
625
625
  xmlns: "http://www.w3.org/2000/svg"
626
- }, _u = /* @__PURE__ */ Is(() => /* @__PURE__ */ h("circle", {
626
+ }, _u = /* @__PURE__ */ Es(() => /* @__PURE__ */ h("circle", {
627
627
  class: "dot dot--1",
628
628
  cx: "6",
629
629
  cy: "12",
630
630
  r: "2"
631
- }, null, -1)), yu = /* @__PURE__ */ Is(() => /* @__PURE__ */ h("circle", {
631
+ }, null, -1)), yu = /* @__PURE__ */ Es(() => /* @__PURE__ */ h("circle", {
632
632
  class: "dot dot--2",
633
633
  cx: "12",
634
634
  cy: "12",
635
635
  r: "2"
636
- }, null, -1)), bu = /* @__PURE__ */ Is(() => /* @__PURE__ */ h("circle", {
636
+ }, null, -1)), bu = /* @__PURE__ */ Es(() => /* @__PURE__ */ h("circle", {
637
637
  class: "dot dot--3",
638
638
  cx: "18",
639
639
  cy: "12",
@@ -1139,7 +1139,7 @@ const E2 = /* @__PURE__ */ N(S2, [["render", O2]]), I2 = /* @__PURE__ */ Object.
1139
1139
  MD: "md",
1140
1140
  LG: "lg",
1141
1141
  XL: "xl"
1142
- }, Ls = {
1142
+ }, Is = {
1143
1143
  PRIMARY: "primary",
1144
1144
  PRIMARY_LIGHTER: "primary-lighter",
1145
1145
  NEUTRAL: "neutral",
@@ -1150,7 +1150,7 @@ const E2 = /* @__PURE__ */ N(S2, [["render", O2]]), I2 = /* @__PURE__ */ Object.
1150
1150
  DANGER: "danger"
1151
1151
  };
1152
1152
  ({
1153
- ...Ls,
1153
+ ...Is,
1154
1154
  ...P2
1155
1155
  });
1156
1156
  const Ln = {
@@ -1223,17 +1223,17 @@ function Pn(t) {
1223
1223
  }, o = (r) => {
1224
1224
  e.value = r;
1225
1225
  }, i = (r) => async () => {
1226
- o(!1), await Ve(() => {
1226
+ o(!1), await Me(() => {
1227
1227
  t.value[s.value] = a.value, r == null || r();
1228
1228
  });
1229
1229
  }, l = (r) => async (c) => {
1230
1230
  const u = t.value[s.value];
1231
- o(!1), await Ve(() => {
1231
+ o(!1), await Me(() => {
1232
1232
  r(u, c);
1233
1233
  });
1234
1234
  };
1235
1235
  return ce(e, async (r) => {
1236
- await Ve(() => {
1236
+ await Me(() => {
1237
1237
  setTimeout(() => {
1238
1238
  t.value && r && (t.value.focus(), a.value = t.value[s.value]);
1239
1239
  }, 1);
@@ -1526,7 +1526,7 @@ function ra(t) {
1526
1526
  var e = new Date(Date.UTC(t.getFullYear(), t.getMonth(), t.getDate(), t.getHours(), t.getMinutes(), t.getSeconds(), t.getMilliseconds()));
1527
1527
  return e.setUTCFullYear(t.getFullYear()), t.getTime() - e.getTime();
1528
1528
  }
1529
- function dn(t) {
1529
+ function cn(t) {
1530
1530
  Ce(1, arguments);
1531
1531
  var e = $e(t);
1532
1532
  return e.setHours(0, 0, 0, 0), e;
@@ -1534,7 +1534,7 @@ function dn(t) {
1534
1534
  var Q2 = 864e5;
1535
1535
  function J2(t, e) {
1536
1536
  Ce(2, arguments);
1537
- var a = dn(t), s = dn(e), n = a.getTime() - ra(a), o = s.getTime() - ra(s);
1537
+ var a = cn(t), s = cn(e), n = a.getTime() - ra(a), o = s.getTime() - ra(s);
1538
1538
  return Math.round((n - o) / Q2);
1539
1539
  }
1540
1540
  function e0(t, e) {
@@ -2170,14 +2170,14 @@ var Bt = {
2170
2170
  return "Z";
2171
2171
  switch (a) {
2172
2172
  case "X":
2173
- return vn(i);
2173
+ return pn(i);
2174
2174
  case "XXXX":
2175
2175
  case "XX":
2176
- return St(i);
2176
+ return kt(i);
2177
2177
  case "XXXXX":
2178
2178
  case "XXX":
2179
2179
  default:
2180
- return St(i, ":");
2180
+ return kt(i, ":");
2181
2181
  }
2182
2182
  },
2183
2183
  // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
@@ -2185,14 +2185,14 @@ var Bt = {
2185
2185
  var o = n._originalDate || e, i = o.getTimezoneOffset();
2186
2186
  switch (a) {
2187
2187
  case "x":
2188
- return vn(i);
2188
+ return pn(i);
2189
2189
  case "xxxx":
2190
2190
  case "xx":
2191
- return St(i);
2191
+ return kt(i);
2192
2192
  case "xxxxx":
2193
2193
  case "xxx":
2194
2194
  default:
2195
- return St(i, ":");
2195
+ return kt(i, ":");
2196
2196
  }
2197
2197
  },
2198
2198
  // Timezone (GMT)
@@ -2202,10 +2202,10 @@ var Bt = {
2202
2202
  case "O":
2203
2203
  case "OO":
2204
2204
  case "OOO":
2205
- return "GMT" + pn(i, ":");
2205
+ return "GMT" + dn(i, ":");
2206
2206
  case "OOOO":
2207
2207
  default:
2208
- return "GMT" + St(i, ":");
2208
+ return "GMT" + kt(i, ":");
2209
2209
  }
2210
2210
  },
2211
2211
  // Timezone (specific non-location)
@@ -2215,10 +2215,10 @@ var Bt = {
2215
2215
  case "z":
2216
2216
  case "zz":
2217
2217
  case "zzz":
2218
- return "GMT" + pn(i, ":");
2218
+ return "GMT" + dn(i, ":");
2219
2219
  case "zzzz":
2220
2220
  default:
2221
- return "GMT" + St(i, ":");
2221
+ return "GMT" + kt(i, ":");
2222
2222
  }
2223
2223
  },
2224
2224
  // Seconds timestamp
@@ -2232,26 +2232,26 @@ var Bt = {
2232
2232
  return de(i, a.length);
2233
2233
  }
2234
2234
  };
2235
- function pn(t, e) {
2235
+ function dn(t, e) {
2236
2236
  var a = t > 0 ? "-" : "+", s = Math.abs(t), n = Math.floor(s / 60), o = s % 60;
2237
2237
  if (o === 0)
2238
2238
  return a + String(n);
2239
2239
  var i = e || "";
2240
2240
  return a + String(n) + i + de(o, 2);
2241
2241
  }
2242
- function vn(t, e) {
2242
+ function pn(t, e) {
2243
2243
  if (t % 60 === 0) {
2244
2244
  var a = t > 0 ? "-" : "+";
2245
2245
  return a + de(Math.abs(t) / 60, 2);
2246
2246
  }
2247
- return St(t, e);
2247
+ return kt(t, e);
2248
2248
  }
2249
- function St(t, e) {
2249
+ function kt(t, e) {
2250
2250
  var a = e || "", s = t > 0 ? "-" : "+", n = Math.abs(t), o = de(Math.floor(n / 60), 2), i = de(n % 60, 2);
2251
2251
  return s + o + a + i;
2252
2252
  }
2253
2253
  const p0 = d0;
2254
- var fn = function(e, a) {
2254
+ var vn = function(e, a) {
2255
2255
  switch (e) {
2256
2256
  case "P":
2257
2257
  return a.date({
@@ -2294,7 +2294,7 @@ var fn = function(e, a) {
2294
2294
  }, v0 = function(e, a) {
2295
2295
  var s = e.match(/(P+)(p+)?/) || [], n = s[1], o = s[2];
2296
2296
  if (!o)
2297
- return fn(e, a);
2297
+ return vn(e, a);
2298
2298
  var i;
2299
2299
  switch (n) {
2300
2300
  case "P":
@@ -2319,7 +2319,7 @@ var fn = function(e, a) {
2319
2319
  });
2320
2320
  break;
2321
2321
  }
2322
- return i.replace("{{date}}", fn(n, a)).replace("{{time}}", Nn(o, a));
2322
+ return i.replace("{{date}}", vn(n, a)).replace("{{time}}", Nn(o, a));
2323
2323
  }, f0 = {
2324
2324
  p: Nn,
2325
2325
  P: v0
@@ -2332,7 +2332,7 @@ function C0(t) {
2332
2332
  function _0(t) {
2333
2333
  return g0.indexOf(t) !== -1;
2334
2334
  }
2335
- function hn(t, e, a) {
2335
+ function fn(t, e, a) {
2336
2336
  if (t === "YYYY")
2337
2337
  throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e, "`) for formatting years to the input `").concat(a, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
2338
2338
  if (t === "YY")
@@ -2769,7 +2769,7 @@ function Fn(t, e, a) {
2769
2769
  return u3(se);
2770
2770
  var E = p0[ee];
2771
2771
  if (E)
2772
- return !(a != null && a.useAdditionalWeekYearTokens) && _0(se) && hn(se, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && C0(se) && hn(se, e, String(t)), E(j, se, U.localize, G);
2772
+ return !(a != null && a.useAdditionalWeekYearTokens) && _0(se) && fn(se, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && C0(se) && fn(se, e, String(t)), E(j, se, U.localize, G);
2773
2773
  if (ee.match(r3))
2774
2774
  throw new RangeError("Format string contains an unescaped latin alphabet character `" + ee + "`");
2775
2775
  return se;
@@ -2918,7 +2918,7 @@ function k3(t, e, a) {
2918
2918
  function S3(t, e) {
2919
2919
  return e >= 0 && e <= 59;
2920
2920
  }
2921
- var He = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, we = {}, Wn = {}, aa = {}, ga = {}, xt = {}, xa = {};
2921
+ var Ve = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, we = {}, Wn = {}, aa = {}, ga = {}, xt = {}, xa = {};
2922
2922
  Object.defineProperty(xa, "__esModule", { value: !0 });
2923
2923
  xa.lexoHelper = void 0;
2924
2924
  xa.lexoHelper = {
@@ -3161,34 +3161,34 @@ ie.POSITIVE_SIGN = 1;
3161
3161
  Object.defineProperty(ga, "__esModule", { value: !0 });
3162
3162
  ga.LexoDecimal = void 0;
3163
3163
  const sa = xt, O3 = Ca;
3164
- class Le {
3164
+ class Pe {
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 Le.make(sa.LexoInteger.make(e, 1, [a]), 1);
3170
+ return Pe.make(sa.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 Le.make(sa.LexoInteger.parse(e, a), 0);
3177
+ return Pe.make(sa.LexoInteger.parse(e, a), 0);
3178
3178
  const n = e.substring(0, s) + e.substring(s + 1);
3179
- return Le.make(sa.LexoInteger.parse(n, a), e.length - 1 - s);
3179
+ return Pe.make(sa.LexoInteger.parse(n, a), e.length - 1 - s);
3180
3180
  }
3181
3181
  static from(e) {
3182
- return Le.make(e, 0);
3182
+ return Pe.make(e, 0);
3183
3183
  }
3184
3184
  static make(e, a) {
3185
3185
  if (e.isZero())
3186
- return new Le(e, 0);
3186
+ return new Pe(e, 0);
3187
3187
  let s = 0;
3188
3188
  for (let i = 0; i < a && e.getMag(i) === 0; ++i)
3189
3189
  ++s;
3190
3190
  const n = e.shiftRight(s), o = a - s;
3191
- return new Le(n, o);
3191
+ return new Pe(n, o);
3192
3192
  }
3193
3193
  getSystem() {
3194
3194
  return this.mag.getSystem();
@@ -3199,7 +3199,7 @@ class Le {
3199
3199
  a = a.shiftLeft();
3200
3200
  for (; s > o; )
3201
3201
  n = n.shiftLeft(), ++o;
3202
- return Le.make(a.add(n), s);
3202
+ return Pe.make(a.add(n), s);
3203
3203
  }
3204
3204
  subtract(e) {
3205
3205
  let a = this.mag, s = this.sig, n = e.mag, o;
@@ -3207,10 +3207,10 @@ class Le {
3207
3207
  a = a.shiftLeft();
3208
3208
  for (; s > o; )
3209
3209
  n = n.shiftLeft(), ++o;
3210
- return Le.make(a.subtract(n), s);
3210
+ return Pe.make(a.subtract(n), s);
3211
3211
  }
3212
3212
  multiply(e) {
3213
- return Le.make(this.mag.multiply(e.mag), this.sig + e.sig);
3213
+ return Pe.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 Le {
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(sa.LexoInteger.one(n.getSystem()))), Le.make(n, e);
3241
+ return a && (n = n.add(sa.LexoInteger.one(n.getSystem()))), Pe.make(n, e);
3242
3242
  }
3243
3243
  compareTo(e) {
3244
3244
  if (this === e)
@@ -3264,12 +3264,12 @@ class Le {
3264
3264
  return this.format();
3265
3265
  }
3266
3266
  }
3267
- ga.LexoDecimal = Le;
3268
- var Ia = {}, mn;
3267
+ ga.LexoDecimal = Pe;
3268
+ var Ia = {}, hn;
3269
3269
  function zn() {
3270
- if (mn)
3270
+ if (hn)
3271
3271
  return Ia;
3272
- mn = 1, Object.defineProperty(Ia, "__esModule", { value: !0 });
3272
+ hn = 1, Object.defineProperty(Ia, "__esModule", { value: !0 });
3273
3273
  const t = xt, e = Yn();
3274
3274
  class a {
3275
3275
  constructor(n) {
@@ -3323,7 +3323,7 @@ function zn() {
3323
3323
  }
3324
3324
  return Ia.default = a, Ia;
3325
3325
  }
3326
- var Ps = {}, qn = {};
3326
+ var Ls = {}, qn = {};
3327
3327
  Object.defineProperty(qn, "__esModule", { value: !0 });
3328
3328
  var Ka = {};
3329
3329
  Object.defineProperty(Ka, "__esModule", { value: !0 });
@@ -3420,7 +3420,7 @@ class L3 {
3420
3420
  }
3421
3421
  Xa.LexoNumeralSystem64 = L3;
3422
3422
  (function(t) {
3423
- var e = He && He.__createBinding || (Object.create ? function(s, n, o, i) {
3423
+ var e = Ve && Ve.__createBinding || (Object.create ? function(s, n, o, i) {
3424
3424
  i === void 0 && (i = o);
3425
3425
  var l = Object.getOwnPropertyDescriptor(n, o);
3426
3426
  (!l || ("get" in l ? !n.__esModule : l.writable || l.configurable)) && (l = { enumerable: !0, get: function() {
@@ -3428,18 +3428,18 @@ Xa.LexoNumeralSystem64 = L3;
3428
3428
  } }), Object.defineProperty(s, i, l);
3429
3429
  } : function(s, n, o, i) {
3430
3430
  i === void 0 && (i = o), s[i] = n[o];
3431
- }), a = He && He.__exportStar || function(s, n) {
3431
+ }), a = Ve && Ve.__exportStar || function(s, n) {
3432
3432
  for (var o in s)
3433
3433
  o !== "default" && !Object.prototype.hasOwnProperty.call(n, o) && e(n, s, o);
3434
3434
  };
3435
3435
  Object.defineProperty(t, "__esModule", { value: !0 }), a(qn, t), a(Ka, t), a(Ga, t), a(Xa, t);
3436
- })(Ps);
3437
- var gn;
3436
+ })(Ls);
3437
+ var mn;
3438
3438
  function Yn() {
3439
- if (gn)
3439
+ if (mn)
3440
3440
  return aa;
3441
- gn = 1, Object.defineProperty(aa, "__esModule", { value: !0 }), aa.LexoRank = void 0;
3442
- const t = ga, e = zn(), a = Ca, s = Ps;
3441
+ mn = 1, Object.defineProperty(aa, "__esModule", { value: !0 }), aa.LexoRank = void 0;
3442
+ const t = ga, e = zn(), a = Ca, s = Ls;
3443
3443
  class n {
3444
3444
  constructor(i, l) {
3445
3445
  this.value = i.format() + "|" + n.formatDecimal(l), this.bucket = i, this.decimal = l;
@@ -3613,7 +3613,7 @@ function Yn() {
3613
3613
  return aa.LexoRank = n, aa;
3614
3614
  }
3615
3615
  (function(t) {
3616
- var e = He && He.__createBinding || (Object.create ? function(s, n, o, i) {
3616
+ var e = Ve && Ve.__createBinding || (Object.create ? function(s, n, o, i) {
3617
3617
  i === void 0 && (i = o);
3618
3618
  var l = Object.getOwnPropertyDescriptor(n, o);
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, i, l);
3622
3622
  } : function(s, n, o, i) {
3623
3623
  i === void 0 && (i = o), s[i] = n[o];
3624
- }), a = He && He.__exportStar || function(s, n) {
3624
+ }), a = Ve && Ve.__exportStar || function(s, n) {
3625
3625
  for (var o in s)
3626
3626
  o !== "default" && !Object.prototype.hasOwnProperty.call(n, o) && e(n, s, o);
3627
3627
  };
3628
3628
  Object.defineProperty(t, "__esModule", { value: !0 }), a(Yn(), t), a(zn(), t), a(ga, t), a(xt, t);
3629
3629
  })(Wn);
3630
3630
  (function(t) {
3631
- var e = He && He.__createBinding || (Object.create ? function(s, n, o, i) {
3631
+ var e = Ve && Ve.__createBinding || (Object.create ? function(s, n, o, i) {
3632
3632
  i === void 0 && (i = o);
3633
3633
  var l = Object.getOwnPropertyDescriptor(n, o);
3634
3634
  (!l || ("get" in l ? !n.__esModule : l.writable || l.configurable)) && (l = { enumerable: !0, get: function() {
@@ -3636,11 +3636,11 @@ function Yn() {
3636
3636
  } }), Object.defineProperty(s, i, l);
3637
3637
  } : function(s, n, o, i) {
3638
3638
  i === void 0 && (i = o), s[i] = n[o];
3639
- }), a = He && He.__exportStar || function(s, n) {
3639
+ }), a = Ve && Ve.__exportStar || function(s, n) {
3640
3640
  for (var o in s)
3641
3641
  o !== "default" && !Object.prototype.hasOwnProperty.call(n, o) && e(n, s, o);
3642
3642
  };
3643
- Object.defineProperty(t, "__esModule", { value: !0 }), a(Wn, t), a(Ps, t);
3643
+ Object.defineProperty(t, "__esModule", { value: !0 }), a(Wn, t), a(Ls, t);
3644
3644
  })(we);
3645
3645
  function xn(t) {
3646
3646
  return (t == null ? void 0 : t.reduce((e, a) => {
@@ -3689,11 +3689,11 @@ function Qa(t, e = "dd/MM/yyyy") {
3689
3689
  const a = ua(t);
3690
3690
  return Bn(a) ? Fn(a, e) : "";
3691
3691
  }
3692
- function Hs(t, e) {
3692
+ function Ps(t, e) {
3693
3693
  return t.status.id === e.id;
3694
3694
  }
3695
3695
  function D3(t, e) {
3696
- return t.activities.length === 0 ? !1 : !t.activities.some((a) => !Hs(a, e));
3696
+ return t.activities.length === 0 ? !1 : !t.activities.some((a) => !Ps(a, e));
3697
3697
  }
3698
3698
  function B3(t, e) {
3699
3699
  return {
@@ -3896,14 +3896,14 @@ const r5 = { class: "ao-page-header" }, u5 = { class: "ao-page-header-main" }, c
3896
3896
  const d5 = ["type"], p5 = {
3897
3897
  key: 0,
3898
3898
  class: "ao-button-card__label"
3899
- }, Ct = /* @__PURE__ */ q({
3899
+ }, gt = /* @__PURE__ */ q({
3900
3900
  __name: "AoButtonCard",
3901
3901
  props: {
3902
3902
  label: { default: () => "" },
3903
3903
  iconName: {},
3904
3904
  iconPosition: {},
3905
3905
  type: { default: () => "button" },
3906
- color: { default: () => Ls.BLACK },
3906
+ color: { default: () => Is.BLACK },
3907
3907
  size: { default: () => Ya.MD },
3908
3908
  isLoading: { type: Boolean, default: () => !1 },
3909
3909
  corners: { default: () => Ln.ROUNDED }
@@ -3934,7 +3934,7 @@ const d5 = ["type"], p5 = {
3934
3934
  const v5 = { class: "ao-card-template-item__footer" }, f5 = {
3935
3935
  key: 0,
3936
3936
  class: "ao-card-template-item__subitem"
3937
- }, h5 = { class: "ao-card-template-item__subitem-number" }, m5 = { class: "ao-card-template-item__secondary" }, Vs = /* @__PURE__ */ q({
3937
+ }, h5 = { class: "ao-card-template-item__subitem-number" }, m5 = { class: "ao-card-template-item__secondary" }, Hs = /* @__PURE__ */ q({
3938
3938
  __name: "AoCardTemplateItem",
3939
3939
  props: {
3940
3940
  milestones: {},
@@ -3995,7 +3995,7 @@ const g5 = /* @__PURE__ */ q({
3995
3995
  var n;
3996
3996
  return (n = e.milestones) == null ? void 0 : n.length;
3997
3997
  }), s = M(() => e.milestones ? xn(e.milestones) : 0);
3998
- return (n, o) => (d(), D(Vs, Ae({
3998
+ return (n, o) => (d(), D(Hs, Ae({
3999
3999
  id: n.id,
4000
4000
  title: n.name,
4001
4001
  activities: s.value,
@@ -4017,7 +4017,7 @@ const g5 = /* @__PURE__ */ q({
4017
4017
  var s;
4018
4018
  return ((s = e.activities) == null ? void 0 : s.length) || 0;
4019
4019
  });
4020
- return (s, n) => (d(), D(Vs, { activities: a.value }, {
4020
+ return (s, n) => (d(), D(Hs, { activities: a.value }, {
4021
4021
  default: F(() => [
4022
4022
  te(s.$slots, "default")
4023
4023
  ]),
@@ -4048,7 +4048,7 @@ const g5 = /* @__PURE__ */ q({
4048
4048
  });
4049
4049
  }
4050
4050
  };
4051
- return (l, r) => l.phase ? (d(), D(Q(gt), {
4051
+ return (l, r) => l.phase ? (d(), D(Q(mt), {
4052
4052
  key: 0,
4053
4053
  "model-value": l.phase.milestones,
4054
4054
  class: "ao-templates__list",
@@ -4083,7 +4083,7 @@ const g5 = /* @__PURE__ */ q({
4083
4083
  ]),
4084
4084
  footer: F(() => [
4085
4085
  h("div", _5, [
4086
- A(Ct, {
4086
+ A(gt, {
4087
4087
  "icon-name": "AddBoxOutlineRounded",
4088
4088
  label: l.$t("template.milestones.add"),
4089
4089
  onClick: s
@@ -4104,7 +4104,7 @@ const g5 = /* @__PURE__ */ q({
4104
4104
  var s;
4105
4105
  return ((s = e.tasks) == null ? void 0 : s.length) || 0;
4106
4106
  });
4107
- return (s, n) => (d(), D(Vs, { tasks: a.value }, {
4107
+ return (s, n) => (d(), D(Hs, { tasks: a.value }, {
4108
4108
  default: F(() => [
4109
4109
  te(s.$slots, "default")
4110
4110
  ]),
@@ -4138,7 +4138,7 @@ const g5 = /* @__PURE__ */ q({
4138
4138
  });
4139
4139
  }
4140
4140
  };
4141
- return (l, r) => l.milestone ? (d(), D(Q(gt), {
4141
+ return (l, r) => l.milestone ? (d(), D(Q(mt), {
4142
4142
  key: 0,
4143
4143
  "model-value": l.milestone.activities,
4144
4144
  title: l.$t("template.activities.title"),
@@ -4169,7 +4169,7 @@ const g5 = /* @__PURE__ */ q({
4169
4169
  ]),
4170
4170
  footer: F(() => [
4171
4171
  h("div", w5, [
4172
- A(Ct, {
4172
+ A(gt, {
4173
4173
  "icon-name": "AddBoxOutlineRounded",
4174
4174
  label: l.$t("template.activities.add"),
4175
4175
  onClick: s
@@ -4223,7 +4223,7 @@ const g5 = /* @__PURE__ */ q({
4223
4223
  ], 2));
4224
4224
  }
4225
4225
  });
4226
- const ca = Math.min, Pe = Math.max, Na = Math.round, La = Math.floor, pt = (t) => ({
4226
+ const ca = Math.min, He = Math.max, Na = Math.round, La = Math.floor, pt = (t) => ({
4227
4227
  x: t,
4228
4228
  y: t
4229
4229
  }), E5 = {
@@ -4235,7 +4235,7 @@ const ca = Math.min, Pe = Math.max, Na = Math.round, La = Math.floor, pt = (t) =
4235
4235
  start: "end",
4236
4236
  end: "start"
4237
4237
  };
4238
- function Ds(t, e) {
4238
+ function Vs(t, e) {
4239
4239
  return typeof t == "function" ? t(e) : t;
4240
4240
  }
4241
4241
  function Ft(t) {
@@ -4250,11 +4250,11 @@ function L5(t) {
4250
4250
  function Gn(t) {
4251
4251
  return t === "y" ? "height" : "width";
4252
4252
  }
4253
- function Bs(t) {
4253
+ function Ds(t) {
4254
4254
  return ["top", "bottom"].includes(Ft(t)) ? "y" : "x";
4255
4255
  }
4256
4256
  function Xn(t) {
4257
- return L5(Bs(t));
4257
+ return L5(Ds(t));
4258
4258
  }
4259
4259
  function P5(t, e, a) {
4260
4260
  a === void 0 && (a = !1);
@@ -4316,12 +4316,12 @@ function Fa(t) {
4316
4316
  bottom: t.y + t.height
4317
4317
  };
4318
4318
  }
4319
- function Cn(t, e, a) {
4319
+ function gn(t, e, a) {
4320
4320
  let {
4321
4321
  reference: s,
4322
4322
  floating: n
4323
4323
  } = t;
4324
- const o = Bs(e), i = Xn(e), l = Gn(i), r = Ft(e), c = o === "y", u = s.x + s.width / 2 - n.width / 2, f = s.y + s.height / 2 - n.height / 2, p = s[l] / 2 - n[l] / 2;
4324
+ const o = Ds(e), i = Xn(e), l = Gn(i), r = Ft(e), c = o === "y", u = s.x + s.width / 2 - n.width / 2, f = s.y + s.height / 2 - n.height / 2, p = s[l] / 2 - n[l] / 2;
4325
4325
  let m;
4326
4326
  switch (r) {
4327
4327
  case "top":
@@ -4378,7 +4378,7 @@ const R5 = async (t, e, a) => {
4378
4378
  }), {
4379
4379
  x: u,
4380
4380
  y: f
4381
- } = Cn(c, s, r), p = s, m = {}, $ = 0;
4381
+ } = gn(c, s, r), p = s, m = {}, $ = 0;
4382
4382
  for (let g = 0; g < l.length; g++) {
4383
4383
  const {
4384
4384
  name: v,
@@ -4416,7 +4416,7 @@ const R5 = async (t, e, a) => {
4416
4416
  }) : I.rects), {
4417
4417
  x: u,
4418
4418
  y: f
4419
- } = Cn(c, p, r)), g = -1;
4419
+ } = gn(c, p, r)), g = -1;
4420
4420
  continue;
4421
4421
  }
4422
4422
  }
@@ -4444,7 +4444,7 @@ async function Qn(t, e) {
4444
4444
  elementContext: f = "floating",
4445
4445
  altBoundary: p = !1,
4446
4446
  padding: m = 0
4447
- } = Ds(e, t), $ = j5(m), v = l[p ? f === "floating" ? "reference" : "floating" : f], w = Fa(await o.getClippingRect({
4447
+ } = Vs(e, t), $ = j5(m), v = l[p ? f === "floating" ? "reference" : "floating" : f], w = Fa(await o.getClippingRect({
4448
4448
  element: (a = await (o.isElement == null ? void 0 : o.isElement(v))) == null || a ? v : v.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(l.floating)),
4449
4449
  boundary: c,
4450
4450
  rootBoundary: u,
@@ -4492,7 +4492,7 @@ const N5 = function(t) {
4492
4492
  fallbackAxisSideDirection: $ = "none",
4493
4493
  flipAlignment: g = !0,
4494
4494
  ...v
4495
- } = Ds(t, e);
4495
+ } = Vs(t, e);
4496
4496
  if ((a = o.arrow) != null && a.alignmentOffset)
4497
4497
  return {};
4498
4498
  const w = Ft(n), y = Ft(l) === l, _ = await (r.isRTL == null ? void 0 : r.isRTL(c.floating)), V = p || (y || !g ? [Ua(l)] : H5(l));
@@ -4556,7 +4556,7 @@ const N5 = function(t) {
4556
4556
  apply: i = () => {
4557
4557
  },
4558
4558
  ...l
4559
- } = Ds(t, e), r = await Qn(e, l), c = Ft(a), u = es(a), f = Bs(a) === "y", {
4559
+ } = Vs(t, e), r = await Qn(e, l), c = Ft(a), u = es(a), f = Ds(a) === "y", {
4560
4560
  width: p,
4561
4561
  height: m
4562
4562
  } = s.floating;
@@ -4572,8 +4572,8 @@ const N5 = function(t) {
4572
4572
  _ = u || y ? ca(v, L) : L;
4573
4573
  }
4574
4574
  if (y && !u) {
4575
- const L = Pe(r.left, 0), U = Pe(r.right, 0), z = Pe(r.top, 0), K = Pe(r.bottom, 0);
4576
- f ? V = p - 2 * (L !== 0 || U !== 0 ? L + U : Pe(r.left, r.right)) : _ = m - 2 * (z !== 0 || K !== 0 ? z + K : Pe(r.top, r.bottom));
4575
+ const L = He(r.left, 0), U = He(r.right, 0), z = He(r.top, 0), K = He(r.bottom, 0);
4576
+ f ? V = p - 2 * (L !== 0 || U !== 0 ? L + U : He(r.left, r.right)) : _ = m - 2 * (z !== 0 || K !== 0 ? z + K : He(r.top, r.bottom));
4577
4577
  }
4578
4578
  await i({
4579
4579
  ...e,
@@ -4592,7 +4592,7 @@ const N5 = function(t) {
4592
4592
  function vt(t) {
4593
4593
  return Jn(t) ? (t.nodeName || "").toLowerCase() : "#document";
4594
4594
  }
4595
- function Me(t) {
4595
+ function Te(t) {
4596
4596
  var e;
4597
4597
  return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
4598
4598
  }
@@ -4601,16 +4601,16 @@ function st(t) {
4601
4601
  return (e = (Jn(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
4602
4602
  }
4603
4603
  function Jn(t) {
4604
- return t instanceof Node || t instanceof Me(t).Node;
4604
+ return t instanceof Node || t instanceof Te(t).Node;
4605
4605
  }
4606
4606
  function tt(t) {
4607
- return t instanceof Element || t instanceof Me(t).Element;
4607
+ return t instanceof Element || t instanceof Te(t).Element;
4608
4608
  }
4609
4609
  function We(t) {
4610
- return t instanceof HTMLElement || t instanceof Me(t).HTMLElement;
4610
+ return t instanceof HTMLElement || t instanceof Te(t).HTMLElement;
4611
4611
  }
4612
- function _n(t) {
4613
- return typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof Me(t).ShadowRoot;
4612
+ function Cn(t) {
4613
+ return typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof Te(t).ShadowRoot;
4614
4614
  }
4615
4615
  function ba(t) {
4616
4616
  const {
@@ -4624,27 +4624,27 @@ function ba(t) {
4624
4624
  function F5(t) {
4625
4625
  return ["table", "td", "th"].includes(vt(t));
4626
4626
  }
4627
- function js(t) {
4628
- const e = Rs(), a = je(t);
4627
+ function Bs(t) {
4628
+ const e = js(), a = je(t);
4629
4629
  return a.transform !== "none" || a.perspective !== "none" || (a.containerType ? a.containerType !== "normal" : !1) || !e && (a.backdropFilter ? a.backdropFilter !== "none" : !1) || !e && (a.filter ? a.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((s) => (a.willChange || "").includes(s)) || ["paint", "layout", "strict", "content"].some((s) => (a.contain || "").includes(s));
4630
4630
  }
4631
4631
  function Z5(t) {
4632
4632
  let e = Zt(t);
4633
4633
  for (; We(e) && !ts(e); ) {
4634
- if (js(e))
4634
+ if (Bs(e))
4635
4635
  return e;
4636
4636
  e = Zt(e);
4637
4637
  }
4638
4638
  return null;
4639
4639
  }
4640
- function Rs() {
4640
+ function js() {
4641
4641
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
4642
4642
  }
4643
4643
  function ts(t) {
4644
4644
  return ["html", "body", "#document"].includes(vt(t));
4645
4645
  }
4646
4646
  function je(t) {
4647
- return Me(t).getComputedStyle(t);
4647
+ return Te(t).getComputedStyle(t);
4648
4648
  }
4649
4649
  function as(t) {
4650
4650
  return tt(t) ? {
@@ -4662,10 +4662,10 @@ function Zt(t) {
4662
4662
  // Step into the shadow DOM of the parent of a slotted node.
4663
4663
  t.assignedSlot || // DOM Element detected.
4664
4664
  t.parentNode || // ShadowRoot detected.
4665
- _n(t) && t.host || // Fallback.
4665
+ Cn(t) && t.host || // Fallback.
4666
4666
  st(t)
4667
4667
  );
4668
- return _n(e) ? e.host : e;
4668
+ return Cn(e) ? e.host : e;
4669
4669
  }
4670
4670
  function ei(t) {
4671
4671
  const e = Zt(t);
@@ -4674,7 +4674,7 @@ function ei(t) {
4674
4674
  function da(t, e, a) {
4675
4675
  var s;
4676
4676
  e === void 0 && (e = []), a === void 0 && (a = !0);
4677
- const n = ei(t), o = n === ((s = t.ownerDocument) == null ? void 0 : s.body), i = Me(n);
4677
+ const n = ei(t), o = n === ((s = t.ownerDocument) == null ? void 0 : s.body), i = Te(n);
4678
4678
  return o ? e.concat(i, i.visualViewport || [], ba(n) ? n : [], i.frameElement && a ? da(i.frameElement) : []) : e.concat(n, da(n));
4679
4679
  }
4680
4680
  function ti(t) {
@@ -4687,11 +4687,11 @@ function ti(t) {
4687
4687
  $: l
4688
4688
  };
4689
4689
  }
4690
- function Ns(t) {
4690
+ function Rs(t) {
4691
4691
  return tt(t) ? t : t.contextElement;
4692
4692
  }
4693
4693
  function Nt(t) {
4694
- const e = Ns(t);
4694
+ const e = Rs(t);
4695
4695
  if (!We(e))
4696
4696
  return pt(1);
4697
4697
  const a = e.getBoundingClientRect(), {
@@ -4707,28 +4707,28 @@ function Nt(t) {
4707
4707
  }
4708
4708
  const W5 = /* @__PURE__ */ pt(0);
4709
4709
  function ai(t) {
4710
- const e = Me(t);
4711
- return !Rs() || !e.visualViewport ? W5 : {
4710
+ const e = Te(t);
4711
+ return !js() || !e.visualViewport ? W5 : {
4712
4712
  x: e.visualViewport.offsetLeft,
4713
4713
  y: e.visualViewport.offsetTop
4714
4714
  };
4715
4715
  }
4716
4716
  function z5(t, e, a) {
4717
- return e === void 0 && (e = !1), !a || e && a !== Me(t) ? !1 : e;
4717
+ return e === void 0 && (e = !1), !a || e && a !== Te(t) ? !1 : e;
4718
4718
  }
4719
- function Et(t, e, a, s) {
4719
+ function Ot(t, e, a, s) {
4720
4720
  e === void 0 && (e = !1), a === void 0 && (a = !1);
4721
- const n = t.getBoundingClientRect(), o = Ns(t);
4721
+ const n = t.getBoundingClientRect(), o = Rs(t);
4722
4722
  let i = pt(1);
4723
4723
  e && (s ? tt(s) && (i = Nt(s)) : i = Nt(t));
4724
4724
  const l = z5(o, a, s) ? ai(o) : pt(0);
4725
4725
  let r = (n.left + l.x) / i.x, c = (n.top + l.y) / i.y, u = n.width / i.x, f = n.height / i.y;
4726
4726
  if (o) {
4727
- const p = Me(o), m = s && tt(s) ? Me(s) : s;
4727
+ const p = Te(o), m = s && tt(s) ? Te(s) : s;
4728
4728
  let $ = p.frameElement;
4729
4729
  for (; $ && s && m !== p; ) {
4730
4730
  const g = Nt($), v = $.getBoundingClientRect(), w = je($), y = v.left + ($.clientLeft + parseFloat(w.paddingLeft)) * g.x, _ = v.top + ($.clientTop + parseFloat(w.paddingTop)) * g.y;
4731
- r *= g.x, c *= g.y, u *= g.x, f *= g.y, r += y, c += _, $ = Me($).frameElement;
4731
+ r *= g.x, c *= g.y, u *= g.x, f *= g.y, r += y, c += _, $ = Te($).frameElement;
4732
4732
  }
4733
4733
  }
4734
4734
  return Fa({
@@ -4753,7 +4753,7 @@ function q5(t) {
4753
4753
  }, l = pt(1);
4754
4754
  const r = pt(0);
4755
4755
  if ((n || !n && s !== "fixed") && ((vt(a) !== "body" || ba(o)) && (i = as(a)), We(a))) {
4756
- const c = Et(a);
4756
+ const c = Ot(a);
4757
4757
  l = Nt(a), r.x = c.x + a.clientLeft, r.y = c.y + a.clientTop;
4758
4758
  }
4759
4759
  return {
@@ -4767,13 +4767,13 @@ function Y5(t) {
4767
4767
  return Array.from(t.getClientRects());
4768
4768
  }
4769
4769
  function si(t) {
4770
- return Et(st(t)).left + as(t).scrollLeft;
4770
+ return Ot(st(t)).left + as(t).scrollLeft;
4771
4771
  }
4772
4772
  function x5(t) {
4773
- const e = st(t), a = as(t), s = t.ownerDocument.body, n = Pe(e.scrollWidth, e.clientWidth, s.scrollWidth, s.clientWidth), o = Pe(e.scrollHeight, e.clientHeight, s.scrollHeight, s.clientHeight);
4773
+ const e = st(t), a = as(t), s = t.ownerDocument.body, n = He(e.scrollWidth, e.clientWidth, s.scrollWidth, s.clientWidth), o = He(e.scrollHeight, e.clientHeight, s.scrollHeight, s.clientHeight);
4774
4774
  let i = -a.scrollLeft + si(t);
4775
4775
  const l = -a.scrollTop;
4776
- return je(s).direction === "rtl" && (i += Pe(e.clientWidth, s.clientWidth) - n), {
4776
+ return je(s).direction === "rtl" && (i += He(e.clientWidth, s.clientWidth) - n), {
4777
4777
  width: n,
4778
4778
  height: o,
4779
4779
  x: i,
@@ -4781,11 +4781,11 @@ function x5(t) {
4781
4781
  };
4782
4782
  }
4783
4783
  function K5(t, e) {
4784
- const a = Me(t), s = st(t), n = a.visualViewport;
4784
+ const a = Te(t), s = st(t), n = a.visualViewport;
4785
4785
  let o = s.clientWidth, i = s.clientHeight, l = 0, r = 0;
4786
4786
  if (n) {
4787
4787
  o = n.width, i = n.height;
4788
- const c = Rs();
4788
+ const c = js();
4789
4789
  (!c || c && e === "fixed") && (l = n.offsetLeft, r = n.offsetTop);
4790
4790
  }
4791
4791
  return {
@@ -4796,7 +4796,7 @@ function K5(t, e) {
4796
4796
  };
4797
4797
  }
4798
4798
  function G5(t, e) {
4799
- const a = Et(t, !0, e === "fixed"), s = a.top + t.clientTop, n = a.left + t.clientLeft, o = We(t) ? Nt(t) : pt(1), i = t.clientWidth * o.x, l = t.clientHeight * o.y, r = n * o.x, c = s * o.y;
4799
+ const a = Ot(t, !0, e === "fixed"), s = a.top + t.clientTop, n = a.left + t.clientLeft, o = We(t) ? Nt(t) : pt(1), i = t.clientWidth * o.x, l = t.clientHeight * o.y, r = n * o.x, c = s * o.y;
4800
4800
  return {
4801
4801
  width: i,
4802
4802
  height: l,
@@ -4804,7 +4804,7 @@ function G5(t, e) {
4804
4804
  y: c
4805
4805
  };
4806
4806
  }
4807
- function yn(t, e, a) {
4807
+ function _n(t, e, a) {
4808
4808
  let s;
4809
4809
  if (e === "viewport")
4810
4810
  s = K5(t, a);
@@ -4834,7 +4834,7 @@ function X5(t, e) {
4834
4834
  const o = je(t).position === "fixed";
4835
4835
  let i = o ? Zt(t) : t;
4836
4836
  for (; tt(i) && !ts(i); ) {
4837
- const l = je(i), r = js(i);
4837
+ const l = je(i), r = Bs(i);
4838
4838
  !r && l.position === "fixed" && (n = null), (o ? !r && !n : !r && l.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || ba(i) && !r && ni(t, i)) ? s = s.filter((u) => u !== i) : n = l, i = Zt(i);
4839
4839
  }
4840
4840
  return e.set(t, s), s;
@@ -4847,9 +4847,9 @@ function Q5(t) {
4847
4847
  strategy: n
4848
4848
  } = t;
4849
4849
  const i = [...a === "clippingAncestors" ? X5(e, this._c) : [].concat(a), s], l = i[0], r = i.reduce((c, u) => {
4850
- const f = yn(e, u, n);
4851
- return c.top = Pe(f.top, c.top), c.right = ca(f.right, c.right), c.bottom = ca(f.bottom, c.bottom), c.left = Pe(f.left, c.left), c;
4852
- }, yn(e, l, n));
4850
+ const f = _n(e, u, n);
4851
+ return c.top = He(f.top, c.top), c.right = ca(f.right, c.right), c.bottom = ca(f.bottom, c.bottom), c.left = He(f.left, c.left), c;
4852
+ }, _n(e, l, n));
4853
4853
  return {
4854
4854
  width: r.right - r.left,
4855
4855
  height: r.bottom - r.top,
@@ -4861,7 +4861,7 @@ function J5(t) {
4861
4861
  return ti(t);
4862
4862
  }
4863
4863
  function e7(t, e, a) {
4864
- const s = We(e), n = st(e), o = a === "fixed", i = Et(t, !0, o, e);
4864
+ const s = We(e), n = st(e), o = a === "fixed", i = Ot(t, !0, o, e);
4865
4865
  let l = {
4866
4866
  scrollLeft: 0,
4867
4867
  scrollTop: 0
@@ -4869,7 +4869,7 @@ function e7(t, e, a) {
4869
4869
  const r = pt(0);
4870
4870
  if (s || !s && !o)
4871
4871
  if ((vt(e) !== "body" || ba(n)) && (l = as(e)), s) {
4872
- const c = Et(e, !0, o, e);
4872
+ const c = Ot(e, !0, o, e);
4873
4873
  r.x = c.x + e.clientLeft, r.y = c.y + e.clientTop;
4874
4874
  } else
4875
4875
  n && (r.x = si(n));
@@ -4880,17 +4880,17 @@ function e7(t, e, a) {
4880
4880
  height: i.height
4881
4881
  };
4882
4882
  }
4883
- function bn(t, e) {
4883
+ function yn(t, e) {
4884
4884
  return !We(t) || je(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
4885
4885
  }
4886
4886
  function ii(t, e) {
4887
- const a = Me(t);
4887
+ const a = Te(t);
4888
4888
  if (!We(t))
4889
4889
  return a;
4890
- let s = bn(t, e);
4890
+ let s = yn(t, e);
4891
4891
  for (; s && F5(s) && je(s).position === "static"; )
4892
- s = bn(s, e);
4893
- return s && (vt(s) === "html" || vt(s) === "body" && je(s).position === "static" && !js(s)) ? a : s || Z5(t) || a;
4892
+ s = yn(s, e);
4893
+ return s && (vt(s) === "html" || vt(s) === "body" && je(s).position === "static" && !Bs(s)) ? a : s || Z5(t) || a;
4894
4894
  }
4895
4895
  const t7 = async function(t) {
4896
4896
  let {
@@ -4941,7 +4941,7 @@ function n7(t, e) {
4941
4941
  return;
4942
4942
  const m = La(u), $ = La(n.clientWidth - (c + f)), g = La(n.clientHeight - (u + p)), v = La(c), y = {
4943
4943
  rootMargin: -m + "px " + -$ + "px " + -g + "px " + -v + "px",
4944
- threshold: Pe(0, ca(1, r)) || 1
4944
+ threshold: He(0, ca(1, r)) || 1
4945
4945
  };
4946
4946
  let _ = !0;
4947
4947
  function V(I) {
@@ -4976,7 +4976,7 @@ function i7(t, e, a, s) {
4976
4976
  elementResize: i = typeof ResizeObserver == "function",
4977
4977
  layoutShift: l = typeof IntersectionObserver == "function",
4978
4978
  animationFrame: r = !1
4979
- } = s, c = Ns(t), u = n || o ? [...c ? da(c) : [], ...da(e)] : [];
4979
+ } = s, c = Rs(t), u = n || o ? [...c ? da(c) : [], ...da(e)] : [];
4980
4980
  u.forEach((w) => {
4981
4981
  n && w.addEventListener("scroll", a, {
4982
4982
  passive: !0
@@ -4990,10 +4990,10 @@ function i7(t, e, a, s) {
4990
4990
  m && m.observe(e);
4991
4991
  })), a();
4992
4992
  }), c && !r && m.observe(c), m.observe(e));
4993
- let $, g = r ? Et(t) : null;
4993
+ let $, g = r ? Ot(t) : null;
4994
4994
  r && v();
4995
4995
  function v() {
4996
- const w = Et(t);
4996
+ const w = Ot(t);
4997
4997
  g && (w.x !== g.x || w.y !== g.y || w.width !== g.width || w.height !== g.height) && a(), g = w, $ = requestAnimationFrame(v);
4998
4998
  }
4999
4999
  return a(), () => {
@@ -5072,11 +5072,11 @@ const o7 = (t, e, a) => {
5072
5072
  });
5073
5073
  });
5074
5074
  }
5075
- mt(() => {
5075
+ It(() => {
5076
5076
  c();
5077
- }), Ts(() => {
5077
+ }), In(() => {
5078
5078
  l.value();
5079
- }), Os(() => {
5079
+ }), Ts(() => {
5080
5080
  l.value();
5081
5081
  });
5082
5082
  };
@@ -5084,7 +5084,7 @@ function Fe(t) {
5084
5084
  return [null, void 0].indexOf(t) !== -1;
5085
5085
  }
5086
5086
  function r7(t, e, a) {
5087
- const { object: s, valueProp: n, mode: o } = Oe(t), i = Lt().proxy, l = a.iv, r = (f, p = !0) => {
5087
+ const { object: s, valueProp: n, mode: o } = Ee(t), i = Lt().proxy, l = a.iv, r = (f, p = !0) => {
5088
5088
  l.value = u(f);
5089
5089
  const m = c(f);
5090
5090
  e.emit("change", m, i), p && (e.emit("input", m), e.emit("update:modelValue", m));
@@ -5094,7 +5094,7 @@ function r7(t, e, a) {
5094
5094
  };
5095
5095
  }
5096
5096
  function u7(t, e) {
5097
- const { value: a, modelValue: s, mode: n, valueProp: o } = Oe(t), i = Y(n.value !== "single" ? [] : {}), l = M(() => s && s.value !== void 0 ? s.value : a.value), r = M(() => n.value === "single" ? i.value[o.value] : i.value.map((u) => u[o.value])), c = M(() => n.value !== "single" ? i.value.map((u) => u[o.value]).join(",") : i.value[o.value]);
5097
+ const { value: a, modelValue: s, mode: n, valueProp: o } = Ee(t), i = Y(n.value !== "single" ? [] : {}), l = M(() => s && s.value !== void 0 ? s.value : a.value), r = M(() => n.value === "single" ? i.value[o.value] : i.value.map((u) => u[o.value])), c = M(() => n.value !== "single" ? i.value.map((u) => u[o.value]).join(",") : i.value[o.value]);
5098
5098
  return {
5099
5099
  iv: i,
5100
5100
  internalValue: i,
@@ -5105,7 +5105,7 @@ function u7(t, e) {
5105
5105
  };
5106
5106
  }
5107
5107
  function c7(t, e, a) {
5108
- const { regex: s } = Oe(t), n = Lt().proxy, o = a.isOpen, i = a.open, l = Y(null), r = () => {
5108
+ const { regex: s } = Ee(t), n = Lt().proxy, o = a.isOpen, i = a.open, l = Y(null), r = () => {
5109
5109
  l.value = "";
5110
5110
  }, c = (p) => {
5111
5111
  l.value = p.target.value;
@@ -5133,7 +5133,7 @@ function c7(t, e, a) {
5133
5133
  };
5134
5134
  }
5135
5135
  function d7(t, e, a) {
5136
- const { groupSelect: s, mode: n, groups: o, disabledProp: i } = Oe(t), l = Y(null), r = (u) => {
5136
+ const { groupSelect: s, mode: n, groups: o, disabledProp: i } = Ee(t), l = Y(null), r = (u) => {
5137
5137
  u === void 0 || u !== null && u[i.value] || o.value && u && u.group && (n.value === "single" || !s.value) || (l.value = u);
5138
5138
  };
5139
5139
  return {
@@ -5195,9 +5195,9 @@ function f7(t, e, a) {
5195
5195
  disabledProp: b,
5196
5196
  searchStart: H,
5197
5197
  searchFilter: oe
5198
- } = Oe(t), ne = Lt().proxy, Z = a.iv, P = a.ev, x = a.search, he = a.clearSearch, ke = a.update, Kt = a.pointer, Gt = a.setPointer, nt = a.clearPointer, wa = a.focus, rs = a.deactivate, it = a.close, $a = a.localize, ot = Y([]), Ue = Y([]), Ee = Y(!1), Re = Y(null), Ye = Y(ee.value && i.value === -1 ? 10 : i.value), Xt = M(() => r.value || c.value || !1), ka = M(() => f.value !== void 0 ? f.value : p.value !== void 0 ? p.value : !0), Ie = M(() => {
5198
+ } = Ee(t), ne = Lt().proxy, Z = a.iv, P = a.ev, x = a.search, he = a.clearSearch, ke = a.update, Kt = a.pointer, Gt = a.setPointer, nt = a.clearPointer, wa = a.focus, rs = a.deactivate, it = a.close, $a = a.localize, ot = Y([]), Ue = Y([]), Ie = Y(!1), Re = Y(null), Ye = Y(ee.value && i.value === -1 ? 10 : i.value), Xt = M(() => r.value || c.value || !1), ka = M(() => f.value !== void 0 ? f.value : p.value !== void 0 ? p.value : !0), Le = M(() => {
5199
5199
  if (le.value) {
5200
- let S = bt.value || /* istanbul ignore next */
5200
+ let S = yt.value || /* istanbul ignore next */
5201
5201
  [], B = [];
5202
5202
  return S.forEach((ue) => {
5203
5203
  hs(ue[E.value]).forEach((ge) => {
@@ -5210,12 +5210,12 @@ function f7(t, e, a) {
5210
5210
  return ot.value.length && (S = S.concat(ot.value)), S;
5211
5211
  }
5212
5212
  }), Qt = M(() => {
5213
- let S = Ie.value;
5213
+ let S = Le.value;
5214
5214
  return se.value && (S = S.reverse()), Pt.value.length && (S = Pt.value.concat(S)), fs(S);
5215
5215
  }), lt = M(() => {
5216
5216
  let S = Qt.value;
5217
5217
  return Ye.value > 0 && (S = S.slice(0, Ye.value)), S;
5218
- }), bt = M(() => {
5218
+ }), yt = M(() => {
5219
5219
  if (!le.value)
5220
5220
  return [];
5221
5221
  let S = [], B = Ue.value || /* istanbul ignore next */
@@ -5226,7 +5226,7 @@ function f7(t, e, a) {
5226
5226
  __CREATE__: !0
5227
5227
  }), S.concat(B);
5228
5228
  }), Sa = M(() => {
5229
- let S = [...bt.value].map((B) => ({ ...B }));
5229
+ let S = [...yt.value].map((B) => ({ ...B }));
5230
5230
  return Pt.value.length && (S[0] && S[0].__CREATE__ ? S[0][E.value] = [...Pt.value, ...S[0][E.value]] : S = [{
5231
5231
  [z.value]: " ",
5232
5232
  [E.value]: [...Pt.value],
@@ -5243,8 +5243,8 @@ function f7(t, e, a) {
5243
5243
  ...B,
5244
5244
  index: ue,
5245
5245
  group: !0,
5246
- [E.value]: fs(ge, !1).map(($t) => Object.assign({}, $t, B[b.value] ? { [b.value]: !0 } : {})),
5247
- __VISIBLE__: fs(ge).map(($t) => Object.assign({}, $t, B[b.value] ? { [b.value]: !0 } : {}))
5246
+ [E.value]: fs(ge, !1).map((wt) => Object.assign({}, wt, B[b.value] ? { [b.value]: !0 } : {})),
5247
+ __VISIBLE__: fs(ge).map((wt) => Object.assign({}, wt, B[b.value] ? { [b.value]: !0 } : {}))
5248
5248
  };
5249
5249
  }));
5250
5250
  }), cs = M(() => {
@@ -5255,12 +5255,12 @@ function f7(t, e, a) {
5255
5255
  case "tags":
5256
5256
  return !Fe(Z.value) && Z.value.length > 0;
5257
5257
  }
5258
- }), gi = M(() => m !== void 0 && m.value !== void 0 ? m.value(Z.value, ne) : Z.value && Z.value.length > 1 ? `${Z.value.length} options selected` : "1 option selected"), Ci = M(() => !Ie.value.length && !Ee.value && !Pt.value.length), _i = M(() => Ie.value.length > 0 && lt.value.length == 0 && (x.value && le.value || !le.value)), Pt = M(() => Xt.value === !1 || !x.value ? [] : Ti(x.value) !== -1 ? [] : [{
5258
+ }), gi = M(() => m !== void 0 && m.value !== void 0 ? m.value(Z.value, ne) : Z.value && Z.value.length > 1 ? `${Z.value.length} options selected` : "1 option selected"), Ci = M(() => !Le.value.length && !Ie.value && !Pt.value.length), _i = M(() => Le.value.length > 0 && lt.value.length == 0 && (x.value && le.value || !le.value)), Pt = M(() => Xt.value === !1 || !x.value ? [] : Ti(x.value) !== -1 ? [] : [{
5259
5259
  [L.value]: x.value,
5260
- [wt.value[0]]: x.value,
5260
+ [bt.value[0]]: x.value,
5261
5261
  [u.value]: x.value,
5262
5262
  __CREATE__: !0
5263
- }]), wt = M(() => o.value ? Array.isArray(o.value) ? o.value : [o.value] : [u.value]), yi = M(() => {
5263
+ }]), bt = M(() => o.value ? Array.isArray(o.value) ? o.value : [o.value] : [u.value]), yi = M(() => {
5264
5264
  switch (n.value) {
5265
5265
  case "single":
5266
5266
  return null;
@@ -5268,7 +5268,7 @@ function f7(t, e, a) {
5268
5268
  case "tags":
5269
5269
  return [];
5270
5270
  }
5271
- }), bi = M(() => g.value || Ee.value), Ht = (S) => {
5271
+ }), bi = M(() => g.value || Ie.value), Ht = (S) => {
5272
5272
  switch (typeof S != "object" && (S = Ke(S)), n.value) {
5273
5273
  case "single":
5274
5274
  ke(S);
@@ -5278,27 +5278,27 @@ function f7(t, e, a) {
5278
5278
  ke(Z.value.concat(S));
5279
5279
  break;
5280
5280
  }
5281
- e.emit("select", sn(S), S, ne);
5281
+ e.emit("select", an(S), S, ne);
5282
5282
  }, Vt = (S) => {
5283
5283
  switch (typeof S != "object" && (S = Ke(S)), n.value) {
5284
5284
  case "single":
5285
- on();
5285
+ nn();
5286
5286
  break;
5287
5287
  case "tags":
5288
5288
  case "multiple":
5289
5289
  ke(Array.isArray(S) ? Z.value.filter((B) => S.map((ue) => ue[L.value]).indexOf(B[L.value]) === -1) : Z.value.filter((B) => B[L.value] != S[L.value]));
5290
5290
  break;
5291
5291
  }
5292
- e.emit("deselect", sn(S), S, ne);
5293
- }, sn = (S) => $.value ? S : S[L.value], nn = (S) => {
5292
+ e.emit("deselect", an(S), S, ne);
5293
+ }, an = (S) => $.value ? S : S[L.value], sn = (S) => {
5294
5294
  Vt(S);
5295
5295
  }, wi = (S, B) => {
5296
5296
  if (B.button !== 0) {
5297
5297
  B.preventDefault();
5298
5298
  return;
5299
5299
  }
5300
- nn(S);
5301
- }, on = () => {
5300
+ sn(S);
5301
+ }, nn = () => {
5302
5302
  ke(yi.value), e.emit("clear", ne);
5303
5303
  }, xe = (S) => {
5304
5304
  if (S.group !== void 0)
@@ -5313,14 +5313,14 @@ function f7(t, e, a) {
5313
5313
  }, ds = (S) => S[b.value] === !0, ps = () => J === void 0 || J.value === -1 || !cs.value && J.value > 0 ? !1 : Z.value.length >= J.value, $i = (S) => {
5314
5314
  if (!ds(S)) {
5315
5315
  if (R && R.value && !xe(S) && S.__CREATE__ && (S = { ...S }, delete S.__CREATE__, S = R.value(S, ne), S instanceof Promise)) {
5316
- Ee.value = !0, S.then((B) => {
5317
- Ee.value = !1, ln(B);
5316
+ Ie.value = !0, S.then((B) => {
5317
+ Ie.value = !1, on(B);
5318
5318
  });
5319
5319
  return;
5320
5320
  }
5321
- ln(S);
5321
+ on(S);
5322
5322
  }
5323
- }, ln = (S) => {
5323
+ }, on = (S) => {
5324
5324
  switch (S.__CREATE__ && (S = { ...S }, delete S.__CREATE__), n.value) {
5325
5325
  case "single":
5326
5326
  if (S && xe(S)) {
@@ -5369,7 +5369,7 @@ function f7(t, e, a) {
5369
5369
  Ke(S[L.value]) === void 0 && Xt.value && (e.emit("tag", S[L.value], ne), e.emit("option", S[L.value], ne), e.emit("create", S[L.value], ne), ka.value && Ei(S), he());
5370
5370
  }, Si = () => {
5371
5371
  n.value !== "single" && Ht(lt.value.filter((S) => !S.disabled && !xe(S)));
5372
- }, Ai = (S) => S.find((B) => !xe(B) && !B[b.value]) === void 0, Mi = (S) => S.find((B) => !xe(B)) === void 0, Ke = (S) => Ie.value[Ie.value.map((B) => String(B[L.value])).indexOf(String(S))], Ti = (S) => Ie.value.findIndex((B) => wt.value.some((ue) => (parseInt(B[ue]) == B[ue] ? parseInt(B[ue]) : B[ue]) === (parseInt(S) == S ? parseInt(S) : S))), Oi = (S) => ["tags", "multiple"].indexOf(n.value) !== -1 && l.value && xe(S), Ei = (S) => {
5372
+ }, Ai = (S) => S.find((B) => !xe(B) && !B[b.value]) === void 0, Mi = (S) => S.find((B) => !xe(B)) === void 0, Ke = (S) => Le.value[Le.value.map((B) => String(B[L.value])).indexOf(String(S))], Ti = (S) => Le.value.findIndex((B) => bt.value.some((ue) => (parseInt(B[ue]) == B[ue] ? parseInt(B[ue]) : B[ue]) === (parseInt(S) == S ? parseInt(S) : S))), Oi = (S) => ["tags", "multiple"].indexOf(n.value) !== -1 && l.value && xe(S), Ei = (S) => {
5373
5373
  ot.value.push(S);
5374
5374
  }, Ii = (S) => T.value ? S.filter(
5375
5375
  (B) => x.value ? B.__VISIBLE__.length : B[E.value].length
@@ -5377,25 +5377,25 @@ function f7(t, e, a) {
5377
5377
  let ue = S;
5378
5378
  if (x.value && _.value) {
5379
5379
  let ge = oe.value;
5380
- ge || (ge = ($t, un, Y4) => wt.value.some((Pi) => {
5381
- let cn = ys($a($t[Pi]), ae.value);
5382
- return H.value ? cn.startsWith(ys(un, ae.value)) : cn.indexOf(ys(un, ae.value)) !== -1;
5383
- })), ue = ue.filter(($t) => ge($t, x.value, ne));
5380
+ ge || (ge = (wt, rn, Y4) => bt.value.some((Pi) => {
5381
+ let un = ys($a(wt[Pi]), ae.value);
5382
+ return H.value ? un.startsWith(ys(rn, ae.value)) : un.indexOf(ys(rn, ae.value)) !== -1;
5383
+ })), ue = ue.filter((wt) => ge(wt, x.value, ne));
5384
5384
  }
5385
5385
  return l.value && B && (ue = ue.filter((ge) => !Oi(ge))), ue;
5386
5386
  }, hs = (S) => {
5387
5387
  let B = S;
5388
5388
  return p7(B) && (B = Object.keys(B).map((ue) => {
5389
5389
  let ge = B[ue];
5390
- return { [L.value]: ue, [wt.value[0]]: ge, [u.value]: ge };
5391
- })), B = B.map((ue) => typeof ue == "object" ? ue : { [L.value]: ue, [wt.value[0]]: ue, [u.value]: ue }), B;
5390
+ return { [L.value]: ue, [bt.value[0]]: ge, [u.value]: ge };
5391
+ })), B = B.map((ue) => typeof ue == "object" ? ue : { [L.value]: ue, [bt.value[0]]: ue, [u.value]: ue }), B;
5392
5392
  }, Aa = () => {
5393
5393
  Fe(P.value) || (Z.value = Ta(P.value));
5394
- }, Ma = (S) => (Ee.value = !0, new Promise((B, ue) => {
5394
+ }, Ma = (S) => (Ie.value = !0, new Promise((B, ue) => {
5395
5395
  s.value(x.value, ne).then((ge) => {
5396
- Ue.value = ge || [], typeof S == "function" && S(ge), Ee.value = !1;
5396
+ Ue.value = ge || [], typeof S == "function" && S(ge), Ie.value = !1;
5397
5397
  }).catch((ge) => {
5398
- console.error(ge), Ue.value = [], Ee.value = !1;
5398
+ console.error(ge), Ue.value = [], Ie.value = !1;
5399
5399
  }).finally(() => {
5400
5400
  B();
5401
5401
  });
@@ -5420,16 +5420,16 @@ function f7(t, e, a) {
5420
5420
  }, Ta = (S) => Fe(S) ? n.value === "single" ? {} : [] : $.value ? S : n.value === "single" ? Ke(S) || (U.value ? {
5421
5421
  [u.value]: S,
5422
5422
  [L.value]: S,
5423
- [wt.value[0]]: S
5423
+ [bt.value[0]]: S
5424
5424
  } : {}) : S.filter((B) => !!Ke(B) || U.value).map((B) => Ke(B) || {
5425
5425
  [u.value]: B,
5426
5426
  [L.value]: B,
5427
- [wt.value[0]]: B
5428
- }), rn = () => {
5427
+ [bt.value[0]]: B
5428
+ }), ln = () => {
5429
5429
  Re.value = ce(x, (S) => {
5430
- S.length < y.value || !S && y.value !== 0 || (Ee.value = !0, V.value && (Ue.value = []), setTimeout(() => {
5430
+ S.length < y.value || !S && y.value !== 0 || (Ie.value = !0, V.value && (Ue.value = []), setTimeout(() => {
5431
5431
  S == x.value && s.value(x.value, ne).then((B) => {
5432
- (S == x.value || !x.value) && (Ue.value = B, Kt.value = lt.value.filter((ue) => ue[b.value] !== !0)[0] || null, Ee.value = !1);
5432
+ (S == x.value || !x.value) && (Ue.value = B, Kt.value = lt.value.filter((ue) => ue[b.value] !== !0)[0] || null, Ie.value = !1);
5433
5433
  }).catch(
5434
5434
  /* istanbul ignore next */
5435
5435
  (B) => {
@@ -5441,8 +5441,8 @@ function f7(t, e, a) {
5441
5441
  };
5442
5442
  if (n.value !== "single" && !Fe(P.value) && !Array.isArray(P.value))
5443
5443
  throw new Error(`v-model must be an array when using "${n.value}" mode`);
5444
- return s && typeof s.value == "function" ? w.value ? Ma(Aa) : $.value == !0 && Aa() : (Ue.value = s.value, Aa()), v.value > -1 && rn(), ce(v, (S, B) => {
5445
- Re.value && Re.value(), S >= 0 && rn();
5444
+ return s && typeof s.value == "function" ? w.value ? Ma(Aa) : $.value == !0 && Aa() : (Ue.value = s.value, Aa()), v.value > -1 && ln(), ce(v, (S, B) => {
5445
+ Re.value && Re.value(), S >= 0 && ln();
5446
5446
  }), ce(P, (S) => {
5447
5447
  if (Fe(S)) {
5448
5448
  ke(Ta(S), !1);
@@ -5467,22 +5467,22 @@ function f7(t, e, a) {
5467
5467
  filteredOptions: lt,
5468
5468
  hasSelected: cs,
5469
5469
  multipleLabelText: gi,
5470
- eo: Ie,
5471
- extendedOptions: Ie,
5472
- eg: bt,
5473
- extendedGroups: bt,
5470
+ eo: Le,
5471
+ extendedOptions: Le,
5472
+ eg: yt,
5473
+ extendedGroups: yt,
5474
5474
  fg: us,
5475
5475
  filteredGroups: us,
5476
5476
  noOptions: Ci,
5477
5477
  noResults: _i,
5478
- resolving: Ee,
5478
+ resolving: Ie,
5479
5479
  busy: bi,
5480
5480
  offset: Ye,
5481
5481
  select: Ht,
5482
5482
  deselect: Vt,
5483
- remove: nn,
5483
+ remove: sn,
5484
5484
  selectAll: Si,
5485
- clear: on,
5485
+ clear: nn,
5486
5486
  isSelected: xe,
5487
5487
  isDisabled: ds,
5488
5488
  isMax: ps,
@@ -5506,7 +5506,7 @@ function h7(t, e, a) {
5506
5506
  groupSelect: c,
5507
5507
  disabledProp: u,
5508
5508
  groupOptions: f
5509
- } = Oe(t), p = a.fo, m = a.fg, $ = a.handleOptionClick, g = a.handleGroupClick, v = a.search, w = a.pointer, y = a.setPointer, _ = a.clearPointer, V = a.multiselect, I = a.isOpen, L = M(() => p.value.filter((P) => !P[u.value])), U = M(() => m.value.filter((P) => !P[u.value])), z = M(() => r.value !== "single" && c.value), K = M(() => w.value && w.value.group), J = M(() => ne(w.value)), ae = M(() => {
5509
+ } = Ee(t), p = a.fo, m = a.fg, $ = a.handleOptionClick, g = a.handleGroupClick, v = a.search, w = a.pointer, y = a.setPointer, _ = a.clearPointer, V = a.multiselect, I = a.isOpen, L = M(() => p.value.filter((P) => !P[u.value])), U = M(() => m.value.filter((P) => !P[u.value])), z = M(() => r.value !== "single" && c.value), K = M(() => w.value && w.value.group), J = M(() => ne(w.value)), ae = M(() => {
5510
5510
  const P = K.value ? w.value : (
5511
5511
  /* istanbul ignore next */
5512
5512
  ne(w.value)
@@ -5537,7 +5537,7 @@ function h7(t, e, a) {
5537
5537
  let P = L.value.map((x) => x[s.value]).indexOf(w.value[s.value]) + 1;
5538
5538
  L.value.length <= P && (P = 0), y(L.value[P] || null);
5539
5539
  }
5540
- Ve(() => {
5540
+ Me(() => {
5541
5541
  Z();
5542
5542
  });
5543
5543
  }, oe = () => {
@@ -5552,7 +5552,7 @@ function h7(t, e, a) {
5552
5552
  let P = L.value.map((x) => x[s.value]).indexOf(w.value[s.value]) - 1;
5553
5553
  P < 0 && (P = L.value.length - 1), y(L.value[P] || null);
5554
5554
  }
5555
- Ve(() => {
5555
+ Me(() => {
5556
5556
  Z();
5557
5557
  });
5558
5558
  }, ne = (P) => U.value.find((x) => x.__VISIBLE__.map((he) => he[s.value]).indexOf(P[s.value]) !== -1), Z = () => {
@@ -5570,7 +5570,7 @@ function h7(t, e, a) {
5570
5570
  if (!x)
5571
5571
  return;
5572
5572
  let he = x.parentElement.parentElement;
5573
- Ve(() => {
5573
+ Me(() => {
5574
5574
  he.scrollTop > 0 || (he.scrollTop = x.offsetTop);
5575
5575
  });
5576
5576
  }
@@ -5584,7 +5584,7 @@ function h7(t, e, a) {
5584
5584
  backwardPointer: oe
5585
5585
  };
5586
5586
  }
5587
- function Te(t) {
5587
+ function Oe(t) {
5588
5588
  if (t == null)
5589
5589
  return window;
5590
5590
  if (t.toString() !== "[object Window]") {
@@ -5593,21 +5593,21 @@ function Te(t) {
5593
5593
  }
5594
5594
  return t;
5595
5595
  }
5596
- function It(t) {
5597
- var e = Te(t).Element;
5596
+ function Et(t) {
5597
+ var e = Oe(t).Element;
5598
5598
  return t instanceof e || t instanceof Element;
5599
5599
  }
5600
5600
  function Be(t) {
5601
- var e = Te(t).HTMLElement;
5601
+ var e = Oe(t).HTMLElement;
5602
5602
  return t instanceof e || t instanceof HTMLElement;
5603
5603
  }
5604
- function Us(t) {
5604
+ function Ns(t) {
5605
5605
  if (typeof ShadowRoot > "u")
5606
5606
  return !1;
5607
- var e = Te(t).ShadowRoot;
5607
+ var e = Oe(t).ShadowRoot;
5608
5608
  return t instanceof e || t instanceof ShadowRoot;
5609
5609
  }
5610
- var At = Math.max, Za = Math.min, Wt = Math.round;
5610
+ var St = Math.max, Za = Math.min, Wt = Math.round;
5611
5611
  function ks() {
5612
5612
  var t = navigator.userAgentData;
5613
5613
  return t != null && t.brands && Array.isArray(t.brands) ? t.brands.map(function(e) {
@@ -5621,7 +5621,7 @@ function zt(t, e, a) {
5621
5621
  e === void 0 && (e = !1), a === void 0 && (a = !1);
5622
5622
  var s = t.getBoundingClientRect(), n = 1, o = 1;
5623
5623
  e && Be(t) && (n = t.offsetWidth > 0 && Wt(s.width) / t.offsetWidth || 1, o = t.offsetHeight > 0 && Wt(s.height) / t.offsetHeight || 1);
5624
- var i = It(t) ? Te(t) : window, l = i.visualViewport, r = !oi() && a, c = (s.left + (r && l ? l.offsetLeft : 0)) / n, u = (s.top + (r && l ? l.offsetTop : 0)) / o, f = s.width / n, p = s.height / o;
5624
+ var i = Et(t) ? Oe(t) : window, l = i.visualViewport, r = !oi() && a, c = (s.left + (r && l ? l.offsetLeft : 0)) / n, u = (s.top + (r && l ? l.offsetTop : 0)) / o, f = s.width / n, p = s.height / o;
5625
5625
  return {
5626
5626
  width: f,
5627
5627
  height: p,
@@ -5633,8 +5633,8 @@ function zt(t, e, a) {
5633
5633
  y: u
5634
5634
  };
5635
5635
  }
5636
- function Fs(t) {
5637
- var e = Te(t), a = e.pageXOffset, s = e.pageYOffset;
5636
+ function Us(t) {
5637
+ var e = Oe(t), a = e.pageXOffset, s = e.pageYOffset;
5638
5638
  return {
5639
5639
  scrollLeft: a,
5640
5640
  scrollTop: s
@@ -5647,24 +5647,24 @@ function m7(t) {
5647
5647
  };
5648
5648
  }
5649
5649
  function g7(t) {
5650
- return t === Te(t) || !Be(t) ? Fs(t) : m7(t);
5650
+ return t === Oe(t) || !Be(t) ? Us(t) : m7(t);
5651
5651
  }
5652
5652
  function ze(t) {
5653
5653
  return t ? (t.nodeName || "").toLowerCase() : null;
5654
5654
  }
5655
- function _t(t) {
5656
- return ((It(t) ? t.ownerDocument : (
5655
+ function Ct(t) {
5656
+ return ((Et(t) ? t.ownerDocument : (
5657
5657
  // $FlowFixMe[prop-missing]
5658
5658
  t.document
5659
5659
  )) || window.document).documentElement;
5660
5660
  }
5661
- function Zs(t) {
5662
- return zt(_t(t)).left + Fs(t).scrollLeft;
5661
+ function Fs(t) {
5662
+ return zt(Ct(t)).left + Us(t).scrollLeft;
5663
5663
  }
5664
5664
  function at(t) {
5665
- return Te(t).getComputedStyle(t);
5665
+ return Oe(t).getComputedStyle(t);
5666
5666
  }
5667
- function Ws(t) {
5667
+ function Zs(t) {
5668
5668
  var e = at(t), a = e.overflow, s = e.overflowX, n = e.overflowY;
5669
5669
  return /auto|scroll|overlay|hidden/.test(a + n + s);
5670
5670
  }
@@ -5674,7 +5674,7 @@ function C7(t) {
5674
5674
  }
5675
5675
  function _7(t, e, a) {
5676
5676
  a === void 0 && (a = !1);
5677
- var s = Be(e), n = Be(e) && C7(e), o = _t(e), i = zt(t, n, a), l = {
5677
+ var s = Be(e), n = Be(e) && C7(e), o = Ct(e), i = zt(t, n, a), l = {
5678
5678
  scrollLeft: 0,
5679
5679
  scrollTop: 0
5680
5680
  }, r = {
@@ -5682,7 +5682,7 @@ function _7(t, e, a) {
5682
5682
  y: 0
5683
5683
  };
5684
5684
  return (s || !s && !a) && ((ze(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
5685
- Ws(o)) && (l = g7(e)), Be(e) ? (r = zt(e, !0), r.x += e.clientLeft, r.y += e.clientTop) : o && (r.x = Zs(o))), {
5685
+ Zs(o)) && (l = g7(e)), Be(e) ? (r = zt(e, !0), r.x += e.clientLeft, r.y += e.clientTop) : o && (r.x = Fs(o))), {
5686
5686
  x: i.left + l.scrollLeft - r.x,
5687
5687
  y: i.top + l.scrollTop - r.y,
5688
5688
  width: i.width,
@@ -5705,18 +5705,18 @@ function ss(t) {
5705
5705
  // $FlowFixMe[prop-missing]
5706
5706
  t.assignedSlot || // step into the shadow DOM of the parent of a slotted node
5707
5707
  t.parentNode || // DOM Element detected
5708
- (Us(t) ? t.host : null) || // ShadowRoot detected
5708
+ (Ns(t) ? t.host : null) || // ShadowRoot detected
5709
5709
  // $FlowFixMe[incompatible-call]: HTMLElement is a Node
5710
- _t(t)
5710
+ Ct(t)
5711
5711
  );
5712
5712
  }
5713
5713
  function ri(t) {
5714
- return ["html", "body", "#document"].indexOf(ze(t)) >= 0 ? t.ownerDocument.body : Be(t) && Ws(t) ? t : ri(ss(t));
5714
+ return ["html", "body", "#document"].indexOf(ze(t)) >= 0 ? t.ownerDocument.body : Be(t) && Zs(t) ? t : ri(ss(t));
5715
5715
  }
5716
5716
  function ia(t, e) {
5717
5717
  var a;
5718
5718
  e === void 0 && (e = []);
5719
- var s = ri(t), n = s === ((a = t.ownerDocument) == null ? void 0 : a.body), o = Te(s), i = n ? [o].concat(o.visualViewport || [], Ws(s) ? s : []) : s, l = e.concat(i);
5719
+ var s = ri(t), n = s === ((a = t.ownerDocument) == null ? void 0 : a.body), o = Oe(s), i = n ? [o].concat(o.visualViewport || [], Zs(s) ? s : []) : s, l = e.concat(i);
5720
5720
  return n ? l : (
5721
5721
  // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
5722
5722
  l.concat(ia(ss(i)))
@@ -5725,7 +5725,7 @@ function ia(t, e) {
5725
5725
  function y7(t) {
5726
5726
  return ["table", "td", "th"].indexOf(ze(t)) >= 0;
5727
5727
  }
5728
- function wn(t) {
5728
+ function bn(t) {
5729
5729
  return !Be(t) || // https://github.com/popperjs/popper-core/issues/837
5730
5730
  at(t).position === "fixed" ? null : t.offsetParent;
5731
5731
  }
@@ -5737,7 +5737,7 @@ function b7(t) {
5737
5737
  return null;
5738
5738
  }
5739
5739
  var n = ss(t);
5740
- for (Us(n) && (n = n.host); Be(n) && ["html", "body"].indexOf(ze(n)) < 0; ) {
5740
+ for (Ns(n) && (n = n.host); Be(n) && ["html", "body"].indexOf(ze(n)) < 0; ) {
5741
5741
  var o = at(n);
5742
5742
  if (o.transform !== "none" || o.perspective !== "none" || o.contain === "paint" || ["transform", "perspective"].indexOf(o.willChange) !== -1 || e && o.willChange === "filter" || e && o.filter && o.filter !== "none")
5743
5743
  return n;
@@ -5746,13 +5746,13 @@ function b7(t) {
5746
5746
  return null;
5747
5747
  }
5748
5748
  function ns(t) {
5749
- for (var e = Te(t), a = wn(t); a && y7(a) && at(a).position === "static"; )
5750
- a = wn(a);
5749
+ for (var e = Oe(t), a = bn(t); a && y7(a) && at(a).position === "static"; )
5750
+ a = bn(a);
5751
5751
  return a && (ze(a) === "html" || ze(a) === "body" && at(a).position === "static") ? e : a || b7(t) || e;
5752
5752
  }
5753
- var Ne = "top", qe = "bottom", ft = "right", Xe = "left", zs = "auto", is = [Ne, qe, ft, Xe], qt = "start", pa = "end", w7 = "clippingParents", ui = "viewport", na = "popper", $7 = "reference", $n = /* @__PURE__ */ is.reduce(function(t, e) {
5753
+ var Ne = "top", qe = "bottom", ft = "right", Xe = "left", Ws = "auto", is = [Ne, qe, ft, Xe], qt = "start", pa = "end", w7 = "clippingParents", ui = "viewport", na = "popper", $7 = "reference", wn = /* @__PURE__ */ is.reduce(function(t, e) {
5754
5754
  return t.concat([e + "-" + qt, e + "-" + pa]);
5755
- }, []), k7 = /* @__PURE__ */ [].concat(is, [zs]).reduce(function(t, e) {
5755
+ }, []), k7 = /* @__PURE__ */ [].concat(is, [Ws]).reduce(function(t, e) {
5756
5756
  return t.concat([e, e + "-" + qt, e + "-" + pa]);
5757
5757
  }, []), S7 = "beforeRead", A7 = "read", M7 = "afterRead", T7 = "beforeMain", O7 = "main", E7 = "afterMain", I7 = "beforeWrite", L7 = "write", P7 = "afterWrite", H7 = [S7, A7, M7, T7, O7, E7, I7, L7, P7];
5758
5758
  function V7(t) {
@@ -5805,7 +5805,7 @@ function j7(t) {
5805
5805
  });
5806
5806
  }
5807
5807
  function R7(t, e) {
5808
- var a = Te(t), s = _t(t), n = a.visualViewport, o = s.clientWidth, i = s.clientHeight, l = 0, r = 0;
5808
+ var a = Oe(t), s = Ct(t), n = a.visualViewport, o = s.clientWidth, i = s.clientHeight, l = 0, r = 0;
5809
5809
  if (n) {
5810
5810
  o = n.width, i = n.height;
5811
5811
  var c = oi();
@@ -5814,13 +5814,13 @@ function R7(t, e) {
5814
5814
  return {
5815
5815
  width: o,
5816
5816
  height: i,
5817
- x: l + Zs(t),
5817
+ x: l + Fs(t),
5818
5818
  y: r
5819
5819
  };
5820
5820
  }
5821
5821
  function N7(t) {
5822
- var e, a = _t(t), s = Fs(t), n = (e = t.ownerDocument) == null ? void 0 : e.body, o = At(a.scrollWidth, a.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), i = At(a.scrollHeight, a.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), l = -s.scrollLeft + Zs(t), r = -s.scrollTop;
5823
- return at(n || a).direction === "rtl" && (l += At(a.clientWidth, n ? n.clientWidth : 0) - o), {
5822
+ var e, a = Ct(t), s = Us(t), n = (e = t.ownerDocument) == null ? void 0 : e.body, o = St(a.scrollWidth, a.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), i = St(a.scrollHeight, a.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), l = -s.scrollLeft + Fs(t), r = -s.scrollTop;
5823
+ return at(n || a).direction === "rtl" && (l += St(a.clientWidth, n ? n.clientWidth : 0) - o), {
5824
5824
  width: o,
5825
5825
  height: i,
5826
5826
  x: l,
@@ -5831,7 +5831,7 @@ function U7(t, e) {
5831
5831
  var a = e.getRootNode && e.getRootNode();
5832
5832
  if (t.contains(e))
5833
5833
  return !0;
5834
- if (a && Us(a)) {
5834
+ if (a && Ns(a)) {
5835
5835
  var s = e;
5836
5836
  do {
5837
5837
  if (s && t.isSameNode(s))
@@ -5853,20 +5853,20 @@ function F7(t, e) {
5853
5853
  var a = zt(t, !1, e === "fixed");
5854
5854
  return a.top = a.top + t.clientTop, a.left = a.left + t.clientLeft, a.bottom = a.top + t.clientHeight, a.right = a.left + t.clientWidth, a.width = t.clientWidth, a.height = t.clientHeight, a.x = a.left, a.y = a.top, a;
5855
5855
  }
5856
- function kn(t, e, a) {
5857
- return e === ui ? Ss(R7(t, a)) : It(e) ? F7(e, a) : Ss(N7(_t(t)));
5856
+ function $n(t, e, a) {
5857
+ return e === ui ? Ss(R7(t, a)) : Et(e) ? F7(e, a) : Ss(N7(Ct(t)));
5858
5858
  }
5859
5859
  function Z7(t) {
5860
5860
  var e = ia(ss(t)), a = ["absolute", "fixed"].indexOf(at(t).position) >= 0, s = a && Be(t) ? ns(t) : t;
5861
- return It(s) ? e.filter(function(n) {
5862
- return It(n) && U7(n, s) && ze(n) !== "body";
5861
+ return Et(s) ? e.filter(function(n) {
5862
+ return Et(n) && U7(n, s) && ze(n) !== "body";
5863
5863
  }) : [];
5864
5864
  }
5865
5865
  function W7(t, e, a, s) {
5866
5866
  var n = e === "clippingParents" ? Z7(t) : [].concat(e), o = [].concat(n, [a]), i = o[0], l = o.reduce(function(r, c) {
5867
- var u = kn(t, c, s);
5868
- return r.top = At(u.top, r.top), r.right = Za(u.right, r.right), r.bottom = Za(u.bottom, r.bottom), r.left = At(u.left, r.left), r;
5869
- }, kn(t, i, s));
5867
+ var u = $n(t, c, s);
5868
+ return r.top = St(u.top, r.top), r.right = Za(u.right, r.right), r.bottom = Za(u.bottom, r.bottom), r.left = St(u.left, r.left), r;
5869
+ }, $n(t, i, s));
5870
5870
  return l.width = l.right - l.left, l.height = l.bottom - l.top, l.x = l.left, l.y = l.top, l;
5871
5871
  }
5872
5872
  function ct(t) {
@@ -5941,9 +5941,9 @@ function q7(t, e) {
5941
5941
  return a[s] = t, a;
5942
5942
  }, {});
5943
5943
  }
5944
- function qs(t, e) {
5944
+ function zs(t, e) {
5945
5945
  e === void 0 && (e = {});
5946
- var a = e, s = a.placement, n = s === void 0 ? t.placement : s, o = a.strategy, i = o === void 0 ? t.strategy : o, l = a.boundary, r = l === void 0 ? w7 : l, c = a.rootBoundary, u = c === void 0 ? ui : c, f = a.elementContext, p = f === void 0 ? na : f, m = a.altBoundary, $ = m === void 0 ? !1 : m, g = a.padding, v = g === void 0 ? 0 : g, w = z7(typeof v != "number" ? v : q7(v, is)), y = p === na ? $7 : na, _ = t.rects.popper, V = t.elements[$ ? y : p], I = W7(It(V) ? V : V.contextElement || _t(t.elements.popper), r, u, i), L = zt(t.elements.reference), U = di({
5946
+ var a = e, s = a.placement, n = s === void 0 ? t.placement : s, o = a.strategy, i = o === void 0 ? t.strategy : o, l = a.boundary, r = l === void 0 ? w7 : l, c = a.rootBoundary, u = c === void 0 ? ui : c, f = a.elementContext, p = f === void 0 ? na : f, m = a.altBoundary, $ = m === void 0 ? !1 : m, g = a.padding, v = g === void 0 ? 0 : g, w = z7(typeof v != "number" ? v : q7(v, is)), y = p === na ? $7 : na, _ = t.rects.popper, V = t.elements[$ ? y : p], I = W7(Et(V) ? V : V.contextElement || Ct(t.elements.popper), r, u, i), L = zt(t.elements.reference), U = di({
5947
5947
  reference: L,
5948
5948
  element: _,
5949
5949
  strategy: "absolute",
@@ -5963,12 +5963,12 @@ function qs(t, e) {
5963
5963
  }
5964
5964
  return J;
5965
5965
  }
5966
- var Sn = {
5966
+ var kn = {
5967
5967
  placement: "bottom",
5968
5968
  modifiers: [],
5969
5969
  strategy: "absolute"
5970
5970
  };
5971
- function An() {
5971
+ function Sn() {
5972
5972
  for (var t = arguments.length, e = new Array(t), a = 0; a < t; a++)
5973
5973
  e[a] = arguments[a];
5974
5974
  return !e.some(function(s) {
@@ -5977,13 +5977,13 @@ function An() {
5977
5977
  }
5978
5978
  function Y7(t) {
5979
5979
  t === void 0 && (t = {});
5980
- var e = t, a = e.defaultModifiers, s = a === void 0 ? [] : a, n = e.defaultOptions, o = n === void 0 ? Sn : n;
5980
+ var e = t, a = e.defaultModifiers, s = a === void 0 ? [] : a, n = e.defaultOptions, o = n === void 0 ? kn : n;
5981
5981
  return function(l, r, c) {
5982
5982
  c === void 0 && (c = o);
5983
5983
  var u = {
5984
5984
  placement: "bottom",
5985
5985
  orderedModifiers: [],
5986
- options: Object.assign({}, Sn, o),
5986
+ options: Object.assign({}, kn, o),
5987
5987
  modifiersData: {},
5988
5988
  elements: {
5989
5989
  reference: l,
@@ -5996,7 +5996,7 @@ function Y7(t) {
5996
5996
  setOptions: function(w) {
5997
5997
  var y = typeof w == "function" ? w(u.options) : w;
5998
5998
  g(), u.options = Object.assign({}, o, u.options, y), u.scrollParents = {
5999
- reference: It(l) ? ia(l) : l.contextElement ? ia(l.contextElement) : [],
5999
+ reference: Et(l) ? ia(l) : l.contextElement ? ia(l.contextElement) : [],
6000
6000
  popper: ia(r)
6001
6001
  };
6002
6002
  var _ = D7(j7([].concat(s, u.options.modifiers)));
@@ -6012,7 +6012,7 @@ function Y7(t) {
6012
6012
  forceUpdate: function() {
6013
6013
  if (!p) {
6014
6014
  var w = u.elements, y = w.reference, _ = w.popper;
6015
- if (An(y, _)) {
6015
+ if (Sn(y, _)) {
6016
6016
  u.rects = {
6017
6017
  reference: _7(y, ns(_), u.options.strategy === "fixed"),
6018
6018
  popper: li(_)
@@ -6046,7 +6046,7 @@ function Y7(t) {
6046
6046
  g(), p = !0;
6047
6047
  }
6048
6048
  };
6049
- if (!An(l, r))
6049
+ if (!Sn(l, r))
6050
6050
  return m;
6051
6051
  m.setOptions(c).then(function(v) {
6052
6052
  !p && c.onFirstUpdate && c.onFirstUpdate(v);
@@ -6078,7 +6078,7 @@ var Pa = {
6078
6078
  passive: !0
6079
6079
  };
6080
6080
  function x7(t) {
6081
- var e = t.state, a = t.instance, s = t.options, n = s.scroll, o = n === void 0 ? !0 : n, i = s.resize, l = i === void 0 ? !0 : i, r = Te(e.elements.popper), c = [].concat(e.scrollParents.reference, e.scrollParents.popper);
6081
+ var e = t.state, a = t.instance, s = t.options, n = s.scroll, o = n === void 0 ? !0 : n, i = s.resize, l = i === void 0 ? !0 : i, r = Oe(e.elements.popper), c = [].concat(e.scrollParents.reference, e.scrollParents.popper);
6082
6082
  return o && c.forEach(function(u) {
6083
6083
  u.addEventListener("scroll", a.update, Pa);
6084
6084
  }), l && r.addEventListener("resize", a.update, Pa), function() {
@@ -6124,7 +6124,7 @@ function J7(t, e) {
6124
6124
  y: Wt(s * n) / n || 0
6125
6125
  };
6126
6126
  }
6127
- function Mn(t) {
6127
+ function An(t) {
6128
6128
  var e, a = t.popper, s = t.popperRect, n = t.placement, o = t.variation, i = t.offsets, l = t.position, r = t.gpuAcceleration, c = t.adaptive, u = t.roundOffsets, f = t.isFixed, p = i.x, m = p === void 0 ? 0 : p, $ = i.y, g = $ === void 0 ? 0 : $, v = typeof u == "function" ? u({
6129
6129
  x: m,
6130
6130
  y: g
@@ -6136,7 +6136,7 @@ function Mn(t) {
6136
6136
  var w = i.hasOwnProperty("x"), y = i.hasOwnProperty("y"), _ = Xe, V = Ne, I = window;
6137
6137
  if (c) {
6138
6138
  var L = ns(a), U = "clientHeight", z = "clientWidth";
6139
- if (L === Te(a) && (L = _t(a), at(L).position !== "static" && l === "absolute" && (U = "scrollHeight", z = "scrollWidth")), L = L, n === Ne || (n === Xe || n === ft) && o === pa) {
6139
+ if (L === Oe(a) && (L = Ct(a), at(L).position !== "static" && l === "absolute" && (U = "scrollHeight", z = "scrollWidth")), L = L, n === Ne || (n === Xe || n === ft) && o === pa) {
6140
6140
  V = qe;
6141
6141
  var K = f && L === I && I.visualViewport ? I.visualViewport.height : (
6142
6142
  // $FlowFixMe[prop-missing]
@@ -6158,7 +6158,7 @@ function Mn(t) {
6158
6158
  }, c && Q7), j = u === !0 ? J7({
6159
6159
  x: m,
6160
6160
  y: g
6161
- }, Te(a)) : {
6161
+ }, Oe(a)) : {
6162
6162
  x: m,
6163
6163
  y: g
6164
6164
  };
@@ -6177,12 +6177,12 @@ function ep(t) {
6177
6177
  gpuAcceleration: n,
6178
6178
  isFixed: e.options.strategy === "fixed"
6179
6179
  };
6180
- e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, Mn(Object.assign({}, c, {
6180
+ e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, An(Object.assign({}, c, {
6181
6181
  offsets: e.modifiersData.popperOffsets,
6182
6182
  position: e.options.strategy,
6183
6183
  adaptive: i,
6184
6184
  roundOffsets: r
6185
- })))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, Mn(Object.assign({}, c, {
6185
+ })))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, An(Object.assign({}, c, {
6186
6186
  offsets: e.modifiersData.arrow,
6187
6187
  position: "absolute",
6188
6188
  adaptive: !1,
@@ -6246,14 +6246,14 @@ function lp(t) {
6246
6246
  return t === "x" ? "y" : "x";
6247
6247
  }
6248
6248
  function Ha(t, e, a) {
6249
- return At(t, Za(e, a));
6249
+ return St(t, Za(e, a));
6250
6250
  }
6251
6251
  function rp(t, e, a) {
6252
6252
  var s = Ha(t, e, a);
6253
6253
  return s > a ? a : s;
6254
6254
  }
6255
6255
  function up(t) {
6256
- var e = t.state, a = t.options, s = t.name, n = a.mainAxis, o = n === void 0 ? !0 : n, i = a.altAxis, l = i === void 0 ? !1 : i, r = a.boundary, c = a.rootBoundary, u = a.altBoundary, f = a.padding, p = a.tether, m = p === void 0 ? !0 : p, $ = a.tetherOffset, g = $ === void 0 ? 0 : $, v = qs(e, {
6256
+ var e = t.state, a = t.options, s = t.name, n = a.mainAxis, o = n === void 0 ? !0 : n, i = a.altAxis, l = i === void 0 ? !1 : i, r = a.boundary, c = a.rootBoundary, u = a.altBoundary, f = a.padding, p = a.tether, m = p === void 0 ? !0 : p, $ = a.tetherOffset, g = $ === void 0 ? 0 : $, v = zs(e, {
6257
6257
  boundary: r,
6258
6258
  rootBoundary: c,
6259
6259
  padding: f,
@@ -6275,11 +6275,11 @@ function up(t) {
6275
6275
  var G, le = V === "y" ? Ne : Xe, se = V === "y" ? qe : ft, ee = V === "y" ? "height" : "width", E = L[V], T = E + v[le], k = E - v[se], R = m ? -z[ee] / 2 : 0, b = y === qt ? U[ee] : z[ee], H = y === qt ? -z[ee] : -U[ee], oe = e.elements.arrow, ne = m && oe ? li(oe) : {
6276
6276
  width: 0,
6277
6277
  height: 0
6278
- }, Z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : pi(), P = Z[le], x = Z[se], he = Ha(0, U[ee], ne[ee]), ke = _ ? U[ee] / 2 - R - he - P - J.mainAxis : b - he - P - J.mainAxis, Kt = _ ? -U[ee] / 2 + R + he + x + J.mainAxis : H + he + x + J.mainAxis, Gt = e.elements.arrow && ns(e.elements.arrow), nt = Gt ? V === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, wa = (G = ae == null ? void 0 : ae[V]) != null ? G : 0, rs = E + ke - wa - nt, it = E + Kt - wa, $a = Ha(m ? Za(T, rs) : T, E, m ? At(k, it) : k);
6278
+ }, Z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : pi(), P = Z[le], x = Z[se], he = Ha(0, U[ee], ne[ee]), ke = _ ? U[ee] / 2 - R - he - P - J.mainAxis : b - he - P - J.mainAxis, Kt = _ ? -U[ee] / 2 + R + he + x + J.mainAxis : H + he + x + J.mainAxis, Gt = e.elements.arrow && ns(e.elements.arrow), nt = Gt ? V === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, wa = (G = ae == null ? void 0 : ae[V]) != null ? G : 0, rs = E + ke - wa - nt, it = E + Kt - wa, $a = Ha(m ? Za(T, rs) : T, E, m ? St(k, it) : k);
6279
6279
  L[V] = $a, j[V] = $a - E;
6280
6280
  }
6281
6281
  if (l) {
6282
- var ot, Ue = V === "x" ? Ne : Xe, Ee = V === "x" ? qe : ft, Re = L[I], Ye = I === "y" ? "height" : "width", Xt = Re + v[Ue], ka = Re - v[Ee], Ie = [Ne, Xe].indexOf(w) !== -1, Qt = (ot = ae == null ? void 0 : ae[I]) != null ? ot : 0, lt = Ie ? Xt : Re - U[Ye] - z[Ye] - Qt + J.altAxis, bt = Ie ? Re + U[Ye] + z[Ye] - Qt - J.altAxis : ka, Sa = m && Ie ? rp(lt, Re, bt) : Ha(m ? lt : Xt, Re, m ? bt : ka);
6282
+ var ot, Ue = V === "x" ? Ne : Xe, Ie = V === "x" ? qe : ft, Re = L[I], Ye = I === "y" ? "height" : "width", Xt = Re + v[Ue], ka = Re - v[Ie], Le = [Ne, Xe].indexOf(w) !== -1, Qt = (ot = ae == null ? void 0 : ae[I]) != null ? ot : 0, lt = Le ? Xt : Re - U[Ye] - z[Ye] - Qt + J.altAxis, yt = Le ? Re + U[Ye] + z[Ye] - Qt - J.altAxis : ka, Sa = m && Le ? rp(lt, Re, yt) : Ha(m ? lt : Xt, Re, m ? yt : ka);
6283
6283
  L[I] = Sa, j[I] = Sa - Re;
6284
6284
  }
6285
6285
  e.modifiersData[s] = j;
@@ -6306,21 +6306,21 @@ var pp = {
6306
6306
  start: "end",
6307
6307
  end: "start"
6308
6308
  };
6309
- function Tn(t) {
6309
+ function Mn(t) {
6310
6310
  return t.replace(/start|end/g, function(e) {
6311
6311
  return pp[e];
6312
6312
  });
6313
6313
  }
6314
6314
  function vp(t, e) {
6315
6315
  e === void 0 && (e = {});
6316
- var a = e, s = a.placement, n = a.boundary, o = a.rootBoundary, i = a.padding, l = a.flipVariations, r = a.allowedAutoPlacements, c = r === void 0 ? k7 : r, u = Yt(s), f = u ? l ? $n : $n.filter(function($) {
6316
+ var a = e, s = a.placement, n = a.boundary, o = a.rootBoundary, i = a.padding, l = a.flipVariations, r = a.allowedAutoPlacements, c = r === void 0 ? k7 : r, u = Yt(s), f = u ? l ? wn : wn.filter(function($) {
6317
6317
  return Yt($) === u;
6318
6318
  }) : is, p = f.filter(function($) {
6319
6319
  return c.indexOf($) >= 0;
6320
6320
  });
6321
6321
  p.length === 0 && (p = f);
6322
6322
  var m = p.reduce(function($, g) {
6323
- return $[g] = qs(t, {
6323
+ return $[g] = zs(t, {
6324
6324
  placement: g,
6325
6325
  boundary: n,
6326
6326
  rootBoundary: o,
@@ -6332,16 +6332,16 @@ function vp(t, e) {
6332
6332
  });
6333
6333
  }
6334
6334
  function fp(t) {
6335
- if (ct(t) === zs)
6335
+ if (ct(t) === Ws)
6336
6336
  return [];
6337
6337
  var e = Va(t);
6338
- return [Tn(t), e, Tn(e)];
6338
+ return [Mn(t), e, Mn(e)];
6339
6339
  }
6340
6340
  function hp(t) {
6341
6341
  var e = t.state, a = t.options, s = t.name;
6342
6342
  if (!e.modifiersData[s]._skip) {
6343
6343
  for (var n = a.mainAxis, o = n === void 0 ? !0 : n, i = a.altAxis, l = i === void 0 ? !0 : i, r = a.fallbackPlacements, c = a.padding, u = a.boundary, f = a.rootBoundary, p = a.altBoundary, m = a.flipVariations, $ = m === void 0 ? !0 : m, g = a.allowedAutoPlacements, v = e.options.placement, w = ct(v), y = w === v, _ = r || (y || !$ ? [Va(v)] : fp(v)), V = [v].concat(_).reduce(function(ne, Z) {
6344
- return ne.concat(ct(Z) === zs ? vp(e, {
6344
+ return ne.concat(ct(Z) === Ws ? vp(e, {
6345
6345
  placement: Z,
6346
6346
  boundary: u,
6347
6347
  rootBoundary: f,
@@ -6350,7 +6350,7 @@ function hp(t) {
6350
6350
  allowedAutoPlacements: g
6351
6351
  }) : Z);
6352
6352
  }, []), I = e.rects.reference, L = e.rects.popper, U = /* @__PURE__ */ new Map(), z = !0, K = V[0], J = 0; J < V.length; J++) {
6353
- var ae = V[J], j = ct(ae), G = Yt(ae) === qt, le = [Ne, qe].indexOf(j) >= 0, se = le ? "width" : "height", ee = qs(e, {
6353
+ var ae = V[J], j = ct(ae), G = Yt(ae) === qt, le = [Ne, qe].indexOf(j) >= 0, se = le ? "width" : "height", ee = zs(e, {
6354
6354
  placement: ae,
6355
6355
  boundary: u,
6356
6356
  rootBoundary: f,
@@ -6397,8 +6397,8 @@ var mp = {
6397
6397
  }
6398
6398
  };
6399
6399
  function gp(t, e, a) {
6400
- const { disabled: s, appendTo: n, appendToBody: o, openDirection: i } = Oe(t), l = Lt().proxy, r = a.multiselect, c = a.dropdown, u = Y(!1), f = Y(null), p = Y(null), m = M(() => n.value || o.value), $ = M(() => i.value === "top" && p.value === "bottom" || i.value === "bottom" && p.value !== "top" ? "bottom" : "top"), g = () => {
6401
- u.value || s.value || (u.value = !0, e.emit("open", l), m.value && Ve(() => {
6400
+ const { disabled: s, appendTo: n, appendToBody: o, openDirection: i } = Ee(t), l = Lt().proxy, r = a.multiselect, c = a.dropdown, u = Y(!1), f = Y(null), p = Y(null), m = M(() => n.value || o.value), $ = M(() => i.value === "top" && p.value === "bottom" || i.value === "bottom" && p.value !== "top" ? "bottom" : "top"), g = () => {
6401
+ u.value || s.value || (u.value = !0, e.emit("open", l), m.value && Me(() => {
6402
6402
  w();
6403
6403
  }));
6404
6404
  }, v = () => {
@@ -6427,7 +6427,7 @@ function gp(t, e, a) {
6427
6427
  }
6428
6428
  return !1;
6429
6429
  };
6430
- return mt(() => {
6430
+ return It(() => {
6431
6431
  m.value && (f.value = op(r.value, c.value, {
6432
6432
  strategy: y(r.value) ? (
6433
6433
  /* istanbul ignore next: UI feature */
@@ -6459,7 +6459,7 @@ function gp(t, e, a) {
6459
6459
  }
6460
6460
  ]
6461
6461
  }));
6462
- }), Ts(() => {
6462
+ }), In(() => {
6463
6463
  !m.value || !f.value || (f.value.destroy(), f.value = null);
6464
6464
  }), {
6465
6465
  popper: f,
@@ -6471,7 +6471,7 @@ function gp(t, e, a) {
6471
6471
  };
6472
6472
  }
6473
6473
  function Cp(t, e, a) {
6474
- const { searchable: s, disabled: n, clearOnBlur: o } = Oe(t), i = a.input, l = a.open, r = a.close, c = a.clearSearch, u = a.isOpen, f = a.wrapper, p = a.tags, m = Y(!1), $ = Y(!1), g = M(() => s.value || n.value ? -1 : 0), v = () => {
6474
+ const { searchable: s, disabled: n, clearOnBlur: o } = Ee(t), i = a.input, l = a.open, r = a.close, c = a.clearSearch, u = a.isOpen, f = a.wrapper, p = a.tags, m = Y(!1), $ = Y(!1), g = M(() => s.value || n.value ? -1 : 0), v = () => {
6475
6475
  s.value && i.value.blur(), f.value.blur();
6476
6476
  }, w = () => {
6477
6477
  s.value && !n.value && i.value.focus();
@@ -6521,7 +6521,7 @@ function _p(t, e, a) {
6521
6521
  createTag: f,
6522
6522
  createOption: p,
6523
6523
  reverse: m
6524
- } = Oe(t), $ = Lt().proxy, g = a.iv, v = a.update, w = a.deselect, y = a.search, _ = a.setPointer, V = a.selectPointer, I = a.backwardPointer, L = a.forwardPointer, U = a.multiselect, z = a.wrapper, K = a.tags, J = a.isOpen, ae = a.open, j = a.blur, G = a.fo, le = M(() => f.value || p.value || !1), se = M(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), ee = () => {
6524
+ } = Ee(t), $ = Lt().proxy, g = a.iv, v = a.update, w = a.deselect, y = a.search, _ = a.setPointer, V = a.selectPointer, I = a.backwardPointer, L = a.forwardPointer, U = a.multiselect, z = a.wrapper, K = a.tags, J = a.isOpen, ae = a.open, j = a.blur, G = a.fo, le = M(() => f.value || p.value || !1), se = M(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), ee = () => {
6525
6525
  s.value === "tags" && !l.value && le.value && i.value && !c.value && _(G.value[G.value.map((k) => k[r.value]).indexOf(y.value)]);
6526
6526
  };
6527
6527
  return {
@@ -6601,7 +6601,7 @@ function yp(t, e, a) {
6601
6601
  disabled: n,
6602
6602
  showOptions: o,
6603
6603
  breakTags: i
6604
- } = Oe(t), l = a.isOpen, r = a.isPointed, c = a.isSelected, u = a.isDisabled, f = a.isActive, p = a.canPointGroups, m = a.resolving, $ = a.fo, g = a.placement, v = M(() => ({
6604
+ } = Ee(t), l = a.isOpen, r = a.isPointed, c = a.isSelected, u = a.isDisabled, f = a.isActive, p = a.canPointGroups, m = a.resolving, $ = a.fo, g = a.placement, v = M(() => ({
6605
6605
  container: "multiselect",
6606
6606
  containerDisabled: "is-disabled",
6607
6607
  containerOpen: "is-open",
@@ -6709,11 +6709,11 @@ function bp(t, e, a) {
6709
6709
  const {
6710
6710
  limit: s,
6711
6711
  infinite: n
6712
- } = Oe(t), o = a.isOpen, i = a.offset, l = a.search, r = a.pfo, c = a.eo, u = Y(null), f = Y(null), p = M(() => i.value < r.value.length), m = (g) => {
6712
+ } = Ee(t), o = a.isOpen, i = a.offset, l = a.search, r = a.pfo, c = a.eo, u = Y(null), f = Y(null), p = M(() => i.value < r.value.length), m = (g) => {
6713
6713
  const { isIntersecting: v, target: w } = g[0];
6714
6714
  if (v) {
6715
6715
  const y = w.offsetParent, _ = y.scrollTop;
6716
- i.value += s.value == -1 ? 10 : s.value, Ve(() => {
6716
+ i.value += s.value == -1 ? 10 : s.value, Me(() => {
6717
6717
  y.scrollTop = _;
6718
6718
  });
6719
6719
  }
@@ -6726,7 +6726,7 @@ function bp(t, e, a) {
6726
6726
  n.value && (i.value = s.value, $());
6727
6727
  }, { flush: "post" }), ce(c, () => {
6728
6728
  n.value && $();
6729
- }, { immediate: !1, flush: "post" }), mt(() => {
6729
+ }, { immediate: !1, flush: "post" }), It(() => {
6730
6730
  window && window.IntersectionObserver && (u.value = new IntersectionObserver(m));
6731
6731
  }), {
6732
6732
  hasMore: p,
@@ -6743,7 +6743,7 @@ function wp(t, e, a) {
6743
6743
  groupLabel: r,
6744
6744
  aria: c,
6745
6745
  searchable: u
6746
- } = Oe(t), f = a.pointer, p = a.iv, m = a.hasSelected, $ = a.multipleLabelText, g = Y(null), v = M(() => {
6746
+ } = Ee(t), f = a.pointer, p = a.iv, m = a.hasSelected, $ = a.multipleLabelText, g = Y(null), v = M(() => {
6747
6747
  let j = [];
6748
6748
  return n && n.value && j.push(n.value), j.push("assist"), j.join("-");
6749
6749
  }), w = M(() => {
@@ -6772,7 +6772,7 @@ function wp(t, e, a) {
6772
6772
  let G = [];
6773
6773
  return G.push(j), G.join(" ");
6774
6774
  }, ae = (j) => `${j} ❎`;
6775
- return mt(() => {
6775
+ return It(() => {
6776
6776
  if (n && n.value && document && document.querySelector) {
6777
6777
  let j = document.querySelector(`[for="${n.value}"]`);
6778
6778
  g.value = j ? j.innerText : null;
@@ -6796,7 +6796,7 @@ function $p(t, e, a) {
6796
6796
  const {
6797
6797
  locale: s,
6798
6798
  fallbackLocale: n
6799
- } = Oe(t);
6799
+ } = Ee(t);
6800
6800
  return {
6801
6801
  localize: (i) => !i || typeof i != "object" ? i : i && i[s.value] ? i[s.value] : i && s.value && i[s.value.toUpperCase()] ? i[s.value.toUpperCase()] : i && i[n.value] ? i[n.value] : i && n.value && i[n.value.toUpperCase()] ? i[n.value.toUpperCase()] : i && Object.keys(i)[0] ? i[Object.keys(i)[0]] : ""
6802
6802
  };
@@ -7464,7 +7464,7 @@ function Yp(t, e, a, s, n, o) {
7464
7464
  ]) : O("v-if", !0)
7465
7465
  ], 16, Mp),
7466
7466
  O(" Options "),
7467
- (d(), D(Ot, {
7467
+ (d(), D(Tt, {
7468
7468
  to: a.appendTo || "body",
7469
7469
  disabled: !a.appendToBody && !a.appendTo
7470
7470
  }, [
@@ -7702,8 +7702,8 @@ const Se = /* @__PURE__ */ q({
7702
7702
  ]), 1536));
7703
7703
  }
7704
7704
  });
7705
- var On;
7706
- function yt() {
7705
+ var Tn;
7706
+ function _t() {
7707
7707
  const t = xp(), e = t.appContext.config.globalProperties;
7708
7708
  return {
7709
7709
  i18next: e.$i18next,
@@ -7727,10 +7727,10 @@ q({
7727
7727
  return () => {
7728
7728
  const a = t.translation, s = [];
7729
7729
  let n, o = 0;
7730
- for (; (n = On.exec(a)) !== null; ) {
7730
+ for (; (n = Tn.exec(a)) !== null; ) {
7731
7731
  s.push(a.substring(o, n.index));
7732
7732
  const i = e[n[1]];
7733
- i ? s.push(...i()) : s.push(n[0]), o = On.lastIndex;
7733
+ i ? s.push(...i()) : s.push(n[0]), o = Tn.lastIndex;
7734
7734
  }
7735
7735
  return s.push(a.substring(o)), s;
7736
7736
  };
@@ -7744,9 +7744,9 @@ async function Qe(t, e) {
7744
7744
  if (s.length !== 1)
7745
7745
  return;
7746
7746
  const n = s[0].id;
7747
- await Ve();
7747
+ await Me();
7748
7748
  const o = document.getElementById(n);
7749
- o == null || o.focus(), await Ve();
7749
+ o == null || o.focus(), await Me();
7750
7750
  const i = document.getElementById(
7751
7751
  n
7752
7752
  );
@@ -7765,7 +7765,7 @@ const Kp = { class: "ao-tasks" }, Gp = { class: "ao-tasks__list" }, Xp = ["id",
7765
7765
  },
7766
7766
  emits: ["add", "delete", "update"],
7767
7767
  setup(t, { emit: e }) {
7768
- const a = t, { t: s } = yt();
7768
+ const a = t, { t: s } = _t();
7769
7769
  ce(() => a.tasks, (f, p) => {
7770
7770
  Qe(f, p);
7771
7771
  });
@@ -7899,11 +7899,11 @@ const ev = ["onDrop", "onDragenter", "onDragover", "onDragleave"], tv = { class:
7899
7899
  const f = u.target, p = Array.from(f.files ?? []);
7900
7900
  e("add", p);
7901
7901
  }, o = ["dragenter", "dragover", "dragleave", "drop"];
7902
- mt(() => {
7902
+ It(() => {
7903
7903
  o.forEach((u) => {
7904
7904
  document.body.addEventListener(u, (f) => f.preventDefault());
7905
7905
  });
7906
- }), Os(() => {
7906
+ }), Ts(() => {
7907
7907
  o.forEach((u) => {
7908
7908
  document.body.removeEventListener(
7909
7909
  u,
@@ -8025,7 +8025,7 @@ const pv = { class: "ao-comment" }, vv = { class: "ao-comment__created-at" }, fv
8025
8025
  e("remove");
8026
8026
  }, $ = Y(2);
8027
8027
  return Ri(() => {
8028
- Ve(() => {
8028
+ Me(() => {
8029
8029
  var g;
8030
8030
  if (!o.value) {
8031
8031
  const v = (g = n.value) == null ? void 0 : g.getClientRects().length;
@@ -8116,7 +8116,7 @@ const Cv = { class: "ao-comments__header" }, _v = ["onSubmit"], yv = ["placehold
8116
8116
  const a = t, s = M(() => (a.comments || []).toSorted(
8117
8117
  (p, m) => e0(ua(p.createdAt), ua(m.createdAt))
8118
8118
  )), n = (f) => a.users.find((m) => m.id === f), o = Y();
8119
- Ve(() => {
8119
+ Me(() => {
8120
8120
  o.value && (o.value.scrollTop = o.value.scrollHeight);
8121
8121
  });
8122
8122
  const i = Rt(a.newComment), l = M({
@@ -8203,7 +8203,7 @@ const As = /* @__PURE__ */ q({
8203
8203
  e("update:modelValue", !a.modelValue);
8204
8204
  };
8205
8205
  return (n, o) => (d(), D(re, {
8206
- color: n.modelValue ? n.color : Q(Ls).NEUTRAL,
8206
+ color: n.modelValue ? n.color : Q(Is).NEUTRAL,
8207
8207
  "icon-position": "start",
8208
8208
  onClick: o[0] || (o[0] = () => s())
8209
8209
  }, null, 8, ["color"]));
@@ -8235,7 +8235,7 @@ const As = /* @__PURE__ */ q({
8235
8235
  }, ff = { class: "ao-fieldset ao-activity-details__aside-section" }, hf = { class: "ao-fieldset__title" }, mf = { class: "ao-fieldset__body" }, gf = { class: "ao-field__row" }, Cf = { class: "ao-field ao-field--multiselect" }, _f = { class: "ao-field__label" }, yf = { class: "ao-field__row" }, bf = { class: "ao-field ao-field--multiselect" }, wf = { class: "ao-field__label" }, $f = {
8236
8236
  key: 2,
8237
8237
  class: "ao-activity-details__aside-section ao-activity-details__aside-section--created-by"
8238
- }, kf = { class: "ao-activity__created-by" }, Ys = /* @__PURE__ */ q({
8238
+ }, kf = { class: "ao-activity__created-by" }, qs = /* @__PURE__ */ q({
8239
8239
  __name: "AoActivityDetails",
8240
8240
  props: {
8241
8241
  activity: {},
@@ -8948,7 +8948,7 @@ const Af = { class: "ao-template-rules__body" }, Mf = { class: "ao-template-rule
8948
8948
  onClose: () => s(i.id)
8949
8949
  }, null, 8, ["rule", "template-phases", "template-milestones", "template-activities", "onClose"]))), 128))
8950
8950
  ]),
8951
- A(Ct, {
8951
+ A(gt, {
8952
8952
  label: n.$t("template.rules.add"),
8953
8953
  "icon-name": "Add",
8954
8954
  onClick: a
@@ -8959,7 +8959,7 @@ const Af = { class: "ao-template-rules__body" }, Mf = { class: "ao-template-rule
8959
8959
  }));
8960
8960
  }
8961
8961
  });
8962
- function Mt(t, e, a) {
8962
+ function At(t, e, a) {
8963
8963
  const s = t.length, n = t.at(-1), o = n ? we.LexoRank.parse(n.rank).genNext() : we.LexoRank.middle();
8964
8964
  return {
8965
8965
  name: a(`template.defaultName.${e}`, { idx: s + 1 }),
@@ -8982,7 +8982,7 @@ const Of = {
8982
8982
  },
8983
8983
  emits: ["addItem", "removeItem", "updateItem", "addRule", "removeRule", "addFiles", "removeFile"],
8984
8984
  setup(t, { emit: e }) {
8985
- const a = t, { t: s } = yt(), n = M(
8985
+ const a = t, { t: s } = _t(), n = M(
8986
8986
  () => {
8987
8987
  var E;
8988
8988
  return (E = a.templates) == null ? void 0 : E.find((T) => T.id === a.templateId);
@@ -9054,7 +9054,7 @@ const Of = {
9054
9054
  }), p = () => {
9055
9055
  if (!n.value)
9056
9056
  return;
9057
- const { name: E, rank: T } = Mt(
9057
+ const { name: E, rank: T } = At(
9058
9058
  n.value.phases,
9059
9059
  "phase",
9060
9060
  s
@@ -9094,7 +9094,7 @@ const Of = {
9094
9094
  }, w = (E) => {
9095
9095
  if (!i.value)
9096
9096
  return;
9097
- const { name: T, rank: k } = Mt(
9097
+ const { name: T, rank: k } = At(
9098
9098
  i.value.milestones,
9099
9099
  "milestone",
9100
9100
  s
@@ -9130,7 +9130,7 @@ const Of = {
9130
9130
  const { milestoneId: T } = E;
9131
9131
  if (!l.value)
9132
9132
  return;
9133
- const { name: k, rank: R } = Mt(
9133
+ const { name: k, rank: R } = At(
9134
9134
  l.value.activities,
9135
9135
  "activity",
9136
9136
  s
@@ -9231,7 +9231,7 @@ const Of = {
9231
9231
  h("div", Ef, [
9232
9232
  h("ol", If, [
9233
9233
  h("li", Lf, [
9234
- A(Q(gt), {
9234
+ A(Q(mt), {
9235
9235
  "model-value": n.value.phases,
9236
9236
  class: "ao-templates__list",
9237
9237
  "item-key": "id",
@@ -9266,7 +9266,7 @@ const Of = {
9266
9266
  }),
9267
9267
  footer: F(() => [
9268
9268
  h("div", Pf, [
9269
- A(Ct, {
9269
+ A(gt, {
9270
9270
  "icon-name": "AddBoxOutlineRounded",
9271
9271
  label: E.$t("template.phases.add"),
9272
9272
  onClick: p
@@ -9302,8 +9302,8 @@ const Of = {
9302
9302
  ])
9303
9303
  ])
9304
9304
  ]),
9305
- (d(), D(Ot, { to: "body" }, [
9306
- u.value ? (d(), D(Ys, {
9305
+ (d(), D(Tt, { to: "body" }, [
9306
+ u.value ? (d(), D(qs, {
9307
9307
  key: 0,
9308
9308
  activity: u.value,
9309
9309
  "activity-types": E.activityTypes,
@@ -9331,7 +9331,7 @@ const Of = {
9331
9331
  _: 3
9332
9332
  }, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : O("", !0)
9333
9333
  ])),
9334
- (d(), D(Ot, { to: "body" }, [
9334
+ (d(), D(Tt, { to: "body" }, [
9335
9335
  U.value ? (d(), D(Tf, {
9336
9336
  key: 0,
9337
9337
  "template-id": n.value.id,
@@ -9585,7 +9585,7 @@ const Xf = { class: "ao-card-project-milestone__default" }, Qf = { class: "ao-ti
9585
9585
  }), o = M(() => {
9586
9586
  var r;
9587
9587
  return (r = a.activities) == null ? void 0 : r.filter(
9588
- (c) => Hs(c, a.closedStatus)
9588
+ (c) => Ps(c, a.closedStatus)
9589
9589
  ).length;
9590
9590
  }), i = M(() => (o.value || 0) / (n.value || 1)), l = (r) => {
9591
9591
  e("updateMilestone", { id: a.id, name: r });
@@ -9686,13 +9686,13 @@ const Xf = { class: "ao-card-project-milestone__default" }, Qf = { class: "ao-ti
9686
9686
  * (c) 2023
9687
9687
  * @license MIT
9688
9688
  */
9689
- function kt(t) {
9689
+ function $t(t) {
9690
9690
  let e = { r: 0, g: 0, b: 0, a: 1 };
9691
- /#/.test(t) ? e = vh(t) : /rgb/.test(t) ? e = En(t) : typeof t == "string" ? e = En(`rgba(${t})`) : Object.prototype.toString.call(t) === "[object Object]" && (e = t);
9691
+ /#/.test(t) ? e = vh(t) : /rgb/.test(t) ? e = On(t) : typeof t == "string" ? e = On(`rgba(${t})`) : Object.prototype.toString.call(t) === "[object Object]" && (e = t);
9692
9692
  const { r: a, g: s, b: n, a: o } = e, { h: i, s: l, v: r } = fh(e);
9693
9693
  return { r: a, g: s, b: n, a: o === void 0 ? 1 : o, h: i, s: l, v: r };
9694
9694
  }
9695
- function xs(t) {
9695
+ function Ys(t) {
9696
9696
  const e = document.createElement("canvas"), a = e.getContext("2d"), s = t * 2;
9697
9697
  return e.width = s, e.height = s, a.fillStyle = "#ffffff", a.fillRect(0, 0, s, s), a.fillStyle = "#ccd5db", a.fillRect(0, 0, t, t), a.fillRect(t, t, t, t), e;
9698
9698
  }
@@ -9713,7 +9713,7 @@ function vh(t) {
9713
9713
  b: e(t.slice(4, 6))
9714
9714
  };
9715
9715
  }
9716
- function En(t) {
9716
+ function On(t) {
9717
9717
  return typeof t == "string" ? (t = (/rgba?\((.*?)\)/.exec(t) || ["", "0,0,0,1"])[1].split(","), {
9718
9718
  r: Number(t[0]) || 0,
9719
9719
  g: Number(t[1]) || 0,
@@ -9729,7 +9729,7 @@ function fh({ r: t, g: e, b: a }) {
9729
9729
  let l = parseFloat((s === 0 ? 0 : 1 - n / s).toFixed(2)), r = parseFloat(s.toFixed(2));
9730
9730
  return { h: i, s: l, v: r };
9731
9731
  }
9732
- var Ks = q({
9732
+ var xs = q({
9733
9733
  props: {
9734
9734
  color: {
9735
9735
  type: String,
@@ -9819,9 +9819,9 @@ function mh(t, e, a, s, n, o) {
9819
9819
  /* HYDRATE_EVENTS */
9820
9820
  );
9821
9821
  }
9822
- Ks.render = mh;
9823
- Ks.__file = "src/color/Saturation.vue";
9824
- var Gs = q({
9822
+ xs.render = mh;
9823
+ xs.__file = "src/color/Saturation.vue";
9824
+ var Ks = q({
9825
9825
  props: {
9826
9826
  hsv: {
9827
9827
  type: Object,
@@ -9905,9 +9905,9 @@ function Ch(t, e, a, s, n, o) {
9905
9905
  /* HYDRATE_EVENTS */
9906
9906
  );
9907
9907
  }
9908
- Gs.render = Ch;
9909
- Gs.__file = "src/color/Hue.vue";
9910
- var Xs = q({
9908
+ Ks.render = Ch;
9909
+ Ks.__file = "src/color/Hue.vue";
9910
+ var Gs = q({
9911
9911
  props: {
9912
9912
  color: {
9913
9913
  type: String,
@@ -9946,7 +9946,7 @@ var Xs = q({
9946
9946
  },
9947
9947
  methods: {
9948
9948
  renderColor() {
9949
- const t = this.$refs.canvasAlpha, e = this.width, a = this.height, s = this.alphaSize, n = xs(s), o = t.getContext("2d");
9949
+ const t = this.$refs.canvasAlpha, e = this.width, a = this.height, s = this.alphaSize, n = Ys(s), o = t.getContext("2d");
9950
9950
  t.width = e, t.height = a, o.fillStyle = o.createPattern(n, "repeat"), o.fillRect(0, 0, e, a), Ms("p", o, e, a, "rgba(255,255,255,0)", this.color);
9951
9951
  },
9952
9952
  renderSlide() {
@@ -10000,9 +10000,9 @@ function yh(t, e, a, s, n, o) {
10000
10000
  /* HYDRATE_EVENTS */
10001
10001
  );
10002
10002
  }
10003
- Xs.render = yh;
10004
- Xs.__file = "src/color/Alpha.vue";
10005
- var Qs = q({
10003
+ Gs.render = yh;
10004
+ Gs.__file = "src/color/Alpha.vue";
10005
+ var Xs = q({
10006
10006
  props: {
10007
10007
  color: {
10008
10008
  type: String,
@@ -10032,7 +10032,7 @@ var Qs = q({
10032
10032
  },
10033
10033
  methods: {
10034
10034
  renderColor() {
10035
- const t = this.$el, e = this.width, a = this.height, s = this.alphaSize, n = xs(s), o = t.getContext("2d");
10035
+ const t = this.$el, e = this.width, a = this.height, s = this.alphaSize, n = Ys(s), o = t.getContext("2d");
10036
10036
  t.width = e, t.height = a, o.fillStyle = o.createPattern(n, "repeat"), o.fillRect(0, 0, e, a), o.fillStyle = this.color, o.fillRect(0, 0, e, a);
10037
10037
  }
10038
10038
  }
@@ -10040,9 +10040,9 @@ var Qs = q({
10040
10040
  function bh(t, e, a, s, n, o) {
10041
10041
  return d(), D("canvas");
10042
10042
  }
10043
- Qs.render = bh;
10044
- Qs.__file = "src/color/Preview.vue";
10045
- var Js = q({
10043
+ Xs.render = bh;
10044
+ Xs.__file = "src/color/Preview.vue";
10045
+ var Qs = q({
10046
10046
  props: {
10047
10047
  suckerCanvas: {
10048
10048
  type: Object,
@@ -10169,9 +10169,9 @@ function Sh(t, e, a, s, n, o) {
10169
10169
  ])) : O("v-if", !0)
10170
10170
  ]);
10171
10171
  }
10172
- Js.render = Sh;
10173
- Js.__file = "src/color/Sucker.vue";
10174
- var en = q({
10172
+ Qs.render = Sh;
10173
+ Qs.__file = "src/color/Sucker.vue";
10174
+ var Js = q({
10175
10175
  props: {
10176
10176
  name: {
10177
10177
  type: String,
@@ -10228,9 +10228,9 @@ function Th(t, e, a, s, n, o) {
10228
10228
  ])
10229
10229
  ]);
10230
10230
  }
10231
- en.render = Th;
10232
- en.__file = "src/color/Box.vue";
10233
- var tn = q({
10231
+ Js.render = Th;
10232
+ Js.__file = "src/color/Box.vue";
10233
+ var en = q({
10234
10234
  name: "ColorPicker",
10235
10235
  props: {
10236
10236
  color: {
@@ -10249,7 +10249,7 @@ var tn = q({
10249
10249
  emits: ["selectColor"],
10250
10250
  setup(t, { emit: e }) {
10251
10251
  const a = Y(), s = Y([]), n = Y();
10252
- t.colorsHistoryKey && localStorage && (s.value = JSON.parse(localStorage.getItem(t.colorsHistoryKey)) || []), n.value = xs(4).toDataURL(), Os(() => {
10252
+ t.colorsHistoryKey && localStorage && (s.value = JSON.parse(localStorage.getItem(t.colorsHistoryKey)) || []), n.value = Ys(4).toDataURL(), Ts(() => {
10253
10253
  o(a.value);
10254
10254
  });
10255
10255
  function o(l) {
@@ -10346,17 +10346,17 @@ function Ih(t, e, a, s, n, o) {
10346
10346
  ])) : O("v-if", !0)
10347
10347
  ]);
10348
10348
  }
10349
- tn.render = Ih;
10350
- tn.__file = "src/color/Colors.vue";
10351
- var Tt = q({
10349
+ en.render = Ih;
10350
+ en.__file = "src/color/Colors.vue";
10351
+ var Mt = q({
10352
10352
  components: {
10353
- Saturation: Ks,
10354
- Hue: Gs,
10355
- Alpha: Xs,
10356
- Preview: Qs,
10357
- Sucker: Js,
10358
- Box: en,
10359
- Colors: tn
10353
+ Saturation: xs,
10354
+ Hue: Ks,
10355
+ Alpha: Gs,
10356
+ Preview: Xs,
10357
+ Sucker: Qs,
10358
+ Box: Js,
10359
+ Colors: en
10360
10360
  },
10361
10361
  emits: ["changeColor", "openSucker", "inputFocus", "inputBlur"],
10362
10362
  props: {
@@ -10461,7 +10461,7 @@ var Tt = q({
10461
10461
  }
10462
10462
  },
10463
10463
  created() {
10464
- Object.assign(this, kt(this.color)), this.setText(), this.$watch("rgba", () => {
10464
+ Object.assign(this, $t(this.color)), this.setText(), this.$watch("rgba", () => {
10465
10465
  this.$emit("changeColor", {
10466
10466
  rgba: this.rgba,
10467
10467
  hsv: this.hsv,
@@ -10471,7 +10471,7 @@ var Tt = q({
10471
10471
  },
10472
10472
  methods: {
10473
10473
  selectSaturation(t) {
10474
- const { r: e, g: a, b: s, h: n, s: o, v: i } = kt(t);
10474
+ const { r: e, g: a, b: s, h: n, s: o, v: i } = $t(t);
10475
10475
  Object.assign(this, { r: e, g: a, b: s, h: n, s: o, v: i }), this.setText();
10476
10476
  },
10477
10477
  handleFocus(t) {
@@ -10481,7 +10481,7 @@ var Tt = q({
10481
10481
  this.$emit("inputBlur", t);
10482
10482
  },
10483
10483
  selectHue(t) {
10484
- const { r: e, g: a, b: s, h: n, s: o, v: i } = kt(t);
10484
+ const { r: e, g: a, b: s, h: n, s: o, v: i } = $t(t);
10485
10485
  Object.assign(this, { r: e, g: a, b: s, h: n, s: o, v: i }), this.setText(), this.$nextTick(() => {
10486
10486
  this.$refs.saturation.renderColor(), this.$refs.saturation.renderSlide();
10487
10487
  });
@@ -10490,13 +10490,13 @@ var Tt = q({
10490
10490
  this.a = t, this.setText();
10491
10491
  },
10492
10492
  inputHex(t) {
10493
- const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } = kt(t);
10493
+ const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } = $t(t);
10494
10494
  Object.assign(this, { r: e, g: a, b: s, a: n, h: o, s: i, v: l }), this.modelHex = t, this.modelRgba = this.rgbaStringShort, this.$nextTick(() => {
10495
10495
  this.$refs.saturation.renderColor(), this.$refs.saturation.renderSlide(), this.$refs.hue.renderSlide();
10496
10496
  });
10497
10497
  },
10498
10498
  inputRgba(t) {
10499
- const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } = kt(t);
10499
+ const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } = $t(t);
10500
10500
  Object.assign(this, { r: e, g: a, b: s, a: n, h: o, s: i, v: l }), this.modelHex = this.hexString, this.modelRgba = t, this.$nextTick(() => {
10501
10501
  this.$refs.saturation.renderColor(), this.$refs.saturation.renderSlide(), this.$refs.hue.renderSlide();
10502
10502
  });
@@ -10508,13 +10508,13 @@ var Tt = q({
10508
10508
  this.$emit("openSucker", t);
10509
10509
  },
10510
10510
  selectSucker(t) {
10511
- const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } = kt(t);
10511
+ const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } = $t(t);
10512
10512
  Object.assign(this, { r: e, g: a, b: s, a: n, h: o, s: i, v: l }), this.setText(), this.$nextTick(() => {
10513
10513
  this.$refs.saturation.renderColor(), this.$refs.saturation.renderSlide(), this.$refs.hue.renderSlide();
10514
10514
  });
10515
10515
  },
10516
10516
  selectColor(t) {
10517
- const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } = kt(t);
10517
+ const { r: e, g: a, b: s, a: n, h: o, s: i, v: l } = $t(t);
10518
10518
  Object.assign(this, { r: e, g: a, b: s, a: n, h: o, s: i, v: l }), this.setText(), this.$nextTick(() => {
10519
10519
  this.$refs.saturation.renderColor(), this.$refs.saturation.renderSlide(), this.$refs.hue.renderSlide();
10520
10520
  });
@@ -10605,10 +10605,10 @@ function Ph(t, e, a, s, n, o) {
10605
10605
  /* CLASS, STYLE */
10606
10606
  );
10607
10607
  }
10608
- Tt.render = Ph;
10609
- Tt.__file = "src/color/ColorPicker.vue";
10610
- Tt.install = (t) => {
10611
- t.component(Tt.name, Tt);
10608
+ Mt.render = Ph;
10609
+ Mt.__file = "src/color/ColorPicker.vue";
10610
+ Mt.install = (t) => {
10611
+ t.component(Mt.name, Mt);
10612
10612
  };
10613
10613
  const Hh = { class: "ao-maping-card-project-phase__header" }, Vh = { class: "ao-card-project-item__title-line" }, Dh = {
10614
10614
  key: 0,
@@ -10655,19 +10655,15 @@ const Hh = { class: "ao-maping-card-project-phase__header" }, Vh = { class: "ao-
10655
10655
  }), c = Y(!1), u = Y("#ffcc00"), f = Y(null), p = (g) => {
10656
10656
  const v = g.target;
10657
10657
  v.closest("button") || v.closest("input") || v.closest(".ao-title") || m();
10658
- }, m = () => {
10659
- console.log("Open color picker"), c.value = !0, setTimeout(() => {
10658
+ }, m = async () => {
10659
+ console.log("Open color picker"), c.value = !0, await Me(), setTimeout(() => {
10660
10660
  window.addEventListener("click", $);
10661
10661
  }, 0);
10662
10662
  }, $ = (g) => {
10663
10663
  const v = g.target;
10664
- c.value && f.value && !f.value.contains(v) && (console.log("Close color picker"), c.value = !1);
10664
+ c.value && f.value && !f.value.contains(v) && (console.log("Close color picker"), c.value = !1, window.removeEventListener("click", $));
10665
10665
  };
10666
- return mt(() => {
10667
- window.addEventListener("click", $);
10668
- }), Ts(() => {
10669
- window.removeEventListener("click", $);
10670
- }), (g, v) => (d(), C(fe, null, [
10666
+ return (g, v) => (d(), C(fe, null, [
10671
10667
  A(os, {
10672
10668
  class: "ao-maping-card-project-phase",
10673
10669
  "is-clickable": g.isEditable,
@@ -10754,7 +10750,7 @@ const Hh = { class: "ao-maping-card-project-phase__header" }, Vh = { class: "ao-
10754
10750
  ref_key: "pickerRef",
10755
10751
  ref: f
10756
10752
  }, [
10757
- A(Q(Tt), {
10753
+ A(Q(Mt), {
10758
10754
  onClick: v[2] || (v[2] = ve(() => {
10759
10755
  }, ["stop"])),
10760
10756
  class: "color-picker",
@@ -10788,7 +10784,7 @@ const Wh = {
10788
10784
  },
10789
10785
  emits: ["addMilestone", "updateMilestone", "archiveMilestone", "unarchiveMilestone", "updatePhase", "archivePhase", "unarchivePhase"],
10790
10786
  setup(t, { emit: e }) {
10791
- const a = t, { t: s } = yt();
10787
+ const a = t, { t: s } = _t();
10792
10788
  ce(
10793
10789
  () => a.phase.milestones,
10794
10790
  (v, w) => {
@@ -10804,7 +10800,7 @@ const Wh = {
10804
10800
  (v) => B3(v, a.closedStatus)
10805
10801
  )
10806
10802
  ), l = (v) => {
10807
- const { name: w, rank: y } = Mt(
10803
+ const { name: w, rank: y } = At(
10808
10804
  i.value ?? [],
10809
10805
  "milestone",
10810
10806
  s
@@ -10873,7 +10869,7 @@ const Wh = {
10873
10869
  ])),
10874
10870
  g.value ? O("", !0) : (d(), C("div", Yh, [
10875
10871
  h("div", xh, [
10876
- A(Q(gt), Ae({
10872
+ A(Q(mt), Ae({
10877
10873
  class: "ao-project-phase__milestones-list",
10878
10874
  list: i.value,
10879
10875
  disabled: v.readonly || !v.isEditable,
@@ -10911,7 +10907,7 @@ const Wh = {
10911
10907
  _: 1
10912
10908
  }, 16, ["list", "disabled"]),
10913
10909
  h("div", Kh, [
10914
- v.isEditable ? (d(), D(Ct, {
10910
+ v.isEditable ? (d(), D(gt, {
10915
10911
  key: 0,
10916
10912
  label: v.$t("project.milestone.add"),
10917
10913
  class: "ao-project-phase__milestone-add",
@@ -10969,7 +10965,7 @@ const Xh = { class: "ao-project__phases" }, Qh = {
10969
10965
  e("addPhase", p);
10970
10966
  };
10971
10967
  return (p, m) => (d(), C("div", Xh, [
10972
- A(Q(gt), {
10968
+ A(Q(mt), {
10973
10969
  class: "ao-project-phase__phases-list",
10974
10970
  "model-value": p.phases,
10975
10971
  "item-key": "id",
@@ -10997,7 +10993,7 @@ const Xh = { class: "ao-project__phases" }, Qh = {
10997
10993
  p.isEditable ? (d(), C("div", Qh, [
10998
10994
  Jh,
10999
10995
  h("div", e9, [
11000
- A(Ct, {
10996
+ A(gt, {
11001
10997
  label: p.$t("project.phases.add"),
11002
10998
  "icon-name": "Add",
11003
10999
  class: "ao-project-phase__add-phase",
@@ -11071,7 +11067,7 @@ const o9 = ["onSubmit"], l9 = { class: "ao-save-template-modal__form-body" }, r9
11071
11067
  emits: ["save"],
11072
11068
  setup(t, { emit: e }) {
11073
11069
  const a = t, s = Y(""), n = Y([]);
11074
- mt(() => {
11070
+ It(() => {
11075
11071
  n.value = a.phases.map((i) => i.id);
11076
11072
  });
11077
11073
  const o = () => {
@@ -11164,7 +11160,7 @@ function _9(t, e, a, s, n, o) {
11164
11160
  }, W(i.label), 11, C9))), 128))
11165
11161
  ]);
11166
11162
  }
11167
- const an = /* @__PURE__ */ N(m9, [["render", _9], ["__scopeId", "data-v-ff4e3297"]]), y9 = { class: "ao-project" }, b9 = { class: "ao-project__body" }, w9 = /* @__PURE__ */ q({
11163
+ const tn = /* @__PURE__ */ N(m9, [["render", _9], ["__scopeId", "data-v-ff4e3297"]]), y9 = { class: "ao-project" }, b9 = { class: "ao-project__body" }, w9 = /* @__PURE__ */ q({
11168
11164
  __name: "AoProjectOverviewProject",
11169
11165
  props: {
11170
11166
  project: {},
@@ -11182,10 +11178,10 @@ const an = /* @__PURE__ */ N(m9, [["render", _9], ["__scopeId", "data-v-ff4e3297
11182
11178
  },
11183
11179
  emits: ["addPhase", "updatePhase", "archivePhase", "unarchivePhase", "addMilestone", "updateMilestone", "archiveMilestone", "unarchiveMilestone", "addActivity", "update:activity", "archiveActivity", "copyPhaseToTemplate", "unarchiveActivity", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment", "applyTemplate", "saveTemplate", "update:showsArchived"],
11184
11180
  setup(t, { emit: e }) {
11185
- const a = t, { t: s } = yt(), n = M(
11181
+ const a = t, { t: s } = _t(), n = M(
11186
11182
  () => a.phases.flatMap((T) => T.milestones)
11187
11183
  ), o = () => {
11188
- const { name: T, rank: k } = Mt(a.phases, "phase", s);
11184
+ const { name: T, rank: k } = At(a.phases, "phase", s);
11189
11185
  e("addPhase", { name: T, rank: k, projectId: a.project.id });
11190
11186
  }, i = (T) => {
11191
11187
  e("updatePhase", T);
@@ -11235,7 +11231,7 @@ const an = /* @__PURE__ */ N(m9, [["render", _9], ["__scopeId", "data-v-ff4e3297
11235
11231
  var H;
11236
11232
  const R = (H = a.templates) == null ? void 0 : H.at(-1), b = R ? we.LexoRank.parse(R.rank).genNext() : we.LexoRank.middle();
11237
11233
  e("saveTemplate", { templateName: T, rank: b.format(), phaseIds: k }), j.value = !1;
11238
- }, se = Es(), ee = Y("overview"), E = [
11234
+ }, se = Os(), ee = Y("overview"), E = [
11239
11235
  { label: "Overview", value: "overview" },
11240
11236
  { label: "Feed", value: "feed" },
11241
11237
  { label: "Mapping", value: "mapping" }
@@ -11249,7 +11245,7 @@ const an = /* @__PURE__ */ N(m9, [["render", _9], ["__scopeId", "data-v-ff4e3297
11249
11245
  h("div", y9, [
11250
11246
  A(ya, null, {
11251
11247
  primary: F(() => [
11252
- A(an, {
11248
+ A(tn, {
11253
11249
  tabs: E,
11254
11250
  modelValue: ee.value,
11255
11251
  "onUpdate:modelValue": k[0] || (k[0] = (b) => ee.value = b)
@@ -11318,7 +11314,7 @@ const an = /* @__PURE__ */ N(m9, [["render", _9], ["__scopeId", "data-v-ff4e3297
11318
11314
  onArchiveActivity: v,
11319
11315
  onUnarchiveActivity: w
11320
11316
  }, null, 8, ["phases", "project-id", "project-name", "users", "is-editable", "closed-status"]),
11321
- (d(), D(Ot, { to: "body" }, [
11317
+ (d(), D(Tt, { to: "body" }, [
11322
11318
  A(R, {
11323
11319
  name: "modal",
11324
11320
  activities: I.value,
@@ -11353,7 +11349,7 @@ const an = /* @__PURE__ */ N(m9, [["render", _9], ["__scopeId", "data-v-ff4e3297
11353
11349
  }, 8, ["activities", "is-task-checkable", "statuses", "activity-types", "phases", "project", "users", "user-id", "is-editable", "attachment-enabled"])
11354
11350
  ]))
11355
11351
  ], 16),
11356
- (d(), D(Ot, { to: "body" }, [
11352
+ (d(), D(Tt, { to: "body" }, [
11357
11353
  j.value ? (d(), D(hi, {
11358
11354
  key: 0,
11359
11355
  phases: T.phases,
@@ -11562,7 +11558,7 @@ const z9 = {
11562
11558
  }
11563
11559
  },
11564
11560
  components: {
11565
- ColorPicker: Tt
11561
+ ColorPicker: Mt
11566
11562
  },
11567
11563
  data() {
11568
11564
  return {
@@ -11602,7 +11598,7 @@ const x9 = /* @__PURE__ */ N(z9, [["render", Y9]]), K9 = { class: "ao-project-mi
11602
11598
  }, t4 = { class: "ao-field__row ao-milestone__field-row" }, a4 = { class: "ao-field ao-field--inline" }, s4 = { class: "ao-field__row ao-milestone__field-row" }, n4 = { class: "ao-field ao-milestone__field-multiselect" }, i4 = { class: "ao-project-milestone__body" }, o4 = {
11603
11599
  key: 0,
11604
11600
  class: "ao-project-milestone__footer"
11605
- }, In = /* @__PURE__ */ q({
11601
+ }, En = /* @__PURE__ */ q({
11606
11602
  __name: "AoProjectOverviewMilestoneDetails",
11607
11603
  props: {
11608
11604
  milestoneId: {},
@@ -11615,7 +11611,7 @@ const x9 = /* @__PURE__ */ N(z9, [["render", Y9]]), K9 = { class: "ao-project-mi
11615
11611
  },
11616
11612
  emits: ["close", "addActivity", "updateMilestone", "updateActivity", "archiveActivity", "unarchiveActivity"],
11617
11613
  setup(t, { emit: e }) {
11618
- const a = t, { t: s } = yt(), n = M(() => {
11614
+ const a = t, { t: s } = _t(), n = M(() => {
11619
11615
  var y;
11620
11616
  return (y = a.phases) == null ? void 0 : y.find((_) => _.id === a.phaseId);
11621
11617
  }), o = M(
@@ -11636,7 +11632,7 @@ const x9 = /* @__PURE__ */ N(z9, [["render", Y9]]), K9 = { class: "ao-project-mi
11636
11632
  const r = (y) => {
11637
11633
  e("close", y);
11638
11634
  }, c = () => {
11639
- const { name: y, rank: _ } = Mt(
11635
+ const { name: y, rank: _ } = At(
11640
11636
  l.value ?? [],
11641
11637
  "activity",
11642
11638
  s
@@ -11676,7 +11672,7 @@ const x9 = /* @__PURE__ */ N(z9, [["render", Y9]]), K9 = { class: "ao-project-mi
11676
11672
  deadline: y != null && y.length ? y : null
11677
11673
  });
11678
11674
  }
11679
- }), $ = (y) => a.closedStatus ? Hs(y, a.closedStatus) : !1, g = M(() => {
11675
+ }), $ = (y) => a.closedStatus ? Ps(y, a.closedStatus) : !1, g = M(() => {
11680
11676
  var y;
11681
11677
  return ((y = a.users) == null ? void 0 : y.map((_) => ({
11682
11678
  label: `${_.firstName} ${_.lastName}`,
@@ -11791,7 +11787,7 @@ const x9 = /* @__PURE__ */ N(z9, [["render", Y9]]), K9 = { class: "ao-project-mi
11791
11787
  ])) : O("", !0)
11792
11788
  ]),
11793
11789
  h("div", i4, [
11794
- A(Q(gt), Ae({
11790
+ A(Q(mt), Ae({
11795
11791
  class: "ao-project-milestone__activities",
11796
11792
  list: l.value,
11797
11793
  disabled: !y.isEditable,
@@ -11862,7 +11858,7 @@ const x9 = /* @__PURE__ */ N(z9, [["render", Y9]]), K9 = { class: "ao-project-mi
11862
11858
  _: 1
11863
11859
  }, 16, ["list", "disabled"]),
11864
11860
  y.isEditable ? (d(), C("div", o4, [
11865
- A(Ct, {
11861
+ A(gt, {
11866
11862
  "icon-name": "Add",
11867
11863
  label: y.$t("project.activity.add"),
11868
11864
  onClick: c
@@ -11927,7 +11923,7 @@ const l4 = /* @__PURE__ */ q({
11927
11923
  };
11928
11924
  return (v, w) => {
11929
11925
  var y, _;
11930
- return i.value ? (d(), D(Ys, {
11926
+ return i.value ? (d(), D(qs, {
11931
11927
  key: 0,
11932
11928
  activity: i.value,
11933
11929
  "activity-types": v.activityTypes,
@@ -12031,7 +12027,7 @@ function bs(t) {
12031
12027
  const m4 = d4 ? window : void 0;
12032
12028
  function g4() {
12033
12029
  const t = Y(!1), e = Lt();
12034
- return e && mt(() => {
12030
+ return e && It(() => {
12035
12031
  t.value = !0;
12036
12032
  }, e), t;
12037
12033
  }
@@ -12158,7 +12154,7 @@ const y4 = {
12158
12154
  ])
12159
12155
  ];
12160
12156
  }) : O("", !0),
12161
- A(Q(gt), Ae({
12157
+ A(Q(mt), Ae({
12162
12158
  class: ["ao-list-kanban__list", c.value ? "ao-list-kanban__transition" : void 0],
12163
12159
  list: u.list,
12164
12160
  "item-key": "id",
@@ -12250,7 +12246,7 @@ const y4 = {
12250
12246
  }, 16, ["class", "list", "disabled"]),
12251
12247
  u.$slots.footer || u.footerLabel ? (d(), C("div", A4, [
12252
12248
  te(u.$slots, "footer", {}, () => [
12253
- u.isEditable ? (d(), D(Ct, {
12249
+ u.isEditable ? (d(), D(gt, {
12254
12250
  key: 0,
12255
12251
  "icon-name": "AddBoxOutlineRounded",
12256
12252
  label: u.footerLabel,
@@ -12325,7 +12321,7 @@ const I4 = { class: "ao-feed" }, L4 = { class: "ao-feed__filters" }, P4 = { clas
12325
12321
  },
12326
12322
  emits: ["change:activities", "addActivity", "update:filters", "selectActivity", "update:activity", "archiveActivity", "unarchiveActivity", "update:searchText", "clear:searchText", "update:showsArchivedActivities", "update:showsOnlyImportant", "update:showsOnlyNonAssigned", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment", "toast"],
12327
12323
  setup(t, { emit: e }) {
12328
- const a = t, { t: s } = yt();
12324
+ const a = t, { t: s } = _t();
12329
12325
  function n(k, R) {
12330
12326
  e("toast", k, R);
12331
12327
  }
@@ -12409,7 +12405,7 @@ const I4 = { class: "ao-feed" }, L4 = { class: "ao-feed__filters" }, P4 = { clas
12409
12405
  }, se = (k) => {
12410
12406
  const { id: R } = a.selectedActivity || {};
12411
12407
  R && e("removeComment", k);
12412
- }, ee = Es(), E = Y("feed"), T = [
12408
+ }, ee = Os(), E = Y("feed"), T = [
12413
12409
  { label: "Overview", value: "overview" },
12414
12410
  { label: "Feed", value: "feed" },
12415
12411
  { label: "Mapping", value: "mapping" }
@@ -12422,7 +12418,7 @@ const I4 = { class: "ao-feed" }, L4 = { class: "ao-feed__filters" }, P4 = { clas
12422
12418
  A(ya, null, {
12423
12419
  primary: F(() => [
12424
12420
  h("div", L4, [
12425
- A(an, {
12421
+ A(tn, {
12426
12422
  tabs: T,
12427
12423
  modelValue: E.value,
12428
12424
  "onUpdate:modelValue": R[0] || (R[0] = (H) => E.value = H)
@@ -12538,8 +12534,8 @@ const I4 = { class: "ao-feed" }, L4 = { class: "ao-feed__filters" }, P4 = { clas
12538
12534
  onUpdateActivity: _
12539
12535
  }, null, 8, ["status", "list", "title", "footer-label", "users", "user-id", "is-editable", "tagType", "onAdd"]))), 128))
12540
12536
  ]),
12541
- (d(), D(Ot, { to: "body" }, [
12542
- k.selectedActivity ? (d(), D(Ys, {
12537
+ (d(), D(Tt, { to: "body" }, [
12538
+ k.selectedActivity ? (d(), D(qs, {
12543
12539
  key: 0,
12544
12540
  activity: k.selectedActivity,
12545
12541
  "activity-types": k.activityTypes,
@@ -12593,8 +12589,8 @@ const V4 = { class: "ao-project" }, D4 = { class: "ao-project__body" }, B4 = ["s
12593
12589
  },
12594
12590
  emits: ["addPhase", "updatePhase", "archivePhase", "unarchivePhase", "copyPhaseToTemplate", "applyTemplate", "saveTemplate", "update:showsArchived"],
12595
12591
  setup(t, { emit: e }) {
12596
- const a = t, { t: s } = yt(), n = () => {
12597
- const { name: v, rank: w } = Mt(a.phases, "phase", s);
12592
+ const a = t, { t: s } = _t(), n = () => {
12593
+ const { name: v, rank: w } = At(a.phases, "phase", s);
12598
12594
  e("addPhase", { name: v, rank: w, projectId: a.project.id });
12599
12595
  }, o = (v) => {
12600
12596
  e("updatePhase", v);
@@ -12610,7 +12606,7 @@ const V4 = { class: "ao-project" }, D4 = { class: "ao-project__body" }, B4 = ["s
12610
12606
  var V;
12611
12607
  const y = (V = a.templates) == null ? void 0 : V.at(-1), _ = y ? we.LexoRank.parse(y.rank).genNext() : we.LexoRank.middle();
12612
12608
  e("saveTemplate", { templateName: v, rank: _.format(), phaseIds: w }), u.value = !1;
12613
- }, m = Es(), $ = Y("mapping"), g = [
12609
+ }, m = Os(), $ = Y("mapping"), g = [
12614
12610
  { label: "Overview", value: "overview" },
12615
12611
  { label: "Feed", value: "feed" },
12616
12612
  { label: "Mapping", value: "mapping" }
@@ -12622,7 +12618,7 @@ const V4 = { class: "ao-project" }, D4 = { class: "ao-project__body" }, B4 = ["s
12622
12618
  h("div", V4, [
12623
12619
  A(ya, null, {
12624
12620
  primary: F(() => [
12625
- A(an, {
12621
+ A(tn, {
12626
12622
  tabs: g,
12627
12623
  modelValue: $.value,
12628
12624
  "onUpdate:modelValue": w[0] || (w[0] = (y) => $.value = y)
@@ -12679,7 +12675,7 @@ const V4 = { class: "ao-project" }, D4 = { class: "ao-project__body" }, B4 = ["s
12679
12675
  ])
12680
12676
  ])
12681
12677
  ], 16),
12682
- (d(), D(Ot, { to: "body" }, [
12678
+ (d(), D(Tt, { to: "body" }, [
12683
12679
  u.value ? (d(), D(hi, {
12684
12680
  key: 0,
12685
12681
  phases: v.phases,
@@ -12742,7 +12738,7 @@ const jt = {
12742
12738
  {
12743
12739
  path: ":phaseId/:milestoneId",
12744
12740
  name: ye.milestone,
12745
- component: In,
12741
+ component: En,
12746
12742
  props: !0
12747
12743
  },
12748
12744
  {
@@ -12750,7 +12746,7 @@ const jt = {
12750
12746
  name: ye.activity,
12751
12747
  props: { default: !0, modal: !0 },
12752
12748
  components: {
12753
- default: In,
12749
+ default: En,
12754
12750
  modal: l4
12755
12751
  }
12756
12752
  }
@@ -12777,7 +12773,7 @@ const jt = {
12777
12773
  },
12778
12774
  emits: ["addTemplate", "updateTemplates", "updateItem", "removeItem"],
12779
12775
  setup(t, { emit: e }) {
12780
- const a = t, { t: s } = yt();
12776
+ const a = t, { t: s } = _t();
12781
12777
  ce(() => a.templates, (r, c) => {
12782
12778
  Qe(r, c);
12783
12779
  });
@@ -12832,7 +12828,7 @@ const jt = {
12832
12828
  ]),
12833
12829
  _: 1
12834
12830
  }),
12835
- A(Q(gt), {
12831
+ A(Q(mt), {
12836
12832
  "model-value": r.templates,
12837
12833
  class: "ao-templates__list",
12838
12834
  "item-key": "id",