@everymatrix/casino-categories 1.54.8 → 1.54.10

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.
@@ -6,7 +6,7 @@ function mt(e) {
6
6
  function ze() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function oe(e) {
9
+ function se(e) {
10
10
  e.forEach(mt);
11
11
  }
12
12
  function Fe(e) {
@@ -143,7 +143,7 @@ function M() {
143
143
  }
144
144
  function tr(e) {
145
145
  if (e.fragment !== null) {
146
- e.update(), oe(e.before_update);
146
+ e.update(), se(e.before_update);
147
147
  const t = e.dirty;
148
148
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(we);
149
149
  }
@@ -159,28 +159,28 @@ function ir(e, t) {
159
159
  function he(e) {
160
160
  return e?.length !== void 0 ? e : Array.from(e);
161
161
  }
162
- function sr(e, t, r) {
162
+ function or(e, t, r) {
163
163
  const { fragment: n, after_update: i } = e.$$;
164
164
  n && n.m(t, r), we(() => {
165
- const s = e.$$.on_mount.map(mt).filter(Fe);
166
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : oe(s), e.$$.on_mount = [];
165
+ const o = e.$$.on_mount.map(mt).filter(Fe);
166
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
167
167
  }), i.forEach(we);
168
168
  }
169
- function or(e, t) {
169
+ function sr(e, t) {
170
170
  const r = e.$$;
171
- r.fragment !== null && (rr(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
171
+ r.fragment !== null && (rr(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
172
172
  }
173
173
  function ar(e, t) {
174
174
  e.$$.dirty[0] === -1 && (z.push(e), er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
175
175
  }
176
- function ur(e, t, r, n, i, s, o = null, u = [-1]) {
176
+ function ur(e, t, r, n, i, o, s = null, u = [-1]) {
177
177
  const f = je;
178
178
  ne(e);
179
179
  const a = e.$$ = {
180
180
  fragment: null,
181
181
  ctx: [],
182
182
  // state
183
- props: s,
183
+ props: o,
184
184
  update: L,
185
185
  not_equal: i,
186
186
  bound: ze(),
@@ -197,18 +197,18 @@ function ur(e, t, r, n, i, s, o = null, u = [-1]) {
197
197
  skip_bound: !1,
198
198
  root: t.target || f.$$.root
199
199
  };
200
- o && o(a.root);
200
+ s && s(a.root);
201
201
  let h = !1;
202
202
  if (a.ctx = r ? r(e, t.props || {}, (c, l, ...d) => {
203
203
  const p = d.length ? d[0] : l;
204
204
  return a.ctx && i(a.ctx[c], a.ctx[c] = p) && (!a.skip_bound && a.bound[c] && a.bound[c](p), h && ar(e, c)), l;
205
- }) : [], a.update(), h = !0, oe(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
205
+ }) : [], a.update(), h = !0, se(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
206
206
  if (t.hydrate) {
207
207
  const c = qt(t.target);
208
208
  a.fragment && a.fragment.l(c), c.forEach(j);
209
209
  } else
210
210
  a.fragment && a.fragment.c();
211
- t.intro && ir(e.$$.fragment), sr(e, t.target, t.anchor), M();
211
+ t.intro && ir(e.$$.fragment), or(e, t.target, t.anchor), M();
212
212
  }
213
213
  ne(f);
214
214
  }
@@ -252,20 +252,20 @@ typeof HTMLElement == "function" && (yt = class extends HTMLElement {
252
252
  if (this.$$cn = !0, !this.$$c) {
253
253
  let e = function(i) {
254
254
  return () => {
255
- let s;
255
+ let o;
256
256
  return {
257
257
  c: function() {
258
- s = O("slot"), i !== "default" && B(s, "name", i);
258
+ o = O("slot"), i !== "default" && B(o, "name", i);
259
259
  },
260
260
  /**
261
261
  * @param {HTMLElement} target
262
262
  * @param {HTMLElement} [anchor]
263
263
  */
264
264
  m: function(f, a) {
265
- Y(f, s, a);
265
+ Y(f, o, a);
266
266
  },
267
267
  d: function(f) {
268
- f && j(s);
268
+ f && j(o);
269
269
  }
270
270
  };
271
271
  };
@@ -276,8 +276,8 @@ typeof HTMLElement == "function" && (yt = class extends HTMLElement {
276
276
  for (const i of this.$$s)
277
277
  i in r && (t[i] = [e(i)]);
278
278
  for (const i of this.attributes) {
279
- const s = this.$$g_p(i.name);
280
- s in this.$$d || (this.$$d[s] = fe(s, i.value, this.$$p_d, "toProp"));
279
+ const o = this.$$g_p(i.name);
280
+ o in this.$$d || (this.$$d[o] = fe(o, i.value, this.$$p_d, "toProp"));
281
281
  }
282
282
  for (const i in this.$$p_d)
283
283
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -295,21 +295,21 @@ typeof HTMLElement == "function" && (yt = class extends HTMLElement {
295
295
  this.$$r = !0;
296
296
  for (const i in this.$$p_d)
297
297
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
298
- const s = fe(
298
+ const o = fe(
299
299
  i,
300
300
  this.$$d[i],
301
301
  this.$$p_d,
302
302
  "toAttribute"
303
303
  );
304
- s == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, s);
304
+ o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
305
305
  }
306
306
  this.$$r = !1;
307
307
  };
308
308
  this.$$c.$$.after_update.push(n), n();
309
309
  for (const i in this.$$l)
310
- for (const s of this.$$l[i]) {
311
- const o = this.$$c.$on(i, s);
312
- this.$$l_u.set(s, o);
310
+ for (const o of this.$$l[i]) {
311
+ const s = this.$$c.$on(i, o);
312
+ this.$$l_u.set(o, s);
313
313
  }
314
314
  this.$$l = {};
315
315
  }
@@ -359,8 +359,8 @@ function fe(e, t, r, n) {
359
359
  return t;
360
360
  }
361
361
  }
362
- function hr(e, t, r, n, i, s) {
363
- let o = class extends yt {
362
+ function hr(e, t, r, n, i, o) {
363
+ let s = class extends yt {
364
364
  constructor() {
365
365
  super(e, r, i), this.$$p_d = t;
366
366
  }
@@ -371,7 +371,7 @@ function hr(e, t, r, n, i, s) {
371
371
  }
372
372
  };
373
373
  return Object.keys(t).forEach((u) => {
374
- Object.defineProperty(o.prototype, u, {
374
+ Object.defineProperty(s.prototype, u, {
375
375
  get() {
376
376
  return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
377
377
  },
@@ -380,13 +380,13 @@ function hr(e, t, r, n, i, s) {
380
380
  }
381
381
  });
382
382
  }), n.forEach((u) => {
383
- Object.defineProperty(o.prototype, u, {
383
+ Object.defineProperty(s.prototype, u, {
384
384
  get() {
385
385
  return this.$$c?.[u];
386
386
  }
387
387
  });
388
388
  }), e.element = /** @type {any} */
389
- o, o;
389
+ s, s;
390
390
  }
391
391
  class lr {
392
392
  /**
@@ -407,7 +407,7 @@ class lr {
407
407
  $$set = void 0;
408
408
  /** @returns {void} */
409
409
  $destroy() {
410
- or(this, 1), this.$destroy = L;
410
+ sr(this, 1), this.$destroy = L;
411
411
  }
412
412
  /**
413
413
  * @template {Extract<keyof Events, string>} K
@@ -455,23 +455,23 @@ function be(e, t = L) {
455
455
  }
456
456
  }
457
457
  }
458
- function s(u) {
458
+ function o(u) {
459
459
  i(u(e));
460
460
  }
461
- function o(u, f = L) {
461
+ function s(u, f = L) {
462
462
  const a = [u, f];
463
- return n.add(a), n.size === 1 && (r = t(i, s) || L), u(e), () => {
463
+ return n.add(a), n.size === 1 && (r = t(i, o) || L), u(e), () => {
464
464
  n.delete(a), n.size === 0 && r && (r(), r = null);
465
465
  };
466
466
  }
467
- return { set: i, update: s, subscribe: o };
467
+ return { set: i, update: o, subscribe: s };
468
468
  }
469
469
  function K(e, t, r) {
470
470
  const n = !Array.isArray(e), i = n ? [e] : e;
471
471
  if (!i.every(Boolean))
472
472
  throw new Error("derived() expects stores as input, got a falsy value");
473
- const s = t.length < 2;
474
- return cr(r, (o, u) => {
473
+ const o = t.length < 2;
474
+ return cr(r, (s, u) => {
475
475
  let f = !1;
476
476
  const a = [];
477
477
  let h = 0, c = L;
@@ -479,8 +479,8 @@ function K(e, t, r) {
479
479
  if (h)
480
480
  return;
481
481
  c();
482
- const p = t(n ? a[0] : a, o, u);
483
- s ? o(p) : c = Fe(p) ? p : L;
482
+ const p = t(n ? a[0] : a, s, u);
483
+ o ? s(p) : c = Fe(p) ? p : L;
484
484
  }, d = i.map(
485
485
  (p, g) => dt(
486
486
  p,
@@ -493,7 +493,7 @@ function K(e, t, r) {
493
493
  )
494
494
  );
495
495
  return f = !0, l(), function() {
496
- oe(d), c(), f = !1;
496
+ se(d), c(), f = !1;
497
497
  };
498
498
  });
499
499
  }
@@ -559,8 +559,8 @@ function Hr(e, t, r) {
559
559
  }
560
560
  function Z(e, t, r) {
561
561
  r = r || {}, r.arrayMerge = r.arrayMerge || xr, r.isMergeableObject = r.isMergeableObject || mr, r.cloneUnlessOtherwiseSpecified = ie;
562
- var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
563
- return s ? n ? r.arrayMerge(e, t, r) : Hr(e, t, r) : ie(t, r);
562
+ var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
563
+ return o ? n ? r.arrayMerge(e, t, r) : Hr(e, t, r) : ie(t, r);
564
564
  }
565
565
  Z.all = function(t, r) {
566
566
  if (!Array.isArray(t))
@@ -591,7 +591,7 @@ var E = function() {
591
591
  return E = Object.assign || function(t) {
592
592
  for (var r, n = 1, i = arguments.length; n < i; n++) {
593
593
  r = arguments[n];
594
- for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
594
+ for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
595
595
  }
596
596
  return t;
597
597
  }, E.apply(this, arguments);
@@ -605,9 +605,9 @@ function Or(e, t) {
605
605
  return r;
606
606
  }
607
607
  function Te(e, t, r) {
608
- if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
609
- (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
610
- return e.concat(s || Array.prototype.slice.call(t));
608
+ if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
609
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
610
+ return e.concat(o || Array.prototype.slice.call(t));
611
611
  }
612
612
  function Ce(e, t) {
613
613
  var r = t && t.cache ? t.cache : $r, n = t && t.serializer ? t.serializer : Lr, i = t && t.strategy ? t.strategy : Nr;
@@ -620,12 +620,12 @@ function Pr(e) {
620
620
  return e == null || typeof e == "number" || typeof e == "boolean";
621
621
  }
622
622
  function wr(e, t, r, n) {
623
- var i = Pr(n) ? n : r(n), s = t.get(i);
624
- return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
623
+ var i = Pr(n) ? n : r(n), o = t.get(i);
624
+ return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
625
625
  }
626
626
  function Et(e, t, r) {
627
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
628
- return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
627
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
628
+ return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
629
629
  }
630
630
  function xt(e, t, r, n, i) {
631
631
  return r.bind(t, e, n, i);
@@ -801,10 +801,10 @@ function jr(e) {
801
801
  for (var t = e.split(Fr).filter(function(l) {
802
802
  return l.length > 0;
803
803
  }), r = [], n = 0, i = t; n < i.length; n++) {
804
- var s = i[n], o = s.split("/");
805
- if (o.length === 0)
804
+ var o = i[n], s = o.split("/");
805
+ if (s.length === 0)
806
806
  throw new Error("Invalid number skeleton");
807
- for (var u = o[0], f = o.slice(1), a = 0, h = f; a < h.length; a++) {
807
+ for (var u = s[0], f = s.slice(1), a = 0, h = f; a < h.length; a++) {
808
808
  var c = h[a];
809
809
  if (c.length === 0)
810
810
  throw new Error("Invalid number skeleton");
@@ -990,16 +990,16 @@ function zr(e) {
990
990
  i.stem.replace(qe, function(f, a, h, c, l, d) {
991
991
  return h === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : l && d ? (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length + d.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
992
992
  });
993
- var s = i.options[0];
994
- s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), Ye(s)));
993
+ var o = i.options[0];
994
+ o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Ye(o)));
995
995
  continue;
996
996
  }
997
997
  if (Pt.test(i.stem)) {
998
998
  t = E(E({}, t), Ye(i.stem));
999
999
  continue;
1000
1000
  }
1001
- var o = Nt(i.stem);
1002
- o && (t = E(E({}, t), o));
1001
+ var s = Nt(i.stem);
1002
+ s && (t = E(E({}, t), s));
1003
1003
  var u = Xr(i.stem);
1004
1004
  u && (t = E(E({}, t), u));
1005
1005
  }
@@ -2424,12 +2424,12 @@ function Wr(e, t) {
2424
2424
  for (var r = "", n = 0; n < e.length; n++) {
2425
2425
  var i = e.charAt(n);
2426
2426
  if (i === "j") {
2427
- for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2428
- s++, n++;
2429
- var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), f = "a", a = Zr(t);
2427
+ for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2428
+ o++, n++;
2429
+ var s = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), f = "a", a = Zr(t);
2430
2430
  for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
2431
2431
  r += f;
2432
- for (; o-- > 0; )
2432
+ for (; s-- > 0; )
2433
2433
  r = a + r;
2434
2434
  } else i === "J" ? r += "H" : r += i;
2435
2435
  }
@@ -2461,12 +2461,12 @@ var Ae, Qr = new RegExp("^".concat(Ot.source, "*")), Jr = new RegExp("".concat(O
2461
2461
  function _(e, t) {
2462
2462
  return { start: e, end: t };
2463
2463
  }
2464
- var qr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yr = !!String.fromCodePoint, Kr = !!Object.fromEntries, en = !!String.prototype.codePointAt, tn = !!String.prototype.trimStart, rn = !!String.prototype.trimEnd, nn = !!Number.isSafeInteger, sn = nn ? Number.isSafeInteger : function(e) {
2464
+ var qr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yr = !!String.fromCodePoint, Kr = !!Object.fromEntries, en = !!String.prototype.codePointAt, tn = !!String.prototype.trimStart, rn = !!String.prototype.trimEnd, nn = !!Number.isSafeInteger, on = nn ? Number.isSafeInteger : function(e) {
2465
2465
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2466
2466
  }, Le = !0;
2467
2467
  try {
2468
- var on = Lt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2469
- Le = ((Ae = on.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
2468
+ var sn = Lt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2469
+ Le = ((Ae = sn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
2470
2470
  } catch {
2471
2471
  Le = !1;
2472
2472
  }
@@ -2485,10 +2485,10 @@ var et = qr ? (
2485
2485
  function() {
2486
2486
  for (var t = [], r = 0; r < arguments.length; r++)
2487
2487
  t[r] = arguments[r];
2488
- for (var n = "", i = t.length, s = 0, o; i > s; ) {
2489
- if (o = t[s++], o > 1114111)
2490
- throw RangeError(o + " is not a valid code point");
2491
- n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2488
+ for (var n = "", i = t.length, o = 0, s; i > o; ) {
2489
+ if (s = t[o++], s > 1114111)
2490
+ throw RangeError(s + " is not a valid code point");
2491
+ n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
2492
2492
  }
2493
2493
  return n;
2494
2494
  }
@@ -2498,8 +2498,8 @@ var et = qr ? (
2498
2498
  // Ponyfill
2499
2499
  function(t) {
2500
2500
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2501
- var s = i[n], o = s[0], u = s[1];
2502
- r[o] = u;
2501
+ var o = i[n], s = o[0], u = o[1];
2502
+ r[s] = u;
2503
2503
  }
2504
2504
  return r;
2505
2505
  }
@@ -2514,8 +2514,8 @@ var et = qr ? (
2514
2514
  function(t, r) {
2515
2515
  var n = t.length;
2516
2516
  if (!(r < 0 || r >= n)) {
2517
- var i = t.charCodeAt(r), s;
2518
- return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2517
+ var i = t.charCodeAt(r), o;
2518
+ return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2519
2519
  }
2520
2520
  }
2521
2521
  ), an = tn ? (
@@ -2573,35 +2573,35 @@ var hn = (
2573
2573
  return this.parseMessage(0, "", !1);
2574
2574
  }, e.prototype.parseMessage = function(t, r, n) {
2575
2575
  for (var i = []; !this.isEOF(); ) {
2576
- var s = this.char();
2577
- if (s === 123) {
2578
- var o = this.parseArgument(t, n);
2579
- if (o.err)
2580
- return o;
2581
- i.push(o.val);
2576
+ var o = this.char();
2577
+ if (o === 123) {
2578
+ var s = this.parseArgument(t, n);
2579
+ if (s.err)
2580
+ return s;
2581
+ i.push(s.val);
2582
2582
  } else {
2583
- if (s === 125 && t > 0)
2583
+ if (o === 125 && t > 0)
2584
2584
  break;
2585
- if (s === 35 && (r === "plural" || r === "selectordinal")) {
2585
+ if (o === 35 && (r === "plural" || r === "selectordinal")) {
2586
2586
  var u = this.clonePosition();
2587
2587
  this.bump(), i.push({
2588
2588
  type: T.pound,
2589
2589
  location: _(u, this.clonePosition())
2590
2590
  });
2591
- } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2591
+ } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2592
2592
  if (n)
2593
2593
  break;
2594
2594
  return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2595
- } else if (s === 60 && !this.ignoreTag && Re(this.peek() || 0)) {
2596
- var o = this.parseTag(t, r);
2597
- if (o.err)
2598
- return o;
2599
- i.push(o.val);
2595
+ } else if (o === 60 && !this.ignoreTag && Re(this.peek() || 0)) {
2596
+ var s = this.parseTag(t, r);
2597
+ if (s.err)
2598
+ return s;
2599
+ i.push(s.val);
2600
2600
  } else {
2601
- var o = this.parseLiteral(t, r);
2602
- if (o.err)
2603
- return o;
2604
- i.push(o.val);
2601
+ var s = this.parseLiteral(t, r);
2602
+ if (s.err)
2603
+ return s;
2604
+ i.push(s.val);
2605
2605
  }
2606
2606
  }
2607
2607
  }
@@ -2620,10 +2620,10 @@ var hn = (
2620
2620
  err: null
2621
2621
  };
2622
2622
  if (this.bumpIf(">")) {
2623
- var s = this.parseMessage(t + 1, r, !0);
2624
- if (s.err)
2625
- return s;
2626
- var o = s.val, u = this.clonePosition();
2623
+ var o = this.parseMessage(t + 1, r, !0);
2624
+ if (o.err)
2625
+ return o;
2626
+ var s = o.val, u = this.clonePosition();
2627
2627
  if (this.bumpIf("</")) {
2628
2628
  if (this.isEOF() || !Re(this.char()))
2629
2629
  return this.error(y.INVALID_TAG, _(u, this.clonePosition()));
@@ -2632,7 +2632,7 @@ var hn = (
2632
2632
  val: {
2633
2633
  type: T.tag,
2634
2634
  value: i,
2635
- children: o,
2635
+ children: s,
2636
2636
  location: _(n, this.clonePosition())
2637
2637
  },
2638
2638
  err: null
@@ -2648,16 +2648,16 @@ var hn = (
2648
2648
  return this.message.slice(t, this.offset());
2649
2649
  }, e.prototype.parseLiteral = function(t, r) {
2650
2650
  for (var n = this.clonePosition(), i = ""; ; ) {
2651
- var s = this.tryParseQuote(r);
2652
- if (s) {
2653
- i += s;
2654
- continue;
2655
- }
2656
- var o = this.tryParseUnquoted(t, r);
2651
+ var o = this.tryParseQuote(r);
2657
2652
  if (o) {
2658
2653
  i += o;
2659
2654
  continue;
2660
2655
  }
2656
+ var s = this.tryParseUnquoted(t, r);
2657
+ if (s) {
2658
+ i += s;
2659
+ continue;
2660
+ }
2661
2661
  var u = this.tryParseLeftAngleBracket();
2662
2662
  if (u) {
2663
2663
  i += u;
@@ -2742,13 +2742,13 @@ var hn = (
2742
2742
  }, e.prototype.parseIdentifierIfPossible = function() {
2743
2743
  var t = this.clonePosition(), r = this.offset(), n = $e(this.message, r), i = r + n.length;
2744
2744
  this.bumpTo(i);
2745
- var s = this.clonePosition(), o = _(t, s);
2746
- return { value: n, location: o };
2745
+ var o = this.clonePosition(), s = _(t, o);
2746
+ return { value: n, location: s };
2747
2747
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2748
- var s, o = this.clonePosition(), u = this.parseIdentifierIfPossible().value, f = this.clonePosition();
2748
+ var o, s = this.clonePosition(), u = this.parseIdentifierIfPossible().value, f = this.clonePosition();
2749
2749
  switch (u) {
2750
2750
  case "":
2751
- return this.error(y.EXPECT_ARGUMENT_TYPE, _(o, f));
2751
+ return this.error(y.EXPECT_ARGUMENT_TYPE, _(s, f));
2752
2752
  case "number":
2753
2753
  case "date":
2754
2754
  case "time": {
@@ -2799,7 +2799,7 @@ var hn = (
2799
2799
  type: u === "number" ? T.number : u === "date" ? T.date : T.time,
2800
2800
  value: n,
2801
2801
  location: g,
2802
- style: (s = a?.style) !== null && s !== void 0 ? s : null
2802
+ style: (o = a?.style) !== null && o !== void 0 ? o : null
2803
2803
  },
2804
2804
  err: null
2805
2805
  };
@@ -2849,7 +2849,7 @@ var hn = (
2849
2849
  };
2850
2850
  }
2851
2851
  default:
2852
- return this.error(y.INVALID_ARGUMENT_TYPE, _(o, f));
2852
+ return this.error(y.INVALID_ARGUMENT_TYPE, _(s, f));
2853
2853
  }
2854
2854
  }, e.prototype.tryParseArgumentClose = function(t) {
2855
2855
  return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -2905,7 +2905,7 @@ var hn = (
2905
2905
  err: null
2906
2906
  };
2907
2907
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2908
- for (var s, o = !1, u = [], f = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
2908
+ for (var o, s = !1, u = [], f = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
2909
2909
  if (a.length === 0) {
2910
2910
  var c = this.clonePosition();
2911
2911
  if (r !== "select" && this.bumpIf("=")) {
@@ -2918,7 +2918,7 @@ var hn = (
2918
2918
  }
2919
2919
  if (f.has(a))
2920
2920
  return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2921
- a === "other" && (o = !0), this.bumpSpace();
2921
+ a === "other" && (s = !0), this.bumpSpace();
2922
2922
  var d = this.clonePosition();
2923
2923
  if (!this.bumpIf("{"))
2924
2924
  return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
@@ -2934,21 +2934,21 @@ var hn = (
2934
2934
  value: p.val,
2935
2935
  location: _(d, this.clonePosition())
2936
2936
  }
2937
- ]), f.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, h = s.location;
2937
+ ]), f.add(a), this.bumpSpace(), o = this.parseIdentifierIfPossible(), a = o.value, h = o.location;
2938
2938
  }
2939
- return u.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
2939
+ return u.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
2940
2940
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2941
2941
  var n = 1, i = this.clonePosition();
2942
2942
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
2943
- for (var s = !1, o = 0; !this.isEOF(); ) {
2943
+ for (var o = !1, s = 0; !this.isEOF(); ) {
2944
2944
  var u = this.char();
2945
2945
  if (u >= 48 && u <= 57)
2946
- s = !0, o = o * 10 + (u - 48), this.bump();
2946
+ o = !0, s = s * 10 + (u - 48), this.bump();
2947
2947
  else
2948
2948
  break;
2949
2949
  }
2950
2950
  var f = _(i, this.clonePosition());
2951
- return s ? (o *= n, sn(o) ? { val: o, err: null } : this.error(r, f)) : this.error(t, f);
2951
+ return o ? (s *= n, on(s) ? { val: s, err: null } : this.error(r, f)) : this.error(t, f);
2952
2952
  }, e.prototype.offset = function() {
2953
2953
  return this.position.offset;
2954
2954
  }, e.prototype.isEOF = function() {
@@ -3055,8 +3055,8 @@ var _e = (
3055
3055
  function(e) {
3056
3056
  ye(t, e);
3057
3057
  function t(r, n, i) {
3058
- var s = e.call(this, r) || this;
3059
- return s.code = n, s.originalMessage = i, s;
3058
+ var o = e.call(this, r) || this;
3059
+ return o.code = n, o.originalMessage = i, o;
3060
3060
  }
3061
3061
  return t.prototype.toString = function() {
3062
3062
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
@@ -3066,8 +3066,8 @@ var _e = (
3066
3066
  /** @class */
3067
3067
  function(e) {
3068
3068
  ye(t, e);
3069
- function t(r, n, i, s) {
3070
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, s) || this;
3069
+ function t(r, n, i, o) {
3070
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
3071
3071
  }
3072
3072
  return t;
3073
3073
  }(_e)
@@ -3102,7 +3102,7 @@ function dn(e) {
3102
3102
  function bn(e) {
3103
3103
  return typeof e == "function";
3104
3104
  }
3105
- function ce(e, t, r, n, i, s, o) {
3105
+ function ce(e, t, r, n, i, o, s) {
3106
3106
  if (e.length === 1 && Je(e[0]))
3107
3107
  return [
3108
3108
  {
@@ -3120,15 +3120,15 @@ function ce(e, t, r, n, i, s, o) {
3120
3120
  continue;
3121
3121
  }
3122
3122
  if (Ur(h)) {
3123
- typeof s == "number" && u.push({
3123
+ typeof o == "number" && u.push({
3124
3124
  type: P.literal,
3125
- value: r.getNumberFormat(t).format(s)
3125
+ value: r.getNumberFormat(t).format(o)
3126
3126
  });
3127
3127
  continue;
3128
3128
  }
3129
3129
  var c = h.value;
3130
3130
  if (!(i && c in i))
3131
- throw new pn(c, o);
3131
+ throw new pn(c, s);
3132
3132
  var l = i[c];
3133
3133
  if (Rr(h)) {
3134
3134
  (!l || typeof l == "string" || typeof l == "number") && (l = typeof l == "string" || typeof l == "number" ? String(l) : ""), u.push({
@@ -3164,8 +3164,8 @@ function ce(e, t, r, n, i, s, o) {
3164
3164
  if (Bt(h)) {
3165
3165
  var p = h.children, g = h.value, x = i[g];
3166
3166
  if (!bn(x))
3167
- throw new mn(g, "function", o);
3168
- var m = ce(p, t, r, n, i, s), C = x(m.map(function(S) {
3167
+ throw new mn(g, "function", s);
3168
+ var m = ce(p, t, r, n, i, o), C = x(m.map(function(S) {
3169
3169
  return S.value;
3170
3170
  }));
3171
3171
  Array.isArray(C) || (C = [C]), u.push.apply(u, C.map(function(S) {
@@ -3178,7 +3178,7 @@ function ce(e, t, r, n, i, s, o) {
3178
3178
  if (Ht(h)) {
3179
3179
  var H = h.options[l] || h.options.other;
3180
3180
  if (!H)
3181
- throw new nt(h.value, l, Object.keys(h.options), o);
3181
+ throw new nt(h.value, l, Object.keys(h.options), s);
3182
3182
  u.push.apply(u, ce(H.value, t, r, n, i));
3183
3183
  continue;
3184
3184
  }
@@ -3188,12 +3188,12 @@ function ce(e, t, r, n, i, s, o) {
3188
3188
  if (!Intl.PluralRules)
3189
3189
  throw new _e(`Intl.PluralRules is not available in this environment.
3190
3190
  Try polyfilling it using "@formatjs/intl-pluralrules"
3191
- `, J.MISSING_INTL_API, o);
3191
+ `, J.MISSING_INTL_API, s);
3192
3192
  var I = r.getPluralRules(t, { type: h.pluralType }).select(l - (h.offset || 0));
3193
3193
  H = h.options[I] || h.options.other;
3194
3194
  }
3195
3195
  if (!H)
3196
- throw new nt(h.value, l, Object.keys(h.options), o);
3196
+ throw new nt(h.value, l, Object.keys(h.options), s);
3197
3197
  u.push.apply(u, ce(H.value, t, r, n, i, l - (h.offset || 0)));
3198
3198
  continue;
3199
3199
  }
@@ -3261,13 +3261,13 @@ var xn = (
3261
3261
  function() {
3262
3262
  function e(t, r, n, i) {
3263
3263
  r === void 0 && (r = e.defaultLocale);
3264
- var s = this;
3264
+ var o = this;
3265
3265
  if (this.formatterCache = {
3266
3266
  number: {},
3267
3267
  dateTime: {},
3268
3268
  pluralRules: {}
3269
3269
  }, this.format = function(f) {
3270
- var a = s.formatToParts(f);
3270
+ var a = o.formatToParts(f);
3271
3271
  if (a.length === 1)
3272
3272
  return a[0].value;
3273
3273
  var h = a.reduce(function(c, l) {
@@ -3275,20 +3275,20 @@ var xn = (
3275
3275
  }, []);
3276
3276
  return h.length <= 1 ? h[0] || "" : h;
3277
3277
  }, this.formatToParts = function(f) {
3278
- return ce(s.ast, s.locales, s.formatters, s.formats, f, void 0, s.message);
3278
+ return ce(o.ast, o.locales, o.formatters, o.formats, f, void 0, o.message);
3279
3279
  }, this.resolvedOptions = function() {
3280
3280
  var f;
3281
3281
  return {
3282
- locale: ((f = s.resolvedLocale) === null || f === void 0 ? void 0 : f.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3282
+ locale: ((f = o.resolvedLocale) === null || f === void 0 ? void 0 : f.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3283
3283
  };
3284
3284
  }, this.getAst = function() {
3285
- return s.ast;
3285
+ return o.ast;
3286
3286
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3287
3287
  if (this.message = t, !e.__parse)
3288
3288
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3289
- var o = i || {};
3290
- o.formatters;
3291
- var u = Or(o, ["formatters"]);
3289
+ var s = i || {};
3290
+ s.formatters;
3291
+ var u = Or(s, ["formatters"]);
3292
3292
  this.ast = e.__parse(t, E(E({}, u), { locale: this.resolvedLocale }));
3293
3293
  } else
3294
3294
  this.ast = t;
@@ -3378,9 +3378,9 @@ function vn(e, t) {
3378
3378
  for (let i = 0; i < r.length; i++)
3379
3379
  if (typeof n == "object") {
3380
3380
  if (i > 0) {
3381
- const s = r.slice(i, r.length).join(".");
3382
- if (s in n) {
3383
- n = n[s];
3381
+ const o = r.slice(i, r.length).join(".");
3382
+ if (o in n) {
3383
+ n = n[o];
3384
3384
  break;
3385
3385
  }
3386
3386
  }
@@ -3396,9 +3396,9 @@ const G = {}, Tn = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][
3396
3396
  return G[t][e];
3397
3397
  const r = Ee(t);
3398
3398
  for (let n = 0; n < r.length; n++) {
3399
- const i = r[n], s = Hn(i, e);
3400
- if (s)
3401
- return Tn(e, t, s);
3399
+ const i = r[n], o = Hn(i, e);
3400
+ if (o)
3401
+ return Tn(e, t, o);
3402
3402
  }
3403
3403
  };
3404
3404
  let ke;
@@ -3515,22 +3515,22 @@ function q() {
3515
3515
  return Nn;
3516
3516
  }
3517
3517
  const Se = be(!1);
3518
- var In = Object.defineProperty, Ln = Object.defineProperties, Mn = Object.getOwnPropertyDescriptors, it = Object.getOwnPropertySymbols, $n = Object.prototype.hasOwnProperty, Rn = Object.prototype.propertyIsEnumerable, st = (e, t, r) => t in e ? In(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Un = (e, t) => {
3518
+ var In = Object.defineProperty, Ln = Object.defineProperties, Mn = Object.getOwnPropertyDescriptors, it = Object.getOwnPropertySymbols, $n = Object.prototype.hasOwnProperty, Rn = Object.prototype.propertyIsEnumerable, ot = (e, t, r) => t in e ? In(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Un = (e, t) => {
3519
3519
  for (var r in t || (t = {}))
3520
- $n.call(t, r) && st(e, r, t[r]);
3520
+ $n.call(t, r) && ot(e, r, t[r]);
3521
3521
  if (it)
3522
3522
  for (var r of it(t))
3523
- Rn.call(t, r) && st(e, r, t[r]);
3523
+ Rn.call(t, r) && ot(e, r, t[r]);
3524
3524
  return e;
3525
3525
  }, Gn = (e, t) => Ln(e, Mn(t));
3526
3526
  let De;
3527
3527
  const pe = be(null);
3528
- function ot(e) {
3528
+ function st(e) {
3529
3529
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3530
3530
  }
3531
3531
  function Ee(e, t = q().fallbackLocale) {
3532
- const r = ot(e);
3533
- return t ? [.../* @__PURE__ */ new Set([...r, ...ot(t)])] : r;
3532
+ const r = st(e);
3533
+ return t ? [.../* @__PURE__ */ new Set([...r, ...st(t)])] : r;
3534
3534
  }
3535
3535
  function k() {
3536
3536
  return De ?? void 0;
@@ -3577,7 +3577,7 @@ var Fn = Object.defineProperty, de = Object.getOwnPropertySymbols, Ft = Object.p
3577
3577
  t.indexOf(n) < 0 && jt.call(e, n) && (r[n] = e[n]);
3578
3578
  return r;
3579
3579
  };
3580
- const se = (e, t) => {
3580
+ const oe = (e, t) => {
3581
3581
  const { formats: r } = q();
3582
3582
  if (e in r && t in r[e])
3583
3583
  return r[e][t];
@@ -3587,14 +3587,14 @@ const se = (e, t) => {
3587
3587
  var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3588
3588
  if (r == null)
3589
3589
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3590
- return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
3590
+ return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
3591
3591
  }
3592
3592
  ), kn = xe(
3593
3593
  (e) => {
3594
3594
  var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3595
3595
  if (r == null)
3596
3596
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3597
- return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
3597
+ return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
3598
3598
  }
3599
3599
  ), Vn = xe(
3600
3600
  (e) => {
@@ -3603,7 +3603,7 @@ const se = (e, t) => {
3603
3603
  throw new Error(
3604
3604
  '[svelte-i18n] A "locale" must be set to format time values'
3605
3605
  );
3606
- return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
3606
+ return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
3607
3607
  }
3608
3608
  ), Xn = (e = {}) => {
3609
3609
  var t = e, {
@@ -3632,21 +3632,21 @@ const se = (e, t) => {
3632
3632
  ignoreTag: q().ignoreTag
3633
3633
  })
3634
3634
  ), Qn = (e, t = {}) => {
3635
- var r, n, i, s;
3636
- let o = t;
3637
- typeof e == "object" && (o = e, e = o.id);
3635
+ var r, n, i, o;
3636
+ let s = t;
3637
+ typeof e == "object" && (s = e, e = s.id);
3638
3638
  const {
3639
3639
  values: u,
3640
3640
  locale: f = k(),
3641
3641
  default: a
3642
- } = o;
3642
+ } = s;
3643
3643
  if (f == null)
3644
3644
  throw new Error(
3645
3645
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3646
3646
  );
3647
3647
  let h = $t(e, f);
3648
3648
  if (!h)
3649
- h = (s = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: f, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3649
+ h = (o = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: f, id: e, defaultValue: a })) != null ? i : a) != null ? o : e;
3650
3650
  else if (typeof h != "string")
3651
3651
  return console.warn(
3652
3652
  `[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.`
@@ -3799,7 +3799,7 @@ function ni(e) {
3799
3799
  let t, r, n = (
3800
3800
  /*$_*/
3801
3801
  e[5]("topCategories") + ""
3802
- ), i, s, o, u, f = (
3802
+ ), i, o, s, u, f = (
3803
3803
  /*$_*/
3804
3804
  e[5]("otherCategories") + ""
3805
3805
  ), a, h, c = he(
@@ -3816,19 +3816,19 @@ function ni(e) {
3816
3816
  p[g] = gt(lt(e, d, g));
3817
3817
  return {
3818
3818
  c() {
3819
- t = O("div"), r = O("h4"), i = R(n), s = $();
3819
+ t = O("div"), r = O("h4"), i = R(n), o = $();
3820
3820
  for (let g = 0; g < l.length; g += 1)
3821
3821
  l[g].c();
3822
- o = $(), u = O("h4"), a = R(f), h = $();
3822
+ s = $(), u = O("h4"), a = R(f), h = $();
3823
3823
  for (let g = 0; g < p.length; g += 1)
3824
3824
  p[g].c();
3825
3825
  B(r, "class", "CategoryTitle"), B(u, "class", "CategoryTitle"), B(t, "class", "CasinoCategories");
3826
3826
  },
3827
3827
  m(g, x) {
3828
- Y(g, t, x), v(t, r), v(r, i), v(t, s);
3828
+ Y(g, t, x), v(t, r), v(r, i), v(t, o);
3829
3829
  for (let m = 0; m < l.length; m += 1)
3830
3830
  l[m] && l[m].m(t, null);
3831
- v(t, o), v(t, u), v(u, a), v(t, h);
3831
+ v(t, s), v(t, u), v(u, a), v(t, h);
3832
3832
  for (let m = 0; m < p.length; m += 1)
3833
3833
  p[m] && p[m].m(t, null);
3834
3834
  },
@@ -3844,7 +3844,7 @@ function ni(e) {
3844
3844
  let m;
3845
3845
  for (m = 0; m < c.length; m += 1) {
3846
3846
  const C = ft(g, c, m);
3847
- l[m] ? l[m].p(C, x) : (l[m] = ct(C), l[m].c(), l[m].m(t, o));
3847
+ l[m] ? l[m].p(C, x) : (l[m] = ct(C), l[m].c(), l[m].m(t, s));
3848
3848
  }
3849
3849
  for (; m < l.length; m += 1)
3850
3850
  l[m].d(1);
@@ -3889,7 +3889,7 @@ function ii(e) {
3889
3889
  };
3890
3890
  }
3891
3891
  function ct(e) {
3892
- let t, r, n, i, s, o, u, f = (
3892
+ let t, r, n, i, o, s, u, f = (
3893
3893
  /*category*/
3894
3894
  e[24].name + ""
3895
3895
  ), a, h, c, l = (
@@ -3910,14 +3910,14 @@ function ct(e) {
3910
3910
  }
3911
3911
  return {
3912
3912
  c() {
3913
- t = O("div"), r = O("img"), s = $(), o = O("div"), u = O("p"), a = R(f), h = $(), c = O("p"), d = R(l), p = $(), x = R(g), me(r.src, n = /*category*/
3913
+ t = O("div"), r = O("img"), o = $(), s = O("div"), u = O("p"), a = R(f), h = $(), c = O("p"), d = R(l), p = $(), x = R(g), me(r.src, n = /*category*/
3914
3914
  e[24].icon) || B(r, "src", n), B(r, "alt", i = /*category*/
3915
- e[24].name), B(r, "class", "CategoryImage"), B(o, "class", "CategoryTextContainer"), B(t, "class", m = "Category " + /*activecategory*/
3915
+ e[24].name), B(r, "class", "CategoryImage"), B(s, "class", "CategoryTextContainer"), B(t, "class", m = "Category " + /*activecategory*/
3916
3916
  (e[0] === /*category*/
3917
3917
  e[24].id ? "Active" : ""));
3918
3918
  },
3919
3919
  m(S, A) {
3920
- Y(S, t, A), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, h), v(o, c), v(c, d), v(c, p), v(c, x), C || (H = bt(t, "click", I), C = !0);
3920
+ Y(S, t, A), v(t, r), v(t, o), v(t, s), v(s, u), v(u, a), v(s, h), v(s, c), v(c, d), v(c, p), v(c, x), C || (H = bt(t, "click", I), C = !0);
3921
3921
  },
3922
3922
  p(S, A) {
3923
3923
  e = S, A & /*topCategories*/
@@ -3941,7 +3941,7 @@ function ct(e) {
3941
3941
  };
3942
3942
  }
3943
3943
  function gt(e) {
3944
- let t, r, n, i, s, o, u, f = (
3944
+ let t, r, n, i, o, s, u, f = (
3945
3945
  /*category*/
3946
3946
  e[24].name + ""
3947
3947
  ), a, h, c, l = (
@@ -3962,14 +3962,14 @@ function gt(e) {
3962
3962
  }
3963
3963
  return {
3964
3964
  c() {
3965
- t = O("div"), r = O("img"), s = $(), o = O("div"), u = O("p"), a = R(f), h = $(), c = O("p"), d = R(l), p = $(), x = R(g), m = $(), me(r.src, n = /*category*/
3965
+ t = O("div"), r = O("img"), o = $(), s = O("div"), u = O("p"), a = R(f), h = $(), c = O("p"), d = R(l), p = $(), x = R(g), m = $(), me(r.src, n = /*category*/
3966
3966
  e[24].icon) || B(r, "src", n), B(r, "alt", i = /*category*/
3967
- e[24].name), B(r, "class", "CategoryImage"), B(o, "class", "CategoryTextContainer"), B(t, "class", C = "Category " + /*activecategory*/
3967
+ e[24].name), B(r, "class", "CategoryImage"), B(s, "class", "CategoryTextContainer"), B(t, "class", C = "Category " + /*activecategory*/
3968
3968
  (e[0] === /*category*/
3969
3969
  e[24].id ? "Active" : ""));
3970
3970
  },
3971
3971
  m(A, w) {
3972
- Y(A, t, w), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, h), v(o, c), v(c, d), v(c, p), v(c, x), v(t, m), H || (I = bt(t, "click", S), H = !0);
3972
+ Y(A, t, w), v(t, r), v(t, o), v(t, s), v(s, u), v(u, a), v(s, h), v(s, c), v(c, d), v(c, p), v(c, x), v(t, m), H || (I = bt(t, "click", S), H = !0);
3973
3973
  },
3974
3974
  p(A, w) {
3975
3975
  e = A, w & /*otherCategories*/
@@ -3992,12 +3992,12 @@ function gt(e) {
3992
3992
  }
3993
3993
  };
3994
3994
  }
3995
- function si(e) {
3995
+ function oi(e) {
3996
3996
  let t;
3997
- function r(s, o) {
3997
+ function r(o, s) {
3998
3998
  return (
3999
3999
  /*isLoading*/
4000
- s[2] ? ii : ni
4000
+ o[2] ? ii : ni
4001
4001
  );
4002
4002
  }
4003
4003
  let n = r(e), i = n(e);
@@ -4005,23 +4005,23 @@ function si(e) {
4005
4005
  c() {
4006
4006
  t = O("div"), i.c();
4007
4007
  },
4008
- m(s, o) {
4009
- Y(s, t, o), i.m(t, null), e[16](t);
4008
+ m(o, s) {
4009
+ Y(o, t, s), i.m(t, null), e[16](t);
4010
4010
  },
4011
- p(s, [o]) {
4012
- n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
4011
+ p(o, [s]) {
4012
+ n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4013
4013
  },
4014
4014
  i: L,
4015
4015
  o: L,
4016
- d(s) {
4017
- s && j(t), i.d(), e[16](null);
4016
+ d(o) {
4017
+ o && j(t), i.d(), e[16](null);
4018
4018
  }
4019
4019
  };
4020
4020
  }
4021
- function oi(e, t, r) {
4021
+ function si(e, t, r) {
4022
4022
  let n;
4023
4023
  Wt(e, ei, (b) => r(5, n = b));
4024
- let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: f = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, l, d = !1;
4024
+ let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "en" } = t, { activecategory: u = "" } = t, { excludedflags: f = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, l, d = !1;
4025
4025
  const p = [];
4026
4026
  let g = [], x = [];
4027
4027
  Object.keys(ht).forEach((b) => {
@@ -4037,8 +4037,8 @@ function oi(e, t, r) {
4037
4037
  });
4038
4038
  }, C = () => {
4039
4039
  r(2, d = !0);
4040
- const b = new URL(`${i}/v1/casino/groups/${s}`);
4041
- b.searchParams.append("language", o), fetch(b).then((N) => N.json()).then((N) => {
4040
+ const b = new URL(`${i}/v1/casino/groups/${o}`);
4041
+ b.searchParams.append("language", s), fetch(b).then((N) => N.json()).then((N) => {
4042
4042
  r(2, d = !1);
4043
4043
  const U = f.split(",").map((F) => F.trim());
4044
4044
  p.push(...N.items);
@@ -4048,7 +4048,7 @@ function oi(e, t, r) {
4048
4048
  }, H = (b) => {
4049
4049
  window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
4050
4050
  }, I = () => {
4051
- ti(o);
4051
+ ti(s);
4052
4052
  }, S = () => {
4053
4053
  let b = document.createElement("style");
4054
4054
  b.innerHTML = a, l.appendChild(b);
@@ -4073,12 +4073,12 @@ function oi(e, t, r) {
4073
4073
  });
4074
4074
  }
4075
4075
  return e.$$set = (b) => {
4076
- "endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, s = b.datasource), "lang" in b && r(9, o = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, f = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, h = b.clientstylingurl), "translationurl" in b && r(13, c = b.translationurl);
4076
+ "endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, o = b.datasource), "lang" in b && r(9, s = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, f = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, h = b.clientstylingurl), "translationurl" in b && r(13, c = b.translationurl);
4077
4077
  }, e.$$.update = () => {
4078
4078
  e.$$.dirty & /*endpoint, datasource*/
4079
- 384 && i && s && C(), e.$$.dirty & /*translationurl*/
4079
+ 384 && i && o && C(), e.$$.dirty & /*translationurl*/
4080
4080
  8192 && c && m(), e.$$.dirty & /*lang*/
4081
- 512 && o && I(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4081
+ 512 && s && I(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4082
4082
  2050 && a && l && S(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4083
4083
  4098 && h && l && A();
4084
4084
  }, [
@@ -4090,8 +4090,8 @@ function oi(e, t, r) {
4090
4090
  n,
4091
4091
  H,
4092
4092
  i,
4093
- s,
4094
4093
  o,
4094
+ s,
4095
4095
  f,
4096
4096
  a,
4097
4097
  h,
@@ -4106,8 +4106,8 @@ class ai extends lr {
4106
4106
  super(), ur(
4107
4107
  this,
4108
4108
  t,
4109
- oi,
4110
4109
  si,
4110
+ oi,
4111
4111
  pt,
4112
4112
  {
4113
4113
  endpoint: 7,
@@ -1,4 +1,4 @@
1
- import { C as n } from "../components/CasinoCategories-DW-dsFyQ.js";
1
+ import { C as n } from "../components/CasinoCategories-BsexYcXd.js";
2
2
  function i(t) {
3
3
  return function(...s) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-categories",
3
- "version": "1.54.8",
3
+ "version": "1.54.10",
4
4
  "type": "module",
5
5
  "main": "esnext/casino-categories.js",
6
6
  "module": "esnext/casino-categories.js",
@@ -21,4 +21,4 @@
21
21
  "publishConfig": {
22
22
  "access": "public"
23
23
  }
24
- }
24
+ }