@everymatrix/casino-header-controller-nd 1.71.1 → 1.72.1

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