@assemblyvoting/ui-library 1.1.19 → 1.2.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { unref as F, getCurrentScope as JS, onScopeDispose as KS, watch as c2, ref as W, computed as B, onMounted as d2, onUnmounted as ck, h as D2, Transition as U2, withDirectives as v1, vShow as d1, defineComponent as P, openBlock as m, createElementBlock as z, createBlock as E, resolveDynamicComponent as Pa, withCtx as O, renderSlot as X, resolveComponent as H, normalizeClass as k, createCommentVNode as y, createTextVNode as s2, toDisplayString as g, createElementVNode as o, createVNode as V, normalizeStyle as p2, reactive as Se, provide as ke, Fragment as a2, renderList as N2, inject as Te, pushScopeId as X2, popScopeId as Z2, useCssVars as ak, mergeProps as ek, withModifiers as Ba, withKeys as ik } from "vue";
2
- var Z = "top", n2 = "bottom", t2 = "right", J = "left", I4 = "auto", L1 = [Z, n2, t2, J], $2 = "start", p1 = "end", sk = "clippingParents", De = "viewport", n1 = "popper", rk = "reference", Ea = /* @__PURE__ */ L1.reduce(function(c, e) {
3
- return c.concat([e + "-" + $2, e + "-" + p1]);
4
- }, []), Ie = /* @__PURE__ */ [].concat(L1, [I4]).reduce(function(c, e) {
5
- return c.concat([e, e + "-" + $2, e + "-" + p1]);
2
+ var Z = "top", n2 = "bottom", t2 = "right", J = "left", I4 = "auto", L1 = [Z, n2, t2, J], $2 = "start", p1 = "end", sk = "clippingParents", De = "viewport", n1 = "popper", rk = "reference", Ea = /* @__PURE__ */ L1.reduce(function(c, a) {
3
+ return c.concat([a + "-" + $2, a + "-" + p1]);
4
+ }, []), Ie = /* @__PURE__ */ [].concat(L1, [I4]).reduce(function(c, a) {
5
+ return c.concat([a, a + "-" + $2, a + "-" + p1]);
6
6
  }, []), nk = "beforeRead", tk = "read", lk = "afterRead", ok = "beforeMain", fk = "main", uk = "afterMain", mk = "beforeWrite", vk = "write", dk = "afterWrite", pk = [nk, tk, lk, ok, fk, uk, mk, vk, dk];
7
7
  function v2(c) {
8
8
  return c ? (c.nodeName || "").toLowerCase() : null;
@@ -11,29 +11,29 @@ function e2(c) {
11
11
  if (c == null)
12
12
  return window;
13
13
  if (c.toString() !== "[object Window]") {
14
- var e = c.ownerDocument;
15
- return e && e.defaultView || window;
14
+ var a = c.ownerDocument;
15
+ return a && a.defaultView || window;
16
16
  }
17
17
  return c;
18
18
  }
19
19
  function B2(c) {
20
- var e = e2(c).Element;
21
- return c instanceof e || c instanceof Element;
20
+ var a = e2(c).Element;
21
+ return c instanceof a || c instanceof Element;
22
22
  }
23
23
  function r2(c) {
24
- var e = e2(c).HTMLElement;
25
- return c instanceof e || c instanceof HTMLElement;
24
+ var a = e2(c).HTMLElement;
25
+ return c instanceof a || c instanceof HTMLElement;
26
26
  }
27
27
  function _4(c) {
28
28
  if (typeof ShadowRoot > "u")
29
29
  return !1;
30
- var e = e2(c).ShadowRoot;
31
- return c instanceof e || c instanceof ShadowRoot;
30
+ var a = e2(c).ShadowRoot;
31
+ return c instanceof a || c instanceof ShadowRoot;
32
32
  }
33
33
  function zk(c) {
34
- var e = c.state;
35
- Object.keys(e.elements).forEach(function(a) {
36
- var i = e.styles[a] || {}, s = e.attributes[a] || {}, r = e.elements[a];
34
+ var a = c.state;
35
+ Object.keys(a.elements).forEach(function(e) {
36
+ var i = a.styles[e] || {}, s = a.attributes[e] || {}, r = a.elements[e];
37
37
  !r2(r) || !v2(r) || (Object.assign(r.style, i), Object.keys(s).forEach(function(n) {
38
38
  var l = s[n];
39
39
  l === !1 ? r.removeAttribute(n) : r.setAttribute(n, l === !0 ? "" : l);
@@ -41,9 +41,9 @@ function zk(c) {
41
41
  });
42
42
  }
43
43
  function Vk(c) {
44
- var e = c.state, a = {
44
+ var a = c.state, e = {
45
45
  popper: {
46
- position: e.options.strategy,
46
+ position: a.options.strategy,
47
47
  left: "0",
48
48
  top: "0",
49
49
  margin: "0"
@@ -53,9 +53,9 @@ function Vk(c) {
53
53
  },
54
54
  reference: {}
55
55
  };
56
- return Object.assign(e.elements.popper.style, a.popper), e.styles = a, e.elements.arrow && Object.assign(e.elements.arrow.style, a.arrow), function() {
57
- Object.keys(e.elements).forEach(function(i) {
58
- var s = e.elements[i], r = e.attributes[i] || {}, n = Object.keys(e.styles.hasOwnProperty(i) ? e.styles[i] : a[i]), l = n.reduce(function(t, u) {
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
+ Object.keys(a.elements).forEach(function(i) {
58
+ var s = a.elements[i], r = a.attributes[i] || {}, n = Object.keys(a.styles.hasOwnProperty(i) ? a.styles[i] : e[i]), l = n.reduce(function(t, u) {
59
59
  return t[u] = "", t;
60
60
  }, {});
61
61
  !r2(s) || !v2(s) || (Object.assign(s.style, l), Object.keys(r).forEach(function(t) {
@@ -78,18 +78,18 @@ function m2(c) {
78
78
  var P2 = Math.max, t3 = Math.min, G2 = Math.round;
79
79
  function M4() {
80
80
  var c = navigator.userAgentData;
81
- return c != null && c.brands && Array.isArray(c.brands) ? c.brands.map(function(e) {
82
- return e.brand + "/" + e.version;
81
+ return c != null && c.brands && Array.isArray(c.brands) ? c.brands.map(function(a) {
82
+ return a.brand + "/" + a.version;
83
83
  }).join(" ") : navigator.userAgent;
84
84
  }
85
85
  function _e() {
86
86
  return !/^((?!chrome|android).)*safari/i.test(M4());
87
87
  }
88
- function W2(c, e, a) {
89
- e === void 0 && (e = !1), a === void 0 && (a = !1);
88
+ function W2(c, a, e) {
89
+ a === void 0 && (a = !1), e === void 0 && (e = !1);
90
90
  var i = c.getBoundingClientRect(), s = 1, r = 1;
91
- e && r2(c) && (s = c.offsetWidth > 0 && G2(i.width) / c.offsetWidth || 1, r = c.offsetHeight > 0 && G2(i.height) / c.offsetHeight || 1);
92
- var n = B2(c) ? e2(c) : window, l = n.visualViewport, t = !_e() && a, u = (i.left + (t && l ? l.offsetLeft : 0)) / s, f = (i.top + (t && l ? l.offsetTop : 0)) / r, v = i.width / s, p = i.height / r;
91
+ a && r2(c) && (s = c.offsetWidth > 0 && G2(i.width) / c.offsetWidth || 1, r = c.offsetHeight > 0 && G2(i.height) / c.offsetHeight || 1);
92
+ var n = B2(c) ? e2(c) : window, l = n.visualViewport, t = !_e() && e, u = (i.left + (t && l ? l.offsetLeft : 0)) / s, f = (i.top + (t && l ? l.offsetTop : 0)) / r, v = i.width / s, p = i.height / r;
93
93
  return {
94
94
  width: v,
95
95
  height: p,
@@ -102,20 +102,20 @@ function W2(c, e, a) {
102
102
  };
103
103
  }
104
104
  function P4(c) {
105
- var e = W2(c), a = c.offsetWidth, i = c.offsetHeight;
106
- return Math.abs(e.width - a) <= 1 && (a = e.width), Math.abs(e.height - i) <= 1 && (i = e.height), {
105
+ var a = W2(c), e = c.offsetWidth, i = c.offsetHeight;
106
+ return Math.abs(a.width - e) <= 1 && (e = a.width), Math.abs(a.height - i) <= 1 && (i = a.height), {
107
107
  x: c.offsetLeft,
108
108
  y: c.offsetTop,
109
- width: a,
109
+ width: e,
110
110
  height: i
111
111
  };
112
112
  }
113
- function Pe(c, e) {
114
- var a = e.getRootNode && e.getRootNode();
115
- if (c.contains(e))
113
+ function Pe(c, a) {
114
+ var e = a.getRootNode && a.getRootNode();
115
+ if (c.contains(a))
116
116
  return !0;
117
- if (a && _4(a)) {
118
- var i = e;
117
+ if (e && _4(e)) {
118
+ var i = a;
119
119
  do {
120
120
  if (i && c.isSameNode(i))
121
121
  return !0;
@@ -153,8 +153,8 @@ function ja(c) {
153
153
  z2(c).position === "fixed" ? null : c.offsetParent;
154
154
  }
155
155
  function Mk(c) {
156
- var e = /firefox/i.test(M4()), a = /Trident/i.test(M4());
157
- if (a && r2(c)) {
156
+ var a = /firefox/i.test(M4()), e = /Trident/i.test(M4());
157
+ if (e && r2(c)) {
158
158
  var i = z2(c);
159
159
  if (i.position === "fixed")
160
160
  return null;
@@ -162,26 +162,26 @@ function Mk(c) {
162
162
  var s = v3(c);
163
163
  for (_4(s) && (s = s.host); r2(s) && ["html", "body"].indexOf(v2(s)) < 0; ) {
164
164
  var r = z2(s);
165
- if (r.transform !== "none" || r.perspective !== "none" || r.contain === "paint" || ["transform", "perspective"].indexOf(r.willChange) !== -1 || e && r.willChange === "filter" || e && r.filter && r.filter !== "none")
165
+ if (r.transform !== "none" || r.perspective !== "none" || r.contain === "paint" || ["transform", "perspective"].indexOf(r.willChange) !== -1 || a && r.willChange === "filter" || a && r.filter && r.filter !== "none")
166
166
  return s;
167
167
  s = s.parentNode;
168
168
  }
169
169
  return null;
170
170
  }
171
171
  function g1(c) {
172
- for (var e = e2(c), a = ja(c); a && hk(a) && z2(a).position === "static"; )
173
- a = ja(a);
174
- return a && (v2(a) === "html" || v2(a) === "body" && z2(a).position === "static") ? e : a || Mk(c) || e;
172
+ for (var a = e2(c), e = ja(c); e && hk(e) && z2(e).position === "static"; )
173
+ e = ja(e);
174
+ return e && (v2(e) === "html" || v2(e) === "body" && z2(e).position === "static") ? a : e || Mk(c) || a;
175
175
  }
176
176
  function B4(c) {
177
177
  return ["top", "bottom"].indexOf(c) >= 0 ? "x" : "y";
178
178
  }
179
- function o1(c, e, a) {
180
- return P2(c, t3(e, a));
179
+ function o1(c, a, e) {
180
+ return P2(c, t3(a, e));
181
181
  }
182
- function Ck(c, e, a) {
183
- var i = o1(c, e, a);
184
- return i > a ? a : i;
182
+ function Ck(c, a, e) {
183
+ var i = o1(c, a, e);
184
+ return i > e ? e : i;
185
185
  }
186
186
  function Be() {
187
187
  return {
@@ -194,26 +194,26 @@ function Be() {
194
194
  function Ee(c) {
195
195
  return Object.assign({}, Be(), c);
196
196
  }
197
- function je(c, e) {
198
- return e.reduce(function(a, i) {
199
- return a[i] = c, a;
197
+ function je(c, a) {
198
+ return a.reduce(function(e, i) {
199
+ return e[i] = c, e;
200
200
  }, {});
201
201
  }
202
- var Lk = function(e, a) {
203
- return e = typeof e == "function" ? e(Object.assign({}, a.rects, {
204
- placement: a.placement
205
- })) : e, Ee(typeof e != "number" ? e : je(e, L1));
202
+ var Lk = function(a, e) {
203
+ return a = typeof a == "function" ? a(Object.assign({}, e.rects, {
204
+ placement: e.placement
205
+ })) : a, Ee(typeof a != "number" ? a : je(a, L1));
206
206
  };
207
207
  function gk(c) {
208
- var e, a = c.state, i = c.name, s = c.options, r = a.elements.arrow, n = a.modifiersData.popperOffsets, l = m2(a.placement), t = B4(l), u = [J, t2].indexOf(l) >= 0, f = u ? "height" : "width";
208
+ var a, e = c.state, i = c.name, s = c.options, r = e.elements.arrow, n = e.modifiersData.popperOffsets, l = m2(e.placement), t = B4(l), u = [J, t2].indexOf(l) >= 0, f = u ? "height" : "width";
209
209
  if (!(!r || !n)) {
210
- var v = Lk(s.padding, a), p = P4(r), d = t === "y" ? Z : J, h = t === "y" ? n2 : t2, N = a.rects.reference[f] + a.rects.reference[t] - n[t] - a.rects.popper[f], L = n[t] - a.rects.reference[t], S = g1(r), T = S ? t === "y" ? S.clientHeight || 0 : S.clientWidth || 0 : 0, w = N / 2 - L / 2, x = v[d], D = T - p[f] - v[h], _ = T / 2 - p[f] / 2 + w, q = o1(x, _, D), C = t;
211
- a.modifiersData[i] = (e = {}, e[C] = q, e.centerOffset = q - _, e);
210
+ var v = Lk(s.padding, e), p = P4(r), d = t === "y" ? Z : J, h = t === "y" ? n2 : t2, N = e.rects.reference[f] + e.rects.reference[t] - n[t] - e.rects.popper[f], L = n[t] - e.rects.reference[t], S = g1(r), T = S ? t === "y" ? S.clientHeight || 0 : S.clientWidth || 0 : 0, w = N / 2 - L / 2, x = v[d], D = T - p[f] - v[h], _ = T / 2 - p[f] / 2 + w, q = o1(x, _, D), C = t;
211
+ e.modifiersData[i] = (a = {}, a[C] = q, a.centerOffset = q - _, a);
212
212
  }
213
213
  }
214
214
  function bk(c) {
215
- var e = c.state, a = c.options, i = a.element, s = i === void 0 ? "[data-popper-arrow]" : i;
216
- s != null && (typeof s == "string" && (s = e.elements.popper.querySelector(s), !s) || Pe(e.elements.popper, s) && (e.elements.arrow = s));
215
+ var a = c.state, e = c.options, i = e.element, s = i === void 0 ? "[data-popper-arrow]" : i;
216
+ s != null && (typeof s == "string" && (s = a.elements.popper.querySelector(s), !s) || Pe(a.elements.popper, s) && (a.elements.arrow = s));
217
217
  }
218
218
  const xk = {
219
219
  name: "arrow",
@@ -233,15 +233,15 @@ var Nk = {
233
233
  bottom: "auto",
234
234
  left: "auto"
235
235
  };
236
- function Ak(c, e) {
237
- var a = c.x, i = c.y, s = e.devicePixelRatio || 1;
236
+ function Ak(c, a) {
237
+ var e = c.x, i = c.y, s = a.devicePixelRatio || 1;
238
238
  return {
239
- x: G2(a * s) / s || 0,
239
+ x: G2(e * s) / s || 0,
240
240
  y: G2(i * s) / s || 0
241
241
  };
242
242
  }
243
243
  function Fa(c) {
244
- var e, a = c.popper, i = c.popperRect, s = c.placement, r = c.variation, n = c.offsets, l = c.position, t = c.gpuAcceleration, u = c.adaptive, f = c.roundOffsets, v = c.isFixed, p = n.x, d = p === void 0 ? 0 : p, h = n.y, N = h === void 0 ? 0 : h, L = typeof f == "function" ? f({
244
+ var a, e = c.popper, i = c.popperRect, s = c.placement, r = c.variation, n = c.offsets, l = c.position, t = c.gpuAcceleration, u = c.adaptive, f = c.roundOffsets, v = c.isFixed, p = n.x, d = p === void 0 ? 0 : p, h = n.y, N = h === void 0 ? 0 : h, L = typeof f == "function" ? f({
245
245
  x: d,
246
246
  y: N
247
247
  }) : {
@@ -251,8 +251,8 @@ function Fa(c) {
251
251
  d = L.x, N = L.y;
252
252
  var S = n.hasOwnProperty("x"), T = n.hasOwnProperty("y"), w = J, x = Z, D = window;
253
253
  if (u) {
254
- var _ = g1(a), q = "clientHeight", C = "clientWidth";
255
- if (_ === e2(a) && (_ = A2(a), z2(_).position !== "static" && l === "absolute" && (q = "scrollHeight", C = "scrollWidth")), _ = _, s === Z || (s === J || s === t2) && r === p1) {
254
+ var _ = g1(e), q = "clientHeight", C = "clientWidth";
255
+ if (_ === e2(e) && (_ = A2(e), z2(_).position !== "static" && l === "absolute" && (q = "scrollHeight", C = "scrollWidth")), _ = _, s === Z || (s === J || s === t2) && r === p1) {
256
256
  x = n2;
257
257
  var A = v && _ === D && D.visualViewport ? D.visualViewport.height : (
258
258
  // $FlowFixMe[prop-missing]
@@ -274,7 +274,7 @@ function Fa(c) {
274
274
  }, u && Nk), l2 = f === !0 ? Ak({
275
275
  x: d,
276
276
  y: N
277
- }, e2(a)) : {
277
+ }, e2(e)) : {
278
278
  x: d,
279
279
  y: N
280
280
  };
@@ -282,29 +282,29 @@ function Fa(c) {
282
282
  var Q;
283
283
  return Object.assign({}, j, (Q = {}, Q[x] = T ? "0" : "", Q[w] = S ? "0" : "", Q.transform = (D.devicePixelRatio || 1) <= 1 ? "translate(" + d + "px, " + N + "px)" : "translate3d(" + d + "px, " + N + "px, 0)", Q));
284
284
  }
285
- return Object.assign({}, j, (e = {}, e[x] = T ? N + "px" : "", e[w] = S ? d + "px" : "", e.transform = "", e));
285
+ return Object.assign({}, j, (a = {}, a[x] = T ? N + "px" : "", a[w] = S ? d + "px" : "", a.transform = "", a));
286
286
  }
287
287
  function yk(c) {
288
- var e = c.state, a = c.options, i = a.gpuAcceleration, s = i === void 0 ? !0 : i, r = a.adaptive, n = r === void 0 ? !0 : r, l = a.roundOffsets, t = l === void 0 ? !0 : l, u = {
289
- placement: m2(e.placement),
290
- variation: Y2(e.placement),
291
- popper: e.elements.popper,
292
- popperRect: e.rects.popper,
288
+ var a = c.state, e = c.options, i = e.gpuAcceleration, s = i === void 0 ? !0 : i, r = e.adaptive, n = r === void 0 ? !0 : r, l = e.roundOffsets, t = l === void 0 ? !0 : l, u = {
289
+ placement: m2(a.placement),
290
+ variation: Y2(a.placement),
291
+ popper: a.elements.popper,
292
+ popperRect: a.rects.popper,
293
293
  gpuAcceleration: s,
294
- isFixed: e.options.strategy === "fixed"
294
+ isFixed: a.options.strategy === "fixed"
295
295
  };
296
- e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, Fa(Object.assign({}, u, {
297
- offsets: e.modifiersData.popperOffsets,
298
- position: e.options.strategy,
296
+ a.modifiersData.popperOffsets != null && (a.styles.popper = Object.assign({}, a.styles.popper, Fa(Object.assign({}, u, {
297
+ offsets: a.modifiersData.popperOffsets,
298
+ position: a.options.strategy,
299
299
  adaptive: n,
300
300
  roundOffsets: t
301
- })))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, Fa(Object.assign({}, u, {
302
- offsets: e.modifiersData.arrow,
301
+ })))), a.modifiersData.arrow != null && (a.styles.arrow = Object.assign({}, a.styles.arrow, Fa(Object.assign({}, u, {
302
+ offsets: a.modifiersData.arrow,
303
303
  position: "absolute",
304
304
  adaptive: !1,
305
305
  roundOffsets: t
306
- })))), e.attributes.popper = Object.assign({}, e.attributes.popper, {
307
- "data-popper-placement": e.placement
306
+ })))), a.attributes.popper = Object.assign({}, a.attributes.popper, {
307
+ "data-popper-placement": a.placement
308
308
  });
309
309
  }
310
310
  const wk = {
@@ -318,13 +318,13 @@ var Y1 = {
318
318
  passive: !0
319
319
  };
320
320
  function Sk(c) {
321
- var e = c.state, a = c.instance, i = c.options, s = i.scroll, r = s === void 0 ? !0 : s, n = i.resize, l = n === void 0 ? !0 : n, t = e2(e.elements.popper), u = [].concat(e.scrollParents.reference, e.scrollParents.popper);
321
+ var a = c.state, e = c.instance, i = c.options, s = i.scroll, r = s === void 0 ? !0 : s, n = i.resize, l = n === void 0 ? !0 : n, t = e2(a.elements.popper), u = [].concat(a.scrollParents.reference, a.scrollParents.popper);
322
322
  return r && u.forEach(function(f) {
323
- f.addEventListener("scroll", a.update, Y1);
324
- }), l && t.addEventListener("resize", a.update, Y1), function() {
323
+ f.addEventListener("scroll", e.update, Y1);
324
+ }), l && t.addEventListener("resize", e.update, Y1), function() {
325
325
  r && u.forEach(function(f) {
326
- f.removeEventListener("scroll", a.update, Y1);
327
- }), l && t.removeEventListener("resize", a.update, Y1);
326
+ f.removeEventListener("scroll", e.update, Y1);
327
+ }), l && t.removeEventListener("resize", e.update, Y1);
328
328
  };
329
329
  }
330
330
  const kk = {
@@ -343,8 +343,8 @@ var Tk = {
343
343
  top: "bottom"
344
344
  };
345
345
  function s3(c) {
346
- return c.replace(/left|right|bottom|top/g, function(e) {
347
- return Tk[e];
346
+ return c.replace(/left|right|bottom|top/g, function(a) {
347
+ return Tk[a];
348
348
  });
349
349
  }
350
350
  var Dk = {
@@ -352,26 +352,26 @@ var Dk = {
352
352
  end: "start"
353
353
  };
354
354
  function Oa(c) {
355
- return c.replace(/start|end/g, function(e) {
356
- return Dk[e];
355
+ return c.replace(/start|end/g, function(a) {
356
+ return Dk[a];
357
357
  });
358
358
  }
359
359
  function E4(c) {
360
- var e = e2(c), a = e.pageXOffset, i = e.pageYOffset;
360
+ var a = e2(c), e = a.pageXOffset, i = a.pageYOffset;
361
361
  return {
362
- scrollLeft: a,
362
+ scrollLeft: e,
363
363
  scrollTop: i
364
364
  };
365
365
  }
366
366
  function j4(c) {
367
367
  return W2(A2(c)).left + E4(c).scrollLeft;
368
368
  }
369
- function Ik(c, e) {
370
- var a = e2(c), i = A2(c), s = a.visualViewport, r = i.clientWidth, n = i.clientHeight, l = 0, t = 0;
369
+ function Ik(c, a) {
370
+ var e = e2(c), i = A2(c), s = e.visualViewport, r = i.clientWidth, n = i.clientHeight, l = 0, t = 0;
371
371
  if (s) {
372
372
  r = s.width, n = s.height;
373
373
  var u = _e();
374
- (u || !u && e === "fixed") && (l = s.offsetLeft, t = s.offsetTop);
374
+ (u || !u && a === "fixed") && (l = s.offsetLeft, t = s.offsetTop);
375
375
  }
376
376
  return {
377
377
  width: r,
@@ -381,8 +381,8 @@ function Ik(c, e) {
381
381
  };
382
382
  }
383
383
  function _k(c) {
384
- var e, a = A2(c), i = E4(c), s = (e = c.ownerDocument) == null ? void 0 : e.body, r = P2(a.scrollWidth, a.clientWidth, s ? s.scrollWidth : 0, s ? s.clientWidth : 0), n = P2(a.scrollHeight, a.clientHeight, s ? s.scrollHeight : 0, s ? s.clientHeight : 0), l = -i.scrollLeft + j4(c), t = -i.scrollTop;
385
- return z2(s || a).direction === "rtl" && (l += P2(a.clientWidth, s ? s.clientWidth : 0) - r), {
384
+ var a, e = A2(c), i = E4(c), s = (a = c.ownerDocument) == null ? void 0 : a.body, r = P2(e.scrollWidth, e.clientWidth, s ? s.scrollWidth : 0, s ? s.clientWidth : 0), n = P2(e.scrollHeight, e.clientHeight, s ? s.scrollHeight : 0, s ? s.clientHeight : 0), l = -i.scrollLeft + j4(c), t = -i.scrollTop;
385
+ return z2(s || e).direction === "rtl" && (l += P2(e.clientWidth, s ? s.clientWidth : 0) - r), {
386
386
  width: r,
387
387
  height: n,
388
388
  x: l,
@@ -390,16 +390,16 @@ function _k(c) {
390
390
  };
391
391
  }
392
392
  function F4(c) {
393
- var e = z2(c), a = e.overflow, i = e.overflowX, s = e.overflowY;
394
- return /auto|scroll|overlay|hidden/.test(a + s + i);
393
+ var a = z2(c), e = a.overflow, i = a.overflowX, s = a.overflowY;
394
+ return /auto|scroll|overlay|hidden/.test(e + s + i);
395
395
  }
396
396
  function Fe(c) {
397
397
  return ["html", "body", "#document"].indexOf(v2(c)) >= 0 ? c.ownerDocument.body : r2(c) && F4(c) ? c : Fe(v3(c));
398
398
  }
399
- function f1(c, e) {
400
- var a;
401
- e === void 0 && (e = []);
402
- var i = Fe(c), s = i === ((a = c.ownerDocument) == null ? void 0 : a.body), r = e2(i), n = s ? [r].concat(r.visualViewport || [], F4(i) ? i : []) : i, l = e.concat(n);
399
+ function f1(c, a) {
400
+ var e;
401
+ a === void 0 && (a = []);
402
+ var i = Fe(c), s = i === ((e = c.ownerDocument) == null ? void 0 : e.body), r = e2(i), n = s ? [r].concat(r.visualViewport || [], F4(i) ? i : []) : i, l = a.concat(n);
403
403
  return s ? l : (
404
404
  // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
405
405
  l.concat(f1(v3(n)))
@@ -413,57 +413,57 @@ function C4(c) {
413
413
  bottom: c.y + c.height
414
414
  });
415
415
  }
416
- function Pk(c, e) {
417
- var a = W2(c, !1, e === "fixed");
418
- return a.top = a.top + c.clientTop, a.left = a.left + c.clientLeft, a.bottom = a.top + c.clientHeight, a.right = a.left + c.clientWidth, a.width = c.clientWidth, a.height = c.clientHeight, a.x = a.left, a.y = a.top, a;
416
+ function Pk(c, a) {
417
+ var e = W2(c, !1, a === "fixed");
418
+ return e.top = e.top + c.clientTop, e.left = e.left + c.clientLeft, e.bottom = e.top + c.clientHeight, e.right = e.left + c.clientWidth, e.width = c.clientWidth, e.height = c.clientHeight, e.x = e.left, e.y = e.top, e;
419
419
  }
420
- function qa(c, e, a) {
421
- return e === De ? C4(Ik(c, a)) : B2(e) ? Pk(e, a) : C4(_k(A2(c)));
420
+ function qa(c, a, e) {
421
+ return a === De ? C4(Ik(c, e)) : B2(a) ? Pk(a, e) : C4(_k(A2(c)));
422
422
  }
423
423
  function Bk(c) {
424
- var e = f1(v3(c)), a = ["absolute", "fixed"].indexOf(z2(c).position) >= 0, i = a && r2(c) ? g1(c) : c;
425
- return B2(i) ? e.filter(function(s) {
424
+ var a = f1(v3(c)), e = ["absolute", "fixed"].indexOf(z2(c).position) >= 0, i = e && r2(c) ? g1(c) : c;
425
+ return B2(i) ? a.filter(function(s) {
426
426
  return B2(s) && Pe(s, i) && v2(s) !== "body";
427
427
  }) : [];
428
428
  }
429
- function Ek(c, e, a, i) {
430
- var s = e === "clippingParents" ? Bk(c) : [].concat(e), r = [].concat(s, [a]), n = r[0], l = r.reduce(function(t, u) {
429
+ function Ek(c, a, e, i) {
430
+ var s = a === "clippingParents" ? Bk(c) : [].concat(a), r = [].concat(s, [e]), n = r[0], l = r.reduce(function(t, u) {
431
431
  var f = qa(c, u, i);
432
432
  return t.top = P2(f.top, t.top), t.right = t3(f.right, t.right), t.bottom = t3(f.bottom, t.bottom), t.left = P2(f.left, t.left), t;
433
433
  }, qa(c, n, i));
434
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 Oe(c) {
437
- var e = c.reference, a = c.element, i = c.placement, s = i ? m2(i) : null, r = i ? Y2(i) : null, n = e.x + e.width / 2 - a.width / 2, l = e.y + e.height / 2 - a.height / 2, t;
437
+ var a = c.reference, e = c.element, i = c.placement, s = i ? m2(i) : null, r = i ? Y2(i) : null, n = a.x + a.width / 2 - e.width / 2, l = a.y + a.height / 2 - e.height / 2, t;
438
438
  switch (s) {
439
439
  case Z:
440
440
  t = {
441
441
  x: n,
442
- y: e.y - a.height
442
+ y: a.y - e.height
443
443
  };
444
444
  break;
445
445
  case n2:
446
446
  t = {
447
447
  x: n,
448
- y: e.y + e.height
448
+ y: a.y + a.height
449
449
  };
450
450
  break;
451
451
  case t2:
452
452
  t = {
453
- x: e.x + e.width,
453
+ x: a.x + a.width,
454
454
  y: l
455
455
  };
456
456
  break;
457
457
  case J:
458
458
  t = {
459
- x: e.x - a.width,
459
+ x: a.x - e.width,
460
460
  y: l
461
461
  };
462
462
  break;
463
463
  default:
464
464
  t = {
465
- x: e.x,
466
- y: e.y
465
+ x: a.x,
466
+ y: a.y
467
467
  };
468
468
  }
469
469
  var u = s ? B4(s) : null;
@@ -471,18 +471,18 @@ function Oe(c) {
471
471
  var f = u === "y" ? "height" : "width";
472
472
  switch (r) {
473
473
  case $2:
474
- t[u] = t[u] - (e[f] / 2 - a[f] / 2);
474
+ t[u] = t[u] - (a[f] / 2 - e[f] / 2);
475
475
  break;
476
476
  case p1:
477
- t[u] = t[u] + (e[f] / 2 - a[f] / 2);
477
+ t[u] = t[u] + (a[f] / 2 - e[f] / 2);
478
478
  break;
479
479
  }
480
480
  }
481
481
  return t;
482
482
  }
483
- function z1(c, e) {
484
- e === void 0 && (e = {});
485
- var a = e, i = a.placement, s = i === void 0 ? c.placement : i, r = a.strategy, n = r === void 0 ? c.strategy : r, l = a.boundary, t = l === void 0 ? sk : l, u = a.rootBoundary, f = u === void 0 ? De : u, v = a.elementContext, p = v === void 0 ? n1 : v, d = a.altBoundary, h = d === void 0 ? !1 : d, N = a.padding, L = N === void 0 ? 0 : N, S = Ee(typeof L != "number" ? L : je(L, L1)), T = p === n1 ? rk : n1, w = c.rects.popper, x = c.elements[h ? T : p], D = Ek(B2(x) ? x : x.contextElement || A2(c.elements.popper), t, f, n), _ = W2(c.elements.reference), q = Oe({
483
+ function z1(c, a) {
484
+ a === void 0 && (a = {});
485
+ var e = a, i = e.placement, s = i === void 0 ? c.placement : i, r = e.strategy, n = r === void 0 ? c.strategy : r, l = e.boundary, t = l === void 0 ? sk : l, u = e.rootBoundary, f = u === void 0 ? De : u, v = e.elementContext, p = v === void 0 ? n1 : v, d = e.altBoundary, h = d === void 0 ? !1 : d, N = e.padding, L = N === void 0 ? 0 : N, S = Ee(typeof L != "number" ? L : je(L, L1)), T = p === n1 ? rk : n1, w = c.rects.popper, x = c.elements[h ? T : p], D = Ek(B2(x) ? x : x.contextElement || A2(c.elements.popper), t, f, n), _ = W2(c.elements.reference), q = Oe({
486
486
  reference: _,
487
487
  element: w,
488
488
  strategy: "absolute",
@@ -502,9 +502,9 @@ function z1(c, e) {
502
502
  }
503
503
  return R;
504
504
  }
505
- function jk(c, e) {
506
- e === void 0 && (e = {});
507
- var a = e, i = a.placement, s = a.boundary, r = a.rootBoundary, n = a.padding, l = a.flipVariations, t = a.allowedAutoPlacements, u = t === void 0 ? Ie : t, f = Y2(i), v = f ? l ? Ea : Ea.filter(function(h) {
505
+ function jk(c, a) {
506
+ a === void 0 && (a = {});
507
+ var e = a, i = e.placement, s = e.boundary, r = e.rootBoundary, n = e.padding, l = e.flipVariations, t = e.allowedAutoPlacements, u = t === void 0 ? Ie : t, f = Y2(i), v = f ? l ? Ea : Ea.filter(function(h) {
508
508
  return Y2(h) === f;
509
509
  }) : L1, p = v.filter(function(h) {
510
510
  return u.indexOf(h) >= 0;
@@ -525,14 +525,14 @@ function jk(c, e) {
525
525
  function Fk(c) {
526
526
  if (m2(c) === I4)
527
527
  return [];
528
- var e = s3(c);
529
- return [Oa(c), e, Oa(e)];
528
+ var a = s3(c);
529
+ return [Oa(c), a, Oa(a)];
530
530
  }
531
531
  function Ok(c) {
532
- var e = c.state, a = c.options, i = c.name;
533
- if (!e.modifiersData[i]._skip) {
534
- for (var s = a.mainAxis, r = s === void 0 ? !0 : s, n = a.altAxis, l = n === void 0 ? !0 : n, t = a.fallbackPlacements, u = a.padding, f = a.boundary, v = a.rootBoundary, p = a.altBoundary, d = a.flipVariations, h = d === void 0 ? !0 : d, N = a.allowedAutoPlacements, L = e.options.placement, S = m2(L), T = S === L, w = t || (T || !h ? [s3(L)] : Fk(L)), x = [L].concat(w).reduce(function(F2, C2) {
535
- return F2.concat(m2(C2) === I4 ? jk(e, {
532
+ var a = c.state, e = c.options, i = c.name;
533
+ if (!a.modifiersData[i]._skip) {
534
+ for (var s = e.mainAxis, r = s === void 0 ? !0 : s, n = e.altAxis, l = n === void 0 ? !0 : n, t = e.fallbackPlacements, u = e.padding, f = e.boundary, v = e.rootBoundary, p = e.altBoundary, d = e.flipVariations, h = d === void 0 ? !0 : d, N = e.allowedAutoPlacements, L = a.options.placement, S = m2(L), T = S === L, w = t || (T || !h ? [s3(L)] : Fk(L)), x = [L].concat(w).reduce(function(F2, C2) {
535
+ return F2.concat(m2(C2) === I4 ? jk(a, {
536
536
  placement: C2,
537
537
  boundary: f,
538
538
  rootBoundary: v,
@@ -540,8 +540,8 @@ function Ok(c) {
540
540
  flipVariations: h,
541
541
  allowedAutoPlacements: N
542
542
  }) : C2);
543
- }, []), D = e.rects.reference, _ = e.rects.popper, q = /* @__PURE__ */ new Map(), C = !0, A = x[0], R = 0; R < x.length; R++) {
544
- var j = x[R], l2 = m2(j), Q = Y2(j) === $2, y2 = [Z, n2].indexOf(l2) >= 0, w2 = y2 ? "width" : "height", K = z1(e, {
543
+ }, []), D = a.rects.reference, _ = a.rects.popper, q = /* @__PURE__ */ new Map(), C = !0, A = x[0], R = 0; R < x.length; R++) {
544
+ var j = x[R], l2 = m2(j), Q = Y2(j) === $2, y2 = [Z, n2].indexOf(l2) >= 0, w2 = y2 ? "width" : "height", K = z1(a, {
545
545
  placement: j,
546
546
  boundary: f,
547
547
  rootBoundary: v,
@@ -574,7 +574,7 @@ function Ok(c) {
574
574
  if ($1 === "break")
575
575
  break;
576
576
  }
577
- e.placement !== A && (e.modifiersData[i]._skip = !0, e.placement = A, e.reset = !0);
577
+ a.placement !== A && (a.modifiersData[i]._skip = !0, a.placement = A, a.reset = !0);
578
578
  }
579
579
  }
580
580
  const qk = {
@@ -587,34 +587,34 @@ const qk = {
587
587
  _skip: !1
588
588
  }
589
589
  };
590
- function Ra(c, e, a) {
591
- return a === void 0 && (a = {
590
+ function Ra(c, a, e) {
591
+ return e === void 0 && (e = {
592
592
  x: 0,
593
593
  y: 0
594
594
  }), {
595
- top: c.top - e.height - a.y,
596
- right: c.right - e.width + a.x,
597
- bottom: c.bottom - e.height + a.y,
598
- left: c.left - e.width - a.x
595
+ top: c.top - a.height - e.y,
596
+ right: c.right - a.width + e.x,
597
+ bottom: c.bottom - a.height + e.y,
598
+ left: c.left - a.width - e.x
599
599
  };
600
600
  }
601
601
  function Ua(c) {
602
- return [Z, t2, n2, J].some(function(e) {
603
- return c[e] >= 0;
602
+ return [Z, t2, n2, J].some(function(a) {
603
+ return c[a] >= 0;
604
604
  });
605
605
  }
606
606
  function Rk(c) {
607
- var e = c.state, a = c.name, i = e.rects.reference, s = e.rects.popper, r = e.modifiersData.preventOverflow, n = z1(e, {
607
+ var a = c.state, e = c.name, i = a.rects.reference, s = a.rects.popper, r = a.modifiersData.preventOverflow, n = z1(a, {
608
608
  elementContext: "reference"
609
- }), l = z1(e, {
609
+ }), l = z1(a, {
610
610
  altBoundary: !0
611
611
  }), t = Ra(n, i), u = Ra(l, s, r), f = Ua(t), v = Ua(u);
612
- e.modifiersData[a] = {
612
+ a.modifiersData[e] = {
613
613
  referenceClippingOffsets: t,
614
614
  popperEscapeOffsets: u,
615
615
  isReferenceHidden: f,
616
616
  hasPopperEscaped: v
617
- }, e.attributes.popper = Object.assign({}, e.attributes.popper, {
617
+ }, a.attributes.popper = Object.assign({}, a.attributes.popper, {
618
618
  "data-popper-reference-hidden": f,
619
619
  "data-popper-escaped": v
620
620
  });
@@ -626,10 +626,10 @@ const Uk = {
626
626
  requiresIfExists: ["preventOverflow"],
627
627
  fn: Rk
628
628
  };
629
- function $k(c, e, a) {
630
- var i = m2(c), s = [J, Z].indexOf(i) >= 0 ? -1 : 1, r = typeof a == "function" ? a(Object.assign({}, e, {
629
+ function $k(c, a, e) {
630
+ var i = m2(c), s = [J, Z].indexOf(i) >= 0 ? -1 : 1, r = typeof e == "function" ? e(Object.assign({}, a, {
631
631
  placement: c
632
- })) : a, n = r[0], l = r[1];
632
+ })) : e, n = r[0], l = r[1];
633
633
  return n = n || 0, l = (l || 0) * s, [J, t2].indexOf(i) >= 0 ? {
634
634
  x: l,
635
635
  y: n
@@ -639,10 +639,10 @@ function $k(c, e, a) {
639
639
  };
640
640
  }
641
641
  function Gk(c) {
642
- var e = c.state, a = c.options, i = c.name, s = a.offset, r = s === void 0 ? [0, 0] : s, n = Ie.reduce(function(f, v) {
643
- return f[v] = $k(v, e.rects, r), f;
644
- }, {}), l = n[e.placement], t = l.x, u = l.y;
645
- e.modifiersData.popperOffsets != null && (e.modifiersData.popperOffsets.x += t, e.modifiersData.popperOffsets.y += u), e.modifiersData[i] = n;
642
+ var a = c.state, e = c.options, i = c.name, s = e.offset, r = s === void 0 ? [0, 0] : s, n = Ie.reduce(function(f, v) {
643
+ return f[v] = $k(v, a.rects, r), f;
644
+ }, {}), l = n[a.placement], t = l.x, u = l.y;
645
+ a.modifiersData.popperOffsets != null && (a.modifiersData.popperOffsets.x += t, a.modifiersData.popperOffsets.y += u), a.modifiersData[i] = n;
646
646
  }
647
647
  const Wk = {
648
648
  name: "offset",
@@ -652,12 +652,12 @@ const Wk = {
652
652
  fn: Gk
653
653
  };
654
654
  function Yk(c) {
655
- var e = c.state, a = c.name;
656
- e.modifiersData[a] = Oe({
657
- reference: e.rects.reference,
658
- element: e.rects.popper,
655
+ var a = c.state, e = c.name;
656
+ a.modifiersData[e] = Oe({
657
+ reference: a.rects.reference,
658
+ element: a.rects.popper,
659
659
  strategy: "absolute",
660
- placement: e.placement
660
+ placement: a.placement
661
661
  });
662
662
  }
663
663
  const Qk = {
@@ -671,36 +671,36 @@ function Xk(c) {
671
671
  return c === "x" ? "y" : "x";
672
672
  }
673
673
  function Zk(c) {
674
- var e = c.state, a = c.options, i = c.name, s = a.mainAxis, r = s === void 0 ? !0 : s, n = a.altAxis, l = n === void 0 ? !1 : n, t = a.boundary, u = a.rootBoundary, f = a.altBoundary, v = a.padding, p = a.tether, d = p === void 0 ? !0 : p, h = a.tetherOffset, N = h === void 0 ? 0 : h, L = z1(e, {
674
+ var a = c.state, e = c.options, i = c.name, s = e.mainAxis, r = s === void 0 ? !0 : s, n = e.altAxis, l = n === void 0 ? !1 : n, t = e.boundary, u = e.rootBoundary, f = e.altBoundary, v = e.padding, p = e.tether, d = p === void 0 ? !0 : p, h = e.tetherOffset, N = h === void 0 ? 0 : h, L = z1(a, {
675
675
  boundary: t,
676
676
  rootBoundary: u,
677
677
  padding: v,
678
678
  altBoundary: f
679
- }), S = m2(e.placement), T = Y2(e.placement), w = !T, x = B4(S), D = Xk(x), _ = e.modifiersData.popperOffsets, q = e.rects.reference, C = e.rects.popper, A = typeof N == "function" ? N(Object.assign({}, e.rects, {
680
- placement: e.placement
679
+ }), S = m2(a.placement), T = Y2(a.placement), w = !T, x = B4(S), D = Xk(x), _ = a.modifiersData.popperOffsets, q = a.rects.reference, C = a.rects.popper, A = typeof N == "function" ? N(Object.assign({}, a.rects, {
680
+ placement: a.placement
681
681
  })) : N, R = typeof A == "number" ? {
682
682
  mainAxis: A,
683
683
  altAxis: A
684
684
  } : Object.assign({
685
685
  mainAxis: 0,
686
686
  altAxis: 0
687
- }, A), j = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, l2 = {
687
+ }, A), j = a.modifiersData.offset ? a.modifiersData.offset[a.placement] : null, l2 = {
688
688
  x: 0,
689
689
  y: 0
690
690
  };
691
691
  if (_) {
692
692
  if (r) {
693
- var Q, y2 = x === "y" ? Z : J, w2 = x === "y" ? n2 : t2, K = x === "y" ? "height" : "width", o2 = _[x], R1 = o2 + L[y2], S2 = o2 - L[w2], U1 = d ? -C[K] / 2 : 0, u4 = T === $2 ? q[K] : C[K], s1 = T === $2 ? -C[K] : -q[K], $1 = e.elements.arrow, F2 = d && $1 ? P4($1) : {
693
+ var Q, y2 = x === "y" ? Z : J, w2 = x === "y" ? n2 : t2, K = x === "y" ? "height" : "width", o2 = _[x], R1 = o2 + L[y2], S2 = o2 - L[w2], U1 = d ? -C[K] / 2 : 0, u4 = T === $2 ? q[K] : C[K], s1 = T === $2 ? -C[K] : -q[K], $1 = a.elements.arrow, F2 = d && $1 ? P4($1) : {
694
694
  width: 0,
695
695
  height: 0
696
- }, C2 = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Be(), r1 = C2[y2], G1 = C2[w2], k2 = o1(0, q[K], F2[K]), m4 = w ? q[K] / 2 - U1 - k2 - r1 - R.mainAxis : u4 - k2 - r1 - R.mainAxis, GS = w ? -q[K] / 2 + U1 + k2 + G1 + R.mainAxis : s1 + k2 + G1 + R.mainAxis, v4 = e.elements.arrow && g1(e.elements.arrow), WS = v4 ? x === "y" ? v4.clientTop || 0 : v4.clientLeft || 0 : 0, Aa = (Q = j == null ? void 0 : j[x]) != null ? Q : 0, YS = o2 + m4 - Aa - WS, QS = o2 + GS - Aa, ya = o1(d ? t3(R1, YS) : R1, o2, d ? P2(S2, QS) : S2);
696
+ }, C2 = a.modifiersData["arrow#persistent"] ? a.modifiersData["arrow#persistent"].padding : Be(), r1 = C2[y2], G1 = C2[w2], k2 = o1(0, q[K], F2[K]), m4 = w ? q[K] / 2 - U1 - k2 - r1 - R.mainAxis : u4 - k2 - r1 - R.mainAxis, GS = w ? -q[K] / 2 + U1 + k2 + G1 + R.mainAxis : s1 + k2 + G1 + R.mainAxis, v4 = a.elements.arrow && g1(a.elements.arrow), WS = v4 ? x === "y" ? v4.clientTop || 0 : v4.clientLeft || 0 : 0, Aa = (Q = j == null ? void 0 : j[x]) != null ? Q : 0, YS = o2 + m4 - Aa - WS, QS = o2 + GS - Aa, ya = o1(d ? t3(R1, YS) : R1, o2, d ? P2(S2, QS) : S2);
697
697
  _[x] = ya, l2[x] = ya - o2;
698
698
  }
699
699
  if (l) {
700
700
  var wa, XS = x === "x" ? Z : J, ZS = x === "x" ? n2 : t2, T2 = _[D], W1 = D === "y" ? "height" : "width", Sa = T2 + L[XS], ka = T2 - L[ZS], d4 = [Z, J].indexOf(S) !== -1, Ta = (wa = j == null ? void 0 : j[D]) != null ? wa : 0, Da = d4 ? Sa : T2 - q[W1] - C[W1] - Ta + R.altAxis, Ia = d4 ? T2 + q[W1] + C[W1] - Ta - R.altAxis : ka, _a = d && d4 ? Ck(Da, T2, Ia) : o1(d ? Da : Sa, T2, d ? Ia : ka);
701
701
  _[D] = _a, l2[D] = _a - T2;
702
702
  }
703
- e.modifiersData[i] = l2;
703
+ a.modifiersData[i] = l2;
704
704
  }
705
705
  }
706
706
  const Jk = {
@@ -720,20 +720,20 @@ function cT(c) {
720
720
  return c === e2(c) || !r2(c) ? E4(c) : Kk(c);
721
721
  }
722
722
  function aT(c) {
723
- var e = c.getBoundingClientRect(), a = G2(e.width) / c.offsetWidth || 1, i = G2(e.height) / c.offsetHeight || 1;
724
- return a !== 1 || i !== 1;
723
+ var a = c.getBoundingClientRect(), e = G2(a.width) / c.offsetWidth || 1, i = G2(a.height) / c.offsetHeight || 1;
724
+ return e !== 1 || i !== 1;
725
725
  }
726
- function eT(c, e, a) {
727
- a === void 0 && (a = !1);
728
- var i = r2(e), s = r2(e) && aT(e), r = A2(e), n = W2(c, s, a), l = {
726
+ function eT(c, a, e) {
727
+ e === void 0 && (e = !1);
728
+ var i = r2(a), s = r2(a) && aT(a), r = A2(a), n = W2(c, s, e), l = {
729
729
  scrollLeft: 0,
730
730
  scrollTop: 0
731
731
  }, t = {
732
732
  x: 0,
733
733
  y: 0
734
734
  };
735
- return (i || !i && !a) && ((v2(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
736
- F4(r)) && (l = cT(e)), r2(e) ? (t = W2(e, !0), t.x += e.clientLeft, t.y += e.clientTop) : r && (t.x = j4(r))), {
735
+ return (i || !i && !e) && ((v2(a) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
736
+ F4(r)) && (l = cT(a)), r2(a) ? (t = W2(a, !0), t.x += a.clientLeft, t.y += a.clientTop) : r && (t.x = j4(r))), {
737
737
  x: n.left + l.scrollLeft - t.x,
738
738
  y: n.top + l.scrollTop - t.y,
739
739
  width: n.width,
@@ -741,52 +741,52 @@ function eT(c, e, a) {
741
741
  };
742
742
  }
743
743
  function iT(c) {
744
- var e = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Set(), i = [];
744
+ var a = /* @__PURE__ */ new Map(), e = /* @__PURE__ */ new Set(), i = [];
745
745
  c.forEach(function(r) {
746
- e.set(r.name, r);
746
+ a.set(r.name, r);
747
747
  });
748
748
  function s(r) {
749
- a.add(r.name);
749
+ e.add(r.name);
750
750
  var n = [].concat(r.requires || [], r.requiresIfExists || []);
751
751
  n.forEach(function(l) {
752
- if (!a.has(l)) {
753
- var t = e.get(l);
752
+ if (!e.has(l)) {
753
+ var t = a.get(l);
754
754
  t && s(t);
755
755
  }
756
756
  }), i.push(r);
757
757
  }
758
758
  return c.forEach(function(r) {
759
- a.has(r.name) || s(r);
759
+ e.has(r.name) || s(r);
760
760
  }), i;
761
761
  }
762
762
  function sT(c) {
763
- var e = iT(c);
764
- return pk.reduce(function(a, i) {
765
- return a.concat(e.filter(function(s) {
763
+ var a = iT(c);
764
+ return pk.reduce(function(e, i) {
765
+ return e.concat(a.filter(function(s) {
766
766
  return s.phase === i;
767
767
  }));
768
768
  }, []);
769
769
  }
770
770
  function rT(c) {
771
- var e;
771
+ var a;
772
772
  return function() {
773
- return e || (e = new Promise(function(a) {
773
+ return a || (a = new Promise(function(e) {
774
774
  Promise.resolve().then(function() {
775
- e = void 0, a(c());
775
+ a = void 0, e(c());
776
776
  });
777
- })), e;
777
+ })), a;
778
778
  };
779
779
  }
780
780
  function nT(c) {
781
- var e = c.reduce(function(a, i) {
782
- var s = a[i.name];
783
- return a[i.name] = s ? Object.assign({}, s, i, {
781
+ var a = c.reduce(function(e, i) {
782
+ var s = e[i.name];
783
+ return e[i.name] = s ? Object.assign({}, s, i, {
784
784
  options: Object.assign({}, s.options, i.options),
785
785
  data: Object.assign({}, s.data, i.data)
786
- }) : i, a;
786
+ }) : i, e;
787
787
  }, {});
788
- return Object.keys(e).map(function(a) {
789
- return e[a];
788
+ return Object.keys(a).map(function(e) {
789
+ return a[e];
790
790
  });
791
791
  }
792
792
  var $a = {
@@ -795,15 +795,15 @@ var $a = {
795
795
  strategy: "absolute"
796
796
  };
797
797
  function Ga() {
798
- for (var c = arguments.length, e = new Array(c), a = 0; a < c; a++)
799
- e[a] = arguments[a];
800
- return !e.some(function(i) {
798
+ for (var c = arguments.length, a = new Array(c), e = 0; e < c; e++)
799
+ a[e] = arguments[e];
800
+ return !a.some(function(i) {
801
801
  return !(i && typeof i.getBoundingClientRect == "function");
802
802
  });
803
803
  }
804
804
  function tT(c) {
805
805
  c === void 0 && (c = {});
806
- var e = c, a = e.defaultModifiers, i = a === void 0 ? [] : a, s = e.defaultOptions, r = s === void 0 ? $a : s;
806
+ var a = c, e = a.defaultModifiers, i = e === void 0 ? [] : e, s = a.defaultOptions, r = s === void 0 ? $a : s;
807
807
  return function(l, t, u) {
808
808
  u === void 0 && (u = r);
809
809
  var f = {
@@ -908,25 +908,25 @@ const qe = typeof window < "u", fT = (c) => typeof c == "string", l3 = () => {
908
908
  function o3(c) {
909
909
  return typeof c == "function" ? c() : F(c);
910
910
  }
911
- function mT(c, e) {
912
- function a(...i) {
911
+ function mT(c, a) {
912
+ function e(...i) {
913
913
  return new Promise((s, r) => {
914
- Promise.resolve(c(() => e.apply(this, i), { fn: e, thisArg: this, args: i })).then(s).catch(r);
914
+ Promise.resolve(c(() => a.apply(this, i), { fn: a, thisArg: this, args: i })).then(s).catch(r);
915
915
  });
916
916
  }
917
- return a;
917
+ return e;
918
918
  }
919
- function vT(c, e = {}) {
920
- let a, i, s = l3;
919
+ function vT(c, a = {}) {
920
+ let e, i, s = l3;
921
921
  const r = (l) => {
922
922
  clearTimeout(l), s(), s = l3;
923
923
  };
924
924
  return (l) => {
925
- const t = o3(c), u = o3(e.maxWait);
926
- return a && r(a), t <= 0 || u !== void 0 && u <= 0 ? (i && (r(i), i = null), Promise.resolve(l())) : new Promise((f, v) => {
927
- s = e.rejectOnCancel ? v : f, u && !i && (i = setTimeout(() => {
928
- a && r(a), i = null, f(l());
929
- }, u)), a = setTimeout(() => {
925
+ const t = o3(c), u = o3(a.maxWait);
926
+ return e && r(e), t <= 0 || u !== void 0 && u <= 0 ? (i && (r(i), i = null), Promise.resolve(l())) : new Promise((f, v) => {
927
+ s = a.rejectOnCancel ? v : f, u && !i && (i = setTimeout(() => {
928
+ e && r(e), i = null, f(l());
929
+ }, u)), e = setTimeout(() => {
930
930
  i && r(i), i = null, f(l());
931
931
  }, t);
932
932
  });
@@ -938,32 +938,32 @@ function dT(c) {
938
938
  function pT(c) {
939
939
  return JS() ? (KS(c), !0) : !1;
940
940
  }
941
- function Ya(c, e = 200, a = {}) {
942
- return mT(vT(e, a), c);
941
+ function Ya(c, a = 200, e = {}) {
942
+ return mT(vT(a, e), c);
943
943
  }
944
944
  function t1(c) {
945
- var e;
946
- const a = o3(c);
947
- return (e = a == null ? void 0 : a.$el) != null ? e : a;
945
+ var a;
946
+ const e = o3(c);
947
+ return (a = e == null ? void 0 : e.$el) != null ? a : e;
948
948
  }
949
949
  const Re = qe ? window : void 0;
950
950
  function p4(...c) {
951
- let e, a, i, s;
952
- if (fT(c[0]) || Array.isArray(c[0]) ? ([a, i, s] = c, e = Re) : [e, a, i, s] = c, !e)
951
+ let a, e, i, s;
952
+ if (fT(c[0]) || Array.isArray(c[0]) ? ([e, i, s] = c, a = Re) : [a, e, i, s] = c, !a)
953
953
  return l3;
954
- Array.isArray(a) || (a = [a]), Array.isArray(i) || (i = [i]);
954
+ Array.isArray(e) || (e = [e]), Array.isArray(i) || (i = [i]);
955
955
  const r = [], n = () => {
956
956
  r.forEach((f) => f()), r.length = 0;
957
- }, l = (f, v, p, d) => (f.addEventListener(v, p, d), () => f.removeEventListener(v, p, d)), t = c2(() => [t1(e), o3(s)], ([f, v]) => {
958
- n(), f && r.push(...a.flatMap((p) => i.map((d) => l(f, p, d, v))));
957
+ }, l = (f, v, p, d) => (f.addEventListener(v, p, d), () => f.removeEventListener(v, p, d)), t = c2(() => [t1(a), o3(s)], ([f, v]) => {
958
+ n(), f && r.push(...e.flatMap((p) => i.map((d) => l(f, p, d, v))));
959
959
  }, { immediate: !0, flush: "post" }), u = () => {
960
960
  t(), n();
961
961
  };
962
962
  return pT(u), u;
963
963
  }
964
964
  let Qa = !1;
965
- function zT(c, e, a = {}) {
966
- const { window: i = Re, ignore: s = [], capture: r = !0, detectIframe: n = !1 } = a;
965
+ function zT(c, a, e = {}) {
966
+ const { window: i = Re, ignore: s = [], capture: r = !0, detectIframe: n = !1 } = e;
967
967
  if (!i)
968
968
  return;
969
969
  uT && !Qa && (Qa = !0, Array.from(i.document.body.children).forEach((p) => p.addEventListener("click", l3)));
@@ -983,7 +983,7 @@ function zT(c, e, a = {}) {
983
983
  l = !0;
984
984
  return;
985
985
  }
986
- e(p);
986
+ a(p);
987
987
  }
988
988
  }, { passive: !0, capture: r }),
989
989
  p4(i, "pointerdown", (p) => {
@@ -993,7 +993,7 @@ function zT(c, e, a = {}) {
993
993
  n && p4(i, "blur", (p) => {
994
994
  var d;
995
995
  const h = t1(c);
996
- ((d = i.document.activeElement) == null ? void 0 : d.tagName) === "IFRAME" && !(h != null && h.contains(i.document.activeElement)) && e(p);
996
+ ((d = i.document.activeElement) == null ? void 0 : d.tagName) === "IFRAME" && !(h != null && h.contains(i.document.activeElement)) && a(p);
997
997
  })
998
998
  ].filter(Boolean);
999
999
  return () => f.forEach((p) => p());
@@ -1004,12 +1004,12 @@ var Ja;
1004
1004
  (function(c) {
1005
1005
  c.UP = "UP", c.RIGHT = "RIGHT", c.DOWN = "DOWN", c.LEFT = "LEFT", c.NONE = "NONE";
1006
1006
  })(Ja || (Ja = {}));
1007
- var VT = Object.defineProperty, Ka = Object.getOwnPropertySymbols, HT = Object.prototype.hasOwnProperty, hT = Object.prototype.propertyIsEnumerable, ce = (c, e, a) => e in c ? VT(c, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : c[e] = a, MT = (c, e) => {
1008
- for (var a in e || (e = {}))
1009
- HT.call(e, a) && ce(c, a, e[a]);
1007
+ var VT = Object.defineProperty, Ka = Object.getOwnPropertySymbols, HT = Object.prototype.hasOwnProperty, hT = Object.prototype.propertyIsEnumerable, ce = (c, a, e) => a in c ? VT(c, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[a] = e, MT = (c, a) => {
1008
+ for (var e in a || (a = {}))
1009
+ HT.call(a, e) && ce(c, e, a[e]);
1010
1010
  if (Ka)
1011
- for (var a of Ka(e))
1012
- hT.call(e, a) && ce(c, a, e[a]);
1011
+ for (var e of Ka(a))
1012
+ hT.call(a, e) && ce(c, e, a[e]);
1013
1013
  return c;
1014
1014
  };
1015
1015
  const CT = {
@@ -1060,12 +1060,12 @@ const ae = {
1060
1060
  options: { element: ":scope > .popper-content > [data-popper-arrow]" }
1061
1061
  }
1062
1062
  ]
1063
- }, LT = function(c = {}, e = {}) {
1064
- const a = {
1063
+ }, LT = function(c = {}, a = {}) {
1064
+ const e = {
1065
1065
  ...c,
1066
- ...e
1066
+ ...a
1067
1067
  }, i = [];
1068
- for (const [s, r] of Object.entries(a))
1068
+ for (const [s, r] of Object.entries(e))
1069
1069
  i.push(`${s}: ${r};`);
1070
1070
  return i.join(" ");
1071
1071
  }, ee = {
@@ -1079,7 +1079,7 @@ const ae = {
1079
1079
  left: "center right",
1080
1080
  right: "center left"
1081
1081
  }, gT = function(c = {}) {
1082
- const a = {
1082
+ const e = {
1083
1083
  ...{
1084
1084
  placement: "bottom",
1085
1085
  hover: !1,
@@ -1101,23 +1101,23 @@ const ae = {
1101
1101
  }
1102
1102
  },
1103
1103
  ...c
1104
- }, i = W(void 0), s = W(void 0), r = W(void 0), n = W(!1), l = W(!1), t = W(!1), u = W(a.placement || "top"), f = B(() => {
1104
+ }, i = W(void 0), s = W(void 0), r = W(void 0), n = W(!1), l = W(!1), t = W(!1), u = W(e.placement || "top"), f = B(() => {
1105
1105
  let { modifiers: C } = ae;
1106
- return a.modifiers && (C = [...C, ...a.modifiers]), {
1106
+ return e.modifiers && (C = [...C, ...e.modifiers]), {
1107
1107
  ...ae,
1108
- strategy: a.strategy,
1109
- placement: a.placement,
1108
+ strategy: e.strategy,
1109
+ placement: e.placement,
1110
1110
  modifiers: C,
1111
- ...a.popperOptions
1111
+ ...e.popperOptions
1112
1112
  };
1113
1113
  }), v = function() {
1114
- return a.hover === !1 || a.interactive === !1 ? a.closeDelay : a.closeDelay === 0 ? 150 : a.closeDelay;
1114
+ return e.hover === !1 || e.interactive === !1 ? e.closeDelay : e.closeDelay === 0 ? 150 : e.closeDelay;
1115
1115
  }, p = Ya(async () => {
1116
1116
  var A;
1117
1117
  const C = await ((A = r.value) == null ? void 0 : A.update());
1118
- u.value = (C == null ? void 0 : C.placement) || a.placement, n.value = !0;
1119
- }, a.openDelay), d = Ya(() => {
1120
- if (a.hover === !1 || a.interactive === !1) {
1118
+ u.value = (C == null ? void 0 : C.placement) || e.placement, n.value = !0;
1119
+ }, e.openDelay), d = Ya(() => {
1120
+ if (e.hover === !1 || e.interactive === !1) {
1121
1121
  n.value = !1;
1122
1122
  return;
1123
1123
  }
@@ -1130,7 +1130,7 @@ const ae = {
1130
1130
  }
1131
1131
  d();
1132
1132
  }, N = (C = "", A = "") => {
1133
- a.hover !== !1 && (A === "trigger" ? l.value = C === "open" : t.value = C === "open", h(C));
1133
+ e.hover !== !1 && (A === "trigger" ? l.value = C === "open" : t.value = C === "open", h(C));
1134
1134
  }, L = function(C, A) {
1135
1135
  const { slots: R } = A;
1136
1136
  return D2(
@@ -1147,7 +1147,7 @@ const ae = {
1147
1147
  R.default ? R.default() : ""
1148
1148
  );
1149
1149
  }, S = B(() => {
1150
- const { animation: C } = a;
1150
+ const { animation: C } = e;
1151
1151
  if (C === "none")
1152
1152
  return {
1153
1153
  outer: "",
@@ -1159,7 +1159,7 @@ const ae = {
1159
1159
  inner: A
1160
1160
  };
1161
1161
  }), T = B(() => {
1162
- const { animationDuration: C } = a;
1162
+ const { animationDuration: C } = e;
1163
1163
  if (!Array.isArray(C)) {
1164
1164
  const j = C || 300;
1165
1165
  return {
@@ -1189,7 +1189,7 @@ const ae = {
1189
1189
  }, A = r.value.state.styles.popper;
1190
1190
  return LT(A, C);
1191
1191
  }), _ = (C, A) => {
1192
- a.onTransition !== void 0 && a.onTransition(C, A);
1192
+ e.onTransition !== void 0 && e.onTransition(C, A);
1193
1193
  }, q = function(C, A) {
1194
1194
  const { slots: R } = A;
1195
1195
  return D2(
@@ -1204,10 +1204,10 @@ const ae = {
1204
1204
  ref: s,
1205
1205
  style: D.value,
1206
1206
  onMouseleave: () => {
1207
- a.hover === !1 || a.interactive === !1 || N("close", "tooltip");
1207
+ e.hover === !1 || e.interactive === !1 || N("close", "tooltip");
1208
1208
  },
1209
1209
  onMouseenter: () => {
1210
- a.hover === !1 || a.interactive === !1 || N("open", "tooltip");
1210
+ e.hover === !1 || e.interactive === !1 || N("open", "tooltip");
1211
1211
  }
1212
1212
  },
1213
1213
  [
@@ -1246,7 +1246,7 @@ const ae = {
1246
1246
  "div",
1247
1247
  {
1248
1248
  "data-popper-arrow": !0,
1249
- style: a.showArrow === !0 ? "display: block" : "display: none"
1249
+ style: e.showArrow === !0 ? "display: block" : "display: none"
1250
1250
  }
1251
1251
  )
1252
1252
  ]
@@ -1263,7 +1263,7 @@ const ae = {
1263
1263
  return zT(
1264
1264
  i,
1265
1265
  () => {
1266
- a.disableClickOutside !== !0 && h("close");
1266
+ e.disableClickOutside !== !0 && h("close");
1267
1267
  },
1268
1268
  { ignore: [s] }
1269
1269
  ), d2(() => {
@@ -1278,10 +1278,10 @@ const ae = {
1278
1278
  }), c2(n, (C) => {
1279
1279
  var A;
1280
1280
  if (C === !1) {
1281
- a.onClosed !== void 0 && a.onClosed();
1281
+ e.onClosed !== void 0 && e.onClosed();
1282
1282
  return;
1283
1283
  }
1284
- a.onOpened !== void 0 && a.onOpened(), (A = r.value) == null || A.update();
1284
+ e.onOpened !== void 0 && e.onOpened(), (A = r.value) == null || A.update();
1285
1285
  }), {
1286
1286
  triggerElement: L,
1287
1287
  tooltipElement: q,
@@ -1374,7 +1374,7 @@ const ae = {
1374
1374
  type: [Number, Array],
1375
1375
  default: 300,
1376
1376
  validator(c) {
1377
- return Array.isArray(c) ? c.every((e) => typeof e == "number" && e >= 0) : typeof c == "number" && c >= 0;
1377
+ return Array.isArray(c) ? c.every((a) => typeof a == "number" && a >= 0) : typeof c == "number" && c >= 0;
1378
1378
  }
1379
1379
  },
1380
1380
  /**
@@ -1388,7 +1388,7 @@ const ae = {
1388
1388
  }
1389
1389
  },
1390
1390
  emits: ["opened", "closed", "transition"],
1391
- setup(c, { expose: e, emit: a }) {
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
1394
  const { popperInstance: s, triggerElement: r, tooltipElement: n, isOpened: l } = gT({
@@ -1404,16 +1404,16 @@ const ae = {
1404
1404
  interactive: i.interactive,
1405
1405
  animationDuration: i.animationDuration,
1406
1406
  onTransition: (t, u) => {
1407
- a("transition", t, u);
1407
+ e("transition", t, u);
1408
1408
  },
1409
1409
  onOpened: () => {
1410
- a("opened");
1410
+ e("opened");
1411
1411
  },
1412
1412
  onClosed: () => {
1413
- a("closed");
1413
+ e("closed");
1414
1414
  }
1415
1415
  });
1416
- return e({
1416
+ return a({
1417
1417
  popper: s,
1418
1418
  isOpened: B(() => l.value)
1419
1419
  }), (t, u) => (m(), z("div", bT, [
@@ -10907,59 +10907,59 @@ const yT = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10907
10907
  fas: AT,
10908
10908
  prefix: NT
10909
10909
  }, Symbol.toStringTag, { value: "Module" }));
10910
- function se(c, e) {
10911
- var a = Object.keys(c);
10910
+ function se(c, a) {
10911
+ var e = Object.keys(c);
10912
10912
  if (Object.getOwnPropertySymbols) {
10913
10913
  var i = Object.getOwnPropertySymbols(c);
10914
- e && (i = i.filter(function(s) {
10914
+ a && (i = i.filter(function(s) {
10915
10915
  return Object.getOwnPropertyDescriptor(c, s).enumerable;
10916
- })), a.push.apply(a, i);
10916
+ })), e.push.apply(e, i);
10917
10917
  }
10918
- return a;
10918
+ return e;
10919
10919
  }
10920
10920
  function M(c) {
10921
- for (var e = 1; e < arguments.length; e++) {
10922
- var a = arguments[e] != null ? arguments[e] : {};
10923
- e % 2 ? se(Object(a), !0).forEach(function(i) {
10924
- Y(c, i, a[i]);
10925
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(c, Object.getOwnPropertyDescriptors(a)) : se(Object(a)).forEach(function(i) {
10926
- Object.defineProperty(c, i, Object.getOwnPropertyDescriptor(a, i));
10921
+ for (var a = 1; a < arguments.length; a++) {
10922
+ var e = arguments[a] != null ? arguments[a] : {};
10923
+ a % 2 ? se(Object(e), !0).forEach(function(i) {
10924
+ Y(c, i, e[i]);
10925
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(c, Object.getOwnPropertyDescriptors(e)) : se(Object(e)).forEach(function(i) {
10926
+ Object.defineProperty(c, i, Object.getOwnPropertyDescriptor(e, i));
10927
10927
  });
10928
10928
  }
10929
10929
  return c;
10930
10930
  }
10931
10931
  function f3(c) {
10932
- return f3 = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
10933
- return typeof e;
10934
- } : function(e) {
10935
- return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
10932
+ return f3 = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(a) {
10933
+ return typeof a;
10934
+ } : function(a) {
10935
+ return a && typeof Symbol == "function" && a.constructor === Symbol && a !== Symbol.prototype ? "symbol" : typeof a;
10936
10936
  }, f3(c);
10937
10937
  }
10938
- function wT(c, e) {
10939
- if (!(c instanceof e))
10938
+ function wT(c, a) {
10939
+ if (!(c instanceof a))
10940
10940
  throw new TypeError("Cannot call a class as a function");
10941
10941
  }
10942
- function re(c, e) {
10943
- for (var a = 0; a < e.length; a++) {
10944
- var i = e[a];
10942
+ function re(c, a) {
10943
+ for (var e = 0; e < a.length; e++) {
10944
+ var i = a[e];
10945
10945
  i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(c, i.key, i);
10946
10946
  }
10947
10947
  }
10948
- function ST(c, e, a) {
10949
- return e && re(c.prototype, e), a && re(c, a), Object.defineProperty(c, "prototype", {
10948
+ function ST(c, a, e) {
10949
+ return a && re(c.prototype, a), e && re(c, e), Object.defineProperty(c, "prototype", {
10950
10950
  writable: !1
10951
10951
  }), c;
10952
10952
  }
10953
- function Y(c, e, a) {
10954
- return e in c ? Object.defineProperty(c, e, {
10955
- value: a,
10953
+ function Y(c, a, e) {
10954
+ return a in c ? Object.defineProperty(c, a, {
10955
+ value: e,
10956
10956
  enumerable: !0,
10957
10957
  configurable: !0,
10958
10958
  writable: !0
10959
- }) : c[e] = a, c;
10959
+ }) : c[a] = e, c;
10960
10960
  }
10961
- function va(c, e) {
10962
- return TT(c) || IT(c, e) || HS(c, e) || PT();
10961
+ function va(c, a) {
10962
+ return TT(c) || IT(c, a) || HS(c, a) || PT();
10963
10963
  }
10964
10964
  function F1(c) {
10965
10965
  return kT(c) || DT(c) || HS(c) || _T();
@@ -10976,18 +10976,18 @@ function DT(c) {
10976
10976
  if (typeof Symbol < "u" && c[Symbol.iterator] != null || c["@@iterator"] != null)
10977
10977
  return Array.from(c);
10978
10978
  }
10979
- function IT(c, e) {
10980
- var a = c == null ? null : typeof Symbol < "u" && c[Symbol.iterator] || c["@@iterator"];
10981
- if (a != null) {
10979
+ function IT(c, a) {
10980
+ var e = c == null ? null : typeof Symbol < "u" && c[Symbol.iterator] || c["@@iterator"];
10981
+ if (e != null) {
10982
10982
  var i = [], s = !0, r = !1, n, l;
10983
10983
  try {
10984
- for (a = a.call(c); !(s = (n = a.next()).done) && (i.push(n.value), !(e && i.length === e)); s = !0)
10984
+ for (e = e.call(c); !(s = (n = e.next()).done) && (i.push(n.value), !(a && i.length === a)); s = !0)
10985
10985
  ;
10986
10986
  } catch (t) {
10987
10987
  r = !0, l = t;
10988
10988
  } finally {
10989
10989
  try {
10990
- !s && a.return != null && a.return();
10990
+ !s && e.return != null && e.return();
10991
10991
  } finally {
10992
10992
  if (r)
10993
10993
  throw l;
@@ -10996,21 +10996,21 @@ function IT(c, e) {
10996
10996
  return i;
10997
10997
  }
10998
10998
  }
10999
- function HS(c, e) {
10999
+ function HS(c, a) {
11000
11000
  if (c) {
11001
11001
  if (typeof c == "string")
11002
- return L4(c, e);
11003
- var a = Object.prototype.toString.call(c).slice(8, -1);
11004
- if (a === "Object" && c.constructor && (a = c.constructor.name), a === "Map" || a === "Set")
11002
+ return L4(c, a);
11003
+ var e = Object.prototype.toString.call(c).slice(8, -1);
11004
+ if (e === "Object" && c.constructor && (e = c.constructor.name), e === "Map" || e === "Set")
11005
11005
  return Array.from(c);
11006
- if (a === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))
11007
- return L4(c, e);
11006
+ if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))
11007
+ return L4(c, a);
11008
11008
  }
11009
11009
  }
11010
- function L4(c, e) {
11011
- (e == null || e > c.length) && (e = c.length);
11012
- for (var a = 0, i = new Array(e); a < e; a++)
11013
- i[a] = c[a];
11010
+ function L4(c, a) {
11011
+ (a == null || a > c.length) && (a = c.length);
11012
+ for (var e = 0, i = new Array(a); e < a; e++)
11013
+ i[e] = c[e];
11014
11014
  return i;
11015
11015
  }
11016
11016
  function _T() {
@@ -11041,8 +11041,8 @@ var M2 = !!$.documentElement && !!$.head && typeof $.addEventListener == "functi
11041
11041
  }(), U = "classic", G = "sharp", Va = [U, G];
11042
11042
  function O1(c) {
11043
11043
  return new Proxy(c, {
11044
- get: function(a, i) {
11045
- return i in a ? a[i] : a[U];
11044
+ get: function(e, i) {
11045
+ return i in e ? e[i] : e[U];
11046
11046
  }
11047
11047
  });
11048
11048
  }
@@ -11130,9 +11130,9 @@ var WT = [].concat(Va, F1(M1), ["2xs", "xs", "sm", "lg", "xl", "2xl", "beat", "b
11130
11130
  return "w-".concat(c);
11131
11131
  })), u1 = g2.FontAwesomeConfig || {};
11132
11132
  function YT(c) {
11133
- var e = $.querySelector("script[" + c + "]");
11134
- if (e)
11135
- return e.getAttribute(c);
11133
+ var a = $.querySelector("script[" + c + "]");
11134
+ if (a)
11135
+ return a.getAttribute(c);
11136
11136
  }
11137
11137
  function QT(c) {
11138
11138
  return c === "" ? !0 : c === "false" ? !1 : c === "true" ? !0 : c;
@@ -11140,7 +11140,7 @@ function QT(c) {
11140
11140
  if ($ && typeof $.querySelector == "function") {
11141
11141
  var XT = [["data-family-prefix", "familyPrefix"], ["data-css-prefix", "cssPrefix"], ["data-family-default", "familyDefault"], ["data-style-default", "styleDefault"], ["data-replacement-class", "replacementClass"], ["data-auto-replace-svg", "autoReplaceSvg"], ["data-auto-add-css", "autoAddCss"], ["data-auto-a11y", "autoA11y"], ["data-search-pseudo-elements", "searchPseudoElements"], ["data-observe-mutations", "observeMutations"], ["data-mutate-approach", "mutateApproach"], ["data-keep-original-source", "keepOriginalSource"], ["data-measure-performance", "measurePerformance"], ["data-show-missing-icons", "showMissingIcons"]];
11142
11142
  XT.forEach(function(c) {
11143
- var e = va(c, 2), a = e[0], i = e[1], s = QT(YT(a));
11143
+ var a = va(c, 2), e = a[0], i = a[1], s = QT(YT(e));
11144
11144
  s != null && (u1[i] = s);
11145
11145
  });
11146
11146
  }
@@ -11166,8 +11166,8 @@ var b = {};
11166
11166
  Object.keys(yS).forEach(function(c) {
11167
11167
  Object.defineProperty(b, c, {
11168
11168
  enumerable: !0,
11169
- set: function(a) {
11170
- Q2[c] = a, m1.forEach(function(i) {
11169
+ set: function(e) {
11170
+ Q2[c] = e, m1.forEach(function(i) {
11171
11171
  return i(b);
11172
11172
  });
11173
11173
  },
@@ -11178,9 +11178,9 @@ Object.keys(yS).forEach(function(c) {
11178
11178
  });
11179
11179
  Object.defineProperty(b, "familyPrefix", {
11180
11180
  enumerable: !0,
11181
- set: function(e) {
11182
- Q2.cssPrefix = e, m1.forEach(function(a) {
11183
- return a(b);
11181
+ set: function(a) {
11182
+ Q2.cssPrefix = a, m1.forEach(function(e) {
11183
+ return e(b);
11184
11184
  });
11185
11185
  },
11186
11186
  get: function() {
@@ -11204,51 +11204,51 @@ var L2 = g4, u2 = {
11204
11204
  };
11205
11205
  function JT(c) {
11206
11206
  if (!(!c || !M2)) {
11207
- var e = $.createElement("style");
11208
- e.setAttribute("type", "text/css"), e.innerHTML = c;
11209
- for (var a = $.head.childNodes, i = null, s = a.length - 1; s > -1; s--) {
11210
- var r = a[s], n = (r.tagName || "").toUpperCase();
11207
+ var a = $.createElement("style");
11208
+ a.setAttribute("type", "text/css"), a.innerHTML = c;
11209
+ for (var e = $.head.childNodes, i = null, s = e.length - 1; s > -1; s--) {
11210
+ var r = e[s], n = (r.tagName || "").toUpperCase();
11211
11211
  ["STYLE", "LINK"].indexOf(n) > -1 && (i = r);
11212
11212
  }
11213
- return $.head.insertBefore(e, i), c;
11213
+ return $.head.insertBefore(a, i), c;
11214
11214
  }
11215
11215
  }
11216
11216
  var KT = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
11217
11217
  function C1() {
11218
- for (var c = 12, e = ""; c-- > 0; )
11219
- e += KT[Math.random() * 62 | 0];
11220
- return e;
11218
+ for (var c = 12, a = ""; c-- > 0; )
11219
+ a += KT[Math.random() * 62 | 0];
11220
+ return a;
11221
11221
  }
11222
11222
  function i1(c) {
11223
- for (var e = [], a = (c || []).length >>> 0; a--; )
11224
- e[a] = c[a];
11225
- return e;
11223
+ for (var a = [], e = (c || []).length >>> 0; e--; )
11224
+ a[e] = c[e];
11225
+ return a;
11226
11226
  }
11227
11227
  function Ha(c) {
11228
- return c.classList ? i1(c.classList) : (c.getAttribute("class") || "").split(" ").filter(function(e) {
11229
- return e;
11228
+ return c.classList ? i1(c.classList) : (c.getAttribute("class") || "").split(" ").filter(function(a) {
11229
+ return a;
11230
11230
  });
11231
11231
  }
11232
11232
  function wS(c) {
11233
11233
  return "".concat(c).replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/'/g, "&#39;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
11234
11234
  }
11235
11235
  function cD(c) {
11236
- return Object.keys(c || {}).reduce(function(e, a) {
11237
- return e + "".concat(a, '="').concat(wS(c[a]), '" ');
11236
+ return Object.keys(c || {}).reduce(function(a, e) {
11237
+ return a + "".concat(e, '="').concat(wS(c[e]), '" ');
11238
11238
  }, "").trim();
11239
11239
  }
11240
11240
  function n4(c) {
11241
- return Object.keys(c || {}).reduce(function(e, a) {
11242
- return e + "".concat(a, ": ").concat(c[a].trim(), ";");
11241
+ return Object.keys(c || {}).reduce(function(a, e) {
11242
+ return a + "".concat(e, ": ").concat(c[e].trim(), ";");
11243
11243
  }, "");
11244
11244
  }
11245
11245
  function ha(c) {
11246
11246
  return c.size !== u2.size || c.x !== u2.x || c.y !== u2.y || c.rotate !== u2.rotate || c.flipX || c.flipY;
11247
11247
  }
11248
11248
  function aD(c) {
11249
- var e = c.transform, a = c.containerWidth, i = c.iconWidth, s = {
11250
- transform: "translate(".concat(a / 2, " 256)")
11251
- }, r = "translate(".concat(e.x * 32, ", ").concat(e.y * 32, ") "), n = "scale(".concat(e.size / 16 * (e.flipX ? -1 : 1), ", ").concat(e.size / 16 * (e.flipY ? -1 : 1), ") "), l = "rotate(".concat(e.rotate, " 0 0)"), t = {
11249
+ var a = c.transform, e = c.containerWidth, i = c.iconWidth, s = {
11250
+ transform: "translate(".concat(e / 2, " 256)")
11251
+ }, r = "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)"), t = {
11252
11252
  transform: "".concat(r, " ").concat(n, " ").concat(l)
11253
11253
  }, u = {
11254
11254
  transform: "translate(".concat(i / 2 * -1, " -256)")
@@ -11260,8 +11260,8 @@ function aD(c) {
11260
11260
  };
11261
11261
  }
11262
11262
  function eD(c) {
11263
- var e = c.transform, a = c.width, i = a === void 0 ? g4 : a, s = c.height, r = s === void 0 ? g4 : s, n = c.startCentered, l = n === void 0 ? !1 : n, t = "";
11264
- return l && LS ? t += "translate(".concat(e.x / L2 - i / 2, "em, ").concat(e.y / L2 - r / 2, "em) ") : l ? t += "translate(calc(-50% + ".concat(e.x / L2, "em), calc(-50% + ").concat(e.y / L2, "em)) ") : t += "translate(".concat(e.x / L2, "em, ").concat(e.y / L2, "em) "), t += "scale(".concat(e.size / L2 * (e.flipX ? -1 : 1), ", ").concat(e.size / L2 * (e.flipY ? -1 : 1), ") "), t += "rotate(".concat(e.rotate, "deg) "), t;
11263
+ var a = c.transform, e = c.width, i = e === void 0 ? g4 : e, s = c.height, r = s === void 0 ? g4 : s, n = c.startCentered, l = n === void 0 ? !1 : n, t = "";
11264
+ return l && LS ? t += "translate(".concat(a.x / L2 - i / 2, "em, ").concat(a.y / L2 - r / 2, "em) ") : l ? t += "translate(calc(-50% + ".concat(a.x / L2, "em), calc(-50% + ").concat(a.y / L2, "em)) ") : t += "translate(".concat(a.x / L2, "em, ").concat(a.y / L2, "em) "), t += "scale(".concat(a.size / L2 * (a.flipX ? -1 : 1), ", ").concat(a.size / L2 * (a.flipY ? -1 : 1), ") "), t += "rotate(".concat(a.rotate, "deg) "), t;
11265
11265
  }
11266
11266
  var iD = `:root, :host {
11267
11267
  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
@@ -12021,10 +12021,10 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
12021
12021
  color: var(--fa-inverse, #fff);
12022
12022
  }`;
12023
12023
  function SS() {
12024
- var c = gS, e = bS, a = b.cssPrefix, i = b.replacementClass, s = iD;
12025
- if (a !== c || i !== e) {
12026
- var r = new RegExp("\\.".concat(c, "\\-"), "g"), n = new RegExp("\\--".concat(c, "\\-"), "g"), l = new RegExp("\\.".concat(e), "g");
12027
- s = s.replace(r, ".".concat(a, "-")).replace(n, "--".concat(a, "-")).replace(l, ".".concat(i));
12024
+ var c = gS, a = bS, e = b.cssPrefix, i = b.replacementClass, s = iD;
12025
+ if (e !== c || i !== a) {
12026
+ var r = new RegExp("\\.".concat(c, "\\-"), "g"), n = new RegExp("\\--".concat(c, "\\-"), "g"), l = new RegExp("\\.".concat(a), "g");
12027
+ s = s.replace(r, ".".concat(e, "-")).replace(n, "--".concat(e, "-")).replace(l, ".".concat(i));
12028
12028
  }
12029
12029
  return s;
12030
12030
  }
@@ -12057,8 +12057,8 @@ H2[V2].styles || (H2[V2].styles = {});
12057
12057
  H2[V2].hooks || (H2[V2].hooks = {});
12058
12058
  H2[V2].shims || (H2[V2].shims = []);
12059
12059
  var f2 = H2[V2], kS = [], rD = function c() {
12060
- $.removeEventListener("DOMContentLoaded", c), u3 = 1, kS.map(function(e) {
12061
- return e();
12060
+ $.removeEventListener("DOMContentLoaded", c), u3 = 1, kS.map(function(a) {
12061
+ return a();
12062
12062
  });
12063
12063
  }, u3 = !1;
12064
12064
  M2 && (u3 = ($.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test($.readyState), u3 || $.addEventListener("DOMContentLoaded", rD));
@@ -12066,71 +12066,71 @@ function nD(c) {
12066
12066
  M2 && (u3 ? setTimeout(c, 0) : kS.push(c));
12067
12067
  }
12068
12068
  function q1(c) {
12069
- var e = c.tag, a = c.attributes, i = a === void 0 ? {} : a, s = c.children, r = s === void 0 ? [] : s;
12070
- return typeof c == "string" ? wS(c) : "<".concat(e, " ").concat(cD(i), ">").concat(r.map(q1).join(""), "</").concat(e, ">");
12069
+ var a = c.tag, e = c.attributes, i = e === void 0 ? {} : e, s = c.children, r = s === void 0 ? [] : s;
12070
+ return typeof c == "string" ? wS(c) : "<".concat(a, " ").concat(cD(i), ">").concat(r.map(q1).join(""), "</").concat(a, ">");
12071
12071
  }
12072
- function me(c, e, a) {
12073
- if (c && c[e] && c[e][a])
12072
+ function me(c, a, e) {
12073
+ if (c && c[a] && c[a][e])
12074
12074
  return {
12075
- prefix: e,
12076
- iconName: a,
12077
- icon: c[e][a]
12075
+ prefix: a,
12076
+ iconName: e,
12077
+ icon: c[a][e]
12078
12078
  };
12079
12079
  }
12080
- var tD = function(e, a) {
12080
+ var tD = function(a, e) {
12081
12081
  return function(i, s, r, n) {
12082
- return e.call(a, i, s, r, n);
12082
+ return a.call(e, i, s, r, n);
12083
12083
  };
12084
- }, V4 = function(e, a, i, s) {
12085
- var r = Object.keys(e), n = r.length, l = s !== void 0 ? tD(a, s) : a, t, u, f;
12086
- for (i === void 0 ? (t = 1, f = e[r[0]]) : (t = 0, f = i); t < n; t++)
12087
- u = r[t], f = l(f, e[u], u, e);
12084
+ }, V4 = function(a, e, i, s) {
12085
+ var r = Object.keys(a), n = r.length, l = s !== void 0 ? tD(e, s) : e, t, u, f;
12086
+ for (i === void 0 ? (t = 1, f = a[r[0]]) : (t = 0, f = i); t < n; t++)
12087
+ u = r[t], f = l(f, a[u], u, a);
12088
12088
  return f;
12089
12089
  };
12090
12090
  function lD(c) {
12091
- for (var e = [], a = 0, i = c.length; a < i; ) {
12092
- var s = c.charCodeAt(a++);
12093
- if (s >= 55296 && s <= 56319 && a < i) {
12094
- var r = c.charCodeAt(a++);
12095
- (r & 64512) == 56320 ? e.push(((s & 1023) << 10) + (r & 1023) + 65536) : (e.push(s), a--);
12091
+ for (var a = [], e = 0, i = c.length; e < i; ) {
12092
+ var s = c.charCodeAt(e++);
12093
+ if (s >= 55296 && s <= 56319 && e < i) {
12094
+ var r = c.charCodeAt(e++);
12095
+ (r & 64512) == 56320 ? a.push(((s & 1023) << 10) + (r & 1023) + 65536) : (a.push(s), e--);
12096
12096
  } else
12097
- e.push(s);
12097
+ a.push(s);
12098
12098
  }
12099
- return e;
12099
+ return a;
12100
12100
  }
12101
12101
  function x4(c) {
12102
- var e = lD(c);
12103
- return e.length === 1 ? e[0].toString(16) : null;
12102
+ var a = lD(c);
12103
+ return a.length === 1 ? a[0].toString(16) : null;
12104
12104
  }
12105
- function oD(c, e) {
12106
- var a = c.length, i = c.charCodeAt(e), s;
12107
- return i >= 55296 && i <= 56319 && a > e + 1 && (s = c.charCodeAt(e + 1), s >= 56320 && s <= 57343) ? (i - 55296) * 1024 + s - 56320 + 65536 : i;
12105
+ function oD(c, a) {
12106
+ var e = c.length, i = c.charCodeAt(a), s;
12107
+ return i >= 55296 && i <= 56319 && e > a + 1 && (s = c.charCodeAt(a + 1), s >= 56320 && s <= 57343) ? (i - 55296) * 1024 + s - 56320 + 65536 : i;
12108
12108
  }
12109
12109
  function ve(c) {
12110
- return Object.keys(c).reduce(function(e, a) {
12111
- var i = c[a], s = !!i.icon;
12112
- return s ? e[i.iconName] = i.icon : e[a] = i, e;
12110
+ return Object.keys(c).reduce(function(a, e) {
12111
+ var i = c[e], s = !!i.icon;
12112
+ return s ? a[i.iconName] = i.icon : a[e] = i, a;
12113
12113
  }, {});
12114
12114
  }
12115
- function N4(c, e) {
12116
- var a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = a.skipHooks, s = i === void 0 ? !1 : i, r = ve(e);
12117
- typeof f2.hooks.addPack == "function" && !s ? f2.hooks.addPack(c, ve(e)) : f2.styles[c] = M(M({}, f2.styles[c] || {}), r), c === "fas" && N4("fa", e);
12115
+ function N4(c, a) {
12116
+ var e = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = e.skipHooks, s = i === void 0 ? !1 : i, r = ve(a);
12117
+ typeof f2.hooks.addPack == "function" && !s ? f2.hooks.addPack(c, ve(a)) : f2.styles[c] = M(M({}, f2.styles[c] || {}), r), c === "fas" && N4("fa", a);
12118
12118
  }
12119
12119
  var a3, e3, i3, O2 = f2.styles, fD = f2.shims, uD = (a3 = {}, Y(a3, U, Object.values(h1[U])), Y(a3, G, Object.values(h1[G])), a3), Ma = null, TS = {}, DS = {}, IS = {}, _S = {}, PS = {}, mD = (e3 = {}, Y(e3, U, Object.keys(V1[U])), Y(e3, G, Object.keys(V1[G])), e3);
12120
12120
  function vD(c) {
12121
12121
  return ~WT.indexOf(c);
12122
12122
  }
12123
- function dD(c, e) {
12124
- var a = e.split("-"), i = a[0], s = a.slice(1).join("-");
12123
+ function dD(c, a) {
12124
+ var e = a.split("-"), i = e[0], s = e.slice(1).join("-");
12125
12125
  return i === c && s !== "" && !vD(s) ? s : null;
12126
12126
  }
12127
12127
  var BS = function() {
12128
- var e = function(r) {
12128
+ var a = function(r) {
12129
12129
  return V4(O2, function(n, l, t) {
12130
12130
  return n[t] = V4(l, r, {}), n;
12131
12131
  }, {});
12132
12132
  };
12133
- TS = e(function(s, r, n) {
12133
+ TS = a(function(s, r, n) {
12134
12134
  if (r[3] && (s[r[3]] = n), r[2]) {
12135
12135
  var l = r[2].filter(function(t) {
12136
12136
  return typeof t == "number";
@@ -12140,7 +12140,7 @@ var BS = function() {
12140
12140
  });
12141
12141
  }
12142
12142
  return s;
12143
- }), DS = e(function(s, r, n) {
12143
+ }), DS = a(function(s, r, n) {
12144
12144
  if (s[n] = n, r[2]) {
12145
12145
  var l = r[2].filter(function(t) {
12146
12146
  return typeof t == "string";
@@ -12150,15 +12150,15 @@ var BS = function() {
12150
12150
  });
12151
12151
  }
12152
12152
  return s;
12153
- }), PS = e(function(s, r, n) {
12153
+ }), PS = a(function(s, r, n) {
12154
12154
  var l = r[2];
12155
12155
  return s[n] = n, l.forEach(function(t) {
12156
12156
  s[t] = n;
12157
12157
  }), s;
12158
12158
  });
12159
- var a = "far" in O2 || b.autoFetchSvg, i = V4(fD, function(s, r) {
12159
+ var e = "far" in O2 || b.autoFetchSvg, i = V4(fD, function(s, r) {
12160
12160
  var n = r[0], l = r[1], t = r[2];
12161
- return l === "far" && !a && (l = "fas"), typeof n == "string" && (s.names[n] = {
12161
+ return l === "far" && !e && (l = "fas"), typeof n == "string" && (s.names[n] = {
12162
12162
  prefix: l,
12163
12163
  iconName: t
12164
12164
  }), typeof n == "number" && (s.unicodes[n.toString(16)] = {
@@ -12179,14 +12179,14 @@ ZT(function(c) {
12179
12179
  });
12180
12180
  });
12181
12181
  BS();
12182
- function Ca(c, e) {
12183
- return (TS[c] || {})[e];
12182
+ function Ca(c, a) {
12183
+ return (TS[c] || {})[a];
12184
12184
  }
12185
- function pD(c, e) {
12186
- return (DS[c] || {})[e];
12185
+ function pD(c, a) {
12186
+ return (DS[c] || {})[a];
12187
12187
  }
12188
- function _2(c, e) {
12189
- return (PS[c] || {})[e];
12188
+ function _2(c, a) {
12189
+ return (PS[c] || {})[a];
12190
12190
  }
12191
12191
  function ES(c) {
12192
12192
  return IS[c] || {
@@ -12195,10 +12195,10 @@ function ES(c) {
12195
12195
  };
12196
12196
  }
12197
12197
  function zD(c) {
12198
- var e = _S[c], a = Ca("fas", c);
12199
- return e || (a ? {
12198
+ var a = _S[c], e = Ca("fas", c);
12199
+ return a || (e ? {
12200
12200
  prefix: "fas",
12201
- iconName: a
12201
+ iconName: e
12202
12202
  } : null) || {
12203
12203
  prefix: null,
12204
12204
  iconName: null
@@ -12215,12 +12215,12 @@ var La = function() {
12215
12215
  };
12216
12216
  };
12217
12217
  function t4(c) {
12218
- var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = e.family, i = a === void 0 ? U : a, s = V1[i][c], r = H1[i][c] || H1[i][s], n = c in f2.styles ? c : null;
12218
+ var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, e = a.family, i = e === void 0 ? U : e, s = V1[i][c], r = H1[i][c] || H1[i][s], n = c in f2.styles ? c : null;
12219
12219
  return r || n || null;
12220
12220
  }
12221
12221
  var de = (i3 = {}, Y(i3, U, Object.keys(h1[U])), Y(i3, G, Object.keys(h1[G])), i3);
12222
12222
  function l4(c) {
12223
- var e, a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = a.skipLookups, s = i === void 0 ? !1 : i, r = (e = {}, Y(e, U, "".concat(b.cssPrefix, "-").concat(U)), Y(e, G, "".concat(b.cssPrefix, "-").concat(G)), e), n = null, l = U;
12223
+ var a, e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = e.skipLookups, s = i === void 0 ? !1 : i, r = (a = {}, Y(a, U, "".concat(b.cssPrefix, "-").concat(U)), Y(a, G, "".concat(b.cssPrefix, "-").concat(G)), a), n = null, l = U;
12224
12224
  (c.includes(r[U]) || c.some(function(u) {
12225
12225
  return de[U].includes(u);
12226
12226
  })) && (l = U), (c.includes(r[G]) || c.some(function(u) {
@@ -12245,11 +12245,11 @@ var VD = /* @__PURE__ */ function() {
12245
12245
  return ST(c, [{
12246
12246
  key: "add",
12247
12247
  value: function() {
12248
- for (var a = this, i = arguments.length, s = new Array(i), r = 0; r < i; r++)
12248
+ for (var e = this, i = arguments.length, s = new Array(i), r = 0; r < i; r++)
12249
12249
  s[r] = arguments[r];
12250
12250
  var n = s.reduce(this._pullDefinitions, {});
12251
12251
  Object.keys(n).forEach(function(l) {
12252
- a.definitions[l] = M(M({}, a.definitions[l] || {}), n[l]), N4(l, n[l]);
12252
+ e.definitions[l] = M(M({}, e.definitions[l] || {}), n[l]), N4(l, n[l]);
12253
12253
  var t = h1[U][l];
12254
12254
  t && N4(t, n[l]), BS();
12255
12255
  });
@@ -12261,28 +12261,28 @@ var VD = /* @__PURE__ */ function() {
12261
12261
  }
12262
12262
  }, {
12263
12263
  key: "_pullDefinitions",
12264
- value: function(a, i) {
12264
+ value: function(e, i) {
12265
12265
  var s = i.prefix && i.iconName && i.icon ? {
12266
12266
  0: i
12267
12267
  } : i;
12268
12268
  return Object.keys(s).map(function(r) {
12269
12269
  var n = s[r], l = n.prefix, t = n.iconName, u = n.icon, f = u[2];
12270
- a[l] || (a[l] = {}), f.length > 0 && f.forEach(function(v) {
12271
- typeof v == "string" && (a[l][v] = u);
12272
- }), a[l][t] = u;
12273
- }), a;
12270
+ e[l] || (e[l] = {}), f.length > 0 && f.forEach(function(v) {
12271
+ typeof v == "string" && (e[l][v] = u);
12272
+ }), e[l][t] = u;
12273
+ }), e;
12274
12274
  }
12275
12275
  }]), c;
12276
12276
  }(), pe = [], q2 = {}, R2 = {}, HD = Object.keys(R2);
12277
- function hD(c, e) {
12278
- var a = e.mixoutsTo;
12277
+ function hD(c, a) {
12278
+ var e = a.mixoutsTo;
12279
12279
  return pe = c, q2 = {}, Object.keys(R2).forEach(function(i) {
12280
12280
  HD.indexOf(i) === -1 && delete R2[i];
12281
12281
  }), pe.forEach(function(i) {
12282
12282
  var s = i.mixout ? i.mixout() : {};
12283
12283
  if (Object.keys(s).forEach(function(n) {
12284
- typeof s[n] == "function" && (a[n] = s[n]), f3(s[n]) === "object" && Object.keys(s[n]).forEach(function(l) {
12285
- a[n] || (a[n] = {}), a[n][l] = s[n][l];
12284
+ typeof s[n] == "function" && (e[n] = s[n]), f3(s[n]) === "object" && Object.keys(s[n]).forEach(function(l) {
12285
+ e[n] || (e[n] = {}), e[n][l] = s[n][l];
12286
12286
  });
12287
12287
  }), i.hooks) {
12288
12288
  var r = i.hooks();
@@ -12291,67 +12291,67 @@ function hD(c, e) {
12291
12291
  });
12292
12292
  }
12293
12293
  i.provides && i.provides(R2);
12294
- }), a;
12294
+ }), e;
12295
12295
  }
12296
- function A4(c, e) {
12297
- for (var a = arguments.length, i = new Array(a > 2 ? a - 2 : 0), s = 2; s < a; s++)
12296
+ function A4(c, a) {
12297
+ for (var e = arguments.length, i = new Array(e > 2 ? e - 2 : 0), s = 2; s < e; s++)
12298
12298
  i[s - 2] = arguments[s];
12299
12299
  var r = q2[c] || [];
12300
12300
  return r.forEach(function(n) {
12301
- e = n.apply(null, [e].concat(i));
12302
- }), e;
12301
+ a = n.apply(null, [a].concat(i));
12302
+ }), a;
12303
12303
  }
12304
12304
  function j2(c) {
12305
- for (var e = arguments.length, a = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++)
12306
- a[i - 1] = arguments[i];
12305
+ for (var a = arguments.length, e = new Array(a > 1 ? a - 1 : 0), i = 1; i < a; i++)
12306
+ e[i - 1] = arguments[i];
12307
12307
  var s = q2[c] || [];
12308
12308
  s.forEach(function(r) {
12309
- r.apply(null, a);
12309
+ r.apply(null, e);
12310
12310
  });
12311
12311
  }
12312
12312
  function h2() {
12313
- var c = arguments[0], e = Array.prototype.slice.call(arguments, 1);
12314
- return R2[c] ? R2[c].apply(null, e) : void 0;
12313
+ var c = arguments[0], a = Array.prototype.slice.call(arguments, 1);
12314
+ return R2[c] ? R2[c].apply(null, a) : void 0;
12315
12315
  }
12316
12316
  function y4(c) {
12317
12317
  c.prefix === "fa" && (c.prefix = "fas");
12318
- var e = c.iconName, a = c.prefix || b2();
12319
- if (e)
12320
- return e = _2(a, e) || e, me(jS.definitions, a, e) || me(f2.styles, a, e);
12318
+ var a = c.iconName, e = c.prefix || b2();
12319
+ if (a)
12320
+ return a = _2(e, a) || a, me(jS.definitions, e, a) || me(f2.styles, e, a);
12321
12321
  }
12322
12322
  var jS = new VD(), MD = function() {
12323
12323
  b.autoReplaceSvg = !1, b.observeMutations = !1, j2("noAuto");
12324
12324
  }, CD = {
12325
12325
  i2svg: function() {
12326
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
12327
- return M2 ? (j2("beforeI2svg", e), h2("pseudoElements2svg", e), h2("i2svg", e)) : Promise.reject("Operation requires a DOM of some kind.");
12326
+ var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
12327
+ return M2 ? (j2("beforeI2svg", a), h2("pseudoElements2svg", a), h2("i2svg", a)) : Promise.reject("Operation requires a DOM of some kind.");
12328
12328
  },
12329
12329
  watch: function() {
12330
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = e.autoReplaceSvgRoot;
12330
+ var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = a.autoReplaceSvgRoot;
12331
12331
  b.autoReplaceSvg === !1 && (b.autoReplaceSvg = !0), b.observeMutations = !0, nD(function() {
12332
12332
  gD({
12333
- autoReplaceSvgRoot: a
12334
- }), j2("watch", e);
12333
+ autoReplaceSvgRoot: e
12334
+ }), j2("watch", a);
12335
12335
  });
12336
12336
  }
12337
12337
  }, LD = {
12338
- icon: function(e) {
12339
- if (e === null)
12338
+ icon: function(a) {
12339
+ if (a === null)
12340
12340
  return null;
12341
- if (f3(e) === "object" && e.prefix && e.iconName)
12341
+ if (f3(a) === "object" && a.prefix && a.iconName)
12342
12342
  return {
12343
- prefix: e.prefix,
12344
- iconName: _2(e.prefix, e.iconName) || e.iconName
12343
+ prefix: a.prefix,
12344
+ iconName: _2(a.prefix, a.iconName) || a.iconName
12345
12345
  };
12346
- if (Array.isArray(e) && e.length === 2) {
12347
- var a = e[1].indexOf("fa-") === 0 ? e[1].slice(3) : e[1], i = t4(e[0]);
12346
+ if (Array.isArray(a) && a.length === 2) {
12347
+ var e = a[1].indexOf("fa-") === 0 ? a[1].slice(3) : a[1], i = t4(a[0]);
12348
12348
  return {
12349
12349
  prefix: i,
12350
- iconName: _2(i, a) || a
12350
+ iconName: _2(i, e) || e
12351
12351
  };
12352
12352
  }
12353
- if (typeof e == "string" && (e.indexOf("".concat(b.cssPrefix, "-")) > -1 || e.match(qT))) {
12354
- var s = l4(e.split(" "), {
12353
+ if (typeof a == "string" && (a.indexOf("".concat(b.cssPrefix, "-")) > -1 || a.match(qT))) {
12354
+ var s = l4(a.split(" "), {
12355
12355
  skipLookups: !0
12356
12356
  });
12357
12357
  return {
@@ -12359,11 +12359,11 @@ var jS = new VD(), MD = function() {
12359
12359
  iconName: _2(s.prefix, s.iconName) || s.iconName
12360
12360
  };
12361
12361
  }
12362
- if (typeof e == "string") {
12362
+ if (typeof a == "string") {
12363
12363
  var r = b2();
12364
12364
  return {
12365
12365
  prefix: r,
12366
- iconName: _2(r, e) || e
12366
+ iconName: _2(r, a) || a
12367
12367
  };
12368
12368
  }
12369
12369
  }
@@ -12376,14 +12376,14 @@ var jS = new VD(), MD = function() {
12376
12376
  findIconDefinition: y4,
12377
12377
  toHtml: q1
12378
12378
  }, gD = function() {
12379
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = e.autoReplaceSvgRoot, i = a === void 0 ? $ : a;
12379
+ var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = a.autoReplaceSvgRoot, i = e === void 0 ? $ : e;
12380
12380
  (Object.keys(f2.styles).length > 0 || b.autoFetchSvg) && M2 && b.autoReplaceSvg && i2.dom.i2svg({
12381
12381
  node: i
12382
12382
  });
12383
12383
  };
12384
- function o4(c, e) {
12384
+ function o4(c, a) {
12385
12385
  return Object.defineProperty(c, "abstract", {
12386
- get: e
12386
+ get: a
12387
12387
  }), Object.defineProperty(c, "html", {
12388
12388
  get: function() {
12389
12389
  return c.abstract.map(function(i) {
@@ -12400,9 +12400,9 @@ function o4(c, e) {
12400
12400
  }), c;
12401
12401
  }
12402
12402
  function bD(c) {
12403
- var e = c.children, a = c.main, i = c.mask, s = c.attributes, r = c.styles, n = c.transform;
12404
- if (ha(n) && a.found && !i.found) {
12405
- var l = a.width, t = a.height, u = {
12403
+ var a = c.children, e = c.main, i = c.mask, s = c.attributes, r = c.styles, n = c.transform;
12404
+ if (ha(n) && e.found && !i.found) {
12405
+ var l = e.width, t = e.height, u = {
12406
12406
  x: l / t / 2,
12407
12407
  y: 0.5
12408
12408
  };
@@ -12413,11 +12413,11 @@ function bD(c) {
12413
12413
  return [{
12414
12414
  tag: "svg",
12415
12415
  attributes: s,
12416
- children: e
12416
+ children: a
12417
12417
  }];
12418
12418
  }
12419
12419
  function xD(c) {
12420
- var e = c.prefix, a = c.iconName, i = c.children, s = c.attributes, r = c.symbol, n = r === !0 ? "".concat(e, "-").concat(b.cssPrefix, "-").concat(a) : r;
12420
+ var a = c.prefix, e = c.iconName, i = c.children, s = c.attributes, r = c.symbol, n = r === !0 ? "".concat(a, "-").concat(b.cssPrefix, "-").concat(e) : r;
12421
12421
  return [{
12422
12422
  tag: "svg",
12423
12423
  attributes: {
@@ -12433,7 +12433,7 @@ function xD(c) {
12433
12433
  }];
12434
12434
  }
12435
12435
  function ga(c) {
12436
- var e = c.icons, a = e.main, i = e.mask, s = c.prefix, r = c.iconName, n = c.transform, l = c.symbol, t = c.title, u = c.maskId, f = c.titleId, v = c.extra, p = c.watchable, d = p === void 0 ? !1 : p, h = i.found ? i : a, N = h.width, L = h.height, S = s === "fak", T = [b.replacementClass, r ? "".concat(b.cssPrefix, "-").concat(r) : ""].filter(function(A) {
12436
+ var a = c.icons, e = a.main, i = a.mask, s = c.prefix, r = c.iconName, n = c.transform, l = c.symbol, t = c.title, u = c.maskId, f = c.titleId, v = c.extra, p = c.watchable, d = p === void 0 ? !1 : p, h = i.found ? i : e, N = h.width, L = h.height, S = s === "fak", T = [b.replacementClass, r ? "".concat(b.cssPrefix, "-").concat(r) : ""].filter(function(A) {
12437
12437
  return v.classes.indexOf(A) === -1;
12438
12438
  }).filter(function(A) {
12439
12439
  return A !== "" || !!A;
@@ -12460,13 +12460,13 @@ function ga(c) {
12460
12460
  var D = M(M({}, w), {}, {
12461
12461
  prefix: s,
12462
12462
  iconName: r,
12463
- main: a,
12463
+ main: e,
12464
12464
  mask: i,
12465
12465
  maskId: u,
12466
12466
  transform: n,
12467
12467
  symbol: l,
12468
12468
  styles: M(M({}, x), v.styles)
12469
- }), _ = i.found && a.found ? h2("generateAbstractMask", D) || {
12469
+ }), _ = i.found && e.found ? h2("generateAbstractMask", D) || {
12470
12470
  children: [],
12471
12471
  attributes: {}
12472
12472
  } : h2("generateAbstractIcon", D) || {
@@ -12476,7 +12476,7 @@ function ga(c) {
12476
12476
  return D.children = q, D.attributes = C, l ? xD(D) : bD(D);
12477
12477
  }
12478
12478
  function ze(c) {
12479
- var e = c.content, a = c.width, i = c.height, s = c.transform, r = c.title, n = c.extra, l = c.watchable, t = l === void 0 ? !1 : l, u = M(M(M({}, n.attributes), r ? {
12479
+ var a = c.content, e = c.width, i = c.height, s = c.transform, r = c.title, n = c.extra, l = c.watchable, t = l === void 0 ? !1 : l, u = M(M(M({}, n.attributes), r ? {
12480
12480
  title: r
12481
12481
  } : {}), {}, {
12482
12482
  class: n.classes.join(" ")
@@ -12486,7 +12486,7 @@ function ze(c) {
12486
12486
  ha(s) && (f.transform = eD({
12487
12487
  transform: s,
12488
12488
  startCentered: !0,
12489
- width: a,
12489
+ width: e,
12490
12490
  height: i
12491
12491
  }), f["-webkit-transform"] = f.transform);
12492
12492
  var v = n4(f);
@@ -12495,7 +12495,7 @@ function ze(c) {
12495
12495
  return p.push({
12496
12496
  tag: "span",
12497
12497
  attributes: u,
12498
- children: [e]
12498
+ children: [a]
12499
12499
  }), r && p.push({
12500
12500
  tag: "span",
12501
12501
  attributes: {
@@ -12505,8 +12505,8 @@ function ze(c) {
12505
12505
  }), p;
12506
12506
  }
12507
12507
  function ND(c) {
12508
- var e = c.content, a = c.title, i = c.extra, s = M(M(M({}, i.attributes), a ? {
12509
- title: a
12508
+ var a = c.content, e = c.title, i = c.extra, s = M(M(M({}, i.attributes), e ? {
12509
+ title: e
12510
12510
  } : {}), {}, {
12511
12511
  class: i.classes.join(" ")
12512
12512
  }), r = n4(i.styles);
@@ -12515,18 +12515,18 @@ function ND(c) {
12515
12515
  return n.push({
12516
12516
  tag: "span",
12517
12517
  attributes: s,
12518
- children: [e]
12519
- }), a && n.push({
12518
+ children: [a]
12519
+ }), e && n.push({
12520
12520
  tag: "span",
12521
12521
  attributes: {
12522
12522
  class: "sr-only"
12523
12523
  },
12524
- children: [a]
12524
+ children: [e]
12525
12525
  }), n;
12526
12526
  }
12527
12527
  var H4 = f2.styles;
12528
12528
  function w4(c) {
12529
- var e = c[0], a = c[1], i = c.slice(4), s = va(i, 1), r = s[0], n = null;
12529
+ var a = c[0], e = c[1], i = c.slice(4), s = va(i, 1), r = s[0], n = null;
12530
12530
  return Array.isArray(r) ? n = {
12531
12531
  tag: "g",
12532
12532
  attributes: {
@@ -12555,8 +12555,8 @@ function w4(c) {
12555
12555
  }
12556
12556
  }, {
12557
12557
  found: !0,
12558
- width: e,
12559
- height: a,
12558
+ width: a,
12559
+ height: e,
12560
12560
  icon: n
12561
12561
  };
12562
12562
  }
@@ -12565,21 +12565,21 @@ var AD = {
12565
12565
  width: 512,
12566
12566
  height: 512
12567
12567
  };
12568
- function yD(c, e) {
12569
- !xS && !b.showMissingIcons && c && console.error('Icon with name "'.concat(c, '" and prefix "').concat(e, '" is missing.'));
12568
+ function yD(c, a) {
12569
+ !xS && !b.showMissingIcons && c && console.error('Icon with name "'.concat(c, '" and prefix "').concat(a, '" is missing.'));
12570
12570
  }
12571
- function S4(c, e) {
12572
- var a = e;
12573
- return e === "fa" && b.styleDefault !== null && (e = b2()), new Promise(function(i, s) {
12574
- if (h2("missingIconAbstract"), a === "fa") {
12571
+ function S4(c, a) {
12572
+ var e = a;
12573
+ return a === "fa" && b.styleDefault !== null && (a = b2()), new Promise(function(i, s) {
12574
+ if (h2("missingIconAbstract"), e === "fa") {
12575
12575
  var r = ES(c) || {};
12576
- c = r.iconName || c, e = r.prefix || e;
12576
+ c = r.iconName || c, a = r.prefix || a;
12577
12577
  }
12578
- if (c && e && H4[e] && H4[e][c]) {
12579
- var n = H4[e][c];
12578
+ if (c && a && H4[a] && H4[a][c]) {
12579
+ var n = H4[a][c];
12580
12580
  return i(w4(n));
12581
12581
  }
12582
- yD(c, e), i(M(M({}, AD), {}, {
12582
+ yD(c, a), i(M(M({}, AD), {}, {
12583
12583
  icon: b.showMissingIcons && c ? h2("missingIconAbstract") || {} : {}
12584
12584
  }));
12585
12585
  });
@@ -12588,24 +12588,24 @@ var Ve = function() {
12588
12588
  }, k4 = b.measurePerformance && Q1 && Q1.mark && Q1.measure ? Q1 : {
12589
12589
  mark: Ve,
12590
12590
  measure: Ve
12591
- }, l1 = 'FA "6.4.0"', wD = function(e) {
12592
- return k4.mark("".concat(l1, " ").concat(e, " begins")), function() {
12593
- return FS(e);
12591
+ }, l1 = 'FA "6.4.0"', wD = function(a) {
12592
+ return k4.mark("".concat(l1, " ").concat(a, " begins")), function() {
12593
+ return FS(a);
12594
12594
  };
12595
- }, FS = function(e) {
12596
- k4.mark("".concat(l1, " ").concat(e, " ends")), k4.measure("".concat(l1, " ").concat(e), "".concat(l1, " ").concat(e, " begins"), "".concat(l1, " ").concat(e, " ends"));
12595
+ }, FS = function(a) {
12596
+ k4.mark("".concat(l1, " ").concat(a, " ends")), k4.measure("".concat(l1, " ").concat(a), "".concat(l1, " ").concat(a, " begins"), "".concat(l1, " ").concat(a, " ends"));
12597
12597
  }, ba = {
12598
12598
  begin: wD,
12599
12599
  end: FS
12600
12600
  }, r3 = function() {
12601
12601
  };
12602
12602
  function He(c) {
12603
- var e = c.getAttribute ? c.getAttribute(E2) : null;
12604
- return typeof e == "string";
12603
+ var a = c.getAttribute ? c.getAttribute(E2) : null;
12604
+ return typeof a == "string";
12605
12605
  }
12606
12606
  function SD(c) {
12607
- var e = c.getAttribute ? c.getAttribute(pa) : null, a = c.getAttribute ? c.getAttribute(za) : null;
12608
- return e && a;
12607
+ var a = c.getAttribute ? c.getAttribute(pa) : null, e = c.getAttribute ? c.getAttribute(za) : null;
12608
+ return a && e;
12609
12609
  }
12610
12610
  function kD(c) {
12611
12611
  return c && c.classList && c.classList.contains && c.classList.contains(b.replacementClass);
@@ -12623,7 +12623,7 @@ function ID(c) {
12623
12623
  return $.createElement(c);
12624
12624
  }
12625
12625
  function OS(c) {
12626
- var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = e.ceFn, i = a === void 0 ? c.tag === "svg" ? DD : ID : a;
12626
+ var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, e = a.ceFn, i = e === void 0 ? c.tag === "svg" ? DD : ID : e;
12627
12627
  if (typeof c == "string")
12628
12628
  return $.createTextNode(c);
12629
12629
  var s = i(c.tag);
@@ -12638,25 +12638,25 @@ function OS(c) {
12638
12638
  }), s;
12639
12639
  }
12640
12640
  function _D(c) {
12641
- var e = " ".concat(c.outerHTML, " ");
12642
- return e = "".concat(e, "Font Awesome fontawesome.com "), e;
12641
+ var a = " ".concat(c.outerHTML, " ");
12642
+ return a = "".concat(a, "Font Awesome fontawesome.com "), a;
12643
12643
  }
12644
12644
  var n3 = {
12645
- replace: function(e) {
12646
- var a = e[0];
12647
- if (a.parentNode)
12648
- if (e[1].forEach(function(s) {
12649
- a.parentNode.insertBefore(OS(s), a);
12650
- }), a.getAttribute(E2) === null && b.keepOriginalSource) {
12651
- var i = $.createComment(_D(a));
12652
- a.parentNode.replaceChild(i, a);
12645
+ replace: function(a) {
12646
+ var e = a[0];
12647
+ if (e.parentNode)
12648
+ if (a[1].forEach(function(s) {
12649
+ e.parentNode.insertBefore(OS(s), e);
12650
+ }), e.getAttribute(E2) === null && b.keepOriginalSource) {
12651
+ var i = $.createComment(_D(e));
12652
+ e.parentNode.replaceChild(i, e);
12653
12653
  } else
12654
- a.remove();
12654
+ e.remove();
12655
12655
  },
12656
- nest: function(e) {
12657
- var a = e[0], i = e[1];
12658
- if (~Ha(a).indexOf(b.replacementClass))
12659
- return n3.replace(e);
12656
+ nest: function(a) {
12657
+ var e = a[0], i = a[1];
12658
+ if (~Ha(e).indexOf(b.replacementClass))
12659
+ return n3.replace(a);
12660
12660
  var s = new RegExp("".concat(b.cssPrefix, "-.*"));
12661
12661
  if (delete i[0].attributes.id, i[0].attributes.class) {
12662
12662
  var r = i[0].attributes.class.split(" ").reduce(function(l, t) {
@@ -12665,27 +12665,27 @@ var n3 = {
12665
12665
  toNode: [],
12666
12666
  toSvg: []
12667
12667
  });
12668
- i[0].attributes.class = r.toSvg.join(" "), r.toNode.length === 0 ? a.removeAttribute("class") : a.setAttribute("class", r.toNode.join(" "));
12668
+ i[0].attributes.class = r.toSvg.join(" "), r.toNode.length === 0 ? e.removeAttribute("class") : e.setAttribute("class", r.toNode.join(" "));
12669
12669
  }
12670
12670
  var n = i.map(function(l) {
12671
12671
  return q1(l);
12672
12672
  }).join(`
12673
12673
  `);
12674
- a.setAttribute(E2, ""), a.innerHTML = n;
12674
+ e.setAttribute(E2, ""), e.innerHTML = n;
12675
12675
  }
12676
12676
  };
12677
12677
  function he(c) {
12678
12678
  c();
12679
12679
  }
12680
- function qS(c, e) {
12681
- var a = typeof e == "function" ? e : r3;
12680
+ function qS(c, a) {
12681
+ var e = typeof a == "function" ? a : r3;
12682
12682
  if (c.length === 0)
12683
- a();
12683
+ e();
12684
12684
  else {
12685
12685
  var i = he;
12686
12686
  b.mutateApproach === jT && (i = g2.requestAnimationFrame || he), i(function() {
12687
12687
  var s = TD(), r = ba.begin("mutate");
12688
- c.map(s), r(), a();
12688
+ c.map(s), r(), e();
12689
12689
  });
12690
12690
  }
12691
12691
  }
@@ -12699,12 +12699,12 @@ function T4() {
12699
12699
  var m3 = null;
12700
12700
  function Me(c) {
12701
12701
  if (oe && b.observeMutations) {
12702
- var e = c.treeCallback, a = e === void 0 ? r3 : e, i = c.nodeCallback, s = i === void 0 ? r3 : i, r = c.pseudoElementsCallback, n = r === void 0 ? r3 : r, l = c.observeMutationsRoot, t = l === void 0 ? $ : l;
12702
+ var a = c.treeCallback, e = a === void 0 ? r3 : a, i = c.nodeCallback, s = i === void 0 ? r3 : i, r = c.pseudoElementsCallback, n = r === void 0 ? r3 : r, l = c.observeMutationsRoot, t = l === void 0 ? $ : l;
12703
12703
  m3 = new oe(function(u) {
12704
12704
  if (!xa) {
12705
12705
  var f = b2();
12706
12706
  i1(u).forEach(function(v) {
12707
- if (v.type === "childList" && v.addedNodes.length > 0 && !He(v.addedNodes[0]) && (b.searchPseudoElements && n(v.target), a(v.target)), v.type === "attributes" && v.target.parentNode && b.searchPseudoElements && n(v.target.parentNode), v.type === "attributes" && He(v.target) && ~GT.indexOf(v.attributeName))
12707
+ if (v.type === "childList" && v.addedNodes.length > 0 && !He(v.addedNodes[0]) && (b.searchPseudoElements && n(v.target), e(v.target)), v.type === "attributes" && v.target.parentNode && b.searchPseudoElements && n(v.target.parentNode), v.type === "attributes" && He(v.target) && ~GT.indexOf(v.attributeName))
12708
12708
  if (v.attributeName === "class" && SD(v.target)) {
12709
12709
  var p = l4(Ha(v.target)), d = p.prefix, h = p.iconName;
12710
12710
  v.target.setAttribute(pa, d || f), h && v.target.setAttribute(za, h);
@@ -12724,21 +12724,21 @@ function PD() {
12724
12724
  m3 && m3.disconnect();
12725
12725
  }
12726
12726
  function BD(c) {
12727
- var e = c.getAttribute("style"), a = [];
12728
- return e && (a = e.split(";").reduce(function(i, s) {
12727
+ var a = c.getAttribute("style"), e = [];
12728
+ return a && (e = a.split(";").reduce(function(i, s) {
12729
12729
  var r = s.split(":"), n = r[0], l = r.slice(1);
12730
12730
  return n && l.length > 0 && (i[n] = l.join(":").trim()), i;
12731
- }, {})), a;
12731
+ }, {})), e;
12732
12732
  }
12733
12733
  function ED(c) {
12734
- var e = c.getAttribute("data-prefix"), a = c.getAttribute("data-icon"), i = c.innerText !== void 0 ? c.innerText.trim() : "", s = l4(Ha(c));
12735
- return s.prefix || (s.prefix = b2()), e && a && (s.prefix = e, s.iconName = a), s.iconName && s.prefix || (s.prefix && i.length > 0 && (s.iconName = pD(s.prefix, c.innerText) || Ca(s.prefix, x4(c.innerText))), !s.iconName && b.autoFetchSvg && c.firstChild && c.firstChild.nodeType === Node.TEXT_NODE && (s.iconName = c.firstChild.data)), s;
12734
+ var a = c.getAttribute("data-prefix"), e = c.getAttribute("data-icon"), i = c.innerText !== void 0 ? c.innerText.trim() : "", s = l4(Ha(c));
12735
+ return s.prefix || (s.prefix = b2()), a && e && (s.prefix = a, s.iconName = e), s.iconName && s.prefix || (s.prefix && i.length > 0 && (s.iconName = pD(s.prefix, c.innerText) || Ca(s.prefix, x4(c.innerText))), !s.iconName && b.autoFetchSvg && c.firstChild && c.firstChild.nodeType === Node.TEXT_NODE && (s.iconName = c.firstChild.data)), s;
12736
12736
  }
12737
12737
  function jD(c) {
12738
- var e = i1(c.attributes).reduce(function(s, r) {
12738
+ var a = i1(c.attributes).reduce(function(s, r) {
12739
12739
  return s.name !== "class" && s.name !== "style" && (s[r.name] = r.value), s;
12740
- }, {}), a = c.getAttribute("title"), i = c.getAttribute("data-fa-title-id");
12741
- return b.autoA11y && (a ? e["aria-labelledby"] = "".concat(b.replacementClass, "-title-").concat(i || C1()) : (e["aria-hidden"] = "true", e.focusable = "false")), e;
12740
+ }, {}), e = c.getAttribute("title"), i = c.getAttribute("data-fa-title-id");
12741
+ return b.autoA11y && (e ? a["aria-labelledby"] = "".concat(b.replacementClass, "-title-").concat(i || C1()) : (a["aria-hidden"] = "true", a.focusable = "false")), a;
12742
12742
  }
12743
12743
  function FD() {
12744
12744
  return {
@@ -12762,9 +12762,9 @@ function FD() {
12762
12762
  };
12763
12763
  }
12764
12764
  function Ce(c) {
12765
- var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
12765
+ var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
12766
12766
  styleParser: !0
12767
- }, a = ED(c), i = a.iconName, s = a.prefix, r = a.rest, n = jD(c), l = A4("parseNodeAttributes", {}, c), t = e.styleParser ? BD(c) : [];
12767
+ }, e = ED(c), i = e.iconName, s = e.prefix, r = e.rest, n = jD(c), l = A4("parseNodeAttributes", {}, c), t = a.styleParser ? BD(c) : [];
12768
12768
  return M({
12769
12769
  iconName: i,
12770
12770
  title: c.getAttribute("title"),
@@ -12787,10 +12787,10 @@ function Ce(c) {
12787
12787
  }
12788
12788
  var OD = f2.styles;
12789
12789
  function US(c) {
12790
- var e = b.autoReplaceSvg === "nest" ? Ce(c, {
12790
+ var a = b.autoReplaceSvg === "nest" ? Ce(c, {
12791
12791
  styleParser: !1
12792
12792
  }) : Ce(c);
12793
- return ~e.extra.classes.indexOf(NS) ? h2("generateLayersText", c, e) : h2("generateSvgReplacementMutation", c, e);
12793
+ return ~a.extra.classes.indexOf(NS) ? h2("generateLayersText", c, a) : h2("generateSvgReplacementMutation", c, a);
12794
12794
  }
12795
12795
  var x2 = /* @__PURE__ */ new Set();
12796
12796
  Va.map(function(c) {
@@ -12800,13 +12800,13 @@ Object.keys(V1[U]).map(x2.add.bind(x2));
12800
12800
  Object.keys(V1[G]).map(x2.add.bind(x2));
12801
12801
  x2 = F1(x2);
12802
12802
  function Le(c) {
12803
- var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
12803
+ var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
12804
12804
  if (!M2)
12805
12805
  return Promise.resolve();
12806
- var a = $.documentElement.classList, i = function(v) {
12807
- return a.add("".concat(fe, "-").concat(v));
12806
+ var e = $.documentElement.classList, i = function(v) {
12807
+ return e.add("".concat(fe, "-").concat(v));
12808
12808
  }, s = function(v) {
12809
- return a.remove("".concat(fe, "-").concat(v));
12809
+ return e.remove("".concat(fe, "-").concat(v));
12810
12810
  }, r = b.autoFetchSvg ? x2 : Va.map(function(f) {
12811
12811
  return "fa-".concat(f);
12812
12812
  }).concat(Object.keys(OD));
@@ -12837,7 +12837,7 @@ function Le(c) {
12837
12837
  return new Promise(function(f, v) {
12838
12838
  Promise.all(u).then(function(p) {
12839
12839
  qS(p, function() {
12840
- i("active"), i("complete"), s("pending"), typeof e == "function" && e(), t(), f();
12840
+ i("active"), i("complete"), s("pending"), typeof a == "function" && a(), t(), f();
12841
12841
  });
12842
12842
  }).catch(function(p) {
12843
12843
  t(), v(p);
@@ -12845,29 +12845,29 @@ function Le(c) {
12845
12845
  });
12846
12846
  }
12847
12847
  function qD(c) {
12848
- var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
12849
- US(c).then(function(a) {
12850
- a && qS([a], e);
12848
+ var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
12849
+ US(c).then(function(e) {
12850
+ e && qS([e], a);
12851
12851
  });
12852
12852
  }
12853
12853
  function RD(c) {
12854
- return function(e) {
12855
- var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = (e || {}).icon ? e : y4(e || {}), s = a.mask;
12856
- return s && (s = (s || {}).icon ? s : y4(s || {})), c(i, M(M({}, a), {}, {
12854
+ return function(a) {
12855
+ var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = (a || {}).icon ? a : y4(a || {}), s = e.mask;
12856
+ return s && (s = (s || {}).icon ? s : y4(s || {})), c(i, M(M({}, e), {}, {
12857
12857
  mask: s
12858
12858
  }));
12859
12859
  };
12860
12860
  }
12861
- var UD = function(e) {
12862
- var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = a.transform, s = i === void 0 ? u2 : i, r = a.symbol, n = r === void 0 ? !1 : r, l = a.mask, t = l === void 0 ? null : l, u = a.maskId, f = u === void 0 ? null : u, v = a.title, p = v === void 0 ? null : v, d = a.titleId, h = d === void 0 ? null : d, N = a.classes, L = N === void 0 ? [] : N, S = a.attributes, T = S === void 0 ? {} : S, w = a.styles, x = w === void 0 ? {} : w;
12863
- if (e) {
12864
- var D = e.prefix, _ = e.iconName, q = e.icon;
12861
+ var UD = function(a) {
12862
+ var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = e.transform, s = i === void 0 ? u2 : i, r = e.symbol, n = r === void 0 ? !1 : r, l = e.mask, t = l === void 0 ? null : l, u = e.maskId, f = u === void 0 ? null : u, v = e.title, p = v === void 0 ? null : v, d = e.titleId, h = d === void 0 ? null : d, N = e.classes, L = N === void 0 ? [] : N, S = e.attributes, T = S === void 0 ? {} : S, w = e.styles, x = w === void 0 ? {} : w;
12863
+ if (a) {
12864
+ var D = a.prefix, _ = a.iconName, q = a.icon;
12865
12865
  return o4(M({
12866
12866
  type: "icon"
12867
- }, e), function() {
12867
+ }, a), function() {
12868
12868
  return j2("beforeDOMElementCreation", {
12869
- iconDefinition: e,
12870
- params: a
12869
+ iconDefinition: a,
12870
+ params: e
12871
12871
  }), b.autoA11y && (p ? T["aria-labelledby"] = "".concat(b.replacementClass, "-title-").concat(h || C1()) : (T["aria-hidden"] = "true", T.focusable = "false")), ga({
12872
12872
  icons: {
12873
12873
  main: w4(q),
@@ -12901,17 +12901,17 @@ var UD = function(e) {
12901
12901
  },
12902
12902
  hooks: function() {
12903
12903
  return {
12904
- mutationObserverCallbacks: function(a) {
12905
- return a.treeCallback = Le, a.nodeCallback = qD, a;
12904
+ mutationObserverCallbacks: function(e) {
12905
+ return e.treeCallback = Le, e.nodeCallback = qD, e;
12906
12906
  }
12907
12907
  };
12908
12908
  },
12909
- provides: function(e) {
12910
- e.i2svg = function(a) {
12911
- var i = a.node, s = i === void 0 ? $ : i, r = a.callback, n = r === void 0 ? function() {
12909
+ provides: function(a) {
12910
+ a.i2svg = function(e) {
12911
+ var i = e.node, s = i === void 0 ? $ : i, r = e.callback, n = r === void 0 ? function() {
12912
12912
  } : r;
12913
12913
  return Le(s, n);
12914
- }, e.generateSvgReplacementMutation = function(a, i) {
12914
+ }, a.generateSvgReplacementMutation = function(e, i) {
12915
12915
  var s = i.iconName, r = i.title, n = i.titleId, l = i.prefix, t = i.transform, u = i.symbol, f = i.mask, v = i.maskId, p = i.extra;
12916
12916
  return new Promise(function(d, h) {
12917
12917
  Promise.all([S4(s, l), f.iconName ? S4(f.iconName, f.prefix) : Promise.resolve({
@@ -12921,7 +12921,7 @@ var UD = function(e) {
12921
12921
  icon: {}
12922
12922
  })]).then(function(N) {
12923
12923
  var L = va(N, 2), S = L[0], T = L[1];
12924
- d([a, ga({
12924
+ d([e, ga({
12925
12925
  icons: {
12926
12926
  main: S,
12927
12927
  mask: T
@@ -12938,8 +12938,8 @@ var UD = function(e) {
12938
12938
  })]);
12939
12939
  }).catch(h);
12940
12940
  });
12941
- }, e.generateAbstractIcon = function(a) {
12942
- var i = a.children, s = a.attributes, r = a.main, n = a.transform, l = a.styles, t = n4(l);
12941
+ }, a.generateAbstractIcon = function(e) {
12942
+ var i = e.children, s = e.attributes, r = e.main, n = e.transform, l = e.styles, t = n4(l);
12943
12943
  t.length > 0 && (s.style = t);
12944
12944
  var u;
12945
12945
  return ha(n) && (u = h2("generateAbstractTransformGrouping", {
@@ -12956,17 +12956,17 @@ var UD = function(e) {
12956
12956
  }, GD = {
12957
12957
  mixout: function() {
12958
12958
  return {
12959
- layer: function(a) {
12959
+ layer: function(e) {
12960
12960
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = i.classes, r = s === void 0 ? [] : s;
12961
12961
  return o4({
12962
12962
  type: "layer"
12963
12963
  }, function() {
12964
12964
  j2("beforeDOMElementCreation", {
12965
- assembler: a,
12965
+ assembler: e,
12966
12966
  params: i
12967
12967
  });
12968
12968
  var n = [];
12969
- return a(function(l) {
12969
+ return e(function(l) {
12970
12970
  Array.isArray(l) ? l.map(function(t) {
12971
12971
  n = n.concat(t.abstract);
12972
12972
  }) : n = n.concat(l.abstract);
@@ -12984,17 +12984,17 @@ var UD = function(e) {
12984
12984
  }, WD = {
12985
12985
  mixout: function() {
12986
12986
  return {
12987
- counter: function(a) {
12987
+ counter: function(e) {
12988
12988
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = i.title, r = s === void 0 ? null : s, n = i.classes, l = n === void 0 ? [] : n, t = i.attributes, u = t === void 0 ? {} : t, f = i.styles, v = f === void 0 ? {} : f;
12989
12989
  return o4({
12990
12990
  type: "counter",
12991
- content: a
12991
+ content: e
12992
12992
  }, function() {
12993
12993
  return j2("beforeDOMElementCreation", {
12994
- content: a,
12994
+ content: e,
12995
12995
  params: i
12996
12996
  }), ND({
12997
- content: a.toString(),
12997
+ content: e.toString(),
12998
12998
  title: r,
12999
12999
  extra: {
13000
13000
  attributes: u,
@@ -13009,17 +13009,17 @@ var UD = function(e) {
13009
13009
  }, YD = {
13010
13010
  mixout: function() {
13011
13011
  return {
13012
- text: function(a) {
13012
+ text: function(e) {
13013
13013
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = i.transform, r = s === void 0 ? u2 : s, n = i.title, l = n === void 0 ? null : n, t = i.classes, u = t === void 0 ? [] : t, f = i.attributes, v = f === void 0 ? {} : f, p = i.styles, d = p === void 0 ? {} : p;
13014
13014
  return o4({
13015
13015
  type: "text",
13016
- content: a
13016
+ content: e
13017
13017
  }, function() {
13018
13018
  return j2("beforeDOMElementCreation", {
13019
- content: a,
13019
+ content: e,
13020
13020
  params: i
13021
13021
  }), ze({
13022
- content: a,
13022
+ content: e,
13023
13023
  transform: M(M({}, u2), r),
13024
13024
  title: l,
13025
13025
  extra: {
@@ -13032,15 +13032,15 @@ var UD = function(e) {
13032
13032
  }
13033
13033
  };
13034
13034
  },
13035
- provides: function(e) {
13036
- e.generateLayersText = function(a, i) {
13035
+ provides: function(a) {
13036
+ a.generateLayersText = function(e, i) {
13037
13037
  var s = i.title, r = i.transform, n = i.extra, l = null, t = null;
13038
13038
  if (LS) {
13039
- var u = parseInt(getComputedStyle(a).fontSize, 10), f = a.getBoundingClientRect();
13039
+ var u = parseInt(getComputedStyle(e).fontSize, 10), f = e.getBoundingClientRect();
13040
13040
  l = f.width / u, t = f.height / u;
13041
13041
  }
13042
- return b.autoA11y && !s && (n.attributes["aria-hidden"] = "true"), Promise.resolve([a, ze({
13043
- content: a.innerHTML,
13042
+ return b.autoA11y && !s && (n.attributes["aria-hidden"] = "true"), Promise.resolve([e, ze({
13043
+ content: e.innerHTML,
13044
13044
  width: l,
13045
13045
  height: t,
13046
13046
  transform: r,
@@ -13052,20 +13052,20 @@ var UD = function(e) {
13052
13052
  }
13053
13053
  }, QD = new RegExp('"', "ug"), ge = [1105920, 1112319];
13054
13054
  function XD(c) {
13055
- var e = c.replace(QD, ""), a = oD(e, 0), i = a >= ge[0] && a <= ge[1], s = e.length === 2 ? e[0] === e[1] : !1;
13055
+ var a = c.replace(QD, ""), e = oD(a, 0), i = e >= ge[0] && e <= ge[1], s = a.length === 2 ? a[0] === a[1] : !1;
13056
13056
  return {
13057
- value: x4(s ? e[0] : e),
13057
+ value: x4(s ? a[0] : a),
13058
13058
  isSecondary: i || s
13059
13059
  };
13060
13060
  }
13061
- function be(c, e) {
13062
- var a = "".concat(ET).concat(e.replace(":", "-"));
13061
+ function be(c, a) {
13062
+ var e = "".concat(ET).concat(a.replace(":", "-"));
13063
13063
  return new Promise(function(i, s) {
13064
- if (c.getAttribute(a) !== null)
13064
+ if (c.getAttribute(e) !== null)
13065
13065
  return i();
13066
13066
  var r = i1(c.children), n = r.filter(function(q) {
13067
- return q.getAttribute(b4) === e;
13068
- })[0], l = g2.getComputedStyle(c, e), t = l.getPropertyValue("font-family").match(RT), u = l.getPropertyValue("font-weight"), f = l.getPropertyValue("content");
13067
+ return q.getAttribute(b4) === a;
13068
+ })[0], l = g2.getComputedStyle(c, a), t = l.getPropertyValue("font-family").match(RT), u = l.getPropertyValue("font-weight"), f = l.getPropertyValue("content");
13069
13069
  if (n && !t)
13070
13070
  return c.removeChild(n), i();
13071
13071
  if (t && f !== "none" && f !== "") {
@@ -13075,9 +13075,9 @@ function be(c, e) {
13075
13075
  x.iconName && x.prefix && (T = x.iconName, d = x.prefix);
13076
13076
  }
13077
13077
  if (T && !L && (!n || n.getAttribute(pa) !== d || n.getAttribute(za) !== w)) {
13078
- c.setAttribute(a, w), n && c.removeChild(n);
13078
+ c.setAttribute(e, w), n && c.removeChild(n);
13079
13079
  var D = FD(), _ = D.extra;
13080
- _.attributes[b4] = e, S4(T, d).then(function(q) {
13080
+ _.attributes[b4] = a, S4(T, d).then(function(q) {
13081
13081
  var C = ga(M(M({}, D), {}, {
13082
13082
  icons: {
13083
13083
  main: q,
@@ -13088,10 +13088,10 @@ function be(c, e) {
13088
13088
  extra: _,
13089
13089
  watchable: !0
13090
13090
  })), A = $.createElement("svg");
13091
- e === "::before" ? c.insertBefore(A, c.firstChild) : c.appendChild(A), A.outerHTML = C.map(function(R) {
13091
+ a === "::before" ? c.insertBefore(A, c.firstChild) : c.appendChild(A), A.outerHTML = C.map(function(R) {
13092
13092
  return q1(R);
13093
13093
  }).join(`
13094
- `), c.removeAttribute(a), i();
13094
+ `), c.removeAttribute(e), i();
13095
13095
  }).catch(s);
13096
13096
  } else
13097
13097
  i();
@@ -13107,26 +13107,26 @@ function JD(c) {
13107
13107
  }
13108
13108
  function xe(c) {
13109
13109
  if (M2)
13110
- return new Promise(function(e, a) {
13110
+ return new Promise(function(a, e) {
13111
13111
  var i = i1(c.querySelectorAll("*")).filter(JD).map(ZD), s = ba.begin("searchPseudoElements");
13112
13112
  RS(), Promise.all(i).then(function() {
13113
- s(), T4(), e();
13114
- }).catch(function() {
13115
13113
  s(), T4(), a();
13114
+ }).catch(function() {
13115
+ s(), T4(), e();
13116
13116
  });
13117
13117
  });
13118
13118
  }
13119
13119
  var KD = {
13120
13120
  hooks: function() {
13121
13121
  return {
13122
- mutationObserverCallbacks: function(a) {
13123
- return a.pseudoElementsCallback = xe, a;
13122
+ mutationObserverCallbacks: function(e) {
13123
+ return e.pseudoElementsCallback = xe, e;
13124
13124
  }
13125
13125
  };
13126
13126
  },
13127
- provides: function(e) {
13128
- e.pseudoElements2svg = function(a) {
13129
- var i = a.node, s = i === void 0 ? $ : i;
13127
+ provides: function(a) {
13128
+ a.pseudoElements2svg = function(e) {
13129
+ var i = e.node, s = i === void 0 ? $ : i;
13130
13130
  b.searchPseudoElements && xe(s);
13131
13131
  };
13132
13132
  }
@@ -13148,16 +13148,16 @@ var KD = {
13148
13148
  noAuto: function() {
13149
13149
  PD();
13150
13150
  },
13151
- watch: function(a) {
13152
- var i = a.observeMutationsRoot;
13151
+ watch: function(e) {
13152
+ var i = e.observeMutationsRoot;
13153
13153
  Ne ? T4() : Me(A4("mutationObserverCallbacks", {
13154
13154
  observeMutationsRoot: i
13155
13155
  }));
13156
13156
  }
13157
13157
  };
13158
13158
  }
13159
- }, Ae = function(e) {
13160
- var a = {
13159
+ }, Ae = function(a) {
13160
+ var e = {
13161
13161
  size: 16,
13162
13162
  x: 0,
13163
13163
  y: 0,
@@ -13165,7 +13165,7 @@ var KD = {
13165
13165
  flipY: !1,
13166
13166
  rotate: 0
13167
13167
  };
13168
- return e.toLowerCase().split(" ").reduce(function(i, s) {
13168
+ return a.toLowerCase().split(" ").reduce(function(i, s) {
13169
13169
  var r = s.toLowerCase().split("-"), n = r[0], l = r.slice(1).join("-");
13170
13170
  if (n && l === "h")
13171
13171
  return i.flipX = !0, i;
@@ -13197,28 +13197,28 @@ var KD = {
13197
13197
  break;
13198
13198
  }
13199
13199
  return i;
13200
- }, a);
13200
+ }, e);
13201
13201
  }, aI = {
13202
13202
  mixout: function() {
13203
13203
  return {
13204
13204
  parse: {
13205
- transform: function(a) {
13206
- return Ae(a);
13205
+ transform: function(e) {
13206
+ return Ae(e);
13207
13207
  }
13208
13208
  }
13209
13209
  };
13210
13210
  },
13211
13211
  hooks: function() {
13212
13212
  return {
13213
- parseNodeAttributes: function(a, i) {
13213
+ parseNodeAttributes: function(e, i) {
13214
13214
  var s = i.getAttribute("data-fa-transform");
13215
- return s && (a.transform = Ae(s)), a;
13215
+ return s && (e.transform = Ae(s)), e;
13216
13216
  }
13217
13217
  };
13218
13218
  },
13219
- provides: function(e) {
13220
- e.generateAbstractTransformGrouping = function(a) {
13221
- var i = a.main, s = a.transform, r = a.containerWidth, n = a.iconWidth, l = {
13219
+ provides: function(a) {
13220
+ a.generateAbstractTransformGrouping = function(e) {
13221
+ var i = e.main, s = e.transform, r = e.containerWidth, n = e.iconWidth, l = {
13222
13222
  transform: "translate(".concat(r / 2, " 256)")
13223
13223
  }, t = "translate(".concat(s.x * 32, ", ").concat(s.y * 32, ") "), u = "scale(".concat(s.size / 16 * (s.flipX ? -1 : 1), ", ").concat(s.size / 16 * (s.flipY ? -1 : 1), ") "), f = "rotate(".concat(s.rotate, " 0 0)"), v = {
13224
13224
  transform: "".concat(t, " ").concat(u, " ").concat(f)
@@ -13251,8 +13251,8 @@ var KD = {
13251
13251
  height: "100%"
13252
13252
  };
13253
13253
  function ye(c) {
13254
- var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
13255
- return c.attributes && (c.attributes.fill || e) && (c.attributes.fill = "black"), c;
13254
+ var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
13255
+ return c.attributes && (c.attributes.fill || a) && (c.attributes.fill = "black"), c;
13256
13256
  }
13257
13257
  function eI(c) {
13258
13258
  return c.tag === "g" ? c.children : [c];
@@ -13260,17 +13260,17 @@ function eI(c) {
13260
13260
  var iI = {
13261
13261
  hooks: function() {
13262
13262
  return {
13263
- parseNodeAttributes: function(a, i) {
13263
+ parseNodeAttributes: function(e, i) {
13264
13264
  var s = i.getAttribute("data-fa-mask"), r = s ? l4(s.split(" ").map(function(n) {
13265
13265
  return n.trim();
13266
13266
  })) : La();
13267
- return r.prefix || (r.prefix = b2()), a.mask = r, a.maskId = i.getAttribute("data-fa-mask-id"), a;
13267
+ return r.prefix || (r.prefix = b2()), e.mask = r, e.maskId = i.getAttribute("data-fa-mask-id"), e;
13268
13268
  }
13269
13269
  };
13270
13270
  },
13271
- provides: function(e) {
13272
- e.generateAbstractMask = function(a) {
13273
- var i = a.children, s = a.attributes, r = a.main, n = a.mask, l = a.maskId, t = a.transform, u = r.width, f = r.icon, v = n.width, p = n.icon, d = aD({
13271
+ provides: function(a) {
13272
+ a.generateAbstractMask = function(e) {
13273
+ var i = e.children, s = e.attributes, r = e.main, n = e.mask, l = e.maskId, t = e.transform, u = r.width, f = r.icon, v = n.width, p = n.icon, d = aD({
13274
13274
  transform: t,
13275
13275
  containerWidth: v,
13276
13276
  iconWidth: u
@@ -13324,9 +13324,9 @@ var iI = {
13324
13324
  };
13325
13325
  }
13326
13326
  }, sI = {
13327
- provides: function(e) {
13328
- var a = !1;
13329
- g2.matchMedia && (a = g2.matchMedia("(prefers-reduced-motion: reduce)").matches), e.missingIconAbstract = function() {
13327
+ provides: function(a) {
13328
+ var e = !1;
13329
+ g2.matchMedia && (e = g2.matchMedia("(prefers-reduced-motion: reduce)").matches), a.missingIconAbstract = function() {
13330
13330
  var i = [], s = {
13331
13331
  fill: "currentColor"
13332
13332
  }, r = {
@@ -13351,7 +13351,7 @@ var iI = {
13351
13351
  }),
13352
13352
  children: []
13353
13353
  };
13354
- return a || l.children.push({
13354
+ return e || l.children.push({
13355
13355
  tag: "animate",
13356
13356
  attributes: M(M({}, r), {}, {
13357
13357
  attributeName: "r",
@@ -13368,13 +13368,13 @@ var iI = {
13368
13368
  opacity: "1",
13369
13369
  d: "M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"
13370
13370
  }),
13371
- children: a ? [] : [{
13371
+ children: e ? [] : [{
13372
13372
  tag: "animate",
13373
13373
  attributes: M(M({}, n), {}, {
13374
13374
  values: "1;0;0;0;0;1;"
13375
13375
  })
13376
13376
  }]
13377
- }), a || i.push({
13377
+ }), e || i.push({
13378
13378
  tag: "path",
13379
13379
  attributes: M(M({}, s), {}, {
13380
13380
  opacity: "0",
@@ -13398,9 +13398,9 @@ var iI = {
13398
13398
  }, rI = {
13399
13399
  hooks: function() {
13400
13400
  return {
13401
- parseNodeAttributes: function(a, i) {
13401
+ parseNodeAttributes: function(e, i) {
13402
13402
  var s = i.getAttribute("data-fa-symbol"), r = s === null ? !1 : s === "" ? !0 : s;
13403
- return a.symbol = r, a;
13403
+ return e.symbol = r, e;
13404
13404
  }
13405
13405
  };
13406
13406
  }
@@ -13428,9 +13428,9 @@ const lI = P({
13428
13428
  }
13429
13429
  },
13430
13430
  setup(c) {
13431
- const e = (t) => we.icon ? we.icon(t) : null, a = (t, u = {}) => {
13431
+ const a = (t) => we.icon ? we.icon(t) : null, e = (t, u = {}) => {
13432
13432
  const f = (t.children || []).map(
13433
- (d) => a(d)
13433
+ (d) => e(d)
13434
13434
  );
13435
13435
  if (t.prefix)
13436
13436
  return;
@@ -13459,7 +13459,7 @@ const lI = P({
13459
13459
  return p.charAt(0).toLowerCase() + p.slice(1);
13460
13460
  }
13461
13461
  const s = B(
13462
- () => i(e(c.icon).iconName)
13462
+ () => i(a(c.icon).iconName)
13463
13463
  ), r = B(() => yT[s.value]), n = B(
13464
13464
  () => tI(r.value, {
13465
13465
  symbol: !1,
@@ -13475,7 +13475,7 @@ const lI = P({
13475
13475
  { immediate: !0 }
13476
13476
  );
13477
13477
  const l = B(
13478
- () => n.value ? a(n.value.abstract[0]) : null
13478
+ () => n.value ? e(n.value.abstract[0]) : null
13479
13479
  );
13480
13480
  return () => l.value;
13481
13481
  }
@@ -13518,9 +13518,9 @@ const lI = P({
13518
13518
  }
13519
13519
  },
13520
13520
  emits: ["onClick"],
13521
- setup(c, { emit: e }) {
13522
- const a = () => {
13523
- e("onClick");
13521
+ setup(c, { emit: a }) {
13522
+ const e = () => {
13523
+ a("onClick");
13524
13524
  };
13525
13525
  return (i, s) => {
13526
13526
  const r = H("AVIcon");
@@ -13528,7 +13528,7 @@ const lI = P({
13528
13528
  type: "button",
13529
13529
  class: k(`AVButton AVButton--${c.size} AVButton--${c.type} ${c.fullWidth && "AVButton--full"}`),
13530
13530
  "data-test": "btn",
13531
- onClick: a,
13531
+ onClick: e,
13532
13532
  disabled: c.disabled
13533
13533
  }, [
13534
13534
  c.iconLeft ? (m(), E(r, {
@@ -13550,11 +13550,11 @@ const lI = P({
13550
13550
  };
13551
13551
  }
13552
13552
  });
13553
- const I = (c, e) => {
13554
- const a = c.__vccOpts || c;
13555
- for (const [i, s] of e)
13556
- a[i] = s;
13557
- return a;
13553
+ const I = (c, a) => {
13554
+ const e = c.__vccOpts || c;
13555
+ for (const [i, s] of a)
13556
+ e[i] = s;
13557
+ return e;
13558
13558
  }, uI = /* @__PURE__ */ I(fI, [["__scopeId", "data-v-12a991c8"]]), mI = /* @__PURE__ */ P({
13559
13559
  __name: "AVSpinner",
13560
13560
  props: {
@@ -13570,7 +13570,7 @@ const I = (c, e) => {
13570
13570
  }
13571
13571
  },
13572
13572
  setup(c) {
13573
- return (e, a) => {
13573
+ return (a, e) => {
13574
13574
  const i = H("AVIcon");
13575
13575
  return m(), E(i, {
13576
13576
  icon: "fa-solid fa-spinner",
@@ -13602,7 +13602,7 @@ const vI = /* @__PURE__ */ I(mI, [["__scopeId", "data-v-70d9cfd4"]]), dI = /* @_
13602
13602
  }
13603
13603
  },
13604
13604
  setup(c) {
13605
- return (e, a) => {
13605
+ return (a, e) => {
13606
13606
  const i = H("AVIcon");
13607
13607
  return c.type === "icon" ? (m(), E(i, {
13608
13608
  key: 0,
@@ -13671,14 +13671,14 @@ const D4 = /* @__PURE__ */ I(dI, [["__scopeId", "data-v-83458350"]]), pI = { cla
13671
13671
  }
13672
13672
  },
13673
13673
  emits: ["update:modelValue"],
13674
- setup(c, { emit: e }) {
13675
- const a = c, i = (r) => {
13676
- e("update:modelValue", r.target.value);
13674
+ setup(c, { emit: a }) {
13675
+ const e = c, i = (r) => {
13676
+ a("update:modelValue", r.target.value);
13677
13677
  }, s = B(() => ({
13678
13678
  AVTextInput: !0,
13679
- error: !!a.error,
13680
- icon: !!a.icon,
13681
- disabled: a.disabled
13679
+ error: !!e.error,
13680
+ icon: !!e.icon,
13681
+ disabled: e.disabled
13682
13682
  }));
13683
13683
  return (r, n) => {
13684
13684
  const l = H("AVTooltip"), t = H("AVIcon");
@@ -13796,21 +13796,21 @@ const gI = /* @__PURE__ */ I(LI, [["__scopeId", "data-v-60c6019f"]]), bI = { cla
13796
13796
  }
13797
13797
  },
13798
13798
  emits: ["update:modelValue"],
13799
- setup(c, { emit: e }) {
13800
- const a = c, i = W(null), s = (f) => {
13801
- e("update:modelValue", parseInt(f.target.value));
13799
+ setup(c, { emit: a }) {
13800
+ const e = c, i = W(null), s = (f) => {
13801
+ a("update:modelValue", parseInt(f.target.value));
13802
13802
  }, r = (f) => {
13803
- f.target.value === "" && e("update:modelValue", 0);
13803
+ f.target.value === "" && a("update:modelValue", 0);
13804
13804
  }, n = () => {
13805
13805
  i.value.classList.remove("hidden"), i.value.classList.add("AVNumberInput--shown");
13806
13806
  }, l = () => {
13807
- a.error || (i.value.classList.remove("AVNumberInput--shown"), i.value.classList.add("hidden"));
13807
+ e.error || (i.value.classList.remove("AVNumberInput--shown"), i.value.classList.add("hidden"));
13808
13808
  }, t = () => {
13809
- const f = a.modelValue + a.step;
13810
- (a.max === null || f <= a.max) && e("update:modelValue", f);
13809
+ const f = e.modelValue + e.step;
13810
+ (e.max === null || f <= e.max) && a("update:modelValue", f);
13811
13811
  }, u = () => {
13812
- const f = a.modelValue - a.step;
13813
- (a.min === null || f >= a.min) && e("update:modelValue", f);
13812
+ const f = e.modelValue - e.step;
13813
+ (e.min === null || f >= e.min) && a("update:modelValue", f);
13814
13814
  };
13815
13815
  return (f, v) => {
13816
13816
  const p = H("AVTooltip"), d = H("AVIcon");
@@ -13946,11 +13946,11 @@ const kI = /* @__PURE__ */ I(SI, [["__scopeId", "data-v-d72e029e"]]), TI = { cla
13946
13946
  }
13947
13947
  },
13948
13948
  emits: ["update:modelValue"],
13949
- setup(c, { emit: e }) {
13950
- const a = W(!1), i = () => {
13951
- a.value = !a.value;
13949
+ setup(c, { emit: a }) {
13950
+ const e = W(!1), i = () => {
13951
+ e.value = !e.value;
13952
13952
  }, s = (r) => {
13953
- e("update:modelValue", r.target.value);
13953
+ a("update:modelValue", r.target.value);
13954
13954
  };
13955
13955
  return (r, n) => {
13956
13956
  const l = H("AVTooltip"), t = H("AVIcon");
@@ -13981,7 +13981,7 @@ const kI = /* @__PURE__ */ I(SI, [["__scopeId", "data-v-d72e029e"]]), TI = { cla
13981
13981
  o("input", {
13982
13982
  value: c.modelValue,
13983
13983
  onInput: s,
13984
- type: `${a.value ? "text" : "password"}`,
13984
+ type: `${e.value ? "text" : "password"}`,
13985
13985
  class: k(`AVPaswordInput ${c.error && "error"} ${c.disableIcon && "no-icon"} ${c.disabled && "disabled"}`),
13986
13986
  id: c.id,
13987
13987
  disabled: c.disabled,
@@ -13994,7 +13994,7 @@ const kI = /* @__PURE__ */ I(SI, [["__scopeId", "data-v-d72e029e"]]), TI = { cla
13994
13994
  }, [
13995
13995
  o("button", { onClick: i }, [
13996
13996
  V(t, {
13997
- icon: `fa-solid fa-${a.value ? "eye-slash" : "eye"}`,
13997
+ icon: `fa-solid fa-${e.value ? "eye-slash" : "eye"}`,
13998
13998
  class: "AVPaswordInput--input-icon",
13999
13999
  "data-test": "show-pass-icon"
14000
14000
  }, null, 8, ["icon"])
@@ -14063,9 +14063,9 @@ const jI = /* @__PURE__ */ I(EI, [["__scopeId", "data-v-091a0dbd"]]), FI = { cla
14063
14063
  }
14064
14064
  },
14065
14065
  emits: ["update:modelValue"],
14066
- setup(c, { emit: e }) {
14067
- const a = (i) => {
14068
- e("update:modelValue", i.target.value);
14066
+ setup(c, { emit: a }) {
14067
+ const e = (i) => {
14068
+ a("update:modelValue", i.target.value);
14069
14069
  };
14070
14070
  return (i, s) => {
14071
14071
  const r = H("AVTooltip"), n = H("AVIcon");
@@ -14095,7 +14095,7 @@ const jI = /* @__PURE__ */ I(EI, [["__scopeId", "data-v-091a0dbd"]]), FI = { cla
14095
14095
  ]),
14096
14096
  o("input", {
14097
14097
  value: c.modelValue,
14098
- onInput: a,
14098
+ onInput: e,
14099
14099
  type: "datetime-local",
14100
14100
  class: k(`AVDatetimeInput ${c.error && "error"} ${c.disableIcon && "no-icon"} ${c.disabled && "disabled"}`),
14101
14101
  style: p2(`margin-right: -${c.error ? "3.75" : "1.4"}rem`),
@@ -14172,9 +14172,9 @@ const WI = /* @__PURE__ */ I(GI, [["__scopeId", "data-v-4bfdfaa4"]]), YI = { cla
14172
14172
  }
14173
14173
  },
14174
14174
  emits: ["update:modelValue"],
14175
- setup(c, { emit: e }) {
14176
- const a = (i) => {
14177
- e("update:modelValue", i.target.value);
14175
+ setup(c, { emit: a }) {
14176
+ const e = (i) => {
14177
+ a("update:modelValue", i.target.value);
14178
14178
  };
14179
14179
  return (i, s) => {
14180
14180
  const r = H("AVTooltip"), n = H("AVIcon");
@@ -14207,7 +14207,7 @@ const WI = /* @__PURE__ */ I(GI, [["__scopeId", "data-v-4bfdfaa4"]]), YI = { cla
14207
14207
  ], 4),
14208
14208
  o("textarea", {
14209
14209
  value: c.modelValue,
14210
- onInput: a,
14210
+ onInput: e,
14211
14211
  class: k(`AVTextArea ${c.error && "error"} ${c.disableIcon && "no-icon"} ${c.disabled && "disabled"}`),
14212
14212
  id: c.id,
14213
14213
  disabled: c.disabled,
@@ -14243,12 +14243,12 @@ const a_ = /* @__PURE__ */ I(c_, [["__scopeId", "data-v-dfff5cb5"]]), e_ = /* @_
14243
14243
  }
14244
14244
  },
14245
14245
  setup(c) {
14246
- const a = `
14246
+ const e = `
14247
14247
  AVLabel
14248
14248
  AVLabel--${c.type}
14249
14249
  `;
14250
14250
  return (i, s) => (m(), z("span", {
14251
- class: k(a)
14251
+ class: k(e)
14252
14252
  }, g(c.value), 1));
14253
14253
  }
14254
14254
  });
@@ -14262,10 +14262,10 @@ const i_ = /* @__PURE__ */ I(e_, [["__scopeId", "data-v-ee7ab830"]]), s_ = /* @_
14262
14262
  }
14263
14263
  },
14264
14264
  setup(c) {
14265
- return (e, a) => (m(), z("div", {
14265
+ return (a, e) => (m(), z("div", {
14266
14266
  class: k(`AVCard--${c.variant}`)
14267
14267
  }, [
14268
- X(e.$slots, "default", {}, void 0, !0)
14268
+ X(a.$slots, "default", {}, void 0, !0)
14269
14269
  ], 2));
14270
14270
  }
14271
14271
  });
@@ -14279,9 +14279,9 @@ const r_ = /* @__PURE__ */ I(s_, [["__scopeId", "data-v-fc292113"]]), n_ = /* @_
14279
14279
  }
14280
14280
  },
14281
14281
  emits: ["onClick"],
14282
- setup(c, { emit: e }) {
14283
- const a = () => {
14284
- e("onClick");
14282
+ setup(c, { emit: a }) {
14283
+ const e = () => {
14284
+ a("onClick");
14285
14285
  };
14286
14286
  return (i, s) => {
14287
14287
  const r = H("AVIcon");
@@ -14289,7 +14289,7 @@ const r_ = /* @__PURE__ */ I(s_, [["__scopeId", "data-v-fc292113"]]), n_ = /* @_
14289
14289
  type: "button",
14290
14290
  class: k("AVRoundButton"),
14291
14291
  "data-test": "round-btn",
14292
- onClick: a
14292
+ onClick: e
14293
14293
  }, [
14294
14294
  V(r, {
14295
14295
  icon: `fa-solid fa-${c.icon}`,
@@ -14363,26 +14363,26 @@ const t_ = /* @__PURE__ */ I(n_, [["__scopeId", "data-v-ff11beb8"]]), l_ = { cla
14363
14363
  }
14364
14364
  },
14365
14365
  emits: ["update:modelValue"],
14366
- setup(c, { emit: e }) {
14367
- const a = c, i = Se({
14366
+ setup(c, { emit: a }) {
14367
+ const e = c, i = Se({
14368
14368
  active: !1,
14369
14369
  customWidth: null,
14370
14370
  id: null
14371
- }), s = B(() => a.options.map((t) => typeof t == "string" ? {
14371
+ }), s = B(() => e.options.map((t) => typeof t == "string" ? {
14372
14372
  label: t,
14373
14373
  value: t
14374
14374
  } : t)), r = B(() => s.value.find(
14375
- (t) => t.value === a.modelValue
14375
+ (t) => t.value === e.modelValue
14376
14376
  ));
14377
14377
  d2(() => {
14378
- i.id = a.id;
14378
+ i.id = e.id;
14379
14379
  });
14380
14380
  const n = (t) => {
14381
- e("update:modelValue", t);
14381
+ a("update:modelValue", t);
14382
14382
  };
14383
14383
  ke("sharedState", i);
14384
14384
  const l = () => {
14385
- a.disabled || (i.active = !i.active);
14385
+ e.disabled || (i.active = !i.active);
14386
14386
  };
14387
14387
  return (t, u) => {
14388
14388
  const f = H("AVTooltip"), v = H("AVIcon"), p = H("AVDropdownItem"), d = H("AVDropdownContent");
@@ -14455,10 +14455,10 @@ const t_ = /* @__PURE__ */ I(n_, [["__scopeId", "data-v-ff11beb8"]]), l_ = { cla
14455
14455
  const V_ = /* @__PURE__ */ I(z_, [["__scopeId", "data-v-c4ee7609"]]), H_ = ["aria-labelledby"], h_ = /* @__PURE__ */ P({
14456
14456
  __name: "AVDropdownContent",
14457
14457
  setup(c) {
14458
- const e = Te("sharedState"), a = B(() => e.active), i = B(() => e.id);
14458
+ const a = Te("sharedState"), e = B(() => a.active), i = B(() => a.id);
14459
14459
  return (s, r) => (m(), E(U2, { name: "dropdown-content" }, {
14460
14460
  default: O(() => [
14461
- F(a) ? (m(), z("div", {
14461
+ F(e) ? (m(), z("div", {
14462
14462
  key: 0,
14463
14463
  class: "AVDropdownContent",
14464
14464
  "aria-labelledby": F(i)
@@ -14479,13 +14479,13 @@ const M_ = /* @__PURE__ */ I(h_, [["__scopeId", "data-v-e2058f66"]]), C_ = /* @_
14479
14479
  }
14480
14480
  },
14481
14481
  emits: ["onSelected"],
14482
- setup(c, { emit: e }) {
14483
- const a = () => {
14484
- e("onSelected");
14482
+ setup(c, { emit: a }) {
14483
+ const e = () => {
14484
+ a("onSelected");
14485
14485
  };
14486
14486
  return (i, s) => (m(), z("a", {
14487
14487
  class: "AVDropdownItem",
14488
- onClick: a
14488
+ onClick: e
14489
14489
  }, g(c.optionLabel), 1));
14490
14490
  }
14491
14491
  });
@@ -14534,14 +14534,14 @@ const L_ = /* @__PURE__ */ I(C_, [["__scopeId", "data-v-2ca0bff3"]]), g_ = {
14534
14534
  }
14535
14535
  },
14536
14536
  emits: ["dismiss"],
14537
- setup(c, { emit: e }) {
14538
- const a = c, i = () => {
14539
- e("dismiss");
14537
+ setup(c, { emit: a }) {
14538
+ const e = c, i = () => {
14539
+ a("dismiss");
14540
14540
  };
14541
14541
  d2(() => {
14542
- a.timeout && setTimeout(() => {
14542
+ e.timeout && setTimeout(() => {
14543
14543
  i();
14544
- }, Number.parseInt(a.timeout));
14544
+ }, Number.parseInt(e.timeout));
14545
14545
  });
14546
14546
  const s = {
14547
14547
  info: "Information",
@@ -14648,17 +14648,17 @@ const y_ = /* @__PURE__ */ I(A_, [["__scopeId", "data-v-0cc3f6d1"]]), Na = (c) =
14648
14648
  }
14649
14649
  },
14650
14650
  emits: ["update", "fileFormatNotAccepted"],
14651
- setup(c, { emit: e }) {
14652
- const a = c, i = W(!1), s = W(null), r = W([]);
14651
+ setup(c, { emit: a }) {
14652
+ const e = c, i = W(!1), s = W(null), r = W([]);
14653
14653
  d2(() => {
14654
- a.value && (r.value = a.value);
14654
+ e.value && (r.value = e.value);
14655
14655
  });
14656
14656
  const n = () => {
14657
- e("update", r.value);
14657
+ a("update", r.value);
14658
14658
  }, l = () => {
14659
14659
  r.value = [...s.value.files];
14660
14660
  }, t = (L) => {
14661
- L.preventDefault(), !a.disabled && (i.value = !0);
14661
+ L.preventDefault(), !e.disabled && (i.value = !0);
14662
14662
  }, u = () => {
14663
14663
  i.value = !1;
14664
14664
  }, f = (L) => {
@@ -14674,13 +14674,13 @@ const y_ = /* @__PURE__ */ I(A_, [["__scopeId", "data-v-0cc3f6d1"]]), Na = (c) =
14674
14674
  });
14675
14675
  T.items.add(_);
14676
14676
  } else
14677
- e("fileFormatNotAccepted", w.name);
14677
+ a("fileFormatNotAccepted", w.name);
14678
14678
  }
14679
14679
  return T.files;
14680
- }, v = B(() => a.accept.split(",")), p = B(
14680
+ }, v = B(() => e.accept.split(",")), p = B(
14681
14681
  () => v.value.map((L) => L.toLocaleLowerCase())
14682
14682
  ), d = (L) => {
14683
- L.preventDefault(), !a.disabled && (s.value.files = f(L.dataTransfer.files), l(), n(), i.value = !1);
14683
+ L.preventDefault(), !e.disabled && (s.value.files = f(L.dataTransfer.files), l(), n(), i.value = !1);
14684
14684
  }, h = (L) => {
14685
14685
  r.value.splice(L, 1), n();
14686
14686
  }, N = (L) => {
@@ -14802,20 +14802,20 @@ const Q_ = /* @__PURE__ */ I(Y_, [["__scopeId", "data-v-4aae121d"]]), X_ = (c) =
14802
14802
  }
14803
14803
  },
14804
14804
  emits: ["update"],
14805
- setup(c, { emit: e }) {
14806
- const a = c, i = W(!1);
14805
+ setup(c, { emit: a }) {
14806
+ const e = c, i = W(!1);
14807
14807
  d2(() => {
14808
- a.checked && (i.value = a.checked);
14808
+ e.checked && (i.value = e.checked);
14809
14809
  });
14810
14810
  const s = () => {
14811
14811
  i.value = !i.value, r();
14812
14812
  }, r = () => {
14813
- e("update", a.value, i.value);
14813
+ a("update", e.value, i.value);
14814
14814
  };
14815
14815
  return c2(
14816
- () => a.checked,
14816
+ () => e.checked,
14817
14817
  () => {
14818
- i.value = a.checked;
14818
+ i.value = e.checked;
14819
14819
  }
14820
14820
  ), (n, l) => (m(), z("label", {
14821
14821
  for: c.id,
@@ -14892,7 +14892,7 @@ const aP = /* @__PURE__ */ I(cP, [["__scopeId", "data-v-d8e45fa7"]]), eP = ["hre
14892
14892
  }
14893
14893
  },
14894
14894
  setup(c) {
14895
- return (e, a) => {
14895
+ return (a, e) => {
14896
14896
  const i = H("AVIcon");
14897
14897
  return m(), z("a", {
14898
14898
  href: c.href,
@@ -14954,9 +14954,9 @@ const sP = /* @__PURE__ */ I(iP, [["__scopeId", "data-v-999075bc"]]), rP = ["hre
14954
14954
  }
14955
14955
  },
14956
14956
  emits: ["onClick"],
14957
- setup(c, { emit: e }) {
14958
- const a = c, i = B(() => a.href ? "link" : "button"), s = B(() => a.disabled ? null : a.href), r = () => {
14959
- e("onClick", a.reference);
14957
+ setup(c, { emit: a }) {
14958
+ const e = c, i = B(() => e.href ? "link" : "button"), s = B(() => e.disabled ? null : e.href), r = () => {
14959
+ a("onClick", e.reference);
14960
14960
  };
14961
14961
  return (n, l) => {
14962
14962
  const t = H("AVIcon");
@@ -15040,13 +15040,13 @@ const fP = /* @__PURE__ */ I(oP, [["__scopeId", "data-v-d205c709"]]), uP = ["hre
15040
15040
  }
15041
15041
  },
15042
15042
  emits: ["onClick"],
15043
- setup(c, { emit: e }) {
15044
- const a = c, i = W(!1), s = B(() => a.href ? "link" : "button"), r = B(() => a.disabled ? null : a.href), n = B(() => a.type === "step" ? "number" : "icon"), l = B(
15045
- () => a.type === "step" ? a.stepIndex : a.icon
15043
+ setup(c, { emit: a }) {
15044
+ const e = c, i = W(!1), s = B(() => e.href ? "link" : "button"), r = B(() => e.disabled ? null : e.href), n = B(() => e.type === "step" ? "number" : "icon"), l = B(
15045
+ () => e.type === "step" ? e.stepIndex : e.icon
15046
15046
  ), t = () => {
15047
- a.disabled || (i.value = !i.value);
15047
+ e.disabled || (i.value = !i.value);
15048
15048
  }, u = () => {
15049
- e("onClick", a.reference);
15049
+ a("onClick", e.reference);
15050
15050
  };
15051
15051
  return (f, v) => F(s) === "link" ? (m(), z("a", {
15052
15052
  key: 0,
@@ -15115,7 +15115,7 @@ const zP = /* @__PURE__ */ I(pP, [["__scopeId", "data-v-835677d9"]]), VP = {
15115
15115
  }
15116
15116
  },
15117
15117
  setup(c) {
15118
- return (e, a) => {
15118
+ return (a, e) => {
15119
15119
  const i = H("AVIcon"), s = H("popper-tooltip");
15120
15120
  return m(), E(s, {
15121
15121
  hover: "",
@@ -15160,17 +15160,17 @@ const MP = /* @__PURE__ */ I(hP, [["__scopeId", "data-v-e5e56489"]]), CP = { cla
15160
15160
  }
15161
15161
  },
15162
15162
  setup(c) {
15163
- const e = c, a = Se({
15163
+ const a = c, e = Se({
15164
15164
  active: !1,
15165
15165
  id: null
15166
15166
  });
15167
15167
  d2(() => {
15168
- a.id = e.id;
15168
+ e.id = a.id;
15169
15169
  });
15170
15170
  const i = () => {
15171
- a.active = !a.active;
15171
+ e.active = !e.active;
15172
15172
  };
15173
- return ke("sharedState", a), (s, r) => {
15173
+ return ke("sharedState", e), (s, r) => {
15174
15174
  const n = H("AVIcon"), l = H("AVMenuDropdownItem"), t = H("AVMenuDropdownContent");
15175
15175
  return m(), z("div", CP, [
15176
15176
  o("button", {
@@ -15178,12 +15178,12 @@ const MP = /* @__PURE__ */ I(hP, [["__scopeId", "data-v-e5e56489"]]), CP = { cla
15178
15178
  onClick: i,
15179
15179
  id: c.id,
15180
15180
  "aria-haspopup": "true",
15181
- "aria-expanded": a.active,
15181
+ "aria-expanded": e.active,
15182
15182
  "data-toggle": "dropdown",
15183
15183
  type: "button",
15184
15184
  "aria-label": c.ariaLabel
15185
15185
  }, [
15186
- a.active ? (m(), E(n, {
15186
+ e.active ? (m(), E(n, {
15187
15187
  key: 1,
15188
15188
  icon: "fa-solid fa-xmark",
15189
15189
  class: "AVMenuDropdown--icon",
@@ -15215,10 +15215,10 @@ const MP = /* @__PURE__ */ I(hP, [["__scopeId", "data-v-e5e56489"]]), CP = { cla
15215
15215
  const bP = /* @__PURE__ */ I(gP, [["__scopeId", "data-v-9cd08151"]]), xP = ["aria-labelledby"], NP = /* @__PURE__ */ P({
15216
15216
  __name: "AVMenuDropdownContent",
15217
15217
  setup(c) {
15218
- const e = Te("sharedState"), a = B(() => e.active), i = B(() => e.id);
15218
+ const a = Te("sharedState"), e = B(() => a.active), i = B(() => a.id);
15219
15219
  return (s, r) => (m(), E(U2, { name: "dropdown-content" }, {
15220
15220
  default: O(() => [
15221
- F(a) ? (m(), z("div", {
15221
+ F(e) ? (m(), z("div", {
15222
15222
  key: 0,
15223
15223
  class: "AVMenuDropdownContent",
15224
15224
  "aria-labelledby": F(i)
@@ -15251,7 +15251,7 @@ const AP = /* @__PURE__ */ I(NP, [["__scopeId", "data-v-e8fb623b"]]), yP = ["hre
15251
15251
  }
15252
15252
  },
15253
15253
  setup(c) {
15254
- return (e, a) => {
15254
+ return (a, e) => {
15255
15255
  const i = H("AVIcon");
15256
15256
  return m(), z("a", {
15257
15257
  class: k(`AVMenuDropdownItem ${c.destructive && "AVMenuDropdownItem--destructive"}`),
@@ -15280,11 +15280,6 @@ const SP = /* @__PURE__ */ I(wP, [["__scopeId", "data-v-f770cea1"]]), kP = ["dis
15280
15280
  validate: (c) => ["small", "regular", "large"].includes(c),
15281
15281
  default: "regular"
15282
15282
  },
15283
- status: {
15284
- type: String,
15285
- validate: (c) => ["default", "waiting", "success", "error"].includes(c),
15286
- default: "default"
15287
- },
15288
15283
  initialIcon: {
15289
15284
  type: String,
15290
15285
  default: "floppy-disk"
@@ -15305,24 +15300,50 @@ const SP = /* @__PURE__ */ I(wP, [["__scopeId", "data-v-f770cea1"]]), kP = ["dis
15305
15300
  customWidth: {
15306
15301
  type: Number,
15307
15302
  default: 200
15303
+ },
15304
+ waitTime: {
15305
+ type: Number,
15306
+ default: 0
15307
+ },
15308
+ onClick: {
15309
+ type: Function,
15310
+ required: !0
15311
+ },
15312
+ retryTimeout: {
15313
+ type: Number,
15314
+ default: 2e3
15315
+ },
15316
+ successTimeout: {
15317
+ type: Number,
15318
+ default: null
15308
15319
  }
15309
15320
  },
15310
- emits: ["onClick"],
15311
- setup(c, { emit: e }) {
15312
- const a = c, i = B(() => a.status === "success" ? a.successIcon : a.status === "error" ? a.errorIcon : a.initialIcon), s = B(() => a.status !== "default"), r = () => {
15313
- a.status === "default" && e("onClick");
15321
+ setup(c) {
15322
+ const a = c, e = W("default"), i = B(() => e.value === "success" ? a.successIcon : e.value === "error" ? a.errorIcon : a.initialIcon), s = B(() => !(e.value === "default" && !a.disabled)), r = async (n) => {
15323
+ e.value = "waiting", await new Promise((l) => setTimeout(l, a.waitTime));
15324
+ try {
15325
+ await Promise.resolve(a.onClick(n));
15326
+ } catch (l) {
15327
+ e.value = "error", console.log(l), setTimeout(() => {
15328
+ e.value = "default";
15329
+ }, a.retryTimeout);
15330
+ } finally {
15331
+ e.value = "success", a.successTimeout && setTimeout(() => {
15332
+ e.value = "default";
15333
+ }, a.successTimeout);
15334
+ }
15314
15335
  };
15315
15336
  return (n, l) => {
15316
15337
  const t = H("AVSpinner"), u = H("AVIcon");
15317
15338
  return m(), z("button", {
15318
15339
  type: "button",
15319
- class: k(`AVAsyncButton AVAsyncButton--${c.size} AVAsyncButton--${c.status} ${c.disabled && "AVAsyncButton--disabled"}`),
15340
+ class: k(`AVAsyncButton AVAsyncButton--${c.size} AVAsyncButton--${e.value} ${c.disabled && "AVAsyncButton--disabled"}`),
15320
15341
  style: p2(`width: ${c.customWidth}px;`),
15321
15342
  "data-test": "btn",
15322
15343
  onClick: r,
15323
- disabled: F(s) || c.disabled
15344
+ disabled: F(s)
15324
15345
  }, [
15325
- c.status === "waiting" ? (m(), E(t, {
15346
+ e.value === "waiting" ? (m(), E(t, {
15326
15347
  key: 0,
15327
15348
  color: "light",
15328
15349
  "data-test": "btn-spinner"
@@ -15340,7 +15361,7 @@ const SP = /* @__PURE__ */ I(wP, [["__scopeId", "data-v-f770cea1"]]), kP = ["dis
15340
15361
  };
15341
15362
  }
15342
15363
  });
15343
- const IP = /* @__PURE__ */ I(DP, [["__scopeId", "data-v-2f7835e1"]]), _P = { class: "AVTabSwitcher" }, PP = ["disabled", "onClick"], BP = /* @__PURE__ */ P({
15364
+ const IP = /* @__PURE__ */ I(DP, [["__scopeId", "data-v-83aeea15"]]), _P = { class: "AVTabSwitcher" }, PP = ["disabled", "onClick"], BP = /* @__PURE__ */ P({
15344
15365
  __name: "AVTabSwitcher",
15345
15366
  props: {
15346
15367
  options: {
@@ -15359,21 +15380,21 @@ const IP = /* @__PURE__ */ I(DP, [["__scopeId", "data-v-2f7835e1"]]), _P = { cla
15359
15380
  }
15360
15381
  },
15361
15382
  emits: ["update"],
15362
- setup(c, { emit: e }) {
15363
- const a = c, i = W([]), s = W(""), r = B(() => a.options.length === 2 ? "AVTabSwitcher--double" : "AVTabSwitcher--triple");
15383
+ setup(c, { emit: a }) {
15384
+ const e = c, i = W([]), s = W(""), r = B(() => e.options.length === 2 ? "AVTabSwitcher--double" : "AVTabSwitcher--triple");
15364
15385
  d2(() => n());
15365
15386
  const n = () => {
15366
- i.value = [], a.options.map(
15387
+ i.value = [], e.options.map(
15367
15388
  (v) => i.value.push({ value: v, selected: !1 })
15368
- ), a.selected ? l(a.selected) : i.value[0].selected = !0, a.disabled && t();
15389
+ ), e.selected ? l(e.selected) : i.value[0].selected = !0, e.disabled && t();
15369
15390
  }, l = (v) => {
15370
15391
  i.value.map((p) => {
15371
15392
  p.value === v ? (p.selected = !0, s.value = p.value) : p.selected = !1;
15372
15393
  });
15373
15394
  }, t = () => {
15374
- if (i.value.map((v) => v.disabled = !1), a.disabled)
15395
+ if (i.value.map((v) => v.disabled = !1), e.disabled)
15375
15396
  i.value.map((v) => {
15376
- a.disabled.map(
15397
+ e.disabled.map(
15377
15398
  (p) => p === v.value ? v.disabled = !0 : v
15378
15399
  );
15379
15400
  });
@@ -15382,18 +15403,18 @@ const IP = /* @__PURE__ */ I(DP, [["__scopeId", "data-v-2f7835e1"]]), _P = { cla
15382
15403
  }, u = (v) => {
15383
15404
  l(v), f();
15384
15405
  }, f = () => {
15385
- e("update", s.value, i.value);
15406
+ a("update", s.value, i.value);
15386
15407
  };
15387
15408
  return c2(
15388
- () => a.options,
15409
+ () => e.options,
15389
15410
  () => n()
15390
15411
  ), c2(
15391
- () => a.selected,
15412
+ () => e.selected,
15392
15413
  () => {
15393
- s.value = a.selected, l(a.selected);
15414
+ s.value = e.selected, l(e.selected);
15394
15415
  }
15395
15416
  ), c2(
15396
- () => a.disabled,
15417
+ () => e.disabled,
15397
15418
  () => t()
15398
15419
  ), (v, p) => (m(), z("div", _P, [
15399
15420
  (m(!0), z(a2, null, N2(i.value, (d) => (m(), z("button", {
@@ -15430,22 +15451,22 @@ const EP = /* @__PURE__ */ I(BP, [["__scopeId", "data-v-413f60c7"]]), jP = { cla
15430
15451
  }
15431
15452
  },
15432
15453
  setup(c) {
15433
- const e = c, a = B(() => e.currentBallots >= e.minimumBallots), i = B(() => e.minimumBallots - e.currentBallots);
15454
+ const a = c, e = B(() => a.currentBallots >= a.minimumBallots), i = B(() => a.minimumBallots - a.currentBallots);
15434
15455
  return (s, r) => {
15435
15456
  const n = H("AVIcon"), l = H("AVSpinner");
15436
15457
  return m(), z("div", jP, [
15437
15458
  o("div", FP, [
15438
15459
  V(n, {
15439
- icon: `fa-solid fa-${F(a) ? "file-circle-check" : "file-circle-minus"}`,
15440
- class: k(`AVBallotSummary--icon ${F(a) && "AVBallotSummary--icon-ready"}`),
15460
+ icon: `fa-solid fa-${F(e) ? "file-circle-check" : "file-circle-minus"}`,
15461
+ class: k(`AVBallotSummary--icon ${F(e) && "AVBallotSummary--icon-ready"}`),
15441
15462
  "data-test": "ballot-icon"
15442
15463
  }, null, 8, ["icon", "class"]),
15443
15464
  o("span", {
15444
- class: k(`AVBallotSummary--ballot-name ${F(a) && "AVBallotSummary--name-ready"}`)
15465
+ class: k(`AVBallotSummary--ballot-name ${F(e) && "AVBallotSummary--name-ready"}`)
15445
15466
  }, g(c.ballotStyleName), 3)
15446
15467
  ]),
15447
15468
  o("div", OP, [
15448
- F(a) ? (m(), E(n, {
15469
+ F(e) ? (m(), E(n, {
15449
15470
  key: 0,
15450
15471
  icon: "fa-solid fa-circle-check",
15451
15472
  class: "AVBallotSummary--icon AVBallotSummary--icon-ready",
@@ -15456,8 +15477,8 @@ const EP = /* @__PURE__ */ I(BP, [["__scopeId", "data-v-413f60c7"]]), jP = { cla
15456
15477
  "data-test": "ballot-spinner"
15457
15478
  })),
15458
15479
  o("span", {
15459
- class: k(`AVBallotSummary--ballot-status ${F(a) && "AVBallotSummary--status-ready"}`)
15460
- }, g(F(a) ? `${c.currentBallots} ${c.readyLabel}` : `${F(i)} ${c.waitingLabel}`), 3)
15480
+ class: k(`AVBallotSummary--ballot-status ${F(e) && "AVBallotSummary--status-ready"}`)
15481
+ }, g(F(e) ? `${c.currentBallots} ${c.readyLabel}` : `${F(i)} ${c.waitingLabel}`), 3)
15461
15482
  ])
15462
15483
  ]);
15463
15484
  };
@@ -15490,18 +15511,18 @@ const RP = /* @__PURE__ */ I(qP, [["__scopeId", "data-v-607d90fc"]]), UP = {
15490
15511
  }
15491
15512
  },
15492
15513
  emits: ["expired"],
15493
- setup(c, { emit: e }) {
15494
- const a = c;
15514
+ setup(c, { emit: a }) {
15515
+ const e = c;
15495
15516
  d2(() => {
15496
15517
  s();
15497
15518
  });
15498
15519
  const i = W(0), s = () => {
15499
15520
  const f = setInterval(() => {
15500
- i.value = i.value + 1, i.value >= a.timeout && (clearInterval(f), e("expired", !0, a.timeout));
15521
+ i.value = i.value + 1, i.value >= e.timeout && (clearInterval(f), a("expired", !0, e.timeout));
15501
15522
  }, 1e3);
15502
- }, r = B(() => 100 - i.value / a.timeout * 100), n = B(
15503
- () => Math.floor((a.timeout - i.value) / 60)
15504
- ), l = B(() => (a.timeout - i.value) % 60), t = B(() => n.value % 60), u = B(() => l.value < 10 ? `${t.value}:0${l.value}` : `${t.value}:${l.value}`);
15523
+ }, r = B(() => 100 - i.value / e.timeout * 100), n = B(
15524
+ () => Math.floor((e.timeout - i.value) / 60)
15525
+ ), l = B(() => (e.timeout - i.value) % 60), t = B(() => n.value % 60), u = B(() => l.value < 10 ? `${t.value}:0${l.value}` : `${t.value}:${l.value}`);
15505
15526
  return (f, v) => (m(), z(a2, null, [
15506
15527
  o("div", {
15507
15528
  class: "AVTimedCard",
@@ -15549,21 +15570,21 @@ const WP = /* @__PURE__ */ I(GP, [["__scopeId", "data-v-583fff65"]]), YP = (c) =
15549
15570
  }
15550
15571
  },
15551
15572
  setup(c) {
15552
- const e = c, a = (i) => i === e.active;
15573
+ const a = c, e = (i) => i === a.active;
15553
15574
  return (i, s) => (m(), z("div", QP, [
15554
15575
  o("span", {
15555
- class: k(`AVBasicSteps--step ${a(c.steps[0]) && "AVBasicSteps--step-active"}`),
15576
+ class: k(`AVBasicSteps--step ${e(c.steps[0]) && "AVBasicSteps--step-active"}`),
15556
15577
  "data-test": "step"
15557
15578
  }, g(c.steps[0]), 3),
15558
15579
  XP,
15559
15580
  o("span", {
15560
- class: k(`AVBasicSteps--step ${a(c.steps[1]) && "AVBasicSteps--step-active"}`),
15581
+ class: k(`AVBasicSteps--step ${e(c.steps[1]) && "AVBasicSteps--step-active"}`),
15561
15582
  "data-test": "step"
15562
15583
  }, g(c.steps[1]), 3),
15563
15584
  c.steps.length === 3 ? (m(), z("span", ZP)) : y("", !0),
15564
15585
  c.steps.length === 3 ? (m(), z("span", {
15565
15586
  key: 1,
15566
- class: k(`AVBasicSteps--step ${a(c.steps[2]) && "AVBasicSteps--step-active"}`),
15587
+ class: k(`AVBasicSteps--step ${e(c.steps[2]) && "AVBasicSteps--step-active"}`),
15567
15588
  "data-test": "step"
15568
15589
  }, g(c.steps[2]), 3)) : y("", !0)
15569
15590
  ]));
@@ -15589,38 +15610,38 @@ const KP = /* @__PURE__ */ I(JP, [["__scopeId", "data-v-9a6218e9"]]), cB = { cla
15589
15610
  }
15590
15611
  },
15591
15612
  setup(c) {
15592
- const e = c;
15613
+ const a = c;
15593
15614
  ak((n) => ({
15594
15615
  "4d0e1dab": F(r)
15595
15616
  }));
15596
- const a = W([]), i = () => {
15597
- a.value = [], e.steps.map((n) => {
15598
- a.value.push({
15617
+ const e = W([]), i = () => {
15618
+ e.value = [], a.steps.map((n) => {
15619
+ e.value.push({
15599
15620
  value: n,
15600
- active: n === e.active,
15621
+ active: n === a.active,
15601
15622
  done: s(n)
15602
15623
  });
15603
15624
  });
15604
- }, s = (n) => e.done ? e.done.includes(n) : !1;
15625
+ }, s = (n) => a.done ? a.done.includes(n) : !1;
15605
15626
  d2(() => {
15606
15627
  i();
15607
15628
  }), c2(
15608
- () => e.steps,
15629
+ () => a.steps,
15609
15630
  () => i()
15610
15631
  ), c2(
15611
- () => e.active,
15632
+ () => a.active,
15612
15633
  () => i()
15613
15634
  ), c2(
15614
- () => e.done,
15635
+ () => a.done,
15615
15636
  () => i()
15616
15637
  );
15617
- const r = B(() => `${100 / e.steps.length}%`);
15638
+ const r = B(() => `${100 / a.steps.length}%`);
15618
15639
  return (n, l) => {
15619
15640
  const t = H("AVIcon");
15620
15641
  return m(), z("div", cB, [
15621
- (m(!0), z(a2, null, N2(a.value, (u, f) => (m(), z("div", {
15642
+ (m(!0), z(a2, null, N2(e.value, (u, f) => (m(), z("div", {
15622
15643
  key: f,
15623
- class: k(`${a.value.length !== f + 1 ? "AVSteps--step" : "AVSteps--step-last"}`),
15644
+ class: k(`${e.value.length !== f + 1 ? "AVSteps--step" : "AVSteps--step-last"}`),
15624
15645
  "data-test": "step"
15625
15646
  }, [
15626
15647
  u.done ? (m(), z("div", aB, [
@@ -15630,7 +15651,7 @@ const KP = /* @__PURE__ */ I(JP, [["__scopeId", "data-v-9a6218e9"]]), cB = { cla
15630
15651
  })
15631
15652
  ])) : (m(), z("div", {
15632
15653
  key: 1,
15633
- class: k(`AVSteps--step--number-container ${a.value.length !== f + 1 && "AVSteps--step-circle"} ${u.active && "AVSteps--step--number-container-active"}`)
15654
+ class: k(`AVSteps--step--number-container ${e.value.length !== f + 1 && "AVSteps--step-circle"} ${u.active && "AVSteps--step--number-container-active"}`)
15634
15655
  }, g(f + 1), 3)),
15635
15656
  o("span", {
15636
15657
  class: k(`AVSteps--step-label ${u.active && "AVSteps--step-label-active"}`)
@@ -15699,14 +15720,14 @@ const iB = /* @__PURE__ */ I(eB, [["__scopeId", "data-v-563abd56"]]), $S = (c) =
15699
15720
  }
15700
15721
  },
15701
15722
  emits: ["toggled"],
15702
- setup(c, { emit: e }) {
15703
- const a = c, i = () => {
15704
- e("toggled");
15705
- }, s = B(() => a.optionReference ? {
15706
- id: `option_${a.optionReference}_checkbox_${a.checkBoxIndex}`,
15723
+ setup(c, { emit: a }) {
15724
+ const e = c, i = () => {
15725
+ a("toggled");
15726
+ }, s = B(() => e.optionReference ? {
15727
+ id: `option_${e.optionReference}_checkbox_${e.checkBoxIndex}`,
15707
15728
  role: "checkbox",
15708
- "aria-labelledby": `option_${a.optionReference}_title option_${a.optionReference}_tick option_${a.optionReference}_subtitle`,
15709
- "aria-describedby": `option_${a.optionReference}_description option_${a.optionReference}_handle`,
15729
+ "aria-labelledby": `option_${e.optionReference}_title option_${e.optionReference}_tick option_${e.optionReference}_subtitle`,
15730
+ "aria-describedby": `option_${e.optionReference}_description option_${e.optionReference}_handle`,
15710
15731
  tabindex: 0
15711
15732
  } : {});
15712
15733
  return (r, n) => (m(), z("div", sB, [
@@ -15780,8 +15801,8 @@ const vB = /* @__PURE__ */ I(mB, [["__scopeId", "data-v-00bc4e4f"]]), dB = {
15780
15801
  }
15781
15802
  },
15782
15803
  emits: ["toggled"],
15783
- setup(c, { emit: e }) {
15784
- const a = () => e("toggled");
15804
+ setup(c, { emit: a }) {
15805
+ const e = () => a("toggled");
15785
15806
  return (i, s) => {
15786
15807
  const r = H("AVOptionCheckbox"), n = H("AVCard");
15787
15808
  return m(), E(n, {
@@ -15813,7 +15834,7 @@ const vB = /* @__PURE__ */ I(mB, [["__scopeId", "data-v-00bc4e4f"]]), dB = {
15813
15834
  exclusiveError: c.exclusiveError,
15814
15835
  exclusiveLabel: c.exclusiveLabel,
15815
15836
  optionAriaLabel: c.optionAriaLabel,
15816
- onToggled: a
15837
+ onToggled: e
15817
15838
  }, null, 8, ["checked", "rank", "disabled", "exclusiveError", "exclusiveLabel", "optionAriaLabel"])
15818
15839
  ], 2)
15819
15840
  ]),
@@ -15868,15 +15889,15 @@ const CB = /* @__PURE__ */ I(MB, [["__scopeId", "data-v-6a7337ae"]]), LB = { cla
15868
15889
  }
15869
15890
  },
15870
15891
  emits: ["update"],
15871
- setup(c, { emit: e }) {
15872
- const a = c, i = W(""), s = W([]), r = (u) => {
15892
+ setup(c, { emit: a }) {
15893
+ const e = c, i = W(""), s = W([]), r = (u) => {
15873
15894
  s.value.map((f) => {
15874
15895
  f.value === u ? (f.checked = !0, i.value = f.value) : f.checked = !1;
15875
15896
  });
15876
15897
  }, n = () => {
15877
- if (s.value.map((u) => u.disabled = !1), a.disabled)
15898
+ if (s.value.map((u) => u.disabled = !1), e.disabled)
15878
15899
  s.value.map((u) => {
15879
- a.disabled.map(
15900
+ e.disabled.map(
15880
15901
  (f) => f === u.value ? u.disabled = !0 : u
15881
15902
  );
15882
15903
  });
@@ -15884,22 +15905,22 @@ const CB = /* @__PURE__ */ I(MB, [["__scopeId", "data-v-6a7337ae"]]), LB = { cla
15884
15905
  return;
15885
15906
  };
15886
15907
  d2(() => {
15887
- a.options.map(
15908
+ e.options.map(
15888
15909
  (u) => s.value.push({ value: u, checked: !1 })
15889
- ), a.initialValue && r(a.initialValue), a.disabled && n();
15910
+ ), e.initialValue && r(e.initialValue), e.disabled && n();
15890
15911
  });
15891
15912
  const l = (u) => {
15892
15913
  r(u), t();
15893
15914
  }, t = () => {
15894
- e("update", i.value, s.value);
15915
+ a("update", i.value, s.value);
15895
15916
  };
15896
15917
  return c2(
15897
- () => a.initialValue,
15918
+ () => e.initialValue,
15898
15919
  () => {
15899
- i.value = a.initialValue, r(a.initialValue);
15920
+ i.value = e.initialValue, r(e.initialValue);
15900
15921
  }
15901
15922
  ), c2(
15902
- () => a.disabled,
15923
+ () => e.disabled,
15903
15924
  () => {
15904
15925
  n();
15905
15926
  }
@@ -15941,10 +15962,10 @@ const NB = /* @__PURE__ */ I(xB, [["__scopeId", "data-v-74ff59b8"]]), AB = /* @_
15941
15962
  }
15942
15963
  },
15943
15964
  setup(c) {
15944
- return (e, a) => (m(), z("div", {
15965
+ return (a, e) => (m(), z("div", {
15945
15966
  class: k(`AVNavigationItemList AVNavigationItemList--${c.type}`)
15946
15967
  }, [
15947
- X(e.$slots, "default", {}, void 0, !0)
15968
+ X(a.$slots, "default", {}, void 0, !0)
15948
15969
  ], 2));
15949
15970
  }
15950
15971
  });
@@ -15965,7 +15986,7 @@ const yB = /* @__PURE__ */ I(AB, [["__scopeId", "data-v-9fd5c53d"]]), wB = { cla
15965
15986
  }
15966
15987
  },
15967
15988
  setup(c) {
15968
- return (e, a) => {
15989
+ return (a, e) => {
15969
15990
  const i = H("AVIcon");
15970
15991
  return m(), z("div", wB, [
15971
15992
  o("a", { href: c.buttonHref }, [
@@ -16053,12 +16074,12 @@ const DB = /* @__PURE__ */ I(TB, [["__scopeId", "data-v-71e09fe3"]]), IB = ["hre
16053
16074
  }
16054
16075
  },
16055
16076
  setup(c) {
16056
- const e = c, a = {
16077
+ const a = c, e = {
16057
16078
  draft: "info",
16058
16079
  open: "success",
16059
16080
  closed: "danger",
16060
16081
  archived: "default"
16061
- }, i = B(() => a[e.status]);
16082
+ }, i = B(() => e[a.status]);
16062
16083
  return (s, r) => {
16063
16084
  const n = H("AVLabel"), l = H("AVIcon"), t = H("AVCard");
16064
16085
  return m(), z("a", {
@@ -16158,7 +16179,7 @@ const ZB = /* @__PURE__ */ I(XB, [["__scopeId", "data-v-dd72671e"]]), JB = ["hre
16158
16179
  }
16159
16180
  },
16160
16181
  setup(c) {
16161
- return (e, a) => {
16182
+ return (a, e) => {
16162
16183
  const i = H("AVIcon"), s = H("AVCard");
16163
16184
  return m(), z("a", {
16164
16185
  href: c.href,
@@ -16212,7 +16233,7 @@ const nE = /* @__PURE__ */ I(rE, [["__scopeId", "data-v-c682a2cf"]]), tE = "data
16212
16233
  }
16213
16234
  },
16214
16235
  setup(c) {
16215
- return (e, a) => {
16236
+ return (a, e) => {
16216
16237
  const i = H("AVSteps");
16217
16238
  return m(), z("footer", {
16218
16239
  class: k(`AVFooter ${c.enableSteps && "AVFooter--stacked"}`)
@@ -16240,14 +16261,14 @@ const nE = /* @__PURE__ */ I(rE, [["__scopeId", "data-v-c682a2cf"]]), tE = "data
16240
16261
  });
16241
16262
  const mE = /* @__PURE__ */ I(uE, [["__scopeId", "data-v-d2815d64"]]);
16242
16263
  var vE = {}, dE = { class: "AVSidebar" };
16243
- function pE(c, e) {
16264
+ function pE(c, a) {
16244
16265
  return m(), z("nav", dE, [
16245
16266
  X(c.$slots, "default", {}, void 0, !0)
16246
16267
  ]);
16247
16268
  }
16248
16269
  const zE = /* @__PURE__ */ I(vE, [["render", pE], ["__scopeId", "data-v-65e0965f"]]);
16249
16270
  var VE = {}, HE = { class: "AVNavbar" };
16250
- function hE(c, e) {
16271
+ function hE(c, a) {
16251
16272
  return m(), z("nav", HE, [
16252
16273
  X(c.$slots, "default", {}, void 0, !0)
16253
16274
  ]);
@@ -16260,7 +16281,7 @@ var CE = {}, LE = { class: "AVContent" }, gE = {
16260
16281
  class: "AVContent--container",
16261
16282
  "data-test": "container"
16262
16283
  };
16263
- function xE(c, e) {
16284
+ function xE(c, a) {
16264
16285
  return m(), z("main", LE, [
16265
16286
  o("div", gE, [
16266
16287
  X(c.$slots, "sidebar", {}, void 0, !0)
@@ -16283,13 +16304,13 @@ const NE = /* @__PURE__ */ I(CE, [["render", xE], ["__scopeId", "data-v-1923eca8
16283
16304
  }
16284
16305
  },
16285
16306
  setup(c) {
16286
- const e = c;
16307
+ const a = c;
16287
16308
  return c2(
16288
- () => e.modalActive,
16309
+ () => a.modalActive,
16289
16310
  () => {
16290
- e.modalActive && (document.body.style.overflowY = "hidden"), e.modalActive || (document.body.style.overflowY = "scroll");
16311
+ a.modalActive && (document.body.style.overflowY = "hidden"), a.modalActive || (document.body.style.overflowY = "scroll");
16291
16312
  }
16292
- ), (a, i) => (m(), E(U2, { name: "modal-animation" }, {
16313
+ ), (e, i) => (m(), E(U2, { name: "modal-animation" }, {
16293
16314
  default: O(() => [
16294
16315
  v1(o("div", {
16295
16316
  class: "AVModal",
@@ -16301,7 +16322,7 @@ const NE = /* @__PURE__ */ I(CE, [["render", xE], ["__scopeId", "data-v-1923eca8
16301
16322
  V(U2, { name: "modal-animation-inner" }, {
16302
16323
  default: O(() => [
16303
16324
  v1(o("div", yE, [
16304
- X(a.$slots, "default", {}, void 0, !0)
16325
+ X(e.$slots, "default", {}, void 0, !0)
16305
16326
  ], 512), [
16306
16327
  [d1, c.modalActive]
16307
16328
  ])
@@ -16350,8 +16371,8 @@ var kE = {}, TE = /* @__PURE__ */ o("a", { href: "#" }, "LOGO", -1), DE = { clas
16350
16371
  /* @__PURE__ */ o("br"),
16351
16372
  /* @__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. ")
16352
16373
  ], -1);
16353
- function BE(c, e) {
16354
- var a = H("AVNavbarItem"), i = H("AVNavigationItemList"), s = H("AVMenuDropdown"), r = H("AVNavbar"), n = H("AVLabel"), l = H("AVTabSwitcher"), t = H("AVSidebarItem"), u = H("AVButton"), f = H("AVSidebar"), v = H("AVContent"), p = H("AVFooter");
16374
+ function BE(c, a) {
16375
+ var e = H("AVNavbarItem"), i = H("AVNavigationItemList"), s = H("AVMenuDropdown"), r = H("AVNavbar"), n = H("AVLabel"), l = H("AVTabSwitcher"), t = H("AVSidebarItem"), u = H("AVButton"), f = H("AVSidebar"), v = H("AVContent"), p = H("AVFooter");
16355
16376
  return m(), z(a2, null, [
16356
16377
  V(r, null, {
16357
16378
  default: O(function() {
@@ -16361,12 +16382,12 @@ function BE(c, e) {
16361
16382
  V(i, { type: "navbar" }, {
16362
16383
  default: O(function() {
16363
16384
  return [
16364
- V(a, {
16385
+ V(e, {
16365
16386
  label: "Dashboard",
16366
16387
  icon: "check-to-slot",
16367
16388
  href: "#"
16368
16389
  }),
16369
- V(a, {
16390
+ V(e, {
16370
16391
  label: "Admins",
16371
16392
  icon: "user-shield",
16372
16393
  href: "#"
@@ -16546,8 +16567,8 @@ var jE = {}, FE = /* @__PURE__ */ o("a", { href: "#" }, "LOGO", -1), OE = { clas
16546
16567
  /* @__PURE__ */ o("br"),
16547
16568
  /* @__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. ")
16548
16569
  ], -1);
16549
- function GE(c, e) {
16550
- var a = H("AVNavbarItem"), i = H("AVNavigationItemList"), s = H("AVMenuDropdown"), r = H("AVNavbar"), n = H("AVLabel"), l = H("AVTabSwitcher"), t = H("AVSidebarItem"), u = H("AVButton"), f = H("AVSidebar"), v = H("AVContent"), p = H("AVFooter");
16570
+ function GE(c, a) {
16571
+ var e = H("AVNavbarItem"), i = H("AVNavigationItemList"), s = H("AVMenuDropdown"), r = H("AVNavbar"), n = H("AVLabel"), l = H("AVTabSwitcher"), t = H("AVSidebarItem"), u = H("AVButton"), f = H("AVSidebar"), v = H("AVContent"), p = H("AVFooter");
16551
16572
  return m(), z(a2, null, [
16552
16573
  V(r, null, {
16553
16574
  default: O(function() {
@@ -16557,12 +16578,12 @@ function GE(c, e) {
16557
16578
  V(i, { type: "navbar" }, {
16558
16579
  default: O(function() {
16559
16580
  return [
16560
- V(a, {
16581
+ V(e, {
16561
16582
  label: "Dashboard",
16562
16583
  icon: "check-to-slot",
16563
16584
  href: "#"
16564
16585
  }),
16565
- V(a, {
16586
+ V(e, {
16566
16587
  label: "Admins",
16567
16588
  icon: "user-shield",
16568
16589
  href: "#"
@@ -16683,8 +16704,8 @@ var YE = {}, QE = /* @__PURE__ */ o("a", { href: "#" }, "LOGO", -1), XE = { clas
16683
16704
  /* @__PURE__ */ o("br"),
16684
16705
  /* @__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. ")
16685
16706
  ], -1);
16686
- function JE(c, e) {
16687
- var a = H("AVNavbarItem"), i = H("AVNavigationItemList"), s = H("AVMenuDropdown"), r = H("AVNavbar"), n = H("AVContent"), l = H("AVFooter");
16707
+ function JE(c, a) {
16708
+ var e = H("AVNavbarItem"), i = H("AVNavigationItemList"), s = H("AVMenuDropdown"), r = H("AVNavbar"), n = H("AVContent"), l = H("AVFooter");
16688
16709
  return m(), z(a2, null, [
16689
16710
  V(r, null, {
16690
16711
  default: O(function() {
@@ -16694,12 +16715,12 @@ function JE(c, e) {
16694
16715
  V(i, { type: "navbar" }, {
16695
16716
  default: O(function() {
16696
16717
  return [
16697
- V(a, {
16718
+ V(e, {
16698
16719
  label: "Dashboard",
16699
16720
  icon: "check-to-slot",
16700
16721
  href: "#"
16701
16722
  }),
16702
- V(a, {
16723
+ V(e, {
16703
16724
  label: "Admins",
16704
16725
  icon: "user-shield",
16705
16726
  href: "#"
@@ -16766,7 +16787,7 @@ const KE = /* @__PURE__ */ I(YE, [["render", JE]]), f4 = (c) => (X2("data-v-20fc
16766
16787
  }, "Once you create new elections you will see them displayed in this dashboard.", -1)), lj = /* @__PURE__ */ P({
16767
16788
  __name: "ElectionDashboardLayout",
16768
16789
  setup(c) {
16769
- const e = [
16790
+ const a = [
16770
16791
  {
16771
16792
  id: "DV-1",
16772
16793
  name: "General Election 1",
@@ -16816,7 +16837,7 @@ const KE = /* @__PURE__ */ I(YE, [["render", JE]]), f4 = (c) => (X2("data-v-20fc
16816
16837
  href: "#"
16817
16838
  }
16818
16839
  ];
16819
- return (a, i) => {
16840
+ return (e, i) => {
16820
16841
  const s = H("AVNavbarItem"), r = H("AVNavigationItemList"), n = H("AVMenuDropdown"), l = H("AVNavbar"), t = H("AVIcon"), u = H("AVCard"), f = H("AVElectionCard"), v = H("AVContent"), p = H("AVFooter");
16821
16842
  return m(), z(a2, null, [
16822
16843
  V(l, null, {
@@ -16880,7 +16901,7 @@ const KE = /* @__PURE__ */ I(YE, [["render", JE]]), f4 = (c) => (X2("data-v-20fc
16880
16901
  _: 1
16881
16902
  })
16882
16903
  ]),
16883
- e.length === 0 ? (m(), z("div", rj, [
16904
+ a.length === 0 ? (m(), z("div", rj, [
16884
16905
  V(t, {
16885
16906
  icon: "fa-solid fa-folder-open",
16886
16907
  class: "no-elections-icon"
@@ -16888,7 +16909,7 @@ const KE = /* @__PURE__ */ I(YE, [["render", JE]]), f4 = (c) => (X2("data-v-20fc
16888
16909
  nj,
16889
16910
  tj
16890
16911
  ])) : y("", !0),
16891
- (m(), z(a2, null, N2(e, (d) => V(f, {
16912
+ (m(), z(a2, null, N2(a, (d) => V(f, {
16892
16913
  key: d.id,
16893
16914
  id: d.id,
16894
16915
  name: d.name,