@everymatrix/casino-page-nd 1.56.2 → 1.57.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/components/{CasinoCalendar-B72qCmVu.js → CasinoCalendar-Beb-D9v5.js} +959 -995
  2. package/components/{CasinoCalendar-B_WI7Mt3.js → CasinoCalendar-qVpbXj-D.js} +707 -743
  3. package/components/{CasinoCalendar-BYA6uJQI.cjs → CasinoCalendar-zkVoyaEl.cjs} +5 -5
  4. package/components/{CasinoCalendarDailyDetails-D6TvS_Uw.cjs → CasinoCalendarDailyDetails-C6Lmn7pW.cjs} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-C7w893Od.js → CasinoCalendarDailyDetails-C6Shuvfx.js} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-C6UIzboP.js → CasinoCalendarDailyDetails-CmmQq8VR.js} +1 -1
  7. package/components/{CasinoCalendarDailyItem-Brbbja83.js → CasinoCalendarDailyItem-BLMalLZx.js} +1 -1
  8. package/components/{CasinoCalendarDailyItem-thGDWh2Q.cjs → CasinoCalendarDailyItem-D7q0pxAo.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-Dn4fP4pR.js → CasinoCalendarDailyItem-DlHg6exr.js} +1 -1
  10. package/components/{CasinoCollectionsProviders-C_PrWYCC.js → CasinoCollectionsProviders-BU9Vdk7f.js} +250 -262
  11. package/components/CasinoCollectionsProviders-CKeIv7Lm.cjs +1 -0
  12. package/components/{CasinoCollectionsProviders-8ZQ44tRK.js → CasinoCollectionsProviders-KxO7bWw9.js} +251 -263
  13. package/components/{CasinoFavoritesSectionNd-D0uxeFMF.js → CasinoFavoritesSectionNd-B6eGVKwL.js} +26 -26
  14. package/components/{CasinoFavoritesSectionNd-DruLKFit.cjs → CasinoFavoritesSectionNd-BP1OHrZH.cjs} +1 -1
  15. package/components/{CasinoFavoritesSectionNd-CQCLvjg0.js → CasinoFavoritesSectionNd-KuBsOlJI.js} +26 -26
  16. package/components/{CasinoFilter-D-mxzzEe.js → CasinoFilter-5P8W2ayY.js} +18 -18
  17. package/components/{CasinoFilter-DccaWSTr.cjs → CasinoFilter-BLgXtVi-.cjs} +1 -1
  18. package/components/{CasinoFilter-Dy3YLxDF.js → CasinoFilter-EmKNpmwo.js} +18 -18
  19. package/components/{CasinoGameThumbnailNd-CkE5llqF.cjs → CasinoGameThumbnailNd-B0au4q34.cjs} +1 -1
  20. package/components/{CasinoGameThumbnailNd-BH0MIxp8.js → CasinoGameThumbnailNd-CBP0Dwi-.js} +1 -1
  21. package/components/{CasinoGameThumbnailNd-B8JRjL-K.js → CasinoGameThumbnailNd-CDbQyDrE.js} +1 -1
  22. package/components/{CasinoGamesCategorySectionNd-BAw_qUGw.cjs → CasinoGamesCategorySectionNd-Bdvqc877.cjs} +1 -1
  23. package/components/{CasinoGamesCategorySectionNd-s5oua2PM.js → CasinoGamesCategorySectionNd-CiaLHNwg.js} +31 -31
  24. package/components/{CasinoGamesCategorySectionNd-BAKacraj.js → CasinoGamesCategorySectionNd-DrkQNzat.js} +30 -30
  25. package/components/{CasinoJackpotBanner-Ck34M8Rn.js → CasinoJackpotBanner-CJWjyexm.js} +18 -18
  26. package/components/{CasinoJackpotBanner-DBgKc4Vm.js → CasinoJackpotBanner-DquJdUya.js} +18 -18
  27. package/components/{CasinoJackpotBanner-jRgsElNl.cjs → CasinoJackpotBanner-o_Mbn9dc.cjs} +1 -1
  28. package/components/{CasinoLastPlayedSectionNd-CxJcyDWz.cjs → CasinoLastPlayedSectionNd-BPmkjL98.cjs} +1 -1
  29. package/components/{CasinoLastPlayedSectionNd-C5AZiudZ.js → CasinoLastPlayedSectionNd-Ck4zj6YG.js} +16 -16
  30. package/components/{CasinoLastPlayedSectionNd-nO4muZUi.js → CasinoLastPlayedSectionNd-DMIObHTX.js} +16 -16
  31. package/components/{CasinoMostPlayedSectionNd-47uLbFny.js → CasinoMostPlayedSectionNd--5Pa-sA9.js} +16 -16
  32. package/components/{CasinoMostPlayedSectionNd-YoUF3qH_.js → CasinoMostPlayedSectionNd-5XKFLNY-.js} +16 -16
  33. package/components/{CasinoMostPlayedSectionNd-B5NQpnpQ.cjs → CasinoMostPlayedSectionNd-C22bkiGI.cjs} +1 -1
  34. package/components/{CasinoMyGamesNd-D7ECNSVx.js → CasinoMyGamesNd-56Zbf9NJ.js} +8 -8
  35. package/components/{CasinoMyGamesNd-DsKldyeX.js → CasinoMyGamesNd-DC9u9wLU.js} +9 -9
  36. package/components/{CasinoMyGamesNd-B1mqR1iV.cjs → CasinoMyGamesNd-X6TN-N1_.cjs} +1 -1
  37. package/components/{CasinoPageNd-DG9eHxjS.js → CasinoPageNd-BWLAQwMS.js} +47 -47
  38. package/components/{CasinoPageNd-1_im-1pg.cjs → CasinoPageNd-DBYFCIwV.cjs} +1 -1
  39. package/components/{CasinoPageNd-Celr6stC.js → CasinoPageNd-DSKUaPmH.js} +47 -47
  40. package/components/{CasinoRandomGame-CJFo5sac.js → CasinoRandomGame-B9Eg9Cv4.js} +19 -19
  41. package/components/{CasinoRandomGame-BvuuUTa2.cjs → CasinoRandomGame-CUHxVoyq.cjs} +1 -1
  42. package/components/{CasinoRandomGame-B-xXZGGd.js → CasinoRandomGame-DR6TctHg.js} +18 -18
  43. package/components/{CasinoSearchNd-DcMWXQsy.cjs → CasinoSearchNd-BDsM4W1x.cjs} +1 -1
  44. package/components/{CasinoSearchNd-TwDFmePv.js → CasinoSearchNd-C0LJM6ba.js} +3 -3
  45. package/components/{CasinoSearchNd-DnYIShqN.js → CasinoSearchNd-e8PZoPu9.js} +3 -3
  46. package/components/{CasinoSort-CHjWMDyt.cjs → CasinoSort-5x4S3mG_.cjs} +1 -1
  47. package/components/{CasinoSort-B9N4OdAh.js → CasinoSort-BygFei5r.js} +7 -7
  48. package/components/{CasinoSort-aie8VxYZ.js → CasinoSort-DvLkFtIz.js} +7 -7
  49. package/components/{CasinoWinners-DNTO27qv.js → CasinoWinners-BZEiqOuZ.js} +58 -58
  50. package/components/{CasinoWinners-CTQkjPOu.cjs → CasinoWinners-DbQvZp-o.cjs} +1 -1
  51. package/components/{CasinoWinners-DEKSrQmC.js → CasinoWinners-tsFI0Qkd.js} +55 -55
  52. package/components/{GeneralAnimationLoading-exiETQWf.cjs → GeneralAnimationLoading-BFfW6U-2.cjs} +1 -1
  53. package/components/{GeneralAnimationLoading-45G5WFWJ.js → GeneralAnimationLoading-Bfdh1dfh.js} +1 -1
  54. package/components/{GeneralAnimationLoading-BTVnRCeI.js → GeneralAnimationLoading-g0jjajHE.js} +1 -1
  55. package/es2015/casino-page-nd.cjs +1 -1
  56. package/es2015/casino-page-nd.js +1 -1
  57. package/esnext/casino-page-nd.js +1 -1
  58. package/package.json +1 -1
  59. package/components/CasinoCollectionsProviders-BVnxWKQ2.cjs +0 -1
@@ -1,4 +1,4 @@
1
- import { a as Te, $ as xe, S as We, i as Ae, f as _, c as Ie, s as Ve, b as Je, e as c, d as P, G as be, j as q, o as ze, a0 as Ee, l as Ue, m as Ne, p as Re, q as Be, r as Oe, w as O, y as r, L as ye, H as V, z as n, A as Me, x as W, E as A, v as we, K as De, F as He } from "./CasinoCalendar-B72qCmVu.js";
1
+ import { a as Te, $ as xe, S as We, i as Ae, f as _, c as Ie, s as Ve, b as Je, e as c, d as P, G as be, j as q, o as ze, Z as Ee, l as Ue, m as Ne, p as Re, q as Be, r as Oe, w as O, y as r, L as ye, H as V, z as n, A as Me, x as W, E as A, v as we, K as De, F as He } from "./CasinoCalendar-Beb-D9v5.js";
2
2
  function Ce(t, e) {
3
3
  Te(t, e);
4
4
  }
@@ -55,7 +55,7 @@ function Fe(t) {
55
55
  function b(d, m) {
56
56
  return (
57
57
  /*tabletView*/
58
- d[6] ? Ye : Qe
58
+ d[6] ? Ye : Ze
59
59
  );
60
60
  }
61
61
  let j = b(t), g = j(t);
@@ -147,7 +147,7 @@ function Ye(t) {
147
147
  ), T, I, b, j, g, d, m, S, M, D, te = (
148
148
  /*formattedLabels*/
149
149
  t[9][1] + ""
150
- ), Q, U, X, F = (
150
+ ), Z, U, Q, F = (
151
151
  /*realtimeupdate*/
152
152
  (t[2] === "true" ? (
153
153
  /*updatedJackpotValues*/
@@ -156,7 +156,7 @@ function Ye(t) {
156
156
  /*formattedJackpotValues*/
157
157
  t[8][1]
158
158
  )) + ""
159
- ), G, de, Z, ae, ie, N, x, R, J, K, z, H = (
159
+ ), G, de, X, ae, ie, N, x, R, J, K, z, H = (
160
160
  /*formattedLabels*/
161
161
  t[9][2] + ""
162
162
  ), ue, B, ne, le = (
@@ -186,7 +186,7 @@ function Ye(t) {
186
186
  e = c("div"), a = c("div"), l = c("div"), s = c("img"), o = c("span"), k = W(w), h = c("span"), C = c("span"), T = W(y), I = O(), b = c("span"), j = W(
187
187
  /*currency*/
188
188
  t[1]
189
- ), g = O(), d = c("div"), m = c("div"), S = c("img"), D = c("span"), Q = W(te), U = c("span"), X = c("span"), G = W(F), de = O(), Z = c("span"), ae = W(
189
+ ), g = O(), d = c("div"), m = c("div"), S = c("img"), D = c("span"), Z = W(te), U = c("span"), Q = c("span"), G = W(F), de = O(), X = c("span"), ae = W(
190
190
  /*currency*/
191
191
  t[1]
192
192
  ), ie = O(), N = c("div"), x = c("div"), R = c("div"), J = c("img"), z = c("span"), ue = W(H), B = c("span"), ne = c("span"), ge = W(le), fe = O(), $ = c("span"), pe = W(
@@ -197,12 +197,12 @@ function Ye(t) {
197
197
  t[1]
198
198
  ), r(s, "class", "displayCardIcon"), V(s.src, u = /*caticons*/
199
199
  t[10][0]) || r(s, "src", u), r(s, "alt", ""), r(o, "class", "cardLabel"), r(l, "class", "iconWrapper"), r(C, "class", "jackpotValue"), r(b, "class", "jackpot-currency"), r(h, "class", "cardTextWrapper"), r(a, "class", "displayCard"), r(S, "class", "displayCardIcon"), V(S.src, M = /*caticons*/
200
- t[10][1]) || r(S, "src", M), r(S, "alt", ""), r(D, "class", "cardLabel"), r(m, "class", "iconWrapper"), r(X, "class", "jackpotValue"), r(Z, "class", "jackpot-currency"), r(U, "class", "cardTextWrapper"), r(d, "class", "displayCard"), r(e, "class", "pairWrapper"), r(J, "class", "displayCardIcon"), V(J.src, K = /*caticons*/
200
+ t[10][1]) || r(S, "src", M), r(S, "alt", ""), r(D, "class", "cardLabel"), r(m, "class", "iconWrapper"), r(Q, "class", "jackpotValue"), r(X, "class", "jackpot-currency"), r(U, "class", "cardTextWrapper"), r(d, "class", "displayCard"), r(e, "class", "pairWrapper"), r(J, "class", "displayCardIcon"), V(J.src, K = /*caticons*/
201
201
  t[10][2]) || r(J, "src", K), r(J, "alt", ""), r(z, "class", "cardLabel"), r(R, "class", "iconWrapper"), r(ne, "class", "jackpotValue"), r($, "class", "jackpot-currency"), r(B, "class", "cardTextWrapper"), r(x, "class", "displayCard"), r(E, "class", "displayCardIcon"), V(E.src, re = /*caticons*/
202
202
  t[10][3]) || r(E, "src", re), r(E, "alt", ""), r(se, "class", "cardLabel"), r(ee, "class", "iconWrapper"), r(L, "class", "jackpotValue"), r(he, "class", "jackpot-currency"), r(p, "class", "cardTextWrapper"), r(Y, "class", "displayCard"), r(N, "class", "pairWrapper");
203
203
  },
204
204
  m(f, v) {
205
- P(f, e, v), n(e, a), n(a, l), n(l, s), n(l, o), n(o, k), n(a, h), n(h, C), n(C, T), n(h, I), n(h, b), n(b, j), n(e, g), n(e, d), n(d, m), n(m, S), n(m, D), n(D, Q), n(d, U), n(U, X), n(X, G), n(U, de), n(U, Z), n(Z, ae), P(f, ie, v), P(f, N, v), n(N, x), n(x, R), n(R, J), n(R, z), n(z, ue), n(x, B), n(B, ne), n(ne, ge), n(B, fe), n(B, $), n($, pe), n(N, me), n(N, Y), n(Y, ee), n(ee, E), n(ee, se), n(se, i), n(Y, p), n(p, L), n(L, ve), n(p, _e), n(p, he), n(he, ke);
205
+ P(f, e, v), n(e, a), n(a, l), n(l, s), n(l, o), n(o, k), n(a, h), n(h, C), n(C, T), n(h, I), n(h, b), n(b, j), n(e, g), n(e, d), n(d, m), n(m, S), n(m, D), n(D, Z), n(d, U), n(U, Q), n(Q, G), n(U, de), n(U, X), n(X, ae), P(f, ie, v), P(f, N, v), n(N, x), n(x, R), n(R, J), n(R, z), n(z, ue), n(x, B), n(B, ne), n(ne, ge), n(B, fe), n(B, $), n($, pe), n(N, me), n(N, Y), n(Y, ee), n(ee, E), n(ee, se), n(se, i), n(Y, p), n(p, L), n(L, ve), n(p, _e), n(p, he), n(he, ke);
206
206
  },
207
207
  p(f, v) {
208
208
  v[0] & /*caticons*/
@@ -226,7 +226,7 @@ function Ye(t) {
226
226
  1024 && !V(S.src, M = /*caticons*/
227
227
  f[10][1]) && r(S, "src", M), v[0] & /*formattedLabels*/
228
228
  512 && te !== (te = /*formattedLabels*/
229
- f[9][1] + "") && A(Q, te), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
229
+ f[9][1] + "") && A(Z, te), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
230
230
  16644 && F !== (F = /*realtimeupdate*/
231
231
  (f[2] === "true" ? (
232
232
  /*updatedJackpotValues*/
@@ -280,7 +280,7 @@ function Ye(t) {
280
280
  }
281
281
  };
282
282
  }
283
- function Qe(t) {
283
+ function Ze(t) {
284
284
  let e, a = we(Array(4)), l = [];
285
285
  for (let s = 0; s < a.length; s += 1)
286
286
  l[s] = Se(je(t, a, s));
@@ -390,7 +390,7 @@ function Se(t) {
390
390
  }
391
391
  };
392
392
  }
393
- function Xe(t) {
393
+ function Qe(t) {
394
394
  let e;
395
395
  function a(u, o) {
396
396
  return (
@@ -419,8 +419,8 @@ function Xe(t) {
419
419
  }
420
420
  };
421
421
  }
422
- function Ze(t, e, a) {
423
- let { visualstructure: l = "" } = e, { title: s = "" } = e, { caticon0: u = "" } = e, { caticon1: o = "" } = e, { caticon2: w = "" } = e, { caticon3: k = "" } = e, { iconlabels: h = "" } = e, { backgroundsrc: C = "" } = e, { currency: y = "" } = e, { backgroundsrcmobile: T = "" } = e, { titlelogopath: I = "" } = e, { lang: b = "en" } = e, { clientstyling: j = "" } = e, { clientstylingurl: g = "" } = e, { translationurl: d = "" } = e, { endpoint: m = "" } = e, { gameid: S = "" } = e, { mbsource: M } = e, { realtimeupdate: D = "false" } = e, te = window.navigator.userAgent, Q = !1, U = !1, X = "", F = [], G = [], de = [], Z = [], ae = [], ie = "", N = "", x, R = !0, J = !1, K, z = null, H = [];
422
+ function Xe(t, e, a) {
423
+ let { visualstructure: l = "" } = e, { title: s = "" } = e, { caticon0: u = "" } = e, { caticon1: o = "" } = e, { caticon2: w = "" } = e, { caticon3: k = "" } = e, { iconlabels: h = "" } = e, { backgroundsrc: C = "" } = e, { currency: y = "" } = e, { backgroundsrcmobile: T = "" } = e, { titlelogopath: I = "" } = e, { lang: b = "en" } = e, { clientstyling: j = "" } = e, { clientstylingurl: g = "" } = e, { translationurl: d = "" } = e, { endpoint: m = "" } = e, { gameid: S = "" } = e, { mbsource: M } = e, { realtimeupdate: D = "false" } = e, te = window.navigator.userAgent, Z = !1, U = !1, Q = "", F = [], G = [], de = [], X = [], ae = [], ie = "", N = "", x, R = !0, J = !1, K, z = null, H = [];
424
424
  const ue = () => {
425
425
  fetch(d).then((p) => p.json()).then((p) => {
426
426
  Object.keys(p).forEach((L) => {
@@ -439,7 +439,7 @@ function Ze(t, e, a) {
439
439
  p && Object.values(p).forEach((oe) => F.push(+oe));
440
440
  }, le = (i) => {
441
441
  var p;
442
- a(7, X = ((p = i == null ? void 0 : i.items[0]) == null ? void 0 : p.vendorLogo) || "");
442
+ a(7, Q = ((p = i == null ? void 0 : i.items[0]) == null ? void 0 : p.vendorLogo) || "");
443
443
  }, ge = () => {
444
444
  if (m && b && y) {
445
445
  let i = new URL(`${m}/v1/casino/jackpots`);
@@ -455,7 +455,7 @@ function Ze(t, e, a) {
455
455
  a(32, G = p.egtJackpotIds.map((L) => L));
456
456
  });
457
457
  }, $ = () => {
458
- a(5, Q = Re(te) && window.innerHeight / window.innerWidth > 1), a(6, U = me()), F.length !== 0 && a(8, de = pe(F)), a(9, Z = h ? h.split(",").map((i) => i.trim().toUpperCase()) : new Array(4).fill("")), B.includes(l.trim()) ? a(0, l = l.trim()) : (console.warn(`Invalid Attribute Value: "${l}" is not a valid value for the "visualstructure" attribute. Defaulting to "${B[0]}"`), a(0, l = B[0])), a(11, ie = T && Q && !U ? T : C), a(12, N = I), a(10, ae = [u, o, w, k]);
458
+ a(5, Z = Re(te) && window.innerHeight / window.innerWidth > 1), a(6, U = me()), F.length !== 0 && a(8, de = pe(F)), a(9, X = h ? h.split(",").map((i) => i.trim().toUpperCase()) : new Array(4).fill("")), B.includes(l.trim()) ? a(0, l = l.trim()) : (console.warn(`Invalid Attribute Value: "${l}" is not a valid value for the "visualstructure" attribute. Defaulting to "${B[0]}"`), a(0, l = B[0])), a(11, ie = T && Z && !U ? T : C), a(12, N = I), a(10, ae = [u, o, w, k]);
459
459
  }, pe = (i) => i.map((p) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(p)), me = () => {
460
460
  const i = window.innerHeight / window.innerWidth;
461
461
  return 0.75 < i && i < 1.6;
@@ -506,11 +506,11 @@ function Ze(t, e, a) {
506
506
  D,
507
507
  x,
508
508
  R,
509
- Q,
509
+ Z,
510
510
  U,
511
- X,
511
+ Q,
512
512
  de,
513
- Z,
513
+ X,
514
514
  ae,
515
515
  ie,
516
516
  N,
@@ -543,8 +543,8 @@ class $e extends We {
543
543
  super(), Ae(
544
544
  this,
545
545
  e,
546
- Ze,
547
546
  Xe,
547
+ Qe,
548
548
  Ve,
549
549
  {
550
550
  visualstructure: 0,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-BYA6uJQI.cjs");function pe(a,t){e.addMessages(a,t)}function he(a){e.$locale.set(a)}const ue={en:{loadingText:"Loading, please wait..."},"zh-hk":{loadingText:"加载请稍候 ..."},fr:{loadingText:"Chargement, veuillez patienter..."},ro:{loadingText:"Se incarca, va rugam asteptati..."},es:{loadingText:"Cargando"},pt:{loadingText:"Carregando, por favor espere..."},de:{loadingText:"Laden, bitte warten..."},hr:{loadingText:"Učitavanje"},"pt-br":{CarregandoText:"Carregando"},"es-mx":{CargandoText:"Cargando, por favor espere…"},tr:{loadingText:"Yükleniyor, lütfen bekleyin..."},"en-us":{loadingText:"Loading, please wait..."}};function ye(a){e.append_styles(a,"svelte-5y37b4",':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #D0046C);border-color:var(--emw--color-primary, #D0046C) transparent var(--emw--color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function ge(a,t,n){const i=a.slice();return i[52]=t[n],i[54]=n,i}function _e(a){let t,n,i,r,o,s,b,_,f,v,m,L,j;function h(c,g){return c[6]?ke:Ce}let C=h(a),d=C(a);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("div"),r=e.element("div"),o=e.space(),s=e.element("div"),d.c(),b=e.space(),_=e.element("div"),f=e.element("img"),e.attr(r,"class","vendorLogo"),e.set_style(r,"background-image","url("+a[7]+")"),e.attr(s,"class","displayContainer"),e.src_url_equal(f.src,v=a[12])||e.attr(f,"src",v),e.attr(f,"alt",""),e.attr(_,"class","title"),e.attr(i,"class",m="mainWrapper "+a[0]+" "+(a[5]&&!a[6]?"mobile":a[6]?"tablet":"")),e.set_style(i,"background","url("+a[11]+")"),e.attr(n,"class","jackpotBanner"),e.attr(t,"class","")},m(c,g){e.insert(c,t,g),e.append(t,n),e.append(n,i),e.append(i,r),e.append(i,o),e.append(i,s),d.m(s,null),e.append(i,b),e.append(i,_),e.append(_,f),L||(j=e.listen(n,"click",a[33]),L=!0)},p(c,g){g[0]&128&&e.set_style(r,"background-image","url("+c[7]+")"),C===(C=h(c))&&d?d.p(c,g):(d.d(1),d=C(c),d&&(d.c(),d.m(s,null))),g[0]&4096&&!e.src_url_equal(f.src,v=c[12])&&e.attr(f,"src",v),g[0]&97&&m!==(m="mainWrapper "+c[0]+" "+(c[5]&&!c[6]?"mobile":c[6]?"tablet":""))&&e.attr(i,"class",m),g[0]&2048&&e.set_style(i,"background","url("+c[11]+")")},d(c){c&&e.detach(t),d.d(),L=!1,j()}}}function be(a){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(n,i){e.insert(n,t,i)},p:e.noop,d(n){n&&e.detach(t)}}}function ve(a){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(n,i){e.insert(n,t,i)},p:e.noop,d(n){n&&e.detach(t)}}}function ke(a){let t,n,i,r,o,s,b=a[9][0]+"",_,f,v,m=(a[2]==="true"?a[14][0]:a[8][0])+"",L,j,h,C,d,c,g,w,q,z,F=a[9][1]+"",B,A,M,U=(a[2]==="true"?a[14][1]:a[8][1])+"",N,te,P,G,Y,I,x,V,S,O,T,E=a[9][2]+"",ae,J,K,Q=(a[2]==="true"?a[14][2]:a[8][2])+"",ne,ie,D,le,re,R,H,W,X,Z,$=a[9][3]+"",l,p,k,ee=(a[2]==="true"?a[14][3]:a[8][3])+"",ce,de,se,oe;return{c(){t=e.element("div"),n=e.element("div"),i=e.element("div"),r=e.element("img"),s=e.element("span"),_=e.text(b),f=e.element("span"),v=e.element("span"),L=e.text(m),j=e.space(),h=e.element("span"),C=e.text(a[1]),d=e.space(),c=e.element("div"),g=e.element("div"),w=e.element("img"),z=e.element("span"),B=e.text(F),A=e.element("span"),M=e.element("span"),N=e.text(U),te=e.space(),P=e.element("span"),G=e.text(a[1]),Y=e.space(),I=e.element("div"),x=e.element("div"),V=e.element("div"),S=e.element("img"),T=e.element("span"),ae=e.text(E),J=e.element("span"),K=e.element("span"),ne=e.text(Q),ie=e.space(),D=e.element("span"),le=e.text(a[1]),re=e.space(),R=e.element("div"),H=e.element("div"),W=e.element("img"),Z=e.element("span"),l=e.text($),p=e.element("span"),k=e.element("span"),ce=e.text(ee),de=e.space(),se=e.element("span"),oe=e.text(a[1]),e.attr(r,"class","displayCardIcon"),e.src_url_equal(r.src,o=a[10][0])||e.attr(r,"src",o),e.attr(r,"alt",""),e.attr(s,"class","cardLabel"),e.attr(i,"class","iconWrapper"),e.attr(v,"class","jackpotValue"),e.attr(h,"class","jackpot-currency"),e.attr(f,"class","cardTextWrapper"),e.attr(n,"class","displayCard"),e.attr(w,"class","displayCardIcon"),e.src_url_equal(w.src,q=a[10][1])||e.attr(w,"src",q),e.attr(w,"alt",""),e.attr(z,"class","cardLabel"),e.attr(g,"class","iconWrapper"),e.attr(M,"class","jackpotValue"),e.attr(P,"class","jackpot-currency"),e.attr(A,"class","cardTextWrapper"),e.attr(c,"class","displayCard"),e.attr(t,"class","pairWrapper"),e.attr(S,"class","displayCardIcon"),e.src_url_equal(S.src,O=a[10][2])||e.attr(S,"src",O),e.attr(S,"alt",""),e.attr(T,"class","cardLabel"),e.attr(V,"class","iconWrapper"),e.attr(K,"class","jackpotValue"),e.attr(D,"class","jackpot-currency"),e.attr(J,"class","cardTextWrapper"),e.attr(x,"class","displayCard"),e.attr(W,"class","displayCardIcon"),e.src_url_equal(W.src,X=a[10][3])||e.attr(W,"src",X),e.attr(W,"alt",""),e.attr(Z,"class","cardLabel"),e.attr(H,"class","iconWrapper"),e.attr(k,"class","jackpotValue"),e.attr(se,"class","jackpot-currency"),e.attr(p,"class","cardTextWrapper"),e.attr(R,"class","displayCard"),e.attr(I,"class","pairWrapper")},m(u,y){e.insert(u,t,y),e.append(t,n),e.append(n,i),e.append(i,r),e.append(i,s),e.append(s,_),e.append(n,f),e.append(f,v),e.append(v,L),e.append(f,j),e.append(f,h),e.append(h,C),e.append(t,d),e.append(t,c),e.append(c,g),e.append(g,w),e.append(g,z),e.append(z,B),e.append(c,A),e.append(A,M),e.append(M,N),e.append(A,te),e.append(A,P),e.append(P,G),e.insert(u,Y,y),e.insert(u,I,y),e.append(I,x),e.append(x,V),e.append(V,S),e.append(V,T),e.append(T,ae),e.append(x,J),e.append(J,K),e.append(K,ne),e.append(J,ie),e.append(J,D),e.append(D,le),e.append(I,re),e.append(I,R),e.append(R,H),e.append(H,W),e.append(H,Z),e.append(Z,l),e.append(R,p),e.append(p,k),e.append(k,ce),e.append(p,de),e.append(p,se),e.append(se,oe)},p(u,y){y[0]&1024&&!e.src_url_equal(r.src,o=u[10][0])&&e.attr(r,"src",o),y[0]&512&&b!==(b=u[9][0]+"")&&e.set_data(_,b),y[0]&16644&&m!==(m=(u[2]==="true"?u[14][0]:u[8][0])+"")&&e.set_data(L,m),y[0]&2&&e.set_data(C,u[1]),y[0]&1024&&!e.src_url_equal(w.src,q=u[10][1])&&e.attr(w,"src",q),y[0]&512&&F!==(F=u[9][1]+"")&&e.set_data(B,F),y[0]&16644&&U!==(U=(u[2]==="true"?u[14][1]:u[8][1])+"")&&e.set_data(N,U),y[0]&2&&e.set_data(G,u[1]),y[0]&1024&&!e.src_url_equal(S.src,O=u[10][2])&&e.attr(S,"src",O),y[0]&512&&E!==(E=u[9][2]+"")&&e.set_data(ae,E),y[0]&16644&&Q!==(Q=(u[2]==="true"?u[14][2]:u[8][2])+"")&&e.set_data(ne,Q),y[0]&2&&e.set_data(le,u[1]),y[0]&1024&&!e.src_url_equal(W.src,X=u[10][3])&&e.attr(W,"src",X),y[0]&512&&$!==($=u[9][3]+"")&&e.set_data(l,$),y[0]&16644&&ee!==(ee=(u[2]==="true"?u[14][3]:u[8][3])+"")&&e.set_data(ce,ee),y[0]&2&&e.set_data(oe,u[1])},d(u){u&&(e.detach(t),e.detach(Y),e.detach(I))}}}function Ce(a){let t,n=e.ensure_array_like(Array(4)),i=[];for(let r=0;r<n.length;r+=1)i[r]=fe(ge(a,n,r));return{c(){for(let r=0;r<i.length;r+=1)i[r].c();t=e.empty()},m(r,o){for(let s=0;s<i.length;s+=1)i[s]&&i[s].m(r,o);e.insert(r,t,o)},p(r,o){if(o[0]&18182){n=e.ensure_array_like(Array(4));let s;for(s=0;s<n.length;s+=1){const b=ge(r,n,s);i[s]?i[s].p(b,o):(i[s]=fe(b),i[s].c(),i[s].m(t.parentNode,t))}for(;s<i.length;s+=1)i[s].d(1);i.length=n.length}},d(r){r&&e.detach(t),e.destroy_each(i,r)}}}function fe(a){var C;let t,n,i,r,o,s=a[9][a[54]]+"",b,_,f,v=(a[2]==="true"?a[14][a[54]]:(C=a[8][a[54]])!=null?C:"")+"",m,L,j,h;return{c(){t=e.element("div"),n=e.element("div"),i=e.element("img"),o=e.element("span"),b=e.text(s),_=e.element("span"),f=e.element("span"),m=e.text(v),L=e.space(),j=e.element("span"),h=e.text(a[1]),e.attr(i,"class","displayCardIcon"),e.src_url_equal(i.src,r=a[10][a[54]])||e.attr(i,"src",r),e.attr(i,"alt",""),e.attr(o,"class","cardLabel"),e.attr(n,"class","iconWrapper"),e.attr(f,"class","jackpotValue"),e.attr(j,"class","jackpot-currency"),e.attr(_,"class","cardTextWrapper"),e.attr(t,"class","displayCard")},m(d,c){e.insert(d,t,c),e.append(t,n),e.append(n,i),e.append(n,o),e.append(o,b),e.append(t,_),e.append(_,f),e.append(f,m),e.append(_,L),e.append(_,j),e.append(j,h)},p(d,c){var g;c[0]&1024&&!e.src_url_equal(i.src,r=d[10][d[54]])&&e.attr(i,"src",r),c[0]&512&&s!==(s=d[9][d[54]]+"")&&e.set_data(b,s),c[0]&16644&&v!==(v=(d[2]==="true"?d[14][d[54]]:(g=d[8][d[54]])!=null?g:"")+"")&&e.set_data(m,v),c[0]&2&&e.set_data(h,d[1])},d(d){d&&e.detach(t)}}}function we(a){let t;function n(o,s){return o[13]?ve:o[4]?be:_e}let i=n(a),r=i(a);return{c(){t=e.element("div"),r.c()},m(o,s){e.insert(o,t,s),r.m(t,null),a[34](t)},p(o,s){i===(i=n(o))&&r?r.p(o,s):(r.d(1),r=i(o),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(o){o&&e.detach(t),r.d(),a[34](null)}}}function Le(a,t,n){let{visualstructure:i=""}=t,{title:r=""}=t,{caticon0:o=""}=t,{caticon1:s=""}=t,{caticon2:b=""}=t,{caticon3:_=""}=t,{iconlabels:f=""}=t,{backgroundsrc:v=""}=t,{currency:m=""}=t,{backgroundsrcmobile:L=""}=t,{titlelogopath:j=""}=t,{lang:h="en"}=t,{clientstyling:C=""}=t,{clientstylingurl:d=""}=t,{translationurl:c=""}=t,{endpoint:g=""}=t,{gameid:w=""}=t,{mbsource:q}=t,{realtimeupdate:z="false"}=t,F=window.navigator.userAgent,B=!1,A=!1,M="",U=[],N=[],te=[],P=[],G=[],Y="",I="",x,V=!0,S=!1,O,T=null,E=[];const ae=()=>{fetch(c).then(p=>p.json()).then(p=>{Object.keys(p).forEach(k=>{pe(k,p[k])})}).catch(p=>{console.log(p)})};Object.keys(ue).forEach(l=>{pe(l,ue[l])});const J=["typeSpread","typeLeft"],K=l=>{var k;const p=(k=l==null?void 0:l.items[0])==null?void 0:k.additionalData;p&&Object.values(p).forEach(ee=>U.push(+ee))},Q=l=>{var p;n(7,M=((p=l==null?void 0:l.items[0])==null?void 0:p.vendorLogo)||"")},ne=()=>{if(g&&h&&m){let l=new URL(`${g}/v1/casino/jackpots`);l.searchParams.append("filter",`id=${w}`),l.searchParams.append("language",h),l.searchParams.append("additionalDataCurrency",m),fetch(l.href).then(p=>p.json().then(k=>{n(4,V=!1),O=k,N.includes(w)&&(K(O),Q(O))}).catch(k=>{n(13,S=!0),n(4,V=!1),console.error(k)}))}},ie=()=>{let l=new URL(`${g}/v1/casino/jackpots/config`);fetch(l.href).then(p=>p.json()).then(p=>{n(32,N=p.egtJackpotIds.map(k=>k))})},D=()=>{n(5,B=e.isMobile(F)&&window.innerHeight/window.innerWidth>1),n(6,A=re()),U.length!==0&&n(8,te=le(U)),n(9,P=f?f.split(",").map(l=>l.trim().toUpperCase()):new Array(4).fill("")),J.includes(i.trim())?n(0,i=i.trim()):(console.warn(`Invalid Attribute Value: "${i}" is not a valid value for the "visualstructure" attribute. Defaulting to "${J[0]}"`),n(0,i=J[0])),n(11,Y=L&&B&&!A?L:v),n(12,I=j),n(10,G=[o,s,b,_])},le=l=>l.map(p=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(p)),re=()=>{const l=window.innerHeight/window.innerWidth;return .75<l&&l<1.6},R=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:w},window.location.href),typeof gtag=="function"&&gtag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:`${w}`})},H=()=>{he(h)},W=l=>{const p=JSON.parse(l.data);if(p.success&&p.data.messageType==="UpdateEgtJackpotBalance"&&p.data.jackpotAlias.split("_")[0]===w){const k=Number(p.data.jackpotAlias.split("_")[1])-1;n(14,E[k]=p.data.data[`${m}`].balance.toString(),E)}},X=()=>{z==="true"&&(D(),n(14,E=["","","",""]),T=new EventSource(`${g}/v1/encoder/jackpot/*/update`),T.addEventListener("message",W))};e.onMount(()=>()=>{}),e.onDestroy(()=>{T&&(T.removeEventListener("message",W),T.close(),T=null)});const Z=()=>R();function $(l){e.binding_callbacks[l?"unshift":"push"](()=>{x=l,n(3,x)})}return a.$$set=l=>{"visualstructure"in l&&n(0,i=l.visualstructure),"title"in l&&n(16,r=l.title),"caticon0"in l&&n(17,o=l.caticon0),"caticon1"in l&&n(18,s=l.caticon1),"caticon2"in l&&n(19,b=l.caticon2),"caticon3"in l&&n(20,_=l.caticon3),"iconlabels"in l&&n(21,f=l.iconlabels),"backgroundsrc"in l&&n(22,v=l.backgroundsrc),"currency"in l&&n(1,m=l.currency),"backgroundsrcmobile"in l&&n(23,L=l.backgroundsrcmobile),"titlelogopath"in l&&n(24,j=l.titlelogopath),"lang"in l&&n(25,h=l.lang),"clientstyling"in l&&n(26,C=l.clientstyling),"clientstylingurl"in l&&n(27,d=l.clientstylingurl),"translationurl"in l&&n(28,c=l.translationurl),"endpoint"in l&&n(29,g=l.endpoint),"gameid"in l&&n(30,w=l.gameid),"mbsource"in l&&n(31,q=l.mbsource),"realtimeupdate"in l&&n(2,z=l.realtimeupdate)},a.$$.update=()=>{a.$$.dirty[0]&536870912&&g&&ie(),a.$$.dirty[0]&67108872&&C&&x&&e.setClientStyling(x,C),a.$$.dirty[0]&134217736&&d&&x&&e.setClientStylingURL(x,d),a.$$.dirty[0]&8|a.$$.dirty[1]&1&&q&&x&&e.setStreamStyling(x,`${q}.Style`),a.$$.dirty[0]&570425346|a.$$.dirty[1]&2&&g&&h&&m&&N.length>0&&ne(),a.$$.dirty[0]&33554450&&m&&h&&!V&&D(),a.$$.dirty[0]&33554432&&h&&H(),a.$$.dirty[0]&268435456&&c&&ae(),a.$$.dirty[0]&4&&z&&X()},[i,m,z,x,V,B,A,M,te,P,G,Y,I,S,E,R,r,o,s,b,_,f,v,L,j,h,C,d,c,g,w,q,N,Z,$]}class me extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Le,we,e.safe_not_equal,{visualstructure:0,title:16,caticon0:17,caticon1:18,caticon2:19,caticon3:20,iconlabels:21,backgroundsrc:22,currency:1,backgroundsrcmobile:23,titlelogopath:24,lang:25,clientstyling:26,clientstylingurl:27,translationurl:28,endpoint:29,gameid:30,mbsource:31,realtimeupdate:2},ye,[-1,-1])}get visualstructure(){return this.$$.ctx[0]}set visualstructure(t){this.$$set({visualstructure:t}),e.flush()}get title(){return this.$$.ctx[16]}set title(t){this.$$set({title:t}),e.flush()}get caticon0(){return this.$$.ctx[17]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[18]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[19]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[20]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get iconlabels(){return this.$$.ctx[21]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[22]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get currency(){return this.$$.ctx[1]}set currency(t){this.$$set({currency:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[23]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[24]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get lang(){return this.$$.ctx[25]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[28]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get endpoint(){return this.$$.ctx[29]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get gameid(){return this.$$.ctx[30]}set gameid(t){this.$$set({gameid:t}),e.flush()}get mbsource(){return this.$$.ctx[31]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get realtimeupdate(){return this.$$.ctx[2]}set realtimeupdate(t){this.$$set({realtimeupdate:t}),e.flush()}}e.create_custom_element(me,{visualstructure:{},title:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},iconlabels:{},backgroundsrc:{},currency:{},backgroundsrcmobile:{},titlelogopath:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},endpoint:{},gameid:{},mbsource:{},realtimeupdate:{}},[],[],!0);exports.default=me;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-zkVoyaEl.cjs");function pe(a,t){e.addMessages(a,t)}function he(a){e.$locale.set(a)}const ue={en:{loadingText:"Loading, please wait..."},"zh-hk":{loadingText:"加载请稍候 ..."},fr:{loadingText:"Chargement, veuillez patienter..."},ro:{loadingText:"Se incarca, va rugam asteptati..."},es:{loadingText:"Cargando"},pt:{loadingText:"Carregando, por favor espere..."},de:{loadingText:"Laden, bitte warten..."},hr:{loadingText:"Učitavanje"},"pt-br":{CarregandoText:"Carregando"},"es-mx":{CargandoText:"Cargando, por favor espere…"},tr:{loadingText:"Yükleniyor, lütfen bekleyin..."},"en-us":{loadingText:"Loading, please wait..."}};function ye(a){e.append_styles(a,"svelte-5y37b4",':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #D0046C);border-color:var(--emw--color-primary, #D0046C) transparent var(--emw--color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function ge(a,t,n){const i=a.slice();return i[52]=t[n],i[54]=n,i}function _e(a){let t,n,i,r,o,s,b,_,f,v,m,L,j;function h(c,g){return c[6]?ke:Ce}let C=h(a),d=C(a);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("div"),r=e.element("div"),o=e.space(),s=e.element("div"),d.c(),b=e.space(),_=e.element("div"),f=e.element("img"),e.attr(r,"class","vendorLogo"),e.set_style(r,"background-image","url("+a[7]+")"),e.attr(s,"class","displayContainer"),e.src_url_equal(f.src,v=a[12])||e.attr(f,"src",v),e.attr(f,"alt",""),e.attr(_,"class","title"),e.attr(i,"class",m="mainWrapper "+a[0]+" "+(a[5]&&!a[6]?"mobile":a[6]?"tablet":"")),e.set_style(i,"background","url("+a[11]+")"),e.attr(n,"class","jackpotBanner"),e.attr(t,"class","")},m(c,g){e.insert(c,t,g),e.append(t,n),e.append(n,i),e.append(i,r),e.append(i,o),e.append(i,s),d.m(s,null),e.append(i,b),e.append(i,_),e.append(_,f),L||(j=e.listen(n,"click",a[33]),L=!0)},p(c,g){g[0]&128&&e.set_style(r,"background-image","url("+c[7]+")"),C===(C=h(c))&&d?d.p(c,g):(d.d(1),d=C(c),d&&(d.c(),d.m(s,null))),g[0]&4096&&!e.src_url_equal(f.src,v=c[12])&&e.attr(f,"src",v),g[0]&97&&m!==(m="mainWrapper "+c[0]+" "+(c[5]&&!c[6]?"mobile":c[6]?"tablet":""))&&e.attr(i,"class",m),g[0]&2048&&e.set_style(i,"background","url("+c[11]+")")},d(c){c&&e.detach(t),d.d(),L=!1,j()}}}function be(a){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(n,i){e.insert(n,t,i)},p:e.noop,d(n){n&&e.detach(t)}}}function ve(a){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(n,i){e.insert(n,t,i)},p:e.noop,d(n){n&&e.detach(t)}}}function ke(a){let t,n,i,r,o,s,b=a[9][0]+"",_,f,v,m=(a[2]==="true"?a[14][0]:a[8][0])+"",L,j,h,C,d,c,g,w,q,z,F=a[9][1]+"",B,A,M,U=(a[2]==="true"?a[14][1]:a[8][1])+"",N,te,P,G,Y,I,x,V,S,O,T,E=a[9][2]+"",ae,J,K,Q=(a[2]==="true"?a[14][2]:a[8][2])+"",ne,ie,D,le,re,R,H,W,X,Z,$=a[9][3]+"",l,p,k,ee=(a[2]==="true"?a[14][3]:a[8][3])+"",ce,de,se,oe;return{c(){t=e.element("div"),n=e.element("div"),i=e.element("div"),r=e.element("img"),s=e.element("span"),_=e.text(b),f=e.element("span"),v=e.element("span"),L=e.text(m),j=e.space(),h=e.element("span"),C=e.text(a[1]),d=e.space(),c=e.element("div"),g=e.element("div"),w=e.element("img"),z=e.element("span"),B=e.text(F),A=e.element("span"),M=e.element("span"),N=e.text(U),te=e.space(),P=e.element("span"),G=e.text(a[1]),Y=e.space(),I=e.element("div"),x=e.element("div"),V=e.element("div"),S=e.element("img"),T=e.element("span"),ae=e.text(E),J=e.element("span"),K=e.element("span"),ne=e.text(Q),ie=e.space(),D=e.element("span"),le=e.text(a[1]),re=e.space(),R=e.element("div"),H=e.element("div"),W=e.element("img"),Z=e.element("span"),l=e.text($),p=e.element("span"),k=e.element("span"),ce=e.text(ee),de=e.space(),se=e.element("span"),oe=e.text(a[1]),e.attr(r,"class","displayCardIcon"),e.src_url_equal(r.src,o=a[10][0])||e.attr(r,"src",o),e.attr(r,"alt",""),e.attr(s,"class","cardLabel"),e.attr(i,"class","iconWrapper"),e.attr(v,"class","jackpotValue"),e.attr(h,"class","jackpot-currency"),e.attr(f,"class","cardTextWrapper"),e.attr(n,"class","displayCard"),e.attr(w,"class","displayCardIcon"),e.src_url_equal(w.src,q=a[10][1])||e.attr(w,"src",q),e.attr(w,"alt",""),e.attr(z,"class","cardLabel"),e.attr(g,"class","iconWrapper"),e.attr(M,"class","jackpotValue"),e.attr(P,"class","jackpot-currency"),e.attr(A,"class","cardTextWrapper"),e.attr(c,"class","displayCard"),e.attr(t,"class","pairWrapper"),e.attr(S,"class","displayCardIcon"),e.src_url_equal(S.src,O=a[10][2])||e.attr(S,"src",O),e.attr(S,"alt",""),e.attr(T,"class","cardLabel"),e.attr(V,"class","iconWrapper"),e.attr(K,"class","jackpotValue"),e.attr(D,"class","jackpot-currency"),e.attr(J,"class","cardTextWrapper"),e.attr(x,"class","displayCard"),e.attr(W,"class","displayCardIcon"),e.src_url_equal(W.src,X=a[10][3])||e.attr(W,"src",X),e.attr(W,"alt",""),e.attr(Z,"class","cardLabel"),e.attr(H,"class","iconWrapper"),e.attr(k,"class","jackpotValue"),e.attr(se,"class","jackpot-currency"),e.attr(p,"class","cardTextWrapper"),e.attr(R,"class","displayCard"),e.attr(I,"class","pairWrapper")},m(u,y){e.insert(u,t,y),e.append(t,n),e.append(n,i),e.append(i,r),e.append(i,s),e.append(s,_),e.append(n,f),e.append(f,v),e.append(v,L),e.append(f,j),e.append(f,h),e.append(h,C),e.append(t,d),e.append(t,c),e.append(c,g),e.append(g,w),e.append(g,z),e.append(z,B),e.append(c,A),e.append(A,M),e.append(M,N),e.append(A,te),e.append(A,P),e.append(P,G),e.insert(u,Y,y),e.insert(u,I,y),e.append(I,x),e.append(x,V),e.append(V,S),e.append(V,T),e.append(T,ae),e.append(x,J),e.append(J,K),e.append(K,ne),e.append(J,ie),e.append(J,D),e.append(D,le),e.append(I,re),e.append(I,R),e.append(R,H),e.append(H,W),e.append(H,Z),e.append(Z,l),e.append(R,p),e.append(p,k),e.append(k,ce),e.append(p,de),e.append(p,se),e.append(se,oe)},p(u,y){y[0]&1024&&!e.src_url_equal(r.src,o=u[10][0])&&e.attr(r,"src",o),y[0]&512&&b!==(b=u[9][0]+"")&&e.set_data(_,b),y[0]&16644&&m!==(m=(u[2]==="true"?u[14][0]:u[8][0])+"")&&e.set_data(L,m),y[0]&2&&e.set_data(C,u[1]),y[0]&1024&&!e.src_url_equal(w.src,q=u[10][1])&&e.attr(w,"src",q),y[0]&512&&F!==(F=u[9][1]+"")&&e.set_data(B,F),y[0]&16644&&U!==(U=(u[2]==="true"?u[14][1]:u[8][1])+"")&&e.set_data(N,U),y[0]&2&&e.set_data(G,u[1]),y[0]&1024&&!e.src_url_equal(S.src,O=u[10][2])&&e.attr(S,"src",O),y[0]&512&&E!==(E=u[9][2]+"")&&e.set_data(ae,E),y[0]&16644&&Q!==(Q=(u[2]==="true"?u[14][2]:u[8][2])+"")&&e.set_data(ne,Q),y[0]&2&&e.set_data(le,u[1]),y[0]&1024&&!e.src_url_equal(W.src,X=u[10][3])&&e.attr(W,"src",X),y[0]&512&&$!==($=u[9][3]+"")&&e.set_data(l,$),y[0]&16644&&ee!==(ee=(u[2]==="true"?u[14][3]:u[8][3])+"")&&e.set_data(ce,ee),y[0]&2&&e.set_data(oe,u[1])},d(u){u&&(e.detach(t),e.detach(Y),e.detach(I))}}}function Ce(a){let t,n=e.ensure_array_like(Array(4)),i=[];for(let r=0;r<n.length;r+=1)i[r]=fe(ge(a,n,r));return{c(){for(let r=0;r<i.length;r+=1)i[r].c();t=e.empty()},m(r,o){for(let s=0;s<i.length;s+=1)i[s]&&i[s].m(r,o);e.insert(r,t,o)},p(r,o){if(o[0]&18182){n=e.ensure_array_like(Array(4));let s;for(s=0;s<n.length;s+=1){const b=ge(r,n,s);i[s]?i[s].p(b,o):(i[s]=fe(b),i[s].c(),i[s].m(t.parentNode,t))}for(;s<i.length;s+=1)i[s].d(1);i.length=n.length}},d(r){r&&e.detach(t),e.destroy_each(i,r)}}}function fe(a){var C;let t,n,i,r,o,s=a[9][a[54]]+"",b,_,f,v=(a[2]==="true"?a[14][a[54]]:(C=a[8][a[54]])!=null?C:"")+"",m,L,j,h;return{c(){t=e.element("div"),n=e.element("div"),i=e.element("img"),o=e.element("span"),b=e.text(s),_=e.element("span"),f=e.element("span"),m=e.text(v),L=e.space(),j=e.element("span"),h=e.text(a[1]),e.attr(i,"class","displayCardIcon"),e.src_url_equal(i.src,r=a[10][a[54]])||e.attr(i,"src",r),e.attr(i,"alt",""),e.attr(o,"class","cardLabel"),e.attr(n,"class","iconWrapper"),e.attr(f,"class","jackpotValue"),e.attr(j,"class","jackpot-currency"),e.attr(_,"class","cardTextWrapper"),e.attr(t,"class","displayCard")},m(d,c){e.insert(d,t,c),e.append(t,n),e.append(n,i),e.append(n,o),e.append(o,b),e.append(t,_),e.append(_,f),e.append(f,m),e.append(_,L),e.append(_,j),e.append(j,h)},p(d,c){var g;c[0]&1024&&!e.src_url_equal(i.src,r=d[10][d[54]])&&e.attr(i,"src",r),c[0]&512&&s!==(s=d[9][d[54]]+"")&&e.set_data(b,s),c[0]&16644&&v!==(v=(d[2]==="true"?d[14][d[54]]:(g=d[8][d[54]])!=null?g:"")+"")&&e.set_data(m,v),c[0]&2&&e.set_data(h,d[1])},d(d){d&&e.detach(t)}}}function we(a){let t;function n(o,s){return o[13]?ve:o[4]?be:_e}let i=n(a),r=i(a);return{c(){t=e.element("div"),r.c()},m(o,s){e.insert(o,t,s),r.m(t,null),a[34](t)},p(o,s){i===(i=n(o))&&r?r.p(o,s):(r.d(1),r=i(o),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(o){o&&e.detach(t),r.d(),a[34](null)}}}function Le(a,t,n){let{visualstructure:i=""}=t,{title:r=""}=t,{caticon0:o=""}=t,{caticon1:s=""}=t,{caticon2:b=""}=t,{caticon3:_=""}=t,{iconlabels:f=""}=t,{backgroundsrc:v=""}=t,{currency:m=""}=t,{backgroundsrcmobile:L=""}=t,{titlelogopath:j=""}=t,{lang:h="en"}=t,{clientstyling:C=""}=t,{clientstylingurl:d=""}=t,{translationurl:c=""}=t,{endpoint:g=""}=t,{gameid:w=""}=t,{mbsource:q}=t,{realtimeupdate:z="false"}=t,F=window.navigator.userAgent,B=!1,A=!1,M="",U=[],N=[],te=[],P=[],G=[],Y="",I="",x,V=!0,S=!1,O,T=null,E=[];const ae=()=>{fetch(c).then(p=>p.json()).then(p=>{Object.keys(p).forEach(k=>{pe(k,p[k])})}).catch(p=>{console.log(p)})};Object.keys(ue).forEach(l=>{pe(l,ue[l])});const J=["typeSpread","typeLeft"],K=l=>{var k;const p=(k=l==null?void 0:l.items[0])==null?void 0:k.additionalData;p&&Object.values(p).forEach(ee=>U.push(+ee))},Q=l=>{var p;n(7,M=((p=l==null?void 0:l.items[0])==null?void 0:p.vendorLogo)||"")},ne=()=>{if(g&&h&&m){let l=new URL(`${g}/v1/casino/jackpots`);l.searchParams.append("filter",`id=${w}`),l.searchParams.append("language",h),l.searchParams.append("additionalDataCurrency",m),fetch(l.href).then(p=>p.json().then(k=>{n(4,V=!1),O=k,N.includes(w)&&(K(O),Q(O))}).catch(k=>{n(13,S=!0),n(4,V=!1),console.error(k)}))}},ie=()=>{let l=new URL(`${g}/v1/casino/jackpots/config`);fetch(l.href).then(p=>p.json()).then(p=>{n(32,N=p.egtJackpotIds.map(k=>k))})},D=()=>{n(5,B=e.isMobile(F)&&window.innerHeight/window.innerWidth>1),n(6,A=re()),U.length!==0&&n(8,te=le(U)),n(9,P=f?f.split(",").map(l=>l.trim().toUpperCase()):new Array(4).fill("")),J.includes(i.trim())?n(0,i=i.trim()):(console.warn(`Invalid Attribute Value: "${i}" is not a valid value for the "visualstructure" attribute. Defaulting to "${J[0]}"`),n(0,i=J[0])),n(11,Y=L&&B&&!A?L:v),n(12,I=j),n(10,G=[o,s,b,_])},le=l=>l.map(p=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(p)),re=()=>{const l=window.innerHeight/window.innerWidth;return .75<l&&l<1.6},R=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:w},window.location.href),typeof gtag=="function"&&gtag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:`${w}`})},H=()=>{he(h)},W=l=>{const p=JSON.parse(l.data);if(p.success&&p.data.messageType==="UpdateEgtJackpotBalance"&&p.data.jackpotAlias.split("_")[0]===w){const k=Number(p.data.jackpotAlias.split("_")[1])-1;n(14,E[k]=p.data.data[`${m}`].balance.toString(),E)}},X=()=>{z==="true"&&(D(),n(14,E=["","","",""]),T=new EventSource(`${g}/v1/encoder/jackpot/*/update`),T.addEventListener("message",W))};e.onMount(()=>()=>{}),e.onDestroy(()=>{T&&(T.removeEventListener("message",W),T.close(),T=null)});const Z=()=>R();function $(l){e.binding_callbacks[l?"unshift":"push"](()=>{x=l,n(3,x)})}return a.$$set=l=>{"visualstructure"in l&&n(0,i=l.visualstructure),"title"in l&&n(16,r=l.title),"caticon0"in l&&n(17,o=l.caticon0),"caticon1"in l&&n(18,s=l.caticon1),"caticon2"in l&&n(19,b=l.caticon2),"caticon3"in l&&n(20,_=l.caticon3),"iconlabels"in l&&n(21,f=l.iconlabels),"backgroundsrc"in l&&n(22,v=l.backgroundsrc),"currency"in l&&n(1,m=l.currency),"backgroundsrcmobile"in l&&n(23,L=l.backgroundsrcmobile),"titlelogopath"in l&&n(24,j=l.titlelogopath),"lang"in l&&n(25,h=l.lang),"clientstyling"in l&&n(26,C=l.clientstyling),"clientstylingurl"in l&&n(27,d=l.clientstylingurl),"translationurl"in l&&n(28,c=l.translationurl),"endpoint"in l&&n(29,g=l.endpoint),"gameid"in l&&n(30,w=l.gameid),"mbsource"in l&&n(31,q=l.mbsource),"realtimeupdate"in l&&n(2,z=l.realtimeupdate)},a.$$.update=()=>{a.$$.dirty[0]&536870912&&g&&ie(),a.$$.dirty[0]&67108872&&C&&x&&e.setClientStyling(x,C),a.$$.dirty[0]&134217736&&d&&x&&e.setClientStylingURL(x,d),a.$$.dirty[0]&8|a.$$.dirty[1]&1&&q&&x&&e.setStreamStyling(x,`${q}.Style`),a.$$.dirty[0]&570425346|a.$$.dirty[1]&2&&g&&h&&m&&N.length>0&&ne(),a.$$.dirty[0]&33554450&&m&&h&&!V&&D(),a.$$.dirty[0]&33554432&&h&&H(),a.$$.dirty[0]&268435456&&c&&ae(),a.$$.dirty[0]&4&&z&&X()},[i,m,z,x,V,B,A,M,te,P,G,Y,I,S,E,R,r,o,s,b,_,f,v,L,j,h,C,d,c,g,w,q,N,Z,$]}class me extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Le,we,e.safe_not_equal,{visualstructure:0,title:16,caticon0:17,caticon1:18,caticon2:19,caticon3:20,iconlabels:21,backgroundsrc:22,currency:1,backgroundsrcmobile:23,titlelogopath:24,lang:25,clientstyling:26,clientstylingurl:27,translationurl:28,endpoint:29,gameid:30,mbsource:31,realtimeupdate:2},ye,[-1,-1])}get visualstructure(){return this.$$.ctx[0]}set visualstructure(t){this.$$set({visualstructure:t}),e.flush()}get title(){return this.$$.ctx[16]}set title(t){this.$$set({title:t}),e.flush()}get caticon0(){return this.$$.ctx[17]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[18]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[19]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[20]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get iconlabels(){return this.$$.ctx[21]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[22]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get currency(){return this.$$.ctx[1]}set currency(t){this.$$set({currency:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[23]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[24]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get lang(){return this.$$.ctx[25]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[28]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get endpoint(){return this.$$.ctx[29]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get gameid(){return this.$$.ctx[30]}set gameid(t){this.$$set({gameid:t}),e.flush()}get mbsource(){return this.$$.ctx[31]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get realtimeupdate(){return this.$$.ctx[2]}set realtimeupdate(t){this.$$set({realtimeupdate:t}),e.flush()}}e.create_custom_element(me,{visualstructure:{},title:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},iconlabels:{},backgroundsrc:{},currency:{},backgroundsrcmobile:{},titlelogopath:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},endpoint:{},gameid:{},mbsource:{},realtimeupdate:{}},[],[],!0);exports.default=me;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-BYA6uJQI.cjs");require("./CasinoFavoritesSectionNd-DruLKFit.cjs");function z(n,e){t.addMessages(n,e)}function Q(n){t.$locale.set(n)}const U={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function W(n){t.append_styles(n,"svelte-9pcrt1","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[17]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[16]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&131072&&t.set_custom_element_data(e,"fetchviaevent",a[17]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&65536&&t.set_custom_element_data(e,"casinomygames",a[16]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[20]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&1048576&&a!==(a=o[20]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[19]?p:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:_=""}=e,{mbsource:h}=e,{clientstyling:y=""}=e,{clientstylingurl:b=""}=e,{translationurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:D=""}=e,{visiblegames:P=""}=e,{favorites:N=""}=e,{lastplayedperiod:L="Last30Days"}=e,{lastplayedorder:C=""}=e,{lastplayedlimit:S=""}=e,{casinomygames:j="false"}=e,{lastplayedunique:q="true"}=e,{fetchviaevent:E="true"}=e,I=window.navigator.userAgent,F=!1,k=[],O,g;const J=()=>{fetch(v).then(c=>c.json()).then(c=>{Object.keys(c).forEach(r=>{z(r,c[r])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let r=new URL(`${o}/v1/player/${_}/games/last-played`);r.searchParams.append("unique",q),r.searchParams.append("limit",S),r.searchParams.append("order",C),r.searchParams.append("period",L),t.getDevice(I)==="PC"?r.searchParams.append("device","Desktop"):r.searchParams.append("device","Mobile"),O=w?r:r.href,fetch(O).then(m=>m.json()).then(m=>{m.items=m.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(m.count--,T=!1),T}),s(m),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:m},window.location.href)}).catch(m=>{console.error(m),c(m)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(r=>{let f=new URL(`${o}/v1/casino/games/${r.gameId}`);f.searchParams.append("datasource",l),w?c.push(fetch(f.href).then(m=>m.json())):c.push(fetch(f.href).then(m=>m.json()))}),Promise.all(c).then(r=>{k=r.filter(f=>!("error"in f)).map(f=>f[0]),j==="true"&&(k=k.slice(0,JSON.parse(P))),window.postMessage({type:"LastPlayedData",lastPlayedGames:k},window.location.href)})}else a(19,F=!0)})},Z=()=>{Q(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(18,g)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,_=s.userid),"mbsource"in s&&a(6,h=s.mbsource),"clientstyling"in s&&a(7,y=s.clientstyling),"clientstylingurl"in s&&a(8,b=s.clientstylingurl),"translationurl"in s&&a(21,v=s.translationurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,M=s.gamepagemodalurl),"showgamename"in s&&a(13,D=s.showgamename),"visiblegames"in s&&a(14,P=s.visiblegames),"favorites"in s&&a(15,N=s.favorites),"lastplayedperiod"in s&&a(22,L=s.lastplayedperiod),"lastplayedorder"in s&&a(23,C=s.lastplayedorder),"lastplayedlimit"in s&&a(24,S=s.lastplayedlimit),"casinomygames"in s&&a(16,j=s.casinomygames),"lastplayedunique"in s&&a(25,q=s.lastplayedunique),"fetchviaevent"in s&&a(17,E=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&2097152&&v&&J(),n.$$.dirty[0]&262272&&y&&g&&t.setClientStyling(g,y),n.$$.dirty[0]&262400&&b&&g&&t.setClientStylingURL(g,b),n.$$.dirty[0]&262208&&h&&g&&t.setStreamStyling(g,`${h}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,b,w,R,A,M,D,P,N,j,E,g,F,i,v,L,C,S,q,B]}class Y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,translationurl:21,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:16,lastplayedunique:25,fetchviaevent:17},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[22]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[23]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[24]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[25]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[17]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(Y,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{}},[],[],!0);exports.default=Y;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-zkVoyaEl.cjs");require("./CasinoFavoritesSectionNd-BP1OHrZH.cjs");function z(n,e){t.addMessages(n,e)}function Q(n){t.$locale.set(n)}const U={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function W(n){t.append_styles(n,"svelte-9pcrt1","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[17]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[16]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&131072&&t.set_custom_element_data(e,"fetchviaevent",a[17]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&65536&&t.set_custom_element_data(e,"casinomygames",a[16]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[20]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&1048576&&a!==(a=o[20]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[19]?p:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:_=""}=e,{mbsource:h}=e,{clientstyling:y=""}=e,{clientstylingurl:b=""}=e,{translationurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:D=""}=e,{visiblegames:P=""}=e,{favorites:N=""}=e,{lastplayedperiod:L="Last30Days"}=e,{lastplayedorder:C=""}=e,{lastplayedlimit:S=""}=e,{casinomygames:j="false"}=e,{lastplayedunique:q="true"}=e,{fetchviaevent:E="true"}=e,I=window.navigator.userAgent,F=!1,k=[],O,g;const J=()=>{fetch(v).then(c=>c.json()).then(c=>{Object.keys(c).forEach(r=>{z(r,c[r])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let r=new URL(`${o}/v1/player/${_}/games/last-played`);r.searchParams.append("unique",q),r.searchParams.append("limit",S),r.searchParams.append("order",C),r.searchParams.append("period",L),t.getDevice(I)==="PC"?r.searchParams.append("device","Desktop"):r.searchParams.append("device","Mobile"),O=w?r:r.href,fetch(O).then(m=>m.json()).then(m=>{m.items=m.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(m.count--,T=!1),T}),s(m),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:m},window.location.href)}).catch(m=>{console.error(m),c(m)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(r=>{let f=new URL(`${o}/v1/casino/games/${r.gameId}`);f.searchParams.append("datasource",l),w?c.push(fetch(f.href).then(m=>m.json())):c.push(fetch(f.href).then(m=>m.json()))}),Promise.all(c).then(r=>{k=r.filter(f=>!("error"in f)).map(f=>f[0]),j==="true"&&(k=k.slice(0,JSON.parse(P))),window.postMessage({type:"LastPlayedData",lastPlayedGames:k},window.location.href)})}else a(19,F=!0)})},Z=()=>{Q(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(18,g)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,_=s.userid),"mbsource"in s&&a(6,h=s.mbsource),"clientstyling"in s&&a(7,y=s.clientstyling),"clientstylingurl"in s&&a(8,b=s.clientstylingurl),"translationurl"in s&&a(21,v=s.translationurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,M=s.gamepagemodalurl),"showgamename"in s&&a(13,D=s.showgamename),"visiblegames"in s&&a(14,P=s.visiblegames),"favorites"in s&&a(15,N=s.favorites),"lastplayedperiod"in s&&a(22,L=s.lastplayedperiod),"lastplayedorder"in s&&a(23,C=s.lastplayedorder),"lastplayedlimit"in s&&a(24,S=s.lastplayedlimit),"casinomygames"in s&&a(16,j=s.casinomygames),"lastplayedunique"in s&&a(25,q=s.lastplayedunique),"fetchviaevent"in s&&a(17,E=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&2097152&&v&&J(),n.$$.dirty[0]&262272&&y&&g&&t.setClientStyling(g,y),n.$$.dirty[0]&262400&&b&&g&&t.setClientStylingURL(g,b),n.$$.dirty[0]&262208&&h&&g&&t.setStreamStyling(g,`${h}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,b,w,R,A,M,D,P,N,j,E,g,F,i,v,L,C,S,q,B]}class Y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,translationurl:21,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:16,lastplayedunique:25,fetchviaevent:17},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[22]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[23]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[24]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[25]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[17]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(Y,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{}},[],[],!0);exports.default=Y;
@@ -1,12 +1,12 @@
1
- import { a as ee, $ as te, S as ae, i as se, f as l, c as ie, s as ne, b as le, e as P, y as A, d as M, z as B, G as H, j as D, k as re, o as oe, l as ue, m as ce, q as me, r as ge, T as i, x as de, E as fe, I as he, U as ye } from "./CasinoCalendar-B_WI7Mt3.js";
2
- import "./CasinoFavoritesSectionNd-CQCLvjg0.js";
3
- function V(s, e) {
1
+ import { a as ee, $ as te, S as ae, i as se, f as l, c as ie, s as ne, b as le, e as P, y as A, d as M, z as Z, G as H, j as D, k as re, o as oe, l as ue, m as ce, q as me, r as ge, Q as i, x as de, E as fe, I as he, R as ye } from "./CasinoCalendar-Beb-D9v5.js";
2
+ import "./CasinoFavoritesSectionNd-B6eGVKwL.js";
3
+ function Q(s, e) {
4
4
  ee(s, e);
5
5
  }
6
6
  function be(s) {
7
7
  te.set(s);
8
8
  }
9
- const Z = {
9
+ const V = {
10
10
  en: {
11
11
  noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
12
12
  },
@@ -260,7 +260,7 @@ function _e(s) {
260
260
  e = P("p"), n = de(t), A(e, "class", "SearchLoading");
261
261
  },
262
262
  m(o, r) {
263
- M(o, e, r), B(e, n);
263
+ M(o, e, r), Z(e, n);
264
264
  },
265
265
  p(o, r) {
266
266
  r[0] & /*$_*/
@@ -286,7 +286,7 @@ function ke(s) {
286
286
  e = P("div"), t = P("div"), r.c(), A(t, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
287
287
  },
288
288
  m(m, d) {
289
- M(m, e, d), B(e, t), r.m(t, null), s[26](e);
289
+ M(m, e, d), Z(e, t), r.m(t, null), s[26](e);
290
290
  },
291
291
  p(m, d) {
292
292
  o === (o = n(m)) && r ? r.p(m, d) : (r.d(1), r = o(m), r && (r.c(), r.m(t, null)));
@@ -301,22 +301,22 @@ function ke(s) {
301
301
  function Le(s, e, t) {
302
302
  let n;
303
303
  re(s, he, (a) => t(20, n = a));
304
- let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { mbsource: b } = e, { clientstyling: v = "" } = e, { clientstylingurl: w = "" } = e, { translationurl: _ = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: N = "false" } = e, { integratedgameframedesktop: z = "false" } = e, { gamepagemodalurl: F = "false" } = e, { showgamename: T = "" } = e, { visiblegames: S = "" } = e, { favorites: O = "" } = e, { lastplayedperiod: C = "Last30Days" } = e, { lastplayedorder: j = "" } = e, { lastplayedlimit: G = "" } = e, { casinomygames: R = "false" } = e, { lastplayedunique: q = "true" } = e, { fetchviaevent: U = "true" } = e, K = window.navigator.userAgent, Y = !1, L = [], I, f;
305
- const Q = () => {
304
+ let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { mbsource: b } = e, { clientstyling: v = "" } = e, { clientstylingurl: w = "" } = e, { translationurl: _ = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: N = "false" } = e, { integratedgameframedesktop: z = "false" } = e, { gamepagemodalurl: F = "false" } = e, { showgamename: O = "" } = e, { visiblegames: S = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: C = "Last30Days" } = e, { lastplayedorder: j = "" } = e, { lastplayedlimit: G = "" } = e, { casinomygames: R = "false" } = e, { lastplayedunique: q = "true" } = e, { fetchviaevent: U = "true" } = e, B = window.navigator.userAgent, Y = !1, L = [], I, f;
305
+ const K = () => {
306
306
  fetch(_).then((g) => g.json()).then((g) => {
307
307
  Object.keys(g).forEach((u) => {
308
- V(u, g[u]);
308
+ Q(u, g[u]);
309
309
  });
310
310
  }).catch((g) => {
311
311
  console.log(g);
312
312
  });
313
313
  };
314
- Object.keys(Z).forEach((a) => {
315
- V(a, Z[a]);
314
+ Object.keys(V).forEach((a) => {
315
+ Q(a, V[a]);
316
316
  });
317
317
  const W = () => new Promise((a, g) => {
318
318
  let u = new URL(`${o}/v1/player/${y}/games/last-played`);
319
- u.searchParams.append("unique", q), u.searchParams.append("limit", G), u.searchParams.append("order", j), u.searchParams.append("period", C), ye(K) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), I = k ? u : u.href, fetch(I).then((c) => c.json()).then((c) => {
319
+ u.searchParams.append("unique", q), u.searchParams.append("limit", G), u.searchParams.append("order", j), u.searchParams.append("period", C), ye(B) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), I = k ? u : u.href, fetch(I).then((c) => c.json()).then((c) => {
320
320
  c.items = c.items.filter(($) => {
321
321
  let J = !0;
322
322
  return $.gameCode == "OddsMatrix2" && (c.count--, J = !1), J;
@@ -354,11 +354,11 @@ function Le(s, e, t) {
354
354
  });
355
355
  }
356
356
  return s.$$set = (a) => {
357
- "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "mbsource" in a && t(6, b = a.mbsource), "clientstyling" in a && t(7, v = a.clientstyling), "clientstylingurl" in a && t(8, w = a.clientstylingurl), "translationurl" in a && t(21, _ = a.translationurl), "livecasino" in a && t(9, k = a.livecasino), "integratedgameframemobile" in a && t(10, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(11, z = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(12, F = a.gamepagemodalurl), "showgamename" in a && t(13, T = a.showgamename), "visiblegames" in a && t(14, S = a.visiblegames), "favorites" in a && t(15, O = a.favorites), "lastplayedperiod" in a && t(22, C = a.lastplayedperiod), "lastplayedorder" in a && t(23, j = a.lastplayedorder), "lastplayedlimit" in a && t(24, G = a.lastplayedlimit), "casinomygames" in a && t(16, R = a.casinomygames), "lastplayedunique" in a && t(25, q = a.lastplayedunique), "fetchviaevent" in a && t(17, U = a.fetchviaevent);
357
+ "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "mbsource" in a && t(6, b = a.mbsource), "clientstyling" in a && t(7, v = a.clientstyling), "clientstylingurl" in a && t(8, w = a.clientstylingurl), "translationurl" in a && t(21, _ = a.translationurl), "livecasino" in a && t(9, k = a.livecasino), "integratedgameframemobile" in a && t(10, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(11, z = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(12, F = a.gamepagemodalurl), "showgamename" in a && t(13, O = a.showgamename), "visiblegames" in a && t(14, S = a.visiblegames), "favorites" in a && t(15, T = a.favorites), "lastplayedperiod" in a && t(22, C = a.lastplayedperiod), "lastplayedorder" in a && t(23, j = a.lastplayedorder), "lastplayedlimit" in a && t(24, G = a.lastplayedlimit), "casinomygames" in a && t(16, R = a.casinomygames), "lastplayedunique" in a && t(25, q = a.lastplayedunique), "fetchviaevent" in a && t(17, U = a.fetchviaevent);
358
358
  }, s.$$.update = () => {
359
359
  s.$$.dirty[0] & /*endpoint, userid, lang*/
360
360
  41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
361
- 2097152 && _ && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
361
+ 2097152 && _ && K(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
362
362
  262272 && v && f && ge(f, v), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
363
363
  262400 && w && f && ue(f, w), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
364
364
  262208 && b && f && ce(f, `${b}.Style`), s.$$.dirty[0] & /*lang*/
@@ -377,9 +377,9 @@ function Le(s, e, t) {
377
377
  N,
378
378
  z,
379
379
  F,
380
- T,
381
- S,
382
380
  O,
381
+ S,
382
+ T,
383
383
  R,
384
384
  U,
385
385
  f,
@@ -1,12 +1,12 @@
1
- import { a as ee, $ as te, S as ae, i as se, f as l, c as ie, s as ne, b as le, e as P, y as A, d as M, z as B, G as H, j as D, k as re, o as oe, l as ue, m as ce, q as me, r as ge, T as i, x as de, E as fe, I as he, U as ye } from "./CasinoCalendar-B72qCmVu.js";
2
- import "./CasinoFavoritesSectionNd-D0uxeFMF.js";
3
- function V(s, e) {
1
+ import { a as ee, $ as te, S as ae, i as se, f as l, c as ie, s as ne, b as le, e as P, y as A, d as M, z as Z, G as H, j as D, k as re, o as oe, l as ue, m as ce, q as me, r as ge, Q as i, x as de, E as fe, I as he, R as ye } from "./CasinoCalendar-qVpbXj-D.js";
2
+ import "./CasinoFavoritesSectionNd-KuBsOlJI.js";
3
+ function Q(s, e) {
4
4
  ee(s, e);
5
5
  }
6
6
  function be(s) {
7
7
  te.set(s);
8
8
  }
9
- const Z = {
9
+ const V = {
10
10
  en: {
11
11
  noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
12
12
  },
@@ -260,7 +260,7 @@ function _e(s) {
260
260
  e = P("p"), n = de(t), A(e, "class", "SearchLoading");
261
261
  },
262
262
  m(o, r) {
263
- M(o, e, r), B(e, n);
263
+ M(o, e, r), Z(e, n);
264
264
  },
265
265
  p(o, r) {
266
266
  r[0] & /*$_*/
@@ -286,7 +286,7 @@ function ke(s) {
286
286
  e = P("div"), t = P("div"), r.c(), A(t, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
287
287
  },
288
288
  m(m, d) {
289
- M(m, e, d), B(e, t), r.m(t, null), s[26](e);
289
+ M(m, e, d), Z(e, t), r.m(t, null), s[26](e);
290
290
  },
291
291
  p(m, d) {
292
292
  o === (o = n(m)) && r ? r.p(m, d) : (r.d(1), r = o(m), r && (r.c(), r.m(t, null)));
@@ -301,22 +301,22 @@ function ke(s) {
301
301
  function Le(s, e, t) {
302
302
  let n;
303
303
  re(s, he, (a) => t(20, n = a));
304
- let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { mbsource: b } = e, { clientstyling: v = "" } = e, { clientstylingurl: w = "" } = e, { translationurl: _ = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: N = "false" } = e, { integratedgameframedesktop: z = "false" } = e, { gamepagemodalurl: F = "false" } = e, { showgamename: T = "" } = e, { visiblegames: S = "" } = e, { favorites: O = "" } = e, { lastplayedperiod: C = "Last30Days" } = e, { lastplayedorder: j = "" } = e, { lastplayedlimit: G = "" } = e, { casinomygames: R = "false" } = e, { lastplayedunique: q = "true" } = e, { fetchviaevent: U = "true" } = e, K = window.navigator.userAgent, Y = !1, L = [], I, f;
305
- const Q = () => {
304
+ let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { mbsource: b } = e, { clientstyling: v = "" } = e, { clientstylingurl: w = "" } = e, { translationurl: _ = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: N = "false" } = e, { integratedgameframedesktop: z = "false" } = e, { gamepagemodalurl: F = "false" } = e, { showgamename: O = "" } = e, { visiblegames: S = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: C = "Last30Days" } = e, { lastplayedorder: j = "" } = e, { lastplayedlimit: G = "" } = e, { casinomygames: R = "false" } = e, { lastplayedunique: q = "true" } = e, { fetchviaevent: U = "true" } = e, B = window.navigator.userAgent, Y = !1, L = [], I, f;
305
+ const K = () => {
306
306
  fetch(_).then((g) => g.json()).then((g) => {
307
307
  Object.keys(g).forEach((u) => {
308
- V(u, g[u]);
308
+ Q(u, g[u]);
309
309
  });
310
310
  }).catch((g) => {
311
311
  console.log(g);
312
312
  });
313
313
  };
314
- Object.keys(Z).forEach((a) => {
315
- V(a, Z[a]);
314
+ Object.keys(V).forEach((a) => {
315
+ Q(a, V[a]);
316
316
  });
317
317
  const W = () => new Promise((a, g) => {
318
318
  let u = new URL(`${o}/v1/player/${y}/games/last-played`);
319
- u.searchParams.append("unique", q), u.searchParams.append("limit", G), u.searchParams.append("order", j), u.searchParams.append("period", C), ye(K) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), I = k ? u : u.href, fetch(I).then((c) => c.json()).then((c) => {
319
+ u.searchParams.append("unique", q), u.searchParams.append("limit", G), u.searchParams.append("order", j), u.searchParams.append("period", C), ye(B) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), I = k ? u : u.href, fetch(I).then((c) => c.json()).then((c) => {
320
320
  c.items = c.items.filter(($) => {
321
321
  let J = !0;
322
322
  return $.gameCode == "OddsMatrix2" && (c.count--, J = !1), J;
@@ -354,11 +354,11 @@ function Le(s, e, t) {
354
354
  });
355
355
  }
356
356
  return s.$$set = (a) => {
357
- "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "mbsource" in a && t(6, b = a.mbsource), "clientstyling" in a && t(7, v = a.clientstyling), "clientstylingurl" in a && t(8, w = a.clientstylingurl), "translationurl" in a && t(21, _ = a.translationurl), "livecasino" in a && t(9, k = a.livecasino), "integratedgameframemobile" in a && t(10, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(11, z = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(12, F = a.gamepagemodalurl), "showgamename" in a && t(13, T = a.showgamename), "visiblegames" in a && t(14, S = a.visiblegames), "favorites" in a && t(15, O = a.favorites), "lastplayedperiod" in a && t(22, C = a.lastplayedperiod), "lastplayedorder" in a && t(23, j = a.lastplayedorder), "lastplayedlimit" in a && t(24, G = a.lastplayedlimit), "casinomygames" in a && t(16, R = a.casinomygames), "lastplayedunique" in a && t(25, q = a.lastplayedunique), "fetchviaevent" in a && t(17, U = a.fetchviaevent);
357
+ "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "mbsource" in a && t(6, b = a.mbsource), "clientstyling" in a && t(7, v = a.clientstyling), "clientstylingurl" in a && t(8, w = a.clientstylingurl), "translationurl" in a && t(21, _ = a.translationurl), "livecasino" in a && t(9, k = a.livecasino), "integratedgameframemobile" in a && t(10, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(11, z = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(12, F = a.gamepagemodalurl), "showgamename" in a && t(13, O = a.showgamename), "visiblegames" in a && t(14, S = a.visiblegames), "favorites" in a && t(15, T = a.favorites), "lastplayedperiod" in a && t(22, C = a.lastplayedperiod), "lastplayedorder" in a && t(23, j = a.lastplayedorder), "lastplayedlimit" in a && t(24, G = a.lastplayedlimit), "casinomygames" in a && t(16, R = a.casinomygames), "lastplayedunique" in a && t(25, q = a.lastplayedunique), "fetchviaevent" in a && t(17, U = a.fetchviaevent);
358
358
  }, s.$$.update = () => {
359
359
  s.$$.dirty[0] & /*endpoint, userid, lang*/
360
360
  41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
361
- 2097152 && _ && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
361
+ 2097152 && _ && K(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
362
362
  262272 && v && f && ge(f, v), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
363
363
  262400 && w && f && ue(f, w), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
364
364
  262208 && b && f && ce(f, `${b}.Style`), s.$$.dirty[0] & /*lang*/
@@ -377,9 +377,9 @@ function Le(s, e, t) {
377
377
  N,
378
378
  z,
379
379
  F,
380
- T,
381
- S,
382
380
  O,
381
+ S,
382
+ T,
383
383
  R,
384
384
  U,
385
385
  f,
@@ -1,12 +1,12 @@
1
- import { a as $, $ as ee, S as te, i as se, f as l, c as ae, s as ne, b as ie, e as P, y as M, d as A, z as K, G as Y, j as E, k as oe, o as le, l as re, m as me, U as ge, q as ce, r as ue, T as n, x as de, E as fe, I as he } from "./CasinoCalendar-B72qCmVu.js";
2
- import "./CasinoFavoritesSectionNd-D0uxeFMF.js";
3
- function B(a, e) {
1
+ import { a as $, $ as ee, S as te, i as se, f as l, c as ae, s as ne, b as ie, e as P, y as M, d as A, z as H, G as Q, j as E, k as oe, o as le, l as re, m as me, R as ge, q as ce, r as ue, Q as n, x as de, E as fe, I as he } from "./CasinoCalendar-qVpbXj-D.js";
2
+ import "./CasinoFavoritesSectionNd-KuBsOlJI.js";
3
+ function Y(a, e) {
4
4
  $(a, e);
5
5
  }
6
6
  function ye(a) {
7
7
  ee.set(a);
8
8
  }
9
- const H = {
9
+ const B = {
10
10
  en: {
11
11
  noGames: "No games in most played"
12
12
  },
@@ -290,7 +290,7 @@ function _e(a) {
290
290
  e = P("p"), i = de(s), M(e, "class", "SearchLoading");
291
291
  },
292
292
  m(m, r) {
293
- A(m, e, r), K(e, i);
293
+ A(m, e, r), H(e, i);
294
294
  },
295
295
  p(m, r) {
296
296
  r[0] & /*$_*/
@@ -316,13 +316,13 @@ function Ge(a) {
316
316
  e = P("div"), s = P("div"), r.c(), M(s, "class", "casino-most-played-section"), M(e, "class", "CasinoGamesCategorySectionContainer");
317
317
  },
318
318
  m(g, c) {
319
- A(g, e, c), K(e, s), r.m(s, null), a[24](e);
319
+ A(g, e, c), H(e, s), r.m(s, null), a[24](e);
320
320
  },
321
321
  p(g, c) {
322
322
  m === (m = i(g)) && r ? r.p(g, c) : (r.d(1), r = m(g), r && (r.c(), r.m(s, null)));
323
323
  },
324
- i: Y,
325
- o: Y,
324
+ i: Q,
325
+ o: Q,
326
326
  d(g) {
327
327
  g && E(e), r.d(), a[24](null);
328
328
  }
@@ -331,18 +331,18 @@ function Ge(a) {
331
331
  function ke(a, e, s) {
332
332
  let i;
333
333
  oe(a, he, (t) => s(20, i = t));
334
- let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: F = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: G = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: O = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: T = "false" } = e, { showgamename: U = "" } = e, { visiblegames: j } = e, { favorites: R = "" } = e, { translationurl: w = "" } = e, { casinomygames: S = "false" } = e, { mostplayedperiod: C = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: z = "true" } = e, Q = window.navigator.userAgent;
334
+ let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: F = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: G = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: O = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: j } = e, { favorites: U = "" } = e, { translationurl: w = "" } = e, { casinomygames: S = "false" } = e, { mostplayedperiod: C = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: z = "true" } = e, K = window.navigator.userAgent;
335
335
  const V = () => {
336
336
  fetch(w).then((o) => o.json()).then((o) => {
337
337
  Object.keys(o).forEach((d) => {
338
- B(d, o[d]);
338
+ Y(d, o[d]);
339
339
  });
340
340
  }).catch((o) => {
341
341
  console.log(o);
342
342
  });
343
343
  };
344
- Object.keys(H).forEach((t) => {
345
- B(t, H[t]);
344
+ Object.keys(B).forEach((t) => {
345
+ Y(t, B[t]);
346
346
  });
347
347
  let N = [], I, q = !1, u;
348
348
  const W = (t) => {
@@ -362,7 +362,7 @@ function ke(a, e, s) {
362
362
  }, X = () => {
363
363
  W({
364
364
  limit: 100,
365
- device: ge(Q),
365
+ device: ge(K),
366
366
  rounds: L
367
367
  }).then((t) => {
368
368
  if (t.count > 0) {
@@ -387,7 +387,7 @@ function ke(a, e, s) {
387
387
  });
388
388
  }
389
389
  return a.$$set = (t) => {
390
- "endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, r = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, F = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, _ = t.clientstyling), "clientstylingurl" in t && s(8, G = t.clientstylingurl), "livecasino" in t && s(9, k = t.livecasino), "integratedgameframemobile" in t && s(10, O = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, D = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, T = t.gamepagemodalurl), "showgamename" in t && s(13, U = t.showgamename), "visiblegames" in t && s(14, j = t.visiblegames), "favorites" in t && s(15, R = t.favorites), "translationurl" in t && s(21, w = t.translationurl), "casinomygames" in t && s(16, S = t.casinomygames), "mostplayedperiod" in t && s(22, C = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(17, z = t.fetchviaevent);
390
+ "endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, r = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, F = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, _ = t.clientstyling), "clientstylingurl" in t && s(8, G = t.clientstylingurl), "livecasino" in t && s(9, k = t.livecasino), "integratedgameframemobile" in t && s(10, O = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, D = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, j = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(21, w = t.translationurl), "casinomygames" in t && s(16, S = t.casinomygames), "mostplayedperiod" in t && s(22, C = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(17, z = t.fetchviaevent);
391
391
  }, a.$$.update = () => {
392
392
  a.$$.dirty[0] & /*endpoint, userid, lang*/
393
393
  41 && m && b && c && X(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
@@ -409,10 +409,10 @@ function ke(a, e, s) {
409
409
  k,
410
410
  O,
411
411
  D,
412
+ R,
412
413
  T,
413
- U,
414
414
  j,
415
- R,
415
+ U,
416
416
  S,
417
417
  z,
418
418
  u,