@everymatrix/casino-page 1.74.3 → 1.74.5

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 (96) hide show
  1. package/components/CasinoCalendar-B4OJuO_L.cjs +19 -0
  2. package/components/{CasinoCalendar-DdMvhCOA.js → CasinoCalendar-BVD-g7V2.js} +1063 -1049
  3. package/components/{CasinoCalendar-BuZNkBai.js → CasinoCalendar-CDNIjQ8T.js} +1001 -987
  4. package/components/CasinoCalendarDailyDetails-BEUNC6Xh.cjs +1 -0
  5. package/components/{CasinoCalendarDailyDetails-ClfGxbko.js → CasinoCalendarDailyDetails-D_IsmUxa.js} +75 -75
  6. package/components/{CasinoCalendarDailyDetails-BCVIut1W.js → CasinoCalendarDailyDetails-Dun4o4bY.js} +75 -75
  7. package/components/{CasinoCalendarDailyItem-CYfiDQkf.js → CasinoCalendarDailyItem-SgYp_4Zc.js} +6 -6
  8. package/components/{CasinoCalendarDailyItem-C1ADnaTt.js → CasinoCalendarDailyItem-lgiTsDmQ.js} +6 -6
  9. package/components/{CasinoCalendarDailyItem-BdDom59r.cjs → CasinoCalendarDailyItem-r4x7VnIJ.cjs} +1 -1
  10. package/components/{CasinoCollectionsProviders-4kHMGeo6.js → CasinoCollectionsProviders-Cfp1fpOk.js} +4 -4
  11. package/components/{CasinoCollectionsProviders-CM25qKz7.cjs → CasinoCollectionsProviders-DI8Ie4pa.cjs} +1 -1
  12. package/components/{CasinoCollectionsProviders-Br5ZzIwL.js → CasinoCollectionsProviders-GH5hTDgu.js} +4 -4
  13. package/components/{CasinoFavoritesSection-Tnf79ngl.cjs → CasinoFavoritesSection-C2KNKREs.cjs} +1 -1
  14. package/components/{CasinoFavoritesSection-CK-RLGCt.js → CasinoFavoritesSection-CehE7hXi.js} +5 -5
  15. package/components/{CasinoFavoritesSection-C-Vh_jRK.js → CasinoFavoritesSection-DWDC5TD8.js} +5 -5
  16. package/components/CasinoFilter-BX1QlpN6.cjs +1 -0
  17. package/components/{CasinoFilter-1-YLqdq0.js → CasinoFilter-DUp1Zmmm.js} +224 -225
  18. package/components/{CasinoFilter-akdowSz4.js → CasinoFilter-idsuQa6E.js} +254 -253
  19. package/components/{CasinoGameThumbnail-QX8Y_4Bo.js → CasinoGameThumbnail-C8VWWEBL.js} +752 -768
  20. package/components/CasinoGameThumbnail-D4tCeYJQ.cjs +47 -0
  21. package/components/{CasinoGameThumbnail--7-bfdJ_.js → CasinoGameThumbnail-DMHcWul3.js} +1255 -1239
  22. package/components/{CasinoGamesCategorySection-oHVHccwm.js → CasinoGamesCategorySection-B_x3-ce_.js} +230 -222
  23. package/components/{CasinoGamesCategorySection-B2B6Ec4x.js → CasinoGamesCategorySection-BmQ5Kyco.js} +261 -253
  24. package/components/CasinoGamesCategorySection-DeeY3KIg.cjs +1 -0
  25. package/components/{CasinoJackpotBanner-Bdzek1XC.js → CasinoJackpotBanner-BAVC4_Yz.js} +8 -8
  26. package/components/{CasinoJackpotBanner-CyyNiIY2.cjs → CasinoJackpotBanner-ClvtHhmd.cjs} +1 -1
  27. package/components/{CasinoJackpotBanner--90-l4pm.js → CasinoJackpotBanner-Da0QCFOu.js} +8 -8
  28. package/components/{CasinoLastPlayedSection-C9uSdltZ.js → CasinoLastPlayedSection-BE3Bm9ng.js} +9 -9
  29. package/components/{CasinoLastPlayedSection-Rf3z6wkM.js → CasinoLastPlayedSection-DoXjABLd.js} +9 -9
  30. package/components/{CasinoLastPlayedSection-62R0XCfe.cjs → CasinoLastPlayedSection-aDH2W-Fh.cjs} +1 -1
  31. package/components/{CasinoMostPlayedSection-Bx27HRdH.js → CasinoMostPlayedSection-BfDv76mA.js} +7 -7
  32. package/components/{CasinoMostPlayedSection-BCJtNlb4.cjs → CasinoMostPlayedSection-C6FKr5eT.cjs} +1 -1
  33. package/components/{CasinoMostPlayedSection-CJSaZyqN.js → CasinoMostPlayedSection-CzbRjPnI.js} +7 -7
  34. package/components/CasinoMyGames-B4zNcogQ.js +1315 -0
  35. package/components/CasinoMyGames-CSuw2vRW.cjs +1 -0
  36. package/components/CasinoMyGames-kau415qI.js +1316 -0
  37. package/components/{CasinoPage-CNqNB1PI.js → CasinoPage-BrBXAe2Z.js} +15 -15
  38. package/components/{CasinoPage-B1g_jr0K.cjs → CasinoPage-Cqjd4hgf.cjs} +1 -1
  39. package/components/{CasinoPage-BGrVihVz.js → CasinoPage-Dw2FvCPq.js} +15 -15
  40. package/components/{CasinoRandomGame-CdQVMLbd.cjs → CasinoRandomGame-3uoEGw78.cjs} +2 -2
  41. package/components/{CasinoRandomGame-CtAOJXnF.js → CasinoRandomGame-9Yw_xC5j.js} +83 -83
  42. package/components/{CasinoRandomGame-D7RweU9Y.js → CasinoRandomGame-DpKfvMwV.js} +12 -12
  43. package/components/{CasinoSearch-CM0yzQsF.js → CasinoSearch-Cz5a7IL7.js} +5 -5
  44. package/components/{CasinoSearch-C2V-Dbqi.js → CasinoSearch-DvY5WITU.js} +5 -5
  45. package/components/{CasinoSearch-BF4OC6tZ.cjs → CasinoSearch-pPULoiZA.cjs} +1 -1
  46. package/components/{CasinoSort-5WNP_G3S.js → CasinoSort-BYQvNOsF.js} +93 -94
  47. package/components/{CasinoSort-BawqALZV.js → CasinoSort-CUCsGytJ.js} +103 -102
  48. package/components/{CasinoSort-Du3lmlNe.cjs → CasinoSort-DEzzINXT.cjs} +1 -1
  49. package/components/{CasinoWinners-XkR8Kmij.cjs → CasinoWinners-COmepRdG.cjs} +1 -1
  50. package/components/{CasinoWinners-DCiuykjq.js → CasinoWinners-CQf5gEvU.js} +116 -116
  51. package/components/{CasinoWinners-BE029Vxq.js → CasinoWinners-Dr5wYAG5.js} +116 -116
  52. package/components/{GeneralAnimationLoading-BETs-Kib.js → GeneralAnimationLoading-CBPC5I1a.js} +7 -7
  53. package/components/{GeneralAnimationLoading-BlN4kA08.js → GeneralAnimationLoading-CKgGhHlf.js} +7 -7
  54. package/components/{GeneralAnimationLoading-lIyg2-0l.cjs → GeneralAnimationLoading-DTUTIYre.cjs} +1 -1
  55. package/es2015/casino-page.cjs +1 -1
  56. package/es2015/casino-page.js +1 -1
  57. package/esnext/casino-page.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/{casino-play-random-game-wi94nFPy.cjs → casino-play-random-game-C3hhQjhn.cjs} +2 -2
  60. package/stencil/{casino-play-random-game-Bc2XLGRl.js → casino-play-random-game-qroM0e64.js} +2 -2
  61. package/stencil/{casino-play-random-game-d1PoE_Vf.js → casino-play-random-game-uBjWXXLi.js} +2 -2
  62. package/stencil/{index-97d17652-DIpvPU9H.js → index-97d17652-BD-QREJe.js} +151 -151
  63. package/stencil/{index-97d17652-C7V2DWFg.js → index-97d17652-DJqGt8q2.js} +147 -147
  64. package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
  65. package/stencil/{index-ab3202d6-Cowbr6qN.js → index-ab3202d6-CSUArOSv.js} +209 -209
  66. package/stencil/{index-ab3202d6-CiI9jxo9.js → index-ab3202d6-CoRS04SH.js} +214 -214
  67. package/stencil/index-ab3202d6-DitihRZv.cjs +1 -0
  68. package/stencil/index-b2193545-3zPNeE9v.cjs +1 -0
  69. package/stencil/{index-b2193545-DdqB2rk5.js → index-b2193545-D_cUvAA-.js} +176 -176
  70. package/stencil/{index-b2193545-BL364Gzq.js → index-b2193545-kN0z2MLt.js} +169 -169
  71. package/stencil/{ui-image-CzGNxx73.js → ui-image-BAqS-hS6.js} +1 -1
  72. package/stencil/{ui-image-wubI3fkK.cjs → ui-image-CH2Jdp7k.cjs} +1 -1
  73. package/stencil/{ui-image-B_HWMBI-.js → ui-image-I_uR7pAI.js} +1 -1
  74. package/stencil/{ui-image-b7b48fe5-D8-wEkoZ.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
  75. package/stencil/{ui-image-b7b48fe5-B-k0kWgx.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
  76. package/stencil/{ui-image-b7b48fe5-yceZ9WkN.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
  77. package/stencil/{ui-image_2-Ha_4GYwN.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
  78. package/stencil/{ui-image_2-z5LhXZY2.js → ui-image_2-Dh5Eqdlm.js} +2 -2
  79. package/stencil/{ui-image_2-CzFe50WB.js → ui-image_2-_K8Pt3w9.js} +2 -2
  80. package/stencil/{ui-skeleton-DTQ__6LQ.cjs → ui-skeleton-5mt1L8pA.cjs} +1 -1
  81. package/stencil/{ui-skeleton-CsmgJUYN.js → ui-skeleton-C0GZ2ncD.js} +2 -2
  82. package/stencil/{ui-skeleton-yRWBmyfK.js → ui-skeleton-CYeeBz0Q.js} +2 -2
  83. package/stencil/{ui-skeleton-ae35c6f2-CxSezPtG.js → ui-skeleton-ae35c6f2-BSwiS43c.js} +1 -1
  84. package/stencil/{ui-skeleton-ae35c6f2-BRNiEwlg.js → ui-skeleton-ae35c6f2-BmKf7IvD.js} +1 -1
  85. package/stencil/{ui-skeleton-ae35c6f2-CZuWo9GO.cjs → ui-skeleton-ae35c6f2-CQ3pH6qH.cjs} +1 -1
  86. package/components/CasinoCalendar-CFUoQxq0.cjs +0 -19
  87. package/components/CasinoCalendarDailyDetails-Dqb6yp--.cjs +0 -1
  88. package/components/CasinoFilter-Cc3Yv48X.cjs +0 -1
  89. package/components/CasinoGameThumbnail-BpBjsCjD.cjs +0 -47
  90. package/components/CasinoGamesCategorySection-Begzaifx.cjs +0 -1
  91. package/components/CasinoMyGames-B24lfIIQ.js +0 -1352
  92. package/components/CasinoMyGames-CGvXSnA_.cjs +0 -1
  93. package/components/CasinoMyGames-CH2OwYz7.js +0 -1351
  94. package/stencil/index-97d17652-BgKdDb-e.cjs +0 -1
  95. package/stencil/index-ab3202d6-BwBGn0Oj.cjs +0 -1
  96. package/stencil/index-b2193545-DmjUkkS8.cjs +0 -1
@@ -1,5 +1,5 @@
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 H, j as E, k as oe, o as le, P as re, n as me, p as ge, q as ce, r as ue, H as n, x as de, E as fe, J as he } from "./CasinoCalendar-BuZNkBai.js";
2
- import "./CasinoFavoritesSection-CK-RLGCt.js";
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 H, j as E, k as oe, o as le, l as re, m as me, P as ge, q as ce, r as ue, H as n, x as de, E as fe, J as he } from "./CasinoCalendar-CDNIjQ8T.js";
2
+ import "./CasinoFavoritesSection-CehE7hXi.js";
3
3
  function Y(a, e) {
4
4
  $(a, e);
5
5
  }
@@ -362,7 +362,7 @@ function ke(a, e, s) {
362
362
  }, X = () => {
363
363
  W({
364
364
  limit: 100,
365
- device: re(Q),
365
+ device: ge(Q),
366
366
  rounds: L
367
367
  }).then((t) => {
368
368
  if (t.count > 0) {
@@ -382,7 +382,7 @@ function ke(a, e, s) {
382
382
  le(() => () => {
383
383
  });
384
384
  function p(t) {
385
- me[t ? "unshift" : "push"](() => {
385
+ ce[t ? "unshift" : "push"](() => {
386
386
  u = t, s(18, u);
387
387
  });
388
388
  }
@@ -391,9 +391,9 @@ function ke(a, e, s) {
391
391
  }, a.$$.update = () => {
392
392
  a.$$.dirty[0] & /*endpoint, userid, lang*/
393
393
  41 && m && b && c && X(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
394
- 262272 && _ && u && ge(u, _), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
395
- 262400 && G && u && ce(u, G), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
396
- 262208 && v && u && ue(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
394
+ 262272 && _ && u && ue(u, _), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
395
+ 262400 && G && u && re(u, G), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
396
+ 262208 && v && u && me(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
397
397
  2097152 && w && V(), a.$$.dirty[0] & /*lang*/
398
398
  8 && c && Z();
399
399
  }, [
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-CFUoQxq0.cjs");require("./CasinoFavoritesSection-Tnf79ngl.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"),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","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,"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 Z(n){let e,a=n[20]("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]&1048576&&a!==(a=o[20]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function p(n){let e,a;function i(r,u){return r[19]?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(20,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,_)=>{fetch(D).then(f=>f.json()).then(f=>{f.items=f.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(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(_=>_.json())):m.push(fetch(g.href).then(_=>_.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(19,T=!0)})},H=()=>{V(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(18,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(21,G=s.translationurl),"casinomygames"in s&&a(16,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(17,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&u&&B(),n.$$.dirty[0]&262272&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&262400&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&262208&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&2097152&&G&&J(),n.$$.dirty[0]&8&&u&&H()},[o,l,r,u,j,h,y,b,v,w,M,L,A,O,N,E,P,F,c,T,i,G,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:21,casinomygames:16,mostplayedperiod:22,mostplayedrounds:23,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 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[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[16]}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[17]}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-B4OJuO_L.cjs");require("./CasinoFavoritesSection-C2KNKREs.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"),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","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,"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 Z(n){let e,a=n[20]("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]&1048576&&a!==(a=o[20]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function p(n){let e,a;function i(r,u){return r[19]?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(20,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,_)=>{fetch(D).then(f=>f.json()).then(f=>{f.items=f.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(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(_=>_.json())):m.push(fetch(g.href).then(_=>_.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(19,T=!0)})},H=()=>{V(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(18,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(21,G=s.translationurl),"casinomygames"in s&&a(16,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(17,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&u&&B(),n.$$.dirty[0]&262272&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&262400&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&262208&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&2097152&&G&&J(),n.$$.dirty[0]&8&&u&&H()},[o,l,r,u,j,h,y,b,v,w,M,L,A,O,N,E,P,F,c,T,i,G,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:21,casinomygames:16,mostplayedperiod:22,mostplayedrounds:23,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 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[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[16]}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[17]}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, 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 H, j as E, k as oe, o as le, P as re, n as me, p as ge, q as ce, r as ue, H as n, x as de, E as fe, J as he } from "./CasinoCalendar-DdMvhCOA.js";
2
- import "./CasinoFavoritesSection-C-Vh_jRK.js";
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 H, j as E, k as oe, o as le, l as re, m as me, P as ge, q as ce, r as ue, H as n, x as de, E as fe, J as he } from "./CasinoCalendar-BVD-g7V2.js";
2
+ import "./CasinoFavoritesSection-DWDC5TD8.js";
3
3
  function Y(a, e) {
4
4
  $(a, e);
5
5
  }
@@ -362,7 +362,7 @@ function ke(a, e, s) {
362
362
  }, X = () => {
363
363
  W({
364
364
  limit: 100,
365
- device: re(Q),
365
+ device: ge(Q),
366
366
  rounds: L
367
367
  }).then((t) => {
368
368
  if (t.count > 0) {
@@ -382,7 +382,7 @@ function ke(a, e, s) {
382
382
  le(() => () => {
383
383
  });
384
384
  function p(t) {
385
- me[t ? "unshift" : "push"](() => {
385
+ ce[t ? "unshift" : "push"](() => {
386
386
  u = t, s(18, u);
387
387
  });
388
388
  }
@@ -391,9 +391,9 @@ function ke(a, e, s) {
391
391
  }, a.$$.update = () => {
392
392
  a.$$.dirty[0] & /*endpoint, userid, lang*/
393
393
  41 && m && b && c && X(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
394
- 262272 && _ && u && ge(u, _), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
395
- 262400 && G && u && ce(u, G), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
396
- 262208 && v && u && ue(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
394
+ 262272 && _ && u && ue(u, _), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
395
+ 262400 && G && u && re(u, G), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
396
+ 262208 && v && u && me(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
397
397
  2097152 && w && V(), a.$$.dirty[0] & /*lang*/
398
398
  8 && c && Z();
399
399
  }, [