@everymatrix/casino-lobby 1.50.1 → 1.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoCategoriesSlider-C6tCM7PI.cjs +1 -0
- package/components/{CasinoCategoriesSlider-BnLGhDj2.js → CasinoCategoriesSlider-DZ3Xi2sD.js} +44 -40
- package/components/CasinoCollectionsProviders-BrLC6Grn.cjs +1 -0
- package/components/{CasinoCollectionsProviders-O5eYWKqu.js → CasinoCollectionsProviders-CNZ2cCAe.js} +5 -0
- package/components/{CasinoFavoritesSection-CumUm71T.js → CasinoFavoritesSection-B9gBh0NZ.js} +1 -1
- package/components/{CasinoFavoritesSection-CSDBLW4w.cjs → CasinoFavoritesSection-ChFh3su6.cjs} +1 -1
- package/components/CasinoFilter-BRH4KgQb.cjs +1 -0
- package/components/{CasinoFilter-Ba4pyyzC.js → CasinoFilter-D4w5681f.js} +6 -0
- package/components/{CasinoGamePage-D-0bV9s0.js → CasinoGamePage-CDh-e6Wj.js} +102 -93
- package/components/{CasinoGamePage-CAEcKO2C.cjs → CasinoGamePage-D-wyPyQN.cjs} +1 -1
- package/components/CasinoGameThumbnail-Cy1VrIc2.cjs +38 -0
- package/components/{CasinoGameThumbnail-Br4gzW2I.js → CasinoGameThumbnail-E3DsUeGg.js} +89 -81
- package/components/CasinoGamesCategorySection-B4Qu6J6Z.cjs +1 -0
- package/components/{CasinoGamesCategorySection-IDIjeUsC.js → CasinoGamesCategorySection-BMrvvE60.js} +93 -80
- package/components/CasinoJackpotBanner-BlShS5Vc.cjs +1 -0
- package/components/{CasinoJackpotBanner-D-0bynYa.js → CasinoJackpotBanner-DPuhYIS9.js} +30 -27
- package/components/CasinoLastPlayedSection-DffnfNRE.cjs +1 -0
- package/components/{CasinoLastPlayedSection-BHZA2U-l.js → CasinoLastPlayedSection-dSLftjtV.js} +43 -40
- package/components/{CasinoLobby-DQGjTjXn.cjs → CasinoLobby-Dz801OXj.cjs} +1 -1
- package/components/{CasinoLobby-BSBqQiwz.js → CasinoLobby-Th0vuI9M.js} +3 -3
- package/components/{CasinoMostPlayedSection-B4cUve-8.js → CasinoMostPlayedSection-CVtfFNhO.js} +35 -32
- package/components/CasinoMostPlayedSection-DZGaHB3O.cjs +1 -0
- package/components/{CasinoMyGames-DG40cnqo.js → CasinoMyGames-BnnaietT.js} +40 -35
- package/components/CasinoMyGames-CfS6qq0G.cjs +1 -0
- package/components/{CasinoPage-DZofqKdq.js → CasinoPage-Bl_V6Pl7.js} +600 -588
- package/components/CasinoPage-BmEQljJI.cjs +1 -0
- package/components/CasinoRandomGame-BpdxwlFB.cjs +2 -0
- package/components/{CasinoRandomGame-ClDKDIUi.js → CasinoRandomGame-Cw331FLx.js} +75 -69
- package/components/CasinoSearch-Dd4amKB_.cjs +1 -0
- package/components/{CasinoSearch-nhPFLDr6.js → CasinoSearch-Y5NcDcXt.js} +60 -50
- package/components/CasinoSlider-GXmtset2.cjs +1 -0
- package/components/{CasinoSlider-DDJYl0_C.js → CasinoSlider-b2MX1hWZ.js} +164 -159
- package/components/CasinoSort-Bb3WIr_q.cjs +1 -0
- package/components/{CasinoSort-COqebE70.js → CasinoSort-ContI1pC.js} +24 -17
- package/components/CasinoWinners-CUORt5E8.cjs +1 -0
- package/components/{CasinoWinners-B-NBTMbI.js → CasinoWinners-CwPF3r2V.js} +102 -92
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/components/CasinoCategoriesSlider-MGSqtuSH.cjs +0 -1
- package/components/CasinoCollectionsProviders-7MJNy6vH.cjs +0 -1
- package/components/CasinoFilter-DPFQTDnp.cjs +0 -1
- package/components/CasinoGameThumbnail-q80EbGZc.cjs +0 -38
- package/components/CasinoGamesCategorySection-ChO8lRW6.cjs +0 -1
- package/components/CasinoJackpotBanner-DBLcL6wU.cjs +0 -1
- package/components/CasinoLastPlayedSection-Dn26Po-i.cjs +0 -1
- package/components/CasinoMostPlayedSection-DWj3eB25.cjs +0 -1
- package/components/CasinoMyGames-JPu4ITbh.cjs +0 -1
- package/components/CasinoPage-CUgnyFdX.cjs +0 -1
- package/components/CasinoRandomGame-BopxEXk6.cjs +0 -2
- package/components/CasinoSearch-BHqi_Ojn.cjs +0 -1
- package/components/CasinoSlider-DzlnKD97.cjs +0 -1
- package/components/CasinoSort-DqAXg8IN.cjs +0 -1
- 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("./CasinoGamesCategorySection-B4Qu6J6Z.cjs");const H=require("./CasinoGamePage-D-wyPyQN.cjs");function X(n,t){e.addMessages(n,t)}function Re(n){e.$locale.set(n)}const K={en:{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"zh-hk":{recentSearch:"最近的搜索",loading:"加载请稍候",searchResult:"搜索结果",cancel:"取消",notFound:"找不到游戏!",notFoundText:"请输入正确的游戏名称开始玩。",noRecentSearches:"还没有最近的搜索。 搜索我们的任何游戏。"},de:{recentSearch:"Letzte Suche",placeHolderSearchGames:"Hier nach Spielen suchen",loading:"Es lädt, bitte warten...",searchResult:"Ergebnis suchen",cancel:"Abbrechen",notFound:"Spiel wurde nicht gefunden!",notFoundText:"Spiel nicht gefunden! Bitte verwende den richtigen Spielnamen um es zu starten.",noRecentSearches:"Keine vorherige Suche vorhanden! Suche nach einem beliebigen Spiel"},it:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},fr:{recentSearch:"Recherche récente",placeHolderSearchGames:"Recherche de jeux de casino",loading:"Chargement, veuillez patienter",searchResult:"Résultat de la recherche",cancel:"Annuler",notFound:"Jeu non trouvé!",notFoundText:"Veuillez saisir le nom correct du jeu pour commencer à jouer.",noRecentSearches:"Pas encore de recherches récentes. Recherchez l'un de nos jeux."},es:{recentSearch:"Busqueda reciente",placeHolderSearchGames:"Buscar juegos",loading:"Cargando",searchResult:"Resultado de busqueda",cancel:"Cancelar",notFound:"Juego no encontrado!",notFoundText:"Por favor escriba el nombre correcto del juego para empezar a jugar.",noRecentSearches:"No hay búsquedas recientes. Busca cualquiera de nuestros juegos"},gr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},tr:{recentSearch:"Son arama",loading:"Yükleniyor, lütfen bekleyin...",searchResult:"Arama sonucu",cancel:"İptal",notFound:"Oyun bulunamadı!",notFoundText:"Oynamaya başlamak için lütfen oyunun doğru adını yazın.",noRecentSearches:"Henüz son arama yok. Oyunlarımızdan herhangi birini arayın.",placeHolderSearchGames:"Oyun ara ..."},ru:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play."},ro:{recentSearch:"Cautari recente",loading:"Se incarca, te rugam asteapta…",searchResult:"Rezultat cautare",cancel:"Anuleaza",notFound:"Nu am gasit niciun rezultat!",notFoundText:"Te rugam sa introduci corect numele jocului.",noRecentSearches:"Nu sunt cautari recente. Cauta oricare din jocurile noastre.",placeHolderSearchGames:"Căutați Jocuri"},hr:{recentSearch:"Nedavna pretraga",loading:"Učitavanje",searchResult:"Rezultat pretrage",cancel:"Otkaži",notFound:"Igra nije pronađena!",notFoundText:"Molimo upišite točan naziv igre kako biste započeli igrati.",noRecentSearches:"Još nema nedavnih pretraživanja. Potražite bilo koju od naših igara.",placeHolderSearchGames:"Traži igre"},hu:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pt:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",placeHolderSearchGames:"Pesquisar jogos",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"es-mx":{recentSearch:"Búsqueda reciente",loading:"Cargando, por favor espera",searchResult:"Resultado de la búsqueda",placeHolderSearchGames:"Buscar juegos",cancel:"Cancelar",notFound:"¡Juego no encontrado!",notFoundText:"Por favor, escribe el nombre correcto del juego para comenzar a jugar.",noRecentSearches:"Aún no hay búsquedas recientes. Busca cualquiera de nuestros juegos."},"pt-br":{recentSearch:"Pesquisa recente",loading:"Carregando, por favor aguarde",searchResult:"Resultado da pesquisa",placeHolderSearchGames:"Buscar jogos",cancel:"Cancelar",notFound:"Jogo não encontrado!",notFoundText:"Por favor, digite o nome correto do jogo para começar a jogar.",noRecentSearches:"Ainda não há pesquisas recentes. Busque por qualquer um dos nossos jogos."},"en-us":{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}};function Le(n){e.append_styles(n,"svelte-8vixmz","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.CasinoSearch{margin:30px 16px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;margin-bottom:20px;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-100, #E6E6E6);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%;padding-right:28px}.SearchInput::placeholder{color:var(--emw--color-gray-150, #828282);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emw--color-gray-300, #58586B)}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emw--color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emw--color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}casino-game-thumbnail-nd{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:30px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}")}function Q(n,t,a){const r=n.slice();return r[53]=t[a],r}function $(n){let t,a=n[20]("cancel")+"",r,o,i,l;return{c(){t=e.element("small"),r=e.text(a),e.attr(t,"class",o="SearchCancelButton "+(n[12]?"NotVisible":""))},m(c,u){e.insert(c,t,u),e.append(t,r),i||(l=e.listen(t,"click",n[35]),i=!0)},p(c,u){u[0]&1048576&&a!==(a=c[20]("cancel")+"")&&e.set_data(r,a),u[0]&4096&&o!==(o="SearchCancelButton "+(c[12]?"NotVisible":""))&&e.attr(t,"class",o)},d(c){c&&e.detach(t),i=!1,l()}}}function Fe(n){let t,a,r,o;function i(d,f){if(d[16]==!0&&d[11].length<2)return Ge;if(d[14].length!=0)return je}let l=i(n),c=l&&l(n),u=n[12]===!1&&ne(n),m=n[11].length>=2&&n[14].length==0&&se(n);return{c(){c&&c.c(),t=e.space(),a=e.element("div"),u&&u.c(),r=e.space(),m&&m.c(),e.attr(a,"class",o="SearchResultsContainer "+(n[16]==!0?"":"NotVisible"))},m(d,f){c&&c.m(d,f),e.insert(d,t,f),e.insert(d,a,f),u&&u.m(a,null),e.append(a,r),m&&m.m(a,null)},p(d,f){l===(l=i(d))&&c?c.p(d,f):(c&&c.d(1),c=l&&l(d),c&&(c.c(),c.m(t.parentNode,t))),d[12]===!1?u?u.p(d,f):(u=ne(d),u.c(),u.m(a,r)):u&&(u.d(1),u=null),d[11].length>=2&&d[14].length==0?m?m.p(d,f):(m=se(d),m.c(),m.m(a,null)):m&&(m.d(1),m=null),f[0]&65536&&o!==(o="SearchResultsContainer "+(d[16]==!0?"":"NotVisible"))&&e.attr(a,"class",o)},d(d){d&&(e.detach(t),e.detach(a)),c&&c.d(d),u&&u.d(),m&&m.d()}}}function Te(n){let t,a=n[20]("loading")+"",r;return{c(){t=e.element("p"),r=e.text(a),e.attr(t,"class","LoadingContent")},m(o,i){e.insert(o,t,i),e.append(t,r)},p(o,i){i[0]&1048576&&a!==(a=o[20]("loading")+"")&&e.set_data(r,a)},d(o){o&&e.detach(t)}}}function je(n){let t,a=n[20]("searchResult")+"",r;return{c(){t=e.element("p"),r=e.text(a),e.attr(t,"class","SearchMessage")},m(o,i){e.insert(o,t,i),e.append(t,r)},p(o,i){i[0]&1048576&&a!==(a=o[20]("searchResult")+"")&&e.set_data(r,a)},d(o){o&&e.detach(t)}}}function Ge(n){let t,a,r=n[14].length!==0&&ee(n),o=n[14].length==0&&te(n);return{c(){r&&r.c(),t=e.space(),o&&o.c(),a=e.empty()},m(i,l){r&&r.m(i,l),e.insert(i,t,l),o&&o.m(i,l),e.insert(i,a,l)},p(i,l){i[14].length!==0?r?r.p(i,l):(r=ee(i),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),i[14].length==0?o?o.p(i,l):(o=te(i),o.c(),o.m(a.parentNode,a)):o&&(o.d(1),o=null)},d(i){i&&(e.detach(t),e.detach(a)),r&&r.d(i),o&&o.d(i)}}}function ee(n){let t,a=n[20]("recentSearch")+"",r;return{c(){t=e.element("p"),r=e.text(a),e.attr(t,"class","SearchMessage")},m(o,i){e.insert(o,t,i),e.append(t,r)},p(o,i){i[0]&1048576&&a!==(a=o[20]("recentSearch")+"")&&e.set_data(r,a)},d(o){o&&e.detach(t)}}}function te(n){let t,a,r,o=n[20]("noRecentSearches")+"",i,l,c=n[10]==="true"&&ae();return{c(){t=e.element("div"),c&&c.c(),a=e.space(),r=e.element("p"),i=e.text(o),e.attr(r,"class","SearchMessage"),e.attr(t,"class",l="ResultsContainerError "+(n[10]=="true"?"WithIcon":""))},m(u,m){e.insert(u,t,m),c&&c.m(t,null),e.append(t,a),e.append(t,r),e.append(r,i)},p(u,m){u[10]==="true"?c||(c=ae(),c.c(),c.m(t,a)):c&&(c.d(1),c=null),m[0]&1048576&&o!==(o=u[20]("noRecentSearches")+"")&&e.set_data(i,o),m[0]&1024&&l!==(l="ResultsContainerError "+(u[10]=="true"?"WithIcon":""))&&e.attr(t,"class",l)},d(u){u&&e.detach(t),c&&c.d()}}}function ae(n){let t;return{c(){t=e.element("div"),t.innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>',e.attr(t,"class","SearchErrorIcon")},m(a,r){e.insert(a,t,r)},d(a){a&&e.detach(t)}}}function ne(n){let t,a=e.ensure_array_like(n[14]),r=[];for(let o=0;o<a.length;o+=1)r[o]=re(Q(n,a,o));return{c(){for(let o=0;o<r.length;o+=1)r[o].c();t=e.empty()},m(o,i){for(let l=0;l<r.length;l+=1)r[l]&&r[l].m(o,i);e.insert(o,t,i)},p(o,i){if(i[0]&17580543){a=e.ensure_array_like(o[14]);let l;for(l=0;l<a.length;l+=1){const c=Q(o,a,l);r[l]?r[l].p(c,i):(r[l]=re(c),r[l].c(),r[l].m(t.parentNode,t))}for(;l<r.length;l+=1)r[l].d(1);r.length=a.length}},d(o){o&&e.detach(t),e.destroy_each(r,o)}}}function re(n){let t,a,r,o,i,l,c,u,m,d,f,w;return{c(){var h;t=e.element("casino-game-thumbnail"),e.set_custom_element_data(t,"endpoint",n[0]),e.set_custom_element_data(t,"session",n[18]),e.set_custom_element_data(t,"userid",n[19]),e.set_custom_element_data(t,"favorites",n[8]),e.set_custom_element_data(t,"lang",n[1]),e.set_custom_element_data(t,"gamethumbnail",a=n[53].thumbnail),e.set_custom_element_data(t,"gamename",r=n[53].name),e.set_custom_element_data(t,"gamevendor",o=n[53].vendor.displayName),e.set_custom_element_data(t,"gameLaunchUrl",i=n[53].launchUrl),e.set_custom_element_data(t,"gameisnew",l=n[53].isNew),e.set_custom_element_data(t,"gametag",c=((h=n[53].advancedTags)==null?void 0:h.length)>0&&n[24](n[53].advancedTags)),e.set_custom_element_data(t,"gamecellsize",u=n[53].cellSize),e.set_custom_element_data(t,"gameid",m=n[53].id),e.set_custom_element_data(t,"showgamename",n[6]),e.set_custom_element_data(t,"gamefunmode",d=n[53].hasFunMode),e.set_custom_element_data(t,"gamefavorite",f=n[53].isFavorite),e.set_custom_element_data(t,"livelobbyendpoint",w=n[53].details?n[53].launchUrl:""),e.set_custom_element_data(t,"integratedgameframedesktop",n[4]),e.set_custom_element_data(t,"integratedgameframemobile",n[5]),e.set_custom_element_data(t,"clientstyling",n[2]),e.set_custom_element_data(t,"clientstylingurl",n[3]),e.set_custom_element_data(t,"gamepagemodalurl",n[7])},m(h,p){e.insert(h,t,p)},p(h,p){var T;p[0]&1&&e.set_custom_element_data(t,"endpoint",h[0]),p[0]&262144&&e.set_custom_element_data(t,"session",h[18]),p[0]&524288&&e.set_custom_element_data(t,"userid",h[19]),p[0]&256&&e.set_custom_element_data(t,"favorites",h[8]),p[0]&2&&e.set_custom_element_data(t,"lang",h[1]),p[0]&16384&&a!==(a=h[53].thumbnail)&&e.set_custom_element_data(t,"gamethumbnail",a),p[0]&16384&&r!==(r=h[53].name)&&e.set_custom_element_data(t,"gamename",r),p[0]&16384&&o!==(o=h[53].vendor.displayName)&&e.set_custom_element_data(t,"gamevendor",o),p[0]&16384&&i!==(i=h[53].launchUrl)&&e.set_custom_element_data(t,"gameLaunchUrl",i),p[0]&16384&&l!==(l=h[53].isNew)&&e.set_custom_element_data(t,"gameisnew",l),p[0]&16384&&c!==(c=((T=h[53].advancedTags)==null?void 0:T.length)>0&&h[24](h[53].advancedTags))&&e.set_custom_element_data(t,"gametag",c),p[0]&16384&&u!==(u=h[53].cellSize)&&e.set_custom_element_data(t,"gamecellsize",u),p[0]&16384&&m!==(m=h[53].id)&&e.set_custom_element_data(t,"gameid",m),p[0]&64&&e.set_custom_element_data(t,"showgamename",h[6]),p[0]&16384&&d!==(d=h[53].hasFunMode)&&e.set_custom_element_data(t,"gamefunmode",d),p[0]&16384&&f!==(f=h[53].isFavorite)&&e.set_custom_element_data(t,"gamefavorite",f),p[0]&16384&&w!==(w=h[53].details?h[53].launchUrl:"")&&e.set_custom_element_data(t,"livelobbyendpoint",w),p[0]&16&&e.set_custom_element_data(t,"integratedgameframedesktop",h[4]),p[0]&32&&e.set_custom_element_data(t,"integratedgameframemobile",h[5]),p[0]&4&&e.set_custom_element_data(t,"clientstyling",h[2]),p[0]&8&&e.set_custom_element_data(t,"clientstylingurl",h[3]),p[0]&128&&e.set_custom_element_data(t,"gamepagemodalurl",h[7])},d(h){h&&e.detach(t)}}}function se(n){let t,a,r,o=n[20]("notFound")+"",i,l,c,u=n[20]("notFoundText")+"",m,d,f=n[10]==="true"&&oe();return{c(){t=e.element("div"),f&&f.c(),a=e.space(),r=e.element("p"),i=e.text(o),l=e.space(),c=e.element("p"),m=e.text(u),e.attr(r,"class","SearchMessage"),e.attr(t,"class",d="ResultsContainerError "+(n[10]=="true"?"WithIcon":""))},m(w,h){e.insert(w,t,h),f&&f.m(t,null),e.append(t,a),e.append(t,r),e.append(r,i),e.append(t,l),e.append(t,c),e.append(c,m)},p(w,h){w[10]==="true"?f||(f=oe(),f.c(),f.m(t,a)):f&&(f.d(1),f=null),h[0]&1048576&&o!==(o=w[20]("notFound")+"")&&e.set_data(i,o),h[0]&1048576&&u!==(u=w[20]("notFoundText")+"")&&e.set_data(m,u),h[0]&1024&&d!==(d="ResultsContainerError "+(w[10]=="true"?"WithIcon":""))&&e.attr(t,"class",d)},d(w){w&&e.detach(t),f&&f.d()}}}function oe(n){let t;return{c(){t=e.element("div"),t.innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>',e.attr(t,"class","SearchErrorIcon")},m(a,r){e.insert(a,t,r)},d(a){a&&e.detach(t)}}}function ze(n){let t,a,r,o,i,l,c,u,m,d,f,w,h,p,T,j,z,P,I,G,b=n[9]==="true"&&$(n);function N(S,y){return S[17]?Te:Fe}let R=N(n),C=R(n);return{c(){t=e.element("div"),a=e.element("div"),r=e.element("div"),o=e.element("div"),o.innerHTML='<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>',i=e.space(),l=e.element("input"),u=e.space(),m=e.element("span"),d=e.svg_element("svg"),f=e.svg_element("path"),h=e.space(),b&&b.c(),T=e.space(),j=e.element("div"),P=e.space(),C.c(),e.attr(o,"class","SearchIcon"),e.attr(l,"class","SearchInput"),e.attr(l,"type","search"),e.attr(l,"placeholder",c=n[20]("placeHolderSearchGames")),e.attr(l,"maxlength",Ie),e.attr(f,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),e.attr(f,"stroke","#717171"),e.attr(f,"stroke-width","2"),e.attr(f,"stroke-linecap","round"),e.attr(f,"stroke-linejoin","round"),e.attr(d,"width","11"),e.attr(d,"height","11"),e.attr(d,"fill","none"),e.attr(d,"xmlns","http://www.w3.org/2000/svg"),e.attr(m,"class",w="SearchClearButton "+(n[9]!="true"?"WithoutCancel":"")+" "+(n[11].length!=0?"":"NotVisible")),e.attr(r,"class",p="Search "+(n[12]?"":"SearchAnimation")),e.attr(a,"class","SearchWrap"),e.attr(j,"class",z=n[9]!="true"?"OverlayCancel":""),e.attr(t,"class",(e.getDevice(n[21])!=="PC"?"":"Desktop")+" CasinoSearch")},m(S,y){e.insert(S,t,y),e.append(t,a),e.append(a,r),e.append(r,o),e.append(r,i),e.append(r,l),e.set_input_value(l,n[11]),n[33](l),e.append(r,u),e.append(r,m),e.append(m,d),e.append(d,f),e.append(r,h),b&&b.m(r,null),e.append(t,T),e.append(t,j),e.append(t,P),C.m(t,null),n[36](t),I||(G=[e.listen(l,"input",n[32]),e.listen(l,"focus",n[22]),e.listen(m,"click",n[34]),e.listen(j,"click",n[23])],I=!0)},p(S,y){y[0]&1048576&&c!==(c=S[20]("placeHolderSearchGames"))&&e.attr(l,"placeholder",c),y[0]&2048&&l.value!==S[11]&&e.set_input_value(l,S[11]),y[0]&2560&&w!==(w="SearchClearButton "+(S[9]!="true"?"WithoutCancel":"")+" "+(S[11].length!=0?"":"NotVisible"))&&e.attr(m,"class",w),S[9]==="true"?b?b.p(S,y):(b=$(S),b.c(),b.m(r,null)):b&&(b.d(1),b=null),y[0]&4096&&p!==(p="Search "+(S[12]?"":"SearchAnimation"))&&e.attr(r,"class",p),y[0]&512&&z!==(z=S[9]!="true"?"OverlayCancel":"")&&e.attr(j,"class",z),R===(R=N(S))&&C?C.p(S,y):(C.d(1),C=R(S),C&&(C.c(),C.m(t,null)))},i:e.noop,o:e.noop,d(S){S&&e.detach(t),n[33](null),b&&b.d(),C.d(),n[36](null),I=!1,e.run_all(G)}}}let Ie=50;function xe(n,t,a){let r;e.component_subscribe(n,e.$format,s=>a(20,r=s));let{endpoint:o=""}=t,{datasource:i=""}=t,{session:l=""}=t,{userid:c=""}=t,{lang:u="en"}=t,{clientstyling:m=""}=t,{clientstylingurl:d=""}=t,{integratedgameframedesktop:f="false"}=t,{integratedgameframemobile:w="false"}=t,{showgamename:h=""}=t,{gamepagemodalurl:p="true"}=t,{translationurl:T=""}=t,{showfavorites:j=""}=t,{cancelbutton:z="true"}=t,{notfoundicon:P="false"}=t,I=window.navigator.userAgent,G=[],b=[],N={},R="",C,S=!0,y=!1,F=!1,x,D=!1,B,q,W=[];const ie=()=>{fetch(T).then(g=>g.json()).then(g=>{Object.keys(g).forEach(_=>{X(_,g[_])})}).catch(g=>{console.log(g)})};Object.keys(K).forEach(s=>{X(s,K[s])});const U=s=>{s.data&&s.data.type=="SearchedItemClicked"&&ge(s.data.gameId),s.data.type=="UserSessionID"&&(a(18,B=s.data.session),a(19,q=s.data.userid),a(31,D=!0)),s.data.type=="CategoryChange"&&A()},V=()=>{if(a(12,S=!1),a(16,y=!0),o&&i&&u&&R.length<2){a(14,G=[]);let s=localStorage.getItem("searchedGamesWds_casino"),g=[];s&&(g=s.split(","));let _=[],v=0,k=g.length;if(k>0){for(v=0;v<k;v++){let L=new URL(`${o}/v1/casino/games/${g[v]}`);L.searchParams.append("language",u),L.searchParams.append("datasource",i),L.searchParams.append("platform",e.getDevice(I)),_.push(de(L,g[v]))}Promise.all(_).then(L=>{L=L.filter(function(E){return!!E}),a(14,G=L.map(E=>(E.isFavorite=J(E.id),E))),G.length?M("searchSuccess","SearchWidget"):M("searchFail","SearchWidget")}).catch(L=>{M("searchError","SearchWidget")})}}Y(y),M("searchAttempt","SearchWidget"),M("SearchInitialized","SearchWidget")},M=(s,g)=>{typeof gtag=="function"&>ag("event",s,{context:g})},ce=()=>{z!="true"&&A()},ue=s=>new Promise((g,_)=>{a(17,F=!0),fetch(s.href).then(v=>v.json()).then(v=>{a(17,F=!1),g(v)}).catch(v=>{a(17,F=!1),console.error(v),_(v)})}),de=(s,g)=>new Promise((_,v)=>{a(17,F=!0),g&&Object.keys(N).indexOf(g)>=0?(a(17,F=!1),_(N[g])):fetch(s).then(k=>k.json()).then(k=>{a(17,F=!1),k.error||(N[k[0].gameId]=k[0]),_(k[0])}).catch(k=>{a(17,F=!1),console.error(k),v(k)})}),he=()=>{const s=new URL(`${o}/v1/player/${q}/favorites/`);a(17,F=!0);let g={method:"GET",headers:{"X-SessionID":B}};fetch(s.href,g).then(_=>_.json()).then(_=>{a(17,F=!1),W=_.items.map(v=>v.id)})},me=()=>{a(31,D=!0),a(18,B=l),a(19,q=c)},J=s=>W.findIndex(g=>g==s)!==-1,fe=s=>{if((s==null?void 0:s.length)===0)return"";let g,_=99999999999,v;const k=new Date(Date.now());return s.forEach((L,E)=>{const Ce=new Date(L.schedules[0].startTime),O=new Date(L.schedules[0].endTime);H.hooks(O).diff(k)<_&&(_=H.hooks(O).diff(k),v=E),H.hooks(k).isAfter(Ce)&&H.hooks(k).isBefore(O)&&(g=s[v].name)}),g},ge=s=>{if(b=localStorage.getItem("searchedGamesWds_casino"),b?b=b.split(","):b=[],b.indexOf(s)===-1){let g;b.unshift(s),g=b.join(","),localStorage.setItem("searchedGamesWds_casino",g)}},A=()=>{a(11,R=""),a(12,S=!0),a(17,F=!1),a(14,G=[]),a(16,y=!1),Y(y)},Z=()=>{a(11,R=""),C.focus()},Y=s=>{window.postMessage({type:s===!0?"searchActive":"searchCancelled",searchStatus:s},window.location.href)},pe=()=>{Re(u)},_e=()=>{let s=document.createElement("style");s.innerHTML=m,x.appendChild(s)},Se=()=>{let s=new URL(d),g=document.createElement("style");fetch(s.href).then(_=>_.text()).then(_=>{g.innerHTML=_,setTimeout(()=>{x.appendChild(g)},1)})};e.onMount(()=>(window.addEventListener("message",U,!1),()=>{window.removeEventListener("message",U)}));function be(){R=this.value,a(11,R)}function we(s){e.binding_callbacks[s?"unshift":"push"](()=>{C=s,a(15,C)})}const ve=()=>Z(),ke=()=>A();function ye(s){e.binding_callbacks[s?"unshift":"push"](()=>{x=s,a(13,x)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(27,i=s.datasource),"session"in s&&a(28,l=s.session),"userid"in s&&a(29,c=s.userid),"lang"in s&&a(1,u=s.lang),"clientstyling"in s&&a(2,m=s.clientstyling),"clientstylingurl"in s&&a(3,d=s.clientstylingurl),"integratedgameframedesktop"in s&&a(4,f=s.integratedgameframedesktop),"integratedgameframemobile"in s&&a(5,w=s.integratedgameframemobile),"showgamename"in s&&a(6,h=s.showgamename),"gamepagemodalurl"in s&&a(7,p=s.gamepagemodalurl),"translationurl"in s&&a(30,T=s.translationurl),"showfavorites"in s&&a(8,j=s.showfavorites),"cancelbutton"in s&&a(9,z=s.cancelbutton),"notfoundicon"in s&&a(10,P=s.notfoundicon)},n.$$.update=()=>{if(n.$$.dirty[0]&134223875)if(R.length>=2){const s=new URL(`${o}/v1/casino/games`);s.searchParams.append("datasource",i),s.searchParams.append("expand","vendor"),s.searchParams.append("platform",e.getDevice(I)),s.searchParams.append("language",u),s.searchParams.append("pagination","offset=0,limit=30"),s.searchParams.append("filter",`name=${R}`),ue(s).then(g=>{a(14,G=g.items.map(_=>(_.isFavorite=J(_.id),_)))})}else S||V();n.$$.dirty[0]&2&&u&&pe(),n.$$.dirty[0]&1073741824&&T&&ie(),n.$$.dirty[0]&805306368&&l&&c&&me(),n.$$.dirty[0]&256|n.$$.dirty[1]&1&&j&&D&&he(),n.$$.dirty[0]&8196&&m&&x&&_e(),n.$$.dirty[0]&8200&&d&&x&&Se()},[o,u,m,d,f,w,h,p,j,z,P,R,S,x,G,C,y,F,B,q,r,I,V,ce,fe,A,Z,i,l,c,T,D,be,we,ve,ke,ye]}class le extends e.SvelteComponent{constructor(t){super(),e.init(this,t,xe,ze,e.safe_not_equal,{endpoint:0,datasource:27,session:28,userid:29,lang:1,clientstyling:2,clientstylingurl:3,integratedgameframedesktop:4,integratedgameframemobile:5,showgamename:6,gamepagemodalurl:7,translationurl:30,showfavorites:8,cancelbutton:9,notfoundicon:10},Le,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[27]}set datasource(t){this.$$set({datasource:t}),e.flush()}get session(){return this.$$.ctx[28]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[29]}set userid(t){this.$$set({userid:t}),e.flush()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[4]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[5]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get showgamename(){return this.$$.ctx[6]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[7]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get translationurl(){return this.$$.ctx[30]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get showfavorites(){return this.$$.ctx[8]}set showfavorites(t){this.$$set({showfavorites:t}),e.flush()}get cancelbutton(){return this.$$.ctx[9]}set cancelbutton(t){this.$$set({cancelbutton:t}),e.flush()}get notfoundicon(){return this.$$.ctx[10]}set notfoundicon(t){this.$$set({notfoundicon:t}),e.flush()}}e.create_custom_element(le,{endpoint:{},datasource:{},session:{},userid:{},lang:{},clientstyling:{},clientstylingurl:{},integratedgameframedesktop:{},integratedgameframemobile:{},showgamename:{},gamepagemodalurl:{},translationurl:{},showfavorites:{},cancelbutton:{},notfoundicon:{}},[],[],!0);exports.default=le;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { I as He, $ as Oe, S as qe, i as We, f as T, c as Ue, s as Ve, b as Je, e as y, q as N, E as le, u as f, L as ee, d as j, v as
|
|
2
|
-
import "./CasinoGamesCategorySection-
|
|
3
|
-
import { h as Q } from "./CasinoGamePage-
|
|
1
|
+
import { I as He, $ as Oe, S as qe, i as We, f as T, c as Ue, s as Ve, b as Je, e as y, q as N, E as le, u as f, L as ee, d as j, v as _, U as ie, w as J, C as ce, j as I, R as Ze, J as Ye, o as Xe, r as O, A as q, m as ue, p as he, F as ye, B as Ke, M as d, O as Qe } from "./CasinoCalendar-0AyYaYr6.js";
|
|
2
|
+
import "./CasinoGamesCategorySection-BMrvvE60.js";
|
|
3
|
+
import { h as Q } from "./CasinoGamePage-CDh-e6Wj.js";
|
|
4
4
|
function de(a, e) {
|
|
5
5
|
He(a, e);
|
|
6
6
|
}
|
|
@@ -178,6 +178,16 @@ const me = {
|
|
|
178
178
|
notFound: "Jogo não encontrado!",
|
|
179
179
|
notFoundText: "Por favor, digite o nome correto do jogo para começar a jogar.",
|
|
180
180
|
noRecentSearches: "Ainda não há pesquisas recentes. Busque por qualquer um dos nossos jogos."
|
|
181
|
+
},
|
|
182
|
+
"en-us": {
|
|
183
|
+
recentSearch: "Recent search",
|
|
184
|
+
placeHolderSearchGames: "Search for Games",
|
|
185
|
+
loading: "Loading, please wait",
|
|
186
|
+
searchResult: "Search result",
|
|
187
|
+
cancel: "Cancel",
|
|
188
|
+
notFound: "Game not found!",
|
|
189
|
+
notFoundText: "Please type the correct name of the game to start to play.",
|
|
190
|
+
noRecentSearches: "No recent searches yet. Search for any of our games."
|
|
181
191
|
}
|
|
182
192
|
};
|
|
183
193
|
function et(a) {
|
|
@@ -198,7 +208,7 @@ function fe(a) {
|
|
|
198
208
|
(a[12] ? "NotVisible" : ""));
|
|
199
209
|
},
|
|
200
210
|
m(i, c) {
|
|
201
|
-
j(i, e, c),
|
|
211
|
+
j(i, e, c), _(e, n), l || (s = J(
|
|
202
212
|
e,
|
|
203
213
|
"click",
|
|
204
214
|
/*click_handler_1*/
|
|
@@ -244,7 +254,7 @@ function tt(a) {
|
|
|
244
254
|
(a[16] == !0 ? "" : "NotVisible"));
|
|
245
255
|
},
|
|
246
256
|
m(u, g) {
|
|
247
|
-
i && i.m(u, g), j(u, e, g), j(u, t, g), c && c.m(t, null),
|
|
257
|
+
i && i.m(u, g), j(u, e, g), j(u, t, g), c && c.m(t, null), _(t, n), m && m.m(t, null);
|
|
248
258
|
},
|
|
249
259
|
p(u, g) {
|
|
250
260
|
s === (s = l(u)) && i ? i.p(u, g) : (i && i.d(1), i = s && s(u), i && (i.c(), i.m(e.parentNode, e))), /*searchCancelled*/
|
|
@@ -269,7 +279,7 @@ function at(a) {
|
|
|
269
279
|
e = y("p"), n = O(t), f(e, "class", "LoadingContent");
|
|
270
280
|
},
|
|
271
281
|
m(o, l) {
|
|
272
|
-
j(o, e, l),
|
|
282
|
+
j(o, e, l), _(e, n);
|
|
273
283
|
},
|
|
274
284
|
p(o, l) {
|
|
275
285
|
l[0] & /*$_*/
|
|
@@ -291,7 +301,7 @@ function nt(a) {
|
|
|
291
301
|
e = y("p"), n = O(t), f(e, "class", "SearchMessage");
|
|
292
302
|
},
|
|
293
303
|
m(o, l) {
|
|
294
|
-
j(o, e, l),
|
|
304
|
+
j(o, e, l), _(e, n);
|
|
295
305
|
},
|
|
296
306
|
p(o, l) {
|
|
297
307
|
l[0] & /*$_*/
|
|
@@ -309,7 +319,7 @@ function rt(a) {
|
|
|
309
319
|
a[14].length !== 0 && pe(a)
|
|
310
320
|
), o = (
|
|
311
321
|
/*searchArray*/
|
|
312
|
-
a[14].length == 0 &&
|
|
322
|
+
a[14].length == 0 && Se(a)
|
|
313
323
|
);
|
|
314
324
|
return {
|
|
315
325
|
c() {
|
|
@@ -321,7 +331,7 @@ function rt(a) {
|
|
|
321
331
|
p(l, s) {
|
|
322
332
|
/*searchArray*/
|
|
323
333
|
l[14].length !== 0 ? n ? n.p(l, s) : (n = pe(l), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null), /*searchArray*/
|
|
324
|
-
l[14].length == 0 ? o ? o.p(l, s) : (o =
|
|
334
|
+
l[14].length == 0 ? o ? o.p(l, s) : (o = Se(l), o.c(), o.m(t.parentNode, t)) : o && (o.d(1), o = null);
|
|
325
335
|
},
|
|
326
336
|
d(l) {
|
|
327
337
|
l && (I(e), I(t)), n && n.d(l), o && o.d(l);
|
|
@@ -338,7 +348,7 @@ function pe(a) {
|
|
|
338
348
|
e = y("p"), n = O(t), f(e, "class", "SearchMessage");
|
|
339
349
|
},
|
|
340
350
|
m(o, l) {
|
|
341
|
-
j(o, e, l),
|
|
351
|
+
j(o, e, l), _(e, n);
|
|
342
352
|
},
|
|
343
353
|
p(o, l) {
|
|
344
354
|
l[0] & /*$_*/
|
|
@@ -350,13 +360,13 @@ function pe(a) {
|
|
|
350
360
|
}
|
|
351
361
|
};
|
|
352
362
|
}
|
|
353
|
-
function
|
|
363
|
+
function Se(a) {
|
|
354
364
|
let e, t, n, o = (
|
|
355
365
|
/*$_*/
|
|
356
366
|
a[20]("noRecentSearches") + ""
|
|
357
367
|
), l, s, i = (
|
|
358
368
|
/*notfoundicon*/
|
|
359
|
-
a[10] === "true" &&
|
|
369
|
+
a[10] === "true" && _e()
|
|
360
370
|
);
|
|
361
371
|
return {
|
|
362
372
|
c() {
|
|
@@ -364,11 +374,11 @@ function _e(a) {
|
|
|
364
374
|
(a[10] == "true" ? "WithIcon" : ""));
|
|
365
375
|
},
|
|
366
376
|
m(c, m) {
|
|
367
|
-
j(c, e, m), i && i.m(e, null),
|
|
377
|
+
j(c, e, m), i && i.m(e, null), _(e, t), _(e, n), _(n, l);
|
|
368
378
|
},
|
|
369
379
|
p(c, m) {
|
|
370
380
|
/*notfoundicon*/
|
|
371
|
-
c[10] === "true" ? i || (i =
|
|
381
|
+
c[10] === "true" ? i || (i = _e(), i.c(), i.m(e, t)) : i && (i.d(1), i = null), m[0] & /*$_*/
|
|
372
382
|
1048576 && o !== (o = /*$_*/
|
|
373
383
|
c[20]("noRecentSearches") + "") && q(l, o), m[0] & /*notfoundicon*/
|
|
374
384
|
1024 && s !== (s = "ResultsContainerError " + /*notfoundicon*/
|
|
@@ -379,7 +389,7 @@ function _e(a) {
|
|
|
379
389
|
}
|
|
380
390
|
};
|
|
381
391
|
}
|
|
382
|
-
function
|
|
392
|
+
function _e(a) {
|
|
383
393
|
let e;
|
|
384
394
|
return {
|
|
385
395
|
c() {
|
|
@@ -513,101 +523,101 @@ function be(a) {
|
|
|
513
523
|
a[7]
|
|
514
524
|
);
|
|
515
525
|
},
|
|
516
|
-
m(h,
|
|
517
|
-
j(h, e,
|
|
526
|
+
m(h, S) {
|
|
527
|
+
j(h, e, S);
|
|
518
528
|
},
|
|
519
|
-
p(h,
|
|
529
|
+
p(h, S) {
|
|
520
530
|
var x;
|
|
521
|
-
|
|
531
|
+
S[0] & /*endpoint*/
|
|
522
532
|
1 && d(
|
|
523
533
|
e,
|
|
524
534
|
"endpoint",
|
|
525
535
|
/*endpoint*/
|
|
526
536
|
h[0]
|
|
527
|
-
),
|
|
537
|
+
), S[0] & /*sessionID*/
|
|
528
538
|
262144 && d(
|
|
529
539
|
e,
|
|
530
540
|
"session",
|
|
531
541
|
/*sessionID*/
|
|
532
542
|
h[18]
|
|
533
|
-
),
|
|
543
|
+
), S[0] & /*playerID*/
|
|
534
544
|
524288 && d(
|
|
535
545
|
e,
|
|
536
546
|
"userid",
|
|
537
547
|
/*playerID*/
|
|
538
548
|
h[19]
|
|
539
|
-
),
|
|
549
|
+
), S[0] & /*showfavorites*/
|
|
540
550
|
256 && d(
|
|
541
551
|
e,
|
|
542
552
|
"favorites",
|
|
543
553
|
/*showfavorites*/
|
|
544
554
|
h[8]
|
|
545
|
-
),
|
|
555
|
+
), S[0] & /*lang*/
|
|
546
556
|
2 && d(
|
|
547
557
|
e,
|
|
548
558
|
"lang",
|
|
549
559
|
/*lang*/
|
|
550
560
|
h[1]
|
|
551
|
-
),
|
|
561
|
+
), S[0] & /*searchArray*/
|
|
552
562
|
16384 && t !== (t = /*game*/
|
|
553
|
-
h[53].thumbnail) && d(e, "gamethumbnail", t),
|
|
563
|
+
h[53].thumbnail) && d(e, "gamethumbnail", t), S[0] & /*searchArray*/
|
|
554
564
|
16384 && n !== (n = /*game*/
|
|
555
|
-
h[53].name) && d(e, "gamename", n),
|
|
565
|
+
h[53].name) && d(e, "gamename", n), S[0] & /*searchArray*/
|
|
556
566
|
16384 && o !== (o = /*game*/
|
|
557
|
-
h[53].vendor.displayName) && d(e, "gamevendor", o),
|
|
567
|
+
h[53].vendor.displayName) && d(e, "gamevendor", o), S[0] & /*searchArray*/
|
|
558
568
|
16384 && l !== (l = /*game*/
|
|
559
|
-
h[53].launchUrl) && d(e, "gameLaunchUrl", l),
|
|
569
|
+
h[53].launchUrl) && d(e, "gameLaunchUrl", l), S[0] & /*searchArray*/
|
|
560
570
|
16384 && s !== (s = /*game*/
|
|
561
|
-
h[53].isNew) && d(e, "gameisnew", s),
|
|
571
|
+
h[53].isNew) && d(e, "gameisnew", s), S[0] & /*searchArray*/
|
|
562
572
|
16384 && i !== (i = /*game*/
|
|
563
573
|
((x = h[53].advancedTags) == null ? void 0 : x.length) > 0 && /*addGameTag*/
|
|
564
574
|
h[24](
|
|
565
575
|
/*game*/
|
|
566
576
|
h[53].advancedTags
|
|
567
|
-
)) && d(e, "gametag", i),
|
|
577
|
+
)) && d(e, "gametag", i), S[0] & /*searchArray*/
|
|
568
578
|
16384 && c !== (c = /*game*/
|
|
569
|
-
h[53].cellSize) && d(e, "gamecellsize", c),
|
|
579
|
+
h[53].cellSize) && d(e, "gamecellsize", c), S[0] & /*searchArray*/
|
|
570
580
|
16384 && m !== (m = /*game*/
|
|
571
|
-
h[53].id) && d(e, "gameid", m),
|
|
581
|
+
h[53].id) && d(e, "gameid", m), S[0] & /*showgamename*/
|
|
572
582
|
64 && d(
|
|
573
583
|
e,
|
|
574
584
|
"showgamename",
|
|
575
585
|
/*showgamename*/
|
|
576
586
|
h[6]
|
|
577
|
-
),
|
|
587
|
+
), S[0] & /*searchArray*/
|
|
578
588
|
16384 && u !== (u = /*game*/
|
|
579
|
-
h[53].hasFunMode) && d(e, "gamefunmode", u),
|
|
589
|
+
h[53].hasFunMode) && d(e, "gamefunmode", u), S[0] & /*searchArray*/
|
|
580
590
|
16384 && g !== (g = /*game*/
|
|
581
|
-
h[53].isFavorite) && d(e, "gamefavorite", g),
|
|
591
|
+
h[53].isFavorite) && d(e, "gamefavorite", g), S[0] & /*searchArray*/
|
|
582
592
|
16384 && k !== (k = /*game*/
|
|
583
593
|
h[53].details ? (
|
|
584
594
|
/*game*/
|
|
585
595
|
h[53].launchUrl
|
|
586
|
-
) : "") && d(e, "livelobbyendpoint", k),
|
|
596
|
+
) : "") && d(e, "livelobbyendpoint", k), S[0] & /*integratedgameframedesktop*/
|
|
587
597
|
16 && d(
|
|
588
598
|
e,
|
|
589
599
|
"integratedgameframedesktop",
|
|
590
600
|
/*integratedgameframedesktop*/
|
|
591
601
|
h[4]
|
|
592
|
-
),
|
|
602
|
+
), S[0] & /*integratedgameframemobile*/
|
|
593
603
|
32 && d(
|
|
594
604
|
e,
|
|
595
605
|
"integratedgameframemobile",
|
|
596
606
|
/*integratedgameframemobile*/
|
|
597
607
|
h[5]
|
|
598
|
-
),
|
|
608
|
+
), S[0] & /*clientstyling*/
|
|
599
609
|
4 && d(
|
|
600
610
|
e,
|
|
601
611
|
"clientstyling",
|
|
602
612
|
/*clientstyling*/
|
|
603
613
|
h[2]
|
|
604
|
-
),
|
|
614
|
+
), S[0] & /*clientstylingurl*/
|
|
605
615
|
8 && d(
|
|
606
616
|
e,
|
|
607
617
|
"clientstylingurl",
|
|
608
618
|
/*clientstylingurl*/
|
|
609
619
|
h[3]
|
|
610
|
-
),
|
|
620
|
+
), S[0] & /*gamepagemodalurl*/
|
|
611
621
|
128 && d(
|
|
612
622
|
e,
|
|
613
623
|
"gamepagemodalurl",
|
|
@@ -637,7 +647,7 @@ function ve(a) {
|
|
|
637
647
|
(a[10] == "true" ? "WithIcon" : ""));
|
|
638
648
|
},
|
|
639
649
|
m(k, h) {
|
|
640
|
-
j(k, e, h), g && g.m(e, null),
|
|
650
|
+
j(k, e, h), g && g.m(e, null), _(e, t), _(e, n), _(n, l), _(e, s), _(e, i), _(i, m);
|
|
641
651
|
},
|
|
642
652
|
p(k, h) {
|
|
643
653
|
/*notfoundicon*/
|
|
@@ -669,7 +679,7 @@ function ke(a) {
|
|
|
669
679
|
};
|
|
670
680
|
}
|
|
671
681
|
function ot(a) {
|
|
672
|
-
let e, t, n, o, l, s, i, c, m, u, g, k, h,
|
|
682
|
+
let e, t, n, o, l, s, i, c, m, u, g, k, h, S, x, P, B, U, D, M, v = (
|
|
673
683
|
/*cancelbutton*/
|
|
674
684
|
a[9] === "true" && fe(a)
|
|
675
685
|
);
|
|
@@ -685,7 +695,7 @@ function ot(a) {
|
|
|
685
695
|
e = y("div"), t = y("div"), n = y("div"), o = y("div"), o.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>', l = N(), s = y("input"), c = N(), m = y("span"), u = le("svg"), g = le("path"), h = N(), v && v.c(), x = N(), P = y("div"), U = N(), F.c(), f(o, "class", "SearchIcon"), f(s, "class", "SearchInput"), f(s, "type", "search"), f(s, "placeholder", i = /*$_*/
|
|
686
696
|
a[20]("placeHolderSearchGames")), f(s, "maxlength", st), f(g, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), f(g, "stroke", "#717171"), f(g, "stroke-width", "2"), f(g, "stroke-linecap", "round"), f(g, "stroke-linejoin", "round"), f(u, "width", "11"), f(u, "height", "11"), f(u, "fill", "none"), f(u, "xmlns", "http://www.w3.org/2000/svg"), f(m, "class", k = "SearchClearButton " + /*cancelbutton*/
|
|
687
697
|
(a[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
|
688
|
-
(a[11].length != 0 ? "" : "NotVisible")), f(n, "class",
|
|
698
|
+
(a[11].length != 0 ? "" : "NotVisible")), f(n, "class", S = "Search " + /*searchCancelled*/
|
|
689
699
|
(a[12] ? "" : "SearchAnimation")), f(t, "class", "SearchWrap"), f(P, "class", B = /*cancelbutton*/
|
|
690
700
|
a[9] != "true" ? "OverlayCancel" : ""), f(e, "class", (ee(
|
|
691
701
|
/*userAgent*/
|
|
@@ -693,11 +703,11 @@ function ot(a) {
|
|
|
693
703
|
) !== "PC" ? "" : "Desktop") + " CasinoSearch");
|
|
694
704
|
},
|
|
695
705
|
m(b, L) {
|
|
696
|
-
j(b, e, L),
|
|
706
|
+
j(b, e, L), _(e, t), _(t, n), _(n, o), _(n, l), _(n, s), ie(
|
|
697
707
|
s,
|
|
698
708
|
/*searchValue*/
|
|
699
709
|
a[11]
|
|
700
|
-
), a[33](s),
|
|
710
|
+
), a[33](s), _(n, c), _(n, m), _(m, u), _(u, g), _(n, h), v && v.m(n, null), _(e, x), _(e, P), _(e, U), F.m(e, null), a[36](e), D || (M = [
|
|
701
711
|
J(
|
|
702
712
|
s,
|
|
703
713
|
"input",
|
|
@@ -738,8 +748,8 @@ function ot(a) {
|
|
|
738
748
|
(b[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
|
739
749
|
(b[11].length != 0 ? "" : "NotVisible")) && f(m, "class", k), /*cancelbutton*/
|
|
740
750
|
b[9] === "true" ? v ? v.p(b, L) : (v = fe(b), v.c(), v.m(n, null)) : v && (v.d(1), v = null), L[0] & /*searchCancelled*/
|
|
741
|
-
4096 &&
|
|
742
|
-
(b[12] ? "" : "SearchAnimation")) && f(n, "class",
|
|
751
|
+
4096 && S !== (S = "Search " + /*searchCancelled*/
|
|
752
|
+
(b[12] ? "" : "SearchAnimation")) && f(n, "class", S), L[0] & /*cancelbutton*/
|
|
743
753
|
512 && B !== (B = /*cancelbutton*/
|
|
744
754
|
b[9] != "true" ? "OverlayCancel" : "") && f(P, "class", B), z === (z = W(b)) && F ? F.p(b, L) : (F.d(1), F = z(b), F && (F.c(), F.m(e, null)));
|
|
745
755
|
},
|
|
@@ -754,7 +764,7 @@ let st = 50;
|
|
|
754
764
|
function lt(a, e, t) {
|
|
755
765
|
let n;
|
|
756
766
|
Ye(a, Qe, (r) => t(20, n = r));
|
|
757
|
-
let { endpoint: o = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: u = "" } = e, { integratedgameframedesktop: g = "false" } = e, { integratedgameframemobile: k = "false" } = e, { showgamename: h = "" } = e, { gamepagemodalurl:
|
|
767
|
+
let { endpoint: o = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: u = "" } = e, { integratedgameframedesktop: g = "false" } = e, { integratedgameframemobile: k = "false" } = e, { showgamename: h = "" } = e, { gamepagemodalurl: S = "true" } = e, { translationurl: x = "" } = e, { showfavorites: P = "" } = e, { cancelbutton: B = "true" } = e, { notfoundicon: U = "false" } = e, D = window.navigator.userAgent, M = [], v = [], W = {}, z = "", F, b = !0, L = !1, G = !1, A, Z = !1, Y, X, te = [];
|
|
758
768
|
const Re = () => {
|
|
759
769
|
fetch(x).then((p) => p.json()).then((p) => {
|
|
760
770
|
Object.keys(p).forEach((w) => {
|
|
@@ -877,7 +887,7 @@ function lt(a, e, t) {
|
|
|
877
887
|
});
|
|
878
888
|
}
|
|
879
889
|
return a.$$set = (r) => {
|
|
880
|
-
"endpoint" in r && t(0, o = r.endpoint), "datasource" in r && t(27, l = r.datasource), "session" in r && t(28, s = r.session), "userid" in r && t(29, i = r.userid), "lang" in r && t(1, c = r.lang), "clientstyling" in r && t(2, m = r.clientstyling), "clientstylingurl" in r && t(3, u = r.clientstylingurl), "integratedgameframedesktop" in r && t(4, g = r.integratedgameframedesktop), "integratedgameframemobile" in r && t(5, k = r.integratedgameframemobile), "showgamename" in r && t(6, h = r.showgamename), "gamepagemodalurl" in r && t(7,
|
|
890
|
+
"endpoint" in r && t(0, o = r.endpoint), "datasource" in r && t(27, l = r.datasource), "session" in r && t(28, s = r.session), "userid" in r && t(29, i = r.userid), "lang" in r && t(1, c = r.lang), "clientstyling" in r && t(2, m = r.clientstyling), "clientstylingurl" in r && t(3, u = r.clientstylingurl), "integratedgameframedesktop" in r && t(4, g = r.integratedgameframedesktop), "integratedgameframemobile" in r && t(5, k = r.integratedgameframemobile), "showgamename" in r && t(6, h = r.showgamename), "gamepagemodalurl" in r && t(7, S = r.gamepagemodalurl), "translationurl" in r && t(30, x = r.translationurl), "showfavorites" in r && t(8, P = r.showfavorites), "cancelbutton" in r && t(9, B = r.cancelbutton), "notfoundicon" in r && t(10, U = r.notfoundicon);
|
|
881
891
|
}, a.$$.update = () => {
|
|
882
892
|
if (a.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/
|
|
883
893
|
134223875)
|
|
@@ -904,7 +914,7 @@ function lt(a, e, t) {
|
|
|
904
914
|
g,
|
|
905
915
|
k,
|
|
906
916
|
h,
|
|
907
|
-
|
|
917
|
+
S,
|
|
908
918
|
P,
|
|
909
919
|
B,
|
|
910
920
|
U,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-aMUXtMPt.cjs");function ye({withLocale:i,translations:e}){t.$locale.subscribe(r=>{r==null&&(t.$dictionary.set(e),t.$locale.set(i))})}function U(i,e){t.addMessages(i,e)}function we(i){t.$locale.set(i)}const Y={en:{login:"Login",register:"Register",deposit:"Deposit"},"zh-hk":{login:"登錄",register:"登記",deposit:"訂金"},fr:{login:"Connexion",register:"Registre",deposit:"Dépôt"},tr:{login:"Giriş",register:"Kayıt",deposit:"Para Yatır"},ro:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit"},es:{login:"Iniciar sesión",register:"Regístrate",deposit:"Deposita"},pt:{login:"Entrar",register:"Registro",deposit:"Depósito"},hr:{login:"Prijava",register:"Registracija",deposit:"Uplata"},"pt-br":{login:"Entrem",register:"Registro",deposit:"Depósito"},"es-mx":{login:"Entrar",register:"Registro",deposit:"Depósito"},"en-us":{login:"Login",register:"Register",deposit:"Deposit"}};function be(i){t.append_styles(i,"svelte-1lgwoo3",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emw--categories-arrows-bg, var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emw--categories-contrast, var(--emw--color-contrast, #07072A));background:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}')}function P(i,e,r){const o=i.slice();return o[49]=e[r],o[51]=r,o}function K(i,e,r){const o=i.slice();return o[52]=e[r],o}function X(i,e,r){const o=i.slice();return o[55]=e[r],o[57]=r,o}function J(i){let e=[],r=new Map,o,l=t.ensure_array_like(i[9]);const s=n=>n[49].id;for(let n=0;n<l.length;n+=1){let c=P(i,l,n),m=s(c);r.set(m,e[n]=te(m,c))}return{c(){for(let n=0;n<e.length;n+=1)e[n].c();o=t.empty()},m(n,c){for(let m=0;m<e.length;m+=1)e[m]&&e[m].m(n,c);t.insert(n,o,c)},p(n,c){c[0]&77775&&(l=t.ensure_array_like(n[9]),e=t.update_keyed_each(e,c,s,1,n,l,r,o.parentNode,t.destroy_block,te,o,P))},d(n){n&&t.detach(o);for(let c=0;c<e.length;c+=1)e[c].d(n)}}}function ve(i){let e,r=i[49].name+"",o;return{c(){e=t.element("button"),o=t.text(r),t.attr(e,"class","CategoryButton")},m(l,s){t.insert(l,e,s),t.append(e,o)},p(l,s){s[0]&512&&r!==(r=l[49].name+"")&&t.set_data(o,r)},d(l){l&&t.detach(e)}}}function _e(i){let e,r=i[49].label+"",o,l;return{c(){e=t.element("a"),o=t.text(r),t.attr(e,"href",l=i[49].path)},m(s,n){t.insert(s,e,n),t.append(e,o)},p(s,n){n[0]&512&&r!==(r=s[49].label+"")&&t.set_data(o,r),n[0]&512&&l!==(l=s[49].path)&&t.attr(e,"href",l)},d(s){s&&t.detach(e)}}}function Q(i){let e,r=i[10].length>0&&i[2]=="true"&&V(i);return{c(){r&&r.c(),e=t.empty()},m(o,l){r&&r.m(o,l),t.insert(o,e,l)},p(o,l){o[10].length>0&&o[2]=="true"?r?r.p(o,l):(r=V(o),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null)},d(o){o&&t.detach(e),r&&r.d(o)}}}function V(i){let e,r=t.ensure_array_like(i[10]),o=[];for(let l=0;l<r.length;l+=1)o[l]=ee(K(i,r,l));return{c(){e=t.element("ul");for(let l=0;l<o.length;l+=1)o[l].c();t.attr(e,"class","DropDown")},m(l,s){t.insert(l,e,s);for(let n=0;n<o.length;n+=1)o[n]&&o[n].m(e,null)},p(l,s){if(s[0]&10176){r=t.ensure_array_like(l[10]);let n;for(n=0;n<r.length;n+=1){const c=K(l,r,n);o[n]?o[n].p(c,s):(o[n]=ee(c),o[n].c(),o[n].m(e,null))}for(;n<o.length;n+=1)o[n].d(1);o.length=r.length}},d(l){l&&t.detach(e),t.destroy_each(o,l)}}}function Z(i){var C;let e,r,o=((C=i[55])==null?void 0:C.name)+"",l,s,n,c,m;function v(...f){return i[32](i[49],i[51],i[55],i[57],...f)}return{c(){e=t.element("li"),r=t.element("a"),l=t.text(o),n=t.space(),t.attr(r,"class",s="SubDropDown "+(i[51]==i[6]&&(i[7]==i[57]||i[8]==i[57])?"active":""))},m(f,y){t.insert(f,e,y),t.append(e,r),t.append(r,l),t.append(e,n),c||(m=t.listen(e,"click",v),c=!0)},p(f,y){var _;i=f,y[0]&1024&&o!==(o=((_=i[55])==null?void 0:_.name)+"")&&t.set_data(l,o),y[0]&1984&&s!==(s="SubDropDown "+(i[51]==i[6]&&(i[7]==i[57]||i[8]==i[57])?"active":""))&&t.attr(r,"class",s)},d(f){f&&t.detach(e),c=!1,m()}}}function $(i,e){let r,o,l=e[51]==e[52].index&&Z(e);return{key:i,first:null,c(){r=t.empty(),l&&l.c(),o=t.empty(),this.first=r},m(s,n){t.insert(s,r,n),l&&l.m(s,n),t.insert(s,o,n)},p(s,n){e=s,e[51]==e[52].index?l?l.p(e,n):(l=Z(e),l.c(),l.m(o.parentNode,o)):l&&(l.d(1),l=null)},d(s){s&&(t.detach(r),t.detach(o)),l&&l.d(s)}}}function ee(i){let e=[],r=new Map,o,l=t.ensure_array_like(i[52].items);const s=n=>n[55].id;for(let n=0;n<l.length;n+=1){let c=X(i,l,n),m=s(c);r.set(m,e[n]=$(m,c))}return{c(){for(let n=0;n<e.length;n+=1)e[n].c();o=t.empty()},m(n,c){for(let m=0;m<e.length;m+=1)e[m]&&e[m].m(n,c);t.insert(n,o,c)},p(n,c){c[0]&10176&&(l=t.ensure_array_like(n[52].items),e=t.update_keyed_each(e,c,s,1,n,l,r,o.parentNode,t.destroy_block,$,o,X))},d(n){n&&t.detach(o);for(let c=0;c<e.length;c+=1)e[c].d(n)}}}function te(i,e){let r,o,l,s,n,c,m,v,C,f,y;function _(h,b){return h[0]==="headerMain"?_e:ve}let k=_(e),g=k(e),u=e[11][e[51]]==!0&&Q(e);function w(...h){return e[33](e[49],e[51],...h)}return{key:i,first:null,c(){var h,b;r=t.element("li"),o=t.element("div"),l=t.element("img"),c=t.space(),g.c(),m=t.space(),u&&u.c(),v=t.space(),t.attr(l,"class",s="CategoryIconImg "+(e[3]==="true"?"":"DisplayNone")),t.src_url_equal(l.src,n=e[16](e[49]))||t.attr(l,"src",n),t.attr(o,"class","CategoryIcon"),t.attr(r,"class",C="CarouselItem "+(((h=e[1])==null?void 0:h.toString().indexOf("$"))>-1?((b=e[1])==null?void 0:b.split("$").pop())==e[49].id.split("$").pop()?"active":"":e[1]==e[49].id?"active":"")+" "+(e[0]=="headerMain"?"":"SecondaryMenu")),t.attr(r,"part","CarouselItem"),this.first=r},m(h,b){t.insert(h,r,b),t.append(r,o),t.append(o,l),t.append(r,c),g.m(r,null),t.append(r,m),u&&u.m(r,null),t.append(r,v),f||(y=t.listen(r,"click",w),f=!0)},p(h,b){var L,N;e=h,b[0]&8&&s!==(s="CategoryIconImg "+(e[3]==="true"?"":"DisplayNone"))&&t.attr(l,"class",s),b[0]&512&&!t.src_url_equal(l.src,n=e[16](e[49]))&&t.attr(l,"src",n),k===(k=_(e))&&g?g.p(e,b):(g.d(1),g=k(e),g&&(g.c(),g.m(r,m))),e[11][e[51]]==!0?u?u.p(e,b):(u=Q(e),u.c(),u.m(r,v)):u&&(u.d(1),u=null),b[0]&515&&C!==(C="CarouselItem "+(((L=e[1])==null?void 0:L.toString().indexOf("$"))>-1?((N=e[1])==null?void 0:N.split("$").pop())==e[49].id.split("$").pop()?"active":"":e[1]==e[49].id?"active":"")+" "+(e[0]=="headerMain"?"":"SecondaryMenu"))&&t.attr(r,"class",C)},d(h){h&&t.detach(r),g.d(),u&&u.d(),f=!1,y()}}}function ke(i){let e,r,o,l,s,n,c,m,v,C,f,y,_,k,g,u=i[9].length>0&&J(i);return{c(){e=t.element("div"),r=t.element("div"),o=t.element("div"),o.innerHTML='<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',l=t.space(),s=t.element("div"),n=t.element("ul"),c=t.element("li"),c.innerHTML='<a href="#CarouselNav">Close Subs</a>',m=t.space(),u&&u.c(),v=t.space(),C=t.element("div"),C.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>',t.attr(o,"class","CarouselLeftArrow"),t.attr(c,"class","TouchOnly"),t.attr(n,"id","CarouselNav"),t.attr(n,"class","CarouselItems"),t.attr(s,"class","CarouselNavWrap"),t.attr(C,"class","CarouselRightArrow"),t.attr(r,"class",f=`CarouselContainer CarouselContainerMobile ${i[0]==="headerMain"?"CarouselContainerHeaderMain":""}`),t.attr(r,"style",y=i[0]==="headerMain"?"max-width: auto":void 0),t.attr(e,"class",_="CarouselWrapper "+(i[0]==="headerMain"?"CarouselWrapperHeaderMain":""))},m(w,h){t.insert(w,e,h),t.append(e,r),t.append(r,o),t.append(r,l),t.append(r,s),t.append(s,n),t.append(n,c),t.append(n,m),u&&u.m(n,null),i[34](n),i[35](s),t.append(r,v),t.append(r,C),i[37](e),k||(g=[t.listen(o,"click",i[31]),t.listen(C,"click",i[36])],k=!0)},p(w,h){w[9].length>0?u?u.p(w,h):(u=J(w),u.c(),u.m(n,null)):u&&(u.d(1),u=null),h[0]&1&&f!==(f=`CarouselContainer CarouselContainerMobile ${w[0]==="headerMain"?"CarouselContainerHeaderMain":""}`)&&t.attr(r,"class",f),h[0]&1&&y!==(y=w[0]==="headerMain"?"max-width: auto":void 0)&&t.attr(r,"style",y),h[0]&1&&_!==(_="CarouselWrapper "+(w[0]==="headerMain"?"CarouselWrapperHeaderMain":""))&&t.attr(e,"class",_)},i:t.noop,o:t.noop,d(w){w&&t.detach(e),u&&u.d(),i[34](null),i[35](null),i[37](null),k=!1,t.run_all(g)}}}function Fe(i,e,r){let{endpoint:o=""}=e,{datasource:l=""}=e,{onclickeventname:s="defaultEvent"}=e,{actionevent:n="defaultEvent"}=e,{favoritesnumber:c="0"}=e,{location:m=""}=e,{clientstyling:v=""}=e,{clientstylingurl:C=""}=e,{identity:f=""}=e,{translationurl:y=""}=e,{isprimarymenu:_=!1}=e,{issecondarymenu:k=!1}=e,{lang:g=""}=e,{activeindex:u="0"}=e,{showsubgroups:w="false"}=e,{categoriesicon:h="false"}=e,{lobbyiconimage:b=""}=e,{mygamesiconimage:L=""}=e;ye({withLocale:"en",translations:{}});const N=()=>{fetch(y).then(d=>d.json()).then(d=>{Object.keys(d).forEach(p=>{U(p,d[p])})}).catch(d=>{console.log(d)})};Object.keys(Y).forEach(a=>{U(a,Y[a])});let H,A,E,W,I,R=[],T=[],j=[],F,z=(a,d,p,D,M)=>{var S;if(!(a.subGroups&&D===null)){if(O(),r(6,A=d),r(6,A),M!="secondary"){window.postMessage({type:n=="CategoryChange"?"CategoryChange":"NavigateTo",buzz:"1",itemId:a.id,index:d,item:a,path:a.path,externalLink:a.externalLink||!1,target:((S=a.attrs)==null?void 0:S.target)||null},window.location.href),r(7,E=null),r(8,W=null);return}r(7,E=D),r(7,E),r(8,W=E),window.postMessage({type:n,itemId:p.id,subIndex:D,subItem:p},window.location.href)}},B=()=>{F.scrollBy({left:-250,behavior:"smooth"})},G=()=>{F.scrollBy({left:250,behavior:"smooth"})};const x=a=>{a.data.type=="SliderData"&&a.data.identity==f&&(r(9,R=a.data.data),r(11,j=new Array(R.length).fill(!1)),w=="true"&&oe()),a.data.type=="GoToHomepage"&&R.forEach((d,p)=>{d.path.endsWith("/casino")&&(r(6,A=p),r(6,A))})},ne=()=>{we(g)},ae=(a,d,p)=>{if(m=="secondaryMenu"&&o&&l&&g&&a.id){let D=new URL(`${o}/v1/casino/groups/${l}/${a.id}/subGroups?language=${g}`);fetch(D.href).then(M=>M.json()).then(M=>{M.index=d,r(10,T=T.concat(M)),w=="false"&&window.postMessage({type:n,itemId:a.id,index:d,item:a},window.location.href);const S=[];T.map(pe=>(pe.items.forEach(q=>{S.find(Ce=>q.id==Ce)||S.push(q.id)}),S.flat())),window.postMessage({type:"SubgroupsIds",subGroupsIds:S},window.location.href)}).then(()=>{H.querySelectorAll(".DropDown")&&O()})}m=="headerMain"&&window.postMessage({type:n,item:a},window.location.href)},O=()=>{const a=H.querySelectorAll(".DropDown");document.activeElement.blur(),F.classList.add("isScrolling");for(let d=0;d<a.length;d++)a[d].style.transform="translateX(-"+F.scrollLeft+"px)";F.classList.remove("isScrolling")},oe=()=>{R.forEach((a,d)=>{var p;((p=a==null?void 0:a.subGroups)==null?void 0:p.count)>0&&(r(11,j[d]=!0,j),ae(a,d))})},ie=()=>{let a=document.createElement("style");a.innerHTML=v,I.appendChild(a)},le=()=>{let a=document.createElement("style"),d=new URL(C);fetch(d.href).then(p=>p.text()).then(p=>{a.innerHTML=p,setTimeout(()=>{I.appendChild(a)},1)})},se=a=>{let d="";return a.id==="LOBBY"?d=b:a.id==="MYGAMES"&&(d=L),a.icon||d};t.onMount(()=>(window.addEventListener("message",x,!1),"ontouchstart"in document.documentElement&&(document.documentElement.className+=" touch-device"),setTimeout(()=>{F.addEventListener("scroll",O)},500),window.postMessage({type:"SliderLoaded",identity:f}),()=>{window.removeEventListener("message",x),H.removeEventListener("scroll",O)}));const ce=()=>B(),ue=(a,d,p,D,M)=>{z(a,d,p,D,"secondary"),M.stopPropagation()},de=(a,d,p)=>{z(a,d,null,null,"main"),p.preventDefault()};function me(a){t.binding_callbacks[a?"unshift":"push"](()=>{H=a,r(5,H)})}function he(a){t.binding_callbacks[a?"unshift":"push"](()=>{F=a,r(12,F)})}const fe=()=>G();function ge(a){t.binding_callbacks[a?"unshift":"push"](()=>{I=a,r(4,I)})}return i.$$set=a=>{"endpoint"in a&&r(17,o=a.endpoint),"datasource"in a&&r(18,l=a.datasource),"onclickeventname"in a&&r(19,s=a.onclickeventname),"actionevent"in a&&r(20,n=a.actionevent),"favoritesnumber"in a&&r(21,c=a.favoritesnumber),"location"in a&&r(0,m=a.location),"clientstyling"in a&&r(22,v=a.clientstyling),"clientstylingurl"in a&&r(23,C=a.clientstylingurl),"identity"in a&&r(24,f=a.identity),"translationurl"in a&&r(25,y=a.translationurl),"isprimarymenu"in a&&r(26,_=a.isprimarymenu),"issecondarymenu"in a&&r(27,k=a.issecondarymenu),"lang"in a&&r(28,g=a.lang),"activeindex"in a&&r(1,u=a.activeindex),"showsubgroups"in a&&r(2,w=a.showsubgroups),"categoriesicon"in a&&r(3,h=a.categoriesicon),"lobbyiconimage"in a&&r(29,b=a.lobbyiconimage),"mygamesiconimage"in a&&r(30,L=a.mygamesiconimage)},i.$$.update=()=>{i.$$.dirty[0]&2,i.$$.dirty[0]&33554432&&y&&N(),i.$$.dirty[0]&4194320&&v&&I&&ie(),i.$$.dirty[0]&8388624&&C&&I&&le(),i.$$.dirty[0]&268435456&&g&&ne()},[m,u,w,h,I,H,A,E,W,R,T,j,F,z,B,G,se,o,l,s,n,c,v,C,f,y,_,k,g,b,L,ce,ue,de,me,he,fe,ge]}class re extends t.SvelteComponent{constructor(e){super(),t.init(this,e,Fe,ke,t.safe_not_equal,{endpoint:17,datasource:18,onclickeventname:19,actionevent:20,favoritesnumber:21,location:0,clientstyling:22,clientstylingurl:23,identity:24,translationurl:25,isprimarymenu:26,issecondarymenu:27,lang:28,activeindex:1,showsubgroups:2,categoriesicon:3,lobbyiconimage:29,mygamesiconimage:30},be,[-1,-1])}get endpoint(){return this.$$.ctx[17]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[18]}set datasource(e){this.$$set({datasource:e}),t.flush()}get onclickeventname(){return this.$$.ctx[19]}set onclickeventname(e){this.$$set({onclickeventname:e}),t.flush()}get actionevent(){return this.$$.ctx[20]}set actionevent(e){this.$$set({actionevent:e}),t.flush()}get favoritesnumber(){return this.$$.ctx[21]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),t.flush()}get location(){return this.$$.ctx[0]}set location(e){this.$$set({location:e}),t.flush()}get clientstyling(){return this.$$.ctx[22]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[23]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get identity(){return this.$$.ctx[24]}set identity(e){this.$$set({identity:e}),t.flush()}get translationurl(){return this.$$.ctx[25]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get isprimarymenu(){return this.$$.ctx[26]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),t.flush()}get issecondarymenu(){return this.$$.ctx[27]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),t.flush()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),t.flush()}get activeindex(){return this.$$.ctx[1]}set activeindex(e){this.$$set({activeindex:e}),t.flush()}get showsubgroups(){return this.$$.ctx[2]}set showsubgroups(e){this.$$set({showsubgroups:e}),t.flush()}get categoriesicon(){return this.$$.ctx[3]}set categoriesicon(e){this.$$set({categoriesicon:e}),t.flush()}get lobbyiconimage(){return this.$$.ctx[29]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),t.flush()}get mygamesiconimage(){return this.$$.ctx[30]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),t.flush()}}t.create_custom_element(re,{endpoint:{},datasource:{},onclickeventname:{},actionevent:{},favoritesnumber:{},location:{},clientstyling:{},clientstylingurl:{},identity:{},translationurl:{},isprimarymenu:{type:"Boolean"},issecondarymenu:{type:"Boolean"},lang:{},activeindex:{},showsubgroups:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{}},[],[],!0);exports.default=re;
|