@everymatrix/casino-lobby 1.74.6 → 1.74.7

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 (26) hide show
  1. package/components/CasinoFavoritesSection-BQm3vLN4.cjs +1 -0
  2. package/components/{CasinoFavoritesSection-TIV1czkm.js → CasinoFavoritesSection-Cv6jIUlD.js} +148 -129
  3. package/components/{CasinoFavoritesSection-BrDVkqoo.js → CasinoFavoritesSection-DvljpfJ3.js} +148 -129
  4. package/components/{CasinoLastPlayedSection-05WcjInA.js → CasinoLastPlayedSection-B7Zksu4A.js} +81 -70
  5. package/components/{CasinoLastPlayedSection-2dzzLJg7.js → CasinoLastPlayedSection-BvLbRXcm.js} +81 -70
  6. package/components/CasinoLastPlayedSection-DbfXEbef.cjs +1 -0
  7. package/components/{CasinoLobby-BRfuQSO0.js → CasinoLobby-BN2EJtl2.js} +1 -1
  8. package/components/{CasinoLobby-ClPDUIJt.js → CasinoLobby-D8qvx3h6.js} +1 -1
  9. package/components/{CasinoLobby-JSJInF6U.cjs → CasinoLobby-nUsTGR-H.cjs} +1 -1
  10. package/components/{CasinoMostPlayedSection-uF4ETOcE.js → CasinoMostPlayedSection-Bol1_zkd.js} +37 -26
  11. package/components/CasinoMostPlayedSection-Du_UlvPc.cjs +1 -0
  12. package/components/{CasinoMostPlayedSection-DxBSgyMT.js → CasinoMostPlayedSection-ts0YqE3Q.js} +37 -26
  13. package/components/{CasinoMyGames-B6ln9L94.js → CasinoMyGames-D9v-iYaj.js} +533 -500
  14. package/components/CasinoMyGames-DqGcye1D.cjs +1 -0
  15. package/components/{CasinoMyGames-DGnMt9aq.js → CasinoMyGames-a2l-w517.js} +533 -500
  16. package/components/{CasinoPage-v8AoEQF6.cjs → CasinoPage-BOiAVVXu.cjs} +1 -1
  17. package/components/{CasinoPage-DbgjV5io.js → CasinoPage-C9nOimHH.js} +2 -2
  18. package/components/{CasinoPage-Dj1alLLK.js → CasinoPage-KebAtIf2.js} +2 -2
  19. package/es2015/casino-lobby.cjs +1 -1
  20. package/es2015/casino-lobby.js +1 -1
  21. package/esnext/casino-lobby.js +1 -1
  22. package/package.json +1 -1
  23. package/components/CasinoFavoritesSection-D5WvqjAF.cjs +0 -1
  24. package/components/CasinoLastPlayedSection-B4FQNNgv.cjs +0 -1
  25. package/components/CasinoMostPlayedSection-CZrQrXCB.cjs +0 -1
  26. package/components/CasinoMyGames-BNEMfelm.cjs +0 -1
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-BGhJ1cEV.cjs");function se({withLocale:s,translations:t}){e.$locale.subscribe(n=>{n==null&&(e.$dictionary.set(t),e.$locale.set(s))})}function I(s,t){e.addMessages(s,t)}function ae(s){e.$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(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoFavoritesSection-D5WvqjAF.cjs")).then(({default:t})=>{!customElements.get("casino-favorites-section")&&customElements.define("casino-favorites-section",t.element)})}if(typeof window!="undefined"){let s=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoLastPlayedSection-B4FQNNgv.cjs")).then(({default:t})=>{!customElements.get("casino-last-played-section")&&customElements.define("casino-last-played-section",t.element)})}if(typeof window!="undefined"){let s=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoMostPlayedSection-CZrQrXCB.cjs")).then(({default:t})=>{!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",t.element)})}function le(s){e.append_styles(s,"svelte-gljr2z",".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}.CasinoMyGames casino-favorites-section{display:none}.CasinoMyGames casino-favorites-section.Active{display:block}.CasinoMyGames casino-most-played-section{display:none}.CasinoMyGames casino-most-played-section.Active{display:block}.CasinoMyGames casino-last-played-section{display:none}.CasinoMyGames casino-last-played-section.Active{display:block}.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,t,n){const r=s.slice();return r[43]=t[n],r}function ne(s){let t,n,r,_,u,o,c,l,h,d,p,g=e.ensure_array_like(s[28]),f=[];for(let a=0;a<g.length;a+=1)f[a]=Q(J(s,g,a));return{c(){t=e.element("div"),n=e.element("div"),r=e.element("div");for(let a=0;a<f.length;a+=1)f[a].c();_=e.space(),u=e.element("div"),o=e.element("casino-favorites-section"),c=e.space(),l=e.element("casino-most-played-section"),h=e.space(),d=e.element("casino-last-played-section"),e.attr(r,"class","MyGamesButtonsContainer"),e.attr(n,"class","MyGamesHeader"),e.set_custom_element_data(o,"session",s[1]),e.set_custom_element_data(o,"userid",s[0]),e.set_custom_element_data(o,"endpoint",s[2]),e.set_custom_element_data(o,"datasource",s[3]),e.set_custom_element_data(o,"lang",s[4]),e.set_custom_element_data(o,"currency",s[5]),e.set_custom_element_data(o,"favorites",s[14]),e.set_custom_element_data(o,"categoryid","FAVORITES"),e.set_custom_element_data(o,"class","CategoryContainer"),e.set_custom_element_data(o,"showgamename",s[11]),e.set_custom_element_data(o,"clientstyling",s[6]),e.set_custom_element_data(o,"clientstylingurl",s[7]),e.set_custom_element_data(o,"livecasino",s[8]),e.set_custom_element_data(o,"visiblegames",s[9]),e.set_custom_element_data(o,"gamepagemodalurl",s[10]),e.set_custom_element_data(o,"integratedgameframedesktop",s[12]),e.set_custom_element_data(o,"integratedgameframemobile",s[13]),e.set_custom_element_data(o,"casinomygames",s[17]),e.set_custom_element_data(o,"mbsource",s[24]),e.toggle_class(o,"Active",s[26]=="Favorites"),e.set_custom_element_data(l,"endpoint",s[2]),e.set_custom_element_data(l,"datasource",s[3]),e.set_custom_element_data(l,"lang",s[4]),e.set_custom_element_data(l,"currency",s[5]),e.set_custom_element_data(l,"session",s[1]),e.set_custom_element_data(l,"userid",s[0]),e.set_custom_element_data(l,"favorites",s[14]),e.set_custom_element_data(l,"categoryindex","0"),e.set_custom_element_data(l,"class","CategoryContainer"),e.set_custom_element_data(l,"showgamename",s[11]),e.set_custom_element_data(l,"clientstyling",s[6]),e.set_custom_element_data(l,"clientstylingurl",s[7]),e.set_custom_element_data(l,"livecasino",s[8]),e.set_custom_element_data(l,"visiblegames",s[9]),e.set_custom_element_data(l,"gamepagemodalurl",s[10]),e.set_custom_element_data(l,"mostplayedrounds",s[23]),e.set_custom_element_data(l,"integratedgameframedesktop",s[12]),e.set_custom_element_data(l,"integratedgameframemobile",s[13]),e.set_custom_element_data(l,"mostplayedperiod",s[19]),e.set_custom_element_data(l,"casinomygames",s[17]),e.set_custom_element_data(l,"mbsource",s[24]),e.toggle_class(l,"Active",s[26]=="MostPlayed"),e.set_custom_element_data(d,"userid",s[0]),e.set_custom_element_data(d,"endpoint",s[2]),e.set_custom_element_data(d,"datasource",s[3]),e.set_custom_element_data(d,"favorites",s[14]),e.set_custom_element_data(d,"lang",s[4]),e.set_custom_element_data(d,"currency",s[5]),e.set_custom_element_data(d,"session",s[1]),e.set_custom_element_data(d,"class","CategoryContainer"),e.set_custom_element_data(d,"showgamename",s[11]),e.set_custom_element_data(d,"clientstyling",s[6]),e.set_custom_element_data(d,"clientstylingurl",s[7]),e.set_custom_element_data(d,"livecasino",s[8]),e.set_custom_element_data(d,"visiblegames",s[9]),e.set_custom_element_data(d,"lastplayedperiod",s[18]),e.set_custom_element_data(d,"lastplayedorder",s[20]),e.set_custom_element_data(d,"lastplayedlimit",s[21]),e.set_custom_element_data(d,"lastplayedunique",s[22]),e.set_custom_element_data(d,"gamepagemodalurl",s[10]),e.set_custom_element_data(d,"integratedgameframedesktop",s[12]),e.set_custom_element_data(d,"integratedgameframemobile",s[13]),e.set_custom_element_data(d,"casinomygames",s[17]),e.set_custom_element_data(d,"mbsource",s[24]),e.toggle_class(d,"Active",s[26]=="LastPlayed"),e.attr(t,"class",p="CasinoMyGames "+(s[27]?"Mobile":""))},m(a,m){e.insert(a,t,m),e.append(t,n),e.append(n,r);for(let y=0;y<f.length;y+=1)f[y]&&f[y].m(r,null);e.append(t,_),e.append(t,u),e.append(u,o),e.append(u,c),e.append(u,l),e.append(u,h),e.append(u,d)},p(a,m){if(m[0]&1946271744|m[1]&1){g=e.ensure_array_like(a[28]);let y;for(y=0;y<g.length;y+=1){const M=J(a,g,y);f[y]?f[y].p(M,m):(f[y]=Q(M),f[y].c(),f[y].m(r,null))}for(;y<f.length;y+=1)f[y].d(1);f.length=g.length}m[0]&2&&e.set_custom_element_data(o,"session",a[1]),m[0]&1&&e.set_custom_element_data(o,"userid",a[0]),m[0]&4&&e.set_custom_element_data(o,"endpoint",a[2]),m[0]&8&&e.set_custom_element_data(o,"datasource",a[3]),m[0]&16&&e.set_custom_element_data(o,"lang",a[4]),m[0]&32&&e.set_custom_element_data(o,"currency",a[5]),m[0]&16384&&e.set_custom_element_data(o,"favorites",a[14]),m[0]&2048&&e.set_custom_element_data(o,"showgamename",a[11]),m[0]&64&&e.set_custom_element_data(o,"clientstyling",a[6]),m[0]&128&&e.set_custom_element_data(o,"clientstylingurl",a[7]),m[0]&256&&e.set_custom_element_data(o,"livecasino",a[8]),m[0]&512&&e.set_custom_element_data(o,"visiblegames",a[9]),m[0]&1024&&e.set_custom_element_data(o,"gamepagemodalurl",a[10]),m[0]&4096&&e.set_custom_element_data(o,"integratedgameframedesktop",a[12]),m[0]&8192&&e.set_custom_element_data(o,"integratedgameframemobile",a[13]),m[0]&131072&&e.set_custom_element_data(o,"casinomygames",a[17]),m[0]&16777216&&e.set_custom_element_data(o,"mbsource",a[24]),m[0]&67108864&&e.toggle_class(o,"Active",a[26]=="Favorites"),m[0]&4&&e.set_custom_element_data(l,"endpoint",a[2]),m[0]&8&&e.set_custom_element_data(l,"datasource",a[3]),m[0]&16&&e.set_custom_element_data(l,"lang",a[4]),m[0]&32&&e.set_custom_element_data(l,"currency",a[5]),m[0]&2&&e.set_custom_element_data(l,"session",a[1]),m[0]&1&&e.set_custom_element_data(l,"userid",a[0]),m[0]&16384&&e.set_custom_element_data(l,"favorites",a[14]),m[0]&2048&&e.set_custom_element_data(l,"showgamename",a[11]),m[0]&64&&e.set_custom_element_data(l,"clientstyling",a[6]),m[0]&128&&e.set_custom_element_data(l,"clientstylingurl",a[7]),m[0]&256&&e.set_custom_element_data(l,"livecasino",a[8]),m[0]&512&&e.set_custom_element_data(l,"visiblegames",a[9]),m[0]&1024&&e.set_custom_element_data(l,"gamepagemodalurl",a[10]),m[0]&8388608&&e.set_custom_element_data(l,"mostplayedrounds",a[23]),m[0]&4096&&e.set_custom_element_data(l,"integratedgameframedesktop",a[12]),m[0]&8192&&e.set_custom_element_data(l,"integratedgameframemobile",a[13]),m[0]&524288&&e.set_custom_element_data(l,"mostplayedperiod",a[19]),m[0]&131072&&e.set_custom_element_data(l,"casinomygames",a[17]),m[0]&16777216&&e.set_custom_element_data(l,"mbsource",a[24]),m[0]&67108864&&e.toggle_class(l,"Active",a[26]=="MostPlayed"),m[0]&1&&e.set_custom_element_data(d,"userid",a[0]),m[0]&4&&e.set_custom_element_data(d,"endpoint",a[2]),m[0]&8&&e.set_custom_element_data(d,"datasource",a[3]),m[0]&16384&&e.set_custom_element_data(d,"favorites",a[14]),m[0]&16&&e.set_custom_element_data(d,"lang",a[4]),m[0]&32&&e.set_custom_element_data(d,"currency",a[5]),m[0]&2&&e.set_custom_element_data(d,"session",a[1]),m[0]&2048&&e.set_custom_element_data(d,"showgamename",a[11]),m[0]&64&&e.set_custom_element_data(d,"clientstyling",a[6]),m[0]&128&&e.set_custom_element_data(d,"clientstylingurl",a[7]),m[0]&256&&e.set_custom_element_data(d,"livecasino",a[8]),m[0]&512&&e.set_custom_element_data(d,"visiblegames",a[9]),m[0]&262144&&e.set_custom_element_data(d,"lastplayedperiod",a[18]),m[0]&1048576&&e.set_custom_element_data(d,"lastplayedorder",a[20]),m[0]&2097152&&e.set_custom_element_data(d,"lastplayedlimit",a[21]),m[0]&4194304&&e.set_custom_element_data(d,"lastplayedunique",a[22]),m[0]&1024&&e.set_custom_element_data(d,"gamepagemodalurl",a[10]),m[0]&4096&&e.set_custom_element_data(d,"integratedgameframedesktop",a[12]),m[0]&8192&&e.set_custom_element_data(d,"integratedgameframemobile",a[13]),m[0]&131072&&e.set_custom_element_data(d,"casinomygames",a[17]),m[0]&16777216&&e.set_custom_element_data(d,"mbsource",a[24]),m[0]&67108864&&e.toggle_class(d,"Active",a[26]=="LastPlayed"),m[0]&134217728&&p!==(p="CasinoMyGames "+(a[27]?"Mobile":""))&&e.attr(t,"class",p)},d(a){a&&e.detach(t),e.destroy_each(f,a)}}}function V(s){let t,n=s[30]("favorites")+"",r,_,u,o,c,l,h,d,p;return{c(){t=e.element("button"),r=e.text(n),_=e.space(),u=e.element("span"),o=e.text("("),c=e.text(s[29]),l=e.text(")"),e.attr(t,"class",h="MyGamesButton "+(s[26]=="Favorites"?"Active":"")+" "+(s[14]=="false"?"Off":""))},m(g,f){e.insert(g,t,f),e.append(t,r),e.append(t,_),e.append(t,u),e.append(u,o),e.append(u,c),e.append(u,l),d||(p=e.listen(t,"click",s[33]),d=!0)},p(g,f){f[0]&1073741824&&n!==(n=g[30]("favorites")+"")&&e.set_data(r,n),f[0]&536870912&&e.set_data(c,g[29]),f[0]&67125248&&h!==(h="MyGamesButton "+(g[26]=="Favorites"?"Active":"")+" "+(g[14]=="false"?"Off":""))&&e.attr(t,"class",h)},d(g){g&&e.detach(t),d=!1,p()}}}function Z(s){let t,n=s[30]("mostPlayed")+"",r,_,u,o;return{c(){t=e.element("button"),r=e.text(n),e.attr(t,"class",_="MyGamesButton "+(s[26]=="MostPlayed"?"Active":"")+" "+(s[15]=="false"?"Off":""))},m(c,l){e.insert(c,t,l),e.append(t,r),u||(o=e.listen(t,"click",s[34]),u=!0)},p(c,l){l[0]&1073741824&&n!==(n=c[30]("mostPlayed")+"")&&e.set_data(r,n),l[0]&67141632&&_!==(_="MyGamesButton "+(c[26]=="MostPlayed"?"Active":"")+" "+(c[15]=="false"?"Off":""))&&e.attr(t,"class",_)},d(c){c&&e.detach(t),u=!1,o()}}}function K(s){let t,n=s[30]("recentlyPlayed")+"",r,_,u,o,c;return{c(){t=e.element("button"),r=e.text(n),_=e.space(),e.attr(t,"class",u="MyGamesButton "+(s[26]=="LastPlayed"?"Active":"")+" "+(s[16]=="false"?"Off":""))},m(l,h){e.insert(l,t,h),e.append(t,r),e.append(t,_),o||(c=e.listen(t,"click",s[35]),o=!0)},p(l,h){h[0]&1073741824&&n!==(n=l[30]("recentlyPlayed")+"")&&e.set_data(r,n),h[0]&67174400&&u!==(u="MyGamesButton "+(l[26]=="LastPlayed"?"Active":"")+" "+(l[16]=="false"?"Off":""))&&e.attr(t,"class",u)},d(l){l&&e.detach(t),o=!1,c()}}}function Q(s){let t,n,r,_=s[43]=="Favorites"&&V(s),u=s[43]=="MostPlayed"&&Z(s),o=s[43]=="LastPlayed"&&K(s);return{c(){_&&_.c(),t=e.space(),u&&u.c(),n=e.space(),o&&o.c(),r=e.empty()},m(c,l){_&&_.m(c,l),e.insert(c,t,l),u&&u.m(c,l),e.insert(c,n,l),o&&o.m(c,l),e.insert(c,r,l)},p(c,l){c[43]=="Favorites"?_?_.p(c,l):(_=V(c),_.c(),_.m(t.parentNode,t)):_&&(_.d(1),_=null),c[43]=="MostPlayed"?u?u.p(c,l):(u=Z(c),u.c(),u.m(n.parentNode,n)):u&&(u.d(1),u=null),c[43]=="LastPlayed"?o?o.p(c,l):(o=K(c),o.c(),o.m(r.parentNode,r)):o&&(o.d(1),o=null)},d(c){c&&(e.detach(t),e.detach(n),e.detach(r)),_&&_.d(c),u&&u.d(c),o&&o.d(c)}}}function oe(s){let t;function n(u,o){if(u[17])return ne}let r=n(s),_=r&&r(s);return{c(){t=e.element("div"),_&&_.c()},m(u,o){e.insert(u,t,o),_&&_.m(t,null),s[36](t)},p(u,o){r===(r=n(u))&&_?_.p(u,o):(_&&_.d(1),_=r&&r(u),_&&(_.c(),_.m(t,null)))},i:e.noop,o:e.noop,d(u){u&&e.detach(t),_&&_.d(),s[36](null)}}}function ie(s,t,n){let r;e.component_subscribe(s,e.$format,i=>n(30,r=i));let{userid:_=""}=t,{session:u=""}=t,{endpoint:o=""}=t,{datasource:c=""}=t,{lang:l=""}=t,{currency:h=""}=t,{clientstyling:d=""}=t,{clientstylingurl:p=""}=t,{livecasino:g=""}=t,{visiblegames:f=""}=t,{gamepagemodalurl:a=""}=t,{showgamename:m=""}=t,{integratedgameframedesktop:y=""}=t,{integratedgameframemobile:M=""}=t,{translationurl:C=""}=t,{favorites:w="false"}=t,{mostplayed:k="false"}=t,{lastplayed:F="false"}=t,{casinomygames:O="false"}=t,{lastplayedperiod:j="Last30Days"}=t,{mostplayedperiod:q="Last30Days"}=t,{lastplayedorder:S=""}=t,{lastplayedlimit:D=""}=t,{lastplayedunique:N="true"}=t,{mostplayedrounds:T=""}=t,{mbsource:A}=t,X=window.navigator.userAgent,v,L="",z=!1,P=["","",""],B="0";se({withLocale:"en",translations:{}});const Y=()=>{fetch(C).then(b=>b.json()).then(b=>{Object.keys(b).forEach(G=>{I(G,b[G])})}).catch(b=>{console.log(b)})};Object.keys(R).forEach(i=>{I(i,R[i])});const E=i=>{L!==i&&n(26,L=i)},H=()=>{n(26,L=w==="true"?"Favorites":k==="true"?"MostPlayed":F==="true"?"LastPlayed":""),n(28,P[0]=w==="true"?"Favorites":"",P),n(28,P[1]=k==="true"?"MostPlayed":"",P),n(28,P[2]=F==="true"?"LastPlayed":"",P),ae(l)},U=i=>{var b,G;if(i.data)switch(i.data.type){case"UpdateFavoritesCount":i.data.favoriteGamesLength!==void 0?n(29,B=i.data.favoriteGamesLength):n(29,B=(G=(b=i.data.listOfFavoritesGames)==null?void 0:b.length)!=null?G:0);break}};e.onMount(()=>(window.addEventListener("message",U,!1),n(27,z=e.isMobile(X)),()=>{window.removeEventListener("message",U)}));const x=()=>E("Favorites"),$=()=>E("MostPlayed"),ee=()=>E("LastPlayed");function te(i){e.binding_callbacks[i?"unshift":"push"](()=>{v=i,n(25,v)})}return s.$$set=i=>{"userid"in i&&n(0,_=i.userid),"session"in i&&n(1,u=i.session),"endpoint"in i&&n(2,o=i.endpoint),"datasource"in i&&n(3,c=i.datasource),"lang"in i&&n(4,l=i.lang),"currency"in i&&n(5,h=i.currency),"clientstyling"in i&&n(6,d=i.clientstyling),"clientstylingurl"in i&&n(7,p=i.clientstylingurl),"livecasino"in i&&n(8,g=i.livecasino),"visiblegames"in i&&n(9,f=i.visiblegames),"gamepagemodalurl"in i&&n(10,a=i.gamepagemodalurl),"showgamename"in i&&n(11,m=i.showgamename),"integratedgameframedesktop"in i&&n(12,y=i.integratedgameframedesktop),"integratedgameframemobile"in i&&n(13,M=i.integratedgameframemobile),"translationurl"in i&&n(32,C=i.translationurl),"favorites"in i&&n(14,w=i.favorites),"mostplayed"in i&&n(15,k=i.mostplayed),"lastplayed"in i&&n(16,F=i.lastplayed),"casinomygames"in i&&n(17,O=i.casinomygames),"lastplayedperiod"in i&&n(18,j=i.lastplayedperiod),"mostplayedperiod"in i&&n(19,q=i.mostplayedperiod),"lastplayedorder"in i&&n(20,S=i.lastplayedorder),"lastplayedlimit"in i&&n(21,D=i.lastplayedlimit),"lastplayedunique"in i&&n(22,N=i.lastplayedunique),"mostplayedrounds"in i&&n(23,T=i.mostplayedrounds),"mbsource"in i&&n(24,A=i.mbsource)},s.$$.update=()=>{s.$$.dirty[0]&28&&o&&c&&l&&H(),s.$$.dirty[0]&114688&&w&&k&&F&&H(),s.$$.dirty[1]&2&&C&&Y(),s.$$.dirty[0]&33554496&&d&&v&&e.setClientStyling(v,d),s.$$.dirty[0]&33554560&&p&&v&&e.setClientStylingURL(v,p),s.$$.dirty[0]&50331648&&v&&e.setStreamStyling(v,`${A}.Style`)},[_,u,o,c,l,h,d,p,g,f,a,m,y,M,w,k,F,O,j,q,S,D,N,T,A,v,L,z,P,B,r,E,C,x,$,ee,te]}class W extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ie,oe,e.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(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[1]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[3]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[4]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[5]}set currency(t){this.$$set({currency:t}),e.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get showgamename(){return this.$$.ctx[11]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get translationurl(){return this.$$.ctx[32]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get favorites(){return this.$$.ctx[14]}set favorites(t){this.$$set({favorites:t}),e.flush()}get mostplayed(){return this.$$.ctx[15]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get lastplayed(){return this.$$.ctx[16]}set lastplayed(t){this.$$set({lastplayed:t}),e.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get lastplayedperiod(){return this.$$.ctx[18]}set lastplayedperiod(t){this.$$set({lastplayedperiod:t}),e.flush()}get mostplayedperiod(){return this.$$.ctx[19]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),e.flush()}get lastplayedorder(){return this.$$.ctx[20]}set lastplayedorder(t){this.$$set({lastplayedorder:t}),e.flush()}get lastplayedlimit(){return this.$$.ctx[21]}set lastplayedlimit(t){this.$$set({lastplayedlimit:t}),e.flush()}get lastplayedunique(){return this.$$.ctx[22]}set lastplayedunique(t){this.$$set({lastplayedunique:t}),e.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}get mbsource(){return this.$$.ctx[24]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.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;