@everymatrix/casino-lobby 1.43.4 → 1.45.0
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.
- package/components/CasinoCalendar-DEhfBjpm.js +5138 -0
- package/components/CasinoCalendar-egUFg4eK.cjs +9 -0
- package/components/CasinoCalendarDailyDetails-CfTziMCu.js +605 -0
- package/components/CasinoCalendarDailyDetails-KP4_YYmO.cjs +1 -0
- package/components/CasinoCalendarDailyItem-4bXAKAZj.cjs +1 -0
- package/components/CasinoCalendarDailyItem-CQ8syIIe.js +220 -0
- package/components/CasinoCategoriesSlider-BQvWcqNm.js +597 -0
- package/components/CasinoCategoriesSlider-BfuTLKom.cjs +1 -0
- package/components/CasinoCollectionsProviders-C9_6w0OJ.cjs +1 -0
- package/components/CasinoCollectionsProviders-CwJY8Pmw.js +659 -0
- package/components/CasinoFavoritesSection-BBWM7_dI.js +418 -0
- package/components/CasinoFavoritesSection-Da0-zSyn.cjs +1 -0
- package/components/CasinoFilter-BkpU5f2V.cjs +1 -0
- package/components/CasinoFilter-D3p7c7qu.js +628 -0
- package/components/CasinoGamePage-BHxY5XUD.cjs +18 -0
- package/components/CasinoGamePage-Bp4OKmdA.js +4282 -0
- package/components/CasinoGameThumbnail-BmmqFK_6.js +1822 -0
- package/components/CasinoGameThumbnail-DVMHCqZf.cjs +38 -0
- package/components/CasinoGamesCategorySection-6X3_pD0A.js +3022 -0
- package/components/CasinoGamesCategorySection-CasxxP7n.cjs +1 -0
- package/components/CasinoJackpotBanner-8_TAP4xY.cjs +1 -0
- package/components/CasinoJackpotBanner-wk2wOmJp.js +619 -0
- package/components/CasinoLastPlayedSection-Dkh43VxC.js +563 -0
- package/components/CasinoLastPlayedSection-DvORiff-.cjs +1 -0
- package/components/CasinoLobby-Djp4HDWL.js +2341 -0
- package/components/CasinoLobby-Jn45jhzr.cjs +1 -0
- package/components/CasinoModal-BebrYWjS.cjs +1 -0
- package/components/CasinoModal-CSwMAX-g.js +372 -0
- package/components/CasinoMostPlayedSection-BDP2HyE6.js +580 -0
- package/components/CasinoMostPlayedSection-CF5vlzLT.cjs +1 -0
- package/components/CasinoMyGames-CILl0Jt1.js +1313 -0
- package/components/CasinoMyGames-shcqTml8.cjs +1 -0
- package/components/CasinoPage-CCcJd2fQ.js +3514 -0
- package/components/CasinoPage-DZmE3VFL.cjs +1 -0
- package/components/CasinoRandomGame-4mi3rRbq.js +641 -0
- package/components/CasinoRandomGame-G4VfFJ2L.cjs +2 -0
- package/components/CasinoSearch-CW-eesDy.cjs +1 -0
- package/components/CasinoSearch-DkEAmw-j.js +1066 -0
- package/components/CasinoSlider-CNWDP_I-.js +803 -0
- package/components/CasinoSlider-CjA8vWoz.cjs +1 -0
- package/components/CasinoSort-BVh0Ouwu.cjs +1 -0
- package/components/CasinoSort-CPcJqhWU.js +425 -0
- package/components/CasinoWinners-BTNdGlUD.cjs +1 -0
- package/components/CasinoWinners-DSsJp1KQ.js +884 -0
- package/components/GeneralAnimationLoading-BtIh_bSy.js +75 -0
- package/components/GeneralAnimationLoading-CEAKVCu9.cjs +1 -0
- package/es2015/casino-lobby.cjs +1 -0
- package/es2015/casino-lobby.js +16 -0
- package/package.json +20 -32
- package/CHANGELOG.md +0 -39
- package/README.md +0 -0
- package/dist/casino-lobby.js +0 -33
- package/dist/casino-lobby.js.map +0 -1
- package/documentation.md +0 -176
- package/index.html +0 -50
- package/index.js +0 -1
- package/public/favicon.png +0 -0
- package/public/reset.css +0 -48
- package/rollup.config.js +0 -67
- package/src/CasinoLobby.svelte +0 -454
- package/src/i18n.js +0 -25
- package/src/index.ts +0 -4
- package/stories/CasinoLobby.stories.js +0 -13
- package/tsconfig.json +0 -6
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-egUFg4eK.cjs");function ae({withLocale:a,translations:e}){t.$locale.subscribe(s=>{s==null&&(t.$dictionary.set(e),t.$locale.set(a))})}function z(a,e){t.addMessages(a,e)}function le(a){t.$locale.set(a)}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"}};if(typeof window!="undefined"){let a=function(e){return function(...s){try{return e.apply(this,s)}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=a(customElements.define),Promise.resolve().then(()=>require("./CasinoFavoritesSection-Da0-zSyn.cjs")).then(({default:e})=>{!customElements.get("casino-favorites-section")&&customElements.define("casino-favorites-section",e.element)})}if(typeof window!="undefined"){let a=function(e){return function(...s){try{return e.apply(this,s)}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=a(customElements.define),Promise.resolve().then(()=>require("./CasinoLastPlayedSection-DvORiff-.cjs")).then(({default:e})=>{!customElements.get("casino-last-played-section")&&customElements.define("casino-last-played-section",e.element)})}if(typeof window!="undefined"){let a=function(e){return function(...s){try{return e.apply(this,s)}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=a(customElements.define),Promise.resolve().then(()=>require("./CasinoMostPlayedSection-CF5vlzLT.cjs")).then(({default:e})=>{!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",e.element)})}function ne(a){t.append_styles(a,"svelte-16emd06",".CasinoMyGames.svelte-16emd06.svelte-16emd06{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile.svelte-16emd06.svelte-16emd06{padding:25px 10px}.MyGamesHeader.svelte-16emd06.svelte-16emd06{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer.svelte-16emd06.svelte-16emd06{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton.svelte-16emd06.svelte-16emd06{border:none;background:none;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton.svelte-16emd06.svelte-16emd06:hover{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton.svelte-16emd06.svelte-16emd06:focus{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton.Active.svelte-16emd06.svelte-16emd06{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));padding-bottom:10px}.MyGamesButton.Active.svelte-16emd06.svelte-16emd06{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px}.Mobile.svelte-16emd06 .MyGamesButtonsContainer.svelte-16emd06{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile.svelte-16emd06 .MyGamesHeader.svelte-16emd06{justify-content:flex-start}.Mobile.svelte-16emd06 .MyGamesButton.svelte-16emd06{font-size:16px;white-space:nowrap;padding:5px}.Mobile.svelte-16emd06 .MyGamesButton.Active.svelte-16emd06{padding-bottom:5px}")}function I(a,e,s){const l=a.slice();return l[43]=e[s],l}function ie(a){let e,s,l,d,i,r,o=t.ensure_array_like(a[27]),m=[];for(let u=0;u<o.length;u+=1)m[u]=K(I(a,o,u));function y(u,f){if(u[25]=="Favorites")return de;if(u[25]=="MostPlayed")return me;if(u[25]=="LastPlayed")return oe}let g=y(a),_=g&&g(a);return{c(){e=t.element("div"),s=t.element("div"),l=t.element("div");for(let u=0;u<m.length;u+=1)m[u].c();d=t.space(),i=t.element("div"),_&&_.c(),t.attr(l,"class","MyGamesButtonsContainer svelte-16emd06"),t.attr(s,"class","MyGamesHeader svelte-16emd06"),t.attr(e,"class",r="CasinoMyGames "+(a[26]?"Mobile":"")+" svelte-16emd06")},m(u,f){t.insert(u,e,f),t.append(e,s),t.append(s,l);for(let c=0;c<m.length;c+=1)m[c]&&m[c].m(l,null);t.append(e,d),t.append(e,i),_&&_.m(i,null)},p(u,f){if(f[0]&2046935040){o=t.ensure_array_like(u[27]);let c;for(c=0;c<o.length;c+=1){const b=I(u,o,c);m[c]?m[c].p(b,f):(m[c]=K(b),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]&67108864&&r!==(r="CasinoMyGames "+(u[26]?"Mobile":"")+" svelte-16emd06")&&t.attr(e,"class",r)},d(u){u&&t.detach(e),t.destroy_each(m,u),_&&_.d()}}}function J(a){let e,s=a[29]("favorites")+"",l,d,i,r,o,m,y,g,_;return{c(){e=t.element("button"),l=t.text(s),d=t.space(),i=t.element("span"),r=t.text("("),o=t.text(a[28]),m=t.text(")"),t.attr(e,"class",y="MyGamesButton "+(a[25]=="Favorites"?"Active":"")+" "+(a[14]=="false"?"Off":"")+" svelte-16emd06")},m(u,f){t.insert(u,e,f),t.append(e,l),t.append(e,d),t.append(e,i),t.append(i,r),t.append(i,o),t.append(i,m),g||(_=t.listen(e,"click",a[32]),g=!0)},p(u,f){f[0]&536870912&&s!==(s=u[29]("favorites")+"")&&t.set_data(l,s),f[0]&268435456&&t.set_data(o,u[28]),f[0]&33570816&&y!==(y="MyGamesButton "+(u[25]=="Favorites"?"Active":"")+" "+(u[14]=="false"?"Off":"")+" svelte-16emd06")&&t.attr(e,"class",y)},d(u){u&&t.detach(e),g=!1,_()}}}function V(a){let e,s=a[29]("mostPlayed")+"",l,d,i,r;return{c(){e=t.element("button"),l=t.text(s),t.attr(e,"class",d="MyGamesButton "+(a[25]=="MostPlayed"?"Active":"")+" "+(a[15]=="false"?"Off":"")+" svelte-16emd06")},m(o,m){t.insert(o,e,m),t.append(e,l),i||(r=t.listen(e,"click",a[33]),i=!0)},p(o,m){m[0]&536870912&&s!==(s=o[29]("mostPlayed")+"")&&t.set_data(l,s),m[0]&33587200&&d!==(d="MyGamesButton "+(o[25]=="MostPlayed"?"Active":"")+" "+(o[15]=="false"?"Off":"")+" svelte-16emd06")&&t.attr(e,"class",d)},d(o){o&&t.detach(e),i=!1,r()}}}function Z(a){let e,s=a[29]("recentlyPlayed")+"",l,d,i,r,o;return{c(){e=t.element("button"),l=t.text(s),d=t.space(),t.attr(e,"class",i="MyGamesButton "+(a[25]=="LastPlayed"?"Active":"")+" "+(a[16]=="false"?"Off":"")+" svelte-16emd06")},m(m,y){t.insert(m,e,y),t.append(e,l),t.append(e,d),r||(o=t.listen(e,"click",a[34]),r=!0)},p(m,y){y[0]&536870912&&s!==(s=m[29]("recentlyPlayed")+"")&&t.set_data(l,s),y[0]&33619968&&i!==(i="MyGamesButton "+(m[25]=="LastPlayed"?"Active":"")+" "+(m[16]=="false"?"Off":"")+" svelte-16emd06")&&t.attr(e,"class",i)},d(m){m&&t.detach(e),r=!1,o()}}}function K(a){let e,s,l,d=a[43]=="Favorites"&&J(a),i=a[43]=="MostPlayed"&&V(a),r=a[43]=="LastPlayed"&&Z(a);return{c(){d&&d.c(),e=t.space(),i&&i.c(),s=t.space(),r&&r.c(),l=t.empty()},m(o,m){d&&d.m(o,m),t.insert(o,e,m),i&&i.m(o,m),t.insert(o,s,m),r&&r.m(o,m),t.insert(o,l,m)},p(o,m){o[43]=="Favorites"?d?d.p(o,m):(d=J(o),d.c(),d.m(e.parentNode,e)):d&&(d.d(1),d=null),o[43]=="MostPlayed"?i?i.p(o,m):(i=V(o),i.c(),i.m(s.parentNode,s)):i&&(i.d(1),i=null),o[43]=="LastPlayed"?r?r.p(o,m):(r=Z(o),r.c(),r.m(l.parentNode,l)):r&&(r.d(1),r=null)},d(o){o&&(t.detach(e),t.detach(s),t.detach(l)),d&&d.d(o),i&&i.d(o),r&&r.d(o)}}}function oe(a){let e;return{c(){e=t.element("casino-last-played-section"),t.set_custom_element_data(e,"userid",a[0]),t.set_custom_element_data(e,"endpoint",a[2]),t.set_custom_element_data(e,"datasource",a[3]),t.set_custom_element_data(e,"favorites",a[14]),t.set_custom_element_data(e,"lang",a[4]),t.set_custom_element_data(e,"currency",a[5]),t.set_custom_element_data(e,"session",a[1]),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",a[11]),t.set_custom_element_data(e,"clientstyling",a[6]),t.set_custom_element_data(e,"clientstylingurl",a[7]),t.set_custom_element_data(e,"livecasino",a[8]),t.set_custom_element_data(e,"visiblegames",a[9]),t.set_custom_element_data(e,"lastplayedperiod",a[18]),t.set_custom_element_data(e,"lastplayedorder",a[20]),t.set_custom_element_data(e,"lastplayedlimit",a[21]),t.set_custom_element_data(e,"lastplayedunique",a[22]),t.set_custom_element_data(e,"gamepagemodalurl",a[10]),t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),t.set_custom_element_data(e,"integratedgameframemobile",a[13]),t.set_custom_element_data(e,"casinomygames",a[17])},m(s,l){t.insert(s,e,l)},p(s,l){l[0]&1&&t.set_custom_element_data(e,"userid",s[0]),l[0]&4&&t.set_custom_element_data(e,"endpoint",s[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",s[3]),l[0]&16384&&t.set_custom_element_data(e,"favorites",s[14]),l[0]&16&&t.set_custom_element_data(e,"lang",s[4]),l[0]&32&&t.set_custom_element_data(e,"currency",s[5]),l[0]&2&&t.set_custom_element_data(e,"session",s[1]),l[0]&2048&&t.set_custom_element_data(e,"showgamename",s[11]),l[0]&64&&t.set_custom_element_data(e,"clientstyling",s[6]),l[0]&128&&t.set_custom_element_data(e,"clientstylingurl",s[7]),l[0]&256&&t.set_custom_element_data(e,"livecasino",s[8]),l[0]&512&&t.set_custom_element_data(e,"visiblegames",s[9]),l[0]&262144&&t.set_custom_element_data(e,"lastplayedperiod",s[18]),l[0]&1048576&&t.set_custom_element_data(e,"lastplayedorder",s[20]),l[0]&2097152&&t.set_custom_element_data(e,"lastplayedlimit",s[21]),l[0]&4194304&&t.set_custom_element_data(e,"lastplayedunique",s[22]),l[0]&1024&&t.set_custom_element_data(e,"gamepagemodalurl",s[10]),l[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframemobile",s[13]),l[0]&131072&&t.set_custom_element_data(e,"casinomygames",s[17])},d(s){s&&t.detach(e)}}}function me(a){let e;return{c(){e=t.element("casino-most-played-section"),t.set_custom_element_data(e,"endpoint",a[2]),t.set_custom_element_data(e,"datasource",a[3]),t.set_custom_element_data(e,"lang",a[4]),t.set_custom_element_data(e,"currency",a[5]),t.set_custom_element_data(e,"session",a[1]),t.set_custom_element_data(e,"userid",a[0]),t.set_custom_element_data(e,"favorites",a[14]),t.set_custom_element_data(e,"categoryindex","0"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",a[11]),t.set_custom_element_data(e,"clientstyling",a[6]),t.set_custom_element_data(e,"clientstylingurl",a[7]),t.set_custom_element_data(e,"livecasino",a[8]),t.set_custom_element_data(e,"visiblegames",a[9]),t.set_custom_element_data(e,"gamepagemodalurl",a[10]),t.set_custom_element_data(e,"mostplayedrounds",a[23]),t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),t.set_custom_element_data(e,"integratedgameframemobile",a[13]),t.set_custom_element_data(e,"mostplayedperiod",a[19]),t.set_custom_element_data(e,"casinomygames",a[17])},m(s,l){t.insert(s,e,l)},p(s,l){l[0]&4&&t.set_custom_element_data(e,"endpoint",s[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",s[3]),l[0]&16&&t.set_custom_element_data(e,"lang",s[4]),l[0]&32&&t.set_custom_element_data(e,"currency",s[5]),l[0]&2&&t.set_custom_element_data(e,"session",s[1]),l[0]&1&&t.set_custom_element_data(e,"userid",s[0]),l[0]&16384&&t.set_custom_element_data(e,"favorites",s[14]),l[0]&2048&&t.set_custom_element_data(e,"showgamename",s[11]),l[0]&64&&t.set_custom_element_data(e,"clientstyling",s[6]),l[0]&128&&t.set_custom_element_data(e,"clientstylingurl",s[7]),l[0]&256&&t.set_custom_element_data(e,"livecasino",s[8]),l[0]&512&&t.set_custom_element_data(e,"visiblegames",s[9]),l[0]&1024&&t.set_custom_element_data(e,"gamepagemodalurl",s[10]),l[0]&8388608&&t.set_custom_element_data(e,"mostplayedrounds",s[23]),l[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframemobile",s[13]),l[0]&524288&&t.set_custom_element_data(e,"mostplayedperiod",s[19]),l[0]&131072&&t.set_custom_element_data(e,"casinomygames",s[17])},d(s){s&&t.detach(e)}}}function de(a){let e;return{c(){e=t.element("casino-favorites-section"),t.set_custom_element_data(e,"session",a[1]),t.set_custom_element_data(e,"userid",a[0]),t.set_custom_element_data(e,"endpoint",a[2]),t.set_custom_element_data(e,"datasource",a[3]),t.set_custom_element_data(e,"lang",a[4]),t.set_custom_element_data(e,"currency",a[5]),t.set_custom_element_data(e,"favorites",a[14]),t.set_custom_element_data(e,"categoryid","FAVORITES"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",a[11]),t.set_custom_element_data(e,"clientstyling",a[6]),t.set_custom_element_data(e,"clientstylingurl",a[7]),t.set_custom_element_data(e,"livecasino",a[8]),t.set_custom_element_data(e,"visiblegames",a[9]),t.set_custom_element_data(e,"gamepagemodalurl",a[10]),t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),t.set_custom_element_data(e,"integratedgameframemobile",a[13]),t.set_custom_element_data(e,"casinomygames",a[17])},m(s,l){t.insert(s,e,l)},p(s,l){l[0]&2&&t.set_custom_element_data(e,"session",s[1]),l[0]&1&&t.set_custom_element_data(e,"userid",s[0]),l[0]&4&&t.set_custom_element_data(e,"endpoint",s[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",s[3]),l[0]&16&&t.set_custom_element_data(e,"lang",s[4]),l[0]&32&&t.set_custom_element_data(e,"currency",s[5]),l[0]&16384&&t.set_custom_element_data(e,"favorites",s[14]),l[0]&2048&&t.set_custom_element_data(e,"showgamename",s[11]),l[0]&64&&t.set_custom_element_data(e,"clientstyling",s[6]),l[0]&128&&t.set_custom_element_data(e,"clientstylingurl",s[7]),l[0]&256&&t.set_custom_element_data(e,"livecasino",s[8]),l[0]&512&&t.set_custom_element_data(e,"visiblegames",s[9]),l[0]&1024&&t.set_custom_element_data(e,"gamepagemodalurl",s[10]),l[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframemobile",s[13]),l[0]&131072&&t.set_custom_element_data(e,"casinomygames",s[17])},d(s){s&&t.detach(e)}}}function re(a){let e;function s(i,r){if(i[17])return ie}let l=s(a),d=l&&l(a);return{c(){e=t.element("div"),d&&d.c()},m(i,r){t.insert(i,e,r),d&&d.m(e,null),a[35](e)},p(i,r){l===(l=s(i))&&d?d.p(i,r):(d&&d.d(1),d=l&&l(i),d&&(d.c(),d.m(e,null)))},i:t.noop,o:t.noop,d(i){i&&t.detach(e),d&&d.d(),a[35](null)}}}function ue(a,e,s){let l;t.component_subscribe(a,t.$format,n=>s(29,l=n));let{userid:d=""}=e,{session:i=""}=e,{endpoint:r=""}=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:b=""}=e,{integratedgameframedesktop:E=""}=e,{integratedgameframemobile:O=""}=e,{translationurl:F=""}=e,{favorites:P="false"}=e,{mostplayed:w="false"}=e,{lastplayed:M="false"}=e,{casinomygames:A="false"}=e,{lastplayedperiod:B="Last30Days"}=e,{mostplayedperiod:j="Last30Days"}=e,{lastplayedorder:q=""}=e,{lastplayedlimit:D=""}=e,{lastplayedunique:S="true"}=e,{mostplayedrounds:T=""}=e,W=window.navigator.userAgent,v,C="",N=!1,p=["","",""],G="0";ae({withLocale:"en",translations:{}});const X=()=>{fetch(F).then(h=>h.json()).then(h=>{Object.keys(h).forEach(k=>{z(k,h[k])})}).catch(h=>{console.log(h)})};Object.keys(R).forEach(n=>{z(n,R[n])});const L=n=>{C!==n&&s(25,C=n)},H=()=>{s(25,C=P==="true"?"Favorites":w==="true"?"MostPlayed":M==="true"?"LastPlayed":""),s(27,p[0]=P==="true"?"Favorites":"",p),s(27,p[1]=w==="true"?"MostPlayed":"",p),s(27,p[2]=M==="true"?"LastPlayed":"",p),le(m)},Y=()=>{let n=document.createElement("style");n.innerHTML=g,v.appendChild(n)},x=()=>{let n=document.createElement("style");fetch(new URL(_)).then(h=>h.text()).then(h=>{n.innerHTML=h,setTimeout(()=>{v.appendChild(n)},1)})},U=n=>{var h,k;if(n.data)switch(n.data.type){case"UpdateFavoritesCount":n.data.favoriteGames?s(28,G=(h=n.data.favoriteGames)==null?void 0:h.length):s(28,G=(k=n.data.listOfFavoritesGames)==null?void 0:k.length);break}};t.onMount(()=>(window.addEventListener("message",U,!1),s(26,N=t.isMobile(W)),()=>{window.removeEventListener("message",U)}));const $=()=>L("Favorites"),ee=()=>L("MostPlayed"),te=()=>L("LastPlayed");function se(n){t.binding_callbacks[n?"unshift":"push"](()=>{v=n,s(24,v)})}return a.$$set=n=>{"userid"in n&&s(0,d=n.userid),"session"in n&&s(1,i=n.session),"endpoint"in n&&s(2,r=n.endpoint),"datasource"in n&&s(3,o=n.datasource),"lang"in n&&s(4,m=n.lang),"currency"in n&&s(5,y=n.currency),"clientstyling"in n&&s(6,g=n.clientstyling),"clientstylingurl"in n&&s(7,_=n.clientstylingurl),"livecasino"in n&&s(8,u=n.livecasino),"visiblegames"in n&&s(9,f=n.visiblegames),"gamepagemodalurl"in n&&s(10,c=n.gamepagemodalurl),"showgamename"in n&&s(11,b=n.showgamename),"integratedgameframedesktop"in n&&s(12,E=n.integratedgameframedesktop),"integratedgameframemobile"in n&&s(13,O=n.integratedgameframemobile),"translationurl"in n&&s(31,F=n.translationurl),"favorites"in n&&s(14,P=n.favorites),"mostplayed"in n&&s(15,w=n.mostplayed),"lastplayed"in n&&s(16,M=n.lastplayed),"casinomygames"in n&&s(17,A=n.casinomygames),"lastplayedperiod"in n&&s(18,B=n.lastplayedperiod),"mostplayedperiod"in n&&s(19,j=n.mostplayedperiod),"lastplayedorder"in n&&s(20,q=n.lastplayedorder),"lastplayedlimit"in n&&s(21,D=n.lastplayedlimit),"lastplayedunique"in n&&s(22,S=n.lastplayedunique),"mostplayedrounds"in n&&s(23,T=n.mostplayedrounds)},a.$$.update=()=>{a.$$.dirty[0]&28&&r&&o&&m&&H(),a.$$.dirty[0]&114688&&P&&w&&M&&H(),a.$$.dirty[1]&1&&F&&X(),a.$$.dirty[0]&16777280&&g&&v&&Y(),a.$$.dirty[0]&16777344&&_&&v&&x()},[d,i,r,o,m,y,g,_,u,f,c,b,E,O,P,w,M,A,B,j,q,D,S,T,v,C,N,p,G,l,L,F,$,ee,te,se]}class Q extends t.SvelteComponent{constructor(e){super(),t.init(this,e,ue,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:31,favorites:14,mostplayed:15,lastplayed:16,casinomygames:17,lastplayedperiod:18,mostplayedperiod:19,lastplayedorder:20,lastplayedlimit:21,lastplayedunique:22,mostplayedrounds:23},ne,[-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[31]}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()}}t.create_custom_element(Q,{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:{}},[],[],!0);exports.default=Q;
|