@everymatrix/casino-slider 1.74.2 → 1.74.4

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,47 +1,47 @@
1
- function G() {
1
+ function k() {
2
2
  }
3
- function Dt(e) {
3
+ function kt(e) {
4
4
  return e();
5
5
  }
6
- function ht() {
6
+ function mt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function Q(e) {
10
- e.forEach(Dt);
9
+ function q(e) {
10
+ e.forEach(kt);
11
11
  }
12
- function et(e) {
12
+ function nt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Ut(e, t) {
15
+ function $t(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- let xe;
19
- function ct(e, t) {
20
- return e === t ? !0 : (xe || (xe = document.createElement("a")), xe.href = t, e === xe.href);
18
+ let He;
19
+ function dt(e, t) {
20
+ return e === t ? !0 : (He || (He = document.createElement("a")), He.href = t, e === He.href);
21
21
  }
22
- function Tr(e) {
22
+ function Or(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Ar(e, ...t) {
25
+ function Fr(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
29
- return G;
29
+ return k;
30
30
  }
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function B(e, t) {
34
+ function I(e, t) {
35
35
  e.appendChild(t);
36
36
  }
37
- function Br(e, t, r) {
38
- const n = Ir(e);
37
+ function Rr(e, t, r) {
38
+ const n = Dr(e);
39
39
  if (!n.getElementById(t)) {
40
- const i = N("style");
41
- i.id = t, i.textContent = r, Mr(n, i);
40
+ const i = L("style");
41
+ i.id = t, i.textContent = r, Ur(n, i);
42
42
  }
43
43
  }
44
- function Ir(e) {
44
+ function Dr(e) {
45
45
  if (!e)
46
46
  return document;
47
47
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -51,49 +51,54 @@ function Ir(e) {
51
51
  t
52
52
  ) : e.ownerDocument;
53
53
  }
54
- function Mr(e, t) {
55
- return B(
54
+ function Ur(e, t) {
55
+ return I(
56
56
  /** @type {Document} */
57
57
  e.head || e,
58
58
  t
59
59
  ), t.sheet;
60
60
  }
61
- function U(e, t, r) {
61
+ function G(e, t, r) {
62
62
  e.insertBefore(t, r || null);
63
63
  }
64
- function F(e) {
64
+ function D(e) {
65
65
  e.parentNode && e.parentNode.removeChild(e);
66
66
  }
67
- function Nr(e, t) {
67
+ function Gr(e, t) {
68
68
  for (let r = 0; r < e.length; r += 1)
69
69
  e[r] && e[r].d(t);
70
70
  }
71
- function N(e) {
71
+ function L(e) {
72
72
  return document.createElement(e);
73
73
  }
74
- function ye(e) {
74
+ function Ee(e) {
75
75
  return document.createTextNode(e);
76
76
  }
77
- function Z() {
78
- return ye(" ");
77
+ function Q() {
78
+ return Ee(" ");
79
79
  }
80
- function de() {
81
- return ye("");
80
+ function be() {
81
+ return Ee("");
82
82
  }
83
- function Te(e, t, r, n) {
83
+ function j(e, t, r, n) {
84
84
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
85
85
  }
86
+ function kr(e) {
87
+ return function(t) {
88
+ return t.preventDefault(), e.call(this, t);
89
+ };
90
+ }
86
91
  function S(e, t, r) {
87
92
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
88
93
  }
89
- function Lr(e) {
94
+ function $r(e) {
90
95
  return Array.from(e.childNodes);
91
96
  }
92
- function tt(e, t) {
97
+ function it(e, t) {
93
98
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
94
99
  t);
95
100
  }
96
- function Pr(e) {
101
+ function jr(e) {
97
102
  const t = {};
98
103
  return e.childNodes.forEach(
99
104
  /** @param {Element} node */
@@ -102,128 +107,132 @@ function Pr(e) {
102
107
  }
103
108
  ), t;
104
109
  }
105
- let pe;
106
- function fe(e) {
107
- pe = e;
110
+ let ye;
111
+ function pe(e) {
112
+ ye = e;
108
113
  }
109
- function Or() {
110
- if (!pe)
114
+ function Vr() {
115
+ if (!ye)
111
116
  throw new Error("Function called outside component initialization");
112
- return pe;
117
+ return ye;
113
118
  }
114
- function Fr(e) {
115
- Or().$$.on_mount.push(e);
119
+ function Xr(e) {
120
+ Vr().$$.on_mount.push(e);
116
121
  }
117
- const ee = [], me = [];
118
- let te = [];
119
- const ft = [], Rr = /* @__PURE__ */ Promise.resolve();
120
- let je = !1;
121
- function Dr() {
122
- je || (je = !0, Rr.then(A));
122
+ function Wr(e, t) {
123
+ const r = e.$$.callbacks[t.type];
124
+ r && r.slice().forEach((n) => n.call(this, t));
123
125
  }
124
- function Ve(e) {
125
- te.push(e);
126
+ const re = [], ge = [];
127
+ let ne = [];
128
+ const pt = [], zr = /* @__PURE__ */ Promise.resolve();
129
+ let We = !1;
130
+ function Zr() {
131
+ We || (We = !0, zr.then(B));
132
+ }
133
+ function ze(e) {
134
+ ne.push(e);
126
135
  }
127
- const Fe = /* @__PURE__ */ new Set();
128
- let Y = 0;
129
- function A() {
130
- if (Y !== 0)
136
+ const Ue = /* @__PURE__ */ new Set();
137
+ let ee = 0;
138
+ function B() {
139
+ if (ee !== 0)
131
140
  return;
132
- const e = pe;
141
+ const e = ye;
133
142
  do {
134
143
  try {
135
- for (; Y < ee.length; ) {
136
- const t = ee[Y];
137
- Y++, fe(t), Ur(t.$$);
144
+ for (; ee < re.length; ) {
145
+ const t = re[ee];
146
+ ee++, pe(t), Qr(t.$$);
138
147
  }
139
148
  } catch (t) {
140
- throw ee.length = 0, Y = 0, t;
149
+ throw re.length = 0, ee = 0, t;
141
150
  }
142
- for (fe(null), ee.length = 0, Y = 0; me.length; )
143
- me.pop()();
144
- for (let t = 0; t < te.length; t += 1) {
145
- const r = te[t];
146
- Fe.has(r) || (Fe.add(r), r());
151
+ for (pe(null), re.length = 0, ee = 0; ge.length; )
152
+ ge.pop()();
153
+ for (let t = 0; t < ne.length; t += 1) {
154
+ const r = ne[t];
155
+ Ue.has(r) || (Ue.add(r), r());
147
156
  }
148
- te.length = 0;
149
- } while (ee.length);
150
- for (; ft.length; )
151
- ft.pop()();
152
- je = !1, Fe.clear(), fe(e);
157
+ ne.length = 0;
158
+ } while (re.length);
159
+ for (; pt.length; )
160
+ pt.pop()();
161
+ We = !1, Ue.clear(), pe(e);
153
162
  }
154
- function Ur(e) {
163
+ function Qr(e) {
155
164
  if (e.fragment !== null) {
156
- e.update(), Q(e.before_update);
165
+ e.update(), q(e.before_update);
157
166
  const t = e.dirty;
158
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
167
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ze);
159
168
  }
160
169
  }
161
- function Gr(e) {
170
+ function qr(e) {
162
171
  const t = [], r = [];
163
- te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), te = t;
172
+ ne.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ne = t;
164
173
  }
165
- const kr = /* @__PURE__ */ new Set();
166
- function Gt(e, t) {
167
- e && e.i && (kr.delete(e), e.i(t));
174
+ const Jr = /* @__PURE__ */ new Set();
175
+ function jt(e, t) {
176
+ e && e.i && (Jr.delete(e), e.i(t));
168
177
  }
169
- function re(e) {
178
+ function ie(e) {
170
179
  return e?.length !== void 0 ? e : Array.from(e);
171
180
  }
172
- function kt(e, t) {
181
+ function Vt(e, t) {
173
182
  e.d(1), t.delete(e.key);
174
183
  }
175
- function $t(e, t, r, n, i, s, o, a, h, l, u, m) {
184
+ function Xt(e, t, r, n, i, s, o, a, h, l, u, m) {
176
185
  let f = e.length, p = s.length, g = f;
177
186
  const b = {};
178
187
  for (; g--; )
179
188
  b[e[g].key] = g;
180
- const d = [], w = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(), H = [];
189
+ const d = [], C = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(), w = [];
181
190
  for (g = p; g--; ) {
182
- const C = m(i, s, g), I = r(C);
183
- let L = o.get(I);
184
- L ? H.push(() => L.p(C, t)) : (L = l(I, C), L.c()), w.set(I, d[g] = L), I in b && E.set(I, Math.abs(g - b[I]));
191
+ const H = m(i, s, g), F = r(H);
192
+ let R = o.get(F);
193
+ R ? w.push(() => R.p(H, t)) : (R = l(F, H), R.c()), C.set(F, d[g] = R), F in b && E.set(F, Math.abs(g - b[F]));
185
194
  }
186
- const R = /* @__PURE__ */ new Set(), P = /* @__PURE__ */ new Set();
187
- function k(C) {
188
- Gt(C, 1), C.m(a, u), o.set(C.key, C), u = C.first, p--;
195
+ const U = /* @__PURE__ */ new Set(), N = /* @__PURE__ */ new Set();
196
+ function T(H) {
197
+ jt(H, 1), H.m(a, u), o.set(H.key, H), u = H.first, p--;
189
198
  }
190
199
  for (; f && p; ) {
191
- const C = d[p - 1], I = e[f - 1], L = C.key, j = I.key;
192
- C === I ? (u = C.first, f--, p--) : w.has(j) ? !o.has(L) || R.has(L) ? k(C) : P.has(j) ? f-- : E.get(L) > E.get(j) ? (P.add(L), k(C)) : (R.add(j), f--) : (h(I, o), f--);
200
+ const H = d[p - 1], F = e[f - 1], R = H.key, Y = F.key;
201
+ H === F ? (u = H.first, f--, p--) : C.has(Y) ? !o.has(R) || U.has(R) ? T(H) : N.has(Y) ? f-- : E.get(R) > E.get(Y) ? (N.add(R), T(H)) : (U.add(Y), f--) : (h(F, o), f--);
193
202
  }
194
203
  for (; f--; ) {
195
- const C = e[f];
196
- w.has(C.key) || h(C, o);
204
+ const H = e[f];
205
+ C.has(H.key) || h(H, o);
197
206
  }
198
207
  for (; p; )
199
- k(d[p - 1]);
200
- return Q(H), d;
208
+ T(d[p - 1]);
209
+ return q(w), d;
201
210
  }
202
- function $r(e, t, r) {
211
+ function Yr(e, t, r) {
203
212
  const { fragment: n, after_update: i } = e.$$;
204
- n && n.m(t, r), Ve(() => {
205
- const s = e.$$.on_mount.map(Dt).filter(et);
206
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Q(s), e.$$.on_mount = [];
207
- }), i.forEach(Ve);
213
+ n && n.m(t, r), ze(() => {
214
+ const s = e.$$.on_mount.map(kt).filter(nt);
215
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : q(s), e.$$.on_mount = [];
216
+ }), i.forEach(ze);
208
217
  }
209
- function jr(e, t) {
218
+ function Kr(e, t) {
210
219
  const r = e.$$;
211
- r.fragment !== null && (Gr(r.after_update), Q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
220
+ r.fragment !== null && (qr(r.after_update), q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
212
221
  }
213
- function Vr(e, t) {
214
- e.$$.dirty[0] === -1 && (ee.push(e), Dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
222
+ function en(e, t) {
223
+ e.$$.dirty[0] === -1 && (re.push(e), Zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
215
224
  }
216
- function Xr(e, t, r, n, i, s, o = null, a = [-1]) {
217
- const h = pe;
218
- fe(e);
225
+ function tn(e, t, r, n, i, s, o = null, a = [-1]) {
226
+ const h = ye;
227
+ pe(e);
219
228
  const l = e.$$ = {
220
229
  fragment: null,
221
230
  ctx: [],
222
231
  // state
223
232
  props: s,
224
- update: G,
233
+ update: k,
225
234
  not_equal: i,
226
- bound: ht(),
235
+ bound: mt(),
227
236
  // lifecycle
228
237
  on_mount: [],
229
238
  on_destroy: [],
@@ -232,7 +241,7 @@ function Xr(e, t, r, n, i, s, o = null, a = [-1]) {
232
241
  after_update: [],
233
242
  context: new Map(t.context || (h ? h.$$.context : [])),
234
243
  // everything else
235
- callbacks: ht(),
244
+ callbacks: mt(),
236
245
  dirty: a,
237
246
  skip_bound: !1,
238
247
  root: t.target || h.$$.root
@@ -241,19 +250,19 @@ function Xr(e, t, r, n, i, s, o = null, a = [-1]) {
241
250
  let u = !1;
242
251
  if (l.ctx = r ? r(e, t.props || {}, (m, f, ...p) => {
243
252
  const g = p.length ? p[0] : f;
244
- return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), u && Vr(e, m)), f;
245
- }) : [], l.update(), u = !0, Q(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
253
+ return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), u && en(e, m)), f;
254
+ }) : [], l.update(), u = !0, q(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
246
255
  if (t.hydrate) {
247
- const m = Lr(t.target);
248
- l.fragment && l.fragment.l(m), m.forEach(F);
256
+ const m = $r(t.target);
257
+ l.fragment && l.fragment.l(m), m.forEach(D);
249
258
  } else
250
259
  l.fragment && l.fragment.c();
251
- t.intro && Gt(e.$$.fragment), $r(e, t.target, t.anchor), A();
260
+ t.intro && jt(e.$$.fragment), Yr(e, t.target, t.anchor), B();
252
261
  }
253
- fe(h);
262
+ pe(h);
254
263
  }
255
- let jt;
256
- typeof HTMLElement == "function" && (jt = class extends HTMLElement {
264
+ let Wt;
265
+ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
257
266
  /** The Svelte component constructor */
258
267
  $$ctor;
259
268
  /** Slots */
@@ -295,29 +304,29 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
295
304
  let s;
296
305
  return {
297
306
  c: function() {
298
- s = N("slot"), i !== "default" && S(s, "name", i);
307
+ s = L("slot"), i !== "default" && S(s, "name", i);
299
308
  },
300
309
  /**
301
310
  * @param {HTMLElement} target
302
311
  * @param {HTMLElement} [anchor]
303
312
  */
304
313
  m: function(h, l) {
305
- U(h, s, l);
314
+ G(h, s, l);
306
315
  },
307
316
  d: function(h) {
308
- h && F(s);
317
+ h && D(s);
309
318
  }
310
319
  };
311
320
  };
312
321
  };
313
322
  if (await Promise.resolve(), !this.$$cn || this.$$c)
314
323
  return;
315
- const t = {}, r = Pr(this);
324
+ const t = {}, r = jr(this);
316
325
  for (const i of this.$$s)
317
326
  i in r && (t[i] = [e(i)]);
318
327
  for (const i of this.attributes) {
319
328
  const s = this.$$g_p(i.name);
320
- s in this.$$d || (this.$$d[s] = we(s, i.value, this.$$p_d, "toProp"));
329
+ s in this.$$d || (this.$$d[s] = Te(s, i.value, this.$$p_d, "toProp"));
321
330
  }
322
331
  for (const i in this.$$p_d)
323
332
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -335,7 +344,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
335
344
  this.$$r = !0;
336
345
  for (const i in this.$$p_d)
337
346
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
338
- const s = we(
347
+ const s = Te(
339
348
  i,
340
349
  this.$$d[i],
341
350
  this.$$p_d,
@@ -357,7 +366,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
357
366
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
358
367
  // and setting attributes through setAttribute etc, this is helpful
359
368
  attributeChangedCallback(e, t, r) {
360
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = we(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
369
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Te(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
361
370
  }
362
371
  disconnectedCallback() {
363
372
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -370,7 +379,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
370
379
  ) || e;
371
380
  }
372
381
  });
373
- function we(e, t, r, n) {
382
+ function Te(e, t, r, n) {
374
383
  const i = r[e]?.type;
375
384
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
376
385
  return t;
@@ -399,8 +408,8 @@ function we(e, t, r, n) {
399
408
  return t;
400
409
  }
401
410
  }
402
- function Wr(e, t, r, n, i, s) {
403
- let o = class extends jt {
411
+ function rn(e, t, r, n, i, s) {
412
+ let o = class extends Wt {
404
413
  constructor() {
405
414
  super(e, r, i), this.$$p_d = t;
406
415
  }
@@ -416,7 +425,7 @@ function Wr(e, t, r, n, i, s) {
416
425
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
417
426
  },
418
427
  set(h) {
419
- h = we(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
428
+ h = Te(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
420
429
  }
421
430
  });
422
431
  }), n.forEach((a) => {
@@ -428,7 +437,7 @@ function Wr(e, t, r, n, i, s) {
428
437
  }), e.element = /** @type {any} */
429
438
  o, o;
430
439
  }
431
- class zr {
440
+ class nn {
432
441
  /**
433
442
  * ### PRIVATE API
434
443
  *
@@ -447,7 +456,7 @@ class zr {
447
456
  $$set = void 0;
448
457
  /** @returns {void} */
449
458
  $destroy() {
450
- jr(this, 1), this.$destroy = G;
459
+ Kr(this, 1), this.$destroy = k;
451
460
  }
452
461
  /**
453
462
  * @template {Extract<keyof Events, string>} K
@@ -456,8 +465,8 @@ class zr {
456
465
  * @returns {() => void}
457
466
  */
458
467
  $on(t, r) {
459
- if (!et(r))
460
- return G;
468
+ if (!nt(r))
469
+ return k;
461
470
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
462
471
  return n.push(r), () => {
463
472
  const i = n.indexOf(r);
@@ -469,18 +478,18 @@ class zr {
469
478
  * @returns {void}
470
479
  */
471
480
  $set(t) {
472
- this.$$set && !Tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
481
+ this.$$set && !Or(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
473
482
  }
474
483
  }
475
- const Zr = "4";
476
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zr);
477
- function Qr(e, t) {
484
+ const on = "4";
485
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(on);
486
+ function sn(e, t) {
478
487
  if (e) {
479
488
  const r = document.createElement("style");
480
489
  r.innerHTML = t, e.appendChild(r);
481
490
  }
482
491
  }
483
- function qr(e, t) {
492
+ function an(e, t) {
484
493
  const r = new URL(t);
485
494
  fetch(r.href).then((n) => n.text()).then((n) => {
486
495
  const i = document.createElement("style");
@@ -489,7 +498,7 @@ function qr(e, t) {
489
498
  console.error("There was an error while trying to load client styling from URL", n);
490
499
  });
491
500
  }
492
- function Jr(e, t, r) {
501
+ function ln(e, t, r) {
493
502
  if (window.emMessageBus) {
494
503
  const n = document.createElement("style");
495
504
  window.emMessageBus.subscribe(t, (i) => {
@@ -497,55 +506,55 @@ function Jr(e, t, r) {
497
506
  });
498
507
  }
499
508
  }
500
- const K = [];
501
- function Yr(e, t) {
509
+ const te = [];
510
+ function un(e, t) {
502
511
  return {
503
- subscribe: Ie(e, t).subscribe
512
+ subscribe: Le(e, t).subscribe
504
513
  };
505
514
  }
506
- function Ie(e, t = G) {
515
+ function Le(e, t = k) {
507
516
  let r;
508
517
  const n = /* @__PURE__ */ new Set();
509
518
  function i(a) {
510
- if (Ut(e, a) && (e = a, r)) {
511
- const h = !K.length;
519
+ if ($t(e, a) && (e = a, r)) {
520
+ const h = !te.length;
512
521
  for (const l of n)
513
- l[1](), K.push(l, e);
522
+ l[1](), te.push(l, e);
514
523
  if (h) {
515
- for (let l = 0; l < K.length; l += 2)
516
- K[l][0](K[l + 1]);
517
- K.length = 0;
524
+ for (let l = 0; l < te.length; l += 2)
525
+ te[l][0](te[l + 1]);
526
+ te.length = 0;
518
527
  }
519
528
  }
520
529
  }
521
530
  function s(a) {
522
531
  i(a(e));
523
532
  }
524
- function o(a, h = G) {
533
+ function o(a, h = k) {
525
534
  const l = [a, h];
526
- return n.add(l), n.size === 1 && (r = t(i, s) || G), a(e), () => {
535
+ return n.add(l), n.size === 1 && (r = t(i, s) || k), a(e), () => {
527
536
  n.delete(l), n.size === 0 && r && (r(), r = null);
528
537
  };
529
538
  }
530
539
  return { set: i, update: s, subscribe: o };
531
540
  }
532
- function ae(e, t, r) {
541
+ function ue(e, t, r) {
533
542
  const n = !Array.isArray(e), i = n ? [e] : e;
534
543
  if (!i.every(Boolean))
535
544
  throw new Error("derived() expects stores as input, got a falsy value");
536
545
  const s = t.length < 2;
537
- return Yr(r, (o, a) => {
546
+ return un(r, (o, a) => {
538
547
  let h = !1;
539
548
  const l = [];
540
- let u = 0, m = G;
549
+ let u = 0, m = k;
541
550
  const f = () => {
542
551
  if (u)
543
552
  return;
544
553
  m();
545
554
  const g = t(n ? l[0] : l, o, a);
546
- s ? o(g) : m = et(g) ? g : G;
555
+ s ? o(g) : m = nt(g) ? g : k;
547
556
  }, p = i.map(
548
- (g, b) => Ar(
557
+ (g, b) => Fr(
549
558
  g,
550
559
  (d) => {
551
560
  l[b] = d, u &= ~(1 << b), h && f();
@@ -556,84 +565,84 @@ function ae(e, t, r) {
556
565
  )
557
566
  );
558
567
  return h = !0, f(), function() {
559
- Q(p), m(), h = !1;
568
+ q(p), m(), h = !1;
560
569
  };
561
570
  });
562
571
  }
563
- function Kr(e) {
572
+ function hn(e) {
564
573
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
565
574
  }
566
- var en = function(t) {
567
- return tn(t) && !rn(t);
575
+ var cn = function(t) {
576
+ return fn(t) && !mn(t);
568
577
  };
569
- function tn(e) {
578
+ function fn(e) {
570
579
  return !!e && typeof e == "object";
571
580
  }
572
- function rn(e) {
581
+ function mn(e) {
573
582
  var t = Object.prototype.toString.call(e);
574
- return t === "[object RegExp]" || t === "[object Date]" || sn(e);
583
+ return t === "[object RegExp]" || t === "[object Date]" || gn(e);
575
584
  }
576
- var nn = typeof Symbol == "function" && Symbol.for, on = nn ? Symbol.for("react.element") : 60103;
577
- function sn(e) {
578
- return e.$$typeof === on;
585
+ var dn = typeof Symbol == "function" && Symbol.for, pn = dn ? Symbol.for("react.element") : 60103;
586
+ function gn(e) {
587
+ return e.$$typeof === pn;
579
588
  }
580
- function an(e) {
589
+ function bn(e) {
581
590
  return Array.isArray(e) ? [] : {};
582
591
  }
583
- function ge(e, t) {
584
- return t.clone !== !1 && t.isMergeableObject(e) ? ne(an(e), e, t) : e;
592
+ function ve(e, t) {
593
+ return t.clone !== !1 && t.isMergeableObject(e) ? oe(bn(e), e, t) : e;
585
594
  }
586
- function ln(e, t, r) {
595
+ function yn(e, t, r) {
587
596
  return e.concat(t).map(function(n) {
588
- return ge(n, r);
597
+ return ve(n, r);
589
598
  });
590
599
  }
591
- function un(e, t) {
600
+ function vn(e, t) {
592
601
  if (!t.customMerge)
593
- return ne;
602
+ return oe;
594
603
  var r = t.customMerge(e);
595
- return typeof r == "function" ? r : ne;
604
+ return typeof r == "function" ? r : oe;
596
605
  }
597
- function hn(e) {
606
+ function _n(e) {
598
607
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
599
608
  return Object.propertyIsEnumerable.call(e, t);
600
609
  }) : [];
601
610
  }
602
- function mt(e) {
603
- return Object.keys(e).concat(hn(e));
611
+ function gt(e) {
612
+ return Object.keys(e).concat(_n(e));
604
613
  }
605
- function Vt(e, t) {
614
+ function zt(e, t) {
606
615
  try {
607
616
  return t in e;
608
617
  } catch {
609
618
  return !1;
610
619
  }
611
620
  }
612
- function cn(e, t) {
613
- return Vt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
621
+ function En(e, t) {
622
+ return zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
614
623
  }
615
- function fn(e, t, r) {
624
+ function xn(e, t, r) {
616
625
  var n = {};
617
- return r.isMergeableObject(e) && mt(e).forEach(function(i) {
618
- n[i] = ge(e[i], r);
619
- }), mt(t).forEach(function(i) {
620
- cn(e, i) || (Vt(e, i) && r.isMergeableObject(t[i]) ? n[i] = un(i, r)(e[i], t[i], r) : n[i] = ge(t[i], r));
626
+ return r.isMergeableObject(e) && gt(e).forEach(function(i) {
627
+ n[i] = ve(e[i], r);
628
+ }), gt(t).forEach(function(i) {
629
+ En(e, i) || (zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = vn(i, r)(e[i], t[i], r) : n[i] = ve(t[i], r));
621
630
  }), n;
622
631
  }
623
- function ne(e, t, r) {
624
- r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || en, r.cloneUnlessOtherwiseSpecified = ge;
632
+ function oe(e, t, r) {
633
+ r = r || {}, r.arrayMerge = r.arrayMerge || yn, r.isMergeableObject = r.isMergeableObject || cn, r.cloneUnlessOtherwiseSpecified = ve;
625
634
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
626
- return s ? n ? r.arrayMerge(e, t, r) : fn(e, t, r) : ge(t, r);
635
+ return s ? n ? r.arrayMerge(e, t, r) : xn(e, t, r) : ve(t, r);
627
636
  }
628
- ne.all = function(t, r) {
637
+ oe.all = function(t, r) {
629
638
  if (!Array.isArray(t))
630
639
  throw new Error("first argument should be an array");
631
640
  return t.reduce(function(n, i) {
632
- return ne(n, i, r);
641
+ return oe(n, i, r);
633
642
  }, {});
634
643
  };
635
- var mn = ne, dn = mn;
636
- const pn = /* @__PURE__ */ Kr(dn);
644
+ var Cn = oe, wn = Cn;
645
+ const Hn = /* @__PURE__ */ hn(wn);
637
646
  /*! *****************************************************************************
638
647
  Copyright (c) Microsoft Corporation.
639
648
 
@@ -648,18 +657,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
648
657
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
649
658
  PERFORMANCE OF THIS SOFTWARE.
650
659
  ***************************************************************************** */
651
- var Xe = function(e, t) {
652
- return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
660
+ var Ze = function(e, t) {
661
+ return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
653
662
  r.__proto__ = n;
654
663
  } || function(r, n) {
655
664
  for (var i in n)
656
665
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
657
- }, Xe(e, t);
666
+ }, Ze(e, t);
658
667
  };
659
- function Me(e, t) {
668
+ function Ne(e, t) {
660
669
  if (typeof t != "function" && t !== null)
661
670
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
662
- Xe(e, t);
671
+ Ze(e, t);
663
672
  function r() {
664
673
  this.constructor = e;
665
674
  }
@@ -675,7 +684,7 @@ var _ = function() {
675
684
  return t;
676
685
  }, _.apply(this, arguments);
677
686
  };
678
- function gn(e, t) {
687
+ function Sn(e, t) {
679
688
  var r = {};
680
689
  for (var n in e)
681
690
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -684,111 +693,111 @@ function gn(e, t) {
684
693
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
685
694
  return r;
686
695
  }
687
- function Re(e, t, r) {
696
+ function Ge(e, t, r) {
688
697
  if (arguments.length === 2)
689
698
  for (var n = 0, i = t.length, s; n < i; n++)
690
699
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
691
700
  return e.concat(s || t);
692
701
  }
693
- function De(e, t) {
694
- var r = t && t.cache ? t.cache : xn, n = t && t.serializer ? t.serializer : En, i = t && t.strategy ? t.strategy : yn;
702
+ function ke(e, t) {
703
+ var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : Mn, i = t && t.strategy ? t.strategy : An;
695
704
  return i(e, {
696
705
  cache: r,
697
706
  serializer: n
698
707
  });
699
708
  }
700
- function bn(e) {
709
+ function Tn(e) {
701
710
  return e == null || typeof e == "number" || typeof e == "boolean";
702
711
  }
703
- function Xt(e, t, r, n) {
704
- var i = bn(n) ? n : r(n), s = t.get(i);
712
+ function Zt(e, t, r, n) {
713
+ var i = Tn(n) ? n : r(n), s = t.get(i);
705
714
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
706
715
  }
707
- function Wt(e, t, r) {
716
+ function Qt(e, t, r) {
708
717
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
709
718
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
710
719
  }
711
- function rt(e, t, r, n, i) {
720
+ function ot(e, t, r, n, i) {
712
721
  return r.bind(t, e, n, i);
713
722
  }
714
- function yn(e, t) {
715
- var r = e.length === 1 ? Xt : Wt;
716
- return rt(e, this, r, t.cache.create(), t.serializer);
723
+ function An(e, t) {
724
+ var r = e.length === 1 ? Zt : Qt;
725
+ return ot(e, this, r, t.cache.create(), t.serializer);
717
726
  }
718
- function vn(e, t) {
719
- return rt(e, this, Wt, t.cache.create(), t.serializer);
727
+ function Bn(e, t) {
728
+ return ot(e, this, Qt, t.cache.create(), t.serializer);
720
729
  }
721
- function _n(e, t) {
722
- return rt(e, this, Xt, t.cache.create(), t.serializer);
730
+ function In(e, t) {
731
+ return ot(e, this, Zt, t.cache.create(), t.serializer);
723
732
  }
724
- var En = function() {
733
+ var Mn = function() {
725
734
  return JSON.stringify(arguments);
726
735
  };
727
- function nt() {
736
+ function st() {
728
737
  this.cache = /* @__PURE__ */ Object.create(null);
729
738
  }
730
- nt.prototype.get = function(e) {
739
+ st.prototype.get = function(e) {
731
740
  return this.cache[e];
732
741
  };
733
- nt.prototype.set = function(e, t) {
742
+ st.prototype.set = function(e, t) {
734
743
  this.cache[e] = t;
735
744
  };
736
- var xn = {
745
+ var Ln = {
737
746
  create: function() {
738
- return new nt();
747
+ return new st();
739
748
  }
740
- }, Ue = {
741
- variadic: vn,
742
- monadic: _n
749
+ }, $e = {
750
+ variadic: Bn,
751
+ monadic: In
743
752
  }, y;
744
753
  (function(e) {
745
754
  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";
746
755
  })(y || (y = {}));
747
- var T;
756
+ var A;
748
757
  (function(e) {
749
758
  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";
750
- })(T || (T = {}));
751
- var ie;
759
+ })(A || (A = {}));
760
+ var se;
752
761
  (function(e) {
753
762
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
754
- })(ie || (ie = {}));
755
- function dt(e) {
756
- return e.type === T.literal;
757
- }
758
- function Cn(e) {
759
- return e.type === T.argument;
760
- }
761
- function zt(e) {
762
- return e.type === T.number;
763
- }
764
- function Zt(e) {
765
- return e.type === T.date;
763
+ })(se || (se = {}));
764
+ function bt(e) {
765
+ return e.type === A.literal;
766
766
  }
767
- function Qt(e) {
768
- return e.type === T.time;
767
+ function Nn(e) {
768
+ return e.type === A.argument;
769
769
  }
770
770
  function qt(e) {
771
- return e.type === T.select;
771
+ return e.type === A.number;
772
772
  }
773
773
  function Jt(e) {
774
- return e.type === T.plural;
775
- }
776
- function wn(e) {
777
- return e.type === T.pound;
774
+ return e.type === A.date;
778
775
  }
779
776
  function Yt(e) {
780
- return e.type === T.tag;
777
+ return e.type === A.time;
781
778
  }
782
779
  function Kt(e) {
783
- return !!(e && typeof e == "object" && e.type === ie.number);
780
+ return e.type === A.select;
781
+ }
782
+ function er(e) {
783
+ return e.type === A.plural;
784
+ }
785
+ function Pn(e) {
786
+ return e.type === A.pound;
784
787
  }
785
- function We(e) {
786
- return !!(e && typeof e == "object" && e.type === ie.dateTime);
788
+ function tr(e) {
789
+ return e.type === A.tag;
787
790
  }
788
- var er = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Hn = /(?:[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;
789
- function Sn(e) {
791
+ function rr(e) {
792
+ return !!(e && typeof e == "object" && e.type === se.number);
793
+ }
794
+ function Qe(e) {
795
+ return !!(e && typeof e == "object" && e.type === se.dateTime);
796
+ }
797
+ var nr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, On = /(?:[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;
798
+ function Fn(e) {
790
799
  var t = {};
791
- return e.replace(Hn, function(r) {
800
+ return e.replace(On, function(r) {
792
801
  var n = r.length;
793
802
  switch (r[0]) {
794
803
  case "G":
@@ -877,11 +886,11 @@ function Sn(e) {
877
886
  return "";
878
887
  }), t;
879
888
  }
880
- var Tn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
881
- function An(e) {
889
+ var Rn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
890
+ function Dn(e) {
882
891
  if (e.length === 0)
883
892
  throw new Error("Number skeleton cannot be empty");
884
- for (var t = e.split(Tn).filter(function(f) {
893
+ for (var t = e.split(Rn).filter(function(f) {
885
894
  return f.length > 0;
886
895
  }), r = [], n = 0, i = t; n < i.length; n++) {
887
896
  var s = i[n], o = s.split("/");
@@ -896,17 +905,17 @@ function An(e) {
896
905
  }
897
906
  return r;
898
907
  }
899
- function Bn(e) {
908
+ function Un(e) {
900
909
  return e.replace(/^(.*?)-/, "");
901
910
  }
902
- var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tr = /^(@+)?(\+|#+)?[rs]?$/g, In = /(\*)(0+)|(#+)(0+)|(0+)/g, rr = /^(0+)$/;
903
- function gt(e) {
911
+ var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ir = /^(@+)?(\+|#+)?[rs]?$/g, Gn = /(\*)(0+)|(#+)(0+)|(0+)/g, or = /^(0+)$/;
912
+ function vt(e) {
904
913
  var t = {};
905
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(tr, function(r, n, i) {
914
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ir, function(r, n, i) {
906
915
  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)), "";
907
916
  }), t;
908
917
  }
909
- function nr(e) {
918
+ function sr(e) {
910
919
  switch (e) {
911
920
  case "sign-auto":
912
921
  return {
@@ -946,7 +955,7 @@ function nr(e) {
946
955
  };
947
956
  }
948
957
  }
949
- function Mn(e) {
958
+ function kn(e) {
950
959
  var t;
951
960
  if (e[0] === "E" && e[1] === "E" ? (t = {
952
961
  notation: "engineering"
@@ -954,17 +963,17 @@ function Mn(e) {
954
963
  notation: "scientific"
955
964
  }, e = e.slice(1)), t) {
956
965
  var r = e.slice(0, 2);
957
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !rr.test(e))
966
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !or.test(e))
958
967
  throw new Error("Malformed concise eng/scientific notation");
959
968
  t.minimumIntegerDigits = e.length;
960
969
  }
961
970
  return t;
962
971
  }
963
- function bt(e) {
964
- var t = {}, r = nr(e);
972
+ function _t(e) {
973
+ var t = {}, r = sr(e);
965
974
  return r || t;
966
975
  }
967
- function Nn(e) {
976
+ function $n(e) {
968
977
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
969
978
  var i = n[r];
970
979
  switch (i.stem) {
@@ -988,7 +997,7 @@ function Nn(e) {
988
997
  continue;
989
998
  case "measure-unit":
990
999
  case "unit":
991
- t.style = "unit", t.unit = Bn(i.options[0]);
1000
+ t.style = "unit", t.unit = Un(i.options[0]);
992
1001
  continue;
993
1002
  case "compact-short":
994
1003
  case "K":
@@ -1000,12 +1009,12 @@ function Nn(e) {
1000
1009
  continue;
1001
1010
  case "scientific":
1002
1011
  t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1003
- return _(_({}, h), bt(l));
1012
+ return _(_({}, h), _t(l));
1004
1013
  }, {}));
1005
1014
  continue;
1006
1015
  case "engineering":
1007
1016
  t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1008
- return _(_({}, h), bt(l));
1017
+ return _(_({}, h), _t(l));
1009
1018
  }, {}));
1010
1019
  continue;
1011
1020
  case "notation-simple":
@@ -1050,7 +1059,7 @@ function Nn(e) {
1050
1059
  case "integer-width":
1051
1060
  if (i.options.length > 1)
1052
1061
  throw new RangeError("integer-width stems only accept a single optional option");
1053
- i.options[0].replace(In, function(h, l, u, m, f, p) {
1062
+ i.options[0].replace(Gn, function(h, l, u, m, f, p) {
1054
1063
  if (l)
1055
1064
  t.minimumIntegerDigits = u.length;
1056
1065
  else {
@@ -1063,32 +1072,32 @@ function Nn(e) {
1063
1072
  });
1064
1073
  continue;
1065
1074
  }
1066
- if (rr.test(i.stem)) {
1075
+ if (or.test(i.stem)) {
1067
1076
  t.minimumIntegerDigits = i.stem.length;
1068
1077
  continue;
1069
1078
  }
1070
- if (pt.test(i.stem)) {
1079
+ if (yt.test(i.stem)) {
1071
1080
  if (i.options.length > 1)
1072
1081
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1073
- i.stem.replace(pt, function(h, l, u, m, f, p) {
1082
+ i.stem.replace(yt, function(h, l, u, m, f, p) {
1074
1083
  return u === "*" ? t.minimumFractionDigits = l.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1075
1084
  });
1076
1085
  var s = i.options[0];
1077
- s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), gt(s)));
1086
+ s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), vt(s)));
1078
1087
  continue;
1079
1088
  }
1080
- if (tr.test(i.stem)) {
1081
- t = _(_({}, t), gt(i.stem));
1089
+ if (ir.test(i.stem)) {
1090
+ t = _(_({}, t), vt(i.stem));
1082
1091
  continue;
1083
1092
  }
1084
- var o = nr(i.stem);
1093
+ var o = sr(i.stem);
1085
1094
  o && (t = _(_({}, t), o));
1086
- var a = Mn(i.stem);
1095
+ var a = kn(i.stem);
1087
1096
  a && (t = _(_({}, t), a));
1088
1097
  }
1089
1098
  return t;
1090
1099
  }
1091
- var Ce = {
1100
+ var Se = {
1092
1101
  "001": [
1093
1102
  "H",
1094
1103
  "h"
@@ -2503,13 +2512,13 @@ var Ce = {
2503
2512
  "h"
2504
2513
  ]
2505
2514
  };
2506
- function Ln(e, t) {
2515
+ function jn(e, t) {
2507
2516
  for (var r = "", n = 0; n < e.length; n++) {
2508
2517
  var i = e.charAt(n);
2509
2518
  if (i === "j") {
2510
2519
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2511
2520
  s++, n++;
2512
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", l = Pn(t);
2521
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", l = Vn(t);
2513
2522
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2514
2523
  r += h;
2515
2524
  for (; o-- > 0; )
@@ -2519,7 +2528,7 @@ function Ln(e, t) {
2519
2528
  }
2520
2529
  return r;
2521
2530
  }
2522
- function Pn(e) {
2531
+ function Vn(e) {
2523
2532
  var t = e.hourCycle;
2524
2533
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2525
2534
  e.hourCycles && // @ts-ignore
@@ -2538,23 +2547,23 @@ function Pn(e) {
2538
2547
  }
2539
2548
  var r = e.language, n;
2540
2549
  r !== "root" && (n = e.maximize().region);
2541
- var i = Ce[n || ""] || Ce[r || ""] || Ce["".concat(r, "-001")] || Ce["001"];
2550
+ var i = Se[n || ""] || Se[r || ""] || Se["".concat(r, "-001")] || Se["001"];
2542
2551
  return i[0];
2543
2552
  }
2544
- var Ge, On = new RegExp("^".concat(er.source, "*")), Fn = new RegExp("".concat(er.source, "*$"));
2553
+ var je, Xn = new RegExp("^".concat(nr.source, "*")), Wn = new RegExp("".concat(nr.source, "*$"));
2545
2554
  function v(e, t) {
2546
2555
  return { start: e, end: t };
2547
2556
  }
2548
- var Rn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dn = !!String.fromCodePoint, Un = !!Object.fromEntries, Gn = !!String.prototype.codePointAt, kn = !!String.prototype.trimStart, $n = !!String.prototype.trimEnd, jn = !!Number.isSafeInteger, Vn = jn ? Number.isSafeInteger : function(e) {
2557
+ var zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Zn = !!String.fromCodePoint, Qn = !!Object.fromEntries, qn = !!String.prototype.codePointAt, Jn = !!String.prototype.trimStart, Yn = !!String.prototype.trimEnd, Kn = !!Number.isSafeInteger, ei = Kn ? Number.isSafeInteger : function(e) {
2549
2558
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2550
- }, ze = !0;
2559
+ }, qe = !0;
2551
2560
  try {
2552
- var Xn = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2553
- ze = ((Ge = Xn.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
2561
+ var ti = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2562
+ qe = ((je = ti.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
2554
2563
  } catch {
2555
- ze = !1;
2564
+ qe = !1;
2556
2565
  }
2557
- var yt = Rn ? (
2566
+ var Et = zn ? (
2558
2567
  // Native
2559
2568
  function(t, r, n) {
2560
2569
  return t.startsWith(r, n);
@@ -2564,7 +2573,7 @@ var yt = Rn ? (
2564
2573
  function(t, r, n) {
2565
2574
  return t.slice(n, n + r.length) === r;
2566
2575
  }
2567
- ), Ze = Dn ? String.fromCodePoint : (
2576
+ ), Je = Zn ? String.fromCodePoint : (
2568
2577
  // IE11
2569
2578
  function() {
2570
2579
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2576,9 +2585,9 @@ var yt = Rn ? (
2576
2585
  }
2577
2586
  return n;
2578
2587
  }
2579
- ), vt = (
2588
+ ), xt = (
2580
2589
  // native
2581
- Un ? Object.fromEntries : (
2590
+ Qn ? Object.fromEntries : (
2582
2591
  // Ponyfill
2583
2592
  function(t) {
2584
2593
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2588,7 +2597,7 @@ var yt = Rn ? (
2588
2597
  return r;
2589
2598
  }
2590
2599
  )
2591
- ), ir = Gn ? (
2600
+ ), ar = qn ? (
2592
2601
  // Native
2593
2602
  function(t, r) {
2594
2603
  return t.codePointAt(r);
@@ -2602,7 +2611,7 @@ var yt = Rn ? (
2602
2611
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2603
2612
  }
2604
2613
  }
2605
- ), Wn = kn ? (
2614
+ ), ri = Jn ? (
2606
2615
  // Native
2607
2616
  function(t) {
2608
2617
  return t.trimStart();
@@ -2610,9 +2619,9 @@ var yt = Rn ? (
2610
2619
  ) : (
2611
2620
  // Ponyfill
2612
2621
  function(t) {
2613
- return t.replace(On, "");
2622
+ return t.replace(Xn, "");
2614
2623
  }
2615
- ), zn = $n ? (
2624
+ ), ni = Yn ? (
2616
2625
  // Native
2617
2626
  function(t) {
2618
2627
  return t.trimEnd();
@@ -2620,32 +2629,32 @@ var yt = Rn ? (
2620
2629
  ) : (
2621
2630
  // Ponyfill
2622
2631
  function(t) {
2623
- return t.replace(Fn, "");
2632
+ return t.replace(Wn, "");
2624
2633
  }
2625
2634
  );
2626
- function or(e, t) {
2635
+ function lr(e, t) {
2627
2636
  return new RegExp(e, t);
2628
2637
  }
2629
- var Qe;
2630
- if (ze) {
2631
- var _t = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2632
- Qe = function(t, r) {
2638
+ var Ye;
2639
+ if (qe) {
2640
+ var Ct = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2641
+ Ye = function(t, r) {
2633
2642
  var n;
2634
- _t.lastIndex = r;
2635
- var i = _t.exec(t);
2643
+ Ct.lastIndex = r;
2644
+ var i = Ct.exec(t);
2636
2645
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2637
2646
  };
2638
2647
  } else
2639
- Qe = function(t, r) {
2648
+ Ye = function(t, r) {
2640
2649
  for (var n = []; ; ) {
2641
- var i = ir(t, r);
2642
- if (i === void 0 || sr(i) || Jn(i))
2650
+ var i = ar(t, r);
2651
+ if (i === void 0 || ur(i) || ai(i))
2643
2652
  break;
2644
2653
  n.push(i), r += i >= 65536 ? 2 : 1;
2645
2654
  }
2646
- return Ze.apply(void 0, n);
2655
+ return Je.apply(void 0, n);
2647
2656
  };
2648
- var Zn = (
2657
+ var ii = (
2649
2658
  /** @class */
2650
2659
  function() {
2651
2660
  function e(t, r) {
@@ -2669,14 +2678,14 @@ var Zn = (
2669
2678
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2670
2679
  var a = this.clonePosition();
2671
2680
  this.bump(), i.push({
2672
- type: T.pound,
2681
+ type: A.pound,
2673
2682
  location: v(a, this.clonePosition())
2674
2683
  });
2675
2684
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2676
2685
  if (n)
2677
2686
  break;
2678
2687
  return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2679
- } else if (s === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
2688
+ } else if (s === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
2680
2689
  var o = this.parseTag(t, r);
2681
2690
  if (o.err)
2682
2691
  return o;
@@ -2697,7 +2706,7 @@ var Zn = (
2697
2706
  if (this.bumpSpace(), this.bumpIf("/>"))
2698
2707
  return {
2699
2708
  val: {
2700
- type: T.literal,
2709
+ type: A.literal,
2701
2710
  value: "<".concat(i, "/>"),
2702
2711
  location: v(n, this.clonePosition())
2703
2712
  },
@@ -2709,12 +2718,12 @@ var Zn = (
2709
2718
  return s;
2710
2719
  var o = s.val, a = this.clonePosition();
2711
2720
  if (this.bumpIf("</")) {
2712
- if (this.isEOF() || !qe(this.char()))
2721
+ if (this.isEOF() || !Ke(this.char()))
2713
2722
  return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
2714
2723
  var h = this.clonePosition(), l = this.parseTagName();
2715
2724
  return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2716
2725
  val: {
2717
- type: T.tag,
2726
+ type: A.tag,
2718
2727
  value: i,
2719
2728
  children: o,
2720
2729
  location: v(n, this.clonePosition())
@@ -2727,7 +2736,7 @@ var Zn = (
2727
2736
  return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
2728
2737
  }, e.prototype.parseTagName = function() {
2729
2738
  var t = this.offset();
2730
- for (this.bump(); !this.isEOF() && qn(this.char()); )
2739
+ for (this.bump(); !this.isEOF() && si(this.char()); )
2731
2740
  this.bump();
2732
2741
  return this.message.slice(t, this.offset());
2733
2742
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2751,12 +2760,12 @@ var Zn = (
2751
2760
  }
2752
2761
  var h = v(n, this.clonePosition());
2753
2762
  return {
2754
- val: { type: T.literal, value: i, location: h },
2763
+ val: { type: A.literal, value: i, location: h },
2755
2764
  err: null
2756
2765
  };
2757
2766
  }, e.prototype.tryParseLeftAngleBracket = function() {
2758
2767
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2759
- !Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
2768
+ !oi(this.peek() || 0)) ? (this.bump(), "<") : null;
2760
2769
  }, e.prototype.tryParseQuote = function(t) {
2761
2770
  if (this.isEOF() || this.char() !== 39)
2762
2771
  return null;
@@ -2790,12 +2799,12 @@ var Zn = (
2790
2799
  r.push(n);
2791
2800
  this.bump();
2792
2801
  }
2793
- return Ze.apply(void 0, r);
2802
+ return Je.apply(void 0, r);
2794
2803
  }, e.prototype.tryParseUnquoted = function(t, r) {
2795
2804
  if (this.isEOF())
2796
2805
  return null;
2797
2806
  var n = this.char();
2798
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
2807
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Je(n));
2799
2808
  }, e.prototype.parseArgument = function(t, r) {
2800
2809
  var n = this.clonePosition();
2801
2810
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2811,7 +2820,7 @@ var Zn = (
2811
2820
  case 125:
2812
2821
  return this.bump(), {
2813
2822
  val: {
2814
- type: T.argument,
2823
+ type: A.argument,
2815
2824
  // value does not include the opening and closing braces.
2816
2825
  value: i,
2817
2826
  location: v(n, this.clonePosition())
@@ -2824,7 +2833,7 @@ var Zn = (
2824
2833
  return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2825
2834
  }
2826
2835
  }, e.prototype.parseIdentifierIfPossible = function() {
2827
- var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
2836
+ var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
2828
2837
  this.bumpTo(i);
2829
2838
  var s = this.clonePosition(), o = v(t, s);
2830
2839
  return { value: n, location: o };
@@ -2843,7 +2852,7 @@ var Zn = (
2843
2852
  var u = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2844
2853
  if (m.err)
2845
2854
  return m;
2846
- var f = zn(m.val);
2855
+ var f = ni(m.val);
2847
2856
  if (f.length === 0)
2848
2857
  return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2849
2858
  var p = v(u, this.clonePosition());
@@ -2853,25 +2862,25 @@ var Zn = (
2853
2862
  if (g.err)
2854
2863
  return g;
2855
2864
  var b = v(i, this.clonePosition());
2856
- if (l && yt(l?.style, "::", 0)) {
2857
- var d = Wn(l.style.slice(2));
2865
+ if (l && Et(l?.style, "::", 0)) {
2866
+ var d = ri(l.style.slice(2));
2858
2867
  if (a === "number") {
2859
2868
  var m = this.parseNumberSkeletonFromString(d, l.styleLocation);
2860
2869
  return m.err ? m : {
2861
- val: { type: T.number, value: n, location: b, style: m.val },
2870
+ val: { type: A.number, value: n, location: b, style: m.val },
2862
2871
  err: null
2863
2872
  };
2864
2873
  } else {
2865
2874
  if (d.length === 0)
2866
2875
  return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
2867
- var w = d;
2868
- this.locale && (w = Ln(d, this.locale));
2876
+ var C = d;
2877
+ this.locale && (C = jn(d, this.locale));
2869
2878
  var f = {
2870
- type: ie.dateTime,
2871
- pattern: w,
2879
+ type: se.dateTime,
2880
+ pattern: C,
2872
2881
  location: l.styleLocation,
2873
- parsedOptions: this.shouldParseSkeletons ? Sn(w) : {}
2874
- }, E = a === "date" ? T.date : T.time;
2882
+ parsedOptions: this.shouldParseSkeletons ? Fn(C) : {}
2883
+ }, E = a === "date" ? A.date : A.time;
2875
2884
  return {
2876
2885
  val: { type: E, value: n, location: b, style: f },
2877
2886
  err: null
@@ -2880,7 +2889,7 @@ var Zn = (
2880
2889
  }
2881
2890
  return {
2882
2891
  val: {
2883
- type: a === "number" ? T.number : a === "date" ? T.date : T.time,
2892
+ type: a === "number" ? A.number : a === "date" ? A.date : A.time,
2884
2893
  value: n,
2885
2894
  location: b,
2886
2895
  style: (s = l?.style) !== null && s !== void 0 ? s : null
@@ -2891,43 +2900,43 @@ var Zn = (
2891
2900
  case "plural":
2892
2901
  case "selectordinal":
2893
2902
  case "select": {
2894
- var H = this.clonePosition();
2903
+ var w = this.clonePosition();
2895
2904
  if (this.bumpSpace(), !this.bumpIf(","))
2896
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(H, _({}, H)));
2905
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(w, _({}, w)));
2897
2906
  this.bumpSpace();
2898
- var R = this.parseIdentifierIfPossible(), P = 0;
2899
- if (a !== "select" && R.value === "offset") {
2907
+ var U = this.parseIdentifierIfPossible(), N = 0;
2908
+ if (a !== "select" && U.value === "offset") {
2900
2909
  if (!this.bumpIf(":"))
2901
2910
  return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
2902
2911
  this.bumpSpace();
2903
2912
  var m = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2904
2913
  if (m.err)
2905
2914
  return m;
2906
- this.bumpSpace(), R = this.parseIdentifierIfPossible(), P = m.val;
2915
+ this.bumpSpace(), U = this.parseIdentifierIfPossible(), N = m.val;
2907
2916
  }
2908
- var k = this.tryParsePluralOrSelectOptions(t, a, r, R);
2909
- if (k.err)
2910
- return k;
2917
+ var T = this.tryParsePluralOrSelectOptions(t, a, r, U);
2918
+ if (T.err)
2919
+ return T;
2911
2920
  var g = this.tryParseArgumentClose(i);
2912
2921
  if (g.err)
2913
2922
  return g;
2914
- var C = v(i, this.clonePosition());
2923
+ var H = v(i, this.clonePosition());
2915
2924
  return a === "select" ? {
2916
2925
  val: {
2917
- type: T.select,
2926
+ type: A.select,
2918
2927
  value: n,
2919
- options: vt(k.val),
2920
- location: C
2928
+ options: xt(T.val),
2929
+ location: H
2921
2930
  },
2922
2931
  err: null
2923
2932
  } : {
2924
2933
  val: {
2925
- type: T.plural,
2934
+ type: A.plural,
2926
2935
  value: n,
2927
- options: vt(k.val),
2928
- offset: P,
2936
+ options: xt(T.val),
2937
+ offset: N,
2929
2938
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2930
- location: C
2939
+ location: H
2931
2940
  },
2932
2941
  err: null
2933
2942
  };
@@ -2975,16 +2984,16 @@ var Zn = (
2975
2984
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2976
2985
  var n = [];
2977
2986
  try {
2978
- n = An(t);
2987
+ n = Dn(t);
2979
2988
  } catch {
2980
2989
  return this.error(y.INVALID_NUMBER_SKELETON, r);
2981
2990
  }
2982
2991
  return {
2983
2992
  val: {
2984
- type: ie.number,
2993
+ type: se.number,
2985
2994
  tokens: n,
2986
2995
  location: r,
2987
- parsedOptions: this.shouldParseSkeletons ? Nn(n) : {}
2996
+ parsedOptions: this.shouldParseSkeletons ? $n(n) : {}
2988
2997
  },
2989
2998
  err: null
2990
2999
  };
@@ -3032,7 +3041,7 @@ var Zn = (
3032
3041
  break;
3033
3042
  }
3034
3043
  var h = v(i, this.clonePosition());
3035
- return s ? (o *= n, Vn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3044
+ return s ? (o *= n, ei(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3036
3045
  }, e.prototype.offset = function() {
3037
3046
  return this.position.offset;
3038
3047
  }, e.prototype.isEOF = function() {
@@ -3047,7 +3056,7 @@ var Zn = (
3047
3056
  var t = this.position.offset;
3048
3057
  if (t >= this.message.length)
3049
3058
  throw Error("out of bound");
3050
- var r = ir(this.message, t);
3059
+ var r = ar(this.message, t);
3051
3060
  if (r === void 0)
3052
3061
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3053
3062
  return r;
@@ -3066,7 +3075,7 @@ var Zn = (
3066
3075
  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);
3067
3076
  }
3068
3077
  }, e.prototype.bumpIf = function(t) {
3069
- if (yt(this.message, t, this.offset())) {
3078
+ if (Et(this.message, t, this.offset())) {
3070
3079
  for (var r = 0; r < t.length; r++)
3071
3080
  this.bump();
3072
3081
  return !0;
@@ -3088,7 +3097,7 @@ var Zn = (
3088
3097
  break;
3089
3098
  }
3090
3099
  }, e.prototype.bumpSpace = function() {
3091
- for (; !this.isEOF() && sr(this.char()); )
3100
+ for (; !this.isEOF() && ur(this.char()); )
3092
3101
  this.bump();
3093
3102
  }, e.prototype.peek = function() {
3094
3103
  if (this.isEOF())
@@ -3098,47 +3107,47 @@ var Zn = (
3098
3107
  }, e;
3099
3108
  }()
3100
3109
  );
3101
- function qe(e) {
3110
+ function Ke(e) {
3102
3111
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3103
3112
  }
3104
- function Qn(e) {
3105
- return qe(e) || e === 47;
3113
+ function oi(e) {
3114
+ return Ke(e) || e === 47;
3106
3115
  }
3107
- function qn(e) {
3116
+ function si(e) {
3108
3117
  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;
3109
3118
  }
3110
- function sr(e) {
3119
+ function ur(e) {
3111
3120
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3112
3121
  }
3113
- function Jn(e) {
3122
+ function ai(e) {
3114
3123
  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;
3115
3124
  }
3116
- function Je(e) {
3125
+ function et(e) {
3117
3126
  e.forEach(function(t) {
3118
- if (delete t.location, qt(t) || Jt(t))
3127
+ if (delete t.location, Kt(t) || er(t))
3119
3128
  for (var r in t.options)
3120
- delete t.options[r].location, Je(t.options[r].value);
3129
+ delete t.options[r].location, et(t.options[r].value);
3121
3130
  else
3122
- zt(t) && Kt(t.style) || (Zt(t) || Qt(t)) && We(t.style) ? delete t.style.location : Yt(t) && Je(t.children);
3131
+ qt(t) && rr(t.style) || (Jt(t) || Yt(t)) && Qe(t.style) ? delete t.style.location : tr(t) && et(t.children);
3123
3132
  });
3124
3133
  }
3125
- function Yn(e, t) {
3134
+ function li(e, t) {
3126
3135
  t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3127
- var r = new Zn(e, t).parse();
3136
+ var r = new ii(e, t).parse();
3128
3137
  if (r.err) {
3129
3138
  var n = SyntaxError(y[r.err.kind]);
3130
3139
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3131
3140
  }
3132
- return t?.captureLocation || Je(r.val), r.val;
3141
+ return t?.captureLocation || et(r.val), r.val;
3133
3142
  }
3134
- var oe;
3143
+ var ae;
3135
3144
  (function(e) {
3136
3145
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3137
- })(oe || (oe = {}));
3138
- var Ne = (
3146
+ })(ae || (ae = {}));
3147
+ var Pe = (
3139
3148
  /** @class */
3140
3149
  function(e) {
3141
- Me(t, e);
3150
+ Ne(t, e);
3142
3151
  function t(r, n, i) {
3143
3152
  var s = e.call(this, r) || this;
3144
3153
  return s.code = n, s.originalMessage = i, s;
@@ -3147,155 +3156,155 @@ var Ne = (
3147
3156
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3148
3157
  }, t;
3149
3158
  }(Error)
3150
- ), Et = (
3159
+ ), wt = (
3151
3160
  /** @class */
3152
3161
  function(e) {
3153
- Me(t, e);
3162
+ Ne(t, e);
3154
3163
  function t(r, n, i, s) {
3155
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), oe.INVALID_VALUE, s) || this;
3164
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ae.INVALID_VALUE, s) || this;
3156
3165
  }
3157
3166
  return t;
3158
- }(Ne)
3159
- ), Kn = (
3167
+ }(Pe)
3168
+ ), ui = (
3160
3169
  /** @class */
3161
3170
  function(e) {
3162
- Me(t, e);
3171
+ Ne(t, e);
3163
3172
  function t(r, n, i) {
3164
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), oe.INVALID_VALUE, i) || this;
3173
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ae.INVALID_VALUE, i) || this;
3165
3174
  }
3166
3175
  return t;
3167
- }(Ne)
3168
- ), ei = (
3176
+ }(Pe)
3177
+ ), hi = (
3169
3178
  /** @class */
3170
3179
  function(e) {
3171
- Me(t, e);
3180
+ Ne(t, e);
3172
3181
  function t(r, n) {
3173
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), oe.MISSING_VALUE, n) || this;
3182
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ae.MISSING_VALUE, n) || this;
3174
3183
  }
3175
3184
  return t;
3176
- }(Ne)
3177
- ), O;
3185
+ }(Pe)
3186
+ ), P;
3178
3187
  (function(e) {
3179
3188
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3180
- })(O || (O = {}));
3181
- function ti(e) {
3189
+ })(P || (P = {}));
3190
+ function ci(e) {
3182
3191
  return e.length < 2 ? e : e.reduce(function(t, r) {
3183
3192
  var n = t[t.length - 1];
3184
- return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
3193
+ return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
3185
3194
  }, []);
3186
3195
  }
3187
- function ri(e) {
3196
+ function fi(e) {
3188
3197
  return typeof e == "function";
3189
3198
  }
3190
- function He(e, t, r, n, i, s, o) {
3191
- if (e.length === 1 && dt(e[0]))
3199
+ function Ae(e, t, r, n, i, s, o) {
3200
+ if (e.length === 1 && bt(e[0]))
3192
3201
  return [
3193
3202
  {
3194
- type: O.literal,
3203
+ type: P.literal,
3195
3204
  value: e[0].value
3196
3205
  }
3197
3206
  ];
3198
3207
  for (var a = [], h = 0, l = e; h < l.length; h++) {
3199
3208
  var u = l[h];
3200
- if (dt(u)) {
3209
+ if (bt(u)) {
3201
3210
  a.push({
3202
- type: O.literal,
3211
+ type: P.literal,
3203
3212
  value: u.value
3204
3213
  });
3205
3214
  continue;
3206
3215
  }
3207
- if (wn(u)) {
3216
+ if (Pn(u)) {
3208
3217
  typeof s == "number" && a.push({
3209
- type: O.literal,
3218
+ type: P.literal,
3210
3219
  value: r.getNumberFormat(t).format(s)
3211
3220
  });
3212
3221
  continue;
3213
3222
  }
3214
3223
  var m = u.value;
3215
3224
  if (!(i && m in i))
3216
- throw new ei(m, o);
3225
+ throw new hi(m, o);
3217
3226
  var f = i[m];
3218
- if (Cn(u)) {
3227
+ if (Nn(u)) {
3219
3228
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3220
- type: typeof f == "string" ? O.literal : O.object,
3229
+ type: typeof f == "string" ? P.literal : P.object,
3221
3230
  value: f
3222
3231
  });
3223
3232
  continue;
3224
3233
  }
3225
- if (Zt(u)) {
3226
- var p = typeof u.style == "string" ? n.date[u.style] : We(u.style) ? u.style.parsedOptions : void 0;
3234
+ if (Jt(u)) {
3235
+ var p = typeof u.style == "string" ? n.date[u.style] : Qe(u.style) ? u.style.parsedOptions : void 0;
3227
3236
  a.push({
3228
- type: O.literal,
3237
+ type: P.literal,
3229
3238
  value: r.getDateTimeFormat(t, p).format(f)
3230
3239
  });
3231
3240
  continue;
3232
3241
  }
3233
- if (Qt(u)) {
3234
- var p = typeof u.style == "string" ? n.time[u.style] : We(u.style) ? u.style.parsedOptions : n.time.medium;
3242
+ if (Yt(u)) {
3243
+ var p = typeof u.style == "string" ? n.time[u.style] : Qe(u.style) ? u.style.parsedOptions : n.time.medium;
3235
3244
  a.push({
3236
- type: O.literal,
3245
+ type: P.literal,
3237
3246
  value: r.getDateTimeFormat(t, p).format(f)
3238
3247
  });
3239
3248
  continue;
3240
3249
  }
3241
- if (zt(u)) {
3242
- var p = typeof u.style == "string" ? n.number[u.style] : Kt(u.style) ? u.style.parsedOptions : void 0;
3250
+ if (qt(u)) {
3251
+ var p = typeof u.style == "string" ? n.number[u.style] : rr(u.style) ? u.style.parsedOptions : void 0;
3243
3252
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3244
- type: O.literal,
3253
+ type: P.literal,
3245
3254
  value: r.getNumberFormat(t, p).format(f)
3246
3255
  });
3247
3256
  continue;
3248
3257
  }
3249
- if (Yt(u)) {
3258
+ if (tr(u)) {
3250
3259
  var g = u.children, b = u.value, d = i[b];
3251
- if (!ri(d))
3252
- throw new Kn(b, "function", o);
3253
- var w = He(g, t, r, n, i, s), E = d(w.map(function(P) {
3254
- return P.value;
3260
+ if (!fi(d))
3261
+ throw new ui(b, "function", o);
3262
+ var C = Ae(g, t, r, n, i, s), E = d(C.map(function(N) {
3263
+ return N.value;
3255
3264
  }));
3256
- Array.isArray(E) || (E = [E]), a.push.apply(a, E.map(function(P) {
3265
+ Array.isArray(E) || (E = [E]), a.push.apply(a, E.map(function(N) {
3257
3266
  return {
3258
- type: typeof P == "string" ? O.literal : O.object,
3259
- value: P
3267
+ type: typeof N == "string" ? P.literal : P.object,
3268
+ value: N
3260
3269
  };
3261
3270
  }));
3262
3271
  }
3263
- if (qt(u)) {
3264
- var H = u.options[f] || u.options.other;
3265
- if (!H)
3266
- throw new Et(u.value, f, Object.keys(u.options), o);
3267
- a.push.apply(a, He(H.value, t, r, n, i));
3272
+ if (Kt(u)) {
3273
+ var w = u.options[f] || u.options.other;
3274
+ if (!w)
3275
+ throw new wt(u.value, f, Object.keys(u.options), o);
3276
+ a.push.apply(a, Ae(w.value, t, r, n, i));
3268
3277
  continue;
3269
3278
  }
3270
- if (Jt(u)) {
3271
- var H = u.options["=".concat(f)];
3272
- if (!H) {
3279
+ if (er(u)) {
3280
+ var w = u.options["=".concat(f)];
3281
+ if (!w) {
3273
3282
  if (!Intl.PluralRules)
3274
- throw new Ne(`Intl.PluralRules is not available in this environment.
3283
+ throw new Pe(`Intl.PluralRules is not available in this environment.
3275
3284
  Try polyfilling it using "@formatjs/intl-pluralrules"
3276
- `, oe.MISSING_INTL_API, o);
3277
- var R = r.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
3278
- H = u.options[R] || u.options.other;
3285
+ `, ae.MISSING_INTL_API, o);
3286
+ var U = r.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
3287
+ w = u.options[U] || u.options.other;
3279
3288
  }
3280
- if (!H)
3281
- throw new Et(u.value, f, Object.keys(u.options), o);
3282
- a.push.apply(a, He(H.value, t, r, n, i, f - (u.offset || 0)));
3289
+ if (!w)
3290
+ throw new wt(u.value, f, Object.keys(u.options), o);
3291
+ a.push.apply(a, Ae(w.value, t, r, n, i, f - (u.offset || 0)));
3283
3292
  continue;
3284
3293
  }
3285
3294
  }
3286
- return ti(a);
3295
+ return ci(a);
3287
3296
  }
3288
- function ni(e, t) {
3297
+ function mi(e, t) {
3289
3298
  return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3290
3299
  return r[n] = _(_({}, e[n]), t[n] || {}), r;
3291
3300
  }, {})) : e;
3292
3301
  }
3293
- function ii(e, t) {
3302
+ function di(e, t) {
3294
3303
  return t ? Object.keys(e).reduce(function(r, n) {
3295
- return r[n] = ni(e[n], t[n]), r;
3304
+ return r[n] = mi(e[n], t[n]), r;
3296
3305
  }, _({}, e)) : e;
3297
3306
  }
3298
- function ke(e) {
3307
+ function Ve(e) {
3299
3308
  return {
3300
3309
  create: function() {
3301
3310
  return {
@@ -3309,39 +3318,39 @@ function ke(e) {
3309
3318
  }
3310
3319
  };
3311
3320
  }
3312
- function oi(e) {
3321
+ function pi(e) {
3313
3322
  return e === void 0 && (e = {
3314
3323
  number: {},
3315
3324
  dateTime: {},
3316
3325
  pluralRules: {}
3317
3326
  }), {
3318
- getNumberFormat: De(function() {
3327
+ getNumberFormat: ke(function() {
3319
3328
  for (var t, r = [], n = 0; n < arguments.length; n++)
3320
3329
  r[n] = arguments[n];
3321
- return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
3330
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ge([void 0], r, !1)))();
3322
3331
  }, {
3323
- cache: ke(e.number),
3324
- strategy: Ue.variadic
3332
+ cache: Ve(e.number),
3333
+ strategy: $e.variadic
3325
3334
  }),
3326
- getDateTimeFormat: De(function() {
3335
+ getDateTimeFormat: ke(function() {
3327
3336
  for (var t, r = [], n = 0; n < arguments.length; n++)
3328
3337
  r[n] = arguments[n];
3329
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
3338
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ge([void 0], r, !1)))();
3330
3339
  }, {
3331
- cache: ke(e.dateTime),
3332
- strategy: Ue.variadic
3340
+ cache: Ve(e.dateTime),
3341
+ strategy: $e.variadic
3333
3342
  }),
3334
- getPluralRules: De(function() {
3343
+ getPluralRules: ke(function() {
3335
3344
  for (var t, r = [], n = 0; n < arguments.length; n++)
3336
3345
  r[n] = arguments[n];
3337
- return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
3346
+ return new ((t = Intl.PluralRules).bind.apply(t, Ge([void 0], r, !1)))();
3338
3347
  }, {
3339
- cache: ke(e.pluralRules),
3340
- strategy: Ue.variadic
3348
+ cache: Ve(e.pluralRules),
3349
+ strategy: $e.variadic
3341
3350
  })
3342
3351
  };
3343
3352
  }
3344
- var si = (
3353
+ var gi = (
3345
3354
  /** @class */
3346
3355
  function() {
3347
3356
  function e(t, r, n, i) {
@@ -3356,11 +3365,11 @@ var si = (
3356
3365
  if (l.length === 1)
3357
3366
  return l[0].value;
3358
3367
  var u = l.reduce(function(m, f) {
3359
- return !m.length || f.type !== O.literal || typeof m[m.length - 1] != "string" ? m.push(f.value) : m[m.length - 1] += f.value, m;
3368
+ return !m.length || f.type !== P.literal || typeof m[m.length - 1] != "string" ? m.push(f.value) : m[m.length - 1] += f.value, m;
3360
3369
  }, []);
3361
3370
  return u.length <= 1 ? u[0] || "" : u;
3362
3371
  }, this.formatToParts = function(h) {
3363
- return He(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3372
+ return Ae(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3364
3373
  }, this.resolvedOptions = function() {
3365
3374
  var h;
3366
3375
  return {
@@ -3373,13 +3382,13 @@ var si = (
3373
3382
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3374
3383
  var o = i || {};
3375
3384
  o.formatters;
3376
- var a = gn(o, ["formatters"]);
3385
+ var a = Sn(o, ["formatters"]);
3377
3386
  this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
3378
3387
  } else
3379
3388
  this.ast = t;
3380
3389
  if (!Array.isArray(this.ast))
3381
3390
  throw new TypeError("A message must be provided as a String or AST.");
3382
- this.formats = ii(e.formats, n), this.formatters = i && i.formatters || oi(this.formatterCache);
3391
+ this.formats = di(e.formats, n), this.formatters = i && i.formatters || pi(this.formatterCache);
3383
3392
  }
3384
3393
  return Object.defineProperty(e, "defaultLocale", {
3385
3394
  get: function() {
@@ -3392,7 +3401,7 @@ var si = (
3392
3401
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3393
3402
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3394
3403
  }
3395
- }, e.__parse = Yn, e.formats = {
3404
+ }, e.__parse = li, e.formats = {
3396
3405
  number: {
3397
3406
  integer: {
3398
3407
  maximumFractionDigits: 0
@@ -3453,7 +3462,7 @@ var si = (
3453
3462
  }, e;
3454
3463
  }()
3455
3464
  );
3456
- function ai(e, t) {
3465
+ function bi(e, t) {
3457
3466
  if (t == null)
3458
3467
  return;
3459
3468
  if (t in e)
@@ -3474,92 +3483,92 @@ function ai(e, t) {
3474
3483
  n = void 0;
3475
3484
  return n;
3476
3485
  }
3477
- const X = {}, li = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), ar = (e, t) => {
3486
+ const X = {}, yi = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), hr = (e, t) => {
3478
3487
  if (t == null)
3479
3488
  return;
3480
3489
  if (t in X && e in X[t])
3481
3490
  return X[t][e];
3482
- const r = Le(t);
3491
+ const r = Oe(t);
3483
3492
  for (let n = 0; n < r.length; n++) {
3484
- const i = r[n], s = hi(i, e);
3493
+ const i = r[n], s = _i(i, e);
3485
3494
  if (s)
3486
- return li(e, t, s);
3495
+ return yi(e, t, s);
3487
3496
  }
3488
3497
  };
3489
- let it;
3490
- const le = Ie({});
3491
- function ui(e) {
3492
- return it[e] || null;
3498
+ let at;
3499
+ const he = Le({});
3500
+ function vi(e) {
3501
+ return at[e] || null;
3493
3502
  }
3494
- function lr(e) {
3495
- return e in it;
3503
+ function cr(e) {
3504
+ return e in at;
3496
3505
  }
3497
- function hi(e, t) {
3498
- if (!lr(e))
3506
+ function _i(e, t) {
3507
+ if (!cr(e))
3499
3508
  return null;
3500
- const r = ui(e);
3501
- return ai(r, t);
3509
+ const r = vi(e);
3510
+ return bi(r, t);
3502
3511
  }
3503
- function ci(e) {
3512
+ function Ei(e) {
3504
3513
  if (e == null)
3505
3514
  return;
3506
- const t = Le(e);
3515
+ const t = Oe(e);
3507
3516
  for (let r = 0; r < t.length; r++) {
3508
3517
  const n = t[r];
3509
- if (lr(n))
3518
+ if (cr(n))
3510
3519
  return n;
3511
3520
  }
3512
3521
  }
3513
- function ur(e, ...t) {
3514
- delete X[e], le.update((r) => (r[e] = pn.all([r[e] || {}, ...t]), r));
3522
+ function fr(e, ...t) {
3523
+ delete X[e], he.update((r) => (r[e] = Hn.all([r[e] || {}, ...t]), r));
3515
3524
  }
3516
- ae(
3517
- [le],
3525
+ ue(
3526
+ [he],
3518
3527
  ([e]) => Object.keys(e)
3519
3528
  );
3520
- le.subscribe((e) => it = e);
3521
- const Se = {};
3522
- function fi(e, t) {
3523
- Se[e].delete(t), Se[e].size === 0 && delete Se[e];
3529
+ he.subscribe((e) => at = e);
3530
+ const Be = {};
3531
+ function xi(e, t) {
3532
+ Be[e].delete(t), Be[e].size === 0 && delete Be[e];
3524
3533
  }
3525
- function hr(e) {
3526
- return Se[e];
3534
+ function mr(e) {
3535
+ return Be[e];
3527
3536
  }
3528
- function mi(e) {
3529
- return Le(e).map((t) => {
3530
- const r = hr(t);
3537
+ function Ci(e) {
3538
+ return Oe(e).map((t) => {
3539
+ const r = mr(t);
3531
3540
  return [t, r ? [...r] : []];
3532
3541
  }).filter(([, t]) => t.length > 0);
3533
3542
  }
3534
- function Ye(e) {
3535
- return e == null ? !1 : Le(e).some(
3543
+ function tt(e) {
3544
+ return e == null ? !1 : Oe(e).some(
3536
3545
  (t) => {
3537
3546
  var r;
3538
- return (r = hr(t)) == null ? void 0 : r.size;
3547
+ return (r = mr(t)) == null ? void 0 : r.size;
3539
3548
  }
3540
3549
  );
3541
3550
  }
3542
- function di(e, t) {
3551
+ function wi(e, t) {
3543
3552
  return Promise.all(
3544
- t.map((n) => (fi(e, n), n().then((i) => i.default || i)))
3545
- ).then((n) => ur(e, ...n));
3546
- }
3547
- const ce = {};
3548
- function cr(e) {
3549
- if (!Ye(e))
3550
- return e in ce ? ce[e] : Promise.resolve();
3551
- const t = mi(e);
3552
- return ce[e] = Promise.all(
3553
+ t.map((n) => (xi(e, n), n().then((i) => i.default || i)))
3554
+ ).then((n) => fr(e, ...n));
3555
+ }
3556
+ const de = {};
3557
+ function dr(e) {
3558
+ if (!tt(e))
3559
+ return e in de ? de[e] : Promise.resolve();
3560
+ const t = Ci(e);
3561
+ return de[e] = Promise.all(
3553
3562
  t.map(
3554
- ([r, n]) => di(r, n)
3563
+ ([r, n]) => wi(r, n)
3555
3564
  )
3556
3565
  ).then(() => {
3557
- if (Ye(e))
3558
- return cr(e);
3559
- delete ce[e];
3560
- }), ce[e];
3566
+ if (tt(e))
3567
+ return dr(e);
3568
+ delete de[e];
3569
+ }), de[e];
3561
3570
  }
3562
- const pi = {
3571
+ const Hi = {
3563
3572
  number: {
3564
3573
  scientific: { notation: "scientific" },
3565
3574
  engineering: { notation: "engineering" },
@@ -3588,150 +3597,150 @@ const pi = {
3588
3597
  timeZoneName: "short"
3589
3598
  }
3590
3599
  }
3591
- }, gi = {
3600
+ }, Si = {
3592
3601
  fallbackLocale: null,
3593
3602
  loadingDelay: 200,
3594
- formats: pi,
3603
+ formats: Hi,
3595
3604
  warnOnMissingMessages: !0,
3596
3605
  handleMissingMessage: void 0,
3597
3606
  ignoreTag: !0
3598
- }, bi = gi;
3599
- function se() {
3600
- return bi;
3607
+ }, Ti = Si;
3608
+ function le() {
3609
+ return Ti;
3601
3610
  }
3602
- const $e = Ie(!1);
3603
- var yi = Object.defineProperty, vi = Object.defineProperties, _i = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, xi = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ci = (e, t) => {
3611
+ const Xe = Le(!1);
3612
+ var Ai = Object.defineProperty, Bi = Object.defineProperties, Ii = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Mi = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ni = (e, t) => {
3604
3613
  for (var r in t || (t = {}))
3605
- Ei.call(t, r) && Ct(e, r, t[r]);
3606
- if (xt)
3607
- for (var r of xt(t))
3608
- xi.call(t, r) && Ct(e, r, t[r]);
3614
+ Mi.call(t, r) && St(e, r, t[r]);
3615
+ if (Ht)
3616
+ for (var r of Ht(t))
3617
+ Li.call(t, r) && St(e, r, t[r]);
3609
3618
  return e;
3610
- }, wi = (e, t) => vi(e, _i(t));
3611
- let Ke;
3612
- const Ae = Ie(null);
3613
- function wt(e) {
3619
+ }, Pi = (e, t) => Bi(e, Ii(t));
3620
+ let rt;
3621
+ const Ie = Le(null);
3622
+ function Tt(e) {
3614
3623
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3615
3624
  }
3616
- function Le(e, t = se().fallbackLocale) {
3617
- const r = wt(e);
3618
- return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
3625
+ function Oe(e, t = le().fallbackLocale) {
3626
+ const r = Tt(e);
3627
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
3619
3628
  }
3620
- function q() {
3621
- return Ke ?? void 0;
3629
+ function J() {
3630
+ return rt ?? void 0;
3622
3631
  }
3623
- Ae.subscribe((e) => {
3624
- Ke = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3632
+ Ie.subscribe((e) => {
3633
+ rt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3625
3634
  });
3626
- const Hi = (e) => {
3627
- if (e && ci(e) && Ye(e)) {
3628
- const { loadingDelay: t } = se();
3635
+ const Oi = (e) => {
3636
+ if (e && Ei(e) && tt(e)) {
3637
+ const { loadingDelay: t } = le();
3629
3638
  let r;
3630
- return typeof window < "u" && q() != null && t ? r = window.setTimeout(
3631
- () => $e.set(!0),
3639
+ return typeof window < "u" && J() != null && t ? r = window.setTimeout(
3640
+ () => Xe.set(!0),
3632
3641
  t
3633
- ) : $e.set(!0), cr(e).then(() => {
3634
- Ae.set(e);
3642
+ ) : Xe.set(!0), dr(e).then(() => {
3643
+ Ie.set(e);
3635
3644
  }).finally(() => {
3636
- clearTimeout(r), $e.set(!1);
3645
+ clearTimeout(r), Xe.set(!1);
3637
3646
  });
3638
3647
  }
3639
- return Ae.set(e);
3640
- }, W = wi(Ci({}, Ae), {
3641
- set: Hi
3642
- }), Pe = (e) => {
3648
+ return Ie.set(e);
3649
+ }, W = Pi(Ni({}, Ie), {
3650
+ set: Oi
3651
+ }), Fe = (e) => {
3643
3652
  const t = /* @__PURE__ */ Object.create(null);
3644
3653
  return (n) => {
3645
3654
  const i = JSON.stringify(n);
3646
3655
  return i in t ? t[i] : t[i] = e(n);
3647
3656
  };
3648
3657
  };
3649
- var Si = Object.defineProperty, Be = Object.getOwnPropertySymbols, fr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
3658
+ var Fi = Object.defineProperty, Me = Object.getOwnPropertySymbols, pr = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
3650
3659
  for (var r in t || (t = {}))
3651
- fr.call(t, r) && Ht(e, r, t[r]);
3652
- if (Be)
3653
- for (var r of Be(t))
3654
- mr.call(t, r) && Ht(e, r, t[r]);
3660
+ pr.call(t, r) && At(e, r, t[r]);
3661
+ if (Me)
3662
+ for (var r of Me(t))
3663
+ gr.call(t, r) && At(e, r, t[r]);
3655
3664
  return e;
3656
- }, ue = (e, t) => {
3665
+ }, ce = (e, t) => {
3657
3666
  var r = {};
3658
3667
  for (var n in e)
3659
- fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3660
- if (e != null && Be)
3661
- for (var n of Be(e))
3662
- t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
3668
+ pr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3669
+ if (e != null && Me)
3670
+ for (var n of Me(e))
3671
+ t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
3663
3672
  return r;
3664
3673
  };
3665
- const be = (e, t) => {
3666
- const { formats: r } = se();
3674
+ const _e = (e, t) => {
3675
+ const { formats: r } = le();
3667
3676
  if (e in r && t in r[e])
3668
3677
  return r[e][t];
3669
3678
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3670
- }, Ti = Pe(
3679
+ }, Ri = Fe(
3671
3680
  (e) => {
3672
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3681
+ var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
3673
3682
  if (r == null)
3674
3683
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3675
- return n && (i = be("number", n)), new Intl.NumberFormat(r, i);
3684
+ return n && (i = _e("number", n)), new Intl.NumberFormat(r, i);
3676
3685
  }
3677
- ), Ai = Pe(
3686
+ ), Di = Fe(
3678
3687
  (e) => {
3679
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3688
+ var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
3680
3689
  if (r == null)
3681
3690
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3682
- return n ? i = be("date", n) : Object.keys(i).length === 0 && (i = be("date", "short")), new Intl.DateTimeFormat(r, i);
3691
+ return n ? i = _e("date", n) : Object.keys(i).length === 0 && (i = _e("date", "short")), new Intl.DateTimeFormat(r, i);
3683
3692
  }
3684
- ), Bi = Pe(
3693
+ ), Ui = Fe(
3685
3694
  (e) => {
3686
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3695
+ var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
3687
3696
  if (r == null)
3688
3697
  throw new Error(
3689
3698
  '[svelte-i18n] A "locale" must be set to format time values'
3690
3699
  );
3691
- return n ? i = be("time", n) : Object.keys(i).length === 0 && (i = be("time", "short")), new Intl.DateTimeFormat(r, i);
3700
+ return n ? i = _e("time", n) : Object.keys(i).length === 0 && (i = _e("time", "short")), new Intl.DateTimeFormat(r, i);
3692
3701
  }
3693
- ), Ii = (e = {}) => {
3702
+ ), Gi = (e = {}) => {
3694
3703
  var t = e, {
3695
- locale: r = q()
3696
- } = t, n = ue(t, [
3704
+ locale: r = J()
3705
+ } = t, n = ce(t, [
3697
3706
  "locale"
3698
3707
  ]);
3699
- return Ti(ot({ locale: r }, n));
3700
- }, Mi = (e = {}) => {
3708
+ return Ri(lt({ locale: r }, n));
3709
+ }, ki = (e = {}) => {
3701
3710
  var t = e, {
3702
- locale: r = q()
3703
- } = t, n = ue(t, [
3711
+ locale: r = J()
3712
+ } = t, n = ce(t, [
3704
3713
  "locale"
3705
3714
  ]);
3706
- return Ai(ot({ locale: r }, n));
3707
- }, Ni = (e = {}) => {
3715
+ return Di(lt({ locale: r }, n));
3716
+ }, $i = (e = {}) => {
3708
3717
  var t = e, {
3709
- locale: r = q()
3710
- } = t, n = ue(t, [
3718
+ locale: r = J()
3719
+ } = t, n = ce(t, [
3711
3720
  "locale"
3712
3721
  ]);
3713
- return Bi(ot({ locale: r }, n));
3714
- }, Li = Pe(
3722
+ return Ui(lt({ locale: r }, n));
3723
+ }, ji = Fe(
3715
3724
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3716
- (e, t = q()) => new si(e, t, se().formats, {
3717
- ignoreTag: se().ignoreTag
3725
+ (e, t = J()) => new gi(e, t, le().formats, {
3726
+ ignoreTag: le().ignoreTag
3718
3727
  })
3719
- ), Pi = (e, t = {}) => {
3728
+ ), Vi = (e, t = {}) => {
3720
3729
  var r, n, i, s;
3721
3730
  let o = t;
3722
3731
  typeof e == "object" && (o = e, e = o.id);
3723
3732
  const {
3724
3733
  values: a,
3725
- locale: h = q(),
3734
+ locale: h = J(),
3726
3735
  default: l
3727
3736
  } = o;
3728
3737
  if (h == null)
3729
3738
  throw new Error(
3730
3739
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3731
3740
  );
3732
- let u = ar(e, h);
3741
+ let u = hr(e, h);
3733
3742
  if (!u)
3734
- u = (s = (i = (n = (r = se()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? s : e;
3743
+ u = (s = (i = (n = (r = le()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? s : e;
3735
3744
  else if (typeof u != "string")
3736
3745
  return console.warn(
3737
3746
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3740,7 +3749,7 @@ const be = (e, t) => {
3740
3749
  return u;
3741
3750
  let m = u;
3742
3751
  try {
3743
- m = Li(u, h).format(a);
3752
+ m = ji(u, h).format(a);
3744
3753
  } catch (f) {
3745
3754
  f instanceof Error && console.warn(
3746
3755
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3748,24 +3757,24 @@ const be = (e, t) => {
3748
3757
  );
3749
3758
  }
3750
3759
  return m;
3751
- }, Oi = (e, t) => Ni(t).format(e), Fi = (e, t) => Mi(t).format(e), Ri = (e, t) => Ii(t).format(e), Di = (e, t = q()) => ar(e, t);
3752
- ae([W, le], () => Pi);
3753
- ae([W], () => Oi);
3754
- ae([W], () => Fi);
3755
- ae([W], () => Ri);
3756
- ae([W, le], () => Di);
3757
- function Ui({ withLocale: e, translations: t }) {
3760
+ }, Xi = (e, t) => $i(t).format(e), Wi = (e, t) => ki(t).format(e), zi = (e, t) => Gi(t).format(e), Zi = (e, t = J()) => hr(e, t);
3761
+ ue([W, he], () => Vi);
3762
+ ue([W], () => Xi);
3763
+ ue([W], () => Wi);
3764
+ ue([W], () => zi);
3765
+ ue([W, he], () => Zi);
3766
+ function Qi({ withLocale: e, translations: t }) {
3758
3767
  W.subscribe((r) => {
3759
- r == null && (le.set(t), W.set(e));
3768
+ r == null && (he.set(t), W.set(e));
3760
3769
  });
3761
3770
  }
3762
- function St(e, t) {
3763
- ur(e, t);
3771
+ function Bt(e, t) {
3772
+ fr(e, t);
3764
3773
  }
3765
- function Gi(e) {
3774
+ function qi(e) {
3766
3775
  W.set(e);
3767
3776
  }
3768
- const Tt = {
3777
+ const It = {
3769
3778
  en: {
3770
3779
  login: "Login",
3771
3780
  register: "Register",
@@ -3822,159 +3831,159 @@ const Tt = {
3822
3831
  deposit: "Deposit"
3823
3832
  }
3824
3833
  };
3825
- function ki(e) {
3826
- Br(e, "svelte-wvhhix", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.scroller{scroll-behavior:smooth}.CarouselWrapper{background:var(--emw--color-primary, #194127)}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emw--categories-arrows-bg, var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #22B04E)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #22B04E)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emw--categories-contrast, var(--emw--color-contrast, #07072A));background:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}');
3834
+ function Ji(e) {
3835
+ Rr(e, "svelte-wvhhix", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.scroller{scroll-behavior:smooth}.CarouselWrapper{background:var(--emw--color-primary, #194127)}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emw--categories-arrows-bg, var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #22B04E)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #22B04E)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emw--categories-contrast, var(--emw--color-contrast, #07072A));background:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}');
3827
3836
  }
3828
- function At(e, t, r) {
3837
+ function Mt(e, t, r) {
3829
3838
  const n = e.slice();
3830
- return n[48] = t[r], n[50] = r, n;
3839
+ return n[57] = t[r], n[59] = r, n;
3831
3840
  }
3832
- function Bt(e, t, r) {
3841
+ function Lt(e, t, r) {
3833
3842
  const n = e.slice();
3834
- return n[51] = t[r], n;
3843
+ return n[60] = t[r], n;
3835
3844
  }
3836
- function It(e, t, r) {
3845
+ function Nt(e, t, r) {
3837
3846
  const n = e.slice();
3838
- return n[54] = t[r], n[56] = r, n;
3847
+ return n[63] = t[r], n[65] = r, n;
3839
3848
  }
3840
- function Mt(e) {
3841
- let t = [], r = /* @__PURE__ */ new Map(), n, i = re(
3849
+ function Pt(e) {
3850
+ let t = [], r = /* @__PURE__ */ new Map(), n, i = ie(
3842
3851
  /*sliderdata*/
3843
3852
  e[9]
3844
3853
  );
3845
3854
  const s = (o) => (
3846
3855
  /*category*/
3847
- o[48].id
3856
+ o[57].id
3848
3857
  );
3849
3858
  for (let o = 0; o < i.length; o += 1) {
3850
- let a = At(e, i, o), h = s(a);
3851
- r.set(h, t[o] = Rt(h, a));
3859
+ let a = Mt(e, i, o), h = s(a);
3860
+ r.set(h, t[o] = Gt(h, a));
3852
3861
  }
3853
3862
  return {
3854
3863
  c() {
3855
3864
  for (let o = 0; o < t.length; o += 1)
3856
3865
  t[o].c();
3857
- n = de();
3866
+ n = be();
3858
3867
  },
3859
3868
  m(o, a) {
3860
3869
  for (let h = 0; h < t.length; h += 1)
3861
3870
  t[h] && t[h].m(o, a);
3862
- U(o, n, a);
3871
+ G(o, n, a);
3863
3872
  },
3864
3873
  p(o, a) {
3865
3874
  a[0] & /*activeindex, sliderdata, location, handleClick, subGroupsData, activeIndex, activeSubIndex, prevSubIndex, showsubgroups, itemsActive, categoriesicon, handleSrc*/
3866
- 77775 && (i = re(
3875
+ 1183695 && (i = ie(
3867
3876
  /*sliderdata*/
3868
3877
  o[9]
3869
- ), t = $t(t, a, s, 1, o, i, r, n.parentNode, kt, Rt, n, At));
3878
+ ), t = Xt(t, a, s, 1, o, i, r, n.parentNode, Vt, Gt, n, Mt));
3870
3879
  },
3871
3880
  d(o) {
3872
- o && F(n);
3881
+ o && D(n);
3873
3882
  for (let a = 0; a < t.length; a += 1)
3874
3883
  t[a].d(o);
3875
3884
  }
3876
3885
  };
3877
3886
  }
3878
- function $i(e) {
3887
+ function Yi(e) {
3879
3888
  let t, r = (
3880
3889
  /*category*/
3881
- e[48].name + ""
3890
+ e[57].name + ""
3882
3891
  ), n;
3883
3892
  return {
3884
3893
  c() {
3885
- t = N("button"), n = ye(r), S(t, "class", "CategoryButton");
3894
+ t = L("button"), n = Ee(r), S(t, "class", "CategoryButton");
3886
3895
  },
3887
3896
  m(i, s) {
3888
- U(i, t, s), B(t, n);
3897
+ G(i, t, s), I(t, n);
3889
3898
  },
3890
3899
  p(i, s) {
3891
3900
  s[0] & /*sliderdata*/
3892
3901
  512 && r !== (r = /*category*/
3893
- i[48].name + "") && tt(n, r);
3902
+ i[57].name + "") && it(n, r);
3894
3903
  },
3895
3904
  d(i) {
3896
- i && F(t);
3905
+ i && D(t);
3897
3906
  }
3898
3907
  };
3899
3908
  }
3900
- function ji(e) {
3909
+ function Ki(e) {
3901
3910
  let t, r = (
3902
3911
  /*category*/
3903
- e[48].label + ""
3912
+ e[57].label + ""
3904
3913
  ), n, i;
3905
3914
  return {
3906
3915
  c() {
3907
- t = N("a"), n = ye(r), S(t, "href", i = /*category*/
3908
- e[48].path);
3916
+ t = L("a"), n = Ee(r), S(t, "href", i = /*category*/
3917
+ e[57].path);
3909
3918
  },
3910
3919
  m(s, o) {
3911
- U(s, t, o), B(t, n);
3920
+ G(s, t, o), I(t, n);
3912
3921
  },
3913
3922
  p(s, o) {
3914
3923
  o[0] & /*sliderdata*/
3915
3924
  512 && r !== (r = /*category*/
3916
- s[48].label + "") && tt(n, r), o[0] & /*sliderdata*/
3925
+ s[57].label + "") && it(n, r), o[0] & /*sliderdata*/
3917
3926
  512 && i !== (i = /*category*/
3918
- s[48].path) && S(t, "href", i);
3927
+ s[57].path) && S(t, "href", i);
3919
3928
  },
3920
3929
  d(s) {
3921
- s && F(t);
3930
+ s && D(t);
3922
3931
  }
3923
3932
  };
3924
3933
  }
3925
- function Nt(e) {
3934
+ function Ot(e) {
3926
3935
  let t, r = (
3927
3936
  /*subGroupsData*/
3928
3937
  e[10].length > 0 && /*showsubgroups*/
3929
- e[2] == "true" && Lt(e)
3938
+ e[2] == "true" && Ft(e)
3930
3939
  );
3931
3940
  return {
3932
3941
  c() {
3933
- r && r.c(), t = de();
3942
+ r && r.c(), t = be();
3934
3943
  },
3935
3944
  m(n, i) {
3936
- r && r.m(n, i), U(n, t, i);
3945
+ r && r.m(n, i), G(n, t, i);
3937
3946
  },
3938
3947
  p(n, i) {
3939
3948
  /*subGroupsData*/
3940
3949
  n[10].length > 0 && /*showsubgroups*/
3941
- n[2] == "true" ? r ? r.p(n, i) : (r = Lt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3950
+ n[2] == "true" ? r ? r.p(n, i) : (r = Ft(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3942
3951
  },
3943
3952
  d(n) {
3944
- n && F(t), r && r.d(n);
3953
+ n && D(t), r && r.d(n);
3945
3954
  }
3946
3955
  };
3947
3956
  }
3948
- function Lt(e) {
3949
- let t, r = re(
3957
+ function Ft(e) {
3958
+ let t, r = ie(
3950
3959
  /*subGroupsData*/
3951
3960
  e[10]
3952
3961
  ), n = [];
3953
3962
  for (let i = 0; i < r.length; i += 1)
3954
- n[i] = Ft(Bt(e, r, i));
3963
+ n[i] = Ut(Lt(e, r, i));
3955
3964
  return {
3956
3965
  c() {
3957
- t = N("ul");
3966
+ t = L("ul");
3958
3967
  for (let i = 0; i < n.length; i += 1)
3959
3968
  n[i].c();
3960
3969
  S(t, "class", "DropDown");
3961
3970
  },
3962
3971
  m(i, s) {
3963
- U(i, t, s);
3972
+ G(i, t, s);
3964
3973
  for (let o = 0; o < n.length; o += 1)
3965
3974
  n[o] && n[o].m(t, null);
3966
3975
  },
3967
3976
  p(i, s) {
3968
3977
  if (s[0] & /*subGroupsData, handleClick, sliderdata, activeIndex, activeSubIndex, prevSubIndex*/
3969
- 10176) {
3970
- r = re(
3978
+ 133056) {
3979
+ r = ie(
3971
3980
  /*subGroupsData*/
3972
3981
  i[10]
3973
3982
  );
3974
3983
  let o;
3975
3984
  for (o = 0; o < r.length; o += 1) {
3976
- const a = Bt(i, r, o);
3977
- n[o] ? n[o].p(a, s) : (n[o] = Ft(a), n[o].c(), n[o].m(t, null));
3985
+ const a = Lt(i, r, o);
3986
+ n[o] ? n[o].p(a, s) : (n[o] = Ut(a), n[o].c(), n[o].m(t, null));
3978
3987
  }
3979
3988
  for (; o < n.length; o += 1)
3980
3989
  n[o].d(1);
@@ -3982,147 +3991,147 @@ function Lt(e) {
3982
3991
  }
3983
3992
  },
3984
3993
  d(i) {
3985
- i && F(t), Nr(n, i);
3994
+ i && D(t), Gr(n, i);
3986
3995
  }
3987
3996
  };
3988
3997
  }
3989
- function Pt(e) {
3998
+ function Rt(e) {
3990
3999
  let t, r, n = (
3991
4000
  /*subGroupItem*/
3992
- e[54]?.name + ""
4001
+ e[63]?.name + ""
3993
4002
  ), i, s, o, a, h;
3994
4003
  function l(...u) {
3995
4004
  return (
3996
- /*click_handler_1*/
3997
- e[33](
4005
+ /*click_handler_2*/
4006
+ e[38](
3998
4007
  /*category*/
3999
- e[48],
4008
+ e[57],
4000
4009
  /*index*/
4001
- e[50],
4010
+ e[59],
4002
4011
  /*subGroupItem*/
4003
- e[54],
4012
+ e[63],
4004
4013
  /*subindex*/
4005
- e[56],
4014
+ e[65],
4006
4015
  ...u
4007
4016
  )
4008
4017
  );
4009
4018
  }
4010
4019
  return {
4011
4020
  c() {
4012
- t = N("li"), r = N("a"), i = ye(n), o = Z(), S(r, "class", s = "SubDropDown " + /*index*/
4013
- (e[50] == /*activeIndex*/
4021
+ t = L("li"), r = L("a"), i = Ee(n), o = Q(), S(r, "class", s = "SubDropDown " + /*index*/
4022
+ (e[59] == /*activeIndex*/
4014
4023
  e[6] && /*activeSubIndex*/
4015
4024
  (e[7] == /*subindex*/
4016
- e[56] || /*prevSubIndex*/
4025
+ e[65] || /*prevSubIndex*/
4017
4026
  e[8] == /*subindex*/
4018
- e[56]) ? "active" : ""));
4027
+ e[65]) ? "active" : ""));
4019
4028
  },
4020
4029
  m(u, m) {
4021
- U(u, t, m), B(t, r), B(r, i), B(t, o), a || (h = Te(t, "click", l), a = !0);
4030
+ G(u, t, m), I(t, r), I(r, i), I(t, o), a || (h = j(t, "click", l), a = !0);
4022
4031
  },
4023
4032
  p(u, m) {
4024
4033
  e = u, m[0] & /*subGroupsData*/
4025
4034
  1024 && n !== (n = /*subGroupItem*/
4026
- e[54]?.name + "") && tt(i, n), m[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
4035
+ e[63]?.name + "") && it(i, n), m[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
4027
4036
  1984 && s !== (s = "SubDropDown " + /*index*/
4028
- (e[50] == /*activeIndex*/
4037
+ (e[59] == /*activeIndex*/
4029
4038
  e[6] && /*activeSubIndex*/
4030
4039
  (e[7] == /*subindex*/
4031
- e[56] || /*prevSubIndex*/
4040
+ e[65] || /*prevSubIndex*/
4032
4041
  e[8] == /*subindex*/
4033
- e[56]) ? "active" : "")) && S(r, "class", s);
4042
+ e[65]) ? "active" : "")) && S(r, "class", s);
4034
4043
  },
4035
4044
  d(u) {
4036
- u && F(t), a = !1, h();
4045
+ u && D(t), a = !1, h();
4037
4046
  }
4038
4047
  };
4039
4048
  }
4040
- function Ot(e, t) {
4049
+ function Dt(e, t) {
4041
4050
  let r, n, i = (
4042
4051
  /*index*/
4043
- t[50] == /*subGroup*/
4044
- t[51].index && Pt(t)
4052
+ t[59] == /*subGroup*/
4053
+ t[60].index && Rt(t)
4045
4054
  );
4046
4055
  return {
4047
4056
  key: e,
4048
4057
  first: null,
4049
4058
  c() {
4050
- r = de(), i && i.c(), n = de(), this.first = r;
4059
+ r = be(), i && i.c(), n = be(), this.first = r;
4051
4060
  },
4052
4061
  m(s, o) {
4053
- U(s, r, o), i && i.m(s, o), U(s, n, o);
4062
+ G(s, r, o), i && i.m(s, o), G(s, n, o);
4054
4063
  },
4055
4064
  p(s, o) {
4056
4065
  t = s, /*index*/
4057
- t[50] == /*subGroup*/
4058
- t[51].index ? i ? i.p(t, o) : (i = Pt(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4066
+ t[59] == /*subGroup*/
4067
+ t[60].index ? i ? i.p(t, o) : (i = Rt(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4059
4068
  },
4060
4069
  d(s) {
4061
- s && (F(r), F(n)), i && i.d(s);
4070
+ s && (D(r), D(n)), i && i.d(s);
4062
4071
  }
4063
4072
  };
4064
4073
  }
4065
- function Ft(e) {
4066
- let t = [], r = /* @__PURE__ */ new Map(), n, i = re(
4074
+ function Ut(e) {
4075
+ let t = [], r = /* @__PURE__ */ new Map(), n, i = ie(
4067
4076
  /*subGroup*/
4068
- e[51].items
4077
+ e[60].items
4069
4078
  );
4070
4079
  const s = (o) => (
4071
4080
  /*subGroupItem*/
4072
- o[54].id
4081
+ o[63].id
4073
4082
  );
4074
4083
  for (let o = 0; o < i.length; o += 1) {
4075
- let a = It(e, i, o), h = s(a);
4076
- r.set(h, t[o] = Ot(h, a));
4084
+ let a = Nt(e, i, o), h = s(a);
4085
+ r.set(h, t[o] = Dt(h, a));
4077
4086
  }
4078
4087
  return {
4079
4088
  c() {
4080
4089
  for (let o = 0; o < t.length; o += 1)
4081
4090
  t[o].c();
4082
- n = de();
4091
+ n = be();
4083
4092
  },
4084
4093
  m(o, a) {
4085
4094
  for (let h = 0; h < t.length; h += 1)
4086
4095
  t[h] && t[h].m(o, a);
4087
- U(o, n, a);
4096
+ G(o, n, a);
4088
4097
  },
4089
4098
  p(o, a) {
4090
4099
  a[0] & /*handleClick, sliderdata, subGroupsData, activeIndex, activeSubIndex, prevSubIndex*/
4091
- 10176 && (i = re(
4100
+ 133056 && (i = ie(
4092
4101
  /*subGroup*/
4093
- o[51].items
4094
- ), t = $t(t, a, s, 1, o, i, r, n.parentNode, kt, Ot, n, It));
4102
+ o[60].items
4103
+ ), t = Xt(t, a, s, 1, o, i, r, n.parentNode, Vt, Dt, n, Nt));
4095
4104
  },
4096
4105
  d(o) {
4097
- o && F(n);
4106
+ o && D(n);
4098
4107
  for (let a = 0; a < t.length; a += 1)
4099
4108
  t[a].d(o);
4100
4109
  }
4101
4110
  };
4102
4111
  }
4103
- function Rt(e, t) {
4112
+ function Gt(e, t) {
4104
4113
  let r, n, i, s, o, a, h, l, u, m, f;
4105
- function p(E, H) {
4114
+ function p(E, w) {
4106
4115
  return (
4107
4116
  /*location*/
4108
- E[0] === "headerMain" ? ji : $i
4117
+ E[0] === "headerMain" ? Ki : Yi
4109
4118
  );
4110
4119
  }
4111
4120
  let g = p(t), b = g(t), d = (
4112
4121
  /*itemsActive*/
4113
4122
  t[11][
4114
4123
  /*index*/
4115
- t[50]
4116
- ] == !0 && Nt(t)
4124
+ t[59]
4125
+ ] == !0 && Ot(t)
4117
4126
  );
4118
- function w(...E) {
4127
+ function C(...E) {
4119
4128
  return (
4120
- /*click_handler_2*/
4121
- t[34](
4129
+ /*click_handler_3*/
4130
+ t[39](
4122
4131
  /*category*/
4123
- t[48],
4132
+ t[57],
4124
4133
  /*index*/
4125
- t[50],
4134
+ t[59],
4126
4135
  ...E
4127
4136
  )
4128
4137
  );
@@ -4131,119 +4140,160 @@ function Rt(e, t) {
4131
4140
  key: e,
4132
4141
  first: null,
4133
4142
  c() {
4134
- r = N("li"), n = N("div"), i = N("img"), a = Z(), b.c(), h = Z(), d && d.c(), l = Z(), S(i, "class", s = "CategoryIconImg " + /*categoriesicon*/
4135
- (t[3] === "true" ? "" : "DisplayNone")), ct(i.src, o = /*handleSrc*/
4136
- t[16](
4143
+ r = L("li"), n = L("div"), i = L("img"), a = Q(), b.c(), h = Q(), d && d.c(), l = Q(), S(i, "class", s = "CategoryIconImg " + /*categoriesicon*/
4144
+ (t[3] === "true" ? "" : "DisplayNone")), dt(i.src, o = /*handleSrc*/
4145
+ t[20](
4137
4146
  /*category*/
4138
- t[48]
4147
+ t[57]
4139
4148
  )) || S(i, "src", o), S(n, "class", "CategoryIcon"), S(r, "class", u = "CarouselItem " + /*activeindex*/
4140
4149
  (t[1]?.toString().indexOf("$") > -1 ? (
4141
4150
  /*activeindex*/
4142
4151
  t[1]?.split("$").pop() == /*category*/
4143
- t[48].id.split("$").pop() ? "active" : ""
4152
+ t[57].id.split("$").pop() ? "active" : ""
4144
4153
  ) : (
4145
4154
  /*activeindex*/
4146
4155
  t[1] == /*category*/
4147
- t[48].id ? "active" : ""
4156
+ t[57].id ? "active" : ""
4148
4157
  )) + " " + /*location*/
4149
4158
  (t[0] == "headerMain" ? "" : "SecondaryMenu")), this.first = r;
4150
4159
  },
4151
- m(E, H) {
4152
- U(E, r, H), B(r, n), B(n, i), B(r, a), b.m(r, null), B(r, h), d && d.m(r, null), B(r, l), m || (f = Te(r, "click", w), m = !0);
4160
+ m(E, w) {
4161
+ G(E, r, w), I(r, n), I(n, i), I(r, a), b.m(r, null), I(r, h), d && d.m(r, null), I(r, l), m || (f = j(r, "click", C), m = !0);
4153
4162
  },
4154
- p(E, H) {
4155
- t = E, H[0] & /*categoriesicon*/
4163
+ p(E, w) {
4164
+ t = E, w[0] & /*categoriesicon*/
4156
4165
  8 && s !== (s = "CategoryIconImg " + /*categoriesicon*/
4157
- (t[3] === "true" ? "" : "DisplayNone")) && S(i, "class", s), H[0] & /*sliderdata*/
4158
- 512 && !ct(i.src, o = /*handleSrc*/
4159
- t[16](
4166
+ (t[3] === "true" ? "" : "DisplayNone")) && S(i, "class", s), w[0] & /*sliderdata*/
4167
+ 512 && !dt(i.src, o = /*handleSrc*/
4168
+ t[20](
4160
4169
  /*category*/
4161
- t[48]
4162
- )) && S(i, "src", o), g === (g = p(t)) && b ? b.p(t, H) : (b.d(1), b = g(t), b && (b.c(), b.m(r, h))), /*itemsActive*/
4170
+ t[57]
4171
+ )) && S(i, "src", o), g === (g = p(t)) && b ? b.p(t, w) : (b.d(1), b = g(t), b && (b.c(), b.m(r, h))), /*itemsActive*/
4163
4172
  t[11][
4164
4173
  /*index*/
4165
- t[50]
4166
- ] == !0 ? d ? d.p(t, H) : (d = Nt(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), H[0] & /*activeindex, sliderdata, location*/
4174
+ t[59]
4175
+ ] == !0 ? d ? d.p(t, w) : (d = Ot(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), w[0] & /*activeindex, sliderdata, location*/
4167
4176
  515 && u !== (u = "CarouselItem " + /*activeindex*/
4168
4177
  (t[1]?.toString().indexOf("$") > -1 ? (
4169
4178
  /*activeindex*/
4170
4179
  t[1]?.split("$").pop() == /*category*/
4171
- t[48].id.split("$").pop() ? "active" : ""
4180
+ t[57].id.split("$").pop() ? "active" : ""
4172
4181
  ) : (
4173
4182
  /*activeindex*/
4174
4183
  t[1] == /*category*/
4175
- t[48].id ? "active" : ""
4184
+ t[57].id ? "active" : ""
4176
4185
  )) + " " + /*location*/
4177
4186
  (t[0] == "headerMain" ? "" : "SecondaryMenu")) && S(r, "class", u);
4178
4187
  },
4179
4188
  d(E) {
4180
- E && F(r), b.d(), d && d.d(), m = !1, f();
4189
+ E && D(r), b.d(), d && d.d(), m = !1, f();
4181
4190
  }
4182
4191
  };
4183
4192
  }
4184
- function Vi(e) {
4193
+ function eo(e) {
4185
4194
  let t, r, n, i, s, o, a, h, l, u, m, f, p, g, b, d = (
4186
4195
  /*sliderdata*/
4187
- e[9].length > 0 && Mt(e)
4196
+ e[9].length > 0 && Pt(e)
4188
4197
  );
4189
4198
  return {
4190
4199
  c() {
4191
- t = N("div"), r = N("div"), n = N("div"), n.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', i = Z(), s = N("div"), o = N("ul"), a = N("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', h = Z(), d && d.c(), l = Z(), u = N("div"), u.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>', S(n, "class", "CarouselLeftArrow"), S(a, "class", "TouchOnly"), S(o, "id", "CarouselNav"), S(o, "class", "CarouselItems"), S(s, "class", "CarouselNavWrap scroller"), S(u, "class", "CarouselRightArrow"), S(r, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
4200
+ t = L("div"), r = L("div"), n = L("div"), n.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', i = Q(), s = L("div"), o = L("ul"), a = L("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', h = Q(), d && d.c(), l = Q(), u = L("div"), u.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>', S(n, "class", "CarouselLeftArrow"), S(a, "class", "TouchOnly"), S(o, "id", "CarouselNav"), S(o, "class", "CarouselItems"), S(s, "class", "CarouselNavWrap scroller"), S(u, "class", "CarouselRightArrow"), S(r, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
4192
4201
  e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), S(r, "style", f = /*location*/
4193
4202
  e[0] === "headerMain" ? "max-width: auto" : void 0), S(t, "class", p = "CarouselWrapper " + /*location*/
4194
4203
  (e[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
4195
4204
  },
4196
- m(w, E) {
4197
- U(w, t, E), B(t, r), B(r, n), B(r, i), B(r, s), B(s, o), B(o, a), B(o, h), d && d.m(o, null), e[35](o), e[36](s), B(r, l), B(r, u), e[38](t), g || (b = [
4198
- Te(
4205
+ m(C, E) {
4206
+ G(C, t, E), I(t, r), I(r, n), I(r, i), I(r, s), I(s, o), I(o, a), I(o, h), d && d.m(o, null), e[40](o), e[41](s), I(r, l), I(r, u), e[43](t), g || (b = [
4207
+ j(
4199
4208
  n,
4200
4209
  "click",
4201
- /*click_handler*/
4202
- e[32]
4210
+ /*click_handler_1*/
4211
+ e[37]
4212
+ ),
4213
+ j(
4214
+ o,
4215
+ "mousedown",
4216
+ /*handleMouseDown*/
4217
+ e[13]
4203
4218
  ),
4204
- Te(
4219
+ j(
4220
+ o,
4221
+ "mouseleave",
4222
+ /*handleMouseLeave*/
4223
+ e[14]
4224
+ ),
4225
+ j(
4226
+ o,
4227
+ "mouseup",
4228
+ /*handleMouseUp*/
4229
+ e[15]
4230
+ ),
4231
+ j(
4232
+ o,
4233
+ "mousemove",
4234
+ /*handleMouseMove*/
4235
+ e[16]
4236
+ ),
4237
+ j(o, "click", kr(
4238
+ /*click_handler*/
4239
+ e[36]
4240
+ )),
4241
+ j(
4205
4242
  u,
4206
4243
  "click",
4207
- /*click_handler_3*/
4208
- e[37]
4244
+ /*click_handler_4*/
4245
+ e[42]
4209
4246
  )
4210
4247
  ], g = !0);
4211
4248
  },
4212
- p(w, E) {
4249
+ p(C, E) {
4213
4250
  /*sliderdata*/
4214
- w[9].length > 0 ? d ? d.p(w, E) : (d = Mt(w), d.c(), d.m(o, null)) : d && (d.d(1), d = null), E[0] & /*location*/
4251
+ C[9].length > 0 ? d ? d.p(C, E) : (d = Pt(C), d.c(), d.m(o, null)) : d && (d.d(1), d = null), E[0] & /*location*/
4215
4252
  1 && m !== (m = `CarouselContainer CarouselContainerMobile ${/*location*/
4216
- w[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && S(r, "class", m), E[0] & /*location*/
4253
+ C[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && S(r, "class", m), E[0] & /*location*/
4217
4254
  1 && f !== (f = /*location*/
4218
- w[0] === "headerMain" ? "max-width: auto" : void 0) && S(r, "style", f), E[0] & /*location*/
4255
+ C[0] === "headerMain" ? "max-width: auto" : void 0) && S(r, "style", f), E[0] & /*location*/
4219
4256
  1 && p !== (p = "CarouselWrapper " + /*location*/
4220
- (w[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && S(t, "class", p);
4257
+ (C[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && S(t, "class", p);
4221
4258
  },
4222
- i: G,
4223
- o: G,
4224
- d(w) {
4225
- w && F(t), d && d.d(), e[35](null), e[36](null), e[38](null), g = !1, Q(b);
4259
+ i: k,
4260
+ o: k,
4261
+ d(C) {
4262
+ C && D(t), d && d.d(), e[40](null), e[41](null), e[43](null), g = !1, q(b);
4226
4263
  }
4227
4264
  };
4228
4265
  }
4229
- function Xi(e, t, r) {
4230
- let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: s = "defaultEvent" } = t, { actionevent: o = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: h = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups: w = "false" } = t, { categoriesicon: E = "false" } = t, { lobbyiconimage: H = "" } = t, { mygamesiconimage: R = "" } = t, { mbsource: P = "" } = t;
4231
- Ui({ withLocale: "en", translations: {} });
4232
- const k = () => {
4266
+ function to(e, t, r) {
4267
+ let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: s = "defaultEvent" } = t, { actionevent: o = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: h = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups: C = "false" } = t, { categoriesicon: E = "false" } = t, { lobbyiconimage: w = "" } = t, { mygamesiconimage: U = "" } = t, { mbsource: N = "" } = t, T;
4268
+ Qi({ withLocale: "en", translations: {} });
4269
+ let H = !1, F = 0, R = 0;
4270
+ const Y = (c) => {
4271
+ c.preventDefault(), H = !0, T?.classList.add("dragging"), F = c.pageX - (T?.offsetLeft ?? 0), R = T?.scrollLeft ?? 0;
4272
+ }, br = (c) => {
4273
+ c.preventDefault(), H = !1, T?.classList.remove("dragging");
4274
+ }, yr = (c) => {
4275
+ H = !1, T?.classList.remove("dragging");
4276
+ }, vr = (c) => {
4277
+ if (!H || !T)
4278
+ return;
4279
+ c.preventDefault();
4280
+ const O = (c.pageX - T.offsetLeft - F) * 2.5;
4281
+ r(5, T.scrollLeft = R - O, T);
4282
+ }, _r = () => {
4233
4283
  fetch(f).then((x) => x.json()).then((x) => {
4234
- Object.keys(x).forEach((D) => {
4235
- St(D, x[D]);
4284
+ Object.keys(x).forEach((O) => {
4285
+ Bt(O, x[O]);
4236
4286
  });
4237
4287
  }).catch((x) => {
4238
4288
  console.log(x);
4239
4289
  });
4240
4290
  };
4241
- Object.keys(Tt).forEach((c) => {
4242
- St(c, Tt[c]);
4291
+ Object.keys(It).forEach((c) => {
4292
+ Bt(c, It[c]);
4243
4293
  });
4244
- let C, I, L, j, $, he = [], ve = [], J = [], M, Oe = (c, x, D, z, V) => {
4245
- if (!(c.subGroups && z === null)) {
4246
- if (_e(), r(6, I = x), r(6, I), V != "secondary") {
4294
+ let z, fe, Re, $, me = [], xe = [], K = [], M, De = (c, x, O, Z, V) => {
4295
+ if (!(c.subGroups && Z === null)) {
4296
+ if (Ce(), r(6, z = x), r(6, z), V != "secondary") {
4247
4297
  window.postMessage(
4248
4298
  {
4249
4299
  type: o == "CategoryChange" ? "CategoryChange" : "NavigateTo",
@@ -4256,35 +4306,35 @@ function Xi(e, t, r) {
4256
4306
  target: c.attrs?.target || null
4257
4307
  },
4258
4308
  window.location.href
4259
- ), r(7, L = null), r(8, j = null);
4309
+ ), r(7, fe = null), r(8, Re = null);
4260
4310
  return;
4261
4311
  }
4262
- r(7, L = z), r(7, L), r(8, j = L), window.postMessage(
4312
+ r(7, fe = Z), r(7, fe), r(8, Re = fe), window.postMessage(
4263
4313
  {
4264
4314
  type: o,
4265
- itemId: D.id,
4266
- subIndex: z,
4267
- subItem: D
4315
+ itemId: O.id,
4316
+ subIndex: Z,
4317
+ subItem: O
4268
4318
  },
4269
4319
  window.location.href
4270
4320
  );
4271
4321
  }
4272
- }, st = () => {
4273
- M && (J.length !== I ? r(12, M.scrollLeft -= 250, M) : r(12, M.scrollLeft = 0, M));
4274
- }, at = () => {
4275
- M && (J.length !== I ? r(12, M.scrollLeft += 250, M) : r(12, M.scrollLeft = 0, M));
4322
+ }, ut = () => {
4323
+ M && (K.length !== z ? r(12, M.scrollLeft -= 250, M) : r(12, M.scrollLeft = 0, M));
4324
+ }, ht = () => {
4325
+ M && (K.length !== z ? r(12, M.scrollLeft += 250, M) : r(12, M.scrollLeft = 0, M));
4276
4326
  };
4277
- const lt = (c) => {
4278
- c.data.type == "SliderData" && c.data.identity == m && (r(9, he = c.data.data), r(11, J = new Array(he.length).fill(!1)), w == "true" && gr()), c.data.type == "GoToHomepage" && he.forEach((x, D) => {
4279
- x.path.endsWith("/casino") && (r(6, I = D), r(6, I));
4327
+ const ct = (c) => {
4328
+ c.data.type == "SliderData" && c.data.identity == m && (r(9, me = c.data.data), r(11, K = new Array(me.length).fill(!1)), C == "true" && Cr()), c.data.type == "GoToHomepage" && me.forEach((x, O) => {
4329
+ x.path.endsWith("/casino") && (r(6, z = O), r(6, z));
4280
4330
  });
4281
- }, dr = () => {
4282
- Gi(b);
4283
- }, pr = (c, x, D) => {
4331
+ }, Er = () => {
4332
+ qi(b);
4333
+ }, xr = (c, x, O) => {
4284
4334
  if (h == "secondaryMenu" && n && i && b && c.id) {
4285
- let z = new URL(`${n}/v1/casino/groups/${i}/${c.id}/subGroups?language=${b}`);
4286
- fetch(z.href).then((V) => V.json()).then((V) => {
4287
- V.index = x, r(10, ve = ve.concat(V)), w == "false" && window.postMessage(
4335
+ let Z = new URL(`${n}/v1/casino/groups/${i}/${c.id}/subGroups?language=${b}`);
4336
+ fetch(Z.href).then((V) => V.json()).then((V) => {
4337
+ V.index = x, r(10, xe = xe.concat(V)), C == "false" && window.postMessage(
4288
4338
  {
4289
4339
  type: o,
4290
4340
  itemId: c.id,
@@ -4293,87 +4343,94 @@ function Xi(e, t, r) {
4293
4343
  },
4294
4344
  window.location.href
4295
4345
  );
4296
- const Ee = [];
4297
- ve.map((Hr) => (Hr.items.forEach((ut) => {
4298
- Ee.find((Sr) => ut.id == Sr) || Ee.push(ut.id);
4299
- }), Ee.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: Ee }, window.location.href);
4346
+ const we = [];
4347
+ xe.map((Nr) => (Nr.items.forEach((ft) => {
4348
+ we.find((Pr) => ft.id == Pr) || we.push(ft.id);
4349
+ }), we.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: we }, window.location.href);
4300
4350
  }).then(() => {
4301
- C.querySelectorAll(".DropDown") && _e();
4351
+ T.querySelectorAll(".DropDown") && Ce();
4302
4352
  });
4303
4353
  }
4304
4354
  h == "headerMain" && window.postMessage({ type: o, item: c }, window.location.href);
4305
- }, _e = () => {
4306
- const c = C.querySelectorAll(".DropDown");
4355
+ }, Ce = () => {
4356
+ const c = T.querySelectorAll(".DropDown");
4307
4357
  document.activeElement.blur(), M.classList.add("isScrolling");
4308
4358
  for (let x = 0; x < c.length; x++)
4309
4359
  c[x].style.transform = "translateX(-" + M.scrollLeft + "px)";
4310
4360
  M.classList.remove("isScrolling");
4311
- }, gr = () => {
4312
- he.forEach((c, x) => {
4313
- c?.subGroups?.count > 0 && (r(11, J[x] = !0, J), pr(c, x));
4361
+ }, Cr = () => {
4362
+ me.forEach((c, x) => {
4363
+ c?.subGroups?.count > 0 && (r(11, K[x] = !0, K), xr(c, x));
4314
4364
  });
4315
- }, br = (c) => {
4365
+ }, wr = (c) => {
4316
4366
  let x = "";
4317
- return c.id === "LOBBY" ? x = H : c.id === "MYGAMES" && (x = R), c.icon || x;
4367
+ return c.id === "LOBBY" ? x = w : c.id === "MYGAMES" && (x = U), c.icon || x;
4318
4368
  };
4319
- Fr(() => (window.addEventListener("message", lt, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4369
+ Xr(() => (window.addEventListener("message", ct, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4320
4370
  () => {
4321
- M.addEventListener("scroll", _e);
4371
+ M.addEventListener("scroll", Ce);
4322
4372
  },
4323
4373
  500
4324
4374
  ), window.postMessage({ type: "SliderLoaded", identity: m }), () => {
4325
- window.removeEventListener("message", lt), C.removeEventListener("scroll", _e);
4375
+ window.removeEventListener("message", ct), T.removeEventListener("scroll", Ce);
4326
4376
  }));
4327
- const yr = () => st(), vr = (c, x, D, z, V) => {
4328
- Oe(c, x, D, z, "secondary"), V.stopPropagation();
4329
- }, _r = (c, x, D) => {
4330
- Oe(c, x, null, null, "main"), D.preventDefault();
4377
+ function Hr(c) {
4378
+ Wr.call(this, e, c);
4379
+ }
4380
+ const Sr = () => ut(), Tr = (c, x, O, Z, V) => {
4381
+ De(c, x, O, Z, "secondary"), V.stopPropagation();
4382
+ }, Ar = (c, x, O) => {
4383
+ De(c, x, null, null, "main"), O.preventDefault();
4331
4384
  };
4332
- function Er(c) {
4333
- me[c ? "unshift" : "push"](() => {
4334
- C = c, r(5, C);
4385
+ function Br(c) {
4386
+ ge[c ? "unshift" : "push"](() => {
4387
+ T = c, r(5, T);
4335
4388
  });
4336
4389
  }
4337
- function xr(c) {
4338
- me[c ? "unshift" : "push"](() => {
4390
+ function Ir(c) {
4391
+ ge[c ? "unshift" : "push"](() => {
4339
4392
  M = c, r(12, M);
4340
4393
  });
4341
4394
  }
4342
- const Cr = () => at();
4343
- function wr(c) {
4344
- me[c ? "unshift" : "push"](() => {
4395
+ const Mr = () => ht();
4396
+ function Lr(c) {
4397
+ ge[c ? "unshift" : "push"](() => {
4345
4398
  $ = c, r(4, $);
4346
4399
  });
4347
4400
  }
4348
4401
  return e.$$set = (c) => {
4349
- "endpoint" in c && r(17, n = c.endpoint), "datasource" in c && r(18, i = c.datasource), "onclickeventname" in c && r(19, s = c.onclickeventname), "actionevent" in c && r(20, o = c.actionevent), "favoritesnumber" in c && r(21, a = c.favoritesnumber), "location" in c && r(0, h = c.location), "clientstyling" in c && r(22, l = c.clientstyling), "clientstylingurl" in c && r(23, u = c.clientstylingurl), "identity" in c && r(24, m = c.identity), "translationurl" in c && r(25, f = c.translationurl), "isprimarymenu" in c && r(26, p = c.isprimarymenu), "issecondarymenu" in c && r(27, g = c.issecondarymenu), "lang" in c && r(28, b = c.lang), "activeindex" in c && r(1, d = c.activeindex), "showsubgroups" in c && r(2, w = c.showsubgroups), "categoriesicon" in c && r(3, E = c.categoriesicon), "lobbyiconimage" in c && r(29, H = c.lobbyiconimage), "mygamesiconimage" in c && r(30, R = c.mygamesiconimage), "mbsource" in c && r(31, P = c.mbsource);
4402
+ "endpoint" in c && r(21, n = c.endpoint), "datasource" in c && r(22, i = c.datasource), "onclickeventname" in c && r(23, s = c.onclickeventname), "actionevent" in c && r(24, o = c.actionevent), "favoritesnumber" in c && r(25, a = c.favoritesnumber), "location" in c && r(0, h = c.location), "clientstyling" in c && r(26, l = c.clientstyling), "clientstylingurl" in c && r(27, u = c.clientstylingurl), "identity" in c && r(28, m = c.identity), "translationurl" in c && r(29, f = c.translationurl), "isprimarymenu" in c && r(30, p = c.isprimarymenu), "issecondarymenu" in c && r(31, g = c.issecondarymenu), "lang" in c && r(32, b = c.lang), "activeindex" in c && r(1, d = c.activeindex), "showsubgroups" in c && r(2, C = c.showsubgroups), "categoriesicon" in c && r(3, E = c.categoriesicon), "lobbyiconimage" in c && r(33, w = c.lobbyiconimage), "mygamesiconimage" in c && r(34, U = c.mygamesiconimage), "mbsource" in c && r(35, N = c.mbsource);
4350
4403
  }, e.$$.update = () => {
4351
4404
  e.$$.dirty[0] & /*activeindex*/
4352
4405
  2, e.$$.dirty[0] & /*translationurl*/
4353
- 33554432 && f && k(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4354
- 4194320 && l && $ && Qr($, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4355
- 8388624 && u && $ && qr($, u), e.$$.dirty[0] & /*customStylingContainer*/
4406
+ 536870912 && f && _r(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4407
+ 67108880 && l && $ && sn($, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4408
+ 134217744 && u && $ && an($, u), e.$$.dirty[0] & /*customStylingContainer*/
4356
4409
  16 | e.$$.dirty[1] & /*mbsource*/
4357
- 1 && P && $ && Jr($, `${P}.Style`), e.$$.dirty[0] & /*lang*/
4358
- 268435456 && b && dr();
4410
+ 16 && N && $ && ln($, `${N}.Style`), e.$$.dirty[1] & /*lang*/
4411
+ 2 && b && Er();
4359
4412
  }, [
4360
4413
  h,
4361
4414
  d,
4362
- w,
4415
+ C,
4363
4416
  E,
4364
4417
  $,
4365
- C,
4366
- I,
4367
- L,
4368
- j,
4369
- he,
4370
- ve,
4371
- J,
4418
+ T,
4419
+ z,
4420
+ fe,
4421
+ Re,
4422
+ me,
4423
+ xe,
4424
+ K,
4372
4425
  M,
4373
- Oe,
4374
- st,
4375
- at,
4426
+ Y,
4376
4427
  br,
4428
+ yr,
4429
+ vr,
4430
+ De,
4431
+ ut,
4432
+ ht,
4433
+ wr,
4377
4434
  n,
4378
4435
  i,
4379
4436
  s,
@@ -4386,167 +4443,168 @@ function Xi(e, t, r) {
4386
4443
  p,
4387
4444
  g,
4388
4445
  b,
4389
- H,
4390
- R,
4391
- P,
4392
- yr,
4393
- vr,
4394
- _r,
4395
- Er,
4396
- xr,
4397
- Cr,
4398
- wr
4446
+ w,
4447
+ U,
4448
+ N,
4449
+ Hr,
4450
+ Sr,
4451
+ Tr,
4452
+ Ar,
4453
+ Br,
4454
+ Ir,
4455
+ Mr,
4456
+ Lr
4399
4457
  ];
4400
4458
  }
4401
- class Wi extends zr {
4459
+ class ro extends nn {
4402
4460
  constructor(t) {
4403
- super(), Xr(
4461
+ super(), tn(
4404
4462
  this,
4405
4463
  t,
4406
- Xi,
4407
- Vi,
4408
- Ut,
4464
+ to,
4465
+ eo,
4466
+ $t,
4409
4467
  {
4410
- endpoint: 17,
4411
- datasource: 18,
4412
- onclickeventname: 19,
4413
- actionevent: 20,
4414
- favoritesnumber: 21,
4468
+ endpoint: 21,
4469
+ datasource: 22,
4470
+ onclickeventname: 23,
4471
+ actionevent: 24,
4472
+ favoritesnumber: 25,
4415
4473
  location: 0,
4416
- clientstyling: 22,
4417
- clientstylingurl: 23,
4418
- identity: 24,
4419
- translationurl: 25,
4420
- isprimarymenu: 26,
4421
- issecondarymenu: 27,
4422
- lang: 28,
4474
+ clientstyling: 26,
4475
+ clientstylingurl: 27,
4476
+ identity: 28,
4477
+ translationurl: 29,
4478
+ isprimarymenu: 30,
4479
+ issecondarymenu: 31,
4480
+ lang: 32,
4423
4481
  activeindex: 1,
4424
4482
  showsubgroups: 2,
4425
4483
  categoriesicon: 3,
4426
- lobbyiconimage: 29,
4427
- mygamesiconimage: 30,
4428
- mbsource: 31
4484
+ lobbyiconimage: 33,
4485
+ mygamesiconimage: 34,
4486
+ mbsource: 35
4429
4487
  },
4430
- ki,
4431
- [-1, -1]
4488
+ Ji,
4489
+ [-1, -1, -1]
4432
4490
  );
4433
4491
  }
4434
4492
  get endpoint() {
4435
- return this.$$.ctx[17];
4493
+ return this.$$.ctx[21];
4436
4494
  }
4437
4495
  set endpoint(t) {
4438
- this.$$set({ endpoint: t }), A();
4496
+ this.$$set({ endpoint: t }), B();
4439
4497
  }
4440
4498
  get datasource() {
4441
- return this.$$.ctx[18];
4499
+ return this.$$.ctx[22];
4442
4500
  }
4443
4501
  set datasource(t) {
4444
- this.$$set({ datasource: t }), A();
4502
+ this.$$set({ datasource: t }), B();
4445
4503
  }
4446
4504
  get onclickeventname() {
4447
- return this.$$.ctx[19];
4505
+ return this.$$.ctx[23];
4448
4506
  }
4449
4507
  set onclickeventname(t) {
4450
- this.$$set({ onclickeventname: t }), A();
4508
+ this.$$set({ onclickeventname: t }), B();
4451
4509
  }
4452
4510
  get actionevent() {
4453
- return this.$$.ctx[20];
4511
+ return this.$$.ctx[24];
4454
4512
  }
4455
4513
  set actionevent(t) {
4456
- this.$$set({ actionevent: t }), A();
4514
+ this.$$set({ actionevent: t }), B();
4457
4515
  }
4458
4516
  get favoritesnumber() {
4459
- return this.$$.ctx[21];
4517
+ return this.$$.ctx[25];
4460
4518
  }
4461
4519
  set favoritesnumber(t) {
4462
- this.$$set({ favoritesnumber: t }), A();
4520
+ this.$$set({ favoritesnumber: t }), B();
4463
4521
  }
4464
4522
  get location() {
4465
4523
  return this.$$.ctx[0];
4466
4524
  }
4467
4525
  set location(t) {
4468
- this.$$set({ location: t }), A();
4526
+ this.$$set({ location: t }), B();
4469
4527
  }
4470
4528
  get clientstyling() {
4471
- return this.$$.ctx[22];
4529
+ return this.$$.ctx[26];
4472
4530
  }
4473
4531
  set clientstyling(t) {
4474
- this.$$set({ clientstyling: t }), A();
4532
+ this.$$set({ clientstyling: t }), B();
4475
4533
  }
4476
4534
  get clientstylingurl() {
4477
- return this.$$.ctx[23];
4535
+ return this.$$.ctx[27];
4478
4536
  }
4479
4537
  set clientstylingurl(t) {
4480
- this.$$set({ clientstylingurl: t }), A();
4538
+ this.$$set({ clientstylingurl: t }), B();
4481
4539
  }
4482
4540
  get identity() {
4483
- return this.$$.ctx[24];
4541
+ return this.$$.ctx[28];
4484
4542
  }
4485
4543
  set identity(t) {
4486
- this.$$set({ identity: t }), A();
4544
+ this.$$set({ identity: t }), B();
4487
4545
  }
4488
4546
  get translationurl() {
4489
- return this.$$.ctx[25];
4547
+ return this.$$.ctx[29];
4490
4548
  }
4491
4549
  set translationurl(t) {
4492
- this.$$set({ translationurl: t }), A();
4550
+ this.$$set({ translationurl: t }), B();
4493
4551
  }
4494
4552
  get isprimarymenu() {
4495
- return this.$$.ctx[26];
4553
+ return this.$$.ctx[30];
4496
4554
  }
4497
4555
  set isprimarymenu(t) {
4498
- this.$$set({ isprimarymenu: t }), A();
4556
+ this.$$set({ isprimarymenu: t }), B();
4499
4557
  }
4500
4558
  get issecondarymenu() {
4501
- return this.$$.ctx[27];
4559
+ return this.$$.ctx[31];
4502
4560
  }
4503
4561
  set issecondarymenu(t) {
4504
- this.$$set({ issecondarymenu: t }), A();
4562
+ this.$$set({ issecondarymenu: t }), B();
4505
4563
  }
4506
4564
  get lang() {
4507
- return this.$$.ctx[28];
4565
+ return this.$$.ctx[32];
4508
4566
  }
4509
4567
  set lang(t) {
4510
- this.$$set({ lang: t }), A();
4568
+ this.$$set({ lang: t }), B();
4511
4569
  }
4512
4570
  get activeindex() {
4513
4571
  return this.$$.ctx[1];
4514
4572
  }
4515
4573
  set activeindex(t) {
4516
- this.$$set({ activeindex: t }), A();
4574
+ this.$$set({ activeindex: t }), B();
4517
4575
  }
4518
4576
  get showsubgroups() {
4519
4577
  return this.$$.ctx[2];
4520
4578
  }
4521
4579
  set showsubgroups(t) {
4522
- this.$$set({ showsubgroups: t }), A();
4580
+ this.$$set({ showsubgroups: t }), B();
4523
4581
  }
4524
4582
  get categoriesicon() {
4525
4583
  return this.$$.ctx[3];
4526
4584
  }
4527
4585
  set categoriesicon(t) {
4528
- this.$$set({ categoriesicon: t }), A();
4586
+ this.$$set({ categoriesicon: t }), B();
4529
4587
  }
4530
4588
  get lobbyiconimage() {
4531
- return this.$$.ctx[29];
4589
+ return this.$$.ctx[33];
4532
4590
  }
4533
4591
  set lobbyiconimage(t) {
4534
- this.$$set({ lobbyiconimage: t }), A();
4592
+ this.$$set({ lobbyiconimage: t }), B();
4535
4593
  }
4536
4594
  get mygamesiconimage() {
4537
- return this.$$.ctx[30];
4595
+ return this.$$.ctx[34];
4538
4596
  }
4539
4597
  set mygamesiconimage(t) {
4540
- this.$$set({ mygamesiconimage: t }), A();
4598
+ this.$$set({ mygamesiconimage: t }), B();
4541
4599
  }
4542
4600
  get mbsource() {
4543
- return this.$$.ctx[31];
4601
+ return this.$$.ctx[35];
4544
4602
  }
4545
4603
  set mbsource(t) {
4546
- this.$$set({ mbsource: t }), A();
4604
+ this.$$set({ mbsource: t }), B();
4547
4605
  }
4548
4606
  }
4549
- Wr(Wi, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4607
+ rn(ro, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4550
4608
  export {
4551
- Wi as C
4609
+ ro as C
4552
4610
  };