@assemblyvoting/ui-library 3.1.1 → 3.1.2-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as Q, h as M1, getCurrentInstance as w3, effectScope as rI, inject as B2, onMounted as M2, onUnmounted as ni, shallowRef as lI, ref as e2, computed as E, onBeforeMount as oI, watch as s2, Fragment as t2, isRef as fI, createVNode as I, Text as uI, unref as B, getCurrentScope as mI, onScopeDispose as dI, Transition as w1, withDirectives as T1, vShow as l3, openBlock as p, createElementBlock as H, createBlock as K, resolveDynamicComponent as _9, withCtx as i2, renderSlot as y2, resolveComponent as D, normalizeClass as Y, createCommentVNode as O, createTextVNode as D2, toDisplayString as k, createElementVNode as u, normalizeStyle as l1, reactive as ii, provide as si, renderList as g2, pushScopeId as V1, popScopeId as z1, useCssVars as vI, mergeProps as pI, withModifiers as S1, withKeys as ri, createSlots as hI, nextTick as VI, vModelText as li } from "vue";
1
+ import { defineComponent as Q, h as M1, getCurrentInstance as w3, effectScope as rI, inject as B2, onMounted as M2, onUnmounted as ni, shallowRef as lI, ref as Z, computed as E, onBeforeMount as oI, watch as s2, Fragment as t2, isRef as fI, createVNode as I, Text as uI, unref as B, getCurrentScope as mI, onScopeDispose as dI, Transition as w1, withDirectives as T1, vShow as l3, openBlock as p, createElementBlock as H, createBlock as K, resolveDynamicComponent as _9, withCtx as i2, renderSlot as y2, resolveComponent as D, normalizeClass as Y, createCommentVNode as O, createTextVNode as D2, toDisplayString as k, createElementVNode as u, normalizeStyle as l1, reactive as ii, provide as si, renderList as g2, pushScopeId as V1, popScopeId as z1, useCssVars as vI, mergeProps as pI, withModifiers as S1, withKeys as ri, createSlots as hI, nextTick as VI, vModelText as li } from "vue";
2
2
  /*!
3
3
  * shared v9.7.0
4
4
  * (c) 2023 kazuya kawaguchi
@@ -122,7 +122,7 @@ const ui = Object.assign, k9 = (e) => typeof e == "string", kI = (e) => e !== nu
122
122
  function mi(e, c = "") {
123
123
  return e.reduce((a, t, n) => n === 0 ? a + t : a + c + t, "");
124
124
  }
125
- const J = {
125
+ const e2 = {
126
126
  // tokenizer error codes
127
127
  EXPECTED_TOKEN: 1,
128
128
  INVALID_TOKEN_IN_PLACEHOLDER: 2,
@@ -149,25 +149,25 @@ const J = {
149
149
  __EXTEND_POINT__: 17
150
150
  }, SI = {
151
151
  // tokenizer error messages
152
- [J.EXPECTED_TOKEN]: "Expected token: '{0}'",
153
- [J.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
154
- [J.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]: "Unterminated single quote in placeholder",
155
- [J.UNKNOWN_ESCAPE_SEQUENCE]: "Unknown escape sequence: \\{0}",
156
- [J.INVALID_UNICODE_ESCAPE_SEQUENCE]: "Invalid unicode escape sequence: {0}",
157
- [J.UNBALANCED_CLOSING_BRACE]: "Unbalanced closing brace",
158
- [J.UNTERMINATED_CLOSING_BRACE]: "Unterminated closing brace",
159
- [J.EMPTY_PLACEHOLDER]: "Empty placeholder",
160
- [J.NOT_ALLOW_NEST_PLACEHOLDER]: "Not allowed nest placeholder",
161
- [J.INVALID_LINKED_FORMAT]: "Invalid linked format",
152
+ [e2.EXPECTED_TOKEN]: "Expected token: '{0}'",
153
+ [e2.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
154
+ [e2.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]: "Unterminated single quote in placeholder",
155
+ [e2.UNKNOWN_ESCAPE_SEQUENCE]: "Unknown escape sequence: \\{0}",
156
+ [e2.INVALID_UNICODE_ESCAPE_SEQUENCE]: "Invalid unicode escape sequence: {0}",
157
+ [e2.UNBALANCED_CLOSING_BRACE]: "Unbalanced closing brace",
158
+ [e2.UNTERMINATED_CLOSING_BRACE]: "Unterminated closing brace",
159
+ [e2.EMPTY_PLACEHOLDER]: "Empty placeholder",
160
+ [e2.NOT_ALLOW_NEST_PLACEHOLDER]: "Not allowed nest placeholder",
161
+ [e2.INVALID_LINKED_FORMAT]: "Invalid linked format",
162
162
  // parser error messages
163
- [J.MUST_HAVE_MESSAGES_IN_PLURAL]: "Plural must have messages",
164
- [J.UNEXPECTED_EMPTY_LINKED_MODIFIER]: "Unexpected empty linked modifier",
165
- [J.UNEXPECTED_EMPTY_LINKED_KEY]: "Unexpected empty linked key",
166
- [J.UNEXPECTED_LEXICAL_ANALYSIS]: "Unexpected lexical analysis in token: '{0}'",
163
+ [e2.MUST_HAVE_MESSAGES_IN_PLURAL]: "Plural must have messages",
164
+ [e2.UNEXPECTED_EMPTY_LINKED_MODIFIER]: "Unexpected empty linked modifier",
165
+ [e2.UNEXPECTED_EMPTY_LINKED_KEY]: "Unexpected empty linked key",
166
+ [e2.UNEXPECTED_LEXICAL_ANALYSIS]: "Unexpected lexical analysis in token: '{0}'",
167
167
  // generator error messages
168
- [J.UNHANDLED_CODEGEN_NODE_TYPE]: "unhandled codegen node type: '{0}'",
168
+ [e2.UNHANDLED_CODEGEN_NODE_TYPE]: "unhandled codegen node type: '{0}'",
169
169
  // minimizer error messages
170
- [J.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
170
+ [e2.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
171
171
  };
172
172
  function h3(e, c, a = {}) {
173
173
  const { domain: t, messages: n, args: i } = a, s = xI((n || SI)[e] || "", ...i || []), r = new SyntaxError(String(s));
@@ -231,9 +231,9 @@ function FI(e, c = {}) {
231
231
  text: ""
232
232
  }, f = () => l, { onError: o } = c;
233
233
  function m(z, v, S, ...U) {
234
- const Z = f();
234
+ const J = f();
235
235
  if (v.column += S, v.offset += S, o) {
236
- const u2 = a ? Q6(Z.startLoc, v) : null, J2 = h3(z, u2, {
236
+ const u2 = a ? Q6(J.startLoc, v) : null, J2 = h3(z, u2, {
237
237
  domain: jI,
238
238
  args: U
239
239
  });
@@ -251,7 +251,7 @@ function FI(e, c = {}) {
251
251
  /* TokenTypes.EOF */
252
252
  );
253
253
  function b(z, v) {
254
- return z.currentChar() === v ? (z.next(), v) : (m(J.EXPECTED_TOKEN, i(), 0, v), "");
254
+ return z.currentChar() === v ? (z.next(), v) : (m(e2.EXPECTED_TOKEN, i(), 0, v), "");
255
255
  }
256
256
  function L(z) {
257
257
  let v = "";
@@ -290,8 +290,8 @@ function FI(e, c = {}) {
290
290
  if (S !== 2)
291
291
  return !1;
292
292
  L(z);
293
- const U = z.currentPeek() === "-" ? z.peek() : z.currentPeek(), Z = g(U);
294
- return z.resetPeek(), Z;
293
+ const U = z.currentPeek() === "-" ? z.peek() : z.currentPeek(), J = g(U);
294
+ return z.resetPeek(), J;
295
295
  }
296
296
  function x(z, v) {
297
297
  const { currentType: S } = v;
@@ -332,8 +332,8 @@ function FI(e, c = {}) {
332
332
  const U = () => {
333
333
  const u2 = z.currentPeek();
334
334
  return u2 === "{" ? V(z.peek()) : u2 === "@" || u2 === "%" || u2 === "|" || u2 === ":" || u2 === "." || u2 === H1 || !u2 ? !1 : u2 === $2 ? (z.peek(), U()) : V(u2);
335
- }, Z = U();
336
- return z.resetPeek(), Z;
335
+ }, J = U();
336
+ return z.resetPeek(), J;
337
337
  }
338
338
  function F(z) {
339
339
  L(z);
@@ -348,9 +348,9 @@ function FI(e, c = {}) {
348
348
  };
349
349
  }
350
350
  function R(z, v = !0) {
351
- const S = (Z = !1, u2 = "", J2 = !1) => {
351
+ const S = (J = !1, u2 = "", J2 = !1) => {
352
352
  const O2 = z.currentPeek();
353
- return O2 === "{" ? u2 === "%" ? !1 : Z : O2 === "@" || !O2 ? u2 === "%" ? !0 : Z : O2 === "%" ? (z.peek(), S(Z, "%", !0)) : O2 === "|" ? u2 === "%" || J2 ? !0 : !(u2 === H1 || u2 === $2) : O2 === H1 ? (z.peek(), S(!0, H1, J2)) : O2 === $2 ? (z.peek(), S(!0, $2, J2)) : !0;
353
+ return O2 === "{" ? u2 === "%" ? !1 : J : O2 === "@" || !O2 ? u2 === "%" ? !0 : J : O2 === "%" ? (z.peek(), S(J, "%", !0)) : O2 === "|" ? u2 === "%" || J2 ? !0 : !(u2 === H1 || u2 === $2) : O2 === H1 ? (z.peek(), S(!0, H1, J2)) : O2 === $2 ? (z.peek(), S(!0, $2, J2)) : !0;
354
354
  }, U = S();
355
355
  return v && z.resetPeek(), U;
356
356
  }
@@ -391,7 +391,7 @@ function FI(e, c = {}) {
391
391
  function F2(z) {
392
392
  N(z);
393
393
  const v = z.currentChar();
394
- return v !== "%" && m(J.EXPECTED_TOKEN, i(), 0, v), z.next(), "%";
394
+ return v !== "%" && m(e2.EXPECTED_TOKEN, i(), 0, v), z.next(), "%";
395
395
  }
396
396
  function b2(z) {
397
397
  let v = "";
@@ -422,12 +422,12 @@ function FI(e, c = {}) {
422
422
  let v = "", S = "";
423
423
  for (; v = r2(z); )
424
424
  S += v;
425
- return z.currentChar() === N1 && m(J.UNTERMINATED_CLOSING_BRACE, i(), 0), S;
425
+ return z.currentChar() === N1 && m(e2.UNTERMINATED_CLOSING_BRACE, i(), 0), S;
426
426
  }
427
427
  function A2(z) {
428
428
  N(z);
429
429
  let v = "";
430
- return z.currentChar() === "-" ? (z.next(), v += `-${h2(z)}`) : v += h2(z), z.currentChar() === N1 && m(J.UNTERMINATED_CLOSING_BRACE, i(), 0), v;
430
+ return z.currentChar() === "-" ? (z.next(), v += `-${h2(z)}`) : v += h2(z), z.currentChar() === N1 && m(e2.UNTERMINATED_CLOSING_BRACE, i(), 0), v;
431
431
  }
432
432
  function k2(z) {
433
433
  N(z), b(z, "'");
@@ -435,8 +435,8 @@ function FI(e, c = {}) {
435
435
  const U = (u2) => u2 !== S9 && u2 !== $2;
436
436
  for (; v = j(z, U); )
437
437
  v === "\\" ? S += C2(z) : S += v;
438
- const Z = z.currentChar();
439
- return Z === $2 || Z === N1 ? (m(J.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, i(), 0), Z === $2 && (z.next(), b(z, "'")), S) : (b(z, "'"), S);
438
+ const J = z.currentChar();
439
+ return J === $2 || J === N1 ? (m(e2.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, i(), 0), J === $2 && (z.next(), b(z, "'")), S) : (b(z, "'"), S);
440
440
  }
441
441
  function C2(z) {
442
442
  const v = z.currentChar();
@@ -449,16 +449,16 @@ function FI(e, c = {}) {
449
449
  case "U":
450
450
  return I2(z, v, 6);
451
451
  default:
452
- return m(J.UNKNOWN_ESCAPE_SEQUENCE, i(), 0, v), "";
452
+ return m(e2.UNKNOWN_ESCAPE_SEQUENCE, i(), 0, v), "";
453
453
  }
454
454
  }
455
455
  function I2(z, v, S) {
456
456
  b(z, v);
457
457
  let U = "";
458
- for (let Z = 0; Z < S; Z++) {
458
+ for (let J = 0; J < S; J++) {
459
459
  const u2 = a2(z);
460
460
  if (!u2) {
461
- m(J.INVALID_UNICODE_ESCAPE_SEQUENCE, i(), 0, `\\${v}${U}${z.currentChar()}`);
461
+ m(e2.INVALID_UNICODE_ESCAPE_SEQUENCE, i(), 0, `\\${v}${U}${z.currentChar()}`);
462
462
  break;
463
463
  }
464
464
  U += u2;
@@ -468,7 +468,7 @@ function FI(e, c = {}) {
468
468
  function j2(z) {
469
469
  N(z);
470
470
  let v = "", S = "";
471
- const U = (Z) => Z !== "{" && Z !== "}" && Z !== H1 && Z !== $2;
471
+ const U = (J) => J !== "{" && J !== "}" && J !== H1 && J !== $2;
472
472
  for (; v = j(z, U); )
473
473
  S += v;
474
474
  return S;
@@ -481,8 +481,8 @@ function FI(e, c = {}) {
481
481
  }
482
482
  function f1(z) {
483
483
  const v = (S = !1, U) => {
484
- const Z = z.currentChar();
485
- return Z === "{" || Z === "%" || Z === "@" || Z === "|" || Z === "(" || Z === ")" || !Z || Z === H1 ? U : Z === $2 || Z === BI ? (U += Z, z.next(), v(S, U)) : (U += Z, z.next(), v(!0, U));
484
+ const J = z.currentChar();
485
+ return J === "{" || J === "%" || J === "@" || J === "|" || J === "(" || J === ")" || !J || J === H1 ? U : J === $2 || J === BI ? (U += J, z.next(), v(S, U)) : (U += J, z.next(), v(!0, U));
486
486
  };
487
487
  return v(!1, "");
488
488
  }
@@ -499,35 +499,35 @@ function FI(e, c = {}) {
499
499
  let S = null;
500
500
  switch (z.currentChar()) {
501
501
  case "{":
502
- return v.braceNest >= 1 && m(J.NOT_ALLOW_NEST_PLACEHOLDER, i(), 0), z.next(), S = d(
502
+ return v.braceNest >= 1 && m(e2.NOT_ALLOW_NEST_PLACEHOLDER, i(), 0), z.next(), S = d(
503
503
  v,
504
504
  2,
505
505
  "{"
506
506
  /* TokenChars.BraceLeft */
507
507
  ), N(z), v.braceNest++, S;
508
508
  case "}":
509
- return v.braceNest > 0 && v.currentType === 2 && m(J.EMPTY_PLACEHOLDER, i(), 0), z.next(), S = d(
509
+ return v.braceNest > 0 && v.currentType === 2 && m(e2.EMPTY_PLACEHOLDER, i(), 0), z.next(), S = d(
510
510
  v,
511
511
  3,
512
512
  "}"
513
513
  /* TokenChars.BraceRight */
514
514
  ), v.braceNest--, v.braceNest > 0 && N(z), v.inLinked && v.braceNest === 0 && (v.inLinked = !1), S;
515
515
  case "@":
516
- return v.braceNest > 0 && m(J.UNTERMINATED_CLOSING_BRACE, i(), 0), S = u1(z, v) || h(v), v.braceNest = 0, S;
516
+ return v.braceNest > 0 && m(e2.UNTERMINATED_CLOSING_BRACE, i(), 0), S = u1(z, v) || h(v), v.braceNest = 0, S;
517
517
  default:
518
- let Z = !0, u2 = !0, J2 = !0;
518
+ let J = !0, u2 = !0, J2 = !0;
519
519
  if (F(z))
520
- return v.braceNest > 0 && m(J.UNTERMINATED_CLOSING_BRACE, i(), 0), S = d(v, 1, R2(z)), v.braceNest = 0, v.inLinked = !1, S;
520
+ return v.braceNest > 0 && m(e2.UNTERMINATED_CLOSING_BRACE, i(), 0), S = d(v, 1, R2(z)), v.braceNest = 0, v.inLinked = !1, S;
521
521
  if (v.braceNest > 0 && (v.currentType === 5 || v.currentType === 6 || v.currentType === 7))
522
- return m(J.UNTERMINATED_CLOSING_BRACE, i(), 0), v.braceNest = 0, s1(z, v);
523
- if (Z = _(z, v))
522
+ return m(e2.UNTERMINATED_CLOSING_BRACE, i(), 0), v.braceNest = 0, s1(z, v);
523
+ if (J = _(z, v))
524
524
  return S = d(v, 5, v2(z)), N(z), S;
525
525
  if (u2 = M(z, v))
526
526
  return S = d(v, 6, A2(z)), N(z), S;
527
527
  if (J2 = x(z, v))
528
528
  return S = d(v, 7, k2(z)), N(z), S;
529
- if (!Z && !u2 && !J2)
530
- return S = d(v, 13, j2(z)), m(J.INVALID_TOKEN_IN_PLACEHOLDER, i(), 0, S.value), N(z), S;
529
+ if (!J && !u2 && !J2)
530
+ return S = d(v, 13, j2(z)), m(e2.INVALID_TOKEN_IN_PLACEHOLDER, i(), 0, S.value), N(z), S;
531
531
  break;
532
532
  }
533
533
  return S;
@@ -535,8 +535,8 @@ function FI(e, c = {}) {
535
535
  function u1(z, v) {
536
536
  const { currentType: S } = v;
537
537
  let U = null;
538
- const Z = z.currentChar();
539
- switch ((S === 8 || S === 9 || S === 12 || S === 10) && (Z === $2 || Z === H1) && m(J.INVALID_LINKED_FORMAT, i(), 0), Z) {
538
+ const J = z.currentChar();
539
+ switch ((S === 8 || S === 9 || S === 12 || S === 10) && (J === $2 || J === H1) && m(e2.INVALID_LINKED_FORMAT, i(), 0), J) {
540
540
  case "@":
541
541
  return z.next(), U = d(
542
542
  v,
@@ -559,7 +559,7 @@ function FI(e, c = {}) {
559
559
  /* TokenChars.LinkedDelimiter */
560
560
  );
561
561
  default:
562
- return F(z) ? (U = d(v, 1, R2(z)), v.braceNest = 0, v.inLinked = !1, U) : w(z, v) || y(z, v) ? (N(z), u1(z, v)) : C(z, v) ? (N(z), d(v, 12, o1(z))) : A(z, v) ? (N(z), Z === "{" ? i1(z, v) || U : d(v, 11, f1(z))) : (S === 8 && m(J.INVALID_LINKED_FORMAT, i(), 0), v.braceNest = 0, v.inLinked = !1, s1(z, v));
562
+ return F(z) ? (U = d(v, 1, R2(z)), v.braceNest = 0, v.inLinked = !1, U) : w(z, v) || y(z, v) ? (N(z), u1(z, v)) : C(z, v) ? (N(z), d(v, 12, o1(z))) : A(z, v) ? (N(z), J === "{" ? i1(z, v) || U : d(v, 11, f1(z))) : (S === 8 && m(e2.INVALID_LINKED_FORMAT, i(), 0), v.braceNest = 0, v.inLinked = !1, s1(z, v));
563
563
  }
564
564
  }
565
565
  function s1(z, v) {
@@ -575,7 +575,7 @@ function FI(e, c = {}) {
575
575
  case "{":
576
576
  return i1(z, v) || h(v);
577
577
  case "}":
578
- return m(J.UNBALANCED_CLOSING_BRACE, i(), 0), z.next(), d(
578
+ return m(e2.UNBALANCED_CLOSING_BRACE, i(), 0), z.next(), d(
579
579
  v,
580
580
  3,
581
581
  "}"
@@ -586,8 +586,8 @@ function FI(e, c = {}) {
586
586
  default:
587
587
  if (F(z))
588
588
  return S = d(v, 1, R2(z)), v.braceNest = 0, v.inLinked = !1, S;
589
- const { isModulo: Z, hasSpace: u2 } = q(z);
590
- if (Z)
589
+ const { isModulo: J, hasSpace: u2 } = q(z);
590
+ if (J)
591
591
  return u2 ? d(v, 0, b2(z)) : d(v, 4, F2(z));
592
592
  if (R(z))
593
593
  return d(v, 0, b2(z));
@@ -660,10 +660,10 @@ function qI(e = {}) {
660
660
  }
661
661
  function o(V) {
662
662
  const g = V.nextToken(), _ = V.context(), { lastOffset: M, lastStartLoc: x } = _, w = n(8, M, x);
663
- return g.type !== 12 ? (t(V, J.UNEXPECTED_EMPTY_LINKED_MODIFIER, _.lastStartLoc, 0), w.value = "", i(w, M, x), {
663
+ return g.type !== 12 ? (t(V, e2.UNEXPECTED_EMPTY_LINKED_MODIFIER, _.lastStartLoc, 0), w.value = "", i(w, M, x), {
664
664
  nextConsumeToken: g,
665
665
  node: w
666
- }) : (g.value == null && t(V, J.UNEXPECTED_LEXICAL_ANALYSIS, _.lastStartLoc, 0, m1(g)), w.value = g.value || "", i(w, V.currentOffset(), V.currentPosition()), {
666
+ }) : (g.value == null && t(V, e2.UNEXPECTED_LEXICAL_ANALYSIS, _.lastStartLoc, 0, m1(g)), w.value = g.value || "", i(w, V.currentOffset(), V.currentPosition()), {
667
667
  node: w
668
668
  });
669
669
  }
@@ -678,21 +678,21 @@ function qI(e = {}) {
678
678
  const x = o(V);
679
679
  _.modifier = x.node, M = x.nextConsumeToken || V.nextToken();
680
680
  }
681
- switch (M.type !== 10 && t(V, J.UNEXPECTED_LEXICAL_ANALYSIS, g.lastStartLoc, 0, m1(M)), M = V.nextToken(), M.type === 2 && (M = V.nextToken()), M.type) {
681
+ switch (M.type !== 10 && t(V, e2.UNEXPECTED_LEXICAL_ANALYSIS, g.lastStartLoc, 0, m1(M)), M = V.nextToken(), M.type === 2 && (M = V.nextToken()), M.type) {
682
682
  case 11:
683
- M.value == null && t(V, J.UNEXPECTED_LEXICAL_ANALYSIS, g.lastStartLoc, 0, m1(M)), _.key = m(V, M.value || "");
683
+ M.value == null && t(V, e2.UNEXPECTED_LEXICAL_ANALYSIS, g.lastStartLoc, 0, m1(M)), _.key = m(V, M.value || "");
684
684
  break;
685
685
  case 5:
686
- M.value == null && t(V, J.UNEXPECTED_LEXICAL_ANALYSIS, g.lastStartLoc, 0, m1(M)), _.key = l(V, M.value || "");
686
+ M.value == null && t(V, e2.UNEXPECTED_LEXICAL_ANALYSIS, g.lastStartLoc, 0, m1(M)), _.key = l(V, M.value || "");
687
687
  break;
688
688
  case 6:
689
- M.value == null && t(V, J.UNEXPECTED_LEXICAL_ANALYSIS, g.lastStartLoc, 0, m1(M)), _.key = r(V, M.value || "");
689
+ M.value == null && t(V, e2.UNEXPECTED_LEXICAL_ANALYSIS, g.lastStartLoc, 0, m1(M)), _.key = r(V, M.value || "");
690
690
  break;
691
691
  case 7:
692
- M.value == null && t(V, J.UNEXPECTED_LEXICAL_ANALYSIS, g.lastStartLoc, 0, m1(M)), _.key = f(V, M.value || "");
692
+ M.value == null && t(V, e2.UNEXPECTED_LEXICAL_ANALYSIS, g.lastStartLoc, 0, m1(M)), _.key = f(V, M.value || "");
693
693
  break;
694
694
  default:
695
- t(V, J.UNEXPECTED_EMPTY_LINKED_KEY, g.lastStartLoc, 0);
695
+ t(V, e2.UNEXPECTED_EMPTY_LINKED_KEY, g.lastStartLoc, 0);
696
696
  const x = V.context(), w = n(7, x.offset, x.startLoc);
697
697
  return w.value = "", i(w, x.offset, x.startLoc), _.key = w, i(_, x.offset, x.startLoc), {
698
698
  nextConsumeToken: M,
@@ -711,16 +711,16 @@ function qI(e = {}) {
711
711
  const A = w || V.nextToken();
712
712
  switch (w = null, A.type) {
713
713
  case 0:
714
- A.value == null && t(V, J.UNEXPECTED_LEXICAL_ANALYSIS, g.lastStartLoc, 0, m1(A)), x.items.push(s(V, A.value || ""));
714
+ A.value == null && t(V, e2.UNEXPECTED_LEXICAL_ANALYSIS, g.lastStartLoc, 0, m1(A)), x.items.push(s(V, A.value || ""));
715
715
  break;
716
716
  case 6:
717
- A.value == null && t(V, J.UNEXPECTED_LEXICAL_ANALYSIS, g.lastStartLoc, 0, m1(A)), x.items.push(r(V, A.value || ""));
717
+ A.value == null && t(V, e2.UNEXPECTED_LEXICAL_ANALYSIS, g.lastStartLoc, 0, m1(A)), x.items.push(r(V, A.value || ""));
718
718
  break;
719
719
  case 5:
720
- A.value == null && t(V, J.UNEXPECTED_LEXICAL_ANALYSIS, g.lastStartLoc, 0, m1(A)), x.items.push(l(V, A.value || ""));
720
+ A.value == null && t(V, e2.UNEXPECTED_LEXICAL_ANALYSIS, g.lastStartLoc, 0, m1(A)), x.items.push(l(V, A.value || ""));
721
721
  break;
722
722
  case 7:
723
- A.value == null && t(V, J.UNEXPECTED_LEXICAL_ANALYSIS, g.lastStartLoc, 0, m1(A)), x.items.push(f(V, A.value || ""));
723
+ A.value == null && t(V, e2.UNEXPECTED_LEXICAL_ANALYSIS, g.lastStartLoc, 0, m1(A)), x.items.push(f(V, A.value || ""));
724
724
  break;
725
725
  case 8:
726
726
  const F = d(V);
@@ -740,7 +740,7 @@ function qI(e = {}) {
740
740
  const y = h(V);
741
741
  w || (w = y.items.length === 0), C.cases.push(y);
742
742
  } while (x.currentType !== 14);
743
- return w && t(V, J.MUST_HAVE_MESSAGES_IN_PLURAL, _, 0), i(C, V.currentOffset(), V.currentPosition()), C;
743
+ return w && t(V, e2.MUST_HAVE_MESSAGES_IN_PLURAL, _, 0), i(C, V.currentOffset(), V.currentPosition()), C;
744
744
  }
745
745
  function L(V) {
746
746
  const g = V.context(), { offset: _, startLoc: M } = g, x = h(V);
@@ -748,7 +748,7 @@ function qI(e = {}) {
748
748
  }
749
749
  function N(V) {
750
750
  const g = FI(V, ui({}, e)), _ = g.context(), M = n(0, _.offset, _.startLoc);
751
- return c && M.loc && (M.loc.source = V), M.body = L(g), e.onCacheKey && (M.cacheKey = e.onCacheKey(V)), _.currentType !== 14 && t(g, J.UNEXPECTED_LEXICAL_ANALYSIS, _.lastStartLoc, 0, V[_.offset] || ""), i(M, g.currentOffset(), g.currentPosition()), M;
751
+ return c && M.loc && (M.loc.source = V), M.body = L(g), e.onCacheKey && (M.cacheKey = e.onCacheKey(V)), _.currentType !== 14 && t(g, e2.UNEXPECTED_LEXICAL_ANALYSIS, _.lastStartLoc, 0, V[_.offset] || ""), i(M, g.currentOffset(), g.currentPosition()), M;
752
752
  }
753
753
  return { parse: N };
754
754
  }
@@ -882,7 +882,7 @@ function t3(e) {
882
882
  f.k = f.key, delete f.key;
883
883
  break;
884
884
  default:
885
- throw h3(J.UNHANDLED_MINIFIER_NODE_TYPE, null, {
885
+ throw h3(e2.UNHANDLED_MINIFIER_NODE_TYPE, null, {
886
886
  domain: QI,
887
887
  args: [e.type]
888
888
  });
@@ -1012,7 +1012,7 @@ function o3(e, c) {
1012
1012
  e.push(JSON.stringify(c.value), c);
1013
1013
  break;
1014
1014
  default:
1015
- throw h3(J.UNHANDLED_CODEGEN_NODE_TYPE, null, {
1015
+ throw h3(e2.UNHANDLED_CODEGEN_NODE_TYPE, null, {
1016
1016
  domain: XI,
1017
1017
  args: [c.type]
1018
1018
  });
@@ -1594,7 +1594,7 @@ function X6(e, c) {
1594
1594
  throw new Error(`unhandled node type on format message part: ${a}`);
1595
1595
  }
1596
1596
  }
1597
- const Hi = J.__EXTEND_POINT__, h4 = b0(Hi), c1 = {
1597
+ const Hi = e2.__EXTEND_POINT__, h4 = b0(Hi), c1 = {
1598
1598
  INVALID_ARGUMENT: Hi,
1599
1599
  INVALID_DATE_ARGUMENT: h4(),
1600
1600
  INVALID_ISO_DATE_ARGUMENT: h4(),
@@ -2268,13 +2268,13 @@ const sD = /* @__NO_SIDE_EFFECTS__ */ () => {
2268
2268
  function A0(e = {}, c) {
2269
2269
  const { __root: a, __injectWithOption: t } = e, n = a === void 0, i = e.flatJson;
2270
2270
  let s = n2(e.inheritLocale) ? e.inheritLocale : !0;
2271
- const r = e2(
2271
+ const r = Z(
2272
2272
  // prettier-ignore
2273
2273
  a && s ? a.locale.value : $(e.locale) ? e.locale : f3
2274
- ), l = e2(
2274
+ ), l = Z(
2275
2275
  // prettier-ignore
2276
2276
  a && s ? a.fallbackLocale.value : $(e.fallbackLocale) || p2(e.fallbackLocale) || c2(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : r.value
2277
- ), f = e2(F4(r.value, e)), o = e2(c2(e.datetimeFormats) ? e.datetimeFormats : { [r.value]: {} }), m = e2(c2(e.numberFormats) ? e.numberFormats : { [r.value]: {} });
2277
+ ), f = Z(F4(r.value, e)), o = Z(c2(e.datetimeFormats) ? e.datetimeFormats : { [r.value]: {} }), m = Z(c2(e.numberFormats) ? e.numberFormats : { [r.value]: {} });
2278
2278
  let d = a ? a.missingWarn : n2(e.missingWarn) || I1(e.missingWarn) ? e.missingWarn : !0, h = a ? a.fallbackWarn : n2(e.fallbackWarn) || I1(e.fallbackWarn) ? e.fallbackWarn : !0, b = a ? a.fallbackRoot : n2(e.fallbackRoot) ? e.fallbackRoot : !0, L = !!e.fallbackFormat, N = V2(e.missing) ? e.missing : null, V = V2(e.missing) ? en(e.missing) : null, g = V2(e.postTranslation) ? e.postTranslation : null, _ = a ? a.warnHtmlMessage : n2(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, M = !!e.escapeParameter;
2279
2279
  const x = a ? a.modifiers : c2(e.modifiers) ? e.modifiers : {};
2280
2280
  let w = e.pluralRules || a && a.pluralRules, C;
@@ -2472,7 +2472,7 @@ function A0(e = {}, c) {
2472
2472
  }
2473
2473
  f.value[T] = P, C.messages = f.value;
2474
2474
  }
2475
- function Z(T, P) {
2475
+ function J(T, P) {
2476
2476
  f.value[T] = f.value[T] || {};
2477
2477
  const o2 = { [T]: P };
2478
2478
  for (const _2 in o2)
@@ -2564,7 +2564,7 @@ function A0(e = {}, c) {
2564
2564
  t: A2,
2565
2565
  getLocaleMessage: S,
2566
2566
  setLocaleMessage: U,
2567
- mergeLocaleMessage: Z,
2567
+ mergeLocaleMessage: J,
2568
2568
  getPostTranslationHandler: l2,
2569
2569
  setPostTranslationHandler: a2,
2570
2570
  getMissingHandler: h2,
@@ -3511,13 +3511,13 @@ function BD(e, c, a, t = {}) {
3511
3511
  const n = c === "local", i = lI(null);
3512
3512
  if (n && e.proxy && !(e.proxy.$options.i18n || e.proxy.$options.__i18n))
3513
3513
  throw w2(f2.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);
3514
- const s = n2(t.inheritLocale) ? t.inheritLocale : !$(t.locale), r = e2(
3514
+ const s = n2(t.inheritLocale) ? t.inheritLocale : !$(t.locale), r = Z(
3515
3515
  // prettier-ignore
3516
3516
  !n || s ? a.locale.value : $(t.locale) ? t.locale : f3
3517
- ), l = e2(
3517
+ ), l = Z(
3518
3518
  // prettier-ignore
3519
3519
  !n || s ? a.fallbackLocale.value : $(t.fallbackLocale) || p2(t.fallbackLocale) || c2(t.fallbackLocale) || t.fallbackLocale === !1 ? t.fallbackLocale : r.value
3520
- ), f = e2(F4(r.value, t)), o = e2(c2(t.datetimeFormats) ? t.datetimeFormats : { [r.value]: {} }), m = e2(c2(t.numberFormats) ? t.numberFormats : { [r.value]: {} }), d = n ? a.missingWarn : n2(t.missingWarn) || I1(t.missingWarn) ? t.missingWarn : !0, h = n ? a.fallbackWarn : n2(t.fallbackWarn) || I1(t.fallbackWarn) ? t.fallbackWarn : !0, b = n ? a.fallbackRoot : n2(t.fallbackRoot) ? t.fallbackRoot : !0, L = !!t.fallbackFormat, N = V2(t.missing) ? t.missing : null, V = V2(t.postTranslation) ? t.postTranslation : null, g = n ? a.warnHtmlMessage : n2(t.warnHtmlMessage) ? t.warnHtmlMessage : !0, _ = !!t.escapeParameter, M = n ? a.modifiers : c2(t.modifiers) ? t.modifiers : {}, x = t.pluralRules || n && a.pluralRules;
3520
+ ), f = Z(F4(r.value, t)), o = Z(c2(t.datetimeFormats) ? t.datetimeFormats : { [r.value]: {} }), m = Z(c2(t.numberFormats) ? t.numberFormats : { [r.value]: {} }), d = n ? a.missingWarn : n2(t.missingWarn) || I1(t.missingWarn) ? t.missingWarn : !0, h = n ? a.fallbackWarn : n2(t.fallbackWarn) || I1(t.fallbackWarn) ? t.fallbackWarn : !0, b = n ? a.fallbackRoot : n2(t.fallbackRoot) ? t.fallbackRoot : !0, L = !!t.fallbackFormat, N = V2(t.missing) ? t.missing : null, V = V2(t.postTranslation) ? t.postTranslation : null, g = n ? a.warnHtmlMessage : n2(t.warnHtmlMessage) ? t.warnHtmlMessage : !0, _ = !!t.escapeParameter, M = n ? a.modifiers : c2(t.modifiers) ? t.modifiers : {}, x = t.pluralRules || n && a.pluralRules;
3521
3521
  function w() {
3522
3522
  return [
3523
3523
  r.value,
@@ -6356,7 +6356,7 @@ function XO(e) {
6356
6356
  w[M] = U, R[M] = U - h2;
6357
6357
  }
6358
6358
  if (r) {
6359
- var Z, u2 = M === "x" ? W2 : G2, J2 = M === "x" ? t1 : n1, O2 = w[x], e3 = x === "y" ? "height" : "width", m4 = O2 + N[u2], d4 = O2 - N[J2], L2 = [W2, G2].indexOf(V) !== -1, T = (Z = q == null ? void 0 : q[x]) != null ? Z : 0, P = L2 ? m4 : O2 - C[e3] - y[e3] - T + F.altAxis, o2 = L2 ? O2 + C[e3] + y[e3] - T - F.altAxis : d4, _2 = h && L2 ? HO(P, O2, o2) : N3(h ? P : m4, O2, h ? o2 : d4);
6359
+ var J, u2 = M === "x" ? W2 : G2, J2 = M === "x" ? t1 : n1, O2 = w[x], e3 = x === "y" ? "height" : "width", m4 = O2 + N[u2], d4 = O2 - N[J2], L2 = [W2, G2].indexOf(V) !== -1, T = (J = q == null ? void 0 : q[x]) != null ? J : 0, P = L2 ? m4 : O2 - C[e3] - y[e3] - T + F.altAxis, o2 = L2 ? O2 + C[e3] + y[e3] - T - F.altAxis : d4, _2 = h && L2 ? HO(P, O2, o2) : N3(h ? P : m4, O2, h ? o2 : d4);
6360
6360
  w[x] = _2, R[x] = _2 - O2;
6361
6361
  }
6362
6362
  c.modifiersData[t] = R;
@@ -6760,7 +6760,7 @@ const An = {
6760
6760
  }
6761
6761
  },
6762
6762
  ...e
6763
- }, t = e2(void 0), n = e2(void 0), i = e2(void 0), s = e2(!1), r = e2(!1), l = e2(!1), f = e2(a.placement || "top"), o = E(() => {
6763
+ }, t = Z(void 0), n = Z(void 0), i = Z(void 0), s = Z(!1), r = Z(!1), l = Z(!1), f = Z(a.placement || "top"), o = E(() => {
6764
6764
  let { modifiers: y } = An;
6765
6765
  return a.modifiers && (y = [...y, ...a.modifiers]), {
6766
6766
  ...An,
@@ -19450,7 +19450,7 @@ const bj = /* @__PURE__ */ X(Mj, [["__scopeId", "data-v-9ab10a3b"]]), Cj = { cla
19450
19450
  },
19451
19451
  emits: ["update:modelValue"],
19452
19452
  setup(e, { emit: c }) {
19453
- const a = e, t = e2(null), n = (o) => {
19453
+ const a = e, t = Z(null), n = (o) => {
19454
19454
  c("update:modelValue", parseInt(o.target.value));
19455
19455
  }, i = (o) => {
19456
19456
  o.target.value === "" && c("update:modelValue", 0);
@@ -19596,7 +19596,7 @@ const kj = /* @__PURE__ */ X(xj, [["__scopeId", "data-v-cd10cd1f"]]), Sj = { cla
19596
19596
  },
19597
19597
  emits: ["update:modelValue"],
19598
19598
  setup(e, { emit: c }) {
19599
- const a = e2(!1), t = () => {
19599
+ const a = Z(!1), t = () => {
19600
19600
  a.value = !a.value;
19601
19601
  }, n = (i) => {
19602
19602
  c("update:modelValue", i.target.value);
@@ -20290,7 +20290,7 @@ const AF = /* @__PURE__ */ X(yF, [["__scopeId", "data-v-0cc3f6d1"]]), NF = { cla
20290
20290
  },
20291
20291
  emits: ["update", "fileFormatNotAccepted", "download"],
20292
20292
  setup(e, { emit: c }) {
20293
- const a = e, t = B2("i18n"), { t: n } = t.global, i = e2(!1), s = e2(null), r = e2([]);
20293
+ const a = e, t = B2("i18n"), { t: n } = t.global, i = Z(!1), s = Z(null), r = Z([]);
20294
20294
  M2(() => {
20295
20295
  a.locale && d2(a.locale), a.value && (r.value = a.value);
20296
20296
  }), s2(
@@ -20500,7 +20500,7 @@ const tR = /* @__PURE__ */ X(aR, [["__scopeId", "data-v-21894bad"]]), nR = (e) =
20500
20500
  },
20501
20501
  emits: ["update"],
20502
20502
  setup(e, { emit: c }) {
20503
- const a = e, t = e2(!1);
20503
+ const a = e, t = Z(!1);
20504
20504
  M2(() => {
20505
20505
  a.checked && (t.value = a.checked);
20506
20506
  });
@@ -20738,7 +20738,7 @@ const zR = /* @__PURE__ */ X(VR, [["__scopeId", "data-v-d205c709"]]), gR = ["hre
20738
20738
  },
20739
20739
  emits: ["onClick"],
20740
20740
  setup(e, { emit: c }) {
20741
- const a = e, t = e2(!1), n = E(() => a.href ? "link" : "button"), i = E(() => a.disabled ? null : a.href), s = E(() => a.type === "step" ? "number" : "icon"), r = E(
20741
+ const a = e, t = Z(!1), n = E(() => a.href ? "link" : "button"), i = E(() => a.disabled ? null : a.href), s = E(() => a.type === "step" ? "number" : "icon"), r = E(
20742
20742
  () => a.type === "step" ? a.stepIndex : a.icon
20743
20743
  ), l = () => {
20744
20744
  a.disabled || (t.value = !t.value);
@@ -21008,7 +21008,7 @@ const BR = /* @__PURE__ */ X(PR, [["__scopeId", "data-v-f770cea1"]]), jR = ["dis
21008
21008
  },
21009
21009
  emits: ["update:waiting"],
21010
21010
  setup(e, { emit: c }) {
21011
- const a = e, t = e2(!1);
21011
+ const a = e, t = Z(!1);
21012
21012
  s2(t, (r) => c("update:waiting", r));
21013
21013
  const n = E(() => {
21014
21014
  if (!t.value)
@@ -21086,7 +21086,7 @@ const RR = /* @__PURE__ */ X(FR, [["__scopeId", "data-v-11042fa9"]]), $R = { cla
21086
21086
  },
21087
21087
  emits: ["update"],
21088
21088
  setup(e, { emit: c }) {
21089
- const a = e, t = e2([]), n = e2(""), i = E(() => a.options.length === 2 ? "AVTabSwitcher--double" : "AVTabSwitcher--triple");
21089
+ const a = e, t = Z([]), n = Z(""), i = E(() => a.options.length === 2 ? "AVTabSwitcher--double" : "AVTabSwitcher--triple");
21090
21090
  M2(() => s());
21091
21091
  const s = () => {
21092
21092
  t.value = [], a.options.map(
@@ -21221,7 +21221,7 @@ const KR = /* @__PURE__ */ X(XR, [["__scopeId", "data-v-607d90fc"]]), ZR = {
21221
21221
  M2(() => {
21222
21222
  n();
21223
21223
  });
21224
- const t = e2(0), n = () => {
21224
+ const t = Z(0), n = () => {
21225
21225
  const o = setInterval(() => {
21226
21226
  t.value = t.value + 1, t.value >= a.timeout && (clearInterval(o), c("expired", !0, a.timeout));
21227
21227
  }, 1e3);
@@ -21319,7 +21319,7 @@ const r$ = /* @__PURE__ */ X(s$, [["__scopeId", "data-v-9a6218e9"]]), l$ = { cla
21319
21319
  vI((s) => ({
21320
21320
  "0d707a14": i.value
21321
21321
  }));
21322
- const a = e2([]), t = () => {
21322
+ const a = Z([]), t = () => {
21323
21323
  a.value = [], c.steps.map((s) => {
21324
21324
  a.value.push({
21325
21325
  value: s,
@@ -21575,7 +21575,7 @@ const _$ = /* @__PURE__ */ X(L$, [["__scopeId", "data-v-342ba729"]]), y$ = /* @_
21575
21575
  },
21576
21576
  emits: ["accordionOpen"],
21577
21577
  setup(e, { emit: c }) {
21578
- const a = e, t = e2(!1), n = e2(!0), i = E(() => ({
21578
+ const a = e, t = Z(!1), n = Z(!0), i = E(() => ({
21579
21579
  collapsable: a.collapsable,
21580
21580
  startCollapsed: a.startCollapsed
21581
21581
  }));
@@ -21683,7 +21683,7 @@ const k$ = /* @__PURE__ */ X(x$, [["__scopeId", "data-v-4e9b2c30"]]), S$ = { cla
21683
21683
  },
21684
21684
  emits: ["update"],
21685
21685
  setup(e, { emit: c }) {
21686
- const a = e, t = e2(""), n = e2([]), i = (f) => {
21686
+ const a = e, t = Z(""), n = Z([]), i = (f) => {
21687
21687
  n.value.map((o) => {
21688
21688
  o.value === f ? (o.checked = !0, t.value = o.value) : o.checked = !1;
21689
21689
  });
@@ -22041,7 +22041,7 @@ const pU = /* @__PURE__ */ X(vU, [["__scopeId", "data-v-c682a2cf"]]), hU = ["ari
22041
22041
  setup(e) {
22042
22042
  const c = e, a = B2("i18n"), { t } = a.global, n = E(
22043
22043
  () => a.global.locale.value || a.global.locale
22044
- ), i = e2([]);
22044
+ ), i = Z([]);
22045
22045
  M2(() => {
22046
22046
  c.parents && c.parents.map((o) => i.value.push(o)), c.locale && d2(c.locale);
22047
22047
  }), s2(
@@ -22124,7 +22124,7 @@ const pU = /* @__PURE__ */ X(vU, [["__scopeId", "data-v-c682a2cf"]]), hU = ["ari
22124
22124
  };
22125
22125
  }
22126
22126
  });
22127
- const ai = e2(/* @__PURE__ */ new Map());
22127
+ const ai = Z(/* @__PURE__ */ new Map());
22128
22128
  function eI() {
22129
22129
  function e(c, ...a) {
22130
22130
  ai.value.set(c, a);
@@ -22196,7 +22196,7 @@ const cI = (e) => (V1("data-v-58afc370"), e = e(), z1(), e), _U = ["id", "href",
22196
22196
  setup(e, { emit: c }) {
22197
22197
  const a = e, t = B2("i18n"), { t: n } = t.global, i = E(
22198
22198
  () => t.global.locale.value || t.global.locale
22199
- ), { eventBus: s } = eI(), r = e2(!1), l = e2(null);
22199
+ ), { eventBus: s } = eI(), r = Z(!1), l = Z(null);
22200
22200
  M2(() => {
22201
22201
  a.locale && d2(a.locale);
22202
22202
  }), s2(
@@ -22227,7 +22227,7 @@ const cI = (e) => (V1("data-v-58afc370"), e = e(), z1(), e), _U = ["id", "href",
22227
22227
  var j;
22228
22228
  return ((j = a.option.videoUrl) == null ? void 0 : j[i.value]) ?? "";
22229
22229
  }
22230
- ), N = E(() => a.option.image), g = e2(function() {
22230
+ ), N = E(() => a.option.image), g = Z(function() {
22231
22231
  return a.option.randomizeChildren ? a.option.children.slice().sort(() => Math.random() - 0.5) : a.option.children;
22232
22232
  }()), _ = E(() => {
22233
22233
  let j = [];
@@ -22802,7 +22802,7 @@ const Aq = ["aria-label"], Nq = { class: "AVSearchBallot--form-group" }, xq = ["
22802
22802
  },
22803
22803
  { deep: !0 }
22804
22804
  );
22805
- const s = e2(""), r = E(() => s.value.trim() === "" ? [] : yq(
22805
+ const s = Z(""), r = E(() => s.value.trim() === "" ? [] : yq(
22806
22806
  c.options,
22807
22807
  s.value,
22808
22808
  (d) => d.title[n.value]
@@ -23289,7 +23289,7 @@ const AW = (e) => (V1("data-v-625a4e3f"), e = e(), z1(), e), NW = ["aria-label",
23289
23289
  },
23290
23290
  { deep: !0 }
23291
23291
  );
23292
- const s = e2(!1), r = e2(""), l = e2(""), f = e2(null), o = E(() => a.selectionPile.optionSelections), m = E(() => new tI(a.contest)), d = E(
23292
+ const s = Z(!1), r = Z(""), l = Z(""), f = Z(null), o = E(() => a.selectionPile.optionSelections), m = E(() => new tI(a.contest)), d = E(
23293
23293
  () => a.contest.disregardVoterWeight ? null : a.weight
23294
23294
  ), h = E(() => {
23295
23295
  var A;
@@ -23436,7 +23436,7 @@ const AW = (e) => (V1("data-v-625a4e3f"), e = e(), z1(), e), NW = ["aria-label",
23436
23436
  };
23437
23437
  }
23438
23438
  });
23439
- const TW = /* @__PURE__ */ X(wW, [["__scopeId", "data-v-625a4e3f"]]), IW = (e) => (V1("data-v-b3274830"), e = e(), z1(), e), EW = {
23439
+ const TW = /* @__PURE__ */ X(wW, [["__scopeId", "data-v-625a4e3f"]]), IW = (e) => (V1("data-v-de748fc4"), e = e(), z1(), e), EW = {
23440
23440
  key: 0,
23441
23441
  class: "AVPileSummary--summary"
23442
23442
  }, DW = {
@@ -23501,11 +23501,13 @@ const TW = /* @__PURE__ */ X(wW, [["__scopeId", "data-v-625a4e3f"]]), IW = (e) =
23501
23501
  },
23502
23502
  { deep: !0 }
23503
23503
  );
23504
- const s = e2(!1), r = e2([]), l = E(() => a.selectionPile.optionSelections.length === 0), f = E(() => !a.maximumOptionsShown || s.value ? a.selectionPile.optionSelections : a.selectionPile.optionSelections.slice(
23504
+ const s = Z(!1), r = Z([]);
23505
+ Z([]);
23506
+ const l = E(() => a.selectionPile.optionSelections.length === 0), f = E(() => !a.maximumOptionsShown || s.value ? a.selectionPile.optionSelections : a.selectionPile.optionSelections.slice(
23505
23507
  0,
23506
23508
  a.maximumOptionsShown
23507
23509
  )), o = E(() => a.selectionPile.optionSelections.length - f.value.length), m = (b, L) => {
23508
- L && (b.parentContent = L), b.selectable && r.value.push(b), b.children && b.children.map(
23510
+ b.selectable && r.value.push({ ...b, parentContent: L }), b.children && b.children.map(
23509
23511
  (N) => m(N, b)
23510
23512
  );
23511
23513
  }, d = (b, L) => b && b.parentContent ? (L.push(b.parentContent), d(b.parentContent, L)) : L, h = E(() => {
@@ -23630,7 +23632,7 @@ const TW = /* @__PURE__ */ X(wW, [["__scopeId", "data-v-625a4e3f"]]), IW = (e) =
23630
23632
  };
23631
23633
  }
23632
23634
  });
23633
- const XW = /* @__PURE__ */ X(QW, [["__scopeId", "data-v-b3274830"]]);
23635
+ const XW = /* @__PURE__ */ X(QW, [["__scopeId", "data-v-de748fc4"]]);
23634
23636
  var iI = {}, ti = O4 && O4.__spreadArray || function(e, c, a) {
23635
23637
  if (a || arguments.length === 2)
23636
23638
  for (var t = 0, n = c.length, i; t < n; t++)
@@ -23716,13 +23718,13 @@ const eG = {
23716
23718
  },
23717
23719
  { deep: !0 }
23718
23720
  );
23719
- const i = e2(null), s = e2({
23721
+ const i = Z(null), s = Z({
23720
23722
  multiplier: e.weight,
23721
23723
  optionSelections: [],
23722
23724
  explicitBlank: !1
23723
- }), r = e2(
23725
+ }), r = Z(
23724
23726
  ((q = e.contestSelection.piles) == null ? void 0 : q.length) === 0 || e.contest.markingType.maxPiles === 1 ? "ballot" : "overview"
23725
- ), l = e2([]), f = E(() => e.contestSelection.piles), o = E(
23727
+ ), l = Z([]), f = E(() => e.contestSelection.piles), o = E(
23726
23728
  () => {
23727
23729
  var R;
23728
23730
  return (R = f.value) == null ? void 0 : R.reduce((j, r2) => j - r2.multiplier, e.weight);