@everymatrix/casino-header-controller-nd 1.77.32 → 1.80.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/components/CasinoHamburgerMenuNd-7Ram2YIF.cjs +18 -0
  2. package/components/{CasinoHamburgerMenuNd-s68elmju.js → CasinoHamburgerMenuNd-DB_HYAUx.js} +1383 -1321
  3. package/components/{CasinoHamburgerMenuNd-CCisotWZ.js → CasinoHamburgerMenuNd-zpAzpmHI.js} +1435 -1373
  4. package/components/{CasinoHeaderControllerNd-CSOBLoRf.js → CasinoHeaderControllerNd-BeMkUBB5.js} +214 -203
  5. package/components/{CasinoHeaderControllerNd-BLx3tcUA.js → CasinoHeaderControllerNd-CE9c5PI3.js} +175 -164
  6. package/components/{CasinoHeaderControllerNd-DlbJyFos.cjs → CasinoHeaderControllerNd-DASsvuDN.cjs} +1 -1
  7. package/components/{PlayerAccountBalanceModalNd-BZBQ_MkB.js → PlayerAccountBalanceModalNd-Bbbf5Zlk.js} +1 -1
  8. package/components/{PlayerAccountBalanceModalNd-BlKqxx0I.cjs → PlayerAccountBalanceModalNd-Cufs7l7s.cjs} +1 -1
  9. package/components/{PlayerAccountBalanceModalNd-DRkw_s8e.js → PlayerAccountBalanceModalNd-vCKXT5c-.js} +1 -1
  10. package/components/{PlayerDeposit-DTNDPRxp.js → PlayerDeposit-Bihwy1oa.js} +1 -1
  11. package/components/{PlayerDeposit-DlEqOtq5.js → PlayerDeposit-CDOgfT1e.js} +1 -1
  12. package/components/{PlayerDeposit-DPTLH-O5.cjs → PlayerDeposit-UVuTVd-L.cjs} +1 -1
  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/lazy/{casino-hamburger-menu-nd-DfIreGZa.cjs → casino-hamburger-menu-nd-D43TP5uV.cjs} +1 -1
  17. package/lazy/{casino-hamburger-menu-nd-DilPY5oK.js → casino-hamburger-menu-nd-DtiHc44A.js} +1 -1
  18. package/lazy/{casino-hamburger-menu-nd-O9ZzAWNy.js → casino-hamburger-menu-nd-LrOJCbIl.js} +1 -1
  19. package/lazy/{player-account-balance-modal-nd-oNaOepQC.cjs → player-account-balance-modal-nd-CDd4WpZd.cjs} +1 -1
  20. package/lazy/{player-account-balance-modal-nd-C49ajcOs.js → player-account-balance-modal-nd-CgwVHDyI.js} +1 -1
  21. package/lazy/{player-account-balance-modal-nd-CZftCu2J.js → player-account-balance-modal-nd-ymy3n_Ph.js} +1 -1
  22. package/lazy/{player-deposit-BclF_1Yd.js → player-deposit-BdUGAWde.js} +1 -1
  23. package/lazy/{player-deposit-DnNQtk3F.cjs → player-deposit-C_aa4bTB.cjs} +1 -1
  24. package/lazy/{player-deposit-Bd40BwY8.js → player-deposit-CmReCo2y.js} +1 -1
  25. package/package.json +1 -1
  26. package/components/CasinoHamburgerMenuNd-DFEftEfw.cjs +0 -18
@@ -1,6 +1,6 @@
1
- function $() {
1
+ function W() {
2
2
  }
3
- function Mn(e, t) {
3
+ function Nn(e, t) {
4
4
  for (const r in t)
5
5
  e[r] = t[r];
6
6
  return (
@@ -8,50 +8,50 @@ function Mn(e, t) {
8
8
  e
9
9
  );
10
10
  }
11
- function Ar(e) {
11
+ function Cr(e) {
12
12
  return e();
13
13
  }
14
- function Ft() {
14
+ function Wt() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
- function ce(e) {
18
- e.forEach(Ar);
17
+ function fe(e) {
18
+ e.forEach(Cr);
19
19
  }
20
- function Lt(e) {
20
+ function Bt(e) {
21
21
  return typeof e == "function";
22
22
  }
23
- function Lr(e, t) {
23
+ function Nr(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
- let ke;
27
- function K(e, t) {
28
- return e === t ? !0 : (ke || (ke = document.createElement("a")), ke.href = t, e === ke.href);
26
+ let De;
27
+ function Y(e, t) {
28
+ return e === t ? !0 : (De || (De = document.createElement("a")), De.href = t, e === De.href);
29
29
  }
30
- function An(e) {
30
+ function Rn(e) {
31
31
  return Object.keys(e).length === 0;
32
32
  }
33
- function Pr(e, ...t) {
33
+ function Rr(e, ...t) {
34
34
  if (e == null) {
35
35
  for (const n of t)
36
36
  n(void 0);
37
- return $;
37
+ return W;
38
38
  }
39
39
  const r = e.subscribe(...t);
40
40
  return r.unsubscribe ? () => r.unsubscribe() : r;
41
41
  }
42
- function Ln(e, t, r) {
43
- e.$$.on_destroy.push(Pr(t, r));
42
+ function kn(e, t, r) {
43
+ e.$$.on_destroy.push(Rr(t, r));
44
44
  }
45
- function Pn(e, t, r, n) {
45
+ function Un(e, t, r, n) {
46
46
  if (e) {
47
- const i = Br(e, t, r, n);
47
+ const i = kr(e, t, r, n);
48
48
  return e[0](i);
49
49
  }
50
50
  }
51
- function Br(e, t, r, n) {
52
- return e[1] && n ? Mn(r.ctx.slice(), e[1](n(t))) : r.ctx;
51
+ function kr(e, t, r, n) {
52
+ return e[1] && n ? Nn(r.ctx.slice(), e[1](n(t))) : r.ctx;
53
53
  }
54
- function Bn(e, t, r, n) {
54
+ function Dn(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 Bn(e, t, r, n) {
66
66
  }
67
67
  return t.dirty;
68
68
  }
69
- function In(e, t, r, n, i, o) {
69
+ function Fn(e, t, r, n, i, o) {
70
70
  if (i) {
71
- const a = Br(t, r, n, o);
71
+ const a = kr(t, r, n, o);
72
72
  e.p(a, i);
73
73
  }
74
74
  }
75
- function Cn(e) {
75
+ function Gn(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 Cn(e) {
84
84
  function b(e, t) {
85
85
  e.appendChild(t);
86
86
  }
87
- function Nn(e, t, r) {
88
- const n = Rn(e);
87
+ function jn(e, t, r) {
88
+ const n = $n(e);
89
89
  if (!n.getElementById(t)) {
90
90
  const i = v("style");
91
- i.id = t, i.textContent = r, kn(n, i);
91
+ i.id = t, i.textContent = r, Wn(n, i);
92
92
  }
93
93
  }
94
- function Rn(e) {
94
+ function $n(e) {
95
95
  if (!e)
96
96
  return document;
97
97
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -101,42 +101,42 @@ function Rn(e) {
101
101
  t
102
102
  ) : e.ownerDocument;
103
103
  }
104
- function kn(e, t) {
104
+ function Wn(e, t) {
105
105
  return b(
106
106
  /** @type {Document} */
107
107
  e.head || e,
108
108
  t
109
109
  ), t.sheet;
110
110
  }
111
- function B(e, t, r) {
111
+ function P(e, t, r) {
112
112
  e.insertBefore(t, r || null);
113
113
  }
114
- function P(e) {
114
+ function L(e) {
115
115
  e.parentNode && e.parentNode.removeChild(e);
116
116
  }
117
- function Ce(e, t) {
117
+ function Re(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 Dt(e) {
124
+ function Vt(e) {
125
125
  return document.createElementNS("http://www.w3.org/2000/svg", e);
126
126
  }
127
- function Q(e) {
127
+ function K(e) {
128
128
  return document.createTextNode(e);
129
129
  }
130
- function N() {
131
- return Q(" ");
130
+ function C() {
131
+ return K(" ");
132
132
  }
133
- function Ir() {
134
- return Q("");
133
+ function Ur() {
134
+ return K("");
135
135
  }
136
- function oe(e, t, r, n) {
136
+ function se(e, t, r, n) {
137
137
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
138
138
  }
139
- function xa(e) {
139
+ function Aa(e) {
140
140
  return function(t) {
141
141
  return t.preventDefault(), e.call(this, t);
142
142
  };
@@ -144,24 +144,24 @@ function xa(e) {
144
144
  function p(e, t, r) {
145
145
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
146
146
  }
147
- function Ea(e, t, r) {
147
+ function La(e, t, r) {
148
148
  const n = t.toLowerCase();
149
149
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : p(e, t, r);
150
150
  }
151
- function Un(e) {
151
+ function Vn(e) {
152
152
  return Array.from(e.childNodes);
153
153
  }
154
- function ae(e, t) {
154
+ function le(e, t) {
155
155
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
156
156
  t);
157
157
  }
158
- function Gt(e, t) {
158
+ function Xt(e, t) {
159
159
  e.value = t ?? "";
160
160
  }
161
- function wa(e, t, r, n) {
161
+ function Pa(e, t, r, n) {
162
162
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
163
163
  }
164
- function jt(e, t, r) {
164
+ function zt(e, t, r) {
165
165
  for (let n = 0; n < e.options.length; n += 1) {
166
166
  const i = e.options[n];
167
167
  if (i.__value === t) {
@@ -171,14 +171,14 @@ function jt(e, t, r) {
171
171
  }
172
172
  (!r || t !== void 0) && (e.selectedIndex = -1);
173
173
  }
174
- function Fn(e) {
174
+ function Xn(e) {
175
175
  const t = e.querySelector(":checked");
176
176
  return t && t.__value;
177
177
  }
178
- function $t(e, t, r) {
178
+ function Zt(e, t, r) {
179
179
  e.classList.toggle(t, !!r);
180
180
  }
181
- function Dn(e) {
181
+ function zn(e) {
182
182
  const t = {};
183
183
  return e.childNodes.forEach(
184
184
  /** @param {Element} node */
@@ -187,124 +187,124 @@ function Dn(e) {
187
187
  }
188
188
  ), t;
189
189
  }
190
- let Le;
191
- function Ae(e) {
192
- Le = e;
190
+ let Ie;
191
+ function Pe(e) {
192
+ Ie = e;
193
193
  }
194
- function Gn() {
195
- if (!Le)
194
+ function Zn() {
195
+ if (!Ie)
196
196
  throw new Error("Function called outside component initialization");
197
- return Le;
197
+ return Ie;
198
198
  }
199
- function jn(e) {
200
- Gn().$$.on_mount.push(e);
199
+ function Qn(e) {
200
+ Zn().$$.on_mount.push(e);
201
201
  }
202
- function Ha(e, t) {
202
+ function Ia(e, t) {
203
203
  const r = e.$$.callbacks[t.type];
204
204
  r && r.slice().forEach((n) => n.call(this, t));
205
205
  }
206
- const _e = [], Ve = [];
207
- let ve = [];
208
- const Wt = [], $n = /* @__PURE__ */ Promise.resolve();
209
- let pt = !1;
210
- function Wn() {
211
- pt || (pt = !0, $n.then(k));
206
+ const ve = [], ze = [];
207
+ let xe = [];
208
+ const Qt = [], qn = /* @__PURE__ */ Promise.resolve();
209
+ let bt = !1;
210
+ function Jn() {
211
+ bt || (bt = !0, qn.then(B));
212
212
  }
213
- function Xe(e) {
214
- ve.push(e);
213
+ function Ze(e) {
214
+ xe.push(e);
215
215
  }
216
- const at = /* @__PURE__ */ new Set();
217
- let be = 0;
218
- function k() {
219
- if (be !== 0)
216
+ const ut = /* @__PURE__ */ new Set();
217
+ let ye = 0;
218
+ function B() {
219
+ if (ye !== 0)
220
220
  return;
221
- const e = Le;
221
+ const e = Ie;
222
222
  do {
223
223
  try {
224
- for (; be < _e.length; ) {
225
- const t = _e[be];
226
- be++, Ae(t), Vn(t.$$);
224
+ for (; ye < ve.length; ) {
225
+ const t = ve[ye];
226
+ ye++, Pe(t), Yn(t.$$);
227
227
  }
228
228
  } catch (t) {
229
- throw _e.length = 0, be = 0, t;
229
+ throw ve.length = 0, ye = 0, t;
230
230
  }
231
- for (Ae(null), _e.length = 0, be = 0; Ve.length; )
232
- Ve.pop()();
233
- for (let t = 0; t < ve.length; t += 1) {
234
- const r = ve[t];
235
- at.has(r) || (at.add(r), r());
231
+ for (Pe(null), ve.length = 0, ye = 0; ze.length; )
232
+ ze.pop()();
233
+ for (let t = 0; t < xe.length; t += 1) {
234
+ const r = xe[t];
235
+ ut.has(r) || (ut.add(r), r());
236
236
  }
237
- ve.length = 0;
238
- } while (_e.length);
239
- for (; Wt.length; )
240
- Wt.pop()();
241
- pt = !1, at.clear(), Ae(e);
237
+ xe.length = 0;
238
+ } while (ve.length);
239
+ for (; Qt.length; )
240
+ Qt.pop()();
241
+ bt = !1, ut.clear(), Pe(e);
242
242
  }
243
- function Vn(e) {
243
+ function Yn(e) {
244
244
  if (e.fragment !== null) {
245
- e.update(), ce(e.before_update);
245
+ e.update(), fe(e.before_update);
246
246
  const t = e.dirty;
247
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Xe);
247
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ze);
248
248
  }
249
249
  }
250
- function Xn(e) {
250
+ function Kn(e) {
251
251
  const t = [], r = [];
252
- ve.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ve = t;
252
+ xe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), xe = t;
253
253
  }
254
- const De = /* @__PURE__ */ new Set();
255
- let le;
256
- function Cr() {
257
- le = {
254
+ const je = /* @__PURE__ */ new Set();
255
+ let ce;
256
+ function Dr() {
257
+ ce = {
258
258
  r: 0,
259
259
  c: [],
260
- p: le
260
+ p: ce
261
261
  // parent group
262
262
  };
263
263
  }
264
- function Nr() {
265
- le.r || ce(le.c), le = le.p;
264
+ function Fr() {
265
+ ce.r || fe(ce.c), ce = ce.p;
266
266
  }
267
- function ue(e, t) {
268
- e && e.i && (De.delete(e), e.i(t));
267
+ function he(e, t) {
268
+ e && e.i && (je.delete(e), e.i(t));
269
269
  }
270
- function Pe(e, t, r, n) {
270
+ function Be(e, t, r, n) {
271
271
  if (e && e.o) {
272
- if (De.has(e))
272
+ if (je.has(e))
273
273
  return;
274
- De.add(e), le.c.push(() => {
275
- De.delete(e), n && (r && e.d(1), n());
274
+ je.add(e), ce.c.push(() => {
275
+ je.delete(e), n && (r && e.d(1), n());
276
276
  }), e.o(t);
277
277
  } else
278
278
  n && n();
279
279
  }
280
- function te(e) {
280
+ function ne(e) {
281
281
  return e?.length !== void 0 ? e : Array.from(e);
282
282
  }
283
- function zn(e, t, r) {
283
+ function ei(e, t, r) {
284
284
  const { fragment: n, after_update: i } = e.$$;
285
- n && n.m(t, r), Xe(() => {
286
- const o = e.$$.on_mount.map(Ar).filter(Lt);
287
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ce(o), e.$$.on_mount = [];
288
- }), i.forEach(Xe);
285
+ n && n.m(t, r), Ze(() => {
286
+ const o = e.$$.on_mount.map(Cr).filter(Bt);
287
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : fe(o), e.$$.on_mount = [];
288
+ }), i.forEach(Ze);
289
289
  }
290
- function Zn(e, t) {
290
+ function ti(e, t) {
291
291
  const r = e.$$;
292
- r.fragment !== null && (Xn(r.after_update), ce(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
292
+ r.fragment !== null && (Kn(r.after_update), fe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
293
293
  }
294
- function Qn(e, t) {
295
- e.$$.dirty[0] === -1 && (_e.push(e), Wn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
294
+ function ri(e, t) {
295
+ e.$$.dirty[0] === -1 && (ve.push(e), Jn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
296
296
  }
297
- function qn(e, t, r, n, i, o, a = null, s = [-1]) {
298
- const u = Le;
299
- Ae(e);
297
+ function ni(e, t, r, n, i, o, a = null, s = [-1]) {
298
+ const u = Ie;
299
+ Pe(e);
300
300
  const l = e.$$ = {
301
301
  fragment: null,
302
302
  ctx: [],
303
303
  // state
304
304
  props: o,
305
- update: $,
305
+ update: W,
306
306
  not_equal: i,
307
- bound: Ft(),
307
+ bound: Wt(),
308
308
  // lifecycle
309
309
  on_mount: [],
310
310
  on_destroy: [],
@@ -313,28 +313,28 @@ function qn(e, t, r, n, i, o, a = null, s = [-1]) {
313
313
  after_update: [],
314
314
  context: new Map(t.context || (u ? u.$$.context : [])),
315
315
  // everything else
316
- callbacks: Ft(),
316
+ callbacks: Wt(),
317
317
  dirty: s,
318
318
  skip_bound: !1,
319
319
  root: t.target || u.$$.root
320
320
  };
321
321
  a && a(l.root);
322
322
  let c = !1;
323
- if (l.ctx = r ? r(e, t.props || {}, (h, g, ...d) => {
323
+ if (l.ctx = r ? r(e, t.props || {}, (f, g, ...d) => {
324
324
  const m = d.length ? d[0] : g;
325
- return l.ctx && i(l.ctx[h], l.ctx[h] = m) && (!l.skip_bound && l.bound[h] && l.bound[h](m), c && Qn(e, h)), g;
326
- }) : [], l.update(), c = !0, ce(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
325
+ return l.ctx && i(l.ctx[f], l.ctx[f] = m) && (!l.skip_bound && l.bound[f] && l.bound[f](m), c && ri(e, f)), g;
326
+ }) : [], l.update(), c = !0, fe(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
327
327
  if (t.hydrate) {
328
- const h = Un(t.target);
329
- l.fragment && l.fragment.l(h), h.forEach(P);
328
+ const f = Vn(t.target);
329
+ l.fragment && l.fragment.l(f), f.forEach(L);
330
330
  } else
331
331
  l.fragment && l.fragment.c();
332
- t.intro && ue(e.$$.fragment), zn(e, t.target, t.anchor), k();
332
+ t.intro && he(e.$$.fragment), ei(e, t.target, t.anchor), B();
333
333
  }
334
- Ae(u);
334
+ Pe(u);
335
335
  }
336
- let Rr;
337
- typeof HTMLElement == "function" && (Rr = class extends HTMLElement {
336
+ let Gr;
337
+ typeof HTMLElement == "function" && (Gr = class extends HTMLElement {
338
338
  /** The Svelte component constructor */
339
339
  $$ctor;
340
340
  /** Slots */
@@ -383,22 +383,22 @@ typeof HTMLElement == "function" && (Rr = class extends HTMLElement {
383
383
  * @param {HTMLElement} [anchor]
384
384
  */
385
385
  m: function(u, l) {
386
- B(u, o, l);
386
+ P(u, o, l);
387
387
  },
388
388
  d: function(u) {
389
- u && P(o);
389
+ u && L(o);
390
390
  }
391
391
  };
392
392
  };
393
393
  };
394
394
  if (await Promise.resolve(), !this.$$cn || this.$$c)
395
395
  return;
396
- const t = {}, r = Dn(this);
396
+ const t = {}, r = zn(this);
397
397
  for (const i of this.$$s)
398
398
  i in r && (t[i] = [e(i)]);
399
399
  for (const i of this.attributes) {
400
400
  const o = this.$$g_p(i.name);
401
- o in this.$$d || (this.$$d[o] = Ge(o, i.value, this.$$p_d, "toProp"));
401
+ o in this.$$d || (this.$$d[o] = $e(o, i.value, this.$$p_d, "toProp"));
402
402
  }
403
403
  for (const i in this.$$p_d)
404
404
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -416,7 +416,7 @@ typeof HTMLElement == "function" && (Rr = class extends HTMLElement {
416
416
  this.$$r = !0;
417
417
  for (const i in this.$$p_d)
418
418
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
419
- const o = Ge(
419
+ const o = $e(
420
420
  i,
421
421
  this.$$d[i],
422
422
  this.$$p_d,
@@ -438,7 +438,7 @@ typeof HTMLElement == "function" && (Rr = class extends HTMLElement {
438
438
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
439
439
  // and setting attributes through setAttribute etc, this is helpful
440
440
  attributeChangedCallback(e, t, r) {
441
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ge(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
441
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = $e(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
442
442
  }
443
443
  disconnectedCallback() {
444
444
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -451,7 +451,7 @@ typeof HTMLElement == "function" && (Rr = class extends HTMLElement {
451
451
  ) || e;
452
452
  }
453
453
  });
454
- function Ge(e, t, r, n) {
454
+ function $e(e, t, r, n) {
455
455
  const i = r[e]?.type;
456
456
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
457
457
  return t;
@@ -480,8 +480,8 @@ function Ge(e, t, r, n) {
480
480
  return t;
481
481
  }
482
482
  }
483
- function Jn(e, t, r, n, i, o) {
484
- let a = class extends Rr {
483
+ function ii(e, t, r, n, i, o) {
484
+ let a = class extends Gr {
485
485
  constructor() {
486
486
  super(e, r, i), this.$$p_d = t;
487
487
  }
@@ -497,7 +497,7 @@ function Jn(e, t, r, n, i, o) {
497
497
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
498
498
  },
499
499
  set(u) {
500
- u = Ge(s, u, t), this.$$d[s] = u, this.$$c?.$set({ [s]: u });
500
+ u = $e(s, u, t), this.$$d[s] = u, this.$$c?.$set({ [s]: u });
501
501
  }
502
502
  });
503
503
  }), n.forEach((s) => {
@@ -509,7 +509,7 @@ function Jn(e, t, r, n, i, o) {
509
509
  }), e.element = /** @type {any} */
510
510
  a, a;
511
511
  }
512
- class Yn {
512
+ class oi {
513
513
  /**
514
514
  * ### PRIVATE API
515
515
  *
@@ -528,7 +528,7 @@ class Yn {
528
528
  $$set = void 0;
529
529
  /** @returns {void} */
530
530
  $destroy() {
531
- Zn(this, 1), this.$destroy = $;
531
+ ti(this, 1), this.$destroy = W;
532
532
  }
533
533
  /**
534
534
  * @template {Extract<keyof Events, string>} K
@@ -537,8 +537,8 @@ class Yn {
537
537
  * @returns {() => void}
538
538
  */
539
539
  $on(t, r) {
540
- if (!Lt(r))
541
- return $;
540
+ if (!Bt(r))
541
+ return W;
542
542
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
543
543
  return n.push(r), () => {
544
544
  const i = n.indexOf(r);
@@ -550,11 +550,11 @@ class Yn {
550
550
  * @returns {void}
551
551
  */
552
552
  $set(t) {
553
- this.$$set && !An(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
553
+ this.$$set && !Rn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
554
554
  }
555
555
  }
556
- const Kn = "4";
557
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Kn);
556
+ const ai = "4";
557
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ai);
558
558
  /*! *****************************************************************************
559
559
  Copyright (c) Microsoft Corporation.
560
560
 
@@ -569,24 +569,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
569
569
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
570
570
  PERFORMANCE OF THIS SOFTWARE.
571
571
  ***************************************************************************** */
572
- var dt = function(e, t) {
573
- return dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
572
+ var yt = function(e, t) {
573
+ return yt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
574
574
  r.__proto__ = n;
575
575
  } || function(r, n) {
576
576
  for (var i in n)
577
577
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
578
- }, dt(e, t);
578
+ }, yt(e, t);
579
579
  };
580
- function Ne(e, t) {
580
+ function ke(e, t) {
581
581
  if (typeof t != "function" && t !== null)
582
582
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
583
- dt(e, t);
583
+ yt(e, t);
584
584
  function r() {
585
585
  this.constructor = e;
586
586
  }
587
587
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
588
588
  }
589
- function mt(e) {
589
+ function _t(e) {
590
590
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
591
591
  if (r)
592
592
  return r.call(e);
@@ -598,7 +598,7 @@ function mt(e) {
598
598
  };
599
599
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
600
600
  }
601
- function bt(e, t) {
601
+ function vt(e, t) {
602
602
  var r = typeof Symbol == "function" && e[Symbol.iterator];
603
603
  if (!r)
604
604
  return e;
@@ -618,22 +618,22 @@ function bt(e, t) {
618
618
  }
619
619
  return o;
620
620
  }
621
- function yt(e, t, r) {
621
+ function xt(e, t, r) {
622
622
  if (arguments.length === 2)
623
623
  for (var n = 0, i = t.length, o; n < i; n++)
624
624
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
625
625
  return e.concat(o || t);
626
626
  }
627
- function ee(e) {
627
+ function re(e) {
628
628
  return typeof e == "function";
629
629
  }
630
- function kr(e) {
630
+ function jr(e) {
631
631
  var t = function(n) {
632
632
  Error.call(n), n.stack = new Error().stack;
633
633
  }, r = e(t);
634
634
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
635
635
  }
636
- var st = kr(function(e) {
636
+ var ct = jr(function(e) {
637
637
  return function(r) {
638
638
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
639
639
  ` + r.map(function(n, i) {
@@ -642,13 +642,13 @@ var st = kr(function(e) {
642
642
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
643
643
  };
644
644
  });
645
- function _t(e, t) {
645
+ function Et(e, t) {
646
646
  if (e) {
647
647
  var r = e.indexOf(t);
648
648
  0 <= r && e.splice(r, 1);
649
649
  }
650
650
  }
651
- var qe = function() {
651
+ var Ye = function() {
652
652
  function e(t) {
653
653
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
654
654
  }
@@ -660,12 +660,12 @@ var qe = function() {
660
660
  if (a)
661
661
  if (this._parentage = null, Array.isArray(a))
662
662
  try {
663
- for (var s = mt(a), u = s.next(); !u.done; u = s.next()) {
663
+ for (var s = _t(a), u = s.next(); !u.done; u = s.next()) {
664
664
  var l = u.value;
665
665
  l.remove(this);
666
666
  }
667
- } catch (y) {
668
- t = { error: y };
667
+ } catch (_) {
668
+ t = { error: _ };
669
669
  } finally {
670
670
  try {
671
671
  u && !u.done && (r = s.return) && r.call(s);
@@ -677,26 +677,26 @@ var qe = function() {
677
677
  else
678
678
  a.remove(this);
679
679
  var c = this.initialTeardown;
680
- if (ee(c))
680
+ if (re(c))
681
681
  try {
682
682
  c();
683
- } catch (y) {
684
- o = y instanceof st ? y.errors : [y];
683
+ } catch (_) {
684
+ o = _ instanceof ct ? _.errors : [_];
685
685
  }
686
- var h = this._finalizers;
687
- if (h) {
686
+ var f = this._finalizers;
687
+ if (f) {
688
688
  this._finalizers = null;
689
689
  try {
690
- for (var g = mt(h), d = g.next(); !d.done; d = g.next()) {
690
+ for (var g = _t(f), d = g.next(); !d.done; d = g.next()) {
691
691
  var m = d.value;
692
692
  try {
693
- Vt(m);
694
- } catch (y) {
695
- o = o ?? [], y instanceof st ? o = yt(yt([], bt(o)), bt(y.errors)) : o.push(y);
693
+ qt(m);
694
+ } catch (_) {
695
+ o = o ?? [], _ instanceof ct ? o = xt(xt([], vt(o)), vt(_.errors)) : o.push(_);
696
696
  }
697
697
  }
698
- } catch (y) {
699
- n = { error: y };
698
+ } catch (_) {
699
+ n = { error: _ };
700
700
  } finally {
701
701
  try {
702
702
  d && !d.done && (i = g.return) && i.call(g);
@@ -707,13 +707,13 @@ var qe = function() {
707
707
  }
708
708
  }
709
709
  if (o)
710
- throw new st(o);
710
+ throw new ct(o);
711
711
  }
712
712
  }, e.prototype.add = function(t) {
713
713
  var r;
714
714
  if (t && t !== this)
715
715
  if (this.closed)
716
- Vt(t);
716
+ qt(t);
717
717
  else {
718
718
  if (t instanceof e) {
719
719
  if (t.closed || t._hasParent(this))
@@ -730,52 +730,52 @@ var qe = function() {
730
730
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
731
731
  }, e.prototype._removeParent = function(t) {
732
732
  var r = this._parentage;
733
- r === t ? this._parentage = null : Array.isArray(r) && _t(r, t);
733
+ r === t ? this._parentage = null : Array.isArray(r) && Et(r, t);
734
734
  }, e.prototype.remove = function(t) {
735
735
  var r = this._finalizers;
736
- r && _t(r, t), t instanceof e && t._removeParent(this);
736
+ r && Et(r, t), t instanceof e && t._removeParent(this);
737
737
  }, e.EMPTY = function() {
738
738
  var t = new e();
739
739
  return t.closed = !0, t;
740
740
  }(), e;
741
- }(), Ur = qe.EMPTY;
742
- function Fr(e) {
743
- return e instanceof qe || e && "closed" in e && ee(e.remove) && ee(e.add) && ee(e.unsubscribe);
741
+ }(), $r = Ye.EMPTY;
742
+ function Wr(e) {
743
+ return e instanceof Ye || e && "closed" in e && re(e.remove) && re(e.add) && re(e.unsubscribe);
744
744
  }
745
- function Vt(e) {
746
- ee(e) ? e() : e.unsubscribe();
745
+ function qt(e) {
746
+ re(e) ? e() : e.unsubscribe();
747
747
  }
748
- var ei = {
748
+ var si = {
749
749
  Promise: void 0
750
- }, ti = {
750
+ }, li = {
751
751
  setTimeout: function(e, t) {
752
752
  for (var r = [], n = 2; n < arguments.length; n++)
753
753
  r[n - 2] = arguments[n];
754
- return setTimeout.apply(void 0, yt([e, t], bt(r)));
754
+ return setTimeout.apply(void 0, xt([e, t], vt(r)));
755
755
  },
756
756
  clearTimeout: function(e) {
757
757
  return clearTimeout(e);
758
758
  },
759
759
  delegate: void 0
760
760
  };
761
- function ri(e) {
762
- ti.setTimeout(function() {
761
+ function ui(e) {
762
+ li.setTimeout(function() {
763
763
  throw e;
764
764
  });
765
765
  }
766
- function Xt() {
766
+ function Jt() {
767
767
  }
768
- function je(e) {
768
+ function We(e) {
769
769
  e();
770
770
  }
771
- var Dr = function(e) {
772
- Ne(t, e);
771
+ var Vr = function(e) {
772
+ ke(t, e);
773
773
  function t(r) {
774
774
  var n = e.call(this) || this;
775
- return n.isStopped = !1, r ? (n.destination = r, Fr(r) && r.add(n)) : n.destination = oi, n;
775
+ return n.isStopped = !1, r ? (n.destination = r, Wr(r) && r.add(n)) : n.destination = fi, n;
776
776
  }
777
777
  return t.create = function(r, n, i) {
778
- return new vt(r, n, i);
778
+ return new wt(r, n, i);
779
779
  }, t.prototype.next = function(r) {
780
780
  this.isStopped || this._next(r);
781
781
  }, t.prototype.error = function(r) {
@@ -799,7 +799,7 @@ var Dr = function(e) {
799
799
  this.unsubscribe();
800
800
  }
801
801
  }, t;
802
- }(qe), ni = function() {
802
+ }(Ye), ci = function() {
803
803
  function e(t) {
804
804
  this.partialObserver = t;
805
805
  }
@@ -809,7 +809,7 @@ var Dr = function(e) {
809
809
  try {
810
810
  r.next(t);
811
811
  } catch (n) {
812
- Ue(n);
812
+ Fe(n);
813
813
  }
814
814
  }, e.prototype.error = function(t) {
815
815
  var r = this.partialObserver;
@@ -817,56 +817,56 @@ var Dr = function(e) {
817
817
  try {
818
818
  r.error(t);
819
819
  } catch (n) {
820
- Ue(n);
820
+ Fe(n);
821
821
  }
822
822
  else
823
- Ue(t);
823
+ Fe(t);
824
824
  }, e.prototype.complete = function() {
825
825
  var t = this.partialObserver;
826
826
  if (t.complete)
827
827
  try {
828
828
  t.complete();
829
829
  } catch (r) {
830
- Ue(r);
830
+ Fe(r);
831
831
  }
832
832
  }, e;
833
- }(), vt = function(e) {
834
- Ne(t, e);
833
+ }(), wt = function(e) {
834
+ ke(t, e);
835
835
  function t(r, n, i) {
836
836
  var o = e.call(this) || this, a;
837
- return ee(r) || !r ? a = {
837
+ return re(r) || !r ? a = {
838
838
  next: r ?? void 0,
839
839
  error: n ?? void 0,
840
840
  complete: i ?? void 0
841
- } : a = r, o.destination = new ni(a), o;
841
+ } : a = r, o.destination = new ci(a), o;
842
842
  }
843
843
  return t;
844
- }(Dr);
845
- function Ue(e) {
846
- ri(e);
844
+ }(Vr);
845
+ function Fe(e) {
846
+ ui(e);
847
847
  }
848
- function ii(e) {
848
+ function hi(e) {
849
849
  throw e;
850
850
  }
851
- var oi = {
851
+ var fi = {
852
852
  closed: !0,
853
- next: Xt,
854
- error: ii,
855
- complete: Xt
856
- }, ai = function() {
853
+ next: Jt,
854
+ error: hi,
855
+ complete: Jt
856
+ }, gi = function() {
857
857
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
858
858
  }();
859
- function si(e) {
859
+ function pi(e) {
860
860
  return e;
861
861
  }
862
- function li(e) {
863
- return e.length === 0 ? si : e.length === 1 ? e[0] : function(r) {
862
+ function di(e) {
863
+ return e.length === 0 ? pi : e.length === 1 ? e[0] : function(r) {
864
864
  return e.reduce(function(n, i) {
865
865
  return i(n);
866
866
  }, r);
867
867
  };
868
868
  }
869
- var zt = function() {
869
+ var Yt = function() {
870
870
  function e(t) {
871
871
  t && (this._subscribe = t);
872
872
  }
@@ -874,8 +874,8 @@ var zt = function() {
874
874
  var r = new e();
875
875
  return r.source = this, r.operator = t, r;
876
876
  }, e.prototype.subscribe = function(t, r, n) {
877
- var i = this, o = ci(t) ? t : new vt(t, r, n);
878
- return je(function() {
877
+ var i = this, o = bi(t) ? t : new wt(t, r, n);
878
+ return We(function() {
879
879
  var a = i, s = a.operator, u = a.source;
880
880
  o.add(s ? s.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
881
881
  }), o;
@@ -887,8 +887,8 @@ var zt = function() {
887
887
  }
888
888
  }, e.prototype.forEach = function(t, r) {
889
889
  var n = this;
890
- return r = Zt(r), new r(function(i, o) {
891
- var a = new vt({
890
+ return r = Kt(r), new r(function(i, o) {
891
+ var a = new wt({
892
892
  next: function(s) {
893
893
  try {
894
894
  t(s);
@@ -904,15 +904,15 @@ var zt = function() {
904
904
  }, e.prototype._subscribe = function(t) {
905
905
  var r;
906
906
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
907
- }, e.prototype[ai] = function() {
907
+ }, e.prototype[gi] = function() {
908
908
  return this;
909
909
  }, e.prototype.pipe = function() {
910
910
  for (var t = [], r = 0; r < arguments.length; r++)
911
911
  t[r] = arguments[r];
912
- return li(t)(this);
912
+ return di(t)(this);
913
913
  }, e.prototype.toPromise = function(t) {
914
914
  var r = this;
915
- return t = Zt(t), new t(function(n, i) {
915
+ return t = Kt(t), new t(function(n, i) {
916
916
  var o;
917
917
  r.subscribe(function(a) {
918
918
  return o = a;
@@ -926,40 +926,40 @@ var zt = function() {
926
926
  return new e(t);
927
927
  }, e;
928
928
  }();
929
- function Zt(e) {
929
+ function Kt(e) {
930
930
  var t;
931
- return (t = e ?? ei.Promise) !== null && t !== void 0 ? t : Promise;
931
+ return (t = e ?? si.Promise) !== null && t !== void 0 ? t : Promise;
932
932
  }
933
- function ui(e) {
934
- return e && ee(e.next) && ee(e.error) && ee(e.complete);
933
+ function mi(e) {
934
+ return e && re(e.next) && re(e.error) && re(e.complete);
935
935
  }
936
- function ci(e) {
937
- return e && e instanceof Dr || ui(e) && Fr(e);
936
+ function bi(e) {
937
+ return e && e instanceof Vr || mi(e) && Wr(e);
938
938
  }
939
- var hi = kr(function(e) {
939
+ var yi = jr(function(e) {
940
940
  return function() {
941
941
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
942
942
  };
943
- }), Gr = function(e) {
944
- Ne(t, e);
943
+ }), Xr = function(e) {
944
+ ke(t, e);
945
945
  function t() {
946
946
  var r = e.call(this) || this;
947
947
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
948
948
  }
949
949
  return t.prototype.lift = function(r) {
950
- var n = new Qt(this, this);
950
+ var n = new er(this, this);
951
951
  return n.operator = r, n;
952
952
  }, t.prototype._throwIfClosed = function() {
953
953
  if (this.closed)
954
- throw new hi();
954
+ throw new yi();
955
955
  }, t.prototype.next = function(r) {
956
956
  var n = this;
957
- je(function() {
957
+ We(function() {
958
958
  var i, o;
959
959
  if (n._throwIfClosed(), !n.isStopped) {
960
960
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
961
961
  try {
962
- for (var a = mt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
962
+ for (var a = _t(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
963
963
  var u = s.value;
964
964
  u.next(r);
965
965
  }
@@ -977,7 +977,7 @@ var hi = kr(function(e) {
977
977
  });
978
978
  }, t.prototype.error = function(r) {
979
979
  var n = this;
980
- je(function() {
980
+ We(function() {
981
981
  if (n._throwIfClosed(), !n.isStopped) {
982
982
  n.hasError = n.isStopped = !0, n.thrownError = r;
983
983
  for (var i = n.observers; i.length; )
@@ -986,7 +986,7 @@ var hi = kr(function(e) {
986
986
  });
987
987
  }, t.prototype.complete = function() {
988
988
  var r = this;
989
- je(function() {
989
+ We(function() {
990
990
  if (r._throwIfClosed(), !r.isStopped) {
991
991
  r.isStopped = !0;
992
992
  for (var n = r.observers; n.length; )
@@ -1008,20 +1008,20 @@ var hi = kr(function(e) {
1008
1008
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1009
1009
  }, t.prototype._innerSubscribe = function(r) {
1010
1010
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1011
- return o || a ? Ur : (this.currentObservers = null, s.push(r), new qe(function() {
1012
- n.currentObservers = null, _t(s, r);
1011
+ return o || a ? $r : (this.currentObservers = null, s.push(r), new Ye(function() {
1012
+ n.currentObservers = null, Et(s, r);
1013
1013
  }));
1014
1014
  }, t.prototype._checkFinalizedStatuses = function(r) {
1015
1015
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1016
1016
  i ? r.error(o) : a && r.complete();
1017
1017
  }, t.prototype.asObservable = function() {
1018
- var r = new zt();
1018
+ var r = new Yt();
1019
1019
  return r.source = this, r;
1020
1020
  }, t.create = function(r, n) {
1021
- return new Qt(r, n);
1021
+ return new er(r, n);
1022
1022
  }, t;
1023
- }(zt), Qt = function(e) {
1024
- Ne(t, e);
1023
+ }(Yt), er = function(e) {
1024
+ ke(t, e);
1025
1025
  function t(r, n) {
1026
1026
  var i = e.call(this) || this;
1027
1027
  return i.destination = r, i.source = n, i;
@@ -1037,17 +1037,17 @@ var hi = kr(function(e) {
1037
1037
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1038
1038
  }, t.prototype._subscribe = function(r) {
1039
1039
  var n, i;
1040
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ur;
1040
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : $r;
1041
1041
  }, t;
1042
- }(Gr), jr = {
1042
+ }(Xr), zr = {
1043
1043
  now: function() {
1044
- return (jr.delegate || Date).now();
1044
+ return (zr.delegate || Date).now();
1045
1045
  },
1046
1046
  delegate: void 0
1047
- }, fi = function(e) {
1048
- Ne(t, e);
1047
+ }, _i = function(e) {
1048
+ ke(t, e);
1049
1049
  function t(r, n, i) {
1050
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jr);
1050
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = zr);
1051
1051
  var o = e.call(this) || this;
1052
1052
  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;
1053
1053
  }
@@ -1067,179 +1067,179 @@ var hi = kr(function(e) {
1067
1067
  l && o.splice(0, l + 1);
1068
1068
  }
1069
1069
  }, t;
1070
- }(Gr);
1071
- const qt = [], Jt = {}, gi = (e, t = 0) => {
1072
- if (qt.indexOf(e) == -1) {
1073
- const r = new fi(t);
1074
- Jt[e] = r, qt.push(e);
1070
+ }(Xr);
1071
+ const tr = [], rr = {}, vi = (e, t = 0) => {
1072
+ if (tr.indexOf(e) == -1) {
1073
+ const r = new _i(t);
1074
+ rr[e] = r, tr.push(e);
1075
1075
  }
1076
- return Jt[e];
1077
- }, ye = [];
1078
- function pi(e, t) {
1076
+ return rr[e];
1077
+ }, _e = [];
1078
+ function xi(e, t) {
1079
1079
  return {
1080
- subscribe: Je(e, t).subscribe
1080
+ subscribe: Ke(e, t).subscribe
1081
1081
  };
1082
1082
  }
1083
- function Je(e, t = $) {
1083
+ function Ke(e, t = W) {
1084
1084
  let r;
1085
1085
  const n = /* @__PURE__ */ new Set();
1086
1086
  function i(s) {
1087
- if (Lr(e, s) && (e = s, r)) {
1088
- const u = !ye.length;
1087
+ if (Nr(e, s) && (e = s, r)) {
1088
+ const u = !_e.length;
1089
1089
  for (const l of n)
1090
- l[1](), ye.push(l, e);
1090
+ l[1](), _e.push(l, e);
1091
1091
  if (u) {
1092
- for (let l = 0; l < ye.length; l += 2)
1093
- ye[l][0](ye[l + 1]);
1094
- ye.length = 0;
1092
+ for (let l = 0; l < _e.length; l += 2)
1093
+ _e[l][0](_e[l + 1]);
1094
+ _e.length = 0;
1095
1095
  }
1096
1096
  }
1097
1097
  }
1098
1098
  function o(s) {
1099
1099
  i(s(e));
1100
1100
  }
1101
- function a(s, u = $) {
1101
+ function a(s, u = W) {
1102
1102
  const l = [s, u];
1103
- return n.add(l), n.size === 1 && (r = t(i, o) || $), s(e), () => {
1103
+ return n.add(l), n.size === 1 && (r = t(i, o) || W), s(e), () => {
1104
1104
  n.delete(l), n.size === 0 && r && (r(), r = null);
1105
1105
  };
1106
1106
  }
1107
1107
  return { set: i, update: o, subscribe: a };
1108
1108
  }
1109
- function Se(e, t, r) {
1109
+ function Te(e, t, r) {
1110
1110
  const n = !Array.isArray(e), i = n ? [e] : e;
1111
1111
  if (!i.every(Boolean))
1112
1112
  throw new Error("derived() expects stores as input, got a falsy value");
1113
1113
  const o = t.length < 2;
1114
- return pi(r, (a, s) => {
1114
+ return xi(r, (a, s) => {
1115
1115
  let u = !1;
1116
1116
  const l = [];
1117
- let c = 0, h = $;
1117
+ let c = 0, f = W;
1118
1118
  const g = () => {
1119
1119
  if (c)
1120
1120
  return;
1121
- h();
1121
+ f();
1122
1122
  const m = t(n ? l[0] : l, a, s);
1123
- o ? a(m) : h = Lt(m) ? m : $;
1123
+ o ? a(m) : f = Bt(m) ? m : W;
1124
1124
  }, d = i.map(
1125
- (m, y) => Pr(
1125
+ (m, _) => Rr(
1126
1126
  m,
1127
1127
  (x) => {
1128
- l[y] = x, c &= ~(1 << y), u && g();
1128
+ l[_] = x, c &= ~(1 << _), u && g();
1129
1129
  },
1130
1130
  () => {
1131
- c |= 1 << y;
1131
+ c |= 1 << _;
1132
1132
  }
1133
1133
  )
1134
1134
  );
1135
1135
  return u = !0, g(), function() {
1136
- ce(d), h(), u = !1;
1136
+ fe(d), f(), u = !1;
1137
1137
  };
1138
1138
  });
1139
1139
  }
1140
- var Sa = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1141
- function di(e) {
1140
+ var Ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1141
+ function Ei(e) {
1142
1142
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1143
1143
  }
1144
- var mi = function(t) {
1145
- return bi(t) && !yi(t);
1144
+ var wi = function(t) {
1145
+ return Hi(t) && !Si(t);
1146
1146
  };
1147
- function bi(e) {
1147
+ function Hi(e) {
1148
1148
  return !!e && typeof e == "object";
1149
1149
  }
1150
- function yi(e) {
1150
+ function Si(e) {
1151
1151
  var t = Object.prototype.toString.call(e);
1152
- return t === "[object RegExp]" || t === "[object Date]" || xi(e);
1152
+ return t === "[object RegExp]" || t === "[object Date]" || Mi(e);
1153
1153
  }
1154
- var _i = typeof Symbol == "function" && Symbol.for, vi = _i ? Symbol.for("react.element") : 60103;
1155
- function xi(e) {
1156
- return e.$$typeof === vi;
1154
+ var Ti = typeof Symbol == "function" && Symbol.for, Oi = Ti ? Symbol.for("react.element") : 60103;
1155
+ function Mi(e) {
1156
+ return e.$$typeof === Oi;
1157
1157
  }
1158
- function Ei(e) {
1158
+ function Ai(e) {
1159
1159
  return Array.isArray(e) ? [] : {};
1160
1160
  }
1161
- function Be(e, t) {
1162
- return t.clone !== !1 && t.isMergeableObject(e) ? xe(Ei(e), e, t) : e;
1161
+ function Ce(e, t) {
1162
+ return t.clone !== !1 && t.isMergeableObject(e) ? Ee(Ai(e), e, t) : e;
1163
1163
  }
1164
- function wi(e, t, r) {
1164
+ function Li(e, t, r) {
1165
1165
  return e.concat(t).map(function(n) {
1166
- return Be(n, r);
1166
+ return Ce(n, r);
1167
1167
  });
1168
1168
  }
1169
- function Hi(e, t) {
1169
+ function Pi(e, t) {
1170
1170
  if (!t.customMerge)
1171
- return xe;
1171
+ return Ee;
1172
1172
  var r = t.customMerge(e);
1173
- return typeof r == "function" ? r : xe;
1173
+ return typeof r == "function" ? r : Ee;
1174
1174
  }
1175
- function Si(e) {
1175
+ function Ii(e) {
1176
1176
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1177
1177
  return Object.propertyIsEnumerable.call(e, t);
1178
1178
  }) : [];
1179
1179
  }
1180
- function Yt(e) {
1181
- return Object.keys(e).concat(Si(e));
1180
+ function nr(e) {
1181
+ return Object.keys(e).concat(Ii(e));
1182
1182
  }
1183
- function $r(e, t) {
1183
+ function Zr(e, t) {
1184
1184
  try {
1185
1185
  return t in e;
1186
1186
  } catch {
1187
1187
  return !1;
1188
1188
  }
1189
1189
  }
1190
- function Ti(e, t) {
1191
- return $r(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1190
+ function Bi(e, t) {
1191
+ return Zr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1192
1192
  }
1193
- function Oi(e, t, r) {
1193
+ function Ci(e, t, r) {
1194
1194
  var n = {};
1195
- return r.isMergeableObject(e) && Yt(e).forEach(function(i) {
1196
- n[i] = Be(e[i], r);
1197
- }), Yt(t).forEach(function(i) {
1198
- Ti(e, i) || ($r(e, i) && r.isMergeableObject(t[i]) ? n[i] = Hi(i, r)(e[i], t[i], r) : n[i] = Be(t[i], r));
1195
+ return r.isMergeableObject(e) && nr(e).forEach(function(i) {
1196
+ n[i] = Ce(e[i], r);
1197
+ }), nr(t).forEach(function(i) {
1198
+ Bi(e, i) || (Zr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Pi(i, r)(e[i], t[i], r) : n[i] = Ce(t[i], r));
1199
1199
  }), n;
1200
1200
  }
1201
- function xe(e, t, r) {
1202
- r = r || {}, r.arrayMerge = r.arrayMerge || wi, r.isMergeableObject = r.isMergeableObject || mi, r.cloneUnlessOtherwiseSpecified = Be;
1201
+ function Ee(e, t, r) {
1202
+ r = r || {}, r.arrayMerge = r.arrayMerge || Li, r.isMergeableObject = r.isMergeableObject || wi, r.cloneUnlessOtherwiseSpecified = Ce;
1203
1203
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1204
- return o ? n ? r.arrayMerge(e, t, r) : Oi(e, t, r) : Be(t, r);
1204
+ return o ? n ? r.arrayMerge(e, t, r) : Ci(e, t, r) : Ce(t, r);
1205
1205
  }
1206
- xe.all = function(t, r) {
1206
+ Ee.all = function(t, r) {
1207
1207
  if (!Array.isArray(t))
1208
1208
  throw new Error("first argument should be an array");
1209
1209
  return t.reduce(function(n, i) {
1210
- return xe(n, i, r);
1210
+ return Ee(n, i, r);
1211
1211
  }, {});
1212
1212
  };
1213
- var Mi = xe, Ai = Mi;
1214
- const Li = /* @__PURE__ */ di(Ai);
1215
- var xt = function(e, t) {
1216
- return xt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1213
+ var Ni = Ee, Ri = Ni;
1214
+ const ki = /* @__PURE__ */ Ei(Ri);
1215
+ var Ht = function(e, t) {
1216
+ return Ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1217
1217
  r.__proto__ = n;
1218
1218
  } || function(r, n) {
1219
1219
  for (var i in n)
1220
1220
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1221
- }, xt(e, t);
1221
+ }, Ht(e, t);
1222
1222
  };
1223
- function Ye(e, t) {
1223
+ function et(e, t) {
1224
1224
  if (typeof t != "function" && t !== null)
1225
1225
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1226
- xt(e, t);
1226
+ Ht(e, t);
1227
1227
  function r() {
1228
1228
  this.constructor = e;
1229
1229
  }
1230
1230
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1231
1231
  }
1232
- var Y = function() {
1233
- return Y = Object.assign || function(t) {
1232
+ var J = function() {
1233
+ return J = Object.assign || function(t) {
1234
1234
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1235
1235
  r = arguments[n];
1236
1236
  for (var o in r)
1237
1237
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1238
1238
  }
1239
1239
  return t;
1240
- }, Y.apply(this, arguments);
1240
+ }, J.apply(this, arguments);
1241
1241
  };
1242
- function Pi(e, t) {
1242
+ function Ui(e, t) {
1243
1243
  var r = {};
1244
1244
  for (var n in e)
1245
1245
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -1248,43 +1248,43 @@ function Pi(e, t) {
1248
1248
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1249
1249
  return r;
1250
1250
  }
1251
- function lt(e, t, r) {
1251
+ function ht(e, t, r) {
1252
1252
  if (r || arguments.length === 2)
1253
1253
  for (var n = 0, i = t.length, o; n < i; n++)
1254
1254
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1255
1255
  return e.concat(o || Array.prototype.slice.call(t));
1256
1256
  }
1257
- function ut(e, t) {
1258
- var r = t && t.cache ? t.cache : Ui, n = t && t.serializer ? t.serializer : Ri, i = t && t.strategy ? t.strategy : Ci;
1257
+ function ft(e, t) {
1258
+ var r = t && t.cache ? t.cache : Vi, n = t && t.serializer ? t.serializer : $i, i = t && t.strategy ? t.strategy : Gi;
1259
1259
  return i(e, {
1260
1260
  cache: r,
1261
1261
  serializer: n
1262
1262
  });
1263
1263
  }
1264
- function Bi(e) {
1264
+ function Di(e) {
1265
1265
  return e == null || typeof e == "number" || typeof e == "boolean";
1266
1266
  }
1267
- function Ii(e, t, r, n) {
1268
- var i = Bi(n) ? n : r(n), o = t.get(i);
1267
+ function Fi(e, t, r, n) {
1268
+ var i = Di(n) ? n : r(n), o = t.get(i);
1269
1269
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1270
1270
  }
1271
- function Wr(e, t, r) {
1271
+ function Qr(e, t, r) {
1272
1272
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1273
1273
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1274
1274
  }
1275
- function Vr(e, t, r, n, i) {
1275
+ function qr(e, t, r, n, i) {
1276
1276
  return r.bind(t, e, n, i);
1277
1277
  }
1278
- function Ci(e, t) {
1279
- var r = e.length === 1 ? Ii : Wr;
1280
- return Vr(e, this, r, t.cache.create(), t.serializer);
1278
+ function Gi(e, t) {
1279
+ var r = e.length === 1 ? Fi : Qr;
1280
+ return qr(e, this, r, t.cache.create(), t.serializer);
1281
1281
  }
1282
- function Ni(e, t) {
1283
- return Vr(e, this, Wr, t.cache.create(), t.serializer);
1282
+ function ji(e, t) {
1283
+ return qr(e, this, Qr, t.cache.create(), t.serializer);
1284
1284
  }
1285
- var Ri = function() {
1285
+ var $i = function() {
1286
1286
  return JSON.stringify(arguments);
1287
- }, ki = (
1287
+ }, Wi = (
1288
1288
  /** @class */
1289
1289
  function() {
1290
1290
  function e() {
@@ -1296,71 +1296,71 @@ var Ri = function() {
1296
1296
  this.cache[t] = r;
1297
1297
  }, e;
1298
1298
  }()
1299
- ), Ui = {
1299
+ ), Vi = {
1300
1300
  create: function() {
1301
- return new ki();
1301
+ return new Wi();
1302
1302
  }
1303
- }, ct = {
1304
- variadic: Ni
1305
- }, ze = function() {
1306
- return ze = Object.assign || function(t) {
1303
+ }, gt = {
1304
+ variadic: ji
1305
+ }, Qe = function() {
1306
+ return Qe = Object.assign || function(t) {
1307
1307
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1308
1308
  r = arguments[n];
1309
1309
  for (var o in r)
1310
1310
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1311
1311
  }
1312
1312
  return t;
1313
- }, ze.apply(this, arguments);
1313
+ }, Qe.apply(this, arguments);
1314
1314
  };
1315
1315
  var w;
1316
1316
  (function(e) {
1317
1317
  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";
1318
1318
  })(w || (w = {}));
1319
- var M;
1319
+ var T;
1320
1320
  (function(e) {
1321
1321
  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";
1322
- })(M || (M = {}));
1323
- var Ee;
1322
+ })(T || (T = {}));
1323
+ var we;
1324
1324
  (function(e) {
1325
1325
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1326
- })(Ee || (Ee = {}));
1327
- function Kt(e) {
1328
- return e.type === M.literal;
1326
+ })(we || (we = {}));
1327
+ function ir(e) {
1328
+ return e.type === T.literal;
1329
1329
  }
1330
- function Fi(e) {
1331
- return e.type === M.argument;
1330
+ function Xi(e) {
1331
+ return e.type === T.argument;
1332
1332
  }
1333
- function Xr(e) {
1334
- return e.type === M.number;
1333
+ function Jr(e) {
1334
+ return e.type === T.number;
1335
1335
  }
1336
- function zr(e) {
1337
- return e.type === M.date;
1336
+ function Yr(e) {
1337
+ return e.type === T.date;
1338
1338
  }
1339
- function Zr(e) {
1340
- return e.type === M.time;
1339
+ function Kr(e) {
1340
+ return e.type === T.time;
1341
1341
  }
1342
- function Qr(e) {
1343
- return e.type === M.select;
1342
+ function en(e) {
1343
+ return e.type === T.select;
1344
1344
  }
1345
- function qr(e) {
1346
- return e.type === M.plural;
1345
+ function tn(e) {
1346
+ return e.type === T.plural;
1347
1347
  }
1348
- function Di(e) {
1349
- return e.type === M.pound;
1348
+ function zi(e) {
1349
+ return e.type === T.pound;
1350
1350
  }
1351
- function Jr(e) {
1352
- return e.type === M.tag;
1351
+ function rn(e) {
1352
+ return e.type === T.tag;
1353
1353
  }
1354
- function Yr(e) {
1355
- return !!(e && typeof e == "object" && e.type === Ee.number);
1354
+ function nn(e) {
1355
+ return !!(e && typeof e == "object" && e.type === we.number);
1356
1356
  }
1357
- function Et(e) {
1358
- return !!(e && typeof e == "object" && e.type === Ee.dateTime);
1357
+ function St(e) {
1358
+ return !!(e && typeof e == "object" && e.type === we.dateTime);
1359
1359
  }
1360
- var Kr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gi = /(?:[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;
1361
- function ji(e) {
1360
+ var on = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Zi = /(?:[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;
1361
+ function Qi(e) {
1362
1362
  var t = {};
1363
- return e.replace(Gi, function(r) {
1363
+ return e.replace(Zi, function(r) {
1364
1364
  var n = r.length;
1365
1365
  switch (r[0]) {
1366
1366
  case "G":
@@ -1449,46 +1449,46 @@ function ji(e) {
1449
1449
  return "";
1450
1450
  }), t;
1451
1451
  }
1452
- var A = function() {
1453
- return A = Object.assign || function(t) {
1452
+ var M = function() {
1453
+ return M = Object.assign || function(t) {
1454
1454
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1455
1455
  r = arguments[n];
1456
1456
  for (var o in r)
1457
1457
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1458
1458
  }
1459
1459
  return t;
1460
- }, A.apply(this, arguments);
1460
+ }, M.apply(this, arguments);
1461
1461
  };
1462
- var $i = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1463
- function Wi(e) {
1462
+ var qi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1463
+ function Ji(e) {
1464
1464
  if (e.length === 0)
1465
1465
  throw new Error("Number skeleton cannot be empty");
1466
- for (var t = e.split($i).filter(function(g) {
1466
+ for (var t = e.split(qi).filter(function(g) {
1467
1467
  return g.length > 0;
1468
1468
  }), r = [], n = 0, i = t; n < i.length; n++) {
1469
1469
  var o = i[n], a = o.split("/");
1470
1470
  if (a.length === 0)
1471
1471
  throw new Error("Invalid number skeleton");
1472
1472
  for (var s = a[0], u = a.slice(1), l = 0, c = u; l < c.length; l++) {
1473
- var h = c[l];
1474
- if (h.length === 0)
1473
+ var f = c[l];
1474
+ if (f.length === 0)
1475
1475
  throw new Error("Invalid number skeleton");
1476
1476
  }
1477
1477
  r.push({ stem: s, options: u });
1478
1478
  }
1479
1479
  return r;
1480
1480
  }
1481
- function Vi(e) {
1481
+ function Yi(e) {
1482
1482
  return e.replace(/^(.*?)-/, "");
1483
1483
  }
1484
- var er = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, en = /^(@+)?(\+|#+)?[rs]?$/g, Xi = /(\*)(0+)|(#+)(0+)|(0+)/g, tn = /^(0+)$/;
1485
- function tr(e) {
1484
+ var or = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, an = /^(@+)?(\+|#+)?[rs]?$/g, Ki = /(\*)(0+)|(#+)(0+)|(0+)/g, sn = /^(0+)$/;
1485
+ function ar(e) {
1486
1486
  var t = {};
1487
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(en, function(r, n, i) {
1487
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(an, function(r, n, i) {
1488
1488
  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)), "";
1489
1489
  }), t;
1490
1490
  }
1491
- function rn(e) {
1491
+ function ln(e) {
1492
1492
  switch (e) {
1493
1493
  case "sign-auto":
1494
1494
  return {
@@ -1528,7 +1528,7 @@ function rn(e) {
1528
1528
  };
1529
1529
  }
1530
1530
  }
1531
- function zi(e) {
1531
+ function eo(e) {
1532
1532
  var t;
1533
1533
  if (e[0] === "E" && e[1] === "E" ? (t = {
1534
1534
  notation: "engineering"
@@ -1536,17 +1536,17 @@ function zi(e) {
1536
1536
  notation: "scientific"
1537
1537
  }, e = e.slice(1)), t) {
1538
1538
  var r = e.slice(0, 2);
1539
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tn.test(e))
1539
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sn.test(e))
1540
1540
  throw new Error("Malformed concise eng/scientific notation");
1541
1541
  t.minimumIntegerDigits = e.length;
1542
1542
  }
1543
1543
  return t;
1544
1544
  }
1545
- function rr(e) {
1546
- var t = {}, r = rn(e);
1545
+ function sr(e) {
1546
+ var t = {}, r = ln(e);
1547
1547
  return r || t;
1548
1548
  }
1549
- function Zi(e) {
1549
+ function to(e) {
1550
1550
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1551
1551
  var i = n[r];
1552
1552
  switch (i.stem) {
@@ -1570,7 +1570,7 @@ function Zi(e) {
1570
1570
  continue;
1571
1571
  case "measure-unit":
1572
1572
  case "unit":
1573
- t.style = "unit", t.unit = Vi(i.options[0]);
1573
+ t.style = "unit", t.unit = Yi(i.options[0]);
1574
1574
  continue;
1575
1575
  case "compact-short":
1576
1576
  case "K":
@@ -1581,13 +1581,13 @@ function Zi(e) {
1581
1581
  t.notation = "compact", t.compactDisplay = "long";
1582
1582
  continue;
1583
1583
  case "scientific":
1584
- t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1585
- return A(A({}, u), rr(l));
1584
+ t = M(M(M({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1585
+ return M(M({}, u), sr(l));
1586
1586
  }, {}));
1587
1587
  continue;
1588
1588
  case "engineering":
1589
- t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1590
- return A(A({}, u), rr(l));
1589
+ t = M(M(M({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1590
+ return M(M({}, u), sr(l));
1591
1591
  }, {}));
1592
1592
  continue;
1593
1593
  case "notation-simple":
@@ -1632,11 +1632,11 @@ function Zi(e) {
1632
1632
  case "integer-width":
1633
1633
  if (i.options.length > 1)
1634
1634
  throw new RangeError("integer-width stems only accept a single optional option");
1635
- i.options[0].replace(Xi, function(u, l, c, h, g, d) {
1635
+ i.options[0].replace(Ki, function(u, l, c, f, g, d) {
1636
1636
  if (l)
1637
1637
  t.minimumIntegerDigits = c.length;
1638
1638
  else {
1639
- if (h && g)
1639
+ if (f && g)
1640
1640
  throw new Error("We currently do not support maximum integer digits");
1641
1641
  if (d)
1642
1642
  throw new Error("We currently do not support exact integer digits");
@@ -1645,32 +1645,32 @@ function Zi(e) {
1645
1645
  });
1646
1646
  continue;
1647
1647
  }
1648
- if (tn.test(i.stem)) {
1648
+ if (sn.test(i.stem)) {
1649
1649
  t.minimumIntegerDigits = i.stem.length;
1650
1650
  continue;
1651
1651
  }
1652
- if (er.test(i.stem)) {
1652
+ if (or.test(i.stem)) {
1653
1653
  if (i.options.length > 1)
1654
1654
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1655
- i.stem.replace(er, function(u, l, c, h, g, d) {
1656
- return c === "*" ? t.minimumFractionDigits = l.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : g && d ? (t.minimumFractionDigits = g.length, t.maximumFractionDigits = g.length + d.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1655
+ i.stem.replace(or, function(u, l, c, f, g, d) {
1656
+ return c === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : g && d ? (t.minimumFractionDigits = g.length, t.maximumFractionDigits = g.length + d.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1657
1657
  });
1658
1658
  var o = i.options[0];
1659
- o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), tr(o)));
1659
+ o === "w" ? t = M(M({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = M(M({}, t), ar(o)));
1660
1660
  continue;
1661
1661
  }
1662
- if (en.test(i.stem)) {
1663
- t = A(A({}, t), tr(i.stem));
1662
+ if (an.test(i.stem)) {
1663
+ t = M(M({}, t), ar(i.stem));
1664
1664
  continue;
1665
1665
  }
1666
- var a = rn(i.stem);
1667
- a && (t = A(A({}, t), a));
1668
- var s = zi(i.stem);
1669
- s && (t = A(A({}, t), s));
1666
+ var a = ln(i.stem);
1667
+ a && (t = M(M({}, t), a));
1668
+ var s = eo(i.stem);
1669
+ s && (t = M(M({}, t), s));
1670
1670
  }
1671
1671
  return t;
1672
1672
  }
1673
- var Fe = {
1673
+ var Ge = {
1674
1674
  "001": [
1675
1675
  "H",
1676
1676
  "h"
@@ -3085,13 +3085,13 @@ var Fe = {
3085
3085
  "h"
3086
3086
  ]
3087
3087
  };
3088
- function Qi(e, t) {
3088
+ function ro(e, t) {
3089
3089
  for (var r = "", n = 0; n < e.length; n++) {
3090
3090
  var i = e.charAt(n);
3091
3091
  if (i === "j") {
3092
3092
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3093
3093
  o++, n++;
3094
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = qi(t);
3094
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = no(t);
3095
3095
  for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
3096
3096
  r += u;
3097
3097
  for (; a-- > 0; )
@@ -3101,7 +3101,7 @@ function Qi(e, t) {
3101
3101
  }
3102
3102
  return r;
3103
3103
  }
3104
- function qi(e) {
3104
+ function no(e) {
3105
3105
  var t = e.hourCycle;
3106
3106
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3107
3107
  e.hourCycles && // @ts-ignore
@@ -3120,23 +3120,23 @@ function qi(e) {
3120
3120
  }
3121
3121
  var r = e.language, n;
3122
3122
  r !== "root" && (n = e.maximize().region);
3123
- var i = Fe[n || ""] || Fe[r || ""] || Fe["".concat(r, "-001")] || Fe["001"];
3123
+ var i = Ge[n || ""] || Ge[r || ""] || Ge["".concat(r, "-001")] || Ge["001"];
3124
3124
  return i[0];
3125
3125
  }
3126
- var ht, Ji = new RegExp("^".concat(Kr.source, "*")), Yi = new RegExp("".concat(Kr.source, "*$"));
3126
+ var pt, io = new RegExp("^".concat(on.source, "*")), oo = new RegExp("".concat(on.source, "*$"));
3127
3127
  function H(e, t) {
3128
3128
  return { start: e, end: t };
3129
3129
  }
3130
- var Ki = !!String.prototype.startsWith && "_a".startsWith("a", 1), eo = !!String.fromCodePoint, to = !!Object.fromEntries, ro = !!String.prototype.codePointAt, no = !!String.prototype.trimStart, io = !!String.prototype.trimEnd, oo = !!Number.isSafeInteger, ao = oo ? Number.isSafeInteger : function(e) {
3130
+ var ao = !!String.prototype.startsWith && "_a".startsWith("a", 1), so = !!String.fromCodePoint, lo = !!Object.fromEntries, uo = !!String.prototype.codePointAt, co = !!String.prototype.trimStart, ho = !!String.prototype.trimEnd, fo = !!Number.isSafeInteger, go = fo ? Number.isSafeInteger : function(e) {
3131
3131
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3132
- }, wt = !0;
3132
+ }, Tt = !0;
3133
3133
  try {
3134
- var so = on("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3135
- wt = ((ht = so.exec("a")) === null || ht === void 0 ? void 0 : ht[0]) === "a";
3134
+ var po = cn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3135
+ Tt = ((pt = po.exec("a")) === null || pt === void 0 ? void 0 : pt[0]) === "a";
3136
3136
  } catch {
3137
- wt = !1;
3137
+ Tt = !1;
3138
3138
  }
3139
- var nr = Ki ? (
3139
+ var lr = ao ? (
3140
3140
  // Native
3141
3141
  function(t, r, n) {
3142
3142
  return t.startsWith(r, n);
@@ -3146,7 +3146,7 @@ var nr = Ki ? (
3146
3146
  function(t, r, n) {
3147
3147
  return t.slice(n, n + r.length) === r;
3148
3148
  }
3149
- ), Ht = eo ? String.fromCodePoint : (
3149
+ ), Ot = so ? String.fromCodePoint : (
3150
3150
  // IE11
3151
3151
  function() {
3152
3152
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3158,9 +3158,9 @@ var nr = Ki ? (
3158
3158
  }
3159
3159
  return n;
3160
3160
  }
3161
- ), ir = (
3161
+ ), ur = (
3162
3162
  // native
3163
- to ? Object.fromEntries : (
3163
+ lo ? Object.fromEntries : (
3164
3164
  // Ponyfill
3165
3165
  function(t) {
3166
3166
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3170,7 +3170,7 @@ var nr = Ki ? (
3170
3170
  return r;
3171
3171
  }
3172
3172
  )
3173
- ), nn = ro ? (
3173
+ ), un = uo ? (
3174
3174
  // Native
3175
3175
  function(t, r) {
3176
3176
  return t.codePointAt(r);
@@ -3184,7 +3184,7 @@ var nr = Ki ? (
3184
3184
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3185
3185
  }
3186
3186
  }
3187
- ), lo = no ? (
3187
+ ), mo = co ? (
3188
3188
  // Native
3189
3189
  function(t) {
3190
3190
  return t.trimStart();
@@ -3192,9 +3192,9 @@ var nr = Ki ? (
3192
3192
  ) : (
3193
3193
  // Ponyfill
3194
3194
  function(t) {
3195
- return t.replace(Ji, "");
3195
+ return t.replace(io, "");
3196
3196
  }
3197
- ), uo = io ? (
3197
+ ), bo = ho ? (
3198
3198
  // Native
3199
3199
  function(t) {
3200
3200
  return t.trimEnd();
@@ -3202,32 +3202,32 @@ var nr = Ki ? (
3202
3202
  ) : (
3203
3203
  // Ponyfill
3204
3204
  function(t) {
3205
- return t.replace(Yi, "");
3205
+ return t.replace(oo, "");
3206
3206
  }
3207
3207
  );
3208
- function on(e, t) {
3208
+ function cn(e, t) {
3209
3209
  return new RegExp(e, t);
3210
3210
  }
3211
- var St;
3212
- if (wt) {
3213
- var or = on("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3214
- St = function(t, r) {
3211
+ var Mt;
3212
+ if (Tt) {
3213
+ var cr = cn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3214
+ Mt = function(t, r) {
3215
3215
  var n;
3216
- or.lastIndex = r;
3217
- var i = or.exec(t);
3216
+ cr.lastIndex = r;
3217
+ var i = cr.exec(t);
3218
3218
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3219
3219
  };
3220
3220
  } else
3221
- St = function(t, r) {
3221
+ Mt = function(t, r) {
3222
3222
  for (var n = []; ; ) {
3223
- var i = nn(t, r);
3224
- if (i === void 0 || an(i) || go(i))
3223
+ var i = un(t, r);
3224
+ if (i === void 0 || hn(i) || xo(i))
3225
3225
  break;
3226
3226
  n.push(i), r += i >= 65536 ? 2 : 1;
3227
3227
  }
3228
- return Ht.apply(void 0, n);
3228
+ return Ot.apply(void 0, n);
3229
3229
  };
3230
- var co = (
3230
+ var yo = (
3231
3231
  /** @class */
3232
3232
  function() {
3233
3233
  function e(t, r) {
@@ -3251,14 +3251,14 @@ var co = (
3251
3251
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3252
3252
  var s = this.clonePosition();
3253
3253
  this.bump(), i.push({
3254
- type: M.pound,
3254
+ type: T.pound,
3255
3255
  location: H(s, this.clonePosition())
3256
3256
  });
3257
3257
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3258
3258
  if (n)
3259
3259
  break;
3260
3260
  return this.error(w.UNMATCHED_CLOSING_TAG, H(this.clonePosition(), this.clonePosition()));
3261
- } else if (o === 60 && !this.ignoreTag && Tt(this.peek() || 0)) {
3261
+ } else if (o === 60 && !this.ignoreTag && At(this.peek() || 0)) {
3262
3262
  var a = this.parseTag(t, r);
3263
3263
  if (a.err)
3264
3264
  return a;
@@ -3279,7 +3279,7 @@ var co = (
3279
3279
  if (this.bumpSpace(), this.bumpIf("/>"))
3280
3280
  return {
3281
3281
  val: {
3282
- type: M.literal,
3282
+ type: T.literal,
3283
3283
  value: "<".concat(i, "/>"),
3284
3284
  location: H(n, this.clonePosition())
3285
3285
  },
@@ -3291,12 +3291,12 @@ var co = (
3291
3291
  return o;
3292
3292
  var a = o.val, s = this.clonePosition();
3293
3293
  if (this.bumpIf("</")) {
3294
- if (this.isEOF() || !Tt(this.char()))
3294
+ if (this.isEOF() || !At(this.char()))
3295
3295
  return this.error(w.INVALID_TAG, H(s, this.clonePosition()));
3296
3296
  var u = this.clonePosition(), l = this.parseTagName();
3297
3297
  return i !== l ? this.error(w.UNMATCHED_CLOSING_TAG, H(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3298
3298
  val: {
3299
- type: M.tag,
3299
+ type: T.tag,
3300
3300
  value: i,
3301
3301
  children: a,
3302
3302
  location: H(n, this.clonePosition())
@@ -3309,7 +3309,7 @@ var co = (
3309
3309
  return this.error(w.INVALID_TAG, H(n, this.clonePosition()));
3310
3310
  }, e.prototype.parseTagName = function() {
3311
3311
  var t = this.offset();
3312
- for (this.bump(); !this.isEOF() && fo(this.char()); )
3312
+ for (this.bump(); !this.isEOF() && vo(this.char()); )
3313
3313
  this.bump();
3314
3314
  return this.message.slice(t, this.offset());
3315
3315
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3333,12 +3333,12 @@ var co = (
3333
3333
  }
3334
3334
  var u = H(n, this.clonePosition());
3335
3335
  return {
3336
- val: { type: M.literal, value: i, location: u },
3336
+ val: { type: T.literal, value: i, location: u },
3337
3337
  err: null
3338
3338
  };
3339
3339
  }, e.prototype.tryParseLeftAngleBracket = function() {
3340
3340
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3341
- !ho(this.peek() || 0)) ? (this.bump(), "<") : null;
3341
+ !_o(this.peek() || 0)) ? (this.bump(), "<") : null;
3342
3342
  }, e.prototype.tryParseQuote = function(t) {
3343
3343
  if (this.isEOF() || this.char() !== 39)
3344
3344
  return null;
@@ -3372,12 +3372,12 @@ var co = (
3372
3372
  r.push(n);
3373
3373
  this.bump();
3374
3374
  }
3375
- return Ht.apply(void 0, r);
3375
+ return Ot.apply(void 0, r);
3376
3376
  }, e.prototype.tryParseUnquoted = function(t, r) {
3377
3377
  if (this.isEOF())
3378
3378
  return null;
3379
3379
  var n = this.char();
3380
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ht(n));
3380
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ot(n));
3381
3381
  }, e.prototype.parseArgument = function(t, r) {
3382
3382
  var n = this.clonePosition();
3383
3383
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3393,7 +3393,7 @@ var co = (
3393
3393
  case 125:
3394
3394
  return this.bump(), {
3395
3395
  val: {
3396
- type: M.argument,
3396
+ type: T.argument,
3397
3397
  // value does not include the opening and closing braces.
3398
3398
  value: i,
3399
3399
  location: H(n, this.clonePosition())
@@ -3406,7 +3406,7 @@ var co = (
3406
3406
  return this.error(w.MALFORMED_ARGUMENT, H(n, this.clonePosition()));
3407
3407
  }
3408
3408
  }, e.prototype.parseIdentifierIfPossible = function() {
3409
- var t = this.clonePosition(), r = this.offset(), n = St(this.message, r), i = r + n.length;
3409
+ var t = this.clonePosition(), r = this.offset(), n = Mt(this.message, r), i = r + n.length;
3410
3410
  this.bumpTo(i);
3411
3411
  var o = this.clonePosition(), a = H(t, o);
3412
3412
  return { value: n, location: a };
@@ -3422,10 +3422,10 @@ var co = (
3422
3422
  var l = null;
3423
3423
  if (this.bumpIf(",")) {
3424
3424
  this.bumpSpace();
3425
- var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
3426
- if (h.err)
3427
- return h;
3428
- var g = uo(h.val);
3425
+ var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3426
+ if (f.err)
3427
+ return f;
3428
+ var g = bo(f.val);
3429
3429
  if (g.length === 0)
3430
3430
  return this.error(w.EXPECT_ARGUMENT_STYLE, H(this.clonePosition(), this.clonePosition()));
3431
3431
  var d = H(c, this.clonePosition());
@@ -3434,37 +3434,37 @@ var co = (
3434
3434
  var m = this.tryParseArgumentClose(i);
3435
3435
  if (m.err)
3436
3436
  return m;
3437
- var y = H(i, this.clonePosition());
3438
- if (l && nr(l?.style, "::", 0)) {
3439
- var x = lo(l.style.slice(2));
3437
+ var _ = H(i, this.clonePosition());
3438
+ if (l && lr(l?.style, "::", 0)) {
3439
+ var x = mo(l.style.slice(2));
3440
3440
  if (s === "number") {
3441
- var h = this.parseNumberSkeletonFromString(x, l.styleLocation);
3442
- return h.err ? h : {
3443
- val: { type: M.number, value: n, location: y, style: h.val },
3441
+ var f = this.parseNumberSkeletonFromString(x, l.styleLocation);
3442
+ return f.err ? f : {
3443
+ val: { type: T.number, value: n, location: _, style: f.val },
3444
3444
  err: null
3445
3445
  };
3446
3446
  } else {
3447
3447
  if (x.length === 0)
3448
- return this.error(w.EXPECT_DATE_TIME_SKELETON, y);
3448
+ return this.error(w.EXPECT_DATE_TIME_SKELETON, _);
3449
3449
  var E = x;
3450
- this.locale && (E = Qi(x, this.locale));
3450
+ this.locale && (E = ro(x, this.locale));
3451
3451
  var g = {
3452
- type: Ee.dateTime,
3452
+ type: we.dateTime,
3453
3453
  pattern: E,
3454
3454
  location: l.styleLocation,
3455
- parsedOptions: this.shouldParseSkeletons ? ji(E) : {}
3456
- }, L = s === "date" ? M.date : M.time;
3455
+ parsedOptions: this.shouldParseSkeletons ? Qi(E) : {}
3456
+ }, A = s === "date" ? T.date : T.time;
3457
3457
  return {
3458
- val: { type: L, value: n, location: y, style: g },
3458
+ val: { type: A, value: n, location: _, style: g },
3459
3459
  err: null
3460
3460
  };
3461
3461
  }
3462
3462
  }
3463
3463
  return {
3464
3464
  val: {
3465
- type: s === "number" ? M.number : s === "date" ? M.date : M.time,
3465
+ type: s === "number" ? T.number : s === "date" ? T.date : T.time,
3466
3466
  value: n,
3467
- location: y,
3467
+ location: _,
3468
3468
  style: (o = l?.style) !== null && o !== void 0 ? o : null
3469
3469
  },
3470
3470
  err: null
@@ -3473,41 +3473,41 @@ var co = (
3473
3473
  case "plural":
3474
3474
  case "selectordinal":
3475
3475
  case "select": {
3476
- var I = this.clonePosition();
3476
+ var N = this.clonePosition();
3477
3477
  if (this.bumpSpace(), !this.bumpIf(","))
3478
- return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, H(I, ze({}, I)));
3478
+ return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, H(N, Qe({}, N)));
3479
3479
  this.bumpSpace();
3480
- var V = this.parseIdentifierIfPossible(), j = 0;
3481
- if (s !== "select" && V.value === "offset") {
3480
+ var F = this.parseIdentifierIfPossible(), G = 0;
3481
+ if (s !== "select" && F.value === "offset") {
3482
3482
  if (!this.bumpIf(":"))
3483
3483
  return this.error(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H(this.clonePosition(), this.clonePosition()));
3484
3484
  this.bumpSpace();
3485
- var h = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3486
- if (h.err)
3487
- return h;
3488
- this.bumpSpace(), V = this.parseIdentifierIfPossible(), j = h.val;
3485
+ var f = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3486
+ if (f.err)
3487
+ return f;
3488
+ this.bumpSpace(), F = this.parseIdentifierIfPossible(), G = f.val;
3489
3489
  }
3490
- var X = this.tryParsePluralOrSelectOptions(t, s, r, V);
3491
- if (X.err)
3492
- return X;
3490
+ var Z = this.tryParsePluralOrSelectOptions(t, s, r, F);
3491
+ if (Z.err)
3492
+ return Z;
3493
3493
  var m = this.tryParseArgumentClose(i);
3494
3494
  if (m.err)
3495
3495
  return m;
3496
3496
  var z = H(i, this.clonePosition());
3497
3497
  return s === "select" ? {
3498
3498
  val: {
3499
- type: M.select,
3499
+ type: T.select,
3500
3500
  value: n,
3501
- options: ir(X.val),
3501
+ options: ur(Z.val),
3502
3502
  location: z
3503
3503
  },
3504
3504
  err: null
3505
3505
  } : {
3506
3506
  val: {
3507
- type: M.plural,
3507
+ type: T.plural,
3508
3508
  value: n,
3509
- options: ir(X.val),
3510
- offset: j,
3509
+ options: ur(Z.val),
3510
+ offset: G,
3511
3511
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3512
3512
  location: z
3513
3513
  },
@@ -3557,28 +3557,28 @@ var co = (
3557
3557
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3558
3558
  var n = [];
3559
3559
  try {
3560
- n = Wi(t);
3560
+ n = Ji(t);
3561
3561
  } catch {
3562
3562
  return this.error(w.INVALID_NUMBER_SKELETON, r);
3563
3563
  }
3564
3564
  return {
3565
3565
  val: {
3566
- type: Ee.number,
3566
+ type: we.number,
3567
3567
  tokens: n,
3568
3568
  location: r,
3569
- parsedOptions: this.shouldParseSkeletons ? Zi(n) : {}
3569
+ parsedOptions: this.shouldParseSkeletons ? to(n) : {}
3570
3570
  },
3571
3571
  err: null
3572
3572
  };
3573
3573
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3574
3574
  for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
3575
3575
  if (l.length === 0) {
3576
- var h = this.clonePosition();
3576
+ var f = this.clonePosition();
3577
3577
  if (r !== "select" && this.bumpIf("=")) {
3578
3578
  var g = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_SELECTOR, w.INVALID_PLURAL_ARGUMENT_SELECTOR);
3579
3579
  if (g.err)
3580
3580
  return g;
3581
- c = H(h, this.clonePosition()), l = this.message.slice(h.offset, this.offset());
3581
+ c = H(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
3582
3582
  } else
3583
3583
  break;
3584
3584
  }
@@ -3591,9 +3591,9 @@ var co = (
3591
3591
  var m = this.parseMessage(t + 1, r, n);
3592
3592
  if (m.err)
3593
3593
  return m;
3594
- var y = this.tryParseArgumentClose(d);
3595
- if (y.err)
3596
- return y;
3594
+ var _ = this.tryParseArgumentClose(d);
3595
+ if (_.err)
3596
+ return _;
3597
3597
  s.push([
3598
3598
  l,
3599
3599
  {
@@ -3614,7 +3614,7 @@ var co = (
3614
3614
  break;
3615
3615
  }
3616
3616
  var u = H(i, this.clonePosition());
3617
- return o ? (a *= n, ao(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
3617
+ return o ? (a *= n, go(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
3618
3618
  }, e.prototype.offset = function() {
3619
3619
  return this.position.offset;
3620
3620
  }, e.prototype.isEOF = function() {
@@ -3629,7 +3629,7 @@ var co = (
3629
3629
  var t = this.position.offset;
3630
3630
  if (t >= this.message.length)
3631
3631
  throw Error("out of bound");
3632
- var r = nn(this.message, t);
3632
+ var r = un(this.message, t);
3633
3633
  if (r === void 0)
3634
3634
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3635
3635
  return r;
@@ -3648,7 +3648,7 @@ var co = (
3648
3648
  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);
3649
3649
  }
3650
3650
  }, e.prototype.bumpIf = function(t) {
3651
- if (nr(this.message, t, this.offset())) {
3651
+ if (lr(this.message, t, this.offset())) {
3652
3652
  for (var r = 0; r < t.length; r++)
3653
3653
  this.bump();
3654
3654
  return !0;
@@ -3670,7 +3670,7 @@ var co = (
3670
3670
  break;
3671
3671
  }
3672
3672
  }, e.prototype.bumpSpace = function() {
3673
- for (; !this.isEOF() && an(this.char()); )
3673
+ for (; !this.isEOF() && hn(this.char()); )
3674
3674
  this.bump();
3675
3675
  }, e.prototype.peek = function() {
3676
3676
  if (this.isEOF())
@@ -3680,47 +3680,47 @@ var co = (
3680
3680
  }, e;
3681
3681
  }()
3682
3682
  );
3683
- function Tt(e) {
3683
+ function At(e) {
3684
3684
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3685
3685
  }
3686
- function ho(e) {
3687
- return Tt(e) || e === 47;
3686
+ function _o(e) {
3687
+ return At(e) || e === 47;
3688
3688
  }
3689
- function fo(e) {
3689
+ function vo(e) {
3690
3690
  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;
3691
3691
  }
3692
- function an(e) {
3692
+ function hn(e) {
3693
3693
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3694
3694
  }
3695
- function go(e) {
3695
+ function xo(e) {
3696
3696
  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;
3697
3697
  }
3698
- function Ot(e) {
3698
+ function Lt(e) {
3699
3699
  e.forEach(function(t) {
3700
- if (delete t.location, Qr(t) || qr(t))
3700
+ if (delete t.location, en(t) || tn(t))
3701
3701
  for (var r in t.options)
3702
- delete t.options[r].location, Ot(t.options[r].value);
3702
+ delete t.options[r].location, Lt(t.options[r].value);
3703
3703
  else
3704
- Xr(t) && Yr(t.style) || (zr(t) || Zr(t)) && Et(t.style) ? delete t.style.location : Jr(t) && Ot(t.children);
3704
+ Jr(t) && nn(t.style) || (Yr(t) || Kr(t)) && St(t.style) ? delete t.style.location : rn(t) && Lt(t.children);
3705
3705
  });
3706
3706
  }
3707
- function po(e, t) {
3708
- t === void 0 && (t = {}), t = ze({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3709
- var r = new co(e, t).parse();
3707
+ function Eo(e, t) {
3708
+ t === void 0 && (t = {}), t = Qe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3709
+ var r = new yo(e, t).parse();
3710
3710
  if (r.err) {
3711
3711
  var n = SyntaxError(w[r.err.kind]);
3712
3712
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3713
3713
  }
3714
- return t?.captureLocation || Ot(r.val), r.val;
3714
+ return t?.captureLocation || Lt(r.val), r.val;
3715
3715
  }
3716
- var we;
3716
+ var He;
3717
3717
  (function(e) {
3718
3718
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3719
- })(we || (we = {}));
3720
- var Ke = (
3719
+ })(He || (He = {}));
3720
+ var tt = (
3721
3721
  /** @class */
3722
3722
  function(e) {
3723
- Ye(t, e);
3723
+ et(t, e);
3724
3724
  function t(r, n, i) {
3725
3725
  var o = e.call(this, r) || this;
3726
3726
  return o.code = n, o.originalMessage = i, o;
@@ -3729,155 +3729,155 @@ var Ke = (
3729
3729
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3730
3730
  }, t;
3731
3731
  }(Error)
3732
- ), ar = (
3732
+ ), hr = (
3733
3733
  /** @class */
3734
3734
  function(e) {
3735
- Ye(t, e);
3735
+ et(t, e);
3736
3736
  function t(r, n, i, o) {
3737
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), we.INVALID_VALUE, o) || this;
3737
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), He.INVALID_VALUE, o) || this;
3738
3738
  }
3739
3739
  return t;
3740
- }(Ke)
3741
- ), mo = (
3740
+ }(tt)
3741
+ ), wo = (
3742
3742
  /** @class */
3743
3743
  function(e) {
3744
- Ye(t, e);
3744
+ et(t, e);
3745
3745
  function t(r, n, i) {
3746
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), we.INVALID_VALUE, i) || this;
3746
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), He.INVALID_VALUE, i) || this;
3747
3747
  }
3748
3748
  return t;
3749
- }(Ke)
3750
- ), bo = (
3749
+ }(tt)
3750
+ ), Ho = (
3751
3751
  /** @class */
3752
3752
  function(e) {
3753
- Ye(t, e);
3753
+ et(t, e);
3754
3754
  function t(r, n) {
3755
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), we.MISSING_VALUE, n) || this;
3755
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), He.MISSING_VALUE, n) || this;
3756
3756
  }
3757
3757
  return t;
3758
- }(Ke)
3759
- ), F;
3758
+ }(tt)
3759
+ ), D;
3760
3760
  (function(e) {
3761
3761
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3762
- })(F || (F = {}));
3763
- function yo(e) {
3762
+ })(D || (D = {}));
3763
+ function So(e) {
3764
3764
  return e.length < 2 ? e : e.reduce(function(t, r) {
3765
3765
  var n = t[t.length - 1];
3766
- return !n || n.type !== F.literal || r.type !== F.literal ? t.push(r) : n.value += r.value, t;
3766
+ return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
3767
3767
  }, []);
3768
3768
  }
3769
- function _o(e) {
3769
+ function To(e) {
3770
3770
  return typeof e == "function";
3771
3771
  }
3772
- function $e(e, t, r, n, i, o, a) {
3773
- if (e.length === 1 && Kt(e[0]))
3772
+ function Ve(e, t, r, n, i, o, a) {
3773
+ if (e.length === 1 && ir(e[0]))
3774
3774
  return [
3775
3775
  {
3776
- type: F.literal,
3776
+ type: D.literal,
3777
3777
  value: e[0].value
3778
3778
  }
3779
3779
  ];
3780
3780
  for (var s = [], u = 0, l = e; u < l.length; u++) {
3781
3781
  var c = l[u];
3782
- if (Kt(c)) {
3782
+ if (ir(c)) {
3783
3783
  s.push({
3784
- type: F.literal,
3784
+ type: D.literal,
3785
3785
  value: c.value
3786
3786
  });
3787
3787
  continue;
3788
3788
  }
3789
- if (Di(c)) {
3789
+ if (zi(c)) {
3790
3790
  typeof o == "number" && s.push({
3791
- type: F.literal,
3791
+ type: D.literal,
3792
3792
  value: r.getNumberFormat(t).format(o)
3793
3793
  });
3794
3794
  continue;
3795
3795
  }
3796
- var h = c.value;
3797
- if (!(i && h in i))
3798
- throw new bo(h, a);
3799
- var g = i[h];
3800
- if (Fi(c)) {
3796
+ var f = c.value;
3797
+ if (!(i && f in i))
3798
+ throw new Ho(f, a);
3799
+ var g = i[f];
3800
+ if (Xi(c)) {
3801
3801
  (!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), s.push({
3802
- type: typeof g == "string" ? F.literal : F.object,
3802
+ type: typeof g == "string" ? D.literal : D.object,
3803
3803
  value: g
3804
3804
  });
3805
3805
  continue;
3806
3806
  }
3807
- if (zr(c)) {
3808
- var d = typeof c.style == "string" ? n.date[c.style] : Et(c.style) ? c.style.parsedOptions : void 0;
3807
+ if (Yr(c)) {
3808
+ var d = typeof c.style == "string" ? n.date[c.style] : St(c.style) ? c.style.parsedOptions : void 0;
3809
3809
  s.push({
3810
- type: F.literal,
3810
+ type: D.literal,
3811
3811
  value: r.getDateTimeFormat(t, d).format(g)
3812
3812
  });
3813
3813
  continue;
3814
3814
  }
3815
- if (Zr(c)) {
3816
- var d = typeof c.style == "string" ? n.time[c.style] : Et(c.style) ? c.style.parsedOptions : n.time.medium;
3815
+ if (Kr(c)) {
3816
+ var d = typeof c.style == "string" ? n.time[c.style] : St(c.style) ? c.style.parsedOptions : n.time.medium;
3817
3817
  s.push({
3818
- type: F.literal,
3818
+ type: D.literal,
3819
3819
  value: r.getDateTimeFormat(t, d).format(g)
3820
3820
  });
3821
3821
  continue;
3822
3822
  }
3823
- if (Xr(c)) {
3824
- var d = typeof c.style == "string" ? n.number[c.style] : Yr(c.style) ? c.style.parsedOptions : void 0;
3823
+ if (Jr(c)) {
3824
+ var d = typeof c.style == "string" ? n.number[c.style] : nn(c.style) ? c.style.parsedOptions : void 0;
3825
3825
  d && d.scale && (g = g * (d.scale || 1)), s.push({
3826
- type: F.literal,
3826
+ type: D.literal,
3827
3827
  value: r.getNumberFormat(t, d).format(g)
3828
3828
  });
3829
3829
  continue;
3830
3830
  }
3831
- if (Jr(c)) {
3832
- var m = c.children, y = c.value, x = i[y];
3833
- if (!_o(x))
3834
- throw new mo(y, "function", a);
3835
- var E = $e(m, t, r, n, i, o), L = x(E.map(function(j) {
3836
- return j.value;
3831
+ if (rn(c)) {
3832
+ var m = c.children, _ = c.value, x = i[_];
3833
+ if (!To(x))
3834
+ throw new wo(_, "function", a);
3835
+ var E = Ve(m, t, r, n, i, o), A = x(E.map(function(G) {
3836
+ return G.value;
3837
3837
  }));
3838
- Array.isArray(L) || (L = [L]), s.push.apply(s, L.map(function(j) {
3838
+ Array.isArray(A) || (A = [A]), s.push.apply(s, A.map(function(G) {
3839
3839
  return {
3840
- type: typeof j == "string" ? F.literal : F.object,
3841
- value: j
3840
+ type: typeof G == "string" ? D.literal : D.object,
3841
+ value: G
3842
3842
  };
3843
3843
  }));
3844
3844
  }
3845
- if (Qr(c)) {
3846
- var I = c.options[g] || c.options.other;
3847
- if (!I)
3848
- throw new ar(c.value, g, Object.keys(c.options), a);
3849
- s.push.apply(s, $e(I.value, t, r, n, i));
3845
+ if (en(c)) {
3846
+ var N = c.options[g] || c.options.other;
3847
+ if (!N)
3848
+ throw new hr(c.value, g, Object.keys(c.options), a);
3849
+ s.push.apply(s, Ve(N.value, t, r, n, i));
3850
3850
  continue;
3851
3851
  }
3852
- if (qr(c)) {
3853
- var I = c.options["=".concat(g)];
3854
- if (!I) {
3852
+ if (tn(c)) {
3853
+ var N = c.options["=".concat(g)];
3854
+ if (!N) {
3855
3855
  if (!Intl.PluralRules)
3856
- throw new Ke(`Intl.PluralRules is not available in this environment.
3856
+ throw new tt(`Intl.PluralRules is not available in this environment.
3857
3857
  Try polyfilling it using "@formatjs/intl-pluralrules"
3858
- `, we.MISSING_INTL_API, a);
3859
- var V = r.getPluralRules(t, { type: c.pluralType }).select(g - (c.offset || 0));
3860
- I = c.options[V] || c.options.other;
3858
+ `, He.MISSING_INTL_API, a);
3859
+ var F = r.getPluralRules(t, { type: c.pluralType }).select(g - (c.offset || 0));
3860
+ N = c.options[F] || c.options.other;
3861
3861
  }
3862
- if (!I)
3863
- throw new ar(c.value, g, Object.keys(c.options), a);
3864
- s.push.apply(s, $e(I.value, t, r, n, i, g - (c.offset || 0)));
3862
+ if (!N)
3863
+ throw new hr(c.value, g, Object.keys(c.options), a);
3864
+ s.push.apply(s, Ve(N.value, t, r, n, i, g - (c.offset || 0)));
3865
3865
  continue;
3866
3866
  }
3867
3867
  }
3868
- return yo(s);
3868
+ return So(s);
3869
3869
  }
3870
- function vo(e, t) {
3871
- return t ? Y(Y(Y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3872
- return r[n] = Y(Y({}, e[n]), t[n] || {}), r;
3870
+ function Oo(e, t) {
3871
+ return t ? J(J(J({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3872
+ return r[n] = J(J({}, e[n]), t[n] || {}), r;
3873
3873
  }, {})) : e;
3874
3874
  }
3875
- function xo(e, t) {
3875
+ function Mo(e, t) {
3876
3876
  return t ? Object.keys(e).reduce(function(r, n) {
3877
- return r[n] = vo(e[n], t[n]), r;
3878
- }, Y({}, e)) : e;
3877
+ return r[n] = Oo(e[n], t[n]), r;
3878
+ }, J({}, e)) : e;
3879
3879
  }
3880
- function ft(e) {
3880
+ function dt(e) {
3881
3881
  return {
3882
3882
  create: function() {
3883
3883
  return {
@@ -3891,39 +3891,39 @@ function ft(e) {
3891
3891
  }
3892
3892
  };
3893
3893
  }
3894
- function Eo(e) {
3894
+ function Ao(e) {
3895
3895
  return e === void 0 && (e = {
3896
3896
  number: {},
3897
3897
  dateTime: {},
3898
3898
  pluralRules: {}
3899
3899
  }), {
3900
- getNumberFormat: ut(function() {
3900
+ getNumberFormat: ft(function() {
3901
3901
  for (var t, r = [], n = 0; n < arguments.length; n++)
3902
3902
  r[n] = arguments[n];
3903
- return new ((t = Intl.NumberFormat).bind.apply(t, lt([void 0], r, !1)))();
3903
+ return new ((t = Intl.NumberFormat).bind.apply(t, ht([void 0], r, !1)))();
3904
3904
  }, {
3905
- cache: ft(e.number),
3906
- strategy: ct.variadic
3905
+ cache: dt(e.number),
3906
+ strategy: gt.variadic
3907
3907
  }),
3908
- getDateTimeFormat: ut(function() {
3908
+ getDateTimeFormat: ft(function() {
3909
3909
  for (var t, r = [], n = 0; n < arguments.length; n++)
3910
3910
  r[n] = arguments[n];
3911
- return new ((t = Intl.DateTimeFormat).bind.apply(t, lt([void 0], r, !1)))();
3911
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, ht([void 0], r, !1)))();
3912
3912
  }, {
3913
- cache: ft(e.dateTime),
3914
- strategy: ct.variadic
3913
+ cache: dt(e.dateTime),
3914
+ strategy: gt.variadic
3915
3915
  }),
3916
- getPluralRules: ut(function() {
3916
+ getPluralRules: ft(function() {
3917
3917
  for (var t, r = [], n = 0; n < arguments.length; n++)
3918
3918
  r[n] = arguments[n];
3919
- return new ((t = Intl.PluralRules).bind.apply(t, lt([void 0], r, !1)))();
3919
+ return new ((t = Intl.PluralRules).bind.apply(t, ht([void 0], r, !1)))();
3920
3920
  }, {
3921
- cache: ft(e.pluralRules),
3922
- strategy: ct.variadic
3921
+ cache: dt(e.pluralRules),
3922
+ strategy: gt.variadic
3923
3923
  })
3924
3924
  };
3925
3925
  }
3926
- var wo = (
3926
+ var Lo = (
3927
3927
  /** @class */
3928
3928
  function() {
3929
3929
  function e(t, r, n, i) {
@@ -3937,12 +3937,12 @@ var wo = (
3937
3937
  var l = o.formatToParts(u);
3938
3938
  if (l.length === 1)
3939
3939
  return l[0].value;
3940
- var c = l.reduce(function(h, g) {
3941
- return !h.length || g.type !== F.literal || typeof h[h.length - 1] != "string" ? h.push(g.value) : h[h.length - 1] += g.value, h;
3940
+ var c = l.reduce(function(f, g) {
3941
+ return !f.length || g.type !== D.literal || typeof f[f.length - 1] != "string" ? f.push(g.value) : f[f.length - 1] += g.value, f;
3942
3942
  }, []);
3943
3943
  return c.length <= 1 ? c[0] || "" : c;
3944
3944
  }, this.formatToParts = function(u) {
3945
- return $e(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3945
+ return Ve(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3946
3946
  }, this.resolvedOptions = function() {
3947
3947
  var u;
3948
3948
  return {
@@ -3955,13 +3955,13 @@ var wo = (
3955
3955
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3956
3956
  var a = i || {};
3957
3957
  a.formatters;
3958
- var s = Pi(a, ["formatters"]);
3959
- this.ast = e.__parse(t, Y(Y({}, s), { locale: this.resolvedLocale }));
3958
+ var s = Ui(a, ["formatters"]);
3959
+ this.ast = e.__parse(t, J(J({}, s), { locale: this.resolvedLocale }));
3960
3960
  } else
3961
3961
  this.ast = t;
3962
3962
  if (!Array.isArray(this.ast))
3963
3963
  throw new TypeError("A message must be provided as a String or AST.");
3964
- this.formats = xo(e.formats, n), this.formatters = i && i.formatters || Eo(this.formatterCache);
3964
+ this.formats = Mo(e.formats, n), this.formatters = i && i.formatters || Ao(this.formatterCache);
3965
3965
  }
3966
3966
  return Object.defineProperty(e, "defaultLocale", {
3967
3967
  get: function() {
@@ -3974,7 +3974,7 @@ var wo = (
3974
3974
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3975
3975
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3976
3976
  }
3977
- }, e.__parse = po, e.formats = {
3977
+ }, e.__parse = Eo, e.formats = {
3978
3978
  number: {
3979
3979
  integer: {
3980
3980
  maximumFractionDigits: 0
@@ -4035,7 +4035,7 @@ var wo = (
4035
4035
  }, e;
4036
4036
  }()
4037
4037
  );
4038
- function Ho(e, t) {
4038
+ function Po(e, t) {
4039
4039
  if (t == null)
4040
4040
  return;
4041
4041
  if (t in e)
@@ -4056,92 +4056,92 @@ function Ho(e, t) {
4056
4056
  n = void 0;
4057
4057
  return n;
4058
4058
  }
4059
- const ie = {}, So = (e, t, r) => r && (t in ie || (ie[t] = {}), e in ie[t] || (ie[t][e] = r), r), sn = (e, t) => {
4059
+ const ae = {}, Io = (e, t, r) => r && (t in ae || (ae[t] = {}), e in ae[t] || (ae[t][e] = r), r), fn = (e, t) => {
4060
4060
  if (t == null)
4061
4061
  return;
4062
- if (t in ie && e in ie[t])
4063
- return ie[t][e];
4064
- const r = et(t);
4062
+ if (t in ae && e in ae[t])
4063
+ return ae[t][e];
4064
+ const r = rt(t);
4065
4065
  for (let n = 0; n < r.length; n++) {
4066
- const i = r[n], o = Oo(i, e);
4066
+ const i = r[n], o = Co(i, e);
4067
4067
  if (o)
4068
- return So(e, t, o);
4068
+ return Io(e, t, o);
4069
4069
  }
4070
4070
  };
4071
- let Pt;
4072
- const Re = Je({});
4073
- function To(e) {
4074
- return Pt[e] || null;
4071
+ let Ct;
4072
+ const Ue = Ke({});
4073
+ function Bo(e) {
4074
+ return Ct[e] || null;
4075
4075
  }
4076
- function ln(e) {
4077
- return e in Pt;
4076
+ function gn(e) {
4077
+ return e in Ct;
4078
4078
  }
4079
- function Oo(e, t) {
4080
- if (!ln(e))
4079
+ function Co(e, t) {
4080
+ if (!gn(e))
4081
4081
  return null;
4082
- const r = To(e);
4083
- return Ho(r, t);
4082
+ const r = Bo(e);
4083
+ return Po(r, t);
4084
4084
  }
4085
- function Mo(e) {
4085
+ function No(e) {
4086
4086
  if (e == null)
4087
4087
  return;
4088
- const t = et(e);
4088
+ const t = rt(e);
4089
4089
  for (let r = 0; r < t.length; r++) {
4090
4090
  const n = t[r];
4091
- if (ln(n))
4091
+ if (gn(n))
4092
4092
  return n;
4093
4093
  }
4094
4094
  }
4095
- function un(e, ...t) {
4096
- delete ie[e], Re.update((r) => (r[e] = Li.all([r[e] || {}, ...t]), r));
4095
+ function pn(e, ...t) {
4096
+ delete ae[e], Ue.update((r) => (r[e] = ki.all([r[e] || {}, ...t]), r));
4097
4097
  }
4098
- Se(
4099
- [Re],
4098
+ Te(
4099
+ [Ue],
4100
4100
  ([e]) => Object.keys(e)
4101
4101
  );
4102
- Re.subscribe((e) => Pt = e);
4103
- const We = {};
4104
- function Ao(e, t) {
4105
- We[e].delete(t), We[e].size === 0 && delete We[e];
4102
+ Ue.subscribe((e) => Ct = e);
4103
+ const Xe = {};
4104
+ function Ro(e, t) {
4105
+ Xe[e].delete(t), Xe[e].size === 0 && delete Xe[e];
4106
4106
  }
4107
- function cn(e) {
4108
- return We[e];
4107
+ function dn(e) {
4108
+ return Xe[e];
4109
4109
  }
4110
- function Lo(e) {
4111
- return et(e).map((t) => {
4112
- const r = cn(t);
4110
+ function ko(e) {
4111
+ return rt(e).map((t) => {
4112
+ const r = dn(t);
4113
4113
  return [t, r ? [...r] : []];
4114
4114
  }).filter(([, t]) => t.length > 0);
4115
4115
  }
4116
- function Mt(e) {
4117
- return e == null ? !1 : et(e).some(
4116
+ function Pt(e) {
4117
+ return e == null ? !1 : rt(e).some(
4118
4118
  (t) => {
4119
4119
  var r;
4120
- return (r = cn(t)) == null ? void 0 : r.size;
4120
+ return (r = dn(t)) == null ? void 0 : r.size;
4121
4121
  }
4122
4122
  );
4123
4123
  }
4124
- function Po(e, t) {
4124
+ function Uo(e, t) {
4125
4125
  return Promise.all(
4126
- t.map((n) => (Ao(e, n), n().then((i) => i.default || i)))
4127
- ).then((n) => un(e, ...n));
4128
- }
4129
- const Me = {};
4130
- function hn(e) {
4131
- if (!Mt(e))
4132
- return e in Me ? Me[e] : Promise.resolve();
4133
- const t = Lo(e);
4134
- return Me[e] = Promise.all(
4126
+ t.map((n) => (Ro(e, n), n().then((i) => i.default || i)))
4127
+ ).then((n) => pn(e, ...n));
4128
+ }
4129
+ const Le = {};
4130
+ function mn(e) {
4131
+ if (!Pt(e))
4132
+ return e in Le ? Le[e] : Promise.resolve();
4133
+ const t = ko(e);
4134
+ return Le[e] = Promise.all(
4135
4135
  t.map(
4136
- ([r, n]) => Po(r, n)
4136
+ ([r, n]) => Uo(r, n)
4137
4137
  )
4138
4138
  ).then(() => {
4139
- if (Mt(e))
4140
- return hn(e);
4141
- delete Me[e];
4142
- }), Me[e];
4139
+ if (Pt(e))
4140
+ return mn(e);
4141
+ delete Le[e];
4142
+ }), Le[e];
4143
4143
  }
4144
- const Bo = {
4144
+ const Do = {
4145
4145
  number: {
4146
4146
  scientific: { notation: "scientific" },
4147
4147
  engineering: { notation: "engineering" },
@@ -4170,180 +4170,191 @@ const Bo = {
4170
4170
  timeZoneName: "short"
4171
4171
  }
4172
4172
  }
4173
- }, Io = {
4173
+ }, Fo = {
4174
4174
  fallbackLocale: null,
4175
4175
  loadingDelay: 200,
4176
- formats: Bo,
4176
+ formats: Do,
4177
4177
  warnOnMissingMessages: !0,
4178
4178
  handleMissingMessage: void 0,
4179
4179
  ignoreTag: !0
4180
- }, Co = Io;
4181
- function He() {
4182
- return Co;
4180
+ }, Go = Fo;
4181
+ function Se() {
4182
+ return Go;
4183
4183
  }
4184
- const gt = Je(!1);
4185
- var No = Object.defineProperty, Ro = Object.defineProperties, ko = Object.getOwnPropertyDescriptors, sr = Object.getOwnPropertySymbols, Uo = Object.prototype.hasOwnProperty, Fo = Object.prototype.propertyIsEnumerable, lr = (e, t, r) => t in e ? No(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Do = (e, t) => {
4184
+ const mt = Ke(!1);
4185
+ var jo = Object.defineProperty, $o = Object.defineProperties, Wo = Object.getOwnPropertyDescriptors, fr = Object.getOwnPropertySymbols, Vo = Object.prototype.hasOwnProperty, Xo = Object.prototype.propertyIsEnumerable, gr = (e, t, r) => t in e ? jo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, zo = (e, t) => {
4186
4186
  for (var r in t || (t = {}))
4187
- Uo.call(t, r) && lr(e, r, t[r]);
4188
- if (sr)
4189
- for (var r of sr(t))
4190
- Fo.call(t, r) && lr(e, r, t[r]);
4187
+ Vo.call(t, r) && gr(e, r, t[r]);
4188
+ if (fr)
4189
+ for (var r of fr(t))
4190
+ Xo.call(t, r) && gr(e, r, t[r]);
4191
4191
  return e;
4192
- }, Go = (e, t) => Ro(e, ko(t));
4193
- let At;
4194
- const Ze = Je(null);
4195
- function ur(e) {
4192
+ }, Zo = (e, t) => $o(e, Wo(t));
4193
+ let It;
4194
+ const qe = Ke(null);
4195
+ function pr(e) {
4196
4196
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4197
4197
  }
4198
- function et(e, t = He().fallbackLocale) {
4199
- const r = ur(e);
4200
- return t ? [.../* @__PURE__ */ new Set([...r, ...ur(t)])] : r;
4198
+ function rt(e, t = Se().fallbackLocale) {
4199
+ const r = pr(e);
4200
+ return t ? [.../* @__PURE__ */ new Set([...r, ...pr(t)])] : r;
4201
4201
  }
4202
- function he() {
4203
- return At ?? void 0;
4202
+ function ge() {
4203
+ return It ?? void 0;
4204
4204
  }
4205
- Ze.subscribe((e) => {
4206
- At = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4205
+ qe.subscribe((e) => {
4206
+ It = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4207
4207
  });
4208
- const jo = (e) => {
4209
- if (e && Mo(e) && Mt(e)) {
4210
- const { loadingDelay: t } = He();
4208
+ const Qo = (e) => {
4209
+ if (e && No(e) && Pt(e)) {
4210
+ const { loadingDelay: t } = Se();
4211
4211
  let r;
4212
- return typeof window < "u" && he() != null && t ? r = window.setTimeout(
4213
- () => gt.set(!0),
4212
+ return typeof window < "u" && ge() != null && t ? r = window.setTimeout(
4213
+ () => mt.set(!0),
4214
4214
  t
4215
- ) : gt.set(!0), hn(e).then(() => {
4216
- Ze.set(e);
4215
+ ) : mt.set(!0), mn(e).then(() => {
4216
+ qe.set(e);
4217
4217
  }).finally(() => {
4218
- clearTimeout(r), gt.set(!1);
4218
+ clearTimeout(r), mt.set(!1);
4219
4219
  });
4220
4220
  }
4221
- return Ze.set(e);
4222
- }, Te = Go(Do({}, Ze), {
4223
- set: jo
4224
- }), tt = (e) => {
4221
+ return qe.set(e);
4222
+ }, Oe = Zo(zo({}, qe), {
4223
+ set: Qo
4224
+ }), nt = (e) => {
4225
4225
  const t = /* @__PURE__ */ Object.create(null);
4226
4226
  return (n) => {
4227
4227
  const i = JSON.stringify(n);
4228
4228
  return i in t ? t[i] : t[i] = e(n);
4229
4229
  };
4230
4230
  };
4231
- var $o = Object.defineProperty, Qe = Object.getOwnPropertySymbols, fn = Object.prototype.hasOwnProperty, gn = Object.prototype.propertyIsEnumerable, cr = (e, t, r) => t in e ? $o(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bt = (e, t) => {
4231
+ var qo = Object.defineProperty, Je = Object.getOwnPropertySymbols, bn = Object.prototype.hasOwnProperty, yn = Object.prototype.propertyIsEnumerable, dr = (e, t, r) => t in e ? qo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Nt = (e, t) => {
4232
4232
  for (var r in t || (t = {}))
4233
- fn.call(t, r) && cr(e, r, t[r]);
4234
- if (Qe)
4235
- for (var r of Qe(t))
4236
- gn.call(t, r) && cr(e, r, t[r]);
4233
+ bn.call(t, r) && dr(e, r, t[r]);
4234
+ if (Je)
4235
+ for (var r of Je(t))
4236
+ yn.call(t, r) && dr(e, r, t[r]);
4237
4237
  return e;
4238
- }, Oe = (e, t) => {
4238
+ }, Me = (e, t) => {
4239
4239
  var r = {};
4240
4240
  for (var n in e)
4241
- fn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4242
- if (e != null && Qe)
4243
- for (var n of Qe(e))
4244
- t.indexOf(n) < 0 && gn.call(e, n) && (r[n] = e[n]);
4241
+ bn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4242
+ if (e != null && Je)
4243
+ for (var n of Je(e))
4244
+ t.indexOf(n) < 0 && yn.call(e, n) && (r[n] = e[n]);
4245
4245
  return r;
4246
4246
  };
4247
- const Ie = (e, t) => {
4248
- const { formats: r } = He();
4247
+ const Ne = (e, t) => {
4248
+ const { formats: r } = Se();
4249
4249
  if (e in r && t in r[e])
4250
4250
  return r[e][t];
4251
4251
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4252
- }, Wo = tt(
4252
+ }, Jo = nt(
4253
4253
  (e) => {
4254
- var t = e, { locale: r, format: n } = t, i = Oe(t, ["locale", "format"]);
4254
+ var t = e, { locale: r, format: n } = t, i = Me(t, ["locale", "format"]);
4255
4255
  if (r == null)
4256
4256
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4257
- return n && (i = Ie("number", n)), new Intl.NumberFormat(r, i);
4257
+ return n && (i = Ne("number", n)), new Intl.NumberFormat(r, i);
4258
4258
  }
4259
- ), Vo = tt(
4259
+ ), Yo = nt(
4260
4260
  (e) => {
4261
- var t = e, { locale: r, format: n } = t, i = Oe(t, ["locale", "format"]);
4261
+ var t = e, { locale: r, format: n } = t, i = Me(t, ["locale", "format"]);
4262
4262
  if (r == null)
4263
4263
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4264
- return n ? i = Ie("date", n) : Object.keys(i).length === 0 && (i = Ie("date", "short")), new Intl.DateTimeFormat(r, i);
4264
+ return n ? i = Ne("date", n) : Object.keys(i).length === 0 && (i = Ne("date", "short")), new Intl.DateTimeFormat(r, i);
4265
4265
  }
4266
- ), Xo = tt(
4266
+ ), Ko = nt(
4267
4267
  (e) => {
4268
- var t = e, { locale: r, format: n } = t, i = Oe(t, ["locale", "format"]);
4268
+ var t = e, { locale: r, format: n } = t, i = Me(t, ["locale", "format"]);
4269
4269
  if (r == null)
4270
4270
  throw new Error(
4271
4271
  '[svelte-i18n] A "locale" must be set to format time values'
4272
4272
  );
4273
- return n ? i = Ie("time", n) : Object.keys(i).length === 0 && (i = Ie("time", "short")), new Intl.DateTimeFormat(r, i);
4273
+ return n ? i = Ne("time", n) : Object.keys(i).length === 0 && (i = Ne("time", "short")), new Intl.DateTimeFormat(r, i);
4274
4274
  }
4275
- ), zo = (e = {}) => {
4275
+ ), ea = (e = {}) => {
4276
4276
  var t = e, {
4277
- locale: r = he()
4278
- } = t, n = Oe(t, [
4277
+ locale: r = ge()
4278
+ } = t, n = Me(t, [
4279
4279
  "locale"
4280
4280
  ]);
4281
- return Wo(Bt({ locale: r }, n));
4282
- }, Zo = (e = {}) => {
4281
+ return Jo(Nt({ locale: r }, n));
4282
+ }, ta = (e = {}) => {
4283
4283
  var t = e, {
4284
- locale: r = he()
4285
- } = t, n = Oe(t, [
4284
+ locale: r = ge()
4285
+ } = t, n = Me(t, [
4286
4286
  "locale"
4287
4287
  ]);
4288
- return Vo(Bt({ locale: r }, n));
4289
- }, Qo = (e = {}) => {
4288
+ return Yo(Nt({ locale: r }, n));
4289
+ }, ra = (e = {}) => {
4290
4290
  var t = e, {
4291
- locale: r = he()
4292
- } = t, n = Oe(t, [
4291
+ locale: r = ge()
4292
+ } = t, n = Me(t, [
4293
4293
  "locale"
4294
4294
  ]);
4295
- return Xo(Bt({ locale: r }, n));
4296
- }, qo = tt(
4295
+ return Ko(Nt({ locale: r }, n));
4296
+ }, na = nt(
4297
4297
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4298
- (e, t = he()) => new wo(e, t, He().formats, {
4299
- ignoreTag: He().ignoreTag
4298
+ (e, t = ge()) => new Lo(e, t, Se().formats, {
4299
+ ignoreTag: Se().ignoreTag
4300
4300
  })
4301
- ), Jo = (e, t = {}) => {
4301
+ ), ia = (e, t = {}) => {
4302
4302
  var r, n, i, o;
4303
4303
  let a = t;
4304
4304
  typeof e == "object" && (a = e, e = a.id);
4305
4305
  const {
4306
4306
  values: s,
4307
- locale: u = he(),
4307
+ locale: u = ge(),
4308
4308
  default: l
4309
4309
  } = a;
4310
4310
  if (u == null)
4311
4311
  throw new Error(
4312
4312
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4313
4313
  );
4314
- let c = sn(e, u);
4314
+ let c = fn(e, u);
4315
4315
  if (!c)
4316
- 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;
4316
+ c = (o = (i = (n = (r = Se()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4317
4317
  else if (typeof c != "string")
4318
4318
  return console.warn(
4319
4319
  `[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.`
4320
4320
  ), c;
4321
4321
  if (!s)
4322
4322
  return c;
4323
- let h = c;
4323
+ let f = c;
4324
4324
  try {
4325
- h = qo(c, u).format(s);
4325
+ f = na(c, u).format(s);
4326
4326
  } catch (g) {
4327
4327
  g instanceof Error && console.warn(
4328
4328
  `[svelte-i18n] Message "${e}" has syntax error:`,
4329
4329
  g.message
4330
4330
  );
4331
4331
  }
4332
- return h;
4333
- }, Yo = (e, t) => Qo(t).format(e), Ko = (e, t) => Zo(t).format(e), ea = (e, t) => zo(t).format(e), ta = (e, t = he()) => sn(e, t), ra = Se([Te, Re], () => Jo);
4334
- Se([Te], () => Yo);
4335
- Se([Te], () => Ko);
4336
- Se([Te], () => ea);
4337
- Se([Te, Re], () => ta);
4338
- window.emWidgets = { topic: gi };
4339
- const hr = (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)), na = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4340
- function ia(e, t) {
4332
+ return f;
4333
+ }, oa = (e, t) => ra(t).format(e), aa = (e, t) => ta(t).format(e), sa = (e, t) => ea(t).format(e), la = (e, t = ge()) => fn(e, t), ua = Te([Oe, Ue], () => ia);
4334
+ Te([Oe], () => oa);
4335
+ Te([Oe], () => aa);
4336
+ Te([Oe], () => sa);
4337
+ Te([Oe, Ue], () => la);
4338
+ window.emWidgets = { topic: vi };
4339
+ const mr = (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)), ca = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4340
+ function ha(e, t) {
4341
+ return new Promise((r, n) => {
4342
+ const i = new Headers();
4343
+ i.append("X-SessionID", t);
4344
+ const o = {
4345
+ method: "GET",
4346
+ headers: i
4347
+ };
4348
+ fetch(`${e}/v1/player/session/player`, o).then((a) => a.json()).then((a) => r(a)).catch((a) => n(a));
4349
+ });
4350
+ }
4351
+ function fa(e, t) {
4341
4352
  if (e) {
4342
4353
  const r = document.createElement("style");
4343
4354
  r.innerHTML = t, e.appendChild(r);
4344
4355
  }
4345
4356
  }
4346
- function oa(e, t) {
4357
+ function ga(e, t) {
4347
4358
  const r = new URL(t);
4348
4359
  fetch(r.href).then((n) => n.text()).then((n) => {
4349
4360
  const i = document.createElement("style");
@@ -4352,7 +4363,7 @@ function oa(e, t) {
4352
4363
  console.error("There was an error while trying to load client styling from URL", n);
4353
4364
  });
4354
4365
  }
4355
- function aa(e, t, r) {
4366
+ function pa(e, t, r) {
4356
4367
  if (window.emMessageBus) {
4357
4368
  const n = document.createElement("style");
4358
4369
  window.emMessageBus.subscribe(t, (i) => {
@@ -4360,13 +4371,13 @@ function aa(e, t, r) {
4360
4371
  });
4361
4372
  }
4362
4373
  }
4363
- function fr(e, t) {
4364
- un(e, t);
4374
+ function br(e, t) {
4375
+ pn(e, t);
4365
4376
  }
4366
- function sa(e) {
4367
- Te.set(e);
4377
+ function da(e) {
4378
+ Oe.set(e);
4368
4379
  }
4369
- const gr = {
4380
+ const yr = {
4370
4381
  en: {
4371
4382
  language: "Select Language"
4372
4383
  },
@@ -4401,295 +4412,318 @@ const gr = {
4401
4412
  language: "Select Language"
4402
4413
  }
4403
4414
  };
4404
- function la(e) {
4405
- Nn(e, "svelte-1oaeimo", "*,*::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(var(--emw--color-primary-rgb, 35, 178, 78), 0.2) 0%, transparent 100%)}12%{background:linear-gradient(0deg, rgba(var(--emw--color-primary-rgb, 35, 178, 78), 0.225) 0%, transparent 100%)}25%{background:linear-gradient(0deg, rgba(var(--emw--color-primary-rgb, 35, 178, 78), 0.25) 0%, transparent 100%)}33%{background:linear-gradient(0deg, rgba(var(--emw--color-primary-rgb, 35, 178, 78), 0.275) 0%, transparent 100%)}50%{background:linear-gradient(0deg, rgba(var(--emw--color-primary-rgb, 35, 178, 78), 0.3) 0%, transparent 100%)}63%{background:linear-gradient(0deg, rgba(var(--emw--color-primary-rgb, 35, 178, 78), 0.325) 0%, transparent 100%)}75%{background:linear-gradient(0deg, rgba(var(--emw--color-primary-rgb, 35, 178, 78), 0.35) 0%, transparent 100%)}88%{background:linear-gradient(0deg, rgba(var(--emw--color-primary-rgb, 35, 178, 78), 0.375) 0%, transparent 100%)}100%{background:linear-gradient(0deg, rgba(var(--emw--color-primary-rgb, 35, 178, 78), 0.4) 0%, transparent 100%)}}@keyframes increaseTransparency{0%{opacity:0}25%{opacity:0.25}75%{opacity:0.75}100%{opacity:1}}@keyframes decreaseTransparency{100%{opacity:1}75%{opacity:0.75}25%{opacity:0.25}0%{opacity:0}}@keyframes growWidthPercent{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes growWidth{from{transform:translateY(0)}to{transform:translateY(0)}}@keyframes decreaseWidth{from{transform:translateX(1)}to{transform:translateX(0)}}.NavIcon{width:30px;height:28px;position:relative;margin:3px auto;transform:rotate(0deg);transition:transform 0.2s ease-in-out;cursor:pointer}.NavIcon span{display:block;position:absolute;height:3px;width:100%;background:#ffffff;border-radius:9px;opacity:1;left:0;transform:rotate(0deg);transition:transform 0.2s ease-in-out, opacity 0.2s ease-in-out}.NavIcon span:nth-child(1){top:0px;width:80%}.NavIcon span:nth-child(2){top:9px}.NavIcon span:nth-child(3){top:18px}.NavIcon.Open span:nth-child(1){top:9px;width:100%;transform:rotate(135deg);transition:transform 0.3s ease-in-out}.NavIcon.Open span:nth-child(2){opacity:0;left:-60px}.NavIcon.Open span:nth-child(3){top:9px;transform:rotate(-135deg);transition:transform 0.3s ease-in-out}.SelectedOption{display:flex;align-items:center;justify-content:center}.SelectedOption .TriangleActive,.SelectedOption .TriangleInactive{display:block;margin:0 0 0 10px;transform:rotateX(0deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive svg,.SelectedOption .TriangleInactive svg{margin:-2px 0px;fill:white}.SelectedOption .TriangleActive{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive:hover{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.FlagIcon>img{width:20px;height:14px;margin-right:8px;border-radius:2px}.LanguageSelector{padding:5px 0;margin-bottom:0;display:flex;justify-content:space-between;background:linear-gradient(90deg, rgba(35, 178, 78, 0.9) 0%, rgba(0, 61, 93, 0.9) 100%);transition:transform 0.2s linear;height:44px}.LanguageSelector span{display:inline;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));opacity:0.8;padding:5px 0;display:flex;align-items:center;gap:15px;font-size:14px}.LanguageSelector:active{transition:all 0.2s ease}.LanguageSelector:active span{transition:all 0.1s linear;opacity:1}.LanguageSelector.Open{box-shadow:inset 0 -3.25em 0 0 var(--emw--color-primary)}.LanguageSelector .LanguageSelectorTitle{margin:0 20px}.LanguageSelector .LanguageDropdown{margin-right:16px;display:inline-block}.LanguageSelector .OptionList{position:absolute;background:linear-gradient(90deg, rgba(35, 178, 78, 0.1) 0%, rgba(0, 61, 93, 0.1) 100%);min-width:180px;z-index:1;overflow-y:auto;display:flex;flex-direction:column-reverse;bottom:44px;left:0;gap:5px;padding-bottom:5px;width:100%;height:0px;transition:transform 0.2s linear}.LanguageSelector .OptionList.Open{transition:transform 0.2s linear;height:auto;background-color:var(--emw--color-background-secondary, #000000);overflow:auto}.LanguageSelector .OptionList .LanguageOption{display:flex;border:2px solid #22B04E;border-radius:13px;align-items:center;opacity:0.2;height:0px;background:linear-gradient(90deg, rgba(35, 178, 78, 0.2) 0%, rgba(0, 61, 93, 0.2) 100%);margin:0 5px;transition:transform 0.3s linear}.LanguageSelector .OptionList .LanguageOption.Open{height:50px;opacity:1;padding:10px 5px}.LanguageSelector .OptionList .LanguageOption:active,.LanguageSelector .OptionList .LanguageOption:hover{background:linear-gradient(90deg, rgb(35, 178, 78) 0%, rgb(0, 61, 93) 100%);transform:scale(1.03);transition:transform 0.2s ease-in-out}.LanguageSelector .OptionList .LanguageOption:active span,.LanguageSelector .OptionList .LanguageOption:hover span{color:black}.ItemLanguage{height:34px;width:100%;text-align:left;line-height:34px;background:transparent;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));border:none}.ItemLanguage option{color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.HamburgerModalWindow{display:flex;align-items:flex-start;position:fixed;width:100%;height:100%;z-index:100;z-index:999999;top:0;left:0;background-color:rgba(0, 0, 0, 0.85);animation:increaseTransparency 0.2s ease-in forwards}.HamburgerModalWindow>span{opacity:0}.HamburgerModalWindow .HamburgerModalContainer{max-width:992px;position:relative;background:var(--emw--color-primary);display:flex;flex-direction:column;justify-content:space-between;height:100%;padding:0;border-top:0;border-radius:0;overflow-x:hidden;overflow-y:scroll}.HamburgerModalWindow .HamburgerModalContainer.ActiveHamburgerMenu{animation:growWidth 0.2s forwards;transform-origin:left;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer.Closing{animation:decreaseWidth 0.2s backwards;transform-origin:right;animation-fill-mode:backwards;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer .Separator{width:100%;height:5px;background:rgb(0, 0, 0);background:linear-gradient(90deg, rgb(13, 78, 2) 0%, rgb(35, 172, 77) 50%, rgb(13, 78, 2) 100%);z-index:3}.HamburgerModalWindow .HamburgerModalContainer .HamburgerHeader{display:none}.HamburgerModalWindow .HamburgerModalContainer .HamburgerHeader .Logo{max-width:90%}.HamburgerModalWindow .HamburgerModalContainer .HamburgerHeader .UserProfileWrapper{appearance:none;-webkit-appearance:none;background:none;border:0;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit;display:flex;align-items:center;gap:0.5rem;cursor:pointer;text-decoration:none;width:100%}.HamburgerModalWindow .ModalCloseBtn{position:relative;top:25px;width:30px;height:30px;opacity:1;margin-left:7px;margin-right:9px;cursor:pointer}.HamburgerModalWindow .ModalCloseBtn .NavIcon .Open{width:90vw}.HamburgerModalWindow .ModalCloseBtn svg{width:20px;height:20px;padding:2px}.HamburgerModalWindow .HamburgerPrimaryMenu,.HamburgerModalWindow .HamburgerSecondaryMenu{font-size:12px;display:flex;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));transform-origin:left;transform:scaleX(0);animation:growWidthPercent 0.2s both;animation-delay:0.1s}.HamburgerModalWindow .HamburgerPrimaryMenu li,.HamburgerModalWindow .HamburgerSecondaryMenu li{transition:transform 150ms ease-in-out, opacity 150ms ease-in-out}.HamburgerModalWindow .HamburgerPrimaryMenu img,.HamburgerModalWindow .HamburgerSecondaryMenu img{max-width:40px}.HamburgerModalWindow .HamburgerPrimaryMenu{background:var(--emw--header-color-menu-bg, var(--emw--color-background-secondary, #000000));white-space:nowrap;overflow-x:scroll;list-style:none;width:90vw;text-transform:uppercase;font-size:11px;transition:all 0.2s;height:80px}.HamburgerModalWindow .HamburgerPrimaryMenu>li{max-width:125px;padding:14px 25px;display:inline-block}.HamburgerModalWindow .HamburgerPrimaryMenu>li .ItemButton{appearance:none;-webkit-appearance:none;background:none;border:0;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit;display:block;width:100%;cursor:pointer}.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 .HamburgerPrimaryMenu .HamburgerItemContainer .HamburgerItemTag{display:none;font-size:10px;padding:2px 4px}.HamburgerModalWindow .HamburgerSecondaryMenu{margin-top:10px;list-style:none;height:calc(100% - 124px);overflow:auto;width:90vw;display:flex;flex-direction:column}.HamburgerModalWindow .HamburgerSecondaryMenu.Overlay{opacity:0.5;transition:opacity 0.2s ease-in-out}.HamburgerModalWindow .HamburgerSecondaryMenu li{padding:10px;display:flex;align-items:center;gap:15px;transition:transform 0.2s linear}.HamburgerModalWindow .HamburgerSecondaryMenu li:active{background-color:var(--emw--color-primary);transform:scale(1.1)}.HamburgerModalWindow .HamburgerSecondaryMenu li a{text-decoration:none;display:flex;align-items:center;gap:15px;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));font-size:14px}.HamburgerModalWindow .HamburgerSecondaryMenu li:not(:last-child){border-bottom:1px solid var(--emw--color-gray-300, #58586B)}.HamburgerModalWindow .HamburgerSecondaryMenu li:active a{color:var(--emw--color-primary, #22B04F)}.FlagIcon{margin-left:12px}.NoFlag{width:88%;margin:0 20px}");
4415
+ function ma(e) {
4416
+ jn(e, "svelte-1oaeimo", "*,*::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(var(--emw--color-primary-rgb, 35, 178, 78), 0.2) 0%, transparent 100%)}12%{background:linear-gradient(0deg, rgba(var(--emw--color-primary-rgb, 35, 178, 78), 0.225) 0%, transparent 100%)}25%{background:linear-gradient(0deg, rgba(var(--emw--color-primary-rgb, 35, 178, 78), 0.25) 0%, transparent 100%)}33%{background:linear-gradient(0deg, rgba(var(--emw--color-primary-rgb, 35, 178, 78), 0.275) 0%, transparent 100%)}50%{background:linear-gradient(0deg, rgba(var(--emw--color-primary-rgb, 35, 178, 78), 0.3) 0%, transparent 100%)}63%{background:linear-gradient(0deg, rgba(var(--emw--color-primary-rgb, 35, 178, 78), 0.325) 0%, transparent 100%)}75%{background:linear-gradient(0deg, rgba(var(--emw--color-primary-rgb, 35, 178, 78), 0.35) 0%, transparent 100%)}88%{background:linear-gradient(0deg, rgba(var(--emw--color-primary-rgb, 35, 178, 78), 0.375) 0%, transparent 100%)}100%{background:linear-gradient(0deg, rgba(var(--emw--color-primary-rgb, 35, 178, 78), 0.4) 0%, transparent 100%)}}@keyframes increaseTransparency{0%{opacity:0}25%{opacity:0.25}75%{opacity:0.75}100%{opacity:1}}@keyframes decreaseTransparency{100%{opacity:1}75%{opacity:0.75}25%{opacity:0.25}0%{opacity:0}}@keyframes growWidthPercent{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes growWidth{from{transform:translateY(0)}to{transform:translateY(0)}}@keyframes decreaseWidth{from{transform:translateX(1)}to{transform:translateX(0)}}.NavIcon{width:30px;height:28px;position:relative;margin:3px auto;transform:rotate(0deg);transition:transform 0.2s ease-in-out;cursor:pointer}.NavIcon span{display:block;position:absolute;height:3px;width:100%;background:#ffffff;border-radius:9px;opacity:1;left:0;transform:rotate(0deg);transition:transform 0.2s ease-in-out, opacity 0.2s ease-in-out}.NavIcon span:nth-child(1){top:0px;width:80%}.NavIcon span:nth-child(2){top:9px}.NavIcon span:nth-child(3){top:18px}.NavIcon.Open span:nth-child(1){top:9px;width:100%;transform:rotate(135deg);transition:transform 0.3s ease-in-out}.NavIcon.Open span:nth-child(2){opacity:0;left:-60px}.NavIcon.Open span:nth-child(3){top:9px;transform:rotate(-135deg);transition:transform 0.3s ease-in-out}.SelectedOption{display:flex;align-items:center;justify-content:center}.SelectedOption .TriangleActive,.SelectedOption .TriangleInactive{display:block;margin:0 0 0 10px;transform:rotateX(0deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive svg,.SelectedOption .TriangleInactive svg{margin:-2px 0px;fill:white}.SelectedOption .TriangleActive{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive:hover{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.FlagIcon>img{width:20px;height:14px;margin-right:8px;border-radius:2px}.LanguageSelector{padding:5px 0;margin-bottom:0;display:flex;justify-content:space-between;background:linear-gradient(90deg, rgba(35, 178, 78, 0.9) 0%, rgba(0, 61, 93, 0.9) 100%);transition:transform 0.2s linear;height:44px}.LanguageSelector span{display:inline;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));opacity:0.8;padding:5px 0;display:flex;align-items:center;gap:15px;font-size:14px}.LanguageSelector:active{transition:all 0.2s ease}.LanguageSelector:active span{transition:all 0.1s linear;opacity:1}.LanguageSelector.Open{box-shadow:inset 0 -3.25em 0 0 var(--emw--color-primary)}.LanguageSelector .LanguageSelectorTitle{margin:0 20px}.LanguageSelector .LanguageDropdown{margin-right:16px;display:inline-block}.LanguageSelector .OptionList{position:absolute;background:linear-gradient(90deg, rgba(35, 178, 78, 0.1) 0%, rgba(0, 61, 93, 0.1) 100%);min-width:180px;z-index:1;overflow-y:auto;display:flex;flex-direction:column-reverse;bottom:44px;left:0;gap:5px;padding-bottom:5px;width:100%;height:0px;transition:transform 0.2s linear}.LanguageSelector .OptionList.Open{transition:transform 0.2s linear;height:auto;background-color:var(--emw--color-background-secondary, #000000);overflow:auto}.LanguageSelector .OptionList .LanguageOption{display:flex;border:2px solid #22B04E;border-radius:13px;align-items:center;opacity:0.2;height:0px;background:linear-gradient(90deg, rgba(35, 178, 78, 0.2) 0%, rgba(0, 61, 93, 0.2) 100%);margin:0 5px;transition:transform 0.3s linear}.LanguageSelector .OptionList .LanguageOption.Open{height:50px;opacity:1;padding:10px 5px}.LanguageSelector .OptionList .LanguageOption:active,.LanguageSelector .OptionList .LanguageOption:hover{background:linear-gradient(90deg, rgb(35, 178, 78) 0%, rgb(0, 61, 93) 100%);transform:scale(1.03);transition:transform 0.2s ease-in-out}.LanguageSelector .OptionList .LanguageOption:active span,.LanguageSelector .OptionList .LanguageOption:hover span{color:black}.ItemLanguage{height:34px;width:100%;text-align:left;line-height:34px;background:transparent;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));border:none}.ItemLanguage option{color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.HamburgerModalWindow{display:flex;align-items:flex-start;position:fixed;width:100%;height:100%;z-index:100;z-index:999999;top:0;left:0;background-color:rgba(0, 0, 0, 0.85);animation:increaseTransparency 0.2s ease-in forwards}.HamburgerModalWindow>span{opacity:0}.HamburgerModalWindow .HamburgerModalContainer{max-width:992px;position:relative;background:var(--emw--color-primary);display:flex;flex-direction:column;justify-content:space-between;height:100%;padding:0;border-top:0;border-radius:0;overflow-x:hidden;overflow-y:scroll}.HamburgerModalWindow .HamburgerModalContainer.ActiveHamburgerMenu{animation:growWidth 0.2s forwards;transform-origin:left;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer.Closing{animation:decreaseWidth 0.2s backwards;transform-origin:right;animation-fill-mode:backwards;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer .Separator{width:100%;height:5px;background:rgb(0, 0, 0);background:linear-gradient(90deg, rgb(13, 78, 2) 0%, rgb(35, 172, 77) 50%, rgb(13, 78, 2) 100%);z-index:3}.HamburgerModalWindow .HamburgerModalContainer .HamburgerHeader{display:none}.HamburgerModalWindow .HamburgerModalContainer .HamburgerHeader .Logo{max-width:90%}.HamburgerModalWindow .HamburgerModalContainer .HamburgerHeader .UserProfileWrapper{appearance:none;-webkit-appearance:none;background:none;border:0;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit;display:flex;align-items:center;gap:0.5rem;cursor:pointer;text-decoration:none;width:100%}.HamburgerModalWindow .ModalCloseBtn{position:relative;top:25px;width:30px;height:30px;opacity:1;margin-left:7px;margin-right:9px;cursor:pointer}.HamburgerModalWindow .ModalCloseBtn .NavIcon .Open{width:90vw}.HamburgerModalWindow .ModalCloseBtn svg{width:20px;height:20px;padding:2px}.HamburgerModalWindow .HamburgerPrimaryMenu,.HamburgerModalWindow .HamburgerSecondaryMenu{font-size:12px;display:flex;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));transform-origin:left;transform:scaleX(0);animation:growWidthPercent 0.2s both;animation-delay:0.1s}.HamburgerModalWindow .HamburgerPrimaryMenu li,.HamburgerModalWindow .HamburgerSecondaryMenu li{transition:transform 150ms ease-in-out, opacity 150ms ease-in-out}.HamburgerModalWindow .HamburgerPrimaryMenu img,.HamburgerModalWindow .HamburgerSecondaryMenu img{max-width:40px}.HamburgerModalWindow .HamburgerPrimaryMenu{background:var(--emw--header-color-menu-bg, var(--emw--color-background-secondary, #000000));white-space:nowrap;overflow-x:scroll;list-style:none;width:90vw;text-transform:uppercase;font-size:11px;transition:all 0.2s;height:80px}.HamburgerModalWindow .HamburgerPrimaryMenu>li{max-width:125px;padding:14px 25px;display:inline-block}.HamburgerModalWindow .HamburgerPrimaryMenu>li .ItemButton{appearance:none;-webkit-appearance:none;background:none;border:0;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit;display:block;width:100%;cursor:pointer}.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 .HamburgerPrimaryMenu .HamburgerItemContainer .HamburgerItemTag{display:none;font-size:10px;padding:2px 4px}.HamburgerModalWindow .HamburgerSecondaryMenu{margin-top:10px;list-style:none;height:calc(100% - 124px);overflow:auto;width:90vw;display:flex;flex-direction:column}.HamburgerModalWindow .HamburgerSecondaryMenu.Overlay{opacity:0.5;transition:opacity 0.2s ease-in-out}.HamburgerModalWindow .HamburgerSecondaryMenu li{padding:10px;display:flex;align-items:center;gap:15px;transition:transform 0.2s linear}.HamburgerModalWindow .HamburgerSecondaryMenu li:active{background-color:var(--emw--color-primary);transform:scale(1.1)}.HamburgerModalWindow .HamburgerSecondaryMenu li a{text-decoration:none;display:flex;align-items:center;gap:15px;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));font-size:14px}.HamburgerModalWindow .HamburgerSecondaryMenu li:not(:last-child){border-bottom:1px solid var(--emw--color-gray-300, #58586B)}.HamburgerModalWindow .HamburgerSecondaryMenu li:active a{color:var(--emw--color-primary, #22B04F)}.FlagIcon{margin-left:12px}.NoFlag{width:88%;margin:0 20px}");
4406
4417
  }
4407
- function pr(e, t, r) {
4418
+ function _r(e, t, r) {
4408
4419
  const n = e.slice();
4409
- return n[68] = t[r], n;
4420
+ return n[73] = t[r], n;
4410
4421
  }
4411
- function dr(e, t, r) {
4422
+ function vr(e, t, r) {
4412
4423
  const n = e.slice();
4413
- return n[3] = t[r], n;
4424
+ return n[2] = t[r], n;
4414
4425
  }
4415
- function mr(e, t, r) {
4426
+ function xr(e, t, r) {
4416
4427
  const n = e.slice();
4417
- return n[71] = t[r], n;
4428
+ return n[76] = t[r], n;
4418
4429
  }
4419
- function ua(e, t, r) {
4430
+ function ba(e, t, r) {
4420
4431
  const n = e.slice();
4421
- return n[77] = t[r], n;
4432
+ return n[82] = t[r], n;
4422
4433
  }
4423
- function br(e, t, r) {
4434
+ function Er(e, t, r) {
4424
4435
  const n = e.slice();
4425
- return n[74] = t[r], n;
4436
+ return n[79] = t[r], n;
4426
4437
  }
4427
- const ca = (e) => ({}), yr = (e) => ({});
4428
- function _r(e) {
4429
- let t, r, n, i, o, a, s, u, l, c, h, g, d, m, y, x, E, L, I, V, j, X, z, q, se, D, fe, ge;
4430
- const pe = [fa, ha], W = [];
4431
- function re(_, S) {
4438
+ const ya = (e) => ({}), wr = (e) => ({});
4439
+ function Hr(e) {
4440
+ let t, r, n, i, o, a, s, u, l, c, f, g, d, m, _, x, E, A, N, F, G, Z, z, ie, Q, j, ue, Ae;
4441
+ const pe = [va, _a], V = [];
4442
+ function de(y, O) {
4432
4443
  return (
4433
4444
  /*isLoggedIn*/
4434
- _[16] ? 0 : 1
4445
+ y[15] ? 0 : 1
4435
4446
  );
4436
4447
  }
4437
- i = re(e), o = W[i] = pe[i](e);
4438
- function ne(_, S) {
4448
+ i = de(e), o = V[i] = pe[i](e);
4449
+ function oe(y, O) {
4439
4450
  return (
4440
4451
  /*HamburgerMenuItems*/
4441
- _[6].length > 0 ? da : pa
4452
+ y[5].length > 0 ? wa : Ea
4442
4453
  );
4443
4454
  }
4444
- let Z = ne(e), U = Z(e), J = te(
4455
+ let q = oe(e), k = q(e), X = ne(
4445
4456
  /*activeMenuItemChildren*/
4446
- e[8]
4447
- ), C = [];
4448
- for (let _ = 0; _ < J.length; _ += 1)
4449
- C[_] = Hr(mr(e, J, _));
4450
- let T = (
4457
+ e[7]
4458
+ ), I = [];
4459
+ for (let y = 0; y < X.length; y += 1)
4460
+ I[y] = Ar(xr(e, X, y));
4461
+ let R = (
4451
4462
  /*languagesArray*/
4452
- e[11].length > 1 && Sr(e)
4463
+ e[10].length > 1 && Lr(e)
4453
4464
  );
4454
4465
  return {
4455
4466
  c() {
4456
- t = v("div"), r = v("div"), n = v("div"), o.c(), a = N(), s = v("ul"), U.c(), u = N(), l = v("div"), c = N(), h = v("ul");
4457
- for (let _ = 0; _ < C.length; _ += 1)
4458
- C[_].c();
4459
- d = N(), T && T.c(), y = N(), x = v("span"), E = v("div"), L = v("span"), I = N(), V = v("span"), j = N(), X = v("span"), p(n, "class", "HamburgerHeader"), $t(
4467
+ t = v("div"), r = v("div"), n = v("div"), o.c(), a = C(), s = v("ul"), k.c(), u = C(), l = v("div"), c = C(), f = v("ul");
4468
+ for (let y = 0; y < I.length; y += 1)
4469
+ I[y].c();
4470
+ d = C(), R && R.c(), _ = C(), x = v("span"), E = v("div"), A = v("span"), N = C(), F = v("span"), G = C(), Z = v("span"), p(n, "class", "HamburgerHeader"), Zt(
4460
4471
  n,
4461
4472
  "LoggedIn",
4462
4473
  /*isLoggedIn*/
4463
- e[16]
4464
- ), p(s, "class", "HamburgerPrimaryMenu"), p(l, "class", "Separator"), p(h, "class", g = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
4465
- (e[12] ? "Overlay" : "")), p(r, "class", m = "HamburgerModalContainer " + /*modalIsOpen*/
4466
- (e[9] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
4467
- (e[14] ? "Closing" : "")), p(E, "class", z = "NavIcon " + (/*navIconClosing*/
4468
- e[15] ? "" : "Open")), p(x, "class", q = /*modalIsOpen*/
4469
- e[9] ? "ModalCloseBtn" : ""), p(x, "role", "button"), p(t, "class", se = "HamburgerModalWindow " + /*isClosing*/
4470
- (e[14] ? " Closing" : ""));
4474
+ e[15]
4475
+ ), p(s, "class", "HamburgerPrimaryMenu"), p(l, "class", "Separator"), p(f, "class", g = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
4476
+ (e[11] ? "Overlay" : "")), p(r, "class", m = "HamburgerModalContainer " + /*modalIsOpen*/
4477
+ (e[8] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
4478
+ (e[13] ? "Closing" : "")), p(E, "class", z = "NavIcon " + (/*navIconClosing*/
4479
+ e[14] ? "" : "Open")), p(x, "class", ie = /*modalIsOpen*/
4480
+ e[8] ? "ModalCloseBtn" : ""), p(x, "role", "button"), p(t, "class", Q = "HamburgerModalWindow " + /*isClosing*/
4481
+ (e[13] ? " Closing" : ""));
4471
4482
  },
4472
- m(_, S) {
4473
- B(_, t, S), b(t, r), b(r, n), W[i].m(n, null), b(r, a), b(r, s), U.m(s, null), b(r, u), b(r, l), b(r, c), b(r, h);
4474
- for (let R = 0; R < C.length; R += 1)
4475
- C[R] && C[R].m(h, null);
4476
- b(r, d), T && T.m(r, null), b(t, y), b(t, x), b(x, E), b(E, L), b(E, I), b(E, V), b(E, j), b(E, X), e[47](t), D = !0, fe || (ge = oe(
4483
+ m(y, O) {
4484
+ P(y, t, O), b(t, r), b(r, n), V[i].m(n, null), b(r, a), b(r, s), k.m(s, null), b(r, u), b(r, l), b(r, c), b(r, f);
4485
+ for (let $ = 0; $ < I.length; $ += 1)
4486
+ I[$] && I[$].m(f, null);
4487
+ b(r, d), R && R.m(r, null), b(t, _), b(t, x), b(x, E), b(E, A), b(E, N), b(E, F), b(E, G), b(E, Z), e[50](t), j = !0, ue || (Ae = se(
4477
4488
  x,
4478
4489
  "click",
4479
4490
  /*close*/
4480
- e[19]
4481
- ), fe = !0);
4491
+ e[20]
4492
+ ), ue = !0);
4482
4493
  },
4483
- p(_, S) {
4484
- let R = i;
4485
- if (i = re(_), i === R ? W[i].p(_, S) : (Cr(), Pe(W[R], 1, 1, () => {
4486
- W[R] = null;
4487
- }), Nr(), o = W[i], o ? o.p(_, S) : (o = W[i] = pe[i](_), o.c()), ue(o, 1), o.m(n, null)), (!D || S[0] & /*isLoggedIn*/
4488
- 65536) && $t(
4494
+ p(y, O) {
4495
+ let $ = i;
4496
+ if (i = de(y), i === $ ? V[i].p(y, O) : (Dr(), Be(V[$], 1, 1, () => {
4497
+ V[$] = null;
4498
+ }), Fr(), o = V[i], o ? o.p(y, O) : (o = V[i] = pe[i](y), o.c()), he(o, 1), o.m(n, null)), (!j || O[0] & /*isLoggedIn*/
4499
+ 32768) && Zt(
4489
4500
  n,
4490
4501
  "LoggedIn",
4491
4502
  /*isLoggedIn*/
4492
- _[16]
4493
- ), Z === (Z = ne(_)) && U ? U.p(_, S) : (U.d(1), U = Z(_), U && (U.c(), U.m(s, null))), S[0] & /*handleClick, activeMenuItemChildren*/
4494
- 2097408) {
4495
- J = te(
4503
+ y[15]
4504
+ ), q === (q = oe(y)) && k ? k.p(y, O) : (k.d(1), k = q(y), k && (k.c(), k.m(s, null))), O[0] & /*handleClick, activeMenuItemChildren*/
4505
+ 4194432) {
4506
+ X = ne(
4496
4507
  /*activeMenuItemChildren*/
4497
- _[8]
4508
+ y[7]
4498
4509
  );
4499
- let G;
4500
- for (G = 0; G < J.length; G += 1) {
4501
- const de = mr(_, J, G);
4502
- C[G] ? C[G].p(de, S) : (C[G] = Hr(de), C[G].c(), C[G].m(h, null));
4510
+ let U;
4511
+ for (U = 0; U < X.length; U += 1) {
4512
+ const me = xr(y, X, U);
4513
+ I[U] ? I[U].p(me, O) : (I[U] = Ar(me), I[U].c(), I[U].m(f, null));
4503
4514
  }
4504
- for (; G < C.length; G += 1)
4505
- C[G].d(1);
4506
- C.length = J.length;
4515
+ for (; U < I.length; U += 1)
4516
+ I[U].d(1);
4517
+ I.length = X.length;
4507
4518
  }
4508
- (!D || S[0] & /*isOptionsListVisible*/
4509
- 4096 && g !== (g = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
4510
- (_[12] ? "Overlay" : ""))) && p(h, "class", g), /*languagesArray*/
4511
- _[11].length > 1 ? T ? T.p(_, S) : (T = Sr(_), T.c(), T.m(r, null)) : T && (T.d(1), T = null), (!D || S[0] & /*modalIsOpen, isClosing*/
4512
- 16896 && m !== (m = "HamburgerModalContainer " + /*modalIsOpen*/
4513
- (_[9] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
4514
- (_[14] ? "Closing" : ""))) && p(r, "class", m), (!D || S[0] & /*navIconClosing*/
4515
- 32768 && z !== (z = "NavIcon " + (/*navIconClosing*/
4516
- _[15] ? "" : "Open"))) && p(E, "class", z), (!D || S[0] & /*modalIsOpen*/
4517
- 512 && q !== (q = /*modalIsOpen*/
4518
- _[9] ? "ModalCloseBtn" : "")) && p(x, "class", q), (!D || S[0] & /*isClosing*/
4519
- 16384 && se !== (se = "HamburgerModalWindow " + /*isClosing*/
4520
- (_[14] ? " Closing" : ""))) && p(t, "class", se);
4519
+ (!j || O[0] & /*isOptionsListVisible*/
4520
+ 2048 && g !== (g = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
4521
+ (y[11] ? "Overlay" : ""))) && p(f, "class", g), /*languagesArray*/
4522
+ y[10].length > 1 ? R ? R.p(y, O) : (R = Lr(y), R.c(), R.m(r, null)) : R && (R.d(1), R = null), (!j || O[0] & /*modalIsOpen, isClosing*/
4523
+ 8448 && m !== (m = "HamburgerModalContainer " + /*modalIsOpen*/
4524
+ (y[8] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
4525
+ (y[13] ? "Closing" : ""))) && p(r, "class", m), (!j || O[0] & /*navIconClosing*/
4526
+ 16384 && z !== (z = "NavIcon " + (/*navIconClosing*/
4527
+ y[14] ? "" : "Open"))) && p(E, "class", z), (!j || O[0] & /*modalIsOpen*/
4528
+ 256 && ie !== (ie = /*modalIsOpen*/
4529
+ y[8] ? "ModalCloseBtn" : "")) && p(x, "class", ie), (!j || O[0] & /*isClosing*/
4530
+ 8192 && Q !== (Q = "HamburgerModalWindow " + /*isClosing*/
4531
+ (y[13] ? " Closing" : ""))) && p(t, "class", Q);
4521
4532
  },
4522
- i(_) {
4523
- D || (ue(o), D = !0);
4533
+ i(y) {
4534
+ j || (he(o), j = !0);
4524
4535
  },
4525
- o(_) {
4526
- Pe(o), D = !1;
4536
+ o(y) {
4537
+ Be(o), j = !1;
4527
4538
  },
4528
- d(_) {
4529
- _ && P(t), W[i].d(), U.d(), Ce(C, _), T && T.d(), e[47](null), fe = !1, ge();
4539
+ d(y) {
4540
+ y && L(t), V[i].d(), k.d(), Re(I, y), R && R.d(), e[50](null), ue = !1, Ae();
4530
4541
  }
4531
4542
  };
4532
4543
  }
4533
- function ha(e) {
4544
+ function _a(e) {
4534
4545
  let t, r;
4535
4546
  const n = (
4536
4547
  /*#slots*/
4537
- e[41].logo
4538
- ), i = Pn(
4548
+ e[44].logo
4549
+ ), i = Un(
4539
4550
  n,
4540
4551
  e,
4541
4552
  /*$$scope*/
4542
- e[40],
4543
- yr
4544
- ), o = i || ga(e);
4553
+ e[43],
4554
+ wr
4555
+ ), o = i || xa(e);
4545
4556
  return {
4546
4557
  c() {
4547
4558
  t = v("div"), o && o.c(), p(t, "class", "Logo");
4548
4559
  },
4549
4560
  m(a, s) {
4550
- B(a, t, s), o && o.m(t, null), r = !0;
4561
+ P(a, t, s), o && o.m(t, null), r = !0;
4551
4562
  },
4552
4563
  p(a, s) {
4553
4564
  i ? i.p && (!r || s[1] & /*$$scope*/
4554
- 512) && In(
4565
+ 4096) && Fn(
4555
4566
  i,
4556
4567
  n,
4557
4568
  a,
4558
4569
  /*$$scope*/
4559
- a[40],
4560
- r ? Bn(
4570
+ a[43],
4571
+ r ? Dn(
4561
4572
  n,
4562
4573
  /*$$scope*/
4563
- a[40],
4574
+ a[43],
4564
4575
  s,
4565
- ca
4566
- ) : Cn(
4576
+ ya
4577
+ ) : Gn(
4567
4578
  /*$$scope*/
4568
- a[40]
4579
+ a[43]
4569
4580
  ),
4570
- yr
4581
+ wr
4571
4582
  ) : o && o.p && (!r || s[0] & /*customlogourl*/
4572
- 4) && o.p(a, r ? s : [-1, -1, -1]);
4583
+ 2) && o.p(a, r ? s : [-1, -1, -1]);
4573
4584
  },
4574
4585
  i(a) {
4575
- r || (ue(o, a), r = !0);
4586
+ r || (he(o, a), r = !0);
4576
4587
  },
4577
4588
  o(a) {
4578
- Pe(o, a), r = !1;
4589
+ Be(o, a), r = !1;
4579
4590
  },
4580
4591
  d(a) {
4581
- a && P(t), o && o.d(a);
4592
+ a && L(t), o && o.d(a);
4582
4593
  }
4583
4594
  };
4584
4595
  }
4585
- function fa(e) {
4586
- let t, r, n, i, o, a, s, u, l;
4596
+ function va(e) {
4597
+ let t, r, n, i, o = (
4598
+ /*username*/
4599
+ (e[17] || /*playerID*/
4600
+ e[16]) + ""
4601
+ ), a, s, u, l;
4587
4602
  return {
4588
4603
  c() {
4589
- t = v("button"), r = v("span"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 16.429"><g transform="translate(-8 -4)"><path class="a" d="M15.5,4a3.75,3.75,0,1,0,3.75,3.75A3.761,3.761,0,0,0,15.5,4Zm0,1.429A2.321,2.321,0,1,1,13.179,7.75,2.311,2.311,0,0,1,15.5,5.429Zm0,6.429A7.7,7.7,0,0,0,8,19.714a.714.714,0,0,0,.714.714H22.286A.714.714,0,0,0,23,19.714,7.7,7.7,0,0,0,15.5,11.857Zm0,1.429A6.18,6.18,0,0,1,21.5,19H9.5A6.18,6.18,0,0,1,15.5,13.286Z" transform="translate(0 0)"></path></g></svg>', n = N(), i = v("span"), o = Q("Hello, player "), a = Q(
4590
- /*userid*/
4591
- e[0]
4592
- ), p(r, "class", "UserIcon"), p(r, "aria-hidden", "true"), p(i, "class", "UserFullName"), p(i, "title", s = `Hello, player ${/*userid*/
4593
- e[0]}`), p(t, "type", "button"), p(t, "class", "UserProfileWrapper");
4604
+ t = v("button"), r = v("span"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 16.429"><g transform="translate(-8 -4)"><path class="a" d="M15.5,4a3.75,3.75,0,1,0,3.75,3.75A3.761,3.761,0,0,0,15.5,4Zm0,1.429A2.321,2.321,0,1,1,13.179,7.75,2.311,2.311,0,0,1,15.5,5.429Zm0,6.429A7.7,7.7,0,0,0,8,19.714a.714.714,0,0,0,.714.714H22.286A.714.714,0,0,0,23,19.714,7.7,7.7,0,0,0,15.5,11.857Zm0,1.429A6.18,6.18,0,0,1,21.5,19H9.5A6.18,6.18,0,0,1,15.5,13.286Z" transform="translate(0 0)"></path></g></svg>', n = C(), i = v("span"), a = K(o), p(r, "class", "UserIcon"), p(r, "aria-hidden", "true"), p(i, "class", "UserFullName"), p(i, "title", s = `${/*username*/
4605
+ e[17] || /*playerID*/
4606
+ e[16]}`), p(
4607
+ i,
4608
+ "data-username",
4609
+ /*username*/
4610
+ e[17]
4611
+ ), p(
4612
+ i,
4613
+ "data-playerid",
4614
+ /*playerID*/
4615
+ e[16]
4616
+ ), p(t, "type", "button"), p(t, "class", "UserProfileWrapper");
4594
4617
  },
4595
- m(c, h) {
4596
- B(c, t, h), b(t, r), b(t, n), b(t, i), b(i, o), b(i, a), u || (l = oe(
4618
+ m(c, f) {
4619
+ P(c, t, f), b(t, r), b(t, n), b(t, i), b(i, a), u || (l = se(
4597
4620
  t,
4598
4621
  "click",
4599
4622
  /*goToMyAccount*/
4600
- e[26]
4623
+ e[27]
4601
4624
  ), u = !0);
4602
4625
  },
4603
- p(c, h) {
4604
- h[0] & /*userid*/
4605
- 1 && ae(
4606
- a,
4607
- /*userid*/
4608
- c[0]
4609
- ), h[0] & /*userid*/
4610
- 1 && s !== (s = `Hello, player ${/*userid*/
4611
- c[0]}`) && p(i, "title", s);
4626
+ p(c, f) {
4627
+ f[0] & /*username, playerID*/
4628
+ 196608 && o !== (o = /*username*/
4629
+ (c[17] || /*playerID*/
4630
+ c[16]) + "") && le(a, o), f[0] & /*username, playerID*/
4631
+ 196608 && s !== (s = `${/*username*/
4632
+ c[17] || /*playerID*/
4633
+ c[16]}`) && p(i, "title", s), f[0] & /*username*/
4634
+ 131072 && p(
4635
+ i,
4636
+ "data-username",
4637
+ /*username*/
4638
+ c[17]
4639
+ ), f[0] & /*playerID*/
4640
+ 65536 && p(
4641
+ i,
4642
+ "data-playerid",
4643
+ /*playerID*/
4644
+ c[16]
4645
+ );
4612
4646
  },
4613
- i: $,
4614
- o: $,
4647
+ i: W,
4648
+ o: W,
4615
4649
  d(c) {
4616
- c && P(t), u = !1, l();
4650
+ c && L(t), u = !1, l();
4617
4651
  }
4618
4652
  };
4619
4653
  }
4620
- function ga(e) {
4654
+ function xa(e) {
4621
4655
  let t, r, n;
4622
4656
  return {
4623
4657
  c() {
4624
- t = v("img"), K(t.src, r = /*customlogourl*/
4625
- e[2]) || p(t, "src", r), p(t, "alt", n = `Logo ${/*customlogourl*/
4626
- e[2]}`);
4658
+ t = v("img"), Y(t.src, r = /*customlogourl*/
4659
+ e[1]) || p(t, "src", r), p(t, "alt", n = `Logo ${/*customlogourl*/
4660
+ e[1]}`);
4627
4661
  },
4628
4662
  m(i, o) {
4629
- B(i, t, o);
4663
+ P(i, t, o);
4630
4664
  },
4631
4665
  p(i, o) {
4632
4666
  o[0] & /*customlogourl*/
4633
- 4 && !K(t.src, r = /*customlogourl*/
4634
- i[2]) && p(t, "src", r), o[0] & /*customlogourl*/
4635
- 4 && n !== (n = `Logo ${/*customlogourl*/
4636
- i[2]}`) && p(t, "alt", n);
4667
+ 2 && !Y(t.src, r = /*customlogourl*/
4668
+ i[1]) && p(t, "src", r), o[0] & /*customlogourl*/
4669
+ 2 && n !== (n = `Logo ${/*customlogourl*/
4670
+ i[1]}`) && p(t, "alt", n);
4637
4671
  },
4638
4672
  d(i) {
4639
- i && P(t);
4673
+ i && L(t);
4640
4674
  }
4641
4675
  };
4642
4676
  }
4643
- function pa(e) {
4644
- let t, r = te(new Array(5)), n = [];
4677
+ function Ea(e) {
4678
+ let t, r = ne(new Array(5)), n = [];
4645
4679
  for (let i = 0; i < r.length; i += 1)
4646
- n[i] = ma(ua(e, r, i));
4680
+ n[i] = Ha(ba(e, r, i));
4647
4681
  return {
4648
4682
  c() {
4649
4683
  for (let i = 0; i < n.length; i += 1)
4650
4684
  n[i].c();
4651
- t = Ir();
4685
+ t = Ur();
4652
4686
  },
4653
4687
  m(i, o) {
4654
4688
  for (let a = 0; a < n.length; a += 1)
4655
4689
  n[a] && n[a].m(i, o);
4656
- B(i, t, o);
4690
+ P(i, t, o);
4657
4691
  },
4658
- p: $,
4692
+ p: W,
4659
4693
  d(i) {
4660
- i && P(t), Ce(n, i);
4694
+ i && L(t), Re(n, i);
4661
4695
  }
4662
4696
  };
4663
4697
  }
4664
- function da(e) {
4665
- let t, r = te(
4698
+ function wa(e) {
4699
+ let t, r = ne(
4666
4700
  /*HamburgerMenuItems*/
4667
- e[6]
4701
+ e[5]
4668
4702
  ), n = [];
4669
4703
  for (let i = 0; i < r.length; i += 1)
4670
- n[i] = Er(br(e, r, i));
4704
+ n[i] = Or(Er(e, r, i));
4671
4705
  return {
4672
4706
  c() {
4673
4707
  for (let i = 0; i < n.length; i += 1)
4674
4708
  n[i].c();
4675
- t = Ir();
4709
+ t = Ur();
4676
4710
  },
4677
4711
  m(i, o) {
4678
4712
  for (let a = 0; a < n.length; a += 1)
4679
4713
  n[a] && n[a].m(i, o);
4680
- B(i, t, o);
4714
+ P(i, t, o);
4681
4715
  },
4682
4716
  p(i, o) {
4683
4717
  if (o[0] & /*activeMenuItemId, HamburgerMenuItems, handlePrimaryMenuClick*/
4684
- 1048768) {
4685
- r = te(
4718
+ 2097248) {
4719
+ r = ne(
4686
4720
  /*HamburgerMenuItems*/
4687
- i[6]
4721
+ i[5]
4688
4722
  );
4689
4723
  let a;
4690
4724
  for (a = 0; a < r.length; a += 1) {
4691
- const s = br(i, r, a);
4692
- n[a] ? n[a].p(s, o) : (n[a] = Er(s), n[a].c(), n[a].m(t.parentNode, t));
4725
+ const s = Er(i, r, a);
4726
+ n[a] ? n[a].p(s, o) : (n[a] = Or(s), n[a].c(), n[a].m(t.parentNode, t));
4693
4727
  }
4694
4728
  for (; a < n.length; a += 1)
4695
4729
  n[a].d(1);
@@ -4697,482 +4731,482 @@ function da(e) {
4697
4731
  }
4698
4732
  },
4699
4733
  d(i) {
4700
- i && P(t), Ce(n, i);
4734
+ i && L(t), Re(n, i);
4701
4735
  }
4702
4736
  };
4703
4737
  }
4704
- function ma(e) {
4738
+ function Ha(e) {
4705
4739
  let t;
4706
4740
  return {
4707
4741
  c() {
4708
4742
  t = v("div"), t.innerHTML = "", p(t, "class", "Loading Skeleton");
4709
4743
  },
4710
4744
  m(r, n) {
4711
- B(r, t, n);
4745
+ P(r, t, n);
4712
4746
  },
4713
- p: $,
4747
+ p: W,
4714
4748
  d(r) {
4715
- r && P(t);
4749
+ r && L(t);
4716
4750
  }
4717
4751
  };
4718
4752
  }
4719
- function vr(e) {
4753
+ function Sr(e) {
4720
4754
  let t, r;
4721
4755
  return {
4722
4756
  c() {
4723
- t = v("img"), K(t.src, r = /*mainItem*/
4724
- e[74].img) || p(t, "src", r), p(t, "alt", "menu icon");
4757
+ t = v("img"), Y(t.src, r = /*mainItem*/
4758
+ e[79].img) || p(t, "src", r), p(t, "alt", "menu icon");
4725
4759
  },
4726
4760
  m(n, i) {
4727
- B(n, t, i);
4761
+ P(n, t, i);
4728
4762
  },
4729
4763
  p(n, i) {
4730
4764
  i[0] & /*HamburgerMenuItems*/
4731
- 64 && !K(t.src, r = /*mainItem*/
4732
- n[74].img) && p(t, "src", r);
4765
+ 32 && !Y(t.src, r = /*mainItem*/
4766
+ n[79].img) && p(t, "src", r);
4733
4767
  },
4734
4768
  d(n) {
4735
- n && P(t);
4769
+ n && L(t);
4736
4770
  }
4737
4771
  };
4738
4772
  }
4739
- function xr(e) {
4773
+ function Tr(e) {
4740
4774
  let t, r = (
4741
4775
  /*mainItem*/
4742
- e[74].tag + ""
4776
+ e[79].tag + ""
4743
4777
  ), n, i;
4744
4778
  return {
4745
4779
  c() {
4746
- t = v("span"), n = Q(r), p(t, "title", i = /*mainItem*/
4747
- e[74].tag), p(t, "class", "HamburgerItemTag");
4780
+ t = v("span"), n = K(r), p(t, "title", i = /*mainItem*/
4781
+ e[79].tag), p(t, "class", "HamburgerItemTag");
4748
4782
  },
4749
4783
  m(o, a) {
4750
- B(o, t, a), b(t, n);
4784
+ P(o, t, a), b(t, n);
4751
4785
  },
4752
4786
  p(o, a) {
4753
4787
  a[0] & /*HamburgerMenuItems*/
4754
- 64 && r !== (r = /*mainItem*/
4755
- o[74].tag + "") && ae(n, r), a[0] & /*HamburgerMenuItems*/
4756
- 64 && i !== (i = /*mainItem*/
4757
- o[74].tag) && p(t, "title", i);
4788
+ 32 && r !== (r = /*mainItem*/
4789
+ o[79].tag + "") && le(n, r), a[0] & /*HamburgerMenuItems*/
4790
+ 32 && i !== (i = /*mainItem*/
4791
+ o[79].tag) && p(t, "title", i);
4758
4792
  },
4759
4793
  d(o) {
4760
- o && P(t);
4794
+ o && L(t);
4761
4795
  }
4762
4796
  };
4763
4797
  }
4764
- function Er(e) {
4798
+ function Or(e) {
4765
4799
  let t, r, n, i, o, a = (
4766
4800
  /*mainItem*/
4767
- e[74].label + ""
4768
- ), s, u, l, c, h, g, d = (
4801
+ e[79].label + ""
4802
+ ), s, u, l, c, f, g, d = (
4769
4803
  /*mainItem*/
4770
- e[74]?.img && vr(e)
4804
+ e[79]?.img && Sr(e)
4771
4805
  ), m = (
4772
4806
  /*mainItem*/
4773
- e[74]?.tag && xr(e)
4807
+ e[79]?.tag && Tr(e)
4774
4808
  );
4775
- function y() {
4809
+ function _() {
4776
4810
  return (
4777
4811
  /*click_handler*/
4778
- e[42](
4812
+ e[45](
4779
4813
  /*mainItem*/
4780
- e[74]
4814
+ e[79]
4781
4815
  )
4782
4816
  );
4783
4817
  }
4784
4818
  return {
4785
4819
  c() {
4786
- t = v("li"), r = v("button"), n = v("div"), d && d.c(), i = N(), o = v("p"), s = Q(a), u = N(), m && m.c(), l = N(), p(n, "class", "HamburgerItemContainer"), p(r, "type", "button"), p(r, "class", "ItemButton"), p(t, "class", c = /*activeMenuItemId*/
4787
- e[7] === /*mainItem*/
4788
- e[74].id ? "ActiveItem" : "");
4820
+ t = v("li"), r = v("button"), n = v("div"), d && d.c(), i = C(), o = v("p"), s = K(a), u = C(), m && m.c(), l = C(), p(n, "class", "HamburgerItemContainer"), p(r, "type", "button"), p(r, "class", "ItemButton"), p(t, "class", c = /*activeMenuItemId*/
4821
+ e[6] === /*mainItem*/
4822
+ e[79].id ? "ActiveItem" : "");
4789
4823
  },
4790
4824
  m(x, E) {
4791
- B(x, t, E), b(t, r), b(r, n), d && d.m(n, null), b(n, i), b(n, o), b(o, s), b(n, u), m && m.m(n, null), b(t, l), h || (g = oe(r, "click", y), h = !0);
4825
+ P(x, t, E), b(t, r), b(r, n), d && d.m(n, null), b(n, i), b(n, o), b(o, s), b(n, u), m && m.m(n, null), b(t, l), f || (g = se(r, "click", _), f = !0);
4792
4826
  },
4793
4827
  p(x, E) {
4794
4828
  e = x, /*mainItem*/
4795
- e[74]?.img ? d ? d.p(e, E) : (d = vr(e), d.c(), d.m(n, i)) : d && (d.d(1), d = null), E[0] & /*HamburgerMenuItems*/
4796
- 64 && a !== (a = /*mainItem*/
4797
- e[74].label + "") && ae(s, a), /*mainItem*/
4798
- e[74]?.tag ? m ? m.p(e, E) : (m = xr(e), m.c(), m.m(n, null)) : m && (m.d(1), m = null), E[0] & /*activeMenuItemId, HamburgerMenuItems*/
4799
- 192 && c !== (c = /*activeMenuItemId*/
4800
- e[7] === /*mainItem*/
4801
- e[74].id ? "ActiveItem" : "") && p(t, "class", c);
4829
+ e[79]?.img ? d ? d.p(e, E) : (d = Sr(e), d.c(), d.m(n, i)) : d && (d.d(1), d = null), E[0] & /*HamburgerMenuItems*/
4830
+ 32 && a !== (a = /*mainItem*/
4831
+ e[79].label + "") && le(s, a), /*mainItem*/
4832
+ e[79]?.tag ? m ? m.p(e, E) : (m = Tr(e), m.c(), m.m(n, null)) : m && (m.d(1), m = null), E[0] & /*activeMenuItemId, HamburgerMenuItems*/
4833
+ 96 && c !== (c = /*activeMenuItemId*/
4834
+ e[6] === /*mainItem*/
4835
+ e[79].id ? "ActiveItem" : "") && p(t, "class", c);
4802
4836
  },
4803
4837
  d(x) {
4804
- x && P(t), d && d.d(), m && m.d(), h = !1, g();
4838
+ x && L(t), d && d.d(), m && m.d(), f = !1, g();
4805
4839
  }
4806
4840
  };
4807
4841
  }
4808
- function wr(e) {
4842
+ function Mr(e) {
4809
4843
  let t, r;
4810
4844
  return {
4811
4845
  c() {
4812
- t = v("img"), K(t.src, r = /*secondaryItem*/
4813
- e[71].img) || p(t, "src", r), p(t, "alt", "menu icon");
4846
+ t = v("img"), Y(t.src, r = /*secondaryItem*/
4847
+ e[76].img) || p(t, "src", r), p(t, "alt", "menu icon");
4814
4848
  },
4815
4849
  m(n, i) {
4816
- B(n, t, i);
4850
+ P(n, t, i);
4817
4851
  },
4818
4852
  p(n, i) {
4819
4853
  i[0] & /*activeMenuItemChildren*/
4820
- 256 && !K(t.src, r = /*secondaryItem*/
4821
- n[71].img) && p(t, "src", r);
4854
+ 128 && !Y(t.src, r = /*secondaryItem*/
4855
+ n[76].img) && p(t, "src", r);
4822
4856
  },
4823
4857
  d(n) {
4824
- n && P(t);
4858
+ n && L(t);
4825
4859
  }
4826
4860
  };
4827
4861
  }
4828
- function Hr(e) {
4862
+ function Ar(e) {
4829
4863
  let t, r, n, i = (
4830
4864
  /*secondaryItem*/
4831
- e[71].label + ""
4865
+ e[76].label + ""
4832
4866
  ), o, a, s, u, l = (
4833
4867
  /*secondaryItem*/
4834
- e[71]?.img && wr(e)
4868
+ e[76]?.img && Mr(e)
4835
4869
  );
4836
- function c(...h) {
4870
+ function c(...f) {
4837
4871
  return (
4838
4872
  /*click_handler_1*/
4839
- e[43](
4873
+ e[46](
4840
4874
  /*secondaryItem*/
4841
- e[71],
4842
- ...h
4875
+ e[76],
4876
+ ...f
4843
4877
  )
4844
4878
  );
4845
4879
  }
4846
4880
  return {
4847
4881
  c() {
4848
- t = v("li"), l && l.c(), r = N(), n = v("p"), o = Q(i), a = N();
4882
+ t = v("li"), l && l.c(), r = C(), n = v("p"), o = K(i), a = C();
4849
4883
  },
4850
- m(h, g) {
4851
- B(h, t, g), l && l.m(t, null), b(t, r), b(t, n), b(n, o), b(t, a), s || (u = oe(t, "click", c), s = !0);
4884
+ m(f, g) {
4885
+ P(f, t, g), l && l.m(t, null), b(t, r), b(t, n), b(n, o), b(t, a), s || (u = se(t, "click", c), s = !0);
4852
4886
  },
4853
- p(h, g) {
4854
- e = h, /*secondaryItem*/
4855
- e[71]?.img ? l ? l.p(e, g) : (l = wr(e), l.c(), l.m(t, r)) : l && (l.d(1), l = null), g[0] & /*activeMenuItemChildren*/
4856
- 256 && i !== (i = /*secondaryItem*/
4857
- e[71].label + "") && ae(o, i);
4887
+ p(f, g) {
4888
+ e = f, /*secondaryItem*/
4889
+ e[76]?.img ? l ? l.p(e, g) : (l = Mr(e), l.c(), l.m(t, r)) : l && (l.d(1), l = null), g[0] & /*activeMenuItemChildren*/
4890
+ 128 && i !== (i = /*secondaryItem*/
4891
+ e[76].label + "") && le(o, i);
4858
4892
  },
4859
- d(h) {
4860
- h && P(t), l && l.d(), s = !1, u();
4893
+ d(f) {
4894
+ f && L(t), l && l.d(), s = !1, u();
4861
4895
  }
4862
4896
  };
4863
4897
  }
4864
- function Sr(e) {
4898
+ function Lr(e) {
4865
4899
  let t, r, n = (
4866
4900
  /*$_*/
4867
- e[18]("language") + ""
4901
+ e[19]("language") + ""
4868
4902
  ), i, o, a, s, u;
4869
4903
  function l(g, d) {
4870
4904
  return (
4871
4905
  /*countryflaghamburger*/
4872
- g[1] !== "true" ? ya : ba
4906
+ g[0] !== "true" ? Ta : Sa
4873
4907
  );
4874
4908
  }
4875
- let c = l(e), h = c(e);
4909
+ let c = l(e), f = c(e);
4876
4910
  return {
4877
4911
  c() {
4878
- t = v("div"), r = v("span"), i = Q(n), o = N(), h.c(), p(r, "class", "LanguageSelectorTitle"), p(t, "class", a = "LanguageSelector " + /*isOptionsListVisible*/
4879
- (e[12] ? "Open" : ""));
4912
+ t = v("div"), r = v("span"), i = K(n), o = C(), f.c(), p(r, "class", "LanguageSelectorTitle"), p(t, "class", a = "LanguageSelector " + /*isOptionsListVisible*/
4913
+ (e[11] ? "Open" : ""));
4880
4914
  },
4881
4915
  m(g, d) {
4882
- B(g, t, d), b(t, r), b(r, i), b(t, o), h.m(t, null), s || (u = oe(
4916
+ P(g, t, d), b(t, r), b(r, i), b(t, o), f.m(t, null), s || (u = se(
4883
4917
  t,
4884
4918
  "click",
4885
4919
  /*toggleLanguageDropdown*/
4886
- e[24]
4920
+ e[25]
4887
4921
  ), s = !0);
4888
4922
  },
4889
4923
  p(g, d) {
4890
4924
  d[0] & /*$_*/
4891
- 262144 && n !== (n = /*$_*/
4892
- g[18]("language") + "") && ae(i, n), c === (c = l(g)) && h ? h.p(g, d) : (h.d(1), h = c(g), h && (h.c(), h.m(t, null))), d[0] & /*isOptionsListVisible*/
4893
- 4096 && a !== (a = "LanguageSelector " + /*isOptionsListVisible*/
4894
- (g[12] ? "Open" : "")) && p(t, "class", a);
4925
+ 524288 && n !== (n = /*$_*/
4926
+ g[19]("language") + "") && le(i, n), c === (c = l(g)) && f ? f.p(g, d) : (f.d(1), f = c(g), f && (f.c(), f.m(t, null))), d[0] & /*isOptionsListVisible*/
4927
+ 2048 && a !== (a = "LanguageSelector " + /*isOptionsListVisible*/
4928
+ (g[11] ? "Open" : "")) && p(t, "class", a);
4895
4929
  },
4896
4930
  d(g) {
4897
- g && P(t), h.d(), s = !1, u();
4931
+ g && L(t), f.d(), s = !1, u();
4898
4932
  }
4899
4933
  };
4900
4934
  }
4901
- function ba(e) {
4935
+ function Sa(e) {
4902
4936
  let t, r, n, i, o, a, s, u = (
4903
4937
  /*selectedLanguage*/
4904
- e[17].slice(-2) + ""
4905
- ), l, c, h, g, d, m, y, x = (
4938
+ e[18].slice(-2) + ""
4939
+ ), l, c, f, g, d, m, _, x = (
4906
4940
  /*isOptionsListVisible*/
4907
- e[12] && Tr(e)
4941
+ e[11] && Pr(e)
4908
4942
  );
4909
4943
  return {
4910
4944
  c() {
4911
- t = v("div"), r = v("div"), n = v("span"), i = v("img"), a = N(), s = v("span"), l = Q(u), c = N(), h = v("span"), g = Dt("svg"), d = Dt("path"), y = N(), x && x.c(), K(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4912
- e[25](
4945
+ t = v("div"), r = v("div"), n = v("span"), i = v("img"), a = C(), s = v("span"), l = K(u), c = C(), f = v("span"), g = Vt("svg"), d = Vt("path"), _ = C(), x && x.c(), Y(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4946
+ e[26](
4913
4947
  /*selectedLanguage*/
4914
- e[17]
4915
- )}.svg`) || p(i, "src", o), p(n, "class", "FlagIcon"), p(s, "class", "LanguageName"), p(d, "id", "arrow"), p(d, "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"), p(d, "transform", "translate(-274.511 -441.088)"), p(d, "fill", "#d1d1d1"), p(g, "xmlns", "http://www.w3.org/2000/svg"), p(g, "width", "14"), p(g, "height", "6.835"), p(g, "viewBox", "0 0 14 6.835"), p(h, "class", m = "TriangleInactive " + /*isOptionsListVisible*/
4916
- (e[12] ? "TriangleActive" : "")), p(r, "class", "SelectedOption Item ItemLanguage"), p(t, "class", "LanguageDropdown");
4948
+ e[18]
4949
+ )}.svg`) || p(i, "src", o), p(n, "class", "FlagIcon"), p(s, "class", "LanguageName"), p(d, "id", "arrow"), p(d, "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"), p(d, "transform", "translate(-274.511 -441.088)"), p(d, "fill", "#d1d1d1"), p(g, "xmlns", "http://www.w3.org/2000/svg"), p(g, "width", "14"), p(g, "height", "6.835"), p(g, "viewBox", "0 0 14 6.835"), p(f, "class", m = "TriangleInactive " + /*isOptionsListVisible*/
4950
+ (e[11] ? "TriangleActive" : "")), p(r, "class", "SelectedOption Item ItemLanguage"), p(t, "class", "LanguageDropdown");
4917
4951
  },
4918
- m(E, L) {
4919
- B(E, t, L), 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, g), b(g, d), b(t, y), x && x.m(t, null);
4952
+ m(E, A) {
4953
+ P(E, t, A), b(t, r), b(r, n), b(n, i), b(r, a), b(r, s), b(s, l), b(r, c), b(r, f), b(f, g), b(g, d), b(t, _), x && x.m(t, null);
4920
4954
  },
4921
- p(E, L) {
4922
- L[0] & /*selectedLanguage, languagesArray*/
4923
- 133120 && !K(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4924
- E[25](
4955
+ p(E, A) {
4956
+ A[0] & /*selectedLanguage, languagesArray*/
4957
+ 263168 && !Y(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4958
+ E[26](
4925
4959
  /*selectedLanguage*/
4926
- E[17]
4927
- )}.svg`) && p(i, "src", o), L[0] & /*selectedLanguage*/
4928
- 131072 && u !== (u = /*selectedLanguage*/
4929
- E[17].slice(-2) + "") && ae(l, u), L[0] & /*isOptionsListVisible*/
4930
- 4096 && m !== (m = "TriangleInactive " + /*isOptionsListVisible*/
4931
- (E[12] ? "TriangleActive" : "")) && p(h, "class", m), /*isOptionsListVisible*/
4932
- E[12] ? x ? x.p(E, L) : (x = Tr(E), x.c(), x.m(t, null)) : x && (x.d(1), x = null);
4960
+ E[18]
4961
+ )}.svg`) && p(i, "src", o), A[0] & /*selectedLanguage*/
4962
+ 262144 && u !== (u = /*selectedLanguage*/
4963
+ E[18].slice(-2) + "") && le(l, u), A[0] & /*isOptionsListVisible*/
4964
+ 2048 && m !== (m = "TriangleInactive " + /*isOptionsListVisible*/
4965
+ (E[11] ? "TriangleActive" : "")) && p(f, "class", m), /*isOptionsListVisible*/
4966
+ E[11] ? x ? x.p(E, A) : (x = Pr(E), x.c(), x.m(t, null)) : x && (x.d(1), x = null);
4933
4967
  },
4934
4968
  d(E) {
4935
- E && P(t), x && x.d();
4969
+ E && L(t), x && x.d();
4936
4970
  }
4937
4971
  };
4938
4972
  }
4939
- function ya(e) {
4940
- let t, r, n, i = te(
4973
+ function Ta(e) {
4974
+ let t, r, n, i = ne(
4941
4975
  /*languagesArray*/
4942
- e[11]
4976
+ e[10]
4943
4977
  ), o = [];
4944
4978
  for (let a = 0; a < i.length; a += 1)
4945
- o[a] = Mr(dr(e, i, a));
4979
+ o[a] = Br(vr(e, i, a));
4946
4980
  return {
4947
4981
  c() {
4948
4982
  t = v("select");
4949
4983
  for (let a = 0; a < o.length; a += 1)
4950
4984
  o[a].c();
4951
4985
  p(t, "class", "Item ItemLanguage NoFlag"), /*selectedLanguage*/
4952
- e[17] === void 0 && Xe(() => (
4986
+ e[18] === void 0 && Ze(() => (
4953
4987
  /*select_change_handler*/
4954
- e[44].call(t)
4988
+ e[47].call(t)
4955
4989
  ));
4956
4990
  },
4957
4991
  m(a, s) {
4958
- B(a, t, s);
4992
+ P(a, t, s);
4959
4993
  for (let u = 0; u < o.length; u += 1)
4960
4994
  o[u] && o[u].m(t, null);
4961
- jt(
4995
+ zt(
4962
4996
  t,
4963
4997
  /*selectedLanguage*/
4964
- e[17],
4998
+ e[18],
4965
4999
  !0
4966
5000
  ), r || (n = [
4967
- oe(
5001
+ se(
4968
5002
  t,
4969
5003
  "change",
4970
5004
  /*select_change_handler*/
4971
- e[44]
5005
+ e[47]
4972
5006
  ),
4973
- oe(
5007
+ se(
4974
5008
  t,
4975
5009
  "change",
4976
5010
  /*change_handler*/
4977
- e[45]
5011
+ e[48]
4978
5012
  )
4979
5013
  ], r = !0);
4980
5014
  },
4981
5015
  p(a, s) {
4982
5016
  if (s[0] & /*languagesArray*/
4983
- 2048) {
4984
- i = te(
5017
+ 1024) {
5018
+ i = ne(
4985
5019
  /*languagesArray*/
4986
- a[11]
5020
+ a[10]
4987
5021
  );
4988
5022
  let u;
4989
5023
  for (u = 0; u < i.length; u += 1) {
4990
- const l = dr(a, i, u);
4991
- o[u] ? o[u].p(l, s) : (o[u] = Mr(l), o[u].c(), o[u].m(t, null));
5024
+ const l = vr(a, i, u);
5025
+ o[u] ? o[u].p(l, s) : (o[u] = Br(l), o[u].c(), o[u].m(t, null));
4992
5026
  }
4993
5027
  for (; u < o.length; u += 1)
4994
5028
  o[u].d(1);
4995
5029
  o.length = i.length;
4996
5030
  }
4997
5031
  s[0] & /*selectedLanguage, languagesArray*/
4998
- 133120 && jt(
5032
+ 263168 && zt(
4999
5033
  t,
5000
5034
  /*selectedLanguage*/
5001
- a[17]
5035
+ a[18]
5002
5036
  );
5003
5037
  },
5004
5038
  d(a) {
5005
- a && P(t), Ce(o, a), r = !1, ce(n);
5039
+ a && L(t), Re(o, a), r = !1, fe(n);
5006
5040
  }
5007
5041
  };
5008
5042
  }
5009
- function Tr(e) {
5010
- let t, r, n = te(
5043
+ function Pr(e) {
5044
+ let t, r, n = ne(
5011
5045
  /*languagesArray*/
5012
- e[11]
5046
+ e[10]
5013
5047
  ), i = [];
5014
5048
  for (let o = 0; o < n.length; o += 1)
5015
- i[o] = Or(pr(e, n, o));
5049
+ i[o] = Ir(_r(e, n, o));
5016
5050
  return {
5017
5051
  c() {
5018
5052
  t = v("div");
5019
5053
  for (let o = 0; o < i.length; o += 1)
5020
5054
  i[o].c();
5021
5055
  p(t, "class", r = "OptionList " + /*languageListOpen*/
5022
- (e[13] ? "Open" : ""));
5056
+ (e[12] ? "Open" : ""));
5023
5057
  },
5024
5058
  m(o, a) {
5025
- B(o, t, a);
5059
+ P(o, t, a);
5026
5060
  for (let s = 0; s < i.length; s += 1)
5027
5061
  i[s] && i[s].m(t, null);
5028
5062
  },
5029
5063
  p(o, a) {
5030
5064
  if (a[0] & /*languageListOpen, selectLanguage, languagesArray, determineFlag*/
5031
- 41953280) {
5032
- n = te(
5065
+ 83891200) {
5066
+ n = ne(
5033
5067
  /*languagesArray*/
5034
- o[11]
5068
+ o[10]
5035
5069
  );
5036
5070
  let s;
5037
5071
  for (s = 0; s < n.length; s += 1) {
5038
- const u = pr(o, n, s);
5039
- i[s] ? i[s].p(u, a) : (i[s] = Or(u), i[s].c(), i[s].m(t, null));
5072
+ const u = _r(o, n, s);
5073
+ i[s] ? i[s].p(u, a) : (i[s] = Ir(u), i[s].c(), i[s].m(t, null));
5040
5074
  }
5041
5075
  for (; s < i.length; s += 1)
5042
5076
  i[s].d(1);
5043
5077
  i.length = n.length;
5044
5078
  }
5045
5079
  a[0] & /*languageListOpen*/
5046
- 8192 && r !== (r = "OptionList " + /*languageListOpen*/
5047
- (o[13] ? "Open" : "")) && p(t, "class", r);
5080
+ 4096 && r !== (r = "OptionList " + /*languageListOpen*/
5081
+ (o[12] ? "Open" : "")) && p(t, "class", r);
5048
5082
  },
5049
5083
  d(o) {
5050
- o && P(t), Ce(i, o);
5084
+ o && L(t), Re(i, o);
5051
5085
  }
5052
5086
  };
5053
5087
  }
5054
- function Or(e) {
5088
+ function Ir(e) {
5055
5089
  let t, r, n, i, o, a, s = (
5056
5090
  /*operatorLanguage*/
5057
- e[68] + ""
5058
- ), u, l, c, h, g;
5091
+ e[73] + ""
5092
+ ), u, l, c, f, g;
5059
5093
  function d() {
5060
5094
  return (
5061
5095
  /*click_handler_2*/
5062
- e[46](
5096
+ e[49](
5063
5097
  /*operatorLanguage*/
5064
- e[68]
5098
+ e[73]
5065
5099
  )
5066
5100
  );
5067
5101
  }
5068
5102
  return {
5069
5103
  c() {
5070
- t = v("div"), r = v("span"), n = v("img"), o = N(), a = v("span"), u = Q(s), l = N(), K(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
5071
- e[25](
5104
+ t = v("div"), r = v("span"), n = v("img"), o = C(), a = v("span"), u = K(s), l = C(), Y(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
5105
+ e[26](
5072
5106
  /*operatorLanguage*/
5073
- e[68]
5107
+ e[73]
5074
5108
  )}.svg`) || p(n, "src", i), p(r, "class", "FlagIcon"), p(a, "class", "LanguageName"), p(t, "class", c = "LanguageOption " + /*languageListOpen*/
5075
- (e[13] ? "Open" : ""));
5109
+ (e[12] ? "Open" : ""));
5076
5110
  },
5077
- m(m, y) {
5078
- B(m, t, y), b(t, r), b(r, n), b(t, o), b(t, a), b(a, u), b(t, l), h || (g = oe(t, "click", d), h = !0);
5111
+ m(m, _) {
5112
+ P(m, t, _), b(t, r), b(r, n), b(t, o), b(t, a), b(a, u), b(t, l), f || (g = se(t, "click", d), f = !0);
5079
5113
  },
5080
- p(m, y) {
5081
- e = m, y[0] & /*languagesArray*/
5082
- 2048 && !K(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
5083
- e[25](
5114
+ p(m, _) {
5115
+ e = m, _[0] & /*languagesArray*/
5116
+ 1024 && !Y(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
5117
+ e[26](
5084
5118
  /*operatorLanguage*/
5085
- e[68]
5086
- )}.svg`) && p(n, "src", i), y[0] & /*languagesArray*/
5087
- 2048 && s !== (s = /*operatorLanguage*/
5088
- e[68] + "") && ae(u, s), y[0] & /*languageListOpen*/
5089
- 8192 && c !== (c = "LanguageOption " + /*languageListOpen*/
5090
- (e[13] ? "Open" : "")) && p(t, "class", c);
5119
+ e[73]
5120
+ )}.svg`) && p(n, "src", i), _[0] & /*languagesArray*/
5121
+ 1024 && s !== (s = /*operatorLanguage*/
5122
+ e[73] + "") && le(u, s), _[0] & /*languageListOpen*/
5123
+ 4096 && c !== (c = "LanguageOption " + /*languageListOpen*/
5124
+ (e[12] ? "Open" : "")) && p(t, "class", c);
5091
5125
  },
5092
5126
  d(m) {
5093
- m && P(t), h = !1, g();
5127
+ m && L(t), f = !1, g();
5094
5128
  }
5095
5129
  };
5096
5130
  }
5097
- function Mr(e) {
5131
+ function Br(e) {
5098
5132
  let t, r = (
5099
5133
  /*lang*/
5100
- e[3].slice(-2) + ""
5134
+ e[2].slice(-2) + ""
5101
5135
  ), n, i;
5102
5136
  return {
5103
5137
  c() {
5104
- t = v("option"), n = Q(r), t.__value = i = /*lang*/
5105
- e[3], Gt(t, t.__value), t.selected = !0;
5138
+ t = v("option"), n = K(r), t.__value = i = /*lang*/
5139
+ e[2], Xt(t, t.__value), t.selected = !0;
5106
5140
  },
5107
5141
  m(o, a) {
5108
- B(o, t, a), b(t, n);
5142
+ P(o, t, a), b(t, n);
5109
5143
  },
5110
5144
  p(o, a) {
5111
5145
  a[0] & /*languagesArray*/
5112
- 2048 && r !== (r = /*lang*/
5113
- o[3].slice(-2) + "") && ae(n, r), a[0] & /*languagesArray*/
5114
- 2048 && i !== (i = /*lang*/
5115
- o[3]) && (t.__value = i, Gt(t, t.__value));
5146
+ 1024 && r !== (r = /*lang*/
5147
+ o[2].slice(-2) + "") && le(n, r), a[0] & /*languagesArray*/
5148
+ 1024 && i !== (i = /*lang*/
5149
+ o[2]) && (t.__value = i, Xt(t, t.__value));
5116
5150
  },
5117
5151
  d(o) {
5118
- o && P(t);
5152
+ o && L(t);
5119
5153
  }
5120
5154
  };
5121
5155
  }
5122
- function _a(e) {
5156
+ function Oa(e) {
5123
5157
  let t, r, n = (
5124
5158
  /*show*/
5125
- e[10] === !0 && _r(e)
5159
+ e[9] === !0 && Hr(e)
5126
5160
  );
5127
5161
  return {
5128
5162
  c() {
5129
5163
  t = v("div"), n && n.c();
5130
5164
  },
5131
5165
  m(i, o) {
5132
- B(i, t, o), n && n.m(t, null), e[48](t), r = !0;
5166
+ P(i, t, o), n && n.m(t, null), e[51](t), r = !0;
5133
5167
  },
5134
5168
  p(i, o) {
5135
5169
  /*show*/
5136
- i[10] === !0 ? n ? (n.p(i, o), o[0] & /*show*/
5137
- 1024 && ue(n, 1)) : (n = _r(i), n.c(), ue(n, 1), n.m(t, null)) : n && (Cr(), Pe(n, 1, 1, () => {
5170
+ i[9] === !0 ? n ? (n.p(i, o), o[0] & /*show*/
5171
+ 512 && he(n, 1)) : (n = Hr(i), n.c(), he(n, 1), n.m(t, null)) : n && (Dr(), Be(n, 1, 1, () => {
5138
5172
  n = null;
5139
- }), Nr());
5173
+ }), Fr());
5140
5174
  },
5141
5175
  i(i) {
5142
- r || (ue(n), r = !0);
5176
+ r || (he(n), r = !0);
5143
5177
  },
5144
5178
  o(i) {
5145
- Pe(n), r = !1;
5179
+ Be(n), r = !1;
5146
5180
  },
5147
5181
  d(i) {
5148
- i && P(t), n && n.d(), e[48](null);
5182
+ i && L(t), n && n.d(), e[51](null);
5149
5183
  }
5150
5184
  };
5151
5185
  }
5152
- function va(e, t, r) {
5186
+ function Ma(e, t, r) {
5153
5187
  let n;
5154
- Ln(e, ra, (f) => r(18, n = f));
5155
- let { $$slots: i = {}, $$scope: o } = t, { menuitemsurl: a = "" } = t, { session: s = "" } = t, { userid: u = "" } = t, { cmsendpoint: l } = t, { cmsenv: c = "stage" } = t, { userroles: h } = t, { lang: g = "en" } = t, { activecategory: d = "" } = t, { languageslist: m = "" } = t, { translationurl: y = "" } = t, { mbsource: x } = t, { clientstyling: E = "" } = t, { clientstylingurl: L = "" } = t, { customlocaleidentifier: I = "" } = t, { countryflaghamburger: V = "" } = t, { customlogourl: j } = t, X, z = window.navigator.userAgent, q = [], se, D = "", fe = [], ge = !1, pe = !1, W = !0, re = [], ne = !1, Z = !1, U = !1, J = !1, C = !0, T, _ = !1, S = "", R;
5156
- const G = () => {
5157
- fetch(y).then((f) => f.json()).then((f) => {
5158
- Object.keys(f).forEach((O) => {
5159
- fr(O, f[O]);
5188
+ kn(e, ua, (h) => r(19, n = h));
5189
+ let { $$slots: i = {}, $$scope: o } = t, { menuitemsurl: a = "" } = t, { session: s = "" } = t, { userid: u = "" } = t, { cmsendpoint: l } = t, { endpoint: c } = t, { cmsenv: f = "stage" } = t, { userroles: g } = t, { lang: d = "en" } = t, { activecategory: m = "" } = t, { languageslist: _ = "" } = t, { translationurl: x = "" } = t, { mbsource: E } = t, { clientstyling: A = "" } = t, { clientstylingurl: N = "" } = t, { customlocaleidentifier: F = "" } = t, { countryflaghamburger: G = "" } = t, { customlogourl: Z } = t, z, ie = window.navigator.userAgent, Q = [], j, ue = "", Ae = [], pe = !1, V = !1, de = !0, oe = [], q = !1, k = !1, X = !1, I = !1, R = !0, y, O = !1, $ = null, U = null, me = "", ee = "", te;
5190
+ const vn = () => {
5191
+ fetch(x).then((h) => h.json()).then((h) => {
5192
+ Object.keys(h).forEach((S) => {
5193
+ br(S, h[S]);
5160
5194
  });
5161
- }).catch((f) => {
5162
- console.log(f);
5195
+ }).catch((h) => {
5196
+ console.log(h);
5163
5197
  });
5164
5198
  };
5165
- Object.keys(gr).forEach((f) => {
5166
- fr(f, gr[f]);
5199
+ Object.keys(yr).forEach((h) => {
5200
+ br(h, yr[h]);
5167
5201
  });
5168
- const de = () => {
5169
- T = new URL(`${l}/${S.toLowerCase()}/hamburger-menu`);
5170
- let f = na(z);
5171
- f && (f === "PC" ? T.searchParams.append("device", "dk") : T.searchParams.append("device", "mtWeb")), T.searchParams.append("env", c), T.searchParams.append("language", S.toLowerCase()), T.searchParams.append("userRoles", h);
5172
- }, rt = () => {
5173
- r(14, J = !0), r(15, C = !0), r(12, Z = !1), r(13, U = !1), setTimeout(
5202
+ const it = () => {
5203
+ y = new URL(`${l}/${ee.toLowerCase()}/hamburger-menu`);
5204
+ let h = ca(ie);
5205
+ h && (h === "PC" ? y.searchParams.append("device", "dk") : y.searchParams.append("device", "mtWeb")), y.searchParams.append("env", f), y.searchParams.append("language", ee.toLowerCase()), y.searchParams.append("userRoles", g);
5206
+ }, ot = () => {
5207
+ r(13, I = !0), r(14, R = !0), r(11, k = !1), r(12, X = !1), setTimeout(
5174
5208
  () => {
5175
- r(10, pe = !1), r(9, ge = !1);
5209
+ r(9, V = !1), r(8, pe = !1);
5176
5210
  },
5177
5211
  200
5178
5212
  ), window.postMessage(
@@ -5182,380 +5216,408 @@ function va(e, t, r) {
5182
5216
  },
5183
5217
  window.location.href
5184
5218
  );
5185
- }, It = (f) => {
5186
- if (!(!f || !f.data || typeof f.data != "object" || !("type" in f.data)))
5187
- switch (f.data.type) {
5219
+ }, xn = (h) => {
5220
+ r(17, me = h.Username), r(16, $ = h.UserID), r(15, O = !0);
5221
+ }, Rt = () => {
5222
+ r(15, O = !1), U = null, r(16, $ = null), r(17, me = "");
5223
+ }, kt = async (h) => {
5224
+ if (!h) {
5225
+ Rt();
5226
+ return;
5227
+ }
5228
+ try {
5229
+ const S = await ha(c, h);
5230
+ xn({
5231
+ Username: S.Username,
5232
+ UserID: S.UserID
5233
+ });
5234
+ } catch (S) {
5235
+ console.error("Error while checking the session:", S), Rt();
5236
+ }
5237
+ }, Ut = (h) => {
5238
+ if (!(!h || !h.data || typeof h.data != "object" || !("type" in h.data)))
5239
+ switch (h.data.type) {
5188
5240
  case "OpenHamburgerMenuModal": {
5189
- window.postMessage({ type: "DisableScroll" }, window.location.href), r(14, J = !1), setTimeout(
5241
+ window.postMessage({ type: "DisableScroll" }, window.location.href), r(13, I = !1), setTimeout(
5190
5242
  () => {
5191
- r(15, C = !1);
5243
+ r(14, R = !1);
5192
5244
  },
5193
5245
  125
5194
- ), r(10, pe = !0), r(9, ge = !0), de(), Rt(T);
5246
+ ), r(9, V = !0), r(8, pe = !0), it(), Gt(y);
5195
5247
  break;
5196
5248
  }
5197
5249
  case "LanguageChanged": {
5198
- ne = !0, de(), Rt(T);
5250
+ q = !0, it(), Gt(y);
5199
5251
  break;
5200
5252
  }
5201
5253
  case "UserSessionID":
5202
- f.data.userid, f.data.session, r(16, _ = !0);
5254
+ r(16, $ = h.data.userid), U = h.data.session, r(15, O = !0), kt(U);
5203
5255
  break;
5204
5256
  case "LogoutSuccessfull":
5205
- r(16, _ = !1);
5257
+ r(15, O = !1);
5206
5258
  break;
5207
5259
  }
5208
- }, nt = (f, O) => {
5209
- r(7, D = f), r(8, fe = O || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
5260
+ }, at = (h, S) => {
5261
+ r(6, ue = h), r(7, Ae = S || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
5210
5262
  context: "HamburgerMenu",
5211
- menuItem: `${D}`
5263
+ menuItem: `${ue}`
5212
5264
  });
5213
- }, Ct = (f) => {
5214
- const O = f?.children?.length > 0, me = f?.path && f?.keyword?.includes("InternalLink");
5215
- !O && me && it(f), nt(f.id, f.children);
5216
- }, Nt = () => {
5217
- let f = q.filter((O) => {
5218
- let me = !1;
5219
- return O.children?.forEach((On) => {
5220
- On.path.includes(d) && (me = !0);
5221
- }), me;
5265
+ }, Dt = (h) => {
5266
+ const S = h?.children?.length > 0, be = h?.path && h?.keyword?.includes("InternalLink");
5267
+ !S && be && st(h), at(h.id, h.children);
5268
+ }, Ft = () => {
5269
+ let h = Q.filter((S) => {
5270
+ let be = !1;
5271
+ return S.children?.forEach((Cn) => {
5272
+ Cn.path.includes(m) && (be = !0);
5273
+ }), be;
5222
5274
  });
5223
- f.length > 0 ? nt(f[0].id, f[0].children) : nt(q[0].id, q[0].children);
5224
- }, Rt = (f) => {
5225
- se && !ne || kt(f);
5226
- }, kt = (f) => {
5227
- fetch(f).then((O) => O.json()).then(
5228
- (O) => {
5229
- r(6, q = O.filter((me) => me?.type !== "banner")), Nt(), r(39, W = !1), se = O, ne = !1;
5275
+ h.length > 0 ? at(h[0].id, h[0].children) : at(Q[0].id, Q[0].children);
5276
+ }, Gt = (h) => {
5277
+ j && !q || jt(h);
5278
+ }, jt = (h) => {
5279
+ fetch(h).then((S) => S.json()).then(
5280
+ (S) => {
5281
+ r(5, Q = S.filter((be) => be?.type !== "banner")), Ft(), r(42, de = !1), j = S, q = !1;
5230
5282
  },
5231
- (O) => {
5232
- console.error(O);
5283
+ (S) => {
5284
+ console.error(S);
5233
5285
  }
5234
5286
  );
5235
5287
  };
5236
- let it = (f) => {
5288
+ let st = (h) => {
5237
5289
  window.postMessage(
5238
5290
  {
5239
5291
  type: "NavigateTo",
5240
- path: f.path,
5241
- externalLink: f.externalLink || !1,
5242
- target: f.attrs.target || null
5292
+ path: h.path,
5293
+ externalLink: h.externalLink || !1,
5294
+ target: h.attrs.target || null
5243
5295
  },
5244
5296
  window.location.href
5245
- ), rt();
5297
+ ), ot();
5246
5298
  };
5247
- const ot = () => {
5248
- ne = !0, window.postMessage(
5299
+ const lt = () => {
5300
+ q = !0, window.postMessage(
5249
5301
  {
5250
5302
  type: "LanguageChanged",
5251
- selectedLanguage: S
5303
+ selectedLanguage: ee
5252
5304
  },
5253
5305
  window.location.href
5254
5306
  );
5255
- }, dn = () => {
5256
- sa(g), de(), ne && kt(T), r(11, re = m.replace(/ /g, "").split(",")), r(11, re = re.map((f) => f.toUpperCase())), r(17, S = g.toUpperCase());
5257
- }, Ut = (f) => {
5258
- r(17, S = f), setTimeout(
5307
+ }, En = () => {
5308
+ da(d), it(), q && jt(y), r(10, oe = _.replace(/ /g, "").split(",")), r(10, oe = oe.map((h) => h.toUpperCase())), r(18, ee = d.toUpperCase());
5309
+ }, $t = (h) => {
5310
+ r(18, ee = h), setTimeout(
5259
5311
  () => {
5260
- r(13, U = !1);
5312
+ r(12, X = !1);
5261
5313
  },
5262
5314
  250
5263
5315
  ), setTimeout(
5264
5316
  () => {
5265
- r(12, Z = !1);
5317
+ r(11, k = !1);
5266
5318
  },
5267
5319
  500
5268
- ), ot();
5269
- }, mn = () => {
5270
- Z ? (setTimeout(
5320
+ ), lt();
5321
+ }, wn = () => {
5322
+ k ? (setTimeout(
5271
5323
  () => {
5272
- r(12, Z = !1);
5324
+ r(11, k = !1);
5273
5325
  },
5274
5326
  250
5275
- ), r(13, U = !1)) : (r(12, Z = !0), setTimeout(
5327
+ ), r(12, X = !1)) : (r(11, k = !0), setTimeout(
5276
5328
  () => {
5277
- r(13, U = !0);
5329
+ r(12, X = !0);
5278
5330
  },
5279
5331
  300
5280
5332
  ));
5281
- }, bn = (f) => {
5282
- let O = f ? f.slice(-2) : S.slice(-2);
5283
- return I && (O = I.includes(O.toLowerCase()) ? I.slice(-2) : O), O == "EN" ? "GB" : O.toUpperCase();
5284
- }, yn = () => {
5285
- r(16, _ = !0);
5286
- }, _n = () => {
5333
+ }, Hn = (h) => {
5334
+ let S = h ? h.slice(-2) : ee.slice(-2);
5335
+ return F && (S = F.includes(S.toLowerCase()) ? F.slice(-2) : S), S == "EN" ? "GB" : S.toUpperCase();
5336
+ }, Sn = () => {
5337
+ r(15, O = !0), U = s;
5338
+ }, Tn = () => {
5287
5339
  window.postMessage(
5288
5340
  {
5289
5341
  type: "PlayerAccountMenuActive",
5290
- isMobile: hr(z)
5342
+ isMobile: mr(ie)
5291
5343
  },
5292
5344
  window.location.href
5293
- ), rt(), typeof gtag == "function" && gtag("event", "GoToMyAccount", { context: "HamburgerMenu" });
5345
+ ), ot(), typeof gtag == "function" && gtag("event", "GoToMyAccount", { context: "HamburgerMenu" });
5294
5346
  };
5295
- jn(() => (window.addEventListener("message", It, !1), hr(z), () => {
5296
- window.removeEventListener("message", It);
5347
+ Qn(() => (window.addEventListener("message", Ut, !1), mr(ie), () => {
5348
+ window.removeEventListener("message", Ut);
5297
5349
  }));
5298
- const vn = (f) => Ct(f), xn = (f, O) => {
5299
- it(f), O.preventDefault();
5350
+ const On = (h) => Dt(h), Mn = (h, S) => {
5351
+ st(h), S.preventDefault();
5300
5352
  };
5301
- function En() {
5302
- S = Fn(this), r(17, S), r(11, re);
5353
+ function An() {
5354
+ ee = Xn(this), r(18, ee), r(10, oe);
5303
5355
  }
5304
- const wn = () => ot(), Hn = (f) => Ut(f);
5305
- function Sn(f) {
5306
- Ve[f ? "unshift" : "push"](() => {
5307
- X = f, r(5, X);
5356
+ const Ln = () => lt(), Pn = (h) => $t(h);
5357
+ function In(h) {
5358
+ ze[h ? "unshift" : "push"](() => {
5359
+ z = h, r(4, z);
5308
5360
  });
5309
5361
  }
5310
- function Tn(f) {
5311
- Ve[f ? "unshift" : "push"](() => {
5312
- R = f, r(4, R);
5362
+ function Bn(h) {
5363
+ ze[h ? "unshift" : "push"](() => {
5364
+ te = h, r(3, te);
5313
5365
  });
5314
5366
  }
5315
- return e.$$set = (f) => {
5316
- "menuitemsurl" in f && r(27, a = f.menuitemsurl), "session" in f && r(28, s = f.session), "userid" in f && r(0, u = f.userid), "cmsendpoint" in f && r(29, l = f.cmsendpoint), "cmsenv" in f && r(30, c = f.cmsenv), "userroles" in f && r(31, h = f.userroles), "lang" in f && r(3, g = f.lang), "activecategory" in f && r(32, d = f.activecategory), "languageslist" in f && r(33, m = f.languageslist), "translationurl" in f && r(34, y = f.translationurl), "mbsource" in f && r(35, x = f.mbsource), "clientstyling" in f && r(36, E = f.clientstyling), "clientstylingurl" in f && r(37, L = f.clientstylingurl), "customlocaleidentifier" in f && r(38, I = f.customlocaleidentifier), "countryflaghamburger" in f && r(1, V = f.countryflaghamburger), "customlogourl" in f && r(2, j = f.customlogourl), "$$scope" in f && r(40, o = f.$$scope);
5367
+ return e.$$set = (h) => {
5368
+ "menuitemsurl" in h && r(28, a = h.menuitemsurl), "session" in h && r(29, s = h.session), "userid" in h && r(30, u = h.userid), "cmsendpoint" in h && r(31, l = h.cmsendpoint), "endpoint" in h && r(32, c = h.endpoint), "cmsenv" in h && r(33, f = h.cmsenv), "userroles" in h && r(34, g = h.userroles), "lang" in h && r(2, d = h.lang), "activecategory" in h && r(35, m = h.activecategory), "languageslist" in h && r(36, _ = h.languageslist), "translationurl" in h && r(37, x = h.translationurl), "mbsource" in h && r(38, E = h.mbsource), "clientstyling" in h && r(39, A = h.clientstyling), "clientstylingurl" in h && r(40, N = h.clientstylingurl), "customlocaleidentifier" in h && r(41, F = h.customlocaleidentifier), "countryflaghamburger" in h && r(0, G = h.countryflaghamburger), "customlogourl" in h && r(1, Z = h.customlogourl), "$$scope" in h && r(43, o = h.$$scope);
5317
5369
  }, e.$$.update = () => {
5318
- e.$$.dirty[0] & /*cmsendpoint, cmsenv, lang*/
5319
- 1610612744 | e.$$.dirty[1] & /*languageslist*/
5320
- 4 && l && c && g && m && dn(), e.$$.dirty[1] & /*activecategory, isLoading*/
5321
- 258 && d && !W && Nt(), e.$$.dirty[1] & /*translationurl*/
5322
- 8 && y && G(), e.$$.dirty[0] & /*session*/
5323
- 268435456 && s && yn(), e.$$.dirty[0] & /*customStylingContainer*/
5324
- 16 | e.$$.dirty[1] & /*clientstyling*/
5325
- 32 && E && R && ia(R, E), e.$$.dirty[0] & /*customStylingContainer*/
5326
- 16 | e.$$.dirty[1] & /*clientstylingurl*/
5327
- 64 && L && R && oa(R, L), e.$$.dirty[0] & /*customStylingContainer*/
5328
- 16 | e.$$.dirty[1] & /*mbsource*/
5329
- 16 && x && R && aa(R, `${x}.Style`);
5370
+ e.$$.dirty[0] & /*lang*/
5371
+ 4 | e.$$.dirty[1] & /*cmsendpoint, cmsenv, languageslist*/
5372
+ 37 && l && f && d && _ && En(), e.$$.dirty[1] & /*activecategory, isLoading*/
5373
+ 2064 && m && !de && Ft(), e.$$.dirty[1] & /*translationurl*/
5374
+ 64 && x && vn(), e.$$.dirty[0] & /*session*/
5375
+ 536870912 && s && (Sn(), kt(s)), e.$$.dirty[0] & /*customStylingContainer*/
5376
+ 8 | e.$$.dirty[1] & /*clientstyling*/
5377
+ 256 && A && te && fa(te, A), e.$$.dirty[0] & /*customStylingContainer*/
5378
+ 8 | e.$$.dirty[1] & /*clientstylingurl*/
5379
+ 512 && N && te && ga(te, N), e.$$.dirty[0] & /*customStylingContainer*/
5380
+ 8 | e.$$.dirty[1] & /*mbsource*/
5381
+ 128 && E && te && pa(te, `${E}.Style`);
5330
5382
  }, [
5331
- u,
5383
+ G,
5384
+ Z,
5385
+ d,
5386
+ te,
5387
+ z,
5388
+ Q,
5389
+ ue,
5390
+ Ae,
5391
+ pe,
5332
5392
  V,
5333
- j,
5334
- g,
5335
- R,
5393
+ oe,
5394
+ k,
5336
5395
  X,
5337
- q,
5338
- D,
5339
- fe,
5340
- ge,
5341
- pe,
5342
- re,
5343
- Z,
5344
- U,
5345
- J,
5346
- C,
5347
- _,
5348
- S,
5396
+ I,
5397
+ R,
5398
+ O,
5399
+ $,
5400
+ me,
5401
+ ee,
5349
5402
  n,
5350
- rt,
5351
- Ct,
5352
- it,
5353
5403
  ot,
5354
- Ut,
5355
- mn,
5356
- bn,
5357
- _n,
5404
+ Dt,
5405
+ st,
5406
+ lt,
5407
+ $t,
5408
+ wn,
5409
+ Hn,
5410
+ Tn,
5358
5411
  a,
5359
5412
  s,
5413
+ u,
5360
5414
  l,
5361
5415
  c,
5362
- h,
5363
- d,
5416
+ f,
5417
+ g,
5364
5418
  m,
5365
- y,
5419
+ _,
5366
5420
  x,
5367
5421
  E,
5368
- L,
5369
- I,
5370
- W,
5422
+ A,
5423
+ N,
5424
+ F,
5425
+ de,
5371
5426
  o,
5372
5427
  i,
5373
- vn,
5374
- xn,
5375
- En,
5376
- wn,
5377
- Hn,
5378
- Sn,
5379
- Tn
5428
+ On,
5429
+ Mn,
5430
+ An,
5431
+ Ln,
5432
+ Pn,
5433
+ In,
5434
+ Bn
5380
5435
  ];
5381
5436
  }
5382
- class pn extends Yn {
5437
+ class _n extends oi {
5383
5438
  constructor(t) {
5384
- super(), qn(
5439
+ super(), ni(
5385
5440
  this,
5386
5441
  t,
5387
- va,
5388
- _a,
5389
- Lr,
5442
+ Ma,
5443
+ Oa,
5444
+ Nr,
5390
5445
  {
5391
- menuitemsurl: 27,
5392
- session: 28,
5393
- userid: 0,
5394
- cmsendpoint: 29,
5395
- cmsenv: 30,
5396
- userroles: 31,
5397
- lang: 3,
5398
- activecategory: 32,
5399
- languageslist: 33,
5400
- translationurl: 34,
5401
- mbsource: 35,
5402
- clientstyling: 36,
5403
- clientstylingurl: 37,
5404
- customlocaleidentifier: 38,
5405
- countryflaghamburger: 1,
5406
- customlogourl: 2
5446
+ menuitemsurl: 28,
5447
+ session: 29,
5448
+ userid: 30,
5449
+ cmsendpoint: 31,
5450
+ endpoint: 32,
5451
+ cmsenv: 33,
5452
+ userroles: 34,
5453
+ lang: 2,
5454
+ activecategory: 35,
5455
+ languageslist: 36,
5456
+ translationurl: 37,
5457
+ mbsource: 38,
5458
+ clientstyling: 39,
5459
+ clientstylingurl: 40,
5460
+ customlocaleidentifier: 41,
5461
+ countryflaghamburger: 0,
5462
+ customlogourl: 1
5407
5463
  },
5408
- la,
5464
+ ma,
5409
5465
  [-1, -1, -1]
5410
5466
  );
5411
5467
  }
5412
5468
  get menuitemsurl() {
5413
- return this.$$.ctx[27];
5469
+ return this.$$.ctx[28];
5414
5470
  }
5415
5471
  set menuitemsurl(t) {
5416
- this.$$set({ menuitemsurl: t }), k();
5472
+ this.$$set({ menuitemsurl: t }), B();
5417
5473
  }
5418
5474
  get session() {
5419
- return this.$$.ctx[28];
5475
+ return this.$$.ctx[29];
5420
5476
  }
5421
5477
  set session(t) {
5422
- this.$$set({ session: t }), k();
5478
+ this.$$set({ session: t }), B();
5423
5479
  }
5424
5480
  get userid() {
5425
- return this.$$.ctx[0];
5481
+ return this.$$.ctx[30];
5426
5482
  }
5427
5483
  set userid(t) {
5428
- this.$$set({ userid: t }), k();
5484
+ this.$$set({ userid: t }), B();
5429
5485
  }
5430
5486
  get cmsendpoint() {
5431
- return this.$$.ctx[29];
5487
+ return this.$$.ctx[31];
5432
5488
  }
5433
5489
  set cmsendpoint(t) {
5434
- this.$$set({ cmsendpoint: t }), k();
5490
+ this.$$set({ cmsendpoint: t }), B();
5491
+ }
5492
+ get endpoint() {
5493
+ return this.$$.ctx[32];
5494
+ }
5495
+ set endpoint(t) {
5496
+ this.$$set({ endpoint: t }), B();
5435
5497
  }
5436
5498
  get cmsenv() {
5437
- return this.$$.ctx[30];
5499
+ return this.$$.ctx[33];
5438
5500
  }
5439
5501
  set cmsenv(t) {
5440
- this.$$set({ cmsenv: t }), k();
5502
+ this.$$set({ cmsenv: t }), B();
5441
5503
  }
5442
5504
  get userroles() {
5443
- return this.$$.ctx[31];
5505
+ return this.$$.ctx[34];
5444
5506
  }
5445
5507
  set userroles(t) {
5446
- this.$$set({ userroles: t }), k();
5508
+ this.$$set({ userroles: t }), B();
5447
5509
  }
5448
5510
  get lang() {
5449
- return this.$$.ctx[3];
5511
+ return this.$$.ctx[2];
5450
5512
  }
5451
5513
  set lang(t) {
5452
- this.$$set({ lang: t }), k();
5514
+ this.$$set({ lang: t }), B();
5453
5515
  }
5454
5516
  get activecategory() {
5455
- return this.$$.ctx[32];
5517
+ return this.$$.ctx[35];
5456
5518
  }
5457
5519
  set activecategory(t) {
5458
- this.$$set({ activecategory: t }), k();
5520
+ this.$$set({ activecategory: t }), B();
5459
5521
  }
5460
5522
  get languageslist() {
5461
- return this.$$.ctx[33];
5523
+ return this.$$.ctx[36];
5462
5524
  }
5463
5525
  set languageslist(t) {
5464
- this.$$set({ languageslist: t }), k();
5526
+ this.$$set({ languageslist: t }), B();
5465
5527
  }
5466
5528
  get translationurl() {
5467
- return this.$$.ctx[34];
5529
+ return this.$$.ctx[37];
5468
5530
  }
5469
5531
  set translationurl(t) {
5470
- this.$$set({ translationurl: t }), k();
5532
+ this.$$set({ translationurl: t }), B();
5471
5533
  }
5472
5534
  get mbsource() {
5473
- return this.$$.ctx[35];
5535
+ return this.$$.ctx[38];
5474
5536
  }
5475
5537
  set mbsource(t) {
5476
- this.$$set({ mbsource: t }), k();
5538
+ this.$$set({ mbsource: t }), B();
5477
5539
  }
5478
5540
  get clientstyling() {
5479
- return this.$$.ctx[36];
5541
+ return this.$$.ctx[39];
5480
5542
  }
5481
5543
  set clientstyling(t) {
5482
- this.$$set({ clientstyling: t }), k();
5544
+ this.$$set({ clientstyling: t }), B();
5483
5545
  }
5484
5546
  get clientstylingurl() {
5485
- return this.$$.ctx[37];
5547
+ return this.$$.ctx[40];
5486
5548
  }
5487
5549
  set clientstylingurl(t) {
5488
- this.$$set({ clientstylingurl: t }), k();
5550
+ this.$$set({ clientstylingurl: t }), B();
5489
5551
  }
5490
5552
  get customlocaleidentifier() {
5491
- return this.$$.ctx[38];
5553
+ return this.$$.ctx[41];
5492
5554
  }
5493
5555
  set customlocaleidentifier(t) {
5494
- this.$$set({ customlocaleidentifier: t }), k();
5556
+ this.$$set({ customlocaleidentifier: t }), B();
5495
5557
  }
5496
5558
  get countryflaghamburger() {
5497
- return this.$$.ctx[1];
5559
+ return this.$$.ctx[0];
5498
5560
  }
5499
5561
  set countryflaghamburger(t) {
5500
- this.$$set({ countryflaghamburger: t }), k();
5562
+ this.$$set({ countryflaghamburger: t }), B();
5501
5563
  }
5502
5564
  get customlogourl() {
5503
- return this.$$.ctx[2];
5565
+ return this.$$.ctx[1];
5504
5566
  }
5505
5567
  set customlogourl(t) {
5506
- this.$$set({ customlogourl: t }), k();
5568
+ this.$$set({ customlogourl: t }), B();
5507
5569
  }
5508
5570
  }
5509
- Jn(pn, { menuitemsurl: {}, session: {}, userid: {}, cmsendpoint: {}, cmsenv: {}, userroles: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {}, customlogourl: {} }, ["logo"], [], !0);
5510
- const Ta = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5571
+ ii(_n, { menuitemsurl: {}, session: {}, userid: {}, cmsendpoint: {}, endpoint: {}, cmsenv: {}, userroles: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {}, customlogourl: {} }, ["logo"], [], !0);
5572
+ const Ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5511
5573
  __proto__: null,
5512
- default: pn
5574
+ default: _n
5513
5575
  }, Symbol.toStringTag, { value: "Module" }));
5514
5576
  export {
5515
- Te as $,
5516
- $ as A,
5517
- K as B,
5518
- hr as C,
5519
- Ha as D,
5520
- Ve as E,
5521
- ae as F,
5522
- Q as G,
5523
- Dt as H,
5524
- te as I,
5525
- Ce as J,
5526
- na as K,
5527
- ra as L,
5528
- ia as M,
5529
- oa as N,
5530
- aa as O,
5531
- Sa as P,
5532
- wa as Q,
5533
- Ta as R,
5534
- Yn as S,
5535
- Re as a,
5536
- un as b,
5537
- Jn as c,
5538
- Nn as d,
5539
- Pn as e,
5540
- k as f,
5541
- P as g,
5542
- ue as h,
5543
- qn as i,
5544
- Cn as j,
5545
- Bn as k,
5577
+ Oe as $,
5578
+ W as A,
5579
+ Y as B,
5580
+ mr as C,
5581
+ Ia as D,
5582
+ ze as E,
5583
+ le as F,
5584
+ K as G,
5585
+ Vt as H,
5586
+ ne as I,
5587
+ Re as J,
5588
+ ca as K,
5589
+ ua as L,
5590
+ fa as M,
5591
+ ga as N,
5592
+ pa as O,
5593
+ Ba as P,
5594
+ Pa as Q,
5595
+ Ca as R,
5596
+ oi as S,
5597
+ Ue as a,
5598
+ pn as b,
5599
+ ii as c,
5600
+ jn as d,
5601
+ Un as e,
5602
+ B as f,
5603
+ L as g,
5604
+ he as h,
5605
+ ni as i,
5606
+ Gn as j,
5607
+ Dn as k,
5546
5608
  p as l,
5547
- Ea as m,
5548
- B as n,
5609
+ La as m,
5610
+ P as n,
5549
5611
  b as o,
5550
- oe as p,
5551
- xa as q,
5552
- ce as r,
5553
- Lr as s,
5554
- Pe as t,
5555
- In as u,
5612
+ se as p,
5613
+ Aa as q,
5614
+ fe as r,
5615
+ Nr as s,
5616
+ Be as t,
5617
+ Fn as u,
5556
5618
  v,
5557
- N as w,
5558
- Ln as x,
5559
- jn as y,
5560
- Ir as z
5619
+ C as w,
5620
+ kn as x,
5621
+ Qn as y,
5622
+ Ur as z
5561
5623
  };