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

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));
@@ -181,14 +181,14 @@ const TI = /<\/?[\w\s="/.':;#-\/]+>/, II = (e) => TI.test(e), H1 = " ", EI = "\r
181
181
  function PI(e) {
182
182
  const c = e;
183
183
  let a = 0, t = 1, n = 1, i = 0;
184
- const s = (C) => c[C] === EI && c[C + 1] === $2, r = (C) => c[C] === $2, l = (C) => c[C] === OI, f = (C) => c[C] === DI, o = (C) => s(C) || r(C) || l(C) || f(C), m = () => a, d = () => t, h = () => n, b = () => i, L = (C) => s(C) || l(C) || f(C) ? $2 : c[C], N = () => L(a), V = () => L(a + i);
185
- function g() {
184
+ const s = (C) => c[C] === EI && c[C + 1] === $2, r = (C) => c[C] === $2, l = (C) => c[C] === OI, f = (C) => c[C] === DI, o = (C) => s(C) || r(C) || l(C) || f(C), m = () => a, d = () => t, h = () => n, L = () => i, _ = (C) => s(C) || l(C) || f(C) ? $2 : c[C], y = () => _(a), V = () => _(a + i);
185
+ function M() {
186
186
  return i = 0, o(a) && (t++, n = 0), s(a) && a++, a++, n++, c[a];
187
187
  }
188
- function _() {
188
+ function b() {
189
189
  return s(a + i) && i++, i++, c[a + i];
190
190
  }
191
- function M() {
191
+ function g() {
192
192
  a = 0, t = 1, n = 1, i = 0;
193
193
  }
194
194
  function x(C = 0) {
@@ -197,20 +197,20 @@ function PI(e) {
197
197
  function w() {
198
198
  const C = a + i;
199
199
  for (; C !== a; )
200
- g();
200
+ M();
201
201
  i = 0;
202
202
  }
203
203
  return {
204
204
  index: m,
205
205
  line: d,
206
206
  column: h,
207
- peekOffset: b,
208
- charAt: L,
209
- currentChar: N,
207
+ peekOffset: L,
208
+ charAt: _,
209
+ currentChar: y,
210
210
  currentPeek: V,
211
- next: g,
212
- peek: _,
213
- reset: M,
211
+ next: M,
212
+ peek: b,
213
+ reset: g,
214
214
  resetPeek: x,
215
215
  skipToPeek: w
216
216
  };
@@ -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
  });
@@ -250,17 +250,17 @@ function FI(e, c = {}) {
250
250
  14
251
251
  /* TokenTypes.EOF */
252
252
  );
253
- function b(z, v) {
254
- return z.currentChar() === v ? (z.next(), v) : (m(J.EXPECTED_TOKEN, i(), 0, v), "");
253
+ function L(z, v) {
254
+ return z.currentChar() === v ? (z.next(), v) : (m(e2.EXPECTED_TOKEN, i(), 0, v), "");
255
255
  }
256
- function L(z) {
256
+ function _(z) {
257
257
  let v = "";
258
258
  for (; z.currentPeek() === H1 || z.currentPeek() === $2; )
259
259
  v += z.currentPeek(), z.peek();
260
260
  return v;
261
261
  }
262
- function N(z) {
263
- const v = L(z);
262
+ function y(z) {
263
+ const v = _(z);
264
264
  return z.skipToPeek(), v;
265
265
  }
266
266
  function V(z) {
@@ -271,33 +271,33 @@ function FI(e, c = {}) {
271
271
  v >= 65 && v <= 90 || // A-Z
272
272
  v === 95;
273
273
  }
274
- function g(z) {
274
+ function M(z) {
275
275
  if (z === N1)
276
276
  return !1;
277
277
  const v = z.charCodeAt(0);
278
278
  return v >= 48 && v <= 57;
279
279
  }
280
- function _(z, v) {
280
+ function b(z, v) {
281
281
  const { currentType: S } = v;
282
282
  if (S !== 2)
283
283
  return !1;
284
- L(z);
284
+ _(z);
285
285
  const U = V(z.currentPeek());
286
286
  return z.resetPeek(), U;
287
287
  }
288
- function M(z, v) {
288
+ function g(z, v) {
289
289
  const { currentType: S } = v;
290
290
  if (S !== 2)
291
291
  return !1;
292
- L(z);
293
- const U = z.currentPeek() === "-" ? z.peek() : z.currentPeek(), Z = g(U);
294
- return z.resetPeek(), Z;
292
+ _(z);
293
+ const U = z.currentPeek() === "-" ? z.peek() : z.currentPeek(), J = M(U);
294
+ return z.resetPeek(), J;
295
295
  }
296
296
  function x(z, v) {
297
297
  const { currentType: S } = v;
298
298
  if (S !== 2)
299
299
  return !1;
300
- L(z);
300
+ _(z);
301
301
  const U = z.currentPeek() === S9;
302
302
  return z.resetPeek(), U;
303
303
  }
@@ -305,7 +305,7 @@ function FI(e, c = {}) {
305
305
  const { currentType: S } = v;
306
306
  if (S !== 8)
307
307
  return !1;
308
- L(z);
308
+ _(z);
309
309
  const U = z.currentPeek() === ".";
310
310
  return z.resetPeek(), U;
311
311
  }
@@ -313,44 +313,44 @@ function FI(e, c = {}) {
313
313
  const { currentType: S } = v;
314
314
  if (S !== 9)
315
315
  return !1;
316
- L(z);
316
+ _(z);
317
317
  const U = V(z.currentPeek());
318
318
  return z.resetPeek(), U;
319
319
  }
320
- function y(z, v) {
320
+ function A(z, v) {
321
321
  const { currentType: S } = v;
322
322
  if (!(S === 8 || S === 12))
323
323
  return !1;
324
- L(z);
324
+ _(z);
325
325
  const U = z.currentPeek() === ":";
326
326
  return z.resetPeek(), U;
327
327
  }
328
- function A(z, v) {
328
+ function N(z, v) {
329
329
  const { currentType: S } = v;
330
330
  if (S !== 10)
331
331
  return !1;
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
- L(z);
339
+ _(z);
340
340
  const v = z.currentPeek() === "|";
341
341
  return z.resetPeek(), v;
342
342
  }
343
343
  function q(z) {
344
- const v = L(z), S = z.currentPeek() === "%" && z.peek() === "{";
344
+ const v = _(z), S = z.currentPeek() === "%" && z.peek() === "{";
345
345
  return z.resetPeek(), {
346
346
  isModulo: S,
347
347
  hasSpace: v.length > 0
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
  }
@@ -389,9 +389,9 @@ function FI(e, c = {}) {
389
389
  return S;
390
390
  }
391
391
  function F2(z) {
392
- N(z);
392
+ y(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 = "";
@@ -418,25 +418,25 @@ function FI(e, c = {}) {
418
418
  return v;
419
419
  }
420
420
  function v2(z) {
421
- N(z);
421
+ y(z);
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
- N(z);
428
+ y(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
- N(z), b(z, "'");
433
+ y(z), L(z, "'");
434
434
  let v = "", S = "";
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(), L(z, "'")), S) : (L(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
- b(z, v);
456
+ L(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;
@@ -466,9 +466,9 @@ function FI(e, c = {}) {
466
466
  return `\\${v}${U}`;
467
467
  }
468
468
  function j2(z) {
469
- N(z);
469
+ y(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,53 +481,53 @@ 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
  }
489
489
  function R2(z) {
490
- N(z);
491
- const v = b(
490
+ y(z);
491
+ const v = L(
492
492
  z,
493
493
  "|"
494
494
  /* TokenChars.Pipe */
495
495
  );
496
- return N(z), v;
496
+ return y(z), v;
497
497
  }
498
498
  function i1(z, v) {
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
- ), N(z), v.braceNest++, S;
507
+ ), y(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
- ), v.braceNest--, v.braceNest > 0 && N(z), v.inLinked && v.braceNest === 0 && (v.inLinked = !1), S;
514
+ ), v.braceNest--, v.braceNest > 0 && y(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))
524
- return S = d(v, 5, v2(z)), N(z), S;
525
- if (u2 = M(z, v))
526
- return S = d(v, 6, A2(z)), N(z), S;
522
+ return m(e2.UNTERMINATED_CLOSING_BRACE, i(), 0), v.braceNest = 0, s1(z, v);
523
+ if (J = b(z, v))
524
+ return S = d(v, 5, v2(z)), y(z), S;
525
+ if (u2 = g(z, v))
526
+ return S = d(v, 6, A2(z)), y(z), S;
527
527
  if (J2 = x(z, v))
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;
528
+ return S = d(v, 7, k2(z)), y(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), y(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,
@@ -545,21 +545,21 @@ function FI(e, c = {}) {
545
545
  /* TokenChars.LinkedAlias */
546
546
  ), v.inLinked = !0, U;
547
547
  case ".":
548
- return N(z), z.next(), d(
548
+ return y(z), z.next(), d(
549
549
  v,
550
550
  9,
551
551
  "."
552
552
  /* TokenChars.LinkedDot */
553
553
  );
554
554
  case ":":
555
- return N(z), z.next(), d(
555
+ return y(z), z.next(), d(
556
556
  v,
557
557
  10,
558
558
  ":"
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) || A(z, v) ? (y(z), u1(z, v)) : C(z, v) ? (y(z), d(v, 12, o1(z))) : N(z, v) ? (y(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));
@@ -625,132 +625,132 @@ function UI(e, c, a) {
625
625
  }
626
626
  function qI(e = {}) {
627
627
  const c = e.location !== !1, { onError: a } = e;
628
- function t(V, g, _, M, ...x) {
628
+ function t(V, M, b, g, ...x) {
629
629
  const w = V.currentPosition();
630
- if (w.offset += M, w.column += M, a) {
631
- const C = c ? Q6(_, w) : null, y = h3(g, C, {
630
+ if (w.offset += g, w.column += g, a) {
631
+ const C = c ? Q6(b, w) : null, A = h3(M, C, {
632
632
  domain: RI,
633
633
  args: x
634
634
  });
635
- a(y);
635
+ a(A);
636
636
  }
637
637
  }
638
- function n(V, g, _) {
639
- const M = { type: V };
640
- return c && (M.start = g, M.end = g, M.loc = { start: _, end: _ }), M;
638
+ function n(V, M, b) {
639
+ const g = { type: V };
640
+ return c && (g.start = M, g.end = M, g.loc = { start: b, end: b }), g;
641
641
  }
642
- function i(V, g, _, M) {
643
- M && (V.type = M), c && (V.end = g, V.loc && (V.loc.end = _));
642
+ function i(V, M, b, g) {
643
+ g && (V.type = g), c && (V.end = M, V.loc && (V.loc.end = b));
644
644
  }
645
- function s(V, g) {
646
- const _ = V.context(), M = n(3, _.offset, _.startLoc);
647
- return M.value = g, i(M, V.currentOffset(), V.currentPosition()), M;
645
+ function s(V, M) {
646
+ const b = V.context(), g = n(3, b.offset, b.startLoc);
647
+ return g.value = M, i(g, V.currentOffset(), V.currentPosition()), g;
648
648
  }
649
- function r(V, g) {
650
- const _ = V.context(), { lastOffset: M, lastStartLoc: x } = _, w = n(5, M, x);
651
- return w.index = parseInt(g, 10), V.nextToken(), i(w, V.currentOffset(), V.currentPosition()), w;
649
+ function r(V, M) {
650
+ const b = V.context(), { lastOffset: g, lastStartLoc: x } = b, w = n(5, g, x);
651
+ return w.index = parseInt(M, 10), V.nextToken(), i(w, V.currentOffset(), V.currentPosition()), w;
652
652
  }
653
- function l(V, g) {
654
- const _ = V.context(), { lastOffset: M, lastStartLoc: x } = _, w = n(4, M, x);
655
- return w.key = g, V.nextToken(), i(w, V.currentOffset(), V.currentPosition()), w;
653
+ function l(V, M) {
654
+ const b = V.context(), { lastOffset: g, lastStartLoc: x } = b, w = n(4, g, x);
655
+ return w.key = M, V.nextToken(), i(w, V.currentOffset(), V.currentPosition()), w;
656
656
  }
657
- function f(V, g) {
658
- const _ = V.context(), { lastOffset: M, lastStartLoc: x } = _, w = n(9, M, x);
659
- return w.value = g.replace($I, UI), V.nextToken(), i(w, V.currentOffset(), V.currentPosition()), w;
657
+ function f(V, M) {
658
+ const b = V.context(), { lastOffset: g, lastStartLoc: x } = b, w = n(9, g, x);
659
+ return w.value = M.replace($I, UI), V.nextToken(), i(w, V.currentOffset(), V.currentPosition()), w;
660
660
  }
661
661
  function o(V) {
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), {
664
- nextConsumeToken: g,
662
+ const M = V.nextToken(), b = V.context(), { lastOffset: g, lastStartLoc: x } = b, w = n(8, g, x);
663
+ return M.type !== 12 ? (t(V, e2.UNEXPECTED_EMPTY_LINKED_MODIFIER, b.lastStartLoc, 0), w.value = "", i(w, g, x), {
664
+ nextConsumeToken: M,
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
+ }) : (M.value == null && t(V, e2.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, m1(M)), w.value = M.value || "", i(w, V.currentOffset(), V.currentPosition()), {
667
667
  node: w
668
668
  });
669
669
  }
670
- function m(V, g) {
671
- const _ = V.context(), M = n(7, _.offset, _.startLoc);
672
- return M.value = g, i(M, V.currentOffset(), V.currentPosition()), M;
670
+ function m(V, M) {
671
+ const b = V.context(), g = n(7, b.offset, b.startLoc);
672
+ return g.value = M, i(g, V.currentOffset(), V.currentPosition()), g;
673
673
  }
674
674
  function d(V) {
675
- const g = V.context(), _ = n(6, g.offset, g.startLoc);
676
- let M = V.nextToken();
677
- if (M.type === 9) {
675
+ const M = V.context(), b = n(6, M.offset, M.startLoc);
676
+ let g = V.nextToken();
677
+ if (g.type === 9) {
678
678
  const x = o(V);
679
- _.modifier = x.node, M = x.nextConsumeToken || V.nextToken();
679
+ b.modifier = x.node, g = 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 (g.type !== 10 && t(V, e2.UNEXPECTED_LEXICAL_ANALYSIS, M.lastStartLoc, 0, m1(g)), g = V.nextToken(), g.type === 2 && (g = V.nextToken()), g.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
+ g.value == null && t(V, e2.UNEXPECTED_LEXICAL_ANALYSIS, M.lastStartLoc, 0, m1(g)), b.key = m(V, g.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
+ g.value == null && t(V, e2.UNEXPECTED_LEXICAL_ANALYSIS, M.lastStartLoc, 0, m1(g)), b.key = l(V, g.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
+ g.value == null && t(V, e2.UNEXPECTED_LEXICAL_ANALYSIS, M.lastStartLoc, 0, m1(g)), b.key = r(V, g.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
+ g.value == null && t(V, e2.UNEXPECTED_LEXICAL_ANALYSIS, M.lastStartLoc, 0, m1(g)), b.key = f(V, g.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, M.lastStartLoc, 0);
696
696
  const x = V.context(), w = n(7, x.offset, x.startLoc);
697
- return w.value = "", i(w, x.offset, x.startLoc), _.key = w, i(_, x.offset, x.startLoc), {
698
- nextConsumeToken: M,
699
- node: _
697
+ return w.value = "", i(w, x.offset, x.startLoc), b.key = w, i(b, x.offset, x.startLoc), {
698
+ nextConsumeToken: g,
699
+ node: b
700
700
  };
701
701
  }
702
- return i(_, V.currentOffset(), V.currentPosition()), {
703
- node: _
702
+ return i(b, V.currentOffset(), V.currentPosition()), {
703
+ node: b
704
704
  };
705
705
  }
706
706
  function h(V) {
707
- const g = V.context(), _ = g.currentType === 1 ? V.currentOffset() : g.offset, M = g.currentType === 1 ? g.endLoc : g.startLoc, x = n(2, _, M);
707
+ const M = V.context(), b = M.currentType === 1 ? V.currentOffset() : M.offset, g = M.currentType === 1 ? M.endLoc : M.startLoc, x = n(2, b, g);
708
708
  x.items = [];
709
709
  let w = null;
710
710
  do {
711
- const A = w || V.nextToken();
712
- switch (w = null, A.type) {
711
+ const N = w || V.nextToken();
712
+ switch (w = null, N.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
+ N.value == null && t(V, e2.UNEXPECTED_LEXICAL_ANALYSIS, M.lastStartLoc, 0, m1(N)), x.items.push(s(V, N.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
+ N.value == null && t(V, e2.UNEXPECTED_LEXICAL_ANALYSIS, M.lastStartLoc, 0, m1(N)), x.items.push(r(V, N.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
+ N.value == null && t(V, e2.UNEXPECTED_LEXICAL_ANALYSIS, M.lastStartLoc, 0, m1(N)), x.items.push(l(V, N.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
+ N.value == null && t(V, e2.UNEXPECTED_LEXICAL_ANALYSIS, M.lastStartLoc, 0, m1(N)), x.items.push(f(V, N.value || ""));
724
724
  break;
725
725
  case 8:
726
726
  const F = d(V);
727
727
  x.items.push(F.node), w = F.nextConsumeToken || null;
728
728
  break;
729
729
  }
730
- } while (g.currentType !== 14 && g.currentType !== 1);
731
- const C = g.currentType === 1 ? g.lastOffset : V.currentOffset(), y = g.currentType === 1 ? g.lastEndLoc : V.currentPosition();
732
- return i(x, C, y), x;
730
+ } while (M.currentType !== 14 && M.currentType !== 1);
731
+ const C = M.currentType === 1 ? M.lastOffset : V.currentOffset(), A = M.currentType === 1 ? M.lastEndLoc : V.currentPosition();
732
+ return i(x, C, A), x;
733
733
  }
734
- function b(V, g, _, M) {
734
+ function L(V, M, b, g) {
735
735
  const x = V.context();
736
- let w = M.items.length === 0;
737
- const C = n(1, g, _);
738
- C.cases = [], C.cases.push(M);
736
+ let w = g.items.length === 0;
737
+ const C = n(1, M, b);
738
+ C.cases = [], C.cases.push(g);
739
739
  do {
740
- const y = h(V);
741
- w || (w = y.items.length === 0), C.cases.push(y);
740
+ const A = h(V);
741
+ w || (w = A.items.length === 0), C.cases.push(A);
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, b, 0), i(C, V.currentOffset(), V.currentPosition()), C;
744
744
  }
745
- function L(V) {
746
- const g = V.context(), { offset: _, startLoc: M } = g, x = h(V);
747
- return g.currentType === 14 ? x : b(V, _, M, x);
745
+ function _(V) {
746
+ const M = V.context(), { offset: b, startLoc: g } = M, x = h(V);
747
+ return M.currentType === 14 ? x : L(V, b, g, x);
748
748
  }
749
- function N(V) {
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;
749
+ function y(V) {
750
+ const M = FI(V, ui({}, e)), b = M.context(), g = n(0, b.offset, b.startLoc);
751
+ return c && g.loc && (g.loc.source = V), g.body = _(M), e.onCacheKey && (g.cacheKey = e.onCacheKey(V)), b.currentType !== 14 && t(M, e2.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, V[b.offset] || ""), i(g, M.currentOffset(), M.currentPosition()), g;
752
752
  }
753
- return { parse: N };
753
+ return { parse: y };
754
754
  }
755
755
  function m1(e) {
756
756
  if (e.type === 14)
@@ -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
  });
@@ -904,20 +904,20 @@ function KI(e, c) {
904
904
  };
905
905
  s && e.loc && (r.source = e.loc.source);
906
906
  const l = () => r;
907
- function f(N, V) {
908
- r.code += N;
907
+ function f(y, V) {
908
+ r.code += y;
909
909
  }
910
- function o(N, V = !0) {
911
- const g = V ? n : "";
912
- f(i ? g + " ".repeat(N) : g);
910
+ function o(y, V = !0) {
911
+ const M = V ? n : "";
912
+ f(i ? M + " ".repeat(y) : M);
913
913
  }
914
- function m(N = !0) {
914
+ function m(y = !0) {
915
915
  const V = ++r.indentLevel;
916
- N && o(V);
916
+ y && o(V);
917
917
  }
918
- function d(N = !0) {
918
+ function d(y = !0) {
919
919
  const V = --r.indentLevel;
920
- N && o(V);
920
+ y && o(V);
921
921
  }
922
922
  function h() {
923
923
  o(r.indentLevel);
@@ -928,7 +928,7 @@ function KI(e, c) {
928
928
  indent: m,
929
929
  deindent: d,
930
930
  newline: h,
931
- helper: (N) => `_${N}`,
931
+ helper: (y) => `_${y}`,
932
932
  needIndent: () => r.needIndent
933
933
  };
934
934
  }
@@ -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
  });
@@ -1287,9 +1287,9 @@ function fE(e) {
1287
1287
  }
1288
1288
  };
1289
1289
  function h() {
1290
- const b = e[a + 1];
1291
- if (t === 5 && b === "'" || t === 6 && b === '"')
1292
- return a++, r = "\\" + b, d[
1290
+ const L = e[a + 1];
1291
+ if (t === 5 && L === "'" || t === 6 && L === '"')
1292
+ return a++, r = "\\" + L, d[
1293
1293
  0
1294
1294
  /* Actions.APPEND */
1295
1295
  ](), !0;
@@ -1338,30 +1338,30 @@ function HE(e = {}) {
1338
1338
  S2(e.pluralIndex) && gE(a, l);
1339
1339
  const f = (V) => l[V];
1340
1340
  function o(V) {
1341
- const g = V2(e.messages) ? e.messages(V) : m2(e.messages) ? e.messages[V] : !1;
1342
- return g || (e.parent ? e.parent.message(V) : vE);
1341
+ const M = V2(e.messages) ? e.messages(V) : m2(e.messages) ? e.messages[V] : !1;
1342
+ return M || (e.parent ? e.parent.message(V) : vE);
1343
1343
  }
1344
- const m = (V) => e.modifiers ? e.modifiers[V] : dE, d = c2(e.processor) && V2(e.processor.normalize) ? e.processor.normalize : hE, h = c2(e.processor) && V2(e.processor.interpolate) ? e.processor.interpolate : VE, b = c2(e.processor) && $(e.processor.type) ? e.processor.type : pE, N = {
1344
+ const m = (V) => e.modifiers ? e.modifiers[V] : dE, d = c2(e.processor) && V2(e.processor.normalize) ? e.processor.normalize : hE, h = c2(e.processor) && V2(e.processor.interpolate) ? e.processor.interpolate : VE, L = c2(e.processor) && $(e.processor.type) ? e.processor.type : pE, y = {
1345
1345
  list: r,
1346
1346
  named: f,
1347
1347
  plural: i,
1348
- linked: (V, ...g) => {
1349
- const [_, M] = g;
1348
+ linked: (V, ...M) => {
1349
+ const [b, g] = M;
1350
1350
  let x = "text", w = "";
1351
- g.length === 1 ? m2(_) ? (w = _.modifier || w, x = _.type || x) : $(_) && (w = _ || w) : g.length === 2 && ($(_) && (w = _ || w), $(M) && (x = M || x));
1352
- const C = o(V)(N), y = (
1351
+ M.length === 1 ? m2(b) ? (w = b.modifier || w, x = b.type || x) : $(b) && (w = b || w) : M.length === 2 && ($(b) && (w = b || w), $(g) && (x = g || x));
1352
+ const C = o(V)(y), A = (
1353
1353
  // The message in vnode resolved with linked are returned as an array by processor.nomalize
1354
1354
  x === "vnode" && p2(C) && w ? C[0] : C
1355
1355
  );
1356
- return w ? m(w)(y, x) : y;
1356
+ return w ? m(w)(A, x) : A;
1357
1357
  },
1358
1358
  message: o,
1359
- type: b,
1359
+ type: L,
1360
1360
  interpolate: h,
1361
1361
  normalize: d,
1362
1362
  values: P2({}, s, l)
1363
1363
  };
1364
- return N;
1364
+ return y;
1365
1365
  }
1366
1366
  let I3 = null;
1367
1367
  function ME(e) {
@@ -1486,9 +1486,9 @@ const j9 = (e) => {
1486
1486
  }, EE = () => zi;
1487
1487
  let F9 = 0;
1488
1488
  function DE(e = {}) {
1489
- const c = V2(e.onWarn) ? e.onWarn : E2, a = $(e.version) ? e.version : xE, t = $(e.locale) || V2(e.locale) ? e.locale : f3, n = V2(t) ? f3 : t, i = p2(e.fallbackLocale) || c2(e.fallbackLocale) || $(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : n, s = c2(e.messages) ? e.messages : { [n]: {} }, r = c2(e.datetimeFormats) ? e.datetimeFormats : { [n]: {} }, l = c2(e.numberFormats) ? e.numberFormats : { [n]: {} }, f = P2({}, e.modifiers || {}, kE()), o = e.pluralRules || {}, m = V2(e.missing) ? e.missing : null, d = n2(e.missingWarn) || I1(e.missingWarn) ? e.missingWarn : !0, h = n2(e.fallbackWarn) || I1(e.fallbackWarn) ? e.fallbackWarn : !0, b = !!e.fallbackFormat, L = !!e.unresolving, N = V2(e.postTranslation) ? e.postTranslation : null, V = c2(e.processor) ? e.processor : null, g = n2(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, _ = !!e.escapeParameter, M = V2(e.messageCompiler) ? e.messageCompiler : vi;
1489
+ const c = V2(e.onWarn) ? e.onWarn : E2, a = $(e.version) ? e.version : xE, t = $(e.locale) || V2(e.locale) ? e.locale : f3, n = V2(t) ? f3 : t, i = p2(e.fallbackLocale) || c2(e.fallbackLocale) || $(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : n, s = c2(e.messages) ? e.messages : { [n]: {} }, r = c2(e.datetimeFormats) ? e.datetimeFormats : { [n]: {} }, l = c2(e.numberFormats) ? e.numberFormats : { [n]: {} }, f = P2({}, e.modifiers || {}, kE()), o = e.pluralRules || {}, m = V2(e.missing) ? e.missing : null, d = n2(e.missingWarn) || I1(e.missingWarn) ? e.missingWarn : !0, h = n2(e.fallbackWarn) || I1(e.fallbackWarn) ? e.fallbackWarn : !0, L = !!e.fallbackFormat, _ = !!e.unresolving, y = V2(e.postTranslation) ? e.postTranslation : null, V = c2(e.processor) ? e.processor : null, M = n2(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, b = !!e.escapeParameter, g = V2(e.messageCompiler) ? e.messageCompiler : vi;
1490
1490
  process.env.NODE_ENV !== "production" && V2(e.messageCompiler) && yI(Q1(U2.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
1491
- const x = V2(e.messageResolver) ? e.messageResolver : pi || uE, w = V2(e.localeFallbacker) ? e.localeFallbacker : hi || yE, C = m2(e.fallbackContext) ? e.fallbackContext : void 0, y = e, A = m2(y.__datetimeFormatters) ? y.__datetimeFormatters : /* @__PURE__ */ new Map(), F = m2(y.__numberFormatters) ? y.__numberFormatters : /* @__PURE__ */ new Map(), q = m2(y.__meta) ? y.__meta : {};
1491
+ const x = V2(e.messageResolver) ? e.messageResolver : pi || uE, w = V2(e.localeFallbacker) ? e.localeFallbacker : hi || yE, C = m2(e.fallbackContext) ? e.fallbackContext : void 0, A = e, N = m2(A.__datetimeFormatters) ? A.__datetimeFormatters : /* @__PURE__ */ new Map(), F = m2(A.__numberFormatters) ? A.__numberFormatters : /* @__PURE__ */ new Map(), q = m2(A.__meta) ? A.__meta : {};
1492
1492
  F9++;
1493
1493
  const R = {
1494
1494
  version: a,
@@ -1501,20 +1501,20 @@ function DE(e = {}) {
1501
1501
  missing: m,
1502
1502
  missingWarn: d,
1503
1503
  fallbackWarn: h,
1504
- fallbackFormat: b,
1505
- unresolving: L,
1506
- postTranslation: N,
1504
+ fallbackFormat: L,
1505
+ unresolving: _,
1506
+ postTranslation: y,
1507
1507
  processor: V,
1508
- warnHtmlMessage: g,
1509
- escapeParameter: _,
1510
- messageCompiler: M,
1508
+ warnHtmlMessage: M,
1509
+ escapeParameter: b,
1510
+ messageCompiler: g,
1511
1511
  messageResolver: x,
1512
1512
  localeFallbacker: w,
1513
1513
  fallbackContext: C,
1514
1514
  onWarn: c,
1515
1515
  __meta: q
1516
1516
  };
1517
- return R.datetimeFormats = r, R.numberFormats = l, R.__datetimeFormatters = A, R.__numberFormatters = F, process.env.NODE_ENV !== "production" && (R.__v_emitter = y.__v_emitter != null ? y.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && bE(R, a, q), R;
1517
+ return R.datetimeFormats = r, R.numberFormats = l, R.__datetimeFormatters = N, R.__numberFormatters = F, process.env.NODE_ENV !== "production" && (R.__v_emitter = A.__v_emitter != null ? A.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && bE(R, a, q), R;
1518
1518
  }
1519
1519
  function j4(e, c) {
1520
1520
  return e instanceof RegExp ? e.test(c) : e;
@@ -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(),
@@ -1663,30 +1663,30 @@ function FE(e, c) {
1663
1663
  }
1664
1664
  const $9 = () => "", e1 = (e) => V2(e);
1665
1665
  function U9(e, ...c) {
1666
- const { fallbackFormat: a, postTranslation: t, unresolving: n, messageCompiler: i, fallbackLocale: s, messages: r } = e, [l, f] = K6(...c), o = n2(f.missingWarn) ? f.missingWarn : e.missingWarn, m = n2(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, d = n2(f.escapeParameter) ? f.escapeParameter : e.escapeParameter, h = !!f.resolvedMessage, b = $(f.default) || n2(f.default) ? n2(f.default) ? i ? l : () => l : f.default : a ? i ? l : () => l : "", L = a || b !== "", N = _0(e, f);
1666
+ const { fallbackFormat: a, postTranslation: t, unresolving: n, messageCompiler: i, fallbackLocale: s, messages: r } = e, [l, f] = K6(...c), o = n2(f.missingWarn) ? f.missingWarn : e.missingWarn, m = n2(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, d = n2(f.escapeParameter) ? f.escapeParameter : e.escapeParameter, h = !!f.resolvedMessage, L = $(f.default) || n2(f.default) ? n2(f.default) ? i ? l : () => l : f.default : a ? i ? l : () => l : "", _ = a || L !== "", y = _0(e, f);
1667
1667
  d && RE(f);
1668
- let [V, g, _] = h ? [
1668
+ let [V, M, b] = h ? [
1669
1669
  l,
1670
- N,
1671
- r[N] || {}
1672
- ] : Li(e, l, N, s, m, o), M = V, x = l;
1673
- if (!h && !($(M) || E1(M) || e1(M)) && L && (M = b, x = M), !h && (!($(M) || E1(M) || e1(M)) || !$(g)))
1670
+ y,
1671
+ r[y] || {}
1672
+ ] : Li(e, l, y, s, m, o), g = V, x = l;
1673
+ if (!h && !($(g) || E1(g) || e1(g)) && _ && (g = L, x = g), !h && (!($(g) || E1(g) || e1(g)) || !$(M)))
1674
1674
  return n ? B4 : l;
1675
- if (process.env.NODE_ENV !== "production" && $(M) && e.messageCompiler == null)
1675
+ if (process.env.NODE_ENV !== "production" && $(g) && e.messageCompiler == null)
1676
1676
  return E2(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${l}'.`), l;
1677
1677
  let w = !1;
1678
1678
  const C = () => {
1679
1679
  w = !0;
1680
- }, y = e1(M) ? M : _i(e, l, g, M, x, C);
1680
+ }, A = e1(g) ? g : _i(e, l, M, g, x, C);
1681
1681
  if (w)
1682
- return M;
1683
- const A = WE(e, g, _, f), F = HE(A), q = $E(e, y, F), R = t ? t(q, l) : q;
1682
+ return g;
1683
+ const N = WE(e, M, b, f), F = HE(N), q = $E(e, A, F), R = t ? t(q, l) : q;
1684
1684
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
1685
1685
  const j = {
1686
1686
  timestamp: Date.now(),
1687
- key: $(l) ? l : e1(M) ? M.key : "",
1688
- locale: g || (e1(M) ? M.locale : ""),
1689
- format: $(M) ? M : e1(M) ? M.source : "",
1687
+ key: $(l) ? l : e1(g) ? g.key : "",
1688
+ locale: M || (e1(g) ? g.locale : ""),
1689
+ format: $(g) ? g : e1(g) ? g.source : "",
1690
1690
  message: R
1691
1691
  };
1692
1692
  j.meta = P2({}, e.__meta, /* @__PURE__ */ IE() || {}), CE(j);
@@ -1700,33 +1700,33 @@ function RE(e) {
1700
1700
  }
1701
1701
  function Li(e, c, a, t, n, i) {
1702
1702
  const { messages: s, onWarn: r, messageResolver: l, localeFallbacker: f } = e, o = f(e, t, a);
1703
- let m = {}, d, h = null, b = a, L = null;
1704
- const N = "translate";
1703
+ let m = {}, d, h = null, L = a, _ = null;
1704
+ const y = "translate";
1705
1705
  for (let V = 0; V < o.length; V++) {
1706
- if (d = L = o[V], process.env.NODE_ENV !== "production" && a !== d && j4(n, c) && r(Q1(U2.FALLBACK_TO_TRANSLATE, {
1706
+ if (d = _ = o[V], process.env.NODE_ENV !== "production" && a !== d && j4(n, c) && r(Q1(U2.FALLBACK_TO_TRANSLATE, {
1707
1707
  key: c,
1708
1708
  target: d
1709
1709
  })), process.env.NODE_ENV !== "production" && a !== d) {
1710
1710
  const w = e.__v_emitter;
1711
1711
  w && w.emit("fallback", {
1712
- type: N,
1712
+ type: y,
1713
1713
  key: c,
1714
- from: b,
1715
- to: L,
1716
- groupId: `${N}:${c}`
1714
+ from: L,
1715
+ to: _,
1716
+ groupId: `${y}:${c}`
1717
1717
  });
1718
1718
  }
1719
1719
  m = s[d] || {};
1720
- let g = null, _, M;
1721
- if (process.env.NODE_ENV !== "production" && p1 && (g = window.performance.now(), _ = "intlify-message-resolve-start", M = "intlify-message-resolve-end", X2 && X2(_)), (h = l(m, c)) === null && (h = m[c]), process.env.NODE_ENV !== "production" && p1) {
1720
+ let M = null, b, g;
1721
+ if (process.env.NODE_ENV !== "production" && p1 && (M = window.performance.now(), b = "intlify-message-resolve-start", g = "intlify-message-resolve-end", X2 && X2(b)), (h = l(m, c)) === null && (h = m[c]), process.env.NODE_ENV !== "production" && p1) {
1722
1722
  const w = window.performance.now(), C = e.__v_emitter;
1723
- C && g && h && C.emit("message-resolve", {
1723
+ C && M && h && C.emit("message-resolve", {
1724
1724
  type: "message-resolve",
1725
1725
  key: c,
1726
1726
  message: h,
1727
- time: w - g,
1728
- groupId: `${N}:${c}`
1729
- }), _ && M && X2 && Y1 && (X2(M), Y1("intlify message resolve", _, M));
1727
+ time: w - M,
1728
+ groupId: `${y}:${c}`
1729
+ }), b && g && X2 && Y1 && (X2(g), Y1("intlify message resolve", b, g));
1730
1730
  }
1731
1731
  if ($(h) || E1(h) || e1(h))
1732
1732
  break;
@@ -1736,9 +1736,9 @@ function Li(e, c, a, t, n, i) {
1736
1736
  c,
1737
1737
  d,
1738
1738
  i,
1739
- N
1739
+ y
1740
1740
  );
1741
- x !== c && (h = x), b = L;
1741
+ x !== c && (h = x), L = _;
1742
1742
  }
1743
1743
  return [h, d, m];
1744
1744
  }
@@ -1822,19 +1822,19 @@ function WE(e, c, a, t) {
1822
1822
  modifiers: n,
1823
1823
  pluralRules: i,
1824
1824
  messages: (h) => {
1825
- let b = s(a, h);
1826
- if (b == null && o) {
1827
- const [, , L] = Li(o, h, c, r, l, f);
1828
- b = s(L, h);
1825
+ let L = s(a, h);
1826
+ if (L == null && o) {
1827
+ const [, , _] = Li(o, h, c, r, l, f);
1828
+ L = s(_, h);
1829
1829
  }
1830
- if ($(b) || E1(b)) {
1831
- let L = !1;
1832
- const V = _i(e, h, c, b, h, () => {
1833
- L = !0;
1830
+ if ($(L) || E1(L)) {
1831
+ let _ = !1;
1832
+ const V = _i(e, h, c, L, h, () => {
1833
+ _ = !0;
1834
1834
  });
1835
- return L ? $9 : V;
1835
+ return _ ? $9 : V;
1836
1836
  } else
1837
- return e1(b) ? b : $9;
1837
+ return e1(L) ? L : $9;
1838
1838
  }
1839
1839
  };
1840
1840
  return e.processor && (d.processor = e.processor), t.list && (d.list = t.list), t.named && (d.named = t.named), S2(t.plural) && (d.pluralIndex = t.plural), d;
@@ -1847,40 +1847,40 @@ function W9(e, ...c) {
1847
1847
  const { datetimeFormats: a, unresolving: t, fallbackLocale: n, onWarn: i, localeFallbacker: s } = e, { __datetimeFormatters: r } = e;
1848
1848
  if (process.env.NODE_ENV !== "production" && !yi.dateTimeFormat)
1849
1849
  return i(Q1(U2.CANNOT_FORMAT_DATE)), k4;
1850
- const [l, f, o, m] = Z6(...c), d = n2(o.missingWarn) ? o.missingWarn : e.missingWarn, h = n2(o.fallbackWarn) ? o.fallbackWarn : e.fallbackWarn, b = !!o.part, L = _0(e, o), N = s(
1850
+ const [l, f, o, m] = Z6(...c), d = n2(o.missingWarn) ? o.missingWarn : e.missingWarn, h = n2(o.fallbackWarn) ? o.fallbackWarn : e.fallbackWarn, L = !!o.part, _ = _0(e, o), y = s(
1851
1851
  e,
1852
1852
  // eslint-disable-line @typescript-eslint/no-explicit-any
1853
1853
  n,
1854
- L
1854
+ _
1855
1855
  );
1856
1856
  if (!$(l) || l === "")
1857
- return new Intl.DateTimeFormat(L, m).format(f);
1858
- let V = {}, g, _ = null, M = L, x = null;
1857
+ return new Intl.DateTimeFormat(_, m).format(f);
1858
+ let V = {}, M, b = null, g = _, x = null;
1859
1859
  const w = "datetime format";
1860
- for (let A = 0; A < N.length; A++) {
1861
- if (g = x = N[A], process.env.NODE_ENV !== "production" && L !== g && j4(h, l) && i(Q1(U2.FALLBACK_TO_DATE_FORMAT, {
1860
+ for (let N = 0; N < y.length; N++) {
1861
+ if (M = x = y[N], process.env.NODE_ENV !== "production" && _ !== M && j4(h, l) && i(Q1(U2.FALLBACK_TO_DATE_FORMAT, {
1862
1862
  key: l,
1863
- target: g
1864
- })), process.env.NODE_ENV !== "production" && L !== g) {
1863
+ target: M
1864
+ })), process.env.NODE_ENV !== "production" && _ !== M) {
1865
1865
  const F = e.__v_emitter;
1866
1866
  F && F.emit("fallback", {
1867
1867
  type: w,
1868
1868
  key: l,
1869
- from: M,
1869
+ from: g,
1870
1870
  to: x,
1871
1871
  groupId: `${w}:${l}`
1872
1872
  });
1873
1873
  }
1874
- if (V = a[g] || {}, _ = V[l], c2(_))
1874
+ if (V = a[M] || {}, b = V[l], c2(b))
1875
1875
  break;
1876
- y0(e, l, g, d, w), M = x;
1876
+ y0(e, l, M, d, w), g = x;
1877
1877
  }
1878
- if (!c2(_) || !$(g))
1878
+ if (!c2(b) || !$(M))
1879
1879
  return t ? B4 : l;
1880
- let C = `${g}__${l}`;
1880
+ let C = `${M}__${l}`;
1881
1881
  P4(m) || (C = `${C}__${JSON.stringify(m)}`);
1882
- let y = r.get(C);
1883
- return y || (y = new Intl.DateTimeFormat(g, P2({}, _, m)), r.set(C, y)), b ? y.formatToParts(f) : y.format(f);
1882
+ let A = r.get(C);
1883
+ return A || (A = new Intl.DateTimeFormat(M, P2({}, b, m)), r.set(C, A)), L ? A.formatToParts(f) : A.format(f);
1884
1884
  }
1885
1885
  const Ai = [
1886
1886
  "localeMatcher",
@@ -1941,40 +1941,40 @@ function Y9(e, ...c) {
1941
1941
  const { numberFormats: a, unresolving: t, fallbackLocale: n, onWarn: i, localeFallbacker: s } = e, { __numberFormatters: r } = e;
1942
1942
  if (process.env.NODE_ENV !== "production" && !yi.numberFormat)
1943
1943
  return i(Q1(U2.CANNOT_FORMAT_NUMBER)), k4;
1944
- const [l, f, o, m] = J6(...c), d = n2(o.missingWarn) ? o.missingWarn : e.missingWarn, h = n2(o.fallbackWarn) ? o.fallbackWarn : e.fallbackWarn, b = !!o.part, L = _0(e, o), N = s(
1944
+ const [l, f, o, m] = J6(...c), d = n2(o.missingWarn) ? o.missingWarn : e.missingWarn, h = n2(o.fallbackWarn) ? o.fallbackWarn : e.fallbackWarn, L = !!o.part, _ = _0(e, o), y = s(
1945
1945
  e,
1946
1946
  // eslint-disable-line @typescript-eslint/no-explicit-any
1947
1947
  n,
1948
- L
1948
+ _
1949
1949
  );
1950
1950
  if (!$(l) || l === "")
1951
- return new Intl.NumberFormat(L, m).format(f);
1952
- let V = {}, g, _ = null, M = L, x = null;
1951
+ return new Intl.NumberFormat(_, m).format(f);
1952
+ let V = {}, M, b = null, g = _, x = null;
1953
1953
  const w = "number format";
1954
- for (let A = 0; A < N.length; A++) {
1955
- if (g = x = N[A], process.env.NODE_ENV !== "production" && L !== g && j4(h, l) && i(Q1(U2.FALLBACK_TO_NUMBER_FORMAT, {
1954
+ for (let N = 0; N < y.length; N++) {
1955
+ if (M = x = y[N], process.env.NODE_ENV !== "production" && _ !== M && j4(h, l) && i(Q1(U2.FALLBACK_TO_NUMBER_FORMAT, {
1956
1956
  key: l,
1957
- target: g
1958
- })), process.env.NODE_ENV !== "production" && L !== g) {
1957
+ target: M
1958
+ })), process.env.NODE_ENV !== "production" && _ !== M) {
1959
1959
  const F = e.__v_emitter;
1960
1960
  F && F.emit("fallback", {
1961
1961
  type: w,
1962
1962
  key: l,
1963
- from: M,
1963
+ from: g,
1964
1964
  to: x,
1965
1965
  groupId: `${w}:${l}`
1966
1966
  });
1967
1967
  }
1968
- if (V = a[g] || {}, _ = V[l], c2(_))
1968
+ if (V = a[M] || {}, b = V[l], c2(b))
1969
1969
  break;
1970
- y0(e, l, g, d, w), M = x;
1970
+ y0(e, l, M, d, w), g = x;
1971
1971
  }
1972
- if (!c2(_) || !$(g))
1972
+ if (!c2(b) || !$(M))
1973
1973
  return t ? B4 : l;
1974
- let C = `${g}__${l}`;
1974
+ let C = `${M}__${l}`;
1975
1975
  P4(m) || (C = `${C}__${JSON.stringify(m)}`);
1976
- let y = r.get(C);
1977
- return y || (y = new Intl.NumberFormat(g, P2({}, _, m)), r.set(C, y)), b ? y.formatToParts(f) : y.format(f);
1976
+ let A = r.get(C);
1977
+ return A || (A = new Intl.NumberFormat(M, P2({}, b, m)), r.set(C, A)), L ? A.formatToParts(f) : A.format(f);
1978
1978
  }
1979
1979
  const Ni = [
1980
1980
  "localeMatcher",
@@ -2268,14 +2268,14 @@ 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]: {} });
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;
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
+ 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, L = a ? a.fallbackRoot : n2(e.fallbackRoot) ? e.fallbackRoot : !0, _ = !!e.fallbackFormat, y = V2(e.missing) ? e.missing : null, V = V2(e.missing) ? en(e.missing) : null, M = V2(e.postTranslation) ? e.postTranslation : null, b = a ? a.warnHtmlMessage : n2(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, g = !!e.escapeParameter;
2279
2279
  const x = a ? a.modifiers : c2(e.modifiers) ? e.modifiers : {};
2280
2280
  let w = e.pluralRules || a && a.pluralRules, C;
2281
2281
  C = (() => {
@@ -2290,11 +2290,11 @@ function A0(e = {}, c) {
2290
2290
  missing: V === null ? void 0 : V,
2291
2291
  missingWarn: d,
2292
2292
  fallbackWarn: h,
2293
- fallbackFormat: L,
2293
+ fallbackFormat: _,
2294
2294
  unresolving: !0,
2295
- postTranslation: g === null ? void 0 : g,
2296
- warnHtmlMessage: _,
2297
- escapeParameter: M,
2295
+ postTranslation: M === null ? void 0 : M,
2296
+ warnHtmlMessage: b,
2297
+ escapeParameter: g,
2298
2298
  messageResolver: e.messageResolver,
2299
2299
  messageCompiler: e.messageCompiler,
2300
2300
  __meta: { framework: "vue" }
@@ -2303,7 +2303,7 @@ function A0(e = {}, c) {
2303
2303
  const P = DE(T);
2304
2304
  return n && j9(P), P;
2305
2305
  })(), C3(C, r.value, l.value);
2306
- function A() {
2306
+ function N() {
2307
2307
  return [
2308
2308
  r.value,
2309
2309
  l.value,
@@ -2324,22 +2324,22 @@ function A0(e = {}, c) {
2324
2324
  }
2325
2325
  }), R = E(() => f.value), j = /* @__PURE__ */ E(() => o.value), r2 = /* @__PURE__ */ E(() => m.value);
2326
2326
  function l2() {
2327
- return V2(g) ? g : null;
2327
+ return V2(M) ? M : null;
2328
2328
  }
2329
2329
  function a2(T) {
2330
- g = T, C.postTranslation = T;
2330
+ M = T, C.postTranslation = T;
2331
2331
  }
2332
2332
  function h2() {
2333
- return N;
2333
+ return y;
2334
2334
  }
2335
2335
  function F2(T) {
2336
- T !== null && (V = en(T)), N = T, C.missing = V;
2336
+ T !== null && (V = en(T)), y = T, C.missing = V;
2337
2337
  }
2338
2338
  function b2(T, P) {
2339
2339
  return T !== "translate" || !P.resolvedMessage;
2340
2340
  }
2341
2341
  const v2 = (T, P, o2, _2, R1, v4) => {
2342
- A();
2342
+ N();
2343
2343
  let c3;
2344
2344
  try {
2345
2345
  process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, n || (C.fallbackContext = a ? EE() : void 0), c3 = T(C);
@@ -2349,19 +2349,19 @@ function A0(e = {}, c) {
2349
2349
  if (o2 !== "translate exists" && // for not `te` (e.g `t`)
2350
2350
  S2(c3) && c3 === B4 || o2 === "translate exists" && !c3) {
2351
2351
  const [$1, sI] = P();
2352
- if (process.env.NODE_ENV !== "production" && a && $($1) && b2(o2, sI) && (b && (j4(h, $1) || gi(d, $1)) && E2(Q2(N2.FALLBACK_TO_ROOT, {
2352
+ if (process.env.NODE_ENV !== "production" && a && $($1) && b2(o2, sI) && (L && (j4(h, $1) || gi(d, $1)) && E2(Q2(N2.FALLBACK_TO_ROOT, {
2353
2353
  key: $1,
2354
2354
  type: o2
2355
2355
  })), process.env.NODE_ENV !== "production")) {
2356
2356
  const { __v_emitter: L9 } = C;
2357
- L9 && b && L9.emit("fallback", {
2357
+ L9 && L && L9.emit("fallback", {
2358
2358
  type: o2,
2359
2359
  key: $1,
2360
2360
  to: "global",
2361
2361
  groupId: `${o2}:${$1}`
2362
2362
  });
2363
2363
  }
2364
- return a && b ? _2(a) : R1($1);
2364
+ return a && L ? _2(a) : R1($1);
2365
2365
  } else {
2366
2366
  if (v4(c3))
2367
2367
  return c3;
@@ -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)
@@ -2538,33 +2538,33 @@ function A0(e = {}, c) {
2538
2538
  h = T, C.fallbackWarn = h;
2539
2539
  },
2540
2540
  get fallbackRoot() {
2541
- return b;
2541
+ return L;
2542
2542
  },
2543
2543
  set fallbackRoot(T) {
2544
- b = T;
2544
+ L = T;
2545
2545
  },
2546
2546
  get fallbackFormat() {
2547
- return L;
2547
+ return _;
2548
2548
  },
2549
2549
  set fallbackFormat(T) {
2550
- L = T, C.fallbackFormat = L;
2550
+ _ = T, C.fallbackFormat = _;
2551
2551
  },
2552
2552
  get warnHtmlMessage() {
2553
- return _;
2553
+ return b;
2554
2554
  },
2555
2555
  set warnHtmlMessage(T) {
2556
- _ = T, C.warnHtmlMessage = T;
2556
+ b = T, C.warnHtmlMessage = T;
2557
2557
  },
2558
2558
  get escapeParameter() {
2559
- return M;
2559
+ return g;
2560
2560
  },
2561
2561
  set escapeParameter(T) {
2562
- M = T, C.escapeParameter = T;
2562
+ g = T, C.escapeParameter = T;
2563
2563
  },
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,
@@ -2580,22 +2580,22 @@ function A0(e = {}, c) {
2580
2580
  function rD(e) {
2581
2581
  const c = $(e.locale) ? e.locale : f3, a = $(e.fallbackLocale) || p2(e.fallbackLocale) || c2(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : c, t = V2(e.missing) ? e.missing : void 0, n = n2(e.silentTranslationWarn) || I1(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, i = n2(e.silentFallbackWarn) || I1(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, s = n2(e.fallbackRoot) ? e.fallbackRoot : !0, r = !!e.formatFallbackMessages, l = c2(e.modifiers) ? e.modifiers : {}, f = e.pluralizationRules, o = V2(e.postTranslation) ? e.postTranslation : void 0, m = $(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, d = !!e.escapeParameterHtml, h = n2(e.sync) ? e.sync : !0;
2582
2582
  process.env.NODE_ENV !== "production" && e.formatter && E2(Q2(N2.NOT_SUPPORTED_FORMATTER)), process.env.NODE_ENV !== "production" && e.preserveDirectiveContent && E2(Q2(N2.NOT_SUPPORTED_PRESERVE_DIRECTIVE));
2583
- let b = e.messages;
2583
+ let L = e.messages;
2584
2584
  if (c2(e.sharedMessages)) {
2585
2585
  const x = e.sharedMessages;
2586
- b = Object.keys(x).reduce((C, y) => {
2587
- const A = C[y] || (C[y] = {});
2588
- return P2(A, x[y]), C;
2589
- }, b || {});
2586
+ L = Object.keys(x).reduce((C, A) => {
2587
+ const N = C[A] || (C[A] = {});
2588
+ return P2(N, x[A]), C;
2589
+ }, L || {});
2590
2590
  }
2591
- const { __i18n: L, __root: N, __injectWithOption: V } = e, g = e.datetimeFormats, _ = e.numberFormats, M = e.flatJson;
2591
+ const { __i18n: _, __root: y, __injectWithOption: V } = e, M = e.datetimeFormats, b = e.numberFormats, g = e.flatJson;
2592
2592
  return {
2593
2593
  locale: c,
2594
2594
  fallbackLocale: a,
2595
- messages: b,
2596
- flatJson: M,
2597
- datetimeFormats: g,
2598
- numberFormats: _,
2595
+ messages: L,
2596
+ flatJson: g,
2597
+ datetimeFormats: M,
2598
+ numberFormats: b,
2599
2599
  missing: t,
2600
2600
  missingWarn: n,
2601
2601
  fallbackWarn: i,
@@ -2608,8 +2608,8 @@ function rD(e) {
2608
2608
  escapeParameter: d,
2609
2609
  messageResolver: e.messageResolver,
2610
2610
  inheritLocale: h,
2611
- __i18n: L,
2612
- __root: N,
2611
+ __i18n: _,
2612
+ __root: y,
2613
2613
  __injectWithOption: V
2614
2614
  };
2615
2615
  }
@@ -2900,8 +2900,8 @@ function Oi(e, c, a, t) {
2900
2900
  const l = t(e.value, s, r);
2901
2901
  let f = [s.key];
2902
2902
  p2(l) ? f = l.map((d, h) => {
2903
- const b = n[d.type], L = b ? b({ [d.type]: d.value, index: h, parts: l }) : [d.value];
2904
- return fD(L) && (L[0].key = `${d.type}-${h}`), L;
2903
+ const L = n[d.type], _ = L ? L({ [d.type]: d.value, index: h, parts: l }) : [d.value];
2904
+ return fD(_) && (_[0].key = `${d.type}-${h}`), _;
2905
2905
  }) : $(l) && (f = [l]);
2906
2906
  const o = P2({}, i), m = $(e.tag) || m2(e.tag) ? e.tag : Di();
2907
2907
  return M1(m, o, f);
@@ -3379,28 +3379,28 @@ function SD(e = {}, c) {
3379
3379
  return n;
3380
3380
  },
3381
3381
  // install plugin
3382
- async install(h, ...b) {
3383
- if (process.env.NODE_ENV !== "production" && (h.__VUE_I18N__ = d), h.__VUE_I18N_SYMBOL__ = l, h.provide(h.__VUE_I18N_SYMBOL__, d), c2(b[0])) {
3384
- const V = b[0];
3382
+ async install(h, ...L) {
3383
+ if (process.env.NODE_ENV !== "production" && (h.__VUE_I18N__ = d), h.__VUE_I18N_SYMBOL__ = l, h.provide(h.__VUE_I18N_SYMBOL__, d), c2(L[0])) {
3384
+ const V = L[0];
3385
3385
  d.__composerExtend = V.__composerExtend, d.__vueI18nExtend = V.__vueI18nExtend;
3386
3386
  }
3387
- let L = null;
3388
- !a && t && (L = FD(h, d.global)), __VUE_I18N_FULL_INSTALL__ && pD(h, d, ...b), __VUE_I18N_LEGACY_API__ && a && h.mixin(xD(r, r.__composer, d));
3389
- const N = h.unmount;
3387
+ let _ = null;
3388
+ !a && t && (_ = FD(h, d.global)), __VUE_I18N_FULL_INSTALL__ && pD(h, d, ...L), __VUE_I18N_LEGACY_API__ && a && h.mixin(xD(r, r.__composer, d));
3389
+ const y = h.unmount;
3390
3390
  if (h.unmount = () => {
3391
- L && L(), d.dispose(), N();
3391
+ _ && _(), d.dispose(), y();
3392
3392
  }, process.env.NODE_ENV !== "production") {
3393
3393
  if (!await zD(h, d))
3394
3394
  throw w2(f2.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
3395
- const g = C0();
3395
+ const M = C0();
3396
3396
  if (a) {
3397
- const _ = r;
3398
- _.__enableEmitter && _.__enableEmitter(g);
3397
+ const b = r;
3398
+ b.__enableEmitter && b.__enableEmitter(M);
3399
3399
  } else {
3400
- const _ = r;
3401
- _[X1] && _[X1](g);
3400
+ const b = r;
3401
+ b[X1] && b[X1](M);
3402
3402
  }
3403
- g.on("*", O3);
3403
+ M.on("*", O3);
3404
3404
  }
3405
3405
  },
3406
3406
  // global accessor
@@ -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, L = n ? a.fallbackRoot : n2(t.fallbackRoot) ? t.fallbackRoot : !0, _ = !!t.fallbackFormat, y = V2(t.missing) ? t.missing : null, V = V2(t.postTranslation) ? t.postTranslation : null, M = n ? a.warnHtmlMessage : n2(t.warnHtmlMessage) ? t.warnHtmlMessage : !0, b = !!t.escapeParameter, g = 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,
@@ -3532,12 +3532,12 @@ function BD(e, c, a, t = {}) {
3532
3532
  set: (v) => {
3533
3533
  i.value && (i.value.locale.value = v), r.value = v;
3534
3534
  }
3535
- }), y = E({
3535
+ }), A = E({
3536
3536
  get: () => i.value ? i.value.fallbackLocale.value : l.value,
3537
3537
  set: (v) => {
3538
3538
  i.value && (i.value.fallbackLocale.value = v), l.value = v;
3539
3539
  }
3540
- }), A = E(() => i.value ? i.value.messages.value : f.value), F = E(() => o.value), q = E(() => m.value);
3540
+ }), N = E(() => i.value ? i.value.messages.value : f.value), F = E(() => o.value), q = E(() => m.value);
3541
3541
  function R() {
3542
3542
  return i.value ? i.value.getPostTranslationHandler() : V;
3543
3543
  }
@@ -3545,7 +3545,7 @@ function BD(e, c, a, t = {}) {
3545
3545
  i.value && i.value.setPostTranslationHandler(v);
3546
3546
  }
3547
3547
  function r2() {
3548
- return i.value ? i.value.getMissingHandler() : N;
3548
+ return i.value ? i.value.getMissingHandler() : y;
3549
3549
  }
3550
3550
  function l2(v) {
3551
3551
  i.value && i.value.setMissingHandler(v);
@@ -3603,8 +3603,8 @@ function BD(e, c, a, t = {}) {
3603
3603
  return i.value ? i.value.id : -1;
3604
3604
  },
3605
3605
  locale: C,
3606
- fallbackLocale: y,
3607
- messages: A,
3606
+ fallbackLocale: A,
3607
+ messages: N,
3608
3608
  datetimeFormats: F,
3609
3609
  numberFormats: q,
3610
3610
  get inheritLocale() {
@@ -3617,7 +3617,7 @@ function BD(e, c, a, t = {}) {
3617
3617
  return i.value ? i.value.availableLocales : Object.keys(f.value);
3618
3618
  },
3619
3619
  get modifiers() {
3620
- return i.value ? i.value.modifiers : M;
3620
+ return i.value ? i.value.modifiers : g;
3621
3621
  },
3622
3622
  get pluralRules() {
3623
3623
  return i.value ? i.value.pluralRules : x;
@@ -3638,25 +3638,25 @@ function BD(e, c, a, t = {}) {
3638
3638
  i.value && (i.value.missingWarn = v);
3639
3639
  },
3640
3640
  get fallbackRoot() {
3641
- return i.value ? i.value.fallbackRoot : b;
3641
+ return i.value ? i.value.fallbackRoot : L;
3642
3642
  },
3643
3643
  set fallbackRoot(v) {
3644
3644
  i.value && (i.value.fallbackRoot = v);
3645
3645
  },
3646
3646
  get fallbackFormat() {
3647
- return i.value ? i.value.fallbackFormat : L;
3647
+ return i.value ? i.value.fallbackFormat : _;
3648
3648
  },
3649
3649
  set fallbackFormat(v) {
3650
3650
  i.value && (i.value.fallbackFormat = v);
3651
3651
  },
3652
3652
  get warnHtmlMessage() {
3653
- return i.value ? i.value.warnHtmlMessage : g;
3653
+ return i.value ? i.value.warnHtmlMessage : M;
3654
3654
  },
3655
3655
  set warnHtmlMessage(v) {
3656
3656
  i.value && (i.value.warnHtmlMessage = v);
3657
3657
  },
3658
3658
  get escapeParameter() {
3659
- return i.value ? i.value.escapeParameter : _;
3659
+ return i.value ? i.value.escapeParameter : b;
3660
3660
  },
3661
3661
  set escapeParameter(v) {
3662
3662
  i.value && (i.value.escapeParameter = v);
@@ -3688,7 +3688,7 @@ function BD(e, c, a, t = {}) {
3688
3688
  v.mergeDateTimeFormat(S, o.value[S]);
3689
3689
  }), Object.keys(m.value).forEach((S) => {
3690
3690
  v.mergeNumberFormat(S, m.value[S]);
3691
- }), v.escapeParameter = _, v.fallbackFormat = L, v.fallbackRoot = b, v.fallbackWarn = h, v.missingWarn = d, v.warnHtmlMessage = g;
3691
+ }), v.escapeParameter = b, v.fallbackFormat = _, v.fallbackRoot = L, v.fallbackWarn = h, v.missingWarn = d, v.warnHtmlMessage = M;
3692
3692
  }
3693
3693
  return oI(() => {
3694
3694
  if (e.proxy == null || e.proxy.$i18n == null)
@@ -5866,8 +5866,8 @@ var MO = function(c, a) {
5866
5866
  function bO(e) {
5867
5867
  var c, a = e.state, t = e.name, n = e.options, i = a.elements.arrow, s = a.modifiersData.popperOffsets, r = v1(a.placement), l = I0(r), f = [G2, n1].indexOf(r) >= 0, o = f ? "height" : "width";
5868
5868
  if (!(!i || !s)) {
5869
- var m = MO(n.padding, a), d = T0(i), h = l === "y" ? W2 : G2, b = l === "y" ? t1 : n1, L = a.rects.reference[o] + a.rects.reference[l] - s[l] - a.rects.popper[o], N = s[l] - a.rects.reference[l], V = W3(i), g = V ? l === "y" ? V.clientHeight || 0 : V.clientWidth || 0 : 0, _ = L / 2 - N / 2, M = m[h], x = g - d[o] - m[b], w = g / 2 - d[o] / 2 + _, C = N3(M, w, x), y = l;
5870
- a.modifiersData[t] = (c = {}, c[y] = C, c.centerOffset = C - w, c);
5869
+ var m = MO(n.padding, a), d = T0(i), h = l === "y" ? W2 : G2, L = l === "y" ? t1 : n1, _ = a.rects.reference[o] + a.rects.reference[l] - s[l] - a.rects.popper[o], y = s[l] - a.rects.reference[l], V = W3(i), M = V ? l === "y" ? V.clientHeight || 0 : V.clientWidth || 0 : 0, b = _ / 2 - y / 2, g = m[h], x = M - d[o] - m[L], w = M / 2 - d[o] / 2 + b, C = N3(g, w, x), A = l;
5870
+ a.modifiersData[t] = (c = {}, c[A] = C, c.centerOffset = C - w, c);
5871
5871
  }
5872
5872
  }
5873
5873
  function CO(e) {
@@ -5900,30 +5900,30 @@ function yO(e, c) {
5900
5900
  };
5901
5901
  }
5902
5902
  function mn(e) {
5903
- var c, a = e.popper, t = e.popperRect, n = e.placement, i = e.variation, s = e.offsets, r = e.position, l = e.gpuAcceleration, f = e.adaptive, o = e.roundOffsets, m = e.isFixed, d = s.x, h = d === void 0 ? 0 : d, b = s.y, L = b === void 0 ? 0 : b, N = typeof o == "function" ? o({
5903
+ var c, a = e.popper, t = e.popperRect, n = e.placement, i = e.variation, s = e.offsets, r = e.position, l = e.gpuAcceleration, f = e.adaptive, o = e.roundOffsets, m = e.isFixed, d = s.x, h = d === void 0 ? 0 : d, L = s.y, _ = L === void 0 ? 0 : L, y = typeof o == "function" ? o({
5904
5904
  x: h,
5905
- y: L
5905
+ y: _
5906
5906
  }) : {
5907
5907
  x: h,
5908
- y: L
5908
+ y: _
5909
5909
  };
5910
- h = N.x, L = N.y;
5911
- var V = s.hasOwnProperty("x"), g = s.hasOwnProperty("y"), _ = G2, M = W2, x = window;
5910
+ h = y.x, _ = y.y;
5911
+ var V = s.hasOwnProperty("x"), M = s.hasOwnProperty("y"), b = G2, g = W2, x = window;
5912
5912
  if (f) {
5913
- var w = W3(a), C = "clientHeight", y = "clientWidth";
5914
- if (w === K2(a) && (w = j1(a), C1(w).position !== "static" && r === "absolute" && (C = "scrollHeight", y = "scrollWidth")), w = w, n === W2 || (n === G2 || n === n1) && i === P3) {
5915
- M = t1;
5916
- var A = m && w === x && x.visualViewport ? x.visualViewport.height : (
5913
+ var w = W3(a), C = "clientHeight", A = "clientWidth";
5914
+ if (w === K2(a) && (w = j1(a), C1(w).position !== "static" && r === "absolute" && (C = "scrollHeight", A = "scrollWidth")), w = w, n === W2 || (n === G2 || n === n1) && i === P3) {
5915
+ g = t1;
5916
+ var N = m && w === x && x.visualViewport ? x.visualViewport.height : (
5917
5917
  // $FlowFixMe[prop-missing]
5918
5918
  w[C]
5919
5919
  );
5920
- L -= A - t.height, L *= l ? 1 : -1;
5920
+ _ -= N - t.height, _ *= l ? 1 : -1;
5921
5921
  }
5922
5922
  if (n === G2 || (n === W2 || n === t1) && i === P3) {
5923
- _ = n1;
5923
+ b = n1;
5924
5924
  var F = m && w === x && x.visualViewport ? x.visualViewport.width : (
5925
5925
  // $FlowFixMe[prop-missing]
5926
- w[y]
5926
+ w[A]
5927
5927
  );
5928
5928
  h -= F - t.width, h *= l ? 1 : -1;
5929
5929
  }
@@ -5932,16 +5932,16 @@ function mn(e) {
5932
5932
  position: r
5933
5933
  }, f && _O), R = o === !0 ? yO({
5934
5934
  x: h,
5935
- y: L
5935
+ y: _
5936
5936
  }, K2(a)) : {
5937
5937
  x: h,
5938
- y: L
5938
+ y: _
5939
5939
  };
5940
- if (h = R.x, L = R.y, l) {
5940
+ if (h = R.x, _ = R.y, l) {
5941
5941
  var j;
5942
- return Object.assign({}, q, (j = {}, j[M] = g ? "0" : "", j[_] = V ? "0" : "", j.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + L + "px)" : "translate3d(" + h + "px, " + L + "px, 0)", j));
5942
+ return Object.assign({}, q, (j = {}, j[g] = M ? "0" : "", j[b] = V ? "0" : "", j.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + _ + "px)" : "translate3d(" + h + "px, " + _ + "px, 0)", j));
5943
5943
  }
5944
- return Object.assign({}, q, (c = {}, c[M] = g ? L + "px" : "", c[_] = V ? h + "px" : "", c.transform = "", c));
5944
+ return Object.assign({}, q, (c = {}, c[g] = M ? _ + "px" : "", c[b] = V ? h + "px" : "", c.transform = "", c));
5945
5945
  }
5946
5946
  function AO(e) {
5947
5947
  var c = e.state, a = e.options, t = a.gpuAcceleration, n = t === void 0 ? !0 : t, i = a.adaptive, s = i === void 0 ? !0 : i, r = a.roundOffsets, l = r === void 0 ? !0 : r, f = {
@@ -6141,16 +6141,16 @@ function Xi(e) {
6141
6141
  }
6142
6142
  function B3(e, c) {
6143
6143
  c === void 0 && (c = {});
6144
- var a = c, t = a.placement, n = t === void 0 ? e.placement : t, i = a.strategy, s = i === void 0 ? e.strategy : i, r = a.boundary, l = r === void 0 ? tO : r, f = a.rootBoundary, o = f === void 0 ? Ri : f, m = a.elementContext, d = m === void 0 ? L3 : m, h = a.altBoundary, b = h === void 0 ? !1 : h, L = a.padding, N = L === void 0 ? 0 : L, V = Gi(typeof N != "number" ? N : Yi(N, q3)), g = d === L3 ? nO : L3, _ = e.rects.popper, M = e.elements[b ? g : d], x = OO(K1(M) ? M : M.contextElement || j1(e.elements.popper), l, o, s), w = d3(e.elements.reference), C = Xi({
6144
+ var a = c, t = a.placement, n = t === void 0 ? e.placement : t, i = a.strategy, s = i === void 0 ? e.strategy : i, r = a.boundary, l = r === void 0 ? tO : r, f = a.rootBoundary, o = f === void 0 ? Ri : f, m = a.elementContext, d = m === void 0 ? L3 : m, h = a.altBoundary, L = h === void 0 ? !1 : h, _ = a.padding, y = _ === void 0 ? 0 : _, V = Gi(typeof y != "number" ? y : Yi(y, q3)), M = d === L3 ? nO : L3, b = e.rects.popper, g = e.elements[L ? M : d], x = OO(K1(g) ? g : g.contextElement || j1(e.elements.popper), l, o, s), w = d3(e.elements.reference), C = Xi({
6145
6145
  reference: w,
6146
- element: _,
6146
+ element: b,
6147
6147
  strategy: "absolute",
6148
6148
  placement: n
6149
- }), y = l0(Object.assign({}, _, C)), A = d === L3 ? y : w, F = {
6150
- top: x.top - A.top + V.top,
6151
- bottom: A.bottom - x.bottom + V.bottom,
6152
- left: x.left - A.left + V.left,
6153
- right: A.right - x.right + V.right
6149
+ }), A = l0(Object.assign({}, b, C)), N = d === L3 ? A : w, F = {
6150
+ top: x.top - N.top + V.top,
6151
+ bottom: N.bottom - x.bottom + V.bottom,
6152
+ left: x.left - N.left + V.left,
6153
+ right: N.right - x.right + V.right
6154
6154
  }, q = e.modifiersData.offset;
6155
6155
  if (d === L3 && q) {
6156
6156
  var R = q[n];
@@ -6163,22 +6163,22 @@ function B3(e, c) {
6163
6163
  }
6164
6164
  function PO(e, c) {
6165
6165
  c === void 0 && (c = {});
6166
- var a = c, t = a.placement, n = a.boundary, i = a.rootBoundary, s = a.padding, r = a.flipVariations, l = a.allowedAutoPlacements, f = l === void 0 ? $i : l, o = v3(t), m = o ? r ? fn : fn.filter(function(b) {
6167
- return v3(b) === o;
6168
- }) : q3, d = m.filter(function(b) {
6169
- return f.indexOf(b) >= 0;
6166
+ var a = c, t = a.placement, n = a.boundary, i = a.rootBoundary, s = a.padding, r = a.flipVariations, l = a.allowedAutoPlacements, f = l === void 0 ? $i : l, o = v3(t), m = o ? r ? fn : fn.filter(function(L) {
6167
+ return v3(L) === o;
6168
+ }) : q3, d = m.filter(function(L) {
6169
+ return f.indexOf(L) >= 0;
6170
6170
  });
6171
6171
  d.length === 0 && (d = m);
6172
- var h = d.reduce(function(b, L) {
6173
- return b[L] = B3(e, {
6174
- placement: L,
6172
+ var h = d.reduce(function(L, _) {
6173
+ return L[_] = B3(e, {
6174
+ placement: _,
6175
6175
  boundary: n,
6176
6176
  rootBoundary: i,
6177
6177
  padding: s
6178
- })[v1(L)], b;
6178
+ })[v1(_)], L;
6179
6179
  }, {});
6180
- return Object.keys(h).sort(function(b, L) {
6181
- return h[b] - h[L];
6180
+ return Object.keys(h).sort(function(L, _) {
6181
+ return h[L] - h[_];
6182
6182
  });
6183
6183
  }
6184
6184
  function BO(e) {
@@ -6190,17 +6190,17 @@ function BO(e) {
6190
6190
  function jO(e) {
6191
6191
  var c = e.state, a = e.options, t = e.name;
6192
6192
  if (!c.modifiersData[t]._skip) {
6193
- for (var n = a.mainAxis, i = n === void 0 ? !0 : n, s = a.altAxis, r = s === void 0 ? !0 : s, l = a.fallbackPlacements, f = a.padding, o = a.boundary, m = a.rootBoundary, d = a.altBoundary, h = a.flipVariations, b = h === void 0 ? !0 : h, L = a.allowedAutoPlacements, N = c.options.placement, V = v1(N), g = V === N, _ = l || (g || !b ? [A4(N)] : BO(N)), M = [N].concat(_).reduce(function(I2, j2) {
6193
+ for (var n = a.mainAxis, i = n === void 0 ? !0 : n, s = a.altAxis, r = s === void 0 ? !0 : s, l = a.fallbackPlacements, f = a.padding, o = a.boundary, m = a.rootBoundary, d = a.altBoundary, h = a.flipVariations, L = h === void 0 ? !0 : h, _ = a.allowedAutoPlacements, y = c.options.placement, V = v1(y), M = V === y, b = l || (M || !L ? [A4(y)] : BO(y)), g = [y].concat(b).reduce(function(I2, j2) {
6194
6194
  return I2.concat(v1(j2) === S0 ? PO(c, {
6195
6195
  placement: j2,
6196
6196
  boundary: o,
6197
6197
  rootBoundary: m,
6198
6198
  padding: f,
6199
- flipVariations: b,
6200
- allowedAutoPlacements: L
6199
+ flipVariations: L,
6200
+ allowedAutoPlacements: _
6201
6201
  }) : j2);
6202
- }, []), x = c.rects.reference, w = c.rects.popper, C = /* @__PURE__ */ new Map(), y = !0, A = M[0], F = 0; F < M.length; F++) {
6203
- var q = M[F], R = v1(q), j = v3(q) === u3, r2 = [W2, t1].indexOf(R) >= 0, l2 = r2 ? "width" : "height", a2 = B3(c, {
6202
+ }, []), x = c.rects.reference, w = c.rects.popper, C = /* @__PURE__ */ new Map(), A = !0, N = g[0], F = 0; F < g.length; F++) {
6203
+ var q = g[F], R = v1(q), j = v3(q) === u3, r2 = [W2, t1].indexOf(R) >= 0, l2 = r2 ? "width" : "height", a2 = B3(c, {
6204
6204
  placement: q,
6205
6205
  boundary: o,
6206
6206
  rootBoundary: m,
@@ -6212,14 +6212,14 @@ function jO(e) {
6212
6212
  if (i && b2.push(a2[R] <= 0), r && b2.push(a2[h2] <= 0, a2[F2] <= 0), b2.every(function(I2) {
6213
6213
  return I2;
6214
6214
  })) {
6215
- A = q, y = !1;
6215
+ N = q, A = !1;
6216
6216
  break;
6217
6217
  }
6218
6218
  C.set(q, b2);
6219
6219
  }
6220
- if (y)
6221
- for (var v2 = b ? 3 : 1, A2 = function(j2) {
6222
- var o1 = M.find(function(f1) {
6220
+ if (A)
6221
+ for (var v2 = L ? 3 : 1, A2 = function(j2) {
6222
+ var o1 = g.find(function(f1) {
6223
6223
  var R2 = C.get(f1);
6224
6224
  if (R2)
6225
6225
  return R2.slice(0, j2).every(function(i1) {
@@ -6227,13 +6227,13 @@ function jO(e) {
6227
6227
  });
6228
6228
  });
6229
6229
  if (o1)
6230
- return A = o1, "break";
6230
+ return N = o1, "break";
6231
6231
  }, k2 = v2; k2 > 0; k2--) {
6232
6232
  var C2 = A2(k2);
6233
6233
  if (C2 === "break")
6234
6234
  break;
6235
6235
  }
6236
- c.placement !== A && (c.modifiersData[t]._skip = !0, c.placement = A, c.reset = !0);
6236
+ c.placement !== N && (c.modifiersData[t]._skip = !0, c.placement = N, c.reset = !0);
6237
6237
  }
6238
6238
  }
6239
6239
  const FO = {
@@ -6330,33 +6330,33 @@ function QO(e) {
6330
6330
  return e === "x" ? "y" : "x";
6331
6331
  }
6332
6332
  function XO(e) {
6333
- var c = e.state, a = e.options, t = e.name, n = a.mainAxis, i = n === void 0 ? !0 : n, s = a.altAxis, r = s === void 0 ? !1 : s, l = a.boundary, f = a.rootBoundary, o = a.altBoundary, m = a.padding, d = a.tether, h = d === void 0 ? !0 : d, b = a.tetherOffset, L = b === void 0 ? 0 : b, N = B3(c, {
6333
+ var c = e.state, a = e.options, t = e.name, n = a.mainAxis, i = n === void 0 ? !0 : n, s = a.altAxis, r = s === void 0 ? !1 : s, l = a.boundary, f = a.rootBoundary, o = a.altBoundary, m = a.padding, d = a.tether, h = d === void 0 ? !0 : d, L = a.tetherOffset, _ = L === void 0 ? 0 : L, y = B3(c, {
6334
6334
  boundary: l,
6335
6335
  rootBoundary: f,
6336
6336
  padding: m,
6337
6337
  altBoundary: o
6338
- }), V = v1(c.placement), g = v3(c.placement), _ = !g, M = I0(V), x = QO(M), w = c.modifiersData.popperOffsets, C = c.rects.reference, y = c.rects.popper, A = typeof L == "function" ? L(Object.assign({}, c.rects, {
6338
+ }), V = v1(c.placement), M = v3(c.placement), b = !M, g = I0(V), x = QO(g), w = c.modifiersData.popperOffsets, C = c.rects.reference, A = c.rects.popper, N = typeof _ == "function" ? _(Object.assign({}, c.rects, {
6339
6339
  placement: c.placement
6340
- })) : L, F = typeof A == "number" ? {
6341
- mainAxis: A,
6342
- altAxis: A
6340
+ })) : _, F = typeof N == "number" ? {
6341
+ mainAxis: N,
6342
+ altAxis: N
6343
6343
  } : Object.assign({
6344
6344
  mainAxis: 0,
6345
6345
  altAxis: 0
6346
- }, A), q = c.modifiersData.offset ? c.modifiersData.offset[c.placement] : null, R = {
6346
+ }, N), q = c.modifiersData.offset ? c.modifiersData.offset[c.placement] : null, R = {
6347
6347
  x: 0,
6348
6348
  y: 0
6349
6349
  };
6350
6350
  if (w) {
6351
6351
  if (i) {
6352
- var j, r2 = M === "y" ? W2 : G2, l2 = M === "y" ? t1 : n1, a2 = M === "y" ? "height" : "width", h2 = w[M], F2 = h2 + N[r2], b2 = h2 - N[l2], v2 = h ? -y[a2] / 2 : 0, A2 = g === u3 ? C[a2] : y[a2], k2 = g === u3 ? -y[a2] : -C[a2], C2 = c.elements.arrow, I2 = h && C2 ? T0(C2) : {
6352
+ var j, r2 = g === "y" ? W2 : G2, l2 = g === "y" ? t1 : n1, a2 = g === "y" ? "height" : "width", h2 = w[g], F2 = h2 + y[r2], b2 = h2 - y[l2], v2 = h ? -A[a2] / 2 : 0, A2 = M === u3 ? C[a2] : A[a2], k2 = M === u3 ? -A[a2] : -C[a2], C2 = c.elements.arrow, I2 = h && C2 ? T0(C2) : {
6353
6353
  width: 0,
6354
6354
  height: 0
6355
- }, j2 = c.modifiersData["arrow#persistent"] ? c.modifiersData["arrow#persistent"].padding : Wi(), o1 = j2[r2], f1 = j2[l2], R2 = N3(0, C[a2], I2[a2]), i1 = _ ? C[a2] / 2 - v2 - R2 - o1 - F.mainAxis : A2 - R2 - o1 - F.mainAxis, u1 = _ ? -C[a2] / 2 + v2 + R2 + f1 + F.mainAxis : k2 + R2 + f1 + F.mainAxis, s1 = c.elements.arrow && W3(c.elements.arrow), F1 = s1 ? M === "y" ? s1.clientTop || 0 : s1.clientLeft || 0 : 0, z = (j = q == null ? void 0 : q[M]) != null ? j : 0, v = h2 + i1 - z - F1, S = h2 + u1 - z, U = N3(h ? S4(F2, v) : F2, h2, h ? G1(b2, S) : b2);
6356
- w[M] = U, R[M] = U - h2;
6355
+ }, j2 = c.modifiersData["arrow#persistent"] ? c.modifiersData["arrow#persistent"].padding : Wi(), o1 = j2[r2], f1 = j2[l2], R2 = N3(0, C[a2], I2[a2]), i1 = b ? C[a2] / 2 - v2 - R2 - o1 - F.mainAxis : A2 - R2 - o1 - F.mainAxis, u1 = b ? -C[a2] / 2 + v2 + R2 + f1 + F.mainAxis : k2 + R2 + f1 + F.mainAxis, s1 = c.elements.arrow && W3(c.elements.arrow), F1 = s1 ? g === "y" ? s1.clientTop || 0 : s1.clientLeft || 0 : 0, z = (j = q == null ? void 0 : q[g]) != null ? j : 0, v = h2 + i1 - z - F1, S = h2 + u1 - z, U = N3(h ? S4(F2, v) : F2, h2, h ? G1(b2, S) : b2);
6356
+ w[g] = U, R[g] = 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 = g === "x" ? W2 : G2, J2 = g === "x" ? t1 : n1, O2 = w[x], e3 = x === "y" ? "height" : "width", m4 = O2 + y[u2], d4 = O2 - y[J2], L2 = [W2, G2].indexOf(V) !== -1, T = (J = q == null ? void 0 : q[x]) != null ? J : 0, P = L2 ? m4 : O2 - C[e3] - A[e3] - T + F.altAxis, o2 = L2 ? O2 + C[e3] + A[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;
@@ -6479,15 +6479,15 @@ function sP(e) {
6479
6479
  }, m = [], d = !1, h = {
6480
6480
  state: o,
6481
6481
  setOptions: function(V) {
6482
- var g = typeof V == "function" ? V(o.options) : V;
6483
- L(), o.options = Object.assign({}, i, o.options, g), o.scrollParents = {
6482
+ var M = typeof V == "function" ? V(o.options) : V;
6483
+ _(), o.options = Object.assign({}, i, o.options, M), o.scrollParents = {
6484
6484
  reference: K1(r) ? x3(r) : r.contextElement ? x3(r.contextElement) : [],
6485
6485
  popper: x3(l)
6486
6486
  };
6487
- var _ = tP(iP([].concat(t, o.options.modifiers)));
6488
- return o.orderedModifiers = _.filter(function(M) {
6489
- return M.enabled;
6490
- }), b(), h.update();
6487
+ var b = tP(iP([].concat(t, o.options.modifiers)));
6488
+ return o.orderedModifiers = b.filter(function(g) {
6489
+ return g.enabled;
6490
+ }), L(), h.update();
6491
6491
  },
6492
6492
  // Sync update – it will always be executed, even if not necessary. This
6493
6493
  // is useful for low frequency updates where sync behavior simplifies the
@@ -6496,24 +6496,24 @@ function sP(e) {
6496
6496
  // prefer the async Popper#update method
6497
6497
  forceUpdate: function() {
6498
6498
  if (!d) {
6499
- var V = o.elements, g = V.reference, _ = V.popper;
6500
- if (zn(g, _)) {
6499
+ var V = o.elements, M = V.reference, b = V.popper;
6500
+ if (zn(M, b)) {
6501
6501
  o.rects = {
6502
- reference: cP(g, W3(_), o.options.strategy === "fixed"),
6503
- popper: T0(_)
6502
+ reference: cP(M, W3(b), o.options.strategy === "fixed"),
6503
+ popper: T0(b)
6504
6504
  }, o.reset = !1, o.placement = o.options.placement, o.orderedModifiers.forEach(function(F) {
6505
6505
  return o.modifiersData[F.name] = Object.assign({}, F.data);
6506
6506
  });
6507
- for (var M = 0; M < o.orderedModifiers.length; M++) {
6507
+ for (var g = 0; g < o.orderedModifiers.length; g++) {
6508
6508
  if (o.reset === !0) {
6509
- o.reset = !1, M = -1;
6509
+ o.reset = !1, g = -1;
6510
6510
  continue;
6511
6511
  }
6512
- var x = o.orderedModifiers[M], w = x.fn, C = x.options, y = C === void 0 ? {} : C, A = x.name;
6512
+ var x = o.orderedModifiers[g], w = x.fn, C = x.options, A = C === void 0 ? {} : C, N = x.name;
6513
6513
  typeof w == "function" && (o = w({
6514
6514
  state: o,
6515
- options: y,
6516
- name: A,
6515
+ options: A,
6516
+ name: N,
6517
6517
  instance: h
6518
6518
  }) || o);
6519
6519
  }
@@ -6523,37 +6523,37 @@ function sP(e) {
6523
6523
  // Async and optimistically optimized update – it will not be executed if
6524
6524
  // not necessary (debounced to run at most once-per-tick)
6525
6525
  update: nP(function() {
6526
- return new Promise(function(N) {
6527
- h.forceUpdate(), N(o);
6526
+ return new Promise(function(y) {
6527
+ h.forceUpdate(), y(o);
6528
6528
  });
6529
6529
  }),
6530
6530
  destroy: function() {
6531
- L(), d = !0;
6531
+ _(), d = !0;
6532
6532
  }
6533
6533
  };
6534
6534
  if (!zn(r, l))
6535
6535
  return h;
6536
- h.setOptions(f).then(function(N) {
6537
- !d && f.onFirstUpdate && f.onFirstUpdate(N);
6536
+ h.setOptions(f).then(function(y) {
6537
+ !d && f.onFirstUpdate && f.onFirstUpdate(y);
6538
6538
  });
6539
- function b() {
6540
- o.orderedModifiers.forEach(function(N) {
6541
- var V = N.name, g = N.options, _ = g === void 0 ? {} : g, M = N.effect;
6542
- if (typeof M == "function") {
6543
- var x = M({
6539
+ function L() {
6540
+ o.orderedModifiers.forEach(function(y) {
6541
+ var V = y.name, M = y.options, b = M === void 0 ? {} : M, g = y.effect;
6542
+ if (typeof g == "function") {
6543
+ var x = g({
6544
6544
  state: o,
6545
6545
  name: V,
6546
6546
  instance: h,
6547
- options: _
6547
+ options: b
6548
6548
  }), w = function() {
6549
6549
  };
6550
6550
  m.push(x || w);
6551
6551
  }
6552
6552
  });
6553
6553
  }
6554
- function L() {
6555
- m.forEach(function(N) {
6556
- return N();
6554
+ function _() {
6555
+ m.forEach(function(y) {
6556
+ return y();
6557
6557
  }), m = [];
6558
6558
  }
6559
6559
  return h;
@@ -6629,10 +6629,10 @@ function pP(e, c, a = {}) {
6629
6629
  let r = !0;
6630
6630
  const l = (d) => n.some((h) => {
6631
6631
  if (typeof h == "string")
6632
- return Array.from(t.document.querySelectorAll(h)).some((b) => b === d.target || d.composedPath().includes(b));
6632
+ return Array.from(t.document.querySelectorAll(h)).some((L) => L === d.target || d.composedPath().includes(L));
6633
6633
  {
6634
- const b = _3(h);
6635
- return b && (d.target === b || d.composedPath().includes(b));
6634
+ const L = _3(h);
6635
+ return L && (d.target === L || d.composedPath().includes(L));
6636
6636
  }
6637
6637
  }), o = [
6638
6638
  U6(t, "click", (d) => {
@@ -6651,8 +6651,8 @@ function pP(e, c, a = {}) {
6651
6651
  }, { passive: !0 }),
6652
6652
  s && U6(t, "blur", (d) => {
6653
6653
  var h;
6654
- const b = _3(e);
6655
- ((h = t.document.activeElement) == null ? void 0 : h.tagName) === "IFRAME" && !(b != null && b.contains(t.document.activeElement)) && c(d);
6654
+ const L = _3(e);
6655
+ ((h = t.document.activeElement) == null ? void 0 : h.tagName) === "IFRAME" && !(L != null && L.contains(t.document.activeElement)) && c(d);
6656
6656
  })
6657
6657
  ].filter(Boolean);
6658
6658
  return () => o.forEach((d) => d());
@@ -6760,97 +6760,97 @@ 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(() => {
6764
- let { modifiers: y } = An;
6765
- return a.modifiers && (y = [...y, ...a.modifiers]), {
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
+ let { modifiers: A } = An;
6765
+ return a.modifiers && (A = [...A, ...a.modifiers]), {
6766
6766
  ...An,
6767
6767
  strategy: a.strategy,
6768
6768
  placement: a.placement,
6769
- modifiers: y,
6769
+ modifiers: A,
6770
6770
  ...a.popperOptions
6771
6771
  };
6772
6772
  }), m = function() {
6773
6773
  return a.hover === !1 || a.interactive === !1 ? a.closeDelay : a.closeDelay === 0 ? 150 : a.closeDelay;
6774
6774
  }, d = Hn(async () => {
6775
- var A;
6776
- const y = await ((A = i.value) == null ? void 0 : A.update());
6777
- f.value = (y == null ? void 0 : y.placement) || a.placement, s.value = !0;
6775
+ var N;
6776
+ const A = await ((N = i.value) == null ? void 0 : N.update());
6777
+ f.value = (A == null ? void 0 : A.placement) || a.placement, s.value = !0;
6778
6778
  }, a.openDelay), h = Hn(() => {
6779
6779
  if (a.hover === !1 || a.interactive === !1) {
6780
6780
  s.value = !1;
6781
6781
  return;
6782
6782
  }
6783
6783
  r.value === !1 && l.value === !1 && (s.value = !1);
6784
- }, m()), b = (y = "") => {
6785
- let A = y;
6786
- if (y === "" && (A = s.value ? "close" : "open"), A === "open") {
6784
+ }, m()), L = (A = "") => {
6785
+ let N = A;
6786
+ if (A === "" && (N = s.value ? "close" : "open"), N === "open") {
6787
6787
  d();
6788
6788
  return;
6789
6789
  }
6790
6790
  h();
6791
- }, L = (y = "", A = "") => {
6792
- a.hover !== !1 && (A === "trigger" ? r.value = y === "open" : l.value = y === "open", b(y));
6793
- }, N = function(y, A) {
6794
- const { slots: F } = A;
6791
+ }, _ = (A = "", N = "") => {
6792
+ a.hover !== !1 && (N === "trigger" ? r.value = A === "open" : l.value = A === "open", L(A));
6793
+ }, y = function(A, N) {
6794
+ const { slots: F } = N;
6795
6795
  return M1(
6796
6796
  "div",
6797
6797
  {
6798
6798
  class: "trigger-element",
6799
6799
  ref: t,
6800
6800
  ariaDescribedby: "tooltip",
6801
- onMouseenter: () => L("open", "trigger"),
6802
- onMouseleave: () => L("close", "trigger"),
6803
- onFocus: () => L("open"),
6804
- onClick: () => b()
6801
+ onMouseenter: () => _("open", "trigger"),
6802
+ onMouseleave: () => _("close", "trigger"),
6803
+ onFocus: () => _("open"),
6804
+ onClick: () => L()
6805
6805
  },
6806
6806
  F.default ? F.default() : ""
6807
6807
  );
6808
6808
  }, V = E(() => {
6809
- const { animation: y } = a;
6810
- if (y === "none")
6809
+ const { animation: A } = a;
6810
+ if (A === "none")
6811
6811
  return {
6812
6812
  outer: "",
6813
6813
  inner: ""
6814
6814
  };
6815
- let A = y;
6816
- return y === "fade-slide" && (A = "shift-in"), {
6815
+ let N = A;
6816
+ return A === "fade-slide" && (N = "shift-in"), {
6817
6817
  outer: "fade",
6818
- inner: A
6818
+ inner: N
6819
6819
  };
6820
- }), g = E(() => {
6821
- const { animationDuration: y } = a;
6822
- if (!Array.isArray(y)) {
6823
- const q = y || 300;
6820
+ }), M = E(() => {
6821
+ const { animationDuration: A } = a;
6822
+ if (!Array.isArray(A)) {
6823
+ const q = A || 300;
6824
6824
  return {
6825
6825
  enter: `${q / 1e3}s`,
6826
6826
  leave: `${q / 1e3}s`
6827
6827
  };
6828
6828
  }
6829
- const [A, F] = y;
6829
+ const [N, F] = A;
6830
6830
  return {
6831
- enter: `${A / 1e3}s`,
6831
+ enter: `${N / 1e3}s`,
6832
6832
  leave: `${F / 1e3}s`
6833
6833
  };
6834
- }), _ = E(() => {
6835
- const y = Object.keys(Nn).find((A) => f.value.startsWith(A));
6836
- return y === void 0 ? "translate(0, 0)" : Nn[y];
6837
- }), M = E(() => {
6838
- const y = Object.keys(xn).find((A) => f.value.startsWith(A));
6839
- return y === void 0 ? "center center" : xn[y];
6834
+ }), b = E(() => {
6835
+ const A = Object.keys(Nn).find((N) => f.value.startsWith(N));
6836
+ return A === void 0 ? "translate(0, 0)" : Nn[A];
6837
+ }), g = E(() => {
6838
+ const A = Object.keys(xn).find((N) => f.value.startsWith(N));
6839
+ return A === void 0 ? "center center" : xn[A];
6840
6840
  }), x = E(() => {
6841
6841
  if (i.value === void 0)
6842
6842
  return "";
6843
- const y = {
6844
- "--vue-popper-enter-duration": g.value.enter,
6845
- "--vue-popper-leave-duration": g.value.leave,
6846
- "--vue-popper-shift-transform": _.value,
6847
- "--vue-popper-scale-transform-origin": M.value
6848
- }, A = i.value.state.styles.popper;
6849
- return MP(A, y);
6850
- }), w = (y, A) => {
6851
- a.onTransition !== void 0 && a.onTransition(y, A);
6852
- }, C = function(y, A) {
6853
- const { slots: F } = A;
6843
+ const A = {
6844
+ "--vue-popper-enter-duration": M.value.enter,
6845
+ "--vue-popper-leave-duration": M.value.leave,
6846
+ "--vue-popper-shift-transform": b.value,
6847
+ "--vue-popper-scale-transform-origin": g.value
6848
+ }, N = i.value.state.styles.popper;
6849
+ return MP(N, A);
6850
+ }), w = (A, N) => {
6851
+ a.onTransition !== void 0 && a.onTransition(A, N);
6852
+ }, C = function(A, N) {
6853
+ const { slots: F } = N;
6854
6854
  return M1(
6855
6855
  w1,
6856
6856
  { name: V.value.outer },
@@ -6863,10 +6863,10 @@ const An = {
6863
6863
  ref: n,
6864
6864
  style: x.value,
6865
6865
  onMouseleave: () => {
6866
- a.hover === !1 || a.interactive === !1 || L("close", "tooltip");
6866
+ a.hover === !1 || a.interactive === !1 || _("close", "tooltip");
6867
6867
  },
6868
6868
  onMouseenter: () => {
6869
- a.hover === !1 || a.interactive === !1 || L("open", "tooltip");
6869
+ a.hover === !1 || a.interactive === !1 || _("open", "tooltip");
6870
6870
  }
6871
6871
  },
6872
6872
  [
@@ -6880,13 +6880,13 @@ const An = {
6880
6880
  w("before-enter", q);
6881
6881
  },
6882
6882
  onEnter(q) {
6883
- V.value.inner === "shift-out" && (q.style.animation = `shift-out ${g.value.enter}`), w("enter", q);
6883
+ V.value.inner === "shift-out" && (q.style.animation = `shift-out ${M.value.enter}`), w("enter", q);
6884
6884
  },
6885
6885
  onAfterEnter(q) {
6886
- V.value.inner === "shift-out" && (q.style.transform = _.value), w("after-enter", q);
6886
+ V.value.inner === "shift-out" && (q.style.transform = b.value), w("after-enter", q);
6887
6887
  },
6888
6888
  onBeforeLeave(q) {
6889
- V.value.inner === "shift-out" && (q.style.transform = _.value, q.style.animation = ""), w("before-leave", q);
6889
+ V.value.inner === "shift-out" && (q.style.transform = b.value, q.style.animation = ""), w("before-leave", q);
6890
6890
  },
6891
6891
  onLeave(q) {
6892
6892
  V.value.inner === "shift-out" && (q.style.transform = "translate(0, 0)"), w("leave", q);
@@ -6922,7 +6922,7 @@ const An = {
6922
6922
  return pP(
6923
6923
  t,
6924
6924
  () => {
6925
- a.disableClickOutside !== !0 && b("close");
6925
+ a.disableClickOutside !== !0 && L("close");
6926
6926
  },
6927
6927
  { ignore: [n] }
6928
6928
  ), M2(() => {
@@ -6932,17 +6932,17 @@ const An = {
6932
6932
  o.value
6933
6933
  ));
6934
6934
  }), ni(() => {
6935
- var y;
6936
- (y = i.value) == null || y.destroy(), i.value = void 0;
6937
- }), s2(s, (y) => {
6938
6935
  var A;
6939
- if (y === !1) {
6936
+ (A = i.value) == null || A.destroy(), i.value = void 0;
6937
+ }), s2(s, (A) => {
6938
+ var N;
6939
+ if (A === !1) {
6940
6940
  a.onClosed !== void 0 && a.onClosed();
6941
6941
  return;
6942
6942
  }
6943
- a.onOpened !== void 0 && a.onOpened(), (A = i.value) == null || A.update();
6943
+ a.onOpened !== void 0 && a.onOpened(), (N = i.value) == null || N.update();
6944
6944
  }), {
6945
- triggerElement: N,
6945
+ triggerElement: y,
6946
6946
  tooltipElement: C,
6947
6947
  popperInstance: i,
6948
6948
  isOpened: E(() => s.value)
@@ -18093,31 +18093,31 @@ function LB(e) {
18093
18093
  }];
18094
18094
  }
18095
18095
  function H9(e) {
18096
- var c = e.icons, a = c.main, t = c.mask, n = e.prefix, i = e.iconName, s = e.transform, r = e.symbol, l = e.title, f = e.maskId, o = e.titleId, m = e.extra, d = e.watchable, h = d === void 0 ? !1 : d, b = t.found ? t : a, L = b.width, N = b.height, V = n === "fak", g = [G.replacementClass, i ? "".concat(G.cssPrefix, "-").concat(i) : ""].filter(function(A) {
18097
- return m.classes.indexOf(A) === -1;
18098
- }).filter(function(A) {
18099
- return A !== "" || !!A;
18100
- }).concat(m.classes).join(" "), _ = {
18096
+ var c = e.icons, a = c.main, t = c.mask, n = e.prefix, i = e.iconName, s = e.transform, r = e.symbol, l = e.title, f = e.maskId, o = e.titleId, m = e.extra, d = e.watchable, h = d === void 0 ? !1 : d, L = t.found ? t : a, _ = L.width, y = L.height, V = n === "fak", M = [G.replacementClass, i ? "".concat(G.cssPrefix, "-").concat(i) : ""].filter(function(N) {
18097
+ return m.classes.indexOf(N) === -1;
18098
+ }).filter(function(N) {
18099
+ return N !== "" || !!N;
18100
+ }).concat(m.classes).join(" "), b = {
18101
18101
  children: [],
18102
18102
  attributes: W(W({}, m.attributes), {}, {
18103
18103
  "data-prefix": n,
18104
18104
  "data-icon": i,
18105
- class: g,
18105
+ class: M,
18106
18106
  role: m.attributes.role || "img",
18107
18107
  xmlns: "http://www.w3.org/2000/svg",
18108
- viewBox: "0 0 ".concat(L, " ").concat(N)
18108
+ viewBox: "0 0 ".concat(_, " ").concat(y)
18109
18109
  })
18110
- }, M = V && !~m.classes.indexOf("fa-fw") ? {
18111
- width: "".concat(L / N * 16 * 0.0625, "em")
18110
+ }, g = V && !~m.classes.indexOf("fa-fw") ? {
18111
+ width: "".concat(_ / y * 16 * 0.0625, "em")
18112
18112
  } : {};
18113
- h && (_.attributes[Z1] = ""), l && (_.children.push({
18113
+ h && (b.attributes[Z1] = ""), l && (b.children.push({
18114
18114
  tag: "title",
18115
18115
  attributes: {
18116
- id: _.attributes["aria-labelledby"] || "title-".concat(o || U3())
18116
+ id: b.attributes["aria-labelledby"] || "title-".concat(o || U3())
18117
18117
  },
18118
18118
  children: [l]
18119
- }), delete _.attributes.title);
18120
- var x = W(W({}, _), {}, {
18119
+ }), delete b.attributes.title);
18120
+ var x = W(W({}, b), {}, {
18121
18121
  prefix: n,
18122
18122
  iconName: i,
18123
18123
  main: a,
@@ -18125,15 +18125,15 @@ function H9(e) {
18125
18125
  maskId: f,
18126
18126
  transform: s,
18127
18127
  symbol: r,
18128
- styles: W(W({}, M), m.styles)
18128
+ styles: W(W({}, g), m.styles)
18129
18129
  }), w = t.found && a.found ? y1("generateAbstractMask", x) || {
18130
18130
  children: [],
18131
18131
  attributes: {}
18132
18132
  } : y1("generateAbstractIcon", x) || {
18133
18133
  children: [],
18134
18134
  attributes: {}
18135
- }, C = w.children, y = w.attributes;
18136
- return x.children = C, x.attributes = y, r ? LB(x) : CB(x);
18135
+ }, C = w.children, A = w.attributes;
18136
+ return x.children = C, x.attributes = A, r ? LB(x) : CB(x);
18137
18137
  }
18138
18138
  function Rn(e) {
18139
18139
  var c = e.content, a = e.width, t = e.height, n = e.transform, i = e.title, s = e.extra, r = e.watchable, l = r === void 0 ? !1 : r, f = W(W(W({}, s.attributes), i ? {
@@ -18366,8 +18366,8 @@ function Wn(e) {
18366
18366
  b3(f).forEach(function(m) {
18367
18367
  if (m.type === "childList" && m.addedNodes.length > 0 && !Un(m.addedNodes[0]) && (G.searchPseudoElements && s(m.target), a(m.target)), m.type === "attributes" && m.target.parentNode && G.searchPseudoElements && s(m.target.parentNode), m.type === "attributes" && Un(m.target) && ~qP.indexOf(m.attributeName))
18368
18368
  if (m.attributeName === "class" && xB(m.target)) {
18369
- var d = O6(p9(m.target)), h = d.prefix, b = d.iconName;
18370
- m.target.setAttribute(m9, h || o), b && m.target.setAttribute(d9, b);
18369
+ var d = O6(p9(m.target)), h = d.prefix, L = d.iconName;
18370
+ m.target.setAttribute(m9, h || o), L && m.target.setAttribute(d9, L);
18371
18371
  } else
18372
18372
  kB(m.target) && n(m.target);
18373
18373
  });
@@ -18519,7 +18519,7 @@ function RB(e) {
18519
18519
  };
18520
18520
  }
18521
18521
  var $B = function(c) {
18522
- var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = a.transform, n = t === void 0 ? d1 : t, i = a.symbol, s = i === void 0 ? !1 : i, r = a.mask, l = r === void 0 ? null : r, f = a.maskId, o = f === void 0 ? null : f, m = a.title, d = m === void 0 ? null : m, h = a.titleId, b = h === void 0 ? null : h, L = a.classes, N = L === void 0 ? [] : L, V = a.attributes, g = V === void 0 ? {} : V, _ = a.styles, M = _ === void 0 ? {} : _;
18522
+ var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = a.transform, n = t === void 0 ? d1 : t, i = a.symbol, s = i === void 0 ? !1 : i, r = a.mask, l = r === void 0 ? null : r, f = a.maskId, o = f === void 0 ? null : f, m = a.title, d = m === void 0 ? null : m, h = a.titleId, L = h === void 0 ? null : h, _ = a.classes, y = _ === void 0 ? [] : _, V = a.attributes, M = V === void 0 ? {} : V, b = a.styles, g = b === void 0 ? {} : b;
18523
18523
  if (c) {
18524
18524
  var x = c.prefix, w = c.iconName, C = c.icon;
18525
18525
  return P6(W({
@@ -18528,7 +18528,7 @@ var $B = function(c) {
18528
18528
  return J1("beforeDOMElementCreation", {
18529
18529
  iconDefinition: c,
18530
18530
  params: a
18531
- }), G.autoA11y && (d ? g["aria-labelledby"] = "".concat(G.replacementClass, "-title-").concat(b || U3()) : (g["aria-hidden"] = "true", g.focusable = "false")), H9({
18531
+ }), G.autoA11y && (d ? M["aria-labelledby"] = "".concat(G.replacementClass, "-title-").concat(L || U3()) : (M["aria-hidden"] = "true", M.focusable = "false")), H9({
18532
18532
  icons: {
18533
18533
  main: h0(C),
18534
18534
  mask: l ? h0(l.icon) : {
@@ -18544,11 +18544,11 @@ var $B = function(c) {
18544
18544
  symbol: s,
18545
18545
  title: d,
18546
18546
  maskId: o,
18547
- titleId: b,
18547
+ titleId: L,
18548
18548
  extra: {
18549
- attributes: g,
18550
- styles: M,
18551
- classes: N
18549
+ attributes: M,
18550
+ styles: g,
18551
+ classes: y
18552
18552
  }
18553
18553
  });
18554
18554
  });
@@ -18573,18 +18573,18 @@ var $B = function(c) {
18573
18573
  return Yn(n, s);
18574
18574
  }, c.generateSvgReplacementMutation = function(a, t) {
18575
18575
  var n = t.iconName, i = t.title, s = t.titleId, r = t.prefix, l = t.transform, f = t.symbol, o = t.mask, m = t.maskId, d = t.extra;
18576
- return new Promise(function(h, b) {
18576
+ return new Promise(function(h, L) {
18577
18577
  Promise.all([V0(n, r), o.iconName ? V0(o.iconName, o.prefix) : Promise.resolve({
18578
18578
  found: !1,
18579
18579
  width: 512,
18580
18580
  height: 512,
18581
18581
  icon: {}
18582
- })]).then(function(L) {
18583
- var N = f9(L, 2), V = N[0], g = N[1];
18582
+ })]).then(function(_) {
18583
+ var y = f9(_, 2), V = y[0], M = y[1];
18584
18584
  h([a, H9({
18585
18585
  icons: {
18586
18586
  main: V,
18587
- mask: g
18587
+ mask: M
18588
18588
  },
18589
18589
  prefix: r,
18590
18590
  iconName: n,
@@ -18596,7 +18596,7 @@ var $B = function(c) {
18596
18596
  extra: d,
18597
18597
  watchable: !0
18598
18598
  })]);
18599
- }).catch(b);
18599
+ }).catch(L);
18600
18600
  });
18601
18601
  }, c.generateAbstractIcon = function(a) {
18602
18602
  var t = a.children, n = a.attributes, i = a.main, s = a.transform, r = a.styles, l = E6(r);
@@ -18729,26 +18729,26 @@ function Xn(e, c) {
18729
18729
  if (s && !l)
18730
18730
  return e.removeChild(s), t();
18731
18731
  if (l && o !== "none" && o !== "") {
18732
- var m = r.getPropertyValue("content"), d = ~["Sharp"].indexOf(l[2]) ? x2 : z2, h = ~["Solid", "Regular", "Light", "Thin", "Duotone", "Brands", "Kit"].indexOf(l[2]) ? F3[d][l[2].toLowerCase()] : $P[d][f], b = QB(m), L = b.value, N = b.isSecondary, V = l[0].startsWith("FontAwesome"), g = z9(h, L), _ = g;
18732
+ var m = r.getPropertyValue("content"), d = ~["Sharp"].indexOf(l[2]) ? x2 : z2, h = ~["Solid", "Regular", "Light", "Thin", "Duotone", "Brands", "Kit"].indexOf(l[2]) ? F3[d][l[2].toLowerCase()] : $P[d][f], L = QB(m), _ = L.value, y = L.isSecondary, V = l[0].startsWith("FontAwesome"), M = z9(h, _), b = M;
18733
18733
  if (V) {
18734
- var M = pB(L);
18735
- M.iconName && M.prefix && (g = M.iconName, h = M.prefix);
18734
+ var g = pB(_);
18735
+ g.iconName && g.prefix && (M = g.iconName, h = g.prefix);
18736
18736
  }
18737
- if (g && !N && (!s || s.getAttribute(m9) !== h || s.getAttribute(d9) !== _)) {
18738
- e.setAttribute(a, _), s && e.removeChild(s);
18737
+ if (M && !y && (!s || s.getAttribute(m9) !== h || s.getAttribute(d9) !== b)) {
18738
+ e.setAttribute(a, b), s && e.removeChild(s);
18739
18739
  var x = BB(), w = x.extra;
18740
- w.attributes[u0] = c, V0(g, h).then(function(C) {
18741
- var y = H9(W(W({}, x), {}, {
18740
+ w.attributes[u0] = c, V0(M, h).then(function(C) {
18741
+ var A = H9(W(W({}, x), {}, {
18742
18742
  icons: {
18743
18743
  main: C,
18744
18744
  mask: g9()
18745
18745
  },
18746
18746
  prefix: h,
18747
- iconName: _,
18747
+ iconName: b,
18748
18748
  extra: w,
18749
18749
  watchable: !0
18750
- })), A = H2.createElementNS("http://www.w3.org/2000/svg", "svg");
18751
- c === "::before" ? e.insertBefore(A, e.firstChild) : e.appendChild(A), A.outerHTML = y.map(function(F) {
18750
+ })), N = H2.createElementNS("http://www.w3.org/2000/svg", "svg");
18751
+ c === "::before" ? e.insertBefore(N, e.firstChild) : e.appendChild(N), N.outerHTML = A.map(function(F) {
18752
18752
  return u4(F);
18753
18753
  }).join(`
18754
18754
  `), e.removeAttribute(a), t();
@@ -18934,48 +18934,48 @@ var aj = {
18934
18934
  transform: l,
18935
18935
  containerWidth: m,
18936
18936
  iconWidth: f
18937
- }), b = {
18937
+ }), L = {
18938
18938
  tag: "rect",
18939
18939
  attributes: W(W({}, Y6), {}, {
18940
18940
  fill: "white"
18941
18941
  })
18942
- }, L = o.children ? {
18942
+ }, _ = o.children ? {
18943
18943
  children: o.children.map(ei)
18944
- } : {}, N = {
18944
+ } : {}, y = {
18945
18945
  tag: "g",
18946
18946
  attributes: W({}, h.inner),
18947
18947
  children: [ei(W({
18948
18948
  tag: o.tag,
18949
18949
  attributes: W(W({}, o.attributes), h.path)
18950
- }, L))]
18950
+ }, _))]
18951
18951
  }, V = {
18952
18952
  tag: "g",
18953
18953
  attributes: W({}, h.outer),
18954
- children: [N]
18955
- }, g = "mask-".concat(r || U3()), _ = "clip-".concat(r || U3()), M = {
18954
+ children: [y]
18955
+ }, M = "mask-".concat(r || U3()), b = "clip-".concat(r || U3()), g = {
18956
18956
  tag: "mask",
18957
18957
  attributes: W(W({}, Y6), {}, {
18958
- id: g,
18958
+ id: M,
18959
18959
  maskUnits: "userSpaceOnUse",
18960
18960
  maskContentUnits: "userSpaceOnUse"
18961
18961
  }),
18962
- children: [b, V]
18962
+ children: [L, V]
18963
18963
  }, x = {
18964
18964
  tag: "defs",
18965
18965
  children: [{
18966
18966
  tag: "clipPath",
18967
18967
  attributes: {
18968
- id: _
18968
+ id: b
18969
18969
  },
18970
18970
  children: cj(d)
18971
- }, M]
18971
+ }, g]
18972
18972
  };
18973
18973
  return t.push(x, {
18974
18974
  tag: "rect",
18975
18975
  attributes: W({
18976
18976
  fill: "currentColor",
18977
- "clip-path": "url(#".concat(_, ")"),
18978
- mask: "url(#".concat(g, ")")
18977
+ "clip-path": "url(#".concat(b, ")"),
18978
+ mask: "url(#".concat(M, ")")
18979
18979
  }, Y6)
18980
18980
  }), {
18981
18981
  children: t,
@@ -19095,9 +19095,9 @@ const rj = Q({
19095
19095
  if (l.prefix)
19096
19096
  return;
19097
19097
  const m = Object.keys(l.attributes || {}).reduce(
19098
- (h, b) => {
19099
- const L = l.attributes[b];
19100
- return h.attrs[b] = L, h;
19098
+ (h, L) => {
19099
+ const _ = l.attributes[L];
19100
+ return h.attrs[L] = _, h;
19101
19101
  },
19102
19102
  {
19103
19103
  attrs: {}
@@ -19114,7 +19114,7 @@ const rj = Q({
19114
19114
  };
19115
19115
  function t(l) {
19116
19116
  let d = `fa-${l}`.split("-").map(
19117
- (b) => b.charAt(0).toUpperCase() + b.slice(1).toLowerCase()
19117
+ (L) => L.charAt(0).toUpperCase() + L.slice(1).toLowerCase()
19118
19118
  ).join("");
19119
19119
  return d.charAt(0).toLowerCase() + d.slice(1);
19120
19120
  }
@@ -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);
@@ -20062,10 +20062,10 @@ const sF = /* @__PURE__ */ X(iF, [["__scopeId", "data-v-ff11beb8"]]), rF = { cla
20062
20062
  ], 10, oF),
20063
20063
  I(h, null, {
20064
20064
  default: i2(() => [
20065
- (p(!0), H(t2, null, g2(n.value, (b) => (p(), K(d, {
20066
- key: b,
20067
- optionLabel: b.label,
20068
- onOnSelected: (L) => s(b.value),
20065
+ (p(!0), H(t2, null, g2(n.value, (L) => (p(), K(d, {
20066
+ key: L,
20067
+ optionLabel: L.label,
20068
+ onOnSelected: (_) => s(L.value),
20069
20069
  "data-test": "option"
20070
20070
  }, null, 8, ["optionLabel", "onOnSelected"]))), 128))
20071
20071
  ]),
@@ -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(
@@ -20302,16 +20302,16 @@ const AF = /* @__PURE__ */ X(yF, [["__scopeId", "data-v-0cc3f6d1"]]), NF = { cla
20302
20302
  );
20303
20303
  const l = () => {
20304
20304
  r.value = [...s.value.files], c("update", r.value);
20305
- }, f = (M) => {
20306
- M.preventDefault(), !a.disabled && (i.value = !0);
20305
+ }, f = (g) => {
20306
+ g.preventDefault(), !a.disabled && (i.value = !0);
20307
20307
  }, o = () => {
20308
20308
  i.value = !1;
20309
- }, m = (M) => {
20310
- const x = Array.from(M), w = new DataTransfer();
20309
+ }, m = (g) => {
20310
+ const x = Array.from(g), w = new DataTransfer();
20311
20311
  for (let C of x) {
20312
- const y = C.name.split(".").pop();
20313
- if (b.value.includes(
20314
- `.${y.toLowerCase()}`
20312
+ const A = C.name.split(".").pop();
20313
+ if (L.value.includes(
20314
+ `.${A.toLowerCase()}`
20315
20315
  )) {
20316
20316
  const F = new File([C], C.name, {
20317
20317
  type: C.type,
@@ -20322,21 +20322,21 @@ const AF = /* @__PURE__ */ X(yF, [["__scopeId", "data-v-0cc3f6d1"]]), NF = { cla
20322
20322
  c("fileFormatNotAccepted", C.name);
20323
20323
  }
20324
20324
  return w.files;
20325
- }, d = E(() => a.accept.split(",")), h = E(() => a.accept.split(",").join(", ")), b = E(
20326
- () => d.value.map((M) => M.toLocaleLowerCase())
20327
- ), L = (M) => M.split("/").pop(), N = (M) => {
20328
- M.preventDefault(), !a.disabled && (s.value.files = m(M.dataTransfer.files), r.value = a.multiple ? [...s.value.files] : [s.value.files[0]], c("update", r.value), i.value = !1);
20329
- }, V = (M) => {
20330
- r.value.splice(M, 1), c("update", r.value);
20331
- }, g = (M) => {
20332
- let x = URL.createObjectURL(M);
20325
+ }, d = E(() => a.accept.split(",")), h = E(() => a.accept.split(",").join(", ")), L = E(
20326
+ () => d.value.map((g) => g.toLocaleLowerCase())
20327
+ ), _ = (g) => g.split("/").pop(), y = (g) => {
20328
+ g.preventDefault(), !a.disabled && (s.value.files = m(g.dataTransfer.files), r.value = a.multiple ? [...s.value.files] : [s.value.files[0]], c("update", r.value), i.value = !1);
20329
+ }, V = (g) => {
20330
+ r.value.splice(g, 1), c("update", r.value);
20331
+ }, M = (g) => {
20332
+ let x = URL.createObjectURL(g);
20333
20333
  return setTimeout(() => {
20334
20334
  URL.revokeObjectURL(x);
20335
20335
  }, 1e3), x;
20336
- }, _ = (M) => {
20337
- c("download", M);
20336
+ }, b = (g) => {
20337
+ c("download", g);
20338
20338
  };
20339
- return (M, x) => {
20339
+ return (g, x) => {
20340
20340
  const w = D("AVTooltip"), C = D("AVIcon");
20341
20341
  return p(), H("div", NF, [
20342
20342
  e.disableLabel ? O("", !0) : (p(), H("label", {
@@ -20357,7 +20357,7 @@ const AF = /* @__PURE__ */ X(yF, [["__scopeId", "data-v-0cc3f6d1"]]), NF = { cla
20357
20357
  class: Y(`AVFileInput--dropzone-container ${e.error && "error"} ${e.disabled && "disabled"}`),
20358
20358
  onDragover: f,
20359
20359
  onDragleave: o,
20360
- onDrop: N
20360
+ onDrop: y
20361
20361
  }, [
20362
20362
  u("input", {
20363
20363
  type: "file",
@@ -20400,8 +20400,8 @@ const AF = /* @__PURE__ */ X(yF, [["__scopeId", "data-v-0cc3f6d1"]]), NF = { cla
20400
20400
  ])),
20401
20401
  r.value.length ? (p(), H("div", jF, [
20402
20402
  u("p", FF, k(B(n)("js.components.AVFileInput.uploading")), 1),
20403
- (p(!0), H(t2, null, g2(r.value, (y) => (p(), H("div", {
20404
- key: y.name,
20403
+ (p(!0), H(t2, null, g2(r.value, (A) => (p(), H("div", {
20404
+ key: A.name,
20405
20405
  class: Y(`AVFileInput--preview-card ${e.error && "error"}`)
20406
20406
  }, [
20407
20407
  u("div", RF, [
@@ -20409,7 +20409,7 @@ const AF = /* @__PURE__ */ X(yF, [["__scopeId", "data-v-0cc3f6d1"]]), NF = { cla
20409
20409
  e.showPreview ? (p(), H("img", {
20410
20410
  key: 0,
20411
20411
  class: "AVFileInput--preview-img",
20412
- src: g(y)
20412
+ src: M(A)
20413
20413
  }, null, 8, UF)) : (p(), K(C, {
20414
20414
  key: 1,
20415
20415
  icon: "fa-solid fa-file",
@@ -20418,15 +20418,15 @@ const AF = /* @__PURE__ */ X(yF, [["__scopeId", "data-v-0cc3f6d1"]]), NF = { cla
20418
20418
  }))
20419
20419
  ]),
20420
20420
  u("p", qF, [
20421
- D2(k(y.name) + " ", 1),
20422
- u("em", null, k(Math.round(y.size / 1e3) + "kb"), 1)
20421
+ D2(k(A.name) + " ", 1),
20422
+ u("em", null, k(Math.round(A.size / 1e3) + "kb"), 1)
20423
20423
  ])
20424
20424
  ]),
20425
20425
  e.disabled ? O("", !0) : (p(), H("button", {
20426
20426
  key: 0,
20427
20427
  class: "AVTextInput--delete-btn",
20428
20428
  type: "button",
20429
- onClick: (A) => V(r.value.indexOf(y)),
20429
+ onClick: (N) => V(r.value.indexOf(A)),
20430
20430
  title: "Remove file"
20431
20431
  }, [
20432
20432
  I(C, {
@@ -20439,13 +20439,13 @@ const AF = /* @__PURE__ */ X(yF, [["__scopeId", "data-v-0cc3f6d1"]]), NF = { cla
20439
20439
  ])) : O("", !0),
20440
20440
  e.currentValue ? (p(), H("div", GF, [
20441
20441
  u("p", YF, k(B(n)("js.components.AVFileInput.current")), 1),
20442
- (p(!0), H(t2, null, g2(e.currentValue, (y) => (p(), H("div", {
20443
- key: `image-${y}`
20442
+ (p(!0), H(t2, null, g2(e.currentValue, (A) => (p(), H("div", {
20443
+ key: `image-${A}`
20444
20444
  }, [
20445
20445
  e.showPreview ? (p(), H("img", {
20446
20446
  key: 0,
20447
20447
  class: "AVFileInput--current-img",
20448
- src: y,
20448
+ src: A,
20449
20449
  alt: B(n)("js.components.AVFileInput.alt_preview")
20450
20450
  }, null, 8, QF)) : (p(), H("div", XF, [
20451
20451
  u("div", KF, [
@@ -20456,13 +20456,13 @@ const AF = /* @__PURE__ */ X(yF, [["__scopeId", "data-v-0cc3f6d1"]]), NF = { cla
20456
20456
  "data-test": "file-preview-icon"
20457
20457
  })
20458
20458
  ]),
20459
- u("p", JF, k(L(y)), 1)
20459
+ u("p", JF, k(_(A)), 1)
20460
20460
  ]),
20461
20461
  u("button", {
20462
20462
  class: "AVTextInput--delete-btn",
20463
20463
  type: "button",
20464
20464
  title: "Download file",
20465
- onClick: (A) => _(y)
20465
+ onClick: (N) => b(A)
20466
20466
  }, [
20467
20467
  I(C, {
20468
20468
  icon: "fa-solid fa-download",
@@ -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(
@@ -21126,7 +21126,7 @@ const RR = /* @__PURE__ */ X(FR, [["__scopeId", "data-v-11042fa9"]]), $R = { cla
21126
21126
  key: h.value,
21127
21127
  class: Y(`AVTabSwitcher--button ${i.value} ${h.selected && "AVTabSwitcher--button-active"} ${h.disabled && "disabled"}`),
21128
21128
  disabled: h.disabled,
21129
- onClick: (b) => f(h.value)
21129
+ onClick: (L) => f(h.value)
21130
21130
  }, k(h.value), 11, UR))), 128))
21131
21131
  ]));
21132
21132
  }
@@ -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
  });
@@ -21737,7 +21737,7 @@ const k$ = /* @__PURE__ */ X(x$, [["__scopeId", "data-v-4e9b2c30"]]), S$ = { cla
21737
21737
  value: d.value,
21738
21738
  checked: d.checked,
21739
21739
  disabled: d.disabled,
21740
- onUpdate: (b) => r(d.value)
21740
+ onUpdate: (L) => r(d.value)
21741
21741
  }, null, 8, ["id", "value", "checked", "disabled", "onUpdate"]))), 128))
21742
21742
  ], 2),
21743
21743
  e.error && e.errorMessage ? (p(), H("p", T$, k(e.errorMessage), 1)) : O("", !0)
@@ -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(
@@ -22060,14 +22060,14 @@ const pU = /* @__PURE__ */ X(vU, [["__scopeId", "data-v-c682a2cf"]]), hU = ["ari
22060
22060
  var o;
22061
22061
  return c.blank ? t("js.components.AVSummaryOption.blank") : (o = c.option) == null ? void 0 : o.title;
22062
22062
  }), f = E(() => {
22063
- var b, L;
22064
- const o = Array.from(Array((b = c.option) == null ? void 0 : b.crosses).keys());
22065
- o.forEach((N) => o[N] = N + 1);
22066
- const m = o.indexOf(Math.ceil(((L = c.option) == null ? void 0 : L.crosses) / 2)) + 1, d = o.slice(0, m), h = o.slice(m);
22063
+ var L, _;
22064
+ const o = Array.from(Array((L = c.option) == null ? void 0 : L.crosses).keys());
22065
+ o.forEach((y) => o[y] = y + 1);
22066
+ const m = o.indexOf(Math.ceil(((_ = c.option) == null ? void 0 : _.crosses) / 2)) + 1, d = o.slice(0, m), h = o.slice(m);
22067
22067
  return h.length ? [d, h] : [d];
22068
22068
  });
22069
22069
  return (o, m) => {
22070
- var h, b, L;
22070
+ var h, L, _;
22071
22071
  const d = D("AVOptionCheckbox");
22072
22072
  return p(), H("div", {
22073
22073
  class: "AVSummaryOption",
@@ -22075,10 +22075,10 @@ const pU = /* @__PURE__ */ X(vU, [["__scopeId", "data-v-c682a2cf"]]), hU = ["ari
22075
22075
  }, [
22076
22076
  r.value ? (p(), H("div", VU, [
22077
22077
  u("ul", zU, [
22078
- (p(!0), H(t2, null, g2(r.value, (N, V) => (p(), H("li", {
22079
- key: N + V,
22078
+ (p(!0), H(t2, null, g2(r.value, (y, V) => (p(), H("li", {
22079
+ key: y + V,
22080
22080
  class: "AVSummaryOption--breadcrumb-item"
22081
- }, k(N), 1))), 128))
22081
+ }, k(y), 1))), 128))
22082
22082
  ])
22083
22083
  ])) : O("", !0),
22084
22084
  u("div", {
@@ -22089,7 +22089,7 @@ const pU = /* @__PURE__ */ X(vU, [["__scopeId", "data-v-c682a2cf"]]), hU = ["ari
22089
22089
  }, [
22090
22090
  (h = e.option) != null && h.image ? (p(), H("img", {
22091
22091
  key: 0,
22092
- src: (b = e.option) == null ? void 0 : b.image,
22092
+ src: (L = e.option) == null ? void 0 : L.image,
22093
22093
  class: "AVSummaryOption--img",
22094
22094
  alt: B(t)("js.components.AVSummaryOption.aria_label.option_image")
22095
22095
  }, null, 8, gU)) : O("", !0),
@@ -22099,22 +22099,22 @@ const pU = /* @__PURE__ */ X(vU, [["__scopeId", "data-v-c682a2cf"]]), hU = ["ari
22099
22099
  s.value ? O("", !0) : (p(), H("div", bU, [
22100
22100
  I(d, {
22101
22101
  checked: !0,
22102
- rank: (L = e.option) == null ? void 0 : L.rank,
22102
+ rank: (_ = e.option) == null ? void 0 : _.rank,
22103
22103
  disabled: !0
22104
22104
  }, null, 8, ["rank"])
22105
22105
  ]))
22106
22106
  ], 2),
22107
22107
  s.value ? (p(), H("div", CU, [
22108
- (p(!0), H(t2, null, g2(f.value, (N) => (p(), H("div", {
22109
- key: N.toString(),
22108
+ (p(!0), H(t2, null, g2(f.value, (y) => (p(), H("div", {
22109
+ key: y.toString(),
22110
22110
  class: "AVSummaryOption--group"
22111
22111
  }, [
22112
- (p(!0), H(t2, null, g2(N, (V) => {
22113
- var g;
22112
+ (p(!0), H(t2, null, g2(y, (V) => {
22113
+ var M;
22114
22114
  return p(), K(d, {
22115
22115
  key: V,
22116
22116
  checked: !0,
22117
- rank: (g = e.option) == null ? void 0 : g.rank,
22117
+ rank: (M = e.option) == null ? void 0 : M.rank,
22118
22118
  disabled: !0
22119
22119
  }, null, 8, ["rank"]);
22120
22120
  }), 128))
@@ -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(
@@ -22219,33 +22219,33 @@ const cI = (e) => (V1("data-v-58afc370"), e = e(), z1(), e), _U = ["id", "href",
22219
22219
  var j;
22220
22220
  return ((j = a.option.description) == null ? void 0 : j[i.value]) ?? "";
22221
22221
  }
22222
- ), b = E(() => {
22222
+ ), L = E(() => {
22223
22223
  var j;
22224
22224
  return ((j = a.option.url) == null ? void 0 : j[i.value]) ?? "";
22225
- }), L = E(
22225
+ }), _ = E(
22226
22226
  () => {
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
+ ), y = E(() => a.option.image), M = Z(function() {
22231
22231
  return a.option.randomizeChildren ? a.option.children.slice().sort(() => Math.random() - 0.5) : a.option.children;
22232
- }()), _ = E(() => {
22232
+ }()), b = E(() => {
22233
22233
  let j = [];
22234
- return b.value && j.push({
22235
- url: b.value,
22236
- text: n("js.components.AVOption.info_link_text_html")
22237
- }), L.value && j.push({
22234
+ return L.value && j.push({
22238
22235
  url: L.value,
22236
+ text: n("js.components.AVOption.info_link_text_html")
22237
+ }), _.value && j.push({
22238
+ url: _.value,
22239
22239
  text: n("js.components.AVOption.video_link_text_html")
22240
22240
  }), j;
22241
- }), M = E(
22241
+ }), g = E(
22242
22242
  () => a.option.children && a.option.children.length > 0
22243
- ), x = E(() => a.option.selectable !== void 0 && !a.option.selectable ? 0 : C.value ? 1 : a.option.voteLimit || a.contest.markingType.votesAllowedPerOption || 1), w = E(() => a.selections.length > 0 ? q(a.option.children) : 0), C = E(() => a.option.exclusive), y = E(() => {
22243
+ ), x = E(() => a.option.selectable !== void 0 && !a.option.selectable ? 0 : C.value ? 1 : a.option.voteLimit || a.contest.markingType.votesAllowedPerOption || 1), w = E(() => a.selections.length > 0 ? q(a.option.children) : 0), C = E(() => a.option.exclusive), A = E(() => {
22244
22244
  const j = Array.from(Array(x.value).keys());
22245
22245
  j.forEach((h2) => j[h2] = h2 + 1);
22246
22246
  const r2 = j.indexOf(Math.ceil(x.value / 2)) + 1, l2 = j.slice(0, r2), a2 = j.slice(r2);
22247
22247
  return a2.length ? [l2, a2] : [l2];
22248
- }), A = E(() => a.partialResults ? a.partialResults[a.option.reference] : null), F = (j, r2 = 1) => {
22248
+ }), N = E(() => a.partialResults ? a.partialResults[a.option.reference] : null), F = (j, r2 = 1) => {
22249
22249
  c("checked", {
22250
22250
  reference: j,
22251
22251
  amount: r2
@@ -22283,7 +22283,7 @@ const cI = (e) => (V1("data-v-58afc370"), e = e(), z1(), e), _U = ["id", "href",
22283
22283
  "aria-labelledby": `option_${e.option.reference}_title`
22284
22284
  }, null, 8, _U),
22285
22285
  I(F2, {
22286
- collapsable: e.contest.collapsable && M.value,
22286
+ collapsable: e.contest.collapsable && g.value,
22287
22287
  "start-collapsed": e.contest.collapseDefault && !e.observerMode,
22288
22288
  onAccordionOpen: r2[1] || (r2[1] = (b2) => c("accordion-open"))
22289
22289
  }, hI({
@@ -22309,9 +22309,9 @@ const cI = (e) => (V1("data-v-58afc370"), e = e(), z1(), e), _U = ["id", "href",
22309
22309
  }, [
22310
22310
  u("div", AU, [
22311
22311
  u("header", NU, [
22312
- N.value ? (p(), H("img", {
22312
+ y.value ? (p(), H("img", {
22313
22313
  key: 0,
22314
- src: N.value,
22314
+ src: y.value,
22315
22315
  alt: B(n)("js.components.AVOption.aria_labels.option_image"),
22316
22316
  class: "AVOption-image"
22317
22317
  }, null, 8, xU)) : O("", !0),
@@ -22320,19 +22320,19 @@ const cI = (e) => (V1("data-v-58afc370"), e = e(), z1(), e), _U = ["id", "href",
22320
22320
  textContent: k(d.value)
22321
22321
  }, null, 8, kU)
22322
22322
  ]),
22323
- h.value || _.value.length || M.value ? (p(), H("div", SU, [
22323
+ h.value || b.value.length || g.value ? (p(), H("div", SU, [
22324
22324
  h.value ? (p(), H("div", wU, [
22325
22325
  u("p", { innerHTML: h.value }, null, 8, TU)
22326
22326
  ])) : O("", !0),
22327
- _.value.length > 0 ? (p(), H("div", IU, [
22328
- (p(!0), H(t2, null, g2(_.value, (A2) => (p(), H("a", {
22327
+ b.value.length > 0 ? (p(), H("div", IU, [
22328
+ (p(!0), H(t2, null, g2(b.value, (A2) => (p(), H("a", {
22329
22329
  key: A2.toString(),
22330
22330
  href: A2.url,
22331
22331
  class: "AVOption--links",
22332
22332
  target: "_blank"
22333
22333
  }, k(A2.text), 9, EU))), 128))
22334
22334
  ])) : O("", !0),
22335
- v2 && M.value ? (p(), H("div", DU, [
22335
+ v2 && g.value ? (p(), H("div", DU, [
22336
22336
  u("div", {
22337
22337
  id: `option_${e.option.reference}_dropdown`,
22338
22338
  class: "AVOption--expander-container",
@@ -22370,7 +22370,7 @@ const cI = (e) => (V1("data-v-58afc370"), e = e(), z1(), e), _U = ["id", "href",
22370
22370
  }),
22371
22371
  style: l1(`background-color: ${x.value === 1 ? "#FFFFFF" : "#f7f7f7"}`)
22372
22372
  }, [
22373
- (p(!0), H(t2, null, g2(y.value, (A2) => (p(), H("div", {
22373
+ (p(!0), H(t2, null, g2(A.value, (A2) => (p(), H("div", {
22374
22374
  key: A2.toString(),
22375
22375
  class: "AVOption--group"
22376
22376
  }, [
@@ -22387,23 +22387,23 @@ const cI = (e) => (V1("data-v-58afc370"), e = e(), z1(), e), _U = ["id", "href",
22387
22387
  }, null, 8, ["checked", "rank", "exclusive-error", "invalid", "option-reference", "check-box-index", "disabled", "onToggled"]))), 128))
22388
22388
  ]))), 128))
22389
22389
  ], 6)) : O("", !0),
22390
- A.value && (e.observerMode || e.disabled) ? (p(), H("div", BU, [
22390
+ N.value && (e.observerMode || e.disabled) ? (p(), H("div", BU, [
22391
22391
  I(l2, {
22392
22392
  icon: "user",
22393
22393
  class: "AVOption--realtime-results-icon"
22394
22394
  }),
22395
- u("span", null, k(f.value ? `${A.value.results.count === 1 ? B(n)("js.components.AVOption.vote_count_singular") : B(n)("js.components.AVOption.vote_count_plural")} ${A.value.results.count}` : `${A.value.results.count} ${A.value.results.count === 1 ? B(n)("js.components.AVOption.vote_count_singular") : B(n)("js.components.AVOption.vote_count_plural")}`), 1),
22396
- A.value.showPercentage ? (p(), H(t2, { key: 0 }, [
22395
+ u("span", null, k(f.value ? `${N.value.results.count === 1 ? B(n)("js.components.AVOption.vote_count_singular") : B(n)("js.components.AVOption.vote_count_plural")} ${N.value.results.count}` : `${N.value.results.count} ${N.value.results.count === 1 ? B(n)("js.components.AVOption.vote_count_singular") : B(n)("js.components.AVOption.vote_count_plural")}`), 1),
22396
+ N.value.showPercentage ? (p(), H(t2, { key: 0 }, [
22397
22397
  jU,
22398
- u("span", null, k(`${A.value.results.percentage}%`), 1)
22398
+ u("span", null, k(`${N.value.results.percentage}%`), 1)
22399
22399
  ], 64)) : O("", !0)
22400
22400
  ])) : O("", !0)
22401
22401
  ], 2)
22402
22402
  ], 14, yU)
22403
22403
  ]),
22404
22404
  pane: i2(({ toggleCollapse: b2 }) => [
22405
- M.value ? (p(), H("div", $U, [
22406
- (p(!0), H(t2, null, g2(g.value, (v2) => (p(), K(h2, {
22405
+ g.value ? (p(), H("div", $U, [
22406
+ (p(!0), H(t2, null, g2(M.value, (v2) => (p(), K(h2, {
22407
22407
  key: v2.reference,
22408
22408
  option: v2,
22409
22409
  selections: e.selections,
@@ -22420,7 +22420,7 @@ const cI = (e) => (V1("data-v-58afc370"), e = e(), z1(), e), _U = ["id", "href",
22420
22420
  ]),
22421
22421
  _: 2
22422
22422
  }, [
22423
- !e.disabled && A.value && !e.observerMode ? {
22423
+ !e.disabled && N.value && !e.observerMode ? {
22424
22424
  name: "results",
22425
22425
  fn: i2(() => [
22426
22426
  u("div", FU, [
@@ -22428,10 +22428,10 @@ const cI = (e) => (V1("data-v-58afc370"), e = e(), z1(), e), _U = ["id", "href",
22428
22428
  icon: "user",
22429
22429
  class: "AVOption--realtime-results-icon"
22430
22430
  }),
22431
- u("span", null, k(f.value ? `${A.value.results.count === 1 ? B(n)("js.components.AVOption.vote_count_singular") : B(n)("js.components.AVOption.vote_count_plural")} ${A.value.results.count}` : `${A.value.results.count} ${A.value.results.count === 1 ? B(n)("js.components.AVOption.vote_count_singular") : B(n)("js.components.AVOption.vote_count_plural")}`), 1),
22432
- A.value.showPercentage ? (p(), H(t2, { key: 0 }, [
22431
+ u("span", null, k(f.value ? `${N.value.results.count === 1 ? B(n)("js.components.AVOption.vote_count_singular") : B(n)("js.components.AVOption.vote_count_plural")} ${N.value.results.count}` : `${N.value.results.count} ${N.value.results.count === 1 ? B(n)("js.components.AVOption.vote_count_singular") : B(n)("js.components.AVOption.vote_count_plural")}`), 1),
22432
+ N.value.showPercentage ? (p(), H(t2, { key: 0 }, [
22433
22433
  RU,
22434
- u("span", null, k(`${A.value.results.percentage}%`), 1)
22434
+ u("span", null, k(`${N.value.results.percentage}%`), 1)
22435
22435
  ], 64)) : O("", !0)
22436
22436
  ])
22437
22437
  ]),
@@ -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]
@@ -22827,7 +22827,7 @@ const Aq = ["aria-label"], Nq = { class: "AVSearchBallot--form-group" }, xq = ["
22827
22827
  u("div", kq, [
22828
22828
  T1(u("input", {
22829
22829
  id: "ballot_search",
22830
- "onUpdate:modelValue": h[0] || (h[0] = (b) => s.value = b),
22830
+ "onUpdate:modelValue": h[0] || (h[0] = (L) => s.value = L),
22831
22831
  type: "search",
22832
22832
  class: "AVSearchBallot--form-control",
22833
22833
  placeholder: B(t)("js.components.AVSearchBallot.enter_option_name")
@@ -22837,28 +22837,28 @@ const Aq = ["aria-label"], Nq = { class: "AVSearchBallot--form-group" }, xq = ["
22837
22837
  ])
22838
22838
  ]),
22839
22839
  u("div", wq, [
22840
- (p(!0), H(t2, null, g2(r.value, (b) => (p(), H("div", {
22841
- key: b,
22842
- "aria-label": b.title[n.value]
22840
+ (p(!0), H(t2, null, g2(r.value, (L) => (p(), H("div", {
22841
+ key: L,
22842
+ "aria-label": L.title[n.value]
22843
22843
  }, [
22844
- l(b).length > 0 ? (p(), H("div", Iq, [
22844
+ l(L).length > 0 ? (p(), H("div", Iq, [
22845
22845
  u("ul", Eq, [
22846
- (p(!0), H(t2, null, g2(l(b), (L) => (p(), H("li", {
22847
- key: L.reference,
22846
+ (p(!0), H(t2, null, g2(l(L), (_) => (p(), H("li", {
22847
+ key: _.reference,
22848
22848
  class: "AVSeachOptionBallot--breadcrumb-item"
22849
- }, k(L.title[n.value]), 1))), 128))
22849
+ }, k(_.title[n.value]), 1))), 128))
22850
22850
  ])
22851
22851
  ])) : O("", !0),
22852
22852
  u("div", {
22853
- id: `search_result_${b.reference}`,
22853
+ id: `search_result_${L.reference}`,
22854
22854
  class: "AVSearchBallot--option",
22855
22855
  role: "button",
22856
22856
  "aria-label": B(t)("js.components.AVSearchBallot.aria_labels.go_to_option"),
22857
- onClick: S1((L) => m(b), ["prevent"])
22857
+ onClick: S1((_) => m(L), ["prevent"])
22858
22858
  }, [
22859
22859
  u("span", {
22860
22860
  class: "AVSearchBallot--link",
22861
- textContent: k(b.title[n.value])
22861
+ textContent: k(L.title[n.value])
22862
22862
  }, null, 8, Oq)
22863
22863
  ], 8, Dq)
22864
22864
  ], 8, Tq))), 128)),
@@ -23289,86 +23289,86 @@ 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
- var A;
23296
- let y = [];
23297
- return (A = a.contest.customRulesets) != null && A.includes("belgian_ballot_rules") && y.push(new yW(a.contest)), y;
23298
- }), b = E(() => {
23299
- let y = [];
23295
+ var N;
23296
+ let A = [];
23297
+ return (N = a.contest.customRulesets) != null && N.includes("belgian_ballot_rules") && A.push(new yW(a.contest)), A;
23298
+ }), L = E(() => {
23299
+ let A = [];
23300
23300
  h.value.forEach((F) => {
23301
- y.push(...F.validate(a.selectionPile));
23301
+ A.push(...F.validate(a.selectionPile));
23302
23302
  });
23303
- const A = [
23303
+ const N = [
23304
23304
  ...m.value.validate(a.selectionPile),
23305
- ...y
23305
+ ...A
23306
23306
  ];
23307
- if (V.value && A.some((F) => F.message === "cross_party_voting")) {
23307
+ if (V.value && N.some((F) => F.message === "cross_party_voting")) {
23308
23308
  let F;
23309
- A.some((q) => q.message === "exclusive") && (F = A.findIndex(
23309
+ N.some((q) => q.message === "exclusive") && (F = N.findIndex(
23310
23310
  (q) => q.message === "exclusive"
23311
- ), A.splice(F, 1)), A.some((q) => q.message === "blank") && (F = A.findIndex(
23311
+ ), N.splice(F, 1)), N.some((q) => q.message === "blank") && (F = N.findIndex(
23312
23312
  (q) => q.message === "cross_party_voting"
23313
- ), A.splice(F, 1));
23313
+ ), N.splice(F, 1));
23314
23314
  }
23315
- return c("update:errors", A), A;
23316
- }), L = E(() => b.value.length === 0), N = E(() => {
23317
- var y;
23318
- return (y = a.contest.question) == null ? void 0 : y[i.value];
23315
+ return c("update:errors", N), N;
23316
+ }), _ = E(() => L.value.length === 0), y = E(() => {
23317
+ var A;
23318
+ return (A = a.contest.question) == null ? void 0 : A[i.value];
23319
23319
  }), V = E(
23320
23320
  () => {
23321
- var y;
23322
- return (y = a.contest.customRulesets) == null ? void 0 : y.includes("belgian_ballot_rules");
23321
+ var A;
23322
+ return (A = a.contest.customRulesets) == null ? void 0 : A.includes("belgian_ballot_rules");
23323
23323
  }
23324
- ), g = E(() => a.contest.randomizeOptions ? a.contest.options.slice().sort(() => Math.random() - 0.5) : a.contest.options), _ = E(() => C(a.contest.options).some(
23325
- (y) => y.exclusive
23326
- )), M = E(() => a.contest);
23327
- s2(M, (y, A) => {
23324
+ ), M = E(() => a.contest.randomizeOptions ? a.contest.options.slice().sort(() => Math.random() - 0.5) : a.contest.options), b = E(() => C(a.contest.options).some(
23325
+ (A) => A.exclusive
23326
+ )), g = E(() => a.contest);
23327
+ s2(g, (A, N) => {
23328
23328
  var F;
23329
- A && y && y.reference !== A.reference && ((F = document.getElementById("content")) == null || F.focus(), A.searchForm && (f.value.value = ""));
23329
+ N && A && A.reference !== N.reference && ((F = document.getElementById("content")) == null || F.focus(), N.searchForm && (f.value.value = ""));
23330
23330
  });
23331
23331
  const x = () => {
23332
23332
  c("update:selectionPile", {
23333
23333
  ...a.selectionPile,
23334
23334
  explicitBlank: !a.selectionPile.explicitBlank
23335
23335
  });
23336
- }, w = ({ reference: y, amount: A }) => {
23336
+ }, w = ({ reference: A, amount: N }) => {
23337
23337
  const F = o.value.filter(
23338
- (R) => R.reference === y
23338
+ (R) => R.reference === A
23339
23339
  ).length;
23340
- A === F && (A = A - 1);
23340
+ N === F && (N = N - 1);
23341
23341
  const q = o.value.filter(
23342
- (R) => R.reference !== y
23342
+ (R) => R.reference !== A
23343
23343
  );
23344
- for (let R = 0; R < A; R++)
23345
- q.push({ reference: y });
23344
+ for (let R = 0; R < N; R++)
23345
+ q.push({ reference: A });
23346
23346
  c("update:selectionPile", {
23347
23347
  ...a.selectionPile,
23348
23348
  optionSelections: q
23349
23349
  });
23350
- }, C = (y, A) => y.flatMap((F) => (A && (F.parentContent = A), F.children ? [F, ...C(F.children, F)] : [F]));
23351
- return (y, A) => {
23350
+ }, C = (A, N) => A.flatMap((F) => (N && (F.parentContent = N), F.children ? [F, ...C(F.children, F)] : [F]));
23351
+ return (A, N) => {
23352
23352
  const F = D("AVSearchBallot"), q = D("AVWriteInOption"), R = D("AVOption"), j = D("AVBlankOption"), r2 = D("AVSubmissionHelper");
23353
23353
  return p(), H("div", {
23354
23354
  class: Y({
23355
23355
  AVBallot: !0,
23356
- "AVBallot--error": !L.value
23356
+ "AVBallot--error": !_.value
23357
23357
  }),
23358
23358
  "aria-label": B(n)("js.components.AVBallot.aria_labels.ballot"),
23359
23359
  "aria-describedby": `ballot_${e.contest.reference}`
23360
23360
  }, [
23361
- N.value ? (p(), H("h5", {
23361
+ y.value ? (p(), H("h5", {
23362
23362
  key: 0,
23363
23363
  id: `ballot_${e.contest.reference}_question`,
23364
23364
  class: "AVBallot--question",
23365
23365
  "aria-live": "polite"
23366
- }, k(N.value), 9, xW)) : O("", !0),
23366
+ }, k(y.value), 9, xW)) : O("", !0),
23367
23367
  e.contest.searchForm && !e.disabled && !e.observerMode ? (p(), K(F, {
23368
23368
  key: 1,
23369
23369
  ref_key: "search",
23370
23370
  ref: f,
23371
- options: C(g.value),
23371
+ options: C(M.value),
23372
23372
  "options-container-id": "ballot_options"
23373
23373
  }, null, 8, ["options"])) : O("", !0),
23374
23374
  kW,
@@ -23376,23 +23376,23 @@ const AW = (e) => (V1("data-v-625a4e3f"), e = e(), z1(), e), NW = ["aria-label",
23376
23376
  id: "ballot_options",
23377
23377
  class: Y({
23378
23378
  "AVBallot--options": !0,
23379
- "AVBallot--options-with-list": g.value.some(
23379
+ "AVBallot--options-with-list": M.value.some(
23380
23380
  (l2) => l2.children
23381
23381
  )
23382
23382
  }),
23383
23383
  "aria-label": B(n)("js.components.AVBallot.aria_labels.ballot_options")
23384
23384
  }, [
23385
- (p(!0), H(t2, null, g2(g.value, (l2) => (p(), H(t2, {
23385
+ (p(!0), H(t2, null, g2(M.value, (l2) => (p(), H(t2, {
23386
23386
  key: l2.reference
23387
23387
  }, [
23388
23388
  l2.writeIn ? (p(), K(q, {
23389
23389
  key: 0,
23390
23390
  "candidate-value": l.value,
23391
- "onUpdate:candidateValue": A[0] || (A[0] = (a2) => l.value = a2),
23391
+ "onUpdate:candidateValue": N[0] || (N[0] = (a2) => l.value = a2),
23392
23392
  "party-value": r.value,
23393
- "onUpdate:partyValue": A[1] || (A[1] = (a2) => r.value = a2),
23393
+ "onUpdate:partyValue": N[1] || (N[1] = (a2) => r.value = a2),
23394
23394
  "checked-value": s.value,
23395
- "onUpdate:checkedValue": A[2] || (A[2] = (a2) => s.value = a2),
23395
+ "onUpdate:checkedValue": N[2] || (N[2] = (a2) => s.value = a2),
23396
23396
  parties: [],
23397
23397
  disabled: e.disabled,
23398
23398
  observerMode: e.observerMode
@@ -23400,8 +23400,8 @@ const AW = (e) => (V1("data-v-625a4e3f"), e = e(), z1(), e), NW = ["aria-label",
23400
23400
  key: 1,
23401
23401
  selections: o.value,
23402
23402
  option: l2,
23403
- invalid: !L.value,
23404
- "exclusive-error": !V.value && l2.exclusive && b.value.some((a2) => a2.message.includes("exclusive")),
23403
+ invalid: !_.value,
23404
+ "exclusive-error": !V.value && l2.exclusive && L.value.some((a2) => a2.message.includes("exclusive")),
23405
23405
  contest: e.contest,
23406
23406
  disabled: e.disabled,
23407
23407
  observerMode: e.observerMode,
@@ -23412,9 +23412,9 @@ const AW = (e) => (V1("data-v-625a4e3f"), e = e(), z1(), e), NW = ["aria-label",
23412
23412
  e.contest.markingType.blankSubmission === "active_choice" ? (p(), K(j, {
23413
23413
  key: 0,
23414
23414
  checked: e.selectionPile.explicitBlank,
23415
- error: !V.value && b.value.some((l2) => l2.message.includes("blank")),
23415
+ error: !V.value && L.value.some((l2) => l2.message.includes("blank")),
23416
23416
  disabled: e.disabled,
23417
- invalid: !L.value,
23417
+ invalid: !_.value,
23418
23418
  observerMode: e.observerMode,
23419
23419
  accentColor: e.contest.blankOptionColor,
23420
23420
  "partial-results": e.partialResults ? e.partialResults.blank : null,
@@ -23425,18 +23425,18 @@ const AW = (e) => (V1("data-v-625a4e3f"), e = e(), z1(), e), NW = ["aria-label",
23425
23425
  key: 2,
23426
23426
  id: `ballot_${e.contest.reference}`,
23427
23427
  "chosen-count": o.value.length,
23428
- errors: b.value,
23428
+ errors: L.value,
23429
23429
  weight: d.value,
23430
23430
  "min-marks": e.contest.markingType.minMarks,
23431
23431
  "max-marks": e.contest.markingType.maxMarks,
23432
- "has-exclusive-options": _.value,
23432
+ "has-exclusive-options": b.value,
23433
23433
  class: "AVBallot--helper"
23434
23434
  }, null, 8, ["id", "chosen-count", "errors", "weight", "min-marks", "max-marks", "has-exclusive-options"])) : O("", !0)
23435
23435
  ], 10, NW);
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-d3d03ccf"), e = e(), z1(), e), EW = {
23440
23440
  key: 0,
23441
23441
  class: "AVPileSummary--summary"
23442
23442
  }, DW = {
@@ -23501,49 +23501,49 @@ 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([]), l = Z([]), f = E(() => a.selectionPile.optionSelections.length === 0), o = E(() => !a.maximumOptionsShown || s.value ? a.selectionPile.optionSelections : a.selectionPile.optionSelections.slice(
23505
23505
  0,
23506
23506
  a.maximumOptionsShown
23507
- )), 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(
23509
- (N) => m(N, b)
23507
+ )), m = E(() => a.selectionPile.optionSelections.length - o.value.length), d = (_, y) => {
23508
+ y && (_.parentContent = y), _.selectable && r.value.push(_), _.children && _.children.map(
23509
+ (V) => d(V, _)
23510
23510
  );
23511
- }, d = (b, L) => b && b.parentContent ? (L.push(b.parentContent), d(b.parentContent, L)) : L, h = E(() => {
23512
- const b = {
23511
+ }, h = (_, y) => _ && _.parentContent ? (y.push(_.parentContent), h(_.parentContent, y)) : y, L = E(() => {
23512
+ const _ = {
23513
23513
  options: [],
23514
23514
  writeIns: []
23515
23515
  };
23516
- return f.value.forEach((L) => {
23517
- if (L.text)
23518
- b.writeIns.push({
23516
+ return o.value.forEach((y) => {
23517
+ if (y.text)
23518
+ _.writeIns.push({
23519
23519
  partyLetter: "?",
23520
23520
  // TODO: Figure out how this party stuff is supposed to work
23521
23521
  partyName: "?",
23522
23522
  // TODO: Figure out how this party stuff is supposed to work
23523
- candidateName: L.text
23523
+ candidateName: y.text
23524
23524
  });
23525
23525
  else {
23526
- const N = b.options.find(
23527
- (g) => g.handle === L.reference
23526
+ const V = _.options.find(
23527
+ (b) => b.handle === y.reference
23528
23528
  );
23529
- a.contest.options.map((g) => m(g));
23530
- const V = r.value.find(
23531
- (g) => g.reference === L.reference
23529
+ l.value = a.contest.options.slice(), l.value.map((b) => d(b));
23530
+ const M = r.value.find(
23531
+ (b) => b.reference === y.reference
23532
23532
  );
23533
- N ? N.crosses += 1 : b.options.push({
23534
- title: V.title[i.value],
23535
- handle: L.reference,
23536
- image: V.image,
23533
+ V ? V.crosses += 1 : _.options.push({
23534
+ title: M.title[i.value],
23535
+ handle: y.reference,
23536
+ image: M.image,
23537
23537
  crosses: 1,
23538
- parent: V.parentContent,
23539
- rank: a.contest.markingType.voteVariation === "ranked" ? b.options.length + 1 : null
23538
+ parent: M.parentContent,
23539
+ rank: a.contest.markingType.voteVariation === "ranked" ? _.options.length + 1 : null
23540
23540
  });
23541
23541
  }
23542
23542
  r.value = [];
23543
- }), b;
23543
+ }), _;
23544
23544
  });
23545
- return (b, L) => {
23546
- const N = D("AVSummaryOption"), V = D("AVIcon");
23545
+ return (_, y) => {
23546
+ const V = D("AVSummaryOption"), M = D("AVIcon");
23547
23547
  return e.activeState === "summary" ? (p(), H("div", EW, [
23548
23548
  e.contest.markingType.maxPiles !== 1 ? (p(), H("header", DW, [
23549
23549
  u("span", null, k(B(n)("js.components.AVPileSummary.selection")) + " " + k(e.pileIndex + 1) + " / " + k(e.totalPiles), 1),
@@ -23552,15 +23552,15 @@ const TW = /* @__PURE__ */ X(wW, [["__scopeId", "data-v-625a4e3f"]]), IW = (e) =
23552
23552
  u("span", null, k(B(n)("js.components.AVPileSummary.selection")), 1)
23553
23553
  ])),
23554
23554
  u("div", BW, [
23555
- (p(!0), H(t2, null, g2(h.value.options, (g, _) => (p(), K(N, {
23556
- key: _,
23557
- option: g,
23555
+ (p(!0), H(t2, null, g2(L.value.options, (b, g) => (p(), K(V, {
23556
+ key: g,
23557
+ option: b,
23558
23558
  "multiple-votes-allowed": e.contest.markingType.votesAllowedPerOption > 1,
23559
- parents: d(g.parent, g.parent ? [g.parent] : [])
23559
+ parents: h(b.parent, b.parent ? [b.parent] : [])
23560
23560
  }, null, 8, ["option", "multiple-votes-allowed", "parents"]))), 128)),
23561
- l.value ? (p(), K(N, {
23561
+ f.value ? (p(), K(V, {
23562
23562
  key: 0,
23563
- blank: l.value
23563
+ blank: f.value
23564
23564
  }, null, 8, ["blank"])) : O("", !0)
23565
23565
  ])
23566
23566
  ])) : (p(), H("div", jW, [
@@ -23569,38 +23569,38 @@ const TW = /* @__PURE__ */ X(wW, [["__scopeId", "data-v-625a4e3f"]]), IW = (e) =
23569
23569
  class: "AVPileSummary--assign-header",
23570
23570
  "aria-label": B(n)("js.components.AVPileSummary.aria_labels.edit_selection"),
23571
23571
  role: "button",
23572
- onClick: L[0] || (L[0] = (g) => c("editCurrentSelection"))
23572
+ onClick: y[0] || (y[0] = (b) => c("editCurrentSelection"))
23573
23573
  }, [
23574
23574
  u("div", $W, [
23575
- I(V, { icon: "pen-to-square" }),
23575
+ I(M, { icon: "pen-to-square" }),
23576
23576
  u("span", null, k(B(n)("js.components.AVPileSummary.ballot_selection")) + " " + k(e.pileIndex + 1), 1)
23577
23577
  ]),
23578
23578
  e.activeState === "overview" || e.isEditing ? (p(), H("span", UW, k(B(n)("js.components.AVPileSummary.assigned")) + " " + k(e.selectionPile.multiplier), 1)) : O("", !0)
23579
23579
  ], 8, RW),
23580
23580
  u("div", qW, [
23581
- l.value ? (p(), H("p", WW, k(B(n)("js.components.AVPileSummary.blank")), 1)) : O("", !0),
23582
- (p(!0), H(t2, null, g2(h.value.options, (g, _) => (p(), H("p", {
23583
- key: _,
23581
+ f.value ? (p(), H("p", WW, k(B(n)("js.components.AVPileSummary.blank")), 1)) : O("", !0),
23582
+ (p(!0), H(t2, null, g2(L.value.options, (b, g) => (p(), H("p", {
23583
+ key: g,
23584
23584
  class: "AVPileSummary--assign-text"
23585
- }, k(g.rank ? `${g.rank}: ` : "") + k(g.title), 1))), 128)),
23586
- (p(!0), H(t2, null, g2(h.value.writeIns, (g, _) => (p(), H("p", {
23587
- key: _,
23585
+ }, k(b.rank ? `${b.rank}: ` : "") + k(b.title), 1))), 128)),
23586
+ (p(!0), H(t2, null, g2(L.value.writeIns, (b, g) => (p(), H("p", {
23587
+ key: g,
23588
23588
  class: "AVPileSummary--assign-text"
23589
23589
  }, [
23590
- u("b", null, k(g.partyLetter) + " - " + k(g.partyName), 1),
23590
+ u("b", null, k(b.partyLetter) + " - " + k(b.partyName), 1),
23591
23591
  GW,
23592
- u("span", null, k(g.candidateName), 1)
23592
+ u("span", null, k(b.candidateName), 1)
23593
23593
  ]))), 128)),
23594
- o.value > 0 ? (p(), H("p", {
23594
+ m.value > 0 ? (p(), H("p", {
23595
23595
  key: 1,
23596
23596
  role: "button",
23597
23597
  class: "AVPileSummary--show-more-button",
23598
- onClick: L[1] || (L[1] = S1((g) => s.value = !0, ["stop", "prevent"]))
23598
+ onClick: y[1] || (y[1] = S1((b) => s.value = !0, ["stop", "prevent"]))
23599
23599
  }, [
23600
23600
  u("u", null, [
23601
23601
  u("em", null, k(`${B(n)(
23602
23602
  "js.components.AVPileSummary.and_n_more_pre"
23603
- )} ${o.value} ${B(n)(
23603
+ )} ${m.value} ${B(n)(
23604
23604
  "js.components.AVPileSummary.and_n_more_pos"
23605
23605
  )}`), 1)
23606
23606
  ])
@@ -23609,7 +23609,7 @@ const TW = /* @__PURE__ */ X(wW, [["__scopeId", "data-v-625a4e3f"]]), IW = (e) =
23609
23609
  key: 2,
23610
23610
  role: "button",
23611
23611
  class: "AVPileSummary--show-more-button",
23612
- onClick: L[2] || (L[2] = S1((g) => s.value = !1, ["stop", "prevent"]))
23612
+ onClick: y[2] || (y[2] = S1((b) => s.value = !1, ["stop", "prevent"]))
23613
23613
  }, [
23614
23614
  u("u", null, [
23615
23615
  u("em", null, k(B(n)("js.components.AVPileSummary.show_less")), 1)
@@ -23622,15 +23622,15 @@ const TW = /* @__PURE__ */ X(wW, [["__scopeId", "data-v-625a4e3f"]]), IW = (e) =
23622
23622
  class: "AVPileSummary--assign-delete-button",
23623
23623
  role: "button",
23624
23624
  "aria-label": B(n)("js.components.AVPileSummary.aria_labels.delete_selection"),
23625
- onClick: L[3] || (L[3] = S1((g) => c("deleteSelection"), ["stop", "prevent"]))
23625
+ onClick: y[3] || (y[3] = S1((b) => c("deleteSelection"), ["stop", "prevent"]))
23626
23626
  }, [
23627
- I(V, { icon: "trash-can" })
23627
+ I(M, { icon: "trash-can" })
23628
23628
  ], 8, YW)) : O("", !0)
23629
23629
  ]));
23630
23630
  };
23631
23631
  }
23632
23632
  });
23633
- const XW = /* @__PURE__ */ X(QW, [["__scopeId", "data-v-b3274830"]]);
23633
+ const XW = /* @__PURE__ */ X(QW, [["__scopeId", "data-v-d3d03ccf"]]);
23634
23634
  var iI = {}, ti = O4 && O4.__spreadArray || function(e, c, a) {
23635
23635
  if (a || arguments.length === 2)
23636
23636
  for (var t = 0, n = c.length, i; t < n; t++)
@@ -23716,13 +23716,13 @@ const eG = {
23716
23716
  },
23717
23717
  { deep: !0 }
23718
23718
  );
23719
- const i = e2(null), s = e2({
23719
+ const i = Z(null), s = Z({
23720
23720
  multiplier: e.weight,
23721
23721
  optionSelections: [],
23722
23722
  explicitBlank: !1
23723
- }), r = e2(
23723
+ }), r = Z(
23724
23724
  ((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(
23725
+ ), l = Z([]), f = E(() => e.contestSelection.piles), o = E(
23726
23726
  () => {
23727
23727
  var R;
23728
23728
  return (R = f.value) == null ? void 0 : R.reduce((j, r2) => j - r2.multiplier, e.weight);
@@ -23736,19 +23736,19 @@ const eG = {
23736
23736
  })
23737
23737
  ), h = E(() => o.value === 0 && l.value.length == 0 && f.value.every(
23738
23738
  (R) => m.value.isComplete(R)
23739
- )), b = E(
23739
+ )), L = E(
23740
23740
  () => {
23741
23741
  var R;
23742
23742
  return (R = f.value) == null ? void 0 : R.reduce((j, r2) => j + r2.multiplier, 0);
23743
23743
  }
23744
- ), L = E(() => {
23744
+ ), _ = E(() => {
23745
23745
  var R;
23746
23746
  return (R = s.value) == null ? void 0 : R.multiplier;
23747
- }), N = E(
23747
+ }), y = E(
23748
23748
  () => f.value.filter((R, j) => j !== i.value).reduce((R, j) => R - j.multiplier, e.weight)
23749
23749
  ), V = E(
23750
23750
  () => e.contest.markingType.maxPiles !== 1 && e.weight > 1
23751
- ), g = E(() => i.value !== null), _ = (R) => m.value.isComplete(R), M = (R) => m.value.validate(R).length > 0, x = () => {
23751
+ ), M = E(() => i.value !== null), b = (R) => m.value.isComplete(R), g = (R) => m.value.validate(R).length > 0, x = () => {
23752
23752
  if (V.value) {
23753
23753
  const R = [...f.value];
23754
23754
  i.value === null ? R.push({ ...s.value }) : R.splice(i.value, 1, {
@@ -23767,20 +23767,20 @@ const eG = {
23767
23767
  }, C = () => {
23768
23768
  s.value = {
23769
23769
  optionSelections: [],
23770
- multiplier: N.value,
23770
+ multiplier: y.value,
23771
23771
  explicitBlank: !1
23772
23772
  }, i.value = null, r.value = "ballot";
23773
- }, y = (R) => {
23774
- f.value.splice(R, 1);
23775
23773
  }, A = (R) => {
23774
+ f.value.splice(R, 1);
23775
+ }, N = (R) => {
23776
23776
  s.value = { ...f.value[R] }, i.value = R, r.value = "ballot";
23777
23777
  }, F = (R) => {
23778
23778
  l.value = R;
23779
23779
  };
23780
- return s2(h, (R) => c("update:complete", R)), s2(L, () => {
23780
+ return s2(h, (R) => c("update:complete", R)), s2(_, () => {
23781
23781
  s.value && (s.value.multiplier = Math.max(
23782
23782
  0,
23783
- Math.min(L.value, N.value)
23783
+ Math.min(_.value, y.value)
23784
23784
  ));
23785
23785
  }), s2(s, (R) => {
23786
23786
  c("update:activePile", R);
@@ -23801,8 +23801,8 @@ const eG = {
23801
23801
  "active-selection-pile-index": i.value,
23802
23802
  "active-state": r.value,
23803
23803
  "selection-piles": f.value,
23804
- "total-weight": b.value + o.value,
23805
- "is-editing": g.value
23804
+ "total-weight": L.value + o.value,
23805
+ "is-editing": M.value
23806
23806
  }, null, 8, ["active-selection-pile-index", "active-state", "selection-piles", "total-weight", "is-editing"])) : O("", !0),
23807
23807
  I(w1, {
23808
23808
  name: "fade",
@@ -23834,7 +23834,7 @@ const eG = {
23834
23834
  u("button", {
23835
23835
  key: "assign",
23836
23836
  class: "AVSplitHelper--btn-primary",
23837
- disabled: !_(s.value) || M(s.value),
23837
+ disabled: !b(s.value) || g(s.value),
23838
23838
  onClick: j[2] || (j[2] = (C2) => r.value = "assign")
23839
23839
  }, k(B(t)("js.components.AVSplitHelper.ballot.confirm_button")), 9, iG)
23840
23840
  ])
@@ -23846,16 +23846,16 @@ const eG = {
23846
23846
  "selection-pile": s.value,
23847
23847
  contest: e.contest,
23848
23848
  "maximum-options-shown": 3,
23849
- "pile-index": g.value ? i.value : f.value.length,
23849
+ "pile-index": M.value ? i.value : f.value.length,
23850
23850
  "active-state": r.value,
23851
- "is-editing": g.value,
23851
+ "is-editing": M.value,
23852
23852
  "total-piles": e.contestSelection.piles.length,
23853
23853
  onEditCurrentSelection: j[3] || (j[3] = (C2) => r.value = "ballot")
23854
23854
  }, null, 8, ["selection-pile", "contest", "pile-index", "active-state", "is-editing", "total-piles"]),
23855
23855
  u("label", {
23856
23856
  for: `${e.contest.reference}-ballot-selector`,
23857
23857
  class: "AVSplitHelper--assign-label"
23858
- }, k(g.value ? B(t)(
23858
+ }, k(M.value ? B(t)(
23859
23859
  "js.components.AVSplitHelper.assign.ballots_to_assign_edit_mode"
23860
23860
  ) : B(t)("js.components.AVSplitHelper.assign.ballots_to_assign")), 9, oG),
23861
23861
  T1(u("input", {
@@ -23863,13 +23863,13 @@ const eG = {
23863
23863
  "onUpdate:modelValue": j[4] || (j[4] = (C2) => s.value.multiplier = C2),
23864
23864
  class: "AVSplitHelper--assign-input",
23865
23865
  type: "number",
23866
- max: N.value
23866
+ max: y.value
23867
23867
  }, null, 8, fG), [
23868
23868
  [li, s.value.multiplier]
23869
23869
  ])
23870
23870
  ]),
23871
23871
  I(h2, {
23872
- "assigned-weight": b.value,
23872
+ "assigned-weight": L.value,
23873
23873
  "unused-weight": o.value,
23874
23874
  "active-assigned": (v2 = f.value[i.value]) == null ? void 0 : v2.multiplier
23875
23875
  }, null, 8, ["assigned-weight", "unused-weight", "active-assigned"]),
@@ -23885,7 +23885,7 @@ const eG = {
23885
23885
  u("button", {
23886
23886
  key: "confirm",
23887
23887
  class: "AVSplitHelper--btn-primary",
23888
- disabled: ((A2 = s.value) == null ? void 0 : A2.multiplier) < 1 || ((k2 = s.value) == null ? void 0 : k2.multiplier) > N.value,
23888
+ disabled: ((A2 = s.value) == null ? void 0 : A2.multiplier) < 1 || ((k2 = s.value) == null ? void 0 : k2.multiplier) > y.value,
23889
23889
  onClick: j[6] || (j[6] = (C2) => x())
23890
23890
  }, k(B(t)("js.components.AVSplitHelper.assign.confirm_button")), 9, vG)
23891
23891
  ])
@@ -23914,7 +23914,7 @@ const eG = {
23914
23914
  ])),
23915
23915
  (p(!0), H(t2, null, g2(f.value, (C2, I2) => (p(), H("article", {
23916
23916
  key: `preview-${I2}`,
23917
- onClick: (j2) => A(I2)
23917
+ onClick: (j2) => N(I2)
23918
23918
  }, [
23919
23919
  I(a2, {
23920
23920
  "selection-pile": C2,
@@ -23923,7 +23923,7 @@ const eG = {
23923
23923
  "active-state": r.value,
23924
23924
  "pile-index": I2,
23925
23925
  "total-piles": e.contestSelection.piles.length,
23926
- onDeleteSelection: (j2) => y(I2)
23926
+ onDeleteSelection: (j2) => A(I2)
23927
23927
  }, null, 8, ["selection-pile", "contest", "active-state", "pile-index", "total-piles", "onDeleteSelection"])
23928
23928
  ], 8, HG))), 128))
23929
23929
  ])) : O("", !0)