@alma/widgets 4.0.5 → 4.0.6

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
@@ -1,38 +1,38 @@
1
- var Jo = Object.defineProperty, Qo = Object.defineProperties;
1
+ var Ja = Object.defineProperty, Qa = Object.defineProperties;
2
2
  var ei = Object.getOwnPropertyDescriptors;
3
- var It = Object.getOwnPropertySymbols;
3
+ var Ct = Object.getOwnPropertySymbols;
4
4
  var nr = Object.prototype.hasOwnProperty, rr = Object.prototype.propertyIsEnumerable;
5
- var tr = (e, t, n) => t in e ? Jo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, xe = (e, t) => {
5
+ var tr = (e, t, n) => t in e ? Ja(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, xe = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
7
  nr.call(t, n) && tr(e, n, t[n]);
8
- if (It)
9
- for (var n of It(t))
8
+ if (Ct)
9
+ for (var n of Ct(t))
10
10
  rr.call(t, n) && tr(e, n, t[n]);
11
11
  return e;
12
- }, ar = (e, t) => Qo(e, ei(t));
12
+ }, or = (e, t) => Qa(e, ei(t));
13
13
  var Ot = (e, t) => {
14
14
  var n = {};
15
15
  for (var r in e)
16
16
  nr.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
17
- if (e != null && It)
18
- for (var r of It(e))
17
+ if (e != null && Ct)
18
+ for (var r of Ct(e))
19
19
  t.indexOf(r) < 0 && rr.call(e, r) && (n[r] = e[r]);
20
20
  return n;
21
21
  };
22
- var or = (e, t, n) => new Promise((r, a) => {
23
- var o = (l) => {
22
+ var ar = (e, t, n) => new Promise((r, o) => {
23
+ var a = (l) => {
24
24
  try {
25
25
  s(n.next(l));
26
26
  } catch (u) {
27
- a(u);
27
+ o(u);
28
28
  }
29
29
  }, i = (l) => {
30
30
  try {
31
31
  s(n.throw(l));
32
32
  } catch (u) {
33
- a(u);
33
+ o(u);
34
34
  }
35
- }, s = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(o, i);
35
+ }, s = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(a, i);
36
36
  s((n = n.apply(e, t)).next());
37
37
  });
38
38
  var lt = /* @__PURE__ */ ((e) => (e.PaymentPlans = "PaymentPlans", e.Modal = "Modal", e))(lt || {}), ce = /* @__PURE__ */ ((e) => (e.PENDING = "pending", e.SUCCESS = "success", e.FAILED = "failed", e))(ce || {}), be = /* @__PURE__ */ ((e) => (e.en = "en", e["fr-FR"] = "fr-FR", e.fr = "fr", e["de-DE"] = "de-DE", e.de = "de", e.it = "it", e["it-IT"] = "it-IT", e.es = "es", e["es-ES"] = "es-ES", e.pt = "pt", e["pt-PT"] = "pt-PT", e.nl = "nl", e["nl-NL"] = "nl-NL", e["nl-BE"] = "nl-BE", e))(be || {});
@@ -45,14 +45,14 @@ function ie(e) {
45
45
  function ni(e) {
46
46
  return String(ie(e)).replace(".", ",");
47
47
  }
48
- const ri = 800, da = (e) => (e == null ? void 0 : e.installments_count) === 1 && (e == null ? void 0 : e.deferred_days) === 0 && (e == null ? void 0 : e.deferred_months) === 0;
48
+ const ri = 800, ho = (e) => (e == null ? void 0 : e.installments_count) === 1 && (e == null ? void 0 : e.deferred_days) === 0 && (e == null ? void 0 : e.deferred_months) === 0;
49
49
  (function(e) {
50
50
  typeof e.matches != "function" && (e.matches = e.msMatchesSelector || e.mozMatchesSelector || e.webkitMatchesSelector || function(n) {
51
- const r = this, a = (r.document || r.ownerDocument).querySelectorAll(n);
52
- let o = 0;
53
- for (; a[o] && a[o] !== r; )
54
- ++o;
55
- return !!a[o];
51
+ const r = this, o = (r.document || r.ownerDocument).querySelectorAll(n);
52
+ let a = 0;
53
+ for (; o[a] && o[a] !== r; )
54
+ ++a;
55
+ return !!o[a];
56
56
  }), typeof e.closest != "function" && (e.closest = function(n) {
57
57
  let r = this;
58
58
  for (; r && r.nodeType === 1; ) {
@@ -67,23 +67,23 @@ const ri = 800, da = (e) => (e == null ? void 0 : e.installments_count) === 1 &&
67
67
  return this.replace(/^[\s]+|[\s]+$/g, "");
68
68
  });
69
69
  (function(e) {
70
- e.DOMException || ((DOMException = function(a) {
71
- this.message = a;
70
+ e.DOMException || ((DOMException = function(o) {
71
+ this.message = o;
72
72
  }).prototype = new Error());
73
73
  const t = /[\11\12\14\15\40]/;
74
74
  let n = 0;
75
- const r = function(a, o) {
76
- if (o === "")
75
+ const r = function(o, a) {
76
+ if (a === "")
77
77
  throw new DOMException(
78
- `Failed to execute '${a}' on 'DOMTokenList': The token provided must not be empty.`
78
+ `Failed to execute '${o}' on 'DOMTokenList': The token provided must not be empty.`
79
79
  );
80
- if ((n = o.search(t)) !== -1)
80
+ if ((n = a.search(t)) !== -1)
81
81
  throw new DOMException(
82
- `Failed to execute '${a}' on 'DOMTokenList': The token provided ('${o[n]}') contains HTML space characters, which are not valid in tokens.`
82
+ `Failed to execute '${o}' on 'DOMTokenList': The token provided ('${a[n]}') contains HTML space characters, which are not valid in tokens.`
83
83
  );
84
84
  };
85
- typeof DOMTokenList != "function" && function(a) {
86
- const o = a.document, i = a.Object, s = i.prototype.hasOwnProperty, l = i.defineProperty;
85
+ typeof DOMTokenList != "function" && function(o) {
86
+ const a = o.document, i = o.Object, s = i.prototype.hasOwnProperty, l = i.defineProperty;
87
87
  let u = 0, m = 0;
88
88
  const c = function() {
89
89
  if (!u) throw TypeError("Illegal constructor");
@@ -108,9 +108,9 @@ const ri = 800, da = (e) => (e == null ? void 0 : e.installments_count) === 1 &&
108
108
  S && (delete this[R], T.length -= 1, T.value = g);
109
109
  }
110
110
  m = 1, y.className = T.value, m = 0;
111
- }, a.DOMTokenList = c;
111
+ }, o.DOMTokenList = c;
112
112
  function d() {
113
- const _ = a.event, b = _.propertyName;
113
+ const _ = o.event, b = _.propertyName;
114
114
  if (!m && (b === "className" || b === "classList" && !l)) {
115
115
  const E = _.srcElement, R = E[" uCLp"], g = `${E[b]}`, S = g.trim().split(t), k = E[b === "classList" ? " uCL" : "classList"], q = R.length;
116
116
  e: for (var v = 0, y = R.length = S.length, T = 0; v !== y; ++v) {
@@ -179,7 +179,7 @@ const ri = 800, da = (e) => (e == null ? void 0 : e.installments_count) === 1 &&
179
179
  })) : (_.classList = y, _[" uCL"] = y, _[" uCLp"] = b.prototype), _.attachEvent("onpropertychange", d);
180
180
  }
181
181
  try {
182
- a.Object.defineProperty(a.Element.prototype, "classList", {
182
+ o.Object.defineProperty(o.Element.prototype, "classList", {
183
183
  enumerable: 1,
184
184
  get(_) {
185
185
  return s.call(this, "classList") || h(this), this.classList;
@@ -190,34 +190,34 @@ const ri = 800, da = (e) => (e == null ? void 0 : e.installments_count) === 1 &&
190
190
  }
191
191
  });
192
192
  } catch (_) {
193
- a[" uCL"] = h, o.documentElement.firstChild.appendChild(
194
- o.createElement("style")
193
+ o[" uCL"] = h, a.documentElement.firstChild.appendChild(
194
+ a.createElement("style")
195
195
  ).styleSheet.cssText = '_*{x-uCLp:expression(!this.hasOwnProperty("classList")&&window[" uCL"](this))}[class]{x-uCLp/**/:expression(!this.hasOwnProperty("classList")&&window[" uCL"](this))}';
196
196
  }
197
- }(e), function(a, o) {
198
- a.item || (a.item = function(i) {
197
+ }(e), function(o, a) {
198
+ o.item || (o.item = function(i) {
199
199
  function s(l) {
200
200
  return l === void 0 ? null : l;
201
201
  }
202
202
  return s(this[i]);
203
- }), (!a.toggle || o.toggle("a", 0) !== !1) && (a.toggle = function(i) {
203
+ }), (!o.toggle || a.toggle("a", 0) !== !1) && (o.toggle = function(i) {
204
204
  if (arguments.length > 1) return this[arguments[1] ? "add" : "remove"](i), !!arguments[1];
205
205
  const s = this.value;
206
206
  return this.remove(s), s === this.value && (this.add(i), !0);
207
- }), (!a.replace || typeof o.replace("a", "b") != "boolean") && (a.replace = function(i, s) {
207
+ }), (!o.replace || typeof a.replace("a", "b") != "boolean") && (o.replace = function(i, s) {
208
208
  r("replace", i), r("replace", s);
209
209
  const l = this.value;
210
210
  return this.remove(i), this.value !== l && (this.add(s), !0);
211
- }), a.contains || (a.contains = function(i) {
211
+ }), o.contains || (o.contains = function(i) {
212
212
  for (let s = 0, l = this.length; s !== l; ++s) if (this[s] === i) return !0;
213
213
  return !1;
214
- }), a.forEach || (a.forEach = function(i) {
214
+ }), o.forEach || (o.forEach = function(i) {
215
215
  if (arguments.length === 1)
216
216
  for (var s = 0, l = this.length; s !== l; ++s) i(this[s], s, this);
217
217
  else
218
218
  for (var s = 0, l = this.length, u = arguments[1]; s !== l; ++s)
219
219
  i.call(u, this[s], s, this);
220
- }), a.entries || (a.entries = function() {
220
+ }), o.entries || (o.entries = function() {
221
221
  const s = this;
222
222
  return {
223
223
  next() {
@@ -227,14 +227,14 @@ const ri = 800, da = (e) => (e == null ? void 0 : e.installments_count) === 1 &&
227
227
  } : { done: !0 };
228
228
  }
229
229
  };
230
- }), a.values || (a.values = function() {
230
+ }), o.values || (o.values = function() {
231
231
  const s = this;
232
232
  return {
233
233
  next() {
234
234
  return 0 < s.length ? { value: s[0], done: !1 } : { done: !0 };
235
235
  }
236
236
  };
237
- }), a.keys || (a.keys = function() {
237
+ }), o.keys || (o.keys = function() {
238
238
  const s = this;
239
239
  return {
240
240
  next() {
@@ -244,25 +244,25 @@ const ri = 800, da = (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 pt, N, ha, De, sr, pa, an, On, on, sn, _a, ut = {}, ga = [], ai = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, kt = Array.isArray;
247
+ var pt, N, po, De, sr, _o, on, On, an, sn, go, ut = {}, vo = [], oi = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, kt = Array.isArray;
248
248
  function Ae(e, t) {
249
249
  for (var n in t) e[n] = t[n];
250
250
  return e;
251
251
  }
252
- function va(e) {
252
+ function yo(e) {
253
253
  e && e.parentNode && e.parentNode.removeChild(e);
254
254
  }
255
255
  function se(e, t, n) {
256
- var r, a, o, i = {};
257
- for (o in t) o == "key" ? r = t[o] : o == "ref" ? a = t[o] : i[o] = t[o];
258
- if (arguments.length > 2 && (i.children = arguments.length > 3 ? pt.call(arguments, 2) : n), typeof e == "function" && e.defaultProps != null) for (o in e.defaultProps) i[o] === void 0 && (i[o] = e.defaultProps[o]);
259
- return at(e, i, r, a, null);
256
+ var r, o, a, i = {};
257
+ for (a in t) a == "key" ? r = t[a] : a == "ref" ? o = t[a] : i[a] = t[a];
258
+ if (arguments.length > 2 && (i.children = arguments.length > 3 ? pt.call(arguments, 2) : n), typeof e == "function" && e.defaultProps != null) for (a in e.defaultProps) i[a] === void 0 && (i[a] = e.defaultProps[a]);
259
+ return ot(e, i, r, o, null);
260
260
  }
261
- function at(e, t, n, r, a) {
262
- var o = { type: e, props: t, key: n, ref: r, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: a == null ? ++ha : a, __i: -1, __u: 0 };
263
- return a == null && N.vnode != null && N.vnode(o), o;
261
+ function ot(e, t, n, r, o) {
262
+ var a = { type: e, props: t, key: n, ref: r, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: o == null ? ++po : o, __i: -1, __u: 0 };
263
+ return o == null && N.vnode != null && N.vnode(a), a;
264
264
  }
265
- function ya() {
265
+ function bo() {
266
266
  return { current: null };
267
267
  }
268
268
  function le(e) {
@@ -276,38 +276,38 @@ function Xe(e, t) {
276
276
  for (var n; t < e.__k.length; t++) if ((n = e.__k[t]) != null && n.__e != null) return n.__e;
277
277
  return typeof e.type == "function" ? Xe(e) : null;
278
278
  }
279
- function ba(e) {
279
+ function Eo(e) {
280
280
  var t, n;
281
281
  if ((e = e.__) != null && e.__c != null) {
282
282
  for (e.__e = e.__c.base = null, t = 0; t < e.__k.length; t++) if ((n = e.__k[t]) != null && n.__e != null) {
283
283
  e.__e = e.__c.base = n.__e;
284
284
  break;
285
285
  }
286
- return ba(e);
286
+ return Eo(e);
287
287
  }
288
288
  }
289
289
  function ln(e) {
290
- (!e.__d && (e.__d = !0) && De.push(e) && !Dt.__r++ || sr !== N.debounceRendering) && ((sr = N.debounceRendering) || pa)(Dt);
290
+ (!e.__d && (e.__d = !0) && De.push(e) && !Dt.__r++ || sr !== N.debounceRendering) && ((sr = N.debounceRendering) || _o)(Dt);
291
291
  }
292
292
  function Dt() {
293
- var e, t, n, r, a, o, i, s;
294
- for (De.sort(an); e = De.shift(); ) e.__d && (t = De.length, r = void 0, o = (a = (n = e).__v).__e, i = [], s = [], n.__P && ((r = Ae({}, a)).__v = a.__v + 1, N.vnode && N.vnode(r), Sn(n.__P, r, a, n.__n, n.__P.namespaceURI, 32 & a.__u ? [o] : null, i, o == null ? Xe(a) : o, !!(32 & a.__u), s), r.__v = a.__v, r.__.__k[r.__i] = r, xa(i, r, s), r.__e != o && ba(r)), De.length > t && De.sort(an));
293
+ var e, t, n, r, o, a, i, s;
294
+ for (De.sort(on); e = De.shift(); ) e.__d && (t = De.length, r = void 0, a = (o = (n = e).__v).__e, i = [], s = [], n.__P && ((r = Ae({}, o)).__v = o.__v + 1, N.vnode && N.vnode(r), Sn(n.__P, r, o, n.__n, n.__P.namespaceURI, 32 & o.__u ? [a] : null, i, a == null ? Xe(o) : a, !!(32 & o.__u), s), r.__v = o.__v, r.__.__k[r.__i] = r, Ao(i, r, s), r.__e != a && Eo(r)), De.length > t && De.sort(on));
295
295
  Dt.__r = 0;
296
296
  }
297
- function Ea(e, t, n, r, a, o, i, s, l, u, m) {
298
- var c, d, h, _, b, v = r && r.__k || ga, y = t.length;
299
- for (n.__d = l, oi(n, t, v), l = n.__d, c = 0; c < y; c++) (h = n.__k[c]) != null && (d = h.__i === -1 ? ut : v[h.__i] || ut, h.__i = c, Sn(e, h, d, a, o, i, s, l, u, m), _ = h.__e, h.ref && d.ref != h.ref && (d.ref && Nn(d.ref, null, h), m.push(h.ref, h.__c || _, h)), b == null && _ != null && (b = _), 65536 & h.__u || d.__k === h.__k ? l = Ta(h, l, e) : typeof h.type == "function" && h.__d !== void 0 ? l = h.__d : _ && (l = _.nextSibling), h.__d = void 0, h.__u &= -196609);
297
+ function To(e, t, n, r, o, a, i, s, l, u, m) {
298
+ var c, d, h, _, b, v = r && r.__k || vo, y = t.length;
299
+ for (n.__d = l, ai(n, t, v), l = n.__d, c = 0; c < y; c++) (h = n.__k[c]) != null && (d = h.__i === -1 ? ut : v[h.__i] || ut, h.__i = c, Sn(e, h, d, o, a, i, s, l, u, m), _ = h.__e, h.ref && d.ref != h.ref && (d.ref && Nn(d.ref, null, h), m.push(h.ref, h.__c || _, h)), b == null && _ != null && (b = _), 65536 & h.__u || d.__k === h.__k ? l = xo(h, l, e) : typeof h.type == "function" && h.__d !== void 0 ? l = h.__d : _ && (l = _.nextSibling), h.__d = void 0, h.__u &= -196609);
300
300
  n.__d = l, n.__e = b;
301
301
  }
302
- function oi(e, t, n) {
303
- var r, a, o, i, s, l = t.length, u = n.length, m = u, c = 0;
304
- for (e.__k = [], r = 0; r < l; r++) (a = t[r]) != null && typeof a != "boolean" && typeof a != "function" ? (i = r + c, (a = e.__k[r] = typeof a == "string" || typeof a == "number" || typeof a == "bigint" || a.constructor == String ? at(null, a, null, null, null) : kt(a) ? at(le, { children: a }, null, null, null) : a.constructor === void 0 && a.__b > 0 ? at(a.type, a.props, a.key, a.ref ? a.ref : null, a.__v) : a).__ = e, a.__b = e.__b + 1, o = null, (s = a.__i = ii(a, n, i, m)) !== -1 && (m--, (o = n[s]) && (o.__u |= 131072)), o == null || o.__v === null ? (s == -1 && c--, typeof a.type != "function" && (a.__u |= 65536)) : s !== i && (s == i - 1 ? c-- : s == i + 1 ? c++ : (s > i ? c-- : c++, a.__u |= 65536))) : a = e.__k[r] = null;
305
- if (m) for (r = 0; r < u; r++) (o = n[r]) != null && !(131072 & o.__u) && (o.__e == e.__d && (e.__d = Xe(o)), Aa(o, o));
302
+ function ai(e, t, n) {
303
+ var r, o, a, i, s, l = t.length, u = n.length, m = u, c = 0;
304
+ for (e.__k = [], r = 0; r < l; r++) (o = t[r]) != null && typeof o != "boolean" && typeof o != "function" ? (i = r + c, (o = e.__k[r] = typeof o == "string" || typeof o == "number" || typeof o == "bigint" || o.constructor == String ? ot(null, o, null, null, null) : kt(o) ? ot(le, { children: o }, null, null, null) : o.constructor === void 0 && o.__b > 0 ? ot(o.type, o.props, o.key, o.ref ? o.ref : null, o.__v) : o).__ = e, o.__b = e.__b + 1, a = null, (s = o.__i = ii(o, n, i, m)) !== -1 && (m--, (a = n[s]) && (a.__u |= 131072)), a == null || a.__v === null ? (s == -1 && c--, typeof o.type != "function" && (o.__u |= 65536)) : s !== i && (s == i - 1 ? c-- : s == i + 1 ? c++ : (s > i ? c-- : c++, o.__u |= 65536))) : o = e.__k[r] = null;
305
+ if (m) for (r = 0; r < u; r++) (a = n[r]) != null && !(131072 & a.__u) && (a.__e == e.__d && (e.__d = Xe(a)), Io(a, a));
306
306
  }
307
- function Ta(e, t, n) {
308
- var r, a;
307
+ function xo(e, t, n) {
308
+ var r, o;
309
309
  if (typeof e.type == "function") {
310
- for (r = e.__k, a = 0; r && a < r.length; a++) r[a] && (r[a].__ = e, t = Ta(r[a], t, n));
310
+ for (r = e.__k, o = 0; r && o < r.length; o++) r[o] && (r[o].__ = e, t = xo(r[o], t, n));
311
311
  return t;
312
312
  }
313
313
  e.__e != t && (t && e.type && !n.contains(t) && (t = Xe(e)), n.insertBefore(e.__e, t || null), t = e.__e);
@@ -316,39 +316,39 @@ function Ta(e, t, n) {
316
316
  while (t != null && t.nodeType === 8);
317
317
  return t;
318
318
  }
319
- function Ce(e, t) {
319
+ function Ie(e, t) {
320
320
  return t = t || [], e == null || typeof e == "boolean" || (kt(e) ? e.some(function(n) {
321
- Ce(n, t);
321
+ Ie(n, t);
322
322
  }) : t.push(e)), t;
323
323
  }
324
324
  function ii(e, t, n, r) {
325
- var a = e.key, o = e.type, i = n - 1, s = n + 1, l = t[n];
326
- if (l === null || l && a == l.key && o === l.type && !(131072 & l.__u)) return n;
325
+ var o = e.key, a = e.type, i = n - 1, s = n + 1, l = t[n];
326
+ if (l === null || l && o == l.key && a === l.type && !(131072 & l.__u)) return n;
327
327
  if (r > (l != null && !(131072 & l.__u) ? 1 : 0)) for (; i >= 0 || s < t.length; ) {
328
328
  if (i >= 0) {
329
- if ((l = t[i]) && !(131072 & l.__u) && a == l.key && o === l.type) return i;
329
+ if ((l = t[i]) && !(131072 & l.__u) && o == l.key && a === l.type) return i;
330
330
  i--;
331
331
  }
332
332
  if (s < t.length) {
333
- if ((l = t[s]) && !(131072 & l.__u) && a == l.key && o === l.type) return s;
333
+ if ((l = t[s]) && !(131072 & l.__u) && o == l.key && a === l.type) return s;
334
334
  s++;
335
335
  }
336
336
  }
337
337
  return -1;
338
338
  }
339
339
  function lr(e, t, n) {
340
- t[0] === "-" ? e.setProperty(t, n == null ? "" : n) : e[t] = n == null ? "" : typeof n != "number" || ai.test(t) ? n : n + "px";
340
+ t[0] === "-" ? e.setProperty(t, n == null ? "" : n) : e[t] = n == null ? "" : typeof n != "number" || oi.test(t) ? n : n + "px";
341
341
  }
342
- function St(e, t, n, r, a) {
343
- var o;
342
+ function St(e, t, n, r, o) {
343
+ var a;
344
344
  e: if (t === "style") if (typeof n == "string") e.style.cssText = n;
345
345
  else {
346
346
  if (typeof r == "string" && (e.style.cssText = r = ""), r) for (t in r) n && t in n || lr(e.style, t, "");
347
347
  if (n) for (t in n) r && n[t] === r[t] || lr(e.style, t, n[t]);
348
348
  }
349
- else if (t[0] === "o" && t[1] === "n") o = t !== (t = t.replace(/(PointerCapture)$|Capture$/i, "$1")), t = t.toLowerCase() in e || t === "onFocusOut" || t === "onFocusIn" ? t.toLowerCase().slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + o] = n, n ? r ? n.u = r.u : (n.u = On, e.addEventListener(t, o ? sn : on, o)) : e.removeEventListener(t, o ? sn : on, o);
349
+ else if (t[0] === "o" && t[1] === "n") a = t !== (t = t.replace(/(PointerCapture)$|Capture$/i, "$1")), t = t.toLowerCase() in e || t === "onFocusOut" || t === "onFocusIn" ? t.toLowerCase().slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + a] = n, n ? r ? n.u = r.u : (n.u = On, e.addEventListener(t, a ? sn : an, a)) : e.removeEventListener(t, a ? sn : an, a);
350
350
  else {
351
- if (a == "http://www.w3.org/2000/svg") t = t.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
351
+ if (o == "http://www.w3.org/2000/svg") t = t.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
352
352
  else if (t != "width" && t != "height" && t != "href" && t != "list" && t != "form" && t != "tabIndex" && t != "download" && t != "rowSpan" && t != "colSpan" && t != "role" && t != "popover" && t in e) try {
353
353
  e[t] = n == null ? "" : n;
354
354
  break e;
@@ -367,10 +367,10 @@ function ur(e) {
367
367
  }
368
368
  };
369
369
  }
370
- function Sn(e, t, n, r, a, o, i, s, l, u) {
370
+ function Sn(e, t, n, r, o, a, i, s, l, u) {
371
371
  var m, c, d, h, _, b, v, y, T, E, R, g, S, k, q, U, W = t.type;
372
372
  if (t.constructor !== void 0) return null;
373
- 128 & n.__u && (l = !!(32 & n.__u), o = [s = t.__e = n.__e]), (m = N.__b) && m(t);
373
+ 128 & n.__u && (l = !!(32 & n.__u), a = [s = t.__e = n.__e]), (m = N.__b) && m(t);
374
374
  e: if (typeof W == "function") try {
375
375
  if (y = t.props, T = "prototype" in W && W.prototype.render, E = (m = W.contextType) && r[m.__c], R = m ? E ? E.props.value : m.__ : r, n.__c ? v = (c = t.__c = n.__c).__ = c.__E : (T ? t.__c = c = new W(y, R) : (t.__c = c = new _e(y, R), c.constructor = W, c.render = li), E && E.sub(c), c.props = y, c.state || (c.state = {}), c.context = R, c.__n = r, d = c.__d = !0, c.__h = [], c._sb = []), T && c.__s == null && (c.__s = c.state), T && W.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = Ae({}, c.__s)), Ae(c.__s, W.getDerivedStateFromProps(y, c.__s))), h = c.props, _ = c.state, c.__v = t, d) T && W.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), T && c.componentDidMount != null && c.__h.push(c.componentDidMount);
376
376
  else {
@@ -391,56 +391,56 @@ function Sn(e, t, n, r, a, o, i, s, l, u) {
391
391
  } else do
392
392
  c.__d = !1, S && S(t), m = c.render(c.props, c.state, c.context), c.state = c.__s;
393
393
  while (c.__d && ++k < 25);
394
- c.state = c.__s, c.getChildContext != null && (r = Ae(Ae({}, r), c.getChildContext())), T && !d && c.getSnapshotBeforeUpdate != null && (b = c.getSnapshotBeforeUpdate(h, _)), Ea(e, kt(U = m != null && m.type === le && m.key == null ? m.props.children : m) ? U : [U], t, n, r, a, o, i, s, l, u), c.base = t.__e, t.__u &= -161, c.__h.length && i.push(c), v && (c.__E = c.__ = null);
394
+ c.state = c.__s, c.getChildContext != null && (r = Ae(Ae({}, r), c.getChildContext())), T && !d && c.getSnapshotBeforeUpdate != null && (b = c.getSnapshotBeforeUpdate(h, _)), To(e, kt(U = m != null && m.type === le && m.key == null ? m.props.children : m) ? U : [U], t, n, r, o, a, i, s, l, u), c.base = t.__e, t.__u &= -161, c.__h.length && i.push(c), v && (c.__E = c.__ = null);
395
395
  } catch (me) {
396
- if (t.__v = null, l || o != null) {
396
+ if (t.__v = null, l || a != null) {
397
397
  for (t.__u |= l ? 160 : 128; s && s.nodeType === 8 && s.nextSibling; ) s = s.nextSibling;
398
- o[o.indexOf(s)] = null, t.__e = s;
398
+ a[a.indexOf(s)] = null, t.__e = s;
399
399
  } else t.__e = n.__e, t.__k = n.__k;
400
400
  N.__e(me, t, n);
401
401
  }
402
- else o == null && t.__v === n.__v ? (t.__k = n.__k, t.__e = n.__e) : t.__e = si(n.__e, t, n, r, a, o, i, l, u);
402
+ else a == null && t.__v === n.__v ? (t.__k = n.__k, t.__e = n.__e) : t.__e = si(n.__e, t, n, r, o, a, i, l, u);
403
403
  (m = N.diffed) && m(t);
404
404
  }
405
- function xa(e, t, n) {
405
+ function Ao(e, t, n) {
406
406
  t.__d = void 0;
407
407
  for (var r = 0; r < n.length; r++) Nn(n[r], n[++r], n[++r]);
408
- N.__c && N.__c(t, e), e.some(function(a) {
408
+ N.__c && N.__c(t, e), e.some(function(o) {
409
409
  try {
410
- e = a.__h, a.__h = [], e.some(function(o) {
411
- o.call(a);
410
+ e = o.__h, o.__h = [], e.some(function(a) {
411
+ a.call(o);
412
412
  });
413
- } catch (o) {
414
- N.__e(o, a.__v);
413
+ } catch (a) {
414
+ N.__e(a, o.__v);
415
415
  }
416
416
  });
417
417
  }
418
- function si(e, t, n, r, a, o, i, s, l) {
418
+ function si(e, t, n, r, o, a, i, s, l) {
419
419
  var u, m, c, d, h, _, b, v = n.props, y = t.props, T = t.type;
420
- if (T === "svg" ? a = "http://www.w3.org/2000/svg" : T === "math" ? a = "http://www.w3.org/1998/Math/MathML" : a || (a = "http://www.w3.org/1999/xhtml"), o != null) {
421
- for (u = 0; u < o.length; u++) if ((h = o[u]) && "setAttribute" in h == !!T && (T ? h.localName === T : h.nodeType === 3)) {
422
- e = h, o[u] = null;
420
+ if (T === "svg" ? o = "http://www.w3.org/2000/svg" : T === "math" ? o = "http://www.w3.org/1998/Math/MathML" : o || (o = "http://www.w3.org/1999/xhtml"), a != null) {
421
+ for (u = 0; u < a.length; u++) if ((h = a[u]) && "setAttribute" in h == !!T && (T ? h.localName === T : h.nodeType === 3)) {
422
+ e = h, a[u] = null;
423
423
  break;
424
424
  }
425
425
  }
426
426
  if (e == null) {
427
427
  if (T === null) return document.createTextNode(y);
428
- e = document.createElementNS(a, T, y.is && y), s && (N.__m && N.__m(t, o), s = !1), o = null;
428
+ e = document.createElementNS(o, T, y.is && y), s && (N.__m && N.__m(t, a), s = !1), a = null;
429
429
  }
430
430
  if (T === null) v === y || s && e.data === y || (e.data = y);
431
431
  else {
432
- if (o = o && pt.call(e.childNodes), v = n.props || ut, !s && o != null) for (v = {}, u = 0; u < e.attributes.length; u++) v[(h = e.attributes[u]).name] = h.value;
432
+ if (a = a && pt.call(e.childNodes), v = n.props || ut, !s && a != null) for (v = {}, u = 0; u < e.attributes.length; u++) v[(h = e.attributes[u]).name] = h.value;
433
433
  for (u in v) if (h = v[u], u != "children") {
434
434
  if (u == "dangerouslySetInnerHTML") c = h;
435
435
  else if (!(u in y)) {
436
436
  if (u == "value" && "defaultValue" in y || u == "checked" && "defaultChecked" in y) continue;
437
- St(e, u, null, h, a);
437
+ St(e, u, null, h, o);
438
438
  }
439
439
  }
440
- for (u in y) h = y[u], u == "children" ? d = h : u == "dangerouslySetInnerHTML" ? m = h : u == "value" ? _ = h : u == "checked" ? b = h : s && typeof h != "function" || v[u] === h || St(e, u, h, v[u], a);
440
+ for (u in y) h = y[u], u == "children" ? d = h : u == "dangerouslySetInnerHTML" ? m = h : u == "value" ? _ = h : u == "checked" ? b = h : s && typeof h != "function" || v[u] === h || St(e, u, h, v[u], o);
441
441
  if (m) s || c && (m.__html === c.__html || m.__html === e.innerHTML) || (e.innerHTML = m.__html), t.__k = [];
442
- else if (c && (e.innerHTML = ""), Ea(e, kt(d) ? d : [d], t, n, r, T === "foreignObject" ? "http://www.w3.org/1999/xhtml" : a, o, i, o ? o[0] : n.__k && Xe(n, 0), s, l), o != null) for (u = o.length; u--; ) va(o[u]);
443
- s || (u = "value", T === "progress" && _ == null ? e.removeAttribute("value") : _ !== void 0 && (_ !== e[u] || T === "progress" && !_ || T === "option" && _ !== v[u]) && St(e, u, _, v[u], a), u = "checked", b !== void 0 && b !== e[u] && St(e, u, b, v[u], a));
442
+ else if (c && (e.innerHTML = ""), To(e, kt(d) ? d : [d], t, n, r, T === "foreignObject" ? "http://www.w3.org/1999/xhtml" : o, a, i, a ? a[0] : n.__k && Xe(n, 0), s, l), a != null) for (u = a.length; u--; ) yo(a[u]);
443
+ s || (u = "value", T === "progress" && _ == null ? e.removeAttribute("value") : _ !== void 0 && (_ !== e[u] || T === "progress" && !_ || T === "option" && _ !== v[u]) && St(e, u, _, v[u], o), u = "checked", b !== void 0 && b !== e[u] && St(e, u, b, v[u], o));
444
444
  }
445
445
  return e;
446
446
  }
@@ -450,125 +450,125 @@ function Nn(e, t, n) {
450
450
  var r = typeof e.__u == "function";
451
451
  r && e.__u(), r && t == null || (e.__u = e(t));
452
452
  } else e.current = t;
453
- } catch (a) {
454
- N.__e(a, n);
453
+ } catch (o) {
454
+ N.__e(o, n);
455
455
  }
456
456
  }
457
- function Aa(e, t, n) {
458
- var r, a;
457
+ function Io(e, t, n) {
458
+ var r, o;
459
459
  if (N.unmount && N.unmount(e), (r = e.ref) && (r.current && r.current !== e.__e || Nn(r, null, t)), (r = e.__c) != null) {
460
460
  if (r.componentWillUnmount) try {
461
461
  r.componentWillUnmount();
462
- } catch (o) {
463
- N.__e(o, t);
462
+ } catch (a) {
463
+ N.__e(a, t);
464
464
  }
465
465
  r.base = r.__P = null;
466
466
  }
467
- if (r = e.__k) for (a = 0; a < r.length; a++) r[a] && Aa(r[a], t, n || typeof e.type != "function");
468
- n || va(e.__e), e.__c = e.__ = e.__e = e.__d = void 0;
467
+ if (r = e.__k) for (o = 0; o < r.length; o++) r[o] && Io(r[o], t, n || typeof e.type != "function");
468
+ n || yo(e.__e), e.__c = e.__ = e.__e = e.__d = void 0;
469
469
  }
470
470
  function li(e, t, n) {
471
471
  return this.constructor(e, n);
472
472
  }
473
473
  function ct(e, t, n) {
474
- var r, a, o, i;
475
- N.__ && N.__(e, t), a = (r = typeof n == "function") ? null : n && n.__k || t.__k, o = [], i = [], Sn(t, e = (!r && n || t).__k = se(le, null, [e]), a || ut, ut, t.namespaceURI, !r && n ? [n] : a ? null : t.firstChild ? pt.call(t.childNodes) : null, o, !r && n ? n : a ? a.__e : t.firstChild, r, i), xa(o, e, i);
474
+ var r, o, a, i;
475
+ N.__ && N.__(e, t), o = (r = typeof n == "function") ? null : n && n.__k || t.__k, a = [], i = [], Sn(t, e = (!r && n || t).__k = se(le, null, [e]), o || ut, ut, t.namespaceURI, !r && n ? [n] : o ? null : t.firstChild ? pt.call(t.childNodes) : null, a, !r && n ? n : o ? o.__e : t.firstChild, r, i), Ao(a, e, i);
476
476
  }
477
- function Ca(e, t) {
478
- ct(e, t, Ca);
477
+ function Co(e, t) {
478
+ ct(e, t, Co);
479
479
  }
480
480
  function ui(e, t, n) {
481
- var r, a, o, i, s = Ae({}, e.props);
482
- for (o in e.type && e.type.defaultProps && (i = e.type.defaultProps), t) o == "key" ? r = t[o] : o == "ref" ? a = t[o] : s[o] = t[o] === void 0 && i !== void 0 ? i[o] : t[o];
483
- return arguments.length > 2 && (s.children = arguments.length > 3 ? pt.call(arguments, 2) : n), at(e.type, s, r || e.key, a || e.ref, null);
481
+ var r, o, a, i, s = Ae({}, e.props);
482
+ for (a in e.type && e.type.defaultProps && (i = e.type.defaultProps), t) a == "key" ? r = t[a] : a == "ref" ? o = t[a] : s[a] = t[a] === void 0 && i !== void 0 ? i[a] : t[a];
483
+ return arguments.length > 2 && (s.children = arguments.length > 3 ? pt.call(arguments, 2) : n), ot(e.type, s, r || e.key, o || e.ref, null);
484
484
  }
485
485
  function mt(e, t) {
486
- var n = { __c: t = "__cC" + _a++, __: e, Consumer: function(r, a) {
487
- return r.children(a);
486
+ var n = { __c: t = "__cC" + go++, __: e, Consumer: function(r, o) {
487
+ return r.children(o);
488
488
  }, Provider: function(r) {
489
- var a, o;
490
- return this.getChildContext || (a = /* @__PURE__ */ new Set(), (o = {})[t] = this, this.getChildContext = function() {
491
- return o;
489
+ var o, a;
490
+ return this.getChildContext || (o = /* @__PURE__ */ new Set(), (a = {})[t] = this, this.getChildContext = function() {
491
+ return a;
492
492
  }, this.componentWillUnmount = function() {
493
- a = null;
493
+ o = null;
494
494
  }, this.shouldComponentUpdate = function(i) {
495
- this.props.value !== i.value && a.forEach(function(s) {
495
+ this.props.value !== i.value && o.forEach(function(s) {
496
496
  s.__e = !0, ln(s);
497
497
  });
498
498
  }, this.sub = function(i) {
499
- a.add(i);
499
+ o.add(i);
500
500
  var s = i.componentWillUnmount;
501
501
  i.componentWillUnmount = function() {
502
- a && a.delete(i), s && s.call(i);
502
+ o && o.delete(i), s && s.call(i);
503
503
  };
504
504
  }), r.children;
505
505
  } };
506
506
  return n.Provider.__ = n.Consumer.contextType = n;
507
507
  }
508
- pt = ga.slice, N = { __e: function(e, t, n, r) {
509
- for (var a, o, i; t = t.__; ) if ((a = t.__c) && !a.__) try {
510
- if ((o = a.constructor) && o.getDerivedStateFromError != null && (a.setState(o.getDerivedStateFromError(e)), i = a.__d), a.componentDidCatch != null && (a.componentDidCatch(e, r || {}), i = a.__d), i) return a.__E = a;
508
+ pt = vo.slice, N = { __e: function(e, t, n, r) {
509
+ for (var o, a, i; t = t.__; ) if ((o = t.__c) && !o.__) try {
510
+ if ((a = o.constructor) && a.getDerivedStateFromError != null && (o.setState(a.getDerivedStateFromError(e)), i = o.__d), o.componentDidCatch != null && (o.componentDidCatch(e, r || {}), i = o.__d), i) return o.__E = o;
511
511
  } catch (s) {
512
512
  e = s;
513
513
  }
514
514
  throw e;
515
- } }, ha = 0, _e.prototype.setState = function(e, t) {
515
+ } }, po = 0, _e.prototype.setState = function(e, t) {
516
516
  var n;
517
517
  n = this.__s != null && this.__s !== this.state ? this.__s : this.__s = Ae({}, this.state), typeof e == "function" && (e = e(Ae({}, n), this.props)), e && Ae(n, e), e != null && this.__v && (t && this._sb.push(t), ln(this));
518
518
  }, _e.prototype.forceUpdate = function(e) {
519
519
  this.__v && (this.__e = !0, e && this.__h.push(e), ln(this));
520
- }, _e.prototype.render = le, De = [], pa = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, an = function(e, t) {
520
+ }, _e.prototype.render = le, De = [], _o = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, on = function(e, t) {
521
521
  return e.__v.__b - t.__v.__b;
522
- }, Dt.__r = 0, On = 0, on = ur(!1), sn = ur(!0), _a = 0;
523
- var Ie, B, qt, cr, Ze = 0, Ia = [], $ = N, mr = $.__b, fr = $.__r, dr = $.diffed, hr = $.__c, pr = $.unmount, _r = $.__;
522
+ }, Dt.__r = 0, On = 0, an = ur(!1), sn = ur(!0), go = 0;
523
+ var Ce, B, qt, cr, Ze = 0, Oo = [], $ = N, mr = $.__b, fr = $.__r, dr = $.diffed, hr = $.__c, pr = $.unmount, _r = $.__;
524
524
  function ke(e, t) {
525
525
  $.__h && $.__h(B, e, Ze || t), Ze = 0;
526
526
  var n = B.__H || (B.__H = { __: [], __h: [] });
527
527
  return e >= n.__.length && n.__.push({}), n.__[e];
528
528
  }
529
- function ae(e) {
530
- return Ze = 1, Gt(Oa, e);
529
+ function oe(e) {
530
+ return Ze = 1, Gt(So, e);
531
531
  }
532
532
  function Gt(e, t, n) {
533
- var r = ke(Ie++, 2);
534
- if (r.t = e, !r.__c && (r.__ = [n ? n(t) : Oa(void 0, t), function(s) {
533
+ var r = ke(Ce++, 2);
534
+ if (r.t = e, !r.__c && (r.__ = [n ? n(t) : So(void 0, t), function(s) {
535
535
  var l = r.__N ? r.__N[0] : r.__[0], u = r.t(l, s);
536
536
  l !== u && (r.__N = [u, r.__[1]], r.__c.setState({}));
537
537
  }], r.__c = B, !B.u)) {
538
- var a = function(s, l, u) {
538
+ var o = function(s, l, u) {
539
539
  if (!r.__c.__H) return !0;
540
540
  var m = r.__c.__H.__.filter(function(d) {
541
541
  return !!d.__c;
542
542
  });
543
543
  if (m.every(function(d) {
544
544
  return !d.__N;
545
- })) return !o || o.call(this, s, l, u);
545
+ })) return !a || a.call(this, s, l, u);
546
546
  var c = !1;
547
547
  return m.forEach(function(d) {
548
548
  if (d.__N) {
549
549
  var h = d.__[0];
550
550
  d.__ = d.__N, d.__N = void 0, h !== d.__[0] && (c = !0);
551
551
  }
552
- }), !(!c && r.__c.props === s) && (!o || o.call(this, s, l, u));
552
+ }), !(!c && r.__c.props === s) && (!a || a.call(this, s, l, u));
553
553
  };
554
554
  B.u = !0;
555
- var o = B.shouldComponentUpdate, i = B.componentWillUpdate;
555
+ var a = B.shouldComponentUpdate, i = B.componentWillUpdate;
556
556
  B.componentWillUpdate = function(s, l, u) {
557
557
  if (this.__e) {
558
- var m = o;
559
- o = void 0, a(s, l, u), o = m;
558
+ var m = a;
559
+ a = void 0, o(s, l, u), a = m;
560
560
  }
561
561
  i && i.call(this, s, l, u);
562
- }, B.shouldComponentUpdate = a;
562
+ }, B.shouldComponentUpdate = o;
563
563
  }
564
564
  return r.__N || r.__;
565
565
  }
566
566
  function ue(e, t) {
567
- var n = ke(Ie++, 3);
567
+ var n = ke(Ce++, 3);
568
568
  !$.__s && Pn(n.__H, t) && (n.__ = e, n.i = t, B.__H.__h.push(n));
569
569
  }
570
570
  function Qe(e, t) {
571
- var n = ke(Ie++, 4);
571
+ var n = ke(Ce++, 4);
572
572
  !$.__s && Pn(n.__H, t) && (n.__ = e, n.i = t, B.__h.push(n));
573
573
  }
574
574
  function $t(e) {
@@ -586,7 +586,7 @@ function Rn(e, t, n) {
586
586
  }, n == null ? n : n.concat(e));
587
587
  }
588
588
  function _t(e, t) {
589
- var n = ke(Ie++, 7);
589
+ var n = ke(Ce++, 7);
590
590
  return Pn(n.__H, t) && (n.__ = e(), n.__H = t, n.__h = e), n.__;
591
591
  }
592
592
  function wn(e, t) {
@@ -595,22 +595,22 @@ function wn(e, t) {
595
595
  }, t);
596
596
  }
597
597
  function gt(e) {
598
- var t = B.context[e.__c], n = ke(Ie++, 9);
598
+ var t = B.context[e.__c], n = ke(Ce++, 9);
599
599
  return n.c = e, t ? (n.__ == null && (n.__ = !0, t.sub(B)), t.props.value) : e.__;
600
600
  }
601
601
  function Mn(e, t) {
602
602
  $.useDebugValue && $.useDebugValue(t ? t(e) : e);
603
603
  }
604
604
  function ci(e) {
605
- var t = ke(Ie++, 10), n = ae();
606
- return t.__ = e, B.componentDidCatch || (B.componentDidCatch = function(r, a) {
607
- t.__ && t.__(r, a), n[1](r);
605
+ var t = ke(Ce++, 10), n = oe();
606
+ return t.__ = e, B.componentDidCatch || (B.componentDidCatch = function(r, o) {
607
+ t.__ && t.__(r, o), n[1](r);
608
608
  }), [n[0], function() {
609
609
  n[1](void 0);
610
610
  }];
611
611
  }
612
612
  function Hn() {
613
- var e = ke(Ie++, 11);
613
+ var e = ke(Ce++, 11);
614
614
  if (!e.__) {
615
615
  for (var t = B.__v; t !== null && !t.__m && t.__ !== null; ) t = t.__;
616
616
  var n = t.__m || (t.__m = [0, 0]);
@@ -619,7 +619,7 @@ function Hn() {
619
619
  return e.__;
620
620
  }
621
621
  function mi() {
622
- for (var e; e = Ia.shift(); ) if (e.__P && e.__H) try {
622
+ for (var e; e = Oo.shift(); ) if (e.__P && e.__H) try {
623
623
  e.__H.__h.forEach(Pt), e.__H.__h.forEach(un), e.__H.__h = [];
624
624
  } catch (t) {
625
625
  e.__H.__h = [], $.__e(t, e.__v);
@@ -630,15 +630,15 @@ $.__b = function(e) {
630
630
  }, $.__ = function(e, t) {
631
631
  e && t.__k && t.__k.__m && (e.__m = t.__k.__m), _r && _r(e, t);
632
632
  }, $.__r = function(e) {
633
- fr && fr(e), Ie = 0;
633
+ fr && fr(e), Ce = 0;
634
634
  var t = (B = e.__c).__H;
635
635
  t && (qt === B ? (t.__h = [], B.__h = [], t.__.forEach(function(n) {
636
636
  n.__N && (n.__ = n.__N), n.i = n.__N = void 0;
637
- })) : (t.__h.forEach(Pt), t.__h.forEach(un), t.__h = [], Ie = 0)), qt = B;
637
+ })) : (t.__h.forEach(Pt), t.__h.forEach(un), t.__h = [], Ce = 0)), qt = B;
638
638
  }, $.diffed = function(e) {
639
639
  dr && dr(e);
640
640
  var t = e.__c;
641
- t && t.__H && (t.__H.__h.length && (Ia.push(t) !== 1 && cr === $.requestAnimationFrame || ((cr = $.requestAnimationFrame) || fi)(mi)), t.__H.__.forEach(function(n) {
641
+ t && t.__H && (t.__H.__h.length && (Oo.push(t) !== 1 && cr === $.requestAnimationFrame || ((cr = $.requestAnimationFrame) || fi)(mi)), t.__H.__.forEach(function(n) {
642
642
  n.i && (n.__H = n.i), n.i = void 0;
643
643
  })), qt = B = null;
644
644
  }, $.__c = function(e, t) {
@@ -648,8 +648,8 @@ $.__b = function(e) {
648
648
  return !r.__ || un(r);
649
649
  });
650
650
  } catch (r) {
651
- t.some(function(a) {
652
- a.__h && (a.__h = []);
651
+ t.some(function(o) {
652
+ o.__h && (o.__h = []);
653
653
  }), t = [], $.__e(r, n.__v);
654
654
  }
655
655
  }), hr && hr(e, t);
@@ -659,8 +659,8 @@ $.__b = function(e) {
659
659
  n && n.__H && (n.__H.__.forEach(function(r) {
660
660
  try {
661
661
  Pt(r);
662
- } catch (a) {
663
- t = a;
662
+ } catch (o) {
663
+ t = o;
664
664
  }
665
665
  }), n.__H = void 0, t && $.__e(t, n.__v));
666
666
  };
@@ -684,7 +684,7 @@ function Pn(e, t) {
684
684
  return n !== e[r];
685
685
  });
686
686
  }
687
- function Oa(e, t) {
687
+ function So(e, t) {
688
688
  return typeof t == "function" ? t(e) : t;
689
689
  }
690
690
  function cn(e, t) {
@@ -696,12 +696,12 @@ function ft(e, t) {
696
696
  this.props = e, this.context = t;
697
697
  }
698
698
  function Ln(e, t) {
699
- function n(a) {
700
- var o = this.props.ref, i = o == a.ref;
701
- return !i && o && (o.call ? o(null) : o.current = null), t ? !t(this.props, a) || !i : cn(this.props, a);
699
+ function n(o) {
700
+ var a = this.props.ref, i = a == o.ref;
701
+ return !i && a && (a.call ? a(null) : a.current = null), t ? !t(this.props, o) || !i : cn(this.props, o);
702
702
  }
703
- function r(a) {
704
- return this.shouldComponentUpdate = n, se(e, a);
703
+ function r(o) {
704
+ return this.shouldComponentUpdate = n, se(e, o);
705
705
  }
706
706
  return r.displayName = "Memo(" + (e.displayName || e.name) + ")", r.prototype.isReactComponent = !0, r.__f = !0, r;
707
707
  }
@@ -713,66 +713,66 @@ N.__b = function(e) {
713
713
  e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), vr && vr(e);
714
714
  };
715
715
  var di = typeof Symbol != "undefined" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
716
- function Sa(e) {
716
+ function No(e) {
717
717
  function t(n) {
718
718
  if (!("ref" in n)) return e(n, null);
719
719
  var r = n.ref;
720
720
  delete n.ref;
721
- var a = e(n, r);
722
- return n.ref = r, a;
721
+ var o = e(n, r);
722
+ return n.ref = r, o;
723
723
  }
724
724
  return t.$$typeof = di, t.render = t, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
725
725
  }
726
726
  var yr = function(e, t) {
727
- return e == null ? null : Ce(Ce(e).map(t));
727
+ return e == null ? null : Ie(Ie(e).map(t));
728
728
  }, vt = { map: yr, forEach: yr, count: function(e) {
729
- return e ? Ce(e).length : 0;
729
+ return e ? Ie(e).length : 0;
730
730
  }, only: function(e) {
731
- var t = Ce(e);
731
+ var t = Ie(e);
732
732
  if (t.length !== 1) throw "Children.only";
733
733
  return t[0];
734
- }, toArray: Ce }, hi = N.__e;
734
+ }, toArray: Ie }, hi = N.__e;
735
735
  N.__e = function(e, t, n, r) {
736
736
  if (e.then) {
737
- for (var a, o = t; o = o.__; ) if ((a = o.__c) && a.__c) return t.__e == null && (t.__e = n.__e, t.__k = n.__k), a.__c(e, t);
737
+ for (var o, a = t; a = a.__; ) if ((o = a.__c) && o.__c) return t.__e == null && (t.__e = n.__e, t.__k = n.__k), o.__c(e, t);
738
738
  }
739
739
  hi(e, t, n, r);
740
740
  };
741
741
  var br = N.unmount;
742
- function Na(e, t, n) {
742
+ function Ro(e, t, n) {
743
743
  return e && (e.__c && e.__c.__H && (e.__c.__H.__.forEach(function(r) {
744
744
  typeof r.__c == "function" && r.__c();
745
- }), e.__c.__H = null), (e = function(r, a) {
746
- for (var o in a) r[o] = a[o];
745
+ }), e.__c.__H = null), (e = function(r, o) {
746
+ for (var a in o) r[a] = o[a];
747
747
  return r;
748
748
  }({}, e)).__c != null && (e.__c.__P === n && (e.__c.__P = t), e.__c = null), e.__k = e.__k && e.__k.map(function(r) {
749
- return Na(r, t, n);
749
+ return Ro(r, t, n);
750
750
  })), e;
751
751
  }
752
- function Ra(e, t, n) {
752
+ function wo(e, t, n) {
753
753
  return e && n && (e.__v = null, e.__k = e.__k && e.__k.map(function(r) {
754
- return Ra(r, t, n);
754
+ return wo(r, t, n);
755
755
  }), e.__c && e.__c.__P === t && (e.__e && n.appendChild(e.__e), e.__c.__e = !0, e.__c.__P = n)), e;
756
756
  }
757
- function ot() {
757
+ function at() {
758
758
  this.__u = 0, this.t = null, this.__b = null;
759
759
  }
760
- function wa(e) {
760
+ function Mo(e) {
761
761
  var t = e.__.__c;
762
762
  return t && t.__a && t.__a(e);
763
763
  }
764
- function Ma(e) {
764
+ function Ho(e) {
765
765
  var t, n, r;
766
- function a(o) {
766
+ function o(a) {
767
767
  if (t || (t = e()).then(function(i) {
768
768
  n = i.default || i;
769
769
  }, function(i) {
770
770
  r = i;
771
771
  }), r) throw r;
772
772
  if (!n) throw t;
773
- return se(n, o);
773
+ return se(n, a);
774
774
  }
775
- return a.displayName = "Lazy", a.__f = !0, a;
775
+ return o.displayName = "Lazy", o.__f = !0, o;
776
776
  }
777
777
  function ze() {
778
778
  this.u = null, this.o = null;
@@ -780,36 +780,36 @@ function ze() {
780
780
  N.unmount = function(e) {
781
781
  var t = e.__c;
782
782
  t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null), br && br(e);
783
- }, (ot.prototype = new _e()).__c = function(e, t) {
783
+ }, (at.prototype = new _e()).__c = function(e, t) {
784
784
  var n = t.__c, r = this;
785
785
  r.t == null && (r.t = []), r.t.push(n);
786
- var a = wa(r.__v), o = !1, i = function() {
787
- o || (o = !0, n.__R = null, a ? a(s) : s());
786
+ var o = Mo(r.__v), a = !1, i = function() {
787
+ a || (a = !0, n.__R = null, o ? o(s) : s());
788
788
  };
789
789
  n.__R = i;
790
790
  var s = function() {
791
791
  if (!--r.__u) {
792
792
  if (r.state.__a) {
793
793
  var l = r.state.__a;
794
- r.__v.__k[0] = Ra(l, l.__c.__P, l.__c.__O);
794
+ r.__v.__k[0] = wo(l, l.__c.__P, l.__c.__O);
795
795
  }
796
796
  var u;
797
797
  for (r.setState({ __a: r.__b = null }); u = r.t.pop(); ) u.forceUpdate();
798
798
  }
799
799
  };
800
800
  r.__u++ || 32 & t.__u || r.setState({ __a: r.__b = r.__v.__k[0] }), e.then(i, i);
801
- }, ot.prototype.componentWillUnmount = function() {
801
+ }, at.prototype.componentWillUnmount = function() {
802
802
  this.t = [];
803
- }, ot.prototype.render = function(e, t) {
803
+ }, at.prototype.render = function(e, t) {
804
804
  if (this.__b) {
805
805
  if (this.__v.__k) {
806
806
  var n = document.createElement("div"), r = this.__v.__k[0].__c;
807
- this.__v.__k[0] = Na(this.__b, n, r.__O = r.__P);
807
+ this.__v.__k[0] = Ro(this.__b, n, r.__O = r.__P);
808
808
  }
809
809
  this.__b = null;
810
810
  }
811
- var a = t.__a && se(le, null, e.fallback);
812
- return a && (a.__u &= -33), [se(le, null, t.__a ? null : e.children), a];
811
+ var o = t.__a && se(le, null, e.fallback);
812
+ return o && (o.__u &= -33), [se(le, null, t.__a ? null : e.children), o];
813
813
  };
814
814
  var Er = function(e, t, n) {
815
815
  if (++n[1] === n[0] && e.o.delete(t), e.props.revealOrder && (e.props.revealOrder[0] !== "t" || !e.o.size)) for (n = e.u; n; ) {
@@ -831,27 +831,27 @@ function _i(e) {
831
831
  return !0;
832
832
  }, appendChild: function(r) {
833
833
  this.childNodes.push(r), t.i.appendChild(r);
834
- }, insertBefore: function(r, a) {
834
+ }, insertBefore: function(r, o) {
835
835
  this.childNodes.push(r), t.i.appendChild(r);
836
836
  }, removeChild: function(r) {
837
837
  this.childNodes.splice(this.childNodes.indexOf(r) >>> 1, 1), t.i.removeChild(r);
838
838
  } }), ct(se(pi, { context: t.context }, e.__v), t.l);
839
839
  }
840
- function Ha(e, t) {
840
+ function Po(e, t) {
841
841
  var n = se(_i, { __v: e, i: t });
842
842
  return n.containerInfo = t, n;
843
843
  }
844
844
  (ze.prototype = new _e()).__a = function(e) {
845
- var t = this, n = wa(t.__v), r = t.o.get(e);
846
- return r[0]++, function(a) {
847
- var o = function() {
848
- t.props.revealOrder ? (r.push(a), Er(t, e, r)) : a();
845
+ var t = this, n = Mo(t.__v), r = t.o.get(e);
846
+ return r[0]++, function(o) {
847
+ var a = function() {
848
+ t.props.revealOrder ? (r.push(o), Er(t, e, r)) : o();
849
849
  };
850
- n ? n(o) : o();
850
+ n ? n(a) : a();
851
851
  };
852
852
  }, ze.prototype.render = function(e) {
853
853
  this.u = null, this.o = /* @__PURE__ */ new Map();
854
- var t = Ce(e.children);
854
+ var t = Ie(e.children);
855
855
  e.revealOrder && e.revealOrder[0] === "b" && t.reverse();
856
856
  for (var n = t.length; n--; ) this.o.set(t[n], this.u = [1, 0, this.u]);
857
857
  return e.children;
@@ -861,14 +861,14 @@ function Ha(e, t) {
861
861
  Er(e, n, t);
862
862
  });
863
863
  };
864
- var Pa = typeof Symbol != "undefined" && Symbol.for && Symbol.for("react.element") || 60103, gi = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, vi = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, yi = /[A-Z0-9]/g, bi = typeof document != "undefined", Ei = function(e) {
864
+ var Lo = typeof Symbol != "undefined" && Symbol.for && Symbol.for("react.element") || 60103, gi = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, vi = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, yi = /[A-Z0-9]/g, bi = typeof document != "undefined", Ei = function(e) {
865
865
  return (typeof Symbol != "undefined" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(e);
866
866
  };
867
867
  function Dn(e, t, n) {
868
868
  return t.__k == null && (t.textContent = ""), ct(e, t), typeof n == "function" && n(), e ? e.__c : null;
869
869
  }
870
- function La(e, t, n) {
871
- return Ca(e, t), typeof n == "function" && n(), e ? e.__c : null;
870
+ function Do(e, t, n) {
871
+ return Co(e, t), typeof n == "function" && n(), e ? e.__c : null;
872
872
  }
873
873
  _e.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(e) {
874
874
  Object.defineProperty(_e.prototype, e, { configurable: !0, get: function() {
@@ -889,65 +889,65 @@ function Ai() {
889
889
  N.event = function(e) {
890
890
  return Tr && (e = Tr(e)), e.persist = Ti, e.isPropagationStopped = xi, e.isDefaultPrevented = Ai, e.nativeEvent = e;
891
891
  };
892
- var Bn, Ci = { enumerable: !1, configurable: !0, get: function() {
892
+ var Bn, Ii = { enumerable: !1, configurable: !0, get: function() {
893
893
  return this.class;
894
894
  } }, xr = N.vnode;
895
895
  N.vnode = function(e) {
896
896
  typeof e.type == "string" && function(t) {
897
- var n = t.props, r = t.type, a = {}, o = r.indexOf("-") === -1;
897
+ var n = t.props, r = t.type, o = {}, a = r.indexOf("-") === -1;
898
898
  for (var i in n) {
899
899
  var s = n[i];
900
900
  if (!(i === "value" && "defaultValue" in n && s == null || bi && i === "children" && r === "noscript" || i === "class" || i === "className")) {
901
901
  var l = i.toLowerCase();
902
- i === "defaultValue" && "value" in n && n.value == null ? i = "value" : i === "download" && s === !0 ? s = "" : l === "translate" && s === "no" ? s = !1 : l[0] === "o" && l[1] === "n" ? l === "ondoubleclick" ? i = "ondblclick" : l !== "onchange" || r !== "input" && r !== "textarea" || Ei(n.type) ? l === "onfocus" ? i = "onfocusin" : l === "onblur" ? i = "onfocusout" : vi.test(i) && (i = l) : l = i = "oninput" : o && gi.test(i) ? i = i.replace(yi, "-$&").toLowerCase() : s === null && (s = void 0), l === "oninput" && a[i = l] && (i = "oninputCapture"), a[i] = s;
902
+ i === "defaultValue" && "value" in n && n.value == null ? i = "value" : i === "download" && s === !0 ? s = "" : l === "translate" && s === "no" ? s = !1 : l[0] === "o" && l[1] === "n" ? l === "ondoubleclick" ? i = "ondblclick" : l !== "onchange" || r !== "input" && r !== "textarea" || Ei(n.type) ? l === "onfocus" ? i = "onfocusin" : l === "onblur" ? i = "onfocusout" : vi.test(i) && (i = l) : l = i = "oninput" : a && gi.test(i) ? i = i.replace(yi, "-$&").toLowerCase() : s === null && (s = void 0), l === "oninput" && o[i = l] && (i = "oninputCapture"), o[i] = s;
903
903
  }
904
904
  }
905
- r == "select" && a.multiple && Array.isArray(a.value) && (a.value = Ce(n.children).forEach(function(u) {
906
- u.props.selected = a.value.indexOf(u.props.value) != -1;
907
- })), r == "select" && a.defaultValue != null && (a.value = Ce(n.children).forEach(function(u) {
908
- u.props.selected = a.multiple ? a.defaultValue.indexOf(u.props.value) != -1 : a.defaultValue == u.props.value;
909
- })), n.class && !n.className ? (a.class = n.class, Object.defineProperty(a, "className", Ci)) : (n.className && !n.class || n.class && n.className) && (a.class = a.className = n.className), t.props = a;
910
- }(e), e.$$typeof = Pa, xr && xr(e);
905
+ r == "select" && o.multiple && Array.isArray(o.value) && (o.value = Ie(n.children).forEach(function(u) {
906
+ u.props.selected = o.value.indexOf(u.props.value) != -1;
907
+ })), r == "select" && o.defaultValue != null && (o.value = Ie(n.children).forEach(function(u) {
908
+ u.props.selected = o.multiple ? o.defaultValue.indexOf(u.props.value) != -1 : o.defaultValue == u.props.value;
909
+ })), n.class && !n.className ? (o.class = n.class, Object.defineProperty(o, "className", Ii)) : (n.className && !n.class || n.class && n.className) && (o.class = o.className = n.className), t.props = o;
910
+ }(e), e.$$typeof = Lo, xr && xr(e);
911
911
  };
912
912
  var Ar = N.__r;
913
913
  N.__r = function(e) {
914
914
  Ar && Ar(e), Bn = e.__c;
915
915
  };
916
- var Cr = N.diffed;
916
+ var Ir = N.diffed;
917
917
  N.diffed = function(e) {
918
- Cr && Cr(e);
918
+ Ir && Ir(e);
919
919
  var t = e.props, n = e.__e;
920
920
  n != null && e.type === "textarea" && "value" in t && t.value !== n.value && (n.value = t.value == null ? "" : t.value), Bn = null;
921
921
  };
922
- var Da = { ReactCurrentDispatcher: { current: { readContext: function(e) {
922
+ var Bo = { ReactCurrentDispatcher: { current: { readContext: function(e) {
923
923
  return Bn.__n[e.__c].props.value;
924
- }, useCallback: wn, useContext: gt, useDebugValue: Mn, useDeferredValue: kn, useEffect: ue, useId: Hn, useImperativeHandle: Rn, useInsertionEffect: $n, useLayoutEffect: Qe, useMemo: _t, useReducer: Gt, useRef: $t, useState: ae, useSyncExternalStore: Wn, useTransition: Gn } } }, Ii = "18.3.1";
925
- function Ba(e) {
924
+ }, useCallback: wn, useContext: gt, useDebugValue: Mn, useDeferredValue: kn, useEffect: ue, useId: Hn, useImperativeHandle: Rn, useInsertionEffect: $n, useLayoutEffect: Qe, useMemo: _t, useReducer: Gt, useRef: $t, useState: oe, useSyncExternalStore: Wn, useTransition: Gn } } }, Ci = "18.3.1";
925
+ function Uo(e) {
926
926
  return se.bind(null, e);
927
927
  }
928
928
  function yt(e) {
929
- return !!e && e.$$typeof === Pa;
929
+ return !!e && e.$$typeof === Lo;
930
930
  }
931
- function Ua(e) {
931
+ function Fo(e) {
932
932
  return yt(e) && e.type === le;
933
933
  }
934
- function Fa(e) {
934
+ function ko(e) {
935
935
  return !!e && !!e.displayName && (typeof e.displayName == "string" || e.displayName instanceof String) && e.displayName.startsWith("Memo(");
936
936
  }
937
- function ka(e) {
937
+ function Go(e) {
938
938
  return yt(e) ? ui.apply(null, arguments) : e;
939
939
  }
940
940
  function Un(e) {
941
941
  return !!e.__k && (ct(null, e), !0);
942
942
  }
943
- function Ga(e) {
943
+ function $o(e) {
944
944
  return e && (e.base || e.nodeType === 1 && e) || null;
945
945
  }
946
- var $a = function(e, t) {
946
+ var Wo = function(e, t) {
947
947
  return e(t);
948
- }, Wa = function(e, t) {
948
+ }, jo = function(e, t) {
949
949
  return e(t);
950
- }, ja = le;
950
+ }, Vo = le;
951
951
  function Fn(e) {
952
952
  e();
953
953
  }
@@ -957,58 +957,58 @@ function kn(e) {
957
957
  function Gn() {
958
958
  return [!1, Fn];
959
959
  }
960
- var $n = Qe, Va = yt;
960
+ var $n = Qe, zo = yt;
961
961
  function Wn(e, t) {
962
- var n = t(), r = ae({ h: { __: n, v: t } }), a = r[0].h, o = r[1];
962
+ var n = t(), r = oe({ h: { __: n, v: t } }), o = r[0].h, a = r[1];
963
963
  return Qe(function() {
964
- a.__ = n, a.v = t, Xt(a) && o({ h: a });
964
+ o.__ = n, o.v = t, Xt(o) && a({ h: o });
965
965
  }, [e, n, t]), ue(function() {
966
- return Xt(a) && o({ h: a }), e(function() {
967
- Xt(a) && o({ h: a });
966
+ return Xt(o) && a({ h: o }), e(function() {
967
+ Xt(o) && a({ h: o });
968
968
  });
969
969
  }, [e]), n;
970
970
  }
971
971
  function Xt(e) {
972
- var t, n, r = e.v, a = e.__;
972
+ var t, n, r = e.v, o = e.__;
973
973
  try {
974
- var o = r();
975
- return !((t = a) === (n = o) && (t !== 0 || 1 / t == 1 / n) || t != t && n != n);
974
+ var a = r();
975
+ return !((t = o) === (n = a) && (t !== 0 || 1 / t == 1 / n) || t != t && n != n);
976
976
  } catch (i) {
977
977
  return !0;
978
978
  }
979
979
  }
980
- var f = { useState: ae, useId: Hn, useReducer: Gt, useEffect: ue, useLayoutEffect: Qe, useInsertionEffect: $n, useTransition: Gn, useDeferredValue: kn, useSyncExternalStore: Wn, startTransition: Fn, useRef: $t, useImperativeHandle: Rn, useMemo: _t, useCallback: wn, useContext: gt, useDebugValue: Mn, version: "18.3.1", Children: vt, render: Dn, hydrate: La, unmountComponentAtNode: Un, createPortal: Ha, createElement: se, createContext: mt, createFactory: Ba, cloneElement: ka, createRef: ya, Fragment: le, isValidElement: yt, isElement: Va, isFragment: Ua, isMemo: Fa, findDOMNode: Ga, Component: _e, PureComponent: ft, memo: Ln, forwardRef: Sa, flushSync: Wa, unstable_batchedUpdates: $a, StrictMode: ja, Suspense: ot, SuspenseList: ze, lazy: Ma, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Da };
980
+ var f = { useState: oe, useId: Hn, useReducer: Gt, useEffect: ue, useLayoutEffect: Qe, useInsertionEffect: $n, useTransition: Gn, useDeferredValue: kn, useSyncExternalStore: Wn, startTransition: Fn, useRef: $t, useImperativeHandle: Rn, useMemo: _t, useCallback: wn, useContext: gt, useDebugValue: Mn, version: "18.3.1", Children: vt, render: Dn, hydrate: Do, unmountComponentAtNode: Un, createPortal: Po, createElement: se, createContext: mt, createFactory: Uo, cloneElement: Go, createRef: bo, Fragment: le, isValidElement: yt, isElement: zo, isFragment: Fo, isMemo: ko, findDOMNode: $o, Component: _e, PureComponent: ft, memo: Ln, forwardRef: No, flushSync: jo, unstable_batchedUpdates: Wo, StrictMode: Vo, Suspense: at, SuspenseList: ze, lazy: Ho, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Bo };
981
981
  const Oi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
982
982
  __proto__: null,
983
983
  Children: vt,
984
984
  Component: _e,
985
985
  Fragment: le,
986
986
  PureComponent: ft,
987
- StrictMode: ja,
988
- Suspense: ot,
987
+ StrictMode: Vo,
988
+ Suspense: at,
989
989
  SuspenseList: ze,
990
- __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Da,
991
- cloneElement: ka,
990
+ __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Bo,
991
+ cloneElement: Go,
992
992
  createContext: mt,
993
993
  createElement: se,
994
- createFactory: Ba,
995
- createPortal: Ha,
996
- createRef: ya,
994
+ createFactory: Uo,
995
+ createPortal: Po,
996
+ createRef: bo,
997
997
  default: f,
998
- findDOMNode: Ga,
999
- flushSync: Wa,
1000
- forwardRef: Sa,
1001
- hydrate: La,
1002
- isElement: Va,
1003
- isFragment: Ua,
1004
- isMemo: Fa,
998
+ findDOMNode: $o,
999
+ flushSync: jo,
1000
+ forwardRef: No,
1001
+ hydrate: Do,
1002
+ isElement: zo,
1003
+ isFragment: Fo,
1004
+ isMemo: ko,
1005
1005
  isValidElement: yt,
1006
- lazy: Ma,
1006
+ lazy: Ho,
1007
1007
  memo: Ln,
1008
1008
  render: Dn,
1009
1009
  startTransition: Fn,
1010
1010
  unmountComponentAtNode: Un,
1011
- unstable_batchedUpdates: $a,
1011
+ unstable_batchedUpdates: Wo,
1012
1012
  useCallback: wn,
1013
1013
  useContext: gt,
1014
1014
  useDebugValue: Mn,
@@ -1022,12 +1022,12 @@ const Oi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1022
1022
  useMemo: _t,
1023
1023
  useReducer: Gt,
1024
1024
  useRef: $t,
1025
- useState: ae,
1025
+ useState: oe,
1026
1026
  useSyncExternalStore: Wn,
1027
1027
  useTransition: Gn,
1028
- version: Ii
1028
+ version: Ci
1029
1029
  }, Symbol.toStringTag, { value: "Module" }));
1030
- function Ir(e) {
1030
+ function Cr(e) {
1031
1031
  return {
1032
1032
  // eslint-disable-next-line
1033
1033
  render: function(t) {
@@ -1043,7 +1043,7 @@ var mn = function(e, t) {
1043
1043
  return mn = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
1044
1044
  n.__proto__ = r;
1045
1045
  } || function(n, r) {
1046
- for (var a in r) Object.prototype.hasOwnProperty.call(r, a) && (n[a] = r[a]);
1046
+ for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (n[o] = r[o]);
1047
1047
  }, mn(e, t);
1048
1048
  };
1049
1049
  function de(e, t) {
@@ -1057,9 +1057,9 @@ function de(e, t) {
1057
1057
  }
1058
1058
  var x = function() {
1059
1059
  return x = Object.assign || function(t) {
1060
- for (var n, r = 1, a = arguments.length; r < a; r++) {
1060
+ for (var n, r = 1, o = arguments.length; r < o; r++) {
1061
1061
  n = arguments[r];
1062
- for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
1062
+ for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
1063
1063
  }
1064
1064
  return t;
1065
1065
  }, x.apply(this, arguments);
@@ -1068,18 +1068,18 @@ function Ke(e, t) {
1068
1068
  var n = {};
1069
1069
  for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
1070
1070
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
1071
- for (var a = 0, r = Object.getOwnPropertySymbols(e); a < r.length; a++)
1072
- t.indexOf(r[a]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[a]) && (n[r[a]] = e[r[a]]);
1071
+ for (var o = 0, r = Object.getOwnPropertySymbols(e); o < r.length; o++)
1072
+ t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]);
1073
1073
  return n;
1074
1074
  }
1075
1075
  function re(e, t, n) {
1076
- if (n || arguments.length === 2) for (var r = 0, a = t.length, o; r < a; r++)
1077
- (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
1078
- return e.concat(o || Array.prototype.slice.call(t));
1076
+ if (n || arguments.length === 2) for (var r = 0, o = t.length, a; r < o; r++)
1077
+ (a || !(r in t)) && (a || (a = Array.prototype.slice.call(t, 0, r)), a[r] = t[r]);
1078
+ return e.concat(a || Array.prototype.slice.call(t));
1079
1079
  }
1080
1080
  function te(e, t) {
1081
- var n = t && t.cache ? t.cache : Hi, r = t && t.serializer ? t.serializer : Mi, a = t && t.strategy ? t.strategy : Ni;
1082
- return a(e, {
1081
+ var n = t && t.cache ? t.cache : Hi, r = t && t.serializer ? t.serializer : Mi, o = t && t.strategy ? t.strategy : Ni;
1082
+ return o(e, {
1083
1083
  cache: n,
1084
1084
  serializer: r
1085
1085
  });
@@ -1087,26 +1087,26 @@ function te(e, t) {
1087
1087
  function Si(e) {
1088
1088
  return e == null || typeof e == "number" || typeof e == "boolean";
1089
1089
  }
1090
- function za(e, t, n, r) {
1091
- var a = Si(r) ? r : n(r), o = t.get(a);
1092
- return typeof o == "undefined" && (o = e.call(this, r), t.set(a, o)), o;
1090
+ function qo(e, t, n, r) {
1091
+ var o = Si(r) ? r : n(r), a = t.get(o);
1092
+ return typeof a == "undefined" && (a = e.call(this, r), t.set(o, a)), a;
1093
1093
  }
1094
- function qa(e, t, n) {
1095
- var r = Array.prototype.slice.call(arguments, 3), a = n(r), o = t.get(a);
1096
- return typeof o == "undefined" && (o = e.apply(this, r), t.set(a, o)), o;
1094
+ function Xo(e, t, n) {
1095
+ var r = Array.prototype.slice.call(arguments, 3), o = n(r), a = t.get(o);
1096
+ return typeof a == "undefined" && (a = e.apply(this, r), t.set(o, a)), a;
1097
1097
  }
1098
- function jn(e, t, n, r, a) {
1099
- return n.bind(t, e, r, a);
1098
+ function jn(e, t, n, r, o) {
1099
+ return n.bind(t, e, r, o);
1100
1100
  }
1101
1101
  function Ni(e, t) {
1102
- var n = e.length === 1 ? za : qa;
1102
+ var n = e.length === 1 ? qo : Xo;
1103
1103
  return jn(e, this, n, t.cache.create(), t.serializer);
1104
1104
  }
1105
1105
  function Ri(e, t) {
1106
- return jn(e, this, qa, t.cache.create(), t.serializer);
1106
+ return jn(e, this, Xo, t.cache.create(), t.serializer);
1107
1107
  }
1108
1108
  function wi(e, t) {
1109
- return jn(e, this, za, t.cache.create(), t.serializer);
1109
+ return jn(e, this, qo, t.cache.create(), t.serializer);
1110
1110
  }
1111
1111
  var Mi = function() {
1112
1112
  return JSON.stringify(arguments);
@@ -1128,7 +1128,7 @@ var Hi = {
1128
1128
  variadic: Ri,
1129
1129
  monadic: wi
1130
1130
  };
1131
- function Xa(e, t, n) {
1131
+ function Zo(e, t, n) {
1132
1132
  if (n === void 0 && (n = Error), !e)
1133
1133
  throw new n(t);
1134
1134
  }
@@ -1185,34 +1185,34 @@ function Or(e) {
1185
1185
  function Pi(e) {
1186
1186
  return e.type === F.argument;
1187
1187
  }
1188
- function Za(e) {
1188
+ function Ko(e) {
1189
1189
  return e.type === F.number;
1190
1190
  }
1191
- function Ka(e) {
1191
+ function Yo(e) {
1192
1192
  return e.type === F.date;
1193
1193
  }
1194
- function Ya(e) {
1194
+ function Jo(e) {
1195
1195
  return e.type === F.time;
1196
1196
  }
1197
- function Ja(e) {
1197
+ function Qo(e) {
1198
1198
  return e.type === F.select;
1199
1199
  }
1200
- function Qa(e) {
1200
+ function ea(e) {
1201
1201
  return e.type === F.plural;
1202
1202
  }
1203
1203
  function Li(e) {
1204
1204
  return e.type === F.pound;
1205
1205
  }
1206
- function eo(e) {
1206
+ function ta(e) {
1207
1207
  return e.type === F.tag;
1208
1208
  }
1209
- function to(e) {
1209
+ function na(e) {
1210
1210
  return !!(e && typeof e == "object" && e.type === Ye.number);
1211
1211
  }
1212
1212
  function fn(e) {
1213
1213
  return !!(e && typeof e == "object" && e.type === Ye.dateTime);
1214
1214
  }
1215
- var no = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Di = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1215
+ var ra = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Di = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1216
1216
  function Bi(e) {
1217
1217
  var t = {};
1218
1218
  return e.replace(Di, function(n) {
@@ -1310,8 +1310,8 @@ function Fi(e) {
1310
1310
  throw new Error("Number skeleton cannot be empty");
1311
1311
  for (var t = e.split(Ui).filter(function(d) {
1312
1312
  return d.length > 0;
1313
- }), n = [], r = 0, a = t; r < a.length; r++) {
1314
- var o = a[r], i = o.split("/");
1313
+ }), n = [], r = 0, o = t; r < o.length; r++) {
1314
+ var a = o[r], i = a.split("/");
1315
1315
  if (i.length === 0)
1316
1316
  throw new Error("Invalid number skeleton");
1317
1317
  for (var s = i[0], l = i.slice(1), u = 0, m = l; u < m.length; u++) {
@@ -1326,14 +1326,14 @@ function Fi(e) {
1326
1326
  function ki(e) {
1327
1327
  return e.replace(/^(.*?)-/, "");
1328
1328
  }
1329
- var Sr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ro = /^(@+)?(\+|#+)?[rs]?$/g, Gi = /(\*)(0+)|(#+)(0+)|(0+)/g, ao = /^(0+)$/;
1329
+ var Sr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, oa = /^(@+)?(\+|#+)?[rs]?$/g, Gi = /(\*)(0+)|(#+)(0+)|(0+)/g, aa = /^(0+)$/;
1330
1330
  function Nr(e) {
1331
1331
  var t = {};
1332
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ro, function(n, r, a) {
1333
- return typeof a != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : a === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof a == "string" ? a.length : 0)), "";
1332
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(oa, function(n, r, o) {
1333
+ return typeof o != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : o === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof o == "string" ? o.length : 0)), "";
1334
1334
  }), t;
1335
1335
  }
1336
- function oo(e) {
1336
+ function ia(e) {
1337
1337
  switch (e) {
1338
1338
  case "sign-auto":
1339
1339
  return {
@@ -1381,20 +1381,20 @@ function $i(e) {
1381
1381
  notation: "scientific"
1382
1382
  }, e = e.slice(1)), t) {
1383
1383
  var n = e.slice(0, 2);
1384
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ao.test(e))
1384
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !aa.test(e))
1385
1385
  throw new Error("Malformed concise eng/scientific notation");
1386
1386
  t.minimumIntegerDigits = e.length;
1387
1387
  }
1388
1388
  return t;
1389
1389
  }
1390
1390
  function Rr(e) {
1391
- var t = {}, n = oo(e);
1391
+ var t = {}, n = ia(e);
1392
1392
  return n || t;
1393
1393
  }
1394
1394
  function Wi(e) {
1395
1395
  for (var t = {}, n = 0, r = e; n < r.length; n++) {
1396
- var a = r[n];
1397
- switch (a.stem) {
1396
+ var o = r[n];
1397
+ switch (o.stem) {
1398
1398
  case "percent":
1399
1399
  case "%":
1400
1400
  t.style = "percent";
@@ -1403,7 +1403,7 @@ function Wi(e) {
1403
1403
  t.style = "percent", t.scale = 100;
1404
1404
  continue;
1405
1405
  case "currency":
1406
- t.style = "currency", t.currency = a.options[0];
1406
+ t.style = "currency", t.currency = o.options[0];
1407
1407
  continue;
1408
1408
  case "group-off":
1409
1409
  case ",_":
@@ -1415,7 +1415,7 @@ function Wi(e) {
1415
1415
  continue;
1416
1416
  case "measure-unit":
1417
1417
  case "unit":
1418
- t.style = "unit", t.unit = ki(a.options[0]);
1418
+ t.style = "unit", t.unit = ki(o.options[0]);
1419
1419
  continue;
1420
1420
  case "compact-short":
1421
1421
  case "K":
@@ -1426,12 +1426,12 @@ function Wi(e) {
1426
1426
  t.notation = "compact", t.compactDisplay = "long";
1427
1427
  continue;
1428
1428
  case "scientific":
1429
- t = x(x(x({}, t), { notation: "scientific" }), a.options.reduce(function(l, u) {
1429
+ t = x(x(x({}, t), { notation: "scientific" }), o.options.reduce(function(l, u) {
1430
1430
  return x(x({}, l), Rr(u));
1431
1431
  }, {}));
1432
1432
  continue;
1433
1433
  case "engineering":
1434
- t = x(x(x({}, t), { notation: "engineering" }), a.options.reduce(function(l, u) {
1434
+ t = x(x(x({}, t), { notation: "engineering" }), o.options.reduce(function(l, u) {
1435
1435
  return x(x({}, l), Rr(u));
1436
1436
  }, {}));
1437
1437
  continue;
@@ -1451,7 +1451,7 @@ function Wi(e) {
1451
1451
  t.currencyDisplay = "symbol";
1452
1452
  continue;
1453
1453
  case "scale":
1454
- t.scale = parseFloat(a.options[0]);
1454
+ t.scale = parseFloat(o.options[0]);
1455
1455
  continue;
1456
1456
  case "rounding-mode-floor":
1457
1457
  t.roundingMode = "floor";
@@ -1475,9 +1475,9 @@ function Wi(e) {
1475
1475
  t.roundingMode = "halfExpand";
1476
1476
  continue;
1477
1477
  case "integer-width":
1478
- if (a.options.length > 1)
1478
+ if (o.options.length > 1)
1479
1479
  throw new RangeError("integer-width stems only accept a single optional option");
1480
- a.options[0].replace(Gi, function(l, u, m, c, d, h) {
1480
+ o.options[0].replace(Gi, function(l, u, m, c, d, h) {
1481
1481
  if (u)
1482
1482
  t.minimumIntegerDigits = m.length;
1483
1483
  else {
@@ -1490,27 +1490,27 @@ function Wi(e) {
1490
1490
  });
1491
1491
  continue;
1492
1492
  }
1493
- if (ao.test(a.stem)) {
1494
- t.minimumIntegerDigits = a.stem.length;
1493
+ if (aa.test(o.stem)) {
1494
+ t.minimumIntegerDigits = o.stem.length;
1495
1495
  continue;
1496
1496
  }
1497
- if (Sr.test(a.stem)) {
1498
- if (a.options.length > 1)
1497
+ if (Sr.test(o.stem)) {
1498
+ if (o.options.length > 1)
1499
1499
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1500
- a.stem.replace(Sr, function(l, u, m, c, d, h) {
1500
+ o.stem.replace(Sr, function(l, u, m, c, d, h) {
1501
1501
  return m === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : d && h ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + h.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1502
1502
  });
1503
- var o = a.options[0];
1504
- o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), Nr(o)));
1503
+ var a = o.options[0];
1504
+ a === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = x(x({}, t), Nr(a)));
1505
1505
  continue;
1506
1506
  }
1507
- if (ro.test(a.stem)) {
1508
- t = x(x({}, t), Nr(a.stem));
1507
+ if (oa.test(o.stem)) {
1508
+ t = x(x({}, t), Nr(o.stem));
1509
1509
  continue;
1510
1510
  }
1511
- var i = oo(a.stem);
1511
+ var i = ia(o.stem);
1512
1512
  i && (t = x(x({}, t), i));
1513
- var s = $i(a.stem);
1513
+ var s = $i(o.stem);
1514
1514
  s && (t = x(x({}, t), s));
1515
1515
  }
1516
1516
  return t;
@@ -2932,16 +2932,16 @@ var Nt = {
2932
2932
  };
2933
2933
  function ji(e, t) {
2934
2934
  for (var n = "", r = 0; r < e.length; r++) {
2935
- var a = e.charAt(r);
2936
- if (a === "j") {
2937
- for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === a; )
2938
- o++, r++;
2939
- var i = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Vi(t);
2935
+ var o = e.charAt(r);
2936
+ if (o === "j") {
2937
+ for (var a = 0; r + 1 < e.length && e.charAt(r + 1) === o; )
2938
+ a++, r++;
2939
+ var i = 1 + (a & 1), s = a < 2 ? 1 : 3 + (a >> 1), l = "a", u = Vi(t);
2940
2940
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2941
2941
  n += l;
2942
2942
  for (; i-- > 0; )
2943
2943
  n = u + n;
2944
- } else a === "J" ? n += "H" : n += a;
2944
+ } else o === "J" ? n += "H" : n += o;
2945
2945
  }
2946
2946
  return n;
2947
2947
  }
@@ -2964,10 +2964,10 @@ function Vi(e) {
2964
2964
  }
2965
2965
  var n = e.language, r;
2966
2966
  n !== "root" && (r = e.maximize().region);
2967
- var a = Nt[r || ""] || Nt[n || ""] || Nt["".concat(n, "-001")] || Nt["001"];
2968
- return a[0];
2967
+ var o = Nt[r || ""] || Nt[n || ""] || Nt["".concat(n, "-001")] || Nt["001"];
2968
+ return o[0];
2969
2969
  }
2970
- var Zt, zi = new RegExp("^".concat(no.source, "*")), qi = new RegExp("".concat(no.source, "*$"));
2970
+ var Zt, zi = new RegExp("^".concat(ra.source, "*")), qi = new RegExp("".concat(ra.source, "*$"));
2971
2971
  function M(e, t) {
2972
2972
  return { start: e, end: t };
2973
2973
  }
@@ -2975,7 +2975,7 @@ var Xi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Zi = !!String
2975
2975
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2976
2976
  }, dn = !0;
2977
2977
  try {
2978
- var ns = so("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2978
+ var ns = la("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2979
2979
  dn = ((Zt = ns.exec("a")) === null || Zt === void 0 ? void 0 : Zt[0]) === "a";
2980
2980
  } catch (e) {
2981
2981
  dn = !1;
@@ -2995,8 +2995,8 @@ var wr = Xi ? (
2995
2995
  function() {
2996
2996
  for (var t = [], n = 0; n < arguments.length; n++)
2997
2997
  t[n] = arguments[n];
2998
- for (var r = "", a = t.length, o = 0, i; a > o; ) {
2999
- if (i = t[o++], i > 1114111)
2998
+ for (var r = "", o = t.length, a = 0, i; o > a; ) {
2999
+ if (i = t[a++], i > 1114111)
3000
3000
  throw RangeError(i + " is not a valid code point");
3001
3001
  r += i < 65536 ? String.fromCharCode(i) : String.fromCharCode(((i -= 65536) >> 10) + 55296, i % 1024 + 56320);
3002
3002
  }
@@ -3007,14 +3007,14 @@ var wr = Xi ? (
3007
3007
  Ki ? Object.fromEntries : (
3008
3008
  // Ponyfill
3009
3009
  function(t) {
3010
- for (var n = {}, r = 0, a = t; r < a.length; r++) {
3011
- var o = a[r], i = o[0], s = o[1];
3010
+ for (var n = {}, r = 0, o = t; r < o.length; r++) {
3011
+ var a = o[r], i = a[0], s = a[1];
3012
3012
  n[i] = s;
3013
3013
  }
3014
3014
  return n;
3015
3015
  }
3016
3016
  )
3017
- ), io = Yi ? (
3017
+ ), sa = Yi ? (
3018
3018
  // Native
3019
3019
  function(t, n) {
3020
3020
  return t.codePointAt(n);
@@ -3024,8 +3024,8 @@ var wr = Xi ? (
3024
3024
  function(t, n) {
3025
3025
  var r = t.length;
3026
3026
  if (!(n < 0 || n >= r)) {
3027
- var a = t.charCodeAt(n), o;
3028
- return a < 55296 || a > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? a : (a - 55296 << 10) + (o - 56320) + 65536;
3027
+ var o = t.charCodeAt(n), a;
3028
+ return o < 55296 || o > 56319 || n + 1 === r || (a = t.charCodeAt(n + 1)) < 56320 || a > 57343 ? o : (o - 55296 << 10) + (a - 56320) + 65536;
3029
3029
  }
3030
3030
  }
3031
3031
  ), rs = Ji ? (
@@ -3038,7 +3038,7 @@ var wr = Xi ? (
3038
3038
  function(t) {
3039
3039
  return t.replace(zi, "");
3040
3040
  }
3041
- ), as = Qi ? (
3041
+ ), os = Qi ? (
3042
3042
  // Native
3043
3043
  function(t) {
3044
3044
  return t.trimEnd();
@@ -3049,29 +3049,29 @@ var wr = Xi ? (
3049
3049
  return t.replace(qi, "");
3050
3050
  }
3051
3051
  );
3052
- function so(e, t) {
3052
+ function la(e, t) {
3053
3053
  return new RegExp(e, t);
3054
3054
  }
3055
3055
  var pn;
3056
3056
  if (dn) {
3057
- var Hr = so("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3057
+ var Hr = la("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3058
3058
  pn = function(t, n) {
3059
3059
  var r;
3060
3060
  Hr.lastIndex = n;
3061
- var a = Hr.exec(t);
3062
- return (r = a[1]) !== null && r !== void 0 ? r : "";
3061
+ var o = Hr.exec(t);
3062
+ return (r = o[1]) !== null && r !== void 0 ? r : "";
3063
3063
  };
3064
3064
  } else
3065
3065
  pn = function(t, n) {
3066
3066
  for (var r = []; ; ) {
3067
- var a = io(t, n);
3068
- if (a === void 0 || lo(a) || ls(a))
3067
+ var o = sa(t, n);
3068
+ if (o === void 0 || ua(o) || ls(o))
3069
3069
  break;
3070
- r.push(a), n += a >= 65536 ? 2 : 1;
3070
+ r.push(o), n += o >= 65536 ? 2 : 1;
3071
3071
  }
3072
3072
  return hn.apply(void 0, r);
3073
3073
  };
3074
- var os = (
3074
+ var as = (
3075
3075
  /** @class */
3076
3076
  function() {
3077
3077
  function e(t, n) {
@@ -3082,66 +3082,66 @@ var os = (
3082
3082
  throw Error("parser can only be used once");
3083
3083
  return this.parseMessage(0, "", !1);
3084
3084
  }, e.prototype.parseMessage = function(t, n, r) {
3085
- for (var a = []; !this.isEOF(); ) {
3086
- var o = this.char();
3087
- if (o === 123) {
3085
+ for (var o = []; !this.isEOF(); ) {
3086
+ var a = this.char();
3087
+ if (a === 123) {
3088
3088
  var i = this.parseArgument(t, r);
3089
3089
  if (i.err)
3090
3090
  return i;
3091
- a.push(i.val);
3091
+ o.push(i.val);
3092
3092
  } else {
3093
- if (o === 125 && t > 0)
3093
+ if (a === 125 && t > 0)
3094
3094
  break;
3095
- if (o === 35 && (n === "plural" || n === "selectordinal")) {
3095
+ if (a === 35 && (n === "plural" || n === "selectordinal")) {
3096
3096
  var s = this.clonePosition();
3097
- this.bump(), a.push({
3097
+ this.bump(), o.push({
3098
3098
  type: F.pound,
3099
3099
  location: M(s, this.clonePosition())
3100
3100
  });
3101
- } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3101
+ } else if (a === 60 && !this.ignoreTag && this.peek() === 47) {
3102
3102
  if (r)
3103
3103
  break;
3104
3104
  return this.error(w.UNMATCHED_CLOSING_TAG, M(this.clonePosition(), this.clonePosition()));
3105
- } else if (o === 60 && !this.ignoreTag && _n(this.peek() || 0)) {
3105
+ } else if (a === 60 && !this.ignoreTag && _n(this.peek() || 0)) {
3106
3106
  var i = this.parseTag(t, n);
3107
3107
  if (i.err)
3108
3108
  return i;
3109
- a.push(i.val);
3109
+ o.push(i.val);
3110
3110
  } else {
3111
3111
  var i = this.parseLiteral(t, n);
3112
3112
  if (i.err)
3113
3113
  return i;
3114
- a.push(i.val);
3114
+ o.push(i.val);
3115
3115
  }
3116
3116
  }
3117
3117
  }
3118
- return { val: a, err: null };
3118
+ return { val: o, err: null };
3119
3119
  }, e.prototype.parseTag = function(t, n) {
3120
3120
  var r = this.clonePosition();
3121
3121
  this.bump();
3122
- var a = this.parseTagName();
3122
+ var o = this.parseTagName();
3123
3123
  if (this.bumpSpace(), this.bumpIf("/>"))
3124
3124
  return {
3125
3125
  val: {
3126
3126
  type: F.literal,
3127
- value: "<".concat(a, "/>"),
3127
+ value: "<".concat(o, "/>"),
3128
3128
  location: M(r, this.clonePosition())
3129
3129
  },
3130
3130
  err: null
3131
3131
  };
3132
3132
  if (this.bumpIf(">")) {
3133
- var o = this.parseMessage(t + 1, n, !0);
3134
- if (o.err)
3135
- return o;
3136
- var i = o.val, s = this.clonePosition();
3133
+ var a = this.parseMessage(t + 1, n, !0);
3134
+ if (a.err)
3135
+ return a;
3136
+ var i = a.val, s = this.clonePosition();
3137
3137
  if (this.bumpIf("</")) {
3138
3138
  if (this.isEOF() || !_n(this.char()))
3139
3139
  return this.error(w.INVALID_TAG, M(s, this.clonePosition()));
3140
3140
  var l = this.clonePosition(), u = this.parseTagName();
3141
- return a !== u ? this.error(w.UNMATCHED_CLOSING_TAG, M(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3141
+ return o !== u ? this.error(w.UNMATCHED_CLOSING_TAG, M(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3142
3142
  val: {
3143
3143
  type: F.tag,
3144
- value: a,
3144
+ value: o,
3145
3145
  children: i,
3146
3146
  location: M(r, this.clonePosition())
3147
3147
  },
@@ -3157,27 +3157,27 @@ var os = (
3157
3157
  this.bump();
3158
3158
  return this.message.slice(t, this.offset());
3159
3159
  }, e.prototype.parseLiteral = function(t, n) {
3160
- for (var r = this.clonePosition(), a = ""; ; ) {
3161
- var o = this.tryParseQuote(n);
3162
- if (o) {
3163
- a += o;
3160
+ for (var r = this.clonePosition(), o = ""; ; ) {
3161
+ var a = this.tryParseQuote(n);
3162
+ if (a) {
3163
+ o += a;
3164
3164
  continue;
3165
3165
  }
3166
3166
  var i = this.tryParseUnquoted(t, n);
3167
3167
  if (i) {
3168
- a += i;
3168
+ o += i;
3169
3169
  continue;
3170
3170
  }
3171
3171
  var s = this.tryParseLeftAngleBracket();
3172
3172
  if (s) {
3173
- a += s;
3173
+ o += s;
3174
3174
  continue;
3175
3175
  }
3176
3176
  break;
3177
3177
  }
3178
3178
  var l = M(r, this.clonePosition());
3179
3179
  return {
3180
- val: { type: F.literal, value: a, location: l },
3180
+ val: { type: F.literal, value: o, location: l },
3181
3181
  err: null
3182
3182
  };
3183
3183
  }, e.prototype.tryParseLeftAngleBracket = function() {
@@ -3228,8 +3228,8 @@ var os = (
3228
3228
  return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, M(r, this.clonePosition()));
3229
3229
  if (this.char() === 125)
3230
3230
  return this.bump(), this.error(w.EMPTY_ARGUMENT, M(r, this.clonePosition()));
3231
- var a = this.parseIdentifierIfPossible().value;
3232
- if (!a)
3231
+ var o = this.parseIdentifierIfPossible().value;
3232
+ if (!o)
3233
3233
  return this.error(w.MALFORMED_ARGUMENT, M(r, this.clonePosition()));
3234
3234
  if (this.bumpSpace(), this.isEOF())
3235
3235
  return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, M(r, this.clonePosition()));
@@ -3239,23 +3239,23 @@ var os = (
3239
3239
  val: {
3240
3240
  type: F.argument,
3241
3241
  // value does not include the opening and closing braces.
3242
- value: a,
3242
+ value: o,
3243
3243
  location: M(r, this.clonePosition())
3244
3244
  },
3245
3245
  err: null
3246
3246
  };
3247
3247
  case 44:
3248
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, M(r, this.clonePosition())) : this.parseArgumentOptions(t, n, a, r);
3248
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, M(r, this.clonePosition())) : this.parseArgumentOptions(t, n, o, r);
3249
3249
  default:
3250
3250
  return this.error(w.MALFORMED_ARGUMENT, M(r, this.clonePosition()));
3251
3251
  }
3252
3252
  }, e.prototype.parseIdentifierIfPossible = function() {
3253
- var t = this.clonePosition(), n = this.offset(), r = pn(this.message, n), a = n + r.length;
3254
- this.bumpTo(a);
3255
- var o = this.clonePosition(), i = M(t, o);
3253
+ var t = this.clonePosition(), n = this.offset(), r = pn(this.message, n), o = n + r.length;
3254
+ this.bumpTo(o);
3255
+ var a = this.clonePosition(), i = M(t, a);
3256
3256
  return { value: r, location: i };
3257
- }, e.prototype.parseArgumentOptions = function(t, n, r, a) {
3258
- var o, i = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3257
+ }, e.prototype.parseArgumentOptions = function(t, n, r, o) {
3258
+ var a, i = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3259
3259
  switch (s) {
3260
3260
  case "":
3261
3261
  return this.error(w.EXPECT_ARGUMENT_TYPE, M(i, l));
@@ -3269,16 +3269,16 @@ var os = (
3269
3269
  var m = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3270
3270
  if (c.err)
3271
3271
  return c;
3272
- var d = as(c.val);
3272
+ var d = os(c.val);
3273
3273
  if (d.length === 0)
3274
3274
  return this.error(w.EXPECT_ARGUMENT_STYLE, M(this.clonePosition(), this.clonePosition()));
3275
3275
  var h = M(m, this.clonePosition());
3276
3276
  u = { style: d, styleLocation: h };
3277
3277
  }
3278
- var _ = this.tryParseArgumentClose(a);
3278
+ var _ = this.tryParseArgumentClose(o);
3279
3279
  if (_.err)
3280
3280
  return _;
3281
- var b = M(a, this.clonePosition());
3281
+ var b = M(o, this.clonePosition());
3282
3282
  if (u && wr(u == null ? void 0 : u.style, "::", 0)) {
3283
3283
  var v = rs(u.style.slice(2));
3284
3284
  if (s === "number") {
@@ -3309,7 +3309,7 @@ var os = (
3309
3309
  type: s === "number" ? F.number : s === "date" ? F.date : F.time,
3310
3310
  value: r,
3311
3311
  location: b,
3312
- style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3312
+ style: (a = u == null ? void 0 : u.style) !== null && a !== void 0 ? a : null
3313
3313
  },
3314
3314
  err: null
3315
3315
  };
@@ -3334,10 +3334,10 @@ var os = (
3334
3334
  var S = this.tryParsePluralOrSelectOptions(t, s, n, R);
3335
3335
  if (S.err)
3336
3336
  return S;
3337
- var _ = this.tryParseArgumentClose(a);
3337
+ var _ = this.tryParseArgumentClose(o);
3338
3338
  if (_.err)
3339
3339
  return _;
3340
- var k = M(a, this.clonePosition());
3340
+ var k = M(o, this.clonePosition());
3341
3341
  return s === "select" ? {
3342
3342
  val: {
3343
3343
  type: F.select,
@@ -3369,9 +3369,9 @@ var os = (
3369
3369
  switch (r) {
3370
3370
  case 39: {
3371
3371
  this.bump();
3372
- var a = this.clonePosition();
3372
+ var o = this.clonePosition();
3373
3373
  if (!this.bumpUntil("'"))
3374
- return this.error(w.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, M(a, this.clonePosition()));
3374
+ return this.error(w.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, M(o, this.clonePosition()));
3375
3375
  this.bump();
3376
3376
  break;
3377
3377
  }
@@ -3402,7 +3402,7 @@ var os = (
3402
3402
  var r = [];
3403
3403
  try {
3404
3404
  r = Fi(t);
3405
- } catch (a) {
3405
+ } catch (o) {
3406
3406
  return this.error(w.INVALID_NUMBER_SKELETON, n);
3407
3407
  }
3408
3408
  return {
@@ -3414,8 +3414,8 @@ var os = (
3414
3414
  },
3415
3415
  err: null
3416
3416
  };
3417
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, a) {
3418
- for (var o, i = !1, s = [], l = /* @__PURE__ */ new Set(), u = a.value, m = a.location; ; ) {
3417
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, o) {
3418
+ for (var a, i = !1, s = [], l = /* @__PURE__ */ new Set(), u = o.value, m = o.location; ; ) {
3419
3419
  if (u.length === 0) {
3420
3420
  var c = this.clonePosition();
3421
3421
  if (n !== "select" && this.bumpIf("=")) {
@@ -3444,21 +3444,21 @@ var os = (
3444
3444
  value: _.val,
3445
3445
  location: M(h, this.clonePosition())
3446
3446
  }
3447
- ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, m = o.location;
3447
+ ]), l.add(u), this.bumpSpace(), a = this.parseIdentifierIfPossible(), u = a.value, m = a.location;
3448
3448
  }
3449
3449
  return s.length === 0 ? this.error(n === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR : w.EXPECT_PLURAL_ARGUMENT_SELECTOR, M(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !i ? this.error(w.MISSING_OTHER_CLAUSE, M(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3450
3450
  }, e.prototype.tryParseDecimalInteger = function(t, n) {
3451
- var r = 1, a = this.clonePosition();
3451
+ var r = 1, o = this.clonePosition();
3452
3452
  this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3453
- for (var o = !1, i = 0; !this.isEOF(); ) {
3453
+ for (var a = !1, i = 0; !this.isEOF(); ) {
3454
3454
  var s = this.char();
3455
3455
  if (s >= 48 && s <= 57)
3456
- o = !0, i = i * 10 + (s - 48), this.bump();
3456
+ a = !0, i = i * 10 + (s - 48), this.bump();
3457
3457
  else
3458
3458
  break;
3459
3459
  }
3460
- var l = M(a, this.clonePosition());
3461
- return o ? (i *= r, ts(i) ? { val: i, err: null } : this.error(n, l)) : this.error(t, l);
3460
+ var l = M(o, this.clonePosition());
3461
+ return a ? (i *= r, ts(i) ? { val: i, err: null } : this.error(n, l)) : this.error(t, l);
3462
3462
  }, e.prototype.offset = function() {
3463
3463
  return this.position.offset;
3464
3464
  }, e.prototype.isEOF = function() {
@@ -3473,7 +3473,7 @@ var os = (
3473
3473
  var t = this.position.offset;
3474
3474
  if (t >= this.message.length)
3475
3475
  throw Error("out of bound");
3476
- var n = io(this.message, t);
3476
+ var n = sa(this.message, t);
3477
3477
  if (n === void 0)
3478
3478
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3479
3479
  return n;
@@ -3514,7 +3514,7 @@ var os = (
3514
3514
  break;
3515
3515
  }
3516
3516
  }, e.prototype.bumpSpace = function() {
3517
- for (; !this.isEOF() && lo(this.char()); )
3517
+ for (; !this.isEOF() && ua(this.char()); )
3518
3518
  this.bump();
3519
3519
  }, e.prototype.peek = function() {
3520
3520
  if (this.isEOF())
@@ -3533,7 +3533,7 @@ function is(e) {
3533
3533
  function ss(e) {
3534
3534
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3535
3535
  }
3536
- function lo(e) {
3536
+ function ua(e) {
3537
3537
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3538
3538
  }
3539
3539
  function ls(e) {
@@ -3541,15 +3541,15 @@ function ls(e) {
3541
3541
  }
3542
3542
  function gn(e) {
3543
3543
  e.forEach(function(t) {
3544
- if (delete t.location, Ja(t) || Qa(t))
3544
+ if (delete t.location, Qo(t) || ea(t))
3545
3545
  for (var n in t.options)
3546
3546
  delete t.options[n].location, gn(t.options[n].value);
3547
- else Za(t) && to(t.style) || (Ka(t) || Ya(t)) && fn(t.style) ? delete t.style.location : eo(t) && gn(t.children);
3547
+ else Ko(t) && na(t.style) || (Yo(t) || Jo(t)) && fn(t.style) ? delete t.style.location : ta(t) && gn(t.children);
3548
3548
  });
3549
3549
  }
3550
3550
  function us(e, t) {
3551
3551
  t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3552
- var n = new os(e, t).parse();
3552
+ var n = new as(e, t).parse();
3553
3553
  if (n.err) {
3554
3554
  var r = SyntaxError(w[n.err.kind]);
3555
3555
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
@@ -3564,9 +3564,9 @@ var Se = (
3564
3564
  /** @class */
3565
3565
  function(e) {
3566
3566
  de(t, e);
3567
- function t(n, r, a) {
3568
- var o = e.call(this, n) || this;
3569
- return o.code = r, o.originalMessage = a, o;
3567
+ function t(n, r, o) {
3568
+ var a = e.call(this, n) || this;
3569
+ return a.code = r, a.originalMessage = o, a;
3570
3570
  }
3571
3571
  return t.prototype.toString = function() {
3572
3572
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
@@ -3576,8 +3576,8 @@ var Se = (
3576
3576
  /** @class */
3577
3577
  function(e) {
3578
3578
  de(t, e);
3579
- function t(n, r, a, o) {
3580
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(a).join('", "'), '"'), Te.INVALID_VALUE, o) || this;
3579
+ function t(n, r, o, a) {
3580
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(o).join('", "'), '"'), Te.INVALID_VALUE, a) || this;
3581
3581
  }
3582
3582
  return t;
3583
3583
  }(Se)
@@ -3585,8 +3585,8 @@ var Se = (
3585
3585
  /** @class */
3586
3586
  function(e) {
3587
3587
  de(t, e);
3588
- function t(n, r, a) {
3589
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), Te.INVALID_VALUE, a) || this;
3588
+ function t(n, r, o) {
3589
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), Te.INVALID_VALUE, o) || this;
3590
3590
  }
3591
3591
  return t;
3592
3592
  }(Se)
@@ -3609,10 +3609,10 @@ function fs(e) {
3609
3609
  return !r || r.type !== Q.literal || n.type !== Q.literal ? t.push(n) : r.value += n.value, t;
3610
3610
  }, []);
3611
3611
  }
3612
- function uo(e) {
3612
+ function ca(e) {
3613
3613
  return typeof e == "function";
3614
3614
  }
3615
- function Lt(e, t, n, r, a, o, i) {
3615
+ function Lt(e, t, n, r, o, a, i) {
3616
3616
  if (e.length === 1 && Or(e[0]))
3617
3617
  return [
3618
3618
  {
@@ -3630,16 +3630,16 @@ function Lt(e, t, n, r, a, o, i) {
3630
3630
  continue;
3631
3631
  }
3632
3632
  if (Li(m)) {
3633
- typeof o == "number" && s.push({
3633
+ typeof a == "number" && s.push({
3634
3634
  type: Q.literal,
3635
- value: n.getNumberFormat(t).format(o)
3635
+ value: n.getNumberFormat(t).format(a)
3636
3636
  });
3637
3637
  continue;
3638
3638
  }
3639
3639
  var c = m.value;
3640
- if (!(a && c in a))
3640
+ if (!(o && c in o))
3641
3641
  throw new ms(c, i);
3642
- var d = a[c];
3642
+ var d = o[c];
3643
3643
  if (Pi(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" ? Q.literal : Q.object,
@@ -3647,7 +3647,7 @@ function Lt(e, t, n, r, a, o, i) {
3647
3647
  });
3648
3648
  continue;
3649
3649
  }
3650
- if (Ka(m)) {
3650
+ if (Yo(m)) {
3651
3651
  var h = typeof m.style == "string" ? r.date[m.style] : fn(m.style) ? m.style.parsedOptions : void 0;
3652
3652
  s.push({
3653
3653
  type: Q.literal,
@@ -3655,7 +3655,7 @@ function Lt(e, t, n, r, a, o, i) {
3655
3655
  });
3656
3656
  continue;
3657
3657
  }
3658
- if (Ya(m)) {
3658
+ if (Jo(m)) {
3659
3659
  var h = typeof m.style == "string" ? r.time[m.style] : fn(m.style) ? m.style.parsedOptions : r.time.medium;
3660
3660
  s.push({
3661
3661
  type: Q.literal,
@@ -3663,19 +3663,19 @@ function Lt(e, t, n, r, a, o, i) {
3663
3663
  });
3664
3664
  continue;
3665
3665
  }
3666
- if (Za(m)) {
3667
- var h = typeof m.style == "string" ? r.number[m.style] : to(m.style) ? m.style.parsedOptions : void 0;
3666
+ if (Ko(m)) {
3667
+ var h = typeof m.style == "string" ? r.number[m.style] : na(m.style) ? m.style.parsedOptions : void 0;
3668
3668
  h && h.scale && (d = d * (h.scale || 1)), s.push({
3669
3669
  type: Q.literal,
3670
3670
  value: n.getNumberFormat(t, h).format(d)
3671
3671
  });
3672
3672
  continue;
3673
3673
  }
3674
- if (eo(m)) {
3675
- var _ = m.children, b = m.value, v = a[b];
3676
- if (!uo(v))
3674
+ if (ta(m)) {
3675
+ var _ = m.children, b = m.value, v = o[b];
3676
+ if (!ca(v))
3677
3677
  throw new cs(b, "function", i);
3678
- var y = Lt(_, t, n, r, a, o), T = v(y.map(function(g) {
3678
+ var y = Lt(_, t, n, r, o, a), T = v(y.map(function(g) {
3679
3679
  return g.value;
3680
3680
  }));
3681
3681
  Array.isArray(T) || (T = [T]), s.push.apply(s, T.map(function(g) {
@@ -3685,14 +3685,14 @@ function Lt(e, t, n, r, a, o, i) {
3685
3685
  };
3686
3686
  }));
3687
3687
  }
3688
- if (Ja(m)) {
3688
+ if (Qo(m)) {
3689
3689
  var E = m.options[d] || m.options.other;
3690
3690
  if (!E)
3691
3691
  throw new Pr(m.value, d, Object.keys(m.options), i);
3692
- s.push.apply(s, Lt(E.value, t, n, r, a));
3692
+ s.push.apply(s, Lt(E.value, t, n, r, o));
3693
3693
  continue;
3694
3694
  }
3695
- if (Qa(m)) {
3695
+ if (ea(m)) {
3696
3696
  var E = m.options["=".concat(d)];
3697
3697
  if (!E) {
3698
3698
  if (!Intl.PluralRules)
@@ -3704,7 +3704,7 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3704
3704
  }
3705
3705
  if (!E)
3706
3706
  throw new Pr(m.value, d, Object.keys(m.options), i);
3707
- s.push.apply(s, Lt(E.value, t, n, r, a, d - (m.offset || 0)));
3707
+ s.push.apply(s, Lt(E.value, t, n, r, o, d - (m.offset || 0)));
3708
3708
  continue;
3709
3709
  }
3710
3710
  }
@@ -3766,18 +3766,18 @@ function ps(e) {
3766
3766
  })
3767
3767
  };
3768
3768
  }
3769
- var co = (
3769
+ var ma = (
3770
3770
  /** @class */
3771
3771
  function() {
3772
- function e(t, n, r, a) {
3772
+ function e(t, n, r, o) {
3773
3773
  n === void 0 && (n = e.defaultLocale);
3774
- var o = this;
3774
+ var a = this;
3775
3775
  if (this.formatterCache = {
3776
3776
  number: {},
3777
3777
  dateTime: {},
3778
3778
  pluralRules: {}
3779
3779
  }, this.format = function(l) {
3780
- var u = o.formatToParts(l);
3780
+ var u = a.formatToParts(l);
3781
3781
  if (u.length === 1)
3782
3782
  return u[0].value;
3783
3783
  var m = u.reduce(function(c, d) {
@@ -3785,18 +3785,18 @@ var co = (
3785
3785
  }, []);
3786
3786
  return m.length <= 1 ? m[0] || "" : m;
3787
3787
  }, this.formatToParts = function(l) {
3788
- return Lt(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3788
+ return Lt(a.ast, a.locales, a.formatters, a.formats, l, void 0, a.message);
3789
3789
  }, this.resolvedOptions = function() {
3790
3790
  var l;
3791
3791
  return {
3792
- locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3792
+ locale: ((l = a.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(a.locales)[0]
3793
3793
  };
3794
3794
  }, this.getAst = function() {
3795
- return o.ast;
3795
+ return a.ast;
3796
3796
  }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
3797
3797
  if (this.message = t, !e.__parse)
3798
3798
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3799
- var i = a || {};
3799
+ var i = o || {};
3800
3800
  i.formatters;
3801
3801
  var s = Ke(i, ["formatters"]);
3802
3802
  this.ast = e.__parse(t, x(x({}, s), { locale: this.resolvedLocale }));
@@ -3804,7 +3804,7 @@ var co = (
3804
3804
  this.ast = t;
3805
3805
  if (!Array.isArray(this.ast))
3806
3806
  throw new TypeError("A message must be provided as a String or AST.");
3807
- this.formats = hs(e.formats, r), this.formatters = a && a.formatters || ps(this.formatterCache);
3807
+ this.formats = hs(e.formats, r), this.formatters = o && o.formatters || ps(this.formatterCache);
3808
3808
  }
3809
3809
  return Object.defineProperty(e, "defaultLocale", {
3810
3810
  get: function() {
@@ -3885,12 +3885,12 @@ var bt = (
3885
3885
  /** @class */
3886
3886
  function(e) {
3887
3887
  de(t, e);
3888
- function t(n, r, a) {
3889
- var o = this, i = a ? a instanceof Error ? a : new Error(String(a)) : void 0;
3890
- return o = e.call(this, "[@formatjs/intl Error ".concat(n, "] ").concat(r, `
3888
+ function t(n, r, o) {
3889
+ var a = this, i = o ? o instanceof Error ? o : new Error(String(o)) : void 0;
3890
+ return a = e.call(this, "[@formatjs/intl Error ".concat(n, "] ").concat(r, `
3891
3891
  `).concat(i ? `
3892
3892
  `.concat(i.message, `
3893
- `).concat(i.stack) : "")) || this, o.code = n, typeof Error.captureStackTrace == "function" && Error.captureStackTrace(o, t), o;
3893
+ `).concat(i.stack) : "")) || this, a.code = n, typeof Error.captureStackTrace == "function" && Error.captureStackTrace(a, t), a;
3894
3894
  }
3895
3895
  return t;
3896
3896
  }(Error)
@@ -3925,11 +3925,11 @@ var bt = (
3925
3925
  /** @class */
3926
3926
  function(e) {
3927
3927
  de(t, e);
3928
- function t(n, r, a) {
3929
- var o = e.call(this, Ue.FORMAT_ERROR, "".concat(n, `
3928
+ function t(n, r, o) {
3929
+ var a = e.call(this, Ue.FORMAT_ERROR, "".concat(n, `
3930
3930
  Locale: `).concat(r, `
3931
- `), a) || this;
3932
- return o.locale = r, o;
3931
+ `), o) || this;
3932
+ return a.locale = r, a;
3933
3933
  }
3934
3934
  return t;
3935
3935
  }(bt)
@@ -3937,13 +3937,13 @@ Locale: `).concat(r, `
3937
3937
  /** @class */
3938
3938
  function(e) {
3939
3939
  de(t, e);
3940
- function t(n, r, a, o) {
3940
+ function t(n, r, o, a) {
3941
3941
  var i = e.call(this, "".concat(n, `
3942
- MessageID: `).concat(a == null ? void 0 : a.id, `
3943
- Default Message: `).concat(a == null ? void 0 : a.defaultMessage, `
3944
- Description: `).concat(a == null ? void 0 : a.description, `
3945
- `), r, o) || this;
3946
- return i.descriptor = a, i.locale = r, i;
3942
+ MessageID: `).concat(o == null ? void 0 : o.id, `
3943
+ Default Message: `).concat(o == null ? void 0 : o.defaultMessage, `
3944
+ Description: `).concat(o == null ? void 0 : o.description, `
3945
+ `), r, a) || this;
3946
+ return i.descriptor = o, i.locale = r, i;
3947
3947
  }
3948
3948
  return t;
3949
3949
  }(he)
@@ -3952,23 +3952,23 @@ Description: `).concat(a == null ? void 0 : a.description, `
3952
3952
  function(e) {
3953
3953
  de(t, e);
3954
3954
  function t(n, r) {
3955
- var a = e.call(this, Ue.MISSING_TRANSLATION, 'Missing message: "'.concat(n.id, '" for locale "').concat(r, '", using ').concat(n.defaultMessage ? "default message (".concat(typeof n.defaultMessage == "string" ? n.defaultMessage : n.defaultMessage.map(function(o) {
3955
+ var o = e.call(this, Ue.MISSING_TRANSLATION, 'Missing message: "'.concat(n.id, '" for locale "').concat(r, '", using ').concat(n.defaultMessage ? "default message (".concat(typeof n.defaultMessage == "string" ? n.defaultMessage : n.defaultMessage.map(function(a) {
3956
3956
  var i;
3957
- return (i = o.value) !== null && i !== void 0 ? i : JSON.stringify(o);
3957
+ return (i = a.value) !== null && i !== void 0 ? i : JSON.stringify(a);
3958
3958
  }).join(), ")") : "id", " as fallback.")) || this;
3959
- return a.descriptor = n, a;
3959
+ return o.descriptor = n, o;
3960
3960
  }
3961
3961
  return t;
3962
3962
  }(bt)
3963
3963
  );
3964
3964
  function Ge(e, t, n) {
3965
- return n === void 0 && (n = {}), t.reduce(function(r, a) {
3966
- return a in e ? r[a] = e[a] : a in n && (r[a] = n[a]), r;
3965
+ return n === void 0 && (n = {}), t.reduce(function(r, o) {
3966
+ return o in e ? r[o] = e[o] : o in n && (r[o] = n[o]), r;
3967
3967
  }, {});
3968
3968
  }
3969
3969
  var ys = function(e) {
3970
3970
  }, bs = function(e) {
3971
- }, mo = {
3971
+ }, fa = {
3972
3972
  formats: {},
3973
3973
  messages: {},
3974
3974
  timeZone: void 0,
@@ -3978,7 +3978,7 @@ var ys = function(e) {
3978
3978
  onError: ys,
3979
3979
  onWarn: bs
3980
3980
  };
3981
- function fo() {
3981
+ function da() {
3982
3982
  return {
3983
3983
  dateTime: {},
3984
3984
  number: {},
@@ -4004,15 +4004,15 @@ function we(e) {
4004
4004
  };
4005
4005
  }
4006
4006
  function Es(e) {
4007
- e === void 0 && (e = fo());
4008
- var t = Intl.RelativeTimeFormat, n = Intl.ListFormat, r = Intl.DisplayNames, a = te(function() {
4007
+ e === void 0 && (e = da());
4008
+ var t = Intl.RelativeTimeFormat, n = Intl.ListFormat, r = Intl.DisplayNames, o = te(function() {
4009
4009
  for (var s, l = [], u = 0; u < arguments.length; u++)
4010
4010
  l[u] = arguments[u];
4011
4011
  return new ((s = Intl.DateTimeFormat).bind.apply(s, re([void 0], l, !1)))();
4012
4012
  }, {
4013
4013
  cache: we(e.dateTime),
4014
4014
  strategy: ne.variadic
4015
- }), o = te(function() {
4015
+ }), a = te(function() {
4016
4016
  for (var s, l = [], u = 0; u < arguments.length; u++)
4017
4017
  l[u] = arguments[u];
4018
4018
  return new ((s = Intl.NumberFormat).bind.apply(s, re([void 0], l, !1)))();
@@ -4028,12 +4028,12 @@ function Es(e) {
4028
4028
  strategy: ne.variadic
4029
4029
  });
4030
4030
  return {
4031
- getDateTimeFormat: a,
4032
- getNumberFormat: o,
4031
+ getDateTimeFormat: o,
4032
+ getNumberFormat: a,
4033
4033
  getMessageFormat: te(function(s, l, u, m) {
4034
- return new co(s, l, u, x({ formatters: {
4035
- getNumberFormat: o,
4036
- getDateTimeFormat: a,
4034
+ return new ma(s, l, u, x({ formatters: {
4035
+ getNumberFormat: a,
4036
+ getDateTimeFormat: o,
4037
4037
  getPluralRules: i
4038
4038
  } }, m || {}));
4039
4039
  }, {
@@ -4068,9 +4068,9 @@ function Es(e) {
4068
4068
  };
4069
4069
  }
4070
4070
  function zn(e, t, n, r) {
4071
- var a = e && e[t], o;
4072
- if (a && (o = a[n]), o)
4073
- return o;
4071
+ var o = e && e[t], a;
4072
+ if (o && (a = o[n]), a)
4073
+ return a;
4074
4074
  r(new _s("No ".concat(t, " format named: ").concat(n)));
4075
4075
  }
4076
4076
  function Rt(e, t) {
@@ -4080,21 +4080,21 @@ function Rt(e, t) {
4080
4080
  }
4081
4081
  function Dr(e, t) {
4082
4082
  var n = Object.keys(x(x({}, e), t));
4083
- return n.reduce(function(r, a) {
4084
- return r[a] = x(x({}, e[a] || {}), t[a] || {}), r;
4083
+ return n.reduce(function(r, o) {
4084
+ return r[o] = x(x({}, e[o] || {}), t[o] || {}), r;
4085
4085
  }, {});
4086
4086
  }
4087
4087
  function Br(e, t) {
4088
4088
  if (!t)
4089
4089
  return e;
4090
- var n = co.formats;
4090
+ var n = ma.formats;
4091
4091
  return x(x(x({}, n), e), { date: Dr(Rt(n.date, t), Rt(e.date || {}, t)), time: Dr(Rt(n.time, t), Rt(e.time || {}, t)) });
4092
4092
  }
4093
- var vn = function(e, t, n, r, a) {
4094
- var o = e.locale, i = e.formats, s = e.messages, l = e.defaultLocale, u = e.defaultFormats, m = e.fallbackOnEmptyString, c = e.onError, d = e.timeZone, h = e.defaultRichTextElements;
4093
+ var vn = function(e, t, n, r, o) {
4094
+ var a = e.locale, i = e.formats, s = e.messages, l = e.defaultLocale, u = e.defaultFormats, m = e.fallbackOnEmptyString, c = e.onError, d = e.timeZone, h = e.defaultRichTextElements;
4095
4095
  n === void 0 && (n = { id: "" });
4096
4096
  var _ = n.id, b = n.defaultMessage;
4097
- Xa(!!_, "[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");
4097
+ Zo(!!_, "[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");
4098
4098
  var v = String(_), y = (
4099
4099
  // In case messages is Object.create(null)
4100
4100
  // e.g import('foo.json') from webpack)
@@ -4108,30 +4108,30 @@ var vn = function(e, t, n, r, a) {
4108
4108
  if (r = x(x({}, h), r || {}), i = Br(i, d), u = Br(u, d), !y) {
4109
4109
  if (m === !1 && y === "")
4110
4110
  return y;
4111
- if ((!b || o && o.toLowerCase() !== l.toLowerCase()) && c(new vs(n, o)), b)
4111
+ if ((!b || a && a.toLowerCase() !== l.toLowerCase()) && c(new vs(n, a)), b)
4112
4112
  try {
4113
- var T = t.getMessageFormat(b, l, u, a);
4113
+ var T = t.getMessageFormat(b, l, u, o);
4114
4114
  return T.format(r);
4115
4115
  } catch (E) {
4116
- return c(new Yt('Error formatting default message for: "'.concat(v, '", rendering default message verbatim'), o, n, E)), typeof b == "string" ? b : v;
4116
+ return c(new Yt('Error formatting default message for: "'.concat(v, '", rendering default message verbatim'), a, n, E)), typeof b == "string" ? b : v;
4117
4117
  }
4118
4118
  return v;
4119
4119
  }
4120
4120
  try {
4121
- var T = t.getMessageFormat(y, o, i, x({ formatters: t }, a || {}));
4121
+ var T = t.getMessageFormat(y, a, i, x({ formatters: t }, o || {}));
4122
4122
  return T.format(r);
4123
4123
  } catch (E) {
4124
- c(new Yt('Error formatting message: "'.concat(v, '", using ').concat(b ? "default message" : "id", " as fallback."), o, n, E));
4124
+ c(new Yt('Error formatting message: "'.concat(v, '", using ').concat(b ? "default message" : "id", " as fallback."), a, n, E));
4125
4125
  }
4126
4126
  if (b)
4127
4127
  try {
4128
- var T = t.getMessageFormat(b, l, u, a);
4128
+ var T = t.getMessageFormat(b, l, u, o);
4129
4129
  return T.format(r);
4130
4130
  } catch (E) {
4131
- c(new Yt('Error formatting the default message for: "'.concat(v, '", rendering message verbatim'), o, n, E));
4131
+ c(new Yt('Error formatting the default message for: "'.concat(v, '", rendering message verbatim'), a, n, E));
4132
4132
  }
4133
4133
  return typeof y == "string" ? y : typeof b == "string" ? b : v;
4134
- }, ho = [
4134
+ }, ha = [
4135
4135
  "formatMatcher",
4136
4136
  "timeZone",
4137
4137
  "hour12",
@@ -4153,15 +4153,15 @@ var vn = function(e, t, n, r, a) {
4153
4153
  "fractionalSecondDigits"
4154
4154
  ];
4155
4155
  function Wt(e, t, n, r) {
4156
- var a = e.locale, o = e.formats, i = e.onError, s = e.timeZone;
4156
+ var o = e.locale, a = e.formats, i = e.onError, s = e.timeZone;
4157
4157
  r === void 0 && (r = {});
4158
- var l = r.format, u = x(x({}, s && { timeZone: s }), l && zn(o, t, l, i)), m = Ge(r, ho, u);
4159
- return t === "time" && !m.hour && !m.minute && !m.second && !m.timeStyle && !m.dateStyle && (m = x(x({}, m), { hour: "numeric", minute: "numeric" })), n(a, m);
4158
+ var l = r.format, u = x(x({}, s && { timeZone: s }), l && zn(a, t, l, i)), m = Ge(r, ha, u);
4159
+ return t === "time" && !m.hour && !m.minute && !m.second && !m.timeStyle && !m.dateStyle && (m = x(x({}, m), { hour: "numeric", minute: "numeric" })), n(o, m);
4160
4160
  }
4161
4161
  function Ts(e, t) {
4162
4162
  for (var n = [], r = 2; r < arguments.length; r++)
4163
4163
  n[r - 2] = arguments[r];
4164
- var a = n[0], o = n[1], i = o === void 0 ? {} : o, s = typeof a == "string" ? new Date(a || 0) : a;
4164
+ var o = n[0], a = n[1], i = a === void 0 ? {} : a, s = typeof o == "string" ? new Date(o || 0) : o;
4165
4165
  try {
4166
4166
  return Wt(e, "date", t, i).format(s);
4167
4167
  } catch (l) {
@@ -4172,7 +4172,7 @@ function Ts(e, t) {
4172
4172
  function xs(e, t) {
4173
4173
  for (var n = [], r = 2; r < arguments.length; r++)
4174
4174
  n[r - 2] = arguments[r];
4175
- var a = n[0], o = n[1], i = o === void 0 ? {} : o, s = typeof a == "string" ? new Date(a || 0) : a;
4175
+ var o = n[0], a = n[1], i = a === void 0 ? {} : a, s = typeof o == "string" ? new Date(o || 0) : o;
4176
4176
  try {
4177
4177
  return Wt(e, "time", t, i).format(s);
4178
4178
  } catch (l) {
@@ -4183,18 +4183,18 @@ function xs(e, t) {
4183
4183
  function As(e, t) {
4184
4184
  for (var n = [], r = 2; r < arguments.length; r++)
4185
4185
  n[r - 2] = arguments[r];
4186
- var a = n[0], o = n[1], i = n[2], s = i === void 0 ? {} : i, l = e.timeZone, u = e.locale, m = e.onError, c = Ge(s, ho, l ? { timeZone: l } : {});
4186
+ var o = n[0], a = n[1], i = n[2], s = i === void 0 ? {} : i, l = e.timeZone, u = e.locale, m = e.onError, c = Ge(s, ha, l ? { timeZone: l } : {});
4187
4187
  try {
4188
- return t(u, c).formatRange(a, o);
4188
+ return t(u, c).formatRange(o, a);
4189
4189
  } catch (d) {
4190
4190
  m(new he("Error formatting date time range.", e.locale, d));
4191
4191
  }
4192
- return String(a);
4192
+ return String(o);
4193
4193
  }
4194
- function Cs(e, t) {
4194
+ function Is(e, t) {
4195
4195
  for (var n = [], r = 2; r < arguments.length; r++)
4196
4196
  n[r - 2] = arguments[r];
4197
- var a = n[0], o = n[1], i = o === void 0 ? {} : o, s = typeof a == "string" ? new Date(a || 0) : a;
4197
+ var o = n[0], a = n[1], i = a === void 0 ? {} : a, s = typeof o == "string" ? new Date(o || 0) : o;
4198
4198
  try {
4199
4199
  return Wt(e, "date", t, i).formatToParts(s);
4200
4200
  } catch (l) {
@@ -4202,10 +4202,10 @@ function Cs(e, t) {
4202
4202
  }
4203
4203
  return [];
4204
4204
  }
4205
- function Is(e, t) {
4205
+ function Cs(e, t) {
4206
4206
  for (var n = [], r = 2; r < arguments.length; r++)
4207
4207
  n[r - 2] = arguments[r];
4208
- var a = n[0], o = n[1], i = o === void 0 ? {} : o, s = typeof a == "string" ? new Date(a || 0) : a;
4208
+ var o = n[0], a = n[1], i = a === void 0 ? {} : a, s = typeof o == "string" ? new Date(o || 0) : o;
4209
4209
  try {
4210
4210
  return Wt(e, "time", t, i).formatToParts(s);
4211
4211
  } catch (l) {
@@ -4220,15 +4220,15 @@ var Os = [
4220
4220
  "languageDisplay"
4221
4221
  ];
4222
4222
  function Ss(e, t, n, r) {
4223
- var a = e.locale, o = e.onError, i = Intl.DisplayNames;
4224
- i || o(new Se(`Intl.DisplayNames is not available in this environment.
4223
+ var o = e.locale, a = e.onError, i = Intl.DisplayNames;
4224
+ i || a(new Se(`Intl.DisplayNames is not available in this environment.
4225
4225
  Try polyfilling it using "@formatjs/intl-displaynames"
4226
4226
  `, Te.MISSING_INTL_API));
4227
4227
  var s = Ge(r, Os);
4228
4228
  try {
4229
- return t(a, s).of(n);
4229
+ return t(o, s).of(n);
4230
4230
  } catch (l) {
4231
- o(new he("Error formatting display name.", a, l));
4231
+ a(new he("Error formatting display name.", o, l));
4232
4232
  }
4233
4233
  }
4234
4234
  var Ns = [
@@ -4240,17 +4240,17 @@ function Rs(e) {
4240
4240
  }
4241
4241
  function ws(e, t, n, r) {
4242
4242
  r === void 0 && (r = {});
4243
- var a = po(e, t, n, r).reduce(function(o, i) {
4243
+ var o = pa(e, t, n, r).reduce(function(a, i) {
4244
4244
  var s = i.value;
4245
- return typeof s != "string" ? o.push(s) : typeof o[o.length - 1] == "string" ? o[o.length - 1] += s : o.push(s), o;
4245
+ return typeof s != "string" ? a.push(s) : typeof a[a.length - 1] == "string" ? a[a.length - 1] += s : a.push(s), a;
4246
4246
  }, []);
4247
- return a.length === 1 ? a[0] : a.length === 0 ? "" : a;
4247
+ return o.length === 1 ? o[0] : o.length === 0 ? "" : o;
4248
4248
  }
4249
- function po(e, t, n, r) {
4250
- var a = e.locale, o = e.onError;
4249
+ function pa(e, t, n, r) {
4250
+ var o = e.locale, a = e.onError;
4251
4251
  r === void 0 && (r = {});
4252
4252
  var i = Intl.ListFormat;
4253
- i || o(new Se(`Intl.ListFormat is not available in this environment.
4253
+ i || a(new Se(`Intl.ListFormat is not available in this environment.
4254
4254
  Try polyfilling it using "@formatjs/intl-listformat"
4255
4255
  `, Te.MISSING_INTL_API));
4256
4256
  var s = Ge(r, Ns);
@@ -4262,43 +4262,43 @@ Try polyfilling it using "@formatjs/intl-listformat"
4262
4262
  }
4263
4263
  return String(m);
4264
4264
  });
4265
- return t(a, s).formatToParts(u).map(function(m) {
4265
+ return t(o, s).formatToParts(u).map(function(m) {
4266
4266
  return m.type === "literal" ? m : x(x({}, m), { value: l[m.value] || m.value });
4267
4267
  });
4268
4268
  } catch (m) {
4269
- o(new he("Error formatting list.", a, m));
4269
+ a(new he("Error formatting list.", o, m));
4270
4270
  }
4271
4271
  return n;
4272
4272
  }
4273
4273
  var Ms = ["type"];
4274
4274
  function Hs(e, t, n, r) {
4275
- var a = e.locale, o = e.onError;
4276
- r === void 0 && (r = {}), Intl.PluralRules || o(new Se(`Intl.PluralRules is not available in this environment.
4275
+ var o = e.locale, a = e.onError;
4276
+ r === void 0 && (r = {}), Intl.PluralRules || a(new Se(`Intl.PluralRules is not available in this environment.
4277
4277
  Try polyfilling it using "@formatjs/intl-pluralrules"
4278
4278
  `, Te.MISSING_INTL_API));
4279
4279
  var i = Ge(r, Ms);
4280
4280
  try {
4281
- return t(a, i).select(n);
4281
+ return t(o, i).select(n);
4282
4282
  } catch (s) {
4283
- o(new he("Error formatting plural.", a, s));
4283
+ a(new he("Error formatting plural.", o, s));
4284
4284
  }
4285
4285
  return "other";
4286
4286
  }
4287
4287
  var Ps = ["numeric", "style"];
4288
4288
  function Ls(e, t, n) {
4289
- var r = e.locale, a = e.formats, o = e.onError;
4289
+ var r = e.locale, o = e.formats, a = e.onError;
4290
4290
  n === void 0 && (n = {});
4291
- var i = n.format, s = !!i && zn(a, "relative", i, o) || {}, l = Ge(n, Ps, s);
4291
+ var i = n.format, s = !!i && zn(o, "relative", i, a) || {}, l = Ge(n, Ps, s);
4292
4292
  return t(r, l);
4293
4293
  }
4294
- function Ds(e, t, n, r, a) {
4295
- a === void 0 && (a = {}), r || (r = "second");
4296
- var o = Intl.RelativeTimeFormat;
4297
- o || e.onError(new Se(`Intl.RelativeTimeFormat is not available in this environment.
4294
+ function Ds(e, t, n, r, o) {
4295
+ o === void 0 && (o = {}), r || (r = "second");
4296
+ var a = Intl.RelativeTimeFormat;
4297
+ a || e.onError(new Se(`Intl.RelativeTimeFormat is not available in this environment.
4298
4298
  Try polyfilling it using "@formatjs/intl-relativetimeformat"
4299
4299
  `, Te.MISSING_INTL_API));
4300
4300
  try {
4301
- return Ls(e, t, a).format(n, r);
4301
+ return Ls(e, t, o).format(n, r);
4302
4302
  } catch (i) {
4303
4303
  e.onError(new he("Error formatting relative time.", e.locale, i));
4304
4304
  }
@@ -4330,27 +4330,27 @@ var Bs = [
4330
4330
  "roundingIncrement",
4331
4331
  "roundingMode"
4332
4332
  ];
4333
- function _o(e, t, n) {
4334
- var r = e.locale, a = e.formats, o = e.onError;
4333
+ function _a(e, t, n) {
4334
+ var r = e.locale, o = e.formats, a = e.onError;
4335
4335
  n === void 0 && (n = {});
4336
- var i = n.format, s = i && zn(a, "number", i, o) || {}, l = Ge(n, Bs, s);
4336
+ var i = n.format, s = i && zn(o, "number", i, a) || {}, l = Ge(n, Bs, s);
4337
4337
  return t(r, l);
4338
4338
  }
4339
4339
  function Us(e, t, n, r) {
4340
4340
  r === void 0 && (r = {});
4341
4341
  try {
4342
- return _o(e, t, r).format(n);
4343
- } catch (a) {
4344
- e.onError(new he("Error formatting number.", e.locale, a));
4342
+ return _a(e, t, r).format(n);
4343
+ } catch (o) {
4344
+ e.onError(new he("Error formatting number.", e.locale, o));
4345
4345
  }
4346
4346
  return String(n);
4347
4347
  }
4348
4348
  function Fs(e, t, n, r) {
4349
4349
  r === void 0 && (r = {});
4350
4350
  try {
4351
- return _o(e, t, r).formatToParts(n);
4352
- } catch (a) {
4353
- e.onError(new he("Error formatting number.", e.locale, a));
4351
+ return _a(e, t, r).formatToParts(n);
4352
+ } catch (o) {
4353
+ e.onError(new he("Error formatting number.", e.locale, o));
4354
4354
  }
4355
4355
  return [];
4356
4356
  }
@@ -4364,31 +4364,31 @@ Please consider using "@formatjs/cli" to pre-compile your messages for performan
4364
4364
  For more details see https://formatjs.io/docs/getting-started/message-distribution`);
4365
4365
  }
4366
4366
  function $s(e, t) {
4367
- var n = Es(t), r = x(x({}, mo), e), a = r.locale, o = r.defaultLocale, i = r.onError;
4368
- return a ? !Intl.NumberFormat.supportedLocalesOf(a).length && i ? i(new Lr('Missing locale data for locale: "'.concat(a, '" in Intl.NumberFormat. Using default locale: "').concat(o, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))) : !Intl.DateTimeFormat.supportedLocalesOf(a).length && i && i(new Lr('Missing locale data for locale: "'.concat(a, '" in Intl.DateTimeFormat. Using default locale: "').concat(o, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))) : (i && i(new gs('"locale" was not configured, using "'.concat(o, '" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))), r.locale = r.defaultLocale || "en"), Gs(r), x(x({}, r), {
4367
+ var n = Es(t), r = x(x({}, fa), e), o = r.locale, a = r.defaultLocale, i = r.onError;
4368
+ return o ? !Intl.NumberFormat.supportedLocalesOf(o).length && i ? i(new Lr('Missing locale data for locale: "'.concat(o, '" in Intl.NumberFormat. Using default locale: "').concat(a, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))) : !Intl.DateTimeFormat.supportedLocalesOf(o).length && i && i(new Lr('Missing locale data for locale: "'.concat(o, '" in Intl.DateTimeFormat. Using default locale: "').concat(a, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))) : (i && i(new gs('"locale" was not configured, using "'.concat(a, '" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))), r.locale = r.defaultLocale || "en"), Gs(r), x(x({}, r), {
4369
4369
  formatters: n,
4370
4370
  formatNumber: Us.bind(null, r, n.getNumberFormat),
4371
4371
  formatNumberToParts: Fs.bind(null, r, n.getNumberFormat),
4372
4372
  formatRelativeTime: Ds.bind(null, r, n.getRelativeTimeFormat),
4373
4373
  formatDate: Ts.bind(null, r, n.getDateTimeFormat),
4374
- formatDateToParts: Cs.bind(null, r, n.getDateTimeFormat),
4374
+ formatDateToParts: Is.bind(null, r, n.getDateTimeFormat),
4375
4375
  formatTime: xs.bind(null, r, n.getDateTimeFormat),
4376
4376
  formatDateTimeRange: As.bind(null, r, n.getDateTimeFormat),
4377
- formatTimeToParts: Is.bind(null, r, n.getDateTimeFormat),
4377
+ formatTimeToParts: Cs.bind(null, r, n.getDateTimeFormat),
4378
4378
  formatPlural: Hs.bind(null, r, n.getPluralRules),
4379
4379
  // @ts-expect-error TODO: will get to this later
4380
4380
  formatMessage: vn.bind(null, r, n),
4381
4381
  // @ts-expect-error TODO: will get to this later
4382
4382
  $t: vn.bind(null, r, n),
4383
4383
  formatList: ws.bind(null, r, n.getListFormat),
4384
- formatListToParts: po.bind(null, r, n.getListFormat),
4384
+ formatListToParts: pa.bind(null, r, n.getListFormat),
4385
4385
  formatDisplayName: Ss.bind(null, r, n.getDisplayNames)
4386
4386
  });
4387
4387
  }
4388
- function go(e) {
4389
- Xa(e, "[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.");
4388
+ function ga(e) {
4389
+ Zo(e, "[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.");
4390
4390
  }
4391
- var vo = x(x({}, mo), { textComponent: le });
4391
+ var va = x(x({}, fa), { textComponent: le });
4392
4392
  function Ws(e) {
4393
4393
  return function(t) {
4394
4394
  return e(vt.toArray(t));
@@ -4399,11 +4399,11 @@ function yn(e, t) {
4399
4399
  return !0;
4400
4400
  if (!e || !t)
4401
4401
  return !1;
4402
- var n = Object.keys(e), r = Object.keys(t), a = n.length;
4403
- if (r.length !== a)
4402
+ var n = Object.keys(e), r = Object.keys(t), o = n.length;
4403
+ if (r.length !== o)
4404
4404
  return !1;
4405
- for (var o = 0; o < a; o++) {
4406
- var i = n[o];
4405
+ for (var a = 0; a < o; a++) {
4406
+ var i = n[a];
4407
4407
  if (e[i] !== t[i] || !Object.prototype.hasOwnProperty.call(t, i))
4408
4408
  return !1;
4409
4409
  }
@@ -4412,7 +4412,7 @@ function yn(e, t) {
4412
4412
  function Et(e) {
4413
4413
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4414
4414
  }
4415
- function yo(e) {
4415
+ function ya(e) {
4416
4416
  if (e.__esModule) return e;
4417
4417
  var t = e.default;
4418
4418
  if (typeof t == "function") {
@@ -4422,8 +4422,8 @@ function yo(e) {
4422
4422
  n.prototype = t.prototype;
4423
4423
  } else n = {};
4424
4424
  return Object.defineProperty(n, "__esModule", { value: !0 }), Object.keys(e).forEach(function(r) {
4425
- var a = Object.getOwnPropertyDescriptor(e, r);
4426
- Object.defineProperty(n, r, a.get ? a : {
4425
+ var o = Object.getOwnPropertyDescriptor(e, r);
4426
+ Object.defineProperty(n, r, o.get ? o : {
4427
4427
  enumerable: !0,
4428
4428
  get: function() {
4429
4429
  return e[r];
@@ -4431,7 +4431,7 @@ function yo(e) {
4431
4431
  });
4432
4432
  }), n;
4433
4433
  }
4434
- var bo = { exports: {} }, D = {};
4434
+ var ba = { exports: {} }, D = {};
4435
4435
  /** @license React v16.13.1
4436
4436
  * react-is.production.min.js
4437
4437
  *
@@ -4444,7 +4444,7 @@ var Fr;
4444
4444
  function js() {
4445
4445
  if (Fr) return D;
4446
4446
  Fr = 1;
4447
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, i = 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, h = e ? Symbol.for("react.memo") : 60115, _ = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, y = e ? Symbol.for("react.responder") : 60118, T = e ? Symbol.for("react.scope") : 60119;
4447
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, i = 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, h = e ? Symbol.for("react.memo") : 60115, _ = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, y = e ? Symbol.for("react.responder") : 60118, T = e ? Symbol.for("react.scope") : 60119;
4448
4448
  function E(g) {
4449
4449
  if (typeof g == "object" && g !== null) {
4450
4450
  var S = g.$$typeof;
@@ -4454,8 +4454,8 @@ function js() {
4454
4454
  case l:
4455
4455
  case u:
4456
4456
  case r:
4457
- case o:
4458
4457
  case a:
4458
+ case o:
4459
4459
  case c:
4460
4460
  return g;
4461
4461
  default:
@@ -4478,7 +4478,7 @@ function js() {
4478
4478
  function R(g) {
4479
4479
  return E(g) === u;
4480
4480
  }
4481
- return D.AsyncMode = l, D.ConcurrentMode = u, D.ContextConsumer = s, D.ContextProvider = i, D.Element = t, D.ForwardRef = m, D.Fragment = r, D.Lazy = _, D.Memo = h, D.Portal = n, D.Profiler = o, D.StrictMode = a, D.Suspense = c, D.isAsyncMode = function(g) {
4481
+ return D.AsyncMode = l, D.ConcurrentMode = u, D.ContextConsumer = s, D.ContextProvider = i, D.Element = t, D.ForwardRef = m, D.Fragment = r, D.Lazy = _, D.Memo = h, D.Portal = n, D.Profiler = a, D.StrictMode = o, D.Suspense = c, D.isAsyncMode = function(g) {
4482
4482
  return R(g) || E(g) === l;
4483
4483
  }, D.isConcurrentMode = R, D.isContextConsumer = function(g) {
4484
4484
  return E(g) === s;
@@ -4497,17 +4497,17 @@ function js() {
4497
4497
  }, D.isPortal = function(g) {
4498
4498
  return E(g) === n;
4499
4499
  }, D.isProfiler = function(g) {
4500
- return E(g) === o;
4501
- }, D.isStrictMode = function(g) {
4502
4500
  return E(g) === a;
4501
+ }, D.isStrictMode = function(g) {
4502
+ return E(g) === o;
4503
4503
  }, D.isSuspense = function(g) {
4504
4504
  return E(g) === c;
4505
4505
  }, D.isValidElementType = function(g) {
4506
- return typeof g == "string" || typeof g == "function" || g === r || g === u || g === o || g === a || g === c || g === d || typeof g == "object" && g !== null && (g.$$typeof === _ || g.$$typeof === h || g.$$typeof === i || g.$$typeof === s || g.$$typeof === m || g.$$typeof === v || g.$$typeof === y || g.$$typeof === T || g.$$typeof === b);
4506
+ return typeof g == "string" || typeof g == "function" || g === r || g === u || g === a || g === o || g === c || g === d || typeof g == "object" && g !== null && (g.$$typeof === _ || g.$$typeof === h || g.$$typeof === i || g.$$typeof === s || g.$$typeof === m || g.$$typeof === v || g.$$typeof === y || g.$$typeof === T || g.$$typeof === b);
4507
4507
  }, D.typeOf = E, D;
4508
4508
  }
4509
- bo.exports = js();
4510
- var Vs = bo.exports, Eo = Vs, zs = {
4509
+ ba.exports = js();
4510
+ var Vs = ba.exports, Ea = Vs, zs = {
4511
4511
  $$typeof: !0,
4512
4512
  render: !0,
4513
4513
  defaultProps: !0,
@@ -4520,15 +4520,15 @@ var Vs = bo.exports, Eo = Vs, zs = {
4520
4520
  displayName: !0,
4521
4521
  propTypes: !0,
4522
4522
  type: !0
4523
- }, To = {};
4524
- To[Eo.ForwardRef] = zs;
4525
- To[Eo.Memo] = qs;
4523
+ }, Ta = {};
4524
+ Ta[Ea.ForwardRef] = zs;
4525
+ Ta[Ea.Memo] = qs;
4526
4526
  var qn = typeof window != "undefined" && !window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__ ? window.__REACT_INTL_CONTEXT__ || (window.__REACT_INTL_CONTEXT__ = mt(null)) : mt(null);
4527
4527
  qn.Consumer;
4528
4528
  var Xs = qn.Provider, Zs = Xs, Ks = qn;
4529
4529
  function jt() {
4530
4530
  var e = gt(Ks);
4531
- return go(e), e;
4531
+ return ga(e), e;
4532
4532
  }
4533
4533
  var bn;
4534
4534
  (function(e) {
@@ -4538,63 +4538,63 @@ var En;
4538
4538
  (function(e) {
4539
4539
  e.formatDate = "FormattedDateParts", e.formatTime = "FormattedTimeParts", e.formatNumber = "FormattedNumberParts", e.formatList = "FormattedListParts";
4540
4540
  })(En || (En = {}));
4541
- function xo(e) {
4541
+ function xa(e) {
4542
4542
  var t = function(n) {
4543
- var r = jt(), a = n.value, o = n.children, i = Ke(n, ["value", "children"]), s = typeof a == "string" ? new Date(a || 0) : a, l = e === "formatDate" ? r.formatDateToParts(s, i) : r.formatTimeToParts(s, i);
4544
- return o(l);
4543
+ var r = jt(), o = n.value, a = n.children, i = Ke(n, ["value", "children"]), s = typeof o == "string" ? new Date(o || 0) : o, l = e === "formatDate" ? r.formatDateToParts(s, i) : r.formatTimeToParts(s, i);
4544
+ return a(l);
4545
4545
  };
4546
4546
  return t.displayName = En[e], t;
4547
4547
  }
4548
4548
  function Tt(e) {
4549
4549
  var t = function(n) {
4550
- var r = jt(), a = n.value, o = n.children, i = Ke(
4550
+ var r = jt(), o = n.value, a = n.children, i = Ke(
4551
4551
  n,
4552
4552
  ["value", "children"]
4553
- ), s = r[e](a, i);
4554
- if (typeof o == "function")
4555
- return o(s);
4553
+ ), s = r[e](o, i);
4554
+ if (typeof a == "function")
4555
+ return a(s);
4556
4556
  var l = r.textComponent || le;
4557
4557
  return se(l, null, s);
4558
4558
  };
4559
4559
  return t.displayName = bn[e], t;
4560
4560
  }
4561
- function Ao(e) {
4561
+ function Aa(e) {
4562
4562
  return e && Object.keys(e).reduce(function(t, n) {
4563
4563
  var r = e[n];
4564
- return t[n] = uo(r) ? Ws(r) : r, t;
4564
+ return t[n] = ca(r) ? Ws(r) : r, t;
4565
4565
  }, {});
4566
4566
  }
4567
4567
  var kr = function(e, t, n, r) {
4568
- for (var a = [], o = 4; o < arguments.length; o++)
4569
- a[o - 4] = arguments[o];
4570
- var i = Ao(r), s = vn.apply(void 0, re([
4568
+ for (var o = [], a = 4; a < arguments.length; a++)
4569
+ o[a - 4] = arguments[a];
4570
+ var i = Aa(r), s = vn.apply(void 0, re([
4571
4571
  e,
4572
4572
  t,
4573
4573
  n,
4574
4574
  i
4575
- ], a, !1));
4575
+ ], o, !1));
4576
4576
  return Array.isArray(s) ? vt.toArray(s) : s;
4577
4577
  }, Gr = function(e, t) {
4578
- var n = e.defaultRichTextElements, r = Ke(e, ["defaultRichTextElements"]), a = Ao(n), o = $s(x(x(x({}, vo), r), { defaultRichTextElements: a }), t), i = {
4579
- locale: o.locale,
4580
- timeZone: o.timeZone,
4581
- fallbackOnEmptyString: o.fallbackOnEmptyString,
4582
- formats: o.formats,
4583
- defaultLocale: o.defaultLocale,
4584
- defaultFormats: o.defaultFormats,
4585
- messages: o.messages,
4586
- onError: o.onError,
4587
- defaultRichTextElements: a
4578
+ var n = e.defaultRichTextElements, r = Ke(e, ["defaultRichTextElements"]), o = Aa(n), a = $s(x(x(x({}, va), r), { defaultRichTextElements: o }), t), i = {
4579
+ locale: a.locale,
4580
+ timeZone: a.timeZone,
4581
+ fallbackOnEmptyString: a.fallbackOnEmptyString,
4582
+ formats: a.formats,
4583
+ defaultLocale: a.defaultLocale,
4584
+ defaultFormats: a.defaultFormats,
4585
+ messages: a.messages,
4586
+ onError: a.onError,
4587
+ defaultRichTextElements: o
4588
4588
  };
4589
- return x(x({}, o), {
4589
+ return x(x({}, a), {
4590
4590
  formatMessage: kr.bind(
4591
4591
  null,
4592
4592
  i,
4593
4593
  // @ts-expect-error fix this
4594
- o.formatters
4594
+ a.formatters
4595
4595
  ),
4596
4596
  // @ts-expect-error fix this
4597
- $t: kr.bind(null, i, o.formatters)
4597
+ $t: kr.bind(null, i, a.formatters)
4598
4598
  });
4599
4599
  };
4600
4600
  function Jt(e) {
@@ -4619,43 +4619,43 @@ var Ys = (
4619
4619
  de(t, e);
4620
4620
  function t() {
4621
4621
  var n = e !== null && e.apply(this, arguments) || this;
4622
- return n.cache = fo(), n.state = {
4622
+ return n.cache = da(), n.state = {
4623
4623
  cache: n.cache,
4624
4624
  intl: Gr(Jt(n.props), n.cache),
4625
4625
  prevConfig: Jt(n.props)
4626
4626
  }, n;
4627
4627
  }
4628
4628
  return t.getDerivedStateFromProps = function(n, r) {
4629
- var a = r.prevConfig, o = r.cache, i = Jt(n);
4630
- return yn(a, i) ? null : {
4631
- intl: Gr(i, o),
4629
+ var o = r.prevConfig, a = r.cache, i = Jt(n);
4630
+ return yn(o, i) ? null : {
4631
+ intl: Gr(i, a),
4632
4632
  prevConfig: i
4633
4633
  };
4634
4634
  }, t.prototype.render = function() {
4635
- return go(this.state.intl), se(Zs, { value: this.state.intl }, this.props.children);
4636
- }, t.displayName = "IntlProvider", t.defaultProps = vo, t;
4635
+ return ga(this.state.intl), se(Zs, { value: this.state.intl }, this.props.children);
4636
+ }, t.displayName = "IntlProvider", t.defaultProps = va, t;
4637
4637
  }(ft)
4638
4638
  );
4639
4639
  function Js(e, t) {
4640
- var n = e.values, r = Ke(e, ["values"]), a = t.values, o = Ke(t, ["values"]);
4641
- return yn(a, n) && yn(r, o);
4640
+ var n = e.values, r = Ke(e, ["values"]), o = t.values, a = Ke(t, ["values"]);
4641
+ return yn(o, n) && yn(r, a);
4642
4642
  }
4643
- function Co(e) {
4644
- var t = jt(), n = t.formatMessage, r = t.textComponent, a = r === void 0 ? le : r, o = e.id, i = e.description, s = e.defaultMessage, l = e.values, u = e.children, m = e.tagName, c = m === void 0 ? a : m, d = e.ignoreTag, h = { id: o, description: i, defaultMessage: s }, _ = n(h, l, {
4643
+ function Ia(e) {
4644
+ var t = jt(), n = t.formatMessage, r = t.textComponent, o = r === void 0 ? le : r, a = e.id, i = e.description, s = e.defaultMessage, l = e.values, u = e.children, m = e.tagName, c = m === void 0 ? o : m, d = e.ignoreTag, h = { id: a, description: i, defaultMessage: s }, _ = n(h, l, {
4645
4645
  ignoreTag: d
4646
4646
  });
4647
4647
  return typeof u == "function" ? u(Array.isArray(_) ? _ : [_]) : c ? se(c, null, vt.toArray(_)) : se(le, null, _);
4648
4648
  }
4649
- Co.displayName = "FormattedMessage";
4650
- var L = Ln(Co, Js);
4649
+ Ia.displayName = "FormattedMessage";
4650
+ var L = Ln(Ia, Js);
4651
4651
  L.displayName = "MemoizedFormattedMessage";
4652
- var Io = Tt("formatDate");
4652
+ var Ca = Tt("formatDate");
4653
4653
  Tt("formatTime");
4654
4654
  var Ee = Tt("formatNumber");
4655
4655
  Tt("formatList");
4656
4656
  Tt("formatDisplayName");
4657
- xo("formatDate");
4658
- xo("formatTime");
4657
+ xa("formatDate");
4658
+ xa("formatTime");
4659
4659
  const Qs = {
4660
4660
  "credit-features.credit-cost-display": "{creditCost} (APR {taegPercentage})",
4661
4661
  "credit-features.information": "Überprüfen Sie Ihre Rückzahlungsmöglichkeiten, bevor Sie eine Verpflichtung eingehen.",
@@ -4811,7 +4811,7 @@ const Qs = {
4811
4811
  "payment-plan-strings.no-fee": "(senza interessi)",
4812
4812
  "payment-plan-strings.pay-now": "Paga ora {totalAmount}",
4813
4813
  "payment-plan-strings.pay.now.button": "Paga ora"
4814
- }, al = {
4814
+ }, ol = {
4815
4815
  "credit-features.credit-cost-display": "{creditCost} (gemiddeld rente percentage {taegPercentage})",
4816
4816
  "credit-features.information": "Controleer uw terugbetalingscapaciteit voordat u een toezegging doet.",
4817
4817
  "credit-features.information.title": "Krediet is een verplichting en moet worden terugbetaald.",
@@ -4842,7 +4842,7 @@ const Qs = {
4842
4842
  "payment-plan-strings.no-fee": "(zonder kosten)",
4843
4843
  "payment-plan-strings.pay-now": "Betaal nu {totalAmount}",
4844
4844
  "payment-plan-strings.pay.now.button": "Betaal nu"
4845
- }, ol = {
4845
+ }, al = {
4846
4846
  "credit-features.credit-cost-display": "{creditCost} (TAEG {taegPercentage})",
4847
4847
  "credit-features.information": "Verifique a sua capacidade de reembolso antes de assumir um compromisso.",
4848
4848
  "credit-features.information.title": "O crédito é um compromisso e deve ser reembolsado.",
@@ -4884,9 +4884,9 @@ const Qs = {
4884
4884
  case be.de:
4885
4885
  return Qs;
4886
4886
  case be.pt:
4887
- return ol;
4888
- case be.nl:
4889
4887
  return al;
4888
+ case be.nl:
4889
+ return ol;
4890
4890
  case be.en:
4891
4891
  default:
4892
4892
  return el;
@@ -4900,23 +4900,23 @@ const Qs = {
4900
4900
  ),
4901
4901
  0
4902
4902
  ).toString().replace("-", "A"), ll = (e) => Date.now() - e >= 36e5;
4903
- var ul = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_5ab48eba-df31-4602-ae56-84ceb2328b35", DOTNET_NOLOGO: "1", USER: "runner", BUILD_VERSION: "v4.0.5", npm_config_user_agent: "npm/10.9.2 node/v22.16.0 linux x64 workspaces/false ci/github-actions", CI: "true", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_5ab48eba-df31-4602-ae56-84ceb2328b35", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.16.0/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", npm_config_noproxy: "", HOME: "/home/runner", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_json: "/home/runner/work/widgets/widgets/package.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "alma", npm_package_engines_node: ">=6.0.0", GRADLE_HOME: "/usr/share/gradle-8.14.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.1.13356709", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", GITHUB_REPOSITORY_OWNER_ID: "43338473", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/.npmrc", npm_config_local_prefix: "/home/runner/work/widgets/widgets", SYSTEMD_EXEC_PID: "1889", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", COLOR: "0", NVM_DIR: "/home/runner/.nvm", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250602.3.0", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.9/x64", JOURNAL_STREAM: "9:12688", GITHUB_WORKFLOW: "Release", _: "/opt/hostedtoolcache/node/22.16.0/x64/bin/npm", npm_config_prefix: "/opt/hostedtoolcache/node/22.16.0/x64", npm_config_npm_version: "10.9.2", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "15702833436", npm_config_cache: "/home/runner/.npm", GITHUB_REF_TYPE: "tag", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "564d07ac78d63ac818401a1c3cbc548e01e85002", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GITHUB_WORKFLOW_REF: "alma/widgets/.github/workflows/release.yml@refs/tags/v4.0.5", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_config_node_gyp: "/opt/hostedtoolcache/node/22.16.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/widgets/widgets/node_modules/.bin:/home/runner/work/widgets/widgets/node_modules/.bin:/home/runner/work/widgets/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.16.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/widgets/widgets/node_modules/.bin:/home/runner/work/widgets/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.16.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/22.16.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_a2df4944-4f92-44ab-b519-99ea73975620", INVOCATION_ID: "3d3687753f114f0ab9b5acb9e1e5c9fe", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/22.16.0/x64/bin/node", npm_package_name: "@alma/widgets", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "27", GITHUB_TRIGGERING_ACTOR: "CamilleFljt", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000059657", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "v4.0.5", GITHUB_REPOSITORY: "alma/widgets", npm_lifecycle_script: "vite", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "436622633", GITHUB_ACTIONS: "true", npm_package_version: "4.0.5", npm_lifecycle_event: "npx", GITHUB_REF_PROTECTED: "false", GITHUB_WORKSPACE: "/home/runner/work/widgets/widgets", ACCEPT_EULA: "Y", GITHUB_JOB: "publish-package", npm_package_config_commitizen_path: "./node_modules/cz-conventional-changelog", GITHUB_SHA: "564d07ac78d63ac818401a1c3cbc548e01e85002", GITHUB_RUN_ATTEMPT: "1", GITHUB_REF: "refs/tags/v4.0.5", GITHUB_ACTOR: "CamilleFljt", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_globalconfig: "/opt/hostedtoolcache/node/22.16.0/x64/etc/npmrc", npm_config_init_module: "/home/runner/.npm-init.js", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_5ab48eba-df31-4602-ae56-84ceb2328b35", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/widgets/widgets", GITHUB_ACTOR_ID: "112871182", RUNNER_WORKSPACE: "/home/runner/work/widgets", npm_execpath: "/opt/hostedtoolcache/node/22.16.0/x64/lib/node_modules/npm/bin/npm-cli.js", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "release", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_5ab48eba-df31-4602-ae56-84ceb2328b35", npm_config_global_prefix: "/opt/hostedtoolcache/node/22.16.0/x64", EDGEWEBDRIVER: "/usr/local/share/edge_driver", npm_command: "exec", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_5ab48eba-df31-4602-ae56-84ceb2328b35", INIT_CWD: "/home/runner/work/widgets/widgets", EDITOR: "vi", NODE_ENV: "production" };
4903
+ var ul = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_4be90f1b-5944-491a-9b24-c8de1000f0b2", DOTNET_NOLOGO: "1", USER: "runner", BUILD_VERSION: "v4.0.6", npm_config_user_agent: "npm/10.9.2 node/v22.17.1 linux x64 workspaces/false ci/github-actions", CI: "true", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_4be90f1b-5944-491a-9b24-c8de1000f0b2", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.17.1/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", npm_config_noproxy: "", HOME: "/home/runner", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_json: "/home/runner/work/widgets/widgets/package.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "alma", npm_package_engines_node: ">=6.0.0", GRADLE_HOME: "/usr/share/gradle-8.14.3", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.2.13676358", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", GITHUB_REPOSITORY_OWNER_ID: "43338473", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/.npmrc", npm_config_local_prefix: "/home/runner/work/widgets/widgets", SYSTEMD_EXEC_PID: "1904", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", COLOR: "0", NVM_DIR: "/home/runner/.nvm", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250728.1.0", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.11/x64", JOURNAL_STREAM: "9:10063", GITHUB_WORKFLOW: "Release", _: "/opt/hostedtoolcache/node/22.17.1/x64/bin/npm", npm_config_prefix: "/opt/hostedtoolcache/node/22.17.1/x64", npm_config_npm_version: "10.9.2", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.5/x64", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "16645096448", npm_config_cache: "/home/runner/.npm", GITHUB_REF_TYPE: "tag", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "0aa5a42b3d74766505763aeb1d71861303ebc46e", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GITHUB_WORKFLOW_REF: "alma/widgets/.github/workflows/release.yml@refs/tags/v4.0.6", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_config_node_gyp: "/opt/hostedtoolcache/node/22.17.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/widgets/widgets/node_modules/.bin:/home/runner/work/widgets/widgets/node_modules/.bin:/home/runner/work/widgets/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.17.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/widgets/widgets/node_modules/.bin:/home/runner/work/widgets/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.17.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/22.17.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_9852ab24-6875-463b-aa2b-fe860c437037", INVOCATION_ID: "7d70e6a383074c37a4f065da17950d4c", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/22.17.1/x64/bin/node", npm_package_name: "@alma/widgets", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "28", GITHUB_TRIGGERING_ACTOR: "FranceBe", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000135752", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "v4.0.6", GITHUB_REPOSITORY: "alma/widgets", npm_lifecycle_script: "vite", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "436622633", GITHUB_ACTIONS: "true", npm_package_version: "4.0.6", npm_lifecycle_event: "npx", GITHUB_REF_PROTECTED: "false", GITHUB_WORKSPACE: "/home/runner/work/widgets/widgets", ACCEPT_EULA: "Y", GITHUB_JOB: "publish-package", npm_package_config_commitizen_path: "./node_modules/cz-conventional-changelog", GITHUB_SHA: "0aa5a42b3d74766505763aeb1d71861303ebc46e", GITHUB_RUN_ATTEMPT: "1", GITHUB_REF: "refs/tags/v4.0.6", GITHUB_ACTOR: "FranceBe", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_globalconfig: "/opt/hostedtoolcache/node/22.17.1/x64/etc/npmrc", npm_config_init_module: "/home/runner/.npm-init.js", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_4be90f1b-5944-491a-9b24-c8de1000f0b2", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/widgets/widgets", GITHUB_ACTOR_ID: "33830009", RUNNER_WORKSPACE: "/home/runner/work/widgets", npm_execpath: "/opt/hostedtoolcache/node/22.17.1/x64/lib/node_modules/npm/bin/npm-cli.js", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "release", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_4be90f1b-5944-491a-9b24-c8de1000f0b2", npm_config_global_prefix: "/opt/hostedtoolcache/node/22.17.1/x64", EDGEWEBDRIVER: "/usr/local/share/edge_driver", npm_command: "exec", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_4be90f1b-5944-491a-9b24-c8de1000f0b2", INIT_CWD: "/home/runner/work/widgets/widgets", EDITOR: "vi", NODE_ENV: "production" };
4904
4904
  const cl = () => ({
4905
- setCache: (o, i) => {
4905
+ setCache: (a, i) => {
4906
4906
  const s = Date.now();
4907
- sessionStorage.setItem(o, JSON.stringify({ value: i, timestamp: s }));
4907
+ sessionStorage.setItem(a, JSON.stringify({ value: i, timestamp: s }));
4908
4908
  },
4909
- getCache: (o) => {
4910
- const i = sessionStorage.getItem(o) || "";
4909
+ getCache: (a) => {
4910
+ const i = sessionStorage.getItem(a) || "";
4911
4911
  return i ? JSON.parse(i) : null;
4912
4912
  },
4913
4913
  clearCache: () => {
4914
4914
  sessionStorage.clear();
4915
4915
  },
4916
- deleteCache: (o) => {
4917
- sessionStorage.removeItem(o);
4916
+ deleteCache: (a) => {
4917
+ sessionStorage.removeItem(a);
4918
4918
  },
4919
- createKey: (o) => {
4919
+ createKey: (a) => {
4920
4920
  const {
4921
4921
  purchaseAmount: i,
4922
4922
  plans: s,
@@ -4924,14 +4924,14 @@ const cl = () => ({
4924
4924
  customerShippingCountry: u,
4925
4925
  domain: m,
4926
4926
  merchantId: c
4927
- } = o, d = i.toString(), h = JSON.stringify(s), _ = ul.BUILD_VERSION;
4927
+ } = a, d = i.toString(), h = JSON.stringify(s), _ = ul.BUILD_VERSION;
4928
4928
  return sl(
4929
4929
  `${m}${c}${d}${h}${l}${u}${_}`
4930
4930
  );
4931
4931
  }
4932
4932
  });
4933
4933
  function ml(e, t, n = "") {
4934
- return or(this, null, function* () {
4934
+ return ar(this, null, function* () {
4935
4935
  return (yield fetch(n, {
4936
4936
  method: "POST",
4937
4937
  headers: xe({
@@ -4950,24 +4950,24 @@ const fl = (e, t) => e.eligible && t ? e.purchase_amount >= (t == null ? void 0
4950
4950
  maxAmount: Math.min(t.maxAmount, n == null ? void 0 : n.maximum)
4951
4951
  } : t != null ? t : {};
4952
4952
  }, hl = (e, t) => t ? e.map((n) => {
4953
- const r = (n.deferred_months ? n.deferred_months : 0) * 30 + (n.deferred_days ? n.deferred_days : 0), a = t.find((o) => {
4954
- const i = (o.deferredMonths ? o.deferredMonths : 0) * 30 + (o.deferredDays ? o.deferredDays : 0);
4955
- return n.installments_count === o.installmentsCount && r === i;
4953
+ const r = (n.deferred_months ? n.deferred_months : 0) * 30 + (n.deferred_days ? n.deferred_days : 0), o = t.find((a) => {
4954
+ const i = (a.deferredMonths ? a.deferredMonths : 0) * 30 + (a.deferredDays ? a.deferredDays : 0);
4955
+ return n.installments_count === a.installmentsCount && r === i;
4956
4956
  });
4957
- return xe(ar(xe({}, n), {
4958
- eligible: fl(n, a)
4959
- }), dl(n, a));
4957
+ return xe(or(xe({}, n), {
4958
+ eligible: fl(n, o)
4959
+ }), dl(n, o));
4960
4960
  }) : e.filter(
4961
4961
  (n) => !(n.installments_count === 1 && n.deferred_days === 0 && n.deferred_months === 0)
4962
4962
  );
4963
- var pl = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_5ab48eba-df31-4602-ae56-84ceb2328b35", DOTNET_NOLOGO: "1", USER: "runner", BUILD_VERSION: "v4.0.5", npm_config_user_agent: "npm/10.9.2 node/v22.16.0 linux x64 workspaces/false ci/github-actions", CI: "true", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_5ab48eba-df31-4602-ae56-84ceb2328b35", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.16.0/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", npm_config_noproxy: "", HOME: "/home/runner", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_json: "/home/runner/work/widgets/widgets/package.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "alma", npm_package_engines_node: ">=6.0.0", GRADLE_HOME: "/usr/share/gradle-8.14.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.1.13356709", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", GITHUB_REPOSITORY_OWNER_ID: "43338473", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/.npmrc", npm_config_local_prefix: "/home/runner/work/widgets/widgets", SYSTEMD_EXEC_PID: "1889", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", COLOR: "0", NVM_DIR: "/home/runner/.nvm", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250602.3.0", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.9/x64", JOURNAL_STREAM: "9:12688", GITHUB_WORKFLOW: "Release", _: "/opt/hostedtoolcache/node/22.16.0/x64/bin/npm", npm_config_prefix: "/opt/hostedtoolcache/node/22.16.0/x64", npm_config_npm_version: "10.9.2", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "15702833436", npm_config_cache: "/home/runner/.npm", GITHUB_REF_TYPE: "tag", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "564d07ac78d63ac818401a1c3cbc548e01e85002", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GITHUB_WORKFLOW_REF: "alma/widgets/.github/workflows/release.yml@refs/tags/v4.0.5", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_config_node_gyp: "/opt/hostedtoolcache/node/22.16.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/widgets/widgets/node_modules/.bin:/home/runner/work/widgets/widgets/node_modules/.bin:/home/runner/work/widgets/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.16.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/widgets/widgets/node_modules/.bin:/home/runner/work/widgets/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.16.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/22.16.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_a2df4944-4f92-44ab-b519-99ea73975620", INVOCATION_ID: "3d3687753f114f0ab9b5acb9e1e5c9fe", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/22.16.0/x64/bin/node", npm_package_name: "@alma/widgets", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "27", GITHUB_TRIGGERING_ACTOR: "CamilleFljt", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000059657", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "v4.0.5", GITHUB_REPOSITORY: "alma/widgets", npm_lifecycle_script: "vite", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "436622633", GITHUB_ACTIONS: "true", npm_package_version: "4.0.5", npm_lifecycle_event: "npx", GITHUB_REF_PROTECTED: "false", GITHUB_WORKSPACE: "/home/runner/work/widgets/widgets", ACCEPT_EULA: "Y", GITHUB_JOB: "publish-package", npm_package_config_commitizen_path: "./node_modules/cz-conventional-changelog", GITHUB_SHA: "564d07ac78d63ac818401a1c3cbc548e01e85002", GITHUB_RUN_ATTEMPT: "1", GITHUB_REF: "refs/tags/v4.0.5", GITHUB_ACTOR: "CamilleFljt", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_globalconfig: "/opt/hostedtoolcache/node/22.16.0/x64/etc/npmrc", npm_config_init_module: "/home/runner/.npm-init.js", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_5ab48eba-df31-4602-ae56-84ceb2328b35", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/widgets/widgets", GITHUB_ACTOR_ID: "112871182", RUNNER_WORKSPACE: "/home/runner/work/widgets", npm_execpath: "/opt/hostedtoolcache/node/22.16.0/x64/lib/node_modules/npm/bin/npm-cli.js", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "release", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_5ab48eba-df31-4602-ae56-84ceb2328b35", npm_config_global_prefix: "/opt/hostedtoolcache/node/22.16.0/x64", EDGEWEBDRIVER: "/usr/local/share/edge_driver", npm_command: "exec", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_5ab48eba-df31-4602-ae56-84ceb2328b35", INIT_CWD: "/home/runner/work/widgets/widgets", EDITOR: "vi", NODE_ENV: "production" };
4964
- const Oo = (e, { domain: t, merchantId: n }, r, a, o) => {
4963
+ var pl = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_4be90f1b-5944-491a-9b24-c8de1000f0b2", DOTNET_NOLOGO: "1", USER: "runner", BUILD_VERSION: "v4.0.6", npm_config_user_agent: "npm/10.9.2 node/v22.17.1 linux x64 workspaces/false ci/github-actions", CI: "true", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_4be90f1b-5944-491a-9b24-c8de1000f0b2", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.17.1/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", npm_config_noproxy: "", HOME: "/home/runner", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_json: "/home/runner/work/widgets/widgets/package.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "alma", npm_package_engines_node: ">=6.0.0", GRADLE_HOME: "/usr/share/gradle-8.14.3", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.2.13676358", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", GITHUB_REPOSITORY_OWNER_ID: "43338473", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/.npmrc", npm_config_local_prefix: "/home/runner/work/widgets/widgets", SYSTEMD_EXEC_PID: "1904", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", COLOR: "0", NVM_DIR: "/home/runner/.nvm", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250728.1.0", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.11/x64", JOURNAL_STREAM: "9:10063", GITHUB_WORKFLOW: "Release", _: "/opt/hostedtoolcache/node/22.17.1/x64/bin/npm", npm_config_prefix: "/opt/hostedtoolcache/node/22.17.1/x64", npm_config_npm_version: "10.9.2", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.5/x64", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "16645096448", npm_config_cache: "/home/runner/.npm", GITHUB_REF_TYPE: "tag", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "0aa5a42b3d74766505763aeb1d71861303ebc46e", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GITHUB_WORKFLOW_REF: "alma/widgets/.github/workflows/release.yml@refs/tags/v4.0.6", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_config_node_gyp: "/opt/hostedtoolcache/node/22.17.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/widgets/widgets/node_modules/.bin:/home/runner/work/widgets/widgets/node_modules/.bin:/home/runner/work/widgets/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.17.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/widgets/widgets/node_modules/.bin:/home/runner/work/widgets/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.17.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/22.17.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_9852ab24-6875-463b-aa2b-fe860c437037", INVOCATION_ID: "7d70e6a383074c37a4f065da17950d4c", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/22.17.1/x64/bin/node", npm_package_name: "@alma/widgets", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "28", GITHUB_TRIGGERING_ACTOR: "FranceBe", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000135752", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "v4.0.6", GITHUB_REPOSITORY: "alma/widgets", npm_lifecycle_script: "vite", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "436622633", GITHUB_ACTIONS: "true", npm_package_version: "4.0.6", npm_lifecycle_event: "npx", GITHUB_REF_PROTECTED: "false", GITHUB_WORKSPACE: "/home/runner/work/widgets/widgets", ACCEPT_EULA: "Y", GITHUB_JOB: "publish-package", npm_package_config_commitizen_path: "./node_modules/cz-conventional-changelog", GITHUB_SHA: "0aa5a42b3d74766505763aeb1d71861303ebc46e", GITHUB_RUN_ATTEMPT: "1", GITHUB_REF: "refs/tags/v4.0.6", GITHUB_ACTOR: "FranceBe", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_globalconfig: "/opt/hostedtoolcache/node/22.17.1/x64/etc/npmrc", npm_config_init_module: "/home/runner/.npm-init.js", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_4be90f1b-5944-491a-9b24-c8de1000f0b2", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/widgets/widgets", GITHUB_ACTOR_ID: "33830009", RUNNER_WORKSPACE: "/home/runner/work/widgets", npm_execpath: "/opt/hostedtoolcache/node/22.17.1/x64/lib/node_modules/npm/bin/npm-cli.js", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "release", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_4be90f1b-5944-491a-9b24-c8de1000f0b2", npm_config_global_prefix: "/opt/hostedtoolcache/node/22.17.1/x64", EDGEWEBDRIVER: "/usr/local/share/edge_driver", npm_command: "exec", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_4be90f1b-5944-491a-9b24-c8de1000f0b2", INIT_CWD: "/home/runner/work/widgets/widgets", EDITOR: "vi", NODE_ENV: "production" };
4964
+ const Oa = (e, { domain: t, merchantId: n }, r, o, a) => {
4965
4965
  var E, R;
4966
- const [i, s] = ae([]), [l, u] = ae(ce.PENDING), { getCache: m, setCache: c, createKey: d, clearCache: h } = cl(), _ = d({
4966
+ const [i, s] = oe([]), [l, u] = oe(ce.PENDING), { getCache: m, setCache: c, createKey: d, clearCache: h } = cl(), _ = d({
4967
4967
  purchaseAmount: e,
4968
4968
  plans: r,
4969
- customerBillingCountry: a,
4970
- customerShippingCountry: o,
4969
+ customerBillingCountry: o,
4970
+ customerShippingCountry: a,
4971
4971
  domain: t,
4972
4972
  merchantId: n
4973
4973
  }), b = (E = m(_)) == null ? void 0 : E.value, v = (R = m(_)) == null ? void 0 : R.timestamp, y = v && ll(v), T = r == null ? void 0 : r.map((g) => ({
@@ -4978,12 +4978,12 @@ const Oo = (e, { domain: t, merchantId: n }, r, a, o) => {
4978
4978
  return ue(() => {
4979
4979
  if (l === ce.PENDING) {
4980
4980
  let g = null;
4981
- a && (g = {
4982
- country: a
4981
+ o && (g = {
4982
+ country: o
4983
4983
  });
4984
4984
  let S = null;
4985
- o && (S = {
4986
- country: o
4985
+ a && (S = {
4986
+ country: a
4987
4987
  }), b && !y && (s(b), u(ce.SUCCESS)), y && h(), b || ml(
4988
4988
  {
4989
4989
  purchase_amount: e,
@@ -4997,7 +4997,7 @@ const Oo = (e, { domain: t, merchantId: n }, r, a, o) => {
4997
4997
  },
4998
4998
  `${t}/v2/payments/eligibility`
4999
4999
  ).then((k) => {
5000
- "error_code" in k ? u(ce.FAILED) : (s(k), c(_, k), u(ce.SUCCESS));
5000
+ "error_code" in k || "errors" in k ? u(ce.FAILED) : (s(k), c(_, k), u(ce.SUCCESS));
5001
5001
  }).catch(() => {
5002
5002
  u(ce.FAILED);
5003
5003
  });
@@ -5006,8 +5006,8 @@ const Oo = (e, { domain: t, merchantId: n }, r, a, o) => {
5006
5006
  l,
5007
5007
  e,
5008
5008
  _,
5009
- a,
5010
5009
  o,
5010
+ a,
5011
5011
  b,
5012
5012
  y,
5013
5013
  T,
@@ -5019,14 +5019,14 @@ const Oo = (e, { domain: t, merchantId: n }, r, a, o) => {
5019
5019
  };
5020
5020
  var Xn = {};
5021
5021
  Xn.match = El;
5022
- Xn.parse = So;
5022
+ Xn.parse = Sa;
5023
5023
  var _l = /(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i, gl = /\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/, vl = /^(?:(min|max)-)?(.+)/, yl = /(em|rem|px|cm|mm|in|pt|pc)?$/, bl = /(dpi|dpcm|dppx)?$/;
5024
5024
  function El(e, t) {
5025
- return So(e).some(function(n) {
5026
- var r = n.inverse, a = n.type === "all" || t.type === n.type;
5027
- if (a && r || !(a || r))
5025
+ return Sa(e).some(function(n) {
5026
+ var r = n.inverse, o = n.type === "all" || t.type === n.type;
5027
+ if (o && r || !(o || r))
5028
5028
  return !1;
5029
- var o = n.expressions.every(function(i) {
5029
+ var a = n.expressions.every(function(i) {
5030
5030
  var s = i.feature, l = i.modifier, u = i.value, m = t[s];
5031
5031
  if (!m)
5032
5032
  return !1;
@@ -5065,14 +5065,14 @@ function El(e, t) {
5065
5065
  return m === u;
5066
5066
  }
5067
5067
  });
5068
- return o && !r || !o && r;
5068
+ return a && !r || !a && r;
5069
5069
  });
5070
5070
  }
5071
- function So(e) {
5071
+ function Sa(e) {
5072
5072
  return e.split(",").map(function(t) {
5073
5073
  t = t.trim();
5074
- var n = t.match(_l), r = n[1], a = n[2], o = n[3] || "", i = {};
5075
- return i.inverse = !!r && r.toLowerCase() === "not", i.type = a ? a.toLowerCase() : "all", o = o.match(/\([^\)]+\)/g) || [], i.expressions = o.map(function(s) {
5074
+ var n = t.match(_l), r = n[1], o = n[2], a = n[3] || "", i = {};
5075
+ return i.inverse = !!r && r.toLowerCase() === "not", i.type = o ? o.toLowerCase() : "all", a = a.match(/\([^\)]+\)/g) || [], i.expressions = a.map(function(s) {
5076
5076
  var l = s.match(gl), u = l[1].toLowerCase().match(vl);
5077
5077
  return {
5078
5078
  modifier: u[1],
@@ -5120,31 +5120,31 @@ function Vr(e) {
5120
5120
  }
5121
5121
  var Tl = Xn.match, zr = typeof window != "undefined" ? window.matchMedia : null;
5122
5122
  function xl(e, t, n) {
5123
- var r = this, a;
5124
- zr && !n && (a = zr.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches = Tl(e, t), this.media = e), this.addListener = o, this.removeListener = i, this.dispose = l;
5125
- function o(u) {
5126
- a && a.addListener(u);
5123
+ var r = this, o;
5124
+ zr && !n && (o = zr.call(window, e)), o ? (this.matches = o.matches, this.media = o.media, o.addListener(s)) : (this.matches = Tl(e, t), this.media = e), this.addListener = a, this.removeListener = i, this.dispose = l;
5125
+ function a(u) {
5126
+ o && o.addListener(u);
5127
5127
  }
5128
5128
  function i(u) {
5129
- a && a.removeListener(u);
5129
+ o && o.removeListener(u);
5130
5130
  }
5131
5131
  function s(u) {
5132
5132
  r.matches = u.matches, r.media = u.media;
5133
5133
  }
5134
5134
  function l() {
5135
- a && a.removeListener(s);
5135
+ o && o.removeListener(s);
5136
5136
  }
5137
5137
  }
5138
5138
  function Al(e, t, n) {
5139
5139
  return new xl(e, t, n);
5140
5140
  }
5141
- var Cl = Al;
5142
- const Il = /* @__PURE__ */ Et(Cl);
5141
+ var Il = Al;
5142
+ const Cl = /* @__PURE__ */ Et(Il);
5143
5143
  var Ol = /[A-Z]/g, Sl = /^ms-/, Qt = {};
5144
5144
  function Nl(e) {
5145
5145
  return "-" + e.toLowerCase();
5146
5146
  }
5147
- function No(e) {
5147
+ function Na(e) {
5148
5148
  if (Qt.hasOwnProperty(e))
5149
5149
  return Qt[e];
5150
5150
  var t = e.replace(Ol, Nl);
@@ -5155,17 +5155,17 @@ function Rl(e, t) {
5155
5155
  return !0;
5156
5156
  if (!e || !t)
5157
5157
  return !1;
5158
- const n = Object.keys(e), r = Object.keys(t), a = n.length;
5159
- if (r.length !== a)
5158
+ const n = Object.keys(e), r = Object.keys(t), o = n.length;
5159
+ if (r.length !== o)
5160
5160
  return !1;
5161
- for (let o = 0; o < a; o++) {
5162
- const i = n[o];
5161
+ for (let a = 0; a < o; a++) {
5162
+ const i = n[a];
5163
5163
  if (e[i] !== t[i] || !Object.prototype.hasOwnProperty.call(t, i))
5164
5164
  return !1;
5165
5165
  }
5166
5166
  return !0;
5167
5167
  }
5168
- var Ro = { exports: {} }, en, qr;
5168
+ var Ra = { exports: {} }, en, qr;
5169
5169
  function wl() {
5170
5170
  if (qr) return en;
5171
5171
  qr = 1;
@@ -5191,10 +5191,10 @@ function Ml() {
5191
5191
  }
5192
5192
  }
5193
5193
  r.isRequired = r;
5194
- function a() {
5194
+ function o() {
5195
5195
  return r;
5196
5196
  }
5197
- var o = {
5197
+ var a = {
5198
5198
  array: r,
5199
5199
  bigint: r,
5200
5200
  bool: r,
@@ -5204,24 +5204,24 @@ function Ml() {
5204
5204
  string: r,
5205
5205
  symbol: r,
5206
5206
  any: r,
5207
- arrayOf: a,
5207
+ arrayOf: o,
5208
5208
  element: r,
5209
5209
  elementType: r,
5210
- instanceOf: a,
5210
+ instanceOf: o,
5211
5211
  node: r,
5212
- objectOf: a,
5213
- oneOf: a,
5214
- oneOfType: a,
5215
- shape: a,
5216
- exact: a,
5212
+ objectOf: o,
5213
+ oneOf: o,
5214
+ oneOfType: o,
5215
+ shape: o,
5216
+ exact: o,
5217
5217
  checkPropTypes: n,
5218
5218
  resetWarningCache: t
5219
5219
  };
5220
- return o.PropTypes = o, o;
5220
+ return a.PropTypes = a, a;
5221
5221
  }, tn;
5222
5222
  }
5223
- Ro.exports = Ml()();
5224
- var Zn = Ro.exports;
5223
+ Ra.exports = Ml()();
5224
+ var Zn = Ra.exports;
5225
5225
  const P = /* @__PURE__ */ Et(Zn), ee = P.oneOfType([P.string, P.number]), Kn = {
5226
5226
  all: P.bool,
5227
5227
  grid: P.bool,
@@ -5234,7 +5234,7 @@ const P = /* @__PURE__ */ Et(Zn), ee = P.oneOfType([P.string, P.number]), Kn = {
5234
5234
  tty: P.bool,
5235
5235
  tv: P.bool,
5236
5236
  embossed: P.bool
5237
- }, wo = {
5237
+ }, wa = {
5238
5238
  orientation: P.oneOf(["portrait", "landscape"]),
5239
5239
  scan: P.oneOf(["progressive", "interlace"]),
5240
5240
  aspectRatio: P.string,
@@ -5248,7 +5248,7 @@ const P = /* @__PURE__ */ Et(Zn), ee = P.oneOfType([P.string, P.number]), Kn = {
5248
5248
  monochrome: P.bool,
5249
5249
  resolution: ee,
5250
5250
  type: Object.keys(Kn)
5251
- }, ir = wo, { type: Fm } = ir, Hl = Ot(ir, ["type"]), Mo = xe({
5251
+ }, ir = wa, { type: Fm } = ir, Hl = Ot(ir, ["type"]), Ma = xe({
5252
5252
  minAspectRatio: P.string,
5253
5253
  maxAspectRatio: P.string,
5254
5254
  minDeviceAspectRatio: P.string,
@@ -5269,15 +5269,15 @@ const P = /* @__PURE__ */ Et(Zn), ee = P.oneOfType([P.string, P.number]), Kn = {
5269
5269
  maxMonochrome: P.number,
5270
5270
  minResolution: ee,
5271
5271
  maxResolution: ee
5272
- }, Hl), Pl = xe(xe({}, Kn), Mo);
5272
+ }, Hl), Pl = xe(xe({}, Kn), Ma);
5273
5273
  var Ll = {
5274
5274
  all: Pl,
5275
5275
  types: Kn,
5276
- matchers: wo,
5277
- features: Mo
5276
+ matchers: wa,
5277
+ features: Ma
5278
5278
  };
5279
5279
  const Dl = (e) => `not ${e}`, Bl = (e, t) => {
5280
- const n = No(e);
5280
+ const n = Na(e);
5281
5281
  return typeof t == "number" && (t = `${t}px`), t === !0 ? n : t === !1 ? Dl(n) : `(${n}: ${t})`;
5282
5282
  }, Ul = (e) => e.join(" and "), Fl = (e) => {
5283
5283
  const t = [];
@@ -5285,55 +5285,55 @@ const Dl = (e) => `not ${e}`, Bl = (e, t) => {
5285
5285
  const r = e[n];
5286
5286
  r != null && t.push(Bl(n, r));
5287
5287
  }), Ul(t);
5288
- }, kl = mt(void 0), Gl = (e) => e.query || Fl(e), Zr = (e) => e ? Object.keys(e).reduce((n, r) => (n[No(r)] = e[r], n), {}) : void 0, Ho = () => {
5288
+ }, kl = mt(void 0), Gl = (e) => e.query || Fl(e), Zr = (e) => e ? Object.keys(e).reduce((n, r) => (n[Na(r)] = e[r], n), {}) : void 0, Ha = () => {
5289
5289
  const e = $t(!1);
5290
5290
  return ue(() => {
5291
5291
  e.current = !0;
5292
5292
  }, []), e.current;
5293
5293
  }, $l = (e) => {
5294
- const t = gt(kl), n = () => Zr(e) || Zr(t), [r, a] = ae(n);
5294
+ const t = gt(kl), n = () => Zr(e) || Zr(t), [r, o] = oe(n);
5295
5295
  return ue(() => {
5296
- const o = n();
5297
- Rl(r, o) || a(o);
5296
+ const a = n();
5297
+ Rl(r, a) || o(a);
5298
5298
  }, [e, t]), r;
5299
5299
  }, Wl = (e) => {
5300
- const t = () => Gl(e), [n, r] = ae(t);
5300
+ const t = () => Gl(e), [n, r] = oe(t);
5301
5301
  return ue(() => {
5302
- const a = t();
5303
- n !== a && r(a);
5302
+ const o = t();
5303
+ n !== o && r(o);
5304
5304
  }, [e]), n;
5305
5305
  }, jl = (e, t) => {
5306
- const n = () => Il(e, t || {}, !!t), [r, a] = ae(n), o = Ho();
5306
+ const n = () => Cl(e, t || {}, !!t), [r, o] = oe(n), a = Ha();
5307
5307
  return ue(() => {
5308
- if (o) {
5308
+ if (a) {
5309
5309
  const i = n();
5310
- return a(i), () => {
5310
+ return o(i), () => {
5311
5311
  i && i.dispose();
5312
5312
  };
5313
5313
  }
5314
5314
  }, [e, t]), r;
5315
5315
  }, Vl = (e) => {
5316
- const [t, n] = ae(e.matches);
5316
+ const [t, n] = oe(e.matches);
5317
5317
  return ue(() => {
5318
- const r = (a) => {
5319
- n(a.matches);
5318
+ const r = (o) => {
5319
+ n(o.matches);
5320
5320
  };
5321
5321
  return e.addListener(r), n(e.matches), () => {
5322
5322
  e.removeListener(r);
5323
5323
  };
5324
5324
  }, [e]), t;
5325
5325
  }, zl = (e, t, n) => {
5326
- const r = $l(t), a = Wl(e);
5327
- if (!a)
5326
+ const r = $l(t), o = Wl(e);
5327
+ if (!o)
5328
5328
  throw new Error("Invalid or missing MediaQuery!");
5329
- const o = jl(a, r), i = Vl(o), s = Ho();
5329
+ const a = jl(o, r), i = Vl(a), s = Ha();
5330
5330
  return ue(() => {
5331
5331
  s && n && n(i);
5332
5332
  }, [i]), ue(() => () => {
5333
- o && o.dispose();
5333
+ a && a.dispose();
5334
5334
  }, []), i;
5335
5335
  };
5336
- var Po = { exports: {} };
5336
+ var Pa = { exports: {} };
5337
5337
  /*!
5338
5338
  Copyright (c) 2018 Jed Watson.
5339
5339
  Licensed under the MIT License (MIT), see
@@ -5343,33 +5343,33 @@ var Po = { exports: {} };
5343
5343
  (function() {
5344
5344
  var t = {}.hasOwnProperty;
5345
5345
  function n() {
5346
- for (var o = "", i = 0; i < arguments.length; i++) {
5346
+ for (var a = "", i = 0; i < arguments.length; i++) {
5347
5347
  var s = arguments[i];
5348
- s && (o = a(o, r(s)));
5348
+ s && (a = o(a, r(s)));
5349
5349
  }
5350
- return o;
5350
+ return a;
5351
5351
  }
5352
- function r(o) {
5353
- if (typeof o == "string" || typeof o == "number")
5354
- return o;
5355
- if (typeof o != "object")
5352
+ function r(a) {
5353
+ if (typeof a == "string" || typeof a == "number")
5354
+ return a;
5355
+ if (typeof a != "object")
5356
5356
  return "";
5357
- if (Array.isArray(o))
5358
- return n.apply(null, o);
5359
- if (o.toString !== Object.prototype.toString && !o.toString.toString().includes("[native code]"))
5360
- return o.toString();
5357
+ if (Array.isArray(a))
5358
+ return n.apply(null, a);
5359
+ if (a.toString !== Object.prototype.toString && !a.toString.toString().includes("[native code]"))
5360
+ return a.toString();
5361
5361
  var i = "";
5362
- for (var s in o)
5363
- t.call(o, s) && o[s] && (i = a(i, s));
5362
+ for (var s in a)
5363
+ t.call(a, s) && a[s] && (i = o(i, s));
5364
5364
  return i;
5365
5365
  }
5366
- function a(o, i) {
5367
- return i ? o ? o + " " + i : o + i : o;
5366
+ function o(a, i) {
5367
+ return i ? a ? a + " " + i : a + i : a;
5368
5368
  }
5369
5369
  e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
5370
5370
  })();
5371
- })(Po);
5372
- var ql = Po.exports;
5371
+ })(Pa);
5372
+ var ql = Pa.exports;
5373
5373
  const H = /* @__PURE__ */ Et(ql), Xl = "_container_xqepo_1", Zl = "_total_xqepo_15", Kl = "_creditInfo_xqepo_22", Yl = "_creditInfoTitle_xqepo_33", Jl = "_fees_xqepo_37", Ql = "_creditCost_xqepo_47", eu = "_creditInfoLegalText_xqepo_51", Me = {
5374
5374
  container: Xl,
5375
5375
  total: Zl,
@@ -5397,7 +5397,7 @@ const H = /* @__PURE__ */ Et(ql), Xl = "_container_xqepo_1", Zl = "_total_xqepo_
5397
5397
  summary: `${Z}-summary`
5398
5398
  }, tu = ({ currentPlan: e }) => {
5399
5399
  var u, m, c, d, h, _;
5400
- const t = jt(), n = ie(e.purchase_amount + e.customer_total_cost_amount), r = ie(e.customer_total_cost_amount), a = (e == null ? void 0 : e.annual_interest_rate) && e.annual_interest_rate / 1e4 || 0, o = ie(e.customer_total_cost_amount), i = e.installments_count > 4, s = ie((c = (m = (u = e.payment_plan) == null ? void 0 : u[0]) == null ? void 0 : m.total_amount) != null ? c : 0), l = ie(
5400
+ const t = jt(), n = ie(e.purchase_amount + e.customer_total_cost_amount), r = ie(e.customer_total_cost_amount), o = (e == null ? void 0 : e.annual_interest_rate) && e.annual_interest_rate / 1e4 || 0, a = ie(e.customer_total_cost_amount), i = e.installments_count > 4, s = ie((c = (m = (u = e.payment_plan) == null ? void 0 : u[0]) == null ? void 0 : m.total_amount) != null ? c : 0), l = ie(
5401
5401
  e.purchase_amount + e.customer_total_cost_amount - ((_ = (h = (d = e.payment_plan) == null ? void 0 : d[0]) == null ? void 0 : h.total_amount) != null ? _ : 0)
5402
5402
  );
5403
5403
  return /* @__PURE__ */ f.createElement(f.Fragment, null, i && /* @__PURE__ */ f.createElement("div", { className: Me.creditInfo }, /* @__PURE__ */ f.createElement("span", { className: Me.creditInfoTitle }, /* @__PURE__ */ f.createElement(
@@ -5435,7 +5435,7 @@ const H = /* @__PURE__ */ Et(ql), Xl = "_container_xqepo_1", Zl = "_total_xqepo_
5435
5435
  style: "currency",
5436
5436
  currency: "EUR"
5437
5437
  }),
5438
- taegPercentage: t.formatNumber(a, {
5438
+ taegPercentage: t.formatNumber(o, {
5439
5439
  style: "percent",
5440
5440
  maximumFractionDigits: 2
5441
5441
  })
@@ -5448,7 +5448,7 @@ const H = /* @__PURE__ */ Et(ql), Xl = "_container_xqepo_1", Zl = "_total_xqepo_
5448
5448
  defaultMessage: "Dont frais (TTC)",
5449
5449
  tagName: "div"
5450
5450
  }
5451
- ), /* @__PURE__ */ f.createElement("div", null, /* @__PURE__ */ f.createElement(Ee, { value: o, style: "currency", currency: "EUR" })))),
5451
+ ), /* @__PURE__ */ f.createElement("div", null, /* @__PURE__ */ f.createElement(Ee, { value: a, style: "currency", currency: "EUR" })))),
5452
5452
  i && /* @__PURE__ */ f.createElement("div", { className: Me.creditInfoLegalText }, /* @__PURE__ */ f.createElement(
5453
5453
  L,
5454
5454
  {
@@ -5459,7 +5459,7 @@ const H = /* @__PURE__ */ Et(ql), Xl = "_container_xqepo_1", Zl = "_total_xqepo_
5459
5459
  style: "currency",
5460
5460
  currency: "EUR"
5461
5461
  }),
5462
- taegPercentage: t.formatNumber(a, {
5462
+ taegPercentage: t.formatNumber(o, {
5463
5463
  style: "percent",
5464
5464
  maximumFractionDigits: 2
5465
5465
  }),
@@ -5476,10 +5476,10 @@ const H = /* @__PURE__ */ Et(ql), Xl = "_container_xqepo_1", Zl = "_total_xqepo_
5476
5476
  }
5477
5477
  ))
5478
5478
  ));
5479
- }, nu = "_loadingIndicator_rleli_1", ru = "_bounce_rleli_1", au = {
5479
+ }, nu = "_loadingIndicator_rleli_1", ru = "_bounce_rleli_1", ou = {
5480
5480
  loadingIndicator: nu,
5481
5481
  bounce: ru
5482
- }, ou = ({ className: e }) => /* @__PURE__ */ f.createElement("div", { className: H(au.loadingIndicator, e), "data-testid": "loader" }, /* @__PURE__ */ f.createElement(
5482
+ }, au = ({ className: e }) => /* @__PURE__ */ f.createElement("div", { className: H(ou.loadingIndicator, e), "data-testid": "loader" }, /* @__PURE__ */ f.createElement(
5483
5483
  "svg",
5484
5484
  {
5485
5485
  width: "120",
@@ -5496,11 +5496,11 @@ const H = /* @__PURE__ */ Et(ql), Xl = "_container_xqepo_1", Zl = "_total_xqepo_
5496
5496
  }
5497
5497
  )
5498
5498
  ));
5499
- var Lo = { exports: {} };
5499
+ var La = { exports: {} };
5500
5500
  (function(e) {
5501
5501
  (function(t) {
5502
- var n = !1, r, a;
5503
- function o() {
5502
+ var n = !1, r, o;
5503
+ function a() {
5504
5504
  if (typeof r != "undefined") return r;
5505
5505
  var c = document.documentElement, d = document.createElement("div");
5506
5506
  return d.setAttribute("style", "width:99px;height:99px;position:absolute;top:-9999px;overflow:scroll;"), c.appendChild(d), r = d.offsetWidth - d.clientWidth, c.removeChild(d), r;
@@ -5511,13 +5511,13 @@ var Lo = { exports: {} };
5511
5511
  function s(c) {
5512
5512
  if (!(typeof document == "undefined" || n)) {
5513
5513
  var d = document.documentElement;
5514
- a = window.pageYOffset, i() ? d.style.width = "calc(100% - " + o() + "px)" : d.style.width = "100%", d.style.position = "fixed", d.style.top = -a + "px", d.style.overflow = "hidden", n = !0;
5514
+ o = window.pageYOffset, i() ? d.style.width = "calc(100% - " + a() + "px)" : d.style.width = "100%", d.style.position = "fixed", d.style.top = -o + "px", d.style.overflow = "hidden", n = !0;
5515
5515
  }
5516
5516
  }
5517
5517
  function l() {
5518
5518
  if (!(typeof document == "undefined" || !n)) {
5519
5519
  var c = document.documentElement;
5520
- c.style.width = "", c.style.position = "", c.style.top = "", c.style.overflow = "", window.scroll(0, a), n = !1;
5520
+ c.style.width = "", c.style.position = "", c.style.top = "", c.style.overflow = "", window.scroll(0, o), n = !1;
5521
5521
  }
5522
5522
  }
5523
5523
  function u() {
@@ -5534,11 +5534,11 @@ var Lo = { exports: {} };
5534
5534
  };
5535
5535
  e.exports = m;
5536
5536
  })();
5537
- })(Lo);
5538
- var iu = Lo.exports;
5537
+ })(La);
5538
+ var iu = La.exports;
5539
5539
  const Kr = /* @__PURE__ */ Et(iu);
5540
5540
  var Tn = { exports: {} }, Fe = {};
5541
- const Yn = /* @__PURE__ */ yo(Oi);
5541
+ const Yn = /* @__PURE__ */ ya(Oi);
5542
5542
  var xn = { exports: {} }, ve = {}, An = { exports: {} };
5543
5543
  (function(e, t) {
5544
5544
  Object.defineProperty(t, "__esModule", {
@@ -5555,8 +5555,8 @@ var xn = { exports: {} }, ve = {}, An = { exports: {} };
5555
5555
  *
5556
5556
  * http://api.jqueryui.com/category/ui-core/
5557
5557
  */
5558
- var n = "none", r = "contents", a = /input|select|textarea|button|object|iframe/;
5559
- function o(c, d) {
5558
+ var n = "none", r = "contents", o = /input|select|textarea|button|object|iframe/;
5559
+ function a(c, d) {
5560
5560
  return d.getPropertyValue("overflow") !== "visible" || // if 'overflow: visible' set, check if there is actually any overflow
5561
5561
  c.scrollWidth <= 0 && c.scrollHeight <= 0;
5562
5562
  }
@@ -5565,7 +5565,7 @@ var xn = { exports: {} }, ve = {}, An = { exports: {} };
5565
5565
  if (d && !c.innerHTML) return !0;
5566
5566
  try {
5567
5567
  var h = window.getComputedStyle(c), _ = h.getPropertyValue("display");
5568
- return d ? _ !== r && o(c, h) : _ === n;
5568
+ return d ? _ !== r && a(c, h) : _ === n;
5569
5569
  } catch (b) {
5570
5570
  return console.warn("Failed to inspect element style"), !1;
5571
5571
  }
@@ -5578,7 +5578,7 @@ var xn = { exports: {} }, ve = {}, An = { exports: {} };
5578
5578
  return !0;
5579
5579
  }
5580
5580
  function l(c, d) {
5581
- var h = c.nodeName.toLowerCase(), _ = a.test(h) && !c.disabled || h === "a" && c.href || d;
5581
+ var h = c.nodeName.toLowerCase(), _ = o.test(h) && !c.disabled || h === "a" && c.href || d;
5582
5582
  return _ && s(c);
5583
5583
  }
5584
5584
  function u(c) {
@@ -5595,7 +5595,7 @@ var xn = { exports: {} }, ve = {}, An = { exports: {} };
5595
5595
  }
5596
5596
  e.exports = t.default;
5597
5597
  })(An, An.exports);
5598
- var Do = An.exports;
5598
+ var Da = An.exports;
5599
5599
  Object.defineProperty(ve, "__esModule", {
5600
5600
  value: !0
5601
5601
  });
@@ -5608,22 +5608,22 @@ ve.returnFocus = du;
5608
5608
  ve.popWithoutFocus = hu;
5609
5609
  ve.setupScopedFocus = pu;
5610
5610
  ve.teardownScopedFocus = _u;
5611
- var su = Do, lu = uu(su);
5611
+ var su = Da, lu = uu(su);
5612
5612
  function uu(e) {
5613
5613
  return e && e.__esModule ? e : { default: e };
5614
5614
  }
5615
- var Je = [], qe = null, Cn = !1;
5615
+ var Je = [], qe = null, In = !1;
5616
5616
  function cu() {
5617
5617
  Je = [];
5618
5618
  }
5619
5619
  function mu() {
5620
5620
  }
5621
5621
  function dt() {
5622
- Cn = !0;
5622
+ In = !0;
5623
5623
  }
5624
5624
  function ht() {
5625
- if (Cn) {
5626
- if (Cn = !1, !qe)
5625
+ if (In) {
5626
+ if (In = !1, !qe)
5627
5627
  return;
5628
5628
  setTimeout(function() {
5629
5629
  if (!qe.contains(document.activeElement)) {
@@ -5654,18 +5654,18 @@ function pu(e) {
5654
5654
  function _u() {
5655
5655
  qe = null, window.addEventListener ? (window.removeEventListener("blur", dt), document.removeEventListener("focus", ht)) : (window.detachEvent("onBlur", dt), document.detachEvent("onFocus", ht));
5656
5656
  }
5657
- var In = { exports: {} };
5657
+ var Cn = { exports: {} };
5658
5658
  (function(e, t) {
5659
5659
  Object.defineProperty(t, "__esModule", {
5660
5660
  value: !0
5661
5661
  }), t.default = i;
5662
- var n = Do, r = a(n);
5663
- function a(s) {
5662
+ var n = Da, r = o(n);
5663
+ function o(s) {
5664
5664
  return s && s.__esModule ? s : { default: s };
5665
5665
  }
5666
- function o() {
5666
+ function a() {
5667
5667
  var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : document;
5668
- return s.activeElement.shadowRoot ? o(s.activeElement.shadowRoot) : s.activeElement;
5668
+ return s.activeElement.shadowRoot ? a(s.activeElement.shadowRoot) : s.activeElement;
5669
5669
  }
5670
5670
  function i(s, l) {
5671
5671
  var u = (0, r.default)(s);
@@ -5673,7 +5673,7 @@ var In = { exports: {} };
5673
5673
  l.preventDefault();
5674
5674
  return;
5675
5675
  }
5676
- var m = void 0, c = l.shiftKey, d = u[0], h = u[u.length - 1], _ = o();
5676
+ var m = void 0, c = l.shiftKey, d = u[0], h = u[u.length - 1], _ = a();
5677
5677
  if (s === _) {
5678
5678
  if (!c) return;
5679
5679
  m = h;
@@ -5693,9 +5693,9 @@ var In = { exports: {} };
5693
5693
  }
5694
5694
  }
5695
5695
  e.exports = t.default;
5696
- })(In, In.exports);
5697
- var gu = In.exports, ye = {}, vu = function() {
5698
- }, yu = vu, ge = {}, Bo = { exports: {} };
5696
+ })(Cn, Cn.exports);
5697
+ var gu = Cn.exports, ye = {}, vu = function() {
5698
+ }, yu = vu, ge = {}, Ba = { exports: {} };
5699
5699
  /*!
5700
5700
  Copyright (c) 2015 Jed Watson.
5701
5701
  Based on code that is Copyright 2013-2015, Facebook, Inc.
@@ -5711,8 +5711,8 @@ var gu = In.exports, ye = {}, vu = function() {
5711
5711
  };
5712
5712
  e.exports ? e.exports = n : window.ExecutionEnvironment = n;
5713
5713
  })();
5714
- })(Bo);
5715
- var bu = Bo.exports;
5714
+ })(Ba);
5715
+ var bu = Ba.exports;
5716
5716
  Object.defineProperty(ge, "__esModule", {
5717
5717
  value: !0
5718
5718
  });
@@ -5731,13 +5731,13 @@ Object.defineProperty(ye, "__esModule", {
5731
5731
  });
5732
5732
  ye.resetState = Nu;
5733
5733
  ye.log = Ru;
5734
- ye.assertNodeList = Uo;
5734
+ ye.assertNodeList = Ua;
5735
5735
  ye.setElement = wu;
5736
5736
  ye.validateElement = Jn;
5737
5737
  ye.hide = Mu;
5738
5738
  ye.show = Hu;
5739
5739
  ye.documentNotReadyOrSSRTesting = Pu;
5740
- var Cu = yu, Iu = Su(Cu), Ou = ge;
5740
+ var Iu = yu, Cu = Su(Iu), Ou = ge;
5741
5741
  function Su(e) {
5742
5742
  return e && e.__esModule ? e : { default: e };
5743
5743
  }
@@ -5751,7 +5751,7 @@ function Nu() {
5751
5751
  }
5752
5752
  function Ru() {
5753
5753
  }
5754
- function Uo(e, t) {
5754
+ function Ua(e, t) {
5755
5755
  if (!e || !e.length)
5756
5756
  throw new Error("react-modal: No elements were found for selector " + t + ".");
5757
5757
  }
@@ -5759,26 +5759,26 @@ function wu(e) {
5759
5759
  var t = e;
5760
5760
  if (typeof t == "string" && Ou.canUseDOM) {
5761
5761
  var n = document.querySelectorAll(t);
5762
- Uo(n, t), t = n;
5762
+ Ua(n, t), t = n;
5763
5763
  }
5764
5764
  return fe = t || fe, fe;
5765
5765
  }
5766
5766
  function Jn(e) {
5767
5767
  var t = e || fe;
5768
- return t ? Array.isArray(t) || t instanceof HTMLCollection || t instanceof NodeList ? t : [t] : ((0, Iu.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(" ")), []);
5768
+ return t ? Array.isArray(t) || t instanceof HTMLCollection || t instanceof NodeList ? t : [t] : ((0, Cu.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(" ")), []);
5769
5769
  }
5770
5770
  function Mu(e) {
5771
5771
  var t = !0, n = !1, r = void 0;
5772
5772
  try {
5773
- for (var a = Jn(e)[Symbol.iterator](), o; !(t = (o = a.next()).done); t = !0) {
5774
- var i = o.value;
5773
+ for (var o = Jn(e)[Symbol.iterator](), a; !(t = (a = o.next()).done); t = !0) {
5774
+ var i = a.value;
5775
5775
  i.setAttribute("aria-hidden", "true");
5776
5776
  }
5777
5777
  } catch (s) {
5778
5778
  n = !0, r = s;
5779
5779
  } finally {
5780
5780
  try {
5781
- !t && a.return && a.return();
5781
+ !t && o.return && o.return();
5782
5782
  } finally {
5783
5783
  if (n)
5784
5784
  throw r;
@@ -5788,15 +5788,15 @@ function Mu(e) {
5788
5788
  function Hu(e) {
5789
5789
  var t = !0, n = !1, r = void 0;
5790
5790
  try {
5791
- for (var a = Jn(e)[Symbol.iterator](), o; !(t = (o = a.next()).done); t = !0) {
5792
- var i = o.value;
5791
+ for (var o = Jn(e)[Symbol.iterator](), a; !(t = (a = o.next()).done); t = !0) {
5792
+ var i = a.value;
5793
5793
  i.removeAttribute("aria-hidden");
5794
5794
  }
5795
5795
  } catch (s) {
5796
5796
  n = !0, r = s;
5797
5797
  } finally {
5798
5798
  try {
5799
- !t && a.return && a.return();
5799
+ !t && o.return && o.return();
5800
5800
  } finally {
5801
5801
  if (n)
5802
5802
  throw r;
@@ -5832,12 +5832,12 @@ var Bu = function(t, n) {
5832
5832
  }, Uu = function(t, n) {
5833
5833
  return t[n] && (t[n] -= 1), n;
5834
5834
  }, Fu = function(t, n, r) {
5835
- r.forEach(function(a) {
5836
- Bu(n, a), t.add(a);
5835
+ r.forEach(function(o) {
5836
+ Bu(n, o), t.add(o);
5837
5837
  });
5838
5838
  }, ku = function(t, n, r) {
5839
- r.forEach(function(a) {
5840
- Uu(n, a), n[a] === 0 && t.remove(a);
5839
+ r.forEach(function(o) {
5840
+ Uu(n, o), n[o] === 0 && t.remove(o);
5841
5841
  });
5842
5842
  };
5843
5843
  et.add = function(t, n) {
@@ -5856,7 +5856,7 @@ function Gu(e, t) {
5856
5856
  if (!(e instanceof t))
5857
5857
  throw new TypeError("Cannot call a class as a function");
5858
5858
  }
5859
- var Fo = function e() {
5859
+ var Fa = function e() {
5860
5860
  var t = this;
5861
5861
  Gu(this, e), this.register = function(n) {
5862
5862
  t.openInstances.indexOf(n) === -1 && (t.openInstances.push(n), t.emit("register"));
@@ -5874,14 +5874,14 @@ var Fo = function e() {
5874
5874
  );
5875
5875
  });
5876
5876
  }, this.openInstances = [], this.subscribers = [];
5877
- }, Bt = new Fo();
5877
+ }, Bt = new Fa();
5878
5878
  function $u() {
5879
5879
  console.log("portalOpenInstances ----------"), console.log(Bt.openInstances.length), Bt.openInstances.forEach(function(e) {
5880
5880
  return console.log(e);
5881
5881
  }), console.log("end portalOpenInstances ----------");
5882
5882
  }
5883
5883
  function Wu() {
5884
- Bt = new Fo();
5884
+ Bt = new Fa();
5885
5885
  }
5886
5886
  tt.default = Bt;
5887
5887
  var Qn = {};
@@ -5922,8 +5922,8 @@ Vu.default.subscribe(Zu);
5922
5922
  value: !0
5923
5923
  });
5924
5924
  var n = Object.assign || function(A) {
5925
- for (var C = 1; C < arguments.length; C++) {
5926
- var j = arguments[C];
5925
+ for (var I = 1; I < arguments.length; I++) {
5926
+ var j = arguments[I];
5927
5927
  for (var p in j)
5928
5928
  Object.prototype.hasOwnProperty.call(j, p) && (A[p] = j[p]);
5929
5929
  }
@@ -5932,62 +5932,62 @@ Vu.default.subscribe(Zu);
5932
5932
  return typeof A;
5933
5933
  } : function(A) {
5934
5934
  return A && typeof Symbol == "function" && A.constructor === Symbol && A !== Symbol.prototype ? "symbol" : typeof A;
5935
- }, a = /* @__PURE__ */ function() {
5936
- function A(C, j) {
5935
+ }, o = /* @__PURE__ */ function() {
5936
+ function A(I, j) {
5937
5937
  for (var p = 0; p < j.length; p++) {
5938
- var I = j[p];
5939
- I.enumerable = I.enumerable || !1, I.configurable = !0, "value" in I && (I.writable = !0), Object.defineProperty(C, I.key, I);
5938
+ var C = j[p];
5939
+ C.enumerable = C.enumerable || !1, C.configurable = !0, "value" in C && (C.writable = !0), Object.defineProperty(I, C.key, C);
5940
5940
  }
5941
5941
  }
5942
- return function(C, j, p) {
5943
- return j && A(C.prototype, j), p && A(C, p), C;
5942
+ return function(I, j, p) {
5943
+ return j && A(I.prototype, j), p && A(I, p), I;
5944
5944
  };
5945
- }(), o = Yn, i = Zn, s = g(i), l = ve, u = R(l), m = gu, c = g(m), d = ye, h = R(d), _ = et, b = R(_), v = ge, y = g(v), T = tt, E = g(T);
5945
+ }(), a = Yn, i = Zn, s = g(i), l = ve, u = R(l), m = gu, c = g(m), d = ye, h = R(d), _ = et, b = R(_), v = ge, y = g(v), T = tt, E = g(T);
5946
5946
  function R(A) {
5947
5947
  if (A && A.__esModule)
5948
5948
  return A;
5949
- var C = {};
5949
+ var I = {};
5950
5950
  if (A != null)
5951
5951
  for (var j in A)
5952
- Object.prototype.hasOwnProperty.call(A, j) && (C[j] = A[j]);
5953
- return C.default = A, C;
5952
+ Object.prototype.hasOwnProperty.call(A, j) && (I[j] = A[j]);
5953
+ return I.default = A, I;
5954
5954
  }
5955
5955
  function g(A) {
5956
5956
  return A && A.__esModule ? A : { default: A };
5957
5957
  }
5958
- function S(A, C) {
5959
- if (!(A instanceof C))
5958
+ function S(A, I) {
5959
+ if (!(A instanceof I))
5960
5960
  throw new TypeError("Cannot call a class as a function");
5961
5961
  }
5962
- function k(A, C) {
5962
+ function k(A, I) {
5963
5963
  if (!A)
5964
5964
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
5965
- return C && (typeof C == "object" || typeof C == "function") ? C : A;
5965
+ return I && (typeof I == "object" || typeof I == "function") ? I : A;
5966
5966
  }
5967
- function q(A, C) {
5968
- if (typeof C != "function" && C !== null)
5969
- throw new TypeError("Super expression must either be null or a function, not " + typeof C);
5970
- A.prototype = Object.create(C && C.prototype, { constructor: { value: A, enumerable: !1, writable: !0, configurable: !0 } }), C && (Object.setPrototypeOf ? Object.setPrototypeOf(A, C) : A.__proto__ = C);
5967
+ function q(A, I) {
5968
+ if (typeof I != "function" && I !== null)
5969
+ throw new TypeError("Super expression must either be null or a function, not " + typeof I);
5970
+ A.prototype = Object.create(I && I.prototype, { constructor: { value: A, enumerable: !1, writable: !0, configurable: !0 } }), I && (Object.setPrototypeOf ? Object.setPrototypeOf(A, I) : A.__proto__ = I);
5971
5971
  }
5972
5972
  var U = {
5973
5973
  overlay: "ReactModal__Overlay",
5974
5974
  content: "ReactModal__Content"
5975
- }, W = function(C) {
5976
- return C.code === "Tab" || C.keyCode === 9;
5977
- }, me = function(C) {
5978
- return C.code === "Escape" || C.keyCode === 27;
5975
+ }, W = function(I) {
5976
+ return I.code === "Tab" || I.keyCode === 9;
5977
+ }, me = function(I) {
5978
+ return I.code === "Escape" || I.keyCode === 27;
5979
5979
  }, Y = 0, G = function(A) {
5980
- q(C, A);
5981
- function C(j) {
5982
- S(this, C);
5983
- var p = k(this, (C.__proto__ || Object.getPrototypeOf(C)).call(this, j));
5984
- return p.setOverlayRef = function(I) {
5985
- p.overlay = I, p.props.overlayRef && p.props.overlayRef(I);
5986
- }, p.setContentRef = function(I) {
5987
- p.content = I, p.props.contentRef && p.props.contentRef(I);
5980
+ q(I, A);
5981
+ function I(j) {
5982
+ S(this, I);
5983
+ var p = k(this, (I.__proto__ || Object.getPrototypeOf(I)).call(this, j));
5984
+ return p.setOverlayRef = function(C) {
5985
+ p.overlay = C, p.props.overlayRef && p.props.overlayRef(C);
5986
+ }, p.setContentRef = function(C) {
5987
+ p.content = C, p.props.contentRef && p.props.contentRef(C);
5988
5988
  }, p.afterClose = function() {
5989
- var I = p.props, X = I.appElement, oe = I.ariaHideApp, z = I.htmlOpenClassName, Ne = I.bodyOpenClassName, Re = I.parentSelector, Ct = Re && Re().ownerDocument || document;
5990
- Ne && b.remove(Ct.body, Ne), z && b.remove(Ct.getElementsByTagName("html")[0], z), oe && Y > 0 && (Y -= 1, Y === 0 && h.show(X)), p.props.shouldFocusAfterRender && (p.props.shouldReturnFocusAfterClose ? (u.returnFocus(p.props.preventScroll), u.teardownScopedFocus()) : u.popWithoutFocus()), p.props.onAfterClose && p.props.onAfterClose(), E.default.deregister(p);
5989
+ var C = p.props, X = C.appElement, ae = C.ariaHideApp, z = C.htmlOpenClassName, Ne = C.bodyOpenClassName, Re = C.parentSelector, It = Re && Re().ownerDocument || document;
5990
+ Ne && b.remove(It.body, Ne), z && b.remove(It.getElementsByTagName("html")[0], z), ae && Y > 0 && (Y -= 1, Y === 0 && h.show(X)), p.props.shouldFocusAfterRender && (p.props.shouldReturnFocusAfterClose ? (u.returnFocus(p.props.preventScroll), u.teardownScopedFocus()) : u.popWithoutFocus()), p.props.onAfterClose && p.props.onAfterClose(), E.default.deregister(p);
5991
5991
  }, p.open = function() {
5992
5992
  p.beforeOpen(), p.state.afterOpen && p.state.beforeClose ? (clearTimeout(p.closeTimer), p.setState({ beforeClose: !1 })) : (p.props.shouldFocusAfterRender && (u.setupScopedFocus(p.node), u.markForFocusLater()), p.setState({ isOpen: !0 }, function() {
5993
5993
  p.openAnimationFrame = requestAnimationFrame(function() {
@@ -6002,8 +6002,8 @@ Vu.default.subscribe(Zu);
6002
6002
  }, p.focusContent = function() {
6003
6003
  return p.content && !p.contentHasFocus() && p.content.focus({ preventScroll: !0 });
6004
6004
  }, p.closeWithTimeout = function() {
6005
- var I = Date.now() + p.props.closeTimeoutMS;
6006
- p.setState({ beforeClose: !0, closesAt: I }, function() {
6005
+ var C = Date.now() + p.props.closeTimeoutMS;
6006
+ p.setState({ beforeClose: !0, closesAt: C }, function() {
6007
6007
  p.closeTimer = setTimeout(p.closeWithoutTimeout, p.state.closesAt - Date.now());
6008
6008
  });
6009
6009
  }, p.closeWithoutTimeout = function() {
@@ -6013,51 +6013,51 @@ Vu.default.subscribe(Zu);
6013
6013
  afterOpen: !1,
6014
6014
  closesAt: null
6015
6015
  }, p.afterClose);
6016
- }, p.handleKeyDown = function(I) {
6017
- W(I) && (0, c.default)(p.content, I), p.props.shouldCloseOnEsc && me(I) && (I.stopPropagation(), p.requestClose(I));
6018
- }, p.handleOverlayOnClick = function(I) {
6019
- p.shouldClose === null && (p.shouldClose = !0), p.shouldClose && p.props.shouldCloseOnOverlayClick && (p.ownerHandlesClose() ? p.requestClose(I) : p.focusContent()), p.shouldClose = null;
6016
+ }, p.handleKeyDown = function(C) {
6017
+ W(C) && (0, c.default)(p.content, C), p.props.shouldCloseOnEsc && me(C) && (C.stopPropagation(), p.requestClose(C));
6018
+ }, p.handleOverlayOnClick = function(C) {
6019
+ p.shouldClose === null && (p.shouldClose = !0), p.shouldClose && p.props.shouldCloseOnOverlayClick && (p.ownerHandlesClose() ? p.requestClose(C) : p.focusContent()), p.shouldClose = null;
6020
6020
  }, p.handleContentOnMouseUp = function() {
6021
6021
  p.shouldClose = !1;
6022
- }, p.handleOverlayOnMouseDown = function(I) {
6023
- !p.props.shouldCloseOnOverlayClick && I.target == p.overlay && I.preventDefault();
6022
+ }, p.handleOverlayOnMouseDown = function(C) {
6023
+ !p.props.shouldCloseOnOverlayClick && C.target == p.overlay && C.preventDefault();
6024
6024
  }, p.handleContentOnClick = function() {
6025
6025
  p.shouldClose = !1;
6026
6026
  }, p.handleContentOnMouseDown = function() {
6027
6027
  p.shouldClose = !1;
6028
- }, p.requestClose = function(I) {
6029
- return p.ownerHandlesClose() && p.props.onRequestClose(I);
6028
+ }, p.requestClose = function(C) {
6029
+ return p.ownerHandlesClose() && p.props.onRequestClose(C);
6030
6030
  }, p.ownerHandlesClose = function() {
6031
6031
  return p.props.onRequestClose;
6032
6032
  }, p.shouldBeClosed = function() {
6033
6033
  return !p.state.isOpen && !p.state.beforeClose;
6034
6034
  }, p.contentHasFocus = function() {
6035
6035
  return document.activeElement === p.content || p.content.contains(document.activeElement);
6036
- }, p.buildClassName = function(I, X) {
6037
- var oe = (typeof X == "undefined" ? "undefined" : r(X)) === "object" ? X : {
6038
- base: U[I],
6039
- afterOpen: U[I] + "--after-open",
6040
- beforeClose: U[I] + "--before-close"
6041
- }, z = oe.base;
6042
- return p.state.afterOpen && (z = z + " " + oe.afterOpen), p.state.beforeClose && (z = z + " " + oe.beforeClose), typeof X == "string" && X ? z + " " + X : z;
6043
- }, p.attributesFromObject = function(I, X) {
6044
- return Object.keys(X).reduce(function(oe, z) {
6045
- return oe[I + "-" + z] = X[z], oe;
6036
+ }, p.buildClassName = function(C, X) {
6037
+ var ae = (typeof X == "undefined" ? "undefined" : r(X)) === "object" ? X : {
6038
+ base: U[C],
6039
+ afterOpen: U[C] + "--after-open",
6040
+ beforeClose: U[C] + "--before-close"
6041
+ }, z = ae.base;
6042
+ return p.state.afterOpen && (z = z + " " + ae.afterOpen), p.state.beforeClose && (z = z + " " + ae.beforeClose), typeof X == "string" && X ? z + " " + X : z;
6043
+ }, p.attributesFromObject = function(C, X) {
6044
+ return Object.keys(X).reduce(function(ae, z) {
6045
+ return ae[C + "-" + z] = X[z], ae;
6046
6046
  }, {});
6047
6047
  }, p.state = {
6048
6048
  afterOpen: !1,
6049
6049
  beforeClose: !1
6050
6050
  }, p.shouldClose = null, p.moveFromContentToOverlay = null, p;
6051
6051
  }
6052
- return a(C, [{
6052
+ return o(I, [{
6053
6053
  key: "componentDidMount",
6054
6054
  value: function() {
6055
6055
  this.props.isOpen && this.open();
6056
6056
  }
6057
6057
  }, {
6058
6058
  key: "componentDidUpdate",
6059
- value: function(p, I) {
6060
- this.props.isOpen && !p.isOpen ? this.open() : !this.props.isOpen && p.isOpen && this.close(), this.props.shouldFocusAfterRender && this.state.isOpen && !I.isOpen && this.focusContent();
6059
+ value: function(p, C) {
6060
+ this.props.isOpen && !p.isOpen ? this.open() : !this.props.isOpen && p.isOpen && this.close(), this.props.shouldFocusAfterRender && this.state.isOpen && !C.isOpen && this.focusContent();
6061
6061
  }
6062
6062
  }, {
6063
6063
  key: "componentWillUnmount",
@@ -6067,24 +6067,24 @@ Vu.default.subscribe(Zu);
6067
6067
  }, {
6068
6068
  key: "beforeOpen",
6069
6069
  value: function() {
6070
- var p = this.props, I = p.appElement, X = p.ariaHideApp, oe = p.htmlOpenClassName, z = p.bodyOpenClassName, Ne = p.parentSelector, Re = Ne && Ne().ownerDocument || document;
6071
- z && b.add(Re.body, z), oe && b.add(Re.getElementsByTagName("html")[0], oe), X && (Y += 1, h.hide(I)), E.default.register(this);
6070
+ var p = this.props, C = p.appElement, X = p.ariaHideApp, ae = p.htmlOpenClassName, z = p.bodyOpenClassName, Ne = p.parentSelector, Re = Ne && Ne().ownerDocument || document;
6071
+ z && b.add(Re.body, z), ae && b.add(Re.getElementsByTagName("html")[0], ae), X && (Y += 1, h.hide(C)), E.default.register(this);
6072
6072
  }
6073
6073
  // Don't steal focus from inner elements
6074
6074
  }, {
6075
6075
  key: "render",
6076
6076
  value: function() {
6077
- var p = this.props, I = p.id, X = p.className, oe = p.overlayClassName, z = p.defaultStyles, Ne = p.children, Re = X ? {} : z.content, Ct = oe ? {} : z.overlay;
6077
+ var p = this.props, C = p.id, X = p.className, ae = p.overlayClassName, z = p.defaultStyles, Ne = p.children, Re = X ? {} : z.content, It = ae ? {} : z.overlay;
6078
6078
  if (this.shouldBeClosed())
6079
6079
  return null;
6080
- var Zo = {
6080
+ var Za = {
6081
6081
  ref: this.setOverlayRef,
6082
- className: this.buildClassName("overlay", oe),
6083
- style: n({}, Ct, this.props.style.overlay),
6082
+ className: this.buildClassName("overlay", ae),
6083
+ style: n({}, It, this.props.style.overlay),
6084
6084
  onClick: this.handleOverlayOnClick,
6085
6085
  onMouseDown: this.handleOverlayOnMouseDown
6086
- }, Ko = n({
6087
- id: I,
6086
+ }, Ka = n({
6087
+ id: C,
6088
6088
  ref: this.setContentRef,
6089
6089
  style: n({}, Re, this.props.style.content),
6090
6090
  className: this.buildClassName("content", X),
@@ -6097,11 +6097,11 @@ Vu.default.subscribe(Zu);
6097
6097
  "aria-label": this.props.contentLabel
6098
6098
  }, this.attributesFromObject("aria", n({ modal: !0 }, this.props.aria)), this.attributesFromObject("data", this.props.data || {}), {
6099
6099
  "data-testid": this.props.testId
6100
- }), Yo = this.props.contentElement(Ko, Ne);
6101
- return this.props.overlayElement(Zo, Yo);
6100
+ }), Ya = this.props.contentElement(Ka, Ne);
6101
+ return this.props.overlayElement(Za, Ya);
6102
6102
  }
6103
- }]), C;
6104
- }(o.Component);
6103
+ }]), I;
6104
+ }(a.Component);
6105
6105
  G.defaultProps = {
6106
6106
  style: {
6107
6107
  overlay: {},
@@ -6148,18 +6148,18 @@ Vu.default.subscribe(Zu);
6148
6148
  }, t.default = G, e.exports = t.default;
6149
6149
  })(xn, xn.exports);
6150
6150
  var Ku = xn.exports;
6151
- function ko() {
6151
+ function ka() {
6152
6152
  var e = this.constructor.getDerivedStateFromProps(this.props, this.state);
6153
6153
  e != null && this.setState(e);
6154
6154
  }
6155
- function Go(e) {
6155
+ function Ga(e) {
6156
6156
  function t(n) {
6157
6157
  var r = this.constructor.getDerivedStateFromProps(e, n);
6158
6158
  return r != null ? r : null;
6159
6159
  }
6160
6160
  this.setState(t.bind(this));
6161
6161
  }
6162
- function $o(e, t) {
6162
+ function $a(e, t) {
6163
6163
  try {
6164
6164
  var n = this.props, r = this.state;
6165
6165
  this.props = e, this.state = t, this.__reactInternalSnapshotFlag = !0, this.__reactInternalSnapshot = this.getSnapshotBeforeUpdate(
@@ -6170,36 +6170,36 @@ function $o(e, t) {
6170
6170
  this.props = n, this.state = r;
6171
6171
  }
6172
6172
  }
6173
- ko.__suppressDeprecationWarning = !0;
6174
- Go.__suppressDeprecationWarning = !0;
6175
- $o.__suppressDeprecationWarning = !0;
6173
+ ka.__suppressDeprecationWarning = !0;
6174
+ Ga.__suppressDeprecationWarning = !0;
6175
+ $a.__suppressDeprecationWarning = !0;
6176
6176
  function Yu(e) {
6177
6177
  var t = e.prototype;
6178
6178
  if (!t || !t.isReactComponent)
6179
6179
  throw new Error("Can only polyfill class components");
6180
6180
  if (typeof e.getDerivedStateFromProps != "function" && typeof t.getSnapshotBeforeUpdate != "function")
6181
6181
  return e;
6182
- var n = null, r = null, a = null;
6183
- if (typeof t.componentWillMount == "function" ? n = "componentWillMount" : typeof t.UNSAFE_componentWillMount == "function" && (n = "UNSAFE_componentWillMount"), typeof t.componentWillReceiveProps == "function" ? r = "componentWillReceiveProps" : typeof t.UNSAFE_componentWillReceiveProps == "function" && (r = "UNSAFE_componentWillReceiveProps"), typeof t.componentWillUpdate == "function" ? a = "componentWillUpdate" : typeof t.UNSAFE_componentWillUpdate == "function" && (a = "UNSAFE_componentWillUpdate"), n !== null || r !== null || a !== null) {
6184
- var o = e.displayName || e.name, i = typeof e.getDerivedStateFromProps == "function" ? "getDerivedStateFromProps()" : "getSnapshotBeforeUpdate()";
6182
+ var n = null, r = null, o = null;
6183
+ if (typeof t.componentWillMount == "function" ? n = "componentWillMount" : typeof t.UNSAFE_componentWillMount == "function" && (n = "UNSAFE_componentWillMount"), typeof t.componentWillReceiveProps == "function" ? r = "componentWillReceiveProps" : typeof t.UNSAFE_componentWillReceiveProps == "function" && (r = "UNSAFE_componentWillReceiveProps"), typeof t.componentWillUpdate == "function" ? o = "componentWillUpdate" : typeof t.UNSAFE_componentWillUpdate == "function" && (o = "UNSAFE_componentWillUpdate"), n !== null || r !== null || o !== null) {
6184
+ var a = e.displayName || e.name, i = typeof e.getDerivedStateFromProps == "function" ? "getDerivedStateFromProps()" : "getSnapshotBeforeUpdate()";
6185
6185
  throw Error(
6186
6186
  `Unsafe legacy lifecycles will not be called for components using new component APIs.
6187
6187
 
6188
- ` + o + " uses " + i + " but also contains the following legacy lifecycles:" + (n !== null ? `
6188
+ ` + a + " uses " + i + " but also contains the following legacy lifecycles:" + (n !== null ? `
6189
6189
  ` + n : "") + (r !== null ? `
6190
- ` + r : "") + (a !== null ? `
6191
- ` + a : "") + `
6190
+ ` + r : "") + (o !== null ? `
6191
+ ` + o : "") + `
6192
6192
 
6193
6193
  The above lifecycles should be removed. Learn more about this warning here:
6194
6194
  https://fb.me/react-async-component-lifecycle-hooks`
6195
6195
  );
6196
6196
  }
6197
- if (typeof e.getDerivedStateFromProps == "function" && (t.componentWillMount = ko, t.componentWillReceiveProps = Go), typeof t.getSnapshotBeforeUpdate == "function") {
6197
+ if (typeof e.getDerivedStateFromProps == "function" && (t.componentWillMount = ka, t.componentWillReceiveProps = Ga), typeof t.getSnapshotBeforeUpdate == "function") {
6198
6198
  if (typeof t.componentDidUpdate != "function")
6199
6199
  throw new Error(
6200
6200
  "Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype"
6201
6201
  );
6202
- t.componentWillUpdate = $o;
6202
+ t.componentWillUpdate = $a;
6203
6203
  var s = t.componentDidUpdate;
6204
6204
  t.componentDidUpdate = function(u, m, c) {
6205
6205
  var d = this.__reactInternalSnapshotFlag ? this.__reactInternalSnapshot : c;
@@ -6211,7 +6211,7 @@ https://fb.me/react-async-component-lifecycle-hooks`
6211
6211
  const Ju = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6212
6212
  __proto__: null,
6213
6213
  polyfill: Yu
6214
- }, Symbol.toStringTag, { value: "Module" })), Qu = /* @__PURE__ */ yo(Ju);
6214
+ }, Symbol.toStringTag, { value: "Module" })), Qu = /* @__PURE__ */ ya(Ju);
6215
6215
  Object.defineProperty(Fe, "__esModule", {
6216
6216
  value: !0
6217
6217
  });
@@ -6226,14 +6226,14 @@ var Qr = Object.assign || function(e) {
6226
6226
  }, ec = /* @__PURE__ */ function() {
6227
6227
  function e(t, n) {
6228
6228
  for (var r = 0; r < n.length; r++) {
6229
- var a = n[r];
6230
- a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(t, a.key, a);
6229
+ var o = n[r];
6230
+ o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(t, o.key, o);
6231
6231
  }
6232
6232
  }
6233
6233
  return function(t, n, r) {
6234
6234
  return n && e(t.prototype, n), r && e(t, r), t;
6235
6235
  };
6236
- }(), Wo = Yn, Ut = xt(Wo), tc = Yn, Ft = xt(tc), nc = Zn, O = xt(nc), rc = Ku, ea = xt(rc), ac = ye, oc = sc(ac), Oe = ge, ta = xt(Oe), ic = Qu;
6236
+ }(), Wa = Yn, Ut = xt(Wa), tc = Yn, Ft = xt(tc), nc = Zn, O = xt(nc), rc = Ku, eo = xt(rc), oc = ye, ac = sc(oc), Oe = ge, to = xt(Oe), ic = Qu;
6237
6237
  function sc(e) {
6238
6238
  if (e && e.__esModule)
6239
6239
  return e;
@@ -6250,7 +6250,7 @@ function lc(e, t) {
6250
6250
  if (!(e instanceof t))
6251
6251
  throw new TypeError("Cannot call a class as a function");
6252
6252
  }
6253
- function na(e, t) {
6253
+ function no(e, t) {
6254
6254
  if (!e)
6255
6255
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
6256
6256
  return t && (typeof t == "object" || typeof t == "function") ? t : e;
@@ -6260,9 +6260,9 @@ function uc(e, t) {
6260
6260
  throw new TypeError("Super expression must either be null or a function, not " + typeof t);
6261
6261
  e.prototype = Object.create(t && t.prototype, { constructor: { value: e, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
6262
6262
  }
6263
- var cc = Fe.portalClassName = "ReactModalPortal", mc = Fe.bodyOpenClassName = "ReactModal__Body--open", Le = Oe.canUseDOM && Ft.default.createPortal !== void 0, ra = function(t) {
6263
+ var cc = Fe.portalClassName = "ReactModalPortal", mc = Fe.bodyOpenClassName = "ReactModal__Body--open", Le = Oe.canUseDOM && Ft.default.createPortal !== void 0, ro = function(t) {
6264
6264
  return document.createElement(t);
6265
- }, aa = function() {
6265
+ }, oo = function() {
6266
6266
  return Le ? Ft.default.createPortal : Ft.default.unstable_renderSubtreeIntoContainer;
6267
6267
  };
6268
6268
  function wt(e) {
@@ -6271,26 +6271,26 @@ function wt(e) {
6271
6271
  var At = function(e) {
6272
6272
  uc(t, e);
6273
6273
  function t() {
6274
- var n, r, a, o;
6274
+ var n, r, o, a;
6275
6275
  lc(this, t);
6276
6276
  for (var i = arguments.length, s = Array(i), l = 0; l < i; l++)
6277
6277
  s[l] = arguments[l];
6278
- return o = (r = (a = na(this, (n = t.__proto__ || Object.getPrototypeOf(t)).call.apply(n, [this].concat(s))), a), a.removePortal = function() {
6279
- !Le && Ft.default.unmountComponentAtNode(a.node);
6280
- var u = wt(a.props.parentSelector);
6281
- u && u.contains(a.node) ? u.removeChild(a.node) : console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.');
6282
- }, a.portalRef = function(u) {
6283
- a.portal = u;
6284
- }, a.renderPortal = function(u) {
6285
- var m = aa(), c = m(a, Ut.default.createElement(ea.default, Qr({ defaultStyles: t.defaultStyles }, u)), a.node);
6286
- a.portalRef(c);
6287
- }, r), na(a, o);
6278
+ return a = (r = (o = no(this, (n = t.__proto__ || Object.getPrototypeOf(t)).call.apply(n, [this].concat(s))), o), o.removePortal = function() {
6279
+ !Le && Ft.default.unmountComponentAtNode(o.node);
6280
+ var u = wt(o.props.parentSelector);
6281
+ u && u.contains(o.node) ? u.removeChild(o.node) : console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.');
6282
+ }, o.portalRef = function(u) {
6283
+ o.portal = u;
6284
+ }, o.renderPortal = function(u) {
6285
+ var m = oo(), c = m(o, Ut.default.createElement(eo.default, Qr({ defaultStyles: t.defaultStyles }, u)), o.node);
6286
+ o.portalRef(c);
6287
+ }, r), no(o, a);
6288
6288
  }
6289
6289
  return ec(t, [{
6290
6290
  key: "componentDidMount",
6291
6291
  value: function() {
6292
6292
  if (Oe.canUseDOM) {
6293
- Le || (this.node = ra("div")), this.node.className = this.props.portalClassName;
6293
+ Le || (this.node = ro("div")), this.node.className = this.props.portalClassName;
6294
6294
  var r = wt(this.props.parentSelector);
6295
6295
  r.appendChild(this.node), !Le && this.renderPortal(this.props);
6296
6296
  }
@@ -6298,16 +6298,16 @@ var At = function(e) {
6298
6298
  }, {
6299
6299
  key: "getSnapshotBeforeUpdate",
6300
6300
  value: function(r) {
6301
- var a = wt(r.parentSelector), o = wt(this.props.parentSelector);
6302
- return { prevParent: a, nextParent: o };
6301
+ var o = wt(r.parentSelector), a = wt(this.props.parentSelector);
6302
+ return { prevParent: o, nextParent: a };
6303
6303
  }
6304
6304
  }, {
6305
6305
  key: "componentDidUpdate",
6306
- value: function(r, a, o) {
6306
+ value: function(r, o, a) {
6307
6307
  if (Oe.canUseDOM) {
6308
6308
  var i = this.props, s = i.isOpen, l = i.portalClassName;
6309
6309
  r.portalClassName !== l && (this.node.className = l);
6310
- var u = o.prevParent, m = o.nextParent;
6310
+ var u = a.prevParent, m = a.nextParent;
6311
6311
  m !== u && (u.removeChild(this.node), m.appendChild(this.node)), !(!r.isOpen && !s) && !Le && this.renderPortal(this.props);
6312
6312
  }
6313
6313
  }
@@ -6315,8 +6315,8 @@ var At = function(e) {
6315
6315
  key: "componentWillUnmount",
6316
6316
  value: function() {
6317
6317
  if (!(!Oe.canUseDOM || !this.node || !this.portal)) {
6318
- var r = this.portal.state, a = Date.now(), o = r.isOpen && this.props.closeTimeoutMS && (r.closesAt || a + this.props.closeTimeoutMS);
6319
- o ? (r.beforeClose || this.portal.closeWithTimeout(), setTimeout(this.removePortal, o - a)) : this.removePortal();
6318
+ var r = this.portal.state, o = Date.now(), a = r.isOpen && this.props.closeTimeoutMS && (r.closesAt || o + this.props.closeTimeoutMS);
6319
+ a ? (r.beforeClose || this.portal.closeWithTimeout(), setTimeout(this.removePortal, a - o)) : this.removePortal();
6320
6320
  }
6321
6321
  }
6322
6322
  }, {
@@ -6324,9 +6324,9 @@ var At = function(e) {
6324
6324
  value: function() {
6325
6325
  if (!Oe.canUseDOM || !Le)
6326
6326
  return null;
6327
- !this.node && Le && (this.node = ra("div"));
6328
- var r = aa();
6329
- return r(Ut.default.createElement(ea.default, Qr({
6327
+ !this.node && Le && (this.node = ro("div"));
6328
+ var r = oo();
6329
+ return r(Ut.default.createElement(eo.default, Qr({
6330
6330
  ref: this.portalRef,
6331
6331
  defaultStyles: t.defaultStyles
6332
6332
  }, this.props)), this.node);
@@ -6334,12 +6334,12 @@ var At = function(e) {
6334
6334
  }], [{
6335
6335
  key: "setAppElement",
6336
6336
  value: function(r) {
6337
- oc.setElement(r);
6337
+ ac.setElement(r);
6338
6338
  }
6339
6339
  /* eslint-disable react/no-unused-prop-types */
6340
6340
  /* eslint-enable react/no-unused-prop-types */
6341
6341
  }]), t;
6342
- }(Wo.Component);
6342
+ }(Wa.Component);
6343
6343
  At.propTypes = {
6344
6344
  isOpen: O.default.bool.isRequired,
6345
6345
  style: O.default.shape({
@@ -6359,7 +6359,7 @@ At.propTypes = {
6359
6359
  afterOpen: O.default.string.isRequired,
6360
6360
  beforeClose: O.default.string.isRequired
6361
6361
  })]),
6362
- appElement: O.default.oneOfType([O.default.instanceOf(ta.default), O.default.instanceOf(Oe.SafeHTMLCollection), O.default.instanceOf(Oe.SafeNodeList), O.default.arrayOf(O.default.instanceOf(ta.default))]),
6362
+ appElement: O.default.oneOfType([O.default.instanceOf(to.default), O.default.instanceOf(Oe.SafeHTMLCollection), O.default.instanceOf(Oe.SafeNodeList), O.default.arrayOf(O.default.instanceOf(to.default))]),
6363
6363
  onAfterOpen: O.default.func,
6364
6364
  onRequestClose: O.default.func,
6365
6365
  closeTimeoutMS: O.default.number,
@@ -6440,14 +6440,14 @@ Fe.default = At;
6440
6440
  Object.defineProperty(t, "__esModule", {
6441
6441
  value: !0
6442
6442
  });
6443
- var n = Fe, r = a(n);
6444
- function a(o) {
6445
- return o && o.__esModule ? o : { default: o };
6443
+ var n = Fe, r = o(n);
6444
+ function o(a) {
6445
+ return a && a.__esModule ? a : { default: a };
6446
6446
  }
6447
6447
  t.default = r.default, e.exports = t.default;
6448
6448
  })(Tn, Tn.exports);
6449
6449
  var fc = Tn.exports;
6450
- const oa = /* @__PURE__ */ Et(fc);
6450
+ const ao = /* @__PURE__ */ Et(fc);
6451
6451
  function dc({
6452
6452
  color: e = "#fff",
6453
6453
  className: t
@@ -6484,8 +6484,8 @@ const hc = "_modal_19xub_1", pc = "_content_19xub_15", _c = "_contentScrollable_
6484
6484
  isOpen: t,
6485
6485
  onClose: n,
6486
6486
  className: r,
6487
- contentClassName: a,
6488
- scrollable: o = !1
6487
+ contentClassName: o,
6488
+ scrollable: a = !1
6489
6489
  } = l, i = Ot(l, [
6490
6490
  "children",
6491
6491
  "isOpen",
@@ -6494,8 +6494,8 @@ const hc = "_modal_19xub_1", pc = "_content_19xub_15", _c = "_contentScrollable_
6494
6494
  "contentClassName",
6495
6495
  "scrollable"
6496
6496
  ]);
6497
- return oa.setAppElement("body"), /* @__PURE__ */ f.createElement(
6498
- oa,
6497
+ return ao.setAppElement("body"), /* @__PURE__ */ f.createElement(
6498
+ ao,
6499
6499
  xe({
6500
6500
  className: H($e.modal, r),
6501
6501
  overlayClassName: $e.overlay,
@@ -6520,11 +6520,11 @@ const hc = "_modal_19xub_1", pc = "_content_19xub_15", _c = "_contentScrollable_
6520
6520
  },
6521
6521
  /* @__PURE__ */ f.createElement(dc, null)
6522
6522
  )),
6523
- /* @__PURE__ */ f.createElement("div", { className: H($e.content, a, { [$e.contentScrollable]: o }) }, e)
6523
+ /* @__PURE__ */ f.createElement("div", { className: H($e.content, o, { [$e.contentScrollable]: a }) }, e)
6524
6524
  );
6525
- }, Ec = 1e3, ia = Symbol.for("constructDateFrom");
6525
+ }, Ec = 1e3, io = Symbol.for("constructDateFrom");
6526
6526
  function zt(e, t) {
6527
- return typeof e == "function" ? e(t) : e && typeof e == "object" && ia in e ? e[ia](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
6527
+ return typeof e == "function" ? e(t) : e && typeof e == "object" && io in e ? e[io](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
6528
6528
  }
6529
6529
  function Tc(e, t) {
6530
6530
  return zt(e, e);
@@ -6536,23 +6536,23 @@ function xc(e, ...t) {
6536
6536
  );
6537
6537
  return t.map(n);
6538
6538
  }
6539
- function sa(e, t) {
6539
+ function so(e, t) {
6540
6540
  const n = Tc(e);
6541
6541
  return n.setHours(0, 0, 0, 0), n;
6542
6542
  }
6543
6543
  function Ac(e) {
6544
6544
  return zt(e, Date.now());
6545
6545
  }
6546
- function Cc(e, t, n) {
6547
- const [r, a] = xc(
6546
+ function Ic(e, t, n) {
6547
+ const [r, o] = xc(
6548
6548
  n == null ? void 0 : n.in,
6549
6549
  e,
6550
6550
  t
6551
6551
  );
6552
- return +sa(r) == +sa(a);
6552
+ return +so(r) == +so(o);
6553
6553
  }
6554
- function Ic(e, t) {
6555
- return Cc(
6554
+ function Cc(e, t) {
6555
+ return Ic(
6556
6556
  zt(e, e),
6557
6557
  Ac(e)
6558
6558
  );
@@ -6562,7 +6562,7 @@ function Oc(e) {
6562
6562
  }
6563
6563
  const Sc = "_openModalInfo_bndtu_1", Nc = {
6564
6564
  openModalInfo: Sc
6565
- }, jo = (e) => {
6565
+ }, ja = (e) => {
6566
6566
  const {
6567
6567
  deferred_days: t,
6568
6568
  deferred_months: n,
@@ -6602,14 +6602,14 @@ const Sc = "_openModalInfo_bndtu_1", Nc = {
6602
6602
  deferred_days: t,
6603
6603
  deferred_months: n,
6604
6604
  installments_count: r,
6605
- eligible: a,
6606
- purchase_amount: o,
6605
+ eligible: o,
6606
+ purchase_amount: a,
6607
6607
  minAmount: i = 0,
6608
6608
  maxAmount: s = 0,
6609
6609
  payment_plan: l
6610
6610
  } = e, u = t + n * 30;
6611
- if (!a)
6612
- return o > s ? /* @__PURE__ */ f.createElement(
6611
+ if (!o)
6612
+ return a > s ? /* @__PURE__ */ f.createElement(
6613
6613
  L,
6614
6614
  {
6615
6615
  id: "payment-plan-strings.ineligible-greater-than-max",
@@ -6645,7 +6645,7 @@ const Sc = "_openModalInfo_bndtu_1", Nc = {
6645
6645
  }
6646
6646
  ),
6647
6647
  dueDate: /* @__PURE__ */ f.createElement(
6648
- Io,
6648
+ Ca,
6649
6649
  {
6650
6650
  value: Oc(l[0].due_date),
6651
6651
  day: "numeric",
@@ -6667,7 +6667,7 @@ const Sc = "_openModalInfo_bndtu_1", Nc = {
6667
6667
  defaultMessage: "Cliquez pour en savoir plus",
6668
6668
  description: "Link to credit details"
6669
6669
  }
6670
- )) : da(e) ? /* @__PURE__ */ f.createElement(f.Fragment, null, /* @__PURE__ */ f.createElement(
6670
+ )) : ho(e) ? /* @__PURE__ */ f.createElement(f.Fragment, null, /* @__PURE__ */ f.createElement(
6671
6671
  L,
6672
6672
  {
6673
6673
  id: "payment-plan-strings.pay-now",
@@ -6742,25 +6742,25 @@ const Sc = "_openModalInfo_bndtu_1", Nc = {
6742
6742
  buttons: wc,
6743
6743
  active: Mc,
6744
6744
  textButton: Hc
6745
- }, Pc = ({ eligibilityPlans: e, currentPlanIndex: t, setCurrentPlanIndex: n }) => /* @__PURE__ */ f.createElement("div", { className: H(nn.buttons, V.eligibilityOptions) }, e.map((r, a) => /* @__PURE__ */ f.createElement(
6745
+ }, Pc = ({ eligibilityPlans: e, currentPlanIndex: t, setCurrentPlanIndex: n }) => /* @__PURE__ */ f.createElement("div", { className: H(nn.buttons, V.eligibilityOptions) }, e.map((r, o) => /* @__PURE__ */ f.createElement(
6746
6746
  "button",
6747
6747
  {
6748
6748
  type: "button",
6749
6749
  key: `p${r.installments_count}x-d+${r.deferred_days}-m+${r.deferred_months}`,
6750
6750
  className: H({
6751
- [H(nn.active, V.activeOption)]: a === t
6751
+ [H(nn.active, V.activeOption)]: o === t
6752
6752
  }),
6753
- onClick: () => n(a)
6753
+ onClick: () => n(o)
6754
6754
  },
6755
- /* @__PURE__ */ f.createElement("span", { className: nn.textButton }, jo(r))
6755
+ /* @__PURE__ */ f.createElement("span", { className: nn.textButton }, ja(r))
6756
6756
  ))), Lc = "_installment_1c45h_1", Dc = "_date_1c45h_11", Bc = "_dot_1c45h_17", Uc = "_isCurrent_1c45h_26", Fc = "_bold_1c45h_30", nt = {
6757
6757
  installment: Lc,
6758
6758
  date: Dc,
6759
6759
  dot: Bc,
6760
6760
  isCurrent: Uc,
6761
6761
  bold: Fc
6762
- }, kc = ({ installment: e, index: t }) => /* @__PURE__ */ f.createElement("div", { className: nt.installment, "data-testid": `installment-${t}` }, /* @__PURE__ */ f.createElement("div", { className: nt.date }, /* @__PURE__ */ f.createElement("div", { className: H(nt.dot, { [nt.isCurrent]: t === 0 }) }), Ic(e.due_date * 1e3) ? /* @__PURE__ */ f.createElement(L, { id: "installments.today", defaultMessage: "Aujourd'hui", tagName: "strong" }) : /* @__PURE__ */ f.createElement(
6763
- Io,
6762
+ }, kc = ({ installment: e, index: t }) => /* @__PURE__ */ f.createElement("div", { className: nt.installment, "data-testid": `installment-${t}` }, /* @__PURE__ */ f.createElement("div", { className: nt.date }, /* @__PURE__ */ f.createElement("div", { className: H(nt.dot, { [nt.isCurrent]: t === 0 }) }), Cc(e.due_date * 1e3) ? /* @__PURE__ */ f.createElement(L, { id: "installments.today", defaultMessage: "Aujourd'hui", tagName: "strong" }) : /* @__PURE__ */ f.createElement(
6763
+ Ca,
6764
6764
  {
6765
6765
  value: e.due_date * 1e3,
6766
6766
  day: "numeric",
@@ -6893,23 +6893,23 @@ const Sc = "_openModalInfo_bndtu_1", Nc = {
6893
6893
  fill: "#F4A428",
6894
6894
  d: "M.063 13H24v1.8c0 .655-.625 1.2-1.375 1.2H1.375C.625 16 0 15.455 0 14.8V13h.063z"
6895
6895
  }
6896
- ))), Xc = "_cardContainer_5dhmv_1", la = {
6896
+ ))), Xc = "_cardContainer_5dhmv_1", lo = {
6897
6897
  cardContainer: Xc
6898
- }, Vo = ({ cards: e }) => {
6898
+ }, Va = ({ cards: e }) => {
6899
6899
  const t = Array.from(new Set(e));
6900
6900
  return /* @__PURE__ */ f.createElement(
6901
6901
  "div",
6902
6902
  {
6903
6903
  "data-testid": "card-logos",
6904
- className: H(la.cardContainer, V.cardContainer)
6904
+ className: H(lo.cardContainer, V.cardContainer)
6905
6905
  },
6906
- t.map((n) => /* @__PURE__ */ f.createElement("div", { key: n, className: la.card, "data-testid": `card-logo-${n}` }, n === "cb" && /* @__PURE__ */ f.createElement(Vc, null), n === "amex" && /* @__PURE__ */ f.createElement(jc, null), n === "mastercard" && /* @__PURE__ */ f.createElement(zc, null), n === "visa" && /* @__PURE__ */ f.createElement(qc, null)))
6906
+ t.map((n) => /* @__PURE__ */ f.createElement("div", { key: n, className: lo.card, "data-testid": `card-logo-${n}` }, n === "cb" && /* @__PURE__ */ f.createElement(Vc, null), n === "amex" && /* @__PURE__ */ f.createElement(jc, null), n === "mastercard" && /* @__PURE__ */ f.createElement(zc, null), n === "visa" && /* @__PURE__ */ f.createElement(qc, null)))
6907
6907
  );
6908
6908
  }, Zc = "_list_11ul3_1", Kc = "_listItem_11ul3_10", Yc = "_bullet_11ul3_17", He = {
6909
6909
  list: Zc,
6910
6910
  listItem: Kc,
6911
6911
  bullet: Yc
6912
- }, We = (e) => /* @__PURE__ */ f.createElement("strong", null, e), zo = ({ isCurrentPlanP1X: e }) => (
6912
+ }, We = (e) => /* @__PURE__ */ f.createElement("strong", null, e), za = ({ isCurrentPlanP1X: e }) => (
6913
6913
  // TODO: refactor this component into subcomponent to factorise code and be cleaner
6914
6914
  /* @__PURE__ */ f.createElement("div", { className: H(He.list, V.info), "data-testid": "modal-info-element" }, /* @__PURE__ */ f.createElement("div", { className: He.listItem }, /* @__PURE__ */ f.createElement("div", { className: H(He.bullet, V.bullet) }, "1"), /* @__PURE__ */ f.createElement("div", { className: V.infoMessage }, e ? /* @__PURE__ */ f.createElement(
6915
6915
  L,
@@ -6956,7 +6956,7 @@ const Sc = "_openModalInfo_bndtu_1", Nc = {
6956
6956
  ))))
6957
6957
  ), Jc = "_title_1yl0a_1", Qc = {
6958
6958
  title: Jc
6959
- }, qo = ({
6959
+ }, qa = ({
6960
6960
  isSomePlanDeferred: e,
6961
6961
  isCurrentPlanP1X: t
6962
6962
  }) => /* @__PURE__ */ f.createElement(
@@ -6991,51 +6991,51 @@ const Sc = "_openModalInfo_bndtu_1", Nc = {
6991
6991
  block: tm,
6992
6992
  left: nm,
6993
6993
  logo: rm
6994
- }, am = ({ children: e, isSomePlanDeferred: t, cards: n, isCurrentPlanP1X: r }) => /* @__PURE__ */ f.createElement(
6994
+ }, om = ({ children: e, isSomePlanDeferred: t, cards: n, isCurrentPlanP1X: r }) => /* @__PURE__ */ f.createElement(
6995
6995
  "div",
6996
6996
  {
6997
6997
  className: H(rt.container, V.desktopModal),
6998
6998
  "data-testid": "modal-container"
6999
6999
  },
7000
- /* @__PURE__ */ f.createElement("aside", { className: H([rt.block, rt.left, V.leftSide]) }, /* @__PURE__ */ f.createElement(qo, { isSomePlanDeferred: t, isCurrentPlanP1X: r }), /* @__PURE__ */ f.createElement(zo, { isCurrentPlanP1X: r }), n && /* @__PURE__ */ f.createElement(Vo, { cards: n }), /* @__PURE__ */ f.createElement(er, { className: rt.logo, width: "75" })),
7000
+ /* @__PURE__ */ f.createElement("aside", { className: H([rt.block, rt.left, V.leftSide]) }, /* @__PURE__ */ f.createElement(qa, { isSomePlanDeferred: t, isCurrentPlanP1X: r }), /* @__PURE__ */ f.createElement(za, { isCurrentPlanP1X: r }), n && /* @__PURE__ */ f.createElement(Va, { cards: n }), /* @__PURE__ */ f.createElement(er, { className: rt.logo, width: "75" })),
7001
7001
  /* @__PURE__ */ f.createElement("div", { className: H(rt.block, V.rightSide) }, e)
7002
- ), om = "_noEligibility_1lg7e_1", im = "_loader_1lg7e_9", sm = "_scheduleArea_1lg7e_16", lm = "_verticalLine_1lg7e_20", Ht = {
7003
- noEligibility: om,
7002
+ ), am = "_noEligibility_1lg7e_1", im = "_loader_1lg7e_9", sm = "_scheduleArea_1lg7e_16", lm = "_verticalLine_1lg7e_20", Ht = {
7003
+ noEligibility: am,
7004
7004
  loader: im,
7005
7005
  scheduleArea: sm,
7006
7006
  verticalLine: lm
7007
- }, um = "_container_1ca7c_1", cm = "_logo_1ca7c_6", ua = {
7007
+ }, um = "_container_1ca7c_1", cm = "_logo_1ca7c_6", uo = {
7008
7008
  container: um,
7009
7009
  logo: cm
7010
7010
  }, mm = ({ children: e, isSomePlanDeferred: t, cards: n, isCurrentPlanP1X: r }) => /* @__PURE__ */ f.createElement(
7011
7011
  "div",
7012
7012
  {
7013
- className: H(ua.container, V.mobileModal),
7013
+ className: H(uo.container, V.mobileModal),
7014
7014
  "data-testid": "modal-container"
7015
7015
  },
7016
- /* @__PURE__ */ f.createElement(qo, { isSomePlanDeferred: t, isCurrentPlanP1X: r }),
7016
+ /* @__PURE__ */ f.createElement(qa, { isSomePlanDeferred: t, isCurrentPlanP1X: r }),
7017
7017
  e,
7018
- /* @__PURE__ */ f.createElement(zo, { isCurrentPlanP1X: r }),
7019
- n && /* @__PURE__ */ f.createElement(Vo, { cards: n }),
7020
- /* @__PURE__ */ f.createElement(er, { className: ua.logo, width: "75" })
7021
- ), Xo = ({
7018
+ /* @__PURE__ */ f.createElement(za, { isCurrentPlanP1X: r }),
7019
+ n && /* @__PURE__ */ f.createElement(Va, { cards: n }),
7020
+ /* @__PURE__ */ f.createElement(er, { className: uo.logo, width: "75" })
7021
+ ), Xa = ({
7022
7022
  initialPlanIndex: e,
7023
7023
  onClose: t,
7024
7024
  eligibilityPlans: n,
7025
7025
  status: r,
7026
- cards: a
7026
+ cards: o
7027
7027
  }) => {
7028
- const [o, i] = ae(e || 0), l = zl({ minWidth: ri }) ? am : mm, u = n.filter((d) => d.eligible), m = u[o], c = n.some(
7028
+ const [a, i] = oe(e || 0), l = zl({ minWidth: ri }) ? om : mm, u = n.filter((d) => d.eligible), m = u[a], c = n.some(
7029
7029
  (d) => d.deferred_days > 0 || d.deferred_months > 0
7030
7030
  );
7031
7031
  return /* @__PURE__ */ f.createElement(bc, { onClose: t, ariaHideApp: !1, scrollable: !0, isOpen: !0 }, /* @__PURE__ */ f.createElement(
7032
7032
  l,
7033
7033
  {
7034
7034
  isSomePlanDeferred: c,
7035
- cards: a,
7036
- isCurrentPlanP1X: da(m)
7035
+ cards: o,
7036
+ isCurrentPlanP1X: ho(m)
7037
7037
  },
7038
- r === ce.PENDING && /* @__PURE__ */ f.createElement("div", { className: Ht.loader }, /* @__PURE__ */ f.createElement(ou, null)),
7038
+ r === ce.PENDING && /* @__PURE__ */ f.createElement("div", { className: Ht.loader }, /* @__PURE__ */ f.createElement(au, null)),
7039
7039
  r === ce.SUCCESS && u.length === 0 && /* @__PURE__ */ f.createElement("div", { className: Ht.noEligibility }, /* @__PURE__ */ f.createElement(
7040
7040
  L,
7041
7041
  {
@@ -7047,7 +7047,7 @@ const Sc = "_openModalInfo_bndtu_1", Nc = {
7047
7047
  Pc,
7048
7048
  {
7049
7049
  eligibilityPlans: u,
7050
- currentPlanIndex: o,
7050
+ currentPlanIndex: a,
7051
7051
  setCurrentPlanIndex: i
7052
7052
  }
7053
7053
  ), /* @__PURE__ */ f.createElement("div", { className: Ht.scheduleArea }, /* @__PURE__ */ f.createElement("div", { className: Ht.verticalLine }), /* @__PURE__ */ f.createElement(Wc, { currentPlan: m }), /* @__PURE__ */ f.createElement(tu, { currentPlan: m })))
@@ -7057,22 +7057,22 @@ const Sc = "_openModalInfo_bndtu_1", Nc = {
7057
7057
  apiData: t,
7058
7058
  configPlans: n,
7059
7059
  customerBillingCountry: r,
7060
- customerShippingCountry: a,
7061
- onClose: o,
7060
+ customerShippingCountry: o,
7061
+ onClose: a,
7062
7062
  cards: i
7063
7063
  }) => {
7064
- const [s, l] = Oo(
7064
+ const [s, l] = Oa(
7065
7065
  e,
7066
7066
  t,
7067
7067
  n,
7068
7068
  r,
7069
- a
7069
+ o
7070
7070
  );
7071
7071
  return /* @__PURE__ */ f.createElement(
7072
- Xo,
7072
+ Xa,
7073
7073
  {
7074
7074
  initialPlanIndex: 0,
7075
- onClose: o,
7075
+ onClose: a,
7076
7076
  eligibilityPlans: s,
7077
7077
  status: l,
7078
7078
  cards: i
@@ -7083,36 +7083,36 @@ const Sc = "_openModalInfo_bndtu_1", Nc = {
7083
7083
  line1: hm,
7084
7084
  line2: pm
7085
7085
  }, _m = ({ className: e }) => /* @__PURE__ */ f.createElement("div", { className: H(rn.loadingIndicator, e), "data-testid": "loader" }, /* @__PURE__ */ f.createElement("div", { className: rn.line1 }), /* @__PURE__ */ f.createElement("div", { className: rn.line2 })), gm = (e, t) => {
7086
- const [n, r] = ae(0), [a, o] = ae(!0);
7086
+ const [n, r] = oe(0), [o, a] = oe(!0);
7087
7087
  return ue(() => {
7088
7088
  let i, s = !0;
7089
7089
  if (t !== -1)
7090
- return e.length !== 0 && (!e.includes(n) && a && r(e[0]), i = setTimeout(() => {
7091
- a && s && r(
7090
+ return e.length !== 0 && (!e.includes(n) && o && r(e[0]), i = setTimeout(() => {
7091
+ o && s && r(
7092
7092
  e[e.includes(n) ? (e.indexOf(n) + 1) % e.length : 0]
7093
7093
  );
7094
7094
  }, t)), () => {
7095
7095
  s = !1, clearTimeout(i);
7096
7096
  };
7097
- }, [e, n, t, a]), {
7097
+ }, [e, n, t, o]), {
7098
7098
  current: n,
7099
7099
  onHover: (i) => {
7100
- r(i), o(!1);
7100
+ r(i), a(!1);
7101
7101
  },
7102
7102
  onLeave: () => {
7103
- o(!0);
7103
+ a(!0);
7104
7104
  }
7105
7105
  };
7106
7106
  }, vm = ({ suggestedPaymentPlan: e, eligibilityPlans: t }) => {
7107
7107
  const n = Array.isArray(e) ? e : [e];
7108
7108
  let r = 0;
7109
- return n.some((a) => {
7110
- const o = t.findIndex(
7111
- (i) => i.installments_count === a && i.eligible && // Remove the PayLater plans from the plan to target, we will code a better solution later
7109
+ return n.some((o) => {
7110
+ const a = t.findIndex(
7111
+ (i) => i.installments_count === o && i.eligible && // Remove the PayLater plans from the plan to target, we will code a better solution later
7112
7112
  // To differentiate P1X from PayLater while using the `suggestedPaymentPlan` property.
7113
7113
  !i.deferred_days && !i.deferred_months
7114
7114
  );
7115
- return o !== -1 ? (r = o, !0) : !1;
7115
+ return a !== -1 ? (r = a, !0) : !1;
7116
7116
  }), r;
7117
7117
  }, je = "alma-payment-plans", Pe = {
7118
7118
  container: `${je}-container`,
@@ -7121,28 +7121,28 @@ const Sc = "_openModalInfo_bndtu_1", Nc = {
7121
7121
  notEligibleOption: `${je}-not-eligible-option`,
7122
7122
  paymentInfo: `${je}-payment-info`,
7123
7123
  activeOption: `${je}-active-option`
7124
- }, ym = "_widgetButton_11p0j_1", bm = "_logo_11p0j_18", Em = "_primaryContainer_11p0j_22", Tm = "_paymentPlans_11p0j_28", xm = "_plan_11p0j_37", Am = "_active_11p0j_52", Cm = "_monochrome_11p0j_57", Im = "_notEligible_11p0j_61", Om = "_hideBorder_11p0j_67", Sm = "_info_11p0j_71", Nm = "_loader_11p0j_82", Rm = "_pending_11p0j_87", wm = "_clickable_11p0j_91", Mm = "_unClickable_11p0j_95", J = {
7124
+ }, ym = "_widgetButton_11p0j_1", bm = "_logo_11p0j_18", Em = "_primaryContainer_11p0j_22", Tm = "_paymentPlans_11p0j_28", xm = "_plan_11p0j_37", Am = "_active_11p0j_52", Im = "_monochrome_11p0j_57", Cm = "_notEligible_11p0j_61", Om = "_hideBorder_11p0j_67", Sm = "_info_11p0j_71", Nm = "_loader_11p0j_82", Rm = "_pending_11p0j_87", wm = "_clickable_11p0j_91", Mm = "_unClickable_11p0j_95", J = {
7125
7125
  widgetButton: ym,
7126
7126
  logo: bm,
7127
7127
  primaryContainer: Em,
7128
7128
  paymentPlans: Tm,
7129
7129
  plan: xm,
7130
7130
  active: Am,
7131
- monochrome: Cm,
7132
- notEligible: Im,
7131
+ monochrome: Im,
7132
+ notEligible: Cm,
7133
7133
  hideBorder: Om,
7134
7134
  info: Sm,
7135
7135
  loader: Nm,
7136
7136
  pending: Rm,
7137
7137
  clickable: wm,
7138
7138
  unClickable: Mm
7139
- }, Hm = 1e3 * 3600, ca = 5500, Pm = ({
7139
+ }, Hm = 1e3 * 3600, co = 5500, Pm = ({
7140
7140
  apiData: e,
7141
7141
  configPlans: t,
7142
7142
  hideIfNotEligible: n,
7143
7143
  monochrome: r,
7144
- purchaseAmount: a,
7145
- suggestedPaymentPlan: o,
7144
+ purchaseAmount: o,
7145
+ suggestedPaymentPlan: a,
7146
7146
  cards: i,
7147
7147
  customerBillingCountry: s,
7148
7148
  customerShippingCountry: l,
@@ -7150,26 +7150,26 @@ const Sc = "_openModalInfo_bndtu_1", Nc = {
7150
7150
  hideBorder: m = !1,
7151
7151
  onModalClose: c
7152
7152
  }) => {
7153
- const [d, h] = Oo(
7154
- a,
7153
+ const [d, h] = Oa(
7154
+ o,
7155
7155
  e,
7156
7156
  t,
7157
7157
  s,
7158
7158
  l
7159
7159
  ), _ = d.filter((G) => G.eligible), b = vm({
7160
7160
  eligibilityPlans: d,
7161
- suggestedPaymentPlan: o != null ? o : 0
7162
- }), v = o !== void 0, y = u !== void 0, [T, E] = ae(!1), R = () => E(!0), g = (G) => {
7161
+ suggestedPaymentPlan: a != null ? a : 0
7162
+ }), v = a !== void 0, y = u !== void 0, [T, E] = oe(!1), R = () => E(!0), g = (G) => {
7163
7163
  E(!1), c == null || c(G);
7164
7164
  }, S = d.reduce(
7165
- (G, A, C) => A.eligible ? [...G, C] : G,
7165
+ (G, A, I) => A.eligible ? [...G, I] : G,
7166
7166
  []
7167
- ), k = () => y ? u != null ? u : ca : v ? Hm : ca, { current: q, onHover: U, onLeave: W } = gm(S, k());
7167
+ ), k = () => y ? u != null ? u : co : v ? Hm : co, { current: q, onHover: U, onLeave: W } = gm(S, k());
7168
7168
  ue(() => {
7169
7169
  h === ce.SUCCESS && v && (U(b), W());
7170
7170
  }, [h]);
7171
7171
  const me = (G) => {
7172
- const A = S.findIndex((C) => C === G);
7172
+ const A = S.findIndex((I) => I === G);
7173
7173
  return A === -1 ? 0 : A;
7174
7174
  };
7175
7175
  if (h === ce.PENDING)
@@ -7198,7 +7198,7 @@ const Sc = "_openModalInfo_bndtu_1", Nc = {
7198
7198
  "data-testid": "widget-button"
7199
7199
  },
7200
7200
  /* @__PURE__ */ f.createElement("div", { className: H(J.primaryContainer, Pe.eligibilityLine) }, /* @__PURE__ */ f.createElement(er, { className: J.logo, color: r ? "var(--off-black)" : void 0 }), /* @__PURE__ */ f.createElement("div", { className: H(J.paymentPlans, Pe.eligibilityOptions) }, d.map((G, A) => {
7201
- const C = A === q;
7201
+ const I = A === q;
7202
7202
  return /* @__PURE__ */ f.createElement(
7203
7203
  "div",
7204
7204
  {
@@ -7209,12 +7209,12 @@ const Sc = "_openModalInfo_bndtu_1", Nc = {
7209
7209
  onBlur: W,
7210
7210
  onTouchEnd: W,
7211
7211
  className: H(J.plan, {
7212
- [H(J.active, Pe.activeOption)]: C,
7213
- [J.monochrome]: r && C,
7212
+ [H(J.active, Pe.activeOption)]: I,
7213
+ [J.monochrome]: r && I,
7214
7214
  [H(J.notEligible, Pe.notEligibleOption)]: !G.eligible
7215
7215
  })
7216
7216
  },
7217
- jo(G)
7217
+ ja(G)
7218
7218
  );
7219
7219
  }))),
7220
7220
  /* @__PURE__ */ f.createElement(
@@ -7231,7 +7231,7 @@ const Sc = "_openModalInfo_bndtu_1", Nc = {
7231
7231
  d.length !== 0 && Rc(d[q])
7232
7232
  )
7233
7233
  ), T && /* @__PURE__ */ f.createElement(
7234
- Xo,
7234
+ Xa,
7235
7235
  {
7236
7236
  initialPlanIndex: me(q),
7237
7237
  onClose: g,
@@ -7241,15 +7241,15 @@ const Sc = "_openModalInfo_bndtu_1", Nc = {
7241
7241
  }
7242
7242
  ));
7243
7243
  }, Ve = /* @__PURE__ */ new Map(), Lm = (e, t, n) => {
7244
- var a;
7244
+ var o;
7245
7245
  const r = document.querySelector(n.container);
7246
7246
  if (r) {
7247
- const o = Ve.get(r);
7248
- o && (o.unmount(), Ve.delete(r));
7247
+ const a = Ve.get(r);
7248
+ a && (a.unmount(), Ve.delete(r));
7249
7249
  }
7250
7250
  if (t === lt.PaymentPlans) {
7251
7251
  const {
7252
- purchaseAmount: o,
7252
+ purchaseAmount: a,
7253
7253
  plans: i,
7254
7254
  transitionDelay: s,
7255
7255
  hideIfNotEligible: l,
@@ -7263,7 +7263,7 @@ const Sc = "_openModalInfo_bndtu_1", Nc = {
7263
7263
  onModalClose: v
7264
7264
  } = n;
7265
7265
  if (r) {
7266
- const y = Ir(r);
7266
+ const y = Cr(r);
7267
7267
  y.render(
7268
7268
  /* @__PURE__ */ f.createElement($r, { locale: _ }, /* @__PURE__ */ f.createElement(
7269
7269
  Pm,
@@ -7272,7 +7272,7 @@ const Sc = "_openModalInfo_bndtu_1", Nc = {
7272
7272
  configPlans: i,
7273
7273
  hideIfNotEligible: l,
7274
7274
  monochrome: m,
7275
- purchaseAmount: o,
7275
+ purchaseAmount: a,
7276
7276
  suggestedPaymentPlan: c,
7277
7277
  cards: b,
7278
7278
  customerBillingCountry: d,
@@ -7287,7 +7287,7 @@ const Sc = "_openModalInfo_bndtu_1", Nc = {
7287
7287
  }
7288
7288
  if (t === lt.Modal) {
7289
7289
  const {
7290
- clickableSelector: o,
7290
+ clickableSelector: a,
7291
7291
  purchaseAmount: i,
7292
7292
  plans: s,
7293
7293
  locale: l = be.en,
@@ -7301,7 +7301,7 @@ const Sc = "_openModalInfo_bndtu_1", Nc = {
7301
7301
  v && (v.unmount(), Ve.delete(r)), d == null || d(b);
7302
7302
  }, _ = () => {
7303
7303
  if (r) {
7304
- const b = Ir(r);
7304
+ const b = Cr(r);
7305
7305
  b.render(
7306
7306
  /* @__PURE__ */ f.createElement($r, { locale: l }, /* @__PURE__ */ f.createElement(
7307
7307
  fm,
@@ -7318,7 +7318,7 @@ const Sc = "_openModalInfo_bndtu_1", Nc = {
7318
7318
  ), Ve.set(r, b);
7319
7319
  }
7320
7320
  };
7321
- return o && ((a = document.querySelector(o)) == null || a.addEventListener("click", _, !1)), {
7321
+ return a && ((o = document.querySelector(a)) == null || o.addEventListener("click", _, !1)), {
7322
7322
  open: _,
7323
7323
  close: h
7324
7324
  };
@@ -7326,20 +7326,20 @@ const Sc = "_openModalInfo_bndtu_1", Nc = {
7326
7326
  }, Dm = (e) => ({
7327
7327
  add: (t, n) => Lm(e, t, n)
7328
7328
  });
7329
- var Bm = /* @__PURE__ */ ((e) => (e.LIVE = "https://api.getalma.eu", e.TEST = "https://api.sandbox.getalma.eu", e))(Bm || {}), ma;
7329
+ var Bm = /* @__PURE__ */ ((e) => (e.LIVE = "https://api.getalma.eu", e.TEST = "https://api.sandbox.getalma.eu", e))(Bm || {}), mo;
7330
7330
  ((e) => {
7331
7331
  function t(n, r) {
7332
7332
  return Dm({ domain: r, merchantId: n });
7333
7333
  }
7334
7334
  e.initialize = t, e.PaymentPlans = lt.PaymentPlans, e.Modal = lt.Modal;
7335
- })(ma || (ma = {}));
7336
- var fa;
7335
+ })(mo || (mo = {}));
7336
+ var fo;
7337
7337
  ((e) => {
7338
7338
  e.priceToCents = ti, e.priceFromCents = ie, e.formatCents = ni;
7339
- })(fa || (fa = {}));
7339
+ })(fo || (fo = {}));
7340
7340
  export {
7341
7341
  Bm as ApiMode,
7342
- fa as Utils,
7343
- ma as Widgets
7342
+ fo as Utils,
7343
+ mo as Widgets
7344
7344
  };
7345
7345
  //# sourceMappingURL=widgets.js.map