@26lights/orcha 0.10.2 → 0.10.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/orcha.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as Y, openBlock as v, createBlock as j, unref as Z, mergeProps as Ve, createElementBlock as h, createElementVNode as d, pushScopeId as nn, popScopeId as sn, createStaticVNode as on, computed as w, resolveDynamicComponent as et, normalizeClass as X, renderSlot as ee, toDisplayString as q, createCommentVNode as S, ref as Q, watch as re, nextTick as Ee, withKeys as ze, toHandlers as ln, withCtx as R, createTextVNode as t1, createVNode as k, normalizeStyle as la, withModifiers as _e, createSlots as Ht, Fragment as ve, renderList as ye, onMounted as Dt, onBeforeUnmount as rn, onUnmounted as ra, toRefs as $e, getCurrentInstance as tt, toRef as ct, normalizeProps as un, guardReactiveProps as cn, onUpdated as dn, withDirectives as dt, vModelText as Et, vModelCheckbox as fn, Teleport as It, resolveComponent as vn, getCurrentScope as pn, onScopeDispose as hn, provide as mn } from "vue";
1
+ import { defineComponent as Y, openBlock as v, createBlock as j, unref as Z, mergeProps as Ve, createElementBlock as h, createElementVNode as d, pushScopeId as nn, popScopeId as sn, createStaticVNode as on, computed as w, resolveDynamicComponent as et, normalizeClass as G, renderSlot as J, toDisplayString as F, createCommentVNode as S, ref as X, watch as re, nextTick as Ee, withKeys as ze, toHandlers as ln, withCtx as R, createTextVNode as t1, createVNode as k, normalizeStyle as la, withModifiers as _e, createSlots as Dt, Fragment as ve, renderList as ye, onMounted as Ht, onBeforeUnmount as rn, onUnmounted as ra, toRefs as $e, getCurrentInstance as tt, toRef as ct, normalizeProps as un, guardReactiveProps as cn, onUpdated as dn, withDirectives as dt, vModelText as Et, vModelCheckbox as fn, Teleport as It, resolveComponent as vn, getCurrentScope as pn, onScopeDispose as hn, provide as mn } from "vue";
2
2
  import { RouterView as Cn } from "vue-router";
3
3
  import Ge from "vuedraggable";
4
4
  const N4 = /* @__PURE__ */ Y({
@@ -56,10 +56,10 @@ const En = /* @__PURE__ */ B(Mn, [["render", Sn]]), In = {}, On = {
56
56
  }, null, -1), Vn = [
57
57
  Ln
58
58
  ];
59
- function Hn(a, e) {
59
+ function Dn(a, e) {
60
60
  return v(), h("svg", On, Vn);
61
61
  }
62
- const Dn = /* @__PURE__ */ B(In, [["render", Hn]]), Pn = {}, Bn = {
62
+ const Hn = /* @__PURE__ */ B(In, [["render", Dn]]), Pn = {}, Bn = {
63
63
  width: "24",
64
64
  height: "24",
65
65
  viewBox: "0 0 24 24",
@@ -191,10 +191,10 @@ const Es = /* @__PURE__ */ B(Ms, [["render", Ss]]), Is = {}, Os = {
191
191
  }, null, -1), Vs = [
192
192
  Ls
193
193
  ];
194
- function Hs(a, e) {
194
+ function Ds(a, e) {
195
195
  return v(), h("svg", Os, Vs);
196
196
  }
197
- const Ds = /* @__PURE__ */ B(Is, [["render", Hs]]), Ps = {}, Bs = {
197
+ const Hs = /* @__PURE__ */ B(Is, [["render", Ds]]), Ps = {}, Bs = {
198
198
  width: "24",
199
199
  height: "24",
200
200
  viewBox: "0 0 24 24",
@@ -326,10 +326,10 @@ const Ei = /* @__PURE__ */ B(Mi, [["render", Si]]), Ii = {}, Oi = {
326
326
  }, null, -1), Vi = [
327
327
  Li
328
328
  ];
329
- function Hi(a, e) {
329
+ function Di(a, e) {
330
330
  return v(), h("svg", Oi, Vi);
331
331
  }
332
- const Di = /* @__PURE__ */ B(Ii, [["render", Hi]]), Pi = {}, Bi = {
332
+ const Hi = /* @__PURE__ */ B(Ii, [["render", Di]]), Pi = {}, Bi = {
333
333
  width: "24",
334
334
  height: "24",
335
335
  viewBox: "0 0 24 24",
@@ -458,13 +458,13 @@ const Io = /* @__PURE__ */ B(ko, [["render", Eo]]), Oo = {}, Lo = {
458
458
  }, Vo = /* @__PURE__ */ d("path", {
459
459
  d: "M12 17C12.2833 17 12.521 16.904 12.713 16.712C12.905 16.52 13.0007 16.2827 13 16C13 15.7167 12.904 15.479 12.712 15.287C12.52 15.095 12.2827 14.9993 12 15C11.7167 15 11.479 15.096 11.287 15.288C11.095 15.48 10.9993 15.7173 11 16C11 16.2833 11.096 16.521 11.288 16.713C11.48 16.905 11.7173 17.0007 12 17ZM12 13C12.2833 13 12.521 12.904 12.713 12.712C12.905 12.52 13.0007 12.2827 13 12V8C13 7.71667 12.904 7.479 12.712 7.287C12.52 7.095 12.2827 6.99933 12 7C11.7167 7 11.479 7.096 11.287 7.288C11.095 7.48 10.9993 7.71733 11 8V12C11 12.2833 11.096 12.521 11.288 12.713C11.48 12.905 11.7173 13.0007 12 13ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z",
460
460
  fill: "black"
461
- }, null, -1), Ho = [
461
+ }, null, -1), Do = [
462
462
  Vo
463
463
  ];
464
- function Do(a, e) {
465
- return v(), h("svg", Lo, Ho);
464
+ function Ho(a, e) {
465
+ return v(), h("svg", Lo, Do);
466
466
  }
467
- const Po = /* @__PURE__ */ B(Oo, [["render", Do]]), Bo = {}, No = {
467
+ const Po = /* @__PURE__ */ B(Oo, [["render", Ho]]), Bo = {}, No = {
468
468
  width: "24",
469
469
  height: "24",
470
470
  viewBox: "0 0 24 24",
@@ -593,13 +593,13 @@ const Il = /* @__PURE__ */ B(kl, [["render", El]]), Ol = {}, Ll = {
593
593
  }, Vl = /* @__PURE__ */ d("path", {
594
594
  d: "M12 15.4L6 9.4L7.4 8L12 12.6L16.6 8L18 9.4L12 15.4Z",
595
595
  fill: "black"
596
- }, null, -1), Hl = [
596
+ }, null, -1), Dl = [
597
597
  Vl
598
598
  ];
599
- function Dl(a, e) {
600
- return v(), h("svg", Ll, Hl);
599
+ function Hl(a, e) {
600
+ return v(), h("svg", Ll, Dl);
601
601
  }
602
- const Pl = /* @__PURE__ */ B(Ol, [["render", Dl]]), Bl = {}, Nl = {
602
+ const Pl = /* @__PURE__ */ B(Ol, [["render", Hl]]), Bl = {}, Nl = {
603
603
  width: "24",
604
604
  height: "24",
605
605
  viewBox: "0 0 24 24",
@@ -736,20 +736,20 @@ const Ar = /* @__PURE__ */ B(br, [["render", kr]]), Tr = {}, Sr = {
736
736
  function Or(a, e) {
737
737
  return v(), h("svg", Sr, Ir);
738
738
  }
739
- const Lr = /* @__PURE__ */ B(Tr, [["render", Or]]), Vr = {}, Hr = {
739
+ const Lr = /* @__PURE__ */ B(Tr, [["render", Or]]), Vr = {}, Dr = {
740
740
  width: "24",
741
741
  height: "24",
742
742
  viewBox: "0 0 24 24",
743
743
  fill: "none",
744
744
  xmlns: "http://www.w3.org/2000/svg"
745
- }, Dr = /* @__PURE__ */ d("path", {
745
+ }, Hr = /* @__PURE__ */ d("path", {
746
746
  d: "M19 14C18.7167 14 18.479 13.904 18.287 13.712C18.095 13.52 17.9993 13.2827 18 13V11H16C15.7167 11 15.479 10.904 15.287 10.712C15.095 10.52 14.9993 10.2827 15 10C15 9.71667 15.096 9.479 15.288 9.287C15.48 9.095 15.7173 8.99933 16 9H18V7C18 6.71667 18.096 6.479 18.288 6.287C18.48 6.095 18.7173 5.99933 19 6C19.2833 6 19.521 6.096 19.713 6.288C19.905 6.48 20.0007 6.71733 20 7V9H22C22.2833 9 22.521 9.096 22.713 9.288C22.905 9.48 23.0007 9.71733 23 10C23 10.2833 22.904 10.521 22.712 10.713C22.52 10.905 22.2827 11.0007 22 11H20V13C20 13.2833 19.904 13.521 19.712 13.713C19.52 13.905 19.2827 14.0007 19 14ZM9 12C7.9 12 6.95834 11.6083 6.175 10.825C5.39167 10.0417 5 9.1 5 8C5 6.9 5.39167 5.95833 6.175 5.175C6.95834 4.39167 7.9 4 9 4C10.1 4 11.0417 4.39167 11.825 5.175C12.6083 5.95833 13 6.9 13 8C13 9.1 12.6083 10.0417 11.825 10.825C11.0417 11.6083 10.1 12 9 12ZM2 20C1.71667 20 1.479 19.904 1.287 19.712C1.095 19.52 0.999337 19.2827 1 19V17.2C1 16.6333 1.146 16.1123 1.438 15.637C1.73 15.1617 2.11734 14.7993 2.6 14.55C3.63334 14.0333 4.68334 13.6457 5.75 13.387C6.81667 13.1283 7.9 12.9993 9 13C10.1 13 11.1833 13.1293 12.25 13.388C13.3167 13.6467 14.3667 14.034 15.4 14.55C15.8833 14.8 16.271 15.1627 16.563 15.638C16.855 16.1133 17.0007 16.634 17 17.2V19C17 19.2833 16.904 19.521 16.712 19.713C16.52 19.905 16.2827 20.0007 16 20H2ZM3 18H15V17.2C15 17.0167 14.954 16.85 14.862 16.7C14.77 16.55 14.6493 16.4333 14.5 16.35C13.6 15.9 12.6917 15.5627 11.775 15.338C10.8583 15.1133 9.93334 15.0007 9 15C8.06667 15 7.14167 15.1127 6.225 15.338C5.30834 15.5633 4.4 15.9007 3.5 16.35C3.35 16.4333 3.229 16.55 3.137 16.7C3.045 16.85 2.99934 17.0167 3 17.2V18ZM9 10C9.55 10 10.021 9.804 10.413 9.412C10.805 9.02 11.0007 8.54933 11 8C11 7.45 10.804 6.979 10.412 6.587C10.02 6.195 9.54934 5.99933 9 6C8.45 6 7.979 6.196 7.587 6.588C7.195 6.98 6.99934 7.45067 7 8C7 8.55 7.196 9.021 7.588 9.413C7.98 9.805 8.45067 10.0007 9 10Z",
747
747
  fill: "black"
748
748
  }, null, -1), Pr = [
749
- Dr
749
+ Hr
750
750
  ];
751
751
  function Br(a, e) {
752
- return v(), h("svg", Hr, Pr);
752
+ return v(), h("svg", Dr, Pr);
753
753
  }
754
754
  const Nr = /* @__PURE__ */ B(Vr, [["render", Br]]), Rr = {}, Ur = {
755
755
  width: "24",
@@ -868,20 +868,20 @@ const A2 = /* @__PURE__ */ B(b2, [["render", k2]]), T2 = {}, S2 = {
868
868
  function O2(a, e) {
869
869
  return v(), h("svg", S2, I2);
870
870
  }
871
- const L2 = /* @__PURE__ */ B(T2, [["render", O2]]), V2 = {}, H2 = {
871
+ const L2 = /* @__PURE__ */ B(T2, [["render", O2]]), V2 = {}, D2 = {
872
872
  width: "24",
873
873
  height: "24",
874
874
  viewBox: "0 0 24 24",
875
875
  fill: "none",
876
876
  xmlns: "http://www.w3.org/2000/svg"
877
- }, D2 = /* @__PURE__ */ d("path", {
877
+ }, H2 = /* @__PURE__ */ d("path", {
878
878
  d: "M9.24995 22L8.84995 18.8C8.63329 18.7167 8.42895 18.6167 8.23695 18.5C8.04495 18.3833 7.85762 18.2583 7.67495 18.125L4.69995 19.375L1.94995 14.625L4.52495 12.675C4.50828 12.5583 4.49995 12.4457 4.49995 12.337V11.663C4.49995 11.5543 4.50828 11.4417 4.52495 11.325L1.94995 9.375L4.69995 4.625L7.67495 5.875C7.85828 5.74167 8.04995 5.61667 8.24995 5.5C8.44995 5.38333 8.64995 5.28333 8.84995 5.2L9.24995 2H14.75L15.15 5.2C15.3666 5.28333 15.571 5.38333 15.763 5.5C15.955 5.61667 16.1423 5.74167 16.325 5.875L19.2999 4.625L22.0499 9.375L19.475 11.325C19.4916 11.4417 19.5 11.5543 19.5 11.663V12.337C19.5 12.4457 19.4833 12.5583 19.45 12.675L22.025 14.625L19.275 19.375L16.325 18.125C16.1416 18.2583 15.95 18.3833 15.75 18.5C15.55 18.6167 15.35 18.7167 15.15 18.8L14.75 22H9.24995ZM12.05 15.5C13.0166 15.5 13.8416 15.1583 14.525 14.475C15.2083 13.7917 15.55 12.9667 15.55 12C15.55 11.0333 15.2083 10.2083 14.525 9.525C13.8416 8.84167 13.0166 8.5 12.05 8.5C11.0666 8.5 10.2373 8.84167 9.56195 9.525C8.88662 10.2083 8.54928 11.0333 8.54995 12C8.54995 12.9667 8.88728 13.7917 9.56195 14.475C10.2366 15.1583 11.066 15.5 12.05 15.5Z",
879
879
  fill: "black"
880
880
  }, null, -1), P2 = [
881
- D2
881
+ H2
882
882
  ];
883
883
  function B2(a, e) {
884
- return v(), h("svg", H2, P2);
884
+ return v(), h("svg", D2, P2);
885
885
  }
886
886
  const N2 = /* @__PURE__ */ B(V2, [["render", B2]]), R2 = {}, U2 = {
887
887
  width: "24",
@@ -1003,20 +1003,20 @@ const Au = /* @__PURE__ */ B(bu, [["render", ku]]), Tu = {}, Su = {
1003
1003
  function Ou(a, e) {
1004
1004
  return v(), h("svg", Su, Iu);
1005
1005
  }
1006
- const Lu = /* @__PURE__ */ B(Tu, [["render", Ou]]), Vu = {}, Hu = {
1006
+ const Lu = /* @__PURE__ */ B(Tu, [["render", Ou]]), Vu = {}, Du = {
1007
1007
  width: "24",
1008
1008
  height: "24",
1009
1009
  viewBox: "0 0 24 24",
1010
1010
  fill: "none",
1011
1011
  xmlns: "http://www.w3.org/2000/svg"
1012
- }, Du = /* @__PURE__ */ d("path", {
1012
+ }, Hu = /* @__PURE__ */ d("path", {
1013
1013
  d: "M2.72499 21C2.54166 21 2.37499 20.954 2.22499 20.862C2.07499 20.77 1.95833 20.6493 1.87499 20.5C1.79166 20.35 1.74566 20.1873 1.73699 20.012C1.72833 19.8367 1.77433 19.666 1.87499 19.5L11.125 3.5C11.225 3.33333 11.3543 3.20833 11.513 3.125C11.6717 3.04167 11.834 3 12 3C12.1667 3 12.3293 3.04167 12.488 3.125C12.6467 3.20833 12.7757 3.33333 12.875 3.5L22.125 19.5C22.225 19.6667 22.271 19.8377 22.263 20.013C22.255 20.1883 22.209 20.3507 22.125 20.5C22.0417 20.65 21.925 20.771 21.775 20.863C21.625 20.955 21.4583 21.0007 21.275 21H2.72499ZM4.44999 19H19.55L12 6L4.44999 19ZM12 18C12.2833 18 12.521 17.904 12.713 17.712C12.905 17.52 13.0007 17.2827 13 17C13 16.7167 12.904 16.479 12.712 16.287C12.52 16.095 12.2827 15.9993 12 16C11.7167 16 11.479 16.096 11.287 16.288C11.095 16.48 10.9993 16.7173 11 17C11 17.2833 11.096 17.521 11.288 17.713C11.48 17.905 11.7173 18.0007 12 18ZM12 15C12.2833 15 12.521 14.904 12.713 14.712C12.905 14.52 13.0007 14.2827 13 14V11C13 10.7167 12.904 10.479 12.712 10.287C12.52 10.095 12.2827 9.99933 12 10C11.7167 10 11.479 10.096 11.287 10.288C11.095 10.48 10.9993 10.7173 11 11V14C11 14.2833 11.096 14.521 11.288 14.713C11.48 14.905 11.7173 15.0007 12 15Z",
1014
1014
  fill: "black"
1015
1015
  }, null, -1), Pu = [
1016
- Du
1016
+ Hu
1017
1017
  ];
1018
1018
  function Bu(a, e) {
1019
- return v(), h("svg", Hu, Pu);
1019
+ return v(), h("svg", Du, Pu);
1020
1020
  }
1021
1021
  const Nu = /* @__PURE__ */ B(Vu, [["render", Bu]]), Ru = {}, Uu = {
1022
1022
  width: "24",
@@ -1052,7 +1052,7 @@ const Gu = /* @__PURE__ */ B(Wu, [["render", Ku]]), Xu = /* @__PURE__ */ Object.
1052
1052
  __proto__: null,
1053
1053
  AccountBoxSharp: $n,
1054
1054
  AccountCircle: En,
1055
- AccountTreeOutlineRounded: Dn,
1055
+ AccountTreeOutlineRounded: Hn,
1056
1056
  AccountTreeRounded: jn,
1057
1057
  Add: xn,
1058
1058
  AddBoxOutlineRounded: Jn,
@@ -1061,7 +1061,7 @@ const Gu = /* @__PURE__ */ B(Wu, [["render", Ku]]), Xu = /* @__PURE__ */ Object.
1061
1061
  ArrowDropDownRounded: Cs,
1062
1062
  ArrowForwardRounded: $s,
1063
1063
  AssignmentOutlineRounded: Es,
1064
- AttachFileRounded: Ds,
1064
+ AttachFileRounded: Hs,
1065
1065
  CalendarTodayOutlineRounded: js,
1066
1066
  CancelRounded: xs,
1067
1067
  ChatOutline: Js,
@@ -1070,7 +1070,7 @@ const Gu = /* @__PURE__ */ B(Wu, [["render", Ku]]), Xu = /* @__PURE__ */ Object.
1070
1070
  CheckBoxOutlineRounded: Ci,
1071
1071
  CheckSmallRounded: $i,
1072
1072
  ChecklistRounded: Ei,
1073
- ChevronLeft: Di,
1073
+ ChevronLeft: Hi,
1074
1074
  ChevronRight: ji,
1075
1075
  CloseRounded: xi,
1076
1076
  ContactsOutlineRounded: Ji,
@@ -1143,7 +1143,7 @@ const Gu = /* @__PURE__ */ B(Wu, [["render", Ku]]), Xu = /* @__PURE__ */ Object.
1143
1143
  setup(a) {
1144
1144
  const e = a, t = w(() => Xu[e.name]);
1145
1145
  return (s, n) => (v(), j(et(t.value), {
1146
- class: X(["ao-icon", `ao-icon--${s.size}`])
1146
+ class: G(["ao-icon", `ao-icon--${s.size}`])
1147
1147
  }, null, 8, ["class"]));
1148
1148
  }
1149
1149
  });
@@ -1168,7 +1168,7 @@ const ec = ["type"], tc = {
1168
1168
  const e = a, t = w(() => e.size), s = w(() => e.isLoading ? "Loading" : e.iconName);
1169
1169
  return (n, o) => (v(), h("button", {
1170
1170
  type: n.type,
1171
- class: X([
1171
+ class: G([
1172
1172
  "ao-button",
1173
1173
  `ao-button--${n.variant}`,
1174
1174
  n.color ? `ao-button--${n.color}` : "",
@@ -1179,8 +1179,8 @@ const ec = ["type"], tc = {
1179
1179
  n.$attrs.disabled ? "ao-button--is-disabled" : ""
1180
1180
  ])
1181
1181
  }, [
1182
- ee(n.$slots, "default", {}, () => [
1183
- n.label ? (v(), h("span", tc, q(n.label), 1)) : S("", !0)
1182
+ J(n.$slots, "default", {}, () => [
1183
+ n.label ? (v(), h("span", tc, F(n.label), 1)) : S("", !0)
1184
1184
  ]),
1185
1185
  s.value ? (v(), j(de, {
1186
1186
  key: 0,
@@ -1192,7 +1192,7 @@ const ec = ["type"], tc = {
1192
1192
  }
1193
1193
  });
1194
1194
  function ca(a) {
1195
- const e = Q(!1), t = Q(""), s = w(() => "value" in a.value ? "value" : "innerHTML"), n = () => {
1195
+ const e = X(!1), t = X(""), s = w(() => "value" in a.value ? "value" : "innerHTML"), n = () => {
1196
1196
  e.value = !e.value;
1197
1197
  }, o = (r) => {
1198
1198
  e.value = r;
@@ -1232,7 +1232,7 @@ const me = /* @__PURE__ */ Y({
1232
1232
  },
1233
1233
  emits: ["update:title", "toggle-is-editing"],
1234
1234
  setup(a, { emit: e }) {
1235
- const t = a, s = Q(null), { isEditing: n, setIsEditing: o, onUpdate: i, onDiscard: l } = ca(s), r = w(() => n.value ? "input" : t.tag || `h${t.level}`), c = w(() => t.isEditable ? n.value ? {
1235
+ const t = a, s = X(null), { isEditing: n, setIsEditing: o, onUpdate: i, onDiscard: l } = ca(s), r = w(() => n.value ? "input" : t.tag || `h${t.level}`), c = w(() => t.isEditable ? n.value ? {
1236
1236
  change: u,
1237
1237
  click: (M) => M.stopPropagation(),
1238
1238
  blur: p
@@ -1276,7 +1276,7 @@ const me = /* @__PURE__ */ Y({
1276
1276
  onKeydown: ze(Z(f), ["esc"])
1277
1277
  }), {
1278
1278
  default: R(() => [
1279
- t1(q(M.title), 1)
1279
+ t1(F(M.title), 1)
1280
1280
  ]),
1281
1281
  _: 1
1282
1282
  }, 16, ["id", "class", "type", "value", "onKeyup", "onKeydown"]));
@@ -1321,7 +1321,7 @@ const ac = {
1321
1321
  e("update:title", s);
1322
1322
  };
1323
1323
  return (s, n) => (v(), j(et(s.tagName), {
1324
- class: X(["ao-card-horiz", { "ao-card-horiz--active": s.isActive }])
1324
+ class: G(["ao-card-horiz", { "ao-card-horiz--active": s.isActive }])
1325
1325
  }, {
1326
1326
  default: R(() => [
1327
1327
  s.isDraggable ? (v(), h("div", ac, [
@@ -1347,22 +1347,22 @@ const ac = {
1347
1347
  "is-editable": !0,
1348
1348
  "onUpdate:title": t
1349
1349
  }, null, 8, ["id", "title"]),
1350
- ee(s.$slots, "subtitle", {}, () => [
1351
- s.subtitle ? (v(), h("span", oc, q(s.subtitle), 1)) : S("", !0)
1350
+ J(s.$slots, "subtitle", {}, () => [
1351
+ s.subtitle ? (v(), h("span", oc, F(s.subtitle), 1)) : S("", !0)
1352
1352
  ])
1353
1353
  ]),
1354
1354
  s.$slots.header ? (v(), h("div", lc, [
1355
- ee(s.$slots, "header")
1355
+ J(s.$slots, "header")
1356
1356
  ])) : S("", !0)
1357
1357
  ]),
1358
1358
  s.$slots.default ? (v(), h("div", rc, [
1359
- ee(s.$slots, "default")
1359
+ J(s.$slots, "default")
1360
1360
  ])) : S("", !0),
1361
1361
  s.$slots.footer ? (v(), h("div", uc, [
1362
- ee(s.$slots, "footer")
1362
+ J(s.$slots, "footer")
1363
1363
  ])) : S("", !0),
1364
1364
  s.$slots.secondary ? (v(), h("div", cc, [
1365
- ee(s.$slots, "secondary")
1365
+ J(s.$slots, "secondary")
1366
1366
  ])) : S("", !0)
1367
1367
  ]),
1368
1368
  _: 3
@@ -1385,7 +1385,7 @@ const S1 = /* @__PURE__ */ Y({
1385
1385
  () => t.value === "button" ? { type: "button" } : {}
1386
1386
  );
1387
1387
  return (n, o) => (v(), h("div", {
1388
- class: X([
1388
+ class: G([
1389
1389
  "ao-tag",
1390
1390
  n.color ? `ao-tag--${n.color}` : "",
1391
1391
  n.clickable ? "ao-tag--clickable" : "",
@@ -1398,7 +1398,7 @@ const S1 = /* @__PURE__ */ Y({
1398
1398
  onClick: o[0] || (o[0] = (i) => n.$emit("click", i))
1399
1399
  }), {
1400
1400
  default: R(() => [
1401
- t1(q(n.label), 1)
1401
+ t1(F(n.label), 1)
1402
1402
  ]),
1403
1403
  _: 1
1404
1404
  }, 16)),
@@ -1434,14 +1434,14 @@ function ge(a, e) {
1434
1434
  if (e.length < a)
1435
1435
  throw new TypeError(a + " argument" + (a > 1 ? "s" : "") + " required, but only " + e.length + " present");
1436
1436
  }
1437
- function De(a) {
1437
+ function He(a) {
1438
1438
  ge(1, arguments);
1439
1439
  var e = Object.prototype.toString.call(a);
1440
1440
  return a instanceof Date || Yt(a) === "object" && e === "[object Date]" ? new Date(a.getTime()) : typeof a == "number" || e === "[object Number]" ? new Date(a) : ((typeof a == "string" || e === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
1441
1441
  }
1442
1442
  function dc(a, e) {
1443
1443
  ge(2, arguments);
1444
- var t = De(a).getTime(), s = xe(e);
1444
+ var t = He(a).getTime(), s = xe(e);
1445
1445
  return new Date(t + s);
1446
1446
  }
1447
1447
  var fc = {};
@@ -1459,7 +1459,7 @@ function pc(a) {
1459
1459
  function pa(a) {
1460
1460
  if (ge(1, arguments), !pc(a) && typeof a != "number")
1461
1461
  return !1;
1462
- var e = De(a);
1462
+ var e = He(a);
1463
1463
  return !isNaN(Number(e));
1464
1464
  }
1465
1465
  function hc(a, e) {
@@ -1470,19 +1470,19 @@ function hc(a, e) {
1470
1470
  var mc = 864e5;
1471
1471
  function Cc(a) {
1472
1472
  ge(1, arguments);
1473
- var e = De(a), t = e.getTime();
1473
+ var e = He(a), t = e.getTime();
1474
1474
  e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
1475
1475
  var s = e.getTime(), n = t - s;
1476
1476
  return Math.floor(n / mc) + 1;
1477
1477
  }
1478
1478
  function Kt(a) {
1479
1479
  ge(1, arguments);
1480
- var e = 1, t = De(a), s = t.getUTCDay(), n = (s < e ? 7 : 0) + s - e;
1480
+ var e = 1, t = He(a), s = t.getUTCDay(), n = (s < e ? 7 : 0) + s - e;
1481
1481
  return t.setUTCDate(t.getUTCDate() - n), t.setUTCHours(0, 0, 0, 0), t;
1482
1482
  }
1483
1483
  function ha(a) {
1484
1484
  ge(1, arguments);
1485
- var e = De(a), t = e.getUTCFullYear(), s = /* @__PURE__ */ new Date(0);
1485
+ var e = He(a), t = e.getUTCFullYear(), s = /* @__PURE__ */ new Date(0);
1486
1486
  s.setUTCFullYear(t + 1, 0, 4), s.setUTCHours(0, 0, 0, 0);
1487
1487
  var n = Kt(s), o = /* @__PURE__ */ new Date(0);
1488
1488
  o.setUTCFullYear(t, 0, 4), o.setUTCHours(0, 0, 0, 0);
@@ -1499,7 +1499,7 @@ function _c(a) {
1499
1499
  var gc = 6048e5;
1500
1500
  function yc(a) {
1501
1501
  ge(1, arguments);
1502
- var e = De(a), t = Kt(e).getTime() - _c(e).getTime();
1502
+ var e = He(a), t = Kt(e).getTime() - _c(e).getTime();
1503
1503
  return Math.round(t / gc) + 1;
1504
1504
  }
1505
1505
  function Gt(a, e) {
@@ -1508,13 +1508,13 @@ function Gt(a, e) {
1508
1508
  var u = n1(), f = xe((t = (s = (n = (o = e == null ? void 0 : e.weekStartsOn) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && n !== void 0 ? n : u.weekStartsOn) !== null && s !== void 0 ? s : (r = u.locale) === null || r === void 0 || (c = r.options) === null || c === void 0 ? void 0 : c.weekStartsOn) !== null && t !== void 0 ? t : 0);
1509
1509
  if (!(f >= 0 && f <= 6))
1510
1510
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
1511
- var p = De(a), C = p.getUTCDay(), $ = (C < f ? 7 : 0) + C - f;
1511
+ var p = He(a), C = p.getUTCDay(), $ = (C < f ? 7 : 0) + C - f;
1512
1512
  return p.setUTCDate(p.getUTCDate() - $), p.setUTCHours(0, 0, 0, 0), p;
1513
1513
  }
1514
1514
  function ma(a, e) {
1515
1515
  var t, s, n, o, i, l, r, c;
1516
1516
  ge(1, arguments);
1517
- var u = De(a), f = u.getUTCFullYear(), p = n1(), C = xe((t = (s = (n = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && n !== void 0 ? n : p.firstWeekContainsDate) !== null && s !== void 0 ? s : (r = p.locale) === null || r === void 0 || (c = r.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && t !== void 0 ? t : 1);
1517
+ var u = He(a), f = u.getUTCFullYear(), p = n1(), C = xe((t = (s = (n = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && n !== void 0 ? n : p.firstWeekContainsDate) !== null && s !== void 0 ? s : (r = p.locale) === null || r === void 0 || (c = r.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && t !== void 0 ? t : 1);
1518
1518
  if (!(C >= 1 && C <= 7))
1519
1519
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
1520
1520
  var $ = /* @__PURE__ */ new Date(0);
@@ -1535,7 +1535,7 @@ function bc(a, e) {
1535
1535
  var wc = 6048e5;
1536
1536
  function $c(a, e) {
1537
1537
  ge(1, arguments);
1538
- var t = De(a), s = Gt(t, e).getTime() - bc(t, e).getTime();
1538
+ var t = He(a), s = Gt(t, e).getTime() - bc(t, e).getTime();
1539
1539
  return Math.round(s / wc) + 1;
1540
1540
  }
1541
1541
  function oe(a, e) {
@@ -2252,7 +2252,7 @@ function Q1(a, e, t) {
2252
2252
  if (a === "DD")
2253
2253
  throw new RangeError("Use `dd` instead of `DD` (in `".concat(e, "`) for formatting days of the month to the input `").concat(t, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
2254
2254
  }
2255
- var Hc = {
2255
+ var Dc = {
2256
2256
  lessThanXSeconds: {
2257
2257
  one: "less than a second",
2258
2258
  other: "less than {{count}} seconds"
@@ -2314,11 +2314,11 @@ var Hc = {
2314
2314
  one: "almost 1 year",
2315
2315
  other: "almost {{count}} years"
2316
2316
  }
2317
- }, Dc = function(e, t, s) {
2318
- var n, o = Hc[e];
2317
+ }, Hc = function(e, t, s) {
2318
+ var n, o = Dc[e];
2319
2319
  return typeof o == "string" ? n = o : t === 1 ? n = o.one : n = o.other.replace("{{count}}", t.toString()), s != null && s.addSuffix ? s.comparison && s.comparison > 0 ? "in " + n : n + " ago" : n;
2320
2320
  };
2321
- const Pc = Dc;
2321
+ const Pc = Hc;
2322
2322
  function b1(a) {
2323
2323
  return function() {
2324
2324
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.width ? String(e.width) : a.defaultWidth, s = a.formats[t] || a.formats[a.defaultWidth];
@@ -2646,43 +2646,43 @@ var gd = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, yd = /P+p+|P+|
2646
2646
  function Md(a, e, t) {
2647
2647
  var s, n, o, i, l, r, c, u, f, p, C, $, M, A, _, y, V, U;
2648
2648
  ge(2, arguments);
2649
- var F = String(e), H = n1(), O = (s = (n = t == null ? void 0 : t.locale) !== null && n !== void 0 ? n : H.locale) !== null && s !== void 0 ? s : _d, z = xe((o = (i = (l = (r = t == null ? void 0 : t.firstWeekContainsDate) !== null && r !== void 0 ? r : t == null || (c = t.locale) === null || c === void 0 || (u = c.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && l !== void 0 ? l : H.firstWeekContainsDate) !== null && i !== void 0 ? i : (f = H.locale) === null || f === void 0 || (p = f.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
2650
- if (!(z >= 1 && z <= 7))
2649
+ var W = String(e), D = n1(), x = (s = (n = t == null ? void 0 : t.locale) !== null && n !== void 0 ? n : D.locale) !== null && s !== void 0 ? s : _d, ee = xe((o = (i = (l = (r = t == null ? void 0 : t.firstWeekContainsDate) !== null && r !== void 0 ? r : t == null || (c = t.locale) === null || c === void 0 || (u = c.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && l !== void 0 ? l : D.firstWeekContainsDate) !== null && i !== void 0 ? i : (f = D.locale) === null || f === void 0 || (p = f.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
2650
+ if (!(ee >= 1 && ee <= 7))
2651
2651
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
2652
- var K = xe((C = ($ = (M = (A = t == null ? void 0 : t.weekStartsOn) !== null && A !== void 0 ? A : t == null || (_ = t.locale) === null || _ === void 0 || (y = _.options) === null || y === void 0 ? void 0 : y.weekStartsOn) !== null && M !== void 0 ? M : H.weekStartsOn) !== null && $ !== void 0 ? $ : (V = H.locale) === null || V === void 0 || (U = V.options) === null || U === void 0 ? void 0 : U.weekStartsOn) !== null && C !== void 0 ? C : 0);
2653
- if (!(K >= 0 && K <= 6))
2652
+ var I = xe((C = ($ = (M = (A = t == null ? void 0 : t.weekStartsOn) !== null && A !== void 0 ? A : t == null || (_ = t.locale) === null || _ === void 0 || (y = _.options) === null || y === void 0 ? void 0 : y.weekStartsOn) !== null && M !== void 0 ? M : D.weekStartsOn) !== null && $ !== void 0 ? $ : (V = D.locale) === null || V === void 0 || (U = V.options) === null || U === void 0 ? void 0 : U.weekStartsOn) !== null && C !== void 0 ? C : 0);
2653
+ if (!(I >= 0 && I <= 6))
2654
2654
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
2655
- if (!O.localize)
2655
+ if (!x.localize)
2656
2656
  throw new RangeError("locale must contain localize property");
2657
- if (!O.formatLong)
2657
+ if (!x.formatLong)
2658
2658
  throw new RangeError("locale must contain formatLong property");
2659
- var ie = De(a);
2660
- if (!pa(ie))
2659
+ var te = He(a);
2660
+ if (!pa(te))
2661
2661
  throw new RangeError("Invalid time value");
2662
- var b = vc(ie), T = hc(ie, b), P = {
2663
- firstWeekContainsDate: z,
2664
- weekStartsOn: K,
2665
- locale: O,
2666
- _originalDate: ie
2667
- }, le = F.match(yd).map(function(ae) {
2668
- var ue = ae[0];
2662
+ var b = vc(te), T = hc(te, b), P = {
2663
+ firstWeekContainsDate: ee,
2664
+ weekStartsOn: I,
2665
+ locale: x,
2666
+ _originalDate: te
2667
+ }, le = W.match(yd).map(function(ne) {
2668
+ var ue = ne[0];
2669
2669
  if (ue === "p" || ue === "P") {
2670
- var se = Ec[ue];
2671
- return se(ae, O.formatLong);
2670
+ var ie = Ec[ue];
2671
+ return ie(ne, x.formatLong);
2672
2672
  }
2673
- return ae;
2674
- }).join("").match(gd).map(function(ae) {
2675
- if (ae === "''")
2673
+ return ne;
2674
+ }).join("").match(gd).map(function(ne) {
2675
+ if (ne === "''")
2676
2676
  return "'";
2677
- var ue = ae[0];
2677
+ var ue = ne[0];
2678
2678
  if (ue === "'")
2679
- return kd(ae);
2680
- var se = Ac[ue];
2681
- if (se)
2682
- return !(t != null && t.useAdditionalWeekYearTokens) && Vc(ae) && Q1(ae, e, String(a)), !(t != null && t.useAdditionalDayOfYearTokens) && Lc(ae) && Q1(ae, e, String(a)), se(T, ae, O.localize, P);
2679
+ return kd(ne);
2680
+ var ie = Ac[ue];
2681
+ if (ie)
2682
+ return !(t != null && t.useAdditionalWeekYearTokens) && Vc(ne) && Q1(ne, e, String(a)), !(t != null && t.useAdditionalDayOfYearTokens) && Lc(ne) && Q1(ne, e, String(a)), ie(T, ne, x.localize, P);
2683
2683
  if (ue.match($d))
2684
2684
  throw new RangeError("Format string contains an unescaped latin alphabet character `" + ue + "`");
2685
- return ae;
2685
+ return ne;
2686
2686
  }).join("");
2687
2687
  return le;
2688
2688
  }
@@ -2709,7 +2709,7 @@ function Ad(a, e) {
2709
2709
  if (n.time && (r = Vd(n.time), isNaN(r)))
2710
2710
  return /* @__PURE__ */ new Date(NaN);
2711
2711
  if (n.timezone) {
2712
- if (c = Hd(n.timezone), isNaN(c))
2712
+ if (c = Dd(n.timezone), isNaN(c))
2713
2713
  return /* @__PURE__ */ new Date(NaN);
2714
2714
  } else {
2715
2715
  var u = new Date(l + r), f = /* @__PURE__ */ new Date(0);
@@ -2753,7 +2753,7 @@ function Ld(a, e) {
2753
2753
  return /* @__PURE__ */ new Date(NaN);
2754
2754
  var s = !!t[4], n = Mt(t[1]), o = Mt(t[2]) - 1, i = Mt(t[3]), l = Mt(t[4]), r = Mt(t[5]) - 1;
2755
2755
  if (s)
2756
- return Rd(e, l, r) ? Dd(e, l, r) : /* @__PURE__ */ new Date(NaN);
2756
+ return Rd(e, l, r) ? Hd(e, l, r) : /* @__PURE__ */ new Date(NaN);
2757
2757
  var c = /* @__PURE__ */ new Date(0);
2758
2758
  return !Bd(e, o, i) || !Nd(e, n) ? /* @__PURE__ */ new Date(NaN) : (c.setUTCFullYear(e, o, Math.max(n, i)), c);
2759
2759
  }
@@ -2770,7 +2770,7 @@ function Vd(a) {
2770
2770
  function w1(a) {
2771
2771
  return a && parseFloat(a.replace(",", ".")) || 0;
2772
2772
  }
2773
- function Hd(a) {
2773
+ function Dd(a) {
2774
2774
  if (a === "Z")
2775
2775
  return 0;
2776
2776
  var e = a.match(Ed);
@@ -2779,7 +2779,7 @@ function Hd(a) {
2779
2779
  var t = e[1] === "+" ? -1 : 1, s = parseInt(e[2]), n = e[3] && parseInt(e[3]) || 0;
2780
2780
  return jd(s, n) ? t * (s * va + n * fa) : NaN;
2781
2781
  }
2782
- function Dd(a, e, t) {
2782
+ function Hd(a, e, t) {
2783
2783
  var s = /* @__PURE__ */ new Date(0);
2784
2784
  s.setUTCFullYear(a, 0, 4);
2785
2785
  var n = s.getUTCDay() || 7, o = (e - 1) * 7 + t + 1 - n;
@@ -2845,7 +2845,7 @@ Bt.default = Fd;
2845
2845
  Object.defineProperty(Ct, "__esModule", { value: !0 });
2846
2846
  Ct.LexoInteger = void 0;
2847
2847
  const Wt = s1, qd = Bt;
2848
- class G {
2848
+ class K {
2849
2849
  constructor(e, t, s) {
2850
2850
  this.sys = e, this.sign = t, this.mag = s;
2851
2851
  }
@@ -2856,24 +2856,24 @@ class G {
2856
2856
  let i = o.length - 1;
2857
2857
  for (let l = 0; i >= 0; ++l)
2858
2858
  o[l] = t.toDigit(s.charAt(i)), --i;
2859
- return G.make(t, n, o);
2859
+ return K.make(t, n, o);
2860
2860
  }
2861
2861
  static zero(e) {
2862
- return new G(e, 0, G.ZERO_MAG);
2862
+ return new K(e, 0, K.ZERO_MAG);
2863
2863
  }
2864
2864
  static one(e) {
2865
- return G.make(e, 1, G.ONE_MAG);
2865
+ return K.make(e, 1, K.ONE_MAG);
2866
2866
  }
2867
2867
  static make(e, t, s) {
2868
2868
  let n;
2869
2869
  for (n = s.length; n > 0 && s[n - 1] === 0; --n)
2870
2870
  ;
2871
2871
  if (n === 0)
2872
- return G.zero(e);
2872
+ return K.zero(e);
2873
2873
  if (n === s.length)
2874
- return new G(e, t, s);
2874
+ return new K(e, t, s);
2875
2875
  const o = new Array(n).fill(0);
2876
- return Wt.lexoHelper.arrayCopy(s, 0, o, 0, n), new G(e, t, o);
2876
+ return Wt.lexoHelper.arrayCopy(s, 0, o, 0, n), new K(e, t, o);
2877
2877
  }
2878
2878
  static add(e, t, s) {
2879
2879
  const n = Math.max(t.length, s.length), o = new Array(n).fill(0);
@@ -2885,7 +2885,7 @@ class G {
2885
2885
  ++i;
2886
2886
  o[l] = u;
2887
2887
  }
2888
- return G.extendWithCarry(o, i);
2888
+ return K.extendWithCarry(o, i);
2889
2889
  }
2890
2890
  static extendWithCarry(e, t) {
2891
2891
  if (t > 0) {
@@ -2895,8 +2895,8 @@ class G {
2895
2895
  return e;
2896
2896
  }
2897
2897
  static subtract(e, t, s) {
2898
- const n = G.complement(e, s, t.length), o = G.add(e, t, n);
2899
- return o[o.length - 1] = 0, G.add(e, o, G.ONE_MAG);
2898
+ const n = K.complement(e, s, t.length), o = K.add(e, t, n);
2899
+ return o[o.length - 1] = 0, K.add(e, o, K.ONE_MAG);
2900
2900
  }
2901
2901
  static multiply(e, t, s) {
2902
2902
  const n = new Array(t.length + s.length).fill(0);
@@ -2938,8 +2938,8 @@ class G {
2938
2938
  let s;
2939
2939
  return this.sign === -1 ? (s = this.negate(), s.subtract(e).negate()) : (s = e.negate(), this.subtract(s));
2940
2940
  }
2941
- const t = G.add(this.sys, this.mag, e.mag);
2942
- return G.make(this.sys, this.sign, t);
2941
+ const t = K.add(this.sys, this.mag, e.mag);
2942
+ return K.make(this.sys, this.sign, t);
2943
2943
  }
2944
2944
  subtract(e) {
2945
2945
  if (this.checkSystem(e), this.isZero())
@@ -2950,8 +2950,8 @@ class G {
2950
2950
  let s;
2951
2951
  return this.sign === -1 ? (s = this.negate(), s.add(e).negate()) : (s = e.negate(), this.add(s));
2952
2952
  }
2953
- const t = G.compare(this.mag, e.mag);
2954
- return t === 0 ? G.zero(this.sys) : t < 0 ? G.make(this.sys, this.sign === -1 ? 1 : -1, G.subtract(this.sys, e.mag, this.mag)) : G.make(this.sys, this.sign === -1 ? -1 : 1, G.subtract(this.sys, this.mag, e.mag));
2953
+ const t = K.compare(this.mag, e.mag);
2954
+ return t === 0 ? K.zero(this.sys) : t < 0 ? K.make(this.sys, this.sign === -1 ? 1 : -1, K.subtract(this.sys, e.mag, this.mag)) : K.make(this.sys, this.sign === -1 ? -1 : 1, K.subtract(this.sys, this.mag, e.mag));
2955
2955
  }
2956
2956
  multiply(e) {
2957
2957
  if (this.checkSystem(e), this.isZero())
@@ -2959,14 +2959,14 @@ class G {
2959
2959
  if (e.isZero())
2960
2960
  return e;
2961
2961
  if (this.isOneish())
2962
- return this.sign === e.sign ? G.make(this.sys, 1, e.mag) : G.make(this.sys, -1, e.mag);
2962
+ return this.sign === e.sign ? K.make(this.sys, 1, e.mag) : K.make(this.sys, -1, e.mag);
2963
2963
  if (e.isOneish())
2964
- return this.sign === e.sign ? G.make(this.sys, 1, this.mag) : G.make(this.sys, -1, this.mag);
2965
- const t = G.multiply(this.sys, this.mag, e.mag);
2966
- return this.sign === e.sign ? G.make(this.sys, 1, t) : G.make(this.sys, -1, t);
2964
+ return this.sign === e.sign ? K.make(this.sys, 1, this.mag) : K.make(this.sys, -1, this.mag);
2965
+ const t = K.multiply(this.sys, this.mag, e.mag);
2966
+ return this.sign === e.sign ? K.make(this.sys, 1, t) : K.make(this.sys, -1, t);
2967
2967
  }
2968
2968
  negate() {
2969
- return this.isZero() ? this : G.make(this.sys, this.sign === 1 ? -1 : 1, this.mag);
2969
+ return this.isZero() ? this : K.make(this.sys, this.sign === 1 ? -1 : 1, this.mag);
2970
2970
  }
2971
2971
  shiftLeft(e = 1) {
2972
2972
  if (e === 0)
@@ -2974,19 +2974,19 @@ class G {
2974
2974
  if (e < 0)
2975
2975
  return this.shiftRight(Math.abs(e));
2976
2976
  const t = new Array(this.mag.length + e).fill(0);
2977
- return Wt.lexoHelper.arrayCopy(this.mag, 0, t, e, this.mag.length), G.make(this.sys, this.sign, t);
2977
+ return Wt.lexoHelper.arrayCopy(this.mag, 0, t, e, this.mag.length), K.make(this.sys, this.sign, t);
2978
2978
  }
2979
2979
  shiftRight(e = 1) {
2980
2980
  if (this.mag.length - e <= 0)
2981
- return G.zero(this.sys);
2981
+ return K.zero(this.sys);
2982
2982
  const t = new Array(this.mag.length - e).fill(0);
2983
- return Wt.lexoHelper.arrayCopy(this.mag, e, t, 0, t.length), G.make(this.sys, this.sign, t);
2983
+ return Wt.lexoHelper.arrayCopy(this.mag, e, t, 0, t.length), K.make(this.sys, this.sign, t);
2984
2984
  }
2985
2985
  complement() {
2986
2986
  return this.complementDigits(this.mag.length);
2987
2987
  }
2988
2988
  complementDigits(e) {
2989
- return G.make(this.sys, this.sign, G.complement(this.sys, this.mag, e));
2989
+ return K.make(this.sys, this.sign, K.complement(this.sys, this.mag, e));
2990
2990
  }
2991
2991
  isZero() {
2992
2992
  return this.sign === 0 && this.mag.length === 1 && this.mag[0] === 0;
@@ -3004,12 +3004,12 @@ class G {
3004
3004
  return 1;
3005
3005
  if (this.sign === -1) {
3006
3006
  if (e.sign === -1) {
3007
- const t = G.compare(this.mag, e.mag);
3007
+ const t = K.compare(this.mag, e.mag);
3008
3008
  return t === -1 ? 1 : t === 1 ? -1 : 0;
3009
3009
  }
3010
3010
  return -1;
3011
3011
  }
3012
- return this.sign === 1 ? e.sign === 1 ? G.compare(this.mag, e.mag) : 1 : e.sign === -1 ? 1 : e.sign === 1 ? -1 : 0;
3012
+ return this.sign === 1 ? e.sign === 1 ? K.compare(this.mag, e.mag) : 1 : e.sign === -1 ? 1 : e.sign === 1 ? -1 : 0;
3013
3013
  }
3014
3014
  getSystem() {
3015
3015
  return this.sys;
@@ -3038,12 +3038,12 @@ class G {
3038
3038
  throw new Error("Expected numbers of same numeral sys");
3039
3039
  }
3040
3040
  }
3041
- Ct.LexoInteger = G;
3042
- G.ZERO_MAG = [0];
3043
- G.ONE_MAG = [1];
3044
- G.NEGATIVE_SIGN = -1;
3045
- G.ZERO_SIGN = 0;
3046
- G.POSITIVE_SIGN = 1;
3041
+ Ct.LexoInteger = K;
3042
+ K.ZERO_MAG = [0];
3043
+ K.ONE_MAG = [1];
3044
+ K.NEGATIVE_SIGN = -1;
3045
+ K.ZERO_SIGN = 0;
3046
+ K.POSITIVE_SIGN = 1;
3047
3047
  Object.defineProperty(Pt, "__esModule", { value: !0 });
3048
3048
  Pt.LexoDecimal = void 0;
3049
3049
  const At = Ct, Wd = Bt;
@@ -3588,10 +3588,10 @@ const Qd = ["title"], Jd = { className: "ao-avatar__initials" }, _t = /* @__PURE
3588
3588
  };
3589
3589
  return (o, i) => (v(), h("div", {
3590
3590
  role: "img",
3591
- class: X(["ao-avatar", `ao-avatar--${o.size}`]),
3591
+ class: G(["ao-avatar", `ao-avatar--${o.size}`]),
3592
3592
  title: o.userName
3593
3593
  }, [
3594
- d("span", Jd, q(Z(s)), 1),
3594
+ d("span", Jd, F(Z(s)), 1),
3595
3595
  o.isClosable ? (v(), j(ce, {
3596
3596
  key: 0,
3597
3597
  "icon-name": "CloseRounded",
@@ -3633,7 +3633,7 @@ const e3 = { class: "ao-card-template__subitems" }, t3 = { class: "ao-card-templ
3633
3633
  title: s.title,
3634
3634
  "is-draggable": !0,
3635
3635
  "onUpdate:title": t
3636
- }, Ht({
3636
+ }, Dt({
3637
3637
  subtitle: R(() => [
3638
3638
  d("ul", e3, [
3639
3639
  d("li", t3, [
@@ -3641,14 +3641,14 @@ const e3 = { class: "ao-card-template__subitems" }, t3 = { class: "ao-card-templ
3641
3641
  name: "MountainFlagOutlineRounded",
3642
3642
  size: "sm"
3643
3643
  }),
3644
- d("span", a3, q(s.milestones), 1)
3644
+ d("span", a3, F(s.milestones), 1)
3645
3645
  ]),
3646
3646
  d("li", n3, [
3647
3647
  k(de, {
3648
3648
  name: "TaskOutlineRounded",
3649
3649
  size: "sm"
3650
3650
  }),
3651
- d("span", s3, q(s.activities), 1)
3651
+ d("span", s3, F(s.activities), 1)
3652
3652
  ])
3653
3653
  ])
3654
3654
  ]),
@@ -3660,7 +3660,7 @@ const e3 = { class: "ao-card-template__subitems" }, t3 = { class: "ao-card-templ
3660
3660
  name: "WaterfallChartRounded",
3661
3661
  size: "sm"
3662
3662
  }),
3663
- d("span", r3, q(s.$t("template.phases.title")), 1)
3663
+ d("span", r3, F(s.$t("template.phases.title")), 1)
3664
3664
  ]),
3665
3665
  s.phases ? (v(), h("ul", u3, [
3666
3666
  (v(!0), h(ve, null, ye(s.phases, (o) => (v(), j(S1, {
@@ -3681,15 +3681,15 @@ const e3 = { class: "ao-card-template__subitems" }, t3 = { class: "ao-card-templ
3681
3681
  d("div", c3, [
3682
3682
  s.updatedAt ? (v(), h("div", d3, [
3683
3683
  d("div", f3, [
3684
- d("span", v3, q(s.$t("template.updatedAt.label")), 1)
3684
+ d("span", v3, F(s.$t("template.updatedAt.label")), 1)
3685
3685
  ]),
3686
3686
  d("div", p3, [
3687
- d("span", null, q(s.updatedAt), 1)
3687
+ d("span", null, F(s.updatedAt), 1)
3688
3688
  ])
3689
3689
  ])) : S("", !0),
3690
3690
  s.updatedBy ? (v(), h("div", h3, [
3691
3691
  d("div", m3, [
3692
- d("span", C3, q(s.$t("template.updatedBy.label")), 1)
3692
+ d("span", C3, F(s.$t("template.updatedBy.label")), 1)
3693
3693
  ]),
3694
3694
  d("div", _3, [
3695
3695
  k(_t, { "user-name": s.updatedBy }, null, 8, ["user-name"])
@@ -3720,10 +3720,10 @@ const y3 = { class: "ao-page-header" }, b3 = { class: "ao-page-header-main" }, w
3720
3720
  variant: "ghost",
3721
3721
  onClick: t[0] || (t[0] = (s) => e.$emit("goBack"))
3722
3722
  })) : S("", !0),
3723
- ee(e.$slots, "primary")
3723
+ J(e.$slots, "primary")
3724
3724
  ]),
3725
3725
  e.$slots.secondary ? (v(), h("div", w3, [
3726
- ee(e.$slots, "secondary")
3726
+ J(e.$slots, "secondary")
3727
3727
  ])) : S("", !0)
3728
3728
  ]));
3729
3729
  }
@@ -3747,15 +3747,15 @@ const $3 = ["type"], M3 = {
3747
3747
  const e = a, t = w(() => e.size), s = w(() => e.isLoading ? "Loading" : e.iconName);
3748
3748
  return (n, o) => (v(), h("button", {
3749
3749
  type: n.type,
3750
- class: X([
3750
+ class: G([
3751
3751
  "ao-button-card",
3752
3752
  `ao-button-card--${n.color}`,
3753
3753
  `ao-button-card--${n.corners}`,
3754
3754
  n.$attrs.disabled ? "ao-button-card--is-disabled" : ""
3755
3755
  ])
3756
3756
  }, [
3757
- ee(n.$slots, "default", {}, () => [
3758
- n.label ? (v(), h("span", M3, q(n.label), 1)) : S("", !0)
3757
+ J(n.$slots, "default", {}, () => [
3758
+ n.label ? (v(), h("span", M3, F(n.label), 1)) : S("", !0)
3759
3759
  ]),
3760
3760
  s.value ? (v(), j(de, {
3761
3761
  key: 0,
@@ -3798,7 +3798,7 @@ const k3 = { class: "ao-card-template-item__footer" }, A3 = {
3798
3798
  name: n[r],
3799
3799
  size: "sm"
3800
3800
  }, null, 8, ["name"]),
3801
- d("span", T3, q(i.$props[r]), 1)
3801
+ d("span", T3, F(i.$props[r]), 1)
3802
3802
  ])) : S("", !0)
3803
3803
  ], 64))), 64))
3804
3804
  ])
@@ -3837,7 +3837,7 @@ const E3 = /* @__PURE__ */ Y({
3837
3837
  milestones: t.value
3838
3838
  }, n.$attrs), {
3839
3839
  default: R(() => [
3840
- ee(n.$slots, "default")
3840
+ J(n.$slots, "default")
3841
3841
  ]),
3842
3842
  _: 3
3843
3843
  }, 16, ["id", "title", "activities", "milestones"]));
@@ -3854,7 +3854,7 @@ const E3 = /* @__PURE__ */ Y({
3854
3854
  });
3855
3855
  return (s, n) => (v(), j(I1, { activities: t.value }, {
3856
3856
  default: R(() => [
3857
- ee(s.$slots, "default")
3857
+ J(s.$slots, "default")
3858
3858
  ]),
3859
3859
  _: 3
3860
3860
  }, 8, ["activities"]));
@@ -3941,12 +3941,12 @@ const E3 = /* @__PURE__ */ Y({
3941
3941
  });
3942
3942
  return (s, n) => (v(), j(I1, { tasks: t.value }, {
3943
3943
  default: R(() => [
3944
- ee(s.$slots, "default")
3944
+ J(s.$slots, "default")
3945
3945
  ]),
3946
3946
  _: 3
3947
3947
  }, 8, ["tasks"]));
3948
3948
  }
3949
- }), H3 = { class: "ao-list__footer" }, D3 = /* @__PURE__ */ Y({
3949
+ }), D3 = { class: "ao-list__footer" }, H3 = /* @__PURE__ */ Y({
3950
3950
  __name: "AoTemplateDetailsActivities",
3951
3951
  props: {
3952
3952
  templateId: {},
@@ -4003,7 +4003,7 @@ const E3 = /* @__PURE__ */ Y({
4003
4003
  }, null, 8, ["id", "title", "tasks", "is-active", "onUpdate:title", "onClick", "onRemove"]))
4004
4004
  ]),
4005
4005
  footer: R(() => [
4006
- d("div", H3, [
4006
+ d("div", D3, [
4007
4007
  k(Xe, {
4008
4008
  "icon-name": "AddBoxOutlineRounded",
4009
4009
  label: l.$t("template.activities.add"),
@@ -4028,7 +4028,7 @@ const E3 = /* @__PURE__ */ Y({
4028
4028
  emits: ["close"],
4029
4029
  setup(a) {
4030
4030
  return (e, t) => (v(), h("div", {
4031
- class: X(["ao-modal__wrapper", `ao-modal__wrapper--${e.size}`])
4031
+ class: G(["ao-modal__wrapper", `ao-modal__wrapper--${e.size}`])
4032
4032
  }, [
4033
4033
  d("div", {
4034
4034
  class: "ao-modal__backdrop",
@@ -4045,14 +4045,14 @@ const E3 = /* @__PURE__ */ Y({
4045
4045
  })
4046
4046
  ]),
4047
4047
  e.$slots.header ? (v(), h("header", R3, [
4048
- ee(e.$slots, "header")
4048
+ J(e.$slots, "header")
4049
4049
  ])) : S("", !0)
4050
4050
  ]),
4051
4051
  d("div", U3, [
4052
- ee(e.$slots, "default")
4052
+ J(e.$slots, "default")
4053
4053
  ]),
4054
4054
  e.$slots.footer ? (v(), h("footer", j3, [
4055
- ee(e.$slots, "footer")
4055
+ J(e.$slots, "footer")
4056
4056
  ])) : S("", !0)
4057
4057
  ])
4058
4058
  ], 2));
@@ -4222,7 +4222,7 @@ const X3 = async (a, e, t) => {
4222
4222
  x: y,
4223
4223
  y: V,
4224
4224
  data: U,
4225
- reset: F
4225
+ reset: W
4226
4226
  } = await _({
4227
4227
  x: u,
4228
4228
  y: f,
@@ -4243,12 +4243,12 @@ const X3 = async (a, e, t) => {
4243
4243
  ...C[A],
4244
4244
  ...U
4245
4245
  }
4246
- }, F && $ <= 50) {
4247
- $++, typeof F == "object" && (F.placement && (p = F.placement), F.rects && (c = F.rects === !0 ? await i.getElementRects({
4246
+ }, W && $ <= 50) {
4247
+ $++, typeof W == "object" && (W.placement && (p = W.placement), W.rects && (c = W.rects === !0 ? await i.getElementRects({
4248
4248
  reference: a,
4249
4249
  floating: e,
4250
4250
  strategy: n
4251
- }) : F.rects), {
4251
+ }) : W.rects), {
4252
4252
  x: u,
4253
4253
  y: f
4254
4254
  } = ta(c, p, r)), M = -1;
@@ -4294,16 +4294,16 @@ async function Aa(a, e) {
4294
4294
  } : {
4295
4295
  x: 1,
4296
4296
  y: 1
4297
- }, F = Jt(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({
4297
+ }, W = Jt(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({
4298
4298
  rect: y,
4299
4299
  offsetParent: V,
4300
4300
  strategy: r
4301
4301
  }) : y);
4302
4302
  return {
4303
- top: (_.top - F.top + $.top) / U.y,
4304
- bottom: (F.bottom - _.bottom + $.bottom) / U.y,
4305
- left: (_.left - F.left + $.left) / U.x,
4306
- right: (F.right - _.right + $.right) / U.x
4303
+ top: (_.top - W.top + $.top) / U.y,
4304
+ bottom: (W.bottom - _.bottom + $.bottom) / U.y,
4305
+ left: (_.left - W.left + $.left) / U.x,
4306
+ right: (W.right - _.right + $.right) / U.x
4307
4307
  };
4308
4308
  }
4309
4309
  const Q3 = function(a) {
@@ -4332,35 +4332,35 @@ const Q3 = function(a) {
4332
4332
  return {};
4333
4333
  const _ = ht(n), y = ht(l) === l, V = await (r.isRTL == null ? void 0 : r.isRTL(c.floating)), U = p || (y || !M ? [Qt(l)] : z3(l));
4334
4334
  !p && $ !== "none" && U.push(...Y3(l, M, $, V));
4335
- const F = [l, ...U], H = await Aa(e, A), O = [];
4336
- let z = ((s = o.flip) == null ? void 0 : s.overflows) || [];
4337
- if (u && O.push(H[_]), f) {
4335
+ const W = [l, ...U], D = await Aa(e, A), x = [];
4336
+ let ee = ((s = o.flip) == null ? void 0 : s.overflows) || [];
4337
+ if (u && x.push(D[_]), f) {
4338
4338
  const T = W3(n, i, V);
4339
- O.push(H[T[0]], H[T[1]]);
4339
+ x.push(D[T[0]], D[T[1]]);
4340
4340
  }
4341
- if (z = [...z, {
4341
+ if (ee = [...ee, {
4342
4342
  placement: n,
4343
- overflows: O
4344
- }], !O.every((T) => T <= 0)) {
4345
- var K, ie;
4346
- const T = (((K = o.flip) == null ? void 0 : K.index) || 0) + 1, P = F[T];
4343
+ overflows: x
4344
+ }], !x.every((T) => T <= 0)) {
4345
+ var I, te;
4346
+ const T = (((I = o.flip) == null ? void 0 : I.index) || 0) + 1, P = W[T];
4347
4347
  if (P)
4348
4348
  return {
4349
4349
  data: {
4350
4350
  index: T,
4351
- overflows: z
4351
+ overflows: ee
4352
4352
  },
4353
4353
  reset: {
4354
4354
  placement: P
4355
4355
  }
4356
4356
  };
4357
- let le = (ie = z.filter((ae) => ae.overflows[0] <= 0).sort((ae, ue) => ae.overflows[1] - ue.overflows[1])[0]) == null ? void 0 : ie.placement;
4357
+ let le = (te = ee.filter((ne) => ne.overflows[0] <= 0).sort((ne, ue) => ne.overflows[1] - ue.overflows[1])[0]) == null ? void 0 : te.placement;
4358
4358
  if (!le)
4359
4359
  switch (C) {
4360
4360
  case "bestFit": {
4361
4361
  var b;
4362
- const ae = (b = z.map((ue) => [ue.placement, ue.overflows.filter((se) => se > 0).reduce((se, E) => se + E, 0)]).sort((ue, se) => ue[1] - se[1])[0]) == null ? void 0 : b[0];
4363
- ae && (le = ae);
4362
+ const ne = (b = ee.map((ue) => [ue.placement, ue.overflows.filter((ie) => ie > 0).reduce((ie, E) => ie + E, 0)]).sort((ue, ie) => ue[1] - ie[1])[0]) == null ? void 0 : b[0];
4363
+ ne && (le = ne);
4364
4364
  break;
4365
4365
  }
4366
4366
  case "initialPlacement":
@@ -4400,23 +4400,23 @@ const Q3 = function(a) {
4400
4400
  const A = C - r[$], _ = p - r[M], y = !e.middlewareData.shift;
4401
4401
  let V = A, U = _;
4402
4402
  if (f) {
4403
- const H = p - r.left - r.right;
4404
- U = u || y ? Lt(_, H) : H;
4403
+ const D = p - r.left - r.right;
4404
+ U = u || y ? Lt(_, D) : D;
4405
4405
  } else {
4406
- const H = C - r.top - r.bottom;
4407
- V = u || y ? Lt(A, H) : H;
4406
+ const D = C - r.top - r.bottom;
4407
+ V = u || y ? Lt(A, D) : D;
4408
4408
  }
4409
4409
  if (y && !u) {
4410
- const H = ke(r.left, 0), O = ke(r.right, 0), z = ke(r.top, 0), K = ke(r.bottom, 0);
4411
- f ? U = p - 2 * (H !== 0 || O !== 0 ? H + O : ke(r.left, r.right)) : V = C - 2 * (z !== 0 || K !== 0 ? z + K : ke(r.top, r.bottom));
4410
+ const D = ke(r.left, 0), x = ke(r.right, 0), ee = ke(r.top, 0), I = ke(r.bottom, 0);
4411
+ f ? U = p - 2 * (D !== 0 || x !== 0 ? D + x : ke(r.left, r.right)) : V = C - 2 * (ee !== 0 || I !== 0 ? ee + I : ke(r.top, r.bottom));
4412
4412
  }
4413
4413
  await i({
4414
4414
  ...e,
4415
4415
  availableWidth: U,
4416
4416
  availableHeight: V
4417
4417
  });
4418
- const F = await n.getDimensions(o.floating);
4419
- return p !== F.width || C !== F.height ? {
4418
+ const W = await n.getDimensions(o.floating);
4419
+ return p !== W.width || C !== W.height ? {
4420
4420
  reset: {
4421
4421
  rects: !0
4422
4422
  }
@@ -4441,7 +4441,7 @@ function Ta(a) {
4441
4441
  function Ue(a) {
4442
4442
  return a instanceof Element || a instanceof we(a).Element;
4443
4443
  }
4444
- function He(a) {
4444
+ function De(a) {
4445
4445
  return a instanceof HTMLElement || a instanceof we(a).HTMLElement;
4446
4446
  }
4447
4447
  function aa(a) {
@@ -4459,20 +4459,20 @@ function Rt(a) {
4459
4459
  function e0(a) {
4460
4460
  return ["table", "td", "th"].includes(Ke(a));
4461
4461
  }
4462
- function H1(a) {
4463
- const e = D1(), t = Se(a);
4462
+ function D1(a) {
4463
+ const e = H1(), t = Se(a);
4464
4464
  return t.transform !== "none" || t.perspective !== "none" || (t.containerType ? t.containerType !== "normal" : !1) || !e && (t.backdropFilter ? t.backdropFilter !== "none" : !1) || !e && (t.filter ? t.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((s) => (t.willChange || "").includes(s)) || ["paint", "layout", "strict", "content"].some((s) => (t.contain || "").includes(s));
4465
4465
  }
4466
4466
  function t0(a) {
4467
4467
  let e = mt(a);
4468
- for (; He(e) && !c1(e); ) {
4469
- if (H1(e))
4468
+ for (; De(e) && !c1(e); ) {
4469
+ if (D1(e))
4470
4470
  return e;
4471
4471
  e = mt(e);
4472
4472
  }
4473
4473
  return null;
4474
4474
  }
4475
- function D1() {
4475
+ function H1() {
4476
4476
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
4477
4477
  }
4478
4478
  function c1(a) {
@@ -4504,7 +4504,7 @@ function mt(a) {
4504
4504
  }
4505
4505
  function Sa(a) {
4506
4506
  const e = mt(a);
4507
- return c1(e) ? a.ownerDocument ? a.ownerDocument.body : a.body : He(e) && Rt(e) ? e : Sa(e);
4507
+ return c1(e) ? a.ownerDocument ? a.ownerDocument.body : a.body : De(e) && Rt(e) ? e : Sa(e);
4508
4508
  }
4509
4509
  function Vt(a, e, t) {
4510
4510
  var s;
@@ -4515,7 +4515,7 @@ function Vt(a, e, t) {
4515
4515
  function Ea(a) {
4516
4516
  const e = Se(a);
4517
4517
  let t = parseFloat(e.width) || 0, s = parseFloat(e.height) || 0;
4518
- const n = He(a), o = n ? a.offsetWidth : t, i = n ? a.offsetHeight : s, l = Xt(t) !== o || Xt(s) !== i;
4518
+ const n = De(a), o = n ? a.offsetWidth : t, i = n ? a.offsetHeight : s, l = Xt(t) !== o || Xt(s) !== i;
4519
4519
  return l && (t = o, s = i), {
4520
4520
  width: t,
4521
4521
  height: s,
@@ -4527,7 +4527,7 @@ function P1(a) {
4527
4527
  }
4528
4528
  function ft(a) {
4529
4529
  const e = P1(a);
4530
- if (!He(e))
4530
+ if (!De(e))
4531
4531
  return Ye(1);
4532
4532
  const t = e.getBoundingClientRect(), {
4533
4533
  width: s,
@@ -4543,7 +4543,7 @@ function ft(a) {
4543
4543
  const a0 = /* @__PURE__ */ Ye(0);
4544
4544
  function Ia(a) {
4545
4545
  const e = we(a);
4546
- return !D1() || !e.visualViewport ? a0 : {
4546
+ return !H1() || !e.visualViewport ? a0 : {
4547
4547
  x: e.visualViewport.offsetLeft,
4548
4548
  y: e.visualViewport.offsetTop
4549
4549
  };
@@ -4579,7 +4579,7 @@ function s0(a) {
4579
4579
  offsetParent: t,
4580
4580
  strategy: s
4581
4581
  } = a;
4582
- const n = He(t), o = je(t);
4582
+ const n = De(t), o = je(t);
4583
4583
  if (t === o)
4584
4584
  return e;
4585
4585
  let i = {
@@ -4587,7 +4587,7 @@ function s0(a) {
4587
4587
  scrollTop: 0
4588
4588
  }, l = Ye(1);
4589
4589
  const r = Ye(0);
4590
- if ((n || !n && s !== "fixed") && ((Ke(t) !== "body" || Rt(o)) && (i = d1(t)), He(t))) {
4590
+ if ((n || !n && s !== "fixed") && ((Ke(t) !== "body" || Rt(o)) && (i = d1(t)), De(t))) {
4591
4591
  const c = Je(t);
4592
4592
  l = ft(t), r.x = c.x + t.clientLeft, r.y = c.y + t.clientTop;
4593
4593
  }
@@ -4620,7 +4620,7 @@ function l0(a, e) {
4620
4620
  let o = s.clientWidth, i = s.clientHeight, l = 0, r = 0;
4621
4621
  if (n) {
4622
4622
  o = n.width, i = n.height;
4623
- const c = D1();
4623
+ const c = H1();
4624
4624
  (!c || c && e === "fixed") && (l = n.offsetLeft, r = n.offsetTop);
4625
4625
  }
4626
4626
  return {
@@ -4631,7 +4631,7 @@ function l0(a, e) {
4631
4631
  };
4632
4632
  }
4633
4633
  function r0(a, e) {
4634
- const t = Je(a, !0, e === "fixed"), s = t.top + a.clientTop, n = t.left + a.clientLeft, o = He(a) ? ft(a) : Ye(1), i = a.clientWidth * o.x, l = a.clientHeight * o.y, r = n * o.x, c = s * o.y;
4634
+ const t = Je(a, !0, e === "fixed"), s = t.top + a.clientTop, n = t.left + a.clientLeft, o = De(a) ? ft(a) : Ye(1), i = a.clientWidth * o.x, l = a.clientHeight * o.y, r = n * o.x, c = s * o.y;
4635
4635
  return {
4636
4636
  width: i,
4637
4637
  height: l,
@@ -4669,7 +4669,7 @@ function u0(a, e) {
4669
4669
  const o = Se(a).position === "fixed";
4670
4670
  let i = o ? mt(a) : a;
4671
4671
  for (; Ue(i) && !c1(i); ) {
4672
- const l = Se(i), r = H1(i);
4672
+ const l = Se(i), r = D1(i);
4673
4673
  !r && l.position === "fixed" && (n = null), (o ? !r && !n : !r && l.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || Rt(i) && !r && La(a, i)) ? s = s.filter((u) => u !== i) : n = l, i = mt(i);
4674
4674
  }
4675
4675
  return e.set(a, s), s;
@@ -4696,7 +4696,7 @@ function d0(a) {
4696
4696
  return Ea(a);
4697
4697
  }
4698
4698
  function f0(a, e, t) {
4699
- const s = He(e), n = je(e), o = t === "fixed", i = Je(a, !0, o, e);
4699
+ const s = De(e), n = je(e), o = t === "fixed", i = Je(a, !0, o, e);
4700
4700
  let l = {
4701
4701
  scrollLeft: 0,
4702
4702
  scrollTop: 0
@@ -4716,16 +4716,16 @@ function f0(a, e, t) {
4716
4716
  };
4717
4717
  }
4718
4718
  function sa(a, e) {
4719
- return !He(a) || Se(a).position === "fixed" ? null : e ? e(a) : a.offsetParent;
4719
+ return !De(a) || Se(a).position === "fixed" ? null : e ? e(a) : a.offsetParent;
4720
4720
  }
4721
4721
  function Va(a, e) {
4722
4722
  const t = we(a);
4723
- if (!He(a))
4723
+ if (!De(a))
4724
4724
  return t;
4725
4725
  let s = sa(a, e);
4726
4726
  for (; s && e0(s) && Se(s).position === "static"; )
4727
4727
  s = sa(s, e);
4728
- return s && (Ke(s) === "html" || Ke(s) === "body" && Se(s).position === "static" && !H1(s)) ? t : s || t0(a) || t;
4728
+ return s && (Ke(s) === "html" || Ke(s) === "body" && Se(s).position === "static" && !D1(s)) ? t : s || t0(a) || t;
4729
4729
  }
4730
4730
  const v0 = async function(a) {
4731
4731
  let {
@@ -4779,12 +4779,12 @@ function m0(a, e) {
4779
4779
  threshold: ke(0, Lt(1, r)) || 1
4780
4780
  };
4781
4781
  let V = !0;
4782
- function U(F) {
4783
- const H = F[0].intersectionRatio;
4784
- if (H !== r) {
4782
+ function U(W) {
4783
+ const D = W[0].intersectionRatio;
4784
+ if (D !== r) {
4785
4785
  if (!V)
4786
4786
  return i();
4787
- H ? i(!1, H) : s = setTimeout(() => {
4787
+ D ? i(!1, D) : s = setTimeout(() => {
4788
4788
  i(!1, 1e-7);
4789
4789
  }, 100);
4790
4790
  }
@@ -4850,12 +4850,12 @@ const _0 = (a, e, t) => {
4850
4850
  platform: o
4851
4851
  });
4852
4852
  }, g0 = (a) => {
4853
- const e = Q(!1), t = Q(), s = Q(), n = Q(0);
4853
+ const e = X(!1), t = X(), s = X(), n = X(0);
4854
4854
  function o() {
4855
4855
  const f = Z(a.appendTo);
4856
4856
  return f ? typeof f == "string" ? document.getElementById(f) ?? document.body : f : document.getElementById("floatingElements") ?? document.body;
4857
4857
  }
4858
- const i = o(), l = Q(() => {
4858
+ const i = o(), l = X(() => {
4859
4859
  });
4860
4860
  function r(f) {
4861
4861
  f.relatedTarget && s.value && s.value.contains(f.relatedTarget) || a.multiselect.value.deactivate();
@@ -4907,7 +4907,7 @@ const _0 = (a, e, t) => {
4907
4907
  });
4908
4908
  });
4909
4909
  }
4910
- Dt(() => {
4910
+ Ht(() => {
4911
4911
  c();
4912
4912
  }), rn(() => {
4913
4913
  l.value();
@@ -4929,7 +4929,7 @@ function y0(a, e, t) {
4929
4929
  };
4930
4930
  }
4931
4931
  function b0(a, e) {
4932
- const { value: t, modelValue: s, mode: n, valueProp: o } = $e(a), i = Q(n.value !== "single" ? [] : {}), l = s && s.value !== void 0 ? s : t, r = w(() => n.value === "single" ? i.value[o.value] : i.value.map((u) => u[o.value])), c = w(() => n.value !== "single" ? i.value.map((u) => u[o.value]).join(",") : i.value[o.value]);
4932
+ const { value: t, modelValue: s, mode: n, valueProp: o } = $e(a), i = X(n.value !== "single" ? [] : {}), l = s && s.value !== void 0 ? s : t, r = w(() => n.value === "single" ? i.value[o.value] : i.value.map((u) => u[o.value])), c = w(() => n.value !== "single" ? i.value.map((u) => u[o.value]).join(",") : i.value[o.value]);
4933
4933
  return {
4934
4934
  iv: i,
4935
4935
  internalValue: i,
@@ -4940,7 +4940,7 @@ function b0(a, e) {
4940
4940
  };
4941
4941
  }
4942
4942
  function w0(a, e, t) {
4943
- const { regex: s } = $e(a), n = tt().proxy, o = t.isOpen, i = t.open, l = Q(null), r = Q(null), c = () => {
4943
+ const { regex: s } = $e(a), n = tt().proxy, o = t.isOpen, i = t.open, l = X(null), r = X(null), c = () => {
4944
4944
  l.value = "";
4945
4945
  }, u = (C) => {
4946
4946
  l.value = C.target.value;
@@ -4969,7 +4969,7 @@ function w0(a, e, t) {
4969
4969
  };
4970
4970
  }
4971
4971
  function $0(a, e, t) {
4972
- const { groupSelect: s, mode: n, groups: o, disabledProp: i } = $e(a), l = Q(null), r = (u) => {
4972
+ const { groupSelect: s, mode: n, groups: o, disabledProp: i } = $e(a), l = X(null), r = (u) => {
4973
4973
  u === void 0 || u !== null && u[i.value] || o.value && u && u.group && (n.value === "single" || !s.value) || (l.value = u);
4974
4974
  };
4975
4975
  return {
@@ -5012,34 +5012,34 @@ function A0(a, e, t) {
5012
5012
  minChars: y,
5013
5013
  filterResults: V,
5014
5014
  clearOnSearch: U,
5015
- clearOnSelect: F,
5016
- valueProp: H,
5017
- allowAbsent: O,
5018
- groupLabel: z,
5019
- canDeselect: K,
5020
- max: ie,
5015
+ clearOnSelect: W,
5016
+ valueProp: D,
5017
+ allowAbsent: x,
5018
+ groupLabel: ee,
5019
+ canDeselect: I,
5020
+ max: te,
5021
5021
  strict: b,
5022
5022
  closeOnSelect: T,
5023
5023
  closeOnDeselect: P,
5024
5024
  groups: le,
5025
- reverse: ae,
5025
+ reverse: ne,
5026
5026
  infinite: ue,
5027
- groupOptions: se,
5027
+ groupOptions: ie,
5028
5028
  groupHideEmpty: E,
5029
5029
  groupSelect: L,
5030
5030
  onCreate: g,
5031
5031
  disabledProp: N,
5032
5032
  searchStart: fe,
5033
- searchFilter: te
5034
- } = $e(a), J = tt().proxy, x = t.iv, I = t.ev, W = t.search, Ce = t.clearSearch, Pe = t.update, Da = t.pointer, nt = t.clearPointer, Pa = t.focus, Ba = t.deactivate, st = t.close, Na = t.localize, gt = Q([]), Ze = Q([]), Ie = Q(!1), f1 = Q(null), v1 = Q(ue.value && i.value === -1 ? 10 : i.value), U1 = w(() => r.value || c.value || !1), Ra = w(() => f.value !== void 0 ? f.value : p.value !== void 0 ? p.value : !0), Fe = w(() => {
5033
+ searchFilter: ae
5034
+ } = $e(a), Q = tt().proxy, z = t.iv, O = t.ev, q = t.search, Ce = t.clearSearch, Pe = t.update, Ha = t.pointer, nt = t.clearPointer, Pa = t.focus, Ba = t.deactivate, st = t.close, Na = t.localize, gt = X([]), Ze = X([]), Ie = X(!1), f1 = X(null), v1 = X(ue.value && i.value === -1 ? 10 : i.value), U1 = w(() => r.value || c.value || !1), Ra = w(() => f.value !== void 0 ? f.value : p.value !== void 0 ? p.value : !0), Fe = w(() => {
5035
5035
  if (le.value) {
5036
5036
  let m = Ut.value || /* istanbul ignore next */
5037
- [], D = [];
5038
- return m.forEach((ne) => {
5039
- g1(ne[se.value]).forEach((pe) => {
5040
- D.push(Object.assign({}, pe, ne[N.value] ? { [N.value]: !0 } : {}));
5037
+ [], H = [];
5038
+ return m.forEach((se) => {
5039
+ g1(se[ie.value]).forEach((pe) => {
5040
+ H.push(Object.assign({}, pe, se[N.value] ? { [N.value]: !0 } : {}));
5041
5041
  });
5042
- }), D;
5042
+ }), H;
5043
5043
  } else {
5044
5044
  let m = g1(Ze.value || /* istanbul ignore next */
5045
5045
  []);
@@ -5047,25 +5047,25 @@ function A0(a, e, t) {
5047
5047
  }
5048
5048
  }), j1 = w(() => {
5049
5049
  let m = Fe.value;
5050
- return ae.value && (m = m.reverse()), it.value.length && (m = it.value.concat(m)), _1(m);
5050
+ return ne.value && (m = m.reverse()), it.value.length && (m = it.value.concat(m)), _1(m);
5051
5051
  }), yt = w(() => {
5052
5052
  let m = j1.value;
5053
5053
  return v1.value > 0 && (m = m.slice(0, v1.value)), m;
5054
5054
  }), Ut = w(() => {
5055
5055
  if (!le.value)
5056
5056
  return [];
5057
- let m = [], D = Ze.value || /* istanbul ignore next */
5057
+ let m = [], H = Ze.value || /* istanbul ignore next */
5058
5058
  [];
5059
5059
  return gt.value.length && m.push({
5060
- [z.value]: " ",
5061
- [se.value]: [...gt.value],
5060
+ [ee.value]: " ",
5061
+ [ie.value]: [...gt.value],
5062
5062
  __CREATE__: !0
5063
- }), m.concat(D);
5063
+ }), m.concat(H);
5064
5064
  }), Ua = w(() => {
5065
- let m = [...Ut.value].map((D) => ({ ...D }));
5066
- return it.value.length && (m[0] && m[0].__CREATE__ ? m[0][se.value] = [...it.value, ...m[0][se.value]] : m = [{
5067
- [z.value]: " ",
5068
- [se.value]: [...it.value],
5065
+ let m = [...Ut.value].map((H) => ({ ...H }));
5066
+ return it.value.length && (m[0] && m[0].__CREATE__ ? m[0][ie.value] = [...it.value, ...m[0][ie.value]] : m = [{
5067
+ [ee.value]: " ",
5068
+ [ie.value]: [...it.value],
5069
5069
  __CREATE__: !0
5070
5070
  }].concat(m)), m;
5071
5071
  }), Z1 = w(() => {
@@ -5073,28 +5073,28 @@ function A0(a, e, t) {
5073
5073
  return [];
5074
5074
  let m = Ua.value;
5075
5075
  return tn((m || /* istanbul ignore next */
5076
- []).map((D, ne) => {
5077
- const pe = g1(D[se.value]);
5076
+ []).map((H, se) => {
5077
+ const pe = g1(H[ie.value]);
5078
5078
  return {
5079
- ...D,
5080
- index: ne,
5079
+ ...H,
5080
+ index: se,
5081
5081
  group: !0,
5082
- [se.value]: _1(pe, !1).map((bt) => Object.assign({}, bt, D[N.value] ? { [N.value]: !0 } : {})),
5083
- __VISIBLE__: _1(pe).map((bt) => Object.assign({}, bt, D[N.value] ? { [N.value]: !0 } : {}))
5082
+ [ie.value]: _1(pe, !1).map((bt) => Object.assign({}, bt, H[N.value] ? { [N.value]: !0 } : {})),
5083
+ __VISIBLE__: _1(pe).map((bt) => Object.assign({}, bt, H[N.value] ? { [N.value]: !0 } : {}))
5084
5084
  };
5085
5085
  }));
5086
5086
  }), p1 = w(() => {
5087
5087
  switch (n.value) {
5088
5088
  case "single":
5089
- return !Le(x.value[H.value]);
5089
+ return !Le(z.value[D.value]);
5090
5090
  case "multiple":
5091
5091
  case "tags":
5092
- return !Le(x.value) && x.value.length > 0;
5092
+ return !Le(z.value) && z.value.length > 0;
5093
5093
  }
5094
- }), ja = w(() => C !== void 0 && C.value !== void 0 ? C.value(x.value, J) : x.value && x.value.length > 1 ? `${x.value.length} options selected` : "1 option selected"), Za = w(() => !Fe.value.length && !Ie.value && !it.value.length), Fa = w(() => Fe.value.length > 0 && yt.value.length == 0 && (W.value && le.value || !le.value)), it = w(() => U1.value === !1 || !W.value ? [] : Qa(W.value) !== -1 ? [] : [{
5095
- [H.value]: W.value,
5096
- [Oe.value]: W.value,
5097
- [u.value]: W.value,
5094
+ }), ja = w(() => C !== void 0 && C.value !== void 0 ? C.value(z.value, Q) : z.value && z.value.length > 1 ? `${z.value.length} options selected` : "1 option selected"), Za = w(() => !Fe.value.length && !Ie.value && !it.value.length), Fa = w(() => Fe.value.length > 0 && yt.value.length == 0 && (q.value && le.value || !le.value)), it = w(() => U1.value === !1 || !q.value ? [] : Qa(q.value) !== -1 ? [] : [{
5095
+ [D.value]: q.value,
5096
+ [Oe.value]: q.value,
5097
+ [u.value]: q.value,
5098
5098
  __CREATE__: !0
5099
5099
  }]), Oe = w(() => o.value || u.value), qa = w(() => {
5100
5100
  switch (n.value) {
@@ -5111,10 +5111,10 @@ function A0(a, e, t) {
5111
5111
  break;
5112
5112
  case "multiple":
5113
5113
  case "tags":
5114
- Pe(x.value.concat(m));
5114
+ Pe(z.value.concat(m));
5115
5115
  break;
5116
5116
  }
5117
- e.emit("select", F1(m), m, J);
5117
+ e.emit("select", F1(m), m, Q);
5118
5118
  }, lt = (m) => {
5119
5119
  switch (typeof m != "object" && (m = Ne(m)), n.value) {
5120
5120
  case "single":
@@ -5122,35 +5122,35 @@ function A0(a, e, t) {
5122
5122
  break;
5123
5123
  case "tags":
5124
5124
  case "multiple":
5125
- Pe(Array.isArray(m) ? x.value.filter((D) => m.map((ne) => ne[H.value]).indexOf(D[H.value]) === -1) : x.value.filter((D) => D[H.value] != m[H.value]));
5125
+ Pe(Array.isArray(m) ? z.value.filter((H) => m.map((se) => se[D.value]).indexOf(H[D.value]) === -1) : z.value.filter((H) => H[D.value] != m[D.value]));
5126
5126
  break;
5127
5127
  }
5128
- e.emit("deselect", F1(m), m, J);
5129
- }, F1 = (m) => $.value ? m : m[H.value], q1 = (m) => {
5128
+ e.emit("deselect", F1(m), m, Q);
5129
+ }, F1 = (m) => $.value ? m : m[D.value], q1 = (m) => {
5130
5130
  lt(m);
5131
- }, za = (m, D) => {
5132
- if (D.button !== 0) {
5133
- D.preventDefault();
5131
+ }, za = (m, H) => {
5132
+ if (H.button !== 0) {
5133
+ H.preventDefault();
5134
5134
  return;
5135
5135
  }
5136
5136
  q1(m);
5137
5137
  }, W1 = () => {
5138
- e.emit("clear", J), Pe(qa.value);
5138
+ e.emit("clear", Q), Pe(qa.value);
5139
5139
  }, Be = (m) => {
5140
5140
  if (m.group !== void 0)
5141
- return n.value === "single" ? !1 : Xa(m[se.value]) && m[se.value].length;
5141
+ return n.value === "single" ? !1 : Xa(m[ie.value]) && m[ie.value].length;
5142
5142
  switch (n.value) {
5143
5143
  case "single":
5144
- return !Le(x.value) && x.value[H.value] == m[H.value];
5144
+ return !Le(z.value) && z.value[D.value] == m[D.value];
5145
5145
  case "tags":
5146
5146
  case "multiple":
5147
- return !Le(x.value) && x.value.map((D) => D[H.value]).indexOf(m[H.value]) !== -1;
5147
+ return !Le(z.value) && z.value.map((H) => H[D.value]).indexOf(m[D.value]) !== -1;
5148
5148
  }
5149
- }, h1 = (m) => m[N.value] === !0, m1 = () => ie === void 0 || ie.value === -1 || !p1.value && ie.value > 0 ? !1 : x.value.length >= ie.value, xa = (m) => {
5149
+ }, h1 = (m) => m[N.value] === !0, m1 = () => te === void 0 || te.value === -1 || !p1.value && te.value > 0 ? !1 : z.value.length >= te.value, xa = (m) => {
5150
5150
  if (!h1(m)) {
5151
- if (g && g.value && !Be(m) && m.__CREATE__ && (m = { ...m }, delete m.__CREATE__, m = g.value(m, J), m instanceof Promise)) {
5152
- Ie.value = !0, m.then((D) => {
5153
- Ie.value = !1, z1(D);
5151
+ if (g && g.value && !Be(m) && m.__CREATE__ && (m = { ...m }, delete m.__CREATE__, m = g.value(m, Q), m instanceof Promise)) {
5152
+ Ie.value = !0, m.then((H) => {
5153
+ Ie.value = !1, z1(H);
5154
5154
  });
5155
5155
  return;
5156
5156
  }
@@ -5160,10 +5160,10 @@ function A0(a, e, t) {
5160
5160
  switch (m.__CREATE__ && (m = { ...m }, delete m.__CREATE__), n.value) {
5161
5161
  case "single":
5162
5162
  if (m && Be(m)) {
5163
- K.value && lt(m), P.value && (nt(), st());
5163
+ I.value && lt(m), P.value && (nt(), st());
5164
5164
  return;
5165
5165
  }
5166
- m && C1(m), F.value && Ce(), T.value && (nt(), st()), m && ot(m);
5166
+ m && C1(m), W.value && Ce(), T.value && (nt(), st()), m && ot(m);
5167
5167
  break;
5168
5168
  case "multiple":
5169
5169
  if (m && Be(m)) {
@@ -5171,10 +5171,10 @@ function A0(a, e, t) {
5171
5171
  return;
5172
5172
  }
5173
5173
  if (m1()) {
5174
- e.emit("max", J);
5174
+ e.emit("max", Q);
5175
5175
  return;
5176
5176
  }
5177
- m && (C1(m), ot(m)), F.value && Ce(), l.value && nt(), T.value && st();
5177
+ m && (C1(m), ot(m)), W.value && Ce(), l.value && nt(), T.value && st();
5178
5178
  break;
5179
5179
  case "tags":
5180
5180
  if (m && Be(m)) {
@@ -5182,10 +5182,10 @@ function A0(a, e, t) {
5182
5182
  return;
5183
5183
  }
5184
5184
  if (m1()) {
5185
- e.emit("max", J);
5185
+ e.emit("max", Q);
5186
5186
  return;
5187
5187
  }
5188
- m && C1(m), F.value && Ce(), m && ot(m), l.value && nt(), T.value && st();
5188
+ m && C1(m), W.value && Ce(), m && ot(m), l.value && nt(), T.value && st();
5189
5189
  break;
5190
5190
  }
5191
5191
  T.value || Pa();
@@ -5194,109 +5194,109 @@ function A0(a, e, t) {
5194
5194
  switch (n.value) {
5195
5195
  case "multiple":
5196
5196
  case "tags":
5197
- Ga(m[se.value]) ? lt(m[se.value]) : ot(
5198
- m[se.value].filter((D) => x.value.map((ne) => ne[H.value]).indexOf(D[H.value]) === -1).filter((D) => !D[N.value]).filter((D, ne) => x.value.length + 1 + ne <= ie.value || ie.value === -1)
5197
+ Ga(m[ie.value]) ? lt(m[ie.value]) : ot(
5198
+ m[ie.value].filter((H) => z.value.map((se) => se[D.value]).indexOf(H[D.value]) === -1).filter((H) => !H[N.value]).filter((H, se) => z.value.length + 1 + se <= te.value || te.value === -1)
5199
5199
  );
5200
5200
  break;
5201
5201
  }
5202
5202
  T.value && Ba();
5203
5203
  }
5204
5204
  }, C1 = (m) => {
5205
- Ne(m[H.value]) === void 0 && U1.value && (e.emit("tag", m[H.value], J), e.emit("option", m[H.value], J), e.emit("create", m[H.value], J), Ra.value && en(m), Ce());
5205
+ Ne(m[D.value]) === void 0 && U1.value && (e.emit("tag", m[D.value], Q), e.emit("option", m[D.value], Q), e.emit("create", m[D.value], Q), Ra.value && en(m), Ce());
5206
5206
  }, Ka = () => {
5207
5207
  n.value !== "single" && ot(yt.value.filter((m) => !m.disabled && !Be(m)));
5208
- }, Ga = (m) => m.find((D) => !Be(D) && !D[N.value]) === void 0, Xa = (m) => m.find((D) => !Be(D)) === void 0, Ne = (m) => Fe.value[Fe.value.map((D) => String(D[H.value])).indexOf(String(m))], Qa = (m, D = !0) => Fe.value.map((ne) => parseInt(ne[Oe.value]) == ne[Oe.value] ? parseInt(ne[Oe.value]) : ne[Oe.value]).indexOf(
5208
+ }, Ga = (m) => m.find((H) => !Be(H) && !H[N.value]) === void 0, Xa = (m) => m.find((H) => !Be(H)) === void 0, Ne = (m) => Fe.value[Fe.value.map((H) => String(H[D.value])).indexOf(String(m))], Qa = (m, H = !0) => Fe.value.map((se) => parseInt(se[Oe.value]) == se[Oe.value] ? parseInt(se[Oe.value]) : se[Oe.value]).indexOf(
5209
5209
  parseInt(m) == m ? parseInt(m) : m
5210
5210
  ), Ja = (m) => ["tags", "multiple"].indexOf(n.value) !== -1 && l.value && Be(m), en = (m) => {
5211
5211
  gt.value.push(m);
5212
5212
  }, tn = (m) => E.value ? m.filter(
5213
- (D) => W.value ? D.__VISIBLE__.length : D[se.value].length
5214
- ) : m.filter((D) => W.value ? D.__VISIBLE__.length : !0), _1 = (m, D = !0) => {
5215
- let ne = m;
5216
- if (W.value && V.value) {
5217
- let pe = te.value;
5218
- pe || (pe = (bt, H4) => {
5213
+ (H) => q.value ? H.__VISIBLE__.length : H[ie.value].length
5214
+ ) : m.filter((H) => q.value ? H.__VISIBLE__.length : !0), _1 = (m, H = !0) => {
5215
+ let se = m;
5216
+ if (q.value && V.value) {
5217
+ let pe = ae.value;
5218
+ pe || (pe = (bt, D4) => {
5219
5219
  let Y1 = $1(Na(bt[Oe.value]), b.value);
5220
- return fe.value ? Y1.startsWith($1(W.value, b.value)) : Y1.indexOf($1(W.value, b.value)) !== -1;
5221
- }), ne = ne.filter(pe);
5220
+ return fe.value ? Y1.startsWith($1(q.value, b.value)) : Y1.indexOf($1(q.value, b.value)) !== -1;
5221
+ }), se = se.filter(pe);
5222
5222
  }
5223
- return l.value && D && (ne = ne.filter((pe) => !Ja(pe))), ne;
5223
+ return l.value && H && (se = se.filter((pe) => !Ja(pe))), se;
5224
5224
  }, g1 = (m) => {
5225
- let D = m;
5226
- return M0(D) && (D = Object.keys(D).map((ne) => {
5227
- let pe = D[ne];
5228
- return { [H.value]: ne, [Oe.value]: pe, [u.value]: pe };
5229
- })), D = D.map((ne) => typeof ne == "object" ? ne : { [H.value]: ne, [Oe.value]: ne, [u.value]: ne }), D;
5225
+ let H = m;
5226
+ return M0(H) && (H = Object.keys(H).map((se) => {
5227
+ let pe = H[se];
5228
+ return { [D.value]: se, [Oe.value]: pe, [u.value]: pe };
5229
+ })), H = H.map((se) => typeof se == "object" ? se : { [D.value]: se, [Oe.value]: se, [u.value]: se }), H;
5230
5230
  }, jt = () => {
5231
- Le(I.value) || (x.value = Ft(I.value));
5232
- }, Zt = (m) => (Ie.value = !0, new Promise((D, ne) => {
5233
- s.value(W.value, J).then((pe) => {
5231
+ Le(O.value) || (z.value = Ft(O.value));
5232
+ }, Zt = (m) => (Ie.value = !0, new Promise((H, se) => {
5233
+ s.value(q.value, Q).then((pe) => {
5234
5234
  Ze.value = pe || [], typeof m == "function" && m(pe), Ie.value = !1;
5235
5235
  }).catch((pe) => {
5236
5236
  console.error(pe), Ze.value = [], Ie.value = !1;
5237
5237
  }).finally(() => {
5238
- D();
5238
+ H();
5239
5239
  });
5240
5240
  })), y1 = () => {
5241
5241
  if (p1.value)
5242
5242
  if (n.value === "single") {
5243
- let m = Ne(x.value[H.value]);
5243
+ let m = Ne(z.value[D.value]);
5244
5244
  if (m !== void 0) {
5245
- let D = m[u.value];
5246
- x.value[u.value] = D, $.value && (I.value[u.value] = D);
5245
+ let H = m[u.value];
5246
+ z.value[u.value] = H, $.value && (O.value[u.value] = H);
5247
5247
  }
5248
5248
  } else
5249
- x.value.forEach((m, D) => {
5250
- let ne = Ne(x.value[D][H.value]);
5251
- if (ne !== void 0) {
5252
- let pe = ne[u.value];
5253
- x.value[D][u.value] = pe, $.value && (I.value[D][u.value] = pe);
5249
+ z.value.forEach((m, H) => {
5250
+ let se = Ne(z.value[H][D.value]);
5251
+ if (se !== void 0) {
5252
+ let pe = se[u.value];
5253
+ z.value[H][u.value] = pe, $.value && (O.value[H][u.value] = pe);
5254
5254
  }
5255
5255
  });
5256
5256
  }, an = (m) => {
5257
5257
  Zt(m);
5258
- }, Ft = (m) => Le(m) ? n.value === "single" ? {} : [] : $.value ? m : n.value === "single" ? Ne(m) || (O.value ? {
5258
+ }, Ft = (m) => Le(m) ? n.value === "single" ? {} : [] : $.value ? m : n.value === "single" ? Ne(m) || (x.value ? {
5259
5259
  [u.value]: m,
5260
- [H.value]: m,
5260
+ [D.value]: m,
5261
5261
  [Oe.value]: m
5262
- } : {}) : m.filter((D) => !!Ne(D) || O.value).map((D) => Ne(D) || {
5263
- [u.value]: D,
5264
- [H.value]: D,
5265
- [Oe.value]: D
5262
+ } : {}) : m.filter((H) => !!Ne(H) || x.value).map((H) => Ne(H) || {
5263
+ [u.value]: H,
5264
+ [D.value]: H,
5265
+ [Oe.value]: H
5266
5266
  }), x1 = () => {
5267
- f1.value = re(W, (m) => {
5267
+ f1.value = re(q, (m) => {
5268
5268
  m.length < y.value || !m && y.value !== 0 || (Ie.value = !0, U.value && (Ze.value = []), setTimeout(() => {
5269
- m == W.value && s.value(W.value, J).then((D) => {
5270
- (m == W.value || !W.value) && (Ze.value = D, Da.value = yt.value.filter((ne) => ne[N.value] !== !0)[0] || null, Ie.value = !1);
5269
+ m == q.value && s.value(q.value, Q).then((H) => {
5270
+ (m == q.value || !q.value) && (Ze.value = H, Ha.value = yt.value.filter((se) => se[N.value] !== !0)[0] || null, Ie.value = !1);
5271
5271
  }).catch(
5272
5272
  /* istanbul ignore next */
5273
- (D) => {
5274
- console.error(D);
5273
+ (H) => {
5274
+ console.error(H);
5275
5275
  }
5276
5276
  );
5277
5277
  }, A.value));
5278
5278
  }, { flush: "sync" });
5279
5279
  };
5280
- if (n.value !== "single" && !Le(I.value) && !Array.isArray(I.value))
5280
+ if (n.value !== "single" && !Le(O.value) && !Array.isArray(O.value))
5281
5281
  throw new Error(`v-model must be an array when using "${n.value}" mode`);
5282
- return s && typeof s.value == "function" ? _.value ? Zt(jt) : $.value == !0 && jt() : (Ze.value = s.value, jt()), A.value > -1 && x1(), re(A, (m, D) => {
5282
+ return s && typeof s.value == "function" ? _.value ? Zt(jt) : $.value == !0 && jt() : (Ze.value = s.value, jt()), A.value > -1 && x1(), re(A, (m, H) => {
5283
5283
  f1.value && f1.value(), m >= 0 && x1();
5284
- }), re(I, (m) => {
5284
+ }), re(O, (m) => {
5285
5285
  if (Le(m)) {
5286
5286
  Pe(Ft(m), !1);
5287
5287
  return;
5288
5288
  }
5289
5289
  switch (n.value) {
5290
5290
  case "single":
5291
- ($.value ? m[H.value] != x.value[H.value] : m != x.value[H.value]) && Pe(Ft(m), !1);
5291
+ ($.value ? m[D.value] != z.value[D.value] : m != z.value[D.value]) && Pe(Ft(m), !1);
5292
5292
  break;
5293
5293
  case "multiple":
5294
5294
  case "tags":
5295
- k0($.value ? m.map((D) => D[H.value]) : m, x.value.map((D) => D[H.value])) || Pe(Ft(m), !1);
5295
+ k0($.value ? m.map((H) => H[D.value]) : m, z.value.map((H) => H[D.value])) || Pe(Ft(m), !1);
5296
5296
  break;
5297
5297
  }
5298
- }, { deep: !0 }), re(s, (m, D) => {
5299
- typeof a.options == "function" ? _.value && (!D || m && m.toString() !== D.toString()) && Zt() : (Ze.value = a.options, Object.keys(x.value).length || jt(), y1());
5298
+ }, { deep: !0 }), re(s, (m, H) => {
5299
+ typeof a.options == "function" ? _.value && (!H || m && m.toString() !== H.toString()) && Zt() : (Ze.value = a.options, Object.keys(z.value).length || jt(), y1());
5300
5300
  }), re(u, y1), {
5301
5301
  pfo: j1,
5302
5302
  fo: yt,
@@ -5342,86 +5342,86 @@ function T0(a, e, t) {
5342
5342
  groupSelect: c,
5343
5343
  disabledProp: u,
5344
5344
  groupOptions: f
5345
- } = $e(a), p = t.fo, C = t.fg, $ = t.handleOptionClick, M = t.handleGroupClick, A = t.search, _ = t.pointer, y = t.setPointer, V = t.clearPointer, U = t.multiselect, F = t.isOpen, H = w(() => p.value.filter((I) => !I[u.value])), O = w(() => C.value.filter((I) => !I[u.value])), z = w(() => r.value !== "single" && c.value), K = w(() => _.value && _.value.group), ie = w(() => J(_.value)), b = w(() => {
5346
- const I = K.value ? _.value : (
5345
+ } = $e(a), p = t.fo, C = t.fg, $ = t.handleOptionClick, M = t.handleGroupClick, A = t.search, _ = t.pointer, y = t.setPointer, V = t.clearPointer, U = t.multiselect, W = t.isOpen, D = w(() => p.value.filter((O) => !O[u.value])), x = w(() => C.value.filter((O) => !O[u.value])), ee = w(() => r.value !== "single" && c.value), I = w(() => _.value && _.value.group), te = w(() => Q(_.value)), b = w(() => {
5346
+ const O = I.value ? _.value : (
5347
5347
  /* istanbul ignore next */
5348
- J(_.value)
5349
- ), W = O.value.map((Pe) => Pe[i.value]).indexOf(I[i.value]);
5350
- let Ce = O.value[W - 1];
5348
+ Q(_.value)
5349
+ ), q = x.value.map((Pe) => Pe[i.value]).indexOf(O[i.value]);
5350
+ let Ce = x.value[q - 1];
5351
5351
  return Ce === void 0 && (Ce = P.value), Ce;
5352
5352
  }), T = w(() => {
5353
- let I = O.value.map((W) => W.label).indexOf(K.value ? _.value[i.value] : J(_.value)[i.value]) + 1;
5354
- return O.value.length <= I && (I = 0), O.value[I];
5355
- }), P = w(() => [...O.value].slice(-1)[0]), le = w(() => _.value.__VISIBLE__.filter((I) => !I[u.value])[0]), ae = w(() => {
5356
- const I = ie.value.__VISIBLE__.filter((W) => !W[u.value]);
5357
- return I[I.map((W) => W[s.value]).indexOf(_.value[s.value]) - 1];
5353
+ let O = x.value.map((q) => q.label).indexOf(I.value ? _.value[i.value] : Q(_.value)[i.value]) + 1;
5354
+ return x.value.length <= O && (O = 0), x.value[O];
5355
+ }), P = w(() => [...x.value].slice(-1)[0]), le = w(() => _.value.__VISIBLE__.filter((O) => !O[u.value])[0]), ne = w(() => {
5356
+ const O = te.value.__VISIBLE__.filter((q) => !q[u.value]);
5357
+ return O[O.map((q) => q[s.value]).indexOf(_.value[s.value]) - 1];
5358
5358
  }), ue = w(() => {
5359
- const I = J(_.value).__VISIBLE__.filter((W) => !W[u.value]);
5360
- return I[I.map((W) => W[s.value]).indexOf(_.value[s.value]) + 1];
5361
- }), se = w(() => [...b.value.__VISIBLE__.filter((I) => !I[u.value])].slice(-1)[0]), E = w(() => [...P.value.__VISIBLE__.filter((I) => !I[u.value])].slice(-1)[0]), L = (I) => _.value && (!I.group && _.value[s.value] === I[s.value] || I.group !== void 0 && _.value[i.value] === I[i.value]) ? !0 : void 0, g = () => {
5362
- y(H.value[0] || null);
5359
+ const O = Q(_.value).__VISIBLE__.filter((q) => !q[u.value]);
5360
+ return O[O.map((q) => q[s.value]).indexOf(_.value[s.value]) + 1];
5361
+ }), ie = w(() => [...b.value.__VISIBLE__.filter((O) => !O[u.value])].slice(-1)[0]), E = w(() => [...P.value.__VISIBLE__.filter((O) => !O[u.value])].slice(-1)[0]), L = (O) => _.value && (!O.group && _.value[s.value] === O[s.value] || O.group !== void 0 && _.value[i.value] === O[i.value]) ? !0 : void 0, g = () => {
5362
+ y(D.value[0] || null);
5363
5363
  }, N = () => {
5364
- !_.value || _.value[u.value] === !0 || (K.value ? M(_.value) : $(_.value));
5364
+ !_.value || _.value[u.value] === !0 || (I.value ? M(_.value) : $(_.value));
5365
5365
  }, fe = () => {
5366
5366
  if (_.value === null)
5367
- y((l.value && z.value ? O.value[0].__CREATE__ ? H.value[0] : O.value[0] : H.value[0]) || null);
5368
- else if (l.value && z.value) {
5369
- let I = K.value ? le.value : ue.value;
5370
- I === void 0 && (I = T.value, I.__CREATE__ && (I = I[f.value][0])), y(I || /* istanbul ignore next */
5367
+ y((l.value && ee.value ? x.value[0].__CREATE__ ? D.value[0] : x.value[0] : D.value[0]) || null);
5368
+ else if (l.value && ee.value) {
5369
+ let O = I.value ? le.value : ue.value;
5370
+ O === void 0 && (O = T.value, O.__CREATE__ && (O = O[f.value][0])), y(O || /* istanbul ignore next */
5371
5371
  null);
5372
5372
  } else {
5373
- let I = H.value.map((W) => W[s.value]).indexOf(_.value[s.value]) + 1;
5374
- H.value.length <= I && (I = 0), y(H.value[I] || null);
5373
+ let O = D.value.map((q) => q[s.value]).indexOf(_.value[s.value]) + 1;
5374
+ D.value.length <= O && (O = 0), y(D.value[O] || null);
5375
5375
  }
5376
5376
  Ee(() => {
5377
- x();
5377
+ z();
5378
5378
  });
5379
- }, te = () => {
5379
+ }, ae = () => {
5380
5380
  if (_.value === null) {
5381
- let I = H.value[H.value.length - 1];
5382
- l.value && z.value && (I = E.value, I === void 0 && (I = P.value)), y(I || null);
5383
- } else if (l.value && z.value) {
5384
- let I = K.value ? se.value : ae.value;
5385
- I === void 0 && (I = K.value ? b.value : ie.value, I.__CREATE__ && (I = se.value, I === void 0 && (I = b.value))), y(I || /* istanbul ignore next */
5381
+ let O = D.value[D.value.length - 1];
5382
+ l.value && ee.value && (O = E.value, O === void 0 && (O = P.value)), y(O || null);
5383
+ } else if (l.value && ee.value) {
5384
+ let O = I.value ? ie.value : ne.value;
5385
+ O === void 0 && (O = I.value ? b.value : te.value, O.__CREATE__ && (O = ie.value, O === void 0 && (O = b.value))), y(O || /* istanbul ignore next */
5386
5386
  null);
5387
5387
  } else {
5388
- let I = H.value.map((W) => W[s.value]).indexOf(_.value[s.value]) - 1;
5389
- I < 0 && (I = H.value.length - 1), y(H.value[I] || null);
5388
+ let O = D.value.map((q) => q[s.value]).indexOf(_.value[s.value]) - 1;
5389
+ O < 0 && (O = D.value.length - 1), y(D.value[O] || null);
5390
5390
  }
5391
5391
  Ee(() => {
5392
- x();
5392
+ z();
5393
5393
  });
5394
- }, J = (I) => O.value.find((W) => W.__VISIBLE__.map((Ce) => Ce[s.value]).indexOf(I[s.value]) !== -1), x = () => {
5395
- let I = U.value.querySelector("[data-pointed]");
5396
- if (!I)
5394
+ }, Q = (O) => x.value.find((q) => q.__VISIBLE__.map((Ce) => Ce[s.value]).indexOf(O[s.value]) !== -1), z = () => {
5395
+ let O = U.value.querySelector("[data-pointed]");
5396
+ if (!O)
5397
5397
  return;
5398
- let W = I.parentElement.parentElement;
5399
- l.value && (W = K.value ? I.parentElement.parentElement.parentElement : I.parentElement.parentElement.parentElement.parentElement), I.offsetTop + I.offsetHeight > W.clientHeight + W.scrollTop && (W.scrollTop = I.offsetTop + I.offsetHeight - W.clientHeight), I.offsetTop < W.scrollTop && (W.scrollTop = I.offsetTop);
5398
+ let q = O.parentElement.parentElement;
5399
+ l.value && (q = I.value ? O.parentElement.parentElement.parentElement : O.parentElement.parentElement.parentElement.parentElement), O.offsetTop + O.offsetHeight > q.clientHeight + q.scrollTop && (q.scrollTop = O.offsetTop + O.offsetHeight - q.clientHeight), O.offsetTop < q.scrollTop && (q.scrollTop = O.offsetTop);
5400
5400
  };
5401
- return re(A, (I) => {
5402
- o.value && (I.length && n.value ? g() : V());
5403
- }), re(F, (I) => {
5404
- if (I) {
5405
- let W = U.value.querySelectorAll("[data-selected]")[0];
5406
- if (!W)
5401
+ return re(A, (O) => {
5402
+ o.value && (O.length && n.value ? g() : V());
5403
+ }), re(W, (O) => {
5404
+ if (O) {
5405
+ let q = U.value.querySelectorAll("[data-selected]")[0];
5406
+ if (!q)
5407
5407
  return;
5408
- let Ce = W.parentElement.parentElement;
5408
+ let Ce = q.parentElement.parentElement;
5409
5409
  Ee(() => {
5410
- Ce.scrollTop > 0 || (Ce.scrollTop = W.offsetTop);
5410
+ Ce.scrollTop > 0 || (Ce.scrollTop = q.offsetTop);
5411
5411
  });
5412
5412
  }
5413
5413
  }), {
5414
5414
  pointer: _,
5415
- canPointGroups: z,
5415
+ canPointGroups: ee,
5416
5416
  isPointed: L,
5417
5417
  setPointerFirst: g,
5418
5418
  selectPointer: N,
5419
5419
  forwardPointer: fe,
5420
- backwardPointer: te
5420
+ backwardPointer: ae
5421
5421
  };
5422
5422
  }
5423
5423
  function S0(a, e, t) {
5424
- const { disabled: s } = $e(a), n = tt().proxy, o = Q(!1);
5424
+ const { disabled: s } = $e(a), n = tt().proxy, o = X(!1);
5425
5425
  return {
5426
5426
  isOpen: o,
5427
5427
  open: () => {
@@ -5433,12 +5433,12 @@ function S0(a, e, t) {
5433
5433
  };
5434
5434
  }
5435
5435
  function E0(a, e, t) {
5436
- const { searchable: s, disabled: n, clearOnBlur: o } = $e(a), i = t.input, l = t.open, r = t.close, c = t.clearSearch, u = t.isOpen, f = Q(null), p = Q(null), C = Q(null), $ = Q(!1), M = Q(!1), A = w(() => s.value || n.value ? -1 : 0), _ = () => {
5436
+ const { searchable: s, disabled: n, clearOnBlur: o } = $e(a), i = t.input, l = t.open, r = t.close, c = t.clearSearch, u = t.isOpen, f = X(null), p = X(null), C = X(null), $ = X(!1), M = X(!1), A = w(() => s.value || n.value ? -1 : 0), _ = () => {
5437
5437
  s.value && i.value.blur(), p.value.blur();
5438
5438
  }, y = () => {
5439
5439
  s.value && !n.value && i.value.focus();
5440
- }, V = (K = !0) => {
5441
- n.value || ($.value = !0, K && l());
5440
+ }, V = (I = !0) => {
5441
+ n.value || ($.value = !0, I && l());
5442
5442
  }, U = () => {
5443
5443
  $.value = !1, setTimeout(() => {
5444
5444
  $.value || (r(), o.value && c());
@@ -5455,8 +5455,8 @@ function E0(a, e, t) {
5455
5455
  focus: y,
5456
5456
  activate: V,
5457
5457
  deactivate: U,
5458
- handleFocusIn: (K) => {
5459
- K.target.closest("[data-tags]") && K.target.nodeName !== "INPUT" || K.target.closest("[data-clear]") || V(M.value);
5458
+ handleFocusIn: (I) => {
5459
+ I.target.closest("[data-tags]") && I.target.nodeName !== "INPUT" || I.target.closest("[data-clear]") || V(M.value);
5460
5460
  },
5461
5461
  handleFocusOut: () => {
5462
5462
  U();
@@ -5464,8 +5464,8 @@ function E0(a, e, t) {
5464
5464
  handleCaretClick: () => {
5465
5465
  U(), _();
5466
5466
  },
5467
- handleMousedown: (K) => {
5468
- M.value = !0, u.value && (K.target.isEqualNode(p.value) || K.target.isEqualNode(C.value)) ? setTimeout(() => {
5467
+ handleMousedown: (I) => {
5468
+ M.value = !0, u.value && (I.target.isEqualNode(p.value) || I.target.isEqualNode(C.value)) ? setTimeout(() => {
5469
5469
  U();
5470
5470
  }, 0) : document.activeElement.isEqualNode(p.value) && !u.value && V(), setTimeout(() => {
5471
5471
  M.value = !1;
@@ -5486,7 +5486,7 @@ function I0(a, e, t) {
5486
5486
  createTag: f,
5487
5487
  createOption: p,
5488
5488
  reverse: C
5489
- } = $e(a), $ = tt().proxy, M = t.iv, A = t.update, _ = t.search, y = t.setPointer, V = t.selectPointer, U = t.backwardPointer, F = t.forwardPointer, H = t.multiselect, O = t.wrapper, z = t.tags, K = t.isOpen, ie = t.open, b = t.blur, T = t.fo, P = w(() => f.value || p.value || !1), le = w(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), ae = () => {
5489
+ } = $e(a), $ = tt().proxy, M = t.iv, A = t.update, _ = t.search, y = t.setPointer, V = t.selectPointer, U = t.backwardPointer, W = t.forwardPointer, D = t.multiselect, x = t.wrapper, ee = t.tags, I = t.isOpen, te = t.open, b = t.blur, T = t.fo, P = w(() => f.value || p.value || !1), le = w(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), ne = () => {
5490
5490
  s.value === "tags" && !l.value && P.value && i.value && !c.value && y(T.value[T.value.map((L) => L[r.value]).indexOf(_.value)]);
5491
5491
  }, ue = (L) => {
5492
5492
  let g = L.length - 1;
@@ -5498,7 +5498,7 @@ function I0(a, e, t) {
5498
5498
  handleKeydown: (L) => {
5499
5499
  e.emit("keydown", L, $);
5500
5500
  let g, N;
5501
- switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(L.key) !== -1 && s.value === "tags" && (g = [...H.value.querySelectorAll("[data-tags] > *")].filter((fe) => fe !== z.value), N = g.findIndex((fe) => fe === document.activeElement)), L.key) {
5501
+ switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(L.key) !== -1 && s.value === "tags" && (g = [...D.value.querySelectorAll("[data-tags] > *")].filter((fe) => fe !== ee.value), N = g.findIndex((fe) => fe === document.activeElement)), L.key) {
5502
5502
  case "Backspace":
5503
5503
  if (s.value === "single" || i.value && [null, ""].indexOf(_.value) === -1 || M.value.length === 0)
5504
5504
  return;
@@ -5508,30 +5508,30 @@ function I0(a, e, t) {
5508
5508
  if (L.preventDefault(), L.keyCode === 229)
5509
5509
  return;
5510
5510
  if (N !== -1 && N !== void 0) {
5511
- A([...M.value].filter((fe, te) => te !== N)), N === g.length - 1 && (g.length - 1 ? g[g.length - 2].focus() : i.value ? z.value.querySelector("input").focus() : O.value.focus());
5511
+ A([...M.value].filter((fe, ae) => ae !== N)), N === g.length - 1 && (g.length - 1 ? g[g.length - 2].focus() : i.value ? ee.value.querySelector("input").focus() : x.value.focus());
5512
5512
  return;
5513
5513
  }
5514
5514
  if (le.value.indexOf("enter") === -1 && P.value)
5515
5515
  return;
5516
- ae(), V();
5516
+ ne(), V();
5517
5517
  break;
5518
5518
  case " ":
5519
5519
  if (!P.value && !i.value) {
5520
- L.preventDefault(), ae(), V();
5520
+ L.preventDefault(), ne(), V();
5521
5521
  return;
5522
5522
  }
5523
5523
  if (!P.value)
5524
5524
  return !1;
5525
5525
  if (le.value.indexOf("space") === -1 && P.value)
5526
5526
  return;
5527
- L.preventDefault(), ae(), V();
5527
+ L.preventDefault(), ne(), V();
5528
5528
  break;
5529
5529
  case "Tab":
5530
5530
  case ";":
5531
5531
  case ",":
5532
5532
  if (le.value.indexOf(L.key.toLowerCase()) === -1 || !P.value)
5533
5533
  return;
5534
- ae(), V(), L.preventDefault();
5534
+ ne(), V(), L.preventDefault();
5535
5535
  break;
5536
5536
  case "Escape":
5537
5537
  b();
@@ -5539,29 +5539,29 @@ function I0(a, e, t) {
5539
5539
  case "ArrowUp":
5540
5540
  if (L.preventDefault(), !l.value)
5541
5541
  return;
5542
- K.value || ie(), U();
5542
+ I.value || te(), U();
5543
5543
  break;
5544
5544
  case "ArrowDown":
5545
5545
  if (L.preventDefault(), !l.value)
5546
5546
  return;
5547
- K.value || ie(), F();
5547
+ I.value || te(), W();
5548
5548
  break;
5549
5549
  case "ArrowLeft":
5550
- if (i.value && z.value && z.value.querySelector("input").selectionStart || L.shiftKey || s.value !== "tags" || !M.value || !M.value.length)
5550
+ if (i.value && ee.value && ee.value.querySelector("input").selectionStart || L.shiftKey || s.value !== "tags" || !M.value || !M.value.length)
5551
5551
  return;
5552
5552
  L.preventDefault(), N === -1 ? g[g.length - 1].focus() : N > 0 && g[N - 1].focus();
5553
5553
  break;
5554
5554
  case "ArrowRight":
5555
5555
  if (N === -1 || L.shiftKey || s.value !== "tags" || !M.value || !M.value.length)
5556
5556
  return;
5557
- L.preventDefault(), g.length > N + 1 ? g[N + 1].focus() : i.value ? z.value.querySelector("input").focus() : i.value || O.value.focus();
5557
+ L.preventDefault(), g.length > N + 1 ? g[N + 1].focus() : i.value ? ee.value.querySelector("input").focus() : i.value || x.value.focus();
5558
5558
  break;
5559
5559
  }
5560
5560
  },
5561
5561
  handleKeyup: (L) => {
5562
5562
  e.emit("keyup", L, $);
5563
5563
  },
5564
- preparePointer: ae
5564
+ preparePointer: ne
5565
5565
  };
5566
5566
  }
5567
5567
  function O0(a, e, t) {
@@ -5659,8 +5659,8 @@ function O0(a, e, t) {
5659
5659
  },
5660
5660
  groupOptions: y.groupOptions,
5661
5661
  option: (V, U) => {
5662
- let F = [y.option];
5663
- return r(V) ? F.push(c(V) ? y.optionSelectedPointed : y.optionPointed) : c(V) ? F.push(u(V) ? y.optionSelectedDisabled : y.optionSelected) : (u(V) || U && u(U)) && F.push(y.optionDisabled), F;
5662
+ let W = [y.option];
5663
+ return r(V) ? W.push(c(V) ? y.optionSelectedPointed : y.optionPointed) : c(V) ? W.push(u(V) ? y.optionSelectedDisabled : y.optionSelected) : (u(V) || U && u(U)) && W.push(y.optionDisabled), W;
5664
5664
  },
5665
5665
  noOptions: y.noOptions,
5666
5666
  noResults: y.noResults,
@@ -5675,7 +5675,7 @@ function L0(a, e, t) {
5675
5675
  const {
5676
5676
  limit: s,
5677
5677
  infinite: n
5678
- } = $e(a), o = t.isOpen, i = t.offset, l = t.search, r = t.pfo, c = t.eo, u = Q(null), f = Q(null), p = w(() => i.value < r.value.length), C = (M) => {
5678
+ } = $e(a), o = t.isOpen, i = t.offset, l = t.search, r = t.pfo, c = t.eo, u = X(null), f = X(null), p = w(() => i.value < r.value.length), C = (M) => {
5679
5679
  const { isIntersecting: A, target: _ } = M[0];
5680
5680
  if (A) {
5681
5681
  const y = _.offsetParent, V = y.scrollTop;
@@ -5692,7 +5692,7 @@ function L0(a, e, t) {
5692
5692
  n.value && (i.value = s.value, $());
5693
5693
  }, { flush: "post" }), re(c, () => {
5694
5694
  n.value && $();
5695
- }, { immediate: !1, flush: "post" }), Dt(() => {
5695
+ }, { immediate: !1, flush: "post" }), Ht(() => {
5696
5696
  window && window.IntersectionObserver && (u.value = new IntersectionObserver(C));
5697
5697
  }), {
5698
5698
  hasMore: p,
@@ -5709,7 +5709,7 @@ function V0(a, e, t) {
5709
5709
  groupLabel: r,
5710
5710
  aria: c,
5711
5711
  searchable: u
5712
- } = $e(a), f = t.pointer, p = t.iv, C = t.hasSelected, $ = t.multipleLabelText, M = Q(null), A = w(() => {
5712
+ } = $e(a), f = t.pointer, p = t.iv, C = t.hasSelected, $ = t.multipleLabelText, M = X(null), A = w(() => {
5713
5713
  let T = [];
5714
5714
  return n && n.value && T.push(n.value), T.push("assist"), T.join("-");
5715
5715
  }), _ = w(() => {
@@ -5719,46 +5719,46 @@ function V0(a, e, t) {
5719
5719
  let T = [];
5720
5720
  if (n && n.value && T.push(n.value), f.value)
5721
5721
  return T.push(f.value.group ? "multiselect-group" : "multiselect-option"), T.push(f.value.group ? f.value.index : f.value[o.value]), T.join("-");
5722
- }), V = w(() => s.value), U = w(() => l.value !== "single"), F = w(() => {
5722
+ }), V = w(() => s.value), U = w(() => l.value !== "single"), W = w(() => {
5723
5723
  let T = "";
5724
5724
  return l.value === "single" && C.value && (T += p.value[i.value]), l.value === "multiple" && C.value && (T += $.value), l.value === "tags" && C.value && (T += p.value.map((P) => P[i.value]).join(", ")), T;
5725
- }), H = w(() => {
5725
+ }), D = w(() => {
5726
5726
  let T = { ...c.value };
5727
- return u.value && (T["aria-labelledby"] = T["aria-labelledby"] ? `${A.value} ${T["aria-labelledby"]}` : A.value, F.value && T["aria-label"] && (T["aria-label"] = `${F.value}, ${T["aria-label"]}`)), T;
5728
- }), O = (T) => {
5727
+ return u.value && (T["aria-labelledby"] = T["aria-labelledby"] ? `${A.value} ${T["aria-labelledby"]}` : A.value, W.value && T["aria-label"] && (T["aria-label"] = `${W.value}, ${T["aria-label"]}`)), T;
5728
+ }), x = (T) => {
5729
5729
  let P = [];
5730
5730
  return n && n.value && P.push(n.value), P.push("multiselect-option"), P.push(T[o.value]), P.join("-");
5731
- }, z = (T) => {
5731
+ }, ee = (T) => {
5732
5732
  let P = [];
5733
5733
  return n && n.value && P.push(n.value), P.push("multiselect-group"), P.push(T.index), P.join("-");
5734
- }, K = (T) => {
5734
+ }, I = (T) => {
5735
5735
  let P = [];
5736
5736
  return P.push(T), P.join(" ");
5737
- }, ie = (T) => {
5737
+ }, te = (T) => {
5738
5738
  let P = [];
5739
5739
  return P.push(T), P.join(" ");
5740
5740
  }, b = (T) => `${T} ❎`;
5741
- return Dt(() => {
5741
+ return Ht(() => {
5742
5742
  if (n && n.value && document && document.querySelector) {
5743
5743
  let T = document.querySelector(`[for="${n.value}"]`);
5744
5744
  M.value = T ? T.innerText : null;
5745
5745
  }
5746
5746
  }), {
5747
- arias: H,
5748
- ariaLabel: F,
5747
+ arias: D,
5748
+ ariaLabel: W,
5749
5749
  ariaAssist: A,
5750
5750
  ariaControls: _,
5751
5751
  ariaPlaceholder: V,
5752
5752
  ariaMultiselectable: U,
5753
5753
  ariaActiveDescendant: y,
5754
- ariaOptionId: O,
5755
- ariaOptionLabel: K,
5756
- ariaGroupId: z,
5757
- ariaGroupLabel: ie,
5754
+ ariaOptionId: x,
5755
+ ariaOptionLabel: I,
5756
+ ariaGroupId: ee,
5757
+ ariaGroupLabel: te,
5758
5758
  ariaTagLabel: b
5759
5759
  };
5760
5760
  }
5761
- function H0(a, e, t) {
5761
+ function D0(a, e, t) {
5762
5762
  const {
5763
5763
  locale: s,
5764
5764
  fallbackLocale: n
@@ -5767,7 +5767,7 @@ function H0(a, e, t) {
5767
5767
  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]] : ""
5768
5768
  };
5769
5769
  }
5770
- function D0(a, e, t, s = {}) {
5770
+ function H0(a, e, t, s = {}) {
5771
5771
  return t.forEach((n) => {
5772
5772
  n && (s = {
5773
5773
  ...s,
@@ -6111,8 +6111,8 @@ var We = {
6111
6111
  }
6112
6112
  },
6113
6113
  setup(a, e) {
6114
- return D0(a, e, [
6115
- H0,
6114
+ return H0(a, e, [
6115
+ D0,
6116
6116
  b0,
6117
6117
  $0,
6118
6118
  S0,
@@ -6132,7 +6132,7 @@ const P0 = ["id", "dir"], B0 = ["tabindex", "aria-controls", "aria-placeholder",
6132
6132
  function a5(a, e, t, s, n, o) {
6133
6133
  return v(), h("div", {
6134
6134
  ref: "multiselect",
6135
- class: X(a.classList.container),
6135
+ class: G(a.classList.container),
6136
6136
  id: t.searchable ? void 0 : t.id,
6137
6137
  dir: t.rtl ? "rtl" : void 0,
6138
6138
  onFocusin: e[10] || (e[10] = (...i) => a.handleFocusIn && a.handleFocusIn(...i)),
@@ -6180,20 +6180,20 @@ function a5(a, e, t, s, n, o) {
6180
6180
  "div",
6181
6181
  {
6182
6182
  key: 1,
6183
- class: X(a.classList.tags),
6183
+ class: G(a.classList.tags),
6184
6184
  "data-tags": ""
6185
6185
  },
6186
6186
  [
6187
6187
  (v(!0), h(
6188
6188
  ve,
6189
6189
  null,
6190
- ye(a.iv, (i, l, r) => ee(a.$slots, "tag", {
6190
+ ye(a.iv, (i, l, r) => J(a.$slots, "tag", {
6191
6191
  option: i,
6192
6192
  handleTagRemove: a.handleTagRemove,
6193
6193
  disabled: t.disabled
6194
6194
  }, () => [
6195
6195
  (v(), h("span", {
6196
- class: X([
6196
+ class: G([
6197
6197
  a.classList.tag,
6198
6198
  i.disabled ? a.classList.tagDisabled : null
6199
6199
  ]),
@@ -6203,19 +6203,19 @@ function a5(a, e, t, s, n, o) {
6203
6203
  "aria-label": a.ariaTagLabel(a.localize(i[t.label]))
6204
6204
  }, [
6205
6205
  t1(
6206
- q(a.localize(i[t.label])) + " ",
6206
+ F(a.localize(i[t.label])) + " ",
6207
6207
  1
6208
6208
  /* TEXT */
6209
6209
  ),
6210
6210
  !t.disabled && !i.disabled ? (v(), h("span", {
6211
6211
  key: 0,
6212
- class: X(a.classList.tagRemove),
6212
+ class: G(a.classList.tagRemove),
6213
6213
  onClick: _e((c) => a.handleTagRemove(i, c), ["stop"])
6214
6214
  }, [
6215
6215
  d(
6216
6216
  "span",
6217
6217
  {
6218
- class: X(a.classList.tagRemoveIcon)
6218
+ class: G(a.classList.tagRemoveIcon)
6219
6219
  },
6220
6220
  null,
6221
6221
  2
@@ -6230,7 +6230,7 @@ function a5(a, e, t, s, n, o) {
6230
6230
  d(
6231
6231
  "div",
6232
6232
  {
6233
- class: X(a.classList.tagsSearchWrapper),
6233
+ class: G(a.classList.tagsSearchWrapper),
6234
6234
  ref: "tags"
6235
6235
  },
6236
6236
  [
@@ -6238,9 +6238,9 @@ function a5(a, e, t, s, n, o) {
6238
6238
  d(
6239
6239
  "span",
6240
6240
  {
6241
- class: X(a.classList.tagsSearchCopy)
6241
+ class: G(a.classList.tagsSearchCopy)
6242
6242
  },
6243
- q(a.search),
6243
+ F(a.search),
6244
6244
  3
6245
6245
  /* TEXT, CLASS */
6246
6246
  ),
@@ -6276,22 +6276,22 @@ function a5(a, e, t, s, n, o) {
6276
6276
  /* CLASS */
6277
6277
  )) : S("v-if", !0),
6278
6278
  S(" Single label "),
6279
- t.mode == "single" && a.hasSelected && !a.search && a.iv ? ee(a.$slots, "singlelabel", {
6279
+ t.mode == "single" && a.hasSelected && !a.search && a.iv ? J(a.$slots, "singlelabel", {
6280
6280
  key: 2,
6281
6281
  value: a.iv
6282
6282
  }, () => [
6283
6283
  d(
6284
6284
  "div",
6285
6285
  {
6286
- class: X(a.classList.singleLabel)
6286
+ class: G(a.classList.singleLabel)
6287
6287
  },
6288
6288
  [
6289
6289
  d(
6290
6290
  "span",
6291
6291
  {
6292
- class: X(a.classList.singleLabelText)
6292
+ class: G(a.classList.singleLabelText)
6293
6293
  },
6294
- q(a.localize(a.iv[t.label])),
6294
+ F(a.localize(a.iv[t.label])),
6295
6295
  3
6296
6296
  /* TEXT, CLASS */
6297
6297
  )
@@ -6301,34 +6301,34 @@ function a5(a, e, t, s, n, o) {
6301
6301
  )
6302
6302
  ]) : S("v-if", !0),
6303
6303
  S(" Multiple label "),
6304
- t.mode == "multiple" && a.hasSelected && !a.search ? ee(a.$slots, "multiplelabel", {
6304
+ t.mode == "multiple" && a.hasSelected && !a.search ? J(a.$slots, "multiplelabel", {
6305
6305
  key: 3,
6306
6306
  values: a.iv
6307
6307
  }, () => [
6308
6308
  d("div", {
6309
- class: X(a.classList.multipleLabel),
6309
+ class: G(a.classList.multipleLabel),
6310
6310
  innerHTML: a.multipleLabelText
6311
6311
  }, null, 10, Z0)
6312
6312
  ]) : S("v-if", !0),
6313
6313
  S(" Placeholder "),
6314
- t.placeholder && !a.hasSelected && !a.search ? ee(a.$slots, "placeholder", { key: 4 }, () => [
6314
+ t.placeholder && !a.hasSelected && !a.search ? J(a.$slots, "placeholder", { key: 4 }, () => [
6315
6315
  d(
6316
6316
  "div",
6317
6317
  {
6318
- class: X(a.classList.placeholder),
6318
+ class: G(a.classList.placeholder),
6319
6319
  "aria-hidden": "true"
6320
6320
  },
6321
- q(t.placeholder),
6321
+ F(t.placeholder),
6322
6322
  3
6323
6323
  /* TEXT, CLASS */
6324
6324
  )
6325
6325
  ]) : S("v-if", !0),
6326
6326
  S(" Spinner "),
6327
- t.loading || a.resolving ? ee(a.$slots, "spinner", { key: 5 }, () => [
6327
+ t.loading || a.resolving ? J(a.$slots, "spinner", { key: 5 }, () => [
6328
6328
  d(
6329
6329
  "span",
6330
6330
  {
6331
- class: X(a.classList.spinner),
6331
+ class: G(a.classList.spinner),
6332
6332
  "aria-hidden": "true"
6333
6333
  },
6334
6334
  null,
@@ -6337,7 +6337,7 @@ function a5(a, e, t, s, n, o) {
6337
6337
  )
6338
6338
  ]) : S("v-if", !0),
6339
6339
  S(" Clear "),
6340
- a.hasSelected && !t.disabled && t.canClear && !a.busy ? ee(a.$slots, "clear", {
6340
+ a.hasSelected && !t.disabled && t.canClear && !a.busy ? J(a.$slots, "clear", {
6341
6341
  key: 6,
6342
6342
  clear: a.clear
6343
6343
  }, () => [
@@ -6349,7 +6349,7 @@ function a5(a, e, t, s, n, o) {
6349
6349
  role: "button",
6350
6350
  "data-clear": "",
6351
6351
  "aria-roledescription": "❎",
6352
- class: X(a.classList.clear),
6352
+ class: G(a.classList.clear),
6353
6353
  onClick: e[6] || (e[6] = (...i) => a.clear && a.clear(...i)),
6354
6354
  onKeyup: e[7] || (e[7] = ze((...i) => a.clear && a.clear(...i), ["enter"]))
6355
6355
  },
@@ -6357,7 +6357,7 @@ function a5(a, e, t, s, n, o) {
6357
6357
  d(
6358
6358
  "span",
6359
6359
  {
6360
- class: X(a.classList.clearIcon)
6360
+ class: G(a.classList.clearIcon)
6361
6361
  },
6362
6362
  null,
6363
6363
  2
@@ -6369,11 +6369,11 @@ function a5(a, e, t, s, n, o) {
6369
6369
  )
6370
6370
  ]) : S("v-if", !0),
6371
6371
  S(" Caret "),
6372
- t.caret && t.showOptions ? ee(a.$slots, "caret", { key: 7 }, () => [
6372
+ t.caret && t.showOptions ? J(a.$slots, "caret", { key: 7 }, () => [
6373
6373
  d(
6374
6374
  "span",
6375
6375
  {
6376
- class: X(a.classList.caret),
6376
+ class: G(a.classList.caret),
6377
6377
  onClick: e[8] || (e[8] = (...i) => a.handleCaretClick && a.handleCaretClick(...i)),
6378
6378
  "aria-hidden": "true"
6379
6379
  },
@@ -6387,13 +6387,13 @@ function a5(a, e, t, s, n, o) {
6387
6387
  d(
6388
6388
  "div",
6389
6389
  {
6390
- class: X(a.classList.dropdown),
6390
+ class: G(a.classList.dropdown),
6391
6391
  tabindex: "-1"
6392
6392
  },
6393
6393
  [
6394
- ee(a.$slots, "beforelist", { options: a.fo }),
6394
+ J(a.$slots, "beforelist", { options: a.fo }),
6395
6395
  d("ul", {
6396
- class: X(a.classList.options),
6396
+ class: G(a.classList.options),
6397
6397
  id: a.ariaControls,
6398
6398
  role: "listbox"
6399
6399
  }, [
@@ -6401,7 +6401,7 @@ function a5(a, e, t, s, n, o) {
6401
6401
  ve,
6402
6402
  { key: 0 },
6403
6403
  ye(a.fg, (i, l, r) => (v(), h("li", {
6404
- class: X(a.classList.group),
6404
+ class: G(a.classList.group),
6405
6405
  key: r,
6406
6406
  id: a.ariaGroupId(i),
6407
6407
  "aria-label": a.ariaGroupLabel(a.localize(i[t.groupLabel])),
@@ -6410,12 +6410,12 @@ function a5(a, e, t, s, n, o) {
6410
6410
  }, [
6411
6411
  i.__CREATE__ ? S("v-if", !0) : (v(), h("div", {
6412
6412
  key: 0,
6413
- class: X(a.classList.groupLabel(i)),
6413
+ class: G(a.classList.groupLabel(i)),
6414
6414
  "data-pointed": a.isPointed(i),
6415
6415
  onMouseenter: (c) => a.setPointer(i, l),
6416
6416
  onClick: (c) => a.handleGroupClick(i)
6417
6417
  }, [
6418
- ee(a.$slots, "grouplabel", {
6418
+ J(a.$slots, "grouplabel", {
6419
6419
  group: i,
6420
6420
  isSelected: a.isSelected,
6421
6421
  isPointed: a.isPointed
@@ -6426,7 +6426,7 @@ function a5(a, e, t, s, n, o) {
6426
6426
  ])
6427
6427
  ], 42, W0)),
6428
6428
  d("ul", {
6429
- class: X(a.classList.groupOptions),
6429
+ class: G(a.classList.groupOptions),
6430
6430
  "aria-label": a.ariaGroupLabel(a.localize(i[t.groupLabel])),
6431
6431
  role: "group"
6432
6432
  }, [
@@ -6434,7 +6434,7 @@ function a5(a, e, t, s, n, o) {
6434
6434
  ve,
6435
6435
  null,
6436
6436
  ye(i.__VISIBLE__, (c, u, f) => (v(), h("li", {
6437
- class: X(a.classList.option(c, i)),
6437
+ class: G(a.classList.option(c, i)),
6438
6438
  "data-pointed": a.isPointed(c),
6439
6439
  "data-selected": a.isSelected(c) || void 0,
6440
6440
  key: f,
@@ -6445,7 +6445,7 @@ function a5(a, e, t, s, n, o) {
6445
6445
  "aria-label": a.ariaOptionLabel(a.localize(c[t.label])),
6446
6446
  role: "option"
6447
6447
  }, [
6448
- ee(a.$slots, "option", {
6448
+ J(a.$slots, "option", {
6449
6449
  option: c,
6450
6450
  isSelected: a.isSelected,
6451
6451
  isPointed: a.isPointed,
@@ -6454,7 +6454,7 @@ function a5(a, e, t, s, n, o) {
6454
6454
  d(
6455
6455
  "span",
6456
6456
  null,
6457
- q(a.localize(c[t.label])),
6457
+ F(a.localize(c[t.label])),
6458
6458
  1
6459
6459
  /* TEXT */
6460
6460
  )
@@ -6471,7 +6471,7 @@ function a5(a, e, t, s, n, o) {
6471
6471
  ve,
6472
6472
  { key: 1 },
6473
6473
  ye(a.fo, (i, l, r) => (v(), h("li", {
6474
- class: X(a.classList.option(i)),
6474
+ class: G(a.classList.option(i)),
6475
6475
  "data-pointed": a.isPointed(i),
6476
6476
  "data-selected": a.isSelected(i) || void 0,
6477
6477
  key: r,
@@ -6482,7 +6482,7 @@ function a5(a, e, t, s, n, o) {
6482
6482
  "aria-label": a.ariaOptionLabel(a.localize(i[t.label])),
6483
6483
  role: "option"
6484
6484
  }, [
6485
- ee(a.$slots, "option", {
6485
+ J(a.$slots, "option", {
6486
6486
  option: i,
6487
6487
  isSelected: a.isSelected,
6488
6488
  isPointed: a.isPointed,
@@ -6491,7 +6491,7 @@ function a5(a, e, t, s, n, o) {
6491
6491
  d(
6492
6492
  "span",
6493
6493
  null,
6494
- q(a.localize(i[t.label])),
6494
+ F(a.localize(i[t.label])),
6495
6495
  1
6496
6496
  /* TEXT */
6497
6497
  )
@@ -6501,15 +6501,15 @@ function a5(a, e, t, s, n, o) {
6501
6501
  /* KEYED_FRAGMENT */
6502
6502
  ))
6503
6503
  ], 10, F0),
6504
- a.noOptions ? ee(a.$slots, "nooptions", { key: 0 }, () => [
6504
+ a.noOptions ? J(a.$slots, "nooptions", { key: 0 }, () => [
6505
6505
  d("div", {
6506
- class: X(a.classList.noOptions),
6506
+ class: G(a.classList.noOptions),
6507
6507
  innerHTML: a.localize(t.noOptionsText)
6508
6508
  }, null, 10, G0)
6509
6509
  ]) : S("v-if", !0),
6510
- a.noResults ? ee(a.$slots, "noresults", { key: 1 }, () => [
6510
+ a.noResults ? J(a.$slots, "noresults", { key: 1 }, () => [
6511
6511
  d("div", {
6512
- class: X(a.classList.noResults),
6512
+ class: G(a.classList.noResults),
6513
6513
  innerHTML: a.localize(t.noResultsText)
6514
6514
  }, null, 10, X0)
6515
6515
  ]) : S("v-if", !0),
@@ -6517,15 +6517,15 @@ function a5(a, e, t, s, n, o) {
6517
6517
  "div",
6518
6518
  {
6519
6519
  key: 2,
6520
- class: X(a.classList.inifinite),
6520
+ class: G(a.classList.inifinite),
6521
6521
  ref: "infiniteLoader"
6522
6522
  },
6523
6523
  [
6524
- ee(a.$slots, "infinite", {}, () => [
6524
+ J(a.$slots, "infinite", {}, () => [
6525
6525
  d(
6526
6526
  "span",
6527
6527
  {
6528
- class: X(a.classList.inifiniteSpinner)
6528
+ class: G(a.classList.inifiniteSpinner)
6529
6529
  },
6530
6530
  null,
6531
6531
  2
@@ -6536,7 +6536,7 @@ function a5(a, e, t, s, n, o) {
6536
6536
  2
6537
6537
  /* CLASS */
6538
6538
  )) : S("v-if", !0),
6539
- ee(a.$slots, "afterlist", { options: a.fo })
6539
+ J(a.$slots, "afterlist", { options: a.fo })
6540
6540
  ],
6541
6541
  2
6542
6542
  /* CLASS */
@@ -6544,7 +6544,7 @@ function a5(a, e, t, s, n, o) {
6544
6544
  S(" Hacky input element to show HTML5 required warning "),
6545
6545
  t.required ? (v(), h("input", {
6546
6546
  key: 0,
6547
- class: X(a.classList.fakeInput),
6547
+ class: G(a.classList.fakeInput),
6548
6548
  tabindex: "-1",
6549
6549
  value: a.textValue,
6550
6550
  required: ""
@@ -6578,15 +6578,15 @@ function a5(a, e, t, s, n, o) {
6578
6578
  S(" Screen reader assistive text "),
6579
6579
  t.searchable && a.hasSelected ? (v(), h("div", {
6580
6580
  key: 2,
6581
- class: X(a.classList.assist),
6581
+ class: G(a.classList.assist),
6582
6582
  id: a.ariaAssist,
6583
6583
  "aria-hidden": "true"
6584
- }, q(a.ariaLabel), 11, t5)) : S("v-if", !0),
6584
+ }, F(a.ariaLabel), 11, t5)) : S("v-if", !0),
6585
6585
  S(" Create height for empty input "),
6586
6586
  d(
6587
6587
  "div",
6588
6588
  {
6589
- class: X(a.classList.spacer)
6589
+ class: G(a.classList.spacer)
6590
6590
  },
6591
6591
  null,
6592
6592
  2
@@ -6603,7 +6603,7 @@ const be = /* @__PURE__ */ Y({
6603
6603
  appendTo: {}
6604
6604
  },
6605
6605
  setup(a) {
6606
- const e = a, t = ct(() => e.appendTo), s = Q();
6606
+ const e = a, t = ct(() => e.appendTo), s = X();
6607
6607
  return e.detached && g0({
6608
6608
  multiselect: s,
6609
6609
  appendTo: t.value
@@ -6611,11 +6611,11 @@ const be = /* @__PURE__ */ Y({
6611
6611
  ref_key: "multiselectRef",
6612
6612
  ref: s,
6613
6613
  class: "ao-multiselect"
6614
- }, Ht({ _: 2 }, [
6614
+ }, Dt({ _: 2 }, [
6615
6615
  ye(n.$slots, (i, l) => ({
6616
6616
  name: l,
6617
6617
  fn: R((r) => [
6618
- ee(n.$slots, l, un(cn(r ?? {})))
6618
+ J(n.$slots, l, un(cn(r ?? {})))
6619
6619
  ])
6620
6620
  }))
6621
6621
  ]), 1536));
@@ -6816,7 +6816,7 @@ const u5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], c5 = {
6816
6816
  const u = c.target, f = Array.from(u.files ?? []);
6817
6817
  e("add", f);
6818
6818
  }, n = ["dragenter", "dragover", "dragleave", "drop"];
6819
- Dt(() => {
6819
+ Ht(() => {
6820
6820
  n.forEach((c) => {
6821
6821
  document.body.addEventListener(c, (u) => u.preventDefault());
6822
6822
  });
@@ -6828,7 +6828,7 @@ const u5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], c5 = {
6828
6828
  );
6829
6829
  });
6830
6830
  });
6831
- const o = Q(!1);
6831
+ const o = X(!1);
6832
6832
  function i() {
6833
6833
  o.value = !0;
6834
6834
  }
@@ -6847,7 +6847,7 @@ const u5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], c5 = {
6847
6847
  return (c, u) => {
6848
6848
  var f;
6849
6849
  return v(), h("div", {
6850
- class: X([
6850
+ class: G([
6851
6851
  "ao-files__wrapper",
6852
6852
  {
6853
6853
  "ao-files__wrapper--drop-active": o.value
@@ -6874,7 +6874,7 @@ const u5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], c5 = {
6874
6874
  name: "AttachFileRounded",
6875
6875
  size: "sm"
6876
6876
  }),
6877
- d("span", f5, q(p.name), 1)
6877
+ d("span", f5, F(p.name), 1)
6878
6878
  ], 8, d5),
6879
6879
  c.isEditable ? (v(), j(ce, {
6880
6880
  key: 0,
@@ -6890,7 +6890,7 @@ const u5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], c5 = {
6890
6890
  ])) : S("", !0),
6891
6891
  c.isEditable ? (v(), h("div", v5, [
6892
6892
  d("label", p5, [
6893
- d("span", h5, q(c.$t("activity.attachment.button.resting")), 1),
6893
+ d("span", h5, F(c.$t("activity.attachment.button.resting")), 1),
6894
6894
  d("input", {
6895
6895
  class: "input-field",
6896
6896
  type: "file",
@@ -6900,7 +6900,7 @@ const u5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], c5 = {
6900
6900
  onChange: s
6901
6901
  }, null, 32)
6902
6902
  ]),
6903
- d("span", m5, q(c.$t("activity.attachment.placeholder.resting")), 1)
6903
+ d("span", m5, F(c.$t("activity.attachment.placeholder.resting")), 1)
6904
6904
  ])) : S("", !0)
6905
6905
  ], 42, u5);
6906
6906
  };
@@ -6923,11 +6923,11 @@ const _5 = { class: "ao-comment" }, g5 = { class: "ao-comment__body" }, y5 = { c
6923
6923
  const t = a, s = w(() => {
6924
6924
  const A = t.user;
6925
6925
  return A ? `${A == null ? void 0 : A.firstName} ${A == null ? void 0 : A.lastName}` : null;
6926
- }), n = Q(null), { isEditing: o, toggleIsEditing: i, onUpdate: l, onDiscard: r } = ca(n), c = w(() => k1(t.createdAt)), u = w(() => k1(t.editedAt)), f = w(() => o.value ? "textarea" : "p"), p = r(), C = l((A) => {
6926
+ }), n = X(null), { isEditing: o, toggleIsEditing: i, onUpdate: l, onDiscard: r } = ca(n), c = w(() => k1(t.createdAt)), u = w(() => k1(t.editedAt)), f = w(() => o.value ? "textarea" : "p"), p = r(), C = l((A) => {
6927
6927
  e("edit", A);
6928
6928
  }), $ = () => {
6929
6929
  e("remove");
6930
- }, M = Q(2);
6930
+ }, M = X(2);
6931
6931
  return dn(() => {
6932
6932
  Ee(() => {
6933
6933
  var A;
@@ -6956,12 +6956,12 @@ const _5 = { class: "ao-comment" }, g5 = { class: "ao-comment__body" }, y5 = { c
6956
6956
  ]
6957
6957
  }, {
6958
6958
  default: R(() => [
6959
- t1(q(A.content), 1)
6959
+ t1(F(A.content), 1)
6960
6960
  ]),
6961
6961
  _: 1
6962
6962
  }, 40, ["value", "rows", "onKeyup"]))
6963
6963
  ]),
6964
- d("span", b5, q(u.value || c.value), 1)
6964
+ d("span", b5, F(u.value || c.value), 1)
6965
6965
  ]),
6966
6966
  A.isEditable ? (v(), h("div", w5, [
6967
6967
  Z(o) ? (v(), h(ve, { key: 0 }, [
@@ -7012,7 +7012,7 @@ const M5 = {
7012
7012
  },
7013
7013
  emits: ["createComment", "updateComment", "removeComment"],
7014
7014
  setup(a, { emit: e }) {
7015
- const t = a, s = (u) => t.users.find((p) => p.id === u), n = Q();
7015
+ const t = a, s = (u) => t.users.find((p) => p.id === u), n = X();
7016
7016
  Ee(() => {
7017
7017
  n.value && (n.value.scrollTop = n.value.scrollHeight);
7018
7018
  });
@@ -7060,7 +7060,7 @@ const M5 = {
7060
7060
  onSubmit: _e(l, ["prevent"])
7061
7061
  }, [
7062
7062
  d("label", T5, [
7063
- d("span", S5, q(u.$t("activity.comment.label")), 1),
7063
+ d("span", S5, F(u.$t("activity.comment.label")), 1),
7064
7064
  dt(d("textarea", {
7065
7065
  "onUpdate:modelValue": f[0] || (f[0] = (C) => i.value = C),
7066
7066
  rows: "4",
@@ -7095,7 +7095,7 @@ const O5 = {
7095
7095
  }, L5 = {
7096
7096
  key: 0,
7097
7097
  class: "ao-field"
7098
- }, V5 = { class: "ao-field__label" }, H5 = { class: "ao-activity-details__content" }, D5 = { class: "ao-fieldset" }, P5 = { class: "ao-field__row" }, B5 = { class: "ao-field ao-field--full" }, N5 = { class: "ao-field__label" }, R5 = ["readonly"], U5 = { class: "ao-field__row" }, j5 = { class: "ao-field" }, Z5 = { class: "ao-field__label" }, F5 = ["readonly"], q5 = { class: "ao-field" }, W5 = { class: "ao-field__label" }, z5 = ["disabled"], x5 = { class: "ao-fieldset" }, Y5 = { class: "ao-fieldset__title" }, K5 = { class: "ao-fieldset__body" }, G5 = { class: "ao-field__row" }, X5 = { class: "ao-field ao-field--multiselect" }, Q5 = { class: "ao-fieldset" }, J5 = { class: "ao-fieldset__title" }, e7 = { class: "ao-fieldset__body" }, t7 = { class: "ao-fieldset" }, a7 = { class: "ao-fieldset__title" }, n7 = { class: "ao-fieldset__body" }, s7 = { class: "ao-field__row" }, i7 = { class: "ao-field ao-field--multiselect" }, o7 = { class: "ao-field__label" }, l7 = { class: "ao-field__row" }, r7 = { class: "ao-field ao-field--multiselect" }, u7 = { class: "ao-field__label" }, c7 = { class: "ao-field__row" }, d7 = { class: "ao-field ao-field--multiselect" }, f7 = { class: "ao-field__label" }, v7 = { class: "ao-fieldset" }, p7 = { class: "ao-field__row" }, h7 = { class: "ao-field ao-field--multiselect" }, m7 = { class: "ao-field__label" }, C7 = {
7098
+ }, V5 = { class: "ao-field__label" }, D5 = { class: "ao-activity-details__content" }, H5 = { class: "ao-fieldset" }, P5 = { class: "ao-field__row" }, B5 = { class: "ao-field ao-field--full" }, N5 = { class: "ao-field__label" }, R5 = ["readonly"], U5 = { class: "ao-field__row" }, j5 = { class: "ao-field" }, Z5 = { class: "ao-field__label" }, F5 = ["readonly"], q5 = { class: "ao-field" }, W5 = { class: "ao-field__label" }, z5 = ["disabled"], x5 = { class: "ao-fieldset" }, Y5 = { class: "ao-fieldset__title" }, K5 = { class: "ao-fieldset__body" }, G5 = { class: "ao-field__row" }, X5 = { class: "ao-field ao-field--multiselect" }, Q5 = { class: "ao-fieldset" }, J5 = { class: "ao-fieldset__title" }, e7 = { class: "ao-fieldset__body" }, t7 = { class: "ao-fieldset" }, a7 = { class: "ao-fieldset__title" }, n7 = { class: "ao-fieldset__body" }, s7 = { class: "ao-field__row" }, i7 = { class: "ao-field ao-field--multiselect" }, o7 = { class: "ao-field__label" }, l7 = { class: "ao-field__row" }, r7 = { class: "ao-field ao-field--multiselect" }, u7 = { class: "ao-field__label" }, c7 = { class: "ao-field__row" }, d7 = { class: "ao-field ao-field--multiselect" }, f7 = { class: "ao-field__label" }, v7 = { class: "ao-fieldset" }, p7 = { class: "ao-field__row" }, h7 = { class: "ao-field ao-field--multiselect" }, m7 = { class: "ao-field__label" }, C7 = {
7099
7099
  key: 0,
7100
7100
  class: "ao-activity-details__aside"
7101
7101
  }, _7 = { class: "ao-fieldset__title" }, g7 = { class: "ao-fieldset__title" }, B1 = /* @__PURE__ */ Y({
@@ -7228,67 +7228,67 @@ const O5 = {
7228
7228
  activityId: t.activity.id,
7229
7229
  files: b
7230
7230
  });
7231
- }, F = (b) => {
7231
+ }, W = (b) => {
7232
7232
  e("removeFile", {
7233
7233
  activityId: t.activity.id,
7234
7234
  file: b
7235
7235
  });
7236
- }, H = w(() => {
7236
+ }, D = w(() => {
7237
7237
  var b;
7238
7238
  return (b = t.statuses) == null ? void 0 : b.map((T) => ({
7239
7239
  value: T.id,
7240
7240
  label: T.name
7241
7241
  }));
7242
- }), O = (b) => {
7242
+ }), x = (b) => {
7243
7243
  e("update:activity", {
7244
7244
  id: t.activity.id,
7245
7245
  statusId: b
7246
7246
  });
7247
- }, z = (b) => {
7247
+ }, ee = (b) => {
7248
7248
  e("addComment", {
7249
7249
  ...b,
7250
7250
  activityId: t.activity.id
7251
7251
  });
7252
- }, K = (b) => {
7252
+ }, I = (b) => {
7253
7253
  e("updateComment", b);
7254
- }, ie = (b) => {
7254
+ }, te = (b) => {
7255
7255
  e("removeComment", b);
7256
7256
  };
7257
7257
  return (b, T) => (v(), j(O1, {
7258
7258
  onClose: T[8] || (T[8] = (P) => b.$emit("close"))
7259
7259
  }, {
7260
7260
  header: R(() => [
7261
- b.breadcrumbs ? (v(), h("div", O5, q(b.breadcrumbs), 1)) : S("", !0),
7261
+ b.breadcrumbs ? (v(), h("div", O5, F(b.breadcrumbs), 1)) : S("", !0),
7262
7262
  k(me, {
7263
7263
  title: b.activity.name || "",
7264
7264
  level: 4,
7265
7265
  "is-editable": b.isEditable,
7266
7266
  "onUpdate:title": s
7267
7267
  }, null, 8, ["title", "is-editable"]),
7268
- ee(b.$slots, "header", {}, () => {
7268
+ J(b.$slots, "header", {}, () => {
7269
7269
  var P;
7270
7270
  return [
7271
- H.value ? (v(), h("label", L5, [
7272
- d("span", V5, q(b.$t("activity.status.label")), 1),
7271
+ D.value ? (v(), h("label", L5, [
7272
+ d("span", V5, F(b.$t("activity.status.label")), 1),
7273
7273
  k(be, {
7274
- options: H.value,
7274
+ options: D.value,
7275
7275
  value: (P = b.activity.status) == null ? void 0 : P.id,
7276
7276
  "can-clear": !1,
7277
7277
  "can-deselect": !1,
7278
7278
  disabled: !b.isEditable,
7279
7279
  caret: b.isEditable,
7280
- onChange: O
7280
+ onChange: x
7281
7281
  }, null, 8, ["options", "value", "disabled", "caret"])
7282
7282
  ])) : S("", !0)
7283
7283
  ];
7284
7284
  })
7285
7285
  ]),
7286
7286
  default: R(() => [
7287
- d("div", H5, [
7288
- d("fieldset", D5, [
7287
+ d("div", D5, [
7288
+ d("fieldset", H5, [
7289
7289
  d("div", P5, [
7290
7290
  d("label", B5, [
7291
- d("span", N5, q(b.$t("activity.description.label")), 1),
7291
+ d("span", N5, F(b.$t("activity.description.label")), 1),
7292
7292
  dt(d("textarea", {
7293
7293
  "onUpdate:modelValue": T[0] || (T[0] = (P) => n.value = P),
7294
7294
  readonly: !b.isEditable,
@@ -7309,7 +7309,7 @@ const O5 = {
7309
7309
  ]),
7310
7310
  d("div", U5, [
7311
7311
  d("label", j5, [
7312
- d("span", Z5, q(b.$t("activity.estimation.label")), 1),
7312
+ d("span", Z5, F(b.$t("activity.estimation.label")), 1),
7313
7313
  dt(d("input", {
7314
7314
  "onUpdate:modelValue": T[1] || (T[1] = (P) => o.value = P),
7315
7315
  readonly: !b.isEditable,
@@ -7329,7 +7329,7 @@ const O5 = {
7329
7329
  ])
7330
7330
  ]),
7331
7331
  d("label", q5, [
7332
- d("span", W5, q(b.$t("activity.important.label")), 1),
7332
+ d("span", W5, F(b.$t("activity.important.label")), 1),
7333
7333
  dt(d("input", {
7334
7334
  "onUpdate:modelValue": T[2] || (T[2] = (P) => i.value = P),
7335
7335
  disabled: !b.isEditable,
@@ -7374,7 +7374,7 @@ const O5 = {
7374
7374
  k(_t, {
7375
7375
  "user-name": P.label,
7376
7376
  "is-closable": !0,
7377
- onClose: (ae) => le(P, ae)
7377
+ onClose: (ne) => le(P, ne)
7378
7378
  }, null, 8, ["user-name", "onClose"])
7379
7379
  ]),
7380
7380
  _: 1
@@ -7416,7 +7416,7 @@ const O5 = {
7416
7416
  d("div", n7, [
7417
7417
  d("div", s7, [
7418
7418
  d("label", i7, [
7419
- d("span", o7, q(b.$t("activity.dependingOn.label")), 1),
7419
+ d("span", o7, F(b.$t("activity.dependingOn.label")), 1),
7420
7420
  k(be, {
7421
7421
  modelValue: c.value,
7422
7422
  "onUpdate:modelValue": T[4] || (T[4] = (P) => c.value = P),
@@ -7431,7 +7431,7 @@ const O5 = {
7431
7431
  ]),
7432
7432
  d("div", l7, [
7433
7433
  d("label", r7, [
7434
- d("span", u7, q(b.$t("activity.blocking.label")), 1),
7434
+ d("span", u7, F(b.$t("activity.blocking.label")), 1),
7435
7435
  k(be, {
7436
7436
  modelValue: f.value,
7437
7437
  "onUpdate:modelValue": T[5] || (T[5] = (P) => f.value = P),
@@ -7446,7 +7446,7 @@ const O5 = {
7446
7446
  ]),
7447
7447
  d("div", c7, [
7448
7448
  d("label", d7, [
7449
- d("span", f7, q(b.$t("activity.dependingMilestone.label")), 1),
7449
+ d("span", f7, F(b.$t("activity.dependingMilestone.label")), 1),
7450
7450
  k(be, {
7451
7451
  modelValue: $.value,
7452
7452
  "onUpdate:modelValue": T[6] || (T[6] = (P) => $.value = P),
@@ -7464,7 +7464,7 @@ const O5 = {
7464
7464
  d("fieldset", v7, [
7465
7465
  d("div", p7, [
7466
7466
  d("label", h7, [
7467
- d("span", m7, q(b.$t("activity.type.label")), 1),
7467
+ d("span", m7, F(b.$t("activity.type.label")), 1),
7468
7468
  k(be, {
7469
7469
  modelValue: l.value,
7470
7470
  "onUpdate:modelValue": T[7] || (T[7] = (P) => l.value = P),
@@ -7477,7 +7477,7 @@ const O5 = {
7477
7477
  }, null, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
7478
7478
  ])
7479
7479
  ]),
7480
- ee(b.$slots, "default")
7480
+ J(b.$slots, "default")
7481
7481
  ])
7482
7482
  ]),
7483
7483
  b.isTemplate !== !0 && b.userId ? (v(), h("div", C7, [
@@ -7492,7 +7492,7 @@ const O5 = {
7492
7492
  attachments: b.activity.attachments,
7493
7493
  "is-editable": b.isEditable,
7494
7494
  onAdd: U,
7495
- onRemove: F
7495
+ onRemove: W
7496
7496
  }, null, 8, ["attachments", "is-editable"]),
7497
7497
  d("div", g7, [
7498
7498
  k(de, { name: "ChatOutline" }),
@@ -7505,9 +7505,9 @@ const O5 = {
7505
7505
  comments: b.activity.comments,
7506
7506
  users: b.users,
7507
7507
  "user-id": b.userId,
7508
- onCreateComment: z,
7509
- onUpdateComment: K,
7510
- onRemoveComment: ie
7508
+ onCreateComment: ee,
7509
+ onUpdateComment: I,
7510
+ onRemoveComment: te
7511
7511
  }, null, 8, ["comments", "users", "user-id"])
7512
7512
  ])) : S("", !0)
7513
7513
  ]),
@@ -7736,7 +7736,7 @@ function vt(a, e, t) {
7736
7736
  const E7 = {
7737
7737
  key: 0,
7738
7738
  class: "ao-template-details"
7739
- }, I7 = { class: "ao-template-details__body" }, O7 = { class: "ao-template-details__cols" }, L7 = { class: "ao-template-details__col" }, V7 = { class: "ao-list__footer" }, H7 = { class: "ao-template-details__col" }, D7 = { class: "ao-template-details__col" }, P7 = /* @__PURE__ */ Y({
7739
+ }, I7 = { class: "ao-template-details__body" }, O7 = { class: "ao-template-details__cols" }, L7 = { class: "ao-template-details__col" }, V7 = { class: "ao-list__footer" }, D7 = { class: "ao-template-details__col" }, H7 = { class: "ao-template-details__col" }, P7 = /* @__PURE__ */ Y({
7740
7740
  __name: "AoTemplateDetails",
7741
7741
  props: {
7742
7742
  templateId: {},
@@ -7754,7 +7754,7 @@ const E7 = {
7754
7754
  var E;
7755
7755
  return (E = t.templates) == null ? void 0 : E.find((L) => L.id === t.templateId);
7756
7756
  }
7757
- ), o = Q(!1);
7757
+ ), o = X(!1);
7758
7758
  re(() => [t.templateId, t.phaseId, t.milestoneId], () => o.value = !1), re(() => {
7759
7759
  var E;
7760
7760
  return (E = n.value) == null ? void 0 : E.phases;
@@ -7792,11 +7792,11 @@ const E7 = {
7792
7792
  }), c = w(() => {
7793
7793
  var E, L;
7794
7794
  return ((L = (E = n.value) == null ? void 0 : E.phases) == null ? void 0 : L.reduce((g, N) => {
7795
- const te = (N.milestones || []).reduce(
7796
- (J, x) => x.activities ? [...J, ...x.activities] : J,
7795
+ const ae = (N.milestones || []).reduce(
7796
+ (Q, z) => z.activities ? [...Q, ...z.activities] : Q,
7797
7797
  []
7798
7798
  );
7799
- return [...g, ...te];
7799
+ return [...g, ...ae];
7800
7800
  }, [])) || [];
7801
7801
  }), u = w(() => {
7802
7802
  var E, L;
@@ -7887,7 +7887,7 @@ const E7 = {
7887
7887
  templateId: t.templateId,
7888
7888
  data: g
7889
7889
  });
7890
- }, F = (E) => {
7890
+ }, W = (E) => {
7891
7891
  const { milestoneId: L } = E;
7892
7892
  if (!l.value)
7893
7893
  return;
@@ -7902,7 +7902,7 @@ const E7 = {
7902
7902
  templateId: t.templateId,
7903
7903
  item: { name: g, rank: N, milestoneId: L }
7904
7904
  });
7905
- }, H = (E) => {
7905
+ }, D = (E) => {
7906
7906
  var L, g;
7907
7907
  e("removeItem", {
7908
7908
  type: he.ACTIVITIES,
@@ -7913,7 +7913,7 @@ const E7 = {
7913
7913
  id: E.id
7914
7914
  }
7915
7915
  });
7916
- }, O = (E) => {
7916
+ }, x = (E) => {
7917
7917
  const { id: L, ...g } = E;
7918
7918
  e("updateItem", {
7919
7919
  itemType: he.ACTIVITIES,
@@ -7921,9 +7921,9 @@ const E7 = {
7921
7921
  templateId: t.templateId,
7922
7922
  data: g
7923
7923
  });
7924
- }, z = Q(!1), K = () => {
7925
- z.value = !z.value;
7926
- }, ie = () => {
7924
+ }, ee = X(!1), I = () => {
7925
+ ee.value = !ee.value;
7926
+ }, te = () => {
7927
7927
  e("addRule", { templateId: t.templateId });
7928
7928
  }, b = (E) => {
7929
7929
  e("removeRule", { id: E, templateId: t.templateId });
@@ -7956,7 +7956,7 @@ const E7 = {
7956
7956
  templateId: t.templateId,
7957
7957
  data: E
7958
7958
  });
7959
- }, ae = (E) => {
7959
+ }, ne = (E) => {
7960
7960
  !i.value || !l.value || !u.value || e("removeItem", {
7961
7961
  type: he.TASKS,
7962
7962
  activityId: u.value.id,
@@ -7967,23 +7967,23 @@ const E7 = {
7967
7967
  });
7968
7968
  }, ue = (E) => {
7969
7969
  e("addFiles", E);
7970
- }, se = (E) => {
7970
+ }, ie = (E) => {
7971
7971
  e("removeFile", E);
7972
7972
  };
7973
7973
  return (E, L) => {
7974
- var g, N, fe, te, J, x;
7974
+ var g, N, fe, ae, Q, z;
7975
7975
  return n.value ? (v(), h("div", E7, [
7976
7976
  k(r1, {
7977
7977
  "can-go-back": !0,
7978
- onGoBack: L[1] || (L[1] = (I) => E.$router.push({ name: Z(Tt).TEMPLATES_LIST }))
7978
+ onGoBack: L[1] || (L[1] = (O) => E.$router.push({ name: Z(Tt).TEMPLATES_LIST }))
7979
7979
  }, {
7980
7980
  primary: R(() => [
7981
7981
  k(me, {
7982
7982
  title: p.value,
7983
7983
  level: 2,
7984
7984
  "is-editable": !0,
7985
- "onUpdate:title": L[0] || (L[0] = (I) => {
7986
- $(I);
7985
+ "onUpdate:title": L[0] || (L[0] = (O) => {
7986
+ $(O);
7987
7987
  })
7988
7988
  }, null, 8, ["title"])
7989
7989
  ]),
@@ -7993,7 +7993,7 @@ const E7 = {
7993
7993
  color: "primary",
7994
7994
  "icon-name": "Settings",
7995
7995
  "icon-position": "start",
7996
- onClick: K
7996
+ onClick: I
7997
7997
  }, null, 8, ["label"])
7998
7998
  ]),
7999
7999
  _: 1
@@ -8015,22 +8015,22 @@ const E7 = {
8015
8015
  class: "ao-list__title"
8016
8016
  }, null, 8, ["title"])
8017
8017
  ]),
8018
- item: R(({ element: I }) => {
8019
- var W;
8018
+ item: R(({ element: O }) => {
8019
+ var q;
8020
8020
  return [
8021
8021
  k(E3, {
8022
- id: I.id,
8023
- name: I.name,
8024
- milestones: I.milestones,
8025
- "is-active": ((W = i.value) == null ? void 0 : W.id) === I.id,
8022
+ id: O.id,
8023
+ name: O.name,
8024
+ milestones: O.milestones,
8025
+ "is-active": ((q = i.value) == null ? void 0 : q.id) === O.id,
8026
8026
  "is-draggable": !0,
8027
8027
  onClick: (Ce) => E.$router.push({
8028
- params: { templateId: E.templateId, phaseId: I.id }
8028
+ params: { templateId: E.templateId, phaseId: O.id }
8029
8029
  }),
8030
8030
  "onUpdate:title": (Ce) => {
8031
- A(I.id, Ce);
8031
+ A(O.id, Ce);
8032
8032
  },
8033
- onRemove: () => M(I.id)
8033
+ onRemove: () => M(O.id)
8034
8034
  }, null, 8, ["id", "name", "milestones", "is-active", "onClick", "onUpdate:title", "onRemove"])
8035
8035
  ];
8036
8036
  }),
@@ -8046,7 +8046,7 @@ const E7 = {
8046
8046
  _: 1
8047
8047
  }, 8, ["model-value"])
8048
8048
  ]),
8049
- d("li", H7, [
8049
+ d("li", D7, [
8050
8050
  i.value ? (v(), j(L3, {
8051
8051
  key: 0,
8052
8052
  "template-id": E.templateId,
@@ -8058,16 +8058,16 @@ const E7 = {
8058
8058
  onRemoveMilestone: V
8059
8059
  }, null, 8, ["template-id", "phase", "milestone-id"])) : S("", !0)
8060
8060
  ]),
8061
- d("li", D7, [
8062
- i.value && l.value ? (v(), j(D3, {
8061
+ d("li", H7, [
8062
+ i.value && l.value ? (v(), j(H3, {
8063
8063
  key: 0,
8064
8064
  "template-id": E.templateId,
8065
8065
  "phase-id": (N = i.value) == null ? void 0 : N.id,
8066
8066
  milestone: l.value,
8067
8067
  "activity-id": (fe = u.value) == null ? void 0 : fe.id,
8068
- onAddActivity: F,
8069
- onUpdateActivity: O,
8070
- onRemoveActivity: H
8068
+ onAddActivity: W,
8069
+ onUpdateActivity: x,
8070
+ onRemoveActivity: D
8071
8071
  }, null, 8, ["template-id", "phase-id", "milestone", "activity-id"])) : S("", !0)
8072
8072
  ])
8073
8073
  ])
@@ -8077,33 +8077,33 @@ const E7 = {
8077
8077
  key: 0,
8078
8078
  activity: u.value,
8079
8079
  "activity-types": f.value,
8080
- breadcrumbs: `${n.value.name} / ${(te = i.value) == null ? void 0 : te.name} / ${(J = l.value) == null ? void 0 : J.name}`,
8081
- "milestone-id": (x = l.value) == null ? void 0 : x.id,
8080
+ breadcrumbs: `${n.value.name} / ${(ae = i.value) == null ? void 0 : ae.name} / ${(Q = l.value) == null ? void 0 : Q.name}`,
8081
+ "milestone-id": (z = l.value) == null ? void 0 : z.id,
8082
8082
  "template-activities": c.value,
8083
8083
  "template-milestones": r.value,
8084
8084
  "is-template": !0,
8085
8085
  users: E.users,
8086
- "onUpdate:activity": L[2] || (L[2] = (I) => {
8087
- u.value && O(I);
8086
+ "onUpdate:activity": L[2] || (L[2] = (O) => {
8087
+ u.value && x(O);
8088
8088
  }),
8089
8089
  onClose: E.$router.back,
8090
8090
  onAddSubtask: P,
8091
8091
  onUpdateSubtask: le,
8092
- onDeleteSubtask: ae,
8092
+ onDeleteSubtask: ne,
8093
8093
  onAddFiles: ue,
8094
- onRemoveFile: se
8094
+ onRemoveFile: ie
8095
8095
  }, null, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : S("", !0)
8096
8096
  ])),
8097
8097
  (v(), j(It, { to: "body" }, [
8098
- z.value ? (v(), j(S7, {
8098
+ ee.value ? (v(), j(S7, {
8099
8099
  key: 0,
8100
8100
  "template-id": n.value.id,
8101
8101
  rules: n.value.rules || [],
8102
8102
  "template-phases": n.value.phases,
8103
8103
  "template-milestones": r.value,
8104
8104
  "template-activities": c.value,
8105
- onClose: K,
8106
- onAddRule: ie,
8105
+ onClose: I,
8106
+ onAddRule: te,
8107
8107
  onRemoveRule: b
8108
8108
  }, null, 8, ["template-id", "rules", "template-phases", "template-milestones", "template-activities"])) : S("", !0)
8109
8109
  ]))
@@ -8125,17 +8125,17 @@ const B7 = {
8125
8125
  },
8126
8126
  setup(a) {
8127
8127
  return (e, t) => (v(), j(et(e.tagName), {
8128
- class: X(["ao-card", { "ao-card--clickable": e.isClickable }])
8128
+ class: G(["ao-card", { "ao-card--clickable": e.isClickable }])
8129
8129
  }, {
8130
8130
  default: R(() => [
8131
8131
  e.$slots.header ? (v(), h("header", B7, [
8132
- ee(e.$slots, "header")
8132
+ J(e.$slots, "header")
8133
8133
  ])) : S("", !0),
8134
8134
  d("div", N7, [
8135
- ee(e.$slots, "default")
8135
+ J(e.$slots, "default")
8136
8136
  ]),
8137
8137
  e.$slots.footer ? (v(), h("footer", R7, [
8138
- ee(e.$slots, "footer")
8138
+ J(e.$slots, "footer")
8139
8139
  ])) : S("", !0)
8140
8140
  ]),
8141
8141
  _: 3
@@ -8151,12 +8151,12 @@ const R1 = /* @__PURE__ */ Y({
8151
8151
  setup(a) {
8152
8152
  const e = a, t = w(() => typeof e.percentages == "number" ? [e.percentages] : e.percentages ?? []);
8153
8153
  return (s, n) => (v(), h("div", {
8154
- class: X(["ao-progress", s.status ? `ao-progress--${s.status}` : ""]),
8154
+ class: G(["ao-progress", s.status ? `ao-progress--${s.status}` : ""]),
8155
8155
  role: "meter"
8156
8156
  }, [
8157
8157
  (v(!0), h(ve, null, ye(t.value, (o) => (v(), h("div", {
8158
8158
  key: o,
8159
- class: X(["ao-progress__progress"]),
8159
+ class: G(["ao-progress__progress"]),
8160
8160
  style: la({ width: `${o * 100}%` })
8161
8161
  }, null, 4))), 128))
8162
8162
  ], 2));
@@ -8185,7 +8185,7 @@ const U7 = { class: "ao-card-project-phase__header" }, j7 = { class: "ao-card-pr
8185
8185
  var l;
8186
8186
  return (l = t.milestones) == null ? void 0 : l.filter((r) => r.status === y7.done).length;
8187
8187
  }), i = w(() => (o.value || 0) / (n.value || 1));
8188
- return (l, r) => (v(), j(N1, { class: "ao-card-project-phase" }, Ht({
8188
+ return (l, r) => (v(), j(N1, { class: "ao-card-project-phase" }, Dt({
8189
8189
  default: R(() => [
8190
8190
  k(me, {
8191
8191
  id: l.id,
@@ -8205,7 +8205,7 @@ const U7 = { class: "ao-card-project-phase__header" }, j7 = { class: "ao-card-pr
8205
8205
  name: "MountainFlagOutlineRounded",
8206
8206
  size: "sm"
8207
8207
  }),
8208
- d("span", q7, q(o.value) + " / " + q(n.value), 1)
8208
+ d("span", q7, F(o.value) + " / " + F(n.value), 1)
8209
8209
  ]),
8210
8210
  k(R1, {
8211
8211
  percentages: i.value,
@@ -8213,7 +8213,7 @@ const U7 = { class: "ao-card-project-phase__header" }, j7 = { class: "ao-card-pr
8213
8213
  }, null, 8, ["percentages"])
8214
8214
  ], 64)) : S("", !0),
8215
8215
  l.$slots.secondary ? (v(), h("div", W7, [
8216
- ee(l.$slots, "secondary")
8216
+ J(l.$slots, "secondary")
8217
8217
  ])) : S("", !0)
8218
8218
  ])
8219
8219
  ])
@@ -8309,7 +8309,7 @@ const x7 = { class: "ao-card-project-milestone__default" }, Y7 = {
8309
8309
  name: "SelectCheckBox",
8310
8310
  size: "sm"
8311
8311
  }),
8312
- d("span", Q7, q(n.value) + " / " + q(s.value), 1)
8312
+ d("span", Q7, F(n.value) + " / " + F(s.value), 1)
8313
8313
  ]),
8314
8314
  k(R1, {
8315
8315
  percentages: o.value,
@@ -8317,7 +8317,7 @@ const x7 = { class: "ao-card-project-milestone__default" }, Y7 = {
8317
8317
  }, null, 8, ["percentages"])
8318
8318
  ], 64)) : S("", !0),
8319
8319
  l.$slots.secondary ? (v(), h("div", J7, [
8320
- ee(l.$slots, "secondary")
8320
+ J(l.$slots, "secondary")
8321
8321
  ])) : S("", !0)
8322
8322
  ])
8323
8323
  ])
@@ -8503,7 +8503,7 @@ const p9 = ["onSubmit"], h9 = { class: "ao-add-template-modal__form-body" }, m9
8503
8503
  const t = a, s = w(() => t.templates.map((l) => ({
8504
8504
  value: l.id,
8505
8505
  label: l.name
8506
- }))), n = Q(null), o = (l) => {
8506
+ }))), n = X(null), o = (l) => {
8507
8507
  n.value = l;
8508
8508
  }, i = () => {
8509
8509
  n.value && e("apply", n.value, t.projectId);
@@ -8560,57 +8560,61 @@ const g9 = { class: "ao-project-overview" }, y9 = { class: "ao-project" }, b9 =
8560
8560
  emits: ["addPhase", "updatePhase", "archivePhase", "addMilestone", "updateMilestone", "archiveMilestone", "addActivity", "update:activity", "archiveActivity", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment", "applyTemplate"],
8561
8561
  setup(a, { emit: e }) {
8562
8562
  const t = a, { t: s } = at(), n = w(
8563
- () => t.phases.flatMap((O) => O.milestones)
8563
+ () => t.phases.flatMap((I) => I.milestones)
8564
8564
  ), o = () => {
8565
- const { name: O, rank: z } = vt(t.phases, "phase", s);
8566
- e("addPhase", { name: O, rank: z, projectId: t.project.id });
8567
- }, i = (O) => {
8568
- e("updatePhase", O);
8569
- }, l = (O) => {
8570
- e("archivePhase", O);
8571
- }, r = (O) => {
8572
- e("addMilestone", O);
8573
- }, c = (O) => {
8574
- e("updateMilestone", O);
8575
- }, u = (O) => {
8576
- e("archiveMilestone", O);
8577
- }, f = (O) => {
8578
- e("addActivity", O);
8579
- }, p = (O) => {
8580
- e("update:activity", O);
8581
- }, C = (O) => {
8582
- e("archiveActivity", O);
8583
- }, $ = (O) => {
8584
- e("addSubtask", O);
8585
- }, M = w(
8586
- () => n.value.flatMap((O) => O.activities)
8587
- ), A = (O) => {
8588
- e("addFiles", O);
8589
- }, _ = (O) => {
8590
- e("removeFile", O);
8591
- }, y = (O) => {
8592
- e("addComment", O);
8593
- }, V = (O) => {
8594
- e("updateComment", O);
8595
- }, U = (O) => {
8596
- e("removeComment", O);
8597
- }, F = Q(!1), H = (O, z) => {
8598
- e("applyTemplate", { templateId: O, projectId: z }), F.value = !1;
8565
+ const { name: I, rank: te } = vt(t.phases, "phase", s);
8566
+ e("addPhase", { name: I, rank: te, projectId: t.project.id });
8567
+ }, i = (I) => {
8568
+ e("updatePhase", I);
8569
+ }, l = (I) => {
8570
+ e("archivePhase", I);
8571
+ }, r = (I) => {
8572
+ e("addMilestone", I);
8573
+ }, c = (I) => {
8574
+ e("updateMilestone", I);
8575
+ }, u = (I) => {
8576
+ e("archiveMilestone", I);
8577
+ }, f = (I) => {
8578
+ e("addActivity", I);
8579
+ }, p = (I) => {
8580
+ e("update:activity", I);
8581
+ }, C = (I) => {
8582
+ e("archiveActivity", I);
8583
+ }, $ = (I) => {
8584
+ e("addSubtask", I);
8585
+ }, M = (I) => {
8586
+ e("updateSubtask", I);
8587
+ }, A = (I) => {
8588
+ e("deleteSubtask", I);
8589
+ }, _ = w(
8590
+ () => n.value.flatMap((I) => I.activities)
8591
+ ), y = (I) => {
8592
+ e("addFiles", I);
8593
+ }, V = (I) => {
8594
+ e("removeFile", I);
8595
+ }, U = (I) => {
8596
+ e("addComment", I);
8597
+ }, W = (I) => {
8598
+ e("updateComment", I);
8599
+ }, D = (I) => {
8600
+ e("removeComment", I);
8601
+ }, x = X(!1), ee = (I, te) => {
8602
+ e("applyTemplate", { templateId: I, projectId: te }), x.value = !1;
8599
8603
  };
8600
- return (O, z) => {
8601
- const K = vn("RouterView");
8604
+ return (I, te) => {
8605
+ const b = vn("RouterView");
8602
8606
  return v(), h(ve, null, [
8603
8607
  d("div", g9, [
8604
8608
  d("div", y9, [
8605
- k(r1, null, Ht({ _: 2 }, [
8606
- O.isEditable ? {
8609
+ k(r1, null, Dt({ _: 2 }, [
8610
+ I.isEditable ? {
8607
8611
  name: "primary",
8608
8612
  fn: R(() => [
8609
8613
  k(ce, {
8610
8614
  class: "ao-project-overview__add-template",
8611
8615
  color: "primary",
8612
- label: O.$t("project.template.add.label"),
8613
- onClick: z[0] || (z[0] = (ie) => F.value = !0)
8616
+ label: I.$t("project.template.add.label"),
8617
+ onClick: te[0] || (te[0] = (T) => x.value = !0)
8614
8618
  }, null, 8, ["label"])
8615
8619
  ]),
8616
8620
  key: "0"
@@ -8618,8 +8622,8 @@ const g9 = { class: "ao-project-overview" }, y9 = { class: "ao-project" }, b9 =
8618
8622
  ]), 1024),
8619
8623
  d("div", b9, [
8620
8624
  k(v9, {
8621
- phases: O.phases,
8622
- "is-editable": O.isEditable,
8625
+ phases: I.phases,
8626
+ "is-editable": I.isEditable,
8623
8627
  onAddMilestone: r,
8624
8628
  onUpdateMilestone: c,
8625
8629
  onArchiveMilestone: u,
@@ -8629,45 +8633,47 @@ const g9 = { class: "ao-project-overview" }, y9 = { class: "ao-project" }, b9 =
8629
8633
  }, null, 8, ["phases", "is-editable"])
8630
8634
  ])
8631
8635
  ]),
8632
- k(K, {
8636
+ k(b, {
8633
8637
  class: "ao-project__sidebar",
8634
- phases: O.phases,
8635
- "project-id": O.project.id,
8636
- "project-name": O.project.name,
8637
- users: O.users,
8638
- "is-editable": O.isEditable,
8639
- onClose: z[1] || (z[1] = (ie) => O.$router.push({ name: Z(pt).project })),
8638
+ phases: I.phases,
8639
+ "project-id": I.project.id,
8640
+ "project-name": I.project.name,
8641
+ users: I.users,
8642
+ "is-editable": I.isEditable,
8643
+ onClose: te[1] || (te[1] = (T) => I.$router.push({ name: Z(pt).project })),
8640
8644
  onAddActivity: f,
8641
8645
  onUpdateActivity: p,
8642
8646
  onArchiveActivity: C
8643
8647
  }, null, 8, ["phases", "project-id", "project-name", "users", "is-editable"]),
8644
8648
  (v(), j(It, { to: "body" }, [
8645
- k(K, {
8649
+ k(b, {
8646
8650
  name: "modal",
8647
- activities: M.value,
8648
- "is-task-checkable": O.isTaskCheckable,
8649
- statuses: O.statuses,
8650
- phases: O.phases,
8651
- users: O.users,
8652
- "user-id": O.userId,
8653
- "is-editable": O.isEditable,
8651
+ activities: _.value,
8652
+ "is-task-checkable": I.isTaskCheckable,
8653
+ statuses: I.statuses,
8654
+ phases: I.phases,
8655
+ users: I.users,
8656
+ "user-id": I.userId,
8657
+ "is-editable": I.isEditable,
8654
8658
  "onUpdate:activity": p,
8655
8659
  onAddSubtask: $,
8656
- onAddFiles: A,
8657
- onRemoveFile: _,
8658
- onAddComment: y,
8659
- onUpdateComment: V,
8660
- onRemoveComment: U
8660
+ onUpdateSubtask: M,
8661
+ onDeleteSubtask: A,
8662
+ onAddFiles: y,
8663
+ onRemoveFile: V,
8664
+ onAddComment: U,
8665
+ onUpdateComment: W,
8666
+ onRemoveComment: D
8661
8667
  }, null, 8, ["activities", "is-task-checkable", "statuses", "phases", "users", "user-id", "is-editable"])
8662
8668
  ]))
8663
8669
  ]),
8664
8670
  (v(), j(It, { to: "body" }, [
8665
- F.value ? (v(), j(_9, {
8671
+ x.value ? (v(), j(_9, {
8666
8672
  key: 0,
8667
- "project-id": O.project.id,
8668
- templates: O.templates,
8669
- onClose: z[2] || (z[2] = (ie) => F.value = !1),
8670
- onApply: H
8673
+ "project-id": I.project.id,
8674
+ templates: I.templates,
8675
+ onClose: te[2] || (te[2] = (T) => x.value = !1),
8676
+ onApply: ee
8671
8677
  }, null, 8, ["project-id", "templates"])) : S("", !0)
8672
8678
  ]))
8673
8679
  ], 64);
@@ -8692,13 +8698,13 @@ const $9 = { class: "ao-card-feed__header" }, M9 = {
8692
8698
  }, V9 = {
8693
8699
  key: 0,
8694
8700
  class: "ao-card-feed__subitem"
8695
- }, H9 = { class: "ao-card-feed__subitem" }, D9 = {
8701
+ }, D9 = { class: "ao-card-feed__subitem" }, H9 = {
8696
8702
  key: 1,
8697
8703
  class: "ao-card-feed__subitem"
8698
8704
  }, P9 = { class: "ao-card-feed__subitem" }, B9 = { class: "ao-card-feed__footer-row" }, N9 = {
8699
8705
  key: 0,
8700
8706
  class: "ao-card-feed__progress-wrapper"
8701
- }, R9 = { class: "ao-card-feed__subitem" }, U9 = { class: "ao-card-feed__subitem" }, Ha = /* @__PURE__ */ Y({
8707
+ }, R9 = { class: "ao-card-feed__subitem" }, U9 = { class: "ao-card-feed__subitem" }, Da = /* @__PURE__ */ Y({
8702
8708
  __name: "AoCardFeed",
8703
8709
  props: {
8704
8710
  id: {},
@@ -8755,13 +8761,13 @@ const $9 = { class: "ao-card-feed__header" }, M9 = {
8755
8761
  size: "sm"
8756
8762
  })) : S("", !0),
8757
8763
  p.$slots.secondary ? (v(), h("div", M9, [
8758
- ee(p.$slots, "secondary")
8764
+ J(p.$slots, "secondary")
8759
8765
  ])) : S("", !0)
8760
8766
  ])
8761
8767
  ]),
8762
8768
  default: R(() => [
8763
8769
  d("div", k9, [
8764
- n.value ? (v(), h("span", A9, q(n.value), 1)) : S("", !0),
8770
+ n.value ? (v(), h("span", A9, F(n.value), 1)) : S("", !0),
8765
8771
  k(me, {
8766
8772
  id: p.id,
8767
8773
  title: p.name,
@@ -8769,7 +8775,7 @@ const $9 = { class: "ao-card-feed__header" }, M9 = {
8769
8775
  "is-editable": p.isEditable,
8770
8776
  "onUpdate:title": s
8771
8777
  }, null, 8, ["id", "title", "is-editable"]),
8772
- p.deadline ? (v(), h("span", T9, q(i.value), 1)) : S("", !0)
8778
+ p.deadline ? (v(), h("span", T9, F(i.value), 1)) : S("", !0)
8773
8779
  ])
8774
8780
  ]),
8775
8781
  footer: R(() => [
@@ -8794,14 +8800,14 @@ const $9 = { class: "ao-card-feed__header" }, M9 = {
8794
8800
  name: "ChatOutline",
8795
8801
  size: "sm"
8796
8802
  }),
8797
- d("span", H9, q(p.comments), 1)
8803
+ d("span", D9, F(p.comments), 1)
8798
8804
  ])) : S("", !0),
8799
- p.attachments ? (v(), h("li", D9, [
8805
+ p.attachments ? (v(), h("li", H9, [
8800
8806
  k(de, {
8801
8807
  name: "AttachFileRounded",
8802
8808
  size: "sm"
8803
8809
  }),
8804
- d("span", P9, q(p.attachments), 1)
8810
+ d("span", P9, F(p.attachments), 1)
8805
8811
  ])) : S("", !0)
8806
8812
  ])) : S("", !0)
8807
8813
  ]),
@@ -8812,7 +8818,7 @@ const $9 = { class: "ao-card-feed__header" }, M9 = {
8812
8818
  name: "SelectCheckBox",
8813
8819
  size: "sm"
8814
8820
  }),
8815
- d("span", U9, q(u.value) + " / " + q(c.value), 1)
8821
+ d("span", U9, F(u.value) + " / " + F(c.value), 1)
8816
8822
  ]),
8817
8823
  k(R1, {
8818
8824
  percentages: f.value,
@@ -8884,7 +8890,7 @@ const j9 = { class: "ao-project-milestone" }, Z9 = { class: "ao-project-mileston
8884
8890
  return v(), h("div", j9, [
8885
8891
  d("header", Z9, [
8886
8892
  d("div", F9, [
8887
- d("span", null, q(p.$t("project.milestone.title")), 1),
8893
+ d("span", null, F(p.$t("project.milestone.title")), 1),
8888
8894
  k(me, {
8889
8895
  title: (($ = i.value) == null ? void 0 : $.name) || p.milestoneId,
8890
8896
  level: 5
@@ -8907,7 +8913,7 @@ const j9 = { class: "ao-project-milestone" }, Z9 = { class: "ao-project-mileston
8907
8913
  item: R(({ element: M }) => {
8908
8914
  var A, _, y, V;
8909
8915
  return [
8910
- k(Ha, {
8916
+ k(Da, {
8911
8917
  id: M.id,
8912
8918
  name: M.name || M.id,
8913
8919
  "phase-name": (A = n.value) == null ? void 0 : A.name,
@@ -8926,7 +8932,7 @@ const j9 = { class: "ao-project-milestone" }, Z9 = { class: "ao-project-mileston
8926
8932
  }),
8927
8933
  onUpdateActivity: u,
8928
8934
  onRemoveAssignee: () => u({ id: M.id, assigneeId: null })
8929
- }, Ht({ _: 2 }, [
8935
+ }, Dt({ _: 2 }, [
8930
8936
  p.isEditable ? {
8931
8937
  name: "secondary",
8932
8938
  fn: R(() => [
@@ -9252,8 +9258,8 @@ function M1(a) {
9252
9258
  }
9253
9259
  const n4 = Q9 ? window : void 0;
9254
9260
  function s4() {
9255
- const a = Q(!1);
9256
- return tt() && Dt(() => {
9261
+ const a = X(!1);
9262
+ return tt() && Ht(() => {
9257
9263
  a.value = !0;
9258
9264
  }), a;
9259
9265
  }
@@ -9273,7 +9279,7 @@ function o4(a, e, t = {}) {
9273
9279
  return (Array.isArray($) ? $ : [$]).map(M1).filter(J9);
9274
9280
  });
9275
9281
  let u = St;
9276
- const f = Q(l), p = r.value ? re(
9282
+ const f = X(l), p = r.value ? re(
9277
9283
  () => [c.value, M1(s), f.value],
9278
9284
  ([$, M]) => {
9279
9285
  if (u(), !f.value || !$.length)
@@ -9307,7 +9313,7 @@ function o4(a, e, t = {}) {
9307
9313
  };
9308
9314
  }
9309
9315
  const l4 = {
9310
- class: /* @__PURE__ */ X(["ao-list-kanban"])
9316
+ class: /* @__PURE__ */ G(["ao-list-kanban"])
9311
9317
  }, r4 = { class: "ao-list-kanban__header" }, u4 = {
9312
9318
  key: 0,
9313
9319
  class: "ao-list-kanban__end ao-list-kanban__end--loading"
@@ -9337,7 +9343,7 @@ const l4 = {
9337
9343
  },
9338
9344
  emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "updateActivity"],
9339
9345
  setup(a, { emit: e }) {
9340
- const t = a, s = Q(!1), n = Q(null);
9346
+ const t = a, s = X(!1), n = X(null);
9341
9347
  o4(n, ([{ isIntersecting: r }]) => {
9342
9348
  s.value = r;
9343
9349
  }), re(s, (r) => {
@@ -9362,7 +9368,7 @@ const l4 = {
9362
9368
  });
9363
9369
  };
9364
9370
  return (r, c) => (v(), h("div", l4, [
9365
- r.title || r.$slots.header ? ee(r.$slots, "header", { key: 0 }, () => {
9371
+ r.title || r.$slots.header ? J(r.$slots, "header", { key: 0 }, () => {
9366
9372
  var u;
9367
9373
  return [
9368
9374
  d("div", r4, [
@@ -9384,7 +9390,7 @@ const l4 = {
9384
9390
  item: R(({ element: u }) => {
9385
9391
  var f, p, C, $, M, A, _, y;
9386
9392
  return [
9387
- k(Ha, {
9393
+ k(Da, {
9388
9394
  id: u.id,
9389
9395
  name: u.name,
9390
9396
  "project-name": (f = u.project) == null ? void 0 : f.name,
@@ -9430,13 +9436,13 @@ const l4 = {
9430
9436
  ref: n,
9431
9437
  class: "ao-list-kanban__end"
9432
9438
  }, null, 512)) : (v(), h("div", c4, [
9433
- r.noMoreLabel ? (v(), h("span", d4, q(r.noMoreLabel), 1)) : (v(), h("span", f4))
9439
+ r.noMoreLabel ? (v(), h("span", d4, F(r.noMoreLabel), 1)) : (v(), h("span", f4))
9434
9440
  ]))
9435
9441
  ]),
9436
9442
  _: 1
9437
9443
  }, 16, ["list"]),
9438
9444
  r.$slots.footer || r.footerLabel ? (v(), h("div", v4, [
9439
- ee(r.$slots, "footer", {}, () => [
9445
+ J(r.$slots, "footer", {}, () => [
9440
9446
  k(Xe, {
9441
9447
  "icon-name": "AddBoxOutlineRounded",
9442
9448
  label: r.footerLabel,
@@ -9474,21 +9480,21 @@ const h4 = { class: "ao-field ao-search-field" }, m4 = ["value", "placeholder",
9474
9480
  }, null, 40, m4),
9475
9481
  k(de, {
9476
9482
  name: "SearchRounded",
9477
- class: X(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
9483
+ class: G(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
9478
9484
  }, null, 8, ["class"]),
9479
9485
  k(ce, {
9480
9486
  "icon-name": "CloseRounded",
9481
9487
  size: "sm",
9482
9488
  color: "primary",
9483
9489
  corners: "round",
9484
- class: X(`ao-search-field__button ao-search-field__action ${i.modelValue ? "ao-search-field__action--visible" : ""}`),
9490
+ class: G(`ao-search-field__button ao-search-field__action ${i.modelValue ? "ao-search-field__action--visible" : ""}`),
9485
9491
  onClick: o
9486
9492
  }, null, 8, ["class"])
9487
9493
  ]));
9488
9494
  }
9489
9495
  });
9490
9496
  function _4(a) {
9491
- const e = Q(), t = w(
9497
+ const e = X(), t = w(
9492
9498
  () => a.value.find(
9493
9499
  (n) => n.id === e.value
9494
9500
  )
@@ -9533,20 +9539,20 @@ const b4 = { class: "ao-feed" }, w4 = { class: "ao-feed__filters" }, $4 = { clas
9533
9539
  setup(a, { emit: e }) {
9534
9540
  const t = a, { t: s } = at(), n = ct(t, "activities"), { selectActivity: o, selectedActivity: i } = y4(n), l = (g) => {
9535
9541
  o(g), e("selectActivity", g);
9536
- }, r = Q({}), c = Q(!1);
9542
+ }, r = X({}), c = X(!1);
9537
9543
  re(
9538
9544
  [() => t.statuses, () => t.activities],
9539
9545
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
9540
- async ([g, N], [fe, te]) => {
9546
+ async ([g, N], [fe, ae]) => {
9541
9547
  r.value = Object.fromEntries(
9542
- g.map((J) => [
9543
- J.id,
9544
- N.filter((x) => {
9545
- var I;
9546
- return ((I = x.status) == null ? void 0 : I.id) === J.id;
9548
+ g.map((Q) => [
9549
+ Q.id,
9550
+ N.filter((z) => {
9551
+ var O;
9552
+ return ((O = z.status) == null ? void 0 : O.id) === Q.id;
9547
9553
  })
9548
9554
  ])
9549
- ), c.value && Re(N, te);
9555
+ ), c.value && Re(N, ae);
9550
9556
  },
9551
9557
  { immediate: !0 }
9552
9558
  );
@@ -9554,13 +9560,13 @@ const b4 = { class: "ao-feed" }, w4 = { class: "ao-feed__filters" }, $4 = { clas
9554
9560
  var g;
9555
9561
  return !i.value || !i.value.milestone ? "" : `${((g = i.value.milestone.phase) == null ? void 0 : g.name) ?? ""} / ${i.value.milestone.name ?? ""}`;
9556
9562
  }), f = (g) => {
9557
- var x, I;
9558
- const N = (x = t.activities) == null ? void 0 : x.at(-1), fe = N ? Ae.LexoRank.parse(N.rank).genNext() : Ae.LexoRank.middle(), te = ((I = t.activities) == null ? void 0 : I.length) ?? 0, J = {
9559
- name: s("activity.defaultName", { idx: te + 1 }),
9563
+ var z, O;
9564
+ const N = (z = t.activities) == null ? void 0 : z.at(-1), fe = N ? Ae.LexoRank.parse(N.rank).genNext() : Ae.LexoRank.middle(), ae = ((O = t.activities) == null ? void 0 : O.length) ?? 0, Q = {
9565
+ name: s("activity.defaultName", { idx: ae + 1 }),
9560
9566
  rank: fe.format(),
9561
9567
  statusId: g.id
9562
9568
  };
9563
- t.filters.assigneeId.length > 0 && (J.assigneeId = t.filters.assigneeId[0]), t.filters.projectId.length > 0 && (J.projectId = t.filters.projectId[0]), t.filters.typeId.length > 0 && (J.typeId = t.filters.typeId[0]), c.value = !0, e("addActivity", J);
9569
+ t.filters.assigneeId.length > 0 && (Q.assigneeId = t.filters.assigneeId[0]), t.filters.projectId.length > 0 && (Q.projectId = t.filters.projectId[0]), t.filters.typeId.length > 0 && (Q.typeId = t.filters.typeId[0]), c.value = !0, e("addActivity", Q);
9564
9570
  }, p = (g, N) => {
9565
9571
  c.value = !1, e("update:filters", { ...t.filters, [g]: N });
9566
9572
  }, C = w(() => t.projects.map((g) => ({
@@ -9591,17 +9597,17 @@ const b4 = { class: "ao-feed" }, w4 = { class: "ao-feed__filters" }, $4 = { clas
9591
9597
  }
9592
9598
  }), U = (g) => {
9593
9599
  c.value = !1, e("update:searchText", g);
9594
- }, F = (g) => {
9600
+ }, W = (g) => {
9595
9601
  c.value = !1, e("clear:searchText", g);
9596
- }, H = (g) => {
9602
+ }, D = (g) => {
9597
9603
  i.value && e("addSubtask", g);
9598
- }, O = (g) => {
9604
+ }, x = (g) => {
9599
9605
  i.value && e("updateSubtask", g);
9600
- }, z = (g) => {
9606
+ }, ee = (g) => {
9601
9607
  i.value && e("deleteSubtask", g);
9602
- }, K = (g) => {
9608
+ }, I = (g) => {
9603
9609
  e("addFiles", g);
9604
- }, ie = (g) => {
9610
+ }, te = (g) => {
9605
9611
  e("removeFile", g);
9606
9612
  }, b = (g) => {
9607
9613
  i.value && e("addComment", {
@@ -9620,19 +9626,19 @@ const b4 = { class: "ao-feed" }, w4 = { class: "ao-feed__filters" }, $4 = { clas
9620
9626
  value: N.id,
9621
9627
  label: N.name
9622
9628
  }));
9623
- }), ae = w(() => {
9624
- var N, fe, te;
9625
- const g = (te = (fe = (N = i.value) == null ? void 0 : N.project) == null ? void 0 : fe.phases) == null ? void 0 : te.reduce((J, x) => [...J, ...x.milestones], []);
9626
- return g == null ? void 0 : g.map((J) => ({
9627
- value: J.id,
9628
- label: J.name
9629
+ }), ne = w(() => {
9630
+ var N, fe, ae;
9631
+ const g = (ae = (fe = (N = i.value) == null ? void 0 : N.project) == null ? void 0 : fe.phases) == null ? void 0 : ae.reduce((Q, z) => [...Q, ...z.milestones], []);
9632
+ return g == null ? void 0 : g.map((Q) => ({
9633
+ value: Q.id,
9634
+ label: Q.name
9629
9635
  }));
9630
9636
  }), ue = (g) => {
9631
9637
  i.value && e("update:activity", {
9632
9638
  id: i.value.id,
9633
9639
  projectId: g
9634
9640
  });
9635
- }, se = (g) => {
9641
+ }, ie = (g) => {
9636
9642
  i.value && e("update:activity", {
9637
9643
  id: i.value.id,
9638
9644
  milestoneId: g
@@ -9660,7 +9666,7 @@ const b4 = { class: "ao-feed" }, w4 = { class: "ao-feed__filters" }, $4 = { clas
9660
9666
  placeholder: g.$t("feed.search.placeholder"),
9661
9667
  class: "ao-feed__search",
9662
9668
  "onUpdate:modelValue": U,
9663
- onClear: F
9669
+ onClear: W
9664
9670
  }, null, 8, ["model-value", "placeholder"]),
9665
9671
  k(be, {
9666
9672
  "model-value": g.filters[Z(ut).project],
@@ -9670,7 +9676,7 @@ const b4 = { class: "ao-feed" }, w4 = { class: "ao-feed__filters" }, $4 = { clas
9670
9676
  searchable: !0,
9671
9677
  class: "ao-feed__filter ao-feed__filter__projects",
9672
9678
  placeholder: g.$t("feed.filters.project.placeholder"),
9673
- "onUpdate:modelValue": N[0] || (N[0] = (te) => p(Z(ut).project, te))
9679
+ "onUpdate:modelValue": N[0] || (N[0] = (ae) => p(Z(ut).project, ae))
9674
9680
  }, null, 8, ["model-value", "options", "placeholder"]),
9675
9681
  k(be, {
9676
9682
  "model-value": g.filters[Z(ut).type],
@@ -9680,7 +9686,7 @@ const b4 = { class: "ao-feed" }, w4 = { class: "ao-feed__filters" }, $4 = { clas
9680
9686
  searchable: !0,
9681
9687
  class: "ao-feed__filter ao-feed__filter__types",
9682
9688
  placeholder: g.$t("feed.filters.activityType.placeholder"),
9683
- "onUpdate:modelValue": N[1] || (N[1] = (te) => p(Z(ut).type, te))
9689
+ "onUpdate:modelValue": N[1] || (N[1] = (ae) => p(Z(ut).type, ae))
9684
9690
  }, null, 8, ["model-value", "options", "placeholder"]),
9685
9691
  k(be, {
9686
9692
  "model-value": g.filters[Z(ut).assignee],
@@ -9690,13 +9696,13 @@ const b4 = { class: "ao-feed" }, w4 = { class: "ao-feed__filters" }, $4 = { clas
9690
9696
  searchable: !0,
9691
9697
  class: "ao-feed__filter ao-feed__filter__assignees",
9692
9698
  placeholder: g.$t("feed.filters.assignee.placeholder"),
9693
- "onUpdate:modelValue": N[2] || (N[2] = (te) => p(Z(ut).assignee, te))
9699
+ "onUpdate:modelValue": N[2] || (N[2] = (ae) => p(Z(ut).assignee, ae))
9694
9700
  }, {
9695
- tag: R(({ option: te, handleTagRemove: J }) => [
9701
+ tag: R(({ option: ae, handleTagRemove: Q }) => [
9696
9702
  k(_t, {
9697
- "user-name": te.label,
9703
+ "user-name": ae.label,
9698
9704
  "is-closable": !0,
9699
- onClose: (x) => J(te, x)
9705
+ onClose: (z) => Q(ae, z)
9700
9706
  }, null, 8, ["user-name", "onClose"])
9701
9707
  ]),
9702
9708
  _: 1
@@ -9712,20 +9718,20 @@ const b4 = { class: "ao-feed" }, w4 = { class: "ao-feed__filters" }, $4 = { clas
9712
9718
  label: g.$t("feed.filters.showsArchivedActivities.label"),
9713
9719
  role: "checkbox",
9714
9720
  "aria-checked": g.showsArchivedActivities,
9715
- onClick: N[3] || (N[3] = (te) => g.$emit("update:showsArchivedActivities", !g.showsArchivedActivities))
9721
+ onClick: N[3] || (N[3] = (ae) => g.$emit("update:showsArchivedActivities", !g.showsArchivedActivities))
9716
9722
  }, null, 8, ["icon-name", "label", "aria-checked"])
9717
9723
  ]),
9718
9724
  _: 1
9719
9725
  }),
9720
9726
  d("div", $4, [
9721
- (v(!0), h(ve, null, ye(g.statuses, (te) => (v(), j(p4, {
9722
- key: te.id,
9723
- status: te,
9724
- list: r.value[te.id],
9725
- title: te.name,
9727
+ (v(!0), h(ve, null, ye(g.statuses, (ae) => (v(), j(p4, {
9728
+ key: ae.id,
9729
+ status: ae,
9730
+ list: r.value[ae.id],
9731
+ title: ae.name,
9726
9732
  "footer-label": g.$t("feed.activity.add"),
9727
9733
  users: g.users,
9728
- onAdd: () => f(te),
9734
+ onAdd: () => f(ae),
9729
9735
  onSelectActivity: l,
9730
9736
  onArchiveActivity: y,
9731
9737
  onUpdateActivity: _
@@ -9746,42 +9752,42 @@ const b4 = { class: "ao-feed" }, w4 = { class: "ao-feed__filters" }, $4 = { clas
9746
9752
  "is-editable": !0,
9747
9753
  onClose: N[5] || (N[5] = () => l(null)),
9748
9754
  "onUpdate:activity": A,
9749
- onAddSubtask: H,
9750
- onUpdateSubtask: O,
9751
- onDeleteSubtask: z,
9752
- onAddFiles: K,
9753
- onRemoveFile: ie,
9755
+ onAddSubtask: D,
9756
+ onUpdateSubtask: x,
9757
+ onDeleteSubtask: ee,
9758
+ onAddFiles: I,
9759
+ onRemoveFile: te,
9754
9760
  onAddComment: b,
9755
9761
  onUpdateComment: T,
9756
9762
  onRemoveComment: P
9757
9763
  }, {
9758
9764
  header: R(() => {
9759
- var te, J, x;
9765
+ var ae, Q, z;
9760
9766
  return [
9761
9767
  d("div", M4, [
9762
9768
  le.value ? (v(), h("label", k4, [
9763
- d("span", A4, q(g.$t("activity.project.label")), 1),
9769
+ d("span", A4, F(g.$t("activity.project.label")), 1),
9764
9770
  k(be, {
9765
9771
  options: le.value,
9766
- value: (te = Z(i).project) == null ? void 0 : te.id,
9772
+ value: (ae = Z(i).project) == null ? void 0 : ae.id,
9767
9773
  searchable: !0,
9768
9774
  onChange: ue
9769
9775
  }, null, 8, ["options", "value"])
9770
9776
  ])) : S("", !0),
9771
- ae.value ? (v(), h("label", T4, [
9772
- d("span", S4, q(g.$t("activity.milestone.label")), 1),
9777
+ ne.value ? (v(), h("label", T4, [
9778
+ d("span", S4, F(g.$t("activity.milestone.label")), 1),
9773
9779
  k(be, {
9774
- options: ae.value,
9775
- value: (J = Z(i).milestone) == null ? void 0 : J.id,
9780
+ options: ne.value,
9781
+ value: (Q = Z(i).milestone) == null ? void 0 : Q.id,
9776
9782
  searchable: !0,
9777
- onChange: se
9783
+ onChange: ie
9778
9784
  }, null, 8, ["options", "value"])
9779
9785
  ])) : S("", !0),
9780
9786
  E.value ? (v(), h("label", E4, [
9781
- d("span", I4, q(g.$t("activity.status.label")), 1),
9787
+ d("span", I4, F(g.$t("activity.status.label")), 1),
9782
9788
  k(be, {
9783
9789
  options: E.value,
9784
- value: (x = Z(i).status) == null ? void 0 : x.id,
9790
+ value: (z = Z(i).status) == null ? void 0 : z.id,
9785
9791
  "can-clear": !1,
9786
9792
  "can-deselect": !1,
9787
9793
  onChange: L
@@ -9793,9 +9799,9 @@ const b4 = { class: "ao-feed" }, w4 = { class: "ao-feed__filters" }, $4 = { clas
9793
9799
  default: R(() => [
9794
9800
  d("div", O4, [
9795
9801
  d("label", L4, [
9796
- d("span", V4, q(g.$t("activity.deadline.label")), 1),
9802
+ d("span", V4, F(g.$t("activity.deadline.label")), 1),
9797
9803
  dt(d("input", {
9798
- "onUpdate:modelValue": N[4] || (N[4] = (te) => V.value = te),
9804
+ "onUpdate:modelValue": N[4] || (N[4] = (ae) => V.value = ae),
9799
9805
  class: "ao-field__input",
9800
9806
  type: "date"
9801
9807
  }, null, 512), [