@everymatrix/casino-slider 1.59.3 → 1.60.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var Mr = Object.defineProperty, Nr = Object.defineProperties;
2
- var Pr = Object.getOwnPropertyDescriptors;
3
- var ht = Object.getOwnPropertySymbols;
4
- var Lr = Object.prototype.hasOwnProperty, Or = Object.prototype.propertyIsEnumerable;
5
- var Re = (e, t, r) => t in e ? Mr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
1
+ var Lr = Object.defineProperty, Pr = Object.defineProperties;
2
+ var Or = Object.getOwnPropertyDescriptors;
3
+ var ft = Object.getOwnPropertySymbols;
4
+ var Fr = Object.prototype.hasOwnProperty, Rr = Object.prototype.propertyIsEnumerable;
5
+ var Re = (e, t, r) => t in e ? Lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Lr.call(t, r) && Re(e, r, t[r]);
8
- if (ht)
9
- for (var r of ht(t))
10
- Or.call(t, r) && Re(e, r, t[r]);
7
+ Fr.call(t, r) && Re(e, r, t[r]);
8
+ if (ft)
9
+ for (var r of ft(t))
10
+ Rr.call(t, r) && Re(e, r, t[r]);
11
11
  return e;
12
- }, ft = (e, t) => Nr(e, Pr(t));
13
- var D = (e, t, r) => (Re(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var mt = (e, t, r) => new Promise((n, i) => {
12
+ }, dt = (e, t) => Pr(e, Or(t));
13
+ var U = (e, t, r) => (Re(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var pt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (u) => {
16
16
  try {
17
17
  a(r.next(u));
@@ -27,35 +27,35 @@ var mt = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- function G() {
30
+ function k() {
31
31
  }
32
- function $t(e) {
32
+ function Vt(e) {
33
33
  return e();
34
34
  }
35
- function dt() {
35
+ function gt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function J(e) {
39
- e.forEach($t);
39
+ e.forEach(Vt);
40
40
  }
41
41
  function rt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function jt(e, t) {
44
+ function Xt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let Ce;
48
- function pt(e, t) {
48
+ function bt(e, t) {
49
49
  return e === t ? !0 : (Ce || (Ce = document.createElement("a")), Ce.href = t, e === Ce.href);
50
50
  }
51
- function Fr(e) {
51
+ function Dr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Rr(e, ...t) {
54
+ function Ur(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
58
- return G;
58
+ return k;
59
59
  }
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
@@ -63,14 +63,14 @@ function Rr(e, ...t) {
63
63
  function B(e, t) {
64
64
  e.appendChild(t);
65
65
  }
66
- function Dr(e, t, r) {
67
- const n = Ur(e);
66
+ function Gr(e, t, r) {
67
+ const n = kr(e);
68
68
  if (!n.getElementById(t)) {
69
- const i = M("style");
70
- i.id = t, i.textContent = r, Gr(n, i);
69
+ const i = L("style");
70
+ i.id = t, i.textContent = r, $r(n, i);
71
71
  }
72
72
  }
73
- function Ur(e) {
73
+ function kr(e) {
74
74
  if (!e)
75
75
  return document;
76
76
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -80,34 +80,34 @@ function Ur(e) {
80
80
  t
81
81
  ) : e.ownerDocument;
82
82
  }
83
- function Gr(e, t) {
83
+ function $r(e, t) {
84
84
  return B(
85
85
  /** @type {Document} */
86
86
  e.head || e,
87
87
  t
88
88
  ), t.sheet;
89
89
  }
90
- function U(e, t, r) {
90
+ function G(e, t, r) {
91
91
  e.insertBefore(t, r || null);
92
92
  }
93
- function R(e) {
93
+ function D(e) {
94
94
  e.parentNode && e.parentNode.removeChild(e);
95
95
  }
96
- function kr(e, t) {
96
+ function jr(e, t) {
97
97
  for (let r = 0; r < e.length; r += 1)
98
98
  e[r] && e[r].d(t);
99
99
  }
100
- function M(e) {
100
+ function L(e) {
101
101
  return document.createElement(e);
102
102
  }
103
- function ve(e) {
103
+ function _e(e) {
104
104
  return document.createTextNode(e);
105
105
  }
106
106
  function q() {
107
- return ve(" ");
107
+ return _e(" ");
108
108
  }
109
- function pe() {
110
- return ve("");
109
+ function ge() {
110
+ return _e("");
111
111
  }
112
112
  function Ae(e, t, r, n) {
113
113
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
@@ -115,14 +115,14 @@ function Ae(e, t, r, n) {
115
115
  function S(e, t, r) {
116
116
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
117
117
  }
118
- function $r(e) {
118
+ function Vr(e) {
119
119
  return Array.from(e.childNodes);
120
120
  }
121
121
  function nt(e, t) {
122
122
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
123
123
  t);
124
124
  }
125
- function jr(e) {
125
+ function Xr(e) {
126
126
  const t = {};
127
127
  return e.childNodes.forEach(
128
128
  /** @param {Element} node */
@@ -131,128 +131,128 @@ function jr(e) {
131
131
  }
132
132
  ), t;
133
133
  }
134
- let ge;
135
- function me(e) {
136
- ge = e;
134
+ let be;
135
+ function de(e) {
136
+ be = e;
137
137
  }
138
- function Vr() {
139
- if (!ge)
138
+ function Wr() {
139
+ if (!be)
140
140
  throw new Error("Function called outside component initialization");
141
- return ge;
141
+ return be;
142
142
  }
143
- function Xr(e) {
144
- Vr().$$.on_mount.push(e);
143
+ function zr(e) {
144
+ Wr().$$.on_mount.push(e);
145
145
  }
146
- const te = [], de = [];
147
- let re = [];
148
- const gt = [], Wr = /* @__PURE__ */ Promise.resolve();
146
+ const re = [], pe = [];
147
+ let ne = [];
148
+ const yt = [], Zr = /* @__PURE__ */ Promise.resolve();
149
149
  let Xe = !1;
150
- function zr() {
151
- Xe || (Xe = !0, Wr.then(A));
150
+ function Qr() {
151
+ Xe || (Xe = !0, Zr.then(A));
152
152
  }
153
153
  function We(e) {
154
- re.push(e);
154
+ ne.push(e);
155
155
  }
156
156
  const De = /* @__PURE__ */ new Set();
157
- let K = 0;
157
+ let ee = 0;
158
158
  function A() {
159
- if (K !== 0)
159
+ if (ee !== 0)
160
160
  return;
161
- const e = ge;
161
+ const e = be;
162
162
  do {
163
163
  try {
164
- for (; K < te.length; ) {
165
- const t = te[K];
166
- K++, me(t), Zr(t.$$);
164
+ for (; ee < re.length; ) {
165
+ const t = re[ee];
166
+ ee++, de(t), qr(t.$$);
167
167
  }
168
168
  } catch (t) {
169
- throw te.length = 0, K = 0, t;
169
+ throw re.length = 0, ee = 0, t;
170
170
  }
171
- for (me(null), te.length = 0, K = 0; de.length; )
172
- de.pop()();
173
- for (let t = 0; t < re.length; t += 1) {
174
- const r = re[t];
171
+ for (de(null), re.length = 0, ee = 0; pe.length; )
172
+ pe.pop()();
173
+ for (let t = 0; t < ne.length; t += 1) {
174
+ const r = ne[t];
175
175
  De.has(r) || (De.add(r), r());
176
176
  }
177
- re.length = 0;
178
- } while (te.length);
179
- for (; gt.length; )
180
- gt.pop()();
181
- Xe = !1, De.clear(), me(e);
177
+ ne.length = 0;
178
+ } while (re.length);
179
+ for (; yt.length; )
180
+ yt.pop()();
181
+ Xe = !1, De.clear(), de(e);
182
182
  }
183
- function Zr(e) {
183
+ function qr(e) {
184
184
  if (e.fragment !== null) {
185
185
  e.update(), J(e.before_update);
186
186
  const t = e.dirty;
187
187
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
188
188
  }
189
189
  }
190
- function Qr(e) {
190
+ function Jr(e) {
191
191
  const t = [], r = [];
192
- re.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), re = t;
192
+ ne.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ne = t;
193
193
  }
194
- const qr = /* @__PURE__ */ new Set();
195
- function Vt(e, t) {
196
- e && e.i && (qr.delete(e), e.i(t));
194
+ const Yr = /* @__PURE__ */ new Set();
195
+ function Wt(e, t) {
196
+ e && e.i && (Yr.delete(e), e.i(t));
197
197
  }
198
- function ne(e) {
198
+ function ie(e) {
199
199
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
200
200
  }
201
- function Xt(e, t) {
201
+ function zt(e, t) {
202
202
  e.d(1), t.delete(e.key);
203
203
  }
204
- function Wt(e, t, r, n, i, o, s, a, u, l, h, m) {
204
+ function Zt(e, t, r, n, i, o, s, a, u, l, h, m) {
205
205
  let f = e.length, p = o.length, g = f;
206
206
  const b = {};
207
207
  for (; g--; )
208
208
  b[e[g].key] = g;
209
209
  const d = [], H = /* @__PURE__ */ new Map(), _ = /* @__PURE__ */ new Map(), x = [];
210
210
  for (g = p; g--; ) {
211
- const w = m(i, o, g), N = r(w);
212
- let P = s.get(N);
213
- P ? x.push(() => P.p(w, t)) : (P = l(N, w), P.c()), H.set(N, d[g] = P), N in b && _.set(N, Math.abs(g - b[N]));
211
+ const w = m(i, o, g), M = r(w);
212
+ let P = s.get(M);
213
+ P ? x.push(() => P.p(w, t)) : (P = l(M, w), P.c()), H.set(M, d[g] = P), M in b && _.set(M, Math.abs(g - b[M]));
214
214
  }
215
- const L = /* @__PURE__ */ new Set(), I = /* @__PURE__ */ new Set();
216
- function k(w) {
217
- Vt(w, 1), w.m(a, h), s.set(w.key, w), h = w.first, p--;
215
+ const O = /* @__PURE__ */ new Set(), I = /* @__PURE__ */ new Set();
216
+ function $(w) {
217
+ Wt(w, 1), w.m(a, h), s.set(w.key, w), h = w.first, p--;
218
218
  }
219
219
  for (; f && p; ) {
220
- const w = d[p - 1], N = e[f - 1], P = w.key, V = N.key;
221
- w === N ? (h = w.first, f--, p--) : H.has(V) ? !s.has(P) || L.has(P) ? k(w) : I.has(V) ? f-- : _.get(P) > _.get(V) ? (I.add(P), k(w)) : (L.add(V), f--) : (u(N, s), f--);
220
+ const w = d[p - 1], M = e[f - 1], P = w.key, V = M.key;
221
+ w === M ? (h = w.first, f--, p--) : H.has(V) ? !s.has(P) || O.has(P) ? $(w) : I.has(V) ? f-- : _.get(P) > _.get(V) ? (I.add(P), $(w)) : (O.add(V), f--) : (u(M, s), f--);
222
222
  }
223
223
  for (; f--; ) {
224
224
  const w = e[f];
225
225
  H.has(w.key) || u(w, s);
226
226
  }
227
227
  for (; p; )
228
- k(d[p - 1]);
228
+ $(d[p - 1]);
229
229
  return J(x), d;
230
230
  }
231
- function Jr(e, t, r) {
231
+ function Kr(e, t, r) {
232
232
  const { fragment: n, after_update: i } = e.$$;
233
233
  n && n.m(t, r), We(() => {
234
- const o = e.$$.on_mount.map($t).filter(rt);
234
+ const o = e.$$.on_mount.map(Vt).filter(rt);
235
235
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : J(o), e.$$.on_mount = [];
236
236
  }), i.forEach(We);
237
237
  }
238
- function Yr(e, t) {
238
+ function en(e, t) {
239
239
  const r = e.$$;
240
- r.fragment !== null && (Qr(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
240
+ r.fragment !== null && (Jr(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
241
241
  }
242
- function Kr(e, t) {
243
- e.$$.dirty[0] === -1 && (te.push(e), zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
242
+ function tn(e, t) {
243
+ e.$$.dirty[0] === -1 && (re.push(e), Qr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
244
244
  }
245
- function en(e, t, r, n, i, o, s = null, a = [-1]) {
246
- const u = ge;
247
- me(e);
245
+ function rn(e, t, r, n, i, o, s = null, a = [-1]) {
246
+ const u = be;
247
+ de(e);
248
248
  const l = e.$$ = {
249
249
  fragment: null,
250
250
  ctx: [],
251
251
  // state
252
252
  props: o,
253
- update: G,
253
+ update: k,
254
254
  not_equal: i,
255
- bound: dt(),
255
+ bound: gt(),
256
256
  // lifecycle
257
257
  on_mount: [],
258
258
  on_destroy: [],
@@ -261,7 +261,7 @@ function en(e, t, r, n, i, o, s = null, a = [-1]) {
261
261
  after_update: [],
262
262
  context: new Map(t.context || (u ? u.$$.context : [])),
263
263
  // everything else
264
- callbacks: dt(),
264
+ callbacks: gt(),
265
265
  dirty: a,
266
266
  skip_bound: !1,
267
267
  root: t.target || u.$$.root
@@ -270,39 +270,39 @@ function en(e, t, r, n, i, o, s = null, a = [-1]) {
270
270
  let h = !1;
271
271
  if (l.ctx = r ? r(e, t.props || {}, (m, f, ...p) => {
272
272
  const g = p.length ? p[0] : f;
273
- return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), h && Kr(e, m)), f;
273
+ return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), h && tn(e, m)), f;
274
274
  }) : [], l.update(), h = !0, J(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
275
275
  if (t.hydrate) {
276
- const m = $r(t.target);
277
- l.fragment && l.fragment.l(m), m.forEach(R);
276
+ const m = Vr(t.target);
277
+ l.fragment && l.fragment.l(m), m.forEach(D);
278
278
  } else
279
279
  l.fragment && l.fragment.c();
280
- t.intro && Vt(e.$$.fragment), Jr(e, t.target, t.anchor), A();
280
+ t.intro && Wt(e.$$.fragment), Kr(e, t.target, t.anchor), A();
281
281
  }
282
- me(u);
282
+ de(u);
283
283
  }
284
- let zt;
285
- typeof HTMLElement == "function" && (zt = class extends HTMLElement {
284
+ let Qt;
285
+ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
286
286
  constructor(t, r, n) {
287
287
  super();
288
288
  /** The Svelte component constructor */
289
- D(this, "$$ctor");
289
+ U(this, "$$ctor");
290
290
  /** Slots */
291
- D(this, "$$s");
291
+ U(this, "$$s");
292
292
  /** The Svelte component instance */
293
- D(this, "$$c");
293
+ U(this, "$$c");
294
294
  /** Whether or not the custom element is connected */
295
- D(this, "$$cn", !1);
295
+ U(this, "$$cn", !1);
296
296
  /** Component props data */
297
- D(this, "$$d", {});
297
+ U(this, "$$d", {});
298
298
  /** `true` if currently in the process of reflecting component props back to attributes */
299
- D(this, "$$r", !1);
299
+ U(this, "$$r", !1);
300
300
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
301
- D(this, "$$p_d", {});
301
+ U(this, "$$p_d", {});
302
302
  /** @type {Record<string, Function[]>} Event listeners */
303
- D(this, "$$l", {});
303
+ U(this, "$$l", {});
304
304
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
305
- D(this, "$$l_u", /* @__PURE__ */ new Map());
305
+ U(this, "$$l_u", /* @__PURE__ */ new Map());
306
306
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
307
307
  }
308
308
  addEventListener(t, r, n) {
@@ -319,31 +319,31 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
319
319
  }
320
320
  }
321
321
  connectedCallback() {
322
- return mt(this, null, function* () {
322
+ return pt(this, null, function* () {
323
323
  if (this.$$cn = !0, !this.$$c) {
324
324
  let t = function(o) {
325
325
  return () => {
326
326
  let s;
327
327
  return {
328
328
  c: function() {
329
- s = M("slot"), o !== "default" && S(s, "name", o);
329
+ s = L("slot"), o !== "default" && S(s, "name", o);
330
330
  },
331
331
  /**
332
332
  * @param {HTMLElement} target
333
333
  * @param {HTMLElement} [anchor]
334
334
  */
335
335
  m: function(l, h) {
336
- U(l, s, h);
336
+ G(l, s, h);
337
337
  },
338
338
  d: function(l) {
339
- l && R(s);
339
+ l && D(s);
340
340
  }
341
341
  };
342
342
  };
343
343
  };
344
344
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
345
345
  return;
346
- const r = {}, n = jr(this);
346
+ const r = {}, n = Xr(this);
347
347
  for (const o of this.$$s)
348
348
  o in n && (r[o] = [t(o)]);
349
349
  for (const o of this.attributes) {
@@ -354,7 +354,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
354
354
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
355
355
  this.$$c = new this.$$ctor({
356
356
  target: this.shadowRoot || this,
357
- props: ft(ct({}, this.$$d), {
357
+ props: dt(mt({}, this.$$d), {
358
358
  $$slots: r,
359
359
  $$scope: {
360
360
  ctx: []
@@ -432,8 +432,8 @@ function He(e, t, r, n) {
432
432
  return t;
433
433
  }
434
434
  }
435
- function tn(e, t, r, n, i, o) {
436
- let s = class extends zt {
435
+ function nn(e, t, r, n, i, o) {
436
+ let s = class extends Qt {
437
437
  constructor() {
438
438
  super(e, r, i), this.$$p_d = t;
439
439
  }
@@ -463,7 +463,7 @@ function tn(e, t, r, n, i, o) {
463
463
  }), e.element = /** @type {any} */
464
464
  s, s;
465
465
  }
466
- class rn {
466
+ class on {
467
467
  constructor() {
468
468
  /**
469
469
  * ### PRIVATE API
@@ -472,7 +472,7 @@ class rn {
472
472
  *
473
473
  * @type {any}
474
474
  */
475
- D(this, "$$");
475
+ U(this, "$$");
476
476
  /**
477
477
  * ### PRIVATE API
478
478
  *
@@ -480,11 +480,11 @@ class rn {
480
480
  *
481
481
  * @type {any}
482
482
  */
483
- D(this, "$$set");
483
+ U(this, "$$set");
484
484
  }
485
485
  /** @returns {void} */
486
486
  $destroy() {
487
- Yr(this, 1), this.$destroy = G;
487
+ en(this, 1), this.$destroy = k;
488
488
  }
489
489
  /**
490
490
  * @template {Extract<keyof Events, string>} K
@@ -494,7 +494,7 @@ class rn {
494
494
  */
495
495
  $on(t, r) {
496
496
  if (!rt(r))
497
- return G;
497
+ return k;
498
498
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
499
499
  return n.push(r), () => {
500
500
  const i = n.indexOf(r);
@@ -506,18 +506,18 @@ class rn {
506
506
  * @returns {void}
507
507
  */
508
508
  $set(t) {
509
- this.$$set && !Fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
509
+ this.$$set && !Dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
510
510
  }
511
511
  }
512
- const nn = "4";
513
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(nn);
514
- function on(e, t) {
512
+ const sn = "4";
513
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(sn);
514
+ function an(e, t) {
515
515
  if (e) {
516
516
  const r = document.createElement("style");
517
517
  r.innerHTML = t, e.appendChild(r);
518
518
  }
519
519
  }
520
- function sn(e, t) {
520
+ function ln(e, t) {
521
521
  const r = new URL(t);
522
522
  fetch(r.href).then((n) => n.text()).then((n) => {
523
523
  const i = document.createElement("style");
@@ -526,7 +526,7 @@ function sn(e, t) {
526
526
  console.error("There was an error while trying to load client styling from URL", n);
527
527
  });
528
528
  }
529
- function an(e, t, r) {
529
+ function un(e, t, r) {
530
530
  if (window.emMessageBus) {
531
531
  const n = document.createElement("style");
532
532
  window.emMessageBus.subscribe(t, (i) => {
@@ -534,55 +534,55 @@ function an(e, t, r) {
534
534
  });
535
535
  }
536
536
  }
537
- const ee = [];
538
- function ln(e, t) {
537
+ const te = [];
538
+ function hn(e, t) {
539
539
  return {
540
540
  subscribe: Me(e, t).subscribe
541
541
  };
542
542
  }
543
- function Me(e, t = G) {
543
+ function Me(e, t = k) {
544
544
  let r;
545
545
  const n = /* @__PURE__ */ new Set();
546
546
  function i(a) {
547
- if (jt(e, a) && (e = a, r)) {
548
- const u = !ee.length;
547
+ if (Xt(e, a) && (e = a, r)) {
548
+ const u = !te.length;
549
549
  for (const l of n)
550
- l[1](), ee.push(l, e);
550
+ l[1](), te.push(l, e);
551
551
  if (u) {
552
- for (let l = 0; l < ee.length; l += 2)
553
- ee[l][0](ee[l + 1]);
554
- ee.length = 0;
552
+ for (let l = 0; l < te.length; l += 2)
553
+ te[l][0](te[l + 1]);
554
+ te.length = 0;
555
555
  }
556
556
  }
557
557
  }
558
558
  function o(a) {
559
559
  i(a(e));
560
560
  }
561
- function s(a, u = G) {
561
+ function s(a, u = k) {
562
562
  const l = [a, u];
563
- return n.add(l), n.size === 1 && (r = t(i, o) || G), a(e), () => {
563
+ return n.add(l), n.size === 1 && (r = t(i, o) || k), a(e), () => {
564
564
  n.delete(l), n.size === 0 && r && (r(), r = null);
565
565
  };
566
566
  }
567
567
  return { set: i, update: o, subscribe: s };
568
568
  }
569
- function le(e, t, r) {
569
+ function ue(e, t, r) {
570
570
  const n = !Array.isArray(e), i = n ? [e] : e;
571
571
  if (!i.every(Boolean))
572
572
  throw new Error("derived() expects stores as input, got a falsy value");
573
573
  const o = t.length < 2;
574
- return ln(r, (s, a) => {
574
+ return hn(r, (s, a) => {
575
575
  let u = !1;
576
576
  const l = [];
577
- let h = 0, m = G;
577
+ let h = 0, m = k;
578
578
  const f = () => {
579
579
  if (h)
580
580
  return;
581
581
  m();
582
582
  const g = t(n ? l[0] : l, s, a);
583
- o ? s(g) : m = rt(g) ? g : G;
583
+ o ? s(g) : m = rt(g) ? g : k;
584
584
  }, p = i.map(
585
- (g, b) => Rr(
585
+ (g, b) => Ur(
586
586
  g,
587
587
  (d) => {
588
588
  l[b] = d, h &= ~(1 << b), u && f();
@@ -597,80 +597,80 @@ function le(e, t, r) {
597
597
  };
598
598
  });
599
599
  }
600
- function un(e) {
600
+ function cn(e) {
601
601
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
602
602
  }
603
- var hn = function(t) {
604
- return cn(t) && !fn(t);
603
+ var fn = function(t) {
604
+ return mn(t) && !dn(t);
605
605
  };
606
- function cn(e) {
606
+ function mn(e) {
607
607
  return !!e && typeof e == "object";
608
608
  }
609
- function fn(e) {
609
+ function dn(e) {
610
610
  var t = Object.prototype.toString.call(e);
611
- return t === "[object RegExp]" || t === "[object Date]" || pn(e);
611
+ return t === "[object RegExp]" || t === "[object Date]" || bn(e);
612
612
  }
613
- var mn = typeof Symbol == "function" && Symbol.for, dn = mn ? Symbol.for("react.element") : 60103;
614
- function pn(e) {
615
- return e.$$typeof === dn;
613
+ var pn = typeof Symbol == "function" && Symbol.for, gn = pn ? Symbol.for("react.element") : 60103;
614
+ function bn(e) {
615
+ return e.$$typeof === gn;
616
616
  }
617
- function gn(e) {
617
+ function yn(e) {
618
618
  return Array.isArray(e) ? [] : {};
619
619
  }
620
- function be(e, t) {
621
- return t.clone !== !1 && t.isMergeableObject(e) ? ie(gn(e), e, t) : e;
620
+ function ye(e, t) {
621
+ return t.clone !== !1 && t.isMergeableObject(e) ? oe(yn(e), e, t) : e;
622
622
  }
623
- function bn(e, t, r) {
623
+ function vn(e, t, r) {
624
624
  return e.concat(t).map(function(n) {
625
- return be(n, r);
625
+ return ye(n, r);
626
626
  });
627
627
  }
628
- function yn(e, t) {
628
+ function _n(e, t) {
629
629
  if (!t.customMerge)
630
- return ie;
630
+ return oe;
631
631
  var r = t.customMerge(e);
632
- return typeof r == "function" ? r : ie;
632
+ return typeof r == "function" ? r : oe;
633
633
  }
634
- function vn(e) {
634
+ function En(e) {
635
635
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
636
636
  return Object.propertyIsEnumerable.call(e, t);
637
637
  }) : [];
638
638
  }
639
- function bt(e) {
640
- return Object.keys(e).concat(vn(e));
639
+ function vt(e) {
640
+ return Object.keys(e).concat(En(e));
641
641
  }
642
- function Zt(e, t) {
642
+ function qt(e, t) {
643
643
  try {
644
644
  return t in e;
645
645
  } catch (r) {
646
646
  return !1;
647
647
  }
648
648
  }
649
- function _n(e, t) {
650
- return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
649
+ function xn(e, t) {
650
+ return qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
651
651
  }
652
- function En(e, t, r) {
652
+ function Cn(e, t, r) {
653
653
  var n = {};
654
- return r.isMergeableObject(e) && bt(e).forEach(function(i) {
655
- n[i] = be(e[i], r);
656
- }), bt(t).forEach(function(i) {
657
- _n(e, i) || (Zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = yn(i, r)(e[i], t[i], r) : n[i] = be(t[i], r));
654
+ return r.isMergeableObject(e) && vt(e).forEach(function(i) {
655
+ n[i] = ye(e[i], r);
656
+ }), vt(t).forEach(function(i) {
657
+ xn(e, i) || (qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = _n(i, r)(e[i], t[i], r) : n[i] = ye(t[i], r));
658
658
  }), n;
659
659
  }
660
- function ie(e, t, r) {
661
- r = r || {}, r.arrayMerge = r.arrayMerge || bn, r.isMergeableObject = r.isMergeableObject || hn, r.cloneUnlessOtherwiseSpecified = be;
660
+ function oe(e, t, r) {
661
+ r = r || {}, r.arrayMerge = r.arrayMerge || vn, r.isMergeableObject = r.isMergeableObject || fn, r.cloneUnlessOtherwiseSpecified = ye;
662
662
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
663
- return o ? n ? r.arrayMerge(e, t, r) : En(e, t, r) : be(t, r);
663
+ return o ? n ? r.arrayMerge(e, t, r) : Cn(e, t, r) : ye(t, r);
664
664
  }
665
- ie.all = function(t, r) {
665
+ oe.all = function(t, r) {
666
666
  if (!Array.isArray(t))
667
667
  throw new Error("first argument should be an array");
668
668
  return t.reduce(function(n, i) {
669
- return ie(n, i, r);
669
+ return oe(n, i, r);
670
670
  }, {});
671
671
  };
672
- var xn = ie, Cn = xn;
673
- const wn = /* @__PURE__ */ un(Cn);
672
+ var wn = oe, Hn = wn;
673
+ const Sn = /* @__PURE__ */ cn(Hn);
674
674
  /*! *****************************************************************************
675
675
  Copyright (c) Microsoft Corporation.
676
676
 
@@ -712,7 +712,7 @@ var E = function() {
712
712
  return t;
713
713
  }, E.apply(this, arguments);
714
714
  };
715
- function Hn(e, t) {
715
+ function Tn(e, t) {
716
716
  var r = {};
717
717
  for (var n in e)
718
718
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -728,53 +728,55 @@ function Ue(e, t, r) {
728
728
  return e.concat(o || t);
729
729
  }
730
730
  function Ge(e, t) {
731
- var r = t && t.cache ? t.cache : Nn, n = t && t.serializer ? t.serializer : In, i = t && t.strategy ? t.strategy : An;
731
+ var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : Nn, i = t && t.strategy ? t.strategy : Bn;
732
732
  return i(e, {
733
733
  cache: r,
734
734
  serializer: n
735
735
  });
736
736
  }
737
- function Sn(e) {
737
+ function An(e) {
738
738
  return e == null || typeof e == "number" || typeof e == "boolean";
739
739
  }
740
- function Tn(e, t, r, n) {
741
- var i = Sn(n) ? n : r(n), o = t.get(i);
740
+ function Jt(e, t, r, n) {
741
+ var i = An(n) ? n : r(n), o = t.get(i);
742
742
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
743
743
  }
744
- function Qt(e, t, r) {
744
+ function Yt(e, t, r) {
745
745
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
746
746
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
747
747
  }
748
- function qt(e, t, r, n, i) {
748
+ function it(e, t, r, n, i) {
749
749
  return r.bind(t, e, n, i);
750
750
  }
751
- function An(e, t) {
752
- var r = e.length === 1 ? Tn : Qt;
753
- return qt(e, this, r, t.cache.create(), t.serializer);
754
- }
755
751
  function Bn(e, t) {
756
- return qt(e, this, Qt, t.cache.create(), t.serializer);
752
+ var r = e.length === 1 ? Jt : Yt;
753
+ return it(e, this, r, t.cache.create(), t.serializer);
754
+ }
755
+ function In(e, t) {
756
+ return it(e, this, Yt, t.cache.create(), t.serializer);
757
757
  }
758
- var In = function() {
758
+ function Mn(e, t) {
759
+ return it(e, this, Jt, t.cache.create(), t.serializer);
760
+ }
761
+ var Nn = function() {
759
762
  return JSON.stringify(arguments);
760
- }, Mn = (
761
- /** @class */
762
- function() {
763
- function e() {
764
- this.cache = /* @__PURE__ */ Object.create(null);
765
- }
766
- return e.prototype.get = function(t) {
767
- return this.cache[t];
768
- }, e.prototype.set = function(t, r) {
769
- this.cache[t] = r;
770
- }, e;
771
- }()
772
- ), Nn = {
763
+ };
764
+ function ot() {
765
+ this.cache = /* @__PURE__ */ Object.create(null);
766
+ }
767
+ ot.prototype.get = function(e) {
768
+ return this.cache[e];
769
+ };
770
+ ot.prototype.set = function(e, t) {
771
+ this.cache[e] = t;
772
+ };
773
+ var Ln = {
773
774
  create: function() {
774
- return new Mn();
775
+ return new ot();
775
776
  }
776
777
  }, ke = {
777
- variadic: Bn
778
+ variadic: In,
779
+ monadic: Mn
778
780
  }, y;
779
781
  (function(e) {
780
782
  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";
@@ -783,47 +785,47 @@ var T;
783
785
  (function(e) {
784
786
  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";
785
787
  })(T || (T = {}));
786
- var oe;
788
+ var se;
787
789
  (function(e) {
788
790
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
789
- })(oe || (oe = {}));
790
- function yt(e) {
791
+ })(se || (se = {}));
792
+ function _t(e) {
791
793
  return e.type === T.literal;
792
794
  }
793
795
  function Pn(e) {
794
796
  return e.type === T.argument;
795
797
  }
796
- function Jt(e) {
798
+ function Kt(e) {
797
799
  return e.type === T.number;
798
800
  }
799
- function Yt(e) {
801
+ function er(e) {
800
802
  return e.type === T.date;
801
803
  }
802
- function Kt(e) {
804
+ function tr(e) {
803
805
  return e.type === T.time;
804
806
  }
805
- function er(e) {
807
+ function rr(e) {
806
808
  return e.type === T.select;
807
809
  }
808
- function tr(e) {
810
+ function nr(e) {
809
811
  return e.type === T.plural;
810
812
  }
811
- function Ln(e) {
813
+ function On(e) {
812
814
  return e.type === T.pound;
813
815
  }
814
- function rr(e) {
816
+ function ir(e) {
815
817
  return e.type === T.tag;
816
818
  }
817
- function nr(e) {
818
- return !!(e && typeof e == "object" && e.type === oe.number);
819
+ function or(e) {
820
+ return !!(e && typeof e == "object" && e.type === se.number);
819
821
  }
820
822
  function Ze(e) {
821
- return !!(e && typeof e == "object" && e.type === oe.dateTime);
823
+ return !!(e && typeof e == "object" && e.type === se.dateTime);
822
824
  }
823
- var ir = /[ \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;
824
- function Fn(e) {
825
+ var sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Fn = /(?:[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;
826
+ function Rn(e) {
825
827
  var t = {};
826
- return e.replace(On, function(r) {
828
+ return e.replace(Fn, function(r) {
827
829
  var n = r.length;
828
830
  switch (r[0]) {
829
831
  case "G":
@@ -912,11 +914,11 @@ function Fn(e) {
912
914
  return "";
913
915
  }), t;
914
916
  }
915
- var Rn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
916
- function Dn(e) {
917
+ var Dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
918
+ function Un(e) {
917
919
  if (e.length === 0)
918
920
  throw new Error("Number skeleton cannot be empty");
919
- for (var t = e.split(Rn).filter(function(f) {
921
+ for (var t = e.split(Dn).filter(function(f) {
920
922
  return f.length > 0;
921
923
  }), r = [], n = 0, i = t; n < i.length; n++) {
922
924
  var o = i[n], s = o.split("/");
@@ -931,17 +933,17 @@ function Dn(e) {
931
933
  }
932
934
  return r;
933
935
  }
934
- function Un(e) {
936
+ function Gn(e) {
935
937
  return e.replace(/^(.*?)-/, "");
936
938
  }
937
- var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, Gn = /(\*)(0+)|(#+)(0+)|(0+)/g, sr = /^(0+)$/;
938
- function _t(e) {
939
+ var Et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ar = /^(@+)?(\+|#+)?[rs]?$/g, kn = /(\*)(0+)|(#+)(0+)|(0+)/g, lr = /^(0+)$/;
940
+ function xt(e) {
939
941
  var t = {};
940
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(or, function(r, n, i) {
942
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ar, function(r, n, i) {
941
943
  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)), "";
942
944
  }), t;
943
945
  }
944
- function ar(e) {
946
+ function ur(e) {
945
947
  switch (e) {
946
948
  case "sign-auto":
947
949
  return {
@@ -981,7 +983,7 @@ function ar(e) {
981
983
  };
982
984
  }
983
985
  }
984
- function kn(e) {
986
+ function $n(e) {
985
987
  var t;
986
988
  if (e[0] === "E" && e[1] === "E" ? (t = {
987
989
  notation: "engineering"
@@ -989,17 +991,17 @@ function kn(e) {
989
991
  notation: "scientific"
990
992
  }, e = e.slice(1)), t) {
991
993
  var r = e.slice(0, 2);
992
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sr.test(e))
994
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !lr.test(e))
993
995
  throw new Error("Malformed concise eng/scientific notation");
994
996
  t.minimumIntegerDigits = e.length;
995
997
  }
996
998
  return t;
997
999
  }
998
- function Et(e) {
999
- var t = {}, r = ar(e);
1000
+ function Ct(e) {
1001
+ var t = {}, r = ur(e);
1000
1002
  return r || t;
1001
1003
  }
1002
- function $n(e) {
1004
+ function jn(e) {
1003
1005
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1004
1006
  var i = n[r];
1005
1007
  switch (i.stem) {
@@ -1023,7 +1025,7 @@ function $n(e) {
1023
1025
  continue;
1024
1026
  case "measure-unit":
1025
1027
  case "unit":
1026
- t.style = "unit", t.unit = Un(i.options[0]);
1028
+ t.style = "unit", t.unit = Gn(i.options[0]);
1027
1029
  continue;
1028
1030
  case "compact-short":
1029
1031
  case "K":
@@ -1035,12 +1037,12 @@ function $n(e) {
1035
1037
  continue;
1036
1038
  case "scientific":
1037
1039
  t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1038
- return E(E({}, u), Et(l));
1040
+ return E(E({}, u), Ct(l));
1039
1041
  }, {}));
1040
1042
  continue;
1041
1043
  case "engineering":
1042
1044
  t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1043
- return E(E({}, u), Et(l));
1045
+ return E(E({}, u), Ct(l));
1044
1046
  }, {}));
1045
1047
  continue;
1046
1048
  case "notation-simple":
@@ -1085,7 +1087,7 @@ function $n(e) {
1085
1087
  case "integer-width":
1086
1088
  if (i.options.length > 1)
1087
1089
  throw new RangeError("integer-width stems only accept a single optional option");
1088
- i.options[0].replace(Gn, function(u, l, h, m, f, p) {
1090
+ i.options[0].replace(kn, function(u, l, h, m, f, p) {
1089
1091
  if (l)
1090
1092
  t.minimumIntegerDigits = h.length;
1091
1093
  else {
@@ -1098,27 +1100,27 @@ function $n(e) {
1098
1100
  });
1099
1101
  continue;
1100
1102
  }
1101
- if (sr.test(i.stem)) {
1103
+ if (lr.test(i.stem)) {
1102
1104
  t.minimumIntegerDigits = i.stem.length;
1103
1105
  continue;
1104
1106
  }
1105
- if (vt.test(i.stem)) {
1107
+ if (Et.test(i.stem)) {
1106
1108
  if (i.options.length > 1)
1107
1109
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1108
- i.stem.replace(vt, function(u, l, h, m, f, p) {
1110
+ i.stem.replace(Et, function(u, l, h, m, f, p) {
1109
1111
  return h === "*" ? 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), "";
1110
1112
  });
1111
1113
  var o = i.options[0];
1112
- o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), _t(o)));
1114
+ o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), xt(o)));
1113
1115
  continue;
1114
1116
  }
1115
- if (or.test(i.stem)) {
1116
- t = E(E({}, t), _t(i.stem));
1117
+ if (ar.test(i.stem)) {
1118
+ t = E(E({}, t), xt(i.stem));
1117
1119
  continue;
1118
1120
  }
1119
- var s = ar(i.stem);
1121
+ var s = ur(i.stem);
1120
1122
  s && (t = E(E({}, t), s));
1121
- var a = kn(i.stem);
1123
+ var a = $n(i.stem);
1122
1124
  a && (t = E(E({}, t), a));
1123
1125
  }
1124
1126
  return t;
@@ -2538,13 +2540,13 @@ var we = {
2538
2540
  "h"
2539
2541
  ]
2540
2542
  };
2541
- function jn(e, t) {
2543
+ function Vn(e, t) {
2542
2544
  for (var r = "", n = 0; n < e.length; n++) {
2543
2545
  var i = e.charAt(n);
2544
2546
  if (i === "j") {
2545
2547
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2546
2548
  o++, n++;
2547
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Vn(t);
2549
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Xn(t);
2548
2550
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2549
2551
  r += u;
2550
2552
  for (; s-- > 0; )
@@ -2554,7 +2556,7 @@ function jn(e, t) {
2554
2556
  }
2555
2557
  return r;
2556
2558
  }
2557
- function Vn(e) {
2559
+ function Xn(e) {
2558
2560
  var t = e.hourCycle;
2559
2561
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2560
2562
  e.hourCycles && // @ts-ignore
@@ -2576,20 +2578,20 @@ function Vn(e) {
2576
2578
  var i = we[n || ""] || we[r || ""] || we["".concat(r, "-001")] || we["001"];
2577
2579
  return i[0];
2578
2580
  }
2579
- var $e, Xn = new RegExp("^".concat(ir.source, "*")), Wn = new RegExp("".concat(ir.source, "*$"));
2581
+ var $e, Wn = new RegExp("^".concat(sr.source, "*")), zn = new RegExp("".concat(sr.source, "*$"));
2580
2582
  function v(e, t) {
2581
2583
  return { start: e, end: t };
2582
2584
  }
2583
- 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) {
2585
+ var Zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qn = !!String.fromCodePoint, qn = !!Object.fromEntries, Jn = !!String.prototype.codePointAt, Yn = !!String.prototype.trimStart, Kn = !!String.prototype.trimEnd, ei = !!Number.isSafeInteger, ti = ei ? Number.isSafeInteger : function(e) {
2584
2586
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2585
2587
  }, Qe = !0;
2586
2588
  try {
2587
- var ti = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2588
- Qe = (($e = ti.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
2589
+ var ri = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2590
+ Qe = (($e = ri.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
2589
2591
  } catch (e) {
2590
2592
  Qe = !1;
2591
2593
  }
2592
- var xt = zn ? (
2594
+ var wt = Zn ? (
2593
2595
  // Native
2594
2596
  function(t, r, n) {
2595
2597
  return t.startsWith(r, n);
@@ -2599,7 +2601,7 @@ var xt = zn ? (
2599
2601
  function(t, r, n) {
2600
2602
  return t.slice(n, n + r.length) === r;
2601
2603
  }
2602
- ), qe = Zn ? String.fromCodePoint : (
2604
+ ), qe = Qn ? String.fromCodePoint : (
2603
2605
  // IE11
2604
2606
  function() {
2605
2607
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2611,9 +2613,9 @@ var xt = zn ? (
2611
2613
  }
2612
2614
  return n;
2613
2615
  }
2614
- ), Ct = (
2616
+ ), Ht = (
2615
2617
  // native
2616
- Qn ? Object.fromEntries : (
2618
+ qn ? Object.fromEntries : (
2617
2619
  // Ponyfill
2618
2620
  function(t) {
2619
2621
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2623,7 +2625,7 @@ var xt = zn ? (
2623
2625
  return r;
2624
2626
  }
2625
2627
  )
2626
- ), lr = qn ? (
2628
+ ), hr = Jn ? (
2627
2629
  // Native
2628
2630
  function(t, r) {
2629
2631
  return t.codePointAt(r);
@@ -2637,7 +2639,7 @@ var xt = zn ? (
2637
2639
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2638
2640
  }
2639
2641
  }
2640
- ), ri = Jn ? (
2642
+ ), ni = Yn ? (
2641
2643
  // Native
2642
2644
  function(t) {
2643
2645
  return t.trimStart();
@@ -2645,9 +2647,9 @@ var xt = zn ? (
2645
2647
  ) : (
2646
2648
  // Ponyfill
2647
2649
  function(t) {
2648
- return t.replace(Xn, "");
2650
+ return t.replace(Wn, "");
2649
2651
  }
2650
- ), ni = Yn ? (
2652
+ ), ii = Kn ? (
2651
2653
  // Native
2652
2654
  function(t) {
2653
2655
  return t.trimEnd();
@@ -2655,32 +2657,32 @@ var xt = zn ? (
2655
2657
  ) : (
2656
2658
  // Ponyfill
2657
2659
  function(t) {
2658
- return t.replace(Wn, "");
2660
+ return t.replace(zn, "");
2659
2661
  }
2660
2662
  );
2661
- function ur(e, t) {
2663
+ function cr(e, t) {
2662
2664
  return new RegExp(e, t);
2663
2665
  }
2664
2666
  var Je;
2665
2667
  if (Qe) {
2666
- var wt = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2668
+ var St = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2667
2669
  Je = function(t, r) {
2668
2670
  var n;
2669
- wt.lastIndex = r;
2670
- var i = wt.exec(t);
2671
+ St.lastIndex = r;
2672
+ var i = St.exec(t);
2671
2673
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2672
2674
  };
2673
2675
  } else
2674
2676
  Je = function(t, r) {
2675
2677
  for (var n = []; ; ) {
2676
- var i = lr(t, r);
2677
- if (i === void 0 || hr(i) || ai(i))
2678
+ var i = hr(t, r);
2679
+ if (i === void 0 || fr(i) || li(i))
2678
2680
  break;
2679
2681
  n.push(i), r += i >= 65536 ? 2 : 1;
2680
2682
  }
2681
2683
  return qe.apply(void 0, n);
2682
2684
  };
2683
- var ii = (
2685
+ var oi = (
2684
2686
  /** @class */
2685
2687
  function() {
2686
2688
  function e(t, r) {
@@ -2762,7 +2764,7 @@ var ii = (
2762
2764
  return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
2763
2765
  }, e.prototype.parseTagName = function() {
2764
2766
  var t = this.offset();
2765
- for (this.bump(); !this.isEOF() && si(this.char()); )
2767
+ for (this.bump(); !this.isEOF() && ai(this.char()); )
2766
2768
  this.bump();
2767
2769
  return this.message.slice(t, this.offset());
2768
2770
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2791,7 +2793,7 @@ var ii = (
2791
2793
  };
2792
2794
  }, e.prototype.tryParseLeftAngleBracket = function() {
2793
2795
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2794
- !oi(this.peek() || 0)) ? (this.bump(), "<") : null;
2796
+ !si(this.peek() || 0)) ? (this.bump(), "<") : null;
2795
2797
  }, e.prototype.tryParseQuote = function(t) {
2796
2798
  if (this.isEOF() || this.char() !== 39)
2797
2799
  return null;
@@ -2878,7 +2880,7 @@ var ii = (
2878
2880
  var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2879
2881
  if (m.err)
2880
2882
  return m;
2881
- var f = ni(m.val);
2883
+ var f = ii(m.val);
2882
2884
  if (f.length === 0)
2883
2885
  return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2884
2886
  var p = v(h, this.clonePosition());
@@ -2888,8 +2890,8 @@ var ii = (
2888
2890
  if (g.err)
2889
2891
  return g;
2890
2892
  var b = v(i, this.clonePosition());
2891
- if (l && xt(l == null ? void 0 : l.style, "::", 0)) {
2892
- var d = ri(l.style.slice(2));
2893
+ if (l && wt(l == null ? void 0 : l.style, "::", 0)) {
2894
+ var d = ni(l.style.slice(2));
2893
2895
  if (a === "number") {
2894
2896
  var m = this.parseNumberSkeletonFromString(d, l.styleLocation);
2895
2897
  return m.err ? m : {
@@ -2900,12 +2902,12 @@ var ii = (
2900
2902
  if (d.length === 0)
2901
2903
  return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
2902
2904
  var H = d;
2903
- this.locale && (H = jn(d, this.locale));
2905
+ this.locale && (H = Vn(d, this.locale));
2904
2906
  var f = {
2905
- type: oe.dateTime,
2907
+ type: se.dateTime,
2906
2908
  pattern: H,
2907
2909
  location: l.styleLocation,
2908
- parsedOptions: this.shouldParseSkeletons ? Fn(H) : {}
2910
+ parsedOptions: this.shouldParseSkeletons ? Rn(H) : {}
2909
2911
  }, _ = a === "date" ? T.date : T.time;
2910
2912
  return {
2911
2913
  val: { type: _, value: n, location: b, style: f },
@@ -2930,19 +2932,19 @@ var ii = (
2930
2932
  if (this.bumpSpace(), !this.bumpIf(","))
2931
2933
  return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(x, E({}, x)));
2932
2934
  this.bumpSpace();
2933
- var L = this.parseIdentifierIfPossible(), I = 0;
2934
- if (a !== "select" && L.value === "offset") {
2935
+ var O = this.parseIdentifierIfPossible(), I = 0;
2936
+ if (a !== "select" && O.value === "offset") {
2935
2937
  if (!this.bumpIf(":"))
2936
2938
  return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
2937
2939
  this.bumpSpace();
2938
2940
  var m = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2939
2941
  if (m.err)
2940
2942
  return m;
2941
- this.bumpSpace(), L = this.parseIdentifierIfPossible(), I = m.val;
2943
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), I = m.val;
2942
2944
  }
2943
- var k = this.tryParsePluralOrSelectOptions(t, a, r, L);
2944
- if (k.err)
2945
- return k;
2945
+ var $ = this.tryParsePluralOrSelectOptions(t, a, r, O);
2946
+ if ($.err)
2947
+ return $;
2946
2948
  var g = this.tryParseArgumentClose(i);
2947
2949
  if (g.err)
2948
2950
  return g;
@@ -2951,7 +2953,7 @@ var ii = (
2951
2953
  val: {
2952
2954
  type: T.select,
2953
2955
  value: n,
2954
- options: Ct(k.val),
2956
+ options: Ht($.val),
2955
2957
  location: w
2956
2958
  },
2957
2959
  err: null
@@ -2959,7 +2961,7 @@ var ii = (
2959
2961
  val: {
2960
2962
  type: T.plural,
2961
2963
  value: n,
2962
- options: Ct(k.val),
2964
+ options: Ht($.val),
2963
2965
  offset: I,
2964
2966
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2965
2967
  location: w
@@ -3010,16 +3012,16 @@ var ii = (
3010
3012
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3011
3013
  var n = [];
3012
3014
  try {
3013
- n = Dn(t);
3015
+ n = Un(t);
3014
3016
  } catch (i) {
3015
3017
  return this.error(y.INVALID_NUMBER_SKELETON, r);
3016
3018
  }
3017
3019
  return {
3018
3020
  val: {
3019
- type: oe.number,
3021
+ type: se.number,
3020
3022
  tokens: n,
3021
3023
  location: r,
3022
- parsedOptions: this.shouldParseSkeletons ? $n(n) : {}
3024
+ parsedOptions: this.shouldParseSkeletons ? jn(n) : {}
3023
3025
  },
3024
3026
  err: null
3025
3027
  };
@@ -3067,7 +3069,7 @@ var ii = (
3067
3069
  break;
3068
3070
  }
3069
3071
  var u = v(i, this.clonePosition());
3070
- return o ? (s *= n, ei(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3072
+ return o ? (s *= n, ti(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3071
3073
  }, e.prototype.offset = function() {
3072
3074
  return this.position.offset;
3073
3075
  }, e.prototype.isEOF = function() {
@@ -3082,7 +3084,7 @@ var ii = (
3082
3084
  var t = this.position.offset;
3083
3085
  if (t >= this.message.length)
3084
3086
  throw Error("out of bound");
3085
- var r = lr(this.message, t);
3087
+ var r = hr(this.message, t);
3086
3088
  if (r === void 0)
3087
3089
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3088
3090
  return r;
@@ -3101,7 +3103,7 @@ var ii = (
3101
3103
  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);
3102
3104
  }
3103
3105
  }, e.prototype.bumpIf = function(t) {
3104
- if (xt(this.message, t, this.offset())) {
3106
+ if (wt(this.message, t, this.offset())) {
3105
3107
  for (var r = 0; r < t.length; r++)
3106
3108
  this.bump();
3107
3109
  return !0;
@@ -3123,7 +3125,7 @@ var ii = (
3123
3125
  break;
3124
3126
  }
3125
3127
  }, e.prototype.bumpSpace = function() {
3126
- for (; !this.isEOF() && hr(this.char()); )
3128
+ for (; !this.isEOF() && fr(this.char()); )
3127
3129
  this.bump();
3128
3130
  }, e.prototype.peek = function() {
3129
3131
  if (this.isEOF())
@@ -3136,41 +3138,41 @@ var ii = (
3136
3138
  function Ye(e) {
3137
3139
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3138
3140
  }
3139
- function oi(e) {
3141
+ function si(e) {
3140
3142
  return Ye(e) || e === 47;
3141
3143
  }
3142
- function si(e) {
3144
+ function ai(e) {
3143
3145
  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;
3144
3146
  }
3145
- function hr(e) {
3147
+ function fr(e) {
3146
3148
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3147
3149
  }
3148
- function ai(e) {
3150
+ function li(e) {
3149
3151
  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;
3150
3152
  }
3151
3153
  function Ke(e) {
3152
3154
  e.forEach(function(t) {
3153
- if (delete t.location, er(t) || tr(t))
3155
+ if (delete t.location, rr(t) || nr(t))
3154
3156
  for (var r in t.options)
3155
3157
  delete t.options[r].location, Ke(t.options[r].value);
3156
3158
  else
3157
- Jt(t) && nr(t.style) || (Yt(t) || Kt(t)) && Ze(t.style) ? delete t.style.location : rr(t) && Ke(t.children);
3159
+ Kt(t) && or(t.style) || (er(t) || tr(t)) && Ze(t.style) ? delete t.style.location : ir(t) && Ke(t.children);
3158
3160
  });
3159
3161
  }
3160
- function li(e, t) {
3162
+ function ui(e, t) {
3161
3163
  t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3162
- var r = new ii(e, t).parse();
3164
+ var r = new oi(e, t).parse();
3163
3165
  if (r.err) {
3164
3166
  var n = SyntaxError(y[r.err.kind]);
3165
3167
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3166
3168
  }
3167
3169
  return t != null && t.captureLocation || Ke(r.val), r.val;
3168
3170
  }
3169
- var se;
3171
+ var ae;
3170
3172
  (function(e) {
3171
3173
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3172
- })(se || (se = {}));
3173
- var Pe = (
3174
+ })(ae || (ae = {}));
3175
+ var Le = (
3174
3176
  /** @class */
3175
3177
  function(e) {
3176
3178
  Ne(t, e);
@@ -3182,152 +3184,152 @@ var Pe = (
3182
3184
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3183
3185
  }, t;
3184
3186
  }(Error)
3185
- ), Ht = (
3187
+ ), Tt = (
3186
3188
  /** @class */
3187
3189
  function(e) {
3188
3190
  Ne(t, e);
3189
3191
  function t(r, n, i, o) {
3190
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), se.INVALID_VALUE, o) || this;
3192
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ae.INVALID_VALUE, o) || this;
3191
3193
  }
3192
3194
  return t;
3193
- }(Pe)
3194
- ), ui = (
3195
+ }(Le)
3196
+ ), hi = (
3195
3197
  /** @class */
3196
3198
  function(e) {
3197
3199
  Ne(t, e);
3198
3200
  function t(r, n, i) {
3199
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), se.INVALID_VALUE, i) || this;
3201
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ae.INVALID_VALUE, i) || this;
3200
3202
  }
3201
3203
  return t;
3202
- }(Pe)
3203
- ), hi = (
3204
+ }(Le)
3205
+ ), ci = (
3204
3206
  /** @class */
3205
3207
  function(e) {
3206
3208
  Ne(t, e);
3207
3209
  function t(r, n) {
3208
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), se.MISSING_VALUE, n) || this;
3210
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ae.MISSING_VALUE, n) || this;
3209
3211
  }
3210
3212
  return t;
3211
- }(Pe)
3212
- ), F;
3213
+ }(Le)
3214
+ ), R;
3213
3215
  (function(e) {
3214
3216
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3215
- })(F || (F = {}));
3216
- function ci(e) {
3217
+ })(R || (R = {}));
3218
+ function fi(e) {
3217
3219
  return e.length < 2 ? e : e.reduce(function(t, r) {
3218
3220
  var n = t[t.length - 1];
3219
- return !n || n.type !== F.literal || r.type !== F.literal ? t.push(r) : n.value += r.value, t;
3221
+ return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
3220
3222
  }, []);
3221
3223
  }
3222
- function fi(e) {
3224
+ function mi(e) {
3223
3225
  return typeof e == "function";
3224
3226
  }
3225
3227
  function Se(e, t, r, n, i, o, s) {
3226
- if (e.length === 1 && yt(e[0]))
3228
+ if (e.length === 1 && _t(e[0]))
3227
3229
  return [
3228
3230
  {
3229
- type: F.literal,
3231
+ type: R.literal,
3230
3232
  value: e[0].value
3231
3233
  }
3232
3234
  ];
3233
3235
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3234
3236
  var h = l[u];
3235
- if (yt(h)) {
3237
+ if (_t(h)) {
3236
3238
  a.push({
3237
- type: F.literal,
3239
+ type: R.literal,
3238
3240
  value: h.value
3239
3241
  });
3240
3242
  continue;
3241
3243
  }
3242
- if (Ln(h)) {
3244
+ if (On(h)) {
3243
3245
  typeof o == "number" && a.push({
3244
- type: F.literal,
3246
+ type: R.literal,
3245
3247
  value: r.getNumberFormat(t).format(o)
3246
3248
  });
3247
3249
  continue;
3248
3250
  }
3249
3251
  var m = h.value;
3250
3252
  if (!(i && m in i))
3251
- throw new hi(m, s);
3253
+ throw new ci(m, s);
3252
3254
  var f = i[m];
3253
3255
  if (Pn(h)) {
3254
3256
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3255
- type: typeof f == "string" ? F.literal : F.object,
3257
+ type: typeof f == "string" ? R.literal : R.object,
3256
3258
  value: f
3257
3259
  });
3258
3260
  continue;
3259
3261
  }
3260
- if (Yt(h)) {
3262
+ if (er(h)) {
3261
3263
  var p = typeof h.style == "string" ? n.date[h.style] : Ze(h.style) ? h.style.parsedOptions : void 0;
3262
3264
  a.push({
3263
- type: F.literal,
3265
+ type: R.literal,
3264
3266
  value: r.getDateTimeFormat(t, p).format(f)
3265
3267
  });
3266
3268
  continue;
3267
3269
  }
3268
- if (Kt(h)) {
3270
+ if (tr(h)) {
3269
3271
  var p = typeof h.style == "string" ? n.time[h.style] : Ze(h.style) ? h.style.parsedOptions : n.time.medium;
3270
3272
  a.push({
3271
- type: F.literal,
3273
+ type: R.literal,
3272
3274
  value: r.getDateTimeFormat(t, p).format(f)
3273
3275
  });
3274
3276
  continue;
3275
3277
  }
3276
- if (Jt(h)) {
3277
- var p = typeof h.style == "string" ? n.number[h.style] : nr(h.style) ? h.style.parsedOptions : void 0;
3278
+ if (Kt(h)) {
3279
+ var p = typeof h.style == "string" ? n.number[h.style] : or(h.style) ? h.style.parsedOptions : void 0;
3278
3280
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3279
- type: F.literal,
3281
+ type: R.literal,
3280
3282
  value: r.getNumberFormat(t, p).format(f)
3281
3283
  });
3282
3284
  continue;
3283
3285
  }
3284
- if (rr(h)) {
3286
+ if (ir(h)) {
3285
3287
  var g = h.children, b = h.value, d = i[b];
3286
- if (!fi(d))
3287
- throw new ui(b, "function", s);
3288
+ if (!mi(d))
3289
+ throw new hi(b, "function", s);
3288
3290
  var H = Se(g, t, r, n, i, o), _ = d(H.map(function(I) {
3289
3291
  return I.value;
3290
3292
  }));
3291
3293
  Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(I) {
3292
3294
  return {
3293
- type: typeof I == "string" ? F.literal : F.object,
3295
+ type: typeof I == "string" ? R.literal : R.object,
3294
3296
  value: I
3295
3297
  };
3296
3298
  }));
3297
3299
  }
3298
- if (er(h)) {
3300
+ if (rr(h)) {
3299
3301
  var x = h.options[f] || h.options.other;
3300
3302
  if (!x)
3301
- throw new Ht(h.value, f, Object.keys(h.options), s);
3303
+ throw new Tt(h.value, f, Object.keys(h.options), s);
3302
3304
  a.push.apply(a, Se(x.value, t, r, n, i));
3303
3305
  continue;
3304
3306
  }
3305
- if (tr(h)) {
3307
+ if (nr(h)) {
3306
3308
  var x = h.options["=".concat(f)];
3307
3309
  if (!x) {
3308
3310
  if (!Intl.PluralRules)
3309
- throw new Pe(`Intl.PluralRules is not available in this environment.
3311
+ throw new Le(`Intl.PluralRules is not available in this environment.
3310
3312
  Try polyfilling it using "@formatjs/intl-pluralrules"
3311
- `, se.MISSING_INTL_API, s);
3312
- var L = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3313
- x = h.options[L] || h.options.other;
3313
+ `, ae.MISSING_INTL_API, s);
3314
+ var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3315
+ x = h.options[O] || h.options.other;
3314
3316
  }
3315
3317
  if (!x)
3316
- throw new Ht(h.value, f, Object.keys(h.options), s);
3318
+ throw new Tt(h.value, f, Object.keys(h.options), s);
3317
3319
  a.push.apply(a, Se(x.value, t, r, n, i, f - (h.offset || 0)));
3318
3320
  continue;
3319
3321
  }
3320
3322
  }
3321
- return ci(a);
3323
+ return fi(a);
3322
3324
  }
3323
- function mi(e, t) {
3325
+ function di(e, t) {
3324
3326
  return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3325
3327
  return r[n] = E(E({}, e[n]), t[n] || {}), r;
3326
3328
  }, {})) : e;
3327
3329
  }
3328
- function di(e, t) {
3330
+ function pi(e, t) {
3329
3331
  return t ? Object.keys(e).reduce(function(r, n) {
3330
- return r[n] = mi(e[n], t[n]), r;
3332
+ return r[n] = di(e[n], t[n]), r;
3331
3333
  }, E({}, e)) : e;
3332
3334
  }
3333
3335
  function je(e) {
@@ -3344,7 +3346,7 @@ function je(e) {
3344
3346
  }
3345
3347
  };
3346
3348
  }
3347
- function pi(e) {
3349
+ function gi(e) {
3348
3350
  return e === void 0 && (e = {
3349
3351
  number: {},
3350
3352
  dateTime: {},
@@ -3376,7 +3378,7 @@ function pi(e) {
3376
3378
  })
3377
3379
  };
3378
3380
  }
3379
- var gi = (
3381
+ var bi = (
3380
3382
  /** @class */
3381
3383
  function() {
3382
3384
  function e(t, r, n, i) {
@@ -3391,7 +3393,7 @@ var gi = (
3391
3393
  if (l.length === 1)
3392
3394
  return l[0].value;
3393
3395
  var h = l.reduce(function(m, f) {
3394
- return !m.length || f.type !== F.literal || typeof m[m.length - 1] != "string" ? m.push(f.value) : m[m.length - 1] += f.value, m;
3396
+ return !m.length || f.type !== R.literal || typeof m[m.length - 1] != "string" ? m.push(f.value) : m[m.length - 1] += f.value, m;
3395
3397
  }, []);
3396
3398
  return h.length <= 1 ? h[0] || "" : h;
3397
3399
  }, this.formatToParts = function(u) {
@@ -3408,13 +3410,13 @@ var gi = (
3408
3410
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3409
3411
  var s = i || {};
3410
3412
  s.formatters;
3411
- var a = Hn(s, ["formatters"]);
3413
+ var a = Tn(s, ["formatters"]);
3412
3414
  this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
3413
3415
  } else
3414
3416
  this.ast = t;
3415
3417
  if (!Array.isArray(this.ast))
3416
3418
  throw new TypeError("A message must be provided as a String or AST.");
3417
- this.formats = di(e.formats, n), this.formatters = i && i.formatters || pi(this.formatterCache);
3419
+ this.formats = pi(e.formats, n), this.formatters = i && i.formatters || gi(this.formatterCache);
3418
3420
  }
3419
3421
  return Object.defineProperty(e, "defaultLocale", {
3420
3422
  get: function() {
@@ -3427,7 +3429,7 @@ var gi = (
3427
3429
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3428
3430
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3429
3431
  }
3430
- }, e.__parse = li, e.formats = {
3432
+ }, e.__parse = ui, e.formats = {
3431
3433
  number: {
3432
3434
  integer: {
3433
3435
  maximumFractionDigits: 0
@@ -3488,7 +3490,7 @@ var gi = (
3488
3490
  }, e;
3489
3491
  }()
3490
3492
  );
3491
- function bi(e, t) {
3493
+ function yi(e, t) {
3492
3494
  if (t == null)
3493
3495
  return;
3494
3496
  if (t in e)
@@ -3509,92 +3511,92 @@ function bi(e, t) {
3509
3511
  n = void 0;
3510
3512
  return n;
3511
3513
  }
3512
- const W = {}, yi = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), cr = (e, t) => {
3514
+ const W = {}, vi = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), mr = (e, t) => {
3513
3515
  if (t == null)
3514
3516
  return;
3515
3517
  if (t in W && e in W[t])
3516
3518
  return W[t][e];
3517
- const r = Le(t);
3519
+ const r = Pe(t);
3518
3520
  for (let n = 0; n < r.length; n++) {
3519
- const i = r[n], o = _i(i, e);
3521
+ const i = r[n], o = Ei(i, e);
3520
3522
  if (o)
3521
- return yi(e, t, o);
3523
+ return vi(e, t, o);
3522
3524
  }
3523
3525
  };
3524
- let it;
3525
- const ue = Me({});
3526
- function vi(e) {
3527
- return it[e] || null;
3526
+ let st;
3527
+ const he = Me({});
3528
+ function _i(e) {
3529
+ return st[e] || null;
3528
3530
  }
3529
- function fr(e) {
3530
- return e in it;
3531
+ function dr(e) {
3532
+ return e in st;
3531
3533
  }
3532
- function _i(e, t) {
3533
- if (!fr(e))
3534
+ function Ei(e, t) {
3535
+ if (!dr(e))
3534
3536
  return null;
3535
- const r = vi(e);
3536
- return bi(r, t);
3537
+ const r = _i(e);
3538
+ return yi(r, t);
3537
3539
  }
3538
- function Ei(e) {
3540
+ function xi(e) {
3539
3541
  if (e == null)
3540
3542
  return;
3541
- const t = Le(e);
3543
+ const t = Pe(e);
3542
3544
  for (let r = 0; r < t.length; r++) {
3543
3545
  const n = t[r];
3544
- if (fr(n))
3546
+ if (dr(n))
3545
3547
  return n;
3546
3548
  }
3547
3549
  }
3548
- function mr(e, ...t) {
3549
- delete W[e], ue.update((r) => (r[e] = wn.all([r[e] || {}, ...t]), r));
3550
+ function pr(e, ...t) {
3551
+ delete W[e], he.update((r) => (r[e] = Sn.all([r[e] || {}, ...t]), r));
3550
3552
  }
3551
- le(
3552
- [ue],
3553
+ ue(
3554
+ [he],
3553
3555
  ([e]) => Object.keys(e)
3554
3556
  );
3555
- ue.subscribe((e) => it = e);
3557
+ he.subscribe((e) => st = e);
3556
3558
  const Te = {};
3557
- function xi(e, t) {
3559
+ function Ci(e, t) {
3558
3560
  Te[e].delete(t), Te[e].size === 0 && delete Te[e];
3559
3561
  }
3560
- function dr(e) {
3562
+ function gr(e) {
3561
3563
  return Te[e];
3562
3564
  }
3563
- function Ci(e) {
3564
- return Le(e).map((t) => {
3565
- const r = dr(t);
3565
+ function wi(e) {
3566
+ return Pe(e).map((t) => {
3567
+ const r = gr(t);
3566
3568
  return [t, r ? [...r] : []];
3567
3569
  }).filter(([, t]) => t.length > 0);
3568
3570
  }
3569
3571
  function et(e) {
3570
- return e == null ? !1 : Le(e).some(
3572
+ return e == null ? !1 : Pe(e).some(
3571
3573
  (t) => {
3572
3574
  var r;
3573
- return (r = dr(t)) == null ? void 0 : r.size;
3575
+ return (r = gr(t)) == null ? void 0 : r.size;
3574
3576
  }
3575
3577
  );
3576
3578
  }
3577
- function wi(e, t) {
3579
+ function Hi(e, t) {
3578
3580
  return Promise.all(
3579
- t.map((n) => (xi(e, n), n().then((i) => i.default || i)))
3580
- ).then((n) => mr(e, ...n));
3581
+ t.map((n) => (Ci(e, n), n().then((i) => i.default || i)))
3582
+ ).then((n) => pr(e, ...n));
3581
3583
  }
3582
- const fe = {};
3583
- function pr(e) {
3584
+ const me = {};
3585
+ function br(e) {
3584
3586
  if (!et(e))
3585
- return e in fe ? fe[e] : Promise.resolve();
3586
- const t = Ci(e);
3587
- return fe[e] = Promise.all(
3587
+ return e in me ? me[e] : Promise.resolve();
3588
+ const t = wi(e);
3589
+ return me[e] = Promise.all(
3588
3590
  t.map(
3589
- ([r, n]) => wi(r, n)
3591
+ ([r, n]) => Hi(r, n)
3590
3592
  )
3591
3593
  ).then(() => {
3592
3594
  if (et(e))
3593
- return pr(e);
3594
- delete fe[e];
3595
- }), fe[e];
3595
+ return br(e);
3596
+ delete me[e];
3597
+ }), me[e];
3596
3598
  }
3597
- const Hi = {
3599
+ const Si = {
3598
3600
  number: {
3599
3601
  scientific: { notation: "scientific" },
3600
3602
  engineering: { notation: "engineering" },
@@ -3623,34 +3625,34 @@ const Hi = {
3623
3625
  timeZoneName: "short"
3624
3626
  }
3625
3627
  }
3626
- }, Si = {
3628
+ }, Ti = {
3627
3629
  fallbackLocale: null,
3628
3630
  loadingDelay: 200,
3629
- formats: Hi,
3631
+ formats: Si,
3630
3632
  warnOnMissingMessages: !0,
3631
3633
  handleMissingMessage: void 0,
3632
3634
  ignoreTag: !0
3633
- }, Ti = Si;
3634
- function ae() {
3635
- return Ti;
3635
+ }, Ai = Ti;
3636
+ function le() {
3637
+ return Ai;
3636
3638
  }
3637
3639
  const Ve = Me(!1);
3638
- var Ai = Object.defineProperty, Bi = Object.defineProperties, Ii = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, Mi = Object.prototype.hasOwnProperty, Ni = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pi = (e, t) => {
3640
+ var Bi = Object.defineProperty, Ii = Object.defineProperties, Mi = Object.getOwnPropertyDescriptors, At = Object.getOwnPropertySymbols, Ni = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pi = (e, t) => {
3639
3641
  for (var r in t || (t = {}))
3640
- Mi.call(t, r) && Tt(e, r, t[r]);
3641
- if (St)
3642
- for (var r of St(t))
3643
- Ni.call(t, r) && Tt(e, r, t[r]);
3642
+ Ni.call(t, r) && Bt(e, r, t[r]);
3643
+ if (At)
3644
+ for (var r of At(t))
3645
+ Li.call(t, r) && Bt(e, r, t[r]);
3644
3646
  return e;
3645
- }, Li = (e, t) => Bi(e, Ii(t));
3647
+ }, Oi = (e, t) => Ii(e, Mi(t));
3646
3648
  let tt;
3647
3649
  const Be = Me(null);
3648
- function At(e) {
3650
+ function It(e) {
3649
3651
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3650
3652
  }
3651
- function Le(e, t = ae().fallbackLocale) {
3652
- const r = At(e);
3653
- return t ? [.../* @__PURE__ */ new Set([...r, ...At(t)])] : r;
3653
+ function Pe(e, t = le().fallbackLocale) {
3654
+ const r = It(e);
3655
+ return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
3654
3656
  }
3655
3657
  function Y() {
3656
3658
  return tt != null ? tt : void 0;
@@ -3658,22 +3660,22 @@ function Y() {
3658
3660
  Be.subscribe((e) => {
3659
3661
  tt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3660
3662
  });
3661
- const Oi = (e) => {
3662
- if (e && Ei(e) && et(e)) {
3663
- const { loadingDelay: t } = ae();
3663
+ const Fi = (e) => {
3664
+ if (e && xi(e) && et(e)) {
3665
+ const { loadingDelay: t } = le();
3664
3666
  let r;
3665
3667
  return typeof window != "undefined" && Y() != null && t ? r = window.setTimeout(
3666
3668
  () => Ve.set(!0),
3667
3669
  t
3668
- ) : Ve.set(!0), pr(e).then(() => {
3670
+ ) : Ve.set(!0), br(e).then(() => {
3669
3671
  Be.set(e);
3670
3672
  }).finally(() => {
3671
3673
  clearTimeout(r), Ve.set(!1);
3672
3674
  });
3673
3675
  }
3674
3676
  return Be.set(e);
3675
- }, z = Li(Pi({}, Be), {
3676
- set: Oi
3677
+ }, z = Oi(Pi({}, Be), {
3678
+ set: Fi
3677
3679
  }), Oe = (e) => {
3678
3680
  const t = /* @__PURE__ */ Object.create(null);
3679
3681
  return (n) => {
@@ -3681,77 +3683,77 @@ const Oi = (e) => {
3681
3683
  return i in t ? t[i] : t[i] = e(n);
3682
3684
  };
3683
3685
  };
3684
- var Fi = Object.defineProperty, Ie = Object.getOwnPropertySymbols, gr = Object.prototype.hasOwnProperty, br = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
3686
+ var Ri = Object.defineProperty, Ie = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
3685
3687
  for (var r in t || (t = {}))
3686
- gr.call(t, r) && Bt(e, r, t[r]);
3688
+ yr.call(t, r) && Mt(e, r, t[r]);
3687
3689
  if (Ie)
3688
3690
  for (var r of Ie(t))
3689
- br.call(t, r) && Bt(e, r, t[r]);
3691
+ vr.call(t, r) && Mt(e, r, t[r]);
3690
3692
  return e;
3691
- }, he = (e, t) => {
3693
+ }, ce = (e, t) => {
3692
3694
  var r = {};
3693
3695
  for (var n in e)
3694
- gr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3696
+ yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3695
3697
  if (e != null && Ie)
3696
3698
  for (var n of Ie(e))
3697
- t.indexOf(n) < 0 && br.call(e, n) && (r[n] = e[n]);
3699
+ t.indexOf(n) < 0 && vr.call(e, n) && (r[n] = e[n]);
3698
3700
  return r;
3699
3701
  };
3700
- const ye = (e, t) => {
3701
- const { formats: r } = ae();
3702
+ const ve = (e, t) => {
3703
+ const { formats: r } = le();
3702
3704
  if (e in r && t in r[e])
3703
3705
  return r[e][t];
3704
3706
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3705
- }, Ri = Oe(
3707
+ }, Di = Oe(
3706
3708
  (e) => {
3707
- var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
3709
+ var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
3708
3710
  if (r == null)
3709
3711
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3710
- return n && (i = ye("number", n)), new Intl.NumberFormat(r, i);
3712
+ return n && (i = ve("number", n)), new Intl.NumberFormat(r, i);
3711
3713
  }
3712
- ), Di = Oe(
3714
+ ), Ui = Oe(
3713
3715
  (e) => {
3714
- var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
3716
+ var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
3715
3717
  if (r == null)
3716
3718
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3717
- return n ? i = ye("date", n) : Object.keys(i).length === 0 && (i = ye("date", "short")), new Intl.DateTimeFormat(r, i);
3719
+ return n ? i = ve("date", n) : Object.keys(i).length === 0 && (i = ve("date", "short")), new Intl.DateTimeFormat(r, i);
3718
3720
  }
3719
- ), Ui = Oe(
3721
+ ), Gi = Oe(
3720
3722
  (e) => {
3721
- var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
3723
+ var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
3722
3724
  if (r == null)
3723
3725
  throw new Error(
3724
3726
  '[svelte-i18n] A "locale" must be set to format time values'
3725
3727
  );
3726
- return n ? i = ye("time", n) : Object.keys(i).length === 0 && (i = ye("time", "short")), new Intl.DateTimeFormat(r, i);
3728
+ return n ? i = ve("time", n) : Object.keys(i).length === 0 && (i = ve("time", "short")), new Intl.DateTimeFormat(r, i);
3727
3729
  }
3728
- ), Gi = (e = {}) => {
3730
+ ), ki = (e = {}) => {
3729
3731
  var t = e, {
3730
3732
  locale: r = Y()
3731
- } = t, n = he(t, [
3733
+ } = t, n = ce(t, [
3732
3734
  "locale"
3733
3735
  ]);
3734
- return Ri(ot({ locale: r }, n));
3735
- }, ki = (e = {}) => {
3736
+ return Di(at({ locale: r }, n));
3737
+ }, $i = (e = {}) => {
3736
3738
  var t = e, {
3737
3739
  locale: r = Y()
3738
- } = t, n = he(t, [
3740
+ } = t, n = ce(t, [
3739
3741
  "locale"
3740
3742
  ]);
3741
- return Di(ot({ locale: r }, n));
3742
- }, $i = (e = {}) => {
3743
+ return Ui(at({ locale: r }, n));
3744
+ }, ji = (e = {}) => {
3743
3745
  var t = e, {
3744
3746
  locale: r = Y()
3745
- } = t, n = he(t, [
3747
+ } = t, n = ce(t, [
3746
3748
  "locale"
3747
3749
  ]);
3748
- return Ui(ot({ locale: r }, n));
3749
- }, ji = Oe(
3750
+ return Gi(at({ locale: r }, n));
3751
+ }, Vi = Oe(
3750
3752
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3751
- (e, t = Y()) => new gi(e, t, ae().formats, {
3752
- ignoreTag: ae().ignoreTag
3753
+ (e, t = Y()) => new bi(e, t, le().formats, {
3754
+ ignoreTag: le().ignoreTag
3753
3755
  })
3754
- ), Vi = (e, t = {}) => {
3756
+ ), Xi = (e, t = {}) => {
3755
3757
  var r, n, i, o;
3756
3758
  let s = t;
3757
3759
  typeof e == "object" && (s = e, e = s.id);
@@ -3764,9 +3766,9 @@ const ye = (e, t) => {
3764
3766
  throw new Error(
3765
3767
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3766
3768
  );
3767
- let h = cr(e, u);
3769
+ let h = mr(e, u);
3768
3770
  if (!h)
3769
- h = (o = (i = (n = (r = ae()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3771
+ h = (o = (i = (n = (r = le()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3770
3772
  else if (typeof h != "string")
3771
3773
  return console.warn(
3772
3774
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3775,7 +3777,7 @@ const ye = (e, t) => {
3775
3777
  return h;
3776
3778
  let m = h;
3777
3779
  try {
3778
- m = ji(h, u).format(a);
3780
+ m = Vi(h, u).format(a);
3779
3781
  } catch (f) {
3780
3782
  f instanceof Error && console.warn(
3781
3783
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3783,24 +3785,24 @@ const ye = (e, t) => {
3783
3785
  );
3784
3786
  }
3785
3787
  return m;
3786
- }, Xi = (e, t) => $i(t).format(e), Wi = (e, t) => ki(t).format(e), zi = (e, t) => Gi(t).format(e), Zi = (e, t = Y()) => cr(e, t);
3787
- le([z, ue], () => Vi);
3788
- le([z], () => Xi);
3789
- le([z], () => Wi);
3790
- le([z], () => zi);
3791
- le([z, ue], () => Zi);
3792
- function Qi({ withLocale: e, translations: t }) {
3788
+ }, Wi = (e, t) => ji(t).format(e), zi = (e, t) => $i(t).format(e), Zi = (e, t) => ki(t).format(e), Qi = (e, t = Y()) => mr(e, t);
3789
+ ue([z, he], () => Xi);
3790
+ ue([z], () => Wi);
3791
+ ue([z], () => zi);
3792
+ ue([z], () => Zi);
3793
+ ue([z, he], () => Qi);
3794
+ function qi({ withLocale: e, translations: t }) {
3793
3795
  z.subscribe((r) => {
3794
- r == null && (ue.set(t), z.set(e));
3796
+ r == null && (he.set(t), z.set(e));
3795
3797
  });
3796
3798
  }
3797
- function It(e, t) {
3798
- mr(e, t);
3799
+ function Nt(e, t) {
3800
+ pr(e, t);
3799
3801
  }
3800
- function qi(e) {
3802
+ function Ji(e) {
3801
3803
  z.set(e);
3802
3804
  }
3803
- const Mt = {
3805
+ const Lt = {
3804
3806
  en: {
3805
3807
  login: "Login",
3806
3808
  register: "Register",
@@ -3857,23 +3859,23 @@ const Mt = {
3857
3859
  deposit: "Deposit"
3858
3860
  }
3859
3861
  };
3860
- function Ji(e) {
3861
- Dr(e, "svelte-1lder3j", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.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, #D0046C)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.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, #D0046C));color:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C))}.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}');
3862
+ function Yi(e) {
3863
+ Gr(e, "svelte-2e7gs6", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.scroller{scroll-behavior:smooth}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.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, #D0046C)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.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, #D0046C));color:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C))}.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}');
3862
3864
  }
3863
- function Nt(e, t, r) {
3865
+ function Pt(e, t, r) {
3864
3866
  const n = e.slice();
3865
3867
  return n[48] = t[r], n[50] = r, n;
3866
3868
  }
3867
- function Pt(e, t, r) {
3869
+ function Ot(e, t, r) {
3868
3870
  const n = e.slice();
3869
3871
  return n[51] = t[r], n;
3870
3872
  }
3871
- function Lt(e, t, r) {
3873
+ function Ft(e, t, r) {
3872
3874
  const n = e.slice();
3873
3875
  return n[54] = t[r], n[56] = r, n;
3874
3876
  }
3875
- function Ot(e) {
3876
- let t = [], r = /* @__PURE__ */ new Map(), n, i = ne(
3877
+ function Rt(e) {
3878
+ let t = [], r = /* @__PURE__ */ new Map(), n, i = ie(
3877
3879
  /*sliderdata*/
3878
3880
  e[9]
3879
3881
  );
@@ -3882,45 +3884,45 @@ function Ot(e) {
3882
3884
  s[48].id
3883
3885
  );
3884
3886
  for (let s = 0; s < i.length; s += 1) {
3885
- let a = Nt(e, i, s), u = o(a);
3886
- r.set(u, t[s] = kt(u, a));
3887
+ let a = Pt(e, i, s), u = o(a);
3888
+ r.set(u, t[s] = jt(u, a));
3887
3889
  }
3888
3890
  return {
3889
3891
  c() {
3890
3892
  for (let s = 0; s < t.length; s += 1)
3891
3893
  t[s].c();
3892
- n = pe();
3894
+ n = ge();
3893
3895
  },
3894
3896
  m(s, a) {
3895
3897
  for (let u = 0; u < t.length; u += 1)
3896
3898
  t[u] && t[u].m(s, a);
3897
- U(s, n, a);
3899
+ G(s, n, a);
3898
3900
  },
3899
3901
  p(s, a) {
3900
3902
  a[0] & /*activeindex, sliderdata, location, handleClick, subGroupsData, activeIndex, activeSubIndex, prevSubIndex, showsubgroups, itemsActive, categoriesicon, handleSrc*/
3901
- 77775 && (i = ne(
3903
+ 77775 && (i = ie(
3902
3904
  /*sliderdata*/
3903
3905
  s[9]
3904
- ), t = Wt(t, a, o, 1, s, i, r, n.parentNode, Xt, kt, n, Nt));
3906
+ ), t = Zt(t, a, o, 1, s, i, r, n.parentNode, zt, jt, n, Pt));
3905
3907
  },
3906
3908
  d(s) {
3907
- s && R(n);
3909
+ s && D(n);
3908
3910
  for (let a = 0; a < t.length; a += 1)
3909
3911
  t[a].d(s);
3910
3912
  }
3911
3913
  };
3912
3914
  }
3913
- function Yi(e) {
3915
+ function Ki(e) {
3914
3916
  let t, r = (
3915
3917
  /*category*/
3916
3918
  e[48].name + ""
3917
3919
  ), n;
3918
3920
  return {
3919
3921
  c() {
3920
- t = M("button"), n = ve(r), S(t, "class", "CategoryButton");
3922
+ t = L("button"), n = _e(r), S(t, "class", "CategoryButton");
3921
3923
  },
3922
3924
  m(i, o) {
3923
- U(i, t, o), B(t, n);
3925
+ G(i, t, o), B(t, n);
3924
3926
  },
3925
3927
  p(i, o) {
3926
3928
  o[0] & /*sliderdata*/
@@ -3928,22 +3930,22 @@ function Yi(e) {
3928
3930
  i[48].name + "") && nt(n, r);
3929
3931
  },
3930
3932
  d(i) {
3931
- i && R(t);
3933
+ i && D(t);
3932
3934
  }
3933
3935
  };
3934
3936
  }
3935
- function Ki(e) {
3937
+ function eo(e) {
3936
3938
  let t, r = (
3937
3939
  /*category*/
3938
3940
  e[48].label + ""
3939
3941
  ), n, i;
3940
3942
  return {
3941
3943
  c() {
3942
- t = M("a"), n = ve(r), S(t, "href", i = /*category*/
3944
+ t = L("a"), n = _e(r), S(t, "href", i = /*category*/
3943
3945
  e[48].path);
3944
3946
  },
3945
3947
  m(o, s) {
3946
- U(o, t, s), B(t, n);
3948
+ G(o, t, s), B(t, n);
3947
3949
  },
3948
3950
  p(o, s) {
3949
3951
  s[0] & /*sliderdata*/
@@ -3953,63 +3955,63 @@ function Ki(e) {
3953
3955
  o[48].path) && S(t, "href", i);
3954
3956
  },
3955
3957
  d(o) {
3956
- o && R(t);
3958
+ o && D(t);
3957
3959
  }
3958
3960
  };
3959
3961
  }
3960
- function Ft(e) {
3962
+ function Dt(e) {
3961
3963
  let t, r = (
3962
3964
  /*subGroupsData*/
3963
3965
  e[10].length > 0 && /*showsubgroups*/
3964
- e[2] == "true" && Rt(e)
3966
+ e[2] == "true" && Ut(e)
3965
3967
  );
3966
3968
  return {
3967
3969
  c() {
3968
- r && r.c(), t = pe();
3970
+ r && r.c(), t = ge();
3969
3971
  },
3970
3972
  m(n, i) {
3971
- r && r.m(n, i), U(n, t, i);
3973
+ r && r.m(n, i), G(n, t, i);
3972
3974
  },
3973
3975
  p(n, i) {
3974
3976
  /*subGroupsData*/
3975
3977
  n[10].length > 0 && /*showsubgroups*/
3976
- n[2] == "true" ? r ? r.p(n, i) : (r = Rt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3978
+ n[2] == "true" ? r ? r.p(n, i) : (r = Ut(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3977
3979
  },
3978
3980
  d(n) {
3979
- n && R(t), r && r.d(n);
3981
+ n && D(t), r && r.d(n);
3980
3982
  }
3981
3983
  };
3982
3984
  }
3983
- function Rt(e) {
3984
- let t, r = ne(
3985
+ function Ut(e) {
3986
+ let t, r = ie(
3985
3987
  /*subGroupsData*/
3986
3988
  e[10]
3987
3989
  ), n = [];
3988
3990
  for (let i = 0; i < r.length; i += 1)
3989
- n[i] = Gt(Pt(e, r, i));
3991
+ n[i] = $t(Ot(e, r, i));
3990
3992
  return {
3991
3993
  c() {
3992
- t = M("ul");
3994
+ t = L("ul");
3993
3995
  for (let i = 0; i < n.length; i += 1)
3994
3996
  n[i].c();
3995
3997
  S(t, "class", "DropDown");
3996
3998
  },
3997
3999
  m(i, o) {
3998
- U(i, t, o);
4000
+ G(i, t, o);
3999
4001
  for (let s = 0; s < n.length; s += 1)
4000
4002
  n[s] && n[s].m(t, null);
4001
4003
  },
4002
4004
  p(i, o) {
4003
4005
  if (o[0] & /*subGroupsData, handleClick, sliderdata, activeIndex, activeSubIndex, prevSubIndex*/
4004
4006
  10176) {
4005
- r = ne(
4007
+ r = ie(
4006
4008
  /*subGroupsData*/
4007
4009
  i[10]
4008
4010
  );
4009
4011
  let s;
4010
4012
  for (s = 0; s < r.length; s += 1) {
4011
- const a = Pt(i, r, s);
4012
- n[s] ? n[s].p(a, o) : (n[s] = Gt(a), n[s].c(), n[s].m(t, null));
4013
+ const a = Ot(i, r, s);
4014
+ n[s] ? n[s].p(a, o) : (n[s] = $t(a), n[s].c(), n[s].m(t, null));
4013
4015
  }
4014
4016
  for (; s < n.length; s += 1)
4015
4017
  n[s].d(1);
@@ -4017,11 +4019,11 @@ function Rt(e) {
4017
4019
  }
4018
4020
  },
4019
4021
  d(i) {
4020
- i && R(t), kr(n, i);
4022
+ i && D(t), jr(n, i);
4021
4023
  }
4022
4024
  };
4023
4025
  }
4024
- function Dt(e) {
4026
+ function Gt(e) {
4025
4027
  var h;
4026
4028
  let t, r, n = (
4027
4029
  /*subGroupItem*/
@@ -4045,7 +4047,7 @@ function Dt(e) {
4045
4047
  }
4046
4048
  return {
4047
4049
  c() {
4048
- t = M("li"), r = M("a"), i = ve(n), s = q(), S(r, "class", o = "SubDropDown " + /*index*/
4050
+ t = L("li"), r = L("a"), i = _e(n), s = q(), S(r, "class", o = "SubDropDown " + /*index*/
4049
4051
  (e[50] == /*activeIndex*/
4050
4052
  e[6] && /*activeSubIndex*/
4051
4053
  (e[7] == /*subindex*/
@@ -4054,7 +4056,7 @@ function Dt(e) {
4054
4056
  e[56]) ? "active" : ""));
4055
4057
  },
4056
4058
  m(m, f) {
4057
- U(m, t, f), B(t, r), B(r, i), B(t, s), a || (u = Ae(t, "click", l), a = !0);
4059
+ G(m, t, f), B(t, r), B(r, i), B(t, s), a || (u = Ae(t, "click", l), a = !0);
4058
4060
  },
4059
4061
  p(m, f) {
4060
4062
  var p;
@@ -4070,37 +4072,37 @@ function Dt(e) {
4070
4072
  e[56]) ? "active" : "")) && S(r, "class", o);
4071
4073
  },
4072
4074
  d(m) {
4073
- m && R(t), a = !1, u();
4075
+ m && D(t), a = !1, u();
4074
4076
  }
4075
4077
  };
4076
4078
  }
4077
- function Ut(e, t) {
4079
+ function kt(e, t) {
4078
4080
  let r, n, i = (
4079
4081
  /*index*/
4080
4082
  t[50] == /*subGroup*/
4081
- t[51].index && Dt(t)
4083
+ t[51].index && Gt(t)
4082
4084
  );
4083
4085
  return {
4084
4086
  key: e,
4085
4087
  first: null,
4086
4088
  c() {
4087
- r = pe(), i && i.c(), n = pe(), this.first = r;
4089
+ r = ge(), i && i.c(), n = ge(), this.first = r;
4088
4090
  },
4089
4091
  m(o, s) {
4090
- U(o, r, s), i && i.m(o, s), U(o, n, s);
4092
+ G(o, r, s), i && i.m(o, s), G(o, n, s);
4091
4093
  },
4092
4094
  p(o, s) {
4093
4095
  t = o, /*index*/
4094
4096
  t[50] == /*subGroup*/
4095
- t[51].index ? i ? i.p(t, s) : (i = Dt(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4097
+ t[51].index ? i ? i.p(t, s) : (i = Gt(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4096
4098
  },
4097
4099
  d(o) {
4098
- o && (R(r), R(n)), i && i.d(o);
4100
+ o && (D(r), D(n)), i && i.d(o);
4099
4101
  }
4100
4102
  };
4101
4103
  }
4102
- function Gt(e) {
4103
- let t = [], r = /* @__PURE__ */ new Map(), n, i = ne(
4104
+ function $t(e) {
4105
+ let t = [], r = /* @__PURE__ */ new Map(), n, i = ie(
4104
4106
  /*subGroup*/
4105
4107
  e[51].items
4106
4108
  );
@@ -4109,40 +4111,40 @@ function Gt(e) {
4109
4111
  s[54].id
4110
4112
  );
4111
4113
  for (let s = 0; s < i.length; s += 1) {
4112
- let a = Lt(e, i, s), u = o(a);
4113
- r.set(u, t[s] = Ut(u, a));
4114
+ let a = Ft(e, i, s), u = o(a);
4115
+ r.set(u, t[s] = kt(u, a));
4114
4116
  }
4115
4117
  return {
4116
4118
  c() {
4117
4119
  for (let s = 0; s < t.length; s += 1)
4118
4120
  t[s].c();
4119
- n = pe();
4121
+ n = ge();
4120
4122
  },
4121
4123
  m(s, a) {
4122
4124
  for (let u = 0; u < t.length; u += 1)
4123
4125
  t[u] && t[u].m(s, a);
4124
- U(s, n, a);
4126
+ G(s, n, a);
4125
4127
  },
4126
4128
  p(s, a) {
4127
4129
  a[0] & /*handleClick, sliderdata, subGroupsData, activeIndex, activeSubIndex, prevSubIndex*/
4128
- 10176 && (i = ne(
4130
+ 10176 && (i = ie(
4129
4131
  /*subGroup*/
4130
4132
  s[51].items
4131
- ), t = Wt(t, a, o, 1, s, i, r, n.parentNode, Xt, Ut, n, Lt));
4133
+ ), t = Zt(t, a, o, 1, s, i, r, n.parentNode, zt, kt, n, Ft));
4132
4134
  },
4133
4135
  d(s) {
4134
- s && R(n);
4136
+ s && D(n);
4135
4137
  for (let a = 0; a < t.length; a += 1)
4136
4138
  t[a].d(s);
4137
4139
  }
4138
4140
  };
4139
4141
  }
4140
- function kt(e, t) {
4142
+ function jt(e, t) {
4141
4143
  let r, n, i, o, s, a, u, l, h, m, f;
4142
4144
  function p(_, x) {
4143
4145
  return (
4144
4146
  /*location*/
4145
- _[0] === "headerMain" ? Ki : Yi
4147
+ _[0] === "headerMain" ? eo : Ki
4146
4148
  );
4147
4149
  }
4148
4150
  let g = p(t), b = g(t), d = (
@@ -4150,7 +4152,7 @@ function kt(e, t) {
4150
4152
  t[11][
4151
4153
  /*index*/
4152
4154
  t[50]
4153
- ] == !0 && Ft(t)
4155
+ ] == !0 && Dt(t)
4154
4156
  );
4155
4157
  function H(..._) {
4156
4158
  return (
@@ -4169,8 +4171,8 @@ function kt(e, t) {
4169
4171
  first: null,
4170
4172
  c() {
4171
4173
  var _, x;
4172
- r = M("li"), n = M("div"), i = M("img"), a = q(), b.c(), u = q(), d && d.c(), l = q(), S(i, "class", o = "CategoryIconImg " + /*categoriesicon*/
4173
- (t[3] === "true" ? "" : "DisplayNone")), pt(i.src, s = /*handleSrc*/
4174
+ r = L("li"), n = L("div"), i = L("img"), a = q(), b.c(), u = q(), d && d.c(), l = q(), S(i, "class", o = "CategoryIconImg " + /*categoriesicon*/
4175
+ (t[3] === "true" ? "" : "DisplayNone")), bt(i.src, s = /*handleSrc*/
4174
4176
  t[16](
4175
4177
  /*category*/
4176
4178
  t[48]
@@ -4187,14 +4189,14 @@ function kt(e, t) {
4187
4189
  (t[0] == "headerMain" ? "" : "SecondaryMenu")), this.first = r;
4188
4190
  },
4189
4191
  m(_, x) {
4190
- U(_, r, x), B(r, n), B(n, i), B(r, a), b.m(r, null), B(r, u), d && d.m(r, null), B(r, l), m || (f = Ae(r, "click", H), m = !0);
4192
+ G(_, r, x), B(r, n), B(n, i), B(r, a), b.m(r, null), B(r, u), d && d.m(r, null), B(r, l), m || (f = Ae(r, "click", H), m = !0);
4191
4193
  },
4192
4194
  p(_, x) {
4193
- var L, I;
4195
+ var O, I;
4194
4196
  t = _, x[0] & /*categoriesicon*/
4195
4197
  8 && o !== (o = "CategoryIconImg " + /*categoriesicon*/
4196
4198
  (t[3] === "true" ? "" : "DisplayNone")) && S(i, "class", o), x[0] & /*sliderdata*/
4197
- 512 && !pt(i.src, s = /*handleSrc*/
4199
+ 512 && !bt(i.src, s = /*handleSrc*/
4198
4200
  t[16](
4199
4201
  /*category*/
4200
4202
  t[48]
@@ -4202,9 +4204,9 @@ function kt(e, t) {
4202
4204
  t[11][
4203
4205
  /*index*/
4204
4206
  t[50]
4205
- ] == !0 ? d ? d.p(t, x) : (d = Ft(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), x[0] & /*activeindex, sliderdata, location*/
4207
+ ] == !0 ? d ? d.p(t, x) : (d = Dt(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), x[0] & /*activeindex, sliderdata, location*/
4206
4208
  515 && h !== (h = "CarouselItem " + /*activeindex*/
4207
- (((L = t[1]) == null ? void 0 : L.toString().indexOf("$")) > -1 ? (
4209
+ (((O = t[1]) == null ? void 0 : O.toString().indexOf("$")) > -1 ? (
4208
4210
  /*activeindex*/
4209
4211
  ((I = t[1]) == null ? void 0 : I.split("$").pop()) == /*category*/
4210
4212
  t[48].id.split("$").pop() ? "active" : ""
@@ -4216,24 +4218,24 @@ function kt(e, t) {
4216
4218
  (t[0] == "headerMain" ? "" : "SecondaryMenu")) && S(r, "class", h);
4217
4219
  },
4218
4220
  d(_) {
4219
- _ && R(r), b.d(), d && d.d(), m = !1, f();
4221
+ _ && D(r), b.d(), d && d.d(), m = !1, f();
4220
4222
  }
4221
4223
  };
4222
4224
  }
4223
- function eo(e) {
4225
+ function to(e) {
4224
4226
  let t, r, n, i, o, s, a, u, l, h, m, f, p, g, b, d = (
4225
4227
  /*sliderdata*/
4226
- e[9].length > 0 && Ot(e)
4228
+ e[9].length > 0 && Rt(e)
4227
4229
  );
4228
4230
  return {
4229
4231
  c() {
4230
- t = M("div"), r = M("div"), n = M("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(), o = M("div"), s = M("ul"), a = M("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = q(), d && d.c(), l = q(), h = M("div"), h.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(s, "id", "CarouselNav"), S(s, "class", "CarouselItems"), S(o, "class", "CarouselNavWrap"), S(h, "class", "CarouselRightArrow"), S(r, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
4232
+ 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(), o = L("div"), s = L("ul"), a = L("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = q(), d && d.c(), l = q(), h = L("div"), h.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(s, "id", "CarouselNav"), S(s, "class", "CarouselItems"), S(o, "class", "CarouselNavWrap scroller"), S(h, "class", "CarouselRightArrow"), S(r, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
4231
4233
  e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), S(r, "style", f = /*location*/
4232
4234
  e[0] === "headerMain" ? "max-width: auto" : void 0), S(t, "class", p = "CarouselWrapper " + /*location*/
4233
4235
  (e[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
4234
4236
  },
4235
4237
  m(H, _) {
4236
- U(H, t, _), B(t, r), B(r, n), B(r, i), B(r, o), B(o, s), B(s, a), B(s, u), d && d.m(s, null), e[35](s), e[36](o), B(r, l), B(r, h), e[38](t), g || (b = [
4238
+ G(H, t, _), B(t, r), B(r, n), B(r, i), B(r, o), B(o, s), B(s, a), B(s, u), d && d.m(s, null), e[35](s), e[36](o), B(r, l), B(r, h), e[38](t), g || (b = [
4237
4239
  Ae(
4238
4240
  n,
4239
4241
  "click",
@@ -4250,7 +4252,7 @@ function eo(e) {
4250
4252
  },
4251
4253
  p(H, _) {
4252
4254
  /*sliderdata*/
4253
- H[9].length > 0 ? d ? d.p(H, _) : (d = Ot(H), d.c(), d.m(s, null)) : d && (d.d(1), d = null), _[0] & /*location*/
4255
+ H[9].length > 0 ? d ? d.p(H, _) : (d = Rt(H), d.c(), d.m(s, null)) : d && (d.d(1), d = null), _[0] & /*location*/
4254
4256
  1 && m !== (m = `CarouselContainer CarouselContainerMobile ${/*location*/
4255
4257
  H[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && S(r, "class", m), _[0] & /*location*/
4256
4258
  1 && f !== (f = /*location*/
@@ -4258,32 +4260,32 @@ function eo(e) {
4258
4260
  1 && p !== (p = "CarouselWrapper " + /*location*/
4259
4261
  (H[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && S(t, "class", p);
4260
4262
  },
4261
- i: G,
4262
- o: G,
4263
+ i: k,
4264
+ o: k,
4263
4265
  d(H) {
4264
- H && R(t), d && d.d(), e[35](null), e[36](null), e[38](null), g = !1, J(b);
4266
+ H && D(t), d && d.d(), e[35](null), e[36](null), e[38](null), g = !1, J(b);
4265
4267
  }
4266
4268
  };
4267
4269
  }
4268
- function to(e, t, r) {
4269
- let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: o = "defaultEvent" } = t, { actionevent: s = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups: H = "false" } = t, { categoriesicon: _ = "false" } = t, { lobbyiconimage: x = "" } = t, { mygamesiconimage: L = "" } = t, { mbsource: I = "" } = t;
4270
- Qi({ withLocale: "en", translations: {} });
4271
- const k = () => {
4270
+ function ro(e, t, r) {
4271
+ let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: o = "defaultEvent" } = t, { actionevent: s = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups: H = "false" } = t, { categoriesicon: _ = "false" } = t, { lobbyiconimage: x = "" } = t, { mygamesiconimage: O = "" } = t, { mbsource: I = "" } = t;
4272
+ qi({ withLocale: "en", translations: {} });
4273
+ const $ = () => {
4272
4274
  fetch(f).then((C) => C.json()).then((C) => {
4273
- Object.keys(C).forEach((O) => {
4274
- It(O, C[O]);
4275
+ Object.keys(C).forEach((F) => {
4276
+ Nt(F, C[F]);
4275
4277
  });
4276
4278
  }).catch((C) => {
4277
4279
  console.log(C);
4278
4280
  });
4279
4281
  };
4280
- Object.keys(Mt).forEach((c) => {
4281
- It(c, Mt[c]);
4282
+ Object.keys(Lt).forEach((c) => {
4283
+ Nt(c, Lt[c]);
4282
4284
  });
4283
- let w, N, P, V, $, ce = [], _e = [], Ee = [], j, Fe = (c, C, O, Z, X) => {
4285
+ let w, M, P, V, j, fe = [], Ee = [], K = [], N, Fe = (c, C, F, Z, X) => {
4284
4286
  var Q;
4285
4287
  if (!(c.subGroups && Z === null)) {
4286
- if (xe(), r(6, N = C), r(6, N), X != "secondary") {
4288
+ if (xe(), r(6, M = C), r(6, M), X != "secondary") {
4287
4289
  window.postMessage(
4288
4290
  {
4289
4291
  type: s == "CategoryChange" ? "CategoryChange" : "NavigateTo",
@@ -4302,29 +4304,29 @@ function to(e, t, r) {
4302
4304
  r(7, P = Z), r(7, P), r(8, V = P), window.postMessage(
4303
4305
  {
4304
4306
  type: s,
4305
- itemId: O.id,
4307
+ itemId: F.id,
4306
4308
  subIndex: Z,
4307
- subItem: O
4309
+ subItem: F
4308
4310
  },
4309
4311
  window.location.href
4310
4312
  );
4311
4313
  }
4312
- }, st = () => {
4313
- j.scrollBy({ left: -250, behavior: "smooth" });
4314
- }, at = () => {
4315
- j.scrollBy({ left: 250, behavior: "smooth" });
4314
+ }, lt = () => {
4315
+ N && (K.length !== M ? r(12, N.scrollLeft -= 250, N) : r(12, N.scrollLeft = 0, N));
4316
+ }, ut = () => {
4317
+ N && (K.length !== M ? r(12, N.scrollLeft += 250, N) : r(12, N.scrollLeft = 0, N));
4316
4318
  };
4317
- const lt = (c) => {
4318
- c.data.type == "SliderData" && c.data.identity == m && (r(9, ce = c.data.data), r(11, Ee = new Array(ce.length).fill(!1)), H == "true" && _r()), c.data.type == "GoToHomepage" && ce.forEach((C, O) => {
4319
- C.path.endsWith("/casino") && (r(6, N = O), r(6, N));
4319
+ const ht = (c) => {
4320
+ c.data.type == "SliderData" && c.data.identity == m && (r(9, fe = c.data.data), r(11, K = new Array(fe.length).fill(!1)), H == "true" && xr()), c.data.type == "GoToHomepage" && fe.forEach((C, F) => {
4321
+ C.path.endsWith("/casino") && (r(6, M = F), r(6, M));
4320
4322
  });
4321
- }, yr = () => {
4322
- qi(b);
4323
- }, vr = (c, C, O) => {
4323
+ }, _r = () => {
4324
+ Ji(b);
4325
+ }, Er = (c, C, F) => {
4324
4326
  if (u == "secondaryMenu" && n && i && b && c.id) {
4325
4327
  let Z = new URL(`${n}/v1/casino/groups/${i}/${c.id}/subGroups?language=${b}`);
4326
4328
  fetch(Z.href).then((X) => X.json()).then((X) => {
4327
- X.index = C, r(10, _e = _e.concat(X)), H == "false" && window.postMessage(
4329
+ X.index = C, r(10, Ee = Ee.concat(X)), H == "false" && window.postMessage(
4328
4330
  {
4329
4331
  type: s,
4330
4332
  itemId: c.id,
@@ -4334,8 +4336,8 @@ function to(e, t, r) {
4334
4336
  window.location.href
4335
4337
  );
4336
4338
  const Q = [];
4337
- _e.map((Br) => (Br.items.forEach((ut) => {
4338
- Q.find((Ir) => ut.id == Ir) || Q.push(ut.id);
4339
+ Ee.map((Mr) => (Mr.items.forEach((ct) => {
4340
+ Q.find((Nr) => ct.id == Nr) || Q.push(ct.id);
4339
4341
  }), Q.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: Q }, window.location.href);
4340
4342
  }).then(() => {
4341
4343
  w.querySelectorAll(".DropDown") && xe();
@@ -4344,77 +4346,77 @@ function to(e, t, r) {
4344
4346
  u == "headerMain" && window.postMessage({ type: s, item: c }, window.location.href);
4345
4347
  }, xe = () => {
4346
4348
  const c = w.querySelectorAll(".DropDown");
4347
- document.activeElement.blur(), j.classList.add("isScrolling");
4349
+ document.activeElement.blur(), N.classList.add("isScrolling");
4348
4350
  for (let C = 0; C < c.length; C++)
4349
- c[C].style.transform = "translateX(-" + j.scrollLeft + "px)";
4350
- j.classList.remove("isScrolling");
4351
- }, _r = () => {
4352
- ce.forEach((c, C) => {
4353
- var O;
4354
- ((O = c == null ? void 0 : c.subGroups) == null ? void 0 : O.count) > 0 && (r(11, Ee[C] = !0, Ee), vr(c, C));
4351
+ c[C].style.transform = "translateX(-" + N.scrollLeft + "px)";
4352
+ N.classList.remove("isScrolling");
4353
+ }, xr = () => {
4354
+ fe.forEach((c, C) => {
4355
+ var F;
4356
+ ((F = c == null ? void 0 : c.subGroups) == null ? void 0 : F.count) > 0 && (r(11, K[C] = !0, K), Er(c, C));
4355
4357
  });
4356
- }, Er = (c) => {
4358
+ }, Cr = (c) => {
4357
4359
  let C = "";
4358
- return c.id === "LOBBY" ? C = x : c.id === "MYGAMES" && (C = L), c.icon || C;
4360
+ return c.id === "LOBBY" ? C = x : c.id === "MYGAMES" && (C = O), c.icon || C;
4359
4361
  };
4360
- Xr(() => (window.addEventListener("message", lt, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4362
+ zr(() => (window.addEventListener("message", ht, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4361
4363
  () => {
4362
- j.addEventListener("scroll", xe);
4364
+ N.addEventListener("scroll", xe);
4363
4365
  },
4364
4366
  500
4365
4367
  ), window.postMessage({ type: "SliderLoaded", identity: m }), () => {
4366
- window.removeEventListener("message", lt), w.removeEventListener("scroll", xe);
4368
+ window.removeEventListener("message", ht), w.removeEventListener("scroll", xe);
4367
4369
  }));
4368
- const xr = () => st(), Cr = (c, C, O, Z, X) => {
4369
- Fe(c, C, O, Z, "secondary"), X.stopPropagation();
4370
- }, wr = (c, C, O) => {
4371
- Fe(c, C, null, null, "main"), O.preventDefault();
4370
+ const wr = () => lt(), Hr = (c, C, F, Z, X) => {
4371
+ Fe(c, C, F, Z, "secondary"), X.stopPropagation();
4372
+ }, Sr = (c, C, F) => {
4373
+ Fe(c, C, null, null, "main"), F.preventDefault();
4372
4374
  };
4373
- function Hr(c) {
4374
- de[c ? "unshift" : "push"](() => {
4375
+ function Tr(c) {
4376
+ pe[c ? "unshift" : "push"](() => {
4375
4377
  w = c, r(5, w);
4376
4378
  });
4377
4379
  }
4378
- function Sr(c) {
4379
- de[c ? "unshift" : "push"](() => {
4380
- j = c, r(12, j);
4380
+ function Ar(c) {
4381
+ pe[c ? "unshift" : "push"](() => {
4382
+ N = c, r(12, N);
4381
4383
  });
4382
4384
  }
4383
- const Tr = () => at();
4384
- function Ar(c) {
4385
- de[c ? "unshift" : "push"](() => {
4386
- $ = c, r(4, $);
4385
+ const Br = () => ut();
4386
+ function Ir(c) {
4387
+ pe[c ? "unshift" : "push"](() => {
4388
+ j = c, r(4, j);
4387
4389
  });
4388
4390
  }
4389
4391
  return e.$$set = (c) => {
4390
- "endpoint" in c && r(17, n = c.endpoint), "datasource" in c && r(18, i = c.datasource), "onclickeventname" in c && r(19, o = c.onclickeventname), "actionevent" in c && r(20, s = c.actionevent), "favoritesnumber" in c && r(21, a = c.favoritesnumber), "location" in c && r(0, u = c.location), "clientstyling" in c && r(22, l = c.clientstyling), "clientstylingurl" in c && r(23, h = 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, H = c.showsubgroups), "categoriesicon" in c && r(3, _ = c.categoriesicon), "lobbyiconimage" in c && r(29, x = c.lobbyiconimage), "mygamesiconimage" in c && r(30, L = c.mygamesiconimage), "mbsource" in c && r(31, I = c.mbsource);
4392
+ "endpoint" in c && r(17, n = c.endpoint), "datasource" in c && r(18, i = c.datasource), "onclickeventname" in c && r(19, o = c.onclickeventname), "actionevent" in c && r(20, s = c.actionevent), "favoritesnumber" in c && r(21, a = c.favoritesnumber), "location" in c && r(0, u = c.location), "clientstyling" in c && r(22, l = c.clientstyling), "clientstylingurl" in c && r(23, h = 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, H = c.showsubgroups), "categoriesicon" in c && r(3, _ = c.categoriesicon), "lobbyiconimage" in c && r(29, x = c.lobbyiconimage), "mygamesiconimage" in c && r(30, O = c.mygamesiconimage), "mbsource" in c && r(31, I = c.mbsource);
4391
4393
  }, e.$$.update = () => {
4392
4394
  e.$$.dirty[0] & /*activeindex*/
4393
4395
  2, e.$$.dirty[0] & /*translationurl*/
4394
- 33554432 && f && k(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4395
- 4194320 && l && $ && on($, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4396
- 8388624 && h && $ && sn($, h), e.$$.dirty[0] & /*customStylingContainer*/
4396
+ 33554432 && f && $(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4397
+ 4194320 && l && j && an(j, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4398
+ 8388624 && h && j && ln(j, h), e.$$.dirty[0] & /*customStylingContainer*/
4397
4399
  16 | e.$$.dirty[1] & /*mbsource*/
4398
- 1 && I && $ && an($, `${I}.Style`), e.$$.dirty[0] & /*lang*/
4399
- 268435456 && b && yr();
4400
+ 1 && I && j && un(j, `${I}.Style`), e.$$.dirty[0] & /*lang*/
4401
+ 268435456 && b && _r();
4400
4402
  }, [
4401
4403
  u,
4402
4404
  d,
4403
4405
  H,
4404
4406
  _,
4405
- $,
4407
+ j,
4406
4408
  w,
4407
- N,
4409
+ M,
4408
4410
  P,
4409
4411
  V,
4410
- ce,
4411
- _e,
4412
+ fe,
4412
4413
  Ee,
4413
- j,
4414
+ K,
4415
+ N,
4414
4416
  Fe,
4415
- st,
4416
- at,
4417
- Er,
4417
+ lt,
4418
+ ut,
4419
+ Cr,
4418
4420
  n,
4419
4421
  i,
4420
4422
  o,
@@ -4428,25 +4430,25 @@ function to(e, t, r) {
4428
4430
  g,
4429
4431
  b,
4430
4432
  x,
4431
- L,
4433
+ O,
4432
4434
  I,
4433
- xr,
4434
- Cr,
4435
4435
  wr,
4436
4436
  Hr,
4437
4437
  Sr,
4438
4438
  Tr,
4439
- Ar
4439
+ Ar,
4440
+ Br,
4441
+ Ir
4440
4442
  ];
4441
4443
  }
4442
- class ro extends rn {
4444
+ class no extends on {
4443
4445
  constructor(t) {
4444
- super(), en(
4446
+ super(), rn(
4445
4447
  this,
4446
4448
  t,
4449
+ ro,
4447
4450
  to,
4448
- eo,
4449
- jt,
4451
+ Xt,
4450
4452
  {
4451
4453
  endpoint: 17,
4452
4454
  datasource: 18,
@@ -4468,7 +4470,7 @@ class ro extends rn {
4468
4470
  mygamesiconimage: 30,
4469
4471
  mbsource: 31
4470
4472
  },
4471
- Ji,
4473
+ Yi,
4472
4474
  [-1, -1]
4473
4475
  );
4474
4476
  }
@@ -4587,7 +4589,7 @@ class ro extends rn {
4587
4589
  this.$$set({ mbsource: t }), A();
4588
4590
  }
4589
4591
  }
4590
- tn(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);
4592
+ nn(no, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4591
4593
  export {
4592
- ro as default
4594
+ no as default
4593
4595
  };