@everymatrix/casino-lobby 1.50.1 → 1.51.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.
Files changed (54) hide show
  1. package/components/CasinoCategoriesSlider-C6tCM7PI.cjs +1 -0
  2. package/components/{CasinoCategoriesSlider-BnLGhDj2.js → CasinoCategoriesSlider-DZ3Xi2sD.js} +44 -40
  3. package/components/CasinoCollectionsProviders-BrLC6Grn.cjs +1 -0
  4. package/components/{CasinoCollectionsProviders-O5eYWKqu.js → CasinoCollectionsProviders-CNZ2cCAe.js} +5 -0
  5. package/components/{CasinoFavoritesSection-CumUm71T.js → CasinoFavoritesSection-B9gBh0NZ.js} +1 -1
  6. package/components/{CasinoFavoritesSection-CSDBLW4w.cjs → CasinoFavoritesSection-ChFh3su6.cjs} +1 -1
  7. package/components/CasinoFilter-BRH4KgQb.cjs +1 -0
  8. package/components/{CasinoFilter-Ba4pyyzC.js → CasinoFilter-D4w5681f.js} +6 -0
  9. package/components/{CasinoGamePage-D-0bV9s0.js → CasinoGamePage-CDh-e6Wj.js} +102 -93
  10. package/components/{CasinoGamePage-CAEcKO2C.cjs → CasinoGamePage-D-wyPyQN.cjs} +1 -1
  11. package/components/CasinoGameThumbnail-Cy1VrIc2.cjs +38 -0
  12. package/components/{CasinoGameThumbnail-Br4gzW2I.js → CasinoGameThumbnail-E3DsUeGg.js} +89 -81
  13. package/components/CasinoGamesCategorySection-B4Qu6J6Z.cjs +1 -0
  14. package/components/{CasinoGamesCategorySection-IDIjeUsC.js → CasinoGamesCategorySection-BMrvvE60.js} +93 -80
  15. package/components/CasinoJackpotBanner-BlShS5Vc.cjs +1 -0
  16. package/components/{CasinoJackpotBanner-D-0bynYa.js → CasinoJackpotBanner-DPuhYIS9.js} +30 -27
  17. package/components/CasinoLastPlayedSection-DffnfNRE.cjs +1 -0
  18. package/components/{CasinoLastPlayedSection-BHZA2U-l.js → CasinoLastPlayedSection-dSLftjtV.js} +43 -40
  19. package/components/{CasinoLobby-DQGjTjXn.cjs → CasinoLobby-CvUPzodV.cjs} +1 -1
  20. package/components/{CasinoLobby-BSBqQiwz.js → CasinoLobby-DqaaWA3b.js} +3 -3
  21. package/components/{CasinoMostPlayedSection-B4cUve-8.js → CasinoMostPlayedSection-CVtfFNhO.js} +35 -32
  22. package/components/CasinoMostPlayedSection-DZGaHB3O.cjs +1 -0
  23. package/components/{CasinoMyGames-DG40cnqo.js → CasinoMyGames-BnnaietT.js} +40 -35
  24. package/components/CasinoMyGames-CfS6qq0G.cjs +1 -0
  25. package/components/{CasinoPage-DZofqKdq.js → CasinoPage-CSCTMi60.js} +600 -588
  26. package/components/CasinoPage-R2WJDwPP.cjs +1 -0
  27. package/components/CasinoRandomGame-BpdxwlFB.cjs +2 -0
  28. package/components/{CasinoRandomGame-ClDKDIUi.js → CasinoRandomGame-Cw331FLx.js} +75 -69
  29. package/components/CasinoSearch-Dd4amKB_.cjs +1 -0
  30. package/components/{CasinoSearch-nhPFLDr6.js → CasinoSearch-Y5NcDcXt.js} +60 -50
  31. package/components/CasinoSlider-GXmtset2.cjs +1 -0
  32. package/components/{CasinoSlider-DDJYl0_C.js → CasinoSlider-b2MX1hWZ.js} +164 -159
  33. package/components/CasinoSort-Bb3WIr_q.cjs +1 -0
  34. package/components/{CasinoSort-COqebE70.js → CasinoSort-ContI1pC.js} +24 -17
  35. package/components/CasinoWinners-Ckyk_WaU.cjs +1 -0
  36. package/components/{CasinoWinners-B-NBTMbI.js → CasinoWinners-DggB-TUh.js} +48 -43
  37. package/es2015/casino-lobby.cjs +1 -1
  38. package/es2015/casino-lobby.js +1 -1
  39. package/package.json +1 -1
  40. package/components/CasinoCategoriesSlider-MGSqtuSH.cjs +0 -1
  41. package/components/CasinoCollectionsProviders-7MJNy6vH.cjs +0 -1
  42. package/components/CasinoFilter-DPFQTDnp.cjs +0 -1
  43. package/components/CasinoGameThumbnail-q80EbGZc.cjs +0 -38
  44. package/components/CasinoGamesCategorySection-ChO8lRW6.cjs +0 -1
  45. package/components/CasinoJackpotBanner-DBLcL6wU.cjs +0 -1
  46. package/components/CasinoLastPlayedSection-Dn26Po-i.cjs +0 -1
  47. package/components/CasinoMostPlayedSection-DWj3eB25.cjs +0 -1
  48. package/components/CasinoMyGames-JPu4ITbh.cjs +0 -1
  49. package/components/CasinoPage-CUgnyFdX.cjs +0 -1
  50. package/components/CasinoRandomGame-BopxEXk6.cjs +0 -2
  51. package/components/CasinoSearch-BHqi_Ojn.cjs +0 -1
  52. package/components/CasinoSlider-DzlnKD97.cjs +0 -1
  53. package/components/CasinoSort-DqAXg8IN.cjs +0 -1
  54. package/components/CasinoWinners-GJyWRA8u.cjs +0 -1
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-aMUXtMPt.cjs");require("./CasinoFavoritesSection-ChFh3su6.cjs");require("../stencil/casino-play-random-game-CQe5iDJ8.cjs");function qt({withLocale:a,translations:t}){e.$locale.subscribe(s=>{s==null&&(e.$dictionary.set(t),e.$locale.set(a))})}function lt(a,t){e.addMessages(a,t)}function Rt(a){e.$locale.set(a)}const rt={en:{500:"500 Error - Internal Server Error",search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",searchGames:"Search casino games",noGamesPlayed:"You have no games played!",filters:"Filters",clear:"Clear"},"zh-hk":{500:"500 錯誤 - 內部服務器錯誤",search:"搜索",loading:"正在加載",searchMobile:"搜索",break:"休息 1 天",breakButton:"24 小時冷卻",searchGames:"搜索賭場遊戲",noGamesPlayed:"你沒有玩過遊戲!",filters:"過濾器",clear:"清除"},de:{500:"500-Fehler – Interner Serverfehler",search:"Suche",loading:"Loading",searchMobile:"Suche",break:"Mach mal einen Tag Pause!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken",searchGames:"Casinospiele suchen",noGamesPlayed:"Sie haben keine Spiele gespielt!",filters:"Filter",clear:"Zurücksetzen"},it:{500:"Errore 500 - Errore interno del server",search:"Cerca",loading:"Loading",searchMobile:"Cerca",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cerca giochi da casinò",noGamesPlayed:"Non hai giochi giocati!",filters:"Filtri",clear:"Azzera"},fr:{500:"Erreur - erreur de serveur interne",search:"Recherche",loading:"Chargement",searchMobile:"Recherche",break:"Faire une pause d'un jour dans le jeu",breakButton:"Refroidissement de 24 heures",searchGames:"Recherche de jeux de casino",noGamesPlayed:"Vous n'avez aucune partie jouée",filters:"Filtres",clear:"Clair"},es:{500:"500 Error - Error Servidor Interno",search:"Buscar ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Tomar 1 día de descanso de juego",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas",searchGames:"Buscar juegos de casino",noGamesPlayed:"No has jugado ningún juego! Juega Ya",filters:"Filtros",clear:"Borrar"},tr:{500:"500 Hatası - Dahili Sunucu Hatası",search:"Arama",loading:"Yükleniyor",searchMobile:"Arama",break:"Oyuna 1 gün ara verin",breakButton:"24 saatlik kilit için düğmeyi 3 saniye basılı tutun",searchGames:"Casino oyunları ara",noGamesPlayed:"Oynadığın oyun yok!",filters:"Filtreler",clear:"Temizle"},ru:{500:"Ошибка 500 — внутренняя ошибка сервера",search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Поиск игр казино",noGamesPlayed:"У вас нет сыгранных игр!",filters:"Фильтры",clear:"Прозрачный"},ro:{500:"500 Error - Internal Server Error",search:"Cautare jocuri...",loading:"Se incarca ...",searchMobile:"Cauta",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cauta jocuri de casino",noGamesPlayed:"Nu ai jucat niciun joc!",filters:"Filtrare",clear:"Sterge"},hr:{500:"500 Error - Internal Server Error",search:"Pretraga",loading:"Učitavanje",searchMobile:"Pretraga",break:"Uzmi 1 dan pauze od igranja",breakButton:"Držite gumb 3 sekunde za trenutno zaključavanje na 24 sata",searchGames:"Pretražite casino igre",noGamesPlayed:"Nemate odigranih igara!",filters:"Filteri",clear:"Čisto"},hu:{500:"500 Error - Internal Server Error",search:"Keresés",loading:"betöltés",searchMobile:"Keresés",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Kaszinó játékok keresése",noGamesPlayed:"Nincsenek lejátszott játékok!",filters:"Szűrők",clear:"Visszaállítás"},pl:{500:"500 Error - Internal Server Error",search:"Szukaj",loading:"Ładowanie",searchMobile:"Szukaj",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Wyszukaj gry kasynowe",noGamesPlayed:"Nie grałeś w żadne gry!",filters:"Filtry",clear:"Przywróć"},pt:{500:"Erro 500 - Erro interno do servidor",search:"Procurar ...",loading:"Carregando ...",searchMobile:"Procurar",break:"Faça uma pausa de 1 dia no jogo",breakButton:"Faça uma pausa de 24 horas no jogo",searchGames:"Pesquisar jogos de cassino",noGamesPlayed:"Você não experimentou nenhum jogo!",filters:"Filtros",clear:"Limpar"},sl:{500:"500 Error - Internal Server Error",search:"Iskanje",loading:"Loading",searchMobile:"Iskanje",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",noGamesPlayed:"You have no games played!",filters:"Filters",clear:"Ponastavitev"},sr:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Loading",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",noGamesPlayed:"You have no games played!",filters:"Filters",clear:"Resetuj"},"pt-br":{500:"Erro 500 – Erro interno do servidor",search:"Procurar",loading:"Carregando",searchMobile:"Procurar",break:"Faça uma pausa a de jogo por um día",breakButton:"Pressione o botão por 3 segundos para um bloqueio instantâneo de 24 horas",searchGames:"Pesquise jogos de cassino",noGamesPlayed:"Você ainda não jogou!",Search:"Procurar",Loading:"Carregando",SearchMobile:"Procurar",SearchGames:"Pesquise jogos de cassino",filters:"Filtros",clear:"Eliminar"},"es-mx":{500:"500 Error - Error interno del servidor",search:"Buscar",loading:"Cargando",searchMobile:"Buscar",break:"Tomar un descanso de un día de juego",breakButton:"Presiona el botón por 3 segundos para un bloqueo instantáneo de 24 horas",searchGames:"Buscar juegos de casino",noGamesPlayed:"No has jugado aún!",Search:"Buscar",Loading:"Cargando",SearchMobile:"Buscar",SearchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Eliminar"},"en-us":{500:"500 Error - Internal Server Error",search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",searchGames:"Search casino games",noGamesPlayed:"You have no games played!",filters:"Filters",clear:"Clear"}};if(typeof window!="undefined"){let a=function(t){return function(...s){try{return t.apply(this,s)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoRandomGame-BpdxwlFB.cjs")).then(({default:t})=>{!customElements.get("casino-random-game")&&customElements.define("casino-random-game",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...s){try{return t.apply(this,s)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoWinners-Ckyk_WaU.cjs")).then(({default:t})=>{!customElements.get("casino-winners")&&customElements.define("casino-winners",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...s){try{return t.apply(this,s)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoJackpotBanner-BlShS5Vc.cjs")).then(({default:t})=>{!customElements.get("casino-jackpot-banner")&&customElements.define("casino-jackpot-banner",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...s){try{return t.apply(this,s)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoCollectionsProviders-BrLC6Grn.cjs")).then(({default:t})=>{!customElements.get("casino-collections-providers")&&customElements.define("casino-collections-providers",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...s){try{return t.apply(this,s)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoMyGames-CfS6qq0G.cjs")).then(({default:t})=>{!customElements.get("casino-my-games")&&customElements.define("casino-my-games",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...s){try{return t.apply(this,s)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoSearch-Dd4amKB_.cjs")).then(({default:t})=>{!customElements.get("casino-search")&&customElements.define("casino-search",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...s){try{return t.apply(this,s)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoCalendar-aMUXtMPt.cjs")).then(t=>t.CasinoCalendar_ce).then(({default:t})=>{!customElements.get("casino-calendar")&&customElements.define("casino-calendar",t.element)})}function zt(a){e.append_styles(a,"svelte-9rd7rv","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto;max-width:1300px;position:relative}.CasinoWinners{background:transparent;width:100%;min-height:200px}.PanicSectionMobile{flex-direction:column;margin:20px 0}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:20px}.PanicButton{border-radius:5px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:280px;height:48px;line-height:18px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:280px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));-webkit-animation:bar-animation 2s linear}.PanicButtonMobile{width:280px;padding:0 5px;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}[type=search]{appearance:none}.CategoryContainer,.JackpotsContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer,.JackpotsContainer{padding:0 2.4%}}.SearchLoading{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));font-size:14px;margin-top:16px;text-align:center}")}function mt(a,t,s){const n=a.slice();return n[127]=t[s],n[129]=s,n}const Nt=a=>({}),ct=a=>({class:e.isMobile(a[86])?"":"JackpotsContainer"});function At(a){let t,s,n,l,r,o,d,c,h,m=a[21]=="true"&&Q==!1&&!a[83]&&ut(a),p=a[22]=="true"&&Q==!1&&!a[83]&&_t(a);const S=[Ht,Yt],g=[];function L(_,b){return _[77]?0:_[83]?-1:1}~(o=L(a))&&(d=g[o]=S[o](a));let w=a[79]&&a[16]=="true"&&bt(a);return{c(){t=e.element("section"),s=e.element("casino-search"),n=e.space(),m&&m.c(),l=e.space(),p&&p.c(),r=e.space(),d&&d.c(),c=e.space(),w&&w.c(),e.set_custom_element_data(s,"endpoint",a[1]),e.set_custom_element_data(s,"datasource",a[3]),e.set_custom_element_data(s,"showgamename",a[19]),e.set_custom_element_data(s,"lang",a[5]),e.set_custom_element_data(s,"clientstyling",a[8]),e.set_custom_element_data(s,"clientstylingurl",a[10]),e.set_custom_element_data(s,"integratedgameframedesktop",a[31]),e.set_custom_element_data(s,"integratedgameframemobile",a[32]),e.set_custom_element_data(s,"translationurl",a[11]),e.set_custom_element_data(s,"showfavorites",a[15]),e.attr(t,"class","CategoriesLobby")},m(_,b){e.insert(_,t,b),e.append(t,s),e.append(t,n),m&&m.m(t,null),e.append(t,l),p&&p.m(t,null),e.append(t,r),~o&&g[o].m(t,null),e.append(t,c),w&&w.m(t,null),h=!0},p(_,b){(!h||b[0]&2)&&e.set_custom_element_data(s,"endpoint",_[1]),(!h||b[0]&8)&&e.set_custom_element_data(s,"datasource",_[3]),(!h||b[0]&524288)&&e.set_custom_element_data(s,"showgamename",_[19]),(!h||b[0]&32)&&e.set_custom_element_data(s,"lang",_[5]),(!h||b[0]&256)&&e.set_custom_element_data(s,"clientstyling",_[8]),(!h||b[0]&1024)&&e.set_custom_element_data(s,"clientstylingurl",_[10]),(!h||b[1]&1)&&e.set_custom_element_data(s,"integratedgameframedesktop",_[31]),(!h||b[1]&2)&&e.set_custom_element_data(s,"integratedgameframemobile",_[32]),(!h||b[0]&2048)&&e.set_custom_element_data(s,"translationurl",_[11]),(!h||b[0]&32768)&&e.set_custom_element_data(s,"showfavorites",_[15]),_[21]=="true"&&Q==!1&&!_[83]?m?m.p(_,b):(m=ut(_),m.c(),m.m(t,l)):m&&(m.d(1),m=null),_[22]=="true"&&Q==!1&&!_[83]?p?p.p(_,b):(p=_t(_),p.c(),p.m(t,r)):p&&(p.d(1),p=null);let k=o;o=L(_),o===k?~o&&g[o].p(_,b):(d&&(e.group_outros(),e.transition_out(g[k],1,1,()=>{g[k]=null}),e.check_outros()),~o?(d=g[o],d?d.p(_,b):(d=g[o]=S[o](_),d.c()),e.transition_in(d,1),d.m(t,c)):d=null),_[79]&&_[16]=="true"?w?w.p(_,b):(w=bt(_),w.c(),w.m(t,null)):w&&(w.d(1),w=null)},i(_){h||(e.transition_in(d),h=!0)},o(_){e.transition_out(d),h=!1},d(_){_&&e.detach(t),m&&m.d(),p&&p.d(),~o&&g[o].d(),w&&w.d()}}}function Ut(a){let t,s=a[85]("500")+"",n;return{c(){t=e.element("p"),n=e.text(s),e.attr(t,"class","SearchLoading")},m(l,r){e.insert(l,t,r),e.append(t,n)},p(l,r){r[2]&8388608&&s!==(s=l[85]("500")+"")&&e.set_data(n,s)},i:e.noop,o:e.noop,d(l){l&&e.detach(t)}}}function ut(a){let t;return{c(){t=e.element("casino-random-game"),e.set_custom_element_data(t,"datasource",a[3]),e.set_custom_element_data(t,"filteredrandomgamecategories",a[23]),e.set_custom_element_data(t,"endpoint",a[1]),e.set_custom_element_data(t,"lang",a[5]),e.set_custom_element_data(t,"gameevent",a[76]),e.set_custom_element_data(t,"randombuttonicon",a[72]),e.set_custom_element_data(t,"clientstyling",a[8]),e.set_custom_element_data(t,"clientstylingurl",a[10])},m(s,n){e.insert(s,t,n)},p(s,n){n[0]&8&&e.set_custom_element_data(t,"datasource",s[3]),n[0]&8388608&&e.set_custom_element_data(t,"filteredrandomgamecategories",s[23]),n[0]&2&&e.set_custom_element_data(t,"endpoint",s[1]),n[0]&32&&e.set_custom_element_data(t,"lang",s[5]),n[2]&16384&&e.set_custom_element_data(t,"gameevent",s[76]),n[2]&1024&&e.set_custom_element_data(t,"randombuttonicon",s[72]),n[0]&256&&e.set_custom_element_data(t,"clientstyling",s[8]),n[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",s[10])},d(s){s&&e.detach(t)}}}function _t(a){let t;return{c(){t=e.element("casino-play-random-game"),e.set_custom_element_data(t,"datasource",a[3]),e.set_custom_element_data(t,"endpoint",a[1]),e.set_custom_element_data(t,"language",a[5]),e.set_custom_element_data(t,"specific-category",a[68]),e.set_custom_element_data(t,"icon-visible",a[70]),e.set_custom_element_data(t,"icon-visible-on-anim",a[71]),e.set_custom_element_data(t,"launch-by-game-card",a[69]),e.set_custom_element_data(t,"client-styling",a[8]),e.set_custom_element_data(t,"client-styling-url",a[10]),e.set_custom_element_data(t,"translation-url",a[11])},m(s,n){e.insert(s,t,n)},p(s,n){n[0]&8&&e.set_custom_element_data(t,"datasource",s[3]),n[0]&2&&e.set_custom_element_data(t,"endpoint",s[1]),n[0]&32&&e.set_custom_element_data(t,"language",s[5]),n[2]&64&&e.set_custom_element_data(t,"specific-category",s[68]),n[2]&256&&e.set_custom_element_data(t,"icon-visible",s[70]),n[2]&512&&e.set_custom_element_data(t,"icon-visible-on-anim",s[71]),n[2]&128&&e.set_custom_element_data(t,"launch-by-game-card",s[69]),n[0]&256&&e.set_custom_element_data(t,"client-styling",s[8]),n[0]&1024&&e.set_custom_element_data(t,"client-styling-url",s[10]),n[0]&2048&&e.set_custom_element_data(t,"translation-url",s[11])},d(s){s&&e.detach(t)}}}function Yt(a){let t,s,n,l;const r=[Jt,Wt,Vt],o=[];function d(c,h){return c[82]?0:c[81]?1:2}return t=d(a),s=o[t]=r[t](a),{c(){s.c(),n=e.empty()},m(c,h){o[t].m(c,h),e.insert(c,n,h),l=!0},p(c,h){let m=t;t=d(c),t===m?o[t].p(c,h):(e.group_outros(),e.transition_out(o[m],1,1,()=>{o[m]=null}),e.check_outros(),s=o[t],s?s.p(c,h):(s=o[t]=r[t](c),s.c()),e.transition_in(s,1),s.m(n.parentNode,n))},i(c){l||(e.transition_in(s),l=!0)},o(c){e.transition_out(s),l=!1},d(c){c&&e.detach(n),o[t].d(c)}}}function Ht(a){let t,s=a[85]("loading")+"",n;return{c(){t=e.element("p"),n=e.text(s),e.attr(t,"class","SearchLoading")},m(l,r){e.insert(l,t,r),e.append(t,n)},p(l,r){r[2]&8388608&&s!==(s=l[85]("loading")+"")&&e.set_data(n,s)},i:e.noop,o:e.noop,d(l){l&&e.detach(t)}}}function Vt(a){let t;return{c(){t=e.element("casino-games-category-section"),e.set_custom_element_data(t,"userid",a[7]),e.set_custom_element_data(t,"endpoint",a[1]),e.set_custom_element_data(t,"datasource",a[3]),e.set_custom_element_data(t,"favorites",a[15]),e.set_custom_element_data(t,"lang",a[5]),e.set_custom_element_data(t,"currency",a[4]),e.set_custom_element_data(t,"session",a[6]),e.set_custom_element_data(t,"categoryid",a[74]),e.set_custom_element_data(t,"categorygames","9"),e.set_custom_element_data(t,"fetchviaevent",a[66]),e.set_custom_element_data(t,"class","CategoryContainer"),e.set_custom_element_data(t,"showgamename",a[19]),e.set_custom_element_data(t,"translationurl",a[11]),e.set_custom_element_data(t,"clientstyling",a[8]),e.set_custom_element_data(t,"clientstylingurl",a[10]),e.set_custom_element_data(t,"livecasino",a[20]),e.set_custom_element_data(t,"visiblegames",a[14]),e.set_custom_element_data(t,"gamepagemodalurl",a[24]),e.set_custom_element_data(t,"integratedgameframedesktop",a[31]),e.set_custom_element_data(t,"integratedgameframemobile",a[32]),e.set_custom_element_data(t,"casinomygames",a[0]),e.set_custom_element_data(t,"filterbylogo",a[55]),e.set_custom_element_data(t,"addfilterselector",a[53]),e.set_custom_element_data(t,"addsortingselector",a[54]),e.set_custom_element_data(t,"casinogamesgridslider",a[25])},m(s,n){e.insert(s,t,n)},p(s,n){n[0]&128&&e.set_custom_element_data(t,"userid",s[7]),n[0]&2&&e.set_custom_element_data(t,"endpoint",s[1]),n[0]&8&&e.set_custom_element_data(t,"datasource",s[3]),n[0]&32768&&e.set_custom_element_data(t,"favorites",s[15]),n[0]&32&&e.set_custom_element_data(t,"lang",s[5]),n[0]&16&&e.set_custom_element_data(t,"currency",s[4]),n[0]&64&&e.set_custom_element_data(t,"session",s[6]),n[2]&4096&&e.set_custom_element_data(t,"categoryid",s[74]),n[2]&16&&e.set_custom_element_data(t,"fetchviaevent",s[66]),n[0]&524288&&e.set_custom_element_data(t,"showgamename",s[19]),n[0]&2048&&e.set_custom_element_data(t,"translationurl",s[11]),n[0]&256&&e.set_custom_element_data(t,"clientstyling",s[8]),n[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",s[10]),n[0]&1048576&&e.set_custom_element_data(t,"livecasino",s[20]),n[0]&16384&&e.set_custom_element_data(t,"visiblegames",s[14]),n[0]&16777216&&e.set_custom_element_data(t,"gamepagemodalurl",s[24]),n[1]&1&&e.set_custom_element_data(t,"integratedgameframedesktop",s[31]),n[1]&2&&e.set_custom_element_data(t,"integratedgameframemobile",s[32]),n[0]&1&&e.set_custom_element_data(t,"casinomygames",s[0]),n[1]&16777216&&e.set_custom_element_data(t,"filterbylogo",s[55]),n[1]&4194304&&e.set_custom_element_data(t,"addfilterselector",s[53]),n[1]&8388608&&e.set_custom_element_data(t,"addsortingselector",s[54]),n[0]&33554432&&e.set_custom_element_data(t,"casinogamesgridslider",s[25])},i:e.noop,o:e.noop,d(s){s&&e.detach(t)}}}function Wt(a){let t;return{c(){t=e.element("casino-my-games"),e.set_custom_element_data(t,"userid",a[7]),e.set_custom_element_data(t,"session",a[6]),e.set_custom_element_data(t,"endpoint",a[1]),e.set_custom_element_data(t,"datasource",a[3]),e.set_custom_element_data(t,"lang",a[5]),e.set_custom_element_data(t,"currency",a[4]),e.set_custom_element_data(t,"favorites",a[15]),e.set_custom_element_data(t,"clientstyling",a[8]),e.set_custom_element_data(t,"clientstylingurl",a[10]),e.set_custom_element_data(t,"livecasino",a[20]),e.set_custom_element_data(t,"visiblegames",a[14]),e.set_custom_element_data(t,"gamepagemodalurl",a[24]),e.set_custom_element_data(t,"showgamename",a[19]),e.set_custom_element_data(t,"integratedgameframedesktop",a[31]),e.set_custom_element_data(t,"integratedgameframemobile",a[32]),e.set_custom_element_data(t,"translationurl",a[11]),e.set_custom_element_data(t,"mostplayed",a[57]),e.set_custom_element_data(t,"lastplayed",a[58]),e.set_custom_element_data(t,"filteredcategories",a[17]),e.set_custom_element_data(t,"activecategory",a[18]),e.set_custom_element_data(t,"lastplayedunique",a[63]),e.set_custom_element_data(t,"categoryindex","0"),e.set_custom_element_data(t,"categoryid","MYGAMES"),e.set_custom_element_data(t,"casinomygames",a[0]),e.set_custom_element_data(t,"lastplayedperiod",a[59]),e.set_custom_element_data(t,"mostplayedperiod",a[60]),e.set_custom_element_data(t,"lastplayedorder",a[61]),e.set_custom_element_data(t,"lastplayedlimit",a[62]),e.set_custom_element_data(t,"mostplayedrounds",a[64])},m(s,n){e.insert(s,t,n)},p(s,n){n[0]&128&&e.set_custom_element_data(t,"userid",s[7]),n[0]&64&&e.set_custom_element_data(t,"session",s[6]),n[0]&2&&e.set_custom_element_data(t,"endpoint",s[1]),n[0]&8&&e.set_custom_element_data(t,"datasource",s[3]),n[0]&32&&e.set_custom_element_data(t,"lang",s[5]),n[0]&16&&e.set_custom_element_data(t,"currency",s[4]),n[0]&32768&&e.set_custom_element_data(t,"favorites",s[15]),n[0]&256&&e.set_custom_element_data(t,"clientstyling",s[8]),n[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",s[10]),n[0]&1048576&&e.set_custom_element_data(t,"livecasino",s[20]),n[0]&16384&&e.set_custom_element_data(t,"visiblegames",s[14]),n[0]&16777216&&e.set_custom_element_data(t,"gamepagemodalurl",s[24]),n[0]&524288&&e.set_custom_element_data(t,"showgamename",s[19]),n[1]&1&&e.set_custom_element_data(t,"integratedgameframedesktop",s[31]),n[1]&2&&e.set_custom_element_data(t,"integratedgameframemobile",s[32]),n[0]&2048&&e.set_custom_element_data(t,"translationurl",s[11]),n[1]&67108864&&e.set_custom_element_data(t,"mostplayed",s[57]),n[1]&134217728&&e.set_custom_element_data(t,"lastplayed",s[58]),n[0]&131072&&e.set_custom_element_data(t,"filteredcategories",s[17]),n[0]&262144&&e.set_custom_element_data(t,"activecategory",s[18]),n[2]&2&&e.set_custom_element_data(t,"lastplayedunique",s[63]),n[0]&1&&e.set_custom_element_data(t,"casinomygames",s[0]),n[1]&268435456&&e.set_custom_element_data(t,"lastplayedperiod",s[59]),n[1]&536870912&&e.set_custom_element_data(t,"mostplayedperiod",s[60]),n[1]&1073741824&&e.set_custom_element_data(t,"lastplayedorder",s[61]),n[2]&1&&e.set_custom_element_data(t,"lastplayedlimit",s[62]),n[2]&4&&e.set_custom_element_data(t,"mostplayedrounds",s[64])},i:e.noop,o:e.noop,d(s){s&&e.detach(t)}}}function Jt(a){let t,s,n=e.ensure_array_like(a[84]),l=[];for(let o=0;o<n.length;o+=1)l[o]=ht(mt(a,n,o));const r=o=>e.transition_out(l[o],1,1,()=>{l[o]=null});return{c(){for(let o=0;o<l.length;o+=1)l[o].c();t=e.empty()},m(o,d){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(o,d);e.insert(o,t,d),s=!0},p(o,d){if(d[0]&2132344831|d[1]&67108863|d[2]&289407032){n=e.ensure_array_like(o[84]);let c;for(c=0;c<n.length;c+=1){const h=mt(o,n,c);l[c]?(l[c].p(h,d),e.transition_in(l[c],1)):(l[c]=ht(h),l[c].c(),e.transition_in(l[c],1),l[c].m(t.parentNode,t))}for(e.group_outros(),c=n.length;c<l.length;c+=1)r(c);e.check_outros()}},i(o){if(!s){for(let d=0;d<n.length;d+=1)e.transition_in(l[d]);s=!0}},o(o){l=l.filter(Boolean);for(let d=0;d<l.length;d+=1)e.transition_out(l[d]);s=!1},d(o){o&&e.detach(t),e.destroy_each(l,o)}}}function dt(a){let t,s;return{c(){t=e.element("div"),s=e.element("casino-winners"),e.set_custom_element_data(s,"session",a[6]),e.set_custom_element_data(s,"userid",a[7]),e.set_custom_element_data(s,"periodrecent",a[33]),e.set_custom_element_data(s,"periodtop",a[34]),e.set_custom_element_data(s,"numberusersrecent",a[35]),e.set_custom_element_data(s,"numberuserstop",a[36]),e.set_custom_element_data(s,"amountlimit",a[37]),e.set_custom_element_data(s,"isrecentavailable",a[30]),e.set_custom_element_data(s,"istopavailable",a[29]),e.set_custom_element_data(s,"defaultcurrency",a[38]),e.set_custom_element_data(s,"usercurrency",a[4]),e.set_custom_element_data(s,"enableautoscroll",a[28]),e.set_custom_element_data(s,"tabsorder",a[27]),e.set_custom_element_data(s,"lang",a[5]),e.set_custom_element_data(s,"clientstyling",a[8]),e.set_custom_element_data(s,"clientstylingurl",a[10]),e.set_custom_element_data(s,"endpoint",a[1]),e.set_custom_element_data(s,"winnersdatasources",a[65]),e.attr(t,"class","CasinoWinners")},m(n,l){e.insert(n,t,l),e.append(t,s)},p(n,l){l[0]&64&&e.set_custom_element_data(s,"session",n[6]),l[0]&128&&e.set_custom_element_data(s,"userid",n[7]),l[1]&4&&e.set_custom_element_data(s,"periodrecent",n[33]),l[1]&8&&e.set_custom_element_data(s,"periodtop",n[34]),l[1]&16&&e.set_custom_element_data(s,"numberusersrecent",n[35]),l[1]&32&&e.set_custom_element_data(s,"numberuserstop",n[36]),l[1]&64&&e.set_custom_element_data(s,"amountlimit",n[37]),l[0]&1073741824&&e.set_custom_element_data(s,"isrecentavailable",n[30]),l[0]&536870912&&e.set_custom_element_data(s,"istopavailable",n[29]),l[1]&128&&e.set_custom_element_data(s,"defaultcurrency",n[38]),l[0]&16&&e.set_custom_element_data(s,"usercurrency",n[4]),l[0]&268435456&&e.set_custom_element_data(s,"enableautoscroll",n[28]),l[0]&134217728&&e.set_custom_element_data(s,"tabsorder",n[27]),l[0]&32&&e.set_custom_element_data(s,"lang",n[5]),l[0]&256&&e.set_custom_element_data(s,"clientstyling",n[8]),l[0]&1024&&e.set_custom_element_data(s,"clientstylingurl",n[10]),l[0]&2&&e.set_custom_element_data(s,"endpoint",n[1]),l[2]&8&&e.set_custom_element_data(s,"winnersdatasources",n[65])},d(n){n&&e.detach(t)}}}function ft(a){let t,s,n;return{c(){t=e.element("br"),s=e.space(),n=e.element("casino-calendar"),e.set_custom_element_data(n,"userroles",a[9]),e.set_custom_element_data(n,"cmsendpoint",a[12]),e.set_custom_element_data(n,"env",a[2]),e.set_custom_element_data(n,"lang",a[5]),e.set_custom_element_data(n,"clientstyling",a[8]),e.set_custom_element_data(n,"clientstylingurl",a[10])},m(l,r){e.insert(l,t,r),e.insert(l,s,r),e.insert(l,n,r)},p(l,r){r[0]&512&&e.set_custom_element_data(n,"userroles",l[9]),r[0]&4096&&e.set_custom_element_data(n,"cmsendpoint",l[12]),r[0]&4&&e.set_custom_element_data(n,"env",l[2]),r[0]&32&&e.set_custom_element_data(n,"lang",l[5]),r[0]&256&&e.set_custom_element_data(n,"clientstyling",l[8]),r[0]&1024&&e.set_custom_element_data(n,"clientstylingurl",l[10])},d(l){l&&(e.detach(t),e.detach(s),e.detach(n))}}}function gt(a){let t,s,n;const l=a[91]["je-jackpots-widget"],r=e.create_slot(l,a,a[90],ct);return{c(){t=e.element("br"),s=e.space(),r&&r.c()},m(o,d){e.insert(o,t,d),e.insert(o,s,d),r&&r.m(o,d),n=!0},p(o,d){r&&r.p&&(!n||d[2]&268435456)&&e.update_slot_base(r,l,o,o[90],n?e.get_slot_changes(l,o[90],d,Nt):e.get_all_dirty_from_scope(o[90]),ct)},i(o){n||(e.transition_in(r,o),n=!0)},o(o){e.transition_out(r,o),n=!1},d(o){o&&(e.detach(t),e.detach(s)),r&&r.d(o)}}}function Kt(a){let t,s,n,l;return{c(){t=e.element("br"),s=e.space(),n=e.element("casino-jackpot-banner"),e.set_custom_element_data(n,"title","Jackpot Cards"),e.set_custom_element_data(n,"currency",l=a[4]||"RON"),e.set_custom_element_data(n,"gameid","999"),e.set_custom_element_data(n,"endpoint",a[1]),e.set_custom_element_data(n,"lang",a[5]),e.set_custom_element_data(n,"backgroundsrc","/assets/background0.jpg"),e.set_custom_element_data(n,"backgroundsrcmobile","/assets/background0.jpg"),e.set_custom_element_data(n,"titlelogopath","/assets/jackpots_logo.svg"),e.set_custom_element_data(n,"caticon0","/assets/icon3.svg"),e.set_custom_element_data(n,"caticon1","/assets/icon2.svg"),e.set_custom_element_data(n,"caticon2","/assets/icon1.svg"),e.set_custom_element_data(n,"caticon3","/assets/icon0.svg"),e.set_custom_element_data(n,"visualstructure","typeSpread"),e.set_custom_element_data(n,"clientstyling",a[8]),e.set_custom_element_data(n,"clientstylingurl",a[10])},m(r,o){e.insert(r,t,o),e.insert(r,s,o),e.insert(r,n,o)},p(r,o){o[0]&16&&l!==(l=r[4]||"RON")&&e.set_custom_element_data(n,"currency",l),o[0]&2&&e.set_custom_element_data(n,"endpoint",r[1]),o[0]&32&&e.set_custom_element_data(n,"lang",r[5]),o[0]&256&&e.set_custom_element_data(n,"clientstyling",r[8]),o[0]&1024&&e.set_custom_element_data(n,"clientstylingurl",r[10])},d(r){r&&(e.detach(t),e.detach(s),e.detach(n))}}}function Qt(a){let t,s,n,l;return{c(){t=e.element("br"),s=e.space(),n=e.element("casino-jackpot-banner"),e.set_custom_element_data(n,"title","Egypt Quest"),e.set_custom_element_data(n,"currency",l=a[4]||"RON"),e.set_custom_element_data(n,"gameid","998"),e.set_custom_element_data(n,"endpoint",a[1]),e.set_custom_element_data(n,"lang",a[5]),e.set_custom_element_data(n,"backgroundsrc",a[44]),e.set_custom_element_data(n,"backgroundsrcmobile",a[45]),e.set_custom_element_data(n,"titlelogopath",a[46]),e.set_custom_element_data(n,"caticon0",a[40]),e.set_custom_element_data(n,"caticon1",a[41]),e.set_custom_element_data(n,"caticon2",a[42]),e.set_custom_element_data(n,"caticon3",a[43]),e.set_custom_element_data(n,"iconlabels",a[47]),e.set_custom_element_data(n,"visualstructure",a[48]),e.set_custom_element_data(n,"clientstyling",a[8]),e.set_custom_element_data(n,"clientstylingurl",a[10])},m(r,o){e.insert(r,t,o),e.insert(r,s,o),e.insert(r,n,o)},p(r,o){o[0]&16&&l!==(l=r[4]||"RON")&&e.set_custom_element_data(n,"currency",l),o[0]&2&&e.set_custom_element_data(n,"endpoint",r[1]),o[0]&32&&e.set_custom_element_data(n,"lang",r[5]),o[1]&8192&&e.set_custom_element_data(n,"backgroundsrc",r[44]),o[1]&16384&&e.set_custom_element_data(n,"backgroundsrcmobile",r[45]),o[1]&32768&&e.set_custom_element_data(n,"titlelogopath",r[46]),o[1]&512&&e.set_custom_element_data(n,"caticon0",r[40]),o[1]&1024&&e.set_custom_element_data(n,"caticon1",r[41]),o[1]&2048&&e.set_custom_element_data(n,"caticon2",r[42]),o[1]&4096&&e.set_custom_element_data(n,"caticon3",r[43]),o[1]&65536&&e.set_custom_element_data(n,"iconlabels",r[47]),o[1]&131072&&e.set_custom_element_data(n,"visualstructure",r[48]),o[0]&256&&e.set_custom_element_data(n,"clientstyling",r[8]),o[0]&1024&&e.set_custom_element_data(n,"clientstylingurl",r[10])},d(r){r&&(e.detach(t),e.detach(s),e.detach(n))}}}function Zt(a){let t;return{c(){t=e.element("casino-collections-providers"),e.set_custom_element_data(t,"endpoint",a[1]),e.set_custom_element_data(t,"datasource",a[3]),e.set_custom_element_data(t,"lang",a[5]),e.set_custom_element_data(t,"type","vendor"),e.set_custom_element_data(t,"titletype","logo"),e.set_custom_element_data(t,"collectionprovidersgamenames",a[52]),e.set_custom_element_data(t,"clientstyling",a[8]),e.set_custom_element_data(t,"clientstylingurl",a[10])},m(s,n){e.insert(s,t,n)},p(s,n){n[0]&2&&e.set_custom_element_data(t,"endpoint",s[1]),n[0]&8&&e.set_custom_element_data(t,"datasource",s[3]),n[0]&32&&e.set_custom_element_data(t,"lang",s[5]),n[1]&2097152&&e.set_custom_element_data(t,"collectionprovidersgamenames",s[52]),n[0]&256&&e.set_custom_element_data(t,"clientstyling",s[8]),n[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",s[10])},d(s){s&&e.detach(t)}}}function Xt(a){let t;return{c(){t=e.element("casino-collections-providers"),e.set_custom_element_data(t,"endpoint",a[1]),e.set_custom_element_data(t,"datasource",a[3]),e.set_custom_element_data(t,"lang",a[5]),e.set_custom_element_data(t,"type",a[50]),e.set_custom_element_data(t,"collectionprovidersgamenames",a[52]),e.set_custom_element_data(t,"titletype",a[51]),e.set_custom_element_data(t,"clientstyling",a[8]),e.set_custom_element_data(t,"clientstylingurl",a[10])},m(s,n){e.insert(s,t,n)},p(s,n){n[0]&2&&e.set_custom_element_data(t,"endpoint",s[1]),n[0]&8&&e.set_custom_element_data(t,"datasource",s[3]),n[0]&32&&e.set_custom_element_data(t,"lang",s[5]),n[1]&524288&&e.set_custom_element_data(t,"type",s[50]),n[1]&2097152&&e.set_custom_element_data(t,"collectionprovidersgamenames",s[52]),n[1]&1048576&&e.set_custom_element_data(t,"titletype",s[51]),n[0]&256&&e.set_custom_element_data(t,"clientstyling",s[8]),n[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",s[10])},d(s){s&&e.detach(t)}}}function ht(a){let t,s,n,l,r,o,d,c,h,m,p,S,g,L,w,_=a[26]&&a[129]==+a[26]&&dt(a),b=a[56]&&a[129]==+a[56]&&ft(a),k=a[67]&&a[129]==+a[67]&&gt(a);function q(f,u){if(u[1]&256|u[2]&4194304&&(l=null),u[1]&256|u[2]&4194304&&(r=null),l==null&&(l=!!(f[39]&&f[129]==(f[39].split(",")[0]==""?f[84].length:+f[39].split(",")[0]))),l)return Qt;if(r==null&&(r=!!(f[39]&&f[129]==(f[39].split(",")[1]==""?f[84].length:+f[39].split(",")[1]))),r)return Kt}let G=q(a,[-1,-1,-1,-1,-1]),E=G&&G(a);function D(f,u){if(u[1]&262144|u[2]&4194304&&(d=null),u[1]&262144|u[2]&4194304&&(c=null),d==null&&(d=!!(f[49]&&f[129]==(f[49].split(",")[0]==""?f[84].length:+f[49].split(",")[0]))),d)return Xt;if(c==null&&(c=!!(f[49]&&f[129]==(f[49].split(",")[1]==""?f[84].length:+f[49].split(",")[1]))),c)return Zt}let M=D(a,[-1,-1,-1,-1,-1]),C=M&&M(a);return{c(){_&&_.c(),t=e.space(),b&&b.c(),s=e.space(),k&&k.c(),n=e.space(),E&&E.c(),o=e.space(),C&&C.c(),h=e.space(),m=e.element("casino-games-category-section"),e.set_custom_element_data(m,"session",a[6]),e.set_custom_element_data(m,"userid",a[7]),e.set_custom_element_data(m,"endpoint",a[1]),e.set_custom_element_data(m,"datasource",a[3]),e.set_custom_element_data(m,"lang",a[5]),e.set_custom_element_data(m,"currency",a[4]),e.set_custom_element_data(m,"categoryid",p=a[127]),e.set_custom_element_data(m,"categoryindex",a[129]),e.set_custom_element_data(m,"categorygames","9"),e.set_custom_element_data(m,"fetchviaevent",a[66]),e.set_custom_element_data(m,"favorites",a[15]),e.set_custom_element_data(m,"showgamename",a[19]),e.set_custom_element_data(m,"translationurl",a[11]),e.set_custom_element_data(m,"class","CategoryContainer"),e.set_style(m,"background-color",a[129]%2!==0?a[13]:"transparent"),e.set_custom_element_data(m,"clientstyling",a[8]),e.set_custom_element_data(m,"clientstylingurl",a[10]),e.set_custom_element_data(m,"livecasino",a[20]),e.set_custom_element_data(m,"visiblegames",a[14]),e.set_custom_element_data(m,"gamepagemodalurl",a[24]),e.set_custom_element_data(m,"integratedgameframedesktop",a[31]),e.set_custom_element_data(m,"integratedgameframemobile",a[32]),e.set_custom_element_data(m,"casinomygames",a[0]),e.set_custom_element_data(m,"filterbylogo",a[55]),e.set_custom_element_data(m,"addfilterselector",a[53]),e.set_custom_element_data(m,"addsortingselector",a[54]),e.set_custom_element_data(m,"casinogamesgridslider",a[25])},m(f,u){_&&_.m(f,u),e.insert(f,t,u),b&&b.m(f,u),e.insert(f,s,u),k&&k.m(f,u),e.insert(f,n,u),E&&E.m(f,u),e.insert(f,o,u),C&&C.m(f,u),e.insert(f,h,u),e.insert(f,m,u),g=!0,L||(w=e.action_destroyer(S=a[87].call(null,m,a[127])),L=!0)},p(f,u){a=f,a[26]&&a[129]==+a[26]?_?_.p(a,u):(_=dt(a),_.c(),_.m(t.parentNode,t)):_&&(_.d(1),_=null),a[56]&&a[129]==+a[56]?b?b.p(a,u):(b=ft(a),b.c(),b.m(s.parentNode,s)):b&&(b.d(1),b=null),a[67]&&a[129]==+a[67]?k?(k.p(a,u),u[2]&32&&e.transition_in(k,1)):(k=gt(a),k.c(),e.transition_in(k,1),k.m(n.parentNode,n)):k&&(e.group_outros(),e.transition_out(k,1,1,()=>{k=null}),e.check_outros()),G===(G=q(a,u))&&E?E.p(a,u):(E&&E.d(1),E=G&&G(a),E&&(E.c(),E.m(o.parentNode,o))),M===(M=D(a,u))&&C?C.p(a,u):(C&&C.d(1),C=M&&M(a),C&&(C.c(),C.m(h.parentNode,h))),(!g||u[0]&64)&&e.set_custom_element_data(m,"session",a[6]),(!g||u[0]&128)&&e.set_custom_element_data(m,"userid",a[7]),(!g||u[0]&2)&&e.set_custom_element_data(m,"endpoint",a[1]),(!g||u[0]&8)&&e.set_custom_element_data(m,"datasource",a[3]),(!g||u[0]&32)&&e.set_custom_element_data(m,"lang",a[5]),(!g||u[0]&16)&&e.set_custom_element_data(m,"currency",a[4]),(!g||u[2]&4194304&&p!==(p=a[127]))&&e.set_custom_element_data(m,"categoryid",p),(!g||u[2]&16)&&e.set_custom_element_data(m,"fetchviaevent",a[66]),(!g||u[0]&32768)&&e.set_custom_element_data(m,"favorites",a[15]),(!g||u[0]&524288)&&e.set_custom_element_data(m,"showgamename",a[19]),(!g||u[0]&2048)&&e.set_custom_element_data(m,"translationurl",a[11]),(!g||u[0]&8192)&&e.set_style(m,"background-color",a[129]%2!==0?a[13]:"transparent"),(!g||u[0]&256)&&e.set_custom_element_data(m,"clientstyling",a[8]),(!g||u[0]&1024)&&e.set_custom_element_data(m,"clientstylingurl",a[10]),(!g||u[0]&1048576)&&e.set_custom_element_data(m,"livecasino",a[20]),(!g||u[0]&16384)&&e.set_custom_element_data(m,"visiblegames",a[14]),(!g||u[0]&16777216)&&e.set_custom_element_data(m,"gamepagemodalurl",a[24]),(!g||u[1]&1)&&e.set_custom_element_data(m,"integratedgameframedesktop",a[31]),(!g||u[1]&2)&&e.set_custom_element_data(m,"integratedgameframemobile",a[32]),(!g||u[0]&1)&&e.set_custom_element_data(m,"casinomygames",a[0]),(!g||u[1]&16777216)&&e.set_custom_element_data(m,"filterbylogo",a[55]),(!g||u[1]&4194304)&&e.set_custom_element_data(m,"addfilterselector",a[53]),(!g||u[1]&8388608)&&e.set_custom_element_data(m,"addsortingselector",a[54]),(!g||u[0]&33554432)&&e.set_custom_element_data(m,"casinogamesgridslider",a[25]),S&&e.is_function(S.update)&&u[2]&4194304&&S.update.call(null,a[127])},i(f){g||(e.transition_in(k),g=!0)},o(f){e.transition_out(k),g=!1},d(f){f&&(e.detach(t),e.detach(s),e.detach(n),e.detach(o),e.detach(h),e.detach(m)),_&&_.d(f),b&&b.d(f),k&&k.d(f),E&&E.d(f),C&&C.d(f),L=!1,w()}}}function bt(a){let t,s,n=a[85]("breakButton")+"",l;return{c(){t=e.element("div"),s=e.element("button"),l=e.text(n),e.attr(s,"class","PanicButton "+(e.getDevice(a[86])!=="PC"?"PanicButtonMobile ":"")),e.toggle_class(s,"PanicButtonAnimation",a[80]),e.attr(t,"class","PanicSection "+(e.getDevice(a[86])!=="PC"?"PanicSectionMobile":""))},m(r,o){e.insert(r,t,o),e.append(t,s),e.append(s,l),a[92](s)},p(r,o){o[2]&8388608&&n!==(n=r[85]("breakButton")+"")&&e.set_data(l,n),o[2]&262144&&e.toggle_class(s,"PanicButtonAnimation",r[80])},d(r){r&&e.detach(t),a[92](null)}}}function xt(a){let t,s,n,l;const r=[Ut,At],o=[];function d(c,h){return c[78]?0:1}return s=d(a),n=o[s]=r[s](a),{c(){t=e.element("div"),n.c()},m(c,h){e.insert(c,t,h),o[s].m(t,null),a[93](t),l=!0},p(c,h){let m=s;s=d(c),s===m?o[s].p(c,h):(e.group_outros(),e.transition_out(o[m],1,1,()=>{o[m]=null}),e.check_outros(),n=o[s],n?n.p(c,h):(n=o[s]=r[s](c),n.c()),e.transition_in(n,1),n.m(t,null))},i(c){l||(e.transition_in(n),l=!0)},o(c){e.transition_out(n),l=!1},d(c){c&&e.detach(t),o[s].d(),a[93](null)}}}let Q=!1;function $t(a,t,s){let n;e.component_subscribe(a,e.$format,i=>s(85,n=i));let{$$slots:l={},$$scope:r}=t,{endpoint:o=""}=t,{env:d=""}=t,{datasource:c=""}=t,{currency:h=""}=t,{lang:m=""}=t,{session:p=""}=t,{userid:S=""}=t,{clientstyling:g=""}=t,{userroles:L=""}=t,{clientstylingurl:w=""}=t,{translationurl:_=""}=t,{cmsendpoint:b=""}=t,{categorybackground:k=""}=t,{visiblegames:q}=t,{favorites:G=""}=t,{haspanicbutton:E="false"}=t,{filteredcategories:D=""}=t,{activecategory:M=""}=t,{showgamename:C=""}=t,{livecasino:f="false"}=t,{playrandomgame:u="false"}=t,{randomgameslider:ie="false"}=t,{filteredrandomgamecategories:oe=""}=t,{gamepagemodalurl:le="false"}=t,{casinogamesgridslider:re="false"}=t,{positionwinnerswidget:me=""}=t,{tabsorder:ce=""}=t,{enableautoscroll:ue=""}=t,{istopavailable:_e=""}=t,{isrecentavailable:de=""}=t,{integratedgameframedesktop:fe="false"}=t,{integratedgameframemobile:ge="false"}=t,{periodrecent:he=""}=t,{periodtop:be=""}=t,{numberusersrecent:ye=""}=t,{numberuserstop:ke=""}=t,{amountlimit:pe=""}=t,{defaultcurrency:we=""}=t,{showsubgroups:Z=""}=t,{positionjackpotbanners:ve=""}=t,{caticon0:Ee=""}=t,{caticon1:Ce=""}=t,{caticon2:je=""}=t,{caticon3:Pe=""}=t,{backgroundsrc:Se=""}=t,{backgroundsrcmobile:Me=""}=t,{titlelogopath:Le=""}=t,{iconlabels:Ge=""}=t,{visualstructure:Fe=""}=t,{positioncollections:De=""}=t,{type:Ie=""}=t,{titletype:Te=""}=t,{collectionprovidersgamenames:Be=""}=t,{addfilterselector:Oe="false"}=t,{addsortingselector:qe="false"}=t,{filterbylogo:Re=""}=t,{positioncasinocalendar:ze=""}=t,{casinomygames:Y="false"}=t,{mostplayed:X=""}=t,{lastplayed:x=""}=t,{lastplayedperiod:Ne="Last30Days"}=t,{mostplayedperiod:Ae="Last30Days"}=t,{lastplayedorder:Ue=""}=t,{lastplayedlimit:Ye=""}=t,{lastplayedunique:He="true"}=t,{mostplayedrounds:Ve=""}=t,{winnersdatasources:We=""}=t,{fetchviaevent:Je="true"}=t,{positionjelobbywidget:Ke=""}=t,{specificcategory:Qe=""}=t,{launchbygamecard:Ze=""}=t,{iconvisible:Xe=""}=t,{iconvisibleonanim:xe=""}=t,{randombuttonicon:$e=""}=t,$=window.navigator.userAgent,ee;e.isMobile($)?ee="OpenGameFrame":ee="ShowGameModal";let F=!1,R=!1,et=!1,z="",y,H=!1,V=0,te,I=!1,T=!0,se=!1,tt=[],P,B=[],kt,U,W,st=!1,at,pt,ae="",O,nt=!1;qt({withLocale:"en",translations:{}});const wt=()=>{let i=new URL(_);fetch(i.href).then(v=>v.json()).then(v=>{Object.keys(v).forEach(N=>{lt(N,v[N])})}).catch(v=>{console.log(v)})};Object.keys(rt).forEach(i=>{lt(i,rt[i])});const ne=i=>{switch(st=!0,s(0,Y="false"),setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:st},window.location.href)}),i.data.itemId){case"LOBBY":s(82,T=!0),s(81,I=!1),s(74,P="");break;case"MYGAMES":s(0,Y="true"),s(82,T=!1),s(81,I=!0),s(74,P="");break;case"FAVORITES":s(82,T=!1),s(81,I=!0),s(74,P="");break;case"MOSTPLAYED":X=="true"&&(s(74,P=""),s(82,T=!1),s(81,I=!0));break;case"LASTPLAYED":x=="true"&&(s(74,P=""),s(82,T=!1),s(81,I=!0));break;default:s(82,T=!1),s(81,I=!1),s(74,P=i.data.itemId);break}},it=i=>{if(i.data)switch(i.data.type){case"CategoryChange":ne(i);break;case"UserSessionID":i.data.session,i.data.userID;break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:ae,origin:i.data.origin},window.location.href);break;case"CategoryVendors":ae=i.data.categoryid;break;case"searchCancelled":s(83,se=!1),P&&ne({data:{itemId:P}});break;case"searchActive":s(83,se=!0);break;case"ModalClosed":break;case"SubgroupsIds":B.some(v=>i.data.subGroupsIds.includes(v))||B.push(...i.data.subGroupsIds);break}},vt=i=>new Promise((v,N)=>{s(77,F=!0),fetch(i).then(j=>j.json()).then(j=>{s(77,F=!1),v(j)}).catch(j=>{s(78,R=!0),s(77,F=!1),console.error(j),N(j)})}),Et=(i,v)=>{ae=v,window.postMessage({type:`CategoryData_${v}`,categoryId:v,visiblegames:q,receivedFavoriteResults:pt},window.location.href)},ot=()=>{U&&(W=U.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>W||W>130},Ct=()=>(o||(z="Endpoint is missing! Please provide a valid endpointURL.",s(78,R=!0),s(77,F=!1),console.error(z)),c||(z="Datasource is missing! Please provide a valid datasource.",s(78,R=!0),s(77,F=!1),console.error(z)),(!m||m.length<2)&&(z="Language is missing! Please provide a valid language (alpha2code)",s(78,R=!0),s(77,F=!1),console.error(z)),R),jt=()=>{nt&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:P},window.location.href)},500),nt=!1},Pt=()=>{if(!Ct()){s(77,F=!0),Rt(m);let i=new URL(`${o}/v1/casino/groups/${c}`);i.searchParams.append("language",m),i.searchParams.append("platform",e.getDevice($)),vt(i).then(v=>{let N=D.split(",");v&&(at=v.items.filter(j=>{let A;if(j.games.total>0&&(A=!0,D))for(let Ot of N)j.flags==Ot&&(A=!1);return A}),s(84,tt=at.filter(j=>{var A;return!(((A=j==null?void 0:j.subGroups)==null?void 0:A.count)>0&&Z=="true")}).map(j=>j.id)),s(89,B=v.items.map(j=>j.id.toString())),s(77,F=!1))}),U=kt,U&&(W=U.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}},St=()=>{s(74,P=M),ne({data:{itemId:P}})},Mt=()=>{B&&!B.includes(decodeURI(P))&&P!=""&&window.postMessage({type:"NonExistentCategory"},window.location.href)},Lt=()=>{s(79,et=!0)},J=i=>{V=0,te=setInterval(()=>{V+=1,s(80,H=!0),V>=3&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(te))},1e3)},K=i=>{V<3&&s(80,H=!1),clearInterval(te)},Gt=()=>{y==null||y.addEventListener("mousedown",J,!1),y==null||y.addEventListener("touchstart",J,!1),y==null||y.addEventListener("mouseup",K,!1),y==null||y.addEventListener("touchend",K,!1)},Ft=()=>{s(80,H=!1),y==null||y.removeEventListener("mousedown",J),y==null||y.removeEventListener("touchstart",J),y==null||y.removeEventListener("mouseup",K),y==null||y.removeEventListener("touchend",K)},Dt=()=>{let i=document.createElement("style");i.innerHTML=g,O.appendChild(i)},It=()=>{let i=document.createElement("style");fetch(new URL(w)).then(v=>v.text()).then(v=>{i.innerHTML=v,setTimeout(()=>{O.appendChild(i)},1)})};e.onMount(()=>(window.addEventListener("scroll",ot,!1),window.addEventListener("message",it,!1),()=>{window.removeEventListener("scroll",ot),window.removeEventListener("message",it),Ft()}));function Tt(i){e.binding_callbacks[i?"unshift":"push"](()=>{y=i,s(73,y)})}function Bt(i){e.binding_callbacks[i?"unshift":"push"](()=>{O=i,s(75,O)})}return a.$$set=i=>{"endpoint"in i&&s(1,o=i.endpoint),"env"in i&&s(2,d=i.env),"datasource"in i&&s(3,c=i.datasource),"currency"in i&&s(4,h=i.currency),"lang"in i&&s(5,m=i.lang),"session"in i&&s(6,p=i.session),"userid"in i&&s(7,S=i.userid),"clientstyling"in i&&s(8,g=i.clientstyling),"userroles"in i&&s(9,L=i.userroles),"clientstylingurl"in i&&s(10,w=i.clientstylingurl),"translationurl"in i&&s(11,_=i.translationurl),"cmsendpoint"in i&&s(12,b=i.cmsendpoint),"categorybackground"in i&&s(13,k=i.categorybackground),"visiblegames"in i&&s(14,q=i.visiblegames),"favorites"in i&&s(15,G=i.favorites),"haspanicbutton"in i&&s(16,E=i.haspanicbutton),"filteredcategories"in i&&s(17,D=i.filteredcategories),"activecategory"in i&&s(18,M=i.activecategory),"showgamename"in i&&s(19,C=i.showgamename),"livecasino"in i&&s(20,f=i.livecasino),"playrandomgame"in i&&s(21,u=i.playrandomgame),"randomgameslider"in i&&s(22,ie=i.randomgameslider),"filteredrandomgamecategories"in i&&s(23,oe=i.filteredrandomgamecategories),"gamepagemodalurl"in i&&s(24,le=i.gamepagemodalurl),"casinogamesgridslider"in i&&s(25,re=i.casinogamesgridslider),"positionwinnerswidget"in i&&s(26,me=i.positionwinnerswidget),"tabsorder"in i&&s(27,ce=i.tabsorder),"enableautoscroll"in i&&s(28,ue=i.enableautoscroll),"istopavailable"in i&&s(29,_e=i.istopavailable),"isrecentavailable"in i&&s(30,de=i.isrecentavailable),"integratedgameframedesktop"in i&&s(31,fe=i.integratedgameframedesktop),"integratedgameframemobile"in i&&s(32,ge=i.integratedgameframemobile),"periodrecent"in i&&s(33,he=i.periodrecent),"periodtop"in i&&s(34,be=i.periodtop),"numberusersrecent"in i&&s(35,ye=i.numberusersrecent),"numberuserstop"in i&&s(36,ke=i.numberuserstop),"amountlimit"in i&&s(37,pe=i.amountlimit),"defaultcurrency"in i&&s(38,we=i.defaultcurrency),"showsubgroups"in i&&s(88,Z=i.showsubgroups),"positionjackpotbanners"in i&&s(39,ve=i.positionjackpotbanners),"caticon0"in i&&s(40,Ee=i.caticon0),"caticon1"in i&&s(41,Ce=i.caticon1),"caticon2"in i&&s(42,je=i.caticon2),"caticon3"in i&&s(43,Pe=i.caticon3),"backgroundsrc"in i&&s(44,Se=i.backgroundsrc),"backgroundsrcmobile"in i&&s(45,Me=i.backgroundsrcmobile),"titlelogopath"in i&&s(46,Le=i.titlelogopath),"iconlabels"in i&&s(47,Ge=i.iconlabels),"visualstructure"in i&&s(48,Fe=i.visualstructure),"positioncollections"in i&&s(49,De=i.positioncollections),"type"in i&&s(50,Ie=i.type),"titletype"in i&&s(51,Te=i.titletype),"collectionprovidersgamenames"in i&&s(52,Be=i.collectionprovidersgamenames),"addfilterselector"in i&&s(53,Oe=i.addfilterselector),"addsortingselector"in i&&s(54,qe=i.addsortingselector),"filterbylogo"in i&&s(55,Re=i.filterbylogo),"positioncasinocalendar"in i&&s(56,ze=i.positioncasinocalendar),"casinomygames"in i&&s(0,Y=i.casinomygames),"mostplayed"in i&&s(57,X=i.mostplayed),"lastplayed"in i&&s(58,x=i.lastplayed),"lastplayedperiod"in i&&s(59,Ne=i.lastplayedperiod),"mostplayedperiod"in i&&s(60,Ae=i.mostplayedperiod),"lastplayedorder"in i&&s(61,Ue=i.lastplayedorder),"lastplayedlimit"in i&&s(62,Ye=i.lastplayedlimit),"lastplayedunique"in i&&s(63,He=i.lastplayedunique),"mostplayedrounds"in i&&s(64,Ve=i.mostplayedrounds),"winnersdatasources"in i&&s(65,We=i.winnersdatasources),"fetchviaevent"in i&&s(66,Je=i.fetchviaevent),"positionjelobbywidget"in i&&s(67,Ke=i.positionjelobbywidget),"specificcategory"in i&&s(68,Qe=i.specificcategory),"launchbygamecard"in i&&s(69,Ze=i.launchbygamecard),"iconvisible"in i&&s(70,Xe=i.iconvisible),"iconvisibleonanim"in i&&s(71,xe=i.iconvisibleonanim),"randombuttonicon"in i&&s(72,$e=i.randombuttonicon),"$$scope"in i&&s(90,r=i.$$scope)},a.$$.update=()=>{a.$$.dirty[0]&262176&&m&&M&&St(),a.$$.dirty[0]&194&&p&&S&&o&&Lt(),a.$$.dirty[2]&134221824&&P&&B&&Mt(),a.$$.dirty[0]&42&&o&&c&&m&&Pt(),a.$$.dirty[0]&32&&m&&jt(),a.$$.dirty[0]&2048&&_&&wt(),a.$$.dirty[0]&256|a.$$.dirty[2]&8192&&g&&O&&Dt(),a.$$.dirty[0]&1024|a.$$.dirty[2]&8192&&w&&O&&It(),a.$$.dirty[2]&2048&&y&&Gt()},[Y,o,d,c,h,m,p,S,g,L,w,_,b,k,q,G,E,D,M,C,f,u,ie,oe,le,re,me,ce,ue,_e,de,fe,ge,he,be,ye,ke,pe,we,ve,Ee,Ce,je,Pe,Se,Me,Le,Ge,Fe,De,Ie,Te,Be,Oe,qe,Re,ze,X,x,Ne,Ae,Ue,Ye,He,Ve,We,Je,Ke,Qe,Ze,Xe,xe,$e,y,P,O,ee,F,R,et,H,I,T,se,tt,n,$,Et,Z,B,r,l,Tt,Bt]}class yt extends e.SvelteComponent{constructor(t){super(),e.init(this,t,$t,xt,e.safe_not_equal,{endpoint:1,env:2,datasource:3,currency:4,lang:5,session:6,userid:7,clientstyling:8,userroles:9,clientstylingurl:10,translationurl:11,cmsendpoint:12,categorybackground:13,visiblegames:14,favorites:15,haspanicbutton:16,filteredcategories:17,activecategory:18,showgamename:19,livecasino:20,playrandomgame:21,randomgameslider:22,filteredrandomgamecategories:23,gamepagemodalurl:24,casinogamesgridslider:25,positionwinnerswidget:26,tabsorder:27,enableautoscroll:28,istopavailable:29,isrecentavailable:30,integratedgameframedesktop:31,integratedgameframemobile:32,periodrecent:33,periodtop:34,numberusersrecent:35,numberuserstop:36,amountlimit:37,defaultcurrency:38,showsubgroups:88,positionjackpotbanners:39,caticon0:40,caticon1:41,caticon2:42,caticon3:43,backgroundsrc:44,backgroundsrcmobile:45,titlelogopath:46,iconlabels:47,visualstructure:48,positioncollections:49,type:50,titletype:51,collectionprovidersgamenames:52,addfilterselector:53,addsortingselector:54,filterbylogo:55,positioncasinocalendar:56,casinomygames:0,mostplayed:57,lastplayed:58,lastplayedperiod:59,mostplayedperiod:60,lastplayedorder:61,lastplayedlimit:62,lastplayedunique:63,mostplayedrounds:64,winnersdatasources:65,fetchviaevent:66,positionjelobbywidget:67,specificcategory:68,launchbygamecard:69,iconvisible:70,iconvisibleonanim:71,randombuttonicon:72},zt,[-1,-1,-1,-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get env(){return this.$$.ctx[2]}set env(t){this.$$set({env:t}),e.flush()}get datasource(){return this.$$.ctx[3]}set datasource(t){this.$$set({datasource:t}),e.flush()}get currency(){return this.$$.ctx[4]}set currency(t){this.$$set({currency:t}),e.flush()}get lang(){return this.$$.ctx[5]}set lang(t){this.$$set({lang:t}),e.flush()}get session(){return this.$$.ctx[6]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[7]}set userid(t){this.$$set({userid:t}),e.flush()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get userroles(){return this.$$.ctx[9]}set userroles(t){this.$$set({userroles:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[11]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[12]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get categorybackground(){return this.$$.ctx[13]}set categorybackground(t){this.$$set({categorybackground:t}),e.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get favorites(){return this.$$.ctx[15]}set favorites(t){this.$$set({favorites:t}),e.flush()}get haspanicbutton(){return this.$$.ctx[16]}set haspanicbutton(t){this.$$set({haspanicbutton:t}),e.flush()}get filteredcategories(){return this.$$.ctx[17]}set filteredcategories(t){this.$$set({filteredcategories:t}),e.flush()}get activecategory(){return this.$$.ctx[18]}set activecategory(t){this.$$set({activecategory:t}),e.flush()}get showgamename(){return this.$$.ctx[19]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get livecasino(){return this.$$.ctx[20]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get playrandomgame(){return this.$$.ctx[21]}set playrandomgame(t){this.$$set({playrandomgame:t}),e.flush()}get randomgameslider(){return this.$$.ctx[22]}set randomgameslider(t){this.$$set({randomgameslider:t}),e.flush()}get filteredrandomgamecategories(){return this.$$.ctx[23]}set filteredrandomgamecategories(t){this.$$set({filteredrandomgamecategories:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[24]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get casinogamesgridslider(){return this.$$.ctx[25]}set casinogamesgridslider(t){this.$$set({casinogamesgridslider:t}),e.flush()}get positionwinnerswidget(){return this.$$.ctx[26]}set positionwinnerswidget(t){this.$$set({positionwinnerswidget:t}),e.flush()}get tabsorder(){return this.$$.ctx[27]}set tabsorder(t){this.$$set({tabsorder:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[28]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),e.flush()}get istopavailable(){return this.$$.ctx[29]}set istopavailable(t){this.$$set({istopavailable:t}),e.flush()}get isrecentavailable(){return this.$$.ctx[30]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[31]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[32]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get periodrecent(){return this.$$.ctx[33]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[34]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[35]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[36]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[37]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get defaultcurrency(){return this.$$.ctx[38]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get showsubgroups(){return this.$$.ctx[88]}set showsubgroups(t){this.$$set({showsubgroups:t}),e.flush()}get positionjackpotbanners(){return this.$$.ctx[39]}set positionjackpotbanners(t){this.$$set({positionjackpotbanners:t}),e.flush()}get caticon0(){return this.$$.ctx[40]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[41]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[42]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[43]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[44]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[45]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[46]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get iconlabels(){return this.$$.ctx[47]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get visualstructure(){return this.$$.ctx[48]}set visualstructure(t){this.$$set({visualstructure:t}),e.flush()}get positioncollections(){return this.$$.ctx[49]}set positioncollections(t){this.$$set({positioncollections:t}),e.flush()}get type(){return this.$$.ctx[50]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[51]}set titletype(t){this.$$set({titletype:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[52]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}get addfilterselector(){return this.$$.ctx[53]}set addfilterselector(t){this.$$set({addfilterselector:t}),e.flush()}get addsortingselector(){return this.$$.ctx[54]}set addsortingselector(t){this.$$set({addsortingselector:t}),e.flush()}get filterbylogo(){return this.$$.ctx[55]}set filterbylogo(t){this.$$set({filterbylogo:t}),e.flush()}get positioncasinocalendar(){return this.$$.ctx[56]}set positioncasinocalendar(t){this.$$set({positioncasinocalendar:t}),e.flush()}get casinomygames(){return this.$$.ctx[0]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get mostplayed(){return this.$$.ctx[57]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get lastplayed(){return this.$$.ctx[58]}set lastplayed(t){this.$$set({lastplayed:t}),e.flush()}get lastplayedperiod(){return this.$$.ctx[59]}set lastplayedperiod(t){this.$$set({lastplayedperiod:t}),e.flush()}get mostplayedperiod(){return this.$$.ctx[60]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),e.flush()}get lastplayedorder(){return this.$$.ctx[61]}set lastplayedorder(t){this.$$set({lastplayedorder:t}),e.flush()}get lastplayedlimit(){return this.$$.ctx[62]}set lastplayedlimit(t){this.$$set({lastplayedlimit:t}),e.flush()}get lastplayedunique(){return this.$$.ctx[63]}set lastplayedunique(t){this.$$set({lastplayedunique:t}),e.flush()}get mostplayedrounds(){return this.$$.ctx[64]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}get winnersdatasources(){return this.$$.ctx[65]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),e.flush()}get fetchviaevent(){return this.$$.ctx[66]}set fetchviaevent(t){this.$$set({fetchviaevent:t}),e.flush()}get positionjelobbywidget(){return this.$$.ctx[67]}set positionjelobbywidget(t){this.$$set({positionjelobbywidget:t}),e.flush()}get specificcategory(){return this.$$.ctx[68]}set specificcategory(t){this.$$set({specificcategory:t}),e.flush()}get launchbygamecard(){return this.$$.ctx[69]}set launchbygamecard(t){this.$$set({launchbygamecard:t}),e.flush()}get iconvisible(){return this.$$.ctx[70]}set iconvisible(t){this.$$set({iconvisible:t}),e.flush()}get iconvisibleonanim(){return this.$$.ctx[71]}set iconvisibleonanim(t){this.$$set({iconvisibleonanim:t}),e.flush()}get randombuttonicon(){return this.$$.ctx[72]}set randombuttonicon(t){this.$$set({randombuttonicon:t}),e.flush()}}e.create_custom_element(yt,{endpoint:{},env:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},userroles:{},clientstylingurl:{},translationurl:{},cmsendpoint:{},categorybackground:{},visiblegames:{},favorites:{},haspanicbutton:{},filteredcategories:{},activecategory:{},showgamename:{},livecasino:{},playrandomgame:{},randomgameslider:{},filteredrandomgamecategories:{},gamepagemodalurl:{},casinogamesgridslider:{},positionwinnerswidget:{},tabsorder:{},enableautoscroll:{},istopavailable:{},isrecentavailable:{},integratedgameframedesktop:{},integratedgameframemobile:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},defaultcurrency:{},showsubgroups:{},positionjackpotbanners:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},backgroundsrc:{},backgroundsrcmobile:{},titlelogopath:{},iconlabels:{},visualstructure:{},positioncollections:{},type:{},titletype:{},collectionprovidersgamenames:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},positioncasinocalendar:{},casinomygames:{},mostplayed:{},lastplayed:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{},winnersdatasources:{},fetchviaevent:{},positionjelobbywidget:{},specificcategory:{},launchbygamecard:{},iconvisible:{},iconvisibleonanim:{},randombuttonicon:{}},["je-jackpots-widget"],[],!0);exports.default=yt;
@@ -0,0 +1,2 @@
1
+ "use strict";var S=(n,t,a)=>new Promise((o,r)=>{var s=p=>{try{f(a.next(p))}catch(g){r(g)}},c=p=>{try{f(a.throw(p))}catch(g){r(g)}},f=p=>p.done?o(p.value):Promise.resolve(p.value).then(s,c);f((a=a.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-aMUXtMPt.cjs");function le({withLocale:n,translations:t}){e.$locale.subscribe(a=>{a==null&&(e.$dictionary.set(t),e.$locale.set(n))})}function z(n,t){e.addMessages(n,t)}function re(n){e.$locale.set(n)}const B={en:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now",noGames:"There are no random games to play"},"zh-hk":{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放",noGames:"There are no random games to play"},de:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuft",playNowRandomGame:"Jetzt spielen",noGames:"There are no random games to play"},fr:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant",noGames:"There are no random games to play"},ro:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum",noGames:"Nu exista jocuri aleatorii de jucat"},tr:{playRandomGame:"Oynamak için doğru oyunun adını yazın.",randomGameLoading:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",playNowRandomGame:"Son arama",noGames:"Yükleniyor, lütfen bekleyin"},es:{playRandomGame:"Juego aleatorio",randomGameLoading:"Seleccionando…",playNowRandomGame:"Juega Ya",noGames:"There are no random games to play"},pt:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},hr:{playRandomGame:"Igrajte nasumičnu igru",randomGameLoading:"Odabir...",playNowRandomGame:"Igraj sada",noGames:"Nema nasumičnih igara za igranje"},"pt-br":{playRandomGame:"Jogue um jogo aleatório",randomGameCarregando:"Selecionando...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},"es-mx":{playRandomGame:"Jugar un juego al azar",randomGameCargando:"Seleccionando..",playNowRandomGame:"Jugar ahora",noGames:"There are no random games to play"},"en-us":{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now",noGames:"There are no random games to play"}};function ie(n){e.append_styles(n,"svelte-fd0a5p","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:50px;border-top:3px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px;background:var(--emw--color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer{padding:10px;border-top:none}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;position:relative;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameWrapper .RandomGamesSliderWrapper{overflow:hidden;height:170px}.RandomGameWrapper .GamesContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:100%}.RandomGameWrapper .RandomGameLoading{padding:30px 0}.RandomGameWrapper .RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:85px;right:-10px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}")}function I(n,t,a){const o=n.slice();return o[41]=t[a],o}const se=n=>({}),P=n=>({});function J(n){let t,a,o,r,s,c,f;const p=n[22].close,g=e.create_slot(p,n,n[21],P),l=g||de();function _(d,y){return d[7]?ce:me}let m=_(n),u=m(n);return{c(){t=e.element("div"),a=e.element("div"),o=e.element("span"),l&&l.c(),r=e.space(),u.c(),e.attr(o,"class","ModalCloseBtn"),e.attr(o,"role","button"),e.attr(a,"class","ModalContainer"),e.attr(t,"class","ModalWindow")},m(d,y){e.insert(d,t,y),e.append(t,a),e.append(a,o),l&&l.m(o,null),e.append(a,r),u.m(a,null),s=!0,c||(f=e.listen(o,"click",n[12]),c=!0)},p(d,y){g&&g.p&&(!s||y[0]&2097152)&&e.update_slot_base(g,p,d,d[21],s?e.get_slot_changes(p,d[21],y,se):e.get_all_dirty_from_scope(d[21]),P),m===(m=_(d))&&u?u.p(d,y):(u.d(1),u=m(d),u&&(u.c(),u.m(a,null)))},i(d){s||(e.transition_in(l,d),s=!0)},o(d){e.transition_out(l,d),s=!1},d(d){d&&e.detach(t),l&&l.d(d),u.d(),c=!1,f()}}}function de(n){let t,a;return{c(){t=e.svg_element("svg"),a=e.svg_element("path"),e.attr(a,"stroke-linecap","round"),e.attr(a,"stroke-linejoin","round"),e.attr(a,"stroke-width","2"),e.attr(a,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(o,r){e.insert(o,t,r),e.append(t,a)},p:e.noop,d(o){o&&e.detach(t)}}}function me(n){let t,a=n[9]("noGames")+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","RandomGameLoading")},m(r,s){e.insert(r,t,s),e.append(t,o)},p(r,s){s[0]&512&&a!==(a=r[9]("noGames")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function ce(n){let t,a,o,r,s=e.ensure_array_like(n[4]),c=[];for(let l=0;l<s.length;l+=1)c[l]=D(I(n,s,l));function f(l,_){return l[6]?pe:ue}let p=f(n),g=p(n);return{c(){t=e.element("div"),a=e.element("main"),o=e.element("div");for(let l=0;l<c.length;l+=1)c[l].c();r=e.space(),g.c(),e.attr(o,"class","GamesContainer"),e.attr(a,"class","RandomGamesSliderWrapper"),e.attr(t,"class","RandomGameWrapper")},m(l,_){e.insert(l,t,_),e.append(t,a),e.append(a,o);for(let m=0;m<c.length;m+=1)c[m]&&c[m].m(o,null);n[23](o),e.append(t,r),g.m(t,null)},p(l,_){if(_[0]&16){s=e.ensure_array_like(l[4]);let m;for(m=0;m<s.length;m+=1){const u=I(l,s,m);c[m]?c[m].p(u,_):(c[m]=D(u),c[m].c(),c[m].m(o,null))}for(;m<c.length;m+=1)c[m].d(1);c.length=s.length}p===(p=f(l))&&g?g.p(l,_):(g.d(1),g=p(l),g&&(g.c(),g.m(t,null)))},d(l){l&&e.detach(t),e.destroy_each(c,l),n[23](null),g.d()}}}function D(n){let t,a,o,r,s,c;return{c(){t=e.element("div"),a=e.element("img"),c=e.space(),e.attr(a,"class","RandomGameImage"),e.src_url_equal(a.src,o=n[41].thumbnail)||e.attr(a,"src",o),e.attr(a,"alt",r=n[41].name),e.attr(a,"title",s=n[41].name),e.attr(t,"class","item")},m(f,p){e.insert(f,t,p),e.append(t,a),e.append(t,c)},p(f,p){p[0]&16&&!e.src_url_equal(a.src,o=f[41].thumbnail)&&e.attr(a,"src",o),p[0]&16&&r!==(r=f[41].name)&&e.attr(a,"alt",r),p[0]&16&&s!==(s=f[41].name)&&e.attr(a,"title",s)},d(f){f&&e.detach(t)}}}function ue(n){let t,a=n[9]("randomGameLoading")+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","RandomGameLoading")},m(r,s){e.insert(r,t,s),e.append(t,o)},p(r,s){s[0]&512&&a!==(a=r[9]("randomGameLoading")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function pe(n){let t,a,o,r,s=n[3].name+"",c,f,p,g=n[3].vendor.name+"",l,_,m,u=n[9]("playNowRandomGame")+"",d,y,R;return{c(){t=e.element("button"),t.innerHTML=`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));}
2
+ </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`,a=e.space(),o=e.element("div"),r=e.element("p"),c=e.text(s),f=e.space(),p=e.element("p"),l=e.text(g),_=e.space(),m=e.element("button"),d=e.text(u),e.attr(t,"class","RandomTryAgain"),e.attr(r,"class","RandomGameTitle"),e.attr(p,"class","RandomGameVendor"),e.attr(m,"class","RandomGamePlay"),e.attr(o,"class","RandomGameDetails")},m(b,w){e.insert(b,t,w),e.insert(b,a,w),e.insert(b,o,w),e.append(o,r),e.append(r,c),e.append(o,f),e.append(o,p),e.append(p,l),e.append(o,_),e.append(o,m),e.append(m,d),y||(R=[e.listen(t,"click",n[24]),e.listen(m,"click",n[25])],y=!0)},p(b,w){w[0]&8&&s!==(s=b[3].name+"")&&e.set_data(c,s),w[0]&8&&g!==(g=b[3].vendor.name+"")&&e.set_data(l,g),w[0]&512&&u!==(u=b[9]("playNowRandomGame")+"")&&e.set_data(d,u)},d(b){b&&(e.detach(t),e.detach(a),e.detach(o)),y=!1,e.run_all(R)}}}function ge(n){let t,a=n[9]("playRandomGame")+"",o;return{c(){t=e.element("span"),o=e.text(a),e.attr(t,"class","RandomButtonText")},m(r,s){e.insert(r,t,s),e.append(t,o)},p(r,s){s[0]&512&&a!==(a=r[9]("playRandomGame")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function fe(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","RandomButtonText")},m(o,r){e.insert(o,t,r),e.append(t,a)},p(o,r){r[0]&2&&e.set_data(a,o[1])},d(o){o&&e.detach(t)}}}function he(n){let t,a,o,r,s,c,f,p,g,l=n[5]&&J(n);function _(d,y){if(d[1])return fe;if(!d[1])return ge}let m=_(n),u=m&&m(n);return{c(){t=e.element("div"),l&&l.c(),a=e.space(),o=e.element("div"),r=e.element("button"),u&&u.c(),s=e.space(),c=e.element("span"),e.attr(c,"class","RandomButtonIcon"),e.attr(r,"class","RandomButton"),e.attr(o,"class","RandomButtonWrapper"),e.attr(t,"part","CustomStylingContainer")},m(d,y){e.insert(d,t,y),l&&l.m(t,null),e.append(t,a),e.append(t,o),e.append(o,r),u&&u.m(r,null),e.append(r,s),e.append(r,c),c.innerHTML=n[0],n[27](t),f=!0,p||(g=e.listen(r,"click",n[26]),p=!0)},p(d,y){d[5]?l?(l.p(d,y),y[0]&32&&e.transition_in(l,1)):(l=J(d),l.c(),e.transition_in(l,1),l.m(t,a)):l&&(e.group_outros(),e.transition_out(l,1,1,()=>{l=null}),e.check_outros()),m===(m=_(d))&&u?u.p(d,y):(u&&u.d(1),u=m&&m(d),u&&(u.c(),u.m(r,s))),(!f||y[0]&1)&&(c.innerHTML=d[0])},i(d){f||(e.transition_in(l),f=!0)},o(d){e.transition_out(l),f=!1},d(d){d&&e.detach(t),l&&l.d(),u&&u.d(),n[27](null),p=!1,g()}}}function ye(n,t,a){let o;e.component_subscribe(n,e.$format,i=>a(9,o=i));let{$$slots:r={},$$scope:s}=t,{endpoint:c=""}=t,{datasource:f=""}=t,{gameevent:p=""}=t,{lang:g=""}=t,{randombuttonicon:l=""}=t,{buttontext:_=""}=t,{translationurl:m=""}=t,{clientstyling:u=""}=t,{clientstylingurl:d=""}=t,{filteredrandomgamecategories:y=""}=t,R=[],b="",w,v=!1,L=!1,C=!1,H=window.navigator.userAgent,x,k,W,F,j=null;le({withLocale:"en",translations:{}});const O=()=>{fetch(m).then(h=>h.json()).then(h=>{Object.keys(h).forEach(G=>{z(G,h[G])})}).catch(h=>{console.log(h)})};Object.keys(B).forEach(i=>{z(i,B[i])});const E=()=>{let i=new URL(`${c}/v1/casino/games`);i.searchParams.append("platform",e.getDevice(H)),i.searchParams.append("datasource",f),i.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,categories"),y&&i.searchParams.append("filter",`groups=${y}`),i.searchParams.append("expand","categories,vendor"),i.searchParams.append("pagination","offset=0,limit=1000"),fetch(i.href).then(h=>h.json()).then(h=>{R=h.items,R.length?(a(4,w=U(R.slice(0,19))),a(7,C=!0)):(a(4,w=[]),a(7,C=!1))}).catch(h=>{console.log(h),a(7,C=!1)})},U=i=>{const h=V(i);return h.concat(h)},q=()=>S(this,null,function*(){yield e.tick(),F=Math.floor(Math.random()*(w.length/2))+w.length/2,a(3,b=w[F]),W=k.children[F]}),T=()=>S(this,null,function*(){a(6,L=!1),a(5,v=!0),window.postMessage({type:"RandomWidgetState",state:!0},window.location.href),yield q();const i=window.getComputedStyle(k).getPropertyValue("gap"),h=parseInt(i,10)||0,M=(W.offsetHeight+h)*F,ne=[{transform:"translateX(0px)"},{filter:"blur(5px)"},{transform:`translateY(-${M}px)`}],oe={duration:2e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};j=k.animate(ne,oe),j.onfinish=()=>{a(6,L=!0)}}),V=i=>{const h=structuredClone(i);let G=h.length,M;for(;G!=0;)M=Math.floor(Math.random()*G),G--,[h[G],h[M]]=[h[M],h[G]];return h},N=()=>{window.postMessage({type:p,gameId:b.gId||b.id},window.location.href),a(5,v=!1),window.postMessage({type:"RandomWidgetState",state:!1},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"RandomGameWidget",gameId:`${b.gId||b.id}`})},Y=()=>{a(5,v=!1),window.postMessage({type:"RandomWidgetState",state:v},window.location.href)},X=()=>{re(g)},Z=()=>{let i=document.createElement("style");i.innerHTML=u,x.appendChild(i)},K=()=>{let i=new URL(d),h=document.createElement("style");fetch(i.href).then(G=>G.text()).then(G=>{h.innerHTML=G,setTimeout(()=>{x.appendChild(h)},1)})};function Q(i){e.binding_callbacks[i?"unshift":"push"](()=>{k=i,a(8,k)})}const $=()=>T(),ee=()=>N(),te=()=>T();function ae(i){e.binding_callbacks[i?"unshift":"push"](()=>{x=i,a(2,x)})}return n.$$set=i=>{"endpoint"in i&&a(13,c=i.endpoint),"datasource"in i&&a(14,f=i.datasource),"gameevent"in i&&a(15,p=i.gameevent),"lang"in i&&a(16,g=i.lang),"randombuttonicon"in i&&a(0,l=i.randombuttonicon),"buttontext"in i&&a(1,_=i.buttontext),"translationurl"in i&&a(17,m=i.translationurl),"clientstyling"in i&&a(18,u=i.clientstyling),"clientstylingurl"in i&&a(19,d=i.clientstylingurl),"filteredrandomgamecategories"in i&&a(20,y=i.filteredrandomgamecategories),"$$scope"in i&&a(21,s=i.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&65536&&g&&X(),n.$$.dirty[0]&131072&&m&&O(),n.$$.dirty[0]&24576&&c&&f&&E(),n.$$.dirty[0]&262148&&u&&x&&Z(),n.$$.dirty[0]&524292&&d&&x&&K()},[l,_,x,b,w,v,L,C,k,o,T,N,Y,c,f,p,g,m,u,d,y,s,r,Q,$,ee,te,ae]}class A extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ye,he,e.safe_not_equal,{endpoint:13,datasource:14,gameevent:15,lang:16,randombuttonicon:0,buttontext:1,translationurl:17,clientstyling:18,clientstylingurl:19,filteredrandomgamecategories:20},ie,[-1,-1])}get endpoint(){return this.$$.ctx[13]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[14]}set datasource(t){this.$$set({datasource:t}),e.flush()}get gameevent(){return this.$$.ctx[15]}set gameevent(t){this.$$set({gameevent:t}),e.flush()}get lang(){return this.$$.ctx[16]}set lang(t){this.$$set({lang:t}),e.flush()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(t){this.$$set({randombuttonicon:t}),e.flush()}get buttontext(){return this.$$.ctx[1]}set buttontext(t){this.$$set({buttontext:t}),e.flush()}get translationurl(){return this.$$.ctx[17]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get filteredrandomgamecategories(){return this.$$.ctx[20]}set filteredrandomgamecategories(t){this.$$set({filteredrandomgamecategories:t}),e.flush()}}e.create_custom_element(A,{endpoint:{},datasource:{},gameevent:{},lang:{},randombuttonicon:{},buttontext:{},translationurl:{},clientstyling:{},clientstylingurl:{},filteredrandomgamecategories:{}},["close"],[],!0);exports.default=A;
@@ -1,21 +1,21 @@
1
- var P = (a, e, t) => new Promise((n, l) => {
1
+ var A = (a, e, t) => new Promise((n, l) => {
2
2
  var r = (g) => {
3
3
  try {
4
- p(t.next(g));
5
- } catch (f) {
6
- l(f);
4
+ f(t.next(g));
5
+ } catch (p) {
6
+ l(p);
7
7
  }
8
8
  }, d = (g) => {
9
9
  try {
10
- p(t.throw(g));
11
- } catch (f) {
12
- l(f);
10
+ f(t.throw(g));
11
+ } catch (p) {
12
+ l(p);
13
13
  }
14
- }, p = (g) => g.done ? n(g.value) : Promise.resolve(g.value).then(r, d);
15
- p((t = t.apply(a, e)).next());
14
+ }, f = (g) => g.done ? n(g.value) : Promise.resolve(g.value).then(r, d);
15
+ f((t = t.apply(a, e)).next());
16
16
  });
17
- import { $ as H, a as _e, I as Ge, S as Re, i as xe, f as M, c as ke, s as ve, b as Me, e as b, q as C, u, d as k, v as y, w as J, h as I, t as O, g as Ce, j as v, J as Fe, n as Le, x as Te, y as Se, z as We, k as je, L as Ne, m as V, E as Y, C as ze, r as L, A as T, p as K, B as Be, D as X, O as Ie, K as Je, R as De } from "./CasinoCalendar-0AyYaYr6.js";
18
- function Ae({ withLocale: a, translations: e }) {
17
+ import { $ as H, a as _e, I as Ge, S as Re, i as xe, f as M, c as ke, s as ve, b as Me, e as b, q as C, u, d as k, v as y, w as J, h as I, t as O, g as Ce, j as v, J as Le, n as Fe, x as Te, y as Se, z as We, k as je, L as Ne, m as V, E as Y, C as ze, r as F, A as T, p as K, B as Be, D as X, O as Ie, K as Je, R as De } from "./CasinoCalendar-0AyYaYr6.js";
18
+ function Pe({ withLocale: a, translations: e }) {
19
19
  H.subscribe((t) => {
20
20
  t == null && (_e.set(e), H.set(a));
21
21
  });
@@ -23,7 +23,7 @@ function Ae({ withLocale: a, translations: e }) {
23
23
  function Z(a, e) {
24
24
  Ge(a, e);
25
25
  }
26
- function Pe(a) {
26
+ function Ae(a) {
27
27
  H.set(a);
28
28
  }
29
29
  const Q = {
@@ -92,6 +92,12 @@ const Q = {
92
92
  randomGameCargando: "Seleccionando..",
93
93
  playNowRandomGame: "Jugar ahora",
94
94
  noGames: "There are no random games to play"
95
+ },
96
+ "en-us": {
97
+ playRandomGame: "Play a random game",
98
+ randomGameLoading: "Selecting ...",
99
+ playNowRandomGame: "Play Now",
100
+ noGames: "There are no random games to play"
95
101
  }
96
102
  };
97
103
  function He(a) {
@@ -103,17 +109,17 @@ function $(a, e, t) {
103
109
  }
104
110
  const Oe = (a) => ({}), ee = (a) => ({});
105
111
  function te(a) {
106
- let e, t, n, l, r, d, p;
112
+ let e, t, n, l, r, d, f;
107
113
  const g = (
108
114
  /*#slots*/
109
115
  a[22].close
110
- ), f = Le(
116
+ ), p = Fe(
111
117
  g,
112
118
  a,
113
119
  /*$$scope*/
114
120
  a[21],
115
121
  ee
116
- ), o = f || Ee();
122
+ ), o = p || Ee();
117
123
  function _(s, w) {
118
124
  return (
119
125
  /*hasRandomGames*/
@@ -126,7 +132,7 @@ function te(a) {
126
132
  e = b("div"), t = b("div"), n = b("span"), o && o.c(), l = C(), c.c(), u(n, "class", "ModalCloseBtn"), u(n, "role", "button"), u(t, "class", "ModalContainer"), u(e, "class", "ModalWindow");
127
133
  },
128
134
  m(s, w) {
129
- k(s, e, w), y(e, t), y(t, n), o && o.m(n, null), y(t, l), c.m(t, null), r = !0, d || (p = J(
135
+ k(s, e, w), y(e, t), y(t, n), o && o.m(n, null), y(t, l), c.m(t, null), r = !0, d || (f = J(
130
136
  n,
131
137
  "click",
132
138
  /*closeModal*/
@@ -134,9 +140,9 @@ function te(a) {
134
140
  ), d = !0);
135
141
  },
136
142
  p(s, w) {
137
- f && f.p && (!r || w[0] & /*$$scope*/
143
+ p && p.p && (!r || w[0] & /*$$scope*/
138
144
  2097152) && Te(
139
- f,
145
+ p,
140
146
  g,
141
147
  s,
142
148
  /*$$scope*/
@@ -161,7 +167,7 @@ function te(a) {
161
167
  O(o, s), r = !1;
162
168
  },
163
169
  d(s) {
164
- s && v(e), o && o.d(s), c.d(), d = !1, p();
170
+ s && v(e), o && o.d(s), c.d(), d = !1, f();
165
171
  }
166
172
  };
167
173
  }
@@ -187,7 +193,7 @@ function Ue(a) {
187
193
  ), n;
188
194
  return {
189
195
  c() {
190
- e = b("p"), n = L(t), u(e, "class", "RandomGameLoading");
196
+ e = b("p"), n = F(t), u(e, "class", "RandomGameLoading");
191
197
  },
192
198
  m(l, r) {
193
199
  k(l, e, r), y(e, n);
@@ -209,25 +215,25 @@ function qe(a) {
209
215
  ), d = [];
210
216
  for (let o = 0; o < r.length; o += 1)
211
217
  d[o] = ae($(a, r, o));
212
- function p(o, _) {
218
+ function f(o, _) {
213
219
  return (
214
220
  /*animationDone*/
215
221
  o[6] ? Ye : Ve
216
222
  );
217
223
  }
218
- let g = p(a), f = g(a);
224
+ let g = f(a), p = g(a);
219
225
  return {
220
226
  c() {
221
227
  e = b("div"), t = b("main"), n = b("div");
222
228
  for (let o = 0; o < d.length; o += 1)
223
229
  d[o].c();
224
- l = C(), f.c(), u(n, "class", "GamesContainer"), u(t, "class", "RandomGamesSliderWrapper"), u(e, "class", "RandomGameWrapper");
230
+ l = C(), p.c(), u(n, "class", "GamesContainer"), u(t, "class", "RandomGamesSliderWrapper"), u(e, "class", "RandomGameWrapper");
225
231
  },
226
232
  m(o, _) {
227
233
  k(o, e, _), y(e, t), y(t, n);
228
234
  for (let m = 0; m < d.length; m += 1)
229
235
  d[m] && d[m].m(n, null);
230
- a[23](n), y(e, l), f.m(e, null);
236
+ a[23](n), y(e, l), p.m(e, null);
231
237
  },
232
238
  p(o, _) {
233
239
  if (_[0] & /*gamesToShow*/
@@ -245,10 +251,10 @@ function qe(a) {
245
251
  d[m].d(1);
246
252
  d.length = r.length;
247
253
  }
248
- g === (g = p(o)) && f ? f.p(o, _) : (f.d(1), f = g(o), f && (f.c(), f.m(e, null)));
254
+ g === (g = f(o)) && p ? p.p(o, _) : (p.d(1), p = g(o), p && (p.c(), p.m(e, null)));
249
255
  },
250
256
  d(o) {
251
- o && v(e), Be(d, o), a[23](null), f.d();
257
+ o && v(e), Be(d, o), a[23](null), p.d();
252
258
  }
253
259
  };
254
260
  }
@@ -261,20 +267,20 @@ function ae(a) {
261
267
  a[41].name), u(t, "title", r = /*game*/
262
268
  a[41].name), u(e, "class", "item");
263
269
  },
264
- m(p, g) {
265
- k(p, e, g), y(e, t), y(e, d);
270
+ m(f, g) {
271
+ k(f, e, g), y(e, t), y(e, d);
266
272
  },
267
- p(p, g) {
273
+ p(f, g) {
268
274
  g[0] & /*gamesToShow*/
269
275
  16 && !X(t.src, n = /*game*/
270
- p[41].thumbnail) && u(t, "src", n), g[0] & /*gamesToShow*/
276
+ f[41].thumbnail) && u(t, "src", n), g[0] & /*gamesToShow*/
271
277
  16 && l !== (l = /*game*/
272
- p[41].name) && u(t, "alt", l), g[0] & /*gamesToShow*/
278
+ f[41].name) && u(t, "alt", l), g[0] & /*gamesToShow*/
273
279
  16 && r !== (r = /*game*/
274
- p[41].name) && u(t, "title", r);
280
+ f[41].name) && u(t, "title", r);
275
281
  },
276
- d(p) {
277
- p && v(e);
282
+ d(f) {
283
+ f && v(e);
278
284
  }
279
285
  };
280
286
  }
@@ -285,7 +291,7 @@ function Ve(a) {
285
291
  ), n;
286
292
  return {
287
293
  c() {
288
- e = b("p"), n = L(t), u(e, "class", "RandomGameLoading");
294
+ e = b("p"), n = F(t), u(e, "class", "RandomGameLoading");
289
295
  },
290
296
  m(l, r) {
291
297
  k(l, e, r), y(e, n);
@@ -304,7 +310,7 @@ function Ye(a) {
304
310
  let e, t, n, l, r = (
305
311
  /*randomGame*/
306
312
  a[3].name + ""
307
- ), d, p, g, f = (
313
+ ), d, f, g, p = (
308
314
  /*randomGame*/
309
315
  a[3].vendor.name + ""
310
316
  ), o, _, m, c = (
@@ -314,10 +320,10 @@ function Ye(a) {
314
320
  return {
315
321
  c() {
316
322
  e = b("button"), e.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));}
317
- </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`, t = C(), n = b("div"), l = b("p"), d = L(r), p = C(), g = b("p"), o = L(f), _ = C(), m = b("button"), s = L(c), u(e, "class", "RandomTryAgain"), u(l, "class", "RandomGameTitle"), u(g, "class", "RandomGameVendor"), u(m, "class", "RandomGamePlay"), u(n, "class", "RandomGameDetails");
323
+ </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`, t = C(), n = b("div"), l = b("p"), d = F(r), f = C(), g = b("p"), o = F(p), _ = C(), m = b("button"), s = F(c), u(e, "class", "RandomTryAgain"), u(l, "class", "RandomGameTitle"), u(g, "class", "RandomGameVendor"), u(m, "class", "RandomGamePlay"), u(n, "class", "RandomGameDetails");
318
324
  },
319
325
  m(G, R) {
320
- k(G, e, R), k(G, t, R), k(G, n, R), y(n, l), y(l, d), y(n, p), y(n, g), y(g, o), y(n, _), y(n, m), y(m, s), w || (S = [
326
+ k(G, e, R), k(G, t, R), k(G, n, R), y(n, l), y(l, d), y(n, f), y(n, g), y(g, o), y(n, _), y(n, m), y(m, s), w || (S = [
321
327
  J(
322
328
  e,
323
329
  "click",
@@ -336,8 +342,8 @@ function Ye(a) {
336
342
  R[0] & /*randomGame*/
337
343
  8 && r !== (r = /*randomGame*/
338
344
  G[3].name + "") && T(d, r), R[0] & /*randomGame*/
339
- 8 && f !== (f = /*randomGame*/
340
- G[3].vendor.name + "") && T(o, f), R[0] & /*$_*/
345
+ 8 && p !== (p = /*randomGame*/
346
+ G[3].vendor.name + "") && T(o, p), R[0] & /*$_*/
341
347
  512 && c !== (c = /*$_*/
342
348
  G[9]("playNowRandomGame") + "") && T(s, c);
343
349
  },
@@ -353,7 +359,7 @@ function Ke(a) {
353
359
  ), n;
354
360
  return {
355
361
  c() {
356
- e = b("span"), n = L(t), u(e, "class", "RandomButtonText");
362
+ e = b("span"), n = F(t), u(e, "class", "RandomButtonText");
357
363
  },
358
364
  m(l, r) {
359
365
  k(l, e, r), y(e, n);
@@ -372,7 +378,7 @@ function Xe(a) {
372
378
  let e, t;
373
379
  return {
374
380
  c() {
375
- e = b("span"), t = L(
381
+ e = b("span"), t = F(
376
382
  /*buttontext*/
377
383
  a[1]
378
384
  ), u(e, "class", "RandomButtonText");
@@ -394,7 +400,7 @@ function Xe(a) {
394
400
  };
395
401
  }
396
402
  function Ze(a) {
397
- let e, t, n, l, r, d, p, g, f, o = (
403
+ let e, t, n, l, r, d, f, g, p, o = (
398
404
  /*show*/
399
405
  a[5] && te(a)
400
406
  );
@@ -413,7 +419,7 @@ function Ze(a) {
413
419
  },
414
420
  m(s, w) {
415
421
  k(s, e, w), o && o.m(e, null), y(e, t), y(e, n), y(n, l), c && c.m(l, null), y(l, r), y(l, d), d.innerHTML = /*randombuttonicon*/
416
- a[0], a[27](e), p = !0, g || (f = J(
422
+ a[0], a[27](e), f = !0, g || (p = J(
417
423
  l,
418
424
  "click",
419
425
  /*click_handler_2*/
@@ -425,26 +431,26 @@ function Ze(a) {
425
431
  s[5] ? o ? (o.p(s, w), w[0] & /*show*/
426
432
  32 && I(o, 1)) : (o = te(s), o.c(), I(o, 1), o.m(e, t)) : o && (je(), O(o, 1, 1, () => {
427
433
  o = null;
428
- }), Ce()), m === (m = _(s)) && c ? c.p(s, w) : (c && c.d(1), c = m && m(s), c && (c.c(), c.m(l, r))), (!p || w[0] & /*randombuttonicon*/
434
+ }), Ce()), m === (m = _(s)) && c ? c.p(s, w) : (c && c.d(1), c = m && m(s), c && (c.c(), c.m(l, r))), (!f || w[0] & /*randombuttonicon*/
429
435
  1) && (d.innerHTML = /*randombuttonicon*/
430
436
  s[0]);
431
437
  },
432
438
  i(s) {
433
- p || (I(o), p = !0);
439
+ f || (I(o), f = !0);
434
440
  },
435
441
  o(s) {
436
- O(o), p = !1;
442
+ O(o), f = !1;
437
443
  },
438
444
  d(s) {
439
- s && v(e), o && o.d(), c && c.d(), a[27](null), g = !1, f();
445
+ s && v(e), o && o.d(), c && c.d(), a[27](null), g = !1, p();
440
446
  }
441
447
  };
442
448
  }
443
449
  function Qe(a, e, t) {
444
450
  let n;
445
- Fe(a, Ie, (i) => t(9, n = i));
446
- let { $$slots: l = {}, $$scope: r } = e, { endpoint: d = "" } = e, { datasource: p = "" } = e, { gameevent: g = "" } = e, { lang: f = "" } = e, { randombuttonicon: o = "" } = e, { buttontext: _ = "" } = e, { translationurl: m = "" } = e, { clientstyling: c = "" } = e, { clientstylingurl: s = "" } = e, { filteredrandomgamecategories: w = "" } = e, S = [], G = "", R, j = !1, D = !1, z = !1, ne = window.navigator.userAgent, F, W, E, B, U = null;
447
- Ae({ withLocale: "en", translations: {} });
451
+ Le(a, Ie, (i) => t(9, n = i));
452
+ let { $$slots: l = {}, $$scope: r } = e, { endpoint: d = "" } = e, { datasource: f = "" } = e, { gameevent: g = "" } = e, { lang: p = "" } = e, { randombuttonicon: o = "" } = e, { buttontext: _ = "" } = e, { translationurl: m = "" } = e, { clientstyling: c = "" } = e, { clientstylingurl: s = "" } = e, { filteredrandomgamecategories: w = "" } = e, S = [], G = "", R, j = !1, D = !1, z = !1, ne = window.navigator.userAgent, L, W, E, B, U = null;
453
+ Pe({ withLocale: "en", translations: {} });
448
454
  const oe = () => {
449
455
  fetch(m).then((h) => h.json()).then((h) => {
450
456
  Object.keys(h).forEach((x) => {
@@ -459,7 +465,7 @@ function Qe(a, e, t) {
459
465
  });
460
466
  const le = () => {
461
467
  let i = new URL(`${d}/v1/casino/games`);
462
- i.searchParams.append("platform", Ne(ne)), i.searchParams.append("datasource", p), i.searchParams.append("fields", "gId,id,href,thumbnail,name,vendor,categories"), w && i.searchParams.append("filter", `groups=${w}`), i.searchParams.append("expand", "categories,vendor"), i.searchParams.append("pagination", "offset=0,limit=1000"), fetch(i.href).then((h) => h.json()).then((h) => {
468
+ i.searchParams.append("platform", Ne(ne)), i.searchParams.append("datasource", f), i.searchParams.append("fields", "gId,id,href,thumbnail,name,vendor,categories"), w && i.searchParams.append("filter", `groups=${w}`), i.searchParams.append("expand", "categories,vendor"), i.searchParams.append("pagination", "offset=0,limit=1000"), fetch(i.href).then((h) => h.json()).then((h) => {
463
469
  S = h.items, S.length ? (t(4, R = ie(S.slice(0, 19))), t(7, z = !0)) : (t(4, R = []), t(7, z = !1));
464
470
  }).catch((h) => {
465
471
  console.log(h), t(7, z = !1);
@@ -467,9 +473,9 @@ function Qe(a, e, t) {
467
473
  }, ie = (i) => {
468
474
  const h = se(i);
469
475
  return h.concat(h);
470
- }, re = () => P(this, null, function* () {
476
+ }, re = () => A(this, null, function* () {
471
477
  yield Je(), B = Math.floor(Math.random() * (R.length / 2)) + R.length / 2, t(3, G = R[B]), E = W.children[B];
472
- }), A = () => P(this, null, function* () {
478
+ }), P = () => A(this, null, function* () {
473
479
  t(6, D = !1), t(5, j = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), yield re();
474
480
  const i = window.getComputedStyle(W).getPropertyValue("gap"), h = parseInt(i, 10) || 0, N = (E.offsetHeight + h) * B, we = [
475
481
  { transform: "translateX(0px)" },
@@ -505,16 +511,16 @@ function Qe(a, e, t) {
505
511
  }, me = () => {
506
512
  t(5, j = !1), window.postMessage({ type: "RandomWidgetState", state: j }, window.location.href);
507
513
  }, de = () => {
508
- Pe(f);
514
+ Ae(p);
509
515
  }, ce = () => {
510
516
  let i = document.createElement("style");
511
- i.innerHTML = c, F.appendChild(i);
517
+ i.innerHTML = c, L.appendChild(i);
512
518
  }, ue = () => {
513
519
  let i = new URL(s), h = document.createElement("style");
514
520
  fetch(i.href).then((x) => x.text()).then((x) => {
515
521
  h.innerHTML = x, setTimeout(
516
522
  () => {
517
- F.appendChild(h);
523
+ L.appendChild(h);
518
524
  },
519
525
  1
520
526
  );
@@ -525,25 +531,25 @@ function Qe(a, e, t) {
525
531
  W = i, t(8, W);
526
532
  });
527
533
  }
528
- const fe = () => A(), pe = () => q(), he = () => A();
534
+ const pe = () => P(), fe = () => q(), he = () => P();
529
535
  function ye(i) {
530
536
  V[i ? "unshift" : "push"](() => {
531
- F = i, t(2, F);
537
+ L = i, t(2, L);
532
538
  });
533
539
  }
534
540
  return a.$$set = (i) => {
535
- "endpoint" in i && t(13, d = i.endpoint), "datasource" in i && t(14, p = i.datasource), "gameevent" in i && t(15, g = i.gameevent), "lang" in i && t(16, f = i.lang), "randombuttonicon" in i && t(0, o = i.randombuttonicon), "buttontext" in i && t(1, _ = i.buttontext), "translationurl" in i && t(17, m = i.translationurl), "clientstyling" in i && t(18, c = i.clientstyling), "clientstylingurl" in i && t(19, s = i.clientstylingurl), "filteredrandomgamecategories" in i && t(20, w = i.filteredrandomgamecategories), "$$scope" in i && t(21, r = i.$$scope);
541
+ "endpoint" in i && t(13, d = i.endpoint), "datasource" in i && t(14, f = i.datasource), "gameevent" in i && t(15, g = i.gameevent), "lang" in i && t(16, p = i.lang), "randombuttonicon" in i && t(0, o = i.randombuttonicon), "buttontext" in i && t(1, _ = i.buttontext), "translationurl" in i && t(17, m = i.translationurl), "clientstyling" in i && t(18, c = i.clientstyling), "clientstylingurl" in i && t(19, s = i.clientstylingurl), "filteredrandomgamecategories" in i && t(20, w = i.filteredrandomgamecategories), "$$scope" in i && t(21, r = i.$$scope);
536
542
  }, a.$$.update = () => {
537
543
  a.$$.dirty[0] & /*lang*/
538
- 65536 && f && de(), a.$$.dirty[0] & /*translationurl*/
544
+ 65536 && p && de(), a.$$.dirty[0] & /*translationurl*/
539
545
  131072 && m && oe(), a.$$.dirty[0] & /*endpoint, datasource*/
540
- 24576 && d && p && le(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
541
- 262148 && c && F && ce(), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
542
- 524292 && s && F && ue();
546
+ 24576 && d && f && le(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
547
+ 262148 && c && L && ce(), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
548
+ 524292 && s && L && ue();
543
549
  }, [
544
550
  o,
545
551
  _,
546
- F,
552
+ L,
547
553
  G,
548
554
  R,
549
555
  j,
@@ -551,13 +557,13 @@ function Qe(a, e, t) {
551
557
  z,
552
558
  W,
553
559
  n,
554
- A,
560
+ P,
555
561
  q,
556
562
  me,
557
563
  d,
558
- p,
559
- g,
560
564
  f,
565
+ g,
566
+ p,
561
567
  m,
562
568
  c,
563
569
  s,
@@ -565,8 +571,8 @@ function Qe(a, e, t) {
565
571
  r,
566
572
  l,
567
573
  ge,
568
- fe,
569
574
  pe,
575
+ fe,
570
576
  he,
571
577
  ye
572
578
  ];