@everymatrix/casino-lobby 1.86.2 → 1.86.4

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 (110) hide show
  1. package/components/CasinoCalendar-Bh1m4DYa.cjs +19 -0
  2. package/components/{CasinoCalendar-DeuDpvc7.js → CasinoCalendar-CTTcluAF.js} +1012 -1033
  3. package/components/{CasinoCalendar-qxlVRlx3.js → CasinoCalendar-g3C0yL-l.js} +828 -849
  4. package/components/{CasinoCalendarDailyDetails-DgSA6Oos.js → CasinoCalendarDailyDetails-BReSw0PH.js} +38 -38
  5. package/components/{CasinoCalendarDailyDetails-oDArpqk3.js → CasinoCalendarDailyDetails-C6NZu63m.js} +38 -38
  6. package/components/{CasinoCalendarDailyDetails-0DzEjr4I.cjs → CasinoCalendarDailyDetails-MbSzyBl-.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-D1UMrOrr.js → CasinoCalendarDailyItem-DW4bwJrg.js} +34 -34
  8. package/components/{CasinoCalendarDailyItem--x4C1v1R.js → CasinoCalendarDailyItem-D_-hgIOG.js} +34 -34
  9. package/components/{CasinoCalendarDailyItem-BT_oTw81.cjs → CasinoCalendarDailyItem-vF8QUewM.cjs} +1 -1
  10. package/components/CasinoCategoriesSlider-CMW1BzhU.cjs +1 -0
  11. package/components/{CasinoCategoriesSlider-DnJiwJ-i.js → CasinoCategoriesSlider-DLioXO8u.js} +73 -73
  12. package/components/{CasinoCategoriesSlider-BmkD2GJJ.js → CasinoCategoriesSlider-uIpxZEDW.js} +70 -70
  13. package/components/{CasinoCollectionsProviders-DS-cICru.js → CasinoCollectionsProviders-BDJPyhyP.js} +64 -64
  14. package/components/{CasinoCollectionsProviders-KucGv4ev.cjs → CasinoCollectionsProviders-C66FXn8E.cjs} +1 -1
  15. package/components/{CasinoCollectionsProviders-SF9NUz_s.js → CasinoCollectionsProviders-l8Bj7gLF.js} +77 -77
  16. package/components/{CasinoFavoritesSection-DBOa4rLG.js → CasinoFavoritesSection-1xjeruY9.js} +19 -19
  17. package/components/{CasinoFavoritesSection-Q91WkZtR.js → CasinoFavoritesSection-JbXta4ej.js} +19 -19
  18. package/components/{CasinoFavoritesSection-ioWl2WWa.cjs → CasinoFavoritesSection-flqQ1Txz.cjs} +1 -1
  19. package/components/{CasinoFilter-WlNu83Yo.js → CasinoFilter-AWMGrvg7.js} +222 -223
  20. package/components/CasinoFilter-CrCTTPvH.cjs +1 -0
  21. package/components/{CasinoFilter-Iy2ZAp7X.js → CasinoFilter-DK1IJtKj.js} +245 -244
  22. package/components/{CasinoGameThumbnail-yvrHp66V.js → CasinoGameThumbnail-AMyBxNdq.js} +762 -778
  23. package/components/{CasinoGameThumbnail-Ddpsxirj.js → CasinoGameThumbnail-DgEB-dkM.js} +1268 -1252
  24. package/components/CasinoGameThumbnail-Dymq8wWq.cjs +47 -0
  25. package/components/{CasinoGamesCategorySection-COcAuqTG.js → CasinoGamesCategorySection-UbxtEgDx.js} +301 -301
  26. package/components/{CasinoGamesCategorySection-DUgz8uau.cjs → CasinoGamesCategorySection-ZiaOwaIX.cjs} +1 -1
  27. package/components/{CasinoGamesCategorySection-DDqd3M8L.js → CasinoGamesCategorySection-blhrWiJn.js} +302 -302
  28. package/components/{CasinoJackpotBanner-DEsoDJ4R.cjs → CasinoJackpotBanner-15vjCxeq.cjs} +1 -1
  29. package/components/{CasinoJackpotBanner-ovGVK744.js → CasinoJackpotBanner-OEQ6kTNX.js} +84 -84
  30. package/components/{CasinoJackpotBanner-CuHjieHv.js → CasinoJackpotBanner-sKWQEAXI.js} +89 -89
  31. package/components/{CasinoLastPlayedSection-C8WSFXnj.js → CasinoLastPlayedSection-DlDq9l_7.js} +33 -33
  32. package/components/{CasinoLastPlayedSection-cSkPcLtL.js → CasinoLastPlayedSection-Dv7S9x-o.js} +33 -33
  33. package/components/{CasinoLastPlayedSection-BHV-LRk1.cjs → CasinoLastPlayedSection-kM9yLvhD.cjs} +1 -1
  34. package/components/{CasinoLobby-Bkj4ZQu6.js → CasinoLobby-BknjaOeS.js} +59 -59
  35. package/components/{CasinoLobby-Bc2QHTe4.js → CasinoLobby-Dho7eG4P.js} +59 -59
  36. package/components/{CasinoLobby-Cs6HmQRu.cjs → CasinoLobby-odJbcWRR.cjs} +1 -1
  37. package/components/{CasinoMostPlayedSection-DsX-pIXm.cjs → CasinoMostPlayedSection-BJpdcEGe.cjs} +1 -1
  38. package/components/{CasinoMostPlayedSection-CQdqKCZj.js → CasinoMostPlayedSection-CGxtqevB.js} +45 -45
  39. package/components/{CasinoMostPlayedSection-smiwW5Ol.js → CasinoMostPlayedSection-PvqfZR6v.js} +45 -45
  40. package/components/{CasinoMyGames-CJ7rioBh.cjs → CasinoMyGames-Baaz8xfL.cjs} +1 -1
  41. package/components/{CasinoMyGames-CYZ5nWjJ.js → CasinoMyGames-C22R6240.js} +29 -29
  42. package/components/{CasinoMyGames-CnnjGYeT.js → CasinoMyGames-Cr-QJTaa.js} +29 -29
  43. package/components/{CasinoPage-Dg5sPuQa.js → CasinoPage-BGrASQhH.js} +109 -109
  44. package/components/{CasinoPage-BzASY7Hg.cjs → CasinoPage-BZnxTJSo.cjs} +1 -1
  45. package/components/{CasinoPage-CUUEVdPt.js → CasinoPage-DcXwVMup.js} +123 -123
  46. package/components/{CasinoRandomGame-Dh5EVxCR.js → CasinoRandomGame-CLsTaSPD.js} +53 -53
  47. package/components/{CasinoRandomGame-DRJXaM_Z.cjs → CasinoRandomGame-Cz5w1Xkm.cjs} +1 -1
  48. package/components/{CasinoRandomGame-DBzLZj0J.js → CasinoRandomGame-DoBaxDNA.js} +52 -52
  49. package/components/{CasinoSearch--8BCnmOG.js → CasinoSearch-D4nuoT1C.js} +85 -85
  50. package/components/{CasinoSearch-r9ofFlZt.cjs → CasinoSearch-DHRGmpEd.cjs} +1 -1
  51. package/components/{CasinoSearch-BxyP0Ga2.js → CasinoSearch-M-zypI5B.js} +82 -82
  52. package/components/{CasinoSlider-C0mxz0hk.cjs → CasinoSlider-B_WI_7Qb.cjs} +1 -1
  53. package/components/{CasinoSlider-BihCQ92y.js → CasinoSlider-DvI5SCyj.js} +86 -86
  54. package/components/{CasinoSlider-DpYeYJhK.js → CasinoSlider-OSPrTvMo.js} +87 -87
  55. package/components/{CasinoSort-CbOOYzWs.js → CasinoSort-COpZLKBV.js} +102 -103
  56. package/components/{CasinoSort-BOsO5Bfe.js → CasinoSort-DEbYB6BH.js} +112 -111
  57. package/components/{CasinoSort-L9UM4M85.cjs → CasinoSort-KSHMLnqL.cjs} +1 -1
  58. package/components/{CasinoWinners-DAW-pGRt.js → CasinoWinners-6u19h4xG.js} +151 -151
  59. package/components/{CasinoWinners-CDQfWIM6.js → CasinoWinners-CtR1v_xw.js} +148 -148
  60. package/components/{CasinoWinners-CxuidCR1.cjs → CasinoWinners-DlPnBzX-.cjs} +1 -1
  61. package/components/{GeneralAnimationLoading-CPc2UOwA.js → GeneralAnimationLoading-CEqG5qMY.js} +14 -14
  62. package/components/{GeneralAnimationLoading-CFokXkWs.cjs → GeneralAnimationLoading-oehLt3ob.cjs} +1 -1
  63. package/components/{GeneralAnimationLoading-D0quTPWA.js → GeneralAnimationLoading-rntZi33z.js} +14 -14
  64. package/es2015/casino-lobby.cjs +1 -1
  65. package/es2015/casino-lobby.js +1 -1
  66. package/esnext/casino-lobby.js +1 -1
  67. package/package.json +1 -1
  68. package/stencil/{casino-play-random-game-rBIQ75Yb.cjs → casino-play-random-game-111R1Frl.cjs} +1 -1
  69. package/stencil/{casino-play-random-game-bUDjgSKo.js → casino-play-random-game-D9PFB7B2.js} +1 -1
  70. package/stencil/{casino-play-random-game-DmsXPThq.js → casino-play-random-game-Dge6-qaF.js} +1 -1
  71. package/stencil/{casino-play-random-game_2-Bf4CHBc9.js → casino-play-random-game_2-CunwpDd1.js} +2 -2
  72. package/stencil/{casino-play-random-game_2-C30-vRGp.js → casino-play-random-game_2-auPXMZnz.js} +2 -2
  73. package/stencil/{casino-play-random-game_2-CCCLDakd.cjs → casino-play-random-game_2-cZvlv_fo.cjs} +2 -2
  74. package/stencil/index-328e660d-A_dWaOAX.cjs +1 -0
  75. package/stencil/index-328e660d-BiHqu78m.js +576 -0
  76. package/stencil/index-328e660d-DJbpQFmN.js +560 -0
  77. package/stencil/index-97d17652-DvplcHtm.js +558 -0
  78. package/stencil/index-97d17652-ILzgTtTR.cjs +1 -0
  79. package/stencil/index-97d17652-p-iQtjus.js +542 -0
  80. package/stencil/index-b2193545-BkP0Nc2C.cjs +1 -0
  81. package/stencil/index-b2193545-CejVSlwL.js +519 -0
  82. package/stencil/index-b2193545-DL1I-QYR.js +503 -0
  83. package/stencil/{ui-image-BmLAbwvr.cjs → ui-image-C1Fl5HOc.cjs} +1 -1
  84. package/stencil/{ui-image-DDulMZDF.js → ui-image-DnOuibDF.js} +1 -1
  85. package/stencil/{ui-image-DwWgscwP.js → ui-image-_mAQXh8W.js} +1 -1
  86. package/stencil/{ui-image-b7b48fe5-BKRtoUuG.js → ui-image-b7b48fe5-CBB2FKRZ.js} +1 -1
  87. package/stencil/{ui-image-b7b48fe5-MC0x5ZQd.cjs → ui-image-b7b48fe5-DjCO-ZF4.cjs} +1 -1
  88. package/stencil/{ui-image-b7b48fe5-HA45CrsG.js → ui-image-b7b48fe5-rCWcyktd.js} +1 -1
  89. package/stencil/{ui-image_2-Daq38JGa.js → ui-image_2-BESQEo1l.js} +2 -2
  90. package/stencil/{ui-image_2-CmVho0dS.js → ui-image_2-BfZmduAK.js} +2 -2
  91. package/stencil/{ui-image_2-CyqE6j_W.cjs → ui-image_2-ZFidgTXM.cjs} +1 -1
  92. package/stencil/{ui-skeleton-BWEKzqTN.cjs → ui-skeleton-CWdppDyF.cjs} +1 -1
  93. package/stencil/{ui-skeleton-DgZQnowa.js → ui-skeleton-QCtPK7l5.js} +2 -2
  94. package/stencil/{ui-skeleton-D_tu1FGi.js → ui-skeleton-TkMXeWrD.js} +2 -2
  95. package/stencil/{ui-skeleton-ed169f8f-Ti6Ksz7V.cjs → ui-skeleton-ed169f8f-BT7QFq3s.cjs} +1 -1
  96. package/stencil/{ui-skeleton-ed169f8f-Bs1q2JQr.js → ui-skeleton-ed169f8f-CiWqRE71.js} +1 -1
  97. package/stencil/{ui-skeleton-ed169f8f-D2rWx_KU.js → ui-skeleton-ed169f8f-pTYMIneT.js} +1 -1
  98. package/components/CasinoCalendar-CDybCkBw.cjs +0 -19
  99. package/components/CasinoCategoriesSlider-CDsrUsbe.cjs +0 -1
  100. package/components/CasinoFilter-S-pUTxvR.cjs +0 -1
  101. package/components/CasinoGameThumbnail-B386-P3k.cjs +0 -47
  102. package/stencil/index-328e660d-B6ge05AJ.js +0 -560
  103. package/stencil/index-328e660d-C6OCQOhB.cjs +0 -1
  104. package/stencil/index-328e660d-Duk3nD23.js +0 -576
  105. package/stencil/index-97d17652-B6BYeRne.js +0 -542
  106. package/stencil/index-97d17652-BOr4KAqq.js +0 -558
  107. package/stencil/index-97d17652-zTl06Vn9.cjs +0 -1
  108. package/stencil/index-b2193545-BZAG_Jnw.js +0 -503
  109. package/stencil/index-b2193545-DG7pnr-7.js +0 -519
  110. package/stencil/index-b2193545-DuCTLpV-.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-CDybCkBw.cjs");require("./CasinoFavoritesSection-ioWl2WWa.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[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,_)=>{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(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-Bh1m4DYa.cjs");require("./CasinoFavoritesSection-flqQ1Txz.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[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,_)=>{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(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,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, M 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-qxlVRlx3.js";
2
- import "./CasinoFavoritesSection-DBOa4rLG.js";
3
- function K(a, e) {
1
+ import { a as $, $ as ee, S as te, i as se, f as l, c as ae, s as ne, b as ie, e as P, y as M, d as A, z as K, G as H, j as E, k as oe, o as le, l 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-CTTcluAF.js";
2
+ import "./CasinoFavoritesSection-JbXta4ej.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
  },
@@ -63,7 +63,7 @@ const Y = {
63
63
  }
64
64
  };
65
65
  function be(a) {
66
- ne(a, "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))}");
66
+ ie(a, "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))}");
67
67
  }
68
68
  function ve(a) {
69
69
  let e;
@@ -167,7 +167,7 @@ function ve(a) {
167
167
  );
168
168
  },
169
169
  m(s, i) {
170
- E(s, e, i);
170
+ A(s, e, i);
171
171
  },
172
172
  p(s, i) {
173
173
  i[0] & /*session*/
@@ -287,7 +287,7 @@ function ve(a) {
287
287
  );
288
288
  },
289
289
  d(s) {
290
- s && A(e);
290
+ s && E(e);
291
291
  }
292
292
  };
293
293
  }
@@ -298,22 +298,22 @@ 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 = de(s), M(e, "class", "SearchLoading");
302
302
  },
303
303
  m(m, r) {
304
- E(m, e, r), B(e, i);
304
+ A(m, e, r), K(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") + "") && fe(i, s);
310
310
  },
311
311
  d(m) {
312
- m && A(e);
312
+ m && E(e);
313
313
  }
314
314
  };
315
315
  }
316
- function ke(a) {
316
+ function Ge(a) {
317
317
  let e, s;
318
318
  function i(g, c) {
319
319
  return (
@@ -327,7 +327,7 @@ 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
+ A(g, e, c), K(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)));
@@ -335,32 +335,32 @@ function ke(a) {
335
335
  i: H,
336
336
  o: H,
337
337
  d(g) {
338
- g && A(e), r.d(), a[24](null);
338
+ g && E(e), r.d(), a[24](null);
339
339
  }
340
340
  };
341
341
  }
342
- function we(a, e, s) {
342
+ function ke(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
+ oe(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: G = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: O = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: j } = e, { favorites: U = "" } = e, { translationurl: w = "" } = e, { casinomygames: S = "false" } = e, { mostplayedperiod: C = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: z = "true" } = e, Q = window.navigator.userAgent;
346
346
  const V = () => {
347
- fetch(G).then((o) => o.json()).then((o) => {
347
+ fetch(w).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
- let N = [], q, z = !1, u;
358
+ let N = [], q, I = !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
- 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) => {
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 = k ? o : o.href, new Promise((f, y) => {
364
364
  fetch(q).then((h) => h.json()).then((h) => {
365
365
  h.items = h.items.filter((x) => {
366
366
  let J = !0;
@@ -373,39 +373,39 @@ function we(a, e, s) {
373
373
  }, X = () => {
374
374
  W({
375
375
  limit: 100,
376
- device: le(Q),
376
+ device: me(Q),
377
377
  rounds: L
378
378
  }).then((t) => {
379
379
  if (t.count > 0) {
380
380
  let o = [];
381
381
  t.items.forEach((d) => {
382
382
  let f = new URL(`${m}/v1/casino/games/${d.gameId}`);
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()));
383
+ f.searchParams.append("datasource", r), k ? 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
- s(20, z = !0);
388
+ s(20, I = !0);
389
389
  });
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
+ ge[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, F = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, _ = t.clientstyling), "clientstylingurl" in t && s(8, G = t.clientstylingurl), "livecasino" in t && s(9, k = t.livecasino), "integratedgameframemobile" in t && s(10, O = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, D = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, j = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(16, w = 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, z = 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
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*/
408
- 65536 && G && V(), a.$$.dirty[0] & /*lang*/
406
+ 524544 && G && u && ue(u, G), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
407
+ 524352 && v && u && re(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
408
+ 65536 && w && V(), a.$$.dirty[0] & /*lang*/
409
409
  8 && c && Z();
410
410
  }, [
411
411
  m,
@@ -416,33 +416,33 @@ function we(a, e, s) {
416
416
  b,
417
417
  v,
418
418
  _,
419
+ G,
419
420
  k,
420
- w,
421
421
  O,
422
422
  D,
423
423
  R,
424
424
  T,
425
425
  j,
426
426
  U,
427
- G,
428
- C,
429
- I,
430
- u,
427
+ w,
428
+ S,
431
429
  z,
430
+ u,
431
+ I,
432
432
  i,
433
- S,
433
+ C,
434
434
  L,
435
435
  p
436
436
  ];
437
437
  }
438
- class Ge extends te {
438
+ class we extends te {
439
439
  constructor(e) {
440
440
  super(), se(
441
441
  this,
442
442
  e,
443
- we,
444
443
  ke,
445
- ae,
444
+ Ge,
445
+ ne,
446
446
  {
447
447
  endpoint: 0,
448
448
  datasource: 1,
@@ -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
+ ae(we, { 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
- Ge as default
602
+ we as default
603
603
  };
@@ -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, M 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-DeuDpvc7.js";
2
- import "./CasinoFavoritesSection-Q91WkZtR.js";
3
- function K(a, e) {
1
+ import { a as $, $ as ee, S as te, i as se, f as l, c as ae, s as ne, b as ie, e as P, y as M, d as A, z as K, G as H, j as E, k as oe, o as le, l 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-g3C0yL-l.js";
2
+ import "./CasinoFavoritesSection-1xjeruY9.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
  },
@@ -63,7 +63,7 @@ const Y = {
63
63
  }
64
64
  };
65
65
  function be(a) {
66
- ne(a, "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))}");
66
+ ie(a, "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))}");
67
67
  }
68
68
  function ve(a) {
69
69
  let e;
@@ -167,7 +167,7 @@ function ve(a) {
167
167
  );
168
168
  },
169
169
  m(s, i) {
170
- E(s, e, i);
170
+ A(s, e, i);
171
171
  },
172
172
  p(s, i) {
173
173
  i[0] & /*session*/
@@ -287,7 +287,7 @@ function ve(a) {
287
287
  );
288
288
  },
289
289
  d(s) {
290
- s && A(e);
290
+ s && E(e);
291
291
  }
292
292
  };
293
293
  }
@@ -298,22 +298,22 @@ 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 = de(s), M(e, "class", "SearchLoading");
302
302
  },
303
303
  m(m, r) {
304
- E(m, e, r), B(e, i);
304
+ A(m, e, r), K(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") + "") && fe(i, s);
310
310
  },
311
311
  d(m) {
312
- m && A(e);
312
+ m && E(e);
313
313
  }
314
314
  };
315
315
  }
316
- function ke(a) {
316
+ function Ge(a) {
317
317
  let e, s;
318
318
  function i(g, c) {
319
319
  return (
@@ -327,7 +327,7 @@ 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
+ A(g, e, c), K(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)));
@@ -335,32 +335,32 @@ function ke(a) {
335
335
  i: H,
336
336
  o: H,
337
337
  d(g) {
338
- g && A(e), r.d(), a[24](null);
338
+ g && E(e), r.d(), a[24](null);
339
339
  }
340
340
  };
341
341
  }
342
- function we(a, e, s) {
342
+ function ke(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
+ oe(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: G = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: O = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: j } = e, { favorites: U = "" } = e, { translationurl: w = "" } = e, { casinomygames: S = "false" } = e, { mostplayedperiod: C = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: z = "true" } = e, Q = window.navigator.userAgent;
346
346
  const V = () => {
347
- fetch(G).then((o) => o.json()).then((o) => {
347
+ fetch(w).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
- let N = [], q, z = !1, u;
358
+ let N = [], q, I = !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
- 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) => {
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 = k ? o : o.href, new Promise((f, y) => {
364
364
  fetch(q).then((h) => h.json()).then((h) => {
365
365
  h.items = h.items.filter((x) => {
366
366
  let J = !0;
@@ -373,39 +373,39 @@ function we(a, e, s) {
373
373
  }, X = () => {
374
374
  W({
375
375
  limit: 100,
376
- device: le(Q),
376
+ device: me(Q),
377
377
  rounds: L
378
378
  }).then((t) => {
379
379
  if (t.count > 0) {
380
380
  let o = [];
381
381
  t.items.forEach((d) => {
382
382
  let f = new URL(`${m}/v1/casino/games/${d.gameId}`);
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()));
383
+ f.searchParams.append("datasource", r), k ? 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
- s(20, z = !0);
388
+ s(20, I = !0);
389
389
  });
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
+ ge[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, F = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, _ = t.clientstyling), "clientstylingurl" in t && s(8, G = t.clientstylingurl), "livecasino" in t && s(9, k = t.livecasino), "integratedgameframemobile" in t && s(10, O = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, D = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, j = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(16, w = 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, z = 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
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*/
408
- 65536 && G && V(), a.$$.dirty[0] & /*lang*/
406
+ 524544 && G && u && ue(u, G), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
407
+ 524352 && v && u && re(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
408
+ 65536 && w && V(), a.$$.dirty[0] & /*lang*/
409
409
  8 && c && Z();
410
410
  }, [
411
411
  m,
@@ -416,33 +416,33 @@ function we(a, e, s) {
416
416
  b,
417
417
  v,
418
418
  _,
419
+ G,
419
420
  k,
420
- w,
421
421
  O,
422
422
  D,
423
423
  R,
424
424
  T,
425
425
  j,
426
426
  U,
427
- G,
428
- C,
429
- I,
430
- u,
427
+ w,
428
+ S,
431
429
  z,
430
+ u,
431
+ I,
432
432
  i,
433
- S,
433
+ C,
434
434
  L,
435
435
  p
436
436
  ];
437
437
  }
438
- class Ge extends te {
438
+ class we extends te {
439
439
  constructor(e) {
440
440
  super(), se(
441
441
  this,
442
442
  e,
443
- we,
444
443
  ke,
445
- ae,
444
+ Ge,
445
+ ne,
446
446
  {
447
447
  endpoint: 0,
448
448
  datasource: 1,
@@ -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
+ ae(we, { 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
- Ge as default
602
+ we as default
603
603
  };