@everymatrix/casino-hamburger-menu-nd 1.77.31 → 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.
@@ -1,17 +1,17 @@
1
- var Cn = Object.defineProperty, Nn = Object.defineProperties;
2
- var Rn = Object.getOwnPropertyDescriptors;
3
- var $t = Object.getOwnPropertySymbols;
4
- var Un = Object.prototype.hasOwnProperty, kn = Object.prototype.propertyIsEnumerable;
5
- var ut = (e, t, r) => t in e ? Cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Wt = (e, t) => {
1
+ var Gn = Object.defineProperty, jn = Object.defineProperties;
2
+ var $n = Object.getOwnPropertyDescriptors;
3
+ var Qt = Object.getOwnPropertySymbols;
4
+ var Wn = Object.prototype.hasOwnProperty, Vn = Object.prototype.propertyIsEnumerable;
5
+ var ft = (e, t, r) => t in e ? Gn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Un.call(t, r) && ut(e, r, t[r]);
8
- if ($t)
9
- for (var r of $t(t))
10
- kn.call(t, r) && ut(e, r, t[r]);
7
+ Wn.call(t, r) && ft(e, r, t[r]);
8
+ if (Qt)
9
+ for (var r of Qt(t))
10
+ Vn.call(t, r) && ft(e, r, t[r]);
11
11
  return e;
12
- }, Vt = (e, t) => Nn(e, Rn(t));
13
- var X = (e, t, r) => (ut(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var Xt = (e, t, r) => new Promise((n, i) => {
12
+ }, Yt = (e, t) => jn(e, $n(t));
13
+ var z = (e, t, r) => (ft(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var gt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (u) => {
16
16
  try {
17
17
  s(r.next(u));
@@ -29,7 +29,7 @@ var Xt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function W() {
31
31
  }
32
- function Fn(e, t) {
32
+ function Xn(e, t) {
33
33
  for (const r in t)
34
34
  e[r] = t[r];
35
35
  return (
@@ -37,29 +37,29 @@ function Fn(e, t) {
37
37
  e
38
38
  );
39
39
  }
40
- function Ur(e) {
40
+ function jr(e) {
41
41
  return e();
42
42
  }
43
- function zt() {
43
+ function Jt() {
44
44
  return /* @__PURE__ */ Object.create(null);
45
45
  }
46
- function fe(e) {
47
- e.forEach(Ur);
46
+ function pe(e) {
47
+ e.forEach(jr);
48
48
  }
49
- function Ct(e) {
49
+ function kt(e) {
50
50
  return typeof e == "function";
51
51
  }
52
- function kr(e, t) {
52
+ function $r(e, t) {
53
53
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
54
54
  }
55
- let De;
56
- function ee(e, t) {
57
- return e === t ? !0 : (De || (De = document.createElement("a")), De.href = t, e === De.href);
55
+ let je;
56
+ function K(e, t) {
57
+ return e === t ? !0 : (je || (je = document.createElement("a")), je.href = t, e === je.href);
58
58
  }
59
- function Dn(e) {
59
+ function zn(e) {
60
60
  return Object.keys(e).length === 0;
61
61
  }
62
- function Fr(e, ...t) {
62
+ function Wr(e, ...t) {
63
63
  if (e == null) {
64
64
  for (const n of t)
65
65
  n(void 0);
@@ -68,19 +68,19 @@ function Fr(e, ...t) {
68
68
  const r = e.subscribe(...t);
69
69
  return r.unsubscribe ? () => r.unsubscribe() : r;
70
70
  }
71
- function Gn(e, t, r) {
72
- e.$$.on_destroy.push(Fr(t, r));
71
+ function Zn(e, t, r) {
72
+ e.$$.on_destroy.push(Wr(t, r));
73
73
  }
74
- function jn(e, t, r, n) {
74
+ function Qn(e, t, r, n) {
75
75
  if (e) {
76
- const i = Dr(e, t, r, n);
76
+ const i = Vr(e, t, r, n);
77
77
  return e[0](i);
78
78
  }
79
79
  }
80
- function Dr(e, t, r, n) {
81
- return e[1] && n ? Fn(r.ctx.slice(), e[1](n(t))) : r.ctx;
80
+ function Vr(e, t, r, n) {
81
+ return e[1] && n ? Xn(r.ctx.slice(), e[1](n(t))) : r.ctx;
82
82
  }
83
- function $n(e, t, r, n) {
83
+ function qn(e, t, r, n) {
84
84
  if (e[2] && n) {
85
85
  const i = e[2](n(r));
86
86
  if (t.dirty === void 0)
@@ -95,13 +95,13 @@ function $n(e, t, r, n) {
95
95
  }
96
96
  return t.dirty;
97
97
  }
98
- function Wn(e, t, r, n, i, o) {
98
+ function Yn(e, t, r, n, i, o) {
99
99
  if (i) {
100
- const a = Dr(t, r, n, o);
100
+ const a = Vr(t, r, n, o);
101
101
  e.p(a, i);
102
102
  }
103
103
  }
104
- function Vn(e) {
104
+ function Jn(e) {
105
105
  if (e.ctx.length > 32) {
106
106
  const t = [], r = e.ctx.length / 32;
107
107
  for (let n = 0; n < r; n++)
@@ -113,14 +113,14 @@ function Vn(e) {
113
113
  function b(e, t) {
114
114
  e.appendChild(t);
115
115
  }
116
- function Xn(e, t, r) {
117
- const n = zn(e);
116
+ function Kn(e, t, r) {
117
+ const n = ei(e);
118
118
  if (!n.getElementById(t)) {
119
119
  const i = _("style");
120
- i.id = t, i.textContent = r, Zn(n, i);
120
+ i.id = t, i.textContent = r, ti(n, i);
121
121
  }
122
122
  }
123
- function zn(e) {
123
+ function ei(e) {
124
124
  if (!e)
125
125
  return document;
126
126
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -130,55 +130,55 @@ function zn(e) {
130
130
  t
131
131
  ) : e.ownerDocument;
132
132
  }
133
- function Zn(e, t) {
133
+ function ti(e, t) {
134
134
  return b(
135
135
  /** @type {Document} */
136
136
  e.head || e,
137
137
  t
138
138
  ), t.sheet;
139
139
  }
140
- function I(e, t, r) {
140
+ function B(e, t, r) {
141
141
  e.insertBefore(t, r || null);
142
142
  }
143
- function B(e) {
143
+ function P(e) {
144
144
  e.parentNode && e.parentNode.removeChild(e);
145
145
  }
146
- function Re(e, t) {
146
+ function ke(e, t) {
147
147
  for (let r = 0; r < e.length; r += 1)
148
148
  e[r] && e[r].d(t);
149
149
  }
150
150
  function _(e) {
151
151
  return document.createElement(e);
152
152
  }
153
- function Zt(e) {
153
+ function Kt(e) {
154
154
  return document.createElementNS("http://www.w3.org/2000/svg", e);
155
155
  }
156
- function Y(e) {
156
+ function ee(e) {
157
157
  return document.createTextNode(e);
158
158
  }
159
159
  function N() {
160
- return Y(" ");
160
+ return ee(" ");
161
161
  }
162
- function Gr() {
163
- return Y("");
162
+ function Xr() {
163
+ return ee("");
164
164
  }
165
- function se(e, t, r, n) {
165
+ function ue(e, t, r, n) {
166
166
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
167
167
  }
168
168
  function d(e, t, r) {
169
169
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
170
170
  }
171
- function Qn(e) {
171
+ function ri(e) {
172
172
  return Array.from(e.childNodes);
173
173
  }
174
- function le(e, t) {
174
+ function ce(e, t) {
175
175
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
176
176
  t);
177
177
  }
178
- function Qt(e, t) {
178
+ function er(e, t) {
179
179
  e.value = t == null ? "" : t;
180
180
  }
181
- function Yt(e, t, r) {
181
+ function tr(e, t, r) {
182
182
  for (let n = 0; n < e.options.length; n += 1) {
183
183
  const i = e.options[n];
184
184
  if (i.__value === t) {
@@ -188,14 +188,14 @@ function Yt(e, t, r) {
188
188
  }
189
189
  (!r || t !== void 0) && (e.selectedIndex = -1);
190
190
  }
191
- function Yn(e) {
191
+ function ni(e) {
192
192
  const t = e.querySelector(":checked");
193
193
  return t && t.__value;
194
194
  }
195
- function qt(e, t, r) {
195
+ function rr(e, t, r) {
196
196
  e.classList.toggle(t, !!r);
197
197
  }
198
- function qn(e) {
198
+ function ii(e) {
199
199
  const t = {};
200
200
  return e.childNodes.forEach(
201
201
  /** @param {Element} node */
@@ -204,112 +204,112 @@ function qn(e) {
204
204
  }
205
205
  ), t;
206
206
  }
207
- let Be;
208
- function Pe(e) {
209
- Be = e;
207
+ let Ce;
208
+ function Ie(e) {
209
+ Ce = e;
210
210
  }
211
- function Jn() {
212
- if (!Be)
211
+ function oi() {
212
+ if (!Ce)
213
213
  throw new Error("Function called outside component initialization");
214
- return Be;
214
+ return Ce;
215
215
  }
216
- function Kn(e) {
217
- Jn().$$.on_mount.push(e);
216
+ function ai(e) {
217
+ oi().$$.on_mount.push(e);
218
218
  }
219
- const _e = [], Ze = [];
220
- let xe = [];
221
- const Jt = [], ei = /* @__PURE__ */ Promise.resolve();
222
- let vt = !1;
223
- function ti() {
224
- vt || (vt = !0, ei.then(U));
219
+ const xe = [], qe = [];
220
+ let Ee = [];
221
+ const nr = [], si = /* @__PURE__ */ Promise.resolve();
222
+ let Et = !1;
223
+ function li() {
224
+ Et || (Et = !0, si.then(C));
225
225
  }
226
- function Qe(e) {
227
- xe.push(e);
226
+ function Ye(e) {
227
+ Ee.push(e);
228
228
  }
229
- const ct = /* @__PURE__ */ new Set();
229
+ const pt = /* @__PURE__ */ new Set();
230
230
  let ve = 0;
231
- function U() {
231
+ function C() {
232
232
  if (ve !== 0)
233
233
  return;
234
- const e = Be;
234
+ const e = Ce;
235
235
  do {
236
236
  try {
237
- for (; ve < _e.length; ) {
238
- const t = _e[ve];
239
- ve++, Pe(t), ri(t.$$);
237
+ for (; ve < xe.length; ) {
238
+ const t = xe[ve];
239
+ ve++, Ie(t), ui(t.$$);
240
240
  }
241
241
  } catch (t) {
242
- throw _e.length = 0, ve = 0, t;
242
+ throw xe.length = 0, ve = 0, t;
243
243
  }
244
- for (Pe(null), _e.length = 0, ve = 0; Ze.length; )
245
- Ze.pop()();
246
- for (let t = 0; t < xe.length; t += 1) {
247
- const r = xe[t];
248
- ct.has(r) || (ct.add(r), r());
244
+ for (Ie(null), xe.length = 0, ve = 0; qe.length; )
245
+ qe.pop()();
246
+ for (let t = 0; t < Ee.length; t += 1) {
247
+ const r = Ee[t];
248
+ pt.has(r) || (pt.add(r), r());
249
249
  }
250
- xe.length = 0;
251
- } while (_e.length);
252
- for (; Jt.length; )
253
- Jt.pop()();
254
- vt = !1, ct.clear(), Pe(e);
250
+ Ee.length = 0;
251
+ } while (xe.length);
252
+ for (; nr.length; )
253
+ nr.pop()();
254
+ Et = !1, pt.clear(), Ie(e);
255
255
  }
256
- function ri(e) {
256
+ function ui(e) {
257
257
  if (e.fragment !== null) {
258
- e.update(), fe(e.before_update);
258
+ e.update(), pe(e.before_update);
259
259
  const t = e.dirty;
260
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Qe);
260
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ye);
261
261
  }
262
262
  }
263
- function ni(e) {
263
+ function ci(e) {
264
264
  const t = [], r = [];
265
- xe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), xe = t;
265
+ Ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Ee = t;
266
266
  }
267
- const $e = /* @__PURE__ */ new Set();
268
- let ce;
269
- function jr() {
270
- ce = {
267
+ const Ve = /* @__PURE__ */ new Set();
268
+ let fe;
269
+ function zr() {
270
+ fe = {
271
271
  r: 0,
272
272
  c: [],
273
- p: ce
273
+ p: fe
274
274
  // parent group
275
275
  };
276
276
  }
277
- function $r() {
278
- ce.r || fe(ce.c), ce = ce.p;
277
+ function Zr() {
278
+ fe.r || pe(fe.c), fe = fe.p;
279
279
  }
280
- function he(e, t) {
281
- e && e.i && ($e.delete(e), e.i(t));
280
+ function ge(e, t) {
281
+ e && e.i && (Ve.delete(e), e.i(t));
282
282
  }
283
- function Ie(e, t, r, n) {
283
+ function Ne(e, t, r, n) {
284
284
  if (e && e.o) {
285
- if ($e.has(e))
285
+ if (Ve.has(e))
286
286
  return;
287
- $e.add(e), ce.c.push(() => {
288
- $e.delete(e), n && (r && e.d(1), n());
287
+ Ve.add(e), fe.c.push(() => {
288
+ Ve.delete(e), n && (r && e.d(1), n());
289
289
  }), e.o(t);
290
290
  } else
291
291
  n && n();
292
292
  }
293
- function re(e) {
293
+ function ie(e) {
294
294
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
295
295
  }
296
- function ii(e, t, r) {
296
+ function hi(e, t, r) {
297
297
  const { fragment: n, after_update: i } = e.$$;
298
- n && n.m(t, r), Qe(() => {
299
- const o = e.$$.on_mount.map(Ur).filter(Ct);
300
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : fe(o), e.$$.on_mount = [];
301
- }), i.forEach(Qe);
298
+ n && n.m(t, r), Ye(() => {
299
+ const o = e.$$.on_mount.map(jr).filter(kt);
300
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : pe(o), e.$$.on_mount = [];
301
+ }), i.forEach(Ye);
302
302
  }
303
- function oi(e, t) {
303
+ function fi(e, t) {
304
304
  const r = e.$$;
305
- r.fragment !== null && (ni(r.after_update), fe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
305
+ r.fragment !== null && (ci(r.after_update), pe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
306
306
  }
307
- function ai(e, t) {
308
- e.$$.dirty[0] === -1 && (_e.push(e), ti(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
307
+ function gi(e, t) {
308
+ e.$$.dirty[0] === -1 && (xe.push(e), li(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
309
309
  }
310
- function si(e, t, r, n, i, o, a = null, s = [-1]) {
311
- const u = Be;
312
- Pe(e);
310
+ function pi(e, t, r, n, i, o, a = null, s = [-1]) {
311
+ const u = Ce;
312
+ Ie(e);
313
313
  const l = e.$$ = {
314
314
  fragment: null,
315
315
  ctx: [],
@@ -317,7 +317,7 @@ function si(e, t, r, n, i, o, a = null, s = [-1]) {
317
317
  props: o,
318
318
  update: W,
319
319
  not_equal: i,
320
- bound: zt(),
320
+ bound: Jt(),
321
321
  // lifecycle
322
322
  on_mount: [],
323
323
  on_destroy: [],
@@ -326,48 +326,48 @@ function si(e, t, r, n, i, o, a = null, s = [-1]) {
326
326
  after_update: [],
327
327
  context: new Map(t.context || (u ? u.$$.context : [])),
328
328
  // everything else
329
- callbacks: zt(),
329
+ callbacks: Jt(),
330
330
  dirty: s,
331
331
  skip_bound: !1,
332
332
  root: t.target || u.$$.root
333
333
  };
334
334
  a && a(l.root);
335
335
  let c = !1;
336
- if (l.ctx = r ? r(e, t.props || {}, (g, f, ...p) => {
337
- const m = p.length ? p[0] : f;
338
- return l.ctx && i(l.ctx[g], l.ctx[g] = m) && (!l.skip_bound && l.bound[g] && l.bound[g](m), c && ai(e, g)), f;
339
- }) : [], l.update(), c = !0, fe(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
336
+ if (l.ctx = r ? r(e, t.props || {}, (f, g, ...p) => {
337
+ const m = p.length ? p[0] : g;
338
+ return l.ctx && i(l.ctx[f], l.ctx[f] = m) && (!l.skip_bound && l.bound[f] && l.bound[f](m), c && gi(e, f)), g;
339
+ }) : [], l.update(), c = !0, pe(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
340
340
  if (t.hydrate) {
341
- const g = Qn(t.target);
342
- l.fragment && l.fragment.l(g), g.forEach(B);
341
+ const f = ri(t.target);
342
+ l.fragment && l.fragment.l(f), f.forEach(P);
343
343
  } else
344
344
  l.fragment && l.fragment.c();
345
- t.intro && he(e.$$.fragment), ii(e, t.target, t.anchor), U();
345
+ t.intro && ge(e.$$.fragment), hi(e, t.target, t.anchor), C();
346
346
  }
347
- Pe(u);
347
+ Ie(u);
348
348
  }
349
- let Wr;
350
- typeof HTMLElement == "function" && (Wr = class extends HTMLElement {
349
+ let Qr;
350
+ typeof HTMLElement == "function" && (Qr = class extends HTMLElement {
351
351
  constructor(t, r, n) {
352
352
  super();
353
353
  /** The Svelte component constructor */
354
- X(this, "$$ctor");
354
+ z(this, "$$ctor");
355
355
  /** Slots */
356
- X(this, "$$s");
356
+ z(this, "$$s");
357
357
  /** The Svelte component instance */
358
- X(this, "$$c");
358
+ z(this, "$$c");
359
359
  /** Whether or not the custom element is connected */
360
- X(this, "$$cn", !1);
360
+ z(this, "$$cn", !1);
361
361
  /** Component props data */
362
- X(this, "$$d", {});
362
+ z(this, "$$d", {});
363
363
  /** `true` if currently in the process of reflecting component props back to attributes */
364
- X(this, "$$r", !1);
364
+ z(this, "$$r", !1);
365
365
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
366
- X(this, "$$p_d", {});
366
+ z(this, "$$p_d", {});
367
367
  /** @type {Record<string, Function[]>} Event listeners */
368
- X(this, "$$l", {});
368
+ z(this, "$$l", {});
369
369
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
370
- X(this, "$$l_u", /* @__PURE__ */ new Map());
370
+ z(this, "$$l_u", /* @__PURE__ */ new Map());
371
371
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
372
372
  }
373
373
  addEventListener(t, r, n) {
@@ -384,7 +384,7 @@ typeof HTMLElement == "function" && (Wr = class extends HTMLElement {
384
384
  }
385
385
  }
386
386
  connectedCallback() {
387
- return Xt(this, null, function* () {
387
+ return gt(this, null, function* () {
388
388
  if (this.$$cn = !0, !this.$$c) {
389
389
  let t = function(o) {
390
390
  return () => {
@@ -398,28 +398,28 @@ typeof HTMLElement == "function" && (Wr = class extends HTMLElement {
398
398
  * @param {HTMLElement} [anchor]
399
399
  */
400
400
  m: function(l, c) {
401
- I(l, a, c);
401
+ B(l, a, c);
402
402
  },
403
403
  d: function(l) {
404
- l && B(a);
404
+ l && P(a);
405
405
  }
406
406
  };
407
407
  };
408
408
  };
409
409
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
410
410
  return;
411
- const r = {}, n = qn(this);
411
+ const r = {}, n = ii(this);
412
412
  for (const o of this.$$s)
413
413
  o in n && (r[o] = [t(o)]);
414
414
  for (const o of this.attributes) {
415
415
  const a = this.$$g_p(o.name);
416
- a in this.$$d || (this.$$d[a] = We(a, o.value, this.$$p_d, "toProp"));
416
+ a in this.$$d || (this.$$d[a] = Xe(a, o.value, this.$$p_d, "toProp"));
417
417
  }
418
418
  for (const o in this.$$p_d)
419
419
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
420
420
  this.$$c = new this.$$ctor({
421
421
  target: this.shadowRoot || this,
422
- props: Vt(Wt({}, this.$$d), {
422
+ props: Yt(qt({}, this.$$d), {
423
423
  $$slots: r,
424
424
  $$scope: {
425
425
  ctx: []
@@ -430,7 +430,7 @@ typeof HTMLElement == "function" && (Wr = class extends HTMLElement {
430
430
  this.$$r = !0;
431
431
  for (const o in this.$$p_d)
432
432
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
433
- const a = We(
433
+ const a = Xe(
434
434
  o,
435
435
  this.$$d[o],
436
436
  this.$$p_d,
@@ -454,7 +454,7 @@ typeof HTMLElement == "function" && (Wr = class extends HTMLElement {
454
454
  // and setting attributes through setAttribute etc, this is helpful
455
455
  attributeChangedCallback(t, r, n) {
456
456
  var i;
457
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = We(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
457
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Xe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
458
458
  }
459
459
  disconnectedCallback() {
460
460
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -467,7 +467,7 @@ typeof HTMLElement == "function" && (Wr = class extends HTMLElement {
467
467
  ) || t;
468
468
  }
469
469
  });
470
- function We(e, t, r, n) {
470
+ function Xe(e, t, r, n) {
471
471
  var o;
472
472
  const i = (o = r[e]) == null ? void 0 : o.type;
473
473
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -497,8 +497,8 @@ function We(e, t, r, n) {
497
497
  return t;
498
498
  }
499
499
  }
500
- function li(e, t, r, n, i, o) {
501
- let a = class extends Wr {
500
+ function di(e, t, r, n, i, o) {
501
+ let a = class extends Qr {
502
502
  constructor() {
503
503
  super(e, r, i), this.$$p_d = t;
504
504
  }
@@ -515,7 +515,7 @@ function li(e, t, r, n, i, o) {
515
515
  },
516
516
  set(u) {
517
517
  var l;
518
- u = We(s, u, t), this.$$d[s] = u, (l = this.$$c) == null || l.$set({ [s]: u });
518
+ u = Xe(s, u, t), this.$$d[s] = u, (l = this.$$c) == null || l.$set({ [s]: u });
519
519
  }
520
520
  });
521
521
  }), n.forEach((s) => {
@@ -528,7 +528,7 @@ function li(e, t, r, n, i, o) {
528
528
  }), e.element = /** @type {any} */
529
529
  a, a;
530
530
  }
531
- class ui {
531
+ class mi {
532
532
  constructor() {
533
533
  /**
534
534
  * ### PRIVATE API
@@ -537,7 +537,7 @@ class ui {
537
537
  *
538
538
  * @type {any}
539
539
  */
540
- X(this, "$$");
540
+ z(this, "$$");
541
541
  /**
542
542
  * ### PRIVATE API
543
543
  *
@@ -545,11 +545,11 @@ class ui {
545
545
  *
546
546
  * @type {any}
547
547
  */
548
- X(this, "$$set");
548
+ z(this, "$$set");
549
549
  }
550
550
  /** @returns {void} */
551
551
  $destroy() {
552
- oi(this, 1), this.$destroy = W;
552
+ fi(this, 1), this.$destroy = W;
553
553
  }
554
554
  /**
555
555
  * @template {Extract<keyof Events, string>} K
@@ -558,7 +558,7 @@ class ui {
558
558
  * @returns {() => void}
559
559
  */
560
560
  $on(t, r) {
561
- if (!Ct(r))
561
+ if (!kt(r))
562
562
  return W;
563
563
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
564
564
  return n.push(r), () => {
@@ -571,11 +571,11 @@ class ui {
571
571
  * @returns {void}
572
572
  */
573
573
  $set(t) {
574
- this.$$set && !Dn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
574
+ this.$$set && !zn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
575
575
  }
576
576
  }
577
- const ci = "4";
578
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ci);
577
+ const bi = "4";
578
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(bi);
579
579
  /*! *****************************************************************************
580
580
  Copyright (c) Microsoft Corporation.
581
581
 
@@ -590,24 +590,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
590
590
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
591
591
  PERFORMANCE OF THIS SOFTWARE.
592
592
  ***************************************************************************** */
593
- var yt = function(e, t) {
594
- return yt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
593
+ var wt = function(e, t) {
594
+ return wt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
595
595
  r.__proto__ = n;
596
596
  } || function(r, n) {
597
597
  for (var i in n)
598
598
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
599
- }, yt(e, t);
599
+ }, wt(e, t);
600
600
  };
601
- function Ue(e, t) {
601
+ function De(e, t) {
602
602
  if (typeof t != "function" && t !== null)
603
603
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
604
- yt(e, t);
604
+ wt(e, t);
605
605
  function r() {
606
606
  this.constructor = e;
607
607
  }
608
608
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
609
609
  }
610
- function _t(e) {
610
+ function Ht(e) {
611
611
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
612
612
  if (r)
613
613
  return r.call(e);
@@ -619,7 +619,7 @@ function _t(e) {
619
619
  };
620
620
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
621
621
  }
622
- function xt(e, t) {
622
+ function St(e, t) {
623
623
  var r = typeof Symbol == "function" && e[Symbol.iterator];
624
624
  if (!r)
625
625
  return e;
@@ -639,22 +639,22 @@ function xt(e, t) {
639
639
  }
640
640
  return o;
641
641
  }
642
- function Et(e, t, r) {
642
+ function Tt(e, t, r) {
643
643
  if (arguments.length === 2)
644
644
  for (var n = 0, i = t.length, o; n < i; n++)
645
645
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
646
646
  return e.concat(o || t);
647
647
  }
648
- function te(e) {
648
+ function ne(e) {
649
649
  return typeof e == "function";
650
650
  }
651
- function Vr(e) {
651
+ function qr(e) {
652
652
  var t = function(n) {
653
653
  Error.call(n), n.stack = new Error().stack;
654
654
  }, r = e(t);
655
655
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
656
656
  }
657
- var ht = Vr(function(e) {
657
+ var dt = qr(function(e) {
658
658
  return function(r) {
659
659
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
660
660
  ` + r.map(function(n, i) {
@@ -663,13 +663,13 @@ var ht = Vr(function(e) {
663
663
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
664
664
  };
665
665
  });
666
- function wt(e, t) {
666
+ function Ot(e, t) {
667
667
  if (e) {
668
668
  var r = e.indexOf(t);
669
669
  0 <= r && e.splice(r, 1);
670
670
  }
671
671
  }
672
- var Ke = function() {
672
+ var tt = function() {
673
673
  function e(t) {
674
674
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
675
675
  }
@@ -681,7 +681,7 @@ var Ke = function() {
681
681
  if (a)
682
682
  if (this._parentage = null, Array.isArray(a))
683
683
  try {
684
- for (var s = _t(a), u = s.next(); !u.done; u = s.next()) {
684
+ for (var s = Ht(a), u = s.next(); !u.done; u = s.next()) {
685
685
  var l = u.value;
686
686
  l.remove(this);
687
687
  }
@@ -698,29 +698,29 @@ var Ke = function() {
698
698
  else
699
699
  a.remove(this);
700
700
  var c = this.initialTeardown;
701
- if (te(c))
701
+ if (ne(c))
702
702
  try {
703
703
  c();
704
704
  } catch (v) {
705
- o = v instanceof ht ? v.errors : [v];
705
+ o = v instanceof dt ? v.errors : [v];
706
706
  }
707
- var g = this._finalizers;
708
- if (g) {
707
+ var f = this._finalizers;
708
+ if (f) {
709
709
  this._finalizers = null;
710
710
  try {
711
- for (var f = _t(g), p = f.next(); !p.done; p = f.next()) {
711
+ for (var g = Ht(f), p = g.next(); !p.done; p = g.next()) {
712
712
  var m = p.value;
713
713
  try {
714
- Kt(m);
714
+ ir(m);
715
715
  } catch (v) {
716
- o = o != null ? o : [], v instanceof ht ? o = Et(Et([], xt(o)), xt(v.errors)) : o.push(v);
716
+ o = o != null ? o : [], v instanceof dt ? o = Tt(Tt([], St(o)), St(v.errors)) : o.push(v);
717
717
  }
718
718
  }
719
719
  } catch (v) {
720
720
  n = { error: v };
721
721
  } finally {
722
722
  try {
723
- p && !p.done && (i = f.return) && i.call(f);
723
+ p && !p.done && (i = g.return) && i.call(g);
724
724
  } finally {
725
725
  if (n)
726
726
  throw n.error;
@@ -728,13 +728,13 @@ var Ke = function() {
728
728
  }
729
729
  }
730
730
  if (o)
731
- throw new ht(o);
731
+ throw new dt(o);
732
732
  }
733
733
  }, e.prototype.add = function(t) {
734
734
  var r;
735
735
  if (t && t !== this)
736
736
  if (this.closed)
737
- Kt(t);
737
+ ir(t);
738
738
  else {
739
739
  if (t instanceof e) {
740
740
  if (t.closed || t._hasParent(this))
@@ -751,52 +751,52 @@ var Ke = function() {
751
751
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
752
752
  }, e.prototype._removeParent = function(t) {
753
753
  var r = this._parentage;
754
- r === t ? this._parentage = null : Array.isArray(r) && wt(r, t);
754
+ r === t ? this._parentage = null : Array.isArray(r) && Ot(r, t);
755
755
  }, e.prototype.remove = function(t) {
756
756
  var r = this._finalizers;
757
- r && wt(r, t), t instanceof e && t._removeParent(this);
757
+ r && Ot(r, t), t instanceof e && t._removeParent(this);
758
758
  }, e.EMPTY = function() {
759
759
  var t = new e();
760
760
  return t.closed = !0, t;
761
761
  }(), e;
762
- }(), Xr = Ke.EMPTY;
763
- function zr(e) {
764
- return e instanceof Ke || e && "closed" in e && te(e.remove) && te(e.add) && te(e.unsubscribe);
762
+ }(), Yr = tt.EMPTY;
763
+ function Jr(e) {
764
+ return e instanceof tt || e && "closed" in e && ne(e.remove) && ne(e.add) && ne(e.unsubscribe);
765
765
  }
766
- function Kt(e) {
767
- te(e) ? e() : e.unsubscribe();
766
+ function ir(e) {
767
+ ne(e) ? e() : e.unsubscribe();
768
768
  }
769
- var hi = {
769
+ var yi = {
770
770
  Promise: void 0
771
- }, fi = {
771
+ }, vi = {
772
772
  setTimeout: function(e, t) {
773
773
  for (var r = [], n = 2; n < arguments.length; n++)
774
774
  r[n - 2] = arguments[n];
775
- return setTimeout.apply(void 0, Et([e, t], xt(r)));
775
+ return setTimeout.apply(void 0, Tt([e, t], St(r)));
776
776
  },
777
777
  clearTimeout: function(e) {
778
778
  return clearTimeout(e);
779
779
  },
780
780
  delegate: void 0
781
781
  };
782
- function gi(e) {
783
- fi.setTimeout(function() {
782
+ function _i(e) {
783
+ vi.setTimeout(function() {
784
784
  throw e;
785
785
  });
786
786
  }
787
- function er() {
787
+ function or() {
788
788
  }
789
- function Ve(e) {
789
+ function ze(e) {
790
790
  e();
791
791
  }
792
- var Zr = function(e) {
793
- Ue(t, e);
792
+ var Kr = function(e) {
793
+ De(t, e);
794
794
  function t(r) {
795
795
  var n = e.call(this) || this;
796
- return n.isStopped = !1, r ? (n.destination = r, zr(r) && r.add(n)) : n.destination = mi, n;
796
+ return n.isStopped = !1, r ? (n.destination = r, Jr(r) && r.add(n)) : n.destination = wi, n;
797
797
  }
798
798
  return t.create = function(r, n, i) {
799
- return new Ht(r, n, i);
799
+ return new Mt(r, n, i);
800
800
  }, t.prototype.next = function(r) {
801
801
  this.isStopped || this._next(r);
802
802
  }, t.prototype.error = function(r) {
@@ -820,7 +820,7 @@ var Zr = function(e) {
820
820
  this.unsubscribe();
821
821
  }
822
822
  }, t;
823
- }(Ke), pi = function() {
823
+ }(tt), xi = function() {
824
824
  function e(t) {
825
825
  this.partialObserver = t;
826
826
  }
@@ -830,7 +830,7 @@ var Zr = function(e) {
830
830
  try {
831
831
  r.next(t);
832
832
  } catch (n) {
833
- Ge(n);
833
+ $e(n);
834
834
  }
835
835
  }, e.prototype.error = function(t) {
836
836
  var r = this.partialObserver;
@@ -838,56 +838,56 @@ var Zr = function(e) {
838
838
  try {
839
839
  r.error(t);
840
840
  } catch (n) {
841
- Ge(n);
841
+ $e(n);
842
842
  }
843
843
  else
844
- Ge(t);
844
+ $e(t);
845
845
  }, e.prototype.complete = function() {
846
846
  var t = this.partialObserver;
847
847
  if (t.complete)
848
848
  try {
849
849
  t.complete();
850
850
  } catch (r) {
851
- Ge(r);
851
+ $e(r);
852
852
  }
853
853
  }, e;
854
- }(), Ht = function(e) {
855
- Ue(t, e);
854
+ }(), Mt = function(e) {
855
+ De(t, e);
856
856
  function t(r, n, i) {
857
857
  var o = e.call(this) || this, a;
858
- return te(r) || !r ? a = {
858
+ return ne(r) || !r ? a = {
859
859
  next: r != null ? r : void 0,
860
860
  error: n != null ? n : void 0,
861
861
  complete: i != null ? i : void 0
862
- } : a = r, o.destination = new pi(a), o;
862
+ } : a = r, o.destination = new xi(a), o;
863
863
  }
864
864
  return t;
865
- }(Zr);
866
- function Ge(e) {
867
- gi(e);
865
+ }(Kr);
866
+ function $e(e) {
867
+ _i(e);
868
868
  }
869
- function di(e) {
869
+ function Ei(e) {
870
870
  throw e;
871
871
  }
872
- var mi = {
872
+ var wi = {
873
873
  closed: !0,
874
- next: er,
875
- error: di,
876
- complete: er
877
- }, bi = function() {
874
+ next: or,
875
+ error: Ei,
876
+ complete: or
877
+ }, Hi = function() {
878
878
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
879
879
  }();
880
- function vi(e) {
880
+ function Si(e) {
881
881
  return e;
882
882
  }
883
- function yi(e) {
884
- return e.length === 0 ? vi : e.length === 1 ? e[0] : function(r) {
883
+ function Ti(e) {
884
+ return e.length === 0 ? Si : e.length === 1 ? e[0] : function(r) {
885
885
  return e.reduce(function(n, i) {
886
886
  return i(n);
887
887
  }, r);
888
888
  };
889
889
  }
890
- var tr = function() {
890
+ var ar = function() {
891
891
  function e(t) {
892
892
  t && (this._subscribe = t);
893
893
  }
@@ -895,8 +895,8 @@ var tr = function() {
895
895
  var r = new e();
896
896
  return r.source = this, r.operator = t, r;
897
897
  }, e.prototype.subscribe = function(t, r, n) {
898
- var i = this, o = xi(t) ? t : new Ht(t, r, n);
899
- return Ve(function() {
898
+ var i = this, o = Mi(t) ? t : new Mt(t, r, n);
899
+ return ze(function() {
900
900
  var a = i, s = a.operator, u = a.source;
901
901
  o.add(s ? s.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
902
902
  }), o;
@@ -908,8 +908,8 @@ var tr = function() {
908
908
  }
909
909
  }, e.prototype.forEach = function(t, r) {
910
910
  var n = this;
911
- return r = rr(r), new r(function(i, o) {
912
- var a = new Ht({
911
+ return r = sr(r), new r(function(i, o) {
912
+ var a = new Mt({
913
913
  next: function(s) {
914
914
  try {
915
915
  t(s);
@@ -925,15 +925,15 @@ var tr = function() {
925
925
  }, e.prototype._subscribe = function(t) {
926
926
  var r;
927
927
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
928
- }, e.prototype[bi] = function() {
928
+ }, e.prototype[Hi] = function() {
929
929
  return this;
930
930
  }, e.prototype.pipe = function() {
931
931
  for (var t = [], r = 0; r < arguments.length; r++)
932
932
  t[r] = arguments[r];
933
- return yi(t)(this);
933
+ return Ti(t)(this);
934
934
  }, e.prototype.toPromise = function(t) {
935
935
  var r = this;
936
- return t = rr(t), new t(function(n, i) {
936
+ return t = sr(t), new t(function(n, i) {
937
937
  var o;
938
938
  r.subscribe(function(a) {
939
939
  return o = a;
@@ -947,40 +947,40 @@ var tr = function() {
947
947
  return new e(t);
948
948
  }, e;
949
949
  }();
950
- function rr(e) {
950
+ function sr(e) {
951
951
  var t;
952
- return (t = e != null ? e : hi.Promise) !== null && t !== void 0 ? t : Promise;
952
+ return (t = e != null ? e : yi.Promise) !== null && t !== void 0 ? t : Promise;
953
953
  }
954
- function _i(e) {
955
- return e && te(e.next) && te(e.error) && te(e.complete);
954
+ function Oi(e) {
955
+ return e && ne(e.next) && ne(e.error) && ne(e.complete);
956
956
  }
957
- function xi(e) {
958
- return e && e instanceof Zr || _i(e) && zr(e);
957
+ function Mi(e) {
958
+ return e && e instanceof Kr || Oi(e) && Jr(e);
959
959
  }
960
- var Ei = Vr(function(e) {
960
+ var Ai = qr(function(e) {
961
961
  return function() {
962
962
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
963
963
  };
964
- }), Qr = function(e) {
965
- Ue(t, e);
964
+ }), en = function(e) {
965
+ De(t, e);
966
966
  function t() {
967
967
  var r = e.call(this) || this;
968
968
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
969
969
  }
970
970
  return t.prototype.lift = function(r) {
971
- var n = new nr(this, this);
971
+ var n = new lr(this, this);
972
972
  return n.operator = r, n;
973
973
  }, t.prototype._throwIfClosed = function() {
974
974
  if (this.closed)
975
- throw new Ei();
975
+ throw new Ai();
976
976
  }, t.prototype.next = function(r) {
977
977
  var n = this;
978
- Ve(function() {
978
+ ze(function() {
979
979
  var i, o;
980
980
  if (n._throwIfClosed(), !n.isStopped) {
981
981
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
982
982
  try {
983
- for (var a = _t(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
983
+ for (var a = Ht(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
984
984
  var u = s.value;
985
985
  u.next(r);
986
986
  }
@@ -998,7 +998,7 @@ var Ei = Vr(function(e) {
998
998
  });
999
999
  }, t.prototype.error = function(r) {
1000
1000
  var n = this;
1001
- Ve(function() {
1001
+ ze(function() {
1002
1002
  if (n._throwIfClosed(), !n.isStopped) {
1003
1003
  n.hasError = n.isStopped = !0, n.thrownError = r;
1004
1004
  for (var i = n.observers; i.length; )
@@ -1007,7 +1007,7 @@ var Ei = Vr(function(e) {
1007
1007
  });
1008
1008
  }, t.prototype.complete = function() {
1009
1009
  var r = this;
1010
- Ve(function() {
1010
+ ze(function() {
1011
1011
  if (r._throwIfClosed(), !r.isStopped) {
1012
1012
  r.isStopped = !0;
1013
1013
  for (var n = r.observers; n.length; )
@@ -1029,20 +1029,20 @@ var Ei = Vr(function(e) {
1029
1029
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1030
1030
  }, t.prototype._innerSubscribe = function(r) {
1031
1031
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1032
- return o || a ? Xr : (this.currentObservers = null, s.push(r), new Ke(function() {
1033
- n.currentObservers = null, wt(s, r);
1032
+ return o || a ? Yr : (this.currentObservers = null, s.push(r), new tt(function() {
1033
+ n.currentObservers = null, Ot(s, r);
1034
1034
  }));
1035
1035
  }, t.prototype._checkFinalizedStatuses = function(r) {
1036
1036
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1037
1037
  i ? r.error(o) : a && r.complete();
1038
1038
  }, t.prototype.asObservable = function() {
1039
- var r = new tr();
1039
+ var r = new ar();
1040
1040
  return r.source = this, r;
1041
1041
  }, t.create = function(r, n) {
1042
- return new nr(r, n);
1042
+ return new lr(r, n);
1043
1043
  }, t;
1044
- }(tr), nr = function(e) {
1045
- Ue(t, e);
1044
+ }(ar), lr = function(e) {
1045
+ De(t, e);
1046
1046
  function t(r, n) {
1047
1047
  var i = e.call(this) || this;
1048
1048
  return i.destination = r, i.source = n, i;
@@ -1058,17 +1058,17 @@ var Ei = Vr(function(e) {
1058
1058
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1059
1059
  }, t.prototype._subscribe = function(r) {
1060
1060
  var n, i;
1061
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Xr;
1061
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Yr;
1062
1062
  }, t;
1063
- }(Qr), Yr = {
1063
+ }(en), tn = {
1064
1064
  now: function() {
1065
- return (Yr.delegate || Date).now();
1065
+ return (tn.delegate || Date).now();
1066
1066
  },
1067
1067
  delegate: void 0
1068
- }, wi = function(e) {
1069
- Ue(t, e);
1068
+ }, Li = function(e) {
1069
+ De(t, e);
1070
1070
  function t(r, n, i) {
1071
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Yr);
1071
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = tn);
1072
1072
  var o = e.call(this) || this;
1073
1073
  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;
1074
1074
  }
@@ -1088,31 +1088,31 @@ var Ei = Vr(function(e) {
1088
1088
  l && o.splice(0, l + 1);
1089
1089
  }
1090
1090
  }, t;
1091
- }(Qr);
1092
- const ir = [], or = {}, Hi = (e, t = 0) => {
1093
- if (ir.indexOf(e) == -1) {
1094
- const r = new wi(t);
1095
- or[e] = r, ir.push(e);
1091
+ }(en);
1092
+ const ur = [], cr = {}, Pi = (e, t = 0) => {
1093
+ if (ur.indexOf(e) == -1) {
1094
+ const r = new Li(t);
1095
+ cr[e] = r, ur.push(e);
1096
1096
  }
1097
- return or[e];
1098
- }, ye = [];
1099
- function Si(e, t) {
1097
+ return cr[e];
1098
+ }, _e = [];
1099
+ function Bi(e, t) {
1100
1100
  return {
1101
- subscribe: et(e, t).subscribe
1101
+ subscribe: rt(e, t).subscribe
1102
1102
  };
1103
1103
  }
1104
- function et(e, t = W) {
1104
+ function rt(e, t = W) {
1105
1105
  let r;
1106
1106
  const n = /* @__PURE__ */ new Set();
1107
1107
  function i(s) {
1108
- if (kr(e, s) && (e = s, r)) {
1109
- const u = !ye.length;
1108
+ if ($r(e, s) && (e = s, r)) {
1109
+ const u = !_e.length;
1110
1110
  for (const l of n)
1111
- l[1](), ye.push(l, e);
1111
+ l[1](), _e.push(l, e);
1112
1112
  if (u) {
1113
- for (let l = 0; l < ye.length; l += 2)
1114
- ye[l][0](ye[l + 1]);
1115
- ye.length = 0;
1113
+ for (let l = 0; l < _e.length; l += 2)
1114
+ _e[l][0](_e[l + 1]);
1115
+ _e.length = 0;
1116
1116
  }
1117
1117
  }
1118
1118
  }
@@ -1127,139 +1127,139 @@ function et(e, t = W) {
1127
1127
  }
1128
1128
  return { set: i, update: o, subscribe: a };
1129
1129
  }
1130
- function Te(e, t, r) {
1130
+ function Oe(e, t, r) {
1131
1131
  const n = !Array.isArray(e), i = n ? [e] : e;
1132
1132
  if (!i.every(Boolean))
1133
1133
  throw new Error("derived() expects stores as input, got a falsy value");
1134
1134
  const o = t.length < 2;
1135
- return Si(r, (a, s) => {
1135
+ return Bi(r, (a, s) => {
1136
1136
  let u = !1;
1137
1137
  const l = [];
1138
- let c = 0, g = W;
1139
- const f = () => {
1138
+ let c = 0, f = W;
1139
+ const g = () => {
1140
1140
  if (c)
1141
1141
  return;
1142
- g();
1142
+ f();
1143
1143
  const m = t(n ? l[0] : l, a, s);
1144
- o ? a(m) : g = Ct(m) ? m : W;
1144
+ o ? a(m) : f = kt(m) ? m : W;
1145
1145
  }, p = i.map(
1146
- (m, v) => Fr(
1146
+ (m, v) => Wr(
1147
1147
  m,
1148
1148
  (x) => {
1149
- l[v] = x, c &= ~(1 << v), u && f();
1149
+ l[v] = x, c &= ~(1 << v), u && g();
1150
1150
  },
1151
1151
  () => {
1152
1152
  c |= 1 << v;
1153
1153
  }
1154
1154
  )
1155
1155
  );
1156
- return u = !0, f(), function() {
1157
- fe(p), g(), u = !1;
1156
+ return u = !0, g(), function() {
1157
+ pe(p), f(), u = !1;
1158
1158
  };
1159
1159
  });
1160
1160
  }
1161
- function Ti(e) {
1161
+ function Ii(e) {
1162
1162
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1163
1163
  }
1164
- var Oi = function(t) {
1165
- return Mi(t) && !Ai(t);
1164
+ var Ci = function(t) {
1165
+ return Ni(t) && !Ri(t);
1166
1166
  };
1167
- function Mi(e) {
1167
+ function Ni(e) {
1168
1168
  return !!e && typeof e == "object";
1169
1169
  }
1170
- function Ai(e) {
1170
+ function Ri(e) {
1171
1171
  var t = Object.prototype.toString.call(e);
1172
- return t === "[object RegExp]" || t === "[object Date]" || Bi(e);
1172
+ return t === "[object RegExp]" || t === "[object Date]" || Di(e);
1173
1173
  }
1174
- var Li = typeof Symbol == "function" && Symbol.for, Pi = Li ? Symbol.for("react.element") : 60103;
1175
- function Bi(e) {
1176
- return e.$$typeof === Pi;
1174
+ var Ui = typeof Symbol == "function" && Symbol.for, ki = Ui ? Symbol.for("react.element") : 60103;
1175
+ function Di(e) {
1176
+ return e.$$typeof === ki;
1177
1177
  }
1178
- function Ii(e) {
1178
+ function Fi(e) {
1179
1179
  return Array.isArray(e) ? [] : {};
1180
1180
  }
1181
- function Ce(e, t) {
1182
- return t.clone !== !1 && t.isMergeableObject(e) ? Ee(Ii(e), e, t) : e;
1181
+ function Re(e, t) {
1182
+ return t.clone !== !1 && t.isMergeableObject(e) ? we(Fi(e), e, t) : e;
1183
1183
  }
1184
- function Ci(e, t, r) {
1184
+ function Gi(e, t, r) {
1185
1185
  return e.concat(t).map(function(n) {
1186
- return Ce(n, r);
1186
+ return Re(n, r);
1187
1187
  });
1188
1188
  }
1189
- function Ni(e, t) {
1189
+ function ji(e, t) {
1190
1190
  if (!t.customMerge)
1191
- return Ee;
1191
+ return we;
1192
1192
  var r = t.customMerge(e);
1193
- return typeof r == "function" ? r : Ee;
1193
+ return typeof r == "function" ? r : we;
1194
1194
  }
1195
- function Ri(e) {
1195
+ function $i(e) {
1196
1196
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1197
1197
  return Object.propertyIsEnumerable.call(e, t);
1198
1198
  }) : [];
1199
1199
  }
1200
- function ar(e) {
1201
- return Object.keys(e).concat(Ri(e));
1200
+ function hr(e) {
1201
+ return Object.keys(e).concat($i(e));
1202
1202
  }
1203
- function qr(e, t) {
1203
+ function rn(e, t) {
1204
1204
  try {
1205
1205
  return t in e;
1206
1206
  } catch (r) {
1207
1207
  return !1;
1208
1208
  }
1209
1209
  }
1210
- function Ui(e, t) {
1211
- return qr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1210
+ function Wi(e, t) {
1211
+ return rn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1212
1212
  }
1213
- function ki(e, t, r) {
1213
+ function Vi(e, t, r) {
1214
1214
  var n = {};
1215
- return r.isMergeableObject(e) && ar(e).forEach(function(i) {
1216
- n[i] = Ce(e[i], r);
1217
- }), ar(t).forEach(function(i) {
1218
- Ui(e, i) || (qr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ni(i, r)(e[i], t[i], r) : n[i] = Ce(t[i], r));
1215
+ return r.isMergeableObject(e) && hr(e).forEach(function(i) {
1216
+ n[i] = Re(e[i], r);
1217
+ }), hr(t).forEach(function(i) {
1218
+ Wi(e, i) || (rn(e, i) && r.isMergeableObject(t[i]) ? n[i] = ji(i, r)(e[i], t[i], r) : n[i] = Re(t[i], r));
1219
1219
  }), n;
1220
1220
  }
1221
- function Ee(e, t, r) {
1222
- r = r || {}, r.arrayMerge = r.arrayMerge || Ci, r.isMergeableObject = r.isMergeableObject || Oi, r.cloneUnlessOtherwiseSpecified = Ce;
1221
+ function we(e, t, r) {
1222
+ r = r || {}, r.arrayMerge = r.arrayMerge || Gi, r.isMergeableObject = r.isMergeableObject || Ci, r.cloneUnlessOtherwiseSpecified = Re;
1223
1223
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1224
- return o ? n ? r.arrayMerge(e, t, r) : ki(e, t, r) : Ce(t, r);
1224
+ return o ? n ? r.arrayMerge(e, t, r) : Vi(e, t, r) : Re(t, r);
1225
1225
  }
1226
- Ee.all = function(t, r) {
1226
+ we.all = function(t, r) {
1227
1227
  if (!Array.isArray(t))
1228
1228
  throw new Error("first argument should be an array");
1229
1229
  return t.reduce(function(n, i) {
1230
- return Ee(n, i, r);
1230
+ return we(n, i, r);
1231
1231
  }, {});
1232
1232
  };
1233
- var Fi = Ee, Di = Fi;
1234
- const Gi = /* @__PURE__ */ Ti(Di);
1235
- var St = function(e, t) {
1236
- return St = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1233
+ var Xi = we, zi = Xi;
1234
+ const Zi = /* @__PURE__ */ Ii(zi);
1235
+ var At = function(e, t) {
1236
+ return At = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1237
1237
  r.__proto__ = n;
1238
1238
  } || function(r, n) {
1239
1239
  for (var i in n)
1240
1240
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1241
- }, St(e, t);
1241
+ }, At(e, t);
1242
1242
  };
1243
- function tt(e, t) {
1243
+ function nt(e, t) {
1244
1244
  if (typeof t != "function" && t !== null)
1245
1245
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1246
- St(e, t);
1246
+ At(e, t);
1247
1247
  function r() {
1248
1248
  this.constructor = e;
1249
1249
  }
1250
1250
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1251
1251
  }
1252
- var K = function() {
1253
- return K = Object.assign || function(t) {
1252
+ var J = function() {
1253
+ return J = Object.assign || function(t) {
1254
1254
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1255
1255
  r = arguments[n];
1256
1256
  for (var o in r)
1257
1257
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1258
1258
  }
1259
1259
  return t;
1260
- }, K.apply(this, arguments);
1260
+ }, J.apply(this, arguments);
1261
1261
  };
1262
- function ji(e, t) {
1262
+ function Qi(e, t) {
1263
1263
  var r = {};
1264
1264
  for (var n in e)
1265
1265
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -1268,43 +1268,43 @@ function ji(e, t) {
1268
1268
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1269
1269
  return r;
1270
1270
  }
1271
- function ft(e, t, r) {
1271
+ function mt(e, t, r) {
1272
1272
  if (r || arguments.length === 2)
1273
1273
  for (var n = 0, i = t.length, o; n < i; n++)
1274
1274
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1275
1275
  return e.concat(o || Array.prototype.slice.call(t));
1276
1276
  }
1277
- function gt(e, t) {
1278
- var r = t && t.cache ? t.cache : Qi, n = t && t.serializer ? t.serializer : zi, i = t && t.strategy ? t.strategy : Vi;
1277
+ function bt(e, t) {
1278
+ var r = t && t.cache ? t.cache : ro, n = t && t.serializer ? t.serializer : eo, i = t && t.strategy ? t.strategy : Ji;
1279
1279
  return i(e, {
1280
1280
  cache: r,
1281
1281
  serializer: n
1282
1282
  });
1283
1283
  }
1284
- function $i(e) {
1284
+ function qi(e) {
1285
1285
  return e == null || typeof e == "number" || typeof e == "boolean";
1286
1286
  }
1287
- function Wi(e, t, r, n) {
1288
- var i = $i(n) ? n : r(n), o = t.get(i);
1287
+ function Yi(e, t, r, n) {
1288
+ var i = qi(n) ? n : r(n), o = t.get(i);
1289
1289
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1290
1290
  }
1291
- function Jr(e, t, r) {
1291
+ function nn(e, t, r) {
1292
1292
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1293
1293
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1294
1294
  }
1295
- function Kr(e, t, r, n, i) {
1295
+ function on(e, t, r, n, i) {
1296
1296
  return r.bind(t, e, n, i);
1297
1297
  }
1298
- function Vi(e, t) {
1299
- var r = e.length === 1 ? Wi : Jr;
1300
- return Kr(e, this, r, t.cache.create(), t.serializer);
1298
+ function Ji(e, t) {
1299
+ var r = e.length === 1 ? Yi : nn;
1300
+ return on(e, this, r, t.cache.create(), t.serializer);
1301
1301
  }
1302
- function Xi(e, t) {
1303
- return Kr(e, this, Jr, t.cache.create(), t.serializer);
1302
+ function Ki(e, t) {
1303
+ return on(e, this, nn, t.cache.create(), t.serializer);
1304
1304
  }
1305
- var zi = function() {
1305
+ var eo = function() {
1306
1306
  return JSON.stringify(arguments);
1307
- }, Zi = (
1307
+ }, to = (
1308
1308
  /** @class */
1309
1309
  function() {
1310
1310
  function e() {
@@ -1316,71 +1316,71 @@ var zi = function() {
1316
1316
  this.cache[t] = r;
1317
1317
  }, e;
1318
1318
  }()
1319
- ), Qi = {
1319
+ ), ro = {
1320
1320
  create: function() {
1321
- return new Zi();
1321
+ return new to();
1322
1322
  }
1323
- }, pt = {
1324
- variadic: Xi
1325
- }, Ye = function() {
1326
- return Ye = Object.assign || function(t) {
1323
+ }, yt = {
1324
+ variadic: Ki
1325
+ }, Je = function() {
1326
+ return Je = Object.assign || function(t) {
1327
1327
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1328
1328
  r = arguments[n];
1329
1329
  for (var o in r)
1330
1330
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1331
1331
  }
1332
1332
  return t;
1333
- }, Ye.apply(this, arguments);
1333
+ }, Je.apply(this, arguments);
1334
1334
  };
1335
1335
  var w;
1336
1336
  (function(e) {
1337
1337
  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";
1338
1338
  })(w || (w = {}));
1339
- var L;
1339
+ var M;
1340
1340
  (function(e) {
1341
1341
  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";
1342
- })(L || (L = {}));
1343
- var we;
1342
+ })(M || (M = {}));
1343
+ var He;
1344
1344
  (function(e) {
1345
1345
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1346
- })(we || (we = {}));
1347
- function sr(e) {
1348
- return e.type === L.literal;
1346
+ })(He || (He = {}));
1347
+ function fr(e) {
1348
+ return e.type === M.literal;
1349
1349
  }
1350
- function Yi(e) {
1351
- return e.type === L.argument;
1350
+ function no(e) {
1351
+ return e.type === M.argument;
1352
1352
  }
1353
- function en(e) {
1354
- return e.type === L.number;
1353
+ function an(e) {
1354
+ return e.type === M.number;
1355
1355
  }
1356
- function tn(e) {
1357
- return e.type === L.date;
1356
+ function sn(e) {
1357
+ return e.type === M.date;
1358
1358
  }
1359
- function rn(e) {
1360
- return e.type === L.time;
1359
+ function ln(e) {
1360
+ return e.type === M.time;
1361
1361
  }
1362
- function nn(e) {
1363
- return e.type === L.select;
1362
+ function un(e) {
1363
+ return e.type === M.select;
1364
1364
  }
1365
- function on(e) {
1366
- return e.type === L.plural;
1365
+ function cn(e) {
1366
+ return e.type === M.plural;
1367
1367
  }
1368
- function qi(e) {
1369
- return e.type === L.pound;
1368
+ function io(e) {
1369
+ return e.type === M.pound;
1370
1370
  }
1371
- function an(e) {
1372
- return e.type === L.tag;
1371
+ function hn(e) {
1372
+ return e.type === M.tag;
1373
1373
  }
1374
- function sn(e) {
1375
- return !!(e && typeof e == "object" && e.type === we.number);
1374
+ function fn(e) {
1375
+ return !!(e && typeof e == "object" && e.type === He.number);
1376
1376
  }
1377
- function Tt(e) {
1378
- return !!(e && typeof e == "object" && e.type === we.dateTime);
1377
+ function Lt(e) {
1378
+ return !!(e && typeof e == "object" && e.type === He.dateTime);
1379
1379
  }
1380
- var ln = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ji = /(?:[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;
1381
- function Ki(e) {
1380
+ var gn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, oo = /(?:[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;
1381
+ function ao(e) {
1382
1382
  var t = {};
1383
- return e.replace(Ji, function(r) {
1383
+ return e.replace(oo, function(r) {
1384
1384
  var n = r.length;
1385
1385
  switch (r[0]) {
1386
1386
  case "G":
@@ -1469,46 +1469,46 @@ function Ki(e) {
1469
1469
  return "";
1470
1470
  }), t;
1471
1471
  }
1472
- var P = function() {
1473
- return P = Object.assign || function(t) {
1472
+ var L = function() {
1473
+ return L = Object.assign || function(t) {
1474
1474
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1475
1475
  r = arguments[n];
1476
1476
  for (var o in r)
1477
1477
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1478
1478
  }
1479
1479
  return t;
1480
- }, P.apply(this, arguments);
1480
+ }, L.apply(this, arguments);
1481
1481
  };
1482
- var eo = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1483
- function to(e) {
1482
+ var so = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1483
+ function lo(e) {
1484
1484
  if (e.length === 0)
1485
1485
  throw new Error("Number skeleton cannot be empty");
1486
- for (var t = e.split(eo).filter(function(f) {
1487
- return f.length > 0;
1486
+ for (var t = e.split(so).filter(function(g) {
1487
+ return g.length > 0;
1488
1488
  }), r = [], n = 0, i = t; n < i.length; n++) {
1489
1489
  var o = i[n], a = o.split("/");
1490
1490
  if (a.length === 0)
1491
1491
  throw new Error("Invalid number skeleton");
1492
1492
  for (var s = a[0], u = a.slice(1), l = 0, c = u; l < c.length; l++) {
1493
- var g = c[l];
1494
- if (g.length === 0)
1493
+ var f = c[l];
1494
+ if (f.length === 0)
1495
1495
  throw new Error("Invalid number skeleton");
1496
1496
  }
1497
1497
  r.push({ stem: s, options: u });
1498
1498
  }
1499
1499
  return r;
1500
1500
  }
1501
- function ro(e) {
1501
+ function uo(e) {
1502
1502
  return e.replace(/^(.*?)-/, "");
1503
1503
  }
1504
- var lr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, un = /^(@+)?(\+|#+)?[rs]?$/g, no = /(\*)(0+)|(#+)(0+)|(0+)/g, cn = /^(0+)$/;
1505
- function ur(e) {
1504
+ var gr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pn = /^(@+)?(\+|#+)?[rs]?$/g, co = /(\*)(0+)|(#+)(0+)|(0+)/g, dn = /^(0+)$/;
1505
+ function pr(e) {
1506
1506
  var t = {};
1507
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(un, function(r, n, i) {
1507
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pn, function(r, n, i) {
1508
1508
  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)), "";
1509
1509
  }), t;
1510
1510
  }
1511
- function hn(e) {
1511
+ function mn(e) {
1512
1512
  switch (e) {
1513
1513
  case "sign-auto":
1514
1514
  return {
@@ -1548,7 +1548,7 @@ function hn(e) {
1548
1548
  };
1549
1549
  }
1550
1550
  }
1551
- function io(e) {
1551
+ function ho(e) {
1552
1552
  var t;
1553
1553
  if (e[0] === "E" && e[1] === "E" ? (t = {
1554
1554
  notation: "engineering"
@@ -1556,17 +1556,17 @@ function io(e) {
1556
1556
  notation: "scientific"
1557
1557
  }, e = e.slice(1)), t) {
1558
1558
  var r = e.slice(0, 2);
1559
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cn.test(e))
1559
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !dn.test(e))
1560
1560
  throw new Error("Malformed concise eng/scientific notation");
1561
1561
  t.minimumIntegerDigits = e.length;
1562
1562
  }
1563
1563
  return t;
1564
1564
  }
1565
- function cr(e) {
1566
- var t = {}, r = hn(e);
1565
+ function dr(e) {
1566
+ var t = {}, r = mn(e);
1567
1567
  return r || t;
1568
1568
  }
1569
- function oo(e) {
1569
+ function fo(e) {
1570
1570
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1571
1571
  var i = n[r];
1572
1572
  switch (i.stem) {
@@ -1590,7 +1590,7 @@ function oo(e) {
1590
1590
  continue;
1591
1591
  case "measure-unit":
1592
1592
  case "unit":
1593
- t.style = "unit", t.unit = ro(i.options[0]);
1593
+ t.style = "unit", t.unit = uo(i.options[0]);
1594
1594
  continue;
1595
1595
  case "compact-short":
1596
1596
  case "K":
@@ -1601,13 +1601,13 @@ function oo(e) {
1601
1601
  t.notation = "compact", t.compactDisplay = "long";
1602
1602
  continue;
1603
1603
  case "scientific":
1604
- t = P(P(P({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1605
- return P(P({}, u), cr(l));
1604
+ t = L(L(L({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1605
+ return L(L({}, u), dr(l));
1606
1606
  }, {}));
1607
1607
  continue;
1608
1608
  case "engineering":
1609
- t = P(P(P({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1610
- return P(P({}, u), cr(l));
1609
+ t = L(L(L({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1610
+ return L(L({}, u), dr(l));
1611
1611
  }, {}));
1612
1612
  continue;
1613
1613
  case "notation-simple":
@@ -1652,11 +1652,11 @@ function oo(e) {
1652
1652
  case "integer-width":
1653
1653
  if (i.options.length > 1)
1654
1654
  throw new RangeError("integer-width stems only accept a single optional option");
1655
- i.options[0].replace(no, function(u, l, c, g, f, p) {
1655
+ i.options[0].replace(co, function(u, l, c, f, g, p) {
1656
1656
  if (l)
1657
1657
  t.minimumIntegerDigits = c.length;
1658
1658
  else {
1659
- if (g && f)
1659
+ if (f && g)
1660
1660
  throw new Error("We currently do not support maximum integer digits");
1661
1661
  if (p)
1662
1662
  throw new Error("We currently do not support exact integer digits");
@@ -1665,32 +1665,32 @@ function oo(e) {
1665
1665
  });
1666
1666
  continue;
1667
1667
  }
1668
- if (cn.test(i.stem)) {
1668
+ if (dn.test(i.stem)) {
1669
1669
  t.minimumIntegerDigits = i.stem.length;
1670
1670
  continue;
1671
1671
  }
1672
- if (lr.test(i.stem)) {
1672
+ if (gr.test(i.stem)) {
1673
1673
  if (i.options.length > 1)
1674
1674
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1675
- i.stem.replace(lr, function(u, l, c, g, f, p) {
1676
- return c === "*" ? t.minimumFractionDigits = l.length : g && g[0] === "#" ? t.maximumFractionDigits = g.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1675
+ i.stem.replace(gr, function(u, l, c, f, g, p) {
1676
+ return c === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : g && p ? (t.minimumFractionDigits = g.length, t.maximumFractionDigits = g.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1677
1677
  });
1678
1678
  var o = i.options[0];
1679
- o === "w" ? t = P(P({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = P(P({}, t), ur(o)));
1679
+ o === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = L(L({}, t), pr(o)));
1680
1680
  continue;
1681
1681
  }
1682
- if (un.test(i.stem)) {
1683
- t = P(P({}, t), ur(i.stem));
1682
+ if (pn.test(i.stem)) {
1683
+ t = L(L({}, t), pr(i.stem));
1684
1684
  continue;
1685
1685
  }
1686
- var a = hn(i.stem);
1687
- a && (t = P(P({}, t), a));
1688
- var s = io(i.stem);
1689
- s && (t = P(P({}, t), s));
1686
+ var a = mn(i.stem);
1687
+ a && (t = L(L({}, t), a));
1688
+ var s = ho(i.stem);
1689
+ s && (t = L(L({}, t), s));
1690
1690
  }
1691
1691
  return t;
1692
1692
  }
1693
- var je = {
1693
+ var We = {
1694
1694
  "001": [
1695
1695
  "H",
1696
1696
  "h"
@@ -3105,13 +3105,13 @@ var je = {
3105
3105
  "h"
3106
3106
  ]
3107
3107
  };
3108
- function ao(e, t) {
3108
+ function go(e, t) {
3109
3109
  for (var r = "", n = 0; n < e.length; n++) {
3110
3110
  var i = e.charAt(n);
3111
3111
  if (i === "j") {
3112
3112
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3113
3113
  o++, n++;
3114
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = so(t);
3114
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = po(t);
3115
3115
  for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
3116
3116
  r += u;
3117
3117
  for (; a-- > 0; )
@@ -3121,7 +3121,7 @@ function ao(e, t) {
3121
3121
  }
3122
3122
  return r;
3123
3123
  }
3124
- function so(e) {
3124
+ function po(e) {
3125
3125
  var t = e.hourCycle;
3126
3126
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3127
3127
  e.hourCycles && // @ts-ignore
@@ -3140,23 +3140,23 @@ function so(e) {
3140
3140
  }
3141
3141
  var r = e.language, n;
3142
3142
  r !== "root" && (n = e.maximize().region);
3143
- var i = je[n || ""] || je[r || ""] || je["".concat(r, "-001")] || je["001"];
3143
+ var i = We[n || ""] || We[r || ""] || We["".concat(r, "-001")] || We["001"];
3144
3144
  return i[0];
3145
3145
  }
3146
- var dt, lo = new RegExp("^".concat(ln.source, "*")), uo = new RegExp("".concat(ln.source, "*$"));
3146
+ var vt, mo = new RegExp("^".concat(gn.source, "*")), bo = new RegExp("".concat(gn.source, "*$"));
3147
3147
  function H(e, t) {
3148
3148
  return { start: e, end: t };
3149
3149
  }
3150
- var co = !!String.prototype.startsWith && "_a".startsWith("a", 1), ho = !!String.fromCodePoint, fo = !!Object.fromEntries, go = !!String.prototype.codePointAt, po = !!String.prototype.trimStart, mo = !!String.prototype.trimEnd, bo = !!Number.isSafeInteger, vo = bo ? Number.isSafeInteger : function(e) {
3150
+ var yo = !!String.prototype.startsWith && "_a".startsWith("a", 1), vo = !!String.fromCodePoint, _o = !!Object.fromEntries, xo = !!String.prototype.codePointAt, Eo = !!String.prototype.trimStart, wo = !!String.prototype.trimEnd, Ho = !!Number.isSafeInteger, So = Ho ? Number.isSafeInteger : function(e) {
3151
3151
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3152
- }, Ot = !0;
3152
+ }, Pt = !0;
3153
3153
  try {
3154
- var yo = gn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3155
- Ot = ((dt = yo.exec("a")) === null || dt === void 0 ? void 0 : dt[0]) === "a";
3154
+ var To = yn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3155
+ Pt = ((vt = To.exec("a")) === null || vt === void 0 ? void 0 : vt[0]) === "a";
3156
3156
  } catch (e) {
3157
- Ot = !1;
3157
+ Pt = !1;
3158
3158
  }
3159
- var hr = co ? (
3159
+ var mr = yo ? (
3160
3160
  // Native
3161
3161
  function(t, r, n) {
3162
3162
  return t.startsWith(r, n);
@@ -3166,7 +3166,7 @@ var hr = co ? (
3166
3166
  function(t, r, n) {
3167
3167
  return t.slice(n, n + r.length) === r;
3168
3168
  }
3169
- ), Mt = ho ? String.fromCodePoint : (
3169
+ ), Bt = vo ? String.fromCodePoint : (
3170
3170
  // IE11
3171
3171
  function() {
3172
3172
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3178,9 +3178,9 @@ var hr = co ? (
3178
3178
  }
3179
3179
  return n;
3180
3180
  }
3181
- ), fr = (
3181
+ ), br = (
3182
3182
  // native
3183
- fo ? Object.fromEntries : (
3183
+ _o ? Object.fromEntries : (
3184
3184
  // Ponyfill
3185
3185
  function(t) {
3186
3186
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3190,7 +3190,7 @@ var hr = co ? (
3190
3190
  return r;
3191
3191
  }
3192
3192
  )
3193
- ), fn = go ? (
3193
+ ), bn = xo ? (
3194
3194
  // Native
3195
3195
  function(t, r) {
3196
3196
  return t.codePointAt(r);
@@ -3204,7 +3204,7 @@ var hr = co ? (
3204
3204
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3205
3205
  }
3206
3206
  }
3207
- ), _o = po ? (
3207
+ ), Oo = Eo ? (
3208
3208
  // Native
3209
3209
  function(t) {
3210
3210
  return t.trimStart();
@@ -3212,9 +3212,9 @@ var hr = co ? (
3212
3212
  ) : (
3213
3213
  // Ponyfill
3214
3214
  function(t) {
3215
- return t.replace(lo, "");
3215
+ return t.replace(mo, "");
3216
3216
  }
3217
- ), xo = mo ? (
3217
+ ), Mo = wo ? (
3218
3218
  // Native
3219
3219
  function(t) {
3220
3220
  return t.trimEnd();
@@ -3222,32 +3222,32 @@ var hr = co ? (
3222
3222
  ) : (
3223
3223
  // Ponyfill
3224
3224
  function(t) {
3225
- return t.replace(uo, "");
3225
+ return t.replace(bo, "");
3226
3226
  }
3227
3227
  );
3228
- function gn(e, t) {
3228
+ function yn(e, t) {
3229
3229
  return new RegExp(e, t);
3230
3230
  }
3231
- var At;
3232
- if (Ot) {
3233
- var gr = gn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3234
- At = function(t, r) {
3231
+ var It;
3232
+ if (Pt) {
3233
+ var yr = yn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3234
+ It = function(t, r) {
3235
3235
  var n;
3236
- gr.lastIndex = r;
3237
- var i = gr.exec(t);
3236
+ yr.lastIndex = r;
3237
+ var i = yr.exec(t);
3238
3238
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3239
3239
  };
3240
3240
  } else
3241
- At = function(t, r) {
3241
+ It = function(t, r) {
3242
3242
  for (var n = []; ; ) {
3243
- var i = fn(t, r);
3244
- if (i === void 0 || pn(i) || So(i))
3243
+ var i = bn(t, r);
3244
+ if (i === void 0 || vn(i) || Bo(i))
3245
3245
  break;
3246
3246
  n.push(i), r += i >= 65536 ? 2 : 1;
3247
3247
  }
3248
- return Mt.apply(void 0, n);
3248
+ return Bt.apply(void 0, n);
3249
3249
  };
3250
- var Eo = (
3250
+ var Ao = (
3251
3251
  /** @class */
3252
3252
  function() {
3253
3253
  function e(t, r) {
@@ -3271,14 +3271,14 @@ var Eo = (
3271
3271
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3272
3272
  var s = this.clonePosition();
3273
3273
  this.bump(), i.push({
3274
- type: L.pound,
3274
+ type: M.pound,
3275
3275
  location: H(s, this.clonePosition())
3276
3276
  });
3277
3277
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3278
3278
  if (n)
3279
3279
  break;
3280
3280
  return this.error(w.UNMATCHED_CLOSING_TAG, H(this.clonePosition(), this.clonePosition()));
3281
- } else if (o === 60 && !this.ignoreTag && Lt(this.peek() || 0)) {
3281
+ } else if (o === 60 && !this.ignoreTag && Ct(this.peek() || 0)) {
3282
3282
  var a = this.parseTag(t, r);
3283
3283
  if (a.err)
3284
3284
  return a;
@@ -3299,7 +3299,7 @@ var Eo = (
3299
3299
  if (this.bumpSpace(), this.bumpIf("/>"))
3300
3300
  return {
3301
3301
  val: {
3302
- type: L.literal,
3302
+ type: M.literal,
3303
3303
  value: "<".concat(i, "/>"),
3304
3304
  location: H(n, this.clonePosition())
3305
3305
  },
@@ -3311,12 +3311,12 @@ var Eo = (
3311
3311
  return o;
3312
3312
  var a = o.val, s = this.clonePosition();
3313
3313
  if (this.bumpIf("</")) {
3314
- if (this.isEOF() || !Lt(this.char()))
3314
+ if (this.isEOF() || !Ct(this.char()))
3315
3315
  return this.error(w.INVALID_TAG, H(s, this.clonePosition()));
3316
3316
  var u = this.clonePosition(), l = this.parseTagName();
3317
3317
  return i !== l ? this.error(w.UNMATCHED_CLOSING_TAG, H(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3318
3318
  val: {
3319
- type: L.tag,
3319
+ type: M.tag,
3320
3320
  value: i,
3321
3321
  children: a,
3322
3322
  location: H(n, this.clonePosition())
@@ -3329,7 +3329,7 @@ var Eo = (
3329
3329
  return this.error(w.INVALID_TAG, H(n, this.clonePosition()));
3330
3330
  }, e.prototype.parseTagName = function() {
3331
3331
  var t = this.offset();
3332
- for (this.bump(); !this.isEOF() && Ho(this.char()); )
3332
+ for (this.bump(); !this.isEOF() && Po(this.char()); )
3333
3333
  this.bump();
3334
3334
  return this.message.slice(t, this.offset());
3335
3335
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3353,12 +3353,12 @@ var Eo = (
3353
3353
  }
3354
3354
  var u = H(n, this.clonePosition());
3355
3355
  return {
3356
- val: { type: L.literal, value: i, location: u },
3356
+ val: { type: M.literal, value: i, location: u },
3357
3357
  err: null
3358
3358
  };
3359
3359
  }, e.prototype.tryParseLeftAngleBracket = function() {
3360
3360
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3361
- !wo(this.peek() || 0)) ? (this.bump(), "<") : null;
3361
+ !Lo(this.peek() || 0)) ? (this.bump(), "<") : null;
3362
3362
  }, e.prototype.tryParseQuote = function(t) {
3363
3363
  if (this.isEOF() || this.char() !== 39)
3364
3364
  return null;
@@ -3392,12 +3392,12 @@ var Eo = (
3392
3392
  r.push(n);
3393
3393
  this.bump();
3394
3394
  }
3395
- return Mt.apply(void 0, r);
3395
+ return Bt.apply(void 0, r);
3396
3396
  }, e.prototype.tryParseUnquoted = function(t, r) {
3397
3397
  if (this.isEOF())
3398
3398
  return null;
3399
3399
  var n = this.char();
3400
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Mt(n));
3400
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Bt(n));
3401
3401
  }, e.prototype.parseArgument = function(t, r) {
3402
3402
  var n = this.clonePosition();
3403
3403
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3413,7 +3413,7 @@ var Eo = (
3413
3413
  case 125:
3414
3414
  return this.bump(), {
3415
3415
  val: {
3416
- type: L.argument,
3416
+ type: M.argument,
3417
3417
  // value does not include the opening and closing braces.
3418
3418
  value: i,
3419
3419
  location: H(n, this.clonePosition())
@@ -3426,7 +3426,7 @@ var Eo = (
3426
3426
  return this.error(w.MALFORMED_ARGUMENT, H(n, this.clonePosition()));
3427
3427
  }
3428
3428
  }, e.prototype.parseIdentifierIfPossible = function() {
3429
- var t = this.clonePosition(), r = this.offset(), n = At(this.message, r), i = r + n.length;
3429
+ var t = this.clonePosition(), r = this.offset(), n = It(this.message, r), i = r + n.length;
3430
3430
  this.bumpTo(i);
3431
3431
  var o = this.clonePosition(), a = H(t, o);
3432
3432
  return { value: n, location: a };
@@ -3442,47 +3442,47 @@ var Eo = (
3442
3442
  var l = null;
3443
3443
  if (this.bumpIf(",")) {
3444
3444
  this.bumpSpace();
3445
- var c = this.clonePosition(), g = this.parseSimpleArgStyleIfPossible();
3446
- if (g.err)
3447
- return g;
3448
- var f = xo(g.val);
3449
- if (f.length === 0)
3445
+ var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3446
+ if (f.err)
3447
+ return f;
3448
+ var g = Mo(f.val);
3449
+ if (g.length === 0)
3450
3450
  return this.error(w.EXPECT_ARGUMENT_STYLE, H(this.clonePosition(), this.clonePosition()));
3451
3451
  var p = H(c, this.clonePosition());
3452
- l = { style: f, styleLocation: p };
3452
+ l = { style: g, styleLocation: p };
3453
3453
  }
3454
3454
  var m = this.tryParseArgumentClose(i);
3455
3455
  if (m.err)
3456
3456
  return m;
3457
3457
  var v = H(i, this.clonePosition());
3458
- if (l && hr(l == null ? void 0 : l.style, "::", 0)) {
3459
- var x = _o(l.style.slice(2));
3458
+ if (l && mr(l == null ? void 0 : l.style, "::", 0)) {
3459
+ var x = Oo(l.style.slice(2));
3460
3460
  if (s === "number") {
3461
- var g = this.parseNumberSkeletonFromString(x, l.styleLocation);
3462
- return g.err ? g : {
3463
- val: { type: L.number, value: n, location: v, style: g.val },
3461
+ var f = this.parseNumberSkeletonFromString(x, l.styleLocation);
3462
+ return f.err ? f : {
3463
+ val: { type: M.number, value: n, location: v, style: f.val },
3464
3464
  err: null
3465
3465
  };
3466
3466
  } else {
3467
3467
  if (x.length === 0)
3468
3468
  return this.error(w.EXPECT_DATE_TIME_SKELETON, v);
3469
3469
  var E = x;
3470
- this.locale && (E = ao(x, this.locale));
3471
- var f = {
3472
- type: we.dateTime,
3470
+ this.locale && (E = go(x, this.locale));
3471
+ var g = {
3472
+ type: He.dateTime,
3473
3473
  pattern: E,
3474
3474
  location: l.styleLocation,
3475
- parsedOptions: this.shouldParseSkeletons ? Ki(E) : {}
3476
- }, S = s === "date" ? L.date : L.time;
3475
+ parsedOptions: this.shouldParseSkeletons ? ao(E) : {}
3476
+ }, T = s === "date" ? M.date : M.time;
3477
3477
  return {
3478
- val: { type: S, value: n, location: v, style: f },
3478
+ val: { type: T, value: n, location: v, style: g },
3479
3479
  err: null
3480
3480
  };
3481
3481
  }
3482
3482
  }
3483
3483
  return {
3484
3484
  val: {
3485
- type: s === "number" ? L.number : s === "date" ? L.date : L.time,
3485
+ type: s === "number" ? M.number : s === "date" ? M.date : M.time,
3486
3486
  value: n,
3487
3487
  location: v,
3488
3488
  style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
@@ -3493,41 +3493,41 @@ var Eo = (
3493
3493
  case "plural":
3494
3494
  case "selectordinal":
3495
3495
  case "select": {
3496
- var T = this.clonePosition();
3496
+ var O = this.clonePosition();
3497
3497
  if (this.bumpSpace(), !this.bumpIf(","))
3498
- return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, H(T, Ye({}, T)));
3498
+ return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, H(O, Je({}, O)));
3499
3499
  this.bumpSpace();
3500
- var G = this.parseIdentifierIfPossible(), k = 0;
3501
- if (s !== "select" && G.value === "offset") {
3500
+ var U = this.parseIdentifierIfPossible(), F = 0;
3501
+ if (s !== "select" && U.value === "offset") {
3502
3502
  if (!this.bumpIf(":"))
3503
3503
  return this.error(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H(this.clonePosition(), this.clonePosition()));
3504
3504
  this.bumpSpace();
3505
- var g = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3506
- if (g.err)
3507
- return g;
3508
- this.bumpSpace(), G = this.parseIdentifierIfPossible(), k = g.val;
3505
+ var f = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3506
+ if (f.err)
3507
+ return f;
3508
+ this.bumpSpace(), U = this.parseIdentifierIfPossible(), F = f.val;
3509
3509
  }
3510
- var z = this.tryParsePluralOrSelectOptions(t, s, r, G);
3511
- if (z.err)
3512
- return z;
3510
+ var Q = this.tryParsePluralOrSelectOptions(t, s, r, U);
3511
+ if (Q.err)
3512
+ return Q;
3513
3513
  var m = this.tryParseArgumentClose(i);
3514
3514
  if (m.err)
3515
3515
  return m;
3516
3516
  var Z = H(i, this.clonePosition());
3517
3517
  return s === "select" ? {
3518
3518
  val: {
3519
- type: L.select,
3519
+ type: M.select,
3520
3520
  value: n,
3521
- options: fr(z.val),
3521
+ options: br(Q.val),
3522
3522
  location: Z
3523
3523
  },
3524
3524
  err: null
3525
3525
  } : {
3526
3526
  val: {
3527
- type: L.plural,
3527
+ type: M.plural,
3528
3528
  value: n,
3529
- options: fr(z.val),
3530
- offset: k,
3529
+ options: br(Q.val),
3530
+ offset: F,
3531
3531
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3532
3532
  location: Z
3533
3533
  },
@@ -3577,28 +3577,28 @@ var Eo = (
3577
3577
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3578
3578
  var n = [];
3579
3579
  try {
3580
- n = to(t);
3580
+ n = lo(t);
3581
3581
  } catch (i) {
3582
3582
  return this.error(w.INVALID_NUMBER_SKELETON, r);
3583
3583
  }
3584
3584
  return {
3585
3585
  val: {
3586
- type: we.number,
3586
+ type: He.number,
3587
3587
  tokens: n,
3588
3588
  location: r,
3589
- parsedOptions: this.shouldParseSkeletons ? oo(n) : {}
3589
+ parsedOptions: this.shouldParseSkeletons ? fo(n) : {}
3590
3590
  },
3591
3591
  err: null
3592
3592
  };
3593
3593
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3594
3594
  for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
3595
3595
  if (l.length === 0) {
3596
- var g = this.clonePosition();
3596
+ var f = this.clonePosition();
3597
3597
  if (r !== "select" && this.bumpIf("=")) {
3598
- var f = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_SELECTOR, w.INVALID_PLURAL_ARGUMENT_SELECTOR);
3599
- if (f.err)
3600
- return f;
3601
- c = H(g, this.clonePosition()), l = this.message.slice(g.offset, this.offset());
3598
+ var g = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_SELECTOR, w.INVALID_PLURAL_ARGUMENT_SELECTOR);
3599
+ if (g.err)
3600
+ return g;
3601
+ c = H(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
3602
3602
  } else
3603
3603
  break;
3604
3604
  }
@@ -3634,7 +3634,7 @@ var Eo = (
3634
3634
  break;
3635
3635
  }
3636
3636
  var u = H(i, this.clonePosition());
3637
- return o ? (a *= n, vo(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
3637
+ return o ? (a *= n, So(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
3638
3638
  }, e.prototype.offset = function() {
3639
3639
  return this.position.offset;
3640
3640
  }, e.prototype.isEOF = function() {
@@ -3649,7 +3649,7 @@ var Eo = (
3649
3649
  var t = this.position.offset;
3650
3650
  if (t >= this.message.length)
3651
3651
  throw Error("out of bound");
3652
- var r = fn(this.message, t);
3652
+ var r = bn(this.message, t);
3653
3653
  if (r === void 0)
3654
3654
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3655
3655
  return r;
@@ -3668,7 +3668,7 @@ var Eo = (
3668
3668
  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);
3669
3669
  }
3670
3670
  }, e.prototype.bumpIf = function(t) {
3671
- if (hr(this.message, t, this.offset())) {
3671
+ if (mr(this.message, t, this.offset())) {
3672
3672
  for (var r = 0; r < t.length; r++)
3673
3673
  this.bump();
3674
3674
  return !0;
@@ -3690,7 +3690,7 @@ var Eo = (
3690
3690
  break;
3691
3691
  }
3692
3692
  }, e.prototype.bumpSpace = function() {
3693
- for (; !this.isEOF() && pn(this.char()); )
3693
+ for (; !this.isEOF() && vn(this.char()); )
3694
3694
  this.bump();
3695
3695
  }, e.prototype.peek = function() {
3696
3696
  if (this.isEOF())
@@ -3700,47 +3700,47 @@ var Eo = (
3700
3700
  }, e;
3701
3701
  }()
3702
3702
  );
3703
- function Lt(e) {
3703
+ function Ct(e) {
3704
3704
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3705
3705
  }
3706
- function wo(e) {
3707
- return Lt(e) || e === 47;
3706
+ function Lo(e) {
3707
+ return Ct(e) || e === 47;
3708
3708
  }
3709
- function Ho(e) {
3709
+ function Po(e) {
3710
3710
  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;
3711
3711
  }
3712
- function pn(e) {
3712
+ function vn(e) {
3713
3713
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3714
3714
  }
3715
- function So(e) {
3715
+ function Bo(e) {
3716
3716
  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;
3717
3717
  }
3718
- function Pt(e) {
3718
+ function Nt(e) {
3719
3719
  e.forEach(function(t) {
3720
- if (delete t.location, nn(t) || on(t))
3720
+ if (delete t.location, un(t) || cn(t))
3721
3721
  for (var r in t.options)
3722
- delete t.options[r].location, Pt(t.options[r].value);
3722
+ delete t.options[r].location, Nt(t.options[r].value);
3723
3723
  else
3724
- en(t) && sn(t.style) || (tn(t) || rn(t)) && Tt(t.style) ? delete t.style.location : an(t) && Pt(t.children);
3724
+ an(t) && fn(t.style) || (sn(t) || ln(t)) && Lt(t.style) ? delete t.style.location : hn(t) && Nt(t.children);
3725
3725
  });
3726
3726
  }
3727
- function To(e, t) {
3728
- t === void 0 && (t = {}), t = Ye({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3729
- var r = new Eo(e, t).parse();
3727
+ function Io(e, t) {
3728
+ t === void 0 && (t = {}), t = Je({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3729
+ var r = new Ao(e, t).parse();
3730
3730
  if (r.err) {
3731
3731
  var n = SyntaxError(w[r.err.kind]);
3732
3732
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3733
3733
  }
3734
- return t != null && t.captureLocation || Pt(r.val), r.val;
3734
+ return t != null && t.captureLocation || Nt(r.val), r.val;
3735
3735
  }
3736
- var He;
3736
+ var Se;
3737
3737
  (function(e) {
3738
3738
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3739
- })(He || (He = {}));
3740
- var rt = (
3739
+ })(Se || (Se = {}));
3740
+ var it = (
3741
3741
  /** @class */
3742
3742
  function(e) {
3743
- tt(t, e);
3743
+ nt(t, e);
3744
3744
  function t(r, n, i) {
3745
3745
  var o = e.call(this, r) || this;
3746
3746
  return o.code = n, o.originalMessage = i, o;
@@ -3749,155 +3749,155 @@ var rt = (
3749
3749
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3750
3750
  }, t;
3751
3751
  }(Error)
3752
- ), pr = (
3752
+ ), vr = (
3753
3753
  /** @class */
3754
3754
  function(e) {
3755
- tt(t, e);
3755
+ nt(t, e);
3756
3756
  function t(r, n, i, o) {
3757
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), He.INVALID_VALUE, o) || this;
3757
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Se.INVALID_VALUE, o) || this;
3758
3758
  }
3759
3759
  return t;
3760
- }(rt)
3761
- ), Oo = (
3760
+ }(it)
3761
+ ), Co = (
3762
3762
  /** @class */
3763
3763
  function(e) {
3764
- tt(t, e);
3764
+ nt(t, e);
3765
3765
  function t(r, n, i) {
3766
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), He.INVALID_VALUE, i) || this;
3766
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Se.INVALID_VALUE, i) || this;
3767
3767
  }
3768
3768
  return t;
3769
- }(rt)
3770
- ), Mo = (
3769
+ }(it)
3770
+ ), No = (
3771
3771
  /** @class */
3772
3772
  function(e) {
3773
- tt(t, e);
3773
+ nt(t, e);
3774
3774
  function t(r, n) {
3775
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), He.MISSING_VALUE, n) || this;
3775
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Se.MISSING_VALUE, n) || this;
3776
3776
  }
3777
3777
  return t;
3778
- }(rt)
3779
- ), D;
3778
+ }(it)
3779
+ ), G;
3780
3780
  (function(e) {
3781
3781
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3782
- })(D || (D = {}));
3783
- function Ao(e) {
3782
+ })(G || (G = {}));
3783
+ function Ro(e) {
3784
3784
  return e.length < 2 ? e : e.reduce(function(t, r) {
3785
3785
  var n = t[t.length - 1];
3786
- return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
3786
+ return !n || n.type !== G.literal || r.type !== G.literal ? t.push(r) : n.value += r.value, t;
3787
3787
  }, []);
3788
3788
  }
3789
- function Lo(e) {
3789
+ function Uo(e) {
3790
3790
  return typeof e == "function";
3791
3791
  }
3792
- function Xe(e, t, r, n, i, o, a) {
3793
- if (e.length === 1 && sr(e[0]))
3792
+ function Ze(e, t, r, n, i, o, a) {
3793
+ if (e.length === 1 && fr(e[0]))
3794
3794
  return [
3795
3795
  {
3796
- type: D.literal,
3796
+ type: G.literal,
3797
3797
  value: e[0].value
3798
3798
  }
3799
3799
  ];
3800
3800
  for (var s = [], u = 0, l = e; u < l.length; u++) {
3801
3801
  var c = l[u];
3802
- if (sr(c)) {
3802
+ if (fr(c)) {
3803
3803
  s.push({
3804
- type: D.literal,
3804
+ type: G.literal,
3805
3805
  value: c.value
3806
3806
  });
3807
3807
  continue;
3808
3808
  }
3809
- if (qi(c)) {
3809
+ if (io(c)) {
3810
3810
  typeof o == "number" && s.push({
3811
- type: D.literal,
3811
+ type: G.literal,
3812
3812
  value: r.getNumberFormat(t).format(o)
3813
3813
  });
3814
3814
  continue;
3815
3815
  }
3816
- var g = c.value;
3817
- if (!(i && g in i))
3818
- throw new Mo(g, a);
3819
- var f = i[g];
3820
- if (Yi(c)) {
3821
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3822
- type: typeof f == "string" ? D.literal : D.object,
3823
- value: f
3816
+ var f = c.value;
3817
+ if (!(i && f in i))
3818
+ throw new No(f, a);
3819
+ var g = i[f];
3820
+ if (no(c)) {
3821
+ (!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), s.push({
3822
+ type: typeof g == "string" ? G.literal : G.object,
3823
+ value: g
3824
3824
  });
3825
3825
  continue;
3826
3826
  }
3827
- if (tn(c)) {
3828
- var p = typeof c.style == "string" ? n.date[c.style] : Tt(c.style) ? c.style.parsedOptions : void 0;
3827
+ if (sn(c)) {
3828
+ var p = typeof c.style == "string" ? n.date[c.style] : Lt(c.style) ? c.style.parsedOptions : void 0;
3829
3829
  s.push({
3830
- type: D.literal,
3831
- value: r.getDateTimeFormat(t, p).format(f)
3830
+ type: G.literal,
3831
+ value: r.getDateTimeFormat(t, p).format(g)
3832
3832
  });
3833
3833
  continue;
3834
3834
  }
3835
- if (rn(c)) {
3836
- var p = typeof c.style == "string" ? n.time[c.style] : Tt(c.style) ? c.style.parsedOptions : n.time.medium;
3835
+ if (ln(c)) {
3836
+ var p = typeof c.style == "string" ? n.time[c.style] : Lt(c.style) ? c.style.parsedOptions : n.time.medium;
3837
3837
  s.push({
3838
- type: D.literal,
3839
- value: r.getDateTimeFormat(t, p).format(f)
3838
+ type: G.literal,
3839
+ value: r.getDateTimeFormat(t, p).format(g)
3840
3840
  });
3841
3841
  continue;
3842
3842
  }
3843
- if (en(c)) {
3844
- var p = typeof c.style == "string" ? n.number[c.style] : sn(c.style) ? c.style.parsedOptions : void 0;
3845
- p && p.scale && (f = f * (p.scale || 1)), s.push({
3846
- type: D.literal,
3847
- value: r.getNumberFormat(t, p).format(f)
3843
+ if (an(c)) {
3844
+ var p = typeof c.style == "string" ? n.number[c.style] : fn(c.style) ? c.style.parsedOptions : void 0;
3845
+ p && p.scale && (g = g * (p.scale || 1)), s.push({
3846
+ type: G.literal,
3847
+ value: r.getNumberFormat(t, p).format(g)
3848
3848
  });
3849
3849
  continue;
3850
3850
  }
3851
- if (an(c)) {
3851
+ if (hn(c)) {
3852
3852
  var m = c.children, v = c.value, x = i[v];
3853
- if (!Lo(x))
3854
- throw new Oo(v, "function", a);
3855
- var E = Xe(m, t, r, n, i, o), S = x(E.map(function(k) {
3856
- return k.value;
3853
+ if (!Uo(x))
3854
+ throw new Co(v, "function", a);
3855
+ var E = Ze(m, t, r, n, i, o), T = x(E.map(function(F) {
3856
+ return F.value;
3857
3857
  }));
3858
- Array.isArray(S) || (S = [S]), s.push.apply(s, S.map(function(k) {
3858
+ Array.isArray(T) || (T = [T]), s.push.apply(s, T.map(function(F) {
3859
3859
  return {
3860
- type: typeof k == "string" ? D.literal : D.object,
3861
- value: k
3860
+ type: typeof F == "string" ? G.literal : G.object,
3861
+ value: F
3862
3862
  };
3863
3863
  }));
3864
3864
  }
3865
- if (nn(c)) {
3866
- var T = c.options[f] || c.options.other;
3867
- if (!T)
3868
- throw new pr(c.value, f, Object.keys(c.options), a);
3869
- s.push.apply(s, Xe(T.value, t, r, n, i));
3865
+ if (un(c)) {
3866
+ var O = c.options[g] || c.options.other;
3867
+ if (!O)
3868
+ throw new vr(c.value, g, Object.keys(c.options), a);
3869
+ s.push.apply(s, Ze(O.value, t, r, n, i));
3870
3870
  continue;
3871
3871
  }
3872
- if (on(c)) {
3873
- var T = c.options["=".concat(f)];
3874
- if (!T) {
3872
+ if (cn(c)) {
3873
+ var O = c.options["=".concat(g)];
3874
+ if (!O) {
3875
3875
  if (!Intl.PluralRules)
3876
- throw new rt(`Intl.PluralRules is not available in this environment.
3876
+ throw new it(`Intl.PluralRules is not available in this environment.
3877
3877
  Try polyfilling it using "@formatjs/intl-pluralrules"
3878
- `, He.MISSING_INTL_API, a);
3879
- var G = r.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
3880
- T = c.options[G] || c.options.other;
3878
+ `, Se.MISSING_INTL_API, a);
3879
+ var U = r.getPluralRules(t, { type: c.pluralType }).select(g - (c.offset || 0));
3880
+ O = c.options[U] || c.options.other;
3881
3881
  }
3882
- if (!T)
3883
- throw new pr(c.value, f, Object.keys(c.options), a);
3884
- s.push.apply(s, Xe(T.value, t, r, n, i, f - (c.offset || 0)));
3882
+ if (!O)
3883
+ throw new vr(c.value, g, Object.keys(c.options), a);
3884
+ s.push.apply(s, Ze(O.value, t, r, n, i, g - (c.offset || 0)));
3885
3885
  continue;
3886
3886
  }
3887
3887
  }
3888
- return Ao(s);
3888
+ return Ro(s);
3889
3889
  }
3890
- function Po(e, t) {
3891
- return t ? K(K(K({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3892
- return r[n] = K(K({}, e[n]), t[n] || {}), r;
3890
+ function ko(e, t) {
3891
+ return t ? J(J(J({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3892
+ return r[n] = J(J({}, e[n]), t[n] || {}), r;
3893
3893
  }, {})) : e;
3894
3894
  }
3895
- function Bo(e, t) {
3895
+ function Do(e, t) {
3896
3896
  return t ? Object.keys(e).reduce(function(r, n) {
3897
- return r[n] = Po(e[n], t[n]), r;
3898
- }, K({}, e)) : e;
3897
+ return r[n] = ko(e[n], t[n]), r;
3898
+ }, J({}, e)) : e;
3899
3899
  }
3900
- function mt(e) {
3900
+ function _t(e) {
3901
3901
  return {
3902
3902
  create: function() {
3903
3903
  return {
@@ -3911,39 +3911,39 @@ function mt(e) {
3911
3911
  }
3912
3912
  };
3913
3913
  }
3914
- function Io(e) {
3914
+ function Fo(e) {
3915
3915
  return e === void 0 && (e = {
3916
3916
  number: {},
3917
3917
  dateTime: {},
3918
3918
  pluralRules: {}
3919
3919
  }), {
3920
- getNumberFormat: gt(function() {
3920
+ getNumberFormat: bt(function() {
3921
3921
  for (var t, r = [], n = 0; n < arguments.length; n++)
3922
3922
  r[n] = arguments[n];
3923
- return new ((t = Intl.NumberFormat).bind.apply(t, ft([void 0], r, !1)))();
3923
+ return new ((t = Intl.NumberFormat).bind.apply(t, mt([void 0], r, !1)))();
3924
3924
  }, {
3925
- cache: mt(e.number),
3926
- strategy: pt.variadic
3925
+ cache: _t(e.number),
3926
+ strategy: yt.variadic
3927
3927
  }),
3928
- getDateTimeFormat: gt(function() {
3928
+ getDateTimeFormat: bt(function() {
3929
3929
  for (var t, r = [], n = 0; n < arguments.length; n++)
3930
3930
  r[n] = arguments[n];
3931
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ft([void 0], r, !1)))();
3931
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, mt([void 0], r, !1)))();
3932
3932
  }, {
3933
- cache: mt(e.dateTime),
3934
- strategy: pt.variadic
3933
+ cache: _t(e.dateTime),
3934
+ strategy: yt.variadic
3935
3935
  }),
3936
- getPluralRules: gt(function() {
3936
+ getPluralRules: bt(function() {
3937
3937
  for (var t, r = [], n = 0; n < arguments.length; n++)
3938
3938
  r[n] = arguments[n];
3939
- return new ((t = Intl.PluralRules).bind.apply(t, ft([void 0], r, !1)))();
3939
+ return new ((t = Intl.PluralRules).bind.apply(t, mt([void 0], r, !1)))();
3940
3940
  }, {
3941
- cache: mt(e.pluralRules),
3942
- strategy: pt.variadic
3941
+ cache: _t(e.pluralRules),
3942
+ strategy: yt.variadic
3943
3943
  })
3944
3944
  };
3945
3945
  }
3946
- var Co = (
3946
+ var Go = (
3947
3947
  /** @class */
3948
3948
  function() {
3949
3949
  function e(t, r, n, i) {
@@ -3957,12 +3957,12 @@ var Co = (
3957
3957
  var l = o.formatToParts(u);
3958
3958
  if (l.length === 1)
3959
3959
  return l[0].value;
3960
- var c = l.reduce(function(g, f) {
3961
- return !g.length || f.type !== D.literal || typeof g[g.length - 1] != "string" ? g.push(f.value) : g[g.length - 1] += f.value, g;
3960
+ var c = l.reduce(function(f, g) {
3961
+ return !f.length || g.type !== G.literal || typeof f[f.length - 1] != "string" ? f.push(g.value) : f[f.length - 1] += g.value, f;
3962
3962
  }, []);
3963
3963
  return c.length <= 1 ? c[0] || "" : c;
3964
3964
  }, this.formatToParts = function(u) {
3965
- return Xe(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3965
+ return Ze(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3966
3966
  }, this.resolvedOptions = function() {
3967
3967
  var u;
3968
3968
  return {
@@ -3975,13 +3975,13 @@ var Co = (
3975
3975
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3976
3976
  var a = i || {};
3977
3977
  a.formatters;
3978
- var s = ji(a, ["formatters"]);
3979
- this.ast = e.__parse(t, K(K({}, s), { locale: this.resolvedLocale }));
3978
+ var s = Qi(a, ["formatters"]);
3979
+ this.ast = e.__parse(t, J(J({}, s), { locale: this.resolvedLocale }));
3980
3980
  } else
3981
3981
  this.ast = t;
3982
3982
  if (!Array.isArray(this.ast))
3983
3983
  throw new TypeError("A message must be provided as a String or AST.");
3984
- this.formats = Bo(e.formats, n), this.formatters = i && i.formatters || Io(this.formatterCache);
3984
+ this.formats = Do(e.formats, n), this.formatters = i && i.formatters || Fo(this.formatterCache);
3985
3985
  }
3986
3986
  return Object.defineProperty(e, "defaultLocale", {
3987
3987
  get: function() {
@@ -3994,7 +3994,7 @@ var Co = (
3994
3994
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3995
3995
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3996
3996
  }
3997
- }, e.__parse = To, e.formats = {
3997
+ }, e.__parse = Io, e.formats = {
3998
3998
  number: {
3999
3999
  integer: {
4000
4000
  maximumFractionDigits: 0
@@ -4055,7 +4055,7 @@ var Co = (
4055
4055
  }, e;
4056
4056
  }()
4057
4057
  );
4058
- function No(e, t) {
4058
+ function jo(e, t) {
4059
4059
  if (t == null)
4060
4060
  return;
4061
4061
  if (t in e)
@@ -4076,92 +4076,92 @@ function No(e, t) {
4076
4076
  n = void 0;
4077
4077
  return n;
4078
4078
  }
4079
- const ae = {}, Ro = (e, t, r) => r && (t in ae || (ae[t] = {}), e in ae[t] || (ae[t][e] = r), r), dn = (e, t) => {
4079
+ const le = {}, $o = (e, t, r) => r && (t in le || (le[t] = {}), e in le[t] || (le[t][e] = r), r), _n = (e, t) => {
4080
4080
  if (t == null)
4081
4081
  return;
4082
- if (t in ae && e in ae[t])
4083
- return ae[t][e];
4084
- const r = nt(t);
4082
+ if (t in le && e in le[t])
4083
+ return le[t][e];
4084
+ const r = ot(t);
4085
4085
  for (let n = 0; n < r.length; n++) {
4086
- const i = r[n], o = ko(i, e);
4086
+ const i = r[n], o = Vo(i, e);
4087
4087
  if (o)
4088
- return Ro(e, t, o);
4088
+ return $o(e, t, o);
4089
4089
  }
4090
4090
  };
4091
- let Nt;
4092
- const ke = et({});
4093
- function Uo(e) {
4094
- return Nt[e] || null;
4091
+ let Dt;
4092
+ const Fe = rt({});
4093
+ function Wo(e) {
4094
+ return Dt[e] || null;
4095
4095
  }
4096
- function mn(e) {
4097
- return e in Nt;
4096
+ function xn(e) {
4097
+ return e in Dt;
4098
4098
  }
4099
- function ko(e, t) {
4100
- if (!mn(e))
4099
+ function Vo(e, t) {
4100
+ if (!xn(e))
4101
4101
  return null;
4102
- const r = Uo(e);
4103
- return No(r, t);
4102
+ const r = Wo(e);
4103
+ return jo(r, t);
4104
4104
  }
4105
- function Fo(e) {
4105
+ function Xo(e) {
4106
4106
  if (e == null)
4107
4107
  return;
4108
- const t = nt(e);
4108
+ const t = ot(e);
4109
4109
  for (let r = 0; r < t.length; r++) {
4110
4110
  const n = t[r];
4111
- if (mn(n))
4111
+ if (xn(n))
4112
4112
  return n;
4113
4113
  }
4114
4114
  }
4115
- function bn(e, ...t) {
4116
- delete ae[e], ke.update((r) => (r[e] = Gi.all([r[e] || {}, ...t]), r));
4115
+ function En(e, ...t) {
4116
+ delete le[e], Fe.update((r) => (r[e] = Zi.all([r[e] || {}, ...t]), r));
4117
4117
  }
4118
- Te(
4119
- [ke],
4118
+ Oe(
4119
+ [Fe],
4120
4120
  ([e]) => Object.keys(e)
4121
4121
  );
4122
- ke.subscribe((e) => Nt = e);
4123
- const ze = {};
4124
- function Do(e, t) {
4125
- ze[e].delete(t), ze[e].size === 0 && delete ze[e];
4122
+ Fe.subscribe((e) => Dt = e);
4123
+ const Qe = {};
4124
+ function zo(e, t) {
4125
+ Qe[e].delete(t), Qe[e].size === 0 && delete Qe[e];
4126
4126
  }
4127
- function vn(e) {
4128
- return ze[e];
4127
+ function wn(e) {
4128
+ return Qe[e];
4129
4129
  }
4130
- function Go(e) {
4131
- return nt(e).map((t) => {
4132
- const r = vn(t);
4130
+ function Zo(e) {
4131
+ return ot(e).map((t) => {
4132
+ const r = wn(t);
4133
4133
  return [t, r ? [...r] : []];
4134
4134
  }).filter(([, t]) => t.length > 0);
4135
4135
  }
4136
- function Bt(e) {
4137
- return e == null ? !1 : nt(e).some(
4136
+ function Rt(e) {
4137
+ return e == null ? !1 : ot(e).some(
4138
4138
  (t) => {
4139
4139
  var r;
4140
- return (r = vn(t)) == null ? void 0 : r.size;
4140
+ return (r = wn(t)) == null ? void 0 : r.size;
4141
4141
  }
4142
4142
  );
4143
4143
  }
4144
- function jo(e, t) {
4144
+ function Qo(e, t) {
4145
4145
  return Promise.all(
4146
- t.map((n) => (Do(e, n), n().then((i) => i.default || i)))
4147
- ).then((n) => bn(e, ...n));
4148
- }
4149
- const Le = {};
4150
- function yn(e) {
4151
- if (!Bt(e))
4152
- return e in Le ? Le[e] : Promise.resolve();
4153
- const t = Go(e);
4154
- return Le[e] = Promise.all(
4146
+ t.map((n) => (zo(e, n), n().then((i) => i.default || i)))
4147
+ ).then((n) => En(e, ...n));
4148
+ }
4149
+ const Be = {};
4150
+ function Hn(e) {
4151
+ if (!Rt(e))
4152
+ return e in Be ? Be[e] : Promise.resolve();
4153
+ const t = Zo(e);
4154
+ return Be[e] = Promise.all(
4155
4155
  t.map(
4156
- ([r, n]) => jo(r, n)
4156
+ ([r, n]) => Qo(r, n)
4157
4157
  )
4158
4158
  ).then(() => {
4159
- if (Bt(e))
4160
- return yn(e);
4161
- delete Le[e];
4162
- }), Le[e];
4159
+ if (Rt(e))
4160
+ return Hn(e);
4161
+ delete Be[e];
4162
+ }), Be[e];
4163
4163
  }
4164
- const $o = {
4164
+ const qo = {
4165
4165
  number: {
4166
4166
  scientific: { notation: "scientific" },
4167
4167
  engineering: { notation: "engineering" },
@@ -4190,180 +4190,191 @@ const $o = {
4190
4190
  timeZoneName: "short"
4191
4191
  }
4192
4192
  }
4193
- }, Wo = {
4193
+ }, Yo = {
4194
4194
  fallbackLocale: null,
4195
4195
  loadingDelay: 200,
4196
- formats: $o,
4196
+ formats: qo,
4197
4197
  warnOnMissingMessages: !0,
4198
4198
  handleMissingMessage: void 0,
4199
4199
  ignoreTag: !0
4200
- }, Vo = Wo;
4201
- function Se() {
4202
- return Vo;
4200
+ }, Jo = Yo;
4201
+ function Te() {
4202
+ return Jo;
4203
4203
  }
4204
- const bt = et(!1);
4205
- var Xo = Object.defineProperty, zo = Object.defineProperties, Zo = Object.getOwnPropertyDescriptors, dr = Object.getOwnPropertySymbols, Qo = Object.prototype.hasOwnProperty, Yo = Object.prototype.propertyIsEnumerable, mr = (e, t, r) => t in e ? Xo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qo = (e, t) => {
4204
+ const xt = rt(!1);
4205
+ var Ko = Object.defineProperty, ea = Object.defineProperties, ta = Object.getOwnPropertyDescriptors, _r = Object.getOwnPropertySymbols, ra = Object.prototype.hasOwnProperty, na = Object.prototype.propertyIsEnumerable, xr = (e, t, r) => t in e ? Ko(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ia = (e, t) => {
4206
4206
  for (var r in t || (t = {}))
4207
- Qo.call(t, r) && mr(e, r, t[r]);
4208
- if (dr)
4209
- for (var r of dr(t))
4210
- Yo.call(t, r) && mr(e, r, t[r]);
4207
+ ra.call(t, r) && xr(e, r, t[r]);
4208
+ if (_r)
4209
+ for (var r of _r(t))
4210
+ na.call(t, r) && xr(e, r, t[r]);
4211
4211
  return e;
4212
- }, Jo = (e, t) => zo(e, Zo(t));
4213
- let It;
4214
- const qe = et(null);
4215
- function br(e) {
4212
+ }, oa = (e, t) => ea(e, ta(t));
4213
+ let Ut;
4214
+ const Ke = rt(null);
4215
+ function Er(e) {
4216
4216
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4217
4217
  }
4218
- function nt(e, t = Se().fallbackLocale) {
4219
- const r = br(e);
4220
- return t ? [.../* @__PURE__ */ new Set([...r, ...br(t)])] : r;
4218
+ function ot(e, t = Te().fallbackLocale) {
4219
+ const r = Er(e);
4220
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Er(t)])] : r;
4221
4221
  }
4222
- function ge() {
4223
- return It != null ? It : void 0;
4222
+ function de() {
4223
+ return Ut != null ? Ut : void 0;
4224
4224
  }
4225
- qe.subscribe((e) => {
4226
- It = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4225
+ Ke.subscribe((e) => {
4226
+ Ut = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4227
4227
  });
4228
- const Ko = (e) => {
4229
- if (e && Fo(e) && Bt(e)) {
4230
- const { loadingDelay: t } = Se();
4228
+ const aa = (e) => {
4229
+ if (e && Xo(e) && Rt(e)) {
4230
+ const { loadingDelay: t } = Te();
4231
4231
  let r;
4232
- return typeof window != "undefined" && ge() != null && t ? r = window.setTimeout(
4233
- () => bt.set(!0),
4232
+ return typeof window != "undefined" && de() != null && t ? r = window.setTimeout(
4233
+ () => xt.set(!0),
4234
4234
  t
4235
- ) : bt.set(!0), yn(e).then(() => {
4236
- qe.set(e);
4235
+ ) : xt.set(!0), Hn(e).then(() => {
4236
+ Ke.set(e);
4237
4237
  }).finally(() => {
4238
- clearTimeout(r), bt.set(!1);
4238
+ clearTimeout(r), xt.set(!1);
4239
4239
  });
4240
4240
  }
4241
- return qe.set(e);
4242
- }, Oe = Jo(qo({}, qe), {
4243
- set: Ko
4244
- }), it = (e) => {
4241
+ return Ke.set(e);
4242
+ }, Me = oa(ia({}, Ke), {
4243
+ set: aa
4244
+ }), at = (e) => {
4245
4245
  const t = /* @__PURE__ */ Object.create(null);
4246
4246
  return (n) => {
4247
4247
  const i = JSON.stringify(n);
4248
4248
  return i in t ? t[i] : t[i] = e(n);
4249
4249
  };
4250
4250
  };
4251
- var ea = Object.defineProperty, Je = Object.getOwnPropertySymbols, _n = Object.prototype.hasOwnProperty, xn = Object.prototype.propertyIsEnumerable, vr = (e, t, r) => t in e ? ea(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Rt = (e, t) => {
4251
+ var sa = Object.defineProperty, et = Object.getOwnPropertySymbols, Sn = Object.prototype.hasOwnProperty, Tn = Object.prototype.propertyIsEnumerable, wr = (e, t, r) => t in e ? sa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ft = (e, t) => {
4252
4252
  for (var r in t || (t = {}))
4253
- _n.call(t, r) && vr(e, r, t[r]);
4254
- if (Je)
4255
- for (var r of Je(t))
4256
- xn.call(t, r) && vr(e, r, t[r]);
4253
+ Sn.call(t, r) && wr(e, r, t[r]);
4254
+ if (et)
4255
+ for (var r of et(t))
4256
+ Tn.call(t, r) && wr(e, r, t[r]);
4257
4257
  return e;
4258
- }, Me = (e, t) => {
4258
+ }, Ae = (e, t) => {
4259
4259
  var r = {};
4260
4260
  for (var n in e)
4261
- _n.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4262
- if (e != null && Je)
4263
- for (var n of Je(e))
4264
- t.indexOf(n) < 0 && xn.call(e, n) && (r[n] = e[n]);
4261
+ Sn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4262
+ if (e != null && et)
4263
+ for (var n of et(e))
4264
+ t.indexOf(n) < 0 && Tn.call(e, n) && (r[n] = e[n]);
4265
4265
  return r;
4266
4266
  };
4267
- const Ne = (e, t) => {
4268
- const { formats: r } = Se();
4267
+ const Ue = (e, t) => {
4268
+ const { formats: r } = Te();
4269
4269
  if (e in r && t in r[e])
4270
4270
  return r[e][t];
4271
4271
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4272
- }, ta = it(
4272
+ }, la = at(
4273
4273
  (e) => {
4274
- var t = e, { locale: r, format: n } = t, i = Me(t, ["locale", "format"]);
4274
+ var t = e, { locale: r, format: n } = t, i = Ae(t, ["locale", "format"]);
4275
4275
  if (r == null)
4276
4276
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4277
- return n && (i = Ne("number", n)), new Intl.NumberFormat(r, i);
4277
+ return n && (i = Ue("number", n)), new Intl.NumberFormat(r, i);
4278
4278
  }
4279
- ), ra = it(
4279
+ ), ua = at(
4280
4280
  (e) => {
4281
- var t = e, { locale: r, format: n } = t, i = Me(t, ["locale", "format"]);
4281
+ var t = e, { locale: r, format: n } = t, i = Ae(t, ["locale", "format"]);
4282
4282
  if (r == null)
4283
4283
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4284
- return n ? i = Ne("date", n) : Object.keys(i).length === 0 && (i = Ne("date", "short")), new Intl.DateTimeFormat(r, i);
4284
+ return n ? i = Ue("date", n) : Object.keys(i).length === 0 && (i = Ue("date", "short")), new Intl.DateTimeFormat(r, i);
4285
4285
  }
4286
- ), na = it(
4286
+ ), ca = at(
4287
4287
  (e) => {
4288
- var t = e, { locale: r, format: n } = t, i = Me(t, ["locale", "format"]);
4288
+ var t = e, { locale: r, format: n } = t, i = Ae(t, ["locale", "format"]);
4289
4289
  if (r == null)
4290
4290
  throw new Error(
4291
4291
  '[svelte-i18n] A "locale" must be set to format time values'
4292
4292
  );
4293
- return n ? i = Ne("time", n) : Object.keys(i).length === 0 && (i = Ne("time", "short")), new Intl.DateTimeFormat(r, i);
4293
+ return n ? i = Ue("time", n) : Object.keys(i).length === 0 && (i = Ue("time", "short")), new Intl.DateTimeFormat(r, i);
4294
4294
  }
4295
- ), ia = (e = {}) => {
4295
+ ), ha = (e = {}) => {
4296
4296
  var t = e, {
4297
- locale: r = ge()
4298
- } = t, n = Me(t, [
4297
+ locale: r = de()
4298
+ } = t, n = Ae(t, [
4299
4299
  "locale"
4300
4300
  ]);
4301
- return ta(Rt({ locale: r }, n));
4302
- }, oa = (e = {}) => {
4301
+ return la(Ft({ locale: r }, n));
4302
+ }, fa = (e = {}) => {
4303
4303
  var t = e, {
4304
- locale: r = ge()
4305
- } = t, n = Me(t, [
4304
+ locale: r = de()
4305
+ } = t, n = Ae(t, [
4306
4306
  "locale"
4307
4307
  ]);
4308
- return ra(Rt({ locale: r }, n));
4309
- }, aa = (e = {}) => {
4308
+ return ua(Ft({ locale: r }, n));
4309
+ }, ga = (e = {}) => {
4310
4310
  var t = e, {
4311
- locale: r = ge()
4312
- } = t, n = Me(t, [
4311
+ locale: r = de()
4312
+ } = t, n = Ae(t, [
4313
4313
  "locale"
4314
4314
  ]);
4315
- return na(Rt({ locale: r }, n));
4316
- }, sa = it(
4315
+ return ca(Ft({ locale: r }, n));
4316
+ }, pa = at(
4317
4317
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4318
- (e, t = ge()) => new Co(e, t, Se().formats, {
4319
- ignoreTag: Se().ignoreTag
4318
+ (e, t = de()) => new Go(e, t, Te().formats, {
4319
+ ignoreTag: Te().ignoreTag
4320
4320
  })
4321
- ), la = (e, t = {}) => {
4321
+ ), da = (e, t = {}) => {
4322
4322
  var r, n, i, o;
4323
4323
  let a = t;
4324
4324
  typeof e == "object" && (a = e, e = a.id);
4325
4325
  const {
4326
4326
  values: s,
4327
- locale: u = ge(),
4327
+ locale: u = de(),
4328
4328
  default: l
4329
4329
  } = a;
4330
4330
  if (u == null)
4331
4331
  throw new Error(
4332
4332
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4333
4333
  );
4334
- let c = dn(e, u);
4334
+ let c = _n(e, u);
4335
4335
  if (!c)
4336
- 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;
4336
+ c = (o = (i = (n = (r = Te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4337
4337
  else if (typeof c != "string")
4338
4338
  return console.warn(
4339
4339
  `[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.`
4340
4340
  ), c;
4341
4341
  if (!s)
4342
4342
  return c;
4343
- let g = c;
4343
+ let f = c;
4344
4344
  try {
4345
- g = sa(c, u).format(s);
4346
- } catch (f) {
4347
- f instanceof Error && console.warn(
4345
+ f = pa(c, u).format(s);
4346
+ } catch (g) {
4347
+ g instanceof Error && console.warn(
4348
4348
  `[svelte-i18n] Message "${e}" has syntax error:`,
4349
- f.message
4349
+ g.message
4350
4350
  );
4351
4351
  }
4352
- return g;
4353
- }, ua = (e, t) => aa(t).format(e), ca = (e, t) => oa(t).format(e), ha = (e, t) => ia(t).format(e), fa = (e, t = ge()) => dn(e, t), ga = Te([Oe, ke], () => la);
4354
- Te([Oe], () => ua);
4355
- Te([Oe], () => ca);
4356
- Te([Oe], () => ha);
4357
- Te([Oe, ke], () => fa);
4358
- window.emWidgets = { topic: Hi };
4359
- const yr = (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)), pa = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4360
- function da(e, t) {
4352
+ return f;
4353
+ }, ma = (e, t) => ga(t).format(e), ba = (e, t) => fa(t).format(e), ya = (e, t) => ha(t).format(e), va = (e, t = de()) => _n(e, t), _a = Oe([Me, Fe], () => da);
4354
+ Oe([Me], () => ma);
4355
+ Oe([Me], () => ba);
4356
+ Oe([Me], () => ya);
4357
+ Oe([Me, Fe], () => va);
4358
+ window.emWidgets = { topic: Pi };
4359
+ 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)), xa = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4360
+ function Ea(e, t) {
4361
+ return new Promise((r, n) => {
4362
+ const i = new Headers();
4363
+ i.append("X-SessionID", t);
4364
+ const o = {
4365
+ method: "GET",
4366
+ headers: i
4367
+ };
4368
+ fetch(`${e}/v1/player/session/player`, o).then((a) => a.json()).then((a) => r(a)).catch((a) => n(a));
4369
+ });
4370
+ }
4371
+ function wa(e, t) {
4361
4372
  if (e) {
4362
4373
  const r = document.createElement("style");
4363
4374
  r.innerHTML = t, e.appendChild(r);
4364
4375
  }
4365
4376
  }
4366
- function ma(e, t) {
4377
+ function Ha(e, t) {
4367
4378
  const r = new URL(t);
4368
4379
  fetch(r.href).then((n) => n.text()).then((n) => {
4369
4380
  const i = document.createElement("style");
@@ -4372,7 +4383,7 @@ function ma(e, t) {
4372
4383
  console.error("There was an error while trying to load client styling from URL", n);
4373
4384
  });
4374
4385
  }
4375
- function ba(e, t, r) {
4386
+ function Sa(e, t, r) {
4376
4387
  if (window.emMessageBus) {
4377
4388
  const n = document.createElement("style");
4378
4389
  window.emMessageBus.subscribe(t, (i) => {
@@ -4380,13 +4391,13 @@ function ba(e, t, r) {
4380
4391
  });
4381
4392
  }
4382
4393
  }
4383
- function _r(e, t) {
4384
- bn(e, t);
4394
+ function Sr(e, t) {
4395
+ En(e, t);
4385
4396
  }
4386
- function va(e) {
4387
- Oe.set(e);
4397
+ function Ta(e) {
4398
+ Me.set(e);
4388
4399
  }
4389
- const xr = {
4400
+ const Tr = {
4390
4401
  en: {
4391
4402
  language: "Select Language"
4392
4403
  },
@@ -4421,295 +4432,318 @@ const xr = {
4421
4432
  language: "Select Language"
4422
4433
  }
4423
4434
  };
4424
- function ya(e) {
4425
- Xn(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}");
4435
+ function Oa(e) {
4436
+ Kn(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}");
4426
4437
  }
4427
- function Er(e, t, r) {
4438
+ function Or(e, t, r) {
4428
4439
  const n = e.slice();
4429
- return n[68] = t[r], n;
4440
+ return n[73] = t[r], n;
4430
4441
  }
4431
- function wr(e, t, r) {
4442
+ function Mr(e, t, r) {
4432
4443
  const n = e.slice();
4433
- return n[3] = t[r], n;
4444
+ return n[2] = t[r], n;
4434
4445
  }
4435
- function Hr(e, t, r) {
4446
+ function Ar(e, t, r) {
4436
4447
  const n = e.slice();
4437
- return n[71] = t[r], n;
4448
+ return n[76] = t[r], n;
4438
4449
  }
4439
- function _a(e, t, r) {
4450
+ function Ma(e, t, r) {
4440
4451
  const n = e.slice();
4441
- return n[77] = t[r], n;
4452
+ return n[82] = t[r], n;
4442
4453
  }
4443
- function Sr(e, t, r) {
4454
+ function Lr(e, t, r) {
4444
4455
  const n = e.slice();
4445
- return n[74] = t[r], n;
4456
+ return n[79] = t[r], n;
4446
4457
  }
4447
- const xa = (e) => ({}), Tr = (e) => ({});
4448
- function Or(e) {
4449
- let t, r, n, i, o, a, s, u, l, c, g, f, p, m, v, x, E, S, T, G, k, z, Z, q, ue, j, pe, de;
4450
- const me = [wa, Ea], V = [];
4451
- function ne(y, O) {
4458
+ const Aa = (e) => ({}), Pr = (e) => ({});
4459
+ function Br(e) {
4460
+ let t, r, n, i, o, a, s, u, l, c, f, g, p, m, v, x, E, T, O, U, F, Q, Z, oe, q, j, he, Le;
4461
+ const me = [Pa, La], V = [];
4462
+ function be(y, A) {
4452
4463
  return (
4453
4464
  /*isLoggedIn*/
4454
- y[16] ? 0 : 1
4465
+ y[15] ? 0 : 1
4455
4466
  );
4456
4467
  }
4457
- i = ne(e), o = V[i] = me[i](e);
4458
- function ie(y, O) {
4468
+ i = be(e), o = V[i] = me[i](e);
4469
+ function ae(y, A) {
4459
4470
  return (
4460
4471
  /*HamburgerMenuItems*/
4461
- y[6].length > 0 ? Ta : Sa
4472
+ y[5].length > 0 ? Ca : Ia
4462
4473
  );
4463
4474
  }
4464
- let Q = ie(e), F = Q(e), J = re(
4475
+ let Y = ae(e), k = Y(e), X = ie(
4465
4476
  /*activeMenuItemChildren*/
4466
- e[8]
4467
- ), C = [];
4468
- for (let y = 0; y < J.length; y += 1)
4469
- C[y] = Br(Hr(e, J, y));
4470
- let M = (
4477
+ e[7]
4478
+ ), I = [];
4479
+ for (let y = 0; y < X.length; y += 1)
4480
+ I[y] = Ur(Ar(e, X, y));
4481
+ let R = (
4471
4482
  /*languagesArray*/
4472
- e[11].length > 1 && Ir(e)
4483
+ e[10].length > 1 && kr(e)
4473
4484
  );
4474
4485
  return {
4475
4486
  c() {
4476
- t = _("div"), r = _("div"), n = _("div"), o.c(), a = N(), s = _("ul"), F.c(), u = N(), l = _("div"), c = N(), g = _("ul");
4477
- for (let y = 0; y < C.length; y += 1)
4478
- C[y].c();
4479
- p = N(), M && M.c(), v = N(), x = _("span"), E = _("div"), S = _("span"), T = N(), G = _("span"), k = N(), z = _("span"), d(n, "class", "HamburgerHeader"), qt(
4487
+ t = _("div"), r = _("div"), n = _("div"), o.c(), a = N(), s = _("ul"), k.c(), u = N(), l = _("div"), c = N(), f = _("ul");
4488
+ for (let y = 0; y < I.length; y += 1)
4489
+ I[y].c();
4490
+ p = N(), R && R.c(), v = N(), x = _("span"), E = _("div"), T = _("span"), O = N(), U = _("span"), F = N(), Q = _("span"), d(n, "class", "HamburgerHeader"), rr(
4480
4491
  n,
4481
4492
  "LoggedIn",
4482
4493
  /*isLoggedIn*/
4483
- e[16]
4484
- ), d(s, "class", "HamburgerPrimaryMenu"), d(l, "class", "Separator"), d(g, "class", f = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
4485
- (e[12] ? "Overlay" : "")), d(r, "class", m = "HamburgerModalContainer " + /*modalIsOpen*/
4486
- (e[9] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
4487
- (e[14] ? "Closing" : "")), d(E, "class", Z = "NavIcon " + (/*navIconClosing*/
4488
- e[15] ? "" : "Open")), d(x, "class", q = /*modalIsOpen*/
4489
- e[9] ? "ModalCloseBtn" : ""), d(x, "role", "button"), d(t, "class", ue = "HamburgerModalWindow " + /*isClosing*/
4490
- (e[14] ? " Closing" : ""));
4494
+ e[15]
4495
+ ), d(s, "class", "HamburgerPrimaryMenu"), d(l, "class", "Separator"), d(f, "class", g = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
4496
+ (e[11] ? "Overlay" : "")), d(r, "class", m = "HamburgerModalContainer " + /*modalIsOpen*/
4497
+ (e[8] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
4498
+ (e[13] ? "Closing" : "")), d(E, "class", Z = "NavIcon " + (/*navIconClosing*/
4499
+ e[14] ? "" : "Open")), d(x, "class", oe = /*modalIsOpen*/
4500
+ e[8] ? "ModalCloseBtn" : ""), d(x, "role", "button"), d(t, "class", q = "HamburgerModalWindow " + /*isClosing*/
4501
+ (e[13] ? " Closing" : ""));
4491
4502
  },
4492
- m(y, O) {
4493
- I(y, t, O), b(t, r), b(r, n), V[i].m(n, null), b(r, a), b(r, s), F.m(s, null), b(r, u), b(r, l), b(r, c), b(r, g);
4494
- for (let R = 0; R < C.length; R += 1)
4495
- C[R] && C[R].m(g, null);
4496
- b(r, p), M && M.m(r, null), b(t, v), b(t, x), b(x, E), b(E, S), b(E, T), b(E, G), b(E, k), b(E, z), e[47](t), j = !0, pe || (de = se(
4503
+ m(y, A) {
4504
+ B(y, t, A), 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);
4505
+ for (let $ = 0; $ < I.length; $ += 1)
4506
+ I[$] && I[$].m(f, null);
4507
+ b(r, p), R && R.m(r, null), b(t, v), b(t, x), b(x, E), b(E, T), b(E, O), b(E, U), b(E, F), b(E, Q), e[50](t), j = !0, he || (Le = ue(
4497
4508
  x,
4498
4509
  "click",
4499
4510
  /*close*/
4500
- e[19]
4501
- ), pe = !0);
4511
+ e[20]
4512
+ ), he = !0);
4502
4513
  },
4503
- p(y, O) {
4504
- let R = i;
4505
- if (i = ne(y), i === R ? V[i].p(y, O) : (jr(), Ie(V[R], 1, 1, () => {
4506
- V[R] = null;
4507
- }), $r(), o = V[i], o ? o.p(y, O) : (o = V[i] = me[i](y), o.c()), he(o, 1), o.m(n, null)), (!j || O[0] & /*isLoggedIn*/
4508
- 65536) && qt(
4514
+ p(y, A) {
4515
+ let $ = i;
4516
+ if (i = be(y), i === $ ? V[i].p(y, A) : (zr(), Ne(V[$], 1, 1, () => {
4517
+ V[$] = null;
4518
+ }), Zr(), o = V[i], o ? o.p(y, A) : (o = V[i] = me[i](y), o.c()), ge(o, 1), o.m(n, null)), (!j || A[0] & /*isLoggedIn*/
4519
+ 32768) && rr(
4509
4520
  n,
4510
4521
  "LoggedIn",
4511
4522
  /*isLoggedIn*/
4512
- y[16]
4513
- ), Q === (Q = ie(y)) && F ? F.p(y, O) : (F.d(1), F = Q(y), F && (F.c(), F.m(s, null))), O[0] & /*handleClick, activeMenuItemChildren*/
4514
- 2097408) {
4515
- J = re(
4523
+ y[15]
4524
+ ), Y === (Y = ae(y)) && k ? k.p(y, A) : (k.d(1), k = Y(y), k && (k.c(), k.m(s, null))), A[0] & /*handleClick, activeMenuItemChildren*/
4525
+ 4194432) {
4526
+ X = ie(
4516
4527
  /*activeMenuItemChildren*/
4517
- y[8]
4528
+ y[7]
4518
4529
  );
4519
- let $;
4520
- for ($ = 0; $ < J.length; $ += 1) {
4521
- const be = Hr(y, J, $);
4522
- C[$] ? C[$].p(be, O) : (C[$] = Br(be), C[$].c(), C[$].m(g, null));
4530
+ let D;
4531
+ for (D = 0; D < X.length; D += 1) {
4532
+ const ye = Ar(y, X, D);
4533
+ I[D] ? I[D].p(ye, A) : (I[D] = Ur(ye), I[D].c(), I[D].m(f, null));
4523
4534
  }
4524
- for (; $ < C.length; $ += 1)
4525
- C[$].d(1);
4526
- C.length = J.length;
4535
+ for (; D < I.length; D += 1)
4536
+ I[D].d(1);
4537
+ I.length = X.length;
4527
4538
  }
4528
- (!j || O[0] & /*isOptionsListVisible*/
4529
- 4096 && f !== (f = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
4530
- (y[12] ? "Overlay" : ""))) && d(g, "class", f), /*languagesArray*/
4531
- y[11].length > 1 ? M ? M.p(y, O) : (M = Ir(y), M.c(), M.m(r, null)) : M && (M.d(1), M = null), (!j || O[0] & /*modalIsOpen, isClosing*/
4532
- 16896 && m !== (m = "HamburgerModalContainer " + /*modalIsOpen*/
4533
- (y[9] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
4534
- (y[14] ? "Closing" : ""))) && d(r, "class", m), (!j || O[0] & /*navIconClosing*/
4535
- 32768 && Z !== (Z = "NavIcon " + (/*navIconClosing*/
4536
- y[15] ? "" : "Open"))) && d(E, "class", Z), (!j || O[0] & /*modalIsOpen*/
4537
- 512 && q !== (q = /*modalIsOpen*/
4538
- y[9] ? "ModalCloseBtn" : "")) && d(x, "class", q), (!j || O[0] & /*isClosing*/
4539
- 16384 && ue !== (ue = "HamburgerModalWindow " + /*isClosing*/
4540
- (y[14] ? " Closing" : ""))) && d(t, "class", ue);
4539
+ (!j || A[0] & /*isOptionsListVisible*/
4540
+ 2048 && g !== (g = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
4541
+ (y[11] ? "Overlay" : ""))) && d(f, "class", g), /*languagesArray*/
4542
+ y[10].length > 1 ? R ? R.p(y, A) : (R = kr(y), R.c(), R.m(r, null)) : R && (R.d(1), R = null), (!j || A[0] & /*modalIsOpen, isClosing*/
4543
+ 8448 && m !== (m = "HamburgerModalContainer " + /*modalIsOpen*/
4544
+ (y[8] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
4545
+ (y[13] ? "Closing" : ""))) && d(r, "class", m), (!j || A[0] & /*navIconClosing*/
4546
+ 16384 && Z !== (Z = "NavIcon " + (/*navIconClosing*/
4547
+ y[14] ? "" : "Open"))) && d(E, "class", Z), (!j || A[0] & /*modalIsOpen*/
4548
+ 256 && oe !== (oe = /*modalIsOpen*/
4549
+ y[8] ? "ModalCloseBtn" : "")) && d(x, "class", oe), (!j || A[0] & /*isClosing*/
4550
+ 8192 && q !== (q = "HamburgerModalWindow " + /*isClosing*/
4551
+ (y[13] ? " Closing" : ""))) && d(t, "class", q);
4541
4552
  },
4542
4553
  i(y) {
4543
- j || (he(o), j = !0);
4554
+ j || (ge(o), j = !0);
4544
4555
  },
4545
4556
  o(y) {
4546
- Ie(o), j = !1;
4557
+ Ne(o), j = !1;
4547
4558
  },
4548
4559
  d(y) {
4549
- y && B(t), V[i].d(), F.d(), Re(C, y), M && M.d(), e[47](null), pe = !1, de();
4560
+ y && P(t), V[i].d(), k.d(), ke(I, y), R && R.d(), e[50](null), he = !1, Le();
4550
4561
  }
4551
4562
  };
4552
4563
  }
4553
- function Ea(e) {
4564
+ function La(e) {
4554
4565
  let t, r;
4555
4566
  const n = (
4556
4567
  /*#slots*/
4557
- e[41].logo
4558
- ), i = jn(
4568
+ e[44].logo
4569
+ ), i = Qn(
4559
4570
  n,
4560
4571
  e,
4561
4572
  /*$$scope*/
4562
- e[40],
4563
- Tr
4564
- ), o = i || Ha(e);
4573
+ e[43],
4574
+ Pr
4575
+ ), o = i || Ba(e);
4565
4576
  return {
4566
4577
  c() {
4567
4578
  t = _("div"), o && o.c(), d(t, "class", "Logo");
4568
4579
  },
4569
4580
  m(a, s) {
4570
- I(a, t, s), o && o.m(t, null), r = !0;
4581
+ B(a, t, s), o && o.m(t, null), r = !0;
4571
4582
  },
4572
4583
  p(a, s) {
4573
4584
  i ? i.p && (!r || s[1] & /*$$scope*/
4574
- 512) && Wn(
4585
+ 4096) && Yn(
4575
4586
  i,
4576
4587
  n,
4577
4588
  a,
4578
4589
  /*$$scope*/
4579
- a[40],
4580
- r ? $n(
4590
+ a[43],
4591
+ r ? qn(
4581
4592
  n,
4582
4593
  /*$$scope*/
4583
- a[40],
4594
+ a[43],
4584
4595
  s,
4585
- xa
4586
- ) : Vn(
4596
+ Aa
4597
+ ) : Jn(
4587
4598
  /*$$scope*/
4588
- a[40]
4599
+ a[43]
4589
4600
  ),
4590
- Tr
4601
+ Pr
4591
4602
  ) : o && o.p && (!r || s[0] & /*customlogourl*/
4592
- 4) && o.p(a, r ? s : [-1, -1, -1]);
4603
+ 2) && o.p(a, r ? s : [-1, -1, -1]);
4593
4604
  },
4594
4605
  i(a) {
4595
- r || (he(o, a), r = !0);
4606
+ r || (ge(o, a), r = !0);
4596
4607
  },
4597
4608
  o(a) {
4598
- Ie(o, a), r = !1;
4609
+ Ne(o, a), r = !1;
4599
4610
  },
4600
4611
  d(a) {
4601
- a && B(t), o && o.d(a);
4612
+ a && P(t), o && o.d(a);
4602
4613
  }
4603
4614
  };
4604
4615
  }
4605
- function wa(e) {
4606
- let t, r, n, i, o, a, s, u, l;
4616
+ function Pa(e) {
4617
+ let t, r, n, i, o = (
4618
+ /*username*/
4619
+ (e[17] || /*playerID*/
4620
+ e[16]) + ""
4621
+ ), a, s, u, l;
4607
4622
  return {
4608
4623
  c() {
4609
- t = _("button"), r = _("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 = _("span"), o = Y("Hello, player "), a = Y(
4610
- /*userid*/
4611
- e[0]
4612
- ), d(r, "class", "UserIcon"), d(r, "aria-hidden", "true"), d(i, "class", "UserFullName"), d(i, "title", s = `Hello, player ${/*userid*/
4613
- e[0]}`), d(t, "type", "button"), d(t, "class", "UserProfileWrapper");
4624
+ t = _("button"), r = _("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 = _("span"), a = ee(o), d(r, "class", "UserIcon"), d(r, "aria-hidden", "true"), d(i, "class", "UserFullName"), d(i, "title", s = `${/*username*/
4625
+ e[17] || /*playerID*/
4626
+ e[16]}`), d(
4627
+ i,
4628
+ "data-username",
4629
+ /*username*/
4630
+ e[17]
4631
+ ), d(
4632
+ i,
4633
+ "data-playerid",
4634
+ /*playerID*/
4635
+ e[16]
4636
+ ), d(t, "type", "button"), d(t, "class", "UserProfileWrapper");
4614
4637
  },
4615
- m(c, g) {
4616
- I(c, t, g), b(t, r), b(t, n), b(t, i), b(i, o), b(i, a), u || (l = se(
4638
+ m(c, f) {
4639
+ B(c, t, f), b(t, r), b(t, n), b(t, i), b(i, a), u || (l = ue(
4617
4640
  t,
4618
4641
  "click",
4619
4642
  /*goToMyAccount*/
4620
- e[26]
4643
+ e[27]
4621
4644
  ), u = !0);
4622
4645
  },
4623
- p(c, g) {
4624
- g[0] & /*userid*/
4625
- 1 && le(
4626
- a,
4627
- /*userid*/
4628
- c[0]
4629
- ), g[0] & /*userid*/
4630
- 1 && s !== (s = `Hello, player ${/*userid*/
4631
- c[0]}`) && d(i, "title", s);
4646
+ p(c, f) {
4647
+ f[0] & /*username, playerID*/
4648
+ 196608 && o !== (o = /*username*/
4649
+ (c[17] || /*playerID*/
4650
+ c[16]) + "") && ce(a, o), f[0] & /*username, playerID*/
4651
+ 196608 && s !== (s = `${/*username*/
4652
+ c[17] || /*playerID*/
4653
+ c[16]}`) && d(i, "title", s), f[0] & /*username*/
4654
+ 131072 && d(
4655
+ i,
4656
+ "data-username",
4657
+ /*username*/
4658
+ c[17]
4659
+ ), f[0] & /*playerID*/
4660
+ 65536 && d(
4661
+ i,
4662
+ "data-playerid",
4663
+ /*playerID*/
4664
+ c[16]
4665
+ );
4632
4666
  },
4633
4667
  i: W,
4634
4668
  o: W,
4635
4669
  d(c) {
4636
- c && B(t), u = !1, l();
4670
+ c && P(t), u = !1, l();
4637
4671
  }
4638
4672
  };
4639
4673
  }
4640
- function Ha(e) {
4674
+ function Ba(e) {
4641
4675
  let t, r, n;
4642
4676
  return {
4643
4677
  c() {
4644
- t = _("img"), ee(t.src, r = /*customlogourl*/
4645
- e[2]) || d(t, "src", r), d(t, "alt", n = `Logo ${/*customlogourl*/
4646
- e[2]}`);
4678
+ t = _("img"), K(t.src, r = /*customlogourl*/
4679
+ e[1]) || d(t, "src", r), d(t, "alt", n = `Logo ${/*customlogourl*/
4680
+ e[1]}`);
4647
4681
  },
4648
4682
  m(i, o) {
4649
- I(i, t, o);
4683
+ B(i, t, o);
4650
4684
  },
4651
4685
  p(i, o) {
4652
4686
  o[0] & /*customlogourl*/
4653
- 4 && !ee(t.src, r = /*customlogourl*/
4654
- i[2]) && d(t, "src", r), o[0] & /*customlogourl*/
4655
- 4 && n !== (n = `Logo ${/*customlogourl*/
4656
- i[2]}`) && d(t, "alt", n);
4687
+ 2 && !K(t.src, r = /*customlogourl*/
4688
+ i[1]) && d(t, "src", r), o[0] & /*customlogourl*/
4689
+ 2 && n !== (n = `Logo ${/*customlogourl*/
4690
+ i[1]}`) && d(t, "alt", n);
4657
4691
  },
4658
4692
  d(i) {
4659
- i && B(t);
4693
+ i && P(t);
4660
4694
  }
4661
4695
  };
4662
4696
  }
4663
- function Sa(e) {
4664
- let t, r = re(new Array(5)), n = [];
4697
+ function Ia(e) {
4698
+ let t, r = ie(new Array(5)), n = [];
4665
4699
  for (let i = 0; i < r.length; i += 1)
4666
- n[i] = Oa(_a(e, r, i));
4700
+ n[i] = Na(Ma(e, r, i));
4667
4701
  return {
4668
4702
  c() {
4669
4703
  for (let i = 0; i < n.length; i += 1)
4670
4704
  n[i].c();
4671
- t = Gr();
4705
+ t = Xr();
4672
4706
  },
4673
4707
  m(i, o) {
4674
4708
  for (let a = 0; a < n.length; a += 1)
4675
4709
  n[a] && n[a].m(i, o);
4676
- I(i, t, o);
4710
+ B(i, t, o);
4677
4711
  },
4678
4712
  p: W,
4679
4713
  d(i) {
4680
- i && B(t), Re(n, i);
4714
+ i && P(t), ke(n, i);
4681
4715
  }
4682
4716
  };
4683
4717
  }
4684
- function Ta(e) {
4685
- let t, r = re(
4718
+ function Ca(e) {
4719
+ let t, r = ie(
4686
4720
  /*HamburgerMenuItems*/
4687
- e[6]
4721
+ e[5]
4688
4722
  ), n = [];
4689
4723
  for (let i = 0; i < r.length; i += 1)
4690
- n[i] = Lr(Sr(e, r, i));
4724
+ n[i] = Nr(Lr(e, r, i));
4691
4725
  return {
4692
4726
  c() {
4693
4727
  for (let i = 0; i < n.length; i += 1)
4694
4728
  n[i].c();
4695
- t = Gr();
4729
+ t = Xr();
4696
4730
  },
4697
4731
  m(i, o) {
4698
4732
  for (let a = 0; a < n.length; a += 1)
4699
4733
  n[a] && n[a].m(i, o);
4700
- I(i, t, o);
4734
+ B(i, t, o);
4701
4735
  },
4702
4736
  p(i, o) {
4703
4737
  if (o[0] & /*activeMenuItemId, HamburgerMenuItems, handlePrimaryMenuClick*/
4704
- 1048768) {
4705
- r = re(
4738
+ 2097248) {
4739
+ r = ie(
4706
4740
  /*HamburgerMenuItems*/
4707
- i[6]
4741
+ i[5]
4708
4742
  );
4709
4743
  let a;
4710
4744
  for (a = 0; a < r.length; a += 1) {
4711
- const s = Sr(i, r, a);
4712
- n[a] ? n[a].p(s, o) : (n[a] = Lr(s), n[a].c(), n[a].m(t.parentNode, t));
4745
+ const s = Lr(i, r, a);
4746
+ n[a] ? n[a].p(s, o) : (n[a] = Nr(s), n[a].c(), n[a].m(t.parentNode, t));
4713
4747
  }
4714
4748
  for (; a < n.length; a += 1)
4715
4749
  n[a].d(1);
@@ -4717,486 +4751,486 @@ function Ta(e) {
4717
4751
  }
4718
4752
  },
4719
4753
  d(i) {
4720
- i && B(t), Re(n, i);
4754
+ i && P(t), ke(n, i);
4721
4755
  }
4722
4756
  };
4723
4757
  }
4724
- function Oa(e) {
4758
+ function Na(e) {
4725
4759
  let t;
4726
4760
  return {
4727
4761
  c() {
4728
4762
  t = _("div"), t.innerHTML = "", d(t, "class", "Loading Skeleton");
4729
4763
  },
4730
4764
  m(r, n) {
4731
- I(r, t, n);
4765
+ B(r, t, n);
4732
4766
  },
4733
4767
  p: W,
4734
4768
  d(r) {
4735
- r && B(t);
4769
+ r && P(t);
4736
4770
  }
4737
4771
  };
4738
4772
  }
4739
- function Mr(e) {
4773
+ function Ir(e) {
4740
4774
  let t, r;
4741
4775
  return {
4742
4776
  c() {
4743
- t = _("img"), ee(t.src, r = /*mainItem*/
4744
- e[74].img) || d(t, "src", r), d(t, "alt", "menu icon");
4777
+ t = _("img"), K(t.src, r = /*mainItem*/
4778
+ e[79].img) || d(t, "src", r), d(t, "alt", "menu icon");
4745
4779
  },
4746
4780
  m(n, i) {
4747
- I(n, t, i);
4781
+ B(n, t, i);
4748
4782
  },
4749
4783
  p(n, i) {
4750
4784
  i[0] & /*HamburgerMenuItems*/
4751
- 64 && !ee(t.src, r = /*mainItem*/
4752
- n[74].img) && d(t, "src", r);
4785
+ 32 && !K(t.src, r = /*mainItem*/
4786
+ n[79].img) && d(t, "src", r);
4753
4787
  },
4754
4788
  d(n) {
4755
- n && B(t);
4789
+ n && P(t);
4756
4790
  }
4757
4791
  };
4758
4792
  }
4759
- function Ar(e) {
4793
+ function Cr(e) {
4760
4794
  let t, r = (
4761
4795
  /*mainItem*/
4762
- e[74].tag + ""
4796
+ e[79].tag + ""
4763
4797
  ), n, i;
4764
4798
  return {
4765
4799
  c() {
4766
- t = _("span"), n = Y(r), d(t, "title", i = /*mainItem*/
4767
- e[74].tag), d(t, "class", "HamburgerItemTag");
4800
+ t = _("span"), n = ee(r), d(t, "title", i = /*mainItem*/
4801
+ e[79].tag), d(t, "class", "HamburgerItemTag");
4768
4802
  },
4769
4803
  m(o, a) {
4770
- I(o, t, a), b(t, n);
4804
+ B(o, t, a), b(t, n);
4771
4805
  },
4772
4806
  p(o, a) {
4773
4807
  a[0] & /*HamburgerMenuItems*/
4774
- 64 && r !== (r = /*mainItem*/
4775
- o[74].tag + "") && le(n, r), a[0] & /*HamburgerMenuItems*/
4776
- 64 && i !== (i = /*mainItem*/
4777
- o[74].tag) && d(t, "title", i);
4808
+ 32 && r !== (r = /*mainItem*/
4809
+ o[79].tag + "") && ce(n, r), a[0] & /*HamburgerMenuItems*/
4810
+ 32 && i !== (i = /*mainItem*/
4811
+ o[79].tag) && d(t, "title", i);
4778
4812
  },
4779
4813
  d(o) {
4780
- o && B(t);
4814
+ o && P(t);
4781
4815
  }
4782
4816
  };
4783
4817
  }
4784
- function Lr(e) {
4818
+ function Nr(e) {
4785
4819
  var x, E;
4786
4820
  let t, r, n, i, o, a = (
4787
4821
  /*mainItem*/
4788
- e[74].label + ""
4789
- ), s, u, l, c, g, f, p = (
4822
+ e[79].label + ""
4823
+ ), s, u, l, c, f, g, p = (
4790
4824
  /*mainItem*/
4791
- ((x = e[74]) == null ? void 0 : x.img) && Mr(e)
4825
+ ((x = e[79]) == null ? void 0 : x.img) && Ir(e)
4792
4826
  ), m = (
4793
4827
  /*mainItem*/
4794
- ((E = e[74]) == null ? void 0 : E.tag) && Ar(e)
4828
+ ((E = e[79]) == null ? void 0 : E.tag) && Cr(e)
4795
4829
  );
4796
4830
  function v() {
4797
4831
  return (
4798
4832
  /*click_handler*/
4799
- e[42](
4833
+ e[45](
4800
4834
  /*mainItem*/
4801
- e[74]
4835
+ e[79]
4802
4836
  )
4803
4837
  );
4804
4838
  }
4805
4839
  return {
4806
4840
  c() {
4807
- t = _("li"), r = _("button"), n = _("div"), p && p.c(), i = N(), o = _("p"), s = Y(a), u = N(), m && m.c(), l = N(), d(n, "class", "HamburgerItemContainer"), d(r, "type", "button"), d(r, "class", "ItemButton"), d(t, "class", c = /*activeMenuItemId*/
4808
- e[7] === /*mainItem*/
4809
- e[74].id ? "ActiveItem" : "");
4841
+ t = _("li"), r = _("button"), n = _("div"), p && p.c(), i = N(), o = _("p"), s = ee(a), u = N(), m && m.c(), l = N(), d(n, "class", "HamburgerItemContainer"), d(r, "type", "button"), d(r, "class", "ItemButton"), d(t, "class", c = /*activeMenuItemId*/
4842
+ e[6] === /*mainItem*/
4843
+ e[79].id ? "ActiveItem" : "");
4810
4844
  },
4811
- m(S, T) {
4812
- I(S, t, T), b(t, r), b(r, n), p && p.m(n, null), b(n, i), b(n, o), b(o, s), b(n, u), m && m.m(n, null), b(t, l), g || (f = se(r, "click", v), g = !0);
4845
+ m(T, O) {
4846
+ B(T, t, O), b(t, r), b(r, n), p && p.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 = ue(r, "click", v), f = !0);
4813
4847
  },
4814
- p(S, T) {
4815
- var G, k;
4816
- e = S, /*mainItem*/
4817
- (G = e[74]) != null && G.img ? p ? p.p(e, T) : (p = Mr(e), p.c(), p.m(n, i)) : p && (p.d(1), p = null), T[0] & /*HamburgerMenuItems*/
4818
- 64 && a !== (a = /*mainItem*/
4819
- e[74].label + "") && le(s, a), /*mainItem*/
4820
- (k = e[74]) != null && k.tag ? m ? m.p(e, T) : (m = Ar(e), m.c(), m.m(n, null)) : m && (m.d(1), m = null), T[0] & /*activeMenuItemId, HamburgerMenuItems*/
4821
- 192 && c !== (c = /*activeMenuItemId*/
4822
- e[7] === /*mainItem*/
4823
- e[74].id ? "ActiveItem" : "") && d(t, "class", c);
4848
+ p(T, O) {
4849
+ var U, F;
4850
+ e = T, /*mainItem*/
4851
+ (U = e[79]) != null && U.img ? p ? p.p(e, O) : (p = Ir(e), p.c(), p.m(n, i)) : p && (p.d(1), p = null), O[0] & /*HamburgerMenuItems*/
4852
+ 32 && a !== (a = /*mainItem*/
4853
+ e[79].label + "") && ce(s, a), /*mainItem*/
4854
+ (F = e[79]) != null && F.tag ? m ? m.p(e, O) : (m = Cr(e), m.c(), m.m(n, null)) : m && (m.d(1), m = null), O[0] & /*activeMenuItemId, HamburgerMenuItems*/
4855
+ 96 && c !== (c = /*activeMenuItemId*/
4856
+ e[6] === /*mainItem*/
4857
+ e[79].id ? "ActiveItem" : "") && d(t, "class", c);
4824
4858
  },
4825
- d(S) {
4826
- S && B(t), p && p.d(), m && m.d(), g = !1, f();
4859
+ d(T) {
4860
+ T && P(t), p && p.d(), m && m.d(), f = !1, g();
4827
4861
  }
4828
4862
  };
4829
4863
  }
4830
- function Pr(e) {
4864
+ function Rr(e) {
4831
4865
  let t, r;
4832
4866
  return {
4833
4867
  c() {
4834
- t = _("img"), ee(t.src, r = /*secondaryItem*/
4835
- e[71].img) || d(t, "src", r), d(t, "alt", "menu icon");
4868
+ t = _("img"), K(t.src, r = /*secondaryItem*/
4869
+ e[76].img) || d(t, "src", r), d(t, "alt", "menu icon");
4836
4870
  },
4837
4871
  m(n, i) {
4838
- I(n, t, i);
4872
+ B(n, t, i);
4839
4873
  },
4840
4874
  p(n, i) {
4841
4875
  i[0] & /*activeMenuItemChildren*/
4842
- 256 && !ee(t.src, r = /*secondaryItem*/
4843
- n[71].img) && d(t, "src", r);
4876
+ 128 && !K(t.src, r = /*secondaryItem*/
4877
+ n[76].img) && d(t, "src", r);
4844
4878
  },
4845
4879
  d(n) {
4846
- n && B(t);
4880
+ n && P(t);
4847
4881
  }
4848
4882
  };
4849
4883
  }
4850
- function Br(e) {
4851
- var g;
4884
+ function Ur(e) {
4885
+ var f;
4852
4886
  let t, r, n, i = (
4853
4887
  /*secondaryItem*/
4854
- e[71].label + ""
4888
+ e[76].label + ""
4855
4889
  ), o, a, s, u, l = (
4856
4890
  /*secondaryItem*/
4857
- ((g = e[71]) == null ? void 0 : g.img) && Pr(e)
4891
+ ((f = e[76]) == null ? void 0 : f.img) && Rr(e)
4858
4892
  );
4859
- function c(...f) {
4893
+ function c(...g) {
4860
4894
  return (
4861
4895
  /*click_handler_1*/
4862
- e[43](
4896
+ e[46](
4863
4897
  /*secondaryItem*/
4864
- e[71],
4865
- ...f
4898
+ e[76],
4899
+ ...g
4866
4900
  )
4867
4901
  );
4868
4902
  }
4869
4903
  return {
4870
4904
  c() {
4871
- t = _("li"), l && l.c(), r = N(), n = _("p"), o = Y(i), a = N();
4905
+ t = _("li"), l && l.c(), r = N(), n = _("p"), o = ee(i), a = N();
4872
4906
  },
4873
- m(f, p) {
4874
- I(f, t, p), 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);
4907
+ m(g, p) {
4908
+ B(g, t, p), l && l.m(t, null), b(t, r), b(t, n), b(n, o), b(t, a), s || (u = ue(t, "click", c), s = !0);
4875
4909
  },
4876
- p(f, p) {
4910
+ p(g, p) {
4877
4911
  var m;
4878
- e = f, /*secondaryItem*/
4879
- (m = e[71]) != null && m.img ? l ? l.p(e, p) : (l = Pr(e), l.c(), l.m(t, r)) : l && (l.d(1), l = null), p[0] & /*activeMenuItemChildren*/
4880
- 256 && i !== (i = /*secondaryItem*/
4881
- e[71].label + "") && le(o, i);
4912
+ e = g, /*secondaryItem*/
4913
+ (m = e[76]) != null && m.img ? l ? l.p(e, p) : (l = Rr(e), l.c(), l.m(t, r)) : l && (l.d(1), l = null), p[0] & /*activeMenuItemChildren*/
4914
+ 128 && i !== (i = /*secondaryItem*/
4915
+ e[76].label + "") && ce(o, i);
4882
4916
  },
4883
- d(f) {
4884
- f && B(t), l && l.d(), s = !1, u();
4917
+ d(g) {
4918
+ g && P(t), l && l.d(), s = !1, u();
4885
4919
  }
4886
4920
  };
4887
4921
  }
4888
- function Ir(e) {
4922
+ function kr(e) {
4889
4923
  let t, r, n = (
4890
4924
  /*$_*/
4891
- e[18]("language") + ""
4925
+ e[19]("language") + ""
4892
4926
  ), i, o, a, s, u;
4893
- function l(f, p) {
4927
+ function l(g, p) {
4894
4928
  return (
4895
4929
  /*countryflaghamburger*/
4896
- f[1] !== "true" ? Aa : Ma
4930
+ g[0] !== "true" ? Ua : Ra
4897
4931
  );
4898
4932
  }
4899
- let c = l(e), g = c(e);
4933
+ let c = l(e), f = c(e);
4900
4934
  return {
4901
4935
  c() {
4902
- t = _("div"), r = _("span"), i = Y(n), o = N(), g.c(), d(r, "class", "LanguageSelectorTitle"), d(t, "class", a = "LanguageSelector " + /*isOptionsListVisible*/
4903
- (e[12] ? "Open" : ""));
4936
+ t = _("div"), r = _("span"), i = ee(n), o = N(), f.c(), d(r, "class", "LanguageSelectorTitle"), d(t, "class", a = "LanguageSelector " + /*isOptionsListVisible*/
4937
+ (e[11] ? "Open" : ""));
4904
4938
  },
4905
- m(f, p) {
4906
- I(f, t, p), b(t, r), b(r, i), b(t, o), g.m(t, null), s || (u = se(
4939
+ m(g, p) {
4940
+ B(g, t, p), b(t, r), b(r, i), b(t, o), f.m(t, null), s || (u = ue(
4907
4941
  t,
4908
4942
  "click",
4909
4943
  /*toggleLanguageDropdown*/
4910
- e[24]
4944
+ e[25]
4911
4945
  ), s = !0);
4912
4946
  },
4913
- p(f, p) {
4947
+ p(g, p) {
4914
4948
  p[0] & /*$_*/
4915
- 262144 && n !== (n = /*$_*/
4916
- f[18]("language") + "") && le(i, n), c === (c = l(f)) && g ? g.p(f, p) : (g.d(1), g = c(f), g && (g.c(), g.m(t, null))), p[0] & /*isOptionsListVisible*/
4917
- 4096 && a !== (a = "LanguageSelector " + /*isOptionsListVisible*/
4918
- (f[12] ? "Open" : "")) && d(t, "class", a);
4949
+ 524288 && n !== (n = /*$_*/
4950
+ g[19]("language") + "") && ce(i, n), c === (c = l(g)) && f ? f.p(g, p) : (f.d(1), f = c(g), f && (f.c(), f.m(t, null))), p[0] & /*isOptionsListVisible*/
4951
+ 2048 && a !== (a = "LanguageSelector " + /*isOptionsListVisible*/
4952
+ (g[11] ? "Open" : "")) && d(t, "class", a);
4919
4953
  },
4920
- d(f) {
4921
- f && B(t), g.d(), s = !1, u();
4954
+ d(g) {
4955
+ g && P(t), f.d(), s = !1, u();
4922
4956
  }
4923
4957
  };
4924
4958
  }
4925
- function Ma(e) {
4959
+ function Ra(e) {
4926
4960
  let t, r, n, i, o, a, s, u = (
4927
4961
  /*selectedLanguage*/
4928
- e[17].slice(-2) + ""
4929
- ), l, c, g, f, p, m, v, x = (
4962
+ e[18].slice(-2) + ""
4963
+ ), l, c, f, g, p, m, v, x = (
4930
4964
  /*isOptionsListVisible*/
4931
- e[12] && Cr(e)
4965
+ e[11] && Dr(e)
4932
4966
  );
4933
4967
  return {
4934
4968
  c() {
4935
- t = _("div"), r = _("div"), n = _("span"), i = _("img"), a = N(), s = _("span"), l = Y(u), c = N(), g = _("span"), f = Zt("svg"), p = Zt("path"), v = N(), x && x.c(), ee(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4936
- e[25](
4969
+ t = _("div"), r = _("div"), n = _("span"), i = _("img"), a = N(), s = _("span"), l = ee(u), c = N(), f = _("span"), g = Kt("svg"), p = Kt("path"), v = N(), x && x.c(), K(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4970
+ e[26](
4937
4971
  /*selectedLanguage*/
4938
- e[17]
4939
- )}.svg`) || d(i, "src", o), d(n, "class", "FlagIcon"), d(s, "class", "LanguageName"), d(p, "id", "arrow"), d(p, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), d(p, "transform", "translate(-274.511 -441.088)"), d(p, "fill", "#d1d1d1"), d(f, "xmlns", "http://www.w3.org/2000/svg"), d(f, "width", "14"), d(f, "height", "6.835"), d(f, "viewBox", "0 0 14 6.835"), d(g, "class", m = "TriangleInactive " + /*isOptionsListVisible*/
4940
- (e[12] ? "TriangleActive" : "")), d(r, "class", "SelectedOption Item ItemLanguage"), d(t, "class", "LanguageDropdown");
4972
+ e[18]
4973
+ )}.svg`) || d(i, "src", o), d(n, "class", "FlagIcon"), d(s, "class", "LanguageName"), d(p, "id", "arrow"), d(p, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), d(p, "transform", "translate(-274.511 -441.088)"), d(p, "fill", "#d1d1d1"), d(g, "xmlns", "http://www.w3.org/2000/svg"), d(g, "width", "14"), d(g, "height", "6.835"), d(g, "viewBox", "0 0 14 6.835"), d(f, "class", m = "TriangleInactive " + /*isOptionsListVisible*/
4974
+ (e[11] ? "TriangleActive" : "")), d(r, "class", "SelectedOption Item ItemLanguage"), d(t, "class", "LanguageDropdown");
4941
4975
  },
4942
- m(E, S) {
4943
- I(E, t, S), b(t, r), b(r, n), b(n, i), b(r, a), b(r, s), b(s, l), b(r, c), b(r, g), b(g, f), b(f, p), b(t, v), x && x.m(t, null);
4976
+ m(E, T) {
4977
+ B(E, t, T), 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, p), b(t, v), x && x.m(t, null);
4944
4978
  },
4945
- p(E, S) {
4946
- S[0] & /*selectedLanguage, languagesArray*/
4947
- 133120 && !ee(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4948
- E[25](
4979
+ p(E, T) {
4980
+ T[0] & /*selectedLanguage, languagesArray*/
4981
+ 263168 && !K(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4982
+ E[26](
4949
4983
  /*selectedLanguage*/
4950
- E[17]
4951
- )}.svg`) && d(i, "src", o), S[0] & /*selectedLanguage*/
4952
- 131072 && u !== (u = /*selectedLanguage*/
4953
- E[17].slice(-2) + "") && le(l, u), S[0] & /*isOptionsListVisible*/
4954
- 4096 && m !== (m = "TriangleInactive " + /*isOptionsListVisible*/
4955
- (E[12] ? "TriangleActive" : "")) && d(g, "class", m), /*isOptionsListVisible*/
4956
- E[12] ? x ? x.p(E, S) : (x = Cr(E), x.c(), x.m(t, null)) : x && (x.d(1), x = null);
4984
+ E[18]
4985
+ )}.svg`) && d(i, "src", o), T[0] & /*selectedLanguage*/
4986
+ 262144 && u !== (u = /*selectedLanguage*/
4987
+ E[18].slice(-2) + "") && ce(l, u), T[0] & /*isOptionsListVisible*/
4988
+ 2048 && m !== (m = "TriangleInactive " + /*isOptionsListVisible*/
4989
+ (E[11] ? "TriangleActive" : "")) && d(f, "class", m), /*isOptionsListVisible*/
4990
+ E[11] ? x ? x.p(E, T) : (x = Dr(E), x.c(), x.m(t, null)) : x && (x.d(1), x = null);
4957
4991
  },
4958
4992
  d(E) {
4959
- E && B(t), x && x.d();
4993
+ E && P(t), x && x.d();
4960
4994
  }
4961
4995
  };
4962
4996
  }
4963
- function Aa(e) {
4964
- let t, r, n, i = re(
4997
+ function Ua(e) {
4998
+ let t, r, n, i = ie(
4965
4999
  /*languagesArray*/
4966
- e[11]
5000
+ e[10]
4967
5001
  ), o = [];
4968
5002
  for (let a = 0; a < i.length; a += 1)
4969
- o[a] = Rr(wr(e, i, a));
5003
+ o[a] = Gr(Mr(e, i, a));
4970
5004
  return {
4971
5005
  c() {
4972
5006
  t = _("select");
4973
5007
  for (let a = 0; a < o.length; a += 1)
4974
5008
  o[a].c();
4975
5009
  d(t, "class", "Item ItemLanguage NoFlag"), /*selectedLanguage*/
4976
- e[17] === void 0 && Qe(() => (
5010
+ e[18] === void 0 && Ye(() => (
4977
5011
  /*select_change_handler*/
4978
- e[44].call(t)
5012
+ e[47].call(t)
4979
5013
  ));
4980
5014
  },
4981
5015
  m(a, s) {
4982
- I(a, t, s);
5016
+ B(a, t, s);
4983
5017
  for (let u = 0; u < o.length; u += 1)
4984
5018
  o[u] && o[u].m(t, null);
4985
- Yt(
5019
+ tr(
4986
5020
  t,
4987
5021
  /*selectedLanguage*/
4988
- e[17],
5022
+ e[18],
4989
5023
  !0
4990
5024
  ), r || (n = [
4991
- se(
5025
+ ue(
4992
5026
  t,
4993
5027
  "change",
4994
5028
  /*select_change_handler*/
4995
- e[44]
5029
+ e[47]
4996
5030
  ),
4997
- se(
5031
+ ue(
4998
5032
  t,
4999
5033
  "change",
5000
5034
  /*change_handler*/
5001
- e[45]
5035
+ e[48]
5002
5036
  )
5003
5037
  ], r = !0);
5004
5038
  },
5005
5039
  p(a, s) {
5006
5040
  if (s[0] & /*languagesArray*/
5007
- 2048) {
5008
- i = re(
5041
+ 1024) {
5042
+ i = ie(
5009
5043
  /*languagesArray*/
5010
- a[11]
5044
+ a[10]
5011
5045
  );
5012
5046
  let u;
5013
5047
  for (u = 0; u < i.length; u += 1) {
5014
- const l = wr(a, i, u);
5015
- o[u] ? o[u].p(l, s) : (o[u] = Rr(l), o[u].c(), o[u].m(t, null));
5048
+ const l = Mr(a, i, u);
5049
+ o[u] ? o[u].p(l, s) : (o[u] = Gr(l), o[u].c(), o[u].m(t, null));
5016
5050
  }
5017
5051
  for (; u < o.length; u += 1)
5018
5052
  o[u].d(1);
5019
5053
  o.length = i.length;
5020
5054
  }
5021
5055
  s[0] & /*selectedLanguage, languagesArray*/
5022
- 133120 && Yt(
5056
+ 263168 && tr(
5023
5057
  t,
5024
5058
  /*selectedLanguage*/
5025
- a[17]
5059
+ a[18]
5026
5060
  );
5027
5061
  },
5028
5062
  d(a) {
5029
- a && B(t), Re(o, a), r = !1, fe(n);
5063
+ a && P(t), ke(o, a), r = !1, pe(n);
5030
5064
  }
5031
5065
  };
5032
5066
  }
5033
- function Cr(e) {
5034
- let t, r, n = re(
5067
+ function Dr(e) {
5068
+ let t, r, n = ie(
5035
5069
  /*languagesArray*/
5036
- e[11]
5070
+ e[10]
5037
5071
  ), i = [];
5038
5072
  for (let o = 0; o < n.length; o += 1)
5039
- i[o] = Nr(Er(e, n, o));
5073
+ i[o] = Fr(Or(e, n, o));
5040
5074
  return {
5041
5075
  c() {
5042
5076
  t = _("div");
5043
5077
  for (let o = 0; o < i.length; o += 1)
5044
5078
  i[o].c();
5045
5079
  d(t, "class", r = "OptionList " + /*languageListOpen*/
5046
- (e[13] ? "Open" : ""));
5080
+ (e[12] ? "Open" : ""));
5047
5081
  },
5048
5082
  m(o, a) {
5049
- I(o, t, a);
5083
+ B(o, t, a);
5050
5084
  for (let s = 0; s < i.length; s += 1)
5051
5085
  i[s] && i[s].m(t, null);
5052
5086
  },
5053
5087
  p(o, a) {
5054
5088
  if (a[0] & /*languageListOpen, selectLanguage, languagesArray, determineFlag*/
5055
- 41953280) {
5056
- n = re(
5089
+ 83891200) {
5090
+ n = ie(
5057
5091
  /*languagesArray*/
5058
- o[11]
5092
+ o[10]
5059
5093
  );
5060
5094
  let s;
5061
5095
  for (s = 0; s < n.length; s += 1) {
5062
- const u = Er(o, n, s);
5063
- i[s] ? i[s].p(u, a) : (i[s] = Nr(u), i[s].c(), i[s].m(t, null));
5096
+ const u = Or(o, n, s);
5097
+ i[s] ? i[s].p(u, a) : (i[s] = Fr(u), i[s].c(), i[s].m(t, null));
5064
5098
  }
5065
5099
  for (; s < i.length; s += 1)
5066
5100
  i[s].d(1);
5067
5101
  i.length = n.length;
5068
5102
  }
5069
5103
  a[0] & /*languageListOpen*/
5070
- 8192 && r !== (r = "OptionList " + /*languageListOpen*/
5071
- (o[13] ? "Open" : "")) && d(t, "class", r);
5104
+ 4096 && r !== (r = "OptionList " + /*languageListOpen*/
5105
+ (o[12] ? "Open" : "")) && d(t, "class", r);
5072
5106
  },
5073
5107
  d(o) {
5074
- o && B(t), Re(i, o);
5108
+ o && P(t), ke(i, o);
5075
5109
  }
5076
5110
  };
5077
5111
  }
5078
- function Nr(e) {
5112
+ function Fr(e) {
5079
5113
  let t, r, n, i, o, a, s = (
5080
5114
  /*operatorLanguage*/
5081
- e[68] + ""
5082
- ), u, l, c, g, f;
5115
+ e[73] + ""
5116
+ ), u, l, c, f, g;
5083
5117
  function p() {
5084
5118
  return (
5085
5119
  /*click_handler_2*/
5086
- e[46](
5120
+ e[49](
5087
5121
  /*operatorLanguage*/
5088
- e[68]
5122
+ e[73]
5089
5123
  )
5090
5124
  );
5091
5125
  }
5092
5126
  return {
5093
5127
  c() {
5094
- t = _("div"), r = _("span"), n = _("img"), o = N(), a = _("span"), u = Y(s), l = N(), ee(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
5095
- e[25](
5128
+ t = _("div"), r = _("span"), n = _("img"), o = N(), a = _("span"), u = ee(s), l = N(), K(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
5129
+ e[26](
5096
5130
  /*operatorLanguage*/
5097
- e[68]
5131
+ e[73]
5098
5132
  )}.svg`) || d(n, "src", i), d(r, "class", "FlagIcon"), d(a, "class", "LanguageName"), d(t, "class", c = "LanguageOption " + /*languageListOpen*/
5099
- (e[13] ? "Open" : ""));
5133
+ (e[12] ? "Open" : ""));
5100
5134
  },
5101
5135
  m(m, v) {
5102
- I(m, t, v), b(t, r), b(r, n), b(t, o), b(t, a), b(a, u), b(t, l), g || (f = se(t, "click", p), g = !0);
5136
+ B(m, t, v), b(t, r), b(r, n), b(t, o), b(t, a), b(a, u), b(t, l), f || (g = ue(t, "click", p), f = !0);
5103
5137
  },
5104
5138
  p(m, v) {
5105
5139
  e = m, v[0] & /*languagesArray*/
5106
- 2048 && !ee(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
5107
- e[25](
5140
+ 1024 && !K(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
5141
+ e[26](
5108
5142
  /*operatorLanguage*/
5109
- e[68]
5143
+ e[73]
5110
5144
  )}.svg`) && d(n, "src", i), v[0] & /*languagesArray*/
5111
- 2048 && s !== (s = /*operatorLanguage*/
5112
- e[68] + "") && le(u, s), v[0] & /*languageListOpen*/
5113
- 8192 && c !== (c = "LanguageOption " + /*languageListOpen*/
5114
- (e[13] ? "Open" : "")) && d(t, "class", c);
5145
+ 1024 && s !== (s = /*operatorLanguage*/
5146
+ e[73] + "") && ce(u, s), v[0] & /*languageListOpen*/
5147
+ 4096 && c !== (c = "LanguageOption " + /*languageListOpen*/
5148
+ (e[12] ? "Open" : "")) && d(t, "class", c);
5115
5149
  },
5116
5150
  d(m) {
5117
- m && B(t), g = !1, f();
5151
+ m && P(t), f = !1, g();
5118
5152
  }
5119
5153
  };
5120
5154
  }
5121
- function Rr(e) {
5155
+ function Gr(e) {
5122
5156
  let t, r = (
5123
5157
  /*lang*/
5124
- e[3].slice(-2) + ""
5158
+ e[2].slice(-2) + ""
5125
5159
  ), n, i;
5126
5160
  return {
5127
5161
  c() {
5128
- t = _("option"), n = Y(r), t.__value = i = /*lang*/
5129
- e[3], Qt(t, t.__value), t.selected = !0;
5162
+ t = _("option"), n = ee(r), t.__value = i = /*lang*/
5163
+ e[2], er(t, t.__value), t.selected = !0;
5130
5164
  },
5131
5165
  m(o, a) {
5132
- I(o, t, a), b(t, n);
5166
+ B(o, t, a), b(t, n);
5133
5167
  },
5134
5168
  p(o, a) {
5135
5169
  a[0] & /*languagesArray*/
5136
- 2048 && r !== (r = /*lang*/
5137
- o[3].slice(-2) + "") && le(n, r), a[0] & /*languagesArray*/
5138
- 2048 && i !== (i = /*lang*/
5139
- o[3]) && (t.__value = i, Qt(t, t.__value));
5170
+ 1024 && r !== (r = /*lang*/
5171
+ o[2].slice(-2) + "") && ce(n, r), a[0] & /*languagesArray*/
5172
+ 1024 && i !== (i = /*lang*/
5173
+ o[2]) && (t.__value = i, er(t, t.__value));
5140
5174
  },
5141
5175
  d(o) {
5142
- o && B(t);
5176
+ o && P(t);
5143
5177
  }
5144
5178
  };
5145
5179
  }
5146
- function La(e) {
5180
+ function ka(e) {
5147
5181
  let t, r, n = (
5148
5182
  /*show*/
5149
- e[10] === !0 && Or(e)
5183
+ e[9] === !0 && Br(e)
5150
5184
  );
5151
5185
  return {
5152
5186
  c() {
5153
5187
  t = _("div"), n && n.c();
5154
5188
  },
5155
5189
  m(i, o) {
5156
- I(i, t, o), n && n.m(t, null), e[48](t), r = !0;
5190
+ B(i, t, o), n && n.m(t, null), e[51](t), r = !0;
5157
5191
  },
5158
5192
  p(i, o) {
5159
5193
  /*show*/
5160
- i[10] === !0 ? n ? (n.p(i, o), o[0] & /*show*/
5161
- 1024 && he(n, 1)) : (n = Or(i), n.c(), he(n, 1), n.m(t, null)) : n && (jr(), Ie(n, 1, 1, () => {
5194
+ i[9] === !0 ? n ? (n.p(i, o), o[0] & /*show*/
5195
+ 512 && ge(n, 1)) : (n = Br(i), n.c(), ge(n, 1), n.m(t, null)) : n && (zr(), Ne(n, 1, 1, () => {
5162
5196
  n = null;
5163
- }), $r());
5197
+ }), Zr());
5164
5198
  },
5165
5199
  i(i) {
5166
- r || (he(n), r = !0);
5200
+ r || (ge(n), r = !0);
5167
5201
  },
5168
5202
  o(i) {
5169
- Ie(n), r = !1;
5203
+ Ne(n), r = !1;
5170
5204
  },
5171
5205
  d(i) {
5172
- i && B(t), n && n.d(), e[48](null);
5206
+ i && P(t), n && n.d(), e[51](null);
5173
5207
  }
5174
5208
  };
5175
5209
  }
5176
- function Pa(e, t, r) {
5210
+ function Da(e, t, r) {
5177
5211
  let n;
5178
- Gn(e, ga, (h) => r(18, n = h));
5179
- let { $$slots: i = {}, $$scope: o } = t, { menuitemsurl: a = "" } = t, { session: s = "" } = t, { userid: u = "" } = t, { cmsendpoint: l } = t, { cmsenv: c = "stage" } = t, { userroles: g } = t, { lang: f = "en" } = t, { activecategory: p = "" } = t, { languageslist: m = "" } = t, { translationurl: v = "" } = t, { mbsource: x } = t, { clientstyling: E = "" } = t, { clientstylingurl: S = "" } = t, { customlocaleidentifier: T = "" } = t, { countryflaghamburger: G = "" } = t, { customlogourl: k } = t, z, Z = window.navigator.userAgent, q = [], ue, j = "", pe = [], de = !1, me = !1, V = !0, ne = [], ie = !1, Q = !1, F = !1, J = !1, C = !0, M, y = !1, O = "", R;
5180
- const $ = () => {
5181
- fetch(v).then((h) => h.json()).then((h) => {
5182
- Object.keys(h).forEach((A) => {
5183
- _r(A, h[A]);
5212
+ Zn(e, _a, (h) => r(19, n = h));
5213
+ 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: p = "en" } = t, { activecategory: m = "" } = t, { languageslist: v = "" } = t, { translationurl: x = "" } = t, { mbsource: E } = t, { clientstyling: T = "" } = t, { clientstylingurl: O = "" } = t, { customlocaleidentifier: U = "" } = t, { countryflaghamburger: F = "" } = t, { customlogourl: Q } = t, Z, oe = window.navigator.userAgent, q = [], j, he = "", Le = [], me = !1, V = !1, be = !0, ae = [], Y = !1, k = !1, X = !1, I = !1, R = !0, y, A = !1, $ = null, D = null, ye = "", te = "", re;
5214
+ const On = () => {
5215
+ fetch(x).then((h) => h.json()).then((h) => {
5216
+ Object.keys(h).forEach((S) => {
5217
+ Sr(S, h[S]);
5184
5218
  });
5185
5219
  }).catch((h) => {
5186
5220
  console.log(h);
5187
5221
  });
5188
5222
  };
5189
- Object.keys(xr).forEach((h) => {
5190
- _r(h, xr[h]);
5223
+ Object.keys(Tr).forEach((h) => {
5224
+ Sr(h, Tr[h]);
5191
5225
  });
5192
- const be = () => {
5193
- M = new URL(`${l}/${O.toLowerCase()}/hamburger-menu`);
5194
- let h = pa(Z);
5195
- h && (h === "PC" ? M.searchParams.append("device", "dk") : M.searchParams.append("device", "mtWeb")), M.searchParams.append("env", c), M.searchParams.append("language", O.toLowerCase()), M.searchParams.append("userRoles", g);
5196
- }, ot = () => {
5197
- r(14, J = !0), r(15, C = !0), r(12, Q = !1), r(13, F = !1), setTimeout(
5226
+ const st = () => {
5227
+ y = new URL(`${l}/${te.toLowerCase()}/hamburger-menu`);
5228
+ let h = xa(oe);
5229
+ h && (h === "PC" ? y.searchParams.append("device", "dk") : y.searchParams.append("device", "mtWeb")), y.searchParams.append("env", f), y.searchParams.append("language", te.toLowerCase()), y.searchParams.append("userRoles", g);
5230
+ }, lt = () => {
5231
+ r(13, I = !0), r(14, R = !0), r(11, k = !1), r(12, X = !1), setTimeout(
5198
5232
  () => {
5199
- r(10, me = !1), r(9, de = !1);
5233
+ r(9, V = !1), r(8, me = !1);
5200
5234
  },
5201
5235
  200
5202
5236
  ), window.postMessage(
@@ -5206,60 +5240,78 @@ function Pa(e, t, r) {
5206
5240
  },
5207
5241
  window.location.href
5208
5242
  );
5209
- }, Ut = (h) => {
5243
+ }, Mn = (h) => {
5244
+ r(17, ye = h.Username), r(16, $ = h.UserID), r(15, A = !0);
5245
+ }, Gt = () => {
5246
+ r(15, A = !1), D = null, r(16, $ = null), r(17, ye = "");
5247
+ }, jt = (h) => gt(this, null, function* () {
5248
+ if (!h) {
5249
+ Gt();
5250
+ return;
5251
+ }
5252
+ try {
5253
+ const S = yield Ea(c, h);
5254
+ Mn({
5255
+ Username: S.Username,
5256
+ UserID: S.UserID
5257
+ });
5258
+ } catch (S) {
5259
+ console.error("Error while checking the session:", S), Gt();
5260
+ }
5261
+ }), $t = (h) => {
5210
5262
  if (!(!h || !h.data || typeof h.data != "object" || !("type" in h.data)))
5211
5263
  switch (h.data.type) {
5212
5264
  case "OpenHamburgerMenuModal": {
5213
- window.postMessage({ type: "DisableScroll" }, window.location.href), r(14, J = !1), setTimeout(
5265
+ window.postMessage({ type: "DisableScroll" }, window.location.href), r(13, I = !1), setTimeout(
5214
5266
  () => {
5215
- r(15, C = !1);
5267
+ r(14, R = !1);
5216
5268
  },
5217
5269
  125
5218
- ), r(10, me = !0), r(9, de = !0), be(), Dt(M);
5270
+ ), r(9, V = !0), r(8, me = !0), st(), Xt(y);
5219
5271
  break;
5220
5272
  }
5221
5273
  case "LanguageChanged": {
5222
- ie = !0, be(), Dt(M);
5274
+ Y = !0, st(), Xt(y);
5223
5275
  break;
5224
5276
  }
5225
5277
  case "UserSessionID":
5226
- h.data.userid, h.data.session, r(16, y = !0);
5278
+ r(16, $ = h.data.userid), D = h.data.session, r(15, A = !0), jt(D);
5227
5279
  break;
5228
5280
  case "LogoutSuccessfull":
5229
- r(16, y = !1);
5281
+ r(15, A = !1);
5230
5282
  break;
5231
5283
  }
5232
- }, at = (h, A) => {
5233
- r(7, j = h), r(8, pe = A || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
5284
+ }, ut = (h, S) => {
5285
+ r(6, he = h), r(7, Le = S || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
5234
5286
  context: "HamburgerMenu",
5235
- menuItem: `${j}`
5287
+ menuItem: `${he}`
5236
5288
  });
5237
- }, kt = (h) => {
5238
- var Ae, Fe;
5239
- const A = ((Ae = h == null ? void 0 : h.children) == null ? void 0 : Ae.length) > 0, oe = (h == null ? void 0 : h.path) && ((Fe = h == null ? void 0 : h.keyword) == null ? void 0 : Fe.includes("InternalLink"));
5240
- !A && oe && st(h), at(h.id, h.children);
5241
- }, Ft = () => {
5242
- let h = q.filter((A) => {
5243
- var Ae;
5244
- let oe = !1;
5245
- return (Ae = A.children) == null || Ae.forEach((Fe) => {
5246
- Fe.path.includes(p) && (oe = !0);
5247
- }), oe;
5289
+ }, Wt = (h) => {
5290
+ var Pe, Ge;
5291
+ const S = ((Pe = h == null ? void 0 : h.children) == null ? void 0 : Pe.length) > 0, se = (h == null ? void 0 : h.path) && ((Ge = h == null ? void 0 : h.keyword) == null ? void 0 : Ge.includes("InternalLink"));
5292
+ !S && se && ct(h), ut(h.id, h.children);
5293
+ }, Vt = () => {
5294
+ let h = q.filter((S) => {
5295
+ var Pe;
5296
+ let se = !1;
5297
+ return (Pe = S.children) == null || Pe.forEach((Ge) => {
5298
+ Ge.path.includes(m) && (se = !0);
5299
+ }), se;
5248
5300
  });
5249
- h.length > 0 ? at(h[0].id, h[0].children) : at(q[0].id, q[0].children);
5250
- }, Dt = (h) => {
5251
- ue && !ie || Gt(h);
5252
- }, Gt = (h) => {
5253
- fetch(h).then((A) => A.json()).then(
5254
- (A) => {
5255
- r(6, q = A.filter((oe) => (oe == null ? void 0 : oe.type) !== "banner")), Ft(), r(39, V = !1), ue = A, ie = !1;
5301
+ h.length > 0 ? ut(h[0].id, h[0].children) : ut(q[0].id, q[0].children);
5302
+ }, Xt = (h) => {
5303
+ j && !Y || zt(h);
5304
+ }, zt = (h) => {
5305
+ fetch(h).then((S) => S.json()).then(
5306
+ (S) => {
5307
+ r(5, q = S.filter((se) => (se == null ? void 0 : se.type) !== "banner")), Vt(), r(42, be = !1), j = S, Y = !1;
5256
5308
  },
5257
- (A) => {
5258
- console.error(A);
5309
+ (S) => {
5310
+ console.error(S);
5259
5311
  }
5260
5312
  );
5261
5313
  };
5262
- let st = (h) => {
5314
+ let ct = (h) => {
5263
5315
  window.postMessage(
5264
5316
  {
5265
5317
  type: "NavigateTo",
@@ -5268,271 +5320,281 @@ function Pa(e, t, r) {
5268
5320
  target: h.attrs.target || null
5269
5321
  },
5270
5322
  window.location.href
5271
- ), ot();
5323
+ ), lt();
5272
5324
  };
5273
- const lt = () => {
5274
- ie = !0, window.postMessage(
5325
+ const ht = () => {
5326
+ Y = !0, window.postMessage(
5275
5327
  {
5276
5328
  type: "LanguageChanged",
5277
- selectedLanguage: O
5329
+ selectedLanguage: te
5278
5330
  },
5279
5331
  window.location.href
5280
5332
  );
5281
- }, En = () => {
5282
- va(f), be(), ie && Gt(M), r(11, ne = m.replace(/ /g, "").split(",")), r(11, ne = ne.map((h) => h.toUpperCase())), r(17, O = f.toUpperCase());
5283
- }, jt = (h) => {
5284
- r(17, O = h), setTimeout(
5333
+ }, An = () => {
5334
+ Ta(p), st(), Y && zt(y), r(10, ae = v.replace(/ /g, "").split(",")), r(10, ae = ae.map((h) => h.toUpperCase())), r(18, te = p.toUpperCase());
5335
+ }, Zt = (h) => {
5336
+ r(18, te = h), setTimeout(
5285
5337
  () => {
5286
- r(13, F = !1);
5338
+ r(12, X = !1);
5287
5339
  },
5288
5340
  250
5289
5341
  ), setTimeout(
5290
5342
  () => {
5291
- r(12, Q = !1);
5343
+ r(11, k = !1);
5292
5344
  },
5293
5345
  500
5294
- ), lt();
5295
- }, wn = () => {
5296
- Q ? (setTimeout(
5346
+ ), ht();
5347
+ }, Ln = () => {
5348
+ k ? (setTimeout(
5297
5349
  () => {
5298
- r(12, Q = !1);
5350
+ r(11, k = !1);
5299
5351
  },
5300
5352
  250
5301
- ), r(13, F = !1)) : (r(12, Q = !0), setTimeout(
5353
+ ), r(12, X = !1)) : (r(11, k = !0), setTimeout(
5302
5354
  () => {
5303
- r(13, F = !0);
5355
+ r(12, X = !0);
5304
5356
  },
5305
5357
  300
5306
5358
  ));
5307
- }, Hn = (h) => {
5308
- let A = h ? h.slice(-2) : O.slice(-2);
5309
- return T && (A = T.includes(A.toLowerCase()) ? T.slice(-2) : A), A == "EN" ? "GB" : A.toUpperCase();
5310
- }, Sn = () => {
5311
- r(16, y = !0);
5312
- }, Tn = () => {
5359
+ }, Pn = (h) => {
5360
+ let S = h ? h.slice(-2) : te.slice(-2);
5361
+ return U && (S = U.includes(S.toLowerCase()) ? U.slice(-2) : S), S == "EN" ? "GB" : S.toUpperCase();
5362
+ }, Bn = () => {
5363
+ r(15, A = !0), D = s;
5364
+ }, In = () => {
5313
5365
  window.postMessage(
5314
5366
  {
5315
5367
  type: "PlayerAccountMenuActive",
5316
- isMobile: yr(Z)
5368
+ isMobile: Hr(oe)
5317
5369
  },
5318
5370
  window.location.href
5319
- ), ot(), typeof gtag == "function" && gtag("event", "GoToMyAccount", { context: "HamburgerMenu" });
5371
+ ), lt(), typeof gtag == "function" && gtag("event", "GoToMyAccount", { context: "HamburgerMenu" });
5320
5372
  };
5321
- Kn(() => (window.addEventListener("message", Ut, !1), yr(Z), () => {
5322
- window.removeEventListener("message", Ut);
5373
+ ai(() => (window.addEventListener("message", $t, !1), Hr(oe), () => {
5374
+ window.removeEventListener("message", $t);
5323
5375
  }));
5324
- const On = (h) => kt(h), Mn = (h, A) => {
5325
- st(h), A.preventDefault();
5376
+ const Cn = (h) => Wt(h), Nn = (h, S) => {
5377
+ ct(h), S.preventDefault();
5326
5378
  };
5327
- function An() {
5328
- O = Yn(this), r(17, O), r(11, ne);
5379
+ function Rn() {
5380
+ te = ni(this), r(18, te), r(10, ae);
5329
5381
  }
5330
- const Ln = () => lt(), Pn = (h) => jt(h);
5331
- function Bn(h) {
5332
- Ze[h ? "unshift" : "push"](() => {
5333
- z = h, r(5, z);
5382
+ const Un = () => ht(), kn = (h) => Zt(h);
5383
+ function Dn(h) {
5384
+ qe[h ? "unshift" : "push"](() => {
5385
+ Z = h, r(4, Z);
5334
5386
  });
5335
5387
  }
5336
- function In(h) {
5337
- Ze[h ? "unshift" : "push"](() => {
5338
- R = h, r(4, R);
5388
+ function Fn(h) {
5389
+ qe[h ? "unshift" : "push"](() => {
5390
+ re = h, r(3, re);
5339
5391
  });
5340
5392
  }
5341
5393
  return e.$$set = (h) => {
5342
- "menuitemsurl" in h && r(27, a = h.menuitemsurl), "session" in h && r(28, s = h.session), "userid" in h && r(0, u = h.userid), "cmsendpoint" in h && r(29, l = h.cmsendpoint), "cmsenv" in h && r(30, c = h.cmsenv), "userroles" in h && r(31, g = h.userroles), "lang" in h && r(3, f = h.lang), "activecategory" in h && r(32, p = h.activecategory), "languageslist" in h && r(33, m = h.languageslist), "translationurl" in h && r(34, v = h.translationurl), "mbsource" in h && r(35, x = h.mbsource), "clientstyling" in h && r(36, E = h.clientstyling), "clientstylingurl" in h && r(37, S = h.clientstylingurl), "customlocaleidentifier" in h && r(38, T = h.customlocaleidentifier), "countryflaghamburger" in h && r(1, G = h.countryflaghamburger), "customlogourl" in h && r(2, k = h.customlogourl), "$$scope" in h && r(40, o = h.$$scope);
5394
+ "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, p = h.lang), "activecategory" in h && r(35, m = h.activecategory), "languageslist" in h && r(36, v = h.languageslist), "translationurl" in h && r(37, x = h.translationurl), "mbsource" in h && r(38, E = h.mbsource), "clientstyling" in h && r(39, T = h.clientstyling), "clientstylingurl" in h && r(40, O = h.clientstylingurl), "customlocaleidentifier" in h && r(41, U = h.customlocaleidentifier), "countryflaghamburger" in h && r(0, F = h.countryflaghamburger), "customlogourl" in h && r(1, Q = h.customlogourl), "$$scope" in h && r(43, o = h.$$scope);
5343
5395
  }, e.$$.update = () => {
5344
- e.$$.dirty[0] & /*cmsendpoint, cmsenv, lang*/
5345
- 1610612744 | e.$$.dirty[1] & /*languageslist*/
5346
- 4 && l && c && f && m && En(), e.$$.dirty[1] & /*activecategory, isLoading*/
5347
- 258 && p && !V && Ft(), e.$$.dirty[1] & /*translationurl*/
5348
- 8 && v && $(), e.$$.dirty[0] & /*session*/
5349
- 268435456 && s && Sn(), e.$$.dirty[0] & /*customStylingContainer*/
5350
- 16 | e.$$.dirty[1] & /*clientstyling*/
5351
- 32 && E && R && da(R, E), e.$$.dirty[0] & /*customStylingContainer*/
5352
- 16 | e.$$.dirty[1] & /*clientstylingurl*/
5353
- 64 && S && R && ma(R, S), e.$$.dirty[0] & /*customStylingContainer*/
5354
- 16 | e.$$.dirty[1] & /*mbsource*/
5355
- 16 && x && R && ba(R, `${x}.Style`);
5396
+ e.$$.dirty[0] & /*lang*/
5397
+ 4 | e.$$.dirty[1] & /*cmsendpoint, cmsenv, languageslist*/
5398
+ 37 && l && f && p && v && An(), e.$$.dirty[1] & /*activecategory, isLoading*/
5399
+ 2064 && m && !be && Vt(), e.$$.dirty[1] & /*translationurl*/
5400
+ 64 && x && On(), e.$$.dirty[0] & /*session*/
5401
+ 536870912 && s && (Bn(), jt(s)), e.$$.dirty[0] & /*customStylingContainer*/
5402
+ 8 | e.$$.dirty[1] & /*clientstyling*/
5403
+ 256 && T && re && wa(re, T), e.$$.dirty[0] & /*customStylingContainer*/
5404
+ 8 | e.$$.dirty[1] & /*clientstylingurl*/
5405
+ 512 && O && re && Ha(re, O), e.$$.dirty[0] & /*customStylingContainer*/
5406
+ 8 | e.$$.dirty[1] & /*mbsource*/
5407
+ 128 && E && re && Sa(re, `${E}.Style`);
5356
5408
  }, [
5357
- u,
5358
- G,
5359
- k,
5360
- f,
5361
- R,
5362
- z,
5409
+ F,
5410
+ Q,
5411
+ p,
5412
+ re,
5413
+ Z,
5363
5414
  q,
5364
- j,
5365
- pe,
5366
- de,
5415
+ he,
5416
+ Le,
5367
5417
  me,
5368
- ne,
5369
- Q,
5370
- F,
5371
- J,
5372
- C,
5373
- y,
5374
- O,
5418
+ V,
5419
+ ae,
5420
+ k,
5421
+ X,
5422
+ I,
5423
+ R,
5424
+ A,
5425
+ $,
5426
+ ye,
5427
+ te,
5375
5428
  n,
5376
- ot,
5377
- kt,
5378
- st,
5379
5429
  lt,
5380
- jt,
5381
- wn,
5382
- Hn,
5383
- Tn,
5430
+ Wt,
5431
+ ct,
5432
+ ht,
5433
+ Zt,
5434
+ Ln,
5435
+ Pn,
5436
+ In,
5384
5437
  a,
5385
5438
  s,
5439
+ u,
5386
5440
  l,
5387
5441
  c,
5442
+ f,
5388
5443
  g,
5389
- p,
5390
5444
  m,
5391
5445
  v,
5392
5446
  x,
5393
5447
  E,
5394
- S,
5395
5448
  T,
5396
- V,
5449
+ O,
5450
+ U,
5451
+ be,
5397
5452
  o,
5398
5453
  i,
5399
- On,
5400
- Mn,
5401
- An,
5402
- Ln,
5403
- Pn,
5404
- Bn,
5405
- In
5454
+ Cn,
5455
+ Nn,
5456
+ Rn,
5457
+ Un,
5458
+ kn,
5459
+ Dn,
5460
+ Fn
5406
5461
  ];
5407
5462
  }
5408
- class Ba extends ui {
5463
+ class Fa extends mi {
5409
5464
  constructor(t) {
5410
- super(), si(
5465
+ super(), pi(
5411
5466
  this,
5412
5467
  t,
5413
- Pa,
5414
- La,
5415
- kr,
5468
+ Da,
5469
+ ka,
5470
+ $r,
5416
5471
  {
5417
- menuitemsurl: 27,
5418
- session: 28,
5419
- userid: 0,
5420
- cmsendpoint: 29,
5421
- cmsenv: 30,
5422
- userroles: 31,
5423
- lang: 3,
5424
- activecategory: 32,
5425
- languageslist: 33,
5426
- translationurl: 34,
5427
- mbsource: 35,
5428
- clientstyling: 36,
5429
- clientstylingurl: 37,
5430
- customlocaleidentifier: 38,
5431
- countryflaghamburger: 1,
5432
- customlogourl: 2
5472
+ menuitemsurl: 28,
5473
+ session: 29,
5474
+ userid: 30,
5475
+ cmsendpoint: 31,
5476
+ endpoint: 32,
5477
+ cmsenv: 33,
5478
+ userroles: 34,
5479
+ lang: 2,
5480
+ activecategory: 35,
5481
+ languageslist: 36,
5482
+ translationurl: 37,
5483
+ mbsource: 38,
5484
+ clientstyling: 39,
5485
+ clientstylingurl: 40,
5486
+ customlocaleidentifier: 41,
5487
+ countryflaghamburger: 0,
5488
+ customlogourl: 1
5433
5489
  },
5434
- ya,
5490
+ Oa,
5435
5491
  [-1, -1, -1]
5436
5492
  );
5437
5493
  }
5438
5494
  get menuitemsurl() {
5439
- return this.$$.ctx[27];
5495
+ return this.$$.ctx[28];
5440
5496
  }
5441
5497
  set menuitemsurl(t) {
5442
- this.$$set({ menuitemsurl: t }), U();
5498
+ this.$$set({ menuitemsurl: t }), C();
5443
5499
  }
5444
5500
  get session() {
5445
- return this.$$.ctx[28];
5501
+ return this.$$.ctx[29];
5446
5502
  }
5447
5503
  set session(t) {
5448
- this.$$set({ session: t }), U();
5504
+ this.$$set({ session: t }), C();
5449
5505
  }
5450
5506
  get userid() {
5451
- return this.$$.ctx[0];
5507
+ return this.$$.ctx[30];
5452
5508
  }
5453
5509
  set userid(t) {
5454
- this.$$set({ userid: t }), U();
5510
+ this.$$set({ userid: t }), C();
5455
5511
  }
5456
5512
  get cmsendpoint() {
5457
- return this.$$.ctx[29];
5513
+ return this.$$.ctx[31];
5458
5514
  }
5459
5515
  set cmsendpoint(t) {
5460
- this.$$set({ cmsendpoint: t }), U();
5516
+ this.$$set({ cmsendpoint: t }), C();
5517
+ }
5518
+ get endpoint() {
5519
+ return this.$$.ctx[32];
5520
+ }
5521
+ set endpoint(t) {
5522
+ this.$$set({ endpoint: t }), C();
5461
5523
  }
5462
5524
  get cmsenv() {
5463
- return this.$$.ctx[30];
5525
+ return this.$$.ctx[33];
5464
5526
  }
5465
5527
  set cmsenv(t) {
5466
- this.$$set({ cmsenv: t }), U();
5528
+ this.$$set({ cmsenv: t }), C();
5467
5529
  }
5468
5530
  get userroles() {
5469
- return this.$$.ctx[31];
5531
+ return this.$$.ctx[34];
5470
5532
  }
5471
5533
  set userroles(t) {
5472
- this.$$set({ userroles: t }), U();
5534
+ this.$$set({ userroles: t }), C();
5473
5535
  }
5474
5536
  get lang() {
5475
- return this.$$.ctx[3];
5537
+ return this.$$.ctx[2];
5476
5538
  }
5477
5539
  set lang(t) {
5478
- this.$$set({ lang: t }), U();
5540
+ this.$$set({ lang: t }), C();
5479
5541
  }
5480
5542
  get activecategory() {
5481
- return this.$$.ctx[32];
5543
+ return this.$$.ctx[35];
5482
5544
  }
5483
5545
  set activecategory(t) {
5484
- this.$$set({ activecategory: t }), U();
5546
+ this.$$set({ activecategory: t }), C();
5485
5547
  }
5486
5548
  get languageslist() {
5487
- return this.$$.ctx[33];
5549
+ return this.$$.ctx[36];
5488
5550
  }
5489
5551
  set languageslist(t) {
5490
- this.$$set({ languageslist: t }), U();
5552
+ this.$$set({ languageslist: t }), C();
5491
5553
  }
5492
5554
  get translationurl() {
5493
- return this.$$.ctx[34];
5555
+ return this.$$.ctx[37];
5494
5556
  }
5495
5557
  set translationurl(t) {
5496
- this.$$set({ translationurl: t }), U();
5558
+ this.$$set({ translationurl: t }), C();
5497
5559
  }
5498
5560
  get mbsource() {
5499
- return this.$$.ctx[35];
5561
+ return this.$$.ctx[38];
5500
5562
  }
5501
5563
  set mbsource(t) {
5502
- this.$$set({ mbsource: t }), U();
5564
+ this.$$set({ mbsource: t }), C();
5503
5565
  }
5504
5566
  get clientstyling() {
5505
- return this.$$.ctx[36];
5567
+ return this.$$.ctx[39];
5506
5568
  }
5507
5569
  set clientstyling(t) {
5508
- this.$$set({ clientstyling: t }), U();
5570
+ this.$$set({ clientstyling: t }), C();
5509
5571
  }
5510
5572
  get clientstylingurl() {
5511
- return this.$$.ctx[37];
5573
+ return this.$$.ctx[40];
5512
5574
  }
5513
5575
  set clientstylingurl(t) {
5514
- this.$$set({ clientstylingurl: t }), U();
5576
+ this.$$set({ clientstylingurl: t }), C();
5515
5577
  }
5516
5578
  get customlocaleidentifier() {
5517
- return this.$$.ctx[38];
5579
+ return this.$$.ctx[41];
5518
5580
  }
5519
5581
  set customlocaleidentifier(t) {
5520
- this.$$set({ customlocaleidentifier: t }), U();
5582
+ this.$$set({ customlocaleidentifier: t }), C();
5521
5583
  }
5522
5584
  get countryflaghamburger() {
5523
- return this.$$.ctx[1];
5585
+ return this.$$.ctx[0];
5524
5586
  }
5525
5587
  set countryflaghamburger(t) {
5526
- this.$$set({ countryflaghamburger: t }), U();
5588
+ this.$$set({ countryflaghamburger: t }), C();
5527
5589
  }
5528
5590
  get customlogourl() {
5529
- return this.$$.ctx[2];
5591
+ return this.$$.ctx[1];
5530
5592
  }
5531
5593
  set customlogourl(t) {
5532
- this.$$set({ customlogourl: t }), U();
5594
+ this.$$set({ customlogourl: t }), C();
5533
5595
  }
5534
5596
  }
5535
- li(Ba, { menuitemsurl: {}, session: {}, userid: {}, cmsendpoint: {}, cmsenv: {}, userroles: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {}, customlogourl: {} }, ["logo"], [], !0);
5597
+ di(Fa, { menuitemsurl: {}, session: {}, userid: {}, cmsendpoint: {}, endpoint: {}, cmsenv: {}, userroles: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {}, customlogourl: {} }, ["logo"], [], !0);
5536
5598
  export {
5537
- Ba as default
5599
+ Fa as default
5538
5600
  };