@everymatrix/casino-lobby 1.62.1 → 1.62.3

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 (86) hide show
  1. package/components/{CasinoCalendar-C8B0eACb.cjs → CasinoCalendar-B4GcXKnc.cjs} +1 -1
  2. package/components/{CasinoCalendar-lTuMef5g.js → CasinoCalendar-CinFtvuW.js} +2 -2
  3. package/components/{CasinoCalendar-izYyDxua.js → CasinoCalendar-zRo_9Za0.js} +2 -2
  4. package/components/{CasinoCalendarDailyDetails-DB-0YZ9U.cjs → CasinoCalendarDailyDetails-Cn37GUIj.cjs} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-BRtsgmSz.js → CasinoCalendarDailyDetails-DL8uHwSN.js} +2 -2
  6. package/components/{CasinoCalendarDailyDetails-BO_acJjS.js → CasinoCalendarDailyDetails-qkwXMyxI.js} +2 -2
  7. package/components/{CasinoCalendarDailyItem-DAkal_aw.cjs → CasinoCalendarDailyItem-Bo9evLEj.cjs} +1 -1
  8. package/components/{CasinoCalendarDailyItem-CE-i7Rjk.js → CasinoCalendarDailyItem-DcqDKyz5.js} +2 -2
  9. package/components/{CasinoCalendarDailyItem-CearDjmk.js → CasinoCalendarDailyItem-DoK3veTp.js} +2 -2
  10. package/components/{CasinoCategoriesSlider-CtsT7oWX.js → CasinoCategoriesSlider-BBVXEukg.js} +2 -2
  11. package/components/{CasinoCategoriesSlider-CbZRQLJS.js → CasinoCategoriesSlider-YxbN9BpC.js} +2 -2
  12. package/components/{CasinoCategoriesSlider-DtDec725.cjs → CasinoCategoriesSlider-n2yKGzdi.cjs} +1 -1
  13. package/components/{CasinoCollectionsProviders-BsANDUWq.js → CasinoCollectionsProviders-BvaxV9cb.js} +2 -2
  14. package/components/{CasinoCollectionsProviders-Bs5ioZVG.cjs → CasinoCollectionsProviders-CPX65G1M.cjs} +1 -1
  15. package/components/{CasinoCollectionsProviders-C6vH48GA.js → CasinoCollectionsProviders-Q0qcn7b_.js} +2 -2
  16. package/components/{CasinoFavoritesSection-Xa7P63xe.cjs → CasinoFavoritesSection-B1f0uSCY.cjs} +1 -1
  17. package/components/{CasinoFavoritesSection-Binip-ga.js → CasinoFavoritesSection-CR--CUNF.js} +2 -2
  18. package/components/{CasinoFavoritesSection-6WkSSin3.js → CasinoFavoritesSection-DG1Vt4HX.js} +2 -2
  19. package/components/{CasinoFilter-N8qvxcNm.js → CasinoFilter-ChsEa9Bx.js} +1 -1
  20. package/components/{CasinoFilter-xLSNxOV2.js → CasinoFilter-DbcntrTg.js} +1 -1
  21. package/components/{CasinoFilter-Dg58c3Om.cjs → CasinoFilter-DhiwjMr2.cjs} +1 -1
  22. package/components/{CasinoGamePage-DJFhafR6.js → CasinoGamePage-C7LOIY6s.js} +2 -2
  23. package/components/{CasinoGamePage-DQL-yFsp.cjs → CasinoGamePage-CmF8v1Cv.cjs} +1 -1
  24. package/components/{CasinoGamePage-AxIvVXWI.js → CasinoGamePage-DccB7M76.js} +2 -2
  25. package/components/{CasinoGameThumbnail-CYUpL3dx.cjs → CasinoGameThumbnail-BtO5lRYS.cjs} +1 -1
  26. package/components/{CasinoGameThumbnail-BjLYh64K.js → CasinoGameThumbnail-CZYWQzTY.js} +3 -3
  27. package/components/{CasinoGameThumbnail-dOxN1fba.js → CasinoGameThumbnail-DZFIn3jP.js} +3 -3
  28. package/components/{CasinoGamesCategorySection-C0zpuZl3.cjs → CasinoGamesCategorySection-CQaK0CN3.cjs} +1 -1
  29. package/components/{CasinoGamesCategorySection-BUxtHhON.js → CasinoGamesCategorySection-CujQbdKb.js} +5 -5
  30. package/components/{CasinoGamesCategorySection-pmibtuJd.js → CasinoGamesCategorySection-DFNU_Gsz.js} +5 -5
  31. package/components/{CasinoJackpotBanner-CdjXlJzV.js → CasinoJackpotBanner-BhgV3UvA.js} +2 -2
  32. package/components/{CasinoJackpotBanner-DcU4dn5c.js → CasinoJackpotBanner-CkVmxLVH.js} +2 -2
  33. package/components/{CasinoJackpotBanner-DkGsDt5a.cjs → CasinoJackpotBanner-D5DqHlAR.cjs} +1 -1
  34. package/components/{CasinoLastPlayedSection-BP5rPSQ_.js → CasinoLastPlayedSection-CE97lSQ6.js} +2 -2
  35. package/components/{CasinoLastPlayedSection-vlivUYOC.js → CasinoLastPlayedSection-CTorwEQu.js} +2 -2
  36. package/components/{CasinoLastPlayedSection-D0h-rsdy.cjs → CasinoLastPlayedSection-U57Y5miR.cjs} +1 -1
  37. package/components/{CasinoLobby-CPaRNRtp.js → CasinoLobby-80EyIh80.js} +5 -5
  38. package/components/{CasinoLobby-Ds5HlH8Y.cjs → CasinoLobby-C1-TdZOS.cjs} +1 -1
  39. package/components/{CasinoLobby-CyDr4hqy.js → CasinoLobby-hiqWHHHg.js} +5 -5
  40. package/components/{CasinoModal-Cr5ZiTlh.cjs → CasinoModal-7GCtnm_K.cjs} +1 -1
  41. package/components/{CasinoModal-D9IpMDiG.js → CasinoModal-DRoX6zuP.js} +1 -1
  42. package/components/{CasinoModal-Dk3TnqEW.js → CasinoModal-DTJpGGWW.js} +1 -1
  43. package/components/{CasinoMostPlayedSection-20MO7enx.js → CasinoMostPlayedSection-CKuVf-En.js} +2 -2
  44. package/components/{CasinoMostPlayedSection-D26xQEsr.cjs → CasinoMostPlayedSection-Cptq1E56.cjs} +1 -1
  45. package/components/{CasinoMostPlayedSection-CbfiaETY.js → CasinoMostPlayedSection-oxfCPIeN.js} +2 -2
  46. package/components/{CasinoMyGames-BpDT9BLf.cjs → CasinoMyGames-DhHqogUJ.cjs} +1 -1
  47. package/components/{CasinoMyGames-CFxQ8X8x.js → CasinoMyGames-gq_8VbcF.js} +4 -4
  48. package/components/{CasinoMyGames-CadZECEx.js → CasinoMyGames-sC9ouRW_.js} +4 -4
  49. package/components/{CasinoPage-DFLtQdP3.js → CasinoPage-BCAEtuBw.js} +10 -10
  50. package/components/{CasinoPage-jKeNqwgL.js → CasinoPage-Bh2MrJ1P.js} +10 -10
  51. package/components/{CasinoPage-CqUxa6JX.cjs → CasinoPage-BzbZtzqt.cjs} +1 -1
  52. package/components/{CasinoRandomGame-Dfk5ExSm.js → CasinoRandomGame-CbQvQHMi.js} +1 -1
  53. package/components/{CasinoRandomGame-CQSoF_L9.cjs → CasinoRandomGame-D4bGW7wH.cjs} +1 -1
  54. package/components/{CasinoRandomGame-CMMdb6MX.js → CasinoRandomGame-neIdOgUC.js} +1 -1
  55. package/components/{CasinoSearch-B-DNLDkb.js → CasinoSearch-B65DzQEn.js} +4 -4
  56. package/components/{CasinoSearch-CBYRtC_2.cjs → CasinoSearch-BYuM1VFZ.cjs} +1 -1
  57. package/components/{CasinoSearch-ulzQNNP2.js → CasinoSearch-d7Y-IpLr.js} +4 -4
  58. package/components/{CasinoSlider-Bvy9S6qQ.cjs → CasinoSlider-CotyciEv.cjs} +1 -1
  59. package/components/{CasinoSlider-DCODvBVc.js → CasinoSlider-DGETBGTm.js} +1 -1
  60. package/components/{CasinoSlider-M-ePf6YF.js → CasinoSlider-TfFHBss2.js} +1 -1
  61. package/components/{CasinoSort-Cz8W-yKd.js → CasinoSort-B-2h6Htw.js} +1 -1
  62. package/components/{CasinoSort-DJlRNRiq.js → CasinoSort-Cmgp5JM5.js} +1 -1
  63. package/components/{CasinoSort-CMyP4b81.cjs → CasinoSort-X6V8pABW.cjs} +1 -1
  64. package/components/{CasinoWinners-B44zvyCP.js → CasinoWinners-BSQs3S54.js} +3 -3
  65. package/components/{CasinoWinners-CTbjyBxP.cjs → CasinoWinners-CuaTZjz4.cjs} +1 -1
  66. package/components/{CasinoWinners-B11A2z1V.js → CasinoWinners-CyDC7j5x.js} +3 -3
  67. package/components/{GeneralAnimationLoading-N8PSBBga.js → GeneralAnimationLoading-B1-7gNLR.js} +1 -1
  68. package/components/{GeneralAnimationLoading-yZge1VnD.js → GeneralAnimationLoading-BV3DII71.js} +1 -1
  69. package/components/{GeneralAnimationLoading-s32ZAU4z.cjs → GeneralAnimationLoading-DasE8cAb.cjs} +1 -1
  70. package/es2015/casino-lobby.cjs +1 -1
  71. package/es2015/casino-lobby.js +1 -1
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +1 -1
  74. package/stencil/{index-97d17652-De_e2iwD.js → index-97d17652-B8yQdy7J.js} +1 -1
  75. package/stencil/{index-97d17652-CCalHFFZ.js → index-97d17652-C616IYj2.js} +1 -1
  76. package/stencil/{index-97d17652-CeszPuI-.cjs → index-97d17652-C9Ph2JiE.cjs} +1 -1
  77. package/stencil/{ui-image-3911756b-C-PJ3oso.js → ui-image-7da92f1f-26DzsVFt.js} +4 -4
  78. package/stencil/{ui-image-3911756b-D1cmuQAe.js → ui-image-7da92f1f-BAghvEDf.js} +4 -4
  79. package/stencil/ui-image-7da92f1f-BiVBd_OW.cjs +1 -0
  80. package/stencil/{ui-image-DO4by88q.js → ui-image-BSTP7sZO.js} +1 -1
  81. package/stencil/{ui-image-DgVuZYOM.cjs → ui-image-C3XzpHRB.cjs} +1 -1
  82. package/stencil/{ui-image-CUjXE1FQ.js → ui-image-CYB9UUHg.js} +1 -1
  83. package/stencil/{ui-image_2-CIsvIZfV.js → ui-image_2-BXgptLvl.js} +2 -2
  84. package/stencil/{ui-image_2-8wL-gGdE.cjs → ui-image_2-Cctik3aF.cjs} +1 -1
  85. package/stencil/{ui-image_2-BcBI-Hq7.js → ui-image_2-Cyqb4u7k.js} +2 -2
  86. package/stencil/ui-image-3911756b-B-U8CxGn.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-C8B0eACb.cjs");require("./CasinoFavoritesSection-Xa7P63xe.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-B4GcXKnc.cjs");require("./CasinoFavoritesSection-B1f0uSCY.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, s as ae, f as l, b as ne, n as K, d as A, h as E, p as H, j as P, r as M, k as ie, o as oe, O as le, C as re, m as me, q as ge, E as n, J as ce, K as ue, L as de, M as fe, N as he } from "./CasinoCalendar-lTuMef5g.js";
2
- import "./CasinoFavoritesSection-Binip-ga.js";
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 E, p as H, j as P, r as M, k as ie, o as oe, O as le, C as re, m as me, q as ge, E as n, J as ce, K as ue, L as de, M as fe, N as he } from "./CasinoCalendar-CinFtvuW.js";
2
+ import "./CasinoFavoritesSection-CR--CUNF.js";
3
3
  function Y(a, e) {
4
4
  $(a, e);
5
5
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-C8B0eACb.cjs");function ae({withLocale:s,translations:e}){t.$locale.subscribe(a=>{a==null&&(t.$dictionary.set(e),t.$locale.set(s))})}function I(s,e){t.addMessages(s,e)}function se(s){t.$locale.set(s)}const R={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favoriler",mostPlayed:"En Çok Oynananlar",recentlyPlayed:"Son Oynananlar"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"},"en-us":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}};if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoFavoritesSection-Xa7P63xe.cjs")).then(({default:e})=>{!customElements.get("casino-favorites-section")&&customElements.define("casino-favorites-section",e.element)})}if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoLastPlayedSection-D0h-rsdy.cjs")).then(({default:e})=>{!customElements.get("casino-last-played-section")&&customElements.define("casino-last-played-section",e.element)})}if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoMostPlayedSection-D26xQEsr.cjs")).then(({default:e})=>{!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",e.element)})}function le(s){t.append_styles(s,"svelte-nbkt6a",".CasinoMyGames{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:36px}.ButtonsContainerNone{display:none}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .CasinoMyGames{margin:30px 0}.Mobile .CasinoMyGames{width:320px;max-width:320px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}")}function J(s,e,a){const l=s.slice();return l[43]=e[a],l}function ne(s){let e,a,l,r,i,d,o=t.ensure_array_like(s[28]),m=[];for(let u=0;u<o.length;u+=1)m[u]=Q(J(s,o,u));function y(u,f){if(u[26]=="Favorites")return me;if(u[26]=="MostPlayed")return oe;if(u[26]=="LastPlayed")return ie}let g=y(s),_=g&&g(s);return{c(){e=t.element("div"),a=t.element("div"),l=t.element("div");for(let u=0;u<m.length;u+=1)m[u].c();r=t.space(),i=t.element("div"),_&&_.c(),t.attr(l,"class","MyGamesButtonsContainer"),t.attr(a,"class","MyGamesHeader"),t.attr(e,"class",d="CasinoMyGames "+(s[27]?"Mobile":""))},m(u,f){t.insert(u,e,f),t.append(e,a),t.append(a,l);for(let c=0;c<m.length;c+=1)m[c]&&m[c].m(l,null);t.append(e,r),t.append(e,i),_&&_.m(i,null)},p(u,f){if(f[0]&1946271744|f[1]&1){o=t.ensure_array_like(u[28]);let c;for(c=0;c<o.length;c+=1){const v=J(u,o,c);m[c]?m[c].p(v,f):(m[c]=Q(v),m[c].c(),m[c].m(l,null))}for(;c<m.length;c+=1)m[c].d(1);m.length=o.length}g===(g=y(u))&&_?_.p(u,f):(_&&_.d(1),_=g&&g(u),_&&(_.c(),_.m(i,null))),f[0]&134217728&&d!==(d="CasinoMyGames "+(u[27]?"Mobile":""))&&t.attr(e,"class",d)},d(u){u&&t.detach(e),t.destroy_each(m,u),_&&_.d()}}}function V(s){let e,a=s[30]("favorites")+"",l,r,i,d,o,m,y,g,_;return{c(){e=t.element("button"),l=t.text(a),r=t.space(),i=t.element("span"),d=t.text("("),o=t.text(s[29]),m=t.text(")"),t.attr(e,"class",y="MyGamesButton "+(s[26]=="Favorites"?"Active":"")+" "+(s[14]=="false"?"Off":""))},m(u,f){t.insert(u,e,f),t.append(e,l),t.append(e,r),t.append(e,i),t.append(i,d),t.append(i,o),t.append(i,m),g||(_=t.listen(e,"click",s[33]),g=!0)},p(u,f){f[0]&1073741824&&a!==(a=u[30]("favorites")+"")&&t.set_data(l,a),f[0]&536870912&&t.set_data(o,u[29]),f[0]&67125248&&y!==(y="MyGamesButton "+(u[26]=="Favorites"?"Active":"")+" "+(u[14]=="false"?"Off":""))&&t.attr(e,"class",y)},d(u){u&&t.detach(e),g=!1,_()}}}function Z(s){let e,a=s[30]("mostPlayed")+"",l,r,i,d;return{c(){e=t.element("button"),l=t.text(a),t.attr(e,"class",r="MyGamesButton "+(s[26]=="MostPlayed"?"Active":"")+" "+(s[15]=="false"?"Off":""))},m(o,m){t.insert(o,e,m),t.append(e,l),i||(d=t.listen(e,"click",s[34]),i=!0)},p(o,m){m[0]&1073741824&&a!==(a=o[30]("mostPlayed")+"")&&t.set_data(l,a),m[0]&67141632&&r!==(r="MyGamesButton "+(o[26]=="MostPlayed"?"Active":"")+" "+(o[15]=="false"?"Off":""))&&t.attr(e,"class",r)},d(o){o&&t.detach(e),i=!1,d()}}}function K(s){let e,a=s[30]("recentlyPlayed")+"",l,r,i,d,o;return{c(){e=t.element("button"),l=t.text(a),r=t.space(),t.attr(e,"class",i="MyGamesButton "+(s[26]=="LastPlayed"?"Active":"")+" "+(s[16]=="false"?"Off":""))},m(m,y){t.insert(m,e,y),t.append(e,l),t.append(e,r),d||(o=t.listen(e,"click",s[35]),d=!0)},p(m,y){y[0]&1073741824&&a!==(a=m[30]("recentlyPlayed")+"")&&t.set_data(l,a),y[0]&67174400&&i!==(i="MyGamesButton "+(m[26]=="LastPlayed"?"Active":"")+" "+(m[16]=="false"?"Off":""))&&t.attr(e,"class",i)},d(m){m&&t.detach(e),d=!1,o()}}}function Q(s){let e,a,l,r=s[43]=="Favorites"&&V(s),i=s[43]=="MostPlayed"&&Z(s),d=s[43]=="LastPlayed"&&K(s);return{c(){r&&r.c(),e=t.space(),i&&i.c(),a=t.space(),d&&d.c(),l=t.empty()},m(o,m){r&&r.m(o,m),t.insert(o,e,m),i&&i.m(o,m),t.insert(o,a,m),d&&d.m(o,m),t.insert(o,l,m)},p(o,m){o[43]=="Favorites"?r?r.p(o,m):(r=V(o),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),o[43]=="MostPlayed"?i?i.p(o,m):(i=Z(o),i.c(),i.m(a.parentNode,a)):i&&(i.d(1),i=null),o[43]=="LastPlayed"?d?d.p(o,m):(d=K(o),d.c(),d.m(l.parentNode,l)):d&&(d.d(1),d=null)},d(o){o&&(t.detach(e),t.detach(a),t.detach(l)),r&&r.d(o),i&&i.d(o),d&&d.d(o)}}}function ie(s){let e;return{c(){e=t.element("casino-last-played-section"),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"favorites",s[14]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[11]),t.set_custom_element_data(e,"clientstyling",s[6]),t.set_custom_element_data(e,"clientstylingurl",s[7]),t.set_custom_element_data(e,"livecasino",s[8]),t.set_custom_element_data(e,"visiblegames",s[9]),t.set_custom_element_data(e,"lastplayedperiod",s[18]),t.set_custom_element_data(e,"lastplayedorder",s[20]),t.set_custom_element_data(e,"lastplayedlimit",s[21]),t.set_custom_element_data(e,"lastplayedunique",s[22]),t.set_custom_element_data(e,"gamepagemodalurl",s[10]),t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),t.set_custom_element_data(e,"integratedgameframemobile",s[13]),t.set_custom_element_data(e,"casinomygames",s[17]),t.set_custom_element_data(e,"mbsource",s[24])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&2048&&t.set_custom_element_data(e,"showgamename",a[11]),l[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),l[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),l[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),l[0]&512&&t.set_custom_element_data(e,"visiblegames",a[9]),l[0]&262144&&t.set_custom_element_data(e,"lastplayedperiod",a[18]),l[0]&1048576&&t.set_custom_element_data(e,"lastplayedorder",a[20]),l[0]&2097152&&t.set_custom_element_data(e,"lastplayedlimit",a[21]),l[0]&4194304&&t.set_custom_element_data(e,"lastplayedunique",a[22]),l[0]&1024&&t.set_custom_element_data(e,"gamepagemodalurl",a[10]),l[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframemobile",a[13]),l[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),l[0]&16777216&&t.set_custom_element_data(e,"mbsource",a[24])},d(a){a&&t.detach(e)}}}function oe(s){let e;return{c(){e=t.element("casino-most-played-section"),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"favorites",s[14]),t.set_custom_element_data(e,"categoryindex","0"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[11]),t.set_custom_element_data(e,"clientstyling",s[6]),t.set_custom_element_data(e,"clientstylingurl",s[7]),t.set_custom_element_data(e,"livecasino",s[8]),t.set_custom_element_data(e,"visiblegames",s[9]),t.set_custom_element_data(e,"gamepagemodalurl",s[10]),t.set_custom_element_data(e,"mostplayedrounds",s[23]),t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),t.set_custom_element_data(e,"integratedgameframemobile",s[13]),t.set_custom_element_data(e,"mostplayedperiod",s[19]),t.set_custom_element_data(e,"casinomygames",s[17]),t.set_custom_element_data(e,"mbsource",s[24])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),l[0]&2048&&t.set_custom_element_data(e,"showgamename",a[11]),l[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),l[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),l[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),l[0]&512&&t.set_custom_element_data(e,"visiblegames",a[9]),l[0]&1024&&t.set_custom_element_data(e,"gamepagemodalurl",a[10]),l[0]&8388608&&t.set_custom_element_data(e,"mostplayedrounds",a[23]),l[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframemobile",a[13]),l[0]&524288&&t.set_custom_element_data(e,"mostplayedperiod",a[19]),l[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),l[0]&16777216&&t.set_custom_element_data(e,"mbsource",a[24])},d(a){a&&t.detach(e)}}}function me(s){let e;return{c(){e=t.element("casino-favorites-section"),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"favorites",s[14]),t.set_custom_element_data(e,"categoryid","FAVORITES"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[11]),t.set_custom_element_data(e,"clientstyling",s[6]),t.set_custom_element_data(e,"clientstylingurl",s[7]),t.set_custom_element_data(e,"livecasino",s[8]),t.set_custom_element_data(e,"visiblegames",s[9]),t.set_custom_element_data(e,"gamepagemodalurl",s[10]),t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),t.set_custom_element_data(e,"integratedgameframemobile",s[13]),t.set_custom_element_data(e,"casinomygames",s[17]),t.set_custom_element_data(e,"mbsource",s[24])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),l[0]&2048&&t.set_custom_element_data(e,"showgamename",a[11]),l[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),l[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),l[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),l[0]&512&&t.set_custom_element_data(e,"visiblegames",a[9]),l[0]&1024&&t.set_custom_element_data(e,"gamepagemodalurl",a[10]),l[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframemobile",a[13]),l[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),l[0]&16777216&&t.set_custom_element_data(e,"mbsource",a[24])},d(a){a&&t.detach(e)}}}function re(s){let e;function a(i,d){if(i[17])return ne}let l=a(s),r=l&&l(s);return{c(){e=t.element("div"),r&&r.c()},m(i,d){t.insert(i,e,d),r&&r.m(e,null),s[36](e)},p(i,d){l===(l=a(i))&&r?r.p(i,d):(r&&r.d(1),r=l&&l(i),r&&(r.c(),r.m(e,null)))},i:t.noop,o:t.noop,d(i){i&&t.detach(e),r&&r.d(),s[36](null)}}}function de(s,e,a){let l;t.component_subscribe(s,t.$format,n=>a(30,l=n));let{userid:r=""}=e,{session:i=""}=e,{endpoint:d=""}=e,{datasource:o=""}=e,{lang:m=""}=e,{currency:y=""}=e,{clientstyling:g=""}=e,{clientstylingurl:_=""}=e,{livecasino:u=""}=e,{visiblegames:f=""}=e,{gamepagemodalurl:c=""}=e,{showgamename:v=""}=e,{integratedgameframedesktop:O=""}=e,{integratedgameframemobile:B=""}=e,{translationurl:F=""}=e,{favorites:P="false"}=e,{mostplayed:w="false"}=e,{lastplayed:M="false"}=e,{casinomygames:A="false"}=e,{lastplayedperiod:j="Last30Days"}=e,{mostplayedperiod:q="Last30Days"}=e,{lastplayedorder:D=""}=e,{lastplayedlimit:S=""}=e,{lastplayedunique:N="true"}=e,{mostplayedrounds:T=""}=e,{mbsource:G}=e,X=window.navigator.userAgent,h,C="",z=!1,b=["","",""],E="0";ae({withLocale:"en",translations:{}});const Y=()=>{fetch(F).then(p=>p.json()).then(p=>{Object.keys(p).forEach(k=>{I(k,p[k])})}).catch(p=>{console.log(p)})};Object.keys(R).forEach(n=>{I(n,R[n])});const L=n=>{C!==n&&a(26,C=n)},H=()=>{a(26,C=P==="true"?"Favorites":w==="true"?"MostPlayed":M==="true"?"LastPlayed":""),a(28,b[0]=P==="true"?"Favorites":"",b),a(28,b[1]=w==="true"?"MostPlayed":"",b),a(28,b[2]=M==="true"?"LastPlayed":"",b),se(m)},U=n=>{var p,k;if(n.data)switch(n.data.type){case"UpdateFavoritesCount":n.data.favoriteGamesLength!==void 0?a(29,E=n.data.favoriteGamesLength):a(29,E=(k=(p=n.data.listOfFavoritesGames)==null?void 0:p.length)!=null?k:0);break}};t.onMount(()=>(window.addEventListener("message",U,!1),a(27,z=t.isMobile(X)),()=>{window.removeEventListener("message",U)}));const x=()=>L("Favorites"),$=()=>L("MostPlayed"),ee=()=>L("LastPlayed");function te(n){t.binding_callbacks[n?"unshift":"push"](()=>{h=n,a(25,h)})}return s.$$set=n=>{"userid"in n&&a(0,r=n.userid),"session"in n&&a(1,i=n.session),"endpoint"in n&&a(2,d=n.endpoint),"datasource"in n&&a(3,o=n.datasource),"lang"in n&&a(4,m=n.lang),"currency"in n&&a(5,y=n.currency),"clientstyling"in n&&a(6,g=n.clientstyling),"clientstylingurl"in n&&a(7,_=n.clientstylingurl),"livecasino"in n&&a(8,u=n.livecasino),"visiblegames"in n&&a(9,f=n.visiblegames),"gamepagemodalurl"in n&&a(10,c=n.gamepagemodalurl),"showgamename"in n&&a(11,v=n.showgamename),"integratedgameframedesktop"in n&&a(12,O=n.integratedgameframedesktop),"integratedgameframemobile"in n&&a(13,B=n.integratedgameframemobile),"translationurl"in n&&a(32,F=n.translationurl),"favorites"in n&&a(14,P=n.favorites),"mostplayed"in n&&a(15,w=n.mostplayed),"lastplayed"in n&&a(16,M=n.lastplayed),"casinomygames"in n&&a(17,A=n.casinomygames),"lastplayedperiod"in n&&a(18,j=n.lastplayedperiod),"mostplayedperiod"in n&&a(19,q=n.mostplayedperiod),"lastplayedorder"in n&&a(20,D=n.lastplayedorder),"lastplayedlimit"in n&&a(21,S=n.lastplayedlimit),"lastplayedunique"in n&&a(22,N=n.lastplayedunique),"mostplayedrounds"in n&&a(23,T=n.mostplayedrounds),"mbsource"in n&&a(24,G=n.mbsource)},s.$$.update=()=>{s.$$.dirty[0]&28&&d&&o&&m&&H(),s.$$.dirty[0]&114688&&P&&w&&M&&H(),s.$$.dirty[1]&2&&F&&Y(),s.$$.dirty[0]&33554496&&g&&h&&t.setClientStyling(h,g),s.$$.dirty[0]&33554560&&_&&h&&t.setClientStylingURL(h,_),s.$$.dirty[0]&50331648&&h&&t.setStreamStyling(h,`${G}.Style`)},[r,i,d,o,m,y,g,_,u,f,c,v,O,B,P,w,M,A,j,q,D,S,N,T,G,h,C,z,b,E,l,L,F,x,$,ee,te]}class W extends t.SvelteComponent{constructor(e){super(),t.init(this,e,de,re,t.safe_not_equal,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,showgamename:11,integratedgameframedesktop:12,integratedgameframemobile:13,translationurl:32,favorites:14,mostplayed:15,lastplayed:16,casinomygames:17,lastplayedperiod:18,mostplayedperiod:19,lastplayedorder:20,lastplayedlimit:21,lastplayedunique:22,mostplayedrounds:23,mbsource:24},le,[-1,-1])}get userid(){return this.$$.ctx[0]}set userid(e){this.$$set({userid:e}),t.flush()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),t.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),t.flush()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),t.flush()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get translationurl(){return this.$$.ctx[32]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get mostplayed(){return this.$$.ctx[15]}set mostplayed(e){this.$$set({mostplayed:e}),t.flush()}get lastplayed(){return this.$$.ctx[16]}set lastplayed(e){this.$$set({lastplayed:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[18]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[19]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[20]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[21]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[22]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get mbsource(){return this.$$.ctx[24]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(W,{userid:{},session:{},endpoint:{},datasource:{},lang:{},currency:{},clientstyling:{},clientstylingurl:{},livecasino:{},visiblegames:{},gamepagemodalurl:{},showgamename:{},integratedgameframedesktop:{},integratedgameframemobile:{},translationurl:{},favorites:{},mostplayed:{},lastplayed:{},casinomygames:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{},mbsource:{}},[],[],!0);exports.default=W;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-B4GcXKnc.cjs");function ae({withLocale:s,translations:e}){t.$locale.subscribe(a=>{a==null&&(t.$dictionary.set(e),t.$locale.set(s))})}function I(s,e){t.addMessages(s,e)}function se(s){t.$locale.set(s)}const R={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favoriler",mostPlayed:"En Çok Oynananlar",recentlyPlayed:"Son Oynananlar"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"},"en-us":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}};if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoFavoritesSection-B1f0uSCY.cjs")).then(({default:e})=>{!customElements.get("casino-favorites-section")&&customElements.define("casino-favorites-section",e.element)})}if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoLastPlayedSection-U57Y5miR.cjs")).then(({default:e})=>{!customElements.get("casino-last-played-section")&&customElements.define("casino-last-played-section",e.element)})}if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoMostPlayedSection-Cptq1E56.cjs")).then(({default:e})=>{!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",e.element)})}function le(s){t.append_styles(s,"svelte-nbkt6a",".CasinoMyGames{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:36px}.ButtonsContainerNone{display:none}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .CasinoMyGames{margin:30px 0}.Mobile .CasinoMyGames{width:320px;max-width:320px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}")}function J(s,e,a){const l=s.slice();return l[43]=e[a],l}function ne(s){let e,a,l,r,i,d,o=t.ensure_array_like(s[28]),m=[];for(let u=0;u<o.length;u+=1)m[u]=Q(J(s,o,u));function y(u,f){if(u[26]=="Favorites")return me;if(u[26]=="MostPlayed")return oe;if(u[26]=="LastPlayed")return ie}let g=y(s),_=g&&g(s);return{c(){e=t.element("div"),a=t.element("div"),l=t.element("div");for(let u=0;u<m.length;u+=1)m[u].c();r=t.space(),i=t.element("div"),_&&_.c(),t.attr(l,"class","MyGamesButtonsContainer"),t.attr(a,"class","MyGamesHeader"),t.attr(e,"class",d="CasinoMyGames "+(s[27]?"Mobile":""))},m(u,f){t.insert(u,e,f),t.append(e,a),t.append(a,l);for(let c=0;c<m.length;c+=1)m[c]&&m[c].m(l,null);t.append(e,r),t.append(e,i),_&&_.m(i,null)},p(u,f){if(f[0]&1946271744|f[1]&1){o=t.ensure_array_like(u[28]);let c;for(c=0;c<o.length;c+=1){const v=J(u,o,c);m[c]?m[c].p(v,f):(m[c]=Q(v),m[c].c(),m[c].m(l,null))}for(;c<m.length;c+=1)m[c].d(1);m.length=o.length}g===(g=y(u))&&_?_.p(u,f):(_&&_.d(1),_=g&&g(u),_&&(_.c(),_.m(i,null))),f[0]&134217728&&d!==(d="CasinoMyGames "+(u[27]?"Mobile":""))&&t.attr(e,"class",d)},d(u){u&&t.detach(e),t.destroy_each(m,u),_&&_.d()}}}function V(s){let e,a=s[30]("favorites")+"",l,r,i,d,o,m,y,g,_;return{c(){e=t.element("button"),l=t.text(a),r=t.space(),i=t.element("span"),d=t.text("("),o=t.text(s[29]),m=t.text(")"),t.attr(e,"class",y="MyGamesButton "+(s[26]=="Favorites"?"Active":"")+" "+(s[14]=="false"?"Off":""))},m(u,f){t.insert(u,e,f),t.append(e,l),t.append(e,r),t.append(e,i),t.append(i,d),t.append(i,o),t.append(i,m),g||(_=t.listen(e,"click",s[33]),g=!0)},p(u,f){f[0]&1073741824&&a!==(a=u[30]("favorites")+"")&&t.set_data(l,a),f[0]&536870912&&t.set_data(o,u[29]),f[0]&67125248&&y!==(y="MyGamesButton "+(u[26]=="Favorites"?"Active":"")+" "+(u[14]=="false"?"Off":""))&&t.attr(e,"class",y)},d(u){u&&t.detach(e),g=!1,_()}}}function Z(s){let e,a=s[30]("mostPlayed")+"",l,r,i,d;return{c(){e=t.element("button"),l=t.text(a),t.attr(e,"class",r="MyGamesButton "+(s[26]=="MostPlayed"?"Active":"")+" "+(s[15]=="false"?"Off":""))},m(o,m){t.insert(o,e,m),t.append(e,l),i||(d=t.listen(e,"click",s[34]),i=!0)},p(o,m){m[0]&1073741824&&a!==(a=o[30]("mostPlayed")+"")&&t.set_data(l,a),m[0]&67141632&&r!==(r="MyGamesButton "+(o[26]=="MostPlayed"?"Active":"")+" "+(o[15]=="false"?"Off":""))&&t.attr(e,"class",r)},d(o){o&&t.detach(e),i=!1,d()}}}function K(s){let e,a=s[30]("recentlyPlayed")+"",l,r,i,d,o;return{c(){e=t.element("button"),l=t.text(a),r=t.space(),t.attr(e,"class",i="MyGamesButton "+(s[26]=="LastPlayed"?"Active":"")+" "+(s[16]=="false"?"Off":""))},m(m,y){t.insert(m,e,y),t.append(e,l),t.append(e,r),d||(o=t.listen(e,"click",s[35]),d=!0)},p(m,y){y[0]&1073741824&&a!==(a=m[30]("recentlyPlayed")+"")&&t.set_data(l,a),y[0]&67174400&&i!==(i="MyGamesButton "+(m[26]=="LastPlayed"?"Active":"")+" "+(m[16]=="false"?"Off":""))&&t.attr(e,"class",i)},d(m){m&&t.detach(e),d=!1,o()}}}function Q(s){let e,a,l,r=s[43]=="Favorites"&&V(s),i=s[43]=="MostPlayed"&&Z(s),d=s[43]=="LastPlayed"&&K(s);return{c(){r&&r.c(),e=t.space(),i&&i.c(),a=t.space(),d&&d.c(),l=t.empty()},m(o,m){r&&r.m(o,m),t.insert(o,e,m),i&&i.m(o,m),t.insert(o,a,m),d&&d.m(o,m),t.insert(o,l,m)},p(o,m){o[43]=="Favorites"?r?r.p(o,m):(r=V(o),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),o[43]=="MostPlayed"?i?i.p(o,m):(i=Z(o),i.c(),i.m(a.parentNode,a)):i&&(i.d(1),i=null),o[43]=="LastPlayed"?d?d.p(o,m):(d=K(o),d.c(),d.m(l.parentNode,l)):d&&(d.d(1),d=null)},d(o){o&&(t.detach(e),t.detach(a),t.detach(l)),r&&r.d(o),i&&i.d(o),d&&d.d(o)}}}function ie(s){let e;return{c(){e=t.element("casino-last-played-section"),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"favorites",s[14]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[11]),t.set_custom_element_data(e,"clientstyling",s[6]),t.set_custom_element_data(e,"clientstylingurl",s[7]),t.set_custom_element_data(e,"livecasino",s[8]),t.set_custom_element_data(e,"visiblegames",s[9]),t.set_custom_element_data(e,"lastplayedperiod",s[18]),t.set_custom_element_data(e,"lastplayedorder",s[20]),t.set_custom_element_data(e,"lastplayedlimit",s[21]),t.set_custom_element_data(e,"lastplayedunique",s[22]),t.set_custom_element_data(e,"gamepagemodalurl",s[10]),t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),t.set_custom_element_data(e,"integratedgameframemobile",s[13]),t.set_custom_element_data(e,"casinomygames",s[17]),t.set_custom_element_data(e,"mbsource",s[24])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&2048&&t.set_custom_element_data(e,"showgamename",a[11]),l[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),l[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),l[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),l[0]&512&&t.set_custom_element_data(e,"visiblegames",a[9]),l[0]&262144&&t.set_custom_element_data(e,"lastplayedperiod",a[18]),l[0]&1048576&&t.set_custom_element_data(e,"lastplayedorder",a[20]),l[0]&2097152&&t.set_custom_element_data(e,"lastplayedlimit",a[21]),l[0]&4194304&&t.set_custom_element_data(e,"lastplayedunique",a[22]),l[0]&1024&&t.set_custom_element_data(e,"gamepagemodalurl",a[10]),l[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframemobile",a[13]),l[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),l[0]&16777216&&t.set_custom_element_data(e,"mbsource",a[24])},d(a){a&&t.detach(e)}}}function oe(s){let e;return{c(){e=t.element("casino-most-played-section"),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"favorites",s[14]),t.set_custom_element_data(e,"categoryindex","0"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[11]),t.set_custom_element_data(e,"clientstyling",s[6]),t.set_custom_element_data(e,"clientstylingurl",s[7]),t.set_custom_element_data(e,"livecasino",s[8]),t.set_custom_element_data(e,"visiblegames",s[9]),t.set_custom_element_data(e,"gamepagemodalurl",s[10]),t.set_custom_element_data(e,"mostplayedrounds",s[23]),t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),t.set_custom_element_data(e,"integratedgameframemobile",s[13]),t.set_custom_element_data(e,"mostplayedperiod",s[19]),t.set_custom_element_data(e,"casinomygames",s[17]),t.set_custom_element_data(e,"mbsource",s[24])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),l[0]&2048&&t.set_custom_element_data(e,"showgamename",a[11]),l[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),l[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),l[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),l[0]&512&&t.set_custom_element_data(e,"visiblegames",a[9]),l[0]&1024&&t.set_custom_element_data(e,"gamepagemodalurl",a[10]),l[0]&8388608&&t.set_custom_element_data(e,"mostplayedrounds",a[23]),l[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframemobile",a[13]),l[0]&524288&&t.set_custom_element_data(e,"mostplayedperiod",a[19]),l[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),l[0]&16777216&&t.set_custom_element_data(e,"mbsource",a[24])},d(a){a&&t.detach(e)}}}function me(s){let e;return{c(){e=t.element("casino-favorites-section"),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"favorites",s[14]),t.set_custom_element_data(e,"categoryid","FAVORITES"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[11]),t.set_custom_element_data(e,"clientstyling",s[6]),t.set_custom_element_data(e,"clientstylingurl",s[7]),t.set_custom_element_data(e,"livecasino",s[8]),t.set_custom_element_data(e,"visiblegames",s[9]),t.set_custom_element_data(e,"gamepagemodalurl",s[10]),t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),t.set_custom_element_data(e,"integratedgameframemobile",s[13]),t.set_custom_element_data(e,"casinomygames",s[17]),t.set_custom_element_data(e,"mbsource",s[24])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),l[0]&2048&&t.set_custom_element_data(e,"showgamename",a[11]),l[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),l[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),l[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),l[0]&512&&t.set_custom_element_data(e,"visiblegames",a[9]),l[0]&1024&&t.set_custom_element_data(e,"gamepagemodalurl",a[10]),l[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframemobile",a[13]),l[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),l[0]&16777216&&t.set_custom_element_data(e,"mbsource",a[24])},d(a){a&&t.detach(e)}}}function re(s){let e;function a(i,d){if(i[17])return ne}let l=a(s),r=l&&l(s);return{c(){e=t.element("div"),r&&r.c()},m(i,d){t.insert(i,e,d),r&&r.m(e,null),s[36](e)},p(i,d){l===(l=a(i))&&r?r.p(i,d):(r&&r.d(1),r=l&&l(i),r&&(r.c(),r.m(e,null)))},i:t.noop,o:t.noop,d(i){i&&t.detach(e),r&&r.d(),s[36](null)}}}function de(s,e,a){let l;t.component_subscribe(s,t.$format,n=>a(30,l=n));let{userid:r=""}=e,{session:i=""}=e,{endpoint:d=""}=e,{datasource:o=""}=e,{lang:m=""}=e,{currency:y=""}=e,{clientstyling:g=""}=e,{clientstylingurl:_=""}=e,{livecasino:u=""}=e,{visiblegames:f=""}=e,{gamepagemodalurl:c=""}=e,{showgamename:v=""}=e,{integratedgameframedesktop:O=""}=e,{integratedgameframemobile:B=""}=e,{translationurl:F=""}=e,{favorites:P="false"}=e,{mostplayed:w="false"}=e,{lastplayed:M="false"}=e,{casinomygames:A="false"}=e,{lastplayedperiod:j="Last30Days"}=e,{mostplayedperiod:q="Last30Days"}=e,{lastplayedorder:D=""}=e,{lastplayedlimit:S=""}=e,{lastplayedunique:N="true"}=e,{mostplayedrounds:T=""}=e,{mbsource:G}=e,X=window.navigator.userAgent,h,C="",z=!1,b=["","",""],E="0";ae({withLocale:"en",translations:{}});const Y=()=>{fetch(F).then(p=>p.json()).then(p=>{Object.keys(p).forEach(k=>{I(k,p[k])})}).catch(p=>{console.log(p)})};Object.keys(R).forEach(n=>{I(n,R[n])});const L=n=>{C!==n&&a(26,C=n)},H=()=>{a(26,C=P==="true"?"Favorites":w==="true"?"MostPlayed":M==="true"?"LastPlayed":""),a(28,b[0]=P==="true"?"Favorites":"",b),a(28,b[1]=w==="true"?"MostPlayed":"",b),a(28,b[2]=M==="true"?"LastPlayed":"",b),se(m)},U=n=>{var p,k;if(n.data)switch(n.data.type){case"UpdateFavoritesCount":n.data.favoriteGamesLength!==void 0?a(29,E=n.data.favoriteGamesLength):a(29,E=(k=(p=n.data.listOfFavoritesGames)==null?void 0:p.length)!=null?k:0);break}};t.onMount(()=>(window.addEventListener("message",U,!1),a(27,z=t.isMobile(X)),()=>{window.removeEventListener("message",U)}));const x=()=>L("Favorites"),$=()=>L("MostPlayed"),ee=()=>L("LastPlayed");function te(n){t.binding_callbacks[n?"unshift":"push"](()=>{h=n,a(25,h)})}return s.$$set=n=>{"userid"in n&&a(0,r=n.userid),"session"in n&&a(1,i=n.session),"endpoint"in n&&a(2,d=n.endpoint),"datasource"in n&&a(3,o=n.datasource),"lang"in n&&a(4,m=n.lang),"currency"in n&&a(5,y=n.currency),"clientstyling"in n&&a(6,g=n.clientstyling),"clientstylingurl"in n&&a(7,_=n.clientstylingurl),"livecasino"in n&&a(8,u=n.livecasino),"visiblegames"in n&&a(9,f=n.visiblegames),"gamepagemodalurl"in n&&a(10,c=n.gamepagemodalurl),"showgamename"in n&&a(11,v=n.showgamename),"integratedgameframedesktop"in n&&a(12,O=n.integratedgameframedesktop),"integratedgameframemobile"in n&&a(13,B=n.integratedgameframemobile),"translationurl"in n&&a(32,F=n.translationurl),"favorites"in n&&a(14,P=n.favorites),"mostplayed"in n&&a(15,w=n.mostplayed),"lastplayed"in n&&a(16,M=n.lastplayed),"casinomygames"in n&&a(17,A=n.casinomygames),"lastplayedperiod"in n&&a(18,j=n.lastplayedperiod),"mostplayedperiod"in n&&a(19,q=n.mostplayedperiod),"lastplayedorder"in n&&a(20,D=n.lastplayedorder),"lastplayedlimit"in n&&a(21,S=n.lastplayedlimit),"lastplayedunique"in n&&a(22,N=n.lastplayedunique),"mostplayedrounds"in n&&a(23,T=n.mostplayedrounds),"mbsource"in n&&a(24,G=n.mbsource)},s.$$.update=()=>{s.$$.dirty[0]&28&&d&&o&&m&&H(),s.$$.dirty[0]&114688&&P&&w&&M&&H(),s.$$.dirty[1]&2&&F&&Y(),s.$$.dirty[0]&33554496&&g&&h&&t.setClientStyling(h,g),s.$$.dirty[0]&33554560&&_&&h&&t.setClientStylingURL(h,_),s.$$.dirty[0]&50331648&&h&&t.setStreamStyling(h,`${G}.Style`)},[r,i,d,o,m,y,g,_,u,f,c,v,O,B,P,w,M,A,j,q,D,S,N,T,G,h,C,z,b,E,l,L,F,x,$,ee,te]}class W extends t.SvelteComponent{constructor(e){super(),t.init(this,e,de,re,t.safe_not_equal,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,showgamename:11,integratedgameframedesktop:12,integratedgameframemobile:13,translationurl:32,favorites:14,mostplayed:15,lastplayed:16,casinomygames:17,lastplayedperiod:18,mostplayedperiod:19,lastplayedorder:20,lastplayedlimit:21,lastplayedunique:22,mostplayedrounds:23,mbsource:24},le,[-1,-1])}get userid(){return this.$$.ctx[0]}set userid(e){this.$$set({userid:e}),t.flush()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),t.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),t.flush()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),t.flush()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get translationurl(){return this.$$.ctx[32]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get mostplayed(){return this.$$.ctx[15]}set mostplayed(e){this.$$set({mostplayed:e}),t.flush()}get lastplayed(){return this.$$.ctx[16]}set lastplayed(e){this.$$set({lastplayed:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[18]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[19]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[20]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[21]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[22]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get mbsource(){return this.$$.ctx[24]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(W,{userid:{},session:{},endpoint:{},datasource:{},lang:{},currency:{},clientstyling:{},clientstylingurl:{},livecasino:{},visiblegames:{},gamepagemodalurl:{},showgamename:{},integratedgameframedesktop:{},integratedgameframemobile:{},translationurl:{},favorites:{},mostplayed:{},lastplayed:{},casinomygames:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{},mbsource:{}},[],[],!0);exports.default=W;
@@ -1,4 +1,4 @@
1
- import { $ as T, U as ce, a as ge, S as he, i as be, s as ve, f as u, b as pe, n as $, d as _, h as P, j as p, k as _e, o as Pe, l as we, C as Me, v as ee, w as ke, r as w, p as v, B as A, G as Fe, m as S, A as U, q as L, E as s, J as Le, K as Ce, L as Ge, M as Ee, N as Be } from "./CasinoCalendar-lTuMef5g.js";
1
+ import { $ as T, U as ce, a as ge, S as he, i as be, s as ve, f as u, b as pe, n as $, d as _, h as P, j as p, k as _e, o as Pe, l as we, C as Me, v as ee, w as ke, r as w, p as v, B as A, G as Fe, m as S, A as U, q as L, E as s, J as Le, K as Ce, L as Ge, M as Ee, N as Be } from "./CasinoCalendar-CinFtvuW.js";
2
2
  function Ae({ withLocale: a, translations: e }) {
3
3
  T.subscribe((t) => {
4
4
  t == null && (ce.set(e), T.set(a));
@@ -114,7 +114,7 @@ if (typeof window < "u") {
114
114
  }
115
115
  };
116
116
  };
117
- customElements.define = a(customElements.define), import("./CasinoFavoritesSection-Binip-ga.js").then(({ default: e }) => {
117
+ customElements.define = a(customElements.define), import("./CasinoFavoritesSection-CR--CUNF.js").then(({ default: e }) => {
118
118
  !customElements.get("casino-favorites-section") && customElements.define("casino-favorites-section", e.element);
119
119
  });
120
120
  }
@@ -130,7 +130,7 @@ if (typeof window < "u") {
130
130
  }
131
131
  };
132
132
  };
133
- customElements.define = a(customElements.define), import("./CasinoLastPlayedSection-vlivUYOC.js").then(({ default: e }) => {
133
+ customElements.define = a(customElements.define), import("./CasinoLastPlayedSection-CTorwEQu.js").then(({ default: e }) => {
134
134
  !customElements.get("casino-last-played-section") && customElements.define("casino-last-played-section", e.element);
135
135
  });
136
136
  }
@@ -146,7 +146,7 @@ if (typeof window < "u") {
146
146
  }
147
147
  };
148
148
  };
149
- customElements.define = a(customElements.define), import("./CasinoMostPlayedSection-CbfiaETY.js").then(({ default: e }) => {
149
+ customElements.define = a(customElements.define), import("./CasinoMostPlayedSection-oxfCPIeN.js").then(({ default: e }) => {
150
150
  !customElements.get("casino-most-played-section") && customElements.define("casino-most-played-section", e.element);
151
151
  });
152
152
  }
@@ -1,4 +1,4 @@
1
- import { $ as U, U as ce, a as ge, S as he, i as be, s as ve, f as u, b as pe, n as $, d as _, h as P, j as p, k as _e, o as Pe, l as we, C as Me, v as ee, w as ke, r as w, p as v, B as O, G as Fe, m as q, A as z, q as L, E as s, J as Le, K as Ce, L as Ge, M as Ee, N as Be } from "./CasinoCalendar-izYyDxua.js";
1
+ import { $ as U, U as ce, a as ge, S as he, i as be, s as ve, f as u, b as pe, n as $, d as _, h as P, j as p, k as _e, o as Pe, l as we, C as Me, v as ee, w as ke, r as w, p as v, B as O, G as Fe, m as q, A as z, q as L, E as s, J as Le, K as Ce, L as Ge, M as Ee, N as Be } from "./CasinoCalendar-zRo_9Za0.js";
2
2
  function Ae({ withLocale: a, translations: e }) {
3
3
  U.subscribe((t) => {
4
4
  t == null && (ce.set(e), U.set(a));
@@ -114,7 +114,7 @@ if (typeof window != "undefined") {
114
114
  }
115
115
  };
116
116
  };
117
- customElements.define = a(customElements.define), import("./CasinoFavoritesSection-6WkSSin3.js").then(({ default: e }) => {
117
+ customElements.define = a(customElements.define), import("./CasinoFavoritesSection-DG1Vt4HX.js").then(({ default: e }) => {
118
118
  !customElements.get("casino-favorites-section") && customElements.define("casino-favorites-section", e.element);
119
119
  });
120
120
  }
@@ -130,7 +130,7 @@ if (typeof window != "undefined") {
130
130
  }
131
131
  };
132
132
  };
133
- customElements.define = a(customElements.define), import("./CasinoLastPlayedSection-BP5rPSQ_.js").then(({ default: e }) => {
133
+ customElements.define = a(customElements.define), import("./CasinoLastPlayedSection-CE97lSQ6.js").then(({ default: e }) => {
134
134
  !customElements.get("casino-last-played-section") && customElements.define("casino-last-played-section", e.element);
135
135
  });
136
136
  }
@@ -146,7 +146,7 @@ if (typeof window != "undefined") {
146
146
  }
147
147
  };
148
148
  };
149
- customElements.define = a(customElements.define), import("./CasinoMostPlayedSection-20MO7enx.js").then(({ default: e }) => {
149
+ customElements.define = a(customElements.define), import("./CasinoMostPlayedSection-CKuVf-En.js").then(({ default: e }) => {
150
150
  !customElements.get("casino-most-played-section") && customElements.define("casino-most-played-section", e.element);
151
151
  });
152
152
  }
@@ -14,11 +14,11 @@ var oe = (a, e, i) => new Promise((s, o) => {
14
14
  }, l = (r) => r.done ? s(r.value) : Promise.resolve(r.value).then(m, f);
15
15
  l((i = i.apply(a, e)).next());
16
16
  });
17
- import { $ as He, U as Mi, a as Si, S as Pi, i as Fi, s as Gi, f as d, b as Ii, d as v, t as H, c as W, e as de, h as C, j as w, k as Di, l as ci, Z as Bi, o as Oi, n as X, m as Pe, p as E, q as Fe, r as R, E as t, B as S, O as Se, Q as Jt, C as Ye, g as he, G as Je, Y as Vt, v as Kt, a0 as Ni, R as Ti, I as Qt, A as x, P as Ri, u as Ai, x as zi, y as Wi, z as qi, a6 as Ui, a7 as Yi, J as Hi, K as Ji, L as Vi, M as Ki, N as Qi } from "./CasinoCalendar-izYyDxua.js";
18
- import "./CasinoFavoritesSection-6WkSSin3.js";
17
+ import { $ as He, U as Mi, a as Si, S as Pi, i as Fi, s as Gi, f as d, b as Ii, d as v, t as H, c as W, e as de, h as C, j as w, k as Di, l as ci, Z as Bi, o as Oi, n as X, m as Pe, p as E, q as Fe, r as R, E as t, B as S, O as Se, Q as Jt, C as Ye, g as he, G as Je, Y as Vt, v as Kt, a0 as Ni, R as Ti, I as Qt, A as x, P as Ri, u as Ai, x as zi, y as Wi, z as qi, a6 as Ui, a7 as Yi, J as Hi, K as Ji, L as Vi, M as Ki, N as Qi } from "./CasinoCalendar-zRo_9Za0.js";
18
+ import "./CasinoFavoritesSection-DG1Vt4HX.js";
19
19
  import "../stencil/casino-play-random-game-BUvMKyaw.js";
20
20
  import "../stencil/ui-skeleton-CDhNSEbX.js";
21
- import "./CasinoGamesCategorySection-BUxtHhON.js";
21
+ import "./CasinoGamesCategorySection-CujQbdKb.js";
22
22
  function Zi({ withLocale: a, translations: e }) {
23
23
  He.subscribe((i) => {
24
24
  i == null && (Mi.set(e), He.set(a));
@@ -286,7 +286,7 @@ if (typeof window != "undefined") {
286
286
  }
287
287
  };
288
288
  };
289
- customElements.define = a(customElements.define), import("./CasinoRandomGame-CMMdb6MX.js").then(({ default: e }) => {
289
+ customElements.define = a(customElements.define), import("./CasinoRandomGame-neIdOgUC.js").then(({ default: e }) => {
290
290
  !customElements.get("casino-random-game") && customElements.define("casino-random-game", e.element);
291
291
  });
292
292
  }
@@ -302,7 +302,7 @@ if (typeof window != "undefined") {
302
302
  }
303
303
  };
304
304
  };
305
- customElements.define = a(customElements.define), import("./CasinoWinners-B44zvyCP.js").then(({ default: e }) => {
305
+ customElements.define = a(customElements.define), import("./CasinoWinners-BSQs3S54.js").then(({ default: e }) => {
306
306
  !customElements.get("casino-winners") && customElements.define("casino-winners", e.element);
307
307
  });
308
308
  }
@@ -318,7 +318,7 @@ if (typeof window != "undefined") {
318
318
  }
319
319
  };
320
320
  };
321
- customElements.define = a(customElements.define), import("./CasinoJackpotBanner-CdjXlJzV.js").then(({ default: e }) => {
321
+ customElements.define = a(customElements.define), import("./CasinoJackpotBanner-BhgV3UvA.js").then(({ default: e }) => {
322
322
  !customElements.get("casino-jackpot-banner") && customElements.define("casino-jackpot-banner", e.element);
323
323
  });
324
324
  }
@@ -334,7 +334,7 @@ if (typeof window != "undefined") {
334
334
  }
335
335
  };
336
336
  };
337
- customElements.define = a(customElements.define), import("./CasinoCollectionsProviders-C6vH48GA.js").then(({ default: e }) => {
337
+ customElements.define = a(customElements.define), import("./CasinoCollectionsProviders-Q0qcn7b_.js").then(({ default: e }) => {
338
338
  !customElements.get("casino-collections-providers") && customElements.define("casino-collections-providers", e.element);
339
339
  });
340
340
  }
@@ -350,7 +350,7 @@ if (typeof window != "undefined") {
350
350
  }
351
351
  };
352
352
  };
353
- customElements.define = a(customElements.define), import("./CasinoMyGames-CadZECEx.js").then(({ default: e }) => {
353
+ customElements.define = a(customElements.define), import("./CasinoMyGames-sC9ouRW_.js").then(({ default: e }) => {
354
354
  !customElements.get("casino-my-games") && customElements.define("casino-my-games", e.element);
355
355
  });
356
356
  }
@@ -366,7 +366,7 @@ if (typeof window != "undefined") {
366
366
  }
367
367
  };
368
368
  };
369
- customElements.define = a(customElements.define), import("./CasinoSearch-B-DNLDkb.js").then(({ default: e }) => {
369
+ customElements.define = a(customElements.define), import("./CasinoSearch-B65DzQEn.js").then(({ default: e }) => {
370
370
  !customElements.get("casino-search") && customElements.define("casino-search", e.element);
371
371
  });
372
372
  }
@@ -382,7 +382,7 @@ if (typeof window != "undefined") {
382
382
  }
383
383
  };
384
384
  };
385
- customElements.define = a(customElements.define), import("./CasinoCalendar-izYyDxua.js").then((e) => e.a8).then(({ default: e }) => {
385
+ customElements.define = a(customElements.define), import("./CasinoCalendar-zRo_9Za0.js").then((e) => e.a8).then(({ default: e }) => {
386
386
  !customElements.get("casino-calendar") && customElements.define("casino-calendar", e.element);
387
387
  });
388
388
  }
@@ -1,8 +1,8 @@
1
- import { $ as Ye, U as ji, a as Mi, S as Si, i as Pi, s as Fi, f as m, b as Bi, d as v, t as U, c as z, e as ge, h as C, j as w, k as Gi, l as li, Z as Ii, o as Di, n as Z, m as Se, p as E, q as Pe, r as T, E as t, B as M, O as Me, Q as Ht, C as Ue, g as me, G as He, Y as Jt, v as Vt, a0 as Oi, R as Ni, I as Kt, A as X, P as Ti, u as Ri, x as Ai, y as zi, z as Wi, a6 as qi, a7 as Ui, J as Yi, K as Hi, L as Ji, M as Vi, N as Ki } from "./CasinoCalendar-lTuMef5g.js";
2
- import "./CasinoFavoritesSection-Binip-ga.js";
1
+ import { $ as Ye, U as ji, a as Mi, S as Si, i as Pi, s as Fi, f as m, b as Bi, d as v, t as U, c as z, e as ge, h as C, j as w, k as Gi, l as li, Z as Ii, o as Di, n as Z, m as Se, p as E, q as Pe, r as T, E as t, B as M, O as Me, Q as Ht, C as Ue, g as me, G as He, Y as Jt, v as Vt, a0 as Oi, R as Ni, I as Kt, A as X, P as Ti, u as Ri, x as Ai, y as zi, z as Wi, a6 as qi, a7 as Ui, J as Yi, K as Hi, L as Ji, M as Vi, N as Ki } from "./CasinoCalendar-CinFtvuW.js";
2
+ import "./CasinoFavoritesSection-CR--CUNF.js";
3
3
  import "../stencil/casino-play-random-game-6EpPs13y.js";
4
4
  import "../stencil/ui-skeleton-D5ACyLBl.js";
5
- import "./CasinoGamesCategorySection-pmibtuJd.js";
5
+ import "./CasinoGamesCategorySection-DFNU_Gsz.js";
6
6
  function Qi({ withLocale: a, translations: e }) {
7
7
  Ye.subscribe((i) => {
8
8
  i == null && (ji.set(e), Ye.set(a));
@@ -270,7 +270,7 @@ if (typeof window < "u") {
270
270
  }
271
271
  };
272
272
  };
273
- customElements.define = a(customElements.define), import("./CasinoRandomGame-Dfk5ExSm.js").then(({ default: e }) => {
273
+ customElements.define = a(customElements.define), import("./CasinoRandomGame-CbQvQHMi.js").then(({ default: e }) => {
274
274
  !customElements.get("casino-random-game") && customElements.define("casino-random-game", e.element);
275
275
  });
276
276
  }
@@ -286,7 +286,7 @@ if (typeof window < "u") {
286
286
  }
287
287
  };
288
288
  };
289
- customElements.define = a(customElements.define), import("./CasinoWinners-B11A2z1V.js").then(({ default: e }) => {
289
+ customElements.define = a(customElements.define), import("./CasinoWinners-CyDC7j5x.js").then(({ default: e }) => {
290
290
  !customElements.get("casino-winners") && customElements.define("casino-winners", e.element);
291
291
  });
292
292
  }
@@ -302,7 +302,7 @@ if (typeof window < "u") {
302
302
  }
303
303
  };
304
304
  };
305
- customElements.define = a(customElements.define), import("./CasinoJackpotBanner-DcU4dn5c.js").then(({ default: e }) => {
305
+ customElements.define = a(customElements.define), import("./CasinoJackpotBanner-CkVmxLVH.js").then(({ default: e }) => {
306
306
  !customElements.get("casino-jackpot-banner") && customElements.define("casino-jackpot-banner", e.element);
307
307
  });
308
308
  }
@@ -318,7 +318,7 @@ if (typeof window < "u") {
318
318
  }
319
319
  };
320
320
  };
321
- customElements.define = a(customElements.define), import("./CasinoCollectionsProviders-BsANDUWq.js").then(({ default: e }) => {
321
+ customElements.define = a(customElements.define), import("./CasinoCollectionsProviders-BvaxV9cb.js").then(({ default: e }) => {
322
322
  !customElements.get("casino-collections-providers") && customElements.define("casino-collections-providers", e.element);
323
323
  });
324
324
  }
@@ -334,7 +334,7 @@ if (typeof window < "u") {
334
334
  }
335
335
  };
336
336
  };
337
- customElements.define = a(customElements.define), import("./CasinoMyGames-CFxQ8X8x.js").then(({ default: e }) => {
337
+ customElements.define = a(customElements.define), import("./CasinoMyGames-gq_8VbcF.js").then(({ default: e }) => {
338
338
  !customElements.get("casino-my-games") && customElements.define("casino-my-games", e.element);
339
339
  });
340
340
  }
@@ -350,7 +350,7 @@ if (typeof window < "u") {
350
350
  }
351
351
  };
352
352
  };
353
- customElements.define = a(customElements.define), import("./CasinoSearch-ulzQNNP2.js").then(({ default: e }) => {
353
+ customElements.define = a(customElements.define), import("./CasinoSearch-d7Y-IpLr.js").then(({ default: e }) => {
354
354
  !customElements.get("casino-search") && customElements.define("casino-search", e.element);
355
355
  });
356
356
  }
@@ -366,7 +366,7 @@ if (typeof window < "u") {
366
366
  }
367
367
  };
368
368
  };
369
- customElements.define = a(customElements.define), import("./CasinoCalendar-lTuMef5g.js").then((e) => e.a8).then(({ default: e }) => {
369
+ customElements.define = a(customElements.define), import("./CasinoCalendar-CinFtvuW.js").then((e) => e.a8).then(({ default: e }) => {
370
370
  !customElements.get("casino-calendar") && customElements.define("casino-calendar", e.element);
371
371
  });
372
372
  }