@everymatrix/casino-header-controller-nd 1.74.1 → 1.74.2

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 (49) hide show
  1. package/components/CasinoHamburgerMenuNd-BeMGlDTF.cjs +18 -0
  2. package/components/{CasinoHamburgerMenuNd-BWy1ZUsq.js → CasinoHamburgerMenuNd-CHGCC0o6.js} +1066 -1087
  3. package/components/{CasinoHamburgerMenuNd-D5qHcIAM.js → CasinoHamburgerMenuNd-pSw0VlqY.js} +1108 -1129
  4. package/components/{CasinoHeaderControllerNd-D8coGzay.js → CasinoHeaderControllerNd-CGIeoN7N.js} +448 -440
  5. package/components/{CasinoHeaderControllerNd-D-0_HmHq.js → CasinoHeaderControllerNd-CJM3h6kz.js} +383 -375
  6. package/components/{CasinoHeaderControllerNd-DrcS0_kr.cjs → CasinoHeaderControllerNd-DeOZrwH7.cjs} +1 -1
  7. package/components/PlayerAccountBalanceModalNd-7iRtgmPr.js +1459 -0
  8. package/components/PlayerAccountBalanceModalNd-C_KlKYI0.js +1430 -0
  9. package/components/PlayerAccountBalanceModalNd-YKrv66F3.cjs +7 -0
  10. package/components/PlayerDeposit-Bp5Kjqkm.cjs +1 -0
  11. package/components/{PlayerDeposit-CMFimcZ9.js → PlayerDeposit-Bzv49khQ.js} +72 -72
  12. package/components/{PlayerDeposit-qceWCK2k.js → PlayerDeposit-f0IzvFo-.js} +72 -72
  13. package/es2015/casino-header-controller-nd.cjs +1 -1
  14. package/es2015/casino-header-controller-nd.js +1 -1
  15. package/esnext/casino-header-controller-nd.js +1 -1
  16. package/package.json +1 -1
  17. package/stencil/{gamification-dropdown-343647b2-Ygf9wlk1.js → gamification-dropdown-343647b2-27dUC8jf.js} +1 -1
  18. package/stencil/{gamification-dropdown-343647b2-Bds2TLN7.js → gamification-dropdown-343647b2-7a6_2mBW.js} +1 -1
  19. package/stencil/{gamification-dropdown-343647b2-DwTk5rRU.cjs → gamification-dropdown-343647b2-DdQ49rhR.cjs} +1 -1
  20. package/stencil/{gamification-dropdown-Cgyrl9or.js → gamification-dropdown-874tkQE2.js} +1 -1
  21. package/stencil/{gamification-dropdown-D_esnmF8.cjs → gamification-dropdown-C67ZeXHB.cjs} +1 -1
  22. package/stencil/{gamification-dropdown-DHNA_98f.js → gamification-dropdown-CrKjbtU0.js} +1 -1
  23. package/stencil/gamification-dropdown_4-BYNA_azI.cjs +192 -0
  24. package/stencil/{gamification-dropdown_4-CZ473RmE.js → gamification-dropdown_4-D_uemBqY.js} +5 -5
  25. package/stencil/{gamification-dropdown_4-D0zC6s0z.js → gamification-dropdown_4-qmmzK1hT.js} +5 -5
  26. package/stencil/index-71b1bdfa-B4OGpiXv.cjs +1 -0
  27. package/stencil/index-71b1bdfa-BEOdIUd5.js +757 -0
  28. package/stencil/{index-71b1bdfa-CsvLx63r.js → index-71b1bdfa-PCch_YSb.js} +268 -264
  29. package/stencil/{player-elevate-card-RwOVHsJs.cjs → player-elevate-card-CLSY_Uny.cjs} +1 -1
  30. package/stencil/{player-elevate-card-BzOMRM7h.js → player-elevate-card-D1D9TilD.js} +2 -2
  31. package/stencil/{player-elevate-card-Cq9AY34b.js → player-elevate-card-PfRHPMPV.js} +2 -2
  32. package/stencil/{player-elevate-card-items-08c6fbd8-BbWvVixN.js → player-elevate-card-items-08c6fbd8-BmecxtO9.js} +237 -235
  33. package/stencil/{player-elevate-card-items-08c6fbd8-DjORuh1x.js → player-elevate-card-items-08c6fbd8-DP3ADZVD.js} +237 -235
  34. package/stencil/player-elevate-card-items-08c6fbd8-Dl44kJcd.cjs +102 -0
  35. package/stencil/{player-elevate-pointcard-B2LdaCFC.js → player-elevate-pointcard-Cu-WAP1v.js} +2 -2
  36. package/stencil/{player-elevate-pointcard-0nAvSKAh.cjs → player-elevate-pointcard-D7HyFY7W.cjs} +1 -1
  37. package/stencil/{player-elevate-pointcard-DpAG2GwO.js → player-elevate-pointcard-TpzSMlLe.js} +2 -2
  38. package/stencil/{player-rakeback-card-BmxqgBwM.js → player-rakeback-card-BvCj6jXY.js} +1 -1
  39. package/stencil/{player-rakeback-card-Cse8u92i.cjs → player-rakeback-card-PtatD9v8.cjs} +1 -1
  40. package/stencil/{player-rakeback-card-Dw8NVtO5.js → player-rakeback-card-Q34D81Lh.js} +1 -1
  41. package/components/CasinoHamburgerMenuNd-BFJo8Ysi.cjs +0 -18
  42. package/components/PlayerAccountBalanceModalNd-BoRsVvhM.js +0 -1430
  43. package/components/PlayerAccountBalanceModalNd-DIpJMyFJ.cjs +0 -7
  44. package/components/PlayerAccountBalanceModalNd-ryD_JGFW.js +0 -1459
  45. package/components/PlayerDeposit-DmnKNCM6.cjs +0 -1
  46. package/stencil/gamification-dropdown_4-CSSqKMgX.cjs +0 -192
  47. package/stencil/index-71b1bdfa-D1DTp5qp.cjs +0 -1
  48. package/stencil/index-71b1bdfa-_pPD5FBH.js +0 -753
  49. package/stencil/player-elevate-card-items-08c6fbd8-CfgH9Fd6.cjs +0 -102
@@ -1,6 +1,6 @@
1
1
  function $() {
2
2
  }
3
- function cn(e, t) {
3
+ function un(e, t) {
4
4
  for (const r in t)
5
5
  e[r] = t[r];
6
6
  return (
@@ -8,19 +8,19 @@ function cn(e, t) {
8
8
  e
9
9
  );
10
10
  }
11
- function pr(e) {
11
+ function fr(e) {
12
12
  return e();
13
13
  }
14
- function Mt() {
14
+ function Tt() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
- function fe(e) {
18
- e.forEach(pr);
17
+ function de(e) {
18
+ e.forEach(fr);
19
19
  }
20
- function yt(e) {
20
+ function mt(e) {
21
21
  return typeof e == "function";
22
22
  }
23
- function mr(e, t) {
23
+ function dr(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
26
  let Oe;
@@ -30,7 +30,7 @@ function K(e, t) {
30
30
  function hn(e) {
31
31
  return Object.keys(e).length === 0;
32
32
  }
33
- function gr(e, ...t) {
33
+ function mr(e, ...t) {
34
34
  if (e == null) {
35
35
  for (const n of t)
36
36
  n(void 0);
@@ -39,19 +39,19 @@ function gr(e, ...t) {
39
39
  const r = e.subscribe(...t);
40
40
  return r.unsubscribe ? () => r.unsubscribe() : r;
41
41
  }
42
- function fn(e, t, r) {
43
- e.$$.on_destroy.push(gr(t, r));
42
+ function cn(e, t, r) {
43
+ e.$$.on_destroy.push(mr(t, r));
44
44
  }
45
- function Yo(e, t, r, n) {
45
+ function qo(e, t, r, n) {
46
46
  if (e) {
47
- const i = br(e, t, r, n);
47
+ const i = gr(e, t, r, n);
48
48
  return e[0](i);
49
49
  }
50
50
  }
51
- function br(e, t, r, n) {
52
- return e[1] && n ? cn(r.ctx.slice(), e[1](n(t))) : r.ctx;
51
+ function gr(e, t, r, n) {
52
+ return e[1] && n ? un(r.ctx.slice(), e[1](n(t))) : r.ctx;
53
53
  }
54
- function Ko(e, t, r, n) {
54
+ function Jo(e, t, r, n) {
55
55
  if (e[2] && n) {
56
56
  const i = e[2](n(r));
57
57
  if (t.dirty === void 0)
@@ -66,13 +66,13 @@ function Ko(e, t, r, n) {
66
66
  }
67
67
  return t.dirty;
68
68
  }
69
- function ea(e, t, r, n, i, o) {
69
+ function Yo(e, t, r, n, i, o) {
70
70
  if (i) {
71
- const a = br(t, r, n, o);
71
+ const a = gr(t, r, n, o);
72
72
  e.p(a, i);
73
73
  }
74
74
  }
75
- function ta(e) {
75
+ function Ko(e) {
76
76
  if (e.ctx.length > 32) {
77
77
  const t = [], r = e.ctx.length / 32;
78
78
  for (let n = 0; n < r; n++)
@@ -84,14 +84,14 @@ function ta(e) {
84
84
  function b(e, t) {
85
85
  e.appendChild(t);
86
86
  }
87
- function dn(e, t, r) {
88
- const n = pn(e);
87
+ function fn(e, t, r) {
88
+ const n = dn(e);
89
89
  if (!n.getElementById(t)) {
90
90
  const i = v("style");
91
91
  i.id = t, i.textContent = r, mn(n, i);
92
92
  }
93
93
  }
94
- function pn(e) {
94
+ function dn(e) {
95
95
  if (!e)
96
96
  return document;
97
97
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -114,14 +114,14 @@ function F(e, t, r) {
114
114
  function I(e) {
115
115
  e.parentNode && e.parentNode.removeChild(e);
116
116
  }
117
- function Ee(e, t) {
117
+ function we(e, t) {
118
118
  for (let r = 0; r < e.length; r += 1)
119
119
  e[r] && e[r].d(t);
120
120
  }
121
121
  function v(e) {
122
122
  return document.createElement(e);
123
123
  }
124
- function At(e) {
124
+ function Ot(e) {
125
125
  return document.createElementNS("http://www.w3.org/2000/svg", e);
126
126
  }
127
127
  function ee(e) {
@@ -130,33 +130,33 @@ function ee(e) {
130
130
  function U() {
131
131
  return ee(" ");
132
132
  }
133
- function yr() {
133
+ function pr() {
134
134
  return ee("");
135
135
  }
136
136
  function te(e, t, r, n) {
137
137
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
138
138
  }
139
- function m(e, t, r) {
139
+ function g(e, t, r) {
140
140
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
141
141
  }
142
- function ra(e, t, r) {
142
+ function ea(e, t, r) {
143
143
  const n = t.toLowerCase();
144
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : m(e, t, r);
144
+ 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);
145
145
  }
146
146
  function gn(e) {
147
147
  return Array.from(e.childNodes);
148
148
  }
149
- function de(e, t) {
149
+ function me(e, t) {
150
150
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
151
151
  t);
152
152
  }
153
- function Pt(e, t) {
153
+ function Mt(e, t) {
154
154
  e.value = t ?? "";
155
155
  }
156
- function na(e, t, r, n) {
156
+ function ta(e, t, r, n) {
157
157
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
158
158
  }
159
- function Lt(e, t, r) {
159
+ function At(e, t, r) {
160
160
  for (let n = 0; n < e.options.length; n += 1) {
161
161
  const i = e.options[n];
162
162
  if (i.__value === t) {
@@ -166,11 +166,11 @@ function Lt(e, t, r) {
166
166
  }
167
167
  (!r || t !== void 0) && (e.selectedIndex = -1);
168
168
  }
169
- function bn(e) {
169
+ function pn(e) {
170
170
  const t = e.querySelector(":checked");
171
171
  return t && t.__value;
172
172
  }
173
- function yn(e) {
173
+ function bn(e) {
174
174
  const t = {};
175
175
  return e.childNodes.forEach(
176
176
  /** @param {Element} node */
@@ -179,138 +179,138 @@ function yn(e) {
179
179
  }
180
180
  ), t;
181
181
  }
182
- let ve;
183
- function ye(e) {
184
- ve = e;
182
+ let _e;
183
+ function ve(e) {
184
+ _e = e;
185
185
  }
186
- function vn() {
187
- if (!ve)
186
+ function yn() {
187
+ if (!_e)
188
188
  throw new Error("Function called outside component initialization");
189
- return ve;
189
+ return _e;
190
190
  }
191
- function _n(e) {
192
- vn().$$.on_mount.push(e);
191
+ function vn(e) {
192
+ yn().$$.on_mount.push(e);
193
193
  }
194
194
  const ae = [], Ne = [];
195
195
  let se = [];
196
- const Bt = [], xn = /* @__PURE__ */ Promise.resolve();
197
- let rt = !1;
198
- function En() {
199
- rt || (rt = !0, xn.then(D));
196
+ const Lt = [], _n = /* @__PURE__ */ Promise.resolve();
197
+ let et = !1;
198
+ function xn() {
199
+ et || (et = !0, _n.then(D));
200
200
  }
201
201
  function Re(e) {
202
202
  se.push(e);
203
203
  }
204
- const Ze = /* @__PURE__ */ new Set();
204
+ const Xe = /* @__PURE__ */ new Set();
205
205
  let ie = 0;
206
206
  function D() {
207
207
  if (ie !== 0)
208
208
  return;
209
- const e = ve;
209
+ const e = _e;
210
210
  do {
211
211
  try {
212
212
  for (; ie < ae.length; ) {
213
213
  const t = ae[ie];
214
- ie++, ye(t), wn(t.$$);
214
+ ie++, ve(t), En(t.$$);
215
215
  }
216
216
  } catch (t) {
217
217
  throw ae.length = 0, ie = 0, t;
218
218
  }
219
- for (ye(null), ae.length = 0, ie = 0; Ne.length; )
219
+ for (ve(null), ae.length = 0, ie = 0; Ne.length; )
220
220
  Ne.pop()();
221
221
  for (let t = 0; t < se.length; t += 1) {
222
222
  const r = se[t];
223
- Ze.has(r) || (Ze.add(r), r());
223
+ Xe.has(r) || (Xe.add(r), r());
224
224
  }
225
225
  se.length = 0;
226
226
  } while (ae.length);
227
- for (; Bt.length; )
228
- Bt.pop()();
229
- rt = !1, Ze.clear(), ye(e);
227
+ for (; Lt.length; )
228
+ Lt.pop()();
229
+ et = !1, Xe.clear(), ve(e);
230
230
  }
231
- function wn(e) {
231
+ function En(e) {
232
232
  if (e.fragment !== null) {
233
- e.update(), fe(e.before_update);
233
+ e.update(), de(e.before_update);
234
234
  const t = e.dirty;
235
235
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
236
236
  }
237
237
  }
238
- function Sn(e) {
238
+ function wn(e) {
239
239
  const t = [], r = [];
240
240
  se.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), se = t;
241
241
  }
242
- const Pe = /* @__PURE__ */ new Set();
243
- let Hn;
244
- function Tn(e, t) {
245
- e && e.i && (Pe.delete(e), e.i(t));
242
+ const Le = /* @__PURE__ */ new Set();
243
+ let Sn;
244
+ function Hn(e, t) {
245
+ e && e.i && (Le.delete(e), e.i(t));
246
246
  }
247
- function ia(e, t, r, n) {
247
+ function ra(e, t, r, n) {
248
248
  if (e && e.o) {
249
- if (Pe.has(e))
249
+ if (Le.has(e))
250
250
  return;
251
- Pe.add(e), Hn.c.push(() => {
252
- Pe.delete(e);
251
+ Le.add(e), Sn.c.push(() => {
252
+ Le.delete(e);
253
253
  }), e.o(t);
254
254
  }
255
255
  }
256
- function q(e) {
256
+ function Q(e) {
257
257
  return e?.length !== void 0 ? e : Array.from(e);
258
258
  }
259
- function On(e, t, r) {
259
+ function Tn(e, t, r) {
260
260
  const { fragment: n, after_update: i } = e.$$;
261
261
  n && n.m(t, r), Re(() => {
262
- const o = e.$$.on_mount.map(pr).filter(yt);
263
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : fe(o), e.$$.on_mount = [];
262
+ const o = e.$$.on_mount.map(fr).filter(mt);
263
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : de(o), e.$$.on_mount = [];
264
264
  }), i.forEach(Re);
265
265
  }
266
- function Mn(e, t) {
266
+ function On(e, t) {
267
267
  const r = e.$$;
268
- r.fragment !== null && (Sn(r.after_update), fe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
268
+ r.fragment !== null && (wn(r.after_update), de(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
269
269
  }
270
- function An(e, t) {
271
- e.$$.dirty[0] === -1 && (ae.push(e), En(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
270
+ function Mn(e, t) {
271
+ e.$$.dirty[0] === -1 && (ae.push(e), xn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
272
272
  }
273
- function Pn(e, t, r, n, i, o, a = null, s = [-1]) {
274
- const u = ve;
275
- ye(e);
276
- const l = e.$$ = {
273
+ function An(e, t, r, n, i, o, a = null, s = [-1]) {
274
+ const l = _e;
275
+ ve(e);
276
+ const u = e.$$ = {
277
277
  fragment: null,
278
278
  ctx: [],
279
279
  // state
280
280
  props: o,
281
281
  update: $,
282
282
  not_equal: i,
283
- bound: Mt(),
283
+ bound: Tt(),
284
284
  // lifecycle
285
285
  on_mount: [],
286
286
  on_destroy: [],
287
287
  on_disconnect: [],
288
288
  before_update: [],
289
289
  after_update: [],
290
- context: new Map(t.context || (u ? u.$$.context : [])),
290
+ context: new Map(t.context || (l ? l.$$.context : [])),
291
291
  // everything else
292
- callbacks: Mt(),
292
+ callbacks: Tt(),
293
293
  dirty: s,
294
294
  skip_bound: !1,
295
- root: t.target || u.$$.root
295
+ root: t.target || l.$$.root
296
296
  };
297
- a && a(l.root);
298
- let c = !1;
299
- if (l.ctx = r ? r(e, t.props || {}, (h, f, ...p) => {
300
- const g = p.length ? p[0] : f;
301
- return l.ctx && i(l.ctx[h], l.ctx[h] = g) && (!l.skip_bound && l.bound[h] && l.bound[h](g), c && An(e, h)), f;
302
- }) : [], l.update(), c = !0, fe(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
297
+ a && a(u.root);
298
+ let h = !1;
299
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
300
+ const p = m.length ? m[0] : f;
301
+ return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), h && Mn(e, c)), f;
302
+ }) : [], u.update(), h = !0, de(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
303
303
  if (t.hydrate) {
304
- const h = gn(t.target);
305
- l.fragment && l.fragment.l(h), h.forEach(I);
304
+ const c = gn(t.target);
305
+ u.fragment && u.fragment.l(c), c.forEach(I);
306
306
  } else
307
- l.fragment && l.fragment.c();
308
- t.intro && Tn(e.$$.fragment), On(e, t.target, t.anchor), D();
307
+ u.fragment && u.fragment.c();
308
+ t.intro && Hn(e.$$.fragment), Tn(e, t.target, t.anchor), D();
309
309
  }
310
- ye(u);
310
+ ve(l);
311
311
  }
312
- let vr;
313
- typeof HTMLElement == "function" && (vr = class extends HTMLElement {
312
+ let br;
313
+ typeof HTMLElement == "function" && (br = class extends HTMLElement {
314
314
  /** The Svelte component constructor */
315
315
  $$ctor;
316
316
  /** Slots */
@@ -352,29 +352,29 @@ typeof HTMLElement == "function" && (vr = class extends HTMLElement {
352
352
  let o;
353
353
  return {
354
354
  c: function() {
355
- o = v("slot"), i !== "default" && m(o, "name", i);
355
+ o = v("slot"), i !== "default" && g(o, "name", i);
356
356
  },
357
357
  /**
358
358
  * @param {HTMLElement} target
359
359
  * @param {HTMLElement} [anchor]
360
360
  */
361
- m: function(u, l) {
362
- F(u, o, l);
361
+ m: function(l, u) {
362
+ F(l, o, u);
363
363
  },
364
- d: function(u) {
365
- u && I(o);
364
+ d: function(l) {
365
+ l && I(o);
366
366
  }
367
367
  };
368
368
  };
369
369
  };
370
370
  if (await Promise.resolve(), !this.$$cn || this.$$c)
371
371
  return;
372
- const t = {}, r = yn(this);
372
+ const t = {}, r = bn(this);
373
373
  for (const i of this.$$s)
374
374
  i in r && (t[i] = [e(i)]);
375
375
  for (const i of this.attributes) {
376
376
  const o = this.$$g_p(i.name);
377
- o in this.$$d || (this.$$d[o] = Le(o, i.value, this.$$p_d, "toProp"));
377
+ o in this.$$d || (this.$$d[o] = Be(o, i.value, this.$$p_d, "toProp"));
378
378
  }
379
379
  for (const i in this.$$p_d)
380
380
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -392,7 +392,7 @@ typeof HTMLElement == "function" && (vr = class extends HTMLElement {
392
392
  this.$$r = !0;
393
393
  for (const i in this.$$p_d)
394
394
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
395
- const o = Le(
395
+ const o = Be(
396
396
  i,
397
397
  this.$$d[i],
398
398
  this.$$p_d,
@@ -414,7 +414,7 @@ typeof HTMLElement == "function" && (vr = class extends HTMLElement {
414
414
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
415
415
  // and setting attributes through setAttribute etc, this is helpful
416
416
  attributeChangedCallback(e, t, r) {
417
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Le(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
417
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Be(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
418
418
  }
419
419
  disconnectedCallback() {
420
420
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -427,7 +427,7 @@ typeof HTMLElement == "function" && (vr = class extends HTMLElement {
427
427
  ) || e;
428
428
  }
429
429
  });
430
- function Le(e, t, r, n) {
430
+ function Be(e, t, r, n) {
431
431
  const i = r[e]?.type;
432
432
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
433
433
  return t;
@@ -457,7 +457,7 @@ function Le(e, t, r, n) {
457
457
  }
458
458
  }
459
459
  function Ln(e, t, r, n, i, o) {
460
- let a = class extends vr {
460
+ let a = class extends br {
461
461
  constructor() {
462
462
  super(e, r, i), this.$$p_d = t;
463
463
  }
@@ -472,8 +472,8 @@ function Ln(e, t, r, n, i, o) {
472
472
  get() {
473
473
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
474
474
  },
475
- set(u) {
476
- u = Le(s, u, t), this.$$d[s] = u, this.$$c?.$set({ [s]: u });
475
+ set(l) {
476
+ l = Be(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
477
477
  }
478
478
  });
479
479
  }), n.forEach((s) => {
@@ -504,7 +504,7 @@ class Bn {
504
504
  $$set = void 0;
505
505
  /** @returns {void} */
506
506
  $destroy() {
507
- Mn(this, 1), this.$destroy = $;
507
+ On(this, 1), this.$destroy = $;
508
508
  }
509
509
  /**
510
510
  * @template {Extract<keyof Events, string>} K
@@ -513,7 +513,7 @@ class Bn {
513
513
  * @returns {() => void}
514
514
  */
515
515
  $on(t, r) {
516
- if (!yt(r))
516
+ if (!mt(r))
517
517
  return $;
518
518
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
519
519
  return n.push(r), () => {
@@ -529,8 +529,8 @@ class Bn {
529
529
  this.$$set && !hn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
530
530
  }
531
531
  }
532
- const In = "4";
533
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(In);
532
+ const Pn = "4";
533
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pn);
534
534
  /*! *****************************************************************************
535
535
  Copyright (c) Microsoft Corporation.
536
536
 
@@ -545,24 +545,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
545
545
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
546
546
  PERFORMANCE OF THIS SOFTWARE.
547
547
  ***************************************************************************** */
548
- var nt = function(e, t) {
549
- return nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
548
+ var tt = function(e, t) {
549
+ return tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
550
550
  r.__proto__ = n;
551
551
  } || function(r, n) {
552
552
  for (var i in n)
553
553
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
554
- }, nt(e, t);
554
+ }, tt(e, t);
555
555
  };
556
- function we(e, t) {
556
+ function q(e, t) {
557
557
  if (typeof t != "function" && t !== null)
558
558
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
559
- nt(e, t);
559
+ tt(e, t);
560
560
  function r() {
561
561
  this.constructor = e;
562
562
  }
563
563
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
564
564
  }
565
- function it(e) {
565
+ var w = function() {
566
+ return w = Object.assign || function(t) {
567
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
568
+ r = arguments[n];
569
+ for (var o in r)
570
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
571
+ }
572
+ return t;
573
+ }, w.apply(this, arguments);
574
+ };
575
+ function In(e, t) {
576
+ var r = {};
577
+ for (var n in e)
578
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
579
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
580
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
581
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
582
+ return r;
583
+ }
584
+ function rt(e) {
566
585
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
567
586
  if (r)
568
587
  return r.call(e);
@@ -574,7 +593,7 @@ function it(e) {
574
593
  };
575
594
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
576
595
  }
577
- function ot(e, t) {
596
+ function nt(e, t) {
578
597
  var r = typeof Symbol == "function" && e[Symbol.iterator];
579
598
  if (!r)
580
599
  return e;
@@ -594,22 +613,22 @@ function ot(e, t) {
594
613
  }
595
614
  return o;
596
615
  }
597
- function at(e, t, r) {
598
- if (arguments.length === 2)
616
+ function le(e, t, r) {
617
+ if (r || arguments.length === 2)
599
618
  for (var n = 0, i = t.length, o; n < i; n++)
600
619
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
601
620
  return e.concat(o || t);
602
621
  }
603
- function Q(e) {
622
+ function Z(e) {
604
623
  return typeof e == "function";
605
624
  }
606
- function _r(e) {
625
+ function yr(e) {
607
626
  var t = function(n) {
608
627
  Error.call(n), n.stack = new Error().stack;
609
628
  }, r = e(t);
610
629
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
611
630
  }
612
- var Qe = _r(function(e) {
631
+ var ze = yr(function(e) {
613
632
  return function(r) {
614
633
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
615
634
  ` + r.map(function(n, i) {
@@ -618,13 +637,13 @@ var Qe = _r(function(e) {
618
637
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
619
638
  };
620
639
  });
621
- function st(e, t) {
640
+ function it(e, t) {
622
641
  if (e) {
623
642
  var r = e.indexOf(t);
624
643
  0 <= r && e.splice(r, 1);
625
644
  }
626
645
  }
627
- var ke = function() {
646
+ var De = function() {
628
647
  function e(t) {
629
648
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
630
649
  }
@@ -636,15 +655,15 @@ var ke = function() {
636
655
  if (a)
637
656
  if (this._parentage = null, Array.isArray(a))
638
657
  try {
639
- for (var s = it(a), u = s.next(); !u.done; u = s.next()) {
640
- var l = u.value;
641
- l.remove(this);
658
+ for (var s = rt(a), l = s.next(); !l.done; l = s.next()) {
659
+ var u = l.value;
660
+ u.remove(this);
642
661
  }
643
662
  } catch (y) {
644
663
  t = { error: y };
645
664
  } finally {
646
665
  try {
647
- u && !u.done && (r = s.return) && r.call(s);
666
+ l && !l.done && (r = s.return) && r.call(s);
648
667
  } finally {
649
668
  if (t)
650
669
  throw t.error;
@@ -652,30 +671,30 @@ var ke = function() {
652
671
  }
653
672
  else
654
673
  a.remove(this);
655
- var c = this.initialTeardown;
656
- if (Q(c))
674
+ var h = this.initialTeardown;
675
+ if (Z(h))
657
676
  try {
658
- c();
677
+ h();
659
678
  } catch (y) {
660
- o = y instanceof Qe ? y.errors : [y];
679
+ o = y instanceof ze ? y.errors : [y];
661
680
  }
662
- var h = this._finalizers;
663
- if (h) {
681
+ var c = this._finalizers;
682
+ if (c) {
664
683
  this._finalizers = null;
665
684
  try {
666
- for (var f = it(h), p = f.next(); !p.done; p = f.next()) {
667
- var g = p.value;
685
+ for (var f = rt(c), m = f.next(); !m.done; m = f.next()) {
686
+ var p = m.value;
668
687
  try {
669
- It(g);
688
+ Bt(p);
670
689
  } catch (y) {
671
- o = o ?? [], y instanceof Qe ? o = at(at([], ot(o)), ot(y.errors)) : o.push(y);
690
+ o = o ?? [], y instanceof ze ? o = le(le([], nt(o)), nt(y.errors)) : o.push(y);
672
691
  }
673
692
  }
674
693
  } catch (y) {
675
694
  n = { error: y };
676
695
  } finally {
677
696
  try {
678
- p && !p.done && (i = f.return) && i.call(f);
697
+ m && !m.done && (i = f.return) && i.call(f);
679
698
  } finally {
680
699
  if (n)
681
700
  throw n.error;
@@ -683,13 +702,13 @@ var ke = function() {
683
702
  }
684
703
  }
685
704
  if (o)
686
- throw new Qe(o);
705
+ throw new ze(o);
687
706
  }
688
707
  }, e.prototype.add = function(t) {
689
708
  var r;
690
709
  if (t && t !== this)
691
710
  if (this.closed)
692
- It(t);
711
+ Bt(t);
693
712
  else {
694
713
  if (t instanceof e) {
695
714
  if (t.closed || t._hasParent(this))
@@ -706,52 +725,56 @@ var ke = function() {
706
725
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
707
726
  }, e.prototype._removeParent = function(t) {
708
727
  var r = this._parentage;
709
- r === t ? this._parentage = null : Array.isArray(r) && st(r, t);
728
+ r === t ? this._parentage = null : Array.isArray(r) && it(r, t);
710
729
  }, e.prototype.remove = function(t) {
711
730
  var r = this._finalizers;
712
- r && st(r, t), t instanceof e && t._removeParent(this);
731
+ r && it(r, t), t instanceof e && t._removeParent(this);
713
732
  }, e.EMPTY = function() {
714
733
  var t = new e();
715
734
  return t.closed = !0, t;
716
735
  }(), e;
717
- }(), xr = ke.EMPTY;
718
- function Er(e) {
719
- return e instanceof ke || e && "closed" in e && Q(e.remove) && Q(e.add) && Q(e.unsubscribe);
720
- }
721
- function It(e) {
722
- Q(e) ? e() : e.unsubscribe();
723
- }
724
- var Cn = {
725
- Promise: void 0
726
- }, Nn = {
736
+ }(), vr = De.EMPTY;
737
+ function _r(e) {
738
+ return e instanceof De || e && "closed" in e && Z(e.remove) && Z(e.add) && Z(e.unsubscribe);
739
+ }
740
+ function Bt(e) {
741
+ Z(e) ? e() : e.unsubscribe();
742
+ }
743
+ var xr = {
744
+ onUnhandledError: null,
745
+ onStoppedNotification: null,
746
+ Promise: void 0,
747
+ useDeprecatedSynchronousErrorHandling: !1,
748
+ useDeprecatedNextContext: !1
749
+ }, Cn = {
727
750
  setTimeout: function(e, t) {
728
751
  for (var r = [], n = 2; n < arguments.length; n++)
729
752
  r[n - 2] = arguments[n];
730
- return setTimeout.apply(void 0, at([e, t], ot(r)));
753
+ return setTimeout.apply(void 0, le([e, t], nt(r)));
731
754
  },
732
755
  clearTimeout: function(e) {
733
756
  return clearTimeout(e);
734
757
  },
735
758
  delegate: void 0
736
759
  };
737
- function Rn(e) {
738
- Nn.setTimeout(function() {
760
+ function Nn(e) {
761
+ Cn.setTimeout(function() {
739
762
  throw e;
740
763
  });
741
764
  }
742
- function Ct() {
765
+ function Pt() {
743
766
  }
744
- function Be(e) {
767
+ function Pe(e) {
745
768
  e();
746
769
  }
747
- var wr = function(e) {
748
- we(t, e);
770
+ var Er = function(e) {
771
+ q(t, e);
749
772
  function t(r) {
750
773
  var n = e.call(this) || this;
751
- return n.isStopped = !1, r ? (n.destination = r, Er(r) && r.add(n)) : n.destination = Dn, n;
774
+ return n.isStopped = !1, r ? (n.destination = r, _r(r) && r.add(n)) : n.destination = Dn, n;
752
775
  }
753
776
  return t.create = function(r, n, i) {
754
- return new ut(r, n, i);
777
+ return new ot(r, n, i);
755
778
  }, t.prototype.next = function(r) {
756
779
  this.isStopped || this._next(r);
757
780
  }, t.prototype.error = function(r) {
@@ -775,7 +798,11 @@ var wr = function(e) {
775
798
  this.unsubscribe();
776
799
  }
777
800
  }, t;
778
- }(ke), Un = function() {
801
+ }(De), Rn = Function.prototype.bind;
802
+ function Ze(e, t) {
803
+ return Rn.call(e, t);
804
+ }
805
+ var Un = function() {
779
806
  function e(t) {
780
807
  this.partialObserver = t;
781
808
  }
@@ -806,29 +833,41 @@ var wr = function(e) {
806
833
  Me(r);
807
834
  }
808
835
  }, e;
809
- }(), ut = function(e) {
810
- we(t, e);
836
+ }(), ot = function(e) {
837
+ q(t, e);
811
838
  function t(r, n, i) {
812
839
  var o = e.call(this) || this, a;
813
- return Q(r) || !r ? a = {
814
- next: r ?? void 0,
815
- error: n ?? void 0,
816
- complete: i ?? void 0
817
- } : a = r, o.destination = new Un(a), o;
840
+ if (Z(r) || !r)
841
+ a = {
842
+ next: r ?? void 0,
843
+ error: n ?? void 0,
844
+ complete: i ?? void 0
845
+ };
846
+ else {
847
+ var s;
848
+ o && xr.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
849
+ return o.unsubscribe();
850
+ }, a = {
851
+ next: r.next && Ze(r.next, s),
852
+ error: r.error && Ze(r.error, s),
853
+ complete: r.complete && Ze(r.complete, s)
854
+ }) : a = r;
855
+ }
856
+ return o.destination = new Un(a), o;
818
857
  }
819
858
  return t;
820
- }(wr);
859
+ }(Er);
821
860
  function Me(e) {
822
- Rn(e);
861
+ Nn(e);
823
862
  }
824
863
  function Fn(e) {
825
864
  throw e;
826
865
  }
827
866
  var Dn = {
828
867
  closed: !0,
829
- next: Ct,
868
+ next: Pt,
830
869
  error: Fn,
831
- complete: Ct
870
+ complete: Pt
832
871
  }, kn = function() {
833
872
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
834
873
  }();
@@ -842,7 +881,7 @@ function $n(e) {
842
881
  }, r);
843
882
  };
844
883
  }
845
- var Nt = function() {
884
+ var It = function() {
846
885
  function e(t) {
847
886
  t && (this._subscribe = t);
848
887
  }
@@ -850,10 +889,10 @@ var Nt = function() {
850
889
  var r = new e();
851
890
  return r.source = this, r.operator = t, r;
852
891
  }, e.prototype.subscribe = function(t, r, n) {
853
- var i = this, o = Wn(t) ? t : new ut(t, r, n);
854
- return Be(function() {
855
- var a = i, s = a.operator, u = a.source;
856
- o.add(s ? s.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
892
+ var i = this, o = Wn(t) ? t : new ot(t, r, n);
893
+ return Pe(function() {
894
+ var a = i, s = a.operator, l = a.source;
895
+ o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
857
896
  }), o;
858
897
  }, e.prototype._trySubscribe = function(t) {
859
898
  try {
@@ -863,13 +902,13 @@ var Nt = function() {
863
902
  }
864
903
  }, e.prototype.forEach = function(t, r) {
865
904
  var n = this;
866
- return r = Rt(r), new r(function(i, o) {
867
- var a = new ut({
905
+ return r = Ct(r), new r(function(i, o) {
906
+ var a = new ot({
868
907
  next: function(s) {
869
908
  try {
870
909
  t(s);
871
- } catch (u) {
872
- o(u), a.unsubscribe();
910
+ } catch (l) {
911
+ o(l), a.unsubscribe();
873
912
  }
874
913
  },
875
914
  error: o,
@@ -888,7 +927,7 @@ var Nt = function() {
888
927
  return $n(t)(this);
889
928
  }, e.prototype.toPromise = function(t) {
890
929
  var r = this;
891
- return t = Rt(t), new t(function(n, i) {
930
+ return t = Ct(t), new t(function(n, i) {
892
931
  var o;
893
932
  r.subscribe(function(a) {
894
933
  return o = a;
@@ -902,45 +941,45 @@ var Nt = function() {
902
941
  return new e(t);
903
942
  }, e;
904
943
  }();
905
- function Rt(e) {
944
+ function Ct(e) {
906
945
  var t;
907
- return (t = e ?? Cn.Promise) !== null && t !== void 0 ? t : Promise;
946
+ return (t = e ?? xr.Promise) !== null && t !== void 0 ? t : Promise;
908
947
  }
909
948
  function jn(e) {
910
- return e && Q(e.next) && Q(e.error) && Q(e.complete);
949
+ return e && Z(e.next) && Z(e.error) && Z(e.complete);
911
950
  }
912
951
  function Wn(e) {
913
- return e && e instanceof wr || jn(e) && Er(e);
952
+ return e && e instanceof Er || jn(e) && _r(e);
914
953
  }
915
- var Vn = _r(function(e) {
954
+ var Vn = yr(function(e) {
916
955
  return function() {
917
956
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
918
957
  };
919
- }), Sr = function(e) {
920
- we(t, e);
958
+ }), wr = function(e) {
959
+ q(t, e);
921
960
  function t() {
922
961
  var r = e.call(this) || this;
923
962
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
924
963
  }
925
964
  return t.prototype.lift = function(r) {
926
- var n = new Ut(this, this);
965
+ var n = new Nt(this, this);
927
966
  return n.operator = r, n;
928
967
  }, t.prototype._throwIfClosed = function() {
929
968
  if (this.closed)
930
969
  throw new Vn();
931
970
  }, t.prototype.next = function(r) {
932
971
  var n = this;
933
- Be(function() {
972
+ Pe(function() {
934
973
  var i, o;
935
974
  if (n._throwIfClosed(), !n.isStopped) {
936
975
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
937
976
  try {
938
- for (var a = it(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
939
- var u = s.value;
940
- u.next(r);
977
+ for (var a = rt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
978
+ var l = s.value;
979
+ l.next(r);
941
980
  }
942
- } catch (l) {
943
- i = { error: l };
981
+ } catch (u) {
982
+ i = { error: u };
944
983
  } finally {
945
984
  try {
946
985
  s && !s.done && (o = a.return) && o.call(a);
@@ -953,7 +992,7 @@ var Vn = _r(function(e) {
953
992
  });
954
993
  }, t.prototype.error = function(r) {
955
994
  var n = this;
956
- Be(function() {
995
+ Pe(function() {
957
996
  if (n._throwIfClosed(), !n.isStopped) {
958
997
  n.hasError = n.isStopped = !0, n.thrownError = r;
959
998
  for (var i = n.observers; i.length; )
@@ -962,7 +1001,7 @@ var Vn = _r(function(e) {
962
1001
  });
963
1002
  }, t.prototype.complete = function() {
964
1003
  var r = this;
965
- Be(function() {
1004
+ Pe(function() {
966
1005
  if (r._throwIfClosed(), !r.isStopped) {
967
1006
  r.isStopped = !0;
968
1007
  for (var n = r.observers; n.length; )
@@ -984,20 +1023,20 @@ var Vn = _r(function(e) {
984
1023
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
985
1024
  }, t.prototype._innerSubscribe = function(r) {
986
1025
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
987
- return o || a ? xr : (this.currentObservers = null, s.push(r), new ke(function() {
988
- n.currentObservers = null, st(s, r);
1026
+ return o || a ? vr : (this.currentObservers = null, s.push(r), new De(function() {
1027
+ n.currentObservers = null, it(s, r);
989
1028
  }));
990
1029
  }, t.prototype._checkFinalizedStatuses = function(r) {
991
1030
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
992
1031
  i ? r.error(o) : a && r.complete();
993
1032
  }, t.prototype.asObservable = function() {
994
- var r = new Nt();
1033
+ var r = new It();
995
1034
  return r.source = this, r;
996
1035
  }, t.create = function(r, n) {
997
- return new Ut(r, n);
1036
+ return new Nt(r, n);
998
1037
  }, t;
999
- }(Nt), Ut = function(e) {
1000
- we(t, e);
1038
+ }(It), Nt = function(e) {
1039
+ q(t, e);
1001
1040
  function t(r, n) {
1002
1041
  var i = e.call(this) || this;
1003
1042
  return i.destination = r, i.source = n, i;
@@ -1013,60 +1052,60 @@ var Vn = _r(function(e) {
1013
1052
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1014
1053
  }, t.prototype._subscribe = function(r) {
1015
1054
  var n, i;
1016
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : xr;
1055
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : vr;
1017
1056
  }, t;
1018
- }(Sr), Hr = {
1057
+ }(wr), Sr = {
1019
1058
  now: function() {
1020
- return (Hr.delegate || Date).now();
1059
+ return (Sr.delegate || Date).now();
1021
1060
  },
1022
1061
  delegate: void 0
1023
1062
  }, Xn = function(e) {
1024
- we(t, e);
1063
+ q(t, e);
1025
1064
  function t(r, n, i) {
1026
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Hr);
1065
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Sr);
1027
1066
  var o = e.call(this) || this;
1028
1067
  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;
1029
1068
  }
1030
1069
  return t.prototype.next = function(r) {
1031
- var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, u = n._windowTime;
1032
- i || (o.push(r), !a && o.push(s.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
1070
+ var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, l = n._windowTime;
1071
+ i || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1033
1072
  }, t.prototype._subscribe = function(r) {
1034
1073
  this._throwIfClosed(), this._trimBuffer();
1035
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), u = 0; u < s.length && !r.closed; u += o ? 1 : 2)
1036
- r.next(s[u]);
1074
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), l = 0; l < s.length && !r.closed; l += o ? 1 : 2)
1075
+ r.next(s[l]);
1037
1076
  return this._checkFinalizedStatuses(r), n;
1038
1077
  }, t.prototype._trimBuffer = function() {
1039
1078
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
1040
1079
  if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1041
- for (var u = i.now(), l = 0, c = 1; c < o.length && o[c] <= u; c += 2)
1042
- l = c;
1043
- l && o.splice(0, l + 1);
1080
+ for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
1081
+ u = h;
1082
+ u && o.splice(0, u + 1);
1044
1083
  }
1045
1084
  }, t;
1046
- }(Sr);
1047
- const Ft = [], Dt = {}, zn = (e, t = 0) => {
1048
- if (Ft.indexOf(e) == -1) {
1085
+ }(wr);
1086
+ const Rt = [], Ut = {}, zn = (e, t = 0) => {
1087
+ if (Rt.indexOf(e) == -1) {
1049
1088
  const r = new Xn(t);
1050
- Dt[e] = r, Ft.push(e);
1089
+ Ut[e] = r, Rt.push(e);
1051
1090
  }
1052
- return Dt[e];
1091
+ return Ut[e];
1053
1092
  }, oe = [];
1054
1093
  function Zn(e, t) {
1055
1094
  return {
1056
- subscribe: Ge(e, t).subscribe
1095
+ subscribe: ke(e, t).subscribe
1057
1096
  };
1058
1097
  }
1059
- function Ge(e, t = $) {
1098
+ function ke(e, t = $) {
1060
1099
  let r;
1061
1100
  const n = /* @__PURE__ */ new Set();
1062
1101
  function i(s) {
1063
- if (mr(e, s) && (e = s, r)) {
1064
- const u = !oe.length;
1065
- for (const l of n)
1066
- l[1](), oe.push(l, e);
1067
- if (u) {
1068
- for (let l = 0; l < oe.length; l += 2)
1069
- oe[l][0](oe[l + 1]);
1102
+ if (dr(e, s) && (e = s, r)) {
1103
+ const l = !oe.length;
1104
+ for (const u of n)
1105
+ u[1](), oe.push(u, e);
1106
+ if (l) {
1107
+ for (let u = 0; u < oe.length; u += 2)
1108
+ oe[u][0](oe[u + 1]);
1070
1109
  oe.length = 0;
1071
1110
  }
1072
1111
  }
@@ -1074,46 +1113,46 @@ function Ge(e, t = $) {
1074
1113
  function o(s) {
1075
1114
  i(s(e));
1076
1115
  }
1077
- function a(s, u = $) {
1078
- const l = [s, u];
1079
- return n.add(l), n.size === 1 && (r = t(i, o) || $), s(e), () => {
1080
- n.delete(l), n.size === 0 && r && (r(), r = null);
1116
+ function a(s, l = $) {
1117
+ const u = [s, l];
1118
+ return n.add(u), n.size === 1 && (r = t(i, o) || $), s(e), () => {
1119
+ n.delete(u), n.size === 0 && r && (r(), r = null);
1081
1120
  };
1082
1121
  }
1083
1122
  return { set: i, update: o, subscribe: a };
1084
1123
  }
1085
- function pe(e, t, r) {
1124
+ function ge(e, t, r) {
1086
1125
  const n = !Array.isArray(e), i = n ? [e] : e;
1087
1126
  if (!i.every(Boolean))
1088
1127
  throw new Error("derived() expects stores as input, got a falsy value");
1089
1128
  const o = t.length < 2;
1090
1129
  return Zn(r, (a, s) => {
1091
- let u = !1;
1092
- const l = [];
1093
- let c = 0, h = $;
1130
+ let l = !1;
1131
+ const u = [];
1132
+ let h = 0, c = $;
1094
1133
  const f = () => {
1095
- if (c)
1134
+ if (h)
1096
1135
  return;
1097
- h();
1098
- const g = t(n ? l[0] : l, a, s);
1099
- o ? a(g) : h = yt(g) ? g : $;
1100
- }, p = i.map(
1101
- (g, y) => gr(
1102
- g,
1103
- (w) => {
1104
- l[y] = w, c &= ~(1 << y), u && f();
1136
+ c();
1137
+ const p = t(n ? u[0] : u, a, s);
1138
+ o ? a(p) : c = mt(p) ? p : $;
1139
+ }, m = i.map(
1140
+ (p, y) => mr(
1141
+ p,
1142
+ (S) => {
1143
+ u[y] = S, h &= ~(1 << y), l && f();
1105
1144
  },
1106
1145
  () => {
1107
- c |= 1 << y;
1146
+ h |= 1 << y;
1108
1147
  }
1109
1148
  )
1110
1149
  );
1111
- return u = !0, f(), function() {
1112
- fe(p), h(), u = !1;
1150
+ return l = !0, f(), function() {
1151
+ de(m), c(), l = !1;
1113
1152
  };
1114
1153
  });
1115
1154
  }
1116
- var oa = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1155
+ var na = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1117
1156
  function Qn(e) {
1118
1157
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1119
1158
  }
@@ -1134,12 +1173,12 @@ function ti(e) {
1134
1173
  function ri(e) {
1135
1174
  return Array.isArray(e) ? [] : {};
1136
1175
  }
1137
- function _e(e, t) {
1176
+ function xe(e, t) {
1138
1177
  return t.clone !== !1 && t.isMergeableObject(e) ? ue(ri(e), e, t) : e;
1139
1178
  }
1140
1179
  function ni(e, t, r) {
1141
1180
  return e.concat(t).map(function(n) {
1142
- return _e(n, r);
1181
+ return xe(n, r);
1143
1182
  });
1144
1183
  }
1145
1184
  function ii(e, t) {
@@ -1153,10 +1192,10 @@ function oi(e) {
1153
1192
  return Object.propertyIsEnumerable.call(e, t);
1154
1193
  }) : [];
1155
1194
  }
1156
- function kt(e) {
1195
+ function Ft(e) {
1157
1196
  return Object.keys(e).concat(oi(e));
1158
1197
  }
1159
- function Tr(e, t) {
1198
+ function Hr(e, t) {
1160
1199
  try {
1161
1200
  return t in e;
1162
1201
  } catch {
@@ -1164,20 +1203,20 @@ function Tr(e, t) {
1164
1203
  }
1165
1204
  }
1166
1205
  function ai(e, t) {
1167
- return Tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1206
+ return Hr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1168
1207
  }
1169
1208
  function si(e, t, r) {
1170
1209
  var n = {};
1171
- return r.isMergeableObject(e) && kt(e).forEach(function(i) {
1172
- n[i] = _e(e[i], r);
1173
- }), kt(t).forEach(function(i) {
1174
- ai(e, i) || (Tr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ii(i, r)(e[i], t[i], r) : n[i] = _e(t[i], r));
1210
+ return r.isMergeableObject(e) && Ft(e).forEach(function(i) {
1211
+ n[i] = xe(e[i], r);
1212
+ }), Ft(t).forEach(function(i) {
1213
+ ai(e, i) || (Hr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ii(i, r)(e[i], t[i], r) : n[i] = xe(t[i], r));
1175
1214
  }), n;
1176
1215
  }
1177
1216
  function ue(e, t, r) {
1178
- r = r || {}, r.arrayMerge = r.arrayMerge || ni, r.isMergeableObject = r.isMergeableObject || qn, r.cloneUnlessOtherwiseSpecified = _e;
1217
+ r = r || {}, r.arrayMerge = r.arrayMerge || ni, r.isMergeableObject = r.isMergeableObject || qn, r.cloneUnlessOtherwiseSpecified = xe;
1179
1218
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1180
- return o ? n ? r.arrayMerge(e, t, r) : si(e, t, r) : _e(t, r);
1219
+ return o ? n ? r.arrayMerge(e, t, r) : si(e, t, r) : xe(t, r);
1181
1220
  }
1182
1221
  ue.all = function(t, r) {
1183
1222
  if (!Array.isArray(t))
@@ -1186,157 +1225,107 @@ ue.all = function(t, r) {
1186
1225
  return ue(n, i, r);
1187
1226
  }, {});
1188
1227
  };
1189
- var ui = ue, li = ui;
1190
- const ci = /* @__PURE__ */ Qn(li);
1191
- var lt = function(e, t) {
1192
- return lt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1193
- r.__proto__ = n;
1194
- } || function(r, n) {
1195
- for (var i in n)
1196
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1197
- }, lt(e, t);
1198
- };
1199
- function $e(e, t) {
1200
- if (typeof t != "function" && t !== null)
1201
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1202
- lt(e, t);
1203
- function r() {
1204
- this.constructor = e;
1205
- }
1206
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1207
- }
1208
- var X = function() {
1209
- return X = Object.assign || function(t) {
1210
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1211
- r = arguments[n];
1212
- for (var o in r)
1213
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1214
- }
1215
- return t;
1216
- }, X.apply(this, arguments);
1217
- };
1218
- function hi(e, t) {
1219
- var r = {};
1220
- for (var n in e)
1221
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1222
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1223
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1224
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1225
- return r;
1226
- }
1227
- function qe(e, t, r) {
1228
- if (r || arguments.length === 2)
1229
- for (var n = 0, i = t.length, o; n < i; n++)
1230
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1231
- return e.concat(o || Array.prototype.slice.call(t));
1232
- }
1233
- function Je(e, t) {
1234
- var r = t && t.cache ? t.cache : yi, n = t && t.serializer ? t.serializer : gi, i = t && t.strategy ? t.strategy : pi;
1228
+ var li = ue, ui = li;
1229
+ const hi = /* @__PURE__ */ Qn(ui);
1230
+ function Qe(e, t) {
1231
+ var r = t && t.cache ? t.cache : pi, n = t && t.serializer ? t.serializer : gi, i = t && t.strategy ? t.strategy : fi;
1235
1232
  return i(e, {
1236
1233
  cache: r,
1237
1234
  serializer: n
1238
1235
  });
1239
1236
  }
1240
- function fi(e) {
1237
+ function ci(e) {
1241
1238
  return e == null || typeof e == "number" || typeof e == "boolean";
1242
1239
  }
1243
- function di(e, t, r, n) {
1244
- var i = fi(n) ? n : r(n), o = t.get(i);
1240
+ function Tr(e, t, r, n) {
1241
+ var i = ci(n) ? n : r(n), o = t.get(i);
1245
1242
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1246
1243
  }
1247
1244
  function Or(e, t, r) {
1248
1245
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1249
1246
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1250
1247
  }
1251
- function Mr(e, t, r, n, i) {
1248
+ function gt(e, t, r, n, i) {
1252
1249
  return r.bind(t, e, n, i);
1253
1250
  }
1254
- function pi(e, t) {
1255
- var r = e.length === 1 ? di : Or;
1256
- return Mr(e, this, r, t.cache.create(), t.serializer);
1251
+ function fi(e, t) {
1252
+ var r = e.length === 1 ? Tr : Or;
1253
+ return gt(e, this, r, t.cache.create(), t.serializer);
1254
+ }
1255
+ function di(e, t) {
1256
+ return gt(e, this, Or, t.cache.create(), t.serializer);
1257
1257
  }
1258
1258
  function mi(e, t) {
1259
- return Mr(e, this, Or, t.cache.create(), t.serializer);
1259
+ return gt(e, this, Tr, t.cache.create(), t.serializer);
1260
1260
  }
1261
1261
  var gi = function() {
1262
1262
  return JSON.stringify(arguments);
1263
- }, bi = (
1264
- /** @class */
1265
- function() {
1266
- function e() {
1267
- this.cache = /* @__PURE__ */ Object.create(null);
1268
- }
1269
- return e.prototype.get = function(t) {
1270
- return this.cache[t];
1271
- }, e.prototype.set = function(t, r) {
1272
- this.cache[t] = r;
1273
- }, e;
1274
- }()
1275
- ), yi = {
1263
+ };
1264
+ function pt() {
1265
+ this.cache = /* @__PURE__ */ Object.create(null);
1266
+ }
1267
+ pt.prototype.get = function(e) {
1268
+ return this.cache[e];
1269
+ };
1270
+ pt.prototype.set = function(e, t) {
1271
+ this.cache[e] = t;
1272
+ };
1273
+ var pi = {
1276
1274
  create: function() {
1277
- return new bi();
1275
+ return new pt();
1278
1276
  }
1279
- }, Ye = {
1280
- variadic: mi
1281
- }, Ue = function() {
1282
- return Ue = Object.assign || function(t) {
1283
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1284
- r = arguments[n];
1285
- for (var o in r)
1286
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1287
- }
1288
- return t;
1289
- }, Ue.apply(this, arguments);
1290
- };
1291
- var _;
1277
+ }, qe = {
1278
+ variadic: di,
1279
+ monadic: mi
1280
+ }, _;
1292
1281
  (function(e) {
1293
1282
  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";
1294
1283
  })(_ || (_ = {}));
1295
- var T;
1284
+ var O;
1296
1285
  (function(e) {
1297
1286
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1298
- })(T || (T = {}));
1299
- var le;
1287
+ })(O || (O = {}));
1288
+ var he;
1300
1289
  (function(e) {
1301
1290
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1302
- })(le || (le = {}));
1303
- function Gt(e) {
1304
- return e.type === T.literal;
1291
+ })(he || (he = {}));
1292
+ function Dt(e) {
1293
+ return e.type === O.literal;
1305
1294
  }
1306
- function vi(e) {
1307
- return e.type === T.argument;
1295
+ function bi(e) {
1296
+ return e.type === O.argument;
1308
1297
  }
1309
- function Ar(e) {
1310
- return e.type === T.number;
1298
+ function Mr(e) {
1299
+ return e.type === O.number;
1311
1300
  }
1312
- function Pr(e) {
1313
- return e.type === T.date;
1301
+ function Ar(e) {
1302
+ return e.type === O.date;
1314
1303
  }
1315
1304
  function Lr(e) {
1316
- return e.type === T.time;
1305
+ return e.type === O.time;
1317
1306
  }
1318
1307
  function Br(e) {
1319
- return e.type === T.select;
1308
+ return e.type === O.select;
1320
1309
  }
1321
- function Ir(e) {
1322
- return e.type === T.plural;
1310
+ function Pr(e) {
1311
+ return e.type === O.plural;
1323
1312
  }
1324
- function _i(e) {
1325
- return e.type === T.pound;
1313
+ function yi(e) {
1314
+ return e.type === O.pound;
1326
1315
  }
1327
- function Cr(e) {
1328
- return e.type === T.tag;
1316
+ function Ir(e) {
1317
+ return e.type === O.tag;
1329
1318
  }
1330
- function Nr(e) {
1331
- return !!(e && typeof e == "object" && e.type === le.number);
1319
+ function Cr(e) {
1320
+ return !!(e && typeof e == "object" && e.type === he.number);
1332
1321
  }
1333
- function ct(e) {
1334
- return !!(e && typeof e == "object" && e.type === le.dateTime);
1322
+ function at(e) {
1323
+ return !!(e && typeof e == "object" && e.type === he.dateTime);
1335
1324
  }
1336
- var Rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, xi = /(?:[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;
1337
- function Ei(e) {
1325
+ var Nr = /[ \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;
1326
+ function _i(e) {
1338
1327
  var t = {};
1339
- return e.replace(xi, function(r) {
1328
+ return e.replace(vi, function(r) {
1340
1329
  var n = r.length;
1341
1330
  switch (r[0]) {
1342
1331
  case "G":
@@ -1425,46 +1414,36 @@ function Ei(e) {
1425
1414
  return "";
1426
1415
  }), t;
1427
1416
  }
1428
- var A = function() {
1429
- return A = Object.assign || function(t) {
1430
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1431
- r = arguments[n];
1432
- for (var o in r)
1433
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1434
- }
1435
- return t;
1436
- }, A.apply(this, arguments);
1437
- };
1438
- var wi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1439
- function Si(e) {
1417
+ var xi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1418
+ function Ei(e) {
1440
1419
  if (e.length === 0)
1441
1420
  throw new Error("Number skeleton cannot be empty");
1442
- for (var t = e.split(wi).filter(function(f) {
1421
+ for (var t = e.split(xi).filter(function(f) {
1443
1422
  return f.length > 0;
1444
1423
  }), r = [], n = 0, i = t; n < i.length; n++) {
1445
1424
  var o = i[n], a = o.split("/");
1446
1425
  if (a.length === 0)
1447
1426
  throw new Error("Invalid number skeleton");
1448
- for (var s = a[0], u = a.slice(1), l = 0, c = u; l < c.length; l++) {
1449
- var h = c[l];
1450
- if (h.length === 0)
1427
+ for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1428
+ var c = h[u];
1429
+ if (c.length === 0)
1451
1430
  throw new Error("Invalid number skeleton");
1452
1431
  }
1453
- r.push({ stem: s, options: u });
1432
+ r.push({ stem: s, options: l });
1454
1433
  }
1455
1434
  return r;
1456
1435
  }
1457
- function Hi(e) {
1436
+ function wi(e) {
1458
1437
  return e.replace(/^(.*?)-/, "");
1459
1438
  }
1460
- var $t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ur = /^(@+)?(\+|#+)?[rs]?$/g, Ti = /(\*)(0+)|(#+)(0+)|(0+)/g, Fr = /^(0+)$/;
1461
- function jt(e) {
1439
+ var kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Rr = /^(@+)?(\+|#+)?[rs]?$/g, Si = /(\*)(0+)|(#+)(0+)|(0+)/g, Ur = /^(0+)$/;
1440
+ function Gt(e) {
1462
1441
  var t = {};
1463
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ur, function(r, n, i) {
1442
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Rr, function(r, n, i) {
1464
1443
  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)), "";
1465
1444
  }), t;
1466
1445
  }
1467
- function Dr(e) {
1446
+ function Fr(e) {
1468
1447
  switch (e) {
1469
1448
  case "sign-auto":
1470
1449
  return {
@@ -1504,7 +1483,7 @@ function Dr(e) {
1504
1483
  };
1505
1484
  }
1506
1485
  }
1507
- function Oi(e) {
1486
+ function Hi(e) {
1508
1487
  var t;
1509
1488
  if (e[0] === "E" && e[1] === "E" ? (t = {
1510
1489
  notation: "engineering"
@@ -1512,17 +1491,17 @@ function Oi(e) {
1512
1491
  notation: "scientific"
1513
1492
  }, e = e.slice(1)), t) {
1514
1493
  var r = e.slice(0, 2);
1515
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Fr.test(e))
1494
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ur.test(e))
1516
1495
  throw new Error("Malformed concise eng/scientific notation");
1517
1496
  t.minimumIntegerDigits = e.length;
1518
1497
  }
1519
1498
  return t;
1520
1499
  }
1521
- function Wt(e) {
1522
- var t = {}, r = Dr(e);
1500
+ function $t(e) {
1501
+ var t = {}, r = Fr(e);
1523
1502
  return r || t;
1524
1503
  }
1525
- function Mi(e) {
1504
+ function Ti(e) {
1526
1505
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1527
1506
  var i = n[r];
1528
1507
  switch (i.stem) {
@@ -1546,7 +1525,7 @@ function Mi(e) {
1546
1525
  continue;
1547
1526
  case "measure-unit":
1548
1527
  case "unit":
1549
- t.style = "unit", t.unit = Hi(i.options[0]);
1528
+ t.style = "unit", t.unit = wi(i.options[0]);
1550
1529
  continue;
1551
1530
  case "compact-short":
1552
1531
  case "K":
@@ -1557,13 +1536,13 @@ function Mi(e) {
1557
1536
  t.notation = "compact", t.compactDisplay = "long";
1558
1537
  continue;
1559
1538
  case "scientific":
1560
- t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1561
- return A(A({}, u), Wt(l));
1539
+ t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1540
+ return w(w({}, l), $t(u));
1562
1541
  }, {}));
1563
1542
  continue;
1564
1543
  case "engineering":
1565
- t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1566
- return A(A({}, u), Wt(l));
1544
+ t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1545
+ return w(w({}, l), $t(u));
1567
1546
  }, {}));
1568
1547
  continue;
1569
1548
  case "notation-simple":
@@ -1608,41 +1587,41 @@ function Mi(e) {
1608
1587
  case "integer-width":
1609
1588
  if (i.options.length > 1)
1610
1589
  throw new RangeError("integer-width stems only accept a single optional option");
1611
- i.options[0].replace(Ti, function(u, l, c, h, f, p) {
1612
- if (l)
1613
- t.minimumIntegerDigits = c.length;
1590
+ i.options[0].replace(Si, function(l, u, h, c, f, m) {
1591
+ if (u)
1592
+ t.minimumIntegerDigits = h.length;
1614
1593
  else {
1615
- if (h && f)
1594
+ if (c && f)
1616
1595
  throw new Error("We currently do not support maximum integer digits");
1617
- if (p)
1596
+ if (m)
1618
1597
  throw new Error("We currently do not support exact integer digits");
1619
1598
  }
1620
1599
  return "";
1621
1600
  });
1622
1601
  continue;
1623
1602
  }
1624
- if (Fr.test(i.stem)) {
1603
+ if (Ur.test(i.stem)) {
1625
1604
  t.minimumIntegerDigits = i.stem.length;
1626
1605
  continue;
1627
1606
  }
1628
- if ($t.test(i.stem)) {
1607
+ if (kt.test(i.stem)) {
1629
1608
  if (i.options.length > 1)
1630
1609
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1631
- i.stem.replace($t, function(u, l, c, h, f, p) {
1632
- return c === "*" ? t.minimumFractionDigits = l.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1610
+ i.stem.replace(kt, function(l, u, h, c, f, m) {
1611
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1633
1612
  });
1634
1613
  var o = i.options[0];
1635
- o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), jt(o)));
1614
+ o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Gt(o)));
1636
1615
  continue;
1637
1616
  }
1638
- if (Ur.test(i.stem)) {
1639
- t = A(A({}, t), jt(i.stem));
1617
+ if (Rr.test(i.stem)) {
1618
+ t = w(w({}, t), Gt(i.stem));
1640
1619
  continue;
1641
1620
  }
1642
- var a = Dr(i.stem);
1643
- a && (t = A(A({}, t), a));
1644
- var s = Oi(i.stem);
1645
- s && (t = A(A({}, t), s));
1621
+ var a = Fr(i.stem);
1622
+ a && (t = w(w({}, t), a));
1623
+ var s = Hi(i.stem);
1624
+ s && (t = w(w({}, t), s));
1646
1625
  }
1647
1626
  return t;
1648
1627
  }
@@ -3061,23 +3040,23 @@ var Ae = {
3061
3040
  "h"
3062
3041
  ]
3063
3042
  };
3064
- function Ai(e, t) {
3043
+ function Oi(e, t) {
3065
3044
  for (var r = "", n = 0; n < e.length; n++) {
3066
3045
  var i = e.charAt(n);
3067
3046
  if (i === "j") {
3068
3047
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3069
3048
  o++, n++;
3070
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Pi(t);
3071
- for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
3072
- r += u;
3049
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Mi(t);
3050
+ for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3051
+ r += l;
3073
3052
  for (; a-- > 0; )
3074
- r = l + r;
3053
+ r = u + r;
3075
3054
  } else
3076
3055
  i === "J" ? r += "H" : r += i;
3077
3056
  }
3078
3057
  return r;
3079
3058
  }
3080
- function Pi(e) {
3059
+ function Mi(e) {
3081
3060
  var t = e.hourCycle;
3082
3061
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3083
3062
  e.hourCycles && // @ts-ignore
@@ -3099,20 +3078,20 @@ function Pi(e) {
3099
3078
  var i = Ae[n || ""] || Ae[r || ""] || Ae["".concat(r, "-001")] || Ae["001"];
3100
3079
  return i[0];
3101
3080
  }
3102
- var Ke, Li = new RegExp("^".concat(Rr.source, "*")), Bi = new RegExp("".concat(Rr.source, "*$"));
3081
+ var Je, Ai = new RegExp("^".concat(Nr.source, "*")), Li = new RegExp("".concat(Nr.source, "*$"));
3103
3082
  function E(e, t) {
3104
3083
  return { start: e, end: t };
3105
3084
  }
3106
- var Ii = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ci = !!String.fromCodePoint, Ni = !!Object.fromEntries, Ri = !!String.prototype.codePointAt, Ui = !!String.prototype.trimStart, Fi = !!String.prototype.trimEnd, Di = !!Number.isSafeInteger, ki = Di ? Number.isSafeInteger : function(e) {
3085
+ var Bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Pi = !!String.fromCodePoint, Ii = !!Object.fromEntries, Ci = !!String.prototype.codePointAt, Ni = !!String.prototype.trimStart, Ri = !!String.prototype.trimEnd, Ui = !!Number.isSafeInteger, Fi = Ui ? Number.isSafeInteger : function(e) {
3107
3086
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3108
- }, ht = !0;
3087
+ }, st = !0;
3109
3088
  try {
3110
- var Gi = Gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3111
- ht = ((Ke = Gi.exec("a")) === null || Ke === void 0 ? void 0 : Ke[0]) === "a";
3089
+ var Di = kr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3090
+ st = ((Je = Di.exec("a")) === null || Je === void 0 ? void 0 : Je[0]) === "a";
3112
3091
  } catch {
3113
- ht = !1;
3092
+ st = !1;
3114
3093
  }
3115
- var Vt = Ii ? (
3094
+ var jt = Bi ? (
3116
3095
  // Native
3117
3096
  function(t, r, n) {
3118
3097
  return t.startsWith(r, n);
@@ -3122,7 +3101,7 @@ var Vt = Ii ? (
3122
3101
  function(t, r, n) {
3123
3102
  return t.slice(n, n + r.length) === r;
3124
3103
  }
3125
- ), ft = Ci ? String.fromCodePoint : (
3104
+ ), lt = Pi ? String.fromCodePoint : (
3126
3105
  // IE11
3127
3106
  function() {
3128
3107
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3134,9 +3113,9 @@ var Vt = Ii ? (
3134
3113
  }
3135
3114
  return n;
3136
3115
  }
3137
- ), Xt = (
3116
+ ), Wt = (
3138
3117
  // native
3139
- Ni ? Object.fromEntries : (
3118
+ Ii ? Object.fromEntries : (
3140
3119
  // Ponyfill
3141
3120
  function(t) {
3142
3121
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3146,7 +3125,7 @@ var Vt = Ii ? (
3146
3125
  return r;
3147
3126
  }
3148
3127
  )
3149
- ), kr = Ri ? (
3128
+ ), Dr = Ci ? (
3150
3129
  // Native
3151
3130
  function(t, r) {
3152
3131
  return t.codePointAt(r);
@@ -3160,7 +3139,7 @@ var Vt = Ii ? (
3160
3139
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3161
3140
  }
3162
3141
  }
3163
- ), $i = Ui ? (
3142
+ ), ki = Ni ? (
3164
3143
  // Native
3165
3144
  function(t) {
3166
3145
  return t.trimStart();
@@ -3168,9 +3147,9 @@ var Vt = Ii ? (
3168
3147
  ) : (
3169
3148
  // Ponyfill
3170
3149
  function(t) {
3171
- return t.replace(Li, "");
3150
+ return t.replace(Ai, "");
3172
3151
  }
3173
- ), ji = Fi ? (
3152
+ ), Gi = Ri ? (
3174
3153
  // Native
3175
3154
  function(t) {
3176
3155
  return t.trimEnd();
@@ -3178,32 +3157,32 @@ var Vt = Ii ? (
3178
3157
  ) : (
3179
3158
  // Ponyfill
3180
3159
  function(t) {
3181
- return t.replace(Bi, "");
3160
+ return t.replace(Li, "");
3182
3161
  }
3183
3162
  );
3184
- function Gr(e, t) {
3163
+ function kr(e, t) {
3185
3164
  return new RegExp(e, t);
3186
3165
  }
3187
- var dt;
3188
- if (ht) {
3189
- var zt = Gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3190
- dt = function(t, r) {
3166
+ var ut;
3167
+ if (st) {
3168
+ var Vt = kr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3169
+ ut = function(t, r) {
3191
3170
  var n;
3192
- zt.lastIndex = r;
3193
- var i = zt.exec(t);
3171
+ Vt.lastIndex = r;
3172
+ var i = Vt.exec(t);
3194
3173
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3195
3174
  };
3196
3175
  } else
3197
- dt = function(t, r) {
3176
+ ut = function(t, r) {
3198
3177
  for (var n = []; ; ) {
3199
- var i = kr(t, r);
3200
- if (i === void 0 || $r(i) || zi(i))
3178
+ var i = Dr(t, r);
3179
+ if (i === void 0 || Gr(i) || Vi(i))
3201
3180
  break;
3202
3181
  n.push(i), r += i >= 65536 ? 2 : 1;
3203
3182
  }
3204
- return ft.apply(void 0, n);
3183
+ return lt.apply(void 0, n);
3205
3184
  };
3206
- var Wi = (
3185
+ var $i = (
3207
3186
  /** @class */
3208
3187
  function() {
3209
3188
  function e(t, r) {
@@ -3227,14 +3206,14 @@ var Wi = (
3227
3206
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3228
3207
  var s = this.clonePosition();
3229
3208
  this.bump(), i.push({
3230
- type: T.pound,
3209
+ type: O.pound,
3231
3210
  location: E(s, this.clonePosition())
3232
3211
  });
3233
3212
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3234
3213
  if (n)
3235
3214
  break;
3236
3215
  return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
3237
- } else if (o === 60 && !this.ignoreTag && pt(this.peek() || 0)) {
3216
+ } else if (o === 60 && !this.ignoreTag && ht(this.peek() || 0)) {
3238
3217
  var a = this.parseTag(t, r);
3239
3218
  if (a.err)
3240
3219
  return a;
@@ -3255,7 +3234,7 @@ var Wi = (
3255
3234
  if (this.bumpSpace(), this.bumpIf("/>"))
3256
3235
  return {
3257
3236
  val: {
3258
- type: T.literal,
3237
+ type: O.literal,
3259
3238
  value: "<".concat(i, "/>"),
3260
3239
  location: E(n, this.clonePosition())
3261
3240
  },
@@ -3267,12 +3246,12 @@ var Wi = (
3267
3246
  return o;
3268
3247
  var a = o.val, s = this.clonePosition();
3269
3248
  if (this.bumpIf("</")) {
3270
- if (this.isEOF() || !pt(this.char()))
3249
+ if (this.isEOF() || !ht(this.char()))
3271
3250
  return this.error(_.INVALID_TAG, E(s, this.clonePosition()));
3272
- var u = this.clonePosition(), l = this.parseTagName();
3273
- return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, E(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3251
+ var l = this.clonePosition(), u = this.parseTagName();
3252
+ return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, E(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3274
3253
  val: {
3275
- type: T.tag,
3254
+ type: O.tag,
3276
3255
  value: i,
3277
3256
  children: a,
3278
3257
  location: E(n, this.clonePosition())
@@ -3285,7 +3264,7 @@ var Wi = (
3285
3264
  return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
3286
3265
  }, e.prototype.parseTagName = function() {
3287
3266
  var t = this.offset();
3288
- for (this.bump(); !this.isEOF() && Xi(this.char()); )
3267
+ for (this.bump(); !this.isEOF() && Wi(this.char()); )
3289
3268
  this.bump();
3290
3269
  return this.message.slice(t, this.offset());
3291
3270
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3307,14 +3286,14 @@ var Wi = (
3307
3286
  }
3308
3287
  break;
3309
3288
  }
3310
- var u = E(n, this.clonePosition());
3289
+ var l = E(n, this.clonePosition());
3311
3290
  return {
3312
- val: { type: T.literal, value: i, location: u },
3291
+ val: { type: O.literal, value: i, location: l },
3313
3292
  err: null
3314
3293
  };
3315
3294
  }, e.prototype.tryParseLeftAngleBracket = function() {
3316
3295
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3317
- !Vi(this.peek() || 0)) ? (this.bump(), "<") : null;
3296
+ !ji(this.peek() || 0)) ? (this.bump(), "<") : null;
3318
3297
  }, e.prototype.tryParseQuote = function(t) {
3319
3298
  if (this.isEOF() || this.char() !== 39)
3320
3299
  return null;
@@ -3348,12 +3327,12 @@ var Wi = (
3348
3327
  r.push(n);
3349
3328
  this.bump();
3350
3329
  }
3351
- return ft.apply(void 0, r);
3330
+ return lt.apply(void 0, r);
3352
3331
  }, e.prototype.tryParseUnquoted = function(t, r) {
3353
3332
  if (this.isEOF())
3354
3333
  return null;
3355
3334
  var n = this.char();
3356
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ft(n));
3335
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), lt(n));
3357
3336
  }, e.prototype.parseArgument = function(t, r) {
3358
3337
  var n = this.clonePosition();
3359
3338
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3369,7 +3348,7 @@ var Wi = (
3369
3348
  case 125:
3370
3349
  return this.bump(), {
3371
3350
  val: {
3372
- type: T.argument,
3351
+ type: O.argument,
3373
3352
  // value does not include the opening and closing braces.
3374
3353
  value: i,
3375
3354
  location: E(n, this.clonePosition())
@@ -3382,66 +3361,66 @@ var Wi = (
3382
3361
  return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3383
3362
  }
3384
3363
  }, e.prototype.parseIdentifierIfPossible = function() {
3385
- var t = this.clonePosition(), r = this.offset(), n = dt(this.message, r), i = r + n.length;
3364
+ var t = this.clonePosition(), r = this.offset(), n = ut(this.message, r), i = r + n.length;
3386
3365
  this.bumpTo(i);
3387
3366
  var o = this.clonePosition(), a = E(t, o);
3388
3367
  return { value: n, location: a };
3389
3368
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3390
- var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3369
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3391
3370
  switch (s) {
3392
3371
  case "":
3393
- return this.error(_.EXPECT_ARGUMENT_TYPE, E(a, u));
3372
+ return this.error(_.EXPECT_ARGUMENT_TYPE, E(a, l));
3394
3373
  case "number":
3395
3374
  case "date":
3396
3375
  case "time": {
3397
3376
  this.bumpSpace();
3398
- var l = null;
3377
+ var u = null;
3399
3378
  if (this.bumpIf(",")) {
3400
3379
  this.bumpSpace();
3401
- var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
3402
- if (h.err)
3403
- return h;
3404
- var f = ji(h.val);
3380
+ var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3381
+ if (c.err)
3382
+ return c;
3383
+ var f = Gi(c.val);
3405
3384
  if (f.length === 0)
3406
3385
  return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
3407
- var p = E(c, this.clonePosition());
3408
- l = { style: f, styleLocation: p };
3386
+ var m = E(h, this.clonePosition());
3387
+ u = { style: f, styleLocation: m };
3409
3388
  }
3410
- var g = this.tryParseArgumentClose(i);
3411
- if (g.err)
3412
- return g;
3389
+ var p = this.tryParseArgumentClose(i);
3390
+ if (p.err)
3391
+ return p;
3413
3392
  var y = E(i, this.clonePosition());
3414
- if (l && Vt(l?.style, "::", 0)) {
3415
- var w = $i(l.style.slice(2));
3393
+ if (u && jt(u?.style, "::", 0)) {
3394
+ var S = ki(u.style.slice(2));
3416
3395
  if (s === "number") {
3417
- var h = this.parseNumberSkeletonFromString(w, l.styleLocation);
3418
- return h.err ? h : {
3419
- val: { type: T.number, value: n, location: y, style: h.val },
3396
+ var c = this.parseNumberSkeletonFromString(S, u.styleLocation);
3397
+ return c.err ? c : {
3398
+ val: { type: O.number, value: n, location: y, style: c.val },
3420
3399
  err: null
3421
3400
  };
3422
3401
  } else {
3423
- if (w.length === 0)
3402
+ if (S.length === 0)
3424
3403
  return this.error(_.EXPECT_DATE_TIME_SKELETON, y);
3425
- var H = w;
3426
- this.locale && (H = Ai(w, this.locale));
3404
+ var T = S;
3405
+ this.locale && (T = Oi(S, this.locale));
3427
3406
  var f = {
3428
- type: le.dateTime,
3429
- pattern: H,
3430
- location: l.styleLocation,
3431
- parsedOptions: this.shouldParseSkeletons ? Ei(H) : {}
3432
- }, B = s === "date" ? T.date : T.time;
3407
+ type: he.dateTime,
3408
+ pattern: T,
3409
+ location: u.styleLocation,
3410
+ parsedOptions: this.shouldParseSkeletons ? _i(T) : {}
3411
+ }, P = s === "date" ? O.date : O.time;
3433
3412
  return {
3434
- val: { type: B, value: n, location: y, style: f },
3413
+ val: { type: P, value: n, location: y, style: f },
3435
3414
  err: null
3436
3415
  };
3437
3416
  }
3438
3417
  }
3439
3418
  return {
3440
3419
  val: {
3441
- type: s === "number" ? T.number : s === "date" ? T.date : T.time,
3420
+ type: s === "number" ? O.number : s === "date" ? O.date : O.time,
3442
3421
  value: n,
3443
3422
  location: y,
3444
- style: (o = l?.style) !== null && o !== void 0 ? o : null
3423
+ style: (o = u?.style) !== null && o !== void 0 ? o : null
3445
3424
  },
3446
3425
  err: null
3447
3426
  };
@@ -3449,49 +3428,49 @@ var Wi = (
3449
3428
  case "plural":
3450
3429
  case "selectordinal":
3451
3430
  case "select": {
3452
- var P = this.clonePosition();
3431
+ var L = this.clonePosition();
3453
3432
  if (this.bumpSpace(), !this.bumpIf(","))
3454
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(P, Ue({}, P)));
3433
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(L, w({}, L)));
3455
3434
  this.bumpSpace();
3456
3435
  var G = this.parseIdentifierIfPossible(), C = 0;
3457
3436
  if (s !== "select" && G.value === "offset") {
3458
3437
  if (!this.bumpIf(":"))
3459
3438
  return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
3460
3439
  this.bumpSpace();
3461
- var h = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3462
- if (h.err)
3463
- return h;
3464
- this.bumpSpace(), G = this.parseIdentifierIfPossible(), C = h.val;
3440
+ var c = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3441
+ if (c.err)
3442
+ return c;
3443
+ this.bumpSpace(), G = this.parseIdentifierIfPossible(), C = c.val;
3465
3444
  }
3466
3445
  var V = this.tryParsePluralOrSelectOptions(t, s, r, G);
3467
3446
  if (V.err)
3468
3447
  return V;
3469
- var g = this.tryParseArgumentClose(i);
3470
- if (g.err)
3471
- return g;
3472
- var z = E(i, this.clonePosition());
3448
+ var p = this.tryParseArgumentClose(i);
3449
+ if (p.err)
3450
+ return p;
3451
+ var X = E(i, this.clonePosition());
3473
3452
  return s === "select" ? {
3474
3453
  val: {
3475
- type: T.select,
3454
+ type: O.select,
3476
3455
  value: n,
3477
- options: Xt(V.val),
3478
- location: z
3456
+ options: Wt(V.val),
3457
+ location: X
3479
3458
  },
3480
3459
  err: null
3481
3460
  } : {
3482
3461
  val: {
3483
- type: T.plural,
3462
+ type: O.plural,
3484
3463
  value: n,
3485
- options: Xt(V.val),
3464
+ options: Wt(V.val),
3486
3465
  offset: C,
3487
3466
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3488
- location: z
3467
+ location: X
3489
3468
  },
3490
3469
  err: null
3491
3470
  };
3492
3471
  }
3493
3472
  default:
3494
- return this.error(_.INVALID_ARGUMENT_TYPE, E(a, u));
3473
+ return this.error(_.INVALID_ARGUMENT_TYPE, E(a, l));
3495
3474
  }
3496
3475
  }, e.prototype.tryParseArgumentClose = function(t) {
3497
3476
  return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3533,50 +3512,50 @@ var Wi = (
3533
3512
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3534
3513
  var n = [];
3535
3514
  try {
3536
- n = Si(t);
3515
+ n = Ei(t);
3537
3516
  } catch {
3538
3517
  return this.error(_.INVALID_NUMBER_SKELETON, r);
3539
3518
  }
3540
3519
  return {
3541
3520
  val: {
3542
- type: le.number,
3521
+ type: he.number,
3543
3522
  tokens: n,
3544
3523
  location: r,
3545
- parsedOptions: this.shouldParseSkeletons ? Mi(n) : {}
3524
+ parsedOptions: this.shouldParseSkeletons ? Ti(n) : {}
3546
3525
  },
3547
3526
  err: null
3548
3527
  };
3549
3528
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3550
- for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
3551
- if (l.length === 0) {
3552
- var h = this.clonePosition();
3529
+ for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3530
+ if (u.length === 0) {
3531
+ var c = this.clonePosition();
3553
3532
  if (r !== "select" && this.bumpIf("=")) {
3554
3533
  var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
3555
3534
  if (f.err)
3556
3535
  return f;
3557
- c = E(h, this.clonePosition()), l = this.message.slice(h.offset, this.offset());
3536
+ h = E(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3558
3537
  } else
3559
3538
  break;
3560
3539
  }
3561
- if (u.has(l))
3562
- return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3563
- l === "other" && (a = !0), this.bumpSpace();
3564
- var p = this.clonePosition();
3540
+ if (l.has(u))
3541
+ return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3542
+ u === "other" && (a = !0), this.bumpSpace();
3543
+ var m = this.clonePosition();
3565
3544
  if (!this.bumpIf("{"))
3566
3545
  return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
3567
- var g = this.parseMessage(t + 1, r, n);
3568
- if (g.err)
3569
- return g;
3570
- var y = this.tryParseArgumentClose(p);
3546
+ var p = this.parseMessage(t + 1, r, n);
3547
+ if (p.err)
3548
+ return p;
3549
+ var y = this.tryParseArgumentClose(m);
3571
3550
  if (y.err)
3572
3551
  return y;
3573
3552
  s.push([
3574
- l,
3553
+ u,
3575
3554
  {
3576
- value: g.val,
3577
- location: E(p, this.clonePosition())
3555
+ value: p.val,
3556
+ location: E(m, this.clonePosition())
3578
3557
  }
3579
- ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
3558
+ ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3580
3559
  }
3581
3560
  return s.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(_.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3582
3561
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
@@ -3589,8 +3568,8 @@ var Wi = (
3589
3568
  else
3590
3569
  break;
3591
3570
  }
3592
- var u = E(i, this.clonePosition());
3593
- return o ? (a *= n, ki(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
3571
+ var l = E(i, this.clonePosition());
3572
+ return o ? (a *= n, Fi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3594
3573
  }, e.prototype.offset = function() {
3595
3574
  return this.position.offset;
3596
3575
  }, e.prototype.isEOF = function() {
@@ -3605,7 +3584,7 @@ var Wi = (
3605
3584
  var t = this.position.offset;
3606
3585
  if (t >= this.message.length)
3607
3586
  throw Error("out of bound");
3608
- var r = kr(this.message, t);
3587
+ var r = Dr(this.message, t);
3609
3588
  if (r === void 0)
3610
3589
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3611
3590
  return r;
@@ -3624,7 +3603,7 @@ var Wi = (
3624
3603
  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);
3625
3604
  }
3626
3605
  }, e.prototype.bumpIf = function(t) {
3627
- if (Vt(this.message, t, this.offset())) {
3606
+ if (jt(this.message, t, this.offset())) {
3628
3607
  for (var r = 0; r < t.length; r++)
3629
3608
  this.bump();
3630
3609
  return !0;
@@ -3646,7 +3625,7 @@ var Wi = (
3646
3625
  break;
3647
3626
  }
3648
3627
  }, e.prototype.bumpSpace = function() {
3649
- for (; !this.isEOF() && $r(this.char()); )
3628
+ for (; !this.isEOF() && Gr(this.char()); )
3650
3629
  this.bump();
3651
3630
  }, e.prototype.peek = function() {
3652
3631
  if (this.isEOF())
@@ -3656,47 +3635,47 @@ var Wi = (
3656
3635
  }, e;
3657
3636
  }()
3658
3637
  );
3659
- function pt(e) {
3638
+ function ht(e) {
3660
3639
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3661
3640
  }
3662
- function Vi(e) {
3663
- return pt(e) || e === 47;
3641
+ function ji(e) {
3642
+ return ht(e) || e === 47;
3664
3643
  }
3665
- function Xi(e) {
3644
+ function Wi(e) {
3666
3645
  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;
3667
3646
  }
3668
- function $r(e) {
3647
+ function Gr(e) {
3669
3648
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3670
3649
  }
3671
- function zi(e) {
3650
+ function Vi(e) {
3672
3651
  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;
3673
3652
  }
3674
- function mt(e) {
3653
+ function ct(e) {
3675
3654
  e.forEach(function(t) {
3676
- if (delete t.location, Br(t) || Ir(t))
3655
+ if (delete t.location, Br(t) || Pr(t))
3677
3656
  for (var r in t.options)
3678
- delete t.options[r].location, mt(t.options[r].value);
3657
+ delete t.options[r].location, ct(t.options[r].value);
3679
3658
  else
3680
- Ar(t) && Nr(t.style) || (Pr(t) || Lr(t)) && ct(t.style) ? delete t.style.location : Cr(t) && mt(t.children);
3659
+ Mr(t) && Cr(t.style) || (Ar(t) || Lr(t)) && at(t.style) ? delete t.style.location : Ir(t) && ct(t.children);
3681
3660
  });
3682
3661
  }
3683
- function Zi(e, t) {
3684
- t === void 0 && (t = {}), t = Ue({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3685
- var r = new Wi(e, t).parse();
3662
+ function Xi(e, t) {
3663
+ t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3664
+ var r = new $i(e, t).parse();
3686
3665
  if (r.err) {
3687
3666
  var n = SyntaxError(_[r.err.kind]);
3688
3667
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3689
3668
  }
3690
- return t?.captureLocation || mt(r.val), r.val;
3669
+ return t?.captureLocation || ct(r.val), r.val;
3691
3670
  }
3692
3671
  var ce;
3693
3672
  (function(e) {
3694
3673
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3695
3674
  })(ce || (ce = {}));
3696
- var je = (
3675
+ var Ge = (
3697
3676
  /** @class */
3698
3677
  function(e) {
3699
- $e(t, e);
3678
+ q(t, e);
3700
3679
  function t(r, n, i) {
3701
3680
  var o = e.call(this, r) || this;
3702
3681
  return o.code = n, o.originalMessage = i, o;
@@ -3705,155 +3684,155 @@ var je = (
3705
3684
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3706
3685
  }, t;
3707
3686
  }(Error)
3708
- ), Zt = (
3687
+ ), Xt = (
3709
3688
  /** @class */
3710
3689
  function(e) {
3711
- $e(t, e);
3690
+ q(t, e);
3712
3691
  function t(r, n, i, o) {
3713
3692
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ce.INVALID_VALUE, o) || this;
3714
3693
  }
3715
3694
  return t;
3716
- }(je)
3717
- ), Qi = (
3695
+ }(Ge)
3696
+ ), zi = (
3718
3697
  /** @class */
3719
3698
  function(e) {
3720
- $e(t, e);
3699
+ q(t, e);
3721
3700
  function t(r, n, i) {
3722
3701
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ce.INVALID_VALUE, i) || this;
3723
3702
  }
3724
3703
  return t;
3725
- }(je)
3726
- ), qi = (
3704
+ }(Ge)
3705
+ ), Zi = (
3727
3706
  /** @class */
3728
3707
  function(e) {
3729
- $e(t, e);
3708
+ q(t, e);
3730
3709
  function t(r, n) {
3731
3710
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ce.MISSING_VALUE, n) || this;
3732
3711
  }
3733
3712
  return t;
3734
- }(je)
3713
+ }(Ge)
3735
3714
  ), k;
3736
3715
  (function(e) {
3737
3716
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3738
3717
  })(k || (k = {}));
3739
- function Ji(e) {
3718
+ function Qi(e) {
3740
3719
  return e.length < 2 ? e : e.reduce(function(t, r) {
3741
3720
  var n = t[t.length - 1];
3742
3721
  return !n || n.type !== k.literal || r.type !== k.literal ? t.push(r) : n.value += r.value, t;
3743
3722
  }, []);
3744
3723
  }
3745
- function Yi(e) {
3724
+ function qi(e) {
3746
3725
  return typeof e == "function";
3747
3726
  }
3748
3727
  function Ie(e, t, r, n, i, o, a) {
3749
- if (e.length === 1 && Gt(e[0]))
3728
+ if (e.length === 1 && Dt(e[0]))
3750
3729
  return [
3751
3730
  {
3752
3731
  type: k.literal,
3753
3732
  value: e[0].value
3754
3733
  }
3755
3734
  ];
3756
- for (var s = [], u = 0, l = e; u < l.length; u++) {
3757
- var c = l[u];
3758
- if (Gt(c)) {
3735
+ for (var s = [], l = 0, u = e; l < u.length; l++) {
3736
+ var h = u[l];
3737
+ if (Dt(h)) {
3759
3738
  s.push({
3760
3739
  type: k.literal,
3761
- value: c.value
3740
+ value: h.value
3762
3741
  });
3763
3742
  continue;
3764
3743
  }
3765
- if (_i(c)) {
3744
+ if (yi(h)) {
3766
3745
  typeof o == "number" && s.push({
3767
3746
  type: k.literal,
3768
3747
  value: r.getNumberFormat(t).format(o)
3769
3748
  });
3770
3749
  continue;
3771
3750
  }
3772
- var h = c.value;
3773
- if (!(i && h in i))
3774
- throw new qi(h, a);
3775
- var f = i[h];
3776
- if (vi(c)) {
3751
+ var c = h.value;
3752
+ if (!(i && c in i))
3753
+ throw new Zi(c, a);
3754
+ var f = i[c];
3755
+ if (bi(h)) {
3777
3756
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3778
3757
  type: typeof f == "string" ? k.literal : k.object,
3779
3758
  value: f
3780
3759
  });
3781
3760
  continue;
3782
3761
  }
3783
- if (Pr(c)) {
3784
- var p = typeof c.style == "string" ? n.date[c.style] : ct(c.style) ? c.style.parsedOptions : void 0;
3762
+ if (Ar(h)) {
3763
+ var m = typeof h.style == "string" ? n.date[h.style] : at(h.style) ? h.style.parsedOptions : void 0;
3785
3764
  s.push({
3786
3765
  type: k.literal,
3787
- value: r.getDateTimeFormat(t, p).format(f)
3766
+ value: r.getDateTimeFormat(t, m).format(f)
3788
3767
  });
3789
3768
  continue;
3790
3769
  }
3791
- if (Lr(c)) {
3792
- var p = typeof c.style == "string" ? n.time[c.style] : ct(c.style) ? c.style.parsedOptions : n.time.medium;
3770
+ if (Lr(h)) {
3771
+ var m = typeof h.style == "string" ? n.time[h.style] : at(h.style) ? h.style.parsedOptions : n.time.medium;
3793
3772
  s.push({
3794
3773
  type: k.literal,
3795
- value: r.getDateTimeFormat(t, p).format(f)
3774
+ value: r.getDateTimeFormat(t, m).format(f)
3796
3775
  });
3797
3776
  continue;
3798
3777
  }
3799
- if (Ar(c)) {
3800
- var p = typeof c.style == "string" ? n.number[c.style] : Nr(c.style) ? c.style.parsedOptions : void 0;
3801
- p && p.scale && (f = f * (p.scale || 1)), s.push({
3778
+ if (Mr(h)) {
3779
+ var m = typeof h.style == "string" ? n.number[h.style] : Cr(h.style) ? h.style.parsedOptions : void 0;
3780
+ m && m.scale && (f = f * (m.scale || 1)), s.push({
3802
3781
  type: k.literal,
3803
- value: r.getNumberFormat(t, p).format(f)
3782
+ value: r.getNumberFormat(t, m).format(f)
3804
3783
  });
3805
3784
  continue;
3806
3785
  }
3807
- if (Cr(c)) {
3808
- var g = c.children, y = c.value, w = i[y];
3809
- if (!Yi(w))
3810
- throw new Qi(y, "function", a);
3811
- var H = Ie(g, t, r, n, i, o), B = w(H.map(function(C) {
3786
+ if (Ir(h)) {
3787
+ var p = h.children, y = h.value, S = i[y];
3788
+ if (!qi(S))
3789
+ throw new zi(y, "function", a);
3790
+ var T = Ie(p, t, r, n, i, o), P = S(T.map(function(C) {
3812
3791
  return C.value;
3813
3792
  }));
3814
- Array.isArray(B) || (B = [B]), s.push.apply(s, B.map(function(C) {
3793
+ Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(C) {
3815
3794
  return {
3816
3795
  type: typeof C == "string" ? k.literal : k.object,
3817
3796
  value: C
3818
3797
  };
3819
3798
  }));
3820
3799
  }
3821
- if (Br(c)) {
3822
- var P = c.options[f] || c.options.other;
3823
- if (!P)
3824
- throw new Zt(c.value, f, Object.keys(c.options), a);
3825
- s.push.apply(s, Ie(P.value, t, r, n, i));
3800
+ if (Br(h)) {
3801
+ var L = h.options[f] || h.options.other;
3802
+ if (!L)
3803
+ throw new Xt(h.value, f, Object.keys(h.options), a);
3804
+ s.push.apply(s, Ie(L.value, t, r, n, i));
3826
3805
  continue;
3827
3806
  }
3828
- if (Ir(c)) {
3829
- var P = c.options["=".concat(f)];
3830
- if (!P) {
3807
+ if (Pr(h)) {
3808
+ var L = h.options["=".concat(f)];
3809
+ if (!L) {
3831
3810
  if (!Intl.PluralRules)
3832
- throw new je(`Intl.PluralRules is not available in this environment.
3811
+ throw new Ge(`Intl.PluralRules is not available in this environment.
3833
3812
  Try polyfilling it using "@formatjs/intl-pluralrules"
3834
3813
  `, ce.MISSING_INTL_API, a);
3835
- var G = r.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
3836
- P = c.options[G] || c.options.other;
3814
+ var G = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3815
+ L = h.options[G] || h.options.other;
3837
3816
  }
3838
- if (!P)
3839
- throw new Zt(c.value, f, Object.keys(c.options), a);
3840
- s.push.apply(s, Ie(P.value, t, r, n, i, f - (c.offset || 0)));
3817
+ if (!L)
3818
+ throw new Xt(h.value, f, Object.keys(h.options), a);
3819
+ s.push.apply(s, Ie(L.value, t, r, n, i, f - (h.offset || 0)));
3841
3820
  continue;
3842
3821
  }
3843
3822
  }
3844
- return Ji(s);
3823
+ return Qi(s);
3845
3824
  }
3846
- function Ki(e, t) {
3847
- return t ? X(X(X({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3848
- return r[n] = X(X({}, e[n]), t[n] || {}), r;
3825
+ function Ji(e, t) {
3826
+ return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3827
+ return r[n] = w(w({}, e[n]), t[n] || {}), r;
3849
3828
  }, {})) : e;
3850
3829
  }
3851
- function eo(e, t) {
3830
+ function Yi(e, t) {
3852
3831
  return t ? Object.keys(e).reduce(function(r, n) {
3853
- return r[n] = Ki(e[n], t[n]), r;
3854
- }, X({}, e)) : e;
3832
+ return r[n] = Ji(e[n], t[n]), r;
3833
+ }, w({}, e)) : e;
3855
3834
  }
3856
- function et(e) {
3835
+ function Ye(e) {
3857
3836
  return {
3858
3837
  create: function() {
3859
3838
  return {
@@ -3867,39 +3846,39 @@ function et(e) {
3867
3846
  }
3868
3847
  };
3869
3848
  }
3870
- function to(e) {
3849
+ function Ki(e) {
3871
3850
  return e === void 0 && (e = {
3872
3851
  number: {},
3873
3852
  dateTime: {},
3874
3853
  pluralRules: {}
3875
3854
  }), {
3876
- getNumberFormat: Je(function() {
3855
+ getNumberFormat: Qe(function() {
3877
3856
  for (var t, r = [], n = 0; n < arguments.length; n++)
3878
3857
  r[n] = arguments[n];
3879
- return new ((t = Intl.NumberFormat).bind.apply(t, qe([void 0], r, !1)))();
3858
+ return new ((t = Intl.NumberFormat).bind.apply(t, le([void 0], r, !1)))();
3880
3859
  }, {
3881
- cache: et(e.number),
3882
- strategy: Ye.variadic
3860
+ cache: Ye(e.number),
3861
+ strategy: qe.variadic
3883
3862
  }),
3884
- getDateTimeFormat: Je(function() {
3863
+ getDateTimeFormat: Qe(function() {
3885
3864
  for (var t, r = [], n = 0; n < arguments.length; n++)
3886
3865
  r[n] = arguments[n];
3887
- return new ((t = Intl.DateTimeFormat).bind.apply(t, qe([void 0], r, !1)))();
3866
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, le([void 0], r, !1)))();
3888
3867
  }, {
3889
- cache: et(e.dateTime),
3890
- strategy: Ye.variadic
3868
+ cache: Ye(e.dateTime),
3869
+ strategy: qe.variadic
3891
3870
  }),
3892
- getPluralRules: Je(function() {
3871
+ getPluralRules: Qe(function() {
3893
3872
  for (var t, r = [], n = 0; n < arguments.length; n++)
3894
3873
  r[n] = arguments[n];
3895
- return new ((t = Intl.PluralRules).bind.apply(t, qe([void 0], r, !1)))();
3874
+ return new ((t = Intl.PluralRules).bind.apply(t, le([void 0], r, !1)))();
3896
3875
  }, {
3897
- cache: et(e.pluralRules),
3898
- strategy: Ye.variadic
3876
+ cache: Ye(e.pluralRules),
3877
+ strategy: qe.variadic
3899
3878
  })
3900
3879
  };
3901
3880
  }
3902
- var ro = (
3881
+ var eo = (
3903
3882
  /** @class */
3904
3883
  function() {
3905
3884
  function e(t, r, n, i) {
@@ -3909,20 +3888,20 @@ var ro = (
3909
3888
  number: {},
3910
3889
  dateTime: {},
3911
3890
  pluralRules: {}
3912
- }, this.format = function(u) {
3913
- var l = o.formatToParts(u);
3914
- if (l.length === 1)
3915
- return l[0].value;
3916
- var c = l.reduce(function(h, f) {
3917
- return !h.length || f.type !== k.literal || typeof h[h.length - 1] != "string" ? h.push(f.value) : h[h.length - 1] += f.value, h;
3891
+ }, this.format = function(l) {
3892
+ var u = o.formatToParts(l);
3893
+ if (u.length === 1)
3894
+ return u[0].value;
3895
+ var h = u.reduce(function(c, f) {
3896
+ return !c.length || f.type !== k.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3918
3897
  }, []);
3919
- return c.length <= 1 ? c[0] || "" : c;
3920
- }, this.formatToParts = function(u) {
3921
- return Ie(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3898
+ return h.length <= 1 ? h[0] || "" : h;
3899
+ }, this.formatToParts = function(l) {
3900
+ return Ie(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3922
3901
  }, this.resolvedOptions = function() {
3923
- var u;
3902
+ var l;
3924
3903
  return {
3925
- locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3904
+ locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3926
3905
  };
3927
3906
  }, this.getAst = function() {
3928
3907
  return o.ast;
@@ -3931,13 +3910,13 @@ var ro = (
3931
3910
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3932
3911
  var a = i || {};
3933
3912
  a.formatters;
3934
- var s = hi(a, ["formatters"]);
3935
- this.ast = e.__parse(t, X(X({}, s), { locale: this.resolvedLocale }));
3913
+ var s = In(a, ["formatters"]);
3914
+ this.ast = e.__parse(t, w(w({}, s), { locale: this.resolvedLocale }));
3936
3915
  } else
3937
3916
  this.ast = t;
3938
3917
  if (!Array.isArray(this.ast))
3939
3918
  throw new TypeError("A message must be provided as a String or AST.");
3940
- this.formats = eo(e.formats, n), this.formatters = i && i.formatters || to(this.formatterCache);
3919
+ this.formats = Yi(e.formats, n), this.formatters = i && i.formatters || Ki(this.formatterCache);
3941
3920
  }
3942
3921
  return Object.defineProperty(e, "defaultLocale", {
3943
3922
  get: function() {
@@ -3950,7 +3929,7 @@ var ro = (
3950
3929
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3951
3930
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3952
3931
  }
3953
- }, e.__parse = Zi, e.formats = {
3932
+ }, e.__parse = Xi, e.formats = {
3954
3933
  number: {
3955
3934
  integer: {
3956
3935
  maximumFractionDigits: 0
@@ -4011,7 +3990,7 @@ var ro = (
4011
3990
  }, e;
4012
3991
  }()
4013
3992
  );
4014
- function no(e, t) {
3993
+ function to(e, t) {
4015
3994
  if (t == null)
4016
3995
  return;
4017
3996
  if (t in e)
@@ -4032,92 +4011,92 @@ function no(e, t) {
4032
4011
  n = void 0;
4033
4012
  return n;
4034
4013
  }
4035
- const Y = {}, io = (e, t, r) => r && (t in Y || (Y[t] = {}), e in Y[t] || (Y[t][e] = r), r), jr = (e, t) => {
4014
+ const Y = {}, ro = (e, t, r) => r && (t in Y || (Y[t] = {}), e in Y[t] || (Y[t][e] = r), r), $r = (e, t) => {
4036
4015
  if (t == null)
4037
4016
  return;
4038
4017
  if (t in Y && e in Y[t])
4039
4018
  return Y[t][e];
4040
- const r = We(t);
4019
+ const r = $e(t);
4041
4020
  for (let n = 0; n < r.length; n++) {
4042
- const i = r[n], o = ao(i, e);
4021
+ const i = r[n], o = io(i, e);
4043
4022
  if (o)
4044
- return io(e, t, o);
4023
+ return ro(e, t, o);
4045
4024
  }
4046
4025
  };
4047
- let vt;
4048
- const Se = Ge({});
4049
- function oo(e) {
4050
- return vt[e] || null;
4026
+ let bt;
4027
+ const Se = ke({});
4028
+ function no(e) {
4029
+ return bt[e] || null;
4051
4030
  }
4052
- function Wr(e) {
4053
- return e in vt;
4031
+ function jr(e) {
4032
+ return e in bt;
4054
4033
  }
4055
- function ao(e, t) {
4056
- if (!Wr(e))
4034
+ function io(e, t) {
4035
+ if (!jr(e))
4057
4036
  return null;
4058
- const r = oo(e);
4059
- return no(r, t);
4037
+ const r = no(e);
4038
+ return to(r, t);
4060
4039
  }
4061
- function so(e) {
4040
+ function oo(e) {
4062
4041
  if (e == null)
4063
4042
  return;
4064
- const t = We(e);
4043
+ const t = $e(e);
4065
4044
  for (let r = 0; r < t.length; r++) {
4066
4045
  const n = t[r];
4067
- if (Wr(n))
4046
+ if (jr(n))
4068
4047
  return n;
4069
4048
  }
4070
4049
  }
4071
- function Vr(e, ...t) {
4072
- delete Y[e], Se.update((r) => (r[e] = ci.all([r[e] || {}, ...t]), r));
4050
+ function Wr(e, ...t) {
4051
+ delete Y[e], Se.update((r) => (r[e] = hi.all([r[e] || {}, ...t]), r));
4073
4052
  }
4074
- pe(
4053
+ ge(
4075
4054
  [Se],
4076
4055
  ([e]) => Object.keys(e)
4077
4056
  );
4078
- Se.subscribe((e) => vt = e);
4057
+ Se.subscribe((e) => bt = e);
4079
4058
  const Ce = {};
4080
- function uo(e, t) {
4059
+ function ao(e, t) {
4081
4060
  Ce[e].delete(t), Ce[e].size === 0 && delete Ce[e];
4082
4061
  }
4083
- function Xr(e) {
4062
+ function Vr(e) {
4084
4063
  return Ce[e];
4085
4064
  }
4086
- function lo(e) {
4087
- return We(e).map((t) => {
4088
- const r = Xr(t);
4065
+ function so(e) {
4066
+ return $e(e).map((t) => {
4067
+ const r = Vr(t);
4089
4068
  return [t, r ? [...r] : []];
4090
4069
  }).filter(([, t]) => t.length > 0);
4091
4070
  }
4092
- function gt(e) {
4093
- return e == null ? !1 : We(e).some(
4071
+ function ft(e) {
4072
+ return e == null ? !1 : $e(e).some(
4094
4073
  (t) => {
4095
4074
  var r;
4096
- return (r = Xr(t)) == null ? void 0 : r.size;
4075
+ return (r = Vr(t)) == null ? void 0 : r.size;
4097
4076
  }
4098
4077
  );
4099
4078
  }
4100
- function co(e, t) {
4079
+ function lo(e, t) {
4101
4080
  return Promise.all(
4102
- t.map((n) => (uo(e, n), n().then((i) => i.default || i)))
4103
- ).then((n) => Vr(e, ...n));
4104
- }
4105
- const be = {};
4106
- function zr(e) {
4107
- if (!gt(e))
4108
- return e in be ? be[e] : Promise.resolve();
4109
- const t = lo(e);
4110
- return be[e] = Promise.all(
4081
+ t.map((n) => (ao(e, n), n().then((i) => i.default || i)))
4082
+ ).then((n) => Wr(e, ...n));
4083
+ }
4084
+ const ye = {};
4085
+ function Xr(e) {
4086
+ if (!ft(e))
4087
+ return e in ye ? ye[e] : Promise.resolve();
4088
+ const t = so(e);
4089
+ return ye[e] = Promise.all(
4111
4090
  t.map(
4112
- ([r, n]) => co(r, n)
4091
+ ([r, n]) => lo(r, n)
4113
4092
  )
4114
4093
  ).then(() => {
4115
- if (gt(e))
4116
- return zr(e);
4117
- delete be[e];
4118
- }), be[e];
4094
+ if (ft(e))
4095
+ return Xr(e);
4096
+ delete ye[e];
4097
+ }), ye[e];
4119
4098
  }
4120
- const ho = {
4099
+ const uo = {
4121
4100
  number: {
4122
4101
  scientific: { notation: "scientific" },
4123
4102
  engineering: { notation: "engineering" },
@@ -4146,180 +4125,180 @@ const ho = {
4146
4125
  timeZoneName: "short"
4147
4126
  }
4148
4127
  }
4149
- }, fo = {
4128
+ }, ho = {
4150
4129
  fallbackLocale: null,
4151
4130
  loadingDelay: 200,
4152
- formats: ho,
4131
+ formats: uo,
4153
4132
  warnOnMissingMessages: !0,
4154
4133
  handleMissingMessage: void 0,
4155
4134
  ignoreTag: !0
4156
- }, po = fo;
4157
- function he() {
4158
- return po;
4135
+ }, co = ho;
4136
+ function fe() {
4137
+ return co;
4159
4138
  }
4160
- const tt = Ge(!1);
4161
- var mo = Object.defineProperty, go = Object.defineProperties, bo = Object.getOwnPropertyDescriptors, Qt = Object.getOwnPropertySymbols, yo = Object.prototype.hasOwnProperty, vo = Object.prototype.propertyIsEnumerable, qt = (e, t, r) => t in e ? mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _o = (e, t) => {
4139
+ const Ke = ke(!1);
4140
+ var fo = Object.defineProperty, mo = Object.defineProperties, go = Object.getOwnPropertyDescriptors, zt = Object.getOwnPropertySymbols, po = Object.prototype.hasOwnProperty, bo = Object.prototype.propertyIsEnumerable, Zt = (e, t, r) => t in e ? fo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yo = (e, t) => {
4162
4141
  for (var r in t || (t = {}))
4163
- yo.call(t, r) && qt(e, r, t[r]);
4164
- if (Qt)
4165
- for (var r of Qt(t))
4166
- vo.call(t, r) && qt(e, r, t[r]);
4142
+ po.call(t, r) && Zt(e, r, t[r]);
4143
+ if (zt)
4144
+ for (var r of zt(t))
4145
+ bo.call(t, r) && Zt(e, r, t[r]);
4167
4146
  return e;
4168
- }, xo = (e, t) => go(e, bo(t));
4169
- let bt;
4170
- const Fe = Ge(null);
4171
- function Jt(e) {
4147
+ }, vo = (e, t) => mo(e, go(t));
4148
+ let dt;
4149
+ const Ue = ke(null);
4150
+ function Qt(e) {
4172
4151
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4173
4152
  }
4174
- function We(e, t = he().fallbackLocale) {
4175
- const r = Jt(e);
4176
- return t ? [.../* @__PURE__ */ new Set([...r, ...Jt(t)])] : r;
4153
+ function $e(e, t = fe().fallbackLocale) {
4154
+ const r = Qt(e);
4155
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Qt(t)])] : r;
4177
4156
  }
4178
4157
  function re() {
4179
- return bt ?? void 0;
4158
+ return dt ?? void 0;
4180
4159
  }
4181
- Fe.subscribe((e) => {
4182
- bt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4160
+ Ue.subscribe((e) => {
4161
+ dt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4183
4162
  });
4184
- const Eo = (e) => {
4185
- if (e && so(e) && gt(e)) {
4186
- const { loadingDelay: t } = he();
4163
+ const _o = (e) => {
4164
+ if (e && oo(e) && ft(e)) {
4165
+ const { loadingDelay: t } = fe();
4187
4166
  let r;
4188
4167
  return typeof window < "u" && re() != null && t ? r = window.setTimeout(
4189
- () => tt.set(!0),
4168
+ () => Ke.set(!0),
4190
4169
  t
4191
- ) : tt.set(!0), zr(e).then(() => {
4192
- Fe.set(e);
4170
+ ) : Ke.set(!0), Xr(e).then(() => {
4171
+ Ue.set(e);
4193
4172
  }).finally(() => {
4194
- clearTimeout(r), tt.set(!1);
4173
+ clearTimeout(r), Ke.set(!1);
4195
4174
  });
4196
4175
  }
4197
- return Fe.set(e);
4198
- }, me = xo(_o({}, Fe), {
4199
- set: Eo
4200
- }), Ve = (e) => {
4176
+ return Ue.set(e);
4177
+ }, pe = vo(yo({}, Ue), {
4178
+ set: _o
4179
+ }), je = (e) => {
4201
4180
  const t = /* @__PURE__ */ Object.create(null);
4202
4181
  return (n) => {
4203
4182
  const i = JSON.stringify(n);
4204
4183
  return i in t ? t[i] : t[i] = e(n);
4205
4184
  };
4206
4185
  };
4207
- var wo = Object.defineProperty, De = Object.getOwnPropertySymbols, Zr = Object.prototype.hasOwnProperty, Qr = Object.prototype.propertyIsEnumerable, Yt = (e, t, r) => t in e ? wo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _t = (e, t) => {
4186
+ var xo = Object.defineProperty, Fe = Object.getOwnPropertySymbols, zr = Object.prototype.hasOwnProperty, Zr = Object.prototype.propertyIsEnumerable, qt = (e, t, r) => t in e ? xo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yt = (e, t) => {
4208
4187
  for (var r in t || (t = {}))
4209
- Zr.call(t, r) && Yt(e, r, t[r]);
4210
- if (De)
4211
- for (var r of De(t))
4212
- Qr.call(t, r) && Yt(e, r, t[r]);
4188
+ zr.call(t, r) && qt(e, r, t[r]);
4189
+ if (Fe)
4190
+ for (var r of Fe(t))
4191
+ Zr.call(t, r) && qt(e, r, t[r]);
4213
4192
  return e;
4214
- }, ge = (e, t) => {
4193
+ }, be = (e, t) => {
4215
4194
  var r = {};
4216
4195
  for (var n in e)
4217
- Zr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4218
- if (e != null && De)
4219
- for (var n of De(e))
4220
- t.indexOf(n) < 0 && Qr.call(e, n) && (r[n] = e[n]);
4196
+ zr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4197
+ if (e != null && Fe)
4198
+ for (var n of Fe(e))
4199
+ t.indexOf(n) < 0 && Zr.call(e, n) && (r[n] = e[n]);
4221
4200
  return r;
4222
4201
  };
4223
- const xe = (e, t) => {
4224
- const { formats: r } = he();
4202
+ const Ee = (e, t) => {
4203
+ const { formats: r } = fe();
4225
4204
  if (e in r && t in r[e])
4226
4205
  return r[e][t];
4227
4206
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4228
- }, So = Ve(
4207
+ }, Eo = je(
4229
4208
  (e) => {
4230
- var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
4209
+ var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
4231
4210
  if (r == null)
4232
4211
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4233
- return n && (i = xe("number", n)), new Intl.NumberFormat(r, i);
4212
+ return n && (i = Ee("number", n)), new Intl.NumberFormat(r, i);
4234
4213
  }
4235
- ), Ho = Ve(
4214
+ ), wo = je(
4236
4215
  (e) => {
4237
- var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
4216
+ var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
4238
4217
  if (r == null)
4239
4218
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4240
- return n ? i = xe("date", n) : Object.keys(i).length === 0 && (i = xe("date", "short")), new Intl.DateTimeFormat(r, i);
4219
+ return n ? i = Ee("date", n) : Object.keys(i).length === 0 && (i = Ee("date", "short")), new Intl.DateTimeFormat(r, i);
4241
4220
  }
4242
- ), To = Ve(
4221
+ ), So = je(
4243
4222
  (e) => {
4244
- var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
4223
+ var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
4245
4224
  if (r == null)
4246
4225
  throw new Error(
4247
4226
  '[svelte-i18n] A "locale" must be set to format time values'
4248
4227
  );
4249
- return n ? i = xe("time", n) : Object.keys(i).length === 0 && (i = xe("time", "short")), new Intl.DateTimeFormat(r, i);
4228
+ return n ? i = Ee("time", n) : Object.keys(i).length === 0 && (i = Ee("time", "short")), new Intl.DateTimeFormat(r, i);
4250
4229
  }
4251
- ), Oo = (e = {}) => {
4230
+ ), Ho = (e = {}) => {
4252
4231
  var t = e, {
4253
4232
  locale: r = re()
4254
- } = t, n = ge(t, [
4233
+ } = t, n = be(t, [
4255
4234
  "locale"
4256
4235
  ]);
4257
- return So(_t({ locale: r }, n));
4258
- }, Mo = (e = {}) => {
4236
+ return Eo(yt({ locale: r }, n));
4237
+ }, To = (e = {}) => {
4259
4238
  var t = e, {
4260
4239
  locale: r = re()
4261
- } = t, n = ge(t, [
4240
+ } = t, n = be(t, [
4262
4241
  "locale"
4263
4242
  ]);
4264
- return Ho(_t({ locale: r }, n));
4265
- }, Ao = (e = {}) => {
4243
+ return wo(yt({ locale: r }, n));
4244
+ }, Oo = (e = {}) => {
4266
4245
  var t = e, {
4267
4246
  locale: r = re()
4268
- } = t, n = ge(t, [
4247
+ } = t, n = be(t, [
4269
4248
  "locale"
4270
4249
  ]);
4271
- return To(_t({ locale: r }, n));
4272
- }, Po = Ve(
4250
+ return So(yt({ locale: r }, n));
4251
+ }, Mo = je(
4273
4252
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4274
- (e, t = re()) => new ro(e, t, he().formats, {
4275
- ignoreTag: he().ignoreTag
4253
+ (e, t = re()) => new eo(e, t, fe().formats, {
4254
+ ignoreTag: fe().ignoreTag
4276
4255
  })
4277
- ), Lo = (e, t = {}) => {
4256
+ ), Ao = (e, t = {}) => {
4278
4257
  var r, n, i, o;
4279
4258
  let a = t;
4280
4259
  typeof e == "object" && (a = e, e = a.id);
4281
4260
  const {
4282
4261
  values: s,
4283
- locale: u = re(),
4284
- default: l
4262
+ locale: l = re(),
4263
+ default: u
4285
4264
  } = a;
4286
- if (u == null)
4265
+ if (l == null)
4287
4266
  throw new Error(
4288
4267
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4289
4268
  );
4290
- let c = jr(e, u);
4291
- if (!c)
4292
- c = (o = (i = (n = (r = he()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4293
- else if (typeof c != "string")
4269
+ let h = $r(e, l);
4270
+ if (!h)
4271
+ h = (o = (i = (n = (r = fe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4272
+ else if (typeof h != "string")
4294
4273
  return console.warn(
4295
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4296
- ), c;
4274
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4275
+ ), h;
4297
4276
  if (!s)
4298
- return c;
4299
- let h = c;
4277
+ return h;
4278
+ let c = h;
4300
4279
  try {
4301
- h = Po(c, u).format(s);
4280
+ c = Mo(h, l).format(s);
4302
4281
  } catch (f) {
4303
4282
  f instanceof Error && console.warn(
4304
4283
  `[svelte-i18n] Message "${e}" has syntax error:`,
4305
4284
  f.message
4306
4285
  );
4307
4286
  }
4308
- return h;
4309
- }, Bo = (e, t) => Ao(t).format(e), Io = (e, t) => Mo(t).format(e), Co = (e, t) => Oo(t).format(e), No = (e, t = re()) => jr(e, t), Ro = pe([me, Se], () => Lo);
4310
- pe([me], () => Bo);
4311
- pe([me], () => Io);
4312
- pe([me], () => Co);
4313
- pe([me, Se], () => No);
4287
+ return c;
4288
+ }, Lo = (e, t) => Oo(t).format(e), Bo = (e, t) => To(t).format(e), Po = (e, t) => Ho(t).format(e), Io = (e, t = re()) => $r(e, t), Co = ge([pe, Se], () => Ao);
4289
+ ge([pe], () => Lo);
4290
+ ge([pe], () => Bo);
4291
+ ge([pe], () => Po);
4292
+ ge([pe, Se], () => Io);
4314
4293
  window.emWidgets = { topic: zn };
4315
- const Uo = (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)), Fo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4316
- function Do(e, t) {
4294
+ const No = (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)), Ro = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4295
+ function Uo(e, t) {
4317
4296
  if (e) {
4318
4297
  const r = document.createElement("style");
4319
4298
  r.innerHTML = t, e.appendChild(r);
4320
4299
  }
4321
4300
  }
4322
- function ko(e, t) {
4301
+ function Fo(e, t) {
4323
4302
  const r = new URL(t);
4324
4303
  fetch(r.href).then((n) => n.text()).then((n) => {
4325
4304
  const i = document.createElement("style");
@@ -4328,7 +4307,7 @@ function ko(e, t) {
4328
4307
  console.error("There was an error while trying to load client styling from URL", n);
4329
4308
  });
4330
4309
  }
4331
- function Go(e, t, r) {
4310
+ function Do(e, t, r) {
4332
4311
  if (window.emMessageBus) {
4333
4312
  const n = document.createElement("style");
4334
4313
  window.emMessageBus.subscribe(t, (i) => {
@@ -4336,13 +4315,13 @@ function Go(e, t, r) {
4336
4315
  });
4337
4316
  }
4338
4317
  }
4339
- function Kt(e, t) {
4340
- Vr(e, t);
4318
+ function Jt(e, t) {
4319
+ Wr(e, t);
4341
4320
  }
4342
- function $o(e) {
4343
- me.set(e);
4321
+ function ko(e) {
4322
+ pe.set(e);
4344
4323
  }
4345
- const er = {
4324
+ const Yt = {
4346
4325
  en: {
4347
4326
  language: "Select Language"
4348
4327
  },
@@ -4377,65 +4356,65 @@ const er = {
4377
4356
  language: "Select Language"
4378
4357
  }
4379
4358
  };
4380
- function jo(e) {
4381
- dn(e, "svelte-1dofr0a", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.Skeleton{animation:skeleton-loading 0.6s linear infinite alternate}@keyframes skeleton-loading{0%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.2) 0%, rgba(0, 61, 93, 0.2) 100%)}12%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.225) 0%, rgba(0, 61, 93, 0.225) 100%)}25%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.25) 0%, rgba(0, 61, 93, 0.25) 100%)}33%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.275) 0%, rgba(0, 61, 93, 0.275) 100%)}50%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.3) 0%, rgba(0, 61, 93, 0.3) 100%)}63%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.325) 0%, rgba(0, 61, 93, 0.325) 100%)}75%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.35) 0%, rgba(0, 61, 93, 0.35) 100%)}88%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.375) 0%, rgba(0, 61, 93, 0.375) 100%)}100%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.4) 0%, rgba(0, 61, 93, 0.4) 100%)}}@keyframes increaseTransparency{0%{opacity:0}25%{opacity:0.25}75%{opacity:0.75}100%{opacity:1}}@keyframes decreaseTransparency{100%{opacity:1}75%{opacity:0.75}25%{opacity:0.25}0%{opacity:0}}@keyframes growWidthPercent{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes growWidth{from{transform:translateY(0)}to{transform:translateY(0)}}@keyframes decreaseWidth{from{transform:translateX(1)}to{transform:translateX(0)}}.NavIcon{width:30px;height:28px;position:relative;margin:3px auto;transform:rotate(0deg);transition:transform 0.2s ease-in-out;cursor:pointer}.NavIcon span{display:block;position:absolute;height:3px;width:100%;background:#ffffff;border-radius:9px;opacity:1;left:0;transform:rotate(0deg);transition:transform 0.2s ease-in-out, opacity 0.2s ease-in-out}.NavIcon span:nth-child(1){top:0px;width:80%}.NavIcon span:nth-child(2){top:9px}.NavIcon span:nth-child(3){top:18px}.NavIcon.Open span:nth-child(1){top:9px;width:100%;transform:rotate(135deg);transition:transform 0.3s ease-in-out}.NavIcon.Open span:nth-child(2){opacity:0;left:-60px}.NavIcon.Open span:nth-child(3){top:9px;transform:rotate(-135deg);transition:transform 0.3s ease-in-out}.SelectedOption{display:flex;align-items:center;justify-content:center}.SelectedOption .TriangleActive,.SelectedOption .TriangleInactive{display:block;margin:0 0 0 10px;transform:rotateX(0deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive svg,.SelectedOption .TriangleInactive svg{margin:-2px 0px;fill:white}.SelectedOption .TriangleActive{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive:hover{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.FlagIcon>img{width:20px;height:14px;margin-right:8px;border-radius:2px}.LanguageSelector{padding:5px 0;margin-bottom:0;display:flex;justify-content:space-between;background:linear-gradient(90deg, rgba(35, 178, 78, 0.9) 0%, rgba(0, 61, 93, 0.9) 100%);transition:transform 0.2s linear}.LanguageSelector span{display:inline;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));opacity:0.8;padding:5px 0;display:flex;align-items:center;gap:15px;font-size:14px}.LanguageSelector:active{transition:all 0.2s ease}.LanguageSelector:active span{transition:all 0.1s linear;opacity:1}.LanguageSelector.Open{box-shadow:inset 0 -3.25em 0 0 var(--emw--color-primary)}.LanguageSelector .LanguageSelectorTitle{margin:0 20px}.LanguageSelector .LanguageDropdown{margin-right:16px;display:inline-block}.LanguageSelector .OptionList{position:absolute;background:linear-gradient(90deg, rgba(35, 178, 78, 0.1) 0%, rgba(0, 61, 93, 0.1) 100%);min-width:180px;z-index:1;overflow-y:auto;display:flex;flex-direction:column-reverse;bottom:44px;left:0;gap:5px;padding-bottom:5px;width:100%;height:0px;transition:transform 0.2s linear}.LanguageSelector .OptionList.Open{transition:transform 0.2s linear;height:auto;background-color:var(--emw--color-background-secondary, #000000);overflow:auto}.LanguageSelector .OptionList .LanguageOption{display:flex;border:2px solid #22B04E;border-radius:13px;align-items:center;opacity:0.2;height:0px;background:linear-gradient(90deg, rgba(35, 178, 78, 0.2) 0%, rgba(0, 61, 93, 0.2) 100%);margin:0 5px;transition:transform 0.3s linear}.LanguageSelector .OptionList .LanguageOption.Open{height:50px;opacity:1;padding:10px 5px}.LanguageSelector .OptionList .LanguageOption:active,.LanguageSelector .OptionList .LanguageOption:hover{background:linear-gradient(90deg, rgb(35, 178, 78) 0%, rgb(0, 61, 93) 100%);transform:scale(1.03);transition:transform 0.2s ease-in-out}.LanguageSelector .OptionList .LanguageOption:active span,.LanguageSelector .OptionList .LanguageOption:hover span{color:black}.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:flex;align-items:flex-start;position:fixed;width:100%;height:100%;z-index:100;z-index:999999;top:0;left:0;background-color:rgba(0, 0, 0, 0.85);animation:increaseTransparency 0.2s ease-in forwards}.HamburgerModalWindow>span{opacity:0}.HamburgerModalWindow .HamburgerModalContainer{max-width:992px;position:relative;background:var(--emw--color-primary);display:flex;flex-direction:column;justify-content:space-between;height:100%;padding:0;border-top:0;border-radius:0;overflow-x:hidden;overflow-y:scroll}.HamburgerModalWindow .HamburgerModalContainer.ActiveHamburgerMenu{animation:growWidth 0.2s forwards;transform-origin:left;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer.Closing{animation:decreaseWidth 0.2s backwards;transform-origin:right;animation-fill-mode:backwards;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer .Separator{width:100%;height:5px;background:rgb(0, 0, 0);background:linear-gradient(90deg, rgb(13, 78, 2) 0%, rgb(35, 172, 77) 50%, rgb(13, 78, 2) 100%);z-index:3}.HamburgerModalWindow .ModalCloseBtn{position:relative;top:25px;width:30px;height:30px;opacity:1;margin-left:7px;margin-right:9px;cursor:pointer}.HamburgerModalWindow .ModalCloseBtn .NavIcon .Open{width:90vw}.HamburgerModalWindow .ModalCloseBtn svg{width:20px;height:20px;padding:2px}.HamburgerModalWindow .HamburgerPrimaryMenu,.HamburgerModalWindow .HamburgerSecondaryMenu{font-size:12px;display:flex;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));transform-origin:left;transform:scaleX(0);animation:growWidthPercent 0.2s both;animation-delay:0.1s}.HamburgerModalWindow .HamburgerPrimaryMenu li,.HamburgerModalWindow .HamburgerSecondaryMenu li{transition:transform 150ms ease-in-out, opacity 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, #000000));white-space:nowrap;overflow-x:scroll;list-style:none;width:90vw;text-transform:uppercase;font-size:11px;transition:all 0.2s;min-height:max-content}.HamburgerModalWindow .HamburgerPrimaryMenu>li{max-width:125px;padding:14px 25px;display:inline-block}.HamburgerModalWindow .HamburgerPrimaryMenu>li:active{transform:scale(1.1)}.HamburgerModalWindow .HamburgerPrimaryMenu>li.ActiveItem{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04F));color:black}.HamburgerModalWindow .HamburgerPrimaryMenu .Loading{width:150px;height:86px;margin:0 2px}.HamburgerModalWindow .HamburgerPrimaryMenu .HamburgerItemContainer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px}.HamburgerModalWindow .HamburgerSecondaryMenu{margin-top:10px;list-style:none;height:85%;overflow:auto;width:90vw;display:flex;flex-direction:column}.HamburgerModalWindow .HamburgerSecondaryMenu.Overlay{opacity:0.5;transition:opacity 0.2s ease-in-out}.HamburgerModalWindow .HamburgerSecondaryMenu li{padding:10px;display:flex;align-items:center;gap:15px;transition:transform 0.2s linear}.HamburgerModalWindow .HamburgerSecondaryMenu li:active{background-color:var(--emw--color-primary);transform:scale(1.1)}.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, #22B04F)}.FlagIcon{margin-left:12px}.NoFlag{width:88%;margin:0 20px}");
4359
+ function Go(e) {
4360
+ fn(e, "svelte-1kfw037", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.Skeleton{animation:skeleton-loading 0.6s linear infinite alternate}@keyframes skeleton-loading{0%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.2) 0%, rgba(0, 61, 93, 0.2) 100%)}12%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.225) 0%, rgba(0, 61, 93, 0.225) 100%)}25%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.25) 0%, rgba(0, 61, 93, 0.25) 100%)}33%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.275) 0%, rgba(0, 61, 93, 0.275) 100%)}50%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.3) 0%, rgba(0, 61, 93, 0.3) 100%)}63%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.325) 0%, rgba(0, 61, 93, 0.325) 100%)}75%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.35) 0%, rgba(0, 61, 93, 0.35) 100%)}88%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.375) 0%, rgba(0, 61, 93, 0.375) 100%)}100%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.4) 0%, rgba(0, 61, 93, 0.4) 100%)}}@keyframes increaseTransparency{0%{opacity:0}25%{opacity:0.25}75%{opacity:0.75}100%{opacity:1}}@keyframes decreaseTransparency{100%{opacity:1}75%{opacity:0.75}25%{opacity:0.25}0%{opacity:0}}@keyframes growWidthPercent{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes growWidth{from{transform:translateY(0)}to{transform:translateY(0)}}@keyframes decreaseWidth{from{transform:translateX(1)}to{transform:translateX(0)}}.NavIcon{width:30px;height:28px;position:relative;margin:3px auto;transform:rotate(0deg);transition:transform 0.2s ease-in-out;cursor:pointer}.NavIcon span{display:block;position:absolute;height:3px;width:100%;background:#ffffff;border-radius:9px;opacity:1;left:0;transform:rotate(0deg);transition:transform 0.2s ease-in-out, opacity 0.2s ease-in-out}.NavIcon span:nth-child(1){top:0px;width:80%}.NavIcon span:nth-child(2){top:9px}.NavIcon span:nth-child(3){top:18px}.NavIcon.Open span:nth-child(1){top:9px;width:100%;transform:rotate(135deg);transition:transform 0.3s ease-in-out}.NavIcon.Open span:nth-child(2){opacity:0;left:-60px}.NavIcon.Open span:nth-child(3){top:9px;transform:rotate(-135deg);transition:transform 0.3s ease-in-out}.SelectedOption{display:flex;align-items:center;justify-content:center}.SelectedOption .TriangleActive,.SelectedOption .TriangleInactive{display:block;margin:0 0 0 10px;transform:rotateX(0deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive svg,.SelectedOption .TriangleInactive svg{margin:-2px 0px;fill:white}.SelectedOption .TriangleActive{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive:hover{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.FlagIcon>img{width:20px;height:14px;margin-right:8px;border-radius:2px}.LanguageSelector{padding:5px 0;margin-bottom:0;display:flex;justify-content:space-between;background:linear-gradient(90deg, rgba(35, 178, 78, 0.9) 0%, rgba(0, 61, 93, 0.9) 100%);transition:transform 0.2s linear;height:44px}.LanguageSelector span{display:inline;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));opacity:0.8;padding:5px 0;display:flex;align-items:center;gap:15px;font-size:14px}.LanguageSelector:active{transition:all 0.2s ease}.LanguageSelector:active span{transition:all 0.1s linear;opacity:1}.LanguageSelector.Open{box-shadow:inset 0 -3.25em 0 0 var(--emw--color-primary)}.LanguageSelector .LanguageSelectorTitle{margin:0 20px}.LanguageSelector .LanguageDropdown{margin-right:16px;display:inline-block}.LanguageSelector .OptionList{position:absolute;background:linear-gradient(90deg, rgba(35, 178, 78, 0.1) 0%, rgba(0, 61, 93, 0.1) 100%);min-width:180px;z-index:1;overflow-y:auto;display:flex;flex-direction:column-reverse;bottom:44px;left:0;gap:5px;padding-bottom:5px;width:100%;height:0px;transition:transform 0.2s linear}.LanguageSelector .OptionList.Open{transition:transform 0.2s linear;height:auto;background-color:var(--emw--color-background-secondary, #000000);overflow:auto}.LanguageSelector .OptionList .LanguageOption{display:flex;border:2px solid #22B04E;border-radius:13px;align-items:center;opacity:0.2;height:0px;background:linear-gradient(90deg, rgba(35, 178, 78, 0.2) 0%, rgba(0, 61, 93, 0.2) 100%);margin:0 5px;transition:transform 0.3s linear}.LanguageSelector .OptionList .LanguageOption.Open{height:50px;opacity:1;padding:10px 5px}.LanguageSelector .OptionList .LanguageOption:active,.LanguageSelector .OptionList .LanguageOption:hover{background:linear-gradient(90deg, rgb(35, 178, 78) 0%, rgb(0, 61, 93) 100%);transform:scale(1.03);transition:transform 0.2s ease-in-out}.LanguageSelector .OptionList .LanguageOption:active span,.LanguageSelector .OptionList .LanguageOption:hover span{color:black}.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:flex;align-items:flex-start;position:fixed;width:100%;height:100%;z-index:100;z-index:999999;top:0;left:0;background-color:rgba(0, 0, 0, 0.85);animation:increaseTransparency 0.2s ease-in forwards}.HamburgerModalWindow>span{opacity:0}.HamburgerModalWindow .HamburgerModalContainer{max-width:992px;position:relative;background:var(--emw--color-primary);display:flex;flex-direction:column;justify-content:space-between;height:100%;padding:0;border-top:0;border-radius:0;overflow-x:hidden;overflow-y:scroll}.HamburgerModalWindow .HamburgerModalContainer.ActiveHamburgerMenu{animation:growWidth 0.2s forwards;transform-origin:left;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer.Closing{animation:decreaseWidth 0.2s backwards;transform-origin:right;animation-fill-mode:backwards;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer .Separator{width:100%;height:5px;background:rgb(0, 0, 0);background:linear-gradient(90deg, rgb(13, 78, 2) 0%, rgb(35, 172, 77) 50%, rgb(13, 78, 2) 100%);z-index:3}.HamburgerModalWindow .ModalCloseBtn{position:relative;top:25px;width:30px;height:30px;opacity:1;margin-left:7px;margin-right:9px;cursor:pointer}.HamburgerModalWindow .ModalCloseBtn .NavIcon .Open{width:90vw}.HamburgerModalWindow .ModalCloseBtn svg{width:20px;height:20px;padding:2px}.HamburgerModalWindow .HamburgerPrimaryMenu,.HamburgerModalWindow .HamburgerSecondaryMenu{font-size:12px;display:flex;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));transform-origin:left;transform:scaleX(0);animation:growWidthPercent 0.2s both;animation-delay:0.1s}.HamburgerModalWindow .HamburgerPrimaryMenu li,.HamburgerModalWindow .HamburgerSecondaryMenu li{transition:transform 150ms ease-in-out, opacity 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, #000000));white-space:nowrap;overflow-x:scroll;list-style:none;width:90vw;text-transform:uppercase;font-size:11px;transition:all 0.2s;height:80px}.HamburgerModalWindow .HamburgerPrimaryMenu>li{max-width:125px;padding:14px 25px;display:inline-block}.HamburgerModalWindow .HamburgerPrimaryMenu>li:active{transform:scale(1.1)}.HamburgerModalWindow .HamburgerPrimaryMenu>li.ActiveItem{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04F));color:black}.HamburgerModalWindow .HamburgerPrimaryMenu .Loading{width:150px;height:86px;margin:0 2px}.HamburgerModalWindow .HamburgerPrimaryMenu .HamburgerItemContainer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px}.HamburgerModalWindow .HamburgerSecondaryMenu{margin-top:10px;list-style:none;height:calc(100% - 124px);overflow:auto;width:90vw;display:flex;flex-direction:column}.HamburgerModalWindow .HamburgerSecondaryMenu.Overlay{opacity:0.5;transition:opacity 0.2s ease-in-out}.HamburgerModalWindow .HamburgerSecondaryMenu li{padding:10px;display:flex;align-items:center;gap:15px;transition:transform 0.2s linear}.HamburgerModalWindow .HamburgerSecondaryMenu li:active{background-color:var(--emw--color-primary);transform:scale(1.1)}.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, #22B04F)}.FlagIcon{margin-left:12px}.NoFlag{width:88%;margin:0 20px}");
4382
4361
  }
4383
- function tr(e, t, r) {
4362
+ function Kt(e, t, r) {
4384
4363
  const n = e.slice();
4385
4364
  return n[57] = t[r], n;
4386
4365
  }
4387
- function rr(e, t, r) {
4366
+ function er(e, t, r) {
4388
4367
  const n = e.slice();
4389
4368
  return n[1] = t[r], n;
4390
4369
  }
4391
- function nr(e, t, r) {
4370
+ function tr(e, t, r) {
4392
4371
  const n = e.slice();
4393
4372
  return n[60] = t[r], n;
4394
4373
  }
4395
- function Wo(e, t, r) {
4374
+ function $o(e, t, r) {
4396
4375
  const n = e.slice();
4397
4376
  return n[66] = t[r], n;
4398
4377
  }
4399
- function ir(e, t, r) {
4378
+ function rr(e, t, r) {
4400
4379
  const n = e.slice();
4401
4380
  return n[63] = t[r], n;
4402
4381
  }
4403
- function or(e) {
4404
- let t, r, n, i, o, a, s, u, l, c, h, f, p, g, y, w, H, B, P, G, C, V, z;
4382
+ function nr(e) {
4383
+ let t, r, n, i, o, a, s, l, u, h, c, f, m, p, y, S, T, P, L, G, C, V, X;
4405
4384
  function ne(x, R) {
4406
4385
  return (
4407
4386
  /*HamburgerMenuItems*/
4408
- x[4].length > 0 ? Xo : Vo
4387
+ x[4].length > 0 ? Wo : jo
4409
4388
  );
4410
4389
  }
4411
- let J = ne(e), N = J(e), j = q(
4390
+ let J = ne(e), N = J(e), j = Q(
4412
4391
  /*activeMenuItemChildren*/
4413
4392
  e[6]
4414
- ), O = [];
4393
+ ), M = [];
4415
4394
  for (let x = 0; x < j.length; x += 1)
4416
- O[x] = lr(nr(e, j, x));
4417
- let L = (
4395
+ M[x] = sr(tr(e, j, x));
4396
+ let B = (
4418
4397
  /*languagesArray*/
4419
- e[9].length > 1 && cr(e)
4398
+ e[9].length > 1 && lr(e)
4420
4399
  );
4421
4400
  return {
4422
4401
  c() {
4423
4402
  t = v("div"), r = v("div"), n = v("ul"), N.c(), i = U(), o = v("div"), a = U(), s = v("ul");
4424
- for (let x = 0; x < O.length; x += 1)
4425
- O[x].c();
4426
- l = U(), L && L.c(), h = U(), f = v("span"), p = v("div"), g = v("span"), y = U(), w = v("span"), H = U(), B = v("span"), m(n, "class", "HamburgerPrimaryMenu"), m(o, "class", "Separator"), m(s, "class", u = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
4427
- (e[10] ? "Overlay" : "")), m(r, "class", c = "HamburgerModalContainer " + /*modalIsOpen*/
4403
+ for (let x = 0; x < M.length; x += 1)
4404
+ M[x].c();
4405
+ u = U(), B && B.c(), c = U(), f = v("span"), m = v("div"), p = v("span"), y = U(), S = v("span"), T = U(), P = v("span"), g(n, "class", "HamburgerPrimaryMenu"), g(o, "class", "Separator"), g(s, "class", l = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
4406
+ (e[10] ? "Overlay" : "")), g(r, "class", h = "HamburgerModalContainer " + /*modalIsOpen*/
4428
4407
  (e[7] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
4429
- (e[12] ? "Closing" : "")), m(p, "class", P = "NavIcon " + (/*navIconClosing*/
4430
- e[13] ? "" : "Open")), m(f, "class", G = /*modalIsOpen*/
4431
- e[7] ? "ModalCloseBtn" : ""), m(f, "role", "button"), m(t, "class", C = "HamburgerModalWindow " + /*isClosing*/
4408
+ (e[12] ? "Closing" : "")), g(m, "class", L = "NavIcon " + (/*navIconClosing*/
4409
+ e[13] ? "" : "Open")), g(f, "class", G = /*modalIsOpen*/
4410
+ e[7] ? "ModalCloseBtn" : ""), g(f, "role", "button"), g(t, "class", C = "HamburgerModalWindow " + /*isClosing*/
4432
4411
  (e[12] ? " Closing" : ""));
4433
4412
  },
4434
4413
  m(x, R) {
4435
4414
  F(x, t, R), b(t, r), b(r, n), N.m(n, null), b(r, i), b(r, o), b(r, a), b(r, s);
4436
- for (let S = 0; S < O.length; S += 1)
4437
- O[S] && O[S].m(s, null);
4438
- b(r, l), L && L.m(r, null), b(t, h), b(t, f), b(f, p), b(p, g), b(p, y), b(p, w), b(p, H), b(p, B), e[40](t), V || (z = te(
4415
+ for (let H = 0; H < M.length; H += 1)
4416
+ M[H] && M[H].m(s, null);
4417
+ b(r, u), B && B.m(r, null), b(t, c), b(t, f), b(f, m), b(m, p), b(m, y), b(m, S), b(m, T), b(m, P), e[40](t), V || (X = te(
4439
4418
  f,
4440
4419
  "click",
4441
4420
  /*close*/
@@ -4445,47 +4424,47 @@ function or(e) {
4445
4424
  p(x, R) {
4446
4425
  if (J === (J = ne(x)) && N ? N.p(x, R) : (N.d(1), N = J(x), N && (N.c(), N.m(n, null))), R[0] & /*handleClick, activeMenuItemChildren*/
4447
4426
  262208) {
4448
- j = q(
4427
+ j = Q(
4449
4428
  /*activeMenuItemChildren*/
4450
4429
  x[6]
4451
4430
  );
4452
- let S;
4453
- for (S = 0; S < j.length; S += 1) {
4454
- const W = nr(x, j, S);
4455
- O[S] ? O[S].p(W, R) : (O[S] = lr(W), O[S].c(), O[S].m(s, null));
4431
+ let H;
4432
+ for (H = 0; H < j.length; H += 1) {
4433
+ const W = tr(x, j, H);
4434
+ M[H] ? M[H].p(W, R) : (M[H] = sr(W), M[H].c(), M[H].m(s, null));
4456
4435
  }
4457
- for (; S < O.length; S += 1)
4458
- O[S].d(1);
4459
- O.length = j.length;
4436
+ for (; H < M.length; H += 1)
4437
+ M[H].d(1);
4438
+ M.length = j.length;
4460
4439
  }
4461
4440
  R[0] & /*isOptionsListVisible*/
4462
- 1024 && u !== (u = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
4463
- (x[10] ? "Overlay" : "")) && m(s, "class", u), /*languagesArray*/
4464
- x[9].length > 1 ? L ? L.p(x, R) : (L = cr(x), L.c(), L.m(r, null)) : L && (L.d(1), L = null), R[0] & /*modalIsOpen, isClosing*/
4465
- 4224 && c !== (c = "HamburgerModalContainer " + /*modalIsOpen*/
4441
+ 1024 && l !== (l = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
4442
+ (x[10] ? "Overlay" : "")) && g(s, "class", l), /*languagesArray*/
4443
+ x[9].length > 1 ? B ? B.p(x, R) : (B = lr(x), B.c(), B.m(r, null)) : B && (B.d(1), B = null), R[0] & /*modalIsOpen, isClosing*/
4444
+ 4224 && h !== (h = "HamburgerModalContainer " + /*modalIsOpen*/
4466
4445
  (x[7] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
4467
- (x[12] ? "Closing" : "")) && m(r, "class", c), R[0] & /*navIconClosing*/
4468
- 8192 && P !== (P = "NavIcon " + (/*navIconClosing*/
4469
- x[13] ? "" : "Open")) && m(p, "class", P), R[0] & /*modalIsOpen*/
4446
+ (x[12] ? "Closing" : "")) && g(r, "class", h), R[0] & /*navIconClosing*/
4447
+ 8192 && L !== (L = "NavIcon " + (/*navIconClosing*/
4448
+ x[13] ? "" : "Open")) && g(m, "class", L), R[0] & /*modalIsOpen*/
4470
4449
  128 && G !== (G = /*modalIsOpen*/
4471
- x[7] ? "ModalCloseBtn" : "") && m(f, "class", G), R[0] & /*isClosing*/
4450
+ x[7] ? "ModalCloseBtn" : "") && g(f, "class", G), R[0] & /*isClosing*/
4472
4451
  4096 && C !== (C = "HamburgerModalWindow " + /*isClosing*/
4473
- (x[12] ? " Closing" : "")) && m(t, "class", C);
4452
+ (x[12] ? " Closing" : "")) && g(t, "class", C);
4474
4453
  },
4475
4454
  d(x) {
4476
- x && I(t), N.d(), Ee(O, x), L && L.d(), e[40](null), V = !1, z();
4455
+ x && I(t), N.d(), we(M, x), B && B.d(), e[40](null), V = !1, X();
4477
4456
  }
4478
4457
  };
4479
4458
  }
4480
- function Vo(e) {
4481
- let t, r = q(new Array(5)), n = [];
4459
+ function jo(e) {
4460
+ let t, r = Q(new Array(5)), n = [];
4482
4461
  for (let i = 0; i < r.length; i += 1)
4483
- n[i] = zo(Wo(e, r, i));
4462
+ n[i] = Vo($o(e, r, i));
4484
4463
  return {
4485
4464
  c() {
4486
4465
  for (let i = 0; i < n.length; i += 1)
4487
4466
  n[i].c();
4488
- t = yr();
4467
+ t = pr();
4489
4468
  },
4490
4469
  m(i, o) {
4491
4470
  for (let a = 0; a < n.length; a += 1)
@@ -4494,22 +4473,22 @@ function Vo(e) {
4494
4473
  },
4495
4474
  p: $,
4496
4475
  d(i) {
4497
- i && I(t), Ee(n, i);
4476
+ i && I(t), we(n, i);
4498
4477
  }
4499
4478
  };
4500
4479
  }
4501
- function Xo(e) {
4502
- let t, r = q(
4480
+ function Wo(e) {
4481
+ let t, r = Q(
4503
4482
  /*HamburgerMenuItems*/
4504
4483
  e[4]
4505
4484
  ), n = [];
4506
4485
  for (let i = 0; i < r.length; i += 1)
4507
- n[i] = sr(ir(e, r, i));
4486
+ n[i] = or(rr(e, r, i));
4508
4487
  return {
4509
4488
  c() {
4510
4489
  for (let i = 0; i < n.length; i += 1)
4511
4490
  n[i].c();
4512
- t = yr();
4491
+ t = pr();
4513
4492
  },
4514
4493
  m(i, o) {
4515
4494
  for (let a = 0; a < n.length; a += 1)
@@ -4519,14 +4498,14 @@ function Xo(e) {
4519
4498
  p(i, o) {
4520
4499
  if (o[0] & /*activeMenuItemId, HamburgerMenuItems, changeMenu*/
4521
4500
  131120) {
4522
- r = q(
4501
+ r = Q(
4523
4502
  /*HamburgerMenuItems*/
4524
4503
  i[4]
4525
4504
  );
4526
4505
  let a;
4527
4506
  for (a = 0; a < r.length; a += 1) {
4528
- const s = ir(i, r, a);
4529
- n[a] ? n[a].p(s, o) : (n[a] = sr(s), n[a].c(), n[a].m(t.parentNode, t));
4507
+ const s = rr(i, r, a);
4508
+ n[a] ? n[a].p(s, o) : (n[a] = or(s), n[a].c(), n[a].m(t.parentNode, t));
4530
4509
  }
4531
4510
  for (; a < n.length; a += 1)
4532
4511
  n[a].d(1);
@@ -4534,15 +4513,15 @@ function Xo(e) {
4534
4513
  }
4535
4514
  },
4536
4515
  d(i) {
4537
- i && I(t), Ee(n, i);
4516
+ i && I(t), we(n, i);
4538
4517
  }
4539
4518
  };
4540
4519
  }
4541
- function zo(e) {
4520
+ function Vo(e) {
4542
4521
  let t;
4543
4522
  return {
4544
4523
  c() {
4545
- t = v("div"), t.innerHTML = "", m(t, "class", "Loading Skeleton");
4524
+ t = v("div"), t.innerHTML = "", g(t, "class", "Loading Skeleton");
4546
4525
  },
4547
4526
  m(r, n) {
4548
4527
  F(r, t, n);
@@ -4553,12 +4532,12 @@ function zo(e) {
4553
4532
  }
4554
4533
  };
4555
4534
  }
4556
- function ar(e) {
4535
+ function ir(e) {
4557
4536
  let t, r;
4558
4537
  return {
4559
4538
  c() {
4560
4539
  t = v("img"), K(t.src, r = /*mainItem*/
4561
- e[63].img) || m(t, "src", r), m(t, "alt", "menu icon");
4540
+ e[63].img) || g(t, "src", r), g(t, "alt", "menu icon");
4562
4541
  },
4563
4542
  m(n, i) {
4564
4543
  F(n, t, i);
@@ -4566,20 +4545,20 @@ function ar(e) {
4566
4545
  p(n, i) {
4567
4546
  i[0] & /*HamburgerMenuItems*/
4568
4547
  16 && !K(t.src, r = /*mainItem*/
4569
- n[63].img) && m(t, "src", r);
4548
+ n[63].img) && g(t, "src", r);
4570
4549
  },
4571
4550
  d(n) {
4572
4551
  n && I(t);
4573
4552
  }
4574
4553
  };
4575
4554
  }
4576
- function sr(e) {
4555
+ function or(e) {
4577
4556
  let t, r, n, i, o = (
4578
4557
  /*mainItem*/
4579
4558
  e[63].label + ""
4580
- ), a, s, u, l, c, h = (
4559
+ ), a, s, l, u, h, c = (
4581
4560
  /*mainItem*/
4582
- e[63]?.img && ar(e)
4561
+ e[63]?.img && ir(e)
4583
4562
  );
4584
4563
  function f() {
4585
4564
  return (
@@ -4592,33 +4571,33 @@ function sr(e) {
4592
4571
  }
4593
4572
  return {
4594
4573
  c() {
4595
- t = v("li"), r = v("div"), h && h.c(), n = U(), i = v("p"), a = ee(o), s = U(), m(r, "class", "HamburgerItemContainer"), m(t, "class", u = /*activeMenuItemId*/
4574
+ t = v("li"), r = v("div"), c && c.c(), n = U(), i = v("p"), a = ee(o), s = U(), g(r, "class", "HamburgerItemContainer"), g(t, "class", l = /*activeMenuItemId*/
4596
4575
  e[5] === /*mainItem*/
4597
4576
  e[63].id ? "ActiveItem" : "");
4598
4577
  },
4599
- m(p, g) {
4600
- F(p, t, g), b(t, r), h && h.m(r, null), b(r, n), b(r, i), b(i, a), b(t, s), l || (c = te(t, "click", f), l = !0);
4578
+ m(m, p) {
4579
+ F(m, t, p), b(t, r), c && c.m(r, null), b(r, n), b(r, i), b(i, a), b(t, s), u || (h = te(t, "click", f), u = !0);
4601
4580
  },
4602
- p(p, g) {
4603
- e = p, /*mainItem*/
4604
- e[63]?.img ? h ? h.p(e, g) : (h = ar(e), h.c(), h.m(r, n)) : h && (h.d(1), h = null), g[0] & /*HamburgerMenuItems*/
4581
+ p(m, p) {
4582
+ e = m, /*mainItem*/
4583
+ e[63]?.img ? c ? c.p(e, p) : (c = ir(e), c.c(), c.m(r, n)) : c && (c.d(1), c = null), p[0] & /*HamburgerMenuItems*/
4605
4584
  16 && o !== (o = /*mainItem*/
4606
- e[63].label + "") && de(a, o), g[0] & /*activeMenuItemId, HamburgerMenuItems*/
4607
- 48 && u !== (u = /*activeMenuItemId*/
4585
+ e[63].label + "") && me(a, o), p[0] & /*activeMenuItemId, HamburgerMenuItems*/
4586
+ 48 && l !== (l = /*activeMenuItemId*/
4608
4587
  e[5] === /*mainItem*/
4609
- e[63].id ? "ActiveItem" : "") && m(t, "class", u);
4588
+ e[63].id ? "ActiveItem" : "") && g(t, "class", l);
4610
4589
  },
4611
- d(p) {
4612
- p && I(t), h && h.d(), l = !1, c();
4590
+ d(m) {
4591
+ m && I(t), c && c.d(), u = !1, h();
4613
4592
  }
4614
4593
  };
4615
4594
  }
4616
- function ur(e) {
4595
+ function ar(e) {
4617
4596
  let t, r;
4618
4597
  return {
4619
4598
  c() {
4620
4599
  t = v("img"), K(t.src, r = /*secondaryItem*/
4621
- e[60].img) || m(t, "src", r), m(t, "alt", "menu icon");
4600
+ e[60].img) || g(t, "src", r), g(t, "alt", "menu icon");
4622
4601
  },
4623
4602
  m(n, i) {
4624
4603
  F(n, t, i);
@@ -4626,137 +4605,137 @@ function ur(e) {
4626
4605
  p(n, i) {
4627
4606
  i[0] & /*activeMenuItemChildren*/
4628
4607
  64 && !K(t.src, r = /*secondaryItem*/
4629
- n[60].img) && m(t, "src", r);
4608
+ n[60].img) && g(t, "src", r);
4630
4609
  },
4631
4610
  d(n) {
4632
4611
  n && I(t);
4633
4612
  }
4634
4613
  };
4635
4614
  }
4636
- function lr(e) {
4615
+ function sr(e) {
4637
4616
  let t, r, n, i = (
4638
4617
  /*secondaryItem*/
4639
4618
  e[60].label + ""
4640
- ), o, a, s, u, l = (
4619
+ ), o, a, s, l, u = (
4641
4620
  /*secondaryItem*/
4642
- e[60]?.img && ur(e)
4621
+ e[60]?.img && ar(e)
4643
4622
  );
4644
- function c(...h) {
4623
+ function h(...c) {
4645
4624
  return (
4646
4625
  /*click_handler_1*/
4647
4626
  e[36](
4648
4627
  /*secondaryItem*/
4649
4628
  e[60],
4650
- ...h
4629
+ ...c
4651
4630
  )
4652
4631
  );
4653
4632
  }
4654
4633
  return {
4655
4634
  c() {
4656
- t = v("li"), l && l.c(), r = U(), n = v("p"), o = ee(i), a = U();
4635
+ t = v("li"), u && u.c(), r = U(), n = v("p"), o = ee(i), a = U();
4657
4636
  },
4658
- m(h, f) {
4659
- F(h, t, f), l && l.m(t, null), b(t, r), b(t, n), b(n, o), b(t, a), s || (u = te(t, "click", c), s = !0);
4637
+ m(c, f) {
4638
+ F(c, t, f), u && u.m(t, null), b(t, r), b(t, n), b(n, o), b(t, a), s || (l = te(t, "click", h), s = !0);
4660
4639
  },
4661
- p(h, f) {
4662
- e = h, /*secondaryItem*/
4663
- e[60]?.img ? l ? l.p(e, f) : (l = ur(e), l.c(), l.m(t, r)) : l && (l.d(1), l = null), f[0] & /*activeMenuItemChildren*/
4640
+ p(c, f) {
4641
+ e = c, /*secondaryItem*/
4642
+ e[60]?.img ? u ? u.p(e, f) : (u = ar(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), f[0] & /*activeMenuItemChildren*/
4664
4643
  64 && i !== (i = /*secondaryItem*/
4665
- e[60].label + "") && de(o, i);
4644
+ e[60].label + "") && me(o, i);
4666
4645
  },
4667
- d(h) {
4668
- h && I(t), l && l.d(), s = !1, u();
4646
+ d(c) {
4647
+ c && I(t), u && u.d(), s = !1, l();
4669
4648
  }
4670
4649
  };
4671
4650
  }
4672
- function cr(e) {
4651
+ function lr(e) {
4673
4652
  let t, r, n = (
4674
4653
  /*$_*/
4675
4654
  e[15]("language") + ""
4676
- ), i, o, a, s, u;
4677
- function l(f, p) {
4655
+ ), i, o, a, s, l;
4656
+ function u(f, m) {
4678
4657
  return (
4679
4658
  /*countryflaghamburger*/
4680
- f[0] !== "true" ? Qo : Zo
4659
+ f[0] !== "true" ? zo : Xo
4681
4660
  );
4682
4661
  }
4683
- let c = l(e), h = c(e);
4662
+ let h = u(e), c = h(e);
4684
4663
  return {
4685
4664
  c() {
4686
- t = v("div"), r = v("span"), i = ee(n), o = U(), h.c(), m(r, "class", "LanguageSelectorTitle"), m(t, "class", a = "LanguageSelector " + /*isOptionsListVisible*/
4665
+ t = v("div"), r = v("span"), i = ee(n), o = U(), c.c(), g(r, "class", "LanguageSelectorTitle"), g(t, "class", a = "LanguageSelector " + /*isOptionsListVisible*/
4687
4666
  (e[10] ? "Open" : ""));
4688
4667
  },
4689
- m(f, p) {
4690
- F(f, t, p), b(t, r), b(r, i), b(t, o), h.m(t, null), s || (u = te(
4668
+ m(f, m) {
4669
+ F(f, t, m), b(t, r), b(r, i), b(t, o), c.m(t, null), s || (l = te(
4691
4670
  t,
4692
4671
  "click",
4693
4672
  /*toggleLanguageDropdown*/
4694
4673
  e[21]
4695
4674
  ), s = !0);
4696
4675
  },
4697
- p(f, p) {
4698
- p[0] & /*$_*/
4676
+ p(f, m) {
4677
+ m[0] & /*$_*/
4699
4678
  32768 && n !== (n = /*$_*/
4700
- f[15]("language") + "") && de(i, n), c === (c = l(f)) && h ? h.p(f, p) : (h.d(1), h = c(f), h && (h.c(), h.m(t, null))), p[0] & /*isOptionsListVisible*/
4679
+ f[15]("language") + "") && me(i, n), h === (h = u(f)) && c ? c.p(f, m) : (c.d(1), c = h(f), c && (c.c(), c.m(t, null))), m[0] & /*isOptionsListVisible*/
4701
4680
  1024 && a !== (a = "LanguageSelector " + /*isOptionsListVisible*/
4702
- (f[10] ? "Open" : "")) && m(t, "class", a);
4681
+ (f[10] ? "Open" : "")) && g(t, "class", a);
4703
4682
  },
4704
4683
  d(f) {
4705
- f && I(t), h.d(), s = !1, u();
4684
+ f && I(t), c.d(), s = !1, l();
4706
4685
  }
4707
4686
  };
4708
4687
  }
4709
- function Zo(e) {
4710
- let t, r, n, i, o, a, s, u = (
4688
+ function Xo(e) {
4689
+ let t, r, n, i, o, a, s, l = (
4711
4690
  /*selectedLanguage*/
4712
4691
  e[14].slice(-2) + ""
4713
- ), l, c, h, f, p, g, y, w = (
4692
+ ), u, h, c, f, m, p, y, S = (
4714
4693
  /*isOptionsListVisible*/
4715
- e[10] && hr(e)
4694
+ e[10] && ur(e)
4716
4695
  );
4717
4696
  return {
4718
4697
  c() {
4719
- t = v("div"), r = v("div"), n = v("span"), i = v("img"), a = U(), s = v("span"), l = ee(u), c = U(), h = v("span"), f = At("svg"), p = At("path"), y = U(), w && w.c(), K(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4698
+ t = v("div"), r = v("div"), n = v("span"), i = v("img"), a = U(), s = v("span"), u = ee(l), h = U(), c = v("span"), f = Ot("svg"), m = Ot("path"), y = U(), S && S.c(), K(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4720
4699
  e[22](
4721
4700
  /*selectedLanguage*/
4722
4701
  e[14]
4723
- )}.svg`) || m(i, "src", o), m(n, "class", "FlagIcon"), m(s, "class", "LanguageName"), m(p, "id", "arrow"), m(p, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), m(p, "transform", "translate(-274.511 -441.088)"), m(p, "fill", "#d1d1d1"), m(f, "xmlns", "http://www.w3.org/2000/svg"), m(f, "width", "14"), m(f, "height", "6.835"), m(f, "viewBox", "0 0 14 6.835"), m(h, "class", g = "TriangleInactive " + /*isOptionsListVisible*/
4724
- (e[10] ? "TriangleActive" : "")), m(r, "class", "SelectedOption Item ItemLanguage"), m(t, "class", "LanguageDropdown");
4702
+ )}.svg`) || g(i, "src", o), g(n, "class", "FlagIcon"), g(s, "class", "LanguageName"), g(m, "id", "arrow"), g(m, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), g(m, "transform", "translate(-274.511 -441.088)"), g(m, "fill", "#d1d1d1"), g(f, "xmlns", "http://www.w3.org/2000/svg"), g(f, "width", "14"), g(f, "height", "6.835"), g(f, "viewBox", "0 0 14 6.835"), g(c, "class", p = "TriangleInactive " + /*isOptionsListVisible*/
4703
+ (e[10] ? "TriangleActive" : "")), g(r, "class", "SelectedOption Item ItemLanguage"), g(t, "class", "LanguageDropdown");
4725
4704
  },
4726
- m(H, B) {
4727
- F(H, t, B), b(t, r), b(r, n), b(n, i), b(r, a), b(r, s), b(s, l), b(r, c), b(r, h), b(h, f), b(f, p), b(t, y), w && w.m(t, null);
4705
+ m(T, P) {
4706
+ F(T, t, P), b(t, r), b(r, n), b(n, i), b(r, a), b(r, s), b(s, u), b(r, h), b(r, c), b(c, f), b(f, m), b(t, y), S && S.m(t, null);
4728
4707
  },
4729
- p(H, B) {
4730
- B[0] & /*selectedLanguage, languagesArray*/
4708
+ p(T, P) {
4709
+ P[0] & /*selectedLanguage, languagesArray*/
4731
4710
  16896 && !K(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4732
- H[22](
4711
+ T[22](
4733
4712
  /*selectedLanguage*/
4734
- H[14]
4735
- )}.svg`) && m(i, "src", o), B[0] & /*selectedLanguage*/
4736
- 16384 && u !== (u = /*selectedLanguage*/
4737
- H[14].slice(-2) + "") && de(l, u), B[0] & /*isOptionsListVisible*/
4738
- 1024 && g !== (g = "TriangleInactive " + /*isOptionsListVisible*/
4739
- (H[10] ? "TriangleActive" : "")) && m(h, "class", g), /*isOptionsListVisible*/
4740
- H[10] ? w ? w.p(H, B) : (w = hr(H), w.c(), w.m(t, null)) : w && (w.d(1), w = null);
4713
+ T[14]
4714
+ )}.svg`) && g(i, "src", o), P[0] & /*selectedLanguage*/
4715
+ 16384 && l !== (l = /*selectedLanguage*/
4716
+ T[14].slice(-2) + "") && me(u, l), P[0] & /*isOptionsListVisible*/
4717
+ 1024 && p !== (p = "TriangleInactive " + /*isOptionsListVisible*/
4718
+ (T[10] ? "TriangleActive" : "")) && g(c, "class", p), /*isOptionsListVisible*/
4719
+ T[10] ? S ? S.p(T, P) : (S = ur(T), S.c(), S.m(t, null)) : S && (S.d(1), S = null);
4741
4720
  },
4742
- d(H) {
4743
- H && I(t), w && w.d();
4721
+ d(T) {
4722
+ T && I(t), S && S.d();
4744
4723
  }
4745
4724
  };
4746
4725
  }
4747
- function Qo(e) {
4748
- let t, r, n, i = q(
4726
+ function zo(e) {
4727
+ let t, r, n, i = Q(
4749
4728
  /*languagesArray*/
4750
4729
  e[9]
4751
4730
  ), o = [];
4752
4731
  for (let a = 0; a < i.length; a += 1)
4753
- o[a] = dr(rr(e, i, a));
4732
+ o[a] = cr(er(e, i, a));
4754
4733
  return {
4755
4734
  c() {
4756
4735
  t = v("select");
4757
4736
  for (let a = 0; a < o.length; a += 1)
4758
4737
  o[a].c();
4759
- m(t, "class", "Item ItemLanguage NoFlag"), /*selectedLanguage*/
4738
+ g(t, "class", "Item ItemLanguage NoFlag"), /*selectedLanguage*/
4760
4739
  e[14] === void 0 && Re(() => (
4761
4740
  /*select_change_handler*/
4762
4741
  e[37].call(t)
@@ -4764,9 +4743,9 @@ function Qo(e) {
4764
4743
  },
4765
4744
  m(a, s) {
4766
4745
  F(a, t, s);
4767
- for (let u = 0; u < o.length; u += 1)
4768
- o[u] && o[u].m(t, null);
4769
- Lt(
4746
+ for (let l = 0; l < o.length; l += 1)
4747
+ o[l] && o[l].m(t, null);
4748
+ At(
4770
4749
  t,
4771
4750
  /*selectedLanguage*/
4772
4751
  e[14],
@@ -4789,44 +4768,44 @@ function Qo(e) {
4789
4768
  p(a, s) {
4790
4769
  if (s[0] & /*languagesArray*/
4791
4770
  512) {
4792
- i = q(
4771
+ i = Q(
4793
4772
  /*languagesArray*/
4794
4773
  a[9]
4795
4774
  );
4796
- let u;
4797
- for (u = 0; u < i.length; u += 1) {
4798
- const l = rr(a, i, u);
4799
- o[u] ? o[u].p(l, s) : (o[u] = dr(l), o[u].c(), o[u].m(t, null));
4775
+ let l;
4776
+ for (l = 0; l < i.length; l += 1) {
4777
+ const u = er(a, i, l);
4778
+ o[l] ? o[l].p(u, s) : (o[l] = cr(u), o[l].c(), o[l].m(t, null));
4800
4779
  }
4801
- for (; u < o.length; u += 1)
4802
- o[u].d(1);
4780
+ for (; l < o.length; l += 1)
4781
+ o[l].d(1);
4803
4782
  o.length = i.length;
4804
4783
  }
4805
4784
  s[0] & /*selectedLanguage, languagesArray*/
4806
- 16896 && Lt(
4785
+ 16896 && At(
4807
4786
  t,
4808
4787
  /*selectedLanguage*/
4809
4788
  a[14]
4810
4789
  );
4811
4790
  },
4812
4791
  d(a) {
4813
- a && I(t), Ee(o, a), r = !1, fe(n);
4792
+ a && I(t), we(o, a), r = !1, de(n);
4814
4793
  }
4815
4794
  };
4816
4795
  }
4817
- function hr(e) {
4818
- let t, r, n = q(
4796
+ function ur(e) {
4797
+ let t, r, n = Q(
4819
4798
  /*languagesArray*/
4820
4799
  e[9]
4821
4800
  ), i = [];
4822
4801
  for (let o = 0; o < n.length; o += 1)
4823
- i[o] = fr(tr(e, n, o));
4802
+ i[o] = hr(Kt(e, n, o));
4824
4803
  return {
4825
4804
  c() {
4826
4805
  t = v("div");
4827
4806
  for (let o = 0; o < i.length; o += 1)
4828
4807
  i[o].c();
4829
- m(t, "class", r = "OptionList " + /*languageListOpen*/
4808
+ g(t, "class", r = "OptionList " + /*languageListOpen*/
4830
4809
  (e[11] ? "Open" : ""));
4831
4810
  },
4832
4811
  m(o, a) {
@@ -4837,14 +4816,14 @@ function hr(e) {
4837
4816
  p(o, a) {
4838
4817
  if (a[0] & /*languageListOpen, selectLanguage, languagesArray, determineFlag*/
4839
4818
  5245440) {
4840
- n = q(
4819
+ n = Q(
4841
4820
  /*languagesArray*/
4842
4821
  o[9]
4843
4822
  );
4844
4823
  let s;
4845
4824
  for (s = 0; s < n.length; s += 1) {
4846
- const u = tr(o, n, s);
4847
- i[s] ? i[s].p(u, a) : (i[s] = fr(u), i[s].c(), i[s].m(t, null));
4825
+ const l = Kt(o, n, s);
4826
+ i[s] ? i[s].p(l, a) : (i[s] = hr(l), i[s].c(), i[s].m(t, null));
4848
4827
  }
4849
4828
  for (; s < i.length; s += 1)
4850
4829
  i[s].d(1);
@@ -4852,19 +4831,19 @@ function hr(e) {
4852
4831
  }
4853
4832
  a[0] & /*languageListOpen*/
4854
4833
  2048 && r !== (r = "OptionList " + /*languageListOpen*/
4855
- (o[11] ? "Open" : "")) && m(t, "class", r);
4834
+ (o[11] ? "Open" : "")) && g(t, "class", r);
4856
4835
  },
4857
4836
  d(o) {
4858
- o && I(t), Ee(i, o);
4837
+ o && I(t), we(i, o);
4859
4838
  }
4860
4839
  };
4861
4840
  }
4862
- function fr(e) {
4841
+ function hr(e) {
4863
4842
  let t, r, n, i, o, a, s = (
4864
4843
  /*operatorLanguage*/
4865
4844
  e[57] + ""
4866
- ), u, l, c, h, f;
4867
- function p() {
4845
+ ), l, u, h, c, f;
4846
+ function m() {
4868
4847
  return (
4869
4848
  /*click_handler_2*/
4870
4849
  e[39](
@@ -4875,34 +4854,34 @@ function fr(e) {
4875
4854
  }
4876
4855
  return {
4877
4856
  c() {
4878
- t = v("div"), r = v("span"), n = v("img"), o = U(), a = v("span"), u = ee(s), l = U(), K(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4857
+ t = v("div"), r = v("span"), n = v("img"), o = U(), a = v("span"), l = ee(s), u = U(), K(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4879
4858
  e[22](
4880
4859
  /*operatorLanguage*/
4881
4860
  e[57]
4882
- )}.svg`) || m(n, "src", i), m(r, "class", "FlagIcon"), m(a, "class", "LanguageName"), m(t, "class", c = "LanguageOption " + /*languageListOpen*/
4861
+ )}.svg`) || g(n, "src", i), g(r, "class", "FlagIcon"), g(a, "class", "LanguageName"), g(t, "class", h = "LanguageOption " + /*languageListOpen*/
4883
4862
  (e[11] ? "Open" : ""));
4884
4863
  },
4885
- m(g, y) {
4886
- F(g, t, y), b(t, r), b(r, n), b(t, o), b(t, a), b(a, u), b(t, l), h || (f = te(t, "click", p), h = !0);
4864
+ m(p, y) {
4865
+ F(p, t, y), b(t, r), b(r, n), b(t, o), b(t, a), b(a, l), b(t, u), c || (f = te(t, "click", m), c = !0);
4887
4866
  },
4888
- p(g, y) {
4889
- e = g, y[0] & /*languagesArray*/
4867
+ p(p, y) {
4868
+ e = p, y[0] & /*languagesArray*/
4890
4869
  512 && !K(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4891
4870
  e[22](
4892
4871
  /*operatorLanguage*/
4893
4872
  e[57]
4894
- )}.svg`) && m(n, "src", i), y[0] & /*languagesArray*/
4873
+ )}.svg`) && g(n, "src", i), y[0] & /*languagesArray*/
4895
4874
  512 && s !== (s = /*operatorLanguage*/
4896
- e[57] + "") && de(u, s), y[0] & /*languageListOpen*/
4897
- 2048 && c !== (c = "LanguageOption " + /*languageListOpen*/
4898
- (e[11] ? "Open" : "")) && m(t, "class", c);
4875
+ e[57] + "") && me(l, s), y[0] & /*languageListOpen*/
4876
+ 2048 && h !== (h = "LanguageOption " + /*languageListOpen*/
4877
+ (e[11] ? "Open" : "")) && g(t, "class", h);
4899
4878
  },
4900
- d(g) {
4901
- g && I(t), h = !1, f();
4879
+ d(p) {
4880
+ p && I(t), c = !1, f();
4902
4881
  }
4903
4882
  };
4904
4883
  }
4905
- function dr(e) {
4884
+ function cr(e) {
4906
4885
  let t, r = (
4907
4886
  /*lang*/
4908
4887
  e[1].slice(-2) + ""
@@ -4910,7 +4889,7 @@ function dr(e) {
4910
4889
  return {
4911
4890
  c() {
4912
4891
  t = v("option"), n = ee(r), t.__value = i = /*lang*/
4913
- e[1], Pt(t, t.__value), t.selected = !0;
4892
+ e[1], Mt(t, t.__value), t.selected = !0;
4914
4893
  },
4915
4894
  m(o, a) {
4916
4895
  F(o, t, a), b(t, n);
@@ -4918,19 +4897,19 @@ function dr(e) {
4918
4897
  p(o, a) {
4919
4898
  a[0] & /*languagesArray*/
4920
4899
  512 && r !== (r = /*lang*/
4921
- o[1].slice(-2) + "") && de(n, r), a[0] & /*languagesArray*/
4900
+ o[1].slice(-2) + "") && me(n, r), a[0] & /*languagesArray*/
4922
4901
  512 && i !== (i = /*lang*/
4923
- o[1]) && (t.__value = i, Pt(t, t.__value));
4902
+ o[1]) && (t.__value = i, Mt(t, t.__value));
4924
4903
  },
4925
4904
  d(o) {
4926
4905
  o && I(t);
4927
4906
  }
4928
4907
  };
4929
4908
  }
4930
- function qo(e) {
4909
+ function Zo(e) {
4931
4910
  let t, r = (
4932
4911
  /*show*/
4933
- e[8] === !0 && or(e)
4912
+ e[8] === !0 && nr(e)
4934
4913
  );
4935
4914
  return {
4936
4915
  c() {
@@ -4941,7 +4920,7 @@ function qo(e) {
4941
4920
  },
4942
4921
  p(n, i) {
4943
4922
  /*show*/
4944
- n[8] === !0 ? r ? r.p(n, i) : (r = or(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4923
+ n[8] === !0 ? r ? r.p(n, i) : (r = nr(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4945
4924
  },
4946
4925
  i: $,
4947
4926
  o: $,
@@ -4950,30 +4929,30 @@ function qo(e) {
4950
4929
  }
4951
4930
  };
4952
4931
  }
4953
- function Jo(e, t, r) {
4932
+ function Qo(e, t, r) {
4954
4933
  let n;
4955
- fn(e, Ro, (d) => r(15, n = d));
4956
- let { menuitemsurl: i = "" } = t, { cmsendpoint: o } = t, { cmsenv: a = "stage" } = t, { userroles: s } = t, { lang: u = "en" } = t, { activecategory: l = "" } = t, { languageslist: c = "" } = t, { translationurl: h = "" } = t, { mbsource: f } = t, { clientstyling: p = "" } = t, { clientstylingurl: g = "" } = t, { customlocaleidentifier: y = "" } = t, { countryflaghamburger: w = "" } = t, H, B = window.navigator.userAgent, P = [], G, C = "", V = [], z = !1, ne = !1, J = !0, N = [], j = !1, O = !1, L = !1, x = !1, R = !0, S, W = "", Z;
4957
- const Jr = () => {
4958
- fetch(h).then((d) => d.json()).then((d) => {
4959
- Object.keys(d).forEach((M) => {
4960
- Kt(M, d[M]);
4934
+ cn(e, Co, (d) => r(15, n = d));
4935
+ let { menuitemsurl: i = "" } = t, { cmsendpoint: o } = t, { cmsenv: a = "stage" } = t, { userroles: s } = t, { lang: l = "en" } = t, { activecategory: u = "" } = t, { languageslist: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, { clientstyling: m = "" } = t, { clientstylingurl: p = "" } = t, { customlocaleidentifier: y = "" } = t, { countryflaghamburger: S = "" } = t, T, P = window.navigator.userAgent, L = [], G, C = "", V = [], X = !1, ne = !1, J = !0, N = [], j = !1, M = !1, B = !1, x = !1, R = !0, H, W = "", z;
4936
+ const qr = () => {
4937
+ fetch(c).then((d) => d.json()).then((d) => {
4938
+ Object.keys(d).forEach((A) => {
4939
+ Jt(A, d[A]);
4961
4940
  });
4962
4941
  }).catch((d) => {
4963
4942
  console.log(d);
4964
4943
  });
4965
4944
  };
4966
- Object.keys(er).forEach((d) => {
4967
- Kt(d, er[d]);
4945
+ Object.keys(Yt).forEach((d) => {
4946
+ Jt(d, Yt[d]);
4968
4947
  });
4969
- const Xe = () => {
4970
- S = new URL(`${o}/${W.toLowerCase()}/hamburger-menu`);
4971
- let d = Fo(B);
4972
- d && (d === "PC" ? S.searchParams.append("device", "dk") : S.searchParams.append("device", "mtWeb")), S.searchParams.append("env", a), S.searchParams.append("language", W.toLowerCase()), S.searchParams.append("userRoles", s);
4973
- }, xt = () => {
4974
- r(12, x = !0), r(13, R = !0), r(10, O = !1), r(11, L = !1), setTimeout(
4948
+ const We = () => {
4949
+ H = new URL(`${o}/${W.toLowerCase()}/hamburger-menu`);
4950
+ let d = Ro(P);
4951
+ d && (d === "PC" ? H.searchParams.append("device", "dk") : H.searchParams.append("device", "mtWeb")), H.searchParams.append("env", a), H.searchParams.append("language", W.toLowerCase()), H.searchParams.append("userRoles", s);
4952
+ }, vt = () => {
4953
+ r(12, x = !0), r(13, R = !0), r(10, M = !1), r(11, B = !1), setTimeout(
4975
4954
  () => {
4976
- r(8, ne = !1), r(7, z = !1);
4955
+ r(8, ne = !1), r(7, X = !1);
4977
4956
  },
4978
4957
  200
4979
4958
  ), window.postMessage(
@@ -4983,39 +4962,39 @@ function Jo(e, t, r) {
4983
4962
  },
4984
4963
  window.location.href
4985
4964
  );
4986
- }, Et = (d) => {
4965
+ }, _t = (d) => {
4987
4966
  d.data.type === "OpenHamburgerMenuModal" && (window.postMessage({ type: "DisableScroll" }, window.location.href), r(12, x = !1), setTimeout(
4988
4967
  () => {
4989
4968
  r(13, R = !1);
4990
4969
  },
4991
4970
  125
4992
- ), r(8, ne = !0), r(7, z = !0), Xe(), St(S)), d.data.type === "LanguageChanged" && (j = !0, Xe(), St(S));
4993
- }, He = (d, M) => {
4994
- r(5, C = d), r(6, V = M || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
4971
+ ), r(8, ne = !0), r(7, X = !0), We(), Et(H)), d.data.type === "LanguageChanged" && (j = !0, We(), Et(H));
4972
+ }, He = (d, A) => {
4973
+ r(5, C = d), r(6, V = A || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
4995
4974
  context: "HamburgerMenu",
4996
4975
  menuItem: `${C}`
4997
4976
  });
4998
- }, wt = () => {
4999
- let d = P.filter((M) => {
4977
+ }, xt = () => {
4978
+ let d = L.filter((A) => {
5000
4979
  let Te = !1;
5001
- return M.children?.forEach((ln) => {
5002
- ln.path.includes(l) && (Te = !0);
4980
+ return A.children?.forEach((ln) => {
4981
+ ln.path.includes(u) && (Te = !0);
5003
4982
  }), Te;
5004
4983
  });
5005
- d.length > 0 ? He(d[0].id, d[0].children) : He(P[0].id, P[0].children);
5006
- }, St = (d) => {
5007
- G && !j || Ht(d);
5008
- }, Ht = (d) => {
5009
- fetch(d).then((M) => M.json()).then(
5010
- (M) => {
5011
- r(4, P = M.filter((Te) => Te?.type !== "banner")), wt(), r(34, J = !1), G = M, j = !1;
4984
+ d.length > 0 ? He(d[0].id, d[0].children) : He(L[0].id, L[0].children);
4985
+ }, Et = (d) => {
4986
+ G && !j || wt(d);
4987
+ }, wt = (d) => {
4988
+ fetch(d).then((A) => A.json()).then(
4989
+ (A) => {
4990
+ r(4, L = A.filter((Te) => Te?.type !== "banner")), xt(), r(34, J = !1), G = A, j = !1;
5012
4991
  },
5013
- (M) => {
5014
- console.error(M);
4992
+ (A) => {
4993
+ console.error(A);
5015
4994
  }
5016
4995
  );
5017
4996
  };
5018
- let Tt = (d) => {
4997
+ let St = (d) => {
5019
4998
  window.postMessage(
5020
4999
  {
5021
5000
  type: "NavigateTo",
@@ -5024,9 +5003,9 @@ function Jo(e, t, r) {
5024
5003
  target: d.attrs.target || null
5025
5004
  },
5026
5005
  window.location.href
5027
- ), xt();
5006
+ ), vt();
5028
5007
  };
5029
- const ze = () => {
5008
+ const Ve = () => {
5030
5009
  j = !0, window.postMessage(
5031
5010
  {
5032
5011
  type: "LanguageChanged",
@@ -5034,122 +5013,122 @@ function Jo(e, t, r) {
5034
5013
  },
5035
5014
  window.location.href
5036
5015
  );
5037
- }, Yr = () => {
5038
- $o(u), Xe(), j && Ht(S), r(9, N = c.replace(/ /g, "").split(",")), r(9, N = N.map((d) => d.toUpperCase())), r(14, W = u.toUpperCase());
5039
- }, Ot = (d) => {
5016
+ }, Jr = () => {
5017
+ ko(l), We(), j && wt(H), r(9, N = h.replace(/ /g, "").split(",")), r(9, N = N.map((d) => d.toUpperCase())), r(14, W = l.toUpperCase());
5018
+ }, Ht = (d) => {
5040
5019
  r(14, W = d), setTimeout(
5041
5020
  () => {
5042
- r(11, L = !1);
5021
+ r(11, B = !1);
5043
5022
  },
5044
5023
  250
5045
5024
  ), setTimeout(
5046
5025
  () => {
5047
- r(10, O = !1);
5026
+ r(10, M = !1);
5048
5027
  },
5049
5028
  500
5050
- ), ze();
5051
- }, Kr = () => {
5052
- O ? (setTimeout(
5029
+ ), Ve();
5030
+ }, Yr = () => {
5031
+ M ? (setTimeout(
5053
5032
  () => {
5054
- r(10, O = !1);
5033
+ r(10, M = !1);
5055
5034
  },
5056
5035
  250
5057
- ), r(11, L = !1)) : (r(10, O = !0), setTimeout(
5036
+ ), r(11, B = !1)) : (r(10, M = !0), setTimeout(
5058
5037
  () => {
5059
- r(11, L = !0);
5038
+ r(11, B = !0);
5060
5039
  },
5061
5040
  300
5062
5041
  ));
5063
- }, en = (d) => {
5064
- let M = d ? d.slice(-2) : W.slice(-2);
5065
- return y && (M = y.includes(M.toLowerCase()) ? y.slice(-2) : M), M == "EN" ? "GB" : M.toUpperCase();
5042
+ }, Kr = (d) => {
5043
+ let A = d ? d.slice(-2) : W.slice(-2);
5044
+ return y && (A = y.includes(A.toLowerCase()) ? y.slice(-2) : A), A == "EN" ? "GB" : A.toUpperCase();
5066
5045
  };
5067
- _n(() => (window.addEventListener("message", Et, !1), Uo(B), () => {
5068
- window.removeEventListener("message", Et);
5046
+ vn(() => (window.addEventListener("message", _t, !1), No(P), () => {
5047
+ window.removeEventListener("message", _t);
5069
5048
  }));
5070
- const tn = (d) => He(d.id, d.children), rn = (d, M) => {
5071
- Tt(d), M.preventDefault();
5049
+ const en = (d) => He(d.id, d.children), tn = (d, A) => {
5050
+ St(d), A.preventDefault();
5072
5051
  };
5073
- function nn() {
5074
- W = bn(this), r(14, W), r(9, N);
5052
+ function rn() {
5053
+ W = pn(this), r(14, W), r(9, N);
5075
5054
  }
5076
- const on = () => ze(), an = (d) => Ot(d);
5077
- function sn(d) {
5055
+ const nn = () => Ve(), on = (d) => Ht(d);
5056
+ function an(d) {
5078
5057
  Ne[d ? "unshift" : "push"](() => {
5079
- H = d, r(3, H);
5058
+ T = d, r(3, T);
5080
5059
  });
5081
5060
  }
5082
- function un(d) {
5061
+ function sn(d) {
5083
5062
  Ne[d ? "unshift" : "push"](() => {
5084
- Z = d, r(2, Z);
5063
+ z = d, r(2, z);
5085
5064
  });
5086
5065
  }
5087
5066
  return e.$$set = (d) => {
5088
- "menuitemsurl" in d && r(23, i = d.menuitemsurl), "cmsendpoint" in d && r(24, o = d.cmsendpoint), "cmsenv" in d && r(25, a = d.cmsenv), "userroles" in d && r(26, s = d.userroles), "lang" in d && r(1, u = d.lang), "activecategory" in d && r(27, l = d.activecategory), "languageslist" in d && r(28, c = d.languageslist), "translationurl" in d && r(29, h = d.translationurl), "mbsource" in d && r(30, f = d.mbsource), "clientstyling" in d && r(31, p = d.clientstyling), "clientstylingurl" in d && r(32, g = d.clientstylingurl), "customlocaleidentifier" in d && r(33, y = d.customlocaleidentifier), "countryflaghamburger" in d && r(0, w = d.countryflaghamburger);
5067
+ "menuitemsurl" in d && r(23, i = d.menuitemsurl), "cmsendpoint" in d && r(24, o = d.cmsendpoint), "cmsenv" in d && r(25, a = d.cmsenv), "userroles" in d && r(26, s = d.userroles), "lang" in d && r(1, l = d.lang), "activecategory" in d && r(27, u = d.activecategory), "languageslist" in d && r(28, h = d.languageslist), "translationurl" in d && r(29, c = d.translationurl), "mbsource" in d && r(30, f = d.mbsource), "clientstyling" in d && r(31, m = d.clientstyling), "clientstylingurl" in d && r(32, p = d.clientstylingurl), "customlocaleidentifier" in d && r(33, y = d.customlocaleidentifier), "countryflaghamburger" in d && r(0, S = d.countryflaghamburger);
5089
5068
  }, e.$$.update = () => {
5090
5069
  e.$$.dirty[0] & /*cmsendpoint, cmsenv, lang, languageslist*/
5091
- 318767106 && o && a && u && c && Yr(), e.$$.dirty[0] & /*activecategory*/
5070
+ 318767106 && o && a && l && h && Jr(), e.$$.dirty[0] & /*activecategory*/
5092
5071
  134217728 | e.$$.dirty[1] & /*isLoading*/
5093
- 8 && l && !J && wt(), e.$$.dirty[0] & /*translationurl*/
5094
- 536870912 && h && Jr(), e.$$.dirty[0] & /*customStylingContainer*/
5072
+ 8 && u && !J && xt(), e.$$.dirty[0] & /*translationurl*/
5073
+ 536870912 && c && qr(), e.$$.dirty[0] & /*customStylingContainer*/
5095
5074
  4 | e.$$.dirty[1] & /*clientstyling*/
5096
- 1 && p && Z && Do(Z, p), e.$$.dirty[0] & /*customStylingContainer*/
5075
+ 1 && m && z && Uo(z, m), e.$$.dirty[0] & /*customStylingContainer*/
5097
5076
  4 | e.$$.dirty[1] & /*clientstylingurl*/
5098
- 2 && g && Z && ko(Z, g), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5099
- 1073741828 && f && Z && Go(Z, `${f}.Style`);
5077
+ 2 && p && z && Fo(z, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5078
+ 1073741828 && f && z && Do(z, `${f}.Style`);
5100
5079
  }, [
5101
- w,
5102
- u,
5103
- Z,
5104
- H,
5105
- P,
5080
+ S,
5081
+ l,
5082
+ z,
5083
+ T,
5084
+ L,
5106
5085
  C,
5107
5086
  V,
5108
- z,
5087
+ X,
5109
5088
  ne,
5110
5089
  N,
5111
- O,
5112
- L,
5090
+ M,
5091
+ B,
5113
5092
  x,
5114
5093
  R,
5115
5094
  W,
5116
5095
  n,
5117
- xt,
5096
+ vt,
5118
5097
  He,
5119
- Tt,
5120
- ze,
5121
- Ot,
5098
+ St,
5099
+ Ve,
5100
+ Ht,
5101
+ Yr,
5122
5102
  Kr,
5123
- en,
5124
5103
  i,
5125
5104
  o,
5126
5105
  a,
5127
5106
  s,
5128
- l,
5129
- c,
5107
+ u,
5130
5108
  h,
5109
+ c,
5131
5110
  f,
5111
+ m,
5132
5112
  p,
5133
- g,
5134
5113
  y,
5135
5114
  J,
5115
+ en,
5136
5116
  tn,
5137
5117
  rn,
5138
5118
  nn,
5139
5119
  on,
5140
5120
  an,
5141
- sn,
5142
- un
5121
+ sn
5143
5122
  ];
5144
5123
  }
5145
- class qr extends Bn {
5124
+ class Qr extends Bn {
5146
5125
  constructor(t) {
5147
- super(), Pn(
5126
+ super(), An(
5148
5127
  this,
5149
5128
  t,
5150
- Jo,
5151
- qo,
5152
- mr,
5129
+ Qo,
5130
+ Zo,
5131
+ dr,
5153
5132
  {
5154
5133
  menuitemsurl: 23,
5155
5134
  cmsendpoint: 24,
@@ -5165,7 +5144,7 @@ class qr extends Bn {
5165
5144
  customlocaleidentifier: 33,
5166
5145
  countryflaghamburger: 0
5167
5146
  },
5168
- jo,
5147
+ Go,
5169
5148
  [-1, -1, -1]
5170
5149
  );
5171
5150
  }
@@ -5248,54 +5227,54 @@ class qr extends Bn {
5248
5227
  this.$$set({ countryflaghamburger: t }), D();
5249
5228
  }
5250
5229
  }
5251
- Ln(qr, { menuitemsurl: {}, cmsendpoint: {}, cmsenv: {}, userroles: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {} }, [], [], !0);
5252
- const aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5230
+ Ln(Qr, { menuitemsurl: {}, cmsendpoint: {}, cmsenv: {}, userroles: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {} }, [], [], !0);
5231
+ const ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5253
5232
  __proto__: null,
5254
- default: qr
5233
+ default: Qr
5255
5234
  }, Symbol.toStringTag, { value: "Module" }));
5256
5235
  export {
5257
- me as $,
5258
- $ as A,
5259
- Ne as B,
5260
- fe as C,
5261
- de as D,
5236
+ pe as $,
5237
+ pr as A,
5238
+ Q as B,
5239
+ Ot as C,
5240
+ we as D,
5262
5241
  ee as E,
5263
- At as F,
5264
- q as G,
5265
- Ee as H,
5266
- Fo as I,
5267
- Ro as J,
5268
- Do as K,
5269
- ko as L,
5270
- Go as M,
5271
- oa as N,
5272
- na as O,
5273
- aa as P,
5242
+ me as F,
5243
+ $ as G,
5244
+ No as H,
5245
+ Ne as I,
5246
+ Uo as J,
5247
+ de as K,
5248
+ Co as L,
5249
+ Ro as M,
5250
+ na as N,
5251
+ ta as O,
5252
+ ia as P,
5274
5253
  Bn as S,
5275
5254
  Se as a,
5276
- Vr as b,
5255
+ Wr as b,
5277
5256
  Ln as c,
5278
- dn as d,
5279
- Yo as e,
5257
+ fn as d,
5258
+ qo as e,
5280
5259
  D as f,
5281
- I as g,
5282
- Tn as h,
5283
- Pn as i,
5260
+ v as g,
5261
+ U as h,
5262
+ An as i,
5284
5263
  K as j,
5285
- m as k,
5286
- ta as l,
5287
- Ko as m,
5288
- ra as n,
5289
- F as o,
5290
- b as p,
5291
- te as q,
5292
- v as r,
5293
- mr as s,
5294
- ia as t,
5295
- ea as u,
5296
- U as v,
5297
- fn as w,
5298
- _n as x,
5299
- Uo as y,
5300
- yr as z
5264
+ g as k,
5265
+ ea as l,
5266
+ F as m,
5267
+ b as n,
5268
+ te as o,
5269
+ Ko as p,
5270
+ Jo as q,
5271
+ ra as r,
5272
+ dr as s,
5273
+ Hn as t,
5274
+ Yo as u,
5275
+ I as v,
5276
+ cn as w,
5277
+ vn as x,
5278
+ Fo as y,
5279
+ Do as z
5301
5280
  };