fansunited-frontend-core 0.0.2 → 0.0.3

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.es.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as L from "react";
2
- import { forwardRef as co, useContext as bn, useState as wr, useCallback as Er, useEffect as Xt, useMemo as Vt, createContext as uo } from "react";
3
- import { jsx as ue, jsxs as er, Fragment as fo } from "react/jsx-runtime";
4
- const rc = [
2
+ import { forwardRef as fo, useContext as Sn, useState as Pr, useCallback as $r, useEffect as Xt, useMemo as Vt, createContext as po } from "react";
3
+ import { jsx as ue, jsxs as er, Fragment as ho } from "react/jsx-runtime";
4
+ const nc = [
5
5
  "CLASSIC_QUIZ_ADVOCACY",
6
6
  "CLASSIC_QUIZ_AWARENESS",
7
7
  "CLASSIC_QUIZ_PLAY",
@@ -11,8 +11,8 @@ const rc = [
11
11
  "TOP_X_CONSIDERATION",
12
12
  "TOP_X_PLAY",
13
13
  "TOP_X_RETENTION"
14
- ], nc = ["card", "overlay", "image", "inline"], vn = "$$joy";
15
- function gt(t) {
14
+ ], oc = ["card", "overlay", "image", "inline"], xn = "$$joy";
15
+ function yt(t) {
16
16
  let e = "https://mui.com/production-error/?code=" + t;
17
17
  for (let r = 1; r < arguments.length; r += 1)
18
18
  e += "&args[]=" + encodeURIComponent(arguments[r]);
@@ -27,40 +27,40 @@ function F() {
27
27
  return t;
28
28
  }, F.apply(null, arguments);
29
29
  }
30
- function po(t) {
30
+ function mo(t) {
31
31
  var e = /* @__PURE__ */ Object.create(null);
32
32
  return function(r) {
33
33
  return e[r] === void 0 && (e[r] = t(r)), e[r];
34
34
  };
35
35
  }
36
- var ho = !1;
37
- function mo(t) {
36
+ var go = !1;
37
+ function yo(t) {
38
38
  if (t.sheet)
39
39
  return t.sheet;
40
40
  for (var e = 0; e < document.styleSheets.length; e++)
41
41
  if (document.styleSheets[e].ownerNode === t)
42
42
  return document.styleSheets[e];
43
43
  }
44
- function go(t) {
44
+ function bo(t) {
45
45
  var e = document.createElement("style");
46
46
  return e.setAttribute("data-emotion", t.key), t.nonce !== void 0 && e.setAttribute("nonce", t.nonce), e.appendChild(document.createTextNode("")), e.setAttribute("data-s", ""), e;
47
47
  }
48
- var yo = /* @__PURE__ */ function() {
48
+ var vo = /* @__PURE__ */ function() {
49
49
  function t(r) {
50
50
  var n = this;
51
51
  this._insertTag = function(o) {
52
52
  var i;
53
53
  n.tags.length === 0 ? n.insertionPoint ? i = n.insertionPoint.nextSibling : n.prepend ? i = n.container.firstChild : i = n.before : i = n.tags[n.tags.length - 1].nextSibling, n.container.insertBefore(o, i), n.tags.push(o);
54
- }, this.isSpeedy = r.speedy === void 0 ? !ho : r.speedy, this.tags = [], this.ctr = 0, this.nonce = r.nonce, this.key = r.key, this.container = r.container, this.prepend = r.prepend, this.insertionPoint = r.insertionPoint, this.before = null;
54
+ }, this.isSpeedy = r.speedy === void 0 ? !go : r.speedy, this.tags = [], this.ctr = 0, this.nonce = r.nonce, this.key = r.key, this.container = r.container, this.prepend = r.prepend, this.insertionPoint = r.insertionPoint, this.before = null;
55
55
  }
56
56
  var e = t.prototype;
57
57
  return e.hydrate = function(n) {
58
58
  n.forEach(this._insertTag);
59
59
  }, e.insert = function(n) {
60
- this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(go(this));
60
+ this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(bo(this));
61
61
  var o = this.tags[this.tags.length - 1];
62
62
  if (this.isSpeedy) {
63
- var i = mo(o);
63
+ var i = yo(o);
64
64
  try {
65
65
  i.insertRule(n, i.cssRules.length);
66
66
  } catch {
@@ -74,14 +74,14 @@ var yo = /* @__PURE__ */ function() {
74
74
  return (o = n.parentNode) == null ? void 0 : o.removeChild(n);
75
75
  }), this.tags = [], this.ctr = 0;
76
76
  }, t;
77
- }(), pe = "-ms-", yt = "-moz-", Q = "-webkit-", Sn = "comm", sr = "rule", ar = "decl", bo = "@import", xn = "@keyframes", vo = "@layer", So = Math.abs, Pt = String.fromCharCode, xo = Object.assign;
78
- function Co(t, e) {
77
+ }(), pe = "-ms-", bt = "-moz-", Q = "-webkit-", Cn = "comm", lr = "rule", cr = "decl", So = "@import", wn = "@keyframes", xo = "@layer", Co = Math.abs, $t = String.fromCharCode, wo = Object.assign;
78
+ function Eo(t, e) {
79
79
  return ce(t, 0) ^ 45 ? (((e << 2 ^ ce(t, 0)) << 2 ^ ce(t, 1)) << 2 ^ ce(t, 2)) << 2 ^ ce(t, 3) : 0;
80
80
  }
81
- function Cn(t) {
81
+ function En(t) {
82
82
  return t.trim();
83
83
  }
84
- function wo(t, e) {
84
+ function Po(t, e) {
85
85
  return (t = e.exec(t)) ? t[0] : t;
86
86
  }
87
87
  function K(t, e, r) {
@@ -93,47 +93,47 @@ function tr(t, e) {
93
93
  function ce(t, e) {
94
94
  return t.charCodeAt(e) | 0;
95
95
  }
96
- function Ze(t, e, r) {
96
+ function Xe(t, e, r) {
97
97
  return t.slice(e, r);
98
98
  }
99
99
  function $e(t) {
100
100
  return t.length;
101
101
  }
102
- function lr(t) {
102
+ function ur(t) {
103
103
  return t.length;
104
104
  }
105
- function lt(t, e) {
105
+ function ct(t, e) {
106
106
  return e.push(t), t;
107
107
  }
108
- function Eo(t, e) {
108
+ function $o(t, e) {
109
109
  return t.map(e).join("");
110
110
  }
111
- var $t = 1, He = 1, wn = 0, me = 0, se = 0, qe = "";
112
- function Tt(t, e, r, n, o, i, s) {
113
- return { value: t, root: e, parent: r, type: n, props: o, children: i, line: $t, column: He, length: s, return: "" };
111
+ var Tt = 1, He = 1, Pn = 0, me = 0, se = 0, qe = "";
112
+ function At(t, e, r, n, o, i, s) {
113
+ return { value: t, root: e, parent: r, type: n, props: o, children: i, line: Tt, column: He, length: s, return: "" };
114
114
  }
115
- function We(t, e) {
116
- return xo(Tt("", null, null, "", null, null, 0), t, { length: -t.length }, e);
115
+ function Qe(t, e) {
116
+ return wo(At("", null, null, "", null, null, 0), t, { length: -t.length }, e);
117
117
  }
118
- function Po() {
118
+ function To() {
119
119
  return se;
120
120
  }
121
- function $o() {
122
- return se = me > 0 ? ce(qe, --me) : 0, He--, se === 10 && (He = 1, $t--), se;
121
+ function Ao() {
122
+ return se = me > 0 ? ce(qe, --me) : 0, He--, se === 10 && (He = 1, Tt--), se;
123
123
  }
124
124
  function ye() {
125
- return se = me < wn ? ce(qe, me++) : 0, He++, se === 10 && (He = 1, $t++), se;
125
+ return se = me < Pn ? ce(qe, me++) : 0, He++, se === 10 && (He = 1, Tt++), se;
126
126
  }
127
127
  function Oe() {
128
128
  return ce(qe, me);
129
129
  }
130
- function ft() {
130
+ function pt() {
131
131
  return me;
132
132
  }
133
- function ot(t, e) {
134
- return Ze(qe, t, e);
133
+ function it(t, e) {
134
+ return Xe(qe, t, e);
135
135
  }
136
- function Xe(t) {
136
+ function et(t) {
137
137
  switch (t) {
138
138
  case 0:
139
139
  case 9:
@@ -165,24 +165,24 @@ function Xe(t) {
165
165
  }
166
166
  return 0;
167
167
  }
168
- function En(t) {
169
- return $t = He = 1, wn = $e(qe = t), me = 0, [];
168
+ function $n(t) {
169
+ return Tt = He = 1, Pn = $e(qe = t), me = 0, [];
170
170
  }
171
- function Pn(t) {
171
+ function Tn(t) {
172
172
  return qe = "", t;
173
173
  }
174
- function pt(t) {
175
- return Cn(ot(me - 1, rr(t === 91 ? t + 2 : t === 40 ? t + 1 : t)));
174
+ function ht(t) {
175
+ return En(it(me - 1, rr(t === 91 ? t + 2 : t === 40 ? t + 1 : t)));
176
176
  }
177
- function To(t) {
177
+ function Oo(t) {
178
178
  for (; (se = Oe()) && se < 33; )
179
179
  ye();
180
- return Xe(t) > 2 || Xe(se) > 3 ? "" : " ";
180
+ return et(t) > 2 || et(se) > 3 ? "" : " ";
181
181
  }
182
- function Ao(t, e) {
182
+ function ko(t, e) {
183
183
  for (; --e && ye() && !(se < 48 || se > 102 || se > 57 && se < 65 || se > 70 && se < 97); )
184
184
  ;
185
- return ot(t, ft() + (e < 6 && Oe() == 32 && ye() == 32));
185
+ return it(t, pt() + (e < 6 && Oe() == 32 && ye() == 32));
186
186
  }
187
187
  function rr(t) {
188
188
  for (; ye(); )
@@ -202,47 +202,47 @@ function rr(t) {
202
202
  }
203
203
  return me;
204
204
  }
205
- function Oo(t, e) {
205
+ function Ro(t, e) {
206
206
  for (; ye() && t + se !== 57; )
207
207
  if (t + se === 84 && Oe() === 47)
208
208
  break;
209
- return "/*" + ot(e, me - 1) + "*" + Pt(t === 47 ? t : ye());
209
+ return "/*" + it(e, me - 1) + "*" + $t(t === 47 ? t : ye());
210
210
  }
211
- function Ro(t) {
212
- for (; !Xe(Oe()); )
211
+ function zo(t) {
212
+ for (; !et(Oe()); )
213
213
  ye();
214
- return ot(t, me);
214
+ return it(t, me);
215
215
  }
216
- function ko(t) {
217
- return Pn(ht("", null, null, null, [""], t = En(t), 0, [0], t));
216
+ function Fo(t) {
217
+ return Tn(mt("", null, null, null, [""], t = $n(t), 0, [0], t));
218
218
  }
219
- function ht(t, e, r, n, o, i, s, a, l) {
219
+ function mt(t, e, r, n, o, i, s, a, l) {
220
220
  for (var c = 0, d = 0, f = s, h = 0, g = 0, m = 0, b = 1, v = 1, S = 1, w = 0, p = "", E = o, u = i, I = n, O = p; v; )
221
221
  switch (m = w, w = ye()) {
222
222
  case 40:
223
223
  if (m != 108 && ce(O, f - 1) == 58) {
224
- tr(O += K(pt(w), "&", "&\f"), "&\f") != -1 && (S = -1);
224
+ tr(O += K(ht(w), "&", "&\f"), "&\f") != -1 && (S = -1);
225
225
  break;
226
226
  }
227
227
  case 34:
228
228
  case 39:
229
229
  case 91:
230
- O += pt(w);
230
+ O += ht(w);
231
231
  break;
232
232
  case 9:
233
233
  case 10:
234
234
  case 13:
235
235
  case 32:
236
- O += To(m);
236
+ O += Oo(m);
237
237
  break;
238
238
  case 92:
239
- O += Ao(ft() - 1, 7);
239
+ O += ko(pt() - 1, 7);
240
240
  continue;
241
241
  case 47:
242
242
  switch (Oe()) {
243
243
  case 42:
244
244
  case 47:
245
- lt(zo(Oo(ye(), ft()), e, r), l);
245
+ ct(No(Ro(ye(), pt()), e, r), l);
246
246
  break;
247
247
  default:
248
248
  O += "/";
@@ -258,24 +258,24 @@ function ht(t, e, r, n, o, i, s, a, l) {
258
258
  case 125:
259
259
  v = 0;
260
260
  case 59 + d:
261
- S == -1 && (O = K(O, /\f/g, "")), g > 0 && $e(O) - f && lt(g > 32 ? $r(O + ";", n, r, f - 1) : $r(K(O, " ", "") + ";", n, r, f - 2), l);
261
+ S == -1 && (O = K(O, /\f/g, "")), g > 0 && $e(O) - f && ct(g > 32 ? Ar(O + ";", n, r, f - 1) : Ar(K(O, " ", "") + ";", n, r, f - 2), l);
262
262
  break;
263
263
  case 59:
264
264
  O += ";";
265
265
  default:
266
- if (lt(I = Pr(O, e, r, c, d, o, a, p, E = [], u = [], f), i), w === 123)
266
+ if (ct(I = Tr(O, e, r, c, d, o, a, p, E = [], u = [], f), i), w === 123)
267
267
  if (d === 0)
268
- ht(O, e, I, I, E, i, f, a, u);
268
+ mt(O, e, I, I, E, i, f, a, u);
269
269
  else
270
270
  switch (h === 99 && ce(O, 3) === 110 ? 100 : h) {
271
271
  case 100:
272
272
  case 108:
273
273
  case 109:
274
274
  case 115:
275
- ht(t, I, I, n && lt(Pr(t, I, I, 0, 0, o, a, p, o, E = [], f), u), o, u, f, a, n ? E : u);
275
+ mt(t, I, I, n && ct(Tr(t, I, I, 0, 0, o, a, p, o, E = [], f), u), o, u, f, a, n ? E : u);
276
276
  break;
277
277
  default:
278
- ht(O, I, I, I, [""], u, 0, a, u);
278
+ mt(O, I, I, I, [""], u, 0, a, u);
279
279
  }
280
280
  }
281
281
  c = d = g = 0, b = S = 1, p = O = "", f = s;
@@ -286,10 +286,10 @@ function ht(t, e, r, n, o, i, s, a, l) {
286
286
  if (b < 1) {
287
287
  if (w == 123)
288
288
  --b;
289
- else if (w == 125 && b++ == 0 && $o() == 125)
289
+ else if (w == 125 && b++ == 0 && Ao() == 125)
290
290
  continue;
291
291
  }
292
- switch (O += Pt(w), w * b) {
292
+ switch (O += $t(w), w * b) {
293
293
  case 38:
294
294
  S = d > 0 ? 1 : (O += "\f", -1);
295
295
  break;
@@ -297,7 +297,7 @@ function ht(t, e, r, n, o, i, s, a, l) {
297
297
  a[c++] = ($e(O) - 1) * S, S = 1;
298
298
  break;
299
299
  case 64:
300
- Oe() === 45 && (O += pt(ye())), h = Oe(), d = f = $e(p = O += Ro(ft())), w++;
300
+ Oe() === 45 && (O += ht(ye())), h = Oe(), d = f = $e(p = O += zo(pt())), w++;
301
301
  break;
302
302
  case 45:
303
303
  m === 45 && $e(O) == 2 && (b = 0);
@@ -305,65 +305,65 @@ function ht(t, e, r, n, o, i, s, a, l) {
305
305
  }
306
306
  return i;
307
307
  }
308
- function Pr(t, e, r, n, o, i, s, a, l, c, d) {
309
- for (var f = o - 1, h = o === 0 ? i : [""], g = lr(h), m = 0, b = 0, v = 0; m < n; ++m)
310
- for (var S = 0, w = Ze(t, f + 1, f = So(b = s[m])), p = t; S < g; ++S)
311
- (p = Cn(b > 0 ? h[S] + " " + w : K(w, /&\f/g, h[S]))) && (l[v++] = p);
312
- return Tt(t, e, r, o === 0 ? sr : a, l, c, d);
308
+ function Tr(t, e, r, n, o, i, s, a, l, c, d) {
309
+ for (var f = o - 1, h = o === 0 ? i : [""], g = ur(h), m = 0, b = 0, v = 0; m < n; ++m)
310
+ for (var S = 0, w = Xe(t, f + 1, f = Co(b = s[m])), p = t; S < g; ++S)
311
+ (p = En(b > 0 ? h[S] + " " + w : K(w, /&\f/g, h[S]))) && (l[v++] = p);
312
+ return At(t, e, r, o === 0 ? lr : a, l, c, d);
313
313
  }
314
- function zo(t, e, r) {
315
- return Tt(t, e, r, Sn, Pt(Po()), Ze(t, 2, -2), 0);
314
+ function No(t, e, r) {
315
+ return At(t, e, r, Cn, $t(To()), Xe(t, 2, -2), 0);
316
316
  }
317
- function $r(t, e, r, n) {
318
- return Tt(t, e, r, ar, Ze(t, 0, n), Ze(t, n + 1, -1), n);
317
+ function Ar(t, e, r, n) {
318
+ return At(t, e, r, cr, Xe(t, 0, n), Xe(t, n + 1, -1), n);
319
319
  }
320
320
  function Be(t, e) {
321
- for (var r = "", n = lr(t), o = 0; o < n; o++)
321
+ for (var r = "", n = ur(t), o = 0; o < n; o++)
322
322
  r += e(t[o], o, t, e) || "";
323
323
  return r;
324
324
  }
325
- function Fo(t, e, r, n) {
325
+ function Io(t, e, r, n) {
326
326
  switch (t.type) {
327
- case vo:
327
+ case xo:
328
328
  if (t.children.length) break;
329
- case bo:
330
- case ar:
329
+ case So:
330
+ case cr:
331
331
  return t.return = t.return || t.value;
332
- case Sn:
332
+ case Cn:
333
333
  return "";
334
- case xn:
334
+ case wn:
335
335
  return t.return = t.value + "{" + Be(t.children, n) + "}";
336
- case sr:
336
+ case lr:
337
337
  t.value = t.props.join(",");
338
338
  }
339
339
  return $e(r = Be(t.children, n)) ? t.return = t.value + "{" + r + "}" : "";
340
340
  }
341
- function No(t) {
342
- var e = lr(t);
341
+ function Do(t) {
342
+ var e = ur(t);
343
343
  return function(r, n, o, i) {
344
344
  for (var s = "", a = 0; a < e; a++)
345
345
  s += t[a](r, n, o, i) || "";
346
346
  return s;
347
347
  };
348
348
  }
349
- function Io(t) {
349
+ function _o(t) {
350
350
  return function(e) {
351
351
  e.root || (e = e.return) && t(e);
352
352
  };
353
353
  }
354
- var Do = function(e, r, n) {
355
- for (var o = 0, i = 0; o = i, i = Oe(), o === 38 && i === 12 && (r[n] = 1), !Xe(i); )
354
+ var Lo = function(e, r, n) {
355
+ for (var o = 0, i = 0; o = i, i = Oe(), o === 38 && i === 12 && (r[n] = 1), !et(i); )
356
356
  ye();
357
- return ot(e, me);
358
- }, _o = function(e, r) {
357
+ return it(e, me);
358
+ }, jo = function(e, r) {
359
359
  var n = -1, o = 44;
360
360
  do
361
- switch (Xe(o)) {
361
+ switch (et(o)) {
362
362
  case 0:
363
- o === 38 && Oe() === 12 && (r[n] = 1), e[n] += Do(me - 1, r, n);
363
+ o === 38 && Oe() === 12 && (r[n] = 1), e[n] += Lo(me - 1, r, n);
364
364
  break;
365
365
  case 2:
366
- e[n] += pt(o);
366
+ e[n] += ht(o);
367
367
  break;
368
368
  case 4:
369
369
  if (o === 44) {
@@ -371,26 +371,26 @@ var Do = function(e, r, n) {
371
371
  break;
372
372
  }
373
373
  default:
374
- e[n] += Pt(o);
374
+ e[n] += $t(o);
375
375
  }
376
376
  while (o = ye());
377
377
  return e;
378
- }, Lo = function(e, r) {
379
- return Pn(_o(En(e), r));
380
- }, Tr = /* @__PURE__ */ new WeakMap(), jo = function(e) {
378
+ }, Mo = function(e, r) {
379
+ return Tn(jo($n(e), r));
380
+ }, Or = /* @__PURE__ */ new WeakMap(), Bo = function(e) {
381
381
  if (!(e.type !== "rule" || !e.parent || // positive .length indicates that this rule contains pseudo
382
382
  // negative .length indicates that this rule has been already prefixed
383
383
  e.length < 1)) {
384
384
  for (var r = e.value, n = e.parent, o = e.column === n.column && e.line === n.line; n.type !== "rule"; )
385
385
  if (n = n.parent, !n) return;
386
- if (!(e.props.length === 1 && r.charCodeAt(0) !== 58 && !Tr.get(n)) && !o) {
387
- Tr.set(e, !0);
388
- for (var i = [], s = Lo(r, i), a = n.props, l = 0, c = 0; l < s.length; l++)
386
+ if (!(e.props.length === 1 && r.charCodeAt(0) !== 58 && !Or.get(n)) && !o) {
387
+ Or.set(e, !0);
388
+ for (var i = [], s = Mo(r, i), a = n.props, l = 0, c = 0; l < s.length; l++)
389
389
  for (var d = 0; d < a.length; d++, c++)
390
390
  e.props[c] = i[l] ? s[l].replace(/&\f/g, a[d]) : a[d] + " " + s[l];
391
391
  }
392
392
  }
393
- }, Mo = function(e) {
393
+ }, Vo = function(e) {
394
394
  if (e.type === "decl") {
395
395
  var r = e.value;
396
396
  // charcode for l
@@ -398,8 +398,8 @@ var Do = function(e, r, n) {
398
398
  r.charCodeAt(2) === 98 && (e.return = "", e.value = "");
399
399
  }
400
400
  };
401
- function $n(t, e) {
402
- switch (Co(t, e)) {
401
+ function An(t, e) {
402
+ switch (Eo(t, e)) {
403
403
  case 5103:
404
404
  return Q + "print-" + t + t;
405
405
  case 5737:
@@ -433,7 +433,7 @@ function $n(t, e) {
433
433
  case 4810:
434
434
  case 6968:
435
435
  case 2756:
436
- return Q + t + yt + t + pe + t + t;
436
+ return Q + t + bt + t + pe + t + t;
437
437
  case 6828:
438
438
  case 4268:
439
439
  return Q + t + pe + t + t;
@@ -481,9 +481,9 @@ function $n(t, e) {
481
481
  case 109:
482
482
  if (ce(t, e + 4) !== 45) break;
483
483
  case 102:
484
- return K(t, /(.+:)(.+)-([^]+)/, "$1" + Q + "$2-$3$1" + yt + (ce(t, e + 3) == 108 ? "$3" : "$2-$3")) + t;
484
+ return K(t, /(.+:)(.+)-([^]+)/, "$1" + Q + "$2-$3$1" + bt + (ce(t, e + 3) == 108 ? "$3" : "$2-$3")) + t;
485
485
  case 115:
486
- return ~tr(t, "stretch") ? $n(K(t, "stretch", "fill-available"), e) + t : t;
486
+ return ~tr(t, "stretch") ? An(K(t, "stretch", "fill-available"), e) + t : t;
487
487
  }
488
488
  break;
489
489
  case 4949:
@@ -509,36 +509,36 @@ function $n(t, e) {
509
509
  }
510
510
  return t;
511
511
  }
512
- var Bo = function(e, r, n, o) {
512
+ var Ho = function(e, r, n, o) {
513
513
  if (e.length > -1 && !e.return) switch (e.type) {
514
- case ar:
515
- e.return = $n(e.value, e.length);
514
+ case cr:
515
+ e.return = An(e.value, e.length);
516
516
  break;
517
- case xn:
518
- return Be([We(e, {
517
+ case wn:
518
+ return Be([Qe(e, {
519
519
  value: K(e.value, "@", "@" + Q)
520
520
  })], o);
521
- case sr:
522
- if (e.length) return Eo(e.props, function(i) {
523
- switch (wo(i, /(::plac\w+|:read-\w+)/)) {
521
+ case lr:
522
+ if (e.length) return $o(e.props, function(i) {
523
+ switch (Po(i, /(::plac\w+|:read-\w+)/)) {
524
524
  case ":read-only":
525
525
  case ":read-write":
526
- return Be([We(e, {
527
- props: [K(i, /:(read-\w+)/, ":" + yt + "$1")]
526
+ return Be([Qe(e, {
527
+ props: [K(i, /:(read-\w+)/, ":" + bt + "$1")]
528
528
  })], o);
529
529
  case "::placeholder":
530
- return Be([We(e, {
530
+ return Be([Qe(e, {
531
531
  props: [K(i, /:(plac\w+)/, ":" + Q + "input-$1")]
532
- }), We(e, {
533
- props: [K(i, /:(plac\w+)/, ":" + yt + "$1")]
534
- }), We(e, {
532
+ }), Qe(e, {
533
+ props: [K(i, /:(plac\w+)/, ":" + bt + "$1")]
534
+ }), Qe(e, {
535
535
  props: [K(i, /:(plac\w+)/, pe + "input-$1")]
536
536
  })], o);
537
537
  }
538
538
  return "";
539
539
  });
540
540
  }
541
- }, Vo = [Bo], Ho = function(e) {
541
+ }, qo = [Ho], Uo = function(e) {
542
542
  var r = e.key;
543
543
  if (r === "css") {
544
544
  var n = document.querySelectorAll("style[data-emotion]:not([data-s])");
@@ -547,7 +547,7 @@ var Bo = function(e, r, n, o) {
547
547
  v.indexOf(" ") !== -1 && (document.head.appendChild(b), b.setAttribute("data-s", ""));
548
548
  });
549
549
  }
550
- var o = e.stylisPlugins || Vo, i = {}, s, a = [];
550
+ var o = e.stylisPlugins || qo, i = {}, s, a = [];
551
551
  s = e.container || document.head, Array.prototype.forEach.call(
552
552
  // this means we will ignore elements which don't have a space in them which
553
553
  // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
@@ -558,12 +558,12 @@ var Bo = function(e, r, n, o) {
558
558
  a.push(b);
559
559
  }
560
560
  );
561
- var l, c = [jo, Mo];
561
+ var l, c = [Bo, Vo];
562
562
  {
563
- var d, f = [Fo, Io(function(b) {
563
+ var d, f = [Io, _o(function(b) {
564
564
  d.insert(b);
565
- })], h = No(c.concat(o, f)), g = function(v) {
566
- return Be(ko(v), h);
565
+ })], h = Do(c.concat(o, f)), g = function(v) {
566
+ return Be(Fo(v), h);
567
567
  };
568
568
  l = function(v, S, w, p) {
569
569
  d = w, g(v ? v + "{" + S.styles + "}" : S.styles), p && (m.inserted[S.name] = !0);
@@ -571,7 +571,7 @@ var Bo = function(e, r, n, o) {
571
571
  }
572
572
  var m = {
573
573
  key: r,
574
- sheet: new yo({
574
+ sheet: new vo({
575
575
  key: r,
576
576
  container: s,
577
577
  nonce: e.nonce,
@@ -586,7 +586,7 @@ var Bo = function(e, r, n, o) {
586
586
  };
587
587
  return m.sheet.hydrate(a), m;
588
588
  };
589
- function qo(t) {
589
+ function Wo(t) {
590
590
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
591
591
  }
592
592
  var nr = { exports: {} }, G = {};
@@ -598,10 +598,10 @@ var nr = { exports: {} }, G = {};
598
598
  * This source code is licensed under the MIT license found in the
599
599
  * LICENSE file in the root directory of this source tree.
600
600
  */
601
- var Ar;
602
- function Uo() {
603
- if (Ar) return G;
604
- Ar = 1;
601
+ var kr;
602
+ function Qo() {
603
+ if (kr) return G;
604
+ kr = 1;
605
605
  var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, o = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, a = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, c = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, h = t ? Symbol.for("react.suspense_list") : 60120, g = t ? Symbol.for("react.memo") : 60115, m = t ? Symbol.for("react.lazy") : 60116, b = t ? Symbol.for("react.block") : 60121, v = t ? Symbol.for("react.fundamental") : 60117, S = t ? Symbol.for("react.responder") : 60118, w = t ? Symbol.for("react.scope") : 60119;
606
606
  function p(u) {
607
607
  if (typeof u == "object" && u !== null) {
@@ -673,9 +673,9 @@ var J = {};
673
673
  * This source code is licensed under the MIT license found in the
674
674
  * LICENSE file in the root directory of this source tree.
675
675
  */
676
- var Or;
677
- function Wo() {
678
- return Or || (Or = 1, process.env.NODE_ENV !== "production" && function() {
676
+ var Rr;
677
+ function Ko() {
678
+ return Rr || (Rr = 1, process.env.NODE_ENV !== "production" && function() {
679
679
  var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, o = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, a = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, c = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, h = t ? Symbol.for("react.suspense_list") : 60120, g = t ? Symbol.for("react.memo") : 60115, m = t ? Symbol.for("react.lazy") : 60116, b = t ? Symbol.for("react.block") : 60121, v = t ? Symbol.for("react.fundamental") : 60117, S = t ? Symbol.for("react.responder") : 60118, w = t ? Symbol.for("react.scope") : 60119;
680
680
  function p(y) {
681
681
  return typeof y == "string" || typeof y == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
@@ -729,7 +729,7 @@ function Wo() {
729
729
  function z(y) {
730
730
  return typeof y == "object" && y !== null && y.$$typeof === e;
731
731
  }
732
- function k(y) {
732
+ function R(y) {
733
733
  return E(y) === d;
734
734
  }
735
735
  function D(y) {
@@ -747,36 +747,36 @@ function Wo() {
747
747
  function T(y) {
748
748
  return E(y) === i;
749
749
  }
750
- function R(y) {
750
+ function k(y) {
751
751
  return E(y) === o;
752
752
  }
753
753
  function q(y) {
754
754
  return E(y) === f;
755
755
  }
756
- J.AsyncMode = u, J.ConcurrentMode = I, J.ContextConsumer = O, J.ContextProvider = j, J.Element = ee, J.ForwardRef = Y, J.Fragment = U, J.Lazy = te, J.Memo = H, J.Portal = V, J.Profiler = de, J.StrictMode = B, J.Suspense = W, J.isAsyncMode = ae, J.isConcurrentMode = x, J.isContextConsumer = P, J.isContextProvider = $, J.isElement = z, J.isForwardRef = k, J.isFragment = D, J.isLazy = _, J.isMemo = A, J.isPortal = C, J.isProfiler = T, J.isStrictMode = R, J.isSuspense = q, J.isValidElementType = p, J.typeOf = E;
756
+ J.AsyncMode = u, J.ConcurrentMode = I, J.ContextConsumer = O, J.ContextProvider = j, J.Element = ee, J.ForwardRef = Y, J.Fragment = U, J.Lazy = te, J.Memo = H, J.Portal = V, J.Profiler = de, J.StrictMode = B, J.Suspense = W, J.isAsyncMode = ae, J.isConcurrentMode = x, J.isContextConsumer = P, J.isContextProvider = $, J.isElement = z, J.isForwardRef = R, J.isFragment = D, J.isLazy = _, J.isMemo = A, J.isPortal = C, J.isProfiler = T, J.isStrictMode = k, J.isSuspense = q, J.isValidElementType = p, J.typeOf = E;
757
757
  }()), J;
758
758
  }
759
- process.env.NODE_ENV === "production" ? nr.exports = Uo() : nr.exports = Wo();
760
- var Qo = nr.exports, Tn = Qo, Ko = {
759
+ process.env.NODE_ENV === "production" ? nr.exports = Qo() : nr.exports = Ko();
760
+ var Yo = nr.exports, On = Yo, Go = {
761
761
  $$typeof: !0,
762
762
  render: !0,
763
763
  defaultProps: !0,
764
764
  displayName: !0,
765
765
  propTypes: !0
766
- }, Yo = {
766
+ }, Jo = {
767
767
  $$typeof: !0,
768
768
  compare: !0,
769
769
  defaultProps: !0,
770
770
  displayName: !0,
771
771
  propTypes: !0,
772
772
  type: !0
773
- }, An = {};
774
- An[Tn.ForwardRef] = Ko;
775
- An[Tn.Memo] = Yo;
776
- var Go = function(e, r, n) {
773
+ }, kn = {};
774
+ kn[On.ForwardRef] = Go;
775
+ kn[On.Memo] = Jo;
776
+ var Zo = function(e, r, n) {
777
777
  e.key + "" + r.name;
778
- }, Jo = function(e, r, n) {
779
- Go(e, r);
778
+ }, Xo = function(e, r, n) {
779
+ Zo(e, r);
780
780
  var o = e.key + "-" + r.name;
781
781
  if (e.inserted[r.name] === void 0) {
782
782
  var i = r;
@@ -785,7 +785,7 @@ var Go = function(e, r, n) {
785
785
  while (i !== void 0);
786
786
  }
787
787
  };
788
- function Zo(t) {
788
+ function ei(t) {
789
789
  for (var e = 0, r, n = 0, o = t.length; o >= 4; ++n, o -= 4)
790
790
  r = t.charCodeAt(n) & 255 | (t.charCodeAt(++n) & 255) << 8 | (t.charCodeAt(++n) & 255) << 16 | (t.charCodeAt(++n) & 255) << 24, r = /* Math.imul(k, m): */
791
791
  (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */
@@ -804,7 +804,7 @@ function Zo(t) {
804
804
  return e ^= e >>> 13, e = /* Math.imul(h, m): */
805
805
  (e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16), ((e ^ e >>> 15) >>> 0).toString(36);
806
806
  }
807
- var Xo = {
807
+ var ti = {
808
808
  animationIterationCount: 1,
809
809
  aspectRatio: 1,
810
810
  borderImageOutset: 1,
@@ -853,18 +853,18 @@ var Xo = {
853
853
  strokeMiterlimit: 1,
854
854
  strokeOpacity: 1,
855
855
  strokeWidth: 1
856
- }, ei = !1, ti = /[A-Z]|^ms/g, ri = /_EMO_([^_]+?)_([^]*?)_EMO_/g, On = function(e) {
856
+ }, ri = !1, ni = /[A-Z]|^ms/g, oi = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Rn = function(e) {
857
857
  return e.charCodeAt(1) === 45;
858
- }, Rr = function(e) {
858
+ }, zr = function(e) {
859
859
  return e != null && typeof e != "boolean";
860
- }, Ht = /* @__PURE__ */ po(function(t) {
861
- return On(t) ? t : t.replace(ti, "-$&").toLowerCase();
862
- }), kr = function(e, r) {
860
+ }, Ht = /* @__PURE__ */ mo(function(t) {
861
+ return Rn(t) ? t : t.replace(ni, "-$&").toLowerCase();
862
+ }), Fr = function(e, r) {
863
863
  switch (e) {
864
864
  case "animation":
865
865
  case "animationName":
866
866
  if (typeof r == "string")
867
- return r.replace(ri, function(n, o, i) {
867
+ return r.replace(oi, function(n, o, i) {
868
868
  return Te = {
869
869
  name: o,
870
870
  styles: i,
@@ -872,9 +872,9 @@ var Xo = {
872
872
  }, o;
873
873
  });
874
874
  }
875
- return Xo[e] !== 1 && !On(e) && typeof r == "number" && r !== 0 ? r + "px" : r;
876
- }, ni = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
877
- function et(t, e, r) {
875
+ return ti[e] !== 1 && !Rn(e) && typeof r == "number" && r !== 0 ? r + "px" : r;
876
+ }, ii = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
877
+ function tt(t, e, r) {
878
878
  if (r == null)
879
879
  return "";
880
880
  var n = r;
@@ -904,12 +904,12 @@ function et(t, e, r) {
904
904
  var a = i.styles + ";";
905
905
  return a;
906
906
  }
907
- return oi(t, e, r);
907
+ return si(t, e, r);
908
908
  }
909
909
  case "function": {
910
910
  if (t !== void 0) {
911
911
  var l = Te, c = r(t);
912
- return Te = l, et(t, e, c);
912
+ return Te = l, tt(t, e, c);
913
913
  }
914
914
  break;
915
915
  }
@@ -917,25 +917,25 @@ function et(t, e, r) {
917
917
  var d = r;
918
918
  return d;
919
919
  }
920
- function oi(t, e, r) {
920
+ function si(t, e, r) {
921
921
  var n = "";
922
922
  if (Array.isArray(r))
923
923
  for (var o = 0; o < r.length; o++)
924
- n += et(t, e, r[o]) + ";";
924
+ n += tt(t, e, r[o]) + ";";
925
925
  else
926
926
  for (var i in r) {
927
927
  var s = r[i];
928
928
  if (typeof s != "object") {
929
929
  var a = s;
930
- Rr(a) && (n += Ht(i) + ":" + kr(i, a) + ";");
930
+ zr(a) && (n += Ht(i) + ":" + Fr(i, a) + ";");
931
931
  } else {
932
- if (i === "NO_COMPONENT_SELECTOR" && ei)
933
- throw new Error(ni);
932
+ if (i === "NO_COMPONENT_SELECTOR" && ri)
933
+ throw new Error(ii);
934
934
  if (Array.isArray(s) && typeof s[0] == "string" && e == null)
935
935
  for (var l = 0; l < s.length; l++)
936
- Rr(s[l]) && (n += Ht(i) + ":" + kr(i, s[l]) + ";");
936
+ zr(s[l]) && (n += Ht(i) + ":" + Fr(i, s[l]) + ";");
937
937
  else {
938
- var c = et(t, e, s);
938
+ var c = tt(t, e, s);
939
939
  switch (i) {
940
940
  case "animation":
941
941
  case "animationName": {
@@ -950,54 +950,54 @@ function oi(t, e, r) {
950
950
  }
951
951
  return n;
952
952
  }
953
- var zr = /label:\s*([^\s;{]+)\s*(;|$)/g, Te;
954
- function ii(t, e, r) {
953
+ var Nr = /label:\s*([^\s;{]+)\s*(;|$)/g, Te;
954
+ function ai(t, e, r) {
955
955
  if (t.length === 1 && typeof t[0] == "object" && t[0] !== null && t[0].styles !== void 0)
956
956
  return t[0];
957
957
  var n = !0, o = "";
958
958
  Te = void 0;
959
959
  var i = t[0];
960
960
  if (i == null || i.raw === void 0)
961
- n = !1, o += et(r, e, i);
961
+ n = !1, o += tt(r, e, i);
962
962
  else {
963
963
  var s = i;
964
964
  o += s[0];
965
965
  }
966
966
  for (var a = 1; a < t.length; a++)
967
- if (o += et(r, e, t[a]), n) {
967
+ if (o += tt(r, e, t[a]), n) {
968
968
  var l = i;
969
969
  o += l[a];
970
970
  }
971
- zr.lastIndex = 0;
972
- for (var c = "", d; (d = zr.exec(o)) !== null; )
971
+ Nr.lastIndex = 0;
972
+ for (var c = "", d; (d = Nr.exec(o)) !== null; )
973
973
  c += "-" + d[1];
974
- var f = Zo(o) + c;
974
+ var f = ei(o) + c;
975
975
  return {
976
976
  name: f,
977
977
  styles: o,
978
978
  next: Te
979
979
  };
980
980
  }
981
- var si = L.useInsertionEffect ? L.useInsertionEffect : !1, Fr = si || L.useLayoutEffect, Rn = /* @__PURE__ */ L.createContext(
981
+ var li = L.useInsertionEffect ? L.useInsertionEffect : !1, Ir = li || L.useLayoutEffect, zn = /* @__PURE__ */ L.createContext(
982
982
  // we're doing this to avoid preconstruct's dead code elimination in this one case
983
983
  // because this module is primarily intended for the browser and node
984
984
  // but it's also required in react native and similar environments sometimes
985
985
  // and we could have a special build just for that
986
986
  // but this is much easier and the native packages
987
987
  // might use a different theme context in the future anyway
988
- typeof HTMLElement < "u" ? /* @__PURE__ */ Ho({
988
+ typeof HTMLElement < "u" ? /* @__PURE__ */ Uo({
989
989
  key: "css"
990
990
  }) : null
991
991
  );
992
- Rn.Provider;
993
- var ai = function(e) {
994
- return /* @__PURE__ */ co(function(r, n) {
995
- var o = bn(Rn);
992
+ zn.Provider;
993
+ var ci = function(e) {
994
+ return /* @__PURE__ */ fo(function(r, n) {
995
+ var o = Sn(zn);
996
996
  return e(r, o, n);
997
997
  });
998
- }, At = /* @__PURE__ */ L.createContext({}), li = /* @__PURE__ */ ai(function(t, e) {
999
- var r = t.styles, n = ii([r], void 0, L.useContext(At)), o = L.useRef();
1000
- return Fr(function() {
998
+ }, Ot = /* @__PURE__ */ L.createContext({}), ui = /* @__PURE__ */ ci(function(t, e) {
999
+ var r = t.styles, n = ai([r], void 0, L.useContext(Ot)), o = L.useRef();
1000
+ return Ir(function() {
1001
1001
  var i = e.key + "-global", s = new e.sheet.constructor({
1002
1002
  key: i,
1003
1003
  nonce: e.sheet.nonce,
@@ -1007,19 +1007,19 @@ var ai = function(e) {
1007
1007
  return e.sheet.tags.length && (s.before = e.sheet.tags[0]), l !== null && (a = !0, l.setAttribute("data-emotion", i), s.hydrate([l])), o.current = [s, a], function() {
1008
1008
  s.flush();
1009
1009
  };
1010
- }, [e]), Fr(function() {
1010
+ }, [e]), Ir(function() {
1011
1011
  var i = o.current, s = i[0], a = i[1];
1012
1012
  if (a) {
1013
1013
  i[1] = !1;
1014
1014
  return;
1015
1015
  }
1016
- if (n.next !== void 0 && Jo(e, n.next), s.tags.length) {
1016
+ if (n.next !== void 0 && Xo(e, n.next), s.tags.length) {
1017
1017
  var l = s.tags[s.tags.length - 1].nextElementSibling;
1018
1018
  s.before = l, s.flush();
1019
1019
  }
1020
1020
  e.insert("", n, s, !1);
1021
1021
  }, [e, n.name]), null;
1022
- }), or = { exports: {} }, ct = { exports: {} }, Z = {};
1022
+ }), or = { exports: {} }, ut = { exports: {} }, Z = {};
1023
1023
  /** @license React v16.13.1
1024
1024
  * react-is.production.min.js
1025
1025
  *
@@ -1028,10 +1028,10 @@ var ai = function(e) {
1028
1028
  * This source code is licensed under the MIT license found in the
1029
1029
  * LICENSE file in the root directory of this source tree.
1030
1030
  */
1031
- var Nr;
1032
- function ci() {
1033
- if (Nr) return Z;
1034
- Nr = 1;
1031
+ var Dr;
1032
+ function di() {
1033
+ if (Dr) return Z;
1034
+ Dr = 1;
1035
1035
  var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, o = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, a = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, c = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, h = t ? Symbol.for("react.suspense_list") : 60120, g = t ? Symbol.for("react.memo") : 60115, m = t ? Symbol.for("react.lazy") : 60116, b = t ? Symbol.for("react.block") : 60121, v = t ? Symbol.for("react.fundamental") : 60117, S = t ? Symbol.for("react.responder") : 60118, w = t ? Symbol.for("react.scope") : 60119;
1036
1036
  function p(u) {
1037
1037
  if (typeof u == "object" && u !== null) {
@@ -1103,9 +1103,9 @@ var X = {};
1103
1103
  * This source code is licensed under the MIT license found in the
1104
1104
  * LICENSE file in the root directory of this source tree.
1105
1105
  */
1106
- var Ir;
1107
- function ui() {
1108
- return Ir || (Ir = 1, process.env.NODE_ENV !== "production" && function() {
1106
+ var _r;
1107
+ function fi() {
1108
+ return _r || (_r = 1, process.env.NODE_ENV !== "production" && function() {
1109
1109
  var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, o = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, a = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, c = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, h = t ? Symbol.for("react.suspense_list") : 60120, g = t ? Symbol.for("react.memo") : 60115, m = t ? Symbol.for("react.lazy") : 60116, b = t ? Symbol.for("react.block") : 60121, v = t ? Symbol.for("react.fundamental") : 60117, S = t ? Symbol.for("react.responder") : 60118, w = t ? Symbol.for("react.scope") : 60119;
1110
1110
  function p(y) {
1111
1111
  return typeof y == "string" || typeof y == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
@@ -1159,7 +1159,7 @@ function ui() {
1159
1159
  function z(y) {
1160
1160
  return typeof y == "object" && y !== null && y.$$typeof === e;
1161
1161
  }
1162
- function k(y) {
1162
+ function R(y) {
1163
1163
  return E(y) === d;
1164
1164
  }
1165
1165
  function D(y) {
@@ -1177,28 +1177,28 @@ function ui() {
1177
1177
  function T(y) {
1178
1178
  return E(y) === i;
1179
1179
  }
1180
- function R(y) {
1180
+ function k(y) {
1181
1181
  return E(y) === o;
1182
1182
  }
1183
1183
  function q(y) {
1184
1184
  return E(y) === f;
1185
1185
  }
1186
- X.AsyncMode = u, X.ConcurrentMode = I, X.ContextConsumer = O, X.ContextProvider = j, X.Element = ee, X.ForwardRef = Y, X.Fragment = U, X.Lazy = te, X.Memo = H, X.Portal = V, X.Profiler = de, X.StrictMode = B, X.Suspense = W, X.isAsyncMode = ae, X.isConcurrentMode = x, X.isContextConsumer = P, X.isContextProvider = $, X.isElement = z, X.isForwardRef = k, X.isFragment = D, X.isLazy = _, X.isMemo = A, X.isPortal = C, X.isProfiler = T, X.isStrictMode = R, X.isSuspense = q, X.isValidElementType = p, X.typeOf = E;
1186
+ X.AsyncMode = u, X.ConcurrentMode = I, X.ContextConsumer = O, X.ContextProvider = j, X.Element = ee, X.ForwardRef = Y, X.Fragment = U, X.Lazy = te, X.Memo = H, X.Portal = V, X.Profiler = de, X.StrictMode = B, X.Suspense = W, X.isAsyncMode = ae, X.isConcurrentMode = x, X.isContextConsumer = P, X.isContextProvider = $, X.isElement = z, X.isForwardRef = R, X.isFragment = D, X.isLazy = _, X.isMemo = A, X.isPortal = C, X.isProfiler = T, X.isStrictMode = k, X.isSuspense = q, X.isValidElementType = p, X.typeOf = E;
1187
1187
  }()), X;
1188
1188
  }
1189
- var Dr;
1190
- function kn() {
1191
- return Dr || (Dr = 1, process.env.NODE_ENV === "production" ? ct.exports = ci() : ct.exports = ui()), ct.exports;
1189
+ var Lr;
1190
+ function Fn() {
1191
+ return Lr || (Lr = 1, process.env.NODE_ENV === "production" ? ut.exports = di() : ut.exports = fi()), ut.exports;
1192
1192
  }
1193
1193
  /*
1194
1194
  object-assign
1195
1195
  (c) Sindre Sorhus
1196
1196
  @license MIT
1197
1197
  */
1198
- var qt, _r;
1199
- function di() {
1200
- if (_r) return qt;
1201
- _r = 1;
1198
+ var qt, jr;
1199
+ function pi() {
1200
+ if (jr) return qt;
1201
+ jr = 1;
1202
1202
  var t = Object.getOwnPropertySymbols, e = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
1203
1203
  function n(i) {
1204
1204
  if (i == null)
@@ -1241,25 +1241,25 @@ function di() {
1241
1241
  return l;
1242
1242
  }, qt;
1243
1243
  }
1244
- var Ut, Lr;
1245
- function cr() {
1246
- if (Lr) return Ut;
1247
- Lr = 1;
1244
+ var Ut, Mr;
1245
+ function dr() {
1246
+ if (Mr) return Ut;
1247
+ Mr = 1;
1248
1248
  var t = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
1249
1249
  return Ut = t, Ut;
1250
1250
  }
1251
- var Wt, jr;
1252
- function zn() {
1253
- return jr || (jr = 1, Wt = Function.call.bind(Object.prototype.hasOwnProperty)), Wt;
1251
+ var Wt, Br;
1252
+ function Nn() {
1253
+ return Br || (Br = 1, Wt = Function.call.bind(Object.prototype.hasOwnProperty)), Wt;
1254
1254
  }
1255
- var Qt, Mr;
1256
- function fi() {
1257
- if (Mr) return Qt;
1258
- Mr = 1;
1255
+ var Qt, Vr;
1256
+ function hi() {
1257
+ if (Vr) return Qt;
1258
+ Vr = 1;
1259
1259
  var t = function() {
1260
1260
  };
1261
1261
  if (process.env.NODE_ENV !== "production") {
1262
- var e = cr(), r = {}, n = zn();
1262
+ var e = dr(), r = {}, n = Nn();
1263
1263
  t = function(i) {
1264
1264
  var s = "Warning: " + i;
1265
1265
  typeof console < "u" && console.error(s);
@@ -1301,11 +1301,11 @@ function fi() {
1301
1301
  process.env.NODE_ENV !== "production" && (r = {});
1302
1302
  }, Qt = o, Qt;
1303
1303
  }
1304
- var Kt, Br;
1305
- function pi() {
1306
- if (Br) return Kt;
1307
- Br = 1;
1308
- var t = kn(), e = di(), r = cr(), n = zn(), o = fi(), i = function() {
1304
+ var Kt, Hr;
1305
+ function mi() {
1306
+ if (Hr) return Kt;
1307
+ Hr = 1;
1308
+ var t = Fn(), e = pi(), r = dr(), n = Nn(), o = hi(), i = function() {
1309
1309
  };
1310
1310
  process.env.NODE_ENV !== "production" && (i = function(a) {
1311
1311
  var l = "Warning: " + a;
@@ -1356,8 +1356,8 @@ function pi() {
1356
1356
  function v(x) {
1357
1357
  if (process.env.NODE_ENV !== "production")
1358
1358
  var P = {}, $ = 0;
1359
- function z(D, _, A, C, T, R, q) {
1360
- if (C = C || h, R = R || A, q !== r) {
1359
+ function z(D, _, A, C, T, k, q) {
1360
+ if (C = C || h, k = k || A, q !== r) {
1361
1361
  if (l) {
1362
1362
  var y = new Error(
1363
1363
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
@@ -1367,22 +1367,22 @@ function pi() {
1367
1367
  var le = C + ":" + A;
1368
1368
  !P[le] && // Avoid spamming the console because they are often not actionable except for lib authors
1369
1369
  $ < 3 && (i(
1370
- "You are manually calling a React.PropTypes validation function for the `" + R + "` prop on `" + C + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
1370
+ "You are manually calling a React.PropTypes validation function for the `" + k + "` prop on `" + C + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
1371
1371
  ), P[le] = !0, $++);
1372
1372
  }
1373
1373
  }
1374
- return _[A] == null ? D ? _[A] === null ? new b("The " + T + " `" + R + "` is marked as required " + ("in `" + C + "`, but its value is `null`.")) : new b("The " + T + " `" + R + "` is marked as required in " + ("`" + C + "`, but its value is `undefined`.")) : null : x(_, A, C, T, R);
1374
+ return _[A] == null ? D ? _[A] === null ? new b("The " + T + " `" + k + "` is marked as required " + ("in `" + C + "`, but its value is `null`.")) : new b("The " + T + " `" + k + "` is marked as required in " + ("`" + C + "`, but its value is `undefined`.")) : null : x(_, A, C, T, k);
1375
1375
  }
1376
- var k = z.bind(null, !1);
1377
- return k.isRequired = z.bind(null, !0), k;
1376
+ var R = z.bind(null, !1);
1377
+ return R.isRequired = z.bind(null, !0), R;
1378
1378
  }
1379
1379
  function S(x) {
1380
- function P($, z, k, D, _, A) {
1380
+ function P($, z, R, D, _, A) {
1381
1381
  var C = $[z], T = B(C);
1382
1382
  if (T !== x) {
1383
- var R = W(C);
1383
+ var k = W(C);
1384
1384
  return new b(
1385
- "Invalid " + D + " `" + _ + "` of type " + ("`" + R + "` supplied to `" + k + "`, expected ") + ("`" + x + "`."),
1385
+ "Invalid " + D + " `" + _ + "` of type " + ("`" + k + "` supplied to `" + R + "`, expected ") + ("`" + x + "`."),
1386
1386
  { expectedType: x }
1387
1387
  );
1388
1388
  }
@@ -1394,50 +1394,50 @@ function pi() {
1394
1394
  return v(s);
1395
1395
  }
1396
1396
  function p(x) {
1397
- function P($, z, k, D, _) {
1397
+ function P($, z, R, D, _) {
1398
1398
  if (typeof x != "function")
1399
- return new b("Property `" + _ + "` of component `" + k + "` has invalid PropType notation inside arrayOf.");
1399
+ return new b("Property `" + _ + "` of component `" + R + "` has invalid PropType notation inside arrayOf.");
1400
1400
  var A = $[z];
1401
1401
  if (!Array.isArray(A)) {
1402
1402
  var C = B(A);
1403
- return new b("Invalid " + D + " `" + _ + "` of type " + ("`" + C + "` supplied to `" + k + "`, expected an array."));
1403
+ return new b("Invalid " + D + " `" + _ + "` of type " + ("`" + C + "` supplied to `" + R + "`, expected an array."));
1404
1404
  }
1405
1405
  for (var T = 0; T < A.length; T++) {
1406
- var R = x(A, T, k, D, _ + "[" + T + "]", r);
1407
- if (R instanceof Error)
1408
- return R;
1406
+ var k = x(A, T, R, D, _ + "[" + T + "]", r);
1407
+ if (k instanceof Error)
1408
+ return k;
1409
1409
  }
1410
1410
  return null;
1411
1411
  }
1412
1412
  return v(P);
1413
1413
  }
1414
1414
  function E() {
1415
- function x(P, $, z, k, D) {
1415
+ function x(P, $, z, R, D) {
1416
1416
  var _ = P[$];
1417
1417
  if (!a(_)) {
1418
1418
  var A = B(_);
1419
- return new b("Invalid " + k + " `" + D + "` of type " + ("`" + A + "` supplied to `" + z + "`, expected a single ReactElement."));
1419
+ return new b("Invalid " + R + " `" + D + "` of type " + ("`" + A + "` supplied to `" + z + "`, expected a single ReactElement."));
1420
1420
  }
1421
1421
  return null;
1422
1422
  }
1423
1423
  return v(x);
1424
1424
  }
1425
1425
  function u() {
1426
- function x(P, $, z, k, D) {
1426
+ function x(P, $, z, R, D) {
1427
1427
  var _ = P[$];
1428
1428
  if (!t.isValidElementType(_)) {
1429
1429
  var A = B(_);
1430
- return new b("Invalid " + k + " `" + D + "` of type " + ("`" + A + "` supplied to `" + z + "`, expected a single ReactElement type."));
1430
+ return new b("Invalid " + R + " `" + D + "` of type " + ("`" + A + "` supplied to `" + z + "`, expected a single ReactElement type."));
1431
1431
  }
1432
1432
  return null;
1433
1433
  }
1434
1434
  return v(x);
1435
1435
  }
1436
1436
  function I(x) {
1437
- function P($, z, k, D, _) {
1437
+ function P($, z, R, D, _) {
1438
1438
  if (!($[z] instanceof x)) {
1439
1439
  var A = x.name || h, C = ae($[z]);
1440
- return new b("Invalid " + D + " `" + _ + "` of type " + ("`" + C + "` supplied to `" + k + "`, expected ") + ("instance of `" + A + "`."));
1440
+ return new b("Invalid " + D + " `" + _ + "` of type " + ("`" + C + "` supplied to `" + R + "`, expected ") + ("instance of `" + A + "`."));
1441
1441
  }
1442
1442
  return null;
1443
1443
  }
@@ -1448,7 +1448,7 @@ function pi() {
1448
1448
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
1449
1449
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
1450
1450
  ) : i("Invalid argument supplied to oneOf, expected an array.")), s;
1451
- function P($, z, k, D, _) {
1451
+ function P($, z, R, D, _) {
1452
1452
  for (var A = $[z], C = 0; C < x.length; C++)
1453
1453
  if (m(A, x[C]))
1454
1454
  return null;
@@ -1456,22 +1456,22 @@ function pi() {
1456
1456
  var le = W(y);
1457
1457
  return le === "symbol" ? String(y) : y;
1458
1458
  });
1459
- return new b("Invalid " + D + " `" + _ + "` of value `" + String(A) + "` " + ("supplied to `" + k + "`, expected one of " + T + "."));
1459
+ return new b("Invalid " + D + " `" + _ + "` of value `" + String(A) + "` " + ("supplied to `" + R + "`, expected one of " + T + "."));
1460
1460
  }
1461
1461
  return v(P);
1462
1462
  }
1463
1463
  function j(x) {
1464
- function P($, z, k, D, _) {
1464
+ function P($, z, R, D, _) {
1465
1465
  if (typeof x != "function")
1466
- return new b("Property `" + _ + "` of component `" + k + "` has invalid PropType notation inside objectOf.");
1466
+ return new b("Property `" + _ + "` of component `" + R + "` has invalid PropType notation inside objectOf.");
1467
1467
  var A = $[z], C = B(A);
1468
1468
  if (C !== "object")
1469
- return new b("Invalid " + D + " `" + _ + "` of type " + ("`" + C + "` supplied to `" + k + "`, expected an object."));
1469
+ return new b("Invalid " + D + " `" + _ + "` of type " + ("`" + C + "` supplied to `" + R + "`, expected an object."));
1470
1470
  for (var T in A)
1471
1471
  if (n(A, T)) {
1472
- var R = x(A, T, k, D, _ + "." + T, r);
1473
- if (R instanceof Error)
1474
- return R;
1472
+ var k = x(A, T, R, D, _ + "." + T, r);
1473
+ if (k instanceof Error)
1474
+ return k;
1475
1475
  }
1476
1476
  return null;
1477
1477
  }
@@ -1487,9 +1487,9 @@ function pi() {
1487
1487
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ie($) + " at index " + P + "."
1488
1488
  ), s;
1489
1489
  }
1490
- function z(k, D, _, A, C) {
1491
- for (var T = [], R = 0; R < x.length; R++) {
1492
- var q = x[R], y = q(k, D, _, A, C, r);
1490
+ function z(R, D, _, A, C) {
1491
+ for (var T = [], k = 0; k < x.length; k++) {
1492
+ var q = x[k], y = q(R, D, _, A, C, r);
1493
1493
  if (y == null)
1494
1494
  return null;
1495
1495
  y.data && n(y.data, "expectedType") && T.push(y.data.expectedType);
@@ -1500,26 +1500,26 @@ function pi() {
1500
1500
  return v(z);
1501
1501
  }
1502
1502
  function Y() {
1503
- function x(P, $, z, k, D) {
1504
- return V(P[$]) ? null : new b("Invalid " + k + " `" + D + "` supplied to " + ("`" + z + "`, expected a ReactNode."));
1503
+ function x(P, $, z, R, D) {
1504
+ return V(P[$]) ? null : new b("Invalid " + R + " `" + D + "` supplied to " + ("`" + z + "`, expected a ReactNode."));
1505
1505
  }
1506
1506
  return v(x);
1507
1507
  }
1508
- function U(x, P, $, z, k) {
1508
+ function U(x, P, $, z, R) {
1509
1509
  return new b(
1510
- (x || "React class") + ": " + P + " type `" + $ + "." + z + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + k + "`."
1510
+ (x || "React class") + ": " + P + " type `" + $ + "." + z + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + R + "`."
1511
1511
  );
1512
1512
  }
1513
1513
  function te(x) {
1514
- function P($, z, k, D, _) {
1514
+ function P($, z, R, D, _) {
1515
1515
  var A = $[z], C = B(A);
1516
1516
  if (C !== "object")
1517
- return new b("Invalid " + D + " `" + _ + "` of type `" + C + "` " + ("supplied to `" + k + "`, expected `object`."));
1517
+ return new b("Invalid " + D + " `" + _ + "` of type `" + C + "` " + ("supplied to `" + R + "`, expected `object`."));
1518
1518
  for (var T in x) {
1519
- var R = x[T];
1520
- if (typeof R != "function")
1521
- return U(k, D, _, T, W(R));
1522
- var q = R(A, T, k, D, _ + "." + T, r);
1519
+ var k = x[T];
1520
+ if (typeof k != "function")
1521
+ return U(R, D, _, T, W(k));
1522
+ var q = k(A, T, R, D, _ + "." + T, r);
1523
1523
  if (q)
1524
1524
  return q;
1525
1525
  }
@@ -1528,21 +1528,21 @@ function pi() {
1528
1528
  return v(P);
1529
1529
  }
1530
1530
  function H(x) {
1531
- function P($, z, k, D, _) {
1531
+ function P($, z, R, D, _) {
1532
1532
  var A = $[z], C = B(A);
1533
1533
  if (C !== "object")
1534
- return new b("Invalid " + D + " `" + _ + "` of type `" + C + "` " + ("supplied to `" + k + "`, expected `object`."));
1534
+ return new b("Invalid " + D + " `" + _ + "` of type `" + C + "` " + ("supplied to `" + R + "`, expected `object`."));
1535
1535
  var T = e({}, $[z], x);
1536
- for (var R in T) {
1537
- var q = x[R];
1538
- if (n(x, R) && typeof q != "function")
1539
- return U(k, D, _, R, W(q));
1536
+ for (var k in T) {
1537
+ var q = x[k];
1538
+ if (n(x, k) && typeof q != "function")
1539
+ return U(R, D, _, k, W(q));
1540
1540
  if (!q)
1541
1541
  return new b(
1542
- "Invalid " + D + " `" + _ + "` key `" + R + "` supplied to `" + k + "`.\nBad object: " + JSON.stringify($[z], null, " ") + `
1542
+ "Invalid " + D + " `" + _ + "` key `" + k + "` supplied to `" + R + "`.\nBad object: " + JSON.stringify($[z], null, " ") + `
1543
1543
  Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
1544
1544
  );
1545
- var y = q(A, R, k, D, _ + "." + R, r);
1545
+ var y = q(A, k, R, D, _ + "." + k, r);
1546
1546
  if (y)
1547
1547
  return y;
1548
1548
  }
@@ -1572,8 +1572,8 @@ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
1572
1572
  return !1;
1573
1573
  } else
1574
1574
  for (; !(z = $.next()).done; ) {
1575
- var k = z.value;
1576
- if (k && !V(k[1]))
1575
+ var R = z.value;
1576
+ if (R && !V(R[1]))
1577
1577
  return !1;
1578
1578
  }
1579
1579
  } else
@@ -1622,11 +1622,11 @@ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
1622
1622
  return g.checkPropTypes = o, g.resetWarningCache = o.resetWarningCache, g.PropTypes = g, g;
1623
1623
  }, Kt;
1624
1624
  }
1625
- var Yt, Vr;
1626
- function hi() {
1627
- if (Vr) return Yt;
1628
- Vr = 1;
1629
- var t = cr();
1625
+ var Yt, qr;
1626
+ function gi() {
1627
+ if (qr) return Yt;
1628
+ qr = 1;
1629
+ var t = dr();
1630
1630
  function e() {
1631
1631
  }
1632
1632
  function r() {
@@ -1671,25 +1671,25 @@ function hi() {
1671
1671
  }, Yt;
1672
1672
  }
1673
1673
  if (process.env.NODE_ENV !== "production") {
1674
- var mi = kn(), gi = !0;
1675
- or.exports = pi()(mi.isElement, gi);
1674
+ var yi = Fn(), bi = !0;
1675
+ or.exports = mi()(yi.isElement, bi);
1676
1676
  } else
1677
- or.exports = hi()();
1678
- var yi = or.exports;
1679
- const M = /* @__PURE__ */ qo(yi);
1680
- function bi(t) {
1677
+ or.exports = gi()();
1678
+ var vi = or.exports;
1679
+ const M = /* @__PURE__ */ Wo(vi);
1680
+ function Si(t) {
1681
1681
  return t == null || Object.keys(t).length === 0;
1682
1682
  }
1683
- function mt(t) {
1683
+ function gt(t) {
1684
1684
  const {
1685
1685
  styles: e,
1686
1686
  defaultTheme: r = {}
1687
1687
  } = t;
1688
- return /* @__PURE__ */ ue(li, {
1689
- styles: typeof e == "function" ? (o) => e(bi(o) ? r : o) : e
1688
+ return /* @__PURE__ */ ue(ui, {
1689
+ styles: typeof e == "function" ? (o) => e(Si(o) ? r : o) : e
1690
1690
  });
1691
1691
  }
1692
- process.env.NODE_ENV !== "production" && (mt.propTypes = {
1692
+ process.env.NODE_ENV !== "production" && (gt.propTypes = {
1693
1693
  defaultTheme: M.object,
1694
1694
  styles: M.oneOfType([M.array, M.string, M.object, M.func])
1695
1695
  });
@@ -1708,12 +1708,12 @@ function Me(t) {
1708
1708
  const e = Object.getPrototypeOf(t);
1709
1709
  return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t);
1710
1710
  }
1711
- function Fn(t) {
1711
+ function In(t) {
1712
1712
  if (!Me(t))
1713
1713
  return t;
1714
1714
  const e = {};
1715
1715
  return Object.keys(t).forEach((r) => {
1716
- e[r] = Fn(t[r]);
1716
+ e[r] = In(t[r]);
1717
1717
  }), e;
1718
1718
  }
1719
1719
  function Ee(t, e, r = {
@@ -1722,10 +1722,10 @@ function Ee(t, e, r = {
1722
1722
  const n = r.clone ? F({}, t) : t;
1723
1723
  return Me(t) && Me(e) && Object.keys(e).forEach((o) => {
1724
1724
  Me(e[o]) && // Avoid prototype pollution
1725
- Object.prototype.hasOwnProperty.call(t, o) && Me(t[o]) ? n[o] = Ee(t[o], e[o], r) : r.clone ? n[o] = Me(e[o]) ? Fn(e[o]) : e[o] : n[o] = e[o];
1725
+ Object.prototype.hasOwnProperty.call(t, o) && Me(t[o]) ? n[o] = Ee(t[o], e[o], r) : r.clone ? n[o] = Me(e[o]) ? In(e[o]) : e[o] : n[o] = e[o];
1726
1726
  }), n;
1727
1727
  }
1728
- const vi = ["values", "unit", "step"], Si = (t) => {
1728
+ const xi = ["values", "unit", "step"], Ci = (t) => {
1729
1729
  const e = Object.keys(t).map((r) => ({
1730
1730
  key: r,
1731
1731
  val: t[r]
@@ -1734,7 +1734,7 @@ const vi = ["values", "unit", "step"], Si = (t) => {
1734
1734
  [n.key]: n.val
1735
1735
  }), {});
1736
1736
  };
1737
- function Nn(t) {
1737
+ function Dn(t) {
1738
1738
  const {
1739
1739
  // The breakpoint **start** at this value.
1740
1740
  // For instance with the first breakpoint xs: [xs, sm).
@@ -1752,7 +1752,7 @@ function Nn(t) {
1752
1752
  },
1753
1753
  unit: r = "px",
1754
1754
  step: n = 5
1755
- } = t, o = Fe(t, vi), i = Si(e), s = Object.keys(i);
1755
+ } = t, o = Fe(t, xi), i = Ci(e), s = Object.keys(i);
1756
1756
  function a(h) {
1757
1757
  return `@media (min-width:${typeof e[h] == "number" ? e[h] : h}${r})`;
1758
1758
  }
@@ -1781,16 +1781,16 @@ function Nn(t) {
1781
1781
  unit: r
1782
1782
  }, o);
1783
1783
  }
1784
- const xi = {
1784
+ const wi = {
1785
1785
  borderRadius: 4
1786
1786
  }, Ne = process.env.NODE_ENV !== "production" ? M.oneOfType([M.number, M.string, M.object, M.array]) : {};
1787
- function Ge(t, e) {
1787
+ function Je(t, e) {
1788
1788
  return e ? Ee(t, e, {
1789
1789
  clone: !1
1790
1790
  // No need to clone deep, it's way faster.
1791
1791
  }) : t;
1792
1792
  }
1793
- const ur = {
1793
+ const fr = {
1794
1794
  xs: 0,
1795
1795
  // phone
1796
1796
  sm: 600,
@@ -1801,22 +1801,22 @@ const ur = {
1801
1801
  // desktop
1802
1802
  xl: 1536
1803
1803
  // large screen
1804
- }, Hr = {
1804
+ }, Ur = {
1805
1805
  // Sorted ASC by size. That's important.
1806
1806
  // It can't be configured as it's used statically for propTypes.
1807
1807
  keys: ["xs", "sm", "md", "lg", "xl"],
1808
- up: (t) => `@media (min-width:${ur[t]}px)`
1808
+ up: (t) => `@media (min-width:${fr[t]}px)`
1809
1809
  };
1810
1810
  function ze(t, e, r) {
1811
1811
  const n = t.theme || {};
1812
1812
  if (Array.isArray(e)) {
1813
- const i = n.breakpoints || Hr;
1813
+ const i = n.breakpoints || Ur;
1814
1814
  return e.reduce((s, a, l) => (s[i.up(i.keys[l])] = r(e[l]), s), {});
1815
1815
  }
1816
1816
  if (typeof e == "object") {
1817
- const i = n.breakpoints || Hr;
1817
+ const i = n.breakpoints || Ur;
1818
1818
  return Object.keys(e).reduce((s, a) => {
1819
- if (Object.keys(i.values || ur).indexOf(a) !== -1) {
1819
+ if (Object.keys(i.values || fr).indexOf(a) !== -1) {
1820
1820
  const l = i.up(a);
1821
1821
  s[l] = r(e[a], a);
1822
1822
  } else {
@@ -1828,25 +1828,25 @@ function ze(t, e, r) {
1828
1828
  }
1829
1829
  return r(e);
1830
1830
  }
1831
- function Ci(t = {}) {
1831
+ function Ei(t = {}) {
1832
1832
  var e;
1833
1833
  return ((e = t.keys) == null ? void 0 : e.reduce((n, o) => {
1834
1834
  const i = t.up(o);
1835
1835
  return n[i] = {}, n;
1836
1836
  }, {})) || {};
1837
1837
  }
1838
- function wi(t, e) {
1838
+ function Pi(t, e) {
1839
1839
  return t.reduce((r, n) => {
1840
1840
  const o = r[n];
1841
1841
  return (!o || Object.keys(o).length === 0) && delete r[n], r;
1842
1842
  }, e);
1843
1843
  }
1844
- function In(t) {
1844
+ function _n(t) {
1845
1845
  if (typeof t != "string")
1846
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : gt(7));
1846
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : yt(7));
1847
1847
  return t.charAt(0).toUpperCase() + t.slice(1);
1848
1848
  }
1849
- function Ot(t, e, r = !0) {
1849
+ function kt(t, e, r = !0) {
1850
1850
  if (!e || typeof e != "string")
1851
1851
  return null;
1852
1852
  if (t && t.vars && r) {
@@ -1856,9 +1856,9 @@ function Ot(t, e, r = !0) {
1856
1856
  }
1857
1857
  return e.split(".").reduce((n, o) => n && n[o] != null ? n[o] : null, t);
1858
1858
  }
1859
- function bt(t, e, r, n = r) {
1859
+ function vt(t, e, r, n = r) {
1860
1860
  let o;
1861
- return typeof t == "function" ? o = t(r) : Array.isArray(t) ? o = t[r] || n : o = Ot(t, r) || n, e && (o = e(o, n, t)), o;
1861
+ return typeof t == "function" ? o = t(r) : Array.isArray(t) ? o = t[r] || n : o = kt(t, r) || n, e && (o = e(o, n, t)), o;
1862
1862
  }
1863
1863
  function oe(t) {
1864
1864
  const {
@@ -1869,10 +1869,10 @@ function oe(t) {
1869
1869
  } = t, i = (s) => {
1870
1870
  if (s[e] == null)
1871
1871
  return null;
1872
- const a = s[e], l = s.theme, c = Ot(l, n) || {};
1872
+ const a = s[e], l = s.theme, c = kt(l, n) || {};
1873
1873
  return ze(s, a, (f) => {
1874
- let h = bt(c, o, f);
1875
- return f === h && typeof f == "string" && (h = bt(c, o, `${e}${f === "default" ? "" : In(f)}`, f)), r === !1 ? h : {
1874
+ let h = vt(c, o, f);
1875
+ return f === h && typeof f == "string" && (h = vt(c, o, `${e}${f === "default" ? "" : _n(f)}`, f)), r === !1 ? h : {
1876
1876
  [r]: h
1877
1877
  };
1878
1878
  });
@@ -1881,80 +1881,80 @@ function oe(t) {
1881
1881
  [e]: Ne
1882
1882
  } : {}, i.filterProps = [e], i;
1883
1883
  }
1884
- function Ei(t) {
1884
+ function $i(t) {
1885
1885
  const e = {};
1886
1886
  return (r) => (e[r] === void 0 && (e[r] = t(r)), e[r]);
1887
1887
  }
1888
- const Pi = {
1888
+ const Ti = {
1889
1889
  m: "margin",
1890
1890
  p: "padding"
1891
- }, $i = {
1891
+ }, Ai = {
1892
1892
  t: "Top",
1893
1893
  r: "Right",
1894
1894
  b: "Bottom",
1895
1895
  l: "Left",
1896
1896
  x: ["Left", "Right"],
1897
1897
  y: ["Top", "Bottom"]
1898
- }, qr = {
1898
+ }, Wr = {
1899
1899
  marginX: "mx",
1900
1900
  marginY: "my",
1901
1901
  paddingX: "px",
1902
1902
  paddingY: "py"
1903
- }, Ti = Ei((t) => {
1903
+ }, Oi = $i((t) => {
1904
1904
  if (t.length > 2)
1905
- if (qr[t])
1906
- t = qr[t];
1905
+ if (Wr[t])
1906
+ t = Wr[t];
1907
1907
  else
1908
1908
  return [t];
1909
- const [e, r] = t.split(""), n = Pi[e], o = $i[r] || "";
1909
+ const [e, r] = t.split(""), n = Ti[e], o = Ai[r] || "";
1910
1910
  return Array.isArray(o) ? o.map((i) => n + i) : [n + o];
1911
- }), Rt = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], kt = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Ai = [...Rt, ...kt];
1912
- function it(t, e, r, n) {
1911
+ }), Rt = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], zt = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], ki = [...Rt, ...zt];
1912
+ function st(t, e, r, n) {
1913
1913
  var o;
1914
- const i = (o = Ot(t, e, !1)) != null ? o : r;
1914
+ const i = (o = kt(t, e, !1)) != null ? o : r;
1915
1915
  return typeof i == "number" ? (s) => typeof s == "string" ? s : (process.env.NODE_ENV !== "production" && typeof s != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${s}.`), i * s) : Array.isArray(i) ? (s) => typeof s == "string" ? s : (process.env.NODE_ENV !== "production" && (Number.isInteger(s) ? s > i.length - 1 && console.error([`MUI: The value provided (${s}) overflows.`, `The supported values are: ${JSON.stringify(i)}.`, `${s} > ${i.length - 1}, you need to add the missing values.`].join(`
1916
1916
  `)) : console.error([`MUI: The \`theme.${e}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${e}\` as a number.`].join(`
1917
1917
  `))), i[s]) : typeof i == "function" ? i : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${e}\` value (${i}) is invalid.`, "It should be a number, an array or a function."].join(`
1918
1918
  `)), () => {
1919
1919
  });
1920
1920
  }
1921
- function Dn(t) {
1922
- return it(t, "spacing", 8, "spacing");
1921
+ function Ln(t) {
1922
+ return st(t, "spacing", 8, "spacing");
1923
1923
  }
1924
- function st(t, e) {
1924
+ function at(t, e) {
1925
1925
  if (typeof e == "string" || e == null)
1926
1926
  return e;
1927
1927
  const r = Math.abs(e), n = t(r);
1928
1928
  return e >= 0 ? n : typeof n == "number" ? -n : `-${n}`;
1929
1929
  }
1930
- function Oi(t, e) {
1931
- return (r) => t.reduce((n, o) => (n[o] = st(e, r), n), {});
1930
+ function Ri(t, e) {
1931
+ return (r) => t.reduce((n, o) => (n[o] = at(e, r), n), {});
1932
1932
  }
1933
- function Ri(t, e, r, n) {
1933
+ function zi(t, e, r, n) {
1934
1934
  if (e.indexOf(r) === -1)
1935
1935
  return null;
1936
- const o = Ti(r), i = Oi(o, n), s = t[r];
1936
+ const o = Oi(r), i = Ri(o, n), s = t[r];
1937
1937
  return ze(t, s, i);
1938
1938
  }
1939
- function _n(t, e) {
1940
- const r = Dn(t.theme);
1941
- return Object.keys(t).map((n) => Ri(t, e, n, r)).reduce(Ge, {});
1939
+ function jn(t, e) {
1940
+ const r = Ln(t.theme);
1941
+ return Object.keys(t).map((n) => zi(t, e, n, r)).reduce(Je, {});
1942
1942
  }
1943
1943
  function re(t) {
1944
- return _n(t, Rt);
1944
+ return jn(t, Rt);
1945
1945
  }
1946
1946
  re.propTypes = process.env.NODE_ENV !== "production" ? Rt.reduce((t, e) => (t[e] = Ne, t), {}) : {};
1947
1947
  re.filterProps = Rt;
1948
1948
  function ne(t) {
1949
- return _n(t, kt);
1949
+ return jn(t, zt);
1950
1950
  }
1951
- ne.propTypes = process.env.NODE_ENV !== "production" ? kt.reduce((t, e) => (t[e] = Ne, t), {}) : {};
1952
- ne.filterProps = kt;
1953
- process.env.NODE_ENV !== "production" && Ai.reduce((t, e) => (t[e] = Ne, t), {});
1954
- function Ln(t = 8) {
1951
+ ne.propTypes = process.env.NODE_ENV !== "production" ? zt.reduce((t, e) => (t[e] = Ne, t), {}) : {};
1952
+ ne.filterProps = zt;
1953
+ process.env.NODE_ENV !== "production" && ki.reduce((t, e) => (t[e] = Ne, t), {});
1954
+ function Mn(t = 8) {
1955
1955
  if (t.mui)
1956
1956
  return t;
1957
- const e = Dn({
1957
+ const e = Ln({
1958
1958
  spacing: t
1959
1959
  }), r = (...n) => (process.env.NODE_ENV !== "production" && (n.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)), (n.length === 0 ? [1] : n).map((i) => {
1960
1960
  const s = e(i);
@@ -1962,10 +1962,10 @@ function Ln(t = 8) {
1962
1962
  }).join(" "));
1963
1963
  return r.mui = !0, r;
1964
1964
  }
1965
- function zt(...t) {
1965
+ function Ft(...t) {
1966
1966
  const e = t.reduce((n, o) => (o.filterProps.forEach((i) => {
1967
1967
  n[i] = o;
1968
- }), n), {}), r = (n) => Object.keys(n).reduce((o, i) => e[i] ? Ge(o, e[i](n)) : o, {});
1968
+ }), n), {}), r = (n) => Object.keys(n).reduce((o, i) => e[i] ? Je(o, e[i](n)) : o, {});
1969
1969
  return r.propTypes = process.env.NODE_ENV !== "production" ? t.reduce((n, o) => Object.assign(n, o.propTypes), {}) : {}, r.filterProps = t.reduce((n, o) => n.concat(o.filterProps), []), r;
1970
1970
  }
1971
1971
  function Se(t) {
@@ -1978,108 +1978,108 @@ function xe(t, e) {
1978
1978
  transform: e
1979
1979
  });
1980
1980
  }
1981
- const ki = xe("border", Se), zi = xe("borderTop", Se), Fi = xe("borderRight", Se), Ni = xe("borderBottom", Se), Ii = xe("borderLeft", Se), Di = xe("borderColor"), _i = xe("borderTopColor"), Li = xe("borderRightColor"), ji = xe("borderBottomColor"), Mi = xe("borderLeftColor"), Bi = xe("outline", Se), Vi = xe("outlineColor"), Ft = (t) => {
1981
+ const Fi = xe("border", Se), Ni = xe("borderTop", Se), Ii = xe("borderRight", Se), Di = xe("borderBottom", Se), _i = xe("borderLeft", Se), Li = xe("borderColor"), ji = xe("borderTopColor"), Mi = xe("borderRightColor"), Bi = xe("borderBottomColor"), Vi = xe("borderLeftColor"), Hi = xe("outline", Se), qi = xe("outlineColor"), Nt = (t) => {
1982
1982
  if (t.borderRadius !== void 0 && t.borderRadius !== null) {
1983
- const e = it(t.theme, "shape.borderRadius", 4, "borderRadius"), r = (n) => ({
1984
- borderRadius: st(e, n)
1983
+ const e = st(t.theme, "shape.borderRadius", 4, "borderRadius"), r = (n) => ({
1984
+ borderRadius: at(e, n)
1985
1985
  });
1986
1986
  return ze(t, t.borderRadius, r);
1987
1987
  }
1988
1988
  return null;
1989
1989
  };
1990
- Ft.propTypes = process.env.NODE_ENV !== "production" ? {
1990
+ Nt.propTypes = process.env.NODE_ENV !== "production" ? {
1991
1991
  borderRadius: Ne
1992
1992
  } : {};
1993
- Ft.filterProps = ["borderRadius"];
1994
- zt(ki, zi, Fi, Ni, Ii, Di, _i, Li, ji, Mi, Ft, Bi, Vi);
1995
- const Nt = (t) => {
1993
+ Nt.filterProps = ["borderRadius"];
1994
+ Ft(Fi, Ni, Ii, Di, _i, Li, ji, Mi, Bi, Vi, Nt, Hi, qi);
1995
+ const It = (t) => {
1996
1996
  if (t.gap !== void 0 && t.gap !== null) {
1997
- const e = it(t.theme, "spacing", 8, "gap"), r = (n) => ({
1998
- gap: st(e, n)
1997
+ const e = st(t.theme, "spacing", 8, "gap"), r = (n) => ({
1998
+ gap: at(e, n)
1999
1999
  });
2000
2000
  return ze(t, t.gap, r);
2001
2001
  }
2002
2002
  return null;
2003
2003
  };
2004
- Nt.propTypes = process.env.NODE_ENV !== "production" ? {
2004
+ It.propTypes = process.env.NODE_ENV !== "production" ? {
2005
2005
  gap: Ne
2006
2006
  } : {};
2007
- Nt.filterProps = ["gap"];
2008
- const It = (t) => {
2007
+ It.filterProps = ["gap"];
2008
+ const Dt = (t) => {
2009
2009
  if (t.columnGap !== void 0 && t.columnGap !== null) {
2010
- const e = it(t.theme, "spacing", 8, "columnGap"), r = (n) => ({
2011
- columnGap: st(e, n)
2010
+ const e = st(t.theme, "spacing", 8, "columnGap"), r = (n) => ({
2011
+ columnGap: at(e, n)
2012
2012
  });
2013
2013
  return ze(t, t.columnGap, r);
2014
2014
  }
2015
2015
  return null;
2016
2016
  };
2017
- It.propTypes = process.env.NODE_ENV !== "production" ? {
2017
+ Dt.propTypes = process.env.NODE_ENV !== "production" ? {
2018
2018
  columnGap: Ne
2019
2019
  } : {};
2020
- It.filterProps = ["columnGap"];
2021
- const Dt = (t) => {
2020
+ Dt.filterProps = ["columnGap"];
2021
+ const _t = (t) => {
2022
2022
  if (t.rowGap !== void 0 && t.rowGap !== null) {
2023
- const e = it(t.theme, "spacing", 8, "rowGap"), r = (n) => ({
2024
- rowGap: st(e, n)
2023
+ const e = st(t.theme, "spacing", 8, "rowGap"), r = (n) => ({
2024
+ rowGap: at(e, n)
2025
2025
  });
2026
2026
  return ze(t, t.rowGap, r);
2027
2027
  }
2028
2028
  return null;
2029
2029
  };
2030
- Dt.propTypes = process.env.NODE_ENV !== "production" ? {
2030
+ _t.propTypes = process.env.NODE_ENV !== "production" ? {
2031
2031
  rowGap: Ne
2032
2032
  } : {};
2033
- Dt.filterProps = ["rowGap"];
2034
- const Hi = oe({
2033
+ _t.filterProps = ["rowGap"];
2034
+ const Ui = oe({
2035
2035
  prop: "gridColumn"
2036
- }), qi = oe({
2036
+ }), Wi = oe({
2037
2037
  prop: "gridRow"
2038
- }), Ui = oe({
2038
+ }), Qi = oe({
2039
2039
  prop: "gridAutoFlow"
2040
- }), Wi = oe({
2040
+ }), Ki = oe({
2041
2041
  prop: "gridAutoColumns"
2042
- }), Qi = oe({
2042
+ }), Yi = oe({
2043
2043
  prop: "gridAutoRows"
2044
- }), Ki = oe({
2044
+ }), Gi = oe({
2045
2045
  prop: "gridTemplateColumns"
2046
- }), Yi = oe({
2046
+ }), Ji = oe({
2047
2047
  prop: "gridTemplateRows"
2048
- }), Gi = oe({
2048
+ }), Zi = oe({
2049
2049
  prop: "gridTemplateAreas"
2050
- }), Ji = oe({
2050
+ }), Xi = oe({
2051
2051
  prop: "gridArea"
2052
2052
  });
2053
- zt(Nt, It, Dt, Hi, qi, Ui, Wi, Qi, Ki, Yi, Gi, Ji);
2053
+ Ft(It, Dt, _t, Ui, Wi, Qi, Ki, Yi, Gi, Ji, Zi, Xi);
2054
2054
  function Ve(t, e) {
2055
2055
  return e === "grey" ? e : t;
2056
2056
  }
2057
- const Zi = oe({
2057
+ const es = oe({
2058
2058
  prop: "color",
2059
2059
  themeKey: "palette",
2060
2060
  transform: Ve
2061
- }), Xi = oe({
2061
+ }), ts = oe({
2062
2062
  prop: "bgcolor",
2063
2063
  cssProperty: "backgroundColor",
2064
2064
  themeKey: "palette",
2065
2065
  transform: Ve
2066
- }), es = oe({
2066
+ }), rs = oe({
2067
2067
  prop: "backgroundColor",
2068
2068
  themeKey: "palette",
2069
2069
  transform: Ve
2070
2070
  });
2071
- zt(Zi, Xi, es);
2071
+ Ft(es, ts, rs);
2072
2072
  function ge(t) {
2073
2073
  return t <= 1 && t !== 0 ? `${t * 100}%` : t;
2074
2074
  }
2075
- const ts = oe({
2075
+ const ns = oe({
2076
2076
  prop: "width",
2077
2077
  transform: ge
2078
- }), dr = (t) => {
2078
+ }), pr = (t) => {
2079
2079
  if (t.maxWidth !== void 0 && t.maxWidth !== null) {
2080
2080
  const e = (r) => {
2081
2081
  var n, o;
2082
- const i = ((n = t.theme) == null || (n = n.breakpoints) == null || (n = n.values) == null ? void 0 : n[r]) || ur[r];
2082
+ const i = ((n = t.theme) == null || (n = n.breakpoints) == null || (n = n.values) == null ? void 0 : n[r]) || fr[r];
2083
2083
  return i ? ((o = t.theme) == null || (o = o.breakpoints) == null ? void 0 : o.unit) !== "px" ? {
2084
2084
  maxWidth: `${i}${t.theme.breakpoints.unit}`
2085
2085
  } : {
@@ -2092,17 +2092,17 @@ const ts = oe({
2092
2092
  }
2093
2093
  return null;
2094
2094
  };
2095
- dr.filterProps = ["maxWidth"];
2096
- const rs = oe({
2095
+ pr.filterProps = ["maxWidth"];
2096
+ const os = oe({
2097
2097
  prop: "minWidth",
2098
2098
  transform: ge
2099
- }), ns = oe({
2099
+ }), is = oe({
2100
2100
  prop: "height",
2101
2101
  transform: ge
2102
- }), os = oe({
2102
+ }), ss = oe({
2103
2103
  prop: "maxHeight",
2104
2104
  transform: ge
2105
- }), is = oe({
2105
+ }), as = oe({
2106
2106
  prop: "minHeight",
2107
2107
  transform: ge
2108
2108
  });
@@ -2116,11 +2116,11 @@ oe({
2116
2116
  cssProperty: "height",
2117
2117
  transform: ge
2118
2118
  });
2119
- const ss = oe({
2119
+ const ls = oe({
2120
2120
  prop: "boxSizing"
2121
2121
  });
2122
- zt(ts, dr, rs, ns, os, is, ss);
2123
- const fr = {
2122
+ Ft(ns, pr, os, is, ss, as, ls);
2123
+ const hr = {
2124
2124
  // borders
2125
2125
  border: {
2126
2126
  themeKey: "borders",
@@ -2166,7 +2166,7 @@ const fr = {
2166
2166
  },
2167
2167
  borderRadius: {
2168
2168
  themeKey: "shape.borderRadius",
2169
- style: Ft
2169
+ style: Nt
2170
2170
  },
2171
2171
  // palette
2172
2172
  color: {
@@ -2333,13 +2333,13 @@ const fr = {
2333
2333
  justifySelf: {},
2334
2334
  // grid
2335
2335
  gap: {
2336
- style: Nt
2336
+ style: It
2337
2337
  },
2338
2338
  rowGap: {
2339
- style: Dt
2339
+ style: _t
2340
2340
  },
2341
2341
  columnGap: {
2342
- style: It
2342
+ style: Dt
2343
2343
  },
2344
2344
  gridColumn: {},
2345
2345
  gridRow: {},
@@ -2368,7 +2368,7 @@ const fr = {
2368
2368
  transform: ge
2369
2369
  },
2370
2370
  maxWidth: {
2371
- style: dr
2371
+ style: pr
2372
2372
  },
2373
2373
  minWidth: {
2374
2374
  transform: ge
@@ -2405,14 +2405,14 @@ const fr = {
2405
2405
  themeKey: "typography"
2406
2406
  }
2407
2407
  };
2408
- function as(...t) {
2408
+ function cs(...t) {
2409
2409
  const e = t.reduce((n, o) => n.concat(Object.keys(o)), []), r = new Set(e);
2410
2410
  return t.every((n) => r.size === Object.keys(n).length);
2411
2411
  }
2412
- function ls(t, e) {
2412
+ function us(t, e) {
2413
2413
  return typeof t == "function" ? t(e) : t;
2414
2414
  }
2415
- function cs() {
2415
+ function ds() {
2416
2416
  function t(r, n, o, i) {
2417
2417
  const s = {
2418
2418
  [r]: n,
@@ -2434,10 +2434,10 @@ function cs() {
2434
2434
  return {
2435
2435
  [r]: n
2436
2436
  };
2437
- const h = Ot(o, c) || {};
2437
+ const h = kt(o, c) || {};
2438
2438
  return f ? f(s) : ze(s, n, (m) => {
2439
- let b = bt(h, d, m);
2440
- return m === b && typeof m == "string" && (b = bt(h, d, `${r}${m === "default" ? "" : In(m)}`, m)), l === !1 ? b : {
2439
+ let b = vt(h, d, m);
2440
+ return m === b && typeof m == "string" && (b = vt(h, d, `${r}${m === "default" ? "" : _n(m)}`, m)), l === !1 ? b : {
2441
2441
  [l]: b
2442
2442
  };
2443
2443
  });
@@ -2450,7 +2450,7 @@ function cs() {
2450
2450
  } = r || {};
2451
2451
  if (!o)
2452
2452
  return null;
2453
- const s = (n = i.unstable_sxConfig) != null ? n : fr;
2453
+ const s = (n = i.unstable_sxConfig) != null ? n : hr;
2454
2454
  function a(l) {
2455
2455
  let c = l;
2456
2456
  if (typeof l == "function")
@@ -2459,49 +2459,49 @@ function cs() {
2459
2459
  return l;
2460
2460
  if (!c)
2461
2461
  return null;
2462
- const d = Ci(i.breakpoints), f = Object.keys(d);
2462
+ const d = Ei(i.breakpoints), f = Object.keys(d);
2463
2463
  let h = d;
2464
2464
  return Object.keys(c).forEach((g) => {
2465
- const m = ls(c[g], i);
2465
+ const m = us(c[g], i);
2466
2466
  if (m != null)
2467
2467
  if (typeof m == "object")
2468
2468
  if (s[g])
2469
- h = Ge(h, t(g, m, i, s));
2469
+ h = Je(h, t(g, m, i, s));
2470
2470
  else {
2471
2471
  const b = ze({
2472
2472
  theme: i
2473
2473
  }, m, (v) => ({
2474
2474
  [g]: v
2475
2475
  }));
2476
- as(b, m) ? h[g] = e({
2476
+ cs(b, m) ? h[g] = e({
2477
2477
  sx: m,
2478
2478
  theme: i
2479
- }) : h = Ge(h, b);
2479
+ }) : h = Je(h, b);
2480
2480
  }
2481
2481
  else
2482
- h = Ge(h, t(g, m, i, s));
2483
- }), wi(f, h);
2482
+ h = Je(h, t(g, m, i, s));
2483
+ }), Pi(f, h);
2484
2484
  }
2485
2485
  return Array.isArray(o) ? o.map(a) : a(o);
2486
2486
  }
2487
2487
  return e;
2488
2488
  }
2489
- const pr = cs();
2490
- pr.filterProps = ["sx"];
2491
- function jn(t, e) {
2489
+ const mr = ds();
2490
+ mr.filterProps = ["sx"];
2491
+ function Bn(t, e) {
2492
2492
  const r = this;
2493
2493
  return r.vars && typeof r.getColorSchemeSelector == "function" ? {
2494
2494
  [r.getColorSchemeSelector(t).replace(/(\[[^\]]+\])/, "*:where($1)")]: e
2495
2495
  } : r.palette.mode === t ? e : {};
2496
2496
  }
2497
- const us = ["breakpoints", "palette", "spacing", "shape"];
2498
- function ds(t = {}, ...e) {
2497
+ const fs = ["breakpoints", "palette", "spacing", "shape"];
2498
+ function ps(t = {}, ...e) {
2499
2499
  const {
2500
2500
  breakpoints: r = {},
2501
2501
  palette: n = {},
2502
2502
  spacing: o,
2503
2503
  shape: i = {}
2504
- } = t, s = Fe(t, us), a = Nn(r), l = Ln(o);
2504
+ } = t, s = Fe(t, fs), a = Dn(r), l = Mn(o);
2505
2505
  let c = Ee({
2506
2506
  breakpoints: a,
2507
2507
  direction: "ltr",
@@ -2511,28 +2511,28 @@ function ds(t = {}, ...e) {
2511
2511
  mode: "light"
2512
2512
  }, n),
2513
2513
  spacing: l,
2514
- shape: F({}, xi, i)
2514
+ shape: F({}, wi, i)
2515
2515
  }, s);
2516
- return c.applyStyles = jn, c = e.reduce((d, f) => Ee(d, f), c), c.unstable_sxConfig = F({}, fr, s == null ? void 0 : s.unstable_sxConfig), c.unstable_sx = function(f) {
2517
- return pr({
2516
+ return c.applyStyles = Bn, c = e.reduce((d, f) => Ee(d, f), c), c.unstable_sxConfig = F({}, hr, s == null ? void 0 : s.unstable_sxConfig), c.unstable_sx = function(f) {
2517
+ return mr({
2518
2518
  sx: f,
2519
2519
  theme: this
2520
2520
  });
2521
2521
  }, c;
2522
2522
  }
2523
- function fs(t) {
2523
+ function hs(t) {
2524
2524
  return Object.keys(t).length === 0;
2525
2525
  }
2526
- function Mn(t = null) {
2527
- const e = L.useContext(At);
2528
- return !e || fs(e) ? t : e;
2526
+ function Vn(t = null) {
2527
+ const e = L.useContext(Ot);
2528
+ return !e || hs(e) ? t : e;
2529
2529
  }
2530
- const ps = ds();
2531
- function hs(t = ps) {
2532
- return Mn(t);
2530
+ const ms = ps();
2531
+ function gs(t = ms) {
2532
+ return Vn(t);
2533
2533
  }
2534
- const Ur = (t) => t, ms = () => {
2535
- let t = Ur;
2534
+ const Qr = (t) => t, ys = () => {
2535
+ let t = Qr;
2536
2536
  return {
2537
2537
  configure(e) {
2538
2538
  t = e;
@@ -2541,10 +2541,10 @@ const Ur = (t) => t, ms = () => {
2541
2541
  return t(e);
2542
2542
  },
2543
2543
  reset() {
2544
- t = Ur;
2544
+ t = Qr;
2545
2545
  }
2546
2546
  };
2547
- }, gs = ms(), ys = {
2547
+ }, bs = ys(), vs = {
2548
2548
  active: "active",
2549
2549
  checked: "checked",
2550
2550
  completed: "completed",
@@ -2558,30 +2558,30 @@ const Ur = (t) => t, ms = () => {
2558
2558
  required: "required",
2559
2559
  selected: "selected"
2560
2560
  };
2561
- function bs(t, e, r = "Mui") {
2562
- const n = ys[e];
2563
- return n ? `${r}-${n}` : `${gs.generate(t)}-${e}`;
2561
+ function Ss(t, e, r = "Mui") {
2562
+ const n = vs[e];
2563
+ return n ? `${r}-${n}` : `${bs.generate(t)}-${e}`;
2564
2564
  }
2565
- function vs(t) {
2565
+ function xs(t) {
2566
2566
  t = t.slice(1);
2567
2567
  const e = new RegExp(`.{1,${t.length >= 6 ? 2 : 1}}`, "g");
2568
2568
  let r = t.match(e);
2569
2569
  return r && r[0].length === 1 && (r = r.map((n) => n + n)), r ? `rgb${r.length === 4 ? "a" : ""}(${r.map((n, o) => o < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
2570
2570
  }
2571
- function Bn(t) {
2571
+ function Hn(t) {
2572
2572
  if (t.type)
2573
2573
  return t;
2574
2574
  if (t.charAt(0) === "#")
2575
- return Bn(vs(t));
2575
+ return Hn(xs(t));
2576
2576
  const e = t.indexOf("("), r = t.substring(0, e);
2577
2577
  if (["rgb", "rgba", "hsl", "hsla", "color"].indexOf(r) === -1)
2578
2578
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${t}\` color.
2579
- The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : gt(9, t));
2579
+ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : yt(9, t));
2580
2580
  let n = t.substring(e + 1, t.length - 1), o;
2581
2581
  if (r === "color") {
2582
2582
  if (n = n.split(" "), o = n.shift(), n.length === 4 && n[3].charAt(0) === "/" && (n[3] = n[3].slice(1)), ["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].indexOf(o) === -1)
2583
2583
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space.
2584
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : gt(10, o));
2584
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : yt(10, o));
2585
2585
  } else
2586
2586
  n = n.split(",");
2587
2587
  return n = n.map((i) => parseFloat(i)), {
@@ -2591,25 +2591,25 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
2591
2591
  };
2592
2592
  }
2593
2593
  const De = (t) => {
2594
- const e = Bn(t);
2594
+ const e = Hn(t);
2595
2595
  return e.values.slice(0, 3).map((r, n) => e.type.indexOf("hsl") !== -1 && n !== 0 ? `${r}%` : r).join(" ");
2596
- }, Ss = "exact-prop: ​";
2597
- function Vn(t) {
2596
+ }, Cs = "exact-prop: ​";
2597
+ function qn(t) {
2598
2598
  return process.env.NODE_ENV === "production" ? t : F({}, t, {
2599
- [Ss]: (e) => {
2599
+ [Cs]: (e) => {
2600
2600
  const r = Object.keys(e).filter((n) => !t.hasOwnProperty(n));
2601
2601
  return r.length > 0 ? new Error(`The following props are not supported: ${r.map((n) => `\`${n}\``).join(", ")}. Please remove them.`) : null;
2602
2602
  }
2603
2603
  });
2604
2604
  }
2605
- const hr = /* @__PURE__ */ L.createContext(null);
2606
- process.env.NODE_ENV !== "production" && (hr.displayName = "ThemeContext");
2607
- function mr() {
2608
- const t = L.useContext(hr);
2605
+ const gr = /* @__PURE__ */ L.createContext(null);
2606
+ process.env.NODE_ENV !== "production" && (gr.displayName = "ThemeContext");
2607
+ function yr() {
2608
+ const t = L.useContext(gr);
2609
2609
  return process.env.NODE_ENV !== "production" && L.useDebugValue(t), t;
2610
2610
  }
2611
- const xs = typeof Symbol == "function" && Symbol.for, Cs = xs ? Symbol.for("mui.nested") : "__THEME_NESTED__";
2612
- function ws(t, e) {
2611
+ const ws = typeof Symbol == "function" && Symbol.for, Es = ws ? Symbol.for("mui.nested") : "__THEME_NESTED__";
2612
+ function Ps(t, e) {
2613
2613
  if (typeof e == "function") {
2614
2614
  const r = e(t);
2615
2615
  return process.env.NODE_ENV !== "production" && (r || console.error(["MUI: You should return an object from your theme function, i.e.", "<ThemeProvider theme={() => ({})} />"].join(`
@@ -2617,23 +2617,23 @@ function ws(t, e) {
2617
2617
  }
2618
2618
  return F({}, t, e);
2619
2619
  }
2620
- function vt(t) {
2620
+ function St(t) {
2621
2621
  const {
2622
2622
  children: e,
2623
2623
  theme: r
2624
- } = t, n = mr();
2624
+ } = t, n = yr();
2625
2625
  process.env.NODE_ENV !== "production" && n === null && typeof r == "function" && console.error(["MUI: You are providing a theme function prop to the ThemeProvider component:", "<ThemeProvider theme={outerTheme => outerTheme} />", "", "However, no outer theme is present.", "Make sure a theme is already injected higher in the React tree or provide a theme object."].join(`
2626
2626
  `));
2627
2627
  const o = L.useMemo(() => {
2628
- const i = n === null ? r : ws(n, r);
2629
- return i != null && (i[Cs] = n !== null), i;
2628
+ const i = n === null ? r : Ps(n, r);
2629
+ return i != null && (i[Es] = n !== null), i;
2630
2630
  }, [r, n]);
2631
- return /* @__PURE__ */ ue(hr.Provider, {
2631
+ return /* @__PURE__ */ ue(gr.Provider, {
2632
2632
  value: o,
2633
2633
  children: e
2634
2634
  });
2635
2635
  }
2636
- process.env.NODE_ENV !== "production" && (vt.propTypes = {
2636
+ process.env.NODE_ENV !== "production" && (St.propTypes = {
2637
2637
  /**
2638
2638
  * Your component tree.
2639
2639
  */
@@ -2643,31 +2643,31 @@ process.env.NODE_ENV !== "production" && (vt.propTypes = {
2643
2643
  */
2644
2644
  theme: M.oneOfType([M.object, M.func]).isRequired
2645
2645
  });
2646
- process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "production" && (vt.propTypes = Vn(vt.propTypes));
2647
- const Es = ["value"], Ps = /* @__PURE__ */ L.createContext();
2648
- function Hn(t) {
2646
+ process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "production" && (St.propTypes = qn(St.propTypes));
2647
+ const $s = ["value"], Ts = /* @__PURE__ */ L.createContext();
2648
+ function Un(t) {
2649
2649
  let {
2650
2650
  value: e
2651
- } = t, r = Fe(t, Es);
2652
- return /* @__PURE__ */ ue(Ps.Provider, F({
2651
+ } = t, r = Fe(t, $s);
2652
+ return /* @__PURE__ */ ue(Ts.Provider, F({
2653
2653
  value: e ?? !0
2654
2654
  }, r));
2655
2655
  }
2656
- process.env.NODE_ENV !== "production" && (Hn.propTypes = {
2656
+ process.env.NODE_ENV !== "production" && (Un.propTypes = {
2657
2657
  children: M.node,
2658
2658
  value: M.bool
2659
2659
  });
2660
- const $s = /* @__PURE__ */ L.createContext(void 0);
2661
- function qn({
2660
+ const As = /* @__PURE__ */ L.createContext(void 0);
2661
+ function Wn({
2662
2662
  value: t,
2663
2663
  children: e
2664
2664
  }) {
2665
- return /* @__PURE__ */ ue($s.Provider, {
2665
+ return /* @__PURE__ */ ue(As.Provider, {
2666
2666
  value: t,
2667
2667
  children: e
2668
2668
  });
2669
2669
  }
2670
- process.env.NODE_ENV !== "production" && (qn.propTypes = {
2670
+ process.env.NODE_ENV !== "production" && (Wn.propTypes = {
2671
2671
  // ┌────────────────────────────── Warning ──────────────────────────────┐
2672
2672
  // │ These PropTypes are generated from the TypeScript type definitions. │
2673
2673
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
@@ -2681,8 +2681,8 @@ process.env.NODE_ENV !== "production" && (qn.propTypes = {
2681
2681
  */
2682
2682
  value: M.object
2683
2683
  });
2684
- const Wr = {};
2685
- function Qr(t, e, r, n = !1) {
2684
+ const Kr = {};
2685
+ function Yr(t, e, r, n = !1) {
2686
2686
  return L.useMemo(() => {
2687
2687
  const o = t && e[t] || e;
2688
2688
  if (typeof r == "function") {
@@ -2696,22 +2696,22 @@ function Qr(t, e, r, n = !1) {
2696
2696
  }) : F({}, e, r);
2697
2697
  }, [t, e, r, n]);
2698
2698
  }
2699
- function St(t) {
2699
+ function xt(t) {
2700
2700
  const {
2701
2701
  children: e,
2702
2702
  theme: r,
2703
2703
  themeId: n
2704
- } = t, o = Mn(Wr), i = mr() || Wr;
2704
+ } = t, o = Vn(Kr), i = yr() || Kr;
2705
2705
  process.env.NODE_ENV !== "production" && (o === null && typeof r == "function" || n && o && !o[n] && typeof r == "function") && console.error(["MUI: You are providing a theme function prop to the ThemeProvider component:", "<ThemeProvider theme={outerTheme => outerTheme} />", "", "However, no outer theme is present.", "Make sure a theme is already injected higher in the React tree or provide a theme object."].join(`
2706
2706
  `));
2707
- const s = Qr(n, o, r), a = Qr(n, i, r, !0), l = s.direction === "rtl";
2708
- return /* @__PURE__ */ ue(vt, {
2707
+ const s = Yr(n, o, r), a = Yr(n, i, r, !0), l = s.direction === "rtl";
2708
+ return /* @__PURE__ */ ue(St, {
2709
2709
  theme: a,
2710
- children: /* @__PURE__ */ ue(At.Provider, {
2710
+ children: /* @__PURE__ */ ue(Ot.Provider, {
2711
2711
  value: s,
2712
- children: /* @__PURE__ */ ue(Hn, {
2712
+ children: /* @__PURE__ */ ue(Un, {
2713
2713
  value: l,
2714
- children: /* @__PURE__ */ ue(qn, {
2714
+ children: /* @__PURE__ */ ue(Wn, {
2715
2715
  value: s == null ? void 0 : s.components,
2716
2716
  children: e
2717
2717
  })
@@ -2719,7 +2719,7 @@ function St(t) {
2719
2719
  })
2720
2720
  });
2721
2721
  }
2722
- process.env.NODE_ENV !== "production" && (St.propTypes = {
2722
+ process.env.NODE_ENV !== "production" && (xt.propTypes = {
2723
2723
  // ┌────────────────────────────── Warning ──────────────────────────────┐
2724
2724
  // │ These PropTypes are generated from the TypeScript type definitions. │
2725
2725
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -2737,16 +2737,16 @@ process.env.NODE_ENV !== "production" && (St.propTypes = {
2737
2737
  */
2738
2738
  themeId: M.string
2739
2739
  });
2740
- process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "production" && (St.propTypes = Vn(St.propTypes));
2741
- const gr = "mode", yr = "color-scheme", Un = "data-color-scheme";
2742
- function Ts(t) {
2740
+ process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "production" && (xt.propTypes = qn(xt.propTypes));
2741
+ const br = "mode", vr = "color-scheme", Qn = "data-color-scheme";
2742
+ function Os(t) {
2743
2743
  const {
2744
2744
  defaultMode: e = "light",
2745
2745
  defaultLightColorScheme: r = "light",
2746
2746
  defaultDarkColorScheme: n = "dark",
2747
- modeStorageKey: o = gr,
2748
- colorSchemeStorageKey: i = yr,
2749
- attribute: s = Un,
2747
+ modeStorageKey: o = br,
2748
+ colorSchemeStorageKey: i = vr,
2749
+ attribute: s = Qn,
2750
2750
  colorSchemeNode: a = "document.documentElement",
2751
2751
  nonce: l
2752
2752
  } = t || {};
@@ -2780,18 +2780,18 @@ try {
2780
2780
  }
2781
2781
  }, "mui-color-scheme-init");
2782
2782
  }
2783
- function Kr(t) {
2783
+ function Gr(t) {
2784
2784
  if (typeof window < "u" && t === "system")
2785
2785
  return window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
2786
2786
  }
2787
- function Wn(t, e) {
2787
+ function Kn(t, e) {
2788
2788
  if (t.mode === "light" || t.mode === "system" && t.systemMode === "light")
2789
2789
  return e("light");
2790
2790
  if (t.mode === "dark" || t.mode === "system" && t.systemMode === "dark")
2791
2791
  return e("dark");
2792
2792
  }
2793
- function As(t) {
2794
- return Wn(t, (e) => {
2793
+ function ks(t) {
2794
+ return Kn(t, (e) => {
2795
2795
  if (e === "light")
2796
2796
  return t.lightColorScheme;
2797
2797
  if (e === "dark")
@@ -2808,24 +2808,24 @@ function Gt(t, e) {
2808
2808
  }
2809
2809
  return r || e;
2810
2810
  }
2811
- function Os(t) {
2811
+ function Rs(t) {
2812
2812
  const {
2813
2813
  defaultMode: e = "light",
2814
2814
  defaultLightColorScheme: r,
2815
2815
  defaultDarkColorScheme: n,
2816
2816
  supportedColorSchemes: o = [],
2817
- modeStorageKey: i = gr,
2818
- colorSchemeStorageKey: s = yr,
2817
+ modeStorageKey: i = br,
2818
+ colorSchemeStorageKey: s = vr,
2819
2819
  storageWindow: a = typeof window > "u" ? void 0 : window
2820
2820
  } = t, l = o.join(","), [c, d] = L.useState(() => {
2821
2821
  const v = Gt(i, e), S = Gt(`${s}-light`, r), w = Gt(`${s}-dark`, n);
2822
2822
  return {
2823
2823
  mode: v,
2824
- systemMode: Kr(v),
2824
+ systemMode: Gr(v),
2825
2825
  lightColorScheme: S,
2826
2826
  darkColorScheme: w
2827
2827
  };
2828
- }), f = As(c), h = L.useCallback((v) => {
2828
+ }), f = ks(c), h = L.useCallback((v) => {
2829
2829
  d((S) => {
2830
2830
  if (v === S.mode)
2831
2831
  return S;
@@ -2836,13 +2836,13 @@ function Os(t) {
2836
2836
  }
2837
2837
  return F({}, S, {
2838
2838
  mode: w,
2839
- systemMode: Kr(w)
2839
+ systemMode: Gr(w)
2840
2840
  });
2841
2841
  });
2842
2842
  }, [i, e]), g = L.useCallback((v) => {
2843
2843
  v ? typeof v == "string" ? v && !l.includes(v) ? console.error(`\`${v}\` does not exist in \`theme.colorSchemes\`.`) : d((S) => {
2844
2844
  const w = F({}, S);
2845
- return Wn(S, (p) => {
2845
+ return Kn(S, (p) => {
2846
2846
  try {
2847
2847
  localStorage.setItem(`${s}-${p}`, v);
2848
2848
  } catch {
@@ -2915,8 +2915,8 @@ function Os(t) {
2915
2915
  setColorScheme: g
2916
2916
  });
2917
2917
  }
2918
- const Rs = ["colorSchemes", "components", "generateCssVars", "cssVarPrefix"], ks = "*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";
2919
- function zs(t) {
2918
+ const zs = ["colorSchemes", "components", "generateCssVars", "cssVarPrefix"], Fs = "*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";
2919
+ function Ns(t) {
2920
2920
  const {
2921
2921
  themeId: e,
2922
2922
  /**
@@ -2926,9 +2926,9 @@ function zs(t) {
2926
2926
  * It should also ideally have a vars object created using `prepareCssVars`.
2927
2927
  */
2928
2928
  theme: r = {},
2929
- attribute: n = Un,
2930
- modeStorageKey: o = gr,
2931
- colorSchemeStorageKey: i = yr,
2929
+ attribute: n = Qn,
2930
+ modeStorageKey: o = br,
2931
+ colorSchemeStorageKey: i = vr,
2932
2932
  defaultMode: s = "light",
2933
2933
  defaultColorScheme: a,
2934
2934
  disableTransitionOnChange: l = !1,
@@ -2941,7 +2941,7 @@ function zs(t) {
2941
2941
  const h = () => {
2942
2942
  const S = L.useContext(f);
2943
2943
  if (!S)
2944
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `useColorScheme` must be called under <CssVarsProvider />" : gt(19));
2944
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `useColorScheme` must be called under <CssVarsProvider />" : yt(19));
2945
2945
  return S;
2946
2946
  };
2947
2947
  function g(S) {
@@ -2960,23 +2960,23 @@ function zs(t) {
2960
2960
  colorSchemeSelector: H = ":root",
2961
2961
  disableNestedContext: V = !1,
2962
2962
  disableStyleSheetGeneration: de = !1
2963
- } = S, B = L.useRef(!1), W = mr(), ie = L.useContext(f), ae = !!ie && !V, x = p[e], P = x || p, {
2963
+ } = S, B = L.useRef(!1), W = yr(), ie = L.useContext(f), ae = !!ie && !V, x = p[e], P = x || p, {
2964
2964
  colorSchemes: $ = {},
2965
2965
  components: z = {},
2966
- generateCssVars: k = () => ({
2966
+ generateCssVars: R = () => ({
2967
2967
  vars: {},
2968
2968
  css: {}
2969
2969
  }),
2970
2970
  cssVarPrefix: D
2971
- } = P, _ = Fe(P, Rs), A = Object.keys($), C = typeof j == "string" ? j : j.light, T = typeof j == "string" ? j : j.dark, {
2972
- mode: R,
2971
+ } = P, _ = Fe(P, zs), A = Object.keys($), C = typeof j == "string" ? j : j.light, T = typeof j == "string" ? j : j.dark, {
2972
+ mode: k,
2973
2973
  setMode: q,
2974
2974
  systemMode: y,
2975
2975
  lightColorScheme: le,
2976
2976
  darkColorScheme: be,
2977
2977
  colorScheme: Ie,
2978
- setColorScheme: br
2979
- } = Os({
2978
+ setColorScheme: Sr
2979
+ } = Rs({
2980
2980
  supportedColorSchemes: A,
2981
2981
  defaultLightColorScheme: C,
2982
2982
  defaultDarkColorScheme: T,
@@ -2985,85 +2985,85 @@ function zs(t) {
2985
2985
  defaultMode: O,
2986
2986
  storageWindow: Y
2987
2987
  });
2988
- let Ue = R, Re = Ie;
2989
- ae && (Ue = ie.mode, Re = ie.colorScheme);
2990
- const no = Ue || (O === "system" ? s : O), oo = Re || (no === "dark" ? T : C), {
2991
- css: io,
2992
- vars: vr
2993
- } = k(), Ce = F({}, _, {
2988
+ let We = k, ke = Ie;
2989
+ ae && (We = ie.mode, ke = ie.colorScheme);
2990
+ const io = We || (O === "system" ? s : O), so = ke || (io === "dark" ? T : C), {
2991
+ css: ao,
2992
+ vars: xr
2993
+ } = R(), Ce = F({}, _, {
2994
2994
  components: z,
2995
2995
  colorSchemes: $,
2996
2996
  cssVarPrefix: D,
2997
- vars: vr,
2997
+ vars: xr,
2998
2998
  getColorSchemeSelector: (ve) => `[${I}="${ve}"] &`
2999
- }), Mt = {}, Sr = {};
3000
- Object.entries($).forEach(([ve, ke]) => {
2999
+ }), Mt = {}, Cr = {};
3000
+ Object.entries($).forEach(([ve, Re]) => {
3001
3001
  const {
3002
- css: at,
3003
- vars: ao
3004
- } = k(ve);
3005
- Ce.vars = Ee(Ce.vars, ao), ve === oo && (Object.keys(ke).forEach((Pe) => {
3006
- ke[Pe] && typeof ke[Pe] == "object" ? Ce[Pe] = F({}, Ce[Pe], ke[Pe]) : Ce[Pe] = ke[Pe];
3002
+ css: lt,
3003
+ vars: co
3004
+ } = R(ve);
3005
+ Ce.vars = Ee(Ce.vars, co), ve === so && (Object.keys(Re).forEach((Pe) => {
3006
+ Re[Pe] && typeof Re[Pe] == "object" ? Ce[Pe] = F({}, Ce[Pe], Re[Pe]) : Ce[Pe] = Re[Pe];
3007
3007
  }), Ce.palette && (Ce.palette.colorScheme = ve));
3008
- const lo = typeof j == "string" ? j : O === "dark" ? j.dark : j.light;
3009
- if (ve === lo) {
3008
+ const uo = typeof j == "string" ? j : O === "dark" ? j.dark : j.light;
3009
+ if (ve === uo) {
3010
3010
  if (d) {
3011
3011
  const Pe = {};
3012
3012
  d(D).forEach((Bt) => {
3013
- Pe[Bt] = at[Bt], delete at[Bt];
3013
+ Pe[Bt] = lt[Bt], delete lt[Bt];
3014
3014
  }), Mt[`[${I}="${ve}"]`] = Pe;
3015
3015
  }
3016
- Mt[`${H}, [${I}="${ve}"]`] = at;
3016
+ Mt[`${H}, [${I}="${ve}"]`] = lt;
3017
3017
  } else
3018
- Sr[`${H === ":root" ? "" : H}[${I}="${ve}"]`] = at;
3019
- }), Ce.vars = Ee(Ce.vars, vr), L.useEffect(() => {
3020
- Re && te && te.setAttribute(I, Re);
3021
- }, [Re, I, te]), L.useEffect(() => {
3018
+ Cr[`${H === ":root" ? "" : H}[${I}="${ve}"]`] = lt;
3019
+ }), Ce.vars = Ee(Ce.vars, xr), L.useEffect(() => {
3020
+ ke && te && te.setAttribute(I, ke);
3021
+ }, [ke, I, te]), L.useEffect(() => {
3022
3022
  let ve;
3023
3023
  if (ee && B.current && U) {
3024
- const ke = U.createElement("style");
3025
- ke.appendChild(U.createTextNode(ks)), U.head.appendChild(ke), window.getComputedStyle(U.body), ve = setTimeout(() => {
3026
- U.head.removeChild(ke);
3024
+ const Re = U.createElement("style");
3025
+ Re.appendChild(U.createTextNode(Fs)), U.head.appendChild(Re), window.getComputedStyle(U.body), ve = setTimeout(() => {
3026
+ U.head.removeChild(Re);
3027
3027
  }, 1);
3028
3028
  }
3029
3029
  return () => {
3030
3030
  clearTimeout(ve);
3031
3031
  };
3032
- }, [Re, ee, U]), L.useEffect(() => (B.current = !0, () => {
3032
+ }, [ke, ee, U]), L.useEffect(() => (B.current = !0, () => {
3033
3033
  B.current = !1;
3034
3034
  }), []);
3035
- const so = L.useMemo(() => ({
3035
+ const lo = L.useMemo(() => ({
3036
3036
  allColorSchemes: A,
3037
- colorScheme: Re,
3037
+ colorScheme: ke,
3038
3038
  darkColorScheme: be,
3039
3039
  lightColorScheme: le,
3040
- mode: Ue,
3041
- setColorScheme: br,
3040
+ mode: We,
3041
+ setColorScheme: Sr,
3042
3042
  setMode: q,
3043
3043
  systemMode: y
3044
- }), [A, Re, be, le, Ue, br, q, y]);
3045
- let xr = !0;
3046
- (de || ae && (W == null ? void 0 : W.cssVarPrefix) === D) && (xr = !1);
3047
- const Cr = /* @__PURE__ */ er(L.Fragment, {
3048
- children: [xr && /* @__PURE__ */ er(L.Fragment, {
3049
- children: [/* @__PURE__ */ ue(mt, {
3044
+ }), [A, ke, be, le, We, Sr, q, y]);
3045
+ let wr = !0;
3046
+ (de || ae && (W == null ? void 0 : W.cssVarPrefix) === D) && (wr = !1);
3047
+ const Er = /* @__PURE__ */ er(L.Fragment, {
3048
+ children: [wr && /* @__PURE__ */ er(L.Fragment, {
3049
+ children: [/* @__PURE__ */ ue(gt, {
3050
3050
  styles: {
3051
- [H]: io
3051
+ [H]: ao
3052
3052
  }
3053
- }), /* @__PURE__ */ ue(mt, {
3053
+ }), /* @__PURE__ */ ue(gt, {
3054
3054
  styles: Mt
3055
- }), /* @__PURE__ */ ue(mt, {
3056
- styles: Sr
3055
+ }), /* @__PURE__ */ ue(gt, {
3056
+ styles: Cr
3057
3057
  })]
3058
- }), /* @__PURE__ */ ue(St, {
3058
+ }), /* @__PURE__ */ ue(xt, {
3059
3059
  themeId: x ? e : void 0,
3060
3060
  theme: c ? c(Ce) : Ce,
3061
3061
  children: w
3062
3062
  })]
3063
3063
  });
3064
- return ae ? Cr : /* @__PURE__ */ ue(f.Provider, {
3065
- value: so,
3066
- children: Cr
3064
+ return ae ? Er : /* @__PURE__ */ ue(f.Provider, {
3065
+ value: lo,
3066
+ children: Er
3067
3067
  });
3068
3068
  }
3069
3069
  process.env.NODE_ENV !== "production" && (g.propTypes = {
@@ -3131,7 +3131,7 @@ function zs(t) {
3131
3131
  return {
3132
3132
  CssVarsProvider: g,
3133
3133
  useColorScheme: h,
3134
- getInitColorSchemeScript: (S) => Ts(F({
3134
+ getInitColorSchemeScript: (S) => Os(F({
3135
3135
  attribute: n,
3136
3136
  colorSchemeStorageKey: i,
3137
3137
  defaultMode: s,
@@ -3141,7 +3141,7 @@ function zs(t) {
3141
3141
  }, S))
3142
3142
  };
3143
3143
  }
3144
- function Fs(t = "") {
3144
+ function Is(t = "") {
3145
3145
  function e(...n) {
3146
3146
  if (!n.length)
3147
3147
  return "";
@@ -3150,32 +3150,32 @@ function Fs(t = "") {
3150
3150
  }
3151
3151
  return (n, ...o) => `var(--${t ? `${t}-` : ""}${n}${e(...o)})`;
3152
3152
  }
3153
- const Yr = (t, e, r, n = []) => {
3153
+ const Jr = (t, e, r, n = []) => {
3154
3154
  let o = t;
3155
3155
  e.forEach((i, s) => {
3156
3156
  s === e.length - 1 ? Array.isArray(o) ? o[Number(i)] = r : o && typeof o == "object" && (o[i] = r) : o && typeof o == "object" && (o[i] || (o[i] = n.includes(i) ? [] : {}), o = o[i]);
3157
3157
  });
3158
- }, Ns = (t, e, r) => {
3158
+ }, Ds = (t, e, r) => {
3159
3159
  function n(o, i = [], s = []) {
3160
3160
  Object.entries(o).forEach(([a, l]) => {
3161
3161
  (!r || r && !r([...i, a])) && l != null && (typeof l == "object" && Object.keys(l).length > 0 ? n(l, [...i, a], Array.isArray(l) ? [...s, a] : s) : e([...i, a], l, s));
3162
3162
  });
3163
3163
  }
3164
3164
  n(t);
3165
- }, Is = (t, e) => typeof e == "number" ? ["lineHeight", "fontWeight", "opacity", "zIndex"].some((n) => t.includes(n)) || t[t.length - 1].toLowerCase().indexOf("opacity") >= 0 ? e : `${e}px` : e;
3165
+ }, _s = (t, e) => typeof e == "number" ? ["lineHeight", "fontWeight", "opacity", "zIndex"].some((n) => t.includes(n)) || t[t.length - 1].toLowerCase().indexOf("opacity") >= 0 ? e : `${e}px` : e;
3166
3166
  function Jt(t, e) {
3167
3167
  const {
3168
3168
  prefix: r,
3169
3169
  shouldSkipGeneratingVar: n
3170
3170
  } = e || {}, o = {}, i = {}, s = {};
3171
- return Ns(
3171
+ return Ds(
3172
3172
  t,
3173
3173
  (a, l, c) => {
3174
3174
  if ((typeof l == "string" || typeof l == "number") && (!n || !n(a, l))) {
3175
3175
  const d = `--${r ? `${r}-` : ""}${a.join("-")}`;
3176
3176
  Object.assign(o, {
3177
- [d]: Is(a, l)
3178
- }), Yr(i, a, `var(${d})`, c), Yr(s, a, `var(${d}, ${l})`, c);
3177
+ [d]: _s(a, l)
3178
+ }), Jr(i, a, `var(${d})`, c), Jr(s, a, `var(${d}, ${l})`, c);
3179
3179
  }
3180
3180
  },
3181
3181
  (a) => a[0] === "vars"
@@ -3186,34 +3186,34 @@ function Jt(t, e) {
3186
3186
  varsWithDefaults: s
3187
3187
  };
3188
3188
  }
3189
- function tt(t) {
3189
+ function rt(t) {
3190
3190
  "@babel/helpers - typeof";
3191
- return tt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
3191
+ return rt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
3192
3192
  return typeof e;
3193
3193
  } : function(e) {
3194
3194
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
3195
- }, tt(t);
3195
+ }, rt(t);
3196
3196
  }
3197
- function Ds(t, e) {
3198
- if (tt(t) != "object" || !t) return t;
3197
+ function Ls(t, e) {
3198
+ if (rt(t) != "object" || !t) return t;
3199
3199
  var r = t[Symbol.toPrimitive];
3200
3200
  if (r !== void 0) {
3201
3201
  var n = r.call(t, e);
3202
- if (tt(n) != "object") return n;
3202
+ if (rt(n) != "object") return n;
3203
3203
  throw new TypeError("@@toPrimitive must return a primitive value.");
3204
3204
  }
3205
3205
  return String(t);
3206
3206
  }
3207
- function _s(t) {
3208
- var e = Ds(t, "string");
3209
- return tt(e) == "symbol" ? e : e + "";
3207
+ function js(t) {
3208
+ var e = Ls(t, "string");
3209
+ return rt(e) == "symbol" ? e : e + "";
3210
3210
  }
3211
- const Ls = ["colorSchemes", "components", "defaultColorScheme"];
3212
- function js(t, e) {
3211
+ const Ms = ["colorSchemes", "components", "defaultColorScheme"];
3212
+ function Bs(t, e) {
3213
3213
  const {
3214
3214
  colorSchemes: r = {},
3215
3215
  defaultColorScheme: n = "light"
3216
- } = t, o = Fe(t, Ls), {
3216
+ } = t, o = Fe(t, Ms), {
3217
3217
  vars: i,
3218
3218
  css: s,
3219
3219
  varsWithDefaults: a
@@ -3221,7 +3221,7 @@ function js(t, e) {
3221
3221
  let l = a;
3222
3222
  const c = {}, {
3223
3223
  [n]: d
3224
- } = r, f = Fe(r, [n].map(_s));
3224
+ } = r, f = Fe(r, [n].map(js));
3225
3225
  if (Object.entries(f || {}).forEach(([g, m]) => {
3226
3226
  const {
3227
3227
  vars: b,
@@ -3265,7 +3265,7 @@ function js(t, e) {
3265
3265
  }
3266
3266
  };
3267
3267
  }
3268
- const Ms = F({}, fr, {
3268
+ const Vs = F({}, hr, {
3269
3269
  // The default system themeKey is shape
3270
3270
  borderRadius: {
3271
3271
  themeKey: "radius"
@@ -3294,7 +3294,7 @@ const Ms = F({}, fr, {
3294
3294
  lineHeight: {
3295
3295
  themeKey: "lineHeight"
3296
3296
  }
3297
- }), Qe = {
3297
+ }), Ke = {
3298
3298
  grey: {
3299
3299
  50: "#FBFCFE",
3300
3300
  100: "#F0F4F8",
@@ -3356,22 +3356,22 @@ const Ms = F({}, fr, {
3356
3356
  900: "#021D02"
3357
3357
  }
3358
3358
  };
3359
- function Bs(t) {
3359
+ function Hs(t) {
3360
3360
  var e;
3361
3361
  return !!t[0].match(/^(typography|variants|breakpoints)$/) || !!t[0].match(/sxConfig$/) || // ends with sxConfig
3362
3362
  t[0] === "palette" && !!((e = t[1]) != null && e.match(/^(mode)$/)) || t[0] === "focus" && t[1] !== "thickness";
3363
3363
  }
3364
- const Vs = (t, e) => bs(t, e, "Mui"), Hs = (t) => t && typeof t == "object" && Object.keys(t).some((e) => {
3364
+ const qs = (t, e) => Ss(t, e, "Mui"), Us = (t) => t && typeof t == "object" && Object.keys(t).some((e) => {
3365
3365
  var r;
3366
3366
  return (r = e.match) == null ? void 0 : r.call(e, /^(plain(Hover|Active|Disabled)?(Color|Bg)|outlined(Hover|Active|Disabled)?(Color|Border|Bg)|soft(Hover|Active|Disabled)?(Color|Bg)|solid(Hover|Active|Disabled)?(Color|Bg))$/);
3367
- }), Gr = (t, e, r) => {
3367
+ }), Zr = (t, e, r) => {
3368
3368
  e.includes("Color") && (t.color = r), e.includes("Bg") && (t.backgroundColor = r), e.includes("Border") && (t.borderColor = r);
3369
- }, Jr = (t, e, r) => {
3369
+ }, Xr = (t, e, r) => {
3370
3370
  const n = {};
3371
3371
  return Object.entries(e || {}).forEach(([o, i]) => {
3372
3372
  if (o.match(new RegExp(`${t}(color|bg|border)`, "i")) && i) {
3373
3373
  const s = r ? r(o) : i;
3374
- o.includes("Disabled") && (n.pointerEvents = "none", n.cursor = "default", n["--Icon-color"] = "currentColor"), o.match(/(Hover|Active|Disabled)/) || (n["--variant-borderWidth"] || (n["--variant-borderWidth"] = "0px"), o.includes("Border") && (n["--variant-borderWidth"] = "1px", n.border = "var(--variant-borderWidth) solid")), Gr(n, o, s);
3374
+ o.includes("Disabled") && (n.pointerEvents = "none", n.cursor = "default", n["--Icon-color"] = "currentColor"), o.match(/(Hover|Active|Disabled)/) || (n["--variant-borderWidth"] || (n["--variant-borderWidth"] = "0px"), o.includes("Border") && (n["--variant-borderWidth"] = "1px", n.border = "var(--variant-borderWidth) solid")), Zr(n, o, s);
3375
3375
  }
3376
3376
  }), n;
3377
3377
  }, fe = (t, e) => {
@@ -3383,12 +3383,12 @@ const Vs = (t, e) => bs(t, e, "Mui"), Hs = (t) => t && typeof t == "object" && O
3383
3383
  } = e;
3384
3384
  Object.entries(o).forEach((i) => {
3385
3385
  const [s, a] = i;
3386
- Hs(a) && typeof a == "object" && (r = F({}, r, {
3387
- [s]: Jr(t, a, (l) => `var(--variant-${l}, ${n(`palette-${s}-${l}`, o[s][l])})`)
3386
+ Us(a) && typeof a == "object" && (r = F({}, r, {
3387
+ [s]: Xr(t, a, (l) => `var(--variant-${l}, ${n(`palette-${s}-${l}`, o[s][l])})`)
3388
3388
  }));
3389
3389
  });
3390
3390
  }
3391
- return r.context = Jr(t, {
3391
+ return r.context = Xr(t, {
3392
3392
  plainColor: "var(--variant-plainColor)",
3393
3393
  plainHoverColor: "var(--variant-plainHoverColor)",
3394
3394
  plainHoverBg: "var(--variant-plainHoverBg)",
@@ -3416,8 +3416,8 @@ const Vs = (t, e) => bs(t, e, "Mui"), Hs = (t) => t && typeof t == "object" && O
3416
3416
  solidDisabledColor: "var(--variant-solidDisabledColor)",
3417
3417
  solidDisabledBg: "var(--variant-solidDisabledBg)"
3418
3418
  }), r;
3419
- }, qs = ["cssVarPrefix", "breakpoints", "spacing", "components", "variants", "shouldSkipGeneratingVar"], Us = ["colorSchemes"], Ws = (t = "joy") => Fs(t);
3420
- function xt(t) {
3419
+ }, Ws = ["cssVarPrefix", "breakpoints", "spacing", "components", "variants", "shouldSkipGeneratingVar"], Qs = ["colorSchemes"], Ks = (t = "joy") => Is(t);
3420
+ function Ct(t) {
3421
3421
  var e, r, n, o, i, s, a, l, c, d;
3422
3422
  const f = t || {}, {
3423
3423
  cssVarPrefix: h = "joy",
@@ -3425,20 +3425,20 @@ function xt(t) {
3425
3425
  spacing: m,
3426
3426
  components: b,
3427
3427
  variants: v,
3428
- shouldSkipGeneratingVar: S = Bs
3429
- } = f, w = Fe(f, qs), p = Ws(h), E = {
3430
- primary: Qe.blue,
3431
- neutral: Qe.grey,
3432
- danger: Qe.red,
3433
- success: Qe.green,
3434
- warning: Qe.yellow,
3428
+ shouldSkipGeneratingVar: S = Hs
3429
+ } = f, w = Fe(f, Ws), p = Ks(h), E = {
3430
+ primary: Ke.blue,
3431
+ neutral: Ke.grey,
3432
+ danger: Ke.red,
3433
+ success: Ke.green,
3434
+ warning: Ke.yellow,
3435
3435
  common: {
3436
3436
  white: "#FFF",
3437
3437
  black: "#000"
3438
3438
  }
3439
3439
  }, u = (C) => {
3440
3440
  var T;
3441
- const R = C.split("-"), q = R[1], y = R[2];
3441
+ const k = C.split("-"), q = k[1], y = k[2];
3442
3442
  return p(C, (T = E[q]) == null ? void 0 : T[y]);
3443
3443
  }, I = (C) => ({
3444
3444
  plainColor: u(`palette-${C}-500`),
@@ -3628,7 +3628,7 @@ function xt(t) {
3628
3628
  fontWeight: te,
3629
3629
  focus: {
3630
3630
  thickness: "2px",
3631
- selector: `&.${Vs("", "focusVisible")}, &:focus-visible`,
3631
+ selector: `&.${qs("", "focusVisible")}, &:focus-visible`,
3632
3632
  default: {
3633
3633
  outlineOffset: `var(--focus-outline-offset, ${p("focus-thickness", (a = (l = w.focus) == null ? void 0 : l.thickness) != null ? a : "2px")})`,
3634
3634
  outline: `${p("focus-thickness", (c = (d = w.focus) == null ? void 0 : d.thickness) != null ? c : "2px")} solid ${p("palette-focusVisible", E.primary[500])}`
@@ -3739,10 +3739,10 @@ function xt(t) {
3739
3739
  }
3740
3740
  }, ae = w ? Ee(ie, w) : ie, {
3741
3741
  colorSchemes: x
3742
- } = ae, P = Fe(ae, Us), $ = F({
3742
+ } = ae, P = Fe(ae, Qs), $ = F({
3743
3743
  colorSchemes: x
3744
3744
  }, P, {
3745
- breakpoints: Nn(g ?? {}),
3745
+ breakpoints: Dn(g ?? {}),
3746
3746
  components: Ee({
3747
3747
  // TODO: find a way to abstract SvgIcon out of @mui/material
3748
3748
  MuiSvgIcon: {
@@ -3754,7 +3754,7 @@ function xt(t) {
3754
3754
  ownerState: C,
3755
3755
  theme: T
3756
3756
  }) => {
3757
- var R;
3757
+ var k;
3758
3758
  const q = C.instanceFontSize;
3759
3759
  return F({
3760
3760
  margin: "var(--Icon-margin)"
@@ -3763,7 +3763,7 @@ function xt(t) {
3763
3763
  }, !C.htmlColor && F({
3764
3764
  color: `var(--Icon-color, ${$.vars.palette.text.icon})`
3765
3765
  }, C.color && C.color !== "inherit" && T.vars.palette[C.color] && {
3766
- color: `rgba(${(R = T.vars.palette[C.color]) == null ? void 0 : R.mainChannel} / 1)`
3766
+ color: `rgba(${(k = T.vars.palette[C.color]) == null ? void 0 : k.mainChannel} / 1)`
3767
3767
  }), q && q !== "inherit" && {
3768
3768
  "--Icon-fontSize": T.vars.fontSize[q]
3769
3769
  });
@@ -3773,36 +3773,36 @@ function xt(t) {
3773
3773
  }, b),
3774
3774
  cssVarPrefix: h,
3775
3775
  getCssVar: p,
3776
- spacing: Ln(m)
3776
+ spacing: Mn(m)
3777
3777
  });
3778
3778
  function z(C, T) {
3779
- Object.keys(T).forEach((R) => {
3779
+ Object.keys(T).forEach((k) => {
3780
3780
  const q = {
3781
3781
  main: "500",
3782
3782
  light: "200",
3783
3783
  dark: "700"
3784
3784
  };
3785
- C === "dark" && (q.main = 400), !T[R].mainChannel && T[R][q.main] && (T[R].mainChannel = De(T[R][q.main])), !T[R].lightChannel && T[R][q.light] && (T[R].lightChannel = De(T[R][q.light])), !T[R].darkChannel && T[R][q.dark] && (T[R].darkChannel = De(T[R][q.dark]));
3785
+ C === "dark" && (q.main = 400), !T[k].mainChannel && T[k][q.main] && (T[k].mainChannel = De(T[k][q.main])), !T[k].lightChannel && T[k][q.light] && (T[k].lightChannel = De(T[k][q.light])), !T[k].darkChannel && T[k][q.dark] && (T[k].darkChannel = De(T[k][q.dark]));
3786
3786
  });
3787
3787
  }
3788
3788
  Object.entries($.colorSchemes).forEach(([C, T]) => {
3789
3789
  z(C, T.palette);
3790
3790
  });
3791
- const k = {
3791
+ const R = {
3792
3792
  prefix: h,
3793
3793
  shouldSkipGeneratingVar: S
3794
3794
  }, {
3795
3795
  vars: D,
3796
3796
  generateCssVars: _
3797
- } = js(
3797
+ } = Bs(
3798
3798
  // @ts-ignore property truDark is missing from colorSchemes
3799
3799
  F({
3800
3800
  colorSchemes: x
3801
3801
  }, P),
3802
- k
3802
+ R
3803
3803
  );
3804
- $.vars = D, $.generateCssVars = _, $.unstable_sxConfig = F({}, Ms, t == null ? void 0 : t.unstable_sxConfig), $.unstable_sx = function(T) {
3805
- return pr({
3804
+ $.vars = D, $.generateCssVars = _, $.unstable_sxConfig = F({}, Vs, t == null ? void 0 : t.unstable_sxConfig), $.unstable_sx = function(T) {
3805
+ return mr({
3806
3806
  sx: T,
3807
3807
  theme: this
3808
3808
  });
@@ -3830,33 +3830,33 @@ function xt(t) {
3830
3830
  solidDisabled: fe("solidDisabled", A)
3831
3831
  }, v), $.palette = F({}, $.colorSchemes.light.palette, {
3832
3832
  colorScheme: "light"
3833
- }), $.shouldSkipGeneratingVar = S, $.applyStyles = jn, $;
3833
+ }), $.shouldSkipGeneratingVar = S, $.applyStyles = Bn, $;
3834
3834
  }
3835
- const Qn = xt(), Ke = {
3835
+ const Yn = Ct(), Ye = {
3836
3836
  attribute: "data-joy-color-scheme",
3837
3837
  colorSchemeStorageKey: "joy-color-scheme",
3838
3838
  defaultLightColorScheme: "light",
3839
3839
  defaultDarkColorScheme: "dark",
3840
3840
  modeStorageKey: "joy-mode"
3841
3841
  }, {
3842
- CssVarsProvider: Qs,
3843
- useColorScheme: Ks,
3844
- getInitColorSchemeScript: oc
3845
- } = zs({
3846
- themeId: vn,
3847
- theme: Qn,
3848
- attribute: Ke.attribute,
3849
- modeStorageKey: Ke.modeStorageKey,
3850
- colorSchemeStorageKey: Ke.colorSchemeStorageKey,
3842
+ CssVarsProvider: Ys,
3843
+ useColorScheme: Gs,
3844
+ getInitColorSchemeScript: ic
3845
+ } = Ns({
3846
+ themeId: xn,
3847
+ theme: Yn,
3848
+ attribute: Ye.attribute,
3849
+ modeStorageKey: Ye.modeStorageKey,
3850
+ colorSchemeStorageKey: Ye.colorSchemeStorageKey,
3851
3851
  defaultColorScheme: {
3852
- light: Ke.defaultLightColorScheme,
3853
- dark: Ke.defaultDarkColorScheme
3854
- }
3855
- }), _t = () => {
3856
- const t = hs(Qn);
3857
- return process.env.NODE_ENV !== "production" && L.useDebugValue(t), t[vn] || t;
3858
- }, Ys = typeof window < "u" ? L.useLayoutEffect : L.useEffect;
3859
- function Kn(t, e) {
3852
+ light: Ye.defaultLightColorScheme,
3853
+ dark: Ye.defaultDarkColorScheme
3854
+ }
3855
+ }), Lt = () => {
3856
+ const t = gs(Yn);
3857
+ return process.env.NODE_ENV !== "production" && L.useDebugValue(t), t[xn] || t;
3858
+ }, Js = typeof window < "u" ? L.useLayoutEffect : L.useEffect;
3859
+ function Gn(t, e) {
3860
3860
  const r = {
3861
3861
  ...e
3862
3862
  };
@@ -3881,31 +3881,31 @@ function Kn(t, e) {
3881
3881
  for (const a in i)
3882
3882
  if (Object.prototype.hasOwnProperty.call(i, a)) {
3883
3883
  const l = a;
3884
- r[o][l] = Kn(i[l], s[l]);
3884
+ r[o][l] = Gn(i[l], s[l]);
3885
3885
  }
3886
3886
  }
3887
3887
  } else r[o] === void 0 && (r[o] = t[o]);
3888
3888
  }
3889
3889
  return r;
3890
3890
  }
3891
- function Gs(t) {
3891
+ function Zs(t) {
3892
3892
  const {
3893
3893
  theme: e,
3894
3894
  name: r,
3895
3895
  props: n
3896
3896
  } = t;
3897
- return !e || !e.components || !e.components[r] || !e.components[r].defaultProps ? n : Kn(e.components[r].defaultProps, n);
3897
+ return !e || !e.components || !e.components[r] || !e.components[r].defaultProps ? n : Gn(e.components[r].defaultProps, n);
3898
3898
  }
3899
- function Js(t) {
3899
+ function Xs(t) {
3900
3900
  return Object.keys(t).length === 0;
3901
3901
  }
3902
- function Zs(t = null) {
3903
- const e = L.useContext(At);
3904
- return !e || Js(e) ? t : e;
3902
+ function ea(t = null) {
3903
+ const e = L.useContext(Ot);
3904
+ return !e || Xs(e) ? t : e;
3905
3905
  }
3906
- function Xs(t, e, r, n, o) {
3906
+ function ta(t, e, r, n, o) {
3907
3907
  const [i, s] = L.useState(() => o && r ? r(t).matches : n ? n(t).matches : e);
3908
- return Ys(() => {
3908
+ return Js(() => {
3909
3909
  if (!r)
3910
3910
  return;
3911
3911
  const a = r(t), l = () => {
@@ -3916,10 +3916,10 @@ function Xs(t, e, r, n, o) {
3916
3916
  };
3917
3917
  }, [t, r]), i;
3918
3918
  }
3919
- const ea = {
3919
+ const ra = {
3920
3920
  ...L
3921
- }, Yn = ea.useSyncExternalStore;
3922
- function ta(t, e, r, n, o) {
3921
+ }, Jn = ra.useSyncExternalStore;
3922
+ function na(t, e, r, n, o) {
3923
3923
  const i = L.useCallback(() => e, [e]), s = L.useMemo(() => {
3924
3924
  if (o && r)
3925
3925
  return () => r(t).matches;
@@ -3939,15 +3939,15 @@ function ta(t, e, r, n, o) {
3939
3939
  d.removeEventListener("change", f);
3940
3940
  })];
3941
3941
  }, [i, r, t]);
3942
- return Yn(l, a, s);
3942
+ return Jn(l, a, s);
3943
3943
  }
3944
- function ra(t, e = {}) {
3945
- const r = Zs(), n = typeof window < "u" && typeof window.matchMedia < "u", {
3944
+ function oa(t, e = {}) {
3945
+ const r = ea(), n = typeof window < "u" && typeof window.matchMedia < "u", {
3946
3946
  defaultMatches: o = !1,
3947
3947
  matchMedia: i = n ? window.matchMedia : null,
3948
3948
  ssrMatchMedia: s = null,
3949
3949
  noSsr: a = !1
3950
- } = Gs({
3950
+ } = Zs({
3951
3951
  name: "MuiUseMediaQuery",
3952
3952
  props: e,
3953
3953
  theme: r
@@ -3956,19 +3956,19 @@ function ra(t, e = {}) {
3956
3956
  `));
3957
3957
  let l = typeof t == "function" ? t(r) : t;
3958
3958
  l = l.replace(/^@media( ?)/m, "");
3959
- const d = (Yn !== void 0 ? ta : Xs)(l, o, i, s, a);
3959
+ const d = (Jn !== void 0 ? na : ta)(l, o, i, s, a);
3960
3960
  return process.env.NODE_ENV !== "production" && L.useDebugValue({
3961
3961
  query: l,
3962
3962
  match: d
3963
3963
  }), d;
3964
3964
  }
3965
- const na = (t, e = "theme-mode") => {
3966
- const [r, n] = wr(t), [o, i] = wr(t), { mode: s, setMode: a } = Ks(), l = s || o, c = Er(
3965
+ const ia = (t, e = "theme-mode") => {
3966
+ const [r, n] = Pr(t), [o, i] = Pr(t), { mode: s, setMode: a } = Gs(), l = s || o, c = $r(
3967
3967
  (f) => {
3968
3968
  i(f), a && a(f), typeof window < "u" && localStorage.setItem(e, f);
3969
3969
  },
3970
3970
  [a, e]
3971
- ), d = Er(() => {
3971
+ ), d = $r(() => {
3972
3972
  c(l === "light" ? "dark" : "light");
3973
3973
  }, [l, c]);
3974
3974
  return Xt(() => {
@@ -3986,7 +3986,9 @@ const na = (t, e = "theme-mode") => {
3986
3986
  setMode: c,
3987
3987
  systemPreference: r
3988
3988
  };
3989
- }, oa = {
3989
+ };
3990
+ var ir = /* @__PURE__ */ ((t) => (t.STANDARD = "standard", t.OVERLAY = "overlay", t.SPLIT = "split", t))(ir || {});
3991
+ const sa = {
3990
3992
  values: {
3991
3993
  xs: 0,
3992
3994
  sm: 444,
@@ -3995,7 +3997,7 @@ const na = (t, e = "theme-mode") => {
3995
3997
  xl: 1200,
3996
3998
  xxl: 1536
3997
3999
  }
3998
- }, ia = {
4000
+ }, aa = {
3999
4001
  "3xs": "2px",
4000
4002
  "2xs": "4px",
4001
4003
  xs: "8px",
@@ -4074,7 +4076,7 @@ const na = (t, e = "theme-mode") => {
4074
4076
  outlineEnabledBorder: "#757575",
4075
4077
  secondaryContainer: "#757575"
4076
4078
  }
4077
- }, sa = {
4079
+ }, la = {
4078
4080
  light: {
4079
4081
  primary: "Ubuntu, sans-serif",
4080
4082
  secondary: "Roboto, sans-serif"
@@ -4083,7 +4085,7 @@ const na = (t, e = "theme-mode") => {
4083
4085
  primary: "Ubuntu, sans-serif",
4084
4086
  secondary: "Roboto, sans-serif"
4085
4087
  }
4086
- }, Gn = {
4088
+ }, Zn = {
4087
4089
  light: {
4088
4090
  none: "0px",
4089
4091
  "2xs": "2px",
@@ -4106,16 +4108,26 @@ const na = (t, e = "theme-mode") => {
4106
4108
  "2xl": "232px",
4107
4109
  full: "1000px"
4108
4110
  }
4109
- }, Jn = {
4111
+ }, Xn = {
4110
4112
  light: {
4111
4113
  size: "1px"
4112
4114
  },
4113
4115
  dark: {
4114
4116
  size: "2px"
4115
4117
  }
4116
- }, aa = (t) => {
4118
+ }, sr = {
4119
+ light: {
4120
+ standard: "linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, rgba(18, 18, 18, 0.8) 100%)",
4121
+ split: "linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, rgba(18, 18, 18, 0.8) 100%)"
4122
+ },
4123
+ dark: {
4124
+ standard: "linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, rgba(18, 18, 18, 0.8) 100%)",
4125
+ split: "linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, rgba(18, 18, 18, 0.8) 100%)",
4126
+ overlay: "linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, rgba(18, 18, 18, 0.8) 100%)"
4127
+ }
4128
+ }, ca = (t) => {
4117
4129
  var n, o, i, s, a, l, c, d, f, h, g, m, b, v, S, w, p, E, u, I, O, j, ee, Y, U, te;
4118
- const e = xt(), r = {
4130
+ const e = Ct(), r = {
4119
4131
  // Only add custom properties, don't override the entire palette
4120
4132
  colorSchemes: {
4121
4133
  light: {
@@ -4164,20 +4176,20 @@ const na = (t, e = "theme-mode") => {
4164
4176
  ...((te = t == null ? void 0 : t.colorSchemes) == null ? void 0 : te.dark) || we.dark
4165
4177
  }
4166
4178
  },
4167
- // Add your custom properties
4168
- breakpoints: (t == null ? void 0 : t.breakpoints) || oa,
4169
4179
  // Add other custom properties as needed
4170
4180
  ...t && {
4171
- spacingScale: t.spacingScale || ia,
4172
- customFontFamily: t.customFontFamily || sa,
4173
- customRadius: t.customRadius || Gn,
4174
- border: t.border || Jn
4181
+ spacingScale: t.spacingScale || aa,
4182
+ customFontFamily: t.customFontFamily || la,
4183
+ customRadius: t.customRadius || Zn,
4184
+ border: t.border || Xn,
4185
+ imageBackgroundGradient: t.imageBackgroundGradient || sr,
4186
+ customBreakpoints: t.customBreakpoints || sa
4175
4187
  }
4176
4188
  };
4177
- return xt(r);
4178
- }, la = (t) => {
4179
- const e = (t == null ? void 0 : t.mode) || "light", r = (t == null ? void 0 : t.modeStorageKey) || "theme-mode", n = aa(t);
4180
- return xt({
4189
+ return Ct(r);
4190
+ }, ua = (t) => {
4191
+ const e = (t == null ? void 0 : t.mode) || "light", r = (t == null ? void 0 : t.modeStorageKey) || "theme-mode", n = ca(t);
4192
+ return Ct({
4181
4193
  ...n,
4182
4194
  mode: e,
4183
4195
  modeStorageKey: r,
@@ -4185,101 +4197,106 @@ const na = (t, e = "theme-mode") => {
4185
4197
  cssVarPrefix: "joy",
4186
4198
  colorSchemeSelector: 'data-joy-color-scheme="%s"'
4187
4199
  });
4188
- }, ca = () => _t().spacingScale, ic = (t) => {
4189
- const e = ca();
4200
+ }, da = () => Lt().spacingScale, sc = (t) => {
4201
+ const e = da();
4190
4202
  return e ? e[t] : "16px";
4191
- }, ua = () => {
4192
- const t = _t();
4193
- return ra(t.breakpoints.down("md"));
4194
- }, sc = () => _t(), Lt = () => {
4195
- const t = _t(), { mode: e } = na(
4203
+ }, fa = () => {
4204
+ const t = Lt(), { theme: e } = Ue();
4205
+ return oa(
4206
+ t.breakpoints.down(e.customBreakpoints.values.md)
4207
+ );
4208
+ }, ac = () => Lt(), Ue = () => {
4209
+ const t = Lt(), { mode: e } = ia(
4196
4210
  t.mode || "light",
4197
4211
  t.modeStorageKey || "theme-mode"
4198
4212
  );
4199
4213
  return { theme: t, mode: e };
4200
- }, ac = () => {
4214
+ }, lc = () => {
4201
4215
  var r, n, o, i;
4202
- const { theme: t, mode: e } = Lt();
4216
+ const { theme: t, mode: e } = Ue();
4203
4217
  return {
4204
4218
  primary: ((n = (r = t.customFontFamily) == null ? void 0 : r[e]) == null ? void 0 : n.primary) || "Ubuntu, sans-serif",
4205
4219
  secondary: ((i = (o = t.customFontFamily) == null ? void 0 : o[e]) == null ? void 0 : i.secondary) || "Roboto, sans-serif"
4206
4220
  };
4207
- }, lc = () => {
4208
- var r;
4209
- const { theme: t, mode: e } = Lt();
4210
- return ((r = t.customRadius) == null ? void 0 : r[e]) || Gn[e];
4211
4221
  }, cc = () => {
4212
4222
  var r;
4213
- const { theme: t, mode: e } = Lt();
4214
- return ((r = t.colorSchemes) == null ? void 0 : r[e]) || we[e];
4223
+ const { theme: t, mode: e } = Ue();
4224
+ return ((r = t.customRadius) == null ? void 0 : r[e]) || Zn[e];
4215
4225
  }, uc = () => {
4216
4226
  var r;
4217
- const { theme: t, mode: e } = Lt();
4218
- return ((r = t.border) == null ? void 0 : r[e]) || Jn[e];
4219
- }, dc = (t) => {
4227
+ const { theme: t, mode: e } = Ue();
4228
+ return ((r = t.colorSchemes) == null ? void 0 : r[e]) || we[e];
4229
+ }, dc = () => {
4230
+ var r;
4231
+ const { theme: t, mode: e } = Ue();
4232
+ return ((r = t.border) == null ? void 0 : r[e]) || Xn[e];
4233
+ }, fc = (t) => {
4234
+ const { theme: e, mode: r } = Ue();
4235
+ return t === ir.STANDARD || t === ir.SPLIT ? e.imageBackgroundGradient[r][t] || sr[r][t] : e.imageBackgroundGradient.dark.overlay || sr.dark.overlay;
4236
+ }, pc = (t) => {
4220
4237
  const e = document.createElement("div");
4221
4238
  return e.innerHTML = t, e.textContent || e.innerText || "";
4222
- }, fc = (t) => {
4239
+ }, hc = (t) => {
4223
4240
  t = t.replace(/^#/, "");
4224
4241
  const e = parseInt(t.substring(0, 2), 16), r = parseInt(t.substring(2, 4), 16), n = parseInt(t.substring(4, 6), 16);
4225
4242
  return `${e}, ${r}, ${n}`;
4226
- }, pc = () => /Android/i.test(navigator.userAgent), N = (t) => typeof t == "string", Ye = () => {
4243
+ }, mc = () => /Android/i.test(navigator.userAgent), N = (t) => typeof t == "string", Ge = () => {
4227
4244
  let t, e;
4228
4245
  const r = new Promise((n, o) => {
4229
4246
  t = n, e = o;
4230
4247
  });
4231
4248
  return r.resolve = t, r.reject = e, r;
4232
- }, Zr = (t) => t == null ? "" : "" + t, da = (t, e, r) => {
4249
+ }, en = (t) => t == null ? "" : "" + t, pa = (t, e, r) => {
4233
4250
  t.forEach((n) => {
4234
4251
  e[n] && (r[n] = e[n]);
4235
4252
  });
4236
- }, fa = /###/g, Xr = (t) => t && t.indexOf("###") > -1 ? t.replace(fa, ".") : t, en = (t) => !t || N(t), Je = (t, e, r) => {
4253
+ }, ha = /###/g, tn = (t) => t && t.indexOf("###") > -1 ? t.replace(ha, ".") : t, rn = (t) => !t || N(t), Ze = (t, e, r) => {
4237
4254
  const n = N(e) ? e.split(".") : e;
4238
4255
  let o = 0;
4239
4256
  for (; o < n.length - 1; ) {
4240
- if (en(t)) return {};
4241
- const i = Xr(n[o]);
4257
+ if (rn(t)) return {};
4258
+ const i = tn(n[o]);
4242
4259
  !t[i] && r && (t[i] = new r()), Object.prototype.hasOwnProperty.call(t, i) ? t = t[i] : t = {}, ++o;
4243
4260
  }
4244
- return en(t) ? {} : {
4261
+ return rn(t) ? {} : {
4245
4262
  obj: t,
4246
- k: Xr(n[o])
4263
+ k: tn(n[o])
4247
4264
  };
4248
- }, tn = (t, e, r) => {
4265
+ }, nn = (t, e, r) => {
4249
4266
  const {
4250
4267
  obj: n,
4251
4268
  k: o
4252
- } = Je(t, e, Object);
4269
+ } = Ze(t, e, Object);
4253
4270
  if (n !== void 0 || e.length === 1) {
4254
4271
  n[o] = r;
4255
4272
  return;
4256
4273
  }
4257
- let i = e[e.length - 1], s = e.slice(0, e.length - 1), a = Je(t, s, Object);
4274
+ let i = e[e.length - 1], s = e.slice(0, e.length - 1), a = Ze(t, s, Object);
4258
4275
  for (; a.obj === void 0 && s.length; )
4259
- i = `${s[s.length - 1]}.${i}`, s = s.slice(0, s.length - 1), a = Je(t, s, Object), a != null && a.obj && typeof a.obj[`${a.k}.${i}`] < "u" && (a.obj = void 0);
4276
+ i = `${s[s.length - 1]}.${i}`, s = s.slice(0, s.length - 1), a = Ze(t, s, Object), a != null && a.obj && typeof a.obj[`${a.k}.${i}`] < "u" && (a.obj = void 0);
4260
4277
  a.obj[`${a.k}.${i}`] = r;
4261
- }, pa = (t, e, r, n) => {
4278
+ }, ma = (t, e, r, n) => {
4262
4279
  const {
4263
4280
  obj: o,
4264
4281
  k: i
4265
- } = Je(t, e, Object);
4282
+ } = Ze(t, e, Object);
4266
4283
  o[i] = o[i] || [], o[i].push(r);
4267
- }, Ct = (t, e) => {
4284
+ }, wt = (t, e) => {
4268
4285
  const {
4269
4286
  obj: r,
4270
4287
  k: n
4271
- } = Je(t, e);
4288
+ } = Ze(t, e);
4272
4289
  if (r && Object.prototype.hasOwnProperty.call(r, n))
4273
4290
  return r[n];
4274
- }, ha = (t, e, r) => {
4275
- const n = Ct(t, r);
4276
- return n !== void 0 ? n : Ct(e, r);
4277
- }, Zn = (t, e, r) => {
4291
+ }, ga = (t, e, r) => {
4292
+ const n = wt(t, r);
4293
+ return n !== void 0 ? n : wt(e, r);
4294
+ }, eo = (t, e, r) => {
4278
4295
  for (const n in e)
4279
- n !== "__proto__" && n !== "constructor" && (n in t ? N(t[n]) || t[n] instanceof String || N(e[n]) || e[n] instanceof String ? r && (t[n] = e[n]) : Zn(t[n], e[n], r) : t[n] = e[n]);
4296
+ n !== "__proto__" && n !== "constructor" && (n in t ? N(t[n]) || t[n] instanceof String || N(e[n]) || e[n] instanceof String ? r && (t[n] = e[n]) : eo(t[n], e[n], r) : t[n] = e[n]);
4280
4297
  return t;
4281
4298
  }, _e = (t) => t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
4282
- var ma = {
4299
+ var ya = {
4283
4300
  "&": "&amp;",
4284
4301
  "<": "&lt;",
4285
4302
  ">": "&gt;",
@@ -4287,8 +4304,8 @@ var ma = {
4287
4304
  "'": "&#39;",
4288
4305
  "/": "&#x2F;"
4289
4306
  };
4290
- const ga = (t) => N(t) ? t.replace(/[&<>"'\/]/g, (e) => ma[e]) : t;
4291
- class ya {
4307
+ const ba = (t) => N(t) ? t.replace(/[&<>"'\/]/g, (e) => ya[e]) : t;
4308
+ class va {
4292
4309
  constructor(e) {
4293
4310
  this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
4294
4311
  }
@@ -4300,18 +4317,18 @@ class ya {
4300
4317
  return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, n), this.regExpQueue.push(e), n;
4301
4318
  }
4302
4319
  }
4303
- const ba = [" ", ",", "?", "!", ";"], va = new ya(20), Sa = (t, e, r) => {
4320
+ const Sa = [" ", ",", "?", "!", ";"], xa = new va(20), Ca = (t, e, r) => {
4304
4321
  e = e || "", r = r || "";
4305
- const n = ba.filter((s) => e.indexOf(s) < 0 && r.indexOf(s) < 0);
4322
+ const n = Sa.filter((s) => e.indexOf(s) < 0 && r.indexOf(s) < 0);
4306
4323
  if (n.length === 0) return !0;
4307
- const o = va.getRegExp(`(${n.map((s) => s === "?" ? "\\?" : s).join("|")})`);
4324
+ const o = xa.getRegExp(`(${n.map((s) => s === "?" ? "\\?" : s).join("|")})`);
4308
4325
  let i = !o.test(t);
4309
4326
  if (!i) {
4310
4327
  const s = t.indexOf(r);
4311
4328
  s > 0 && !o.test(t.substring(0, s)) && (i = !0);
4312
4329
  }
4313
4330
  return i;
4314
- }, ir = (t, e, r = ".") => {
4331
+ }, ar = (t, e, r = ".") => {
4315
4332
  if (!t) return;
4316
4333
  if (t[e])
4317
4334
  return Object.prototype.hasOwnProperty.call(t, e) ? t[e] : void 0;
@@ -4331,7 +4348,7 @@ const ba = [" ", ",", "?", "!", ";"], va = new ya(20), Sa = (t, e, r) => {
4331
4348
  o = s;
4332
4349
  }
4333
4350
  return o;
4334
- }, rt = (t) => t == null ? void 0 : t.replace("_", "-"), xa = {
4351
+ }, nt = (t) => t == null ? void 0 : t.replace("_", "-"), wa = {
4335
4352
  type: "logger",
4336
4353
  log(t) {
4337
4354
  this.output("log", t);
@@ -4347,12 +4364,12 @@ const ba = [" ", ",", "?", "!", ";"], va = new ya(20), Sa = (t, e, r) => {
4347
4364
  (n = (r = console == null ? void 0 : console[t]) == null ? void 0 : r.apply) == null || n.call(r, console, e);
4348
4365
  }
4349
4366
  };
4350
- class wt {
4367
+ class Et {
4351
4368
  constructor(e, r = {}) {
4352
4369
  this.init(e, r);
4353
4370
  }
4354
4371
  init(e, r = {}) {
4355
- this.prefix = r.prefix || "i18next:", this.logger = e || xa, this.options = r, this.debug = r.debug;
4372
+ this.prefix = r.prefix || "i18next:", this.logger = e || wa, this.options = r, this.debug = r.debug;
4356
4373
  }
4357
4374
  log(...e) {
4358
4375
  return this.forward(e, "log", "", !0);
@@ -4370,16 +4387,16 @@ class wt {
4370
4387
  return o && !this.debug ? null : (N(e[0]) && (e[0] = `${n}${this.prefix} ${e[0]}`), this.logger[r](e));
4371
4388
  }
4372
4389
  create(e) {
4373
- return new wt(this.logger, {
4390
+ return new Et(this.logger, {
4374
4391
  prefix: `${this.prefix}:${e}:`,
4375
4392
  ...this.options
4376
4393
  });
4377
4394
  }
4378
4395
  clone(e) {
4379
- return e = e || this.options, e.prefix = e.prefix || this.prefix, new wt(this.logger, e);
4396
+ return e = e || this.options, e.prefix = e.prefix || this.prefix, new Et(this.logger, e);
4380
4397
  }
4381
4398
  }
4382
- var Ae = new wt();
4399
+ var Ae = new Et();
4383
4400
  class jt {
4384
4401
  constructor() {
4385
4402
  this.observers = {};
@@ -4410,7 +4427,7 @@ class jt {
4410
4427
  });
4411
4428
  }
4412
4429
  }
4413
- class rn extends jt {
4430
+ class on extends jt {
4414
4431
  constructor(e, r = {
4415
4432
  ns: ["translation"],
4416
4433
  defaultNS: "translation"
@@ -4429,15 +4446,15 @@ class rn extends jt {
4429
4446
  const i = o.keySeparator !== void 0 ? o.keySeparator : this.options.keySeparator, s = o.ignoreJSONStructure !== void 0 ? o.ignoreJSONStructure : this.options.ignoreJSONStructure;
4430
4447
  let a;
4431
4448
  e.indexOf(".") > -1 ? a = e.split(".") : (a = [e, r], n && (Array.isArray(n) ? a.push(...n) : N(n) && i ? a.push(...n.split(i)) : a.push(n)));
4432
- const l = Ct(this.data, a);
4433
- return !l && !r && !n && e.indexOf(".") > -1 && (e = a[0], r = a[1], n = a.slice(2).join(".")), l || !s || !N(n) ? l : ir((d = (c = this.data) == null ? void 0 : c[e]) == null ? void 0 : d[r], n, i);
4449
+ const l = wt(this.data, a);
4450
+ return !l && !r && !n && e.indexOf(".") > -1 && (e = a[0], r = a[1], n = a.slice(2).join(".")), l || !s || !N(n) ? l : ar((d = (c = this.data) == null ? void 0 : c[e]) == null ? void 0 : d[r], n, i);
4434
4451
  }
4435
4452
  addResource(e, r, n, o, i = {
4436
4453
  silent: !1
4437
4454
  }) {
4438
4455
  const s = i.keySeparator !== void 0 ? i.keySeparator : this.options.keySeparator;
4439
4456
  let a = [e, r];
4440
- n && (a = a.concat(s ? n.split(s) : n)), e.indexOf(".") > -1 && (a = e.split("."), o = r, r = a[1]), this.addNamespaces(r), tn(this.data, a, o), i.silent || this.emit("added", e, r, n, o);
4457
+ n && (a = a.concat(s ? n.split(s) : n)), e.indexOf(".") > -1 && (a = e.split("."), o = r, r = a[1]), this.addNamespaces(r), nn(this.data, a, o), i.silent || this.emit("added", e, r, n, o);
4441
4458
  }
4442
4459
  addResources(e, r, n, o = {
4443
4460
  silent: !1
@@ -4454,11 +4471,11 @@ class rn extends jt {
4454
4471
  }) {
4455
4472
  let a = [e, r];
4456
4473
  e.indexOf(".") > -1 && (a = e.split("."), o = n, n = r, r = a[1]), this.addNamespaces(r);
4457
- let l = Ct(this.data, a) || {};
4458
- s.skipCopy || (n = JSON.parse(JSON.stringify(n))), o ? Zn(l, n, i) : l = {
4474
+ let l = wt(this.data, a) || {};
4475
+ s.skipCopy || (n = JSON.parse(JSON.stringify(n))), o ? eo(l, n, i) : l = {
4459
4476
  ...l,
4460
4477
  ...n
4461
- }, tn(this.data, a, l), s.silent || this.emit("added", e, r, n);
4478
+ }, nn(this.data, a, l), s.silent || this.emit("added", e, r, n);
4462
4479
  }
4463
4480
  removeResourceBundle(e, r) {
4464
4481
  this.hasResourceBundle(e, r) && delete this.data[e][r], this.removeNamespaces(r), this.emit("removed", e, r);
@@ -4480,7 +4497,7 @@ class rn extends jt {
4480
4497
  return this.data;
4481
4498
  }
4482
4499
  }
4483
- var Xn = {
4500
+ var to = {
4484
4501
  processors: {},
4485
4502
  addPostProcessor(t) {
4486
4503
  this.processors[t.name] = t;
@@ -4492,10 +4509,10 @@ var Xn = {
4492
4509
  }), e;
4493
4510
  }
4494
4511
  };
4495
- const nn = {}, on = (t) => !N(t) && typeof t != "boolean" && typeof t != "number";
4496
- class Et extends jt {
4512
+ const sn = {}, an = (t) => !N(t) && typeof t != "boolean" && typeof t != "number";
4513
+ class Pt extends jt {
4497
4514
  constructor(e, r = {}) {
4498
- super(), da(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = r, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = Ae.create("translator");
4515
+ super(), pa(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = r, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = Ae.create("translator");
4499
4516
  }
4500
4517
  changeLanguage(e) {
4501
4518
  e && (this.language = e);
@@ -4515,7 +4532,7 @@ class Et extends jt {
4515
4532
  n === void 0 && (n = ":");
4516
4533
  const o = r.keySeparator !== void 0 ? r.keySeparator : this.options.keySeparator;
4517
4534
  let i = r.ns || this.options.defaultNS || [];
4518
- const s = n && e.indexOf(n) > -1, a = !this.options.userDefinedKeySeparator && !r.keySeparator && !this.options.userDefinedNsSeparator && !r.nsSeparator && !Sa(e, n, o);
4535
+ const s = n && e.indexOf(n) > -1, a = !this.options.userDefinedKeySeparator && !r.keySeparator && !this.options.userDefinedNsSeparator && !r.nsSeparator && !Ca(e, n, o);
4519
4536
  if (s && !a) {
4520
4537
  const l = e.match(this.interpolator.nestingRegexp);
4521
4538
  if (l && l.length > 0)
@@ -4564,12 +4581,12 @@ class Et extends jt {
4564
4581
  } : a;
4565
4582
  const g = this.resolve(e, o);
4566
4583
  let m = g == null ? void 0 : g.res;
4567
- const b = (g == null ? void 0 : g.usedKey) || a, v = (g == null ? void 0 : g.exactUsedKey) || a, S = ["[object Number]", "[object Function]", "[object RegExp]"], w = o.joinArrays !== void 0 ? o.joinArrays : this.options.joinArrays, p = !this.i18nFormat || this.i18nFormat.handleAsObject, E = o.count !== void 0 && !N(o.count), u = Et.hasDefaultValue(o), I = E ? this.pluralResolver.getSuffix(f, o.count, o) : "", O = o.ordinal && E ? this.pluralResolver.getSuffix(f, o.count, {
4584
+ const b = (g == null ? void 0 : g.usedKey) || a, v = (g == null ? void 0 : g.exactUsedKey) || a, S = ["[object Number]", "[object Function]", "[object RegExp]"], w = o.joinArrays !== void 0 ? o.joinArrays : this.options.joinArrays, p = !this.i18nFormat || this.i18nFormat.handleAsObject, E = o.count !== void 0 && !N(o.count), u = Pt.hasDefaultValue(o), I = E ? this.pluralResolver.getSuffix(f, o.count, o) : "", O = o.ordinal && E ? this.pluralResolver.getSuffix(f, o.count, {
4568
4585
  ordinal: !1
4569
4586
  }) : "", j = E && !o.ordinal && o.count === 0, ee = j && o[`defaultValue${this.options.pluralSeparator}zero`] || o[`defaultValue${I}`] || o[`defaultValue${O}`] || o.defaultValue;
4570
4587
  let Y = m;
4571
4588
  p && !m && u && (Y = ee);
4572
- const U = on(Y), te = Object.prototype.toString.apply(Y);
4589
+ const U = an(Y), te = Object.prototype.toString.apply(Y);
4573
4590
  if (p && Y && U && S.indexOf(te) < 0 && !(N(w) && Array.isArray(Y))) {
4574
4591
  if (!o.returnObjects && !this.options.returnObjects) {
4575
4592
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
@@ -4586,7 +4603,7 @@ class Et extends jt {
4586
4603
  const W = `${de}${s}${B}`;
4587
4604
  u && !m ? V[B] = this.translate(W, {
4588
4605
  ...o,
4589
- defaultValue: on(ee) ? ee[B] : void 0,
4606
+ defaultValue: an(ee) ? ee[B] : void 0,
4590
4607
  joinArrays: !1,
4591
4608
  ns: l
4592
4609
  }) : V[B] = this.translate(W, {
@@ -4619,8 +4636,8 @@ class Et extends jt {
4619
4636
  else this.options.saveMissingTo === "all" ? ie = this.languageUtils.toResolveHierarchy(o.lng || this.language) : ie.push(o.lng || this.language);
4620
4637
  const x = (P, $, z) => {
4621
4638
  var D;
4622
- const k = u && z !== m ? z : B;
4623
- this.options.missingKeyHandler ? this.options.missingKeyHandler(P, c, $, k, W, o) : (D = this.backendConnector) != null && D.saveMissing && this.backendConnector.saveMissing(P, c, $, k, W, o), this.emit("missingKey", P, c, $, m);
4639
+ const R = u && z !== m ? z : B;
4640
+ this.options.missingKeyHandler ? this.options.missingKeyHandler(P, c, $, R, W, o) : (D = this.backendConnector) != null && D.saveMissing && this.backendConnector.saveMissing(P, c, $, R, W, o), this.emit("missingKey", P, c, $, m);
4624
4641
  };
4625
4642
  this.options.saveMissing && (this.options.saveMissingPlurals && E ? ie.forEach((P) => {
4626
4643
  const $ = this.pluralResolver.getSuffixes(P, o);
@@ -4667,7 +4684,7 @@ class Et extends jt {
4667
4684
  !n.lng && o && o.res && (n.lng = this.language || o.usedLng), n.nest !== !1 && (e = this.interpolator.nest(e, (...g) => (i == null ? void 0 : i[0]) === g[0] && !n.context ? (this.logger.warn(`It seems you are nesting recursively key: ${g[0]} in key: ${r[0]}`), null) : this.translate(...g, r), n)), n.interpolation && this.interpolator.reset();
4668
4685
  }
4669
4686
  const s = n.postProcess || this.options.postProcess, a = N(s) ? [s] : s;
4670
- return e != null && (a != null && a.length) && n.applyPostProcessor !== !1 && (e = Xn.handle(a, e, r, this.options && this.options.postProcessPassResolved ? {
4687
+ return e != null && (a != null && a.length) && n.applyPostProcessor !== !1 && (e = to.handle(a, e, r, this.options && this.options.postProcessPassResolved ? {
4671
4688
  i18nResolved: {
4672
4689
  ...o,
4673
4690
  usedParams: this.getUsedParamsDetails(n)
@@ -4686,7 +4703,7 @@ class Et extends jt {
4686
4703
  const h = r.count !== void 0 && !N(r.count), g = h && !r.ordinal && r.count === 0, m = r.context !== void 0 && (N(r.context) || typeof r.context == "number") && r.context !== "", b = r.lngs ? r.lngs : this.languageUtils.toResolveHierarchy(r.lng || this.language, r.fallbackLng);
4687
4704
  f.forEach((v) => {
4688
4705
  var S, w;
4689
- this.isValidLookup(n) || (a = v, !nn[`${b[0]}-${v}`] && ((S = this.utils) != null && S.hasLoadedNamespace) && !((w = this.utils) != null && w.hasLoadedNamespace(a)) && (nn[`${b[0]}-${v}`] = !0, this.logger.warn(`key "${o}" for languages "${b.join(", ")}" won't get resolved as namespace "${a}" 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!!!")), b.forEach((p) => {
4706
+ this.isValidLookup(n) || (a = v, !sn[`${b[0]}-${v}`] && ((S = this.utils) != null && S.hasLoadedNamespace) && !((w = this.utils) != null && w.hasLoadedNamespace(a)) && (sn[`${b[0]}-${v}`] = !0, this.logger.warn(`key "${o}" for languages "${b.join(", ")}" won't get resolved as namespace "${a}" 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!!!")), b.forEach((p) => {
4690
4707
  var I;
4691
4708
  if (this.isValidLookup(n)) return;
4692
4709
  s = p;
@@ -4745,17 +4762,17 @@ class Et extends jt {
4745
4762
  return !1;
4746
4763
  }
4747
4764
  }
4748
- class sn {
4765
+ class ln {
4749
4766
  constructor(e) {
4750
4767
  this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = Ae.create("languageUtils");
4751
4768
  }
4752
4769
  getScriptPartFromCode(e) {
4753
- if (e = rt(e), !e || e.indexOf("-") < 0) return null;
4770
+ if (e = nt(e), !e || e.indexOf("-") < 0) return null;
4754
4771
  const r = e.split("-");
4755
4772
  return r.length === 2 || (r.pop(), r[r.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(r.join("-"));
4756
4773
  }
4757
4774
  getLanguagePartFromCode(e) {
4758
- if (e = rt(e), !e || e.indexOf("-") < 0) return e;
4775
+ if (e = nt(e), !e || e.indexOf("-") < 0) return e;
4759
4776
  const r = e.split("-");
4760
4777
  return this.formatLanguageCode(r[0]);
4761
4778
  }
@@ -4809,20 +4826,20 @@ class sn {
4809
4826
  }), o;
4810
4827
  }
4811
4828
  }
4812
- const an = {
4829
+ const cn = {
4813
4830
  zero: 0,
4814
4831
  one: 1,
4815
4832
  two: 2,
4816
4833
  few: 3,
4817
4834
  many: 4,
4818
4835
  other: 5
4819
- }, ln = {
4836
+ }, un = {
4820
4837
  select: (t) => t === 1 ? "one" : "other",
4821
4838
  resolvedOptions: () => ({
4822
4839
  pluralCategories: ["one", "other"]
4823
4840
  })
4824
4841
  };
4825
- class Ca {
4842
+ class Ea {
4826
4843
  constructor(e, r = {}) {
4827
4844
  this.languageUtils = e, this.options = r, this.logger = Ae.create("pluralResolver"), this.pluralRulesCache = {};
4828
4845
  }
@@ -4833,7 +4850,7 @@ class Ca {
4833
4850
  this.pluralRulesCache = {};
4834
4851
  }
4835
4852
  getRule(e, r = {}) {
4836
- const n = rt(e === "dev" ? "en" : e), o = r.ordinal ? "ordinal" : "cardinal", i = JSON.stringify({
4853
+ const n = nt(e === "dev" ? "en" : e), o = r.ordinal ? "ordinal" : "cardinal", i = JSON.stringify({
4837
4854
  cleanedCode: n,
4838
4855
  type: o
4839
4856
  });
@@ -4846,8 +4863,8 @@ class Ca {
4846
4863
  });
4847
4864
  } catch {
4848
4865
  if (!Intl)
4849
- return this.logger.error("No Intl support, please use an Intl polyfill!"), ln;
4850
- if (!e.match(/-|_/)) return ln;
4866
+ return this.logger.error("No Intl support, please use an Intl polyfill!"), un;
4867
+ if (!e.match(/-|_/)) return un;
4851
4868
  const l = this.languageUtils.getLanguagePartFromCode(e);
4852
4869
  s = this.getRule(l, r);
4853
4870
  }
@@ -4862,18 +4879,18 @@ class Ca {
4862
4879
  }
4863
4880
  getSuffixes(e, r = {}) {
4864
4881
  let n = this.getRule(e, r);
4865
- return n || (n = this.getRule("dev", r)), n ? n.resolvedOptions().pluralCategories.sort((o, i) => an[o] - an[i]).map((o) => `${this.options.prepend}${r.ordinal ? `ordinal${this.options.prepend}` : ""}${o}`) : [];
4882
+ return n || (n = this.getRule("dev", r)), n ? n.resolvedOptions().pluralCategories.sort((o, i) => cn[o] - cn[i]).map((o) => `${this.options.prepend}${r.ordinal ? `ordinal${this.options.prepend}` : ""}${o}`) : [];
4866
4883
  }
4867
4884
  getSuffix(e, r, n = {}) {
4868
4885
  const o = this.getRule(e, n);
4869
4886
  return o ? `${this.options.prepend}${n.ordinal ? `ordinal${this.options.prepend}` : ""}${o.select(r)}` : (this.logger.warn(`no plural rule found for: ${e}`), this.getSuffix("dev", r, n));
4870
4887
  }
4871
4888
  }
4872
- const cn = (t, e, r, n = ".", o = !0) => {
4873
- let i = ha(t, e, r);
4874
- return !i && o && N(r) && (i = ir(t, r, n), i === void 0 && (i = ir(e, r, n))), i;
4889
+ const dn = (t, e, r, n = ".", o = !0) => {
4890
+ let i = ga(t, e, r);
4891
+ return !i && o && N(r) && (i = ar(t, r, n), i === void 0 && (i = ar(e, r, n))), i;
4875
4892
  }, Zt = (t) => t.replace(/\$/g, "$$$$");
4876
- class wa {
4893
+ class Pa {
4877
4894
  constructor(e = {}) {
4878
4895
  var r;
4879
4896
  this.logger = Ae.create("interpolator"), this.options = e, this.format = ((r = e == null ? void 0 : e.interpolation) == null ? void 0 : r.format) || ((n) => n), this.init(e);
@@ -4901,7 +4918,7 @@ class wa {
4901
4918
  maxReplaces: S,
4902
4919
  alwaysFormat: w
4903
4920
  } = e.interpolation;
4904
- this.escape = r !== void 0 ? r : ga, this.escapeValue = n !== void 0 ? n : !0, this.useRawValueToEscape = o !== void 0 ? o : !1, this.prefix = i ? _e(i) : s || "{{", this.suffix = a ? _e(a) : l || "}}", this.formatSeparator = c || ",", this.unescapePrefix = d ? "" : f || "-", this.unescapeSuffix = this.unescapePrefix ? "" : d || "", this.nestingPrefix = h ? _e(h) : g || _e("$t("), this.nestingSuffix = m ? _e(m) : b || _e(")"), this.nestingOptionsSeparator = v || ",", this.maxReplaces = S || 1e3, this.alwaysFormat = w !== void 0 ? w : !1, this.resetRegExp();
4921
+ this.escape = r !== void 0 ? r : ba, this.escapeValue = n !== void 0 ? n : !0, this.useRawValueToEscape = o !== void 0 ? o : !1, this.prefix = i ? _e(i) : s || "{{", this.suffix = a ? _e(a) : l || "}}", this.formatSeparator = c || ",", this.unescapePrefix = d ? "" : f || "-", this.unescapeSuffix = this.unescapePrefix ? "" : d || "", this.nestingPrefix = h ? _e(h) : g || _e("$t("), this.nestingSuffix = m ? _e(m) : b || _e(")"), this.nestingOptionsSeparator = v || ",", this.maxReplaces = S || 1e3, this.alwaysFormat = w !== void 0 ? w : !1, this.resetRegExp();
4905
4922
  }
4906
4923
  reset() {
4907
4924
  this.options && this.init(this.options);
@@ -4915,7 +4932,7 @@ class wa {
4915
4932
  let i, s, a;
4916
4933
  const l = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, c = (m) => {
4917
4934
  if (m.indexOf(this.formatSeparator) < 0) {
4918
- const w = cn(r, l, m, this.options.keySeparator, this.options.ignoreJSONStructure);
4935
+ const w = dn(r, l, m, this.options.keySeparator, this.options.ignoreJSONStructure);
4919
4936
  return this.alwaysFormat ? this.format(w, void 0, n, {
4920
4937
  ...o,
4921
4938
  ...r,
@@ -4923,7 +4940,7 @@ class wa {
4923
4940
  }) : w;
4924
4941
  }
4925
4942
  const b = m.split(this.formatSeparator), v = b.shift().trim(), S = b.join(this.formatSeparator).trim();
4926
- return this.format(cn(r, l, v, this.options.keySeparator, this.options.ignoreJSONStructure), S, n, {
4943
+ return this.format(dn(r, l, v, this.options.keySeparator, this.options.ignoreJSONStructure), S, n, {
4927
4944
  ...o,
4928
4945
  ...r,
4929
4946
  interpolationkey: v
@@ -4951,7 +4968,7 @@ class wa {
4951
4968
  continue;
4952
4969
  } else
4953
4970
  this.logger.warn(`missed to pass in variable ${b} for interpolating ${e}`), s = "";
4954
- else !N(s) && !this.useRawValueToEscape && (s = Zr(s));
4971
+ else !N(s) && !this.useRawValueToEscape && (s = en(s));
4955
4972
  const v = m.safeValue(s);
4956
4973
  if (e = e.replace(i[0], v), f ? (m.regex.lastIndex += s.length, m.regex.lastIndex -= i[0].length) : m.regex.lastIndex = 0, a++, a >= this.maxReplaces)
4957
4974
  break;
@@ -4989,7 +5006,7 @@ class wa {
4989
5006
  o[1] = d.shift(), l = d, c = !0;
4990
5007
  }
4991
5008
  if (i = r(a.call(this, o[1].trim(), s), s), i && o[0] === e && !N(i)) return i;
4992
- N(i) || (i = Zr(i)), i || (this.logger.warn(`missed to resolve ${o[1]} for nesting ${e}`), i = ""), c && (i = l.reduce((d, f) => this.format(d, f, n.lng, {
5009
+ N(i) || (i = en(i)), i || (this.logger.warn(`missed to resolve ${o[1]} for nesting ${e}`), i = ""), c && (i = l.reduce((d, f) => this.format(d, f, n.lng, {
4993
5010
  ...n,
4994
5011
  interpolationkey: o[1].trim()
4995
5012
  }), i.trim())), e = e.replace(o[0], i), this.regexp.lastIndex = 0;
@@ -4997,7 +5014,7 @@ class wa {
4997
5014
  return e;
4998
5015
  }
4999
5016
  }
5000
- const Ea = (t) => {
5017
+ const $a = (t) => {
5001
5018
  let e = t.toLowerCase().trim();
5002
5019
  const r = {};
5003
5020
  if (t.indexOf("(") > -1) {
@@ -5015,7 +5032,7 @@ const Ea = (t) => {
5015
5032
  formatName: e,
5016
5033
  formatOptions: r
5017
5034
  };
5018
- }, un = (t) => {
5035
+ }, fn = (t) => {
5019
5036
  const e = {};
5020
5037
  return (r, n, o) => {
5021
5038
  let i = o;
@@ -5025,10 +5042,10 @@ const Ea = (t) => {
5025
5042
  });
5026
5043
  const s = n + JSON.stringify(i);
5027
5044
  let a = e[s];
5028
- return a || (a = t(rt(n), o), e[s] = a), a(r);
5045
+ return a || (a = t(nt(n), o), e[s] = a), a(r);
5029
5046
  };
5030
- }, Pa = (t) => (e, r, n) => t(rt(r), n)(e);
5031
- class $a {
5047
+ }, Ta = (t) => (e, r, n) => t(nt(r), n)(e);
5048
+ class Aa {
5032
5049
  constructor(e = {}) {
5033
5050
  this.logger = Ae.create("formatter"), this.options = e, this.init(e);
5034
5051
  }
@@ -5036,7 +5053,7 @@ class $a {
5036
5053
  interpolation: {}
5037
5054
  }) {
5038
5055
  this.formatSeparator = r.interpolation.formatSeparator || ",";
5039
- const n = r.cacheInBuiltFormats ? un : Pa;
5056
+ const n = r.cacheInBuiltFormats ? fn : Ta;
5040
5057
  this.formats = {
5041
5058
  number: n((o, i) => {
5042
5059
  const s = new Intl.NumberFormat(o, {
@@ -5075,7 +5092,7 @@ class $a {
5075
5092
  this.formats[e.toLowerCase().trim()] = r;
5076
5093
  }
5077
5094
  addCached(e, r) {
5078
- this.formats[e.toLowerCase().trim()] = un(r);
5095
+ this.formats[e.toLowerCase().trim()] = fn(r);
5079
5096
  }
5080
5097
  format(e, r, n, o = {}) {
5081
5098
  const i = r.split(this.formatSeparator);
@@ -5088,7 +5105,7 @@ class $a {
5088
5105
  const {
5089
5106
  formatName: c,
5090
5107
  formatOptions: d
5091
- } = Ea(l);
5108
+ } = $a(l);
5092
5109
  if (this.formats[c]) {
5093
5110
  let h = a;
5094
5111
  try {
@@ -5108,10 +5125,10 @@ class $a {
5108
5125
  }, e);
5109
5126
  }
5110
5127
  }
5111
- const Ta = (t, e) => {
5128
+ const Oa = (t, e) => {
5112
5129
  t.pending[e] !== void 0 && (delete t.pending[e], t.pendingCount--);
5113
5130
  };
5114
- class Aa extends jt {
5131
+ class ka extends jt {
5115
5132
  constructor(e, r, n, o = {}) {
5116
5133
  var i, s;
5117
5134
  super(), this.backend = e, this.store = r, this.services = n, this.languageUtils = n.languageUtils, this.options = o, this.logger = Ae.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = o.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = o.maxRetries >= 0 ? o.maxRetries : 5, this.retryTimeout = o.retryTimeout >= 1 ? o.retryTimeout : 350, this.state = {}, this.queue = [], (s = (i = this.backend) == null ? void 0 : i.init) == null || s.call(i, n, o.backend, o);
@@ -5144,7 +5161,7 @@ class Aa extends jt {
5144
5161
  }), this.state[e] = r ? -1 : 2, r && n && (this.state[e] = 0);
5145
5162
  const a = {};
5146
5163
  this.queue.forEach((l) => {
5147
- pa(l.loaded, [i], s), Ta(l, e), r && l.errors.push(r), l.pendingCount === 0 && !l.done && (Object.keys(l.loaded).forEach((c) => {
5164
+ ma(l.loaded, [i], s), Oa(l, e), r && l.errors.push(r), l.pendingCount === 0 && !l.done && (Object.keys(l.loaded).forEach((c) => {
5148
5165
  a[c] || (a[c] = {});
5149
5166
  const d = l.loaded[c];
5150
5167
  d.length && d.forEach((f) => {
@@ -5243,7 +5260,7 @@ class Aa extends jt {
5243
5260
  }
5244
5261
  }
5245
5262
  }
5246
- const dn = () => ({
5263
+ const pn = () => ({
5247
5264
  debug: !1,
5248
5265
  initAsync: !0,
5249
5266
  ns: ["translation"],
@@ -5300,20 +5317,20 @@ const dn = () => ({
5300
5317
  skipOnVariables: !0
5301
5318
  },
5302
5319
  cacheInBuiltFormats: !0
5303
- }), fn = (t) => {
5320
+ }), hn = (t) => {
5304
5321
  var e, r;
5305
5322
  return N(t.ns) && (t.ns = [t.ns]), N(t.fallbackLng) && (t.fallbackLng = [t.fallbackLng]), N(t.fallbackNS) && (t.fallbackNS = [t.fallbackNS]), ((r = (e = t.supportedLngs) == null ? void 0 : e.indexOf) == null ? void 0 : r.call(e, "cimode")) < 0 && (t.supportedLngs = t.supportedLngs.concat(["cimode"])), typeof t.initImmediate == "boolean" && (t.initAsync = t.initImmediate), t;
5306
- }, ut = () => {
5307
- }, Oa = (t) => {
5323
+ }, dt = () => {
5324
+ }, Ra = (t) => {
5308
5325
  Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach((r) => {
5309
5326
  typeof t[r] == "function" && (t[r] = t[r].bind(t));
5310
5327
  });
5311
5328
  };
5312
- class nt extends jt {
5329
+ class ot extends jt {
5313
5330
  constructor(e = {}, r) {
5314
- if (super(), this.options = fn(e), this.services = {}, this.logger = Ae, this.modules = {
5331
+ if (super(), this.options = hn(e), this.services = {}, this.logger = Ae, this.modules = {
5315
5332
  external: []
5316
- }, Oa(this), r && !this.isInitialized && !e.isClone) {
5333
+ }, Ra(this), r && !this.isInitialized && !e.isClone) {
5317
5334
  if (!this.options.initAsync)
5318
5335
  return this.init(e, r), this;
5319
5336
  setTimeout(() => {
@@ -5323,11 +5340,11 @@ class nt extends jt {
5323
5340
  }
5324
5341
  init(e = {}, r) {
5325
5342
  this.isInitializing = !0, typeof e == "function" && (r = e, e = {}), e.defaultNS == null && e.ns && (N(e.ns) ? e.defaultNS = e.ns : e.ns.indexOf("translation") < 0 && (e.defaultNS = e.ns[0]));
5326
- const n = dn();
5343
+ const n = pn();
5327
5344
  this.options = {
5328
5345
  ...n,
5329
5346
  ...this.options,
5330
- ...fn(e)
5347
+ ...hn(e)
5331
5348
  }, this.options.interpolation = {
5332
5349
  ...n.interpolation,
5333
5350
  ...this.options.interpolation
@@ -5336,24 +5353,24 @@ class nt extends jt {
5336
5353
  if (!this.options.isClone) {
5337
5354
  this.modules.logger ? Ae.init(o(this.modules.logger), this.options) : Ae.init(null, this.options);
5338
5355
  let c;
5339
- this.modules.formatter ? c = this.modules.formatter : c = $a;
5340
- const d = new sn(this.options);
5341
- this.store = new rn(this.options.resources, this.options);
5356
+ this.modules.formatter ? c = this.modules.formatter : c = Aa;
5357
+ const d = new ln(this.options);
5358
+ this.store = new on(this.options.resources, this.options);
5342
5359
  const f = this.services;
5343
- f.logger = Ae, f.resourceStore = this.store, f.languageUtils = d, f.pluralResolver = new Ca(d, {
5360
+ f.logger = Ae, f.resourceStore = this.store, f.languageUtils = d, f.pluralResolver = new Ea(d, {
5344
5361
  prepend: this.options.pluralSeparator,
5345
5362
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
5346
- }), c && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (f.formatter = o(c), f.formatter.init(f, this.options), this.options.interpolation.format = f.formatter.format.bind(f.formatter)), f.interpolator = new wa(this.options), f.utils = {
5363
+ }), c && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (f.formatter = o(c), f.formatter.init(f, this.options), this.options.interpolation.format = f.formatter.format.bind(f.formatter)), f.interpolator = new Pa(this.options), f.utils = {
5347
5364
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
5348
- }, f.backendConnector = new Aa(o(this.modules.backend), f.resourceStore, f, this.options), f.backendConnector.on("*", (h, ...g) => {
5365
+ }, f.backendConnector = new ka(o(this.modules.backend), f.resourceStore, f, this.options), f.backendConnector.on("*", (h, ...g) => {
5349
5366
  this.emit(h, ...g);
5350
- }), this.modules.languageDetector && (f.languageDetector = o(this.modules.languageDetector), f.languageDetector.init && f.languageDetector.init(f, this.options.detection, this.options)), this.modules.i18nFormat && (f.i18nFormat = o(this.modules.i18nFormat), f.i18nFormat.init && f.i18nFormat.init(this)), this.translator = new Et(this.services, this.options), this.translator.on("*", (h, ...g) => {
5367
+ }), this.modules.languageDetector && (f.languageDetector = o(this.modules.languageDetector), f.languageDetector.init && f.languageDetector.init(f, this.options.detection, this.options)), this.modules.i18nFormat && (f.i18nFormat = o(this.modules.i18nFormat), f.i18nFormat.init && f.i18nFormat.init(this)), this.translator = new Pt(this.services, this.options), this.translator.on("*", (h, ...g) => {
5351
5368
  this.emit(h, ...g);
5352
5369
  }), this.modules.external.forEach((h) => {
5353
5370
  h.init && h.init(this);
5354
5371
  });
5355
5372
  }
5356
- if (this.format = this.options.interpolation.format, r || (r = ut), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
5373
+ if (this.format = this.options.interpolation.format, r || (r = dt), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
5357
5374
  const c = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
5358
5375
  c.length > 0 && c[0] !== "dev" && (this.options.lng = c[0]);
5359
5376
  }
@@ -5362,7 +5379,7 @@ class nt extends jt {
5362
5379
  }), ["addResource", "addResources", "addResourceBundle", "removeResourceBundle"].forEach((c) => {
5363
5380
  this[c] = (...d) => (this.store[c](...d), this);
5364
5381
  });
5365
- const a = Ye(), l = () => {
5382
+ const a = Ge(), l = () => {
5366
5383
  const c = (d, f) => {
5367
5384
  this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), a.resolve(f), r(d, f);
5368
5385
  };
@@ -5371,7 +5388,7 @@ class nt extends jt {
5371
5388
  };
5372
5389
  return this.options.resources || !this.options.initAsync ? l() : setTimeout(l, 0), a;
5373
5390
  }
5374
- loadResources(e, r = ut) {
5391
+ loadResources(e, r = dt) {
5375
5392
  var i, s;
5376
5393
  let n = r;
5377
5394
  const o = N(e) ? e : this.language;
@@ -5390,15 +5407,15 @@ class nt extends jt {
5390
5407
  n(null);
5391
5408
  }
5392
5409
  reloadResources(e, r, n) {
5393
- const o = Ye();
5394
- return typeof e == "function" && (n = e, e = void 0), typeof r == "function" && (n = r, r = void 0), e || (e = this.languages), r || (r = this.options.ns), n || (n = ut), this.services.backendConnector.reload(e, r, (i) => {
5410
+ const o = Ge();
5411
+ return typeof e == "function" && (n = e, e = void 0), typeof r == "function" && (n = r, r = void 0), e || (e = this.languages), r || (r = this.options.ns), n || (n = dt), this.services.backendConnector.reload(e, r, (i) => {
5395
5412
  o.resolve(), n(i);
5396
5413
  }), o;
5397
5414
  }
5398
5415
  use(e) {
5399
5416
  if (!e) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
5400
5417
  if (!e.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
5401
- return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && Xn.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
5418
+ return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && to.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
5402
5419
  }
5403
5420
  setResolvedLanguage(e) {
5404
5421
  if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1)) {
@@ -5414,7 +5431,7 @@ class nt extends jt {
5414
5431
  }
5415
5432
  changeLanguage(e, r) {
5416
5433
  this.isLanguageChangingTo = e;
5417
- const n = Ye();
5434
+ const n = Ge();
5418
5435
  this.emit("languageChanging", e);
5419
5436
  const o = (a) => {
5420
5437
  this.language = a, this.languages = this.services.languageUtils.toResolveHierarchy(a), this.resolvedLanguage = void 0, this.setResolvedLanguage(a);
@@ -5471,7 +5488,7 @@ class nt extends jt {
5471
5488
  return !!(this.hasResourceBundle(n, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || s(n, e) && (!o || s(i, e)));
5472
5489
  }
5473
5490
  loadNamespaces(e, r) {
5474
- const n = Ye();
5491
+ const n = Ge();
5475
5492
  return this.options.ns ? (N(e) && (e = [e]), e.forEach((o) => {
5476
5493
  this.options.ns.indexOf(o) < 0 && this.options.ns.push(o);
5477
5494
  }), this.loadResources((o) => {
@@ -5479,7 +5496,7 @@ class nt extends jt {
5479
5496
  }), n) : (r && r(), Promise.resolve());
5480
5497
  }
5481
5498
  loadLanguages(e, r) {
5482
- const n = Ye();
5499
+ const n = Ge();
5483
5500
  N(e) && (e = [e]);
5484
5501
  const o = this.options.preload || [], i = e.filter((s) => o.indexOf(s) < 0 && this.services.languageUtils.isSupportedCode(s));
5485
5502
  return i.length ? (this.options.preload = o.concat(i), this.loadResources((s) => {
@@ -5489,20 +5506,20 @@ class nt extends jt {
5489
5506
  dir(e) {
5490
5507
  var o, i;
5491
5508
  if (e || (e = this.resolvedLanguage || (((o = this.languages) == null ? void 0 : o.length) > 0 ? this.languages[0] : this.language)), !e) return "rtl";
5492
- const r = ["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"], n = ((i = this.services) == null ? void 0 : i.languageUtils) || new sn(dn());
5509
+ const r = ["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"], n = ((i = this.services) == null ? void 0 : i.languageUtils) || new ln(pn());
5493
5510
  return r.indexOf(n.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
5494
5511
  }
5495
5512
  static createInstance(e = {}, r) {
5496
- return new nt(e, r);
5513
+ return new ot(e, r);
5497
5514
  }
5498
- cloneInstance(e = {}, r = ut) {
5515
+ cloneInstance(e = {}, r = dt) {
5499
5516
  const n = e.forkResourceStore;
5500
5517
  n && delete e.forkResourceStore;
5501
5518
  const o = {
5502
5519
  ...this.options,
5503
5520
  ...e,
5504
5521
  isClone: !0
5505
- }, i = new nt(o);
5522
+ }, i = new ot(o);
5506
5523
  if ((e.debug !== void 0 || e.prefix !== void 0) && (i.logger = i.logger.clone(e)), ["store", "services", "language"].forEach((a) => {
5507
5524
  i[a] = this[a];
5508
5525
  }), i.services = {
@@ -5515,9 +5532,9 @@ class nt extends jt {
5515
5532
  }, l[c] = Object.keys(l[c]).reduce((d, f) => (d[f] = {
5516
5533
  ...l[c][f]
5517
5534
  }, d), l[c]), l), {});
5518
- i.store = new rn(a, o), i.services.resourceStore = i.store;
5535
+ i.store = new on(a, o), i.services.resourceStore = i.store;
5519
5536
  }
5520
- return i.translator = new Et(i.services, o), i.translator.on("*", (a, ...l) => {
5537
+ return i.translator = new Pt(i.services, o), i.translator.on("*", (a, ...l) => {
5521
5538
  i.emit(a, ...l);
5522
5539
  }), i.init(o, r), i.translator.options = o, i.translator.backendConnector.services.utils = {
5523
5540
  hasLoadedNamespace: i.hasLoadedNamespace.bind(i)
@@ -5533,8 +5550,8 @@ class nt extends jt {
5533
5550
  };
5534
5551
  }
5535
5552
  }
5536
- const he = nt.createInstance();
5537
- he.createInstance = nt.createInstance;
5553
+ const he = ot.createInstance();
5554
+ he.createInstance = ot.createInstance;
5538
5555
  he.createInstance;
5539
5556
  he.dir;
5540
5557
  he.init;
@@ -5550,20 +5567,20 @@ he.hasLoadedNamespace;
5550
5567
  he.loadNamespaces;
5551
5568
  he.loadLanguages;
5552
5569
  const {
5553
- slice: Ra,
5554
- forEach: ka
5570
+ slice: za,
5571
+ forEach: Fa
5555
5572
  } = [];
5556
- function za(t) {
5557
- return ka.call(Ra.call(arguments, 1), (e) => {
5573
+ function Na(t) {
5574
+ return Fa.call(za.call(arguments, 1), (e) => {
5558
5575
  if (e)
5559
5576
  for (const r in e)
5560
5577
  t[r] === void 0 && (t[r] = e[r]);
5561
5578
  }), t;
5562
5579
  }
5563
- function Fa(t) {
5580
+ function Ia(t) {
5564
5581
  return typeof t != "string" ? !1 : [/<\s*script.*?>/i, /<\s*\/\s*script\s*>/i, /<\s*img.*?on\w+\s*=/i, /<\s*\w+\s*on\w+\s*=.*?>/i, /javascript\s*:/i, /vbscript\s*:/i, /expression\s*\(/i, /eval\s*\(/i, /alert\s*\(/i, /document\.cookie/i, /document\.write\s*\(/i, /window\.location/i, /innerHTML/i].some((r) => r.test(t));
5565
5582
  }
5566
- const pn = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Na = function(t, e) {
5583
+ const mn = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Da = function(t, e) {
5567
5584
  const n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
5568
5585
  path: "/"
5569
5586
  }, o = encodeURIComponent(e);
@@ -5574,12 +5591,12 @@ const pn = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Na = function(t, e) {
5574
5591
  i += `; Max-Age=${Math.floor(s)}`;
5575
5592
  }
5576
5593
  if (n.domain) {
5577
- if (!pn.test(n.domain))
5594
+ if (!mn.test(n.domain))
5578
5595
  throw new TypeError("option domain is invalid");
5579
5596
  i += `; Domain=${n.domain}`;
5580
5597
  }
5581
5598
  if (n.path) {
5582
- if (!pn.test(n.path))
5599
+ if (!mn.test(n.path))
5583
5600
  throw new TypeError("option path is invalid");
5584
5601
  i += `; Path=${n.path}`;
5585
5602
  }
@@ -5606,13 +5623,13 @@ const pn = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Na = function(t, e) {
5606
5623
  throw new TypeError("option sameSite is invalid");
5607
5624
  }
5608
5625
  return n.partitioned && (i += "; Partitioned"), i;
5609
- }, hn = {
5626
+ }, gn = {
5610
5627
  create(t, e, r, n) {
5611
5628
  let o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
5612
5629
  path: "/",
5613
5630
  sameSite: "strict"
5614
5631
  };
5615
- r && (o.expires = /* @__PURE__ */ new Date(), o.expires.setTime(o.expires.getTime() + r * 60 * 1e3)), n && (o.domain = n), document.cookie = Na(t, encodeURIComponent(e), o);
5632
+ r && (o.expires = /* @__PURE__ */ new Date(), o.expires.setTime(o.expires.getTime() + r * 60 * 1e3)), n && (o.domain = n), document.cookie = Da(t, encodeURIComponent(e), o);
5616
5633
  },
5617
5634
  read(t) {
5618
5635
  const e = `${t}=`, r = document.cookie.split(";");
@@ -5627,7 +5644,7 @@ const pn = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Na = function(t, e) {
5627
5644
  this.create(t, "", -1);
5628
5645
  }
5629
5646
  };
5630
- var Ia = {
5647
+ var _a = {
5631
5648
  name: "cookie",
5632
5649
  // Deconstruct the options object and extract the lookupCookie property
5633
5650
  lookup(t) {
@@ -5635,7 +5652,7 @@ var Ia = {
5635
5652
  lookupCookie: e
5636
5653
  } = t;
5637
5654
  if (e && typeof document < "u")
5638
- return hn.read(e) || void 0;
5655
+ return gn.read(e) || void 0;
5639
5656
  },
5640
5657
  // Deconstruct the options object and extract the lookupCookie, cookieMinutes, cookieDomain, and cookieOptions properties
5641
5658
  cacheUserLanguage(t, e) {
@@ -5645,9 +5662,9 @@ var Ia = {
5645
5662
  cookieDomain: o,
5646
5663
  cookieOptions: i
5647
5664
  } = e;
5648
- r && typeof document < "u" && hn.create(r, t, n, o, i);
5665
+ r && typeof document < "u" && gn.create(r, t, n, o, i);
5649
5666
  }
5650
- }, Da = {
5667
+ }, La = {
5651
5668
  name: "querystring",
5652
5669
  // Deconstruct the options object and extract the lookupQuerystring property
5653
5670
  lookup(t) {
@@ -5670,7 +5687,7 @@ var Ia = {
5670
5687
  }
5671
5688
  };
5672
5689
  let Le = null;
5673
- const mn = () => {
5690
+ const yn = () => {
5674
5691
  if (Le !== null) return Le;
5675
5692
  try {
5676
5693
  if (Le = typeof window < "u" && window.localStorage !== null, !Le)
@@ -5682,14 +5699,14 @@ const mn = () => {
5682
5699
  }
5683
5700
  return Le;
5684
5701
  };
5685
- var _a = {
5702
+ var ja = {
5686
5703
  name: "localStorage",
5687
5704
  // Deconstruct the options object and extract the lookupLocalStorage property
5688
5705
  lookup(t) {
5689
5706
  let {
5690
5707
  lookupLocalStorage: e
5691
5708
  } = t;
5692
- if (e && mn())
5709
+ if (e && yn())
5693
5710
  return window.localStorage.getItem(e) || void 0;
5694
5711
  },
5695
5712
  // Deconstruct the options object and extract the lookupLocalStorage property
@@ -5697,11 +5714,11 @@ var _a = {
5697
5714
  let {
5698
5715
  lookupLocalStorage: r
5699
5716
  } = e;
5700
- r && mn() && window.localStorage.setItem(r, t);
5717
+ r && yn() && window.localStorage.setItem(r, t);
5701
5718
  }
5702
5719
  };
5703
5720
  let je = null;
5704
- const gn = () => {
5721
+ const bn = () => {
5705
5722
  if (je !== null) return je;
5706
5723
  try {
5707
5724
  if (je = typeof window < "u" && window.sessionStorage !== null, !je)
@@ -5713,22 +5730,22 @@ const gn = () => {
5713
5730
  }
5714
5731
  return je;
5715
5732
  };
5716
- var La = {
5733
+ var Ma = {
5717
5734
  name: "sessionStorage",
5718
5735
  lookup(t) {
5719
5736
  let {
5720
5737
  lookupSessionStorage: e
5721
5738
  } = t;
5722
- if (e && gn())
5739
+ if (e && bn())
5723
5740
  return window.sessionStorage.getItem(e) || void 0;
5724
5741
  },
5725
5742
  cacheUserLanguage(t, e) {
5726
5743
  let {
5727
5744
  lookupSessionStorage: r
5728
5745
  } = e;
5729
- r && gn() && window.sessionStorage.setItem(r, t);
5746
+ r && bn() && window.sessionStorage.setItem(r, t);
5730
5747
  }
5731
- }, ja = {
5748
+ }, Ba = {
5732
5749
  name: "navigator",
5733
5750
  lookup(t) {
5734
5751
  const e = [];
@@ -5745,7 +5762,7 @@ var La = {
5745
5762
  }
5746
5763
  return e.length > 0 ? e : void 0;
5747
5764
  }
5748
- }, Ma = {
5765
+ }, Va = {
5749
5766
  name: "htmlTag",
5750
5767
  // Deconstruct the options object and extract the htmlTag property
5751
5768
  lookup(t) {
@@ -5755,7 +5772,7 @@ var La = {
5755
5772
  const n = e || (typeof document < "u" ? document.documentElement : null);
5756
5773
  return n && typeof n.getAttribute == "function" && (r = n.getAttribute("lang")), r;
5757
5774
  }
5758
- }, Ba = {
5775
+ }, Ha = {
5759
5776
  name: "path",
5760
5777
  // Deconstruct the options object and extract the lookupFromPathIndex property
5761
5778
  lookup(t) {
@@ -5767,7 +5784,7 @@ var La = {
5767
5784
  const r = window.location.pathname.match(/\/([a-zA-Z-]*)/g);
5768
5785
  return Array.isArray(r) ? (o = r[typeof e == "number" ? e : 0]) == null ? void 0 : o.replace("/", "") : void 0;
5769
5786
  }
5770
- }, Va = {
5787
+ }, qa = {
5771
5788
  name: "subdomain",
5772
5789
  lookup(t) {
5773
5790
  var o, i;
@@ -5779,15 +5796,15 @@ var La = {
5779
5796
  return n[r];
5780
5797
  }
5781
5798
  };
5782
- let eo = !1;
5799
+ let ro = !1;
5783
5800
  try {
5784
- document.cookie, eo = !0;
5801
+ document.cookie, ro = !0;
5785
5802
  } catch {
5786
5803
  }
5787
- const to = ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"];
5788
- eo || to.splice(1, 1);
5789
- const Ha = () => ({
5790
- order: to,
5804
+ const no = ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"];
5805
+ ro || no.splice(1, 1);
5806
+ const Ua = () => ({
5807
+ order: no,
5791
5808
  lookupQuerystring: "lng",
5792
5809
  lookupCookie: "i18next",
5793
5810
  lookupLocalStorage: "i18nextLng",
@@ -5799,7 +5816,7 @@ const Ha = () => ({
5799
5816
  // cookieDomain: 'myDomain'
5800
5817
  convertDetectedLanguage: (t) => t
5801
5818
  });
5802
- class ro {
5819
+ class oo {
5803
5820
  constructor(e) {
5804
5821
  let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
5805
5822
  this.type = "languageDetector", this.detectors = {}, this.init(e, r);
@@ -5808,7 +5825,7 @@ class ro {
5808
5825
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
5809
5826
  languageUtils: {}
5810
5827
  }, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
5811
- this.services = e, this.options = za(r, this.options || {}, Ha()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = (o) => o.replace("-", "_")), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = n, this.addDetector(Ia), this.addDetector(Da), this.addDetector(_a), this.addDetector(La), this.addDetector(ja), this.addDetector(Ma), this.addDetector(Ba), this.addDetector(Va);
5828
+ this.services = e, this.options = Na(r, this.options || {}, Ua()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = (o) => o.replace("-", "_")), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = n, this.addDetector(_a), this.addDetector(La), this.addDetector(ja), this.addDetector(Ma), this.addDetector(Ba), this.addDetector(Va), this.addDetector(Ha), this.addDetector(qa);
5812
5829
  }
5813
5830
  addDetector(e) {
5814
5831
  return this.detectors[e.name] = e, this;
@@ -5820,7 +5837,7 @@ class ro {
5820
5837
  let o = this.detectors[n].lookup(this.options);
5821
5838
  o && typeof o == "string" && (o = [o]), o && (r = r.concat(o));
5822
5839
  }
5823
- }), r = r.filter((n) => n != null && !Fa(n)).map((n) => this.options.convertDetectedLanguage(n)), this.services && this.services.languageUtils && this.services.languageUtils.getBestMatchFromCodes ? r : r.length > 0 ? r[0] : null;
5840
+ }), r = r.filter((n) => n != null && !Ia(n)).map((n) => this.options.convertDetectedLanguage(n)), this.services && this.services.languageUtils && this.services.languageUtils.getBestMatchFromCodes ? r : r.length > 0 ? r[0] : null;
5824
5841
  }
5825
5842
  cacheUserLanguage(e) {
5826
5843
  let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.options.caches;
@@ -5829,8 +5846,8 @@ class ro {
5829
5846
  }));
5830
5847
  }
5831
5848
  }
5832
- ro.type = "languageDetector";
5833
- const qa = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Ua = {
5849
+ oo.type = "languageDetector";
5850
+ const Wa = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Qa = {
5834
5851
  "&amp;": "&",
5835
5852
  "&#38;": "&",
5836
5853
  "&lt;": "<",
@@ -5851,8 +5868,8 @@ const qa = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|
5851
5868
  "&#8230;": "…",
5852
5869
  "&#x2F;": "/",
5853
5870
  "&#47;": "/"
5854
- }, Wa = (t) => Ua[t], Qa = (t) => t.replace(qa, Wa);
5855
- let yn = {
5871
+ }, Ka = (t) => Qa[t], Ya = (t) => t.replace(Wa, Ka);
5872
+ let vn = {
5856
5873
  bindI18n: "languageChanged",
5857
5874
  bindI18nStore: "",
5858
5875
  transEmptyNodeValue: "",
@@ -5860,23 +5877,23 @@ let yn = {
5860
5877
  transWrapTextNodes: "",
5861
5878
  transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
5862
5879
  useSuspense: !0,
5863
- unescape: Qa
5880
+ unescape: Ya
5864
5881
  };
5865
- const Ka = (t = {}) => {
5866
- yn = {
5867
- ...yn,
5882
+ const Ga = (t = {}) => {
5883
+ vn = {
5884
+ ...vn,
5868
5885
  ...t
5869
5886
  };
5870
- }, Ya = {
5887
+ }, Ja = {
5871
5888
  type: "3rdParty",
5872
5889
  init(t) {
5873
- Ka(t.options.react);
5890
+ Ga(t.options.react);
5874
5891
  }
5875
- }, Ga = {
5892
+ }, Za = {
5876
5893
  language: "Bulgarian",
5877
5894
  code: "bg",
5878
5895
  direction: "ltr"
5879
- }, Ja = {
5896
+ }, Xa = {
5880
5897
  buttons: {
5881
5898
  finish: "Завършете куиза",
5882
5899
  start: "Започнете куиза",
@@ -5909,7 +5926,7 @@ const Ka = (t = {}) => {
5909
5926
  youWon: "Спечелихте",
5910
5927
  quizNotFound: "Кузът не е намерен",
5911
5928
  quizNotFoundDescription: "Класическият куиз не можа да бъде намерен."
5912
- }, Za = {
5929
+ }, el = {
5913
5930
  presentedBy: "Спонсор:",
5914
5931
  labels: {
5915
5932
  min: "мин",
@@ -5918,7 +5935,7 @@ const Ka = (t = {}) => {
5918
5935
  iAgreeToThe: "Съгласявам се с",
5919
5936
  andThe: "и с"
5920
5937
  }
5921
- }, Xa = {
5938
+ }, tl = {
5922
5939
  header: {
5923
5940
  title: "Попълнете и участвайте за награда!",
5924
5941
  description: "Попълнете формата и вземете участие в томбола за да спечелите страхотна награда!"
@@ -5956,16 +5973,16 @@ const Ka = (t = {}) => {
5956
5973
  subtitle: "Благодарим ви за участието.",
5957
5974
  description: "Ще бъдете уведомени ако спечелите наградата в рамките на 3 работни дни."
5958
5975
  }
5959
- }, el = {
5960
- metadata: Ga,
5961
- classicQuiz: Ja,
5962
- common: Za,
5963
- leads: Xa
5964
- }, tl = {
5976
+ }, rl = {
5977
+ metadata: Za,
5978
+ classicQuiz: Xa,
5979
+ common: el,
5980
+ leads: tl
5981
+ }, nl = {
5965
5982
  language: "German",
5966
5983
  code: "de",
5967
5984
  direction: "ltr"
5968
- }, rl = {
5985
+ }, ol = {
5969
5986
  buttons: {
5970
5987
  finish: "Quiz beenden",
5971
5988
  start: "Quiz starten",
@@ -5998,7 +6015,7 @@ const Ka = (t = {}) => {
5998
6015
  youWon: "Sie haben gewonnen",
5999
6016
  quizNotFound: "Quiz nicht gefunden",
6000
6017
  quizNotFoundDescription: "Das Classic Quiz konnte nicht gefunden werden."
6001
- }, nl = {
6018
+ }, il = {
6002
6019
  presentedBy: "Sponsor:",
6003
6020
  labels: {
6004
6021
  min: "Min",
@@ -6007,7 +6024,7 @@ const Ka = (t = {}) => {
6007
6024
  iAgreeToThe: "Ich stimme der",
6008
6025
  andThe: "und der"
6009
6026
  }
6010
- }, ol = {
6027
+ }, sl = {
6011
6028
  header: {
6012
6029
  title: "Ausfüllen und mitmachen!",
6013
6030
  description: "Füllen Sie das Formular aus und nehmen Sie an der Verlosung teil, um einen tollen Preis zu gewinnen!"
@@ -6045,16 +6062,16 @@ const Ka = (t = {}) => {
6045
6062
  subtitle: "Vielen Dank für Ihre Teilnahme.",
6046
6063
  description: "Sie werden benachrichtigt, falls Sie den Preis innerhalb von 3 Werktagen gewinnen."
6047
6064
  }
6048
- }, il = {
6049
- metadata: tl,
6050
- classicQuiz: rl,
6051
- common: nl,
6052
- leads: ol
6053
- }, sl = {
6065
+ }, al = {
6066
+ metadata: nl,
6067
+ classicQuiz: ol,
6068
+ common: il,
6069
+ leads: sl
6070
+ }, ll = {
6054
6071
  language: "English",
6055
6072
  code: "en",
6056
6073
  direction: "ltr"
6057
- }, al = {
6074
+ }, cl = {
6058
6075
  buttons: {
6059
6076
  finish: "Finish Quiz",
6060
6077
  start: "Start Quiz",
@@ -6087,7 +6104,7 @@ const Ka = (t = {}) => {
6087
6104
  youWon: "You won",
6088
6105
  quizNotFound: "Quiz Not Found",
6089
6106
  quizNotFoundDescription: "The Classic Quiz could not be found."
6090
- }, ll = {
6107
+ }, ul = {
6091
6108
  presentedBy: "Sponsor:",
6092
6109
  labels: {
6093
6110
  min: "min",
@@ -6100,7 +6117,7 @@ const Ka = (t = {}) => {
6100
6117
  accessRequired: "Access Required",
6101
6118
  invalidOrMissingAuth: "Invalid or missing authentication. Please try again."
6102
6119
  }
6103
- }, cl = {
6120
+ }, dl = {
6104
6121
  header: {
6105
6122
  title: "Fill out and enter to win!",
6106
6123
  description: "Fill out the form and enter the raffle to win an amazing prize!"
@@ -6138,16 +6155,16 @@ const Ka = (t = {}) => {
6138
6155
  subtitle: "Thank you for participating.",
6139
6156
  description: "You will be notified if you win the prize within 3 business days."
6140
6157
  }
6141
- }, ul = {
6142
- metadata: sl,
6143
- classicQuiz: al,
6144
- common: ll,
6145
- leads: cl
6146
- }, dl = {
6158
+ }, fl = {
6159
+ metadata: ll,
6160
+ classicQuiz: cl,
6161
+ common: ul,
6162
+ leads: dl
6163
+ }, pl = {
6147
6164
  language: "Belgian French",
6148
6165
  code: "fr-be",
6149
6166
  direction: "ltr"
6150
- }, fl = {
6167
+ }, hl = {
6151
6168
  buttons: {
6152
6169
  finish: "Terminer le quiz",
6153
6170
  start: "Commencer le quiz",
@@ -6180,7 +6197,7 @@ const Ka = (t = {}) => {
6180
6197
  youWon: "Vous avez gagné",
6181
6198
  quizNotFound: "Quiz introuvable",
6182
6199
  quizNotFoundDescription: "Le Quiz Classique n'a pas pu être trouvé."
6183
- }, pl = {
6200
+ }, ml = {
6184
6201
  presentedBy: "Sponsor :",
6185
6202
  labels: {
6186
6203
  min: "min",
@@ -6189,7 +6206,7 @@ const Ka = (t = {}) => {
6189
6206
  iAgreeToThe: "J'accepte la",
6190
6207
  andThe: "et les"
6191
6208
  }
6192
- }, hl = {
6209
+ }, gl = {
6193
6210
  header: {
6194
6211
  title: "Remplissez et participez pour gagner !",
6195
6212
  description: "Remplissez le formulaire et participez au tirage au sort pour gagner un prix fantastique !"
@@ -6227,16 +6244,16 @@ const Ka = (t = {}) => {
6227
6244
  subtitle: "Merci de votre participation.",
6228
6245
  description: "Vous serez notifié si vous gagnez le prix dans les 3 jours ouvrables."
6229
6246
  }
6230
- }, ml = {
6231
- metadata: dl,
6232
- classicQuiz: fl,
6233
- common: pl,
6234
- leads: hl
6235
- }, gl = {
6247
+ }, yl = {
6248
+ metadata: pl,
6249
+ classicQuiz: hl,
6250
+ common: ml,
6251
+ leads: gl
6252
+ }, bl = {
6236
6253
  language: "French",
6237
6254
  code: "fr",
6238
6255
  direction: "ltr"
6239
- }, yl = {
6256
+ }, vl = {
6240
6257
  buttons: {
6241
6258
  finish: "Terminer le quiz",
6242
6259
  start: "Commencer le quiz",
@@ -6269,7 +6286,7 @@ const Ka = (t = {}) => {
6269
6286
  youWon: "Vous avez gagné",
6270
6287
  quizNotFound: "Quiz introuvable",
6271
6288
  quizNotFoundDescription: "Le Quiz Classique n'a pas pu être trouvé."
6272
- }, bl = {
6289
+ }, Sl = {
6273
6290
  presentedBy: "Sponsor :",
6274
6291
  labels: {
6275
6292
  min: "min",
@@ -6278,7 +6295,7 @@ const Ka = (t = {}) => {
6278
6295
  iAgreeToThe: "J'accepte la",
6279
6296
  andThe: "et les"
6280
6297
  }
6281
- }, vl = {
6298
+ }, xl = {
6282
6299
  header: {
6283
6300
  title: "Remplissez et participez pour gagner !",
6284
6301
  description: "Remplissez le formulaire et participez au tirage au sort pour gagner un prix fantastique !"
@@ -6316,16 +6333,16 @@ const Ka = (t = {}) => {
6316
6333
  subtitle: "Merci de votre participation.",
6317
6334
  description: "Vous serez notifié si vous gagnez le prix dans les 3 jours ouvrables."
6318
6335
  }
6319
- }, Sl = {
6320
- metadata: gl,
6321
- classicQuiz: yl,
6322
- common: bl,
6323
- leads: vl
6324
- }, xl = {
6336
+ }, Cl = {
6337
+ metadata: bl,
6338
+ classicQuiz: vl,
6339
+ common: Sl,
6340
+ leads: xl
6341
+ }, wl = {
6325
6342
  language: "Italian",
6326
6343
  code: "it",
6327
6344
  direction: "ltr"
6328
- }, Cl = {
6345
+ }, El = {
6329
6346
  buttons: {
6330
6347
  finish: "Termina quiz",
6331
6348
  start: "Inizia quiz",
@@ -6358,7 +6375,7 @@ const Ka = (t = {}) => {
6358
6375
  youWon: "Hai vinto",
6359
6376
  quizNotFound: "Quiz non trovato",
6360
6377
  quizNotFoundDescription: "Il Quiz Classico non è stato trovato."
6361
- }, wl = {
6378
+ }, Pl = {
6362
6379
  presentedBy: "Sponsor:",
6363
6380
  labels: {
6364
6381
  min: "min",
@@ -6367,7 +6384,7 @@ const Ka = (t = {}) => {
6367
6384
  iAgreeToThe: "Accetto la",
6368
6385
  andThe: "e i"
6369
6386
  }
6370
- }, El = {
6387
+ }, $l = {
6371
6388
  header: {
6372
6389
  title: "Compila e partecipa per vincere!",
6373
6390
  description: "Compila il modulo e partecipa all'estrazione per vincere un premio fantastico!"
@@ -6405,16 +6422,16 @@ const Ka = (t = {}) => {
6405
6422
  subtitle: "Grazie per aver partecipato.",
6406
6423
  description: "Sarai avvisato se vincerai il premio entro 3 giorni lavorativi."
6407
6424
  }
6408
- }, Pl = {
6409
- metadata: xl,
6410
- classicQuiz: Cl,
6411
- common: wl,
6412
- leads: El
6413
- }, $l = {
6425
+ }, Tl = {
6426
+ metadata: wl,
6427
+ classicQuiz: El,
6428
+ common: Pl,
6429
+ leads: $l
6430
+ }, Al = {
6414
6431
  language: "Polish",
6415
6432
  code: "pl",
6416
6433
  direction: "ltr"
6417
- }, Tl = {
6434
+ }, Ol = {
6418
6435
  buttons: {
6419
6436
  finish: "Zakończ quiz",
6420
6437
  start: "Rozpocznij quiz",
@@ -6447,7 +6464,7 @@ const Ka = (t = {}) => {
6447
6464
  youWon: "Wygrałeś",
6448
6465
  quizNotFound: "Quiz nie został znaleziony",
6449
6466
  quizNotFoundDescription: "Quiz Klasyczny nie mógł zostać znaleziony."
6450
- }, Al = {
6467
+ }, kl = {
6451
6468
  presentedBy: "Sponsor:",
6452
6469
  labels: {
6453
6470
  min: "min",
@@ -6456,7 +6473,7 @@ const Ka = (t = {}) => {
6456
6473
  iAgreeToThe: "Zgadzam się z",
6457
6474
  andThe: "i z"
6458
6475
  }
6459
- }, Ol = {
6476
+ }, Rl = {
6460
6477
  header: {
6461
6478
  title: "Wypełnij i weź udział, aby wygrać!",
6462
6479
  description: "Wypełnij formularz i weź udział w losowaniu, aby wygrać fantastyczną nagrodę!"
@@ -6494,16 +6511,16 @@ const Ka = (t = {}) => {
6494
6511
  subtitle: "Dziękujemy za udział.",
6495
6512
  description: "Zostaniesz powiadomiony, jeśli wygrasz nagrodę w ciągu 3 dni roboczych."
6496
6513
  }
6497
- }, Rl = {
6498
- metadata: $l,
6499
- classicQuiz: Tl,
6500
- common: Al,
6501
- leads: Ol
6502
- }, kl = {
6514
+ }, zl = {
6515
+ metadata: Al,
6516
+ classicQuiz: Ol,
6517
+ common: kl,
6518
+ leads: Rl
6519
+ }, Fl = {
6503
6520
  language: "Brazilian Portuguese",
6504
6521
  code: "pt-br",
6505
6522
  direction: "ltr"
6506
- }, zl = {
6523
+ }, Nl = {
6507
6524
  buttons: {
6508
6525
  finish: "Finalizar Quiz",
6509
6526
  start: "Iniciar Quiz",
@@ -6536,7 +6553,7 @@ const Ka = (t = {}) => {
6536
6553
  youWon: "Você ganhou",
6537
6554
  quizNotFound: "Quiz não encontrado",
6538
6555
  quizNotFoundDescription: "O Quiz Clássico não pôde ser encontrado."
6539
- }, Fl = {
6556
+ }, Il = {
6540
6557
  presentedBy: "Patrocinado por:",
6541
6558
  labels: {
6542
6559
  min: "min",
@@ -6545,7 +6562,7 @@ const Ka = (t = {}) => {
6545
6562
  iAgreeToThe: "Concordo com a",
6546
6563
  andThe: "e com os"
6547
6564
  }
6548
- }, Nl = {
6565
+ }, Dl = {
6549
6566
  header: {
6550
6567
  title: "Preencha e participe para ganhar!",
6551
6568
  description: "Preencha o formulário e participe do sorteio para ganhar um prêmio incrível!"
@@ -6583,16 +6600,16 @@ const Ka = (t = {}) => {
6583
6600
  subtitle: "Obrigado por participar.",
6584
6601
  description: "Você será notificado se ganhar o prêmio em até 3 dias úteis."
6585
6602
  }
6586
- }, Il = {
6587
- metadata: kl,
6588
- classicQuiz: zl,
6589
- common: Fl,
6590
- leads: Nl
6591
- }, Dl = {
6603
+ }, _l = {
6604
+ metadata: Fl,
6605
+ classicQuiz: Nl,
6606
+ common: Il,
6607
+ leads: Dl
6608
+ }, Ll = {
6592
6609
  language: "Portuguese",
6593
6610
  code: "pt",
6594
6611
  direction: "ltr"
6595
- }, _l = {
6612
+ }, jl = {
6596
6613
  buttons: {
6597
6614
  finish: "Terminar Quiz",
6598
6615
  start: "Iniciar Quiz",
@@ -6625,7 +6642,7 @@ const Ka = (t = {}) => {
6625
6642
  youWon: "Ganhou",
6626
6643
  quizNotFound: "Quiz não encontrado",
6627
6644
  quizNotFoundDescription: "O Quiz Clássico não foi encontrado."
6628
- }, Ll = {
6645
+ }, Ml = {
6629
6646
  presentedBy: "Patrocinado por:",
6630
6647
  labels: {
6631
6648
  min: "min",
@@ -6634,7 +6651,7 @@ const Ka = (t = {}) => {
6634
6651
  iAgreeToThe: "Concordo com a",
6635
6652
  andThe: "e com os"
6636
6653
  }
6637
- }, jl = {
6654
+ }, Bl = {
6638
6655
  header: {
6639
6656
  title: "Preenche e participa para ganhar!",
6640
6657
  description: "Preenche o formulário e participa no sorteio para ganhar um prémio fantástico!"
@@ -6672,16 +6689,16 @@ const Ka = (t = {}) => {
6672
6689
  subtitle: "Obrigado por participar.",
6673
6690
  description: "Será notificado se ganhar o prémio no prazo de 3 dias úteis."
6674
6691
  }
6675
- }, Ml = {
6676
- metadata: Dl,
6677
- classicQuiz: _l,
6678
- common: Ll,
6679
- leads: jl
6680
- }, Bl = {
6692
+ }, Vl = {
6693
+ metadata: Ll,
6694
+ classicQuiz: jl,
6695
+ common: Ml,
6696
+ leads: Bl
6697
+ }, Hl = {
6681
6698
  language: "Romanian",
6682
6699
  code: "ro",
6683
6700
  direction: "ltr"
6684
- }, Vl = {
6701
+ }, ql = {
6685
6702
  buttons: {
6686
6703
  finish: "Termină Quiz-ul",
6687
6704
  start: "Începe Quiz-ul",
@@ -6714,7 +6731,7 @@ const Ka = (t = {}) => {
6714
6731
  youWon: "Ai câștigat",
6715
6732
  quizNotFound: "Testul nu a fost găsit",
6716
6733
  quizNotFoundDescription: "Testul Clasic nu a putut fi găsit."
6717
- }, Hl = {
6734
+ }, Ul = {
6718
6735
  presentedBy: "Sponsor:",
6719
6736
  labels: {
6720
6737
  min: "min",
@@ -6723,7 +6740,7 @@ const Ka = (t = {}) => {
6723
6740
  iAgreeToThe: "Sunt de acord cu",
6724
6741
  andThe: "și cu"
6725
6742
  }
6726
- }, ql = {
6743
+ }, Wl = {
6727
6744
  header: {
6728
6745
  title: "Completează și participă pentru a câștiga!",
6729
6746
  description: "Completează formularul și participă la tragerea la sorți pentru a câștiga un premiu fantastic!"
@@ -6761,16 +6778,16 @@ const Ka = (t = {}) => {
6761
6778
  subtitle: "Mulțumim pentru participare.",
6762
6779
  description: "Vei fi notificat dacă câștigi premiul în termen de 3 zile lucrătoare."
6763
6780
  }
6764
- }, Ul = {
6765
- metadata: Bl,
6766
- classicQuiz: Vl,
6767
- common: Hl,
6768
- leads: ql
6769
- }, Wl = {
6781
+ }, Ql = {
6782
+ metadata: Hl,
6783
+ classicQuiz: ql,
6784
+ common: Ul,
6785
+ leads: Wl
6786
+ }, Kl = {
6770
6787
  language: "Serbian Latin",
6771
6788
  code: "sr-Latn",
6772
6789
  direction: "ltr"
6773
- }, Ql = {
6790
+ }, Yl = {
6774
6791
  buttons: {
6775
6792
  finish: "Završi kviz",
6776
6793
  start: "Počni kviz",
@@ -6803,7 +6820,7 @@ const Ka = (t = {}) => {
6803
6820
  youWon: "Pobedio si",
6804
6821
  quizNotFound: "Kviz nije pronađen",
6805
6822
  quizNotFoundDescription: "Klasični kviz nije mogao biti pronađen."
6806
- }, Kl = {
6823
+ }, Gl = {
6807
6824
  presentedBy: "Sponzor:",
6808
6825
  labels: {
6809
6826
  min: "min",
@@ -6812,7 +6829,7 @@ const Ka = (t = {}) => {
6812
6829
  iAgreeToThe: "Slažem se sa",
6813
6830
  andThe: "i sa"
6814
6831
  }
6815
- }, Yl = {
6832
+ }, Jl = {
6816
6833
  header: {
6817
6834
  title: "Popuni i učestvuj da pobediš!",
6818
6835
  description: "Popuni obrazac i učestvuj u tomboli da pobediš fantastičnu nagradu!"
@@ -6850,45 +6867,45 @@ const Ka = (t = {}) => {
6850
6867
  subtitle: "Hvala vam na učešću.",
6851
6868
  description: "Bićete obavešteni ako pobedite nagradu u roku od 3 radna dana."
6852
6869
  }
6853
- }, Gl = {
6854
- metadata: Wl,
6855
- classicQuiz: Ql,
6856
- common: Kl,
6857
- leads: Yl
6858
- }, hc = (t) => he.use(ro).use(Ya).init({
6870
+ }, Zl = {
6871
+ metadata: Kl,
6872
+ classicQuiz: Yl,
6873
+ common: Gl,
6874
+ leads: Jl
6875
+ }, gc = (t) => he.use(oo).use(Ja).init({
6859
6876
  resources: {
6860
6877
  en: {
6861
- common: ul
6878
+ common: fl
6862
6879
  },
6863
6880
  bg: {
6864
- common: el
6881
+ common: rl
6865
6882
  },
6866
6883
  de: {
6867
- common: il
6884
+ common: al
6868
6885
  },
6869
6886
  "fr-be": {
6870
- common: ml
6887
+ common: yl
6871
6888
  },
6872
6889
  fr: {
6873
- common: Sl
6890
+ common: Cl
6874
6891
  },
6875
6892
  it: {
6876
- common: Pl
6893
+ common: Tl
6877
6894
  },
6878
6895
  pl: {
6879
- common: Rl
6896
+ common: zl
6880
6897
  },
6881
6898
  "pt-br": {
6882
- common: Il
6899
+ common: _l
6883
6900
  },
6884
6901
  pt: {
6885
- common: Ml
6902
+ common: Vl
6886
6903
  },
6887
6904
  ro: {
6888
- common: Ul
6905
+ common: Ql
6889
6906
  },
6890
6907
  sr: {
6891
- common: Gl
6908
+ common: Zl
6892
6909
  }
6893
6910
  },
6894
6911
  fallbackLng: "en",
@@ -6919,16 +6936,14 @@ const Ka = (t = {}) => {
6919
6936
  react: {
6920
6937
  useSuspense: !0
6921
6938
  }
6922
- });
6923
- var Jl = /* @__PURE__ */ ((t) => (t.STANDARD = "standard", t.OVERLAY = "overlay", t.SPLIT = "split", t))(Jl || {});
6924
- const mc = (t) => t ? ua() && t.mobile ? t.mobile : t.main || null : null;
6925
- function gc(t) {
6926
- const e = bn(t);
6939
+ }), yc = (t) => t ? fa() && t.mobile ? t.mobile : t.main || null : null;
6940
+ function bc(t) {
6941
+ const e = Sn(t);
6927
6942
  if (e === void 0)
6928
6943
  throw new Error("Context was used outside of its Provider");
6929
6944
  return e;
6930
6945
  }
6931
- const Zl = ({ fonts: t }) => (Xt(() => {
6946
+ const Xl = ({ fonts: t }) => (Xt(() => {
6932
6947
  const e = document.querySelectorAll(
6933
6948
  'link[data-font-loader="true"]'
6934
6949
  ), r = Array.from(e).map(
@@ -6948,7 +6963,7 @@ const Zl = ({ fonts: t }) => (Xt(() => {
6948
6963
  c.href = l, c.rel = "stylesheet", c.setAttribute("data-font-loader", "true"), c.setAttribute("data-font-family", n.family), document.head.appendChild(c);
6949
6964
  }
6950
6965
  });
6951
- }, [t]), null), dt = (t, e) => {
6966
+ }, [t]), null), ft = (t, e) => {
6952
6967
  const r = [300, 400, 500, 700], n = "swap";
6953
6968
  return t ? typeof t == "string" ? { family: t, weights: r, display: n } : {
6954
6969
  family: t.family,
@@ -6956,7 +6971,7 @@ const Zl = ({ fonts: t }) => (Xt(() => {
6956
6971
  weights: t.weights || r,
6957
6972
  display: t.display || n
6958
6973
  } : { family: e, weights: r, display: n };
6959
- }, yc = ({
6974
+ }, vc = ({
6960
6975
  children: t,
6961
6976
  shadowRootElement: e,
6962
6977
  customTheme: r,
@@ -6971,24 +6986,24 @@ const Zl = ({ fonts: t }) => (Xt(() => {
6971
6986
  }),
6972
6987
  [r, n, o]
6973
6988
  ), s = Vt(
6974
- () => la(i),
6989
+ () => ua(i),
6975
6990
  [i]
6976
6991
  ), a = s, l = Vt(() => {
6977
6992
  var d, f, h, g, m, b, v, S;
6978
6993
  return [
6979
- dt(
6994
+ ft(
6980
6995
  (f = (d = a.customFontFamily) == null ? void 0 : d.light) == null ? void 0 : f.primary,
6981
6996
  "Ubuntu, sans-serif"
6982
6997
  ),
6983
- dt(
6998
+ ft(
6984
6999
  (g = (h = a.customFontFamily) == null ? void 0 : h.light) == null ? void 0 : g.secondary,
6985
7000
  "Roboto, sans-serif"
6986
7001
  ),
6987
- dt(
7002
+ ft(
6988
7003
  (b = (m = a.customFontFamily) == null ? void 0 : m.dark) == null ? void 0 : b.primary,
6989
7004
  "Ubuntu, sans-serif"
6990
7005
  ),
6991
- dt(
7006
+ ft(
6992
7007
  (S = (v = a.customFontFamily) == null ? void 0 : v.dark) == null ? void 0 : S.secondary,
6993
7008
  "Roboto, sans-serif"
6994
7009
  )
@@ -6996,10 +7011,10 @@ const Zl = ({ fonts: t }) => (Xt(() => {
6996
7011
  (w, p, E) => p === E.findIndex((u) => u.family === w.family)
6997
7012
  );
6998
7013
  }, [a]);
6999
- return /* @__PURE__ */ er(fo, { children: [
7000
- /* @__PURE__ */ ue(Zl, { fonts: l }),
7014
+ return /* @__PURE__ */ er(ho, { children: [
7015
+ /* @__PURE__ */ ue(Xl, { fonts: l }),
7001
7016
  /* @__PURE__ */ ue(
7002
- Qs,
7017
+ Ys,
7003
7018
  {
7004
7019
  theme: s,
7005
7020
  colorSchemeNode: e,
@@ -7011,37 +7026,38 @@ const Zl = ({ fonts: t }) => (Xt(() => {
7011
7026
  }
7012
7027
  )
7013
7028
  ] });
7014
- }, Xl = uo({
7029
+ }, ec = po({
7015
7030
  shadowRootElement: null,
7016
7031
  leadPhoneCountryCode: null,
7017
7032
  language: null
7018
- }), bc = ({ shadowRootElement: t, leadPhoneCountryCode: e, language: r = "en", children: n }) => /* @__PURE__ */ ue(
7019
- Xl.Provider,
7033
+ }), Sc = ({ shadowRootElement: t, leadPhoneCountryCode: e, language: r = "en", children: n }) => /* @__PURE__ */ ue(
7034
+ ec.Provider,
7020
7035
  {
7021
7036
  value: { shadowRootElement: t, leadPhoneCountryCode: e, language: r },
7022
7037
  children: n
7023
7038
  }
7024
7039
  );
7025
7040
  export {
7026
- Xl as ConstantsContext,
7027
- bc as ConstantsProvider,
7028
- yc as ThemeProvider,
7029
- Jl as WidgetTemplate,
7030
- ic as getSpacing,
7031
- fc as hexToRgb,
7032
- hc as initializeI18n,
7033
- pc as isAndroid,
7034
- ua as isMobile,
7035
- dc as stripHtmlTags,
7036
- uc as useBorderSize,
7037
- cc as useColors,
7038
- gc as useConstantContext,
7039
- lc as useCornerRadius,
7040
- ac as useFontFamily,
7041
- mc as useImageUrl,
7042
- sc as useInternalTheme,
7043
- ca as useSpacingScale,
7044
- na as useThemeMode,
7045
- nc as validWidgetTemplates,
7046
- rc as validWidgetTypes
7041
+ ec as ConstantsContext,
7042
+ Sc as ConstantsProvider,
7043
+ vc as ThemeProvider,
7044
+ ir as WidgetTemplate,
7045
+ sc as getSpacing,
7046
+ hc as hexToRgb,
7047
+ gc as initializeI18n,
7048
+ mc as isAndroid,
7049
+ fa as isMobile,
7050
+ pc as stripHtmlTags,
7051
+ dc as useBorderSize,
7052
+ uc as useColors,
7053
+ bc as useConstantContext,
7054
+ cc as useCornerRadius,
7055
+ lc as useFontFamily,
7056
+ fc as useImageBackgroundGradient,
7057
+ yc as useImageUrl,
7058
+ ac as useInternalTheme,
7059
+ da as useSpacingScale,
7060
+ ia as useThemeMode,
7061
+ oc as validWidgetTemplates,
7062
+ nc as validWidgetTypes
7047
7063
  };