@assemblyvoting/ui-library 1.3.31 → 1.3.33
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
@@ -35,8 +35,8 @@ function xk(c) {
|
|
35
35
|
Object.keys(a.elements).forEach(function(e) {
|
36
36
|
var i = a.styles[e] || {}, t = a.attributes[e] || {}, s = a.elements[e];
|
37
37
|
!u2(s) || !z2(s) || (Object.assign(s.style, i), Object.keys(t).forEach(function(n) {
|
38
|
-
var
|
39
|
-
|
38
|
+
var l = t[n];
|
39
|
+
l === !1 ? s.removeAttribute(n) : s.setAttribute(n, l === !0 ? "" : l);
|
40
40
|
}));
|
41
41
|
});
|
42
42
|
}
|
@@ -55,11 +55,11 @@ function yk(c) {
|
|
55
55
|
};
|
56
56
|
return Object.assign(a.elements.popper.style, e.popper), a.styles = e, a.elements.arrow && Object.assign(a.elements.arrow.style, e.arrow), function() {
|
57
57
|
Object.keys(a.elements).forEach(function(i) {
|
58
|
-
var t = a.elements[i], s = a.attributes[i] || {}, n = Object.keys(a.styles.hasOwnProperty(i) ? a.styles[i] : e[i]),
|
59
|
-
return
|
58
|
+
var t = a.elements[i], s = a.attributes[i] || {}, n = Object.keys(a.styles.hasOwnProperty(i) ? a.styles[i] : e[i]), l = n.reduce(function(r, m) {
|
59
|
+
return r[m] = "", r;
|
60
60
|
}, {});
|
61
|
-
!u2(t) || !z2(t) || (Object.assign(t.style,
|
62
|
-
t.removeAttribute(
|
61
|
+
!u2(t) || !z2(t) || (Object.assign(t.style, l), Object.keys(s).forEach(function(r) {
|
62
|
+
t.removeAttribute(r);
|
63
63
|
}));
|
64
64
|
});
|
65
65
|
};
|
@@ -89,7 +89,7 @@ function c1(c, a, e) {
|
|
89
89
|
a === void 0 && (a = !1), e === void 0 && (e = !1);
|
90
90
|
var i = c.getBoundingClientRect(), t = 1, s = 1;
|
91
91
|
a && u2(c) && (t = c.offsetWidth > 0 && K2(i.width) / c.offsetWidth || 1, s = c.offsetHeight > 0 && K2(i.height) / c.offsetHeight || 1);
|
92
|
-
var n = $2(c) ? l2(c) : window,
|
92
|
+
var n = $2(c) ? l2(c) : window, l = n.visualViewport, r = !E9() && e, m = (i.left + (r && l ? l.offsetLeft : 0)) / t, f = (i.top + (r && l ? l.offsetTop : 0)) / s, v = i.width / t, p = i.height / s;
|
93
93
|
return {
|
94
94
|
width: v,
|
95
95
|
height: p,
|
@@ -205,9 +205,9 @@ var kk = function(a, e) {
|
|
205
205
|
})) : a, $9(typeof a != "number" ? a : R9(a, x1));
|
206
206
|
};
|
207
207
|
function _k(c) {
|
208
|
-
var a, e = c.state, i = c.name, t = c.options, s = e.elements.arrow, n = e.modifiersData.popperOffsets,
|
208
|
+
var a, e = c.state, i = c.name, t = c.options, s = e.elements.arrow, n = e.modifiersData.popperOffsets, l = V2(e.placement), r = j4(l), m = [r2, d2].indexOf(l) >= 0, f = m ? "height" : "width";
|
209
209
|
if (!(!s || !n)) {
|
210
|
-
var v = kk(t.padding, e), p = O4(s), h =
|
210
|
+
var v = kk(t.padding, e), p = O4(s), h = r === "y" ? n2 : r2, L = r === "y" ? m2 : d2, b = e.rects.reference[f] + e.rects.reference[r] - n[r] - e.rects.popper[f], k = n[r] - e.rects.reference[r], B = y1(s), _ = B ? r === "y" ? B.clientHeight || 0 : B.clientWidth || 0 : 0, C = b / 2 - k / 2, N = v[h], D = _ - p[f] - v[L], S = _ / 2 - p[f] / 2 + C, E = v1(N, S, D), H = r;
|
211
211
|
e.modifiersData[i] = (a = {}, a[H] = E, a.centerOffset = E - S, a);
|
212
212
|
}
|
213
213
|
}
|
@@ -241,7 +241,7 @@ function Bk(c, a) {
|
|
241
241
|
};
|
242
242
|
}
|
243
243
|
function qa(c) {
|
244
|
-
var a, e = c.popper, i = c.popperRect, t = c.placement, s = c.variation, n = c.offsets,
|
244
|
+
var a, e = c.popper, i = c.popperRect, t = c.placement, s = c.variation, n = c.offsets, l = c.position, r = c.gpuAcceleration, m = c.adaptive, f = c.roundOffsets, v = c.isFixed, p = n.x, h = p === void 0 ? 0 : p, L = n.y, b = L === void 0 ? 0 : L, k = typeof f == "function" ? f({
|
245
245
|
x: h,
|
246
246
|
y: b
|
247
247
|
}) : {
|
@@ -252,13 +252,13 @@ function qa(c) {
|
|
252
252
|
var B = n.hasOwnProperty("x"), _ = n.hasOwnProperty("y"), C = r2, N = n2, D = window;
|
253
253
|
if (m) {
|
254
254
|
var S = y1(e), E = "clientHeight", H = "clientWidth";
|
255
|
-
if (S === l2(e) && (S = I2(e), M2(S).position !== "static" &&
|
255
|
+
if (S === l2(e) && (S = I2(e), M2(S).position !== "static" && l === "absolute" && (E = "scrollHeight", H = "scrollWidth")), S = S, t === n2 || (t === r2 || t === d2) && s === z1) {
|
256
256
|
N = m2;
|
257
257
|
var y = v && S === D && D.visualViewport ? D.visualViewport.height : (
|
258
258
|
// $FlowFixMe[prop-missing]
|
259
259
|
S[E]
|
260
260
|
);
|
261
|
-
b -= y - i.height, b *=
|
261
|
+
b -= y - i.height, b *= r ? 1 : -1;
|
262
262
|
}
|
263
263
|
if (t === r2 || (t === n2 || t === m2) && s === z1) {
|
264
264
|
C = d2;
|
@@ -266,11 +266,11 @@ function qa(c) {
|
|
266
266
|
// $FlowFixMe[prop-missing]
|
267
267
|
S[H]
|
268
268
|
);
|
269
|
-
h -= A - i.width, h *=
|
269
|
+
h -= A - i.width, h *= r ? 1 : -1;
|
270
270
|
}
|
271
271
|
}
|
272
272
|
var O = Object.assign({
|
273
|
-
position:
|
273
|
+
position: l
|
274
274
|
}, m && Ik), Q = f === !0 ? Bk({
|
275
275
|
x: h,
|
276
276
|
y: b
|
@@ -278,14 +278,14 @@ function qa(c) {
|
|
278
278
|
x: h,
|
279
279
|
y: b
|
280
280
|
};
|
281
|
-
if (h = Q.x, b = Q.y,
|
281
|
+
if (h = Q.x, b = Q.y, r) {
|
282
282
|
var U;
|
283
283
|
return Object.assign({}, O, (U = {}, U[N] = _ ? "0" : "", U[C] = B ? "0" : "", U.transform = (D.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + b + "px)" : "translate3d(" + h + "px, " + b + "px, 0)", U));
|
284
284
|
}
|
285
285
|
return Object.assign({}, O, (a = {}, a[N] = _ ? b + "px" : "", a[C] = B ? h + "px" : "", a.transform = "", a));
|
286
286
|
}
|
287
287
|
function Pk(c) {
|
288
|
-
var a = c.state, e = c.options, i = e.gpuAcceleration, t = i === void 0 ? !0 : i, s = e.adaptive, n = s === void 0 ? !0 : s,
|
288
|
+
var a = c.state, e = c.options, i = e.gpuAcceleration, t = i === void 0 ? !0 : i, s = e.adaptive, n = s === void 0 ? !0 : s, l = e.roundOffsets, r = l === void 0 ? !0 : l, m = {
|
289
289
|
placement: V2(a.placement),
|
290
290
|
variation: e1(a.placement),
|
291
291
|
popper: a.elements.popper,
|
@@ -297,12 +297,12 @@ function Pk(c) {
|
|
297
297
|
offsets: a.modifiersData.popperOffsets,
|
298
298
|
position: a.options.strategy,
|
299
299
|
adaptive: n,
|
300
|
-
roundOffsets:
|
300
|
+
roundOffsets: r
|
301
301
|
})))), a.modifiersData.arrow != null && (a.styles.arrow = Object.assign({}, a.styles.arrow, qa(Object.assign({}, m, {
|
302
302
|
offsets: a.modifiersData.arrow,
|
303
303
|
position: "absolute",
|
304
304
|
adaptive: !1,
|
305
|
-
roundOffsets:
|
305
|
+
roundOffsets: r
|
306
306
|
})))), a.attributes.popper = Object.assign({}, a.attributes.popper, {
|
307
307
|
"data-popper-placement": a.placement
|
308
308
|
});
|
@@ -318,13 +318,13 @@ var Q1 = {
|
|
318
318
|
passive: !0
|
319
319
|
};
|
320
320
|
function jk(c) {
|
321
|
-
var a = c.state, e = c.instance, i = c.options, t = i.scroll, s = t === void 0 ? !0 : t, n = i.resize,
|
321
|
+
var a = c.state, e = c.instance, i = c.options, t = i.scroll, s = t === void 0 ? !0 : t, n = i.resize, l = n === void 0 ? !0 : n, r = l2(a.elements.popper), m = [].concat(a.scrollParents.reference, a.scrollParents.popper);
|
322
322
|
return s && m.forEach(function(f) {
|
323
323
|
f.addEventListener("scroll", e.update, Q1);
|
324
|
-
}),
|
324
|
+
}), l && r.addEventListener("resize", e.update, Q1), function() {
|
325
325
|
s && m.forEach(function(f) {
|
326
326
|
f.removeEventListener("scroll", e.update, Q1);
|
327
|
-
}),
|
327
|
+
}), l && r.removeEventListener("resize", e.update, Q1);
|
328
328
|
};
|
329
329
|
}
|
330
330
|
const Ek = {
|
@@ -367,26 +367,26 @@ function q4(c) {
|
|
367
367
|
return c1(I2(c)).left + E4(c).scrollLeft;
|
368
368
|
}
|
369
369
|
function $k(c, a) {
|
370
|
-
var e = l2(c), i = I2(c), t = e.visualViewport, s = i.clientWidth, n = i.clientHeight,
|
370
|
+
var e = l2(c), i = I2(c), t = e.visualViewport, s = i.clientWidth, n = i.clientHeight, l = 0, r = 0;
|
371
371
|
if (t) {
|
372
372
|
s = t.width, n = t.height;
|
373
373
|
var m = E9();
|
374
|
-
(m || !m && a === "fixed") && (
|
374
|
+
(m || !m && a === "fixed") && (l = t.offsetLeft, r = t.offsetTop);
|
375
375
|
}
|
376
376
|
return {
|
377
377
|
width: s,
|
378
378
|
height: n,
|
379
|
-
x:
|
380
|
-
y:
|
379
|
+
x: l + q4(c),
|
380
|
+
y: r
|
381
381
|
};
|
382
382
|
}
|
383
383
|
function Rk(c) {
|
384
|
-
var a, e = I2(c), i = E4(c), t = (a = c.ownerDocument) == null ? void 0 : a.body, s = F2(e.scrollWidth, e.clientWidth, t ? t.scrollWidth : 0, t ? t.clientWidth : 0), n = F2(e.scrollHeight, e.clientHeight, t ? t.scrollHeight : 0, t ? t.clientHeight : 0),
|
385
|
-
return M2(t || e).direction === "rtl" && (
|
384
|
+
var a, e = I2(c), i = E4(c), t = (a = c.ownerDocument) == null ? void 0 : a.body, s = F2(e.scrollWidth, e.clientWidth, t ? t.scrollWidth : 0, t ? t.clientWidth : 0), n = F2(e.scrollHeight, e.clientHeight, t ? t.scrollHeight : 0, t ? t.clientHeight : 0), l = -i.scrollLeft + q4(c), r = -i.scrollTop;
|
385
|
+
return M2(t || e).direction === "rtl" && (l += F2(e.clientWidth, t ? t.clientWidth : 0) - s), {
|
386
386
|
width: s,
|
387
387
|
height: n,
|
388
|
-
x:
|
389
|
-
y:
|
388
|
+
x: l,
|
389
|
+
y: r
|
390
390
|
};
|
391
391
|
}
|
392
392
|
function F4(c) {
|
@@ -399,10 +399,10 @@ function U9(c) {
|
|
399
399
|
function p1(c, a) {
|
400
400
|
var e;
|
401
401
|
a === void 0 && (a = []);
|
402
|
-
var i = U9(c), t = i === ((e = c.ownerDocument) == null ? void 0 : e.body), s = l2(i), n = t ? [s].concat(s.visualViewport || [], F4(i) ? i : []) : i,
|
403
|
-
return t ?
|
402
|
+
var i = U9(c), t = i === ((e = c.ownerDocument) == null ? void 0 : e.body), s = l2(i), n = t ? [s].concat(s.visualViewport || [], F4(i) ? i : []) : i, l = a.concat(n);
|
403
|
+
return t ? l : (
|
404
404
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
405
|
-
|
405
|
+
l.concat(p1(p3(n)))
|
406
406
|
);
|
407
407
|
}
|
408
408
|
function L4(c) {
|
@@ -427,41 +427,41 @@ function Wk(c) {
|
|
427
427
|
}) : [];
|
428
428
|
}
|
429
429
|
function Gk(c, a, e, i) {
|
430
|
-
var t = a === "clippingParents" ? Wk(c) : [].concat(a), s = [].concat(t, [e]), n = s[0],
|
430
|
+
var t = a === "clippingParents" ? Wk(c) : [].concat(a), s = [].concat(t, [e]), n = s[0], l = s.reduce(function(r, m) {
|
431
431
|
var f = $a(c, m, i);
|
432
|
-
return
|
432
|
+
return r.top = F2(f.top, r.top), r.right = l3(f.right, r.right), r.bottom = l3(f.bottom, r.bottom), r.left = F2(f.left, r.left), r;
|
433
433
|
}, $a(c, n, i));
|
434
|
-
return
|
434
|
+
return l.width = l.right - l.left, l.height = l.bottom - l.top, l.x = l.left, l.y = l.top, l;
|
435
435
|
}
|
436
436
|
function W9(c) {
|
437
|
-
var a = c.reference, e = c.element, i = c.placement, t = i ? V2(i) : null, s = i ? e1(i) : null, n = a.x + a.width / 2 - e.width / 2,
|
437
|
+
var a = c.reference, e = c.element, i = c.placement, t = i ? V2(i) : null, s = i ? e1(i) : null, n = a.x + a.width / 2 - e.width / 2, l = a.y + a.height / 2 - e.height / 2, r;
|
438
438
|
switch (t) {
|
439
439
|
case n2:
|
440
|
-
|
440
|
+
r = {
|
441
441
|
x: n,
|
442
442
|
y: a.y - e.height
|
443
443
|
};
|
444
444
|
break;
|
445
445
|
case m2:
|
446
|
-
|
446
|
+
r = {
|
447
447
|
x: n,
|
448
448
|
y: a.y + a.height
|
449
449
|
};
|
450
450
|
break;
|
451
451
|
case d2:
|
452
|
-
|
452
|
+
r = {
|
453
453
|
x: a.x + a.width,
|
454
|
-
y:
|
454
|
+
y: l
|
455
455
|
};
|
456
456
|
break;
|
457
457
|
case r2:
|
458
|
-
|
458
|
+
r = {
|
459
459
|
x: a.x - e.width,
|
460
|
-
y:
|
460
|
+
y: l
|
461
461
|
};
|
462
462
|
break;
|
463
463
|
default:
|
464
|
-
|
464
|
+
r = {
|
465
465
|
x: a.x,
|
466
466
|
y: a.y
|
467
467
|
};
|
@@ -471,18 +471,18 @@ function W9(c) {
|
|
471
471
|
var f = m === "y" ? "height" : "width";
|
472
472
|
switch (s) {
|
473
473
|
case J2:
|
474
|
-
|
474
|
+
r[m] = r[m] - (a[f] / 2 - e[f] / 2);
|
475
475
|
break;
|
476
476
|
case z1:
|
477
|
-
|
477
|
+
r[m] = r[m] + (a[f] / 2 - e[f] / 2);
|
478
478
|
break;
|
479
479
|
}
|
480
480
|
}
|
481
|
-
return
|
481
|
+
return r;
|
482
482
|
}
|
483
483
|
function H1(c, a) {
|
484
484
|
a === void 0 && (a = {});
|
485
|
-
var e = a, i = e.placement, t = i === void 0 ? c.placement : i, s = e.strategy, n = s === void 0 ? c.strategy : s,
|
485
|
+
var e = a, i = e.placement, t = i === void 0 ? c.placement : i, s = e.strategy, n = s === void 0 ? c.strategy : s, l = e.boundary, r = l === void 0 ? dk : l, m = e.rootBoundary, f = m === void 0 ? O9 : m, v = e.elementContext, p = v === void 0 ? u1 : v, h = e.altBoundary, L = h === void 0 ? !1 : h, b = e.padding, k = b === void 0 ? 0 : b, B = $9(typeof k != "number" ? k : R9(k, x1)), _ = p === u1 ? vk : u1, C = c.rects.popper, N = c.elements[L ? _ : p], D = Gk($2(N) ? N : N.contextElement || I2(c.elements.popper), r, f, n), S = c1(c.elements.reference), E = W9({
|
486
486
|
reference: S,
|
487
487
|
element: C,
|
488
488
|
strategy: "absolute",
|
@@ -504,7 +504,7 @@ function H1(c, a) {
|
|
504
504
|
}
|
505
505
|
function Yk(c, a) {
|
506
506
|
a === void 0 && (a = {});
|
507
|
-
var e = a, i = e.placement, t = e.boundary, s = e.rootBoundary, n = e.padding,
|
507
|
+
var e = a, i = e.placement, t = e.boundary, s = e.rootBoundary, n = e.padding, l = e.flipVariations, r = e.allowedAutoPlacements, m = r === void 0 ? j9 : r, f = e1(i), v = f ? l ? ja : ja.filter(function(L) {
|
508
508
|
return e1(L) === f;
|
509
509
|
}) : x1, p = v.filter(function(L) {
|
510
510
|
return m.indexOf(L) >= 0;
|
@@ -531,7 +531,7 @@ function Qk(c) {
|
|
531
531
|
function Zk(c) {
|
532
532
|
var a = c.state, e = c.options, i = c.name;
|
533
533
|
if (!a.modifiersData[i]._skip) {
|
534
|
-
for (var t = e.mainAxis, s = t === void 0 ? !0 : t, n = e.altAxis,
|
534
|
+
for (var t = e.mainAxis, s = t === void 0 ? !0 : t, n = e.altAxis, l = n === void 0 ? !0 : n, r = e.fallbackPlacements, m = e.padding, f = e.boundary, v = e.rootBoundary, p = e.altBoundary, h = e.flipVariations, L = h === void 0 ? !0 : h, b = e.allowedAutoPlacements, k = a.options.placement, B = V2(k), _ = B === k, C = r || (_ || !L ? [s3(k)] : Qk(k)), N = [k].concat(C).reduce(function(W2, x2) {
|
535
535
|
return W2.concat(V2(x2) === B4 ? Yk(a, {
|
536
536
|
placement: x2,
|
537
537
|
boundary: f,
|
@@ -550,7 +550,7 @@ function Zk(c) {
|
|
550
550
|
}), W = t2 ? U ? d2 : r2 : U ? m2 : n2;
|
551
551
|
D[f2] > S[f2] && (W = s3(W));
|
552
552
|
var i2 = s3(W), s2 = [];
|
553
|
-
if (s && s2.push(Z[Q] <= 0),
|
553
|
+
if (s && s2.push(Z[Q] <= 0), l && s2.push(Z[W] <= 0, Z[i2] <= 0), s2.every(function(W2) {
|
554
554
|
return W2;
|
555
555
|
})) {
|
556
556
|
y = O, H = !1;
|
@@ -606,11 +606,11 @@ function Ua(c) {
|
|
606
606
|
function Jk(c) {
|
607
607
|
var a = c.state, e = c.name, i = a.rects.reference, t = a.rects.popper, s = a.modifiersData.preventOverflow, n = H1(a, {
|
608
608
|
elementContext: "reference"
|
609
|
-
}),
|
609
|
+
}), l = H1(a, {
|
610
610
|
altBoundary: !0
|
611
|
-
}),
|
611
|
+
}), r = Ra(n, i), m = Ra(l, t, s), f = Ua(r), v = Ua(m);
|
612
612
|
a.modifiersData[e] = {
|
613
|
-
referenceClippingOffsets:
|
613
|
+
referenceClippingOffsets: r,
|
614
614
|
popperEscapeOffsets: m,
|
615
615
|
isReferenceHidden: f,
|
616
616
|
hasPopperEscaped: v
|
@@ -629,20 +629,20 @@ const Kk = {
|
|
629
629
|
function c_(c, a, e) {
|
630
630
|
var i = V2(c), t = [r2, n2].indexOf(i) >= 0 ? -1 : 1, s = typeof e == "function" ? e(Object.assign({}, a, {
|
631
631
|
placement: c
|
632
|
-
})) : e, n = s[0],
|
633
|
-
return n = n || 0,
|
634
|
-
x:
|
632
|
+
})) : e, n = s[0], l = s[1];
|
633
|
+
return n = n || 0, l = (l || 0) * t, [r2, d2].indexOf(i) >= 0 ? {
|
634
|
+
x: l,
|
635
635
|
y: n
|
636
636
|
} : {
|
637
637
|
x: n,
|
638
|
-
y:
|
638
|
+
y: l
|
639
639
|
};
|
640
640
|
}
|
641
641
|
function e_(c) {
|
642
642
|
var a = c.state, e = c.options, i = c.name, t = e.offset, s = t === void 0 ? [0, 0] : t, n = j9.reduce(function(f, v) {
|
643
643
|
return f[v] = c_(v, a.rects, s), f;
|
644
|
-
}, {}),
|
645
|
-
a.modifiersData.popperOffsets != null && (a.modifiersData.popperOffsets.x +=
|
644
|
+
}, {}), l = n[a.placement], r = l.x, m = l.y;
|
645
|
+
a.modifiersData.popperOffsets != null && (a.modifiersData.popperOffsets.x += r, a.modifiersData.popperOffsets.y += m), a.modifiersData[i] = n;
|
646
646
|
}
|
647
647
|
const a_ = {
|
648
648
|
name: "offset",
|
@@ -671,8 +671,8 @@ function s_(c) {
|
|
671
671
|
return c === "x" ? "y" : "x";
|
672
672
|
}
|
673
673
|
function n_(c) {
|
674
|
-
var a = c.state, e = c.options, i = c.name, t = e.mainAxis, s = t === void 0 ? !0 : t, n = e.altAxis,
|
675
|
-
boundary:
|
674
|
+
var a = c.state, e = c.options, i = c.name, t = e.mainAxis, s = t === void 0 ? !0 : t, n = e.altAxis, l = n === void 0 ? !1 : n, r = e.boundary, m = e.rootBoundary, f = e.altBoundary, v = e.padding, p = e.tether, h = p === void 0 ? !0 : p, L = e.tetherOffset, b = L === void 0 ? 0 : L, k = H1(a, {
|
675
|
+
boundary: r,
|
676
676
|
rootBoundary: m,
|
677
677
|
padding: v,
|
678
678
|
altBoundary: f
|
@@ -696,7 +696,7 @@ function n_(c) {
|
|
696
696
|
}, x2 = a.modifiersData["arrow#persistent"] ? a.modifiersData["arrow#persistent"].padding : F9(), f1 = x2[t2], G1 = x2[f2], P2 = v1(0, E[Z], W2[Z]), v4 = C ? E[Z] / 2 - B2 - P2 - f1 - A.mainAxis : d4 - P2 - f1 - A.mainAxis, ck = C ? -E[Z] / 2 + B2 + P2 + G1 + A.mainAxis : o1 + P2 + G1 + A.mainAxis, p4 = a.elements.arrow && y1(a.elements.arrow), ek = p4 ? N === "y" ? p4.clientTop || 0 : p4.clientLeft || 0 : 0, Sa = (U = O == null ? void 0 : O[N]) != null ? U : 0, ak = W + v4 - Sa - ek, ik = W + ck - Sa, wa = v1(h ? l3(i2, ak) : i2, W, h ? F2(s2, ik) : s2);
|
697
697
|
S[N] = wa, Q[N] = wa - W;
|
698
698
|
}
|
699
|
-
if (
|
699
|
+
if (l) {
|
700
700
|
var ka, tk = N === "x" ? n2 : r2, sk = N === "x" ? m2 : d2, O2 = S[D], Y1 = D === "y" ? "height" : "width", _a = O2 + k[tk], Ta = O2 - k[sk], h4 = [n2, r2].indexOf(B) !== -1, Da = (ka = O == null ? void 0 : O[D]) != null ? ka : 0, Ia = h4 ? _a : O2 - E[Y1] - H[Y1] - Da + A.altAxis, Ba = h4 ? O2 + E[Y1] + H[Y1] - Da - A.altAxis : Ta, Pa = h && h4 ? wk(Ia, O2, Ba) : v1(h ? Ia : _a, O2, h ? Ba : Ta);
|
701
701
|
S[D] = Pa, Q[D] = Pa - O2;
|
702
702
|
}
|
@@ -725,17 +725,17 @@ function f_(c) {
|
|
725
725
|
}
|
726
726
|
function u_(c, a, e) {
|
727
727
|
e === void 0 && (e = !1);
|
728
|
-
var i = u2(a), t = u2(a) && f_(a), s = I2(a), n = c1(c, t, e),
|
728
|
+
var i = u2(a), t = u2(a) && f_(a), s = I2(a), n = c1(c, t, e), l = {
|
729
729
|
scrollLeft: 0,
|
730
730
|
scrollTop: 0
|
731
|
-
},
|
731
|
+
}, r = {
|
732
732
|
x: 0,
|
733
733
|
y: 0
|
734
734
|
};
|
735
735
|
return (i || !i && !e) && ((z2(a) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
736
|
-
F4(s)) && (
|
737
|
-
x: n.left +
|
738
|
-
y: n.top +
|
736
|
+
F4(s)) && (l = o_(a)), u2(a) ? (r = c1(a, !0), r.x += a.clientLeft, r.y += a.clientTop) : s && (r.x = q4(s))), {
|
737
|
+
x: n.left + l.scrollLeft - r.x,
|
738
|
+
y: n.top + l.scrollTop - r.y,
|
739
739
|
width: n.width,
|
740
740
|
height: n.height
|
741
741
|
};
|
@@ -748,10 +748,10 @@ function m_(c) {
|
|
748
748
|
function t(s) {
|
749
749
|
e.add(s.name);
|
750
750
|
var n = [].concat(s.requires || [], s.requiresIfExists || []);
|
751
|
-
n.forEach(function(
|
752
|
-
if (!e.has(
|
753
|
-
var
|
754
|
-
|
751
|
+
n.forEach(function(l) {
|
752
|
+
if (!e.has(l)) {
|
753
|
+
var r = a.get(l);
|
754
|
+
r && t(r);
|
755
755
|
}
|
756
756
|
}), i.push(s);
|
757
757
|
}
|
@@ -804,7 +804,7 @@ function Ga() {
|
|
804
804
|
function h_(c) {
|
805
805
|
c === void 0 && (c = {});
|
806
806
|
var a = c, e = a.defaultModifiers, i = e === void 0 ? [] : e, t = a.defaultOptions, s = t === void 0 ? Wa : t;
|
807
|
-
return function(
|
807
|
+
return function(l, r, m) {
|
808
808
|
m === void 0 && (m = s);
|
809
809
|
var f = {
|
810
810
|
placement: "bottom",
|
@@ -812,8 +812,8 @@ function h_(c) {
|
|
812
812
|
options: Object.assign({}, Wa, s),
|
813
813
|
modifiersData: {},
|
814
814
|
elements: {
|
815
|
-
reference:
|
816
|
-
popper:
|
815
|
+
reference: l,
|
816
|
+
popper: r
|
817
817
|
},
|
818
818
|
attributes: {},
|
819
819
|
styles: {}
|
@@ -822,8 +822,8 @@ function h_(c) {
|
|
822
822
|
setOptions: function(B) {
|
823
823
|
var _ = typeof B == "function" ? B(f.options) : B;
|
824
824
|
b(), f.options = Object.assign({}, s, f.options, _), f.scrollParents = {
|
825
|
-
reference: $2(
|
826
|
-
popper: p1(
|
825
|
+
reference: $2(l) ? p1(l) : l.contextElement ? p1(l.contextElement) : [],
|
826
|
+
popper: p1(r)
|
827
827
|
};
|
828
828
|
var C = d_(p_([].concat(i, f.options.modifiers)));
|
829
829
|
return f.orderedModifiers = C.filter(function(N) {
|
@@ -872,7 +872,7 @@ function h_(c) {
|
|
872
872
|
b(), p = !0;
|
873
873
|
}
|
874
874
|
};
|
875
|
-
if (!Ga(
|
875
|
+
if (!Ga(l, r))
|
876
876
|
return h;
|
877
877
|
h.setOptions(m).then(function(k) {
|
878
878
|
!p && m.onFirstUpdate && m.onFirstUpdate(k);
|
@@ -918,17 +918,17 @@ function g_(c, a) {
|
|
918
918
|
}
|
919
919
|
function C_(c, a = {}) {
|
920
920
|
let e, i, t = o3;
|
921
|
-
const s = (
|
922
|
-
clearTimeout(
|
921
|
+
const s = (l) => {
|
922
|
+
clearTimeout(l), t(), t = o3;
|
923
923
|
};
|
924
|
-
return (
|
925
|
-
const
|
926
|
-
return e && s(e),
|
924
|
+
return (l) => {
|
925
|
+
const r = f3(c), m = f3(a.maxWait);
|
926
|
+
return e && s(e), r <= 0 || m !== void 0 && m <= 0 ? (i && (s(i), i = null), Promise.resolve(l())) : new Promise((f, v) => {
|
927
927
|
t = a.rejectOnCancel ? v : f, m && !i && (i = setTimeout(() => {
|
928
|
-
e && s(e), i = null, f(
|
928
|
+
e && s(e), i = null, f(l());
|
929
929
|
}, m)), e = setTimeout(() => {
|
930
|
-
i && s(i), i = null, f(
|
931
|
-
},
|
930
|
+
i && s(i), i = null, f(l());
|
931
|
+
}, r);
|
932
932
|
});
|
933
933
|
};
|
934
934
|
}
|
@@ -954,10 +954,10 @@ function V4(...c) {
|
|
954
954
|
Array.isArray(e) || (e = [e]), Array.isArray(i) || (i = [i]);
|
955
955
|
const s = [], n = () => {
|
956
956
|
s.forEach((f) => f()), s.length = 0;
|
957
|
-
},
|
958
|
-
n(), f && s.push(...e.flatMap((p) => i.map((h) =>
|
957
|
+
}, l = (f, v, p, h) => (f.addEventListener(v, p, h), () => f.removeEventListener(v, p, h)), r = e2(() => [m1(a), f3(t)], ([f, v]) => {
|
958
|
+
n(), f && s.push(...e.flatMap((p) => i.map((h) => l(f, p, h, v))));
|
959
959
|
}, { immediate: !0, flush: "post" }), m = () => {
|
960
|
-
|
960
|
+
r(), n();
|
961
961
|
};
|
962
962
|
return b_(m), m;
|
963
963
|
}
|
@@ -967,8 +967,8 @@ function x_(c, a, e = {}) {
|
|
967
967
|
if (!i)
|
968
968
|
return;
|
969
969
|
M_ && !Za && (Za = !0, Array.from(i.document.body.children).forEach((p) => p.addEventListener("click", o3)));
|
970
|
-
let
|
971
|
-
const
|
970
|
+
let l = !0;
|
971
|
+
const r = (p) => t.some((h) => {
|
972
972
|
if (typeof h == "string")
|
973
973
|
return Array.from(i.document.querySelectorAll(h)).some((L) => L === p.target || p.composedPath().includes(L));
|
974
974
|
{
|
@@ -979,8 +979,8 @@ function x_(c, a, e = {}) {
|
|
979
979
|
V4(i, "click", (p) => {
|
980
980
|
const h = m1(c);
|
981
981
|
if (!(!h || h === p.target || p.composedPath().includes(h))) {
|
982
|
-
if (p.detail === 0 && (
|
983
|
-
|
982
|
+
if (p.detail === 0 && (l = !r(p)), !l) {
|
983
|
+
l = !0;
|
984
984
|
return;
|
985
985
|
}
|
986
986
|
a(p);
|
@@ -988,7 +988,7 @@ function x_(c, a, e = {}) {
|
|
988
988
|
}, { passive: !0, capture: s }),
|
989
989
|
V4(i, "pointerdown", (p) => {
|
990
990
|
const h = m1(c);
|
991
|
-
h && (
|
991
|
+
h && (l = !p.composedPath().includes(h) && !r(p));
|
992
992
|
}, { passive: !0 }),
|
993
993
|
n && V4(i, "blur", (p) => {
|
994
994
|
var h;
|
@@ -1101,7 +1101,7 @@ const a9 = {
|
|
1101
1101
|
}
|
1102
1102
|
},
|
1103
1103
|
...c
|
1104
|
-
}, i = F(void 0), t = F(void 0), s = F(void 0), n = F(!1),
|
1104
|
+
}, i = F(void 0), t = F(void 0), s = F(void 0), n = F(!1), l = F(!1), r = F(!1), m = F(e.placement || "top"), f = g(() => {
|
1105
1105
|
let { modifiers: H } = a9;
|
1106
1106
|
return e.modifiers && (H = [...H, ...e.modifiers]), {
|
1107
1107
|
...a9,
|
@@ -1121,7 +1121,7 @@ const a9 = {
|
|
1121
1121
|
n.value = !1;
|
1122
1122
|
return;
|
1123
1123
|
}
|
1124
|
-
|
1124
|
+
l.value === !1 && r.value === !1 && (n.value = !1);
|
1125
1125
|
}, v()), L = (H = "") => {
|
1126
1126
|
let y = H;
|
1127
1127
|
if (H === "" && (y = n.value ? "close" : "open"), y === "open") {
|
@@ -1130,7 +1130,7 @@ const a9 = {
|
|
1130
1130
|
}
|
1131
1131
|
h();
|
1132
1132
|
}, b = (H = "", y = "") => {
|
1133
|
-
e.hover !== !1 && (y === "trigger" ?
|
1133
|
+
e.hover !== !1 && (y === "trigger" ? l.value = H === "open" : r.value = H === "open", L(H));
|
1134
1134
|
}, k = function(H, y) {
|
1135
1135
|
const { slots: A } = y;
|
1136
1136
|
return j2(
|
@@ -1391,7 +1391,7 @@ const a9 = {
|
|
1391
1391
|
setup(c, { expose: a, emit: e }) {
|
1392
1392
|
const i = c;
|
1393
1393
|
Object.keys(i.popperOptions).length > 0 && console.warn("@kalimahapps/vue-popper: popperOptions is deprecated. Use the individual props instead.");
|
1394
|
-
const { popperInstance: t, triggerElement: s, tooltipElement: n, isOpened:
|
1394
|
+
const { popperInstance: t, triggerElement: s, tooltipElement: n, isOpened: l } = __({
|
1395
1395
|
hover: i.hover,
|
1396
1396
|
disableClickOutside: i.disableClickOutside,
|
1397
1397
|
openDelay: i.openDelay,
|
@@ -1403,8 +1403,8 @@ const a9 = {
|
|
1403
1403
|
placement: i.placement,
|
1404
1404
|
interactive: i.interactive,
|
1405
1405
|
animationDuration: i.animationDuration,
|
1406
|
-
onTransition: (
|
1407
|
-
e("transition",
|
1406
|
+
onTransition: (r, m) => {
|
1407
|
+
e("transition", r, m);
|
1408
1408
|
},
|
1409
1409
|
onOpened: () => {
|
1410
1410
|
e("opened");
|
@@ -1415,17 +1415,17 @@ const a9 = {
|
|
1415
1415
|
});
|
1416
1416
|
return a({
|
1417
1417
|
popper: t,
|
1418
|
-
isOpened: g(() =>
|
1419
|
-
}), (
|
1418
|
+
isOpened: g(() => l.value)
|
1419
|
+
}), (r, m) => (u(), d("div", T_, [
|
1420
1420
|
(u(), q(Oa(Z2(s)), null, {
|
1421
1421
|
default: $(() => [
|
1422
|
-
K(
|
1422
|
+
K(r.$slots, "default")
|
1423
1423
|
]),
|
1424
1424
|
_: 3
|
1425
1425
|
})),
|
1426
1426
|
(u(), q(Oa(Z2(n)), null, {
|
1427
1427
|
default: $(() => [
|
1428
|
-
K(
|
1428
|
+
K(r.$slots, "content")
|
1429
1429
|
]),
|
1430
1430
|
_: 3
|
1431
1431
|
}))
|
@@ -10980,18 +10980,18 @@ function F_(c) {
|
|
10980
10980
|
function $_(c, a) {
|
10981
10981
|
var e = c == null ? null : typeof Symbol < "u" && c[Symbol.iterator] || c["@@iterator"];
|
10982
10982
|
if (e != null) {
|
10983
|
-
var i = [], t = !0, s = !1, n,
|
10983
|
+
var i = [], t = !0, s = !1, n, l;
|
10984
10984
|
try {
|
10985
10985
|
for (e = e.call(c); !(t = (n = e.next()).done) && (i.push(n.value), !(a && i.length === a)); t = !0)
|
10986
10986
|
;
|
10987
|
-
} catch (
|
10988
|
-
s = !0,
|
10987
|
+
} catch (r) {
|
10988
|
+
s = !0, l = r;
|
10989
10989
|
} finally {
|
10990
10990
|
try {
|
10991
10991
|
!t && e.return != null && e.return();
|
10992
10992
|
} finally {
|
10993
10993
|
if (s)
|
10994
|
-
throw
|
10994
|
+
throw l;
|
10995
10995
|
}
|
10996
10996
|
}
|
10997
10997
|
return i;
|
@@ -11249,20 +11249,20 @@ function ga(c) {
|
|
11249
11249
|
function fT(c) {
|
11250
11250
|
var a = c.transform, e = c.containerWidth, i = c.iconWidth, t = {
|
11251
11251
|
transform: "translate(".concat(e / 2, " 256)")
|
11252
|
-
}, s = "translate(".concat(a.x * 32, ", ").concat(a.y * 32, ") "), n = "scale(".concat(a.size / 16 * (a.flipX ? -1 : 1), ", ").concat(a.size / 16 * (a.flipY ? -1 : 1), ") "),
|
11253
|
-
transform: "".concat(s, " ").concat(n, " ").concat(
|
11252
|
+
}, s = "translate(".concat(a.x * 32, ", ").concat(a.y * 32, ") "), n = "scale(".concat(a.size / 16 * (a.flipX ? -1 : 1), ", ").concat(a.size / 16 * (a.flipY ? -1 : 1), ") "), l = "rotate(".concat(a.rotate, " 0 0)"), r = {
|
11253
|
+
transform: "".concat(s, " ").concat(n, " ").concat(l)
|
11254
11254
|
}, m = {
|
11255
11255
|
transform: "translate(".concat(i / 2 * -1, " -256)")
|
11256
11256
|
};
|
11257
11257
|
return {
|
11258
11258
|
outer: t,
|
11259
|
-
inner:
|
11259
|
+
inner: r,
|
11260
11260
|
path: m
|
11261
11261
|
};
|
11262
11262
|
}
|
11263
11263
|
function uT(c) {
|
11264
|
-
var a = c.transform, e = c.width, i = e === void 0 ? x4 : e, t = c.height, s = t === void 0 ? x4 : t, n = c.startCentered,
|
11265
|
-
return
|
11264
|
+
var a = c.transform, e = c.width, i = e === void 0 ? x4 : e, t = c.height, s = t === void 0 ? x4 : t, n = c.startCentered, l = n === void 0 ? !1 : n, r = "";
|
11265
|
+
return l && Aw ? r += "translate(".concat(a.x / y2 - i / 2, "em, ").concat(a.y / y2 - s / 2, "em) ") : l ? r += "translate(calc(-50% + ".concat(a.x / y2, "em), calc(-50% + ").concat(a.y / y2, "em)) ") : r += "translate(".concat(a.x / y2, "em, ").concat(a.y / y2, "em) "), r += "scale(".concat(a.size / y2 * (a.flipX ? -1 : 1), ", ").concat(a.size / y2 * (a.flipY ? -1 : 1), ") "), r += "rotate(".concat(a.rotate, "deg) "), r;
|
11266
11266
|
}
|
11267
11267
|
var mT = `:root, :host {
|
11268
11268
|
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
|
@@ -12024,8 +12024,8 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
12024
12024
|
function Iw() {
|
12025
12025
|
var c = Nw, a = Sw, e = T.cssPrefix, i = T.replacementClass, t = mT;
|
12026
12026
|
if (e !== c || i !== a) {
|
12027
|
-
var s = new RegExp("\\.".concat(c, "\\-"), "g"), n = new RegExp("\\--".concat(c, "\\-"), "g"),
|
12028
|
-
t = t.replace(s, ".".concat(e, "-")).replace(n, "--".concat(e, "-")).replace(
|
12027
|
+
var s = new RegExp("\\.".concat(c, "\\-"), "g"), n = new RegExp("\\--".concat(c, "\\-"), "g"), l = new RegExp("\\.".concat(a), "g");
|
12028
|
+
t = t.replace(s, ".".concat(e, "-")).replace(n, "--".concat(e, "-")).replace(l, ".".concat(i));
|
12029
12029
|
}
|
12030
12030
|
return t;
|
12031
12031
|
}
|
@@ -12083,9 +12083,9 @@ var hT = function(a, e) {
|
|
12083
12083
|
return a.call(e, i, t, s, n);
|
12084
12084
|
};
|
12085
12085
|
}, H4 = function(a, e, i, t) {
|
12086
|
-
var s = Object.keys(a), n = s.length,
|
12087
|
-
for (i === void 0 ? (
|
12088
|
-
m = s[
|
12086
|
+
var s = Object.keys(a), n = s.length, l = t !== void 0 ? hT(e, t) : e, r, m, f;
|
12087
|
+
for (i === void 0 ? (r = 1, f = a[s[0]]) : (r = 0, f = i); r < n; r++)
|
12088
|
+
m = s[r], f = l(f, a[m], m, a);
|
12089
12089
|
return f;
|
12090
12090
|
};
|
12091
12091
|
function VT(c) {
|
@@ -12127,44 +12127,44 @@ function LT(c, a) {
|
|
12127
12127
|
}
|
12128
12128
|
var Fw = function() {
|
12129
12129
|
var a = function(s) {
|
12130
|
-
return H4(G2, function(n,
|
12131
|
-
return n[
|
12130
|
+
return H4(G2, function(n, l, r) {
|
12131
|
+
return n[r] = H4(l, s, {}), n;
|
12132
12132
|
}, {});
|
12133
12133
|
};
|
12134
12134
|
Pw = a(function(t, s, n) {
|
12135
12135
|
if (s[3] && (t[s[3]] = n), s[2]) {
|
12136
|
-
var
|
12137
|
-
return typeof
|
12136
|
+
var l = s[2].filter(function(r) {
|
12137
|
+
return typeof r == "number";
|
12138
12138
|
});
|
12139
|
-
|
12140
|
-
t[
|
12139
|
+
l.forEach(function(r) {
|
12140
|
+
t[r.toString(16)] = n;
|
12141
12141
|
});
|
12142
12142
|
}
|
12143
12143
|
return t;
|
12144
12144
|
}), Ow = a(function(t, s, n) {
|
12145
12145
|
if (t[n] = n, s[2]) {
|
12146
|
-
var
|
12147
|
-
return typeof
|
12146
|
+
var l = s[2].filter(function(r) {
|
12147
|
+
return typeof r == "string";
|
12148
12148
|
});
|
12149
|
-
|
12150
|
-
t[
|
12149
|
+
l.forEach(function(r) {
|
12150
|
+
t[r] = n;
|
12151
12151
|
});
|
12152
12152
|
}
|
12153
12153
|
return t;
|
12154
12154
|
}), qw = a(function(t, s, n) {
|
12155
|
-
var
|
12156
|
-
return t[n] = n,
|
12157
|
-
t[
|
12155
|
+
var l = s[2];
|
12156
|
+
return t[n] = n, l.forEach(function(r) {
|
12157
|
+
t[r] = n;
|
12158
12158
|
}), t;
|
12159
12159
|
});
|
12160
12160
|
var e = "far" in G2 || T.autoFetchSvg, i = H4(HT, function(t, s) {
|
12161
|
-
var n = s[0],
|
12162
|
-
return
|
12163
|
-
prefix:
|
12164
|
-
iconName:
|
12161
|
+
var n = s[0], l = s[1], r = s[2];
|
12162
|
+
return l === "far" && !e && (l = "fas"), typeof n == "string" && (t.names[n] = {
|
12163
|
+
prefix: l,
|
12164
|
+
iconName: r
|
12165
12165
|
}), typeof n == "number" && (t.unicodes[n.toString(16)] = {
|
12166
|
-
prefix:
|
12167
|
-
iconName:
|
12166
|
+
prefix: l,
|
12167
|
+
iconName: r
|
12168
12168
|
}), t;
|
12169
12169
|
}, {
|
12170
12170
|
names: {},
|
@@ -12221,23 +12221,23 @@ function o4(c) {
|
|
12221
12221
|
}
|
12222
12222
|
var p9 = (t3 = {}, a2(t3, G, Object.keys(C1[G])), a2(t3, J, Object.keys(C1[J])), t3);
|
12223
12223
|
function f4(c) {
|
12224
|
-
var a, e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = e.skipLookups, t = i === void 0 ? !1 : i, s = (a = {}, a2(a, G, "".concat(T.cssPrefix, "-").concat(G)), a2(a, J, "".concat(T.cssPrefix, "-").concat(J)), a), n = null,
|
12224
|
+
var a, e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = e.skipLookups, t = i === void 0 ? !1 : i, s = (a = {}, a2(a, G, "".concat(T.cssPrefix, "-").concat(G)), a2(a, J, "".concat(T.cssPrefix, "-").concat(J)), a), n = null, l = G;
|
12225
12225
|
(c.includes(s[G]) || c.some(function(m) {
|
12226
12226
|
return p9[G].includes(m);
|
12227
|
-
})) && (
|
12227
|
+
})) && (l = G), (c.includes(s[J]) || c.some(function(m) {
|
12228
12228
|
return p9[J].includes(m);
|
12229
|
-
})) && (
|
12230
|
-
var
|
12229
|
+
})) && (l = J);
|
12230
|
+
var r = c.reduce(function(m, f) {
|
12231
12231
|
var v = LT(T.cssPrefix, f);
|
12232
|
-
if (G2[f] ? (f = MT[
|
12233
|
-
family:
|
12232
|
+
if (G2[f] ? (f = MT[l].includes(f) ? Z_[l][f] : f, n = f, m.prefix = f) : gT[l].indexOf(f) > -1 ? (n = f, m.prefix = o4(f, {
|
12233
|
+
family: l
|
12234
12234
|
})) : v ? m.iconName = v : f !== T.replacementClass && f !== s[G] && f !== s[J] && m.rest.push(f), !t && m.prefix && m.iconName) {
|
12235
12235
|
var p = n === "fa" ? $w(m.iconName) : {}, h = q2(m.prefix, m.iconName);
|
12236
12236
|
p.prefix && (n = null), m.iconName = p.iconName || h || m.iconName, m.prefix = p.prefix || m.prefix, m.prefix === "far" && !G2.far && G2.fas && !T.autoFetchSvg && (m.prefix = "fas");
|
12237
12237
|
}
|
12238
12238
|
return m;
|
12239
12239
|
}, ba());
|
12240
|
-
return (c.includes("fa-brands") || c.includes("fab")) && (
|
12240
|
+
return (c.includes("fa-brands") || c.includes("fab")) && (r.prefix = "fab"), (c.includes("fa-duotone") || c.includes("fad")) && (r.prefix = "fad"), !r.prefix && l === J && (G2.fass || T.autoFetchSvg) && (r.prefix = "fass", r.iconName = q2(r.prefix, r.iconName) || r.iconName), (r.prefix === "fa" || n === "fa") && (r.prefix = k2() || "fas"), r;
|
12241
12241
|
}
|
12242
12242
|
var yT = /* @__PURE__ */ function() {
|
12243
12243
|
function c() {
|
@@ -12249,10 +12249,10 @@ var yT = /* @__PURE__ */ function() {
|
|
12249
12249
|
for (var e = this, i = arguments.length, t = new Array(i), s = 0; s < i; s++)
|
12250
12250
|
t[s] = arguments[s];
|
12251
12251
|
var n = t.reduce(this._pullDefinitions, {});
|
12252
|
-
Object.keys(n).forEach(function(
|
12253
|
-
e.definitions[
|
12254
|
-
var
|
12255
|
-
|
12252
|
+
Object.keys(n).forEach(function(l) {
|
12253
|
+
e.definitions[l] = w(w({}, e.definitions[l] || {}), n[l]), N4(l, n[l]);
|
12254
|
+
var r = C1[G][l];
|
12255
|
+
r && N4(r, n[l]), Fw();
|
12256
12256
|
});
|
12257
12257
|
}
|
12258
12258
|
}, {
|
@@ -12267,10 +12267,10 @@ var yT = /* @__PURE__ */ function() {
|
|
12267
12267
|
0: i
|
12268
12268
|
} : i;
|
12269
12269
|
return Object.keys(t).map(function(s) {
|
12270
|
-
var n = t[s],
|
12271
|
-
e[
|
12272
|
-
typeof v == "string" && (e[
|
12273
|
-
}), e[
|
12270
|
+
var n = t[s], l = n.prefix, r = n.iconName, m = n.icon, f = m[2];
|
12271
|
+
e[l] || (e[l] = {}), f.length > 0 && f.forEach(function(v) {
|
12272
|
+
typeof v == "string" && (e[l][v] = m);
|
12273
|
+
}), e[l][r] = m;
|
12274
12274
|
}), e;
|
12275
12275
|
}
|
12276
12276
|
}]), c;
|
@@ -12282,8 +12282,8 @@ function NT(c, a) {
|
|
12282
12282
|
}), h9.forEach(function(i) {
|
12283
12283
|
var t = i.mixout ? i.mixout() : {};
|
12284
12284
|
if (Object.keys(t).forEach(function(n) {
|
12285
|
-
typeof t[n] == "function" && (e[n] = t[n]), u3(t[n]) === "object" && Object.keys(t[n]).forEach(function(
|
12286
|
-
e[n] || (e[n] = {}), e[n][
|
12285
|
+
typeof t[n] == "function" && (e[n] = t[n]), u3(t[n]) === "object" && Object.keys(t[n]).forEach(function(l) {
|
12286
|
+
e[n] || (e[n] = {}), e[n][l] = t[n][l];
|
12287
12287
|
});
|
12288
12288
|
}), i.hooks) {
|
12289
12289
|
var s = i.hooks();
|
@@ -12403,8 +12403,8 @@ function u4(c, a) {
|
|
12403
12403
|
function TT(c) {
|
12404
12404
|
var a = c.children, e = c.main, i = c.mask, t = c.attributes, s = c.styles, n = c.transform;
|
12405
12405
|
if (ga(n) && e.found && !i.found) {
|
12406
|
-
var
|
12407
|
-
x:
|
12406
|
+
var l = e.width, r = e.height, m = {
|
12407
|
+
x: l / r / 2,
|
12408
12408
|
y: 0.5
|
12409
12409
|
};
|
12410
12410
|
t.style = l4(w(w({}, s), {}, {
|
@@ -12434,7 +12434,7 @@ function DT(c) {
|
|
12434
12434
|
}];
|
12435
12435
|
}
|
12436
12436
|
function xa(c) {
|
12437
|
-
var a = c.icons, e = a.main, i = a.mask, t = c.prefix, s = c.iconName, n = c.transform,
|
12437
|
+
var a = c.icons, e = a.main, i = a.mask, t = c.prefix, s = c.iconName, n = c.transform, l = c.symbol, r = c.title, m = c.maskId, f = c.titleId, v = c.extra, p = c.watchable, h = p === void 0 ? !1 : p, L = i.found ? i : e, b = L.width, k = L.height, B = t === "fak", _ = [T.replacementClass, s ? "".concat(T.cssPrefix, "-").concat(s) : ""].filter(function(y) {
|
12438
12438
|
return v.classes.indexOf(y) === -1;
|
12439
12439
|
}).filter(function(y) {
|
12440
12440
|
return y !== "" || !!y;
|
@@ -12451,12 +12451,12 @@ function xa(c) {
|
|
12451
12451
|
}, N = B && !~v.classes.indexOf("fa-fw") ? {
|
12452
12452
|
width: "".concat(b / k * 16 * 0.0625, "em")
|
12453
12453
|
} : {};
|
12454
|
-
h && (C.attributes[R2] = ""),
|
12454
|
+
h && (C.attributes[R2] = ""), r && (C.children.push({
|
12455
12455
|
tag: "title",
|
12456
12456
|
attributes: {
|
12457
12457
|
id: C.attributes["aria-labelledby"] || "title-".concat(f || b1())
|
12458
12458
|
},
|
12459
|
-
children: [
|
12459
|
+
children: [r]
|
12460
12460
|
}), delete C.attributes.title);
|
12461
12461
|
var D = w(w({}, C), {}, {
|
12462
12462
|
prefix: t,
|
@@ -12465,7 +12465,7 @@ function xa(c) {
|
|
12465
12465
|
mask: i,
|
12466
12466
|
maskId: m,
|
12467
12467
|
transform: n,
|
12468
|
-
symbol:
|
12468
|
+
symbol: l,
|
12469
12469
|
styles: w(w({}, N), v.styles)
|
12470
12470
|
}), S = i.found && e.found ? L2("generateAbstractMask", D) || {
|
12471
12471
|
children: [],
|
@@ -12474,15 +12474,15 @@ function xa(c) {
|
|
12474
12474
|
children: [],
|
12475
12475
|
attributes: {}
|
12476
12476
|
}, E = S.children, H = S.attributes;
|
12477
|
-
return D.children = E, D.attributes = H,
|
12477
|
+
return D.children = E, D.attributes = H, l ? DT(D) : TT(D);
|
12478
12478
|
}
|
12479
12479
|
function V9(c) {
|
12480
|
-
var a = c.content, e = c.width, i = c.height, t = c.transform, s = c.title, n = c.extra,
|
12480
|
+
var a = c.content, e = c.width, i = c.height, t = c.transform, s = c.title, n = c.extra, l = c.watchable, r = l === void 0 ? !1 : l, m = w(w(w({}, n.attributes), s ? {
|
12481
12481
|
title: s
|
12482
12482
|
} : {}), {}, {
|
12483
12483
|
class: n.classes.join(" ")
|
12484
12484
|
});
|
12485
|
-
|
12485
|
+
r && (m[R2] = "");
|
12486
12486
|
var f = w({}, n.styles);
|
12487
12487
|
ga(t) && (f.transform = uT({
|
12488
12488
|
transform: t,
|
@@ -12660,16 +12660,16 @@ var r3 = {
|
|
12660
12660
|
return r3.replace(a);
|
12661
12661
|
var t = new RegExp("".concat(T.cssPrefix, "-.*"));
|
12662
12662
|
if (delete i[0].attributes.id, i[0].attributes.class) {
|
12663
|
-
var s = i[0].attributes.class.split(" ").reduce(function(
|
12664
|
-
return
|
12663
|
+
var s = i[0].attributes.class.split(" ").reduce(function(l, r) {
|
12664
|
+
return r === T.replacementClass || r.match(t) ? l.toSvg.push(r) : l.toNode.push(r), l;
|
12665
12665
|
}, {
|
12666
12666
|
toNode: [],
|
12667
12667
|
toSvg: []
|
12668
12668
|
});
|
12669
12669
|
i[0].attributes.class = s.toSvg.join(" "), s.toNode.length === 0 ? e.removeAttribute("class") : e.setAttribute("class", s.toNode.join(" "));
|
12670
12670
|
}
|
12671
|
-
var n = i.map(function(
|
12672
|
-
return U1(
|
12671
|
+
var n = i.map(function(l) {
|
12672
|
+
return U1(l);
|
12673
12673
|
}).join(`
|
12674
12674
|
`);
|
12675
12675
|
e.setAttribute(R2, ""), e.innerHTML = n;
|
@@ -12700,7 +12700,7 @@ function D4() {
|
|
12700
12700
|
var d3 = null;
|
12701
12701
|
function g9(c) {
|
12702
12702
|
if (f9 && T.observeMutations) {
|
12703
|
-
var a = c.treeCallback, e = a === void 0 ? n3 : a, i = c.nodeCallback, t = i === void 0 ? n3 : i, s = c.pseudoElementsCallback, n = s === void 0 ? n3 : s,
|
12703
|
+
var a = c.treeCallback, e = a === void 0 ? n3 : a, i = c.nodeCallback, t = i === void 0 ? n3 : i, s = c.pseudoElementsCallback, n = s === void 0 ? n3 : s, l = c.observeMutationsRoot, r = l === void 0 ? Y : l;
|
12704
12704
|
d3 = new f9(function(m) {
|
12705
12705
|
if (!Aa) {
|
12706
12706
|
var f = k2();
|
@@ -12713,7 +12713,7 @@ function g9(c) {
|
|
12713
12713
|
ET(v.target) && t(v.target);
|
12714
12714
|
});
|
12715
12715
|
}
|
12716
|
-
}), b2 && d3.observe(
|
12716
|
+
}), b2 && d3.observe(r, {
|
12717
12717
|
childList: !0,
|
12718
12718
|
attributes: !0,
|
12719
12719
|
characterData: !0,
|
@@ -12727,8 +12727,8 @@ function UT() {
|
|
12727
12727
|
function WT(c) {
|
12728
12728
|
var a = c.getAttribute("style"), e = [];
|
12729
12729
|
return a && (e = a.split(";").reduce(function(i, t) {
|
12730
|
-
var s = t.split(":"), n = s[0],
|
12731
|
-
return n &&
|
12730
|
+
var s = t.split(":"), n = s[0], l = s.slice(1);
|
12731
|
+
return n && l.length > 0 && (i[n] = l.join(":").trim()), i;
|
12732
12732
|
}, {})), e;
|
12733
12733
|
}
|
12734
12734
|
function GT(c) {
|
@@ -12765,7 +12765,7 @@ function QT() {
|
|
12765
12765
|
function C9(c) {
|
12766
12766
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
12767
12767
|
styleParser: !0
|
12768
|
-
}, e = GT(c), i = e.iconName, t = e.prefix, s = e.rest, n = YT(c),
|
12768
|
+
}, e = GT(c), i = e.iconName, t = e.prefix, s = e.rest, n = YT(c), l = S4("parseNodeAttributes", {}, c), r = a.styleParser ? WT(c) : [];
|
12769
12769
|
return w({
|
12770
12770
|
iconName: i,
|
12771
12771
|
title: c.getAttribute("title"),
|
@@ -12781,10 +12781,10 @@ function C9(c) {
|
|
12781
12781
|
symbol: !1,
|
12782
12782
|
extra: {
|
12783
12783
|
classes: s,
|
12784
|
-
styles:
|
12784
|
+
styles: r,
|
12785
12785
|
attributes: n
|
12786
12786
|
}
|
12787
|
-
},
|
12787
|
+
}, l);
|
12788
12788
|
}
|
12789
12789
|
var ZT = p2.styles;
|
12790
12790
|
function Qw(c) {
|
@@ -12817,16 +12817,16 @@ function L9(c) {
|
|
12817
12817
|
})).join(", ");
|
12818
12818
|
if (n.length === 0)
|
12819
12819
|
return Promise.resolve();
|
12820
|
-
var
|
12820
|
+
var l = [];
|
12821
12821
|
try {
|
12822
|
-
|
12822
|
+
l = l1(c.querySelectorAll(n));
|
12823
12823
|
} catch {
|
12824
12824
|
}
|
12825
|
-
if (
|
12825
|
+
if (l.length > 0)
|
12826
12826
|
i("pending"), t("complete");
|
12827
12827
|
else
|
12828
12828
|
return Promise.resolve();
|
12829
|
-
var
|
12829
|
+
var r = ya.begin("onTree"), m = l.reduce(function(f, v) {
|
12830
12830
|
try {
|
12831
12831
|
var p = Qw(v);
|
12832
12832
|
p && f.push(p);
|
@@ -12838,10 +12838,10 @@ function L9(c) {
|
|
12838
12838
|
return new Promise(function(f, v) {
|
12839
12839
|
Promise.all(m).then(function(p) {
|
12840
12840
|
Gw(p, function() {
|
12841
|
-
i("active"), i("complete"), t("pending"), typeof a == "function" && a(),
|
12841
|
+
i("active"), i("complete"), t("pending"), typeof a == "function" && a(), r(), f();
|
12842
12842
|
});
|
12843
12843
|
}).catch(function(p) {
|
12844
|
-
|
12844
|
+
r(), v(p);
|
12845
12845
|
});
|
12846
12846
|
});
|
12847
12847
|
}
|
@@ -12860,7 +12860,7 @@ function JT(c) {
|
|
12860
12860
|
};
|
12861
12861
|
}
|
12862
12862
|
var KT = function(a) {
|
12863
|
-
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = e.transform, t = i === void 0 ? h2 : i, s = e.symbol, n = s === void 0 ? !1 : s,
|
12863
|
+
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = e.transform, t = i === void 0 ? h2 : i, s = e.symbol, n = s === void 0 ? !1 : s, l = e.mask, r = l === void 0 ? null : l, m = e.maskId, f = m === void 0 ? null : m, v = e.title, p = v === void 0 ? null : v, h = e.titleId, L = h === void 0 ? null : h, b = e.classes, k = b === void 0 ? [] : b, B = e.attributes, _ = B === void 0 ? {} : B, C = e.styles, N = C === void 0 ? {} : C;
|
12864
12864
|
if (a) {
|
12865
12865
|
var D = a.prefix, S = a.iconName, E = a.icon;
|
12866
12866
|
return u4(w({
|
@@ -12872,7 +12872,7 @@ var KT = function(a) {
|
|
12872
12872
|
}), T.autoA11y && (p ? _["aria-labelledby"] = "".concat(T.replacementClass, "-title-").concat(L || b1()) : (_["aria-hidden"] = "true", _.focusable = "false")), xa({
|
12873
12873
|
icons: {
|
12874
12874
|
main: k4(E),
|
12875
|
-
mask:
|
12875
|
+
mask: r ? k4(r.icon) : {
|
12876
12876
|
found: !1,
|
12877
12877
|
width: null,
|
12878
12878
|
height: null,
|
@@ -12913,9 +12913,9 @@ var KT = function(a) {
|
|
12913
12913
|
} : s;
|
12914
12914
|
return L9(t, n);
|
12915
12915
|
}, a.generateSvgReplacementMutation = function(e, i) {
|
12916
|
-
var t = i.iconName, s = i.title, n = i.titleId,
|
12916
|
+
var t = i.iconName, s = i.title, n = i.titleId, l = i.prefix, r = i.transform, m = i.symbol, f = i.mask, v = i.maskId, p = i.extra;
|
12917
12917
|
return new Promise(function(h, L) {
|
12918
|
-
Promise.all([_4(t,
|
12918
|
+
Promise.all([_4(t, l), f.iconName ? _4(f.iconName, f.prefix) : Promise.resolve({
|
12919
12919
|
found: !1,
|
12920
12920
|
width: 512,
|
12921
12921
|
height: 512,
|
@@ -12927,9 +12927,9 @@ var KT = function(a) {
|
|
12927
12927
|
main: B,
|
12928
12928
|
mask: _
|
12929
12929
|
},
|
12930
|
-
prefix:
|
12930
|
+
prefix: l,
|
12931
12931
|
iconName: t,
|
12932
|
-
transform:
|
12932
|
+
transform: r,
|
12933
12933
|
symbol: m,
|
12934
12934
|
maskId: v,
|
12935
12935
|
title: s,
|
@@ -12940,8 +12940,8 @@ var KT = function(a) {
|
|
12940
12940
|
}).catch(L);
|
12941
12941
|
});
|
12942
12942
|
}, a.generateAbstractIcon = function(e) {
|
12943
|
-
var i = e.children, t = e.attributes, s = e.main, n = e.transform,
|
12944
|
-
|
12943
|
+
var i = e.children, t = e.attributes, s = e.main, n = e.transform, l = e.styles, r = l4(l);
|
12944
|
+
r.length > 0 && (t.style = r);
|
12945
12945
|
var m;
|
12946
12946
|
return ga(n) && (m = L2("generateAbstractTransformGrouping", {
|
12947
12947
|
main: s,
|
@@ -12967,10 +12967,10 @@ var KT = function(a) {
|
|
12967
12967
|
params: i
|
12968
12968
|
});
|
12969
12969
|
var n = [];
|
12970
|
-
return e(function(
|
12971
|
-
Array.isArray(
|
12972
|
-
n = n.concat(
|
12973
|
-
}) : n = n.concat(
|
12970
|
+
return e(function(l) {
|
12971
|
+
Array.isArray(l) ? l.map(function(r) {
|
12972
|
+
n = n.concat(r.abstract);
|
12973
|
+
}) : n = n.concat(l.abstract);
|
12974
12974
|
}), [{
|
12975
12975
|
tag: "span",
|
12976
12976
|
attributes: {
|
@@ -12986,7 +12986,7 @@ var KT = function(a) {
|
|
12986
12986
|
mixout: function() {
|
12987
12987
|
return {
|
12988
12988
|
counter: function(e) {
|
12989
|
-
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = i.title, s = t === void 0 ? null : t, n = i.classes,
|
12989
|
+
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = i.title, s = t === void 0 ? null : t, n = i.classes, l = n === void 0 ? [] : n, r = i.attributes, m = r === void 0 ? {} : r, f = i.styles, v = f === void 0 ? {} : f;
|
12990
12990
|
return u4({
|
12991
12991
|
type: "counter",
|
12992
12992
|
content: e
|
@@ -13000,7 +13000,7 @@ var KT = function(a) {
|
|
13000
13000
|
extra: {
|
13001
13001
|
attributes: m,
|
13002
13002
|
styles: v,
|
13003
|
-
classes: ["".concat(T.cssPrefix, "-layers-counter")].concat($1(
|
13003
|
+
classes: ["".concat(T.cssPrefix, "-layers-counter")].concat($1(l))
|
13004
13004
|
}
|
13005
13005
|
});
|
13006
13006
|
});
|
@@ -13011,7 +13011,7 @@ var KT = function(a) {
|
|
13011
13011
|
mixout: function() {
|
13012
13012
|
return {
|
13013
13013
|
text: function(e) {
|
13014
|
-
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = i.transform, s = t === void 0 ? h2 : t, n = i.title,
|
13014
|
+
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = i.transform, s = t === void 0 ? h2 : t, n = i.title, l = n === void 0 ? null : n, r = i.classes, m = r === void 0 ? [] : r, f = i.attributes, v = f === void 0 ? {} : f, p = i.styles, h = p === void 0 ? {} : p;
|
13015
13015
|
return u4({
|
13016
13016
|
type: "text",
|
13017
13017
|
content: e
|
@@ -13022,7 +13022,7 @@ var KT = function(a) {
|
|
13022
13022
|
}), V9({
|
13023
13023
|
content: e,
|
13024
13024
|
transform: w(w({}, h2), s),
|
13025
|
-
title:
|
13025
|
+
title: l,
|
13026
13026
|
extra: {
|
13027
13027
|
attributes: v,
|
13028
13028
|
styles: h,
|
@@ -13035,15 +13035,15 @@ var KT = function(a) {
|
|
13035
13035
|
},
|
13036
13036
|
provides: function(a) {
|
13037
13037
|
a.generateLayersText = function(e, i) {
|
13038
|
-
var t = i.title, s = i.transform, n = i.extra,
|
13038
|
+
var t = i.title, s = i.transform, n = i.extra, l = null, r = null;
|
13039
13039
|
if (Aw) {
|
13040
13040
|
var m = parseInt(getComputedStyle(e).fontSize, 10), f = e.getBoundingClientRect();
|
13041
|
-
|
13041
|
+
l = f.width / m, r = f.height / m;
|
13042
13042
|
}
|
13043
13043
|
return T.autoA11y && !t && (n.attributes["aria-hidden"] = "true"), Promise.resolve([e, V9({
|
13044
13044
|
content: e.innerHTML,
|
13045
|
-
width:
|
13046
|
-
height:
|
13045
|
+
width: l,
|
13046
|
+
height: r,
|
13047
13047
|
transform: s,
|
13048
13048
|
title: t,
|
13049
13049
|
extra: n,
|
@@ -13066,11 +13066,11 @@ function x9(c, a) {
|
|
13066
13066
|
return i();
|
13067
13067
|
var s = l1(c.children), n = s.filter(function(E) {
|
13068
13068
|
return E.getAttribute(y4) === a;
|
13069
|
-
})[0],
|
13070
|
-
if (n && !
|
13069
|
+
})[0], l = w2.getComputedStyle(c, a), r = l.getPropertyValue("font-family").match(J_), m = l.getPropertyValue("font-weight"), f = l.getPropertyValue("content");
|
13070
|
+
if (n && !r)
|
13071
13071
|
return c.removeChild(n), i();
|
13072
|
-
if (
|
13073
|
-
var v =
|
13072
|
+
if (r && f !== "none" && f !== "") {
|
13073
|
+
var v = l.getPropertyValue("content"), p = ~["Sharp"].indexOf(r[2]) ? J : G, h = ~["Solid", "Regular", "Light", "Thin", "Duotone", "Brands", "Kit"].indexOf(r[2]) ? g1[p][r[2].toLowerCase()] : K_[p][m], L = sD(v), b = L.value, k = L.isSecondary, B = r[0].startsWith("FontAwesome"), _ = La(h, b), C = _;
|
13074
13074
|
if (B) {
|
13075
13075
|
var N = xT(b);
|
13076
13076
|
N.iconName && N.prefix && (_ = N.iconName, h = N.prefix);
|
@@ -13167,34 +13167,34 @@ var lD = {
|
|
13167
13167
|
rotate: 0
|
13168
13168
|
};
|
13169
13169
|
return a.toLowerCase().split(" ").reduce(function(i, t) {
|
13170
|
-
var s = t.toLowerCase().split("-"), n = s[0],
|
13171
|
-
if (n &&
|
13170
|
+
var s = t.toLowerCase().split("-"), n = s[0], l = s.slice(1).join("-");
|
13171
|
+
if (n && l === "h")
|
13172
13172
|
return i.flipX = !0, i;
|
13173
|
-
if (n &&
|
13173
|
+
if (n && l === "v")
|
13174
13174
|
return i.flipY = !0, i;
|
13175
|
-
if (
|
13175
|
+
if (l = parseFloat(l), isNaN(l))
|
13176
13176
|
return i;
|
13177
13177
|
switch (n) {
|
13178
13178
|
case "grow":
|
13179
|
-
i.size = i.size +
|
13179
|
+
i.size = i.size + l;
|
13180
13180
|
break;
|
13181
13181
|
case "shrink":
|
13182
|
-
i.size = i.size -
|
13182
|
+
i.size = i.size - l;
|
13183
13183
|
break;
|
13184
13184
|
case "left":
|
13185
|
-
i.x = i.x -
|
13185
|
+
i.x = i.x - l;
|
13186
13186
|
break;
|
13187
13187
|
case "right":
|
13188
|
-
i.x = i.x +
|
13188
|
+
i.x = i.x + l;
|
13189
13189
|
break;
|
13190
13190
|
case "up":
|
13191
|
-
i.y = i.y -
|
13191
|
+
i.y = i.y - l;
|
13192
13192
|
break;
|
13193
13193
|
case "down":
|
13194
|
-
i.y = i.y +
|
13194
|
+
i.y = i.y + l;
|
13195
13195
|
break;
|
13196
13196
|
case "rotate":
|
13197
|
-
i.rotate = i.rotate +
|
13197
|
+
i.rotate = i.rotate + l;
|
13198
13198
|
break;
|
13199
13199
|
}
|
13200
13200
|
return i;
|
@@ -13219,14 +13219,14 @@ var lD = {
|
|
13219
13219
|
},
|
13220
13220
|
provides: function(a) {
|
13221
13221
|
a.generateAbstractTransformGrouping = function(e) {
|
13222
|
-
var i = e.main, t = e.transform, s = e.containerWidth, n = e.iconWidth,
|
13222
|
+
var i = e.main, t = e.transform, s = e.containerWidth, n = e.iconWidth, l = {
|
13223
13223
|
transform: "translate(".concat(s / 2, " 256)")
|
13224
|
-
},
|
13225
|
-
transform: "".concat(
|
13224
|
+
}, r = "translate(".concat(t.x * 32, ", ").concat(t.y * 32, ") "), m = "scale(".concat(t.size / 16 * (t.flipX ? -1 : 1), ", ").concat(t.size / 16 * (t.flipY ? -1 : 1), ") "), f = "rotate(".concat(t.rotate, " 0 0)"), v = {
|
13225
|
+
transform: "".concat(r, " ").concat(m, " ").concat(f)
|
13226
13226
|
}, p = {
|
13227
13227
|
transform: "translate(".concat(n / 2 * -1, " -256)")
|
13228
13228
|
}, h = {
|
13229
|
-
outer:
|
13229
|
+
outer: l,
|
13230
13230
|
inner: v,
|
13231
13231
|
path: p
|
13232
13232
|
};
|
@@ -13271,8 +13271,8 @@ var mD = {
|
|
13271
13271
|
},
|
13272
13272
|
provides: function(a) {
|
13273
13273
|
a.generateAbstractMask = function(e) {
|
13274
|
-
var i = e.children, t = e.attributes, s = e.main, n = e.mask,
|
13275
|
-
transform:
|
13274
|
+
var i = e.children, t = e.attributes, s = e.main, n = e.mask, l = e.maskId, r = e.transform, m = s.width, f = s.icon, v = n.width, p = n.icon, h = fT({
|
13275
|
+
transform: r,
|
13276
13276
|
containerWidth: v,
|
13277
13277
|
iconWidth: m
|
13278
13278
|
}), L = {
|
@@ -13293,7 +13293,7 @@ var mD = {
|
|
13293
13293
|
tag: "g",
|
13294
13294
|
attributes: w({}, h.outer),
|
13295
13295
|
children: [k]
|
13296
|
-
}, _ = "mask-".concat(
|
13296
|
+
}, _ = "mask-".concat(l || b1()), C = "clip-".concat(l || b1()), N = {
|
13297
13297
|
tag: "mask",
|
13298
13298
|
attributes: w(w({}, g4), {}, {
|
13299
13299
|
id: _,
|
@@ -13343,7 +13343,7 @@ var mD = {
|
|
13343
13343
|
});
|
13344
13344
|
var n = w(w({}, s), {}, {
|
13345
13345
|
attributeName: "opacity"
|
13346
|
-
}),
|
13346
|
+
}), l = {
|
13347
13347
|
tag: "circle",
|
13348
13348
|
attributes: w(w({}, t), {}, {
|
13349
13349
|
cx: "256",
|
@@ -13352,7 +13352,7 @@ var mD = {
|
|
13352
13352
|
}),
|
13353
13353
|
children: []
|
13354
13354
|
};
|
13355
|
-
return e ||
|
13355
|
+
return e || l.children.push({
|
13356
13356
|
tag: "animate",
|
13357
13357
|
attributes: w(w({}, s), {}, {
|
13358
13358
|
attributeName: "r",
|
@@ -13363,7 +13363,7 @@ var mD = {
|
|
13363
13363
|
attributes: w(w({}, n), {}, {
|
13364
13364
|
values: "1;0;1;1;0;1;"
|
13365
13365
|
})
|
13366
|
-
}), i.push(
|
13366
|
+
}), i.push(l), i.push({
|
13367
13367
|
tag: "path",
|
13368
13368
|
attributes: w(w({}, t), {}, {
|
13369
13369
|
opacity: "1",
|
@@ -13429,15 +13429,15 @@ const VD = P({
|
|
13429
13429
|
}
|
13430
13430
|
},
|
13431
13431
|
setup(c) {
|
13432
|
-
const a = (
|
13433
|
-
const f = (
|
13432
|
+
const a = (r) => w9.icon ? w9.icon(r) : null, e = (r, m = {}) => {
|
13433
|
+
const f = (r.children || []).map(
|
13434
13434
|
(h) => e(h)
|
13435
13435
|
);
|
13436
|
-
if (
|
13436
|
+
if (r.prefix)
|
13437
13437
|
return;
|
13438
|
-
const v = Object.keys(
|
13438
|
+
const v = Object.keys(r.attributes || {}).reduce(
|
13439
13439
|
(h, L) => {
|
13440
|
-
const b =
|
13440
|
+
const b = r.attributes[L];
|
13441
13441
|
return h.attrs[L] = b, h;
|
13442
13442
|
},
|
13443
13443
|
{
|
@@ -13445,7 +13445,7 @@ const VD = P({
|
|
13445
13445
|
}
|
13446
13446
|
), { ...p } = m;
|
13447
13447
|
return j2(
|
13448
|
-
|
13448
|
+
r.tag,
|
13449
13449
|
{
|
13450
13450
|
...v.attrs,
|
13451
13451
|
...p
|
@@ -13453,8 +13453,8 @@ const VD = P({
|
|
13453
13453
|
f
|
13454
13454
|
);
|
13455
13455
|
};
|
13456
|
-
function i(
|
13457
|
-
let p = `fa-${
|
13456
|
+
function i(r) {
|
13457
|
+
let p = `fa-${r}`.split("-").map(
|
13458
13458
|
(L) => L.charAt(0).toUpperCase() + L.slice(1).toLowerCase()
|
13459
13459
|
).join("");
|
13460
13460
|
return p.charAt(0).toLowerCase() + p.slice(1);
|
@@ -13469,16 +13469,16 @@ const VD = P({
|
|
13469
13469
|
);
|
13470
13470
|
e2(
|
13471
13471
|
n,
|
13472
|
-
(
|
13473
|
-
if (!
|
13472
|
+
(r) => {
|
13473
|
+
if (!r)
|
13474
13474
|
return console.log("Could not find one or more icon(s)", s);
|
13475
13475
|
},
|
13476
13476
|
{ immediate: !0 }
|
13477
13477
|
);
|
13478
|
-
const
|
13478
|
+
const l = g(
|
13479
13479
|
() => n.value ? e(n.value.abstract[0]) : null
|
13480
13480
|
);
|
13481
|
-
return () =>
|
13481
|
+
return () => l.value;
|
13482
13482
|
}
|
13483
13483
|
}), zD = ["disabled"], HD = /* @__PURE__ */ P({
|
13484
13484
|
__name: "AVButton",
|
@@ -13683,7 +13683,7 @@ const I4 = /* @__PURE__ */ I(LD, [["__scopeId", "data-v-83458350"]]), bD = { cla
|
|
13683
13683
|
disabled: e.disabled
|
13684
13684
|
}));
|
13685
13685
|
return (s, n) => {
|
13686
|
-
const
|
13686
|
+
const l = M("AVTooltip"), r = M("AVIcon");
|
13687
13687
|
return u(), d("div", bD, [
|
13688
13688
|
c.inputLabel ? (u(), d("label", {
|
13689
13689
|
key: 0,
|
@@ -13692,7 +13692,7 @@ const I4 = /* @__PURE__ */ I(LD, [["__scopeId", "data-v-83458350"]]), bD = { cla
|
|
13692
13692
|
"data-test": "input-label"
|
13693
13693
|
}, [
|
13694
13694
|
o("span", null, V(c.inputLabel), 1),
|
13695
|
-
c.tooltipText ? (u(), q(
|
13695
|
+
c.tooltipText ? (u(), q(l, {
|
13696
13696
|
key: 0,
|
13697
13697
|
id: `${c.id}-info-tooltip`,
|
13698
13698
|
position: "right",
|
@@ -13701,7 +13701,7 @@ const I4 = /* @__PURE__ */ I(LD, [["__scopeId", "data-v-83458350"]]), bD = { cla
|
|
13701
13701
|
], 8, xD)) : x("", !0),
|
13702
13702
|
o("div", yD, [
|
13703
13703
|
o("div", AD, [
|
13704
|
-
c.icon ? (u(), q(
|
13704
|
+
c.icon ? (u(), q(r, {
|
13705
13705
|
key: 0,
|
13706
13706
|
icon: `fa-solid fa-${c.icon}`,
|
13707
13707
|
class: "AVTextInput--input-icon",
|
@@ -13718,7 +13718,7 @@ const I4 = /* @__PURE__ */ I(LD, [["__scopeId", "data-v-83458350"]]), bD = { cla
|
|
13718
13718
|
onInput: i
|
13719
13719
|
}, null, 42, ND),
|
13720
13720
|
c.error ? (u(), d("div", SD, [
|
13721
|
-
z(
|
13721
|
+
z(r, {
|
13722
13722
|
icon: "fa-solid fa-circle-exclamation",
|
13723
13723
|
class: "AVTextInput--error-icon",
|
13724
13724
|
"data-test": "input-error-icon"
|
@@ -13797,9 +13797,9 @@ const _D = /* @__PURE__ */ I(kD, [["__scopeId", "data-v-9ab10a3b"]]), TD = { cla
|
|
13797
13797
|
f.target.value === "" && a("update:modelValue", 0);
|
13798
13798
|
}, n = () => {
|
13799
13799
|
i.value.classList.remove("hidden"), i.value.classList.add("AVNumberInput--shown");
|
13800
|
-
}, r = () => {
|
13801
|
-
e.error || (i.value.classList.remove("AVNumberInput--shown"), i.value.classList.add("hidden"));
|
13802
13800
|
}, l = () => {
|
13801
|
+
e.error || (i.value.classList.remove("AVNumberInput--shown"), i.value.classList.add("hidden"));
|
13802
|
+
}, r = () => {
|
13803
13803
|
const f = e.modelValue + e.step;
|
13804
13804
|
(e.max === null || f <= e.max) && a("update:modelValue", f);
|
13805
13805
|
}, m = () => {
|
@@ -13826,7 +13826,7 @@ const _D = /* @__PURE__ */ I(kD, [["__scopeId", "data-v-9ab10a3b"]]), TD = { cla
|
|
13826
13826
|
o("div", {
|
13827
13827
|
class: "AVNumberInput--input-field",
|
13828
13828
|
onMouseenter: n,
|
13829
|
-
onMouseleave:
|
13829
|
+
onMouseleave: l
|
13830
13830
|
}, [
|
13831
13831
|
o("div", ID, [
|
13832
13832
|
c.icon ? (u(), q(h, {
|
@@ -13858,7 +13858,7 @@ const _D = /* @__PURE__ */ I(kD, [["__scopeId", "data-v-9ab10a3b"]]), TD = { cla
|
|
13858
13858
|
"data-test": "input-controllers"
|
13859
13859
|
}, [
|
13860
13860
|
o("button", {
|
13861
|
-
onClick:
|
13861
|
+
onClick: r,
|
13862
13862
|
class: "AVNumberInput--button",
|
13863
13863
|
"data-test": "input-controller-plus"
|
13864
13864
|
}, [
|
@@ -13943,7 +13943,7 @@ const ED = /* @__PURE__ */ I(jD, [["__scopeId", "data-v-cd10cd1f"]]), qD = { cla
|
|
13943
13943
|
a("update:modelValue", s.target.value);
|
13944
13944
|
};
|
13945
13945
|
return (s, n) => {
|
13946
|
-
const
|
13946
|
+
const l = M("AVTooltip"), r = M("AVIcon");
|
13947
13947
|
return u(), d("div", qD, [
|
13948
13948
|
c.inputLabel ? (u(), d("label", {
|
13949
13949
|
key: 0,
|
@@ -13952,7 +13952,7 @@ const ED = /* @__PURE__ */ I(jD, [["__scopeId", "data-v-cd10cd1f"]]), qD = { cla
|
|
13952
13952
|
"data-test": "input-label"
|
13953
13953
|
}, [
|
13954
13954
|
o("span", null, V(c.inputLabel), 1),
|
13955
|
-
c.tooltipText ? (u(), q(
|
13955
|
+
c.tooltipText ? (u(), q(l, {
|
13956
13956
|
key: 0,
|
13957
13957
|
id: `${c.id}-info-tooltip`,
|
13958
13958
|
position: "right",
|
@@ -13961,7 +13961,7 @@ const ED = /* @__PURE__ */ I(jD, [["__scopeId", "data-v-cd10cd1f"]]), qD = { cla
|
|
13961
13961
|
], 8, FD)) : x("", !0),
|
13962
13962
|
o("div", $D, [
|
13963
13963
|
o("div", RD, [
|
13964
|
-
c.disableIcon ? x("", !0) : (u(), q(
|
13964
|
+
c.disableIcon ? x("", !0) : (u(), q(r, {
|
13965
13965
|
key: 0,
|
13966
13966
|
icon: "fa-solid fa-key",
|
13967
13967
|
class: "AVPaswordInput--input-icon",
|
@@ -13983,7 +13983,7 @@ const ED = /* @__PURE__ */ I(jD, [["__scopeId", "data-v-cd10cd1f"]]), qD = { cla
|
|
13983
13983
|
class: j(`AVPaswordInput--icon-container ${c.disabled && "hidden"}`)
|
13984
13984
|
}, [
|
13985
13985
|
o("button", { onClick: i }, [
|
13986
|
-
z(
|
13986
|
+
z(r, {
|
13987
13987
|
icon: `fa-solid fa-${e.value ? "eye-slash" : "eye"}`,
|
13988
13988
|
class: "AVPaswordInput--input-icon",
|
13989
13989
|
"data-test": "show-pass-icon"
|
@@ -14334,23 +14334,23 @@ const hI = /* @__PURE__ */ I(pI, [["__scopeId", "data-v-ff11beb8"]]), VI = { cla
|
|
14334
14334
|
active: !1,
|
14335
14335
|
customWidth: null,
|
14336
14336
|
id: null
|
14337
|
-
}), t = g(() => e.options.map((
|
14338
|
-
label:
|
14339
|
-
value:
|
14340
|
-
} :
|
14341
|
-
(
|
14337
|
+
}), t = g(() => e.options.map((r) => typeof r == "string" ? {
|
14338
|
+
label: r,
|
14339
|
+
value: r
|
14340
|
+
} : r)), s = g(() => t.value.find(
|
14341
|
+
(r) => r.value === e.modelValue
|
14342
14342
|
));
|
14343
14343
|
v2(() => {
|
14344
14344
|
i.id = e.id;
|
14345
14345
|
});
|
14346
|
-
const n = (
|
14347
|
-
a("update:modelValue",
|
14346
|
+
const n = (r) => {
|
14347
|
+
a("update:modelValue", r);
|
14348
14348
|
};
|
14349
14349
|
D9("sharedState", i);
|
14350
|
-
const
|
14350
|
+
const l = () => {
|
14351
14351
|
e.disabled || (i.active = !i.active);
|
14352
14352
|
};
|
14353
|
-
return (
|
14353
|
+
return (r, m) => {
|
14354
14354
|
const f = M("AVTooltip"), v = M("AVIcon"), p = M("AVDropdownItem"), h = M("AVDropdownContent");
|
14355
14355
|
return u(), d("div", VI, [
|
14356
14356
|
c.inputLabel ? (u(), d("label", {
|
@@ -14368,7 +14368,7 @@ const hI = /* @__PURE__ */ I(pI, [["__scopeId", "data-v-ff11beb8"]]), VI = { cla
|
|
14368
14368
|
}, null, 8, ["id", "content"])) : x("", !0)
|
14369
14369
|
], 8, zI)) : x("", !0),
|
14370
14370
|
o("div", {
|
14371
|
-
onClick:
|
14371
|
+
onClick: l,
|
14372
14372
|
class: "AVDropdown"
|
14373
14373
|
}, [
|
14374
14374
|
o("button", {
|
@@ -14520,8 +14520,8 @@ const kI = /* @__PURE__ */ I(wI, [["__scopeId", "data-v-2ca0bff3"]]), _I = {
|
|
14520
14520
|
danger: "circle-xmark",
|
14521
14521
|
warning: "circle-exclamation"
|
14522
14522
|
};
|
14523
|
-
return (n,
|
14524
|
-
const
|
14523
|
+
return (n, l) => {
|
14524
|
+
const r = M("AVIcon");
|
14525
14525
|
return u(), d("div", {
|
14526
14526
|
class: j(`AVAlert AVAlert--${c.type}`),
|
14527
14527
|
style: H2(c.customWidth && `width: ${c.customWidth}px`),
|
@@ -14530,7 +14530,7 @@ const kI = /* @__PURE__ */ I(wI, [["__scopeId", "data-v-2ca0bff3"]]), _I = {
|
|
14530
14530
|
c.disableHeader ? x("", !0) : (u(), d("div", _I, [
|
14531
14531
|
o("div", TI, [
|
14532
14532
|
c.disableIcon ? x("", !0) : (u(), d("div", DI, [
|
14533
|
-
z(
|
14533
|
+
z(r, {
|
14534
14534
|
icon: `fa-solid fa-${c.icon !== "" ? c.icon : s[c.type]}`,
|
14535
14535
|
"data-test": "alert-icon"
|
14536
14536
|
}, null, 8, ["icon"])
|
@@ -14542,7 +14542,7 @@ const kI = /* @__PURE__ */ I(wI, [["__scopeId", "data-v-2ca0bff3"]]), _I = {
|
|
14542
14542
|
class: "AVAlert--icon-container",
|
14543
14543
|
onClick: i
|
14544
14544
|
}, [
|
14545
|
-
z(
|
14545
|
+
z(r, {
|
14546
14546
|
icon: "fa-solid fa-xmark",
|
14547
14547
|
class: "AVAlert--icon-dismiss",
|
14548
14548
|
"data-test": "alert-icon-dismiss"
|
@@ -14675,9 +14675,9 @@ const PI = /* @__PURE__ */ I(BI, [["__scopeId", "data-v-0cc3f6d1"]]), OI = {
|
|
14675
14675
|
v2(() => {
|
14676
14676
|
e.value && (s.value = e.value);
|
14677
14677
|
});
|
14678
|
-
const
|
14678
|
+
const l = () => {
|
14679
14679
|
s.value = [...t.value.files], a("update", s.value);
|
14680
|
-
},
|
14680
|
+
}, r = (C) => {
|
14681
14681
|
C.preventDefault(), !e.disabled && (i.value = !0);
|
14682
14682
|
}, m = () => {
|
14683
14683
|
i.value = !1;
|
@@ -14730,7 +14730,7 @@ const PI = /* @__PURE__ */ I(BI, [["__scopeId", "data-v-0cc3f6d1"]]), OI = {
|
|
14730
14730
|
], 8, EI)),
|
14731
14731
|
o("div", {
|
14732
14732
|
class: j(`AVFileInput--dropzone-container ${c.error && "error"} ${c.disabled && "disabled"}`),
|
14733
|
-
onDragover:
|
14733
|
+
onDragover: r,
|
14734
14734
|
onDragleave: m,
|
14735
14735
|
onDrop: b
|
14736
14736
|
}, [
|
@@ -14740,7 +14740,7 @@ const PI = /* @__PURE__ */ I(BI, [["__scopeId", "data-v-0cc3f6d1"]]), OI = {
|
|
14740
14740
|
name: c.id,
|
14741
14741
|
id: c.id,
|
14742
14742
|
class: "AVFileInput-hidden-input",
|
14743
|
-
onChange:
|
14743
|
+
onChange: l,
|
14744
14744
|
ref_key: "fileInput",
|
14745
14745
|
ref: t,
|
14746
14746
|
accept: c.accept,
|
@@ -14889,7 +14889,7 @@ const vB = /* @__PURE__ */ I(dB, [["__scopeId", "data-v-3122c494"]]), pB = (c) =
|
|
14889
14889
|
() => {
|
14890
14890
|
i.value = e.checked;
|
14891
14891
|
}
|
14892
|
-
), (n,
|
14892
|
+
), (n, l) => (u(), d("label", {
|
14893
14893
|
for: c.id,
|
14894
14894
|
class: j(`AVRadio ${c.disabled && "disabled"}`)
|
14895
14895
|
}, [
|
@@ -15030,8 +15030,8 @@ const LB = /* @__PURE__ */ I(CB, [["__scopeId", "data-v-999075bc"]]), bB = ["hre
|
|
15030
15030
|
const e = c, i = g(() => e.href ? "link" : "button"), t = g(() => e.disabled ? null : e.href), s = () => {
|
15031
15031
|
a("onClick", e.reference);
|
15032
15032
|
};
|
15033
|
-
return (n,
|
15034
|
-
const
|
15033
|
+
return (n, l) => {
|
15034
|
+
const r = M("AVIcon");
|
15035
15035
|
return i.value === "link" ? (u(), d("a", {
|
15036
15036
|
key: 0,
|
15037
15037
|
href: t.value,
|
@@ -15039,7 +15039,7 @@ const LB = /* @__PURE__ */ I(CB, [["__scopeId", "data-v-999075bc"]]), bB = ["hre
|
|
15039
15039
|
target: c.target,
|
15040
15040
|
style: H2(`width: ${c.customWidth}px`)
|
15041
15041
|
}, [
|
15042
|
-
c.disableIcon ? x("", !0) : (u(), q(
|
15042
|
+
c.disableIcon ? x("", !0) : (u(), q(r, {
|
15043
15043
|
key: 0,
|
15044
15044
|
icon: `fa-solid fa-${c.icon}`,
|
15045
15045
|
class: "AVNavbarItem--icon"
|
@@ -15052,7 +15052,7 @@ const LB = /* @__PURE__ */ I(CB, [["__scopeId", "data-v-999075bc"]]), bB = ["hre
|
|
15052
15052
|
disabled: c.disabled,
|
15053
15053
|
onClick: s
|
15054
15054
|
}, [
|
15055
|
-
c.disableIcon ? x("", !0) : (u(), q(
|
15055
|
+
c.disableIcon ? x("", !0) : (u(), q(r, {
|
15056
15056
|
key: 0,
|
15057
15057
|
icon: `fa-solid fa-${c.icon}`,
|
15058
15058
|
class: "AVNavbarItem--icon"
|
@@ -15113,9 +15113,9 @@ const SB = /* @__PURE__ */ I(NB, [["__scopeId", "data-v-d205c709"]]), wB = ["hre
|
|
15113
15113
|
},
|
15114
15114
|
emits: ["onClick"],
|
15115
15115
|
setup(c, { emit: a }) {
|
15116
|
-
const e = c, i = F(!1), t = g(() => e.href ? "link" : "button"), s = g(() => e.disabled ? null : e.href), n = g(() => e.type === "step" ? "number" : "icon"),
|
15116
|
+
const e = c, i = F(!1), t = g(() => e.href ? "link" : "button"), s = g(() => e.disabled ? null : e.href), n = g(() => e.type === "step" ? "number" : "icon"), l = g(
|
15117
15117
|
() => e.type === "step" ? e.stepIndex : e.icon
|
15118
|
-
),
|
15118
|
+
), r = () => {
|
15119
15119
|
e.disabled || (i.value = !i.value);
|
15120
15120
|
}, m = () => {
|
15121
15121
|
a("onClick", e.reference);
|
@@ -15125,15 +15125,15 @@ const SB = /* @__PURE__ */ I(NB, [["__scopeId", "data-v-d205c709"]]), wB = ["hre
|
|
15125
15125
|
href: s.value,
|
15126
15126
|
class: j(`AVSidebarItem ${c.active ? "AVSidebarItem--active" : ""} ${c.disabled && "disabled"}`),
|
15127
15127
|
target: c.target,
|
15128
|
-
onMouseenter:
|
15129
|
-
onMouseleave:
|
15128
|
+
onMouseenter: r,
|
15129
|
+
onMouseleave: r,
|
15130
15130
|
"aria-label": c.label,
|
15131
15131
|
role: "button"
|
15132
15132
|
}, [
|
15133
15133
|
z(Z2(I4), {
|
15134
15134
|
type: n.value,
|
15135
15135
|
active: c.active,
|
15136
|
-
value:
|
15136
|
+
value: l.value,
|
15137
15137
|
hover: i.value,
|
15138
15138
|
"aria-hidden": "true"
|
15139
15139
|
}, null, 8, ["type", "active", "value", "hover"]),
|
@@ -15143,14 +15143,14 @@ const SB = /* @__PURE__ */ I(NB, [["__scopeId", "data-v-d205c709"]]), wB = ["hre
|
|
15143
15143
|
class: j(`AVSidebarItem ${c.active ? "AVSidebarItem--active" : ""} ${c.disabled && "disabled"}`),
|
15144
15144
|
disabled: c.disabled,
|
15145
15145
|
onClick: m,
|
15146
|
-
onMouseenter:
|
15147
|
-
onMouseleave:
|
15146
|
+
onMouseenter: r,
|
15147
|
+
onMouseleave: r,
|
15148
15148
|
"aria-label": c.label
|
15149
15149
|
}, [
|
15150
15150
|
z(Z2(I4), {
|
15151
15151
|
type: n.value,
|
15152
15152
|
active: c.active,
|
15153
|
-
value:
|
15153
|
+
value: l.value,
|
15154
15154
|
hover: i.value,
|
15155
15155
|
"aria-hidden": "true"
|
15156
15156
|
}, null, 8, ["type", "active", "value", "hover"]),
|
@@ -15246,7 +15246,7 @@ const EB = /* @__PURE__ */ I(jB, [["__scopeId", "data-v-9eefb906"]]), qB = { cla
|
|
15246
15246
|
e.active = !e.active;
|
15247
15247
|
};
|
15248
15248
|
return D9("sharedState", e), (t, s) => {
|
15249
|
-
const n = M("AVIcon"),
|
15249
|
+
const n = M("AVIcon"), l = M("AVMenuDropdownItem"), r = M("AVMenuDropdownContent");
|
15250
15250
|
return u(), d("div", qB, [
|
15251
15251
|
o("button", {
|
15252
15252
|
class: "AVMenuDropdown--button",
|
@@ -15270,9 +15270,9 @@ const EB = /* @__PURE__ */ I(jB, [["__scopeId", "data-v-9eefb906"]]), qB = { cla
|
|
15270
15270
|
"data-test": "main-icon"
|
15271
15271
|
}, null, 8, ["icon"]))
|
15272
15272
|
], 8, FB),
|
15273
|
-
z(
|
15273
|
+
z(r, null, {
|
15274
15274
|
default: $(() => [
|
15275
|
-
(u(!0), d(R, null, X(c.options, (m, f) => (u(), q(
|
15275
|
+
(u(!0), d(R, null, X(c.options, (m, f) => (u(), q(l, {
|
15276
15276
|
key: f,
|
15277
15277
|
optionLabel: m.label,
|
15278
15278
|
href: m.href,
|
@@ -15384,7 +15384,7 @@ const ZB = /* @__PURE__ */ I(QB, [["__scopeId", "data-v-f770cea1"]]), XB = ["dis
|
|
15384
15384
|
emits: ["update:waiting"],
|
15385
15385
|
setup(c, { emit: a }) {
|
15386
15386
|
const e = c, i = F(!1);
|
15387
|
-
e2(i, (
|
15387
|
+
e2(i, (l) => a("update:waiting", l));
|
15388
15388
|
const t = g(() => {
|
15389
15389
|
if (!i.value)
|
15390
15390
|
switch (e.variant) {
|
@@ -15398,15 +15398,15 @@ const ZB = /* @__PURE__ */ I(QB, [["__scopeId", "data-v-f770cea1"]]), XB = ["dis
|
|
15398
15398
|
return e.defaultIcon;
|
15399
15399
|
}
|
15400
15400
|
}), s = g(() => e.disabled || i.value);
|
15401
|
-
async function n(
|
15401
|
+
async function n(l) {
|
15402
15402
|
i.value = !0;
|
15403
15403
|
try {
|
15404
|
-
await Promise.resolve(e.onClick(
|
15404
|
+
await Promise.resolve(e.onClick(l));
|
15405
15405
|
} finally {
|
15406
15406
|
i.value = !1;
|
15407
15407
|
}
|
15408
15408
|
}
|
15409
|
-
return (
|
15409
|
+
return (l, r) => {
|
15410
15410
|
const m = M("AVIcon"), f = M("AVSpinner");
|
15411
15411
|
return u(), d("button", {
|
15412
15412
|
disabled: s.value,
|
@@ -15419,17 +15419,17 @@ const ZB = /* @__PURE__ */ I(QB, [["__scopeId", "data-v-f770cea1"]]), XB = ["dis
|
|
15419
15419
|
}])
|
15420
15420
|
}, [
|
15421
15421
|
i.value ? (u(), d(R, { key: 1 }, [
|
15422
|
-
K(
|
15422
|
+
K(l.$slots, "waitingIcon", {}, () => [
|
15423
15423
|
z(f, {
|
15424
15424
|
style: { color: "inherit", height: "1em", width: "1em" },
|
15425
15425
|
class: "AVAsyncButton--icon",
|
15426
15426
|
"data-test": "btn-spinner"
|
15427
15427
|
})
|
15428
15428
|
], !0),
|
15429
|
-
K(
|
15429
|
+
K(l.$slots, "waitingLabel", {}, () => [
|
15430
15430
|
c2("Working...")
|
15431
15431
|
], !0)
|
15432
|
-
], 64)) : K(
|
15432
|
+
], 64)) : K(l.$slots, "default", { key: 0 }, () => [
|
15433
15433
|
z(m, {
|
15434
15434
|
icon: t.value,
|
15435
15435
|
class: "AVAsyncButton--icon",
|
@@ -15466,12 +15466,12 @@ const KB = /* @__PURE__ */ I(JB, [["__scopeId", "data-v-11042fa9"]]), cP = { cla
|
|
15466
15466
|
const n = () => {
|
15467
15467
|
i.value = [], e.options.map(
|
15468
15468
|
(v) => i.value.push({ value: v, selected: !1 })
|
15469
|
-
), e.selected ?
|
15470
|
-
},
|
15469
|
+
), e.selected ? l(e.selected) : i.value[0].selected = !0, e.disabled && r();
|
15470
|
+
}, l = (v) => {
|
15471
15471
|
i.value.map((p) => {
|
15472
15472
|
p.value === v ? (p.selected = !0, t.value = p.value) : p.selected = !1;
|
15473
15473
|
});
|
15474
|
-
},
|
15474
|
+
}, r = () => {
|
15475
15475
|
if (i.value.map((v) => v.disabled = !1), e.disabled)
|
15476
15476
|
i.value.map((v) => {
|
15477
15477
|
e.disabled.map(
|
@@ -15481,7 +15481,7 @@ const KB = /* @__PURE__ */ I(JB, [["__scopeId", "data-v-11042fa9"]]), cP = { cla
|
|
15481
15481
|
else
|
15482
15482
|
return;
|
15483
15483
|
}, m = (v) => {
|
15484
|
-
|
15484
|
+
l(v), f();
|
15485
15485
|
}, f = () => {
|
15486
15486
|
a("update", t.value, i.value);
|
15487
15487
|
};
|
@@ -15491,11 +15491,11 @@ const KB = /* @__PURE__ */ I(JB, [["__scopeId", "data-v-11042fa9"]]), cP = { cla
|
|
15491
15491
|
), e2(
|
15492
15492
|
() => e.selected,
|
15493
15493
|
() => {
|
15494
|
-
t.value = e.selected,
|
15494
|
+
t.value = e.selected, l(e.selected);
|
15495
15495
|
}
|
15496
15496
|
), e2(
|
15497
15497
|
() => e.disabled,
|
15498
|
-
() =>
|
15498
|
+
() => r()
|
15499
15499
|
), (v, p) => (u(), d("div", cP, [
|
15500
15500
|
(u(!0), d(R, null, X(i.value, (h) => (u(), d("button", {
|
15501
15501
|
key: h.value,
|
@@ -15533,7 +15533,7 @@ const iP = /* @__PURE__ */ I(aP, [["__scopeId", "data-v-413f60c7"]]), tP = { cla
|
|
15533
15533
|
setup(c) {
|
15534
15534
|
const a = c, e = g(() => a.currentBallots >= a.minimumBallots), i = g(() => a.minimumBallots - a.currentBallots);
|
15535
15535
|
return (t, s) => {
|
15536
|
-
const n = M("AVIcon"),
|
15536
|
+
const n = M("AVIcon"), l = M("AVSpinner");
|
15537
15537
|
return u(), d("div", tP, [
|
15538
15538
|
o("div", sP, [
|
15539
15539
|
z(n, {
|
@@ -15551,7 +15551,7 @@ const iP = /* @__PURE__ */ I(aP, [["__scopeId", "data-v-413f60c7"]]), tP = { cla
|
|
15551
15551
|
icon: "fa-solid fa-circle-check",
|
15552
15552
|
class: "AVBallotSummary--icon AVBallotSummary--icon-ready",
|
15553
15553
|
"data-test": "ballot-status-icon"
|
15554
|
-
})) : (u(), q(
|
15554
|
+
})) : (u(), q(l, {
|
15555
15555
|
key: 1,
|
15556
15556
|
color: "neutral",
|
15557
15557
|
"data-test": "ballot-spinner"
|
@@ -15602,7 +15602,7 @@ const lP = /* @__PURE__ */ I(rP, [["__scopeId", "data-v-607d90fc"]]), oP = {
|
|
15602
15602
|
}, 1e3);
|
15603
15603
|
}, s = g(() => 100 - i.value / e.timeout * 100), n = g(
|
15604
15604
|
() => Math.floor((e.timeout - i.value) / 60)
|
15605
|
-
),
|
15605
|
+
), l = g(() => (e.timeout - i.value) % 60), r = g(() => n.value % 60), m = g(() => l.value < 10 ? `${r.value}:0${l.value}` : `${r.value}:${l.value}`);
|
15606
15606
|
return (f, v) => (u(), d(R, null, [
|
15607
15607
|
o("div", {
|
15608
15608
|
class: "AVTimedCard",
|
@@ -15716,8 +15716,8 @@ const zP = /* @__PURE__ */ I(VP, [["__scopeId", "data-v-9a6218e9"]]), HP = { cla
|
|
15716
15716
|
() => i()
|
15717
15717
|
);
|
15718
15718
|
const s = g(() => `${100 / a.steps.length}%`);
|
15719
|
-
return (n,
|
15720
|
-
const
|
15719
|
+
return (n, l) => {
|
15720
|
+
const r = M("AVIcon");
|
15721
15721
|
return u(), d("div", HP, [
|
15722
15722
|
(u(!0), d(R, null, X(e.value, (m, f) => (u(), d("div", {
|
15723
15723
|
key: f,
|
@@ -15725,7 +15725,7 @@ const zP = /* @__PURE__ */ I(VP, [["__scopeId", "data-v-9a6218e9"]]), HP = { cla
|
|
15725
15725
|
"data-test": "step"
|
15726
15726
|
}, [
|
15727
15727
|
m.done ? (u(), d("div", MP, [
|
15728
|
-
z(
|
15728
|
+
z(r, {
|
15729
15729
|
icon: "fa-solid fa-check",
|
15730
15730
|
class: "AVSteps--step-icon"
|
15731
15731
|
})
|
@@ -15859,8 +15859,8 @@ const kP = /* @__PURE__ */ I(wP, [["__scopeId", "data-v-9953e4ee"]]), _P = {
|
|
15859
15859
|
"aria-describedby": `option_${e.optionReference}_description option_${e.optionReference}_handle`,
|
15860
15860
|
tabindex: 0
|
15861
15861
|
} : {});
|
15862
|
-
return (n,
|
15863
|
-
const
|
15862
|
+
return (n, l) => {
|
15863
|
+
const r = M("AVOptionSelect");
|
15864
15864
|
return u(), d("div", TP, [
|
15865
15865
|
c.exclusiveError && c.checked ? (u(), d("div", DP, [
|
15866
15866
|
o("div", IP, V(t.value.exclusive_option), 1)
|
@@ -15879,7 +15879,7 @@ const kP = /* @__PURE__ */ I(wP, [["__scopeId", "data-v-9953e4ee"]]), _P = {
|
|
15879
15879
|
onClick: A2(i, ["stop"]),
|
15880
15880
|
onKeydown: B9(A2(i, ["prevent"]), ["space", "enter"])
|
15881
15881
|
}), [
|
15882
|
-
c.checked ? (u(), q(
|
15882
|
+
c.checked ? (u(), q(r, {
|
15883
15883
|
key: 0,
|
15884
15884
|
id: `option_${c.optionReference}_tick`,
|
15885
15885
|
rank: c.rank,
|
@@ -15949,28 +15949,28 @@ const OP = /* @__PURE__ */ I(PP, [["__scopeId", "data-v-919d7a25"]]), jP = /* @_
|
|
15949
15949
|
emits: ["accordionOpen"],
|
15950
15950
|
setup(c, { emit: a }) {
|
15951
15951
|
const e = c, i = F(!1), t = F(!0);
|
15952
|
-
function s(n = !1,
|
15953
|
-
e.collapsable && (t.value =
|
15952
|
+
function s(n = !1, l = !0) {
|
15953
|
+
e.collapsable && (t.value = l, n === null ? i.value = !i.value : i.value = !!n, i.value && a("accordionOpen"));
|
15954
15954
|
}
|
15955
15955
|
return v2(() => {
|
15956
15956
|
i.value = e.collapsable && !e.startCollapsed;
|
15957
|
-
}), (n,
|
15958
|
-
const
|
15957
|
+
}), (n, l) => {
|
15958
|
+
const r = M("AVTransitionSlide");
|
15959
15959
|
return c.collapsable ? (u(), d(R, { key: 0 }, [
|
15960
15960
|
o("div", {
|
15961
15961
|
"aria-controls": c.paneId,
|
15962
15962
|
tabindex: "0",
|
15963
15963
|
"aria-expanded": i.value,
|
15964
15964
|
class: "AVCollapser",
|
15965
|
-
onClick:
|
15966
|
-
onKeypress:
|
15965
|
+
onClick: l[0] || (l[0] = (m) => s()),
|
15966
|
+
onKeypress: l[1] || (l[1] = B9(A2((m) => s(), ["prevent"]), ["space", "enter"]))
|
15967
15967
|
}, [
|
15968
15968
|
K(n.$slots, "toggle", {
|
15969
15969
|
isOpen: i.value,
|
15970
15970
|
collapsable: c.collapsable
|
15971
15971
|
}, void 0, !0)
|
15972
15972
|
], 40, EP),
|
15973
|
-
z(
|
15973
|
+
z(r, {
|
15974
15974
|
"skip-transition": !t.value
|
15975
15975
|
}, {
|
15976
15976
|
default: $(() => [
|
@@ -16067,9 +16067,9 @@ const $P = /* @__PURE__ */ I(FP, [["__scopeId", "data-v-823fd4bf"]]), RP = { cla
|
|
16067
16067
|
(m) => t.value.push({ value: m, checked: !1 })
|
16068
16068
|
), e.initialValue && s(e.initialValue), e.disabled && n();
|
16069
16069
|
});
|
16070
|
-
const
|
16071
|
-
s(m),
|
16072
|
-
},
|
16070
|
+
const l = (m) => {
|
16071
|
+
s(m), r();
|
16072
|
+
}, r = () => {
|
16073
16073
|
a("update", i.value, t.value);
|
16074
16074
|
};
|
16075
16075
|
return e2(
|
@@ -16102,7 +16102,7 @@ const $P = /* @__PURE__ */ I(FP, [["__scopeId", "data-v-823fd4bf"]]), RP = { cla
|
|
16102
16102
|
value: p.value,
|
16103
16103
|
checked: p.checked,
|
16104
16104
|
disabled: p.disabled,
|
16105
|
-
onUpdate: (L) =>
|
16105
|
+
onUpdate: (L) => l(p.value)
|
16106
16106
|
}, null, 8, ["id", "value", "checked", "disabled", "onUpdate"]))), 128))
|
16107
16107
|
], 2),
|
16108
16108
|
c.error && c.errorMessage ? (u(), d("p", WP, V(c.errorMessage), 1)) : x("", !0)
|
@@ -16239,13 +16239,13 @@ const eO = /* @__PURE__ */ I(cO, [["__scopeId", "data-v-71e09fe3"]]), aO = ["hre
|
|
16239
16239
|
archived: "default"
|
16240
16240
|
}, i = g(() => e[a.status]);
|
16241
16241
|
return (t, s) => {
|
16242
|
-
const n = M("AVLabel"),
|
16242
|
+
const n = M("AVLabel"), l = M("AVIcon"), r = M("AVCard");
|
16243
16243
|
return u(), d("a", {
|
16244
16244
|
href: c.href,
|
16245
16245
|
class: "AVElectionCard",
|
16246
16246
|
"data-test": "link"
|
16247
16247
|
}, [
|
16248
|
-
z(
|
16248
|
+
z(r, {
|
16249
16249
|
variant: "rounded",
|
16250
16250
|
role: "button"
|
16251
16251
|
}, {
|
@@ -16262,7 +16262,7 @@ const eO = /* @__PURE__ */ I(cO, [["__scopeId", "data-v-71e09fe3"]]), aO = ["hre
|
|
16262
16262
|
o("div", rO, [
|
16263
16263
|
o("div", lO, [
|
16264
16264
|
o("div", oO, [
|
16265
|
-
z(
|
16265
|
+
z(l, { icon: "fa-solid fa-location-pin" })
|
16266
16266
|
]),
|
16267
16267
|
o("span", fO, [
|
16268
16268
|
c2(V(c.countyNameLabel), 1),
|
@@ -16271,7 +16271,7 @@ const eO = /* @__PURE__ */ I(cO, [["__scopeId", "data-v-71e09fe3"]]), aO = ["hre
|
|
16271
16271
|
]),
|
16272
16272
|
o("div", uO, [
|
16273
16273
|
o("div", mO, [
|
16274
|
-
z(
|
16274
|
+
z(l, { icon: "fa-solid fa-file-circle-plus" })
|
16275
16275
|
]),
|
16276
16276
|
o("span", dO, [
|
16277
16277
|
c2(V(c.createdAtLabel), 1),
|
@@ -16280,7 +16280,7 @@ const eO = /* @__PURE__ */ I(cO, [["__scopeId", "data-v-71e09fe3"]]), aO = ["hre
|
|
16280
16280
|
]),
|
16281
16281
|
o("div", vO, [
|
16282
16282
|
o("div", pO, [
|
16283
|
-
z(
|
16283
|
+
z(l, { icon: "fa-solid fa-pen-to-square" })
|
16284
16284
|
]),
|
16285
16285
|
o("span", hO, [
|
16286
16286
|
c2(V(c.lastUpdatedLabel), 1),
|
@@ -16290,7 +16290,7 @@ const eO = /* @__PURE__ */ I(cO, [["__scopeId", "data-v-71e09fe3"]]), aO = ["hre
|
|
16290
16290
|
])
|
16291
16291
|
]),
|
16292
16292
|
o("div", VO, [
|
16293
|
-
z(
|
16293
|
+
z(l, {
|
16294
16294
|
icon: "fa-solid fa-circle-chevron-right",
|
16295
16295
|
class: "AVElectionCard--CTA-icon"
|
16296
16296
|
})
|
@@ -16477,8 +16477,8 @@ const NO = /* @__PURE__ */ I(AO, [["__scopeId", "data-v-c682a2cf"]]), SO = {
|
|
16477
16477
|
setup(c) {
|
16478
16478
|
const a = c, e = g(() => SO[a.locale]), i = g(
|
16479
16479
|
() => {
|
16480
|
-
var n,
|
16481
|
-
return ((n = a.option) == null ? void 0 : n.crosses) && ((
|
16480
|
+
var n, l;
|
16481
|
+
return ((n = a.option) == null ? void 0 : n.crosses) && ((l = a.option) == null ? void 0 : l.crosses) > 1 && a.multipleVotesAllowed && !a.blank;
|
16482
16482
|
}
|
16483
16483
|
), t = g(() => {
|
16484
16484
|
var n;
|
@@ -16487,12 +16487,12 @@ const NO = /* @__PURE__ */ I(AO, [["__scopeId", "data-v-c682a2cf"]]), SO = {
|
|
16487
16487
|
var f, v;
|
16488
16488
|
const n = Array.from(Array((f = a.option) == null ? void 0 : f.crosses).keys());
|
16489
16489
|
n.forEach((p) => n[p] = p + 1);
|
16490
|
-
const
|
16491
|
-
return m.length ? [
|
16490
|
+
const l = n.indexOf(Math.ceil(((v = a.option) == null ? void 0 : v.crosses) / 2)) + 1, r = n.slice(0, l), m = n.slice(l);
|
16491
|
+
return m.length ? [r, m] : [r];
|
16492
16492
|
});
|
16493
|
-
return (n,
|
16493
|
+
return (n, l) => {
|
16494
16494
|
var m, f, v;
|
16495
|
-
const
|
16495
|
+
const r = M("AVOptionCheckbox");
|
16496
16496
|
return u(), d("div", {
|
16497
16497
|
class: "AVSummaryOption",
|
16498
16498
|
"aria-label": e.value.option
|
@@ -16513,7 +16513,7 @@ const NO = /* @__PURE__ */ I(AO, [["__scopeId", "data-v-c682a2cf"]]), SO = {
|
|
16513
16513
|
o("div", TO, V(t.value), 1)
|
16514
16514
|
]),
|
16515
16515
|
i.value ? x("", !0) : (u(), d("div", DO, [
|
16516
|
-
z(
|
16516
|
+
z(r, {
|
16517
16517
|
checked: !0,
|
16518
16518
|
rank: (v = c.option) == null ? void 0 : v.rank,
|
16519
16519
|
disabled: !0
|
@@ -16527,7 +16527,7 @@ const NO = /* @__PURE__ */ I(AO, [["__scopeId", "data-v-c682a2cf"]]), SO = {
|
|
16527
16527
|
}, [
|
16528
16528
|
(u(!0), d(R, null, X(p, (h) => {
|
16529
16529
|
var L;
|
16530
|
-
return u(), q(
|
16530
|
+
return u(), q(r, {
|
16531
16531
|
key: h,
|
16532
16532
|
checked: !0,
|
16533
16533
|
rank: (L = c.option) == null ? void 0 : L.rank,
|
@@ -16710,7 +16710,7 @@ const PO = {
|
|
16710
16710
|
},
|
16711
16711
|
emits: ["accordion-open", "checked"],
|
16712
16712
|
setup(c, { emit: a }) {
|
16713
|
-
const e = c, { eventBus: i } = Xw(), t = F(!1), s = F(null), n = F(null), { emit:
|
16713
|
+
const e = c, { eventBus: i } = Xw(), t = F(!1), s = F(null), n = F(null), { emit: l } = uk(), r = g(() => PO[e.locale]), m = g(
|
16714
16714
|
() => document.getElementsByTagName("html")[0].dir === "rtl"
|
16715
16715
|
), f = g(
|
16716
16716
|
() => e.contest.markingType.voteVariation === "ranked"
|
@@ -16733,10 +16733,10 @@ const PO = {
|
|
16733
16733
|
let A = [];
|
16734
16734
|
return L.value && A.push({
|
16735
16735
|
url: L.value,
|
16736
|
-
text:
|
16736
|
+
text: r.value.info_link_text_html
|
16737
16737
|
}), b.value && A.push({
|
16738
16738
|
url: b.value,
|
16739
|
-
text:
|
16739
|
+
text: r.value.video_link_text_html
|
16740
16740
|
}), A;
|
16741
16741
|
}), _ = g(
|
16742
16742
|
() => e.option.children && e.option.children.length > 0
|
@@ -16758,7 +16758,7 @@ const PO = {
|
|
16758
16758
|
).length;
|
16759
16759
|
return A.reduce((Q, U) => Q + H(U.children), O);
|
16760
16760
|
}, y = (A) => {
|
16761
|
-
t.value = !1, A === e.option.code && (
|
16761
|
+
t.value = !1, A === e.option.code && (l("accordion-open"), mk(() => {
|
16762
16762
|
t.value = !0, n.value.scrollIntoView({ behavior: "smooth", block: "center" });
|
16763
16763
|
}));
|
16764
16764
|
};
|
@@ -16791,7 +16791,7 @@ const PO = {
|
|
16791
16791
|
ref_key: "el",
|
16792
16792
|
ref: s,
|
16793
16793
|
class: j(["AVOption", { "AVOption--highlight": t.value }]),
|
16794
|
-
"aria-label":
|
16794
|
+
"aria-label": r.value.aria_labels.option
|
16795
16795
|
}, [
|
16796
16796
|
o("div", {
|
16797
16797
|
class: j(["AVOption--container", {
|
@@ -16804,7 +16804,7 @@ const PO = {
|
|
16804
16804
|
k.value ? (u(), d("img", {
|
16805
16805
|
key: 0,
|
16806
16806
|
src: k.value,
|
16807
|
-
alt:
|
16807
|
+
alt: r.value.aria_labels.option_image,
|
16808
16808
|
class: "AVOption-image"
|
16809
16809
|
}, null, 8, FO)) : x("", !0),
|
16810
16810
|
o("h5", {
|
@@ -16837,7 +16837,7 @@ const PO = {
|
|
16837
16837
|
}, null, 8, ["icon"]),
|
16838
16838
|
o("span", {
|
16839
16839
|
class: "AVOption--expander-help-text",
|
16840
|
-
innerHTML: Z ?
|
16840
|
+
innerHTML: Z ? r.value.collapse_text : r.value.expand_text
|
16841
16841
|
}, null, 8, XO)
|
16842
16842
|
], 8, ZO),
|
16843
16843
|
N.value && !Z ? (u(), d("span", {
|
@@ -16846,7 +16846,7 @@ const PO = {
|
|
16846
16846
|
"AVOption--suboption-badge-danger": c.invalid,
|
16847
16847
|
"AVOption--suboption-badge-normal": !c.invalid
|
16848
16848
|
}])
|
16849
|
-
}, V(m.value ? `${
|
16849
|
+
}, V(m.value ? `${r.value.sub_options_select} ${N.value}` : `${N.value} ${r.value.sub_options_select}`), 3)) : x("", !0)
|
16850
16850
|
])) : x("", !0)
|
16851
16851
|
])) : x("", !0)
|
16852
16852
|
]),
|
@@ -17152,15 +17152,15 @@ const rj = /* @__PURE__ */ I(nj, [["__scopeId", "data-v-37a87144"]]), lj = {
|
|
17152
17152
|
"update:checkedValue"
|
17153
17153
|
],
|
17154
17154
|
setup(c, { emit: a }) {
|
17155
|
-
const e = c, i = g(() => lj[e.locale]), t = (
|
17156
|
-
a("update:candidateValue",
|
17157
|
-
}, s = (
|
17158
|
-
a("update:partyValue",
|
17155
|
+
const e = c, i = g(() => lj[e.locale]), t = (l) => {
|
17156
|
+
a("update:candidateValue", l), n();
|
17157
|
+
}, s = (l) => {
|
17158
|
+
a("update:partyValue", l), n();
|
17159
17159
|
}, n = () => {
|
17160
|
-
const
|
17161
|
-
|
17160
|
+
const l = e.partyValue !== "" || e.candidateValue !== "";
|
17161
|
+
l !== e.checkedValue && a("update:checkedValue", l);
|
17162
17162
|
};
|
17163
|
-
return (
|
17163
|
+
return (l, r) => {
|
17164
17164
|
const m = M("AVOptionCheckbox");
|
17165
17165
|
return u(), d("div", {
|
17166
17166
|
class: "AVWriteInOption",
|
@@ -17173,7 +17173,7 @@ const rj = /* @__PURE__ */ I(nj, [["__scopeId", "data-v-37a87144"]]), lj = {
|
|
17173
17173
|
o("select", {
|
17174
17174
|
class: "AVWriteInOption--form-control",
|
17175
17175
|
"aria-label": i.value.aria_labels.party,
|
17176
|
-
onInput:
|
17176
|
+
onInput: r[0] || (r[0] = (f) => s(f.target.value))
|
17177
17177
|
}, [
|
17178
17178
|
o("option", pj, V(i.value.choose_party), 1),
|
17179
17179
|
(u(!0), d(R, null, X(c.parties, (f) => (u(), d("option", {
|
@@ -17187,7 +17187,7 @@ const rj = /* @__PURE__ */ I(nj, [["__scopeId", "data-v-37a87144"]]), lj = {
|
|
17187
17187
|
class: "AVWriteInOption--form-control",
|
17188
17188
|
placeholder: i.value.placeholder,
|
17189
17189
|
"aria-label": i.value.aria_labels.candidate,
|
17190
|
-
onInput:
|
17190
|
+
onInput: r[1] || (r[1] = (f) => t(f.target.value))
|
17191
17191
|
}, null, 40, Vj)
|
17192
17192
|
])
|
17193
17193
|
]),
|
@@ -17489,7 +17489,7 @@ function Dj(c, a, e) {
|
|
17489
17489
|
return c.filter((t) => {
|
17490
17490
|
const s = e(t).toLowerCase().trim().split(/\s+/);
|
17491
17491
|
return i.every(
|
17492
|
-
(n) => s.some((
|
17492
|
+
(n) => s.some((l) => l.includes(n))
|
17493
17493
|
);
|
17494
17494
|
});
|
17495
17495
|
}
|
@@ -17628,14 +17628,14 @@ const Ij = {
|
|
17628
17628
|
this
|
17629
17629
|
);
|
17630
17630
|
}
|
17631
|
-
}),
|
17631
|
+
}), l = g(() => i.value.trim() === "" ? [] : Dj(
|
17632
17632
|
a.options,
|
17633
17633
|
i.value,
|
17634
17634
|
(f) => f.title[a.locale]
|
17635
|
-
)),
|
17635
|
+
)), r = () => {
|
17636
17636
|
i.value = "", t.value && clearTimeout(t.value);
|
17637
17637
|
}, m = (f) => {
|
17638
|
-
e("highlight-option", f.code),
|
17638
|
+
e("highlight-option", f.code), r();
|
17639
17639
|
};
|
17640
17640
|
return (f, v) => (u(), d("form", {
|
17641
17641
|
role: "search",
|
@@ -17663,7 +17663,7 @@ const Ij = {
|
|
17663
17663
|
])
|
17664
17664
|
]),
|
17665
17665
|
o("div", qj, [
|
17666
|
-
(u(!0), d(R, null, X(
|
17666
|
+
(u(!0), d(R, null, X(l.value, (p) => (u(), d("div", {
|
17667
17667
|
key: p,
|
17668
17668
|
"aria-label": p.title[c.locale]
|
17669
17669
|
}, [
|
@@ -17680,7 +17680,7 @@ const Ij = {
|
|
17680
17680
|
}, null, 8, Rj)
|
17681
17681
|
], 8, $j)
|
17682
17682
|
], 8, Fj))), 128)),
|
17683
|
-
i.value &&
|
17683
|
+
i.value && l.value.length === 0 ? (u(), d("div", {
|
17684
17684
|
key: 0,
|
17685
17685
|
class: "AVSearchBallot--alert",
|
17686
17686
|
textContent: V(s.value.no_results)
|
@@ -18320,7 +18320,7 @@ const DE = {
|
|
18320
18320
|
},
|
18321
18321
|
emits: ["update:selectionPile"],
|
18322
18322
|
setup(c, { emit: a }) {
|
18323
|
-
const e = c, i = F(!1), t = F(""), s = F(""), n = F(null),
|
18323
|
+
const e = c, i = F(!1), t = F(""), s = F(""), n = F(null), l = g(() => e.selectionPile.optionSelections), r = g(() => new Jw(e.contest)), m = g(() => r.value.validate(e.selectionPile)), f = g(() => m.value.length === 0), v = g(() => {
|
18324
18324
|
var _;
|
18325
18325
|
return (_ = e.contest.question) == null ? void 0 : _[e.locale];
|
18326
18326
|
}), p = g(() => e.contest.options), h = g(() => e.contest), L = g(() => DE[e.locale]);
|
@@ -18334,11 +18334,11 @@ const DE = {
|
|
18334
18334
|
explicitBlank: !e.selectionPile.explicitBlank
|
18335
18335
|
});
|
18336
18336
|
}, k = ({ reference: _, amount: C }) => {
|
18337
|
-
const N =
|
18337
|
+
const N = l.value.filter(
|
18338
18338
|
(S) => S.reference === _
|
18339
18339
|
).length;
|
18340
18340
|
C === N && (C = C - 1);
|
18341
|
-
const D =
|
18341
|
+
const D = l.value.filter(
|
18342
18342
|
(S) => S.reference !== _
|
18343
18343
|
);
|
18344
18344
|
for (let S = 0; S < C; S++)
|
@@ -18398,7 +18398,7 @@ const DE = {
|
|
18398
18398
|
locale: e.locale
|
18399
18399
|
}, null, 8, ["candidate-value", "party-value", "checked-value", "parties", "locale"])) : (u(), q(S, {
|
18400
18400
|
key: 1,
|
18401
|
-
selections:
|
18401
|
+
selections: l.value,
|
18402
18402
|
option: y,
|
18403
18403
|
invalid: !f.value,
|
18404
18404
|
contest: c.contest,
|
@@ -18416,7 +18416,7 @@ const DE = {
|
|
18416
18416
|
], 10, jE),
|
18417
18417
|
z(H, {
|
18418
18418
|
id: `ballot_${c.contest.reference}`,
|
18419
|
-
"chosen-count":
|
18419
|
+
"chosen-count": l.value.length,
|
18420
18420
|
errors: m.value,
|
18421
18421
|
class: "AVBallot--helper",
|
18422
18422
|
"min-marks": c.contest.markingType.minMarks,
|
@@ -18642,17 +18642,17 @@ const qE = /* @__PURE__ */ I(EE, [["__scopeId", "data-v-568a77bb"]]), FE = {
|
|
18642
18642
|
},
|
18643
18643
|
emits: ["editCurrentSelection", "deleteSelection"],
|
18644
18644
|
setup(c, { emit: a }) {
|
18645
|
-
const e = c, i = F(!1), t = F([]), s = g(() => FE[e.locale]), n = g(() => e.selectionPile.optionSelections.length === 0),
|
18645
|
+
const e = c, i = F(!1), t = F([]), s = g(() => FE[e.locale]), n = g(() => e.selectionPile.optionSelections.length === 0), l = g(() => !e.maximumOptionsShown || i.value ? e.selectionPile.optionSelections : e.selectionPile.optionSelections.slice(
|
18646
18646
|
0,
|
18647
18647
|
e.maximumOptionsShown
|
18648
|
-
)),
|
18648
|
+
)), r = g(() => e.selectionPile.optionSelections.length - l.value.length), m = (v) => {
|
18649
18649
|
v.selectable && t.value.push(v), v.children && v.children.map((p) => m(p));
|
18650
18650
|
}, f = g(() => {
|
18651
18651
|
const v = {
|
18652
18652
|
options: [],
|
18653
18653
|
writeIns: []
|
18654
18654
|
};
|
18655
|
-
return
|
18655
|
+
return l.value.forEach((p) => {
|
18656
18656
|
if (p.text)
|
18657
18657
|
v.writeIns.push({
|
18658
18658
|
partyLetter: "?",
|
@@ -18733,14 +18733,14 @@ const qE = /* @__PURE__ */ I(EE, [["__scopeId", "data-v-568a77bb"]]), FE = {
|
|
18733
18733
|
eq,
|
18734
18734
|
o("span", null, V(b.candidateName), 1)
|
18735
18735
|
]))), 128)),
|
18736
|
-
|
18736
|
+
r.value > 0 ? (u(), d("p", {
|
18737
18737
|
key: 1,
|
18738
18738
|
role: "button",
|
18739
18739
|
class: "AVPileSummary--show-more-button",
|
18740
18740
|
onClick: p[1] || (p[1] = A2((b) => i.value = !0, ["stop", "prevent"]))
|
18741
18741
|
}, [
|
18742
18742
|
o("u", null, [
|
18743
|
-
o("em", null, V(`${s.value.and_n_more_pre} ${
|
18743
|
+
o("em", null, V(`${s.value.and_n_more_pre} ${r.value} ${s.value.and_n_more_pos}`), 1)
|
18744
18744
|
])
|
18745
18745
|
])) : x("", !0),
|
18746
18746
|
i.value ? (u(), d("p", {
|
@@ -19044,66 +19044,65 @@ const lq = {
|
|
19044
19044
|
"setContestSelection"
|
19045
19045
|
],
|
19046
19046
|
setup(c, { emit: a }) {
|
19047
|
-
const e = c, i = F(null), t =
|
19047
|
+
const e = c, i = F(null), t = g(
|
19048
|
+
() => {
|
19049
|
+
var H;
|
19050
|
+
return m.value + ((H = r.value[i.value]) == null ? void 0 : H.multiplier) || 0;
|
19051
|
+
}
|
19052
|
+
), s = F({
|
19053
|
+
optionSelections: [],
|
19054
|
+
multiplier: t.value,
|
19055
|
+
explicitBlank: !1
|
19056
|
+
}), n = g(() => lq[e.locale]), l = g(() => e.ballotActiveState), r = g(() => e.contestSelection.piles), m = g(
|
19048
19057
|
() => r.value.reduce((H, y) => H - y.multiplier, e.weight)
|
19049
|
-
),
|
19058
|
+
), f = g(
|
19050
19059
|
() => new Jw(e.contest)
|
19051
|
-
),
|
19060
|
+
), v = () => new rq({
|
19052
19061
|
contest: e.contest,
|
19053
19062
|
voterWeight: e.weight
|
19054
|
-
}),
|
19055
|
-
() =>
|
19056
|
-
(H) =>
|
19063
|
+
}), p = g(
|
19064
|
+
() => m.value === 0 && r.value.every(
|
19065
|
+
(H) => f.value.isComplete(H)
|
19057
19066
|
)
|
19058
|
-
),
|
19067
|
+
), h = g(
|
19059
19068
|
() => r.value.reduce((H, y) => H + y.multiplier, 0)
|
19060
|
-
),
|
19069
|
+
), L = g(() => {
|
19061
19070
|
var H;
|
19062
|
-
return (H =
|
19063
|
-
}),
|
19064
|
-
() => {
|
19065
|
-
var H;
|
19066
|
-
return l.value + ((H = r.value[i.value || 0]) == null ? void 0 : H.multiplier);
|
19067
|
-
}
|
19068
|
-
), b = g(
|
19071
|
+
return (H = s.value) == null ? void 0 : H.multiplier;
|
19072
|
+
}), b = g(
|
19069
19073
|
() => e.splitableContests[e.contest.reference]
|
19070
|
-
), k = g(() => i.value !== null), B = (H) =>
|
19071
|
-
|
19074
|
+
), k = g(() => i.value !== null), B = (H) => f.value.isComplete(H), _ = (H) => f.value.validate(H).length > 0, C = (H) => {
|
19075
|
+
s.value = H, b.value || N();
|
19072
19076
|
}, N = () => {
|
19073
19077
|
if (b.value) {
|
19074
19078
|
const H = [...r.value];
|
19075
|
-
|
19079
|
+
s.value && (i.value === null ? H.push({ ...s.value }) : H.splice(i.value, 1, { ...s.value })), a("setContestSelection", {
|
19076
19080
|
...e.contestSelection,
|
19077
19081
|
piles: H
|
19078
19082
|
}), i.value = null, a("setBallotActiveState", "overview");
|
19079
19083
|
} else
|
19080
|
-
|
19084
|
+
s.value.multiplier = e.weight, a("setContestSelection", {
|
19081
19085
|
...e.contestSelection,
|
19082
|
-
piles: [
|
19086
|
+
piles: [s.value]
|
19083
19087
|
});
|
19084
19088
|
}, D = () => {
|
19085
|
-
|
19089
|
+
s.value = {
|
19086
19090
|
optionSelections: [],
|
19087
|
-
multiplier:
|
19091
|
+
multiplier: t.value,
|
19088
19092
|
explicitBlank: !1
|
19089
19093
|
}, i.value = null, a("setBallotActiveState", "ballot");
|
19090
19094
|
}, S = (H) => {
|
19091
19095
|
r.value.splice(H, 1);
|
19092
19096
|
}, E = (H) => {
|
19093
|
-
|
19097
|
+
s.value = { ...r.value[H] }, i.value = H, a("setBallotActiveState", "ballot");
|
19094
19098
|
};
|
19095
|
-
return e2(
|
19096
|
-
|
19099
|
+
return e2(p, (H) => a("update:complete", H)), e2(l, (H) => a("setBallotActiveState", H)), e2(L, () => {
|
19100
|
+
s.value && (s.value.multiplier = Math.max(
|
19097
19101
|
0,
|
19098
|
-
Math.min(
|
19102
|
+
Math.min(L.value, t.value)
|
19099
19103
|
));
|
19100
19104
|
}), v2(() => {
|
19101
|
-
|
19102
|
-
t.value = ((H = e.contestSelection.piles) == null ? void 0 : H[0]) || {
|
19103
|
-
multiplier: e.weight,
|
19104
|
-
optionSelections: [],
|
19105
|
-
explicitBlank: !1
|
19106
|
-
}, b.value || N();
|
19105
|
+
b.value || N();
|
19107
19106
|
}), (H, y) => {
|
19108
19107
|
var f2;
|
19109
19108
|
const A = M("AVSplitWizardHeader"), O = M("AVBallot"), Q = M("AVPileSummary"), U = M("AVSplitWeightHelper"), t2 = M("AVIcon");
|
@@ -19114,12 +19113,12 @@ const lq = {
|
|
19114
19113
|
innerHTML: (f2 = c.contest.description) == null ? void 0 : f2[e.locale]
|
19115
19114
|
}, null, 8, fq),
|
19116
19115
|
b.value ? (u(), d("div", uq, [
|
19117
|
-
["ballot", "assign", "overview"].includes(
|
19116
|
+
["ballot", "assign", "overview"].includes(l.value) ? (u(), q(A, {
|
19118
19117
|
key: 0,
|
19119
19118
|
"active-ballot-index": i.value,
|
19120
|
-
"active-state":
|
19119
|
+
"active-state": l.value,
|
19121
19120
|
"selection-piles": r.value,
|
19122
|
-
"total-weight":
|
19121
|
+
"total-weight": h.value + m.value,
|
19123
19122
|
"is-editing": k.value,
|
19124
19123
|
locale: e.locale
|
19125
19124
|
}, null, 8, ["active-ballot-index", "active-state", "selection-piles", "total-weight", "is-editing", "locale"])) : x("", !0),
|
@@ -19130,10 +19129,10 @@ const lq = {
|
|
19130
19129
|
default: $(() => {
|
19131
19130
|
var Z;
|
19132
19131
|
return [
|
19133
|
-
|
19132
|
+
s.value && l.value === "ballot" ? (u(), d("div", { key: i.value }, [
|
19134
19133
|
z(O, {
|
19135
19134
|
class: "AVSplitHelper--ballot",
|
19136
|
-
"selection-pile":
|
19135
|
+
"selection-pile": s.value,
|
19137
19136
|
contest: c.contest,
|
19138
19137
|
locale: e.locale,
|
19139
19138
|
"onUpdate:selectionPile": C
|
@@ -19144,26 +19143,26 @@ const lq = {
|
|
19144
19143
|
key: "back",
|
19145
19144
|
class: "AVSplitHelper--btn-secondary",
|
19146
19145
|
onClick: y[0] || (y[0] = (W) => a("setBallotActiveState", "overview"))
|
19147
|
-
}, V(
|
19146
|
+
}, V(n.value.ballot.back_button), 1)) : x("", !0)
|
19148
19147
|
]),
|
19149
19148
|
o("div", vq, [
|
19150
19149
|
o("button", {
|
19151
19150
|
key: "assign",
|
19152
19151
|
class: "AVSplitHelper--btn-primary",
|
19153
|
-
disabled: !B(
|
19152
|
+
disabled: !B(s.value) || _(s.value),
|
19154
19153
|
onClick: y[1] || (y[1] = (W) => a("setBallotActiveState", "assign"))
|
19155
|
-
}, V(
|
19154
|
+
}, V(n.value.ballot.confirm_button), 9, pq)
|
19156
19155
|
])
|
19157
19156
|
])
|
19158
|
-
])) :
|
19157
|
+
])) : l.value === "assign" ? (u(), d("div", hq, [
|
19159
19158
|
o("div", Vq, [
|
19160
|
-
o("h4", zq, V(
|
19159
|
+
o("h4", zq, V(n.value.assign.split_question), 1),
|
19161
19160
|
z(Q, {
|
19162
|
-
"selection-pile":
|
19161
|
+
"selection-pile": s.value,
|
19163
19162
|
contest: c.contest,
|
19164
19163
|
"maximum-options-shown": 3,
|
19165
19164
|
"pile-index": k.value ? i.value : r.value.length,
|
19166
|
-
"active-state":
|
19165
|
+
"active-state": l.value,
|
19167
19166
|
"is-editing": k.value,
|
19168
19167
|
"total-piles": c.contestSelection.piles.length,
|
19169
19168
|
"splitable-contests": c.splitableContests,
|
@@ -19173,20 +19172,20 @@ const lq = {
|
|
19173
19172
|
o("label", {
|
19174
19173
|
for: `${c.contest.reference}-ballot-selector`,
|
19175
19174
|
class: "AVSplitHelper--assign-label"
|
19176
|
-
}, V(k.value ?
|
19175
|
+
}, V(k.value ? n.value.assign.ballots_to_assign_edit_mode : n.value.assign.ballots_to_assign), 9, Hq),
|
19177
19176
|
S2(o("input", {
|
19178
19177
|
id: `${c.contest.reference}-ballot-selector`,
|
19179
|
-
"onUpdate:modelValue": y[3] || (y[3] = (W) =>
|
19178
|
+
"onUpdate:modelValue": y[3] || (y[3] = (W) => s.value.multiplier = W),
|
19180
19179
|
class: "AVSplitHelper--assign-input",
|
19181
19180
|
type: "number",
|
19182
|
-
max:
|
19181
|
+
max: t.value
|
19183
19182
|
}, null, 8, Mq), [
|
19184
|
-
[P9,
|
19183
|
+
[P9, s.value.multiplier]
|
19185
19184
|
])
|
19186
19185
|
]),
|
19187
19186
|
z(U, {
|
19188
|
-
"assigned-weight":
|
19189
|
-
"unused-weight":
|
19187
|
+
"assigned-weight": h.value,
|
19188
|
+
"unused-weight": m.value,
|
19190
19189
|
"active-assigned": (Z = r.value[i.value]) == null ? void 0 : Z.multiplier,
|
19191
19190
|
locale: e.locale
|
19192
19191
|
}, null, 8, ["assigned-weight", "unused-weight", "active-assigned", "locale"]),
|
@@ -19196,37 +19195,37 @@ const lq = {
|
|
19196
19195
|
key: "ballot",
|
19197
19196
|
class: "AVSplitHelper--btn-secondary",
|
19198
19197
|
onClick: y[4] || (y[4] = (W) => a("setBallotActiveState", "ballot"))
|
19199
|
-
}, V(
|
19198
|
+
}, V(n.value.assign.back_button), 1)
|
19200
19199
|
]),
|
19201
19200
|
o("div", Lq, [
|
19202
19201
|
o("button", {
|
19203
19202
|
key: "confirm",
|
19204
19203
|
class: "AVSplitHelper--btn-primary",
|
19205
|
-
disabled:
|
19204
|
+
disabled: s.value.multiplier < 1 || s.value.multiplier > t.value,
|
19206
19205
|
onClick: y[5] || (y[5] = (W) => N())
|
19207
|
-
}, V(
|
19206
|
+
}, V(n.value.assign.confirm_button), 9, bq)
|
19208
19207
|
])
|
19209
19208
|
])
|
19210
|
-
])) :
|
19211
|
-
|
19209
|
+
])) : l.value === "overview" ? (u(), d("div", xq, [
|
19210
|
+
m.value === 0 && v.isComplete(c.contestSelection) ? (u(), d("div", yq, [
|
19212
19211
|
z(t2, {
|
19213
19212
|
icon: "circle-check",
|
19214
19213
|
class: "AVSplitHelper--overview-success-icon"
|
19215
19214
|
}),
|
19216
|
-
c2(" " + V(
|
19215
|
+
c2(" " + V(n.value.overview.all_ballots_assigned), 1)
|
19217
19216
|
])) : (u(), d("div", Aq, [
|
19218
19217
|
o("p", Nq, [
|
19219
|
-
o("strong", null, V(
|
19220
|
-
c2(" " + V(
|
19218
|
+
o("strong", null, V(m.value), 1),
|
19219
|
+
c2(" " + V(n.value.overview.ballots_left), 1)
|
19221
19220
|
]),
|
19222
19221
|
o("button", {
|
19223
19222
|
key: "newSelection",
|
19224
19223
|
class: "AVSplitHelper--overview-new-ballot-btn",
|
19225
|
-
disabled:
|
19224
|
+
disabled: m.value === 0,
|
19226
19225
|
onClick: D
|
19227
19226
|
}, [
|
19228
19227
|
z(t2, { icon: "file-circle-plus" }),
|
19229
|
-
c2(" " + V(
|
19228
|
+
c2(" " + V(n.value.overview.new_ballot_selection), 1)
|
19230
19229
|
], 8, Sq)
|
19231
19230
|
])),
|
19232
19231
|
(u(!0), d(R, null, X(r.value, (W, i2) => (u(), d("article", {
|
@@ -19237,7 +19236,7 @@ const lq = {
|
|
19237
19236
|
"selection-pile": W,
|
19238
19237
|
contest: c.contest,
|
19239
19238
|
"maximum-options-shown": 3,
|
19240
|
-
"active-state":
|
19239
|
+
"active-state": l.value,
|
19241
19240
|
"pile-index": i2,
|
19242
19241
|
"total-piles": c.contestSelection.piles.length,
|
19243
19242
|
"splitable-contests": c.splitableContests,
|
@@ -19253,7 +19252,7 @@ const lq = {
|
|
19253
19252
|
])) : (u(), d("div", kq, [
|
19254
19253
|
z(O, {
|
19255
19254
|
class: "AVSplitHelper--no-split",
|
19256
|
-
"selection-pile":
|
19255
|
+
"selection-pile": s.value,
|
19257
19256
|
contest: c.contest,
|
19258
19257
|
locale: e.locale,
|
19259
19258
|
"onUpdate:selectionPile": C
|
@@ -19263,7 +19262,7 @@ const lq = {
|
|
19263
19262
|
};
|
19264
19263
|
}
|
19265
19264
|
});
|
19266
|
-
const Tq = /* @__PURE__ */ I(_q, [["__scopeId", "data-v-
|
19265
|
+
const Tq = /* @__PURE__ */ I(_q, [["__scopeId", "data-v-0b92991f"]]);
|
19267
19266
|
var Dq = {}, Iq = /* @__PURE__ */ o("a", { href: "#" }, "LOGO", -1), Bq = { class: "flex items-center" }, Pq = { class: "flex flex-col items-center justify-center p-3 w-full" }, Oq = /* @__PURE__ */ o("h2", { class: "mb-4" }, "Election Name", -1), jq = /* @__PURE__ */ o("div", null, [
|
19268
19267
|
/* @__PURE__ */ o("p", null, " Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. "),
|
19269
19268
|
/* @__PURE__ */ o("br"),
|
@@ -19298,7 +19297,7 @@ var Dq = {}, Iq = /* @__PURE__ */ o("a", { href: "#" }, "LOGO", -1), Bq = { clas
|
|
19298
19297
|
/* @__PURE__ */ o("p", null, " Pellentesque accumsan viverra odio at dignissim. Sed tortor turpis, porta sit amet venenatis ut, mollis sed sapien. Donec sapien dolor, consectetur a arcu vitae, gravida dapibus justo. Nulla mattis urna vel urna posuere blandit id auctor neque. Suspendisse tincidunt elit eu lacinia mattis. Nullam semper pellentesque augue sit amet accumsan. Ut feugiat nulla ut sapien pellentesque, at finibus velit dapibus. Morbi tristique pharetra rhoncus. Sed bibendum efficitur justo sed pellentesque. Etiam porta vitae magna semper elementum. Fusce eu tincidunt diam, at varius purus. Proin gravida velit arcu, eget volutpat magna pretium a. ")
|
19299
19298
|
], -1);
|
19300
19299
|
function Eq(c, a) {
|
19301
|
-
var e = M("AVNavbarItem"), i = M("AVNavigationItemList"), t = M("AVMenuDropdown"), s = M("AVNavbar"), n = M("AVLabel"),
|
19300
|
+
var e = M("AVNavbarItem"), i = M("AVNavigationItemList"), t = M("AVMenuDropdown"), s = M("AVNavbar"), n = M("AVLabel"), l = M("AVTabSwitcher"), r = M("AVSidebarItem"), m = M("AVButton"), f = M("AVSidebar"), v = M("AVContent"), p = M("AVFooter");
|
19302
19301
|
return u(), d(R, null, [
|
19303
19302
|
z(s, null, {
|
19304
19303
|
default: $(function() {
|
@@ -19354,50 +19353,50 @@ function Eq(c, a) {
|
|
19354
19353
|
type: "info"
|
19355
19354
|
})
|
19356
19355
|
]),
|
19357
|
-
z(
|
19356
|
+
z(l, { options: ["Pre-election", "election"] }),
|
19358
19357
|
z(i, { type: "sidebar" }, {
|
19359
19358
|
default: $(function() {
|
19360
19359
|
return [
|
19361
|
-
z(
|
19360
|
+
z(r, {
|
19362
19361
|
label: "Election Overview",
|
19363
19362
|
icon: "grip",
|
19364
19363
|
active: ""
|
19365
19364
|
}),
|
19366
|
-
z(
|
19365
|
+
z(r, {
|
19367
19366
|
label: "Election details",
|
19368
19367
|
type: "step",
|
19369
19368
|
stepIndex: "1"
|
19370
19369
|
}),
|
19371
|
-
z(
|
19370
|
+
z(r, {
|
19372
19371
|
label: "Digital Absentee Voting Requirements",
|
19373
19372
|
type: "step",
|
19374
19373
|
stepIndex: "2"
|
19375
19374
|
}),
|
19376
|
-
z(
|
19375
|
+
z(r, {
|
19377
19376
|
label: "Voting App Set Up",
|
19378
19377
|
type: "step",
|
19379
19378
|
stepIndex: "3"
|
19380
19379
|
}),
|
19381
|
-
z(
|
19380
|
+
z(r, {
|
19382
19381
|
label: "Ballot Data",
|
19383
19382
|
type: "step",
|
19384
19383
|
stepIndex: "4"
|
19385
19384
|
}),
|
19386
|
-
z(
|
19385
|
+
z(r, {
|
19387
19386
|
label: "Ballot Styles",
|
19388
19387
|
type: "step",
|
19389
19388
|
stepIndex: "5"
|
19390
19389
|
}),
|
19391
|
-
z(
|
19390
|
+
z(r, {
|
19392
19391
|
label: "Configure Ballot Extraction",
|
19393
19392
|
type: "step",
|
19394
19393
|
stepIndex: "6"
|
19395
19394
|
}),
|
19396
|
-
z(
|
19395
|
+
z(r, {
|
19397
19396
|
label: "Start Ballot Box Set Up",
|
19398
19397
|
icon: "download"
|
19399
19398
|
}),
|
19400
|
-
z(
|
19399
|
+
z(r, {
|
19401
19400
|
label: "Finish Ballot Box Set Up",
|
19402
19401
|
icon: "handshake-simple",
|
19403
19402
|
disabled: ""
|
@@ -19494,7 +19493,7 @@ var Fq = {}, $q = /* @__PURE__ */ o("a", { href: "#" }, "LOGO", -1), Rq = { clas
|
|
19494
19493
|
/* @__PURE__ */ o("p", null, " Pellentesque accumsan viverra odio at dignissim. Sed tortor turpis, porta sit amet venenatis ut, mollis sed sapien. Donec sapien dolor, consectetur a arcu vitae, gravida dapibus justo. Nulla mattis urna vel urna posuere blandit id auctor neque. Suspendisse tincidunt elit eu lacinia mattis. Nullam semper pellentesque augue sit amet accumsan. Ut feugiat nulla ut sapien pellentesque, at finibus velit dapibus. Morbi tristique pharetra rhoncus. Sed bibendum efficitur justo sed pellentesque. Etiam porta vitae magna semper elementum. Fusce eu tincidunt diam, at varius purus. Proin gravida velit arcu, eget volutpat magna pretium a. ")
|
19495
19494
|
], -1);
|
19496
19495
|
function Qq(c, a) {
|
19497
|
-
var e = M("AVNavbarItem"), i = M("AVNavigationItemList"), t = M("AVMenuDropdown"), s = M("AVNavbar"), n = M("AVLabel"),
|
19496
|
+
var e = M("AVNavbarItem"), i = M("AVNavigationItemList"), t = M("AVMenuDropdown"), s = M("AVNavbar"), n = M("AVLabel"), l = M("AVTabSwitcher"), r = M("AVSidebarItem"), m = M("AVButton"), f = M("AVSidebar"), v = M("AVContent"), p = M("AVFooter");
|
19498
19497
|
return u(), d(R, null, [
|
19499
19498
|
z(s, null, {
|
19500
19499
|
default: $(function() {
|
@@ -19550,50 +19549,50 @@ function Qq(c, a) {
|
|
19550
19549
|
type: "info"
|
19551
19550
|
})
|
19552
19551
|
]),
|
19553
|
-
z(
|
19552
|
+
z(l, { options: ["Pre-election", "election"] }),
|
19554
19553
|
z(i, { type: "sidebar" }, {
|
19555
19554
|
default: $(function() {
|
19556
19555
|
return [
|
19557
|
-
z(
|
19556
|
+
z(r, {
|
19558
19557
|
label: "Election Overview",
|
19559
19558
|
icon: "grip",
|
19560
19559
|
active: ""
|
19561
19560
|
}),
|
19562
|
-
z(
|
19561
|
+
z(r, {
|
19563
19562
|
label: "Election details",
|
19564
19563
|
type: "step",
|
19565
19564
|
stepIndex: "1"
|
19566
19565
|
}),
|
19567
|
-
z(
|
19566
|
+
z(r, {
|
19568
19567
|
label: "Digital Absentee Voting Requirements",
|
19569
19568
|
type: "step",
|
19570
19569
|
stepIndex: "2"
|
19571
19570
|
}),
|
19572
|
-
z(
|
19571
|
+
z(r, {
|
19573
19572
|
label: "Voting App Set Up",
|
19574
19573
|
type: "step",
|
19575
19574
|
stepIndex: "3"
|
19576
19575
|
}),
|
19577
|
-
z(
|
19576
|
+
z(r, {
|
19578
19577
|
label: "Ballot Data",
|
19579
19578
|
type: "step",
|
19580
19579
|
stepIndex: "4"
|
19581
19580
|
}),
|
19582
|
-
z(
|
19581
|
+
z(r, {
|
19583
19582
|
label: "Ballot Styles",
|
19584
19583
|
type: "step",
|
19585
19584
|
stepIndex: "5"
|
19586
19585
|
}),
|
19587
|
-
z(
|
19586
|
+
z(r, {
|
19588
19587
|
label: "Configure Ballot Extraction",
|
19589
19588
|
type: "step",
|
19590
19589
|
stepIndex: "6"
|
19591
19590
|
}),
|
19592
|
-
z(
|
19591
|
+
z(r, {
|
19593
19592
|
label: "Start Ballot Box Set Up",
|
19594
19593
|
icon: "download"
|
19595
19594
|
}),
|
19596
|
-
z(
|
19595
|
+
z(r, {
|
19597
19596
|
label: "Finish Ballot Box Set Up",
|
19598
19597
|
icon: "handshake-simple",
|
19599
19598
|
disabled: ""
|
@@ -19631,7 +19630,7 @@ var Xq = {}, Jq = /* @__PURE__ */ o("a", { href: "#" }, "LOGO", -1), Kq = { clas
|
|
19631
19630
|
/* @__PURE__ */ o("p", null, " Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. ")
|
19632
19631
|
], -1);
|
19633
19632
|
function eF(c, a) {
|
19634
|
-
var e = M("AVNavbarItem"), i = M("AVNavigationItemList"), t = M("AVMenuDropdown"), s = M("AVNavbar"), n = M("AVContent"),
|
19633
|
+
var e = M("AVNavbarItem"), i = M("AVNavigationItemList"), t = M("AVMenuDropdown"), s = M("AVNavbar"), n = M("AVContent"), l = M("AVFooter");
|
19635
19634
|
return u(), d(R, null, [
|
19636
19635
|
z(s, null, {
|
19637
19636
|
default: $(function() {
|
@@ -19682,7 +19681,7 @@ function eF(c, a) {
|
|
19682
19681
|
}),
|
19683
19682
|
_: 1
|
19684
19683
|
}),
|
19685
|
-
z(
|
19684
|
+
z(l, {
|
19686
19685
|
enableSteps: "",
|
19687
19686
|
steps: [
|
19688
19687
|
"Check my ballot",
|
@@ -19764,9 +19763,9 @@ const aF = /* @__PURE__ */ I(Xq, [["render", eF]]), m4 = (c) => (T2("data-v-20fc
|
|
19764
19763
|
}
|
19765
19764
|
];
|
19766
19765
|
return (e, i) => {
|
19767
|
-
const t = M("AVNavbarItem"), s = M("AVNavigationItemList"), n = M("AVMenuDropdown"),
|
19766
|
+
const t = M("AVNavbarItem"), s = M("AVNavigationItemList"), n = M("AVMenuDropdown"), l = M("AVNavbar"), r = M("AVIcon"), m = M("AVCard"), f = M("AVElectionCard"), v = M("AVContent"), p = M("AVFooter");
|
19768
19767
|
return u(), d(R, null, [
|
19769
|
-
z(
|
19768
|
+
z(l, null, {
|
19770
19769
|
default: $(() => [
|
19771
19770
|
iF,
|
19772
19771
|
o("div", tF, [
|
@@ -19818,7 +19817,7 @@ const aF = /* @__PURE__ */ I(Xq, [["render", eF]]), m4 = (c) => (T2("data-v-20fc
|
|
19818
19817
|
default: $(() => [
|
19819
19818
|
nF,
|
19820
19819
|
o("div", rF, [
|
19821
|
-
z(
|
19820
|
+
z(r, {
|
19822
19821
|
icon: "fa-solid fa-circle-plus",
|
19823
19822
|
class: "new-election-icon"
|
19824
19823
|
})
|
@@ -19828,7 +19827,7 @@ const aF = /* @__PURE__ */ I(Xq, [["render", eF]]), m4 = (c) => (T2("data-v-20fc
|
|
19828
19827
|
})
|
19829
19828
|
]),
|
19830
19829
|
a.length === 0 ? (u(), d("div", lF, [
|
19831
|
-
z(
|
19830
|
+
z(r, {
|
19832
19831
|
icon: "fa-solid fa-folder-open",
|
19833
19832
|
class: "no-elections-icon"
|
19834
19833
|
}),
|