@26lights/orcha 0.37.0 → 0.37.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/orcha.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as z, openBlock as p, createBlock as P, unref as Q, mergeProps as He, createElementBlock as g, createElementVNode as v, pushScopeId as Oi, popScopeId as Ei, createStaticVNode as Ii, computed as S, resolveDynamicComponent as ht, normalizeClass as K, renderSlot as te, toDisplayString as G, createCommentVNode as T, ref as ee, watch as de, nextTick as De, withKeys as dt, toHandlers as Li, withCtx as W, createTextVNode as Fa, createVNode as A, normalizeStyle as Ua, withModifiers as fe, createSlots as Za, Fragment as ve, renderList as _e, onMounted as xt, onBeforeUnmount as Ts, onUnmounted as $n, Teleport as Nt, toRefs as Ae, getCurrentInstance as Mt, toRef as Pt, normalizeProps as pa, guardReactiveProps as fa, withDirectives as Ke, vShow as Hi, onUpdated as Di, vModelText as ut, resolveComponent as Ye, getCurrentScope as Pi, onScopeDispose as Vi, toHandlerKey as Bi } from "vue";
1
+ import { defineComponent as z, openBlock as p, createBlock as P, unref as Q, mergeProps as He, createElementBlock as g, createElementVNode as v, pushScopeId as Oi, popScopeId as Ei, createStaticVNode as Ii, computed as S, resolveDynamicComponent as ht, normalizeClass as K, renderSlot as te, toDisplayString as G, createCommentVNode as T, ref as ee, watch as de, nextTick as De, withKeys as dt, toHandlers as Li, withCtx as W, createTextVNode as Fa, createVNode as A, normalizeStyle as Ua, withModifiers as fe, createSlots as Za, Fragment as ve, renderList as _e, onMounted as xt, onBeforeUnmount as Ts, onUnmounted as kn, Teleport as Nt, toRefs as Ae, getCurrentInstance as Mt, toRef as Pt, normalizeProps as pa, guardReactiveProps as fa, withDirectives as Ke, vShow as Hi, onUpdated as Di, vModelText as ut, resolveComponent as Ye, getCurrentScope as Pi, onScopeDispose as Vi, toHandlerKey as Bi } from "vue";
2
2
  import { RouterView as Ri } from "vue-router";
3
3
  import mt from "vuedraggable";
4
4
  const d8 = /* @__PURE__ */ z({
@@ -617,23 +617,23 @@ function lu(t, e) {
617
617
  const uu = /* @__PURE__ */ j(su, [["render", lu]]), cu = z({
618
618
  name: "LoadingIcon"
619
619
  });
620
- const kn = (t) => (Oi("data-v-ad6da4a9"), t = t(), Ei(), t), du = {
620
+ const Sn = (t) => (Oi("data-v-ad6da4a9"), t = t(), Ei(), t), du = {
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
- }, pu = /* @__PURE__ */ kn(() => /* @__PURE__ */ v("circle", {
626
+ }, pu = /* @__PURE__ */ Sn(() => /* @__PURE__ */ v("circle", {
627
627
  class: "dot dot--1",
628
628
  cx: "6",
629
629
  cy: "12",
630
630
  r: "2"
631
- }, null, -1)), fu = /* @__PURE__ */ kn(() => /* @__PURE__ */ v("circle", {
631
+ }, null, -1)), fu = /* @__PURE__ */ Sn(() => /* @__PURE__ */ v("circle", {
632
632
  class: "dot dot--2",
633
633
  cx: "12",
634
634
  cy: "12",
635
635
  r: "2"
636
- }, null, -1)), vu = /* @__PURE__ */ kn(() => /* @__PURE__ */ v("circle", {
636
+ }, null, -1)), vu = /* @__PURE__ */ Sn(() => /* @__PURE__ */ v("circle", {
637
637
  class: "dot dot--3",
638
638
  cx: "18",
639
639
  cy: "12",
@@ -1139,7 +1139,7 @@ const $2 = /* @__PURE__ */ j(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
1139
1139
  MD: "md",
1140
1140
  LG: "lg",
1141
1141
  XL: "xl"
1142
- }, Sn = {
1142
+ }, An = {
1143
1143
  PRIMARY: "primary",
1144
1144
  NEUTRAL: "neutral",
1145
1145
  BLACK: "black"
@@ -1149,7 +1149,7 @@ const $2 = /* @__PURE__ */ j(g2, [["render", w2]]), k2 = /* @__PURE__ */ Object.
1149
1149
  DANGER: "danger"
1150
1150
  };
1151
1151
  ({
1152
- ...Sn,
1152
+ ...An,
1153
1153
  ...A2
1154
1154
  });
1155
1155
  const Os = {
@@ -1390,7 +1390,7 @@ const O2 = {
1390
1390
  }, 8, ["class"]));
1391
1391
  }
1392
1392
  });
1393
- const An = /* @__PURE__ */ z({
1393
+ const qa = /* @__PURE__ */ z({
1394
1394
  __name: "AoTag",
1395
1395
  props: {
1396
1396
  label: {},
@@ -1437,7 +1437,7 @@ const An = /* @__PURE__ */ z({
1437
1437
  ], 6));
1438
1438
  }
1439
1439
  });
1440
- const mn = {
1440
+ const Cn = {
1441
1441
  todo: "todo",
1442
1442
  done: "done",
1443
1443
  archived: "archived"
@@ -1540,7 +1540,7 @@ function Ds(t) {
1540
1540
  var e = be(t);
1541
1541
  return !isNaN(Number(e));
1542
1542
  }
1543
- function Cn(t, e) {
1543
+ function gn(t, e) {
1544
1544
  ge(2, arguments);
1545
1545
  var a = Qe(e);
1546
1546
  return U2(t, -a);
@@ -2397,7 +2397,7 @@ var p0 = {
2397
2397
  return typeof o == "string" ? s = o : a === 1 ? s = o.one : s = o.other.replace("{{count}}", a.toString()), n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? "in " + s : s + " ago" : s;
2398
2398
  };
2399
2399
  const v0 = f0;
2400
- function pn(t) {
2400
+ function fn(t) {
2401
2401
  return function() {
2402
2402
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = e.width ? String(e.width) : t.defaultWidth, n = t.formats[a] || t.formats[t.defaultWidth];
2403
2403
  return n;
@@ -2419,15 +2419,15 @@ var h0 = {
2419
2419
  medium: "{{date}}, {{time}}",
2420
2420
  short: "{{date}}, {{time}}"
2421
2421
  }, g0 = {
2422
- date: pn({
2422
+ date: fn({
2423
2423
  formats: h0,
2424
2424
  defaultWidth: "full"
2425
2425
  }),
2426
- time: pn({
2426
+ time: fn({
2427
2427
  formats: m0,
2428
2428
  defaultWidth: "full"
2429
2429
  }),
2430
- dateTime: pn({
2430
+ dateTime: fn({
2431
2431
  formats: C0,
2432
2432
  defaultWidth: "full"
2433
2433
  })
@@ -2737,7 +2737,7 @@ function Ns(t, e, a) {
2737
2737
  var O = be(t);
2738
2738
  if (!Ds(O))
2739
2739
  throw new RangeError("Invalid time value");
2740
- var x = ra(O), R = Cn(O, x), Z = {
2740
+ var x = ra(O), R = gn(O, x), Z = {
2741
2741
  firstWeekContainsDate: U,
2742
2742
  weekStartsOn: q,
2743
2743
  locale: F,
@@ -2783,7 +2783,7 @@ function a3(t, e, a) {
2783
2783
  throw new RangeError("Invalid time value");
2784
2784
  var C;
2785
2785
  _ < -6 ? C = "other" : _ < -1 ? C = "lastWeek" : _ < 0 ? C = "yesterday" : _ < 1 ? C = "today" : _ < 2 ? C = "tomorrow" : _ < 7 ? C = "nextWeek" : C = "other";
2786
- var D = Cn(h, ra(h)), L = Cn(w, ra(w)), H = y.formatRelative(C, D, L, {
2786
+ var D = gn(h, ra(h)), L = gn(w, ra(w)), H = y.formatRelative(C, D, L, {
2787
2787
  locale: y,
2788
2788
  weekStartsOn: k
2789
2789
  });
@@ -2866,10 +2866,10 @@ function u3(t) {
2866
2866
  var e = t.match(s3);
2867
2867
  if (!e)
2868
2868
  return NaN;
2869
- var a = fn(e[1]), n = fn(e[2]), s = fn(e[3]);
2869
+ var a = vn(e[1]), n = vn(e[2]), s = vn(e[3]);
2870
2870
  return m3(a, n, s) ? a * Hs + n * Ls + s * 1e3 : NaN;
2871
2871
  }
2872
- function fn(t) {
2872
+ function vn(t) {
2873
2873
  return t && parseFloat(t.replace(",", ".")) || 0;
2874
2874
  }
2875
2875
  function c3(t) {
@@ -2906,10 +2906,10 @@ function m3(t, e, a) {
2906
2906
  function C3(t, e) {
2907
2907
  return e >= 0 && e <= 59;
2908
2908
  }
2909
- var Le = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ie = {}, Fs = {}, aa = {}, ha = {}, Yt = {}, qa = {};
2910
- Object.defineProperty(qa, "__esModule", { value: !0 });
2911
- qa.lexoHelper = void 0;
2912
- qa.lexoHelper = {
2909
+ var Le = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ie = {}, Fs = {}, aa = {}, ha = {}, Yt = {}, za = {};
2910
+ Object.defineProperty(za, "__esModule", { value: !0 });
2911
+ za.lexoHelper = void 0;
2912
+ za.lexoHelper = {
2913
2913
  arrayCopy: g3
2914
2914
  };
2915
2915
  function g3(t, e, a, n, s) {
@@ -2946,7 +2946,7 @@ class _3 {
2946
2946
  ma.default = _3;
2947
2947
  Object.defineProperty(Yt, "__esModule", { value: !0 });
2948
2948
  Yt.LexoInteger = void 0;
2949
- const Ma = qa, y3 = ma;
2949
+ const Ma = za, y3 = ma;
2950
2950
  class se {
2951
2951
  constructor(e, a, n) {
2952
2952
  this.sys = e, this.sign = a, this.mag = n;
@@ -3313,9 +3313,9 @@ function Us() {
3313
3313
  }
3314
3314
  var Mn = {}, Zs = {};
3315
3315
  Object.defineProperty(Zs, "__esModule", { value: !0 });
3316
- var za = {};
3317
- Object.defineProperty(za, "__esModule", { value: !0 });
3318
- za.LexoNumeralSystem10 = void 0;
3316
+ var xa = {};
3317
+ Object.defineProperty(xa, "__esModule", { value: !0 });
3318
+ xa.LexoNumeralSystem10 = void 0;
3319
3319
  class w3 {
3320
3320
  getBase() {
3321
3321
  return 10;
@@ -3338,10 +3338,10 @@ class w3 {
3338
3338
  return String.fromCharCode(e + 48);
3339
3339
  }
3340
3340
  }
3341
- za.LexoNumeralSystem10 = w3;
3342
- var xa = {};
3343
- Object.defineProperty(xa, "__esModule", { value: !0 });
3344
- xa.LexoNumeralSystem36 = void 0;
3341
+ xa.LexoNumeralSystem10 = w3;
3342
+ var Ya = {};
3343
+ Object.defineProperty(Ya, "__esModule", { value: !0 });
3344
+ Ya.LexoNumeralSystem36 = void 0;
3345
3345
  class $3 {
3346
3346
  constructor() {
3347
3347
  this.DIGITS = "0123456789abcdefghijklmnopqrstuvwxyz".split("");
@@ -3369,10 +3369,10 @@ class $3 {
3369
3369
  return this.DIGITS[e];
3370
3370
  }
3371
3371
  }
3372
- xa.LexoNumeralSystem36 = $3;
3373
- var Ya = {};
3374
- Object.defineProperty(Ya, "__esModule", { value: !0 });
3375
- Ya.LexoNumeralSystem64 = void 0;
3372
+ Ya.LexoNumeralSystem36 = $3;
3373
+ var Ka = {};
3374
+ Object.defineProperty(Ka, "__esModule", { value: !0 });
3375
+ Ka.LexoNumeralSystem64 = void 0;
3376
3376
  class k3 {
3377
3377
  constructor() {
3378
3378
  this.DIGITS = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ^_abcdefghijklmnopqrstuvwxyz".split("");
@@ -3406,7 +3406,7 @@ class k3 {
3406
3406
  return this.DIGITS[e];
3407
3407
  }
3408
3408
  }
3409
- Ya.LexoNumeralSystem64 = k3;
3409
+ Ka.LexoNumeralSystem64 = k3;
3410
3410
  (function(t) {
3411
3411
  var e = Le && Le.__createBinding || (Object.create ? function(n, s, o, i) {
3412
3412
  i === void 0 && (i = o);
@@ -3420,7 +3420,7 @@ Ya.LexoNumeralSystem64 = k3;
3420
3420
  for (var o in n)
3421
3421
  o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
3422
3422
  };
3423
- Object.defineProperty(t, "__esModule", { value: !0 }), a(Zs, t), a(za, t), a(xa, t), a(Ya, t);
3423
+ Object.defineProperty(t, "__esModule", { value: !0 }), a(Zs, t), a(xa, t), a(Ya, t), a(Ka, t);
3424
3424
  })(Mn);
3425
3425
  var fs;
3426
3426
  function Ws() {
@@ -3686,7 +3686,7 @@ function T3(t, e) {
3686
3686
  function O3(t, e) {
3687
3687
  return {
3688
3688
  ...t,
3689
- status: T3(t, e) ? mn.done : mn.todo
3689
+ status: T3(t, e) ? Cn.done : Cn.todo
3690
3690
  };
3691
3691
  }
3692
3692
  const zs = (t) => {
@@ -3794,7 +3794,7 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
3794
3794
  v("span", F3, G(n.$t("template.phases.title")), 1)
3795
3795
  ]),
3796
3796
  n.phases ? (p(), g("ul", U3, [
3797
- (p(!0), g(ve, null, _e(n.phases, (o) => (p(), P(An, {
3797
+ (p(!0), g(ve, null, _e(n.phases, (o) => (p(), P(qa, {
3798
3798
  key: o.id,
3799
3799
  label: o.name || o.id,
3800
3800
  color: "primary",
@@ -3836,7 +3836,7 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
3836
3836
  const J3 = { class: "ao-page-header" }, e5 = { class: "ao-page-header-main" }, t5 = {
3837
3837
  key: 0,
3838
3838
  class: "ao-page-header-secondary"
3839
- }, Ka = /* @__PURE__ */ z({
3839
+ }, Ga = /* @__PURE__ */ z({
3840
3840
  __name: "AoPageHeader",
3841
3841
  props: {
3842
3842
  canGoBack: { type: Boolean }
@@ -3869,7 +3869,7 @@ const a5 = ["type"], n5 = {
3869
3869
  iconName: {},
3870
3870
  iconPosition: {},
3871
3871
  type: { default: () => "button" },
3872
- color: { default: () => Sn.BLACK },
3872
+ color: { default: () => An.BLACK },
3873
3873
  size: { default: () => Wa.MD },
3874
3874
  isLoading: { type: Boolean, default: () => !1 },
3875
3875
  corners: { default: () => Os.ROUNDED }
@@ -4207,7 +4207,7 @@ function Ln(t, e) {
4207
4207
  function Ft(t) {
4208
4208
  return t.split("-")[0];
4209
4209
  }
4210
- function Ga(t) {
4210
+ function Xa(t) {
4211
4211
  return t.split("-")[1];
4212
4212
  }
4213
4213
  function $5(t) {
@@ -4224,15 +4224,15 @@ function Ys(t) {
4224
4224
  }
4225
4225
  function k5(t, e, a) {
4226
4226
  a === void 0 && (a = !1);
4227
- const n = Ga(t), s = Ys(t), o = xs(s);
4227
+ const n = Xa(t), s = Ys(t), o = xs(s);
4228
4228
  let i = s === "x" ? n === (a ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
4229
4229
  return e.reference[o] > e.floating[o] && (i = Ba(i)), [i, Ba(i)];
4230
4230
  }
4231
4231
  function S5(t) {
4232
4232
  const e = Ba(t);
4233
- return [gn(t), e, gn(e)];
4233
+ return [_n(t), e, _n(e)];
4234
4234
  }
4235
- function gn(t) {
4235
+ function _n(t) {
4236
4236
  return t.replace(/start|end/g, (e) => w5[e]);
4237
4237
  }
4238
4238
  function A5(t, e, a) {
@@ -4249,9 +4249,9 @@ function A5(t, e, a) {
4249
4249
  }
4250
4250
  }
4251
4251
  function M5(t, e, a, n) {
4252
- const s = Ga(t);
4252
+ const s = Xa(t);
4253
4253
  let o = A5(Ft(t), a === "start", n);
4254
- return s && (o = o.map((i) => i + "-" + s), e && (o = o.concat(o.map(gn)))), o;
4254
+ return s && (o = o.map((i) => i + "-" + s), e && (o = o.concat(o.map(_n)))), o;
4255
4255
  }
4256
4256
  function Ba(t) {
4257
4257
  return t.replace(/left|right|bottom|top/g, (e) => b5[e]);
@@ -4320,7 +4320,7 @@ function vs(t, e, a) {
4320
4320
  y: n.y
4321
4321
  };
4322
4322
  }
4323
- switch (Ga(e)) {
4323
+ switch (Xa(e)) {
4324
4324
  case "start":
4325
4325
  h[i] -= d * (a && c ? -1 : 1);
4326
4326
  break;
@@ -4522,7 +4522,7 @@ const I5 = function(t) {
4522
4522
  apply: i = () => {
4523
4523
  },
4524
4524
  ...r
4525
- } = Ln(t, e), l = await Ks(e, r), c = Ft(a), u = Ga(a), f = Hn(a) === "y", {
4525
+ } = Ln(t, e), l = await Ks(e, r), c = Ft(a), u = Xa(a), f = Hn(a) === "y", {
4526
4526
  width: d,
4527
4527
  height: h
4528
4528
  } = n.floating;
@@ -4596,7 +4596,7 @@ function Dn(t) {
4596
4596
  }
4597
4597
  function D5(t) {
4598
4598
  let e = Ut(t);
4599
- for (; Ue(e) && !Xa(e); ) {
4599
+ for (; Ue(e) && !Qa(e); ) {
4600
4600
  if (Dn(e))
4601
4601
  return e;
4602
4602
  e = Ut(e);
@@ -4606,13 +4606,13 @@ function D5(t) {
4606
4606
  function Pn() {
4607
4607
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
4608
4608
  }
4609
- function Xa(t) {
4609
+ function Qa(t) {
4610
4610
  return ["html", "body", "#document"].includes(ft(t));
4611
4611
  }
4612
4612
  function Ve(t) {
4613
4613
  return ke(t).getComputedStyle(t);
4614
4614
  }
4615
- function Qa(t) {
4615
+ function Ja(t) {
4616
4616
  return et(t) ? {
4617
4617
  scrollLeft: t.scrollLeft,
4618
4618
  scrollTop: t.scrollTop
@@ -4635,7 +4635,7 @@ function Ut(t) {
4635
4635
  }
4636
4636
  function Xs(t) {
4637
4637
  const e = Ut(t);
4638
- return Xa(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Ue(e) && ga(e) ? e : Xs(e);
4638
+ return Qa(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Ue(e) && ga(e) ? e : Xs(e);
4639
4639
  }
4640
4640
  function ca(t, e, a) {
4641
4641
  var n;
@@ -4718,7 +4718,7 @@ function B5(t) {
4718
4718
  scrollTop: 0
4719
4719
  }, r = pt(1);
4720
4720
  const l = pt(0);
4721
- if ((s || !s && n !== "fixed") && ((ft(a) !== "body" || ga(o)) && (i = Qa(a)), Ue(a))) {
4721
+ if ((s || !s && n !== "fixed") && ((ft(a) !== "body" || ga(o)) && (i = Ja(a)), Ue(a))) {
4722
4722
  const c = St(a);
4723
4723
  r = Vt(a), l.x = c.x + a.clientLeft, l.y = c.y + a.clientTop;
4724
4724
  }
@@ -4733,10 +4733,10 @@ function R5(t) {
4733
4733
  return Array.from(t.getClientRects());
4734
4734
  }
4735
4735
  function ei(t) {
4736
- return St(at(t)).left + Qa(t).scrollLeft;
4736
+ return St(at(t)).left + Ja(t).scrollLeft;
4737
4737
  }
4738
4738
  function N5(t) {
4739
- const e = at(t), a = Qa(t), n = t.ownerDocument.body, s = Ee(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), o = Ee(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight);
4739
+ const e = at(t), a = Ja(t), n = t.ownerDocument.body, s = Ee(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), o = Ee(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight);
4740
4740
  let i = -a.scrollLeft + ei(t);
4741
4741
  const r = -a.scrollTop;
4742
4742
  return Ve(n).direction === "rtl" && (i += Ee(e.clientWidth, n.clientWidth) - s), {
@@ -4790,7 +4790,7 @@ function ms(t, e, a) {
4790
4790
  }
4791
4791
  function ti(t, e) {
4792
4792
  const a = Ut(t);
4793
- return a === e || !et(a) || Xa(a) ? !1 : Ve(a).position === "fixed" || ti(a, e);
4793
+ return a === e || !et(a) || Qa(a) ? !1 : Ve(a).position === "fixed" || ti(a, e);
4794
4794
  }
4795
4795
  function U5(t, e) {
4796
4796
  const a = e.get(t);
@@ -4799,7 +4799,7 @@ function U5(t, e) {
4799
4799
  let n = ca(t, [], !1).filter((r) => et(r) && ft(r) !== "body"), s = null;
4800
4800
  const o = Ve(t).position === "fixed";
4801
4801
  let i = o ? Ut(t) : t;
4802
- for (; et(i) && !Xa(i); ) {
4802
+ for (; et(i) && !Qa(i); ) {
4803
4803
  const r = Ve(i), l = Dn(i);
4804
4804
  !l && r.position === "fixed" && (s = null), (o ? !l && !s : !l && r.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) || ga(i) && !l && ti(t, i)) ? n = n.filter((u) => u !== i) : s = r, i = Ut(i);
4805
4805
  }
@@ -4834,7 +4834,7 @@ function q5(t, e, a) {
4834
4834
  };
4835
4835
  const l = pt(0);
4836
4836
  if (n || !n && !o)
4837
- if ((ft(e) !== "body" || ga(s)) && (r = Qa(e)), n) {
4837
+ if ((ft(e) !== "body" || ga(s)) && (r = Ja(e)), n) {
4838
4838
  const c = St(e, !0, o, e);
4839
4839
  l.x = c.x + e.clientLeft, l.y = c.y + e.clientTop;
4840
4840
  } else
@@ -5042,7 +5042,7 @@ const X5 = (t, e, a) => {
5042
5042
  c();
5043
5043
  }), Ts(() => {
5044
5044
  r.value();
5045
- }), $n(() => {
5045
+ }), kn(() => {
5046
5046
  r.value();
5047
5047
  });
5048
5048
  };
@@ -5110,7 +5110,7 @@ function a7(t, e, a) {
5110
5110
  }
5111
5111
  };
5112
5112
  }
5113
- function vn(t, e = !0) {
5113
+ function hn(t, e = !0) {
5114
5114
  return e ? String(t).toLowerCase().trim() : String(t).toLowerCase().normalize("NFD").trim().replace(new RegExp(/æ/g), "ae").replace(new RegExp(/œ/g), "oe").replace(new RegExp(/ø/g), "o").replace(/\p{Diacritic}/gu, "");
5115
5115
  }
5116
5116
  function n7(t) {
@@ -5161,23 +5161,23 @@ function i7(t, e, a) {
5161
5161
  disabledProp: ae,
5162
5162
  searchStart: le,
5163
5163
  searchFilter: ne
5164
- } = Ae(t), re = Mt().proxy, Y = a.iv, V = a.ev, X = a.search, he = a.clearSearch, we = a.update, Kt = a.pointer, Gt = a.setPointer, nt = a.clearPointer, _a = a.focus, an = a.deactivate, st = a.close, ya = a.localize, it = ee([]), Ne = ee([]), Me = ee(!1), Be = ee(null), qe = ee(N.value && i.value === -1 ? 10 : i.value), Xt = S(() => l.value || c.value || !1), ba = S(() => f.value !== void 0 ? f.value : d.value !== void 0 ? d.value : !0), Te = S(() => {
5164
+ } = Ae(t), re = Mt().proxy, Y = a.iv, V = a.ev, X = a.search, he = a.clearSearch, we = a.update, Kt = a.pointer, Gt = a.setPointer, nt = a.clearPointer, _a = a.focus, nn = a.deactivate, st = a.close, ya = a.localize, it = ee([]), Ne = ee([]), Me = ee(!1), Be = ee(null), qe = ee(N.value && i.value === -1 ? 10 : i.value), Xt = S(() => l.value || c.value || !1), ba = S(() => f.value !== void 0 ? f.value : d.value !== void 0 ? d.value : !0), Te = S(() => {
5165
5165
  if (ie.value) {
5166
5166
  let $ = _t.value || /* istanbul ignore next */
5167
5167
  [], B = [];
5168
5168
  return $.forEach((oe) => {
5169
- cn(oe[M.value]).forEach((me) => {
5169
+ dn(oe[M.value]).forEach((me) => {
5170
5170
  B.push(Object.assign({}, me, oe[ae.value] ? { [ae.value]: !0 } : {}));
5171
5171
  });
5172
5172
  }), B;
5173
5173
  } else {
5174
- let $ = cn(Ne.value || /* istanbul ignore next */
5174
+ let $ = dn(Ne.value || /* istanbul ignore next */
5175
5175
  []);
5176
5176
  return it.value.length && ($ = $.concat(it.value)), $;
5177
5177
  }
5178
5178
  }), Qt = S(() => {
5179
5179
  let $ = Te.value;
5180
- return E.value && ($ = $.reverse()), Ot.value.length && ($ = Ot.value.concat($)), un($);
5180
+ return E.value && ($ = $.reverse()), Ot.value.length && ($ = Ot.value.concat($)), cn($);
5181
5181
  }), ot = S(() => {
5182
5182
  let $ = Qt.value;
5183
5183
  return qe.value > 0 && ($ = $.slice(0, qe.value)), $;
@@ -5198,22 +5198,22 @@ function i7(t, e, a) {
5198
5198
  [M.value]: [...Ot.value],
5199
5199
  __CREATE__: !0
5200
5200
  }].concat($)), $;
5201
- }), nn = S(() => {
5201
+ }), sn = S(() => {
5202
5202
  if (!ie.value)
5203
5203
  return [];
5204
5204
  let $ = wa.value;
5205
5205
  return Ai(($ || /* istanbul ignore next */
5206
5206
  []).map((B, oe) => {
5207
- const me = cn(B[M.value]);
5207
+ const me = dn(B[M.value]);
5208
5208
  return {
5209
5209
  ...B,
5210
5210
  index: oe,
5211
5211
  group: !0,
5212
- [M.value]: un(me, !1).map((bt) => Object.assign({}, bt, B[ae.value] ? { [ae.value]: !0 } : {})),
5213
- __VISIBLE__: un(me).map((bt) => Object.assign({}, bt, B[ae.value] ? { [ae.value]: !0 } : {}))
5212
+ [M.value]: cn(me, !1).map((bt) => Object.assign({}, bt, B[ae.value] ? { [ae.value]: !0 } : {})),
5213
+ __VISIBLE__: cn(me).map((bt) => Object.assign({}, bt, B[ae.value] ? { [ae.value]: !0 } : {}))
5214
5214
  };
5215
5215
  }));
5216
- }), sn = S(() => {
5216
+ }), on = S(() => {
5217
5217
  switch (s.value) {
5218
5218
  case "single":
5219
5219
  return !je(Y.value[H.value]);
@@ -5276,8 +5276,8 @@ function i7(t, e, a) {
5276
5276
  case "multiple":
5277
5277
  return !je(Y.value) && Y.value.map((B) => B[H.value]).indexOf($[H.value]) !== -1;
5278
5278
  }
5279
- }, on = ($) => $[ae.value] === !0, rn = () => O === void 0 || O.value === -1 || !sn.value && O.value > 0 ? !1 : Y.value.length >= O.value, gi = ($) => {
5280
- if (!on($)) {
5279
+ }, rn = ($) => $[ae.value] === !0, ln = () => O === void 0 || O.value === -1 || !on.value && O.value > 0 ? !1 : Y.value.length >= O.value, gi = ($) => {
5280
+ if (!rn($)) {
5281
5281
  if (J && J.value && !ze($) && $.__CREATE__ && ($ = { ...$ }, delete $.__CREATE__, $ = J.value($, re), $ instanceof Promise)) {
5282
5282
  Me.value = !0, $.then((B) => {
5283
5283
  Me.value = !1, ns(B);
@@ -5293,45 +5293,45 @@ function i7(t, e, a) {
5293
5293
  q.value && It($), Z.value && (nt(), st());
5294
5294
  return;
5295
5295
  }
5296
- $ && ln($), L.value && he(), R.value && (nt(), st()), $ && Et($);
5296
+ $ && un($), L.value && he(), R.value && (nt(), st()), $ && Et($);
5297
5297
  break;
5298
5298
  case "multiple":
5299
5299
  if ($ && ze($)) {
5300
5300
  It($), Z.value && (nt(), st());
5301
5301
  return;
5302
5302
  }
5303
- if (rn()) {
5303
+ if (ln()) {
5304
5304
  e.emit("max", re);
5305
5305
  return;
5306
5306
  }
5307
- $ && (ln($), Et($)), L.value && he(), r.value && nt(), R.value && st();
5307
+ $ && (un($), Et($)), L.value && he(), r.value && nt(), R.value && st();
5308
5308
  break;
5309
5309
  case "tags":
5310
5310
  if ($ && ze($)) {
5311
5311
  It($), Z.value && (nt(), st());
5312
5312
  return;
5313
5313
  }
5314
- if (rn()) {
5314
+ if (ln()) {
5315
5315
  e.emit("max", re);
5316
5316
  return;
5317
5317
  }
5318
- $ && ln($), L.value && he(), $ && Et($), r.value && nt(), R.value && st();
5318
+ $ && un($), L.value && he(), $ && Et($), r.value && nt(), R.value && st();
5319
5319
  break;
5320
5320
  }
5321
5321
  R.value || _a();
5322
5322
  }, _i = ($) => {
5323
- if (!(on($) || s.value === "single" || !I.value)) {
5323
+ if (!(rn($) || s.value === "single" || !I.value)) {
5324
5324
  switch (s.value) {
5325
5325
  case "multiple":
5326
5326
  case "tags":
5327
5327
  bi($[M.value]) ? It($[M.value]) : Et(
5328
5328
  $[M.value].filter((B) => Y.value.map((oe) => oe[H.value]).indexOf(B[H.value]) === -1).filter((B) => !B[ae.value]).filter((B, oe) => Y.value.length + 1 + oe <= O.value || O.value === -1)
5329
- ), r.value && Kt.value && Gt(nn.value.filter((B) => !B[ae.value])[Kt.value.index]);
5329
+ ), r.value && Kt.value && Gt(sn.value.filter((B) => !B[ae.value])[Kt.value.index]);
5330
5330
  break;
5331
5331
  }
5332
- R.value && an();
5332
+ R.value && nn();
5333
5333
  }
5334
- }, ln = ($) => {
5334
+ }, un = ($) => {
5335
5335
  xe($[H.value]) === void 0 && Xt.value && (e.emit("tag", $[H.value], re), e.emit("option", $[H.value], re), e.emit("create", $[H.value], re), ba.value && Si($), he());
5336
5336
  }, yi = () => {
5337
5337
  s.value !== "single" && Et(ot.value.filter(($) => !$.disabled && !ze($)));
@@ -5339,17 +5339,17 @@ function i7(t, e, a) {
5339
5339
  it.value.push($);
5340
5340
  }, Ai = ($) => m.value ? $.filter(
5341
5341
  (B) => X.value ? B.__VISIBLE__.length : B[M.value].length
5342
- ) : $.filter((B) => X.value ? B.__VISIBLE__.length : !0), un = ($, B = !0) => {
5342
+ ) : $.filter((B) => X.value ? B.__VISIBLE__.length : !0), cn = ($, B = !0) => {
5343
5343
  let oe = $;
5344
5344
  if (X.value && C.value) {
5345
5345
  let me = ne.value;
5346
5346
  me || (me = (bt, is, r8) => yt.value.some((Ti) => {
5347
- let os = vn(ya(bt[Ti]), x.value);
5348
- return le.value ? os.startsWith(vn(is, x.value)) : os.indexOf(vn(is, x.value)) !== -1;
5347
+ let os = hn(ya(bt[Ti]), x.value);
5348
+ return le.value ? os.startsWith(hn(is, x.value)) : os.indexOf(hn(is, x.value)) !== -1;
5349
5349
  })), oe = oe.filter((bt) => me(bt, X.value, re));
5350
5350
  }
5351
5351
  return r.value && B && (oe = oe.filter((me) => !ki(me))), oe;
5352
- }, cn = ($) => {
5352
+ }, dn = ($) => {
5353
5353
  let B = $;
5354
5354
  return n7(B) && (B = Object.keys(B).map((oe) => {
5355
5355
  let me = B[oe];
@@ -5365,8 +5365,8 @@ function i7(t, e, a) {
5365
5365
  }).finally(() => {
5366
5366
  B();
5367
5367
  });
5368
- })), dn = () => {
5369
- if (sn.value)
5368
+ })), pn = () => {
5369
+ if (on.value)
5370
5370
  if (s.value === "single") {
5371
5371
  let $ = xe(Y.value[H.value]);
5372
5372
  if ($ !== void 0) {
@@ -5424,21 +5424,21 @@ function i7(t, e, a) {
5424
5424
  break;
5425
5425
  }
5426
5426
  }, { deep: !0 }), de(n, ($, B) => {
5427
- typeof t.options == "function" ? k.value && (!B || $ && $.toString() !== B.toString()) && ka() : (Ne.value = t.options, Object.keys(Y.value).length || $a(), dn());
5428
- }), de(u, dn), de(i, ($, B) => {
5427
+ typeof t.options == "function" ? k.value && (!B || $ && $.toString() !== B.toString()) && ka() : (Ne.value = t.options, Object.keys(Y.value).length || $a(), pn());
5428
+ }), de(u, pn), de(i, ($, B) => {
5429
5429
  qe.value = N.value && $ === -1 ? 10 : $;
5430
5430
  }), {
5431
5431
  pfo: Qt,
5432
5432
  fo: ot,
5433
5433
  filteredOptions: ot,
5434
- hasSelected: sn,
5434
+ hasSelected: on,
5435
5435
  multipleLabelText: pi,
5436
5436
  eo: Te,
5437
5437
  extendedOptions: Te,
5438
5438
  eg: _t,
5439
5439
  extendedGroups: _t,
5440
- fg: nn,
5441
- filteredGroups: nn,
5440
+ fg: sn,
5441
+ filteredGroups: sn,
5442
5442
  noOptions: fi,
5443
5443
  noResults: vi,
5444
5444
  resolving: Me,
@@ -5450,15 +5450,15 @@ function i7(t, e, a) {
5450
5450
  selectAll: yi,
5451
5451
  clear: as,
5452
5452
  isSelected: ze,
5453
- isDisabled: on,
5454
- isMax: rn,
5453
+ isDisabled: rn,
5454
+ isMax: ln,
5455
5455
  getOption: xe,
5456
5456
  handleOptionClick: gi,
5457
5457
  handleGroupClick: _i,
5458
5458
  handleTagRemove: Ci,
5459
5459
  refreshOptions: Mi,
5460
5460
  resolveOptions: ka,
5461
- refreshLabels: dn
5461
+ refreshLabels: pn
5462
5462
  };
5463
5463
  }
5464
5464
  function o7(t, e, a) {
@@ -5574,14 +5574,14 @@ function Bn(t) {
5574
5574
  return t instanceof e || t instanceof ShadowRoot;
5575
5575
  }
5576
5576
  var kt = Math.max, Na = Math.min, Zt = Math.round;
5577
- function _n() {
5577
+ function yn() {
5578
5578
  var t = navigator.userAgentData;
5579
5579
  return t != null && t.brands && Array.isArray(t.brands) ? t.brands.map(function(e) {
5580
5580
  return e.brand + "/" + e.version;
5581
5581
  }).join(" ") : navigator.userAgent;
5582
5582
  }
5583
5583
  function ni() {
5584
- return !/^((?!chrome|android).)*safari/i.test(_n());
5584
+ return !/^((?!chrome|android).)*safari/i.test(yn());
5585
5585
  }
5586
5586
  function Wt(t, e, a) {
5587
5587
  e === void 0 && (e = !1), a === void 0 && (a = !1);
@@ -5664,7 +5664,7 @@ function si(t) {
5664
5664
  height: n
5665
5665
  };
5666
5666
  }
5667
- function Ja(t) {
5667
+ function en(t) {
5668
5668
  return Ze(t) === "html" ? t : (
5669
5669
  // this is a quicker (but less type safe) way to save quite some bytes from the bundle
5670
5670
  // $FlowFixMe[incompatible-return]
@@ -5677,7 +5677,7 @@ function Ja(t) {
5677
5677
  );
5678
5678
  }
5679
5679
  function ii(t) {
5680
- return ["html", "body", "#document"].indexOf(Ze(t)) >= 0 ? t.ownerDocument.body : Pe(t) && jn(t) ? t : ii(Ja(t));
5680
+ return ["html", "body", "#document"].indexOf(Ze(t)) >= 0 ? t.ownerDocument.body : Pe(t) && jn(t) ? t : ii(en(t));
5681
5681
  }
5682
5682
  function ia(t, e) {
5683
5683
  var a;
@@ -5685,7 +5685,7 @@ function ia(t, e) {
5685
5685
  var n = ii(t), s = n === ((a = t.ownerDocument) == null ? void 0 : a.body), o = Se(n), i = s ? [o].concat(o.visualViewport || [], jn(n) ? n : []) : n, r = e.concat(i);
5686
5686
  return s ? r : (
5687
5687
  // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
5688
- r.concat(ia(Ja(i)))
5688
+ r.concat(ia(en(i)))
5689
5689
  );
5690
5690
  }
5691
5691
  function d7(t) {
@@ -5696,13 +5696,13 @@ function gs(t) {
5696
5696
  tt(t).position === "fixed" ? null : t.offsetParent;
5697
5697
  }
5698
5698
  function p7(t) {
5699
- var e = /firefox/i.test(_n()), a = /Trident/i.test(_n());
5699
+ var e = /firefox/i.test(yn()), a = /Trident/i.test(yn());
5700
5700
  if (a && Pe(t)) {
5701
5701
  var n = tt(t);
5702
5702
  if (n.position === "fixed")
5703
5703
  return null;
5704
5704
  }
5705
- var s = Ja(t);
5705
+ var s = en(t);
5706
5706
  for (Bn(s) && (s = s.host); Pe(s) && ["html", "body"].indexOf(Ze(s)) < 0; ) {
5707
5707
  var o = tt(s);
5708
5708
  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")
@@ -5711,14 +5711,14 @@ function p7(t) {
5711
5711
  }
5712
5712
  return null;
5713
5713
  }
5714
- function en(t) {
5714
+ function tn(t) {
5715
5715
  for (var e = Se(t), a = gs(t); a && d7(a) && tt(a).position === "static"; )
5716
5716
  a = gs(a);
5717
5717
  return a && (Ze(a) === "html" || Ze(a) === "body" && tt(a).position === "static") ? e : a || p7(t) || e;
5718
5718
  }
5719
- var Re = "top", We = "bottom", vt = "right", Ge = "left", Fn = "auto", tn = [Re, We, vt, Ge], qt = "start", da = "end", f7 = "clippingParents", oi = "viewport", sa = "popper", v7 = "reference", _s = /* @__PURE__ */ tn.reduce(function(t, e) {
5719
+ var Re = "top", We = "bottom", vt = "right", Ge = "left", Fn = "auto", an = [Re, We, vt, Ge], qt = "start", da = "end", f7 = "clippingParents", oi = "viewport", sa = "popper", v7 = "reference", _s = /* @__PURE__ */ an.reduce(function(t, e) {
5720
5720
  return t.concat([e + "-" + qt, e + "-" + da]);
5721
- }, []), h7 = /* @__PURE__ */ [].concat(tn, [Fn]).reduce(function(t, e) {
5721
+ }, []), h7 = /* @__PURE__ */ [].concat(an, [Fn]).reduce(function(t, e) {
5722
5722
  return t.concat([e, e + "-" + qt, e + "-" + da]);
5723
5723
  }, []), m7 = "beforeRead", C7 = "read", g7 = "afterRead", _7 = "beforeMain", y7 = "main", b7 = "afterMain", w7 = "beforeWrite", $7 = "write", k7 = "afterWrite", S7 = [m7, C7, g7, _7, y7, b7, w7, $7, k7];
5724
5724
  function A7(t) {
@@ -5807,7 +5807,7 @@ function L7(t, e) {
5807
5807
  }
5808
5808
  return !1;
5809
5809
  }
5810
- function yn(t) {
5810
+ function bn(t) {
5811
5811
  return Object.assign({}, t, {
5812
5812
  left: t.x,
5813
5813
  top: t.y,
@@ -5820,10 +5820,10 @@ function H7(t, e) {
5820
5820
  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;
5821
5821
  }
5822
5822
  function ys(t, e, a) {
5823
- return e === oi ? yn(E7(t, a)) : At(e) ? H7(e, a) : yn(I7(gt(t)));
5823
+ return e === oi ? bn(E7(t, a)) : At(e) ? H7(e, a) : bn(I7(gt(t)));
5824
5824
  }
5825
5825
  function D7(t) {
5826
- var e = ia(Ja(t)), a = ["absolute", "fixed"].indexOf(tt(t).position) >= 0, n = a && Pe(t) ? en(t) : t;
5826
+ var e = ia(en(t)), a = ["absolute", "fixed"].indexOf(tt(t).position) >= 0, n = a && Pe(t) ? tn(t) : t;
5827
5827
  return At(n) ? e.filter(function(s) {
5828
5828
  return At(s) && L7(s, n) && Ze(s) !== "body";
5829
5829
  }) : [];
@@ -5909,12 +5909,12 @@ function B7(t, e) {
5909
5909
  }
5910
5910
  function Un(t, e) {
5911
5911
  e === void 0 && (e = {});
5912
- var a = e, n = a.placement, s = n === void 0 ? t.placement : n, o = a.strategy, i = o === void 0 ? t.strategy : o, r = a.boundary, l = r === void 0 ? f7 : r, c = a.rootBoundary, u = c === void 0 ? oi : c, f = a.elementContext, d = f === void 0 ? sa : f, h = a.altBoundary, w = h === void 0 ? !1 : h, b = a.padding, y = b === void 0 ? 0 : b, k = V7(typeof y != "number" ? y : B7(y, tn)), _ = d === sa ? v7 : sa, C = t.rects.popper, D = t.elements[w ? _ : d], L = P7(At(D) ? D : D.contextElement || gt(t.elements.popper), l, u, i), H = Wt(t.elements.reference), F = li({
5912
+ var a = e, n = a.placement, s = n === void 0 ? t.placement : n, o = a.strategy, i = o === void 0 ? t.strategy : o, r = a.boundary, l = r === void 0 ? f7 : r, c = a.rootBoundary, u = c === void 0 ? oi : c, f = a.elementContext, d = f === void 0 ? sa : f, h = a.altBoundary, w = h === void 0 ? !1 : h, b = a.padding, y = b === void 0 ? 0 : b, k = V7(typeof y != "number" ? y : B7(y, an)), _ = d === sa ? v7 : sa, C = t.rects.popper, D = t.elements[w ? _ : d], L = P7(At(D) ? D : D.contextElement || gt(t.elements.popper), l, u, i), H = Wt(t.elements.reference), F = li({
5913
5913
  reference: H,
5914
5914
  element: C,
5915
5915
  strategy: "absolute",
5916
5916
  placement: s
5917
- }), U = yn(Object.assign({}, C, F)), q = d === sa ? U : H, O = {
5917
+ }), U = bn(Object.assign({}, C, F)), q = d === sa ? U : H, O = {
5918
5918
  top: L.top - q.top + k.top,
5919
5919
  bottom: q.bottom - L.bottom + k.bottom,
5920
5920
  left: L.left - q.left + k.left,
@@ -5980,7 +5980,7 @@ function R7(t) {
5980
5980
  var k = u.elements, _ = k.reference, C = k.popper;
5981
5981
  if (ws(_, C)) {
5982
5982
  u.rects = {
5983
- reference: c7(_, en(C), u.options.strategy === "fixed"),
5983
+ reference: c7(_, tn(C), u.options.strategy === "fixed"),
5984
5984
  popper: si(C)
5985
5985
  }, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(O) {
5986
5986
  return u.modifiersData[O.name] = Object.assign({}, O.data);
@@ -6101,7 +6101,7 @@ function $s(t) {
6101
6101
  h = y.x, b = y.y;
6102
6102
  var k = i.hasOwnProperty("x"), _ = i.hasOwnProperty("y"), C = Ge, D = Re, L = window;
6103
6103
  if (c) {
6104
- var H = en(a), F = "clientHeight", U = "clientWidth";
6104
+ var H = tn(a), F = "clientHeight", U = "clientWidth";
6105
6105
  if (H === Se(a) && (H = gt(a), tt(H).position !== "static" && r === "absolute" && (F = "scrollHeight", U = "scrollWidth")), H = H, s === Re || (s === Ge || s === vt) && o === da) {
6106
6106
  D = We;
6107
6107
  var q = f && H === L && L.visualViewport ? L.visualViewport.height : (
@@ -6241,7 +6241,7 @@ function ep(t) {
6241
6241
  var Z, ie = D === "y" ? Re : Ge, E = D === "y" ? We : vt, N = D === "y" ? "height" : "width", M = H[D], m = M + y[ie], I = M - y[E], J = h ? -U[N] / 2 : 0, ae = _ === qt ? F[N] : U[N], le = _ === qt ? -U[N] : -F[N], ne = e.elements.arrow, re = h && ne ? si(ne) : {
6242
6242
  width: 0,
6243
6243
  height: 0
6244
- }, Y = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), V = Y[ie], X = Y[E], he = Ia(0, F[N], re[N]), we = C ? F[N] / 2 - J - he - V - O.mainAxis : ae - he - V - O.mainAxis, Kt = C ? -F[N] / 2 + J + he + X + O.mainAxis : le + he + X + O.mainAxis, Gt = e.elements.arrow && en(e.elements.arrow), nt = Gt ? D === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, _a = (Z = x == null ? void 0 : x[D]) != null ? Z : 0, an = M + we - _a - nt, st = M + Kt - _a, ya = Ia(h ? Na(m, an) : m, M, h ? kt(I, st) : I);
6244
+ }, Y = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), V = Y[ie], X = Y[E], he = Ia(0, F[N], re[N]), we = C ? F[N] / 2 - J - he - V - O.mainAxis : ae - he - V - O.mainAxis, Kt = C ? -F[N] / 2 + J + he + X + O.mainAxis : le + he + X + O.mainAxis, Gt = e.elements.arrow && tn(e.elements.arrow), nt = Gt ? D === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, _a = (Z = x == null ? void 0 : x[D]) != null ? Z : 0, nn = M + we - _a - nt, st = M + Kt - _a, ya = Ia(h ? Na(m, nn) : m, M, h ? kt(I, st) : I);
6245
6245
  H[D] = ya, R[D] = ya - M;
6246
6246
  }
6247
6247
  if (r) {
@@ -6281,7 +6281,7 @@ function sp(t, e) {
6281
6281
  e === void 0 && (e = {});
6282
6282
  var a = e, n = a.placement, s = a.boundary, o = a.rootBoundary, i = a.padding, r = a.flipVariations, l = a.allowedAutoPlacements, c = l === void 0 ? h7 : l, u = zt(n), f = u ? r ? _s : _s.filter(function(w) {
6283
6283
  return zt(w) === u;
6284
- }) : tn, d = f.filter(function(w) {
6284
+ }) : an, d = f.filter(function(w) {
6285
6285
  return c.indexOf(w) >= 0;
6286
6286
  });
6287
6287
  d.length === 0 && (d = f);
@@ -7869,7 +7869,7 @@ const qp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], zp = { class:
7869
7869
  o.forEach((u) => {
7870
7870
  document.body.addEventListener(u, (f) => f.preventDefault());
7871
7871
  });
7872
- }), $n(() => {
7872
+ }), kn(() => {
7873
7873
  o.forEach((u) => {
7874
7874
  document.body.removeEventListener(
7875
7875
  u,
@@ -8157,7 +8157,7 @@ const cf = { class: "ao-comments__header" }, df = ["onSubmit"], pf = ["placehold
8157
8157
  };
8158
8158
  }
8159
8159
  });
8160
- const bn = /* @__PURE__ */ z({
8160
+ const wn = /* @__PURE__ */ z({
8161
8161
  __name: "AoButtonCheck",
8162
8162
  props: {
8163
8163
  modelValue: { type: Boolean },
@@ -8169,7 +8169,7 @@ const bn = /* @__PURE__ */ z({
8169
8169
  e("update:modelValue", !a.modelValue);
8170
8170
  };
8171
8171
  return (s, o) => (p(), P(ce, {
8172
- color: s.modelValue ? s.color : Q(Sn).NEUTRAL,
8172
+ color: s.modelValue ? s.color : Q(An).NEUTRAL,
8173
8173
  "icon-position": "start",
8174
8174
  onClick: o[0] || (o[0] = () => n())
8175
8175
  }, null, 8, ["color"]));
@@ -8408,6 +8408,12 @@ const bn = /* @__PURE__ */ z({
8408
8408
  v("div", mf, [
8409
8409
  v("div", Cf, [
8410
8410
  v("div", gf, [
8411
+ A(qa, {
8412
+ label: "slug",
8413
+ variant: "solid",
8414
+ color: "primary",
8415
+ clickable: !0
8416
+ }),
8411
8417
  m.breadcrumbs ? (p(), g("div", _f, G(m.breadcrumbs), 1)) : T("", !0),
8412
8418
  A(ye, {
8413
8419
  title: m.activity.name || "",
@@ -8631,7 +8637,7 @@ const bn = /* @__PURE__ */ z({
8631
8637
  te(m.$slots, "default", { activity: m.activity })
8632
8638
  ]),
8633
8639
  v("div", av, [
8634
- A(bn, {
8640
+ A(wn, {
8635
8641
  modelValue: r.value,
8636
8642
  "onUpdate:modelValue": I[6] || (I[6] = (ne) => r.value = ne),
8637
8643
  modelModifiers: { lazy: !0 },
@@ -8646,7 +8652,7 @@ const bn = /* @__PURE__ */ z({
8646
8652
  }, null, 8, ["modelValue", "label", "disabled"])
8647
8653
  ]),
8648
8654
  m.isTemplate !== !0 && m.activity.createdBy.id === m.userId ? (p(), g("div", nv, [
8649
- A(bn, {
8655
+ A(wn, {
8650
8656
  modelValue: l.value,
8651
8657
  "onUpdate:modelValue": I[7] || (I[7] = (ne) => l.value = ne),
8652
8658
  modelModifiers: { lazy: !0 },
@@ -9143,7 +9149,7 @@ const _v = {
9143
9149
  return (M, m) => {
9144
9150
  var I, J, ae, le, ne, re;
9145
9151
  return s.value ? (p(), g("div", _v, [
9146
- A(Ka, {
9152
+ A(Ga, {
9147
9153
  "can-go-back": !0,
9148
9154
  onGoBack: m[1] || (m[1] = (Y) => M.$router.push({ name: Q(Dt).TEMPLATES_LIST }))
9149
9155
  }, {
@@ -9372,7 +9378,7 @@ const Ev = { class: "ao-card-project-phase__header" }, Iv = { class: "ao-card-pr
9372
9378
  return (c = a.milestones) == null ? void 0 : c.length;
9373
9379
  }), i = S(() => {
9374
9380
  var c;
9375
- return (c = a.milestones) == null ? void 0 : c.filter((u) => u.status === mn.done).length;
9381
+ return (c = a.milestones) == null ? void 0 : c.filter((u) => u.status === Cn.done).length;
9376
9382
  }), r = S(() => (i.value || 0) / (o.value || 1)), l = S({
9377
9383
  get: () => a.deadline ?? "",
9378
9384
  set: (c) => e("update:deadline", c != null && c.length ? c : null)
@@ -9974,7 +9980,7 @@ const ci = /* @__PURE__ */ j(h9, [["render", C9], ["__scopeId", "data-v-cbe33527
9974
9980
  return p(), g(ve, null, [
9975
9981
  v("div", He({ class: "ao-project-overview" }, O.$attrs), [
9976
9982
  v("div", g9, [
9977
- A(Ka, null, {
9983
+ A(Ga, null, {
9978
9984
  primary: W(() => [
9979
9985
  A(ci, {
9980
9986
  "is-left": !0,
@@ -10158,7 +10164,7 @@ const b9 = { class: "ao-card-feed__header" }, w9 = {
10158
10164
  }, {
10159
10165
  header: W(() => [
10160
10166
  v("div", b9, [
10161
- n.value ? (p(), P(An, {
10167
+ n.value ? (p(), P(qa, {
10162
10168
  key: 0,
10163
10169
  label: n.value,
10164
10170
  class: "ao-card-feed__project",
@@ -10275,7 +10281,7 @@ function zn(t) {
10275
10281
  const e = document.createElement("canvas"), a = e.getContext("2d"), n = t * 2;
10276
10282
  return e.width = n, e.height = n, a.fillStyle = "#ffffff", a.fillRect(0, 0, n, n), a.fillStyle = "#ccd5db", a.fillRect(0, 0, t, t), a.fillRect(t, t, t, t), e;
10277
10283
  }
10278
- function wn(t, e, a, n, s, o) {
10284
+ function $n(t, e, a, n, s, o) {
10279
10285
  const i = t === "l", r = e.createLinearGradient(0, 0, i ? a : 0, i ? 0 : n);
10280
10286
  r.addColorStop(0.01, s), r.addColorStop(0.99, o), e.fillStyle = r, e.fillRect(0, 0, a, n);
10281
10287
  }
@@ -10341,7 +10347,7 @@ var xn = z({
10341
10347
  methods: {
10342
10348
  renderColor() {
10343
10349
  const t = this.$refs.canvasSaturation, e = this.size, a = t.getContext("2d");
10344
- t.width = e, t.height = e, a.fillStyle = this.color, a.fillRect(0, 0, e, e), wn("l", a, e, e, "#FFFFFF", "rgba(255,255,255,0)"), wn("p", a, e, e, "rgba(0,0,0,0)", "#000000");
10350
+ t.width = e, t.height = e, a.fillStyle = this.color, a.fillRect(0, 0, e, e), $n("l", a, e, e, "#FFFFFF", "rgba(255,255,255,0)"), $n("p", a, e, e, "rgba(0,0,0,0)", "#000000");
10345
10351
  },
10346
10352
  renderSlide() {
10347
10353
  this.slideSaturationStyle = {
@@ -10526,7 +10532,7 @@ var Kn = z({
10526
10532
  methods: {
10527
10533
  renderColor() {
10528
10534
  const t = this.$refs.canvasAlpha, e = this.width, a = this.height, n = this.alphaSize, s = zn(n), o = t.getContext("2d");
10529
- t.width = e, t.height = a, o.fillStyle = o.createPattern(s, "repeat"), o.fillRect(0, 0, e, a), wn("p", o, e, a, "rgba(255,255,255,0)", this.color);
10535
+ t.width = e, t.height = a, o.fillStyle = o.createPattern(s, "repeat"), o.fillRect(0, 0, e, a), $n("p", o, e, a, "rgba(255,255,255,0)", this.color);
10530
10536
  },
10531
10537
  renderSlide() {
10532
10538
  this.slideAlphaStyle = {
@@ -10828,7 +10834,7 @@ var Jn = z({
10828
10834
  emits: ["selectColor"],
10829
10835
  setup(t, { emit: e }) {
10830
10836
  const a = ee(), n = ee([]), s = ee();
10831
- t.colorsHistoryKey && localStorage && (n.value = JSON.parse(localStorage.getItem(t.colorsHistoryKey)) || []), s.value = zn(4).toDataURL(), $n(() => {
10837
+ t.colorsHistoryKey && localStorage && (n.value = JSON.parse(localStorage.getItem(t.colorsHistoryKey)) || []), s.value = zn(4).toDataURL(), kn(() => {
10832
10838
  o(a.value);
10833
10839
  });
10834
10840
  function o(r) {
@@ -11358,7 +11364,7 @@ const p4 = /* @__PURE__ */ j(u4, [["render", d4]]), f4 = { class: "ao-project-mi
11358
11364
  title: ((D = i.value) == null ? void 0 : D.name) || _.milestoneId,
11359
11365
  level: 5
11360
11366
  }, null, 8, ["title"]),
11361
- A(bn, {
11367
+ A(wn, {
11362
11368
  modelValue: k.value,
11363
11369
  "onUpdate:modelValue": C[0] || (C[0] = (L) => k.value = L),
11364
11370
  modelModifiers: { lazy: !0 },
@@ -11607,7 +11613,7 @@ const S4 = /* @__PURE__ */ z({
11607
11613
  class: "ao-col-header__title",
11608
11614
  level: 4
11609
11615
  }, null, 8, ["title"]),
11610
- e.items ? (p(), P(An, {
11616
+ e.items ? (p(), P(qa, {
11611
11617
  key: 0,
11612
11618
  label: e.items,
11613
11619
  class: "ao-col-header__items",
@@ -11657,7 +11663,7 @@ function H4(t, e = 200, a = {}) {
11657
11663
  t
11658
11664
  );
11659
11665
  }
11660
- function hn(t) {
11666
+ function mn(t) {
11661
11667
  var e;
11662
11668
  const a = ja(t);
11663
11669
  return (e = a == null ? void 0 : a.$el) != null ? e : a;
@@ -11682,18 +11688,18 @@ function B4(t, e, a = {}) {
11682
11688
  immediate: r = !0
11683
11689
  } = a, l = V4(() => i && "IntersectionObserver" in i), c = S(() => {
11684
11690
  const w = ja(t);
11685
- return (Array.isArray(w) ? w : [w]).map(hn).filter(E4);
11691
+ return (Array.isArray(w) ? w : [w]).map(mn).filter(E4);
11686
11692
  });
11687
11693
  let u = oa;
11688
11694
  const f = ee(r), d = l.value ? de(
11689
- () => [c.value, hn(n), f.value],
11695
+ () => [c.value, mn(n), f.value],
11690
11696
  ([w, b]) => {
11691
11697
  if (u(), !f.value || !w.length)
11692
11698
  return;
11693
11699
  const y = new IntersectionObserver(
11694
11700
  e,
11695
11701
  {
11696
- root: hn(b),
11702
+ root: mn(b),
11697
11703
  rootMargin: s,
11698
11704
  threshold: o
11699
11705
  }
@@ -12040,7 +12046,7 @@ const K4 = { class: "ao-feed" }, G4 = { class: "ao-feed__filters" }, X4 = { clas
12040
12046
  return (E, N) => {
12041
12047
  var M;
12042
12048
  return p(), g("div", K4, [
12043
- A(Ka, null, {
12049
+ A(Ga, null, {
12044
12050
  primary: W(() => [
12045
12051
  v("div", G4, [
12046
12052
  a.project ? (p(), P(ci, {
@@ -12294,7 +12300,7 @@ const Dt = {
12294
12300
  }
12295
12301
  };
12296
12302
  return (r, l) => (p(), g("div", J4, [
12297
- A(Ka, null, {
12303
+ A(Ga, null, {
12298
12304
  secondary: W(() => [
12299
12305
  A(ce, {
12300
12306
  label: r.$t("templates.new"),
@@ -12430,7 +12436,7 @@ export {
12430
12436
  m8 as getProjectOverviewRoutes,
12431
12437
  h8 as getTemplateRoutes,
12432
12438
  v8 as listUpdateTypes,
12433
- mn as milestoneStatus,
12439
+ Cn as milestoneStatus,
12434
12440
  Fe as projectOverviewRoutes,
12435
12441
  R2 as ruleComparators,
12436
12442
  j2 as ruleDurationUnits,