@everymatrix/casino-lobby 1.74.2 → 1.74.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 (71) hide show
  1. package/components/{CasinoCalendar-wYGJExu0.cjs → CasinoCalendar-BGhJ1cEV.cjs} +5 -5
  2. package/components/{CasinoCalendar-D4jWXhPt.js → CasinoCalendar-BMDbprh6.js} +42 -31
  3. package/components/{CasinoCalendar-W89MyM3R.js → CasinoCalendar-FUyH3So6.js} +42 -31
  4. package/components/{CasinoCalendarDailyDetails-CIDfmzEU.cjs → CasinoCalendarDailyDetails-DyNw1uMX.cjs} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-B7a0AWc5.js → CasinoCalendarDailyDetails-PT-ciuLj.js} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-ZqdthZ8T.js → CasinoCalendarDailyDetails-qb4mpvz6.js} +1 -1
  7. package/components/{CasinoCalendarDailyItem-BofIs4hH.cjs → CasinoCalendarDailyItem-BJAYmacx.cjs} +1 -1
  8. package/components/{CasinoCalendarDailyItem-C_KcFF9v.js → CasinoCalendarDailyItem-Ddvjsin9.js} +1 -1
  9. package/components/{CasinoCalendarDailyItem-B4VNj6qm.js → CasinoCalendarDailyItem-E_UK8J-P.js} +1 -1
  10. package/components/{CasinoCategoriesSlider-DXG58TlK.cjs → CasinoCategoriesSlider-CMchkLFc.cjs} +1 -1
  11. package/components/{CasinoCategoriesSlider-ByWiiCre.js → CasinoCategoriesSlider-CyY1HQ0P.js} +2 -2
  12. package/components/{CasinoCategoriesSlider-BNtVy9dZ.js → CasinoCategoriesSlider-DTKia-BC.js} +2 -2
  13. package/components/{CasinoCollectionsProviders-sp73chER.js → CasinoCollectionsProviders-C66vF5px.js} +1 -1
  14. package/components/{CasinoCollectionsProviders-Iwvjux90.cjs → CasinoCollectionsProviders-DnxgcymV.cjs} +1 -1
  15. package/components/{CasinoCollectionsProviders-BWHjNJ7D.js → CasinoCollectionsProviders-G6IEHMff.js} +1 -1
  16. package/components/{CasinoFavoritesSection-DL9l3rme.js → CasinoFavoritesSection-BrDVkqoo.js} +2 -2
  17. package/components/{CasinoFavoritesSection-DCveWnxo.cjs → CasinoFavoritesSection-D5WvqjAF.cjs} +1 -1
  18. package/components/{CasinoFavoritesSection-CNJE8CmR.js → CasinoFavoritesSection-TIV1czkm.js} +2 -2
  19. package/components/{CasinoFilter-Bwx_m9X7.cjs → CasinoFilter-BKrzmU_V.cjs} +1 -1
  20. package/components/{CasinoFilter-BJ9RAH6X.js → CasinoFilter-BW0CkIQU.js} +1 -1
  21. package/components/{CasinoFilter-CEPRTXcd.js → CasinoFilter-CFd1r73g.js} +1 -1
  22. package/components/{CasinoGameThumbnail-ByNzt_lj.js → CasinoGameThumbnail-CP707TN8.js} +1 -1
  23. package/components/{CasinoGameThumbnail-BLX7B2C9.js → CasinoGameThumbnail-Cl2nd2Ao.js} +1 -1
  24. package/components/{CasinoGameThumbnail-DAYBIv1-.cjs → CasinoGameThumbnail-xpkz1cUi.cjs} +1 -1
  25. package/components/{CasinoGamesCategorySection-DLtyXL4y.js → CasinoGamesCategorySection-BexCIH6G.js} +102 -94
  26. package/components/{CasinoGamesCategorySection-Bcy4b4v7.cjs → CasinoGamesCategorySection-DkolOoEE.cjs} +1 -1
  27. package/components/{CasinoGamesCategorySection-CkaPpe4H.js → CasinoGamesCategorySection-_5PoZwz5.js} +130 -122
  28. package/components/{CasinoJackpotBanner-D1FBank_.cjs → CasinoJackpotBanner-0uMNuf8D.cjs} +1 -1
  29. package/components/{CasinoJackpotBanner-suOjEdKK.js → CasinoJackpotBanner-DdPrmZDs.js} +1 -1
  30. package/components/{CasinoJackpotBanner-0_7xAHq_.js → CasinoJackpotBanner-nsvJTIO2.js} +1 -1
  31. package/components/{CasinoLastPlayedSection-iNRVps0U.js → CasinoLastPlayedSection-05WcjInA.js} +2 -2
  32. package/components/{CasinoLastPlayedSection-EIkfMv8e.js → CasinoLastPlayedSection-2dzzLJg7.js} +2 -2
  33. package/components/{CasinoLastPlayedSection-DeRqmDvT.cjs → CasinoLastPlayedSection-B4FQNNgv.cjs} +1 -1
  34. package/components/{CasinoLobby-B66cbcSf.js → CasinoLobby-BRfuQSO0.js} +3 -3
  35. package/components/{CasinoLobby-C_n2KRef.js → CasinoLobby-ClPDUIJt.js} +3 -3
  36. package/components/{CasinoLobby-CdXuoMWk.cjs → CasinoLobby-JSJInF6U.cjs} +1 -1
  37. package/components/{CasinoMostPlayedSection-CFC20GVB.cjs → CasinoMostPlayedSection-CZrQrXCB.cjs} +1 -1
  38. package/components/{CasinoMostPlayedSection-D8RGYKns.js → CasinoMostPlayedSection-DxBSgyMT.js} +2 -2
  39. package/components/{CasinoMostPlayedSection-QkJYVQSD.js → CasinoMostPlayedSection-uF4ETOcE.js} +2 -2
  40. package/components/CasinoMyGames-B6ln9L94.js +1315 -0
  41. package/components/CasinoMyGames-BNEMfelm.cjs +1 -0
  42. package/components/CasinoMyGames-DGnMt9aq.js +1316 -0
  43. package/components/{CasinoPage-zqbBeRpH.js → CasinoPage-DbgjV5io.js} +10 -10
  44. package/components/{CasinoPage-CaJ_4wEu.js → CasinoPage-Dj1alLLK.js} +10 -10
  45. package/components/{CasinoPage-DxnqqgsK.cjs → CasinoPage-v8AoEQF6.cjs} +1 -1
  46. package/components/{CasinoRandomGame-DxRM8_Bw.js → CasinoRandomGame-CytI5GjM.js} +1 -1
  47. package/components/{CasinoRandomGame-CP2us9wQ.cjs → CasinoRandomGame-D6dNIU7H.cjs} +1 -1
  48. package/components/{CasinoRandomGame-BP_u-dZo.js → CasinoRandomGame-R-0QqjwX.js} +1 -1
  49. package/components/{CasinoSearch-E6byHH4y.cjs → CasinoSearch-CgNC2d7t.cjs} +1 -1
  50. package/components/{CasinoSearch-DYLKBkXz.js → CasinoSearch-DMIFjlPK.js} +3 -3
  51. package/components/{CasinoSearch-DUVU8u9P.js → CasinoSearch-PQxlpdIr.js} +3 -3
  52. package/components/{CasinoSlider-D4GSh0Rr.js → CasinoSlider-BUdXNBUn.js} +385 -335
  53. package/components/CasinoSlider-B_4OKAXx.cjs +1 -0
  54. package/components/{CasinoSlider-DIeqeNfV.js → CasinoSlider-CgGTFca7.js} +379 -330
  55. package/components/{CasinoSort-zYMJUN8W.js → CasinoSort-CFRGv5Ze.js} +1 -1
  56. package/components/{CasinoSort-DnffDijG.cjs → CasinoSort-_My6LmSq.cjs} +1 -1
  57. package/components/{CasinoSort-CWqOWBmI.js → CasinoSort-d_O_44vv.js} +1 -1
  58. package/components/{CasinoWinners-CgGvis-Q.cjs → CasinoWinners-BX9jBJGA.cjs} +1 -1
  59. package/components/{CasinoWinners-BD8HtIIt.js → CasinoWinners-Co-G3_VH.js} +2 -2
  60. package/components/{CasinoWinners-vOM5e-zn.js → CasinoWinners-DBM7TeCL.js} +2 -2
  61. package/components/{GeneralAnimationLoading-B9fWkZ6F.js → GeneralAnimationLoading-CfouZ-sx.js} +1 -1
  62. package/components/{GeneralAnimationLoading-CB353I6v.cjs → GeneralAnimationLoading-D47HGjTy.cjs} +1 -1
  63. package/components/{GeneralAnimationLoading-SN6B4e8D.js → GeneralAnimationLoading-eg8O-l55.js} +1 -1
  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/components/CasinoMyGames-C5h1cvdX.js +0 -1351
  69. package/components/CasinoMyGames-DGNRAJan.cjs +0 -1
  70. package/components/CasinoMyGames-XuPrviRw.js +0 -1352
  71. package/components/CasinoSlider-CKrkEFp2.cjs +0 -1
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-wYGJExu0.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-DCveWnxo.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-DeRqmDvT.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-CFC20GVB.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-1d9x86",".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, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));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:B=""}=e,{integratedgameframemobile:O=""}=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:S=""}=e,{lastplayedlimit:D=""}=e,{lastplayedunique:N="true"}=e,{mostplayedrounds:T=""}=e,{mbsource:C}=e,X=window.navigator.userAgent,h,L="",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 G=n=>{L!==n&&a(26,L=n)},H=()=>{a(26,L=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=()=>G("Favorites"),$=()=>G("MostPlayed"),ee=()=>G("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,B=n.integratedgameframedesktop),"integratedgameframemobile"in n&&a(13,O=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,S=n.lastplayedorder),"lastplayedlimit"in n&&a(21,D=n.lastplayedlimit),"lastplayedunique"in n&&a(22,N=n.lastplayedunique),"mostplayedrounds"in n&&a(23,T=n.mostplayedrounds),"mbsource"in n&&a(24,C=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,`${C}.Style`)},[r,i,d,o,m,y,g,_,u,f,c,v,B,O,P,w,M,A,j,q,S,D,N,T,C,h,L,z,b,E,l,G,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;