@alma/widgets 4.0.11 → 4.0.12

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/widgets.js CHANGED
@@ -103,27 +103,27 @@ const io = 800, gr = (e) => (e == null ? void 0 : e.installments_count) === 1 &&
103
103
  }, c.prototype.remove = function() {
104
104
  for (var g = 0, v = arguments.length, b = "", _ = this[" uCL"], x = _[" uCLp"]; g !== v; ++g) {
105
105
  b = `${arguments[g]}`, a("remove", b);
106
- for (var E = 0, N = x.length, y = "", M = 0; E !== N; ++E)
107
- M ? this[E - 1] = this[E] : this[E] !== b ? y += `${this[E]} ` : M = 1;
108
- M && (delete this[N], x.length -= 1, x.value = y);
106
+ for (var E = 0, N = x.length, y = "", w = 0; E !== N; ++E)
107
+ w ? this[E - 1] = this[E] : this[E] !== b ? y += `${this[E]} ` : w = 1;
108
+ w && (delete this[N], x.length -= 1, x.value = y);
109
109
  }
110
110
  m = 1, _.className = x.value, m = 0;
111
111
  }, r.DOMTokenList = c;
112
112
  function d() {
113
113
  const g = r.event, v = g.propertyName;
114
114
  if (!m && (v === "className" || v === "classList" && !l)) {
115
- const E = g.srcElement, N = E[" uCLp"], y = `${E[v]}`, M = y.trim().split(t), z = E[v === "classList" ? " uCL" : "classList"], ge = N.length;
116
- e: for (var b = 0, _ = N.length = M.length, x = 0; b !== _; ++b) {
115
+ const E = g.srcElement, N = E[" uCLp"], y = `${E[v]}`, w = y.trim().split(t), z = E[v === "classList" ? " uCL" : "classList"], ge = N.length;
116
+ e: for (var b = 0, _ = N.length = w.length, x = 0; b !== _; ++b) {
117
117
  for (let F = 0; F !== b; ++F)
118
- if (M[F] === M[b]) {
118
+ if (w[F] === w[b]) {
119
119
  x++;
120
120
  continue e;
121
121
  }
122
- z[b - x] = M[b];
122
+ z[b - x] = w[b];
123
123
  }
124
124
  for (let F = _ - x; F < ge; ++F) delete z[F];
125
125
  if (v !== "classList") return;
126
- m = 1, E.classList = z, E.className = y, m = 0, z.length = M.length - x;
126
+ m = 1, E.classList = z, E.className = y, m = 0, z.length = w.length - x;
127
127
  }
128
128
  }
129
129
  function p(g) {
@@ -138,8 +138,8 @@ const io = 800, gr = (e) => (e == null ? void 0 : e.installments_count) === 1 &&
138
138
  }
139
139
  const b = v.prototype, _ = new v();
140
140
  e: for (var x = g.className.trim().split(t), E = 0, N = x.length, y = 0; E !== N; ++E) {
141
- for (let M = 0; M !== E; ++M)
142
- if (x[M] === x[E]) {
141
+ for (let w = 0; w !== E; ++w)
142
+ if (x[w] === x[E]) {
143
143
  y++;
144
144
  continue e;
145
145
  }
@@ -152,9 +152,9 @@ const io = 800, gr = (e) => (e == null ? void 0 : e.installments_count) === 1 &&
152
152
  return _;
153
153
  },
154
154
  configurable: 0,
155
- set(M) {
156
- m = 1, g.className = b.value = M += "", m = 0;
157
- const z = M.trim().split(t), ge = b.length;
155
+ set(w) {
156
+ m = 1, g.className = b.value = w += "", m = 0;
157
+ const z = w.trim().split(t), ge = b.length;
158
158
  e: for (var F = 0, ee = b.length = z.length, Y = 0; F !== ee; ++F) {
159
159
  for (let U = 0; U !== F; ++U)
160
160
  if (z[U] === z[F]) {
@@ -244,7 +244,7 @@ const io = 800, gr = (e) => (e == null ? void 0 : e.installments_count) === 1 &&
244
244
  });
245
245
  }(e.DOMTokenList.prototype, e.document.createElement("div").classList);
246
246
  })(window);
247
- var xt, w, yr, ze, ca, _r, vr, br, Pn, mn, fn, Er, ht = {}, xr = [], oo = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Ct = Array.isArray;
247
+ var xt, M, yr, ze, ca, _r, vr, br, Pn, mn, fn, Er, ht = {}, xr = [], oo = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Ct = Array.isArray;
248
248
  function Ie(e, t) {
249
249
  for (var n in t) e[n] = t[n];
250
250
  return e;
@@ -260,7 +260,7 @@ function de(e, t, n) {
260
260
  }
261
261
  function ct(e, t, n, a, r) {
262
262
  var i = { type: e, props: t, key: n, ref: a, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: r == null ? ++yr : r, __i: -1, __u: 0 };
263
- return r == null && w.vnode != null && w.vnode(i), i;
263
+ return r == null && M.vnode != null && M.vnode(i), i;
264
264
  }
265
265
  function Cr() {
266
266
  return { current: null };
@@ -287,10 +287,10 @@ function Sr(e) {
287
287
  }
288
288
  }
289
289
  function dn(e) {
290
- (!e.__d && (e.__d = !0) && ze.push(e) && !Wt.__r++ || ca != w.debounceRendering) && ((ca = w.debounceRendering) || _r)(Wt);
290
+ (!e.__d && (e.__d = !0) && ze.push(e) && !Wt.__r++ || ca != M.debounceRendering) && ((ca = M.debounceRendering) || _r)(Wt);
291
291
  }
292
292
  function Wt() {
293
- for (var e, t, n, a, r, i, o, s = 1; ze.length; ) ze.length > s && ze.sort(vr), e = ze.shift(), s = ze.length, e.__d && (n = void 0, r = (a = (t = e).__v).__e, i = [], o = [], t.__P && ((n = Ie({}, a)).__v = a.__v + 1, w.vnode && w.vnode(n), Ln(t.__P, n, a, t.__n, t.__P.namespaceURI, 32 & a.__u ? [r] : null, i, r == null ? et(a) : r, !!(32 & a.__u), o), n.__v = a.__v, n.__.__k[n.__i] = n, Ir(i, n, o), n.__e != r && Sr(n)));
293
+ for (var e, t, n, a, r, i, o, s = 1; ze.length; ) ze.length > s && ze.sort(vr), e = ze.shift(), s = ze.length, e.__d && (n = void 0, r = (a = (t = e).__v).__e, i = [], o = [], t.__P && ((n = Ie({}, a)).__v = a.__v + 1, M.vnode && M.vnode(n), Ln(t.__P, n, a, t.__n, t.__P.namespaceURI, 32 & a.__u ? [r] : null, i, r == null ? et(a) : r, !!(32 & a.__u), o), n.__v = a.__v, n.__.__k[n.__i] = n, Ir(i, n, o), n.__e != r && Sr(n)));
294
294
  Wt.__r = 0;
295
295
  }
296
296
  function Ar(e, t, n, a, r, i, o, s, l, u, m) {
@@ -301,7 +301,7 @@ function Ar(e, t, n, a, r, i, o, s, l, u, m) {
301
301
  function so(e, t, n, a, r) {
302
302
  var i, o, s, l, u, m = n.length, c = m, d = 0;
303
303
  for (e.__k = new Array(r), i = 0; i < r; i++) (o = t[i]) != null && typeof o != "boolean" && typeof o != "function" ? (l = i + d, (o = e.__k[i] = typeof o == "string" || typeof o == "number" || typeof o == "bigint" || o.constructor == String ? ct(null, o, null, null, null) : Ct(o) ? ct(pe, { children: o }, null, null, null) : o.constructor == null && o.__b > 0 ? ct(o.type, o.props, o.key, o.ref ? o.ref : null, o.__v) : o).__ = e, o.__b = e.__b + 1, s = null, (u = o.__i = lo(o, n, l, c)) != -1 && (c--, (s = n[u]) && (s.__u |= 2)), s == null || s.__v == null ? (u == -1 && (r > m ? d-- : r < m && d++), typeof o.type != "function" && (o.__u |= 4)) : u != l && (u == l - 1 ? d-- : u == l + 1 ? d++ : (u > l ? d-- : d++, o.__u |= 4))) : e.__k[i] = null;
304
- if (c) for (i = 0; i < m; i++) (s = n[i]) != null && !(2 & s.__u) && (s.__e == a && (a = et(s)), wr(s, s));
304
+ if (c) for (i = 0; i < m; i++) (s = n[i]) != null && !(2 & s.__u) && (s.__e == a && (a = et(s)), Mr(s, s));
305
305
  return a;
306
306
  }
307
307
  function Tr(e, t, n) {
@@ -363,14 +363,14 @@ function fa(e) {
363
363
  var n = this.l[t.type + e];
364
364
  if (t.t == null) t.t = Pn++;
365
365
  else if (t.t < n.u) return;
366
- return n(w.event ? w.event(t) : t);
366
+ return n(M.event ? M.event(t) : t);
367
367
  }
368
368
  };
369
369
  }
370
370
  function Ln(e, t, n, a, r, i, o, s, l, u) {
371
- var m, c, d, p, g, v, b, _, x, E, N, y, M, z, ge, F, ee, Y = t.type;
371
+ var m, c, d, p, g, v, b, _, x, E, N, y, w, z, ge, F, ee, Y = t.type;
372
372
  if (t.constructor != null) return null;
373
- 128 & n.__u && (l = !!(32 & n.__u), i = [s = t.__e = n.__e]), (m = w.__b) && m(t);
373
+ 128 & n.__u && (l = !!(32 & n.__u), i = [s = t.__e = n.__e]), (m = M.__b) && m(t);
374
374
  e: if (typeof Y == "function") try {
375
375
  if (_ = t.props, x = "prototype" in Y && Y.prototype.render, E = (m = Y.contextType) && a[m.__c], N = m ? E ? E.props.value : m.__ : a, n.__c ? b = (c = t.__c = n.__c).__ = c.__E : (x ? t.__c = c = new Y(_, N) : (t.__c = c = new Ee(_, N), c.constructor = Y, c.render = co), E && E.sub(c), c.props = _, c.state || (c.state = {}), c.context = N, c.__n = a, d = c.__d = !0, c.__h = [], c._sb = []), x && c.__s == null && (c.__s = c.state), x && Y.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = Ie({}, c.__s)), Ie(c.__s, Y.getDerivedStateFromProps(_, c.__s))), p = c.props, g = c.state, c.__v = t, d) x && Y.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), x && c.componentDidMount != null && c.__h.push(c.componentDidMount);
376
376
  else {
@@ -385,38 +385,38 @@ function Ln(e, t, n, a, r, i, o, s, l, u) {
385
385
  c.componentDidUpdate(p, g, v);
386
386
  });
387
387
  }
388
- if (c.context = N, c.props = _, c.__P = e, c.__e = !1, M = w.__r, z = 0, x) {
389
- for (c.state = c.__s, c.__d = !1, M && M(t), m = c.render(c.props, c.state, c.context), ge = 0; ge < c._sb.length; ge++) c.__h.push(c._sb[ge]);
388
+ if (c.context = N, c.props = _, c.__P = e, c.__e = !1, w = M.__r, z = 0, x) {
389
+ for (c.state = c.__s, c.__d = !1, w && w(t), m = c.render(c.props, c.state, c.context), ge = 0; ge < c._sb.length; ge++) c.__h.push(c._sb[ge]);
390
390
  c._sb = [];
391
391
  } else do
392
- c.__d = !1, M && M(t), m = c.render(c.props, c.state, c.context), c.state = c.__s;
392
+ c.__d = !1, w && w(t), m = c.render(c.props, c.state, c.context), c.state = c.__s;
393
393
  while (c.__d && ++z < 25);
394
- c.state = c.__s, c.getChildContext != null && (a = Ie(Ie({}, a), c.getChildContext())), x && !d && c.getSnapshotBeforeUpdate != null && (v = c.getSnapshotBeforeUpdate(p, g)), F = m, m != null && m.type === pe && m.key == null && (F = Mr(m.props.children)), s = Ar(e, Ct(F) ? F : [F], t, n, a, r, i, o, s, l, u), c.base = t.__e, t.__u &= -161, c.__h.length && o.push(c), b && (c.__E = c.__ = null);
394
+ c.state = c.__s, c.getChildContext != null && (a = Ie(Ie({}, a), c.getChildContext())), x && !d && c.getSnapshotBeforeUpdate != null && (v = c.getSnapshotBeforeUpdate(p, g)), F = m, m != null && m.type === pe && m.key == null && (F = wr(m.props.children)), s = Ar(e, Ct(F) ? F : [F], t, n, a, r, i, o, s, l, u), c.base = t.__e, t.__u &= -161, c.__h.length && o.push(c), b && (c.__E = c.__ = null);
395
395
  } catch (U) {
396
396
  if (t.__v = null, l || i != null) if (U.then) {
397
397
  for (t.__u |= l ? 160 : 128; s && s.nodeType == 8 && s.nextSibling; ) s = s.nextSibling;
398
398
  i[i.indexOf(s)] = null, t.__e = s;
399
399
  } else for (ee = i.length; ee--; ) Rn(i[ee]);
400
400
  else t.__e = n.__e, t.__k = n.__k;
401
- w.__e(U, t, n);
401
+ M.__e(U, t, n);
402
402
  }
403
403
  else i == null && t.__v == n.__v ? (t.__k = n.__k, t.__e = n.__e) : s = t.__e = uo(n.__e, t, n, a, r, i, o, l, u);
404
- return (m = w.diffed) && m(t), 128 & t.__u ? void 0 : s;
404
+ return (m = M.diffed) && m(t), 128 & t.__u ? void 0 : s;
405
405
  }
406
406
  function Ir(e, t, n) {
407
407
  for (var a = 0; a < n.length; a++) Hn(n[a], n[++a], n[++a]);
408
- w.__c && w.__c(t, e), e.some(function(r) {
408
+ M.__c && M.__c(t, e), e.some(function(r) {
409
409
  try {
410
410
  e = r.__h, r.__h = [], e.some(function(i) {
411
411
  i.call(r);
412
412
  });
413
413
  } catch (i) {
414
- w.__e(i, r.__v);
414
+ M.__e(i, r.__v);
415
415
  }
416
416
  });
417
417
  }
418
- function Mr(e) {
419
- return typeof e != "object" || e == null || e.__b && e.__b > 0 ? e : Ct(e) ? e.map(Mr) : Ie({}, e);
418
+ function wr(e) {
419
+ return typeof e != "object" || e == null || e.__b && e.__b > 0 ? e : Ct(e) ? e.map(wr) : Ie({}, e);
420
420
  }
421
421
  function uo(e, t, n, a, r, i, o, s, l) {
422
422
  var u, m, c, d, p, g, v, b = n.props, _ = t.props, x = t.type;
@@ -428,7 +428,7 @@ function uo(e, t, n, a, r, i, o, s, l) {
428
428
  }
429
429
  if (e == null) {
430
430
  if (x == null) return document.createTextNode(_);
431
- e = document.createElementNS(r, x, _.is && _), s && (w.__m && w.__m(t, i), s = !1), i = null;
431
+ e = document.createElementNS(r, x, _.is && _), s && (M.__m && M.__m(t, i), s = !1), i = null;
432
432
  }
433
433
  if (x == null) b === _ || s && e.data == _ || (e.data = _);
434
434
  else {
@@ -454,20 +454,20 @@ function Hn(e, t, n) {
454
454
  a && e.__u(), a && t == null || (e.__u = e(t));
455
455
  } else e.current = t;
456
456
  } catch (r) {
457
- w.__e(r, n);
457
+ M.__e(r, n);
458
458
  }
459
459
  }
460
- function wr(e, t, n) {
460
+ function Mr(e, t, n) {
461
461
  var a, r;
462
- if (w.unmount && w.unmount(e), (a = e.ref) && (a.current && a.current != e.__e || Hn(a, null, t)), (a = e.__c) != null) {
462
+ if (M.unmount && M.unmount(e), (a = e.ref) && (a.current && a.current != e.__e || Hn(a, null, t)), (a = e.__c) != null) {
463
463
  if (a.componentWillUnmount) try {
464
464
  a.componentWillUnmount();
465
465
  } catch (i) {
466
- w.__e(i, t);
466
+ M.__e(i, t);
467
467
  }
468
468
  a.base = a.__P = null;
469
469
  }
470
- if (a = e.__k) for (r = 0; r < a.length; r++) a[r] && wr(a[r], t, n || typeof e.type != "function");
470
+ if (a = e.__k) for (r = 0; r < a.length; r++) a[r] && Mr(a[r], t, n || typeof e.type != "function");
471
471
  n || Rn(e.__e), e.__c = e.__ = e.__e = void 0;
472
472
  }
473
473
  function co(e, t, n) {
@@ -475,7 +475,7 @@ function co(e, t, n) {
475
475
  }
476
476
  function gt(e, t, n) {
477
477
  var a, r, i, o;
478
- t == document && (t = document.documentElement), w.__ && w.__(e, t), r = (a = typeof n == "function") ? null : n && n.__k || t.__k, i = [], o = [], Ln(t, e = (!a && n || t).__k = de(pe, null, [e]), r || ht, ht, t.namespaceURI, !a && n ? [n] : r ? null : t.firstChild ? xt.call(t.childNodes) : null, i, !a && n ? n : r ? r.__e : t.firstChild, a, o), Ir(i, e, o);
478
+ t == document && (t = document.documentElement), M.__ && M.__(e, t), r = (a = typeof n == "function") ? null : n && n.__k || t.__k, i = [], o = [], Ln(t, e = (!a && n || t).__k = de(pe, null, [e]), r || ht, ht, t.namespaceURI, !a && n ? [n] : r ? null : t.firstChild ? xt.call(t.childNodes) : null, i, !a && n ? n : r ? r.__e : t.firstChild, a, o), Ir(i, e, o);
479
479
  }
480
480
  function Nr(e, t) {
481
481
  gt(e, t, Nr);
@@ -508,7 +508,7 @@ function yt(e) {
508
508
  return n.children(a);
509
509
  }).contextType = t, t;
510
510
  }
511
- xt = xr.slice, w = { __e: function(e, t, n, a) {
511
+ xt = xr.slice, M = { __e: function(e, t, n, a) {
512
512
  for (var r, i, o; t = t.__; ) if ((r = t.__c) && !r.__) try {
513
513
  if ((i = r.constructor) && i.getDerivedStateFromError != null && (r.setState(i.getDerivedStateFromError(e)), o = r.__d), r.componentDidCatch != null && (r.componentDidCatch(e, a || {}), o = r.__d), o) return r.__E = r;
514
514
  } catch (s) {
@@ -523,7 +523,7 @@ xt = xr.slice, w = { __e: function(e, t, n, a) {
523
523
  }, Ee.prototype.render = pe, ze = [], _r = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, vr = function(e, t) {
524
524
  return e.__v.__b - t.__v.__b;
525
525
  }, Wt.__r = 0, br = /(PointerCapture)$|Capture$/i, Pn = 0, mn = fa(!1), fn = fa(!0), Er = 0;
526
- var Pe, $, Yt, da, tt = 0, Or = [], j = w, pa = j.__b, ha = j.__r, ga = j.diffed, ya = j.__c, _a = j.unmount, va = j.__;
526
+ var Pe, $, Yt, da, tt = 0, Or = [], j = M, pa = j.__b, ha = j.__r, ga = j.diffed, ya = j.__c, _a = j.unmount, va = j.__;
527
527
  function qe(e, t) {
528
528
  j.__h && j.__h($, e, tt || t), tt = 0;
529
529
  var n = $.__H || ($.__H = { __: [], __h: [] });
@@ -574,12 +574,12 @@ function it(e, t) {
574
574
  var n = qe(Pe++, 4);
575
575
  !j.__s && Bn(n.__H, t) && (n.__ = e, n.u = t, $.__h.push(n));
576
576
  }
577
- function ke(e) {
578
- return tt = 5, De(function() {
577
+ function De(e) {
578
+ return tt = 5, ke(function() {
579
579
  return { current: e };
580
580
  }, []);
581
581
  }
582
- function Dn(e, t, n) {
582
+ function kn(e, t, n) {
583
583
  tt = 6, it(function() {
584
584
  if (typeof e == "function") {
585
585
  var a = e(t());
@@ -592,12 +592,12 @@ function Dn(e, t, n) {
592
592
  };
593
593
  }, n == null ? n : n.concat(e));
594
594
  }
595
- function De(e, t) {
595
+ function ke(e, t) {
596
596
  var n = qe(Pe++, 7);
597
597
  return Bn(n.__H, t) && (n.__ = e(), n.__H = t, n.__h = e), n.__;
598
598
  }
599
599
  function _t(e, t) {
600
- return tt = 8, De(function() {
600
+ return tt = 8, ke(function() {
601
601
  return e;
602
602
  }, t);
603
603
  }
@@ -605,7 +605,7 @@ function St(e) {
605
605
  var t = $.context[e.__c], n = qe(Pe++, 9);
606
606
  return n.c = e, t ? (n.__ == null && (n.__ = !0, t.sub($)), t.props.value) : e.__;
607
607
  }
608
- function kn(e, t) {
608
+ function Dn(e, t) {
609
609
  j.useDebugValue && j.useDebugValue(t ? t(e) : e);
610
610
  }
611
611
  function fo(e) {
@@ -748,8 +748,8 @@ function jn(e, t) {
748
748
  (vt.prototype = new Ee()).isPureReactComponent = !0, vt.prototype.shouldComponentUpdate = function(e, t) {
749
749
  return hn(this.props, e) || hn(this.state, t);
750
750
  };
751
- var Ea = w.__b;
752
- w.__b = function(e) {
751
+ var Ea = M.__b;
752
+ M.__b = function(e) {
753
753
  e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), Ea && Ea(e);
754
754
  };
755
755
  var go = typeof Symbol != "undefined" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
@@ -768,14 +768,14 @@ var xa = function(e, t) {
768
768
  var t = Oe(e);
769
769
  if (t.length !== 1) throw "Children.only";
770
770
  return t[0];
771
- }, toArray: Oe }, yo = w.__e;
772
- w.__e = function(e, t, n, a) {
771
+ }, toArray: Oe }, yo = M.__e;
772
+ M.__e = function(e, t, n, a) {
773
773
  if (e.then) {
774
774
  for (var r, i = t; i = i.__; ) if ((r = i.__c) && r.__c) return t.__e == null && (t.__e = n.__e, t.__k = n.__k), r.__c(e, t);
775
775
  }
776
776
  yo(e, t, n, a);
777
777
  };
778
- var Ca = w.unmount;
778
+ var Ca = M.unmount;
779
779
  function Hr(e, t, n) {
780
780
  return e && (e.__c && e.__c.__H && (e.__c.__H.__.forEach(function(a) {
781
781
  typeof a.__c == "function" && a.__c();
@@ -783,15 +783,15 @@ function Hr(e, t, n) {
783
783
  return Hr(a, t, n);
784
784
  })), e;
785
785
  }
786
- function Dr(e, t, n) {
786
+ function kr(e, t, n) {
787
787
  return e && n && (e.__v = null, e.__k = e.__k && e.__k.map(function(a) {
788
- return Dr(a, t, n);
788
+ return kr(a, t, n);
789
789
  }), e.__c && e.__c.__P === t && (e.__e && n.appendChild(e.__e), e.__c.__e = !0, e.__c.__P = n)), e;
790
790
  }
791
791
  function mt() {
792
792
  this.__u = 0, this.o = null, this.__b = null;
793
793
  }
794
- function kr(e) {
794
+ function Dr(e) {
795
795
  var t = e.__.__c;
796
796
  return t && t.__a && t.__a(e);
797
797
  }
@@ -811,13 +811,13 @@ function Fr(e) {
811
811
  function Ye() {
812
812
  this.i = null, this.l = null;
813
813
  }
814
- w.unmount = function(e) {
814
+ M.unmount = function(e) {
815
815
  var t = e.__c;
816
816
  t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null), Ca && Ca(e);
817
817
  }, (mt.prototype = new Ee()).__c = function(e, t) {
818
818
  var n = t.__c, a = this;
819
819
  a.o == null && (a.o = []), a.o.push(n);
820
- var r = kr(a.__v), i = !1, o = function() {
820
+ var r = Dr(a.__v), i = !1, o = function() {
821
821
  i || (i = !0, n.__R = null, r ? r(s) : s());
822
822
  };
823
823
  n.__R = o;
@@ -825,7 +825,7 @@ w.unmount = function(e) {
825
825
  if (!--a.__u) {
826
826
  if (a.state.__a) {
827
827
  var l = a.state.__a;
828
- a.__v.__k[0] = Dr(l, l.__c.__P, l.__c.__O);
828
+ a.__v.__k[0] = kr(l, l.__c.__P, l.__c.__O);
829
829
  }
830
830
  var u;
831
831
  for (a.setState({ __a: a.__b = null }); u = a.o.pop(); ) u.forceUpdate();
@@ -876,7 +876,7 @@ function Br(e, t) {
876
876
  return n.containerInfo = t, n;
877
877
  }
878
878
  (Ye.prototype = new Ee()).__a = function(e) {
879
- var t = this, n = kr(t.__v), a = t.l.get(e);
879
+ var t = this, n = Dr(t.__v), a = t.l.get(e);
880
880
  return a[0]++, function(r) {
881
881
  var i = function() {
882
882
  t.props.revealOrder ? (a.push(r), Sa(t, e, a)) : r();
@@ -911,7 +911,7 @@ Ee.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceive
911
911
  Object.defineProperty(this, e, { configurable: !0, writable: !0, value: t });
912
912
  } });
913
913
  });
914
- var Aa = w.event;
914
+ var Aa = M.event;
915
915
  function Ao() {
916
916
  }
917
917
  function To() {
@@ -920,13 +920,13 @@ function To() {
920
920
  function Io() {
921
921
  return this.defaultPrevented;
922
922
  }
923
- w.event = function(e) {
923
+ M.event = function(e) {
924
924
  return Aa && (e = Aa(e)), e.persist = Ao, e.isPropagationStopped = To, e.isDefaultPrevented = Io, e.nativeEvent = e;
925
925
  };
926
- var qn, Mo = { enumerable: !1, configurable: !0, get: function() {
926
+ var qn, wo = { enumerable: !1, configurable: !0, get: function() {
927
927
  return this.class;
928
- } }, Ta = w.vnode;
929
- w.vnode = function(e) {
928
+ } }, Ta = M.vnode;
929
+ M.vnode = function(e) {
930
930
  typeof e.type == "string" && function(t) {
931
931
  var n = t.props, a = t.type, r = {}, i = a.indexOf("-") === -1;
932
932
  for (var o in n) {
@@ -940,22 +940,22 @@ w.vnode = function(e) {
940
940
  u.props.selected = r.value.indexOf(u.props.value) != -1;
941
941
  })), a == "select" && r.defaultValue != null && (r.value = Oe(n.children).forEach(function(u) {
942
942
  u.props.selected = r.multiple ? r.defaultValue.indexOf(u.props.value) != -1 : r.defaultValue == u.props.value;
943
- })), n.class && !n.className ? (r.class = n.class, Object.defineProperty(r, "className", Mo)) : (n.className && !n.class || n.class && n.className) && (r.class = r.className = n.className), t.props = r;
943
+ })), n.class && !n.className ? (r.class = n.class, Object.defineProperty(r, "className", wo)) : (n.className && !n.class || n.class && n.className) && (r.class = r.className = n.className), t.props = r;
944
944
  }(e), e.$$typeof = Ur, Ta && Ta(e);
945
945
  };
946
- var Ia = w.__r;
947
- w.__r = function(e) {
946
+ var Ia = M.__r;
947
+ M.__r = function(e) {
948
948
  Ia && Ia(e), qn = e.__c;
949
949
  };
950
- var Ma = w.diffed;
951
- w.diffed = function(e) {
952
- Ma && Ma(e);
950
+ var wa = M.diffed;
951
+ M.diffed = function(e) {
952
+ wa && wa(e);
953
953
  var t = e.props, n = e.__e;
954
954
  n != null && e.type === "textarea" && "value" in t && t.value !== n.value && (n.value = t.value == null ? "" : t.value), qn = null;
955
955
  };
956
956
  var Gr = { ReactCurrentDispatcher: { current: { readContext: function(e) {
957
957
  return qn.__n[e.__c].props.value;
958
- }, useCallback: _t, useContext: St, useDebugValue: kn, useDeferredValue: Gn, useEffect: X, useId: Fn, useImperativeHandle: Dn, useInsertionEffect: Wn, useLayoutEffect: it, useMemo: De, useReducer: Zt, useRef: ke, useState: Q, useSyncExternalStore: Un, useTransition: zn } } }, wo = "18.3.1";
958
+ }, useCallback: _t, useContext: St, useDebugValue: Dn, useDeferredValue: Gn, useEffect: X, useId: Fn, useImperativeHandle: kn, useInsertionEffect: Wn, useLayoutEffect: it, useMemo: ke, useReducer: Zt, useRef: De, useState: Q, useSyncExternalStore: Un, useTransition: zn } } }, Mo = "18.3.1";
959
959
  function zr(e) {
960
960
  return de.bind(null, e);
961
961
  }
@@ -981,7 +981,7 @@ var Zr = function(e, t) {
981
981
  return e(t);
982
982
  }, Xr = function(e, t) {
983
983
  return e(t);
984
- }, Kr = pe, Jr = Tt, f = { useState: Q, useId: Fn, useReducer: Zt, useEffect: X, useLayoutEffect: it, useInsertionEffect: Wn, useTransition: zn, useDeferredValue: Gn, useSyncExternalStore: Un, startTransition: $n, useRef: ke, useImperativeHandle: Dn, useMemo: De, useCallback: _t, useContext: St, useDebugValue: kn, version: "18.3.1", Children: At, render: Vn, hydrate: $r, unmountComponentAtNode: Zn, createPortal: Br, createElement: de, createContext: yt, createFactory: zr, cloneElement: Vr, createRef: Cr, Fragment: pe, isValidElement: Tt, isElement: Jr, isFragment: Wr, isMemo: jr, findDOMNode: qr, Component: Ee, PureComponent: vt, memo: jn, forwardRef: Lr, flushSync: Xr, unstable_batchedUpdates: Zr, StrictMode: Kr, Suspense: mt, SuspenseList: Ye, lazy: Fr, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Gr };
984
+ }, Kr = pe, Jr = Tt, f = { useState: Q, useId: Fn, useReducer: Zt, useEffect: X, useLayoutEffect: it, useInsertionEffect: Wn, useTransition: zn, useDeferredValue: Gn, useSyncExternalStore: Un, startTransition: $n, useRef: De, useImperativeHandle: kn, useMemo: ke, useCallback: _t, useContext: St, useDebugValue: Dn, version: "18.3.1", Children: At, render: Vn, hydrate: $r, unmountComponentAtNode: Zn, createPortal: Br, createElement: de, createContext: yt, createFactory: zr, cloneElement: Vr, createRef: Cr, Fragment: pe, isValidElement: Tt, isElement: Jr, isFragment: Wr, isMemo: jr, findDOMNode: qr, Component: Ee, PureComponent: vt, memo: jn, forwardRef: Lr, flushSync: Xr, unstable_batchedUpdates: Zr, StrictMode: Kr, Suspense: mt, SuspenseList: Ye, lazy: Fr, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Gr };
985
985
  const No = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
986
986
  __proto__: null,
987
987
  Children: At,
@@ -1015,23 +1015,23 @@ const No = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1015
1015
  unstable_batchedUpdates: Zr,
1016
1016
  useCallback: _t,
1017
1017
  useContext: St,
1018
- useDebugValue: kn,
1018
+ useDebugValue: Dn,
1019
1019
  useDeferredValue: Gn,
1020
1020
  useEffect: X,
1021
1021
  useErrorBoundary: fo,
1022
1022
  useId: Fn,
1023
- useImperativeHandle: Dn,
1023
+ useImperativeHandle: kn,
1024
1024
  useInsertionEffect: Wn,
1025
1025
  useLayoutEffect: it,
1026
- useMemo: De,
1026
+ useMemo: ke,
1027
1027
  useReducer: Zt,
1028
- useRef: ke,
1028
+ useRef: De,
1029
1029
  useState: Q,
1030
1030
  useSyncExternalStore: Un,
1031
1031
  useTransition: zn,
1032
- version: wo
1032
+ version: Mo
1033
1033
  }, Symbol.toStringTag, { value: "Module" }));
1034
- function wa(e) {
1034
+ function Ma(e) {
1035
1035
  return {
1036
1036
  // eslint-disable-next-line
1037
1037
  render: function(t) {
@@ -1082,7 +1082,7 @@ function ce(e, t, n) {
1082
1082
  return e.concat(i || Array.prototype.slice.call(t));
1083
1083
  }
1084
1084
  function se(e, t) {
1085
- var n = t && t.cache ? t.cache : Do, a = t && t.serializer ? t.serializer : Ho, r = t && t.strategy ? t.strategy : Ro;
1085
+ var n = t && t.cache ? t.cache : ko, a = t && t.serializer ? t.serializer : Ho, r = t && t.strategy ? t.strategy : Ro;
1086
1086
  return r(e, {
1087
1087
  cache: n,
1088
1088
  serializer: a
@@ -1121,7 +1121,7 @@ Xn.prototype.get = function(e) {
1121
1121
  Xn.prototype.set = function(e, t) {
1122
1122
  this.cache[e] = t;
1123
1123
  };
1124
- var Do = {
1124
+ var ko = {
1125
1125
  create: function() {
1126
1126
  return new Xn();
1127
1127
  }
@@ -1182,7 +1182,7 @@ var at;
1182
1182
  function Na(e) {
1183
1183
  return e.type === G.literal;
1184
1184
  }
1185
- function ko(e) {
1185
+ function Do(e) {
1186
1186
  return e.type === G.argument;
1187
1187
  }
1188
1188
  function ti(e) {
@@ -1515,7 +1515,7 @@ function Vo(e) {
1515
1515
  }
1516
1516
  return t;
1517
1517
  }
1518
- var Dt = {
1518
+ var kt = {
1519
1519
  "001": [
1520
1520
  "H",
1521
1521
  "h"
@@ -2964,7 +2964,7 @@ function Zo(e) {
2964
2964
  }
2965
2965
  var n = e.language, a;
2966
2966
  n !== "root" && (a = e.maximize().region);
2967
- var r = Dt[a || ""] || Dt[n || ""] || Dt["".concat(n, "-001")] || Dt["001"];
2967
+ var r = kt[a || ""] || kt[n || ""] || kt["".concat(n, "-001")] || kt["001"];
2968
2968
  return r[0];
2969
2969
  }
2970
2970
  var en, Xo = new RegExp("^".concat(li.source, "*")), Ko = new RegExp("".concat(li.source, "*$"));
@@ -3054,11 +3054,11 @@ function di(e, t) {
3054
3054
  }
3055
3055
  var bn;
3056
3056
  if (_n) {
3057
- var Da = di("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3057
+ var ka = di("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3058
3058
  bn = function(t, n) {
3059
3059
  var a;
3060
- Da.lastIndex = n;
3061
- var r = Da.exec(t);
3060
+ ka.lastIndex = n;
3061
+ var r = ka.exec(t);
3062
3062
  return (a = r[1]) !== null && a !== void 0 ? a : "";
3063
3063
  };
3064
3064
  } else
@@ -3331,9 +3331,9 @@ var ls = (
3331
3331
  return c;
3332
3332
  this.bumpSpace(), N = this.parseIdentifierIfPossible(), y = c.val;
3333
3333
  }
3334
- var M = this.tryParsePluralOrSelectOptions(t, s, n, N);
3335
- if (M.err)
3336
- return M;
3334
+ var w = this.tryParsePluralOrSelectOptions(t, s, n, N);
3335
+ if (w.err)
3336
+ return w;
3337
3337
  var g = this.tryParseArgumentClose(r);
3338
3338
  if (g.err)
3339
3339
  return g;
@@ -3342,7 +3342,7 @@ var ls = (
3342
3342
  val: {
3343
3343
  type: G.select,
3344
3344
  value: a,
3345
- options: Ha(M.val),
3345
+ options: Ha(w.val),
3346
3346
  location: z
3347
3347
  },
3348
3348
  err: null
@@ -3350,7 +3350,7 @@ var ls = (
3350
3350
  val: {
3351
3351
  type: G.plural,
3352
3352
  value: a,
3353
- options: Ha(M.val),
3353
+ options: Ha(w.val),
3354
3354
  offset: y,
3355
3355
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3356
3356
  location: z
@@ -3556,10 +3556,10 @@ function fs(e, t) {
3556
3556
  }
3557
3557
  return t != null && t.captureLocation || xn(n.val), n.val;
3558
3558
  }
3559
- var Me;
3559
+ var we;
3560
3560
  (function(e) {
3561
3561
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3562
- })(Me || (Me = {}));
3562
+ })(we || (we = {}));
3563
3563
  var Fe = (
3564
3564
  /** @class */
3565
3565
  function(e) {
@@ -3572,12 +3572,12 @@ var Fe = (
3572
3572
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3573
3573
  }, t;
3574
3574
  }(Error)
3575
- ), ka = (
3575
+ ), Da = (
3576
3576
  /** @class */
3577
3577
  function(e) {
3578
3578
  _e(t, e);
3579
3579
  function t(n, a, r, i) {
3580
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(a, '". Options are "').concat(Object.keys(r).join('", "'), '"'), Me.INVALID_VALUE, i) || this;
3580
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(a, '". Options are "').concat(Object.keys(r).join('", "'), '"'), we.INVALID_VALUE, i) || this;
3581
3581
  }
3582
3582
  return t;
3583
3583
  }(Fe)
@@ -3586,7 +3586,7 @@ var Fe = (
3586
3586
  function(e) {
3587
3587
  _e(t, e);
3588
3588
  function t(n, a, r) {
3589
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(a), Me.INVALID_VALUE, r) || this;
3589
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(a), we.INVALID_VALUE, r) || this;
3590
3590
  }
3591
3591
  return t;
3592
3592
  }(Fe)
@@ -3595,7 +3595,7 @@ var Fe = (
3595
3595
  function(e) {
3596
3596
  _e(t, e);
3597
3597
  function t(n, a) {
3598
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(a, '"'), Me.MISSING_VALUE, a) || this;
3598
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(a, '"'), we.MISSING_VALUE, a) || this;
3599
3599
  }
3600
3600
  return t;
3601
3601
  }(Fe)
@@ -3640,7 +3640,7 @@ function zt(e, t, n, a, r, i, o) {
3640
3640
  if (!(r && c in r))
3641
3641
  throw new ps(c, o);
3642
3642
  var d = r[c];
3643
- if (ko(m)) {
3643
+ if (Do(m)) {
3644
3644
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), s.push({
3645
3645
  type: typeof d == "string" ? ie.literal : ie.object,
3646
3646
  value: d
@@ -3688,7 +3688,7 @@ function zt(e, t, n, a, r, i, o) {
3688
3688
  if (ri(m)) {
3689
3689
  var E = m.options[d] || m.options.other;
3690
3690
  if (!E)
3691
- throw new ka(m.value, d, Object.keys(m.options), o);
3691
+ throw new Da(m.value, d, Object.keys(m.options), o);
3692
3692
  s.push.apply(s, zt(E.value, t, n, a, r));
3693
3693
  continue;
3694
3694
  }
@@ -3698,12 +3698,12 @@ function zt(e, t, n, a, r, i, o) {
3698
3698
  if (!Intl.PluralRules)
3699
3699
  throw new Fe(`Intl.PluralRules is not available in this environment.
3700
3700
  Try polyfilling it using "@formatjs/intl-pluralrules"
3701
- `, Me.MISSING_INTL_API, o);
3701
+ `, we.MISSING_INTL_API, o);
3702
3702
  var N = n.getPluralRules(t, { type: m.pluralType }).select(d - (m.offset || 0));
3703
3703
  E = m.options[N] || m.options.other;
3704
3704
  }
3705
3705
  if (!E)
3706
- throw new ka(m.value, d, Object.keys(m.options), o);
3706
+ throw new Da(m.value, d, Object.keys(m.options), o);
3707
3707
  s.push.apply(s, zt(E.value, t, n, a, r, d - (m.offset || 0)));
3708
3708
  continue;
3709
3709
  }
@@ -4073,7 +4073,7 @@ function Kn(e, t, n, a) {
4073
4073
  return i;
4074
4074
  a(new vs("No ".concat(t, " format named: ").concat(n)));
4075
4075
  }
4076
- function kt(e, t) {
4076
+ function Dt(e, t) {
4077
4077
  return Object.keys(e).reduce(function(n, a) {
4078
4078
  return n[a] = C({ timeZone: t }, e[a]), n;
4079
4079
  }, {});
@@ -4088,7 +4088,7 @@ function Ua(e, t) {
4088
4088
  if (!t)
4089
4089
  return e;
4090
4090
  var n = gi.formats;
4091
- return C(C(C({}, n), e), { date: Ba(kt(n.date, t), kt(e.date || {}, t)), time: Ba(kt(n.time, t), kt(e.time || {}, t)) });
4091
+ return C(C(C({}, n), e), { date: Ba(Dt(n.date, t), Dt(e.date || {}, t)), time: Ba(Dt(n.time, t), Dt(e.time || {}, t)) });
4092
4092
  }
4093
4093
  var Cn = function(e, t, n, a, r) {
4094
4094
  var i = e.locale, o = e.formats, s = e.messages, l = e.defaultLocale, u = e.defaultFormats, m = e.fallbackOnEmptyString, c = e.onError, d = e.timeZone, p = e.defaultRichTextElements;
@@ -4191,7 +4191,7 @@ function Is(e, t) {
4191
4191
  }
4192
4192
  return String(r);
4193
4193
  }
4194
- function Ms(e, t) {
4194
+ function ws(e, t) {
4195
4195
  for (var n = [], a = 2; a < arguments.length; a++)
4196
4196
  n[a - 2] = arguments[a];
4197
4197
  var r = n[0], i = n[1], o = i === void 0 ? {} : i, s = typeof r == "string" ? new Date(r || 0) : r;
@@ -4202,7 +4202,7 @@ function Ms(e, t) {
4202
4202
  }
4203
4203
  return [];
4204
4204
  }
4205
- function ws(e, t) {
4205
+ function Ms(e, t) {
4206
4206
  for (var n = [], a = 2; a < arguments.length; a++)
4207
4207
  n[a - 2] = arguments[a];
4208
4208
  var r = n[0], i = n[1], o = i === void 0 ? {} : i, s = typeof r == "string" ? new Date(r || 0) : r;
@@ -4223,7 +4223,7 @@ function Os(e, t, n, a) {
4223
4223
  var r = e.locale, i = e.onError, o = Intl.DisplayNames;
4224
4224
  o || i(new Fe(`Intl.DisplayNames is not available in this environment.
4225
4225
  Try polyfilling it using "@formatjs/intl-displaynames"
4226
- `, Me.MISSING_INTL_API));
4226
+ `, we.MISSING_INTL_API));
4227
4227
  var s = Ze(a, Ns);
4228
4228
  try {
4229
4229
  return t(r, s).of(n);
@@ -4252,7 +4252,7 @@ function bi(e, t, n, a) {
4252
4252
  var o = Intl.ListFormat;
4253
4253
  o || i(new Fe(`Intl.ListFormat is not available in this environment.
4254
4254
  Try polyfilling it using "@formatjs/intl-listformat"
4255
- `, Me.MISSING_INTL_API));
4255
+ `, we.MISSING_INTL_API));
4256
4256
  var s = Ze(a, Ps);
4257
4257
  try {
4258
4258
  var l = {}, u = n.map(function(m, c) {
@@ -4271,11 +4271,11 @@ Try polyfilling it using "@formatjs/intl-listformat"
4271
4271
  return n;
4272
4272
  }
4273
4273
  var Hs = ["type"];
4274
- function Ds(e, t, n, a) {
4274
+ function ks(e, t, n, a) {
4275
4275
  var r = e.locale, i = e.onError;
4276
4276
  a === void 0 && (a = {}), Intl.PluralRules || i(new Fe(`Intl.PluralRules is not available in this environment.
4277
4277
  Try polyfilling it using "@formatjs/intl-pluralrules"
4278
- `, Me.MISSING_INTL_API));
4278
+ `, we.MISSING_INTL_API));
4279
4279
  var o = Ze(a, Hs);
4280
4280
  try {
4281
4281
  return t(r, o).select(n);
@@ -4284,11 +4284,11 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
4284
4284
  }
4285
4285
  return "other";
4286
4286
  }
4287
- var ks = ["numeric", "style"];
4287
+ var Ds = ["numeric", "style"];
4288
4288
  function Fs(e, t, n) {
4289
4289
  var a = e.locale, r = e.formats, i = e.onError;
4290
4290
  n === void 0 && (n = {});
4291
- var o = n.format, s = !!o && Kn(r, "relative", o, i) || {}, l = Ze(n, ks, s);
4291
+ var o = n.format, s = !!o && Kn(r, "relative", o, i) || {}, l = Ze(n, Ds, s);
4292
4292
  return t(a, l);
4293
4293
  }
4294
4294
  function Bs(e, t, n, a, r) {
@@ -4296,7 +4296,7 @@ function Bs(e, t, n, a, r) {
4296
4296
  var i = Intl.RelativeTimeFormat;
4297
4297
  i || e.onError(new Fe(`Intl.RelativeTimeFormat is not available in this environment.
4298
4298
  Try polyfilling it using "@formatjs/intl-relativetimeformat"
4299
- `, Me.MISSING_INTL_API));
4299
+ `, we.MISSING_INTL_API));
4300
4300
  try {
4301
4301
  return Fs(e, t, r).format(n, a);
4302
4302
  } catch (o) {
@@ -4371,11 +4371,11 @@ function js(e, t) {
4371
4371
  formatNumberToParts: Gs.bind(null, a, n.getNumberFormat),
4372
4372
  formatRelativeTime: Bs.bind(null, a, n.getRelativeTimeFormat),
4373
4373
  formatDate: As.bind(null, a, n.getDateTimeFormat),
4374
- formatDateToParts: Ms.bind(null, a, n.getDateTimeFormat),
4374
+ formatDateToParts: ws.bind(null, a, n.getDateTimeFormat),
4375
4375
  formatTime: Ts.bind(null, a, n.getDateTimeFormat),
4376
4376
  formatDateTimeRange: Is.bind(null, a, n.getDateTimeFormat),
4377
- formatTimeToParts: ws.bind(null, a, n.getDateTimeFormat),
4378
- formatPlural: Ds.bind(null, a, n.getPluralRules),
4377
+ formatTimeToParts: Ms.bind(null, a, n.getDateTimeFormat),
4378
+ formatPlural: ks.bind(null, a, n.getPluralRules),
4379
4379
  // @ts-expect-error TODO: will get to this later
4380
4380
  formatMessage: Cn.bind(null, a, n),
4381
4381
  // @ts-expect-error TODO: will get to this later
@@ -4409,7 +4409,7 @@ function Sn(e, t) {
4409
4409
  }
4410
4410
  return !0;
4411
4411
  }
4412
- function Mt(e) {
4412
+ function wt(e) {
4413
4413
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4414
4414
  }
4415
4415
  function Si(e) {
@@ -4431,7 +4431,7 @@ function Si(e) {
4431
4431
  });
4432
4432
  }), n;
4433
4433
  }
4434
- var Ai = { exports: {} }, k = {};
4434
+ var Ai = { exports: {} }, D = {};
4435
4435
  /** @license React v16.13.1
4436
4436
  * react-is.production.min.js
4437
4437
  *
@@ -4442,13 +4442,13 @@ var Ai = { exports: {} }, k = {};
4442
4442
  */
4443
4443
  var Ga;
4444
4444
  function qs() {
4445
- if (Ga) return k;
4445
+ if (Ga) return D;
4446
4446
  Ga = 1;
4447
4447
  var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, _ = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119;
4448
4448
  function E(y) {
4449
4449
  if (typeof y == "object" && y !== null) {
4450
- var M = y.$$typeof;
4451
- switch (M) {
4450
+ var w = y.$$typeof;
4451
+ switch (w) {
4452
4452
  case t:
4453
4453
  switch (y = y.type, y) {
4454
4454
  case l:
@@ -4467,44 +4467,44 @@ function qs() {
4467
4467
  case o:
4468
4468
  return y;
4469
4469
  default:
4470
- return M;
4470
+ return w;
4471
4471
  }
4472
4472
  }
4473
4473
  case n:
4474
- return M;
4474
+ return w;
4475
4475
  }
4476
4476
  }
4477
4477
  }
4478
4478
  function N(y) {
4479
4479
  return E(y) === u;
4480
4480
  }
4481
- return k.AsyncMode = l, k.ConcurrentMode = u, k.ContextConsumer = s, k.ContextProvider = o, k.Element = t, k.ForwardRef = m, k.Fragment = a, k.Lazy = g, k.Memo = p, k.Portal = n, k.Profiler = i, k.StrictMode = r, k.Suspense = c, k.isAsyncMode = function(y) {
4481
+ return D.AsyncMode = l, D.ConcurrentMode = u, D.ContextConsumer = s, D.ContextProvider = o, D.Element = t, D.ForwardRef = m, D.Fragment = a, D.Lazy = g, D.Memo = p, D.Portal = n, D.Profiler = i, D.StrictMode = r, D.Suspense = c, D.isAsyncMode = function(y) {
4482
4482
  return N(y) || E(y) === l;
4483
- }, k.isConcurrentMode = N, k.isContextConsumer = function(y) {
4483
+ }, D.isConcurrentMode = N, D.isContextConsumer = function(y) {
4484
4484
  return E(y) === s;
4485
- }, k.isContextProvider = function(y) {
4485
+ }, D.isContextProvider = function(y) {
4486
4486
  return E(y) === o;
4487
- }, k.isElement = function(y) {
4487
+ }, D.isElement = function(y) {
4488
4488
  return typeof y == "object" && y !== null && y.$$typeof === t;
4489
- }, k.isForwardRef = function(y) {
4489
+ }, D.isForwardRef = function(y) {
4490
4490
  return E(y) === m;
4491
- }, k.isFragment = function(y) {
4491
+ }, D.isFragment = function(y) {
4492
4492
  return E(y) === a;
4493
- }, k.isLazy = function(y) {
4493
+ }, D.isLazy = function(y) {
4494
4494
  return E(y) === g;
4495
- }, k.isMemo = function(y) {
4495
+ }, D.isMemo = function(y) {
4496
4496
  return E(y) === p;
4497
- }, k.isPortal = function(y) {
4497
+ }, D.isPortal = function(y) {
4498
4498
  return E(y) === n;
4499
- }, k.isProfiler = function(y) {
4499
+ }, D.isProfiler = function(y) {
4500
4500
  return E(y) === i;
4501
- }, k.isStrictMode = function(y) {
4501
+ }, D.isStrictMode = function(y) {
4502
4502
  return E(y) === r;
4503
- }, k.isSuspense = function(y) {
4503
+ }, D.isSuspense = function(y) {
4504
4504
  return E(y) === c;
4505
- }, k.isValidElementType = function(y) {
4505
+ }, D.isValidElementType = function(y) {
4506
4506
  return typeof y == "string" || typeof y == "function" || y === a || y === u || y === i || y === r || y === c || y === d || typeof y == "object" && y !== null && (y.$$typeof === g || y.$$typeof === p || y.$$typeof === o || y.$$typeof === s || y.$$typeof === m || y.$$typeof === b || y.$$typeof === _ || y.$$typeof === x || y.$$typeof === v);
4507
- }, k.typeOf = E, k;
4507
+ }, D.typeOf = E, D;
4508
4508
  }
4509
4509
  Ai.exports = qs();
4510
4510
  var Zs = Ai.exports, Ti = Zs, Xs = {
@@ -4538,14 +4538,14 @@ var Tn;
4538
4538
  (function(e) {
4539
4539
  e.formatDate = "FormattedDateParts", e.formatTime = "FormattedTimeParts", e.formatNumber = "FormattedNumberParts", e.formatList = "FormattedListParts";
4540
4540
  })(Tn || (Tn = {}));
4541
- function Mi(e) {
4541
+ function wi(e) {
4542
4542
  var t = function(n) {
4543
4543
  var a = he(), r = n.value, i = n.children, o = nt(n, ["value", "children"]), s = typeof r == "string" ? new Date(r || 0) : r, l = e === "formatDate" ? a.formatDateToParts(s, o) : a.formatTimeToParts(s, o);
4544
4544
  return i(l);
4545
4545
  };
4546
4546
  return t.displayName = Tn[e], t;
4547
4547
  }
4548
- function wt(e) {
4548
+ function Mt(e) {
4549
4549
  var t = function(n) {
4550
4550
  var a = he(), r = n.value, i = n.children, o = nt(
4551
4551
  n,
@@ -4558,7 +4558,7 @@ function wt(e) {
4558
4558
  };
4559
4559
  return t.displayName = An[e], t;
4560
4560
  }
4561
- function wi(e) {
4561
+ function Mi(e) {
4562
4562
  return e && Object.keys(e).reduce(function(t, n) {
4563
4563
  var a = e[n];
4564
4564
  return t[n] = hi(a) ? Vs(a) : a, t;
@@ -4567,7 +4567,7 @@ function wi(e) {
4567
4567
  var za = function(e, t, n, a) {
4568
4568
  for (var r = [], i = 4; i < arguments.length; i++)
4569
4569
  r[i - 4] = arguments[i];
4570
- var o = wi(a), s = Cn.apply(void 0, ce([
4570
+ var o = Mi(a), s = Cn.apply(void 0, ce([
4571
4571
  e,
4572
4572
  t,
4573
4573
  n,
@@ -4575,7 +4575,7 @@ var za = function(e, t, n, a) {
4575
4575
  ], r, !1));
4576
4576
  return Array.isArray(s) ? At.toArray(s) : s;
4577
4577
  }, Wa = function(e, t) {
4578
- var n = e.defaultRichTextElements, a = nt(e, ["defaultRichTextElements"]), r = wi(n), i = js(C(C(C({}, Ci), a), { defaultRichTextElements: r }), t), o = {
4578
+ var n = e.defaultRichTextElements, a = nt(e, ["defaultRichTextElements"]), r = Mi(n), i = js(C(C(C({}, Ci), a), { defaultRichTextElements: r }), t), o = {
4579
4579
  locale: i.locale,
4580
4580
  timeZone: i.timeZone,
4581
4581
  fallbackOnEmptyString: i.fallbackOnEmptyString,
@@ -4649,13 +4649,13 @@ function Ni(e) {
4649
4649
  Ni.displayName = "FormattedMessage";
4650
4650
  var L = jn(Ni, tl);
4651
4651
  L.displayName = "MemoizedFormattedMessage";
4652
- var Oi = wt("formatDate");
4653
- wt("formatTime");
4654
- var Te = wt("formatNumber");
4655
- wt("formatList");
4656
- wt("formatDisplayName");
4657
- Mi("formatDate");
4658
- Mi("formatTime");
4652
+ var Oi = Mt("formatDate");
4653
+ Mt("formatTime");
4654
+ var Te = Mt("formatNumber");
4655
+ Mt("formatList");
4656
+ Mt("formatDisplayName");
4657
+ wi("formatDate");
4658
+ wi("formatTime");
4659
4659
  const nl = {
4660
4660
  "accessibility.amex-card.aria-label": "American Express-Karte akzeptiert",
4661
4661
  "accessibility.animation-control-instructions": "Automatische Animation der Zahlungspläne aktiv. Bewegen Sie den Mauszeiger über oder navigieren Sie mit den Pfeiltasten, um die Animation zu stoppen.",
@@ -5068,7 +5068,7 @@ const nl = {
5068
5068
  ),
5069
5069
  0
5070
5070
  ).toString().replace("-", "A"), ml = (e) => Date.now() - e >= 36e5;
5071
- var fl = { BUILD_VERSION: "v4.0.11" };
5071
+ var fl = { BUILD_VERSION: "v4.0.12" };
5072
5072
  const dl = () => ({
5073
5073
  setCache: (i, o) => {
5074
5074
  const s = Date.now();
@@ -5128,7 +5128,7 @@ const hl = (e, t) => e.eligible && t ? e.purchase_amount >= (t == null ? void 0
5128
5128
  }) : e.filter(
5129
5129
  (n) => !(n.installments_count === 1 && n.deferred_days === 0 && n.deferred_months === 0)
5130
5130
  );
5131
- var _l = { BUILD_VERSION: "v4.0.11" };
5131
+ var _l = { BUILD_VERSION: "v4.0.12" };
5132
5132
  const Pi = (e, { domain: t, merchantId: n }, a, r, i) => {
5133
5133
  var E, N;
5134
5134
  const [o, s] = Q([]), [l, u] = Q(ue.PENDING), { getCache: m, setCache: c, createKey: d, clearCache: p } = dl(), g = d({
@@ -5149,15 +5149,15 @@ const Pi = (e, { domain: t, merchantId: n }, a, r, i) => {
5149
5149
  r && (y = {
5150
5150
  country: r
5151
5151
  });
5152
- let M = null;
5153
- i && (M = {
5152
+ let w = null;
5153
+ i && (w = {
5154
5154
  country: i
5155
5155
  }), v && !_ && (s(v), u(ue.SUCCESS)), _ && p(), v || pl(
5156
5156
  {
5157
5157
  purchase_amount: e,
5158
5158
  queries: x,
5159
5159
  billing_address: y,
5160
- shipping_address: M
5160
+ shipping_address: w
5161
5161
  },
5162
5162
  {
5163
5163
  Authorization: `Alma-Merchant-Auth ${n}`,
@@ -5306,8 +5306,8 @@ function Tl(e, t, n) {
5306
5306
  function Il(e, t, n) {
5307
5307
  return new Tl(e, t, n);
5308
5308
  }
5309
- var Ml = Il;
5310
- const wl = /* @__PURE__ */ Mt(Ml);
5309
+ var wl = Il;
5310
+ const Ml = /* @__PURE__ */ wt(wl);
5311
5311
  var Nl = /[A-Z]/g, Ol = /^ms-/, rn = {};
5312
5312
  function Pl(e) {
5313
5313
  return "-" + e.toLowerCase();
@@ -5390,37 +5390,37 @@ function Hl() {
5390
5390
  }
5391
5391
  Hi.exports = Hl()();
5392
5392
  var Qn = Hi.exports;
5393
- const D = /* @__PURE__ */ Mt(Qn), oe = D.oneOfType([D.string, D.number]), Di = {
5394
- all: D.bool,
5395
- grid: D.bool,
5396
- aural: D.bool,
5397
- braille: D.bool,
5398
- handheld: D.bool,
5399
- print: D.bool,
5400
- projection: D.bool,
5401
- screen: D.bool,
5402
- tty: D.bool,
5403
- tv: D.bool,
5404
- embossed: D.bool
5405
- }, Dl = {
5406
- orientation: D.oneOf(["portrait", "landscape"]),
5407
- scan: D.oneOf(["progressive", "interlace"]),
5408
- aspectRatio: D.string,
5409
- deviceAspectRatio: D.string,
5393
+ const k = /* @__PURE__ */ wt(Qn), oe = k.oneOfType([k.string, k.number]), ki = {
5394
+ all: k.bool,
5395
+ grid: k.bool,
5396
+ aural: k.bool,
5397
+ braille: k.bool,
5398
+ handheld: k.bool,
5399
+ print: k.bool,
5400
+ projection: k.bool,
5401
+ screen: k.bool,
5402
+ tty: k.bool,
5403
+ tv: k.bool,
5404
+ embossed: k.bool
5405
+ }, kl = {
5406
+ orientation: k.oneOf(["portrait", "landscape"]),
5407
+ scan: k.oneOf(["progressive", "interlace"]),
5408
+ aspectRatio: k.string,
5409
+ deviceAspectRatio: k.string,
5410
5410
  height: oe,
5411
5411
  deviceHeight: oe,
5412
5412
  width: oe,
5413
5413
  deviceWidth: oe,
5414
- color: D.bool,
5415
- colorIndex: D.bool,
5416
- monochrome: D.bool,
5414
+ color: k.bool,
5415
+ colorIndex: k.bool,
5416
+ monochrome: k.bool,
5417
5417
  resolution: oe,
5418
- type: Object.keys(Di)
5419
- }, ua = Dl, { type: Jm } = ua, kl = Lt(ua, ["type"]), Fl = Ne({
5420
- minAspectRatio: D.string,
5421
- maxAspectRatio: D.string,
5422
- minDeviceAspectRatio: D.string,
5423
- maxDeviceAspectRatio: D.string,
5418
+ type: Object.keys(ki)
5419
+ }, ua = kl, { type: Jm } = ua, Dl = Lt(ua, ["type"]), Fl = Ne({
5420
+ minAspectRatio: k.string,
5421
+ maxAspectRatio: k.string,
5422
+ minDeviceAspectRatio: k.string,
5423
+ maxDeviceAspectRatio: k.string,
5424
5424
  minHeight: oe,
5425
5425
  maxHeight: oe,
5426
5426
  minDeviceHeight: oe,
@@ -5429,15 +5429,15 @@ const D = /* @__PURE__ */ Mt(Qn), oe = D.oneOfType([D.string, D.number]), Di = {
5429
5429
  maxWidth: oe,
5430
5430
  minDeviceWidth: oe,
5431
5431
  maxDeviceWidth: oe,
5432
- minColor: D.number,
5433
- maxColor: D.number,
5434
- minColorIndex: D.number,
5435
- maxColorIndex: D.number,
5436
- minMonochrome: D.number,
5437
- maxMonochrome: D.number,
5432
+ minColor: k.number,
5433
+ maxColor: k.number,
5434
+ minColorIndex: k.number,
5435
+ maxColorIndex: k.number,
5436
+ minMonochrome: k.number,
5437
+ maxMonochrome: k.number,
5438
5438
  minResolution: oe,
5439
5439
  maxResolution: oe
5440
- }, kl), Bl = Ne(Ne({}, Di), Fl);
5440
+ }, Dl), Bl = Ne(Ne({}, ki), Fl);
5441
5441
  var Ul = {
5442
5442
  all: Bl
5443
5443
  };
@@ -5450,8 +5450,8 @@ const $l = (e) => `not ${e}`, Gl = (e, t) => {
5450
5450
  const a = e[n];
5451
5451
  a != null && t.push(Gl(n, a));
5452
5452
  }), zl(t);
5453
- }, jl = yt(void 0), Vl = (e) => e.query || Wl(e), Ya = (e) => e ? Object.keys(e).reduce((n, a) => (n[Li(a)] = e[a], n), {}) : void 0, ki = () => {
5454
- const e = ke(!1);
5453
+ }, jl = yt(void 0), Vl = (e) => e.query || Wl(e), Ya = (e) => e ? Object.keys(e).reduce((n, a) => (n[Li(a)] = e[a], n), {}) : void 0, Di = () => {
5454
+ const e = De(!1);
5455
5455
  return X(() => {
5456
5456
  e.current = !0;
5457
5457
  }, []), e.current;
@@ -5468,7 +5468,7 @@ const $l = (e) => `not ${e}`, Gl = (e, t) => {
5468
5468
  n !== r && a(r);
5469
5469
  }, [e]), n;
5470
5470
  }, Xl = (e, t) => {
5471
- const n = () => wl(e, t || {}, !!t), [a, r] = Q(n), i = ki();
5471
+ const n = () => Ml(e, t || {}, !!t), [a, r] = Q(n), i = Di();
5472
5472
  return X(() => {
5473
5473
  if (i) {
5474
5474
  const o = n();
@@ -5492,7 +5492,7 @@ const $l = (e) => `not ${e}`, Gl = (e, t) => {
5492
5492
  if (!r)
5493
5493
  throw new Error("Invalid or missing MediaQuery!");
5494
5494
  const i = Xl(r, a), o = Kl(i);
5495
- return ki(), X(() => {
5495
+ return Di(), X(() => {
5496
5496
  }, [o]), X(() => () => {
5497
5497
  i && i.dispose();
5498
5498
  }, []), o;
@@ -5534,7 +5534,7 @@ var Fi = { exports: {} };
5534
5534
  })();
5535
5535
  })(Fi);
5536
5536
  var Yl = Fi.exports;
5537
- const R = /* @__PURE__ */ Mt(Yl), Ql = "_loadingIndicator_1fdeg_1", eu = {
5537
+ const R = /* @__PURE__ */ wt(Yl), Ql = "_loadingIndicator_1fdeg_1", eu = {
5538
5538
  loadingIndicator: Ql
5539
5539
  }, tu = ({ className: e }) => /* @__PURE__ */ f.createElement("div", { className: R(eu.loadingIndicator, e), "data-testid": "loader" }, /* @__PURE__ */ f.createElement(
5540
5540
  "svg",
@@ -5593,10 +5593,10 @@ var Bi = { exports: {} };
5593
5593
  })();
5594
5594
  })(Bi);
5595
5595
  var nu = Bi.exports;
5596
- const Qa = /* @__PURE__ */ Mt(nu);
5596
+ const Qa = /* @__PURE__ */ wt(nu);
5597
5597
  var In = { exports: {} }, Ve = {};
5598
5598
  const ea = /* @__PURE__ */ Si(No);
5599
- var Mn = { exports: {} }, Ce = {}, wn = { exports: {} };
5599
+ var wn = { exports: {} }, Ce = {}, Mn = { exports: {} };
5600
5600
  (function(e, t) {
5601
5601
  Object.defineProperty(t, "__esModule", {
5602
5602
  value: !0
@@ -5651,8 +5651,8 @@ var Mn = { exports: {} }, Ce = {}, wn = { exports: {} };
5651
5651
  return d.filter(u);
5652
5652
  }
5653
5653
  e.exports = t.default;
5654
- })(wn, wn.exports);
5655
- var Ui = wn.exports;
5654
+ })(Mn, Mn.exports);
5655
+ var Ui = Mn.exports;
5656
5656
  Object.defineProperty(Ce, "__esModule", {
5657
5657
  value: !0
5658
5658
  });
@@ -5791,8 +5791,8 @@ Se.log = Tu;
5791
5791
  Se.assertNodeList = Gi;
5792
5792
  Se.setElement = Iu;
5793
5793
  Se.validateElement = ta;
5794
- Se.hide = Mu;
5795
- Se.show = wu;
5794
+ Se.hide = wu;
5795
+ Se.show = Mu;
5796
5796
  Se.documentNotReadyOrSSRTesting = Nu;
5797
5797
  var Eu = hu, xu = Su(Eu), Cu = xe;
5798
5798
  function Su(e) {
@@ -5824,7 +5824,7 @@ function ta(e) {
5824
5824
  var t = e || ye;
5825
5825
  return t ? Array.isArray(t) || t instanceof HTMLCollection || t instanceof NodeList ? t : [t] : ((0, xu.default)(!1, ["react-modal: App element is not defined.", "Please use `Modal.setAppElement(el)` or set `appElement={el}`.", "This is needed so screen readers don't see main content", "when modal is opened. It is not recommended, but you can opt-out", "by setting `ariaHideApp={false}`."].join(" ")), []);
5826
5826
  }
5827
- function Mu(e) {
5827
+ function wu(e) {
5828
5828
  var t = !0, n = !1, a = void 0;
5829
5829
  try {
5830
5830
  for (var r = ta(e)[Symbol.iterator](), i; !(t = (i = r.next()).done); t = !0) {
@@ -5842,7 +5842,7 @@ function Mu(e) {
5842
5842
  }
5843
5843
  }
5844
5844
  }
5845
- function wu(e) {
5845
+ function Mu(e) {
5846
5846
  var t = !0, n = !1, a = void 0;
5847
5847
  try {
5848
5848
  for (var r = ta(e)[Symbol.iterator](), i; !(t = (i = r.next()).done); t = !0) {
@@ -5892,7 +5892,7 @@ var Ru = function(t, n) {
5892
5892
  a.forEach(function(r) {
5893
5893
  Ru(n, r), t.add(r);
5894
5894
  });
5895
- }, Du = function(t, n, a) {
5895
+ }, ku = function(t, n, a) {
5896
5896
  a.forEach(function(r) {
5897
5897
  Lu(n, r), n[r] === 0 && t.remove(r);
5898
5898
  });
@@ -5901,7 +5901,7 @@ ot.add = function(t, n) {
5901
5901
  return Hu(t.classList, t.nodeName.toLowerCase() == "html" ? ft : dt, n.split(" "));
5902
5902
  };
5903
5903
  ot.remove = function(t, n) {
5904
- return Du(t.classList, t.nodeName.toLowerCase() == "html" ? ft : dt, n.split(" "));
5904
+ return ku(t.classList, t.nodeName.toLowerCase() == "html" ? ft : dt, n.split(" "));
5905
5905
  };
5906
5906
  var st = {};
5907
5907
  Object.defineProperty(st, "__esModule", {
@@ -5909,13 +5909,13 @@ Object.defineProperty(st, "__esModule", {
5909
5909
  });
5910
5910
  st.log = Fu;
5911
5911
  st.resetState = Bu;
5912
- function ku(e, t) {
5912
+ function Du(e, t) {
5913
5913
  if (!(e instanceof t))
5914
5914
  throw new TypeError("Cannot call a class as a function");
5915
5915
  }
5916
5916
  var zi = function e() {
5917
5917
  var t = this;
5918
- ku(this, e), this.register = function(n) {
5918
+ Du(this, e), this.register = function(n) {
5919
5919
  t.openInstances.indexOf(n) === -1 && (t.openInstances.push(n), t.emit("register"));
5920
5920
  }, this.deregister = function(n) {
5921
5921
  var a = t.openInstances.indexOf(n);
@@ -6012,7 +6012,7 @@ $u.default.subscribe(ju);
6012
6012
  function y(I) {
6013
6013
  return I && I.__esModule ? I : { default: I };
6014
6014
  }
6015
- function M(I, A) {
6015
+ function w(I, A) {
6016
6016
  if (!(I instanceof A))
6017
6017
  throw new TypeError("Cannot call a class as a function");
6018
6018
  }
@@ -6033,10 +6033,10 @@ $u.default.subscribe(ju);
6033
6033
  return A.code === "Tab" || A.keyCode === 9;
6034
6034
  }, Y = function(A) {
6035
6035
  return A.code === "Escape" || A.keyCode === 27;
6036
- }, U = 0, we = function(I) {
6036
+ }, U = 0, Me = function(I) {
6037
6037
  ge(A, I);
6038
6038
  function A(W) {
6039
- M(this, A);
6039
+ w(this, A);
6040
6040
  var h = z(this, (A.__proto__ || Object.getPrototypeOf(A)).call(this, W));
6041
6041
  return h.setOverlayRef = function(S) {
6042
6042
  h.overlay = S, h.props.overlayRef && h.props.overlayRef(S);
@@ -6159,13 +6159,13 @@ $u.default.subscribe(ju);
6159
6159
  }
6160
6160
  }]), A;
6161
6161
  }(i.Component);
6162
- we.defaultProps = {
6162
+ Me.defaultProps = {
6163
6163
  style: {
6164
6164
  overlay: {},
6165
6165
  content: {}
6166
6166
  },
6167
6167
  defaultStyles: {}
6168
- }, we.propTypes = {
6168
+ }, Me.propTypes = {
6169
6169
  isOpen: s.default.bool.isRequired,
6170
6170
  defaultStyles: s.default.shape({
6171
6171
  content: s.default.object,
@@ -6202,9 +6202,9 @@ $u.default.subscribe(ju);
6202
6202
  overlayElement: s.default.func,
6203
6203
  contentElement: s.default.func,
6204
6204
  testId: s.default.string
6205
- }, t.default = we, e.exports = t.default;
6206
- })(Mn, Mn.exports);
6207
- var Vu = Mn.exports;
6205
+ }, t.default = Me, e.exports = t.default;
6206
+ })(wn, wn.exports);
6207
+ var Vu = wn.exports;
6208
6208
  function Wi() {
6209
6209
  var e = this.constructor.getDerivedStateFromProps(this.props, this.state);
6210
6210
  e != null && this.setState(e);
@@ -6504,7 +6504,7 @@ Ve.default = Ot;
6504
6504
  t.default = a.default, e.exports = t.default;
6505
6505
  })(In, In.exports);
6506
6506
  var lc = In.exports;
6507
- const lr = /* @__PURE__ */ Mt(lc);
6507
+ const lr = /* @__PURE__ */ wt(lc);
6508
6508
  function uc({ color: e = "#fff", className: t }) {
6509
6509
  return /* @__PURE__ */ f.createElement(
6510
6510
  "svg",
@@ -6664,11 +6664,11 @@ function Ic(e, t) {
6664
6664
  Ac(e)
6665
6665
  );
6666
6666
  }
6667
- function Mc(e) {
6667
+ function wc(e) {
6668
6668
  return e * xc;
6669
6669
  }
6670
- const wc = "_openModalInfo_a4893_1", Nc = {
6671
- openModalInfo: wc
6670
+ const Mc = "_openModalInfo_a4893_1", Nc = {
6671
+ openModalInfo: Mc
6672
6672
  }, Zi = (e) => {
6673
6673
  const {
6674
6674
  deferred_days: t,
@@ -6794,7 +6794,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
6794
6794
  dueDate: /* @__PURE__ */ f.createElement(
6795
6795
  Oi,
6796
6796
  {
6797
- value: Mc(l[0].due_date),
6797
+ value: wc(l[0].due_date),
6798
6798
  day: "numeric",
6799
6799
  month: "long",
6800
6800
  year: "numeric"
@@ -6908,12 +6908,12 @@ const wc = "_openModalInfo_a4893_1", Nc = {
6908
6908
  { days: e.deferred_days }
6909
6909
  )
6910
6910
  }
6911
- ) : `${e.installments_count}x`, Rc = "_buttons_1oh6v_1", Lc = "_active_1oh6v_56", Hc = "_textButton_1oh6v_62", ln = {
6911
+ ) : `${e.installments_count}x`, Rc = "_buttons_1mz4n_1", Lc = "_active_1mz4n_58", Hc = "_textButton_1mz4n_70", ln = {
6912
6912
  buttons: Rc,
6913
6913
  active: Lc,
6914
6914
  textButton: Hc
6915
- }, Dc = ({ eligibilityPlans: e, currentPlanIndex: t, setCurrentPlanIndex: n, id: a }) => {
6916
- const r = he(), i = ke([]), o = ke(!1);
6915
+ }, kc = ({ eligibilityPlans: e, currentPlanIndex: t, setCurrentPlanIndex: n, id: a }) => {
6916
+ const r = he(), i = De([]), o = De(!1);
6917
6917
  X(() => {
6918
6918
  i.current = i.current.slice(0, e.length);
6919
6919
  }, [e.length]), X(() => {
@@ -6966,8 +6966,8 @@ const wc = "_openModalInfo_a4893_1", Nc = {
6966
6966
  /* @__PURE__ */ f.createElement("span", { className: ln.textButton }, Zi(l))
6967
6967
  ))
6968
6968
  ));
6969
- }, kc = "_installment_yfot3_1", Fc = "_date_yfot3_11", Bc = "_dot_yfot3_17", Uc = "_isCurrent_yfot3_26", $c = "_bold_yfot3_30", lt = {
6970
- installment: kc,
6969
+ }, Dc = "_installment_yfot3_1", Fc = "_date_yfot3_11", Bc = "_dot_yfot3_17", Uc = "_isCurrent_yfot3_26", $c = "_bold_yfot3_30", lt = {
6970
+ installment: Dc,
6971
6971
  date: Fc,
6972
6972
  dot: Bc,
6973
6973
  isCurrent: Uc,
@@ -6980,7 +6980,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
6980
6980
  month: "long",
6981
6981
  year: "numeric"
6982
6982
  }
6983
- )), /* @__PURE__ */ f.createElement("div", { className: R({ [lt.bold]: t === 0 }) }, /* @__PURE__ */ f.createElement(Te, { value: e.total_amount / 100, style: "currency", currency: "EUR" }))), zc = "_container_1jhi6_1", Wc = "_total_1jhi6_18", jc = "_creditInfo_1jhi6_25", Vc = "_creditInfoTitle_1jhi6_36", qc = "_fees_1jhi6_40", Zc = "_creditCost_1jhi6_50", Xc = "_creditInfoLegalText_1jhi6_54", Ue = {
6983
+ )), /* @__PURE__ */ f.createElement("div", { className: R({ [lt.bold]: t === 0 }) }, /* @__PURE__ */ f.createElement(Te, { value: e.total_amount / 100, style: "currency", currency: "EUR" }))), zc = "_container_w9y33_1", Wc = "_total_w9y33_21", jc = "_creditInfo_w9y33_28", Vc = "_creditInfoTitle_w9y33_39", qc = "_fees_w9y33_43", Zc = "_creditCost_w9y33_53", Xc = "_creditInfoLegalText_w9y33_57", Ue = {
6984
6984
  container: zc,
6985
6985
  total: Wc,
6986
6986
  creditInfo: jc,
@@ -7360,7 +7360,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
7360
7360
  }
7361
7361
  ))))
7362
7362
  )
7363
- ), um = "_title_b7zxp_1", cm = {
7363
+ ), um = "_title_zeoo0_1", cm = {
7364
7364
  title: um
7365
7365
  }, Ji = ({
7366
7366
  isSomePlanDeferred: e,
@@ -7495,7 +7495,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
7495
7495
  }
7496
7496
  )),
7497
7497
  a === ue.SUCCESS && u.length >= 1 && /* @__PURE__ */ f.createElement(f.Fragment, null, /* @__PURE__ */ f.createElement("section", { "aria-labelledby": "payment-plans-title" }, /* @__PURE__ */ f.createElement(
7498
- Dc,
7498
+ kc,
7499
7499
  {
7500
7500
  id: "payment-plans",
7501
7501
  eligibilityPlans: u,
@@ -7536,7 +7536,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
7536
7536
  line1: Am,
7537
7537
  line2: Tm
7538
7538
  }, Im = ({ className: e }) => /* @__PURE__ */ f.createElement("div", { className: R(cn.loadingIndicator, e), "data-testid": "loader" }, /* @__PURE__ */ f.createElement("div", { className: cn.line1 }), /* @__PURE__ */ f.createElement("div", { className: cn.line2 })), Qi = () => {
7539
- const [e, t] = Q(""), n = ke(null), a = _t((i, o = 1e3) => {
7539
+ const [e, t] = Q(""), n = De(null), a = _t((i, o = 1e3) => {
7540
7540
  n.current && clearTimeout(n.current), t(i), n.current = setTimeout(() => {
7541
7541
  t(""), n.current = null;
7542
7542
  }, o);
@@ -7553,7 +7553,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
7553
7553
  announce: a,
7554
7554
  clearAnnouncement: r
7555
7555
  };
7556
- }, Mm = ({
7556
+ }, wm = ({
7557
7557
  status: e,
7558
7558
  hasUserInteracted: t,
7559
7559
  eligiblePlansCount: n,
@@ -7572,7 +7572,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
7572
7572
  return () => clearTimeout(l);
7573
7573
  }
7574
7574
  }, [e, t, n, r, i, a]);
7575
- }, wm = (e, t) => {
7575
+ }, Mm = (e, t) => {
7576
7576
  const [n, a] = Q(0), [r, i] = Q(!0), [o, s] = Q(1), l = typeof window != "undefined" && window.matchMedia && window.matchMedia("(prefers-reduced-motion: reduce)").matches, u = t < 0 ? -1 : Math.max(t, 1e3);
7577
7577
  return X(() => {
7578
7578
  let m, c = !0;
@@ -7619,14 +7619,14 @@ const wc = "_openModalInfo_a4893_1", Nc = {
7619
7619
  paymentInfo: `${$e}-payment-info`,
7620
7620
  activeOption: `${$e}-active-option`,
7621
7621
  knowMoreAction: `${$e}-know-more-action`
7622
- }, Om = "_widgetContainer_1dfil_1", Pm = "_primaryContainer_1dfil_13", Rm = "_paymentPlans_1dfil_19", Lm = "_planButton_1dfil_29", Hm = "_monochrome_1dfil_81", Dm = "_notEligible_1dfil_87", km = "_active_1dfil_101", Fm = "_hideBorder_1dfil_116", Bm = "_infoContainer_1dfil_120", Um = "_info_1dfil_120", $m = "_announceText_1dfil_135", Gm = "_pending_1dfil_156", zm = "_clickable_1dfil_160", Wm = "_knowMore_1dfil_173", J = {
7622
+ }, Om = "_widgetContainer_18cko_1", Pm = "_primaryContainer_18cko_13", Rm = "_paymentPlans_18cko_19", Lm = "_planButton_18cko_29", Hm = "_monochrome_18cko_81", km = "_notEligible_18cko_87", Dm = "_active_18cko_101", Fm = "_hideBorder_18cko_116", Bm = "_infoContainer_18cko_120", Um = "_info_18cko_120", $m = "_announceText_18cko_141", Gm = "_pending_18cko_162", zm = "_clickable_18cko_166", Wm = "_knowMore_18cko_179", J = {
7623
7623
  widgetContainer: Om,
7624
7624
  primaryContainer: Pm,
7625
7625
  paymentPlans: Rm,
7626
7626
  planButton: Lm,
7627
7627
  monochrome: Hm,
7628
- notEligible: Dm,
7629
- active: km,
7628
+ notEligible: km,
7629
+ active: Dm,
7630
7630
  hideBorder: Fm,
7631
7631
  infoContainer: Bm,
7632
7632
  info: Um,
@@ -7654,21 +7654,21 @@ const wc = "_openModalInfo_a4893_1", Nc = {
7654
7654
  t,
7655
7655
  s,
7656
7656
  l
7657
- ), v = De(
7657
+ ), v = ke(
7658
7658
  () => p.filter((O) => O.eligible),
7659
7659
  [p]
7660
7660
  ), b = Nm({
7661
7661
  eligibilityPlans: p,
7662
7662
  suggestedPaymentPlan: i != null ? i : 0
7663
- }), _ = i !== void 0, [x, E] = Q(!1), { announceText: N, announce: y } = Qi(), M = () => E(!0), z = (O) => {
7663
+ }), _ = i !== void 0, [x, E] = Q(!1), { announceText: N, announce: y } = Qi(), w = () => E(!0), z = (O) => {
7664
7664
  E(!1), c == null || c(O);
7665
- }, [ge, F] = Q(!1), ee = De(
7665
+ }, [ge, F] = Q(!1), ee = ke(
7666
7666
  () => p.reduce(
7667
7667
  (O, B, q) => B.eligible ? [...O, q] : O,
7668
7668
  []
7669
7669
  ),
7670
7670
  [p]
7671
- ), Y = De(() => _ && !u ? -1 : u != null ? u : jm, [u, _]), { current: U, onHover: we, onLeave: I } = wm(ee, Y), A = ke([]);
7671
+ ), Y = ke(() => _ && !u ? -1 : u != null ? u : jm, [u, _]), { current: U, onHover: Me, onLeave: I } = Mm(ee, Y), A = De([]);
7672
7672
  X(() => {
7673
7673
  A.current = A.current.slice(0, p.length);
7674
7674
  }, [p.length]), X(() => {
@@ -7683,15 +7683,15 @@ const wc = "_openModalInfo_a4893_1", Nc = {
7683
7683
  y(q, 1e3);
7684
7684
  }
7685
7685
  }, [U, d, g, y]), X(() => {
7686
- g === ue.SUCCESS && _ && (we(b), I());
7687
- }, [g]), Mm({
7686
+ g === ue.SUCCESS && _ && (Me(b), I());
7687
+ }, [g]), wm({
7688
7688
  status: g,
7689
7689
  hasUserInteracted: ge,
7690
7690
  eligiblePlansCount: v.length,
7691
7691
  transitionDelay: u
7692
7692
  });
7693
7693
  const W = (O) => {
7694
- F(!0), we(O);
7694
+ F(!0), Me(O);
7695
7695
  }, h = () => {
7696
7696
  ge || I();
7697
7697
  }, S = (O, B) => {
@@ -7703,11 +7703,11 @@ const wc = "_openModalInfo_a4893_1", Nc = {
7703
7703
  if (me = q + 1, me >= ee.length) return;
7704
7704
  } else if (me = q - 1, me < 0) return;
7705
7705
  const te = ee[me];
7706
- F(!0), we(te), (Pt = A.current[te]) == null || Pt.focus();
7706
+ F(!0), Me(te), (Pt = A.current[te]) == null || Pt.focus();
7707
7707
  }, K = (O) => {
7708
7708
  var q;
7709
7709
  const B = O === "first" ? ee[0] : ee[ee.length - 1];
7710
- F(!0), we(B), (q = A.current[B]) == null || q.focus();
7710
+ F(!0), Me(B), (q = A.current[B]) == null || q.focus();
7711
7711
  }, ne = (O) => {
7712
7712
  const B = ee.findIndex((q) => q === O);
7713
7713
  return B === -1 ? 0 : B;
@@ -7717,12 +7717,13 @@ const wc = "_openModalInfo_a4893_1", Nc = {
7717
7717
  if (n && v.length === 0 || p.length === 0 || g === ue.FAILED)
7718
7718
  return null;
7719
7719
  const V = (O) => {
7720
- O.preventDefault(), v.length > 0 && M();
7720
+ O.preventDefault(), v.length > 0 && w();
7721
7721
  };
7722
7722
  return /* @__PURE__ */ f.createElement(f.Fragment, null, /* @__PURE__ */ f.createElement(
7723
7723
  "main",
7724
7724
  {
7725
7725
  role: "main",
7726
+ id: "alma-widget-payment-plans-main-container",
7726
7727
  "aria-label": d.formatMessage({
7727
7728
  id: "accessibility.payment-widget.main.aria-label",
7728
7729
  defaultMessage: "Sélection des options de paiement Alma"
@@ -7804,7 +7805,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
7804
7805
  me && (te.key === "ArrowLeft" ? (te.preventDefault(), S("prev", B)) : te.key === "ArrowRight" ? (te.preventDefault(), S("next", B)) : te.key === "Home" ? (te.preventDefault(), K("first")) : te.key === "End" && (te.preventDefault(), K("last")));
7805
7806
  },
7806
7807
  onClick: (te) => {
7807
- te.stopPropagation(), me && (we(B), v.length > 0 && M());
7808
+ te.stopPropagation(), me && (Me(B), v.length > 0 && w());
7808
7809
  },
7809
7810
  className: R(J.planButton, {
7810
7811
  [R(J.active, Le.activeOption)]: q,
@@ -7884,7 +7885,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
7884
7885
  onModalClose: b
7885
7886
  } = n;
7886
7887
  if (a) {
7887
- const _ = wa(a);
7888
+ const _ = Ma(a);
7888
7889
  _.render(
7889
7890
  /* @__PURE__ */ f.createElement(ja, { locale: g }, /* @__PURE__ */ f.createElement(
7890
7891
  Vm,
@@ -7922,7 +7923,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
7922
7923
  b && (b.unmount(), Je.delete(a)), d == null || d(v);
7923
7924
  }, g = () => {
7924
7925
  if (a) {
7925
- const v = wa(a);
7926
+ const v = Ma(a);
7926
7927
  v.render(
7927
7928
  /* @__PURE__ */ f.createElement(ja, { locale: l }, /* @__PURE__ */ f.createElement(
7928
7929
  Cm,