@everymatrix/casino-header-controller 1.76.3 → 1.76.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/components/{CasinoHamburgerMenu-CJvz-6v8.js → CasinoHamburgerMenu-BXmoYELH.js} +1106 -1071
  2. package/components/{CasinoHamburgerMenu-CoN5AQhy.js → CasinoHamburgerMenu-DFge6wNk.js} +1043 -1008
  3. package/components/CasinoHamburgerMenu-DzBitsDo.cjs +21 -0
  4. package/components/{CasinoHeaderController-nHwZBFh1.js → CasinoHeaderController-CqJEUFU1.js} +259 -259
  5. package/components/{CasinoHeaderController-4RP64UER.js → CasinoHeaderController-DqCbdev2.js} +74 -74
  6. package/components/{CasinoHeaderController-5SOMU0mr.cjs → CasinoHeaderController-tklzcbLB.cjs} +1 -1
  7. package/components/{CasinoSlider-Cz_SY5te.js → CasinoSlider-5zRk3Nyr.js} +41 -41
  8. package/components/{CasinoSlider-D-gB23jc.js → CasinoSlider-sjpfJOOy.js} +38 -38
  9. package/components/{CasinoSlider-SIfbXA_S.cjs → CasinoSlider-wXw8RHQe.cjs} +1 -1
  10. package/components/{PlayerAccountBalanceModal-C1IAqTOW.js → PlayerAccountBalanceModal-B9zCQZQg.js} +52 -52
  11. package/components/{PlayerAccountBalanceModal-DpIFaPjO.js → PlayerAccountBalanceModal-Cq-1fTb6.js} +55 -55
  12. package/components/{PlayerAccountBalanceModal-B8M587Ck.cjs → PlayerAccountBalanceModal-ECuzDR7V.cjs} +1 -1
  13. package/components/{PlayerDeposit-DpJ5OKSd.cjs → PlayerDeposit-BJEnlNvH.cjs} +1 -1
  14. package/components/{PlayerDeposit-DKiaKiSX.js → PlayerDeposit-CwH_m-vi.js} +37 -37
  15. package/components/{PlayerDeposit-VFOktlR5.js → PlayerDeposit-gnIH-WO7.js} +37 -37
  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/{gamification-dropdown-C6ERMVuc.js → gamification-dropdown-0FYjENuC.js} +1 -1
  21. package/stencil/{gamification-dropdown-60536faa-a9fhneJS.js → gamification-dropdown-60536faa-ByoQkowS.js} +1 -1
  22. package/stencil/{gamification-dropdown-60536faa-C4Bt9SsA.js → gamification-dropdown-60536faa-CdoDh_iS.js} +1 -1
  23. package/stencil/{gamification-dropdown-60536faa-DASClLsG.cjs → gamification-dropdown-60536faa-jADsXxs4.cjs} +1 -1
  24. package/stencil/{gamification-dropdown-DCP5M16U.cjs → gamification-dropdown-BEAgTdVm.cjs} +1 -1
  25. package/stencil/{gamification-dropdown-Cn5QbhyS.js → gamification-dropdown-BYwIF9Gl.js} +1 -1
  26. package/stencil/{gamification-dropdown_4-DcfTNvW3.js → gamification-dropdown_4-0STJmTu3.js} +4 -4
  27. package/stencil/{gamification-dropdown_4-DxutrN1l.js → gamification-dropdown_4-Cn2nDa12.js} +4 -4
  28. package/stencil/{gamification-dropdown_4-DvpNN67k.cjs → gamification-dropdown_4-wVf8PnId.cjs} +2 -2
  29. package/stencil/index-1ef3a64c-B8rbe1el.cjs +1 -0
  30. package/stencil/{index-1ef3a64c-GG7QM-1r.js → index-1ef3a64c-BEUZTO5_.js} +185 -185
  31. package/stencil/{index-1ef3a64c-B1d9e5pW.js → index-1ef3a64c-CbJ3YCKZ.js} +192 -192
  32. package/stencil/{index-71b1bdfa-CsAz1pRT.js → index-71b1bdfa-CqsRB5Zq.js} +235 -235
  33. package/stencil/{index-71b1bdfa-BF1FhHvP.js → index-71b1bdfa-DWJfvSms.js} +226 -226
  34. package/stencil/index-71b1bdfa-aT2URAOG.cjs +1 -0
  35. package/stencil/{player-elevate-card-DGldgGzV.cjs → player-elevate-card-C_bGjWZ4.cjs} +1 -1
  36. package/stencil/{player-elevate-card-Dk8IKGFM.js → player-elevate-card-DV79k_97.js} +2 -2
  37. package/stencil/{player-elevate-card-CV-QotRL.js → player-elevate-card-D_AqKh09.js} +2 -2
  38. package/stencil/{player-elevate-card-items-08c6fbd8-DWYJG2Sw.js → player-elevate-card-items-08c6fbd8-CKjKj8rt.js} +292 -294
  39. package/stencil/player-elevate-card-items-08c6fbd8-CkxD6Q5o.cjs +102 -0
  40. package/stencil/{player-elevate-card-items-08c6fbd8-D2InzLdw.js → player-elevate-card-items-08c6fbd8-DDaPFpxz.js} +292 -294
  41. package/stencil/{player-elevate-pointcard-BZEQfMrQ.js → player-elevate-pointcard-BAE3Vgzi.js} +2 -2
  42. package/stencil/{player-elevate-pointcard-CFB0v64P.js → player-elevate-pointcard-BXLJdcos.js} +2 -2
  43. package/stencil/{player-elevate-pointcard-Kd_hq4Sx.cjs → player-elevate-pointcard-vC-WI2he.cjs} +1 -1
  44. package/stencil/{player-rakeback-card-DV2irTYH.js → player-rakeback-card-Ca3Pjwd4.js} +1 -1
  45. package/stencil/{player-rakeback-card-BLuEtn4-.js → player-rakeback-card-Cj3yH6EJ.js} +1 -1
  46. package/stencil/{player-rakeback-card-B_0uBE6g.cjs → player-rakeback-card-DZVQyKwK.cjs} +1 -1
  47. package/stencil/{user-deposit-withdrawal-CnTB5Htu.cjs → user-deposit-withdrawal-6OV5s5L0.cjs} +2 -2
  48. package/stencil/{user-deposit-withdrawal-DIQiW7CO.js → user-deposit-withdrawal-BhBUsaq0.js} +45 -45
  49. package/stencil/{user-deposit-withdrawal-D3SYJSWx.js → user-deposit-withdrawal-BmCnXlz0.js} +45 -45
  50. package/components/CasinoHamburgerMenu-DbcCsL_F.cjs +0 -21
  51. package/stencil/index-1ef3a64c-C4G-G36U.cjs +0 -1
  52. package/stencil/index-71b1bdfa-CvQLI6L6.cjs +0 -1
  53. package/stencil/player-elevate-card-items-08c6fbd8-jkH5ihgE.cjs +0 -102
@@ -1,17 +1,17 @@
1
- var Sn = Object.defineProperty, Tn = Object.defineProperties;
2
- var Mn = Object.getOwnPropertyDescriptors;
3
- var Lt = Object.getOwnPropertySymbols;
4
- var An = Object.prototype.hasOwnProperty, Bn = Object.prototype.propertyIsEnumerable;
5
- var Qe = (e, t, r) => t in e ? Sn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ct = (e, t) => {
1
+ var Bn = Object.defineProperty, Pn = Object.defineProperties;
2
+ var On = Object.getOwnPropertyDescriptors;
3
+ var Ft = Object.getOwnPropertySymbols;
4
+ var In = Object.prototype.hasOwnProperty, Ln = Object.prototype.propertyIsEnumerable;
5
+ var Ye = (e, t, r) => t in e ? Bn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $t = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- An.call(t, r) && Qe(e, r, t[r]);
8
- if (Lt)
9
- for (var r of Lt(t))
10
- Bn.call(t, r) && Qe(e, r, t[r]);
7
+ In.call(t, r) && Ye(e, r, t[r]);
8
+ if (Ft)
9
+ for (var r of Ft(t))
10
+ Ln.call(t, r) && Ye(e, r, t[r]);
11
11
  return e;
12
- }, Nt = (e, t) => Tn(e, Mn(t));
13
- var G = (e, t, r) => (Qe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var Rt = (e, t, r) => new Promise((n, i) => {
12
+ }, Ut = (e, t) => Pn(e, On(t));
13
+ var G = (e, t, r) => (Ye(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var Dt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (u) => {
16
16
  try {
17
17
  a(r.next(u));
@@ -27,10 +27,10 @@ var Rt = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- function D() {
30
+ function U() {
31
31
  }
32
- const Sr = (e) => e;
33
- function Pn(e, t) {
32
+ const Br = (e) => e;
33
+ function Cn(e, t) {
34
34
  for (const r in t)
35
35
  e[r] = t[r];
36
36
  return (
@@ -38,50 +38,50 @@ function Pn(e, t) {
38
38
  e
39
39
  );
40
40
  }
41
- function Tr(e) {
41
+ function Pr(e) {
42
42
  return e();
43
43
  }
44
- function Ft() {
44
+ function Gt() {
45
45
  return /* @__PURE__ */ Object.create(null);
46
46
  }
47
- function q(e) {
48
- e.forEach(Tr);
47
+ function Q(e) {
48
+ e.forEach(Pr);
49
49
  }
50
- function Me(e) {
50
+ function Te(e) {
51
51
  return typeof e == "function";
52
52
  }
53
- function Mr(e, t) {
53
+ function Or(e, t) {
54
54
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
55
55
  }
56
56
  let Pe;
57
57
  function K(e, t) {
58
58
  return e === t ? !0 : (Pe || (Pe = document.createElement("a")), Pe.href = t, e === Pe.href);
59
59
  }
60
- function On(e) {
60
+ function Nn(e) {
61
61
  return Object.keys(e).length === 0;
62
62
  }
63
- function Ar(e, ...t) {
63
+ function Ir(e, ...t) {
64
64
  if (e == null) {
65
65
  for (const n of t)
66
66
  n(void 0);
67
- return D;
67
+ return U;
68
68
  }
69
69
  const r = e.subscribe(...t);
70
70
  return r.unsubscribe ? () => r.unsubscribe() : r;
71
71
  }
72
- function In(e, t, r) {
73
- e.$$.on_destroy.push(Ar(t, r));
72
+ function Rn(e, t, r) {
73
+ e.$$.on_destroy.push(Ir(t, r));
74
74
  }
75
- function Ln(e, t, r, n) {
75
+ function Fn(e, t, r, n) {
76
76
  if (e) {
77
- const i = Br(e, t, r, n);
77
+ const i = Lr(e, t, r, n);
78
78
  return e[0](i);
79
79
  }
80
80
  }
81
- function Br(e, t, r, n) {
82
- return e[1] && n ? Pn(r.ctx.slice(), e[1](n(t))) : r.ctx;
81
+ function Lr(e, t, r, n) {
82
+ return e[1] && n ? Cn(r.ctx.slice(), e[1](n(t))) : r.ctx;
83
83
  }
84
- function Cn(e, t, r, n) {
84
+ function $n(e, t, r, n) {
85
85
  if (e[2] && n) {
86
86
  const i = e[2](n(r));
87
87
  if (t.dirty === void 0)
@@ -96,13 +96,13 @@ function Cn(e, t, r, n) {
96
96
  }
97
97
  return t.dirty;
98
98
  }
99
- function Nn(e, t, r, n, i, o) {
99
+ function Un(e, t, r, n, i, o) {
100
100
  if (i) {
101
- const s = Br(t, r, n, o);
101
+ const s = Lr(t, r, n, o);
102
102
  e.p(s, i);
103
103
  }
104
104
  }
105
- function Rn(e) {
105
+ function Dn(e) {
106
106
  if (e.ctx.length > 32) {
107
107
  const t = [], r = e.ctx.length / 32;
108
108
  for (let n = 0; n < r; n++)
@@ -111,20 +111,20 @@ function Rn(e) {
111
111
  }
112
112
  return -1;
113
113
  }
114
- function As(e) {
115
- return e && Me(e.destroy) ? e.destroy : D;
114
+ function Is(e) {
115
+ return e && Te(e.destroy) ? e.destroy : U;
116
116
  }
117
- const Pr = typeof window != "undefined";
118
- let Fn = Pr ? () => window.performance.now() : () => Date.now(), vt = Pr ? (e) => requestAnimationFrame(e) : D;
117
+ const Cr = typeof window != "undefined";
118
+ let Gn = Cr ? () => window.performance.now() : () => Date.now(), Ht = Cr ? (e) => requestAnimationFrame(e) : U;
119
119
  const ue = /* @__PURE__ */ new Set();
120
- function Or(e) {
120
+ function Nr(e) {
121
121
  ue.forEach((t) => {
122
122
  t.c(e) || (ue.delete(t), t.f());
123
- }), ue.size !== 0 && vt(Or);
123
+ }), ue.size !== 0 && Ht(Nr);
124
124
  }
125
- function Un(e) {
125
+ function kn(e) {
126
126
  let t;
127
- return ue.size === 0 && vt(Or), {
127
+ return ue.size === 0 && Ht(Nr), {
128
128
  promise: new Promise((r) => {
129
129
  ue.add(t = { c: e, f: r });
130
130
  }),
@@ -136,14 +136,14 @@ function Un(e) {
136
136
  function x(e, t) {
137
137
  e.appendChild(t);
138
138
  }
139
- function Dn(e, t, r) {
140
- const n = xt(e);
139
+ function jn(e, t, r) {
140
+ const n = Tt(e);
141
141
  if (!n.getElementById(t)) {
142
- const i = P("style");
143
- i.id = t, i.textContent = r, Ir(n, i);
142
+ const i = B("style");
143
+ i.id = t, i.textContent = r, Rr(n, i);
144
144
  }
145
145
  }
146
- function xt(e) {
146
+ function Tt(e) {
147
147
  if (!e)
148
148
  return document;
149
149
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -153,11 +153,11 @@ function xt(e) {
153
153
  t
154
154
  ) : e.ownerDocument;
155
155
  }
156
- function $n(e) {
157
- const t = P("style");
158
- return t.textContent = "/* empty */", Ir(xt(e), t), t.sheet;
156
+ function Vn(e) {
157
+ const t = B("style");
158
+ return t.textContent = "/* empty */", Rr(Tt(e), t), t.sheet;
159
159
  }
160
- function Ir(e, t) {
160
+ function Rr(e, t) {
161
161
  return x(
162
162
  /** @type {Document} */
163
163
  e.head || e,
@@ -167,14 +167,14 @@ function Ir(e, t) {
167
167
  function j(e, t, r) {
168
168
  e.insertBefore(t, r || null);
169
169
  }
170
- function U(e) {
170
+ function $(e) {
171
171
  e.parentNode && e.parentNode.removeChild(e);
172
172
  }
173
- function Ue(e, t) {
173
+ function $e(e, t) {
174
174
  for (let r = 0; r < e.length; r += 1)
175
175
  e[r] && e[r].d(t);
176
176
  }
177
- function P(e) {
177
+ function B(e) {
178
178
  return document.createElement(e);
179
179
  }
180
180
  function te(e) {
@@ -183,16 +183,16 @@ function te(e) {
183
183
  function ee(e) {
184
184
  return document.createTextNode(e);
185
185
  }
186
- function $() {
186
+ function D() {
187
187
  return ee(" ");
188
188
  }
189
- function Bs() {
189
+ function Ls() {
190
190
  return ee("");
191
191
  }
192
192
  function re(e, t, r, n) {
193
193
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
194
194
  }
195
- function Ps(e) {
195
+ function Cs(e) {
196
196
  return function(t) {
197
197
  return t.preventDefault(), e.call(this, t);
198
198
  };
@@ -200,24 +200,24 @@ function Ps(e) {
200
200
  function g(e, t, r) {
201
201
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
202
202
  }
203
- function Os(e, t, r) {
203
+ function Ns(e, t, r) {
204
204
  const n = t.toLowerCase();
205
205
  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);
206
206
  }
207
- function Gn(e) {
207
+ function Wn(e) {
208
208
  return Array.from(e.childNodes);
209
209
  }
210
- function be(e, t) {
210
+ function ge(e, t) {
211
211
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
212
212
  t);
213
213
  }
214
- function Ut(e, t) {
214
+ function kt(e, t) {
215
215
  e.value = t == null ? "" : t;
216
216
  }
217
- function Is(e, t, r, n) {
217
+ function Rs(e, t, r, n) {
218
218
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
219
219
  }
220
- function Dt(e, t, r) {
220
+ function jt(e, t, r) {
221
221
  for (let n = 0; n < e.options.length; n += 1) {
222
222
  const i = e.options[n];
223
223
  if (i.__value === t) {
@@ -227,14 +227,14 @@ function Dt(e, t, r) {
227
227
  }
228
228
  (!r || t !== void 0) && (e.selectedIndex = -1);
229
229
  }
230
- function kn(e) {
230
+ function Xn(e) {
231
231
  const t = e.querySelector(":checked");
232
232
  return t && t.__value;
233
233
  }
234
- function jn(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
234
+ function zn(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
235
235
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
236
236
  }
237
- function Vn(e) {
237
+ function Zn(e) {
238
238
  const t = {};
239
239
  return e.childNodes.forEach(
240
240
  /** @param {Element} node */
@@ -243,152 +243,152 @@ function Vn(e) {
243
243
  }
244
244
  ), t;
245
245
  }
246
- const De = /* @__PURE__ */ new Map();
247
- let $e = 0;
248
- function Wn(e) {
246
+ const Ue = /* @__PURE__ */ new Map();
247
+ let De = 0;
248
+ function qn(e) {
249
249
  let t = 5381, r = e.length;
250
250
  for (; r--; )
251
251
  t = (t << 5) - t ^ e.charCodeAt(r);
252
252
  return t >>> 0;
253
253
  }
254
- function Xn(e, t) {
255
- const r = { stylesheet: $n(t), rules: {} };
256
- return De.set(e, r), r;
254
+ function Qn(e, t) {
255
+ const r = { stylesheet: Vn(t), rules: {} };
256
+ return Ue.set(e, r), r;
257
257
  }
258
- function $t(e, t, r, n, i, o, s, a = 0) {
258
+ function Vt(e, t, r, n, i, o, s, a = 0) {
259
259
  const u = 16.666 / n;
260
260
  let l = `{
261
261
  `;
262
262
  for (let w = 0; w <= 1; w += u) {
263
- const I = t + (r - t) * o(w);
264
- l += w * 100 + `%{${s(I, 1 - I)}}
263
+ const O = t + (r - t) * o(w);
264
+ l += w * 100 + `%{${s(O, 1 - O)}}
265
265
  `;
266
266
  }
267
267
  const h = l + `100% {${s(r, 1 - r)}}
268
- }`, f = `__svelte_${Wn(h)}_${a}`, c = xt(e), { stylesheet: m, rules: d } = De.get(c) || Xn(c, e);
269
- d[f] || (d[f] = !0, m.insertRule(`@keyframes ${f} ${h}`, m.cssRules.length));
268
+ }`, f = `__svelte_${qn(h)}_${a}`, c = Tt(e), { stylesheet: p, rules: d } = Ue.get(c) || Qn(c, e);
269
+ d[f] || (d[f] = !0, p.insertRule(`@keyframes ${f} ${h}`, p.cssRules.length));
270
270
  const b = e.style.animation || "";
271
- return e.style.animation = `${b ? `${b}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, $e += 1, f;
271
+ return e.style.animation = `${b ? `${b}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, De += 1, f;
272
272
  }
273
- function zn(e, t) {
273
+ function Jn(e, t) {
274
274
  const r = (e.style.animation || "").split(", "), n = r.filter(
275
275
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
276
276
  // remove all Svelte animations
277
277
  ), i = r.length - n.length;
278
- i && (e.style.animation = n.join(", "), $e -= i, $e || Zn());
278
+ i && (e.style.animation = n.join(", "), De -= i, De || Yn());
279
279
  }
280
- function Zn() {
281
- vt(() => {
282
- $e || (De.forEach((e) => {
280
+ function Yn() {
281
+ Ht(() => {
282
+ De || (Ue.forEach((e) => {
283
283
  const { ownerNode: t } = e.stylesheet;
284
- t && U(t);
285
- }), De.clear());
284
+ t && $(t);
285
+ }), Ue.clear());
286
286
  });
287
287
  }
288
- let He;
289
- function we(e) {
290
- He = e;
288
+ let we;
289
+ function Ee(e) {
290
+ we = e;
291
291
  }
292
- function qn() {
293
- if (!He)
292
+ function Kn() {
293
+ if (!we)
294
294
  throw new Error("Function called outside component initialization");
295
- return He;
295
+ return we;
296
296
  }
297
- function Qn(e) {
298
- qn().$$.on_mount.push(e);
297
+ function ei(e) {
298
+ Kn().$$.on_mount.push(e);
299
299
  }
300
- function Ls(e, t) {
300
+ function Fs(e, t) {
301
301
  const r = e.$$.callbacks[t.type];
302
302
  r && r.slice().forEach((n) => n.call(this, t));
303
303
  }
304
304
  const ae = [], Ge = [];
305
305
  let le = [];
306
- const Gt = [], Jn = /* @__PURE__ */ Promise.resolve();
307
- let ot = !1;
308
- function Yn() {
309
- ot || (ot = !0, Jn.then(k));
306
+ const Wt = [], ti = /* @__PURE__ */ Promise.resolve();
307
+ let ut = !1;
308
+ function ri() {
309
+ ut || (ut = !0, ti.then(k));
310
310
  }
311
- function fe(e) {
311
+ function ce(e) {
312
312
  le.push(e);
313
313
  }
314
- const Je = /* @__PURE__ */ new Set();
314
+ const Ke = /* @__PURE__ */ new Set();
315
315
  let oe = 0;
316
316
  function k() {
317
317
  if (oe !== 0)
318
318
  return;
319
- const e = He;
319
+ const e = we;
320
320
  do {
321
321
  try {
322
322
  for (; oe < ae.length; ) {
323
323
  const t = ae[oe];
324
- oe++, we(t), Kn(t.$$);
324
+ oe++, Ee(t), ni(t.$$);
325
325
  }
326
326
  } catch (t) {
327
327
  throw ae.length = 0, oe = 0, t;
328
328
  }
329
- for (we(null), ae.length = 0, oe = 0; Ge.length; )
329
+ for (Ee(null), ae.length = 0, oe = 0; Ge.length; )
330
330
  Ge.pop()();
331
331
  for (let t = 0; t < le.length; t += 1) {
332
332
  const r = le[t];
333
- Je.has(r) || (Je.add(r), r());
333
+ Ke.has(r) || (Ke.add(r), r());
334
334
  }
335
335
  le.length = 0;
336
336
  } while (ae.length);
337
- for (; Gt.length; )
338
- Gt.pop()();
339
- ot = !1, Je.clear(), we(e);
337
+ for (; Wt.length; )
338
+ Wt.pop()();
339
+ ut = !1, Ke.clear(), Ee(e);
340
340
  }
341
- function Kn(e) {
341
+ function ni(e) {
342
342
  if (e.fragment !== null) {
343
- e.update(), q(e.before_update);
343
+ e.update(), Q(e.before_update);
344
344
  const t = e.dirty;
345
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(fe);
345
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ce);
346
346
  }
347
347
  }
348
- function ei(e) {
348
+ function ii(e) {
349
349
  const t = [], r = [];
350
350
  le.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), le = t;
351
351
  }
352
- let xe;
353
- function ti() {
354
- return xe || (xe = Promise.resolve(), xe.then(() => {
355
- xe = null;
356
- })), xe;
352
+ let _e;
353
+ function oi() {
354
+ return _e || (_e = Promise.resolve(), _e.then(() => {
355
+ _e = null;
356
+ })), _e;
357
357
  }
358
- function Ye(e, t, r) {
359
- e.dispatchEvent(jn(`${t ? "intro" : "outro"}${r}`));
358
+ function et(e, t, r) {
359
+ e.dispatchEvent(zn(`${t ? "intro" : "outro"}${r}`));
360
360
  }
361
361
  const Le = /* @__PURE__ */ new Set();
362
- let z;
363
- function ri() {
364
- z = {
362
+ let Z;
363
+ function si() {
364
+ Z = {
365
365
  r: 0,
366
366
  c: [],
367
- p: z
367
+ p: Z
368
368
  // parent group
369
369
  };
370
370
  }
371
- function ni() {
372
- z.r || q(z.c), z = z.p;
371
+ function ai() {
372
+ Z.r || Q(Z.c), Z = Z.p;
373
373
  }
374
374
  function he(e, t) {
375
375
  e && e.i && (Le.delete(e), e.i(t));
376
376
  }
377
- function st(e, t, r, n) {
377
+ function lt(e, t, r, n) {
378
378
  if (e && e.o) {
379
379
  if (Le.has(e))
380
380
  return;
381
- Le.add(e), z.c.push(() => {
381
+ Le.add(e), Z.c.push(() => {
382
382
  Le.delete(e), n && (r && e.d(1), n());
383
383
  }), e.o(t);
384
384
  } else
385
385
  n && n();
386
386
  }
387
- const ii = { duration: 0 };
388
- function kt(e, t, r, n) {
387
+ const ui = { duration: 0 };
388
+ function Xt(e, t, r, n) {
389
389
  let o = t(e, r, { direction: "both" }), s = n ? 0 : 1, a = null, u = null, l = null, h;
390
390
  function f() {
391
- l && zn(e, l);
391
+ l && Jn(e, l);
392
392
  }
393
393
  function c(d, b) {
394
394
  const w = (
@@ -405,33 +405,33 @@ function kt(e, t, r, n) {
405
405
  group: d.group
406
406
  };
407
407
  }
408
- function m(d) {
408
+ function p(d) {
409
409
  const {
410
410
  delay: b = 0,
411
411
  duration: w = 300,
412
- easing: I = Sr,
413
- tick: O = D,
414
- css: A
415
- } = o || ii, L = {
416
- start: Fn() + b,
412
+ easing: O = Br,
413
+ tick: P = U,
414
+ css: H
415
+ } = o || ui, I = {
416
+ start: Gn() + b,
417
417
  b: d
418
418
  };
419
- d || (L.group = z, z.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
420
- e.inert, e.inert = !0)), a || u ? u = L : (A && (f(), l = $t(e, s, d, w, b, I, A)), d && O(0, 1), a = c(L, w), fe(() => Ye(e, d, "start")), Un((y) => {
421
- if (u && y > u.start && (a = c(u, w), u = null, Ye(e, a.b, "start"), A && (f(), l = $t(
419
+ d || (I.group = Z, Z.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
420
+ e.inert, e.inert = !0)), a || u ? u = I : (H && (f(), l = Vt(e, s, d, w, b, O, H)), d && P(0, 1), a = c(I, w), ce(() => et(e, d, "start")), kn((y) => {
421
+ if (u && y > u.start && (a = c(u, w), u = null, et(e, a.b, "start"), H && (f(), l = Vt(
422
422
  e,
423
423
  s,
424
424
  a.b,
425
425
  a.duration,
426
426
  0,
427
- I,
427
+ O,
428
428
  o.css
429
429
  ))), a) {
430
430
  if (y >= a.end)
431
- O(s = a.b, 1 - s), Ye(e, a.b, "end"), u || (a.b ? f() : --a.group.r || q(a.group.c)), a = null;
431
+ P(s = a.b, 1 - s), et(e, a.b, "end"), u || (a.b ? f() : --a.group.r || Q(a.group.c)), a = null;
432
432
  else if (y >= a.start) {
433
- const T = y - a.start;
434
- s = a.a + a.d * I(T / a.duration), O(s, 1 - s);
433
+ const M = y - a.start;
434
+ s = a.a + a.d * O(M / a.duration), P(s, 1 - s);
435
435
  }
436
436
  }
437
437
  return !!(a || u);
@@ -439,9 +439,9 @@ function kt(e, t, r, n) {
439
439
  }
440
440
  return {
441
441
  run(d) {
442
- Me(o) ? ti().then(() => {
443
- o = o({ direction: d ? "in" : "out" }), m(d);
444
- }) : m(d);
442
+ Te(o) ? oi().then(() => {
443
+ o = o({ direction: d ? "in" : "out" }), p(d);
444
+ }) : p(d);
445
445
  },
446
446
  end() {
447
447
  f(), a = u = null;
@@ -451,61 +451,61 @@ function kt(e, t, r, n) {
451
451
  function J(e) {
452
452
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
453
453
  }
454
- function Cs(e, t) {
454
+ function $s(e, t) {
455
455
  e.d(1), t.delete(e.key);
456
456
  }
457
- function Ns(e, t, r, n, i, o, s, a, u, l, h, f) {
458
- let c = e.length, m = o.length, d = c;
457
+ function Us(e, t, r, n, i, o, s, a, u, l, h, f) {
458
+ let c = e.length, p = o.length, d = c;
459
459
  const b = {};
460
460
  for (; d--; )
461
461
  b[e[d].key] = d;
462
- const w = [], I = /* @__PURE__ */ new Map(), O = /* @__PURE__ */ new Map(), A = [];
463
- for (d = m; d--; ) {
464
- const _ = f(i, o, d), B = r(_);
465
- let v = s.get(B);
466
- v ? A.push(() => v.p(_, t)) : (v = l(B, _), v.c()), I.set(B, w[d] = v), B in b && O.set(B, Math.abs(d - b[B]));
462
+ const w = [], O = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), H = [];
463
+ for (d = p; d--; ) {
464
+ const v = f(i, o, d), A = r(v);
465
+ let _ = s.get(A);
466
+ _ ? H.push(() => _.p(v, t)) : (_ = l(A, v), _.c()), O.set(A, w[d] = _), A in b && P.set(A, Math.abs(d - b[A]));
467
467
  }
468
- const L = /* @__PURE__ */ new Set(), y = /* @__PURE__ */ new Set();
469
- function T(_) {
470
- he(_, 1), _.m(a, h), s.set(_.key, _), h = _.first, m--;
468
+ const I = /* @__PURE__ */ new Set(), y = /* @__PURE__ */ new Set();
469
+ function M(v) {
470
+ he(v, 1), v.m(a, h), s.set(v.key, v), h = v.first, p--;
471
471
  }
472
- for (; c && m; ) {
473
- const _ = w[m - 1], B = e[c - 1], v = _.key, C = B.key;
474
- _ === B ? (h = _.first, c--, m--) : I.has(C) ? !s.has(v) || L.has(v) ? T(_) : y.has(C) ? c-- : O.get(v) > O.get(C) ? (y.add(v), T(_)) : (L.add(C), c--) : (u(B, s), c--);
472
+ for (; c && p; ) {
473
+ const v = w[p - 1], A = e[c - 1], _ = v.key, L = A.key;
474
+ v === A ? (h = v.first, c--, p--) : O.has(L) ? !s.has(_) || I.has(_) ? M(v) : y.has(L) ? c-- : P.get(_) > P.get(L) ? (y.add(_), M(v)) : (I.add(L), c--) : (u(A, s), c--);
475
475
  }
476
476
  for (; c--; ) {
477
- const _ = e[c];
478
- I.has(_.key) || u(_, s);
477
+ const v = e[c];
478
+ O.has(v.key) || u(v, s);
479
479
  }
480
- for (; m; )
481
- T(w[m - 1]);
482
- return q(A), w;
480
+ for (; p; )
481
+ M(w[p - 1]);
482
+ return Q(H), w;
483
483
  }
484
- function oi(e, t, r) {
484
+ function li(e, t, r) {
485
485
  const { fragment: n, after_update: i } = e.$$;
486
- n && n.m(t, r), fe(() => {
487
- const o = e.$$.on_mount.map(Tr).filter(Me);
488
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : q(o), e.$$.on_mount = [];
489
- }), i.forEach(fe);
486
+ n && n.m(t, r), ce(() => {
487
+ const o = e.$$.on_mount.map(Pr).filter(Te);
488
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Q(o), e.$$.on_mount = [];
489
+ }), i.forEach(ce);
490
490
  }
491
- function si(e, t) {
491
+ function hi(e, t) {
492
492
  const r = e.$$;
493
- r.fragment !== null && (ei(r.after_update), q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
493
+ r.fragment !== null && (ii(r.after_update), Q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
494
494
  }
495
- function ai(e, t) {
496
- e.$$.dirty[0] === -1 && (ae.push(e), Yn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
495
+ function ci(e, t) {
496
+ e.$$.dirty[0] === -1 && (ae.push(e), ri(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
497
497
  }
498
- function ui(e, t, r, n, i, o, s = null, a = [-1]) {
499
- const u = He;
500
- we(e);
498
+ function fi(e, t, r, n, i, o, s = null, a = [-1]) {
499
+ const u = we;
500
+ Ee(e);
501
501
  const l = e.$$ = {
502
502
  fragment: null,
503
503
  ctx: [],
504
504
  // state
505
505
  props: o,
506
- update: D,
506
+ update: U,
507
507
  not_equal: i,
508
- bound: Ft(),
508
+ bound: Gt(),
509
509
  // lifecycle
510
510
  on_mount: [],
511
511
  on_destroy: [],
@@ -514,28 +514,28 @@ function ui(e, t, r, n, i, o, s = null, a = [-1]) {
514
514
  after_update: [],
515
515
  context: new Map(t.context || (u ? u.$$.context : [])),
516
516
  // everything else
517
- callbacks: Ft(),
517
+ callbacks: Gt(),
518
518
  dirty: a,
519
519
  skip_bound: !1,
520
520
  root: t.target || u.$$.root
521
521
  };
522
522
  s && s(l.root);
523
523
  let h = !1;
524
- if (l.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
525
- const d = m.length ? m[0] : c;
526
- return l.ctx && i(l.ctx[f], l.ctx[f] = d) && (!l.skip_bound && l.bound[f] && l.bound[f](d), h && ai(e, f)), c;
527
- }) : [], l.update(), h = !0, q(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
524
+ if (l.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
525
+ const d = p.length ? p[0] : c;
526
+ return l.ctx && i(l.ctx[f], l.ctx[f] = d) && (!l.skip_bound && l.bound[f] && l.bound[f](d), h && ci(e, f)), c;
527
+ }) : [], l.update(), h = !0, Q(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
528
528
  if (t.hydrate) {
529
- const f = Gn(t.target);
530
- l.fragment && l.fragment.l(f), f.forEach(U);
529
+ const f = Wn(t.target);
530
+ l.fragment && l.fragment.l(f), f.forEach($);
531
531
  } else
532
532
  l.fragment && l.fragment.c();
533
- t.intro && he(e.$$.fragment), oi(e, t.target, t.anchor), k();
533
+ t.intro && he(e.$$.fragment), li(e, t.target, t.anchor), k();
534
534
  }
535
- we(u);
535
+ Ee(u);
536
536
  }
537
- let Lr;
538
- typeof HTMLElement == "function" && (Lr = class extends HTMLElement {
537
+ let Fr;
538
+ typeof HTMLElement == "function" && (Fr = class extends HTMLElement {
539
539
  constructor(t, r, n) {
540
540
  super();
541
541
  /** The Svelte component constructor */
@@ -572,14 +572,14 @@ typeof HTMLElement == "function" && (Lr = class extends HTMLElement {
572
572
  }
573
573
  }
574
574
  connectedCallback() {
575
- return Rt(this, null, function* () {
575
+ return Dt(this, null, function* () {
576
576
  if (this.$$cn = !0, !this.$$c) {
577
577
  let t = function(o) {
578
578
  return () => {
579
579
  let s;
580
580
  return {
581
581
  c: function() {
582
- s = P("slot"), o !== "default" && g(s, "name", o);
582
+ s = B("slot"), o !== "default" && g(s, "name", o);
583
583
  },
584
584
  /**
585
585
  * @param {HTMLElement} target
@@ -589,14 +589,14 @@ typeof HTMLElement == "function" && (Lr = class extends HTMLElement {
589
589
  j(l, s, h);
590
590
  },
591
591
  d: function(l) {
592
- l && U(s);
592
+ l && $(s);
593
593
  }
594
594
  };
595
595
  };
596
596
  };
597
597
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
598
598
  return;
599
- const r = {}, n = Vn(this);
599
+ const r = {}, n = Zn(this);
600
600
  for (const o of this.$$s)
601
601
  o in n && (r[o] = [t(o)]);
602
602
  for (const o of this.attributes) {
@@ -607,7 +607,7 @@ typeof HTMLElement == "function" && (Lr = class extends HTMLElement {
607
607
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
608
608
  this.$$c = new this.$$ctor({
609
609
  target: this.shadowRoot || this,
610
- props: Nt(Ct({}, this.$$d), {
610
+ props: Ut($t({}, this.$$d), {
611
611
  $$slots: r,
612
612
  $$scope: {
613
613
  ctx: []
@@ -685,8 +685,8 @@ function Ce(e, t, r, n) {
685
685
  return t;
686
686
  }
687
687
  }
688
- function li(e, t, r, n, i, o) {
689
- let s = class extends Lr {
688
+ function di(e, t, r, n, i, o) {
689
+ let s = class extends Fr {
690
690
  constructor() {
691
691
  super(e, r, i), this.$$p_d = t;
692
692
  }
@@ -716,7 +716,7 @@ function li(e, t, r, n, i, o) {
716
716
  }), e.element = /** @type {any} */
717
717
  s, s;
718
718
  }
719
- class hi {
719
+ class pi {
720
720
  constructor() {
721
721
  /**
722
722
  * ### PRIVATE API
@@ -737,7 +737,7 @@ class hi {
737
737
  }
738
738
  /** @returns {void} */
739
739
  $destroy() {
740
- si(this, 1), this.$destroy = D;
740
+ hi(this, 1), this.$destroy = U;
741
741
  }
742
742
  /**
743
743
  * @template {Extract<keyof Events, string>} K
@@ -746,8 +746,8 @@ class hi {
746
746
  * @returns {() => void}
747
747
  */
748
748
  $on(t, r) {
749
- if (!Me(r))
750
- return D;
749
+ if (!Te(r))
750
+ return U;
751
751
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
752
752
  return n.push(r), () => {
753
753
  const i = n.indexOf(r);
@@ -759,11 +759,11 @@ class hi {
759
759
  * @returns {void}
760
760
  */
761
761
  $set(t) {
762
- this.$$set && !On(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
762
+ this.$$set && !Nn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
763
763
  }
764
764
  }
765
- const ci = "4";
766
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ci);
765
+ const mi = "4";
766
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(mi);
767
767
  /*! *****************************************************************************
768
768
  Copyright (c) Microsoft Corporation.
769
769
 
@@ -778,43 +778,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
778
778
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
779
779
  PERFORMANCE OF THIS SOFTWARE.
780
780
  ***************************************************************************** */
781
- var at = function(e, t) {
782
- return at = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
781
+ var ht = function(e, t) {
782
+ return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
783
783
  r.__proto__ = n;
784
784
  } || function(r, n) {
785
785
  for (var i in n)
786
786
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
787
- }, at(e, t);
787
+ }, ht(e, t);
788
788
  };
789
- function Q(e, t) {
789
+ function Me(e, t) {
790
790
  if (typeof t != "function" && t !== null)
791
791
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
792
- at(e, t);
792
+ ht(e, t);
793
793
  function r() {
794
794
  this.constructor = e;
795
795
  }
796
796
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
797
797
  }
798
- var M = function() {
799
- return M = Object.assign || function(t) {
800
- for (var r, n = 1, i = arguments.length; n < i; n++) {
801
- r = arguments[n];
802
- for (var o in r)
803
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
804
- }
805
- return t;
806
- }, M.apply(this, arguments);
807
- };
808
- function fi(e, t) {
809
- var r = {};
810
- for (var n in e)
811
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
812
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
813
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
814
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
815
- return r;
816
- }
817
- function ut(e) {
798
+ function ct(e) {
818
799
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
819
800
  if (r)
820
801
  return r.call(e);
@@ -826,7 +807,7 @@ function ut(e) {
826
807
  };
827
808
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
828
809
  }
829
- function lt(e, t) {
810
+ function ft(e, t) {
830
811
  var r = typeof Symbol == "function" && e[Symbol.iterator];
831
812
  if (!r)
832
813
  return e;
@@ -846,22 +827,22 @@ function lt(e, t) {
846
827
  }
847
828
  return o;
848
829
  }
849
- function ce(e, t, r) {
850
- if (r || arguments.length === 2)
830
+ function dt(e, t, r) {
831
+ if (arguments.length === 2)
851
832
  for (var n = 0, i = t.length, o; n < i; n++)
852
833
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
853
834
  return e.concat(o || t);
854
835
  }
855
- function Z(e) {
836
+ function q(e) {
856
837
  return typeof e == "function";
857
838
  }
858
- function Cr(e) {
839
+ function $r(e) {
859
840
  var t = function(n) {
860
841
  Error.call(n), n.stack = new Error().stack;
861
842
  }, r = e(t);
862
843
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
863
844
  }
864
- var Ke = Cr(function(e) {
845
+ var tt = $r(function(e) {
865
846
  return function(r) {
866
847
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
867
848
  ` + r.map(function(n, i) {
@@ -870,13 +851,13 @@ var Ke = Cr(function(e) {
870
851
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
871
852
  };
872
853
  });
873
- function ht(e, t) {
854
+ function pt(e, t) {
874
855
  if (e) {
875
856
  var r = e.indexOf(t);
876
857
  0 <= r && e.splice(r, 1);
877
858
  }
878
859
  }
879
- var Ve = function() {
860
+ var We = function() {
880
861
  function e(t) {
881
862
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
882
863
  }
@@ -888,7 +869,7 @@ var Ve = function() {
888
869
  if (s)
889
870
  if (this._parentage = null, Array.isArray(s))
890
871
  try {
891
- for (var a = ut(s), u = a.next(); !u.done; u = a.next()) {
872
+ for (var a = ct(s), u = a.next(); !u.done; u = a.next()) {
892
873
  var l = u.value;
893
874
  l.remove(this);
894
875
  }
@@ -905,29 +886,29 @@ var Ve = function() {
905
886
  else
906
887
  s.remove(this);
907
888
  var h = this.initialTeardown;
908
- if (Z(h))
889
+ if (q(h))
909
890
  try {
910
891
  h();
911
892
  } catch (b) {
912
- o = b instanceof Ke ? b.errors : [b];
893
+ o = b instanceof tt ? b.errors : [b];
913
894
  }
914
895
  var f = this._finalizers;
915
896
  if (f) {
916
897
  this._finalizers = null;
917
898
  try {
918
- for (var c = ut(f), m = c.next(); !m.done; m = c.next()) {
919
- var d = m.value;
899
+ for (var c = ct(f), p = c.next(); !p.done; p = c.next()) {
900
+ var d = p.value;
920
901
  try {
921
- jt(d);
902
+ zt(d);
922
903
  } catch (b) {
923
- o = o != null ? o : [], b instanceof Ke ? o = ce(ce([], lt(o)), lt(b.errors)) : o.push(b);
904
+ o = o != null ? o : [], b instanceof tt ? o = dt(dt([], ft(o)), ft(b.errors)) : o.push(b);
924
905
  }
925
906
  }
926
907
  } catch (b) {
927
908
  n = { error: b };
928
909
  } finally {
929
910
  try {
930
- m && !m.done && (i = c.return) && i.call(c);
911
+ p && !p.done && (i = c.return) && i.call(c);
931
912
  } finally {
932
913
  if (n)
933
914
  throw n.error;
@@ -935,13 +916,13 @@ var Ve = function() {
935
916
  }
936
917
  }
937
918
  if (o)
938
- throw new Ke(o);
919
+ throw new tt(o);
939
920
  }
940
921
  }, e.prototype.add = function(t) {
941
922
  var r;
942
923
  if (t && t !== this)
943
924
  if (this.closed)
944
- jt(t);
925
+ zt(t);
945
926
  else {
946
927
  if (t instanceof e) {
947
928
  if (t.closed || t._hasParent(this))
@@ -958,56 +939,52 @@ var Ve = function() {
958
939
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
959
940
  }, e.prototype._removeParent = function(t) {
960
941
  var r = this._parentage;
961
- r === t ? this._parentage = null : Array.isArray(r) && ht(r, t);
942
+ r === t ? this._parentage = null : Array.isArray(r) && pt(r, t);
962
943
  }, e.prototype.remove = function(t) {
963
944
  var r = this._finalizers;
964
- r && ht(r, t), t instanceof e && t._removeParent(this);
945
+ r && pt(r, t), t instanceof e && t._removeParent(this);
965
946
  }, e.EMPTY = function() {
966
947
  var t = new e();
967
948
  return t.closed = !0, t;
968
949
  }(), e;
969
- }(), Nr = Ve.EMPTY;
970
- function Rr(e) {
971
- return e instanceof Ve || e && "closed" in e && Z(e.remove) && Z(e.add) && Z(e.unsubscribe);
972
- }
973
- function jt(e) {
974
- Z(e) ? e() : e.unsubscribe();
975
- }
976
- var di = {
977
- onUnhandledError: null,
978
- onStoppedNotification: null,
979
- Promise: void 0,
980
- useDeprecatedSynchronousErrorHandling: !1,
981
- useDeprecatedNextContext: !1
982
- }, mi = {
950
+ }(), Ur = We.EMPTY;
951
+ function Dr(e) {
952
+ return e instanceof We || e && "closed" in e && q(e.remove) && q(e.add) && q(e.unsubscribe);
953
+ }
954
+ function zt(e) {
955
+ q(e) ? e() : e.unsubscribe();
956
+ }
957
+ var gi = {
958
+ Promise: void 0
959
+ }, bi = {
983
960
  setTimeout: function(e, t) {
984
961
  for (var r = [], n = 2; n < arguments.length; n++)
985
962
  r[n - 2] = arguments[n];
986
- return setTimeout.apply(void 0, ce([e, t], lt(r)));
963
+ return setTimeout.apply(void 0, dt([e, t], ft(r)));
987
964
  },
988
965
  clearTimeout: function(e) {
989
966
  return clearTimeout(e);
990
967
  },
991
968
  delegate: void 0
992
969
  };
993
- function pi(e) {
994
- mi.setTimeout(function() {
970
+ function yi(e) {
971
+ bi.setTimeout(function() {
995
972
  throw e;
996
973
  });
997
974
  }
998
- function Vt() {
975
+ function Zt() {
999
976
  }
1000
977
  function Ne(e) {
1001
978
  e();
1002
979
  }
1003
- var Fr = function(e) {
1004
- Q(t, e);
980
+ var Gr = function(e) {
981
+ Me(t, e);
1005
982
  function t(r) {
1006
983
  var n = e.call(this) || this;
1007
- return n.isStopped = !1, r ? (n.destination = r, Rr(r) && r.add(n)) : n.destination = yi, n;
984
+ return n.isStopped = !1, r ? (n.destination = r, Dr(r) && r.add(n)) : n.destination = xi, n;
1008
985
  }
1009
986
  return t.create = function(r, n, i) {
1010
- return new ct(r, n, i);
987
+ return new mt(r, n, i);
1011
988
  }, t.prototype.next = function(r) {
1012
989
  this.isStopped || this._next(r);
1013
990
  }, t.prototype.error = function(r) {
@@ -1031,7 +1008,7 @@ var Fr = function(e) {
1031
1008
  this.unsubscribe();
1032
1009
  }
1033
1010
  }, t;
1034
- }(Ve), gi = function() {
1011
+ }(We), vi = function() {
1035
1012
  function e(t) {
1036
1013
  this.partialObserver = t;
1037
1014
  }
@@ -1062,43 +1039,43 @@ var Fr = function(e) {
1062
1039
  Oe(r);
1063
1040
  }
1064
1041
  }, e;
1065
- }(), ct = function(e) {
1066
- Q(t, e);
1042
+ }(), mt = function(e) {
1043
+ Me(t, e);
1067
1044
  function t(r, n, i) {
1068
1045
  var o = e.call(this) || this, s;
1069
- return Z(r) || !r ? s = {
1046
+ return q(r) || !r ? s = {
1070
1047
  next: r != null ? r : void 0,
1071
1048
  error: n != null ? n : void 0,
1072
1049
  complete: i != null ? i : void 0
1073
- } : s = r, o.destination = new gi(s), o;
1050
+ } : s = r, o.destination = new vi(s), o;
1074
1051
  }
1075
1052
  return t;
1076
- }(Fr);
1053
+ }(Gr);
1077
1054
  function Oe(e) {
1078
- pi(e);
1055
+ yi(e);
1079
1056
  }
1080
- function bi(e) {
1057
+ function _i(e) {
1081
1058
  throw e;
1082
1059
  }
1083
- var yi = {
1060
+ var xi = {
1084
1061
  closed: !0,
1085
- next: Vt,
1086
- error: bi,
1087
- complete: Vt
1088
- }, _i = function() {
1062
+ next: Zt,
1063
+ error: _i,
1064
+ complete: Zt
1065
+ }, Ei = function() {
1089
1066
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1090
1067
  }();
1091
- function vi(e) {
1068
+ function wi(e) {
1092
1069
  return e;
1093
1070
  }
1094
- function xi(e) {
1095
- return e.length === 0 ? vi : e.length === 1 ? e[0] : function(r) {
1071
+ function Si(e) {
1072
+ return e.length === 0 ? wi : e.length === 1 ? e[0] : function(r) {
1096
1073
  return e.reduce(function(n, i) {
1097
1074
  return i(n);
1098
1075
  }, r);
1099
1076
  };
1100
1077
  }
1101
- var Wt = function() {
1078
+ var qt = function() {
1102
1079
  function e(t) {
1103
1080
  t && (this._subscribe = t);
1104
1081
  }
@@ -1106,7 +1083,7 @@ var Wt = function() {
1106
1083
  var r = new e();
1107
1084
  return r.source = this, r.operator = t, r;
1108
1085
  }, e.prototype.subscribe = function(t, r, n) {
1109
- var i = this, o = wi(t) ? t : new ct(t, r, n);
1086
+ var i = this, o = Ti(t) ? t : new mt(t, r, n);
1110
1087
  return Ne(function() {
1111
1088
  var s = i, a = s.operator, u = s.source;
1112
1089
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
@@ -1119,8 +1096,8 @@ var Wt = function() {
1119
1096
  }
1120
1097
  }, e.prototype.forEach = function(t, r) {
1121
1098
  var n = this;
1122
- return r = Xt(r), new r(function(i, o) {
1123
- var s = new ct({
1099
+ return r = Qt(r), new r(function(i, o) {
1100
+ var s = new mt({
1124
1101
  next: function(a) {
1125
1102
  try {
1126
1103
  t(a);
@@ -1136,15 +1113,15 @@ var Wt = function() {
1136
1113
  }, e.prototype._subscribe = function(t) {
1137
1114
  var r;
1138
1115
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1139
- }, e.prototype[_i] = function() {
1116
+ }, e.prototype[Ei] = function() {
1140
1117
  return this;
1141
1118
  }, e.prototype.pipe = function() {
1142
1119
  for (var t = [], r = 0; r < arguments.length; r++)
1143
1120
  t[r] = arguments[r];
1144
- return xi(t)(this);
1121
+ return Si(t)(this);
1145
1122
  }, e.prototype.toPromise = function(t) {
1146
1123
  var r = this;
1147
- return t = Xt(t), new t(function(n, i) {
1124
+ return t = Qt(t), new t(function(n, i) {
1148
1125
  var o;
1149
1126
  r.subscribe(function(s) {
1150
1127
  return o = s;
@@ -1158,32 +1135,32 @@ var Wt = function() {
1158
1135
  return new e(t);
1159
1136
  }, e;
1160
1137
  }();
1161
- function Xt(e) {
1138
+ function Qt(e) {
1162
1139
  var t;
1163
- return (t = e != null ? e : di.Promise) !== null && t !== void 0 ? t : Promise;
1140
+ return (t = e != null ? e : gi.Promise) !== null && t !== void 0 ? t : Promise;
1164
1141
  }
1165
- function Ei(e) {
1166
- return e && Z(e.next) && Z(e.error) && Z(e.complete);
1142
+ function Hi(e) {
1143
+ return e && q(e.next) && q(e.error) && q(e.complete);
1167
1144
  }
1168
- function wi(e) {
1169
- return e && e instanceof Fr || Ei(e) && Rr(e);
1145
+ function Ti(e) {
1146
+ return e && e instanceof Gr || Hi(e) && Dr(e);
1170
1147
  }
1171
- var Hi = Cr(function(e) {
1148
+ var Mi = $r(function(e) {
1172
1149
  return function() {
1173
1150
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1174
1151
  };
1175
- }), Ur = function(e) {
1176
- Q(t, e);
1152
+ }), kr = function(e) {
1153
+ Me(t, e);
1177
1154
  function t() {
1178
1155
  var r = e.call(this) || this;
1179
1156
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1180
1157
  }
1181
1158
  return t.prototype.lift = function(r) {
1182
- var n = new zt(this, this);
1159
+ var n = new Jt(this, this);
1183
1160
  return n.operator = r, n;
1184
1161
  }, t.prototype._throwIfClosed = function() {
1185
1162
  if (this.closed)
1186
- throw new Hi();
1163
+ throw new Mi();
1187
1164
  }, t.prototype.next = function(r) {
1188
1165
  var n = this;
1189
1166
  Ne(function() {
@@ -1191,7 +1168,7 @@ var Hi = Cr(function(e) {
1191
1168
  if (n._throwIfClosed(), !n.isStopped) {
1192
1169
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1193
1170
  try {
1194
- for (var s = ut(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1171
+ for (var s = ct(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1195
1172
  var u = a.value;
1196
1173
  u.next(r);
1197
1174
  }
@@ -1240,20 +1217,20 @@ var Hi = Cr(function(e) {
1240
1217
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1241
1218
  }, t.prototype._innerSubscribe = function(r) {
1242
1219
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1243
- return o || s ? Nr : (this.currentObservers = null, a.push(r), new Ve(function() {
1244
- n.currentObservers = null, ht(a, r);
1220
+ return o || s ? Ur : (this.currentObservers = null, a.push(r), new We(function() {
1221
+ n.currentObservers = null, pt(a, r);
1245
1222
  }));
1246
1223
  }, t.prototype._checkFinalizedStatuses = function(r) {
1247
1224
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1248
1225
  i ? r.error(o) : s && r.complete();
1249
1226
  }, t.prototype.asObservable = function() {
1250
- var r = new Wt();
1227
+ var r = new qt();
1251
1228
  return r.source = this, r;
1252
1229
  }, t.create = function(r, n) {
1253
- return new zt(r, n);
1230
+ return new Jt(r, n);
1254
1231
  }, t;
1255
- }(Wt), zt = function(e) {
1256
- Q(t, e);
1232
+ }(qt), Jt = function(e) {
1233
+ Me(t, e);
1257
1234
  function t(r, n) {
1258
1235
  var i = e.call(this) || this;
1259
1236
  return i.destination = r, i.source = n, i;
@@ -1269,17 +1246,17 @@ var Hi = Cr(function(e) {
1269
1246
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1270
1247
  }, t.prototype._subscribe = function(r) {
1271
1248
  var n, i;
1272
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Nr;
1249
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ur;
1273
1250
  }, t;
1274
- }(Ur), Dr = {
1251
+ }(kr), jr = {
1275
1252
  now: function() {
1276
- return (Dr.delegate || Date).now();
1253
+ return (jr.delegate || Date).now();
1277
1254
  },
1278
1255
  delegate: void 0
1279
- }, Si = function(e) {
1280
- Q(t, e);
1256
+ }, Ai = function(e) {
1257
+ Me(t, e);
1281
1258
  function t(r, n, i) {
1282
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Dr);
1259
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jr);
1283
1260
  var o = e.call(this) || this;
1284
1261
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1285
1262
  }
@@ -1299,24 +1276,24 @@ var Hi = Cr(function(e) {
1299
1276
  l && o.splice(0, l + 1);
1300
1277
  }
1301
1278
  }, t;
1302
- }(Ur);
1303
- const Zt = [], qt = {}, Ti = (e, t = 0) => {
1304
- if (Zt.indexOf(e) == -1) {
1305
- const r = new Si(t);
1306
- qt[e] = r, Zt.push(e);
1279
+ }(kr);
1280
+ const Yt = [], Kt = {}, Bi = (e, t = 0) => {
1281
+ if (Yt.indexOf(e) == -1) {
1282
+ const r = new Ai(t);
1283
+ Kt[e] = r, Yt.push(e);
1307
1284
  }
1308
- return qt[e];
1285
+ return Kt[e];
1309
1286
  }, se = [];
1310
- function Mi(e, t) {
1287
+ function Pi(e, t) {
1311
1288
  return {
1312
- subscribe: We(e, t).subscribe
1289
+ subscribe: Xe(e, t).subscribe
1313
1290
  };
1314
1291
  }
1315
- function We(e, t = D) {
1292
+ function Xe(e, t = U) {
1316
1293
  let r;
1317
1294
  const n = /* @__PURE__ */ new Set();
1318
1295
  function i(a) {
1319
- if (Mr(e, a) && (e = a, r)) {
1296
+ if (Or(e, a) && (e = a, r)) {
1320
1297
  const u = !se.length;
1321
1298
  for (const l of n)
1322
1299
  l[1](), se.push(l, e);
@@ -1330,31 +1307,31 @@ function We(e, t = D) {
1330
1307
  function o(a) {
1331
1308
  i(a(e));
1332
1309
  }
1333
- function s(a, u = D) {
1310
+ function s(a, u = U) {
1334
1311
  const l = [a, u];
1335
- return n.add(l), n.size === 1 && (r = t(i, o) || D), a(e), () => {
1312
+ return n.add(l), n.size === 1 && (r = t(i, o) || U), a(e), () => {
1336
1313
  n.delete(l), n.size === 0 && r && (r(), r = null);
1337
1314
  };
1338
1315
  }
1339
1316
  return { set: i, update: o, subscribe: s };
1340
1317
  }
1341
- function ye(e, t, r) {
1318
+ function be(e, t, r) {
1342
1319
  const n = !Array.isArray(e), i = n ? [e] : e;
1343
1320
  if (!i.every(Boolean))
1344
1321
  throw new Error("derived() expects stores as input, got a falsy value");
1345
1322
  const o = t.length < 2;
1346
- return Mi(r, (s, a) => {
1323
+ return Pi(r, (s, a) => {
1347
1324
  let u = !1;
1348
1325
  const l = [];
1349
- let h = 0, f = D;
1326
+ let h = 0, f = U;
1350
1327
  const c = () => {
1351
1328
  if (h)
1352
1329
  return;
1353
1330
  f();
1354
1331
  const d = t(n ? l[0] : l, s, a);
1355
- o ? s(d) : f = Me(d) ? d : D;
1356
- }, m = i.map(
1357
- (d, b) => Ar(
1332
+ o ? s(d) : f = Te(d) ? d : U;
1333
+ }, p = i.map(
1334
+ (d, b) => Ir(
1358
1335
  d,
1359
1336
  (w) => {
1360
1337
  l[b] = w, h &= ~(1 << b), u && c();
@@ -1365,119 +1342,158 @@ function ye(e, t, r) {
1365
1342
  )
1366
1343
  );
1367
1344
  return u = !0, c(), function() {
1368
- q(m), f(), u = !1;
1345
+ Q(p), f(), u = !1;
1369
1346
  };
1370
1347
  });
1371
1348
  }
1372
- var Rs = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
1373
- function Ai(e) {
1349
+ var Ds = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
1350
+ function Oi(e) {
1374
1351
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1375
1352
  }
1376
- var Bi = function(t) {
1377
- return Pi(t) && !Oi(t);
1353
+ var Ii = function(t) {
1354
+ return Li(t) && !Ci(t);
1378
1355
  };
1379
- function Pi(e) {
1356
+ function Li(e) {
1380
1357
  return !!e && typeof e == "object";
1381
1358
  }
1382
- function Oi(e) {
1359
+ function Ci(e) {
1383
1360
  var t = Object.prototype.toString.call(e);
1384
- return t === "[object RegExp]" || t === "[object Date]" || Ci(e);
1361
+ return t === "[object RegExp]" || t === "[object Date]" || Fi(e);
1385
1362
  }
1386
- var Ii = typeof Symbol == "function" && Symbol.for, Li = Ii ? Symbol.for("react.element") : 60103;
1387
- function Ci(e) {
1388
- return e.$$typeof === Li;
1363
+ var Ni = typeof Symbol == "function" && Symbol.for, Ri = Ni ? Symbol.for("react.element") : 60103;
1364
+ function Fi(e) {
1365
+ return e.$$typeof === Ri;
1389
1366
  }
1390
- function Ni(e) {
1367
+ function $i(e) {
1391
1368
  return Array.isArray(e) ? [] : {};
1392
1369
  }
1393
1370
  function Se(e, t) {
1394
- return t.clone !== !1 && t.isMergeableObject(e) ? de(Ni(e), e, t) : e;
1371
+ return t.clone !== !1 && t.isMergeableObject(e) ? fe($i(e), e, t) : e;
1395
1372
  }
1396
- function Ri(e, t, r) {
1373
+ function Ui(e, t, r) {
1397
1374
  return e.concat(t).map(function(n) {
1398
1375
  return Se(n, r);
1399
1376
  });
1400
1377
  }
1401
- function Fi(e, t) {
1378
+ function Di(e, t) {
1402
1379
  if (!t.customMerge)
1403
- return de;
1380
+ return fe;
1404
1381
  var r = t.customMerge(e);
1405
- return typeof r == "function" ? r : de;
1382
+ return typeof r == "function" ? r : fe;
1406
1383
  }
1407
- function Ui(e) {
1384
+ function Gi(e) {
1408
1385
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1409
1386
  return Object.propertyIsEnumerable.call(e, t);
1410
1387
  }) : [];
1411
1388
  }
1412
- function Qt(e) {
1413
- return Object.keys(e).concat(Ui(e));
1389
+ function er(e) {
1390
+ return Object.keys(e).concat(Gi(e));
1414
1391
  }
1415
- function $r(e, t) {
1392
+ function Vr(e, t) {
1416
1393
  try {
1417
1394
  return t in e;
1418
1395
  } catch (r) {
1419
1396
  return !1;
1420
1397
  }
1421
1398
  }
1422
- function Di(e, t) {
1423
- return $r(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1399
+ function ki(e, t) {
1400
+ return Vr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1424
1401
  }
1425
- function $i(e, t, r) {
1402
+ function ji(e, t, r) {
1426
1403
  var n = {};
1427
- return r.isMergeableObject(e) && Qt(e).forEach(function(i) {
1404
+ return r.isMergeableObject(e) && er(e).forEach(function(i) {
1428
1405
  n[i] = Se(e[i], r);
1429
- }), Qt(t).forEach(function(i) {
1430
- Di(e, i) || ($r(e, i) && r.isMergeableObject(t[i]) ? n[i] = Fi(i, r)(e[i], t[i], r) : n[i] = Se(t[i], r));
1406
+ }), er(t).forEach(function(i) {
1407
+ ki(e, i) || (Vr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Di(i, r)(e[i], t[i], r) : n[i] = Se(t[i], r));
1431
1408
  }), n;
1432
1409
  }
1433
- function de(e, t, r) {
1434
- r = r || {}, r.arrayMerge = r.arrayMerge || Ri, r.isMergeableObject = r.isMergeableObject || Bi, r.cloneUnlessOtherwiseSpecified = Se;
1410
+ function fe(e, t, r) {
1411
+ r = r || {}, r.arrayMerge = r.arrayMerge || Ui, r.isMergeableObject = r.isMergeableObject || Ii, r.cloneUnlessOtherwiseSpecified = Se;
1435
1412
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1436
- return o ? n ? r.arrayMerge(e, t, r) : $i(e, t, r) : Se(t, r);
1413
+ return o ? n ? r.arrayMerge(e, t, r) : ji(e, t, r) : Se(t, r);
1437
1414
  }
1438
- de.all = function(t, r) {
1415
+ fe.all = function(t, r) {
1439
1416
  if (!Array.isArray(t))
1440
1417
  throw new Error("first argument should be an array");
1441
1418
  return t.reduce(function(n, i) {
1442
- return de(n, i, r);
1419
+ return fe(n, i, r);
1443
1420
  }, {});
1444
1421
  };
1445
- var Gi = de, ki = Gi;
1446
- const ji = /* @__PURE__ */ Ai(ki);
1447
- function et(e, t) {
1448
- var r = t && t.cache ? t.cache : Qi, n = t && t.serializer ? t.serializer : Zi, i = t && t.strategy ? t.strategy : Wi;
1422
+ var Vi = fe, Wi = Vi;
1423
+ const Xi = /* @__PURE__ */ Oi(Wi);
1424
+ var gt = function(e, t) {
1425
+ return gt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1426
+ r.__proto__ = n;
1427
+ } || function(r, n) {
1428
+ for (var i in n)
1429
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1430
+ }, gt(e, t);
1431
+ };
1432
+ function ze(e, t) {
1433
+ if (typeof t != "function" && t !== null)
1434
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1435
+ gt(e, t);
1436
+ function r() {
1437
+ this.constructor = e;
1438
+ }
1439
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1440
+ }
1441
+ var X = function() {
1442
+ return X = Object.assign || function(t) {
1443
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1444
+ r = arguments[n];
1445
+ for (var o in r)
1446
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1447
+ }
1448
+ return t;
1449
+ }, X.apply(this, arguments);
1450
+ };
1451
+ function zi(e, t) {
1452
+ var r = {};
1453
+ for (var n in e)
1454
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1455
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1456
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1457
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1458
+ return r;
1459
+ }
1460
+ function rt(e, t, r) {
1461
+ if (r || arguments.length === 2)
1462
+ for (var n = 0, i = t.length, o; n < i; n++)
1463
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1464
+ return e.concat(o || Array.prototype.slice.call(t));
1465
+ }
1466
+ function nt(e, t) {
1467
+ var r = t && t.cache ? t.cache : eo, n = t && t.serializer ? t.serializer : Yi, i = t && t.strategy ? t.strategy : Qi;
1449
1468
  return i(e, {
1450
1469
  cache: r,
1451
1470
  serializer: n
1452
1471
  });
1453
1472
  }
1454
- function Vi(e) {
1473
+ function Zi(e) {
1455
1474
  return e == null || typeof e == "number" || typeof e == "boolean";
1456
1475
  }
1457
- function Gr(e, t, r, n) {
1458
- var i = Vi(n) ? n : r(n), o = t.get(i);
1476
+ function qi(e, t, r, n) {
1477
+ var i = Zi(n) ? n : r(n), o = t.get(i);
1459
1478
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1460
1479
  }
1461
- function kr(e, t, r) {
1480
+ function Wr(e, t, r) {
1462
1481
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1463
1482
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1464
1483
  }
1465
- function Et(e, t, r, n, i) {
1484
+ function Xr(e, t, r, n, i) {
1466
1485
  return r.bind(t, e, n, i);
1467
1486
  }
1468
- function Wi(e, t) {
1469
- var r = e.length === 1 ? Gr : kr;
1470
- return Et(e, this, r, t.cache.create(), t.serializer);
1487
+ function Qi(e, t) {
1488
+ var r = e.length === 1 ? qi : Wr;
1489
+ return Xr(e, this, r, t.cache.create(), t.serializer);
1471
1490
  }
1472
- function Xi(e, t) {
1473
- return Et(e, this, kr, t.cache.create(), t.serializer);
1474
- }
1475
- function zi(e, t) {
1476
- return Et(e, this, Gr, t.cache.create(), t.serializer);
1491
+ function Ji(e, t) {
1492
+ return Xr(e, this, Wr, t.cache.create(), t.serializer);
1477
1493
  }
1478
- var Zi = function() {
1494
+ var Yi = function() {
1479
1495
  return JSON.stringify(arguments);
1480
- }, qi = (
1496
+ }, Ki = (
1481
1497
  /** @class */
1482
1498
  function() {
1483
1499
  function e() {
@@ -1489,62 +1505,71 @@ var Zi = function() {
1489
1505
  this.cache[t] = r;
1490
1506
  }, e;
1491
1507
  }()
1492
- ), Qi = {
1508
+ ), eo = {
1493
1509
  create: function() {
1494
- return new qi();
1510
+ return new Ki();
1495
1511
  }
1496
- }, tt = {
1497
- variadic: Xi,
1498
- monadic: zi
1499
- }, H;
1512
+ }, it = {
1513
+ variadic: Ji
1514
+ }, ke = function() {
1515
+ return ke = Object.assign || function(t) {
1516
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1517
+ r = arguments[n];
1518
+ for (var o in r)
1519
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1520
+ }
1521
+ return t;
1522
+ }, ke.apply(this, arguments);
1523
+ };
1524
+ var S;
1500
1525
  (function(e) {
1501
1526
  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";
1502
- })(H || (H = {}));
1503
- var N;
1527
+ })(S || (S = {}));
1528
+ var C;
1504
1529
  (function(e) {
1505
1530
  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";
1506
- })(N || (N = {}));
1507
- var me;
1531
+ })(C || (C = {}));
1532
+ var de;
1508
1533
  (function(e) {
1509
1534
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1510
- })(me || (me = {}));
1511
- function Jt(e) {
1512
- return e.type === N.literal;
1535
+ })(de || (de = {}));
1536
+ function tr(e) {
1537
+ return e.type === C.literal;
1513
1538
  }
1514
- function Ji(e) {
1515
- return e.type === N.argument;
1539
+ function to(e) {
1540
+ return e.type === C.argument;
1516
1541
  }
1517
- function jr(e) {
1518
- return e.type === N.number;
1542
+ function zr(e) {
1543
+ return e.type === C.number;
1519
1544
  }
1520
- function Vr(e) {
1521
- return e.type === N.date;
1545
+ function Zr(e) {
1546
+ return e.type === C.date;
1522
1547
  }
1523
- function Wr(e) {
1524
- return e.type === N.time;
1548
+ function qr(e) {
1549
+ return e.type === C.time;
1525
1550
  }
1526
- function Xr(e) {
1527
- return e.type === N.select;
1551
+ function Qr(e) {
1552
+ return e.type === C.select;
1528
1553
  }
1529
- function zr(e) {
1530
- return e.type === N.plural;
1554
+ function Jr(e) {
1555
+ return e.type === C.plural;
1531
1556
  }
1532
- function Yi(e) {
1533
- return e.type === N.pound;
1557
+ function ro(e) {
1558
+ return e.type === C.pound;
1534
1559
  }
1535
- function Zr(e) {
1536
- return e.type === N.tag;
1560
+ function Yr(e) {
1561
+ return e.type === C.tag;
1537
1562
  }
1538
- function qr(e) {
1539
- return !!(e && typeof e == "object" && e.type === me.number);
1563
+ function Kr(e) {
1564
+ return !!(e && typeof e == "object" && e.type === de.number);
1540
1565
  }
1541
- function ft(e) {
1542
- return !!(e && typeof e == "object" && e.type === me.dateTime);
1566
+ function bt(e) {
1567
+ return !!(e && typeof e == "object" && e.type === de.dateTime);
1543
1568
  }
1544
- var Qr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ki = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1545
- function eo(e) {
1569
+ var en = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, no = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1570
+ function io(e) {
1546
1571
  var t = {};
1547
- return e.replace(Ki, function(r) {
1572
+ return e.replace(no, function(r) {
1548
1573
  var n = r.length;
1549
1574
  switch (r[0]) {
1550
1575
  case "G":
@@ -1633,11 +1658,21 @@ function eo(e) {
1633
1658
  return "";
1634
1659
  }), t;
1635
1660
  }
1636
- var to = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1637
- function ro(e) {
1661
+ var R = function() {
1662
+ return R = Object.assign || function(t) {
1663
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1664
+ r = arguments[n];
1665
+ for (var o in r)
1666
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1667
+ }
1668
+ return t;
1669
+ }, R.apply(this, arguments);
1670
+ };
1671
+ var oo = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1672
+ function so(e) {
1638
1673
  if (e.length === 0)
1639
1674
  throw new Error("Number skeleton cannot be empty");
1640
- for (var t = e.split(to).filter(function(c) {
1675
+ for (var t = e.split(oo).filter(function(c) {
1641
1676
  return c.length > 0;
1642
1677
  }), r = [], n = 0, i = t; n < i.length; n++) {
1643
1678
  var o = i[n], s = o.split("/");
@@ -1652,17 +1687,17 @@ function ro(e) {
1652
1687
  }
1653
1688
  return r;
1654
1689
  }
1655
- function no(e) {
1690
+ function ao(e) {
1656
1691
  return e.replace(/^(.*?)-/, "");
1657
1692
  }
1658
- var Yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jr = /^(@+)?(\+|#+)?[rs]?$/g, io = /(\*)(0+)|(#+)(0+)|(0+)/g, Yr = /^(0+)$/;
1659
- function Kt(e) {
1693
+ var rr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tn = /^(@+)?(\+|#+)?[rs]?$/g, uo = /(\*)(0+)|(#+)(0+)|(0+)/g, rn = /^(0+)$/;
1694
+ function nr(e) {
1660
1695
  var t = {};
1661
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Jr, function(r, n, i) {
1696
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(tn, function(r, n, i) {
1662
1697
  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)), "";
1663
1698
  }), t;
1664
1699
  }
1665
- function Kr(e) {
1700
+ function nn(e) {
1666
1701
  switch (e) {
1667
1702
  case "sign-auto":
1668
1703
  return {
@@ -1702,7 +1737,7 @@ function Kr(e) {
1702
1737
  };
1703
1738
  }
1704
1739
  }
1705
- function oo(e) {
1740
+ function lo(e) {
1706
1741
  var t;
1707
1742
  if (e[0] === "E" && e[1] === "E" ? (t = {
1708
1743
  notation: "engineering"
@@ -1710,17 +1745,17 @@ function oo(e) {
1710
1745
  notation: "scientific"
1711
1746
  }, e = e.slice(1)), t) {
1712
1747
  var r = e.slice(0, 2);
1713
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yr.test(e))
1748
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !rn.test(e))
1714
1749
  throw new Error("Malformed concise eng/scientific notation");
1715
1750
  t.minimumIntegerDigits = e.length;
1716
1751
  }
1717
1752
  return t;
1718
1753
  }
1719
- function er(e) {
1720
- var t = {}, r = Kr(e);
1754
+ function ir(e) {
1755
+ var t = {}, r = nn(e);
1721
1756
  return r || t;
1722
1757
  }
1723
- function so(e) {
1758
+ function ho(e) {
1724
1759
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1725
1760
  var i = n[r];
1726
1761
  switch (i.stem) {
@@ -1744,7 +1779,7 @@ function so(e) {
1744
1779
  continue;
1745
1780
  case "measure-unit":
1746
1781
  case "unit":
1747
- t.style = "unit", t.unit = no(i.options[0]);
1782
+ t.style = "unit", t.unit = ao(i.options[0]);
1748
1783
  continue;
1749
1784
  case "compact-short":
1750
1785
  case "K":
@@ -1755,13 +1790,13 @@ function so(e) {
1755
1790
  t.notation = "compact", t.compactDisplay = "long";
1756
1791
  continue;
1757
1792
  case "scientific":
1758
- t = M(M(M({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1759
- return M(M({}, u), er(l));
1793
+ t = R(R(R({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1794
+ return R(R({}, u), ir(l));
1760
1795
  }, {}));
1761
1796
  continue;
1762
1797
  case "engineering":
1763
- t = M(M(M({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1764
- return M(M({}, u), er(l));
1798
+ t = R(R(R({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1799
+ return R(R({}, u), ir(l));
1765
1800
  }, {}));
1766
1801
  continue;
1767
1802
  case "notation-simple":
@@ -1806,41 +1841,41 @@ function so(e) {
1806
1841
  case "integer-width":
1807
1842
  if (i.options.length > 1)
1808
1843
  throw new RangeError("integer-width stems only accept a single optional option");
1809
- i.options[0].replace(io, function(u, l, h, f, c, m) {
1844
+ i.options[0].replace(uo, function(u, l, h, f, c, p) {
1810
1845
  if (l)
1811
1846
  t.minimumIntegerDigits = h.length;
1812
1847
  else {
1813
1848
  if (f && c)
1814
1849
  throw new Error("We currently do not support maximum integer digits");
1815
- if (m)
1850
+ if (p)
1816
1851
  throw new Error("We currently do not support exact integer digits");
1817
1852
  }
1818
1853
  return "";
1819
1854
  });
1820
1855
  continue;
1821
1856
  }
1822
- if (Yr.test(i.stem)) {
1857
+ if (rn.test(i.stem)) {
1823
1858
  t.minimumIntegerDigits = i.stem.length;
1824
1859
  continue;
1825
1860
  }
1826
- if (Yt.test(i.stem)) {
1861
+ if (rr.test(i.stem)) {
1827
1862
  if (i.options.length > 1)
1828
1863
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1829
- i.stem.replace(Yt, function(u, l, h, f, c, m) {
1830
- return h === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1864
+ i.stem.replace(rr, function(u, l, h, f, c, p) {
1865
+ return h === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1831
1866
  });
1832
1867
  var o = i.options[0];
1833
- o === "w" ? t = M(M({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = M(M({}, t), Kt(o)));
1868
+ o === "w" ? t = R(R({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = R(R({}, t), nr(o)));
1834
1869
  continue;
1835
1870
  }
1836
- if (Jr.test(i.stem)) {
1837
- t = M(M({}, t), Kt(i.stem));
1871
+ if (tn.test(i.stem)) {
1872
+ t = R(R({}, t), nr(i.stem));
1838
1873
  continue;
1839
1874
  }
1840
- var s = Kr(i.stem);
1841
- s && (t = M(M({}, t), s));
1842
- var a = oo(i.stem);
1843
- a && (t = M(M({}, t), a));
1875
+ var s = nn(i.stem);
1876
+ s && (t = R(R({}, t), s));
1877
+ var a = lo(i.stem);
1878
+ a && (t = R(R({}, t), a));
1844
1879
  }
1845
1880
  return t;
1846
1881
  }
@@ -3259,13 +3294,13 @@ var Ie = {
3259
3294
  "h"
3260
3295
  ]
3261
3296
  };
3262
- function ao(e, t) {
3297
+ function co(e, t) {
3263
3298
  for (var r = "", n = 0; n < e.length; n++) {
3264
3299
  var i = e.charAt(n);
3265
3300
  if (i === "j") {
3266
3301
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3267
3302
  o++, n++;
3268
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = uo(t);
3303
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = fo(t);
3269
3304
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3270
3305
  r += u;
3271
3306
  for (; s-- > 0; )
@@ -3275,7 +3310,7 @@ function ao(e, t) {
3275
3310
  }
3276
3311
  return r;
3277
3312
  }
3278
- function uo(e) {
3313
+ function fo(e) {
3279
3314
  var t = e.hourCycle;
3280
3315
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3281
3316
  e.hourCycles && // @ts-ignore
@@ -3297,20 +3332,20 @@ function uo(e) {
3297
3332
  var i = Ie[n || ""] || Ie[r || ""] || Ie["".concat(r, "-001")] || Ie["001"];
3298
3333
  return i[0];
3299
3334
  }
3300
- var rt, lo = new RegExp("^".concat(Qr.source, "*")), ho = new RegExp("".concat(Qr.source, "*$"));
3301
- function S(e, t) {
3335
+ var ot, po = new RegExp("^".concat(en.source, "*")), mo = new RegExp("".concat(en.source, "*$"));
3336
+ function T(e, t) {
3302
3337
  return { start: e, end: t };
3303
3338
  }
3304
- var co = !!String.prototype.startsWith && "_a".startsWith("a", 1), fo = !!String.fromCodePoint, mo = !!Object.fromEntries, po = !!String.prototype.codePointAt, go = !!String.prototype.trimStart, bo = !!String.prototype.trimEnd, yo = !!Number.isSafeInteger, _o = yo ? Number.isSafeInteger : function(e) {
3339
+ var go = !!String.prototype.startsWith && "_a".startsWith("a", 1), bo = !!String.fromCodePoint, yo = !!Object.fromEntries, vo = !!String.prototype.codePointAt, _o = !!String.prototype.trimStart, xo = !!String.prototype.trimEnd, Eo = !!Number.isSafeInteger, wo = Eo ? Number.isSafeInteger : function(e) {
3305
3340
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3306
- }, dt = !0;
3341
+ }, yt = !0;
3307
3342
  try {
3308
- var vo = tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3309
- dt = ((rt = vo.exec("a")) === null || rt === void 0 ? void 0 : rt[0]) === "a";
3343
+ var So = sn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3344
+ yt = ((ot = So.exec("a")) === null || ot === void 0 ? void 0 : ot[0]) === "a";
3310
3345
  } catch (e) {
3311
- dt = !1;
3346
+ yt = !1;
3312
3347
  }
3313
- var tr = co ? (
3348
+ var or = go ? (
3314
3349
  // Native
3315
3350
  function(t, r, n) {
3316
3351
  return t.startsWith(r, n);
@@ -3320,7 +3355,7 @@ var tr = co ? (
3320
3355
  function(t, r, n) {
3321
3356
  return t.slice(n, n + r.length) === r;
3322
3357
  }
3323
- ), mt = fo ? String.fromCodePoint : (
3358
+ ), vt = bo ? String.fromCodePoint : (
3324
3359
  // IE11
3325
3360
  function() {
3326
3361
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3332,9 +3367,9 @@ var tr = co ? (
3332
3367
  }
3333
3368
  return n;
3334
3369
  }
3335
- ), rr = (
3370
+ ), sr = (
3336
3371
  // native
3337
- mo ? Object.fromEntries : (
3372
+ yo ? Object.fromEntries : (
3338
3373
  // Ponyfill
3339
3374
  function(t) {
3340
3375
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3344,7 +3379,7 @@ var tr = co ? (
3344
3379
  return r;
3345
3380
  }
3346
3381
  )
3347
- ), en = po ? (
3382
+ ), on = vo ? (
3348
3383
  // Native
3349
3384
  function(t, r) {
3350
3385
  return t.codePointAt(r);
@@ -3358,7 +3393,7 @@ var tr = co ? (
3358
3393
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3359
3394
  }
3360
3395
  }
3361
- ), xo = go ? (
3396
+ ), Ho = _o ? (
3362
3397
  // Native
3363
3398
  function(t) {
3364
3399
  return t.trimStart();
@@ -3366,9 +3401,9 @@ var tr = co ? (
3366
3401
  ) : (
3367
3402
  // Ponyfill
3368
3403
  function(t) {
3369
- return t.replace(lo, "");
3404
+ return t.replace(po, "");
3370
3405
  }
3371
- ), Eo = bo ? (
3406
+ ), To = xo ? (
3372
3407
  // Native
3373
3408
  function(t) {
3374
3409
  return t.trimEnd();
@@ -3376,32 +3411,32 @@ var tr = co ? (
3376
3411
  ) : (
3377
3412
  // Ponyfill
3378
3413
  function(t) {
3379
- return t.replace(ho, "");
3414
+ return t.replace(mo, "");
3380
3415
  }
3381
3416
  );
3382
- function tn(e, t) {
3417
+ function sn(e, t) {
3383
3418
  return new RegExp(e, t);
3384
3419
  }
3385
- var pt;
3386
- if (dt) {
3387
- var nr = tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3388
- pt = function(t, r) {
3420
+ var _t;
3421
+ if (yt) {
3422
+ var ar = sn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3423
+ _t = function(t, r) {
3389
3424
  var n;
3390
- nr.lastIndex = r;
3391
- var i = nr.exec(t);
3425
+ ar.lastIndex = r;
3426
+ var i = ar.exec(t);
3392
3427
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3393
3428
  };
3394
3429
  } else
3395
- pt = function(t, r) {
3430
+ _t = function(t, r) {
3396
3431
  for (var n = []; ; ) {
3397
- var i = en(t, r);
3398
- if (i === void 0 || rn(i) || To(i))
3432
+ var i = on(t, r);
3433
+ if (i === void 0 || an(i) || Po(i))
3399
3434
  break;
3400
3435
  n.push(i), r += i >= 65536 ? 2 : 1;
3401
3436
  }
3402
- return mt.apply(void 0, n);
3437
+ return vt.apply(void 0, n);
3403
3438
  };
3404
- var wo = (
3439
+ var Mo = (
3405
3440
  /** @class */
3406
3441
  function() {
3407
3442
  function e(t, r) {
@@ -3425,14 +3460,14 @@ var wo = (
3425
3460
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3426
3461
  var a = this.clonePosition();
3427
3462
  this.bump(), i.push({
3428
- type: N.pound,
3429
- location: S(a, this.clonePosition())
3463
+ type: C.pound,
3464
+ location: T(a, this.clonePosition())
3430
3465
  });
3431
3466
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3432
3467
  if (n)
3433
3468
  break;
3434
- return this.error(H.UNMATCHED_CLOSING_TAG, S(this.clonePosition(), this.clonePosition()));
3435
- } else if (o === 60 && !this.ignoreTag && gt(this.peek() || 0)) {
3469
+ return this.error(S.UNMATCHED_CLOSING_TAG, T(this.clonePosition(), this.clonePosition()));
3470
+ } else if (o === 60 && !this.ignoreTag && xt(this.peek() || 0)) {
3436
3471
  var s = this.parseTag(t, r);
3437
3472
  if (s.err)
3438
3473
  return s;
@@ -3453,9 +3488,9 @@ var wo = (
3453
3488
  if (this.bumpSpace(), this.bumpIf("/>"))
3454
3489
  return {
3455
3490
  val: {
3456
- type: N.literal,
3491
+ type: C.literal,
3457
3492
  value: "<".concat(i, "/>"),
3458
- location: S(n, this.clonePosition())
3493
+ location: T(n, this.clonePosition())
3459
3494
  },
3460
3495
  err: null
3461
3496
  };
@@ -3465,25 +3500,25 @@ var wo = (
3465
3500
  return o;
3466
3501
  var s = o.val, a = this.clonePosition();
3467
3502
  if (this.bumpIf("</")) {
3468
- if (this.isEOF() || !gt(this.char()))
3469
- return this.error(H.INVALID_TAG, S(a, this.clonePosition()));
3503
+ if (this.isEOF() || !xt(this.char()))
3504
+ return this.error(S.INVALID_TAG, T(a, this.clonePosition()));
3470
3505
  var u = this.clonePosition(), l = this.parseTagName();
3471
- return i !== l ? this.error(H.UNMATCHED_CLOSING_TAG, S(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3506
+ return i !== l ? this.error(S.UNMATCHED_CLOSING_TAG, T(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3472
3507
  val: {
3473
- type: N.tag,
3508
+ type: C.tag,
3474
3509
  value: i,
3475
3510
  children: s,
3476
- location: S(n, this.clonePosition())
3511
+ location: T(n, this.clonePosition())
3477
3512
  },
3478
3513
  err: null
3479
- } : this.error(H.INVALID_TAG, S(a, this.clonePosition())));
3514
+ } : this.error(S.INVALID_TAG, T(a, this.clonePosition())));
3480
3515
  } else
3481
- return this.error(H.UNCLOSED_TAG, S(n, this.clonePosition()));
3516
+ return this.error(S.UNCLOSED_TAG, T(n, this.clonePosition()));
3482
3517
  } else
3483
- return this.error(H.INVALID_TAG, S(n, this.clonePosition()));
3518
+ return this.error(S.INVALID_TAG, T(n, this.clonePosition()));
3484
3519
  }, e.prototype.parseTagName = function() {
3485
3520
  var t = this.offset();
3486
- for (this.bump(); !this.isEOF() && So(this.char()); )
3521
+ for (this.bump(); !this.isEOF() && Bo(this.char()); )
3487
3522
  this.bump();
3488
3523
  return this.message.slice(t, this.offset());
3489
3524
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3505,14 +3540,14 @@ var wo = (
3505
3540
  }
3506
3541
  break;
3507
3542
  }
3508
- var u = S(n, this.clonePosition());
3543
+ var u = T(n, this.clonePosition());
3509
3544
  return {
3510
- val: { type: N.literal, value: i, location: u },
3545
+ val: { type: C.literal, value: i, location: u },
3511
3546
  err: null
3512
3547
  };
3513
3548
  }, e.prototype.tryParseLeftAngleBracket = function() {
3514
3549
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3515
- !Ho(this.peek() || 0)) ? (this.bump(), "<") : null;
3550
+ !Ao(this.peek() || 0)) ? (this.bump(), "<") : null;
3516
3551
  }, e.prototype.tryParseQuote = function(t) {
3517
3552
  if (this.isEOF() || this.char() !== 39)
3518
3553
  return null;
@@ -3546,49 +3581,49 @@ var wo = (
3546
3581
  r.push(n);
3547
3582
  this.bump();
3548
3583
  }
3549
- return mt.apply(void 0, r);
3584
+ return vt.apply(void 0, r);
3550
3585
  }, e.prototype.tryParseUnquoted = function(t, r) {
3551
3586
  if (this.isEOF())
3552
3587
  return null;
3553
3588
  var n = this.char();
3554
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), mt(n));
3589
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), vt(n));
3555
3590
  }, e.prototype.parseArgument = function(t, r) {
3556
3591
  var n = this.clonePosition();
3557
3592
  if (this.bump(), this.bumpSpace(), this.isEOF())
3558
- return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, S(n, this.clonePosition()));
3593
+ return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
3559
3594
  if (this.char() === 125)
3560
- return this.bump(), this.error(H.EMPTY_ARGUMENT, S(n, this.clonePosition()));
3595
+ return this.bump(), this.error(S.EMPTY_ARGUMENT, T(n, this.clonePosition()));
3561
3596
  var i = this.parseIdentifierIfPossible().value;
3562
3597
  if (!i)
3563
- return this.error(H.MALFORMED_ARGUMENT, S(n, this.clonePosition()));
3598
+ return this.error(S.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
3564
3599
  if (this.bumpSpace(), this.isEOF())
3565
- return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, S(n, this.clonePosition()));
3600
+ return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
3566
3601
  switch (this.char()) {
3567
3602
  case 125:
3568
3603
  return this.bump(), {
3569
3604
  val: {
3570
- type: N.argument,
3605
+ type: C.argument,
3571
3606
  // value does not include the opening and closing braces.
3572
3607
  value: i,
3573
- location: S(n, this.clonePosition())
3608
+ location: T(n, this.clonePosition())
3574
3609
  },
3575
3610
  err: null
3576
3611
  };
3577
3612
  case 44:
3578
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, S(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3613
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3579
3614
  default:
3580
- return this.error(H.MALFORMED_ARGUMENT, S(n, this.clonePosition()));
3615
+ return this.error(S.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
3581
3616
  }
3582
3617
  }, e.prototype.parseIdentifierIfPossible = function() {
3583
- var t = this.clonePosition(), r = this.offset(), n = pt(this.message, r), i = r + n.length;
3618
+ var t = this.clonePosition(), r = this.offset(), n = _t(this.message, r), i = r + n.length;
3584
3619
  this.bumpTo(i);
3585
- var o = this.clonePosition(), s = S(t, o);
3620
+ var o = this.clonePosition(), s = T(t, o);
3586
3621
  return { value: n, location: s };
3587
3622
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3588
3623
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3589
3624
  switch (a) {
3590
3625
  case "":
3591
- return this.error(H.EXPECT_ARGUMENT_TYPE, S(s, u));
3626
+ return this.error(S.EXPECT_ARGUMENT_TYPE, T(s, u));
3592
3627
  case "number":
3593
3628
  case "date":
3594
3629
  case "time": {
@@ -3599,44 +3634,44 @@ var wo = (
3599
3634
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3600
3635
  if (f.err)
3601
3636
  return f;
3602
- var c = Eo(f.val);
3637
+ var c = To(f.val);
3603
3638
  if (c.length === 0)
3604
- return this.error(H.EXPECT_ARGUMENT_STYLE, S(this.clonePosition(), this.clonePosition()));
3605
- var m = S(h, this.clonePosition());
3606
- l = { style: c, styleLocation: m };
3639
+ return this.error(S.EXPECT_ARGUMENT_STYLE, T(this.clonePosition(), this.clonePosition()));
3640
+ var p = T(h, this.clonePosition());
3641
+ l = { style: c, styleLocation: p };
3607
3642
  }
3608
3643
  var d = this.tryParseArgumentClose(i);
3609
3644
  if (d.err)
3610
3645
  return d;
3611
- var b = S(i, this.clonePosition());
3612
- if (l && tr(l == null ? void 0 : l.style, "::", 0)) {
3613
- var w = xo(l.style.slice(2));
3646
+ var b = T(i, this.clonePosition());
3647
+ if (l && or(l == null ? void 0 : l.style, "::", 0)) {
3648
+ var w = Ho(l.style.slice(2));
3614
3649
  if (a === "number") {
3615
3650
  var f = this.parseNumberSkeletonFromString(w, l.styleLocation);
3616
3651
  return f.err ? f : {
3617
- val: { type: N.number, value: n, location: b, style: f.val },
3652
+ val: { type: C.number, value: n, location: b, style: f.val },
3618
3653
  err: null
3619
3654
  };
3620
3655
  } else {
3621
3656
  if (w.length === 0)
3622
- return this.error(H.EXPECT_DATE_TIME_SKELETON, b);
3623
- var I = w;
3624
- this.locale && (I = ao(w, this.locale));
3657
+ return this.error(S.EXPECT_DATE_TIME_SKELETON, b);
3658
+ var O = w;
3659
+ this.locale && (O = co(w, this.locale));
3625
3660
  var c = {
3626
- type: me.dateTime,
3627
- pattern: I,
3661
+ type: de.dateTime,
3662
+ pattern: O,
3628
3663
  location: l.styleLocation,
3629
- parsedOptions: this.shouldParseSkeletons ? eo(I) : {}
3630
- }, O = a === "date" ? N.date : N.time;
3664
+ parsedOptions: this.shouldParseSkeletons ? io(O) : {}
3665
+ }, P = a === "date" ? C.date : C.time;
3631
3666
  return {
3632
- val: { type: O, value: n, location: b, style: c },
3667
+ val: { type: P, value: n, location: b, style: c },
3633
3668
  err: null
3634
3669
  };
3635
3670
  }
3636
3671
  }
3637
3672
  return {
3638
3673
  val: {
3639
- type: a === "number" ? N.number : a === "date" ? N.date : N.time,
3674
+ type: a === "number" ? C.number : a === "date" ? C.date : C.time,
3640
3675
  value: n,
3641
3676
  location: b,
3642
3677
  style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
@@ -3647,52 +3682,52 @@ var wo = (
3647
3682
  case "plural":
3648
3683
  case "selectordinal":
3649
3684
  case "select": {
3650
- var A = this.clonePosition();
3685
+ var H = this.clonePosition();
3651
3686
  if (this.bumpSpace(), !this.bumpIf(","))
3652
- return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS, S(A, M({}, A)));
3687
+ return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, T(H, ke({}, H)));
3653
3688
  this.bumpSpace();
3654
- var L = this.parseIdentifierIfPossible(), y = 0;
3655
- if (a !== "select" && L.value === "offset") {
3689
+ var I = this.parseIdentifierIfPossible(), y = 0;
3690
+ if (a !== "select" && I.value === "offset") {
3656
3691
  if (!this.bumpIf(":"))
3657
- return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S(this.clonePosition(), this.clonePosition()));
3692
+ return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T(this.clonePosition(), this.clonePosition()));
3658
3693
  this.bumpSpace();
3659
- var f = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3694
+ var f = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3660
3695
  if (f.err)
3661
3696
  return f;
3662
- this.bumpSpace(), L = this.parseIdentifierIfPossible(), y = f.val;
3697
+ this.bumpSpace(), I = this.parseIdentifierIfPossible(), y = f.val;
3663
3698
  }
3664
- var T = this.tryParsePluralOrSelectOptions(t, a, r, L);
3665
- if (T.err)
3666
- return T;
3699
+ var M = this.tryParsePluralOrSelectOptions(t, a, r, I);
3700
+ if (M.err)
3701
+ return M;
3667
3702
  var d = this.tryParseArgumentClose(i);
3668
3703
  if (d.err)
3669
3704
  return d;
3670
- var _ = S(i, this.clonePosition());
3705
+ var v = T(i, this.clonePosition());
3671
3706
  return a === "select" ? {
3672
3707
  val: {
3673
- type: N.select,
3708
+ type: C.select,
3674
3709
  value: n,
3675
- options: rr(T.val),
3676
- location: _
3710
+ options: sr(M.val),
3711
+ location: v
3677
3712
  },
3678
3713
  err: null
3679
3714
  } : {
3680
3715
  val: {
3681
- type: N.plural,
3716
+ type: C.plural,
3682
3717
  value: n,
3683
- options: rr(T.val),
3718
+ options: sr(M.val),
3684
3719
  offset: y,
3685
3720
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3686
- location: _
3721
+ location: v
3687
3722
  },
3688
3723
  err: null
3689
3724
  };
3690
3725
  }
3691
3726
  default:
3692
- return this.error(H.INVALID_ARGUMENT_TYPE, S(s, u));
3727
+ return this.error(S.INVALID_ARGUMENT_TYPE, T(s, u));
3693
3728
  }
3694
3729
  }, e.prototype.tryParseArgumentClose = function(t) {
3695
- return this.isEOF() || this.char() !== 125 ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, S(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3730
+ return this.isEOF() || this.char() !== 125 ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, T(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3696
3731
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3697
3732
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3698
3733
  var n = this.char();
@@ -3701,7 +3736,7 @@ var wo = (
3701
3736
  this.bump();
3702
3737
  var i = this.clonePosition();
3703
3738
  if (!this.bumpUntil("'"))
3704
- return this.error(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, S(i, this.clonePosition()));
3739
+ return this.error(S.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, T(i, this.clonePosition()));
3705
3740
  this.bump();
3706
3741
  break;
3707
3742
  }
@@ -3731,16 +3766,16 @@ var wo = (
3731
3766
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3732
3767
  var n = [];
3733
3768
  try {
3734
- n = ro(t);
3769
+ n = so(t);
3735
3770
  } catch (i) {
3736
- return this.error(H.INVALID_NUMBER_SKELETON, r);
3771
+ return this.error(S.INVALID_NUMBER_SKELETON, r);
3737
3772
  }
3738
3773
  return {
3739
3774
  val: {
3740
- type: me.number,
3775
+ type: de.number,
3741
3776
  tokens: n,
3742
3777
  location: r,
3743
- parsedOptions: this.shouldParseSkeletons ? so(n) : {}
3778
+ parsedOptions: this.shouldParseSkeletons ? ho(n) : {}
3744
3779
  },
3745
3780
  err: null
3746
3781
  };
@@ -3749,34 +3784,34 @@ var wo = (
3749
3784
  if (l.length === 0) {
3750
3785
  var f = this.clonePosition();
3751
3786
  if (r !== "select" && this.bumpIf("=")) {
3752
- var c = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_SELECTOR, H.INVALID_PLURAL_ARGUMENT_SELECTOR);
3787
+ var c = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR, S.INVALID_PLURAL_ARGUMENT_SELECTOR);
3753
3788
  if (c.err)
3754
3789
  return c;
3755
- h = S(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
3790
+ h = T(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
3756
3791
  } else
3757
3792
  break;
3758
3793
  }
3759
3794
  if (u.has(l))
3760
- return this.error(r === "select" ? H.DUPLICATE_SELECT_ARGUMENT_SELECTOR : H.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3795
+ return this.error(r === "select" ? S.DUPLICATE_SELECT_ARGUMENT_SELECTOR : S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3761
3796
  l === "other" && (s = !0), this.bumpSpace();
3762
- var m = this.clonePosition();
3797
+ var p = this.clonePosition();
3763
3798
  if (!this.bumpIf("{"))
3764
- return this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, S(this.clonePosition(), this.clonePosition()));
3799
+ return this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, T(this.clonePosition(), this.clonePosition()));
3765
3800
  var d = this.parseMessage(t + 1, r, n);
3766
3801
  if (d.err)
3767
3802
  return d;
3768
- var b = this.tryParseArgumentClose(m);
3803
+ var b = this.tryParseArgumentClose(p);
3769
3804
  if (b.err)
3770
3805
  return b;
3771
3806
  a.push([
3772
3807
  l,
3773
3808
  {
3774
3809
  value: d.val,
3775
- location: S(m, this.clonePosition())
3810
+ location: T(p, this.clonePosition())
3776
3811
  }
3777
3812
  ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3778
3813
  }
3779
- return a.length === 0 ? this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR : H.EXPECT_PLURAL_ARGUMENT_SELECTOR, S(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(H.MISSING_OTHER_CLAUSE, S(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3814
+ 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 };
3780
3815
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3781
3816
  var n = 1, i = this.clonePosition();
3782
3817
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3787,8 +3822,8 @@ var wo = (
3787
3822
  else
3788
3823
  break;
3789
3824
  }
3790
- var u = S(i, this.clonePosition());
3791
- return o ? (s *= n, _o(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3825
+ var u = T(i, this.clonePosition());
3826
+ return o ? (s *= n, wo(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3792
3827
  }, e.prototype.offset = function() {
3793
3828
  return this.position.offset;
3794
3829
  }, e.prototype.isEOF = function() {
@@ -3803,7 +3838,7 @@ var wo = (
3803
3838
  var t = this.position.offset;
3804
3839
  if (t >= this.message.length)
3805
3840
  throw Error("out of bound");
3806
- var r = en(this.message, t);
3841
+ var r = on(this.message, t);
3807
3842
  if (r === void 0)
3808
3843
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3809
3844
  return r;
@@ -3822,7 +3857,7 @@ var wo = (
3822
3857
  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);
3823
3858
  }
3824
3859
  }, e.prototype.bumpIf = function(t) {
3825
- if (tr(this.message, t, this.offset())) {
3860
+ if (or(this.message, t, this.offset())) {
3826
3861
  for (var r = 0; r < t.length; r++)
3827
3862
  this.bump();
3828
3863
  return !0;
@@ -3844,7 +3879,7 @@ var wo = (
3844
3879
  break;
3845
3880
  }
3846
3881
  }, e.prototype.bumpSpace = function() {
3847
- for (; !this.isEOF() && rn(this.char()); )
3882
+ for (; !this.isEOF() && an(this.char()); )
3848
3883
  this.bump();
3849
3884
  }, e.prototype.peek = function() {
3850
3885
  if (this.isEOF())
@@ -3854,47 +3889,47 @@ var wo = (
3854
3889
  }, e;
3855
3890
  }()
3856
3891
  );
3857
- function gt(e) {
3892
+ function xt(e) {
3858
3893
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3859
3894
  }
3860
- function Ho(e) {
3861
- return gt(e) || e === 47;
3895
+ function Ao(e) {
3896
+ return xt(e) || e === 47;
3862
3897
  }
3863
- function So(e) {
3898
+ function Bo(e) {
3864
3899
  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;
3865
3900
  }
3866
- function rn(e) {
3901
+ function an(e) {
3867
3902
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3868
3903
  }
3869
- function To(e) {
3904
+ function Po(e) {
3870
3905
  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;
3871
3906
  }
3872
- function bt(e) {
3907
+ function Et(e) {
3873
3908
  e.forEach(function(t) {
3874
- if (delete t.location, Xr(t) || zr(t))
3909
+ if (delete t.location, Qr(t) || Jr(t))
3875
3910
  for (var r in t.options)
3876
- delete t.options[r].location, bt(t.options[r].value);
3911
+ delete t.options[r].location, Et(t.options[r].value);
3877
3912
  else
3878
- jr(t) && qr(t.style) || (Vr(t) || Wr(t)) && ft(t.style) ? delete t.style.location : Zr(t) && bt(t.children);
3913
+ zr(t) && Kr(t.style) || (Zr(t) || qr(t)) && bt(t.style) ? delete t.style.location : Yr(t) && Et(t.children);
3879
3914
  });
3880
3915
  }
3881
- function Mo(e, t) {
3882
- t === void 0 && (t = {}), t = M({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3883
- var r = new wo(e, t).parse();
3916
+ function Oo(e, t) {
3917
+ t === void 0 && (t = {}), t = ke({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3918
+ var r = new Mo(e, t).parse();
3884
3919
  if (r.err) {
3885
- var n = SyntaxError(H[r.err.kind]);
3920
+ var n = SyntaxError(S[r.err.kind]);
3886
3921
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3887
3922
  }
3888
- return t != null && t.captureLocation || bt(r.val), r.val;
3923
+ return t != null && t.captureLocation || Et(r.val), r.val;
3889
3924
  }
3890
3925
  var pe;
3891
3926
  (function(e) {
3892
3927
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3893
3928
  })(pe || (pe = {}));
3894
- var Xe = (
3929
+ var Ze = (
3895
3930
  /** @class */
3896
3931
  function(e) {
3897
- Q(t, e);
3932
+ ze(t, e);
3898
3933
  function t(r, n, i) {
3899
3934
  var o = e.call(this, r) || this;
3900
3935
  return o.code = n, o.originalMessage = i, o;
@@ -3903,48 +3938,48 @@ var Xe = (
3903
3938
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3904
3939
  }, t;
3905
3940
  }(Error)
3906
- ), ir = (
3941
+ ), ur = (
3907
3942
  /** @class */
3908
3943
  function(e) {
3909
- Q(t, e);
3944
+ ze(t, e);
3910
3945
  function t(r, n, i, o) {
3911
3946
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), pe.INVALID_VALUE, o) || this;
3912
3947
  }
3913
3948
  return t;
3914
- }(Xe)
3915
- ), Ao = (
3949
+ }(Ze)
3950
+ ), Io = (
3916
3951
  /** @class */
3917
3952
  function(e) {
3918
- Q(t, e);
3953
+ ze(t, e);
3919
3954
  function t(r, n, i) {
3920
3955
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), pe.INVALID_VALUE, i) || this;
3921
3956
  }
3922
3957
  return t;
3923
- }(Xe)
3924
- ), Bo = (
3958
+ }(Ze)
3959
+ ), Lo = (
3925
3960
  /** @class */
3926
3961
  function(e) {
3927
- Q(t, e);
3962
+ ze(t, e);
3928
3963
  function t(r, n) {
3929
3964
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), pe.MISSING_VALUE, n) || this;
3930
3965
  }
3931
3966
  return t;
3932
- }(Xe)
3967
+ }(Ze)
3933
3968
  ), F;
3934
3969
  (function(e) {
3935
3970
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3936
3971
  })(F || (F = {}));
3937
- function Po(e) {
3972
+ function Co(e) {
3938
3973
  return e.length < 2 ? e : e.reduce(function(t, r) {
3939
3974
  var n = t[t.length - 1];
3940
3975
  return !n || n.type !== F.literal || r.type !== F.literal ? t.push(r) : n.value += r.value, t;
3941
3976
  }, []);
3942
3977
  }
3943
- function Oo(e) {
3978
+ function No(e) {
3944
3979
  return typeof e == "function";
3945
3980
  }
3946
3981
  function Re(e, t, r, n, i, o, s) {
3947
- if (e.length === 1 && Jt(e[0]))
3982
+ if (e.length === 1 && tr(e[0]))
3948
3983
  return [
3949
3984
  {
3950
3985
  type: F.literal,
@@ -3953,14 +3988,14 @@ function Re(e, t, r, n, i, o, s) {
3953
3988
  ];
3954
3989
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3955
3990
  var h = l[u];
3956
- if (Jt(h)) {
3991
+ if (tr(h)) {
3957
3992
  a.push({
3958
3993
  type: F.literal,
3959
3994
  value: h.value
3960
3995
  });
3961
3996
  continue;
3962
3997
  }
3963
- if (Yi(h)) {
3998
+ if (ro(h)) {
3964
3999
  typeof o == "number" && a.push({
3965
4000
  type: F.literal,
3966
4001
  value: r.getNumberFormat(t).format(o)
@@ -3969,89 +4004,89 @@ function Re(e, t, r, n, i, o, s) {
3969
4004
  }
3970
4005
  var f = h.value;
3971
4006
  if (!(i && f in i))
3972
- throw new Bo(f, s);
4007
+ throw new Lo(f, s);
3973
4008
  var c = i[f];
3974
- if (Ji(h)) {
4009
+ if (to(h)) {
3975
4010
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3976
4011
  type: typeof c == "string" ? F.literal : F.object,
3977
4012
  value: c
3978
4013
  });
3979
4014
  continue;
3980
4015
  }
3981
- if (Vr(h)) {
3982
- var m = typeof h.style == "string" ? n.date[h.style] : ft(h.style) ? h.style.parsedOptions : void 0;
4016
+ if (Zr(h)) {
4017
+ var p = typeof h.style == "string" ? n.date[h.style] : bt(h.style) ? h.style.parsedOptions : void 0;
3983
4018
  a.push({
3984
4019
  type: F.literal,
3985
- value: r.getDateTimeFormat(t, m).format(c)
4020
+ value: r.getDateTimeFormat(t, p).format(c)
3986
4021
  });
3987
4022
  continue;
3988
4023
  }
3989
- if (Wr(h)) {
3990
- var m = typeof h.style == "string" ? n.time[h.style] : ft(h.style) ? h.style.parsedOptions : n.time.medium;
4024
+ if (qr(h)) {
4025
+ var p = typeof h.style == "string" ? n.time[h.style] : bt(h.style) ? h.style.parsedOptions : n.time.medium;
3991
4026
  a.push({
3992
4027
  type: F.literal,
3993
- value: r.getDateTimeFormat(t, m).format(c)
4028
+ value: r.getDateTimeFormat(t, p).format(c)
3994
4029
  });
3995
4030
  continue;
3996
4031
  }
3997
- if (jr(h)) {
3998
- var m = typeof h.style == "string" ? n.number[h.style] : qr(h.style) ? h.style.parsedOptions : void 0;
3999
- m && m.scale && (c = c * (m.scale || 1)), a.push({
4032
+ if (zr(h)) {
4033
+ var p = typeof h.style == "string" ? n.number[h.style] : Kr(h.style) ? h.style.parsedOptions : void 0;
4034
+ p && p.scale && (c = c * (p.scale || 1)), a.push({
4000
4035
  type: F.literal,
4001
- value: r.getNumberFormat(t, m).format(c)
4036
+ value: r.getNumberFormat(t, p).format(c)
4002
4037
  });
4003
4038
  continue;
4004
4039
  }
4005
- if (Zr(h)) {
4040
+ if (Yr(h)) {
4006
4041
  var d = h.children, b = h.value, w = i[b];
4007
- if (!Oo(w))
4008
- throw new Ao(b, "function", s);
4009
- var I = Re(d, t, r, n, i, o), O = w(I.map(function(y) {
4042
+ if (!No(w))
4043
+ throw new Io(b, "function", s);
4044
+ var O = Re(d, t, r, n, i, o), P = w(O.map(function(y) {
4010
4045
  return y.value;
4011
4046
  }));
4012
- Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(y) {
4047
+ Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(y) {
4013
4048
  return {
4014
4049
  type: typeof y == "string" ? F.literal : F.object,
4015
4050
  value: y
4016
4051
  };
4017
4052
  }));
4018
4053
  }
4019
- if (Xr(h)) {
4020
- var A = h.options[c] || h.options.other;
4021
- if (!A)
4022
- throw new ir(h.value, c, Object.keys(h.options), s);
4023
- a.push.apply(a, Re(A.value, t, r, n, i));
4054
+ if (Qr(h)) {
4055
+ var H = h.options[c] || h.options.other;
4056
+ if (!H)
4057
+ throw new ur(h.value, c, Object.keys(h.options), s);
4058
+ a.push.apply(a, Re(H.value, t, r, n, i));
4024
4059
  continue;
4025
4060
  }
4026
- if (zr(h)) {
4027
- var A = h.options["=".concat(c)];
4028
- if (!A) {
4061
+ if (Jr(h)) {
4062
+ var H = h.options["=".concat(c)];
4063
+ if (!H) {
4029
4064
  if (!Intl.PluralRules)
4030
- throw new Xe(`Intl.PluralRules is not available in this environment.
4065
+ throw new Ze(`Intl.PluralRules is not available in this environment.
4031
4066
  Try polyfilling it using "@formatjs/intl-pluralrules"
4032
4067
  `, pe.MISSING_INTL_API, s);
4033
- var L = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
4034
- A = h.options[L] || h.options.other;
4068
+ var I = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
4069
+ H = h.options[I] || h.options.other;
4035
4070
  }
4036
- if (!A)
4037
- throw new ir(h.value, c, Object.keys(h.options), s);
4038
- a.push.apply(a, Re(A.value, t, r, n, i, c - (h.offset || 0)));
4071
+ if (!H)
4072
+ throw new ur(h.value, c, Object.keys(h.options), s);
4073
+ a.push.apply(a, Re(H.value, t, r, n, i, c - (h.offset || 0)));
4039
4074
  continue;
4040
4075
  }
4041
4076
  }
4042
- return Po(a);
4077
+ return Co(a);
4043
4078
  }
4044
- function Io(e, t) {
4045
- return t ? M(M(M({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4046
- return r[n] = M(M({}, e[n]), t[n] || {}), r;
4079
+ function Ro(e, t) {
4080
+ return t ? X(X(X({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4081
+ return r[n] = X(X({}, e[n]), t[n] || {}), r;
4047
4082
  }, {})) : e;
4048
4083
  }
4049
- function Lo(e, t) {
4084
+ function Fo(e, t) {
4050
4085
  return t ? Object.keys(e).reduce(function(r, n) {
4051
- return r[n] = Io(e[n], t[n]), r;
4052
- }, M({}, e)) : e;
4086
+ return r[n] = Ro(e[n], t[n]), r;
4087
+ }, X({}, e)) : e;
4053
4088
  }
4054
- function nt(e) {
4089
+ function st(e) {
4055
4090
  return {
4056
4091
  create: function() {
4057
4092
  return {
@@ -4065,39 +4100,39 @@ function nt(e) {
4065
4100
  }
4066
4101
  };
4067
4102
  }
4068
- function Co(e) {
4103
+ function $o(e) {
4069
4104
  return e === void 0 && (e = {
4070
4105
  number: {},
4071
4106
  dateTime: {},
4072
4107
  pluralRules: {}
4073
4108
  }), {
4074
- getNumberFormat: et(function() {
4109
+ getNumberFormat: nt(function() {
4075
4110
  for (var t, r = [], n = 0; n < arguments.length; n++)
4076
4111
  r[n] = arguments[n];
4077
- return new ((t = Intl.NumberFormat).bind.apply(t, ce([void 0], r, !1)))();
4112
+ return new ((t = Intl.NumberFormat).bind.apply(t, rt([void 0], r, !1)))();
4078
4113
  }, {
4079
- cache: nt(e.number),
4080
- strategy: tt.variadic
4114
+ cache: st(e.number),
4115
+ strategy: it.variadic
4081
4116
  }),
4082
- getDateTimeFormat: et(function() {
4117
+ getDateTimeFormat: nt(function() {
4083
4118
  for (var t, r = [], n = 0; n < arguments.length; n++)
4084
4119
  r[n] = arguments[n];
4085
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ce([void 0], r, !1)))();
4120
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, rt([void 0], r, !1)))();
4086
4121
  }, {
4087
- cache: nt(e.dateTime),
4088
- strategy: tt.variadic
4122
+ cache: st(e.dateTime),
4123
+ strategy: it.variadic
4089
4124
  }),
4090
- getPluralRules: et(function() {
4125
+ getPluralRules: nt(function() {
4091
4126
  for (var t, r = [], n = 0; n < arguments.length; n++)
4092
4127
  r[n] = arguments[n];
4093
- return new ((t = Intl.PluralRules).bind.apply(t, ce([void 0], r, !1)))();
4128
+ return new ((t = Intl.PluralRules).bind.apply(t, rt([void 0], r, !1)))();
4094
4129
  }, {
4095
- cache: nt(e.pluralRules),
4096
- strategy: tt.variadic
4130
+ cache: st(e.pluralRules),
4131
+ strategy: it.variadic
4097
4132
  })
4098
4133
  };
4099
4134
  }
4100
- var No = (
4135
+ var Uo = (
4101
4136
  /** @class */
4102
4137
  function() {
4103
4138
  function e(t, r, n, i) {
@@ -4129,13 +4164,13 @@ var No = (
4129
4164
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4130
4165
  var s = i || {};
4131
4166
  s.formatters;
4132
- var a = fi(s, ["formatters"]);
4133
- this.ast = e.__parse(t, M(M({}, a), { locale: this.resolvedLocale }));
4167
+ var a = zi(s, ["formatters"]);
4168
+ this.ast = e.__parse(t, X(X({}, a), { locale: this.resolvedLocale }));
4134
4169
  } else
4135
4170
  this.ast = t;
4136
4171
  if (!Array.isArray(this.ast))
4137
4172
  throw new TypeError("A message must be provided as a String or AST.");
4138
- this.formats = Lo(e.formats, n), this.formatters = i && i.formatters || Co(this.formatterCache);
4173
+ this.formats = Fo(e.formats, n), this.formatters = i && i.formatters || $o(this.formatterCache);
4139
4174
  }
4140
4175
  return Object.defineProperty(e, "defaultLocale", {
4141
4176
  get: function() {
@@ -4148,7 +4183,7 @@ var No = (
4148
4183
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4149
4184
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4150
4185
  }
4151
- }, e.__parse = Mo, e.formats = {
4186
+ }, e.__parse = Oo, e.formats = {
4152
4187
  number: {
4153
4188
  integer: {
4154
4189
  maximumFractionDigits: 0
@@ -4209,7 +4244,7 @@ var No = (
4209
4244
  }, e;
4210
4245
  }()
4211
4246
  );
4212
- function Ro(e, t) {
4247
+ function Do(e, t) {
4213
4248
  if (t == null)
4214
4249
  return;
4215
4250
  if (t in e)
@@ -4230,92 +4265,92 @@ function Ro(e, t) {
4230
4265
  n = void 0;
4231
4266
  return n;
4232
4267
  }
4233
- const Y = {}, Fo = (e, t, r) => r && (t in Y || (Y[t] = {}), e in Y[t] || (Y[t][e] = r), r), nn = (e, t) => {
4268
+ const Y = {}, Go = (e, t, r) => r && (t in Y || (Y[t] = {}), e in Y[t] || (Y[t][e] = r), r), un = (e, t) => {
4234
4269
  if (t == null)
4235
4270
  return;
4236
4271
  if (t in Y && e in Y[t])
4237
4272
  return Y[t][e];
4238
- const r = ze(t);
4273
+ const r = qe(t);
4239
4274
  for (let n = 0; n < r.length; n++) {
4240
- const i = r[n], o = Do(i, e);
4275
+ const i = r[n], o = jo(i, e);
4241
4276
  if (o)
4242
- return Fo(e, t, o);
4277
+ return Go(e, t, o);
4243
4278
  }
4244
4279
  };
4245
- let wt;
4246
- const Ae = We({});
4247
- function Uo(e) {
4248
- return wt[e] || null;
4280
+ let Mt;
4281
+ const Ae = Xe({});
4282
+ function ko(e) {
4283
+ return Mt[e] || null;
4249
4284
  }
4250
- function on(e) {
4251
- return e in wt;
4285
+ function ln(e) {
4286
+ return e in Mt;
4252
4287
  }
4253
- function Do(e, t) {
4254
- if (!on(e))
4288
+ function jo(e, t) {
4289
+ if (!ln(e))
4255
4290
  return null;
4256
- const r = Uo(e);
4257
- return Ro(r, t);
4291
+ const r = ko(e);
4292
+ return Do(r, t);
4258
4293
  }
4259
- function $o(e) {
4294
+ function Vo(e) {
4260
4295
  if (e == null)
4261
4296
  return;
4262
- const t = ze(e);
4297
+ const t = qe(e);
4263
4298
  for (let r = 0; r < t.length; r++) {
4264
4299
  const n = t[r];
4265
- if (on(n))
4300
+ if (ln(n))
4266
4301
  return n;
4267
4302
  }
4268
4303
  }
4269
- function sn(e, ...t) {
4270
- delete Y[e], Ae.update((r) => (r[e] = ji.all([r[e] || {}, ...t]), r));
4304
+ function hn(e, ...t) {
4305
+ delete Y[e], Ae.update((r) => (r[e] = Xi.all([r[e] || {}, ...t]), r));
4271
4306
  }
4272
- ye(
4307
+ be(
4273
4308
  [Ae],
4274
4309
  ([e]) => Object.keys(e)
4275
4310
  );
4276
- Ae.subscribe((e) => wt = e);
4311
+ Ae.subscribe((e) => Mt = e);
4277
4312
  const Fe = {};
4278
- function Go(e, t) {
4313
+ function Wo(e, t) {
4279
4314
  Fe[e].delete(t), Fe[e].size === 0 && delete Fe[e];
4280
4315
  }
4281
- function an(e) {
4316
+ function cn(e) {
4282
4317
  return Fe[e];
4283
4318
  }
4284
- function ko(e) {
4285
- return ze(e).map((t) => {
4286
- const r = an(t);
4319
+ function Xo(e) {
4320
+ return qe(e).map((t) => {
4321
+ const r = cn(t);
4287
4322
  return [t, r ? [...r] : []];
4288
4323
  }).filter(([, t]) => t.length > 0);
4289
4324
  }
4290
- function yt(e) {
4291
- return e == null ? !1 : ze(e).some(
4325
+ function wt(e) {
4326
+ return e == null ? !1 : qe(e).some(
4292
4327
  (t) => {
4293
4328
  var r;
4294
- return (r = an(t)) == null ? void 0 : r.size;
4329
+ return (r = cn(t)) == null ? void 0 : r.size;
4295
4330
  }
4296
4331
  );
4297
4332
  }
4298
- function jo(e, t) {
4333
+ function zo(e, t) {
4299
4334
  return Promise.all(
4300
- t.map((n) => (Go(e, n), n().then((i) => i.default || i)))
4301
- ).then((n) => sn(e, ...n));
4302
- }
4303
- const Ee = {};
4304
- function un(e) {
4305
- if (!yt(e))
4306
- return e in Ee ? Ee[e] : Promise.resolve();
4307
- const t = ko(e);
4308
- return Ee[e] = Promise.all(
4335
+ t.map((n) => (Wo(e, n), n().then((i) => i.default || i)))
4336
+ ).then((n) => hn(e, ...n));
4337
+ }
4338
+ const xe = {};
4339
+ function fn(e) {
4340
+ if (!wt(e))
4341
+ return e in xe ? xe[e] : Promise.resolve();
4342
+ const t = Xo(e);
4343
+ return xe[e] = Promise.all(
4309
4344
  t.map(
4310
- ([r, n]) => jo(r, n)
4345
+ ([r, n]) => zo(r, n)
4311
4346
  )
4312
4347
  ).then(() => {
4313
- if (yt(e))
4314
- return un(e);
4315
- delete Ee[e];
4316
- }), Ee[e];
4348
+ if (wt(e))
4349
+ return fn(e);
4350
+ delete xe[e];
4351
+ }), xe[e];
4317
4352
  }
4318
- const Vo = {
4353
+ const Zo = {
4319
4354
  number: {
4320
4355
  scientific: { notation: "scientific" },
4321
4356
  engineering: { notation: "engineering" },
@@ -4344,135 +4379,135 @@ const Vo = {
4344
4379
  timeZoneName: "short"
4345
4380
  }
4346
4381
  }
4347
- }, Wo = {
4382
+ }, qo = {
4348
4383
  fallbackLocale: null,
4349
4384
  loadingDelay: 200,
4350
- formats: Vo,
4385
+ formats: Zo,
4351
4386
  warnOnMissingMessages: !0,
4352
4387
  handleMissingMessage: void 0,
4353
4388
  ignoreTag: !0
4354
- }, Xo = Wo;
4355
- function ge() {
4356
- return Xo;
4357
- }
4358
- const it = We(!1);
4359
- var zo = Object.defineProperty, Zo = Object.defineProperties, qo = Object.getOwnPropertyDescriptors, or = Object.getOwnPropertySymbols, Qo = Object.prototype.hasOwnProperty, Jo = Object.prototype.propertyIsEnumerable, sr = (e, t, r) => t in e ? zo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yo = (e, t) => {
4360
- for (var r in t)
4361
- Qo.call(t, r) && sr(e, r, t[r]);
4362
- if (or)
4363
- for (var r of or(t))
4364
- Jo.call(t, r) && sr(e, r, t[r]);
4389
+ }, Qo = qo;
4390
+ function me() {
4391
+ return Qo;
4392
+ }
4393
+ const at = Xe(!1);
4394
+ var Jo = Object.defineProperty, Yo = Object.defineProperties, Ko = Object.getOwnPropertyDescriptors, lr = Object.getOwnPropertySymbols, es = Object.prototype.hasOwnProperty, ts = Object.prototype.propertyIsEnumerable, hr = (e, t, r) => t in e ? Jo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rs = (e, t) => {
4395
+ for (var r in t || (t = {}))
4396
+ es.call(t, r) && hr(e, r, t[r]);
4397
+ if (lr)
4398
+ for (var r of lr(t))
4399
+ ts.call(t, r) && hr(e, r, t[r]);
4365
4400
  return e;
4366
- }, Ko = (e, t) => Zo(e, qo(t));
4367
- let _t;
4368
- const ke = We(null);
4369
- function ar(e) {
4401
+ }, ns = (e, t) => Yo(e, Ko(t));
4402
+ let St;
4403
+ const je = Xe(null);
4404
+ function cr(e) {
4370
4405
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4371
4406
  }
4372
- function ze(e, t = ge().fallbackLocale) {
4373
- const r = ar(e);
4374
- return t ? [.../* @__PURE__ */ new Set([...r, ...ar(t)])] : r;
4407
+ function qe(e, t = me().fallbackLocale) {
4408
+ const r = cr(e);
4409
+ return t ? [.../* @__PURE__ */ new Set([...r, ...cr(t)])] : r;
4375
4410
  }
4376
4411
  function ne() {
4377
- return _t != null ? _t : void 0;
4412
+ return St != null ? St : void 0;
4378
4413
  }
4379
- ke.subscribe((e) => {
4380
- _t = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4414
+ je.subscribe((e) => {
4415
+ St = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4381
4416
  });
4382
- const es = (e) => {
4383
- if (e && $o(e) && yt(e)) {
4384
- const { loadingDelay: t } = ge();
4417
+ const is = (e) => {
4418
+ if (e && Vo(e) && wt(e)) {
4419
+ const { loadingDelay: t } = me();
4385
4420
  let r;
4386
4421
  return typeof window != "undefined" && ne() != null && t ? r = window.setTimeout(
4387
- () => it.set(!0),
4422
+ () => at.set(!0),
4388
4423
  t
4389
- ) : it.set(!0), un(e).then(() => {
4390
- ke.set(e);
4424
+ ) : at.set(!0), fn(e).then(() => {
4425
+ je.set(e);
4391
4426
  }).finally(() => {
4392
- clearTimeout(r), it.set(!1);
4427
+ clearTimeout(r), at.set(!1);
4393
4428
  });
4394
4429
  }
4395
- return ke.set(e);
4396
- }, _e = Ko(Yo({}, ke), {
4397
- set: es
4398
- }), Ze = (e) => {
4430
+ return je.set(e);
4431
+ }, ye = ns(rs({}, je), {
4432
+ set: is
4433
+ }), Qe = (e) => {
4399
4434
  const t = /* @__PURE__ */ Object.create(null);
4400
4435
  return (n) => {
4401
4436
  const i = JSON.stringify(n);
4402
4437
  return i in t ? t[i] : t[i] = e(n);
4403
4438
  };
4404
4439
  };
4405
- var ts = Object.defineProperty, je = Object.getOwnPropertySymbols, ln = Object.prototype.hasOwnProperty, hn = Object.prototype.propertyIsEnumerable, ur = (e, t, r) => t in e ? ts(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ht = (e, t) => {
4440
+ var os = Object.defineProperty, Ve = Object.getOwnPropertySymbols, dn = Object.prototype.hasOwnProperty, pn = Object.prototype.propertyIsEnumerable, fr = (e, t, r) => t in e ? os(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, At = (e, t) => {
4406
4441
  for (var r in t || (t = {}))
4407
- ln.call(t, r) && ur(e, r, t[r]);
4408
- if (je)
4409
- for (var r of je(t))
4410
- hn.call(t, r) && ur(e, r, t[r]);
4442
+ dn.call(t, r) && fr(e, r, t[r]);
4443
+ if (Ve)
4444
+ for (var r of Ve(t))
4445
+ pn.call(t, r) && fr(e, r, t[r]);
4411
4446
  return e;
4412
4447
  }, ve = (e, t) => {
4413
4448
  var r = {};
4414
4449
  for (var n in e)
4415
- ln.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4416
- if (e != null && je)
4417
- for (var n of je(e))
4418
- t.indexOf(n) < 0 && hn.call(e, n) && (r[n] = e[n]);
4450
+ dn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4451
+ if (e != null && Ve)
4452
+ for (var n of Ve(e))
4453
+ t.indexOf(n) < 0 && pn.call(e, n) && (r[n] = e[n]);
4419
4454
  return r;
4420
4455
  };
4421
- const Te = (e, t) => {
4422
- const { formats: r } = ge();
4456
+ const He = (e, t) => {
4457
+ const { formats: r } = me();
4423
4458
  if (e in r && t in r[e])
4424
4459
  return r[e][t];
4425
4460
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4426
- }, rs = Ze(
4461
+ }, ss = Qe(
4427
4462
  (e) => {
4428
4463
  var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
4429
4464
  if (r == null)
4430
4465
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4431
- return n && (i = Te("number", n)), new Intl.NumberFormat(r, i);
4466
+ return n && (i = He("number", n)), new Intl.NumberFormat(r, i);
4432
4467
  }
4433
- ), ns = Ze(
4468
+ ), as = Qe(
4434
4469
  (e) => {
4435
4470
  var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
4436
4471
  if (r == null)
4437
4472
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4438
- return n ? i = Te("date", n) : Object.keys(i).length === 0 && (i = Te("date", "short")), new Intl.DateTimeFormat(r, i);
4473
+ return n ? i = He("date", n) : Object.keys(i).length === 0 && (i = He("date", "short")), new Intl.DateTimeFormat(r, i);
4439
4474
  }
4440
- ), is = Ze(
4475
+ ), us = Qe(
4441
4476
  (e) => {
4442
4477
  var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
4443
4478
  if (r == null)
4444
4479
  throw new Error(
4445
4480
  '[svelte-i18n] A "locale" must be set to format time values'
4446
4481
  );
4447
- return n ? i = Te("time", n) : Object.keys(i).length === 0 && (i = Te("time", "short")), new Intl.DateTimeFormat(r, i);
4482
+ return n ? i = He("time", n) : Object.keys(i).length === 0 && (i = He("time", "short")), new Intl.DateTimeFormat(r, i);
4448
4483
  }
4449
- ), os = (e = {}) => {
4484
+ ), ls = (e = {}) => {
4450
4485
  var t = e, {
4451
4486
  locale: r = ne()
4452
4487
  } = t, n = ve(t, [
4453
4488
  "locale"
4454
4489
  ]);
4455
- return rs(Ht({ locale: r }, n));
4456
- }, ss = (e = {}) => {
4490
+ return ss(At({ locale: r }, n));
4491
+ }, hs = (e = {}) => {
4457
4492
  var t = e, {
4458
4493
  locale: r = ne()
4459
4494
  } = t, n = ve(t, [
4460
4495
  "locale"
4461
4496
  ]);
4462
- return ns(Ht({ locale: r }, n));
4463
- }, as = (e = {}) => {
4497
+ return as(At({ locale: r }, n));
4498
+ }, cs = (e = {}) => {
4464
4499
  var t = e, {
4465
4500
  locale: r = ne()
4466
4501
  } = t, n = ve(t, [
4467
4502
  "locale"
4468
4503
  ]);
4469
- return is(Ht({ locale: r }, n));
4470
- }, us = Ze(
4504
+ return us(At({ locale: r }, n));
4505
+ }, fs = Qe(
4471
4506
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4472
- (e, t = ne()) => new No(e, t, ge().formats, {
4473
- ignoreTag: ge().ignoreTag
4507
+ (e, t = ne()) => new Uo(e, t, me().formats, {
4508
+ ignoreTag: me().ignoreTag
4474
4509
  })
4475
- ), ls = (e, t = {}) => {
4510
+ ), ds = (e, t = {}) => {
4476
4511
  var r, n, i, o;
4477
4512
  let s = t;
4478
4513
  typeof e == "object" && (s = e, e = s.id);
@@ -4485,9 +4520,9 @@ const Te = (e, t) => {
4485
4520
  throw new Error(
4486
4521
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4487
4522
  );
4488
- let h = nn(e, u);
4523
+ let h = un(e, u);
4489
4524
  if (!h)
4490
- h = (o = (i = (n = (r = ge()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4525
+ h = (o = (i = (n = (r = me()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4491
4526
  else if (typeof h != "string")
4492
4527
  return console.warn(
4493
4528
  `[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.`
@@ -4496,7 +4531,7 @@ const Te = (e, t) => {
4496
4531
  return h;
4497
4532
  let f = h;
4498
4533
  try {
4499
- f = us(h, u).format(a);
4534
+ f = fs(h, u).format(a);
4500
4535
  } catch (c) {
4501
4536
  c instanceof Error && console.warn(
4502
4537
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4504,20 +4539,20 @@ const Te = (e, t) => {
4504
4539
  );
4505
4540
  }
4506
4541
  return f;
4507
- }, hs = (e, t) => as(t).format(e), cs = (e, t) => ss(t).format(e), fs = (e, t) => os(t).format(e), ds = (e, t = ne()) => nn(e, t), ms = ye([_e, Ae], () => ls);
4508
- ye([_e], () => hs);
4509
- ye([_e], () => cs);
4510
- ye([_e], () => fs);
4511
- ye([_e, Ae], () => ds);
4512
- window.emWidgets = { topic: Ti };
4513
- const ps = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Fs = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4514
- function gs(e, t) {
4542
+ }, ps = (e, t) => cs(t).format(e), ms = (e, t) => hs(t).format(e), gs = (e, t) => ls(t).format(e), bs = (e, t = ne()) => un(e, t), ys = be([ye, Ae], () => ds);
4543
+ be([ye], () => ps);
4544
+ be([ye], () => ms);
4545
+ be([ye], () => gs);
4546
+ be([ye, Ae], () => bs);
4547
+ window.emWidgets = { topic: Bi };
4548
+ const vs = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Gs = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4549
+ function _s(e, t) {
4515
4550
  if (e) {
4516
4551
  const r = document.createElement("style");
4517
4552
  r.innerHTML = t, e.appendChild(r);
4518
4553
  }
4519
4554
  }
4520
- function bs(e, t) {
4555
+ function xs(e, t) {
4521
4556
  const r = new URL(t);
4522
4557
  fetch(r.href).then((n) => n.text()).then((n) => {
4523
4558
  const i = document.createElement("style");
@@ -4526,7 +4561,7 @@ function bs(e, t) {
4526
4561
  console.error("There was an error while trying to load client styling from URL", n);
4527
4562
  });
4528
4563
  }
4529
- function ys(e, t, r) {
4564
+ function Es(e, t, r) {
4530
4565
  if (window.emMessageBus) {
4531
4566
  const n = document.createElement("style");
4532
4567
  window.emMessageBus.subscribe(t, (i) => {
@@ -4534,7 +4569,7 @@ function ys(e, t, r) {
4534
4569
  });
4535
4570
  }
4536
4571
  }
4537
- function lr(e, { delay: t = 0, duration: r = 400, easing: n = Sr } = {}) {
4572
+ function dr(e, { delay: t = 0, duration: r = 400, easing: n = Br } = {}) {
4538
4573
  const i = +getComputedStyle(e).opacity;
4539
4574
  return {
4540
4575
  delay: t,
@@ -4543,13 +4578,13 @@ function lr(e, { delay: t = 0, duration: r = 400, easing: n = Sr } = {}) {
4543
4578
  css: (o) => `opacity: ${o * i}`
4544
4579
  };
4545
4580
  }
4546
- function hr(e, t) {
4547
- sn(e, t);
4581
+ function pr(e, t) {
4582
+ hn(e, t);
4548
4583
  }
4549
- function _s(e) {
4550
- _e.set(e);
4584
+ function ws(e) {
4585
+ ye.set(e);
4551
4586
  }
4552
- const cr = {
4587
+ const mr = {
4553
4588
  en: {
4554
4589
  language: "Select Language"
4555
4590
  },
@@ -4584,156 +4619,156 @@ const cr = {
4584
4619
  language: "Select Language"
4585
4620
  }
4586
4621
  };
4587
- function vs(e) {
4588
- Dn(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}");
4622
+ function Ss(e) {
4623
+ jn(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}");
4589
4624
  }
4590
- function fr(e, t, r) {
4625
+ function gr(e, t, r) {
4591
4626
  const n = e.slice();
4592
4627
  return n[53] = t[r], n;
4593
4628
  }
4594
- function dr(e, t, r) {
4629
+ function br(e, t, r) {
4595
4630
  const n = e.slice();
4596
4631
  return n[1] = t[r], n;
4597
4632
  }
4598
- function mr(e, t, r) {
4633
+ function yr(e, t, r) {
4599
4634
  const n = e.slice();
4600
4635
  return n[56] = t[r], n;
4601
4636
  }
4602
- function pr(e, t, r) {
4637
+ function vr(e, t, r) {
4603
4638
  const n = e.slice();
4604
4639
  return n[59] = t[r], n;
4605
4640
  }
4606
- const xs = (e) => ({}), gr = (e) => ({});
4607
- function br(e) {
4608
- let t, r, n, i, o, s, a, u, l, h, f, c, m, d, b, w;
4609
- const I = (
4641
+ const Hs = (e) => ({}), _r = (e) => ({});
4642
+ function xr(e) {
4643
+ let t, r, n, i, o, s, a, u, l, h, f, c, p, d, b, w;
4644
+ const O = (
4610
4645
  /*#slots*/
4611
4646
  e[31].close
4612
- ), O = Ln(
4613
- I,
4647
+ ), P = Fn(
4648
+ O,
4614
4649
  e,
4615
4650
  /*$$scope*/
4616
4651
  e[30],
4617
- gr
4618
- ), A = O || Es();
4619
- let L = J(
4652
+ _r
4653
+ ), H = P || Ts();
4654
+ let I = J(
4620
4655
  /*HamburgerMenuItems*/
4621
4656
  e[4]
4622
4657
  ), y = [];
4623
- for (let v = 0; v < L.length; v += 1)
4624
- y[v] = yr(pr(e, L, v));
4625
- let T = J(
4658
+ for (let _ = 0; _ < I.length; _ += 1)
4659
+ y[_] = Er(vr(e, I, _));
4660
+ let M = J(
4626
4661
  /*activeMenuItemChildren*/
4627
4662
  e[6]
4628
- ), _ = [];
4629
- for (let v = 0; v < T.length; v += 1)
4630
- _[v] = _r(mr(e, T, v));
4631
- let B = (
4663
+ ), v = [];
4664
+ for (let _ = 0; _ < M.length; _ += 1)
4665
+ v[_] = wr(yr(e, M, _));
4666
+ let A = (
4632
4667
  /*languagesArray*/
4633
- e[10].length > 1 && vr(e)
4668
+ e[10].length > 1 && Sr(e)
4634
4669
  );
4635
4670
  return {
4636
4671
  c() {
4637
- t = P("div"), r = P("span"), A.c(), i = $(), o = P("div"), s = P("ul");
4638
- for (let v = 0; v < y.length; v += 1)
4639
- y[v].c();
4640
- u = $(), l = P("ul");
4641
- for (let v = 0; v < _.length; v += 1)
4642
- _[v].c();
4643
- f = $(), B && B.c(), g(r, "class", n = /*modalIsOpen*/
4672
+ t = B("div"), r = B("span"), H && H.c(), i = D(), o = B("div"), s = B("ul");
4673
+ for (let _ = 0; _ < y.length; _ += 1)
4674
+ y[_].c();
4675
+ u = D(), l = B("ul");
4676
+ for (let _ = 0; _ < v.length; _ += 1)
4677
+ v[_].c();
4678
+ f = D(), A && A.c(), g(r, "class", n = /*modalIsOpen*/
4644
4679
  e[7] ? "ModalCloseBtn" : ""), g(r, "role", "button"), g(s, "class", a = "HamburgerPrimaryMenu " + /*menuIsFixed*/
4645
4680
  (e[8] ? "HamburgerPrimaryMenuFixed" : "")), g(l, "class", h = "HamburgerSecondaryMenu " + /*menuIsFixed*/
4646
4681
  (e[8] ? "HamburgerSecondaryMenuFixed" : "")), g(o, "class", c = "HamburgerModalContainer " + /*modalIsOpen*/
4647
4682
  (e[7] ? "ActiveHamburgerMenu" : "")), g(t, "class", "HamburgerModalWindow");
4648
4683
  },
4649
- m(v, C) {
4650
- j(v, t, C), x(t, r), A.m(r, null), x(t, i), x(t, o), x(o, s);
4684
+ m(_, L) {
4685
+ j(_, t, L), x(t, r), H && H.m(r, null), x(t, i), x(t, o), x(o, s);
4651
4686
  for (let E = 0; E < y.length; E += 1)
4652
4687
  y[E] && y[E].m(s, null);
4653
4688
  x(o, u), x(o, l);
4654
- for (let E = 0; E < _.length; E += 1)
4655
- _[E] && _[E].m(l, null);
4656
- x(o, f), B && B.m(o, null), e[38](t), d = !0, b || (w = re(
4689
+ for (let E = 0; E < v.length; E += 1)
4690
+ v[E] && v[E].m(l, null);
4691
+ x(o, f), A && A.m(o, null), e[38](t), d = !0, b || (w = re(
4657
4692
  r,
4658
4693
  "click",
4659
4694
  /*close*/
4660
4695
  e[14]
4661
4696
  ), b = !0);
4662
4697
  },
4663
- p(v, C) {
4664
- if (e = v, O && O.p && (!d || C[0] & /*$$scope*/
4665
- 1073741824) && Nn(
4698
+ p(_, L) {
4699
+ if (e = _, P && P.p && (!d || L[0] & /*$$scope*/
4700
+ 1073741824) && Un(
4701
+ P,
4666
4702
  O,
4667
- I,
4668
4703
  e,
4669
4704
  /*$$scope*/
4670
4705
  e[30],
4671
- d ? Cn(
4672
- I,
4706
+ d ? $n(
4707
+ O,
4673
4708
  /*$$scope*/
4674
4709
  e[30],
4675
- C,
4676
- xs
4677
- ) : Rn(
4710
+ L,
4711
+ Hs
4712
+ ) : Dn(
4678
4713
  /*$$scope*/
4679
4714
  e[30]
4680
4715
  ),
4681
- gr
4682
- ), (!d || C[0] & /*modalIsOpen*/
4716
+ _r
4717
+ ), (!d || L[0] & /*modalIsOpen*/
4683
4718
  128 && n !== (n = /*modalIsOpen*/
4684
- e[7] ? "ModalCloseBtn" : "")) && g(r, "class", n), C[0] & /*activeMenuItemId, HamburgerMenuItems, changeMenu*/
4719
+ e[7] ? "ModalCloseBtn" : "")) && g(r, "class", n), L[0] & /*activeMenuItemId, HamburgerMenuItems, changeMenu*/
4685
4720
  32816) {
4686
- L = J(
4721
+ I = J(
4687
4722
  /*HamburgerMenuItems*/
4688
4723
  e[4]
4689
4724
  );
4690
4725
  let E;
4691
- for (E = 0; E < L.length; E += 1) {
4692
- const V = pr(e, L, E);
4693
- y[E] ? y[E].p(V, C) : (y[E] = yr(V), y[E].c(), y[E].m(s, null));
4726
+ for (E = 0; E < I.length; E += 1) {
4727
+ const V = vr(e, I, E);
4728
+ y[E] ? y[E].p(V, L) : (y[E] = Er(V), y[E].c(), y[E].m(s, null));
4694
4729
  }
4695
4730
  for (; E < y.length; E += 1)
4696
4731
  y[E].d(1);
4697
- y.length = L.length;
4732
+ y.length = I.length;
4698
4733
  }
4699
- if ((!d || C[0] & /*menuIsFixed*/
4734
+ if ((!d || L[0] & /*menuIsFixed*/
4700
4735
  256 && a !== (a = "HamburgerPrimaryMenu " + /*menuIsFixed*/
4701
- (e[8] ? "HamburgerPrimaryMenuFixed" : ""))) && g(s, "class", a), C[0] & /*handleClick, activeMenuItemChildren*/
4736
+ (e[8] ? "HamburgerPrimaryMenuFixed" : ""))) && g(s, "class", a), L[0] & /*handleClick, activeMenuItemChildren*/
4702
4737
  65600) {
4703
- T = J(
4738
+ M = J(
4704
4739
  /*activeMenuItemChildren*/
4705
4740
  e[6]
4706
4741
  );
4707
4742
  let E;
4708
- for (E = 0; E < T.length; E += 1) {
4709
- const V = mr(e, T, E);
4710
- _[E] ? _[E].p(V, C) : (_[E] = _r(V), _[E].c(), _[E].m(l, null));
4743
+ for (E = 0; E < M.length; E += 1) {
4744
+ const V = yr(e, M, E);
4745
+ v[E] ? v[E].p(V, L) : (v[E] = wr(V), v[E].c(), v[E].m(l, null));
4711
4746
  }
4712
- for (; E < _.length; E += 1)
4713
- _[E].d(1);
4714
- _.length = T.length;
4747
+ for (; E < v.length; E += 1)
4748
+ v[E].d(1);
4749
+ v.length = M.length;
4715
4750
  }
4716
- (!d || C[0] & /*menuIsFixed*/
4751
+ (!d || L[0] & /*menuIsFixed*/
4717
4752
  256 && h !== (h = "HamburgerSecondaryMenu " + /*menuIsFixed*/
4718
4753
  (e[8] ? "HamburgerSecondaryMenuFixed" : ""))) && g(l, "class", h), /*languagesArray*/
4719
- e[10].length > 1 ? B ? B.p(e, C) : (B = vr(e), B.c(), B.m(o, null)) : B && (B.d(1), B = null), (!d || C[0] & /*modalIsOpen*/
4754
+ e[10].length > 1 ? A ? A.p(e, L) : (A = Sr(e), A.c(), A.m(o, null)) : A && (A.d(1), A = null), (!d || L[0] & /*modalIsOpen*/
4720
4755
  128 && c !== (c = "HamburgerModalContainer " + /*modalIsOpen*/
4721
4756
  (e[7] ? "ActiveHamburgerMenu" : ""))) && g(o, "class", c);
4722
4757
  },
4723
- i(v) {
4724
- d || (he(A, v), v && fe(() => {
4725
- d && (m || (m = kt(t, lr, { transitionDuration: Hr }, !0)), m.run(1));
4758
+ i(_) {
4759
+ d || (he(H, _), _ && ce(() => {
4760
+ d && (p || (p = Xt(t, dr, { transitionDuration: Ar }, !0)), p.run(1));
4726
4761
  }), d = !0);
4727
4762
  },
4728
- o(v) {
4729
- st(A, v), v && (m || (m = kt(t, lr, { transitionDuration: Hr }, !1)), m.run(0)), d = !1;
4763
+ o(_) {
4764
+ lt(H, _), _ && (p || (p = Xt(t, dr, { transitionDuration: Ar }, !1)), p.run(0)), d = !1;
4730
4765
  },
4731
- d(v) {
4732
- v && U(t), A.d(v), Ue(y, v), Ue(_, v), B && B.d(), e[38](null), v && m && m.end(), b = !1, w();
4766
+ d(_) {
4767
+ _ && $(t), H && H.d(_), $e(y, _), $e(v, _), A && A.d(), e[38](null), _ && p && p.end(), b = !1, w();
4733
4768
  }
4734
4769
  };
4735
4770
  }
4736
- function Es(e) {
4771
+ function Ts(e) {
4737
4772
  let t, r;
4738
4773
  return {
4739
4774
  c() {
@@ -4742,13 +4777,13 @@ function Es(e) {
4742
4777
  m(n, i) {
4743
4778
  j(n, t, i), x(t, r);
4744
4779
  },
4745
- p: D,
4780
+ p: U,
4746
4781
  d(n) {
4747
- n && U(t);
4782
+ n && $(t);
4748
4783
  }
4749
4784
  };
4750
4785
  }
4751
- function yr(e) {
4786
+ function Er(e) {
4752
4787
  let t, r, n, i, o, s = (
4753
4788
  /*mainItem*/
4754
4789
  e[59].label + ""
@@ -4764,30 +4799,30 @@ function yr(e) {
4764
4799
  }
4765
4800
  return {
4766
4801
  c() {
4767
- t = P("li"), r = P("div"), n = P("img"), o = $(), a = ee(s), u = $(), K(n.src, i = /*mainItem*/
4802
+ t = B("li"), r = B("div"), n = B("img"), o = D(), a = ee(s), u = D(), K(n.src, i = /*mainItem*/
4768
4803
  e[59].img) || g(n, "src", i), g(n, "alt", "menu icon"), g(r, "class", "HamburgerItemContainer"), g(t, "class", l = /*activeMenuItemId*/
4769
4804
  e[5] === /*mainItem*/
4770
4805
  e[59].id ? "ActiveItem" : "");
4771
4806
  },
4772
- m(m, d) {
4773
- j(m, t, d), x(t, r), x(r, n), x(r, o), x(r, a), x(t, u), h || (f = re(t, "click", c), h = !0);
4807
+ m(p, d) {
4808
+ j(p, t, d), x(t, r), x(r, n), x(r, o), x(r, a), x(t, u), h || (f = re(t, "click", c), h = !0);
4774
4809
  },
4775
- p(m, d) {
4776
- e = m, d[0] & /*HamburgerMenuItems*/
4810
+ p(p, d) {
4811
+ e = p, d[0] & /*HamburgerMenuItems*/
4777
4812
  16 && !K(n.src, i = /*mainItem*/
4778
4813
  e[59].img) && g(n, "src", i), d[0] & /*HamburgerMenuItems*/
4779
4814
  16 && s !== (s = /*mainItem*/
4780
- e[59].label + "") && be(a, s), d[0] & /*activeMenuItemId, HamburgerMenuItems*/
4815
+ e[59].label + "") && ge(a, s), d[0] & /*activeMenuItemId, HamburgerMenuItems*/
4781
4816
  48 && l !== (l = /*activeMenuItemId*/
4782
4817
  e[5] === /*mainItem*/
4783
4818
  e[59].id ? "ActiveItem" : "") && g(t, "class", l);
4784
4819
  },
4785
- d(m) {
4786
- m && U(t), h = !1, f();
4820
+ d(p) {
4821
+ p && $(t), h = !1, f();
4787
4822
  }
4788
4823
  };
4789
4824
  }
4790
- function _r(e) {
4825
+ function wr(e) {
4791
4826
  let t, r, n, i, o = (
4792
4827
  /*secondaryItem*/
4793
4828
  e[56].label + ""
@@ -4804,7 +4839,7 @@ function _r(e) {
4804
4839
  }
4805
4840
  return {
4806
4841
  c() {
4807
- t = P("li"), r = P("img"), i = $(), s = ee(o), a = $(), K(r.src, n = /*secondaryItem*/
4842
+ t = B("li"), r = B("img"), i = D(), s = ee(o), a = D(), K(r.src, n = /*secondaryItem*/
4808
4843
  e[56].img) || g(r, "src", n), g(r, "alt", "menu icon");
4809
4844
  },
4810
4845
  m(f, c) {
@@ -4815,14 +4850,14 @@ function _r(e) {
4815
4850
  64 && !K(r.src, n = /*secondaryItem*/
4816
4851
  e[56].img) && g(r, "src", n), c[0] & /*activeMenuItemChildren*/
4817
4852
  64 && o !== (o = /*secondaryItem*/
4818
- e[56].label + "") && be(s, o);
4853
+ e[56].label + "") && ge(s, o);
4819
4854
  },
4820
4855
  d(f) {
4821
- f && U(t), u = !1, l();
4856
+ f && $(t), u = !1, l();
4822
4857
  }
4823
4858
  };
4824
4859
  }
4825
- function vr(e) {
4860
+ function Sr(e) {
4826
4861
  let t, r, n = (
4827
4862
  /*$_*/
4828
4863
  e[13]("language") + ""
@@ -4830,13 +4865,13 @@ function vr(e) {
4830
4865
  function s(l, h) {
4831
4866
  return (
4832
4867
  /*countryflaghamburger*/
4833
- l[0] !== "true" ? Hs : ws
4868
+ l[0] !== "true" ? As : Ms
4834
4869
  );
4835
4870
  }
4836
4871
  let a = s(e), u = a(e);
4837
4872
  return {
4838
4873
  c() {
4839
- t = P("div"), r = P("span"), i = ee(n), o = $(), u.c(), g(r, "class", "LanguageSelect"), g(t, "class", "LanguageSelectorTitle");
4874
+ t = B("div"), r = B("span"), i = ee(n), o = D(), u.c(), g(r, "class", "LanguageSelect"), g(t, "class", "LanguageSelectorTitle");
4840
4875
  },
4841
4876
  m(l, h) {
4842
4877
  j(l, t, h), x(t, r), x(r, i), x(t, o), u.m(t, null);
@@ -4844,70 +4879,70 @@ function vr(e) {
4844
4879
  p(l, h) {
4845
4880
  h[0] & /*$_*/
4846
4881
  8192 && n !== (n = /*$_*/
4847
- l[13]("language") + "") && be(i, n), a === (a = s(l)) && u ? u.p(l, h) : (u.d(1), u = a(l), u && (u.c(), u.m(t, null)));
4882
+ 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)));
4848
4883
  },
4849
4884
  d(l) {
4850
- l && U(t), u.d();
4885
+ l && $(t), u.d();
4851
4886
  }
4852
4887
  };
4853
4888
  }
4854
- function ws(e) {
4889
+ function Ms(e) {
4855
4890
  let t, r, n, i, o, s, a, u = (
4856
4891
  /*selectedLanguage*/
4857
4892
  e[12].slice(-2) + ""
4858
- ), l, h, f, c, m, d, b, w, I, O, A, L, y = (
4893
+ ), l, h, f, c, p, d, b, w, O, P, H, I, y = (
4859
4894
  /*isOptionsListVisible*/
4860
- e[11] && xr(e)
4895
+ e[11] && Hr(e)
4861
4896
  );
4862
4897
  return {
4863
4898
  c() {
4864
- t = P("div"), r = P("div"), n = P("span"), i = P("img"), s = $(), a = P("span"), l = ee(u), h = $(), f = P("span"), c = te("svg"), m = te("g"), d = te("g"), b = te("g"), w = te("path"), O = $(), y && y.c(), K(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4899
+ t = B("div"), r = B("div"), n = B("span"), i = B("img"), s = D(), a = B("span"), l = ee(u), h = D(), f = B("span"), c = te("svg"), p = te("g"), d = te("g"), b = te("g"), w = te("path"), P = D(), y && y.c(), K(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4865
4900
  e[20](
4866
4901
  /*selectedLanguage*/
4867
4902
  e[12].slice(-2)
4868
- )}.svg`) || g(i, "src", o), g(n, "class", "FlagIcon"), g(a, "class", "LanguageName"), g(w, "d", "M223.708 6534.634c.39-.405.39-1.06 0-1.464l-8.264-8.563a1.95 1.95 0 0 0-2.827 0l-8.325 8.625c-.385.4-.39 1.048-.01 1.454a.976.976 0 0 0 1.425.01l7.617-7.893a.975.975 0 0 1 1.414 0l7.557 7.83a.974.974 0 0 0 1.413 0"), g(b, "transform", "translate(56 160)"), g(d, "fill", "#000"), g(d, "transform", "translate(-260 -6684)"), g(m, "fill", "none"), g(m, "fill-rule", "evenodd"), g(c, "xmlns", "http://www.w3.org/2000/svg"), g(c, "width", "20"), g(c, "height", "11"), g(c, "viewBox", "0 0 20 11"), g(c, "id", "arrow"), g(f, "class", I = "TriangleInactive " + /*isOptionsListVisible*/
4903
+ )}.svg`) || g(i, "src", o), g(n, "class", "FlagIcon"), g(a, "class", "LanguageName"), g(w, "d", "M223.708 6534.634c.39-.405.39-1.06 0-1.464l-8.264-8.563a1.95 1.95 0 0 0-2.827 0l-8.325 8.625c-.385.4-.39 1.048-.01 1.454a.976.976 0 0 0 1.425.01l7.617-7.893a.975.975 0 0 1 1.414 0l7.557 7.83a.974.974 0 0 0 1.413 0"), g(b, "transform", "translate(56 160)"), g(d, "fill", "#000"), g(d, "transform", "translate(-260 -6684)"), g(p, "fill", "none"), g(p, "fill-rule", "evenodd"), g(c, "xmlns", "http://www.w3.org/2000/svg"), g(c, "width", "20"), g(c, "height", "11"), g(c, "viewBox", "0 0 20 11"), g(c, "id", "arrow"), g(f, "class", O = "TriangleInactive " + /*isOptionsListVisible*/
4869
4904
  (e[11] ? "TriangleActive" : "")), g(r, "class", "SelectedOption Item ItemLanguage"), g(t, "class", "LanguageDropdown");
4870
4905
  },
4871
- m(T, _) {
4872
- j(T, 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, m), x(m, d), x(d, b), x(b, w), x(t, O), y && y.m(t, null), A || (L = re(
4906
+ m(M, v) {
4907
+ j(M, t, v), 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, p), x(p, d), x(d, b), x(b, w), x(t, P), y && y.m(t, null), H || (I = re(
4873
4908
  r,
4874
4909
  "click",
4875
4910
  /*click_handler_2*/
4876
4911
  e[36]
4877
- ), A = !0);
4912
+ ), H = !0);
4878
4913
  },
4879
- p(T, _) {
4880
- _[0] & /*selectedLanguage, languagesArray*/
4914
+ p(M, v) {
4915
+ v[0] & /*selectedLanguage, languagesArray*/
4881
4916
  5120 && !K(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4882
- T[20](
4917
+ M[20](
4883
4918
  /*selectedLanguage*/
4884
- T[12].slice(-2)
4885
- )}.svg`) && g(i, "src", o), _[0] & /*selectedLanguage*/
4919
+ M[12].slice(-2)
4920
+ )}.svg`) && g(i, "src", o), v[0] & /*selectedLanguage*/
4886
4921
  4096 && u !== (u = /*selectedLanguage*/
4887
- T[12].slice(-2) + "") && be(l, u), _[0] & /*isOptionsListVisible*/
4888
- 2048 && I !== (I = "TriangleInactive " + /*isOptionsListVisible*/
4889
- (T[11] ? "TriangleActive" : "")) && g(f, "class", I), /*isOptionsListVisible*/
4890
- T[11] ? y ? y.p(T, _) : (y = xr(T), y.c(), y.m(t, null)) : y && (y.d(1), y = null);
4922
+ M[12].slice(-2) + "") && ge(l, u), v[0] & /*isOptionsListVisible*/
4923
+ 2048 && O !== (O = "TriangleInactive " + /*isOptionsListVisible*/
4924
+ (M[11] ? "TriangleActive" : "")) && g(f, "class", O), /*isOptionsListVisible*/
4925
+ M[11] ? y ? y.p(M, v) : (y = Hr(M), y.c(), y.m(t, null)) : y && (y.d(1), y = null);
4891
4926
  },
4892
- d(T) {
4893
- T && U(t), y && y.d(), A = !1, L();
4927
+ d(M) {
4928
+ M && $(t), y && y.d(), H = !1, I();
4894
4929
  }
4895
4930
  };
4896
4931
  }
4897
- function Hs(e) {
4932
+ function As(e) {
4898
4933
  let t, r, n, i = J(
4899
4934
  /*languagesArray*/
4900
4935
  e[10]
4901
4936
  ), o = [];
4902
4937
  for (let s = 0; s < i.length; s += 1)
4903
- o[s] = wr(dr(e, i, s));
4938
+ o[s] = Mr(br(e, i, s));
4904
4939
  return {
4905
4940
  c() {
4906
- t = P("select");
4941
+ t = B("select");
4907
4942
  for (let s = 0; s < o.length; s += 1)
4908
4943
  o[s].c();
4909
4944
  g(t, "class", "Item ItemLanguage NoFlag"), /*selectedLanguage*/
4910
- e[12] === void 0 && fe(() => (
4945
+ e[12] === void 0 && ce(() => (
4911
4946
  /*select_change_handler*/
4912
4947
  e[34].call(t)
4913
4948
  ));
@@ -4916,7 +4951,7 @@ function Hs(e) {
4916
4951
  j(s, t, a);
4917
4952
  for (let u = 0; u < o.length; u += 1)
4918
4953
  o[u] && o[u].m(t, null);
4919
- Dt(
4954
+ jt(
4920
4955
  t,
4921
4956
  /*selectedLanguage*/
4922
4957
  e[12],
@@ -4945,35 +4980,35 @@ function Hs(e) {
4945
4980
  );
4946
4981
  let u;
4947
4982
  for (u = 0; u < i.length; u += 1) {
4948
- const l = dr(s, i, u);
4949
- o[u] ? o[u].p(l, a) : (o[u] = wr(l), o[u].c(), o[u].m(t, null));
4983
+ const l = br(s, i, u);
4984
+ o[u] ? o[u].p(l, a) : (o[u] = Mr(l), o[u].c(), o[u].m(t, null));
4950
4985
  }
4951
4986
  for (; u < o.length; u += 1)
4952
4987
  o[u].d(1);
4953
4988
  o.length = i.length;
4954
4989
  }
4955
4990
  a[0] & /*selectedLanguage, languagesArray*/
4956
- 5120 && Dt(
4991
+ 5120 && jt(
4957
4992
  t,
4958
4993
  /*selectedLanguage*/
4959
4994
  s[12]
4960
4995
  );
4961
4996
  },
4962
4997
  d(s) {
4963
- s && U(t), Ue(o, s), r = !1, q(n);
4998
+ s && $(t), $e(o, s), r = !1, Q(n);
4964
4999
  }
4965
5000
  };
4966
5001
  }
4967
- function xr(e) {
5002
+ function Hr(e) {
4968
5003
  let t, r = J(
4969
5004
  /*languagesArray*/
4970
5005
  e[10]
4971
5006
  ), n = [];
4972
5007
  for (let i = 0; i < r.length; i += 1)
4973
- n[i] = Er(fr(e, r, i));
5008
+ n[i] = Tr(gr(e, r, i));
4974
5009
  return {
4975
5010
  c() {
4976
- t = P("div");
5011
+ t = B("div");
4977
5012
  for (let i = 0; i < n.length; i += 1)
4978
5013
  n[i].c();
4979
5014
  g(t, "class", "OptionList");
@@ -4992,8 +5027,8 @@ function xr(e) {
4992
5027
  );
4993
5028
  let s;
4994
5029
  for (s = 0; s < r.length; s += 1) {
4995
- const a = fr(i, r, s);
4996
- n[s] ? n[s].p(a, o) : (n[s] = Er(a), n[s].c(), n[s].m(t, null));
5030
+ const a = gr(i, r, s);
5031
+ n[s] ? n[s].p(a, o) : (n[s] = Tr(a), n[s].c(), n[s].m(t, null));
4997
5032
  }
4998
5033
  for (; s < n.length; s += 1)
4999
5034
  n[s].d(1);
@@ -5001,11 +5036,11 @@ function xr(e) {
5001
5036
  }
5002
5037
  },
5003
5038
  d(i) {
5004
- i && U(t), Ue(n, i);
5039
+ i && $(t), $e(n, i);
5005
5040
  }
5006
5041
  };
5007
5042
  }
5008
- function Er(e) {
5043
+ function Tr(e) {
5009
5044
  let t, r, n, i, o, s, a = (
5010
5045
  /*operatorLanguage*/
5011
5046
  e[53] + ""
@@ -5021,39 +5056,39 @@ function Er(e) {
5021
5056
  }
5022
5057
  return {
5023
5058
  c() {
5024
- t = P("div"), r = P("span"), n = P("img"), o = $(), s = P("span"), u = ee(a), l = $(), K(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
5059
+ t = B("div"), r = B("span"), n = B("img"), o = D(), s = B("span"), u = ee(a), l = D(), K(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
5025
5060
  e[20](
5026
5061
  /*operatorLanguage*/
5027
5062
  e[53]
5028
5063
  )}.svg`) || g(n, "src", i), g(r, "class", "FlagIcon"), g(s, "class", "LanguageName"), g(t, "class", "LanguageOption");
5029
5064
  },
5030
- m(m, d) {
5031
- j(m, t, d), x(t, r), x(r, n), x(t, o), x(t, s), x(s, u), x(t, l), h || (f = re(t, "click", c), h = !0);
5065
+ m(p, d) {
5066
+ j(p, t, d), x(t, r), x(r, n), x(t, o), x(t, s), x(s, u), x(t, l), h || (f = re(t, "click", c), h = !0);
5032
5067
  },
5033
- p(m, d) {
5034
- e = m, d[0] & /*languagesArray*/
5068
+ p(p, d) {
5069
+ e = p, d[0] & /*languagesArray*/
5035
5070
  1024 && !K(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
5036
5071
  e[20](
5037
5072
  /*operatorLanguage*/
5038
5073
  e[53]
5039
5074
  )}.svg`) && g(n, "src", i), d[0] & /*languagesArray*/
5040
5075
  1024 && a !== (a = /*operatorLanguage*/
5041
- e[53] + "") && be(u, a);
5076
+ e[53] + "") && ge(u, a);
5042
5077
  },
5043
- d(m) {
5044
- m && U(t), h = !1, f();
5078
+ d(p) {
5079
+ p && $(t), h = !1, f();
5045
5080
  }
5046
5081
  };
5047
5082
  }
5048
- function wr(e) {
5083
+ function Mr(e) {
5049
5084
  let t, r = (
5050
5085
  /*lang*/
5051
5086
  e[1].slice(-2) + ""
5052
5087
  ), n, i;
5053
5088
  return {
5054
5089
  c() {
5055
- t = P("option"), n = ee(r), t.__value = i = /*lang*/
5056
- e[1], Ut(t, t.__value), t.selected = !0;
5090
+ t = B("option"), n = ee(r), t.__value = i = /*lang*/
5091
+ e[1], kt(t, t.__value), t.selected = !0;
5057
5092
  },
5058
5093
  m(o, s) {
5059
5094
  j(o, t, s), x(t, n);
@@ -5061,23 +5096,23 @@ function wr(e) {
5061
5096
  p(o, s) {
5062
5097
  s[0] & /*languagesArray*/
5063
5098
  1024 && r !== (r = /*lang*/
5064
- o[1].slice(-2) + "") && be(n, r), s[0] & /*languagesArray*/
5099
+ o[1].slice(-2) + "") && ge(n, r), s[0] & /*languagesArray*/
5065
5100
  1024 && i !== (i = /*lang*/
5066
- o[1]) && (t.__value = i, Ut(t, t.__value));
5101
+ o[1]) && (t.__value = i, kt(t, t.__value));
5067
5102
  },
5068
5103
  d(o) {
5069
- o && U(t);
5104
+ o && $(t);
5070
5105
  }
5071
5106
  };
5072
5107
  }
5073
- function Ss(e) {
5108
+ function Bs(e) {
5074
5109
  let t, r, n = (
5075
5110
  /*show*/
5076
- e[9] === !0 && br(e)
5111
+ e[9] === !0 && xr(e)
5077
5112
  );
5078
5113
  return {
5079
5114
  c() {
5080
- t = P("div"), n && n.c();
5115
+ t = B("div"), n && n.c();
5081
5116
  },
5082
5117
  m(i, o) {
5083
5118
  j(i, t, o), n && n.m(t, null), e[39](t), r = !0;
@@ -5085,96 +5120,96 @@ function Ss(e) {
5085
5120
  p(i, o) {
5086
5121
  /*show*/
5087
5122
  i[9] === !0 ? n ? (n.p(i, o), o[0] & /*show*/
5088
- 512 && he(n, 1)) : (n = br(i), n.c(), he(n, 1), n.m(t, null)) : n && (ri(), st(n, 1, 1, () => {
5123
+ 512 && he(n, 1)) : (n = xr(i), n.c(), he(n, 1), n.m(t, null)) : n && (si(), lt(n, 1, 1, () => {
5089
5124
  n = null;
5090
- }), ni());
5125
+ }), ai());
5091
5126
  },
5092
5127
  i(i) {
5093
5128
  r || (he(n), r = !0);
5094
5129
  },
5095
5130
  o(i) {
5096
- st(n), r = !1;
5131
+ lt(n), r = !1;
5097
5132
  },
5098
5133
  d(i) {
5099
- i && U(t), n && n.d(), e[39](null);
5134
+ i && $(t), n && n.d(), e[39](null);
5100
5135
  }
5101
5136
  };
5102
5137
  }
5103
- let Hr = 350;
5104
- function Ts(e, t, r) {
5138
+ let Ar = 350;
5139
+ function Ps(e, t, r) {
5105
5140
  let n;
5106
- In(e, ms, (p) => r(13, n = p));
5107
- let { $$slots: i = {}, $$scope: o } = t, { menuitemsurl: s = "" } = t, { lang: a = "en" } = t, { activecategory: u = "" } = t, { languageslist: l = "" } = t, { translationurl: h = "" } = t, { clientstyling: f = "" } = t, { clientstylingurl: c = "" } = t, { customlocaleidentifier: m = "" } = t, { countryflaghamburger: d = "" } = t, { mbsource: b } = t, w, I = window.navigator.userAgent, O = [], A, L = "", y = [], T = !1, _ = !1, B = !1, v = !0, C = [], E = !1, V = !1, ie = "", X;
5108
- const fn = () => {
5109
- fetch(h).then((R) => R.json()).then((R) => {
5110
- Object.keys(R).forEach((W) => {
5111
- hr(W, R[W]);
5141
+ Rn(e, ys, (m) => r(13, n = m));
5142
+ 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: p = "" } = t, { countryflaghamburger: d = "" } = t, { mbsource: b } = t, w, O = window.navigator.userAgent, P = [], H, I = "", y = [], M = !1, v = !1, A = !1, _ = !0, L = [], E = !1, V = !1, ie = "", z;
5143
+ const gn = () => {
5144
+ fetch(h).then((N) => N.json()).then((N) => {
5145
+ Object.keys(N).forEach((W) => {
5146
+ pr(W, N[W]);
5112
5147
  });
5113
- }).catch((R) => {
5114
- console.log(R);
5148
+ }).catch((N) => {
5149
+ console.log(N);
5115
5150
  });
5116
5151
  };
5117
- Object.keys(cr).forEach((p) => {
5118
- hr(p, cr[p]);
5152
+ Object.keys(mr).forEach((m) => {
5153
+ pr(m, mr[m]);
5119
5154
  });
5120
- const St = () => {
5121
- r(9, B = !1), r(7, T = !1), r(8, _ = !1), r(11, V = !1), window.postMessage(
5155
+ const Bt = () => {
5156
+ r(9, A = !1), r(7, M = !1), r(8, v = !1), r(11, V = !1), window.postMessage(
5122
5157
  {
5123
5158
  type: "CloseHamburgerMenu",
5124
5159
  showhamburger: !0
5125
5160
  },
5126
5161
  window.location.href
5127
5162
  );
5128
- }, Tt = (p) => {
5129
- p.data.type === "OpenHamburgerMenuModal" && (window.postMessage({ type: "DisableScroll" }, window.location.href), r(9, B = !0), setTimeout(
5163
+ }, Pt = (m) => {
5164
+ m.data.type === "OpenHamburgerMenuModal" && (window.postMessage({ type: "DisableScroll" }, window.location.href), r(9, A = !0), setTimeout(
5130
5165
  () => {
5131
- r(7, T = !0);
5166
+ r(7, M = !0);
5132
5167
  },
5133
5168
  500
5134
5169
  ), setTimeout(
5135
5170
  () => {
5136
- r(8, _ = !0);
5171
+ r(8, v = !0);
5137
5172
  },
5138
5173
  1500
5139
- ), dn(s));
5140
- }, Be = (p, R) => {
5141
- r(5, L = p), r(6, y = R || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
5174
+ ), bn(s));
5175
+ }, Be = (m, N) => {
5176
+ r(5, I = m), r(6, y = N || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
5142
5177
  context: "HamburgerMenu",
5143
- menuItem: `${L}`
5178
+ menuItem: `${I}`
5144
5179
  });
5145
- }, Mt = () => {
5146
- let p = O.filter((R) => {
5147
- var It;
5180
+ }, Ot = () => {
5181
+ let m = P.filter((N) => {
5182
+ var Rt;
5148
5183
  let W = !1;
5149
- return (It = R.children) == null || It.forEach((Hn) => {
5150
- Hn.path.includes(u) && (W = !0);
5184
+ return (Rt = N.children) == null || Rt.forEach((An) => {
5185
+ An.path.includes(u) && (W = !0);
5151
5186
  }), W;
5152
5187
  });
5153
- p.length > 0 ? Be(p[0].id, p[0].children) : Be(O[0].id, O[0].children);
5154
- }, dn = (p) => new Promise((R, W) => {
5155
- A && !E ? R(A) : At(p);
5156
- }), At = (p) => {
5157
- fetch(p).then((R) => R.json()).then(
5158
- (R) => {
5159
- r(4, O = R.filter((W) => (W == null ? void 0 : W.type) !== "banner")), Mt(), r(29, v = !1), A = R, E = !1;
5188
+ m.length > 0 ? Be(m[0].id, m[0].children) : Be(P[0].id, P[0].children);
5189
+ }, bn = (m) => new Promise((N, W) => {
5190
+ H && !E ? N(H) : It(m);
5191
+ }), It = (m) => {
5192
+ fetch(m).then((N) => N.json()).then(
5193
+ (N) => {
5194
+ r(4, P = N.filter((W) => (W == null ? void 0 : W.type) !== "banner")), Ot(), r(29, _ = !1), H = N, E = !1;
5160
5195
  },
5161
- (R) => {
5162
- console.error(R);
5196
+ (N) => {
5197
+ console.error(N);
5163
5198
  }
5164
5199
  );
5165
5200
  };
5166
- let Bt = (p) => {
5201
+ let Lt = (m) => {
5167
5202
  window.postMessage(
5168
5203
  {
5169
5204
  type: "NavigateTo",
5170
- path: p.path,
5171
- externalLink: p.externalLink || !1,
5172
- target: p.attrs.target || null
5205
+ path: m.path,
5206
+ externalLink: m.externalLink || !1,
5207
+ target: m.attrs.target || null
5173
5208
  },
5174
5209
  window.location.href
5175
- ), St();
5210
+ ), Bt();
5176
5211
  };
5177
- const qe = () => {
5212
+ const Je = () => {
5178
5213
  E = !0, window.postMessage(
5179
5214
  {
5180
5215
  type: "LanguageChanged",
@@ -5182,94 +5217,94 @@ function Ts(e, t, r) {
5182
5217
  },
5183
5218
  window.location.href
5184
5219
  );
5185
- }, mn = () => {
5186
- _s(a), E && At(s), r(10, C = l.replace(/ /g, "").split(",")), r(10, C = C.map((p) => p.toUpperCase())), r(12, ie = a.toUpperCase());
5187
- }, Pt = (p) => {
5188
- r(12, ie = p), r(11, V = !1), qe();
5189
- }, Ot = () => {
5220
+ }, yn = () => {
5221
+ ws(a), E && It(s), r(10, L = l.replace(/ /g, "").split(",")), r(10, L = L.map((m) => m.toUpperCase())), r(12, ie = a.toUpperCase());
5222
+ }, Ct = (m) => {
5223
+ r(12, ie = m), r(11, V = !1), Je();
5224
+ }, Nt = () => {
5190
5225
  r(11, V = !V);
5191
- }, pn = (p) => (m && (p = m.includes(p.toLowerCase()) ? m.slice(-2) : p), p == "EN" ? "US" : p.toUpperCase());
5192
- Qn(() => (window.addEventListener("message", Tt, !1), ps(I), () => {
5193
- window.removeEventListener("message", Tt);
5226
+ }, vn = (m) => (p && (m = p.includes(m.toLowerCase()) ? p.slice(-2) : m), m == "EN" ? "US" : m.toUpperCase());
5227
+ ei(() => (window.addEventListener("message", Pt, !1), vs(O), () => {
5228
+ window.removeEventListener("message", Pt);
5194
5229
  }));
5195
- const gn = (p) => Be(p.id, p.children), bn = (p, R) => {
5196
- Bt(p), R.preventDefault();
5230
+ const _n = (m) => Be(m.id, m.children), xn = (m, N) => {
5231
+ Lt(m), N.preventDefault();
5197
5232
  };
5198
- function yn() {
5199
- ie = kn(this), r(12, ie), r(10, C);
5233
+ function En() {
5234
+ ie = Xn(this), r(12, ie), r(10, L);
5200
5235
  }
5201
- const _n = () => qe(), vn = () => Ot(), xn = (p) => Pt(p);
5202
- function En(p) {
5203
- Ge[p ? "unshift" : "push"](() => {
5204
- w = p, r(3, w);
5236
+ const wn = () => Je(), Sn = () => Nt(), Hn = (m) => Ct(m);
5237
+ function Tn(m) {
5238
+ Ge[m ? "unshift" : "push"](() => {
5239
+ w = m, r(3, w);
5205
5240
  });
5206
5241
  }
5207
- function wn(p) {
5208
- Ge[p ? "unshift" : "push"](() => {
5209
- X = p, r(2, X);
5242
+ function Mn(m) {
5243
+ Ge[m ? "unshift" : "push"](() => {
5244
+ z = m, r(2, z);
5210
5245
  });
5211
5246
  }
5212
- return e.$$set = (p) => {
5213
- "menuitemsurl" in p && r(21, s = p.menuitemsurl), "lang" in p && r(1, a = p.lang), "activecategory" in p && r(22, u = p.activecategory), "languageslist" in p && r(23, l = p.languageslist), "translationurl" in p && r(24, h = p.translationurl), "clientstyling" in p && r(25, f = p.clientstyling), "clientstylingurl" in p && r(26, c = p.clientstylingurl), "customlocaleidentifier" in p && r(27, m = p.customlocaleidentifier), "countryflaghamburger" in p && r(0, d = p.countryflaghamburger), "mbsource" in p && r(28, b = p.mbsource), "$$scope" in p && r(30, o = p.$$scope);
5247
+ return e.$$set = (m) => {
5248
+ "menuitemsurl" in m && r(21, s = m.menuitemsurl), "lang" in m && r(1, a = m.lang), "activecategory" in m && r(22, u = m.activecategory), "languageslist" in m && r(23, l = m.languageslist), "translationurl" in m && r(24, h = m.translationurl), "clientstyling" in m && r(25, f = m.clientstyling), "clientstylingurl" in m && r(26, c = m.clientstylingurl), "customlocaleidentifier" in m && r(27, p = m.customlocaleidentifier), "countryflaghamburger" in m && r(0, d = m.countryflaghamburger), "mbsource" in m && r(28, b = m.mbsource), "$$scope" in m && r(30, o = m.$$scope);
5214
5249
  }, e.$$.update = () => {
5215
5250
  e.$$.dirty[0] & /*lang, languageslist*/
5216
- 8388610 && a && l && mn(), e.$$.dirty[0] & /*activecategory, isLoading*/
5217
- 541065216 && u && !v && Mt(), e.$$.dirty[0] & /*translationurl*/
5218
- 16777216 && h && fn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5219
- 33554436 && f && X && gs(X, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5220
- 67108868 && c && X && bs(X, c), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
5221
- 268435460 && X && ys(X, `${b}.Style`);
5251
+ 8388610 && a && l && yn(), e.$$.dirty[0] & /*activecategory, isLoading*/
5252
+ 541065216 && u && !_ && Ot(), e.$$.dirty[0] & /*translationurl*/
5253
+ 16777216 && h && gn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5254
+ 33554436 && f && z && _s(z, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5255
+ 67108868 && c && z && xs(z, c), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
5256
+ 268435460 && z && Es(z, `${b}.Style`);
5222
5257
  }, [
5223
5258
  d,
5224
5259
  a,
5225
- X,
5260
+ z,
5226
5261
  w,
5227
- O,
5228
- L,
5262
+ P,
5263
+ I,
5229
5264
  y,
5230
- T,
5231
- _,
5232
- B,
5233
- C,
5265
+ M,
5266
+ v,
5267
+ A,
5268
+ L,
5234
5269
  V,
5235
5270
  ie,
5236
5271
  n,
5237
- St,
5238
- Be,
5239
5272
  Bt,
5240
- qe,
5241
- Pt,
5242
- Ot,
5243
- pn,
5273
+ Be,
5274
+ Lt,
5275
+ Je,
5276
+ Ct,
5277
+ Nt,
5278
+ vn,
5244
5279
  s,
5245
5280
  u,
5246
5281
  l,
5247
5282
  h,
5248
5283
  f,
5249
5284
  c,
5250
- m,
5285
+ p,
5251
5286
  b,
5252
- v,
5287
+ _,
5253
5288
  o,
5254
5289
  i,
5255
- gn,
5256
- bn,
5257
- yn,
5258
5290
  _n,
5259
- vn,
5260
5291
  xn,
5261
5292
  En,
5262
- wn
5293
+ wn,
5294
+ Sn,
5295
+ Hn,
5296
+ Tn,
5297
+ Mn
5263
5298
  ];
5264
5299
  }
5265
- class cn extends hi {
5300
+ class mn extends pi {
5266
5301
  constructor(t) {
5267
- super(), ui(
5302
+ super(), fi(
5268
5303
  this,
5269
5304
  t,
5270
- Ts,
5271
- Ss,
5272
- Mr,
5305
+ Ps,
5306
+ Bs,
5307
+ Or,
5273
5308
  {
5274
5309
  menuitemsurl: 21,
5275
5310
  lang: 1,
@@ -5282,7 +5317,7 @@ class cn extends hi {
5282
5317
  countryflaghamburger: 0,
5283
5318
  mbsource: 28
5284
5319
  },
5285
- vs,
5320
+ Ss,
5286
5321
  [-1, -1]
5287
5322
  );
5288
5323
  }
@@ -5347,57 +5382,57 @@ class cn extends hi {
5347
5382
  this.$$set({ mbsource: t }), k();
5348
5383
  }
5349
5384
  }
5350
- li(cn, { menuitemsurl: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {}, mbsource: {} }, ["close"], [], !0);
5351
- const Us = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5385
+ di(mn, { menuitemsurl: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {}, mbsource: {} }, ["close"], [], !0);
5386
+ const ks = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5352
5387
  __proto__: null,
5353
- default: cn
5388
+ default: mn
5354
5389
  }, Symbol.toStringTag, { value: "Module" }));
5355
5390
  export {
5356
- _e as $,
5357
- re as A,
5358
- be as B,
5359
- Ue as C,
5360
- q as D,
5361
- te as E,
5362
- Bs as F,
5363
- As as G,
5364
- ms as H,
5365
- Fs as I,
5366
- fe as J,
5367
- Dt as K,
5368
- Ut as L,
5369
- Ps as M,
5370
- Ns as N,
5371
- Ls as O,
5372
- Cs as P,
5373
- Rs as Q,
5374
- Is as R,
5375
- hi as S,
5376
- Us as T,
5391
+ ye as $,
5392
+ ee as A,
5393
+ J as B,
5394
+ $e as C,
5395
+ Gs as D,
5396
+ Is as E,
5397
+ jt as F,
5398
+ ce as G,
5399
+ kt as H,
5400
+ ys as I,
5401
+ _s as J,
5402
+ xs as K,
5403
+ Es as L,
5404
+ Cs as M,
5405
+ Us as N,
5406
+ Fs as O,
5407
+ $s as P,
5408
+ Ds as Q,
5409
+ Rs as R,
5410
+ pi as S,
5411
+ ks as T,
5377
5412
  Ae as a,
5378
- sn as b,
5379
- li as c,
5380
- Dn as d,
5413
+ hn as b,
5414
+ di as c,
5415
+ jn as d,
5381
5416
  $ as e,
5382
5417
  k as f,
5383
- P as g,
5384
- Os as h,
5385
- ui as i,
5386
- j,
5387
- U as k,
5388
- In as l,
5389
- ps as m,
5390
- D as n,
5391
- Qn as o,
5418
+ Ns as g,
5419
+ j as h,
5420
+ fi as i,
5421
+ D as j,
5422
+ B as k,
5423
+ Rn as l,
5424
+ vs as m,
5425
+ U as n,
5426
+ ei as o,
5392
5427
  Ge as p,
5393
- kn as q,
5394
- gs as r,
5395
- Mr as s,
5396
- bs as t,
5397
- ys as u,
5398
- J as v,
5399
- ee as w,
5400
- K as x,
5401
- g as y,
5402
- x as z
5428
+ Xn as q,
5429
+ Ls as r,
5430
+ Or as s,
5431
+ Q as t,
5432
+ K as u,
5433
+ g as v,
5434
+ ge as w,
5435
+ x,
5436
+ re as y,
5437
+ te as z
5403
5438
  };