@26lights/orcha 0.21.3 → 0.23.0

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,13 +1,13 @@
1
- import { defineComponent as K, openBlock as c, createBlock as R, unref as q, mergeProps as Ee, createElementBlock as m, createElementVNode as f, pushScopeId as ls, popScopeId as rs, createStaticVNode as us, computed as b, resolveDynamicComponent as Xe, normalizeClass as x, renderSlot as X, toDisplayString as Z, createCommentVNode as k, ref as J, watch as ue, nextTick as Oe, withKeys as Ye, toHandlers as ds, withCtx as U, createTextVNode as e1, createVNode as T, normalizeStyle as ua, withModifiers as _e, createSlots as t1, Fragment as ve, renderList as ye, onMounted as Dt, onBeforeUnmount as cs, onUnmounted as da, toRefs as $e, getCurrentInstance as st, toRef as vt, normalizeProps as fs, guardReactiveProps as vs, onUpdated as ps, withDirectives as tt, vModelText as Et, vModelCheckbox as x1, Teleport as It, resolveComponent as hs, getCurrentScope as ms, onScopeDispose as Cs, provide as _s, toHandlerKey as gs } from "vue";
1
+ import { defineComponent as Y, openBlock as c, createBlock as N, unref as q, mergeProps as Ee, createElementBlock as m, createElementVNode as f, pushScopeId as us, popScopeId as ds, createStaticVNode as cs, computed as b, resolveDynamicComponent as Xe, normalizeClass as G, renderSlot as x, toDisplayString as Z, createCommentVNode as k, ref as J, watch as ue, nextTick as Oe, withKeys as Ye, toHandlers as fs, withCtx as U, createTextVNode as e1, createVNode as S, normalizeStyle as ca, withModifiers as _e, createSlots as t1, Fragment as ve, renderList as ye, onMounted as Dt, onBeforeUnmount as vs, onUnmounted as fa, toRefs as $e, getCurrentInstance as st, toRef as vt, normalizeProps as a1, guardReactiveProps as s1, onUpdated as ps, withDirectives as tt, vModelText as Et, vModelCheckbox as Q1, Teleport as It, resolveComponent as hs, getCurrentScope as ms, onScopeDispose as Cs, provide as _s, toHandlerKey as gs } from "vue";
2
2
  import { RouterView as ys } from "vue-router";
3
3
  import Qe from "vuedraggable";
4
- const o8 = /* @__PURE__ */ K({
4
+ const o8 = /* @__PURE__ */ Y({
5
5
  __name: "AoTemplates",
6
6
  props: {
7
7
  templates: {}
8
8
  },
9
9
  setup(a) {
10
- return (e, t) => (c(), R(q(ys), Ee({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
10
+ return (e, t) => (c(), N(q(ys), Ee({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
11
11
  }
12
12
  }), P = (a, e) => {
13
13
  const t = a.__vccOpts || a;
@@ -614,26 +614,26 @@ const Ul = /* @__PURE__ */ P(Hl, [["render", Rl]]), jl = {}, Zl = {
614
614
  function zl(a, e) {
615
615
  return c(), m("svg", Zl, ql);
616
616
  }
617
- const Wl = /* @__PURE__ */ P(jl, [["render", zl]]), Yl = K({
617
+ const Wl = /* @__PURE__ */ P(jl, [["render", zl]]), Yl = Y({
618
618
  name: "LoadingIcon"
619
619
  });
620
- const S1 = (a) => (ls("data-v-ad6da4a9"), a = a(), rs(), a), Kl = {
620
+ const I1 = (a) => (us("data-v-ad6da4a9"), a = a(), ds(), a), Kl = {
621
621
  width: "24",
622
622
  height: "24",
623
623
  viewBox: "0 0 24 24",
624
624
  fill: "none",
625
625
  xmlns: "http://www.w3.org/2000/svg"
626
- }, Gl = /* @__PURE__ */ S1(() => /* @__PURE__ */ f("circle", {
626
+ }, Gl = /* @__PURE__ */ I1(() => /* @__PURE__ */ f("circle", {
627
627
  class: "dot dot--1",
628
628
  cx: "6",
629
629
  cy: "12",
630
630
  r: "2"
631
- }, null, -1)), xl = /* @__PURE__ */ S1(() => /* @__PURE__ */ f("circle", {
631
+ }, null, -1)), xl = /* @__PURE__ */ I1(() => /* @__PURE__ */ f("circle", {
632
632
  class: "dot dot--2",
633
633
  cx: "12",
634
634
  cy: "12",
635
635
  r: "2"
636
- }, null, -1)), Xl = /* @__PURE__ */ S1(() => /* @__PURE__ */ f("circle", {
636
+ }, null, -1)), Xl = /* @__PURE__ */ I1(() => /* @__PURE__ */ f("circle", {
637
637
  class: "dot dot--3",
638
638
  cx: "18",
639
639
  cy: "12",
@@ -843,7 +843,7 @@ const M2 = /* @__PURE__ */ P(g2, [["render", $2]]), k2 = {}, A2 = {
843
843
  viewBox: "0 0 26 29",
844
844
  fill: "none",
845
845
  xmlns: "http://www.w3.org/2000/svg"
846
- }, T2 = /* @__PURE__ */ us('<g filter="url(#filter0_d_2030_169)"><path d="M19.9 20.3L14.3 14.7C13.8 15.1 13.225 15.4167 12.575 15.65C11.925 15.8833 11.2333 16 10.5 16C8.68333 16 7.146 15.3707 5.888 14.112C4.63 12.8533 4.00067 11.316 4 9.5C4 7.68333 4.62933 6.146 5.888 4.888C7.14667 3.63 8.684 3.00067 10.5 3C12.3167 3 13.854 3.62933 15.112 4.888C16.37 6.14667 16.9993 7.684 17 9.5C17 10.2333 16.8833 10.925 16.65 11.575C16.4167 12.225 16.1 12.8 15.7 13.3L21.325 18.925C21.5083 19.1083 21.6 19.3333 21.6 19.6C21.6 19.8667 21.5 20.1 21.3 20.3C21.1167 20.4833 20.8833 20.575 20.6 20.575C20.3167 20.575 20.0833 20.4833 19.9 20.3ZM10.5 14C11.75 14 12.8127 13.5623 13.688 12.687C14.5633 11.8117 15.0007 10.7493 15 9.5C15 8.25 14.5623 7.18733 13.687 6.312C12.8117 5.43667 11.7493 4.99933 10.5 5C9.25 5 8.18733 5.43767 7.312 6.313C6.43667 7.18833 5.99933 8.25067 6 9.5C6 10.75 6.43767 11.8127 7.313 12.688C8.18833 13.5633 9.25067 14.0007 10.5 14Z" fill="black"></path></g><defs><filter id="filter0_d_2030_169" x="-3" y="0" width="32" height="32" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="4"></feOffset><feGaussianBlur stdDeviation="2"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2030_169"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2030_169" result="shape"></feBlend></filter></defs>', 2), S2 = [
846
+ }, T2 = /* @__PURE__ */ cs('<g filter="url(#filter0_d_2030_169)"><path d="M19.9 20.3L14.3 14.7C13.8 15.1 13.225 15.4167 12.575 15.65C11.925 15.8833 11.2333 16 10.5 16C8.68333 16 7.146 15.3707 5.888 14.112C4.63 12.8533 4.00067 11.316 4 9.5C4 7.68333 4.62933 6.146 5.888 4.888C7.14667 3.63 8.684 3.00067 10.5 3C12.3167 3 13.854 3.62933 15.112 4.888C16.37 6.14667 16.9993 7.684 17 9.5C17 10.2333 16.8833 10.925 16.65 11.575C16.4167 12.225 16.1 12.8 15.7 13.3L21.325 18.925C21.5083 19.1083 21.6 19.3333 21.6 19.6C21.6 19.8667 21.5 20.1 21.3 20.3C21.1167 20.4833 20.8833 20.575 20.6 20.575C20.3167 20.575 20.0833 20.4833 19.9 20.3ZM10.5 14C11.75 14 12.8127 13.5623 13.688 12.687C14.5633 11.8117 15.0007 10.7493 15 9.5C15 8.25 14.5623 7.18733 13.687 6.312C12.8117 5.43667 11.7493 4.99933 10.5 5C9.25 5 8.18733 5.43767 7.312 6.313C6.43667 7.18833 5.99933 8.25067 6 9.5C6 10.75 6.43767 11.8127 7.313 12.688C8.18833 13.5633 9.25067 14.0007 10.5 14Z" fill="black"></path></g><defs><filter id="filter0_d_2030_169" x="-3" y="0" width="32" height="32" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="4"></feOffset><feGaussianBlur stdDeviation="2"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2030_169"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2030_169" result="shape"></feBlend></filter></defs>', 2), S2 = [
847
847
  T2
848
848
  ];
849
849
  function E2(a, e) {
@@ -1134,7 +1134,7 @@ const od = /* @__PURE__ */ P(td, [["render", id]]), ld = /* @__PURE__ */ Object.
1134
1134
  SOLID: "solid",
1135
1135
  GHOST: "ghost",
1136
1136
  OUTLINE: "outline"
1137
- }, a1 = {
1137
+ }, n1 = {
1138
1138
  SM: "sm",
1139
1139
  MD: "md",
1140
1140
  LG: "lg",
@@ -1143,26 +1143,26 @@ const od = /* @__PURE__ */ P(td, [["render", id]]), ld = /* @__PURE__ */ Object.
1143
1143
  PRIMARY: "primary",
1144
1144
  NEUTRAL: "neutral",
1145
1145
  BLACK: "black"
1146
- }, ca = {
1146
+ }, va = {
1147
1147
  ROUND: "round",
1148
1148
  ROUNDED: "rounded"
1149
- }, ce = /* @__PURE__ */ K({
1149
+ }, ce = /* @__PURE__ */ Y({
1150
1150
  __name: "AoIcon",
1151
1151
  props: {
1152
1152
  name: {},
1153
- size: { default: a1.MD }
1153
+ size: { default: n1.MD }
1154
1154
  },
1155
1155
  setup(a) {
1156
1156
  const e = a, t = b(() => ld[e.name]);
1157
- return (n, s) => (c(), R(Xe(t.value), {
1158
- class: x(["ao-icon", `ao-icon--${n.size}`])
1157
+ return (n, s) => (c(), N(Xe(t.value), {
1158
+ class: G(["ao-icon", `ao-icon--${n.size}`])
1159
1159
  }, null, 8, ["class"]));
1160
1160
  }
1161
1161
  });
1162
1162
  const dd = ["type"], cd = {
1163
1163
  key: 0,
1164
1164
  class: "ao-button__label"
1165
- }, fe = /* @__PURE__ */ K({
1165
+ }, fe = /* @__PURE__ */ Y({
1166
1166
  __name: "AoButton",
1167
1167
  props: {
1168
1168
  label: { default: () => "" },
@@ -1172,15 +1172,15 @@ const dd = ["type"], cd = {
1172
1172
  type: { default: () => "button" },
1173
1173
  color: {},
1174
1174
  footer: { type: Boolean, default: () => !1 },
1175
- size: { default: () => a1.MD },
1175
+ size: { default: () => n1.MD },
1176
1176
  isLoading: { type: Boolean, default: () => !1 },
1177
- corners: { default: () => ca.ROUNDED }
1177
+ corners: { default: () => va.ROUNDED }
1178
1178
  },
1179
1179
  setup(a) {
1180
1180
  const e = a, t = b(() => e.size), n = b(() => e.isLoading ? "Loading" : e.iconName);
1181
1181
  return (s, o) => (c(), m("button", {
1182
1182
  type: s.type,
1183
- class: x([
1183
+ class: G([
1184
1184
  "ao-button",
1185
1185
  `ao-button--${s.variant}`,
1186
1186
  s.color ? `ao-button--${s.color}` : "",
@@ -1191,10 +1191,10 @@ const dd = ["type"], cd = {
1191
1191
  s.$attrs.disabled ? "ao-button--is-disabled" : ""
1192
1192
  ])
1193
1193
  }, [
1194
- X(s.$slots, "default", {}, () => [
1194
+ x(s.$slots, "default", {}, () => [
1195
1195
  s.label ? (c(), m("span", cd, Z(s.label), 1)) : k("", !0)
1196
1196
  ]),
1197
- n.value ? (c(), R(ce, {
1197
+ n.value ? (c(), N(ce, {
1198
1198
  key: 0,
1199
1199
  name: n.value,
1200
1200
  class: "ao-button__icon",
@@ -1203,7 +1203,7 @@ const dd = ["type"], cd = {
1203
1203
  ], 10, dd));
1204
1204
  }
1205
1205
  });
1206
- function fa(a) {
1206
+ function pa(a) {
1207
1207
  const e = J(!1), t = J(""), n = b(() => "value" in a.value ? "value" : "innerHTML"), s = () => {
1208
1208
  e.value = !e.value;
1209
1209
  }, o = (r) => {
@@ -1232,7 +1232,7 @@ function fa(a) {
1232
1232
  onDiscard: i
1233
1233
  };
1234
1234
  }
1235
- const Ce = /* @__PURE__ */ K({
1235
+ const Ce = /* @__PURE__ */ Y({
1236
1236
  __name: "AoTitle",
1237
1237
  props: {
1238
1238
  id: {},
@@ -1244,7 +1244,7 @@ const Ce = /* @__PURE__ */ K({
1244
1244
  },
1245
1245
  emits: ["update:title", "toggle-is-editing"],
1246
1246
  setup(a, { emit: e }) {
1247
- const t = a, n = J(null), { isEditing: s, setIsEditing: o, onUpdate: i, onDiscard: l } = fa(n), r = b(() => s.value ? "input" : t.tag || `h${t.level}`), d = b(() => t.isEditable ? s.value ? {
1247
+ const t = a, n = J(null), { isEditing: s, setIsEditing: o, onUpdate: i, onDiscard: l } = pa(n), r = b(() => s.value ? "input" : t.tag || `h${t.level}`), d = b(() => t.isEditable ? s.value ? {
1248
1248
  change: u,
1249
1249
  click: ($) => $.stopPropagation(),
1250
1250
  blur: p
@@ -1266,7 +1266,7 @@ const Ce = /* @__PURE__ */ K({
1266
1266
  ($) => {
1267
1267
  $ || v();
1268
1268
  }
1269
- ), ($, A) => (c(), R(Xe(r.value), Ee({
1269
+ ), ($, A) => (c(), N(Xe(r.value), Ee({
1270
1270
  id: $.id,
1271
1271
  ref_key: "target",
1272
1272
  ref: n,
@@ -1284,7 +1284,7 @@ const Ce = /* @__PURE__ */ K({
1284
1284
  value: q(s) ? $.title : null,
1285
1285
  tabindex: "0",
1286
1286
  onKeyup: Ye(C, ["enter"])
1287
- }, ds(d.value), {
1287
+ }, fs(d.value), {
1288
1288
  onKeydown: Ye(q(v), ["esc"])
1289
1289
  }), {
1290
1290
  default: U(() => [
@@ -1315,7 +1315,7 @@ const fd = {
1315
1315
  }, yd = {
1316
1316
  key: 3,
1317
1317
  class: "ao-card-horiz__secondary"
1318
- }, va = /* @__PURE__ */ K({
1318
+ }, ha = /* @__PURE__ */ Y({
1319
1319
  __name: "AoCardHoriz",
1320
1320
  props: {
1321
1321
  id: {},
@@ -1332,26 +1332,26 @@ const fd = {
1332
1332
  const t = (n) => {
1333
1333
  e("update:title", n);
1334
1334
  };
1335
- return (n, s) => (c(), R(Xe(n.tagName), {
1336
- class: x(["ao-card-horiz", { "ao-card-horiz--active": n.isActive }])
1335
+ return (n, s) => (c(), N(Xe(n.tagName), {
1336
+ class: G(["ao-card-horiz", { "ao-card-horiz--active": n.isActive }])
1337
1337
  }, {
1338
1338
  default: U(() => [
1339
1339
  n.isDraggable ? (c(), m("div", fd, [
1340
- T(ce, {
1340
+ S(ce, {
1341
1341
  name: "DragIndicator",
1342
1342
  class: "ao-card-horiz__drag-handle"
1343
1343
  })
1344
1344
  ])) : k("", !0),
1345
1345
  f("div", vd, [
1346
1346
  n.icon ? (c(), m("div", pd, [
1347
- T(ce, {
1347
+ S(ce, {
1348
1348
  class: "ao-card-horiz__icon",
1349
1349
  name: n.icon,
1350
1350
  size: "xl"
1351
1351
  }, null, 8, ["name"])
1352
1352
  ])) : k("", !0),
1353
1353
  f("div", hd, [
1354
- T(Ce, {
1354
+ S(Ce, {
1355
1355
  id: n.id,
1356
1356
  class: "ao-card-horiz__title",
1357
1357
  level: 4,
@@ -1359,29 +1359,29 @@ const fd = {
1359
1359
  "is-editable": !0,
1360
1360
  "onUpdate:title": t
1361
1361
  }, null, 8, ["id", "title"]),
1362
- X(n.$slots, "subtitle", {}, () => [
1362
+ x(n.$slots, "subtitle", {}, () => [
1363
1363
  n.subtitle ? (c(), m("span", md, Z(n.subtitle), 1)) : k("", !0)
1364
1364
  ])
1365
1365
  ]),
1366
1366
  n.$slots.header ? (c(), m("div", Cd, [
1367
- X(n.$slots, "header")
1367
+ x(n.$slots, "header")
1368
1368
  ])) : k("", !0)
1369
1369
  ]),
1370
1370
  n.$slots.default ? (c(), m("div", _d, [
1371
- X(n.$slots, "default")
1371
+ x(n.$slots, "default")
1372
1372
  ])) : k("", !0),
1373
1373
  n.$slots.footer ? (c(), m("div", gd, [
1374
- X(n.$slots, "footer")
1374
+ x(n.$slots, "footer")
1375
1375
  ])) : k("", !0),
1376
1376
  n.$slots.secondary ? (c(), m("div", yd, [
1377
- X(n.$slots, "secondary")
1377
+ x(n.$slots, "secondary")
1378
1378
  ])) : k("", !0)
1379
1379
  ]),
1380
1380
  _: 3
1381
1381
  }, 8, ["class"]));
1382
1382
  }
1383
1383
  });
1384
- const E1 = /* @__PURE__ */ K({
1384
+ const O1 = /* @__PURE__ */ Y({
1385
1385
  __name: "AoTag",
1386
1386
  props: {
1387
1387
  label: {},
@@ -1397,16 +1397,16 @@ const E1 = /* @__PURE__ */ K({
1397
1397
  () => t.value === "button" ? { type: "button" } : {}
1398
1398
  );
1399
1399
  return (s, o) => (c(), m("div", {
1400
- class: x([
1400
+ class: G([
1401
1401
  "ao-tag",
1402
1402
  s.color ? `ao-tag--${s.color}` : "",
1403
1403
  s.clickable ? "ao-tag--clickable" : "",
1404
1404
  s.closable ? "ao-tag--closable" : "",
1405
1405
  s.variant ? `ao-tag--${s.variant}` : ""
1406
1406
  ]),
1407
- style: ua(s.rawColor ? { "--ao-tag-bg": s.rawColor } : {})
1407
+ style: ca(s.rawColor ? { "--ao-tag-bg": s.rawColor } : {})
1408
1408
  }, [
1409
- (c(), R(Xe(t.value), Ee({ class: "ao-tag__label" }, n.value, {
1409
+ (c(), N(Xe(t.value), Ee({ class: "ao-tag__label" }, n.value, {
1410
1410
  onClick: o[0] || (o[0] = (i) => s.$emit("click", i))
1411
1411
  }), {
1412
1412
  default: U(() => [
@@ -1419,7 +1419,7 @@ const E1 = /* @__PURE__ */ K({
1419
1419
  class: "ao-tag__close",
1420
1420
  onClick: o[1] || (o[1] = (i) => s.$emit("close", i))
1421
1421
  }, [
1422
- T(ce, {
1422
+ S(ce, {
1423
1423
  name: "CloseRounded",
1424
1424
  size: "sm",
1425
1425
  class: "ao-tag__close-icon"
@@ -1428,7 +1428,7 @@ const E1 = /* @__PURE__ */ K({
1428
1428
  ], 6));
1429
1429
  }
1430
1430
  });
1431
- const k1 = {
1431
+ const T1 = {
1432
1432
  todo: "todo",
1433
1433
  done: "done",
1434
1434
  archived: "archived"
@@ -1498,18 +1498,18 @@ function kd(a, e) {
1498
1498
  return new Date(t + n);
1499
1499
  }
1500
1500
  var Ad = {};
1501
- function s1() {
1501
+ function i1() {
1502
1502
  return Ad;
1503
1503
  }
1504
1504
  function Td(a) {
1505
1505
  var e = new Date(Date.UTC(a.getFullYear(), a.getMonth(), a.getDate(), a.getHours(), a.getMinutes(), a.getSeconds(), a.getMilliseconds()));
1506
1506
  return e.setUTCFullYear(a.getFullYear()), a.getTime() - e.getTime();
1507
1507
  }
1508
- var pa = 6e4, ha = 36e5;
1508
+ var ma = 6e4, Ca = 36e5;
1509
1509
  function Sd(a) {
1510
1510
  return ge(1, arguments), a instanceof Date || Yt(a) === "object" && Object.prototype.toString.call(a) === "[object Date]";
1511
1511
  }
1512
- function ma(a) {
1512
+ function _a(a) {
1513
1513
  if (ge(1, arguments), !Sd(a) && typeof a != "number")
1514
1514
  return !1;
1515
1515
  var e = Be(a);
@@ -1533,7 +1533,7 @@ function Kt(a) {
1533
1533
  var e = 1, t = Be(a), n = t.getUTCDay(), s = (n < e ? 7 : 0) + n - e;
1534
1534
  return t.setUTCDate(t.getUTCDate() - s), t.setUTCHours(0, 0, 0, 0), t;
1535
1535
  }
1536
- function Ca(a) {
1536
+ function ga(a) {
1537
1537
  ge(1, arguments);
1538
1538
  var e = Be(a), t = e.getUTCFullYear(), n = /* @__PURE__ */ new Date(0);
1539
1539
  n.setUTCFullYear(t + 1, 0, 4), n.setUTCHours(0, 0, 0, 0);
@@ -1544,7 +1544,7 @@ function Ca(a) {
1544
1544
  }
1545
1545
  function Ld(a) {
1546
1546
  ge(1, arguments);
1547
- var e = Ca(a), t = /* @__PURE__ */ new Date(0);
1547
+ var e = ga(a), t = /* @__PURE__ */ new Date(0);
1548
1548
  t.setUTCFullYear(e, 0, 4), t.setUTCHours(0, 0, 0, 0);
1549
1549
  var n = Kt(t);
1550
1550
  return n;
@@ -1558,16 +1558,16 @@ function Dd(a) {
1558
1558
  function Gt(a, e) {
1559
1559
  var t, n, s, o, i, l, r, d;
1560
1560
  ge(1, arguments);
1561
- var u = s1(), v = Ke((t = (n = (s = (o = e == null ? void 0 : e.weekStartsOn) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && s !== void 0 ? s : u.weekStartsOn) !== null && n !== void 0 ? n : (r = u.locale) === null || r === void 0 || (d = r.options) === null || d === void 0 ? void 0 : d.weekStartsOn) !== null && t !== void 0 ? t : 0);
1561
+ var u = i1(), v = Ke((t = (n = (s = (o = e == null ? void 0 : e.weekStartsOn) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && s !== void 0 ? s : u.weekStartsOn) !== null && n !== void 0 ? n : (r = u.locale) === null || r === void 0 || (d = r.options) === null || d === void 0 ? void 0 : d.weekStartsOn) !== null && t !== void 0 ? t : 0);
1562
1562
  if (!(v >= 0 && v <= 6))
1563
1563
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
1564
1564
  var p = Be(a), C = p.getUTCDay(), w = (C < v ? 7 : 0) + C - v;
1565
1565
  return p.setUTCDate(p.getUTCDate() - w), p.setUTCHours(0, 0, 0, 0), p;
1566
1566
  }
1567
- function _a(a, e) {
1567
+ function ya(a, e) {
1568
1568
  var t, n, s, o, i, l, r, d;
1569
1569
  ge(1, arguments);
1570
- var u = Be(a), v = u.getUTCFullYear(), p = s1(), C = Ke((t = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && s !== void 0 ? s : p.firstWeekContainsDate) !== null && n !== void 0 ? n : (r = p.locale) === null || r === void 0 || (d = r.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && t !== void 0 ? t : 1);
1570
+ var u = Be(a), v = u.getUTCFullYear(), p = i1(), C = Ke((t = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && s !== void 0 ? s : p.firstWeekContainsDate) !== null && n !== void 0 ? n : (r = p.locale) === null || r === void 0 || (d = r.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && t !== void 0 ? t : 1);
1571
1571
  if (!(C >= 1 && C <= 7))
1572
1572
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
1573
1573
  var w = /* @__PURE__ */ new Date(0);
@@ -1580,7 +1580,7 @@ function _a(a, e) {
1580
1580
  function Hd(a, e) {
1581
1581
  var t, n, s, o, i, l, r, d;
1582
1582
  ge(1, arguments);
1583
- var u = s1(), v = Ke((t = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && s !== void 0 ? s : u.firstWeekContainsDate) !== null && n !== void 0 ? n : (r = u.locale) === null || r === void 0 || (d = r.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && t !== void 0 ? t : 1), p = _a(a, e), C = /* @__PURE__ */ new Date(0);
1583
+ var u = i1(), v = Ke((t = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && s !== void 0 ? s : u.firstWeekContainsDate) !== null && n !== void 0 ? n : (r = u.locale) === null || r === void 0 || (d = r.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && t !== void 0 ? t : 1), p = ya(a, e), C = /* @__PURE__ */ new Date(0);
1584
1584
  C.setUTCFullYear(p, 0, v), C.setUTCHours(0, 0, 0, 0);
1585
1585
  var w = Gt(C, e);
1586
1586
  return w;
@@ -1693,7 +1693,7 @@ var ct = {
1693
1693
  },
1694
1694
  // Local week-numbering year
1695
1695
  Y: function(e, t, n, s) {
1696
- var o = _a(e, s), i = o > 0 ? o : 1 - o;
1696
+ var o = ya(e, s), i = o > 0 ? o : 1 - o;
1697
1697
  if (t === "YY") {
1698
1698
  var l = i % 100;
1699
1699
  return le(l, 2);
@@ -1704,7 +1704,7 @@ var ct = {
1704
1704
  },
1705
1705
  // ISO week-numbering year
1706
1706
  R: function(e, t) {
1707
- var n = Ca(e);
1707
+ var n = ga(e);
1708
1708
  return le(n, t.length);
1709
1709
  },
1710
1710
  // Extended year. This is a single number designating the year of this calendar system.
@@ -2133,7 +2133,7 @@ var ct = {
2133
2133
  return "Z";
2134
2134
  switch (t) {
2135
2135
  case "X":
2136
- return Q1(i);
2136
+ return ea(i);
2137
2137
  case "XXXX":
2138
2138
  case "XX":
2139
2139
  return et(i);
@@ -2148,7 +2148,7 @@ var ct = {
2148
2148
  var o = s._originalDate || e, i = o.getTimezoneOffset();
2149
2149
  switch (t) {
2150
2150
  case "x":
2151
- return Q1(i);
2151
+ return ea(i);
2152
2152
  case "xxxx":
2153
2153
  case "xx":
2154
2154
  return et(i);
@@ -2165,7 +2165,7 @@ var ct = {
2165
2165
  case "O":
2166
2166
  case "OO":
2167
2167
  case "OOO":
2168
- return "GMT" + X1(i, ":");
2168
+ return "GMT" + J1(i, ":");
2169
2169
  case "OOOO":
2170
2170
  default:
2171
2171
  return "GMT" + et(i, ":");
@@ -2178,7 +2178,7 @@ var ct = {
2178
2178
  case "z":
2179
2179
  case "zz":
2180
2180
  case "zzz":
2181
- return "GMT" + X1(i, ":");
2181
+ return "GMT" + J1(i, ":");
2182
2182
  case "zzzz":
2183
2183
  default:
2184
2184
  return "GMT" + et(i, ":");
@@ -2195,14 +2195,14 @@ var ct = {
2195
2195
  return le(i, t.length);
2196
2196
  }
2197
2197
  };
2198
- function X1(a, e) {
2198
+ function J1(a, e) {
2199
2199
  var t = a > 0 ? "-" : "+", n = Math.abs(a), s = Math.floor(n / 60), o = n % 60;
2200
2200
  if (o === 0)
2201
2201
  return t + String(s);
2202
2202
  var i = e || "";
2203
2203
  return t + String(s) + i + le(o, 2);
2204
2204
  }
2205
- function Q1(a, e) {
2205
+ function ea(a, e) {
2206
2206
  if (a % 60 === 0) {
2207
2207
  var t = a > 0 ? "-" : "+";
2208
2208
  return t + le(Math.abs(a) / 60, 2);
@@ -2214,7 +2214,7 @@ function et(a, e) {
2214
2214
  return n + o + t + i;
2215
2215
  }
2216
2216
  const Ud = Rd;
2217
- var J1 = function(e, t) {
2217
+ var ta = function(e, t) {
2218
2218
  switch (e) {
2219
2219
  case "P":
2220
2220
  return t.date({
@@ -2234,7 +2234,7 @@ var J1 = function(e, t) {
2234
2234
  width: "full"
2235
2235
  });
2236
2236
  }
2237
- }, ga = function(e, t) {
2237
+ }, ba = function(e, t) {
2238
2238
  switch (e) {
2239
2239
  case "p":
2240
2240
  return t.time({
@@ -2257,7 +2257,7 @@ var J1 = function(e, t) {
2257
2257
  }, jd = function(e, t) {
2258
2258
  var n = e.match(/(P+)(p+)?/) || [], s = n[1], o = n[2];
2259
2259
  if (!o)
2260
- return J1(e, t);
2260
+ return ta(e, t);
2261
2261
  var i;
2262
2262
  switch (s) {
2263
2263
  case "P":
@@ -2282,9 +2282,9 @@ var J1 = function(e, t) {
2282
2282
  });
2283
2283
  break;
2284
2284
  }
2285
- return i.replace("{{date}}", J1(s, t)).replace("{{time}}", ga(o, t));
2285
+ return i.replace("{{date}}", ta(s, t)).replace("{{time}}", ba(o, t));
2286
2286
  }, Zd = {
2287
- p: ga,
2287
+ p: ba,
2288
2288
  P: jd
2289
2289
  };
2290
2290
  const Fd = Zd;
@@ -2295,7 +2295,7 @@ function Wd(a) {
2295
2295
  function Yd(a) {
2296
2296
  return zd.indexOf(a) !== -1;
2297
2297
  }
2298
- function ea(a, e, t) {
2298
+ function aa(a, e, t) {
2299
2299
  if (a === "YYYY")
2300
2300
  throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e, "`) for formatting years to the input `").concat(t, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
2301
2301
  if (a === "YY")
@@ -2372,7 +2372,7 @@ var Kd = {
2372
2372
  return typeof o == "string" ? s = o : t === 1 ? s = o.one : s = o.other.replace("{{count}}", t.toString()), n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? "in " + s : s + " ago" : s;
2373
2373
  };
2374
2374
  const xd = Gd;
2375
- function b1(a) {
2375
+ function $1(a) {
2376
2376
  return function() {
2377
2377
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.width ? String(e.width) : a.defaultWidth, n = a.formats[t] || a.formats[a.defaultWidth];
2378
2378
  return n;
@@ -2394,15 +2394,15 @@ var Xd = {
2394
2394
  medium: "{{date}}, {{time}}",
2395
2395
  short: "{{date}}, {{time}}"
2396
2396
  }, ec = {
2397
- date: b1({
2397
+ date: $1({
2398
2398
  formats: Xd,
2399
2399
  defaultWidth: "full"
2400
2400
  }),
2401
- time: b1({
2401
+ time: $1({
2402
2402
  formats: Qd,
2403
2403
  defaultWidth: "full"
2404
2404
  }),
2405
- dateTime: b1({
2405
+ dateTime: $1({
2406
2406
  formats: Jd,
2407
2407
  defaultWidth: "full"
2408
2408
  })
@@ -2699,29 +2699,29 @@ var Vc = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Dc = /P+p+|P+|
2699
2699
  function Nc(a, e, t) {
2700
2700
  var n, s, o, i, l, r, d, u, v, p, C, w, $, A, g, y, L, j;
2701
2701
  ge(2, arguments);
2702
- var W = String(e), H = s1(), G = (n = (s = t == null ? void 0 : t.locale) !== null && s !== void 0 ? s : H.locale) !== null && n !== void 0 ? n : Lc, te = Ke((o = (i = (l = (r = t == null ? void 0 : t.firstWeekContainsDate) !== null && r !== void 0 ? r : t == null || (d = t.locale) === null || d === void 0 || (u = d.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && l !== void 0 ? l : H.firstWeekContainsDate) !== null && i !== void 0 ? i : (v = H.locale) === null || v === void 0 || (p = v.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
2702
+ var W = String(e), H = i1(), X = (n = (s = t == null ? void 0 : t.locale) !== null && s !== void 0 ? s : H.locale) !== null && n !== void 0 ? n : Lc, te = Ke((o = (i = (l = (r = t == null ? void 0 : t.firstWeekContainsDate) !== null && r !== void 0 ? r : t == null || (d = t.locale) === null || d === void 0 || (u = d.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && l !== void 0 ? l : H.firstWeekContainsDate) !== null && i !== void 0 ? i : (v = H.locale) === null || v === void 0 || (p = v.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
2703
2703
  if (!(te >= 1 && te <= 7))
2704
2704
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
2705
2705
  var E = Ke((C = (w = ($ = (A = t == null ? void 0 : t.weekStartsOn) !== null && A !== void 0 ? A : t == null || (g = t.locale) === null || g === void 0 || (y = g.options) === null || y === void 0 ? void 0 : y.weekStartsOn) !== null && $ !== void 0 ? $ : H.weekStartsOn) !== null && w !== void 0 ? w : (L = H.locale) === null || L === void 0 || (j = L.options) === null || j === void 0 ? void 0 : j.weekStartsOn) !== null && C !== void 0 ? C : 0);
2706
2706
  if (!(E >= 0 && E <= 6))
2707
2707
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
2708
- if (!G.localize)
2708
+ if (!X.localize)
2709
2709
  throw new RangeError("locale must contain localize property");
2710
- if (!G.formatLong)
2710
+ if (!X.formatLong)
2711
2711
  throw new RangeError("locale must contain formatLong property");
2712
2712
  var ee = Be(a);
2713
- if (!ma(ee))
2713
+ if (!_a(ee))
2714
2714
  throw new RangeError("Invalid time value");
2715
2715
  var de = Td(ee), h = Ed(ee, de), O = {
2716
2716
  firstWeekContainsDate: te,
2717
2717
  weekStartsOn: E,
2718
- locale: G,
2718
+ locale: X,
2719
2719
  _originalDate: ee
2720
2720
  }, z = W.match(Dc).map(function(ae) {
2721
2721
  var re = ae[0];
2722
2722
  if (re === "p" || re === "P") {
2723
2723
  var oe = Fd[re];
2724
- return oe(ae, G.formatLong);
2724
+ return oe(ae, X.formatLong);
2725
2725
  }
2726
2726
  return ae;
2727
2727
  }).join("").match(Vc).map(function(ae) {
@@ -2732,7 +2732,7 @@ function Nc(a, e, t) {
2732
2732
  return Rc(ae);
2733
2733
  var oe = Ud[re];
2734
2734
  if (oe)
2735
- return !(t != null && t.useAdditionalWeekYearTokens) && Yd(ae) && ea(ae, e, String(a)), !(t != null && t.useAdditionalDayOfYearTokens) && Wd(ae) && ea(ae, e, String(a)), oe(h, ae, G.localize, O);
2735
+ return !(t != null && t.useAdditionalWeekYearTokens) && Yd(ae) && aa(ae, e, String(a)), !(t != null && t.useAdditionalDayOfYearTokens) && Wd(ae) && aa(ae, e, String(a)), oe(h, ae, X.localize, O);
2736
2736
  if (re.match(Bc))
2737
2737
  throw new RangeError("Format string contains an unescaped latin alphabet character `" + re + "`");
2738
2738
  return ae;
@@ -2817,10 +2817,10 @@ function Yc(a) {
2817
2817
  var e = a.match(Zc);
2818
2818
  if (!e)
2819
2819
  return NaN;
2820
- var t = w1(e[1]), n = w1(e[2]), s = w1(e[3]);
2821
- return e0(t, n, s) ? t * ha + n * pa + s * 1e3 : NaN;
2820
+ var t = M1(e[1]), n = M1(e[2]), s = M1(e[3]);
2821
+ return e0(t, n, s) ? t * Ca + n * ma + s * 1e3 : NaN;
2822
2822
  }
2823
- function w1(a) {
2823
+ function M1(a) {
2824
2824
  return a && parseFloat(a.replace(",", ".")) || 0;
2825
2825
  }
2826
2826
  function Kc(a) {
@@ -2830,7 +2830,7 @@ function Kc(a) {
2830
2830
  if (!e)
2831
2831
  return 0;
2832
2832
  var t = e[1] === "+" ? -1 : 1, n = parseInt(e[2]), s = e[3] && parseInt(e[3]) || 0;
2833
- return t0(n, s) ? t * (n * ha + s * pa) : NaN;
2833
+ return t0(n, s) ? t * (n * Ca + s * ma) : NaN;
2834
2834
  }
2835
2835
  function Gc(a, e, t) {
2836
2836
  var n = /* @__PURE__ */ new Date(0);
@@ -2839,14 +2839,14 @@ function Gc(a, e, t) {
2839
2839
  return n.setUTCDate(n.getUTCDate() + o), n;
2840
2840
  }
2841
2841
  var xc = [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
2842
- function ya(a) {
2842
+ function wa(a) {
2843
2843
  return a % 400 === 0 || a % 4 === 0 && a % 100 !== 0;
2844
2844
  }
2845
2845
  function Xc(a, e, t) {
2846
- return e >= 0 && e <= 11 && t >= 1 && t <= (xc[e] || (ya(a) ? 29 : 28));
2846
+ return e >= 0 && e <= 11 && t >= 1 && t <= (xc[e] || (wa(a) ? 29 : 28));
2847
2847
  }
2848
2848
  function Qc(a, e) {
2849
- return e >= 1 && e <= (ya(a) ? 366 : 365);
2849
+ return e >= 1 && e <= (wa(a) ? 366 : 365);
2850
2850
  }
2851
2851
  function Jc(a, e, t) {
2852
2852
  return e >= 1 && e <= 53 && t >= 0 && t <= 6;
@@ -2857,10 +2857,10 @@ function e0(a, e, t) {
2857
2857
  function t0(a, e) {
2858
2858
  return e >= 0 && e <= 59;
2859
2859
  }
2860
- var Se = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Te = {}, ba = {}, At = {}, Ht = {}, _t = {}, n1 = {};
2861
- Object.defineProperty(n1, "__esModule", { value: !0 });
2862
- n1.lexoHelper = void 0;
2863
- n1.lexoHelper = {
2860
+ var Se = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Te = {}, $a = {}, At = {}, Ht = {}, _t = {}, o1 = {};
2861
+ Object.defineProperty(o1, "__esModule", { value: !0 });
2862
+ o1.lexoHelper = void 0;
2863
+ o1.lexoHelper = {
2864
2864
  arrayCopy: a0
2865
2865
  };
2866
2866
  function a0(a, e, t, n, s) {
@@ -2897,7 +2897,7 @@ class s0 {
2897
2897
  Pt.default = s0;
2898
2898
  Object.defineProperty(_t, "__esModule", { value: !0 });
2899
2899
  _t.LexoInteger = void 0;
2900
- const qt = n1, n0 = Pt;
2900
+ const qt = o1, n0 = Pt;
2901
2901
  class Q {
2902
2902
  constructor(e, t, n) {
2903
2903
  this.sys = e, this.sign = t, this.mag = n;
@@ -3204,12 +3204,12 @@ class ke {
3204
3204
  }
3205
3205
  }
3206
3206
  Ht.LexoDecimal = ke;
3207
- var zt = {}, ta;
3208
- function wa() {
3209
- if (ta)
3207
+ var zt = {}, sa;
3208
+ function Ma() {
3209
+ if (sa)
3210
3210
  return zt;
3211
- ta = 1, Object.defineProperty(zt, "__esModule", { value: !0 });
3212
- const a = _t, e = Ma();
3211
+ sa = 1, Object.defineProperty(zt, "__esModule", { value: !0 });
3212
+ const a = _t, e = Aa();
3213
3213
  class t {
3214
3214
  constructor(s) {
3215
3215
  this.value = a.LexoInteger.parse(s, e.LexoRank.NUMERAL_SYSTEM);
@@ -3262,11 +3262,11 @@ function wa() {
3262
3262
  }
3263
3263
  return zt.default = t, zt;
3264
3264
  }
3265
- var I1 = {}, $a = {};
3266
- Object.defineProperty($a, "__esModule", { value: !0 });
3267
- var i1 = {};
3268
- Object.defineProperty(i1, "__esModule", { value: !0 });
3269
- i1.LexoNumeralSystem10 = void 0;
3265
+ var L1 = {}, ka = {};
3266
+ Object.defineProperty(ka, "__esModule", { value: !0 });
3267
+ var l1 = {};
3268
+ Object.defineProperty(l1, "__esModule", { value: !0 });
3269
+ l1.LexoNumeralSystem10 = void 0;
3270
3270
  class o0 {
3271
3271
  getBase() {
3272
3272
  return 10;
@@ -3289,10 +3289,10 @@ class o0 {
3289
3289
  return String.fromCharCode(e + 48);
3290
3290
  }
3291
3291
  }
3292
- i1.LexoNumeralSystem10 = o0;
3293
- var o1 = {};
3294
- Object.defineProperty(o1, "__esModule", { value: !0 });
3295
- o1.LexoNumeralSystem36 = void 0;
3292
+ l1.LexoNumeralSystem10 = o0;
3293
+ var r1 = {};
3294
+ Object.defineProperty(r1, "__esModule", { value: !0 });
3295
+ r1.LexoNumeralSystem36 = void 0;
3296
3296
  class l0 {
3297
3297
  constructor() {
3298
3298
  this.DIGITS = "0123456789abcdefghijklmnopqrstuvwxyz".split("");
@@ -3320,10 +3320,10 @@ class l0 {
3320
3320
  return this.DIGITS[e];
3321
3321
  }
3322
3322
  }
3323
- o1.LexoNumeralSystem36 = l0;
3324
- var l1 = {};
3325
- Object.defineProperty(l1, "__esModule", { value: !0 });
3326
- l1.LexoNumeralSystem64 = void 0;
3323
+ r1.LexoNumeralSystem36 = l0;
3324
+ var u1 = {};
3325
+ Object.defineProperty(u1, "__esModule", { value: !0 });
3326
+ u1.LexoNumeralSystem64 = void 0;
3327
3327
  class r0 {
3328
3328
  constructor() {
3329
3329
  this.DIGITS = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ^_abcdefghijklmnopqrstuvwxyz".split("");
@@ -3357,7 +3357,7 @@ class r0 {
3357
3357
  return this.DIGITS[e];
3358
3358
  }
3359
3359
  }
3360
- l1.LexoNumeralSystem64 = r0;
3360
+ u1.LexoNumeralSystem64 = r0;
3361
3361
  (function(a) {
3362
3362
  var e = Se && Se.__createBinding || (Object.create ? function(n, s, o, i) {
3363
3363
  i === void 0 && (i = o);
@@ -3371,14 +3371,14 @@ l1.LexoNumeralSystem64 = r0;
3371
3371
  for (var o in n)
3372
3372
  o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
3373
3373
  };
3374
- Object.defineProperty(a, "__esModule", { value: !0 }), t($a, a), t(i1, a), t(o1, a), t(l1, a);
3375
- })(I1);
3376
- var aa;
3377
- function Ma() {
3378
- if (aa)
3374
+ Object.defineProperty(a, "__esModule", { value: !0 }), t(ka, a), t(l1, a), t(r1, a), t(u1, a);
3375
+ })(L1);
3376
+ var na;
3377
+ function Aa() {
3378
+ if (na)
3379
3379
  return At;
3380
- aa = 1, Object.defineProperty(At, "__esModule", { value: !0 }), At.LexoRank = void 0;
3381
- const a = Ht, e = wa(), t = Pt, n = I1;
3380
+ na = 1, Object.defineProperty(At, "__esModule", { value: !0 }), At.LexoRank = void 0;
3381
+ const a = Ht, e = Ma(), t = Pt, n = L1;
3382
3382
  class s {
3383
3383
  constructor(i, l) {
3384
3384
  this.value = i.format() + "|" + s.formatDecimal(l), this.bucket = i, this.decimal = l;
@@ -3564,8 +3564,8 @@ function Ma() {
3564
3564
  for (var o in n)
3565
3565
  o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
3566
3566
  };
3567
- Object.defineProperty(a, "__esModule", { value: !0 }), t(Ma(), a), t(wa(), a), t(Ht, a), t(_t, a);
3568
- })(ba);
3567
+ Object.defineProperty(a, "__esModule", { value: !0 }), t(Aa(), a), t(Ma(), a), t(Ht, a), t(_t, a);
3568
+ })($a);
3569
3569
  (function(a) {
3570
3570
  var e = Se && Se.__createBinding || (Object.create ? function(n, s, o, i) {
3571
3571
  i === void 0 && (i = o);
@@ -3579,9 +3579,9 @@ function Ma() {
3579
3579
  for (var o in n)
3580
3580
  o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
3581
3581
  };
3582
- Object.defineProperty(a, "__esModule", { value: !0 }), t(ba, a), t(I1, a);
3582
+ Object.defineProperty(a, "__esModule", { value: !0 }), t($a, a), t(L1, a);
3583
3583
  })(Te);
3584
- function ka(a) {
3584
+ function Ta(a) {
3585
3585
  return (a == null ? void 0 : a.reduce((e, t) => {
3586
3586
  var n;
3587
3587
  return e + (((n = t.activities) == null ? void 0 : n.length) ?? 0);
@@ -3596,7 +3596,7 @@ function u0(a) {
3596
3596
  function d0(a) {
3597
3597
  return (a == null ? void 0 : a.reduce((e, t) => {
3598
3598
  var s;
3599
- const n = (s = t.milestones) != null && s.length ? ka(t.milestones) : 0;
3599
+ const n = (s = t.milestones) != null && s.length ? Ta(t.milestones) : 0;
3600
3600
  return e + n;
3601
3601
  }, 0)) ?? 0;
3602
3602
  }
@@ -3621,34 +3621,34 @@ function Ot(a, e, t) {
3621
3621
  }
3622
3622
  return !s && o ? Te.LexoRank.parse(o.rank).genPrev().format() : s && !o ? Te.LexoRank.parse(s.rank).genNext().format() : s && o ? Te.LexoRank.parse(o.rank).between(Te.LexoRank.parse(s.rank)).format() : Te.LexoRank.parse(n.rank).genNext().format();
3623
3623
  }
3624
- function A1(a, e = "dd/MM/yyyy") {
3624
+ function S1(a, e = "dd/MM/yyyy") {
3625
3625
  if (!a)
3626
3626
  return "";
3627
3627
  const t = Uc(a);
3628
- return ma(t) ? Nc(t, e) : "";
3628
+ return _a(t) ? Nc(t, e) : "";
3629
3629
  }
3630
- function Aa(a, e) {
3630
+ function Sa(a, e) {
3631
3631
  return a.status.id === e.id;
3632
3632
  }
3633
3633
  function f0(a, e) {
3634
- return a.activities.length === 0 ? !1 : !a.activities.some((t) => !Aa(t, e));
3634
+ return a.activities.length === 0 ? !1 : !a.activities.some((t) => !Sa(t, e));
3635
3635
  }
3636
3636
  function v0(a, e) {
3637
3637
  return {
3638
3638
  ...a,
3639
- status: f0(a, e) ? k1.done : k1.todo
3639
+ status: f0(a, e) ? T1.done : T1.todo
3640
3640
  };
3641
3641
  }
3642
3642
  const p0 = ["title"], h0 = {
3643
3643
  key: 0,
3644
3644
  className: "ao-avatar__initials"
3645
- }, m0 = ["src"], gt = /* @__PURE__ */ K({
3645
+ }, m0 = ["src"], gt = /* @__PURE__ */ Y({
3646
3646
  __name: "AoAvatar",
3647
3647
  props: {
3648
3648
  userName: {},
3649
3649
  avatarUrl: {},
3650
3650
  isClosable: { type: Boolean },
3651
- size: { default: a1.MD }
3651
+ size: { default: n1.MD }
3652
3652
  },
3653
3653
  emits: ["close"],
3654
3654
  setup(a, { emit: e }) {
@@ -3657,7 +3657,7 @@ const p0 = ["title"], h0 = {
3657
3657
  };
3658
3658
  return (o, i) => (c(), m("div", {
3659
3659
  role: "img",
3660
- class: x(o.avatarUrl ? ["ao-avatar-img", `ao-avatar-img--${o.size}`] : ["ao-avatar", `ao-avatar--${o.size}`]),
3660
+ class: G(o.avatarUrl ? ["ao-avatar-img", `ao-avatar-img--${o.size}`] : ["ao-avatar", `ao-avatar--${o.size}`]),
3661
3661
  title: o.userName
3662
3662
  }, [
3663
3663
  o.avatarUrl ? k("", !0) : (c(), m("span", h0, Z(q(n)), 1)),
@@ -3666,7 +3666,7 @@ const p0 = ["title"], h0 = {
3666
3666
  className: "ao-avatar__image",
3667
3667
  src: o.avatarUrl
3668
3668
  }, null, 8, m0)) : k("", !0),
3669
- o.isClosable ? (c(), R(fe, {
3669
+ o.isClosable ? (c(), N(fe, {
3670
3670
  key: 2,
3671
3671
  "icon-name": "CloseRounded",
3672
3672
  class: "ao-avatar__close",
@@ -3686,7 +3686,7 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
3686
3686
  }, E0 = { class: "ao-card-template__col-title" }, I0 = { class: "ao-card-template__col-label" }, O0 = { class: "ao-card-template__col-body" }, L0 = {
3687
3687
  key: 1,
3688
3688
  class: "ao-card-template__col ao-card-template__col--updated-by"
3689
- }, V0 = { class: "ao-card-template__col-title" }, D0 = { class: "ao-card-template__col-label" }, H0 = { class: "ao-card-template__col-body" }, P0 = /* @__PURE__ */ K({
3689
+ }, V0 = { class: "ao-card-template__col-title" }, D0 = { class: "ao-card-template__col-label" }, H0 = { class: "ao-card-template__col-body" }, P0 = /* @__PURE__ */ Y({
3690
3690
  __name: "AoCardTemplate",
3691
3691
  props: {
3692
3692
  id: {},
@@ -3702,7 +3702,7 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
3702
3702
  const t = (n) => {
3703
3703
  e("updateTitle", n);
3704
3704
  };
3705
- return (n, s) => (c(), R(va, {
3705
+ return (n, s) => (c(), N(ha, {
3706
3706
  id: n.id,
3707
3707
  title: n.title,
3708
3708
  "is-draggable": !0,
@@ -3711,14 +3711,14 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
3711
3711
  subtitle: U(() => [
3712
3712
  f("ul", C0, [
3713
3713
  f("li", _0, [
3714
- T(ce, {
3714
+ S(ce, {
3715
3715
  name: "MountainFlagOutlineRounded",
3716
3716
  size: "sm"
3717
3717
  }),
3718
3718
  f("span", g0, Z(n.milestones), 1)
3719
3719
  ]),
3720
3720
  f("li", y0, [
3721
- T(ce, {
3721
+ S(ce, {
3722
3722
  name: "TaskOutlineRounded",
3723
3723
  size: "sm"
3724
3724
  }),
@@ -3730,14 +3730,14 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
3730
3730
  f("div", w0, [
3731
3731
  f("div", $0, [
3732
3732
  f("div", M0, [
3733
- T(ce, {
3733
+ S(ce, {
3734
3734
  name: "WaterfallChartRounded",
3735
3735
  size: "sm"
3736
3736
  }),
3737
3737
  f("span", k0, Z(n.$t("template.phases.title")), 1)
3738
3738
  ]),
3739
3739
  n.phases ? (c(), m("ul", A0, [
3740
- (c(!0), m(ve, null, ye(n.phases, (o) => (c(), R(E1, {
3740
+ (c(!0), m(ve, null, ye(n.phases, (o) => (c(), N(O1, {
3741
3741
  key: o.id,
3742
3742
  label: o.name || o.id,
3743
3743
  color: "primary",
@@ -3766,7 +3766,7 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
3766
3766
  f("span", D0, Z(n.$t("template.updatedBy.label")), 1)
3767
3767
  ]),
3768
3768
  f("div", H0, [
3769
- T(gt, { "user-name": n.updatedBy }, null, 8, ["user-name"])
3769
+ S(gt, { "user-name": n.updatedBy }, null, 8, ["user-name"])
3770
3770
  ])
3771
3771
  ])) : k("", !0)
3772
3772
  ])
@@ -3779,7 +3779,7 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
3779
3779
  const B0 = { class: "ao-page-header" }, N0 = { class: "ao-page-header-main" }, R0 = {
3780
3780
  key: 0,
3781
3781
  class: "ao-page-header-secondary"
3782
- }, r1 = /* @__PURE__ */ K({
3782
+ }, d1 = /* @__PURE__ */ Y({
3783
3783
  __name: "AoPageHeader",
3784
3784
  props: {
3785
3785
  canGoBack: { type: Boolean }
@@ -3788,16 +3788,16 @@ const B0 = { class: "ao-page-header" }, N0 = { class: "ao-page-header-main" }, R
3788
3788
  setup(a) {
3789
3789
  return (e, t) => (c(), m("header", B0, [
3790
3790
  f("div", N0, [
3791
- e.canGoBack ? (c(), R(fe, {
3791
+ e.canGoBack ? (c(), N(fe, {
3792
3792
  key: 0,
3793
3793
  "icon-name": "ArrowBackRounded",
3794
3794
  variant: "ghost",
3795
3795
  onClick: t[0] || (t[0] = (n) => e.$emit("goBack"))
3796
3796
  })) : k("", !0),
3797
- X(e.$slots, "primary")
3797
+ x(e.$slots, "primary")
3798
3798
  ]),
3799
3799
  e.$slots.secondary ? (c(), m("div", R0, [
3800
- X(e.$slots, "secondary")
3800
+ x(e.$slots, "secondary")
3801
3801
  ])) : k("", !0)
3802
3802
  ]));
3803
3803
  }
@@ -3805,7 +3805,7 @@ const B0 = { class: "ao-page-header" }, N0 = { class: "ao-page-header-main" }, R
3805
3805
  const U0 = ["type"], j0 = {
3806
3806
  key: 0,
3807
3807
  class: "ao-button-card__label"
3808
- }, Je = /* @__PURE__ */ K({
3808
+ }, Je = /* @__PURE__ */ Y({
3809
3809
  __name: "AoButtonCard",
3810
3810
  props: {
3811
3811
  label: { default: () => "" },
@@ -3813,25 +3813,25 @@ const U0 = ["type"], j0 = {
3813
3813
  iconPosition: {},
3814
3814
  type: { default: () => "button" },
3815
3815
  color: { default: () => ud.BLACK },
3816
- size: { default: () => a1.MD },
3816
+ size: { default: () => n1.MD },
3817
3817
  isLoading: { type: Boolean, default: () => !1 },
3818
- corners: { default: () => ca.ROUNDED }
3818
+ corners: { default: () => va.ROUNDED }
3819
3819
  },
3820
3820
  setup(a) {
3821
3821
  const e = a, t = b(() => e.size), n = b(() => e.isLoading ? "Loading" : e.iconName);
3822
3822
  return (s, o) => (c(), m("button", {
3823
3823
  type: s.type,
3824
- class: x([
3824
+ class: G([
3825
3825
  "ao-button-card",
3826
3826
  `ao-button-card--${s.color}`,
3827
3827
  `ao-button-card--${s.corners}`,
3828
3828
  s.$attrs.disabled ? "ao-button-card--is-disabled" : ""
3829
3829
  ])
3830
3830
  }, [
3831
- X(s.$slots, "default", {}, () => [
3831
+ x(s.$slots, "default", {}, () => [
3832
3832
  s.label ? (c(), m("span", j0, Z(s.label), 1)) : k("", !0)
3833
3833
  ]),
3834
- n.value ? (c(), R(ce, {
3834
+ n.value ? (c(), N(ce, {
3835
3835
  key: 0,
3836
3836
  name: n.value,
3837
3837
  class: "ao-button-card__icon",
@@ -3843,7 +3843,7 @@ const U0 = ["type"], j0 = {
3843
3843
  const Z0 = { class: "ao-card-template-item__footer" }, F0 = {
3844
3844
  key: 0,
3845
3845
  class: "ao-card-template-item__subitem"
3846
- }, q0 = { class: "ao-card-template-item__subitem-number" }, z0 = { class: "ao-card-template-item__secondary" }, O1 = /* @__PURE__ */ K({
3846
+ }, q0 = { class: "ao-card-template-item__subitem-number" }, z0 = { class: "ao-card-template-item__secondary" }, V1 = /* @__PURE__ */ Y({
3847
3847
  __name: "AoCardTemplateItem",
3848
3848
  props: {
3849
3849
  milestones: {},
@@ -3863,12 +3863,12 @@ const Z0 = { class: "ao-card-template-item__footer" }, F0 = {
3863
3863
  }, o = () => {
3864
3864
  e("remove");
3865
3865
  };
3866
- return (i, l) => (c(), R(va, { "onUpdate:title": t }, {
3866
+ return (i, l) => (c(), N(ha, { "onUpdate:title": t }, {
3867
3867
  footer: U(() => [
3868
3868
  f("ul", Z0, [
3869
3869
  (c(), m(ve, null, ye(n, (r) => (c(), m(ve, { key: r }, [
3870
3870
  i.$props[r] ? (c(), m("li", F0, [
3871
- T(ce, {
3871
+ S(ce, {
3872
3872
  name: s[r],
3873
3873
  size: "sm"
3874
3874
  }, null, 8, ["name"]),
@@ -3879,7 +3879,7 @@ const Z0 = { class: "ao-card-template-item__footer" }, F0 = {
3879
3879
  ]),
3880
3880
  secondary: U(() => [
3881
3881
  f("div", z0, [
3882
- T(fe, {
3882
+ S(fe, {
3883
3883
  "icon-name": "DeleteOutlineRounded",
3884
3884
  variant: "ghost",
3885
3885
  size: "md",
@@ -3892,7 +3892,7 @@ const Z0 = { class: "ao-card-template-item__footer" }, F0 = {
3892
3892
  }));
3893
3893
  }
3894
3894
  });
3895
- const W0 = /* @__PURE__ */ K({
3895
+ const W0 = /* @__PURE__ */ Y({
3896
3896
  __name: "AoCardTemplateItemPhase",
3897
3897
  props: {
3898
3898
  id: {},
@@ -3903,20 +3903,20 @@ const W0 = /* @__PURE__ */ K({
3903
3903
  const e = a, t = b(() => {
3904
3904
  var s;
3905
3905
  return (s = e.milestones) == null ? void 0 : s.length;
3906
- }), n = b(() => e.milestones ? ka(e.milestones) : 0);
3907
- return (s, o) => (c(), R(O1, Ee({
3906
+ }), n = b(() => e.milestones ? Ta(e.milestones) : 0);
3907
+ return (s, o) => (c(), N(V1, Ee({
3908
3908
  id: s.id,
3909
3909
  title: s.name,
3910
3910
  activities: n.value,
3911
3911
  milestones: t.value
3912
3912
  }, s.$attrs), {
3913
3913
  default: U(() => [
3914
- X(s.$slots, "default")
3914
+ x(s.$slots, "default")
3915
3915
  ]),
3916
3916
  _: 3
3917
3917
  }, 16, ["id", "title", "activities", "milestones"]));
3918
3918
  }
3919
- }), Y0 = /* @__PURE__ */ K({
3919
+ }), Y0 = /* @__PURE__ */ Y({
3920
3920
  __name: "AoCardTemplateItemMilestone",
3921
3921
  props: {
3922
3922
  activities: {}
@@ -3926,14 +3926,14 @@ const W0 = /* @__PURE__ */ K({
3926
3926
  var n;
3927
3927
  return ((n = e.activities) == null ? void 0 : n.length) || 0;
3928
3928
  });
3929
- return (n, s) => (c(), R(O1, { activities: t.value }, {
3929
+ return (n, s) => (c(), N(V1, { activities: t.value }, {
3930
3930
  default: U(() => [
3931
- X(n.$slots, "default")
3931
+ x(n.$slots, "default")
3932
3932
  ]),
3933
3933
  _: 3
3934
3934
  }, 8, ["activities"]));
3935
3935
  }
3936
- }), K0 = { class: "ao-list__footer" }, G0 = /* @__PURE__ */ K({
3936
+ }), K0 = { class: "ao-list__footer" }, G0 = /* @__PURE__ */ Y({
3937
3937
  __name: "AoTemplateDetailsMilestones",
3938
3938
  props: {
3939
3939
  templateId: {},
@@ -3957,7 +3957,7 @@ const W0 = /* @__PURE__ */ K({
3957
3957
  });
3958
3958
  }
3959
3959
  };
3960
- return (l, r) => l.phase ? (c(), R(q(Qe), {
3960
+ return (l, r) => l.phase ? (c(), N(q(Qe), {
3961
3961
  key: 0,
3962
3962
  "model-value": l.phase.milestones,
3963
3963
  class: "ao-templates__list",
@@ -3967,14 +3967,14 @@ const W0 = /* @__PURE__ */ K({
3967
3967
  onChange: i
3968
3968
  }, {
3969
3969
  header: U(() => [
3970
- T(Ce, {
3970
+ S(Ce, {
3971
3971
  title: "Milestones",
3972
3972
  level: 3,
3973
3973
  class: "ao-list__title"
3974
3974
  })
3975
3975
  ]),
3976
3976
  item: U(({ element: d }) => [
3977
- (c(), R(Y0, {
3977
+ (c(), N(Y0, {
3978
3978
  id: d.id,
3979
3979
  key: d.id,
3980
3980
  title: d.name,
@@ -3992,7 +3992,7 @@ const W0 = /* @__PURE__ */ K({
3992
3992
  ]),
3993
3993
  footer: U(() => [
3994
3994
  f("div", K0, [
3995
- T(Je, {
3995
+ S(Je, {
3996
3996
  "icon-name": "AddBoxOutlineRounded",
3997
3997
  label: l.$t("template.milestones.add"),
3998
3998
  onClick: n
@@ -4002,7 +4002,7 @@ const W0 = /* @__PURE__ */ K({
4002
4002
  _: 1
4003
4003
  }, 8, ["model-value", "title"])) : k("", !0);
4004
4004
  }
4005
- }), x0 = /* @__PURE__ */ K({
4005
+ }), x0 = /* @__PURE__ */ Y({
4006
4006
  __name: "AoCardTemplateItemActivity",
4007
4007
  props: {
4008
4008
  name: {},
@@ -4013,14 +4013,14 @@ const W0 = /* @__PURE__ */ K({
4013
4013
  var n;
4014
4014
  return ((n = e.tasks) == null ? void 0 : n.length) || 0;
4015
4015
  });
4016
- return (n, s) => (c(), R(O1, { tasks: t.value }, {
4016
+ return (n, s) => (c(), N(V1, { tasks: t.value }, {
4017
4017
  default: U(() => [
4018
- X(n.$slots, "default")
4018
+ x(n.$slots, "default")
4019
4019
  ]),
4020
4020
  _: 3
4021
4021
  }, 8, ["tasks"]));
4022
4022
  }
4023
- }), X0 = { class: "ao-list__footer" }, Q0 = /* @__PURE__ */ K({
4023
+ }), X0 = { class: "ao-list__footer" }, Q0 = /* @__PURE__ */ Y({
4024
4024
  __name: "AoTemplateDetailsActivities",
4025
4025
  props: {
4026
4026
  templateId: {},
@@ -4047,7 +4047,7 @@ const W0 = /* @__PURE__ */ K({
4047
4047
  });
4048
4048
  }
4049
4049
  };
4050
- return (l, r) => l.milestone ? (c(), R(q(Qe), {
4050
+ return (l, r) => l.milestone ? (c(), N(q(Qe), {
4051
4051
  key: 0,
4052
4052
  "model-value": l.milestone.activities,
4053
4053
  title: l.$t("template.activities.title"),
@@ -4057,14 +4057,14 @@ const W0 = /* @__PURE__ */ K({
4057
4057
  onChange: i
4058
4058
  }, {
4059
4059
  header: U(() => [
4060
- T(Ce, {
4060
+ S(Ce, {
4061
4061
  title: "Activities",
4062
4062
  level: 3,
4063
4063
  class: "ao-list__title"
4064
4064
  })
4065
4065
  ]),
4066
4066
  item: U(({ element: d }) => [
4067
- (c(), R(x0, {
4067
+ (c(), N(x0, {
4068
4068
  id: d.id,
4069
4069
  key: d.id,
4070
4070
  title: d.name,
@@ -4078,7 +4078,7 @@ const W0 = /* @__PURE__ */ K({
4078
4078
  ]),
4079
4079
  footer: U(() => [
4080
4080
  f("div", X0, [
4081
- T(Je, {
4081
+ S(Je, {
4082
4082
  "icon-name": "AddBoxOutlineRounded",
4083
4083
  label: l.$t("template.activities.add"),
4084
4084
  onClick: n
@@ -4094,7 +4094,7 @@ const W0 = /* @__PURE__ */ K({
4094
4094
  }, s3 = { class: "ao-modal__body" }, n3 = {
4095
4095
  key: 0,
4096
4096
  class: "ao-modal__footer"
4097
- }, L1 = /* @__PURE__ */ K({
4097
+ }, D1 = /* @__PURE__ */ Y({
4098
4098
  __name: "AoModal",
4099
4099
  props: {
4100
4100
  size: { default: "md" }
@@ -4102,7 +4102,7 @@ const W0 = /* @__PURE__ */ K({
4102
4102
  emits: ["close"],
4103
4103
  setup(a) {
4104
4104
  return (e, t) => (c(), m("div", {
4105
- class: x(["ao-modal__wrapper", `ao-modal__wrapper--${e.size}`])
4105
+ class: G(["ao-modal__wrapper", `ao-modal__wrapper--${e.size}`])
4106
4106
  }, [
4107
4107
  f("div", {
4108
4108
  class: "ao-modal__backdrop",
@@ -4111,7 +4111,7 @@ const W0 = /* @__PURE__ */ K({
4111
4111
  f("div", J0, [
4112
4112
  f("div", e3, [
4113
4113
  f("div", t3, [
4114
- T(fe, {
4114
+ S(fe, {
4115
4115
  "icon-name": "CloseRounded",
4116
4116
  variant: "ghost",
4117
4117
  color: "primary",
@@ -4119,14 +4119,14 @@ const W0 = /* @__PURE__ */ K({
4119
4119
  })
4120
4120
  ]),
4121
4121
  e.$slots.header ? (c(), m("header", a3, [
4122
- X(e.$slots, "header")
4122
+ x(e.$slots, "header")
4123
4123
  ])) : k("", !0)
4124
4124
  ]),
4125
4125
  f("div", s3, [
4126
- X(e.$slots, "default")
4126
+ x(e.$slots, "default")
4127
4127
  ]),
4128
4128
  e.$slots.footer ? (c(), m("footer", n3, [
4129
- X(e.$slots, "footer")
4129
+ x(e.$slots, "footer")
4130
4130
  ])) : k("", !0)
4131
4131
  ])
4132
4132
  ], 2));
@@ -4144,38 +4144,38 @@ const Lt = Math.min, Ae = Math.max, xt = Math.round, Wt = Math.floor, Ge = (a) =
4144
4144
  start: "end",
4145
4145
  end: "start"
4146
4146
  };
4147
- function V1(a, e) {
4147
+ function H1(a, e) {
4148
4148
  return typeof a == "function" ? a(e) : a;
4149
4149
  }
4150
4150
  function mt(a) {
4151
4151
  return a.split("-")[0];
4152
4152
  }
4153
- function u1(a) {
4153
+ function c1(a) {
4154
4154
  return a.split("-")[1];
4155
4155
  }
4156
4156
  function l3(a) {
4157
4157
  return a === "x" ? "y" : "x";
4158
4158
  }
4159
- function Ta(a) {
4159
+ function Ea(a) {
4160
4160
  return a === "y" ? "height" : "width";
4161
4161
  }
4162
- function D1(a) {
4162
+ function P1(a) {
4163
4163
  return ["top", "bottom"].includes(mt(a)) ? "y" : "x";
4164
4164
  }
4165
- function Sa(a) {
4166
- return l3(D1(a));
4165
+ function Ia(a) {
4166
+ return l3(P1(a));
4167
4167
  }
4168
4168
  function r3(a, e, t) {
4169
4169
  t === void 0 && (t = !1);
4170
- const n = u1(a), s = Sa(a), o = Ta(s);
4170
+ const n = c1(a), s = Ia(a), o = Ea(s);
4171
4171
  let i = s === "x" ? n === (t ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
4172
4172
  return e.reference[o] > e.floating[o] && (i = Xt(i)), [i, Xt(i)];
4173
4173
  }
4174
4174
  function u3(a) {
4175
4175
  const e = Xt(a);
4176
- return [T1(a), e, T1(e)];
4176
+ return [E1(a), e, E1(e)];
4177
4177
  }
4178
- function T1(a) {
4178
+ function E1(a) {
4179
4179
  return a.replace(/start|end/g, (e) => o3[e]);
4180
4180
  }
4181
4181
  function d3(a, e, t) {
@@ -4192,9 +4192,9 @@ function d3(a, e, t) {
4192
4192
  }
4193
4193
  }
4194
4194
  function c3(a, e, t, n) {
4195
- const s = u1(a);
4195
+ const s = c1(a);
4196
4196
  let o = d3(mt(a), t === "start", n);
4197
- return s && (o = o.map((i) => i + "-" + s), e && (o = o.concat(o.map(T1)))), o;
4197
+ return s && (o = o.map((i) => i + "-" + s), e && (o = o.concat(o.map(E1)))), o;
4198
4198
  }
4199
4199
  function Xt(a) {
4200
4200
  return a.replace(/left|right|bottom|top/g, (e) => i3[e]);
@@ -4225,12 +4225,12 @@ function Qt(a) {
4225
4225
  bottom: a.y + a.height
4226
4226
  };
4227
4227
  }
4228
- function sa(a, e, t) {
4228
+ function ia(a, e, t) {
4229
4229
  let {
4230
4230
  reference: n,
4231
4231
  floating: s
4232
4232
  } = a;
4233
- const o = D1(e), i = Sa(e), l = Ta(i), r = mt(e), d = o === "y", u = n.x + n.width / 2 - s.width / 2, v = n.y + n.height / 2 - s.height / 2, p = n[l] / 2 - s[l] / 2;
4233
+ const o = P1(e), i = Ia(e), l = Ea(i), r = mt(e), d = o === "y", u = n.x + n.width / 2 - s.width / 2, v = n.y + n.height / 2 - s.height / 2, p = n[l] / 2 - s[l] / 2;
4234
4234
  let C;
4235
4235
  switch (r) {
4236
4236
  case "top":
@@ -4263,7 +4263,7 @@ function sa(a, e, t) {
4263
4263
  y: n.y
4264
4264
  };
4265
4265
  }
4266
- switch (u1(e)) {
4266
+ switch (c1(e)) {
4267
4267
  case "start":
4268
4268
  C[i] -= p * (t && d ? -1 : 1);
4269
4269
  break;
@@ -4287,7 +4287,7 @@ const p3 = async (a, e, t) => {
4287
4287
  }), {
4288
4288
  x: u,
4289
4289
  y: v
4290
- } = sa(d, n, r), p = n, C = {}, w = 0;
4290
+ } = ia(d, n, r), p = n, C = {}, w = 0;
4291
4291
  for (let $ = 0; $ < l.length; $++) {
4292
4292
  const {
4293
4293
  name: A,
@@ -4325,7 +4325,7 @@ const p3 = async (a, e, t) => {
4325
4325
  }) : W.rects), {
4326
4326
  x: u,
4327
4327
  y: v
4328
- } = sa(d, p, r)), $ = -1;
4328
+ } = ia(d, p, r)), $ = -1;
4329
4329
  continue;
4330
4330
  }
4331
4331
  }
@@ -4337,7 +4337,7 @@ const p3 = async (a, e, t) => {
4337
4337
  middlewareData: C
4338
4338
  };
4339
4339
  };
4340
- async function Ea(a, e) {
4340
+ async function Oa(a, e) {
4341
4341
  var t;
4342
4342
  e === void 0 && (e = {});
4343
4343
  const {
@@ -4353,7 +4353,7 @@ async function Ea(a, e) {
4353
4353
  elementContext: v = "floating",
4354
4354
  altBoundary: p = !1,
4355
4355
  padding: C = 0
4356
- } = V1(e, a), w = v3(C), A = l[p ? v === "floating" ? "reference" : "floating" : v], g = Qt(await o.getClippingRect({
4356
+ } = H1(e, a), w = v3(C), A = l[p ? v === "floating" ? "reference" : "floating" : v], g = Qt(await o.getClippingRect({
4357
4357
  element: (t = await (o.isElement == null ? void 0 : o.isElement(A))) == null || t ? A : A.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(l.floating)),
4358
4358
  boundary: d,
4359
4359
  rootBoundary: u,
@@ -4401,21 +4401,21 @@ const h3 = function(a) {
4401
4401
  fallbackAxisSideDirection: w = "none",
4402
4402
  flipAlignment: $ = !0,
4403
4403
  ...A
4404
- } = V1(a, e);
4404
+ } = H1(a, e);
4405
4405
  if ((t = o.arrow) != null && t.alignmentOffset)
4406
4406
  return {};
4407
4407
  const g = mt(s), y = mt(l) === l, L = await (r.isRTL == null ? void 0 : r.isRTL(d.floating)), j = p || (y || !$ ? [Xt(l)] : u3(l));
4408
4408
  !p && w !== "none" && j.push(...c3(l, $, w, L));
4409
- const W = [l, ...j], H = await Ea(e, A), G = [];
4409
+ const W = [l, ...j], H = await Oa(e, A), X = [];
4410
4410
  let te = ((n = o.flip) == null ? void 0 : n.overflows) || [];
4411
- if (u && G.push(H[g]), v) {
4411
+ if (u && X.push(H[g]), v) {
4412
4412
  const h = r3(s, i, L);
4413
- G.push(H[h[0]], H[h[1]]);
4413
+ X.push(H[h[0]], H[h[1]]);
4414
4414
  }
4415
4415
  if (te = [...te, {
4416
4416
  placement: s,
4417
- overflows: G
4418
- }], !G.every((h) => h <= 0)) {
4417
+ overflows: X
4418
+ }], !X.every((h) => h <= 0)) {
4419
4419
  var E, ee;
4420
4420
  const h = (((E = o.flip) == null ? void 0 : E.index) || 0) + 1, O = W[h];
4421
4421
  if (O)
@@ -4465,7 +4465,7 @@ const h3 = function(a) {
4465
4465
  apply: i = () => {
4466
4466
  },
4467
4467
  ...l
4468
- } = V1(a, e), r = await Ea(e, l), d = mt(t), u = u1(t), v = D1(t) === "y", {
4468
+ } = H1(a, e), r = await Oa(e, l), d = mt(t), u = c1(t), v = P1(t) === "y", {
4469
4469
  width: p,
4470
4470
  height: C
4471
4471
  } = n.floating;
@@ -4481,8 +4481,8 @@ const h3 = function(a) {
4481
4481
  L = u || y ? Lt(A, H) : H;
4482
4482
  }
4483
4483
  if (y && !u) {
4484
- const H = Ae(r.left, 0), G = Ae(r.right, 0), te = Ae(r.top, 0), E = Ae(r.bottom, 0);
4485
- v ? j = p - 2 * (H !== 0 || G !== 0 ? H + G : Ae(r.left, r.right)) : L = C - 2 * (te !== 0 || E !== 0 ? te + E : Ae(r.top, r.bottom));
4484
+ const H = Ae(r.left, 0), X = Ae(r.right, 0), te = Ae(r.top, 0), E = Ae(r.bottom, 0);
4485
+ v ? j = p - 2 * (H !== 0 || X !== 0 ? H + X : Ae(r.left, r.right)) : L = C - 2 * (te !== 0 || E !== 0 ? te + E : Ae(r.top, r.bottom));
4486
4486
  }
4487
4487
  await i({
4488
4488
  ...e,
@@ -4499,7 +4499,7 @@ const h3 = function(a) {
4499
4499
  };
4500
4500
  };
4501
4501
  function xe(a) {
4502
- return Ia(a) ? (a.nodeName || "").toLowerCase() : "#document";
4502
+ return La(a) ? (a.nodeName || "").toLowerCase() : "#document";
4503
4503
  }
4504
4504
  function we(a) {
4505
4505
  var e;
@@ -4507,9 +4507,9 @@ function we(a) {
4507
4507
  }
4508
4508
  function Ze(a) {
4509
4509
  var e;
4510
- return (e = (Ia(a) ? a.ownerDocument : a.document) || window.document) == null ? void 0 : e.documentElement;
4510
+ return (e = (La(a) ? a.ownerDocument : a.document) || window.document) == null ? void 0 : e.documentElement;
4511
4511
  }
4512
- function Ia(a) {
4512
+ function La(a) {
4513
4513
  return a instanceof Node || a instanceof we(a).Node;
4514
4514
  }
4515
4515
  function je(a) {
@@ -4518,7 +4518,7 @@ function je(a) {
4518
4518
  function Pe(a) {
4519
4519
  return a instanceof HTMLElement || a instanceof we(a).HTMLElement;
4520
4520
  }
4521
- function na(a) {
4521
+ function oa(a) {
4522
4522
  return typeof ShadowRoot > "u" ? !1 : a instanceof ShadowRoot || a instanceof we(a).ShadowRoot;
4523
4523
  }
4524
4524
  function Nt(a) {
@@ -4533,29 +4533,29 @@ function Nt(a) {
4533
4533
  function C3(a) {
4534
4534
  return ["table", "td", "th"].includes(xe(a));
4535
4535
  }
4536
- function H1(a) {
4537
- const e = P1(), t = Ie(a);
4536
+ function B1(a) {
4537
+ const e = N1(), t = Ie(a);
4538
4538
  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((n) => (t.willChange || "").includes(n)) || ["paint", "layout", "strict", "content"].some((n) => (t.contain || "").includes(n));
4539
4539
  }
4540
4540
  function _3(a) {
4541
4541
  let e = Ct(a);
4542
- for (; Pe(e) && !d1(e); ) {
4543
- if (H1(e))
4542
+ for (; Pe(e) && !f1(e); ) {
4543
+ if (B1(e))
4544
4544
  return e;
4545
4545
  e = Ct(e);
4546
4546
  }
4547
4547
  return null;
4548
4548
  }
4549
- function P1() {
4549
+ function N1() {
4550
4550
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
4551
4551
  }
4552
- function d1(a) {
4552
+ function f1(a) {
4553
4553
  return ["html", "body", "#document"].includes(xe(a));
4554
4554
  }
4555
4555
  function Ie(a) {
4556
4556
  return we(a).getComputedStyle(a);
4557
4557
  }
4558
- function c1(a) {
4558
+ function v1(a) {
4559
4559
  return je(a) ? {
4560
4560
  scrollLeft: a.scrollLeft,
4561
4561
  scrollTop: a.scrollTop
@@ -4571,22 +4571,22 @@ function Ct(a) {
4571
4571
  // Step into the shadow DOM of the parent of a slotted node.
4572
4572
  a.assignedSlot || // DOM Element detected.
4573
4573
  a.parentNode || // ShadowRoot detected.
4574
- na(a) && a.host || // Fallback.
4574
+ oa(a) && a.host || // Fallback.
4575
4575
  Ze(a)
4576
4576
  );
4577
- return na(e) ? e.host : e;
4577
+ return oa(e) ? e.host : e;
4578
4578
  }
4579
- function Oa(a) {
4579
+ function Va(a) {
4580
4580
  const e = Ct(a);
4581
- return d1(e) ? a.ownerDocument ? a.ownerDocument.body : a.body : Pe(e) && Nt(e) ? e : Oa(e);
4581
+ return f1(e) ? a.ownerDocument ? a.ownerDocument.body : a.body : Pe(e) && Nt(e) ? e : Va(e);
4582
4582
  }
4583
4583
  function Vt(a, e, t) {
4584
4584
  var n;
4585
4585
  e === void 0 && (e = []), t === void 0 && (t = !0);
4586
- const s = Oa(a), o = s === ((n = a.ownerDocument) == null ? void 0 : n.body), i = we(s);
4586
+ const s = Va(a), o = s === ((n = a.ownerDocument) == null ? void 0 : n.body), i = we(s);
4587
4587
  return o ? e.concat(i, i.visualViewport || [], Nt(s) ? s : [], i.frameElement && t ? Vt(i.frameElement) : []) : e.concat(s, Vt(s));
4588
4588
  }
4589
- function La(a) {
4589
+ function Da(a) {
4590
4590
  const e = Ie(a);
4591
4591
  let t = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
4592
4592
  const s = Pe(a), o = s ? a.offsetWidth : t, i = s ? a.offsetHeight : n, l = xt(t) !== o || xt(n) !== i;
@@ -4596,18 +4596,18 @@ function La(a) {
4596
4596
  $: l
4597
4597
  };
4598
4598
  }
4599
- function B1(a) {
4599
+ function R1(a) {
4600
4600
  return je(a) ? a : a.contextElement;
4601
4601
  }
4602
4602
  function pt(a) {
4603
- const e = B1(a);
4603
+ const e = R1(a);
4604
4604
  if (!Pe(e))
4605
4605
  return Ge(1);
4606
4606
  const t = e.getBoundingClientRect(), {
4607
4607
  width: n,
4608
4608
  height: s,
4609
4609
  $: o
4610
- } = La(e);
4610
+ } = Da(e);
4611
4611
  let i = (o ? xt(t.width) : t.width) / n, l = (o ? xt(t.height) : t.height) / s;
4612
4612
  return (!i || !Number.isFinite(i)) && (i = 1), (!l || !Number.isFinite(l)) && (l = 1), {
4613
4613
  x: i,
@@ -4615,9 +4615,9 @@ function pt(a) {
4615
4615
  };
4616
4616
  }
4617
4617
  const g3 = /* @__PURE__ */ Ge(0);
4618
- function Va(a) {
4618
+ function Ha(a) {
4619
4619
  const e = we(a);
4620
- return !P1() || !e.visualViewport ? g3 : {
4620
+ return !N1() || !e.visualViewport ? g3 : {
4621
4621
  x: e.visualViewport.offsetLeft,
4622
4622
  y: e.visualViewport.offsetTop
4623
4623
  };
@@ -4627,10 +4627,10 @@ function y3(a, e, t) {
4627
4627
  }
4628
4628
  function at(a, e, t, n) {
4629
4629
  e === void 0 && (e = !1), t === void 0 && (t = !1);
4630
- const s = a.getBoundingClientRect(), o = B1(a);
4630
+ const s = a.getBoundingClientRect(), o = R1(a);
4631
4631
  let i = Ge(1);
4632
4632
  e && (n ? je(n) && (i = pt(n)) : i = pt(a));
4633
- const l = y3(o, t, n) ? Va(o) : Ge(0);
4633
+ const l = y3(o, t, n) ? Ha(o) : Ge(0);
4634
4634
  let r = (s.left + l.x) / i.x, d = (s.top + l.y) / i.y, u = s.width / i.x, v = s.height / i.y;
4635
4635
  if (o) {
4636
4636
  const p = we(o), C = n && je(n) ? we(n) : n;
@@ -4661,7 +4661,7 @@ function b3(a) {
4661
4661
  scrollTop: 0
4662
4662
  }, l = Ge(1);
4663
4663
  const r = Ge(0);
4664
- if ((s || !s && n !== "fixed") && ((xe(t) !== "body" || Nt(o)) && (i = c1(t)), Pe(t))) {
4664
+ if ((s || !s && n !== "fixed") && ((xe(t) !== "body" || Nt(o)) && (i = v1(t)), Pe(t))) {
4665
4665
  const d = at(t);
4666
4666
  l = pt(t), r.x = d.x + t.clientLeft, r.y = d.y + t.clientTop;
4667
4667
  }
@@ -4675,12 +4675,12 @@ function b3(a) {
4675
4675
  function w3(a) {
4676
4676
  return Array.from(a.getClientRects());
4677
4677
  }
4678
- function Da(a) {
4679
- return at(Ze(a)).left + c1(a).scrollLeft;
4678
+ function Pa(a) {
4679
+ return at(Ze(a)).left + v1(a).scrollLeft;
4680
4680
  }
4681
4681
  function $3(a) {
4682
- const e = Ze(a), t = c1(a), n = a.ownerDocument.body, s = Ae(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), o = Ae(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight);
4683
- let i = -t.scrollLeft + Da(a);
4682
+ const e = Ze(a), t = v1(a), n = a.ownerDocument.body, s = Ae(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), o = Ae(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight);
4683
+ let i = -t.scrollLeft + Pa(a);
4684
4684
  const l = -t.scrollTop;
4685
4685
  return Ie(n).direction === "rtl" && (i += Ae(e.clientWidth, n.clientWidth) - s), {
4686
4686
  width: s,
@@ -4694,7 +4694,7 @@ function M3(a, e) {
4694
4694
  let o = n.clientWidth, i = n.clientHeight, l = 0, r = 0;
4695
4695
  if (s) {
4696
4696
  o = s.width, i = s.height;
4697
- const d = P1();
4697
+ const d = N1();
4698
4698
  (!d || d && e === "fixed") && (l = s.offsetLeft, r = s.offsetTop);
4699
4699
  }
4700
4700
  return {
@@ -4713,7 +4713,7 @@ function k3(a, e) {
4713
4713
  y: d
4714
4714
  };
4715
4715
  }
4716
- function ia(a, e, t) {
4716
+ function la(a, e, t) {
4717
4717
  let n;
4718
4718
  if (e === "viewport")
4719
4719
  n = M3(a, t);
@@ -4722,7 +4722,7 @@ function ia(a, e, t) {
4722
4722
  else if (je(e))
4723
4723
  n = k3(e, t);
4724
4724
  else {
4725
- const s = Va(a);
4725
+ const s = Ha(a);
4726
4726
  n = {
4727
4727
  ...e,
4728
4728
  x: e.x - s.x,
@@ -4731,9 +4731,9 @@ function ia(a, e, t) {
4731
4731
  }
4732
4732
  return Qt(n);
4733
4733
  }
4734
- function Ha(a, e) {
4734
+ function Ba(a, e) {
4735
4735
  const t = Ct(a);
4736
- return t === e || !je(t) || d1(t) ? !1 : Ie(t).position === "fixed" || Ha(t, e);
4736
+ return t === e || !je(t) || f1(t) ? !1 : Ie(t).position === "fixed" || Ba(t, e);
4737
4737
  }
4738
4738
  function A3(a, e) {
4739
4739
  const t = e.get(a);
@@ -4742,9 +4742,9 @@ function A3(a, e) {
4742
4742
  let n = Vt(a, [], !1).filter((l) => je(l) && xe(l) !== "body"), s = null;
4743
4743
  const o = Ie(a).position === "fixed";
4744
4744
  let i = o ? Ct(a) : a;
4745
- for (; je(i) && !d1(i); ) {
4746
- const l = Ie(i), r = H1(i);
4747
- !r && l.position === "fixed" && (s = null), (o ? !r && !s : !r && l.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) || Nt(i) && !r && Ha(a, i)) ? n = n.filter((u) => u !== i) : s = l, i = Ct(i);
4745
+ for (; je(i) && !f1(i); ) {
4746
+ const l = Ie(i), r = B1(i);
4747
+ !r && l.position === "fixed" && (s = null), (o ? !r && !s : !r && l.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) || Nt(i) && !r && Ba(a, i)) ? n = n.filter((u) => u !== i) : s = l, i = Ct(i);
4748
4748
  }
4749
4749
  return e.set(a, n), n;
4750
4750
  }
@@ -4756,9 +4756,9 @@ function T3(a) {
4756
4756
  strategy: s
4757
4757
  } = a;
4758
4758
  const i = [...t === "clippingAncestors" ? A3(e, this._c) : [].concat(t), n], l = i[0], r = i.reduce((d, u) => {
4759
- const v = ia(e, u, s);
4759
+ const v = la(e, u, s);
4760
4760
  return d.top = Ae(v.top, d.top), d.right = Lt(v.right, d.right), d.bottom = Lt(v.bottom, d.bottom), d.left = Ae(v.left, d.left), d;
4761
- }, ia(e, l, s));
4761
+ }, la(e, l, s));
4762
4762
  return {
4763
4763
  width: r.right - r.left,
4764
4764
  height: r.bottom - r.top,
@@ -4767,7 +4767,7 @@ function T3(a) {
4767
4767
  };
4768
4768
  }
4769
4769
  function S3(a) {
4770
- return La(a);
4770
+ return Da(a);
4771
4771
  }
4772
4772
  function E3(a, e, t) {
4773
4773
  const n = Pe(e), s = Ze(e), o = t === "fixed", i = at(a, !0, o, e);
@@ -4777,11 +4777,11 @@ function E3(a, e, t) {
4777
4777
  };
4778
4778
  const r = Ge(0);
4779
4779
  if (n || !n && !o)
4780
- if ((xe(e) !== "body" || Nt(s)) && (l = c1(e)), n) {
4780
+ if ((xe(e) !== "body" || Nt(s)) && (l = v1(e)), n) {
4781
4781
  const d = at(e, !0, o, e);
4782
4782
  r.x = d.x + e.clientLeft, r.y = d.y + e.clientTop;
4783
4783
  } else
4784
- s && (r.x = Da(s));
4784
+ s && (r.x = Pa(s));
4785
4785
  return {
4786
4786
  x: i.left + l.scrollLeft - r.x,
4787
4787
  y: i.top + l.scrollTop - r.y,
@@ -4789,17 +4789,17 @@ function E3(a, e, t) {
4789
4789
  height: i.height
4790
4790
  };
4791
4791
  }
4792
- function oa(a, e) {
4792
+ function ra(a, e) {
4793
4793
  return !Pe(a) || Ie(a).position === "fixed" ? null : e ? e(a) : a.offsetParent;
4794
4794
  }
4795
- function Pa(a, e) {
4795
+ function Na(a, e) {
4796
4796
  const t = we(a);
4797
4797
  if (!Pe(a))
4798
4798
  return t;
4799
- let n = oa(a, e);
4799
+ let n = ra(a, e);
4800
4800
  for (; n && C3(n) && Ie(n).position === "static"; )
4801
- n = oa(n, e);
4802
- return n && (xe(n) === "html" || xe(n) === "body" && Ie(n).position === "static" && !H1(n)) ? t : n || _3(a) || t;
4801
+ n = ra(n, e);
4802
+ return n && (xe(n) === "html" || xe(n) === "body" && Ie(n).position === "static" && !B1(n)) ? t : n || _3(a) || t;
4803
4803
  }
4804
4804
  const I3 = async function(a) {
4805
4805
  let {
@@ -4807,7 +4807,7 @@ const I3 = async function(a) {
4807
4807
  floating: t,
4808
4808
  strategy: n
4809
4809
  } = a;
4810
- const s = this.getOffsetParent || Pa, o = this.getDimensions;
4810
+ const s = this.getOffsetParent || Na, o = this.getDimensions;
4811
4811
  return {
4812
4812
  reference: E3(e, await s(t), n),
4813
4813
  floating: {
@@ -4824,7 +4824,7 @@ const L3 = {
4824
4824
  convertOffsetParentRelativeRectToViewportRelativeRect: b3,
4825
4825
  getDocumentElement: Ze,
4826
4826
  getClippingRect: T3,
4827
- getOffsetParent: Pa,
4827
+ getOffsetParent: Na,
4828
4828
  getElementRects: I3,
4829
4829
  getClientRects: w3,
4830
4830
  getDimensions: S3,
@@ -4885,7 +4885,7 @@ function D3(a, e, t, n) {
4885
4885
  elementResize: i = typeof ResizeObserver == "function",
4886
4886
  layoutShift: l = typeof IntersectionObserver == "function",
4887
4887
  animationFrame: r = !1
4888
- } = n, d = B1(a), u = s || o ? [...d ? Vt(d) : [], ...Vt(e)] : [];
4888
+ } = n, d = R1(a), u = s || o ? [...d ? Vt(d) : [], ...Vt(e)] : [];
4889
4889
  u.forEach((g) => {
4890
4890
  s && g.addEventListener("scroll", t, {
4891
4891
  passive: !0
@@ -4983,9 +4983,9 @@ const H3 = (a, e, t) => {
4983
4983
  }
4984
4984
  Dt(() => {
4985
4985
  d();
4986
- }), cs(() => {
4986
+ }), vs(() => {
4987
4987
  l.value();
4988
- }), da(() => {
4988
+ }), fa(() => {
4989
4989
  l.value();
4990
4990
  });
4991
4991
  };
@@ -5054,7 +5054,7 @@ function U3(a, e, t) {
5054
5054
  }
5055
5055
  };
5056
5056
  }
5057
- function $1(a, e = !0) {
5057
+ function k1(a, e = !0) {
5058
5058
  return e ? String(a).toLowerCase().trim() : String(a).toLowerCase().normalize("NFD").trim().replace(new RegExp(/æ/g), "ae").replace(new RegExp(/œ/g), "oe").replace(new RegExp(/ø/g), "o").replace(/\p{Diacritic}/gu, "");
5059
5059
  }
5060
5060
  function j3(a) {
@@ -5088,7 +5088,7 @@ function F3(a, e, t) {
5088
5088
  clearOnSearch: j,
5089
5089
  clearOnSelect: W,
5090
5090
  valueProp: H,
5091
- allowAbsent: G,
5091
+ allowAbsent: X,
5092
5092
  groupLabel: te,
5093
5093
  canDeselect: E,
5094
5094
  max: ee,
@@ -5104,27 +5104,27 @@ function F3(a, e, t) {
5104
5104
  onCreate: F,
5105
5105
  disabledProp: ne,
5106
5106
  searchStart: M,
5107
- searchFilter: Y
5108
- } = $e(a), ie = st().proxy, B = t.iv, S = t.ev, N = t.search, pe = t.clearSearch, Me = t.update, Ra = t.pointer, it = t.clearPointer, Ua = t.focus, ja = t.deactivate, ot = t.close, Za = t.localize, yt = J([]), Fe = J([]), Le = J(!1), f1 = J(null), v1 = J(re.value && i.value === -1 ? 10 : i.value), j1 = b(() => r.value || d.value || !1), Fa = b(() => v.value !== void 0 ? v.value : p.value !== void 0 ? p.value : !0), qe = b(() => {
5107
+ searchFilter: K
5108
+ } = $e(a), ie = st().proxy, B = t.iv, T = t.ev, R = t.search, pe = t.clearSearch, Me = t.update, ja = t.pointer, it = t.clearPointer, Za = t.focus, Fa = t.deactivate, ot = t.close, qa = t.localize, yt = J([]), Fe = J([]), Le = J(!1), p1 = J(null), h1 = J(re.value && i.value === -1 ? 10 : i.value), F1 = b(() => r.value || d.value || !1), za = b(() => v.value !== void 0 ? v.value : p.value !== void 0 ? p.value : !0), qe = b(() => {
5109
5109
  if (z.value) {
5110
5110
  let _ = Rt.value || /* istanbul ignore next */
5111
5111
  [], D = [];
5112
5112
  return _.forEach((se) => {
5113
- g1(se[oe.value]).forEach((he) => {
5113
+ b1(se[oe.value]).forEach((he) => {
5114
5114
  D.push(Object.assign({}, he, se[ne.value] ? { [ne.value]: !0 } : {}));
5115
5115
  });
5116
5116
  }), D;
5117
5117
  } else {
5118
- let _ = g1(Fe.value || /* istanbul ignore next */
5118
+ let _ = b1(Fe.value || /* istanbul ignore next */
5119
5119
  []);
5120
5120
  return yt.value.length && (_ = _.concat(yt.value)), _;
5121
5121
  }
5122
- }), Z1 = b(() => {
5122
+ }), q1 = b(() => {
5123
5123
  let _ = qe.value;
5124
- return ae.value && (_ = _.reverse()), lt.value.length && (_ = lt.value.concat(_)), _1(_);
5124
+ return ae.value && (_ = _.reverse()), lt.value.length && (_ = lt.value.concat(_)), y1(_);
5125
5125
  }), bt = b(() => {
5126
- let _ = Z1.value;
5127
- return v1.value > 0 && (_ = _.slice(0, v1.value)), _;
5126
+ let _ = q1.value;
5127
+ return h1.value > 0 && (_ = _.slice(0, h1.value)), _;
5128
5128
  }), Rt = b(() => {
5129
5129
  if (!z.value)
5130
5130
  return [];
@@ -5135,29 +5135,29 @@ function F3(a, e, t) {
5135
5135
  [oe.value]: [...yt.value],
5136
5136
  __CREATE__: !0
5137
5137
  }), _.concat(D);
5138
- }), qa = b(() => {
5138
+ }), Wa = b(() => {
5139
5139
  let _ = [...Rt.value].map((D) => ({ ...D }));
5140
5140
  return lt.value.length && (_[0] && _[0].__CREATE__ ? _[0][oe.value] = [...lt.value, ..._[0][oe.value]] : _ = [{
5141
5141
  [te.value]: " ",
5142
5142
  [oe.value]: [...lt.value],
5143
5143
  __CREATE__: !0
5144
5144
  }].concat(_)), _;
5145
- }), F1 = b(() => {
5145
+ }), z1 = b(() => {
5146
5146
  if (!z.value)
5147
5147
  return [];
5148
- let _ = qa.value;
5149
- return is((_ || /* istanbul ignore next */
5148
+ let _ = Wa.value;
5149
+ return ls((_ || /* istanbul ignore next */
5150
5150
  []).map((D, se) => {
5151
- const he = g1(D[oe.value]);
5151
+ const he = b1(D[oe.value]);
5152
5152
  return {
5153
5153
  ...D,
5154
5154
  index: se,
5155
5155
  group: !0,
5156
- [oe.value]: _1(he, !1).map((wt) => Object.assign({}, wt, D[ne.value] ? { [ne.value]: !0 } : {})),
5157
- __VISIBLE__: _1(he).map((wt) => Object.assign({}, wt, D[ne.value] ? { [ne.value]: !0 } : {}))
5156
+ [oe.value]: y1(he, !1).map((wt) => Object.assign({}, wt, D[ne.value] ? { [ne.value]: !0 } : {})),
5157
+ __VISIBLE__: y1(he).map((wt) => Object.assign({}, wt, D[ne.value] ? { [ne.value]: !0 } : {}))
5158
5158
  };
5159
5159
  }));
5160
- }), p1 = b(() => {
5160
+ }), m1 = b(() => {
5161
5161
  switch (s.value) {
5162
5162
  case "single":
5163
5163
  return !De(B.value[H.value]);
@@ -5165,12 +5165,12 @@ function F3(a, e, t) {
5165
5165
  case "tags":
5166
5166
  return !De(B.value) && B.value.length > 0;
5167
5167
  }
5168
- }), za = b(() => C !== void 0 && C.value !== void 0 ? C.value(B.value, ie) : B.value && B.value.length > 1 ? `${B.value.length} options selected` : "1 option selected"), Wa = b(() => !qe.value.length && !Le.value && !lt.value.length), Ya = b(() => qe.value.length > 0 && bt.value.length == 0 && (N.value && z.value || !z.value)), lt = b(() => j1.value === !1 || !N.value ? [] : as(N.value) !== -1 ? [] : [{
5169
- [H.value]: N.value,
5170
- [Ve.value]: N.value,
5171
- [u.value]: N.value,
5168
+ }), Ya = b(() => C !== void 0 && C.value !== void 0 ? C.value(B.value, ie) : B.value && B.value.length > 1 ? `${B.value.length} options selected` : "1 option selected"), Ka = b(() => !qe.value.length && !Le.value && !lt.value.length), Ga = b(() => qe.value.length > 0 && bt.value.length == 0 && (R.value && z.value || !z.value)), lt = b(() => F1.value === !1 || !R.value ? [] : ns(R.value) !== -1 ? [] : [{
5169
+ [H.value]: R.value,
5170
+ [Ve.value]: R.value,
5171
+ [u.value]: R.value,
5172
5172
  __CREATE__: !0
5173
- }]), Ve = b(() => o.value || u.value), Ka = b(() => {
5173
+ }]), Ve = b(() => o.value || u.value), xa = b(() => {
5174
5174
  switch (s.value) {
5175
5175
  case "single":
5176
5176
  return null;
@@ -5178,7 +5178,7 @@ function F3(a, e, t) {
5178
5178
  case "tags":
5179
5179
  return [];
5180
5180
  }
5181
- }), Ga = b(() => $.value || Le.value), rt = (_) => {
5181
+ }), Xa = b(() => $.value || Le.value), rt = (_) => {
5182
5182
  switch (typeof _ != "object" && (_ = Re(_)), s.value) {
5183
5183
  case "single":
5184
5184
  Me(_);
@@ -5188,31 +5188,31 @@ function F3(a, e, t) {
5188
5188
  Me(B.value.concat(_));
5189
5189
  break;
5190
5190
  }
5191
- e.emit("select", q1(_), _, ie);
5191
+ e.emit("select", W1(_), _, ie);
5192
5192
  }, ut = (_) => {
5193
5193
  switch (typeof _ != "object" && (_ = Re(_)), s.value) {
5194
5194
  case "single":
5195
- W1();
5195
+ K1();
5196
5196
  break;
5197
5197
  case "tags":
5198
5198
  case "multiple":
5199
5199
  Me(Array.isArray(_) ? B.value.filter((D) => _.map((se) => se[H.value]).indexOf(D[H.value]) === -1) : B.value.filter((D) => D[H.value] != _[H.value]));
5200
5200
  break;
5201
5201
  }
5202
- e.emit("deselect", q1(_), _, ie);
5203
- }, q1 = (_) => w.value ? _ : _[H.value], z1 = (_) => {
5202
+ e.emit("deselect", W1(_), _, ie);
5203
+ }, W1 = (_) => w.value ? _ : _[H.value], Y1 = (_) => {
5204
5204
  ut(_);
5205
- }, xa = (_, D) => {
5205
+ }, Qa = (_, D) => {
5206
5206
  if (D.button !== 0) {
5207
5207
  D.preventDefault();
5208
5208
  return;
5209
5209
  }
5210
- z1(_);
5211
- }, W1 = () => {
5212
- e.emit("clear", ie), Me(Ka.value);
5210
+ Y1(_);
5211
+ }, K1 = () => {
5212
+ e.emit("clear", ie), Me(xa.value);
5213
5213
  }, Ne = (_) => {
5214
5214
  if (_.group !== void 0)
5215
- return s.value === "single" ? !1 : ts(_[oe.value]) && _[oe.value].length;
5215
+ return s.value === "single" ? !1 : ss(_[oe.value]) && _[oe.value].length;
5216
5216
  switch (s.value) {
5217
5217
  case "single":
5218
5218
  return !De(B.value) && B.value[H.value] == _[H.value];
@@ -5220,128 +5220,128 @@ function F3(a, e, t) {
5220
5220
  case "multiple":
5221
5221
  return !De(B.value) && B.value.map((D) => D[H.value]).indexOf(_[H.value]) !== -1;
5222
5222
  }
5223
- }, h1 = (_) => _[ne.value] === !0, m1 = () => ee === void 0 || ee.value === -1 || !p1.value && ee.value > 0 ? !1 : B.value.length >= ee.value, Xa = (_) => {
5224
- if (!h1(_)) {
5223
+ }, C1 = (_) => _[ne.value] === !0, _1 = () => ee === void 0 || ee.value === -1 || !m1.value && ee.value > 0 ? !1 : B.value.length >= ee.value, Ja = (_) => {
5224
+ if (!C1(_)) {
5225
5225
  if (F && F.value && !Ne(_) && _.__CREATE__ && (_ = { ..._ }, delete _.__CREATE__, _ = F.value(_, ie), _ instanceof Promise)) {
5226
5226
  Le.value = !0, _.then((D) => {
5227
- Le.value = !1, Y1(D);
5227
+ Le.value = !1, G1(D);
5228
5228
  });
5229
5229
  return;
5230
5230
  }
5231
- Y1(_);
5231
+ G1(_);
5232
5232
  }
5233
- }, Y1 = (_) => {
5233
+ }, G1 = (_) => {
5234
5234
  switch (_.__CREATE__ && (_ = { ..._ }, delete _.__CREATE__), s.value) {
5235
5235
  case "single":
5236
5236
  if (_ && Ne(_)) {
5237
5237
  E.value && ut(_), O.value && (it(), ot());
5238
5238
  return;
5239
5239
  }
5240
- _ && C1(_), W.value && pe(), h.value && (it(), ot()), _ && rt(_);
5240
+ _ && g1(_), W.value && pe(), h.value && (it(), ot()), _ && rt(_);
5241
5241
  break;
5242
5242
  case "multiple":
5243
5243
  if (_ && Ne(_)) {
5244
5244
  ut(_), O.value && (it(), ot());
5245
5245
  return;
5246
5246
  }
5247
- if (m1()) {
5247
+ if (_1()) {
5248
5248
  e.emit("max", ie);
5249
5249
  return;
5250
5250
  }
5251
- _ && (C1(_), rt(_)), W.value && pe(), l.value && it(), h.value && ot();
5251
+ _ && (g1(_), rt(_)), W.value && pe(), l.value && it(), h.value && ot();
5252
5252
  break;
5253
5253
  case "tags":
5254
5254
  if (_ && Ne(_)) {
5255
5255
  ut(_), O.value && (it(), ot());
5256
5256
  return;
5257
5257
  }
5258
- if (m1()) {
5258
+ if (_1()) {
5259
5259
  e.emit("max", ie);
5260
5260
  return;
5261
5261
  }
5262
- _ && C1(_), W.value && pe(), _ && rt(_), l.value && it(), h.value && ot();
5262
+ _ && g1(_), W.value && pe(), _ && rt(_), l.value && it(), h.value && ot();
5263
5263
  break;
5264
5264
  }
5265
- h.value || Ua();
5266
- }, Qa = (_) => {
5267
- if (!(h1(_) || s.value === "single" || !V.value)) {
5265
+ h.value || Za();
5266
+ }, es = (_) => {
5267
+ if (!(C1(_) || s.value === "single" || !V.value)) {
5268
5268
  switch (s.value) {
5269
5269
  case "multiple":
5270
5270
  case "tags":
5271
- es(_[oe.value]) ? ut(_[oe.value]) : rt(
5271
+ as(_[oe.value]) ? ut(_[oe.value]) : rt(
5272
5272
  _[oe.value].filter((D) => B.value.map((se) => se[H.value]).indexOf(D[H.value]) === -1).filter((D) => !D[ne.value]).filter((D, se) => B.value.length + 1 + se <= ee.value || ee.value === -1)
5273
5273
  );
5274
5274
  break;
5275
5275
  }
5276
- h.value && ja();
5276
+ h.value && Fa();
5277
5277
  }
5278
- }, C1 = (_) => {
5279
- Re(_[H.value]) === void 0 && j1.value && (e.emit("tag", _[H.value], ie), e.emit("option", _[H.value], ie), e.emit("create", _[H.value], ie), Fa.value && ns(_), pe());
5280
- }, Ja = () => {
5278
+ }, g1 = (_) => {
5279
+ Re(_[H.value]) === void 0 && F1.value && (e.emit("tag", _[H.value], ie), e.emit("option", _[H.value], ie), e.emit("create", _[H.value], ie), za.value && os(_), pe());
5280
+ }, ts = () => {
5281
5281
  s.value !== "single" && rt(bt.value.filter((_) => !_.disabled && !Ne(_)));
5282
- }, es = (_) => _.find((D) => !Ne(D) && !D[ne.value]) === void 0, ts = (_) => _.find((D) => !Ne(D)) === void 0, Re = (_) => qe.value[qe.value.map((D) => String(D[H.value])).indexOf(String(_))], as = (_, D = !0) => qe.value.map((se) => parseInt(se[Ve.value]) == se[Ve.value] ? parseInt(se[Ve.value]) : se[Ve.value]).indexOf(
5282
+ }, as = (_) => _.find((D) => !Ne(D) && !D[ne.value]) === void 0, ss = (_) => _.find((D) => !Ne(D)) === void 0, Re = (_) => qe.value[qe.value.map((D) => String(D[H.value])).indexOf(String(_))], ns = (_, D = !0) => qe.value.map((se) => parseInt(se[Ve.value]) == se[Ve.value] ? parseInt(se[Ve.value]) : se[Ve.value]).indexOf(
5283
5283
  parseInt(_) == _ ? parseInt(_) : _
5284
- ), ss = (_) => ["tags", "multiple"].indexOf(s.value) !== -1 && l.value && Ne(_), ns = (_) => {
5284
+ ), is = (_) => ["tags", "multiple"].indexOf(s.value) !== -1 && l.value && Ne(_), os = (_) => {
5285
5285
  yt.value.push(_);
5286
- }, is = (_) => I.value ? _.filter(
5287
- (D) => N.value ? D.__VISIBLE__.length : D[oe.value].length
5288
- ) : _.filter((D) => N.value ? D.__VISIBLE__.length : !0), _1 = (_, D = !0) => {
5286
+ }, ls = (_) => I.value ? _.filter(
5287
+ (D) => R.value ? D.__VISIBLE__.length : D[oe.value].length
5288
+ ) : _.filter((D) => R.value ? D.__VISIBLE__.length : !0), y1 = (_, D = !0) => {
5289
5289
  let se = _;
5290
- if (N.value && L.value) {
5291
- let he = Y.value;
5290
+ if (R.value && L.value) {
5291
+ let he = K.value;
5292
5292
  he || (he = (wt, a8) => {
5293
- let G1 = $1(Za(wt[Ve.value]), de.value);
5294
- return M.value ? G1.startsWith($1(N.value, de.value)) : G1.indexOf($1(N.value, de.value)) !== -1;
5293
+ let X1 = k1(qa(wt[Ve.value]), de.value);
5294
+ return M.value ? X1.startsWith(k1(R.value, de.value)) : X1.indexOf(k1(R.value, de.value)) !== -1;
5295
5295
  }), se = se.filter(he);
5296
5296
  }
5297
- return l.value && D && (se = se.filter((he) => !ss(he))), se;
5298
- }, g1 = (_) => {
5297
+ return l.value && D && (se = se.filter((he) => !is(he))), se;
5298
+ }, b1 = (_) => {
5299
5299
  let D = _;
5300
5300
  return j3(D) && (D = Object.keys(D).map((se) => {
5301
5301
  let he = D[se];
5302
5302
  return { [H.value]: se, [Ve.value]: he, [u.value]: he };
5303
5303
  })), D = D.map((se) => typeof se == "object" ? se : { [H.value]: se, [Ve.value]: se, [u.value]: se }), D;
5304
5304
  }, Ut = () => {
5305
- De(S.value) || (B.value = Zt(S.value));
5305
+ De(T.value) || (B.value = Zt(T.value));
5306
5306
  }, jt = (_) => (Le.value = !0, new Promise((D, se) => {
5307
- n.value(N.value, ie).then((he) => {
5307
+ n.value(R.value, ie).then((he) => {
5308
5308
  Fe.value = he || [], typeof _ == "function" && _(he), Le.value = !1;
5309
5309
  }).catch((he) => {
5310
5310
  console.error(he), Fe.value = [], Le.value = !1;
5311
5311
  }).finally(() => {
5312
5312
  D();
5313
5313
  });
5314
- })), y1 = () => {
5315
- if (p1.value)
5314
+ })), w1 = () => {
5315
+ if (m1.value)
5316
5316
  if (s.value === "single") {
5317
5317
  let _ = Re(B.value[H.value]);
5318
5318
  if (_ !== void 0) {
5319
5319
  let D = _[u.value];
5320
- B.value[u.value] = D, w.value && (S.value[u.value] = D);
5320
+ B.value[u.value] = D, w.value && (T.value[u.value] = D);
5321
5321
  }
5322
5322
  } else
5323
5323
  B.value.forEach((_, D) => {
5324
5324
  let se = Re(B.value[D][H.value]);
5325
5325
  if (se !== void 0) {
5326
5326
  let he = se[u.value];
5327
- B.value[D][u.value] = he, w.value && (S.value[D][u.value] = he);
5327
+ B.value[D][u.value] = he, w.value && (T.value[D][u.value] = he);
5328
5328
  }
5329
5329
  });
5330
- }, os = (_) => {
5330
+ }, rs = (_) => {
5331
5331
  jt(_);
5332
- }, Zt = (_) => De(_) ? s.value === "single" ? {} : [] : w.value ? _ : s.value === "single" ? Re(_) || (G.value ? {
5332
+ }, Zt = (_) => De(_) ? s.value === "single" ? {} : [] : w.value ? _ : s.value === "single" ? Re(_) || (X.value ? {
5333
5333
  [u.value]: _,
5334
5334
  [H.value]: _,
5335
5335
  [Ve.value]: _
5336
- } : {}) : _.filter((D) => !!Re(D) || G.value).map((D) => Re(D) || {
5336
+ } : {}) : _.filter((D) => !!Re(D) || X.value).map((D) => Re(D) || {
5337
5337
  [u.value]: D,
5338
5338
  [H.value]: D,
5339
5339
  [Ve.value]: D
5340
- }), K1 = () => {
5341
- f1.value = ue(N, (_) => {
5340
+ }), x1 = () => {
5341
+ p1.value = ue(R, (_) => {
5342
5342
  _.length < y.value || !_ && y.value !== 0 || (Le.value = !0, j.value && (Fe.value = []), setTimeout(() => {
5343
- _ == N.value && n.value(N.value, ie).then((D) => {
5344
- (_ == N.value || !N.value) && (Fe.value = D, Ra.value = bt.value.filter((se) => se[ne.value] !== !0)[0] || null, Le.value = !1);
5343
+ _ == R.value && n.value(R.value, ie).then((D) => {
5344
+ (_ == R.value || !R.value) && (Fe.value = D, ja.value = bt.value.filter((se) => se[ne.value] !== !0)[0] || null, Le.value = !1);
5345
5345
  }).catch(
5346
5346
  /* istanbul ignore next */
5347
5347
  (D) => {
@@ -5351,11 +5351,11 @@ function F3(a, e, t) {
5351
5351
  }, A.value));
5352
5352
  }, { flush: "sync" });
5353
5353
  };
5354
- if (s.value !== "single" && !De(S.value) && !Array.isArray(S.value))
5354
+ if (s.value !== "single" && !De(T.value) && !Array.isArray(T.value))
5355
5355
  throw new Error(`v-model must be an array when using "${s.value}" mode`);
5356
- return n && typeof n.value == "function" ? g.value ? jt(Ut) : w.value == !0 && Ut() : (Fe.value = n.value, Ut()), A.value > -1 && K1(), ue(A, (_, D) => {
5357
- f1.value && f1.value(), _ >= 0 && K1();
5358
- }), ue(S, (_) => {
5356
+ return n && typeof n.value == "function" ? g.value ? jt(Ut) : w.value == !0 && Ut() : (Fe.value = n.value, Ut()), A.value > -1 && x1(), ue(A, (_, D) => {
5357
+ p1.value && p1.value(), _ >= 0 && x1();
5358
+ }), ue(T, (_) => {
5359
5359
  if (De(_)) {
5360
5360
  Me(Zt(_), !1);
5361
5361
  return;
@@ -5370,39 +5370,39 @@ function F3(a, e, t) {
5370
5370
  break;
5371
5371
  }
5372
5372
  }, { deep: !0 }), ue(n, (_, D) => {
5373
- typeof a.options == "function" ? g.value && (!D || _ && _.toString() !== D.toString()) && jt() : (Fe.value = a.options, Object.keys(B.value).length || Ut(), y1());
5374
- }), ue(u, y1), {
5375
- pfo: Z1,
5373
+ typeof a.options == "function" ? g.value && (!D || _ && _.toString() !== D.toString()) && jt() : (Fe.value = a.options, Object.keys(B.value).length || Ut(), w1());
5374
+ }), ue(u, w1), {
5375
+ pfo: q1,
5376
5376
  fo: bt,
5377
5377
  filteredOptions: bt,
5378
- hasSelected: p1,
5379
- multipleLabelText: za,
5378
+ hasSelected: m1,
5379
+ multipleLabelText: Ya,
5380
5380
  eo: qe,
5381
5381
  extendedOptions: qe,
5382
5382
  eg: Rt,
5383
5383
  extendedGroups: Rt,
5384
- fg: F1,
5385
- filteredGroups: F1,
5386
- noOptions: Wa,
5387
- noResults: Ya,
5384
+ fg: z1,
5385
+ filteredGroups: z1,
5386
+ noOptions: Ka,
5387
+ noResults: Ga,
5388
5388
  resolving: Le,
5389
- busy: Ga,
5390
- offset: v1,
5389
+ busy: Xa,
5390
+ offset: h1,
5391
5391
  select: rt,
5392
5392
  deselect: ut,
5393
- remove: z1,
5394
- selectAll: Ja,
5395
- clear: W1,
5393
+ remove: Y1,
5394
+ selectAll: ts,
5395
+ clear: K1,
5396
5396
  isSelected: Ne,
5397
- isDisabled: h1,
5398
- isMax: m1,
5397
+ isDisabled: C1,
5398
+ isMax: _1,
5399
5399
  getOption: Re,
5400
- handleOptionClick: Xa,
5401
- handleGroupClick: Qa,
5402
- handleTagRemove: xa,
5403
- refreshOptions: os,
5400
+ handleOptionClick: Ja,
5401
+ handleGroupClick: es,
5402
+ handleTagRemove: Qa,
5403
+ refreshOptions: rs,
5404
5404
  resolveOptions: jt,
5405
- refreshLabels: y1
5405
+ refreshLabels: w1
5406
5406
  };
5407
5407
  }
5408
5408
  function q3(a, e, t) {
@@ -5416,72 +5416,72 @@ function q3(a, e, t) {
5416
5416
  groupSelect: d,
5417
5417
  disabledProp: u,
5418
5418
  groupOptions: v
5419
- } = $e(a), p = t.fo, C = t.fg, w = t.handleOptionClick, $ = t.handleGroupClick, A = t.search, g = t.pointer, y = t.setPointer, L = t.clearPointer, j = t.multiselect, W = t.isOpen, H = b(() => p.value.filter((S) => !S[u.value])), G = b(() => C.value.filter((S) => !S[u.value])), te = b(() => r.value !== "single" && d.value), E = b(() => g.value && g.value.group), ee = b(() => ie(g.value)), de = b(() => {
5420
- const S = E.value ? g.value : (
5419
+ } = $e(a), p = t.fo, C = t.fg, w = t.handleOptionClick, $ = t.handleGroupClick, A = t.search, g = t.pointer, y = t.setPointer, L = t.clearPointer, j = t.multiselect, W = t.isOpen, H = b(() => p.value.filter((T) => !T[u.value])), X = b(() => C.value.filter((T) => !T[u.value])), te = b(() => r.value !== "single" && d.value), E = b(() => g.value && g.value.group), ee = b(() => ie(g.value)), de = b(() => {
5420
+ const T = E.value ? g.value : (
5421
5421
  /* istanbul ignore next */
5422
5422
  ie(g.value)
5423
- ), N = G.value.map((Me) => Me[i.value]).indexOf(S[i.value]);
5424
- let pe = G.value[N - 1];
5423
+ ), R = X.value.map((Me) => Me[i.value]).indexOf(T[i.value]);
5424
+ let pe = X.value[R - 1];
5425
5425
  return pe === void 0 && (pe = O.value), pe;
5426
5426
  }), h = b(() => {
5427
- let S = G.value.map((N) => N.label).indexOf(E.value ? g.value[i.value] : ie(g.value)[i.value]) + 1;
5428
- return G.value.length <= S && (S = 0), G.value[S];
5429
- }), O = b(() => [...G.value].slice(-1)[0]), z = b(() => g.value.__VISIBLE__.filter((S) => !S[u.value])[0]), ae = b(() => {
5430
- const S = ee.value.__VISIBLE__.filter((N) => !N[u.value]);
5431
- return S[S.map((N) => N[n.value]).indexOf(g.value[n.value]) - 1];
5427
+ let T = X.value.map((R) => R.label).indexOf(E.value ? g.value[i.value] : ie(g.value)[i.value]) + 1;
5428
+ return X.value.length <= T && (T = 0), X.value[T];
5429
+ }), O = b(() => [...X.value].slice(-1)[0]), z = b(() => g.value.__VISIBLE__.filter((T) => !T[u.value])[0]), ae = b(() => {
5430
+ const T = ee.value.__VISIBLE__.filter((R) => !R[u.value]);
5431
+ return T[T.map((R) => R[n.value]).indexOf(g.value[n.value]) - 1];
5432
5432
  }), re = b(() => {
5433
- const S = ie(g.value).__VISIBLE__.filter((N) => !N[u.value]);
5434
- return S[S.map((N) => N[n.value]).indexOf(g.value[n.value]) + 1];
5435
- }), oe = b(() => [...de.value.__VISIBLE__.filter((S) => !S[u.value])].slice(-1)[0]), I = b(() => [...O.value.__VISIBLE__.filter((S) => !S[u.value])].slice(-1)[0]), V = (S) => g.value && (!S.group && g.value[n.value] === S[n.value] || S.group !== void 0 && g.value[i.value] === S[i.value]) ? !0 : void 0, F = () => {
5433
+ const T = ie(g.value).__VISIBLE__.filter((R) => !R[u.value]);
5434
+ return T[T.map((R) => R[n.value]).indexOf(g.value[n.value]) + 1];
5435
+ }), oe = b(() => [...de.value.__VISIBLE__.filter((T) => !T[u.value])].slice(-1)[0]), I = b(() => [...O.value.__VISIBLE__.filter((T) => !T[u.value])].slice(-1)[0]), V = (T) => g.value && (!T.group && g.value[n.value] === T[n.value] || T.group !== void 0 && g.value[i.value] === T[i.value]) ? !0 : void 0, F = () => {
5436
5436
  y(H.value[0] || null);
5437
5437
  }, ne = () => {
5438
5438
  !g.value || g.value[u.value] === !0 || (E.value ? $(g.value) : w(g.value));
5439
5439
  }, M = () => {
5440
5440
  if (g.value === null)
5441
- y((l.value && te.value ? G.value[0].__CREATE__ ? H.value[0] : G.value[0] : H.value[0]) || null);
5441
+ y((l.value && te.value ? X.value[0].__CREATE__ ? H.value[0] : X.value[0] : H.value[0]) || null);
5442
5442
  else if (l.value && te.value) {
5443
- let S = E.value ? z.value : re.value;
5444
- S === void 0 && (S = h.value, S.__CREATE__ && (S = S[v.value][0])), y(S || /* istanbul ignore next */
5443
+ let T = E.value ? z.value : re.value;
5444
+ T === void 0 && (T = h.value, T.__CREATE__ && (T = T[v.value][0])), y(T || /* istanbul ignore next */
5445
5445
  null);
5446
5446
  } else {
5447
- let S = H.value.map((N) => N[n.value]).indexOf(g.value[n.value]) + 1;
5448
- H.value.length <= S && (S = 0), y(H.value[S] || null);
5447
+ let T = H.value.map((R) => R[n.value]).indexOf(g.value[n.value]) + 1;
5448
+ H.value.length <= T && (T = 0), y(H.value[T] || null);
5449
5449
  }
5450
5450
  Oe(() => {
5451
5451
  B();
5452
5452
  });
5453
- }, Y = () => {
5453
+ }, K = () => {
5454
5454
  if (g.value === null) {
5455
- let S = H.value[H.value.length - 1];
5456
- l.value && te.value && (S = I.value, S === void 0 && (S = O.value)), y(S || null);
5455
+ let T = H.value[H.value.length - 1];
5456
+ l.value && te.value && (T = I.value, T === void 0 && (T = O.value)), y(T || null);
5457
5457
  } else if (l.value && te.value) {
5458
- let S = E.value ? oe.value : ae.value;
5459
- S === void 0 && (S = E.value ? de.value : ee.value, S.__CREATE__ && (S = oe.value, S === void 0 && (S = de.value))), y(S || /* istanbul ignore next */
5458
+ let T = E.value ? oe.value : ae.value;
5459
+ T === void 0 && (T = E.value ? de.value : ee.value, T.__CREATE__ && (T = oe.value, T === void 0 && (T = de.value))), y(T || /* istanbul ignore next */
5460
5460
  null);
5461
5461
  } else {
5462
- let S = H.value.map((N) => N[n.value]).indexOf(g.value[n.value]) - 1;
5463
- S < 0 && (S = H.value.length - 1), y(H.value[S] || null);
5462
+ let T = H.value.map((R) => R[n.value]).indexOf(g.value[n.value]) - 1;
5463
+ T < 0 && (T = H.value.length - 1), y(H.value[T] || null);
5464
5464
  }
5465
5465
  Oe(() => {
5466
5466
  B();
5467
5467
  });
5468
- }, ie = (S) => G.value.find((N) => N.__VISIBLE__.map((pe) => pe[n.value]).indexOf(S[n.value]) !== -1), B = () => {
5469
- let S = j.value.querySelector("[data-pointed]");
5470
- if (!S)
5468
+ }, ie = (T) => X.value.find((R) => R.__VISIBLE__.map((pe) => pe[n.value]).indexOf(T[n.value]) !== -1), B = () => {
5469
+ let T = j.value.querySelector("[data-pointed]");
5470
+ if (!T)
5471
5471
  return;
5472
- let N = S.parentElement.parentElement;
5473
- l.value && (N = E.value ? S.parentElement.parentElement.parentElement : S.parentElement.parentElement.parentElement.parentElement), S.offsetTop + S.offsetHeight > N.clientHeight + N.scrollTop && (N.scrollTop = S.offsetTop + S.offsetHeight - N.clientHeight), S.offsetTop < N.scrollTop && (N.scrollTop = S.offsetTop);
5472
+ let R = T.parentElement.parentElement;
5473
+ l.value && (R = E.value ? T.parentElement.parentElement.parentElement : T.parentElement.parentElement.parentElement.parentElement), T.offsetTop + T.offsetHeight > R.clientHeight + R.scrollTop && (R.scrollTop = T.offsetTop + T.offsetHeight - R.clientHeight), T.offsetTop < R.scrollTop && (R.scrollTop = T.offsetTop);
5474
5474
  };
5475
- return ue(A, (S) => {
5476
- o.value && (S.length && s.value ? F() : L());
5477
- }), ue(W, (S) => {
5478
- if (S) {
5479
- let N = j.value.querySelectorAll("[data-selected]")[0];
5480
- if (!N)
5475
+ return ue(A, (T) => {
5476
+ o.value && (T.length && s.value ? F() : L());
5477
+ }), ue(W, (T) => {
5478
+ if (T) {
5479
+ let R = j.value.querySelectorAll("[data-selected]")[0];
5480
+ if (!R)
5481
5481
  return;
5482
- let pe = N.parentElement.parentElement;
5482
+ let pe = R.parentElement.parentElement;
5483
5483
  Oe(() => {
5484
- pe.scrollTop > 0 || (pe.scrollTop = N.offsetTop);
5484
+ pe.scrollTop > 0 || (pe.scrollTop = R.offsetTop);
5485
5485
  });
5486
5486
  }
5487
5487
  }), {
@@ -5491,7 +5491,7 @@ function q3(a, e, t) {
5491
5491
  setPointerFirst: F,
5492
5492
  selectPointer: ne,
5493
5493
  forwardPointer: M,
5494
- backwardPointer: Y
5494
+ backwardPointer: K
5495
5495
  };
5496
5496
  }
5497
5497
  function z3(a, e, t) {
@@ -5560,7 +5560,7 @@ function Y3(a, e, t) {
5560
5560
  createTag: v,
5561
5561
  createOption: p,
5562
5562
  reverse: C
5563
- } = $e(a), w = st().proxy, $ = t.iv, A = t.update, g = t.search, y = t.setPointer, L = t.selectPointer, j = t.backwardPointer, W = t.forwardPointer, H = t.multiselect, G = t.wrapper, te = t.tags, E = t.isOpen, ee = t.open, de = t.blur, h = t.fo, O = b(() => v.value || p.value || !1), z = b(() => s.value !== void 0 ? s.value : u.value !== void 0 ? u.value : ["enter"]), ae = () => {
5563
+ } = $e(a), w = st().proxy, $ = t.iv, A = t.update, g = t.search, y = t.setPointer, L = t.selectPointer, j = t.backwardPointer, W = t.forwardPointer, H = t.multiselect, X = t.wrapper, te = t.tags, E = t.isOpen, ee = t.open, de = t.blur, h = t.fo, O = b(() => v.value || p.value || !1), z = b(() => s.value !== void 0 ? s.value : u.value !== void 0 ? u.value : ["enter"]), ae = () => {
5564
5564
  n.value === "tags" && !l.value && O.value && i.value && !d.value && y(h.value[h.value.map((V) => V[r.value]).indexOf(g.value)]);
5565
5565
  }, re = (V) => {
5566
5566
  let F = V.length - 1;
@@ -5582,7 +5582,7 @@ function Y3(a, e, t) {
5582
5582
  if (V.preventDefault(), V.keyCode === 229)
5583
5583
  return;
5584
5584
  if (ne !== -1 && ne !== void 0) {
5585
- A([...$.value].filter((M, Y) => Y !== ne)), ne === F.length - 1 && (F.length - 1 ? F[F.length - 2].focus() : i.value ? te.value.querySelector("input").focus() : G.value.focus());
5585
+ A([...$.value].filter((M, K) => K !== ne)), ne === F.length - 1 && (F.length - 1 ? F[F.length - 2].focus() : i.value ? te.value.querySelector("input").focus() : X.value.focus());
5586
5586
  return;
5587
5587
  }
5588
5588
  if (z.value.indexOf("enter") === -1 && O.value)
@@ -5628,7 +5628,7 @@ function Y3(a, e, t) {
5628
5628
  case "ArrowRight":
5629
5629
  if (ne === -1 || V.shiftKey || n.value !== "tags" || !$.value || !$.value.length)
5630
5630
  return;
5631
- V.preventDefault(), F.length > ne + 1 ? F[ne + 1].focus() : i.value ? te.value.querySelector("input").focus() : i.value || G.value.focus();
5631
+ V.preventDefault(), F.length > ne + 1 ? F[ne + 1].focus() : i.value ? te.value.querySelector("input").focus() : i.value || X.value.focus();
5632
5632
  break;
5633
5633
  }
5634
5634
  },
@@ -5799,7 +5799,7 @@ function x3(a, e, t) {
5799
5799
  }), H = b(() => {
5800
5800
  let h = { ...d.value };
5801
5801
  return u.value && (h["aria-labelledby"] = h["aria-labelledby"] ? `${A.value} ${h["aria-labelledby"]}` : A.value, W.value && h["aria-label"] && (h["aria-label"] = `${W.value}, ${h["aria-label"]}`)), h;
5802
- }), G = (h) => {
5802
+ }), X = (h) => {
5803
5803
  let O = [];
5804
5804
  return s && s.value && O.push(s.value), O.push("multiselect-option"), O.push(h[o.value]), O.join("-");
5805
5805
  }, te = (h) => {
@@ -5825,7 +5825,7 @@ function x3(a, e, t) {
5825
5825
  ariaPlaceholder: L,
5826
5826
  ariaMultiselectable: j,
5827
5827
  ariaActiveDescendant: y,
5828
- ariaOptionId: G,
5828
+ ariaOptionId: X,
5829
5829
  ariaOptionLabel: E,
5830
5830
  ariaGroupId: te,
5831
5831
  ariaGroupLabel: ee,
@@ -6206,7 +6206,7 @@ const J3 = ["id", "dir"], e5 = ["tabindex", "aria-controls", "aria-placeholder",
6206
6206
  function g5(a, e, t, n, s, o) {
6207
6207
  return c(), m("div", {
6208
6208
  ref: "multiselect",
6209
- class: x(a.classList.container),
6209
+ class: G(a.classList.container),
6210
6210
  id: t.searchable ? void 0 : t.id,
6211
6211
  dir: t.rtl ? "rtl" : void 0,
6212
6212
  onFocusin: e[10] || (e[10] = (...i) => a.handleFocusIn && a.handleFocusIn(...i)),
@@ -6254,20 +6254,20 @@ function g5(a, e, t, n, s, o) {
6254
6254
  "div",
6255
6255
  {
6256
6256
  key: 1,
6257
- class: x(a.classList.tags),
6257
+ class: G(a.classList.tags),
6258
6258
  "data-tags": ""
6259
6259
  },
6260
6260
  [
6261
6261
  (c(!0), m(
6262
6262
  ve,
6263
6263
  null,
6264
- ye(a.iv, (i, l, r) => X(a.$slots, "tag", {
6264
+ ye(a.iv, (i, l, r) => x(a.$slots, "tag", {
6265
6265
  option: i,
6266
6266
  handleTagRemove: a.handleTagRemove,
6267
6267
  disabled: t.disabled
6268
6268
  }, () => [
6269
6269
  (c(), m("span", {
6270
- class: x([
6270
+ class: G([
6271
6271
  a.classList.tag,
6272
6272
  i.disabled ? a.classList.tagDisabled : null
6273
6273
  ]),
@@ -6283,13 +6283,13 @@ function g5(a, e, t, n, s, o) {
6283
6283
  ),
6284
6284
  !t.disabled && !i.disabled ? (c(), m("span", {
6285
6285
  key: 0,
6286
- class: x(a.classList.tagRemove),
6286
+ class: G(a.classList.tagRemove),
6287
6287
  onClick: _e((d) => a.handleTagRemove(i, d), ["stop"])
6288
6288
  }, [
6289
6289
  f(
6290
6290
  "span",
6291
6291
  {
6292
- class: x(a.classList.tagRemoveIcon)
6292
+ class: G(a.classList.tagRemoveIcon)
6293
6293
  },
6294
6294
  null,
6295
6295
  2
@@ -6304,7 +6304,7 @@ function g5(a, e, t, n, s, o) {
6304
6304
  f(
6305
6305
  "div",
6306
6306
  {
6307
- class: x(a.classList.tagsSearchWrapper),
6307
+ class: G(a.classList.tagsSearchWrapper),
6308
6308
  ref: "tags"
6309
6309
  },
6310
6310
  [
@@ -6312,7 +6312,7 @@ function g5(a, e, t, n, s, o) {
6312
6312
  f(
6313
6313
  "span",
6314
6314
  {
6315
- class: x(a.classList.tagsSearchCopy)
6315
+ class: G(a.classList.tagsSearchCopy)
6316
6316
  },
6317
6317
  Z(a.search),
6318
6318
  3
@@ -6350,20 +6350,20 @@ function g5(a, e, t, n, s, o) {
6350
6350
  /* CLASS */
6351
6351
  )) : k("v-if", !0),
6352
6352
  k(" Single label "),
6353
- t.mode == "single" && a.hasSelected && !a.search && a.iv ? X(a.$slots, "singlelabel", {
6353
+ t.mode == "single" && a.hasSelected && !a.search && a.iv ? x(a.$slots, "singlelabel", {
6354
6354
  key: 2,
6355
6355
  value: a.iv
6356
6356
  }, () => [
6357
6357
  f(
6358
6358
  "div",
6359
6359
  {
6360
- class: x(a.classList.singleLabel)
6360
+ class: G(a.classList.singleLabel)
6361
6361
  },
6362
6362
  [
6363
6363
  f(
6364
6364
  "span",
6365
6365
  {
6366
- class: x(a.classList.singleLabelText)
6366
+ class: G(a.classList.singleLabelText)
6367
6367
  },
6368
6368
  Z(a.localize(a.iv[t.label])),
6369
6369
  3
@@ -6375,21 +6375,21 @@ function g5(a, e, t, n, s, o) {
6375
6375
  )
6376
6376
  ]) : k("v-if", !0),
6377
6377
  k(" Multiple label "),
6378
- t.mode == "multiple" && a.hasSelected && !a.search ? X(a.$slots, "multiplelabel", {
6378
+ t.mode == "multiple" && a.hasSelected && !a.search ? x(a.$slots, "multiplelabel", {
6379
6379
  key: 3,
6380
6380
  values: a.iv
6381
6381
  }, () => [
6382
6382
  f("div", {
6383
- class: x(a.classList.multipleLabel),
6383
+ class: G(a.classList.multipleLabel),
6384
6384
  innerHTML: a.multipleLabelText
6385
6385
  }, null, 10, i5)
6386
6386
  ]) : k("v-if", !0),
6387
6387
  k(" Placeholder "),
6388
- t.placeholder && !a.hasSelected && !a.search ? X(a.$slots, "placeholder", { key: 4 }, () => [
6388
+ t.placeholder && !a.hasSelected && !a.search ? x(a.$slots, "placeholder", { key: 4 }, () => [
6389
6389
  f(
6390
6390
  "div",
6391
6391
  {
6392
- class: x(a.classList.placeholder),
6392
+ class: G(a.classList.placeholder),
6393
6393
  "aria-hidden": "true"
6394
6394
  },
6395
6395
  Z(t.placeholder),
@@ -6398,11 +6398,11 @@ function g5(a, e, t, n, s, o) {
6398
6398
  )
6399
6399
  ]) : k("v-if", !0),
6400
6400
  k(" Spinner "),
6401
- t.loading || a.resolving ? X(a.$slots, "spinner", { key: 5 }, () => [
6401
+ t.loading || a.resolving ? x(a.$slots, "spinner", { key: 5 }, () => [
6402
6402
  f(
6403
6403
  "span",
6404
6404
  {
6405
- class: x(a.classList.spinner),
6405
+ class: G(a.classList.spinner),
6406
6406
  "aria-hidden": "true"
6407
6407
  },
6408
6408
  null,
@@ -6411,7 +6411,7 @@ function g5(a, e, t, n, s, o) {
6411
6411
  )
6412
6412
  ]) : k("v-if", !0),
6413
6413
  k(" Clear "),
6414
- a.hasSelected && !t.disabled && t.canClear && !a.busy ? X(a.$slots, "clear", {
6414
+ a.hasSelected && !t.disabled && t.canClear && !a.busy ? x(a.$slots, "clear", {
6415
6415
  key: 6,
6416
6416
  clear: a.clear
6417
6417
  }, () => [
@@ -6423,7 +6423,7 @@ function g5(a, e, t, n, s, o) {
6423
6423
  role: "button",
6424
6424
  "data-clear": "",
6425
6425
  "aria-roledescription": "❎",
6426
- class: x(a.classList.clear),
6426
+ class: G(a.classList.clear),
6427
6427
  onClick: e[6] || (e[6] = (...i) => a.clear && a.clear(...i)),
6428
6428
  onKeyup: e[7] || (e[7] = Ye((...i) => a.clear && a.clear(...i), ["enter"]))
6429
6429
  },
@@ -6431,7 +6431,7 @@ function g5(a, e, t, n, s, o) {
6431
6431
  f(
6432
6432
  "span",
6433
6433
  {
6434
- class: x(a.classList.clearIcon)
6434
+ class: G(a.classList.clearIcon)
6435
6435
  },
6436
6436
  null,
6437
6437
  2
@@ -6443,11 +6443,11 @@ function g5(a, e, t, n, s, o) {
6443
6443
  )
6444
6444
  ]) : k("v-if", !0),
6445
6445
  k(" Caret "),
6446
- t.caret && t.showOptions ? X(a.$slots, "caret", { key: 7 }, () => [
6446
+ t.caret && t.showOptions ? x(a.$slots, "caret", { key: 7 }, () => [
6447
6447
  f(
6448
6448
  "span",
6449
6449
  {
6450
- class: x(a.classList.caret),
6450
+ class: G(a.classList.caret),
6451
6451
  onClick: e[8] || (e[8] = (...i) => a.handleCaretClick && a.handleCaretClick(...i)),
6452
6452
  "aria-hidden": "true"
6453
6453
  },
@@ -6461,13 +6461,13 @@ function g5(a, e, t, n, s, o) {
6461
6461
  f(
6462
6462
  "div",
6463
6463
  {
6464
- class: x(a.classList.dropdown),
6464
+ class: G(a.classList.dropdown),
6465
6465
  tabindex: "-1"
6466
6466
  },
6467
6467
  [
6468
- X(a.$slots, "beforelist", { options: a.fo }),
6468
+ x(a.$slots, "beforelist", { options: a.fo }),
6469
6469
  f("ul", {
6470
- class: x(a.classList.options),
6470
+ class: G(a.classList.options),
6471
6471
  id: a.ariaControls,
6472
6472
  role: "listbox"
6473
6473
  }, [
@@ -6475,7 +6475,7 @@ function g5(a, e, t, n, s, o) {
6475
6475
  ve,
6476
6476
  { key: 0 },
6477
6477
  ye(a.fg, (i, l, r) => (c(), m("li", {
6478
- class: x(a.classList.group),
6478
+ class: G(a.classList.group),
6479
6479
  key: r,
6480
6480
  id: a.ariaGroupId(i),
6481
6481
  "aria-label": a.ariaGroupLabel(a.localize(i[t.groupLabel])),
@@ -6484,12 +6484,12 @@ function g5(a, e, t, n, s, o) {
6484
6484
  }, [
6485
6485
  i.__CREATE__ ? k("v-if", !0) : (c(), m("div", {
6486
6486
  key: 0,
6487
- class: x(a.classList.groupLabel(i)),
6487
+ class: G(a.classList.groupLabel(i)),
6488
6488
  "data-pointed": a.isPointed(i),
6489
6489
  onMouseenter: (d) => a.setPointer(i, l),
6490
6490
  onClick: (d) => a.handleGroupClick(i)
6491
6491
  }, [
6492
- X(a.$slots, "grouplabel", {
6492
+ x(a.$slots, "grouplabel", {
6493
6493
  group: i,
6494
6494
  isSelected: a.isSelected,
6495
6495
  isPointed: a.isPointed
@@ -6500,7 +6500,7 @@ function g5(a, e, t, n, s, o) {
6500
6500
  ])
6501
6501
  ], 42, r5)),
6502
6502
  f("ul", {
6503
- class: x(a.classList.groupOptions),
6503
+ class: G(a.classList.groupOptions),
6504
6504
  "aria-label": a.ariaGroupLabel(a.localize(i[t.groupLabel])),
6505
6505
  role: "group"
6506
6506
  }, [
@@ -6508,7 +6508,7 @@ function g5(a, e, t, n, s, o) {
6508
6508
  ve,
6509
6509
  null,
6510
6510
  ye(i.__VISIBLE__, (d, u, v) => (c(), m("li", {
6511
- class: x(a.classList.option(d, i)),
6511
+ class: G(a.classList.option(d, i)),
6512
6512
  "data-pointed": a.isPointed(d),
6513
6513
  "data-selected": a.isSelected(d) || void 0,
6514
6514
  key: v,
@@ -6519,7 +6519,7 @@ function g5(a, e, t, n, s, o) {
6519
6519
  "aria-label": a.ariaOptionLabel(a.localize(d[t.label])),
6520
6520
  role: "option"
6521
6521
  }, [
6522
- X(a.$slots, "option", {
6522
+ x(a.$slots, "option", {
6523
6523
  option: d,
6524
6524
  isSelected: a.isSelected,
6525
6525
  isPointed: a.isPointed,
@@ -6545,7 +6545,7 @@ function g5(a, e, t, n, s, o) {
6545
6545
  ve,
6546
6546
  { key: 1 },
6547
6547
  ye(a.fo, (i, l, r) => (c(), m("li", {
6548
- class: x(a.classList.option(i)),
6548
+ class: G(a.classList.option(i)),
6549
6549
  "data-pointed": a.isPointed(i),
6550
6550
  "data-selected": a.isSelected(i) || void 0,
6551
6551
  key: r,
@@ -6556,7 +6556,7 @@ function g5(a, e, t, n, s, o) {
6556
6556
  "aria-label": a.ariaOptionLabel(a.localize(i[t.label])),
6557
6557
  role: "option"
6558
6558
  }, [
6559
- X(a.$slots, "option", {
6559
+ x(a.$slots, "option", {
6560
6560
  option: i,
6561
6561
  isSelected: a.isSelected,
6562
6562
  isPointed: a.isPointed,
@@ -6575,15 +6575,15 @@ function g5(a, e, t, n, s, o) {
6575
6575
  /* KEYED_FRAGMENT */
6576
6576
  ))
6577
6577
  ], 10, o5),
6578
- a.noOptions ? X(a.$slots, "nooptions", { key: 0 }, () => [
6578
+ a.noOptions ? x(a.$slots, "nooptions", { key: 0 }, () => [
6579
6579
  f("div", {
6580
- class: x(a.classList.noOptions),
6580
+ class: G(a.classList.noOptions),
6581
6581
  innerHTML: a.localize(t.noOptionsText)
6582
6582
  }, null, 10, v5)
6583
6583
  ]) : k("v-if", !0),
6584
- a.noResults ? X(a.$slots, "noresults", { key: 1 }, () => [
6584
+ a.noResults ? x(a.$slots, "noresults", { key: 1 }, () => [
6585
6585
  f("div", {
6586
- class: x(a.classList.noResults),
6586
+ class: G(a.classList.noResults),
6587
6587
  innerHTML: a.localize(t.noResultsText)
6588
6588
  }, null, 10, p5)
6589
6589
  ]) : k("v-if", !0),
@@ -6591,15 +6591,15 @@ function g5(a, e, t, n, s, o) {
6591
6591
  "div",
6592
6592
  {
6593
6593
  key: 2,
6594
- class: x(a.classList.inifinite),
6594
+ class: G(a.classList.inifinite),
6595
6595
  ref: "infiniteLoader"
6596
6596
  },
6597
6597
  [
6598
- X(a.$slots, "infinite", {}, () => [
6598
+ x(a.$slots, "infinite", {}, () => [
6599
6599
  f(
6600
6600
  "span",
6601
6601
  {
6602
- class: x(a.classList.inifiniteSpinner)
6602
+ class: G(a.classList.inifiniteSpinner)
6603
6603
  },
6604
6604
  null,
6605
6605
  2
@@ -6610,7 +6610,7 @@ function g5(a, e, t, n, s, o) {
6610
6610
  2
6611
6611
  /* CLASS */
6612
6612
  )) : k("v-if", !0),
6613
- X(a.$slots, "afterlist", { options: a.fo })
6613
+ x(a.$slots, "afterlist", { options: a.fo })
6614
6614
  ],
6615
6615
  2
6616
6616
  /* CLASS */
@@ -6618,7 +6618,7 @@ function g5(a, e, t, n, s, o) {
6618
6618
  k(" Hacky input element to show HTML5 required warning "),
6619
6619
  t.required ? (c(), m("input", {
6620
6620
  key: 0,
6621
- class: x(a.classList.fakeInput),
6621
+ class: G(a.classList.fakeInput),
6622
6622
  tabindex: "-1",
6623
6623
  value: a.textValue,
6624
6624
  required: ""
@@ -6652,7 +6652,7 @@ function g5(a, e, t, n, s, o) {
6652
6652
  k(" Screen reader assistive text "),
6653
6653
  t.searchable && a.hasSelected ? (c(), m("div", {
6654
6654
  key: 2,
6655
- class: x(a.classList.assist),
6655
+ class: G(a.classList.assist),
6656
6656
  id: a.ariaAssist,
6657
6657
  "aria-hidden": "true"
6658
6658
  }, Z(a.ariaLabel), 11, _5)) : k("v-if", !0),
@@ -6660,7 +6660,7 @@ function g5(a, e, t, n, s, o) {
6660
6660
  f(
6661
6661
  "div",
6662
6662
  {
6663
- class: x(a.classList.spacer)
6663
+ class: G(a.classList.spacer)
6664
6664
  },
6665
6665
  null,
6666
6666
  2
@@ -6670,7 +6670,7 @@ function g5(a, e, t, n, s, o) {
6670
6670
  }
6671
6671
  We.render = g5;
6672
6672
  We.__file = "src/Multiselect.vue";
6673
- const be = /* @__PURE__ */ K({
6673
+ const be = /* @__PURE__ */ Y({
6674
6674
  __name: "AoMultiselect",
6675
6675
  props: {
6676
6676
  detached: { type: Boolean },
@@ -6681,7 +6681,7 @@ const be = /* @__PURE__ */ K({
6681
6681
  return e.detached && P3({
6682
6682
  multiselect: n,
6683
6683
  appendTo: t.value
6684
- }), (s, o) => (c(), R(q(We), {
6684
+ }), (s, o) => (c(), N(q(We), {
6685
6685
  ref_key: "multiselectRef",
6686
6686
  ref: n,
6687
6687
  class: "ao-multiselect"
@@ -6689,13 +6689,13 @@ const be = /* @__PURE__ */ K({
6689
6689
  ye(s.$slots, (i, l) => ({
6690
6690
  name: l,
6691
6691
  fn: U((r) => [
6692
- X(s.$slots, l, fs(vs(r ?? {})))
6692
+ x(s.$slots, l, a1(s1(r ?? {})))
6693
6693
  ])
6694
6694
  }))
6695
6695
  ]), 1536));
6696
6696
  }
6697
6697
  });
6698
- var la;
6698
+ var ua;
6699
6699
  function nt() {
6700
6700
  const a = y5(), e = a.appContext.config.globalProperties;
6701
6701
  return {
@@ -6709,7 +6709,7 @@ function y5() {
6709
6709
  throw new Error("i18next-vue: No Vue instance in context. Make sure to register the i18next-vue plugin using app.use(...).");
6710
6710
  return a;
6711
6711
  }
6712
- K({
6712
+ Y({
6713
6713
  props: {
6714
6714
  translation: {
6715
6715
  type: String,
@@ -6720,10 +6720,10 @@ K({
6720
6720
  return () => {
6721
6721
  const t = a.translation, n = [];
6722
6722
  let s, o = 0;
6723
- for (; (s = la.exec(t)) !== null; ) {
6723
+ for (; (s = ua.exec(t)) !== null; ) {
6724
6724
  n.push(t.substring(o, s.index));
6725
6725
  const i = e[s[1]];
6726
- i ? n.push(...i()) : n.push(s[0]), o = la.lastIndex;
6726
+ i ? n.push(...i()) : n.push(s[0]), o = ua.lastIndex;
6727
6727
  }
6728
6728
  return n.push(t.substring(o)), n;
6729
6729
  };
@@ -6746,7 +6746,7 @@ async function Ue(a, e) {
6746
6746
  i == null || i.select();
6747
6747
  }
6748
6748
  }
6749
- const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id", "value", "readonly", "onChange", "onKeyup"], M5 = { class: "ao-tasks__list-footer" }, k5 = /* @__PURE__ */ K({
6749
+ const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id", "value", "readonly", "onChange", "onKeyup"], M5 = { class: "ao-tasks__list-footer" }, k5 = /* @__PURE__ */ Y({
6750
6750
  __name: "AoActivityTasks",
6751
6751
  props: {
6752
6752
  activityId: {},
@@ -6807,7 +6807,7 @@ const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id",
6807
6807
  key: C.id,
6808
6808
  class: "ao-subtask"
6809
6809
  }, [
6810
- ((w = v.isCheckable) == null ? void 0 : w.call(v, C)) ?? !1 ? (c(), R(fe, {
6810
+ ((w = v.isCheckable) == null ? void 0 : w.call(v, C)) ?? !1 ? (c(), N(fe, {
6811
6811
  key: 0,
6812
6812
  class: "ao-subtask__check",
6813
6813
  "icon-name": C.isDone ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
@@ -6824,7 +6824,7 @@ const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id",
6824
6824
  onChange: (A) => i(A, C.id),
6825
6825
  onKeyup: Ye(u, ["enter"])
6826
6826
  }, null, 40, $5),
6827
- !v.isTemplate && v.users ? (c(), R(be, {
6827
+ !v.isTemplate && v.users ? (c(), N(be, {
6828
6828
  key: 1,
6829
6829
  value: ($ = C.assignee) != null && $.id ? [C.assignee.id] : [],
6830
6830
  options: s.value,
@@ -6839,7 +6839,7 @@ const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id",
6839
6839
  onChange: (A) => d(A, C.id)
6840
6840
  }, {
6841
6841
  tag: U(({ option: A, handleTagRemove: g }) => [
6842
- T(gt, {
6842
+ S(gt, {
6843
6843
  "user-name": A.label,
6844
6844
  "avatar-url": A.avatar,
6845
6845
  "is-closable": !0,
@@ -6848,7 +6848,7 @@ const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id",
6848
6848
  ]),
6849
6849
  _: 2
6850
6850
  }, 1032, ["value", "options", "placeholder", "disabled", "caret", "onChange"])) : k("", !0),
6851
- v.isEditable ? (c(), R(fe, {
6851
+ v.isEditable ? (c(), N(fe, {
6852
6852
  key: 2,
6853
6853
  class: "ao-subtask__delete",
6854
6854
  "icon-name": "CancelRounded",
@@ -6861,7 +6861,7 @@ const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id",
6861
6861
  }), 128))
6862
6862
  ]),
6863
6863
  f("div", M5, [
6864
- v.isEditable ? (c(), R(fe, {
6864
+ v.isEditable ? (c(), N(fe, {
6865
6865
  key: 0,
6866
6866
  label: v.$t("activity.tasks.add"),
6867
6867
  "icon-name": "Add",
@@ -6879,7 +6879,7 @@ const A5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], T5 = {
6879
6879
  }, S5 = ["href"], E5 = { class: "ao-file__title" }, I5 = {
6880
6880
  key: 1,
6881
6881
  class: "ao-files__dropzone"
6882
- }, O5 = { class: "ao-files__input" }, L5 = { class: "ao-files__button ao-button ao-button--primary ao-button--ghost" }, V5 = { class: "ao-files__placeholder" }, D5 = /* @__PURE__ */ K({
6882
+ }, O5 = { class: "ao-files__input" }, L5 = { class: "ao-files__button ao-button ao-button--primary ao-button--ghost" }, V5 = { class: "ao-files__placeholder" }, D5 = /* @__PURE__ */ Y({
6883
6883
  __name: "AoActivityDetailsFiles",
6884
6884
  props: {
6885
6885
  attachments: {},
@@ -6897,7 +6897,7 @@ const A5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], T5 = {
6897
6897
  s.forEach((d) => {
6898
6898
  document.body.addEventListener(d, (u) => u.preventDefault());
6899
6899
  });
6900
- }), da(() => {
6900
+ }), fa(() => {
6901
6901
  s.forEach((d) => {
6902
6902
  document.body.removeEventListener(
6903
6903
  d,
@@ -6924,7 +6924,7 @@ const A5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], T5 = {
6924
6924
  return (d, u) => {
6925
6925
  var v;
6926
6926
  return c(), m("div", {
6927
- class: x([
6927
+ class: G([
6928
6928
  "ao-files__wrapper",
6929
6929
  {
6930
6930
  "ao-files__wrapper--drop-active": o.value
@@ -6946,14 +6946,14 @@ const A5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], T5 = {
6946
6946
  target: "_blank",
6947
6947
  rel: "noopener noreferrer"
6948
6948
  }, [
6949
- T(ce, {
6949
+ S(ce, {
6950
6950
  class: "ao-file__icon",
6951
6951
  name: "AttachFileRounded",
6952
6952
  size: "sm"
6953
6953
  }),
6954
6954
  f("span", E5, Z(p.name), 1)
6955
6955
  ], 8, S5),
6956
- d.isEditable ? (c(), R(fe, {
6956
+ d.isEditable ? (c(), N(fe, {
6957
6957
  key: 0,
6958
6958
  class: "ao-files__delete-button",
6959
6959
  "icon-name": "DeleteOutlineRounded",
@@ -6986,7 +6986,7 @@ const A5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], T5 = {
6986
6986
  const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { class: "ao-comment__content-wrapper" }, N5 = { class: "ao-comment__created-at" }, R5 = {
6987
6987
  key: 1,
6988
6988
  class: "ao-comment__footer"
6989
- }, U5 = /* @__PURE__ */ K({
6989
+ }, U5 = /* @__PURE__ */ Y({
6990
6990
  __name: "AoComment",
6991
6991
  props: {
6992
6992
  user: {},
@@ -7000,7 +7000,7 @@ const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { c
7000
7000
  const t = a, n = b(() => {
7001
7001
  const A = t.user;
7002
7002
  return A ? `${A == null ? void 0 : A.firstName} ${A == null ? void 0 : A.lastName}` : null;
7003
- }), s = J(null), { isEditing: o, toggleIsEditing: i, onUpdate: l, onDiscard: r } = fa(s), d = b(() => A1(t.createdAt)), u = b(() => A1(t.editedAt)), v = b(() => o.value ? "textarea" : "p"), p = r(), C = l((A) => {
7003
+ }), s = J(null), { isEditing: o, toggleIsEditing: i, onUpdate: l, onDiscard: r } = pa(s), d = b(() => S1(t.createdAt)), u = b(() => S1(t.editedAt)), v = b(() => o.value ? "textarea" : "p"), p = r(), C = l((A) => {
7004
7004
  e("edit", A);
7005
7005
  }), w = () => {
7006
7006
  e("remove");
@@ -7016,7 +7016,7 @@ const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { c
7016
7016
  }), (A, g) => {
7017
7017
  var y;
7018
7018
  return c(), m("li", H5, [
7019
- n.value ? (c(), R(gt, {
7019
+ n.value ? (c(), N(gt, {
7020
7020
  key: 0,
7021
7021
  "avatar-url": (y = A.user) == null ? void 0 : y.avatarUrl,
7022
7022
  "user-name": n.value,
@@ -7024,7 +7024,7 @@ const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { c
7024
7024
  }, null, 8, ["avatar-url", "user-name"])) : k("", !0),
7025
7025
  f("div", P5, [
7026
7026
  f("div", B5, [
7027
- (c(), R(Xe(v.value), {
7027
+ (c(), N(Xe(v.value), {
7028
7028
  ref_key: "commentContent",
7029
7029
  ref: s,
7030
7030
  class: "ao-comment__content",
@@ -7045,14 +7045,14 @@ const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { c
7045
7045
  ]),
7046
7046
  A.isEditable ? (c(), m("div", R5, [
7047
7047
  q(o) ? (c(), m(ve, { key: 0 }, [
7048
- T(fe, {
7048
+ S(fe, {
7049
7049
  "icon-name": "CloseRounded",
7050
7050
  size: "sm",
7051
7051
  variant: "ghost",
7052
7052
  color: "neutral",
7053
7053
  onClick: q(p)
7054
7054
  }, null, 8, ["onClick"]),
7055
- T(fe, {
7055
+ S(fe, {
7056
7056
  "icon-name": "CheckSmallRounded",
7057
7057
  size: "sm",
7058
7058
  variant: "solid",
@@ -7060,14 +7060,14 @@ const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { c
7060
7060
  onClick: q(C)
7061
7061
  }, null, 8, ["onClick"])
7062
7062
  ], 64)) : (c(), m(ve, { key: 1 }, [
7063
- T(fe, {
7063
+ S(fe, {
7064
7064
  label: A.$t("activity.comment.delete"),
7065
7065
  size: "sm",
7066
7066
  variant: "ghost",
7067
7067
  color: "neutral",
7068
7068
  onClick: w
7069
7069
  }, null, 8, ["label"]),
7070
- T(fe, {
7070
+ S(fe, {
7071
7071
  label: A.$t("activity.comment.edit"),
7072
7072
  size: "sm",
7073
7073
  variant: "ghost",
@@ -7083,7 +7083,7 @@ const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { c
7083
7083
  const j5 = {
7084
7084
  key: 0,
7085
7085
  class: "ao-comments__list"
7086
- }, Z5 = { class: "ao-comments__footer" }, F5 = ["onSubmit"], q5 = { class: "ao-field ao-field--full" }, z5 = { class: "ao-field__label" }, W5 = { class: "ao-comments__form-footer" }, Y5 = /* @__PURE__ */ K({
7086
+ }, Z5 = { class: "ao-comments__footer" }, F5 = ["onSubmit"], q5 = { class: "ao-field ao-field--full" }, z5 = { class: "ao-field__label" }, W5 = { class: "ao-comments__form-footer" }, Y5 = /* @__PURE__ */ Y({
7087
7087
  __name: "AoActivityDetailsComments",
7088
7088
  props: {
7089
7089
  comments: { default: () => [] },
@@ -7123,7 +7123,7 @@ const j5 = {
7123
7123
  class: "ao-comments"
7124
7124
  }, [
7125
7125
  ((p = u.comments) == null ? void 0 : p.length) > 0 ? (c(), m("ul", j5, [
7126
- (c(!0), m(ve, null, ye(u.comments, (C) => (c(), R(U5, {
7126
+ (c(!0), m(ve, null, ye(u.comments, (C) => (c(), N(U5, {
7127
7127
  key: C.id,
7128
7128
  user: n(C.author.id),
7129
7129
  content: C.message,
@@ -7156,7 +7156,7 @@ const j5 = {
7156
7156
  ])
7157
7157
  ]),
7158
7158
  f("div", W5, [
7159
- T(fe, {
7159
+ S(fe, {
7160
7160
  type: "submit",
7161
7161
  "icon-name": "SendRounded",
7162
7162
  color: "primary",
@@ -7188,7 +7188,7 @@ const K5 = {
7188
7188
  }, H7 = { class: "ao-field ao-field--multiselect" }, P7 = { class: "ao-field__label" }, B7 = {
7189
7189
  key: 0,
7190
7190
  class: "ao-activity-details__aside"
7191
- }, N7 = { class: "ao-fieldset__title" }, R7 = { class: "ao-fieldset__title" }, N1 = /* @__PURE__ */ K({
7191
+ }, N7 = { class: "ao-fieldset__title" }, R7 = { class: "ao-fieldset__title" }, U1 = /* @__PURE__ */ Y({
7192
7192
  __name: "AoActivityDetails",
7193
7193
  props: {
7194
7194
  activity: {},
@@ -7334,7 +7334,7 @@ const K5 = {
7334
7334
  activityId: t.activity.id,
7335
7335
  file: h
7336
7336
  });
7337
- }, G = b(() => {
7337
+ }, X = b(() => {
7338
7338
  var h;
7339
7339
  return (h = t.statuses) == null ? void 0 : h.map((O) => ({
7340
7340
  value: O.id,
@@ -7355,24 +7355,24 @@ const K5 = {
7355
7355
  }, de = (h) => {
7356
7356
  e("removeComment", h);
7357
7357
  };
7358
- return (h, O) => (c(), R(L1, {
7358
+ return (h, O) => (c(), N(D1, {
7359
7359
  onClose: O[9] || (O[9] = (z) => h.$emit("close"))
7360
7360
  }, {
7361
7361
  header: U(() => [
7362
7362
  h.breadcrumbs ? (c(), m("div", K5, Z(h.breadcrumbs), 1)) : k("", !0),
7363
- T(Ce, {
7363
+ S(Ce, {
7364
7364
  title: h.activity.name || "",
7365
7365
  level: 4,
7366
7366
  "is-editable": h.isEditable,
7367
7367
  "onUpdate:title": n
7368
7368
  }, null, 8, ["title", "is-editable"]),
7369
- X(h.$slots, "header", {}, () => {
7369
+ x(h.$slots, "header", {}, () => {
7370
7370
  var z;
7371
7371
  return [
7372
- G.value ? (c(), m("label", G5, [
7372
+ X.value ? (c(), m("label", G5, [
7373
7373
  f("span", x5, Z(h.$t("activity.status.label")), 1),
7374
- T(be, {
7375
- options: G.value,
7374
+ S(be, {
7375
+ options: X.value,
7376
7376
  value: (z = h.activity.status) == null ? void 0 : z.id,
7377
7377
  "can-clear": !1,
7378
7378
  "can-deselect": !1,
@@ -7438,7 +7438,7 @@ const K5 = {
7438
7438
  type: "checkbox"
7439
7439
  }, null, 8, u7), [
7440
7440
  [
7441
- x1,
7441
+ Q1,
7442
7442
  i.value,
7443
7443
  void 0,
7444
7444
  { lazy: !0 }
@@ -7454,7 +7454,7 @@ const K5 = {
7454
7454
  type: "checkbox"
7455
7455
  }, null, 8, f7), [
7456
7456
  [
7457
- x1,
7457
+ Q1,
7458
7458
  l.value,
7459
7459
  void 0,
7460
7460
  { lazy: !0 }
@@ -7465,8 +7465,8 @@ const K5 = {
7465
7465
  ]),
7466
7466
  l.value ? k("", !0) : (c(), m("fieldset", v7, [
7467
7467
  f("div", p7, [
7468
- T(ce, { name: "AccountBoxSharp" }),
7469
- T(Ce, {
7468
+ S(ce, { name: "AccountBoxSharp" }),
7469
+ S(Ce, {
7470
7470
  level: 4,
7471
7471
  title: h.$t("activity.assignee.title")
7472
7472
  }, null, 8, ["title"])
@@ -7474,7 +7474,7 @@ const K5 = {
7474
7474
  f("div", h7, [
7475
7475
  f("div", m7, [
7476
7476
  f("div", C7, [
7477
- T(be, {
7477
+ S(be, {
7478
7478
  modelValue: j.value,
7479
7479
  "onUpdate:modelValue": O[4] || (O[4] = (z) => j.value = z),
7480
7480
  options: L.value,
@@ -7491,7 +7491,7 @@ const K5 = {
7491
7491
  option: z,
7492
7492
  handleTagRemove: ae
7493
7493
  }) => [
7494
- T(gt, {
7494
+ S(gt, {
7495
7495
  "user-name": z.label,
7496
7496
  "avatar-url": z.avatar,
7497
7497
  "is-closable": !0,
@@ -7506,14 +7506,14 @@ const K5 = {
7506
7506
  ])),
7507
7507
  f("fieldset", _7, [
7508
7508
  f("div", g7, [
7509
- T(ce, { name: "SelectCheckBox" }),
7510
- T(Ce, {
7509
+ S(ce, { name: "SelectCheckBox" }),
7510
+ S(Ce, {
7511
7511
  level: 4,
7512
7512
  title: h.$t("activity.tasks.title")
7513
7513
  }, null, 8, ["title"])
7514
7514
  ]),
7515
7515
  f("div", y7, [
7516
- T(k5, {
7516
+ S(k5, {
7517
7517
  class: "ao-activity-details__tasks ao-field__row",
7518
7518
  tasks: h.activity.tasks || [],
7519
7519
  "activity-id": h.activity.id,
@@ -7529,8 +7529,8 @@ const K5 = {
7529
7529
  ]),
7530
7530
  f("fieldset", b7, [
7531
7531
  f("div", w7, [
7532
- T(ce, { name: "FlowsheetOutlineRounded" }),
7533
- T(Ce, {
7532
+ S(ce, { name: "FlowsheetOutlineRounded" }),
7533
+ S(Ce, {
7534
7534
  level: 4,
7535
7535
  title: h.$t("activity.dependencies.title")
7536
7536
  }, null, 8, ["title"])
@@ -7539,7 +7539,7 @@ const K5 = {
7539
7539
  f("div", M7, [
7540
7540
  f("label", k7, [
7541
7541
  f("span", A7, Z(h.$t("activity.dependingOn.label")), 1),
7542
- T(be, {
7542
+ S(be, {
7543
7543
  modelValue: u.value,
7544
7544
  "onUpdate:modelValue": O[5] || (O[5] = (z) => u.value = z),
7545
7545
  mode: "tags",
@@ -7554,7 +7554,7 @@ const K5 = {
7554
7554
  f("div", T7, [
7555
7555
  f("label", S7, [
7556
7556
  f("span", E7, Z(h.$t("activity.blocking.label")), 1),
7557
- T(be, {
7557
+ S(be, {
7558
7558
  modelValue: p.value,
7559
7559
  "onUpdate:modelValue": O[6] || (O[6] = (z) => p.value = z),
7560
7560
  mode: "tags",
@@ -7569,7 +7569,7 @@ const K5 = {
7569
7569
  f("div", I7, [
7570
7570
  f("label", O7, [
7571
7571
  f("span", L7, Z(h.$t("activity.dependingMilestone.label")), 1),
7572
- T(be, {
7572
+ S(be, {
7573
7573
  modelValue: $.value,
7574
7574
  "onUpdate:modelValue": O[7] || (O[7] = (z) => $.value = z),
7575
7575
  mode: "tags",
@@ -7587,7 +7587,7 @@ const K5 = {
7587
7587
  h.activityTypes ? (c(), m("div", D7, [
7588
7588
  f("label", H7, [
7589
7589
  f("span", P7, Z(h.$t("activity.type.label")), 1),
7590
- T(be, {
7590
+ S(be, {
7591
7591
  modelValue: r.value,
7592
7592
  "onUpdate:modelValue": O[8] || (O[8] = (z) => r.value = z),
7593
7593
  mode: "single",
@@ -7599,31 +7599,31 @@ const K5 = {
7599
7599
  }, null, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
7600
7600
  ])
7601
7601
  ])) : k("", !0),
7602
- X(h.$slots, "default")
7602
+ x(h.$slots, "default", { activity: h.activity })
7603
7603
  ])
7604
7604
  ]),
7605
7605
  h.isTemplate !== !0 && h.userId ? (c(), m("div", B7, [
7606
7606
  f("div", N7, [
7607
- T(ce, { name: "AttachFileRounded" }),
7608
- T(Ce, {
7607
+ S(ce, { name: "AttachFileRounded" }),
7608
+ S(Ce, {
7609
7609
  level: 4,
7610
7610
  title: h.$t("activity.attachments.title")
7611
7611
  }, null, 8, ["title"])
7612
7612
  ]),
7613
- T(D5, {
7613
+ S(D5, {
7614
7614
  attachments: h.activity.attachments,
7615
7615
  "is-editable": h.isEditable,
7616
7616
  onAdd: W,
7617
7617
  onRemove: H
7618
7618
  }, null, 8, ["attachments", "is-editable"]),
7619
7619
  f("div", R7, [
7620
- T(ce, { name: "ChatOutline" }),
7621
- T(Ce, {
7620
+ S(ce, { name: "ChatOutline" }),
7621
+ S(Ce, {
7622
7622
  level: 4,
7623
7623
  title: h.$t("activity.comments.title")
7624
7624
  }, null, 8, ["title"])
7625
7625
  ]),
7626
- T(Y5, {
7626
+ S(Y5, {
7627
7627
  comments: h.activity.comments,
7628
7628
  users: h.users,
7629
7629
  "user-id": h.userId,
@@ -7637,7 +7637,7 @@ const K5 = {
7637
7637
  }));
7638
7638
  }
7639
7639
  });
7640
- const U7 = /* @__PURE__ */ K({
7640
+ const U7 = /* @__PURE__ */ Y({
7641
7641
  __name: "AoRuleLine",
7642
7642
  props: {
7643
7643
  rule: {},
@@ -7711,24 +7711,24 @@ const U7 = /* @__PURE__ */ K({
7711
7711
  e("update:rule", { ...t.rule, durationUnit: g });
7712
7712
  }
7713
7713
  }), A = b(() => Object.values($d));
7714
- return (g, y) => (c(), R(Xe(g.tagName), { class: "ao-rule-line" }, {
7714
+ return (g, y) => (c(), N(Xe(g.tagName), { class: "ao-rule-line" }, {
7715
7715
  default: U(() => [
7716
- T(q(We), {
7716
+ S(q(We), {
7717
7717
  modelValue: s.value,
7718
7718
  "onUpdate:modelValue": y[0] || (y[0] = (L) => s.value = L),
7719
7719
  options: o.value
7720
7720
  }, null, 8, ["modelValue", "options"]),
7721
- T(q(We), {
7721
+ S(q(We), {
7722
7722
  modelValue: i.value,
7723
7723
  "onUpdate:modelValue": y[1] || (y[1] = (L) => i.value = L),
7724
7724
  options: l.value
7725
7725
  }, null, 8, ["modelValue", "options"]),
7726
- T(q(We), {
7726
+ S(q(We), {
7727
7727
  modelValue: p.value,
7728
7728
  "onUpdate:modelValue": y[2] || (y[2] = (L) => p.value = L),
7729
7729
  options: C.value
7730
7730
  }, null, 8, ["modelValue", "options"]),
7731
- T(q(We), {
7731
+ S(q(We), {
7732
7732
  modelValue: d.value,
7733
7733
  "onUpdate:modelValue": y[3] || (y[3] = (L) => d.value = L),
7734
7734
  options: u.value
@@ -7745,12 +7745,12 @@ const U7 = /* @__PURE__ */ K({
7745
7745
  { number: !0 }
7746
7746
  ]
7747
7747
  ]),
7748
- T(q(We), {
7748
+ S(q(We), {
7749
7749
  modelValue: $.value,
7750
7750
  "onUpdate:modelValue": y[5] || (y[5] = (L) => $.value = L),
7751
7751
  options: A.value
7752
7752
  }, null, 8, ["modelValue", "options"]),
7753
- T(fe, {
7753
+ S(fe, {
7754
7754
  class: "ao-rule-line__remove",
7755
7755
  "icon-name": "CloseRounded",
7756
7756
  variant: "ghost",
@@ -7761,7 +7761,7 @@ const U7 = /* @__PURE__ */ K({
7761
7761
  }));
7762
7762
  }
7763
7763
  });
7764
- const j7 = { class: "ao-template-rules__body" }, Z7 = { class: "ao-template-rules__list" }, F7 = /* @__PURE__ */ K({
7764
+ const j7 = { class: "ao-template-rules__body" }, Z7 = { class: "ao-template-rules__list" }, F7 = /* @__PURE__ */ Y({
7765
7765
  __name: "AoTemplateRules",
7766
7766
  props: {
7767
7767
  templateId: {},
@@ -7777,9 +7777,9 @@ const j7 = { class: "ao-template-rules__body" }, Z7 = { class: "ao-template-rule
7777
7777
  }, n = (s) => {
7778
7778
  e("removeRule", s);
7779
7779
  };
7780
- return (s, o) => (c(), R(L1, null, {
7780
+ return (s, o) => (c(), N(D1, null, {
7781
7781
  header: U(() => [
7782
- T(Ce, {
7782
+ S(Ce, {
7783
7783
  title: s.$t("template.rules.title"),
7784
7784
  level: 2
7785
7785
  }, null, 8, ["title"])
@@ -7787,7 +7787,7 @@ const j7 = { class: "ao-template-rules__body" }, Z7 = { class: "ao-template-rule
7787
7787
  default: U(() => [
7788
7788
  f("div", j7, [
7789
7789
  f("ul", Z7, [
7790
- (c(!0), m(ve, null, ye(s.rules, (i) => (c(), R(U7, {
7790
+ (c(!0), m(ve, null, ye(s.rules, (i) => (c(), N(U7, {
7791
7791
  key: i.id,
7792
7792
  rule: i,
7793
7793
  "template-phases": s.templatePhases,
@@ -7797,7 +7797,7 @@ const j7 = { class: "ao-template-rules__body" }, Z7 = { class: "ao-template-rule
7797
7797
  onClose: () => n(i.id)
7798
7798
  }, null, 8, ["rule", "template-phases", "template-milestones", "template-activities", "onClose"]))), 128))
7799
7799
  ]),
7800
- T(Je, {
7800
+ S(Je, {
7801
7801
  label: s.$t("template.rules.add"),
7802
7802
  "icon-name": "Add",
7803
7803
  onClick: t
@@ -7818,7 +7818,7 @@ function ht(a, e, t) {
7818
7818
  const q7 = {
7819
7819
  key: 0,
7820
7820
  class: "ao-template-details"
7821
- }, z7 = { class: "ao-template-details__body" }, W7 = { class: "ao-template-details__cols" }, Y7 = { class: "ao-template-details__col" }, K7 = { class: "ao-list__footer" }, G7 = { class: "ao-template-details__col" }, x7 = { class: "ao-template-details__col" }, X7 = /* @__PURE__ */ K({
7821
+ }, z7 = { class: "ao-template-details__body" }, W7 = { class: "ao-template-details__cols" }, Y7 = { class: "ao-template-details__col" }, K7 = { class: "ao-list__footer" }, G7 = { class: "ao-template-details__col" }, x7 = { class: "ao-template-details__col" }, X7 = /* @__PURE__ */ Y({
7822
7822
  __name: "AoTemplateDetails",
7823
7823
  props: {
7824
7824
  templateId: {},
@@ -7886,11 +7886,11 @@ const q7 = {
7886
7886
  }), d = b(() => {
7887
7887
  var I, V;
7888
7888
  return ((V = (I = s.value) == null ? void 0 : I.phases) == null ? void 0 : V.reduce((F, ne) => {
7889
- const Y = (ne.milestones || []).reduce(
7889
+ const K = (ne.milestones || []).reduce(
7890
7890
  (ie, B) => B.activities ? [...ie, ...B.activities] : ie,
7891
7891
  []
7892
7892
  );
7893
- return [...F, ...Y];
7893
+ return [...F, ...K];
7894
7894
  }, [])) || [];
7895
7895
  }), u = b(() => {
7896
7896
  var I, V;
@@ -8007,7 +8007,7 @@ const q7 = {
8007
8007
  id: I.id
8008
8008
  }
8009
8009
  });
8010
- }, G = (I) => {
8010
+ }, X = (I) => {
8011
8011
  const { id: V, ...F } = I;
8012
8012
  e("updateItem", {
8013
8013
  itemType: me.ACTIVITIES,
@@ -8065,19 +8065,19 @@ const q7 = {
8065
8065
  e("removeFile", I);
8066
8066
  };
8067
8067
  return (I, V) => {
8068
- var F, ne, M, Y, ie, B;
8068
+ var F, ne, M, K, ie, B;
8069
8069
  return s.value ? (c(), m("div", q7, [
8070
- T(r1, {
8070
+ S(d1, {
8071
8071
  "can-go-back": !0,
8072
- onGoBack: V[1] || (V[1] = (S) => I.$router.push({ name: q(ft).TEMPLATES_LIST }))
8072
+ onGoBack: V[1] || (V[1] = (T) => I.$router.push({ name: q(ft).TEMPLATES_LIST }))
8073
8073
  }, {
8074
8074
  primary: U(() => [
8075
- T(Ce, {
8075
+ S(Ce, {
8076
8076
  title: p.value,
8077
8077
  level: 2,
8078
8078
  "is-editable": !0,
8079
- "onUpdate:title": V[0] || (V[0] = (S) => {
8080
- w(S);
8079
+ "onUpdate:title": V[0] || (V[0] = (T) => {
8080
+ w(T);
8081
8081
  })
8082
8082
  }, null, 8, ["title"])
8083
8083
  ]),
@@ -8086,7 +8086,7 @@ const q7 = {
8086
8086
  f("div", z7, [
8087
8087
  f("ol", W7, [
8088
8088
  f("li", Y7, [
8089
- T(q(Qe), {
8089
+ S(q(Qe), {
8090
8090
  "model-value": s.value.phases,
8091
8091
  class: "ao-templates__list",
8092
8092
  "item-key": "id",
@@ -8094,34 +8094,34 @@ const q7 = {
8094
8094
  onChange: h
8095
8095
  }, {
8096
8096
  header: U(() => [
8097
- T(Ce, {
8097
+ S(Ce, {
8098
8098
  title: I.$t("template.phases.title"),
8099
8099
  level: 3,
8100
8100
  class: "ao-list__title"
8101
8101
  }, null, 8, ["title"])
8102
8102
  ]),
8103
- item: U(({ element: S }) => {
8104
- var N;
8103
+ item: U(({ element: T }) => {
8104
+ var R;
8105
8105
  return [
8106
- T(W0, {
8107
- id: S.id,
8108
- name: S.name,
8109
- milestones: S.milestones,
8110
- "is-active": ((N = i.value) == null ? void 0 : N.id) === S.id,
8106
+ S(W0, {
8107
+ id: T.id,
8108
+ name: T.name,
8109
+ milestones: T.milestones,
8110
+ "is-active": ((R = i.value) == null ? void 0 : R.id) === T.id,
8111
8111
  "is-draggable": !0,
8112
8112
  onClick: (pe) => I.$router.push({
8113
- params: { templateId: I.templateId, phaseId: S.id }
8113
+ params: { templateId: I.templateId, phaseId: T.id }
8114
8114
  }),
8115
8115
  "onUpdate:title": (pe) => {
8116
- A(S.id, pe);
8116
+ A(T.id, pe);
8117
8117
  },
8118
- onRemove: () => $(S.id)
8118
+ onRemove: () => $(T.id)
8119
8119
  }, null, 8, ["id", "name", "milestones", "is-active", "onClick", "onUpdate:title", "onRemove"])
8120
8120
  ];
8121
8121
  }),
8122
8122
  footer: U(() => [
8123
8123
  f("div", K7, [
8124
- T(Je, {
8124
+ S(Je, {
8125
8125
  "icon-name": "AddBoxOutlineRounded",
8126
8126
  label: I.$t("template.phases.add"),
8127
8127
  onClick: C
@@ -8132,7 +8132,7 @@ const q7 = {
8132
8132
  }, 8, ["model-value"])
8133
8133
  ]),
8134
8134
  f("li", G7, [
8135
- i.value ? (c(), R(G0, {
8135
+ i.value ? (c(), N(G0, {
8136
8136
  key: 0,
8137
8137
  "template-id": I.templateId,
8138
8138
  phase: i.value,
@@ -8144,33 +8144,33 @@ const q7 = {
8144
8144
  }, null, 8, ["template-id", "phase", "milestone-id"])) : k("", !0)
8145
8145
  ]),
8146
8146
  f("li", x7, [
8147
- i.value && l.value ? (c(), R(Q0, {
8147
+ i.value && l.value ? (c(), N(Q0, {
8148
8148
  key: 0,
8149
8149
  "template-id": I.templateId,
8150
8150
  "phase-id": (ne = i.value) == null ? void 0 : ne.id,
8151
8151
  milestone: l.value,
8152
8152
  "activity-id": (M = u.value) == null ? void 0 : M.id,
8153
8153
  onAddActivity: W,
8154
- onUpdateActivity: G,
8154
+ onUpdateActivity: X,
8155
8155
  onRemoveActivity: H
8156
8156
  }, null, 8, ["template-id", "phase-id", "milestone", "activity-id"])) : k("", !0)
8157
8157
  ])
8158
8158
  ])
8159
8159
  ]),
8160
- (c(), R(It, { to: "body" }, [
8161
- u.value ? (c(), R(N1, {
8160
+ (c(), N(It, { to: "body" }, [
8161
+ u.value ? (c(), N(U1, {
8162
8162
  key: 0,
8163
8163
  activity: u.value,
8164
8164
  "activity-types": v.value,
8165
- breadcrumbs: `${s.value.name} / ${(Y = i.value) == null ? void 0 : Y.name} / ${(ie = l.value) == null ? void 0 : ie.name}`,
8165
+ breadcrumbs: `${s.value.name} / ${(K = i.value) == null ? void 0 : K.name} / ${(ie = l.value) == null ? void 0 : ie.name}`,
8166
8166
  "milestone-id": (B = l.value) == null ? void 0 : B.id,
8167
8167
  "template-activities": d.value,
8168
8168
  "template-milestones": r.value,
8169
8169
  "is-template": !0,
8170
8170
  "is-editable": !0,
8171
8171
  users: I.users,
8172
- "onUpdate:activity": V[2] || (V[2] = (S) => {
8173
- u.value && G(S);
8172
+ "onUpdate:activity": V[2] || (V[2] = (T) => {
8173
+ u.value && X(T);
8174
8174
  }),
8175
8175
  onClose: I.$router.back,
8176
8176
  onAddSubtask: O,
@@ -8179,14 +8179,14 @@ const q7 = {
8179
8179
  onAddFiles: re,
8180
8180
  onRemoveFile: oe
8181
8181
  }, {
8182
- default: U(() => [
8183
- X(I.$slots, "activityDetailsBody")
8182
+ default: U((T) => [
8183
+ x(I.$slots, "activityDetailsBody", a1(s1(T)))
8184
8184
  ]),
8185
8185
  _: 3
8186
8186
  }, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : k("", !0)
8187
8187
  ])),
8188
- (c(), R(It, { to: "body" }, [
8189
- te.value ? (c(), R(F7, {
8188
+ (c(), N(It, { to: "body" }, [
8189
+ te.value ? (c(), N(F7, {
8190
8190
  key: 0,
8191
8191
  "template-id": s.value.id,
8192
8192
  rules: s.value.rules || [],
@@ -8208,32 +8208,32 @@ const Q7 = {
8208
8208
  }, J7 = { class: "ao-card__body" }, e9 = {
8209
8209
  key: 1,
8210
8210
  class: "ao-card__footer"
8211
- }, R1 = /* @__PURE__ */ K({
8211
+ }, j1 = /* @__PURE__ */ Y({
8212
8212
  __name: "AoCard",
8213
8213
  props: {
8214
8214
  isClickable: { type: Boolean },
8215
8215
  tagName: { default: "div" }
8216
8216
  },
8217
8217
  setup(a) {
8218
- return (e, t) => (c(), R(Xe(e.tagName), {
8219
- class: x(["ao-card", { "ao-card--clickable": e.isClickable }])
8218
+ return (e, t) => (c(), N(Xe(e.tagName), {
8219
+ class: G(["ao-card", { "ao-card--clickable": e.isClickable }])
8220
8220
  }, {
8221
8221
  default: U(() => [
8222
8222
  e.$slots.header ? (c(), m("header", Q7, [
8223
- X(e.$slots, "header")
8223
+ x(e.$slots, "header")
8224
8224
  ])) : k("", !0),
8225
8225
  f("div", J7, [
8226
- X(e.$slots, "default")
8226
+ x(e.$slots, "default")
8227
8227
  ]),
8228
8228
  e.$slots.footer ? (c(), m("footer", e9, [
8229
- X(e.$slots, "footer")
8229
+ x(e.$slots, "footer")
8230
8230
  ])) : k("", !0)
8231
8231
  ]),
8232
8232
  _: 3
8233
8233
  }, 8, ["class"]));
8234
8234
  }
8235
8235
  });
8236
- const U1 = /* @__PURE__ */ K({
8236
+ const Z1 = /* @__PURE__ */ Y({
8237
8237
  __name: "AoProgress",
8238
8238
  props: {
8239
8239
  percentages: {},
@@ -8242,13 +8242,13 @@ const U1 = /* @__PURE__ */ K({
8242
8242
  setup(a) {
8243
8243
  const e = a, t = b(() => typeof e.percentages == "number" ? [e.percentages] : e.percentages ?? []);
8244
8244
  return (n, s) => (c(), m("div", {
8245
- class: x(["ao-progress", n.status ? `ao-progress--${n.status}` : ""]),
8245
+ class: G(["ao-progress", n.status ? `ao-progress--${n.status}` : ""]),
8246
8246
  role: "meter"
8247
8247
  }, [
8248
8248
  (c(!0), m(ve, null, ye(t.value, (o) => (c(), m("div", {
8249
8249
  key: o,
8250
- class: x(["ao-progress__progress"]),
8251
- style: ua({ width: `${o * 100}%` })
8250
+ class: G(["ao-progress__progress"]),
8251
+ style: ca({ width: `${o * 100}%` })
8252
8252
  }, null, 4))), 128))
8253
8253
  ], 2));
8254
8254
  }
@@ -8256,7 +8256,7 @@ const U1 = /* @__PURE__ */ K({
8256
8256
  const t9 = { class: "ao-card-project-phase__header" }, a9 = { class: "ao-card-project-phase__footer" }, s9 = { class: "ao-card-project-phase__footer-row" }, n9 = { class: "ao-card-project-phase__subitem" }, i9 = { class: "ao-card-project-phase__subitem" }, o9 = {
8257
8257
  key: 1,
8258
8258
  class: "ao-card-project-phase__secondary"
8259
- }, l9 = /* @__PURE__ */ K({
8259
+ }, l9 = /* @__PURE__ */ Y({
8260
8260
  __name: "AoCardProjectItemPhase",
8261
8261
  props: {
8262
8262
  id: {},
@@ -8274,11 +8274,11 @@ const t9 = { class: "ao-card-project-phase__header" }, a9 = { class: "ao-card-pr
8274
8274
  return (l = t.milestones) == null ? void 0 : l.length;
8275
8275
  }), o = b(() => {
8276
8276
  var l;
8277
- return (l = t.milestones) == null ? void 0 : l.filter((r) => r.status === k1.done).length;
8277
+ return (l = t.milestones) == null ? void 0 : l.filter((r) => r.status === T1.done).length;
8278
8278
  }), i = b(() => (o.value || 0) / (s.value || 1));
8279
- return (l, r) => (c(), R(R1, { class: "ao-card-project-phase" }, t1({
8279
+ return (l, r) => (c(), N(j1, { class: "ao-card-project-phase" }, t1({
8280
8280
  default: U(() => [
8281
- T(Ce, {
8281
+ S(Ce, {
8282
8282
  id: l.id,
8283
8283
  class: "ao-card-project-phase__title",
8284
8284
  title: l.name || "",
@@ -8292,19 +8292,19 @@ const t9 = { class: "ao-card-project-phase__header" }, a9 = { class: "ao-card-pr
8292
8292
  f("div", s9, [
8293
8293
  s.value ? (c(), m(ve, { key: 0 }, [
8294
8294
  f("div", n9, [
8295
- T(ce, {
8295
+ S(ce, {
8296
8296
  name: "MountainFlagOutlineRounded",
8297
8297
  size: "sm"
8298
8298
  }),
8299
8299
  f("span", i9, Z(o.value) + " / " + Z(s.value), 1)
8300
8300
  ]),
8301
- T(U1, {
8301
+ S(Z1, {
8302
8302
  percentages: i.value,
8303
8303
  class: "ao-card-project-phase__progress"
8304
8304
  }, null, 8, ["percentages"])
8305
8305
  ], 64)) : k("", !0),
8306
8306
  l.$slots.secondary ? (c(), m("div", o9, [
8307
- X(l.$slots, "secondary")
8307
+ x(l.$slots, "secondary")
8308
8308
  ])) : k("", !0)
8309
8309
  ])
8310
8310
  ])
@@ -8315,7 +8315,7 @@ const t9 = { class: "ao-card-project-phase__header" }, a9 = { class: "ao-card-pr
8315
8315
  name: "header",
8316
8316
  fn: U(() => [
8317
8317
  f("div", t9, [
8318
- T(fe, {
8318
+ S(fe, {
8319
8319
  class: "ao-card-project-phase__archive",
8320
8320
  color: "primary",
8321
8321
  variant: "ghost",
@@ -8339,7 +8339,7 @@ const r9 = { class: "ao-card-project-milestone__default" }, u9 = {
8339
8339
  }, d9 = { class: "ao-card-project-phase__footer" }, c9 = { class: "ao-card-project-phase__footer-row" }, f9 = { class: "ao-card-project-phase__subitem" }, v9 = { class: "ao-card-project-phase__subitem" }, p9 = {
8340
8340
  key: 1,
8341
8341
  class: "ao-card-project-phase__secondary"
8342
- }, h9 = /* @__PURE__ */ K({
8342
+ }, h9 = /* @__PURE__ */ Y({
8343
8343
  __name: "AoCardProjectItemMilestone",
8344
8344
  props: {
8345
8345
  id: {},
@@ -8355,18 +8355,18 @@ const r9 = { class: "ao-card-project-milestone__default" }, u9 = {
8355
8355
  return (l = t.activities) == null ? void 0 : l.length;
8356
8356
  }), s = b(() => {
8357
8357
  var l;
8358
- return (l = t.activities) == null ? void 0 : l.filter((r) => Aa(r, t.closedStatus)).length;
8358
+ return (l = t.activities) == null ? void 0 : l.filter((r) => Sa(r, t.closedStatus)).length;
8359
8359
  }), o = b(() => (s.value || 0) / (n.value || 1)), i = (l) => {
8360
8360
  e("updateMilestone", { id: t.id, name: l });
8361
8361
  };
8362
- return (l, r) => (c(), R(R1, {
8362
+ return (l, r) => (c(), N(j1, {
8363
8363
  class: "ao-card-project-milestone",
8364
8364
  "is-clickable": !0,
8365
8365
  "tag-name": "li"
8366
8366
  }, {
8367
8367
  default: U(() => [
8368
8368
  f("div", r9, [
8369
- T(Ce, {
8369
+ S(Ce, {
8370
8370
  id: l.id,
8371
8371
  title: l.name || "",
8372
8372
  level: 5,
@@ -8375,7 +8375,7 @@ const r9 = { class: "ao-card-project-milestone__default" }, u9 = {
8375
8375
  "onUpdate:title": i
8376
8376
  }, null, 8, ["id", "title", "is-editable"]),
8377
8377
  l.isEditable ? (c(), m("div", u9, [
8378
- T(fe, {
8378
+ S(fe, {
8379
8379
  color: "primary",
8380
8380
  variant: "ghost",
8381
8381
  "icon-name": "ArchiveOutlineRounded",
@@ -8393,19 +8393,19 @@ const r9 = { class: "ao-card-project-milestone__default" }, u9 = {
8393
8393
  f("div", c9, [
8394
8394
  n.value ? (c(), m(ve, { key: 0 }, [
8395
8395
  f("div", f9, [
8396
- T(ce, {
8396
+ S(ce, {
8397
8397
  name: "SelectCheckBox",
8398
8398
  size: "sm"
8399
8399
  }),
8400
8400
  f("span", v9, Z(s.value) + " / " + Z(n.value), 1)
8401
8401
  ]),
8402
- T(U1, {
8402
+ S(Z1, {
8403
8403
  percentages: o.value,
8404
8404
  class: "ao-card-project-phase__progress"
8405
8405
  }, null, 8, ["percentages"])
8406
8406
  ], 64)) : k("", !0),
8407
8407
  l.$slots.secondary ? (c(), m("div", p9, [
8408
- X(l.$slots, "secondary")
8408
+ x(l.$slots, "secondary")
8409
8409
  ])) : k("", !0)
8410
8410
  ])
8411
8411
  ])
@@ -8417,7 +8417,7 @@ const r9 = { class: "ao-card-project-milestone__default" }, u9 = {
8417
8417
  const m9 = { class: "ao-project-phase" }, C9 = {
8418
8418
  key: 0,
8419
8419
  class: "ao-project-phase__drag ao-card__drag"
8420
- }, _9 = { class: "ao-project-phase__col-phase" }, g9 = { class: "ao-project-phase__col-milestones" }, y9 = { class: "ao-project-phase__milestones" }, b9 = { class: "ao-project-phase__milestones-list-footer" }, w9 = /* @__PURE__ */ K({
8420
+ }, _9 = { class: "ao-project-phase__col-phase" }, g9 = { class: "ao-project-phase__col-milestones" }, y9 = { class: "ao-project-phase__milestones" }, b9 = { class: "ao-project-phase__milestones-list-footer" }, w9 = /* @__PURE__ */ Y({
8421
8421
  __name: "AoProjectPhase",
8422
8422
  props: {
8423
8423
  phase: {},
@@ -8453,13 +8453,13 @@ const m9 = { class: "ao-project-phase" }, C9 = {
8453
8453
  };
8454
8454
  return (v, p) => (c(), m("li", m9, [
8455
8455
  v.isEditable ? (c(), m("div", C9, [
8456
- T(ce, {
8456
+ S(ce, {
8457
8457
  name: "DragIndicator",
8458
8458
  class: "ao-project-phase__drag-handle"
8459
8459
  })
8460
8460
  ])) : k("", !0),
8461
8461
  f("div", _9, [
8462
- T(l9, {
8462
+ S(l9, {
8463
8463
  id: v.phase.id,
8464
8464
  milestones: o.value,
8465
8465
  name: v.phase.name,
@@ -8470,7 +8470,7 @@ const m9 = { class: "ao-project-phase" }, C9 = {
8470
8470
  ]),
8471
8471
  f("div", g9, [
8472
8472
  f("div", y9, [
8473
- T(q(Qe), Ee({
8473
+ S(q(Qe), Ee({
8474
8474
  class: "ao-project-phase__milestones-list",
8475
8475
  list: o.value,
8476
8476
  disabled: !v.isEditable,
@@ -8478,7 +8478,7 @@ const m9 = { class: "ao-project-phase" }, C9 = {
8478
8478
  group: "kanban"
8479
8479
  }, v.$attrs, { onChange: u }), {
8480
8480
  item: U(({ element: C }) => [
8481
- T(h9, {
8481
+ S(h9, {
8482
8482
  id: C.id,
8483
8483
  name: C.name,
8484
8484
  activities: C.activities,
@@ -8497,7 +8497,7 @@ const m9 = { class: "ao-project-phase" }, C9 = {
8497
8497
  _: 1
8498
8498
  }, 16, ["list", "disabled"]),
8499
8499
  f("div", b9, [
8500
- v.isEditable ? (c(), R(Je, {
8500
+ v.isEditable ? (c(), N(Je, {
8501
8501
  key: 0,
8502
8502
  label: v.$t("project.milestone.add"),
8503
8503
  class: "ao-project-phase__milestone-add",
@@ -8513,7 +8513,7 @@ const m9 = { class: "ao-project-phase" }, C9 = {
8513
8513
  const $9 = { class: "ao-project__phases" }, M9 = {
8514
8514
  key: 0,
8515
8515
  class: "ao-project-phase__phases-list-footer"
8516
- }, k9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__empty_drag" }, null, -1), A9 = { class: "ao-project-phase__col-phase" }, T9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__col-milestones" }, null, -1), S9 = /* @__PURE__ */ K({
8516
+ }, k9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__empty_drag" }, null, -1), A9 = { class: "ao-project-phase__col-phase" }, T9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__col-milestones" }, null, -1), S9 = /* @__PURE__ */ Y({
8517
8517
  __name: "AoProjectPhases",
8518
8518
  props: {
8519
8519
  phases: {},
@@ -8548,7 +8548,7 @@ const $9 = { class: "ao-project__phases" }, M9 = {
8548
8548
  e("addPhase", u);
8549
8549
  };
8550
8550
  return (u, v) => (c(), m("div", $9, [
8551
- T(q(Qe), {
8551
+ S(q(Qe), {
8552
8552
  class: "ao-project-phase__phases-list",
8553
8553
  "model-value": u.phases,
8554
8554
  "item-key": "id",
@@ -8556,7 +8556,7 @@ const $9 = { class: "ao-project__phases" }, M9 = {
8556
8556
  onChange: l
8557
8557
  }, {
8558
8558
  item: U(({ element: p }) => [
8559
- T(w9, {
8559
+ S(w9, {
8560
8560
  phase: p,
8561
8561
  "is-editable": u.isEditable,
8562
8562
  "closed-status": u.closedStatus,
@@ -8572,7 +8572,7 @@ const $9 = { class: "ao-project__phases" }, M9 = {
8572
8572
  u.isEditable ? (c(), m("div", M9, [
8573
8573
  k9,
8574
8574
  f("div", A9, [
8575
- T(Je, {
8575
+ S(Je, {
8576
8576
  label: u.$t("project.phases.add"),
8577
8577
  "icon-name": "Add",
8578
8578
  class: "ao-project-phase__add-phase",
@@ -8584,7 +8584,7 @@ const $9 = { class: "ao-project__phases" }, M9 = {
8584
8584
  ]));
8585
8585
  }
8586
8586
  });
8587
- const E9 = ["onSubmit"], I9 = { class: "ao-add-template-modal__form-body" }, O9 = { class: "field__row" }, L9 = { class: "ao-add-template-modal__form-footer" }, V9 = /* @__PURE__ */ K({
8587
+ const E9 = ["onSubmit"], I9 = { class: "ao-add-template-modal__form-body" }, O9 = { class: "field__row" }, L9 = { class: "ao-add-template-modal__form-footer" }, V9 = /* @__PURE__ */ Y({
8588
8588
  __name: "AoAddTemplateModal",
8589
8589
  props: {
8590
8590
  projectId: {},
@@ -8600,9 +8600,9 @@ const E9 = ["onSubmit"], I9 = { class: "ao-add-template-modal__form-body" }, O9
8600
8600
  }, i = () => {
8601
8601
  s.value && e("apply", s.value, t.projectId);
8602
8602
  };
8603
- return (l, r) => (c(), R(L1, { size: "sm" }, {
8603
+ return (l, r) => (c(), N(D1, { size: "sm" }, {
8604
8604
  header: U(() => [
8605
- T(Ce, {
8605
+ S(Ce, {
8606
8606
  title: l.$t("project.template.add.title"),
8607
8607
  level: 3
8608
8608
  }, null, 8, ["title"])
@@ -8614,7 +8614,7 @@ const E9 = ["onSubmit"], I9 = { class: "ao-add-template-modal__form-body" }, O9
8614
8614
  }, [
8615
8615
  f("div", I9, [
8616
8616
  f("div", O9, [
8617
- T(be, {
8617
+ S(be, {
8618
8618
  value: s.value,
8619
8619
  options: n.value,
8620
8620
  detached: !0,
@@ -8623,7 +8623,7 @@ const E9 = ["onSubmit"], I9 = { class: "ao-add-template-modal__form-body" }, O9
8623
8623
  ])
8624
8624
  ]),
8625
8625
  f("footer", L9, [
8626
- T(fe, {
8626
+ S(fe, {
8627
8627
  label: l.$t("project.template.add.label"),
8628
8628
  type: "submit",
8629
8629
  color: "primary",
@@ -8637,7 +8637,7 @@ const E9 = ["onSubmit"], I9 = { class: "ao-add-template-modal__form-body" }, O9
8637
8637
  }));
8638
8638
  }
8639
8639
  });
8640
- const D9 = K({
8640
+ const D9 = Y({
8641
8641
  props: {
8642
8642
  isLeft: {
8643
8643
  type: Boolean,
@@ -8670,7 +8670,7 @@ const H9 = { class: "toggle-wrapper" };
8670
8670
  function P9(a, e, t, n, s, o) {
8671
8671
  return c(), m("div", H9, [
8672
8672
  f("button", {
8673
- class: x({
8673
+ class: G({
8674
8674
  button: !0,
8675
8675
  "button--left": !0,
8676
8676
  "button--inactive": !a.isLeft
@@ -8679,7 +8679,7 @@ function P9(a, e, t, n, s, o) {
8679
8679
  onClick: e[0] || (e[0] = (...i) => a.selectLeft && a.selectLeft(...i))
8680
8680
  }, Z(a.leftLabel), 3),
8681
8681
  f("button", {
8682
- class: x({
8682
+ class: G({
8683
8683
  button: !0,
8684
8684
  "button--right": !0,
8685
8685
  "button--inactive": a.isLeft
@@ -8689,7 +8689,7 @@ function P9(a, e, t, n, s, o) {
8689
8689
  }, Z(a.rightLabel), 3)
8690
8690
  ]);
8691
8691
  }
8692
- const Ba = /* @__PURE__ */ P(D9, [["render", P9], ["__scopeId", "data-v-c0ae9237"]]), B9 = { class: "ao-project" }, N9 = { class: "ao-project__body" }, R9 = /* @__PURE__ */ K({
8692
+ const Ra = /* @__PURE__ */ P(D9, [["render", P9], ["__scopeId", "data-v-c0ae9237"]]), B9 = { class: "ao-project" }, N9 = { class: "ao-project__body" }, R9 = /* @__PURE__ */ Y({
8693
8693
  __name: "AoProjectOverviewProject",
8694
8694
  props: {
8695
8695
  project: {},
@@ -8743,17 +8743,17 @@ const Ba = /* @__PURE__ */ P(D9, [["render", P9], ["__scopeId", "data-v-c0ae9237
8743
8743
  e("updateComment", E);
8744
8744
  }, H = (E) => {
8745
8745
  e("removeComment", E);
8746
- }, G = J(!1), te = (E, ee) => {
8747
- e("applyTemplate", { templateId: E, projectId: ee }), G.value = !1;
8746
+ }, X = J(!1), te = (E, ee) => {
8747
+ e("applyTemplate", { templateId: E, projectId: ee }), X.value = !1;
8748
8748
  };
8749
8749
  return (E, ee) => {
8750
8750
  const de = hs("RouterView");
8751
8751
  return c(), m(ve, null, [
8752
8752
  f("div", Ee({ class: "ao-project-overview" }, E.$attrs), [
8753
8753
  f("div", B9, [
8754
- T(r1, null, {
8754
+ S(d1, null, {
8755
8755
  primary: U(() => [
8756
- T(Ba, {
8756
+ S(Ra, {
8757
8757
  "is-left": !0,
8758
8758
  "right-label": E.$t("project.switch.feed"),
8759
8759
  "left-label": E.$t("project.switch.overview"),
@@ -8761,18 +8761,18 @@ const Ba = /* @__PURE__ */ P(D9, [["render", P9], ["__scopeId", "data-v-c0ae9237
8761
8761
  h || E.$router.push({ name: q(He).feed });
8762
8762
  })
8763
8763
  }, null, 8, ["right-label", "left-label"]),
8764
- E.isEditable ? (c(), R(fe, {
8764
+ E.isEditable ? (c(), N(fe, {
8765
8765
  key: 0,
8766
8766
  class: "ao-project-overview__add-template",
8767
8767
  color: "primary",
8768
8768
  label: E.$t("project.template.add.label"),
8769
- onClick: ee[1] || (ee[1] = (h) => G.value = !0)
8769
+ onClick: ee[1] || (ee[1] = (h) => X.value = !0)
8770
8770
  }, null, 8, ["label"])) : k("", !0)
8771
8771
  ]),
8772
8772
  _: 1
8773
8773
  }),
8774
8774
  f("div", N9, [
8775
- T(S9, {
8775
+ S(S9, {
8776
8776
  phases: E.phases,
8777
8777
  "closed-status": E.closedStatus,
8778
8778
  "is-editable": E.isEditable,
@@ -8785,7 +8785,7 @@ const Ba = /* @__PURE__ */ P(D9, [["render", P9], ["__scopeId", "data-v-c0ae9237
8785
8785
  }, null, 8, ["phases", "closed-status", "is-editable"])
8786
8786
  ])
8787
8787
  ]),
8788
- T(de, {
8788
+ S(de, {
8789
8789
  class: "ao-project__sidebar",
8790
8790
  phases: E.phases,
8791
8791
  "project-id": E.project.id,
@@ -8797,8 +8797,8 @@ const Ba = /* @__PURE__ */ P(D9, [["render", P9], ["__scopeId", "data-v-c0ae9237
8797
8797
  onUpdateActivity: p,
8798
8798
  onArchiveActivity: C
8799
8799
  }, null, 8, ["phases", "project-id", "project-name", "users", "is-editable"]),
8800
- (c(), R(It, { to: "body" }, [
8801
- T(de, {
8800
+ (c(), N(It, { to: "body" }, [
8801
+ S(de, {
8802
8802
  name: "modal",
8803
8803
  activities: g.value,
8804
8804
  "is-task-checkable": E.isTaskCheckable,
@@ -8818,9 +8818,9 @@ const Ba = /* @__PURE__ */ P(D9, [["render", P9], ["__scopeId", "data-v-c0ae9237
8818
8818
  onRemoveComment: H
8819
8819
  }, {
8820
8820
  default: U(({ Component: h }) => [
8821
- (c(), R(Xe(h), null, {
8822
- default: U(() => [
8823
- X(E.$slots, "activityDetailsBody")
8821
+ (c(), N(Xe(h), null, {
8822
+ default: U((O) => [
8823
+ x(E.$slots, "activityDetailsBody", a1(s1(O)))
8824
8824
  ]),
8825
8825
  _: 2
8826
8826
  }, 1024))
@@ -8829,12 +8829,12 @@ const Ba = /* @__PURE__ */ P(D9, [["render", P9], ["__scopeId", "data-v-c0ae9237
8829
8829
  }, 8, ["activities", "is-task-checkable", "statuses", "phases", "users", "user-id", "is-editable"])
8830
8830
  ]))
8831
8831
  ], 16),
8832
- (c(), R(It, { to: "body" }, [
8833
- G.value ? (c(), R(V9, {
8832
+ (c(), N(It, { to: "body" }, [
8833
+ X.value ? (c(), N(V9, {
8834
8834
  key: 0,
8835
8835
  "project-id": E.project.id,
8836
8836
  templates: E.templates,
8837
- onClose: ee[3] || (ee[3] = (h) => G.value = !1),
8837
+ onClose: ee[3] || (ee[3] = (h) => X.value = !1),
8838
8838
  onApply: te
8839
8839
  }, null, 8, ["project-id", "templates"])) : k("", !0)
8840
8840
  ]))
@@ -8869,7 +8869,7 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
8869
8869
  }, e4 = { class: "ao-card-feed__subitem" }, t4 = { class: "ao-card-feed__footer-row" }, a4 = {
8870
8870
  key: 0,
8871
8871
  class: "ao-card-feed__progress-wrapper"
8872
- }, s4 = { class: "ao-card-feed__subitem" }, n4 = { class: "ao-card-feed__subitem" }, Na = /* @__PURE__ */ K({
8872
+ }, s4 = { class: "ao-card-feed__subitem" }, n4 = { class: "ao-card-feed__subitem" }, Ua = /* @__PURE__ */ Y({
8873
8873
  __name: "AoCardFeed",
8874
8874
  props: {
8875
8875
  id: {},
@@ -8894,7 +8894,7 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
8894
8894
  id: t.id,
8895
8895
  name: p
8896
8896
  });
8897
- }, s = b(() => t.phaseName && t.milestoneName ? `${t.phaseName} / ${t.milestoneName}` : ""), o = b(() => t.assignee ? [t.assignee] : []), i = b(() => A1(t.deadline)), l = (p) => {
8897
+ }, s = b(() => t.phaseName && t.milestoneName ? `${t.phaseName} / ${t.milestoneName}` : ""), o = b(() => t.assignee ? [t.assignee] : []), i = b(() => S1(t.deadline)), l = (p) => {
8898
8898
  const { firstName: C, lastName: w } = p || {};
8899
8899
  return `${C ?? ""}${C ? " " : ""}${w ?? ""}`;
8900
8900
  }, r = (p) => {
@@ -8906,13 +8906,13 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
8906
8906
  var p;
8907
8907
  return (p = t.tasks) == null ? void 0 : p.filter((C) => C.isDone).length;
8908
8908
  }), v = b(() => (u.value || 0) / (d.value || 1));
8909
- return (p, C) => (c(), R(R1, {
8909
+ return (p, C) => (c(), N(j1, {
8910
8910
  class: "ao-card-feed",
8911
8911
  "is-clickable": !0
8912
8912
  }, {
8913
8913
  header: U(() => [
8914
8914
  f("div", U9, [
8915
- p.projectName ? (c(), R(E1, {
8915
+ p.projectName ? (c(), N(O1, {
8916
8916
  key: 0,
8917
8917
  label: p.projectName,
8918
8918
  class: "ao-card-feed__project",
@@ -8921,13 +8921,13 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
8921
8921
  "raw-color": p.projectColor
8922
8922
  }, null, 8, ["label", "color", "raw-color"])) : k("", !0),
8923
8923
  p.isPrivate || p.important ? (c(), m("div", j9, [
8924
- p.isPrivate ? (c(), R(ce, {
8924
+ p.isPrivate ? (c(), N(ce, {
8925
8925
  key: 0,
8926
8926
  name: "Lock",
8927
8927
  class: "ao-card-feed__warning",
8928
8928
  size: "sm"
8929
8929
  })) : k("", !0),
8930
- p.important ? (c(), R(ce, {
8930
+ p.important ? (c(), N(ce, {
8931
8931
  key: 1,
8932
8932
  name: "FlagRounded",
8933
8933
  class: "ao-card-feed__important",
@@ -8935,14 +8935,14 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
8935
8935
  })) : k("", !0)
8936
8936
  ])) : k("", !0),
8937
8937
  p.$slots.secondary ? (c(), m("div", Z9, [
8938
- X(p.$slots, "secondary")
8938
+ x(p.$slots, "secondary")
8939
8939
  ])) : k("", !0)
8940
8940
  ])
8941
8941
  ]),
8942
8942
  default: U(() => [
8943
8943
  f("div", F9, [
8944
8944
  s.value ? (c(), m("span", q9, Z(s.value), 1)) : k("", !0),
8945
- T(Ce, {
8945
+ S(Ce, {
8946
8946
  id: p.id,
8947
8947
  title: p.name,
8948
8948
  level: 5,
@@ -8960,7 +8960,7 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
8960
8960
  key: w.id
8961
8961
  }, [
8962
8962
  w ? (c(), m("li", G9, [
8963
- T(gt, {
8963
+ S(gt, {
8964
8964
  "user-name": l(w),
8965
8965
  "avatar-url": w.avatarUrl,
8966
8966
  "is-closable": !0,
@@ -8971,14 +8971,14 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
8971
8971
  ]),
8972
8972
  p.comments || p.attachments ? (c(), m("ul", x9, [
8973
8973
  p.comments ? (c(), m("li", X9, [
8974
- T(ce, {
8974
+ S(ce, {
8975
8975
  name: "ChatOutline",
8976
8976
  size: "sm"
8977
8977
  }),
8978
8978
  f("span", Q9, Z(p.comments), 1)
8979
8979
  ])) : k("", !0),
8980
8980
  p.attachments ? (c(), m("li", J9, [
8981
- T(ce, {
8981
+ S(ce, {
8982
8982
  name: "AttachFileRounded",
8983
8983
  size: "sm"
8984
8984
  }),
@@ -8989,13 +8989,13 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
8989
8989
  f("div", t4, [
8990
8990
  p.tasks && p.tasks.length ? (c(), m("div", a4, [
8991
8991
  f("div", s4, [
8992
- T(ce, {
8992
+ S(ce, {
8993
8993
  name: "SelectCheckBox",
8994
8994
  size: "sm"
8995
8995
  }),
8996
8996
  f("span", n4, Z(u.value) + " / " + Z(d.value), 1)
8997
8997
  ]),
8998
- T(U1, {
8998
+ S(Z1, {
8999
8999
  percentages: v.value,
9000
9000
  class: "ao-card-feed__progress"
9001
9001
  }, null, 8, ["percentages"])
@@ -9010,7 +9010,7 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
9010
9010
  const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-milestone__header" }, l4 = { class: "ao-project-milestone__title" }, r4 = { class: "ao-project-milestone__body" }, u4 = {
9011
9011
  key: 0,
9012
9012
  class: "ao-project-milestone__footer"
9013
- }, ra = /* @__PURE__ */ K({
9013
+ }, da = /* @__PURE__ */ Y({
9014
9014
  __name: "AoProjectOverviewMilestoneDetails",
9015
9015
  props: {
9016
9016
  milestoneId: {},
@@ -9066,19 +9066,19 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
9066
9066
  f("header", o4, [
9067
9067
  f("div", l4, [
9068
9068
  f("span", null, Z(p.$t("project.milestone.title")), 1),
9069
- T(Ce, {
9069
+ S(Ce, {
9070
9070
  title: ((w = i.value) == null ? void 0 : w.name) || p.milestoneId,
9071
9071
  level: 5
9072
9072
  }, null, 8, ["title"])
9073
9073
  ]),
9074
- T(fe, {
9074
+ S(fe, {
9075
9075
  "icon-name": "CloseRounded",
9076
9076
  variant: "ghost",
9077
9077
  onClick: r
9078
9078
  })
9079
9079
  ]),
9080
9080
  f("div", r4, [
9081
- T(q(Qe), Ee({
9081
+ S(q(Qe), Ee({
9082
9082
  class: "ao-project-milestone__activities",
9083
9083
  list: l.value,
9084
9084
  disabled: !p.isEditable,
@@ -9088,7 +9088,7 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
9088
9088
  item: U(({ element: $ }) => {
9089
9089
  var A, g, y, L;
9090
9090
  return [
9091
- T(Na, {
9091
+ S(Ua, {
9092
9092
  id: $.id,
9093
9093
  name: $.name || $.id,
9094
9094
  "phase-name": (A = s.value) == null ? void 0 : A.name,
@@ -9112,7 +9112,7 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
9112
9112
  p.isEditable ? {
9113
9113
  name: "secondary",
9114
9114
  fn: U(() => [
9115
- T(fe, {
9115
+ S(fe, {
9116
9116
  color: "primary",
9117
9117
  variant: "ghost",
9118
9118
  "icon-name": "ArchiveOutlineRounded",
@@ -9131,7 +9131,7 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
9131
9131
  _: 1
9132
9132
  }, 16, ["list", "disabled"]),
9133
9133
  p.isEditable ? (c(), m("div", u4, [
9134
- T(Je, {
9134
+ S(Je, {
9135
9135
  "icon-name": "Add",
9136
9136
  label: p.$t("project.activity.add"),
9137
9137
  onClick: d
@@ -9142,7 +9142,7 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
9142
9142
  };
9143
9143
  }
9144
9144
  });
9145
- const d4 = /* @__PURE__ */ K({
9145
+ const d4 = /* @__PURE__ */ Y({
9146
9146
  __name: "AoProjectOverviewActivityDetails",
9147
9147
  props: {
9148
9148
  phaseId: {},
@@ -9199,7 +9199,7 @@ const d4 = /* @__PURE__ */ K({
9199
9199
  };
9200
9200
  return (g, y) => {
9201
9201
  var L, j;
9202
- return i.value ? (c(), R(N1, {
9202
+ return i.value ? (c(), N(U1, {
9203
9203
  key: 0,
9204
9204
  activity: i.value,
9205
9205
  "activity-types": l.value,
@@ -9224,13 +9224,13 @@ const d4 = /* @__PURE__ */ K({
9224
9224
  onRemoveComment: A
9225
9225
  }, {
9226
9226
  default: U(() => [
9227
- X(g.$slots, "default")
9227
+ x(g.$slots, "default")
9228
9228
  ]),
9229
9229
  _: 3
9230
9230
  }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "onClose"])) : k("", !0);
9231
9231
  };
9232
9232
  }
9233
- }), c4 = { class: "ao-col-header" }, f4 = /* @__PURE__ */ K({
9233
+ }), c4 = { class: "ao-col-header" }, f4 = /* @__PURE__ */ Y({
9234
9234
  __name: "AoColHeader",
9235
9235
  props: {
9236
9236
  title: {},
@@ -9238,12 +9238,12 @@ const d4 = /* @__PURE__ */ K({
9238
9238
  },
9239
9239
  setup(a) {
9240
9240
  return (e, t) => (c(), m("header", c4, [
9241
- T(Ce, {
9241
+ S(Ce, {
9242
9242
  title: e.title,
9243
9243
  class: "ao-col-header__title",
9244
9244
  level: 4
9245
9245
  }, null, 8, ["title"]),
9246
- e.items ? (c(), R(E1, {
9246
+ e.items ? (c(), N(O1, {
9247
9247
  key: 0,
9248
9248
  label: e.items,
9249
9249
  class: "ao-col-header__items",
@@ -9291,7 +9291,7 @@ function _4(a, e = 200, t = {}) {
9291
9291
  a
9292
9292
  );
9293
9293
  }
9294
- function M1(a) {
9294
+ function A1(a) {
9295
9295
  var e;
9296
9296
  const t = Jt(a);
9297
9297
  return (e = t == null ? void 0 : t.$el) != null ? e : t;
@@ -9316,18 +9316,18 @@ function w4(a, e, t = {}) {
9316
9316
  immediate: l = !0
9317
9317
  } = t, r = b4(() => i && "IntersectionObserver" in i), d = b(() => {
9318
9318
  const w = Jt(a);
9319
- return (Array.isArray(w) ? w : [w]).map(M1).filter(h4);
9319
+ return (Array.isArray(w) ? w : [w]).map(A1).filter(h4);
9320
9320
  });
9321
9321
  let u = St;
9322
9322
  const v = J(l), p = r.value ? ue(
9323
- () => [d.value, M1(n), v.value],
9323
+ () => [d.value, A1(n), v.value],
9324
9324
  ([w, $]) => {
9325
9325
  if (u(), !v.value || !w.length)
9326
9326
  return;
9327
9327
  const A = new IntersectionObserver(
9328
9328
  e,
9329
9329
  {
9330
- root: M1($),
9330
+ root: A1($),
9331
9331
  rootMargin: s,
9332
9332
  threshold: o
9333
9333
  }
@@ -9353,7 +9353,7 @@ function w4(a, e, t = {}) {
9353
9353
  };
9354
9354
  }
9355
9355
  const $4 = {
9356
- class: /* @__PURE__ */ x(["ao-list-kanban"])
9356
+ class: /* @__PURE__ */ G(["ao-list-kanban"])
9357
9357
  }, M4 = { class: "ao-list-kanban__header" }, k4 = {
9358
9358
  key: 0,
9359
9359
  class: "ao-list-kanban__end ao-list-kanban__end--loading"
@@ -9369,7 +9369,7 @@ const $4 = {
9369
9369
  }, E4 = {
9370
9370
  key: 1,
9371
9371
  class: "ao-list-kanban__footer"
9372
- }, I4 = /* @__PURE__ */ K({
9372
+ }, I4 = /* @__PURE__ */ Y({
9373
9373
  __name: "AoListKanban",
9374
9374
  props: {
9375
9375
  list: {},
@@ -9409,11 +9409,11 @@ const $4 = {
9409
9409
  });
9410
9410
  };
9411
9411
  return (r, d) => (c(), m("div", $4, [
9412
- r.title || r.$slots.header ? X(r.$slots, "header", { key: 0 }, () => {
9412
+ r.title || r.$slots.header ? x(r.$slots, "header", { key: 0 }, () => {
9413
9413
  var u;
9414
9414
  return [
9415
9415
  f("div", M4, [
9416
- r.title ? (c(), R(f4, {
9416
+ r.title ? (c(), N(f4, {
9417
9417
  key: 0,
9418
9418
  title: r.title,
9419
9419
  level: 3,
@@ -9422,7 +9422,7 @@ const $4 = {
9422
9422
  ])
9423
9423
  ];
9424
9424
  }) : k("", !0),
9425
- T(q(Qe), Ee({
9425
+ S(q(Qe), Ee({
9426
9426
  class: "ao-list-kanban__list",
9427
9427
  list: r.list,
9428
9428
  "item-key": "id",
@@ -9434,7 +9434,7 @@ const $4 = {
9434
9434
  item: U(({ element: u }) => {
9435
9435
  var v, p, C, w, $, A, g, y;
9436
9436
  return [
9437
- T(Na, {
9437
+ S(Ua, {
9438
9438
  id: u.id,
9439
9439
  name: u.name,
9440
9440
  "project-name": (v = u.project) == null ? void 0 : v.name,
@@ -9461,7 +9461,7 @@ const $4 = {
9461
9461
  onRemoveAssignee: () => r.isEditable && i({ id: u.id, assigneeId: null })
9462
9462
  }, {
9463
9463
  secondary: U(() => [
9464
- r.isEditable ? (c(), R(fe, {
9464
+ r.isEditable ? (c(), N(fe, {
9465
9465
  key: 0,
9466
9466
  color: "primary",
9467
9467
  variant: "ghost",
@@ -9479,7 +9479,7 @@ const $4 = {
9479
9479
  }),
9480
9480
  footer: U(() => [
9481
9481
  r.isLoading ? (c(), m("div", k4, [
9482
- T(ce, { name: "Loading" })
9482
+ S(ce, { name: "Loading" })
9483
9483
  ])) : r.hasMore ? (c(), m("div", {
9484
9484
  key: 2,
9485
9485
  ref_key: "scrollEnd",
@@ -9492,8 +9492,8 @@ const $4 = {
9492
9492
  _: 1
9493
9493
  }, 16, ["list", "disabled"]),
9494
9494
  r.$slots.footer || r.footerLabel ? (c(), m("div", E4, [
9495
- X(r.$slots, "footer", {}, () => [
9496
- r.isEditable ? (c(), R(Je, {
9495
+ x(r.$slots, "footer", {}, () => [
9496
+ r.isEditable ? (c(), N(Je, {
9497
9497
  key: 0,
9498
9498
  "icon-name": "AddBoxOutlineRounded",
9499
9499
  label: r.footerLabel,
@@ -9504,7 +9504,7 @@ const $4 = {
9504
9504
  ]));
9505
9505
  }
9506
9506
  });
9507
- const O4 = { class: "ao-field ao-search-field" }, L4 = ["value", "placeholder", "onKeypress"], V4 = /* @__PURE__ */ K({
9507
+ const O4 = { class: "ao-field ao-search-field" }, L4 = ["value", "placeholder", "onKeypress"], V4 = /* @__PURE__ */ Y({
9508
9508
  __name: "AoSearchField",
9509
9509
  props: {
9510
9510
  modelValue: {},
@@ -9529,16 +9529,16 @@ const O4 = { class: "ao-field ao-search-field" }, L4 = ["value", "placeholder",
9529
9529
  (...r) => q(s) && q(s)(...r)),
9530
9530
  onKeypress: Ye(n, ["enter"])
9531
9531
  }, null, 40, L4),
9532
- T(ce, {
9532
+ S(ce, {
9533
9533
  name: "SearchRounded",
9534
- class: x(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
9534
+ class: G(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
9535
9535
  }, null, 8, ["class"]),
9536
- T(fe, {
9536
+ S(fe, {
9537
9537
  "icon-name": "CloseRounded",
9538
9538
  size: "sm",
9539
9539
  color: "primary",
9540
9540
  corners: "round",
9541
- class: x(`ao-search-field__button ao-search-field__action ${i.modelValue ? "ao-search-field__action--visible" : ""}`),
9541
+ class: G(`ao-search-field__button ao-search-field__action ${i.modelValue ? "ao-search-field__action--visible" : ""}`),
9542
9542
  onClick: o
9543
9543
  }, null, 8, ["class"])
9544
9544
  ]));
@@ -9572,7 +9572,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9572
9572
  }, q4 = { class: "ao-field__label" }, z4 = {
9573
9573
  key: 2,
9574
9574
  class: "ao-field ao-feed__activity-details__status"
9575
- }, W4 = { class: "ao-field__label" }, Y4 = { class: "ao-field__row" }, K4 = { class: "ao-field" }, G4 = { class: "ao-field__label" }, x4 = /* @__PURE__ */ K({
9575
+ }, W4 = { class: "ao-field__label" }, Y4 = { class: "ao-field__row" }, K4 = { class: "ao-field" }, G4 = { class: "ao-field__label" }, x4 = /* @__PURE__ */ Y({
9576
9576
  __name: "AoFeed",
9577
9577
  props: {
9578
9578
  activities: {},
@@ -9597,16 +9597,16 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9597
9597
  ue(
9598
9598
  [() => t.statuses, () => t.activities, () => t.initialActivityId],
9599
9599
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
9600
- async ([M, Y, ie], [B, S]) => {
9600
+ async ([M, K, ie], [B, T]) => {
9601
9601
  r.value = Object.fromEntries(
9602
- M.map((N) => [
9603
- N.id,
9604
- Y.filter((pe) => {
9602
+ M.map((R) => [
9603
+ R.id,
9604
+ K.filter((pe) => {
9605
9605
  var Me;
9606
- return ((Me = pe.status) == null ? void 0 : Me.id) === N.id;
9606
+ return ((Me = pe.status) == null ? void 0 : Me.id) === R.id;
9607
9607
  })
9608
9608
  ])
9609
- ), ie && !d.value && (l(ie), d.value = !0), u.value && Ue(Y, S);
9609
+ ), ie && !d.value && (l(ie), d.value = !0), u.value && Ue(K, T);
9610
9610
  },
9611
9611
  { immediate: !0 }
9612
9612
  );
@@ -9614,23 +9614,25 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9614
9614
  var M;
9615
9615
  return !i.value || !i.value.milestone ? "" : `${((M = i.value.milestone.phase) == null ? void 0 : M.name) ?? ""} / ${i.value.milestone.name ?? ""}`;
9616
9616
  }), p = (M) => {
9617
- var N, pe;
9618
- const Y = (N = t.activities) == null ? void 0 : N.at(-1), ie = Y ? Te.LexoRank.parse(Y.rank).genNext() : Te.LexoRank.middle(), B = ((pe = t.activities) == null ? void 0 : pe.length) ?? 0, S = {
9617
+ var R, pe;
9618
+ const K = (R = t.activities) == null ? void 0 : R.at(-1), ie = K ? Te.LexoRank.parse(K.rank).genNext() : Te.LexoRank.middle(), B = ((pe = t.activities) == null ? void 0 : pe.length) ?? 0, T = {
9619
9619
  name: n("activity.defaultName", { idx: B + 1 }),
9620
9620
  rank: ie.format(),
9621
9621
  statusId: M.id
9622
9622
  };
9623
- t.filters.assigneeId.length > 0 && (S.assigneeId = t.filters.assigneeId[0]), t.filters.projectId.length > 0 && (S.projectId = t.filters.projectId[0]), t.filters.typeId.length > 0 && (S.typeId = t.filters.typeId[0]), u.value = !0, e("addActivity", S);
9624
- }, C = (M, Y) => {
9625
- u.value = !1, e("update:filters", { ...t.filters, [M]: Y });
9626
- }, w = b(() => t.project ? [t.project] : t.projects ?? []), $ = b(() => w.value.map((M) => ({
9623
+ t.filters.assigneeId.length > 0 && (T.assigneeId = t.filters.assigneeId[0]), t.filters.projectId.length > 0 && (T.projectId = t.filters.projectId[0]), t.filters.typeId.length > 0 && (T.typeId = t.filters.typeId[0]), u.value = !0, e("addActivity", T);
9624
+ }, C = (M, K) => {
9625
+ u.value = !1, e("update:filters", { ...t.filters, [M]: K });
9626
+ }, w = b(
9627
+ () => t.project ? [t.project] : t.projects ?? []
9628
+ ), $ = b(() => w.value.map((M) => ({
9627
9629
  value: M.id,
9628
9630
  label: M.name
9629
9631
  }))), A = b(() => {
9630
9632
  var M;
9631
- return (M = t.activityTypes) == null ? void 0 : M.map((Y) => ({
9632
- value: Y.id,
9633
- label: Y.name
9633
+ return (M = t.activityTypes) == null ? void 0 : M.map((K) => ({
9634
+ value: K.id,
9635
+ label: K.name
9634
9636
  }));
9635
9637
  }), g = b(() => t.users.map((M) => ({
9636
9638
  value: M.id,
@@ -9655,7 +9657,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9655
9657
  }
9656
9658
  }), H = (M) => {
9657
9659
  u.value = !1, e("update:searchText", M);
9658
- }, G = (M) => {
9660
+ }, X = (M) => {
9659
9661
  u.value = !1, e("clear:searchText", M);
9660
9662
  }, te = (M) => {
9661
9663
  i.value && e("addSubtask", M);
@@ -9673,20 +9675,23 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9673
9675
  activityId: i.value.id
9674
9676
  });
9675
9677
  }, z = (M) => {
9676
- const { id: Y } = i.value || {};
9677
- Y && e("updateComment", M);
9678
+ const { id: K } = i.value || {};
9679
+ K && e("updateComment", M);
9678
9680
  }, ae = (M) => {
9679
- const { id: Y } = i.value || {};
9680
- Y && e("removeComment", M);
9681
+ const { id: K } = i.value || {};
9682
+ K && e("removeComment", M);
9681
9683
  }, re = b(() => w.value.map((M) => ({
9682
9684
  value: M.id,
9683
9685
  label: M.name
9684
9686
  }))), oe = b(() => {
9685
- var Y, ie, B;
9686
- const M = (B = (ie = (Y = i.value) == null ? void 0 : Y.project) == null ? void 0 : ie.phases) == null ? void 0 : B.reduce((S, N) => [...S, ...N.milestones], []);
9687
- return M == null ? void 0 : M.map((S) => ({
9688
- value: S.id,
9689
- label: S.name
9687
+ var K, ie, B;
9688
+ const M = (B = (ie = (K = i.value) == null ? void 0 : K.project) == null ? void 0 : ie.phases) == null ? void 0 : B.reduce(
9689
+ (T, R) => [...T, ...R.milestones],
9690
+ []
9691
+ );
9692
+ return M == null ? void 0 : M.map((T) => ({
9693
+ value: T.id,
9694
+ label: T.name
9690
9695
  }));
9691
9696
  }), I = (M) => {
9692
9697
  i.value && e("update:activity", {
@@ -9700,9 +9705,9 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9700
9705
  });
9701
9706
  }, F = b(() => {
9702
9707
  var M;
9703
- return (M = t.statuses) == null ? void 0 : M.map((Y) => ({
9704
- value: Y.id,
9705
- label: Y.name
9708
+ return (M = t.statuses) == null ? void 0 : M.map((K) => ({
9709
+ value: K.id,
9710
+ label: K.name
9706
9711
  }));
9707
9712
  }), ne = (M) => {
9708
9713
  i.value && e("update:activity", {
@@ -9710,29 +9715,29 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9710
9715
  statusId: M
9711
9716
  });
9712
9717
  };
9713
- return (M, Y) => {
9718
+ return (M, K) => {
9714
9719
  var ie;
9715
9720
  return c(), m("div", B4, [
9716
- T(r1, null, {
9721
+ S(d1, null, {
9717
9722
  primary: U(() => [
9718
9723
  f("div", N4, [
9719
- t.project ? (c(), R(Ba, {
9724
+ t.project ? (c(), N(Ra, {
9720
9725
  key: 0,
9721
9726
  "is-left": !1,
9722
9727
  "right-label": M.$t("project.switch.feed"),
9723
9728
  "left-label": M.$t("project.switch.overview"),
9724
- "onUpdate:isLeft": Y[0] || (Y[0] = (B) => {
9729
+ "onUpdate:isLeft": K[0] || (K[0] = (B) => {
9725
9730
  B && M.$router.push({ name: q(He).project });
9726
9731
  })
9727
9732
  }, null, 8, ["right-label", "left-label"])) : k("", !0),
9728
- T(V4, {
9733
+ S(V4, {
9729
9734
  "model-value": M.searchText,
9730
9735
  placeholder: M.$t("feed.search.placeholder"),
9731
9736
  class: "ao-feed__search",
9732
9737
  "onUpdate:modelValue": H,
9733
- onClear: G
9738
+ onClear: X
9734
9739
  }, null, 8, ["model-value", "placeholder"]),
9735
- t.project ? k("", !0) : (c(), R(be, {
9740
+ t.project ? k("", !0) : (c(), N(be, {
9736
9741
  key: 1,
9737
9742
  "model-value": M.filters[q(dt).project],
9738
9743
  mode: "tags",
@@ -9741,9 +9746,9 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9741
9746
  searchable: !0,
9742
9747
  class: "ao-feed__filter ao-feed__filter__projects",
9743
9748
  placeholder: M.$t("feed.filters.project.placeholder"),
9744
- "onUpdate:modelValue": Y[1] || (Y[1] = (B) => C(q(dt).project, B))
9749
+ "onUpdate:modelValue": K[1] || (K[1] = (B) => C(q(dt).project, B))
9745
9750
  }, null, 8, ["model-value", "options", "placeholder"])),
9746
- A.value ? (c(), R(be, {
9751
+ A.value ? (c(), N(be, {
9747
9752
  key: 2,
9748
9753
  "model-value": M.filters[q(dt).type],
9749
9754
  mode: "tags",
@@ -9752,9 +9757,9 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9752
9757
  searchable: !0,
9753
9758
  class: "ao-feed__filter ao-feed__filter__types",
9754
9759
  placeholder: M.$t("feed.filters.activityType.placeholder"),
9755
- "onUpdate:modelValue": Y[2] || (Y[2] = (B) => C(q(dt).type, B))
9760
+ "onUpdate:modelValue": K[2] || (K[2] = (B) => C(q(dt).type, B))
9756
9761
  }, null, 8, ["model-value", "options", "placeholder"])) : k("", !0),
9757
- T(be, {
9762
+ S(be, {
9758
9763
  "model-value": M.filters[q(dt).assignee],
9759
9764
  mode: "tags",
9760
9765
  options: g.value,
@@ -9762,20 +9767,23 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9762
9767
  searchable: !0,
9763
9768
  class: "ao-feed__filter ao-feed__filter__assignees",
9764
9769
  placeholder: M.$t("feed.filters.assignee.placeholder"),
9765
- "onUpdate:modelValue": Y[3] || (Y[3] = (B) => C(q(dt).assignee, B))
9770
+ "onUpdate:modelValue": K[3] || (K[3] = (B) => C(q(dt).assignee, B))
9766
9771
  }, {
9767
- tag: U(({ option: B, handleTagRemove: S }) => [
9768
- T(gt, {
9772
+ tag: U(({
9773
+ option: B,
9774
+ handleTagRemove: T
9775
+ }) => [
9776
+ S(gt, {
9769
9777
  "user-name": B.label,
9770
9778
  "avatar-url": B.avatar,
9771
9779
  "is-closable": !0,
9772
- onClose: (N) => S(B, N)
9780
+ onClose: (R) => T(B, R)
9773
9781
  }, null, 8, ["user-name", "avatar-url", "onClose"])
9774
9782
  ]),
9775
9783
  _: 1
9776
9784
  }, 8, ["model-value", "options", "placeholder"])
9777
9785
  ]),
9778
- T(fe, {
9786
+ S(fe, {
9779
9787
  class: "ao-feed__show-archived",
9780
9788
  size: "sm",
9781
9789
  "icon-name": M.showsArchivedActivities ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
@@ -9785,13 +9793,13 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9785
9793
  label: M.$t("feed.filters.showsArchivedActivities.label"),
9786
9794
  role: "checkbox",
9787
9795
  "aria-checked": M.showsArchivedActivities,
9788
- onClick: Y[4] || (Y[4] = (B) => M.$emit("update:showsArchivedActivities", !M.showsArchivedActivities))
9796
+ onClick: K[4] || (K[4] = (B) => M.$emit("update:showsArchivedActivities", !M.showsArchivedActivities))
9789
9797
  }, null, 8, ["icon-name", "label", "aria-checked"])
9790
9798
  ]),
9791
9799
  _: 1
9792
9800
  }),
9793
9801
  f("div", R4, [
9794
- (c(!0), m(ve, null, ye(M.statuses, (B) => (c(), R(I4, {
9802
+ (c(!0), m(ve, null, ye(M.statuses, (B) => (c(), N(I4, {
9795
9803
  key: B.id,
9796
9804
  status: B,
9797
9805
  list: r.value[B.id],
@@ -9805,8 +9813,8 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9805
9813
  onUpdateActivity: L
9806
9814
  }, null, 8, ["status", "list", "title", "footer-label", "users", "is-editable", "onAdd"]))), 128))
9807
9815
  ]),
9808
- (c(), R(It, { to: "body" }, [
9809
- q(i) ? (c(), R(N1, {
9816
+ (c(), N(It, { to: "body" }, [
9817
+ q(i) ? (c(), N(U1, {
9810
9818
  key: 0,
9811
9819
  activity: q(i),
9812
9820
  "activity-types": A.value,
@@ -9818,7 +9826,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9818
9826
  statuses: M.statuses,
9819
9827
  breadcrumbs: v.value,
9820
9828
  "is-editable": M.isEditable,
9821
- onClose: Y[6] || (Y[6] = () => l(null)),
9829
+ onClose: K[6] || (K[6] = () => l(null)),
9822
9830
  "onUpdate:activity": y,
9823
9831
  onAddSubtask: te,
9824
9832
  onUpdateSubtask: E,
@@ -9830,12 +9838,12 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9830
9838
  onRemoveComment: ae
9831
9839
  }, {
9832
9840
  header: U(() => {
9833
- var B, S, N;
9841
+ var B, T, R;
9834
9842
  return [
9835
9843
  f("div", U4, [
9836
9844
  re.value && !t.project ? (c(), m("label", j4, [
9837
9845
  f("span", Z4, Z(M.$t("activity.project.label")), 1),
9838
- T(be, {
9846
+ S(be, {
9839
9847
  options: re.value,
9840
9848
  value: (B = q(i).project) == null ? void 0 : B.id,
9841
9849
  searchable: !0,
@@ -9846,9 +9854,9 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9846
9854
  ])) : k("", !0),
9847
9855
  oe.value ? (c(), m("label", F4, [
9848
9856
  f("span", q4, Z(M.$t("activity.milestone.label")), 1),
9849
- T(be, {
9857
+ S(be, {
9850
9858
  options: oe.value,
9851
- value: (S = q(i).milestone) == null ? void 0 : S.id,
9859
+ value: (T = q(i).milestone) == null ? void 0 : T.id,
9852
9860
  searchable: !0,
9853
9861
  disabled: !M.isEditable,
9854
9862
  caret: M.isEditable,
@@ -9857,9 +9865,9 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9857
9865
  ])) : k("", !0),
9858
9866
  F.value ? (c(), m("label", z4, [
9859
9867
  f("span", W4, Z(M.$t("activity.status.label")), 1),
9860
- T(be, {
9868
+ S(be, {
9861
9869
  options: F.value,
9862
- value: (N = q(i).status) == null ? void 0 : N.id,
9870
+ value: (R = q(i).status) == null ? void 0 : R.id,
9863
9871
  "can-clear": !1,
9864
9872
  "can-deselect": !1,
9865
9873
  disabled: !M.isEditable,
@@ -9870,12 +9878,12 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9870
9878
  ])
9871
9879
  ];
9872
9880
  }),
9873
- default: U(() => [
9881
+ default: U((B) => [
9874
9882
  f("div", Y4, [
9875
9883
  f("label", K4, [
9876
9884
  f("span", G4, Z(M.$t("activity.deadline.label")), 1),
9877
9885
  tt(f("input", {
9878
- "onUpdate:modelValue": Y[5] || (Y[5] = (B) => W.value = B),
9886
+ "onUpdate:modelValue": K[5] || (K[5] = (T) => W.value = T),
9879
9887
  class: "ao-field__input",
9880
9888
  type: "date"
9881
9889
  }, null, 512), [
@@ -9888,7 +9896,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9888
9896
  ])
9889
9897
  ])
9890
9898
  ]),
9891
- X(M.$slots, "activityDetailsBody")
9899
+ x(M.$slots, "activityDetailsBody", a1(s1(B)))
9892
9900
  ]),
9893
9901
  _: 3
9894
9902
  }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable"])) : k("", !0)
@@ -9941,7 +9949,7 @@ const ft = {
9941
9949
  {
9942
9950
  path: ":phaseId/:milestoneId",
9943
9951
  name: He.milestone,
9944
- component: ra,
9952
+ component: da,
9945
9953
  props: !0
9946
9954
  },
9947
9955
  {
@@ -9949,7 +9957,7 @@ const ft = {
9949
9957
  name: He.activity,
9950
9958
  props: { default: !0, modal: !0 },
9951
9959
  components: {
9952
- default: ra,
9960
+ default: da,
9953
9961
  modal: d4
9954
9962
  }
9955
9963
  }
@@ -9963,7 +9971,7 @@ const ft = {
9963
9971
  }
9964
9972
  ]
9965
9973
  }
9966
- ], X4 = { class: "ao-templates" }, Q4 = /* @__PURE__ */ K({
9974
+ ], X4 = { class: "ao-templates" }, Q4 = /* @__PURE__ */ Y({
9967
9975
  __name: "AoTemplatesList",
9968
9976
  props: {
9969
9977
  templates: {}
@@ -10004,9 +10012,9 @@ const ft = {
10004
10012
  }
10005
10013
  };
10006
10014
  return (l, r) => (c(), m("div", X4, [
10007
- T(r1, null, {
10015
+ S(d1, null, {
10008
10016
  secondary: U(() => [
10009
- T(fe, {
10017
+ S(fe, {
10010
10018
  label: l.$t("templates.new"),
10011
10019
  color: "primary",
10012
10020
  "icon-name": "Add",
@@ -10016,7 +10024,7 @@ const ft = {
10016
10024
  ]),
10017
10025
  _: 1
10018
10026
  }),
10019
- T(q(Qe), {
10027
+ S(q(Qe), {
10020
10028
  "model-value": l.templates,
10021
10029
  class: "ao-templates__list",
10022
10030
  "item-key": "id",
@@ -10026,7 +10034,7 @@ const ft = {
10026
10034
  item: U(({ element: d }) => {
10027
10035
  var u;
10028
10036
  return [
10029
- T(P0, {
10037
+ S(P0, {
10030
10038
  id: d.id,
10031
10039
  title: d.name,
10032
10040
  phases: d.phases,
@@ -10047,38 +10055,56 @@ const ft = {
10047
10055
  ]));
10048
10056
  }
10049
10057
  });
10050
- const J4 = { class: "ao-field" }, e8 = { class: "ao-field__label" }, t8 = ["type", "value", "disabled", "readonly"], f8 = /* @__PURE__ */ K({
10058
+ const J4 = { class: "ao-field__label" }, e8 = /* @__PURE__ */ Y({
10059
+ __name: "AoField",
10060
+ props: {
10061
+ label: {},
10062
+ isMultiselect: { type: Boolean, default: !1 }
10063
+ },
10064
+ setup(a) {
10065
+ return (e, t) => (c(), m("label", {
10066
+ class: G(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
10067
+ }, [
10068
+ f("span", J4, Z(e.label), 1),
10069
+ x(e.$slots, "default")
10070
+ ], 2));
10071
+ }
10072
+ }), t8 = ["type", "value", "disabled", "readonly"], f8 = /* @__PURE__ */ Y({
10051
10073
  __name: "AoInputField",
10052
10074
  props: {
10053
10075
  label: { default: "" },
10054
10076
  type: { default: "text" },
10055
10077
  modelValue: {},
10056
10078
  modelModifiers: { default: () => ({}) },
10057
- disabled: { type: Boolean, default: !1 },
10058
- readonly: { type: Boolean, default: !1 }
10079
+ isDisabled: { type: Boolean, default: !1 },
10080
+ isReadonly: { type: Boolean, default: !1 }
10059
10081
  },
10060
10082
  emits: ["update:modelValue"],
10061
10083
  setup(a) {
10062
10084
  const e = a, t = b(
10063
10085
  () => e.modelModifiers.lazy ? "change" : "input"
10064
10086
  );
10065
- return (n, s) => (c(), m("label", J4, [
10066
- f("span", e8, Z(n.label), 1),
10067
- f("input", Ee({
10068
- class: "ao-field__input",
10069
- type: n.type,
10070
- value: n.modelValue,
10071
- disabled: n.disabled,
10072
- readonly: n.readonly
10073
- }, {
10074
- [gs(t.value)]: s[0] || (s[0] = (o) => n.$emit("update:modelValue", o.target.value))
10075
- }), null, 16, t8)
10076
- ]));
10087
+ return (n, s) => (c(), N(e8, { label: n.label }, {
10088
+ default: U(() => [
10089
+ f("input", Ee({
10090
+ class: "ao-field__input",
10091
+ type: n.type,
10092
+ value: n.modelValue,
10093
+ disabled: n.isDisabled,
10094
+ readonly: n.isReadonly
10095
+ }, {
10096
+ [gs(t.value)]: s[0] || (s[0] = (o) => n.$emit("update:modelValue", o.target.value))
10097
+ }), null, 16, t8)
10098
+ ]),
10099
+ _: 1
10100
+ }, 8, ["label"]));
10077
10101
  }
10078
10102
  });
10079
10103
  export {
10080
10104
  x4 as AoFeed,
10105
+ e8 as AoField,
10081
10106
  f8 as AoInputField,
10107
+ be as AoMultiselect,
10082
10108
  X7 as AoTemplateDetails,
10083
10109
  o8 as AoTemplates,
10084
10110
  Q4 as AoTemplatesList,
@@ -10089,7 +10115,7 @@ export {
10089
10115
  c8 as getProjectOverviewRoutes,
10090
10116
  d8 as getTemplateRoutes,
10091
10117
  u8 as listUpdateTypes,
10092
- k1 as milestoneStatus,
10118
+ T1 as milestoneStatus,
10093
10119
  He as projectOverviewRoutes,
10094
10120
  bd as ruleComparators,
10095
10121
  $d as ruleDurationUnits,