@everymatrix/casino-page-nd 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 (43) hide show
  1. package/components/{CasinoCollectionsProviders-CKwYUDjs.js → CasinoCollectionsProviders--fiR9zGC.js} +5 -0
  2. package/components/CasinoCollectionsProviders-Cg6Drvjc.cjs +1 -0
  3. package/components/{CasinoFavoritesSectionNd-WAt5xtT2.cjs → CasinoFavoritesSectionNd-DLh-M3H2.cjs} +1 -1
  4. package/components/{CasinoFavoritesSectionNd-BfXCO_ps.js → CasinoFavoritesSectionNd-DOzgCl-u.js} +1 -1
  5. package/components/{CasinoFilter-DBVXUEwE.js → CasinoFilter-DKjI7P-Q.js} +6 -0
  6. package/components/CasinoFilter-DPnwUm9Y.cjs +1 -0
  7. package/components/{CasinoGameThumbnailNd-BzUE1xEf.cjs → CasinoGameThumbnailNd-CvUlQLWz.cjs} +1 -1
  8. package/components/{CasinoGameThumbnailNd-2t_-sr1M.js → CasinoGameThumbnailNd-OcelQvI7.js} +8 -0
  9. package/components/CasinoGamesCategorySectionNd-BWwaYErG.cjs +1 -0
  10. package/components/{CasinoGamesCategorySectionNd-0b7W_YTC.js → CasinoGamesCategorySectionNd-CFmWbYEb.js} +203 -190
  11. package/components/{CasinoJackpotBanner-BBPz6fJs.js → CasinoJackpotBanner-DWGfhATO.js} +30 -27
  12. package/components/CasinoJackpotBanner-DxmBYDQZ.cjs +1 -0
  13. package/components/{CasinoLastPlayedSectionNd-B8uYy0lx.js → CasinoLastPlayedSectionNd-ByVrMcgx.js} +43 -40
  14. package/components/CasinoLastPlayedSectionNd-CGVWXLY6.cjs +1 -0
  15. package/components/{CasinoMostPlayedSectionNd-D02yV4gY.js → CasinoMostPlayedSectionNd-BUdGjzwY.js} +35 -32
  16. package/components/CasinoMostPlayedSectionNd-Dfe8yQvV.cjs +1 -0
  17. package/components/{CasinoMyGamesNd-DiwwLNV_.js → CasinoMyGamesNd-BZZ-lYdp.js} +40 -35
  18. package/components/CasinoMyGamesNd-x6SMPWre.cjs +1 -0
  19. package/components/CasinoPageNd-C-wKagDJ.cjs +1 -0
  20. package/components/{CasinoPageNd-47r62ZN1.js → CasinoPageNd-DAP0o9Q5.js} +249 -237
  21. package/components/CasinoRandomGame-D6B_2z33.cjs +2 -0
  22. package/components/{CasinoRandomGame-DMy0-33C.js → CasinoRandomGame-Dual7qoW.js} +63 -57
  23. package/components/{CasinoSearchNd-DIzJ4XVt.js → CasinoSearchNd-9S8N_prm.js} +35 -25
  24. package/components/CasinoSearchNd-CSSN4BON.cjs +1 -0
  25. package/components/CasinoSort-E-_378b4.cjs +1 -0
  26. package/components/{CasinoSort-Box235sv.js → CasinoSort-Nb_NdM0g.js} +29 -22
  27. package/components/{CasinoWinners-D52EAddg.js → CasinoWinners-B8q6NbF7.js} +48 -43
  28. package/components/CasinoWinners-C3qw75rG.cjs +1 -0
  29. package/es2015/casino-page-nd.cjs +1 -1
  30. package/es2015/casino-page-nd.js +1 -1
  31. package/package.json +1 -1
  32. package/components/CasinoCollectionsProviders-YR7GKLly.cjs +0 -1
  33. package/components/CasinoFilter-D6eMFElH.cjs +0 -1
  34. package/components/CasinoGamesCategorySectionNd-BPSV_HLq.cjs +0 -1
  35. package/components/CasinoJackpotBanner-G5Nb0_vs.cjs +0 -1
  36. package/components/CasinoLastPlayedSectionNd-C_7Lr07v.cjs +0 -1
  37. package/components/CasinoMostPlayedSectionNd-DrgACeul.cjs +0 -1
  38. package/components/CasinoMyGamesNd-Dl37BG8j.cjs +0 -1
  39. package/components/CasinoPageNd-sEt7woKn.cjs +0 -1
  40. package/components/CasinoRandomGame-_nxxS7dr.cjs +0 -2
  41. package/components/CasinoSearchNd-B-_YK9Lp.cjs +0 -1
  42. package/components/CasinoSort-DhHO6YL0.cjs +0 -1
  43. package/components/CasinoWinners-BKrBPGeL.cjs +0 -1
@@ -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-B-gPVc8F.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
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 E, g as Ce, j as v, J as Fe, n as Le, x as Te, y as Se, z as We, k as je, Q as Ne, m as V, E as Y, C as ze, r as L, A as T, p as Q, B as Be, D as X, N as Ie, U as Je, M as De } from "./CasinoCalendar-DOhm0UH1.js";
18
- function Ae({ withLocale: a, translations: e }) {
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 K = {
@@ -92,6 +92,12 @@ const K = {
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 Ee = (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 = Le(
111
117
  g,
112
118
  a,
113
119
  /*$$scope*/
114
120
  a[21],
115
121
  ee
116
- ), o = f || Oe();
122
+ ), o = p || Oe();
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
  E(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
  }
@@ -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
  }
@@ -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 = L(r), f = C(), g = b("p"), o = L(p), _ = 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");
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
  },
@@ -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(), E(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
- E(o), p = !1;
442
+ E(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 Ke(a, e, t) {
444
450
  let n;
445
451
  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, O, B, U = null;
447
- Ae({ withLocale: "en", translations: {} });
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, F, W, O, 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 Ke(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 Ke(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]), O = 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 = (O.offsetHeight + h) * B, we = [
475
481
  { transform: "translateX(0px)" },
@@ -505,7 +511,7 @@ function Ke(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
517
  i.innerHTML = c, F.appendChild(i);
@@ -525,19 +531,19 @@ function Ke(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
537
  F = i, t(2, F);
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*/
546
+ 24576 && d && f && le(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
541
547
  262148 && c && F && ce(), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
542
548
  524292 && s && F && ue();
543
549
  }, [
@@ -551,13 +557,13 @@ function Ke(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 Ke(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
  ];
@@ -1,6 +1,6 @@
1
1
  import { I as He, $ as qe, S as We, i as Oe, f as T, c as Ue, s as Ve, b as Je, e as y, q as N, E as le, u as f, Q as ee, d as E, v as S, R as ie, w as J, C as ce, j, M as Ze, J as Ye, o as Ke, r as q, A as W, m as ue, p as he, F as ye, B as Xe, P as d, N as Qe } from "./CasinoCalendar-DOhm0UH1.js";
2
- import "./CasinoGamesCategorySectionNd-0b7W_YTC.js";
3
- import { h as Q } from "./CasinoGameThumbnailNd-2t_-sr1M.js";
2
+ import "./CasinoGamesCategorySectionNd-CFmWbYEb.js";
3
+ import { h as Q } from "./CasinoGameThumbnailNd-OcelQvI7.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) {
@@ -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: _ = "true" } = e, { translationurl: P = "" } = e, { showfavorites: x = "" } = e, { cancelbutton: A = "true" } = e, { notfoundicon: U = "false" } = e, B = window.navigator.userAgent, M = [], v = [], O = {}, I = "", L, b = !0, F = !1, G = !1, D, Z = !1, Y, K, te = [];
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: _ = "true" } = e, { translationurl: P = "" } = e, { showfavorites: x = "" } = e, { cancelbutton: A = "true" } = e, { notfoundicon: U = "false" } = e, B = window.navigator.userAgent, M = [], v = [], O = {}, I = "", L, b = !0, F = !1, z = !1, D, Z = !1, Y, K, te = [];
758
768
  const Re = () => {
759
769
  fetch(P).then((p) => p.json()).then((p) => {
760
770
  Object.keys(p).forEach((w) => {
@@ -777,14 +787,14 @@ function lt(a, e, t) {
777
787
  let w = [], R = 0, C = p.length;
778
788
  if (C > 0) {
779
789
  for (R = 0; R < C; R++) {
780
- let z = new URL(`${o}/v1/casino/games/${p[R]}`);
781
- z.searchParams.append("language", c), z.searchParams.append("datasource", l), z.searchParams.append("platform", ee(B)), w.push(Le(z, p[R]));
790
+ let G = new URL(`${o}/v1/casino/games/${p[R]}`);
791
+ G.searchParams.append("language", c), G.searchParams.append("datasource", l), G.searchParams.append("platform", ee(B)), w.push(Le(G, p[R]));
782
792
  }
783
- Promise.all(w).then((z) => {
784
- z = z.filter(function(H) {
793
+ Promise.all(w).then((G) => {
794
+ G = G.filter(function(H) {
785
795
  return !!H;
786
- }), t(14, M = z.map((H) => (H.isFavorite = re(H.id), H))), M.length ? V("searchSuccess", "SearchWidget") : V("searchFail", "SearchWidget");
787
- }).catch((z) => {
796
+ }), t(14, M = G.map((H) => (H.isFavorite = re(H.id), H))), M.length ? V("searchSuccess", "SearchWidget") : V("searchFail", "SearchWidget");
797
+ }).catch((G) => {
788
798
  V("searchError", "SearchWidget");
789
799
  });
790
800
  }
@@ -795,26 +805,26 @@ function lt(a, e, t) {
795
805
  }, Ce = () => {
796
806
  A != "true" && X();
797
807
  }, Fe = (r) => new Promise((p, w) => {
798
- t(17, G = !0), fetch(r.href).then((R) => R.json()).then((R) => {
799
- t(17, G = !1), p(R);
808
+ t(17, z = !0), fetch(r.href).then((R) => R.json()).then((R) => {
809
+ t(17, z = !1), p(R);
800
810
  }).catch((R) => {
801
- t(17, G = !1), console.error(R), w(R);
811
+ t(17, z = !1), console.error(R), w(R);
802
812
  });
803
813
  }), Le = (r, p) => new Promise((w, R) => {
804
- t(17, G = !0), p && Object.keys(O).indexOf(p) >= 0 ? (t(17, G = !1), w(O[p])) : fetch(r).then((C) => C.json()).then((C) => {
805
- t(17, G = !1), C.error || (O[C[0].gameId] = C[0]), w(C[0]);
814
+ t(17, z = !0), p && Object.keys(O).indexOf(p) >= 0 ? (t(17, z = !1), w(O[p])) : fetch(r).then((C) => C.json()).then((C) => {
815
+ t(17, z = !1), C.error || (O[C[0].gameId] = C[0]), w(C[0]);
806
816
  }).catch((C) => {
807
- t(17, G = !1), console.error(C), R(C);
817
+ t(17, z = !1), console.error(C), R(C);
808
818
  });
809
819
  }), Te = () => {
810
820
  const r = new URL(`${o}/v1/player/${K}/favorites/`);
811
- t(17, G = !0);
821
+ t(17, z = !0);
812
822
  let p = {
813
823
  method: "GET",
814
824
  headers: { "X-SessionID": Y }
815
825
  };
816
826
  fetch(r.href, p).then((w) => w.json()).then((w) => {
817
- t(17, G = !1), te = w.items.map((R) => R.id);
827
+ t(17, z = !1), te = w.items.map((R) => R.id);
818
828
  });
819
829
  }, Ee = () => {
820
830
  t(31, Z = !0), t(18, Y = s), t(19, K = i);
@@ -822,8 +832,8 @@ function lt(a, e, t) {
822
832
  if ((r == null ? void 0 : r.length) === 0) return "";
823
833
  let p, w = 99999999999, R;
824
834
  const C = new Date(Date.now());
825
- return r.forEach((z, H) => {
826
- const De = new Date(z.schedules[0].startTime), $ = new Date(z.schedules[0].endTime);
835
+ return r.forEach((G, H) => {
836
+ const De = new Date(G.schedules[0].startTime), $ = new Date(G.schedules[0].endTime);
827
837
  Q($).diff(C) < w && (w = Q($).diff(C), R = H), Q(C).isAfter(De) && Q(C).isBefore($) && (p = r[R].name);
828
838
  }), p;
829
839
  }, Ie = (r) => {
@@ -832,7 +842,7 @@ function lt(a, e, t) {
832
842
  v.unshift(r), p = v.join(","), localStorage.setItem("searchedGamesWds_casino", p);
833
843
  }
834
844
  }, X = () => {
835
- t(11, I = ""), t(12, b = !0), t(17, G = !1), t(14, M = []), t(16, F = !1), se(F);
845
+ t(11, I = ""), t(12, b = !0), t(17, z = !1), t(14, M = []), t(16, F = !1), se(F);
836
846
  }, oe = () => {
837
847
  t(11, I = ""), L.focus();
838
848
  }, se = (r) => {
@@ -843,9 +853,9 @@ function lt(a, e, t) {
843
853
  },
844
854
  window.location.href
845
855
  );
846
- }, ze = () => {
847
- $e(c);
848
856
  }, Ge = () => {
857
+ $e(c);
858
+ }, ze = () => {
849
859
  let r = document.createElement("style");
850
860
  r.innerHTML = m, D.appendChild(r);
851
861
  }, Ne = () => {
@@ -889,12 +899,12 @@ function lt(a, e, t) {
889
899
  } else
890
900
  b || ne();
891
901
  a.$$.dirty[0] & /*lang*/
892
- 2 && c && ze(), a.$$.dirty[0] & /*translationurl*/
902
+ 2 && c && Ge(), a.$$.dirty[0] & /*translationurl*/
893
903
  1073741824 && P && Re(), a.$$.dirty[0] & /*session, userid*/
894
904
  805306368 && s && i && Ee(), a.$$.dirty[0] & /*showfavorites*/
895
905
  256 | a.$$.dirty[1] & /*isLoggedIn*/
896
906
  1 && x && Z && Te(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
897
- 8196 && m && D && Ge(), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
907
+ 8196 && m && D && ze(), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
898
908
  8200 && u && D && Ne();
899
909
  }, [
900
910
  o,
@@ -914,7 +924,7 @@ function lt(a, e, t) {
914
924
  M,
915
925
  L,
916
926
  F,
917
- G,
927
+ z,
918
928
  Y,
919
929
  K,
920
930
  n,
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-B-gPVc8F.cjs");require("./CasinoGamesCategorySectionNd-BWwaYErG.cjs");const q=require("./CasinoGameThumbnailNd-CvUlQLWz.cjs");function K(n,t){e.addMessages(n,t)}function Ce(n){e.$locale.set(n)}const X={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:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",loading:"Kayıt olmak",searchResult:"PARA YATIR",cancel:"Sırala:",notFound:"Hepsi",notFoundText:"A-Z",noRecentSearches:"En Yeni",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 Fe(n){e.append_styles(n,"svelte-2xbwo7","*,*::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 40px;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;color:var(--emw--color-gray-100, #E6E6E6);border:none;background:-webkit-linear-gradient(to left, 90deg, rgb(35, 172, 77) 0%, rgb(18, 62, 33) 100%);background:linear-gradient(90deg, rgb(35, 172, 77) 0%, rgb(18, 62, 33) 100%);border-radius:var(--emw--border-radius-medium, 20px);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%;transition:3s}.SearchInput::placeholder{color:var(--emw--color-white, #FFF);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emw--color-white, #FFF);background:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));padding-right:28px}.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{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:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E))}.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,s,i,l;return{c(){t=e.element("small"),r=e.text(a),e.attr(t,"class",s="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&&s!==(s="SearchCancelButton "+(c[12]?"NotVisible":""))&&e.attr(t,"class",s)},d(c){c&&e.detach(t),i=!1,l()}}}function Le(n){let t,a,r,s;function i(d,g){if(d[16]==!0&&d[11].length<2)return Ee;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&&oe(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",s="SearchResultsContainer "+(n[16]==!0?"":"NotVisible"))},m(d,g){c&&c.m(d,g),e.insert(d,t,g),e.insert(d,a,g),u&&u.m(a,null),e.append(a,r),m&&m.m(a,null)},p(d,g){l===(l=i(d))&&c?c.p(d,g):(c&&c.d(1),c=l&&l(d),c&&(c.c(),c.m(t.parentNode,t))),d[12]===!1?u?u.p(d,g):(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,g):(m=oe(d),m.c(),m.m(a,null)):m&&(m.d(1),m=null),g[0]&65536&&s!==(s="SearchResultsContainer "+(d[16]==!0?"":"NotVisible"))&&e.attr(a,"class",s)},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(s,i){e.insert(s,t,i),e.append(t,r)},p(s,i){i[0]&1048576&&a!==(a=s[20]("loading")+"")&&e.set_data(r,a)},d(s){s&&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(s,i){e.insert(s,t,i),e.append(t,r)},p(s,i){i[0]&1048576&&a!==(a=s[20]("searchResult")+"")&&e.set_data(r,a)},d(s){s&&e.detach(t)}}}function Ee(n){let t,a,r=n[14].length!==0&&ee(n),s=n[14].length==0&&te(n);return{c(){r&&r.c(),t=e.space(),s&&s.c(),a=e.empty()},m(i,l){r&&r.m(i,l),e.insert(i,t,l),s&&s.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?s?s.p(i,l):(s=te(i),s.c(),s.m(a.parentNode,a)):s&&(s.d(1),s=null)},d(i){i&&(e.detach(t),e.detach(a)),r&&r.d(i),s&&s.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(s,i){e.insert(s,t,i),e.append(t,r)},p(s,i){i[0]&1048576&&a!==(a=s[20]("recentSearch")+"")&&e.set_data(r,a)},d(s){s&&e.detach(t)}}}function te(n){let t,a,r,s=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(s),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&&s!==(s=u[20]("noRecentSearches")+"")&&e.set_data(i,s),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 s=0;s<a.length;s+=1)r[s]=re(Q(n,a,s));return{c(){for(let s=0;s<r.length;s+=1)r[s].c();t=e.empty()},m(s,i){for(let l=0;l<r.length;l+=1)r[l]&&r[l].m(s,i);e.insert(s,t,i)},p(s,i){if(i[0]&17580543){a=e.ensure_array_like(s[14]);let l;for(l=0;l<a.length;l+=1){const c=Q(s,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(s){s&&e.detach(t),e.destroy_each(r,s)}}}function re(n){let t,a,r,s,i,l,c,u,m,d,g,w;return{c(){var h;t=e.element("casino-game-thumbnail-nd"),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",s=n[53].vendor.name),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",g=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&&s!==(s=h[53].vendor.name)&&e.set_custom_element_data(t,"gamevendor",s),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&&g!==(g=h[53].isFavorite)&&e.set_custom_element_data(t,"gamefavorite",g),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 oe(n){let t,a,r,s=n[20]("notFound")+"",i,l,c,u=n[20]("notFoundText")+"",m,d,g=n[10]==="true"&&se();return{c(){t=e.element("div"),g&&g.c(),a=e.space(),r=e.element("p"),i=e.text(s),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),g&&g.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"?g||(g=se(),g.c(),g.m(t,a)):g&&(g.d(1),g=null),h[0]&1048576&&s!==(s=w[20]("notFound")+"")&&e.set_data(i,s),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),g&&g.d()}}}function se(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 Ge(n){let t,a,r,s,i,l,c,u,m,d,g,w,h,p,T,j,G,P,I,E,b=n[9]==="true"&&$(n);function N(S,y){return S[17]?Te:Le}let C=N(n),R=C(n);return{c(){t=e.element("div"),a=e.element("div"),r=e.element("div"),s=e.element("div"),s.innerHTML='<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#FFF" 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="#FFF" 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"),g=e.svg_element("path"),h=e.space(),b&&b.c(),T=e.space(),j=e.element("div"),P=e.space(),R.c(),e.attr(s,"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(g,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),e.attr(g,"stroke","#717171"),e.attr(g,"stroke-width","2"),e.attr(g,"stroke-linecap","round"),e.attr(g,"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",G=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,s),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,g),e.append(r,h),b&&b.m(r,null),e.append(t,T),e.append(t,j),e.append(t,P),R.m(t,null),n[36](t),I||(E=[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&&G!==(G=S[9]!="true"?"OverlayCancel":"")&&e.attr(j,"class",G),C===(C=N(S))&&R?R.p(S,y):(R.d(1),R=C(S),R&&(R.c(),R.m(t,null)))},i:e.noop,o:e.noop,d(S){S&&e.detach(t),n[33](null),b&&b.d(),R.d(),n[36](null),I=!1,e.run_all(E)}}}let Ie=50;function xe(n,t,a){let r;e.component_subscribe(n,e.$format,o=>a(20,r=o));let{endpoint:s=""}=t,{datasource:i=""}=t,{session:l=""}=t,{userid:c=""}=t,{lang:u="en"}=t,{clientstyling:m=""}=t,{clientstylingurl:d=""}=t,{integratedgameframedesktop:g="false"}=t,{integratedgameframemobile:w="false"}=t,{showgamename:h=""}=t,{gamepagemodalurl:p="true"}=t,{translationurl:T=""}=t,{showfavorites:j=""}=t,{cancelbutton:G="true"}=t,{notfoundicon:P="false"}=t,I=window.navigator.userAgent,E=[],b=[],N={},C="",R,S=!0,y=!1,L=!1,x,D=!1,A,B,O=[];const ie=()=>{fetch(T).then(f=>f.json()).then(f=>{Object.keys(f).forEach(_=>{K(_,f[_])})}).catch(f=>{console.log(f)})};Object.keys(X).forEach(o=>{K(o,X[o])});const U=o=>{o.data&&o.data.type=="SearchedItemClicked"&&fe(o.data.gameId),o.data.type=="UserSessionID"&&(a(18,A=o.data.session),a(19,B=o.data.userid),a(31,D=!0)),o.data.type=="CategoryChange"&&H()},V=()=>{if(a(12,S=!1),a(16,y=!0),s&&i&&u&&C.length<2){a(14,E=[]);let o=localStorage.getItem("searchedGamesWds_casino"),f=[];o&&(f=o.split(","));let _=[],v=0,k=f.length;if(k>0){for(v=0;v<k;v++){let F=new URL(`${s}/v1/casino/games/${f[v]}`);F.searchParams.append("language",u),F.searchParams.append("datasource",i),F.searchParams.append("platform",e.getDevice(I)),_.push(de(F,f[v]))}Promise.all(_).then(F=>{F=F.filter(function(z){return!!z}),a(14,E=F.map(z=>(z.isFavorite=J(z.id),z))),E.length?M("searchSuccess","SearchWidget"):M("searchFail","SearchWidget")}).catch(F=>{M("searchError","SearchWidget")})}}Y(y),M("searchAttempt","SearchWidget"),M("SearchInitialized","SearchWidget")},M=(o,f)=>{typeof gtag=="function"&&gtag("event",o,{context:f})},ce=()=>{G!="true"&&H()},ue=o=>new Promise((f,_)=>{a(17,L=!0),fetch(o.href).then(v=>v.json()).then(v=>{a(17,L=!1),f(v)}).catch(v=>{a(17,L=!1),console.error(v),_(v)})}),de=(o,f)=>new Promise((_,v)=>{a(17,L=!0),f&&Object.keys(N).indexOf(f)>=0?(a(17,L=!1),_(N[f])):fetch(o).then(k=>k.json()).then(k=>{a(17,L=!1),k.error||(N[k[0].gameId]=k[0]),_(k[0])}).catch(k=>{a(17,L=!1),console.error(k),v(k)})}),he=()=>{const o=new URL(`${s}/v1/player/${B}/favorites/`);a(17,L=!0);let f={method:"GET",headers:{"X-SessionID":A}};fetch(o.href,f).then(_=>_.json()).then(_=>{a(17,L=!1),O=_.items.map(v=>v.id)})},me=()=>{a(31,D=!0),a(18,A=l),a(19,B=c)},J=o=>O.findIndex(f=>f==o)!==-1,ge=o=>{if((o==null?void 0:o.length)===0)return"";let f,_=99999999999,v;const k=new Date(Date.now());return o.forEach((F,z)=>{const Re=new Date(F.schedules[0].startTime),W=new Date(F.schedules[0].endTime);q.hooks(W).diff(k)<_&&(_=q.hooks(W).diff(k),v=z),q.hooks(k).isAfter(Re)&&q.hooks(k).isBefore(W)&&(f=o[v].name)}),f},fe=o=>{if(b=localStorage.getItem("searchedGamesWds_casino"),b?b=b.split(","):b=[],b.indexOf(o)===-1){let f;b.unshift(o),f=b.join(","),localStorage.setItem("searchedGamesWds_casino",f)}},H=()=>{a(11,C=""),a(12,S=!0),a(17,L=!1),a(14,E=[]),a(16,y=!1),Y(y)},Z=()=>{a(11,C=""),R.focus()},Y=o=>{window.postMessage({type:o===!0?"searchActive":"searchCancelled",searchStatus:o},window.location.href)},pe=()=>{Ce(u)},_e=()=>{let o=document.createElement("style");o.innerHTML=m,x.appendChild(o)},Se=()=>{let o=new URL(d),f=document.createElement("style");fetch(o.href).then(_=>_.text()).then(_=>{f.innerHTML=_,setTimeout(()=>{x.appendChild(f)},1)})};e.onMount(()=>(window.addEventListener("message",U,!1),()=>{window.removeEventListener("message",U)}));function be(){C=this.value,a(11,C)}function we(o){e.binding_callbacks[o?"unshift":"push"](()=>{R=o,a(15,R)})}const ve=()=>Z(),ke=()=>H();function ye(o){e.binding_callbacks[o?"unshift":"push"](()=>{x=o,a(13,x)})}return n.$$set=o=>{"endpoint"in o&&a(0,s=o.endpoint),"datasource"in o&&a(27,i=o.datasource),"session"in o&&a(28,l=o.session),"userid"in o&&a(29,c=o.userid),"lang"in o&&a(1,u=o.lang),"clientstyling"in o&&a(2,m=o.clientstyling),"clientstylingurl"in o&&a(3,d=o.clientstylingurl),"integratedgameframedesktop"in o&&a(4,g=o.integratedgameframedesktop),"integratedgameframemobile"in o&&a(5,w=o.integratedgameframemobile),"showgamename"in o&&a(6,h=o.showgamename),"gamepagemodalurl"in o&&a(7,p=o.gamepagemodalurl),"translationurl"in o&&a(30,T=o.translationurl),"showfavorites"in o&&a(8,j=o.showfavorites),"cancelbutton"in o&&a(9,G=o.cancelbutton),"notfoundicon"in o&&a(10,P=o.notfoundicon)},n.$$.update=()=>{if(n.$$.dirty[0]&134223875)if(C.length>=2){const o=new URL(`${s}/v1/casino/games`);o.searchParams.append("datasource",i),o.searchParams.append("expand","vendor"),o.searchParams.append("platform",e.getDevice(I)),o.searchParams.append("language",u),o.searchParams.append("pagination","offset=0,limit=30"),o.searchParams.append("filter",`name=${C}`),ue(o).then(f=>{a(14,E=f.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()},[s,u,m,d,g,w,h,p,j,G,P,C,S,x,E,R,y,L,A,B,r,I,V,ce,ge,H,Z,i,l,c,T,D,be,we,ve,ke,ye]}class le extends e.SvelteComponent{constructor(t){super(),e.init(this,t,xe,Ge,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},Fe,[-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;