@assemblyvoting/ui-library 1.3.29 → 1.3.31

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/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { unref as Z2, getCurrentScope as nk, onScopeDispose as rk, watch as c2, ref as F, computed as g, onMounted as v2, onUnmounted as lk, h as j2, Transition as N2, withDirectives as S2, vShow as X2, defineComponent as P, openBlock as u, createElementBlock as d, createBlock as q, resolveDynamicComponent as Oa, withCtx as $, renderSlot as K, resolveComponent as M, normalizeClass as j, createCommentVNode as b, createTextVNode as e2, toDisplayString as V, createElementVNode as o, createVNode as z, normalizeStyle as H2, reactive as T9, provide as D9, Fragment as R, renderList as X, inject as I9, pushScopeId as T2, popScopeId as D2, useCssVars as ok, mergeProps as fk, withModifiers as A2, withKeys as B9, getCurrentInstance as uk, nextTick as mk, vModelText as P9 } from "vue";
1
+ import { unref as Z2, getCurrentScope as nk, onScopeDispose as rk, watch as e2, ref as F, computed as g, onMounted as v2, onUnmounted as lk, h as j2, Transition as N2, withDirectives as S2, vShow as X2, defineComponent as P, openBlock as u, createElementBlock as d, createBlock as q, resolveDynamicComponent as Oa, withCtx as $, renderSlot as K, resolveComponent as M, normalizeClass as j, createCommentVNode as x, createTextVNode as c2, toDisplayString as V, createElementVNode as o, createVNode as z, normalizeStyle as H2, reactive as T9, provide as D9, Fragment as R, renderList as X, inject as I9, pushScopeId as T2, popScopeId as D2, useCssVars as ok, mergeProps as fk, withModifiers as A2, withKeys as B9, getCurrentInstance as uk, nextTick as mk, vModelText as P9 } from "vue";
2
2
  var n2 = "top", m2 = "bottom", d2 = "right", r2 = "left", B4 = "auto", x1 = [n2, m2, d2, r2], J2 = "start", z1 = "end", dk = "clippingParents", O9 = "viewport", u1 = "popper", vk = "reference", ja = /* @__PURE__ */ x1.reduce(function(c, a) {
3
3
  return c.concat([a + "-" + J2, a + "-" + z1]);
4
4
  }, []), j9 = /* @__PURE__ */ [].concat(x1, [B4]).reduce(function(c, a) {
@@ -207,7 +207,7 @@ var kk = function(a, e) {
207
207
  function _k(c) {
208
208
  var a, e = c.state, i = c.name, t = c.options, s = e.elements.arrow, n = e.modifiersData.popperOffsets, r = V2(e.placement), l = j4(r), m = [r2, d2].indexOf(r) >= 0, f = m ? "height" : "width";
209
209
  if (!(!s || !n)) {
210
- var v = kk(t.padding, e), p = O4(s), h = l === "y" ? n2 : r2, L = l === "y" ? m2 : d2, x = e.rects.reference[f] + e.rects.reference[l] - n[l] - e.rects.popper[f], k = n[l] - e.rects.reference[l], B = y1(s), _ = B ? l === "y" ? B.clientHeight || 0 : B.clientWidth || 0 : 0, C = x / 2 - k / 2, N = v[h], D = _ - p[f] - v[L], S = _ / 2 - p[f] / 2 + C, E = v1(N, S, D), H = l;
210
+ var v = kk(t.padding, e), p = O4(s), h = l === "y" ? n2 : r2, L = l === "y" ? m2 : d2, b = e.rects.reference[f] + e.rects.reference[l] - n[l] - e.rects.popper[f], k = n[l] - e.rects.reference[l], B = y1(s), _ = B ? l === "y" ? B.clientHeight || 0 : B.clientWidth || 0 : 0, C = b / 2 - k / 2, N = v[h], D = _ - p[f] - v[L], S = _ / 2 - p[f] / 2 + C, E = v1(N, S, D), H = l;
211
211
  e.modifiersData[i] = (a = {}, a[H] = E, a.centerOffset = E - S, a);
212
212
  }
213
213
  }
@@ -241,14 +241,14 @@ function Bk(c, a) {
241
241
  };
242
242
  }
243
243
  function qa(c) {
244
- var a, e = c.popper, i = c.popperRect, t = c.placement, s = c.variation, n = c.offsets, r = c.position, l = c.gpuAcceleration, m = c.adaptive, f = c.roundOffsets, v = c.isFixed, p = n.x, h = p === void 0 ? 0 : p, L = n.y, x = L === void 0 ? 0 : L, k = typeof f == "function" ? f({
244
+ var a, e = c.popper, i = c.popperRect, t = c.placement, s = c.variation, n = c.offsets, r = c.position, l = c.gpuAcceleration, m = c.adaptive, f = c.roundOffsets, v = c.isFixed, p = n.x, h = p === void 0 ? 0 : p, L = n.y, b = L === void 0 ? 0 : L, k = typeof f == "function" ? f({
245
245
  x: h,
246
- y: x
246
+ y: b
247
247
  }) : {
248
248
  x: h,
249
- y: x
249
+ y: b
250
250
  };
251
- h = k.x, x = k.y;
251
+ h = k.x, b = k.y;
252
252
  var B = n.hasOwnProperty("x"), _ = n.hasOwnProperty("y"), C = r2, N = n2, D = window;
253
253
  if (m) {
254
254
  var S = y1(e), E = "clientHeight", H = "clientWidth";
@@ -258,7 +258,7 @@ function qa(c) {
258
258
  // $FlowFixMe[prop-missing]
259
259
  S[E]
260
260
  );
261
- x -= y - i.height, x *= l ? 1 : -1;
261
+ b -= y - i.height, b *= l ? 1 : -1;
262
262
  }
263
263
  if (t === r2 || (t === n2 || t === m2) && s === z1) {
264
264
  C = d2;
@@ -273,16 +273,16 @@ function qa(c) {
273
273
  position: r
274
274
  }, m && Ik), Q = f === !0 ? Bk({
275
275
  x: h,
276
- y: x
276
+ y: b
277
277
  }, l2(e)) : {
278
278
  x: h,
279
- y: x
279
+ y: b
280
280
  };
281
- if (h = Q.x, x = Q.y, l) {
281
+ if (h = Q.x, b = Q.y, l) {
282
282
  var U;
283
- return Object.assign({}, O, (U = {}, U[N] = _ ? "0" : "", U[C] = B ? "0" : "", U.transform = (D.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + x + "px)" : "translate3d(" + h + "px, " + x + "px, 0)", U));
283
+ return Object.assign({}, O, (U = {}, U[N] = _ ? "0" : "", U[C] = B ? "0" : "", U.transform = (D.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + b + "px)" : "translate3d(" + h + "px, " + b + "px, 0)", U));
284
284
  }
285
- return Object.assign({}, O, (a = {}, a[N] = _ ? x + "px" : "", a[C] = B ? h + "px" : "", a.transform = "", a));
285
+ return Object.assign({}, O, (a = {}, a[N] = _ ? b + "px" : "", a[C] = B ? h + "px" : "", a.transform = "", a));
286
286
  }
287
287
  function Pk(c) {
288
288
  var a = c.state, e = c.options, i = e.gpuAcceleration, t = i === void 0 ? !0 : i, s = e.adaptive, n = s === void 0 ? !0 : s, r = e.roundOffsets, l = r === void 0 ? !0 : r, m = {
@@ -482,7 +482,7 @@ function W9(c) {
482
482
  }
483
483
  function H1(c, a) {
484
484
  a === void 0 && (a = {});
485
- var e = a, i = e.placement, t = i === void 0 ? c.placement : i, s = e.strategy, n = s === void 0 ? c.strategy : s, r = e.boundary, l = r === void 0 ? dk : r, m = e.rootBoundary, f = m === void 0 ? O9 : m, v = e.elementContext, p = v === void 0 ? u1 : v, h = e.altBoundary, L = h === void 0 ? !1 : h, x = e.padding, k = x === void 0 ? 0 : x, B = $9(typeof k != "number" ? k : R9(k, x1)), _ = p === u1 ? vk : u1, C = c.rects.popper, N = c.elements[L ? _ : p], D = Gk($2(N) ? N : N.contextElement || I2(c.elements.popper), l, f, n), S = c1(c.elements.reference), E = W9({
485
+ var e = a, i = e.placement, t = i === void 0 ? c.placement : i, s = e.strategy, n = s === void 0 ? c.strategy : s, r = e.boundary, l = r === void 0 ? dk : r, m = e.rootBoundary, f = m === void 0 ? O9 : m, v = e.elementContext, p = v === void 0 ? u1 : v, h = e.altBoundary, L = h === void 0 ? !1 : h, b = e.padding, k = b === void 0 ? 0 : b, B = $9(typeof k != "number" ? k : R9(k, x1)), _ = p === u1 ? vk : u1, C = c.rects.popper, N = c.elements[L ? _ : p], D = Gk($2(N) ? N : N.contextElement || I2(c.elements.popper), l, f, n), S = c1(c.elements.reference), E = W9({
486
486
  reference: S,
487
487
  element: C,
488
488
  strategy: "absolute",
@@ -510,16 +510,16 @@ function Yk(c, a) {
510
510
  return m.indexOf(L) >= 0;
511
511
  });
512
512
  p.length === 0 && (p = v);
513
- var h = p.reduce(function(L, x) {
514
- return L[x] = H1(c, {
515
- placement: x,
513
+ var h = p.reduce(function(L, b) {
514
+ return L[b] = H1(c, {
515
+ placement: b,
516
516
  boundary: t,
517
517
  rootBoundary: s,
518
518
  padding: n
519
- })[V2(x)], L;
519
+ })[V2(b)], L;
520
520
  }, {});
521
- return Object.keys(h).sort(function(L, x) {
522
- return h[L] - h[x];
521
+ return Object.keys(h).sort(function(L, b) {
522
+ return h[L] - h[b];
523
523
  });
524
524
  }
525
525
  function Qk(c) {
@@ -531,14 +531,14 @@ function Qk(c) {
531
531
  function Zk(c) {
532
532
  var a = c.state, e = c.options, i = c.name;
533
533
  if (!a.modifiersData[i]._skip) {
534
- for (var t = e.mainAxis, s = t === void 0 ? !0 : t, n = e.altAxis, r = n === void 0 ? !0 : n, l = e.fallbackPlacements, m = e.padding, f = e.boundary, v = e.rootBoundary, p = e.altBoundary, h = e.flipVariations, L = h === void 0 ? !0 : h, x = e.allowedAutoPlacements, k = a.options.placement, B = V2(k), _ = B === k, C = l || (_ || !L ? [s3(k)] : Qk(k)), N = [k].concat(C).reduce(function(W2, x2) {
534
+ for (var t = e.mainAxis, s = t === void 0 ? !0 : t, n = e.altAxis, r = n === void 0 ? !0 : n, l = e.fallbackPlacements, m = e.padding, f = e.boundary, v = e.rootBoundary, p = e.altBoundary, h = e.flipVariations, L = h === void 0 ? !0 : h, b = e.allowedAutoPlacements, k = a.options.placement, B = V2(k), _ = B === k, C = l || (_ || !L ? [s3(k)] : Qk(k)), N = [k].concat(C).reduce(function(W2, x2) {
535
535
  return W2.concat(V2(x2) === B4 ? Yk(a, {
536
536
  placement: x2,
537
537
  boundary: f,
538
538
  rootBoundary: v,
539
539
  padding: m,
540
540
  flipVariations: L,
541
- allowedAutoPlacements: x
541
+ allowedAutoPlacements: b
542
542
  }) : x2);
543
543
  }, []), D = a.rects.reference, S = a.rects.popper, E = /* @__PURE__ */ new Map(), H = !0, y = N[0], A = 0; A < N.length; A++) {
544
544
  var O = N[A], Q = V2(O), U = e1(O) === J2, t2 = [n2, m2].indexOf(Q) >= 0, f2 = t2 ? "width" : "height", Z = H1(a, {
@@ -671,14 +671,14 @@ function s_(c) {
671
671
  return c === "x" ? "y" : "x";
672
672
  }
673
673
  function n_(c) {
674
- var a = c.state, e = c.options, i = c.name, t = e.mainAxis, s = t === void 0 ? !0 : t, n = e.altAxis, r = n === void 0 ? !1 : n, l = e.boundary, m = e.rootBoundary, f = e.altBoundary, v = e.padding, p = e.tether, h = p === void 0 ? !0 : p, L = e.tetherOffset, x = L === void 0 ? 0 : L, k = H1(a, {
674
+ var a = c.state, e = c.options, i = c.name, t = e.mainAxis, s = t === void 0 ? !0 : t, n = e.altAxis, r = n === void 0 ? !1 : n, l = e.boundary, m = e.rootBoundary, f = e.altBoundary, v = e.padding, p = e.tether, h = p === void 0 ? !0 : p, L = e.tetherOffset, b = L === void 0 ? 0 : L, k = H1(a, {
675
675
  boundary: l,
676
676
  rootBoundary: m,
677
677
  padding: v,
678
678
  altBoundary: f
679
- }), B = V2(a.placement), _ = e1(a.placement), C = !_, N = j4(B), D = s_(N), S = a.modifiersData.popperOffsets, E = a.rects.reference, H = a.rects.popper, y = typeof x == "function" ? x(Object.assign({}, a.rects, {
679
+ }), B = V2(a.placement), _ = e1(a.placement), C = !_, N = j4(B), D = s_(N), S = a.modifiersData.popperOffsets, E = a.rects.reference, H = a.rects.popper, y = typeof b == "function" ? b(Object.assign({}, a.rects, {
680
680
  placement: a.placement
681
- })) : x, A = typeof y == "number" ? {
681
+ })) : b, A = typeof y == "number" ? {
682
682
  mainAxis: y,
683
683
  altAxis: y
684
684
  } : Object.assign({
@@ -821,7 +821,7 @@ function h_(c) {
821
821
  state: f,
822
822
  setOptions: function(B) {
823
823
  var _ = typeof B == "function" ? B(f.options) : B;
824
- x(), f.options = Object.assign({}, s, f.options, _), f.scrollParents = {
824
+ b(), f.options = Object.assign({}, s, f.options, _), f.scrollParents = {
825
825
  reference: $2(r) ? p1(r) : r.contextElement ? p1(r.contextElement) : [],
826
826
  popper: p1(l)
827
827
  };
@@ -869,7 +869,7 @@ function h_(c) {
869
869
  });
870
870
  }),
871
871
  destroy: function() {
872
- x(), p = !0;
872
+ b(), p = !0;
873
873
  }
874
874
  };
875
875
  if (!Ga(r, l))
@@ -892,7 +892,7 @@ function h_(c) {
892
892
  }
893
893
  });
894
894
  }
895
- function x() {
895
+ function b() {
896
896
  v.forEach(function(k) {
897
897
  return k();
898
898
  }), v = [];
@@ -954,7 +954,7 @@ function V4(...c) {
954
954
  Array.isArray(e) || (e = [e]), Array.isArray(i) || (i = [i]);
955
955
  const s = [], n = () => {
956
956
  s.forEach((f) => f()), s.length = 0;
957
- }, r = (f, v, p, h) => (f.addEventListener(v, p, h), () => f.removeEventListener(v, p, h)), l = c2(() => [m1(a), f3(t)], ([f, v]) => {
957
+ }, r = (f, v, p, h) => (f.addEventListener(v, p, h), () => f.removeEventListener(v, p, h)), l = e2(() => [m1(a), f3(t)], ([f, v]) => {
958
958
  n(), f && s.push(...e.flatMap((p) => i.map((h) => r(f, p, h, v))));
959
959
  }, { immediate: !0, flush: "post" }), m = () => {
960
960
  l(), n();
@@ -1129,7 +1129,7 @@ const a9 = {
1129
1129
  return;
1130
1130
  }
1131
1131
  h();
1132
- }, x = (H = "", y = "") => {
1132
+ }, b = (H = "", y = "") => {
1133
1133
  e.hover !== !1 && (y === "trigger" ? r.value = H === "open" : l.value = H === "open", L(H));
1134
1134
  }, k = function(H, y) {
1135
1135
  const { slots: A } = y;
@@ -1139,9 +1139,9 @@ const a9 = {
1139
1139
  class: "trigger-element",
1140
1140
  ref: i,
1141
1141
  ariaDescribedby: "tooltip",
1142
- onMouseenter: () => x("open", "trigger"),
1143
- onMouseleave: () => x("close", "trigger"),
1144
- onFocus: () => x("open"),
1142
+ onMouseenter: () => b("open", "trigger"),
1143
+ onMouseleave: () => b("close", "trigger"),
1144
+ onFocus: () => b("open"),
1145
1145
  onClick: () => L()
1146
1146
  },
1147
1147
  A.default ? A.default() : ""
@@ -1204,10 +1204,10 @@ const a9 = {
1204
1204
  ref: t,
1205
1205
  style: D.value,
1206
1206
  onMouseleave: () => {
1207
- e.hover === !1 || e.interactive === !1 || x("close", "tooltip");
1207
+ e.hover === !1 || e.interactive === !1 || b("close", "tooltip");
1208
1208
  },
1209
1209
  onMouseenter: () => {
1210
- e.hover === !1 || e.interactive === !1 || x("open", "tooltip");
1210
+ e.hover === !1 || e.interactive === !1 || b("open", "tooltip");
1211
1211
  }
1212
1212
  },
1213
1213
  [
@@ -1275,7 +1275,7 @@ const a9 = {
1275
1275
  }), lk(() => {
1276
1276
  var H;
1277
1277
  (H = s.value) == null || H.destroy(), s.value = void 0;
1278
- }), c2(n, (H) => {
1278
+ }), e2(n, (H) => {
1279
1279
  var y;
1280
1280
  if (H === !1) {
1281
1281
  e.onClosed !== void 0 && e.onClosed();
@@ -12434,7 +12434,7 @@ function DT(c) {
12434
12434
  }];
12435
12435
  }
12436
12436
  function xa(c) {
12437
- var a = c.icons, e = a.main, i = a.mask, t = c.prefix, s = c.iconName, n = c.transform, r = c.symbol, l = c.title, m = c.maskId, f = c.titleId, v = c.extra, p = c.watchable, h = p === void 0 ? !1 : p, L = i.found ? i : e, x = L.width, k = L.height, B = t === "fak", _ = [T.replacementClass, s ? "".concat(T.cssPrefix, "-").concat(s) : ""].filter(function(y) {
12437
+ var a = c.icons, e = a.main, i = a.mask, t = c.prefix, s = c.iconName, n = c.transform, r = c.symbol, l = c.title, m = c.maskId, f = c.titleId, v = c.extra, p = c.watchable, h = p === void 0 ? !1 : p, L = i.found ? i : e, b = L.width, k = L.height, B = t === "fak", _ = [T.replacementClass, s ? "".concat(T.cssPrefix, "-").concat(s) : ""].filter(function(y) {
12438
12438
  return v.classes.indexOf(y) === -1;
12439
12439
  }).filter(function(y) {
12440
12440
  return y !== "" || !!y;
@@ -12446,10 +12446,10 @@ function xa(c) {
12446
12446
  class: _,
12447
12447
  role: v.attributes.role || "img",
12448
12448
  xmlns: "http://www.w3.org/2000/svg",
12449
- viewBox: "0 0 ".concat(x, " ").concat(k)
12449
+ viewBox: "0 0 ".concat(b, " ").concat(k)
12450
12450
  })
12451
12451
  }, N = B && !~v.classes.indexOf("fa-fw") ? {
12452
- width: "".concat(x / k * 16 * 0.0625, "em")
12452
+ width: "".concat(b / k * 16 * 0.0625, "em")
12453
12453
  } : {};
12454
12454
  h && (C.attributes[R2] = ""), l && (C.children.push({
12455
12455
  tag: "title",
@@ -12860,7 +12860,7 @@ function JT(c) {
12860
12860
  };
12861
12861
  }
12862
12862
  var KT = function(a) {
12863
- var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = e.transform, t = i === void 0 ? h2 : i, s = e.symbol, n = s === void 0 ? !1 : s, r = e.mask, l = r === void 0 ? null : r, m = e.maskId, f = m === void 0 ? null : m, v = e.title, p = v === void 0 ? null : v, h = e.titleId, L = h === void 0 ? null : h, x = e.classes, k = x === void 0 ? [] : x, B = e.attributes, _ = B === void 0 ? {} : B, C = e.styles, N = C === void 0 ? {} : C;
12863
+ var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = e.transform, t = i === void 0 ? h2 : i, s = e.symbol, n = s === void 0 ? !1 : s, r = e.mask, l = r === void 0 ? null : r, m = e.maskId, f = m === void 0 ? null : m, v = e.title, p = v === void 0 ? null : v, h = e.titleId, L = h === void 0 ? null : h, b = e.classes, k = b === void 0 ? [] : b, B = e.attributes, _ = B === void 0 ? {} : B, C = e.styles, N = C === void 0 ? {} : C;
12864
12864
  if (a) {
12865
12865
  var D = a.prefix, S = a.iconName, E = a.icon;
12866
12866
  return u4(w({
@@ -12920,8 +12920,8 @@ var KT = function(a) {
12920
12920
  width: 512,
12921
12921
  height: 512,
12922
12922
  icon: {}
12923
- })]).then(function(x) {
12924
- var k = pa(x, 2), B = k[0], _ = k[1];
12923
+ })]).then(function(b) {
12924
+ var k = pa(b, 2), B = k[0], _ = k[1];
12925
12925
  h([e, xa({
12926
12926
  icons: {
12927
12927
  main: B,
@@ -13070,9 +13070,9 @@ function x9(c, a) {
13070
13070
  if (n && !l)
13071
13071
  return c.removeChild(n), i();
13072
13072
  if (l && f !== "none" && f !== "") {
13073
- var v = r.getPropertyValue("content"), p = ~["Sharp"].indexOf(l[2]) ? J : G, h = ~["Solid", "Regular", "Light", "Thin", "Duotone", "Brands", "Kit"].indexOf(l[2]) ? g1[p][l[2].toLowerCase()] : K_[p][m], L = sD(v), x = L.value, k = L.isSecondary, B = l[0].startsWith("FontAwesome"), _ = La(h, x), C = _;
13073
+ var v = r.getPropertyValue("content"), p = ~["Sharp"].indexOf(l[2]) ? J : G, h = ~["Solid", "Regular", "Light", "Thin", "Duotone", "Brands", "Kit"].indexOf(l[2]) ? g1[p][l[2].toLowerCase()] : K_[p][m], L = sD(v), b = L.value, k = L.isSecondary, B = l[0].startsWith("FontAwesome"), _ = La(h, b), C = _;
13074
13074
  if (B) {
13075
- var N = xT(x);
13075
+ var N = xT(b);
13076
13076
  N.iconName && N.prefix && (_ = N.iconName, h = N.prefix);
13077
13077
  }
13078
13078
  if (_ && !k && (!n || n.getAttribute(Va) !== h || n.getAttribute(za) !== C)) {
@@ -13280,7 +13280,7 @@ var mD = {
13280
13280
  attributes: w(w({}, g4), {}, {
13281
13281
  fill: "white"
13282
13282
  })
13283
- }, x = f.children ? {
13283
+ }, b = f.children ? {
13284
13284
  children: f.children.map(S9)
13285
13285
  } : {}, k = {
13286
13286
  tag: "g",
@@ -13288,7 +13288,7 @@ var mD = {
13288
13288
  children: [S9(w({
13289
13289
  tag: f.tag,
13290
13290
  attributes: w(w({}, f.attributes), h.path)
13291
- }, x))]
13291
+ }, b))]
13292
13292
  }, B = {
13293
13293
  tag: "g",
13294
13294
  attributes: w({}, h.outer),
@@ -13437,8 +13437,8 @@ const VD = P({
13437
13437
  return;
13438
13438
  const v = Object.keys(l.attributes || {}).reduce(
13439
13439
  (h, L) => {
13440
- const x = l.attributes[L];
13441
- return h.attrs[L] = x, h;
13440
+ const b = l.attributes[L];
13441
+ return h.attrs[L] = b, h;
13442
13442
  },
13443
13443
  {
13444
13444
  attrs: {}
@@ -13467,7 +13467,7 @@ const VD = P({
13467
13467
  title: s.value
13468
13468
  })
13469
13469
  );
13470
- c2(
13470
+ e2(
13471
13471
  n,
13472
13472
  (l) => {
13473
13473
  if (!l)
@@ -13537,16 +13537,16 @@ const VD = P({
13537
13537
  icon: `fa-solid fa-${c.icon}`,
13538
13538
  class: "AVButton--icon-left",
13539
13539
  "data-test": "btn-icon"
13540
- }, null, 8, ["icon"])) : b("", !0),
13540
+ }, null, 8, ["icon"])) : x("", !0),
13541
13541
  K(i.$slots, "default", {}, () => [
13542
- e2(V(c.label), 1)
13542
+ c2(V(c.label), 1)
13543
13543
  ], !0),
13544
13544
  c.iconRight ? (u(), q(s, {
13545
13545
  key: 1,
13546
13546
  icon: `fa-solid fa-${c.icon}`,
13547
13547
  class: "AVButton--icon-right",
13548
13548
  "data-test": "btn-icon"
13549
- }, null, 8, ["icon"])) : b("", !0)
13549
+ }, null, 8, ["icon"])) : x("", !0)
13550
13550
  ], 10, zD);
13551
13551
  };
13552
13552
  }
@@ -13697,8 +13697,8 @@ const I4 = /* @__PURE__ */ I(LD, [["__scopeId", "data-v-83458350"]]), bD = { cla
13697
13697
  id: `${c.id}-info-tooltip`,
13698
13698
  position: "right",
13699
13699
  content: c.tooltipText
13700
- }, null, 8, ["id", "content"])) : b("", !0)
13701
- ], 8, xD)) : b("", !0),
13700
+ }, null, 8, ["id", "content"])) : x("", !0)
13701
+ ], 8, xD)) : x("", !0),
13702
13702
  o("div", yD, [
13703
13703
  o("div", AD, [
13704
13704
  c.icon ? (u(), q(l, {
@@ -13706,7 +13706,7 @@ const I4 = /* @__PURE__ */ I(LD, [["__scopeId", "data-v-83458350"]]), bD = { cla
13706
13706
  icon: `fa-solid fa-${c.icon}`,
13707
13707
  class: "AVTextInput--input-icon",
13708
13708
  "data-test": "input-icon"
13709
- }, null, 8, ["icon"])) : b("", !0)
13709
+ }, null, 8, ["icon"])) : x("", !0)
13710
13710
  ]),
13711
13711
  o("input", {
13712
13712
  id: c.id,
@@ -13723,9 +13723,9 @@ const I4 = /* @__PURE__ */ I(LD, [["__scopeId", "data-v-83458350"]]), bD = { cla
13723
13723
  class: "AVTextInput--error-icon",
13724
13724
  "data-test": "input-error-icon"
13725
13725
  })
13726
- ])) : b("", !0)
13726
+ ])) : x("", !0)
13727
13727
  ]),
13728
- c.error && c.errorMessage ? (u(), d("p", wD, V(c.errorMessage), 1)) : b("", !0)
13728
+ c.error && c.errorMessage ? (u(), d("p", wD, V(c.errorMessage), 1)) : x("", !0)
13729
13729
  ]);
13730
13730
  };
13731
13731
  }
@@ -13821,8 +13821,8 @@ const _D = /* @__PURE__ */ I(kD, [["__scopeId", "data-v-9ab10a3b"]]), TD = { cla
13821
13821
  id: `${c.id}-info-tooltip`,
13822
13822
  position: "right",
13823
13823
  content: c.tooltipText
13824
- }, null, 8, ["id", "content"])) : b("", !0)
13825
- ], 8, DD)) : b("", !0),
13824
+ }, null, 8, ["id", "content"])) : x("", !0)
13825
+ ], 8, DD)) : x("", !0),
13826
13826
  o("div", {
13827
13827
  class: "AVNumberInput--input-field",
13828
13828
  onMouseenter: n,
@@ -13834,7 +13834,7 @@ const _D = /* @__PURE__ */ I(kD, [["__scopeId", "data-v-9ab10a3b"]]), TD = { cla
13834
13834
  icon: `fa-solid fa-${c.icon}`,
13835
13835
  class: "AVNumberInput--input-icon",
13836
13836
  "data-test": "input-icon"
13837
- }, null, 8, ["icon"])) : b("", !0)
13837
+ }, null, 8, ["icon"])) : x("", !0)
13838
13838
  ]),
13839
13839
  o("input", {
13840
13840
  value: c.modelValue,
@@ -13884,9 +13884,9 @@ const _D = /* @__PURE__ */ I(kD, [["__scopeId", "data-v-9ab10a3b"]]), TD = { cla
13884
13884
  class: "AVNumberInput--error-icon",
13885
13885
  "data-test": "input-error-icon"
13886
13886
  })
13887
- ])) : b("", !0)
13887
+ ])) : x("", !0)
13888
13888
  ], 32),
13889
- c.error && c.errorMessage ? (u(), d("p", OD, V(c.errorMessage), 1)) : b("", !0)
13889
+ c.error && c.errorMessage ? (u(), d("p", OD, V(c.errorMessage), 1)) : x("", !0)
13890
13890
  ]);
13891
13891
  };
13892
13892
  }
@@ -13957,11 +13957,11 @@ const ED = /* @__PURE__ */ I(jD, [["__scopeId", "data-v-cd10cd1f"]]), qD = { cla
13957
13957
  id: `${c.id}-info-tooltip`,
13958
13958
  position: "right",
13959
13959
  content: c.tooltipText
13960
- }, null, 8, ["id", "content"])) : b("", !0)
13961
- ], 8, FD)) : b("", !0),
13960
+ }, null, 8, ["id", "content"])) : x("", !0)
13961
+ ], 8, FD)) : x("", !0),
13962
13962
  o("div", $D, [
13963
13963
  o("div", RD, [
13964
- c.disableIcon ? b("", !0) : (u(), q(l, {
13964
+ c.disableIcon ? x("", !0) : (u(), q(l, {
13965
13965
  key: 0,
13966
13966
  icon: "fa-solid fa-key",
13967
13967
  class: "AVPaswordInput--input-icon",
@@ -13991,7 +13991,7 @@ const ED = /* @__PURE__ */ I(jD, [["__scopeId", "data-v-cd10cd1f"]]), qD = { cla
13991
13991
  ])
13992
13992
  ], 2)
13993
13993
  ]),
13994
- c.error && c.errorMessage ? (u(), d("p", WD, V(c.errorMessage), 1)) : b("", !0)
13994
+ c.error && c.errorMessage ? (u(), d("p", WD, V(c.errorMessage), 1)) : x("", !0)
13995
13995
  ]);
13996
13996
  };
13997
13997
  }
@@ -14064,8 +14064,8 @@ const YD = /* @__PURE__ */ I(GD, [["__scopeId", "data-v-d3a76ffa"]]), QD = { cla
14064
14064
  id: `${c.id}-info-tooltip`,
14065
14065
  position: "right",
14066
14066
  content: c.tooltipText
14067
- }, null, 8, ["id", "content"])) : b("", !0)
14068
- ], 8, ZD)) : b("", !0),
14067
+ }, null, 8, ["id", "content"])) : x("", !0)
14068
+ ], 8, ZD)) : x("", !0),
14069
14069
  o("div", XD, [
14070
14070
  o("div", JD, [
14071
14071
  c.icon ? (u(), q(n, {
@@ -14073,7 +14073,7 @@ const YD = /* @__PURE__ */ I(GD, [["__scopeId", "data-v-d3a76ffa"]]), QD = { cla
14073
14073
  icon: `fa-solid fa-${c.icon}`,
14074
14074
  class: "AVDatetimeInput--input-icon",
14075
14075
  "data-test": "input-icon"
14076
- }, null, 8, ["icon"])) : b("", !0)
14076
+ }, null, 8, ["icon"])) : x("", !0)
14077
14077
  ]),
14078
14078
  o("input", {
14079
14079
  value: c.modelValue,
@@ -14089,7 +14089,7 @@ const YD = /* @__PURE__ */ I(GD, [["__scopeId", "data-v-d3a76ffa"]]), QD = { cla
14089
14089
  max: c.max
14090
14090
  }, null, 46, KD)
14091
14091
  ]),
14092
- c.error && c.errorMessage ? (u(), d("p", cI, V(c.errorMessage), 1)) : b("", !0)
14092
+ c.error && c.errorMessage ? (u(), d("p", cI, V(c.errorMessage), 1)) : x("", !0)
14093
14093
  ]);
14094
14094
  };
14095
14095
  }
@@ -14165,8 +14165,8 @@ const aI = /* @__PURE__ */ I(eI, [["__scopeId", "data-v-2fe9b4c5"]]), iI = { cla
14165
14165
  id: `${c.id}-info-tooltip`,
14166
14166
  position: "right",
14167
14167
  content: c.tooltipText
14168
- }, null, 8, ["id", "content"])) : b("", !0)
14169
- ], 8, tI)) : b("", !0),
14168
+ }, null, 8, ["id", "content"])) : x("", !0)
14169
+ ], 8, tI)) : x("", !0),
14170
14170
  o("div", sI, [
14171
14171
  o("div", {
14172
14172
  class: "AVTextArea--icon-container",
@@ -14177,7 +14177,7 @@ const aI = /* @__PURE__ */ I(eI, [["__scopeId", "data-v-2fe9b4c5"]]), iI = { cla
14177
14177
  icon: `fa-solid fa-${c.icon}`,
14178
14178
  class: "AVTextArea--input-icon",
14179
14179
  "data-test": "input-icon"
14180
- }, null, 8, ["icon"])) : b("", !0)
14180
+ }, null, 8, ["icon"])) : x("", !0)
14181
14181
  ], 4),
14182
14182
  o("textarea", {
14183
14183
  value: c.modelValue,
@@ -14196,9 +14196,9 @@ const aI = /* @__PURE__ */ I(eI, [["__scopeId", "data-v-2fe9b4c5"]]), iI = { cla
14196
14196
  class: "AVTextArea--error-icon",
14197
14197
  "data-test": "input-error-icon"
14198
14198
  })
14199
- ])) : b("", !0)
14199
+ ])) : x("", !0)
14200
14200
  ]),
14201
- c.error && c.errorMessage ? (u(), d("p", lI, V(c.errorMessage), 1)) : b("", !0)
14201
+ c.error && c.errorMessage ? (u(), d("p", lI, V(c.errorMessage), 1)) : x("", !0)
14202
14202
  ]);
14203
14203
  };
14204
14204
  }
@@ -14365,8 +14365,8 @@ const hI = /* @__PURE__ */ I(pI, [["__scopeId", "data-v-ff11beb8"]]), VI = { cla
14365
14365
  id: `${c.id}-info-tooltip`,
14366
14366
  position: "right",
14367
14367
  content: c.tooltipText
14368
- }, null, 8, ["id", "content"])) : b("", !0)
14369
- ], 8, zI)) : b("", !0),
14368
+ }, null, 8, ["id", "content"])) : x("", !0)
14369
+ ], 8, zI)) : x("", !0),
14370
14370
  o("div", {
14371
14371
  onClick: r,
14372
14372
  class: "AVDropdown"
@@ -14387,7 +14387,7 @@ const hI = /* @__PURE__ */ I(pI, [["__scopeId", "data-v-ff11beb8"]]), VI = { cla
14387
14387
  class: "AVDropdown--input-icon",
14388
14388
  "data-test": "input-icon"
14389
14389
  }, null, 8, ["icon"])
14390
- ])) : b("", !0),
14390
+ ])) : x("", !0),
14391
14391
  s.value === void 0 ? (u(), d("span", gI, V(c.placeholder), 1)) : (u(), d("span", {
14392
14392
  key: 2,
14393
14393
  class: "AVDropdown--selected-option",
@@ -14406,14 +14406,14 @@ const hI = /* @__PURE__ */ I(pI, [["__scopeId", "data-v-ff11beb8"]]), VI = { cla
14406
14406
  (u(!0), d(R, null, X(t.value, (L) => (u(), q(p, {
14407
14407
  key: L,
14408
14408
  optionLabel: L.label,
14409
- onOnSelected: (x) => n(L.value),
14409
+ onOnSelected: (b) => n(L.value),
14410
14410
  "data-test": "option"
14411
14411
  }, null, 8, ["optionLabel", "onOnSelected"]))), 128))
14412
14412
  ]),
14413
14413
  _: 1
14414
14414
  })
14415
14415
  ]),
14416
- c.error && c.errorMessage ? (u(), d("p", bI, V(c.errorMessage), 1)) : b("", !0)
14416
+ c.error && c.errorMessage ? (u(), d("p", bI, V(c.errorMessage), 1)) : x("", !0)
14417
14417
  ]);
14418
14418
  };
14419
14419
  }
@@ -14430,7 +14430,7 @@ const yI = /* @__PURE__ */ I(xI, [["__scopeId", "data-v-dc6eea8a"]]), AI = ["ari
14430
14430
  "aria-labelledby": i.value
14431
14431
  }, [
14432
14432
  K(t.$slots, "default", {}, void 0, !0)
14433
- ], 8, AI)) : b("", !0)
14433
+ ], 8, AI)) : x("", !0)
14434
14434
  ]),
14435
14435
  _: 3
14436
14436
  }));
@@ -14527,9 +14527,9 @@ const kI = /* @__PURE__ */ I(wI, [["__scopeId", "data-v-2ca0bff3"]]), _I = {
14527
14527
  style: H2(c.customWidth && `width: ${c.customWidth}px`),
14528
14528
  "data-test": "alert"
14529
14529
  }, [
14530
- c.disableHeader ? b("", !0) : (u(), d("div", _I, [
14530
+ c.disableHeader ? x("", !0) : (u(), d("div", _I, [
14531
14531
  o("div", TI, [
14532
- c.disableIcon ? b("", !0) : (u(), d("div", DI, [
14532
+ c.disableIcon ? x("", !0) : (u(), d("div", DI, [
14533
14533
  z(l, {
14534
14534
  icon: `fa-solid fa-${c.icon !== "" ? c.icon : s[c.type]}`,
14535
14535
  "data-test": "alert-icon"
@@ -14537,7 +14537,7 @@ const kI = /* @__PURE__ */ I(wI, [["__scopeId", "data-v-2ca0bff3"]]), _I = {
14537
14537
  ])),
14538
14538
  o("span", II, V(c.title !== "" ? c.title : t[c.type]), 1)
14539
14539
  ]),
14540
- c.disableDismiss ? b("", !0) : (u(), d("button", {
14540
+ c.disableDismiss ? x("", !0) : (u(), d("button", {
14541
14541
  key: 0,
14542
14542
  class: "AVAlert--icon-container",
14543
14543
  onClick: i
@@ -14699,7 +14699,7 @@ const PI = /* @__PURE__ */ I(BI, [["__scopeId", "data-v-0cc3f6d1"]]), OI = {
14699
14699
  return D.files;
14700
14700
  }, v = g(() => e.accept.split(",")), p = g(() => e.accept.split(",").join(", ")), h = g(
14701
14701
  () => v.value.map((C) => C.toLocaleLowerCase())
14702
- ), L = (C) => C.split("/").pop(), x = (C) => {
14702
+ ), L = (C) => C.split("/").pop(), b = (C) => {
14703
14703
  C.preventDefault(), !e.disabled && (t.value.files = f(C.dataTransfer.files), s.value = e.multiple ? [...t.value.files] : [t.value.files[0]], a("update", s.value), i.value = !1);
14704
14704
  }, k = (C) => {
14705
14705
  s.value.splice(C, 1), a("update", s.value);
@@ -14714,7 +14714,7 @@ const PI = /* @__PURE__ */ I(BI, [["__scopeId", "data-v-0cc3f6d1"]]), OI = {
14714
14714
  return (C, N) => {
14715
14715
  const D = M("AVTooltip"), S = M("AVIcon");
14716
14716
  return u(), d("div", jI, [
14717
- c.disableLabel ? b("", !0) : (u(), d("label", {
14717
+ c.disableLabel ? x("", !0) : (u(), d("label", {
14718
14718
  key: 0,
14719
14719
  for: c.id,
14720
14720
  class: "AVFileInput--label",
@@ -14726,13 +14726,13 @@ const PI = /* @__PURE__ */ I(BI, [["__scopeId", "data-v-0cc3f6d1"]]), OI = {
14726
14726
  id: `${c.id}-info-tooltip`,
14727
14727
  position: "right",
14728
14728
  content: c.tooltipText
14729
- }, null, 8, ["id", "content"])) : b("", !0)
14729
+ }, null, 8, ["id", "content"])) : x("", !0)
14730
14730
  ], 8, EI)),
14731
14731
  o("div", {
14732
14732
  class: j(`AVFileInput--dropzone-container ${c.error && "error"} ${c.disabled && "disabled"}`),
14733
14733
  onDragover: l,
14734
14734
  onDragleave: m,
14735
- onDrop: x
14735
+ onDrop: b
14736
14736
  }, [
14737
14737
  o("input", {
14738
14738
  type: "file",
@@ -14762,15 +14762,15 @@ const PI = /* @__PURE__ */ I(BI, [["__scopeId", "data-v-0cc3f6d1"]]), OI = {
14762
14762
  ])) : (u(), d("div", WI, [
14763
14763
  o("div", GI, V(n.value.primary), 1),
14764
14764
  o("div", YI, [
14765
- e2(V(n.value.secondary.start) + " ", 1),
14765
+ c2(V(n.value.secondary.start) + " ", 1),
14766
14766
  o("strong", null, V(n.value.secondary.strong), 1),
14767
- e2(" " + V(n.value.secondary.end), 1)
14767
+ c2(" " + V(n.value.secondary.end), 1)
14768
14768
  ])
14769
14769
  ]))
14770
14770
  ], 8, $I)
14771
14771
  ], 34),
14772
- c.disableAcceptedFormats ? b("", !0) : (u(), d("p", QI, [
14773
- e2(V(n.value.acceptedFormats) + " ", 1),
14772
+ c.disableAcceptedFormats ? x("", !0) : (u(), d("p", QI, [
14773
+ c2(V(n.value.acceptedFormats) + " ", 1),
14774
14774
  o("em", ZI, V(p.value), 1)
14775
14775
  ])),
14776
14776
  s.value.length ? (u(), d("div", XI, [
@@ -14793,11 +14793,11 @@ const PI = /* @__PURE__ */ I(BI, [["__scopeId", "data-v-0cc3f6d1"]]), OI = {
14793
14793
  }))
14794
14794
  ]),
14795
14795
  o("p", aB, [
14796
- e2(V(E.name) + " ", 1),
14796
+ c2(V(E.name) + " ", 1),
14797
14797
  o("em", null, V(Math.round(E.size / 1e3) + "kb"), 1)
14798
14798
  ])
14799
14799
  ]),
14800
- c.disabled ? b("", !0) : (u(), d("button", {
14800
+ c.disabled ? x("", !0) : (u(), d("button", {
14801
14801
  key: 0,
14802
14802
  class: "AVTextInput--delete-btn",
14803
14803
  type: "button",
@@ -14811,7 +14811,7 @@ const PI = /* @__PURE__ */ I(BI, [["__scopeId", "data-v-0cc3f6d1"]]), OI = {
14811
14811
  })
14812
14812
  ], 8, iB))
14813
14813
  ], 2))), 128))
14814
- ])) : b("", !0),
14814
+ ])) : x("", !0),
14815
14815
  c.currentValue ? (u(), d("div", tB, [
14816
14816
  o("p", sB, V(n.value.current), 1),
14817
14817
  (u(!0), d(R, null, X(c.currentValue, (E) => (u(), d("div", {
@@ -14847,8 +14847,8 @@ const PI = /* @__PURE__ */ I(BI, [["__scopeId", "data-v-0cc3f6d1"]]), OI = {
14847
14847
  ], 8, uB)
14848
14848
  ]))
14849
14849
  ]))), 128))
14850
- ])) : b("", !0),
14851
- c.error && c.errorMessage ? (u(), d("p", mB, V(c.errorMessage), 1)) : b("", !0)
14850
+ ])) : x("", !0),
14851
+ c.error && c.errorMessage ? (u(), d("p", mB, V(c.errorMessage), 1)) : x("", !0)
14852
14852
  ]);
14853
14853
  };
14854
14854
  }
@@ -14884,7 +14884,7 @@ const vB = /* @__PURE__ */ I(dB, [["__scopeId", "data-v-3122c494"]]), pB = (c) =
14884
14884
  }, s = () => {
14885
14885
  a("update", e.value, i.value);
14886
14886
  };
14887
- return c2(
14887
+ return e2(
14888
14888
  () => e.checked,
14889
14889
  () => {
14890
14890
  i.value = e.checked;
@@ -14901,7 +14901,7 @@ const vB = /* @__PURE__ */ I(dB, [["__scopeId", "data-v-3122c494"]]), pB = (c) =
14901
14901
  disabled: c.disabled
14902
14902
  }, null, 40, VB),
14903
14903
  zB,
14904
- e2(" " + V(c.value), 1)
14904
+ c2(" " + V(c.value), 1)
14905
14905
  ], 10, hB));
14906
14906
  }
14907
14907
  });
@@ -14974,7 +14974,7 @@ const MB = /* @__PURE__ */ I(HB, [["__scopeId", "data-v-d8e45fa7"]]), gB = ["hre
14974
14974
  class: j(`AVLink AVLink--${c.variant}`)
14975
14975
  }, [
14976
14976
  o("span", null, V(c.label), 1),
14977
- c.disableIcon ? b("", !0) : (u(), q(i, {
14977
+ c.disableIcon ? x("", !0) : (u(), q(i, {
14978
14978
  key: 0,
14979
14979
  icon: "fa-solid fa-arrow-up-right-from-square",
14980
14980
  class: "AVLink--icon",
@@ -15039,7 +15039,7 @@ const LB = /* @__PURE__ */ I(CB, [["__scopeId", "data-v-999075bc"]]), bB = ["hre
15039
15039
  target: c.target,
15040
15040
  style: H2(`width: ${c.customWidth}px`)
15041
15041
  }, [
15042
- c.disableIcon ? b("", !0) : (u(), q(l, {
15042
+ c.disableIcon ? x("", !0) : (u(), q(l, {
15043
15043
  key: 0,
15044
15044
  icon: `fa-solid fa-${c.icon}`,
15045
15045
  class: "AVNavbarItem--icon"
@@ -15052,7 +15052,7 @@ const LB = /* @__PURE__ */ I(CB, [["__scopeId", "data-v-999075bc"]]), bB = ["hre
15052
15052
  disabled: c.disabled,
15053
15053
  onClick: s
15054
15054
  }, [
15055
- c.disableIcon ? b("", !0) : (u(), q(l, {
15055
+ c.disableIcon ? x("", !0) : (u(), q(l, {
15056
15056
  key: 0,
15057
15057
  icon: `fa-solid fa-${c.icon}`,
15058
15058
  class: "AVNavbarItem--icon"
@@ -15197,13 +15197,13 @@ const IB = /* @__PURE__ */ I(DB, [["__scopeId", "data-v-835677d9"]]), BB = { cla
15197
15197
  }, {
15198
15198
  default: $(() => [
15199
15199
  o("div", BB, [
15200
- c.text ? (u(), d("span", PB, V(c.text), 1)) : b("", !0),
15200
+ c.text ? (u(), d("span", PB, V(c.text), 1)) : x("", !0),
15201
15201
  c.icon ? (u(), q(i, {
15202
15202
  key: 1,
15203
15203
  icon: c.icon,
15204
15204
  class: "AVTooltip--icon",
15205
15205
  "aria-hidden": "true"
15206
- }, null, 8, ["icon"])) : b("", !0)
15206
+ }, null, 8, ["icon"])) : x("", !0)
15207
15207
  ])
15208
15208
  ]),
15209
15209
  content: $(() => [
@@ -15299,7 +15299,7 @@ const RB = /* @__PURE__ */ I($B, [["__scopeId", "data-v-9cd08151"]]), UB = ["ari
15299
15299
  "aria-labelledby": i.value
15300
15300
  }, [
15301
15301
  K(t.$slots, "default", {}, void 0, !0)
15302
- ], 8, UB)) : b("", !0)
15302
+ ], 8, UB)) : x("", !0)
15303
15303
  ]),
15304
15304
  _: 3
15305
15305
  }));
@@ -15337,8 +15337,8 @@ const GB = /* @__PURE__ */ I(WB, [["__scopeId", "data-v-e8fb623b"]]), YB = ["hre
15337
15337
  class: "AVMenuDropdownItem--icon",
15338
15338
  icon: `fa-solid fa-${c.icon}`,
15339
15339
  "data-test": "option-icon"
15340
- }, null, 8, ["icon"])) : b("", !0),
15341
- e2(" " + V(c.optionLabel), 1)
15340
+ }, null, 8, ["icon"])) : x("", !0),
15341
+ c2(" " + V(c.optionLabel), 1)
15342
15342
  ], 10, YB);
15343
15343
  };
15344
15344
  }
@@ -15384,7 +15384,7 @@ const ZB = /* @__PURE__ */ I(QB, [["__scopeId", "data-v-f770cea1"]]), XB = ["dis
15384
15384
  emits: ["update:waiting"],
15385
15385
  setup(c, { emit: a }) {
15386
15386
  const e = c, i = F(!1);
15387
- c2(i, (r) => a("update:waiting", r));
15387
+ e2(i, (r) => a("update:waiting", r));
15388
15388
  const t = g(() => {
15389
15389
  if (!i.value)
15390
15390
  switch (e.variant) {
@@ -15427,7 +15427,7 @@ const ZB = /* @__PURE__ */ I(QB, [["__scopeId", "data-v-f770cea1"]]), XB = ["dis
15427
15427
  })
15428
15428
  ], !0),
15429
15429
  K(r.$slots, "waitingLabel", {}, () => [
15430
- e2("Working...")
15430
+ c2("Working...")
15431
15431
  ], !0)
15432
15432
  ], 64)) : K(r.$slots, "default", { key: 0 }, () => [
15433
15433
  z(m, {
@@ -15485,15 +15485,15 @@ const KB = /* @__PURE__ */ I(JB, [["__scopeId", "data-v-11042fa9"]]), cP = { cla
15485
15485
  }, f = () => {
15486
15486
  a("update", t.value, i.value);
15487
15487
  };
15488
- return c2(
15488
+ return e2(
15489
15489
  () => e.options,
15490
15490
  () => n()
15491
- ), c2(
15491
+ ), e2(
15492
15492
  () => e.selected,
15493
15493
  () => {
15494
15494
  t.value = e.selected, r(e.selected);
15495
15495
  }
15496
- ), c2(
15496
+ ), e2(
15497
15497
  () => e.disabled,
15498
15498
  () => l()
15499
15499
  ), (v, p) => (u(), d("div", cP, [
@@ -15623,7 +15623,7 @@ const lP = /* @__PURE__ */ I(rP, [["__scopeId", "data-v-607d90fc"]]), oP = {
15623
15623
  class: j(`AVTimedCard--help-text ${c.timeout - i.value <= c.customWarningTime && "AVTimedCard--help-text-warning"}`),
15624
15624
  "data-test": "help-text"
15625
15625
  }, [
15626
- e2(V(c.expirationMessage), 1),
15626
+ c2(V(c.expirationMessage), 1),
15627
15627
  o("strong", null, V(m.value), 1)
15628
15628
  ], 2)
15629
15629
  ], 64));
@@ -15661,12 +15661,12 @@ const mP = /* @__PURE__ */ I(uP, [["__scopeId", "data-v-583fff65"]]), dP = (c) =
15661
15661
  class: j(`AVBasicSteps--step ${e(c.steps[1]) && "AVBasicSteps--step-active"}`),
15662
15662
  "data-test": "step"
15663
15663
  }, V(c.steps[1]), 3),
15664
- c.steps.length === 3 ? (u(), d("span", hP)) : b("", !0),
15664
+ c.steps.length === 3 ? (u(), d("span", hP)) : x("", !0),
15665
15665
  c.steps.length === 3 ? (u(), d("span", {
15666
15666
  key: 1,
15667
15667
  class: j(`AVBasicSteps--step ${e(c.steps[2]) && "AVBasicSteps--step-active"}`),
15668
15668
  "data-test": "step"
15669
- }, V(c.steps[2]), 3)) : b("", !0)
15669
+ }, V(c.steps[2]), 3)) : x("", !0)
15670
15670
  ]));
15671
15671
  }
15672
15672
  });
@@ -15705,13 +15705,13 @@ const zP = /* @__PURE__ */ I(VP, [["__scopeId", "data-v-9a6218e9"]]), HP = { cla
15705
15705
  }, t = (n) => a.done ? a.done.includes(n) : !1;
15706
15706
  v2(() => {
15707
15707
  i();
15708
- }), c2(
15708
+ }), e2(
15709
15709
  () => a.steps,
15710
15710
  () => i()
15711
- ), c2(
15711
+ ), e2(
15712
15712
  () => a.active,
15713
15713
  () => i()
15714
- ), c2(
15714
+ ), e2(
15715
15715
  () => a.done,
15716
15716
  () => i()
15717
15717
  );
@@ -15864,7 +15864,7 @@ const kP = /* @__PURE__ */ I(wP, [["__scopeId", "data-v-9953e4ee"]]), _P = {
15864
15864
  return u(), d("div", TP, [
15865
15865
  c.exclusiveError && c.checked ? (u(), d("div", DP, [
15866
15866
  o("div", IP, V(t.value.exclusive_option), 1)
15867
- ])) : b("", !0),
15867
+ ])) : x("", !0),
15868
15868
  o("button", fk({
15869
15869
  class: {
15870
15870
  AVOptionCheckbox: !0,
@@ -15885,7 +15885,7 @@ const kP = /* @__PURE__ */ I(wP, [["__scopeId", "data-v-9953e4ee"]]), _P = {
15885
15885
  rank: c.rank,
15886
15886
  checked: c.checked,
15887
15887
  locale: c.locale
15888
- }, null, 8, ["id", "rank", "checked", "locale"])) : b("", !0)
15888
+ }, null, 8, ["id", "rank", "checked", "locale"])) : x("", !0)
15889
15889
  ], 16, BP)
15890
15890
  ]);
15891
15891
  };
@@ -16072,12 +16072,12 @@ const $P = /* @__PURE__ */ I(FP, [["__scopeId", "data-v-823fd4bf"]]), RP = { cla
16072
16072
  }, l = () => {
16073
16073
  a("update", i.value, t.value);
16074
16074
  };
16075
- return c2(
16075
+ return e2(
16076
16076
  () => e.initialValue,
16077
16077
  () => {
16078
16078
  i.value = e.initialValue, s(e.initialValue);
16079
16079
  }
16080
- ), c2(
16080
+ ), e2(
16081
16081
  () => e.disabled,
16082
16082
  () => {
16083
16083
  n();
@@ -16085,7 +16085,7 @@ const $P = /* @__PURE__ */ I(FP, [["__scopeId", "data-v-823fd4bf"]]), RP = { cla
16085
16085
  ), (m, f) => {
16086
16086
  const v = M("AVRadio");
16087
16087
  return u(), d("div", RP, [
16088
- c.disableLabel ? b("", !0) : (u(), d("label", {
16088
+ c.disableLabel ? x("", !0) : (u(), d("label", {
16089
16089
  key: 0,
16090
16090
  for: c.id,
16091
16091
  class: "AVRadioGroup--label",
@@ -16105,7 +16105,7 @@ const $P = /* @__PURE__ */ I(FP, [["__scopeId", "data-v-823fd4bf"]]), RP = { cla
16105
16105
  onUpdate: (L) => r(p.value)
16106
16106
  }, null, 8, ["id", "value", "checked", "disabled", "onUpdate"]))), 128))
16107
16107
  ], 2),
16108
- c.error && c.errorMessage ? (u(), d("p", WP, V(c.errorMessage), 1)) : b("", !0)
16108
+ c.error && c.errorMessage ? (u(), d("p", WP, V(c.errorMessage), 1)) : x("", !0)
16109
16109
  ]);
16110
16110
  };
16111
16111
  }
@@ -16148,7 +16148,7 @@ const ZP = /* @__PURE__ */ I(QP, [["__scopeId", "data-v-9fd5c53d"]]), XP = { cla
16148
16148
  const i = M("AVIcon");
16149
16149
  return u(), d("div", XP, [
16150
16150
  o("a", { href: c.buttonHref }, [
16151
- c.disableButton ? b("", !0) : (u(), q(i, {
16151
+ c.disableButton ? x("", !0) : (u(), q(i, {
16152
16152
  key: 0,
16153
16153
  icon: "fa-solid fa-circle-chevron-left",
16154
16154
  class: "AVBreadcrumb--icon"
@@ -16265,7 +16265,7 @@ const eO = /* @__PURE__ */ I(cO, [["__scopeId", "data-v-71e09fe3"]]), aO = ["hre
16265
16265
  z(r, { icon: "fa-solid fa-location-pin" })
16266
16266
  ]),
16267
16267
  o("span", fO, [
16268
- e2(V(c.countyNameLabel), 1),
16268
+ c2(V(c.countyNameLabel), 1),
16269
16269
  o("strong", null, V(c.countyName), 1)
16270
16270
  ])
16271
16271
  ]),
@@ -16274,7 +16274,7 @@ const eO = /* @__PURE__ */ I(cO, [["__scopeId", "data-v-71e09fe3"]]), aO = ["hre
16274
16274
  z(r, { icon: "fa-solid fa-file-circle-plus" })
16275
16275
  ]),
16276
16276
  o("span", dO, [
16277
- e2(V(c.createdAtLabel), 1),
16277
+ c2(V(c.createdAtLabel), 1),
16278
16278
  o("strong", null, V(c.createdAt), 1)
16279
16279
  ])
16280
16280
  ]),
@@ -16283,7 +16283,7 @@ const eO = /* @__PURE__ */ I(cO, [["__scopeId", "data-v-71e09fe3"]]), aO = ["hre
16283
16283
  z(r, { icon: "fa-solid fa-pen-to-square" })
16284
16284
  ]),
16285
16285
  o("span", hO, [
16286
- e2(V(c.lastUpdatedLabel), 1),
16286
+ c2(V(c.lastUpdatedLabel), 1),
16287
16287
  o("strong", null, V(c.lastUpdated), 1)
16288
16288
  ])
16289
16289
  ])
@@ -16350,7 +16350,7 @@ const HO = /* @__PURE__ */ I(zO, [["__scopeId", "data-v-dd72671e"]]), MO = ["hre
16350
16350
  o("div", gO, [
16351
16351
  c.reviewed ? (u(), d("div", CO, [
16352
16352
  z(i, { icon: "fa-solid fa-check" })
16353
- ])) : b("", !0),
16353
+ ])) : x("", !0),
16354
16354
  o("div", LO, [
16355
16355
  o("div", bO, V(c.name), 1),
16356
16356
  o("div", xO, V(`${c.contestQty} ${c.contestLabel}`), 1)
@@ -16508,11 +16508,11 @@ const NO = /* @__PURE__ */ I(AO, [["__scopeId", "data-v-c682a2cf"]]), SO = {
16508
16508
  src: (f = c.option) == null ? void 0 : f.image,
16509
16509
  class: "AVSummaryOption--img",
16510
16510
  alt: e.value.option_image
16511
- }, null, 8, kO)) : b("", !0),
16511
+ }, null, 8, kO)) : x("", !0),
16512
16512
  o("div", _O, [
16513
16513
  o("div", TO, V(t.value), 1)
16514
16514
  ]),
16515
- i.value ? b("", !0) : (u(), d("div", DO, [
16515
+ i.value ? x("", !0) : (u(), d("div", DO, [
16516
16516
  z(l, {
16517
16517
  checked: !0,
16518
16518
  rank: (v = c.option) == null ? void 0 : v.rank,
@@ -16535,7 +16535,7 @@ const NO = /* @__PURE__ */ I(AO, [["__scopeId", "data-v-c682a2cf"]]), SO = {
16535
16535
  }, null, 8, ["rank"]);
16536
16536
  }), 128))
16537
16537
  ]))), 128))
16538
- ])) : b("", !0)
16538
+ ])) : x("", !0)
16539
16539
  ], 8, wO);
16540
16540
  };
16541
16541
  }
@@ -16726,7 +16726,7 @@ const PO = {
16726
16726
  ), L = g(() => {
16727
16727
  var A;
16728
16728
  return ((A = e.option.url) == null ? void 0 : A[e.locale]) ?? "";
16729
- }), x = g(() => {
16729
+ }), b = g(() => {
16730
16730
  var A;
16731
16731
  return ((A = e.option.videoUrl) == null ? void 0 : A[e.locale]) ?? "";
16732
16732
  }), k = g(() => e.option.image), B = g(() => {
@@ -16734,8 +16734,8 @@ const PO = {
16734
16734
  return L.value && A.push({
16735
16735
  url: L.value,
16736
16736
  text: l.value.info_link_text_html
16737
- }), x.value && A.push({
16738
- url: x.value,
16737
+ }), b.value && A.push({
16738
+ url: b.value,
16739
16739
  text: l.value.video_link_text_html
16740
16740
  }), A;
16741
16741
  }), _ = g(
@@ -16762,7 +16762,7 @@ const PO = {
16762
16762
  t.value = !0, n.value.scrollIntoView({ behavior: "smooth", block: "center" });
16763
16763
  }));
16764
16764
  };
16765
- return c2(
16765
+ return e2(
16766
16766
  () => i.value.get("highlight-option"),
16767
16767
  (A) => {
16768
16768
  const [O] = A ?? [];
@@ -16806,7 +16806,7 @@ const PO = {
16806
16806
  src: k.value,
16807
16807
  alt: l.value.aria_labels.option_image,
16808
16808
  class: "AVOption-image"
16809
- }, null, 8, FO)) : b("", !0),
16809
+ }, null, 8, FO)) : x("", !0),
16810
16810
  o("h5", {
16811
16811
  class: "AVOption--title",
16812
16812
  textContent: V(p.value)
@@ -16815,7 +16815,7 @@ const PO = {
16815
16815
  h.value || B.value.length ? (u(), d("div", RO, [
16816
16816
  h.value ? (u(), d("div", UO, [
16817
16817
  o("p", { innerHTML: h.value }, null, 8, WO)
16818
- ])) : b("", !0),
16818
+ ])) : x("", !0),
16819
16819
  B.value.length > 0 ? (u(), d("div", GO, [
16820
16820
  (u(!0), d(R, null, X(B.value, (i2) => (u(), d("a", {
16821
16821
  key: i2.toString(),
@@ -16824,7 +16824,7 @@ const PO = {
16824
16824
  target: "_blank",
16825
16825
  innerHTML: i2.text
16826
16826
  }, null, 8, YO))), 128))
16827
- ])) : b("", !0),
16827
+ ])) : x("", !0),
16828
16828
  W && _.value ? (u(), d("div", QO, [
16829
16829
  o("div", {
16830
16830
  id: `option_${c.option.code}_dropdown`,
@@ -16846,9 +16846,9 @@ const PO = {
16846
16846
  "AVOption--suboption-badge-danger": c.invalid,
16847
16847
  "AVOption--suboption-badge-normal": !c.invalid
16848
16848
  }])
16849
- }, V(m.value ? `${l.value.sub_options_select} ${N.value}` : `${N.value} ${l.value.sub_options_select}`), 3)) : b("", !0)
16850
- ])) : b("", !0)
16851
- ])) : b("", !0)
16849
+ }, V(m.value ? `${l.value.sub_options_select} ${N.value}` : `${N.value} ${l.value.sub_options_select}`), 3)) : x("", !0)
16850
+ ])) : x("", !0)
16851
+ ])) : x("", !0)
16852
16852
  ]),
16853
16853
  C.value >= 1 ? (u(), d("div", {
16854
16854
  key: 0,
@@ -16872,7 +16872,7 @@ const PO = {
16872
16872
  onToggled: (B2) => E(c.option.reference, s2)
16873
16873
  }, null, 8, ["checked", "rank", "option-reference", "check-box-index", "onToggled"]))), 128))
16874
16874
  ]))), 128))
16875
- ], 6)) : b("", !0)
16875
+ ], 6)) : x("", !0)
16876
16876
  ], 2)
16877
16877
  ], 10, jO)
16878
16878
  ]),
@@ -16888,7 +16888,7 @@ const PO = {
16888
16888
  onAccordionOpen: () => Z(!0, !1),
16889
16889
  locale: c.locale
16890
16890
  }, null, 8, ["option", "selections", "contest", "invalid", "onAccordionOpen", "locale"]))), 128))
16891
- ])) : b("", !0)
16891
+ ])) : x("", !0)
16892
16892
  ]),
16893
16893
  _: 1
16894
16894
  }, 8, ["collapsable", "start-collapsed"])
@@ -17465,14 +17465,14 @@ const Hj = /* @__PURE__ */ I(zj, [["__scopeId", "data-v-083c32ae"]]), Mj = {
17465
17465
  textContent: V(n)
17466
17466
  }, null, 8, bj))), 128)),
17467
17467
  xj
17468
- ])) : b("", !0),
17468
+ ])) : x("", !0),
17469
17469
  c.maxMarks > 1 ? (u(), d("div", yj, [
17470
17470
  o("div", Aj, [
17471
17471
  c.minMarks === c.maxMarks ? (u(), d("div", Nj, V(`${e.value.select_exactly.before} ${c.minMarks} ${e.value.select_exactly.after}`), 1)) : (u(), d("div", Sj, V(`${e.value.select_multiple.before} ${c.minMarks} ${e.value.select_multiple.mid} ${c.maxMarks} ${e.value.select_exactly.after}`), 1)),
17472
17472
  c.chosenCount > 0 ? (u(), d("div", wj, [
17473
- e2(V(e.value.selected) + " ", 1),
17473
+ c2(V(e.value.selected) + " ", 1),
17474
17474
  o("b", null, V(c.chosenCount), 1)
17475
- ])) : b("", !0)
17475
+ ])) : x("", !0)
17476
17476
  ])
17477
17477
  ])) : (u(), d("div", kj, [
17478
17478
  o("div", null, V(e.value.select_single), 1)
@@ -17684,7 +17684,7 @@ const Ij = {
17684
17684
  key: 0,
17685
17685
  class: "AVSearchBallot--alert",
17686
17686
  textContent: V(s.value.no_results)
17687
- }, null, 8, Uj)) : b("", !0)
17687
+ }, null, 8, Uj)) : x("", !0)
17688
17688
  ])
17689
17689
  ], 40, Bj));
17690
17690
  }
@@ -17770,19 +17770,19 @@ const Gj = /* @__PURE__ */ I(Wj, [["__scopeId", "data-v-3516a383"]]), Yj = {
17770
17770
  return (i, t) => (u(), d("div", Qj, [
17771
17771
  o("div", Zj, [
17772
17772
  o("span", null, [
17773
- e2(V(e.value.total) + " ", 1),
17773
+ c2(V(e.value.total) + " ", 1),
17774
17774
  o("strong", null, V(c.assignedWeight + c.unusedWeight), 1)
17775
17775
  ])
17776
17776
  ]),
17777
17777
  o("div", Xj, [
17778
17778
  o("span", null, [
17779
- e2(V(e.value.assigned) + " ", 1),
17779
+ c2(V(e.value.assigned) + " ", 1),
17780
17780
  o("strong", null, V(c.assignedWeight), 1)
17781
17781
  ])
17782
17782
  ]),
17783
17783
  o("div", Jj, [
17784
17784
  o("span", null, [
17785
- e2(V(e.value.unused) + " ", 1),
17785
+ c2(V(e.value.unused) + " ", 1),
17786
17786
  o("strong", null, V(c.unusedWeight), 1)
17787
17787
  ])
17788
17788
  ])
@@ -18032,7 +18032,7 @@ const cE = /* @__PURE__ */ I(Kj, [["__scopeId", "data-v-18b51da2"]]), eE = {
18032
18032
  icon: "circle-info",
18033
18033
  id: "split-helper-tooltip",
18034
18034
  position: "top"
18035
- }, null, 8, ["content", "text"])) : b("", !0)
18035
+ }, null, 8, ["content", "text"])) : x("", !0)
18036
18036
  ]);
18037
18037
  };
18038
18038
  }
@@ -18073,8 +18073,8 @@ const rE = /* @__PURE__ */ I(nE, [["__scopeId", "data-v-b9ca7030"]]), lE = "data
18073
18073
  done: c.done,
18074
18074
  active: c.active,
18075
18075
  class: "AVFooter--child"
18076
- }, null, 8, ["steps", "done", "active"])) : b("", !0),
18077
- c.disableBanner ? b("", !0) : (u(), d("div", {
18076
+ }, null, 8, ["steps", "done", "active"])) : x("", !0),
18077
+ c.disableBanner ? x("", !0) : (u(), d("div", {
18078
18078
  key: 1,
18079
18079
  class: j(`AVFooter--base AVFooter--child ${c.enableSteps && "AVFooter--child-stacked"}`)
18080
18080
  }, [
@@ -18135,7 +18135,7 @@ const AE = /* @__PURE__ */ I(CE, [["render", yE], ["__scopeId", "data-v-1923eca8
18135
18135
  },
18136
18136
  setup(c) {
18137
18137
  const a = c;
18138
- return c2(
18138
+ return e2(
18139
18139
  () => a.modalActive,
18140
18140
  () => {
18141
18141
  a.modalActive && (document.body.style.overflowY = "hidden"), a.modalActive || (document.body.style.overflowY = "scroll");
@@ -18324,11 +18324,11 @@ const DE = {
18324
18324
  var _;
18325
18325
  return (_ = e.contest.question) == null ? void 0 : _[e.locale];
18326
18326
  }), p = g(() => e.contest.options), h = g(() => e.contest), L = g(() => DE[e.locale]);
18327
- c2(h, (_, C) => {
18327
+ e2(h, (_, C) => {
18328
18328
  var N;
18329
18329
  C && _ && _.reference !== C.reference && ((N = document.getElementById("content")) == null || N.focus(), C.searchForm && (n.value.value = ""));
18330
18330
  });
18331
- const x = () => {
18331
+ const b = () => {
18332
18332
  a("update:selectionPile", {
18333
18333
  ...e.selectionPile,
18334
18334
  explicitBlank: !e.selectionPile.explicitBlank
@@ -18363,7 +18363,7 @@ const DE = {
18363
18363
  id: `ballot_${c.contest.reference}_question`,
18364
18364
  class: "AVBallot--question",
18365
18365
  "aria-live": "polite"
18366
- }, V(v.value), 9, PE)) : b("", !0),
18366
+ }, V(v.value), 9, PE)) : x("", !0),
18367
18367
  c.contest.searchForm ? (u(), q(N, {
18368
18368
  key: 1,
18369
18369
  ref_key: "search",
@@ -18371,7 +18371,7 @@ const DE = {
18371
18371
  options: B(p.value),
18372
18372
  "options-container-id": "ballot_options",
18373
18373
  locale: e.locale
18374
- }, null, 8, ["options", "locale"])) : b("", !0),
18374
+ }, null, 8, ["options", "locale"])) : x("", !0),
18375
18375
  OE,
18376
18376
  o("div", {
18377
18377
  id: "ballot_options",
@@ -18411,8 +18411,8 @@ const DE = {
18411
18411
  checked: c.selectionPile.explicitBlank,
18412
18412
  error: m.value.includes("blank"),
18413
18413
  locale: e.locale,
18414
- onToggleBlank: x
18415
- }, null, 8, ["checked", "error", "locale"])) : b("", !0)
18414
+ onToggleBlank: b
18415
+ }, null, 8, ["checked", "error", "locale"])) : x("", !0)
18416
18416
  ], 10, jE),
18417
18417
  z(H, {
18418
18418
  id: `ballot_${c.contest.reference}`,
@@ -18663,11 +18663,11 @@ const qE = /* @__PURE__ */ I(EE, [["__scopeId", "data-v-568a77bb"]]), FE = {
18663
18663
  });
18664
18664
  else {
18665
18665
  const h = v.options.find(
18666
- (x) => x.handle === p.reference
18666
+ (b) => b.handle === p.reference
18667
18667
  );
18668
- e.contest.options.map((x) => m(x));
18668
+ e.contest.options.map((b) => m(b));
18669
18669
  const L = t.value.find(
18670
- (x) => x.reference === p.reference
18670
+ (b) => b.reference === p.reference
18671
18671
  );
18672
18672
  h ? h.crosses += 1 : v.options.push({
18673
18673
  title: L.title[e.locale],
@@ -18690,9 +18690,9 @@ const qE = /* @__PURE__ */ I(EE, [["__scopeId", "data-v-568a77bb"]]), FE = {
18690
18690
  o("span", null, V(s.value.selection), 1)
18691
18691
  ])),
18692
18692
  o("div", YE, [
18693
- (u(!0), d(R, null, X(f.value.options, (x, k) => (u(), q(h, {
18693
+ (u(!0), d(R, null, X(f.value.options, (b, k) => (u(), q(h, {
18694
18694
  key: k,
18695
- option: x,
18695
+ option: b,
18696
18696
  "multiple-votes-allowed": c.contest.markingType.votesAllowedPerOption > 1,
18697
18697
  locale: e.locale
18698
18698
  }, null, 8, ["option", "multiple-votes-allowed", "locale"]))), 128)),
@@ -18700,7 +18700,7 @@ const qE = /* @__PURE__ */ I(EE, [["__scopeId", "data-v-568a77bb"]]), FE = {
18700
18700
  key: 0,
18701
18701
  locale: e.locale,
18702
18702
  blank: n.value
18703
- }, null, 8, ["locale", "blank"])) : b("", !0)
18703
+ }, null, 8, ["locale", "blank"])) : x("", !0)
18704
18704
  ])
18705
18705
  ])) : (u(), d("div", QE, [
18706
18706
  o("div", ZE, [
@@ -18708,7 +18708,7 @@ const qE = /* @__PURE__ */ I(EE, [["__scopeId", "data-v-568a77bb"]]), FE = {
18708
18708
  class: "AVPileSummary--assign-header",
18709
18709
  "aria-label": s.value.aria_labels.edit_selection,
18710
18710
  role: "button",
18711
- onClick: p[0] || (p[0] = (x) => a("editCurrentSelection"))
18711
+ onClick: p[0] || (p[0] = (b) => a("editCurrentSelection"))
18712
18712
  }, [
18713
18713
  o("div", null, [
18714
18714
  z(L, {
@@ -18717,42 +18717,42 @@ const qE = /* @__PURE__ */ I(EE, [["__scopeId", "data-v-568a77bb"]]), FE = {
18717
18717
  }),
18718
18718
  o("span", null, V(s.value.ballot_selection) + " " + V(c.pileIndex + 1), 1)
18719
18719
  ]),
18720
- c.activeState === "overview" || c.isEditing ? (u(), d("span", JE, V(s.value.assigned) + " " + V(c.selectionPile.multiplier), 1)) : b("", !0)
18720
+ c.activeState === "overview" || c.isEditing ? (u(), d("span", JE, V(s.value.assigned) + " " + V(c.selectionPile.multiplier), 1)) : x("", !0)
18721
18721
  ], 8, XE),
18722
18722
  o("div", KE, [
18723
- n.value ? (u(), d("p", cq, V(s.value.blank), 1)) : b("", !0),
18724
- (u(!0), d(R, null, X(f.value.options, (x, k) => (u(), d("p", {
18723
+ n.value ? (u(), d("p", cq, V(s.value.blank), 1)) : x("", !0),
18724
+ (u(!0), d(R, null, X(f.value.options, (b, k) => (u(), d("p", {
18725
18725
  key: k,
18726
18726
  class: "AVPileSummary--assign-text"
18727
- }, V(x.rank ? `${x.rank}: ` : "") + V(x.title), 1))), 128)),
18728
- (u(!0), d(R, null, X(f.value.writeIns, (x, k) => (u(), d("p", {
18727
+ }, V(b.rank ? `${b.rank}: ` : "") + V(b.title), 1))), 128)),
18728
+ (u(!0), d(R, null, X(f.value.writeIns, (b, k) => (u(), d("p", {
18729
18729
  key: k,
18730
18730
  class: "AVPileSummary--assign-text"
18731
18731
  }, [
18732
- o("b", null, V(x.partyLetter) + " - " + V(x.partyName), 1),
18732
+ o("b", null, V(b.partyLetter) + " - " + V(b.partyName), 1),
18733
18733
  eq,
18734
- o("span", null, V(x.candidateName), 1)
18734
+ o("span", null, V(b.candidateName), 1)
18735
18735
  ]))), 128)),
18736
18736
  l.value > 0 ? (u(), d("p", {
18737
18737
  key: 1,
18738
18738
  role: "button",
18739
18739
  class: "AVPileSummary--show-more-button",
18740
- onClick: p[1] || (p[1] = A2((x) => i.value = !0, ["stop", "prevent"]))
18740
+ onClick: p[1] || (p[1] = A2((b) => i.value = !0, ["stop", "prevent"]))
18741
18741
  }, [
18742
18742
  o("u", null, [
18743
18743
  o("em", null, V(`${s.value.and_n_more_pre} ${l.value} ${s.value.and_n_more_pos}`), 1)
18744
18744
  ])
18745
- ])) : b("", !0),
18745
+ ])) : x("", !0),
18746
18746
  i.value ? (u(), d("p", {
18747
18747
  key: 2,
18748
18748
  role: "button",
18749
18749
  class: "AVPileSummary--show-more-button",
18750
- onClick: p[2] || (p[2] = A2((x) => i.value = !1, ["stop", "prevent"]))
18750
+ onClick: p[2] || (p[2] = A2((b) => i.value = !1, ["stop", "prevent"]))
18751
18751
  }, [
18752
18752
  o("u", null, [
18753
18753
  o("em", null, V(s.value.show_less), 1)
18754
18754
  ])
18755
- ])) : b("", !0)
18755
+ ])) : x("", !0)
18756
18756
  ])
18757
18757
  ]),
18758
18758
  c.activeState === "overview" ? (u(), d("div", {
@@ -18760,10 +18760,10 @@ const qE = /* @__PURE__ */ I(EE, [["__scopeId", "data-v-568a77bb"]]), FE = {
18760
18760
  class: "AVPileSummary--assign-delete-button",
18761
18761
  role: "button",
18762
18762
  "aria-label": s.value.aria_labels.delete_selection,
18763
- onClick: p[3] || (p[3] = A2((x) => a("deleteSelection"), ["stop", "prevent"]))
18763
+ onClick: p[3] || (p[3] = A2((b) => a("deleteSelection"), ["stop", "prevent"]))
18764
18764
  }, [
18765
18765
  z(L, { icon: "trash-can" })
18766
- ], 8, aq)) : b("", !0)
18766
+ ], 8, aq)) : x("", !0)
18767
18767
  ]));
18768
18768
  };
18769
18769
  }
@@ -19001,10 +19001,7 @@ const lq = {
19001
19001
  }, oq = {
19002
19002
  class: "AVSplitHelper--title",
19003
19003
  "aria-live": "polite"
19004
- }, fq = ["innerHTML"], uq = { key: 0 }, mq = { class: "AVSplitHelper--footer" }, dq = { class: "AVSplitHelper--btn-secondary-container" }, vq = { class: "AVSplitHelper--btn-primary-container" }, pq = ["disabled"], hq = { key: 1 }, Vq = {
19005
- key: 0,
19006
- class: "AVSplitHelper--assign-card"
19007
- }, zq = { class: "AVSplitHelper--assign-question" }, Hq = ["for"], Mq = ["id", "max"], gq = { class: "AVSplitHelper--footer" }, Cq = { class: "AVSplitHelper--btn-secondary-container" }, Lq = { class: "AVSplitHelper--btn-primary-container" }, bq = ["disabled"], xq = { key: 2 }, yq = {
19004
+ }, fq = ["innerHTML"], uq = { key: 0 }, mq = { class: "AVSplitHelper--footer" }, dq = { class: "AVSplitHelper--btn-secondary-container" }, vq = { class: "AVSplitHelper--btn-primary-container" }, pq = ["disabled"], hq = { key: 1 }, Vq = { class: "AVSplitHelper--assign-card" }, zq = { class: "AVSplitHelper--assign-question" }, Hq = ["for"], Mq = ["id", "max"], gq = { class: "AVSplitHelper--footer" }, Cq = { class: "AVSplitHelper--btn-secondary-container" }, Lq = { class: "AVSplitHelper--btn-primary-container" }, bq = ["disabled"], xq = { key: 2 }, yq = {
19008
19005
  key: 0,
19009
19006
  class: "AVSplitHelper--overview-success"
19010
19007
  }, Aq = {
@@ -19068,12 +19065,12 @@ const lq = {
19068
19065
  var H;
19069
19066
  return l.value + ((H = r.value[i.value || 0]) == null ? void 0 : H.multiplier);
19070
19067
  }
19071
- ), x = g(
19068
+ ), b = g(
19072
19069
  () => e.splitableContests[e.contest.reference]
19073
19070
  ), k = g(() => i.value !== null), B = (H) => m.value.isComplete(H), _ = (H) => m.value.validate(H).length > 0, C = (H) => {
19074
- t.value = H, x.value || N();
19071
+ t.value = H, b.value || N();
19075
19072
  }, N = () => {
19076
- if (x.value) {
19073
+ if (b.value) {
19077
19074
  const H = [...r.value];
19078
19075
  t.value && (i.value === null ? H.push({ ...t.value }) : H.splice(i.value, 1, { ...t.value })), a("setContestSelection", {
19079
19076
  ...e.contestSelection,
@@ -19095,28 +19092,18 @@ const lq = {
19095
19092
  }, E = (H) => {
19096
19093
  t.value = { ...r.value[H] }, i.value = H, a("setBallotActiveState", "ballot");
19097
19094
  };
19098
- return c2(v, (H) => a("update:complete", H)), c2(n, (H) => a("setBallotActiveState", H)), c2(h, () => {
19095
+ return e2(v, (H) => a("update:complete", H)), e2(n, (H) => a("setBallotActiveState", H)), e2(h, () => {
19099
19096
  t.value && (t.value.multiplier = Math.max(
19100
19097
  0,
19101
19098
  Math.min(h.value, L.value)
19102
19099
  ));
19103
- }), c2(
19104
- t,
19105
- () => {
19106
- var H;
19107
- return t.value = ((H = e.contestSelection.piles) == null ? void 0 : H[0]) || {
19108
- multiplier: e.weight,
19109
- optionSelections: [],
19110
- explicitBlank: !1
19111
- };
19112
- }
19113
- ), v2(() => {
19100
+ }), v2(() => {
19114
19101
  var H;
19115
19102
  t.value = ((H = e.contestSelection.piles) == null ? void 0 : H[0]) || {
19116
19103
  multiplier: e.weight,
19117
19104
  optionSelections: [],
19118
19105
  explicitBlank: !1
19119
- }, x.value || N();
19106
+ }, b.value || N();
19120
19107
  }), (H, y) => {
19121
19108
  var f2;
19122
19109
  const A = M("AVSplitWizardHeader"), O = M("AVBallot"), Q = M("AVPileSummary"), U = M("AVSplitWeightHelper"), t2 = M("AVIcon");
@@ -19126,7 +19113,7 @@ const lq = {
19126
19113
  class: "AVSplitHelper--description",
19127
19114
  innerHTML: (f2 = c.contest.description) == null ? void 0 : f2[e.locale]
19128
19115
  }, null, 8, fq),
19129
- x.value ? (u(), d("div", uq, [
19116
+ b.value ? (u(), d("div", uq, [
19130
19117
  ["ballot", "assign", "overview"].includes(n.value) ? (u(), q(A, {
19131
19118
  key: 0,
19132
19119
  "active-ballot-index": i.value,
@@ -19135,7 +19122,7 @@ const lq = {
19135
19122
  "total-weight": p.value + l.value,
19136
19123
  "is-editing": k.value,
19137
19124
  locale: e.locale
19138
- }, null, 8, ["active-ballot-index", "active-state", "selection-piles", "total-weight", "is-editing", "locale"])) : b("", !0),
19125
+ }, null, 8, ["active-ballot-index", "active-state", "selection-piles", "total-weight", "is-editing", "locale"])) : x("", !0),
19139
19126
  z(N2, {
19140
19127
  name: "fade",
19141
19128
  mode: "out-in"
@@ -19157,7 +19144,7 @@ const lq = {
19157
19144
  key: "back",
19158
19145
  class: "AVSplitHelper--btn-secondary",
19159
19146
  onClick: y[0] || (y[0] = (W) => a("setBallotActiveState", "overview"))
19160
- }, V(s.value.ballot.back_button), 1)) : b("", !0)
19147
+ }, V(s.value.ballot.back_button), 1)) : x("", !0)
19161
19148
  ]),
19162
19149
  o("div", vq, [
19163
19150
  o("button", {
@@ -19169,7 +19156,7 @@ const lq = {
19169
19156
  ])
19170
19157
  ])
19171
19158
  ])) : n.value === "assign" ? (u(), d("div", hq, [
19172
- t.value && i.value ? (u(), d("div", Vq, [
19159
+ o("div", Vq, [
19173
19160
  o("h4", zq, V(s.value.assign.split_question), 1),
19174
19161
  z(Q, {
19175
19162
  "selection-pile": t.value,
@@ -19196,7 +19183,7 @@ const lq = {
19196
19183
  }, null, 8, Mq), [
19197
19184
  [P9, t.value.multiplier]
19198
19185
  ])
19199
- ])) : b("", !0),
19186
+ ]),
19200
19187
  z(U, {
19201
19188
  "assigned-weight": p.value,
19202
19189
  "unused-weight": l.value,
@@ -19226,11 +19213,11 @@ const lq = {
19226
19213
  icon: "circle-check",
19227
19214
  class: "AVSplitHelper--overview-success-icon"
19228
19215
  }),
19229
- e2(" " + V(s.value.overview.all_ballots_assigned), 1)
19216
+ c2(" " + V(s.value.overview.all_ballots_assigned), 1)
19230
19217
  ])) : (u(), d("div", Aq, [
19231
19218
  o("p", Nq, [
19232
19219
  o("strong", null, V(l.value), 1),
19233
- e2(" " + V(s.value.overview.ballots_left), 1)
19220
+ c2(" " + V(s.value.overview.ballots_left), 1)
19234
19221
  ]),
19235
19222
  o("button", {
19236
19223
  key: "newSelection",
@@ -19239,7 +19226,7 @@ const lq = {
19239
19226
  onClick: D
19240
19227
  }, [
19241
19228
  z(t2, { icon: "file-circle-plus" }),
19242
- e2(" " + V(s.value.overview.new_ballot_selection), 1)
19229
+ c2(" " + V(s.value.overview.new_ballot_selection), 1)
19243
19230
  ], 8, Sq)
19244
19231
  ])),
19245
19232
  (u(!0), d(R, null, X(r.value, (W, i2) => (u(), d("article", {
@@ -19258,7 +19245,7 @@ const lq = {
19258
19245
  onDeleteSelection: (s2) => S(i2)
19259
19246
  }, null, 8, ["selection-pile", "contest", "active-state", "pile-index", "total-piles", "splitable-contests", "locale", "onDeleteSelection"])
19260
19247
  ], 8, wq))), 128))
19261
- ])) : b("", !0)
19248
+ ])) : x("", !0)
19262
19249
  ];
19263
19250
  }),
19264
19251
  _: 1
@@ -19276,7 +19263,7 @@ const lq = {
19276
19263
  };
19277
19264
  }
19278
19265
  });
19279
- const Tq = /* @__PURE__ */ I(_q, [["__scopeId", "data-v-9b6eb0d0"]]);
19266
+ const Tq = /* @__PURE__ */ I(_q, [["__scopeId", "data-v-40be1c48"]]);
19280
19267
  var Dq = {}, Iq = /* @__PURE__ */ o("a", { href: "#" }, "LOGO", -1), Bq = { class: "flex items-center" }, Pq = { class: "flex flex-col items-center justify-center p-3 w-full" }, Oq = /* @__PURE__ */ o("h2", { class: "mb-4" }, "Election Name", -1), jq = /* @__PURE__ */ o("div", null, [
19281
19268
  /* @__PURE__ */ o("p", null, " Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. "),
19282
19269
  /* @__PURE__ */ o("br"),
@@ -19847,7 +19834,7 @@ const aF = /* @__PURE__ */ I(Xq, [["render", eF]]), m4 = (c) => (T2("data-v-20fc
19847
19834
  }),
19848
19835
  oF,
19849
19836
  fF
19850
- ])) : b("", !0),
19837
+ ])) : x("", !0),
19851
19838
  (u(), d(R, null, X(a, (h) => z(f, {
19852
19839
  key: h.id,
19853
19840
  id: h.id,