@everymatrix/casino-header-controller 1.61.0 → 1.62.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/components/{CasinoHamburgerMenu-DqjlWYNt.js → CasinoHamburgerMenu-Brszz5aE.js} +691 -669
  2. package/components/CasinoHamburgerMenu-CenXHDyi.cjs +21 -0
  3. package/components/{CasinoHamburgerMenu-D3mFMa5W.js → CasinoHamburgerMenu-DG16kRnn.js} +765 -743
  4. package/components/{CasinoHeaderController-BA7fDOas.js → CasinoHeaderController-Bi_PsLNo.js} +87 -87
  5. package/components/{CasinoHeaderController-UtiETC1r.cjs → CasinoHeaderController-Bz4z7_4A.cjs} +1 -1
  6. package/components/{CasinoHeaderController-DlwPvEo0.js → CasinoHeaderController-D-uj7JRv.js} +85 -85
  7. package/components/{CasinoSlider-DqegUx4l.cjs → CasinoSlider-AbmiO3mA.cjs} +1 -1
  8. package/components/{CasinoSlider-D3psXdEh.js → CasinoSlider-BGcfG7tc.js} +59 -59
  9. package/components/{CasinoSlider-Cunmuq-P.js → CasinoSlider-CbwSfQ5U.js} +90 -90
  10. package/components/PlayerAccountBalanceModal-CRsCp5RM.js +1510 -0
  11. package/components/PlayerAccountBalanceModal-CxtwbrSo.cjs +13 -0
  12. package/components/PlayerAccountBalanceModal-LJoITUi6.js +1539 -0
  13. package/components/{PlayerDeposit-BpfGM-w1.js → PlayerDeposit-DT3FMmq_.js} +65 -65
  14. package/components/{PlayerDeposit-p2EYro_u.js → PlayerDeposit-LOugiTzl.js} +65 -65
  15. package/components/PlayerDeposit-kURepYtp.cjs +1 -0
  16. package/es2015/casino-header-controller.cjs +1 -1
  17. package/es2015/casino-header-controller.js +1 -1
  18. package/esnext/casino-header-controller.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/index-1ef3a64c-BaxDlNn6.cjs +1 -0
  21. package/stencil/index-1ef3a64c-D9Ku4GpR.js +572 -0
  22. package/stencil/index-1ef3a64c-ROy2EAIH.js +556 -0
  23. package/stencil/index-b7bbd57e-BoAFccAK.js +550 -0
  24. package/stencil/index-b7bbd57e-BuEw0j7w.js +534 -0
  25. package/stencil/index-b7bbd57e-ClcNZKHr.cjs +1 -0
  26. package/stencil/{ui-image-38c3c15f-DSKYkFDR.cjs → ui-image-38c3c15f-6EDRvUAC.cjs} +1 -1
  27. package/stencil/{ui-image-38c3c15f-BrMN1r-f.js → ui-image-38c3c15f-BkLbeFkW.js} +1 -1
  28. package/stencil/{ui-image-38c3c15f-DJ4mX8s9.js → ui-image-38c3c15f-Xqn6sg2a.js} +1 -1
  29. package/stencil/{ui-image-DJ6CI_DU.js → ui-image-CE5QS3zc.js} +2 -2
  30. package/stencil/{ui-image-BWWgU_uH.js → ui-image-CjqRfQLV.js} +2 -2
  31. package/stencil/{ui-image-BxRHakSy.cjs → ui-image-kleliRLi.cjs} +1 -1
  32. package/stencil/{user-deposit-withdrawal-C2hFhOko.cjs → user-deposit-withdrawal-BFFp7sgO.cjs} +1 -1
  33. package/stencil/{user-deposit-withdrawal-BSMKIHfB.js → user-deposit-withdrawal-BgHQVwjl.js} +1 -1
  34. package/stencil/{user-deposit-withdrawal-BB9s28xc.js → user-deposit-withdrawal-CiSGImrn.js} +1 -1
  35. package/components/CasinoHamburgerMenu-nSi6_GPa.cjs +0 -21
  36. package/components/PlayerAccountBalanceModal-BtbEXU7C.js +0 -1510
  37. package/components/PlayerAccountBalanceModal-DGswwf7U.js +0 -1539
  38. package/components/PlayerAccountBalanceModal-DmC872Cn.cjs +0 -13
  39. package/components/PlayerDeposit-BZHiEvzi.cjs +0 -1
  40. package/stencil/index-1ef3a64c-Bbwd34hU.js +0 -556
  41. package/stencil/index-1ef3a64c-DRNu975a.cjs +0 -1
  42. package/stencil/index-1ef3a64c-jc8GL-4U.js +0 -572
  43. package/stencil/index-b7bbd57e-BI5Jd3XF.js +0 -534
  44. package/stencil/index-b7bbd57e-CWFHq7YQ.js +0 -550
  45. package/stencil/index-b7bbd57e-ZVNIWqhl.cjs +0 -1
@@ -1,17 +1,17 @@
1
- var Sn = Object.defineProperty, Tn = Object.defineProperties;
2
- var Mn = Object.getOwnPropertyDescriptors;
3
- var Lt = Object.getOwnPropertySymbols;
4
- var An = Object.prototype.hasOwnProperty, Bn = Object.prototype.propertyIsEnumerable;
5
- var Je = (e, t, r) => t in e ? Sn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ct = (e, t) => {
1
+ var Pn = Object.defineProperty, On = Object.defineProperties;
2
+ var In = Object.getOwnPropertyDescriptors;
3
+ var Ft = Object.getOwnPropertySymbols;
4
+ var Ln = Object.prototype.hasOwnProperty, Cn = Object.prototype.propertyIsEnumerable;
5
+ var Je = (e, t, r) => t in e ? Pn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ut = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- An.call(t, r) && Je(e, r, t[r]);
8
- if (Lt)
9
- for (var r of Lt(t))
10
- Bn.call(t, r) && Je(e, r, t[r]);
7
+ Ln.call(t, r) && Je(e, r, t[r]);
8
+ if (Ft)
9
+ for (var r of Ft(t))
10
+ Cn.call(t, r) && Je(e, r, t[r]);
11
11
  return e;
12
- }, Nt = (e, t) => Tn(e, Mn(t));
12
+ }, Dt = (e, t) => On(e, In(t));
13
13
  var G = (e, t, r) => (Je(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var Rt = (e, t, r) => new Promise((n, i) => {
14
+ var $t = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (u) => {
16
16
  try {
17
17
  a(r.next(u));
@@ -27,11 +27,11 @@ var Rt = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- import "../stencil/ui-image-DJ6CI_DU.js";
30
+ import "../stencil/ui-image-CE5QS3zc.js";
31
31
  function D() {
32
32
  }
33
- const Sr = (e) => e;
34
- function Pn(e, t) {
33
+ const Br = (e) => e;
34
+ function Nn(e, t) {
35
35
  for (const r in t)
36
36
  e[r] = t[r];
37
37
  return (
@@ -39,29 +39,29 @@ function Pn(e, t) {
39
39
  e
40
40
  );
41
41
  }
42
- function Tr(e) {
42
+ function Pr(e) {
43
43
  return e();
44
44
  }
45
- function Ft() {
45
+ function Gt() {
46
46
  return /* @__PURE__ */ Object.create(null);
47
47
  }
48
48
  function q(e) {
49
- e.forEach(Tr);
49
+ e.forEach(Pr);
50
50
  }
51
51
  function Ae(e) {
52
52
  return typeof e == "function";
53
53
  }
54
- function Mr(e, t) {
54
+ function Or(e, t) {
55
55
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
56
56
  }
57
57
  let Oe;
58
58
  function ee(e, t) {
59
59
  return e === t ? !0 : (Oe || (Oe = document.createElement("a")), Oe.href = t, e === Oe.href);
60
60
  }
61
- function On(e) {
61
+ function Rn(e) {
62
62
  return Object.keys(e).length === 0;
63
63
  }
64
- function Ar(e, ...t) {
64
+ function Ir(e, ...t) {
65
65
  if (e == null) {
66
66
  for (const n of t)
67
67
  n(void 0);
@@ -70,19 +70,19 @@ function Ar(e, ...t) {
70
70
  const r = e.subscribe(...t);
71
71
  return r.unsubscribe ? () => r.unsubscribe() : r;
72
72
  }
73
- function In(e, t, r) {
74
- e.$$.on_destroy.push(Ar(t, r));
73
+ function Fn(e, t, r) {
74
+ e.$$.on_destroy.push(Ir(t, r));
75
75
  }
76
- function Ln(e, t, r, n) {
76
+ function Un(e, t, r, n) {
77
77
  if (e) {
78
- const i = Br(e, t, r, n);
78
+ const i = Lr(e, t, r, n);
79
79
  return e[0](i);
80
80
  }
81
81
  }
82
- function Br(e, t, r, n) {
83
- return e[1] && n ? Pn(r.ctx.slice(), e[1](n(t))) : r.ctx;
82
+ function Lr(e, t, r, n) {
83
+ return e[1] && n ? Nn(r.ctx.slice(), e[1](n(t))) : r.ctx;
84
84
  }
85
- function Cn(e, t, r, n) {
85
+ function Dn(e, t, r, n) {
86
86
  if (e[2] && n) {
87
87
  const i = e[2](n(r));
88
88
  if (t.dirty === void 0)
@@ -97,13 +97,13 @@ function Cn(e, t, r, n) {
97
97
  }
98
98
  return t.dirty;
99
99
  }
100
- function Nn(e, t, r, n, i, o) {
100
+ function $n(e, t, r, n, i, o) {
101
101
  if (i) {
102
- const s = Br(t, r, n, o);
102
+ const s = Lr(t, r, n, o);
103
103
  e.p(s, i);
104
104
  }
105
105
  }
106
- function Rn(e) {
106
+ function Gn(e) {
107
107
  if (e.ctx.length > 32) {
108
108
  const t = [], r = e.ctx.length / 32;
109
109
  for (let n = 0; n < r; n++)
@@ -112,20 +112,20 @@ function Rn(e) {
112
112
  }
113
113
  return -1;
114
114
  }
115
- function Bs(e) {
115
+ function Ls(e) {
116
116
  return e && Ae(e.destroy) ? e.destroy : D;
117
117
  }
118
- const Pr = typeof window != "undefined";
119
- let Fn = Pr ? () => window.performance.now() : () => Date.now(), xt = Pr ? (e) => requestAnimationFrame(e) : D;
118
+ const Cr = typeof window != "undefined";
119
+ let kn = Cr ? () => window.performance.now() : () => Date.now(), Et = Cr ? (e) => requestAnimationFrame(e) : D;
120
120
  const le = /* @__PURE__ */ new Set();
121
- function Or(e) {
121
+ function Nr(e) {
122
122
  le.forEach((t) => {
123
123
  t.c(e) || (le.delete(t), t.f());
124
- }), le.size !== 0 && xt(Or);
124
+ }), le.size !== 0 && Et(Nr);
125
125
  }
126
- function Un(e) {
126
+ function jn(e) {
127
127
  let t;
128
- return le.size === 0 && xt(Or), {
128
+ return le.size === 0 && Et(Nr), {
129
129
  promise: new Promise((r) => {
130
130
  le.add(t = { c: e, f: r });
131
131
  }),
@@ -137,14 +137,14 @@ function Un(e) {
137
137
  function x(e, t) {
138
138
  e.appendChild(t);
139
139
  }
140
- function Dn(e, t, r) {
141
- const n = Et(e);
140
+ function Vn(e, t, r) {
141
+ const n = wt(e);
142
142
  if (!n.getElementById(t)) {
143
143
  const i = P("style");
144
- i.id = t, i.textContent = r, Ir(n, i);
144
+ i.id = t, i.textContent = r, Rr(n, i);
145
145
  }
146
146
  }
147
- function Et(e) {
147
+ function wt(e) {
148
148
  if (!e)
149
149
  return document;
150
150
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -154,11 +154,11 @@ function Et(e) {
154
154
  t
155
155
  ) : e.ownerDocument;
156
156
  }
157
- function $n(e) {
157
+ function Wn(e) {
158
158
  const t = P("style");
159
- return t.textContent = "/* empty */", Ir(Et(e), t), t.sheet;
159
+ return t.textContent = "/* empty */", Rr(wt(e), t), t.sheet;
160
160
  }
161
- function Ir(e, t) {
161
+ function Rr(e, t) {
162
162
  return x(
163
163
  /** @type {Document} */
164
164
  e.head || e,
@@ -187,7 +187,7 @@ function te(e) {
187
187
  function $() {
188
188
  return te(" ");
189
189
  }
190
- function Ps() {
190
+ function Cs() {
191
191
  return te("");
192
192
  }
193
193
  function ne(e, t, r, n) {
@@ -200,20 +200,20 @@ function X(e, t, r) {
200
200
  const n = t.toLowerCase();
201
201
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : _(e, t, r);
202
202
  }
203
- function Gn(e) {
203
+ function Xn(e) {
204
204
  return Array.from(e.childNodes);
205
205
  }
206
206
  function ye(e, t) {
207
207
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
208
208
  t);
209
209
  }
210
- function Ut(e, t) {
210
+ function kt(e, t) {
211
211
  e.value = t == null ? "" : t;
212
212
  }
213
- function Os(e, t, r, n) {
213
+ function Ns(e, t, r, n) {
214
214
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
215
215
  }
216
- function Dt(e, t, r) {
216
+ function jt(e, t, r) {
217
217
  for (let n = 0; n < e.options.length; n += 1) {
218
218
  const i = e.options[n];
219
219
  if (i.__value === t) {
@@ -223,14 +223,14 @@ function Dt(e, t, r) {
223
223
  }
224
224
  (!r || t !== void 0) && (e.selectedIndex = -1);
225
225
  }
226
- function kn(e) {
226
+ function zn(e) {
227
227
  const t = e.querySelector(":checked");
228
228
  return t && t.__value;
229
229
  }
230
- function jn(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
230
+ function Zn(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
231
231
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
232
232
  }
233
- function Vn(e) {
233
+ function Qn(e) {
234
234
  const t = {};
235
235
  return e.childNodes.forEach(
236
236
  /** @param {Element} node */
@@ -241,17 +241,17 @@ function Vn(e) {
241
241
  }
242
242
  const $e = /* @__PURE__ */ new Map();
243
243
  let Ge = 0;
244
- function Wn(e) {
244
+ function qn(e) {
245
245
  let t = 5381, r = e.length;
246
246
  for (; r--; )
247
247
  t = (t << 5) - t ^ e.charCodeAt(r);
248
248
  return t >>> 0;
249
249
  }
250
- function Xn(e, t) {
251
- const r = { stylesheet: $n(t), rules: {} };
250
+ function Jn(e, t) {
251
+ const r = { stylesheet: Wn(t), rules: {} };
252
252
  return $e.set(e, r), r;
253
253
  }
254
- function $t(e, t, r, n, i, o, s, a = 0) {
254
+ function Vt(e, t, r, n, i, o, s, a = 0) {
255
255
  const u = 16.666 / n;
256
256
  let l = `{
257
257
  `;
@@ -261,20 +261,20 @@ function $t(e, t, r, n, i, o, s, a = 0) {
261
261
  `;
262
262
  }
263
263
  const h = l + `100% {${s(r, 1 - r)}}
264
- }`, f = `__svelte_${Wn(h)}_${a}`, c = Et(e), { stylesheet: d, rules: m } = $e.get(c) || Xn(c, e);
265
- m[f] || (m[f] = !0, d.insertRule(`@keyframes ${f} ${h}`, d.cssRules.length));
264
+ }`, f = `__svelte_${qn(h)}_${a}`, c = wt(e), { stylesheet: m, rules: d } = $e.get(c) || Jn(c, e);
265
+ d[f] || (d[f] = !0, m.insertRule(`@keyframes ${f} ${h}`, m.cssRules.length));
266
266
  const g = e.style.animation || "";
267
267
  return e.style.animation = `${g ? `${g}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, Ge += 1, f;
268
268
  }
269
- function zn(e, t) {
269
+ function Yn(e, t) {
270
270
  const r = (e.style.animation || "").split(", "), n = r.filter(
271
271
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
272
272
  // remove all Svelte animations
273
273
  ), i = r.length - n.length;
274
- i && (e.style.animation = n.join(", "), Ge -= i, Ge || Zn());
274
+ i && (e.style.animation = n.join(", "), Ge -= i, Ge || Kn());
275
275
  }
276
- function Zn() {
277
- xt(() => {
276
+ function Kn() {
277
+ Et(() => {
278
278
  Ge || ($e.forEach((e) => {
279
279
  const { ownerNode: t } = e.stylesheet;
280
280
  t && U(t);
@@ -285,22 +285,22 @@ let Se;
285
285
  function He(e) {
286
286
  Se = e;
287
287
  }
288
- function Qn() {
288
+ function ei() {
289
289
  if (!Se)
290
290
  throw new Error("Function called outside component initialization");
291
291
  return Se;
292
292
  }
293
- function qn(e) {
294
- Qn().$$.on_mount.push(e);
293
+ function ti(e) {
294
+ ei().$$.on_mount.push(e);
295
295
  }
296
296
  const ue = [], ke = [];
297
297
  let he = [];
298
- const Gt = [], Jn = /* @__PURE__ */ Promise.resolve();
299
- let st = !1;
300
- function Yn() {
301
- st || (st = !0, Jn.then(k));
298
+ const Wt = [], ri = /* @__PURE__ */ Promise.resolve();
299
+ let at = !1;
300
+ function ni() {
301
+ at || (at = !0, ri.then(k));
302
302
  }
303
- function me(e) {
303
+ function de(e) {
304
304
  he.push(e);
305
305
  }
306
306
  const Ye = /* @__PURE__ */ new Set();
@@ -313,7 +313,7 @@ function k() {
313
313
  try {
314
314
  for (; se < ue.length; ) {
315
315
  const t = ue[se];
316
- se++, He(t), Kn(t.$$);
316
+ se++, He(t), ii(t.$$);
317
317
  }
318
318
  } catch (t) {
319
319
  throw ue.length = 0, se = 0, t;
@@ -326,33 +326,33 @@ function k() {
326
326
  }
327
327
  he.length = 0;
328
328
  } while (ue.length);
329
- for (; Gt.length; )
330
- Gt.pop()();
331
- st = !1, Ye.clear(), He(e);
329
+ for (; Wt.length; )
330
+ Wt.pop()();
331
+ at = !1, Ye.clear(), He(e);
332
332
  }
333
- function Kn(e) {
333
+ function ii(e) {
334
334
  if (e.fragment !== null) {
335
335
  e.update(), q(e.before_update);
336
336
  const t = e.dirty;
337
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(me);
337
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(de);
338
338
  }
339
339
  }
340
- function ei(e) {
340
+ function oi(e) {
341
341
  const t = [], r = [];
342
342
  he.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), he = t;
343
343
  }
344
344
  let Ee;
345
- function ti() {
345
+ function si() {
346
346
  return Ee || (Ee = Promise.resolve(), Ee.then(() => {
347
347
  Ee = null;
348
348
  })), Ee;
349
349
  }
350
350
  function Ke(e, t, r) {
351
- e.dispatchEvent(jn(`${t ? "intro" : "outro"}${r}`));
351
+ e.dispatchEvent(Zn(`${t ? "intro" : "outro"}${r}`));
352
352
  }
353
353
  const Ce = /* @__PURE__ */ new Set();
354
354
  let Z;
355
- function ri() {
355
+ function ai() {
356
356
  Z = {
357
357
  r: 0,
358
358
  c: [],
@@ -360,13 +360,13 @@ function ri() {
360
360
  // parent group
361
361
  };
362
362
  }
363
- function ni() {
363
+ function ui() {
364
364
  Z.r || q(Z.c), Z = Z.p;
365
365
  }
366
366
  function ce(e, t) {
367
367
  e && e.i && (Ce.delete(e), e.i(t));
368
368
  }
369
- function at(e, t, r, n) {
369
+ function ut(e, t, r, n) {
370
370
  if (e && e.o) {
371
371
  if (Ce.has(e))
372
372
  return;
@@ -376,41 +376,41 @@ function at(e, t, r, n) {
376
376
  } else
377
377
  n && n();
378
378
  }
379
- const ii = { duration: 0 };
380
- function kt(e, t, r, n) {
379
+ const li = { duration: 0 };
380
+ function Xt(e, t, r, n) {
381
381
  let o = t(e, r, { direction: "both" }), s = n ? 0 : 1, a = null, u = null, l = null, h;
382
382
  function f() {
383
- l && zn(e, l);
383
+ l && Yn(e, l);
384
384
  }
385
- function c(m, g) {
385
+ function c(d, g) {
386
386
  const w = (
387
387
  /** @type {Program['d']} */
388
- m.b - s
388
+ d.b - s
389
389
  );
390
390
  return g *= Math.abs(w), {
391
391
  a: s,
392
- b: m.b,
392
+ b: d.b,
393
393
  d: w,
394
394
  duration: g,
395
- start: m.start,
396
- end: m.start + g,
397
- group: m.group
395
+ start: d.start,
396
+ end: d.start + g,
397
+ group: d.group
398
398
  };
399
399
  }
400
- function d(m) {
400
+ function m(d) {
401
401
  const {
402
402
  delay: g = 0,
403
403
  duration: w = 300,
404
- easing: I = Sr,
404
+ easing: I = Br,
405
405
  tick: O = D,
406
406
  css: S
407
- } = o || ii, L = {
408
- start: Fn() + g,
409
- b: m
407
+ } = o || li, L = {
408
+ start: kn() + g,
409
+ b: d
410
410
  };
411
- m || (L.group = Z, Z.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
412
- e.inert, e.inert = !0)), a || u ? u = L : (S && (f(), l = $t(e, s, m, w, g, I, S)), m && O(0, 1), a = c(L, w), me(() => Ke(e, m, "start")), Un((b) => {
413
- if (u && b > u.start && (a = c(u, w), u = null, Ke(e, a.b, "start"), S && (f(), l = $t(
411
+ d || (L.group = Z, Z.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
412
+ e.inert, e.inert = !0)), a || u ? u = L : (S && (f(), l = Vt(e, s, d, w, g, I, S)), d && O(0, 1), a = c(L, w), de(() => Ke(e, d, "start")), jn((b) => {
413
+ if (u && b > u.start && (a = c(u, w), u = null, Ke(e, a.b, "start"), S && (f(), l = Vt(
414
414
  e,
415
415
  s,
416
416
  a.b,
@@ -430,10 +430,10 @@ function kt(e, t, r, n) {
430
430
  }));
431
431
  }
432
432
  return {
433
- run(m) {
434
- Ae(o) ? ti().then(() => {
435
- o = o({ direction: m ? "in" : "out" }), d(m);
436
- }) : d(m);
433
+ run(d) {
434
+ Ae(o) ? si().then(() => {
435
+ o = o({ direction: d ? "in" : "out" }), m(d);
436
+ }) : m(d);
437
437
  },
438
438
  end() {
439
439
  f(), a = u = null;
@@ -443,51 +443,51 @@ function kt(e, t, r, n) {
443
443
  function Y(e) {
444
444
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
445
445
  }
446
- function Is(e, t) {
446
+ function Rs(e, t) {
447
447
  e.d(1), t.delete(e.key);
448
448
  }
449
- function Ls(e, t, r, n, i, o, s, a, u, l, h, f) {
450
- let c = e.length, d = o.length, m = c;
449
+ function Fs(e, t, r, n, i, o, s, a, u, l, h, f) {
450
+ let c = e.length, m = o.length, d = c;
451
451
  const g = {};
452
- for (; m--; )
453
- g[e[m].key] = m;
452
+ for (; d--; )
453
+ g[e[d].key] = d;
454
454
  const w = [], I = /* @__PURE__ */ new Map(), O = /* @__PURE__ */ new Map(), S = [];
455
- for (m = d; m--; ) {
456
- const y = f(i, o, m), B = r(y);
455
+ for (d = m; d--; ) {
456
+ const y = f(i, o, d), B = r(y);
457
457
  let v = s.get(B);
458
- v ? S.push(() => v.p(y, t)) : (v = l(B, y), v.c()), I.set(B, w[m] = v), B in g && O.set(B, Math.abs(m - g[B]));
458
+ v ? S.push(() => v.p(y, t)) : (v = l(B, y), v.c()), I.set(B, w[d] = v), B in g && O.set(B, Math.abs(d - g[B]));
459
459
  }
460
460
  const L = /* @__PURE__ */ new Set(), b = /* @__PURE__ */ new Set();
461
461
  function M(y) {
462
- ce(y, 1), y.m(a, h), s.set(y.key, y), h = y.first, d--;
462
+ ce(y, 1), y.m(a, h), s.set(y.key, y), h = y.first, m--;
463
463
  }
464
- for (; c && d; ) {
465
- const y = w[d - 1], B = e[c - 1], v = y.key, C = B.key;
466
- y === B ? (h = y.first, c--, d--) : I.has(C) ? !s.has(v) || L.has(v) ? M(y) : b.has(C) ? c-- : O.get(v) > O.get(C) ? (b.add(v), M(y)) : (L.add(C), c--) : (u(B, s), c--);
464
+ for (; c && m; ) {
465
+ const y = w[m - 1], B = e[c - 1], v = y.key, C = B.key;
466
+ y === B ? (h = y.first, c--, m--) : I.has(C) ? !s.has(v) || L.has(v) ? M(y) : b.has(C) ? c-- : O.get(v) > O.get(C) ? (b.add(v), M(y)) : (L.add(C), c--) : (u(B, s), c--);
467
467
  }
468
468
  for (; c--; ) {
469
469
  const y = e[c];
470
470
  I.has(y.key) || u(y, s);
471
471
  }
472
- for (; d; )
473
- M(w[d - 1]);
472
+ for (; m; )
473
+ M(w[m - 1]);
474
474
  return q(S), w;
475
475
  }
476
- function oi(e, t, r) {
476
+ function hi(e, t, r) {
477
477
  const { fragment: n, after_update: i } = e.$$;
478
- n && n.m(t, r), me(() => {
479
- const o = e.$$.on_mount.map(Tr).filter(Ae);
478
+ n && n.m(t, r), de(() => {
479
+ const o = e.$$.on_mount.map(Pr).filter(Ae);
480
480
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : q(o), e.$$.on_mount = [];
481
- }), i.forEach(me);
481
+ }), i.forEach(de);
482
482
  }
483
- function si(e, t) {
483
+ function ci(e, t) {
484
484
  const r = e.$$;
485
- r.fragment !== null && (ei(r.after_update), q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
485
+ r.fragment !== null && (oi(r.after_update), q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
486
486
  }
487
- function ai(e, t) {
488
- e.$$.dirty[0] === -1 && (ue.push(e), Yn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
487
+ function fi(e, t) {
488
+ e.$$.dirty[0] === -1 && (ue.push(e), ni(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
489
489
  }
490
- function ui(e, t, r, n, i, o, s = null, a = [-1]) {
490
+ function di(e, t, r, n, i, o, s = null, a = [-1]) {
491
491
  const u = Se;
492
492
  He(e);
493
493
  const l = e.$$ = {
@@ -497,7 +497,7 @@ function ui(e, t, r, n, i, o, s = null, a = [-1]) {
497
497
  props: o,
498
498
  update: D,
499
499
  not_equal: i,
500
- bound: Ft(),
500
+ bound: Gt(),
501
501
  // lifecycle
502
502
  on_mount: [],
503
503
  on_destroy: [],
@@ -506,28 +506,28 @@ function ui(e, t, r, n, i, o, s = null, a = [-1]) {
506
506
  after_update: [],
507
507
  context: new Map(t.context || (u ? u.$$.context : [])),
508
508
  // everything else
509
- callbacks: Ft(),
509
+ callbacks: Gt(),
510
510
  dirty: a,
511
511
  skip_bound: !1,
512
512
  root: t.target || u.$$.root
513
513
  };
514
514
  s && s(l.root);
515
515
  let h = !1;
516
- if (l.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
517
- const m = d.length ? d[0] : c;
518
- return l.ctx && i(l.ctx[f], l.ctx[f] = m) && (!l.skip_bound && l.bound[f] && l.bound[f](m), h && ai(e, f)), c;
516
+ if (l.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
517
+ const d = m.length ? m[0] : c;
518
+ return l.ctx && i(l.ctx[f], l.ctx[f] = d) && (!l.skip_bound && l.bound[f] && l.bound[f](d), h && fi(e, f)), c;
519
519
  }) : [], l.update(), h = !0, q(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
520
520
  if (t.hydrate) {
521
- const f = Gn(t.target);
521
+ const f = Xn(t.target);
522
522
  l.fragment && l.fragment.l(f), f.forEach(U);
523
523
  } else
524
524
  l.fragment && l.fragment.c();
525
- t.intro && ce(e.$$.fragment), oi(e, t.target, t.anchor), k();
525
+ t.intro && ce(e.$$.fragment), hi(e, t.target, t.anchor), k();
526
526
  }
527
527
  He(u);
528
528
  }
529
- let Lr;
530
- typeof HTMLElement == "function" && (Lr = class extends HTMLElement {
529
+ let Fr;
530
+ typeof HTMLElement == "function" && (Fr = class extends HTMLElement {
531
531
  constructor(t, r, n) {
532
532
  super();
533
533
  /** The Svelte component constructor */
@@ -564,7 +564,7 @@ typeof HTMLElement == "function" && (Lr = class extends HTMLElement {
564
564
  }
565
565
  }
566
566
  connectedCallback() {
567
- return Rt(this, null, function* () {
567
+ return $t(this, null, function* () {
568
568
  if (this.$$cn = !0, !this.$$c) {
569
569
  let t = function(o) {
570
570
  return () => {
@@ -588,7 +588,7 @@ typeof HTMLElement == "function" && (Lr = class extends HTMLElement {
588
588
  };
589
589
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
590
590
  return;
591
- const r = {}, n = Vn(this);
591
+ const r = {}, n = Qn(this);
592
592
  for (const o of this.$$s)
593
593
  o in n && (r[o] = [t(o)]);
594
594
  for (const o of this.attributes) {
@@ -599,7 +599,7 @@ typeof HTMLElement == "function" && (Lr = class extends HTMLElement {
599
599
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
600
600
  this.$$c = new this.$$ctor({
601
601
  target: this.shadowRoot || this,
602
- props: Nt(Ct({}, this.$$d), {
602
+ props: Dt(Ut({}, this.$$d), {
603
603
  $$slots: r,
604
604
  $$scope: {
605
605
  ctx: []
@@ -677,8 +677,8 @@ function Ne(e, t, r, n) {
677
677
  return t;
678
678
  }
679
679
  }
680
- function li(e, t, r, n, i, o) {
681
- let s = class extends Lr {
680
+ function mi(e, t, r, n, i, o) {
681
+ let s = class extends Fr {
682
682
  constructor() {
683
683
  super(e, r, i), this.$$p_d = t;
684
684
  }
@@ -708,7 +708,7 @@ function li(e, t, r, n, i, o) {
708
708
  }), e.element = /** @type {any} */
709
709
  s, s;
710
710
  }
711
- class hi {
711
+ class pi {
712
712
  constructor() {
713
713
  /**
714
714
  * ### PRIVATE API
@@ -729,7 +729,7 @@ class hi {
729
729
  }
730
730
  /** @returns {void} */
731
731
  $destroy() {
732
- si(this, 1), this.$destroy = D;
732
+ ci(this, 1), this.$destroy = D;
733
733
  }
734
734
  /**
735
735
  * @template {Extract<keyof Events, string>} K
@@ -751,11 +751,11 @@ class hi {
751
751
  * @returns {void}
752
752
  */
753
753
  $set(t) {
754
- this.$$set && !On(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
754
+ this.$$set && !Rn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
755
755
  }
756
756
  }
757
- const ci = "4";
758
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ci);
757
+ const gi = "4";
758
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(gi);
759
759
  /*! *****************************************************************************
760
760
  Copyright (c) Microsoft Corporation.
761
761
 
@@ -770,18 +770,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
770
770
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
771
771
  PERFORMANCE OF THIS SOFTWARE.
772
772
  ***************************************************************************** */
773
- var ut = function(e, t) {
774
- return ut = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
773
+ var lt = function(e, t) {
774
+ return lt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
775
775
  r.__proto__ = n;
776
776
  } || function(r, n) {
777
777
  for (var i in n)
778
778
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
779
- }, ut(e, t);
779
+ }, lt(e, t);
780
780
  };
781
781
  function J(e, t) {
782
782
  if (typeof t != "function" && t !== null)
783
783
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
784
- ut(e, t);
784
+ lt(e, t);
785
785
  function r() {
786
786
  this.constructor = e;
787
787
  }
@@ -797,7 +797,7 @@ var A = function() {
797
797
  return t;
798
798
  }, A.apply(this, arguments);
799
799
  };
800
- function fi(e, t) {
800
+ function bi(e, t) {
801
801
  var r = {};
802
802
  for (var n in e)
803
803
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -806,7 +806,7 @@ function fi(e, t) {
806
806
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
807
807
  return r;
808
808
  }
809
- function lt(e) {
809
+ function ht(e) {
810
810
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
811
811
  if (r)
812
812
  return r.call(e);
@@ -818,7 +818,7 @@ function lt(e) {
818
818
  };
819
819
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
820
820
  }
821
- function ht(e, t) {
821
+ function ct(e, t) {
822
822
  var r = typeof Symbol == "function" && e[Symbol.iterator];
823
823
  if (!r)
824
824
  return e;
@@ -847,13 +847,13 @@ function fe(e, t, r) {
847
847
  function Q(e) {
848
848
  return typeof e == "function";
849
849
  }
850
- function Cr(e) {
850
+ function Ur(e) {
851
851
  var t = function(n) {
852
852
  Error.call(n), n.stack = new Error().stack;
853
853
  }, r = e(t);
854
854
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
855
855
  }
856
- var et = Cr(function(e) {
856
+ var et = Ur(function(e) {
857
857
  return function(r) {
858
858
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
859
859
  ` + r.map(function(n, i) {
@@ -862,7 +862,7 @@ var et = Cr(function(e) {
862
862
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
863
863
  };
864
864
  });
865
- function ct(e, t) {
865
+ function ft(e, t) {
866
866
  if (e) {
867
867
  var r = e.indexOf(t);
868
868
  0 <= r && e.splice(r, 1);
@@ -880,7 +880,7 @@ var We = function() {
880
880
  if (s)
881
881
  if (this._parentage = null, Array.isArray(s))
882
882
  try {
883
- for (var a = lt(s), u = a.next(); !u.done; u = a.next()) {
883
+ for (var a = ht(s), u = a.next(); !u.done; u = a.next()) {
884
884
  var l = u.value;
885
885
  l.remove(this);
886
886
  }
@@ -907,19 +907,19 @@ var We = function() {
907
907
  if (f) {
908
908
  this._finalizers = null;
909
909
  try {
910
- for (var c = lt(f), d = c.next(); !d.done; d = c.next()) {
911
- var m = d.value;
910
+ for (var c = ht(f), m = c.next(); !m.done; m = c.next()) {
911
+ var d = m.value;
912
912
  try {
913
- jt(m);
913
+ zt(d);
914
914
  } catch (g) {
915
- o = o != null ? o : [], g instanceof et ? o = fe(fe([], ht(o)), ht(g.errors)) : o.push(g);
915
+ o = o != null ? o : [], g instanceof et ? o = fe(fe([], ct(o)), ct(g.errors)) : o.push(g);
916
916
  }
917
917
  }
918
918
  } catch (g) {
919
919
  n = { error: g };
920
920
  } finally {
921
921
  try {
922
- d && !d.done && (i = c.return) && i.call(c);
922
+ m && !m.done && (i = c.return) && i.call(c);
923
923
  } finally {
924
924
  if (n)
925
925
  throw n.error;
@@ -933,7 +933,7 @@ var We = function() {
933
933
  var r;
934
934
  if (t && t !== this)
935
935
  if (this.closed)
936
- jt(t);
936
+ zt(t);
937
937
  else {
938
938
  if (t instanceof e) {
939
939
  if (t.closed || t._hasParent(this))
@@ -950,52 +950,56 @@ var We = function() {
950
950
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
951
951
  }, e.prototype._removeParent = function(t) {
952
952
  var r = this._parentage;
953
- r === t ? this._parentage = null : Array.isArray(r) && ct(r, t);
953
+ r === t ? this._parentage = null : Array.isArray(r) && ft(r, t);
954
954
  }, e.prototype.remove = function(t) {
955
955
  var r = this._finalizers;
956
- r && ct(r, t), t instanceof e && t._removeParent(this);
956
+ r && ft(r, t), t instanceof e && t._removeParent(this);
957
957
  }, e.EMPTY = function() {
958
958
  var t = new e();
959
959
  return t.closed = !0, t;
960
960
  }(), e;
961
- }(), Nr = We.EMPTY;
962
- function Rr(e) {
961
+ }(), Dr = We.EMPTY;
962
+ function $r(e) {
963
963
  return e instanceof We || e && "closed" in e && Q(e.remove) && Q(e.add) && Q(e.unsubscribe);
964
964
  }
965
- function jt(e) {
965
+ function zt(e) {
966
966
  Q(e) ? e() : e.unsubscribe();
967
967
  }
968
- var mi = {
969
- Promise: void 0
970
- }, di = {
968
+ var Gr = {
969
+ onUnhandledError: null,
970
+ onStoppedNotification: null,
971
+ Promise: void 0,
972
+ useDeprecatedSynchronousErrorHandling: !1,
973
+ useDeprecatedNextContext: !1
974
+ }, yi = {
971
975
  setTimeout: function(e, t) {
972
976
  for (var r = [], n = 2; n < arguments.length; n++)
973
977
  r[n - 2] = arguments[n];
974
- return setTimeout.apply(void 0, fe([e, t], ht(r)));
978
+ return setTimeout.apply(void 0, fe([e, t], ct(r)));
975
979
  },
976
980
  clearTimeout: function(e) {
977
981
  return clearTimeout(e);
978
982
  },
979
983
  delegate: void 0
980
984
  };
981
- function pi(e) {
982
- di.setTimeout(function() {
985
+ function vi(e) {
986
+ yi.setTimeout(function() {
983
987
  throw e;
984
988
  });
985
989
  }
986
- function Vt() {
990
+ function Zt() {
987
991
  }
988
992
  function Re(e) {
989
993
  e();
990
994
  }
991
- var Fr = function(e) {
995
+ var kr = function(e) {
992
996
  J(t, e);
993
997
  function t(r) {
994
998
  var n = e.call(this) || this;
995
- return n.isStopped = !1, r ? (n.destination = r, Rr(r) && r.add(n)) : n.destination = yi, n;
999
+ return n.isStopped = !1, r ? (n.destination = r, $r(r) && r.add(n)) : n.destination = wi, n;
996
1000
  }
997
1001
  return t.create = function(r, n, i) {
998
- return new ft(r, n, i);
1002
+ return new dt(r, n, i);
999
1003
  }, t.prototype.next = function(r) {
1000
1004
  this.isStopped || this._next(r);
1001
1005
  }, t.prototype.error = function(r) {
@@ -1019,7 +1023,11 @@ var Fr = function(e) {
1019
1023
  this.unsubscribe();
1020
1024
  }
1021
1025
  }, t;
1022
- }(We), gi = function() {
1026
+ }(We), _i = Function.prototype.bind;
1027
+ function tt(e, t) {
1028
+ return _i.call(e, t);
1029
+ }
1030
+ var xi = function() {
1023
1031
  function e(t) {
1024
1032
  this.partialObserver = t;
1025
1033
  }
@@ -1050,43 +1058,55 @@ var Fr = function(e) {
1050
1058
  Ie(r);
1051
1059
  }
1052
1060
  }, e;
1053
- }(), ft = function(e) {
1061
+ }(), dt = function(e) {
1054
1062
  J(t, e);
1055
1063
  function t(r, n, i) {
1056
1064
  var o = e.call(this) || this, s;
1057
- return Q(r) || !r ? s = {
1058
- next: r != null ? r : void 0,
1059
- error: n != null ? n : void 0,
1060
- complete: i != null ? i : void 0
1061
- } : s = r, o.destination = new gi(s), o;
1065
+ if (Q(r) || !r)
1066
+ s = {
1067
+ next: r != null ? r : void 0,
1068
+ error: n != null ? n : void 0,
1069
+ complete: i != null ? i : void 0
1070
+ };
1071
+ else {
1072
+ var a;
1073
+ o && Gr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
1074
+ return o.unsubscribe();
1075
+ }, s = {
1076
+ next: r.next && tt(r.next, a),
1077
+ error: r.error && tt(r.error, a),
1078
+ complete: r.complete && tt(r.complete, a)
1079
+ }) : s = r;
1080
+ }
1081
+ return o.destination = new xi(s), o;
1062
1082
  }
1063
1083
  return t;
1064
- }(Fr);
1084
+ }(kr);
1065
1085
  function Ie(e) {
1066
- pi(e);
1086
+ vi(e);
1067
1087
  }
1068
- function bi(e) {
1088
+ function Ei(e) {
1069
1089
  throw e;
1070
1090
  }
1071
- var yi = {
1091
+ var wi = {
1072
1092
  closed: !0,
1073
- next: Vt,
1074
- error: bi,
1075
- complete: Vt
1076
- }, vi = function() {
1093
+ next: Zt,
1094
+ error: Ei,
1095
+ complete: Zt
1096
+ }, Hi = function() {
1077
1097
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1078
1098
  }();
1079
- function _i(e) {
1099
+ function Si(e) {
1080
1100
  return e;
1081
1101
  }
1082
- function xi(e) {
1083
- return e.length === 0 ? _i : e.length === 1 ? e[0] : function(r) {
1102
+ function Ti(e) {
1103
+ return e.length === 0 ? Si : e.length === 1 ? e[0] : function(r) {
1084
1104
  return e.reduce(function(n, i) {
1085
1105
  return i(n);
1086
1106
  }, r);
1087
1107
  };
1088
1108
  }
1089
- var Wt = function() {
1109
+ var Qt = function() {
1090
1110
  function e(t) {
1091
1111
  t && (this._subscribe = t);
1092
1112
  }
@@ -1094,7 +1114,7 @@ var Wt = function() {
1094
1114
  var r = new e();
1095
1115
  return r.source = this, r.operator = t, r;
1096
1116
  }, e.prototype.subscribe = function(t, r, n) {
1097
- var i = this, o = wi(t) ? t : new ft(t, r, n);
1117
+ var i = this, o = Ai(t) ? t : new dt(t, r, n);
1098
1118
  return Re(function() {
1099
1119
  var s = i, a = s.operator, u = s.source;
1100
1120
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
@@ -1107,8 +1127,8 @@ var Wt = function() {
1107
1127
  }
1108
1128
  }, e.prototype.forEach = function(t, r) {
1109
1129
  var n = this;
1110
- return r = Xt(r), new r(function(i, o) {
1111
- var s = new ft({
1130
+ return r = qt(r), new r(function(i, o) {
1131
+ var s = new dt({
1112
1132
  next: function(a) {
1113
1133
  try {
1114
1134
  t(a);
@@ -1124,15 +1144,15 @@ var Wt = function() {
1124
1144
  }, e.prototype._subscribe = function(t) {
1125
1145
  var r;
1126
1146
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1127
- }, e.prototype[vi] = function() {
1147
+ }, e.prototype[Hi] = function() {
1128
1148
  return this;
1129
1149
  }, e.prototype.pipe = function() {
1130
1150
  for (var t = [], r = 0; r < arguments.length; r++)
1131
1151
  t[r] = arguments[r];
1132
- return xi(t)(this);
1152
+ return Ti(t)(this);
1133
1153
  }, e.prototype.toPromise = function(t) {
1134
1154
  var r = this;
1135
- return t = Xt(t), new t(function(n, i) {
1155
+ return t = qt(t), new t(function(n, i) {
1136
1156
  var o;
1137
1157
  r.subscribe(function(s) {
1138
1158
  return o = s;
@@ -1146,32 +1166,32 @@ var Wt = function() {
1146
1166
  return new e(t);
1147
1167
  }, e;
1148
1168
  }();
1149
- function Xt(e) {
1169
+ function qt(e) {
1150
1170
  var t;
1151
- return (t = e != null ? e : mi.Promise) !== null && t !== void 0 ? t : Promise;
1171
+ return (t = e != null ? e : Gr.Promise) !== null && t !== void 0 ? t : Promise;
1152
1172
  }
1153
- function Ei(e) {
1173
+ function Mi(e) {
1154
1174
  return e && Q(e.next) && Q(e.error) && Q(e.complete);
1155
1175
  }
1156
- function wi(e) {
1157
- return e && e instanceof Fr || Ei(e) && Rr(e);
1176
+ function Ai(e) {
1177
+ return e && e instanceof kr || Mi(e) && $r(e);
1158
1178
  }
1159
- var Hi = Cr(function(e) {
1179
+ var Bi = Ur(function(e) {
1160
1180
  return function() {
1161
1181
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1162
1182
  };
1163
- }), Ur = function(e) {
1183
+ }), jr = function(e) {
1164
1184
  J(t, e);
1165
1185
  function t() {
1166
1186
  var r = e.call(this) || this;
1167
1187
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1168
1188
  }
1169
1189
  return t.prototype.lift = function(r) {
1170
- var n = new zt(this, this);
1190
+ var n = new Jt(this, this);
1171
1191
  return n.operator = r, n;
1172
1192
  }, t.prototype._throwIfClosed = function() {
1173
1193
  if (this.closed)
1174
- throw new Hi();
1194
+ throw new Bi();
1175
1195
  }, t.prototype.next = function(r) {
1176
1196
  var n = this;
1177
1197
  Re(function() {
@@ -1179,7 +1199,7 @@ var Hi = Cr(function(e) {
1179
1199
  if (n._throwIfClosed(), !n.isStopped) {
1180
1200
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1181
1201
  try {
1182
- for (var s = lt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1202
+ for (var s = ht(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1183
1203
  var u = a.value;
1184
1204
  u.next(r);
1185
1205
  }
@@ -1228,19 +1248,19 @@ var Hi = Cr(function(e) {
1228
1248
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1229
1249
  }, t.prototype._innerSubscribe = function(r) {
1230
1250
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1231
- return o || s ? Nr : (this.currentObservers = null, a.push(r), new We(function() {
1232
- n.currentObservers = null, ct(a, r);
1251
+ return o || s ? Dr : (this.currentObservers = null, a.push(r), new We(function() {
1252
+ n.currentObservers = null, ft(a, r);
1233
1253
  }));
1234
1254
  }, t.prototype._checkFinalizedStatuses = function(r) {
1235
1255
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1236
1256
  i ? r.error(o) : s && r.complete();
1237
1257
  }, t.prototype.asObservable = function() {
1238
- var r = new Wt();
1258
+ var r = new Qt();
1239
1259
  return r.source = this, r;
1240
1260
  }, t.create = function(r, n) {
1241
- return new zt(r, n);
1261
+ return new Jt(r, n);
1242
1262
  }, t;
1243
- }(Wt), zt = function(e) {
1263
+ }(Qt), Jt = function(e) {
1244
1264
  J(t, e);
1245
1265
  function t(r, n) {
1246
1266
  var i = e.call(this) || this;
@@ -1257,17 +1277,17 @@ var Hi = Cr(function(e) {
1257
1277
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1258
1278
  }, t.prototype._subscribe = function(r) {
1259
1279
  var n, i;
1260
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Nr;
1280
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Dr;
1261
1281
  }, t;
1262
- }(Ur), Dr = {
1282
+ }(jr), Vr = {
1263
1283
  now: function() {
1264
- return (Dr.delegate || Date).now();
1284
+ return (Vr.delegate || Date).now();
1265
1285
  },
1266
1286
  delegate: void 0
1267
- }, Si = function(e) {
1287
+ }, Pi = function(e) {
1268
1288
  J(t, e);
1269
1289
  function t(r, n, i) {
1270
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Dr);
1290
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Vr);
1271
1291
  var o = e.call(this) || this;
1272
1292
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1273
1293
  }
@@ -1287,15 +1307,15 @@ var Hi = Cr(function(e) {
1287
1307
  l && o.splice(0, l + 1);
1288
1308
  }
1289
1309
  }, t;
1290
- }(Ur);
1291
- const Zt = [], Qt = {}, Ti = (e, t = 0) => {
1292
- if (Zt.indexOf(e) == -1) {
1293
- const r = new Si(t);
1294
- Qt[e] = r, Zt.push(e);
1310
+ }(jr);
1311
+ const Yt = [], Kt = {}, Oi = (e, t = 0) => {
1312
+ if (Yt.indexOf(e) == -1) {
1313
+ const r = new Pi(t);
1314
+ Kt[e] = r, Yt.push(e);
1295
1315
  }
1296
- return Qt[e];
1316
+ return Kt[e];
1297
1317
  }, ae = [];
1298
- function Mi(e, t) {
1318
+ function Ii(e, t) {
1299
1319
  return {
1300
1320
  subscribe: Xe(e, t).subscribe
1301
1321
  };
@@ -1304,7 +1324,7 @@ function Xe(e, t = D) {
1304
1324
  let r;
1305
1325
  const n = /* @__PURE__ */ new Set();
1306
1326
  function i(a) {
1307
- if (Mr(e, a) && (e = a, r)) {
1327
+ if (Or(e, a) && (e = a, r)) {
1308
1328
  const u = !ae.length;
1309
1329
  for (const l of n)
1310
1330
  l[1](), ae.push(l, e);
@@ -1331,7 +1351,7 @@ function ve(e, t, r) {
1331
1351
  if (!i.every(Boolean))
1332
1352
  throw new Error("derived() expects stores as input, got a falsy value");
1333
1353
  const o = t.length < 2;
1334
- return Mi(r, (s, a) => {
1354
+ return Ii(r, (s, a) => {
1335
1355
  let u = !1;
1336
1356
  const l = [];
1337
1357
  let h = 0, f = D;
@@ -1339,11 +1359,11 @@ function ve(e, t, r) {
1339
1359
  if (h)
1340
1360
  return;
1341
1361
  f();
1342
- const m = t(n ? l[0] : l, s, a);
1343
- o ? s(m) : f = Ae(m) ? m : D;
1344
- }, d = i.map(
1345
- (m, g) => Ar(
1346
- m,
1362
+ const d = t(n ? l[0] : l, s, a);
1363
+ o ? s(d) : f = Ae(d) ? d : D;
1364
+ }, m = i.map(
1365
+ (d, g) => Ir(
1366
+ d,
1347
1367
  (w) => {
1348
1368
  l[g] = w, h &= ~(1 << g), u && c();
1349
1369
  },
@@ -1353,133 +1373,135 @@ function ve(e, t, r) {
1353
1373
  )
1354
1374
  );
1355
1375
  return u = !0, c(), function() {
1356
- q(d), f(), u = !1;
1376
+ q(m), f(), u = !1;
1357
1377
  };
1358
1378
  });
1359
1379
  }
1360
- var Cs = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
1361
- function Ai(e) {
1380
+ var Us = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
1381
+ function Li(e) {
1362
1382
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1363
1383
  }
1364
- var Bi = function(t) {
1365
- return Pi(t) && !Oi(t);
1384
+ var Ci = function(t) {
1385
+ return Ni(t) && !Ri(t);
1366
1386
  };
1367
- function Pi(e) {
1387
+ function Ni(e) {
1368
1388
  return !!e && typeof e == "object";
1369
1389
  }
1370
- function Oi(e) {
1390
+ function Ri(e) {
1371
1391
  var t = Object.prototype.toString.call(e);
1372
- return t === "[object RegExp]" || t === "[object Date]" || Ci(e);
1392
+ return t === "[object RegExp]" || t === "[object Date]" || Di(e);
1373
1393
  }
1374
- var Ii = typeof Symbol == "function" && Symbol.for, Li = Ii ? Symbol.for("react.element") : 60103;
1375
- function Ci(e) {
1376
- return e.$$typeof === Li;
1394
+ var Fi = typeof Symbol == "function" && Symbol.for, Ui = Fi ? Symbol.for("react.element") : 60103;
1395
+ function Di(e) {
1396
+ return e.$$typeof === Ui;
1377
1397
  }
1378
- function Ni(e) {
1398
+ function $i(e) {
1379
1399
  return Array.isArray(e) ? [] : {};
1380
1400
  }
1381
1401
  function Te(e, t) {
1382
- return t.clone !== !1 && t.isMergeableObject(e) ? de(Ni(e), e, t) : e;
1402
+ return t.clone !== !1 && t.isMergeableObject(e) ? me($i(e), e, t) : e;
1383
1403
  }
1384
- function Ri(e, t, r) {
1404
+ function Gi(e, t, r) {
1385
1405
  return e.concat(t).map(function(n) {
1386
1406
  return Te(n, r);
1387
1407
  });
1388
1408
  }
1389
- function Fi(e, t) {
1409
+ function ki(e, t) {
1390
1410
  if (!t.customMerge)
1391
- return de;
1411
+ return me;
1392
1412
  var r = t.customMerge(e);
1393
- return typeof r == "function" ? r : de;
1413
+ return typeof r == "function" ? r : me;
1394
1414
  }
1395
- function Ui(e) {
1415
+ function ji(e) {
1396
1416
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1397
1417
  return Object.propertyIsEnumerable.call(e, t);
1398
1418
  }) : [];
1399
1419
  }
1400
- function qt(e) {
1401
- return Object.keys(e).concat(Ui(e));
1420
+ function er(e) {
1421
+ return Object.keys(e).concat(ji(e));
1402
1422
  }
1403
- function $r(e, t) {
1423
+ function Wr(e, t) {
1404
1424
  try {
1405
1425
  return t in e;
1406
1426
  } catch (r) {
1407
1427
  return !1;
1408
1428
  }
1409
1429
  }
1410
- function Di(e, t) {
1411
- return $r(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1430
+ function Vi(e, t) {
1431
+ return Wr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1412
1432
  }
1413
- function $i(e, t, r) {
1433
+ function Wi(e, t, r) {
1414
1434
  var n = {};
1415
- return r.isMergeableObject(e) && qt(e).forEach(function(i) {
1435
+ return r.isMergeableObject(e) && er(e).forEach(function(i) {
1416
1436
  n[i] = Te(e[i], r);
1417
- }), qt(t).forEach(function(i) {
1418
- Di(e, i) || ($r(e, i) && r.isMergeableObject(t[i]) ? n[i] = Fi(i, r)(e[i], t[i], r) : n[i] = Te(t[i], r));
1437
+ }), er(t).forEach(function(i) {
1438
+ Vi(e, i) || (Wr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ki(i, r)(e[i], t[i], r) : n[i] = Te(t[i], r));
1419
1439
  }), n;
1420
1440
  }
1421
- function de(e, t, r) {
1422
- r = r || {}, r.arrayMerge = r.arrayMerge || Ri, r.isMergeableObject = r.isMergeableObject || Bi, r.cloneUnlessOtherwiseSpecified = Te;
1441
+ function me(e, t, r) {
1442
+ r = r || {}, r.arrayMerge = r.arrayMerge || Gi, r.isMergeableObject = r.isMergeableObject || Ci, r.cloneUnlessOtherwiseSpecified = Te;
1423
1443
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1424
- return o ? n ? r.arrayMerge(e, t, r) : $i(e, t, r) : Te(t, r);
1444
+ return o ? n ? r.arrayMerge(e, t, r) : Wi(e, t, r) : Te(t, r);
1425
1445
  }
1426
- de.all = function(t, r) {
1446
+ me.all = function(t, r) {
1427
1447
  if (!Array.isArray(t))
1428
1448
  throw new Error("first argument should be an array");
1429
1449
  return t.reduce(function(n, i) {
1430
- return de(n, i, r);
1450
+ return me(n, i, r);
1431
1451
  }, {});
1432
1452
  };
1433
- var Gi = de, ki = Gi;
1434
- const ji = /* @__PURE__ */ Ai(ki);
1435
- function tt(e, t) {
1436
- var r = t && t.cache ? t.cache : qi, n = t && t.serializer ? t.serializer : Zi, i = t && t.strategy ? t.strategy : Xi;
1453
+ var Xi = me, zi = Xi;
1454
+ const Zi = /* @__PURE__ */ Li(zi);
1455
+ function rt(e, t) {
1456
+ var r = t && t.cache ? t.cache : eo, n = t && t.serializer ? t.serializer : Ki, i = t && t.strategy ? t.strategy : qi;
1437
1457
  return i(e, {
1438
1458
  cache: r,
1439
1459
  serializer: n
1440
1460
  });
1441
1461
  }
1442
- function Vi(e) {
1462
+ function Qi(e) {
1443
1463
  return e == null || typeof e == "number" || typeof e == "boolean";
1444
1464
  }
1445
- function Wi(e, t, r, n) {
1446
- var i = Vi(n) ? n : r(n), o = t.get(i);
1465
+ function Xr(e, t, r, n) {
1466
+ var i = Qi(n) ? n : r(n), o = t.get(i);
1447
1467
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1448
1468
  }
1449
- function Gr(e, t, r) {
1469
+ function zr(e, t, r) {
1450
1470
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1451
1471
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1452
1472
  }
1453
- function kr(e, t, r, n, i) {
1473
+ function Ht(e, t, r, n, i) {
1454
1474
  return r.bind(t, e, n, i);
1455
1475
  }
1456
- function Xi(e, t) {
1457
- var r = e.length === 1 ? Wi : Gr;
1458
- return kr(e, this, r, t.cache.create(), t.serializer);
1476
+ function qi(e, t) {
1477
+ var r = e.length === 1 ? Xr : zr;
1478
+ return Ht(e, this, r, t.cache.create(), t.serializer);
1479
+ }
1480
+ function Ji(e, t) {
1481
+ return Ht(e, this, zr, t.cache.create(), t.serializer);
1459
1482
  }
1460
- function zi(e, t) {
1461
- return kr(e, this, Gr, t.cache.create(), t.serializer);
1483
+ function Yi(e, t) {
1484
+ return Ht(e, this, Xr, t.cache.create(), t.serializer);
1462
1485
  }
1463
- var Zi = function() {
1486
+ var Ki = function() {
1464
1487
  return JSON.stringify(arguments);
1465
- }, Qi = (
1466
- /** @class */
1467
- function() {
1468
- function e() {
1469
- this.cache = /* @__PURE__ */ Object.create(null);
1470
- }
1471
- return e.prototype.get = function(t) {
1472
- return this.cache[t];
1473
- }, e.prototype.set = function(t, r) {
1474
- this.cache[t] = r;
1475
- }, e;
1476
- }()
1477
- ), qi = {
1488
+ };
1489
+ function St() {
1490
+ this.cache = /* @__PURE__ */ Object.create(null);
1491
+ }
1492
+ St.prototype.get = function(e) {
1493
+ return this.cache[e];
1494
+ };
1495
+ St.prototype.set = function(e, t) {
1496
+ this.cache[e] = t;
1497
+ };
1498
+ var eo = {
1478
1499
  create: function() {
1479
- return new Qi();
1500
+ return new St();
1480
1501
  }
1481
- }, rt = {
1482
- variadic: zi
1502
+ }, nt = {
1503
+ variadic: Ji,
1504
+ monadic: Yi
1483
1505
  }, H;
1484
1506
  (function(e) {
1485
1507
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
@@ -1492,43 +1514,43 @@ var pe;
1492
1514
  (function(e) {
1493
1515
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1494
1516
  })(pe || (pe = {}));
1495
- function Jt(e) {
1517
+ function tr(e) {
1496
1518
  return e.type === N.literal;
1497
1519
  }
1498
- function Ji(e) {
1520
+ function to(e) {
1499
1521
  return e.type === N.argument;
1500
1522
  }
1501
- function jr(e) {
1523
+ function Zr(e) {
1502
1524
  return e.type === N.number;
1503
1525
  }
1504
- function Vr(e) {
1526
+ function Qr(e) {
1505
1527
  return e.type === N.date;
1506
1528
  }
1507
- function Wr(e) {
1529
+ function qr(e) {
1508
1530
  return e.type === N.time;
1509
1531
  }
1510
- function Xr(e) {
1532
+ function Jr(e) {
1511
1533
  return e.type === N.select;
1512
1534
  }
1513
- function zr(e) {
1535
+ function Yr(e) {
1514
1536
  return e.type === N.plural;
1515
1537
  }
1516
- function Yi(e) {
1538
+ function ro(e) {
1517
1539
  return e.type === N.pound;
1518
1540
  }
1519
- function Zr(e) {
1541
+ function Kr(e) {
1520
1542
  return e.type === N.tag;
1521
1543
  }
1522
- function Qr(e) {
1544
+ function en(e) {
1523
1545
  return !!(e && typeof e == "object" && e.type === pe.number);
1524
1546
  }
1525
1547
  function mt(e) {
1526
1548
  return !!(e && typeof e == "object" && e.type === pe.dateTime);
1527
1549
  }
1528
- var qr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ki = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1529
- function eo(e) {
1550
+ var tn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, no = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1551
+ function io(e) {
1530
1552
  var t = {};
1531
- return e.replace(Ki, function(r) {
1553
+ return e.replace(no, function(r) {
1532
1554
  var n = r.length;
1533
1555
  switch (r[0]) {
1534
1556
  case "G":
@@ -1617,11 +1639,11 @@ function eo(e) {
1617
1639
  return "";
1618
1640
  }), t;
1619
1641
  }
1620
- var to = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1621
- function ro(e) {
1642
+ var oo = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1643
+ function so(e) {
1622
1644
  if (e.length === 0)
1623
1645
  throw new Error("Number skeleton cannot be empty");
1624
- for (var t = e.split(to).filter(function(c) {
1646
+ for (var t = e.split(oo).filter(function(c) {
1625
1647
  return c.length > 0;
1626
1648
  }), r = [], n = 0, i = t; n < i.length; n++) {
1627
1649
  var o = i[n], s = o.split("/");
@@ -1636,17 +1658,17 @@ function ro(e) {
1636
1658
  }
1637
1659
  return r;
1638
1660
  }
1639
- function no(e) {
1661
+ function ao(e) {
1640
1662
  return e.replace(/^(.*?)-/, "");
1641
1663
  }
1642
- var Yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jr = /^(@+)?(\+|#+)?[rs]?$/g, io = /(\*)(0+)|(#+)(0+)|(0+)/g, Yr = /^(0+)$/;
1643
- function Kt(e) {
1664
+ var rr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, rn = /^(@+)?(\+|#+)?[rs]?$/g, uo = /(\*)(0+)|(#+)(0+)|(0+)/g, nn = /^(0+)$/;
1665
+ function nr(e) {
1644
1666
  var t = {};
1645
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Jr, function(r, n, i) {
1667
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(rn, function(r, n, i) {
1646
1668
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1647
1669
  }), t;
1648
1670
  }
1649
- function Kr(e) {
1671
+ function on(e) {
1650
1672
  switch (e) {
1651
1673
  case "sign-auto":
1652
1674
  return {
@@ -1686,7 +1708,7 @@ function Kr(e) {
1686
1708
  };
1687
1709
  }
1688
1710
  }
1689
- function oo(e) {
1711
+ function lo(e) {
1690
1712
  var t;
1691
1713
  if (e[0] === "E" && e[1] === "E" ? (t = {
1692
1714
  notation: "engineering"
@@ -1694,17 +1716,17 @@ function oo(e) {
1694
1716
  notation: "scientific"
1695
1717
  }, e = e.slice(1)), t) {
1696
1718
  var r = e.slice(0, 2);
1697
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yr.test(e))
1719
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !nn.test(e))
1698
1720
  throw new Error("Malformed concise eng/scientific notation");
1699
1721
  t.minimumIntegerDigits = e.length;
1700
1722
  }
1701
1723
  return t;
1702
1724
  }
1703
- function er(e) {
1704
- var t = {}, r = Kr(e);
1725
+ function ir(e) {
1726
+ var t = {}, r = on(e);
1705
1727
  return r || t;
1706
1728
  }
1707
- function so(e) {
1729
+ function ho(e) {
1708
1730
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1709
1731
  var i = n[r];
1710
1732
  switch (i.stem) {
@@ -1728,7 +1750,7 @@ function so(e) {
1728
1750
  continue;
1729
1751
  case "measure-unit":
1730
1752
  case "unit":
1731
- t.style = "unit", t.unit = no(i.options[0]);
1753
+ t.style = "unit", t.unit = ao(i.options[0]);
1732
1754
  continue;
1733
1755
  case "compact-short":
1734
1756
  case "K":
@@ -1740,12 +1762,12 @@ function so(e) {
1740
1762
  continue;
1741
1763
  case "scientific":
1742
1764
  t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1743
- return A(A({}, u), er(l));
1765
+ return A(A({}, u), ir(l));
1744
1766
  }, {}));
1745
1767
  continue;
1746
1768
  case "engineering":
1747
1769
  t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1748
- return A(A({}, u), er(l));
1770
+ return A(A({}, u), ir(l));
1749
1771
  }, {}));
1750
1772
  continue;
1751
1773
  case "notation-simple":
@@ -1790,40 +1812,40 @@ function so(e) {
1790
1812
  case "integer-width":
1791
1813
  if (i.options.length > 1)
1792
1814
  throw new RangeError("integer-width stems only accept a single optional option");
1793
- i.options[0].replace(io, function(u, l, h, f, c, d) {
1815
+ i.options[0].replace(uo, function(u, l, h, f, c, m) {
1794
1816
  if (l)
1795
1817
  t.minimumIntegerDigits = h.length;
1796
1818
  else {
1797
1819
  if (f && c)
1798
1820
  throw new Error("We currently do not support maximum integer digits");
1799
- if (d)
1821
+ if (m)
1800
1822
  throw new Error("We currently do not support exact integer digits");
1801
1823
  }
1802
1824
  return "";
1803
1825
  });
1804
1826
  continue;
1805
1827
  }
1806
- if (Yr.test(i.stem)) {
1828
+ if (nn.test(i.stem)) {
1807
1829
  t.minimumIntegerDigits = i.stem.length;
1808
1830
  continue;
1809
1831
  }
1810
- if (Yt.test(i.stem)) {
1832
+ if (rr.test(i.stem)) {
1811
1833
  if (i.options.length > 1)
1812
1834
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1813
- i.stem.replace(Yt, function(u, l, h, f, c, d) {
1814
- return h === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1835
+ i.stem.replace(rr, function(u, l, h, f, c, m) {
1836
+ return h === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1815
1837
  });
1816
1838
  var o = i.options[0];
1817
- o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), Kt(o)));
1839
+ o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), nr(o)));
1818
1840
  continue;
1819
1841
  }
1820
- if (Jr.test(i.stem)) {
1821
- t = A(A({}, t), Kt(i.stem));
1842
+ if (rn.test(i.stem)) {
1843
+ t = A(A({}, t), nr(i.stem));
1822
1844
  continue;
1823
1845
  }
1824
- var s = Kr(i.stem);
1846
+ var s = on(i.stem);
1825
1847
  s && (t = A(A({}, t), s));
1826
- var a = oo(i.stem);
1848
+ var a = lo(i.stem);
1827
1849
  a && (t = A(A({}, t), a));
1828
1850
  }
1829
1851
  return t;
@@ -3243,13 +3265,13 @@ var Le = {
3243
3265
  "h"
3244
3266
  ]
3245
3267
  };
3246
- function ao(e, t) {
3268
+ function co(e, t) {
3247
3269
  for (var r = "", n = 0; n < e.length; n++) {
3248
3270
  var i = e.charAt(n);
3249
3271
  if (i === "j") {
3250
3272
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3251
3273
  o++, n++;
3252
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = uo(t);
3274
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = fo(t);
3253
3275
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3254
3276
  r += u;
3255
3277
  for (; s-- > 0; )
@@ -3259,7 +3281,7 @@ function ao(e, t) {
3259
3281
  }
3260
3282
  return r;
3261
3283
  }
3262
- function uo(e) {
3284
+ function fo(e) {
3263
3285
  var t = e.hourCycle;
3264
3286
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3265
3287
  e.hourCycles && // @ts-ignore
@@ -3281,20 +3303,20 @@ function uo(e) {
3281
3303
  var i = Le[n || ""] || Le[r || ""] || Le["".concat(r, "-001")] || Le["001"];
3282
3304
  return i[0];
3283
3305
  }
3284
- var nt, lo = new RegExp("^".concat(qr.source, "*")), ho = new RegExp("".concat(qr.source, "*$"));
3306
+ var it, mo = new RegExp("^".concat(tn.source, "*")), po = new RegExp("".concat(tn.source, "*$"));
3285
3307
  function T(e, t) {
3286
3308
  return { start: e, end: t };
3287
3309
  }
3288
- var co = !!String.prototype.startsWith && "_a".startsWith("a", 1), fo = !!String.fromCodePoint, mo = !!Object.fromEntries, po = !!String.prototype.codePointAt, go = !!String.prototype.trimStart, bo = !!String.prototype.trimEnd, yo = !!Number.isSafeInteger, vo = yo ? Number.isSafeInteger : function(e) {
3310
+ var go = !!String.prototype.startsWith && "_a".startsWith("a", 1), bo = !!String.fromCodePoint, yo = !!Object.fromEntries, vo = !!String.prototype.codePointAt, _o = !!String.prototype.trimStart, xo = !!String.prototype.trimEnd, Eo = !!Number.isSafeInteger, wo = Eo ? Number.isSafeInteger : function(e) {
3289
3311
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3290
- }, dt = !0;
3312
+ }, pt = !0;
3291
3313
  try {
3292
- var _o = tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3293
- dt = ((nt = _o.exec("a")) === null || nt === void 0 ? void 0 : nt[0]) === "a";
3314
+ var Ho = an("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3315
+ pt = ((it = Ho.exec("a")) === null || it === void 0 ? void 0 : it[0]) === "a";
3294
3316
  } catch (e) {
3295
- dt = !1;
3317
+ pt = !1;
3296
3318
  }
3297
- var tr = co ? (
3319
+ var or = go ? (
3298
3320
  // Native
3299
3321
  function(t, r, n) {
3300
3322
  return t.startsWith(r, n);
@@ -3304,7 +3326,7 @@ var tr = co ? (
3304
3326
  function(t, r, n) {
3305
3327
  return t.slice(n, n + r.length) === r;
3306
3328
  }
3307
- ), pt = fo ? String.fromCodePoint : (
3329
+ ), gt = bo ? String.fromCodePoint : (
3308
3330
  // IE11
3309
3331
  function() {
3310
3332
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3316,9 +3338,9 @@ var tr = co ? (
3316
3338
  }
3317
3339
  return n;
3318
3340
  }
3319
- ), rr = (
3341
+ ), sr = (
3320
3342
  // native
3321
- mo ? Object.fromEntries : (
3343
+ yo ? Object.fromEntries : (
3322
3344
  // Ponyfill
3323
3345
  function(t) {
3324
3346
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3328,7 +3350,7 @@ var tr = co ? (
3328
3350
  return r;
3329
3351
  }
3330
3352
  )
3331
- ), en = po ? (
3353
+ ), sn = vo ? (
3332
3354
  // Native
3333
3355
  function(t, r) {
3334
3356
  return t.codePointAt(r);
@@ -3342,7 +3364,7 @@ var tr = co ? (
3342
3364
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3343
3365
  }
3344
3366
  }
3345
- ), xo = go ? (
3367
+ ), So = _o ? (
3346
3368
  // Native
3347
3369
  function(t) {
3348
3370
  return t.trimStart();
@@ -3350,9 +3372,9 @@ var tr = co ? (
3350
3372
  ) : (
3351
3373
  // Ponyfill
3352
3374
  function(t) {
3353
- return t.replace(lo, "");
3375
+ return t.replace(mo, "");
3354
3376
  }
3355
- ), Eo = bo ? (
3377
+ ), To = xo ? (
3356
3378
  // Native
3357
3379
  function(t) {
3358
3380
  return t.trimEnd();
@@ -3360,32 +3382,32 @@ var tr = co ? (
3360
3382
  ) : (
3361
3383
  // Ponyfill
3362
3384
  function(t) {
3363
- return t.replace(ho, "");
3385
+ return t.replace(po, "");
3364
3386
  }
3365
3387
  );
3366
- function tn(e, t) {
3388
+ function an(e, t) {
3367
3389
  return new RegExp(e, t);
3368
3390
  }
3369
- var gt;
3370
- if (dt) {
3371
- var nr = tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3372
- gt = function(t, r) {
3391
+ var bt;
3392
+ if (pt) {
3393
+ var ar = an("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3394
+ bt = function(t, r) {
3373
3395
  var n;
3374
- nr.lastIndex = r;
3375
- var i = nr.exec(t);
3396
+ ar.lastIndex = r;
3397
+ var i = ar.exec(t);
3376
3398
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3377
3399
  };
3378
3400
  } else
3379
- gt = function(t, r) {
3401
+ bt = function(t, r) {
3380
3402
  for (var n = []; ; ) {
3381
- var i = en(t, r);
3382
- if (i === void 0 || rn(i) || To(i))
3403
+ var i = sn(t, r);
3404
+ if (i === void 0 || un(i) || Po(i))
3383
3405
  break;
3384
3406
  n.push(i), r += i >= 65536 ? 2 : 1;
3385
3407
  }
3386
- return pt.apply(void 0, n);
3408
+ return gt.apply(void 0, n);
3387
3409
  };
3388
- var wo = (
3410
+ var Mo = (
3389
3411
  /** @class */
3390
3412
  function() {
3391
3413
  function e(t, r) {
@@ -3416,7 +3438,7 @@ var wo = (
3416
3438
  if (n)
3417
3439
  break;
3418
3440
  return this.error(H.UNMATCHED_CLOSING_TAG, T(this.clonePosition(), this.clonePosition()));
3419
- } else if (o === 60 && !this.ignoreTag && bt(this.peek() || 0)) {
3441
+ } else if (o === 60 && !this.ignoreTag && yt(this.peek() || 0)) {
3420
3442
  var s = this.parseTag(t, r);
3421
3443
  if (s.err)
3422
3444
  return s;
@@ -3449,7 +3471,7 @@ var wo = (
3449
3471
  return o;
3450
3472
  var s = o.val, a = this.clonePosition();
3451
3473
  if (this.bumpIf("</")) {
3452
- if (this.isEOF() || !bt(this.char()))
3474
+ if (this.isEOF() || !yt(this.char()))
3453
3475
  return this.error(H.INVALID_TAG, T(a, this.clonePosition()));
3454
3476
  var u = this.clonePosition(), l = this.parseTagName();
3455
3477
  return i !== l ? this.error(H.UNMATCHED_CLOSING_TAG, T(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3467,7 +3489,7 @@ var wo = (
3467
3489
  return this.error(H.INVALID_TAG, T(n, this.clonePosition()));
3468
3490
  }, e.prototype.parseTagName = function() {
3469
3491
  var t = this.offset();
3470
- for (this.bump(); !this.isEOF() && So(this.char()); )
3492
+ for (this.bump(); !this.isEOF() && Bo(this.char()); )
3471
3493
  this.bump();
3472
3494
  return this.message.slice(t, this.offset());
3473
3495
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3496,7 +3518,7 @@ var wo = (
3496
3518
  };
3497
3519
  }, e.prototype.tryParseLeftAngleBracket = function() {
3498
3520
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3499
- !Ho(this.peek() || 0)) ? (this.bump(), "<") : null;
3521
+ !Ao(this.peek() || 0)) ? (this.bump(), "<") : null;
3500
3522
  }, e.prototype.tryParseQuote = function(t) {
3501
3523
  if (this.isEOF() || this.char() !== 39)
3502
3524
  return null;
@@ -3530,12 +3552,12 @@ var wo = (
3530
3552
  r.push(n);
3531
3553
  this.bump();
3532
3554
  }
3533
- return pt.apply(void 0, r);
3555
+ return gt.apply(void 0, r);
3534
3556
  }, e.prototype.tryParseUnquoted = function(t, r) {
3535
3557
  if (this.isEOF())
3536
3558
  return null;
3537
3559
  var n = this.char();
3538
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), pt(n));
3560
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), gt(n));
3539
3561
  }, e.prototype.parseArgument = function(t, r) {
3540
3562
  var n = this.clonePosition();
3541
3563
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3564,7 +3586,7 @@ var wo = (
3564
3586
  return this.error(H.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
3565
3587
  }
3566
3588
  }, e.prototype.parseIdentifierIfPossible = function() {
3567
- var t = this.clonePosition(), r = this.offset(), n = gt(this.message, r), i = r + n.length;
3589
+ var t = this.clonePosition(), r = this.offset(), n = bt(this.message, r), i = r + n.length;
3568
3590
  this.bumpTo(i);
3569
3591
  var o = this.clonePosition(), s = T(t, o);
3570
3592
  return { value: n, location: s };
@@ -3583,18 +3605,18 @@ var wo = (
3583
3605
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3584
3606
  if (f.err)
3585
3607
  return f;
3586
- var c = Eo(f.val);
3608
+ var c = To(f.val);
3587
3609
  if (c.length === 0)
3588
3610
  return this.error(H.EXPECT_ARGUMENT_STYLE, T(this.clonePosition(), this.clonePosition()));
3589
- var d = T(h, this.clonePosition());
3590
- l = { style: c, styleLocation: d };
3611
+ var m = T(h, this.clonePosition());
3612
+ l = { style: c, styleLocation: m };
3591
3613
  }
3592
- var m = this.tryParseArgumentClose(i);
3593
- if (m.err)
3594
- return m;
3614
+ var d = this.tryParseArgumentClose(i);
3615
+ if (d.err)
3616
+ return d;
3595
3617
  var g = T(i, this.clonePosition());
3596
- if (l && tr(l == null ? void 0 : l.style, "::", 0)) {
3597
- var w = xo(l.style.slice(2));
3618
+ if (l && or(l == null ? void 0 : l.style, "::", 0)) {
3619
+ var w = So(l.style.slice(2));
3598
3620
  if (a === "number") {
3599
3621
  var f = this.parseNumberSkeletonFromString(w, l.styleLocation);
3600
3622
  return f.err ? f : {
@@ -3605,12 +3627,12 @@ var wo = (
3605
3627
  if (w.length === 0)
3606
3628
  return this.error(H.EXPECT_DATE_TIME_SKELETON, g);
3607
3629
  var I = w;
3608
- this.locale && (I = ao(w, this.locale));
3630
+ this.locale && (I = co(w, this.locale));
3609
3631
  var c = {
3610
3632
  type: pe.dateTime,
3611
3633
  pattern: I,
3612
3634
  location: l.styleLocation,
3613
- parsedOptions: this.shouldParseSkeletons ? eo(I) : {}
3635
+ parsedOptions: this.shouldParseSkeletons ? io(I) : {}
3614
3636
  }, O = a === "date" ? N.date : N.time;
3615
3637
  return {
3616
3638
  val: { type: O, value: n, location: g, style: c },
@@ -3648,15 +3670,15 @@ var wo = (
3648
3670
  var M = this.tryParsePluralOrSelectOptions(t, a, r, L);
3649
3671
  if (M.err)
3650
3672
  return M;
3651
- var m = this.tryParseArgumentClose(i);
3652
- if (m.err)
3653
- return m;
3673
+ var d = this.tryParseArgumentClose(i);
3674
+ if (d.err)
3675
+ return d;
3654
3676
  var y = T(i, this.clonePosition());
3655
3677
  return a === "select" ? {
3656
3678
  val: {
3657
3679
  type: N.select,
3658
3680
  value: n,
3659
- options: rr(M.val),
3681
+ options: sr(M.val),
3660
3682
  location: y
3661
3683
  },
3662
3684
  err: null
@@ -3664,7 +3686,7 @@ var wo = (
3664
3686
  val: {
3665
3687
  type: N.plural,
3666
3688
  value: n,
3667
- options: rr(M.val),
3689
+ options: sr(M.val),
3668
3690
  offset: b,
3669
3691
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3670
3692
  location: y
@@ -3715,7 +3737,7 @@ var wo = (
3715
3737
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3716
3738
  var n = [];
3717
3739
  try {
3718
- n = ro(t);
3740
+ n = so(t);
3719
3741
  } catch (i) {
3720
3742
  return this.error(H.INVALID_NUMBER_SKELETON, r);
3721
3743
  }
@@ -3724,7 +3746,7 @@ var wo = (
3724
3746
  type: pe.number,
3725
3747
  tokens: n,
3726
3748
  location: r,
3727
- parsedOptions: this.shouldParseSkeletons ? so(n) : {}
3749
+ parsedOptions: this.shouldParseSkeletons ? ho(n) : {}
3728
3750
  },
3729
3751
  err: null
3730
3752
  };
@@ -3743,20 +3765,20 @@ var wo = (
3743
3765
  if (u.has(l))
3744
3766
  return this.error(r === "select" ? H.DUPLICATE_SELECT_ARGUMENT_SELECTOR : H.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3745
3767
  l === "other" && (s = !0), this.bumpSpace();
3746
- var d = this.clonePosition();
3768
+ var m = this.clonePosition();
3747
3769
  if (!this.bumpIf("{"))
3748
3770
  return this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, T(this.clonePosition(), this.clonePosition()));
3749
- var m = this.parseMessage(t + 1, r, n);
3750
- if (m.err)
3751
- return m;
3752
- var g = this.tryParseArgumentClose(d);
3771
+ var d = this.parseMessage(t + 1, r, n);
3772
+ if (d.err)
3773
+ return d;
3774
+ var g = this.tryParseArgumentClose(m);
3753
3775
  if (g.err)
3754
3776
  return g;
3755
3777
  a.push([
3756
3778
  l,
3757
3779
  {
3758
- value: m.val,
3759
- location: T(d, this.clonePosition())
3780
+ value: d.val,
3781
+ location: T(m, this.clonePosition())
3760
3782
  }
3761
3783
  ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3762
3784
  }
@@ -3772,7 +3794,7 @@ var wo = (
3772
3794
  break;
3773
3795
  }
3774
3796
  var u = T(i, this.clonePosition());
3775
- return o ? (s *= n, vo(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3797
+ return o ? (s *= n, wo(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3776
3798
  }, e.prototype.offset = function() {
3777
3799
  return this.position.offset;
3778
3800
  }, e.prototype.isEOF = function() {
@@ -3787,7 +3809,7 @@ var wo = (
3787
3809
  var t = this.position.offset;
3788
3810
  if (t >= this.message.length)
3789
3811
  throw Error("out of bound");
3790
- var r = en(this.message, t);
3812
+ var r = sn(this.message, t);
3791
3813
  if (r === void 0)
3792
3814
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3793
3815
  return r;
@@ -3806,7 +3828,7 @@ var wo = (
3806
3828
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3807
3829
  }
3808
3830
  }, e.prototype.bumpIf = function(t) {
3809
- if (tr(this.message, t, this.offset())) {
3831
+ if (or(this.message, t, this.offset())) {
3810
3832
  for (var r = 0; r < t.length; r++)
3811
3833
  this.bump();
3812
3834
  return !0;
@@ -3828,7 +3850,7 @@ var wo = (
3828
3850
  break;
3829
3851
  }
3830
3852
  }, e.prototype.bumpSpace = function() {
3831
- for (; !this.isEOF() && rn(this.char()); )
3853
+ for (; !this.isEOF() && un(this.char()); )
3832
3854
  this.bump();
3833
3855
  }, e.prototype.peek = function() {
3834
3856
  if (this.isEOF())
@@ -3838,38 +3860,38 @@ var wo = (
3838
3860
  }, e;
3839
3861
  }()
3840
3862
  );
3841
- function bt(e) {
3863
+ function yt(e) {
3842
3864
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3843
3865
  }
3844
- function Ho(e) {
3845
- return bt(e) || e === 47;
3866
+ function Ao(e) {
3867
+ return yt(e) || e === 47;
3846
3868
  }
3847
- function So(e) {
3869
+ function Bo(e) {
3848
3870
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3849
3871
  }
3850
- function rn(e) {
3872
+ function un(e) {
3851
3873
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3852
3874
  }
3853
- function To(e) {
3875
+ function Po(e) {
3854
3876
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3855
3877
  }
3856
- function yt(e) {
3878
+ function vt(e) {
3857
3879
  e.forEach(function(t) {
3858
- if (delete t.location, Xr(t) || zr(t))
3880
+ if (delete t.location, Jr(t) || Yr(t))
3859
3881
  for (var r in t.options)
3860
- delete t.options[r].location, yt(t.options[r].value);
3882
+ delete t.options[r].location, vt(t.options[r].value);
3861
3883
  else
3862
- jr(t) && Qr(t.style) || (Vr(t) || Wr(t)) && mt(t.style) ? delete t.style.location : Zr(t) && yt(t.children);
3884
+ Zr(t) && en(t.style) || (Qr(t) || qr(t)) && mt(t.style) ? delete t.style.location : Kr(t) && vt(t.children);
3863
3885
  });
3864
3886
  }
3865
- function Mo(e, t) {
3887
+ function Oo(e, t) {
3866
3888
  t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3867
- var r = new wo(e, t).parse();
3889
+ var r = new Mo(e, t).parse();
3868
3890
  if (r.err) {
3869
3891
  var n = SyntaxError(H[r.err.kind]);
3870
3892
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3871
3893
  }
3872
- return t != null && t.captureLocation || yt(r.val), r.val;
3894
+ return t != null && t.captureLocation || vt(r.val), r.val;
3873
3895
  }
3874
3896
  var ge;
3875
3897
  (function(e) {
@@ -3887,7 +3909,7 @@ var ze = (
3887
3909
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3888
3910
  }, t;
3889
3911
  }(Error)
3890
- ), ir = (
3912
+ ), ur = (
3891
3913
  /** @class */
3892
3914
  function(e) {
3893
3915
  J(t, e);
@@ -3896,7 +3918,7 @@ var ze = (
3896
3918
  }
3897
3919
  return t;
3898
3920
  }(ze)
3899
- ), Ao = (
3921
+ ), Io = (
3900
3922
  /** @class */
3901
3923
  function(e) {
3902
3924
  J(t, e);
@@ -3905,7 +3927,7 @@ var ze = (
3905
3927
  }
3906
3928
  return t;
3907
3929
  }(ze)
3908
- ), Bo = (
3930
+ ), Lo = (
3909
3931
  /** @class */
3910
3932
  function(e) {
3911
3933
  J(t, e);
@@ -3918,17 +3940,17 @@ var ze = (
3918
3940
  (function(e) {
3919
3941
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3920
3942
  })(F || (F = {}));
3921
- function Po(e) {
3943
+ function Co(e) {
3922
3944
  return e.length < 2 ? e : e.reduce(function(t, r) {
3923
3945
  var n = t[t.length - 1];
3924
3946
  return !n || n.type !== F.literal || r.type !== F.literal ? t.push(r) : n.value += r.value, t;
3925
3947
  }, []);
3926
3948
  }
3927
- function Oo(e) {
3949
+ function No(e) {
3928
3950
  return typeof e == "function";
3929
3951
  }
3930
3952
  function Fe(e, t, r, n, i, o, s) {
3931
- if (e.length === 1 && Jt(e[0]))
3953
+ if (e.length === 1 && tr(e[0]))
3932
3954
  return [
3933
3955
  {
3934
3956
  type: F.literal,
@@ -3937,14 +3959,14 @@ function Fe(e, t, r, n, i, o, s) {
3937
3959
  ];
3938
3960
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3939
3961
  var h = l[u];
3940
- if (Jt(h)) {
3962
+ if (tr(h)) {
3941
3963
  a.push({
3942
3964
  type: F.literal,
3943
3965
  value: h.value
3944
3966
  });
3945
3967
  continue;
3946
3968
  }
3947
- if (Yi(h)) {
3969
+ if (ro(h)) {
3948
3970
  typeof o == "number" && a.push({
3949
3971
  type: F.literal,
3950
3972
  value: r.getNumberFormat(t).format(o)
@@ -3953,44 +3975,44 @@ function Fe(e, t, r, n, i, o, s) {
3953
3975
  }
3954
3976
  var f = h.value;
3955
3977
  if (!(i && f in i))
3956
- throw new Bo(f, s);
3978
+ throw new Lo(f, s);
3957
3979
  var c = i[f];
3958
- if (Ji(h)) {
3980
+ if (to(h)) {
3959
3981
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3960
3982
  type: typeof c == "string" ? F.literal : F.object,
3961
3983
  value: c
3962
3984
  });
3963
3985
  continue;
3964
3986
  }
3965
- if (Vr(h)) {
3966
- var d = typeof h.style == "string" ? n.date[h.style] : mt(h.style) ? h.style.parsedOptions : void 0;
3987
+ if (Qr(h)) {
3988
+ var m = typeof h.style == "string" ? n.date[h.style] : mt(h.style) ? h.style.parsedOptions : void 0;
3967
3989
  a.push({
3968
3990
  type: F.literal,
3969
- value: r.getDateTimeFormat(t, d).format(c)
3991
+ value: r.getDateTimeFormat(t, m).format(c)
3970
3992
  });
3971
3993
  continue;
3972
3994
  }
3973
- if (Wr(h)) {
3974
- var d = typeof h.style == "string" ? n.time[h.style] : mt(h.style) ? h.style.parsedOptions : n.time.medium;
3995
+ if (qr(h)) {
3996
+ var m = typeof h.style == "string" ? n.time[h.style] : mt(h.style) ? h.style.parsedOptions : n.time.medium;
3975
3997
  a.push({
3976
3998
  type: F.literal,
3977
- value: r.getDateTimeFormat(t, d).format(c)
3999
+ value: r.getDateTimeFormat(t, m).format(c)
3978
4000
  });
3979
4001
  continue;
3980
4002
  }
3981
- if (jr(h)) {
3982
- var d = typeof h.style == "string" ? n.number[h.style] : Qr(h.style) ? h.style.parsedOptions : void 0;
3983
- d && d.scale && (c = c * (d.scale || 1)), a.push({
4003
+ if (Zr(h)) {
4004
+ var m = typeof h.style == "string" ? n.number[h.style] : en(h.style) ? h.style.parsedOptions : void 0;
4005
+ m && m.scale && (c = c * (m.scale || 1)), a.push({
3984
4006
  type: F.literal,
3985
- value: r.getNumberFormat(t, d).format(c)
4007
+ value: r.getNumberFormat(t, m).format(c)
3986
4008
  });
3987
4009
  continue;
3988
4010
  }
3989
- if (Zr(h)) {
3990
- var m = h.children, g = h.value, w = i[g];
3991
- if (!Oo(w))
3992
- throw new Ao(g, "function", s);
3993
- var I = Fe(m, t, r, n, i, o), O = w(I.map(function(b) {
4011
+ if (Kr(h)) {
4012
+ var d = h.children, g = h.value, w = i[g];
4013
+ if (!No(w))
4014
+ throw new Io(g, "function", s);
4015
+ var I = Fe(d, t, r, n, i, o), O = w(I.map(function(b) {
3994
4016
  return b.value;
3995
4017
  }));
3996
4018
  Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(b) {
@@ -4000,14 +4022,14 @@ function Fe(e, t, r, n, i, o, s) {
4000
4022
  };
4001
4023
  }));
4002
4024
  }
4003
- if (Xr(h)) {
4025
+ if (Jr(h)) {
4004
4026
  var S = h.options[c] || h.options.other;
4005
4027
  if (!S)
4006
- throw new ir(h.value, c, Object.keys(h.options), s);
4028
+ throw new ur(h.value, c, Object.keys(h.options), s);
4007
4029
  a.push.apply(a, Fe(S.value, t, r, n, i));
4008
4030
  continue;
4009
4031
  }
4010
- if (zr(h)) {
4032
+ if (Yr(h)) {
4011
4033
  var S = h.options["=".concat(c)];
4012
4034
  if (!S) {
4013
4035
  if (!Intl.PluralRules)
@@ -4018,24 +4040,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
4018
4040
  S = h.options[L] || h.options.other;
4019
4041
  }
4020
4042
  if (!S)
4021
- throw new ir(h.value, c, Object.keys(h.options), s);
4043
+ throw new ur(h.value, c, Object.keys(h.options), s);
4022
4044
  a.push.apply(a, Fe(S.value, t, r, n, i, c - (h.offset || 0)));
4023
4045
  continue;
4024
4046
  }
4025
4047
  }
4026
- return Po(a);
4048
+ return Co(a);
4027
4049
  }
4028
- function Io(e, t) {
4050
+ function Ro(e, t) {
4029
4051
  return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4030
4052
  return r[n] = A(A({}, e[n]), t[n] || {}), r;
4031
4053
  }, {})) : e;
4032
4054
  }
4033
- function Lo(e, t) {
4055
+ function Fo(e, t) {
4034
4056
  return t ? Object.keys(e).reduce(function(r, n) {
4035
- return r[n] = Io(e[n], t[n]), r;
4057
+ return r[n] = Ro(e[n], t[n]), r;
4036
4058
  }, A({}, e)) : e;
4037
4059
  }
4038
- function it(e) {
4060
+ function ot(e) {
4039
4061
  return {
4040
4062
  create: function() {
4041
4063
  return {
@@ -4049,39 +4071,39 @@ function it(e) {
4049
4071
  }
4050
4072
  };
4051
4073
  }
4052
- function Co(e) {
4074
+ function Uo(e) {
4053
4075
  return e === void 0 && (e = {
4054
4076
  number: {},
4055
4077
  dateTime: {},
4056
4078
  pluralRules: {}
4057
4079
  }), {
4058
- getNumberFormat: tt(function() {
4080
+ getNumberFormat: rt(function() {
4059
4081
  for (var t, r = [], n = 0; n < arguments.length; n++)
4060
4082
  r[n] = arguments[n];
4061
4083
  return new ((t = Intl.NumberFormat).bind.apply(t, fe([void 0], r, !1)))();
4062
4084
  }, {
4063
- cache: it(e.number),
4064
- strategy: rt.variadic
4085
+ cache: ot(e.number),
4086
+ strategy: nt.variadic
4065
4087
  }),
4066
- getDateTimeFormat: tt(function() {
4088
+ getDateTimeFormat: rt(function() {
4067
4089
  for (var t, r = [], n = 0; n < arguments.length; n++)
4068
4090
  r[n] = arguments[n];
4069
4091
  return new ((t = Intl.DateTimeFormat).bind.apply(t, fe([void 0], r, !1)))();
4070
4092
  }, {
4071
- cache: it(e.dateTime),
4072
- strategy: rt.variadic
4093
+ cache: ot(e.dateTime),
4094
+ strategy: nt.variadic
4073
4095
  }),
4074
- getPluralRules: tt(function() {
4096
+ getPluralRules: rt(function() {
4075
4097
  for (var t, r = [], n = 0; n < arguments.length; n++)
4076
4098
  r[n] = arguments[n];
4077
4099
  return new ((t = Intl.PluralRules).bind.apply(t, fe([void 0], r, !1)))();
4078
4100
  }, {
4079
- cache: it(e.pluralRules),
4080
- strategy: rt.variadic
4101
+ cache: ot(e.pluralRules),
4102
+ strategy: nt.variadic
4081
4103
  })
4082
4104
  };
4083
4105
  }
4084
- var No = (
4106
+ var Do = (
4085
4107
  /** @class */
4086
4108
  function() {
4087
4109
  function e(t, r, n, i) {
@@ -4113,13 +4135,13 @@ var No = (
4113
4135
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4114
4136
  var s = i || {};
4115
4137
  s.formatters;
4116
- var a = fi(s, ["formatters"]);
4138
+ var a = bi(s, ["formatters"]);
4117
4139
  this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
4118
4140
  } else
4119
4141
  this.ast = t;
4120
4142
  if (!Array.isArray(this.ast))
4121
4143
  throw new TypeError("A message must be provided as a String or AST.");
4122
- this.formats = Lo(e.formats, n), this.formatters = i && i.formatters || Co(this.formatterCache);
4144
+ this.formats = Fo(e.formats, n), this.formatters = i && i.formatters || Uo(this.formatterCache);
4123
4145
  }
4124
4146
  return Object.defineProperty(e, "defaultLocale", {
4125
4147
  get: function() {
@@ -4132,7 +4154,7 @@ var No = (
4132
4154
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4133
4155
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4134
4156
  }
4135
- }, e.__parse = Mo, e.formats = {
4157
+ }, e.__parse = Oo, e.formats = {
4136
4158
  number: {
4137
4159
  integer: {
4138
4160
  maximumFractionDigits: 0
@@ -4193,7 +4215,7 @@ var No = (
4193
4215
  }, e;
4194
4216
  }()
4195
4217
  );
4196
- function Ro(e, t) {
4218
+ function $o(e, t) {
4197
4219
  if (t == null)
4198
4220
  return;
4199
4221
  if (t in e)
@@ -4214,92 +4236,92 @@ function Ro(e, t) {
4214
4236
  n = void 0;
4215
4237
  return n;
4216
4238
  }
4217
- const K = {}, Fo = (e, t, r) => r && (t in K || (K[t] = {}), e in K[t] || (K[t][e] = r), r), nn = (e, t) => {
4239
+ const K = {}, Go = (e, t, r) => r && (t in K || (K[t] = {}), e in K[t] || (K[t][e] = r), r), ln = (e, t) => {
4218
4240
  if (t == null)
4219
4241
  return;
4220
4242
  if (t in K && e in K[t])
4221
4243
  return K[t][e];
4222
4244
  const r = Ze(t);
4223
4245
  for (let n = 0; n < r.length; n++) {
4224
- const i = r[n], o = Do(i, e);
4246
+ const i = r[n], o = jo(i, e);
4225
4247
  if (o)
4226
- return Fo(e, t, o);
4248
+ return Go(e, t, o);
4227
4249
  }
4228
4250
  };
4229
- let wt;
4251
+ let Tt;
4230
4252
  const Be = Xe({});
4231
- function Uo(e) {
4232
- return wt[e] || null;
4253
+ function ko(e) {
4254
+ return Tt[e] || null;
4233
4255
  }
4234
- function on(e) {
4235
- return e in wt;
4256
+ function hn(e) {
4257
+ return e in Tt;
4236
4258
  }
4237
- function Do(e, t) {
4238
- if (!on(e))
4259
+ function jo(e, t) {
4260
+ if (!hn(e))
4239
4261
  return null;
4240
- const r = Uo(e);
4241
- return Ro(r, t);
4262
+ const r = ko(e);
4263
+ return $o(r, t);
4242
4264
  }
4243
- function $o(e) {
4265
+ function Vo(e) {
4244
4266
  if (e == null)
4245
4267
  return;
4246
4268
  const t = Ze(e);
4247
4269
  for (let r = 0; r < t.length; r++) {
4248
4270
  const n = t[r];
4249
- if (on(n))
4271
+ if (hn(n))
4250
4272
  return n;
4251
4273
  }
4252
4274
  }
4253
- function sn(e, ...t) {
4254
- delete K[e], Be.update((r) => (r[e] = ji.all([r[e] || {}, ...t]), r));
4275
+ function cn(e, ...t) {
4276
+ delete K[e], Be.update((r) => (r[e] = Zi.all([r[e] || {}, ...t]), r));
4255
4277
  }
4256
4278
  ve(
4257
4279
  [Be],
4258
4280
  ([e]) => Object.keys(e)
4259
4281
  );
4260
- Be.subscribe((e) => wt = e);
4282
+ Be.subscribe((e) => Tt = e);
4261
4283
  const Ue = {};
4262
- function Go(e, t) {
4284
+ function Wo(e, t) {
4263
4285
  Ue[e].delete(t), Ue[e].size === 0 && delete Ue[e];
4264
4286
  }
4265
- function an(e) {
4287
+ function fn(e) {
4266
4288
  return Ue[e];
4267
4289
  }
4268
- function ko(e) {
4290
+ function Xo(e) {
4269
4291
  return Ze(e).map((t) => {
4270
- const r = an(t);
4292
+ const r = fn(t);
4271
4293
  return [t, r ? [...r] : []];
4272
4294
  }).filter(([, t]) => t.length > 0);
4273
4295
  }
4274
- function vt(e) {
4296
+ function _t(e) {
4275
4297
  return e == null ? !1 : Ze(e).some(
4276
4298
  (t) => {
4277
4299
  var r;
4278
- return (r = an(t)) == null ? void 0 : r.size;
4300
+ return (r = fn(t)) == null ? void 0 : r.size;
4279
4301
  }
4280
4302
  );
4281
4303
  }
4282
- function jo(e, t) {
4304
+ function zo(e, t) {
4283
4305
  return Promise.all(
4284
- t.map((n) => (Go(e, n), n().then((i) => i.default || i)))
4285
- ).then((n) => sn(e, ...n));
4306
+ t.map((n) => (Wo(e, n), n().then((i) => i.default || i)))
4307
+ ).then((n) => cn(e, ...n));
4286
4308
  }
4287
4309
  const we = {};
4288
- function un(e) {
4289
- if (!vt(e))
4310
+ function dn(e) {
4311
+ if (!_t(e))
4290
4312
  return e in we ? we[e] : Promise.resolve();
4291
- const t = ko(e);
4313
+ const t = Xo(e);
4292
4314
  return we[e] = Promise.all(
4293
4315
  t.map(
4294
- ([r, n]) => jo(r, n)
4316
+ ([r, n]) => zo(r, n)
4295
4317
  )
4296
4318
  ).then(() => {
4297
- if (vt(e))
4298
- return un(e);
4319
+ if (_t(e))
4320
+ return dn(e);
4299
4321
  delete we[e];
4300
4322
  }), we[e];
4301
4323
  }
4302
- const Vo = {
4324
+ const Zo = {
4303
4325
  number: {
4304
4326
  scientific: { notation: "scientific" },
4305
4327
  engineering: { notation: "engineering" },
@@ -4328,57 +4350,57 @@ const Vo = {
4328
4350
  timeZoneName: "short"
4329
4351
  }
4330
4352
  }
4331
- }, Wo = {
4353
+ }, Qo = {
4332
4354
  fallbackLocale: null,
4333
4355
  loadingDelay: 200,
4334
- formats: Vo,
4356
+ formats: Zo,
4335
4357
  warnOnMissingMessages: !0,
4336
4358
  handleMissingMessage: void 0,
4337
4359
  ignoreTag: !0
4338
- }, Xo = Wo;
4360
+ }, qo = Qo;
4339
4361
  function be() {
4340
- return Xo;
4362
+ return qo;
4341
4363
  }
4342
- const ot = Xe(!1);
4343
- var zo = Object.defineProperty, Zo = Object.defineProperties, Qo = Object.getOwnPropertyDescriptors, or = Object.getOwnPropertySymbols, qo = Object.prototype.hasOwnProperty, Jo = Object.prototype.propertyIsEnumerable, sr = (e, t, r) => t in e ? zo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yo = (e, t) => {
4364
+ const st = Xe(!1);
4365
+ var Jo = Object.defineProperty, Yo = Object.defineProperties, Ko = Object.getOwnPropertyDescriptors, lr = Object.getOwnPropertySymbols, es = Object.prototype.hasOwnProperty, ts = Object.prototype.propertyIsEnumerable, hr = (e, t, r) => t in e ? Jo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rs = (e, t) => {
4344
4366
  for (var r in t || (t = {}))
4345
- qo.call(t, r) && sr(e, r, t[r]);
4346
- if (or)
4347
- for (var r of or(t))
4348
- Jo.call(t, r) && sr(e, r, t[r]);
4367
+ es.call(t, r) && hr(e, r, t[r]);
4368
+ if (lr)
4369
+ for (var r of lr(t))
4370
+ ts.call(t, r) && hr(e, r, t[r]);
4349
4371
  return e;
4350
- }, Ko = (e, t) => Zo(e, Qo(t));
4351
- let _t;
4372
+ }, ns = (e, t) => Yo(e, Ko(t));
4373
+ let xt;
4352
4374
  const je = Xe(null);
4353
- function ar(e) {
4375
+ function cr(e) {
4354
4376
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4355
4377
  }
4356
4378
  function Ze(e, t = be().fallbackLocale) {
4357
- const r = ar(e);
4358
- return t ? [.../* @__PURE__ */ new Set([...r, ...ar(t)])] : r;
4379
+ const r = cr(e);
4380
+ return t ? [.../* @__PURE__ */ new Set([...r, ...cr(t)])] : r;
4359
4381
  }
4360
4382
  function ie() {
4361
- return _t != null ? _t : void 0;
4383
+ return xt != null ? xt : void 0;
4362
4384
  }
4363
4385
  je.subscribe((e) => {
4364
- _t = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4386
+ xt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4365
4387
  });
4366
- const es = (e) => {
4367
- if (e && $o(e) && vt(e)) {
4388
+ const is = (e) => {
4389
+ if (e && Vo(e) && _t(e)) {
4368
4390
  const { loadingDelay: t } = be();
4369
4391
  let r;
4370
4392
  return typeof window != "undefined" && ie() != null && t ? r = window.setTimeout(
4371
- () => ot.set(!0),
4393
+ () => st.set(!0),
4372
4394
  t
4373
- ) : ot.set(!0), un(e).then(() => {
4395
+ ) : st.set(!0), dn(e).then(() => {
4374
4396
  je.set(e);
4375
4397
  }).finally(() => {
4376
- clearTimeout(r), ot.set(!1);
4398
+ clearTimeout(r), st.set(!1);
4377
4399
  });
4378
4400
  }
4379
4401
  return je.set(e);
4380
- }, _e = Ko(Yo({}, je), {
4381
- set: es
4402
+ }, _e = ns(rs({}, je), {
4403
+ set: is
4382
4404
  }), Qe = (e) => {
4383
4405
  const t = /* @__PURE__ */ Object.create(null);
4384
4406
  return (n) => {
@@ -4386,20 +4408,20 @@ const es = (e) => {
4386
4408
  return i in t ? t[i] : t[i] = e(n);
4387
4409
  };
4388
4410
  };
4389
- var ts = Object.defineProperty, Ve = Object.getOwnPropertySymbols, ln = Object.prototype.hasOwnProperty, hn = Object.prototype.propertyIsEnumerable, ur = (e, t, r) => t in e ? ts(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ht = (e, t) => {
4411
+ var os = Object.defineProperty, Ve = Object.getOwnPropertySymbols, mn = Object.prototype.hasOwnProperty, pn = Object.prototype.propertyIsEnumerable, fr = (e, t, r) => t in e ? os(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mt = (e, t) => {
4390
4412
  for (var r in t || (t = {}))
4391
- ln.call(t, r) && ur(e, r, t[r]);
4413
+ mn.call(t, r) && fr(e, r, t[r]);
4392
4414
  if (Ve)
4393
4415
  for (var r of Ve(t))
4394
- hn.call(t, r) && ur(e, r, t[r]);
4416
+ pn.call(t, r) && fr(e, r, t[r]);
4395
4417
  return e;
4396
4418
  }, xe = (e, t) => {
4397
4419
  var r = {};
4398
4420
  for (var n in e)
4399
- ln.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4421
+ mn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4400
4422
  if (e != null && Ve)
4401
4423
  for (var n of Ve(e))
4402
- t.indexOf(n) < 0 && hn.call(e, n) && (r[n] = e[n]);
4424
+ t.indexOf(n) < 0 && pn.call(e, n) && (r[n] = e[n]);
4403
4425
  return r;
4404
4426
  };
4405
4427
  const Me = (e, t) => {
@@ -4407,21 +4429,21 @@ const Me = (e, t) => {
4407
4429
  if (e in r && t in r[e])
4408
4430
  return r[e][t];
4409
4431
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4410
- }, rs = Qe(
4432
+ }, ss = Qe(
4411
4433
  (e) => {
4412
4434
  var t = e, { locale: r, format: n } = t, i = xe(t, ["locale", "format"]);
4413
4435
  if (r == null)
4414
4436
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4415
4437
  return n && (i = Me("number", n)), new Intl.NumberFormat(r, i);
4416
4438
  }
4417
- ), ns = Qe(
4439
+ ), as = Qe(
4418
4440
  (e) => {
4419
4441
  var t = e, { locale: r, format: n } = t, i = xe(t, ["locale", "format"]);
4420
4442
  if (r == null)
4421
4443
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4422
4444
  return n ? i = Me("date", n) : Object.keys(i).length === 0 && (i = Me("date", "short")), new Intl.DateTimeFormat(r, i);
4423
4445
  }
4424
- ), is = Qe(
4446
+ ), us = Qe(
4425
4447
  (e) => {
4426
4448
  var t = e, { locale: r, format: n } = t, i = xe(t, ["locale", "format"]);
4427
4449
  if (r == null)
@@ -4430,33 +4452,33 @@ const Me = (e, t) => {
4430
4452
  );
4431
4453
  return n ? i = Me("time", n) : Object.keys(i).length === 0 && (i = Me("time", "short")), new Intl.DateTimeFormat(r, i);
4432
4454
  }
4433
- ), os = (e = {}) => {
4455
+ ), ls = (e = {}) => {
4434
4456
  var t = e, {
4435
4457
  locale: r = ie()
4436
4458
  } = t, n = xe(t, [
4437
4459
  "locale"
4438
4460
  ]);
4439
- return rs(Ht({ locale: r }, n));
4440
- }, ss = (e = {}) => {
4461
+ return ss(Mt({ locale: r }, n));
4462
+ }, hs = (e = {}) => {
4441
4463
  var t = e, {
4442
4464
  locale: r = ie()
4443
4465
  } = t, n = xe(t, [
4444
4466
  "locale"
4445
4467
  ]);
4446
- return ns(Ht({ locale: r }, n));
4447
- }, as = (e = {}) => {
4468
+ return as(Mt({ locale: r }, n));
4469
+ }, cs = (e = {}) => {
4448
4470
  var t = e, {
4449
4471
  locale: r = ie()
4450
4472
  } = t, n = xe(t, [
4451
4473
  "locale"
4452
4474
  ]);
4453
- return is(Ht({ locale: r }, n));
4454
- }, us = Qe(
4475
+ return us(Mt({ locale: r }, n));
4476
+ }, fs = Qe(
4455
4477
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4456
- (e, t = ie()) => new No(e, t, be().formats, {
4478
+ (e, t = ie()) => new Do(e, t, be().formats, {
4457
4479
  ignoreTag: be().ignoreTag
4458
4480
  })
4459
- ), ls = (e, t = {}) => {
4481
+ ), ds = (e, t = {}) => {
4460
4482
  var r, n, i, o;
4461
4483
  let s = t;
4462
4484
  typeof e == "object" && (s = e, e = s.id);
@@ -4469,7 +4491,7 @@ const Me = (e, t) => {
4469
4491
  throw new Error(
4470
4492
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4471
4493
  );
4472
- let h = nn(e, u);
4494
+ let h = ln(e, u);
4473
4495
  if (!h)
4474
4496
  h = (o = (i = (n = (r = be()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4475
4497
  else if (typeof h != "string")
@@ -4480,7 +4502,7 @@ const Me = (e, t) => {
4480
4502
  return h;
4481
4503
  let f = h;
4482
4504
  try {
4483
- f = us(h, u).format(a);
4505
+ f = fs(h, u).format(a);
4484
4506
  } catch (c) {
4485
4507
  c instanceof Error && console.warn(
4486
4508
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4488,20 +4510,20 @@ const Me = (e, t) => {
4488
4510
  );
4489
4511
  }
4490
4512
  return f;
4491
- }, hs = (e, t) => as(t).format(e), cs = (e, t) => ss(t).format(e), fs = (e, t) => os(t).format(e), ms = (e, t = ie()) => nn(e, t), ds = ve([_e, Be], () => ls);
4492
- ve([_e], () => hs);
4493
- ve([_e], () => cs);
4494
- ve([_e], () => fs);
4495
- ve([_e, Be], () => ms);
4496
- window.emWidgets = { topic: Ti };
4497
- const ps = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Ns = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4498
- function gs(e, t) {
4513
+ }, ms = (e, t) => cs(t).format(e), ps = (e, t) => hs(t).format(e), gs = (e, t) => ls(t).format(e), bs = (e, t = ie()) => ln(e, t), ys = ve([_e, Be], () => ds);
4514
+ ve([_e], () => ms);
4515
+ ve([_e], () => ps);
4516
+ ve([_e], () => gs);
4517
+ ve([_e, Be], () => bs);
4518
+ window.emWidgets = { topic: Oi };
4519
+ const vs = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Ds = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4520
+ function _s(e, t) {
4499
4521
  if (e) {
4500
4522
  const r = document.createElement("style");
4501
4523
  r.innerHTML = t, e.appendChild(r);
4502
4524
  }
4503
4525
  }
4504
- function bs(e, t) {
4526
+ function xs(e, t) {
4505
4527
  const r = new URL(t);
4506
4528
  fetch(r.href).then((n) => n.text()).then((n) => {
4507
4529
  const i = document.createElement("style");
@@ -4510,7 +4532,7 @@ function bs(e, t) {
4510
4532
  console.error("There was an error while trying to load client styling from URL", n);
4511
4533
  });
4512
4534
  }
4513
- function ys(e, t, r) {
4535
+ function Es(e, t, r) {
4514
4536
  if (window.emMessageBus) {
4515
4537
  const n = document.createElement("style");
4516
4538
  window.emMessageBus.subscribe(t, (i) => {
@@ -4518,7 +4540,7 @@ function ys(e, t, r) {
4518
4540
  });
4519
4541
  }
4520
4542
  }
4521
- function lr(e, { delay: t = 0, duration: r = 400, easing: n = Sr } = {}) {
4543
+ function dr(e, { delay: t = 0, duration: r = 400, easing: n = Br } = {}) {
4522
4544
  const i = +getComputedStyle(e).opacity;
4523
4545
  return {
4524
4546
  delay: t,
@@ -4527,13 +4549,13 @@ function lr(e, { delay: t = 0, duration: r = 400, easing: n = Sr } = {}) {
4527
4549
  css: (o) => `opacity: ${o * i}`
4528
4550
  };
4529
4551
  }
4530
- function hr(e, t) {
4531
- sn(e, t);
4552
+ function mr(e, t) {
4553
+ cn(e, t);
4532
4554
  }
4533
- function vs(e) {
4555
+ function ws(e) {
4534
4556
  _e.set(e);
4535
4557
  }
4536
- const cr = {
4558
+ const pr = {
4537
4559
  en: {
4538
4560
  language: "Select Language"
4539
4561
  },
@@ -4568,53 +4590,53 @@ const cr = {
4568
4590
  language: "Select Language"
4569
4591
  }
4570
4592
  };
4571
- function _s(e) {
4572
- Dn(e, "svelte-gsavje", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.LanguageDropdown{width:100%;margin-right:16px;position:relative;display:inline-block}.SelectedOption,.OptionList{border:1px solid var(--emw--header-color-primary);padding:8px;cursor:pointer;width:200px;border-radius:2px}.SelectedOption{display:flex;align-items:center;margin:0;padding-left:9px}.SelectedOption svg{width:12px;margin-left:6px}.FlagIcon ui-image img{width:20px;height:14px;margin-right:8px;border-radius:2px}.OptionList{position:absolute;overflow-y:auto;transform:translateX(-50%);z-index:1;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518));max-height:155px;overflow-y:auto;bottom:36px;width:50vw;left:30%;display:flex;gap:5px;flex-direction:column}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 10px;transition:all 0.5s}.TriangleInactive svg{margin:2px 0px}.TriangleActive{transform:rotate(180deg);position:relative}.TriangleActive svg{margin:2px 0px}.LanguageOption{display:flex;align-items:center;padding:4px;margin:0;background-color:white}.LanguageOption:hover{background-color:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));border-radius:2px}.LanguageSelect{margin:0 20px}.LanguageSelectorTitle{position:fixed;width:90vw;padding:5px 0;bottom:0;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518))}.LanguageSelectorTitle span{display:inline;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));padding:5px 0;display:flex;align-items:center;gap:15px;font-size:12px}.ItemLanguage{height:34px;width:100%;text-align:left;line-height:34px;background:transparent;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));border:none}.ItemLanguage option{color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.HamburgerModalWindow{display:block;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.7)}.HamburgerModalWindow>span{opacity:0}.HamburgerModalWindow .HamburgerModalContainer{max-width:992px;position:relative;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518));width:0vw;height:100%;padding:0;border-top:0;border-radius:0;transition:width 0.4s ease-in-out;overflow-x:hidden;overflow-y:scroll}.HamburgerModalWindow .HamburgerModalContainer.ActiveHamburgerMenu{width:90vw}.HamburgerModalWindow .ModalCloseBtn{position:absolute;top:9px;right:9px;width:20px;height:20px;border-radius:100%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.2);opacity:1;cursor:pointer;transition:all 150ms ease-in-out;transition:opacity 500ms ease-in-out}.HamburgerModalWindow .ModalCloseBtn svg{width:20px;height:20px;padding:2px}.HamburgerModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.HamburgerModalWindow .HamburgerPrimaryMenu,.HamburgerModalWindow .HamburgerSecondaryMenu{font-size:12px;display:flex;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF))}.HamburgerModalWindow .HamburgerPrimaryMenu li,.HamburgerModalWindow .HamburgerSecondaryMenu li{transition:all 150ms ease-in-out}.HamburgerModalWindow .HamburgerPrimaryMenu ui-image img,.HamburgerModalWindow .HamburgerSecondaryMenu ui-image img{max-width:40px}.HamburgerModalWindow .HamburgerPrimaryMenu{background:var(--emw--header-color-menu-bg, var(--emw--color-background-secondary, #050518));white-space:nowrap;overflow:scroll;list-style:none;border-bottom:2px solid var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));width:90vw}.HamburgerModalWindow .HamburgerPrimaryMenu>li{max-width:100px;padding:14px 25px;display:inline-block}.HamburgerModalWindow .HamburgerPrimaryMenu>li.ActiveItem{background:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C))}.HamburgerModalWindow .HamburgerPrimaryMenu.HamburgerPrimaryMenuFixed{position:fixed}.HamburgerModalWindow .HamburgerPrimaryMenu .HamburgerItemContainer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px}.HamburgerModalWindow .HamburgerSecondaryMenu{margin-top:10px;list-style:none;width:90vw;display:flex;flex-direction:column}.HamburgerModalWindow .HamburgerSecondaryMenu.HamburgerSecondaryMenuFixed{margin-top:106px;margin-bottom:70px}.HamburgerModalWindow .HamburgerSecondaryMenu li{margin:0 20px;padding:20px 0;display:flex;align-items:center;gap:15px}.HamburgerModalWindow .HamburgerSecondaryMenu li a{text-decoration:none;display:flex;align-items:center;gap:15px;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));font-size:14px}.HamburgerModalWindow .HamburgerSecondaryMenu li:not(:last-child){border-bottom:1px solid var(--emw--color-gray-300, #58586B)}.HamburgerModalWindow .HamburgerSecondaryMenu li:active a{color:var(--emw--color-primary, #D0046C)}.FlagIcon{margin-left:12px}.NoFlag{width:88%;margin:0 20px}");
4593
+ function Hs(e) {
4594
+ Vn(e, "svelte-gsavje", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.LanguageDropdown{width:100%;margin-right:16px;position:relative;display:inline-block}.SelectedOption,.OptionList{border:1px solid var(--emw--header-color-primary);padding:8px;cursor:pointer;width:200px;border-radius:2px}.SelectedOption{display:flex;align-items:center;margin:0;padding-left:9px}.SelectedOption svg{width:12px;margin-left:6px}.FlagIcon ui-image img{width:20px;height:14px;margin-right:8px;border-radius:2px}.OptionList{position:absolute;overflow-y:auto;transform:translateX(-50%);z-index:1;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518));max-height:155px;overflow-y:auto;bottom:36px;width:50vw;left:30%;display:flex;gap:5px;flex-direction:column}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 10px;transition:all 0.5s}.TriangleInactive svg{margin:2px 0px}.TriangleActive{transform:rotate(180deg);position:relative}.TriangleActive svg{margin:2px 0px}.LanguageOption{display:flex;align-items:center;padding:4px;margin:0;background-color:white}.LanguageOption:hover{background-color:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));border-radius:2px}.LanguageSelect{margin:0 20px}.LanguageSelectorTitle{position:fixed;width:90vw;padding:5px 0;bottom:0;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518))}.LanguageSelectorTitle span{display:inline;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));padding:5px 0;display:flex;align-items:center;gap:15px;font-size:12px}.ItemLanguage{height:34px;width:100%;text-align:left;line-height:34px;background:transparent;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));border:none}.ItemLanguage option{color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.HamburgerModalWindow{display:block;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.7)}.HamburgerModalWindow>span{opacity:0}.HamburgerModalWindow .HamburgerModalContainer{max-width:992px;position:relative;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518));width:0vw;height:100%;padding:0;border-top:0;border-radius:0;transition:width 0.4s ease-in-out;overflow-x:hidden;overflow-y:scroll}.HamburgerModalWindow .HamburgerModalContainer.ActiveHamburgerMenu{width:90vw}.HamburgerModalWindow .ModalCloseBtn{position:absolute;top:9px;right:9px;width:20px;height:20px;border-radius:100%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.2);opacity:1;cursor:pointer;transition:all 150ms ease-in-out;transition:opacity 500ms ease-in-out}.HamburgerModalWindow .ModalCloseBtn svg{width:20px;height:20px;padding:2px}.HamburgerModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.HamburgerModalWindow .HamburgerPrimaryMenu,.HamburgerModalWindow .HamburgerSecondaryMenu{font-size:12px;display:flex;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF))}.HamburgerModalWindow .HamburgerPrimaryMenu li,.HamburgerModalWindow .HamburgerSecondaryMenu li{transition:all 150ms ease-in-out}.HamburgerModalWindow .HamburgerPrimaryMenu ui-image img,.HamburgerModalWindow .HamburgerSecondaryMenu ui-image img{max-width:40px}.HamburgerModalWindow .HamburgerPrimaryMenu{background:var(--emw--header-color-menu-bg, var(--emw--color-background-secondary, #050518));white-space:nowrap;overflow:scroll;list-style:none;border-bottom:2px solid var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));width:90vw}.HamburgerModalWindow .HamburgerPrimaryMenu>li{max-width:100px;padding:14px 25px;display:inline-block}.HamburgerModalWindow .HamburgerPrimaryMenu>li.ActiveItem{background:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C))}.HamburgerModalWindow .HamburgerPrimaryMenu.HamburgerPrimaryMenuFixed{position:fixed}.HamburgerModalWindow .HamburgerPrimaryMenu .HamburgerItemContainer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px}.HamburgerModalWindow .HamburgerSecondaryMenu{margin-top:10px;list-style:none;width:90vw;display:flex;flex-direction:column}.HamburgerModalWindow .HamburgerSecondaryMenu.HamburgerSecondaryMenuFixed{margin-top:106px;margin-bottom:70px}.HamburgerModalWindow .HamburgerSecondaryMenu li{margin:0 20px;padding:20px 0;display:flex;align-items:center;gap:15px}.HamburgerModalWindow .HamburgerSecondaryMenu li a{text-decoration:none;display:flex;align-items:center;gap:15px;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));font-size:14px}.HamburgerModalWindow .HamburgerSecondaryMenu li:not(:last-child){border-bottom:1px solid var(--emw--color-gray-300, #58586B)}.HamburgerModalWindow .HamburgerSecondaryMenu li:active a{color:var(--emw--color-primary, #D0046C)}.FlagIcon{margin-left:12px}.NoFlag{width:88%;margin:0 20px}");
4573
4595
  }
4574
- function fr(e, t, r) {
4596
+ function gr(e, t, r) {
4575
4597
  const n = e.slice();
4576
4598
  return n[53] = t[r], n;
4577
4599
  }
4578
- function mr(e, t, r) {
4600
+ function br(e, t, r) {
4579
4601
  const n = e.slice();
4580
4602
  return n[1] = t[r], n;
4581
4603
  }
4582
- function dr(e, t, r) {
4604
+ function yr(e, t, r) {
4583
4605
  const n = e.slice();
4584
4606
  return n[56] = t[r], n;
4585
4607
  }
4586
- function pr(e, t, r) {
4608
+ function vr(e, t, r) {
4587
4609
  const n = e.slice();
4588
4610
  return n[59] = t[r], n;
4589
4611
  }
4590
- const xs = (e) => ({}), gr = (e) => ({});
4591
- function br(e) {
4592
- let t, r, n, i, o, s, a, u, l, h, f, c, d, m, g, w;
4612
+ const Ss = (e) => ({}), _r = (e) => ({});
4613
+ function xr(e) {
4614
+ let t, r, n, i, o, s, a, u, l, h, f, c, m, d, g, w;
4593
4615
  const I = (
4594
4616
  /*#slots*/
4595
4617
  e[31].close
4596
- ), O = Ln(
4618
+ ), O = Un(
4597
4619
  I,
4598
4620
  e,
4599
4621
  /*$$scope*/
4600
4622
  e[30],
4601
- gr
4602
- ), S = O || Es();
4623
+ _r
4624
+ ), S = O || Ts();
4603
4625
  let L = Y(
4604
4626
  /*HamburgerMenuItems*/
4605
4627
  e[4]
4606
4628
  ), b = [];
4607
4629
  for (let v = 0; v < L.length; v += 1)
4608
- b[v] = yr(pr(e, L, v));
4630
+ b[v] = Er(vr(e, L, v));
4609
4631
  let M = Y(
4610
4632
  /*activeMenuItemChildren*/
4611
4633
  e[6]
4612
4634
  ), y = [];
4613
4635
  for (let v = 0; v < M.length; v += 1)
4614
- y[v] = vr(dr(e, M, v));
4636
+ y[v] = wr(yr(e, M, v));
4615
4637
  let B = (
4616
4638
  /*languagesArray*/
4617
- e[10].length > 1 && _r(e)
4639
+ e[10].length > 1 && Hr(e)
4618
4640
  );
4619
4641
  return {
4620
4642
  c() {
@@ -4637,7 +4659,7 @@ function br(e) {
4637
4659
  x(o, u), x(o, l);
4638
4660
  for (let E = 0; E < y.length; E += 1)
4639
4661
  y[E] && y[E].m(l, null);
4640
- x(o, f), B && B.m(o, null), e[38](t), m = !0, g || (w = ne(
4662
+ x(o, f), B && B.m(o, null), e[38](t), d = !0, g || (w = ne(
4641
4663
  r,
4642
4664
  "click",
4643
4665
  /*close*/
@@ -4645,25 +4667,25 @@ function br(e) {
4645
4667
  ), g = !0);
4646
4668
  },
4647
4669
  p(v, C) {
4648
- if (e = v, O && O.p && (!m || C[0] & /*$$scope*/
4649
- 1073741824) && Nn(
4670
+ if (e = v, O && O.p && (!d || C[0] & /*$$scope*/
4671
+ 1073741824) && $n(
4650
4672
  O,
4651
4673
  I,
4652
4674
  e,
4653
4675
  /*$$scope*/
4654
4676
  e[30],
4655
- m ? Cn(
4677
+ d ? Dn(
4656
4678
  I,
4657
4679
  /*$$scope*/
4658
4680
  e[30],
4659
4681
  C,
4660
- xs
4661
- ) : Rn(
4682
+ Ss
4683
+ ) : Gn(
4662
4684
  /*$$scope*/
4663
4685
  e[30]
4664
4686
  ),
4665
- gr
4666
- ), (!m || C[0] & /*modalIsOpen*/
4687
+ _r
4688
+ ), (!d || C[0] & /*modalIsOpen*/
4667
4689
  128 && n !== (n = /*modalIsOpen*/
4668
4690
  e[7] ? "ModalCloseBtn" : "")) && _(r, "class", n), C[0] & /*activeMenuItemId, HamburgerMenuItems, changeMenu*/
4669
4691
  32816) {
@@ -4673,14 +4695,14 @@ function br(e) {
4673
4695
  );
4674
4696
  let E;
4675
4697
  for (E = 0; E < L.length; E += 1) {
4676
- const V = pr(e, L, E);
4677
- b[E] ? b[E].p(V, C) : (b[E] = yr(V), b[E].c(), b[E].m(s, null));
4698
+ const V = vr(e, L, E);
4699
+ b[E] ? b[E].p(V, C) : (b[E] = Er(V), b[E].c(), b[E].m(s, null));
4678
4700
  }
4679
4701
  for (; E < b.length; E += 1)
4680
4702
  b[E].d(1);
4681
4703
  b.length = L.length;
4682
4704
  }
4683
- if ((!m || C[0] & /*menuIsFixed*/
4705
+ if ((!d || C[0] & /*menuIsFixed*/
4684
4706
  256 && a !== (a = "HamburgerPrimaryMenu " + /*menuIsFixed*/
4685
4707
  (e[8] ? "HamburgerPrimaryMenuFixed" : ""))) && _(s, "class", a), C[0] & /*handleClick, activeMenuItemChildren*/
4686
4708
  65600) {
@@ -4690,34 +4712,34 @@ function br(e) {
4690
4712
  );
4691
4713
  let E;
4692
4714
  for (E = 0; E < M.length; E += 1) {
4693
- const V = dr(e, M, E);
4694
- y[E] ? y[E].p(V, C) : (y[E] = vr(V), y[E].c(), y[E].m(l, null));
4715
+ const V = yr(e, M, E);
4716
+ y[E] ? y[E].p(V, C) : (y[E] = wr(V), y[E].c(), y[E].m(l, null));
4695
4717
  }
4696
4718
  for (; E < y.length; E += 1)
4697
4719
  y[E].d(1);
4698
4720
  y.length = M.length;
4699
4721
  }
4700
- (!m || C[0] & /*menuIsFixed*/
4722
+ (!d || C[0] & /*menuIsFixed*/
4701
4723
  256 && h !== (h = "HamburgerSecondaryMenu " + /*menuIsFixed*/
4702
4724
  (e[8] ? "HamburgerSecondaryMenuFixed" : ""))) && _(l, "class", h), /*languagesArray*/
4703
- e[10].length > 1 ? B ? B.p(e, C) : (B = _r(e), B.c(), B.m(o, null)) : B && (B.d(1), B = null), (!m || C[0] & /*modalIsOpen*/
4725
+ e[10].length > 1 ? B ? B.p(e, C) : (B = Hr(e), B.c(), B.m(o, null)) : B && (B.d(1), B = null), (!d || C[0] & /*modalIsOpen*/
4704
4726
  128 && c !== (c = "HamburgerModalContainer " + /*modalIsOpen*/
4705
4727
  (e[7] ? "ActiveHamburgerMenu" : ""))) && _(o, "class", c);
4706
4728
  },
4707
4729
  i(v) {
4708
- m || (ce(S, v), v && me(() => {
4709
- m && (d || (d = kt(t, lr, { transitionDuration: Hr }, !0)), d.run(1));
4710
- }), m = !0);
4730
+ d || (ce(S, v), v && de(() => {
4731
+ d && (m || (m = Xt(t, dr, { transitionDuration: Ar }, !0)), m.run(1));
4732
+ }), d = !0);
4711
4733
  },
4712
4734
  o(v) {
4713
- at(S, v), v && (d || (d = kt(t, lr, { transitionDuration: Hr }, !1)), d.run(0)), m = !1;
4735
+ ut(S, v), v && (m || (m = Xt(t, dr, { transitionDuration: Ar }, !1)), m.run(0)), d = !1;
4714
4736
  },
4715
4737
  d(v) {
4716
- v && U(t), S && S.d(v), De(b, v), De(y, v), B && B.d(), e[38](null), v && d && d.end(), g = !1, w();
4738
+ v && U(t), S && S.d(v), De(b, v), De(y, v), B && B.d(), e[38](null), v && m && m.end(), g = !1, w();
4717
4739
  }
4718
4740
  };
4719
4741
  }
4720
- function Es(e) {
4742
+ function Ts(e) {
4721
4743
  let t, r;
4722
4744
  return {
4723
4745
  c() {
@@ -4732,7 +4754,7 @@ function Es(e) {
4732
4754
  }
4733
4755
  };
4734
4756
  }
4735
- function yr(e) {
4757
+ function Er(e) {
4736
4758
  let t, r, n, i, o, s = (
4737
4759
  /*mainItem*/
4738
4760
  e[59].label + ""
@@ -4753,25 +4775,25 @@ function yr(e) {
4753
4775
  e[5] === /*mainItem*/
4754
4776
  e[59].id ? "ActiveItem" : "");
4755
4777
  },
4756
- m(d, m) {
4757
- j(d, t, m), x(t, r), x(r, n), x(r, o), x(r, a), x(t, u), h || (f = ne(t, "click", c), h = !0);
4778
+ m(m, d) {
4779
+ j(m, t, d), x(t, r), x(r, n), x(r, o), x(r, a), x(t, u), h || (f = ne(t, "click", c), h = !0);
4758
4780
  },
4759
- p(d, m) {
4760
- e = d, m[0] & /*HamburgerMenuItems*/
4781
+ p(m, d) {
4782
+ e = m, d[0] & /*HamburgerMenuItems*/
4761
4783
  16 && !ee(n.src, i = /*mainItem*/
4762
- e[59].img) && X(n, "src", i), m[0] & /*HamburgerMenuItems*/
4784
+ e[59].img) && X(n, "src", i), d[0] & /*HamburgerMenuItems*/
4763
4785
  16 && s !== (s = /*mainItem*/
4764
- e[59].label + "") && ye(a, s), m[0] & /*activeMenuItemId, HamburgerMenuItems*/
4786
+ e[59].label + "") && ye(a, s), d[0] & /*activeMenuItemId, HamburgerMenuItems*/
4765
4787
  48 && l !== (l = /*activeMenuItemId*/
4766
4788
  e[5] === /*mainItem*/
4767
4789
  e[59].id ? "ActiveItem" : "") && _(t, "class", l);
4768
4790
  },
4769
- d(d) {
4770
- d && U(t), h = !1, f();
4791
+ d(m) {
4792
+ m && U(t), h = !1, f();
4771
4793
  }
4772
4794
  };
4773
4795
  }
4774
- function vr(e) {
4796
+ function wr(e) {
4775
4797
  let t, r, n, i, o = (
4776
4798
  /*secondaryItem*/
4777
4799
  e[56].label + ""
@@ -4806,7 +4828,7 @@ function vr(e) {
4806
4828
  }
4807
4829
  };
4808
4830
  }
4809
- function _r(e) {
4831
+ function Hr(e) {
4810
4832
  let t, r, n = (
4811
4833
  /*$_*/
4812
4834
  e[13]("language") + ""
@@ -4814,7 +4836,7 @@ function _r(e) {
4814
4836
  function s(l, h) {
4815
4837
  return (
4816
4838
  /*countryflaghamburger*/
4817
- l[0] !== "true" ? Hs : ws
4839
+ l[0] !== "true" ? As : Ms
4818
4840
  );
4819
4841
  }
4820
4842
  let a = s(e), u = a(e);
@@ -4835,25 +4857,25 @@ function _r(e) {
4835
4857
  }
4836
4858
  };
4837
4859
  }
4838
- function ws(e) {
4860
+ function Ms(e) {
4839
4861
  let t, r, n, i, o, s, a, u = (
4840
4862
  /*selectedLanguage*/
4841
4863
  e[12].slice(-2) + ""
4842
- ), l, h, f, c, d, m, g, w, I, O, S, L, b = (
4864
+ ), l, h, f, c, m, d, g, w, I, O, S, L, b = (
4843
4865
  /*isOptionsListVisible*/
4844
- e[11] && xr(e)
4866
+ e[11] && Sr(e)
4845
4867
  );
4846
4868
  return {
4847
4869
  c() {
4848
- t = P("div"), r = P("div"), n = P("span"), i = P("ui-image"), s = $(), a = P("span"), l = te(u), h = $(), f = P("span"), c = re("svg"), d = re("g"), m = re("g"), g = re("g"), w = re("path"), O = $(), b && b.c(), ee(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4870
+ t = P("div"), r = P("div"), n = P("span"), i = P("ui-image"), s = $(), a = P("span"), l = te(u), h = $(), f = P("span"), c = re("svg"), m = re("g"), d = re("g"), g = re("g"), w = re("path"), O = $(), b && b.c(), ee(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4849
4871
  e[20](
4850
4872
  /*selectedLanguage*/
4851
4873
  e[12].slice(-2)
4852
- )}.svg`) || X(i, "src", o), _(n, "class", "FlagIcon"), _(a, "class", "LanguageName"), _(w, "d", "M223.708 6534.634c.39-.405.39-1.06 0-1.464l-8.264-8.563a1.95 1.95 0 0 0-2.827 0l-8.325 8.625c-.385.4-.39 1.048-.01 1.454a.976.976 0 0 0 1.425.01l7.617-7.893a.975.975 0 0 1 1.414 0l7.557 7.83a.974.974 0 0 0 1.413 0"), _(g, "transform", "translate(56 160)"), _(m, "fill", "#000"), _(m, "transform", "translate(-260 -6684)"), _(d, "fill", "none"), _(d, "fill-rule", "evenodd"), _(c, "xmlns", "http://www.w3.org/2000/svg"), _(c, "width", "20"), _(c, "height", "11"), _(c, "viewBox", "0 0 20 11"), _(c, "id", "arrow"), _(f, "class", I = "TriangleInactive " + /*isOptionsListVisible*/
4874
+ )}.svg`) || X(i, "src", o), _(n, "class", "FlagIcon"), _(a, "class", "LanguageName"), _(w, "d", "M223.708 6534.634c.39-.405.39-1.06 0-1.464l-8.264-8.563a1.95 1.95 0 0 0-2.827 0l-8.325 8.625c-.385.4-.39 1.048-.01 1.454a.976.976 0 0 0 1.425.01l7.617-7.893a.975.975 0 0 1 1.414 0l7.557 7.83a.974.974 0 0 0 1.413 0"), _(g, "transform", "translate(56 160)"), _(d, "fill", "#000"), _(d, "transform", "translate(-260 -6684)"), _(m, "fill", "none"), _(m, "fill-rule", "evenodd"), _(c, "xmlns", "http://www.w3.org/2000/svg"), _(c, "width", "20"), _(c, "height", "11"), _(c, "viewBox", "0 0 20 11"), _(c, "id", "arrow"), _(f, "class", I = "TriangleInactive " + /*isOptionsListVisible*/
4853
4875
  (e[11] ? "TriangleActive" : "")), _(r, "class", "SelectedOption Item ItemLanguage"), _(t, "class", "LanguageDropdown");
4854
4876
  },
4855
4877
  m(M, y) {
4856
- j(M, t, y), x(t, r), x(r, n), x(n, i), x(r, s), x(r, a), x(a, l), x(r, h), x(r, f), x(f, c), x(c, d), x(d, m), x(m, g), x(g, w), x(t, O), b && b.m(t, null), S || (L = ne(
4878
+ j(M, t, y), x(t, r), x(r, n), x(n, i), x(r, s), x(r, a), x(a, l), x(r, h), x(r, f), x(f, c), x(c, m), x(m, d), x(d, g), x(g, w), x(t, O), b && b.m(t, null), S || (L = ne(
4857
4879
  r,
4858
4880
  "click",
4859
4881
  /*click_handler_2*/
@@ -4871,27 +4893,27 @@ function ws(e) {
4871
4893
  M[12].slice(-2) + "") && ye(l, u), y[0] & /*isOptionsListVisible*/
4872
4894
  2048 && I !== (I = "TriangleInactive " + /*isOptionsListVisible*/
4873
4895
  (M[11] ? "TriangleActive" : "")) && _(f, "class", I), /*isOptionsListVisible*/
4874
- M[11] ? b ? b.p(M, y) : (b = xr(M), b.c(), b.m(t, null)) : b && (b.d(1), b = null);
4896
+ M[11] ? b ? b.p(M, y) : (b = Sr(M), b.c(), b.m(t, null)) : b && (b.d(1), b = null);
4875
4897
  },
4876
4898
  d(M) {
4877
4899
  M && U(t), b && b.d(), S = !1, L();
4878
4900
  }
4879
4901
  };
4880
4902
  }
4881
- function Hs(e) {
4903
+ function As(e) {
4882
4904
  let t, r, n, i = Y(
4883
4905
  /*languagesArray*/
4884
4906
  e[10]
4885
4907
  ), o = [];
4886
4908
  for (let s = 0; s < i.length; s += 1)
4887
- o[s] = wr(mr(e, i, s));
4909
+ o[s] = Mr(br(e, i, s));
4888
4910
  return {
4889
4911
  c() {
4890
4912
  t = P("select");
4891
4913
  for (let s = 0; s < o.length; s += 1)
4892
4914
  o[s].c();
4893
4915
  _(t, "class", "Item ItemLanguage NoFlag"), /*selectedLanguage*/
4894
- e[12] === void 0 && me(() => (
4916
+ e[12] === void 0 && de(() => (
4895
4917
  /*select_change_handler*/
4896
4918
  e[34].call(t)
4897
4919
  ));
@@ -4900,7 +4922,7 @@ function Hs(e) {
4900
4922
  j(s, t, a);
4901
4923
  for (let u = 0; u < o.length; u += 1)
4902
4924
  o[u] && o[u].m(t, null);
4903
- Dt(
4925
+ jt(
4904
4926
  t,
4905
4927
  /*selectedLanguage*/
4906
4928
  e[12],
@@ -4929,15 +4951,15 @@ function Hs(e) {
4929
4951
  );
4930
4952
  let u;
4931
4953
  for (u = 0; u < i.length; u += 1) {
4932
- const l = mr(s, i, u);
4933
- o[u] ? o[u].p(l, a) : (o[u] = wr(l), o[u].c(), o[u].m(t, null));
4954
+ const l = br(s, i, u);
4955
+ o[u] ? o[u].p(l, a) : (o[u] = Mr(l), o[u].c(), o[u].m(t, null));
4934
4956
  }
4935
4957
  for (; u < o.length; u += 1)
4936
4958
  o[u].d(1);
4937
4959
  o.length = i.length;
4938
4960
  }
4939
4961
  a[0] & /*selectedLanguage, languagesArray*/
4940
- 5120 && Dt(
4962
+ 5120 && jt(
4941
4963
  t,
4942
4964
  /*selectedLanguage*/
4943
4965
  s[12]
@@ -4948,13 +4970,13 @@ function Hs(e) {
4948
4970
  }
4949
4971
  };
4950
4972
  }
4951
- function xr(e) {
4973
+ function Sr(e) {
4952
4974
  let t, r = Y(
4953
4975
  /*languagesArray*/
4954
4976
  e[10]
4955
4977
  ), n = [];
4956
4978
  for (let i = 0; i < r.length; i += 1)
4957
- n[i] = Er(fr(e, r, i));
4979
+ n[i] = Tr(gr(e, r, i));
4958
4980
  return {
4959
4981
  c() {
4960
4982
  t = P("div");
@@ -4976,8 +4998,8 @@ function xr(e) {
4976
4998
  );
4977
4999
  let s;
4978
5000
  for (s = 0; s < r.length; s += 1) {
4979
- const a = fr(i, r, s);
4980
- n[s] ? n[s].p(a, o) : (n[s] = Er(a), n[s].c(), n[s].m(t, null));
5001
+ const a = gr(i, r, s);
5002
+ n[s] ? n[s].p(a, o) : (n[s] = Tr(a), n[s].c(), n[s].m(t, null));
4981
5003
  }
4982
5004
  for (; s < n.length; s += 1)
4983
5005
  n[s].d(1);
@@ -4989,7 +5011,7 @@ function xr(e) {
4989
5011
  }
4990
5012
  };
4991
5013
  }
4992
- function Er(e) {
5014
+ function Tr(e) {
4993
5015
  let t, r, n, i, o, s, a = (
4994
5016
  /*operatorLanguage*/
4995
5017
  e[53] + ""
@@ -5011,25 +5033,25 @@ function Er(e) {
5011
5033
  e[53]
5012
5034
  )}.svg`) || X(n, "src", i), _(r, "class", "FlagIcon"), _(s, "class", "LanguageName"), _(t, "class", "LanguageOption");
5013
5035
  },
5014
- m(d, m) {
5015
- j(d, t, m), x(t, r), x(r, n), x(t, o), x(t, s), x(s, u), x(t, l), h || (f = ne(t, "click", c), h = !0);
5036
+ m(m, d) {
5037
+ j(m, t, d), x(t, r), x(r, n), x(t, o), x(t, s), x(s, u), x(t, l), h || (f = ne(t, "click", c), h = !0);
5016
5038
  },
5017
- p(d, m) {
5018
- e = d, m[0] & /*languagesArray*/
5039
+ p(m, d) {
5040
+ e = m, d[0] & /*languagesArray*/
5019
5041
  1024 && !ee(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
5020
5042
  e[20](
5021
5043
  /*operatorLanguage*/
5022
5044
  e[53]
5023
- )}.svg`) && X(n, "src", i), m[0] & /*languagesArray*/
5045
+ )}.svg`) && X(n, "src", i), d[0] & /*languagesArray*/
5024
5046
  1024 && a !== (a = /*operatorLanguage*/
5025
5047
  e[53] + "") && ye(u, a);
5026
5048
  },
5027
- d(d) {
5028
- d && U(t), h = !1, f();
5049
+ d(m) {
5050
+ m && U(t), h = !1, f();
5029
5051
  }
5030
5052
  };
5031
5053
  }
5032
- function wr(e) {
5054
+ function Mr(e) {
5033
5055
  let t, r = (
5034
5056
  /*lang*/
5035
5057
  e[1].slice(-2) + ""
@@ -5037,7 +5059,7 @@ function wr(e) {
5037
5059
  return {
5038
5060
  c() {
5039
5061
  t = P("option"), n = te(r), t.__value = i = /*lang*/
5040
- e[1], Ut(t, t.__value), t.selected = !0;
5062
+ e[1], kt(t, t.__value), t.selected = !0;
5041
5063
  },
5042
5064
  m(o, s) {
5043
5065
  j(o, t, s), x(t, n);
@@ -5047,17 +5069,17 @@ function wr(e) {
5047
5069
  1024 && r !== (r = /*lang*/
5048
5070
  o[1].slice(-2) + "") && ye(n, r), s[0] & /*languagesArray*/
5049
5071
  1024 && i !== (i = /*lang*/
5050
- o[1]) && (t.__value = i, Ut(t, t.__value));
5072
+ o[1]) && (t.__value = i, kt(t, t.__value));
5051
5073
  },
5052
5074
  d(o) {
5053
5075
  o && U(t);
5054
5076
  }
5055
5077
  };
5056
5078
  }
5057
- function Ss(e) {
5079
+ function Bs(e) {
5058
5080
  let t, r, n = (
5059
5081
  /*show*/
5060
- e[9] === !0 && br(e)
5082
+ e[9] === !0 && xr(e)
5061
5083
  );
5062
5084
  return {
5063
5085
  c() {
@@ -5069,39 +5091,39 @@ function Ss(e) {
5069
5091
  p(i, o) {
5070
5092
  /*show*/
5071
5093
  i[9] === !0 ? n ? (n.p(i, o), o[0] & /*show*/
5072
- 512 && ce(n, 1)) : (n = br(i), n.c(), ce(n, 1), n.m(t, null)) : n && (ri(), at(n, 1, 1, () => {
5094
+ 512 && ce(n, 1)) : (n = xr(i), n.c(), ce(n, 1), n.m(t, null)) : n && (ai(), ut(n, 1, 1, () => {
5073
5095
  n = null;
5074
- }), ni());
5096
+ }), ui());
5075
5097
  },
5076
5098
  i(i) {
5077
5099
  r || (ce(n), r = !0);
5078
5100
  },
5079
5101
  o(i) {
5080
- at(n), r = !1;
5102
+ ut(n), r = !1;
5081
5103
  },
5082
5104
  d(i) {
5083
5105
  i && U(t), n && n.d(), e[39](null);
5084
5106
  }
5085
5107
  };
5086
5108
  }
5087
- let Hr = 350;
5088
- function Ts(e, t, r) {
5109
+ let Ar = 350;
5110
+ function Ps(e, t, r) {
5089
5111
  let n;
5090
- In(e, ds, (p) => r(13, n = p));
5091
- let { $$slots: i = {}, $$scope: o } = t, { menuitemsurl: s = "" } = t, { lang: a = "en" } = t, { activecategory: u = "" } = t, { languageslist: l = "" } = t, { translationurl: h = "" } = t, { clientstyling: f = "" } = t, { clientstylingurl: c = "" } = t, { customlocaleidentifier: d = "" } = t, { countryflaghamburger: m = "" } = t, { mbsource: g } = t, w, I = window.navigator.userAgent, O = [], S, L = "", b = [], M = !1, y = !1, B = !1, v = !0, C = [], E = !1, V = !1, oe = "", z;
5092
- const fn = () => {
5112
+ Fn(e, ys, (p) => r(13, n = p));
5113
+ let { $$slots: i = {}, $$scope: o } = t, { menuitemsurl: s = "" } = t, { lang: a = "en" } = t, { activecategory: u = "" } = t, { languageslist: l = "" } = t, { translationurl: h = "" } = t, { clientstyling: f = "" } = t, { clientstylingurl: c = "" } = t, { customlocaleidentifier: m = "" } = t, { countryflaghamburger: d = "" } = t, { mbsource: g } = t, w, I = window.navigator.userAgent, O = [], S, L = "", b = [], M = !1, y = !1, B = !1, v = !0, C = [], E = !1, V = !1, oe = "", z, At;
5114
+ const bn = () => {
5093
5115
  fetch(h).then((R) => R.json()).then((R) => {
5094
5116
  Object.keys(R).forEach((W) => {
5095
- hr(W, R[W]);
5117
+ mr(W, R[W]);
5096
5118
  });
5097
5119
  }).catch((R) => {
5098
5120
  console.log(R);
5099
5121
  });
5100
5122
  };
5101
- Object.keys(cr).forEach((p) => {
5102
- hr(p, cr[p]);
5123
+ Object.keys(pr).forEach((p) => {
5124
+ mr(p, pr[p]);
5103
5125
  });
5104
- const St = () => {
5126
+ const Bt = () => {
5105
5127
  r(9, B = !1), r(7, M = !1), r(8, y = !1), r(11, V = !1), window.postMessage(
5106
5128
  {
5107
5129
  type: "CloseHamburgerMenu",
@@ -5109,7 +5131,7 @@ function Ts(e, t, r) {
5109
5131
  },
5110
5132
  window.location.href
5111
5133
  );
5112
- }, Tt = (p) => {
5134
+ }, Pt = (p) => {
5113
5135
  p.data.type === "OpenHamburgerMenuModal" && (window.postMessage({ type: "DisableScroll" }, window.location.href), r(9, B = !0), setTimeout(
5114
5136
  () => {
5115
5137
  r(7, M = !0);
@@ -5120,34 +5142,34 @@ function Ts(e, t, r) {
5120
5142
  r(8, y = !0);
5121
5143
  },
5122
5144
  1500
5123
- ), mn(s));
5145
+ ), yn(s));
5124
5146
  }, Pe = (p, R) => {
5125
5147
  r(5, L = p), r(6, b = R || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
5126
5148
  context: "HamburgerMenu",
5127
5149
  menuItem: `${L}`
5128
5150
  });
5129
- }, Mt = () => {
5151
+ }, Ot = () => {
5130
5152
  let p = O.filter((R) => {
5131
- var It;
5153
+ var Rt;
5132
5154
  let W = !1;
5133
- return (It = R.children) == null || It.forEach((Hn) => {
5134
- Hn.path.includes(u) && (W = !0);
5155
+ return (Rt = R.children) == null || Rt.forEach((Bn) => {
5156
+ Bn.path.includes(u) && (W = !0);
5135
5157
  }), W;
5136
5158
  });
5137
5159
  p.length > 0 ? Pe(p[0].id, p[0].children) : Pe(O[0].id, O[0].children);
5138
- }, mn = (p) => new Promise((R, W) => {
5139
- S && !E ? R(S) : At(p);
5140
- }), At = (p) => {
5160
+ }, yn = (p) => new Promise((R, W) => {
5161
+ S && !E ? R(S) : It(p);
5162
+ }), It = (p) => {
5141
5163
  fetch(p).then((R) => R.json()).then(
5142
5164
  (R) => {
5143
- r(4, O = R.filter((W) => (W == null ? void 0 : W.type) !== "banner")), Mt(), r(29, v = !1), S = R, E = !1;
5165
+ r(4, O = R.filter((W) => (W == null ? void 0 : W.type) !== "banner")), Ot(), r(29, v = !1), S = R, E = !1;
5144
5166
  },
5145
5167
  (R) => {
5146
5168
  console.error(R);
5147
5169
  }
5148
5170
  );
5149
5171
  };
5150
- let Bt = (p) => {
5172
+ let Lt = (p) => {
5151
5173
  window.postMessage(
5152
5174
  {
5153
5175
  type: "NavigateTo",
@@ -5156,7 +5178,7 @@ function Ts(e, t, r) {
5156
5178
  target: p.attrs.target || null
5157
5179
  },
5158
5180
  window.location.href
5159
- ), St();
5181
+ ), Bt();
5160
5182
  };
5161
5183
  const qe = () => {
5162
5184
  E = !0, window.postMessage(
@@ -5166,45 +5188,45 @@ function Ts(e, t, r) {
5166
5188
  },
5167
5189
  window.location.href
5168
5190
  );
5169
- }, dn = () => {
5170
- vs(a), E && At(s), r(10, C = l.replace(/ /g, "").split(",")), r(10, C = C.map((p) => p.toUpperCase())), r(12, oe = a.toUpperCase());
5171
- }, Pt = (p) => {
5191
+ }, vn = () => {
5192
+ ws(a), E && It(s), r(10, C = l.replace(/ /g, "").split(",")), r(10, C = C.map((p) => p.toUpperCase())), r(12, oe = a.toUpperCase());
5193
+ }, Ct = (p) => {
5172
5194
  r(12, oe = p), r(11, V = !1), qe();
5173
- }, Ot = () => {
5195
+ }, Nt = () => {
5174
5196
  r(11, V = !V);
5175
- }, pn = (p) => (d && (p = d.includes(p.toLowerCase()) ? d.slice(-2) : p), p == "EN" ? "US" : p.toUpperCase());
5176
- qn(() => (window.addEventListener("message", Tt, !1), ps(I), () => {
5177
- window.removeEventListener("message", Tt);
5197
+ }, _n = (p) => (m && (p = m.includes(p.toLowerCase()) ? m.slice(-2) : p), p == "EN" ? "US" : p.toUpperCase());
5198
+ ti(() => (window.addEventListener("message", Pt, !1), vs(I), () => {
5199
+ window.emMessageBus && At && At.unsubscribe(), window.removeEventListener("message", Pt);
5178
5200
  }));
5179
- const gn = (p) => Pe(p.id, p.children), bn = (p, R) => {
5180
- Bt(p), R.preventDefault();
5201
+ const xn = (p) => Pe(p.id, p.children), En = (p, R) => {
5202
+ Lt(p), R.preventDefault();
5181
5203
  };
5182
- function yn() {
5183
- oe = kn(this), r(12, oe), r(10, C);
5204
+ function wn() {
5205
+ oe = zn(this), r(12, oe), r(10, C);
5184
5206
  }
5185
- const vn = () => qe(), _n = () => Ot(), xn = (p) => Pt(p);
5186
- function En(p) {
5207
+ const Hn = () => qe(), Sn = () => Nt(), Tn = (p) => Ct(p);
5208
+ function Mn(p) {
5187
5209
  ke[p ? "unshift" : "push"](() => {
5188
5210
  w = p, r(3, w);
5189
5211
  });
5190
5212
  }
5191
- function wn(p) {
5213
+ function An(p) {
5192
5214
  ke[p ? "unshift" : "push"](() => {
5193
5215
  z = p, r(2, z);
5194
5216
  });
5195
5217
  }
5196
5218
  return e.$$set = (p) => {
5197
- "menuitemsurl" in p && r(21, s = p.menuitemsurl), "lang" in p && r(1, a = p.lang), "activecategory" in p && r(22, u = p.activecategory), "languageslist" in p && r(23, l = p.languageslist), "translationurl" in p && r(24, h = p.translationurl), "clientstyling" in p && r(25, f = p.clientstyling), "clientstylingurl" in p && r(26, c = p.clientstylingurl), "customlocaleidentifier" in p && r(27, d = p.customlocaleidentifier), "countryflaghamburger" in p && r(0, m = p.countryflaghamburger), "mbsource" in p && r(28, g = p.mbsource), "$$scope" in p && r(30, o = p.$$scope);
5219
+ "menuitemsurl" in p && r(21, s = p.menuitemsurl), "lang" in p && r(1, a = p.lang), "activecategory" in p && r(22, u = p.activecategory), "languageslist" in p && r(23, l = p.languageslist), "translationurl" in p && r(24, h = p.translationurl), "clientstyling" in p && r(25, f = p.clientstyling), "clientstylingurl" in p && r(26, c = p.clientstylingurl), "customlocaleidentifier" in p && r(27, m = p.customlocaleidentifier), "countryflaghamburger" in p && r(0, d = p.countryflaghamburger), "mbsource" in p && r(28, g = p.mbsource), "$$scope" in p && r(30, o = p.$$scope);
5198
5220
  }, e.$$.update = () => {
5199
5221
  e.$$.dirty[0] & /*lang, languageslist*/
5200
- 8388610 && a && l && dn(), e.$$.dirty[0] & /*activecategory, isLoading*/
5201
- 541065216 && u && !v && Mt(), e.$$.dirty[0] & /*translationurl*/
5202
- 16777216 && h && fn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5203
- 33554436 && f && z && gs(z, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5204
- 67108868 && c && z && bs(z, c), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
5205
- 268435460 && z && ys(z, `${g}.Style`);
5222
+ 8388610 && a && l && vn(), e.$$.dirty[0] & /*activecategory, isLoading*/
5223
+ 541065216 && u && !v && Ot(), e.$$.dirty[0] & /*translationurl*/
5224
+ 16777216 && h && bn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5225
+ 33554436 && f && z && _s(z, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5226
+ 67108868 && c && z && xs(z, c), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
5227
+ 268435460 && z && Es(z, `${g}.Style`);
5206
5228
  }, [
5207
- m,
5229
+ d,
5208
5230
  a,
5209
5231
  z,
5210
5232
  w,
@@ -5218,42 +5240,42 @@ function Ts(e, t, r) {
5218
5240
  V,
5219
5241
  oe,
5220
5242
  n,
5221
- St,
5222
- Pe,
5223
5243
  Bt,
5244
+ Pe,
5245
+ Lt,
5224
5246
  qe,
5225
- Pt,
5226
- Ot,
5227
- pn,
5247
+ Ct,
5248
+ Nt,
5249
+ _n,
5228
5250
  s,
5229
5251
  u,
5230
5252
  l,
5231
5253
  h,
5232
5254
  f,
5233
5255
  c,
5234
- d,
5256
+ m,
5235
5257
  g,
5236
5258
  v,
5237
5259
  o,
5238
5260
  i,
5239
- gn,
5240
- bn,
5241
- yn,
5242
- vn,
5243
- _n,
5244
5261
  xn,
5245
5262
  En,
5246
- wn
5263
+ wn,
5264
+ Hn,
5265
+ Sn,
5266
+ Tn,
5267
+ Mn,
5268
+ An
5247
5269
  ];
5248
5270
  }
5249
- class cn extends hi {
5271
+ class gn extends pi {
5250
5272
  constructor(t) {
5251
- super(), ui(
5273
+ super(), di(
5252
5274
  this,
5253
5275
  t,
5254
- Ts,
5255
- Ss,
5256
- Mr,
5276
+ Ps,
5277
+ Bs,
5278
+ Or,
5257
5279
  {
5258
5280
  menuitemsurl: 21,
5259
5281
  lang: 1,
@@ -5266,7 +5288,7 @@ class cn extends hi {
5266
5288
  countryflaghamburger: 0,
5267
5289
  mbsource: 28
5268
5290
  },
5269
- _s,
5291
+ Hs,
5270
5292
  [-1, -1]
5271
5293
  );
5272
5294
  }
@@ -5331,55 +5353,55 @@ class cn extends hi {
5331
5353
  this.$$set({ mbsource: t }), k();
5332
5354
  }
5333
5355
  }
5334
- li(cn, { menuitemsurl: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {}, mbsource: {} }, ["close"], [], !0);
5335
- const Rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5356
+ mi(gn, { menuitemsurl: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {}, mbsource: {} }, ["close"], [], !0);
5357
+ const $s = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5336
5358
  __proto__: null,
5337
- default: cn
5359
+ default: gn
5338
5360
  }, Symbol.toStringTag, { value: "Module" }));
5339
5361
  export {
5340
5362
  _e as $,
5341
- Y as A,
5363
+ ye as A,
5342
5364
  De as B,
5343
- Ns as C,
5344
- Bs as D,
5345
- ee as E,
5346
- Dt as F,
5347
- me as G,
5348
- Ut as H,
5349
- ds as I,
5350
- gs as J,
5351
- bs as K,
5352
- ys as L,
5353
- Ls as M,
5354
- Is as N,
5355
- Cs as O,
5356
- Os as P,
5357
- Rs as Q,
5358
- hi as S,
5365
+ q as C,
5366
+ re as D,
5367
+ Cs as E,
5368
+ Ls as F,
5369
+ ys as G,
5370
+ Ds as H,
5371
+ ee as I,
5372
+ de as J,
5373
+ jt as K,
5374
+ kt as L,
5375
+ Fs as M,
5376
+ Rs as N,
5377
+ Us as O,
5378
+ Ns as P,
5379
+ $s as Q,
5380
+ pi as S,
5359
5381
  Be as a,
5360
- sn as b,
5361
- li as c,
5362
- Dn as d,
5363
- U as e,
5382
+ cn as b,
5383
+ mi as c,
5384
+ Vn as d,
5385
+ $ as e,
5364
5386
  k as f,
5365
- X as g,
5366
- j as h,
5367
- ui as i,
5368
- $ as j,
5369
- P as k,
5370
- In as l,
5371
- ps as m,
5387
+ P as g,
5388
+ X as h,
5389
+ di as i,
5390
+ j,
5391
+ U as k,
5392
+ Fn as l,
5393
+ xs as m,
5372
5394
  D as n,
5373
- qn as o,
5374
- ke as p,
5375
- kn as q,
5376
- Ps as r,
5377
- Mr as s,
5378
- q as t,
5379
- ye as u,
5380
- x as v,
5381
- ne as w,
5382
- re as x,
5383
- te as y,
5384
- _ as z
5395
+ ti as o,
5396
+ vs as p,
5397
+ ke as q,
5398
+ zn as r,
5399
+ Or as s,
5400
+ _s as t,
5401
+ Es as u,
5402
+ Y as v,
5403
+ te as w,
5404
+ _ as x,
5405
+ x as y,
5406
+ ne as z
5385
5407
  };