@shipengine/alchemy 0.4.4 → 0.4.5

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/index.mjs CHANGED
@@ -1,24 +1,24 @@
1
1
  import * as Mt from "react";
2
- import { createContext as Xt, forwardRef as ga, useContext as Zt, createElement as wt, Fragment as ma, useState as Qt, useEffect as er, useMemo as va } from "react";
3
- import { jsx as pr, jsxs as hr } from "react/jsx-runtime";
4
- import { css as ya, Global as ba, ThemeProvider as wa, CacheProvider as Sa } from "@emotion/react";
5
- import { BrandName as Pn, Theme as xa } from "@packlink/brands";
6
- import { getEmotionResetStyles as Oa, GigerConfigProvider as Ea } from "@packlink/giger";
7
- import { logger as it, ShipEngine as Pa } from "@shipengine/react-api";
2
+ import { createContext as Zt, forwardRef as ma, useContext as Qt, createElement as wt, Fragment as va, useState as er, useEffect as tr, useMemo as ya } from "react";
3
+ import { jsx as hr, jsxs as gr } from "react/jsx-runtime";
4
+ import { css as ba, Global as wa, ThemeProvider as Sa, CacheProvider as xa } from "@emotion/react";
5
+ import { BrandName as Cn, Theme as Oa } from "@packlink/brands";
6
+ import { getEmotionResetStyles as Ea, GigerConfigProvider as Pa } from "@packlink/giger";
7
+ import { logger as it, ShipEngine as Ca } from "@shipengine/react-api";
8
8
  export * from "@shipengine/react-api";
9
- import { I18nextProvider as Ca } from "react-i18next";
10
- function Ra(e) {
9
+ import { I18nextProvider as Ra } from "react-i18next";
10
+ function ka(e) {
11
11
  if (e.sheet)
12
12
  return e.sheet;
13
13
  for (var t = 0; t < document.styleSheets.length; t++)
14
14
  if (document.styleSheets[t].ownerNode === e)
15
15
  return document.styleSheets[t];
16
16
  }
17
- function ka(e) {
17
+ function Na(e) {
18
18
  var t = document.createElement("style");
19
19
  return t.setAttribute("data-emotion", e.key), e.nonce !== void 0 && t.setAttribute("nonce", e.nonce), t.appendChild(document.createTextNode("")), t.setAttribute("data-s", ""), t;
20
20
  }
21
- var Na = /* @__PURE__ */ function() {
21
+ var La = /* @__PURE__ */ function() {
22
22
  function e(r) {
23
23
  var a = this;
24
24
  this._insertTag = function(n) {
@@ -30,7 +30,7 @@ var Na = /* @__PURE__ */ function() {
30
30
  return t.hydrate = function(a) {
31
31
  a.forEach(this._insertTag);
32
32
  }, t.insert = function(a) {
33
- this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(ka(this));
33
+ this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(Na(this));
34
34
  var n = this.tags[this.tags.length - 1];
35
35
  if (process.env.NODE_ENV !== "production") {
36
36
  var i = a.charCodeAt(0) === 64 && a.charCodeAt(1) === 105;
@@ -38,7 +38,7 @@ var Na = /* @__PURE__ */ function() {
38
38
  ` + a + "\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."), this._alreadyInsertedOrderInsensitiveRule = this._alreadyInsertedOrderInsensitiveRule || !i;
39
39
  }
40
40
  if (this.isSpeedy) {
41
- var o = Ra(n);
41
+ var o = ka(n);
42
42
  try {
43
43
  o.insertRule(a, o.cssRules.length);
44
44
  } catch (s) {
@@ -52,11 +52,11 @@ var Na = /* @__PURE__ */ function() {
52
52
  return a.parentNode && a.parentNode.removeChild(a);
53
53
  }), this.tags = [], this.ctr = 0, process.env.NODE_ENV !== "production" && (this._alreadyInsertedOrderInsensitiveRule = !1);
54
54
  }, e;
55
- }(), P = "-ms-", oe = "-moz-", x = "-webkit-", tr = "comm", ot = "rule", st = "decl", La = "@import", rr = "@keyframes", _a = Math.abs, ut = String.fromCharCode, Aa = Object.assign;
56
- function Cn(e, t) {
55
+ }(), P = "-ms-", oe = "-moz-", x = "-webkit-", rr = "comm", ot = "rule", st = "decl", _a = "@import", nr = "@keyframes", Aa = Math.abs, ut = String.fromCharCode, Ta = Object.assign;
56
+ function Rn(e, t) {
57
57
  return L(e, 0) ^ 45 ? (((t << 2 ^ L(e, 0)) << 2 ^ L(e, 1)) << 2 ^ L(e, 2)) << 2 ^ L(e, 3) : 0;
58
58
  }
59
- function Rn(e) {
59
+ function kn(e) {
60
60
  return e.trim();
61
61
  }
62
62
  function ie(e, t) {
@@ -77,30 +77,30 @@ function Ce(e, t, r) {
77
77
  function H(e) {
78
78
  return e.length;
79
79
  }
80
- function nr(e) {
80
+ function ar(e) {
81
81
  return e.length;
82
82
  }
83
83
  function Ke(e, t) {
84
84
  return t.push(e), e;
85
85
  }
86
- function kn(e, t) {
86
+ function Nn(e, t) {
87
87
  return e.map(t).join("");
88
88
  }
89
- var ct = 1, Re = 1, Nn = 0, D = 0, A = 0, ke = "";
89
+ var ct = 1, Re = 1, Ln = 0, D = 0, A = 0, ke = "";
90
90
  function ft(e, t, r, a, n, i, o) {
91
91
  return { value: e, root: t, parent: r, type: a, props: n, children: i, line: ct, column: Re, length: o, return: "" };
92
92
  }
93
93
  function Q(e, t) {
94
- return Aa(ft("", null, null, "", null, null, 0), e, { length: -e.length }, t);
94
+ return Ta(ft("", null, null, "", null, null, 0), e, { length: -e.length }, t);
95
95
  }
96
- function Ta() {
96
+ function $a() {
97
97
  return A;
98
98
  }
99
- function $a() {
99
+ function ja() {
100
100
  return A = D > 0 ? L(ke, --D) : 0, Re--, A === 10 && (Re = 1, ct--), A;
101
101
  }
102
102
  function M() {
103
- return A = D < Nn ? L(ke, D++) : 0, Re++, A === 10 && (Re = 1, ct++), A;
103
+ return A = D < Ln ? L(ke, D++) : 0, Re++, A === 10 && (Re = 1, ct++), A;
104
104
  }
105
105
  function te() {
106
106
  return L(ke, D);
@@ -143,21 +143,21 @@ function De(e) {
143
143
  }
144
144
  return 0;
145
145
  }
146
- function Ln(e) {
147
- return ct = Re = 1, Nn = H(ke = e), D = 0, [];
148
- }
149
146
  function _n(e) {
147
+ return ct = Re = 1, Ln = H(ke = e), D = 0, [];
148
+ }
149
+ function An(e) {
150
150
  return ke = "", e;
151
151
  }
152
152
  function Ge(e) {
153
- return Rn(Ue(D - 1, Bt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
153
+ return kn(Ue(D - 1, Bt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
154
154
  }
155
- function ja(e) {
155
+ function Ia(e) {
156
156
  for (; (A = te()) && A < 33; )
157
157
  M();
158
158
  return De(e) > 2 || De(A) > 3 ? "" : " ";
159
159
  }
160
- function Ia(e, t) {
160
+ function Da(e, t) {
161
161
  for (; --t && M() && !(A < 48 || A > 102 || A > 57 && A < 65 || A > 70 && A < 97); )
162
162
  ;
163
163
  return Ue(e, We() + (t < 6 && te() == 32 && M() == 32));
@@ -180,19 +180,19 @@ function Bt(e) {
180
180
  }
181
181
  return D;
182
182
  }
183
- function Da(e, t) {
183
+ function Fa(e, t) {
184
184
  for (; M() && e + A !== 47 + 10; )
185
185
  if (e + A === 42 + 42 && te() === 47)
186
186
  break;
187
187
  return "/*" + Ue(t, D - 1) + "*" + ut(e === 47 ? e : M());
188
188
  }
189
- function Fa(e) {
189
+ function Ua(e) {
190
190
  for (; !De(te()); )
191
191
  M();
192
192
  return Ue(e, D);
193
193
  }
194
- function Ua(e) {
195
- return _n(Xe("", null, null, null, [""], e = Ln(e), 0, [0], e));
194
+ function Ma(e) {
195
+ return An(Xe("", null, null, null, [""], e = _n(e), 0, [0], e));
196
196
  }
197
197
  function Xe(e, t, r, a, n, i, o, s, u) {
198
198
  for (var f = 0, l = 0, c = o, d = 0, p = 0, y = 0, b = 1, w = 1, h = 1, g = 0, O = "", m = n, v = i, N = a, C = O; w; )
@@ -211,16 +211,16 @@ function Xe(e, t, r, a, n, i, o, s, u) {
211
211
  case 10:
212
212
  case 13:
213
213
  case 32:
214
- C += ja(y);
214
+ C += Ia(y);
215
215
  break;
216
216
  case 92:
217
- C += Ia(We() - 1, 7);
217
+ C += Da(We() - 1, 7);
218
218
  continue;
219
219
  case 47:
220
220
  switch (te()) {
221
221
  case 42:
222
222
  case 47:
223
- Ke(Ma(Da(M(), We()), t, r), u);
223
+ Ke(Ba(Fa(M(), We()), t, r), u);
224
224
  break;
225
225
  default:
226
226
  C += "/";
@@ -236,12 +236,12 @@ function Xe(e, t, r, a, n, i, o, s, u) {
236
236
  case 125:
237
237
  w = 0;
238
238
  case 59 + l:
239
- p > 0 && H(C) - c && Ke(p > 32 ? mr(C + ";", a, r, c - 1) : mr(S(C, " ", "") + ";", a, r, c - 2), u);
239
+ p > 0 && H(C) - c && Ke(p > 32 ? vr(C + ";", a, r, c - 1) : vr(S(C, " ", "") + ";", a, r, c - 2), u);
240
240
  break;
241
241
  case 59:
242
242
  C += ";";
243
243
  default:
244
- if (Ke(N = gr(C, t, r, f, l, n, s, O, m = [], v = [], c), i), g === 123)
244
+ if (Ke(N = mr(C, t, r, f, l, n, s, O, m = [], v = [], c), i), g === 123)
245
245
  if (l === 0)
246
246
  Xe(C, t, N, N, m, i, c, s, v);
247
247
  else
@@ -249,7 +249,7 @@ function Xe(e, t, r, a, n, i, o, s, u) {
249
249
  case 100:
250
250
  case 109:
251
251
  case 115:
252
- Xe(e, N, N, a && Ke(gr(e, N, N, 0, 0, n, s, O, n, m = [], c), v), n, v, c, s, a ? m : v);
252
+ Xe(e, N, N, a && Ke(mr(e, N, N, 0, 0, n, s, O, n, m = [], c), v), n, v, c, s, a ? m : v);
253
253
  break;
254
254
  default:
255
255
  Xe(C, N, N, N, [""], v, 0, s, v);
@@ -263,7 +263,7 @@ function Xe(e, t, r, a, n, i, o, s, u) {
263
263
  if (b < 1) {
264
264
  if (g == 123)
265
265
  --b;
266
- else if (g == 125 && b++ == 0 && $a() == 125)
266
+ else if (g == 125 && b++ == 0 && ja() == 125)
267
267
  continue;
268
268
  }
269
269
  switch (C += ut(g), g * b) {
@@ -274,7 +274,7 @@ function Xe(e, t, r, a, n, i, o, s, u) {
274
274
  s[f++] = (H(C) - 1) * h, h = 1;
275
275
  break;
276
276
  case 64:
277
- te() === 45 && (C += Ge(M())), d = te(), l = c = H(O = C += Fa(We())), g++;
277
+ te() === 45 && (C += Ge(M())), d = te(), l = c = H(O = C += Ua(We())), g++;
278
278
  break;
279
279
  case 45:
280
280
  y === 45 && H(C) == 2 && (b = 0);
@@ -282,20 +282,20 @@ function Xe(e, t, r, a, n, i, o, s, u) {
282
282
  }
283
283
  return i;
284
284
  }
285
- function gr(e, t, r, a, n, i, o, s, u, f, l) {
286
- for (var c = n - 1, d = n === 0 ? i : [""], p = nr(d), y = 0, b = 0, w = 0; y < a; ++y)
287
- for (var h = 0, g = Ce(e, c + 1, c = _a(b = o[y])), O = e; h < p; ++h)
288
- (O = Rn(b > 0 ? d[h] + " " + g : S(g, /&\f/g, d[h]))) && (u[w++] = O);
285
+ function mr(e, t, r, a, n, i, o, s, u, f, l) {
286
+ for (var c = n - 1, d = n === 0 ? i : [""], p = ar(d), y = 0, b = 0, w = 0; y < a; ++y)
287
+ for (var h = 0, g = Ce(e, c + 1, c = Aa(b = o[y])), O = e; h < p; ++h)
288
+ (O = kn(b > 0 ? d[h] + " " + g : S(g, /&\f/g, d[h]))) && (u[w++] = O);
289
289
  return ft(e, t, r, n === 0 ? ot : s, u, f, l);
290
290
  }
291
- function Ma(e, t, r) {
292
- return ft(e, t, r, tr, ut(Ta()), Ce(e, 2, -2), 0);
291
+ function Ba(e, t, r) {
292
+ return ft(e, t, r, rr, ut($a()), Ce(e, 2, -2), 0);
293
293
  }
294
- function mr(e, t, r, a) {
294
+ function vr(e, t, r, a) {
295
295
  return ft(e, t, r, st, Ce(e, 0, a), Ce(e, a + 1, -1), a);
296
296
  }
297
- function An(e, t, r) {
298
- switch (Cn(e, t)) {
297
+ function Tn(e, t, r) {
298
+ switch (Rn(e, t)) {
299
299
  case 5103:
300
300
  return x + "print-" + e + e;
301
301
  case 5737:
@@ -410,7 +410,7 @@ function An(e, t, r) {
410
410
  case 102:
411
411
  return S(e, /(.+:)(.+)-([^]+)/, "$1" + x + "$2-$3$1" + oe + (L(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
412
412
  case 115:
413
- return ~Pe(e, "stretch") ? An(S(e, "stretch", "fill-available"), t, r) + e : e;
413
+ return ~Pe(e, "stretch") ? Tn(S(e, "stretch", "fill-available"), t, r) + e : e;
414
414
  }
415
415
  break;
416
416
  case 5152:
@@ -440,48 +440,48 @@ function An(e, t, r) {
440
440
  return e;
441
441
  }
442
442
  function se(e, t) {
443
- for (var r = "", a = nr(e), n = 0; n < a; n++)
443
+ for (var r = "", a = ar(e), n = 0; n < a; n++)
444
444
  r += t(e[n], n, e, t) || "";
445
445
  return r;
446
446
  }
447
- function Ba(e, t, r, a) {
447
+ function Va(e, t, r, a) {
448
448
  switch (e.type) {
449
- case La:
449
+ case _a:
450
450
  case st:
451
451
  return e.return = e.return || e.value;
452
- case tr:
453
- return "";
454
452
  case rr:
453
+ return "";
454
+ case nr:
455
455
  return e.return = e.value + "{" + se(e.children, a) + "}";
456
456
  case ot:
457
457
  e.value = e.props.join(",");
458
458
  }
459
459
  return H(r = se(e.children, a)) ? e.return = e.value + "{" + r + "}" : "";
460
460
  }
461
- function Va(e) {
462
- var t = nr(e);
461
+ function qa(e) {
462
+ var t = ar(e);
463
463
  return function(r, a, n, i) {
464
464
  for (var o = "", s = 0; s < t; s++)
465
465
  o += e[s](r, a, n, i) || "";
466
466
  return o;
467
467
  };
468
468
  }
469
- function qa(e) {
469
+ function za(e) {
470
470
  return function(t) {
471
471
  t.root || (t = t.return) && e(t);
472
472
  };
473
473
  }
474
- function za(e, t, r, a) {
474
+ function Ha(e, t, r, a) {
475
475
  if (e.length > -1 && !e.return)
476
476
  switch (e.type) {
477
477
  case st:
478
- e.return = An(e.value, e.length, r);
478
+ e.return = Tn(e.value, e.length, r);
479
479
  return;
480
- case rr:
480
+ case nr:
481
481
  return se([Q(e, { value: S(e.value, "@", "@" + x) })], a);
482
482
  case ot:
483
483
  if (e.length)
484
- return kn(e.props, function(n) {
484
+ return Nn(e.props, function(n) {
485
485
  switch (ie(n, /(::plac\w+|:read-\w+)/)) {
486
486
  case ":read-only":
487
487
  case ":read-write":
@@ -497,22 +497,22 @@ function za(e, t, r, a) {
497
497
  });
498
498
  }
499
499
  }
500
- function Tn(e) {
500
+ function $n(e) {
501
501
  var t = /* @__PURE__ */ Object.create(null);
502
502
  return function(r) {
503
503
  return t[r] === void 0 && (t[r] = e(r)), t[r];
504
504
  };
505
505
  }
506
- var Ha = function(t, r, a) {
506
+ var Ka = function(t, r, a) {
507
507
  for (var n = 0, i = 0; n = i, i = te(), n === 38 && i === 12 && (r[a] = 1), !De(i); )
508
508
  M();
509
509
  return Ue(t, D);
510
- }, Ka = function(t, r) {
510
+ }, Ja = function(t, r) {
511
511
  var a = -1, n = 44;
512
512
  do
513
513
  switch (De(n)) {
514
514
  case 0:
515
- n === 38 && te() === 12 && (r[a] = 1), t[a] += Ha(D - 1, r, a);
515
+ n === 38 && te() === 12 && (r[a] = 1), t[a] += Ka(D - 1, r, a);
516
516
  break;
517
517
  case 2:
518
518
  t[a] += Ge(n);
@@ -527,32 +527,32 @@ var Ha = function(t, r, a) {
527
527
  }
528
528
  while (n = M());
529
529
  return t;
530
- }, Ja = function(t, r) {
531
- return _n(Ka(Ln(t), r));
532
- }, vr = /* @__PURE__ */ new WeakMap(), Ya = function(t) {
530
+ }, Ya = function(t, r) {
531
+ return An(Ja(_n(t), r));
532
+ }, yr = /* @__PURE__ */ new WeakMap(), Wa = function(t) {
533
533
  if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
534
534
  // negative .length indicates that this rule has been already prefixed
535
535
  t.length < 1)) {
536
536
  for (var r = t.value, a = t.parent, n = t.column === a.column && t.line === a.line; a.type !== "rule"; )
537
537
  if (a = a.parent, !a)
538
538
  return;
539
- if (!(t.props.length === 1 && r.charCodeAt(0) !== 58 && !vr.get(a)) && !n) {
540
- vr.set(t, !0);
541
- for (var i = [], o = Ja(r, i), s = a.props, u = 0, f = 0; u < o.length; u++)
539
+ if (!(t.props.length === 1 && r.charCodeAt(0) !== 58 && !yr.get(a)) && !n) {
540
+ yr.set(t, !0);
541
+ for (var i = [], o = Ya(r, i), s = a.props, u = 0, f = 0; u < o.length; u++)
542
542
  for (var l = 0; l < s.length; l++, f++)
543
543
  t.props[f] = i[u] ? o[u].replace(/&\f/g, s[l]) : s[l] + " " + o[u];
544
544
  }
545
545
  }
546
- }, Wa = function(t) {
546
+ }, Ga = function(t) {
547
547
  if (t.type === "decl") {
548
548
  var r = t.value;
549
549
  // charcode for l
550
550
  r.charCodeAt(0) === 108 && // charcode for b
551
551
  r.charCodeAt(2) === 98 && (t.return = "", t.value = "");
552
552
  }
553
- }, Ga = "emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason", Xa = function(t) {
554
- return t.type === "comm" && t.children.indexOf(Ga) > -1;
555
- }, Za = function(t) {
553
+ }, Xa = "emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason", Za = function(t) {
554
+ return t.type === "comm" && t.children.indexOf(Xa) > -1;
555
+ }, Qa = function(t) {
556
556
  return function(r, a, n) {
557
557
  if (!(r.type !== "rule" || t.compat)) {
558
558
  var i = r.value.match(/(:first|:nth|:nth-last)-child/g);
@@ -565,7 +565,7 @@ var Ha = function(t, r, a) {
565
565
  if (f.line < r.line)
566
566
  break;
567
567
  if (f.column < r.column) {
568
- if (Xa(f))
568
+ if (Za(f))
569
569
  return;
570
570
  break;
571
571
  }
@@ -576,20 +576,20 @@ var Ha = function(t, r, a) {
576
576
  }
577
577
  }
578
578
  };
579
- }, $n = function(t) {
579
+ }, jn = function(t) {
580
580
  return t.type.charCodeAt(1) === 105 && t.type.charCodeAt(0) === 64;
581
- }, Qa = function(t, r) {
581
+ }, ei = function(t, r) {
582
582
  for (var a = t - 1; a >= 0; a--)
583
- if (!$n(r[a]))
583
+ if (!jn(r[a]))
584
584
  return !0;
585
585
  return !1;
586
- }, yr = function(t) {
586
+ }, br = function(t) {
587
587
  t.type = "", t.value = "", t.return = "", t.children = "", t.props = "";
588
- }, ei = function(t, r, a) {
589
- $n(t) && (t.parent ? (console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."), yr(t)) : Qa(r, a) && (console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."), yr(t)));
588
+ }, ti = function(t, r, a) {
589
+ jn(t) && (t.parent ? (console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."), br(t)) : ei(r, a) && (console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."), br(t)));
590
590
  };
591
- function jn(e, t) {
592
- switch (Cn(e, t)) {
591
+ function In(e, t) {
592
+ switch (Rn(e, t)) {
593
593
  case 5103:
594
594
  return x + "print-" + e + e;
595
595
  case 5737:
@@ -675,7 +675,7 @@ function jn(e, t) {
675
675
  case 102:
676
676
  return S(e, /(.+:)(.+)-([^]+)/, "$1" + x + "$2-$3$1" + oe + (L(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
677
677
  case 115:
678
- return ~Pe(e, "stretch") ? jn(S(e, "stretch", "fill-available"), t) + e : e;
678
+ return ~Pe(e, "stretch") ? In(S(e, "stretch", "fill-available"), t) + e : e;
679
679
  }
680
680
  break;
681
681
  case 4949:
@@ -702,19 +702,19 @@ function jn(e, t) {
702
702
  }
703
703
  return e;
704
704
  }
705
- var ti = function(t, r, a, n) {
705
+ var ri = function(t, r, a, n) {
706
706
  if (t.length > -1 && !t.return)
707
707
  switch (t.type) {
708
708
  case st:
709
- t.return = jn(t.value, t.length);
709
+ t.return = In(t.value, t.length);
710
710
  break;
711
- case rr:
711
+ case nr:
712
712
  return se([Q(t, {
713
713
  value: S(t.value, "@", "@" + x)
714
714
  })], n);
715
715
  case ot:
716
716
  if (t.length)
717
- return kn(t.props, function(i) {
717
+ return Nn(t.props, function(i) {
718
718
  switch (ie(i, /(::plac\w+|:read-\w+)/)) {
719
719
  case ":read-only":
720
720
  case ":read-write":
@@ -733,7 +733,7 @@ var ti = function(t, r, a, n) {
733
733
  return "";
734
734
  });
735
735
  }
736
- }, ri = [ti], In = function(t) {
736
+ }, ni = [ri], Dn = function(t) {
737
737
  var r = t.key;
738
738
  if (process.env.NODE_ENV !== "production" && !r)
739
739
  throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
@@ -745,7 +745,7 @@ If multiple caches share the same key they might "fight" for each other's style
745
745
  w.indexOf(" ") !== -1 && (document.head.appendChild(b), b.setAttribute("data-s", ""));
746
746
  });
747
747
  }
748
- var n = t.stylisPlugins || ri;
748
+ var n = t.stylisPlugins || ni;
749
749
  if (process.env.NODE_ENV !== "production" && /[^a-z-]/.test(r))
750
750
  throw new Error('Emotion key must only contain lower case alphabetical characters and - but "' + r + '" was passed');
751
751
  var i = {}, o, s = [];
@@ -759,19 +759,19 @@ If multiple caches share the same key they might "fight" for each other's style
759
759
  s.push(b);
760
760
  }
761
761
  );
762
- var u, f = [Ya, Wa];
763
- process.env.NODE_ENV !== "production" && f.push(Za({
762
+ var u, f = [Wa, Ga];
763
+ process.env.NODE_ENV !== "production" && f.push(Qa({
764
764
  get compat() {
765
765
  return y.compat;
766
766
  }
767
- }), ei);
767
+ }), ti);
768
768
  {
769
- var l, c = [Ba, process.env.NODE_ENV !== "production" ? function(b) {
770
- b.root || (b.return ? l.insert(b.return) : b.value && b.type !== tr && l.insert(b.value + "{}"));
771
- } : qa(function(b) {
769
+ var l, c = [Va, process.env.NODE_ENV !== "production" ? function(b) {
770
+ b.root || (b.return ? l.insert(b.return) : b.value && b.type !== rr && l.insert(b.value + "{}"));
771
+ } : za(function(b) {
772
772
  l.insert(b);
773
- })], d = Va(f.concat(n, c)), p = function(w) {
774
- return se(Ua(w), d);
773
+ })], d = qa(f.concat(n, c)), p = function(w) {
774
+ return se(Ma(w), d);
775
775
  };
776
776
  u = function(w, h, g, O) {
777
777
  l = g, process.env.NODE_ENV !== "production" && h.map !== void 0 && (l = {
@@ -783,7 +783,7 @@ If multiple caches share the same key they might "fight" for each other's style
783
783
  }
784
784
  var y = {
785
785
  key: r,
786
- sheet: new Na({
786
+ sheet: new La({
787
787
  key: r,
788
788
  container: o,
789
789
  nonce: t.nonce,
@@ -798,10 +798,10 @@ If multiple caches share the same key they might "fight" for each other's style
798
798
  };
799
799
  return y.sheet.hydrate(s), y;
800
800
  };
801
- function ni(e) {
801
+ function ai(e) {
802
802
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
803
803
  }
804
- var Vt = {}, ai = {
804
+ var Vt = {}, ii = {
805
805
  get exports() {
806
806
  return Vt;
807
807
  },
@@ -817,11 +817,11 @@ var Vt = {}, ai = {
817
817
  * This source code is licensed under the MIT license found in the
818
818
  * LICENSE file in the root directory of this source tree.
819
819
  */
820
- var br;
821
- function ii() {
822
- if (br)
820
+ var wr;
821
+ function oi() {
822
+ if (wr)
823
823
  return R;
824
- br = 1;
824
+ wr = 1;
825
825
  var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, n = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, l = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, h = e ? Symbol.for("react.responder") : 60118, g = e ? Symbol.for("react.scope") : 60119;
826
826
  function O(v) {
827
827
  if (typeof v == "object" && v !== null) {
@@ -893,9 +893,9 @@ var k = {};
893
893
  * This source code is licensed under the MIT license found in the
894
894
  * LICENSE file in the root directory of this source tree.
895
895
  */
896
- var wr;
897
- function oi() {
898
- return wr || (wr = 1, process.env.NODE_ENV !== "production" && function() {
896
+ var Sr;
897
+ function si() {
898
+ return Sr || (Sr = 1, process.env.NODE_ENV !== "production" && function() {
899
899
  var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, n = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, l = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, h = e ? Symbol.for("react.responder") : 60118, g = e ? Symbol.for("react.scope") : 60119;
900
900
  function O(E) {
901
901
  return typeof E == "string" || typeof E == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
@@ -916,14 +916,14 @@ function oi() {
916
916
  case c:
917
917
  return ve;
918
918
  default:
919
- var dr = ve && ve.$$typeof;
920
- switch (dr) {
919
+ var pr = ve && ve.$$typeof;
920
+ switch (pr) {
921
921
  case s:
922
922
  case l:
923
923
  case y:
924
924
  case p:
925
925
  case o:
926
- return dr;
926
+ return pr;
927
927
  default:
928
928
  return we;
929
929
  }
@@ -977,32 +977,32 @@ function oi() {
977
977
  }()), k;
978
978
  }
979
979
  (function(e) {
980
- process.env.NODE_ENV === "production" ? e.exports = ii() : e.exports = oi();
981
- })(ai);
982
- var Dn = Vt, si = {
980
+ process.env.NODE_ENV === "production" ? e.exports = oi() : e.exports = si();
981
+ })(ii);
982
+ var Fn = Vt, ui = {
983
983
  $$typeof: !0,
984
984
  render: !0,
985
985
  defaultProps: !0,
986
986
  displayName: !0,
987
987
  propTypes: !0
988
- }, ui = {
988
+ }, ci = {
989
989
  $$typeof: !0,
990
990
  compare: !0,
991
991
  defaultProps: !0,
992
992
  displayName: !0,
993
993
  propTypes: !0,
994
994
  type: !0
995
- }, Fn = {};
996
- Fn[Dn.ForwardRef] = si;
997
- Fn[Dn.Memo] = ui;
998
- var ci = !0;
999
- function fi(e, t, r) {
995
+ }, Un = {};
996
+ Un[Fn.ForwardRef] = ui;
997
+ Un[Fn.Memo] = ci;
998
+ var fi = !0;
999
+ function li(e, t, r) {
1000
1000
  var a = "";
1001
1001
  return r.split(" ").forEach(function(n) {
1002
1002
  e[n] !== void 0 ? t.push(e[n] + ";") : a += n + " ";
1003
1003
  }), a;
1004
1004
  }
1005
- var Un = function(t, r, a) {
1005
+ var Mn = function(t, r, a) {
1006
1006
  var n = t.key + "-" + r.name;
1007
1007
  // we only need to add the styles to the registered cache if the
1008
1008
  // class name could be used further down
@@ -1013,9 +1013,9 @@ var Un = function(t, r, a) {
1013
1013
  // in node since emotion-server relies on whether a style is in
1014
1014
  // the registered cache to know whether a style is global or not
1015
1015
  // also, note that this check will be dead code eliminated in the browser
1016
- ci === !1) && t.registered[n] === void 0 && (t.registered[n] = r.styles);
1017
- }, li = function(t, r, a) {
1018
- Un(t, r, a);
1016
+ fi === !1) && t.registered[n] === void 0 && (t.registered[n] = r.styles);
1017
+ }, di = function(t, r, a) {
1018
+ Mn(t, r, a);
1019
1019
  var n = t.key + "-" + r.name;
1020
1020
  if (t.inserted[r.name] === void 0) {
1021
1021
  var i = r;
@@ -1024,7 +1024,7 @@ var Un = function(t, r, a) {
1024
1024
  while (i !== void 0);
1025
1025
  }
1026
1026
  };
1027
- function di(e) {
1027
+ function pi(e) {
1028
1028
  for (var t = 0, r, a = 0, n = e.length; n >= 4; ++a, n -= 4)
1029
1029
  r = e.charCodeAt(a) & 255 | (e.charCodeAt(++a) & 255) << 8 | (e.charCodeAt(++a) & 255) << 16 | (e.charCodeAt(++a) & 255) << 24, r = /* Math.imul(k, m): */
1030
1030
  (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */
@@ -1043,7 +1043,7 @@ function di(e) {
1043
1043
  return t ^= t >>> 13, t = /* Math.imul(h, m): */
1044
1044
  (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
1045
1045
  }
1046
- var pi = {
1046
+ var hi = {
1047
1047
  animationIterationCount: 1,
1048
1048
  borderImageOutset: 1,
1049
1049
  borderImageSlice: 1,
@@ -1090,21 +1090,21 @@ var pi = {
1090
1090
  strokeMiterlimit: 1,
1091
1091
  strokeOpacity: 1,
1092
1092
  strokeWidth: 1
1093
- }, Sr = `You have illegal escape sequence in your template literal, most likely inside content's property value.
1093
+ }, xr = `You have illegal escape sequence in your template literal, most likely inside content's property value.
1094
1094
  Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
1095
1095
  You can read more about this here:
1096
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`, hi = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).", gi = /[A-Z]|^ms/g, Mn = /_EMO_([^_]+?)_([^]*?)_EMO_/g, ar = function(t) {
1096
+ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`, gi = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).", mi = /[A-Z]|^ms/g, Bn = /_EMO_([^_]+?)_([^]*?)_EMO_/g, ir = function(t) {
1097
1097
  return t.charCodeAt(1) === 45;
1098
- }, xr = function(t) {
1098
+ }, Or = function(t) {
1099
1099
  return t != null && typeof t != "boolean";
1100
- }, St = /* @__PURE__ */ Tn(function(e) {
1101
- return ar(e) ? e : e.replace(gi, "-$&").toLowerCase();
1100
+ }, St = /* @__PURE__ */ $n(function(e) {
1101
+ return ir(e) ? e : e.replace(mi, "-$&").toLowerCase();
1102
1102
  }), et = function(t, r) {
1103
1103
  switch (t) {
1104
1104
  case "animation":
1105
1105
  case "animationName":
1106
1106
  if (typeof r == "string")
1107
- return r.replace(Mn, function(a, n, i) {
1107
+ return r.replace(Bn, function(a, n, i) {
1108
1108
  return K = {
1109
1109
  name: n,
1110
1110
  styles: i,
@@ -1112,26 +1112,26 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
1112
1112
  }, n;
1113
1113
  });
1114
1114
  }
1115
- return pi[t] !== 1 && !ar(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
1115
+ return hi[t] !== 1 && !ir(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
1116
1116
  };
1117
1117
  if (process.env.NODE_ENV !== "production") {
1118
- var mi = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/, vi = ["normal", "none", "initial", "inherit", "unset"], yi = et, bi = /^-ms-/, wi = /-(.)/g, Or = {};
1118
+ var vi = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/, yi = ["normal", "none", "initial", "inherit", "unset"], bi = et, wi = /^-ms-/, Si = /-(.)/g, Er = {};
1119
1119
  et = function(t, r) {
1120
- if (t === "content" && (typeof r != "string" || vi.indexOf(r) === -1 && !mi.test(r) && (r.charAt(0) !== r.charAt(r.length - 1) || r.charAt(0) !== '"' && r.charAt(0) !== "'")))
1120
+ if (t === "content" && (typeof r != "string" || yi.indexOf(r) === -1 && !vi.test(r) && (r.charAt(0) !== r.charAt(r.length - 1) || r.charAt(0) !== '"' && r.charAt(0) !== "'")))
1121
1121
  throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + r + "\"'`");
1122
- var a = yi(t, r);
1123
- return a !== "" && !ar(t) && t.indexOf("-") !== -1 && Or[t] === void 0 && (Or[t] = !0, console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + t.replace(bi, "ms-").replace(wi, function(n, i) {
1122
+ var a = bi(t, r);
1123
+ return a !== "" && !ir(t) && t.indexOf("-") !== -1 && Er[t] === void 0 && (Er[t] = !0, console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + t.replace(wi, "ms-").replace(Si, function(n, i) {
1124
1124
  return i.toUpperCase();
1125
1125
  }) + "?")), a;
1126
1126
  };
1127
1127
  }
1128
- var Bn = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
1128
+ var Vn = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
1129
1129
  function Fe(e, t, r) {
1130
1130
  if (r == null)
1131
1131
  return "";
1132
1132
  if (r.__emotion_styles !== void 0) {
1133
1133
  if (process.env.NODE_ENV !== "production" && r.toString() === "NO_COMPONENT_SELECTOR")
1134
- throw new Error(Bn);
1134
+ throw new Error(Vn);
1135
1135
  return r;
1136
1136
  }
1137
1137
  switch (typeof r) {
@@ -1156,7 +1156,7 @@ function Fe(e, t, r) {
1156
1156
  var n = r.styles + ";";
1157
1157
  return process.env.NODE_ENV !== "production" && r.map !== void 0 && (n += r.map), n;
1158
1158
  }
1159
- return Si(e, t, r);
1159
+ return xi(e, t, r);
1160
1160
  }
1161
1161
  case "function": {
1162
1162
  if (e !== void 0) {
@@ -1168,7 +1168,7 @@ function Fe(e, t, r) {
1168
1168
  }
1169
1169
  case "string":
1170
1170
  if (process.env.NODE_ENV !== "production") {
1171
- var s = [], u = r.replace(Mn, function(l, c, d) {
1171
+ var s = [], u = r.replace(Bn, function(l, c, d) {
1172
1172
  var p = "animation" + s.length;
1173
1173
  return s.push("const " + p + " = keyframes`" + d.replace(/^@keyframes animation-\w+/, "") + "`"), "${" + p + "}";
1174
1174
  });
@@ -1186,7 +1186,7 @@ You should wrap it with \`css\` like this:
1186
1186
  var f = t[r];
1187
1187
  return f !== void 0 ? f : r;
1188
1188
  }
1189
- function Si(e, t, r) {
1189
+ function xi(e, t, r) {
1190
1190
  var a = "";
1191
1191
  if (Array.isArray(r))
1192
1192
  for (var n = 0; n < r.length; n++)
@@ -1195,13 +1195,13 @@ function Si(e, t, r) {
1195
1195
  for (var i in r) {
1196
1196
  var o = r[i];
1197
1197
  if (typeof o != "object")
1198
- t != null && t[o] !== void 0 ? a += i + "{" + t[o] + "}" : xr(o) && (a += St(i) + ":" + et(i, o) + ";");
1198
+ t != null && t[o] !== void 0 ? a += i + "{" + t[o] + "}" : Or(o) && (a += St(i) + ":" + et(i, o) + ";");
1199
1199
  else {
1200
1200
  if (i === "NO_COMPONENT_SELECTOR" && process.env.NODE_ENV !== "production")
1201
- throw new Error(Bn);
1201
+ throw new Error(Vn);
1202
1202
  if (Array.isArray(o) && typeof o[0] == "string" && (t == null || t[o[0]] === void 0))
1203
1203
  for (var s = 0; s < o.length; s++)
1204
- xr(o[s]) && (a += St(i) + ":" + et(i, o[s]) + ";");
1204
+ Or(o[s]) && (a += St(i) + ":" + et(i, o[s]) + ";");
1205
1205
  else {
1206
1206
  var u = Fe(e, t, o);
1207
1207
  switch (i) {
@@ -1211,32 +1211,32 @@ function Si(e, t, r) {
1211
1211
  break;
1212
1212
  }
1213
1213
  default:
1214
- process.env.NODE_ENV !== "production" && i === "undefined" && console.error(hi), a += i + "{" + u + "}";
1214
+ process.env.NODE_ENV !== "production" && i === "undefined" && console.error(gi), a += i + "{" + u + "}";
1215
1215
  }
1216
1216
  }
1217
1217
  }
1218
1218
  }
1219
1219
  return a;
1220
1220
  }
1221
- var Er = /label:\s*([^\s;\n{]+)\s*(;|$)/g, Vn;
1222
- process.env.NODE_ENV !== "production" && (Vn = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);
1223
- var K, Pr = function(t, r, a) {
1221
+ var Pr = /label:\s*([^\s;\n{]+)\s*(;|$)/g, qn;
1222
+ process.env.NODE_ENV !== "production" && (qn = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);
1223
+ var K, Cr = function(t, r, a) {
1224
1224
  if (t.length === 1 && typeof t[0] == "object" && t[0] !== null && t[0].styles !== void 0)
1225
1225
  return t[0];
1226
1226
  var n = !0, i = "";
1227
1227
  K = void 0;
1228
1228
  var o = t[0];
1229
- o == null || o.raw === void 0 ? (n = !1, i += Fe(a, r, o)) : (process.env.NODE_ENV !== "production" && o[0] === void 0 && console.error(Sr), i += o[0]);
1229
+ o == null || o.raw === void 0 ? (n = !1, i += Fe(a, r, o)) : (process.env.NODE_ENV !== "production" && o[0] === void 0 && console.error(xr), i += o[0]);
1230
1230
  for (var s = 1; s < t.length; s++)
1231
- i += Fe(a, r, t[s]), n && (process.env.NODE_ENV !== "production" && o[s] === void 0 && console.error(Sr), i += o[s]);
1231
+ i += Fe(a, r, t[s]), n && (process.env.NODE_ENV !== "production" && o[s] === void 0 && console.error(xr), i += o[s]);
1232
1232
  var u;
1233
- process.env.NODE_ENV !== "production" && (i = i.replace(Vn, function(d) {
1233
+ process.env.NODE_ENV !== "production" && (i = i.replace(qn, function(d) {
1234
1234
  return u = d, "";
1235
- })), Er.lastIndex = 0;
1236
- for (var f = "", l; (l = Er.exec(i)) !== null; )
1235
+ })), Pr.lastIndex = 0;
1236
+ for (var f = "", l; (l = Pr.exec(i)) !== null; )
1237
1237
  f += "-" + // $FlowFixMe we know it's not null
1238
1238
  l[1];
1239
- var c = di(i) + f;
1239
+ var c = pi(i) + f;
1240
1240
  return process.env.NODE_ENV !== "production" ? {
1241
1241
  name: c,
1242
1242
  styles: i,
@@ -1250,50 +1250,50 @@ var K, Pr = function(t, r, a) {
1250
1250
  styles: i,
1251
1251
  next: K
1252
1252
  };
1253
- }, xi = function(t) {
1253
+ }, Oi = function(t) {
1254
1254
  return t();
1255
- }, Oi = Mt["useInsertionEffect"] ? Mt["useInsertionEffect"] : !1, Ei = Oi || xi, lt = {}.hasOwnProperty, ir = /* @__PURE__ */ Xt(
1255
+ }, Ei = Mt["useInsertionEffect"] ? Mt["useInsertionEffect"] : !1, Pi = Ei || Oi, lt = {}.hasOwnProperty, or = /* @__PURE__ */ Zt(
1256
1256
  // we're doing this to avoid preconstruct's dead code elimination in this one case
1257
1257
  // because this module is primarily intended for the browser and node
1258
1258
  // but it's also required in react native and similar environments sometimes
1259
1259
  // and we could have a special build just for that
1260
1260
  // but this is much easier and the native packages
1261
1261
  // might use a different theme context in the future anyway
1262
- typeof HTMLElement < "u" ? /* @__PURE__ */ In({
1262
+ typeof HTMLElement < "u" ? /* @__PURE__ */ Dn({
1263
1263
  key: "css"
1264
1264
  }) : null
1265
1265
  );
1266
- process.env.NODE_ENV !== "production" && (ir.displayName = "EmotionCacheContext");
1267
- ir.Provider;
1268
- var Pi = function(t) {
1269
- return /* @__PURE__ */ ga(function(r, a) {
1270
- var n = Zt(ir);
1266
+ process.env.NODE_ENV !== "production" && (or.displayName = "EmotionCacheContext");
1267
+ or.Provider;
1268
+ var Ci = function(t) {
1269
+ return /* @__PURE__ */ ma(function(r, a) {
1270
+ var n = Qt(or);
1271
1271
  return t(r, n, a);
1272
1272
  });
1273
- }, qn = /* @__PURE__ */ Xt({});
1274
- process.env.NODE_ENV !== "production" && (qn.displayName = "EmotionThemeContext");
1275
- var Cr = function(t) {
1273
+ }, zn = /* @__PURE__ */ Zt({});
1274
+ process.env.NODE_ENV !== "production" && (zn.displayName = "EmotionThemeContext");
1275
+ var Rr = function(t) {
1276
1276
  var r = t.split(".");
1277
1277
  return r[r.length - 1];
1278
- }, Ci = function(t) {
1278
+ }, Ri = function(t) {
1279
1279
  var r = /^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(t);
1280
1280
  if (r || (r = /^([A-Za-z0-9$.]+)@/.exec(t), r))
1281
- return Cr(r[1]);
1282
- }, Ri = /* @__PURE__ */ new Set(["renderWithHooks", "processChild", "finishClassComponent", "renderToString"]), ki = function(t) {
1281
+ return Rr(r[1]);
1282
+ }, ki = /* @__PURE__ */ new Set(["renderWithHooks", "processChild", "finishClassComponent", "renderToString"]), Ni = function(t) {
1283
1283
  return t.replace(/\$/g, "-");
1284
- }, Ni = function(t) {
1284
+ }, Li = function(t) {
1285
1285
  if (t)
1286
1286
  for (var r = t.split(`
1287
1287
  `), a = 0; a < r.length; a++) {
1288
- var n = Ci(r[a]);
1288
+ var n = Ri(r[a]);
1289
1289
  if (n) {
1290
- if (Ri.has(n))
1290
+ if (ki.has(n))
1291
1291
  break;
1292
1292
  if (/^[A-Z]/.test(n))
1293
- return ki(n);
1293
+ return Ni(n);
1294
1294
  }
1295
1295
  }
1296
- }, qt = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", zt = "__EMOTION_LABEL_PLEASE_DO_NOT_USE__", zn = function(t, r) {
1296
+ }, qt = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", zt = "__EMOTION_LABEL_PLEASE_DO_NOT_USE__", Hn = function(t, r) {
1297
1297
  if (process.env.NODE_ENV !== "production" && typeof r.css == "string" && // check if there is a css declaration
1298
1298
  r.css.indexOf(":") !== -1)
1299
1299
  throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`" + r.css + "`");
@@ -1301,46 +1301,46 @@ var Cr = function(t) {
1301
1301
  for (var n in r)
1302
1302
  lt.call(r, n) && (a[n] = r[n]);
1303
1303
  if (a[qt] = t, process.env.NODE_ENV !== "production" && r.css && (typeof r.css != "object" || typeof r.css.name != "string" || r.css.name.indexOf("-") === -1)) {
1304
- var i = Ni(new Error().stack);
1304
+ var i = Li(new Error().stack);
1305
1305
  i && (a[zt] = i);
1306
1306
  }
1307
1307
  return a;
1308
- }, Li = function(t) {
1308
+ }, _i = function(t) {
1309
1309
  var r = t.cache, a = t.serialized, n = t.isStringTag;
1310
- return Un(r, a, n), Ei(function() {
1311
- return li(r, a, n);
1310
+ return Mn(r, a, n), Pi(function() {
1311
+ return di(r, a, n);
1312
1312
  }), null;
1313
- }, or = /* @__PURE__ */ Pi(function(e, t, r) {
1313
+ }, sr = /* @__PURE__ */ Ci(function(e, t, r) {
1314
1314
  var a = e.css;
1315
1315
  typeof a == "string" && t.registered[a] !== void 0 && (a = t.registered[a]);
1316
1316
  var n = e[qt], i = [a], o = "";
1317
- typeof e.className == "string" ? o = fi(t.registered, i, e.className) : e.className != null && (o = e.className + " ");
1318
- var s = Pr(i, void 0, Zt(qn));
1317
+ typeof e.className == "string" ? o = li(t.registered, i, e.className) : e.className != null && (o = e.className + " ");
1318
+ var s = Cr(i, void 0, Qt(zn));
1319
1319
  if (process.env.NODE_ENV !== "production" && s.name.indexOf("-") === -1) {
1320
1320
  var u = e[zt];
1321
- u && (s = Pr([s, "label:" + u + ";"]));
1321
+ u && (s = Cr([s, "label:" + u + ";"]));
1322
1322
  }
1323
1323
  o += t.key + "-" + s.name;
1324
1324
  var f = {};
1325
1325
  for (var l in e)
1326
1326
  lt.call(e, l) && l !== "css" && l !== qt && (process.env.NODE_ENV === "production" || l !== zt) && (f[l] = e[l]);
1327
- return f.ref = r, f.className = o, /* @__PURE__ */ wt(ma, null, /* @__PURE__ */ wt(Li, {
1327
+ return f.ref = r, f.className = o, /* @__PURE__ */ wt(va, null, /* @__PURE__ */ wt(_i, {
1328
1328
  cache: t,
1329
1329
  serialized: s,
1330
1330
  isStringTag: typeof n == "string"
1331
1331
  }), /* @__PURE__ */ wt(n, f));
1332
1332
  });
1333
- process.env.NODE_ENV !== "production" && (or.displayName = "EmotionCssPropInternal");
1333
+ process.env.NODE_ENV !== "production" && (sr.displayName = "EmotionCssPropInternal");
1334
1334
  function V(e, t, r) {
1335
- return lt.call(t, "css") ? pr(or, zn(e, t), r) : pr(e, t, r);
1335
+ return lt.call(t, "css") ? hr(sr, Hn(e, t), r) : hr(e, t, r);
1336
1336
  }
1337
- function _i(e, t, r) {
1338
- return lt.call(t, "css") ? hr(or, zn(e, t), r) : hr(e, t, r);
1337
+ function Ai(e, t, r) {
1338
+ return lt.call(t, "css") ? gr(sr, Hn(e, t), r) : gr(e, t, r);
1339
1339
  }
1340
- var Hn = {};
1341
- Object.defineProperty(Hn, "__esModule", { value: !0 });
1342
- var Ai = Hn.default = function() {
1343
- }, Rr = (e, t, r) => new Promise((a, n) => {
1340
+ var Kn = {};
1341
+ Object.defineProperty(Kn, "__esModule", { value: !0 });
1342
+ var Ti = Kn.default = function() {
1343
+ }, kr = (e, t, r) => new Promise((a, n) => {
1344
1344
  var i = (u) => {
1345
1345
  try {
1346
1346
  s(r.next(u));
@@ -1356,15 +1356,15 @@ var Ai = Hn.default = function() {
1356
1356
  }, s = (u) => u.done ? a(u.value) : Promise.resolve(u.value).then(i, o);
1357
1357
  s((r = r.apply(e, t)).next());
1358
1358
  });
1359
- const Ti = ({ cdnURL: e = "/", scope: t, theme: r }) => {
1360
- const [a, n] = Qt();
1361
- return er(() => {
1362
- Rr(void 0, null, function* () {
1359
+ const $i = ({ cdnURL: e = "/", scope: t, theme: r }) => {
1360
+ const [a, n] = er();
1361
+ return tr(() => {
1362
+ kr(void 0, null, function* () {
1363
1363
  var i;
1364
1364
  try {
1365
1365
  const o = (i = r?.fontFaces) != null ? i : [];
1366
1366
  yield Promise.all(
1367
- o.map((s) => Rr(void 0, [s], function* ({ family: u, source: f, descriptors: l }) {
1367
+ o.map((s) => kr(void 0, [s], function* ({ family: u, source: f, descriptors: l }) {
1368
1368
  const c = f.map((d) => `url(${d.replace("$cdnUrl", e)})`).join(", ");
1369
1369
  try {
1370
1370
  const p = yield new FontFace(u, c, l).load();
@@ -1378,57 +1378,57 @@ const Ti = ({ cdnURL: e = "/", scope: t, theme: r }) => {
1378
1378
  it.error({ error: o }, "Error loading fonts");
1379
1379
  }
1380
1380
  });
1381
- }, [e, r]), ya({
1381
+ }, [e, r]), ba({
1382
1382
  [`.${t}`]: { fontFamily: a }
1383
1383
  });
1384
1384
  };
1385
- var Ht = {}, $i = {
1385
+ var Ht = {}, ji = {
1386
1386
  get exports() {
1387
1387
  return Ht;
1388
1388
  },
1389
1389
  set exports(e) {
1390
1390
  Ht = e;
1391
1391
  }
1392
- }, tt = {}, ji = {
1392
+ }, tt = {}, Ii = {
1393
1393
  get exports() {
1394
1394
  return tt;
1395
1395
  },
1396
1396
  set exports(e) {
1397
1397
  tt = e;
1398
1398
  }
1399
- }, Kn = function(t, r) {
1399
+ }, Jn = function(t, r) {
1400
1400
  return function() {
1401
1401
  for (var n = new Array(arguments.length), i = 0; i < n.length; i++)
1402
1402
  n[i] = arguments[i];
1403
1403
  return t.apply(r, n);
1404
1404
  };
1405
- }, Ii = Kn, le = Object.prototype.toString;
1406
- function sr(e) {
1405
+ }, Di = Jn, le = Object.prototype.toString;
1406
+ function ur(e) {
1407
1407
  return Array.isArray(e);
1408
1408
  }
1409
1409
  function Kt(e) {
1410
1410
  return typeof e > "u";
1411
1411
  }
1412
- function Di(e) {
1412
+ function Fi(e) {
1413
1413
  return e !== null && !Kt(e) && e.constructor !== null && !Kt(e.constructor) && typeof e.constructor.isBuffer == "function" && e.constructor.isBuffer(e);
1414
1414
  }
1415
- function Jn(e) {
1415
+ function Yn(e) {
1416
1416
  return le.call(e) === "[object ArrayBuffer]";
1417
1417
  }
1418
- function Fi(e) {
1418
+ function Ui(e) {
1419
1419
  return le.call(e) === "[object FormData]";
1420
1420
  }
1421
- function Ui(e) {
1421
+ function Mi(e) {
1422
1422
  var t;
1423
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Jn(e.buffer), t;
1423
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Yn(e.buffer), t;
1424
1424
  }
1425
- function Mi(e) {
1425
+ function Bi(e) {
1426
1426
  return typeof e == "string";
1427
1427
  }
1428
- function Bi(e) {
1428
+ function Vi(e) {
1429
1429
  return typeof e == "number";
1430
1430
  }
1431
- function Yn(e) {
1431
+ function Wn(e) {
1432
1432
  return e !== null && typeof e == "object";
1433
1433
  }
1434
1434
  function Ze(e) {
@@ -1437,33 +1437,33 @@ function Ze(e) {
1437
1437
  var t = Object.getPrototypeOf(e);
1438
1438
  return t === null || t === Object.prototype;
1439
1439
  }
1440
- function Vi(e) {
1440
+ function qi(e) {
1441
1441
  return le.call(e) === "[object Date]";
1442
1442
  }
1443
- function qi(e) {
1443
+ function zi(e) {
1444
1444
  return le.call(e) === "[object File]";
1445
1445
  }
1446
- function zi(e) {
1446
+ function Hi(e) {
1447
1447
  return le.call(e) === "[object Blob]";
1448
1448
  }
1449
- function Wn(e) {
1449
+ function Gn(e) {
1450
1450
  return le.call(e) === "[object Function]";
1451
1451
  }
1452
- function Hi(e) {
1453
- return Yn(e) && Wn(e.pipe);
1454
- }
1455
1452
  function Ki(e) {
1456
- return le.call(e) === "[object URLSearchParams]";
1453
+ return Wn(e) && Gn(e.pipe);
1457
1454
  }
1458
1455
  function Ji(e) {
1456
+ return le.call(e) === "[object URLSearchParams]";
1457
+ }
1458
+ function Yi(e) {
1459
1459
  return e.trim ? e.trim() : e.replace(/^\s+|\s+$/g, "");
1460
1460
  }
1461
- function Yi() {
1461
+ function Wi() {
1462
1462
  return typeof navigator < "u" && (navigator.product === "ReactNative" || navigator.product === "NativeScript" || navigator.product === "NS") ? !1 : typeof window < "u" && typeof document < "u";
1463
1463
  }
1464
- function ur(e, t) {
1464
+ function cr(e, t) {
1465
1465
  if (!(e === null || typeof e > "u"))
1466
- if (typeof e != "object" && (e = [e]), sr(e))
1466
+ if (typeof e != "object" && (e = [e]), ur(e))
1467
1467
  for (var r = 0, a = e.length; r < a; r++)
1468
1468
  t.call(null, e[r], r, e);
1469
1469
  else
@@ -1473,48 +1473,48 @@ function ur(e, t) {
1473
1473
  function Jt() {
1474
1474
  var e = {};
1475
1475
  function t(n, i) {
1476
- Ze(e[i]) && Ze(n) ? e[i] = Jt(e[i], n) : Ze(n) ? e[i] = Jt({}, n) : sr(n) ? e[i] = n.slice() : e[i] = n;
1476
+ Ze(e[i]) && Ze(n) ? e[i] = Jt(e[i], n) : Ze(n) ? e[i] = Jt({}, n) : ur(n) ? e[i] = n.slice() : e[i] = n;
1477
1477
  }
1478
1478
  for (var r = 0, a = arguments.length; r < a; r++)
1479
- ur(arguments[r], t);
1479
+ cr(arguments[r], t);
1480
1480
  return e;
1481
1481
  }
1482
- function Wi(e, t, r) {
1483
- return ur(t, function(n, i) {
1484
- r && typeof n == "function" ? e[i] = Ii(n, r) : e[i] = n;
1482
+ function Gi(e, t, r) {
1483
+ return cr(t, function(n, i) {
1484
+ r && typeof n == "function" ? e[i] = Di(n, r) : e[i] = n;
1485
1485
  }), e;
1486
1486
  }
1487
- function Gi(e) {
1487
+ function Xi(e) {
1488
1488
  return e.charCodeAt(0) === 65279 && (e = e.slice(1)), e;
1489
1489
  }
1490
1490
  var F = {
1491
- isArray: sr,
1492
- isArrayBuffer: Jn,
1493
- isBuffer: Di,
1494
- isFormData: Fi,
1495
- isArrayBufferView: Ui,
1496
- isString: Mi,
1497
- isNumber: Bi,
1498
- isObject: Yn,
1491
+ isArray: ur,
1492
+ isArrayBuffer: Yn,
1493
+ isBuffer: Fi,
1494
+ isFormData: Ui,
1495
+ isArrayBufferView: Mi,
1496
+ isString: Bi,
1497
+ isNumber: Vi,
1498
+ isObject: Wn,
1499
1499
  isPlainObject: Ze,
1500
1500
  isUndefined: Kt,
1501
- isDate: Vi,
1502
- isFile: qi,
1503
- isBlob: zi,
1504
- isFunction: Wn,
1505
- isStream: Hi,
1506
- isURLSearchParams: Ki,
1507
- isStandardBrowserEnv: Yi,
1508
- forEach: ur,
1501
+ isDate: qi,
1502
+ isFile: zi,
1503
+ isBlob: Hi,
1504
+ isFunction: Gn,
1505
+ isStream: Ki,
1506
+ isURLSearchParams: Ji,
1507
+ isStandardBrowserEnv: Wi,
1508
+ forEach: cr,
1509
1509
  merge: Jt,
1510
- extend: Wi,
1511
- trim: Ji,
1512
- stripBOM: Gi
1510
+ extend: Gi,
1511
+ trim: Yi,
1512
+ stripBOM: Xi
1513
1513
  }, Se = F;
1514
- function kr(e) {
1514
+ function Nr(e) {
1515
1515
  return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
1516
1516
  }
1517
- var Gn = function(t, r, a) {
1517
+ var Xn = function(t, r, a) {
1518
1518
  if (!r)
1519
1519
  return t;
1520
1520
  var n;
@@ -1526,7 +1526,7 @@ var Gn = function(t, r, a) {
1526
1526
  var i = [];
1527
1527
  Se.forEach(r, function(u, f) {
1528
1528
  u === null || typeof u > "u" || (Se.isArray(u) ? f = f + "[]" : u = [u], Se.forEach(u, function(c) {
1529
- Se.isDate(c) ? c = c.toISOString() : Se.isObject(c) && (c = JSON.stringify(c)), i.push(kr(f) + "=" + kr(c));
1529
+ Se.isDate(c) ? c = c.toISOString() : Se.isObject(c) && (c = JSON.stringify(c)), i.push(Nr(f) + "=" + Nr(c));
1530
1530
  }));
1531
1531
  }), n = i.join("&");
1532
1532
  }
@@ -1535,7 +1535,7 @@ var Gn = function(t, r, a) {
1535
1535
  o !== -1 && (t = t.slice(0, o)), t += (t.indexOf("?") === -1 ? "?" : "&") + n;
1536
1536
  }
1537
1537
  return t;
1538
- }, Xi = F;
1538
+ }, Zi = F;
1539
1539
  function dt() {
1540
1540
  this.handlers = [];
1541
1541
  }
@@ -1551,15 +1551,15 @@ dt.prototype.eject = function(t) {
1551
1551
  this.handlers[t] && (this.handlers[t] = null);
1552
1552
  };
1553
1553
  dt.prototype.forEach = function(t) {
1554
- Xi.forEach(this.handlers, function(a) {
1554
+ Zi.forEach(this.handlers, function(a) {
1555
1555
  a !== null && t(a);
1556
1556
  });
1557
1557
  };
1558
- var Zi = dt, Qi = F, eo = function(t, r) {
1559
- Qi.forEach(t, function(n, i) {
1558
+ var Qi = dt, eo = F, to = function(t, r) {
1559
+ eo.forEach(t, function(n, i) {
1560
1560
  i !== r && i.toUpperCase() === r.toUpperCase() && (t[r] = n, delete t[i]);
1561
1561
  });
1562
- }, Xn = function(t, r, a, n, i) {
1562
+ }, Zn = function(t, r, a, n, i) {
1563
1563
  return t.config = r, a && (t.code = a), t.request = n, t.response = i, t.isAxiosError = !0, t.toJSON = function() {
1564
1564
  return {
1565
1565
  // Standard
@@ -1579,27 +1579,27 @@ var Zi = dt, Qi = F, eo = function(t, r) {
1579
1579
  status: this.response && this.response.status ? this.response.status : null
1580
1580
  };
1581
1581
  }, t;
1582
- }, Zn = {
1582
+ }, Qn = {
1583
1583
  silentJSONParsing: !0,
1584
1584
  forcedJSONParsing: !0,
1585
1585
  clarifyTimeoutError: !1
1586
- }, xt, Nr;
1587
- function Qn() {
1588
- if (Nr)
1586
+ }, xt, Lr;
1587
+ function ea() {
1588
+ if (Lr)
1589
1589
  return xt;
1590
- Nr = 1;
1591
- var e = Xn;
1590
+ Lr = 1;
1591
+ var e = Zn;
1592
1592
  return xt = function(r, a, n, i, o) {
1593
1593
  var s = new Error(r);
1594
1594
  return e(s, a, n, i, o);
1595
1595
  }, xt;
1596
1596
  }
1597
- var Ot, Lr;
1598
- function to() {
1599
- if (Lr)
1597
+ var Ot, _r;
1598
+ function ro() {
1599
+ if (_r)
1600
1600
  return Ot;
1601
- Lr = 1;
1602
- var e = Qn();
1601
+ _r = 1;
1602
+ var e = ea();
1603
1603
  return Ot = function(r, a, n) {
1604
1604
  var i = n.config.validateStatus;
1605
1605
  !n.status || !i || i(n.status) ? r(n) : a(e(
@@ -1611,11 +1611,11 @@ function to() {
1611
1611
  ));
1612
1612
  }, Ot;
1613
1613
  }
1614
- var Et, _r;
1615
- function ro() {
1616
- if (_r)
1614
+ var Et, Ar;
1615
+ function no() {
1616
+ if (Ar)
1617
1617
  return Et;
1618
- _r = 1;
1618
+ Ar = 1;
1619
1619
  var e = F;
1620
1620
  return Et = e.isStandardBrowserEnv() ? (
1621
1621
  // Standard browser envs support document.cookie
@@ -1649,33 +1649,33 @@ function ro() {
1649
1649
  }()
1650
1650
  ), Et;
1651
1651
  }
1652
- var Pt, Ar;
1653
- function no() {
1654
- return Ar || (Ar = 1, Pt = function(t) {
1652
+ var Pt, Tr;
1653
+ function ao() {
1654
+ return Tr || (Tr = 1, Pt = function(t) {
1655
1655
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);
1656
1656
  }), Pt;
1657
1657
  }
1658
- var Ct, Tr;
1659
- function ao() {
1660
- return Tr || (Tr = 1, Ct = function(t, r) {
1658
+ var Ct, $r;
1659
+ function io() {
1660
+ return $r || ($r = 1, Ct = function(t, r) {
1661
1661
  return r ? t.replace(/\/+$/, "") + "/" + r.replace(/^\/+/, "") : t;
1662
1662
  }), Ct;
1663
1663
  }
1664
- var Rt, $r;
1665
- function io() {
1666
- if ($r)
1664
+ var Rt, jr;
1665
+ function oo() {
1666
+ if (jr)
1667
1667
  return Rt;
1668
- $r = 1;
1669
- var e = no(), t = ao();
1668
+ jr = 1;
1669
+ var e = ao(), t = io();
1670
1670
  return Rt = function(a, n) {
1671
1671
  return a && !e(n) ? t(a, n) : n;
1672
1672
  }, Rt;
1673
1673
  }
1674
- var kt, jr;
1675
- function oo() {
1676
- if (jr)
1674
+ var kt, Ir;
1675
+ function so() {
1676
+ if (Ir)
1677
1677
  return kt;
1678
- jr = 1;
1678
+ Ir = 1;
1679
1679
  var e = F, t = [
1680
1680
  "age",
1681
1681
  "authorization",
@@ -1707,11 +1707,11 @@ function oo() {
1707
1707
  }), n;
1708
1708
  }, kt;
1709
1709
  }
1710
- var Nt, Ir;
1711
- function so() {
1712
- if (Ir)
1710
+ var Nt, Dr;
1711
+ function uo() {
1712
+ if (Dr)
1713
1713
  return Nt;
1714
- Ir = 1;
1714
+ Dr = 1;
1715
1715
  var e = F;
1716
1716
  return Nt = e.isStandardBrowserEnv() ? (
1717
1717
  // Standard browser envs have full support of the APIs needed to test
@@ -1745,11 +1745,11 @@ function so() {
1745
1745
  }()
1746
1746
  ), Nt;
1747
1747
  }
1748
- var Lt, Dr;
1748
+ var Lt, Fr;
1749
1749
  function pt() {
1750
- if (Dr)
1750
+ if (Fr)
1751
1751
  return Lt;
1752
- Dr = 1;
1752
+ Fr = 1;
1753
1753
  function e(t) {
1754
1754
  this.message = t;
1755
1755
  }
@@ -1757,12 +1757,12 @@ function pt() {
1757
1757
  return "Cancel" + (this.message ? ": " + this.message : "");
1758
1758
  }, e.prototype.__CANCEL__ = !0, Lt = e, Lt;
1759
1759
  }
1760
- var _t, Fr;
1761
- function Ur() {
1762
- if (Fr)
1760
+ var _t, Ur;
1761
+ function Mr() {
1762
+ if (Ur)
1763
1763
  return _t;
1764
- Fr = 1;
1765
- var e = F, t = to(), r = ro(), a = Gn, n = io(), i = oo(), o = so(), s = Qn(), u = Zn, f = pt();
1764
+ Ur = 1;
1765
+ var e = F, t = ro(), r = no(), a = Xn, n = oo(), i = so(), o = uo(), s = ea(), u = Qn, f = pt();
1766
1766
  return _t = function(c) {
1767
1767
  return new Promise(function(p, y) {
1768
1768
  var b = c.data, w = c.headers, h = c.responseType, g;
@@ -1820,17 +1820,17 @@ function Ur() {
1820
1820
  });
1821
1821
  }, _t;
1822
1822
  }
1823
- var T = F, Mr = eo, uo = Xn, co = Zn, fo = {
1823
+ var T = F, Br = to, co = Zn, fo = Qn, lo = {
1824
1824
  "Content-Type": "application/x-www-form-urlencoded"
1825
1825
  };
1826
- function Br(e, t) {
1826
+ function Vr(e, t) {
1827
1827
  !T.isUndefined(e) && T.isUndefined(e["Content-Type"]) && (e["Content-Type"] = t);
1828
1828
  }
1829
- function lo() {
1829
+ function po() {
1830
1830
  var e;
1831
- return (typeof XMLHttpRequest < "u" || typeof process < "u" && Object.prototype.toString.call(process) === "[object process]") && (e = Ur()), e;
1831
+ return (typeof XMLHttpRequest < "u" || typeof process < "u" && Object.prototype.toString.call(process) === "[object process]") && (e = Mr()), e;
1832
1832
  }
1833
- function po(e, t, r) {
1833
+ function ho(e, t, r) {
1834
1834
  if (T.isString(e))
1835
1835
  try {
1836
1836
  return (t || JSON.parse)(e), T.trim(e);
@@ -1841,10 +1841,10 @@ function po(e, t, r) {
1841
1841
  return (r || JSON.stringify)(e);
1842
1842
  }
1843
1843
  var ht = {
1844
- transitional: co,
1845
- adapter: lo(),
1844
+ transitional: fo,
1845
+ adapter: po(),
1846
1846
  transformRequest: [function(t, r) {
1847
- return Mr(r, "Accept"), Mr(r, "Content-Type"), T.isFormData(t) || T.isArrayBuffer(t) || T.isBuffer(t) || T.isStream(t) || T.isFile(t) || T.isBlob(t) ? t : T.isArrayBufferView(t) ? t.buffer : T.isURLSearchParams(t) ? (Br(r, "application/x-www-form-urlencoded;charset=utf-8"), t.toString()) : T.isObject(t) || r && r["Content-Type"] === "application/json" ? (Br(r, "application/json"), po(t)) : t;
1847
+ return Br(r, "Accept"), Br(r, "Content-Type"), T.isFormData(t) || T.isArrayBuffer(t) || T.isBuffer(t) || T.isStream(t) || T.isFile(t) || T.isBlob(t) ? t : T.isArrayBufferView(t) ? t.buffer : T.isURLSearchParams(t) ? (Vr(r, "application/x-www-form-urlencoded;charset=utf-8"), t.toString()) : T.isObject(t) || r && r["Content-Type"] === "application/json" ? (Vr(r, "application/json"), ho(t)) : t;
1848
1848
  }],
1849
1849
  transformResponse: [function(t) {
1850
1850
  var r = this.transitional || ht.transitional, a = r && r.silentJSONParsing, n = r && r.forcedJSONParsing, i = !a && this.responseType === "json";
@@ -1853,7 +1853,7 @@ var ht = {
1853
1853
  return JSON.parse(t);
1854
1854
  } catch (o) {
1855
1855
  if (i)
1856
- throw o.name === "SyntaxError" ? uo(o, this, "E_JSON_PARSE") : o;
1856
+ throw o.name === "SyntaxError" ? co(o, this, "E_JSON_PARSE") : o;
1857
1857
  }
1858
1858
  return t;
1859
1859
  }],
@@ -1879,41 +1879,41 @@ T.forEach(["delete", "get", "head"], function(t) {
1879
1879
  ht.headers[t] = {};
1880
1880
  });
1881
1881
  T.forEach(["post", "put", "patch"], function(t) {
1882
- ht.headers[t] = T.merge(fo);
1882
+ ht.headers[t] = T.merge(lo);
1883
1883
  });
1884
- var cr = ht, ho = F, go = cr, mo = function(t, r, a) {
1885
- var n = this || go;
1886
- return ho.forEach(a, function(o) {
1884
+ var fr = ht, go = F, mo = fr, vo = function(t, r, a) {
1885
+ var n = this || mo;
1886
+ return go.forEach(a, function(o) {
1887
1887
  t = o.call(n, t, r);
1888
1888
  }), t;
1889
- }, At, Vr;
1890
- function ea() {
1891
- return Vr || (Vr = 1, At = function(t) {
1889
+ }, At, qr;
1890
+ function ta() {
1891
+ return qr || (qr = 1, At = function(t) {
1892
1892
  return !!(t && t.__CANCEL__);
1893
1893
  }), At;
1894
1894
  }
1895
- var qr = F, Tt = mo, vo = ea(), yo = cr, bo = pt();
1895
+ var zr = F, Tt = vo, yo = ta(), bo = fr, wo = pt();
1896
1896
  function $t(e) {
1897
1897
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
1898
- throw new bo("canceled");
1898
+ throw new wo("canceled");
1899
1899
  }
1900
- var wo = function(t) {
1900
+ var So = function(t) {
1901
1901
  $t(t), t.headers = t.headers || {}, t.data = Tt.call(
1902
1902
  t,
1903
1903
  t.data,
1904
1904
  t.headers,
1905
1905
  t.transformRequest
1906
- ), t.headers = qr.merge(
1906
+ ), t.headers = zr.merge(
1907
1907
  t.headers.common || {},
1908
1908
  t.headers[t.method] || {},
1909
1909
  t.headers
1910
- ), qr.forEach(
1910
+ ), zr.forEach(
1911
1911
  ["delete", "get", "head", "post", "put", "patch", "common"],
1912
1912
  function(n) {
1913
1913
  delete t.headers[n];
1914
1914
  }
1915
1915
  );
1916
- var r = t.adapter || yo.adapter;
1916
+ var r = t.adapter || bo.adapter;
1917
1917
  return r(t).then(function(n) {
1918
1918
  return $t(t), n.data = Tt.call(
1919
1919
  t,
@@ -1922,14 +1922,14 @@ var wo = function(t) {
1922
1922
  t.transformResponse
1923
1923
  ), n;
1924
1924
  }, function(n) {
1925
- return vo(n) || ($t(t), n && n.response && (n.response.data = Tt.call(
1925
+ return yo(n) || ($t(t), n && n.response && (n.response.data = Tt.call(
1926
1926
  t,
1927
1927
  n.response.data,
1928
1928
  n.response.headers,
1929
1929
  t.transformResponse
1930
1930
  ))), Promise.reject(n);
1931
1931
  });
1932
- }, U = F, ta = function(t, r) {
1932
+ }, U = F, ra = function(t, r) {
1933
1933
  r = r || {};
1934
1934
  var a = {};
1935
1935
  function n(l, c) {
@@ -1991,27 +1991,27 @@ var wo = function(t) {
1991
1991
  var d = f[c] || i, p = d(c);
1992
1992
  U.isUndefined(p) && d !== u || (a[c] = p);
1993
1993
  }), a;
1994
- }, jt, zr;
1995
- function ra() {
1996
- return zr || (zr = 1, jt = {
1994
+ }, jt, Hr;
1995
+ function na() {
1996
+ return Hr || (Hr = 1, jt = {
1997
1997
  version: "0.26.1"
1998
1998
  }), jt;
1999
1999
  }
2000
- var So = ra().version, fr = {};
2000
+ var xo = na().version, lr = {};
2001
2001
  ["object", "boolean", "number", "function", "string", "symbol"].forEach(function(e, t) {
2002
- fr[e] = function(a) {
2002
+ lr[e] = function(a) {
2003
2003
  return typeof a === e || "a" + (t < 1 ? "n " : " ") + e;
2004
2004
  };
2005
2005
  });
2006
- var Hr = {};
2007
- fr.transitional = function(t, r, a) {
2006
+ var Kr = {};
2007
+ lr.transitional = function(t, r, a) {
2008
2008
  function n(i, o) {
2009
- return "[Axios v" + So + "] Transitional option '" + i + "'" + o + (a ? ". " + a : "");
2009
+ return "[Axios v" + xo + "] Transitional option '" + i + "'" + o + (a ? ". " + a : "");
2010
2010
  }
2011
2011
  return function(i, o, s) {
2012
2012
  if (t === !1)
2013
2013
  throw new Error(n(o, " has been removed" + (r ? " in " + r : "")));
2014
- return r && !Hr[o] && (Hr[o] = !0, console.warn(
2014
+ return r && !Kr[o] && (Kr[o] = !0, console.warn(
2015
2015
  n(
2016
2016
  o,
2017
2017
  " has been deprecated since v" + r + " and will be removed in the near future"
@@ -2019,7 +2019,7 @@ fr.transitional = function(t, r, a) {
2019
2019
  )), t ? t(i, o, s) : !0;
2020
2020
  };
2021
2021
  };
2022
- function xo(e, t, r) {
2022
+ function Oo(e, t, r) {
2023
2023
  if (typeof e != "object")
2024
2024
  throw new TypeError("options must be an object");
2025
2025
  for (var a = Object.keys(e), n = a.length; n-- > 0; ) {
@@ -2034,20 +2034,20 @@ function xo(e, t, r) {
2034
2034
  throw Error("Unknown option " + i);
2035
2035
  }
2036
2036
  }
2037
- var Oo = {
2038
- assertOptions: xo,
2039
- validators: fr
2040
- }, na = F, Eo = Gn, Kr = Zi, Jr = wo, gt = ta, aa = Oo, xe = aa.validators;
2037
+ var Eo = {
2038
+ assertOptions: Oo,
2039
+ validators: lr
2040
+ }, aa = F, Po = Xn, Jr = Qi, Yr = So, gt = ra, ia = Eo, xe = ia.validators;
2041
2041
  function Me(e) {
2042
2042
  this.defaults = e, this.interceptors = {
2043
- request: new Kr(),
2044
- response: new Kr()
2043
+ request: new Jr(),
2044
+ response: new Jr()
2045
2045
  };
2046
2046
  }
2047
2047
  Me.prototype.request = function(t, r) {
2048
2048
  typeof t == "string" ? (r = r || {}, r.url = t) : r = t || {}, r = gt(this.defaults, r), r.method ? r.method = r.method.toLowerCase() : this.defaults.method ? r.method = this.defaults.method.toLowerCase() : r.method = "get";
2049
2049
  var a = r.transitional;
2050
- a !== void 0 && aa.assertOptions(a, {
2050
+ a !== void 0 && ia.assertOptions(a, {
2051
2051
  silentJSONParsing: xe.transitional(xe.boolean),
2052
2052
  forcedJSONParsing: xe.transitional(xe.boolean),
2053
2053
  clarifyTimeoutError: xe.transitional(xe.boolean)
@@ -2062,7 +2062,7 @@ Me.prototype.request = function(t, r) {
2062
2062
  });
2063
2063
  var s;
2064
2064
  if (!i) {
2065
- var u = [Jr, void 0];
2065
+ var u = [Yr, void 0];
2066
2066
  for (Array.prototype.unshift.apply(u, n), u = u.concat(o), s = Promise.resolve(r); u.length; )
2067
2067
  s = s.then(u.shift(), u.shift());
2068
2068
  return s;
@@ -2077,7 +2077,7 @@ Me.prototype.request = function(t, r) {
2077
2077
  }
2078
2078
  }
2079
2079
  try {
2080
- s = Jr(f);
2080
+ s = Yr(f);
2081
2081
  } catch (d) {
2082
2082
  return Promise.reject(d);
2083
2083
  }
@@ -2086,9 +2086,9 @@ Me.prototype.request = function(t, r) {
2086
2086
  return s;
2087
2087
  };
2088
2088
  Me.prototype.getUri = function(t) {
2089
- return t = gt(this.defaults, t), Eo(t.url, t.params, t.paramsSerializer).replace(/^\?/, "");
2089
+ return t = gt(this.defaults, t), Po(t.url, t.params, t.paramsSerializer).replace(/^\?/, "");
2090
2090
  };
2091
- na.forEach(["delete", "get", "head", "options"], function(t) {
2091
+ aa.forEach(["delete", "get", "head", "options"], function(t) {
2092
2092
  Me.prototype[t] = function(r, a) {
2093
2093
  return this.request(gt(a || {}, {
2094
2094
  method: t,
@@ -2097,7 +2097,7 @@ na.forEach(["delete", "get", "head", "options"], function(t) {
2097
2097
  }));
2098
2098
  };
2099
2099
  });
2100
- na.forEach(["post", "put", "patch"], function(t) {
2100
+ aa.forEach(["post", "put", "patch"], function(t) {
2101
2101
  Me.prototype[t] = function(r, a, n) {
2102
2102
  return this.request(gt(n || {}, {
2103
2103
  method: t,
@@ -2106,11 +2106,11 @@ na.forEach(["post", "put", "patch"], function(t) {
2106
2106
  }));
2107
2107
  };
2108
2108
  });
2109
- var Po = Me, It, Yr;
2110
- function Co() {
2111
- if (Yr)
2109
+ var Co = Me, It, Wr;
2110
+ function Ro() {
2111
+ if (Wr)
2112
2112
  return It;
2113
- Yr = 1;
2113
+ Wr = 1;
2114
2114
  var e = pt();
2115
2115
  function t(r) {
2116
2116
  if (typeof r != "function")
@@ -2162,49 +2162,49 @@ function Co() {
2162
2162
  };
2163
2163
  }, It = t, It;
2164
2164
  }
2165
- var Dt, Wr;
2166
- function Ro() {
2167
- return Wr || (Wr = 1, Dt = function(t) {
2165
+ var Dt, Gr;
2166
+ function ko() {
2167
+ return Gr || (Gr = 1, Dt = function(t) {
2168
2168
  return function(a) {
2169
2169
  return t.apply(null, a);
2170
2170
  };
2171
2171
  }), Dt;
2172
2172
  }
2173
- var Ft, Gr;
2174
- function ko() {
2175
- if (Gr)
2173
+ var Ft, Xr;
2174
+ function No() {
2175
+ if (Xr)
2176
2176
  return Ft;
2177
- Gr = 1;
2177
+ Xr = 1;
2178
2178
  var e = F;
2179
2179
  return Ft = function(r) {
2180
2180
  return e.isObject(r) && r.isAxiosError === !0;
2181
2181
  }, Ft;
2182
2182
  }
2183
- var Xr = F, No = Kn, Qe = Po, Lo = ta, _o = cr;
2184
- function ia(e) {
2185
- var t = new Qe(e), r = No(Qe.prototype.request, t);
2186
- return Xr.extend(r, Qe.prototype, t), Xr.extend(r, t), r.create = function(n) {
2187
- return ia(Lo(e, n));
2183
+ var Zr = F, Lo = Jn, Qe = Co, _o = ra, Ao = fr;
2184
+ function oa(e) {
2185
+ var t = new Qe(e), r = Lo(Qe.prototype.request, t);
2186
+ return Zr.extend(r, Qe.prototype, t), Zr.extend(r, t), r.create = function(n) {
2187
+ return oa(_o(e, n));
2188
2188
  }, r;
2189
2189
  }
2190
- var ne = ia(_o);
2190
+ var ne = oa(Ao);
2191
2191
  ne.Axios = Qe;
2192
2192
  ne.Cancel = pt();
2193
- ne.CancelToken = Co();
2194
- ne.isCancel = ea();
2195
- ne.VERSION = ra().version;
2193
+ ne.CancelToken = Ro();
2194
+ ne.isCancel = ta();
2195
+ ne.VERSION = na().version;
2196
2196
  ne.all = function(t) {
2197
2197
  return Promise.all(t);
2198
2198
  };
2199
- ne.spread = Ro();
2200
- ne.isAxiosError = ko();
2201
- ji.exports = ne;
2199
+ ne.spread = ko();
2200
+ ne.isAxiosError = No();
2201
+ Ii.exports = ne;
2202
2202
  tt.default = ne;
2203
2203
  (function(e) {
2204
2204
  e.exports = tt;
2205
- })($i);
2206
- const Yt = /* @__PURE__ */ ni(Ht);
2207
- var Zr = (e, t, r) => new Promise((a, n) => {
2205
+ })(ji);
2206
+ const Yt = /* @__PURE__ */ ai(Ht);
2207
+ var Qr = (e, t, r) => new Promise((a, n) => {
2208
2208
  var i = (u) => {
2209
2209
  try {
2210
2210
  s(r.next(u));
@@ -2220,10 +2220,10 @@ var Zr = (e, t, r) => new Promise((a, n) => {
2220
2220
  }, s = (u) => u.done ? a(u.value) : Promise.resolve(u.value).then(i, o);
2221
2221
  s((r = r.apply(e, t)).next());
2222
2222
  });
2223
- const Ao = ({ brandName: e, cdnURL: t = "/" }) => {
2224
- const [r, a] = Qt();
2225
- return er(() => {
2226
- Zr(void 0, null, function* () {
2223
+ const To = ({ brandName: e, cdnURL: t = "/" }) => {
2224
+ const [r, a] = er();
2225
+ return tr(() => {
2226
+ Qr(void 0, null, function* () {
2227
2227
  try {
2228
2228
  const n = yield Yt.get("/brand/iconIndex.json", { baseURL: t });
2229
2229
  a(n.data);
@@ -2231,9 +2231,9 @@ const Ao = ({ brandName: e, cdnURL: t = "/" }) => {
2231
2231
  it.error({ error: n }, `Error loading icon index for brand ${e}`);
2232
2232
  }
2233
2233
  });
2234
- }, [e, t]), (n) => Zr(void 0, null, function* () {
2234
+ }, [e, t]), (n) => Qr(void 0, null, function* () {
2235
2235
  if (r) {
2236
- const i = (r[n.toLowerCase()] || []).includes(e) ? e : Pn.FALLBACK;
2236
+ const i = (r[n.toLowerCase()] || []).includes(e) ? e : Cn.FALLBACK;
2237
2237
  return (yield Yt.get(`/brand/${i}/icons/${n.toLowerCase()}.svg`, {
2238
2238
  baseURL: t,
2239
2239
  responseType: "text"
@@ -2241,7 +2241,7 @@ const Ao = ({ brandName: e, cdnURL: t = "/" }) => {
2241
2241
  }
2242
2242
  });
2243
2243
  };
2244
- var To = (e, t, r) => new Promise((a, n) => {
2244
+ var $o = (e, t, r) => new Promise((a, n) => {
2245
2245
  var i = (u) => {
2246
2246
  try {
2247
2247
  s(r.next(u));
@@ -2257,45 +2257,89 @@ var To = (e, t, r) => new Promise((a, n) => {
2257
2257
  }, s = (u) => u.done ? a(u.value) : Promise.resolve(u.value).then(i, o);
2258
2258
  s((r = r.apply(e, t)).next());
2259
2259
  });
2260
- const $o = ({ cdnURL: e = "/", brandName: t }) => {
2261
- const [r, a] = Qt();
2262
- return er(() => {
2263
- To(void 0, null, function* () {
2260
+ const jo = ({ cdnURL: e = "/", brandName: t }) => {
2261
+ const [r, a] = er();
2262
+ return tr(() => {
2263
+ $o(void 0, null, function* () {
2264
2264
  try {
2265
- const n = yield Yt.get(`/brand/${t}/theme.json`, { baseURL: e }), i = new xa(n.data);
2265
+ const n = yield Yt.get(`/brand/${t}/theme.json`, { baseURL: e }), i = new Oa(n.data);
2266
2266
  a(i);
2267
2267
  } catch (n) {
2268
2268
  it.error({ error: n }, `Error loading theme for brand ${t}`);
2269
2269
  }
2270
2270
  });
2271
2271
  }, [t, e]), r;
2272
- }, oa = Xt(void 0), zs = ({
2272
+ }, sa = Zt(void 0), Js = ({
2273
2273
  baseURL: e = "https://api.shipengine.com",
2274
- brandName: t = Pn.FALLBACK,
2274
+ brandName: t = Cn.FALLBACK,
2275
2275
  cdnURL: r = "/",
2276
2276
  children: a,
2277
2277
  getToken: n,
2278
2278
  onError: i,
2279
2279
  scope: o = "lmnt"
2280
2280
  }) => {
2281
- const s = $o({ brandName: t, cdnURL: r }), u = Ti({ cdnURL: r, scope: o, theme: s }), f = Ao({ brandName: t, cdnURL: r });
2282
- return s ? (i = i ?? Ai, /* @__PURE__ */ V(
2283
- oa.Provider,
2281
+ const s = jo({ brandName: t, cdnURL: r }), u = $i({ cdnURL: r, scope: o, theme: s }), f = To({ brandName: t, cdnURL: r });
2282
+ return s ? (i = i ?? Ti, /* @__PURE__ */ V(
2283
+ sa.Provider,
2284
2284
  {
2285
2285
  value: { baseURL: e, brandName: t, cdnURL: r, getToken: n, onError: i, scope: o, theme: s },
2286
- children: /* @__PURE__ */ _i(wa, { theme: s, children: [
2287
- /* @__PURE__ */ V(ba, { styles: [Oa(o), u] }),
2288
- /* @__PURE__ */ V(Ea, { resolveIcon: f, children: /* @__PURE__ */ V(Pa, { baseURL: e, getToken: n, children: a }) })
2286
+ children: /* @__PURE__ */ Ai(Sa, { theme: s, children: [
2287
+ /* @__PURE__ */ V(wa, { styles: [Ea(o), u] }),
2288
+ /* @__PURE__ */ V(Pa, { resolveIcon: f, children: /* @__PURE__ */ V(Ca, { baseURL: e, getToken: n, children: a }) })
2289
2289
  ] })
2290
2290
  }
2291
2291
  )) : null;
2292
- }, jo = () => {
2293
- const e = Zt(oa);
2292
+ }, Io = () => {
2293
+ const e = Qt(sa);
2294
2294
  if (!e)
2295
2295
  throw new Error("useAlchemy must be called from within the scope of <Alchemy />");
2296
2296
  return e;
2297
2297
  };
2298
- class Io extends Mt.Component {
2298
+ var Wt = {}, Do = {
2299
+ get exports() {
2300
+ return Wt;
2301
+ },
2302
+ set exports(e) {
2303
+ Wt = e;
2304
+ }
2305
+ };
2306
+ /*!
2307
+ Copyright (c) 2018 Jed Watson.
2308
+ Licensed under the MIT License (MIT), see
2309
+ http://jedwatson.github.io/classnames
2310
+ */
2311
+ (function(e) {
2312
+ (function() {
2313
+ var t = {}.hasOwnProperty;
2314
+ function r() {
2315
+ for (var a = [], n = 0; n < arguments.length; n++) {
2316
+ var i = arguments[n];
2317
+ if (i) {
2318
+ var o = typeof i;
2319
+ if (o === "string" || o === "number")
2320
+ a.push(i);
2321
+ else if (Array.isArray(i)) {
2322
+ if (i.length) {
2323
+ var s = r.apply(null, i);
2324
+ s && a.push(s);
2325
+ }
2326
+ } else if (o === "object") {
2327
+ if (i.toString !== Object.prototype.toString && !i.toString.toString().includes("[native code]")) {
2328
+ a.push(i.toString());
2329
+ continue;
2330
+ }
2331
+ for (var u in i)
2332
+ t.call(i, u) && i[u] && a.push(u);
2333
+ }
2334
+ }
2335
+ }
2336
+ return a.join(" ");
2337
+ }
2338
+ e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
2339
+ })();
2340
+ })(Do);
2341
+ const Fo = Wt;
2342
+ class Uo extends Mt.Component {
2299
2343
  constructor(t) {
2300
2344
  super(t), this.state = {
2301
2345
  error: void 0
@@ -2320,7 +2364,7 @@ function Y(e, t) {
2320
2364
  if (!(e instanceof t))
2321
2365
  throw new TypeError("Cannot call a class as a function");
2322
2366
  }
2323
- function Do(e, t) {
2367
+ function Mo(e, t) {
2324
2368
  if (J(e) !== "object" || e === null)
2325
2369
  return e;
2326
2370
  var r = e[Symbol.toPrimitive];
@@ -2332,18 +2376,18 @@ function Do(e, t) {
2332
2376
  }
2333
2377
  return (t === "string" ? String : Number)(e);
2334
2378
  }
2335
- function sa(e) {
2336
- var t = Do(e, "string");
2379
+ function ua(e) {
2380
+ var t = Mo(e, "string");
2337
2381
  return J(t) === "symbol" ? t : String(t);
2338
2382
  }
2339
- function Qr(e, t) {
2383
+ function en(e, t) {
2340
2384
  for (var r = 0; r < t.length; r++) {
2341
2385
  var a = t[r];
2342
- a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, sa(a.key), a);
2386
+ a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, ua(a.key), a);
2343
2387
  }
2344
2388
  }
2345
2389
  function W(e, t, r) {
2346
- return t && Qr(e.prototype, t), r && Qr(e, r), Object.defineProperty(e, "prototype", {
2390
+ return t && en(e.prototype, t), r && en(e, r), Object.defineProperty(e, "prototype", {
2347
2391
  writable: !1
2348
2392
  }), e;
2349
2393
  }
@@ -2352,10 +2396,10 @@ function ce(e) {
2352
2396
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2353
2397
  return e;
2354
2398
  }
2355
- function Wt(e, t) {
2356
- return Wt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(a, n) {
2399
+ function Gt(e, t) {
2400
+ return Gt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(a, n) {
2357
2401
  return a.__proto__ = n, a;
2358
- }, Wt(e, t);
2402
+ }, Gt(e, t);
2359
2403
  }
2360
2404
  function mt(e, t) {
2361
2405
  if (typeof t != "function" && t !== null)
@@ -2368,7 +2412,7 @@ function mt(e, t) {
2368
2412
  }
2369
2413
  }), Object.defineProperty(e, "prototype", {
2370
2414
  writable: !1
2371
- }), t && Wt(e, t);
2415
+ }), t && Gt(e, t);
2372
2416
  }
2373
2417
  function Be(e, t) {
2374
2418
  if (t && (J(t) === "object" || typeof t == "function"))
@@ -2383,46 +2427,46 @@ function re(e) {
2383
2427
  }, re(e);
2384
2428
  }
2385
2429
  function de(e, t, r) {
2386
- return t = sa(t), t in e ? Object.defineProperty(e, t, {
2430
+ return t = ua(t), t in e ? Object.defineProperty(e, t, {
2387
2431
  value: r,
2388
2432
  enumerable: !0,
2389
2433
  configurable: !0,
2390
2434
  writable: !0
2391
2435
  }) : e[t] = r, e;
2392
2436
  }
2393
- function Fo(e) {
2437
+ function Bo(e) {
2394
2438
  if (Array.isArray(e))
2395
2439
  return e;
2396
2440
  }
2397
- function Uo(e) {
2441
+ function Vo(e) {
2398
2442
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null)
2399
2443
  return Array.from(e);
2400
2444
  }
2401
- function en(e, t) {
2445
+ function tn(e, t) {
2402
2446
  (t == null || t > e.length) && (t = e.length);
2403
2447
  for (var r = 0, a = new Array(t); r < t; r++)
2404
2448
  a[r] = e[r];
2405
2449
  return a;
2406
2450
  }
2407
- function Mo(e, t) {
2451
+ function qo(e, t) {
2408
2452
  if (e) {
2409
2453
  if (typeof e == "string")
2410
- return en(e, t);
2454
+ return tn(e, t);
2411
2455
  var r = Object.prototype.toString.call(e).slice(8, -1);
2412
2456
  if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set")
2413
2457
  return Array.from(e);
2414
2458
  if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))
2415
- return en(e, t);
2459
+ return tn(e, t);
2416
2460
  }
2417
2461
  }
2418
- function Bo() {
2462
+ function zo() {
2419
2463
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2420
2464
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2421
2465
  }
2422
- function Vo(e) {
2423
- return Fo(e) || Uo(e) || Mo(e) || Bo();
2466
+ function Ho(e) {
2467
+ return Bo(e) || Vo(e) || qo(e) || zo();
2424
2468
  }
2425
- function tn(e, t) {
2469
+ function rn(e, t) {
2426
2470
  var r = Object.keys(e);
2427
2471
  if (Object.getOwnPropertySymbols) {
2428
2472
  var a = Object.getOwnPropertySymbols(e);
@@ -2432,18 +2476,18 @@ function tn(e, t) {
2432
2476
  }
2433
2477
  return r;
2434
2478
  }
2435
- function rn(e) {
2479
+ function nn(e) {
2436
2480
  for (var t = 1; t < arguments.length; t++) {
2437
2481
  var r = arguments[t] != null ? arguments[t] : {};
2438
- t % 2 ? tn(Object(r), !0).forEach(function(a) {
2482
+ t % 2 ? rn(Object(r), !0).forEach(function(a) {
2439
2483
  de(e, a, r[a]);
2440
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : tn(Object(r)).forEach(function(a) {
2484
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : rn(Object(r)).forEach(function(a) {
2441
2485
  Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(r, a));
2442
2486
  });
2443
2487
  }
2444
2488
  return e;
2445
2489
  }
2446
- var qo = {
2490
+ var Ko = {
2447
2491
  type: "logger",
2448
2492
  log: function(t) {
2449
2493
  this.output("log", t);
@@ -2457,7 +2501,7 @@ var qo = {
2457
2501
  output: function(t, r) {
2458
2502
  console && console[t] && console[t].apply(console, r);
2459
2503
  }
2460
- }, zo = function() {
2504
+ }, Jo = function() {
2461
2505
  function e(t) {
2462
2506
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2463
2507
  Y(this, e), this.init(t, r);
@@ -2466,7 +2510,7 @@ var qo = {
2466
2510
  key: "init",
2467
2511
  value: function(r) {
2468
2512
  var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2469
- this.prefix = a.prefix || "i18next:", this.logger = r || qo, this.options = a, this.debug = a.debug;
2513
+ this.prefix = a.prefix || "i18next:", this.logger = r || Ko, this.options = a, this.debug = a.debug;
2470
2514
  }
2471
2515
  }, {
2472
2516
  key: "setDebug",
@@ -2509,7 +2553,7 @@ var qo = {
2509
2553
  }, {
2510
2554
  key: "create",
2511
2555
  value: function(r) {
2512
- return new e(this.logger, rn(rn({}, {
2556
+ return new e(this.logger, nn(nn({}, {
2513
2557
  prefix: "".concat(this.prefix, ":").concat(r, ":")
2514
2558
  }), this.options));
2515
2559
  }
@@ -2519,7 +2563,7 @@ var qo = {
2519
2563
  return r = r || this.options, r.prefix = r.prefix || this.prefix, new e(this.logger, r);
2520
2564
  }
2521
2565
  }]), e;
2522
- }(), ee = new zo(), fe = function() {
2566
+ }(), ee = new Jo(), fe = function() {
2523
2567
  function e() {
2524
2568
  Y(this, e), this.observers = {};
2525
2569
  }
@@ -2570,15 +2614,15 @@ function $e() {
2570
2614
  });
2571
2615
  return r.resolve = e, r.reject = t, r;
2572
2616
  }
2573
- function nn(e) {
2617
+ function an(e) {
2574
2618
  return e == null ? "" : "" + e;
2575
2619
  }
2576
- function Ho(e, t, r) {
2620
+ function Yo(e, t, r) {
2577
2621
  e.forEach(function(a) {
2578
2622
  t[a] && (r[a] = t[a]);
2579
2623
  });
2580
2624
  }
2581
- function lr(e, t, r) {
2625
+ function dr(e, t, r) {
2582
2626
  function a(s) {
2583
2627
  return s && s.indexOf("###") > -1 ? s.replace(/###/g, ".") : s;
2584
2628
  }
@@ -2596,32 +2640,32 @@ function lr(e, t, r) {
2596
2640
  k: a(i.shift())
2597
2641
  };
2598
2642
  }
2599
- function an(e, t, r) {
2600
- var a = lr(e, t, Object), n = a.obj, i = a.k;
2643
+ function on(e, t, r) {
2644
+ var a = dr(e, t, Object), n = a.obj, i = a.k;
2601
2645
  n[i] = r;
2602
2646
  }
2603
- function Ko(e, t, r, a) {
2604
- var n = lr(e, t, Object), i = n.obj, o = n.k;
2647
+ function Wo(e, t, r, a) {
2648
+ var n = dr(e, t, Object), i = n.obj, o = n.k;
2605
2649
  i[o] = i[o] || [], a && (i[o] = i[o].concat(r)), a || i[o].push(r);
2606
2650
  }
2607
2651
  function rt(e, t) {
2608
- var r = lr(e, t), a = r.obj, n = r.k;
2652
+ var r = dr(e, t), a = r.obj, n = r.k;
2609
2653
  if (a)
2610
2654
  return a[n];
2611
2655
  }
2612
- function on(e, t, r) {
2656
+ function sn(e, t, r) {
2613
2657
  var a = rt(e, r);
2614
2658
  return a !== void 0 ? a : rt(t, r);
2615
2659
  }
2616
- function ua(e, t, r) {
2660
+ function ca(e, t, r) {
2617
2661
  for (var a in t)
2618
- a !== "__proto__" && a !== "constructor" && (a in e ? typeof e[a] == "string" || e[a] instanceof String || typeof t[a] == "string" || t[a] instanceof String ? r && (e[a] = t[a]) : ua(e[a], t[a], r) : e[a] = t[a]);
2662
+ a !== "__proto__" && a !== "constructor" && (a in e ? typeof e[a] == "string" || e[a] instanceof String || typeof t[a] == "string" || t[a] instanceof String ? r && (e[a] = t[a]) : ca(e[a], t[a], r) : e[a] = t[a]);
2619
2663
  return e;
2620
2664
  }
2621
2665
  function Oe(e) {
2622
2666
  return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
2623
2667
  }
2624
- var Jo = {
2668
+ var Go = {
2625
2669
  "&": "&amp;",
2626
2670
  "<": "&lt;",
2627
2671
  ">": "&gt;",
@@ -2629,15 +2673,15 @@ var Jo = {
2629
2673
  "'": "&#39;",
2630
2674
  "/": "&#x2F;"
2631
2675
  };
2632
- function Yo(e) {
2676
+ function Xo(e) {
2633
2677
  return typeof e == "string" ? e.replace(/[&<>"'\/]/g, function(t) {
2634
- return Jo[t];
2678
+ return Go[t];
2635
2679
  }) : e;
2636
2680
  }
2637
- var vt = typeof window < "u" && window.navigator && typeof window.navigator.userAgentData > "u" && window.navigator.userAgent && window.navigator.userAgent.indexOf("MSIE") > -1, Wo = [" ", ",", "?", "!", ";"];
2638
- function Go(e, t, r) {
2681
+ var vt = typeof window < "u" && window.navigator && typeof window.navigator.userAgentData > "u" && window.navigator.userAgent && window.navigator.userAgent.indexOf("MSIE") > -1, Zo = [" ", ",", "?", "!", ";"];
2682
+ function Qo(e, t, r) {
2639
2683
  t = t || "", r = r || "";
2640
- var a = Wo.filter(function(s) {
2684
+ var a = Zo.filter(function(s) {
2641
2685
  return t.indexOf(s) < 0 && r.indexOf(s) < 0;
2642
2686
  });
2643
2687
  if (a.length === 0)
@@ -2651,7 +2695,7 @@ function Go(e, t, r) {
2651
2695
  }
2652
2696
  return i;
2653
2697
  }
2654
- function sn(e, t) {
2698
+ function un(e, t) {
2655
2699
  var r = Object.keys(e);
2656
2700
  if (Object.getOwnPropertySymbols) {
2657
2701
  var a = Object.getOwnPropertySymbols(e);
@@ -2664,16 +2708,16 @@ function sn(e, t) {
2664
2708
  function Je(e) {
2665
2709
  for (var t = 1; t < arguments.length; t++) {
2666
2710
  var r = arguments[t] != null ? arguments[t] : {};
2667
- t % 2 ? sn(Object(r), !0).forEach(function(a) {
2711
+ t % 2 ? un(Object(r), !0).forEach(function(a) {
2668
2712
  de(e, a, r[a]);
2669
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : sn(Object(r)).forEach(function(a) {
2713
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : un(Object(r)).forEach(function(a) {
2670
2714
  Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(r, a));
2671
2715
  });
2672
2716
  }
2673
2717
  return e;
2674
2718
  }
2675
- function Xo(e) {
2676
- var t = Zo();
2719
+ function es(e) {
2720
+ var t = ts();
2677
2721
  return function() {
2678
2722
  var a = re(e), n;
2679
2723
  if (t) {
@@ -2684,7 +2728,7 @@ function Xo(e) {
2684
2728
  return Be(this, n);
2685
2729
  };
2686
2730
  }
2687
- function Zo() {
2731
+ function ts() {
2688
2732
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
2689
2733
  return !1;
2690
2734
  if (typeof Proxy == "function")
@@ -2696,7 +2740,7 @@ function Zo() {
2696
2740
  return !1;
2697
2741
  }
2698
2742
  }
2699
- function ca(e, t) {
2743
+ function fa(e, t) {
2700
2744
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ".";
2701
2745
  if (e) {
2702
2746
  if (e[t])
@@ -2718,16 +2762,16 @@ function ca(e, t) {
2718
2762
  return u[s];
2719
2763
  }
2720
2764
  var f = a.slice(i + o).join(r);
2721
- return f ? ca(u, f, r) : void 0;
2765
+ return f ? fa(u, f, r) : void 0;
2722
2766
  }
2723
2767
  n = n[a[i]];
2724
2768
  }
2725
2769
  return n;
2726
2770
  }
2727
2771
  }
2728
- var Qo = function(e) {
2772
+ var rs = function(e) {
2729
2773
  mt(r, e);
2730
- var t = Xo(r);
2774
+ var t = es(r);
2731
2775
  function r(a) {
2732
2776
  var n, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
2733
2777
  ns: ["translation"],
@@ -2752,7 +2796,7 @@ var Qo = function(e) {
2752
2796
  var s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, u = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator, f = s.ignoreJSONStructure !== void 0 ? s.ignoreJSONStructure : this.options.ignoreJSONStructure, l = [n, i];
2753
2797
  o && typeof o != "string" && (l = l.concat(o)), o && typeof o == "string" && (l = l.concat(u ? o.split(u) : o)), n.indexOf(".") > -1 && (l = n.split("."));
2754
2798
  var c = rt(this.data, l);
2755
- return c || !f || typeof o != "string" ? c : ca(this.data && this.data[n] && this.data[n][i], o, u);
2799
+ return c || !f || typeof o != "string" ? c : fa(this.data && this.data[n] && this.data[n][i], o, u);
2756
2800
  }
2757
2801
  }, {
2758
2802
  key: "addResource",
@@ -2762,7 +2806,7 @@ var Qo = function(e) {
2762
2806
  }, f = this.options.keySeparator;
2763
2807
  f === void 0 && (f = ".");
2764
2808
  var l = [n, i];
2765
- o && (l = l.concat(f ? o.split(f) : o)), n.indexOf(".") > -1 && (l = n.split("."), s = i, i = l[1]), this.addNamespaces(i), an(this.data, l, s), u.silent || this.emit("added", n, i, o, s);
2809
+ o && (l = l.concat(f ? o.split(f) : o)), n.indexOf(".") > -1 && (l = n.split("."), s = i, i = l[1]), this.addNamespaces(i), on(this.data, l, s), u.silent || this.emit("added", n, i, o, s);
2766
2810
  }
2767
2811
  }, {
2768
2812
  key: "addResources",
@@ -2784,7 +2828,7 @@ var Qo = function(e) {
2784
2828
  }, l = [n, i];
2785
2829
  n.indexOf(".") > -1 && (l = n.split("."), s = o, o = i, i = l[1]), this.addNamespaces(i);
2786
2830
  var c = rt(this.data, l) || {};
2787
- s ? ua(c, o, u) : c = Je(Je({}, c), o), an(this.data, l, c), f.silent || this.emit("added", n, i, o);
2831
+ s ? ca(c, o, u) : c = Je(Je({}, c), o), on(this.data, l, c), f.silent || this.emit("added", n, i, o);
2788
2832
  }
2789
2833
  }, {
2790
2834
  key: "removeResourceBundle",
@@ -2820,7 +2864,7 @@ var Qo = function(e) {
2820
2864
  return this.data;
2821
2865
  }
2822
2866
  }]), r;
2823
- }(fe), fa = {
2867
+ }(fe), la = {
2824
2868
  processors: {},
2825
2869
  addPostProcessor: function(t) {
2826
2870
  this.processors[t.name] = t;
@@ -2832,7 +2876,7 @@ var Qo = function(e) {
2832
2876
  }), r;
2833
2877
  }
2834
2878
  };
2835
- function un(e, t) {
2879
+ function cn(e, t) {
2836
2880
  var r = Object.keys(e);
2837
2881
  if (Object.getOwnPropertySymbols) {
2838
2882
  var a = Object.getOwnPropertySymbols(e);
@@ -2845,16 +2889,16 @@ function un(e, t) {
2845
2889
  function j(e) {
2846
2890
  for (var t = 1; t < arguments.length; t++) {
2847
2891
  var r = arguments[t] != null ? arguments[t] : {};
2848
- t % 2 ? un(Object(r), !0).forEach(function(a) {
2892
+ t % 2 ? cn(Object(r), !0).forEach(function(a) {
2849
2893
  de(e, a, r[a]);
2850
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : un(Object(r)).forEach(function(a) {
2894
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : cn(Object(r)).forEach(function(a) {
2851
2895
  Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(r, a));
2852
2896
  });
2853
2897
  }
2854
2898
  return e;
2855
2899
  }
2856
- function es(e) {
2857
- var t = ts();
2900
+ function ns(e) {
2901
+ var t = as();
2858
2902
  return function() {
2859
2903
  var a = re(e), n;
2860
2904
  if (t) {
@@ -2865,7 +2909,7 @@ function es(e) {
2865
2909
  return Be(this, n);
2866
2910
  };
2867
2911
  }
2868
- function ts() {
2912
+ function as() {
2869
2913
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
2870
2914
  return !1;
2871
2915
  if (typeof Proxy == "function")
@@ -2877,12 +2921,12 @@ function ts() {
2877
2921
  return !1;
2878
2922
  }
2879
2923
  }
2880
- var cn = {}, fn = function(e) {
2924
+ var fn = {}, ln = function(e) {
2881
2925
  mt(r, e);
2882
- var t = es(r);
2926
+ var t = ns(r);
2883
2927
  function r(a) {
2884
2928
  var n, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2885
- return Y(this, r), n = t.call(this), vt && fe.call(ce(n)), Ho(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], a, ce(n)), n.options = i, n.options.keySeparator === void 0 && (n.options.keySeparator = "."), n.logger = ee.create("translator"), n;
2929
+ return Y(this, r), n = t.call(this), vt && fe.call(ce(n)), Yo(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], a, ce(n)), n.options = i, n.options.keySeparator === void 0 && (n.options.keySeparator = "."), n.logger = ee.create("translator"), n;
2886
2930
  }
2887
2931
  return W(r, [{
2888
2932
  key: "changeLanguage",
@@ -2905,7 +2949,7 @@ var cn = {}, fn = function(e) {
2905
2949
  value: function(n, i) {
2906
2950
  var o = i.nsSeparator !== void 0 ? i.nsSeparator : this.options.nsSeparator;
2907
2951
  o === void 0 && (o = ":");
2908
- var s = i.keySeparator !== void 0 ? i.keySeparator : this.options.keySeparator, u = i.ns || this.options.defaultNS || [], f = o && n.indexOf(o) > -1, l = !this.options.userDefinedKeySeparator && !i.keySeparator && !this.options.userDefinedNsSeparator && !i.nsSeparator && !Go(n, o, s);
2952
+ var s = i.keySeparator !== void 0 ? i.keySeparator : this.options.keySeparator, u = i.ns || this.options.defaultNS || [], f = o && n.indexOf(o) > -1, l = !this.options.userDefinedKeySeparator && !i.keySeparator && !this.options.userDefinedNsSeparator && !i.nsSeparator && !Qo(n, o, s);
2909
2953
  if (f && !l) {
2910
2954
  var c = n.match(this.interpolator.nestingRegexp);
2911
2955
  if (c && c.length > 0)
@@ -3031,7 +3075,7 @@ var cn = {}, fn = function(e) {
3031
3075
  }, o)), o.interpolation && this.interpolator.reset();
3032
3076
  }
3033
3077
  var w = o.postProcess || this.options.postProcess, h = typeof w == "string" ? [w] : w;
3034
- return n != null && h && h.length && o.applyPostProcessor !== !1 && (n = fa.handle(h, n, i, this.options && this.options.postProcessPassResolved ? j({
3078
+ return n != null && h && h.length && o.applyPostProcessor !== !1 && (n = la.handle(h, n, i, this.options && this.options.postProcessPassResolved ? j({
3035
3079
  i18nResolved: s
3036
3080
  }, o) : o, this)), n;
3037
3081
  }
@@ -3047,7 +3091,7 @@ var cn = {}, fn = function(e) {
3047
3091
  i.options.fallbackNS && (b = b.concat(i.options.fallbackNS));
3048
3092
  var w = o.count !== void 0 && typeof o.count != "string", h = w && !o.ordinal && o.count === 0 && i.pluralResolver.shouldUseIntlApi(), g = o.context !== void 0 && (typeof o.context == "string" || typeof o.context == "number") && o.context !== "", O = o.lngs ? o.lngs : i.languageUtils.toResolveHierarchy(o.lng || i.language, o.fallbackLng);
3049
3093
  b.forEach(function(m) {
3050
- i.isValidLookup(s) || (c = m, !cn["".concat(O[0], "-").concat(m)] && i.utils && i.utils.hasLoadedNamespace && !i.utils.hasLoadedNamespace(c) && (cn["".concat(O[0], "-").concat(m)] = !0, i.logger.warn('key "'.concat(u, '" for languages "').concat(O.join(", "), `" won't get resolved as namespace "`).concat(c, '" was not yet loaded'), "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), O.forEach(function(v) {
3094
+ i.isValidLookup(s) || (c = m, !fn["".concat(O[0], "-").concat(m)] && i.utils && i.utils.hasLoadedNamespace && !i.utils.hasLoadedNamespace(c) && (fn["".concat(O[0], "-").concat(m)] = !0, i.logger.warn('key "'.concat(u, '" for languages "').concat(O.join(", "), `" won't get resolved as namespace "`).concat(c, '" was not yet loaded'), "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), O.forEach(function(v) {
3051
3095
  if (!i.isValidLookup(s)) {
3052
3096
  l = v;
3053
3097
  var N = [y];
@@ -3101,7 +3145,7 @@ var cn = {}, fn = function(e) {
3101
3145
  function Ut(e) {
3102
3146
  return e.charAt(0).toUpperCase() + e.slice(1);
3103
3147
  }
3104
- var ln = function() {
3148
+ var dn = function() {
3105
3149
  function e(t) {
3106
3150
  Y(this, e), this.options = t, this.supportedLngs = this.options.supportedLngs || !1, this.logger = ee.create("languageUtils");
3107
3151
  }
@@ -3184,7 +3228,7 @@ var ln = function() {
3184
3228
  }), o;
3185
3229
  }
3186
3230
  }]), e;
3187
- }(), rs = [{
3231
+ }(), is = [{
3188
3232
  lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
3189
3233
  nr: [1, 2],
3190
3234
  fc: 1
@@ -3276,7 +3320,7 @@ var ln = function() {
3276
3320
  lngs: ["he", "iw"],
3277
3321
  nr: [1, 2, 20, 21],
3278
3322
  fc: 22
3279
- }], ns = {
3323
+ }], os = {
3280
3324
  1: function(t) {
3281
3325
  return Number(t > 1);
3282
3326
  },
@@ -3343,7 +3387,7 @@ var ln = function() {
3343
3387
  22: function(t) {
3344
3388
  return Number(t == 1 ? 0 : t == 2 ? 1 : (t < 0 || t > 10) && t % 10 == 0 ? 2 : 3);
3345
3389
  }
3346
- }, as = ["v1", "v2", "v3"], dn = {
3390
+ }, ss = ["v1", "v2", "v3"], pn = {
3347
3391
  zero: 0,
3348
3392
  one: 1,
3349
3393
  two: 2,
@@ -3351,21 +3395,21 @@ var ln = function() {
3351
3395
  many: 4,
3352
3396
  other: 5
3353
3397
  };
3354
- function is() {
3398
+ function us() {
3355
3399
  var e = {};
3356
- return rs.forEach(function(t) {
3400
+ return is.forEach(function(t) {
3357
3401
  t.lngs.forEach(function(r) {
3358
3402
  e[r] = {
3359
3403
  numbers: t.nr,
3360
- plurals: ns[t.fc]
3404
+ plurals: os[t.fc]
3361
3405
  };
3362
3406
  });
3363
3407
  }), e;
3364
3408
  }
3365
- var os = function() {
3409
+ var cs = function() {
3366
3410
  function e(t) {
3367
3411
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
3368
- Y(this, e), this.languageUtils = t, this.options = r, this.logger = ee.create("pluralResolver"), (!this.options.compatibilityJSON || this.options.compatibilityJSON === "v4") && (typeof Intl > "u" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules = is();
3412
+ Y(this, e), this.languageUtils = t, this.options = r, this.logger = ee.create("pluralResolver"), (!this.options.compatibilityJSON || this.options.compatibilityJSON === "v4") && (typeof Intl > "u" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules = us();
3369
3413
  }
3370
3414
  return W(e, [{
3371
3415
  key: "addRule",
@@ -3405,7 +3449,7 @@ var os = function() {
3405
3449
  value: function(r) {
3406
3450
  var a = this, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = this.getRule(r, n);
3407
3451
  return i ? this.shouldUseIntlApi() ? i.resolvedOptions().pluralCategories.sort(function(o, s) {
3408
- return dn[o] - dn[s];
3452
+ return pn[o] - pn[s];
3409
3453
  }).map(function(o) {
3410
3454
  return "".concat(a.options.prepend).concat(o);
3411
3455
  }) : i.numbers.map(function(o) {
@@ -3431,11 +3475,11 @@ var os = function() {
3431
3475
  }, {
3432
3476
  key: "shouldUseIntlApi",
3433
3477
  value: function() {
3434
- return !as.includes(this.options.compatibilityJSON);
3478
+ return !ss.includes(this.options.compatibilityJSON);
3435
3479
  }
3436
3480
  }]), e;
3437
3481
  }();
3438
- function pn(e, t) {
3482
+ function hn(e, t) {
3439
3483
  var r = Object.keys(e);
3440
3484
  if (Object.getOwnPropertySymbols) {
3441
3485
  var a = Object.getOwnPropertySymbols(e);
@@ -3448,15 +3492,15 @@ function pn(e, t) {
3448
3492
  function z(e) {
3449
3493
  for (var t = 1; t < arguments.length; t++) {
3450
3494
  var r = arguments[t] != null ? arguments[t] : {};
3451
- t % 2 ? pn(Object(r), !0).forEach(function(a) {
3495
+ t % 2 ? hn(Object(r), !0).forEach(function(a) {
3452
3496
  de(e, a, r[a]);
3453
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : pn(Object(r)).forEach(function(a) {
3497
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : hn(Object(r)).forEach(function(a) {
3454
3498
  Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(r, a));
3455
3499
  });
3456
3500
  }
3457
3501
  return e;
3458
3502
  }
3459
- var ss = function() {
3503
+ var fs = function() {
3460
3504
  function e() {
3461
3505
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
3462
3506
  Y(this, e), this.logger = ee.create("interpolator"), this.options = t, this.format = t.interpolation && t.interpolation.format || function(r) {
@@ -3471,7 +3515,7 @@ var ss = function() {
3471
3515
  escapeValue: !0
3472
3516
  });
3473
3517
  var a = r.interpolation;
3474
- this.escape = a.escape !== void 0 ? a.escape : Yo, this.escapeValue = a.escapeValue !== void 0 ? a.escapeValue : !0, this.useRawValueToEscape = a.useRawValueToEscape !== void 0 ? a.useRawValueToEscape : !1, this.prefix = a.prefix ? Oe(a.prefix) : a.prefixEscaped || "{{", this.suffix = a.suffix ? Oe(a.suffix) : a.suffixEscaped || "}}", this.formatSeparator = a.formatSeparator ? a.formatSeparator : a.formatSeparator || ",", this.unescapePrefix = a.unescapeSuffix ? "" : a.unescapePrefix || "-", this.unescapeSuffix = this.unescapePrefix ? "" : a.unescapeSuffix || "", this.nestingPrefix = a.nestingPrefix ? Oe(a.nestingPrefix) : a.nestingPrefixEscaped || Oe("$t("), this.nestingSuffix = a.nestingSuffix ? Oe(a.nestingSuffix) : a.nestingSuffixEscaped || Oe(")"), this.nestingOptionsSeparator = a.nestingOptionsSeparator ? a.nestingOptionsSeparator : a.nestingOptionsSeparator || ",", this.maxReplaces = a.maxReplaces ? a.maxReplaces : 1e3, this.alwaysFormat = a.alwaysFormat !== void 0 ? a.alwaysFormat : !1, this.resetRegExp();
3518
+ this.escape = a.escape !== void 0 ? a.escape : Xo, this.escapeValue = a.escapeValue !== void 0 ? a.escapeValue : !0, this.useRawValueToEscape = a.useRawValueToEscape !== void 0 ? a.useRawValueToEscape : !1, this.prefix = a.prefix ? Oe(a.prefix) : a.prefixEscaped || "{{", this.suffix = a.suffix ? Oe(a.suffix) : a.suffixEscaped || "}}", this.formatSeparator = a.formatSeparator ? a.formatSeparator : a.formatSeparator || ",", this.unescapePrefix = a.unescapeSuffix ? "" : a.unescapePrefix || "-", this.unescapeSuffix = this.unescapePrefix ? "" : a.unescapeSuffix || "", this.nestingPrefix = a.nestingPrefix ? Oe(a.nestingPrefix) : a.nestingPrefixEscaped || Oe("$t("), this.nestingSuffix = a.nestingSuffix ? Oe(a.nestingSuffix) : a.nestingSuffixEscaped || Oe(")"), this.nestingOptionsSeparator = a.nestingOptionsSeparator ? a.nestingOptionsSeparator : a.nestingOptionsSeparator || ",", this.maxReplaces = a.maxReplaces ? a.maxReplaces : 1e3, this.alwaysFormat = a.alwaysFormat !== void 0 ? a.alwaysFormat : !1, this.resetRegExp();
3475
3519
  }
3476
3520
  }, {
3477
3521
  key: "reset",
@@ -3497,13 +3541,13 @@ var ss = function() {
3497
3541
  }
3498
3542
  var d = function(h) {
3499
3543
  if (h.indexOf(o.formatSeparator) < 0) {
3500
- var g = on(a, l, h);
3544
+ var g = sn(a, l, h);
3501
3545
  return o.alwaysFormat ? o.format(g, void 0, n, z(z(z({}, i), a), {}, {
3502
3546
  interpolationkey: h
3503
3547
  })) : g;
3504
3548
  }
3505
3549
  var O = h.split(o.formatSeparator), m = O.shift().trim(), v = O.join(o.formatSeparator).trim();
3506
- return o.format(on(a, l, m), v, n, z(z(z({}, i), a), {}, {
3550
+ return o.format(sn(a, l, m), v, n, z(z(z({}, i), a), {}, {
3507
3551
  interpolationkey: m
3508
3552
  }));
3509
3553
  };
@@ -3534,7 +3578,7 @@ var ss = function() {
3534
3578
  } else
3535
3579
  o.logger.warn("missed to pass in variable ".concat(h, " for interpolating ").concat(r)), u = "";
3536
3580
  else
3537
- typeof u != "string" && !o.useRawValueToEscape && (u = nn(u));
3581
+ typeof u != "string" && !o.useRawValueToEscape && (u = an(u));
3538
3582
  var O = w.safeValue(u);
3539
3583
  if (r = r.replace(s[0], O), y ? (w.regex.lastIndex += u.length, w.regex.lastIndex -= s[0].length) : w.regex.lastIndex = 0, f++, f >= o.maxReplaces)
3540
3584
  break;
@@ -3572,7 +3616,7 @@ var ss = function() {
3572
3616
  }
3573
3617
  if (s = a(f.call(this, o[1].trim(), u), u), s && o[0] === r && typeof s != "string")
3574
3618
  return s;
3575
- typeof s != "string" && (s = nn(s)), s || (this.logger.warn("missed to resolve ".concat(o[1], " for nesting ").concat(r)), s = ""), c && (s = l.reduce(function(p, y) {
3619
+ typeof s != "string" && (s = an(s)), s || (this.logger.warn("missed to resolve ".concat(o[1], " for nesting ").concat(r)), s = ""), c && (s = l.reduce(function(p, y) {
3576
3620
  return n.format(p, y, i.lng, z(z({}, i), {}, {
3577
3621
  interpolationkey: o[1].trim()
3578
3622
  }));
@@ -3582,7 +3626,7 @@ var ss = function() {
3582
3626
  }
3583
3627
  }]), e;
3584
3628
  }();
3585
- function hn(e, t) {
3629
+ function gn(e, t) {
3586
3630
  var r = Object.keys(e);
3587
3631
  if (Object.getOwnPropertySymbols) {
3588
3632
  var a = Object.getOwnPropertySymbols(e);
@@ -3595,15 +3639,15 @@ function hn(e, t) {
3595
3639
  function ae(e) {
3596
3640
  for (var t = 1; t < arguments.length; t++) {
3597
3641
  var r = arguments[t] != null ? arguments[t] : {};
3598
- t % 2 ? hn(Object(r), !0).forEach(function(a) {
3642
+ t % 2 ? gn(Object(r), !0).forEach(function(a) {
3599
3643
  de(e, a, r[a]);
3600
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : hn(Object(r)).forEach(function(a) {
3644
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : gn(Object(r)).forEach(function(a) {
3601
3645
  Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(r, a));
3602
3646
  });
3603
3647
  }
3604
3648
  return e;
3605
3649
  }
3606
- function us(e) {
3650
+ function ls(e) {
3607
3651
  var t = e.toLowerCase().trim(), r = {};
3608
3652
  if (e.indexOf("(") > -1) {
3609
3653
  var a = e.split("(");
@@ -3617,7 +3661,7 @@ function us(e) {
3617
3661
  var i = n.split(";");
3618
3662
  i.forEach(function(o) {
3619
3663
  if (o) {
3620
- var s = o.split(":"), u = Vo(s), f = u[0], l = u.slice(1), c = l.join(":").trim().replace(/^'+|'+$/g, "");
3664
+ var s = o.split(":"), u = Ho(s), f = u[0], l = u.slice(1), c = l.join(":").trim().replace(/^'+|'+$/g, "");
3621
3665
  r[f.trim()] || (r[f.trim()] = c), c === "false" && (r[f.trim()] = !1), c === "true" && (r[f.trim()] = !0), isNaN(c) || (r[f.trim()] = parseInt(c, 10));
3622
3666
  }
3623
3667
  });
@@ -3635,7 +3679,7 @@ function Ee(e) {
3635
3679
  return s || (s = e(n, i), t[o] = s), s(a);
3636
3680
  };
3637
3681
  }
3638
- var cs = function() {
3682
+ var ds = function() {
3639
3683
  function e() {
3640
3684
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
3641
3685
  Y(this, e), this.logger = ee.create("formatter"), this.options = t, this.formats = {
@@ -3695,7 +3739,7 @@ var cs = function() {
3695
3739
  key: "format",
3696
3740
  value: function(r, a, n) {
3697
3741
  var i = this, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, s = a.split(this.formatSeparator), u = s.reduce(function(f, l) {
3698
- var c = us(l), d = c.formatName, p = c.formatOptions;
3742
+ var c = ls(l), d = c.formatName, p = c.formatOptions;
3699
3743
  if (i.formats[d]) {
3700
3744
  var y = f;
3701
3745
  try {
@@ -3713,7 +3757,7 @@ var cs = function() {
3713
3757
  }
3714
3758
  }]), e;
3715
3759
  }();
3716
- function gn(e, t) {
3760
+ function mn(e, t) {
3717
3761
  var r = Object.keys(e);
3718
3762
  if (Object.getOwnPropertySymbols) {
3719
3763
  var a = Object.getOwnPropertySymbols(e);
@@ -3723,19 +3767,19 @@ function gn(e, t) {
3723
3767
  }
3724
3768
  return r;
3725
3769
  }
3726
- function mn(e) {
3770
+ function vn(e) {
3727
3771
  for (var t = 1; t < arguments.length; t++) {
3728
3772
  var r = arguments[t] != null ? arguments[t] : {};
3729
- t % 2 ? gn(Object(r), !0).forEach(function(a) {
3773
+ t % 2 ? mn(Object(r), !0).forEach(function(a) {
3730
3774
  de(e, a, r[a]);
3731
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : gn(Object(r)).forEach(function(a) {
3775
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : mn(Object(r)).forEach(function(a) {
3732
3776
  Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(r, a));
3733
3777
  });
3734
3778
  }
3735
3779
  return e;
3736
3780
  }
3737
- function fs(e) {
3738
- var t = ls();
3781
+ function ps(e) {
3782
+ var t = hs();
3739
3783
  return function() {
3740
3784
  var a = re(e), n;
3741
3785
  if (t) {
@@ -3746,7 +3790,7 @@ function fs(e) {
3746
3790
  return Be(this, n);
3747
3791
  };
3748
3792
  }
3749
- function ls() {
3793
+ function hs() {
3750
3794
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
3751
3795
  return !1;
3752
3796
  if (typeof Proxy == "function")
@@ -3758,12 +3802,12 @@ function ls() {
3758
3802
  return !1;
3759
3803
  }
3760
3804
  }
3761
- function ds(e, t) {
3805
+ function gs(e, t) {
3762
3806
  e.pending[t] !== void 0 && (delete e.pending[t], e.pendingCount--);
3763
3807
  }
3764
- var ps = function(e) {
3808
+ var ms = function(e) {
3765
3809
  mt(r, e);
3766
- var t = fs(r);
3810
+ var t = ps(r);
3767
3811
  function r(a, n, i) {
3768
3812
  var o, s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
3769
3813
  return Y(this, r), o = t.call(this), vt && fe.call(ce(o)), o.backend = a, o.store = n, o.services = i, o.languageUtils = i.languageUtils, o.options = s, o.logger = ee.create("backendConnector"), o.waitingReads = [], o.maxParallelReads = s.maxParallelReads || 10, o.readingCalls = 0, o.maxRetries = s.maxRetries >= 0 ? s.maxRetries : 5, o.retryTimeout = s.retryTimeout >= 1 ? s.retryTimeout : 350, o.state = {}, o.queue = [], o.backend && o.backend.init && o.backend.init(i, s.backend, s), o;
@@ -3798,7 +3842,7 @@ var ps = function(e) {
3798
3842
  i && this.emit("failedLoading", u, f, i), o && this.store.addResourceBundle(u, f, o), this.state[n] = i ? -1 : 2;
3799
3843
  var l = {};
3800
3844
  this.queue.forEach(function(c) {
3801
- Ko(c.loaded, [u], f), ds(c, n), i && c.errors.push(i), c.pendingCount === 0 && !c.done && (Object.keys(c.loaded).forEach(function(d) {
3845
+ Wo(c.loaded, [u], f), gs(c, n), i && c.errors.push(i), c.pendingCount === 0 && !c.done && (Object.keys(c.loaded).forEach(function(d) {
3802
3846
  l[d] || (l[d] = {});
3803
3847
  var p = c.loaded[d];
3804
3848
  p.length && p.forEach(function(y) {
@@ -3898,7 +3942,7 @@ var ps = function(e) {
3898
3942
  }
3899
3943
  if (!(o == null || o === "")) {
3900
3944
  if (this.backend && this.backend.create) {
3901
- var c = mn(mn({}, f), {}, {
3945
+ var c = vn(vn({}, f), {}, {
3902
3946
  isUpdate: u
3903
3947
  }), d = this.backend.create.bind(this.backend);
3904
3948
  if (d.length < 6)
@@ -3918,7 +3962,7 @@ var ps = function(e) {
3918
3962
  }
3919
3963
  }]), r;
3920
3964
  }(fe);
3921
- function vn() {
3965
+ function yn() {
3922
3966
  return {
3923
3967
  debug: !1,
3924
3968
  initImmediate: !0,
@@ -3979,10 +4023,10 @@ function vn() {
3979
4023
  }
3980
4024
  };
3981
4025
  }
3982
- function yn(e) {
4026
+ function bn(e) {
3983
4027
  return typeof e.ns == "string" && (e.ns = [e.ns]), typeof e.fallbackLng == "string" && (e.fallbackLng = [e.fallbackLng]), typeof e.fallbackNS == "string" && (e.fallbackNS = [e.fallbackNS]), e.supportedLngs && e.supportedLngs.indexOf("cimode") < 0 && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), e;
3984
4028
  }
3985
- function bn(e, t) {
4029
+ function wn(e, t) {
3986
4030
  var r = Object.keys(e);
3987
4031
  if (Object.getOwnPropertySymbols) {
3988
4032
  var a = Object.getOwnPropertySymbols(e);
@@ -3995,16 +4039,16 @@ function bn(e, t) {
3995
4039
  function Z(e) {
3996
4040
  for (var t = 1; t < arguments.length; t++) {
3997
4041
  var r = arguments[t] != null ? arguments[t] : {};
3998
- t % 2 ? bn(Object(r), !0).forEach(function(a) {
4042
+ t % 2 ? wn(Object(r), !0).forEach(function(a) {
3999
4043
  de(e, a, r[a]);
4000
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : bn(Object(r)).forEach(function(a) {
4044
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : wn(Object(r)).forEach(function(a) {
4001
4045
  Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(r, a));
4002
4046
  });
4003
4047
  }
4004
4048
  return e;
4005
4049
  }
4006
- function hs(e) {
4007
- var t = gs();
4050
+ function vs(e) {
4051
+ var t = ys();
4008
4052
  return function() {
4009
4053
  var a = re(e), n;
4010
4054
  if (t) {
@@ -4015,7 +4059,7 @@ function hs(e) {
4015
4059
  return Be(this, n);
4016
4060
  };
4017
4061
  }
4018
- function gs() {
4062
+ function ys() {
4019
4063
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
4020
4064
  return !1;
4021
4065
  if (typeof Proxy == "function")
@@ -4029,7 +4073,7 @@ function gs() {
4029
4073
  }
4030
4074
  function Ye() {
4031
4075
  }
4032
- function ms(e) {
4076
+ function bs(e) {
4033
4077
  var t = Object.getOwnPropertyNames(Object.getPrototypeOf(e));
4034
4078
  t.forEach(function(r) {
4035
4079
  typeof e[r] == "function" && (e[r] = e[r].bind(e));
@@ -4037,12 +4081,12 @@ function ms(e) {
4037
4081
  }
4038
4082
  var nt = function(e) {
4039
4083
  mt(r, e);
4040
- var t = hs(r);
4084
+ var t = vs(r);
4041
4085
  function r() {
4042
4086
  var a, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = arguments.length > 1 ? arguments[1] : void 0;
4043
- if (Y(this, r), a = t.call(this), vt && fe.call(ce(a)), a.options = yn(n), a.services = {}, a.logger = ee, a.modules = {
4087
+ if (Y(this, r), a = t.call(this), vt && fe.call(ce(a)), a.options = bn(n), a.services = {}, a.logger = ee, a.modules = {
4044
4088
  external: []
4045
- }, ms(ce(a)), i && !a.isInitialized && !n.isClone) {
4089
+ }, bs(ce(a)), i && !a.isInitialized && !n.isClone) {
4046
4090
  if (!a.options.initImmediate)
4047
4091
  return a.init(n, i), Be(a, ce(a));
4048
4092
  setTimeout(function() {
@@ -4056,29 +4100,29 @@ var nt = function(e) {
4056
4100
  value: function() {
4057
4101
  var n = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, o = arguments.length > 1 ? arguments[1] : void 0;
4058
4102
  typeof i == "function" && (o = i, i = {}), !i.defaultNS && i.defaultNS !== !1 && i.ns && (typeof i.ns == "string" ? i.defaultNS = i.ns : i.ns.indexOf("translation") < 0 && (i.defaultNS = i.ns[0]));
4059
- var s = vn();
4060
- this.options = Z(Z(Z({}, s), this.options), yn(i)), this.options.compatibilityAPI !== "v1" && (this.options.interpolation = Z(Z({}, s.interpolation), this.options.interpolation)), i.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = i.keySeparator), i.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = i.nsSeparator);
4103
+ var s = yn();
4104
+ this.options = Z(Z(Z({}, s), this.options), bn(i)), this.options.compatibilityAPI !== "v1" && (this.options.interpolation = Z(Z({}, s.interpolation), this.options.interpolation)), i.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = i.keySeparator), i.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = i.nsSeparator);
4061
4105
  function u(h) {
4062
4106
  return h ? typeof h == "function" ? new h() : h : null;
4063
4107
  }
4064
4108
  if (!this.options.isClone) {
4065
4109
  this.modules.logger ? ee.init(u(this.modules.logger), this.options) : ee.init(null, this.options);
4066
4110
  var f;
4067
- this.modules.formatter ? f = this.modules.formatter : typeof Intl < "u" && (f = cs);
4068
- var l = new ln(this.options);
4069
- this.store = new Qo(this.options.resources, this.options);
4111
+ this.modules.formatter ? f = this.modules.formatter : typeof Intl < "u" && (f = ds);
4112
+ var l = new dn(this.options);
4113
+ this.store = new rs(this.options.resources, this.options);
4070
4114
  var c = this.services;
4071
- c.logger = ee, c.resourceStore = this.store, c.languageUtils = l, c.pluralResolver = new os(l, {
4115
+ c.logger = ee, c.resourceStore = this.store, c.languageUtils = l, c.pluralResolver = new cs(l, {
4072
4116
  prepend: this.options.pluralSeparator,
4073
4117
  compatibilityJSON: this.options.compatibilityJSON,
4074
4118
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
4075
- }), f && (!this.options.interpolation.format || this.options.interpolation.format === s.interpolation.format) && (c.formatter = u(f), c.formatter.init(c, this.options), this.options.interpolation.format = c.formatter.format.bind(c.formatter)), c.interpolator = new ss(this.options), c.utils = {
4119
+ }), f && (!this.options.interpolation.format || this.options.interpolation.format === s.interpolation.format) && (c.formatter = u(f), c.formatter.init(c, this.options), this.options.interpolation.format = c.formatter.format.bind(c.formatter)), c.interpolator = new fs(this.options), c.utils = {
4076
4120
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
4077
- }, c.backendConnector = new ps(u(this.modules.backend), c.resourceStore, c, this.options), c.backendConnector.on("*", function(h) {
4121
+ }, c.backendConnector = new ms(u(this.modules.backend), c.resourceStore, c, this.options), c.backendConnector.on("*", function(h) {
4078
4122
  for (var g = arguments.length, O = new Array(g > 1 ? g - 1 : 0), m = 1; m < g; m++)
4079
4123
  O[m - 1] = arguments[m];
4080
4124
  n.emit.apply(n, [h].concat(O));
4081
- }), this.modules.languageDetector && (c.languageDetector = u(this.modules.languageDetector), c.languageDetector.init && c.languageDetector.init(c, this.options.detection, this.options)), this.modules.i18nFormat && (c.i18nFormat = u(this.modules.i18nFormat), c.i18nFormat.init && c.i18nFormat.init(this)), this.translator = new fn(this.services, this.options), this.translator.on("*", function(h) {
4125
+ }), this.modules.languageDetector && (c.languageDetector = u(this.modules.languageDetector), c.languageDetector.init && c.languageDetector.init(c, this.options.detection, this.options)), this.modules.i18nFormat && (c.i18nFormat = u(this.modules.i18nFormat), c.i18nFormat.init && c.i18nFormat.init(this)), this.translator = new ln(this.services, this.options), this.translator.on("*", function(h) {
4082
4126
  for (var g = arguments.length, O = new Array(g > 1 ? g - 1 : 0), m = 1; m < g; m++)
4083
4127
  O[m - 1] = arguments[m];
4084
4128
  n.emit.apply(n, [h].concat(O));
@@ -4161,7 +4205,7 @@ var nt = function(e) {
4161
4205
  throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
4162
4206
  if (!n.type)
4163
4207
  throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
4164
- return n.type === "backend" && (this.modules.backend = n), (n.type === "logger" || n.log && n.warn && n.error) && (this.modules.logger = n), n.type === "languageDetector" && (this.modules.languageDetector = n), n.type === "i18nFormat" && (this.modules.i18nFormat = n), n.type === "postProcessor" && fa.addPostProcessor(n), n.type === "formatter" && (this.modules.formatter = n), n.type === "3rdParty" && this.modules.external.push(n), this;
4208
+ return n.type === "backend" && (this.modules.backend = n), (n.type === "logger" || n.log && n.warn && n.error) && (this.modules.logger = n), n.type === "languageDetector" && (this.modules.languageDetector = n), n.type === "i18nFormat" && (this.modules.i18nFormat = n), n.type === "postProcessor" && la.addPostProcessor(n), n.type === "formatter" && (this.modules.formatter = n), n.type === "3rdParty" && this.modules.external.push(n), this;
4165
4209
  }
4166
4210
  }, {
4167
4211
  key: "setResolvedLanguage",
@@ -4284,7 +4328,7 @@ var nt = function(e) {
4284
4328
  value: function(n) {
4285
4329
  if (n || (n = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !n)
4286
4330
  return "rtl";
4287
- var i = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], o = this.services && this.services.languageUtils || new ln(vn());
4331
+ var i = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], o = this.services && this.services.languageUtils || new dn(yn());
4288
4332
  return i.indexOf(o.getLanguagePartFromCode(n)) > -1 || n.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
4289
4333
  }
4290
4334
  }, {
@@ -4299,7 +4343,7 @@ var nt = function(e) {
4299
4343
  u[l] = n[l];
4300
4344
  }), u.services = Z({}, this.services), u.services.utils = {
4301
4345
  hasLoadedNamespace: u.hasLoadedNamespace.bind(u)
4302
- }, u.translator = new fn(u.services, u.options), u.translator.on("*", function(l) {
4346
+ }, u.translator = new ln(u.services, u.options), u.translator.on("*", function(l) {
4303
4347
  for (var c = arguments.length, d = new Array(c > 1 ? c - 1 : 0), p = 1; p < c; p++)
4304
4348
  d[p - 1] = arguments[p];
4305
4349
  u.emit.apply(u, [l].concat(d));
@@ -4340,15 +4384,15 @@ $.setDefaultNamespace;
4340
4384
  $.hasLoadedNamespace;
4341
4385
  $.loadNamespaces;
4342
4386
  $.loadLanguages;
4343
- var la = [], vs = la.forEach, ys = la.slice;
4344
- function bs(e) {
4345
- return vs.call(ys.call(arguments, 1), function(t) {
4387
+ var da = [], ws = da.forEach, Ss = da.slice;
4388
+ function xs(e) {
4389
+ return ws.call(Ss.call(arguments, 1), function(t) {
4346
4390
  if (t)
4347
4391
  for (var r in t)
4348
4392
  e[r] === void 0 && (e[r] = t[r]);
4349
4393
  }), e;
4350
4394
  }
4351
- var wn = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ws = function(t, r, a) {
4395
+ var Sn = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Os = function(t, r, a) {
4352
4396
  var n = a || {};
4353
4397
  n.path = n.path || "/";
4354
4398
  var i = encodeURIComponent(r), o = "".concat(t, "=").concat(i);
@@ -4359,12 +4403,12 @@ var wn = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ws = function(t, r, a) {
4359
4403
  o += "; Max-Age=".concat(Math.floor(s));
4360
4404
  }
4361
4405
  if (n.domain) {
4362
- if (!wn.test(n.domain))
4406
+ if (!Sn.test(n.domain))
4363
4407
  throw new TypeError("option domain is invalid");
4364
4408
  o += "; Domain=".concat(n.domain);
4365
4409
  }
4366
4410
  if (n.path) {
4367
- if (!wn.test(n.path))
4411
+ if (!Sn.test(n.path))
4368
4412
  throw new TypeError("option path is invalid");
4369
4413
  o += "; Path=".concat(n.path);
4370
4414
  }
@@ -4393,13 +4437,13 @@ var wn = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ws = function(t, r, a) {
4393
4437
  }
4394
4438
  }
4395
4439
  return o;
4396
- }, Sn = {
4440
+ }, xn = {
4397
4441
  create: function(t, r, a, n) {
4398
4442
  var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
4399
4443
  path: "/",
4400
4444
  sameSite: "strict"
4401
4445
  };
4402
- a && (i.expires = new Date(), i.expires.setTime(i.expires.getTime() + a * 60 * 1e3)), n && (i.domain = n), document.cookie = ws(t, encodeURIComponent(r), i);
4446
+ a && (i.expires = new Date(), i.expires.setTime(i.expires.getTime() + a * 60 * 1e3)), n && (i.domain = n), document.cookie = Os(t, encodeURIComponent(r), i);
4403
4447
  },
4404
4448
  read: function(t) {
4405
4449
  for (var r = "".concat(t, "="), a = document.cookie.split(";"), n = 0; n < a.length; n++) {
@@ -4413,20 +4457,20 @@ var wn = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ws = function(t, r, a) {
4413
4457
  remove: function(t) {
4414
4458
  this.create(t, "", -1);
4415
4459
  }
4416
- }, Ss = {
4460
+ }, Es = {
4417
4461
  name: "cookie",
4418
4462
  lookup: function(t) {
4419
4463
  var r;
4420
4464
  if (t.lookupCookie && typeof document < "u") {
4421
- var a = Sn.read(t.lookupCookie);
4465
+ var a = xn.read(t.lookupCookie);
4422
4466
  a && (r = a);
4423
4467
  }
4424
4468
  return r;
4425
4469
  },
4426
4470
  cacheUserLanguage: function(t, r) {
4427
- r.lookupCookie && typeof document < "u" && Sn.create(r.lookupCookie, t, r.cookieMinutes, r.cookieDomain, r.cookieOptions);
4471
+ r.lookupCookie && typeof document < "u" && xn.create(r.lookupCookie, t, r.cookieMinutes, r.cookieDomain, r.cookieOptions);
4428
4472
  }
4429
- }, xs = {
4473
+ }, Ps = {
4430
4474
  name: "querystring",
4431
4475
  lookup: function(t) {
4432
4476
  var r;
@@ -4443,7 +4487,7 @@ var wn = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ws = function(t, r, a) {
4443
4487
  }
4444
4488
  return r;
4445
4489
  }
4446
- }, je = null, xn = function() {
4490
+ }, je = null, On = function() {
4447
4491
  if (je !== null)
4448
4492
  return je;
4449
4493
  try {
@@ -4454,20 +4498,20 @@ var wn = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ws = function(t, r, a) {
4454
4498
  je = !1;
4455
4499
  }
4456
4500
  return je;
4457
- }, Os = {
4501
+ }, Cs = {
4458
4502
  name: "localStorage",
4459
4503
  lookup: function(t) {
4460
4504
  var r;
4461
- if (t.lookupLocalStorage && xn()) {
4505
+ if (t.lookupLocalStorage && On()) {
4462
4506
  var a = window.localStorage.getItem(t.lookupLocalStorage);
4463
4507
  a && (r = a);
4464
4508
  }
4465
4509
  return r;
4466
4510
  },
4467
4511
  cacheUserLanguage: function(t, r) {
4468
- r.lookupLocalStorage && xn() && window.localStorage.setItem(r.lookupLocalStorage, t);
4512
+ r.lookupLocalStorage && On() && window.localStorage.setItem(r.lookupLocalStorage, t);
4469
4513
  }
4470
- }, Ie = null, On = function() {
4514
+ }, Ie = null, En = function() {
4471
4515
  if (Ie !== null)
4472
4516
  return Ie;
4473
4517
  try {
@@ -4478,20 +4522,20 @@ var wn = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ws = function(t, r, a) {
4478
4522
  Ie = !1;
4479
4523
  }
4480
4524
  return Ie;
4481
- }, Es = {
4525
+ }, Rs = {
4482
4526
  name: "sessionStorage",
4483
4527
  lookup: function(t) {
4484
4528
  var r;
4485
- if (t.lookupSessionStorage && On()) {
4529
+ if (t.lookupSessionStorage && En()) {
4486
4530
  var a = window.sessionStorage.getItem(t.lookupSessionStorage);
4487
4531
  a && (r = a);
4488
4532
  }
4489
4533
  return r;
4490
4534
  },
4491
4535
  cacheUserLanguage: function(t, r) {
4492
- r.lookupSessionStorage && On() && window.sessionStorage.setItem(r.lookupSessionStorage, t);
4536
+ r.lookupSessionStorage && En() && window.sessionStorage.setItem(r.lookupSessionStorage, t);
4493
4537
  }
4494
- }, Ps = {
4538
+ }, ks = {
4495
4539
  name: "navigator",
4496
4540
  lookup: function(t) {
4497
4541
  var r = [];
@@ -4503,13 +4547,13 @@ var wn = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ws = function(t, r, a) {
4503
4547
  }
4504
4548
  return r.length > 0 ? r : void 0;
4505
4549
  }
4506
- }, Cs = {
4550
+ }, Ns = {
4507
4551
  name: "htmlTag",
4508
4552
  lookup: function(t) {
4509
4553
  var r, a = t.htmlTag || (typeof document < "u" ? document.documentElement : null);
4510
4554
  return a && typeof a.getAttribute == "function" && (r = a.getAttribute("lang")), r;
4511
4555
  }
4512
- }, Rs = {
4556
+ }, Ls = {
4513
4557
  name: "path",
4514
4558
  lookup: function(t) {
4515
4559
  var r;
@@ -4525,7 +4569,7 @@ var wn = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ws = function(t, r, a) {
4525
4569
  }
4526
4570
  return r;
4527
4571
  }
4528
- }, ks = {
4572
+ }, _s = {
4529
4573
  name: "subdomain",
4530
4574
  lookup: function(t) {
4531
4575
  var r = typeof t.lookupFromSubdomainIndex == "number" ? t.lookupFromSubdomainIndex + 1 : 1, a = typeof window < "u" && window.location && window.location.hostname && window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);
@@ -4533,7 +4577,7 @@ var wn = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ws = function(t, r, a) {
4533
4577
  return a[r];
4534
4578
  }
4535
4579
  };
4536
- function Ns() {
4580
+ function As() {
4537
4581
  return {
4538
4582
  order: ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"],
4539
4583
  lookupQuerystring: "lng",
@@ -4547,7 +4591,7 @@ function Ns() {
4547
4591
  // cookieDomain: 'myDomain'
4548
4592
  };
4549
4593
  }
4550
- var da = /* @__PURE__ */ function() {
4594
+ var pa = /* @__PURE__ */ function() {
4551
4595
  function e(t) {
4552
4596
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
4553
4597
  Y(this, e), this.type = "languageDetector", this.detectors = {}, this.init(t, r);
@@ -4556,7 +4600,7 @@ var da = /* @__PURE__ */ function() {
4556
4600
  key: "init",
4557
4601
  value: function(r) {
4558
4602
  var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
4559
- this.services = r, this.options = bs(a, this.options || {}, Ns()), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = n, this.addDetector(Ss), this.addDetector(xs), this.addDetector(Os), this.addDetector(Es), this.addDetector(Ps), this.addDetector(Cs), this.addDetector(Rs), this.addDetector(ks);
4603
+ this.services = r, this.options = xs(a, this.options || {}, As()), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = n, this.addDetector(Es), this.addDetector(Ps), this.addDetector(Cs), this.addDetector(Rs), this.addDetector(ks), this.addDetector(Ns), this.addDetector(Ls), this.addDetector(_s);
4560
4604
  }
4561
4605
  }, {
4562
4606
  key: "addDetector",
@@ -4586,8 +4630,8 @@ var da = /* @__PURE__ */ function() {
4586
4630
  }
4587
4631
  }]), e;
4588
4632
  }();
4589
- da.type = "languageDetector";
4590
- const Ls = ({ resources: e }) => va(() => $.createInstance(
4633
+ pa.type = "languageDetector";
4634
+ const Ts = ({ resources: e }) => ya(() => $.createInstance(
4591
4635
  {
4592
4636
  defaultNS: "common",
4593
4637
  fallbackLng: "en",
@@ -4605,65 +4649,73 @@ const Ls = ({ resources: e }) => va(() => $.createInstance(
4605
4649
  if (t)
4606
4650
  return console.error(t);
4607
4651
  }
4608
- ).use(da), [e]), _s = Tn((e) => {
4652
+ ).use(pa), [e]), $s = $n((e) => {
4609
4653
  const t = `.${e}`;
4610
- return In({
4654
+ return Dn({
4611
4655
  key: "css",
4612
4656
  stylisPlugins: [(a) => {
4613
4657
  a?.type === "rule" && a?.value.startsWith(".css") && (a.props = [a.props].flat().map((n) => n.includes(t) ? n : `${t} ${n}`));
4614
- }, za]
4658
+ }, Ha]
4615
4659
  });
4616
- }), As = ({
4660
+ }), js = ({
4617
4661
  children: e,
4618
- css: t,
4662
+ className: t,
4619
4663
  fallback: r,
4620
4664
  resources: a
4621
4665
  }) => {
4622
- const { scope: n, onError: i } = jo(), o = Ls({ resources: a });
4623
- return /* @__PURE__ */ V("div", { className: n, css: t, "data-testid": n, children: /* @__PURE__ */ V(Sa, { value: _s(n), children: /* @__PURE__ */ V(Ca, { i18n: o, children: /* @__PURE__ */ V(Io, { fallback: r, onError: i, children: e }) }) }) });
4666
+ const { scope: n, onError: i } = Io(), o = Ts({ resources: a });
4667
+ return /* @__PURE__ */ V("div", { className: Fo(n, t), "data-testid": n, children: /* @__PURE__ */ V(xa, { value: $s(n), children: /* @__PURE__ */ V(Ra, { i18n: o, children: /* @__PURE__ */ V(Uo, { fallback: r, onError: i, children: e }) }) }) });
4624
4668
  };
4625
- var Ts = Object.defineProperty, at = Object.getOwnPropertySymbols, pa = Object.prototype.hasOwnProperty, ha = Object.prototype.propertyIsEnumerable, En = (e, t, r) => t in e ? Ts(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gt = (e, t) => {
4669
+ var Is = Object.defineProperty, at = Object.getOwnPropertySymbols, ha = Object.prototype.hasOwnProperty, ga = Object.prototype.propertyIsEnumerable, Pn = (e, t, r) => t in e ? Is(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xt = (e, t) => {
4626
4670
  for (var r in t || (t = {}))
4627
- pa.call(t, r) && En(e, r, t[r]);
4671
+ ha.call(t, r) && Pn(e, r, t[r]);
4628
4672
  if (at)
4629
4673
  for (var r of at(t))
4630
- ha.call(t, r) && En(e, r, t[r]);
4674
+ ga.call(t, r) && Pn(e, r, t[r]);
4631
4675
  return e;
4632
- }, $s = (e, t) => {
4676
+ }, Ds = (e, t) => {
4633
4677
  var r = {};
4634
4678
  for (var a in e)
4635
- pa.call(e, a) && t.indexOf(a) < 0 && (r[a] = e[a]);
4679
+ ha.call(e, a) && t.indexOf(a) < 0 && (r[a] = e[a]);
4636
4680
  if (e != null && at)
4637
4681
  for (var a of at(e))
4638
- t.indexOf(a) < 0 && ha.call(e, a) && (r[a] = e[a]);
4682
+ t.indexOf(a) < 0 && ga.call(e, a) && (r[a] = e[a]);
4639
4683
  return r;
4640
4684
  };
4641
- const js = (e, t) => {
4685
+ const Fs = (e, t) => {
4642
4686
  if (!e)
4643
4687
  return;
4644
4688
  const r = e;
4645
4689
  return e && t && Object.entries(e).forEach(([a, n]) => {
4646
4690
  Object.keys(n).forEach((i) => {
4647
4691
  var o;
4648
- r[a][i] = Gt(Gt({}, r[a][i]), (o = t[a]) == null ? void 0 : o[i]);
4692
+ r[a][i] = Xt(Xt({}, r[a][i]), (o = t[a]) == null ? void 0 : o[i]);
4649
4693
  });
4650
4694
  }), r;
4651
- }, Is = (e, t, r) => (a) => {
4652
- var n = a, { resources: i } = n, o = $s(n, ["resources"]);
4653
- return /* @__PURE__ */ V(As, { resources: js(r?.resources, i), fallback: t, children: /* @__PURE__ */ V(e, Gt({}, o)) });
4654
- }, Hs = {
4655
- createElement: Is
4695
+ }, Us = (e, t, r) => (a) => {
4696
+ var n = a, { resources: i } = n, o = Ds(n, ["resources"]);
4697
+ return /* @__PURE__ */ V(
4698
+ js,
4699
+ {
4700
+ resources: Fs(r?.resources, i),
4701
+ fallback: t,
4702
+ css: r?.css,
4703
+ children: /* @__PURE__ */ V(e, Xt({}, o))
4704
+ }
4705
+ );
4706
+ }, Ys = {
4707
+ createElement: Us
4656
4708
  };
4657
4709
  export {
4658
- zs as Alchemy,
4659
- oa as AlchemyContext,
4660
- As as Element,
4661
- Io as ErrorBoundary,
4662
- Hs as default,
4663
- _s as memoizedCreateCache,
4664
- jo as useAlchemy,
4665
- Ls as useI18n,
4666
- Ti as useLoadFonts,
4667
- Ao as useLoadIcons,
4668
- $o as useLoadTheme
4710
+ Js as Alchemy,
4711
+ sa as AlchemyContext,
4712
+ js as Element,
4713
+ Uo as ErrorBoundary,
4714
+ Ys as default,
4715
+ $s as memoizedCreateCache,
4716
+ Io as useAlchemy,
4717
+ Ts as useI18n,
4718
+ $i as useLoadFonts,
4719
+ To as useLoadIcons,
4720
+ jo as useLoadTheme
4669
4721
  };