@everymatrix/casino-header-controller 1.54.12 → 1.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/components/CasinoHamburgerMenu-C8-P7sF9.cjs +8 -0
  2. package/components/{CasinoHamburgerMenu-Dv3mR4gk.js → CasinoHamburgerMenu-E4O8Dx5o.js} +1239 -1157
  3. package/components/{CasinoHamburgerMenu-DrXD2QZ-.js → CasinoHamburgerMenu-JVY4ac8I.js} +975 -969
  4. package/components/{CasinoHeaderController-uM2BkEPQ.js → CasinoHeaderController-9s-CNvhj.js} +762 -700
  5. package/components/{CasinoHeaderController-EYxUFHlv.js → CasinoHeaderController-BVCLQUCq.js} +780 -718
  6. package/components/CasinoHeaderController-BZk18wxU.cjs +13 -0
  7. package/components/{CasinoSlider-BaotiKI5.cjs → CasinoSlider-DDycojG8.cjs} +1 -1
  8. package/components/{CasinoSlider-5-1p-Xbc.js → CasinoSlider-xu8jCpW1.js} +325 -328
  9. package/components/{CasinoSlider-Dm6jniCL.js → CasinoSlider-yMz4R8ed.js} +296 -299
  10. package/components/PlayerAccountBalanceModal-BVQlpIy4.cjs +13 -0
  11. package/components/{PlayerAccountBalanceModal-Cs1yCHOI.js → PlayerAccountBalanceModal-CcASksA3.js} +401 -405
  12. package/components/{PlayerAccountBalanceModal-B1_uQAVA.js → PlayerAccountBalanceModal-DG6GgVDp.js} +364 -368
  13. package/components/PlayerDeposit-C8ZPqrpV.cjs +1 -0
  14. package/components/{PlayerDeposit-B89_Vs9V.js → PlayerDeposit-CIarW5H1.js} +142 -146
  15. package/components/{PlayerDeposit-CNy9cvEy.js → PlayerDeposit-D9xpcJp9.js} +142 -146
  16. package/es2015/casino-header-controller.cjs +1 -1
  17. package/es2015/casino-header-controller.js +1 -1
  18. package/esnext/casino-header-controller.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/index-657e7a14-BQuTIY5_.js +572 -0
  21. package/stencil/index-657e7a14-CDqZBTHG.cjs +1 -0
  22. package/stencil/index-657e7a14-fo2CD-e3.js +588 -0
  23. package/stencil/{user-deposit-withdrawal-CJUx01Ss.cjs → user-deposit-withdrawal-BCkoyv3i.cjs} +2 -2
  24. package/stencil/{user-deposit-withdrawal-5ly7Quf_.js → user-deposit-withdrawal-Dg3a3KkR.js} +24 -24
  25. package/stencil/{user-deposit-withdrawal-BEcaqAXR.js → user-deposit-withdrawal-gu9RDhoH.js} +24 -24
  26. package/components/CasinoHamburgerMenu-BGHo13mn.cjs +0 -8
  27. package/components/CasinoHeaderController-CfFUvcEO.cjs +0 -13
  28. package/components/PlayerAccountBalanceModal-B_7fcnxz.cjs +0 -13
  29. package/components/PlayerDeposit-DqZH75Dh.cjs +0 -1
  30. package/stencil/index-45f4006f-B0VyePmU.js +0 -638
  31. package/stencil/index-45f4006f-BYSN7Lmh.js +0 -654
  32. package/stencil/index-45f4006f-CT7q_gcU.cjs +0 -1
@@ -1,86 +1,57 @@
1
- var Sn = Object.defineProperty, Tn = Object.defineProperties;
2
- var Mn = Object.getOwnPropertyDescriptors;
3
- var Ot = 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, It = (e, t) => {
6
- for (var r in t || (t = {}))
7
- An.call(t, r) && qe(e, r, t[r]);
8
- if (Ot)
9
- for (var r of Ot(t))
10
- Bn.call(t, r) && qe(e, r, t[r]);
11
- return e;
12
- }, Ct = (e, t) => Tn(e, Mn(t));
13
- var j = (e, t, r) => qe(e, typeof t != "symbol" ? t + "" : t, r);
14
- var Lt = (e, t, r) => new Promise((n, i) => {
15
- var o = (u) => {
16
- try {
17
- a(r.next(u));
18
- } catch (l) {
19
- i(l);
20
- }
21
- }, s = (u) => {
22
- try {
23
- a(r.throw(u));
24
- } catch (l) {
25
- i(l);
26
- }
27
- }, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
28
- a((r = r.apply(e, t)).next());
29
- });
30
- function $() {
1
+ function D() {
31
2
  }
32
- const wr = (e) => e;
33
- function Pn(e, t) {
3
+ const xr = (e) => e;
4
+ function En(e, t) {
34
5
  for (const r in t) e[r] = t[r];
35
6
  return (
36
7
  /** @type {T & S} */
37
8
  e
38
9
  );
39
10
  }
40
- function Hr(e) {
11
+ function Er(e) {
41
12
  return e();
42
13
  }
43
- function Nt() {
14
+ function Lt() {
44
15
  return /* @__PURE__ */ Object.create(null);
45
16
  }
46
- function Z(e) {
47
- e.forEach(Hr);
17
+ function z(e) {
18
+ e.forEach(Er);
48
19
  }
49
20
  function Te(e) {
50
21
  return typeof e == "function";
51
22
  }
52
- function Sr(e, t) {
23
+ function wr(e, t) {
53
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
54
25
  }
55
26
  let Be;
56
27
  function Y(e, t) {
57
28
  return e === t ? !0 : (Be || (Be = document.createElement("a")), Be.href = t, e === Be.href);
58
29
  }
59
- function On(e) {
30
+ function wn(e) {
60
31
  return Object.keys(e).length === 0;
61
32
  }
62
- function Tr(e, ...t) {
33
+ function Hr(e, ...t) {
63
34
  if (e == null) {
64
35
  for (const n of t)
65
36
  n(void 0);
66
- return $;
37
+ return D;
67
38
  }
68
39
  const r = e.subscribe(...t);
69
40
  return r.unsubscribe ? () => r.unsubscribe() : r;
70
41
  }
71
- function In(e, t, r) {
72
- e.$$.on_destroy.push(Tr(t, r));
42
+ function Hn(e, t, r) {
43
+ e.$$.on_destroy.push(Hr(t, r));
73
44
  }
74
- function Cn(e, t, r, n) {
45
+ function Sn(e, t, r, n) {
75
46
  if (e) {
76
- const i = Mr(e, t, r, n);
47
+ const i = Sr(e, t, r, n);
77
48
  return e[0](i);
78
49
  }
79
50
  }
80
- function Mr(e, t, r, n) {
81
- return e[1] && n ? Pn(r.ctx.slice(), e[1](n(t))) : r.ctx;
51
+ function Sr(e, t, r, n) {
52
+ return e[1] && n ? En(r.ctx.slice(), e[1](n(t))) : r.ctx;
82
53
  }
83
- function Ln(e, t, r, n) {
54
+ function Tn(e, t, r, n) {
84
55
  if (e[2] && n) {
85
56
  const i = e[2](n(r));
86
57
  if (t.dirty === void 0)
@@ -95,13 +66,13 @@ function Ln(e, t, r, n) {
95
66
  }
96
67
  return t.dirty;
97
68
  }
98
- function Nn(e, t, r, n, i, o) {
69
+ function Mn(e, t, r, n, i, o) {
99
70
  if (i) {
100
- const s = Mr(t, r, n, o);
71
+ const s = Sr(t, r, n, o);
101
72
  e.p(s, i);
102
73
  }
103
74
  }
104
- function Rn(e) {
75
+ function An(e) {
105
76
  if (e.ctx.length > 32) {
106
77
  const t = [], r = e.ctx.length / 32;
107
78
  for (let n = 0; n < r; n++)
@@ -110,20 +81,20 @@ function Rn(e) {
110
81
  }
111
82
  return -1;
112
83
  }
113
- function Ss(e) {
114
- return e && Te(e.destroy) ? e.destroy : $;
84
+ function ys(e) {
85
+ return e && Te(e.destroy) ? e.destroy : D;
115
86
  }
116
- const Ar = typeof window != "undefined";
117
- let Fn = Ar ? () => window.performance.now() : () => Date.now(), vt = Ar ? (e) => requestAnimationFrame(e) : $;
87
+ const Tr = typeof window < "u";
88
+ let Bn = Tr ? () => window.performance.now() : () => Date.now(), _t = Tr ? (e) => requestAnimationFrame(e) : D;
118
89
  const ae = /* @__PURE__ */ new Set();
119
- function Br(e) {
90
+ function Mr(e) {
120
91
  ae.forEach((t) => {
121
92
  t.c(e) || (ae.delete(t), t.f());
122
- }), ae.size !== 0 && vt(Br);
93
+ }), ae.size !== 0 && _t(Mr);
123
94
  }
124
- function Un(e) {
95
+ function Pn(e) {
125
96
  let t;
126
- return ae.size === 0 && vt(Br), {
97
+ return ae.size === 0 && _t(Mr), {
127
98
  promise: new Promise((r) => {
128
99
  ae.add(t = { c: e, f: r });
129
100
  }),
@@ -135,14 +106,14 @@ function Un(e) {
135
106
  function x(e, t) {
136
107
  e.appendChild(t);
137
108
  }
138
- function Dn(e, t, r) {
139
- const n = _t(e);
109
+ function In(e, t, r) {
110
+ const n = vt(e);
140
111
  if (!n.getElementById(t)) {
141
- const i = O("style");
142
- i.id = t, i.textContent = r, Pr(n, i);
112
+ const i = P("style");
113
+ i.id = t, i.textContent = r, Ar(n, i);
143
114
  }
144
115
  }
145
- function _t(e) {
116
+ function vt(e) {
146
117
  if (!e) return document;
147
118
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
148
119
  return t && /** @type {ShadowRoot} */
@@ -151,66 +122,66 @@ function _t(e) {
151
122
  t
152
123
  ) : e.ownerDocument;
153
124
  }
154
- function $n(e) {
155
- const t = O("style");
156
- return t.textContent = "/* empty */", Pr(_t(e), t), t.sheet;
125
+ function On(e) {
126
+ const t = P("style");
127
+ return t.textContent = "/* empty */", Ar(vt(e), t), t.sheet;
157
128
  }
158
- function Pr(e, t) {
129
+ function Ar(e, t) {
159
130
  return x(
160
131
  /** @type {Document} */
161
132
  e.head || e,
162
133
  t
163
134
  ), t.sheet;
164
135
  }
165
- function V(e, t, r) {
136
+ function k(e, t, r) {
166
137
  e.insertBefore(t, r || null);
167
138
  }
168
- function D(e) {
139
+ function U(e) {
169
140
  e.parentNode && e.parentNode.removeChild(e);
170
141
  }
171
142
  function Fe(e, t) {
172
143
  for (let r = 0; r < e.length; r += 1)
173
144
  e[r] && e[r].d(t);
174
145
  }
175
- function O(e) {
146
+ function P(e) {
176
147
  return document.createElement(e);
177
148
  }
178
- function te(e) {
149
+ function ee(e) {
179
150
  return document.createElementNS("http://www.w3.org/2000/svg", e);
180
151
  }
181
152
  function K(e) {
182
153
  return document.createTextNode(e);
183
154
  }
184
- function G() {
155
+ function $() {
185
156
  return K(" ");
186
157
  }
187
- function Ts() {
158
+ function _s() {
188
159
  return K("");
189
160
  }
190
- function re(e, t, r, n) {
161
+ function te(e, t, r, n) {
191
162
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
192
163
  }
193
164
  function g(e, t, r) {
194
165
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
195
166
  }
196
- function Ms(e, t, r) {
167
+ function vs(e, t, r) {
197
168
  const n = t.toLowerCase();
198
169
  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);
199
170
  }
200
- function Gn(e) {
171
+ function Ln(e) {
201
172
  return Array.from(e.childNodes);
202
173
  }
203
174
  function ge(e, t) {
204
175
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
205
176
  t);
206
177
  }
207
- function Rt(e, t) {
208
- e.value = t == null ? "" : t;
178
+ function Ct(e, t) {
179
+ e.value = t ?? "";
209
180
  }
210
- function As(e, t, r, n) {
181
+ function xs(e, t, r, n) {
211
182
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
212
183
  }
213
- function Ft(e, t, r) {
184
+ function Nt(e, t, r) {
214
185
  for (let n = 0; n < e.options.length; n += 1) {
215
186
  const i = e.options[n];
216
187
  if (i.__value === t) {
@@ -220,14 +191,14 @@ function Ft(e, t, r) {
220
191
  }
221
192
  (!r || t !== void 0) && (e.selectedIndex = -1);
222
193
  }
223
- function kn(e) {
194
+ function Cn(e) {
224
195
  const t = e.querySelector(":checked");
225
196
  return t && t.__value;
226
197
  }
227
- function jn(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
198
+ function Nn(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
228
199
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
229
200
  }
230
- function Vn(e) {
201
+ function Rn(e) {
231
202
  const t = {};
232
203
  return e.childNodes.forEach(
233
204
  /** @param {Element} node */
@@ -238,42 +209,42 @@ function Vn(e) {
238
209
  }
239
210
  const Ue = /* @__PURE__ */ new Map();
240
211
  let De = 0;
241
- function Wn(e) {
212
+ function Fn(e) {
242
213
  let t = 5381, r = e.length;
243
214
  for (; r--; ) t = (t << 5) - t ^ e.charCodeAt(r);
244
215
  return t >>> 0;
245
216
  }
246
- function Xn(e, t) {
247
- const r = { stylesheet: $n(t), rules: {} };
217
+ function Un(e, t) {
218
+ const r = { stylesheet: On(t), rules: {} };
248
219
  return Ue.set(e, r), r;
249
220
  }
250
- function Ut(e, t, r, n, i, o, s, a = 0) {
221
+ function Rt(e, t, r, n, i, o, s, a = 0) {
251
222
  const u = 16.666 / n;
252
223
  let l = `{
253
224
  `;
254
225
  for (let w = 0; w <= 1; w += u) {
255
- const B = t + (r - t) * o(w);
256
- l += w * 100 + `%{${s(B, 1 - B)}}
226
+ const O = t + (r - t) * o(w);
227
+ l += w * 100 + `%{${s(O, 1 - O)}}
257
228
  `;
258
229
  }
259
230
  const h = l + `100% {${s(r, 1 - r)}}
260
- }`, f = `__svelte_${Wn(h)}_${a}`, c = _t(e), { stylesheet: m, rules: d } = Ue.get(c) || Xn(c, e);
231
+ }`, f = `__svelte_${Fn(h)}_${a}`, c = vt(e), { stylesheet: m, rules: d } = Ue.get(c) || Un(c, e);
261
232
  d[f] || (d[f] = !0, m.insertRule(`@keyframes ${f} ${h}`, m.cssRules.length));
262
233
  const b = e.style.animation || "";
263
234
  return e.style.animation = `${b ? `${b}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, De += 1, f;
264
235
  }
265
- function zn(e, t) {
236
+ function Dn(e, t) {
266
237
  const r = (e.style.animation || "").split(", "), n = r.filter(
267
238
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
268
239
  // remove all Svelte animations
269
240
  ), i = r.length - n.length;
270
- i && (e.style.animation = n.join(", "), De -= i, De || Zn());
241
+ i && (e.style.animation = n.join(", "), De -= i, De || $n());
271
242
  }
272
- function Zn() {
273
- vt(() => {
243
+ function $n() {
244
+ _t(() => {
274
245
  De || (Ue.forEach((e) => {
275
246
  const { ownerNode: t } = e.stylesheet;
276
- t && D(t);
247
+ t && U(t);
277
248
  }), Ue.clear());
278
249
  });
279
250
  }
@@ -281,26 +252,26 @@ let we;
281
252
  function Ee(e) {
282
253
  we = e;
283
254
  }
284
- function qn() {
255
+ function Gn() {
285
256
  if (!we) throw new Error("Function called outside component initialization");
286
257
  return we;
287
258
  }
288
- function Qn(e) {
289
- qn().$$.on_mount.push(e);
259
+ function kn(e) {
260
+ Gn().$$.on_mount.push(e);
290
261
  }
291
262
  const se = [], $e = [];
292
263
  let ue = [];
293
- const Dt = [], Jn = /* @__PURE__ */ Promise.resolve();
264
+ const Ft = [], jn = /* @__PURE__ */ Promise.resolve();
294
265
  let it = !1;
295
- function Yn() {
296
- it || (it = !0, Jn.then(W));
266
+ function Vn() {
267
+ it || (it = !0, jn.then(G));
297
268
  }
298
269
  function ce(e) {
299
270
  ue.push(e);
300
271
  }
301
272
  const Qe = /* @__PURE__ */ new Set();
302
273
  let ie = 0;
303
- function W() {
274
+ function G() {
304
275
  if (ie !== 0)
305
276
  return;
306
277
  const e = we;
@@ -308,7 +279,7 @@ function W() {
308
279
  try {
309
280
  for (; ie < se.length; ) {
310
281
  const t = se[ie];
311
- ie++, Ee(t), Kn(t.$$);
282
+ ie++, Ee(t), Wn(t.$$);
312
283
  }
313
284
  } catch (t) {
314
285
  throw se.length = 0, ie = 0, t;
@@ -320,59 +291,59 @@ function W() {
320
291
  }
321
292
  ue.length = 0;
322
293
  } while (se.length);
323
- for (; Dt.length; )
324
- Dt.pop()();
294
+ for (; Ft.length; )
295
+ Ft.pop()();
325
296
  it = !1, Qe.clear(), Ee(e);
326
297
  }
327
- function Kn(e) {
298
+ function Wn(e) {
328
299
  if (e.fragment !== null) {
329
- e.update(), Z(e.before_update);
300
+ e.update(), z(e.before_update);
330
301
  const t = e.dirty;
331
302
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ce);
332
303
  }
333
304
  }
334
- function ei(e) {
305
+ function Xn(e) {
335
306
  const t = [], r = [];
336
307
  ue.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ue = t;
337
308
  }
338
- let _e;
339
- function ti() {
340
- return _e || (_e = Promise.resolve(), _e.then(() => {
341
- _e = null;
342
- })), _e;
309
+ let ve;
310
+ function zn() {
311
+ return ve || (ve = Promise.resolve(), ve.then(() => {
312
+ ve = null;
313
+ })), ve;
343
314
  }
344
- function Je(e, t, r) {
345
- e.dispatchEvent(jn(`${t ? "intro" : "outro"}${r}`));
315
+ function qe(e, t, r) {
316
+ e.dispatchEvent(Nn(`${t ? "intro" : "outro"}${r}`));
346
317
  }
347
- const Ie = /* @__PURE__ */ new Set();
348
- let X;
349
- function ri() {
350
- X = {
318
+ const Oe = /* @__PURE__ */ new Set();
319
+ let W;
320
+ function Zn() {
321
+ W = {
351
322
  r: 0,
352
323
  c: [],
353
- p: X
324
+ p: W
354
325
  // parent group
355
326
  };
356
327
  }
357
- function ni() {
358
- X.r || Z(X.c), X = X.p;
328
+ function Qn() {
329
+ W.r || z(W.c), W = W.p;
359
330
  }
360
331
  function le(e, t) {
361
- e && e.i && (Ie.delete(e), e.i(t));
332
+ e && e.i && (Oe.delete(e), e.i(t));
362
333
  }
363
334
  function ot(e, t, r, n) {
364
335
  if (e && e.o) {
365
- if (Ie.has(e)) return;
366
- Ie.add(e), X.c.push(() => {
367
- Ie.delete(e), n && (r && e.d(1), n());
336
+ if (Oe.has(e)) return;
337
+ Oe.add(e), W.c.push(() => {
338
+ Oe.delete(e), n && (r && e.d(1), n());
368
339
  }), e.o(t);
369
340
  } else n && n();
370
341
  }
371
- const ii = { duration: 0 };
372
- function $t(e, t, r, n) {
342
+ const qn = { duration: 0 };
343
+ function Ut(e, t, r, n) {
373
344
  let o = t(e, r, { direction: "both" }), s = n ? 0 : 1, a = null, u = null, l = null, h;
374
345
  function f() {
375
- l && zn(e, l);
346
+ l && Dn(e, l);
376
347
  }
377
348
  function c(d, b) {
378
349
  const w = (
@@ -393,29 +364,29 @@ function $t(e, t, r, n) {
393
364
  const {
394
365
  delay: b = 0,
395
366
  duration: w = 300,
396
- easing: B = wr,
397
- tick: I = $,
367
+ easing: O = xr,
368
+ tick: I = D,
398
369
  css: S
399
- } = o || ii, C = {
400
- start: Fn() + b,
370
+ } = o || qn, L = {
371
+ start: Bn() + b,
401
372
  b: d
402
373
  };
403
- d || (C.group = X, X.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
404
- e.inert, e.inert = !0)), a || u ? u = C : (S && (f(), l = Ut(e, s, d, w, b, B, S)), d && I(0, 1), a = c(C, w), ce(() => Je(e, d, "start")), Un((y) => {
405
- if (u && y > u.start && (a = c(u, w), u = null, Je(e, a.b, "start"), S && (f(), l = Ut(
374
+ d || (L.group = W, W.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
375
+ e.inert, e.inert = !0)), a || u ? u = L : (S && (f(), l = Rt(e, s, d, w, b, O, S)), d && I(0, 1), a = c(L, w), ce(() => qe(e, d, "start")), Pn((y) => {
376
+ if (u && y > u.start && (a = c(u, w), u = null, qe(e, a.b, "start"), S && (f(), l = Rt(
406
377
  e,
407
378
  s,
408
379
  a.b,
409
380
  a.duration,
410
381
  0,
411
- B,
382
+ O,
412
383
  o.css
413
384
  ))), a) {
414
385
  if (y >= a.end)
415
- I(s = a.b, 1 - s), Je(e, a.b, "end"), u || (a.b ? f() : --a.group.r || Z(a.group.c)), a = null;
386
+ I(s = a.b, 1 - s), qe(e, a.b, "end"), u || (a.b ? f() : --a.group.r || z(a.group.c)), a = null;
416
387
  else if (y >= a.start) {
417
388
  const M = y - a.start;
418
- s = a.a + a.d * B(M / a.duration), I(s, 1 - s);
389
+ s = a.a + a.d * O(M / a.duration), I(s, 1 - s);
419
390
  }
420
391
  }
421
392
  return !!(a || u);
@@ -423,7 +394,7 @@ function $t(e, t, r, n) {
423
394
  }
424
395
  return {
425
396
  run(d) {
426
- Te(o) ? ti().then(() => {
397
+ Te(o) ? zn().then(() => {
427
398
  o = o({ direction: d ? "in" : "out" }), m(d);
428
399
  }) : m(d);
429
400
  },
@@ -432,52 +403,52 @@ function $t(e, t, r, n) {
432
403
  }
433
404
  };
434
405
  }
435
- function Q(e) {
436
- return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
406
+ function q(e) {
407
+ return e?.length !== void 0 ? e : Array.from(e);
437
408
  }
438
- function Bs(e, t) {
409
+ function Es(e, t) {
439
410
  e.d(1), t.delete(e.key);
440
411
  }
441
- function Ps(e, t, r, n, i, o, s, a, u, l, h, f) {
412
+ function ws(e, t, r, n, i, o, s, a, u, l, h, f) {
442
413
  let c = e.length, m = o.length, d = c;
443
414
  const b = {};
444
415
  for (; d--; ) b[e[d].key] = d;
445
- const w = [], B = /* @__PURE__ */ new Map(), I = /* @__PURE__ */ new Map(), S = [];
416
+ const w = [], O = /* @__PURE__ */ new Map(), I = /* @__PURE__ */ new Map(), S = [];
446
417
  for (d = m; d--; ) {
447
- const _ = f(i, o, d), P = r(_);
448
- let v = s.get(P);
449
- v ? S.push(() => v.p(_, t)) : (v = l(P, _), v.c()), B.set(P, w[d] = v), P in b && I.set(P, Math.abs(d - b[P]));
418
+ const _ = f(i, o, d), B = r(_);
419
+ let v = s.get(B);
420
+ v ? S.push(() => v.p(_, t)) : (v = l(B, _), v.c()), O.set(B, w[d] = v), B in b && I.set(B, Math.abs(d - b[B]));
450
421
  }
451
- const C = /* @__PURE__ */ new Set(), y = /* @__PURE__ */ new Set();
422
+ const L = /* @__PURE__ */ new Set(), y = /* @__PURE__ */ new Set();
452
423
  function M(_) {
453
424
  le(_, 1), _.m(a, h), s.set(_.key, _), h = _.first, m--;
454
425
  }
455
426
  for (; c && m; ) {
456
- const _ = w[m - 1], P = e[c - 1], v = _.key, R = P.key;
457
- _ === P ? (h = _.first, c--, m--) : B.has(R) ? !s.has(v) || C.has(v) ? M(_) : y.has(R) ? c-- : I.get(v) > I.get(R) ? (y.add(v), M(_)) : (C.add(R), c--) : (u(P, s), c--);
427
+ const _ = w[m - 1], B = e[c - 1], v = _.key, C = B.key;
428
+ _ === B ? (h = _.first, c--, m--) : O.has(C) ? !s.has(v) || L.has(v) ? M(_) : y.has(C) ? c-- : I.get(v) > I.get(C) ? (y.add(v), M(_)) : (L.add(C), c--) : (u(B, s), c--);
458
429
  }
459
430
  for (; c--; ) {
460
431
  const _ = e[c];
461
- B.has(_.key) || u(_, s);
432
+ O.has(_.key) || u(_, s);
462
433
  }
463
434
  for (; m; ) M(w[m - 1]);
464
- return Z(S), w;
435
+ return z(S), w;
465
436
  }
466
- function oi(e, t, r) {
437
+ function Jn(e, t, r) {
467
438
  const { fragment: n, after_update: i } = e.$$;
468
439
  n && n.m(t, r), ce(() => {
469
- const o = e.$$.on_mount.map(Hr).filter(Te);
470
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Z(o), e.$$.on_mount = [];
440
+ const o = e.$$.on_mount.map(Er).filter(Te);
441
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : z(o), e.$$.on_mount = [];
471
442
  }), i.forEach(ce);
472
443
  }
473
- function si(e, t) {
444
+ function Yn(e, t) {
474
445
  const r = e.$$;
475
- r.fragment !== null && (ei(r.after_update), Z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
446
+ r.fragment !== null && (Xn(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
476
447
  }
477
- function ai(e, t) {
478
- e.$$.dirty[0] === -1 && (se.push(e), Yn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
448
+ function Kn(e, t) {
449
+ e.$$.dirty[0] === -1 && (se.push(e), Vn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
479
450
  }
480
- function ui(e, t, r, n, i, o, s = null, a = [-1]) {
451
+ function ei(e, t, r, n, i, o, s = null, a = [-1]) {
481
452
  const u = we;
482
453
  Ee(e);
483
454
  const l = e.$$ = {
@@ -485,9 +456,9 @@ function ui(e, t, r, n, i, o, s = null, a = [-1]) {
485
456
  ctx: [],
486
457
  // state
487
458
  props: o,
488
- update: $,
459
+ update: D,
489
460
  not_equal: i,
490
- bound: Nt(),
461
+ bound: Lt(),
491
462
  // lifecycle
492
463
  on_mount: [],
493
464
  on_destroy: [],
@@ -496,7 +467,7 @@ function ui(e, t, r, n, i, o, s = null, a = [-1]) {
496
467
  after_update: [],
497
468
  context: new Map(t.context || (u ? u.$$.context : [])),
498
469
  // everything else
499
- callbacks: Nt(),
470
+ callbacks: Lt(),
500
471
  dirty: a,
501
472
  skip_bound: !1,
502
473
  root: t.target || u.$$.root
@@ -505,141 +476,137 @@ function ui(e, t, r, n, i, o, s = null, a = [-1]) {
505
476
  let h = !1;
506
477
  if (l.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
507
478
  const d = m.length ? m[0] : c;
508
- 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;
509
- }) : [], l.update(), h = !0, Z(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
479
+ return l.ctx && i(l.ctx[f], l.ctx[f] = d) && (!l.skip_bound && l.bound[f] && l.bound[f](d), h && Kn(e, f)), c;
480
+ }) : [], l.update(), h = !0, z(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
510
481
  if (t.hydrate) {
511
- const f = Gn(t.target);
512
- l.fragment && l.fragment.l(f), f.forEach(D);
482
+ const f = Ln(t.target);
483
+ l.fragment && l.fragment.l(f), f.forEach(U);
513
484
  } else
514
485
  l.fragment && l.fragment.c();
515
- t.intro && le(e.$$.fragment), oi(e, t.target, t.anchor), W();
486
+ t.intro && le(e.$$.fragment), Jn(e, t.target, t.anchor), G();
516
487
  }
517
488
  Ee(u);
518
489
  }
519
- let Or;
520
- typeof HTMLElement == "function" && (Or = class extends HTMLElement {
521
- constructor(t, r, n) {
522
- super();
523
- /** The Svelte component constructor */
524
- j(this, "$$ctor");
525
- /** Slots */
526
- j(this, "$$s");
527
- /** The Svelte component instance */
528
- j(this, "$$c");
529
- /** Whether or not the custom element is connected */
530
- j(this, "$$cn", !1);
531
- /** Component props data */
532
- j(this, "$$d", {});
533
- /** `true` if currently in the process of reflecting component props back to attributes */
534
- j(this, "$$r", !1);
535
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
536
- j(this, "$$p_d", {});
537
- /** @type {Record<string, Function[]>} Event listeners */
538
- j(this, "$$l", {});
539
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
540
- j(this, "$$l_u", /* @__PURE__ */ new Map());
541
- this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
490
+ let Br;
491
+ typeof HTMLElement == "function" && (Br = class extends HTMLElement {
492
+ /** The Svelte component constructor */
493
+ $$ctor;
494
+ /** Slots */
495
+ $$s;
496
+ /** The Svelte component instance */
497
+ $$c;
498
+ /** Whether or not the custom element is connected */
499
+ $$cn = !1;
500
+ /** Component props data */
501
+ $$d = {};
502
+ /** `true` if currently in the process of reflecting component props back to attributes */
503
+ $$r = !1;
504
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
505
+ $$p_d = {};
506
+ /** @type {Record<string, Function[]>} Event listeners */
507
+ $$l = {};
508
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
509
+ $$l_u = /* @__PURE__ */ new Map();
510
+ constructor(e, t, r) {
511
+ super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
542
512
  }
543
- addEventListener(t, r, n) {
544
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
545
- const i = this.$$c.$on(t, r);
546
- this.$$l_u.set(r, i);
513
+ addEventListener(e, t, r) {
514
+ if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
515
+ const n = this.$$c.$on(e, t);
516
+ this.$$l_u.set(t, n);
547
517
  }
548
- super.addEventListener(t, r, n);
518
+ super.addEventListener(e, t, r);
549
519
  }
550
- removeEventListener(t, r, n) {
551
- if (super.removeEventListener(t, r, n), this.$$c) {
552
- const i = this.$$l_u.get(r);
553
- i && (i(), this.$$l_u.delete(r));
520
+ removeEventListener(e, t, r) {
521
+ if (super.removeEventListener(e, t, r), this.$$c) {
522
+ const n = this.$$l_u.get(t);
523
+ n && (n(), this.$$l_u.delete(t));
554
524
  }
555
525
  }
556
- connectedCallback() {
557
- return Lt(this, null, function* () {
558
- if (this.$$cn = !0, !this.$$c) {
559
- let t = function(o) {
560
- return () => {
561
- let s;
562
- return {
563
- c: function() {
564
- s = O("slot"), o !== "default" && g(s, "name", o);
565
- },
566
- /**
567
- * @param {HTMLElement} target
568
- * @param {HTMLElement} [anchor]
569
- */
570
- m: function(l, h) {
571
- V(l, s, h);
572
- },
573
- d: function(l) {
574
- l && D(s);
575
- }
576
- };
526
+ async connectedCallback() {
527
+ if (this.$$cn = !0, !this.$$c) {
528
+ let e = function(i) {
529
+ return () => {
530
+ let o;
531
+ return {
532
+ c: function() {
533
+ o = P("slot"), i !== "default" && g(o, "name", i);
534
+ },
535
+ /**
536
+ * @param {HTMLElement} target
537
+ * @param {HTMLElement} [anchor]
538
+ */
539
+ m: function(u, l) {
540
+ k(u, o, l);
541
+ },
542
+ d: function(u) {
543
+ u && U(o);
544
+ }
577
545
  };
578
546
  };
579
- if (yield Promise.resolve(), !this.$$cn || this.$$c)
580
- return;
581
- const r = {}, n = Vn(this);
582
- for (const o of this.$$s)
583
- o in n && (r[o] = [t(o)]);
584
- for (const o of this.attributes) {
585
- const s = this.$$g_p(o.name);
586
- s in this.$$d || (this.$$d[s] = Ce(s, o.value, this.$$p_d, "toProp"));
547
+ };
548
+ if (await Promise.resolve(), !this.$$cn || this.$$c)
549
+ return;
550
+ const t = {}, r = Rn(this);
551
+ for (const i of this.$$s)
552
+ i in r && (t[i] = [e(i)]);
553
+ for (const i of this.attributes) {
554
+ const o = this.$$g_p(i.name);
555
+ o in this.$$d || (this.$$d[o] = Le(o, i.value, this.$$p_d, "toProp"));
556
+ }
557
+ for (const i in this.$$p_d)
558
+ !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
559
+ this.$$c = new this.$$ctor({
560
+ target: this.shadowRoot || this,
561
+ props: {
562
+ ...this.$$d,
563
+ $$slots: t,
564
+ $$scope: {
565
+ ctx: []
566
+ }
587
567
  }
588
- for (const o in this.$$p_d)
589
- !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
590
- this.$$c = new this.$$ctor({
591
- target: this.shadowRoot || this,
592
- props: Ct(It({}, this.$$d), {
593
- $$slots: r,
594
- $$scope: {
595
- ctx: []
596
- }
597
- })
598
- });
599
- const i = () => {
600
- this.$$r = !0;
601
- for (const o in this.$$p_d)
602
- if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
603
- const s = Ce(
604
- o,
605
- this.$$d[o],
606
- this.$$p_d,
607
- "toAttribute"
608
- );
609
- s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
610
- }
611
- this.$$r = !1;
612
- };
613
- this.$$c.$$.after_update.push(i), i();
614
- for (const o in this.$$l)
615
- for (const s of this.$$l[o]) {
616
- const a = this.$$c.$on(o, s);
617
- this.$$l_u.set(s, a);
568
+ });
569
+ const n = () => {
570
+ this.$$r = !0;
571
+ for (const i in this.$$p_d)
572
+ if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
573
+ const o = Le(
574
+ i,
575
+ this.$$d[i],
576
+ this.$$p_d,
577
+ "toAttribute"
578
+ );
579
+ o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
618
580
  }
619
- this.$$l = {};
620
- }
621
- });
581
+ this.$$r = !1;
582
+ };
583
+ this.$$c.$$.after_update.push(n), n();
584
+ for (const i in this.$$l)
585
+ for (const o of this.$$l[i]) {
586
+ const s = this.$$c.$on(i, o);
587
+ this.$$l_u.set(o, s);
588
+ }
589
+ this.$$l = {};
590
+ }
622
591
  }
623
592
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
624
593
  // and setting attributes through setAttribute etc, this is helpful
625
- attributeChangedCallback(t, r, n) {
626
- var i;
627
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ce(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
594
+ attributeChangedCallback(e, t, r) {
595
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Le(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
628
596
  }
629
597
  disconnectedCallback() {
630
598
  this.$$cn = !1, Promise.resolve().then(() => {
631
599
  !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
632
600
  });
633
601
  }
634
- $$g_p(t) {
602
+ $$g_p(e) {
635
603
  return Object.keys(this.$$p_d).find(
636
- (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
637
- ) || t;
604
+ (t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
605
+ ) || e;
638
606
  }
639
607
  });
640
- function Ce(e, t, r, n) {
641
- var o;
642
- const i = (o = r[e]) == null ? void 0 : o.type;
608
+ function Le(e, t, r, n) {
609
+ const i = r[e]?.type;
643
610
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
644
611
  return t;
645
612
  if (n === "toAttribute")
@@ -650,7 +617,7 @@ function Ce(e, t, r, n) {
650
617
  case "Boolean":
651
618
  return t ? "" : null;
652
619
  case "Number":
653
- return t == null ? null : t;
620
+ return t ?? null;
654
621
  default:
655
622
  return t;
656
623
  }
@@ -667,8 +634,8 @@ function Ce(e, t, r, n) {
667
634
  return t;
668
635
  }
669
636
  }
670
- function li(e, t, r, n, i, o) {
671
- let s = class extends Or {
637
+ function ti(e, t, r, n, i, o) {
638
+ let s = class extends Br {
672
639
  constructor() {
673
640
  super(e, r, i), this.$$p_d = t;
674
641
  }
@@ -684,42 +651,38 @@ function li(e, t, r, n, i, o) {
684
651
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
685
652
  },
686
653
  set(u) {
687
- var l;
688
- u = Ce(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
654
+ u = Le(a, u, t), this.$$d[a] = u, this.$$c?.$set({ [a]: u });
689
655
  }
690
656
  });
691
657
  }), n.forEach((a) => {
692
658
  Object.defineProperty(s.prototype, a, {
693
659
  get() {
694
- var u;
695
- return (u = this.$$c) == null ? void 0 : u[a];
660
+ return this.$$c?.[a];
696
661
  }
697
662
  });
698
663
  }), e.element = /** @type {any} */
699
664
  s, s;
700
665
  }
701
- class hi {
702
- constructor() {
703
- /**
704
- * ### PRIVATE API
705
- *
706
- * Do not use, may change at any time
707
- *
708
- * @type {any}
709
- */
710
- j(this, "$$");
711
- /**
712
- * ### PRIVATE API
713
- *
714
- * Do not use, may change at any time
715
- *
716
- * @type {any}
717
- */
718
- j(this, "$$set");
719
- }
666
+ class ri {
667
+ /**
668
+ * ### PRIVATE API
669
+ *
670
+ * Do not use, may change at any time
671
+ *
672
+ * @type {any}
673
+ */
674
+ $$ = void 0;
675
+ /**
676
+ * ### PRIVATE API
677
+ *
678
+ * Do not use, may change at any time
679
+ *
680
+ * @type {any}
681
+ */
682
+ $$set = void 0;
720
683
  /** @returns {void} */
721
684
  $destroy() {
722
- si(this, 1), this.$destroy = $;
685
+ Yn(this, 1), this.$destroy = D;
723
686
  }
724
687
  /**
725
688
  * @template {Extract<keyof Events, string>} K
@@ -729,7 +692,7 @@ class hi {
729
692
  */
730
693
  $on(t, r) {
731
694
  if (!Te(r))
732
- return $;
695
+ return D;
733
696
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
734
697
  return n.push(r), () => {
735
698
  const i = n.indexOf(r);
@@ -741,11 +704,11 @@ class hi {
741
704
  * @returns {void}
742
705
  */
743
706
  $set(t) {
744
- this.$$set && !On(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
707
+ this.$$set && !wn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
745
708
  }
746
709
  }
747
- const ci = "4";
748
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ci);
710
+ const ni = "4";
711
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ni);
749
712
  var st = function(e, t) {
750
713
  return st = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
751
714
  r.__proto__ = n;
@@ -753,7 +716,7 @@ var st = function(e, t) {
753
716
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
754
717
  }, st(e, t);
755
718
  };
756
- function q(e, t) {
719
+ function Z(e, t) {
757
720
  if (typeof t != "function" && t !== null)
758
721
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
759
722
  st(e, t);
@@ -771,7 +734,7 @@ var A = function() {
771
734
  return t;
772
735
  }, A.apply(this, arguments);
773
736
  };
774
- function fi(e, t) {
737
+ function ii(e, t) {
775
738
  var r = {};
776
739
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
777
740
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -811,16 +774,16 @@ function he(e, t, r) {
811
774
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
812
775
  return e.concat(o || Array.prototype.slice.call(t));
813
776
  }
814
- function z(e) {
777
+ function X(e) {
815
778
  return typeof e == "function";
816
779
  }
817
- function Ir(e) {
780
+ function Pr(e) {
818
781
  var t = function(n) {
819
782
  Error.call(n), n.stack = new Error().stack;
820
783
  }, r = e(t);
821
784
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
822
785
  }
823
- var Ye = Ir(function(e) {
786
+ var Je = Pr(function(e) {
824
787
  return function(r) {
825
788
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
826
789
  ` + r.map(function(n, i) {
@@ -863,11 +826,11 @@ var je = function() {
863
826
  else
864
827
  s.remove(this);
865
828
  var h = this.initialTeardown;
866
- if (z(h))
829
+ if (X(h))
867
830
  try {
868
831
  h();
869
832
  } catch (b) {
870
- o = b instanceof Ye ? b.errors : [b];
833
+ o = b instanceof Je ? b.errors : [b];
871
834
  }
872
835
  var f = this._finalizers;
873
836
  if (f) {
@@ -876,9 +839,9 @@ var je = function() {
876
839
  for (var c = at(f), m = c.next(); !m.done; m = c.next()) {
877
840
  var d = m.value;
878
841
  try {
879
- Gt(d);
842
+ Dt(d);
880
843
  } catch (b) {
881
- o = o != null ? o : [], b instanceof Ye ? o = he(he([], ut(o)), ut(b.errors)) : o.push(b);
844
+ o = o ?? [], b instanceof Je ? o = he(he([], ut(o)), ut(b.errors)) : o.push(b);
882
845
  }
883
846
  }
884
847
  } catch (b) {
@@ -892,13 +855,13 @@ var je = function() {
892
855
  }
893
856
  }
894
857
  if (o)
895
- throw new Ye(o);
858
+ throw new Je(o);
896
859
  }
897
860
  }, e.prototype.add = function(t) {
898
861
  var r;
899
862
  if (t && t !== this)
900
863
  if (this.closed)
901
- Gt(t);
864
+ Dt(t);
902
865
  else {
903
866
  if (t instanceof e) {
904
867
  if (t.closed || t._hasParent(this))
@@ -923,16 +886,20 @@ var je = function() {
923
886
  var t = new e();
924
887
  return t.closed = !0, t;
925
888
  }(), e;
926
- }(), Cr = je.EMPTY;
927
- function Lr(e) {
928
- return e instanceof je || e && "closed" in e && z(e.remove) && z(e.add) && z(e.unsubscribe);
929
- }
930
- function Gt(e) {
931
- z(e) ? e() : e.unsubscribe();
932
- }
933
- var di = {
934
- Promise: void 0
935
- }, mi = {
889
+ }(), Ir = je.EMPTY;
890
+ function Or(e) {
891
+ return e instanceof je || e && "closed" in e && X(e.remove) && X(e.add) && X(e.unsubscribe);
892
+ }
893
+ function Dt(e) {
894
+ X(e) ? e() : e.unsubscribe();
895
+ }
896
+ var Lr = {
897
+ onUnhandledError: null,
898
+ onStoppedNotification: null,
899
+ Promise: void 0,
900
+ useDeprecatedSynchronousErrorHandling: !1,
901
+ useDeprecatedNextContext: !1
902
+ }, oi = {
936
903
  setTimeout: function(e, t) {
937
904
  for (var r = [], n = 2; n < arguments.length; n++)
938
905
  r[n - 2] = arguments[n];
@@ -943,21 +910,21 @@ var di = {
943
910
  },
944
911
  delegate: void 0
945
912
  };
946
- function pi(e) {
947
- mi.setTimeout(function() {
913
+ function si(e) {
914
+ oi.setTimeout(function() {
948
915
  throw e;
949
916
  });
950
917
  }
951
- function kt() {
918
+ function $t() {
952
919
  }
953
- function Le(e) {
920
+ function Ce(e) {
954
921
  e();
955
922
  }
956
- var Nr = function(e) {
957
- q(t, e);
923
+ var Cr = function(e) {
924
+ Z(t, e);
958
925
  function t(r) {
959
926
  var n = e.call(this) || this;
960
- return n.isStopped = !1, r ? (n.destination = r, Lr(r) && r.add(n)) : n.destination = yi, n;
927
+ return n.isStopped = !1, r ? (n.destination = r, Or(r) && r.add(n)) : n.destination = hi, n;
961
928
  }
962
929
  return t.create = function(r, n, i) {
963
930
  return new ht(r, n, i);
@@ -984,7 +951,11 @@ var Nr = function(e) {
984
951
  this.unsubscribe();
985
952
  }
986
953
  }, t;
987
- }(je), gi = function() {
954
+ }(je), ai = Function.prototype.bind;
955
+ function Ye(e, t) {
956
+ return ai.call(e, t);
957
+ }
958
+ var ui = function() {
988
959
  function e(t) {
989
960
  this.partialObserver = t;
990
961
  }
@@ -1016,42 +987,54 @@ var Nr = function(e) {
1016
987
  }
1017
988
  }, e;
1018
989
  }(), ht = function(e) {
1019
- q(t, e);
990
+ Z(t, e);
1020
991
  function t(r, n, i) {
1021
992
  var o = e.call(this) || this, s;
1022
- return z(r) || !r ? s = {
1023
- next: r != null ? r : void 0,
1024
- error: n != null ? n : void 0,
1025
- complete: i != null ? i : void 0
1026
- } : s = r, o.destination = new gi(s), o;
993
+ if (X(r) || !r)
994
+ s = {
995
+ next: r ?? void 0,
996
+ error: n ?? void 0,
997
+ complete: i ?? void 0
998
+ };
999
+ else {
1000
+ var a;
1001
+ o && Lr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
1002
+ return o.unsubscribe();
1003
+ }, s = {
1004
+ next: r.next && Ye(r.next, a),
1005
+ error: r.error && Ye(r.error, a),
1006
+ complete: r.complete && Ye(r.complete, a)
1007
+ }) : s = r;
1008
+ }
1009
+ return o.destination = new ui(s), o;
1027
1010
  }
1028
1011
  return t;
1029
- }(Nr);
1012
+ }(Cr);
1030
1013
  function Pe(e) {
1031
- pi(e);
1014
+ si(e);
1032
1015
  }
1033
- function bi(e) {
1016
+ function li(e) {
1034
1017
  throw e;
1035
1018
  }
1036
- var yi = {
1019
+ var hi = {
1037
1020
  closed: !0,
1038
- next: kt,
1039
- error: bi,
1040
- complete: kt
1041
- }, vi = function() {
1021
+ next: $t,
1022
+ error: li,
1023
+ complete: $t
1024
+ }, ci = function() {
1042
1025
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1043
1026
  }();
1044
- function _i(e) {
1027
+ function fi(e) {
1045
1028
  return e;
1046
1029
  }
1047
- function xi(e) {
1048
- return e.length === 0 ? _i : e.length === 1 ? e[0] : function(r) {
1030
+ function di(e) {
1031
+ return e.length === 0 ? fi : e.length === 1 ? e[0] : function(r) {
1049
1032
  return e.reduce(function(n, i) {
1050
1033
  return i(n);
1051
1034
  }, r);
1052
1035
  };
1053
1036
  }
1054
- var jt = function() {
1037
+ var Gt = function() {
1055
1038
  function e(t) {
1056
1039
  t && (this._subscribe = t);
1057
1040
  }
@@ -1059,8 +1042,8 @@ var jt = function() {
1059
1042
  var r = new e();
1060
1043
  return r.source = this, r.operator = t, r;
1061
1044
  }, e.prototype.subscribe = function(t, r, n) {
1062
- var i = this, o = wi(t) ? t : new ht(t, r, n);
1063
- return Le(function() {
1045
+ var i = this, o = pi(t) ? t : new ht(t, r, n);
1046
+ return Ce(function() {
1064
1047
  var s = i, a = s.operator, u = s.source;
1065
1048
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
1066
1049
  }), o;
@@ -1072,7 +1055,7 @@ var jt = function() {
1072
1055
  }
1073
1056
  }, e.prototype.forEach = function(t, r) {
1074
1057
  var n = this;
1075
- return r = Vt(r), new r(function(i, o) {
1058
+ return r = kt(r), new r(function(i, o) {
1076
1059
  var s = new ht({
1077
1060
  next: function(a) {
1078
1061
  try {
@@ -1089,15 +1072,15 @@ var jt = function() {
1089
1072
  }, e.prototype._subscribe = function(t) {
1090
1073
  var r;
1091
1074
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1092
- }, e.prototype[vi] = function() {
1075
+ }, e.prototype[ci] = function() {
1093
1076
  return this;
1094
1077
  }, e.prototype.pipe = function() {
1095
1078
  for (var t = [], r = 0; r < arguments.length; r++)
1096
1079
  t[r] = arguments[r];
1097
- return xi(t)(this);
1080
+ return di(t)(this);
1098
1081
  }, e.prototype.toPromise = function(t) {
1099
1082
  var r = this;
1100
- return t = Vt(t), new t(function(n, i) {
1083
+ return t = kt(t), new t(function(n, i) {
1101
1084
  var o;
1102
1085
  r.subscribe(function(s) {
1103
1086
  return o = s;
@@ -1111,35 +1094,35 @@ var jt = function() {
1111
1094
  return new e(t);
1112
1095
  }, e;
1113
1096
  }();
1114
- function Vt(e) {
1097
+ function kt(e) {
1115
1098
  var t;
1116
- return (t = e != null ? e : di.Promise) !== null && t !== void 0 ? t : Promise;
1099
+ return (t = e ?? Lr.Promise) !== null && t !== void 0 ? t : Promise;
1117
1100
  }
1118
- function Ei(e) {
1119
- return e && z(e.next) && z(e.error) && z(e.complete);
1101
+ function mi(e) {
1102
+ return e && X(e.next) && X(e.error) && X(e.complete);
1120
1103
  }
1121
- function wi(e) {
1122
- return e && e instanceof Nr || Ei(e) && Lr(e);
1104
+ function pi(e) {
1105
+ return e && e instanceof Cr || mi(e) && Or(e);
1123
1106
  }
1124
- var Hi = Ir(function(e) {
1107
+ var gi = Pr(function(e) {
1125
1108
  return function() {
1126
1109
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1127
1110
  };
1128
- }), Rr = function(e) {
1129
- q(t, e);
1111
+ }), Nr = function(e) {
1112
+ Z(t, e);
1130
1113
  function t() {
1131
1114
  var r = e.call(this) || this;
1132
1115
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1133
1116
  }
1134
1117
  return t.prototype.lift = function(r) {
1135
- var n = new Wt(this, this);
1118
+ var n = new jt(this, this);
1136
1119
  return n.operator = r, n;
1137
1120
  }, t.prototype._throwIfClosed = function() {
1138
1121
  if (this.closed)
1139
- throw new Hi();
1122
+ throw new gi();
1140
1123
  }, t.prototype.next = function(r) {
1141
1124
  var n = this;
1142
- Le(function() {
1125
+ Ce(function() {
1143
1126
  var i, o;
1144
1127
  if (n._throwIfClosed(), !n.isStopped) {
1145
1128
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
@@ -1161,7 +1144,7 @@ var Hi = Ir(function(e) {
1161
1144
  });
1162
1145
  }, t.prototype.error = function(r) {
1163
1146
  var n = this;
1164
- Le(function() {
1147
+ Ce(function() {
1165
1148
  if (n._throwIfClosed(), !n.isStopped) {
1166
1149
  n.hasError = n.isStopped = !0, n.thrownError = r;
1167
1150
  for (var i = n.observers; i.length; )
@@ -1170,7 +1153,7 @@ var Hi = Ir(function(e) {
1170
1153
  });
1171
1154
  }, t.prototype.complete = function() {
1172
1155
  var r = this;
1173
- Le(function() {
1156
+ Ce(function() {
1174
1157
  if (r._throwIfClosed(), !r.isStopped) {
1175
1158
  r.isStopped = !0;
1176
1159
  for (var n = r.observers; n.length; )
@@ -1192,20 +1175,20 @@ var Hi = Ir(function(e) {
1192
1175
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1193
1176
  }, t.prototype._innerSubscribe = function(r) {
1194
1177
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1195
- return o || s ? Cr : (this.currentObservers = null, a.push(r), new je(function() {
1178
+ return o || s ? Ir : (this.currentObservers = null, a.push(r), new je(function() {
1196
1179
  n.currentObservers = null, lt(a, r);
1197
1180
  }));
1198
1181
  }, t.prototype._checkFinalizedStatuses = function(r) {
1199
1182
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1200
1183
  i ? r.error(o) : s && r.complete();
1201
1184
  }, t.prototype.asObservable = function() {
1202
- var r = new jt();
1185
+ var r = new Gt();
1203
1186
  return r.source = this, r;
1204
1187
  }, t.create = function(r, n) {
1205
- return new Wt(r, n);
1188
+ return new jt(r, n);
1206
1189
  }, t;
1207
- }(jt), Wt = function(e) {
1208
- q(t, e);
1190
+ }(Gt), jt = function(e) {
1191
+ Z(t, e);
1209
1192
  function t(r, n) {
1210
1193
  var i = e.call(this) || this;
1211
1194
  return i.destination = r, i.source = n, i;
@@ -1221,17 +1204,17 @@ var Hi = Ir(function(e) {
1221
1204
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1222
1205
  }, t.prototype._subscribe = function(r) {
1223
1206
  var n, i;
1224
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Cr;
1207
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ir;
1225
1208
  }, t;
1226
- }(Rr), Fr = {
1209
+ }(Nr), Rr = {
1227
1210
  now: function() {
1228
- return (Fr.delegate || Date).now();
1211
+ return (Rr.delegate || Date).now();
1229
1212
  },
1230
1213
  delegate: void 0
1231
- }, Si = function(e) {
1232
- q(t, e);
1214
+ }, bi = function(e) {
1215
+ Z(t, e);
1233
1216
  function t(r, n, i) {
1234
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Fr);
1217
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Rr);
1235
1218
  var o = e.call(this) || this;
1236
1219
  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;
1237
1220
  }
@@ -1251,24 +1234,24 @@ var Hi = Ir(function(e) {
1251
1234
  l && o.splice(0, l + 1);
1252
1235
  }
1253
1236
  }, t;
1254
- }(Rr);
1255
- const Xt = [], zt = {}, Ti = (e, t = 0) => {
1256
- if (Xt.indexOf(e) == -1) {
1257
- const r = new Si(t);
1258
- zt[e] = r, Xt.push(e);
1237
+ }(Nr);
1238
+ const Vt = [], Wt = {}, yi = (e, t = 0) => {
1239
+ if (Vt.indexOf(e) == -1) {
1240
+ const r = new bi(t);
1241
+ Wt[e] = r, Vt.push(e);
1259
1242
  }
1260
- return zt[e];
1243
+ return Wt[e];
1261
1244
  }, oe = [];
1262
- function Mi(e, t) {
1245
+ function _i(e, t) {
1263
1246
  return {
1264
1247
  subscribe: Ve(e, t).subscribe
1265
1248
  };
1266
1249
  }
1267
- function Ve(e, t = $) {
1250
+ function Ve(e, t = D) {
1268
1251
  let r;
1269
1252
  const n = /* @__PURE__ */ new Set();
1270
1253
  function i(a) {
1271
- if (Sr(e, a) && (e = a, r)) {
1254
+ if (wr(e, a) && (e = a, r)) {
1272
1255
  const u = !oe.length;
1273
1256
  for (const l of n)
1274
1257
  l[1](), oe.push(l, e);
@@ -1282,9 +1265,9 @@ function Ve(e, t = $) {
1282
1265
  function o(a) {
1283
1266
  i(a(e));
1284
1267
  }
1285
- function s(a, u = $) {
1268
+ function s(a, u = D) {
1286
1269
  const l = [a, u];
1287
- return n.add(l), n.size === 1 && (r = t(i, o) || $), a(e), () => {
1270
+ return n.add(l), n.size === 1 && (r = t(i, o) || D), a(e), () => {
1288
1271
  n.delete(l), n.size === 0 && r && (r(), r = null);
1289
1272
  };
1290
1273
  }
@@ -1295,18 +1278,18 @@ function be(e, t, r) {
1295
1278
  if (!i.every(Boolean))
1296
1279
  throw new Error("derived() expects stores as input, got a falsy value");
1297
1280
  const o = t.length < 2;
1298
- return Mi(r, (s, a) => {
1281
+ return _i(r, (s, a) => {
1299
1282
  let u = !1;
1300
1283
  const l = [];
1301
- let h = 0, f = $;
1284
+ let h = 0, f = D;
1302
1285
  const c = () => {
1303
1286
  if (h)
1304
1287
  return;
1305
1288
  f();
1306
1289
  const d = t(n ? l[0] : l, s, a);
1307
- o ? s(d) : f = Te(d) ? d : $;
1290
+ o ? s(d) : f = Te(d) ? d : D;
1308
1291
  }, m = i.map(
1309
- (d, b) => Tr(
1292
+ (d, b) => Hr(
1310
1293
  d,
1311
1294
  (w) => {
1312
1295
  l[b] = w, h &= ~(1 << b), u && c();
@@ -1317,75 +1300,75 @@ function be(e, t, r) {
1317
1300
  )
1318
1301
  );
1319
1302
  return u = !0, c(), function() {
1320
- Z(m), f(), u = !1;
1303
+ z(m), f(), u = !1;
1321
1304
  };
1322
1305
  });
1323
1306
  }
1324
- var Os = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
1325
- function Ai(e) {
1307
+ var Hs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1308
+ function vi(e) {
1326
1309
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1327
1310
  }
1328
- var Bi = function(t) {
1329
- return Pi(t) && !Oi(t);
1311
+ var xi = function(t) {
1312
+ return Ei(t) && !wi(t);
1330
1313
  };
1331
- function Pi(e) {
1314
+ function Ei(e) {
1332
1315
  return !!e && typeof e == "object";
1333
1316
  }
1334
- function Oi(e) {
1317
+ function wi(e) {
1335
1318
  var t = Object.prototype.toString.call(e);
1336
- return t === "[object RegExp]" || t === "[object Date]" || Li(e);
1319
+ return t === "[object RegExp]" || t === "[object Date]" || Ti(e);
1337
1320
  }
1338
- var Ii = typeof Symbol == "function" && Symbol.for, Ci = Ii ? Symbol.for("react.element") : 60103;
1339
- function Li(e) {
1340
- return e.$$typeof === Ci;
1321
+ var Hi = typeof Symbol == "function" && Symbol.for, Si = Hi ? Symbol.for("react.element") : 60103;
1322
+ function Ti(e) {
1323
+ return e.$$typeof === Si;
1341
1324
  }
1342
- function Ni(e) {
1325
+ function Mi(e) {
1343
1326
  return Array.isArray(e) ? [] : {};
1344
1327
  }
1345
1328
  function He(e, t) {
1346
- return t.clone !== !1 && t.isMergeableObject(e) ? fe(Ni(e), e, t) : e;
1329
+ return t.clone !== !1 && t.isMergeableObject(e) ? fe(Mi(e), e, t) : e;
1347
1330
  }
1348
- function Ri(e, t, r) {
1331
+ function Ai(e, t, r) {
1349
1332
  return e.concat(t).map(function(n) {
1350
1333
  return He(n, r);
1351
1334
  });
1352
1335
  }
1353
- function Fi(e, t) {
1336
+ function Bi(e, t) {
1354
1337
  if (!t.customMerge)
1355
1338
  return fe;
1356
1339
  var r = t.customMerge(e);
1357
1340
  return typeof r == "function" ? r : fe;
1358
1341
  }
1359
- function Ui(e) {
1342
+ function Pi(e) {
1360
1343
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1361
1344
  return Object.propertyIsEnumerable.call(e, t);
1362
1345
  }) : [];
1363
1346
  }
1364
- function Zt(e) {
1365
- return Object.keys(e).concat(Ui(e));
1347
+ function Xt(e) {
1348
+ return Object.keys(e).concat(Pi(e));
1366
1349
  }
1367
- function Ur(e, t) {
1350
+ function Fr(e, t) {
1368
1351
  try {
1369
1352
  return t in e;
1370
- } catch (r) {
1353
+ } catch {
1371
1354
  return !1;
1372
1355
  }
1373
1356
  }
1374
- function Di(e, t) {
1375
- return Ur(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1357
+ function Ii(e, t) {
1358
+ return Fr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1376
1359
  }
1377
- function $i(e, t, r) {
1360
+ function Oi(e, t, r) {
1378
1361
  var n = {};
1379
- return r.isMergeableObject(e) && Zt(e).forEach(function(i) {
1362
+ return r.isMergeableObject(e) && Xt(e).forEach(function(i) {
1380
1363
  n[i] = He(e[i], r);
1381
- }), Zt(t).forEach(function(i) {
1382
- Di(e, i) || (Ur(e, i) && r.isMergeableObject(t[i]) ? n[i] = Fi(i, r)(e[i], t[i], r) : n[i] = He(t[i], r));
1364
+ }), Xt(t).forEach(function(i) {
1365
+ Ii(e, i) || (Fr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Bi(i, r)(e[i], t[i], r) : n[i] = He(t[i], r));
1383
1366
  }), n;
1384
1367
  }
1385
1368
  function fe(e, t, r) {
1386
- r = r || {}, r.arrayMerge = r.arrayMerge || Ri, r.isMergeableObject = r.isMergeableObject || Bi, r.cloneUnlessOtherwiseSpecified = He;
1369
+ r = r || {}, r.arrayMerge = r.arrayMerge || Ai, r.isMergeableObject = r.isMergeableObject || xi, r.cloneUnlessOtherwiseSpecified = He;
1387
1370
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1388
- return o ? n ? r.arrayMerge(e, t, r) : $i(e, t, r) : He(t, r);
1371
+ return o ? n ? r.arrayMerge(e, t, r) : Oi(e, t, r) : He(t, r);
1389
1372
  }
1390
1373
  fe.all = function(t, r) {
1391
1374
  if (!Array.isArray(t))
@@ -1394,56 +1377,58 @@ fe.all = function(t, r) {
1394
1377
  return fe(n, i, r);
1395
1378
  }, {});
1396
1379
  };
1397
- var Gi = fe, ki = Gi;
1398
- const ji = /* @__PURE__ */ Ai(ki);
1380
+ var Li = fe, Ci = Li;
1381
+ const Ni = /* @__PURE__ */ vi(Ci);
1399
1382
  function Ke(e, t) {
1400
- var r = t && t.cache ? t.cache : Qi, n = t && t.serializer ? t.serializer : Zi, i = t && t.strategy ? t.strategy : Xi;
1383
+ var r = t && t.cache ? t.cache : Gi, n = t && t.serializer ? t.serializer : $i, i = t && t.strategy ? t.strategy : Fi;
1401
1384
  return i(e, {
1402
1385
  cache: r,
1403
1386
  serializer: n
1404
1387
  });
1405
1388
  }
1406
- function Vi(e) {
1389
+ function Ri(e) {
1407
1390
  return e == null || typeof e == "number" || typeof e == "boolean";
1408
1391
  }
1409
- function Wi(e, t, r, n) {
1410
- var i = Vi(n) ? n : r(n), o = t.get(i);
1411
- return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1392
+ function Ur(e, t, r, n) {
1393
+ var i = Ri(n) ? n : r(n), o = t.get(i);
1394
+ return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1412
1395
  }
1413
1396
  function Dr(e, t, r) {
1414
1397
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1415
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1398
+ return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1416
1399
  }
1417
- function $r(e, t, r, n, i) {
1400
+ function xt(e, t, r, n, i) {
1418
1401
  return r.bind(t, e, n, i);
1419
1402
  }
1420
- function Xi(e, t) {
1421
- var r = e.length === 1 ? Wi : Dr;
1422
- return $r(e, this, r, t.cache.create(), t.serializer);
1403
+ function Fi(e, t) {
1404
+ var r = e.length === 1 ? Ur : Dr;
1405
+ return xt(e, this, r, t.cache.create(), t.serializer);
1406
+ }
1407
+ function Ui(e, t) {
1408
+ return xt(e, this, Dr, t.cache.create(), t.serializer);
1423
1409
  }
1424
- function zi(e, t) {
1425
- return $r(e, this, Dr, t.cache.create(), t.serializer);
1410
+ function Di(e, t) {
1411
+ return xt(e, this, Ur, t.cache.create(), t.serializer);
1426
1412
  }
1427
- var Zi = function() {
1413
+ var $i = function() {
1428
1414
  return JSON.stringify(arguments);
1429
- }, qi = (
1430
- /** @class */
1431
- function() {
1432
- function e() {
1433
- this.cache = /* @__PURE__ */ Object.create(null);
1434
- }
1435
- return e.prototype.get = function(t) {
1436
- return this.cache[t];
1437
- }, e.prototype.set = function(t, r) {
1438
- this.cache[t] = r;
1439
- }, e;
1440
- }()
1441
- ), Qi = {
1415
+ };
1416
+ function Et() {
1417
+ this.cache = /* @__PURE__ */ Object.create(null);
1418
+ }
1419
+ Et.prototype.get = function(e) {
1420
+ return this.cache[e];
1421
+ };
1422
+ Et.prototype.set = function(e, t) {
1423
+ this.cache[e] = t;
1424
+ };
1425
+ var Gi = {
1442
1426
  create: function() {
1443
- return new qi();
1427
+ return new Et();
1444
1428
  }
1445
1429
  }, et = {
1446
- variadic: zi
1430
+ variadic: Ui,
1431
+ monadic: Di
1447
1432
  }, H;
1448
1433
  (function(e) {
1449
1434
  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";
@@ -1456,43 +1441,43 @@ var de;
1456
1441
  (function(e) {
1457
1442
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1458
1443
  })(de || (de = {}));
1459
- function qt(e) {
1444
+ function zt(e) {
1460
1445
  return e.type === N.literal;
1461
1446
  }
1462
- function Ji(e) {
1447
+ function ki(e) {
1463
1448
  return e.type === N.argument;
1464
1449
  }
1465
- function Gr(e) {
1450
+ function $r(e) {
1466
1451
  return e.type === N.number;
1467
1452
  }
1468
- function kr(e) {
1453
+ function Gr(e) {
1469
1454
  return e.type === N.date;
1470
1455
  }
1471
- function jr(e) {
1456
+ function kr(e) {
1472
1457
  return e.type === N.time;
1473
1458
  }
1474
- function Vr(e) {
1459
+ function jr(e) {
1475
1460
  return e.type === N.select;
1476
1461
  }
1477
- function Wr(e) {
1462
+ function Vr(e) {
1478
1463
  return e.type === N.plural;
1479
1464
  }
1480
- function Yi(e) {
1465
+ function ji(e) {
1481
1466
  return e.type === N.pound;
1482
1467
  }
1483
- function Xr(e) {
1468
+ function Wr(e) {
1484
1469
  return e.type === N.tag;
1485
1470
  }
1486
- function zr(e) {
1471
+ function Xr(e) {
1487
1472
  return !!(e && typeof e == "object" && e.type === de.number);
1488
1473
  }
1489
1474
  function ct(e) {
1490
1475
  return !!(e && typeof e == "object" && e.type === de.dateTime);
1491
1476
  }
1492
- var Zr = /[ \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;
1493
- function eo(e) {
1477
+ var zr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Vi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1478
+ function Wi(e) {
1494
1479
  var t = {};
1495
- return e.replace(Ki, function(r) {
1480
+ return e.replace(Vi, function(r) {
1496
1481
  var n = r.length;
1497
1482
  switch (r[0]) {
1498
1483
  case "G":
@@ -1581,11 +1566,11 @@ function eo(e) {
1581
1566
  return "";
1582
1567
  }), t;
1583
1568
  }
1584
- var to = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1585
- function ro(e) {
1569
+ var Xi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1570
+ function zi(e) {
1586
1571
  if (e.length === 0)
1587
1572
  throw new Error("Number skeleton cannot be empty");
1588
- for (var t = e.split(to).filter(function(c) {
1573
+ for (var t = e.split(Xi).filter(function(c) {
1589
1574
  return c.length > 0;
1590
1575
  }), r = [], n = 0, i = t; n < i.length; n++) {
1591
1576
  var o = i[n], s = o.split("/");
@@ -1600,17 +1585,17 @@ function ro(e) {
1600
1585
  }
1601
1586
  return r;
1602
1587
  }
1603
- function no(e) {
1588
+ function Zi(e) {
1604
1589
  return e.replace(/^(.*?)-/, "");
1605
1590
  }
1606
- var Qt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qr = /^(@+)?(\+|#+)?[rs]?$/g, io = /(\*)(0+)|(#+)(0+)|(0+)/g, Qr = /^(0+)$/;
1607
- function Jt(e) {
1591
+ var Zt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Zr = /^(@+)?(\+|#+)?[rs]?$/g, Qi = /(\*)(0+)|(#+)(0+)|(0+)/g, Qr = /^(0+)$/;
1592
+ function Qt(e) {
1608
1593
  var t = {};
1609
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(qr, function(r, n, i) {
1594
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Zr, function(r, n, i) {
1610
1595
  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)), "";
1611
1596
  }), t;
1612
1597
  }
1613
- function Jr(e) {
1598
+ function qr(e) {
1614
1599
  switch (e) {
1615
1600
  case "sign-auto":
1616
1601
  return {
@@ -1650,7 +1635,7 @@ function Jr(e) {
1650
1635
  };
1651
1636
  }
1652
1637
  }
1653
- function oo(e) {
1638
+ function qi(e) {
1654
1639
  var t;
1655
1640
  if (e[0] === "E" && e[1] === "E" ? (t = {
1656
1641
  notation: "engineering"
@@ -1664,11 +1649,11 @@ function oo(e) {
1664
1649
  }
1665
1650
  return t;
1666
1651
  }
1667
- function Yt(e) {
1668
- var t = {}, r = Jr(e);
1652
+ function qt(e) {
1653
+ var t = {}, r = qr(e);
1669
1654
  return r || t;
1670
1655
  }
1671
- function so(e) {
1656
+ function Ji(e) {
1672
1657
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1673
1658
  var i = n[r];
1674
1659
  switch (i.stem) {
@@ -1692,7 +1677,7 @@ function so(e) {
1692
1677
  continue;
1693
1678
  case "measure-unit":
1694
1679
  case "unit":
1695
- t.style = "unit", t.unit = no(i.options[0]);
1680
+ t.style = "unit", t.unit = Zi(i.options[0]);
1696
1681
  continue;
1697
1682
  case "compact-short":
1698
1683
  case "K":
@@ -1704,12 +1689,12 @@ function so(e) {
1704
1689
  continue;
1705
1690
  case "scientific":
1706
1691
  t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1707
- return A(A({}, u), Yt(l));
1692
+ return A(A({}, u), qt(l));
1708
1693
  }, {}));
1709
1694
  continue;
1710
1695
  case "engineering":
1711
1696
  t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1712
- return A(A({}, u), Yt(l));
1697
+ return A(A({}, u), qt(l));
1713
1698
  }, {}));
1714
1699
  continue;
1715
1700
  case "notation-simple":
@@ -1754,7 +1739,7 @@ function so(e) {
1754
1739
  case "integer-width":
1755
1740
  if (i.options.length > 1)
1756
1741
  throw new RangeError("integer-width stems only accept a single optional option");
1757
- i.options[0].replace(io, function(u, l, h, f, c, m) {
1742
+ i.options[0].replace(Qi, function(u, l, h, f, c, m) {
1758
1743
  if (l)
1759
1744
  t.minimumIntegerDigits = h.length;
1760
1745
  else {
@@ -1771,28 +1756,28 @@ function so(e) {
1771
1756
  t.minimumIntegerDigits = i.stem.length;
1772
1757
  continue;
1773
1758
  }
1774
- if (Qt.test(i.stem)) {
1759
+ if (Zt.test(i.stem)) {
1775
1760
  if (i.options.length > 1)
1776
1761
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1777
- i.stem.replace(Qt, function(u, l, h, f, c, m) {
1762
+ i.stem.replace(Zt, function(u, l, h, f, c, m) {
1778
1763
  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), "";
1779
1764
  });
1780
1765
  var o = i.options[0];
1781
- o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), Jt(o)));
1766
+ o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), Qt(o)));
1782
1767
  continue;
1783
1768
  }
1784
- if (qr.test(i.stem)) {
1785
- t = A(A({}, t), Jt(i.stem));
1769
+ if (Zr.test(i.stem)) {
1770
+ t = A(A({}, t), Qt(i.stem));
1786
1771
  continue;
1787
1772
  }
1788
- var s = Jr(i.stem);
1773
+ var s = qr(i.stem);
1789
1774
  s && (t = A(A({}, t), s));
1790
- var a = oo(i.stem);
1775
+ var a = qi(i.stem);
1791
1776
  a && (t = A(A({}, t), a));
1792
1777
  }
1793
1778
  return t;
1794
1779
  }
1795
- var Oe = {
1780
+ var Ie = {
1796
1781
  "001": [
1797
1782
  "H",
1798
1783
  "h"
@@ -3207,13 +3192,13 @@ var Oe = {
3207
3192
  "h"
3208
3193
  ]
3209
3194
  };
3210
- function ao(e, t) {
3195
+ function Yi(e, t) {
3211
3196
  for (var r = "", n = 0; n < e.length; n++) {
3212
3197
  var i = e.charAt(n);
3213
3198
  if (i === "j") {
3214
3199
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3215
3200
  o++, n++;
3216
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = uo(t);
3201
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Ki(t);
3217
3202
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3218
3203
  r += u;
3219
3204
  for (; s-- > 0; )
@@ -3222,7 +3207,7 @@ function ao(e, t) {
3222
3207
  }
3223
3208
  return r;
3224
3209
  }
3225
- function uo(e) {
3210
+ function Ki(e) {
3226
3211
  var t = e.hourCycle;
3227
3212
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3228
3213
  e.hourCycles && // @ts-ignore
@@ -3241,23 +3226,23 @@ function uo(e) {
3241
3226
  }
3242
3227
  var r = e.language, n;
3243
3228
  r !== "root" && (n = e.maximize().region);
3244
- var i = Oe[n || ""] || Oe[r || ""] || Oe["".concat(r, "-001")] || Oe["001"];
3229
+ var i = Ie[n || ""] || Ie[r || ""] || Ie["".concat(r, "-001")] || Ie["001"];
3245
3230
  return i[0];
3246
3231
  }
3247
- var tt, lo = new RegExp("^".concat(Zr.source, "*")), ho = new RegExp("".concat(Zr.source, "*$"));
3232
+ var tt, eo = new RegExp("^".concat(zr.source, "*")), to = new RegExp("".concat(zr.source, "*$"));
3248
3233
  function T(e, t) {
3249
3234
  return { start: e, end: t };
3250
3235
  }
3251
- var co = !!String.prototype.startsWith && "_a".startsWith("a", 1), fo = !!String.fromCodePoint, mo = !!Object.fromEntries, po = !!String.prototype.codePointAt, go = !!String.prototype.trimStart, bo = !!String.prototype.trimEnd, yo = !!Number.isSafeInteger, vo = yo ? Number.isSafeInteger : function(e) {
3236
+ var ro = !!String.prototype.startsWith && "_a".startsWith("a", 1), no = !!String.fromCodePoint, io = !!Object.fromEntries, oo = !!String.prototype.codePointAt, so = !!String.prototype.trimStart, ao = !!String.prototype.trimEnd, uo = !!Number.isSafeInteger, lo = uo ? Number.isSafeInteger : function(e) {
3252
3237
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3253
3238
  }, ft = !0;
3254
3239
  try {
3255
- var _o = Kr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3256
- ft = ((tt = _o.exec("a")) === null || tt === void 0 ? void 0 : tt[0]) === "a";
3257
- } catch (e) {
3240
+ var ho = Yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3241
+ ft = ((tt = ho.exec("a")) === null || tt === void 0 ? void 0 : tt[0]) === "a";
3242
+ } catch {
3258
3243
  ft = !1;
3259
3244
  }
3260
- var Kt = co ? (
3245
+ var Jt = ro ? (
3261
3246
  // Native
3262
3247
  function(t, r, n) {
3263
3248
  return t.startsWith(r, n);
@@ -3267,7 +3252,7 @@ var Kt = co ? (
3267
3252
  function(t, r, n) {
3268
3253
  return t.slice(n, n + r.length) === r;
3269
3254
  }
3270
- ), dt = fo ? String.fromCodePoint : (
3255
+ ), dt = no ? String.fromCodePoint : (
3271
3256
  // IE11
3272
3257
  function() {
3273
3258
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3279,9 +3264,9 @@ var Kt = co ? (
3279
3264
  }
3280
3265
  return n;
3281
3266
  }
3282
- ), er = (
3267
+ ), Yt = (
3283
3268
  // native
3284
- mo ? Object.fromEntries : (
3269
+ io ? Object.fromEntries : (
3285
3270
  // Ponyfill
3286
3271
  function(t) {
3287
3272
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3291,7 +3276,7 @@ var Kt = co ? (
3291
3276
  return r;
3292
3277
  }
3293
3278
  )
3294
- ), Yr = po ? (
3279
+ ), Jr = oo ? (
3295
3280
  // Native
3296
3281
  function(t, r) {
3297
3282
  return t.codePointAt(r);
@@ -3305,7 +3290,7 @@ var Kt = co ? (
3305
3290
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3306
3291
  }
3307
3292
  }
3308
- ), xo = go ? (
3293
+ ), co = so ? (
3309
3294
  // Native
3310
3295
  function(t) {
3311
3296
  return t.trimStart();
@@ -3313,9 +3298,9 @@ var Kt = co ? (
3313
3298
  ) : (
3314
3299
  // Ponyfill
3315
3300
  function(t) {
3316
- return t.replace(lo, "");
3301
+ return t.replace(eo, "");
3317
3302
  }
3318
- ), Eo = bo ? (
3303
+ ), fo = ao ? (
3319
3304
  // Native
3320
3305
  function(t) {
3321
3306
  return t.trimEnd();
@@ -3323,32 +3308,32 @@ var Kt = co ? (
3323
3308
  ) : (
3324
3309
  // Ponyfill
3325
3310
  function(t) {
3326
- return t.replace(ho, "");
3311
+ return t.replace(to, "");
3327
3312
  }
3328
3313
  );
3329
- function Kr(e, t) {
3314
+ function Yr(e, t) {
3330
3315
  return new RegExp(e, t);
3331
3316
  }
3332
3317
  var mt;
3333
3318
  if (ft) {
3334
- var tr = Kr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3319
+ var Kt = Yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3335
3320
  mt = function(t, r) {
3336
3321
  var n;
3337
- tr.lastIndex = r;
3338
- var i = tr.exec(t);
3322
+ Kt.lastIndex = r;
3323
+ var i = Kt.exec(t);
3339
3324
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3340
3325
  };
3341
3326
  } else
3342
3327
  mt = function(t, r) {
3343
3328
  for (var n = []; ; ) {
3344
- var i = Yr(t, r);
3345
- if (i === void 0 || en(i) || To(i))
3329
+ var i = Jr(t, r);
3330
+ if (i === void 0 || Kr(i) || bo(i))
3346
3331
  break;
3347
3332
  n.push(i), r += i >= 65536 ? 2 : 1;
3348
3333
  }
3349
3334
  return dt.apply(void 0, n);
3350
3335
  };
3351
- var wo = (
3336
+ var mo = (
3352
3337
  /** @class */
3353
3338
  function() {
3354
3339
  function e(t, r) {
@@ -3430,7 +3415,7 @@ var wo = (
3430
3415
  return this.error(H.INVALID_TAG, T(n, this.clonePosition()));
3431
3416
  }, e.prototype.parseTagName = function() {
3432
3417
  var t = this.offset();
3433
- for (this.bump(); !this.isEOF() && So(this.char()); )
3418
+ for (this.bump(); !this.isEOF() && go(this.char()); )
3434
3419
  this.bump();
3435
3420
  return this.message.slice(t, this.offset());
3436
3421
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3459,7 +3444,7 @@ var wo = (
3459
3444
  };
3460
3445
  }, e.prototype.tryParseLeftAngleBracket = function() {
3461
3446
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3462
- !Ho(this.peek() || 0)) ? (this.bump(), "<") : null;
3447
+ !po(this.peek() || 0)) ? (this.bump(), "<") : null;
3463
3448
  }, e.prototype.tryParseQuote = function(t) {
3464
3449
  if (this.isEOF() || this.char() !== 39)
3465
3450
  return null;
@@ -3546,7 +3531,7 @@ var wo = (
3546
3531
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3547
3532
  if (f.err)
3548
3533
  return f;
3549
- var c = Eo(f.val);
3534
+ var c = fo(f.val);
3550
3535
  if (c.length === 0)
3551
3536
  return this.error(H.EXPECT_ARGUMENT_STYLE, T(this.clonePosition(), this.clonePosition()));
3552
3537
  var m = T(h, this.clonePosition());
@@ -3556,8 +3541,8 @@ var wo = (
3556
3541
  if (d.err)
3557
3542
  return d;
3558
3543
  var b = T(i, this.clonePosition());
3559
- if (l && Kt(l == null ? void 0 : l.style, "::", 0)) {
3560
- var w = xo(l.style.slice(2));
3544
+ if (l && Jt(l?.style, "::", 0)) {
3545
+ var w = co(l.style.slice(2));
3561
3546
  if (a === "number") {
3562
3547
  var f = this.parseNumberSkeletonFromString(w, l.styleLocation);
3563
3548
  return f.err ? f : {
@@ -3567,13 +3552,13 @@ var wo = (
3567
3552
  } else {
3568
3553
  if (w.length === 0)
3569
3554
  return this.error(H.EXPECT_DATE_TIME_SKELETON, b);
3570
- var B = w;
3571
- this.locale && (B = ao(w, this.locale));
3555
+ var O = w;
3556
+ this.locale && (O = Yi(w, this.locale));
3572
3557
  var c = {
3573
3558
  type: de.dateTime,
3574
- pattern: B,
3559
+ pattern: O,
3575
3560
  location: l.styleLocation,
3576
- parsedOptions: this.shouldParseSkeletons ? eo(B) : {}
3561
+ parsedOptions: this.shouldParseSkeletons ? Wi(O) : {}
3577
3562
  }, I = a === "date" ? N.date : N.time;
3578
3563
  return {
3579
3564
  val: { type: I, value: n, location: b, style: c },
@@ -3586,7 +3571,7 @@ var wo = (
3586
3571
  type: a === "number" ? N.number : a === "date" ? N.date : N.time,
3587
3572
  value: n,
3588
3573
  location: b,
3589
- style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
3574
+ style: (o = l?.style) !== null && o !== void 0 ? o : null
3590
3575
  },
3591
3576
  err: null
3592
3577
  };
@@ -3598,17 +3583,17 @@ var wo = (
3598
3583
  if (this.bumpSpace(), !this.bumpIf(","))
3599
3584
  return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS, T(S, A({}, S)));
3600
3585
  this.bumpSpace();
3601
- var C = this.parseIdentifierIfPossible(), y = 0;
3602
- if (a !== "select" && C.value === "offset") {
3586
+ var L = this.parseIdentifierIfPossible(), y = 0;
3587
+ if (a !== "select" && L.value === "offset") {
3603
3588
  if (!this.bumpIf(":"))
3604
3589
  return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T(this.clonePosition(), this.clonePosition()));
3605
3590
  this.bumpSpace();
3606
3591
  var f = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3607
3592
  if (f.err)
3608
3593
  return f;
3609
- this.bumpSpace(), C = this.parseIdentifierIfPossible(), y = f.val;
3594
+ this.bumpSpace(), L = this.parseIdentifierIfPossible(), y = f.val;
3610
3595
  }
3611
- var M = this.tryParsePluralOrSelectOptions(t, a, r, C);
3596
+ var M = this.tryParsePluralOrSelectOptions(t, a, r, L);
3612
3597
  if (M.err)
3613
3598
  return M;
3614
3599
  var d = this.tryParseArgumentClose(i);
@@ -3619,7 +3604,7 @@ var wo = (
3619
3604
  val: {
3620
3605
  type: N.select,
3621
3606
  value: n,
3622
- options: er(M.val),
3607
+ options: Yt(M.val),
3623
3608
  location: _
3624
3609
  },
3625
3610
  err: null
@@ -3627,7 +3612,7 @@ var wo = (
3627
3612
  val: {
3628
3613
  type: N.plural,
3629
3614
  value: n,
3630
- options: er(M.val),
3615
+ options: Yt(M.val),
3631
3616
  offset: y,
3632
3617
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3633
3618
  location: _
@@ -3678,8 +3663,8 @@ var wo = (
3678
3663
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3679
3664
  var n = [];
3680
3665
  try {
3681
- n = ro(t);
3682
- } catch (i) {
3666
+ n = zi(t);
3667
+ } catch {
3683
3668
  return this.error(H.INVALID_NUMBER_SKELETON, r);
3684
3669
  }
3685
3670
  return {
@@ -3687,7 +3672,7 @@ var wo = (
3687
3672
  type: de.number,
3688
3673
  tokens: n,
3689
3674
  location: r,
3690
- parsedOptions: this.shouldParseSkeletons ? so(n) : {}
3675
+ parsedOptions: this.shouldParseSkeletons ? Ji(n) : {}
3691
3676
  },
3692
3677
  err: null
3693
3678
  };
@@ -3735,7 +3720,7 @@ var wo = (
3735
3720
  break;
3736
3721
  }
3737
3722
  var u = T(i, this.clonePosition());
3738
- return o ? (s *= n, vo(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3723
+ return o ? (s *= n, lo(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3739
3724
  }, e.prototype.offset = function() {
3740
3725
  return this.position.offset;
3741
3726
  }, e.prototype.isEOF = function() {
@@ -3750,7 +3735,7 @@ var wo = (
3750
3735
  var t = this.position.offset;
3751
3736
  if (t >= this.message.length)
3752
3737
  throw Error("out of bound");
3753
- var r = Yr(this.message, t);
3738
+ var r = Jr(this.message, t);
3754
3739
  if (r === void 0)
3755
3740
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3756
3741
  return r;
@@ -3769,7 +3754,7 @@ var wo = (
3769
3754
  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);
3770
3755
  }
3771
3756
  }, e.prototype.bumpIf = function(t) {
3772
- if (Kt(this.message, t, this.offset())) {
3757
+ if (Jt(this.message, t, this.offset())) {
3773
3758
  for (var r = 0; r < t.length; r++)
3774
3759
  this.bump();
3775
3760
  return !0;
@@ -3791,47 +3776,47 @@ var wo = (
3791
3776
  break;
3792
3777
  }
3793
3778
  }, e.prototype.bumpSpace = function() {
3794
- for (; !this.isEOF() && en(this.char()); )
3779
+ for (; !this.isEOF() && Kr(this.char()); )
3795
3780
  this.bump();
3796
3781
  }, e.prototype.peek = function() {
3797
3782
  if (this.isEOF())
3798
3783
  return null;
3799
3784
  var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3800
- return n != null ? n : null;
3785
+ return n ?? null;
3801
3786
  }, e;
3802
3787
  }()
3803
3788
  );
3804
3789
  function pt(e) {
3805
3790
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3806
3791
  }
3807
- function Ho(e) {
3792
+ function po(e) {
3808
3793
  return pt(e) || e === 47;
3809
3794
  }
3810
- function So(e) {
3795
+ function go(e) {
3811
3796
  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;
3812
3797
  }
3813
- function en(e) {
3798
+ function Kr(e) {
3814
3799
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3815
3800
  }
3816
- function To(e) {
3801
+ function bo(e) {
3817
3802
  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;
3818
3803
  }
3819
3804
  function gt(e) {
3820
3805
  e.forEach(function(t) {
3821
- if (delete t.location, Vr(t) || Wr(t))
3806
+ if (delete t.location, jr(t) || Vr(t))
3822
3807
  for (var r in t.options)
3823
3808
  delete t.options[r].location, gt(t.options[r].value);
3824
- else Gr(t) && zr(t.style) || (kr(t) || jr(t)) && ct(t.style) ? delete t.style.location : Xr(t) && gt(t.children);
3809
+ else $r(t) && Xr(t.style) || (Gr(t) || kr(t)) && ct(t.style) ? delete t.style.location : Wr(t) && gt(t.children);
3825
3810
  });
3826
3811
  }
3827
- function Mo(e, t) {
3812
+ function yo(e, t) {
3828
3813
  t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3829
- var r = new wo(e, t).parse();
3814
+ var r = new mo(e, t).parse();
3830
3815
  if (r.err) {
3831
3816
  var n = SyntaxError(H[r.err.kind]);
3832
3817
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3833
3818
  }
3834
- return t != null && t.captureLocation || gt(r.val), r.val;
3819
+ return t?.captureLocation || gt(r.val), r.val;
3835
3820
  }
3836
3821
  var me;
3837
3822
  (function(e) {
@@ -3840,7 +3825,7 @@ var me;
3840
3825
  var We = (
3841
3826
  /** @class */
3842
3827
  function(e) {
3843
- q(t, e);
3828
+ Z(t, e);
3844
3829
  function t(r, n, i) {
3845
3830
  var o = e.call(this, r) || this;
3846
3831
  return o.code = n, o.originalMessage = i, o;
@@ -3849,28 +3834,28 @@ var We = (
3849
3834
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3850
3835
  }, t;
3851
3836
  }(Error)
3852
- ), rr = (
3837
+ ), er = (
3853
3838
  /** @class */
3854
3839
  function(e) {
3855
- q(t, e);
3840
+ Z(t, e);
3856
3841
  function t(r, n, i, o) {
3857
3842
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), me.INVALID_VALUE, o) || this;
3858
3843
  }
3859
3844
  return t;
3860
3845
  }(We)
3861
- ), Ao = (
3846
+ ), _o = (
3862
3847
  /** @class */
3863
3848
  function(e) {
3864
- q(t, e);
3849
+ Z(t, e);
3865
3850
  function t(r, n, i) {
3866
3851
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), me.INVALID_VALUE, i) || this;
3867
3852
  }
3868
3853
  return t;
3869
3854
  }(We)
3870
- ), Bo = (
3855
+ ), vo = (
3871
3856
  /** @class */
3872
3857
  function(e) {
3873
- q(t, e);
3858
+ Z(t, e);
3874
3859
  function t(r, n) {
3875
3860
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), me.MISSING_VALUE, n) || this;
3876
3861
  }
@@ -3880,17 +3865,17 @@ var We = (
3880
3865
  (function(e) {
3881
3866
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3882
3867
  })(F || (F = {}));
3883
- function Po(e) {
3868
+ function xo(e) {
3884
3869
  return e.length < 2 ? e : e.reduce(function(t, r) {
3885
3870
  var n = t[t.length - 1];
3886
3871
  return !n || n.type !== F.literal || r.type !== F.literal ? t.push(r) : n.value += r.value, t;
3887
3872
  }, []);
3888
3873
  }
3889
- function Oo(e) {
3874
+ function Eo(e) {
3890
3875
  return typeof e == "function";
3891
3876
  }
3892
3877
  function Ne(e, t, r, n, i, o, s) {
3893
- if (e.length === 1 && qt(e[0]))
3878
+ if (e.length === 1 && zt(e[0]))
3894
3879
  return [
3895
3880
  {
3896
3881
  type: F.literal,
@@ -3899,14 +3884,14 @@ function Ne(e, t, r, n, i, o, s) {
3899
3884
  ];
3900
3885
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3901
3886
  var h = l[u];
3902
- if (qt(h)) {
3887
+ if (zt(h)) {
3903
3888
  a.push({
3904
3889
  type: F.literal,
3905
3890
  value: h.value
3906
3891
  });
3907
3892
  continue;
3908
3893
  }
3909
- if (Yi(h)) {
3894
+ if (ji(h)) {
3910
3895
  typeof o == "number" && a.push({
3911
3896
  type: F.literal,
3912
3897
  value: r.getNumberFormat(t).format(o)
@@ -3915,16 +3900,16 @@ function Ne(e, t, r, n, i, o, s) {
3915
3900
  }
3916
3901
  var f = h.value;
3917
3902
  if (!(i && f in i))
3918
- throw new Bo(f, s);
3903
+ throw new vo(f, s);
3919
3904
  var c = i[f];
3920
- if (Ji(h)) {
3905
+ if (ki(h)) {
3921
3906
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3922
3907
  type: typeof c == "string" ? F.literal : F.object,
3923
3908
  value: c
3924
3909
  });
3925
3910
  continue;
3926
3911
  }
3927
- if (kr(h)) {
3912
+ if (Gr(h)) {
3928
3913
  var m = typeof h.style == "string" ? n.date[h.style] : ct(h.style) ? h.style.parsedOptions : void 0;
3929
3914
  a.push({
3930
3915
  type: F.literal,
@@ -3932,7 +3917,7 @@ function Ne(e, t, r, n, i, o, s) {
3932
3917
  });
3933
3918
  continue;
3934
3919
  }
3935
- if (jr(h)) {
3920
+ if (kr(h)) {
3936
3921
  var m = typeof h.style == "string" ? n.time[h.style] : ct(h.style) ? h.style.parsedOptions : n.time.medium;
3937
3922
  a.push({
3938
3923
  type: F.literal,
@@ -3940,19 +3925,19 @@ function Ne(e, t, r, n, i, o, s) {
3940
3925
  });
3941
3926
  continue;
3942
3927
  }
3943
- if (Gr(h)) {
3944
- var m = typeof h.style == "string" ? n.number[h.style] : zr(h.style) ? h.style.parsedOptions : void 0;
3928
+ if ($r(h)) {
3929
+ var m = typeof h.style == "string" ? n.number[h.style] : Xr(h.style) ? h.style.parsedOptions : void 0;
3945
3930
  m && m.scale && (c = c * (m.scale || 1)), a.push({
3946
3931
  type: F.literal,
3947
3932
  value: r.getNumberFormat(t, m).format(c)
3948
3933
  });
3949
3934
  continue;
3950
3935
  }
3951
- if (Xr(h)) {
3936
+ if (Wr(h)) {
3952
3937
  var d = h.children, b = h.value, w = i[b];
3953
- if (!Oo(w))
3954
- throw new Ao(b, "function", s);
3955
- var B = Ne(d, t, r, n, i, o), I = w(B.map(function(y) {
3938
+ if (!Eo(w))
3939
+ throw new _o(b, "function", s);
3940
+ var O = Ne(d, t, r, n, i, o), I = w(O.map(function(y) {
3956
3941
  return y.value;
3957
3942
  }));
3958
3943
  Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(y) {
@@ -3962,39 +3947,39 @@ function Ne(e, t, r, n, i, o, s) {
3962
3947
  };
3963
3948
  }));
3964
3949
  }
3965
- if (Vr(h)) {
3950
+ if (jr(h)) {
3966
3951
  var S = h.options[c] || h.options.other;
3967
3952
  if (!S)
3968
- throw new rr(h.value, c, Object.keys(h.options), s);
3953
+ throw new er(h.value, c, Object.keys(h.options), s);
3969
3954
  a.push.apply(a, Ne(S.value, t, r, n, i));
3970
3955
  continue;
3971
3956
  }
3972
- if (Wr(h)) {
3957
+ if (Vr(h)) {
3973
3958
  var S = h.options["=".concat(c)];
3974
3959
  if (!S) {
3975
3960
  if (!Intl.PluralRules)
3976
3961
  throw new We(`Intl.PluralRules is not available in this environment.
3977
3962
  Try polyfilling it using "@formatjs/intl-pluralrules"
3978
3963
  `, me.MISSING_INTL_API, s);
3979
- var C = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3980
- S = h.options[C] || h.options.other;
3964
+ var L = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3965
+ S = h.options[L] || h.options.other;
3981
3966
  }
3982
3967
  if (!S)
3983
- throw new rr(h.value, c, Object.keys(h.options), s);
3968
+ throw new er(h.value, c, Object.keys(h.options), s);
3984
3969
  a.push.apply(a, Ne(S.value, t, r, n, i, c - (h.offset || 0)));
3985
3970
  continue;
3986
3971
  }
3987
3972
  }
3988
- return Po(a);
3973
+ return xo(a);
3989
3974
  }
3990
- function Io(e, t) {
3975
+ function wo(e, t) {
3991
3976
  return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3992
3977
  return r[n] = A(A({}, e[n]), t[n] || {}), r;
3993
3978
  }, {})) : e;
3994
3979
  }
3995
- function Co(e, t) {
3980
+ function Ho(e, t) {
3996
3981
  return t ? Object.keys(e).reduce(function(r, n) {
3997
- return r[n] = Io(e[n], t[n]), r;
3982
+ return r[n] = wo(e[n], t[n]), r;
3998
3983
  }, A({}, e)) : e;
3999
3984
  }
4000
3985
  function rt(e) {
@@ -4011,7 +3996,7 @@ function rt(e) {
4011
3996
  }
4012
3997
  };
4013
3998
  }
4014
- function Lo(e) {
3999
+ function So(e) {
4015
4000
  return e === void 0 && (e = {
4016
4001
  number: {},
4017
4002
  dateTime: {},
@@ -4043,7 +4028,7 @@ function Lo(e) {
4043
4028
  })
4044
4029
  };
4045
4030
  }
4046
- var No = (
4031
+ var To = (
4047
4032
  /** @class */
4048
4033
  function() {
4049
4034
  function e(t, r, n, i) {
@@ -4075,13 +4060,13 @@ var No = (
4075
4060
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4076
4061
  var s = i || {};
4077
4062
  s.formatters;
4078
- var a = fi(s, ["formatters"]);
4063
+ var a = ii(s, ["formatters"]);
4079
4064
  this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
4080
4065
  } else
4081
4066
  this.ast = t;
4082
4067
  if (!Array.isArray(this.ast))
4083
4068
  throw new TypeError("A message must be provided as a String or AST.");
4084
- this.formats = Co(e.formats, n), this.formatters = i && i.formatters || Lo(this.formatterCache);
4069
+ this.formats = Ho(e.formats, n), this.formatters = i && i.formatters || So(this.formatterCache);
4085
4070
  }
4086
4071
  return Object.defineProperty(e, "defaultLocale", {
4087
4072
  get: function() {
@@ -4090,11 +4075,11 @@ var No = (
4090
4075
  enumerable: !1,
4091
4076
  configurable: !0
4092
4077
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
4093
- if (typeof Intl.Locale != "undefined") {
4078
+ if (!(typeof Intl.Locale > "u")) {
4094
4079
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4095
4080
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4096
4081
  }
4097
- }, e.__parse = Mo, e.formats = {
4082
+ }, e.__parse = yo, e.formats = {
4098
4083
  number: {
4099
4084
  integer: {
4100
4085
  maximumFractionDigits: 0
@@ -4155,7 +4140,7 @@ var No = (
4155
4140
  }, e;
4156
4141
  }()
4157
4142
  );
4158
- function Ro(e, t) {
4143
+ function Mo(e, t) {
4159
4144
  if (t == null)
4160
4145
  return;
4161
4146
  if (t in e)
@@ -4176,60 +4161,60 @@ function Ro(e, t) {
4176
4161
  n = void 0;
4177
4162
  return n;
4178
4163
  }
4179
- const J = {}, Fo = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][e] = r), r), tn = (e, t) => {
4164
+ const J = {}, Ao = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][e] = r), r), en = (e, t) => {
4180
4165
  if (t == null)
4181
4166
  return;
4182
4167
  if (t in J && e in J[t])
4183
4168
  return J[t][e];
4184
4169
  const r = Xe(t);
4185
4170
  for (let n = 0; n < r.length; n++) {
4186
- const i = r[n], o = Do(i, e);
4171
+ const i = r[n], o = Po(i, e);
4187
4172
  if (o)
4188
- return Fo(e, t, o);
4173
+ return Ao(e, t, o);
4189
4174
  }
4190
4175
  };
4191
- let xt;
4176
+ let wt;
4192
4177
  const Me = Ve({});
4193
- function Uo(e) {
4194
- return xt[e] || null;
4178
+ function Bo(e) {
4179
+ return wt[e] || null;
4195
4180
  }
4196
- function rn(e) {
4197
- return e in xt;
4181
+ function tn(e) {
4182
+ return e in wt;
4198
4183
  }
4199
- function Do(e, t) {
4200
- if (!rn(e))
4184
+ function Po(e, t) {
4185
+ if (!tn(e))
4201
4186
  return null;
4202
- const r = Uo(e);
4203
- return Ro(r, t);
4187
+ const r = Bo(e);
4188
+ return Mo(r, t);
4204
4189
  }
4205
- function $o(e) {
4190
+ function Io(e) {
4206
4191
  if (e == null)
4207
4192
  return;
4208
4193
  const t = Xe(e);
4209
4194
  for (let r = 0; r < t.length; r++) {
4210
4195
  const n = t[r];
4211
- if (rn(n))
4196
+ if (tn(n))
4212
4197
  return n;
4213
4198
  }
4214
4199
  }
4215
- function nn(e, ...t) {
4216
- delete J[e], Me.update((r) => (r[e] = ji.all([r[e] || {}, ...t]), r));
4200
+ function rn(e, ...t) {
4201
+ delete J[e], Me.update((r) => (r[e] = Ni.all([r[e] || {}, ...t]), r));
4217
4202
  }
4218
4203
  be(
4219
4204
  [Me],
4220
4205
  ([e]) => Object.keys(e)
4221
4206
  );
4222
- Me.subscribe((e) => xt = e);
4207
+ Me.subscribe((e) => wt = e);
4223
4208
  const Re = {};
4224
- function Go(e, t) {
4209
+ function Oo(e, t) {
4225
4210
  Re[e].delete(t), Re[e].size === 0 && delete Re[e];
4226
4211
  }
4227
- function on(e) {
4212
+ function nn(e) {
4228
4213
  return Re[e];
4229
4214
  }
4230
- function ko(e) {
4215
+ function Lo(e) {
4231
4216
  return Xe(e).map((t) => {
4232
- const r = on(t);
4217
+ const r = nn(t);
4233
4218
  return [t, r ? [...r] : []];
4234
4219
  }).filter(([, t]) => t.length > 0);
4235
4220
  }
@@ -4237,31 +4222,31 @@ function bt(e) {
4237
4222
  return e == null ? !1 : Xe(e).some(
4238
4223
  (t) => {
4239
4224
  var r;
4240
- return (r = on(t)) == null ? void 0 : r.size;
4225
+ return (r = nn(t)) == null ? void 0 : r.size;
4241
4226
  }
4242
4227
  );
4243
4228
  }
4244
- function jo(e, t) {
4229
+ function Co(e, t) {
4245
4230
  return Promise.all(
4246
- t.map((n) => (Go(e, n), n().then((i) => i.default || i)))
4247
- ).then((n) => nn(e, ...n));
4231
+ t.map((n) => (Oo(e, n), n().then((i) => i.default || i)))
4232
+ ).then((n) => rn(e, ...n));
4248
4233
  }
4249
4234
  const xe = {};
4250
- function sn(e) {
4235
+ function on(e) {
4251
4236
  if (!bt(e))
4252
4237
  return e in xe ? xe[e] : Promise.resolve();
4253
- const t = ko(e);
4238
+ const t = Lo(e);
4254
4239
  return xe[e] = Promise.all(
4255
4240
  t.map(
4256
- ([r, n]) => jo(r, n)
4241
+ ([r, n]) => Co(r, n)
4257
4242
  )
4258
4243
  ).then(() => {
4259
4244
  if (bt(e))
4260
- return sn(e);
4245
+ return on(e);
4261
4246
  delete xe[e];
4262
4247
  }), xe[e];
4263
4248
  }
4264
- const Vo = {
4249
+ const No = {
4265
4250
  number: {
4266
4251
  scientific: { notation: "scientific" },
4267
4252
  engineering: { notation: "engineering" },
@@ -4290,57 +4275,57 @@ const Vo = {
4290
4275
  timeZoneName: "short"
4291
4276
  }
4292
4277
  }
4293
- }, Wo = {
4278
+ }, Ro = {
4294
4279
  fallbackLocale: null,
4295
4280
  loadingDelay: 200,
4296
- formats: Vo,
4281
+ formats: No,
4297
4282
  warnOnMissingMessages: !0,
4298
4283
  handleMissingMessage: void 0,
4299
4284
  ignoreTag: !0
4300
- }, Xo = Wo;
4285
+ }, Fo = Ro;
4301
4286
  function pe() {
4302
- return Xo;
4287
+ return Fo;
4303
4288
  }
4304
4289
  const nt = Ve(!1);
4305
- var zo = Object.defineProperty, Zo = Object.defineProperties, qo = Object.getOwnPropertyDescriptors, nr = Object.getOwnPropertySymbols, Qo = Object.prototype.hasOwnProperty, Jo = Object.prototype.propertyIsEnumerable, ir = (e, t, r) => t in e ? zo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yo = (e, t) => {
4290
+ var Uo = Object.defineProperty, Do = Object.defineProperties, $o = Object.getOwnPropertyDescriptors, tr = Object.getOwnPropertySymbols, Go = Object.prototype.hasOwnProperty, ko = Object.prototype.propertyIsEnumerable, rr = (e, t, r) => t in e ? Uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, jo = (e, t) => {
4306
4291
  for (var r in t || (t = {}))
4307
- Qo.call(t, r) && ir(e, r, t[r]);
4308
- if (nr)
4309
- for (var r of nr(t))
4310
- Jo.call(t, r) && ir(e, r, t[r]);
4292
+ Go.call(t, r) && rr(e, r, t[r]);
4293
+ if (tr)
4294
+ for (var r of tr(t))
4295
+ ko.call(t, r) && rr(e, r, t[r]);
4311
4296
  return e;
4312
- }, Ko = (e, t) => Zo(e, qo(t));
4297
+ }, Vo = (e, t) => Do(e, $o(t));
4313
4298
  let yt;
4314
4299
  const Ge = Ve(null);
4315
- function or(e) {
4300
+ function nr(e) {
4316
4301
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4317
4302
  }
4318
4303
  function Xe(e, t = pe().fallbackLocale) {
4319
- const r = or(e);
4320
- return t ? [.../* @__PURE__ */ new Set([...r, ...or(t)])] : r;
4304
+ const r = nr(e);
4305
+ return t ? [.../* @__PURE__ */ new Set([...r, ...nr(t)])] : r;
4321
4306
  }
4322
- function ne() {
4323
- return yt != null ? yt : void 0;
4307
+ function re() {
4308
+ return yt ?? void 0;
4324
4309
  }
4325
4310
  Ge.subscribe((e) => {
4326
- yt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4311
+ yt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4327
4312
  });
4328
- const es = (e) => {
4329
- if (e && $o(e) && bt(e)) {
4313
+ const Wo = (e) => {
4314
+ if (e && Io(e) && bt(e)) {
4330
4315
  const { loadingDelay: t } = pe();
4331
4316
  let r;
4332
- return typeof window != "undefined" && ne() != null && t ? r = window.setTimeout(
4317
+ return typeof window < "u" && re() != null && t ? r = window.setTimeout(
4333
4318
  () => nt.set(!0),
4334
4319
  t
4335
- ) : nt.set(!0), sn(e).then(() => {
4320
+ ) : nt.set(!0), on(e).then(() => {
4336
4321
  Ge.set(e);
4337
4322
  }).finally(() => {
4338
4323
  clearTimeout(r), nt.set(!1);
4339
4324
  });
4340
4325
  }
4341
4326
  return Ge.set(e);
4342
- }, ye = Ko(Yo({}, Ge), {
4343
- set: es
4327
+ }, ye = Vo(jo({}, Ge), {
4328
+ set: Wo
4344
4329
  }), ze = (e) => {
4345
4330
  const t = /* @__PURE__ */ Object.create(null);
4346
4331
  return (n) => {
@@ -4348,20 +4333,20 @@ const es = (e) => {
4348
4333
  return i in t ? t[i] : t[i] = e(n);
4349
4334
  };
4350
4335
  };
4351
- var ts = Object.defineProperty, ke = Object.getOwnPropertySymbols, an = Object.prototype.hasOwnProperty, un = Object.prototype.propertyIsEnumerable, sr = (e, t, r) => t in e ? ts(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
4336
+ var Xo = Object.defineProperty, ke = Object.getOwnPropertySymbols, sn = Object.prototype.hasOwnProperty, an = Object.prototype.propertyIsEnumerable, ir = (e, t, r) => t in e ? Xo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ht = (e, t) => {
4352
4337
  for (var r in t || (t = {}))
4353
- an.call(t, r) && sr(e, r, t[r]);
4338
+ sn.call(t, r) && ir(e, r, t[r]);
4354
4339
  if (ke)
4355
4340
  for (var r of ke(t))
4356
- un.call(t, r) && sr(e, r, t[r]);
4341
+ an.call(t, r) && ir(e, r, t[r]);
4357
4342
  return e;
4358
- }, ve = (e, t) => {
4343
+ }, _e = (e, t) => {
4359
4344
  var r = {};
4360
4345
  for (var n in e)
4361
- an.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4346
+ sn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4362
4347
  if (e != null && ke)
4363
4348
  for (var n of ke(e))
4364
- t.indexOf(n) < 0 && un.call(e, n) && (r[n] = e[n]);
4349
+ t.indexOf(n) < 0 && an.call(e, n) && (r[n] = e[n]);
4365
4350
  return r;
4366
4351
  };
4367
4352
  const Se = (e, t) => {
@@ -4369,69 +4354,69 @@ const Se = (e, t) => {
4369
4354
  if (e in r && t in r[e])
4370
4355
  return r[e][t];
4371
4356
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4372
- }, rs = ze(
4357
+ }, zo = ze(
4373
4358
  (e) => {
4374
- var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
4359
+ var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4375
4360
  if (r == null)
4376
4361
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4377
4362
  return n && (i = Se("number", n)), new Intl.NumberFormat(r, i);
4378
4363
  }
4379
- ), ns = ze(
4364
+ ), Zo = ze(
4380
4365
  (e) => {
4381
- var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
4366
+ var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4382
4367
  if (r == null)
4383
4368
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4384
4369
  return n ? i = Se("date", n) : Object.keys(i).length === 0 && (i = Se("date", "short")), new Intl.DateTimeFormat(r, i);
4385
4370
  }
4386
- ), is = ze(
4371
+ ), Qo = ze(
4387
4372
  (e) => {
4388
- var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
4373
+ var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4389
4374
  if (r == null)
4390
4375
  throw new Error(
4391
4376
  '[svelte-i18n] A "locale" must be set to format time values'
4392
4377
  );
4393
4378
  return n ? i = Se("time", n) : Object.keys(i).length === 0 && (i = Se("time", "short")), new Intl.DateTimeFormat(r, i);
4394
4379
  }
4395
- ), os = (e = {}) => {
4380
+ ), qo = (e = {}) => {
4396
4381
  var t = e, {
4397
- locale: r = ne()
4398
- } = t, n = ve(t, [
4382
+ locale: r = re()
4383
+ } = t, n = _e(t, [
4399
4384
  "locale"
4400
4385
  ]);
4401
- return rs(Et({ locale: r }, n));
4402
- }, ss = (e = {}) => {
4386
+ return zo(Ht({ locale: r }, n));
4387
+ }, Jo = (e = {}) => {
4403
4388
  var t = e, {
4404
- locale: r = ne()
4405
- } = t, n = ve(t, [
4389
+ locale: r = re()
4390
+ } = t, n = _e(t, [
4406
4391
  "locale"
4407
4392
  ]);
4408
- return ns(Et({ locale: r }, n));
4409
- }, as = (e = {}) => {
4393
+ return Zo(Ht({ locale: r }, n));
4394
+ }, Yo = (e = {}) => {
4410
4395
  var t = e, {
4411
- locale: r = ne()
4412
- } = t, n = ve(t, [
4396
+ locale: r = re()
4397
+ } = t, n = _e(t, [
4413
4398
  "locale"
4414
4399
  ]);
4415
- return is(Et({ locale: r }, n));
4416
- }, us = ze(
4400
+ return Qo(Ht({ locale: r }, n));
4401
+ }, Ko = ze(
4417
4402
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4418
- (e, t = ne()) => new No(e, t, pe().formats, {
4403
+ (e, t = re()) => new To(e, t, pe().formats, {
4419
4404
  ignoreTag: pe().ignoreTag
4420
4405
  })
4421
- ), ls = (e, t = {}) => {
4406
+ ), es = (e, t = {}) => {
4422
4407
  var r, n, i, o;
4423
4408
  let s = t;
4424
4409
  typeof e == "object" && (s = e, e = s.id);
4425
4410
  const {
4426
4411
  values: a,
4427
- locale: u = ne(),
4412
+ locale: u = re(),
4428
4413
  default: l
4429
4414
  } = s;
4430
4415
  if (u == null)
4431
4416
  throw new Error(
4432
4417
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4433
4418
  );
4434
- let h = tn(e, u);
4419
+ let h = en(e, u);
4435
4420
  if (!h)
4436
4421
  h = (o = (i = (n = (r = pe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4437
4422
  else if (typeof h != "string")
@@ -4442,7 +4427,7 @@ const Se = (e, t) => {
4442
4427
  return h;
4443
4428
  let f = h;
4444
4429
  try {
4445
- f = us(h, u).format(a);
4430
+ f = Ko(h, u).format(a);
4446
4431
  } catch (c) {
4447
4432
  c instanceof Error && console.warn(
4448
4433
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4450,14 +4435,37 @@ const Se = (e, t) => {
4450
4435
  );
4451
4436
  }
4452
4437
  return f;
4453
- }, 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()) => tn(e, t), ms = be([ye, Me], () => ls);
4454
- be([ye], () => hs);
4455
- be([ye], () => cs);
4456
- be([ye], () => fs);
4457
- be([ye, Me], () => ds);
4458
- window.emWidgets = { topic: Ti };
4459
- 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)), Is = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4460
- function ar(e, { delay: t = 0, duration: r = 400, easing: n = wr } = {}) {
4438
+ }, ts = (e, t) => Yo(t).format(e), rs = (e, t) => Jo(t).format(e), ns = (e, t) => qo(t).format(e), is = (e, t = re()) => en(e, t), os = be([ye, Me], () => es);
4439
+ be([ye], () => ts);
4440
+ be([ye], () => rs);
4441
+ be([ye], () => ns);
4442
+ be([ye, Me], () => is);
4443
+ window.emWidgets = { topic: yi };
4444
+ const ss = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Ss = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4445
+ function as(e, t) {
4446
+ if (e) {
4447
+ const r = document.createElement("style");
4448
+ r.innerHTML = t, e.appendChild(r);
4449
+ }
4450
+ }
4451
+ function us(e, t) {
4452
+ const r = new URL(t);
4453
+ fetch(r.href).then((n) => n.text()).then((n) => {
4454
+ const i = document.createElement("style");
4455
+ i.innerHTML = n, e && e.appendChild(i);
4456
+ }).catch((n) => {
4457
+ console.error("There was an error while trying to load client styling from URL", n);
4458
+ });
4459
+ }
4460
+ function ls(e, t, r) {
4461
+ if (window.emMessageBus) {
4462
+ const n = document.createElement("style");
4463
+ window.emMessageBus.subscribe(t, (i) => {
4464
+ n.innerHTML = i, e && e.appendChild(n);
4465
+ });
4466
+ }
4467
+ }
4468
+ function or(e, { delay: t = 0, duration: r = 400, easing: n = xr } = {}) {
4461
4469
  const i = +getComputedStyle(e).opacity;
4462
4470
  return {
4463
4471
  delay: t,
@@ -4466,13 +4474,13 @@ function ar(e, { delay: t = 0, duration: r = 400, easing: n = wr } = {}) {
4466
4474
  css: (o) => `opacity: ${o * i}`
4467
4475
  };
4468
4476
  }
4469
- function ur(e, t) {
4470
- nn(e, t);
4477
+ function sr(e, t) {
4478
+ rn(e, t);
4471
4479
  }
4472
- function gs(e) {
4480
+ function hs(e) {
4473
4481
  ye.set(e);
4474
4482
  }
4475
- const lr = {
4483
+ const ar = {
4476
4484
  en: {
4477
4485
  language: "Select Language"
4478
4486
  },
@@ -4507,171 +4515,171 @@ const lr = {
4507
4515
  language: "Select Language"
4508
4516
  }
4509
4517
  };
4510
- function bs(e) {
4511
- Dn(e, "svelte-1w56nga", "*,*::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, #D0046C));border-radius:2px}.LanguageSelect{margin:0 20px}.LanguageSelectorTitle{position:fixed;width:90vw;padding:5px 0;bottom:0;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518))}.LanguageSelectorTitle span{display:inline;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));padding:5px 0;display:flex;align-items:center;gap:15px;font-size:12px}.ItemLanguage{height:34px;width:100%;text-align:left;line-height:34px;background:transparent;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));border:none}.ItemLanguage option{color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.HamburgerModalWindow{display:block;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.7)}.HamburgerModalWindow>span{opacity:0}.HamburgerModalWindow .HamburgerModalContainer{max-width:992px;position:relative;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518));width:0vw;height:100%;padding:0;border-top:0;border-radius:0;transition:width 0.4s ease-in-out;overflow-x:hidden;overflow-y:scroll}.HamburgerModalWindow .HamburgerModalContainer.ActiveHamburgerMenu{width:90vw}.HamburgerModalWindow .ModalCloseBtn{position:absolute;top:9px;right:9px;width:20px;height:20px;border-radius:100%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.2);opacity:1;cursor:pointer;transition:all 150ms ease-in-out;transition:opacity 500ms ease-in-out}.HamburgerModalWindow .ModalCloseBtn svg{width:20px;height:20px;padding:2px}.HamburgerModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.HamburgerModalWindow .HamburgerPrimaryMenu,.HamburgerModalWindow .HamburgerSecondaryMenu{font-size:12px;display:flex;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF))}.HamburgerModalWindow .HamburgerPrimaryMenu li,.HamburgerModalWindow .HamburgerSecondaryMenu li{transition:all 150ms ease-in-out}.HamburgerModalWindow .HamburgerPrimaryMenu img,.HamburgerModalWindow .HamburgerSecondaryMenu img{max-width:40px}.HamburgerModalWindow .HamburgerPrimaryMenu{background:var(--emw--header-color-menu-bg, var(--emw--color-background-secondary, #050518));white-space:nowrap;overflow:scroll;list-style:none;border-bottom:2px solid var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));width:90vw}.HamburgerModalWindow .HamburgerPrimaryMenu>li{max-width:100px;padding:14px 25px;display:inline-block}.HamburgerModalWindow .HamburgerPrimaryMenu>li.ActiveItem{background:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C))}.HamburgerModalWindow .HamburgerPrimaryMenu.HamburgerPrimaryMenuFixed{position:fixed}.HamburgerModalWindow .HamburgerPrimaryMenu .HamburgerItemContainer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px}.HamburgerModalWindow .HamburgerSecondaryMenu{margin-top:10px;list-style:none;width:90vw;display:flex;flex-direction:column}.HamburgerModalWindow .HamburgerSecondaryMenu.HamburgerSecondaryMenuFixed{margin-top:106px;margin-bottom:70px}.HamburgerModalWindow .HamburgerSecondaryMenu li{margin:0 20px;padding:20px 0;display:flex;align-items:center;gap:15px}.HamburgerModalWindow .HamburgerSecondaryMenu li a{text-decoration:none;display:flex;align-items:center;gap:15px;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));font-size:14px}.HamburgerModalWindow .HamburgerSecondaryMenu li:not(:last-child){border-bottom:1px solid var(--emw--color-gray-300, #58586B)}.HamburgerModalWindow .HamburgerSecondaryMenu li:active a{color:var(--emw--color-primary, #D0046C)}.FlagIcon{margin-left:12px}.NoFlag{width:88%;margin:0 20px}");
4518
+ function cs(e) {
4519
+ In(e, "svelte-1w56nga", "*,*::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, #D0046C));border-radius:2px}.LanguageSelect{margin:0 20px}.LanguageSelectorTitle{position:fixed;width:90vw;padding:5px 0;bottom:0;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518))}.LanguageSelectorTitle span{display:inline;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));padding:5px 0;display:flex;align-items:center;gap:15px;font-size:12px}.ItemLanguage{height:34px;width:100%;text-align:left;line-height:34px;background:transparent;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));border:none}.ItemLanguage option{color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.HamburgerModalWindow{display:block;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.7)}.HamburgerModalWindow>span{opacity:0}.HamburgerModalWindow .HamburgerModalContainer{max-width:992px;position:relative;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518));width:0vw;height:100%;padding:0;border-top:0;border-radius:0;transition:width 0.4s ease-in-out;overflow-x:hidden;overflow-y:scroll}.HamburgerModalWindow .HamburgerModalContainer.ActiveHamburgerMenu{width:90vw}.HamburgerModalWindow .ModalCloseBtn{position:absolute;top:9px;right:9px;width:20px;height:20px;border-radius:100%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.2);opacity:1;cursor:pointer;transition:all 150ms ease-in-out;transition:opacity 500ms ease-in-out}.HamburgerModalWindow .ModalCloseBtn svg{width:20px;height:20px;padding:2px}.HamburgerModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.HamburgerModalWindow .HamburgerPrimaryMenu,.HamburgerModalWindow .HamburgerSecondaryMenu{font-size:12px;display:flex;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF))}.HamburgerModalWindow .HamburgerPrimaryMenu li,.HamburgerModalWindow .HamburgerSecondaryMenu li{transition:all 150ms ease-in-out}.HamburgerModalWindow .HamburgerPrimaryMenu img,.HamburgerModalWindow .HamburgerSecondaryMenu img{max-width:40px}.HamburgerModalWindow .HamburgerPrimaryMenu{background:var(--emw--header-color-menu-bg, var(--emw--color-background-secondary, #050518));white-space:nowrap;overflow:scroll;list-style:none;border-bottom:2px solid var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));width:90vw}.HamburgerModalWindow .HamburgerPrimaryMenu>li{max-width:100px;padding:14px 25px;display:inline-block}.HamburgerModalWindow .HamburgerPrimaryMenu>li.ActiveItem{background:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C))}.HamburgerModalWindow .HamburgerPrimaryMenu.HamburgerPrimaryMenuFixed{position:fixed}.HamburgerModalWindow .HamburgerPrimaryMenu .HamburgerItemContainer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px}.HamburgerModalWindow .HamburgerSecondaryMenu{margin-top:10px;list-style:none;width:90vw;display:flex;flex-direction:column}.HamburgerModalWindow .HamburgerSecondaryMenu.HamburgerSecondaryMenuFixed{margin-top:106px;margin-bottom:70px}.HamburgerModalWindow .HamburgerSecondaryMenu li{margin:0 20px;padding:20px 0;display:flex;align-items:center;gap:15px}.HamburgerModalWindow .HamburgerSecondaryMenu li a{text-decoration:none;display:flex;align-items:center;gap:15px;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));font-size:14px}.HamburgerModalWindow .HamburgerSecondaryMenu li:not(:last-child){border-bottom:1px solid var(--emw--color-gray-300, #58586B)}.HamburgerModalWindow .HamburgerSecondaryMenu li:active a{color:var(--emw--color-primary, #D0046C)}.FlagIcon{margin-left:12px}.NoFlag{width:88%;margin:0 20px}");
4512
4520
  }
4513
- function hr(e, t, r) {
4521
+ function ur(e, t, r) {
4514
4522
  const n = e.slice();
4515
4523
  return n[53] = t[r], n;
4516
4524
  }
4517
- function cr(e, t, r) {
4525
+ function lr(e, t, r) {
4518
4526
  const n = e.slice();
4519
4527
  return n[1] = t[r], n;
4520
4528
  }
4521
- function fr(e, t, r) {
4529
+ function hr(e, t, r) {
4522
4530
  const n = e.slice();
4523
4531
  return n[56] = t[r], n;
4524
4532
  }
4525
- function dr(e, t, r) {
4533
+ function cr(e, t, r) {
4526
4534
  const n = e.slice();
4527
4535
  return n[59] = t[r], n;
4528
4536
  }
4529
- const ys = (e) => ({}), mr = (e) => ({});
4530
- function pr(e) {
4537
+ const fs = (e) => ({}), fr = (e) => ({});
4538
+ function dr(e) {
4531
4539
  let t, r, n, i, o, s, a, u, l, h, f, c, m, d, b, w;
4532
- const B = (
4540
+ const O = (
4533
4541
  /*#slots*/
4534
- e[30].close
4535
- ), I = Cn(
4536
- B,
4542
+ e[31].close
4543
+ ), I = Sn(
4544
+ O,
4537
4545
  e,
4538
4546
  /*$$scope*/
4539
- e[29],
4540
- mr
4541
- ), S = I || vs();
4542
- let C = Q(
4547
+ e[30],
4548
+ fr
4549
+ ), S = I || ds();
4550
+ let L = q(
4543
4551
  /*HamburgerMenuItems*/
4544
4552
  e[4]
4545
4553
  ), y = [];
4546
- for (let v = 0; v < C.length; v += 1)
4547
- y[v] = gr(dr(e, C, v));
4548
- let M = Q(
4554
+ for (let v = 0; v < L.length; v += 1)
4555
+ y[v] = mr(cr(e, L, v));
4556
+ let M = q(
4549
4557
  /*activeMenuItemChildren*/
4550
4558
  e[6]
4551
4559
  ), _ = [];
4552
4560
  for (let v = 0; v < M.length; v += 1)
4553
- _[v] = br(fr(e, M, v));
4554
- let P = (
4561
+ _[v] = pr(hr(e, M, v));
4562
+ let B = (
4555
4563
  /*languagesArray*/
4556
- e[10].length > 1 && yr(e)
4564
+ e[10].length > 1 && gr(e)
4557
4565
  );
4558
4566
  return {
4559
4567
  c() {
4560
- t = O("div"), r = O("span"), S && S.c(), i = G(), o = O("div"), s = O("ul");
4568
+ t = P("div"), r = P("span"), S && S.c(), i = $(), o = P("div"), s = P("ul");
4561
4569
  for (let v = 0; v < y.length; v += 1)
4562
4570
  y[v].c();
4563
- u = G(), l = O("ul");
4571
+ u = $(), l = P("ul");
4564
4572
  for (let v = 0; v < _.length; v += 1)
4565
4573
  _[v].c();
4566
- f = G(), P && P.c(), g(r, "class", n = /*modalIsOpen*/
4574
+ f = $(), B && B.c(), g(r, "class", n = /*modalIsOpen*/
4567
4575
  e[7] ? "ModalCloseBtn" : ""), g(r, "role", "button"), g(s, "class", a = "HamburgerPrimaryMenu " + /*menuIsFixed*/
4568
4576
  (e[8] ? "HamburgerPrimaryMenuFixed" : "")), g(l, "class", h = "HamburgerSecondaryMenu " + /*menuIsFixed*/
4569
4577
  (e[8] ? "HamburgerSecondaryMenuFixed" : "")), g(o, "class", c = "HamburgerModalContainer " + /*modalIsOpen*/
4570
4578
  (e[7] ? "ActiveHamburgerMenu" : "")), g(t, "class", "HamburgerModalWindow"), g(t, "part", "HamburgerModalWindow");
4571
4579
  },
4572
- m(v, R) {
4573
- V(v, t, R), x(t, r), S && S.m(r, null), x(t, i), x(t, o), x(o, s);
4580
+ m(v, C) {
4581
+ k(v, t, C), x(t, r), S && S.m(r, null), x(t, i), x(t, o), x(o, s);
4574
4582
  for (let E = 0; E < y.length; E += 1)
4575
4583
  y[E] && y[E].m(s, null);
4576
4584
  x(o, u), x(o, l);
4577
4585
  for (let E = 0; E < _.length; E += 1)
4578
4586
  _[E] && _[E].m(l, null);
4579
- x(o, f), P && P.m(o, null), e[37](t), d = !0, b || (w = re(
4587
+ x(o, f), B && B.m(o, null), e[38](t), d = !0, b || (w = te(
4580
4588
  r,
4581
4589
  "click",
4582
4590
  /*close*/
4583
4591
  e[14]
4584
4592
  ), b = !0);
4585
4593
  },
4586
- p(v, R) {
4587
- if (e = v, I && I.p && (!d || R[0] & /*$$scope*/
4588
- 536870912) && Nn(
4594
+ p(v, C) {
4595
+ if (e = v, I && I.p && (!d || C[0] & /*$$scope*/
4596
+ 1073741824) && Mn(
4589
4597
  I,
4590
- B,
4598
+ O,
4591
4599
  e,
4592
4600
  /*$$scope*/
4593
- e[29],
4594
- d ? Ln(
4595
- B,
4601
+ e[30],
4602
+ d ? Tn(
4603
+ O,
4596
4604
  /*$$scope*/
4597
- e[29],
4598
- R,
4599
- ys
4600
- ) : Rn(
4605
+ e[30],
4606
+ C,
4607
+ fs
4608
+ ) : An(
4601
4609
  /*$$scope*/
4602
- e[29]
4610
+ e[30]
4603
4611
  ),
4604
- mr
4605
- ), (!d || R[0] & /*modalIsOpen*/
4612
+ fr
4613
+ ), (!d || C[0] & /*modalIsOpen*/
4606
4614
  128 && n !== (n = /*modalIsOpen*/
4607
- e[7] ? "ModalCloseBtn" : "")) && g(r, "class", n), R[0] & /*activeMenuItemId, HamburgerMenuItems, changeMenu*/
4615
+ e[7] ? "ModalCloseBtn" : "")) && g(r, "class", n), C[0] & /*activeMenuItemId, HamburgerMenuItems, changeMenu*/
4608
4616
  32816) {
4609
- C = Q(
4617
+ L = q(
4610
4618
  /*HamburgerMenuItems*/
4611
4619
  e[4]
4612
4620
  );
4613
4621
  let E;
4614
- for (E = 0; E < C.length; E += 1) {
4615
- const k = dr(e, C, E);
4616
- y[E] ? y[E].p(k, R) : (y[E] = gr(k), y[E].c(), y[E].m(s, null));
4622
+ for (E = 0; E < L.length; E += 1) {
4623
+ const j = cr(e, L, E);
4624
+ y[E] ? y[E].p(j, C) : (y[E] = mr(j), y[E].c(), y[E].m(s, null));
4617
4625
  }
4618
4626
  for (; E < y.length; E += 1)
4619
4627
  y[E].d(1);
4620
- y.length = C.length;
4628
+ y.length = L.length;
4621
4629
  }
4622
- if ((!d || R[0] & /*menuIsFixed*/
4630
+ if ((!d || C[0] & /*menuIsFixed*/
4623
4631
  256 && a !== (a = "HamburgerPrimaryMenu " + /*menuIsFixed*/
4624
- (e[8] ? "HamburgerPrimaryMenuFixed" : ""))) && g(s, "class", a), R[0] & /*handleClick, activeMenuItemChildren*/
4632
+ (e[8] ? "HamburgerPrimaryMenuFixed" : ""))) && g(s, "class", a), C[0] & /*handleClick, activeMenuItemChildren*/
4625
4633
  65600) {
4626
- M = Q(
4634
+ M = q(
4627
4635
  /*activeMenuItemChildren*/
4628
4636
  e[6]
4629
4637
  );
4630
4638
  let E;
4631
4639
  for (E = 0; E < M.length; E += 1) {
4632
- const k = fr(e, M, E);
4633
- _[E] ? _[E].p(k, R) : (_[E] = br(k), _[E].c(), _[E].m(l, null));
4640
+ const j = hr(e, M, E);
4641
+ _[E] ? _[E].p(j, C) : (_[E] = pr(j), _[E].c(), _[E].m(l, null));
4634
4642
  }
4635
4643
  for (; E < _.length; E += 1)
4636
4644
  _[E].d(1);
4637
4645
  _.length = M.length;
4638
4646
  }
4639
- (!d || R[0] & /*menuIsFixed*/
4647
+ (!d || C[0] & /*menuIsFixed*/
4640
4648
  256 && h !== (h = "HamburgerSecondaryMenu " + /*menuIsFixed*/
4641
4649
  (e[8] ? "HamburgerSecondaryMenuFixed" : ""))) && g(l, "class", h), /*languagesArray*/
4642
- e[10].length > 1 ? P ? P.p(e, R) : (P = yr(e), P.c(), P.m(o, null)) : P && (P.d(1), P = null), (!d || R[0] & /*modalIsOpen*/
4650
+ e[10].length > 1 ? B ? B.p(e, C) : (B = gr(e), B.c(), B.m(o, null)) : B && (B.d(1), B = null), (!d || C[0] & /*modalIsOpen*/
4643
4651
  128 && c !== (c = "HamburgerModalContainer " + /*modalIsOpen*/
4644
4652
  (e[7] ? "ActiveHamburgerMenu" : ""))) && g(o, "class", c);
4645
4653
  },
4646
4654
  i(v) {
4647
4655
  d || (le(S, v), v && ce(() => {
4648
- d && (m || (m = $t(t, ar, { transitionDuration: Er }, !0)), m.run(1));
4656
+ d && (m || (m = Ut(t, or, { transitionDuration: vr }, !0)), m.run(1));
4649
4657
  }), d = !0);
4650
4658
  },
4651
4659
  o(v) {
4652
- ot(S, v), v && (m || (m = $t(t, ar, { transitionDuration: Er }, !1)), m.run(0)), d = !1;
4660
+ ot(S, v), v && (m || (m = Ut(t, or, { transitionDuration: vr }, !1)), m.run(0)), d = !1;
4653
4661
  },
4654
4662
  d(v) {
4655
- v && D(t), S && S.d(v), Fe(y, v), Fe(_, v), P && P.d(), e[37](null), v && m && m.end(), b = !1, w();
4663
+ v && U(t), S && S.d(v), Fe(y, v), Fe(_, v), B && B.d(), e[38](null), v && m && m.end(), b = !1, w();
4656
4664
  }
4657
4665
  };
4658
4666
  }
4659
- function vs(e) {
4667
+ function ds(e) {
4660
4668
  let t, r;
4661
4669
  return {
4662
4670
  c() {
4663
- t = te("svg"), r = te("path"), g(r, "stroke-linecap", "round"), g(r, "stroke-linejoin", "round"), g(r, "stroke-width", "2"), g(r, "d", "M6 18L18 6M6 6l12 12"), g(t, "class", "w-6 h-6"), g(t, "part", "w-6 h-6"), g(t, "fill", "none"), g(t, "stroke", "currentColor"), g(t, "viewBox", "0 0 24 24"), g(t, "xmlns", "http://www.w3.org/2000/svg");
4671
+ t = ee("svg"), r = ee("path"), g(r, "stroke-linecap", "round"), g(r, "stroke-linejoin", "round"), g(r, "stroke-width", "2"), g(r, "d", "M6 18L18 6M6 6l12 12"), g(t, "class", "w-6 h-6"), g(t, "part", "w-6 h-6"), g(t, "fill", "none"), g(t, "stroke", "currentColor"), g(t, "viewBox", "0 0 24 24"), g(t, "xmlns", "http://www.w3.org/2000/svg");
4664
4672
  },
4665
4673
  m(n, i) {
4666
- V(n, t, i), x(t, r);
4674
+ k(n, t, i), x(t, r);
4667
4675
  },
4668
- p: $,
4676
+ p: D,
4669
4677
  d(n) {
4670
- n && D(t);
4678
+ n && U(t);
4671
4679
  }
4672
4680
  };
4673
4681
  }
4674
- function gr(e) {
4682
+ function mr(e) {
4675
4683
  let t, r, n, i, o, s = (
4676
4684
  /*mainItem*/
4677
4685
  e[59].label + ""
@@ -4679,7 +4687,7 @@ function gr(e) {
4679
4687
  function c() {
4680
4688
  return (
4681
4689
  /*click_handler*/
4682
- e[31](
4690
+ e[32](
4683
4691
  /*mainItem*/
4684
4692
  e[59]
4685
4693
  )
@@ -4687,13 +4695,13 @@ function gr(e) {
4687
4695
  }
4688
4696
  return {
4689
4697
  c() {
4690
- t = O("li"), r = O("div"), n = O("img"), o = G(), a = K(s), u = G(), Y(n.src, i = /*mainItem*/
4698
+ t = P("li"), r = P("div"), n = P("img"), o = $(), a = K(s), u = $(), Y(n.src, i = /*mainItem*/
4691
4699
  e[59].img) || g(n, "src", i), g(n, "alt", "menu icon"), g(r, "class", "HamburgerItemContainer"), g(t, "class", l = /*activeMenuItemId*/
4692
4700
  e[5] === /*mainItem*/
4693
4701
  e[59].id ? "ActiveItem" : "");
4694
4702
  },
4695
4703
  m(m, d) {
4696
- V(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);
4704
+ k(m, t, d), x(t, r), x(r, n), x(r, o), x(r, a), x(t, u), h || (f = te(t, "click", c), h = !0);
4697
4705
  },
4698
4706
  p(m, d) {
4699
4707
  e = m, d[0] & /*HamburgerMenuItems*/
@@ -4706,11 +4714,11 @@ function gr(e) {
4706
4714
  e[59].id ? "ActiveItem" : "") && g(t, "class", l);
4707
4715
  },
4708
4716
  d(m) {
4709
- m && D(t), h = !1, f();
4717
+ m && U(t), h = !1, f();
4710
4718
  }
4711
4719
  };
4712
4720
  }
4713
- function br(e) {
4721
+ function pr(e) {
4714
4722
  let t, r, n, i, o = (
4715
4723
  /*secondaryItem*/
4716
4724
  e[56].label + ""
@@ -4718,7 +4726,7 @@ function br(e) {
4718
4726
  function h(...f) {
4719
4727
  return (
4720
4728
  /*click_handler_1*/
4721
- e[32](
4729
+ e[33](
4722
4730
  /*secondaryItem*/
4723
4731
  e[56],
4724
4732
  ...f
@@ -4727,11 +4735,11 @@ function br(e) {
4727
4735
  }
4728
4736
  return {
4729
4737
  c() {
4730
- t = O("li"), r = O("img"), i = G(), s = K(o), a = G(), Y(r.src, n = /*secondaryItem*/
4738
+ t = P("li"), r = P("img"), i = $(), s = K(o), a = $(), Y(r.src, n = /*secondaryItem*/
4731
4739
  e[56].img) || g(r, "src", n), g(r, "alt", "menu icon");
4732
4740
  },
4733
4741
  m(f, c) {
4734
- V(f, t, c), x(t, r), x(t, i), x(t, s), x(t, a), u || (l = re(t, "click", h), u = !0);
4742
+ k(f, t, c), x(t, r), x(t, i), x(t, s), x(t, a), u || (l = te(t, "click", h), u = !0);
4735
4743
  },
4736
4744
  p(f, c) {
4737
4745
  e = f, c[0] & /*activeMenuItemChildren*/
@@ -4741,11 +4749,11 @@ function br(e) {
4741
4749
  e[56].label + "") && ge(s, o);
4742
4750
  },
4743
4751
  d(f) {
4744
- f && D(t), u = !1, l();
4752
+ f && U(t), u = !1, l();
4745
4753
  }
4746
4754
  };
4747
4755
  }
4748
- function yr(e) {
4756
+ function gr(e) {
4749
4757
  let t, r, n = (
4750
4758
  /*$_*/
4751
4759
  e[13]("language") + ""
@@ -4753,16 +4761,16 @@ function yr(e) {
4753
4761
  function s(l, h) {
4754
4762
  return (
4755
4763
  /*countryflaghamburger*/
4756
- l[0] !== "true" ? xs : _s
4764
+ l[0] !== "true" ? ps : ms
4757
4765
  );
4758
4766
  }
4759
4767
  let a = s(e), u = a(e);
4760
4768
  return {
4761
4769
  c() {
4762
- t = O("div"), r = O("span"), i = K(n), o = G(), u.c(), g(r, "class", "LanguageSelect"), g(t, "class", "LanguageSelectorTitle");
4770
+ t = P("div"), r = P("span"), i = K(n), o = $(), u.c(), g(r, "class", "LanguageSelect"), g(t, "class", "LanguageSelectorTitle");
4763
4771
  },
4764
4772
  m(l, h) {
4765
- V(l, t, h), x(t, r), x(r, i), x(t, o), u.m(t, null);
4773
+ k(l, t, h), x(t, r), x(r, i), x(t, o), u.m(t, null);
4766
4774
  },
4767
4775
  p(l, h) {
4768
4776
  h[0] & /*$_*/
@@ -4770,33 +4778,33 @@ function yr(e) {
4770
4778
  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)));
4771
4779
  },
4772
4780
  d(l) {
4773
- l && D(t), u.d();
4781
+ l && U(t), u.d();
4774
4782
  }
4775
4783
  };
4776
4784
  }
4777
- function _s(e) {
4785
+ function ms(e) {
4778
4786
  let t, r, n, i, o, s, a, u = (
4779
4787
  /*selectedLanguage*/
4780
4788
  e[12].slice(-2) + ""
4781
- ), l, h, f, c, m, d, b, w, B, I, S, C, y = (
4789
+ ), l, h, f, c, m, d, b, w, O, I, S, L, y = (
4782
4790
  /*isOptionsListVisible*/
4783
- e[11] && vr(e)
4791
+ e[11] && br(e)
4784
4792
  );
4785
4793
  return {
4786
4794
  c() {
4787
- t = O("div"), r = O("div"), n = O("span"), i = O("img"), s = G(), a = O("span"), l = K(u), h = G(), f = O("span"), c = te("svg"), m = te("g"), d = te("g"), b = te("g"), w = te("path"), I = G(), y && y.c(), Y(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4795
+ t = P("div"), r = P("div"), n = P("span"), i = P("img"), s = $(), a = P("span"), l = K(u), h = $(), f = P("span"), c = ee("svg"), m = ee("g"), d = ee("g"), b = ee("g"), w = ee("path"), I = $(), y && y.c(), Y(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4788
4796
  e[20](
4789
4797
  /*selectedLanguage*/
4790
4798
  e[12].slice(-2)
4791
- )}.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", B = "TriangleInactive " + /*isOptionsListVisible*/
4799
+ )}.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", O = "TriangleInactive " + /*isOptionsListVisible*/
4792
4800
  (e[11] ? "TriangleActive" : "")), g(r, "class", "SelectedOption Item ItemLanguage"), g(t, "class", "LanguageDropdown");
4793
4801
  },
4794
4802
  m(M, _) {
4795
- V(M, t, _), x(t, r), x(r, n), x(n, i), x(r, s), x(r, a), x(a, l), x(r, h), x(r, f), x(f, c), x(c, m), x(m, d), x(d, b), x(b, w), x(t, I), y && y.m(t, null), S || (C = re(
4803
+ k(M, t, _), x(t, r), x(r, n), x(n, i), x(r, s), x(r, a), x(a, l), x(r, h), x(r, f), x(f, c), x(c, m), x(m, d), x(d, b), x(b, w), x(t, I), y && y.m(t, null), S || (L = te(
4796
4804
  r,
4797
4805
  "click",
4798
4806
  /*click_handler_2*/
4799
- e[35]
4807
+ e[36]
4800
4808
  ), S = !0);
4801
4809
  },
4802
4810
  p(M, _) {
@@ -4808,115 +4816,115 @@ function _s(e) {
4808
4816
  )}.svg`) && g(i, "src", o), _[0] & /*selectedLanguage*/
4809
4817
  4096 && u !== (u = /*selectedLanguage*/
4810
4818
  M[12].slice(-2) + "") && ge(l, u), _[0] & /*isOptionsListVisible*/
4811
- 2048 && B !== (B = "TriangleInactive " + /*isOptionsListVisible*/
4812
- (M[11] ? "TriangleActive" : "")) && g(f, "class", B), /*isOptionsListVisible*/
4813
- M[11] ? y ? y.p(M, _) : (y = vr(M), y.c(), y.m(t, null)) : y && (y.d(1), y = null);
4819
+ 2048 && O !== (O = "TriangleInactive " + /*isOptionsListVisible*/
4820
+ (M[11] ? "TriangleActive" : "")) && g(f, "class", O), /*isOptionsListVisible*/
4821
+ M[11] ? y ? y.p(M, _) : (y = br(M), y.c(), y.m(t, null)) : y && (y.d(1), y = null);
4814
4822
  },
4815
4823
  d(M) {
4816
- M && D(t), y && y.d(), S = !1, C();
4824
+ M && U(t), y && y.d(), S = !1, L();
4817
4825
  }
4818
4826
  };
4819
4827
  }
4820
- function xs(e) {
4821
- let t, r, n, i = Q(
4828
+ function ps(e) {
4829
+ let t, r, n, i = q(
4822
4830
  /*languagesArray*/
4823
4831
  e[10]
4824
4832
  ), o = [];
4825
4833
  for (let s = 0; s < i.length; s += 1)
4826
- o[s] = xr(cr(e, i, s));
4834
+ o[s] = _r(lr(e, i, s));
4827
4835
  return {
4828
4836
  c() {
4829
- t = O("select");
4837
+ t = P("select");
4830
4838
  for (let s = 0; s < o.length; s += 1)
4831
4839
  o[s].c();
4832
4840
  g(t, "class", "Item ItemLanguage NoFlag"), /*selectedLanguage*/
4833
4841
  e[12] === void 0 && ce(() => (
4834
4842
  /*select_change_handler*/
4835
- e[33].call(t)
4843
+ e[34].call(t)
4836
4844
  ));
4837
4845
  },
4838
4846
  m(s, a) {
4839
- V(s, t, a);
4847
+ k(s, t, a);
4840
4848
  for (let u = 0; u < o.length; u += 1)
4841
4849
  o[u] && o[u].m(t, null);
4842
- Ft(
4850
+ Nt(
4843
4851
  t,
4844
4852
  /*selectedLanguage*/
4845
4853
  e[12],
4846
4854
  !0
4847
4855
  ), r || (n = [
4848
- re(
4856
+ te(
4849
4857
  t,
4850
4858
  "change",
4851
4859
  /*select_change_handler*/
4852
- e[33]
4860
+ e[34]
4853
4861
  ),
4854
- re(
4862
+ te(
4855
4863
  t,
4856
4864
  "change",
4857
4865
  /*change_handler*/
4858
- e[34]
4866
+ e[35]
4859
4867
  )
4860
4868
  ], r = !0);
4861
4869
  },
4862
4870
  p(s, a) {
4863
4871
  if (a[0] & /*languagesArray*/
4864
4872
  1024) {
4865
- i = Q(
4873
+ i = q(
4866
4874
  /*languagesArray*/
4867
4875
  s[10]
4868
4876
  );
4869
4877
  let u;
4870
4878
  for (u = 0; u < i.length; u += 1) {
4871
- const l = cr(s, i, u);
4872
- o[u] ? o[u].p(l, a) : (o[u] = xr(l), o[u].c(), o[u].m(t, null));
4879
+ const l = lr(s, i, u);
4880
+ o[u] ? o[u].p(l, a) : (o[u] = _r(l), o[u].c(), o[u].m(t, null));
4873
4881
  }
4874
4882
  for (; u < o.length; u += 1)
4875
4883
  o[u].d(1);
4876
4884
  o.length = i.length;
4877
4885
  }
4878
4886
  a[0] & /*selectedLanguage, languagesArray*/
4879
- 5120 && Ft(
4887
+ 5120 && Nt(
4880
4888
  t,
4881
4889
  /*selectedLanguage*/
4882
4890
  s[12]
4883
4891
  );
4884
4892
  },
4885
4893
  d(s) {
4886
- s && D(t), Fe(o, s), r = !1, Z(n);
4894
+ s && U(t), Fe(o, s), r = !1, z(n);
4887
4895
  }
4888
4896
  };
4889
4897
  }
4890
- function vr(e) {
4891
- let t, r = Q(
4898
+ function br(e) {
4899
+ let t, r = q(
4892
4900
  /*languagesArray*/
4893
4901
  e[10]
4894
4902
  ), n = [];
4895
4903
  for (let i = 0; i < r.length; i += 1)
4896
- n[i] = _r(hr(e, r, i));
4904
+ n[i] = yr(ur(e, r, i));
4897
4905
  return {
4898
4906
  c() {
4899
- t = O("div");
4907
+ t = P("div");
4900
4908
  for (let i = 0; i < n.length; i += 1)
4901
4909
  n[i].c();
4902
4910
  g(t, "class", "OptionList");
4903
4911
  },
4904
4912
  m(i, o) {
4905
- V(i, t, o);
4913
+ k(i, t, o);
4906
4914
  for (let s = 0; s < n.length; s += 1)
4907
4915
  n[s] && n[s].m(t, null);
4908
4916
  },
4909
4917
  p(i, o) {
4910
4918
  if (o[0] & /*selectLanguage, languagesArray, determineFlag*/
4911
4919
  1311744) {
4912
- r = Q(
4920
+ r = q(
4913
4921
  /*languagesArray*/
4914
4922
  i[10]
4915
4923
  );
4916
4924
  let s;
4917
4925
  for (s = 0; s < r.length; s += 1) {
4918
- const a = hr(i, r, s);
4919
- n[s] ? n[s].p(a, o) : (n[s] = _r(a), n[s].c(), n[s].m(t, null));
4926
+ const a = ur(i, r, s);
4927
+ n[s] ? n[s].p(a, o) : (n[s] = yr(a), n[s].c(), n[s].m(t, null));
4920
4928
  }
4921
4929
  for (; s < n.length; s += 1)
4922
4930
  n[s].d(1);
@@ -4924,11 +4932,11 @@ function vr(e) {
4924
4932
  }
4925
4933
  },
4926
4934
  d(i) {
4927
- i && D(t), Fe(n, i);
4935
+ i && U(t), Fe(n, i);
4928
4936
  }
4929
4937
  };
4930
4938
  }
4931
- function _r(e) {
4939
+ function yr(e) {
4932
4940
  let t, r, n, i, o, s, a = (
4933
4941
  /*operatorLanguage*/
4934
4942
  e[53] + ""
@@ -4936,7 +4944,7 @@ function _r(e) {
4936
4944
  function c() {
4937
4945
  return (
4938
4946
  /*click_handler_3*/
4939
- e[36](
4947
+ e[37](
4940
4948
  /*operatorLanguage*/
4941
4949
  e[53]
4942
4950
  )
@@ -4944,14 +4952,14 @@ function _r(e) {
4944
4952
  }
4945
4953
  return {
4946
4954
  c() {
4947
- t = O("div"), r = O("span"), n = O("img"), o = G(), s = O("span"), u = K(a), l = G(), Y(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4955
+ t = P("div"), r = P("span"), n = P("img"), o = $(), s = P("span"), u = K(a), l = $(), Y(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4948
4956
  e[20](
4949
4957
  /*operatorLanguage*/
4950
4958
  e[53]
4951
4959
  )}.svg`) || g(n, "src", i), g(r, "class", "FlagIcon"), g(s, "class", "LanguageName"), g(t, "class", "LanguageOption");
4952
4960
  },
4953
4961
  m(m, d) {
4954
- V(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);
4962
+ k(m, t, d), x(t, r), x(r, n), x(t, o), x(t, s), x(s, u), x(t, l), h || (f = te(t, "click", c), h = !0);
4955
4963
  },
4956
4964
  p(m, d) {
4957
4965
  e = m, d[0] & /*languagesArray*/
@@ -4964,53 +4972,53 @@ function _r(e) {
4964
4972
  e[53] + "") && ge(u, a);
4965
4973
  },
4966
4974
  d(m) {
4967
- m && D(t), h = !1, f();
4975
+ m && U(t), h = !1, f();
4968
4976
  }
4969
4977
  };
4970
4978
  }
4971
- function xr(e) {
4979
+ function _r(e) {
4972
4980
  let t, r = (
4973
4981
  /*lang*/
4974
4982
  e[1].slice(-2) + ""
4975
4983
  ), n, i;
4976
4984
  return {
4977
4985
  c() {
4978
- t = O("option"), n = K(r), t.__value = i = /*lang*/
4979
- e[1], Rt(t, t.__value), t.selected = !0;
4986
+ t = P("option"), n = K(r), t.__value = i = /*lang*/
4987
+ e[1], Ct(t, t.__value), t.selected = !0;
4980
4988
  },
4981
4989
  m(o, s) {
4982
- V(o, t, s), x(t, n);
4990
+ k(o, t, s), x(t, n);
4983
4991
  },
4984
4992
  p(o, s) {
4985
4993
  s[0] & /*languagesArray*/
4986
4994
  1024 && r !== (r = /*lang*/
4987
4995
  o[1].slice(-2) + "") && ge(n, r), s[0] & /*languagesArray*/
4988
4996
  1024 && i !== (i = /*lang*/
4989
- o[1]) && (t.__value = i, Rt(t, t.__value));
4997
+ o[1]) && (t.__value = i, Ct(t, t.__value));
4990
4998
  },
4991
4999
  d(o) {
4992
- o && D(t);
5000
+ o && U(t);
4993
5001
  }
4994
5002
  };
4995
5003
  }
4996
- function Es(e) {
5004
+ function gs(e) {
4997
5005
  let t, r, n = (
4998
5006
  /*show*/
4999
- e[9] === !0 && pr(e)
5007
+ e[9] === !0 && dr(e)
5000
5008
  );
5001
5009
  return {
5002
5010
  c() {
5003
- t = O("div"), n && n.c();
5011
+ t = P("div"), n && n.c();
5004
5012
  },
5005
5013
  m(i, o) {
5006
- V(i, t, o), n && n.m(t, null), e[38](t), r = !0;
5014
+ k(i, t, o), n && n.m(t, null), e[39](t), r = !0;
5007
5015
  },
5008
5016
  p(i, o) {
5009
5017
  /*show*/
5010
5018
  i[9] === !0 ? n ? (n.p(i, o), o[0] & /*show*/
5011
- 512 && le(n, 1)) : (n = pr(i), n.c(), le(n, 1), n.m(t, null)) : n && (ri(), ot(n, 1, 1, () => {
5019
+ 512 && le(n, 1)) : (n = dr(i), n.c(), le(n, 1), n.m(t, null)) : n && (Zn(), ot(n, 1, 1, () => {
5012
5020
  n = null;
5013
- }), ni());
5021
+ }), Qn());
5014
5022
  },
5015
5023
  i(i) {
5016
5024
  r || (le(n), r = !0);
@@ -5019,74 +5027,73 @@ function Es(e) {
5019
5027
  ot(n), r = !1;
5020
5028
  },
5021
5029
  d(i) {
5022
- i && D(t), n && n.d(), e[38](null);
5030
+ i && U(t), n && n.d(), e[39](null);
5023
5031
  }
5024
5032
  };
5025
5033
  }
5026
- let Er = 350;
5027
- function ws(e, t, r) {
5034
+ let vr = 350;
5035
+ function bs(e, t, r) {
5028
5036
  let n;
5029
- In(e, ms, (p) => r(13, n = p));
5030
- 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, b, w = window.navigator.userAgent, B = [], I, S = "", C = [], y = !1, M = !1, _ = !1, P = !0, v = [], R = !1, E = !1, k = "", ee;
5031
- const hn = () => {
5032
- fetch(h).then((L) => L.json()).then((L) => {
5033
- Object.keys(L).forEach((U) => {
5034
- ur(U, L[U]);
5037
+ Hn(e, os, (p) => r(13, n = p));
5038
+ 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, O = window.navigator.userAgent, I = [], S, L = "", y = [], M = !1, _ = !1, B = !1, v = !0, C = [], E = !1, j = !1, ne = "", V, St;
5039
+ const ln = () => {
5040
+ fetch(h).then((R) => R.json()).then((R) => {
5041
+ Object.keys(R).forEach((Q) => {
5042
+ sr(Q, R[Q]);
5035
5043
  });
5036
- }).catch((L) => {
5037
- console.log(L);
5044
+ }).catch((R) => {
5045
+ console.log(R);
5038
5046
  });
5039
5047
  };
5040
- Object.keys(lr).forEach((p) => {
5041
- ur(p, lr[p]);
5048
+ Object.keys(ar).forEach((p) => {
5049
+ sr(p, ar[p]);
5042
5050
  });
5043
- const wt = () => {
5044
- r(9, _ = !1), r(7, y = !1), r(8, M = !1), r(11, E = !1), window.postMessage(
5051
+ const Tt = () => {
5052
+ r(9, B = !1), r(7, M = !1), r(8, _ = !1), r(11, j = !1), window.postMessage(
5045
5053
  {
5046
5054
  type: "CloseHamburgerMenu",
5047
5055
  showhamburger: !0
5048
5056
  },
5049
5057
  window.location.href
5050
5058
  );
5051
- }, Ht = (p) => {
5052
- p.data.type === "OpenHamburgerMenuModal" && (window.postMessage({ type: "DisableScroll" }, window.location.href), r(9, _ = !0), setTimeout(
5059
+ }, Mt = (p) => {
5060
+ p.data.type === "OpenHamburgerMenuModal" && (window.postMessage({ type: "DisableScroll" }, window.location.href), r(9, B = !0), setTimeout(
5053
5061
  () => {
5054
- r(7, y = !0);
5062
+ r(7, M = !0);
5055
5063
  },
5056
5064
  500
5057
5065
  ), setTimeout(
5058
5066
  () => {
5059
- r(8, M = !0);
5067
+ r(8, _ = !0);
5060
5068
  },
5061
5069
  1500
5062
- ), cn(s));
5063
- }, Ae = (p, L) => {
5064
- r(5, S = p), r(6, C = L || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
5070
+ ), hn(s));
5071
+ }, Ae = (p, R) => {
5072
+ r(5, L = p), r(6, y = R || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
5065
5073
  context: "HamburgerMenu",
5066
- menuItem: `${S}`
5074
+ menuItem: `${L}`
5067
5075
  });
5068
- }, St = () => {
5069
- let p = B.filter((L) => {
5070
- var Pt;
5071
- let U = !1;
5072
- return (Pt = L.children) == null || Pt.forEach((Hn) => {
5073
- Hn.path.includes(u) && (U = !0);
5074
- }), U;
5076
+ }, At = () => {
5077
+ let p = I.filter((R) => {
5078
+ let Q = !1;
5079
+ return R.children?.forEach((xn) => {
5080
+ xn.path.includes(u) && (Q = !0);
5081
+ }), Q;
5075
5082
  });
5076
- p.length > 0 ? Ae(p[0].id, p[0].children) : Ae(B[0].id, B[0].children);
5077
- }, cn = (p) => new Promise((L, U) => {
5078
- I && !R ? L(I) : Tt(p);
5079
- }), Tt = (p) => {
5080
- fetch(p).then((L) => L.json()).then(
5081
- (L) => {
5082
- r(4, B = L.filter((U) => (U == null ? void 0 : U.type) !== "banner")), St(), r(28, P = !1), I = L, R = !1;
5083
+ p.length > 0 ? Ae(p[0].id, p[0].children) : Ae(I[0].id, I[0].children);
5084
+ }, hn = (p) => new Promise((R, Q) => {
5085
+ S && !E ? R(S) : Bt(p);
5086
+ }), Bt = (p) => {
5087
+ fetch(p).then((R) => R.json()).then(
5088
+ (R) => {
5089
+ r(4, I = R.filter((Q) => Q?.type !== "banner")), At(), r(29, v = !1), S = R, E = !1;
5083
5090
  },
5084
- (L) => {
5085
- console.error(L);
5091
+ (R) => {
5092
+ console.error(R);
5086
5093
  }
5087
5094
  );
5088
5095
  };
5089
- let Mt = (p) => {
5096
+ let Pt = (p) => {
5090
5097
  window.postMessage(
5091
5098
  {
5092
5099
  type: "NavigateTo",
@@ -5095,87 +5102,75 @@ function ws(e, t, r) {
5095
5102
  target: p.attrs.target || null
5096
5103
  },
5097
5104
  window.location.href
5098
- ), wt();
5105
+ ), Tt();
5099
5106
  };
5100
5107
  const Ze = () => {
5101
- R = !0, window.postMessage(
5108
+ E = !0, window.postMessage(
5102
5109
  {
5103
5110
  type: "LanguageChanged",
5104
- selectedLanguage: k
5111
+ selectedLanguage: ne
5105
5112
  },
5106
5113
  window.location.href
5107
5114
  );
5108
- }, fn = () => {
5109
- gs(a), R && Tt(s), r(10, v = l.replace(/ /g, "").split(",")), r(10, v = v.map((p) => p.toUpperCase())), r(12, k = a.toUpperCase());
5110
- }, At = (p) => {
5111
- r(12, k = p), r(11, E = !1), Ze();
5112
- }, Bt = () => {
5113
- r(11, E = !E);
5114
- }, dn = (p) => (m && (p = m.includes(p.toLowerCase()) ? m.slice(-2) : p), p == "EN" ? "US" : p.toUpperCase()), mn = () => {
5115
- let p = document.createElement("style");
5116
- p.innerHTML = f, ee.appendChild(p);
5117
- }, pn = () => {
5118
- let p = new URL(c), L = document.createElement("style");
5119
- fetch(p.href).then((U) => U.text()).then((U) => {
5120
- L.innerHTML = U, setTimeout(
5121
- () => {
5122
- ee.appendChild(L);
5123
- },
5124
- 1
5125
- );
5126
- });
5127
- };
5128
- Qn(() => (window.addEventListener("message", Ht, !1), ps(w), () => {
5129
- window.removeEventListener("message", Ht);
5115
+ }, cn = () => {
5116
+ hs(a), E && Bt(s), r(10, C = l.replace(/ /g, "").split(",")), r(10, C = C.map((p) => p.toUpperCase())), r(12, ne = a.toUpperCase());
5117
+ }, It = (p) => {
5118
+ r(12, ne = p), r(11, j = !1), Ze();
5119
+ }, Ot = () => {
5120
+ r(11, j = !j);
5121
+ }, fn = (p) => (m && (p = m.includes(p.toLowerCase()) ? m.slice(-2) : p), p == "EN" ? "US" : p.toUpperCase());
5122
+ kn(() => (window.addEventListener("message", Mt, !1), ss(O), () => {
5123
+ window.emMessageBus && St && St.unsubscribe(), window.removeEventListener("message", Mt);
5130
5124
  }));
5131
- const gn = (p) => Ae(p.id, p.children), bn = (p, L) => {
5132
- Mt(p), L.preventDefault();
5125
+ const dn = (p) => Ae(p.id, p.children), mn = (p, R) => {
5126
+ Pt(p), R.preventDefault();
5133
5127
  };
5134
- function yn() {
5135
- k = kn(this), r(12, k), r(10, v);
5128
+ function pn() {
5129
+ ne = Cn(this), r(12, ne), r(10, C);
5136
5130
  }
5137
- const vn = () => Ze(), _n = () => Bt(), xn = (p) => At(p);
5138
- function En(p) {
5131
+ const gn = () => Ze(), bn = () => Ot(), yn = (p) => It(p);
5132
+ function _n(p) {
5139
5133
  $e[p ? "unshift" : "push"](() => {
5140
- b = p, r(3, b);
5134
+ w = p, r(3, w);
5141
5135
  });
5142
5136
  }
5143
- function wn(p) {
5137
+ function vn(p) {
5144
5138
  $e[p ? "unshift" : "push"](() => {
5145
- ee = p, r(2, ee);
5139
+ V = p, r(2, V);
5146
5140
  });
5147
5141
  }
5148
5142
  return e.$$set = (p) => {
5149
- "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), "$$scope" in p && r(29, o = p.$$scope);
5143
+ "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);
5150
5144
  }, e.$$.update = () => {
5151
5145
  e.$$.dirty[0] & /*lang, languageslist*/
5152
- 8388610 && a && l && fn(), e.$$.dirty[0] & /*activecategory, isLoading*/
5153
- 272629760 && u && !P && St(), e.$$.dirty[0] & /*translationurl*/
5154
- 16777216 && h && hn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5155
- 33554436 && f && ee && mn(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5156
- 67108868 && c && ee && pn();
5146
+ 8388610 && a && l && cn(), e.$$.dirty[0] & /*activecategory, isLoading*/
5147
+ 541065216 && u && !v && At(), e.$$.dirty[0] & /*translationurl*/
5148
+ 16777216 && h && ln(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5149
+ 33554436 && f && V && as(V, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5150
+ 67108868 && c && V && us(V, c), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
5151
+ 268435460 && V && ls(V, `${b}.Style`);
5157
5152
  }, [
5158
5153
  d,
5159
5154
  a,
5160
- ee,
5161
- b,
5162
- B,
5163
- S,
5164
- C,
5155
+ V,
5156
+ w,
5157
+ I,
5158
+ L,
5165
5159
  y,
5166
5160
  M,
5167
5161
  _,
5168
- v,
5169
- E,
5170
- k,
5162
+ B,
5163
+ C,
5164
+ j,
5165
+ ne,
5171
5166
  n,
5172
- wt,
5167
+ Tt,
5173
5168
  Ae,
5174
- Mt,
5169
+ Pt,
5175
5170
  Ze,
5176
- At,
5177
- Bt,
5178
- dn,
5171
+ It,
5172
+ Ot,
5173
+ fn,
5179
5174
  s,
5180
5175
  u,
5181
5176
  l,
@@ -5183,27 +5178,28 @@ function ws(e, t, r) {
5183
5178
  f,
5184
5179
  c,
5185
5180
  m,
5186
- P,
5181
+ b,
5182
+ v,
5187
5183
  o,
5188
5184
  i,
5185
+ dn,
5186
+ mn,
5187
+ pn,
5189
5188
  gn,
5190
5189
  bn,
5191
5190
  yn,
5192
- vn,
5193
5191
  _n,
5194
- xn,
5195
- En,
5196
- wn
5192
+ vn
5197
5193
  ];
5198
5194
  }
5199
- class ln extends hi {
5195
+ class un extends ri {
5200
5196
  constructor(t) {
5201
- super(), ui(
5197
+ super(), ei(
5202
5198
  this,
5203
5199
  t,
5204
- ws,
5205
- Es,
5206
- Sr,
5200
+ bs,
5201
+ gs,
5202
+ wr,
5207
5203
  {
5208
5204
  menuitemsurl: 21,
5209
5205
  lang: 1,
@@ -5213,9 +5209,10 @@ class ln extends hi {
5213
5209
  clientstyling: 25,
5214
5210
  clientstylingurl: 26,
5215
5211
  customlocaleidentifier: 27,
5216
- countryflaghamburger: 0
5212
+ countryflaghamburger: 0,
5213
+ mbsource: 28
5217
5214
  },
5218
- bs,
5215
+ cs,
5219
5216
  [-1, -1]
5220
5217
  );
5221
5218
  }
@@ -5223,103 +5220,112 @@ class ln extends hi {
5223
5220
  return this.$$.ctx[21];
5224
5221
  }
5225
5222
  set menuitemsurl(t) {
5226
- this.$$set({ menuitemsurl: t }), W();
5223
+ this.$$set({ menuitemsurl: t }), G();
5227
5224
  }
5228
5225
  get lang() {
5229
5226
  return this.$$.ctx[1];
5230
5227
  }
5231
5228
  set lang(t) {
5232
- this.$$set({ lang: t }), W();
5229
+ this.$$set({ lang: t }), G();
5233
5230
  }
5234
5231
  get activecategory() {
5235
5232
  return this.$$.ctx[22];
5236
5233
  }
5237
5234
  set activecategory(t) {
5238
- this.$$set({ activecategory: t }), W();
5235
+ this.$$set({ activecategory: t }), G();
5239
5236
  }
5240
5237
  get languageslist() {
5241
5238
  return this.$$.ctx[23];
5242
5239
  }
5243
5240
  set languageslist(t) {
5244
- this.$$set({ languageslist: t }), W();
5241
+ this.$$set({ languageslist: t }), G();
5245
5242
  }
5246
5243
  get translationurl() {
5247
5244
  return this.$$.ctx[24];
5248
5245
  }
5249
5246
  set translationurl(t) {
5250
- this.$$set({ translationurl: t }), W();
5247
+ this.$$set({ translationurl: t }), G();
5251
5248
  }
5252
5249
  get clientstyling() {
5253
5250
  return this.$$.ctx[25];
5254
5251
  }
5255
5252
  set clientstyling(t) {
5256
- this.$$set({ clientstyling: t }), W();
5253
+ this.$$set({ clientstyling: t }), G();
5257
5254
  }
5258
5255
  get clientstylingurl() {
5259
5256
  return this.$$.ctx[26];
5260
5257
  }
5261
5258
  set clientstylingurl(t) {
5262
- this.$$set({ clientstylingurl: t }), W();
5259
+ this.$$set({ clientstylingurl: t }), G();
5263
5260
  }
5264
5261
  get customlocaleidentifier() {
5265
5262
  return this.$$.ctx[27];
5266
5263
  }
5267
5264
  set customlocaleidentifier(t) {
5268
- this.$$set({ customlocaleidentifier: t }), W();
5265
+ this.$$set({ customlocaleidentifier: t }), G();
5269
5266
  }
5270
5267
  get countryflaghamburger() {
5271
5268
  return this.$$.ctx[0];
5272
5269
  }
5273
5270
  set countryflaghamburger(t) {
5274
- this.$$set({ countryflaghamburger: t }), W();
5271
+ this.$$set({ countryflaghamburger: t }), G();
5272
+ }
5273
+ get mbsource() {
5274
+ return this.$$.ctx[28];
5275
+ }
5276
+ set mbsource(t) {
5277
+ this.$$set({ mbsource: t }), G();
5275
5278
  }
5276
5279
  }
5277
- li(ln, { menuitemsurl: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {} }, ["close"], [], !0);
5278
- const Cs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5280
+ ti(un, { menuitemsurl: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {}, mbsource: {} }, ["close"], [], !0);
5281
+ const Ts = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5279
5282
  __proto__: null,
5280
- default: ln
5283
+ default: un
5281
5284
  }, Symbol.toStringTag, { value: "Module" }));
5282
5285
  export {
5283
5286
  ye as $,
5284
- Q as A,
5287
+ ge as A,
5285
5288
  Fe as B,
5286
- Is as C,
5287
- Ss as D,
5288
- Y as E,
5289
- Ft as F,
5290
- ce as G,
5291
- Rt as H,
5292
- ms as I,
5293
- Ps as J,
5294
- Bs as K,
5295
- Os as L,
5296
- As as M,
5297
- Cs as N,
5298
- hi as S,
5289
+ z as C,
5290
+ ee as D,
5291
+ _s as E,
5292
+ ys as F,
5293
+ os as G,
5294
+ Ss as H,
5295
+ Y as I,
5296
+ ce as J,
5297
+ Nt as K,
5298
+ Ct as L,
5299
+ ws as M,
5300
+ Es as N,
5301
+ Hs as O,
5302
+ xs as P,
5303
+ Ts as Q,
5304
+ ri as S,
5299
5305
  Me as a,
5300
- nn as b,
5301
- li as c,
5302
- Dn as d,
5303
- D as e,
5304
- W as f,
5305
- Ms as g,
5306
- V as h,
5307
- ui as i,
5308
- G as j,
5309
- O as k,
5310
- In as l,
5311
- ps as m,
5312
- $ as n,
5313
- Qn as o,
5314
- $e as p,
5315
- kn as q,
5316
- Ts as r,
5317
- Sr as s,
5318
- Z as t,
5319
- ge as u,
5320
- x as v,
5321
- re as w,
5322
- te as x,
5323
- K as y,
5324
- g as z
5306
+ rn as b,
5307
+ ti as c,
5308
+ In as d,
5309
+ $ as e,
5310
+ G as f,
5311
+ P as g,
5312
+ vs as h,
5313
+ ei as i,
5314
+ k as j,
5315
+ U as k,
5316
+ Hn as l,
5317
+ us as m,
5318
+ D as n,
5319
+ kn as o,
5320
+ ss as p,
5321
+ $e as q,
5322
+ Cn as r,
5323
+ wr as s,
5324
+ as as t,
5325
+ ls as u,
5326
+ q as v,
5327
+ K as w,
5328
+ g as x,
5329
+ x as y,
5330
+ te as z
5325
5331
  };