@everymatrix/casino-page-nd 1.76.12 → 1.76.13

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 (61) hide show
  1. package/components/{CasinoCalendar-D_FT39Q4.js → CasinoCalendar-DDXo_sLW.js} +25 -25
  2. package/components/{CasinoCalendar-BeFhOf4A.js → CasinoCalendar-DdCnnpAB.js} +4 -4
  3. package/components/{CasinoCalendarDailyDetails-BDQiZCqX.js → CasinoCalendarDailyDetails-CQZJ4CVD.js} +1 -1
  4. package/components/{CasinoCalendarDailyDetails-9IYOPuFc.js → CasinoCalendarDailyDetails-CY7B1lxS.js} +13 -13
  5. package/components/{CasinoCalendarDailyItem-CrFZVw0F.js → CasinoCalendarDailyItem-CwQkhLDC.js} +16 -16
  6. package/components/{CasinoCalendarDailyItem-BamgaFUp.js → CasinoCalendarDailyItem-DGbWXxCR.js} +1 -1
  7. package/components/{CasinoCollectionsProviders-DY6wwYQ5.js → CasinoCollectionsProviders-BoWCBksj.js} +38 -38
  8. package/components/{CasinoCollectionsProviders-DL8SGKDA.js → CasinoCollectionsProviders-D9evjksc.js} +1 -1
  9. package/components/{CasinoFavoritesSectionNd-ClCXq3fI.js → CasinoFavoritesSectionNd-CGOlvGdM.js} +48 -40
  10. package/components/CasinoFavoritesSectionNd-CvXJsyAP.cjs +1 -0
  11. package/components/{CasinoFavoritesSectionNd-h53SK3bH.js → CasinoFavoritesSectionNd-H7nx1r94.js} +47 -39
  12. package/components/{CasinoFilter-x0Wt4ZXS.js → CasinoFilter-DnMTdTn9.js} +32 -32
  13. package/components/{CasinoFilter-4Wzk9riO.js → CasinoFilter-KfWVyYe3.js} +1 -1
  14. package/components/{CasinoGameThumbnailNd-c5C6hrLn.js → CasinoGameThumbnailNd-Bzu_4Oxw.js} +1 -1
  15. package/components/{CasinoGameThumbnailNd-CP63nfPC.js → CasinoGameThumbnailNd-NR9WwTZ6.js} +7 -7
  16. package/components/CasinoGamesCategorySectionNd-CIcaCq68.cjs +1 -0
  17. package/components/{CasinoGamesCategorySectionNd-1n7W_2Jo.js → CasinoGamesCategorySectionNd-CblCav-m.js} +200 -192
  18. package/components/{CasinoGamesCategorySectionNd-Ag5Tj4JP.js → CasinoGamesCategorySectionNd-Rm6DYIBP.js} +217 -209
  19. package/components/{CasinoJackpotBanner-DqTHDpRn.js → CasinoJackpotBanner-C6wXEguN.js} +14 -14
  20. package/components/{CasinoJackpotBanner-Di723weh.js → CasinoJackpotBanner-MCIBXYea.js} +1 -1
  21. package/components/{CasinoLastPlayedSectionNd-Brc-gVCH.cjs → CasinoLastPlayedSectionNd-Bxs8eYQG.cjs} +1 -1
  22. package/components/{CasinoLastPlayedSectionNd-CnIteVfC.js → CasinoLastPlayedSectionNd-CN3yKI9-.js} +25 -25
  23. package/components/{CasinoLastPlayedSectionNd-C1brYuWY.js → CasinoLastPlayedSectionNd-fAiSSaIh.js} +2 -2
  24. package/components/{CasinoMostPlayedSectionNd-jqn46xP5.js → CasinoMostPlayedSectionNd-B1at83la.js} +30 -30
  25. package/components/{CasinoMostPlayedSectionNd-CCDktQG1.cjs → CasinoMostPlayedSectionNd-C-cloax-.cjs} +1 -1
  26. package/components/{CasinoMostPlayedSectionNd-J9_utOkU.js → CasinoMostPlayedSectionNd-G7f4yFDo.js} +2 -2
  27. package/components/{CasinoMyGamesNd-DXPTD3HX.js → CasinoMyGamesNd-Bj2okvQP.js} +4 -4
  28. package/components/CasinoMyGamesNd-CxF3mFQs.cjs +1 -0
  29. package/components/{CasinoMyGamesNd-DFpwDkNI.js → CasinoMyGamesNd-DwAtzu1i.js} +23 -23
  30. package/components/{CasinoPageNd-DKTkgLVP.js → CasinoPageNd-B6pJElK0.js} +1161 -1222
  31. package/components/{CasinoPageNd-Cze-S-Q4.js → CasinoPageNd-Bo7ns-k8.js} +1075 -1136
  32. package/components/CasinoPageNd-DxVmo3F5.cjs +1 -0
  33. package/components/{CasinoRandomGame-DJL8U-gh.js → CasinoRandomGame-8L_f477H.js} +14 -14
  34. package/components/{CasinoRandomGame-CC2nBqKg.js → CasinoRandomGame-DlzNumMI.js} +26 -26
  35. package/components/{CasinoSearchNd-mdR2jyDR.cjs → CasinoSearchNd-BGNGhn3i.cjs} +1 -1
  36. package/components/{CasinoSearchNd-BtjkElM4.js → CasinoSearchNd-DHWo9Sq0.js} +3 -3
  37. package/components/{CasinoSearchNd-C1Ci58C8.js → CasinoSearchNd-DlBxnUCa.js} +23 -23
  38. package/components/{CasinoSort-Cy2ctqyz.js → CasinoSort-D-B4gJyW.js} +1 -1
  39. package/components/{CasinoSort-CiX0dz1y.js → CasinoSort-DNllDxl4.js} +36 -36
  40. package/components/{CasinoWinners-Cd5X-I3l.js → CasinoWinners-BXurlLis.js} +2 -2
  41. package/components/{CasinoWinners-DvBTAsd5.js → CasinoWinners-Gp8fceSt.js} +43 -43
  42. package/components/{GeneralAnimationLoading-DLOb23yL.js → GeneralAnimationLoading-DZ1wrvtM.js} +1 -1
  43. package/components/{GeneralAnimationLoading-to_WYHvJ.js → GeneralAnimationLoading-vgt-l_aE.js} +4 -4
  44. package/es2015/casino-page-nd.cjs +1 -1
  45. package/es2015/casino-page-nd.js +1 -1
  46. package/esnext/casino-page-nd.js +1 -1
  47. package/package.json +1 -1
  48. package/stencil/{casino-play-random-game-FWimws-s.js → casino-play-random-game-BpDaQ8lr.js} +5 -1
  49. package/stencil/casino-play-random-game-BtyKwZuB.cjs +1 -0
  50. package/stencil/{casino-play-random-game-CDzPSKby.js → casino-play-random-game-DkvncoWi.js} +5 -1
  51. package/stencil/{casino-play-random-game_2-EAIMj5kG.js → casino-play-random-game_2-BdD78js8.js} +1 -1
  52. package/stencil/{casino-play-random-game_2-BGE-oMV1.js → casino-play-random-game_2-C2bZyPjR.js} +1 -1
  53. package/stencil/{casino-play-random-game_2-CsaKuS_m.cjs → casino-play-random-game_2-CYSobUaR.cjs} +1 -1
  54. package/stencil/{index-328e660d-CV2Ft9VG.js → index-328e660d-B9ooleuJ.js} +91 -90
  55. package/stencil/{index-328e660d-CX4nYxdf.js → index-328e660d-C6jlVqfy.js} +96 -95
  56. package/stencil/{index-328e660d-rQhlf25X.cjs → index-328e660d-D9ZPPQF8.cjs} +1 -1
  57. package/components/CasinoFavoritesSectionNd-DAjCrR4l.cjs +0 -1
  58. package/components/CasinoGamesCategorySectionNd-B7V05VGS.cjs +0 -1
  59. package/components/CasinoMyGamesNd-QHx_1u38.cjs +0 -1
  60. package/components/CasinoPageNd-DJdd4UsG.cjs +0 -1
  61. package/stencil/casino-play-random-game-7Jiz5qZy.cjs +0 -1
@@ -1,4 +1,4 @@
1
- import { a as ze, $ as Ne, S as Ue, i as Re, s as Fe, f as w, b as Oe, n as je, d as z, h as N, j as s, o as Me, W as He, C as Pe, r as d, G as Le, D as F, E as h, p as r, A as qe, B as _, l as Ge, v as Te, w as Ke, T as Ye, m as E, q as J, H as Qe, I as Xe, J as Ze, K as $e } from "./CasinoCalendar-D_FT39Q4.js";
1
+ import { a as ze, $ as Ne, S as Ue, i as Re, s as Fe, f as w, b as Oe, n as je, d as z, h as N, j as s, o as Me, W as He, D as Pe, u as d, H as Le, E as F, F as h, q as r, B as qe, C as _, m as Ge, w as Te, x as Ke, T as Ye, p as E, r as J, I as Qe, J as Xe, K as Ze, L as $e } from "./CasinoCalendar-DDXo_sLW.js";
2
2
  import "../stencil/ui-image-Bj3y-YhF.js";
3
3
  function We(a, e) {
4
4
  ze(a, e);
@@ -182,20 +182,20 @@ function nt(a) {
182
182
  a[10][3]
183
183
  )) + ""
184
184
  ), I, Se, V = !/*currencylocale*/
185
- a[3] && Ee(a), D = !/*currencylocale*/
186
- a[3] && Je(a), x = !/*currencylocale*/
185
+ a[3] && Ee(a), x = !/*currencylocale*/
186
+ a[3] && Je(a), D = !/*currencylocale*/
187
187
  a[3] && Ve(a), B = !/*currencylocale*/
188
- a[3] && De(a);
188
+ a[3] && xe(a);
189
189
  return {
190
190
  c() {
191
- e = s("div"), t = s("div"), i = s("div"), n = s("ui-image"), o = _(), C = s("span"), S = J(T), k = _(), b = s("span"), y = s("span"), U = J(A), L = _(), V && V.c(), f = _(), c = s("div"), m = s("div"), W = s("ui-image"), ne = _(), K = s("span"), me = J(P), ce = _(), O = s("span"), re = s("span"), ie = J(ae), oe = _(), D && D.c(), de = _(), q = s("div"), Y = s("div"), Q = s("div"), j = s("ui-image"), ye = _(), le = s("span"), Z = J(M), ke = _(), H = s("span"), ue = s("span"), he = J(fe), ve = _(), x && x.c(), we = _(), $ = s("div"), ee = s("div"), G = s("ui-image"), be = _(), ge = s("span"), _e = J(se), Ce = _(), te = s("span"), l = s("span"), I = J(p), Se = _(), B && B.c(), h(n, "class", "displayCardIcon"), F(n.src, g = /*caticons*/
191
+ e = s("div"), t = s("div"), i = s("div"), n = s("ui-image"), o = _(), C = s("span"), S = J(T), k = _(), b = s("span"), y = s("span"), U = J(A), L = _(), V && V.c(), f = _(), c = s("div"), m = s("div"), W = s("ui-image"), ne = _(), K = s("span"), me = J(P), ce = _(), O = s("span"), re = s("span"), ie = J(ae), oe = _(), x && x.c(), de = _(), q = s("div"), Y = s("div"), Q = s("div"), j = s("ui-image"), ye = _(), le = s("span"), Z = J(M), ke = _(), H = s("span"), ue = s("span"), he = J(fe), ve = _(), D && D.c(), we = _(), $ = s("div"), ee = s("div"), G = s("ui-image"), be = _(), ge = s("span"), _e = J(se), Ce = _(), te = s("span"), l = s("span"), I = J(p), Se = _(), B && B.c(), h(n, "class", "displayCardIcon"), F(n.src, g = /*caticons*/
192
192
  a[12][0]) || h(n, "src", g), h(n, "alt", ""), d(C, "class", "cardLabel"), d(i, "class", "iconWrapper"), d(y, "class", "jackpotValue"), d(b, "class", "cardTextWrapper"), d(t, "class", "displayCard"), h(W, "class", "displayCardIcon"), F(W.src, R = /*caticons*/
193
193
  a[12][1]) || h(W, "src", R), h(W, "alt", ""), d(K, "class", "cardLabel"), d(m, "class", "iconWrapper"), d(re, "class", "jackpotValue"), d(O, "class", "cardTextWrapper"), d(c, "class", "displayCard"), d(e, "class", "pairWrapper"), h(j, "class", "displayCardIcon"), F(j.src, X = /*caticons*/
194
194
  a[12][2]) || h(j, "src", X), h(j, "alt", ""), d(le, "class", "cardLabel"), d(Q, "class", "iconWrapper"), d(ue, "class", "jackpotValue"), d(H, "class", "cardTextWrapper"), d(Y, "class", "displayCard"), h(G, "class", "displayCardIcon"), F(G.src, pe = /*caticons*/
195
195
  a[12][3]) || h(G, "src", pe), h(G, "alt", ""), d(ge, "class", "cardLabel"), d(ee, "class", "iconWrapper"), d(l, "class", "jackpotValue"), d(te, "class", "cardTextWrapper"), d($, "class", "displayCard"), d(q, "class", "pairWrapper");
196
196
  },
197
197
  m(u, v) {
198
- N(u, e, v), r(e, t), r(t, i), r(i, n), r(i, o), r(i, C), r(C, S), r(t, k), r(t, b), r(b, y), r(y, U), r(b, L), V && V.m(b, null), r(e, f), r(e, c), r(c, m), r(m, W), r(m, ne), r(m, K), r(K, me), r(c, ce), r(c, O), r(O, re), r(re, ie), r(O, oe), D && D.m(O, null), N(u, de, v), N(u, q, v), r(q, Y), r(Y, Q), r(Q, j), r(Q, ye), r(Q, le), r(le, Z), r(Y, ke), r(Y, H), r(H, ue), r(ue, he), r(H, ve), x && x.m(H, null), r(q, we), r(q, $), r($, ee), r(ee, G), r(ee, be), r(ee, ge), r(ge, _e), r($, Ce), r($, te), r(te, l), r(l, I), r(te, Se), B && B.m(te, null);
198
+ N(u, e, v), r(e, t), r(t, i), r(i, n), r(i, o), r(i, C), r(C, S), r(t, k), r(t, b), r(b, y), r(y, U), r(b, L), V && V.m(b, null), r(e, f), r(e, c), r(c, m), r(m, W), r(m, ne), r(m, K), r(K, me), r(c, ce), r(c, O), r(O, re), r(re, ie), r(O, oe), x && x.m(O, null), N(u, de, v), N(u, q, v), r(q, Y), r(Y, Q), r(Q, j), r(Q, ye), r(Q, le), r(le, Z), r(Y, ke), r(Y, H), r(H, ue), r(ue, he), r(H, ve), D && D.m(H, null), r(q, we), r(q, $), r($, ee), r(ee, G), r(ee, be), r(ee, ge), r(ge, _e), r($, Ce), r($, te), r(te, l), r(l, I), r(te, Se), B && B.m(te, null);
199
199
  },
200
200
  p(u, v) {
201
201
  v[0] & /*caticons*/
@@ -224,7 +224,7 @@ function nt(a) {
224
224
  /*formattedJackpotValues*/
225
225
  u[10][1]
226
226
  )) + "") && E(ie, ae), /*currencylocale*/
227
- u[3] ? D && (D.d(1), D = null) : D ? D.p(u, v) : (D = Je(u), D.c(), D.m(O, null)), v[0] & /*caticons*/
227
+ u[3] ? x && (x.d(1), x = null) : x ? x.p(u, v) : (x = Je(u), x.c(), x.m(O, null)), v[0] & /*caticons*/
228
228
  4096 && !F(j.src, X = /*caticons*/
229
229
  u[12][2]) && h(j, "src", X), v[0] & /*formattedLabels*/
230
230
  2048 && M !== (M = /*formattedLabels*/
@@ -237,7 +237,7 @@ function nt(a) {
237
237
  /*formattedJackpotValues*/
238
238
  u[10][2]
239
239
  )) + "") && E(he, fe), /*currencylocale*/
240
- u[3] ? x && (x.d(1), x = null) : x ? x.p(u, v) : (x = Ve(u), x.c(), x.m(H, null)), v[0] & /*caticons*/
240
+ u[3] ? D && (D.d(1), D = null) : D ? D.p(u, v) : (D = Ve(u), D.c(), D.m(H, null)), v[0] & /*caticons*/
241
241
  4096 && !F(G.src, pe = /*caticons*/
242
242
  u[12][3]) && h(G, "src", pe), v[0] & /*formattedLabels*/
243
243
  2048 && se !== (se = /*formattedLabels*/
@@ -250,10 +250,10 @@ function nt(a) {
250
250
  /*formattedJackpotValues*/
251
251
  u[10][3]
252
252
  )) + "") && E(I, p), /*currencylocale*/
253
- u[3] ? B && (B.d(1), B = null) : B ? B.p(u, v) : (B = De(u), B.c(), B.m(te, null));
253
+ u[3] ? B && (B.d(1), B = null) : B ? B.p(u, v) : (B = xe(u), B.c(), B.m(te, null));
254
254
  },
255
255
  d(u) {
256
- u && (z(e), z(de), z(q)), V && V.d(), D && D.d(), x && x.d(), B && B.d();
256
+ u && (z(e), z(de), z(q)), V && V.d(), x && x.d(), D && D.d(), B && B.d();
257
257
  }
258
258
  };
259
259
  }
@@ -366,7 +366,7 @@ function Ve(a) {
366
366
  }
367
367
  };
368
368
  }
369
- function De(a) {
369
+ function xe(a) {
370
370
  let e, t;
371
371
  return {
372
372
  c() {
@@ -391,7 +391,7 @@ function De(a) {
391
391
  }
392
392
  };
393
393
  }
394
- function xe(a) {
394
+ function De(a) {
395
395
  let e, t;
396
396
  return {
397
397
  c() {
@@ -439,7 +439,7 @@ function Be(a) {
439
439
  ] ?? ""
440
440
  )) + ""
441
441
  ), A, U, L, f = !/*currencylocale*/
442
- a[3] && xe(a);
442
+ a[3] && De(a);
443
443
  return {
444
444
  c() {
445
445
  e = s("div"), t = s("div"), i = s("ui-image"), g = _(), o = s("span"), T = J(C), S = _(), k = s("span"), b = s("span"), A = J(y), U = _(), f && f.c(), L = _(), h(i, "class", "displayCardIcon"), F(i.src, n = /*caticons*/
@@ -477,7 +477,7 @@ function Be(a) {
477
477
  c[58]
478
478
  ] ?? ""
479
479
  )) + "") && E(A, y), /*currencylocale*/
480
- c[3] ? f && (f.d(1), f = null) : f ? f.p(c, m) : (f = xe(c), f.c(), f.m(k, null));
480
+ c[3] ? f && (f.d(1), f = null) : f ? f.p(c, m) : (f = De(c), f.c(), f.m(k, null));
481
481
  },
482
482
  d(c) {
483
483
  c && z(e), f && f.d();
@@ -1,4 +1,4 @@
1
- import { a as Ne, $ as Ue, S as Re, i as Fe, s as Oe, f as C, b as Me, n as Se, d as U, h as R, j as s, o as De, W as He, C as Pe, r as o, G as je, D as O, E as b, p as r, A as qe, B as k, l as Ge, v as Te, w as Ke, T as Ye, m as J, q as V, H as Qe, I as Xe, J as Ze, K as $e } from "./CasinoCalendar-BeFhOf4A.js";
1
+ import { a as Ne, $ as Ue, S as Re, i as Fe, s as Oe, f as C, b as Me, n as Se, d as U, h as R, j as s, o as De, W as He, C as Pe, r as o, G as je, D as O, E as b, p as r, A as qe, B as k, l as Ge, v as Te, w as Ke, T as Ye, m as J, q as V, H as Qe, I as Xe, J as Ze, K as $e } from "./CasinoCalendar-DdCnnpAB.js";
2
2
  import "../stencil/ui-image-BTT8PTe6.js";
3
3
  function We(i, e) {
4
4
  Ne(i, e);
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-1EiuG4ja.cjs");require("./CasinoFavoritesSectionNd-DAjCrR4l.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[16]),t.set_custom_element_data(e,"fetchviaevent",n[18]),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[14]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[9]),t.set_custom_element_data(e,"livecasino",n[10]),t.set_custom_element_data(e,"visiblegames",n[15]),t.set_custom_element_data(e,"gamepagemodalurl",n[13]),t.set_custom_element_data(e,"integratedgameframedesktop",n[12]),t.set_custom_element_data(e,"integratedgameframemobile",n[11]),t.set_custom_element_data(e,"casinomygames",n[17]),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]&65536&&t.set_custom_element_data(e,"favorites",a[16]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&16384&&t.set_custom_element_data(e,"showgamename",a[14]),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,"translationurl",a[9]),i[0]&1024&&t.set_custom_element_data(e,"livecasino",a[10]),i[0]&32768&&t.set_custom_element_data(e,"visiblegames",a[15]),i[0]&8192&&t.set_custom_element_data(e,"gamepagemodalurl",a[13]),i[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframemobile",a[11]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),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[21]("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]&2097152&&a!==(a=o[21]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[20]?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(21,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(m=>{z(m,c[m])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let m=new URL(`${o}/v1/player/${_}/games/last-played`);m.searchParams.append("unique",q),m.searchParams.append("limit",S),m.searchParams.append("order",C),m.searchParams.append("period",L),t.getDevice(I)==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"),O=w?m:m.href,fetch(O).then(r=>r.json()).then(r=>{r.items=r.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(r.count--,T=!1),T}),s(r),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:r},window.location.href)}).catch(r=>{console.error(r),c(r)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(m=>{let f=new URL(`${o}/v1/casino/games/${m.gameId}`);f.searchParams.append("datasource",l),w?c.push(fetch(f.href).then(r=>r.json())):c.push(fetch(f.href).then(r=>r.json()))}),Promise.all(c).then(m=>{k=m.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(20,F=!0)})},Z=()=>{Q(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(19,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(9,v=s.translationurl),"livecasino"in s&&a(10,w=s.livecasino),"integratedgameframemobile"in s&&a(11,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(12,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(13,M=s.gamepagemodalurl),"showgamename"in s&&a(14,D=s.showgamename),"visiblegames"in s&&a(15,P=s.visiblegames),"favorites"in s&&a(16,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(17,j=s.casinomygames),"lastplayedunique"in s&&a(25,q=s.lastplayedunique),"fetchviaevent"in s&&a(18,E=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&512&&v&&J(),n.$$.dirty[0]&524416&&y&&g&&t.setClientStyling(g,y),n.$$.dirty[0]&524544&&b&&g&&t.setClientStylingURL(g,b),n.$$.dirty[0]&524352&&h&&g&&t.setStreamStyling(g,`${h}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,b,v,w,R,A,M,D,P,N,j,E,g,F,i,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:9,livecasino:10,integratedgameframemobile:11,integratedgameframedesktop:12,gamepagemodalurl:13,showgamename:14,visiblegames:15,favorites:16,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:17,lastplayedunique:25,fetchviaevent:18},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[9]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[10]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[11]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[13]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[14]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[15]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[16]}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[17]}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[18]}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-1EiuG4ja.cjs");require("./CasinoFavoritesSectionNd-CvXJsyAP.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[16]),t.set_custom_element_data(e,"fetchviaevent",n[18]),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[14]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[9]),t.set_custom_element_data(e,"livecasino",n[10]),t.set_custom_element_data(e,"visiblegames",n[15]),t.set_custom_element_data(e,"gamepagemodalurl",n[13]),t.set_custom_element_data(e,"integratedgameframedesktop",n[12]),t.set_custom_element_data(e,"integratedgameframemobile",n[11]),t.set_custom_element_data(e,"casinomygames",n[17]),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]&65536&&t.set_custom_element_data(e,"favorites",a[16]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&16384&&t.set_custom_element_data(e,"showgamename",a[14]),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,"translationurl",a[9]),i[0]&1024&&t.set_custom_element_data(e,"livecasino",a[10]),i[0]&32768&&t.set_custom_element_data(e,"visiblegames",a[15]),i[0]&8192&&t.set_custom_element_data(e,"gamepagemodalurl",a[13]),i[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframemobile",a[11]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),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[21]("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]&2097152&&a!==(a=o[21]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[20]?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(21,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(m=>{z(m,c[m])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let m=new URL(`${o}/v1/player/${_}/games/last-played`);m.searchParams.append("unique",q),m.searchParams.append("limit",S),m.searchParams.append("order",C),m.searchParams.append("period",L),t.getDevice(I)==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"),O=w?m:m.href,fetch(O).then(r=>r.json()).then(r=>{r.items=r.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(r.count--,T=!1),T}),s(r),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:r},window.location.href)}).catch(r=>{console.error(r),c(r)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(m=>{let f=new URL(`${o}/v1/casino/games/${m.gameId}`);f.searchParams.append("datasource",l),w?c.push(fetch(f.href).then(r=>r.json())):c.push(fetch(f.href).then(r=>r.json()))}),Promise.all(c).then(m=>{k=m.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(20,F=!0)})},Z=()=>{Q(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(19,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(9,v=s.translationurl),"livecasino"in s&&a(10,w=s.livecasino),"integratedgameframemobile"in s&&a(11,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(12,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(13,M=s.gamepagemodalurl),"showgamename"in s&&a(14,D=s.showgamename),"visiblegames"in s&&a(15,P=s.visiblegames),"favorites"in s&&a(16,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(17,j=s.casinomygames),"lastplayedunique"in s&&a(25,q=s.lastplayedunique),"fetchviaevent"in s&&a(18,E=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&512&&v&&J(),n.$$.dirty[0]&524416&&y&&g&&t.setClientStyling(g,y),n.$$.dirty[0]&524544&&b&&g&&t.setClientStylingURL(g,b),n.$$.dirty[0]&524352&&h&&g&&t.setStreamStyling(g,`${h}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,b,v,w,R,A,M,D,P,N,j,E,g,F,i,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:9,livecasino:10,integratedgameframemobile:11,integratedgameframedesktop:12,gamepagemodalurl:13,showgamename:14,visiblegames:15,favorites:16,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:17,lastplayedunique:25,fetchviaevent:18},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[9]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[10]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[11]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[13]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[14]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[15]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[16]}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[17]}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[18]}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,5 +1,5 @@
1
- import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as M, h as D, p as Z, j as P, r as A, k as le, o as re, C as oe, m as ue, q as ce, E as i, P as me, H as ge, I as de, J as fe, K as he, L as ye } from "./CasinoCalendar-D_FT39Q4.js";
2
- import "./CasinoFavoritesSectionNd-ClCXq3fI.js";
1
+ import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as D, h as M, q as Z, j as P, u as A, k as le, l as re, o as oe, D as ue, p as ce, r as me, F as i, P as ge, I as de, J as fe, K as he, L as ye } from "./CasinoCalendar-DDXo_sLW.js";
2
+ import "./CasinoFavoritesSectionNd-CGOlvGdM.js";
3
3
  function K(s, e) {
4
4
  ee(s, e);
5
5
  }
@@ -137,7 +137,7 @@ function we(s) {
137
137
  );
138
138
  },
139
139
  m(t, n) {
140
- D(t, e, n);
140
+ M(t, e, n);
141
141
  },
142
142
  p(t, n) {
143
143
  n[0] & /*session*/
@@ -257,7 +257,7 @@ function we(s) {
257
257
  );
258
258
  },
259
259
  d(t) {
260
- t && M(e);
260
+ t && D(e);
261
261
  }
262
262
  };
263
263
  }
@@ -268,18 +268,18 @@ function _e(s) {
268
268
  ), n;
269
269
  return {
270
270
  c() {
271
- e = P("p"), n = ce(t), A(e, "class", "SearchLoading");
271
+ e = P("p"), n = me(t), A(e, "class", "SearchLoading");
272
272
  },
273
273
  m(o, r) {
274
- D(o, e, r), Z(e, n);
274
+ M(o, e, r), Z(e, n);
275
275
  },
276
276
  p(o, r) {
277
277
  r[0] & /*$_*/
278
278
  2097152 && t !== (t = /*$_*/
279
- o[21]("noRecentGames") + "") && ue(n, t);
279
+ o[21]("noRecentGames") + "") && ce(n, t);
280
280
  },
281
281
  d(o) {
282
- o && M(e);
282
+ o && D(e);
283
283
  }
284
284
  };
285
285
  }
@@ -297,7 +297,7 @@ function ke(s) {
297
297
  e = P("div"), t = P("div"), r.c(), A(t, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
298
298
  },
299
299
  m(m, d) {
300
- D(m, e, d), Z(e, t), r.m(t, null), s[26](e);
300
+ M(m, e, d), Z(e, t), r.m(t, null), s[26](e);
301
301
  },
302
302
  p(m, d) {
303
303
  o === (o = n(m)) && r ? r.p(m, d) : (r.d(1), r = o(m), r && (r.c(), r.m(t, null)));
@@ -305,14 +305,14 @@ function ke(s) {
305
305
  i: H,
306
306
  o: H,
307
307
  d(m) {
308
- m && M(e), r.d(), s[26](null);
308
+ m && D(e), r.d(), s[26](null);
309
309
  }
310
310
  };
311
311
  }
312
312
  function Le(s, e, t) {
313
313
  let n;
314
- le(s, ye, (a) => t(21, n = a));
315
- 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: F = "false" } = e, { gamepagemodalurl: z = "false" } = e, { showgamename: O = "" } = e, { visiblegames: C = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: S = "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;
314
+ le(s, re, (a) => t(21, n = a));
315
+ let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: F = "" } = e, { userid: y = "" } = e, { mbsource: b } = e, { clientstyling: v = "" } = e, { clientstylingurl: w = "" } = e, { translationurl: _ = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: N = "false" } = e, { integratedgameframedesktop: E = "false" } = e, { gamepagemodalurl: z = "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;
316
316
  const Q = () => {
317
317
  fetch(_).then((g) => g.json()).then((g) => {
318
318
  Object.keys(g).forEach((u) => {
@@ -327,7 +327,7 @@ function Le(s, e, t) {
327
327
  });
328
328
  const W = () => new Promise((a, g) => {
329
329
  let u = new URL(`${o}/v1/player/${y}/games/last-played`);
330
- u.searchParams.append("unique", q), u.searchParams.append("limit", G), u.searchParams.append("order", j), u.searchParams.append("period", S), me(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) => {
330
+ u.searchParams.append("unique", q), u.searchParams.append("limit", G), u.searchParams.append("order", j), u.searchParams.append("period", C), ge(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) => {
331
331
  c.items = c.items.filter(($) => {
332
332
  let J = !0;
333
333
  return $.gameCode == "OddsMatrix2" && (c.count--, J = !1), J;
@@ -349,7 +349,7 @@ function Le(s, e, t) {
349
349
  let h = new URL(`${o}/v1/casino/games/${u.gameId}`);
350
350
  h.searchParams.append("datasource", r), k ? g.push(fetch(h.href).then((c) => c.json())) : g.push(fetch(h.href).then((c) => c.json()));
351
351
  }), Promise.all(g).then((u) => {
352
- L = u.filter((h) => !("error" in h)).map((h) => h[0]), R === "true" && (L = L.slice(0, JSON.parse(C))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: L }, window.location.href);
352
+ L = u.filter((h) => !("error" in h)).map((h) => h[0]), R === "true" && (L = L.slice(0, JSON.parse(S))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: L }, window.location.href);
353
353
  });
354
354
  } else
355
355
  t(20, Y = !0);
@@ -357,29 +357,29 @@ function Le(s, e, t) {
357
357
  }, p = () => {
358
358
  be(d);
359
359
  };
360
- re(() => () => {
360
+ oe(() => () => {
361
361
  });
362
362
  function x(a) {
363
- oe[a ? "unshift" : "push"](() => {
363
+ ue[a ? "unshift" : "push"](() => {
364
364
  f = a, t(19, f);
365
365
  });
366
366
  }
367
367
  return s.$$set = (a) => {
368
- "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(9, _ = a.translationurl), "livecasino" in a && t(10, k = a.livecasino), "integratedgameframemobile" in a && t(11, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(12, F = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(13, z = a.gamepagemodalurl), "showgamename" in a && t(14, O = a.showgamename), "visiblegames" in a && t(15, C = a.visiblegames), "favorites" in a && t(16, T = a.favorites), "lastplayedperiod" in a && t(22, S = a.lastplayedperiod), "lastplayedorder" in a && t(23, j = a.lastplayedorder), "lastplayedlimit" in a && t(24, G = a.lastplayedlimit), "casinomygames" in a && t(17, R = a.casinomygames), "lastplayedunique" in a && t(25, q = a.lastplayedunique), "fetchviaevent" in a && t(18, U = a.fetchviaevent);
368
+ "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, F = 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(9, _ = a.translationurl), "livecasino" in a && t(10, k = a.livecasino), "integratedgameframemobile" in a && t(11, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(12, E = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(13, z = a.gamepagemodalurl), "showgamename" in a && t(14, O = a.showgamename), "visiblegames" in a && t(15, S = a.visiblegames), "favorites" in a && t(16, 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(17, R = a.casinomygames), "lastplayedunique" in a && t(25, q = a.lastplayedunique), "fetchviaevent" in a && t(18, U = a.fetchviaevent);
369
369
  }, s.$$.update = () => {
370
370
  s.$$.dirty[0] & /*endpoint, userid, lang*/
371
371
  41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
372
372
  512 && _ && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
373
- 524416 && v && f && ge(f, v), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
374
- 524544 && w && f && de(f, w), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
375
- 524352 && b && f && fe(f, `${b}.Style`), s.$$.dirty[0] & /*lang*/
373
+ 524416 && v && f && de(f, v), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
374
+ 524544 && w && f && fe(f, w), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
375
+ 524352 && b && f && he(f, `${b}.Style`), s.$$.dirty[0] & /*lang*/
376
376
  8 && d && p();
377
377
  }, [
378
378
  o,
379
379
  r,
380
380
  m,
381
381
  d,
382
- E,
382
+ F,
383
383
  y,
384
384
  b,
385
385
  v,
@@ -387,17 +387,17 @@ function Le(s, e, t) {
387
387
  _,
388
388
  k,
389
389
  N,
390
- F,
390
+ E,
391
391
  z,
392
392
  O,
393
- C,
393
+ S,
394
394
  T,
395
395
  R,
396
396
  U,
397
397
  f,
398
398
  Y,
399
399
  n,
400
- S,
400
+ C,
401
401
  j,
402
402
  G,
403
403
  q,
@@ -580,7 +580,7 @@ class Pe extends ae {
580
580
  this.$$set({ fetchviaevent: e }), l();
581
581
  }
582
582
  }
583
- he(Pe, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {} }, [], [], !0);
583
+ ye(Pe, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {} }, [], [], !0);
584
584
  export {
585
585
  Pe as default
586
586
  };
@@ -1,5 +1,5 @@
1
- import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as M, h as D, p as Z, j as P, r as A, k as le, o as re, C as oe, m as ue, q as ce, E as i, P as me, H as ge, I as de, J as fe, K as he, L as ye } from "./CasinoCalendar-BeFhOf4A.js";
2
- import "./CasinoFavoritesSectionNd-h53SK3bH.js";
1
+ import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as M, h as D, p as Z, j as P, r as A, k as le, o as re, C as oe, m as ue, q as ce, E as i, P as me, H as ge, I as de, J as fe, K as he, L as ye } from "./CasinoCalendar-DdCnnpAB.js";
2
+ import "./CasinoFavoritesSectionNd-H7nx1r94.js";
3
3
  function K(s, e) {
4
4
  ee(s, e);
5
5
  }
@@ -1,12 +1,12 @@
1
- import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as H, d as A, h as E, p as B, j as P, r as M, k as ie, o as oe, P as le, C as re, m as me, q as ge, E as n, H as ce, I as ue, J as de, K as fe, L as he } from "./CasinoCalendar-D_FT39Q4.js";
2
- import "./CasinoFavoritesSectionNd-ClCXq3fI.js";
3
- function K(a, e) {
1
+ import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as K, d as A, h as F, q as H, j as P, u as M, k as ie, l as oe, o as le, P as re, D as me, p as ge, r as ce, F as n, I as ue, J as de, K as fe, L as he } from "./CasinoCalendar-DDXo_sLW.js";
2
+ import "./CasinoFavoritesSectionNd-CGOlvGdM.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 Y = {
9
+ const B = {
10
10
  en: {
11
11
  noGames: "No games in most played"
12
12
  },
@@ -167,7 +167,7 @@ function ve(a) {
167
167
  );
168
168
  },
169
169
  m(s, i) {
170
- E(s, e, i);
170
+ F(s, e, i);
171
171
  },
172
172
  p(s, i) {
173
173
  i[0] & /*session*/
@@ -298,15 +298,15 @@ function _e(a) {
298
298
  ), i;
299
299
  return {
300
300
  c() {
301
- e = P("p"), i = ge(s), M(e, "class", "SearchLoading");
301
+ e = P("p"), i = ce(s), M(e, "class", "SearchLoading");
302
302
  },
303
303
  m(m, r) {
304
- E(m, e, r), B(e, i);
304
+ F(m, e, r), H(e, i);
305
305
  },
306
306
  p(m, r) {
307
307
  r[0] & /*$_*/
308
308
  2097152 && s !== (s = /*$_*/
309
- m[21]("noGames") + "") && me(i, s);
309
+ m[21]("noGames") + "") && ge(i, s);
310
310
  },
311
311
  d(m) {
312
312
  m && A(e);
@@ -327,13 +327,13 @@ function ke(a) {
327
327
  e = P("div"), s = P("div"), r.c(), M(s, "class", "casino-most-played-section"), M(e, "class", "CasinoGamesCategorySectionContainer");
328
328
  },
329
329
  m(g, c) {
330
- E(g, e, c), B(e, s), r.m(s, null), a[24](e);
330
+ F(g, e, c), H(e, s), r.m(s, null), a[24](e);
331
331
  },
332
332
  p(g, c) {
333
333
  m === (m = i(g)) && r ? r.p(g, c) : (r.d(1), r = m(g), r && (r.c(), r.m(s, null)));
334
334
  },
335
- i: H,
336
- o: H,
335
+ i: K,
336
+ o: K,
337
337
  d(g) {
338
338
  g && A(e), r.d(), a[24](null);
339
339
  }
@@ -341,24 +341,24 @@ function ke(a) {
341
341
  }
342
342
  function we(a, e, s) {
343
343
  let i;
344
- ie(a, he, (t) => s(21, i = t));
345
- 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: k = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: O = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: j } = e, { favorites: U = "" } = e, { translationurl: G = "" } = e, { casinomygames: C = "false" } = e, { mostplayedperiod: S = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: I = "true" } = e, Q = window.navigator.userAgent;
344
+ ie(a, oe, (t) => s(21, i = t));
345
+ let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: D = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: k = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: E = "false" } = e, { integratedgameframedesktop: O = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: j } = e, { favorites: U = "" } = e, { translationurl: G = "" } = e, { casinomygames: S = "false" } = e, { mostplayedperiod: C = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: I = "true" } = e, Q = window.navigator.userAgent;
346
346
  const V = () => {
347
347
  fetch(G).then((o) => o.json()).then((o) => {
348
348
  Object.keys(o).forEach((d) => {
349
- K(d, o[d]);
349
+ Y(d, o[d]);
350
350
  });
351
351
  }).catch((o) => {
352
352
  console.log(o);
353
353
  });
354
354
  };
355
- Object.keys(Y).forEach((t) => {
356
- K(t, Y[t]);
355
+ Object.keys(B).forEach((t) => {
356
+ Y(t, B[t]);
357
357
  });
358
358
  let N = [], q, z = !1, u;
359
359
  const W = (t) => {
360
360
  let o = new URL(`${m}/v1/player/${b}/games/most-played`);
361
- t.limit && o.searchParams.append("limit", t.limit), t.order && o.searchParams.append("order", t.order), o.searchParams.append("expand", "games"), o.searchParams.append("period", S);
361
+ t.limit && o.searchParams.append("limit", t.limit), t.order && o.searchParams.append("order", t.order), o.searchParams.append("expand", "games"), o.searchParams.append("period", C);
362
362
  let d = t.device;
363
363
  return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), q = w ? o : o.href, new Promise((f, y) => {
364
364
  fetch(q).then((h) => h.json()).then((h) => {
@@ -373,7 +373,7 @@ function we(a, e, s) {
373
373
  }, X = () => {
374
374
  W({
375
375
  limit: 100,
376
- device: le(Q),
376
+ device: re(Q),
377
377
  rounds: L
378
378
  }).then((t) => {
379
379
  if (t.count > 0) {
@@ -382,7 +382,7 @@ function we(a, e, s) {
382
382
  let f = new URL(`${m}/v1/casino/games/${d.gameId}`);
383
383
  f.searchParams.append("datasource", r), w ? o.push(fetch(f.href).then((y) => y.json())) : o.push(fetch(f.href).then((y) => y.json()));
384
384
  }), Promise.all(o).then((d) => {
385
- N = d.filter((f) => !("error" in f)).map((f) => f[0]), C === "true" && (N = N.slice(0, JSON.parse(j))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: N }, window.location.href);
385
+ N = d.filter((f) => !("error" in f)).map((f) => f[0]), S === "true" && (N = N.slice(0, JSON.parse(j))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: N }, window.location.href);
386
386
  });
387
387
  } else
388
388
  s(20, z = !0);
@@ -390,21 +390,21 @@ function we(a, e, s) {
390
390
  }, Z = () => {
391
391
  ye(c);
392
392
  };
393
- oe(() => () => {
393
+ le(() => () => {
394
394
  });
395
395
  function p(t) {
396
- re[t ? "unshift" : "push"](() => {
396
+ me[t ? "unshift" : "push"](() => {
397
397
  u = t, s(19, u);
398
398
  });
399
399
  }
400
400
  return a.$$set = (t) => {
401
- "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, k = t.clientstylingurl), "livecasino" in t && s(9, w = 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(16, G = t.translationurl), "casinomygames" in t && s(17, C = t.casinomygames), "mostplayedperiod" in t && s(22, S = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(18, I = t.fetchviaevent);
401
+ "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, D = 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, k = t.clientstylingurl), "livecasino" in t && s(9, w = t.livecasino), "integratedgameframemobile" in t && s(10, E = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, O = 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(16, G = t.translationurl), "casinomygames" in t && s(17, S = t.casinomygames), "mostplayedperiod" in t && s(22, C = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(18, I = t.fetchviaevent);
402
402
  }, a.$$.update = () => {
403
403
  a.$$.dirty[0] & /*endpoint, userid, lang*/
404
404
  41 && m && b && c && X(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
405
- 524416 && _ && u && ce(u, _), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
406
- 524544 && k && u && ue(u, k), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
407
- 524352 && v && u && de(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
405
+ 524416 && _ && u && ue(u, _), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
406
+ 524544 && k && u && de(u, k), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
407
+ 524352 && v && u && fe(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
408
408
  65536 && G && V(), a.$$.dirty[0] & /*lang*/
409
409
  8 && c && Z();
410
410
  }, [
@@ -412,25 +412,25 @@ function we(a, e, s) {
412
412
  r,
413
413
  g,
414
414
  c,
415
- F,
415
+ D,
416
416
  b,
417
417
  v,
418
418
  _,
419
419
  k,
420
420
  w,
421
+ E,
421
422
  O,
422
- D,
423
423
  R,
424
424
  T,
425
425
  j,
426
426
  U,
427
427
  G,
428
- C,
428
+ S,
429
429
  I,
430
430
  u,
431
431
  z,
432
432
  i,
433
- S,
433
+ C,
434
434
  L,
435
435
  p
436
436
  ];
@@ -597,7 +597,7 @@ class Ge extends te {
597
597
  this.$$set({ fetchviaevent: e }), l();
598
598
  }
599
599
  }
600
- fe(Ge, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
600
+ he(Ge, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
601
601
  export {
602
602
  Ge as default
603
603
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-1EiuG4ja.cjs");require("./CasinoFavoritesSectionNd-DAjCrR4l.cjs");function U(n,e){t.addMessages(n,e)}function V(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function W(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{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[18]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),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,"translationurl",n[16]),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[17]),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]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),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]&65536&&t.set_custom_element_data(e,"translationurl",a[16]),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]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function Z(n){let e,a=n[21]("noGames")+"",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]&2097152&&a!==(a=o[21]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function p(n){let e,a;function i(r,u){return r[20]?Z:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),l.m(a,null),n[24](e)},p(r,u){o===(o=i(r))&&l?l.p(r,u):(l.d(1),l=o(r),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),l.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:L="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:O=""}=e,{visiblegames:N}=e,{favorites:E=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:F="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,c;const Y=s=>{let m=new URL(`${o}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",C);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,f)=>{fetch(D).then(_=>_.json()).then(_=>{_.items=_.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(_.count--,R=!1),R}),g(_)}).catch(_=>{console.error(_),f(_)})})},B=()=>{Y({limit:100,device:t.getDevice(I),rounds:S}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${o}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",l),w?m.push(fetch(g.href).then(f=>f.json())):m.push(fetch(g.href).then(f=>f.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(20,T=!0)})},H=()=>{V(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(19,c)})}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,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,L=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,O=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(16,G=s.translationurl),"casinomygames"in s&&a(17,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(18,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&u&&B(),n.$$.dirty[0]&524416&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&524544&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&524352&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&65536&&G&&J(),n.$$.dirty[0]&8&&u&&H()},[o,l,r,u,j,h,y,b,v,w,M,L,A,O,N,E,G,P,F,c,T,i,C,S,K]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,p,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:16,casinomygames:17,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:18},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 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 translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-1EiuG4ja.cjs");require("./CasinoFavoritesSectionNd-CvXJsyAP.cjs");function U(n,e){t.addMessages(n,e)}function V(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function W(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{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[18]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),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,"translationurl",n[16]),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[17]),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]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),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]&65536&&t.set_custom_element_data(e,"translationurl",a[16]),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]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function Z(n){let e,a=n[21]("noGames")+"",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]&2097152&&a!==(a=o[21]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function p(n){let e,a;function i(r,u){return r[20]?Z:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),l.m(a,null),n[24](e)},p(r,u){o===(o=i(r))&&l?l.p(r,u):(l.d(1),l=o(r),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),l.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:L="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:O=""}=e,{visiblegames:N}=e,{favorites:E=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:F="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,c;const Y=s=>{let m=new URL(`${o}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",C);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,f)=>{fetch(D).then(_=>_.json()).then(_=>{_.items=_.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(_.count--,R=!1),R}),g(_)}).catch(_=>{console.error(_),f(_)})})},B=()=>{Y({limit:100,device:t.getDevice(I),rounds:S}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${o}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",l),w?m.push(fetch(g.href).then(f=>f.json())):m.push(fetch(g.href).then(f=>f.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(20,T=!0)})},H=()=>{V(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(19,c)})}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,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,L=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,O=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(16,G=s.translationurl),"casinomygames"in s&&a(17,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(18,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&u&&B(),n.$$.dirty[0]&524416&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&524544&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&524352&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&65536&&G&&J(),n.$$.dirty[0]&8&&u&&H()},[o,l,r,u,j,h,y,b,v,w,M,L,A,O,N,E,G,P,F,c,T,i,C,S,K]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,p,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:16,casinomygames:17,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:18},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 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 translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
@@ -1,5 +1,5 @@
1
- import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as H, d as A, h as E, p as B, j as P, r as M, k as ie, o as oe, P as le, C as re, m as me, q as ge, E as n, H as ce, I as ue, J as de, K as fe, L as he } from "./CasinoCalendar-BeFhOf4A.js";
2
- import "./CasinoFavoritesSectionNd-h53SK3bH.js";
1
+ import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as H, d as A, h as E, p as B, j as P, r as M, k as ie, o as oe, P as le, C as re, m as me, q as ge, E as n, H as ce, I as ue, J as de, K as fe, L as he } from "./CasinoCalendar-DdCnnpAB.js";
2
+ import "./CasinoFavoritesSectionNd-H7nx1r94.js";
3
3
  function K(a, e) {
4
4
  $(a, e);
5
5
  }