@everymatrix/casino-header-controller 1.64.8 → 1.65.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 (67) hide show
  1. package/components/{CasinoHamburgerMenu-BMkeLxFw.js → CasinoHamburgerMenu-B1dY3jHB.js} +886 -907
  2. package/components/CasinoHamburgerMenu-CaFkIr3d.cjs +21 -0
  3. package/components/{CasinoHamburgerMenu-CTVc2-UF.js → CasinoHamburgerMenu-pBvrxlJy.js} +830 -851
  4. package/components/CasinoHeaderController-B0cFJgaJ.cjs +13 -0
  5. package/components/CasinoHeaderController-Bn2AwIyI.js +3246 -0
  6. package/components/CasinoHeaderController-DOdeXoey.js +3223 -0
  7. package/components/{CasinoSlider-Deb0x84t.js → CasinoSlider-BEx_hpVM.js} +88 -88
  8. package/components/{CasinoSlider-CTcAOyCp.js → CasinoSlider-CKGPxibK.js} +57 -57
  9. package/components/{CasinoSlider-DqTtsMWh.cjs → CasinoSlider-CL_Uac-c.cjs} +1 -1
  10. package/components/PlayerAccountBalanceModal-BKMugmnm.js +1539 -0
  11. package/components/PlayerAccountBalanceModal-CK68FRSV.js +1510 -0
  12. package/components/PlayerAccountBalanceModal-iP2HDeoz.cjs +13 -0
  13. package/components/PlayerDeposit-BsUiL_LS.cjs +1 -0
  14. package/components/{PlayerDeposit-BZuTQSyp.js → PlayerDeposit-Byf7G3yu.js} +72 -72
  15. package/components/{PlayerDeposit-eY_YGhMJ.js → PlayerDeposit-C-Fbg92q.js} +72 -72
  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/app-globals-0f993ce5-B6nNHmA4.js +7 -0
  21. package/stencil/app-globals-0f993ce5-DgOnOgxM.cjs +1 -0
  22. package/stencil/gamification-dropdown-8eb8a896-BXV0d81L.cjs +1 -0
  23. package/stencil/gamification-dropdown-8eb8a896-CxTBD8Oq.js +144 -0
  24. package/stencil/gamification-dropdown-8eb8a896-DsjvIRRh.js +126 -0
  25. package/stencil/gamification-dropdown-C_xYxEL8.js +7 -0
  26. package/stencil/gamification-dropdown-DG0vAJtO.js +25 -0
  27. package/stencil/gamification-dropdown-DUk8bbFT.cjs +1 -0
  28. package/stencil/gamification-dropdown_4-Be_N4EeF.js +451 -0
  29. package/stencil/gamification-dropdown_4-DuMaGjcI.cjs +192 -0
  30. package/stencil/gamification-dropdown_4-zImC9hF9.js +469 -0
  31. package/stencil/index-1ef3a64c-C31PLQx3.js +572 -0
  32. package/stencil/index-1ef3a64c-CkoGfMtU.cjs +1 -0
  33. package/stencil/index-1ef3a64c-WzZ9mlMM.js +556 -0
  34. package/stencil/index-71b1bdfa-Dm7yvsrK.js +784 -0
  35. package/stencil/index-71b1bdfa-DzyepuUf.js +757 -0
  36. package/stencil/index-71b1bdfa-urw3SgKF.cjs +1 -0
  37. package/stencil/locale-DHn5ZpQu.cjs +1 -0
  38. package/stencil/locale-DuSXBQwH.js +215 -0
  39. package/stencil/player-elevate-card-C6V7VROS.cjs +64 -0
  40. package/stencil/player-elevate-card-Cmxvkrge.js +106 -0
  41. package/stencil/player-elevate-card-DL6XwNnq.js +106 -0
  42. package/stencil/player-elevate-card-items-66be34fb-BUkxBwF8.js +1292 -0
  43. package/stencil/player-elevate-card-items-66be34fb-BjQeJ-p9.js +1292 -0
  44. package/stencil/player-elevate-card-items-66be34fb-DeUY02M2.cjs +1 -0
  45. package/stencil/player-elevate-pointcard-CbCIvh8I.cjs +1 -0
  46. package/stencil/player-elevate-pointcard-DYOUbwi3.js +44 -0
  47. package/stencil/player-elevate-pointcard-dDiPwAiV.js +44 -0
  48. package/stencil/player-rakeback-card-BMHeEc3P.cjs +1 -0
  49. package/stencil/player-rakeback-card-CixEJCwY.js +137 -0
  50. package/stencil/player-rakeback-card-CxD8OOP-.js +111 -0
  51. package/stencil/{user-deposit-withdrawal-4aK-1zzW.js → user-deposit-withdrawal-CXMt1MVo.js} +2 -2
  52. package/stencil/user-deposit-withdrawal-Ck524nr-.cjs +68 -0
  53. package/stencil/{user-deposit-withdrawal-BhsnZiSd.js → user-deposit-withdrawal-DU6VQt9M.js} +2 -2
  54. package/components/CasinoHamburgerMenu-CrZ5l9tM.cjs +0 -21
  55. package/components/CasinoHeaderController-BIefUWQL.js +0 -3114
  56. package/components/CasinoHeaderController-DSyglpDF.cjs +0 -13
  57. package/components/CasinoHeaderController-KfLekr0Q.js +0 -3137
  58. package/components/PlayerAccountBalanceModal-BFDpI9Sy.cjs +0 -13
  59. package/components/PlayerAccountBalanceModal-CNXuqjqU.js +0 -1539
  60. package/components/PlayerAccountBalanceModal-DbULiu-f.js +0 -1510
  61. package/components/PlayerDeposit-BXwT7NVp.cjs +0 -1
  62. package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
  63. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
  64. package/stencil/index-1ef3a64c-B6t9gkO1.js +0 -556
  65. package/stencil/index-1ef3a64c-BdrVNGQe.cjs +0 -1
  66. package/stencil/index-1ef3a64c-BfGbBN_r.js +0 -572
  67. package/stencil/user-deposit-withdrawal-HQmDGKFu.cjs +0 -68
@@ -1,6 +1,6 @@
1
- function $() {
1
+ function D() {
2
2
  }
3
- const Er = (e) => e;
3
+ const xr = (e) => e;
4
4
  function En(e, t) {
5
5
  for (const r in t)
6
6
  e[r] = t[r];
@@ -9,24 +9,24 @@ function En(e, t) {
9
9
  e
10
10
  );
11
11
  }
12
- function wr(e) {
12
+ function Er(e) {
13
13
  return e();
14
14
  }
15
- function Ct() {
15
+ function Lt() {
16
16
  return /* @__PURE__ */ Object.create(null);
17
17
  }
18
- function Z(e) {
19
- e.forEach(wr);
18
+ function z(e) {
19
+ e.forEach(Er);
20
20
  }
21
- function He(e) {
21
+ function Te(e) {
22
22
  return typeof e == "function";
23
23
  }
24
- function Sr(e, t) {
24
+ function wr(e, t) {
25
25
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
26
26
  }
27
- let Be;
27
+ let Ae;
28
28
  function Y(e, t) {
29
- return e === t ? !0 : (Be || (Be = document.createElement("a")), Be.href = t, e === Be.href);
29
+ return e === t ? !0 : (Ae || (Ae = document.createElement("a")), Ae.href = t, e === Ae.href);
30
30
  }
31
31
  function wn(e) {
32
32
  return Object.keys(e).length === 0;
@@ -35,21 +35,21 @@ function Hr(e, ...t) {
35
35
  if (e == null) {
36
36
  for (const n of t)
37
37
  n(void 0);
38
- return $;
38
+ return D;
39
39
  }
40
40
  const r = e.subscribe(...t);
41
41
  return r.unsubscribe ? () => r.unsubscribe() : r;
42
42
  }
43
- function Sn(e, t, r) {
43
+ function Hn(e, t, r) {
44
44
  e.$$.on_destroy.push(Hr(t, r));
45
45
  }
46
- function Hn(e, t, r, n) {
46
+ function Sn(e, t, r, n) {
47
47
  if (e) {
48
- const i = Tr(e, t, r, n);
48
+ const i = Sr(e, t, r, n);
49
49
  return e[0](i);
50
50
  }
51
51
  }
52
- function Tr(e, t, r, n) {
52
+ function Sr(e, t, r, n) {
53
53
  return e[1] && n ? En(r.ctx.slice(), e[1](n(t))) : r.ctx;
54
54
  }
55
55
  function Tn(e, t, r, n) {
@@ -69,11 +69,11 @@ function Tn(e, t, r, n) {
69
69
  }
70
70
  function Mn(e, t, r, n, i, o) {
71
71
  if (i) {
72
- const s = Tr(t, r, n, o);
72
+ const s = Sr(t, r, n, o);
73
73
  e.p(s, i);
74
74
  }
75
75
  }
76
- function An(e) {
76
+ function Bn(e) {
77
77
  if (e.ctx.length > 32) {
78
78
  const t = [], r = e.ctx.length / 32;
79
79
  for (let n = 0; n < r; n++)
@@ -82,20 +82,20 @@ function An(e) {
82
82
  }
83
83
  return -1;
84
84
  }
85
- function _s(e) {
86
- return e && He(e.destroy) ? e.destroy : $;
85
+ function ys(e) {
86
+ return e && Te(e.destroy) ? e.destroy : D;
87
87
  }
88
- const Mr = typeof window < "u";
89
- let Bn = Mr ? () => window.performance.now() : () => Date.now(), wt = Mr ? (e) => requestAnimationFrame(e) : $;
88
+ const Tr = typeof window < "u";
89
+ let An = Tr ? () => window.performance.now() : () => Date.now(), _t = Tr ? (e) => requestAnimationFrame(e) : D;
90
90
  const ae = /* @__PURE__ */ new Set();
91
- function Ar(e) {
91
+ function Mr(e) {
92
92
  ae.forEach((t) => {
93
93
  t.c(e) || (ae.delete(t), t.f());
94
- }), ae.size !== 0 && wt(Ar);
94
+ }), ae.size !== 0 && _t(Mr);
95
95
  }
96
96
  function Pn(e) {
97
97
  let t;
98
- return ae.size === 0 && wt(Ar), {
98
+ return ae.size === 0 && _t(Mr), {
99
99
  promise: new Promise((r) => {
100
100
  ae.add(t = { c: e, f: r });
101
101
  }),
@@ -107,14 +107,14 @@ function Pn(e) {
107
107
  function x(e, t) {
108
108
  e.appendChild(t);
109
109
  }
110
- function On(e, t, r) {
111
- const n = St(e);
110
+ function In(e, t, r) {
111
+ const n = vt(e);
112
112
  if (!n.getElementById(t)) {
113
- const i = B("style");
113
+ const i = P("style");
114
114
  i.id = t, i.textContent = r, Br(n, i);
115
115
  }
116
116
  }
117
- function St(e) {
117
+ function vt(e) {
118
118
  if (!e)
119
119
  return document;
120
120
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -124,9 +124,9 @@ function St(e) {
124
124
  t
125
125
  ) : e.ownerDocument;
126
126
  }
127
- function In(e) {
128
- const t = B("style");
129
- return t.textContent = "/* empty */", Br(St(e), t), t.sheet;
127
+ function On(e) {
128
+ const t = P("style");
129
+ return t.textContent = "/* empty */", Br(vt(e), t), t.sheet;
130
130
  }
131
131
  function Br(e, t) {
132
132
  return x(
@@ -145,7 +145,7 @@ function Fe(e, t) {
145
145
  for (let r = 0; r < e.length; r += 1)
146
146
  e[r] && e[r].d(t);
147
147
  }
148
- function B(e) {
148
+ function P(e) {
149
149
  return document.createElement(e);
150
150
  }
151
151
  function ee(e) {
@@ -154,10 +154,10 @@ function ee(e) {
154
154
  function K(e) {
155
155
  return document.createTextNode(e);
156
156
  }
157
- function D() {
157
+ function $() {
158
158
  return K(" ");
159
159
  }
160
- function vs() {
160
+ function _s() {
161
161
  return K("");
162
162
  }
163
163
  function te(e, t, r, n) {
@@ -166,24 +166,24 @@ function te(e, t, r, n) {
166
166
  function g(e, t, r) {
167
167
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
168
168
  }
169
- function xs(e, t, r) {
169
+ function vs(e, t, r) {
170
170
  const n = t.toLowerCase();
171
171
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : g(e, t, r);
172
172
  }
173
173
  function Ln(e) {
174
174
  return Array.from(e.childNodes);
175
175
  }
176
- function pe(e, t) {
176
+ function ge(e, t) {
177
177
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
178
178
  t);
179
179
  }
180
- function Nt(e, t) {
180
+ function Ct(e, t) {
181
181
  e.value = t ?? "";
182
182
  }
183
- function Es(e, t, r, n) {
183
+ function xs(e, t, r, n) {
184
184
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
185
185
  }
186
- function Rt(e, t, r) {
186
+ function Nt(e, t, r) {
187
187
  for (let n = 0; n < e.options.length; n += 1) {
188
188
  const i = e.options[n];
189
189
  if (i.__value === t) {
@@ -210,7 +210,7 @@ function Rn(e) {
210
210
  ), t;
211
211
  }
212
212
  const Ue = /* @__PURE__ */ new Map();
213
- let $e = 0;
213
+ let De = 0;
214
214
  function Fn(e) {
215
215
  let t = 5381, r = e.length;
216
216
  for (; r--; )
@@ -218,10 +218,10 @@ function Fn(e) {
218
218
  return t >>> 0;
219
219
  }
220
220
  function Un(e, t) {
221
- const r = { stylesheet: In(t), rules: {} };
221
+ const r = { stylesheet: On(t), rules: {} };
222
222
  return Ue.set(e, r), r;
223
223
  }
224
- function Ft(e, t, r, n, i, o, s, a = 0) {
224
+ function Rt(e, t, r, n, i, o, s, a = 0) {
225
225
  const u = 16.666 / n;
226
226
  let l = `{
227
227
  `;
@@ -231,126 +231,126 @@ function Ft(e, t, r, n, i, o, s, a = 0) {
231
231
  `;
232
232
  }
233
233
  const h = l + `100% {${s(r, 1 - r)}}
234
- }`, f = `__svelte_${Fn(h)}_${a}`, c = St(e), { stylesheet: d, rules: m } = Ue.get(c) || Un(c, e);
234
+ }`, f = `__svelte_${Fn(h)}_${a}`, c = vt(e), { stylesheet: d, rules: m } = Ue.get(c) || Un(c, e);
235
235
  m[f] || (m[f] = !0, d.insertRule(`@keyframes ${f} ${h}`, d.cssRules.length));
236
236
  const b = e.style.animation || "";
237
- return e.style.animation = `${b ? `${b}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, $e += 1, f;
237
+ return e.style.animation = `${b ? `${b}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, De += 1, f;
238
238
  }
239
- function $n(e, t) {
239
+ function Dn(e, t) {
240
240
  const r = (e.style.animation || "").split(", "), n = r.filter(
241
241
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
242
242
  // remove all Svelte animations
243
243
  ), i = r.length - n.length;
244
- i && (e.style.animation = n.join(", "), $e -= i, $e || Dn());
244
+ i && (e.style.animation = n.join(", "), De -= i, De || $n());
245
245
  }
246
- function Dn() {
247
- wt(() => {
248
- $e || (Ue.forEach((e) => {
246
+ function $n() {
247
+ _t(() => {
248
+ De || (Ue.forEach((e) => {
249
249
  const { ownerNode: t } = e.stylesheet;
250
250
  t && U(t);
251
251
  }), Ue.clear());
252
252
  });
253
253
  }
254
- let Ee;
255
- function xe(e) {
256
- Ee = e;
254
+ let we;
255
+ function Ee(e) {
256
+ we = e;
257
257
  }
258
258
  function Gn() {
259
- if (!Ee)
259
+ if (!we)
260
260
  throw new Error("Function called outside component initialization");
261
- return Ee;
261
+ return we;
262
262
  }
263
263
  function kn(e) {
264
264
  Gn().$$.on_mount.push(e);
265
265
  }
266
- const se = [], De = [];
266
+ const se = [], $e = [];
267
267
  let ue = [];
268
- const Ut = [], jn = /* @__PURE__ */ Promise.resolve();
269
- let st = !1;
268
+ const Ft = [], jn = /* @__PURE__ */ Promise.resolve();
269
+ let it = !1;
270
270
  function Vn() {
271
- st || (st = !0, jn.then(G));
271
+ it || (it = !0, jn.then(G));
272
272
  }
273
- function he(e) {
273
+ function ce(e) {
274
274
  ue.push(e);
275
275
  }
276
- const Je = /* @__PURE__ */ new Set();
276
+ const qe = /* @__PURE__ */ new Set();
277
277
  let ie = 0;
278
278
  function G() {
279
279
  if (ie !== 0)
280
280
  return;
281
- const e = Ee;
281
+ const e = we;
282
282
  do {
283
283
  try {
284
284
  for (; ie < se.length; ) {
285
285
  const t = se[ie];
286
- ie++, xe(t), Wn(t.$$);
286
+ ie++, Ee(t), Wn(t.$$);
287
287
  }
288
288
  } catch (t) {
289
289
  throw se.length = 0, ie = 0, t;
290
290
  }
291
- for (xe(null), se.length = 0, ie = 0; De.length; )
292
- De.pop()();
291
+ for (Ee(null), se.length = 0, ie = 0; $e.length; )
292
+ $e.pop()();
293
293
  for (let t = 0; t < ue.length; t += 1) {
294
294
  const r = ue[t];
295
- Je.has(r) || (Je.add(r), r());
295
+ qe.has(r) || (qe.add(r), r());
296
296
  }
297
297
  ue.length = 0;
298
298
  } while (se.length);
299
- for (; Ut.length; )
300
- Ut.pop()();
301
- st = !1, Je.clear(), xe(e);
299
+ for (; Ft.length; )
300
+ Ft.pop()();
301
+ it = !1, qe.clear(), Ee(e);
302
302
  }
303
303
  function Wn(e) {
304
304
  if (e.fragment !== null) {
305
- e.update(), Z(e.before_update);
305
+ e.update(), z(e.before_update);
306
306
  const t = e.dirty;
307
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(he);
307
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ce);
308
308
  }
309
309
  }
310
310
  function Xn(e) {
311
311
  const t = [], r = [];
312
312
  ue.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ue = t;
313
313
  }
314
- let _e;
314
+ let ve;
315
315
  function zn() {
316
- return _e || (_e = Promise.resolve(), _e.then(() => {
317
- _e = null;
318
- })), _e;
316
+ return ve || (ve = Promise.resolve(), ve.then(() => {
317
+ ve = null;
318
+ })), ve;
319
319
  }
320
- function Ye(e, t, r) {
320
+ function Qe(e, t, r) {
321
321
  e.dispatchEvent(Nn(`${t ? "intro" : "outro"}${r}`));
322
322
  }
323
- const Ie = /* @__PURE__ */ new Set();
324
- let X;
323
+ const Oe = /* @__PURE__ */ new Set();
324
+ let W;
325
325
  function Zn() {
326
- X = {
326
+ W = {
327
327
  r: 0,
328
328
  c: [],
329
- p: X
329
+ p: W
330
330
  // parent group
331
331
  };
332
332
  }
333
333
  function qn() {
334
- X.r || Z(X.c), X = X.p;
334
+ W.r || z(W.c), W = W.p;
335
335
  }
336
336
  function le(e, t) {
337
- e && e.i && (Ie.delete(e), e.i(t));
337
+ e && e.i && (Oe.delete(e), e.i(t));
338
338
  }
339
- function at(e, t, r, n) {
339
+ function ot(e, t, r, n) {
340
340
  if (e && e.o) {
341
- if (Ie.has(e))
341
+ if (Oe.has(e))
342
342
  return;
343
- Ie.add(e), X.c.push(() => {
344
- Ie.delete(e), n && (r && e.d(1), n());
343
+ Oe.add(e), W.c.push(() => {
344
+ Oe.delete(e), n && (r && e.d(1), n());
345
345
  }), e.o(t);
346
346
  } else
347
347
  n && n();
348
348
  }
349
349
  const Qn = { duration: 0 };
350
- function $t(e, t, r, n) {
350
+ function Ut(e, t, r, n) {
351
351
  let o = t(e, r, { direction: "both" }), s = n ? 0 : 1, a = null, u = null, l = null, h;
352
352
  function f() {
353
- l && $n(e, l);
353
+ l && Dn(e, l);
354
354
  }
355
355
  function c(m, b) {
356
356
  const w = (
@@ -371,16 +371,16 @@ function $t(e, t, r, n) {
371
371
  const {
372
372
  delay: b = 0,
373
373
  duration: w = 300,
374
- easing: O = Er,
375
- tick: P = $,
376
- css: H
377
- } = o || Qn, I = {
378
- start: Bn() + b,
374
+ easing: O = xr,
375
+ tick: I = D,
376
+ css: S
377
+ } = o || Qn, L = {
378
+ start: An() + b,
379
379
  b: m
380
380
  };
381
- m || (I.group = X, X.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
382
- e.inert, e.inert = !0)), a || u ? u = I : (H && (f(), l = Ft(e, s, m, w, b, O, H)), m && P(0, 1), a = c(I, w), he(() => Ye(e, m, "start")), Pn((y) => {
383
- if (u && y > u.start && (a = c(u, w), u = null, Ye(e, a.b, "start"), H && (f(), l = Ft(
381
+ m || (L.group = W, W.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
382
+ e.inert, e.inert = !0)), a || u ? u = L : (S && (f(), l = Rt(e, s, m, w, b, O, S)), m && I(0, 1), a = c(L, w), ce(() => Qe(e, m, "start")), Pn((y) => {
383
+ if (u && y > u.start && (a = c(u, w), u = null, Qe(e, a.b, "start"), S && (f(), l = Rt(
384
384
  e,
385
385
  s,
386
386
  a.b,
@@ -390,10 +390,10 @@ function $t(e, t, r, n) {
390
390
  o.css
391
391
  ))), a) {
392
392
  if (y >= a.end)
393
- P(s = a.b, 1 - s), Ye(e, a.b, "end"), u || (a.b ? f() : --a.group.r || Z(a.group.c)), a = null;
393
+ I(s = a.b, 1 - s), Qe(e, a.b, "end"), u || (a.b ? f() : --a.group.r || z(a.group.c)), a = null;
394
394
  else if (y >= a.start) {
395
395
  const M = y - a.start;
396
- s = a.a + a.d * O(M / a.duration), P(s, 1 - s);
396
+ s = a.a + a.d * O(M / a.duration), I(s, 1 - s);
397
397
  }
398
398
  }
399
399
  return !!(a || u);
@@ -401,7 +401,7 @@ function $t(e, t, r, n) {
401
401
  }
402
402
  return {
403
403
  run(m) {
404
- He(o) ? zn().then(() => {
404
+ Te(o) ? zn().then(() => {
405
405
  o = o({ direction: m ? "in" : "out" }), d(m);
406
406
  }) : d(m);
407
407
  },
@@ -413,27 +413,27 @@ function $t(e, t, r, n) {
413
413
  function Q(e) {
414
414
  return e?.length !== void 0 ? e : Array.from(e);
415
415
  }
416
- function ws(e, t) {
416
+ function Es(e, t) {
417
417
  e.d(1), t.delete(e.key);
418
418
  }
419
- function Ss(e, t, r, n, i, o, s, a, u, l, h, f) {
419
+ function ws(e, t, r, n, i, o, s, a, u, l, h, f) {
420
420
  let c = e.length, d = o.length, m = c;
421
421
  const b = {};
422
422
  for (; m--; )
423
423
  b[e[m].key] = m;
424
- const w = [], O = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), H = [];
424
+ const w = [], O = /* @__PURE__ */ new Map(), I = /* @__PURE__ */ new Map(), S = [];
425
425
  for (m = d; m--; ) {
426
426
  const _ = f(i, o, m), A = r(_);
427
427
  let v = s.get(A);
428
- v ? H.push(() => v.p(_, t)) : (v = l(A, _), v.c()), O.set(A, w[m] = v), A in b && P.set(A, Math.abs(m - b[A]));
428
+ v ? S.push(() => v.p(_, t)) : (v = l(A, _), v.c()), O.set(A, w[m] = v), A in b && I.set(A, Math.abs(m - b[A]));
429
429
  }
430
- const I = /* @__PURE__ */ new Set(), y = /* @__PURE__ */ new Set();
430
+ const L = /* @__PURE__ */ new Set(), y = /* @__PURE__ */ new Set();
431
431
  function M(_) {
432
432
  le(_, 1), _.m(a, h), s.set(_.key, _), h = _.first, d--;
433
433
  }
434
434
  for (; c && d; ) {
435
- const _ = w[d - 1], A = e[c - 1], v = _.key, L = A.key;
436
- _ === A ? (h = _.first, c--, d--) : O.has(L) ? !s.has(v) || I.has(v) ? M(_) : y.has(L) ? c-- : P.get(v) > P.get(L) ? (y.add(v), M(_)) : (I.add(L), c--) : (u(A, s), c--);
435
+ const _ = w[d - 1], A = e[c - 1], v = _.key, C = A.key;
436
+ _ === A ? (h = _.first, c--, d--) : O.has(C) ? !s.has(v) || L.has(v) ? M(_) : y.has(C) ? c-- : I.get(v) > I.get(C) ? (y.add(v), M(_)) : (L.add(C), c--) : (u(A, s), c--);
437
437
  }
438
438
  for (; c--; ) {
439
439
  const _ = e[c];
@@ -441,33 +441,33 @@ function Ss(e, t, r, n, i, o, s, a, u, l, h, f) {
441
441
  }
442
442
  for (; d; )
443
443
  M(w[d - 1]);
444
- return Z(H), w;
444
+ return z(S), w;
445
445
  }
446
446
  function Jn(e, t, r) {
447
447
  const { fragment: n, after_update: i } = e.$$;
448
- n && n.m(t, r), he(() => {
449
- const o = e.$$.on_mount.map(wr).filter(He);
450
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Z(o), e.$$.on_mount = [];
451
- }), i.forEach(he);
448
+ n && n.m(t, r), ce(() => {
449
+ const o = e.$$.on_mount.map(Er).filter(Te);
450
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : z(o), e.$$.on_mount = [];
451
+ }), i.forEach(ce);
452
452
  }
453
453
  function Yn(e, t) {
454
454
  const r = e.$$;
455
- r.fragment !== null && (Xn(r.after_update), Z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
455
+ r.fragment !== null && (Xn(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
456
456
  }
457
457
  function Kn(e, t) {
458
458
  e.$$.dirty[0] === -1 && (se.push(e), Vn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
459
459
  }
460
460
  function ei(e, t, r, n, i, o, s = null, a = [-1]) {
461
- const u = Ee;
462
- xe(e);
461
+ const u = we;
462
+ Ee(e);
463
463
  const l = e.$$ = {
464
464
  fragment: null,
465
465
  ctx: [],
466
466
  // state
467
467
  props: o,
468
- update: $,
468
+ update: D,
469
469
  not_equal: i,
470
- bound: Ct(),
470
+ bound: Lt(),
471
471
  // lifecycle
472
472
  on_mount: [],
473
473
  on_destroy: [],
@@ -476,7 +476,7 @@ function ei(e, t, r, n, i, o, s = null, a = [-1]) {
476
476
  after_update: [],
477
477
  context: new Map(t.context || (u ? u.$$.context : [])),
478
478
  // everything else
479
- callbacks: Ct(),
479
+ callbacks: Lt(),
480
480
  dirty: a,
481
481
  skip_bound: !1,
482
482
  root: t.target || u.$$.root
@@ -486,7 +486,7 @@ function ei(e, t, r, n, i, o, s = null, a = [-1]) {
486
486
  if (l.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
487
487
  const m = d.length ? d[0] : c;
488
488
  return l.ctx && i(l.ctx[f], l.ctx[f] = m) && (!l.skip_bound && l.bound[f] && l.bound[f](m), h && Kn(e, f)), c;
489
- }) : [], l.update(), h = !0, Z(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
489
+ }) : [], l.update(), h = !0, z(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
490
490
  if (t.hydrate) {
491
491
  const f = Ln(t.target);
492
492
  l.fragment && l.fragment.l(f), f.forEach(U);
@@ -494,10 +494,10 @@ function ei(e, t, r, n, i, o, s = null, a = [-1]) {
494
494
  l.fragment && l.fragment.c();
495
495
  t.intro && le(e.$$.fragment), Jn(e, t.target, t.anchor), G();
496
496
  }
497
- xe(u);
497
+ Ee(u);
498
498
  }
499
- let Pr;
500
- typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
499
+ let Ar;
500
+ typeof HTMLElement == "function" && (Ar = class extends HTMLElement {
501
501
  /** The Svelte component constructor */
502
502
  $$ctor;
503
503
  /** Slots */
@@ -539,7 +539,7 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
539
539
  let o;
540
540
  return {
541
541
  c: function() {
542
- o = B("slot"), i !== "default" && g(o, "name", i);
542
+ o = P("slot"), i !== "default" && g(o, "name", i);
543
543
  },
544
544
  /**
545
545
  * @param {HTMLElement} target
@@ -644,7 +644,7 @@ function Le(e, t, r, n) {
644
644
  }
645
645
  }
646
646
  function ti(e, t, r, n, i, o) {
647
- let s = class extends Pr {
647
+ let s = class extends Ar {
648
648
  constructor() {
649
649
  super(e, r, i), this.$$p_d = t;
650
650
  }
@@ -691,7 +691,7 @@ class ri {
691
691
  $$set = void 0;
692
692
  /** @returns {void} */
693
693
  $destroy() {
694
- Yn(this, 1), this.$destroy = $;
694
+ Yn(this, 1), this.$destroy = D;
695
695
  }
696
696
  /**
697
697
  * @template {Extract<keyof Events, string>} K
@@ -700,8 +700,8 @@ class ri {
700
700
  * @returns {() => void}
701
701
  */
702
702
  $on(t, r) {
703
- if (!He(r))
704
- return $;
703
+ if (!Te(r))
704
+ return D;
705
705
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
706
706
  return n.push(r), () => {
707
707
  const i = n.indexOf(r);
@@ -732,24 +732,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
732
732
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
733
733
  PERFORMANCE OF THIS SOFTWARE.
734
734
  ***************************************************************************** */
735
- var ut = function(e, t) {
736
- return ut = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
735
+ var st = function(e, t) {
736
+ return st = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
737
737
  r.__proto__ = n;
738
738
  } || function(r, n) {
739
739
  for (var i in n)
740
740
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
741
- }, ut(e, t);
741
+ }, st(e, t);
742
742
  };
743
- function Te(e, t) {
743
+ function Z(e, t) {
744
744
  if (typeof t != "function" && t !== null)
745
745
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
746
- ut(e, t);
746
+ st(e, t);
747
747
  function r() {
748
748
  this.constructor = e;
749
749
  }
750
750
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
751
751
  }
752
- function lt(e) {
752
+ var B = function() {
753
+ return B = Object.assign || function(t) {
754
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
755
+ r = arguments[n];
756
+ for (var o in r)
757
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
758
+ }
759
+ return t;
760
+ }, B.apply(this, arguments);
761
+ };
762
+ function ii(e, t) {
763
+ var r = {};
764
+ for (var n in e)
765
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
766
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
767
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
768
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
769
+ return r;
770
+ }
771
+ function at(e) {
753
772
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
754
773
  if (r)
755
774
  return r.call(e);
@@ -761,7 +780,7 @@ function lt(e) {
761
780
  };
762
781
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
763
782
  }
764
- function ht(e, t) {
783
+ function ut(e, t) {
765
784
  var r = typeof Symbol == "function" && e[Symbol.iterator];
766
785
  if (!r)
767
786
  return e;
@@ -781,22 +800,22 @@ function ht(e, t) {
781
800
  }
782
801
  return o;
783
802
  }
784
- function ct(e, t, r) {
785
- if (arguments.length === 2)
803
+ function he(e, t, r) {
804
+ if (r || arguments.length === 2)
786
805
  for (var n = 0, i = t.length, o; n < i; n++)
787
806
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
788
807
  return e.concat(o || t);
789
808
  }
790
- function z(e) {
809
+ function X(e) {
791
810
  return typeof e == "function";
792
811
  }
793
- function Or(e) {
812
+ function Pr(e) {
794
813
  var t = function(n) {
795
814
  Error.call(n), n.stack = new Error().stack;
796
815
  }, r = e(t);
797
816
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
798
817
  }
799
- var Ke = Or(function(e) {
818
+ var Je = Pr(function(e) {
800
819
  return function(r) {
801
820
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
802
821
  ` + r.map(function(n, i) {
@@ -805,13 +824,13 @@ var Ke = Or(function(e) {
805
824
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
806
825
  };
807
826
  });
808
- function ft(e, t) {
827
+ function lt(e, t) {
809
828
  if (e) {
810
829
  var r = e.indexOf(t);
811
830
  0 <= r && e.splice(r, 1);
812
831
  }
813
832
  }
814
- var Ve = function() {
833
+ var je = function() {
815
834
  function e(t) {
816
835
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
817
836
  }
@@ -823,7 +842,7 @@ var Ve = function() {
823
842
  if (s)
824
843
  if (this._parentage = null, Array.isArray(s))
825
844
  try {
826
- for (var a = lt(s), u = a.next(); !u.done; u = a.next()) {
845
+ for (var a = at(s), u = a.next(); !u.done; u = a.next()) {
827
846
  var l = u.value;
828
847
  l.remove(this);
829
848
  }
@@ -840,22 +859,22 @@ var Ve = function() {
840
859
  else
841
860
  s.remove(this);
842
861
  var h = this.initialTeardown;
843
- if (z(h))
862
+ if (X(h))
844
863
  try {
845
864
  h();
846
865
  } catch (b) {
847
- o = b instanceof Ke ? b.errors : [b];
866
+ o = b instanceof Je ? b.errors : [b];
848
867
  }
849
868
  var f = this._finalizers;
850
869
  if (f) {
851
870
  this._finalizers = null;
852
871
  try {
853
- for (var c = lt(f), d = c.next(); !d.done; d = c.next()) {
872
+ for (var c = at(f), d = c.next(); !d.done; d = c.next()) {
854
873
  var m = d.value;
855
874
  try {
856
875
  Dt(m);
857
876
  } catch (b) {
858
- o = o ?? [], b instanceof Ke ? o = ct(ct([], ht(o)), ht(b.errors)) : o.push(b);
877
+ o = o ?? [], b instanceof Je ? o = he(he([], ut(o)), ut(b.errors)) : o.push(b);
859
878
  }
860
879
  }
861
880
  } catch (b) {
@@ -870,7 +889,7 @@ var Ve = function() {
870
889
  }
871
890
  }
872
891
  if (o)
873
- throw new Ke(o);
892
+ throw new Je(o);
874
893
  }
875
894
  }, e.prototype.add = function(t) {
876
895
  var r;
@@ -893,28 +912,32 @@ var Ve = function() {
893
912
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
894
913
  }, e.prototype._removeParent = function(t) {
895
914
  var r = this._parentage;
896
- r === t ? this._parentage = null : Array.isArray(r) && ft(r, t);
915
+ r === t ? this._parentage = null : Array.isArray(r) && lt(r, t);
897
916
  }, e.prototype.remove = function(t) {
898
917
  var r = this._finalizers;
899
- r && ft(r, t), t instanceof e && t._removeParent(this);
918
+ r && lt(r, t), t instanceof e && t._removeParent(this);
900
919
  }, e.EMPTY = function() {
901
920
  var t = new e();
902
921
  return t.closed = !0, t;
903
922
  }(), e;
904
- }(), Ir = Ve.EMPTY;
905
- function Lr(e) {
906
- return e instanceof Ve || e && "closed" in e && z(e.remove) && z(e.add) && z(e.unsubscribe);
923
+ }(), Ir = je.EMPTY;
924
+ function Or(e) {
925
+ return e instanceof je || e && "closed" in e && X(e.remove) && X(e.add) && X(e.unsubscribe);
907
926
  }
908
927
  function Dt(e) {
909
- z(e) ? e() : e.unsubscribe();
910
- }
911
- var ii = {
912
- Promise: void 0
928
+ X(e) ? e() : e.unsubscribe();
929
+ }
930
+ var Lr = {
931
+ onUnhandledError: null,
932
+ onStoppedNotification: null,
933
+ Promise: void 0,
934
+ useDeprecatedSynchronousErrorHandling: !1,
935
+ useDeprecatedNextContext: !1
913
936
  }, oi = {
914
937
  setTimeout: function(e, t) {
915
938
  for (var r = [], n = 2; n < arguments.length; n++)
916
939
  r[n - 2] = arguments[n];
917
- return setTimeout.apply(void 0, ct([e, t], ht(r)));
940
+ return setTimeout.apply(void 0, he([e, t], ut(r)));
918
941
  },
919
942
  clearTimeout: function(e) {
920
943
  return clearTimeout(e);
@@ -926,19 +949,19 @@ function si(e) {
926
949
  throw e;
927
950
  });
928
951
  }
929
- function Gt() {
952
+ function $t() {
930
953
  }
931
954
  function Ce(e) {
932
955
  e();
933
956
  }
934
957
  var Cr = function(e) {
935
- Te(t, e);
958
+ Z(t, e);
936
959
  function t(r) {
937
960
  var n = e.call(this) || this;
938
- return n.isStopped = !1, r ? (n.destination = r, Lr(r) && r.add(n)) : n.destination = li, n;
961
+ return n.isStopped = !1, r ? (n.destination = r, Or(r) && r.add(n)) : n.destination = hi, n;
939
962
  }
940
963
  return t.create = function(r, n, i) {
941
- return new mt(r, n, i);
964
+ return new ht(r, n, i);
942
965
  }, t.prototype.next = function(r) {
943
966
  this.isStopped || this._next(r);
944
967
  }, t.prototype.error = function(r) {
@@ -962,7 +985,11 @@ var Cr = function(e) {
962
985
  this.unsubscribe();
963
986
  }
964
987
  }, t;
965
- }(Ve), ai = function() {
988
+ }(je), ai = Function.prototype.bind;
989
+ function Ye(e, t) {
990
+ return ai.call(e, t);
991
+ }
992
+ var ui = function() {
966
993
  function e(t) {
967
994
  this.partialObserver = t;
968
995
  }
@@ -993,43 +1020,55 @@ var Cr = function(e) {
993
1020
  Pe(r);
994
1021
  }
995
1022
  }, e;
996
- }(), mt = function(e) {
997
- Te(t, e);
1023
+ }(), ht = function(e) {
1024
+ Z(t, e);
998
1025
  function t(r, n, i) {
999
1026
  var o = e.call(this) || this, s;
1000
- return z(r) || !r ? s = {
1001
- next: r ?? void 0,
1002
- error: n ?? void 0,
1003
- complete: i ?? void 0
1004
- } : s = r, o.destination = new ai(s), o;
1027
+ if (X(r) || !r)
1028
+ s = {
1029
+ next: r ?? void 0,
1030
+ error: n ?? void 0,
1031
+ complete: i ?? void 0
1032
+ };
1033
+ else {
1034
+ var a;
1035
+ o && Lr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
1036
+ return o.unsubscribe();
1037
+ }, s = {
1038
+ next: r.next && Ye(r.next, a),
1039
+ error: r.error && Ye(r.error, a),
1040
+ complete: r.complete && Ye(r.complete, a)
1041
+ }) : s = r;
1042
+ }
1043
+ return o.destination = new ui(s), o;
1005
1044
  }
1006
1045
  return t;
1007
1046
  }(Cr);
1008
1047
  function Pe(e) {
1009
1048
  si(e);
1010
1049
  }
1011
- function ui(e) {
1050
+ function li(e) {
1012
1051
  throw e;
1013
1052
  }
1014
- var li = {
1053
+ var hi = {
1015
1054
  closed: !0,
1016
- next: Gt,
1017
- error: ui,
1018
- complete: Gt
1019
- }, hi = function() {
1055
+ next: $t,
1056
+ error: li,
1057
+ complete: $t
1058
+ }, ci = function() {
1020
1059
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1021
1060
  }();
1022
- function ci(e) {
1061
+ function fi(e) {
1023
1062
  return e;
1024
1063
  }
1025
- function fi(e) {
1026
- return e.length === 0 ? ci : e.length === 1 ? e[0] : function(r) {
1064
+ function mi(e) {
1065
+ return e.length === 0 ? fi : e.length === 1 ? e[0] : function(r) {
1027
1066
  return e.reduce(function(n, i) {
1028
1067
  return i(n);
1029
1068
  }, r);
1030
1069
  };
1031
1070
  }
1032
- var kt = function() {
1071
+ var Gt = function() {
1033
1072
  function e(t) {
1034
1073
  t && (this._subscribe = t);
1035
1074
  }
@@ -1037,7 +1076,7 @@ var kt = function() {
1037
1076
  var r = new e();
1038
1077
  return r.source = this, r.operator = t, r;
1039
1078
  }, e.prototype.subscribe = function(t, r, n) {
1040
- var i = this, o = di(t) ? t : new mt(t, r, n);
1079
+ var i = this, o = pi(t) ? t : new ht(t, r, n);
1041
1080
  return Ce(function() {
1042
1081
  var s = i, a = s.operator, u = s.source;
1043
1082
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
@@ -1050,8 +1089,8 @@ var kt = function() {
1050
1089
  }
1051
1090
  }, e.prototype.forEach = function(t, r) {
1052
1091
  var n = this;
1053
- return r = jt(r), new r(function(i, o) {
1054
- var s = new mt({
1092
+ return r = kt(r), new r(function(i, o) {
1093
+ var s = new ht({
1055
1094
  next: function(a) {
1056
1095
  try {
1057
1096
  t(a);
@@ -1067,15 +1106,15 @@ var kt = function() {
1067
1106
  }, e.prototype._subscribe = function(t) {
1068
1107
  var r;
1069
1108
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1070
- }, e.prototype[hi] = function() {
1109
+ }, e.prototype[ci] = function() {
1071
1110
  return this;
1072
1111
  }, e.prototype.pipe = function() {
1073
1112
  for (var t = [], r = 0; r < arguments.length; r++)
1074
1113
  t[r] = arguments[r];
1075
- return fi(t)(this);
1114
+ return mi(t)(this);
1076
1115
  }, e.prototype.toPromise = function(t) {
1077
1116
  var r = this;
1078
- return t = jt(t), new t(function(n, i) {
1117
+ return t = kt(t), new t(function(n, i) {
1079
1118
  var o;
1080
1119
  r.subscribe(function(s) {
1081
1120
  return o = s;
@@ -1089,32 +1128,32 @@ var kt = function() {
1089
1128
  return new e(t);
1090
1129
  }, e;
1091
1130
  }();
1092
- function jt(e) {
1131
+ function kt(e) {
1093
1132
  var t;
1094
- return (t = e ?? ii.Promise) !== null && t !== void 0 ? t : Promise;
1095
- }
1096
- function mi(e) {
1097
- return e && z(e.next) && z(e.error) && z(e.complete);
1133
+ return (t = e ?? Lr.Promise) !== null && t !== void 0 ? t : Promise;
1098
1134
  }
1099
1135
  function di(e) {
1100
- return e && e instanceof Cr || mi(e) && Lr(e);
1136
+ return e && X(e.next) && X(e.error) && X(e.complete);
1101
1137
  }
1102
- var pi = Or(function(e) {
1138
+ function pi(e) {
1139
+ return e && e instanceof Cr || di(e) && Or(e);
1140
+ }
1141
+ var gi = Pr(function(e) {
1103
1142
  return function() {
1104
1143
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1105
1144
  };
1106
1145
  }), Nr = function(e) {
1107
- Te(t, e);
1146
+ Z(t, e);
1108
1147
  function t() {
1109
1148
  var r = e.call(this) || this;
1110
1149
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1111
1150
  }
1112
1151
  return t.prototype.lift = function(r) {
1113
- var n = new Vt(this, this);
1152
+ var n = new jt(this, this);
1114
1153
  return n.operator = r, n;
1115
1154
  }, t.prototype._throwIfClosed = function() {
1116
1155
  if (this.closed)
1117
- throw new pi();
1156
+ throw new gi();
1118
1157
  }, t.prototype.next = function(r) {
1119
1158
  var n = this;
1120
1159
  Ce(function() {
@@ -1122,7 +1161,7 @@ var pi = Or(function(e) {
1122
1161
  if (n._throwIfClosed(), !n.isStopped) {
1123
1162
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1124
1163
  try {
1125
- for (var s = lt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1164
+ for (var s = at(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1126
1165
  var u = a.value;
1127
1166
  u.next(r);
1128
1167
  }
@@ -1171,20 +1210,20 @@ var pi = Or(function(e) {
1171
1210
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1172
1211
  }, t.prototype._innerSubscribe = function(r) {
1173
1212
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1174
- return o || s ? Ir : (this.currentObservers = null, a.push(r), new Ve(function() {
1175
- n.currentObservers = null, ft(a, r);
1213
+ return o || s ? Ir : (this.currentObservers = null, a.push(r), new je(function() {
1214
+ n.currentObservers = null, lt(a, r);
1176
1215
  }));
1177
1216
  }, t.prototype._checkFinalizedStatuses = function(r) {
1178
1217
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1179
1218
  i ? r.error(o) : s && r.complete();
1180
1219
  }, t.prototype.asObservable = function() {
1181
- var r = new kt();
1220
+ var r = new Gt();
1182
1221
  return r.source = this, r;
1183
1222
  }, t.create = function(r, n) {
1184
- return new Vt(r, n);
1223
+ return new jt(r, n);
1185
1224
  }, t;
1186
- }(kt), Vt = function(e) {
1187
- Te(t, e);
1225
+ }(Gt), jt = function(e) {
1226
+ Z(t, e);
1188
1227
  function t(r, n) {
1189
1228
  var i = e.call(this) || this;
1190
1229
  return i.destination = r, i.source = n, i;
@@ -1207,8 +1246,8 @@ var pi = Or(function(e) {
1207
1246
  return (Rr.delegate || Date).now();
1208
1247
  },
1209
1248
  delegate: void 0
1210
- }, gi = function(e) {
1211
- Te(t, e);
1249
+ }, bi = function(e) {
1250
+ Z(t, e);
1212
1251
  function t(r, n, i) {
1213
1252
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Rr);
1214
1253
  var o = e.call(this) || this;
@@ -1231,23 +1270,23 @@ var pi = Or(function(e) {
1231
1270
  }
1232
1271
  }, t;
1233
1272
  }(Nr);
1234
- const Wt = [], Xt = {}, bi = (e, t = 0) => {
1235
- if (Wt.indexOf(e) == -1) {
1236
- const r = new gi(t);
1237
- Xt[e] = r, Wt.push(e);
1273
+ const Vt = [], Wt = {}, yi = (e, t = 0) => {
1274
+ if (Vt.indexOf(e) == -1) {
1275
+ const r = new bi(t);
1276
+ Wt[e] = r, Vt.push(e);
1238
1277
  }
1239
- return Xt[e];
1278
+ return Wt[e];
1240
1279
  }, oe = [];
1241
- function yi(e, t) {
1280
+ function _i(e, t) {
1242
1281
  return {
1243
- subscribe: We(e, t).subscribe
1282
+ subscribe: Ve(e, t).subscribe
1244
1283
  };
1245
1284
  }
1246
- function We(e, t = $) {
1285
+ function Ve(e, t = D) {
1247
1286
  let r;
1248
1287
  const n = /* @__PURE__ */ new Set();
1249
1288
  function i(a) {
1250
- if (Sr(e, a) && (e = a, r)) {
1289
+ if (wr(e, a) && (e = a, r)) {
1251
1290
  const u = !oe.length;
1252
1291
  for (const l of n)
1253
1292
  l[1](), oe.push(l, e);
@@ -1261,29 +1300,29 @@ function We(e, t = $) {
1261
1300
  function o(a) {
1262
1301
  i(a(e));
1263
1302
  }
1264
- function s(a, u = $) {
1303
+ function s(a, u = D) {
1265
1304
  const l = [a, u];
1266
- return n.add(l), n.size === 1 && (r = t(i, o) || $), a(e), () => {
1305
+ return n.add(l), n.size === 1 && (r = t(i, o) || D), a(e), () => {
1267
1306
  n.delete(l), n.size === 0 && r && (r(), r = null);
1268
1307
  };
1269
1308
  }
1270
1309
  return { set: i, update: o, subscribe: s };
1271
1310
  }
1272
- function ge(e, t, r) {
1311
+ function be(e, t, r) {
1273
1312
  const n = !Array.isArray(e), i = n ? [e] : e;
1274
1313
  if (!i.every(Boolean))
1275
1314
  throw new Error("derived() expects stores as input, got a falsy value");
1276
1315
  const o = t.length < 2;
1277
- return yi(r, (s, a) => {
1316
+ return _i(r, (s, a) => {
1278
1317
  let u = !1;
1279
1318
  const l = [];
1280
- let h = 0, f = $;
1319
+ let h = 0, f = D;
1281
1320
  const c = () => {
1282
1321
  if (h)
1283
1322
  return;
1284
1323
  f();
1285
1324
  const m = t(n ? l[0] : l, s, a);
1286
- o ? s(m) : f = He(m) ? m : $;
1325
+ o ? s(m) : f = Te(m) ? m : D;
1287
1326
  }, d = i.map(
1288
1327
  (m, b) => Hr(
1289
1328
  m,
@@ -1296,52 +1335,52 @@ function ge(e, t, r) {
1296
1335
  )
1297
1336
  );
1298
1337
  return u = !0, c(), function() {
1299
- Z(d), f(), u = !1;
1338
+ z(d), f(), u = !1;
1300
1339
  };
1301
1340
  });
1302
1341
  }
1303
1342
  var Hs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1304
- function _i(e) {
1343
+ function vi(e) {
1305
1344
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1306
1345
  }
1307
- var vi = function(t) {
1308
- return xi(t) && !Ei(t);
1346
+ var xi = function(t) {
1347
+ return Ei(t) && !wi(t);
1309
1348
  };
1310
- function xi(e) {
1349
+ function Ei(e) {
1311
1350
  return !!e && typeof e == "object";
1312
1351
  }
1313
- function Ei(e) {
1352
+ function wi(e) {
1314
1353
  var t = Object.prototype.toString.call(e);
1315
- return t === "[object RegExp]" || t === "[object Date]" || Hi(e);
1354
+ return t === "[object RegExp]" || t === "[object Date]" || Ti(e);
1316
1355
  }
1317
- var wi = typeof Symbol == "function" && Symbol.for, Si = wi ? Symbol.for("react.element") : 60103;
1318
- function Hi(e) {
1356
+ var Hi = typeof Symbol == "function" && Symbol.for, Si = Hi ? Symbol.for("react.element") : 60103;
1357
+ function Ti(e) {
1319
1358
  return e.$$typeof === Si;
1320
1359
  }
1321
- function Ti(e) {
1360
+ function Mi(e) {
1322
1361
  return Array.isArray(e) ? [] : {};
1323
1362
  }
1324
- function we(e, t) {
1325
- return t.clone !== !1 && t.isMergeableObject(e) ? ce(Ti(e), e, t) : e;
1363
+ function He(e, t) {
1364
+ return t.clone !== !1 && t.isMergeableObject(e) ? fe(Mi(e), e, t) : e;
1326
1365
  }
1327
- function Mi(e, t, r) {
1366
+ function Bi(e, t, r) {
1328
1367
  return e.concat(t).map(function(n) {
1329
- return we(n, r);
1368
+ return He(n, r);
1330
1369
  });
1331
1370
  }
1332
1371
  function Ai(e, t) {
1333
1372
  if (!t.customMerge)
1334
- return ce;
1373
+ return fe;
1335
1374
  var r = t.customMerge(e);
1336
- return typeof r == "function" ? r : ce;
1375
+ return typeof r == "function" ? r : fe;
1337
1376
  }
1338
- function Bi(e) {
1377
+ function Pi(e) {
1339
1378
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1340
1379
  return Object.propertyIsEnumerable.call(e, t);
1341
1380
  }) : [];
1342
1381
  }
1343
- function zt(e) {
1344
- return Object.keys(e).concat(Bi(e));
1382
+ function Xt(e) {
1383
+ return Object.keys(e).concat(Pi(e));
1345
1384
  }
1346
1385
  function Fr(e, t) {
1347
1386
  try {
@@ -1350,75 +1389,33 @@ function Fr(e, t) {
1350
1389
  return !1;
1351
1390
  }
1352
1391
  }
1353
- function Pi(e, t) {
1392
+ function Ii(e, t) {
1354
1393
  return Fr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1355
1394
  }
1356
1395
  function Oi(e, t, r) {
1357
1396
  var n = {};
1358
- return r.isMergeableObject(e) && zt(e).forEach(function(i) {
1359
- n[i] = we(e[i], r);
1360
- }), zt(t).forEach(function(i) {
1361
- Pi(e, i) || (Fr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ai(i, r)(e[i], t[i], r) : n[i] = we(t[i], r));
1397
+ return r.isMergeableObject(e) && Xt(e).forEach(function(i) {
1398
+ n[i] = He(e[i], r);
1399
+ }), Xt(t).forEach(function(i) {
1400
+ Ii(e, i) || (Fr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ai(i, r)(e[i], t[i], r) : n[i] = He(t[i], r));
1362
1401
  }), n;
1363
1402
  }
1364
- function ce(e, t, r) {
1365
- r = r || {}, r.arrayMerge = r.arrayMerge || Mi, r.isMergeableObject = r.isMergeableObject || vi, r.cloneUnlessOtherwiseSpecified = we;
1403
+ function fe(e, t, r) {
1404
+ r = r || {}, r.arrayMerge = r.arrayMerge || Bi, r.isMergeableObject = r.isMergeableObject || xi, r.cloneUnlessOtherwiseSpecified = He;
1366
1405
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1367
- return o ? n ? r.arrayMerge(e, t, r) : Oi(e, t, r) : we(t, r);
1406
+ return o ? n ? r.arrayMerge(e, t, r) : Oi(e, t, r) : He(t, r);
1368
1407
  }
1369
- ce.all = function(t, r) {
1408
+ fe.all = function(t, r) {
1370
1409
  if (!Array.isArray(t))
1371
1410
  throw new Error("first argument should be an array");
1372
1411
  return t.reduce(function(n, i) {
1373
- return ce(n, i, r);
1412
+ return fe(n, i, r);
1374
1413
  }, {});
1375
1414
  };
1376
- var Ii = ce, Li = Ii;
1377
- const Ci = /* @__PURE__ */ _i(Li);
1378
- var dt = function(e, t) {
1379
- return dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1380
- r.__proto__ = n;
1381
- } || function(r, n) {
1382
- for (var i in n)
1383
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1384
- }, dt(e, t);
1385
- };
1386
- function Xe(e, t) {
1387
- if (typeof t != "function" && t !== null)
1388
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1389
- dt(e, t);
1390
- function r() {
1391
- this.constructor = e;
1392
- }
1393
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1394
- }
1395
- var V = function() {
1396
- return V = Object.assign || function(t) {
1397
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1398
- r = arguments[n];
1399
- for (var o in r)
1400
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1401
- }
1402
- return t;
1403
- }, V.apply(this, arguments);
1404
- };
1405
- function Ni(e, t) {
1406
- var r = {};
1407
- for (var n in e)
1408
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1409
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1410
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1411
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1412
- return r;
1413
- }
1414
- function et(e, t, r) {
1415
- if (r || arguments.length === 2)
1416
- for (var n = 0, i = t.length, o; n < i; n++)
1417
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1418
- return e.concat(o || Array.prototype.slice.call(t));
1419
- }
1420
- function tt(e, t) {
1421
- var r = t && t.cache ? t.cache : ki, n = t && t.serializer ? t.serializer : Di, i = t && t.strategy ? t.strategy : Ui;
1415
+ var Li = fe, Ci = Li;
1416
+ const Ni = /* @__PURE__ */ vi(Ci);
1417
+ function Ke(e, t) {
1418
+ var r = t && t.cache ? t.cache : Gi, n = t && t.serializer ? t.serializer : $i, i = t && t.strategy ? t.strategy : Fi;
1422
1419
  return i(e, {
1423
1420
  cache: r,
1424
1421
  serializer: n
@@ -1427,103 +1424,95 @@ function tt(e, t) {
1427
1424
  function Ri(e) {
1428
1425
  return e == null || typeof e == "number" || typeof e == "boolean";
1429
1426
  }
1430
- function Fi(e, t, r, n) {
1427
+ function Ur(e, t, r, n) {
1431
1428
  var i = Ri(n) ? n : r(n), o = t.get(i);
1432
1429
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1433
1430
  }
1434
- function Ur(e, t, r) {
1431
+ function Dr(e, t, r) {
1435
1432
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1436
1433
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1437
1434
  }
1438
- function $r(e, t, r, n, i) {
1435
+ function xt(e, t, r, n, i) {
1439
1436
  return r.bind(t, e, n, i);
1440
1437
  }
1438
+ function Fi(e, t) {
1439
+ var r = e.length === 1 ? Ur : Dr;
1440
+ return xt(e, this, r, t.cache.create(), t.serializer);
1441
+ }
1441
1442
  function Ui(e, t) {
1442
- var r = e.length === 1 ? Fi : Ur;
1443
- return $r(e, this, r, t.cache.create(), t.serializer);
1443
+ return xt(e, this, Dr, t.cache.create(), t.serializer);
1444
1444
  }
1445
- function $i(e, t) {
1446
- return $r(e, this, Ur, t.cache.create(), t.serializer);
1445
+ function Di(e, t) {
1446
+ return xt(e, this, Ur, t.cache.create(), t.serializer);
1447
1447
  }
1448
- var Di = function() {
1448
+ var $i = function() {
1449
1449
  return JSON.stringify(arguments);
1450
- }, Gi = (
1451
- /** @class */
1452
- function() {
1453
- function e() {
1454
- this.cache = /* @__PURE__ */ Object.create(null);
1455
- }
1456
- return e.prototype.get = function(t) {
1457
- return this.cache[t];
1458
- }, e.prototype.set = function(t, r) {
1459
- this.cache[t] = r;
1460
- }, e;
1461
- }()
1462
- ), ki = {
1450
+ };
1451
+ function Et() {
1452
+ this.cache = /* @__PURE__ */ Object.create(null);
1453
+ }
1454
+ Et.prototype.get = function(e) {
1455
+ return this.cache[e];
1456
+ };
1457
+ Et.prototype.set = function(e, t) {
1458
+ this.cache[e] = t;
1459
+ };
1460
+ var Gi = {
1463
1461
  create: function() {
1464
- return new Gi();
1462
+ return new Et();
1465
1463
  }
1466
- }, rt = {
1467
- variadic: $i
1468
- }, Ge = function() {
1469
- return Ge = Object.assign || function(t) {
1470
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1471
- r = arguments[n];
1472
- for (var o in r)
1473
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1474
- }
1475
- return t;
1476
- }, Ge.apply(this, arguments);
1477
- };
1478
- var S;
1464
+ }, et = {
1465
+ variadic: Ui,
1466
+ monadic: Di
1467
+ }, H;
1479
1468
  (function(e) {
1480
1469
  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";
1481
- })(S || (S = {}));
1482
- var C;
1470
+ })(H || (H = {}));
1471
+ var N;
1483
1472
  (function(e) {
1484
1473
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1485
- })(C || (C = {}));
1486
- var fe;
1474
+ })(N || (N = {}));
1475
+ var me;
1487
1476
  (function(e) {
1488
1477
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1489
- })(fe || (fe = {}));
1490
- function Zt(e) {
1491
- return e.type === C.literal;
1478
+ })(me || (me = {}));
1479
+ function zt(e) {
1480
+ return e.type === N.literal;
1492
1481
  }
1493
- function ji(e) {
1494
- return e.type === C.argument;
1482
+ function ki(e) {
1483
+ return e.type === N.argument;
1495
1484
  }
1496
- function Dr(e) {
1497
- return e.type === C.number;
1485
+ function $r(e) {
1486
+ return e.type === N.number;
1498
1487
  }
1499
1488
  function Gr(e) {
1500
- return e.type === C.date;
1489
+ return e.type === N.date;
1501
1490
  }
1502
1491
  function kr(e) {
1503
- return e.type === C.time;
1492
+ return e.type === N.time;
1504
1493
  }
1505
1494
  function jr(e) {
1506
- return e.type === C.select;
1495
+ return e.type === N.select;
1507
1496
  }
1508
1497
  function Vr(e) {
1509
- return e.type === C.plural;
1498
+ return e.type === N.plural;
1510
1499
  }
1511
- function Vi(e) {
1512
- return e.type === C.pound;
1500
+ function ji(e) {
1501
+ return e.type === N.pound;
1513
1502
  }
1514
1503
  function Wr(e) {
1515
- return e.type === C.tag;
1504
+ return e.type === N.tag;
1516
1505
  }
1517
1506
  function Xr(e) {
1518
- return !!(e && typeof e == "object" && e.type === fe.number);
1507
+ return !!(e && typeof e == "object" && e.type === me.number);
1519
1508
  }
1520
- function pt(e) {
1521
- return !!(e && typeof e == "object" && e.type === fe.dateTime);
1509
+ function ct(e) {
1510
+ return !!(e && typeof e == "object" && e.type === me.dateTime);
1522
1511
  }
1523
- var zr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wi = /(?:[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;
1524
- function Xi(e) {
1512
+ var zr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Vi = /(?:[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;
1513
+ function Wi(e) {
1525
1514
  var t = {};
1526
- return e.replace(Wi, function(r) {
1515
+ return e.replace(Vi, function(r) {
1527
1516
  var n = r.length;
1528
1517
  switch (r[0]) {
1529
1518
  case "G":
@@ -1612,21 +1601,11 @@ function Xi(e) {
1612
1601
  return "";
1613
1602
  }), t;
1614
1603
  }
1615
- var R = function() {
1616
- return R = Object.assign || function(t) {
1617
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1618
- r = arguments[n];
1619
- for (var o in r)
1620
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1621
- }
1622
- return t;
1623
- }, R.apply(this, arguments);
1624
- };
1625
- var zi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1626
- function Zi(e) {
1604
+ var Xi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1605
+ function zi(e) {
1627
1606
  if (e.length === 0)
1628
1607
  throw new Error("Number skeleton cannot be empty");
1629
- for (var t = e.split(zi).filter(function(c) {
1608
+ for (var t = e.split(Xi).filter(function(c) {
1630
1609
  return c.length > 0;
1631
1610
  }), r = [], n = 0, i = t; n < i.length; n++) {
1632
1611
  var o = i[n], s = o.split("/");
@@ -1641,11 +1620,11 @@ function Zi(e) {
1641
1620
  }
1642
1621
  return r;
1643
1622
  }
1644
- function qi(e) {
1623
+ function Zi(e) {
1645
1624
  return e.replace(/^(.*?)-/, "");
1646
1625
  }
1647
- var qt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Zr = /^(@+)?(\+|#+)?[rs]?$/g, Qi = /(\*)(0+)|(#+)(0+)|(0+)/g, qr = /^(0+)$/;
1648
- function Qt(e) {
1626
+ var Zt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Zr = /^(@+)?(\+|#+)?[rs]?$/g, qi = /(\*)(0+)|(#+)(0+)|(0+)/g, qr = /^(0+)$/;
1627
+ function qt(e) {
1649
1628
  var t = {};
1650
1629
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Zr, function(r, n, i) {
1651
1630
  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)), "";
@@ -1691,7 +1670,7 @@ function Qr(e) {
1691
1670
  };
1692
1671
  }
1693
1672
  }
1694
- function Ji(e) {
1673
+ function Qi(e) {
1695
1674
  var t;
1696
1675
  if (e[0] === "E" && e[1] === "E" ? (t = {
1697
1676
  notation: "engineering"
@@ -1705,11 +1684,11 @@ function Ji(e) {
1705
1684
  }
1706
1685
  return t;
1707
1686
  }
1708
- function Jt(e) {
1687
+ function Qt(e) {
1709
1688
  var t = {}, r = Qr(e);
1710
1689
  return r || t;
1711
1690
  }
1712
- function Yi(e) {
1691
+ function Ji(e) {
1713
1692
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1714
1693
  var i = n[r];
1715
1694
  switch (i.stem) {
@@ -1733,7 +1712,7 @@ function Yi(e) {
1733
1712
  continue;
1734
1713
  case "measure-unit":
1735
1714
  case "unit":
1736
- t.style = "unit", t.unit = qi(i.options[0]);
1715
+ t.style = "unit", t.unit = Zi(i.options[0]);
1737
1716
  continue;
1738
1717
  case "compact-short":
1739
1718
  case "K":
@@ -1744,13 +1723,13 @@ function Yi(e) {
1744
1723
  t.notation = "compact", t.compactDisplay = "long";
1745
1724
  continue;
1746
1725
  case "scientific":
1747
- t = R(R(R({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1748
- return R(R({}, u), Jt(l));
1726
+ t = B(B(B({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1727
+ return B(B({}, u), Qt(l));
1749
1728
  }, {}));
1750
1729
  continue;
1751
1730
  case "engineering":
1752
- t = R(R(R({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1753
- return R(R({}, u), Jt(l));
1731
+ t = B(B(B({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1732
+ return B(B({}, u), Qt(l));
1754
1733
  }, {}));
1755
1734
  continue;
1756
1735
  case "notation-simple":
@@ -1795,7 +1774,7 @@ function Yi(e) {
1795
1774
  case "integer-width":
1796
1775
  if (i.options.length > 1)
1797
1776
  throw new RangeError("integer-width stems only accept a single optional option");
1798
- i.options[0].replace(Qi, function(u, l, h, f, c, d) {
1777
+ i.options[0].replace(qi, function(u, l, h, f, c, d) {
1799
1778
  if (l)
1800
1779
  t.minimumIntegerDigits = h.length;
1801
1780
  else {
@@ -1812,28 +1791,28 @@ function Yi(e) {
1812
1791
  t.minimumIntegerDigits = i.stem.length;
1813
1792
  continue;
1814
1793
  }
1815
- if (qt.test(i.stem)) {
1794
+ if (Zt.test(i.stem)) {
1816
1795
  if (i.options.length > 1)
1817
1796
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1818
- i.stem.replace(qt, function(u, l, h, f, c, d) {
1797
+ i.stem.replace(Zt, function(u, l, h, f, c, d) {
1819
1798
  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), "";
1820
1799
  });
1821
1800
  var o = i.options[0];
1822
- o === "w" ? t = R(R({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = R(R({}, t), Qt(o)));
1801
+ o === "w" ? t = B(B({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = B(B({}, t), qt(o)));
1823
1802
  continue;
1824
1803
  }
1825
1804
  if (Zr.test(i.stem)) {
1826
- t = R(R({}, t), Qt(i.stem));
1805
+ t = B(B({}, t), qt(i.stem));
1827
1806
  continue;
1828
1807
  }
1829
1808
  var s = Qr(i.stem);
1830
- s && (t = R(R({}, t), s));
1831
- var a = Ji(i.stem);
1832
- a && (t = R(R({}, t), a));
1809
+ s && (t = B(B({}, t), s));
1810
+ var a = Qi(i.stem);
1811
+ a && (t = B(B({}, t), a));
1833
1812
  }
1834
1813
  return t;
1835
1814
  }
1836
- var Oe = {
1815
+ var Ie = {
1837
1816
  "001": [
1838
1817
  "H",
1839
1818
  "h"
@@ -3248,13 +3227,13 @@ var Oe = {
3248
3227
  "h"
3249
3228
  ]
3250
3229
  };
3251
- function Ki(e, t) {
3230
+ function Yi(e, t) {
3252
3231
  for (var r = "", n = 0; n < e.length; n++) {
3253
3232
  var i = e.charAt(n);
3254
3233
  if (i === "j") {
3255
3234
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3256
3235
  o++, n++;
3257
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = eo(t);
3236
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Ki(t);
3258
3237
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3259
3238
  r += u;
3260
3239
  for (; s-- > 0; )
@@ -3264,7 +3243,7 @@ function Ki(e, t) {
3264
3243
  }
3265
3244
  return r;
3266
3245
  }
3267
- function eo(e) {
3246
+ function Ki(e) {
3268
3247
  var t = e.hourCycle;
3269
3248
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3270
3249
  e.hourCycles && // @ts-ignore
@@ -3283,23 +3262,23 @@ function eo(e) {
3283
3262
  }
3284
3263
  var r = e.language, n;
3285
3264
  r !== "root" && (n = e.maximize().region);
3286
- var i = Oe[n || ""] || Oe[r || ""] || Oe["".concat(r, "-001")] || Oe["001"];
3265
+ var i = Ie[n || ""] || Ie[r || ""] || Ie["".concat(r, "-001")] || Ie["001"];
3287
3266
  return i[0];
3288
3267
  }
3289
- var nt, to = new RegExp("^".concat(zr.source, "*")), ro = new RegExp("".concat(zr.source, "*$"));
3268
+ var tt, eo = new RegExp("^".concat(zr.source, "*")), to = new RegExp("".concat(zr.source, "*$"));
3290
3269
  function T(e, t) {
3291
3270
  return { start: e, end: t };
3292
3271
  }
3293
- var no = !!String.prototype.startsWith && "_a".startsWith("a", 1), io = !!String.fromCodePoint, oo = !!Object.fromEntries, so = !!String.prototype.codePointAt, ao = !!String.prototype.trimStart, uo = !!String.prototype.trimEnd, lo = !!Number.isSafeInteger, ho = lo ? Number.isSafeInteger : function(e) {
3272
+ var ro = !!String.prototype.startsWith && "_a".startsWith("a", 1), no = !!String.fromCodePoint, io = !!Object.fromEntries, oo = !!String.prototype.codePointAt, so = !!String.prototype.trimStart, ao = !!String.prototype.trimEnd, uo = !!Number.isSafeInteger, lo = uo ? Number.isSafeInteger : function(e) {
3294
3273
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3295
- }, gt = !0;
3274
+ }, ft = !0;
3296
3275
  try {
3297
- var co = Yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3298
- gt = ((nt = co.exec("a")) === null || nt === void 0 ? void 0 : nt[0]) === "a";
3276
+ var ho = Yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3277
+ ft = ((tt = ho.exec("a")) === null || tt === void 0 ? void 0 : tt[0]) === "a";
3299
3278
  } catch {
3300
- gt = !1;
3279
+ ft = !1;
3301
3280
  }
3302
- var Yt = no ? (
3281
+ var Jt = ro ? (
3303
3282
  // Native
3304
3283
  function(t, r, n) {
3305
3284
  return t.startsWith(r, n);
@@ -3309,7 +3288,7 @@ var Yt = no ? (
3309
3288
  function(t, r, n) {
3310
3289
  return t.slice(n, n + r.length) === r;
3311
3290
  }
3312
- ), bt = io ? String.fromCodePoint : (
3291
+ ), mt = no ? String.fromCodePoint : (
3313
3292
  // IE11
3314
3293
  function() {
3315
3294
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3321,9 +3300,9 @@ var Yt = no ? (
3321
3300
  }
3322
3301
  return n;
3323
3302
  }
3324
- ), Kt = (
3303
+ ), Yt = (
3325
3304
  // native
3326
- oo ? Object.fromEntries : (
3305
+ io ? Object.fromEntries : (
3327
3306
  // Ponyfill
3328
3307
  function(t) {
3329
3308
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3333,7 +3312,7 @@ var Yt = no ? (
3333
3312
  return r;
3334
3313
  }
3335
3314
  )
3336
- ), Jr = so ? (
3315
+ ), Jr = oo ? (
3337
3316
  // Native
3338
3317
  function(t, r) {
3339
3318
  return t.codePointAt(r);
@@ -3347,7 +3326,7 @@ var Yt = no ? (
3347
3326
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3348
3327
  }
3349
3328
  }
3350
- ), fo = ao ? (
3329
+ ), co = so ? (
3351
3330
  // Native
3352
3331
  function(t) {
3353
3332
  return t.trimStart();
@@ -3355,9 +3334,9 @@ var Yt = no ? (
3355
3334
  ) : (
3356
3335
  // Ponyfill
3357
3336
  function(t) {
3358
- return t.replace(to, "");
3337
+ return t.replace(eo, "");
3359
3338
  }
3360
- ), mo = uo ? (
3339
+ ), fo = ao ? (
3361
3340
  // Native
3362
3341
  function(t) {
3363
3342
  return t.trimEnd();
@@ -3365,32 +3344,32 @@ var Yt = no ? (
3365
3344
  ) : (
3366
3345
  // Ponyfill
3367
3346
  function(t) {
3368
- return t.replace(ro, "");
3347
+ return t.replace(to, "");
3369
3348
  }
3370
3349
  );
3371
3350
  function Yr(e, t) {
3372
3351
  return new RegExp(e, t);
3373
3352
  }
3374
- var yt;
3375
- if (gt) {
3376
- var er = Yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3377
- yt = function(t, r) {
3353
+ var dt;
3354
+ if (ft) {
3355
+ var Kt = Yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3356
+ dt = function(t, r) {
3378
3357
  var n;
3379
- er.lastIndex = r;
3380
- var i = er.exec(t);
3358
+ Kt.lastIndex = r;
3359
+ var i = Kt.exec(t);
3381
3360
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3382
3361
  };
3383
3362
  } else
3384
- yt = function(t, r) {
3363
+ dt = function(t, r) {
3385
3364
  for (var n = []; ; ) {
3386
3365
  var i = Jr(t, r);
3387
- if (i === void 0 || Kr(i) || yo(i))
3366
+ if (i === void 0 || Kr(i) || bo(i))
3388
3367
  break;
3389
3368
  n.push(i), r += i >= 65536 ? 2 : 1;
3390
3369
  }
3391
- return bt.apply(void 0, n);
3370
+ return mt.apply(void 0, n);
3392
3371
  };
3393
- var po = (
3372
+ var mo = (
3394
3373
  /** @class */
3395
3374
  function() {
3396
3375
  function e(t, r) {
@@ -3414,14 +3393,14 @@ var po = (
3414
3393
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3415
3394
  var a = this.clonePosition();
3416
3395
  this.bump(), i.push({
3417
- type: C.pound,
3396
+ type: N.pound,
3418
3397
  location: T(a, this.clonePosition())
3419
3398
  });
3420
3399
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3421
3400
  if (n)
3422
3401
  break;
3423
- return this.error(S.UNMATCHED_CLOSING_TAG, T(this.clonePosition(), this.clonePosition()));
3424
- } else if (o === 60 && !this.ignoreTag && _t(this.peek() || 0)) {
3402
+ return this.error(H.UNMATCHED_CLOSING_TAG, T(this.clonePosition(), this.clonePosition()));
3403
+ } else if (o === 60 && !this.ignoreTag && pt(this.peek() || 0)) {
3425
3404
  var s = this.parseTag(t, r);
3426
3405
  if (s.err)
3427
3406
  return s;
@@ -3442,7 +3421,7 @@ var po = (
3442
3421
  if (this.bumpSpace(), this.bumpIf("/>"))
3443
3422
  return {
3444
3423
  val: {
3445
- type: C.literal,
3424
+ type: N.literal,
3446
3425
  value: "<".concat(i, "/>"),
3447
3426
  location: T(n, this.clonePosition())
3448
3427
  },
@@ -3454,25 +3433,25 @@ var po = (
3454
3433
  return o;
3455
3434
  var s = o.val, a = this.clonePosition();
3456
3435
  if (this.bumpIf("</")) {
3457
- if (this.isEOF() || !_t(this.char()))
3458
- return this.error(S.INVALID_TAG, T(a, this.clonePosition()));
3436
+ if (this.isEOF() || !pt(this.char()))
3437
+ return this.error(H.INVALID_TAG, T(a, this.clonePosition()));
3459
3438
  var u = this.clonePosition(), l = this.parseTagName();
3460
- return i !== l ? this.error(S.UNMATCHED_CLOSING_TAG, T(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3439
+ return i !== l ? this.error(H.UNMATCHED_CLOSING_TAG, T(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3461
3440
  val: {
3462
- type: C.tag,
3441
+ type: N.tag,
3463
3442
  value: i,
3464
3443
  children: s,
3465
3444
  location: T(n, this.clonePosition())
3466
3445
  },
3467
3446
  err: null
3468
- } : this.error(S.INVALID_TAG, T(a, this.clonePosition())));
3447
+ } : this.error(H.INVALID_TAG, T(a, this.clonePosition())));
3469
3448
  } else
3470
- return this.error(S.UNCLOSED_TAG, T(n, this.clonePosition()));
3449
+ return this.error(H.UNCLOSED_TAG, T(n, this.clonePosition()));
3471
3450
  } else
3472
- return this.error(S.INVALID_TAG, T(n, this.clonePosition()));
3451
+ return this.error(H.INVALID_TAG, T(n, this.clonePosition()));
3473
3452
  }, e.prototype.parseTagName = function() {
3474
3453
  var t = this.offset();
3475
- for (this.bump(); !this.isEOF() && bo(this.char()); )
3454
+ for (this.bump(); !this.isEOF() && go(this.char()); )
3476
3455
  this.bump();
3477
3456
  return this.message.slice(t, this.offset());
3478
3457
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3496,12 +3475,12 @@ var po = (
3496
3475
  }
3497
3476
  var u = T(n, this.clonePosition());
3498
3477
  return {
3499
- val: { type: C.literal, value: i, location: u },
3478
+ val: { type: N.literal, value: i, location: u },
3500
3479
  err: null
3501
3480
  };
3502
3481
  }, e.prototype.tryParseLeftAngleBracket = function() {
3503
3482
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3504
- !go(this.peek() || 0)) ? (this.bump(), "<") : null;
3483
+ !po(this.peek() || 0)) ? (this.bump(), "<") : null;
3505
3484
  }, e.prototype.tryParseQuote = function(t) {
3506
3485
  if (this.isEOF() || this.char() !== 39)
3507
3486
  return null;
@@ -3535,28 +3514,28 @@ var po = (
3535
3514
  r.push(n);
3536
3515
  this.bump();
3537
3516
  }
3538
- return bt.apply(void 0, r);
3517
+ return mt.apply(void 0, r);
3539
3518
  }, e.prototype.tryParseUnquoted = function(t, r) {
3540
3519
  if (this.isEOF())
3541
3520
  return null;
3542
3521
  var n = this.char();
3543
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), bt(n));
3522
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), mt(n));
3544
3523
  }, e.prototype.parseArgument = function(t, r) {
3545
3524
  var n = this.clonePosition();
3546
3525
  if (this.bump(), this.bumpSpace(), this.isEOF())
3547
- return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
3526
+ return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
3548
3527
  if (this.char() === 125)
3549
- return this.bump(), this.error(S.EMPTY_ARGUMENT, T(n, this.clonePosition()));
3528
+ return this.bump(), this.error(H.EMPTY_ARGUMENT, T(n, this.clonePosition()));
3550
3529
  var i = this.parseIdentifierIfPossible().value;
3551
3530
  if (!i)
3552
- return this.error(S.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
3531
+ return this.error(H.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
3553
3532
  if (this.bumpSpace(), this.isEOF())
3554
- return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
3533
+ return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
3555
3534
  switch (this.char()) {
3556
3535
  case 125:
3557
3536
  return this.bump(), {
3558
3537
  val: {
3559
- type: C.argument,
3538
+ type: N.argument,
3560
3539
  // value does not include the opening and closing braces.
3561
3540
  value: i,
3562
3541
  location: T(n, this.clonePosition())
@@ -3564,12 +3543,12 @@ var po = (
3564
3543
  err: null
3565
3544
  };
3566
3545
  case 44:
3567
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3546
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3568
3547
  default:
3569
- return this.error(S.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
3548
+ return this.error(H.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
3570
3549
  }
3571
3550
  }, e.prototype.parseIdentifierIfPossible = function() {
3572
- var t = this.clonePosition(), r = this.offset(), n = yt(this.message, r), i = r + n.length;
3551
+ var t = this.clonePosition(), r = this.offset(), n = dt(this.message, r), i = r + n.length;
3573
3552
  this.bumpTo(i);
3574
3553
  var o = this.clonePosition(), s = T(t, o);
3575
3554
  return { value: n, location: s };
@@ -3577,7 +3556,7 @@ var po = (
3577
3556
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3578
3557
  switch (a) {
3579
3558
  case "":
3580
- return this.error(S.EXPECT_ARGUMENT_TYPE, T(s, u));
3559
+ return this.error(H.EXPECT_ARGUMENT_TYPE, T(s, u));
3581
3560
  case "number":
3582
3561
  case "date":
3583
3562
  case "time": {
@@ -3588,9 +3567,9 @@ var po = (
3588
3567
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3589
3568
  if (f.err)
3590
3569
  return f;
3591
- var c = mo(f.val);
3570
+ var c = fo(f.val);
3592
3571
  if (c.length === 0)
3593
- return this.error(S.EXPECT_ARGUMENT_STYLE, T(this.clonePosition(), this.clonePosition()));
3572
+ return this.error(H.EXPECT_ARGUMENT_STYLE, T(this.clonePosition(), this.clonePosition()));
3594
3573
  var d = T(h, this.clonePosition());
3595
3574
  l = { style: c, styleLocation: d };
3596
3575
  }
@@ -3598,34 +3577,34 @@ var po = (
3598
3577
  if (m.err)
3599
3578
  return m;
3600
3579
  var b = T(i, this.clonePosition());
3601
- if (l && Yt(l?.style, "::", 0)) {
3602
- var w = fo(l.style.slice(2));
3580
+ if (l && Jt(l?.style, "::", 0)) {
3581
+ var w = co(l.style.slice(2));
3603
3582
  if (a === "number") {
3604
3583
  var f = this.parseNumberSkeletonFromString(w, l.styleLocation);
3605
3584
  return f.err ? f : {
3606
- val: { type: C.number, value: n, location: b, style: f.val },
3585
+ val: { type: N.number, value: n, location: b, style: f.val },
3607
3586
  err: null
3608
3587
  };
3609
3588
  } else {
3610
3589
  if (w.length === 0)
3611
- return this.error(S.EXPECT_DATE_TIME_SKELETON, b);
3590
+ return this.error(H.EXPECT_DATE_TIME_SKELETON, b);
3612
3591
  var O = w;
3613
- this.locale && (O = Ki(w, this.locale));
3592
+ this.locale && (O = Yi(w, this.locale));
3614
3593
  var c = {
3615
- type: fe.dateTime,
3594
+ type: me.dateTime,
3616
3595
  pattern: O,
3617
3596
  location: l.styleLocation,
3618
- parsedOptions: this.shouldParseSkeletons ? Xi(O) : {}
3619
- }, P = a === "date" ? C.date : C.time;
3597
+ parsedOptions: this.shouldParseSkeletons ? Wi(O) : {}
3598
+ }, I = a === "date" ? N.date : N.time;
3620
3599
  return {
3621
- val: { type: P, value: n, location: b, style: c },
3600
+ val: { type: I, value: n, location: b, style: c },
3622
3601
  err: null
3623
3602
  };
3624
3603
  }
3625
3604
  }
3626
3605
  return {
3627
3606
  val: {
3628
- type: a === "number" ? C.number : a === "date" ? C.date : C.time,
3607
+ type: a === "number" ? N.number : a === "date" ? N.date : N.time,
3629
3608
  value: n,
3630
3609
  location: b,
3631
3610
  style: (o = l?.style) !== null && o !== void 0 ? o : null
@@ -3636,21 +3615,21 @@ var po = (
3636
3615
  case "plural":
3637
3616
  case "selectordinal":
3638
3617
  case "select": {
3639
- var H = this.clonePosition();
3618
+ var S = this.clonePosition();
3640
3619
  if (this.bumpSpace(), !this.bumpIf(","))
3641
- return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, T(H, Ge({}, H)));
3620
+ return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS, T(S, B({}, S)));
3642
3621
  this.bumpSpace();
3643
- var I = this.parseIdentifierIfPossible(), y = 0;
3644
- if (a !== "select" && I.value === "offset") {
3622
+ var L = this.parseIdentifierIfPossible(), y = 0;
3623
+ if (a !== "select" && L.value === "offset") {
3645
3624
  if (!this.bumpIf(":"))
3646
- return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T(this.clonePosition(), this.clonePosition()));
3625
+ return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T(this.clonePosition(), this.clonePosition()));
3647
3626
  this.bumpSpace();
3648
- var f = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3627
+ var f = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3649
3628
  if (f.err)
3650
3629
  return f;
3651
- this.bumpSpace(), I = this.parseIdentifierIfPossible(), y = f.val;
3630
+ this.bumpSpace(), L = this.parseIdentifierIfPossible(), y = f.val;
3652
3631
  }
3653
- var M = this.tryParsePluralOrSelectOptions(t, a, r, I);
3632
+ var M = this.tryParsePluralOrSelectOptions(t, a, r, L);
3654
3633
  if (M.err)
3655
3634
  return M;
3656
3635
  var m = this.tryParseArgumentClose(i);
@@ -3659,17 +3638,17 @@ var po = (
3659
3638
  var _ = T(i, this.clonePosition());
3660
3639
  return a === "select" ? {
3661
3640
  val: {
3662
- type: C.select,
3641
+ type: N.select,
3663
3642
  value: n,
3664
- options: Kt(M.val),
3643
+ options: Yt(M.val),
3665
3644
  location: _
3666
3645
  },
3667
3646
  err: null
3668
3647
  } : {
3669
3648
  val: {
3670
- type: C.plural,
3649
+ type: N.plural,
3671
3650
  value: n,
3672
- options: Kt(M.val),
3651
+ options: Yt(M.val),
3673
3652
  offset: y,
3674
3653
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3675
3654
  location: _
@@ -3678,10 +3657,10 @@ var po = (
3678
3657
  };
3679
3658
  }
3680
3659
  default:
3681
- return this.error(S.INVALID_ARGUMENT_TYPE, T(s, u));
3660
+ return this.error(H.INVALID_ARGUMENT_TYPE, T(s, u));
3682
3661
  }
3683
3662
  }, e.prototype.tryParseArgumentClose = function(t) {
3684
- return this.isEOF() || this.char() !== 125 ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, T(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3663
+ return this.isEOF() || this.char() !== 125 ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, T(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3685
3664
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3686
3665
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3687
3666
  var n = this.char();
@@ -3690,7 +3669,7 @@ var po = (
3690
3669
  this.bump();
3691
3670
  var i = this.clonePosition();
3692
3671
  if (!this.bumpUntil("'"))
3693
- return this.error(S.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, T(i, this.clonePosition()));
3672
+ return this.error(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, T(i, this.clonePosition()));
3694
3673
  this.bump();
3695
3674
  break;
3696
3675
  }
@@ -3720,16 +3699,16 @@ var po = (
3720
3699
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3721
3700
  var n = [];
3722
3701
  try {
3723
- n = Zi(t);
3702
+ n = zi(t);
3724
3703
  } catch {
3725
- return this.error(S.INVALID_NUMBER_SKELETON, r);
3704
+ return this.error(H.INVALID_NUMBER_SKELETON, r);
3726
3705
  }
3727
3706
  return {
3728
3707
  val: {
3729
- type: fe.number,
3708
+ type: me.number,
3730
3709
  tokens: n,
3731
3710
  location: r,
3732
- parsedOptions: this.shouldParseSkeletons ? Yi(n) : {}
3711
+ parsedOptions: this.shouldParseSkeletons ? Ji(n) : {}
3733
3712
  },
3734
3713
  err: null
3735
3714
  };
@@ -3738,7 +3717,7 @@ var po = (
3738
3717
  if (l.length === 0) {
3739
3718
  var f = this.clonePosition();
3740
3719
  if (r !== "select" && this.bumpIf("=")) {
3741
- var c = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR, S.INVALID_PLURAL_ARGUMENT_SELECTOR);
3720
+ var c = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_SELECTOR, H.INVALID_PLURAL_ARGUMENT_SELECTOR);
3742
3721
  if (c.err)
3743
3722
  return c;
3744
3723
  h = T(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
@@ -3746,11 +3725,11 @@ var po = (
3746
3725
  break;
3747
3726
  }
3748
3727
  if (u.has(l))
3749
- return this.error(r === "select" ? S.DUPLICATE_SELECT_ARGUMENT_SELECTOR : S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3728
+ return this.error(r === "select" ? H.DUPLICATE_SELECT_ARGUMENT_SELECTOR : H.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3750
3729
  l === "other" && (s = !0), this.bumpSpace();
3751
3730
  var d = this.clonePosition();
3752
3731
  if (!this.bumpIf("{"))
3753
- return this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, T(this.clonePosition(), this.clonePosition()));
3732
+ return this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, T(this.clonePosition(), this.clonePosition()));
3754
3733
  var m = this.parseMessage(t + 1, r, n);
3755
3734
  if (m.err)
3756
3735
  return m;
@@ -3765,7 +3744,7 @@ var po = (
3765
3744
  }
3766
3745
  ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3767
3746
  }
3768
- return a.length === 0 ? this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR : S.EXPECT_PLURAL_ARGUMENT_SELECTOR, T(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(S.MISSING_OTHER_CLAUSE, T(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3747
+ return a.length === 0 ? this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR : H.EXPECT_PLURAL_ARGUMENT_SELECTOR, T(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(H.MISSING_OTHER_CLAUSE, T(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3769
3748
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3770
3749
  var n = 1, i = this.clonePosition();
3771
3750
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3777,7 +3756,7 @@ var po = (
3777
3756
  break;
3778
3757
  }
3779
3758
  var u = T(i, this.clonePosition());
3780
- return o ? (s *= n, ho(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3759
+ return o ? (s *= n, lo(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3781
3760
  }, e.prototype.offset = function() {
3782
3761
  return this.position.offset;
3783
3762
  }, e.prototype.isEOF = function() {
@@ -3811,7 +3790,7 @@ var po = (
3811
3790
  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);
3812
3791
  }
3813
3792
  }, e.prototype.bumpIf = function(t) {
3814
- if (Yt(this.message, t, this.offset())) {
3793
+ if (Jt(this.message, t, this.offset())) {
3815
3794
  for (var r = 0; r < t.length; r++)
3816
3795
  this.bump();
3817
3796
  return !0;
@@ -3843,47 +3822,47 @@ var po = (
3843
3822
  }, e;
3844
3823
  }()
3845
3824
  );
3846
- function _t(e) {
3825
+ function pt(e) {
3847
3826
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3848
3827
  }
3849
- function go(e) {
3850
- return _t(e) || e === 47;
3828
+ function po(e) {
3829
+ return pt(e) || e === 47;
3851
3830
  }
3852
- function bo(e) {
3831
+ function go(e) {
3853
3832
  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;
3854
3833
  }
3855
3834
  function Kr(e) {
3856
3835
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3857
3836
  }
3858
- function yo(e) {
3837
+ function bo(e) {
3859
3838
  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;
3860
3839
  }
3861
- function vt(e) {
3840
+ function gt(e) {
3862
3841
  e.forEach(function(t) {
3863
3842
  if (delete t.location, jr(t) || Vr(t))
3864
3843
  for (var r in t.options)
3865
- delete t.options[r].location, vt(t.options[r].value);
3844
+ delete t.options[r].location, gt(t.options[r].value);
3866
3845
  else
3867
- Dr(t) && Xr(t.style) || (Gr(t) || kr(t)) && pt(t.style) ? delete t.style.location : Wr(t) && vt(t.children);
3846
+ $r(t) && Xr(t.style) || (Gr(t) || kr(t)) && ct(t.style) ? delete t.style.location : Wr(t) && gt(t.children);
3868
3847
  });
3869
3848
  }
3870
- function _o(e, t) {
3871
- t === void 0 && (t = {}), t = Ge({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3872
- var r = new po(e, t).parse();
3849
+ function yo(e, t) {
3850
+ t === void 0 && (t = {}), t = B({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3851
+ var r = new mo(e, t).parse();
3873
3852
  if (r.err) {
3874
- var n = SyntaxError(S[r.err.kind]);
3853
+ var n = SyntaxError(H[r.err.kind]);
3875
3854
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3876
3855
  }
3877
- return t?.captureLocation || vt(r.val), r.val;
3856
+ return t?.captureLocation || gt(r.val), r.val;
3878
3857
  }
3879
- var me;
3858
+ var de;
3880
3859
  (function(e) {
3881
3860
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3882
- })(me || (me = {}));
3883
- var ze = (
3861
+ })(de || (de = {}));
3862
+ var We = (
3884
3863
  /** @class */
3885
3864
  function(e) {
3886
- Xe(t, e);
3865
+ Z(t, e);
3887
3866
  function t(r, n, i) {
3888
3867
  var o = e.call(this, r) || this;
3889
3868
  return o.code = n, o.originalMessage = i, o;
@@ -3892,48 +3871,48 @@ var ze = (
3892
3871
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3893
3872
  }, t;
3894
3873
  }(Error)
3895
- ), tr = (
3874
+ ), er = (
3896
3875
  /** @class */
3897
3876
  function(e) {
3898
- Xe(t, e);
3877
+ Z(t, e);
3899
3878
  function t(r, n, i, o) {
3900
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), me.INVALID_VALUE, o) || this;
3879
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), de.INVALID_VALUE, o) || this;
3901
3880
  }
3902
3881
  return t;
3903
- }(ze)
3904
- ), vo = (
3882
+ }(We)
3883
+ ), _o = (
3905
3884
  /** @class */
3906
3885
  function(e) {
3907
- Xe(t, e);
3886
+ Z(t, e);
3908
3887
  function t(r, n, i) {
3909
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), me.INVALID_VALUE, i) || this;
3888
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), de.INVALID_VALUE, i) || this;
3910
3889
  }
3911
3890
  return t;
3912
- }(ze)
3913
- ), xo = (
3891
+ }(We)
3892
+ ), vo = (
3914
3893
  /** @class */
3915
3894
  function(e) {
3916
- Xe(t, e);
3895
+ Z(t, e);
3917
3896
  function t(r, n) {
3918
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), me.MISSING_VALUE, n) || this;
3897
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), de.MISSING_VALUE, n) || this;
3919
3898
  }
3920
3899
  return t;
3921
- }(ze)
3900
+ }(We)
3922
3901
  ), F;
3923
3902
  (function(e) {
3924
3903
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3925
3904
  })(F || (F = {}));
3926
- function Eo(e) {
3905
+ function xo(e) {
3927
3906
  return e.length < 2 ? e : e.reduce(function(t, r) {
3928
3907
  var n = t[t.length - 1];
3929
3908
  return !n || n.type !== F.literal || r.type !== F.literal ? t.push(r) : n.value += r.value, t;
3930
3909
  }, []);
3931
3910
  }
3932
- function wo(e) {
3911
+ function Eo(e) {
3933
3912
  return typeof e == "function";
3934
3913
  }
3935
3914
  function Ne(e, t, r, n, i, o, s) {
3936
- if (e.length === 1 && Zt(e[0]))
3915
+ if (e.length === 1 && zt(e[0]))
3937
3916
  return [
3938
3917
  {
3939
3918
  type: F.literal,
@@ -3942,14 +3921,14 @@ function Ne(e, t, r, n, i, o, s) {
3942
3921
  ];
3943
3922
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3944
3923
  var h = l[u];
3945
- if (Zt(h)) {
3924
+ if (zt(h)) {
3946
3925
  a.push({
3947
3926
  type: F.literal,
3948
3927
  value: h.value
3949
3928
  });
3950
3929
  continue;
3951
3930
  }
3952
- if (Vi(h)) {
3931
+ if (ji(h)) {
3953
3932
  typeof o == "number" && a.push({
3954
3933
  type: F.literal,
3955
3934
  value: r.getNumberFormat(t).format(o)
@@ -3958,9 +3937,9 @@ function Ne(e, t, r, n, i, o, s) {
3958
3937
  }
3959
3938
  var f = h.value;
3960
3939
  if (!(i && f in i))
3961
- throw new xo(f, s);
3940
+ throw new vo(f, s);
3962
3941
  var c = i[f];
3963
- if (ji(h)) {
3942
+ if (ki(h)) {
3964
3943
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3965
3944
  type: typeof c == "string" ? F.literal : F.object,
3966
3945
  value: c
@@ -3968,7 +3947,7 @@ function Ne(e, t, r, n, i, o, s) {
3968
3947
  continue;
3969
3948
  }
3970
3949
  if (Gr(h)) {
3971
- var d = typeof h.style == "string" ? n.date[h.style] : pt(h.style) ? h.style.parsedOptions : void 0;
3950
+ var d = typeof h.style == "string" ? n.date[h.style] : ct(h.style) ? h.style.parsedOptions : void 0;
3972
3951
  a.push({
3973
3952
  type: F.literal,
3974
3953
  value: r.getDateTimeFormat(t, d).format(c)
@@ -3976,14 +3955,14 @@ function Ne(e, t, r, n, i, o, s) {
3976
3955
  continue;
3977
3956
  }
3978
3957
  if (kr(h)) {
3979
- var d = typeof h.style == "string" ? n.time[h.style] : pt(h.style) ? h.style.parsedOptions : n.time.medium;
3958
+ var d = typeof h.style == "string" ? n.time[h.style] : ct(h.style) ? h.style.parsedOptions : n.time.medium;
3980
3959
  a.push({
3981
3960
  type: F.literal,
3982
3961
  value: r.getDateTimeFormat(t, d).format(c)
3983
3962
  });
3984
3963
  continue;
3985
3964
  }
3986
- if (Dr(h)) {
3965
+ if ($r(h)) {
3987
3966
  var d = typeof h.style == "string" ? n.number[h.style] : Xr(h.style) ? h.style.parsedOptions : void 0;
3988
3967
  d && d.scale && (c = c * (d.scale || 1)), a.push({
3989
3968
  type: F.literal,
@@ -3993,12 +3972,12 @@ function Ne(e, t, r, n, i, o, s) {
3993
3972
  }
3994
3973
  if (Wr(h)) {
3995
3974
  var m = h.children, b = h.value, w = i[b];
3996
- if (!wo(w))
3997
- throw new vo(b, "function", s);
3998
- var O = Ne(m, t, r, n, i, o), P = w(O.map(function(y) {
3975
+ if (!Eo(w))
3976
+ throw new _o(b, "function", s);
3977
+ var O = Ne(m, t, r, n, i, o), I = w(O.map(function(y) {
3999
3978
  return y.value;
4000
3979
  }));
4001
- Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(y) {
3980
+ Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(y) {
4002
3981
  return {
4003
3982
  type: typeof y == "string" ? F.literal : F.object,
4004
3983
  value: y
@@ -4006,41 +3985,41 @@ function Ne(e, t, r, n, i, o, s) {
4006
3985
  }));
4007
3986
  }
4008
3987
  if (jr(h)) {
4009
- var H = h.options[c] || h.options.other;
4010
- if (!H)
4011
- throw new tr(h.value, c, Object.keys(h.options), s);
4012
- a.push.apply(a, Ne(H.value, t, r, n, i));
3988
+ var S = h.options[c] || h.options.other;
3989
+ if (!S)
3990
+ throw new er(h.value, c, Object.keys(h.options), s);
3991
+ a.push.apply(a, Ne(S.value, t, r, n, i));
4013
3992
  continue;
4014
3993
  }
4015
3994
  if (Vr(h)) {
4016
- var H = h.options["=".concat(c)];
4017
- if (!H) {
3995
+ var S = h.options["=".concat(c)];
3996
+ if (!S) {
4018
3997
  if (!Intl.PluralRules)
4019
- throw new ze(`Intl.PluralRules is not available in this environment.
3998
+ throw new We(`Intl.PluralRules is not available in this environment.
4020
3999
  Try polyfilling it using "@formatjs/intl-pluralrules"
4021
- `, me.MISSING_INTL_API, s);
4022
- var I = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
4023
- H = h.options[I] || h.options.other;
4000
+ `, de.MISSING_INTL_API, s);
4001
+ var L = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
4002
+ S = h.options[L] || h.options.other;
4024
4003
  }
4025
- if (!H)
4026
- throw new tr(h.value, c, Object.keys(h.options), s);
4027
- a.push.apply(a, Ne(H.value, t, r, n, i, c - (h.offset || 0)));
4004
+ if (!S)
4005
+ throw new er(h.value, c, Object.keys(h.options), s);
4006
+ a.push.apply(a, Ne(S.value, t, r, n, i, c - (h.offset || 0)));
4028
4007
  continue;
4029
4008
  }
4030
4009
  }
4031
- return Eo(a);
4010
+ return xo(a);
4032
4011
  }
4033
- function So(e, t) {
4034
- return t ? V(V(V({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4035
- return r[n] = V(V({}, e[n]), t[n] || {}), r;
4012
+ function wo(e, t) {
4013
+ return t ? B(B(B({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4014
+ return r[n] = B(B({}, e[n]), t[n] || {}), r;
4036
4015
  }, {})) : e;
4037
4016
  }
4038
4017
  function Ho(e, t) {
4039
4018
  return t ? Object.keys(e).reduce(function(r, n) {
4040
- return r[n] = So(e[n], t[n]), r;
4041
- }, V({}, e)) : e;
4019
+ return r[n] = wo(e[n], t[n]), r;
4020
+ }, B({}, e)) : e;
4042
4021
  }
4043
- function it(e) {
4022
+ function rt(e) {
4044
4023
  return {
4045
4024
  create: function() {
4046
4025
  return {
@@ -4054,39 +4033,39 @@ function it(e) {
4054
4033
  }
4055
4034
  };
4056
4035
  }
4057
- function To(e) {
4036
+ function So(e) {
4058
4037
  return e === void 0 && (e = {
4059
4038
  number: {},
4060
4039
  dateTime: {},
4061
4040
  pluralRules: {}
4062
4041
  }), {
4063
- getNumberFormat: tt(function() {
4042
+ getNumberFormat: Ke(function() {
4064
4043
  for (var t, r = [], n = 0; n < arguments.length; n++)
4065
4044
  r[n] = arguments[n];
4066
- return new ((t = Intl.NumberFormat).bind.apply(t, et([void 0], r, !1)))();
4045
+ return new ((t = Intl.NumberFormat).bind.apply(t, he([void 0], r, !1)))();
4067
4046
  }, {
4068
- cache: it(e.number),
4069
- strategy: rt.variadic
4047
+ cache: rt(e.number),
4048
+ strategy: et.variadic
4070
4049
  }),
4071
- getDateTimeFormat: tt(function() {
4050
+ getDateTimeFormat: Ke(function() {
4072
4051
  for (var t, r = [], n = 0; n < arguments.length; n++)
4073
4052
  r[n] = arguments[n];
4074
- return new ((t = Intl.DateTimeFormat).bind.apply(t, et([void 0], r, !1)))();
4053
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, he([void 0], r, !1)))();
4075
4054
  }, {
4076
- cache: it(e.dateTime),
4077
- strategy: rt.variadic
4055
+ cache: rt(e.dateTime),
4056
+ strategy: et.variadic
4078
4057
  }),
4079
- getPluralRules: tt(function() {
4058
+ getPluralRules: Ke(function() {
4080
4059
  for (var t, r = [], n = 0; n < arguments.length; n++)
4081
4060
  r[n] = arguments[n];
4082
- return new ((t = Intl.PluralRules).bind.apply(t, et([void 0], r, !1)))();
4061
+ return new ((t = Intl.PluralRules).bind.apply(t, he([void 0], r, !1)))();
4083
4062
  }, {
4084
- cache: it(e.pluralRules),
4085
- strategy: rt.variadic
4063
+ cache: rt(e.pluralRules),
4064
+ strategy: et.variadic
4086
4065
  })
4087
4066
  };
4088
4067
  }
4089
- var Mo = (
4068
+ var To = (
4090
4069
  /** @class */
4091
4070
  function() {
4092
4071
  function e(t, r, n, i) {
@@ -4118,13 +4097,13 @@ var Mo = (
4118
4097
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4119
4098
  var s = i || {};
4120
4099
  s.formatters;
4121
- var a = Ni(s, ["formatters"]);
4122
- this.ast = e.__parse(t, V(V({}, a), { locale: this.resolvedLocale }));
4100
+ var a = ii(s, ["formatters"]);
4101
+ this.ast = e.__parse(t, B(B({}, a), { locale: this.resolvedLocale }));
4123
4102
  } else
4124
4103
  this.ast = t;
4125
4104
  if (!Array.isArray(this.ast))
4126
4105
  throw new TypeError("A message must be provided as a String or AST.");
4127
- this.formats = Ho(e.formats, n), this.formatters = i && i.formatters || To(this.formatterCache);
4106
+ this.formats = Ho(e.formats, n), this.formatters = i && i.formatters || So(this.formatterCache);
4128
4107
  }
4129
4108
  return Object.defineProperty(e, "defaultLocale", {
4130
4109
  get: function() {
@@ -4137,7 +4116,7 @@ var Mo = (
4137
4116
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4138
4117
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4139
4118
  }
4140
- }, e.__parse = _o, e.formats = {
4119
+ }, e.__parse = yo, e.formats = {
4141
4120
  number: {
4142
4121
  integer: {
4143
4122
  maximumFractionDigits: 0
@@ -4198,7 +4177,7 @@ var Mo = (
4198
4177
  }, e;
4199
4178
  }()
4200
4179
  );
4201
- function Ao(e, t) {
4180
+ function Mo(e, t) {
4202
4181
  if (t == null)
4203
4182
  return;
4204
4183
  if (t in e)
@@ -4224,31 +4203,31 @@ const J = {}, Bo = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][
4224
4203
  return;
4225
4204
  if (t in J && e in J[t])
4226
4205
  return J[t][e];
4227
- const r = Ze(t);
4206
+ const r = Xe(t);
4228
4207
  for (let n = 0; n < r.length; n++) {
4229
- const i = r[n], o = Oo(i, e);
4208
+ const i = r[n], o = Po(i, e);
4230
4209
  if (o)
4231
4210
  return Bo(e, t, o);
4232
4211
  }
4233
4212
  };
4234
- let Ht;
4235
- const Me = We({});
4236
- function Po(e) {
4237
- return Ht[e] || null;
4213
+ let wt;
4214
+ const Me = Ve({});
4215
+ function Ao(e) {
4216
+ return wt[e] || null;
4238
4217
  }
4239
4218
  function tn(e) {
4240
- return e in Ht;
4219
+ return e in wt;
4241
4220
  }
4242
- function Oo(e, t) {
4221
+ function Po(e, t) {
4243
4222
  if (!tn(e))
4244
4223
  return null;
4245
- const r = Po(e);
4246
- return Ao(r, t);
4224
+ const r = Ao(e);
4225
+ return Mo(r, t);
4247
4226
  }
4248
4227
  function Io(e) {
4249
4228
  if (e == null)
4250
4229
  return;
4251
- const t = Ze(e);
4230
+ const t = Xe(e);
4252
4231
  for (let r = 0; r < t.length; r++) {
4253
4232
  const n = t[r];
4254
4233
  if (tn(n))
@@ -4256,55 +4235,55 @@ function Io(e) {
4256
4235
  }
4257
4236
  }
4258
4237
  function rn(e, ...t) {
4259
- delete J[e], Me.update((r) => (r[e] = Ci.all([r[e] || {}, ...t]), r));
4238
+ delete J[e], Me.update((r) => (r[e] = Ni.all([r[e] || {}, ...t]), r));
4260
4239
  }
4261
- ge(
4240
+ be(
4262
4241
  [Me],
4263
4242
  ([e]) => Object.keys(e)
4264
4243
  );
4265
- Me.subscribe((e) => Ht = e);
4244
+ Me.subscribe((e) => wt = e);
4266
4245
  const Re = {};
4267
- function Lo(e, t) {
4246
+ function Oo(e, t) {
4268
4247
  Re[e].delete(t), Re[e].size === 0 && delete Re[e];
4269
4248
  }
4270
4249
  function nn(e) {
4271
4250
  return Re[e];
4272
4251
  }
4273
- function Co(e) {
4274
- return Ze(e).map((t) => {
4252
+ function Lo(e) {
4253
+ return Xe(e).map((t) => {
4275
4254
  const r = nn(t);
4276
4255
  return [t, r ? [...r] : []];
4277
4256
  }).filter(([, t]) => t.length > 0);
4278
4257
  }
4279
- function xt(e) {
4280
- return e == null ? !1 : Ze(e).some(
4258
+ function bt(e) {
4259
+ return e == null ? !1 : Xe(e).some(
4281
4260
  (t) => {
4282
4261
  var r;
4283
4262
  return (r = nn(t)) == null ? void 0 : r.size;
4284
4263
  }
4285
4264
  );
4286
4265
  }
4287
- function No(e, t) {
4266
+ function Co(e, t) {
4288
4267
  return Promise.all(
4289
- t.map((n) => (Lo(e, n), n().then((i) => i.default || i)))
4268
+ t.map((n) => (Oo(e, n), n().then((i) => i.default || i)))
4290
4269
  ).then((n) => rn(e, ...n));
4291
4270
  }
4292
- const ve = {};
4271
+ const xe = {};
4293
4272
  function on(e) {
4294
- if (!xt(e))
4295
- return e in ve ? ve[e] : Promise.resolve();
4296
- const t = Co(e);
4297
- return ve[e] = Promise.all(
4273
+ if (!bt(e))
4274
+ return e in xe ? xe[e] : Promise.resolve();
4275
+ const t = Lo(e);
4276
+ return xe[e] = Promise.all(
4298
4277
  t.map(
4299
- ([r, n]) => No(r, n)
4278
+ ([r, n]) => Co(r, n)
4300
4279
  )
4301
4280
  ).then(() => {
4302
- if (xt(e))
4281
+ if (bt(e))
4303
4282
  return on(e);
4304
- delete ve[e];
4305
- }), ve[e];
4283
+ delete xe[e];
4284
+ }), xe[e];
4306
4285
  }
4307
- const Ro = {
4286
+ const No = {
4308
4287
  number: {
4309
4288
  scientific: { notation: "scientific" },
4310
4289
  engineering: { notation: "engineering" },
@@ -4333,135 +4312,135 @@ const Ro = {
4333
4312
  timeZoneName: "short"
4334
4313
  }
4335
4314
  }
4336
- }, Fo = {
4315
+ }, Ro = {
4337
4316
  fallbackLocale: null,
4338
4317
  loadingDelay: 200,
4339
- formats: Ro,
4318
+ formats: No,
4340
4319
  warnOnMissingMessages: !0,
4341
4320
  handleMissingMessage: void 0,
4342
4321
  ignoreTag: !0
4343
- }, Uo = Fo;
4344
- function de() {
4345
- return Uo;
4322
+ }, Fo = Ro;
4323
+ function pe() {
4324
+ return Fo;
4346
4325
  }
4347
- const ot = We(!1);
4348
- var $o = Object.defineProperty, Do = Object.defineProperties, Go = Object.getOwnPropertyDescriptors, rr = Object.getOwnPropertySymbols, ko = Object.prototype.hasOwnProperty, jo = Object.prototype.propertyIsEnumerable, nr = (e, t, r) => t in e ? $o(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vo = (e, t) => {
4326
+ const nt = Ve(!1);
4327
+ var Uo = Object.defineProperty, Do = Object.defineProperties, $o = Object.getOwnPropertyDescriptors, tr = Object.getOwnPropertySymbols, Go = Object.prototype.hasOwnProperty, ko = Object.prototype.propertyIsEnumerable, rr = (e, t, r) => t in e ? Uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, jo = (e, t) => {
4349
4328
  for (var r in t || (t = {}))
4350
- ko.call(t, r) && nr(e, r, t[r]);
4351
- if (rr)
4352
- for (var r of rr(t))
4353
- jo.call(t, r) && nr(e, r, t[r]);
4329
+ Go.call(t, r) && rr(e, r, t[r]);
4330
+ if (tr)
4331
+ for (var r of tr(t))
4332
+ ko.call(t, r) && rr(e, r, t[r]);
4354
4333
  return e;
4355
- }, Wo = (e, t) => Do(e, Go(t));
4356
- let Et;
4357
- const ke = We(null);
4358
- function ir(e) {
4334
+ }, Vo = (e, t) => Do(e, $o(t));
4335
+ let yt;
4336
+ const Ge = Ve(null);
4337
+ function nr(e) {
4359
4338
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4360
4339
  }
4361
- function Ze(e, t = de().fallbackLocale) {
4362
- const r = ir(e);
4363
- return t ? [.../* @__PURE__ */ new Set([...r, ...ir(t)])] : r;
4340
+ function Xe(e, t = pe().fallbackLocale) {
4341
+ const r = nr(e);
4342
+ return t ? [.../* @__PURE__ */ new Set([...r, ...nr(t)])] : r;
4364
4343
  }
4365
4344
  function re() {
4366
- return Et ?? void 0;
4345
+ return yt ?? void 0;
4367
4346
  }
4368
- ke.subscribe((e) => {
4369
- Et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4347
+ Ge.subscribe((e) => {
4348
+ yt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4370
4349
  });
4371
- const Xo = (e) => {
4372
- if (e && Io(e) && xt(e)) {
4373
- const { loadingDelay: t } = de();
4350
+ const Wo = (e) => {
4351
+ if (e && Io(e) && bt(e)) {
4352
+ const { loadingDelay: t } = pe();
4374
4353
  let r;
4375
4354
  return typeof window < "u" && re() != null && t ? r = window.setTimeout(
4376
- () => ot.set(!0),
4355
+ () => nt.set(!0),
4377
4356
  t
4378
- ) : ot.set(!0), on(e).then(() => {
4379
- ke.set(e);
4357
+ ) : nt.set(!0), on(e).then(() => {
4358
+ Ge.set(e);
4380
4359
  }).finally(() => {
4381
- clearTimeout(r), ot.set(!1);
4360
+ clearTimeout(r), nt.set(!1);
4382
4361
  });
4383
4362
  }
4384
- return ke.set(e);
4385
- }, be = Wo(Vo({}, ke), {
4386
- set: Xo
4387
- }), qe = (e) => {
4363
+ return Ge.set(e);
4364
+ }, ye = Vo(jo({}, Ge), {
4365
+ set: Wo
4366
+ }), ze = (e) => {
4388
4367
  const t = /* @__PURE__ */ Object.create(null);
4389
4368
  return (n) => {
4390
4369
  const i = JSON.stringify(n);
4391
4370
  return i in t ? t[i] : t[i] = e(n);
4392
4371
  };
4393
4372
  };
4394
- var zo = Object.defineProperty, je = Object.getOwnPropertySymbols, sn = Object.prototype.hasOwnProperty, an = Object.prototype.propertyIsEnumerable, or = (e, t, r) => t in e ? zo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Tt = (e, t) => {
4373
+ var Xo = Object.defineProperty, ke = Object.getOwnPropertySymbols, sn = Object.prototype.hasOwnProperty, an = Object.prototype.propertyIsEnumerable, ir = (e, t, r) => t in e ? Xo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ht = (e, t) => {
4395
4374
  for (var r in t || (t = {}))
4396
- sn.call(t, r) && or(e, r, t[r]);
4397
- if (je)
4398
- for (var r of je(t))
4399
- an.call(t, r) && or(e, r, t[r]);
4375
+ sn.call(t, r) && ir(e, r, t[r]);
4376
+ if (ke)
4377
+ for (var r of ke(t))
4378
+ an.call(t, r) && ir(e, r, t[r]);
4400
4379
  return e;
4401
- }, ye = (e, t) => {
4380
+ }, _e = (e, t) => {
4402
4381
  var r = {};
4403
4382
  for (var n in e)
4404
4383
  sn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4405
- if (e != null && je)
4406
- for (var n of je(e))
4384
+ if (e != null && ke)
4385
+ for (var n of ke(e))
4407
4386
  t.indexOf(n) < 0 && an.call(e, n) && (r[n] = e[n]);
4408
4387
  return r;
4409
4388
  };
4410
4389
  const Se = (e, t) => {
4411
- const { formats: r } = de();
4390
+ const { formats: r } = pe();
4412
4391
  if (e in r && t in r[e])
4413
4392
  return r[e][t];
4414
4393
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4415
- }, Zo = qe(
4394
+ }, zo = ze(
4416
4395
  (e) => {
4417
- var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4396
+ var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4418
4397
  if (r == null)
4419
4398
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4420
4399
  return n && (i = Se("number", n)), new Intl.NumberFormat(r, i);
4421
4400
  }
4422
- ), qo = qe(
4401
+ ), Zo = ze(
4423
4402
  (e) => {
4424
- var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4403
+ var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4425
4404
  if (r == null)
4426
4405
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4427
4406
  return n ? i = Se("date", n) : Object.keys(i).length === 0 && (i = Se("date", "short")), new Intl.DateTimeFormat(r, i);
4428
4407
  }
4429
- ), Qo = qe(
4408
+ ), qo = ze(
4430
4409
  (e) => {
4431
- var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4410
+ var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4432
4411
  if (r == null)
4433
4412
  throw new Error(
4434
4413
  '[svelte-i18n] A "locale" must be set to format time values'
4435
4414
  );
4436
4415
  return n ? i = Se("time", n) : Object.keys(i).length === 0 && (i = Se("time", "short")), new Intl.DateTimeFormat(r, i);
4437
4416
  }
4438
- ), Jo = (e = {}) => {
4417
+ ), Qo = (e = {}) => {
4439
4418
  var t = e, {
4440
4419
  locale: r = re()
4441
- } = t, n = ye(t, [
4420
+ } = t, n = _e(t, [
4442
4421
  "locale"
4443
4422
  ]);
4444
- return Zo(Tt({ locale: r }, n));
4445
- }, Yo = (e = {}) => {
4423
+ return zo(Ht({ locale: r }, n));
4424
+ }, Jo = (e = {}) => {
4446
4425
  var t = e, {
4447
4426
  locale: r = re()
4448
- } = t, n = ye(t, [
4427
+ } = t, n = _e(t, [
4449
4428
  "locale"
4450
4429
  ]);
4451
- return qo(Tt({ locale: r }, n));
4452
- }, Ko = (e = {}) => {
4430
+ return Zo(Ht({ locale: r }, n));
4431
+ }, Yo = (e = {}) => {
4453
4432
  var t = e, {
4454
4433
  locale: r = re()
4455
- } = t, n = ye(t, [
4434
+ } = t, n = _e(t, [
4456
4435
  "locale"
4457
4436
  ]);
4458
- return Qo(Tt({ locale: r }, n));
4459
- }, es = qe(
4437
+ return qo(Ht({ locale: r }, n));
4438
+ }, Ko = ze(
4460
4439
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4461
- (e, t = re()) => new Mo(e, t, de().formats, {
4462
- ignoreTag: de().ignoreTag
4440
+ (e, t = re()) => new To(e, t, pe().formats, {
4441
+ ignoreTag: pe().ignoreTag
4463
4442
  })
4464
- ), ts = (e, t = {}) => {
4443
+ ), es = (e, t = {}) => {
4465
4444
  var r, n, i, o;
4466
4445
  let s = t;
4467
4446
  typeof e == "object" && (s = e, e = s.id);
@@ -4476,7 +4455,7 @@ const Se = (e, t) => {
4476
4455
  );
4477
4456
  let h = en(e, u);
4478
4457
  if (!h)
4479
- h = (o = (i = (n = (r = de()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4458
+ h = (o = (i = (n = (r = pe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4480
4459
  else if (typeof h != "string")
4481
4460
  return console.warn(
4482
4461
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4485,7 +4464,7 @@ const Se = (e, t) => {
4485
4464
  return h;
4486
4465
  let f = h;
4487
4466
  try {
4488
- f = es(h, u).format(a);
4467
+ f = Ko(h, u).format(a);
4489
4468
  } catch (c) {
4490
4469
  c instanceof Error && console.warn(
4491
4470
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4493,20 +4472,20 @@ const Se = (e, t) => {
4493
4472
  );
4494
4473
  }
4495
4474
  return f;
4496
- }, rs = (e, t) => Ko(t).format(e), ns = (e, t) => Yo(t).format(e), is = (e, t) => Jo(t).format(e), os = (e, t = re()) => en(e, t), ss = ge([be, Me], () => ts);
4497
- ge([be], () => rs);
4498
- ge([be], () => ns);
4499
- ge([be], () => is);
4500
- ge([be, Me], () => os);
4501
- window.emWidgets = { topic: bi };
4502
- const as = (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)), Ts = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4503
- function us(e, t) {
4475
+ }, ts = (e, t) => Yo(t).format(e), rs = (e, t) => Jo(t).format(e), ns = (e, t) => Qo(t).format(e), is = (e, t = re()) => en(e, t), os = be([ye, Me], () => es);
4476
+ be([ye], () => ts);
4477
+ be([ye], () => rs);
4478
+ be([ye], () => ns);
4479
+ be([ye, Me], () => is);
4480
+ window.emWidgets = { topic: yi };
4481
+ const ss = (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)), Ss = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4482
+ function as(e, t) {
4504
4483
  if (e) {
4505
4484
  const r = document.createElement("style");
4506
4485
  r.innerHTML = t, e.appendChild(r);
4507
4486
  }
4508
4487
  }
4509
- function ls(e, t) {
4488
+ function us(e, t) {
4510
4489
  const r = new URL(t);
4511
4490
  fetch(r.href).then((n) => n.text()).then((n) => {
4512
4491
  const i = document.createElement("style");
@@ -4515,7 +4494,7 @@ function ls(e, t) {
4515
4494
  console.error("There was an error while trying to load client styling from URL", n);
4516
4495
  });
4517
4496
  }
4518
- function hs(e, t, r) {
4497
+ function ls(e, t, r) {
4519
4498
  if (window.emMessageBus) {
4520
4499
  const n = document.createElement("style");
4521
4500
  window.emMessageBus.subscribe(t, (i) => {
@@ -4523,7 +4502,7 @@ function hs(e, t, r) {
4523
4502
  });
4524
4503
  }
4525
4504
  }
4526
- function sr(e, { delay: t = 0, duration: r = 400, easing: n = Er } = {}) {
4505
+ function or(e, { delay: t = 0, duration: r = 400, easing: n = xr } = {}) {
4527
4506
  const i = +getComputedStyle(e).opacity;
4528
4507
  return {
4529
4508
  delay: t,
@@ -4532,13 +4511,13 @@ function sr(e, { delay: t = 0, duration: r = 400, easing: n = Er } = {}) {
4532
4511
  css: (o) => `opacity: ${o * i}`
4533
4512
  };
4534
4513
  }
4535
- function ar(e, t) {
4514
+ function sr(e, t) {
4536
4515
  rn(e, t);
4537
4516
  }
4538
- function cs(e) {
4539
- be.set(e);
4517
+ function hs(e) {
4518
+ ye.set(e);
4540
4519
  }
4541
- const ur = {
4520
+ const ar = {
4542
4521
  en: {
4543
4522
  language: "Select Language"
4544
4523
  },
@@ -4573,70 +4552,70 @@ const ur = {
4573
4552
  language: "Select Language"
4574
4553
  }
4575
4554
  };
4576
- function fs(e) {
4577
- On(e, "svelte-1bq06b7", "*,*::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 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, #22B04E));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 img,.HamburgerModalWindow .HamburgerSecondaryMenu img{max-width:40px}.HamburgerModalWindow .HamburgerPrimaryMenu{background:var(--emw--color-primary);white-space:nowrap;overflow:scroll;list-style:none;border-bottom:2px solid var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));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, #22B04E))}.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, #22B04E)}.FlagIcon{margin-left:12px}.NoFlag{width:88%;margin:0 20px}");
4555
+ function cs(e) {
4556
+ In(e, "svelte-1bq06b7", "*,*::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 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, #22B04E));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 img,.HamburgerModalWindow .HamburgerSecondaryMenu img{max-width:40px}.HamburgerModalWindow .HamburgerPrimaryMenu{background:var(--emw--color-primary);white-space:nowrap;overflow:scroll;list-style:none;border-bottom:2px solid var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));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, #22B04E))}.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, #22B04E)}.FlagIcon{margin-left:12px}.NoFlag{width:88%;margin:0 20px}");
4578
4557
  }
4579
- function lr(e, t, r) {
4558
+ function ur(e, t, r) {
4580
4559
  const n = e.slice();
4581
4560
  return n[53] = t[r], n;
4582
4561
  }
4583
- function hr(e, t, r) {
4562
+ function lr(e, t, r) {
4584
4563
  const n = e.slice();
4585
4564
  return n[1] = t[r], n;
4586
4565
  }
4587
- function cr(e, t, r) {
4566
+ function hr(e, t, r) {
4588
4567
  const n = e.slice();
4589
4568
  return n[56] = t[r], n;
4590
4569
  }
4591
- function fr(e, t, r) {
4570
+ function cr(e, t, r) {
4592
4571
  const n = e.slice();
4593
4572
  return n[59] = t[r], n;
4594
4573
  }
4595
- const ms = (e) => ({}), mr = (e) => ({});
4596
- function dr(e) {
4574
+ const fs = (e) => ({}), fr = (e) => ({});
4575
+ function mr(e) {
4597
4576
  let t, r, n, i, o, s, a, u, l, h, f, c, d, m, b, w;
4598
4577
  const O = (
4599
4578
  /*#slots*/
4600
4579
  e[31].close
4601
- ), P = Hn(
4580
+ ), I = Sn(
4602
4581
  O,
4603
4582
  e,
4604
4583
  /*$$scope*/
4605
4584
  e[30],
4606
- mr
4607
- ), H = P || ds();
4608
- let I = Q(
4585
+ fr
4586
+ ), S = I || ms();
4587
+ let L = Q(
4609
4588
  /*HamburgerMenuItems*/
4610
4589
  e[4]
4611
4590
  ), y = [];
4612
- for (let v = 0; v < I.length; v += 1)
4613
- y[v] = pr(fr(e, I, v));
4591
+ for (let v = 0; v < L.length; v += 1)
4592
+ y[v] = dr(cr(e, L, v));
4614
4593
  let M = Q(
4615
4594
  /*activeMenuItemChildren*/
4616
4595
  e[6]
4617
4596
  ), _ = [];
4618
4597
  for (let v = 0; v < M.length; v += 1)
4619
- _[v] = gr(cr(e, M, v));
4598
+ _[v] = pr(hr(e, M, v));
4620
4599
  let A = (
4621
4600
  /*languagesArray*/
4622
- e[10].length > 1 && br(e)
4601
+ e[10].length > 1 && gr(e)
4623
4602
  );
4624
4603
  return {
4625
4604
  c() {
4626
- t = B("div"), r = B("span"), H && H.c(), i = D(), o = B("div"), s = B("ul");
4605
+ t = P("div"), r = P("span"), S && S.c(), i = $(), o = P("div"), s = P("ul");
4627
4606
  for (let v = 0; v < y.length; v += 1)
4628
4607
  y[v].c();
4629
- u = D(), l = B("ul");
4608
+ u = $(), l = P("ul");
4630
4609
  for (let v = 0; v < _.length; v += 1)
4631
4610
  _[v].c();
4632
- f = D(), A && A.c(), g(r, "class", n = /*modalIsOpen*/
4611
+ f = $(), A && A.c(), g(r, "class", n = /*modalIsOpen*/
4633
4612
  e[7] ? "ModalCloseBtn" : ""), g(r, "role", "button"), g(s, "class", a = "HamburgerPrimaryMenu " + /*menuIsFixed*/
4634
4613
  (e[8] ? "HamburgerPrimaryMenuFixed" : "")), g(l, "class", h = "HamburgerSecondaryMenu " + /*menuIsFixed*/
4635
4614
  (e[8] ? "HamburgerSecondaryMenuFixed" : "")), g(o, "class", c = "HamburgerModalContainer " + /*modalIsOpen*/
4636
4615
  (e[7] ? "ActiveHamburgerMenu" : "")), g(t, "class", "HamburgerModalWindow");
4637
4616
  },
4638
- m(v, L) {
4639
- k(v, t, L), x(t, r), H && H.m(r, null), x(t, i), x(t, o), x(o, s);
4617
+ m(v, C) {
4618
+ k(v, t, C), x(t, r), S && S.m(r, null), x(t, i), x(t, o), x(o, s);
4640
4619
  for (let E = 0; E < y.length; E += 1)
4641
4620
  y[E] && y[E].m(s, null);
4642
4621
  x(o, u), x(o, l);
@@ -4649,10 +4628,10 @@ function dr(e) {
4649
4628
  e[14]
4650
4629
  ), b = !0);
4651
4630
  },
4652
- p(v, L) {
4653
- if (e = v, P && P.p && (!m || L[0] & /*$$scope*/
4631
+ p(v, C) {
4632
+ if (e = v, I && I.p && (!m || C[0] & /*$$scope*/
4654
4633
  1073741824) && Mn(
4655
- P,
4634
+ I,
4656
4635
  O,
4657
4636
  e,
4658
4637
  /*$$scope*/
@@ -4661,33 +4640,33 @@ function dr(e) {
4661
4640
  O,
4662
4641
  /*$$scope*/
4663
4642
  e[30],
4664
- L,
4665
- ms
4666
- ) : An(
4643
+ C,
4644
+ fs
4645
+ ) : Bn(
4667
4646
  /*$$scope*/
4668
4647
  e[30]
4669
4648
  ),
4670
- mr
4671
- ), (!m || L[0] & /*modalIsOpen*/
4649
+ fr
4650
+ ), (!m || C[0] & /*modalIsOpen*/
4672
4651
  128 && n !== (n = /*modalIsOpen*/
4673
- e[7] ? "ModalCloseBtn" : "")) && g(r, "class", n), L[0] & /*activeMenuItemId, HamburgerMenuItems, changeMenu*/
4652
+ e[7] ? "ModalCloseBtn" : "")) && g(r, "class", n), C[0] & /*activeMenuItemId, HamburgerMenuItems, changeMenu*/
4674
4653
  32816) {
4675
- I = Q(
4654
+ L = Q(
4676
4655
  /*HamburgerMenuItems*/
4677
4656
  e[4]
4678
4657
  );
4679
4658
  let E;
4680
- for (E = 0; E < I.length; E += 1) {
4681
- const j = fr(e, I, E);
4682
- y[E] ? y[E].p(j, L) : (y[E] = pr(j), y[E].c(), y[E].m(s, null));
4659
+ for (E = 0; E < L.length; E += 1) {
4660
+ const j = cr(e, L, E);
4661
+ y[E] ? y[E].p(j, C) : (y[E] = dr(j), y[E].c(), y[E].m(s, null));
4683
4662
  }
4684
4663
  for (; E < y.length; E += 1)
4685
4664
  y[E].d(1);
4686
- y.length = I.length;
4665
+ y.length = L.length;
4687
4666
  }
4688
- if ((!m || L[0] & /*menuIsFixed*/
4667
+ if ((!m || C[0] & /*menuIsFixed*/
4689
4668
  256 && a !== (a = "HamburgerPrimaryMenu " + /*menuIsFixed*/
4690
- (e[8] ? "HamburgerPrimaryMenuFixed" : ""))) && g(s, "class", a), L[0] & /*handleClick, activeMenuItemChildren*/
4669
+ (e[8] ? "HamburgerPrimaryMenuFixed" : ""))) && g(s, "class", a), C[0] & /*handleClick, activeMenuItemChildren*/
4691
4670
  65600) {
4692
4671
  M = Q(
4693
4672
  /*activeMenuItemChildren*/
@@ -4695,34 +4674,34 @@ function dr(e) {
4695
4674
  );
4696
4675
  let E;
4697
4676
  for (E = 0; E < M.length; E += 1) {
4698
- const j = cr(e, M, E);
4699
- _[E] ? _[E].p(j, L) : (_[E] = gr(j), _[E].c(), _[E].m(l, null));
4677
+ const j = hr(e, M, E);
4678
+ _[E] ? _[E].p(j, C) : (_[E] = pr(j), _[E].c(), _[E].m(l, null));
4700
4679
  }
4701
4680
  for (; E < _.length; E += 1)
4702
4681
  _[E].d(1);
4703
4682
  _.length = M.length;
4704
4683
  }
4705
- (!m || L[0] & /*menuIsFixed*/
4684
+ (!m || C[0] & /*menuIsFixed*/
4706
4685
  256 && h !== (h = "HamburgerSecondaryMenu " + /*menuIsFixed*/
4707
4686
  (e[8] ? "HamburgerSecondaryMenuFixed" : ""))) && g(l, "class", h), /*languagesArray*/
4708
- e[10].length > 1 ? A ? A.p(e, L) : (A = br(e), A.c(), A.m(o, null)) : A && (A.d(1), A = null), (!m || L[0] & /*modalIsOpen*/
4687
+ e[10].length > 1 ? A ? A.p(e, C) : (A = gr(e), A.c(), A.m(o, null)) : A && (A.d(1), A = null), (!m || C[0] & /*modalIsOpen*/
4709
4688
  128 && c !== (c = "HamburgerModalContainer " + /*modalIsOpen*/
4710
4689
  (e[7] ? "ActiveHamburgerMenu" : ""))) && g(o, "class", c);
4711
4690
  },
4712
4691
  i(v) {
4713
- m || (le(H, v), v && he(() => {
4714
- m && (d || (d = $t(t, sr, { transitionDuration: xr }, !0)), d.run(1));
4692
+ m || (le(S, v), v && ce(() => {
4693
+ m && (d || (d = Ut(t, or, { transitionDuration: vr }, !0)), d.run(1));
4715
4694
  }), m = !0);
4716
4695
  },
4717
4696
  o(v) {
4718
- at(H, v), v && (d || (d = $t(t, sr, { transitionDuration: xr }, !1)), d.run(0)), m = !1;
4697
+ ot(S, v), v && (d || (d = Ut(t, or, { transitionDuration: vr }, !1)), d.run(0)), m = !1;
4719
4698
  },
4720
4699
  d(v) {
4721
- v && U(t), H && H.d(v), Fe(y, v), Fe(_, v), A && A.d(), e[38](null), v && d && d.end(), b = !1, w();
4700
+ v && U(t), S && S.d(v), Fe(y, v), Fe(_, v), A && A.d(), e[38](null), v && d && d.end(), b = !1, w();
4722
4701
  }
4723
4702
  };
4724
4703
  }
4725
- function ds(e) {
4704
+ function ms(e) {
4726
4705
  let t, r;
4727
4706
  return {
4728
4707
  c() {
@@ -4731,13 +4710,13 @@ function ds(e) {
4731
4710
  m(n, i) {
4732
4711
  k(n, t, i), x(t, r);
4733
4712
  },
4734
- p: $,
4713
+ p: D,
4735
4714
  d(n) {
4736
4715
  n && U(t);
4737
4716
  }
4738
4717
  };
4739
4718
  }
4740
- function pr(e) {
4719
+ function dr(e) {
4741
4720
  let t, r, n, i, o, s = (
4742
4721
  /*mainItem*/
4743
4722
  e[59].label + ""
@@ -4753,7 +4732,7 @@ function pr(e) {
4753
4732
  }
4754
4733
  return {
4755
4734
  c() {
4756
- t = B("li"), r = B("div"), n = B("img"), o = D(), a = K(s), u = D(), Y(n.src, i = /*mainItem*/
4735
+ t = P("li"), r = P("div"), n = P("img"), o = $(), a = K(s), u = $(), Y(n.src, i = /*mainItem*/
4757
4736
  e[59].img) || g(n, "src", i), g(n, "alt", "menu icon"), g(r, "class", "HamburgerItemContainer"), g(t, "class", l = /*activeMenuItemId*/
4758
4737
  e[5] === /*mainItem*/
4759
4738
  e[59].id ? "ActiveItem" : "");
@@ -4766,7 +4745,7 @@ function pr(e) {
4766
4745
  16 && !Y(n.src, i = /*mainItem*/
4767
4746
  e[59].img) && g(n, "src", i), m[0] & /*HamburgerMenuItems*/
4768
4747
  16 && s !== (s = /*mainItem*/
4769
- e[59].label + "") && pe(a, s), m[0] & /*activeMenuItemId, HamburgerMenuItems*/
4748
+ e[59].label + "") && ge(a, s), m[0] & /*activeMenuItemId, HamburgerMenuItems*/
4770
4749
  48 && l !== (l = /*activeMenuItemId*/
4771
4750
  e[5] === /*mainItem*/
4772
4751
  e[59].id ? "ActiveItem" : "") && g(t, "class", l);
@@ -4776,7 +4755,7 @@ function pr(e) {
4776
4755
  }
4777
4756
  };
4778
4757
  }
4779
- function gr(e) {
4758
+ function pr(e) {
4780
4759
  let t, r, n, i, o = (
4781
4760
  /*secondaryItem*/
4782
4761
  e[56].label + ""
@@ -4793,7 +4772,7 @@ function gr(e) {
4793
4772
  }
4794
4773
  return {
4795
4774
  c() {
4796
- t = B("li"), r = B("img"), i = D(), s = K(o), a = D(), Y(r.src, n = /*secondaryItem*/
4775
+ t = P("li"), r = P("img"), i = $(), s = K(o), a = $(), Y(r.src, n = /*secondaryItem*/
4797
4776
  e[56].img) || g(r, "src", n), g(r, "alt", "menu icon");
4798
4777
  },
4799
4778
  m(f, c) {
@@ -4804,14 +4783,14 @@ function gr(e) {
4804
4783
  64 && !Y(r.src, n = /*secondaryItem*/
4805
4784
  e[56].img) && g(r, "src", n), c[0] & /*activeMenuItemChildren*/
4806
4785
  64 && o !== (o = /*secondaryItem*/
4807
- e[56].label + "") && pe(s, o);
4786
+ e[56].label + "") && ge(s, o);
4808
4787
  },
4809
4788
  d(f) {
4810
4789
  f && U(t), u = !1, l();
4811
4790
  }
4812
4791
  };
4813
4792
  }
4814
- function br(e) {
4793
+ function gr(e) {
4815
4794
  let t, r, n = (
4816
4795
  /*$_*/
4817
4796
  e[13]("language") + ""
@@ -4819,13 +4798,13 @@ function br(e) {
4819
4798
  function s(l, h) {
4820
4799
  return (
4821
4800
  /*countryflaghamburger*/
4822
- l[0] !== "true" ? gs : ps
4801
+ l[0] !== "true" ? ps : ds
4823
4802
  );
4824
4803
  }
4825
4804
  let a = s(e), u = a(e);
4826
4805
  return {
4827
4806
  c() {
4828
- t = B("div"), r = B("span"), i = K(n), o = D(), u.c(), g(r, "class", "LanguageSelect"), g(t, "class", "LanguageSelectorTitle");
4807
+ t = P("div"), r = P("span"), i = K(n), o = $(), u.c(), g(r, "class", "LanguageSelect"), g(t, "class", "LanguageSelectorTitle");
4829
4808
  },
4830
4809
  m(l, h) {
4831
4810
  k(l, t, h), x(t, r), x(r, i), x(t, o), u.m(t, null);
@@ -4833,24 +4812,24 @@ function br(e) {
4833
4812
  p(l, h) {
4834
4813
  h[0] & /*$_*/
4835
4814
  8192 && n !== (n = /*$_*/
4836
- l[13]("language") + "") && pe(i, n), a === (a = s(l)) && u ? u.p(l, h) : (u.d(1), u = a(l), u && (u.c(), u.m(t, null)));
4815
+ l[13]("language") + "") && ge(i, n), a === (a = s(l)) && u ? u.p(l, h) : (u.d(1), u = a(l), u && (u.c(), u.m(t, null)));
4837
4816
  },
4838
4817
  d(l) {
4839
4818
  l && U(t), u.d();
4840
4819
  }
4841
4820
  };
4842
4821
  }
4843
- function ps(e) {
4822
+ function ds(e) {
4844
4823
  let t, r, n, i, o, s, a, u = (
4845
4824
  /*selectedLanguage*/
4846
4825
  e[12].slice(-2) + ""
4847
- ), l, h, f, c, d, m, b, w, O, P, H, I, y = (
4826
+ ), l, h, f, c, d, m, b, w, O, I, S, L, y = (
4848
4827
  /*isOptionsListVisible*/
4849
- e[11] && yr(e)
4828
+ e[11] && br(e)
4850
4829
  );
4851
4830
  return {
4852
4831
  c() {
4853
- t = B("div"), r = B("div"), n = B("span"), i = B("img"), s = D(), a = B("span"), l = K(u), h = D(), f = B("span"), c = ee("svg"), d = ee("g"), m = ee("g"), b = ee("g"), w = ee("path"), P = D(), y && y.c(), Y(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4832
+ t = P("div"), r = P("div"), n = P("span"), i = P("img"), s = $(), a = P("span"), l = K(u), h = $(), f = P("span"), c = ee("svg"), d = ee("g"), m = ee("g"), b = ee("g"), w = ee("path"), I = $(), y && y.c(), Y(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4854
4833
  e[20](
4855
4834
  /*selectedLanguage*/
4856
4835
  e[12].slice(-2)
@@ -4858,12 +4837,12 @@ function ps(e) {
4858
4837
  (e[11] ? "TriangleActive" : "")), g(r, "class", "SelectedOption Item ItemLanguage"), g(t, "class", "LanguageDropdown");
4859
4838
  },
4860
4839
  m(M, _) {
4861
- k(M, t, _), 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, b), x(b, w), x(t, P), y && y.m(t, null), H || (I = te(
4840
+ k(M, t, _), 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, b), x(b, w), x(t, I), y && y.m(t, null), S || (L = te(
4862
4841
  r,
4863
4842
  "click",
4864
4843
  /*click_handler_2*/
4865
4844
  e[36]
4866
- ), H = !0);
4845
+ ), S = !0);
4867
4846
  },
4868
4847
  p(M, _) {
4869
4848
  _[0] & /*selectedLanguage, languagesArray*/
@@ -4873,30 +4852,30 @@ function ps(e) {
4873
4852
  M[12].slice(-2)
4874
4853
  )}.svg`) && g(i, "src", o), _[0] & /*selectedLanguage*/
4875
4854
  4096 && u !== (u = /*selectedLanguage*/
4876
- M[12].slice(-2) + "") && pe(l, u), _[0] & /*isOptionsListVisible*/
4855
+ M[12].slice(-2) + "") && ge(l, u), _[0] & /*isOptionsListVisible*/
4877
4856
  2048 && O !== (O = "TriangleInactive " + /*isOptionsListVisible*/
4878
4857
  (M[11] ? "TriangleActive" : "")) && g(f, "class", O), /*isOptionsListVisible*/
4879
- M[11] ? y ? y.p(M, _) : (y = yr(M), y.c(), y.m(t, null)) : y && (y.d(1), y = null);
4858
+ M[11] ? y ? y.p(M, _) : (y = br(M), y.c(), y.m(t, null)) : y && (y.d(1), y = null);
4880
4859
  },
4881
4860
  d(M) {
4882
- M && U(t), y && y.d(), H = !1, I();
4861
+ M && U(t), y && y.d(), S = !1, L();
4883
4862
  }
4884
4863
  };
4885
4864
  }
4886
- function gs(e) {
4865
+ function ps(e) {
4887
4866
  let t, r, n, i = Q(
4888
4867
  /*languagesArray*/
4889
4868
  e[10]
4890
4869
  ), o = [];
4891
4870
  for (let s = 0; s < i.length; s += 1)
4892
- o[s] = vr(hr(e, i, s));
4871
+ o[s] = _r(lr(e, i, s));
4893
4872
  return {
4894
4873
  c() {
4895
- t = B("select");
4874
+ t = P("select");
4896
4875
  for (let s = 0; s < o.length; s += 1)
4897
4876
  o[s].c();
4898
4877
  g(t, "class", "Item ItemLanguage NoFlag"), /*selectedLanguage*/
4899
- e[12] === void 0 && he(() => (
4878
+ e[12] === void 0 && ce(() => (
4900
4879
  /*select_change_handler*/
4901
4880
  e[34].call(t)
4902
4881
  ));
@@ -4905,7 +4884,7 @@ function gs(e) {
4905
4884
  k(s, t, a);
4906
4885
  for (let u = 0; u < o.length; u += 1)
4907
4886
  o[u] && o[u].m(t, null);
4908
- Rt(
4887
+ Nt(
4909
4888
  t,
4910
4889
  /*selectedLanguage*/
4911
4890
  e[12],
@@ -4934,35 +4913,35 @@ function gs(e) {
4934
4913
  );
4935
4914
  let u;
4936
4915
  for (u = 0; u < i.length; u += 1) {
4937
- const l = hr(s, i, u);
4938
- o[u] ? o[u].p(l, a) : (o[u] = vr(l), o[u].c(), o[u].m(t, null));
4916
+ const l = lr(s, i, u);
4917
+ o[u] ? o[u].p(l, a) : (o[u] = _r(l), o[u].c(), o[u].m(t, null));
4939
4918
  }
4940
4919
  for (; u < o.length; u += 1)
4941
4920
  o[u].d(1);
4942
4921
  o.length = i.length;
4943
4922
  }
4944
4923
  a[0] & /*selectedLanguage, languagesArray*/
4945
- 5120 && Rt(
4924
+ 5120 && Nt(
4946
4925
  t,
4947
4926
  /*selectedLanguage*/
4948
4927
  s[12]
4949
4928
  );
4950
4929
  },
4951
4930
  d(s) {
4952
- s && U(t), Fe(o, s), r = !1, Z(n);
4931
+ s && U(t), Fe(o, s), r = !1, z(n);
4953
4932
  }
4954
4933
  };
4955
4934
  }
4956
- function yr(e) {
4935
+ function br(e) {
4957
4936
  let t, r = Q(
4958
4937
  /*languagesArray*/
4959
4938
  e[10]
4960
4939
  ), n = [];
4961
4940
  for (let i = 0; i < r.length; i += 1)
4962
- n[i] = _r(lr(e, r, i));
4941
+ n[i] = yr(ur(e, r, i));
4963
4942
  return {
4964
4943
  c() {
4965
- t = B("div");
4944
+ t = P("div");
4966
4945
  for (let i = 0; i < n.length; i += 1)
4967
4946
  n[i].c();
4968
4947
  g(t, "class", "OptionList");
@@ -4981,8 +4960,8 @@ function yr(e) {
4981
4960
  );
4982
4961
  let s;
4983
4962
  for (s = 0; s < r.length; s += 1) {
4984
- const a = lr(i, r, s);
4985
- n[s] ? n[s].p(a, o) : (n[s] = _r(a), n[s].c(), n[s].m(t, null));
4963
+ const a = ur(i, r, s);
4964
+ n[s] ? n[s].p(a, o) : (n[s] = yr(a), n[s].c(), n[s].m(t, null));
4986
4965
  }
4987
4966
  for (; s < n.length; s += 1)
4988
4967
  n[s].d(1);
@@ -4994,7 +4973,7 @@ function yr(e) {
4994
4973
  }
4995
4974
  };
4996
4975
  }
4997
- function _r(e) {
4976
+ function yr(e) {
4998
4977
  let t, r, n, i, o, s, a = (
4999
4978
  /*operatorLanguage*/
5000
4979
  e[53] + ""
@@ -5010,7 +4989,7 @@ function _r(e) {
5010
4989
  }
5011
4990
  return {
5012
4991
  c() {
5013
- t = B("div"), r = B("span"), n = B("img"), o = D(), s = B("span"), u = K(a), l = D(), Y(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4992
+ t = P("div"), r = P("span"), n = P("img"), o = $(), s = P("span"), u = K(a), l = $(), Y(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
5014
4993
  e[20](
5015
4994
  /*operatorLanguage*/
5016
4995
  e[53]
@@ -5027,22 +5006,22 @@ function _r(e) {
5027
5006
  e[53]
5028
5007
  )}.svg`) && g(n, "src", i), m[0] & /*languagesArray*/
5029
5008
  1024 && a !== (a = /*operatorLanguage*/
5030
- e[53] + "") && pe(u, a);
5009
+ e[53] + "") && ge(u, a);
5031
5010
  },
5032
5011
  d(d) {
5033
5012
  d && U(t), h = !1, f();
5034
5013
  }
5035
5014
  };
5036
5015
  }
5037
- function vr(e) {
5016
+ function _r(e) {
5038
5017
  let t, r = (
5039
5018
  /*lang*/
5040
5019
  e[1].slice(-2) + ""
5041
5020
  ), n, i;
5042
5021
  return {
5043
5022
  c() {
5044
- t = B("option"), n = K(r), t.__value = i = /*lang*/
5045
- e[1], Nt(t, t.__value), t.selected = !0;
5023
+ t = P("option"), n = K(r), t.__value = i = /*lang*/
5024
+ e[1], Ct(t, t.__value), t.selected = !0;
5046
5025
  },
5047
5026
  m(o, s) {
5048
5027
  k(o, t, s), x(t, n);
@@ -5050,23 +5029,23 @@ function vr(e) {
5050
5029
  p(o, s) {
5051
5030
  s[0] & /*languagesArray*/
5052
5031
  1024 && r !== (r = /*lang*/
5053
- o[1].slice(-2) + "") && pe(n, r), s[0] & /*languagesArray*/
5032
+ o[1].slice(-2) + "") && ge(n, r), s[0] & /*languagesArray*/
5054
5033
  1024 && i !== (i = /*lang*/
5055
- o[1]) && (t.__value = i, Nt(t, t.__value));
5034
+ o[1]) && (t.__value = i, Ct(t, t.__value));
5056
5035
  },
5057
5036
  d(o) {
5058
5037
  o && U(t);
5059
5038
  }
5060
5039
  };
5061
5040
  }
5062
- function bs(e) {
5041
+ function gs(e) {
5063
5042
  let t, r, n = (
5064
5043
  /*show*/
5065
- e[9] === !0 && dr(e)
5044
+ e[9] === !0 && mr(e)
5066
5045
  );
5067
5046
  return {
5068
5047
  c() {
5069
- t = B("div"), n && n.c();
5048
+ t = P("div"), n && n.c();
5070
5049
  },
5071
5050
  m(i, o) {
5072
5051
  k(i, t, o), n && n.m(t, null), e[39](t), r = !0;
@@ -5074,7 +5053,7 @@ function bs(e) {
5074
5053
  p(i, o) {
5075
5054
  /*show*/
5076
5055
  i[9] === !0 ? n ? (n.p(i, o), o[0] & /*show*/
5077
- 512 && le(n, 1)) : (n = dr(i), n.c(), le(n, 1), n.m(t, null)) : n && (Zn(), at(n, 1, 1, () => {
5056
+ 512 && le(n, 1)) : (n = mr(i), n.c(), le(n, 1), n.m(t, null)) : n && (Zn(), ot(n, 1, 1, () => {
5078
5057
  n = null;
5079
5058
  }), qn());
5080
5059
  },
@@ -5082,31 +5061,31 @@ function bs(e) {
5082
5061
  r || (le(n), r = !0);
5083
5062
  },
5084
5063
  o(i) {
5085
- at(n), r = !1;
5064
+ ot(n), r = !1;
5086
5065
  },
5087
5066
  d(i) {
5088
5067
  i && U(t), n && n.d(), e[39](null);
5089
5068
  }
5090
5069
  };
5091
5070
  }
5092
- let xr = 350;
5093
- function ys(e, t, r) {
5071
+ let vr = 350;
5072
+ function bs(e, t, r) {
5094
5073
  let n;
5095
- Sn(e, ss, (p) => r(13, n = p));
5096
- 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: b } = t, w, O = window.navigator.userAgent, P = [], H, I = "", y = [], M = !1, _ = !1, A = !1, v = !0, L = [], E = !1, j = !1, ne = "", W;
5074
+ Hn(e, os, (p) => r(13, n = p));
5075
+ 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: b } = t, w, O = window.navigator.userAgent, I = [], S, L = "", y = [], M = !1, _ = !1, A = !1, v = !0, C = [], E = !1, j = !1, ne = "", V, St;
5097
5076
  const ln = () => {
5098
- fetch(h).then((N) => N.json()).then((N) => {
5099
- Object.keys(N).forEach((q) => {
5100
- ar(q, N[q]);
5077
+ fetch(h).then((R) => R.json()).then((R) => {
5078
+ Object.keys(R).forEach((q) => {
5079
+ sr(q, R[q]);
5101
5080
  });
5102
- }).catch((N) => {
5103
- console.log(N);
5081
+ }).catch((R) => {
5082
+ console.log(R);
5104
5083
  });
5105
5084
  };
5106
- Object.keys(ur).forEach((p) => {
5107
- ar(p, ur[p]);
5085
+ Object.keys(ar).forEach((p) => {
5086
+ sr(p, ar[p]);
5108
5087
  });
5109
- const Mt = () => {
5088
+ const Tt = () => {
5110
5089
  r(9, A = !1), r(7, M = !1), r(8, _ = !1), r(11, j = !1), window.postMessage(
5111
5090
  {
5112
5091
  type: "CloseHamburgerMenu",
@@ -5114,7 +5093,7 @@ function ys(e, t, r) {
5114
5093
  },
5115
5094
  window.location.href
5116
5095
  );
5117
- }, At = (p) => {
5096
+ }, Mt = (p) => {
5118
5097
  p.data.type === "OpenHamburgerMenuModal" && (window.postMessage({ type: "DisableScroll" }, window.location.href), r(9, A = !0), setTimeout(
5119
5098
  () => {
5120
5099
  r(7, M = !0);
@@ -5126,32 +5105,32 @@ function ys(e, t, r) {
5126
5105
  },
5127
5106
  1500
5128
5107
  ), hn(s));
5129
- }, Ae = (p, N) => {
5130
- r(5, I = p), r(6, y = N || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
5108
+ }, Be = (p, R) => {
5109
+ r(5, L = p), r(6, y = R || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
5131
5110
  context: "HamburgerMenu",
5132
- menuItem: `${I}`
5111
+ menuItem: `${L}`
5133
5112
  });
5134
5113
  }, Bt = () => {
5135
- let p = P.filter((N) => {
5114
+ let p = I.filter((R) => {
5136
5115
  let q = !1;
5137
- return N.children?.forEach((xn) => {
5116
+ return R.children?.forEach((xn) => {
5138
5117
  xn.path.includes(u) && (q = !0);
5139
5118
  }), q;
5140
5119
  });
5141
- p.length > 0 ? Ae(p[0].id, p[0].children) : Ae(P[0].id, P[0].children);
5142
- }, hn = (p) => new Promise((N, q) => {
5143
- H && !E ? N(H) : Pt(p);
5144
- }), Pt = (p) => {
5145
- fetch(p).then((N) => N.json()).then(
5146
- (N) => {
5147
- r(4, P = N.filter((q) => q?.type !== "banner")), Bt(), r(29, v = !1), H = N, E = !1;
5120
+ p.length > 0 ? Be(p[0].id, p[0].children) : Be(I[0].id, I[0].children);
5121
+ }, hn = (p) => new Promise((R, q) => {
5122
+ S && !E ? R(S) : At(p);
5123
+ }), At = (p) => {
5124
+ fetch(p).then((R) => R.json()).then(
5125
+ (R) => {
5126
+ r(4, I = R.filter((q) => q?.type !== "banner")), Bt(), r(29, v = !1), S = R, E = !1;
5148
5127
  },
5149
- (N) => {
5150
- console.error(N);
5128
+ (R) => {
5129
+ console.error(R);
5151
5130
  }
5152
5131
  );
5153
5132
  };
5154
- let Ot = (p) => {
5133
+ let Pt = (p) => {
5155
5134
  window.postMessage(
5156
5135
  {
5157
5136
  type: "NavigateTo",
@@ -5160,9 +5139,9 @@ function ys(e, t, r) {
5160
5139
  target: p.attrs.target || null
5161
5140
  },
5162
5141
  window.location.href
5163
- ), Mt();
5142
+ ), Tt();
5164
5143
  };
5165
- const Qe = () => {
5144
+ const Ze = () => {
5166
5145
  E = !0, window.postMessage(
5167
5146
  {
5168
5147
  type: "LanguageChanged",
@@ -5171,30 +5150,30 @@ function ys(e, t, r) {
5171
5150
  window.location.href
5172
5151
  );
5173
5152
  }, cn = () => {
5174
- cs(a), E && Pt(s), r(10, L = l.replace(/ /g, "").split(",")), r(10, L = L.map((p) => p.toUpperCase())), r(12, ne = a.toUpperCase());
5153
+ hs(a), E && At(s), r(10, C = l.replace(/ /g, "").split(",")), r(10, C = C.map((p) => p.toUpperCase())), r(12, ne = a.toUpperCase());
5175
5154
  }, It = (p) => {
5176
- r(12, ne = p), r(11, j = !1), Qe();
5177
- }, Lt = () => {
5155
+ r(12, ne = p), r(11, j = !1), Ze();
5156
+ }, Ot = () => {
5178
5157
  r(11, j = !j);
5179
5158
  }, fn = (p) => (d && (p = d.includes(p.toLowerCase()) ? d.slice(-2) : p), p == "EN" ? "US" : p.toUpperCase());
5180
- kn(() => (window.addEventListener("message", At, !1), as(O), () => {
5181
- window.removeEventListener("message", At);
5159
+ kn(() => (window.addEventListener("message", Mt, !1), ss(O), () => {
5160
+ window.emMessageBus && St && St.unsubscribe(), window.removeEventListener("message", Mt);
5182
5161
  }));
5183
- const mn = (p) => Ae(p.id, p.children), dn = (p, N) => {
5184
- Ot(p), N.preventDefault();
5162
+ const mn = (p) => Be(p.id, p.children), dn = (p, R) => {
5163
+ Pt(p), R.preventDefault();
5185
5164
  };
5186
5165
  function pn() {
5187
- ne = Cn(this), r(12, ne), r(10, L);
5166
+ ne = Cn(this), r(12, ne), r(10, C);
5188
5167
  }
5189
- const gn = () => Qe(), bn = () => Lt(), yn = (p) => It(p);
5168
+ const gn = () => Ze(), bn = () => Ot(), yn = (p) => It(p);
5190
5169
  function _n(p) {
5191
- De[p ? "unshift" : "push"](() => {
5170
+ $e[p ? "unshift" : "push"](() => {
5192
5171
  w = p, r(3, w);
5193
5172
  });
5194
5173
  }
5195
5174
  function vn(p) {
5196
- De[p ? "unshift" : "push"](() => {
5197
- W = p, r(2, W);
5175
+ $e[p ? "unshift" : "push"](() => {
5176
+ V = p, r(2, V);
5198
5177
  });
5199
5178
  }
5200
5179
  return e.$$set = (p) => {
@@ -5204,30 +5183,30 @@ function ys(e, t, r) {
5204
5183
  8388610 && a && l && cn(), e.$$.dirty[0] & /*activecategory, isLoading*/
5205
5184
  541065216 && u && !v && Bt(), e.$$.dirty[0] & /*translationurl*/
5206
5185
  16777216 && h && ln(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5207
- 33554436 && f && W && us(W, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5208
- 67108868 && c && W && ls(W, c), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
5209
- 268435460 && W && hs(W, `${b}.Style`);
5186
+ 33554436 && f && V && as(V, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5187
+ 67108868 && c && V && us(V, c), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
5188
+ 268435460 && V && ls(V, `${b}.Style`);
5210
5189
  }, [
5211
5190
  m,
5212
5191
  a,
5213
- W,
5192
+ V,
5214
5193
  w,
5215
- P,
5216
5194
  I,
5195
+ L,
5217
5196
  y,
5218
5197
  M,
5219
5198
  _,
5220
5199
  A,
5221
- L,
5200
+ C,
5222
5201
  j,
5223
5202
  ne,
5224
5203
  n,
5225
- Mt,
5226
- Ae,
5227
- Ot,
5228
- Qe,
5204
+ Tt,
5205
+ Be,
5206
+ Pt,
5207
+ Ze,
5229
5208
  It,
5230
- Lt,
5209
+ Ot,
5231
5210
  fn,
5232
5211
  s,
5233
5212
  u,
@@ -5255,9 +5234,9 @@ class un extends ri {
5255
5234
  super(), ei(
5256
5235
  this,
5257
5236
  t,
5258
- ys,
5259
5237
  bs,
5260
- Sr,
5238
+ gs,
5239
+ wr,
5261
5240
  {
5262
5241
  menuitemsurl: 21,
5263
5242
  lang: 1,
@@ -5270,7 +5249,7 @@ class un extends ri {
5270
5249
  countryflaghamburger: 0,
5271
5250
  mbsource: 28
5272
5251
  },
5273
- fs,
5252
+ cs,
5274
5253
  [-1, -1]
5275
5254
  );
5276
5255
  }
@@ -5336,54 +5315,54 @@ class un extends ri {
5336
5315
  }
5337
5316
  }
5338
5317
  ti(un, { menuitemsurl: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {}, mbsource: {} }, ["close"], [], !0);
5339
- const Ms = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5318
+ const Ts = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5340
5319
  __proto__: null,
5341
5320
  default: un
5342
5321
  }, Symbol.toStringTag, { value: "Module" }));
5343
5322
  export {
5344
- be as $,
5345
- Q as A,
5323
+ ye as $,
5324
+ ge as A,
5346
5325
  Fe as B,
5347
- Ts as C,
5348
- _s as D,
5349
- Y as E,
5350
- Rt as F,
5351
- he as G,
5352
- Nt as H,
5353
- ss as I,
5354
- us as J,
5355
- ls as K,
5356
- hs as L,
5357
- Ss as M,
5358
- ws as N,
5326
+ z as C,
5327
+ ee as D,
5328
+ _s as E,
5329
+ ys as F,
5330
+ os as G,
5331
+ Ss as H,
5332
+ Y as I,
5333
+ ce as J,
5334
+ Nt as K,
5335
+ Ct as L,
5336
+ ws as M,
5337
+ Es as N,
5359
5338
  Hs as O,
5360
- Es as P,
5361
- Ms as Q,
5339
+ xs as P,
5340
+ Ts as Q,
5362
5341
  ri as S,
5363
5342
  Me as a,
5364
5343
  rn as b,
5365
5344
  ti as c,
5366
- On as d,
5367
- U as e,
5345
+ In as d,
5346
+ $ as e,
5368
5347
  G as f,
5369
- xs as g,
5370
- k as h,
5348
+ P as g,
5349
+ vs as h,
5371
5350
  ei as i,
5372
- D as j,
5373
- B as k,
5374
- Sn as l,
5375
- as as m,
5376
- $ as n,
5351
+ k as j,
5352
+ U as k,
5353
+ Hn as l,
5354
+ us as m,
5355
+ D as n,
5377
5356
  kn as o,
5378
- De as p,
5379
- Cn as q,
5380
- vs as r,
5381
- Sr as s,
5382
- Z as t,
5383
- pe as u,
5384
- x as v,
5385
- te as w,
5386
- ee as x,
5387
- K as y,
5388
- g as z
5357
+ ss as p,
5358
+ $e as q,
5359
+ Cn as r,
5360
+ wr as s,
5361
+ as as t,
5362
+ ls as u,
5363
+ Q as v,
5364
+ K as w,
5365
+ g as x,
5366
+ x as y,
5367
+ te as z
5389
5368
  };