@everymatrix/casino-navigation-search 1.26.0 → 1.27.2
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.
|
@@ -1318,69 +1318,71 @@ function yi(e,t,n){const r=e.slice();return r[53]=t[n],r}
|
|
|
1318
1318
|
function vi(e){let t,n,r,i,a,o=/*$_*/e[20]("cancel")+"";return{c(){t=p("small"),n=y(o),_(t,"class",r="SearchCancelButton "+(/*searchCancelled*/e[12]?"NotVisible":""))},m(r,o){d(r,t,o),h(t,n),i||(a=w(t,"click",/*click_handler_1*/e[35]),i=!0)},p(e,i){/*$_*/1048576&i[0]&&o!==(o=/*$_*/e[20]("cancel")+"")&&S(n,o),/*searchCancelled*/4096&i[0]&&r!==(r="SearchCancelButton "+(/*searchCancelled*/e[12]?"NotVisible":""))&&_(t,"class",r)},d(e){e&&f(t),i=!1,a()}}}
|
|
1319
1319
|
// (322:4) {:else}
|
|
1320
1320
|
function bi(e){let t,n,r,i;function a(e,t){/*searchActive*/
|
|
1321
|
-
return 1==e[16]&&/*searchValue*/e[11].length<2?xi:/*searchArray*/0!=e[14].length?_i:void 0}let o=a(e),s=o&&o(e),l=/*searchCancelled*/!1===e[12]&&
|
|
1321
|
+
return 1==e[16]&&/*searchValue*/e[11].length<2?xi:/*searchArray*/0!=e[14].length?_i:void 0}let o=a(e),s=o&&o(e),l=/*searchCancelled*/!1===e[12]&&Ti(e),c=/*searchValue*/e[11].length>=2&&/*searchArray*/0==e[14].length&&$i(e);return{c(){s&&s.c(),t=v(),n=p("div"),l&&l.c(),r=v(),c&&c.c(),_(n,"class",i="SearchResultsContainer "+(/*searchActive*/1==e[16]?"":"NotVisible"))},m(e,i){s&&s.m(e,i),d(e,t,i),d(e,n,i),l&&l.m(n,null),h(n,r),c&&c.m(n,null)},p(e,u){o===(o=a(e))&&s?s.p(e,u):(s&&s.d(1),s=o&&o(e),s&&(s.c(),s.m(t.parentNode,t))),/*searchCancelled*/!1===e[12]?l?l.p(e,u):(l=Ti(e),l.c(),l.m(n,r)):l&&(l.d(1),l=null),/*searchValue*/e[11].length>=2&&/*searchArray*/0==e[14].length?c?c.p(e,u):(c=$i(e),c.c(),c.m(n,null)):c&&(c.d(1),c=null),/*searchActive*/65536&u[0]&&i!==(i="SearchResultsContainer "+(/*searchActive*/1==e[16]?"":"NotVisible"))&&_(n,"class",i)},d(e){s&&s.d(e),e&&f(t),e&&f(n),l&&l.d(),c&&c.d()}}}
|
|
1322
1322
|
// (320:4) {#if isLoading}
|
|
1323
1323
|
function wi(e){let t,n,r=/*$_*/e[20]("loading")+"";return{c(){t=p("p"),n=y(r),_(t,"class","LoadingContent")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/1048576&t[0]&&r!==(r=/*$_*/e[20]("loading")+"")&&S(n,r)},d(e){e&&f(t)}}}
|
|
1324
|
-
// (
|
|
1324
|
+
// (342:40)
|
|
1325
1325
|
function _i(e){let t,n,r=/*$_*/e[20]("searchResult")+"";return{c(){t=p("p"),n=y(r),_(t,"class","SearchMessage")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/1048576&t[0]&&r!==(r=/*$_*/e[20]("searchResult")+"")&&S(n,r)},d(e){e&&f(t)}}}
|
|
1326
1326
|
// (323:6) {#if searchActive == true && searchValue.length < 2}
|
|
1327
|
-
function xi(e){let t,n,r
|
|
1328
|
-
// (
|
|
1329
|
-
function Si(e){let t,n,r
|
|
1330
|
-
// (327:
|
|
1331
|
-
function Ei(e){let t;return{c(){t=p("div"),
|
|
1332
|
-
// (
|
|
1333
|
-
function Ci(e){let t
|
|
1334
|
-
// (
|
|
1335
|
-
function Ti(e){let t,n
|
|
1336
|
-
// (
|
|
1337
|
-
function Li(e){let t,n,r,i,a,o,s,l,c
|
|
1338
|
-
// (374:
|
|
1339
|
-
function $i(e){let t;return{c(){t=p("div"),
|
|
1340
|
-
|
|
1327
|
+
function xi(e){let t,n,r=/*searchArray*/0!==e[14].length&&Si(e),i=/*searchArray*/0==e[14].length&&Ei(e);return{c(){r&&r.c(),t=v(),i&&i.c(),n=b()},m(e,a){r&&r.m(e,a),d(e,t,a),i&&i.m(e,a),d(e,n,a)},p(e,a){/*searchArray*/0!==e[14].length?r?r.p(e,a):(r=Si(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),/*searchArray*/0==e[14].length?i?i.p(e,a):(i=Ei(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){r&&r.d(e),e&&f(t),i&&i.d(e),e&&f(n)}}}
|
|
1328
|
+
// (324:8) {#if searchArray.length !== 0}
|
|
1329
|
+
function Si(e){let t,n,r=/*$_*/e[20]("recentSearch")+"";return{c(){t=p("p"),n=y(r),_(t,"class","SearchMessage")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/1048576&t[0]&&r!==(r=/*$_*/e[20]("recentSearch")+"")&&S(n,r)},d(e){e&&f(t)}}}
|
|
1330
|
+
// (327:10) {#if searchArray.length == 0}
|
|
1331
|
+
function Ei(e){let t,n,r,i,a,o=/*$_*/e[20]("noRecentSearches")+"",s=/*notfoundicon*/"true"===e[10]&&Ci();return{c(){t=p("div"),s&&s.c(),n=v(),r=p("p"),i=y(o),_(r,"class","SearchMessage"),_(t,"class",a="ResultsContainerError "+(/*notfoundicon*/"true"==e[10]?"WithIcon":""))},m(e,a){d(e,t,a),s&&s.m(t,null),h(t,n),h(t,r),h(r,i)},p(e,r){/*notfoundicon*/"true"===e[10]?s||(s=Ci(),s.c(),s.m(t,n)):s&&(s.d(1),s=null),/*$_*/1048576&r[0]&&o!==(o=/*$_*/e[20]("noRecentSearches")+"")&&S(i,o),/*notfoundicon*/1024&r[0]&&a!==(a="ResultsContainerError "+(/*notfoundicon*/"true"==e[10]?"WithIcon":""))&&_(t,"class",a)},d(e){e&&f(t),s&&s.d()}}}
|
|
1332
|
+
// (329:12) {#if notfoundicon === 'true'}
|
|
1333
|
+
function Ci(e){let t;return{c(){t=p("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(--emfe-w-color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emfe-w-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(--emfe-w-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(--emfe-w-color-contrast, #131313)"></path></svg>',_(t,"class","SearchErrorIcon")},m(e,n){d(e,t,n)},d(e){e&&f(t)}}}
|
|
1334
|
+
// (346:8) {#if searchCancelled === false}
|
|
1335
|
+
function Ti(e){let t,n=/*searchArray*/e[14],r=[];for(let t=0;t<n.length;t+=1)r[t]=Li(yi(e,n,t));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=b()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);d(e,t,n)},p(e,i){if(/*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, showgamename, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl*/17580543&i[0]){let a;for(n=/*searchArray*/e[14],a=0;a<n.length;a+=1){const o=yi(e,n,a);r[a]?r[a].p(o,i):(r[a]=Li(o),r[a].c(),r[a].m(t.parentNode,t))}for(;a<r.length;a+=1)r[a].d(1);r.length=n.length}},d(e){m(r,e),e&&f(t)}}}
|
|
1336
|
+
// (347:10) {#each searchArray as game}
|
|
1337
|
+
function Li(e){let t,n,r,i,a,o,s,l,c,u,h,m;return{c(){t=p("casino-game-thumbnail"),x(t,"endpoint",/*endpoint*/e[0]),x(t,"session",/*sessionID*/e[18]),x(t,"userid",/*playerID*/e[19]),x(t,"favorites",/*showfavorites*/e[8]),x(t,"lang",/*lang*/e[1]),x(t,"gamethumbnail",n=/*game*/e[53].thumbnail),x(t,"gamename",r=/*game*/e[53].name),x(t,"gamevendor",i=/*game*/e[53].vendor.name),x(t,"gamelaunchurl",a=/*game*/e[53].launchUrl),x(t,"gameisnew",o=/*game*/e[53].isNew),x(t,"gametag",s=/*game*/e[53].advancedTags?.length>0&&/*addGameTag*/e[24](/*game*/e[53].advancedTags)),x(t,"gamecellsize",l=/*game*/e[53].cellSize),x(t,"gameid",c=/*game*/e[53].id),x(t,"showgamename",/*showgamename*/e[6]),x(t,"gamefunmode",u=/*game*/e[53].hasFunMode),x(t,"gamefavorite",h=/*game*/e[53].isFavorite),x(t,"livelobbyendpoint",m=/*game*/e[53].details?/*game*/e[53].launchUrl:""),x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[4]),x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[5]),x(t,"clientstyling",/*clientstyling*/e[2]),x(t,"clientstylingurl",/*clientstylingurl*/e[3]),x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[7])},m(e,n){d(e,t,n)},p(e,d){/*endpoint*/1&d[0]&&x(t,"endpoint",/*endpoint*/e[0]),/*sessionID*/262144&d[0]&&x(t,"session",/*sessionID*/e[18]),/*playerID*/524288&d[0]&&x(t,"userid",/*playerID*/e[19]),/*showfavorites*/256&d[0]&&x(t,"favorites",/*showfavorites*/e[8]),/*lang*/2&d[0]&&x(t,"lang",/*lang*/e[1]),/*searchArray*/16384&d[0]&&n!==(n=/*game*/e[53].thumbnail)&&x(t,"gamethumbnail",n),/*searchArray*/16384&d[0]&&r!==(r=/*game*/e[53].name)&&x(t,"gamename",r),/*searchArray*/16384&d[0]&&i!==(i=/*game*/e[53].vendor.name)&&x(t,"gamevendor",i),/*searchArray*/16384&d[0]&&a!==(a=/*game*/e[53].launchUrl)&&x(t,"gamelaunchurl",a),/*searchArray*/16384&d[0]&&o!==(o=/*game*/e[53].isNew)&&x(t,"gameisnew",o),/*searchArray*/16384&d[0]&&s!==(s=/*game*/e[53].advancedTags?.length>0&&/*addGameTag*/e[24](/*game*/e[53].advancedTags))&&x(t,"gametag",s),/*searchArray*/16384&d[0]&&l!==(l=/*game*/e[53].cellSize)&&x(t,"gamecellsize",l),/*searchArray*/16384&d[0]&&c!==(c=/*game*/e[53].id)&&x(t,"gameid",c),/*showgamename*/64&d[0]&&x(t,"showgamename",/*showgamename*/e[6]),/*searchArray*/16384&d[0]&&u!==(u=/*game*/e[53].hasFunMode)&&x(t,"gamefunmode",u),/*searchArray*/16384&d[0]&&h!==(h=/*game*/e[53].isFavorite)&&x(t,"gamefavorite",h),/*searchArray*/16384&d[0]&&m!==(m=/*game*/e[53].details?/*game*/e[53].launchUrl:"")&&x(t,"livelobbyendpoint",m),/*integratedgameframedesktop*/16&d[0]&&x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[4]),/*integratedgameframemobile*/32&d[0]&&x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[5]),/*clientstyling*/4&d[0]&&x(t,"clientstyling",/*clientstyling*/e[2]),/*clientstylingurl*/8&d[0]&&x(t,"clientstylingurl",/*clientstylingurl*/e[3]),/*gamepagemodalurl*/128&d[0]&&x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[7])},d(e){e&&f(t)}}}
|
|
1338
|
+
// (374:8) {#if searchValue.length >= 2 && searchArray.length == 0}
|
|
1339
|
+
function $i(e){let t,n,r,i,a,o,s,l,c=/*$_*/e[20]("notFound")+"",u=/*$_*/e[20]("notFoundText")+"",m=/*notfoundicon*/"true"===e[10]&&ki();return{c(){t=p("div"),m&&m.c(),n=v(),r=p("p"),i=y(c),a=v(),o=p("p"),s=y(u),_(r,"class","SearchMessage"),_(t,"class",l="ResultsContainerError "+(/*notfoundicon*/"true"==e[10]?"WithIcon":""))},m(e,l){d(e,t,l),m&&m.m(t,null),h(t,n),h(t,r),h(r,i),h(t,a),h(t,o),h(o,s)},p(e,r){/*notfoundicon*/"true"===e[10]?m||(m=ki(),m.c(),m.m(t,n)):m&&(m.d(1),m=null),/*$_*/1048576&r[0]&&c!==(c=/*$_*/e[20]("notFound")+"")&&S(i,c),/*$_*/1048576&r[0]&&u!==(u=/*$_*/e[20]("notFoundText")+"")&&S(s,u),/*notfoundicon*/1024&r[0]&&l!==(l="ResultsContainerError "+(/*notfoundicon*/"true"==e[10]?"WithIcon":""))&&_(t,"class",l)},d(e){e&&f(t),m&&m.d()}}}
|
|
1340
|
+
// (376:12) {#if notfoundicon === 'true'}
|
|
1341
|
+
function ki(e){let t;return{c(){t=p("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(--emfe-w-color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emfe-w-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(--emfe-w-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(--emfe-w-color-contrast, #131313)"></path></svg>',_(t,"class","SearchErrorIcon")},m(e,n){d(e,t,n)},d(e){e&&f(t)}}}function Gi(t){let n,i,a,o,s,l,c,u,m,y,b,x,S,C,T,L,$,k,G,O,P=/*cancelbutton*/"true"===t[9]&&vi(t);function M(e,t){/*isLoading*/
|
|
1342
|
+
return e[17]?wi:bi}let I=M(t),D=I(t);return{c(){n=p("div"),i=p("div"),a=p("div"),o=p("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>',s=v(),l=p("input"),u=v(),m=p("span"),y=g("svg"),b=g("path"),S=v(),P&&P.c(),T=v(),L=p("div"),k=v(),D.c(),this.c=e,_(o,"class","SearchIcon"),_(l,"class","SearchInput"),_(l,"type","search"),_(l,"placeholder",c=/*$_*/t[20]("placeHolderSearchGames")),_(l,"maxlength",Oi),_(b,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),_(b,"stroke","#717171"),_(b,"stroke-width","2"),_(b,"stroke-linecap","round"),_(b,"stroke-linejoin","round"),_(y,"width","11"),_(y,"height","11"),_(y,"fill","none"),_(y,"xmlns","http://www.w3.org/2000/svg"),_(m,"class",x="SearchClearButton "+(/*cancelbutton*/"true"!=t[9]?"WithoutCancel":"")+" "+(/*searchValue*/0!=t[11].length?"":"NotVisible")),_(a,"class",C="Search "+(/*searchCancelled*/t[12]?"":"SearchAnimation")),_(i,"class","SearchWrap"),_(L,"class",$=/*cancelbutton*/"true"!=t[9]?"OverlayCancel":""),_(n,"class",("PC"!==Nr(/*userAgent*/t[21])?"":"Desktop")+" CasinoSearch")},m(e,r){d(e,n,r),h(n,i),h(i,a),h(a,o),h(a,s),h(a,l),E(l,/*searchValue*/t[11]),
|
|
1341
1343
|
/*input_binding*/t[33](l),h(a,u),h(a,m),h(m,y),h(y,b),h(a,S),P&&P.m(a,null),h(n,T),h(n,L),h(n,k),D.m(n,null),
|
|
1342
1344
|
/*div4_binding*/t[36](n),G||(O=[w(l,"input",/*input_input_handler*/t[32]),w(l,"focus",/*onFocus*/t[22]),w(m,"click",/*click_handler*/t[34]),w(L,"click",/*handleOverlay*/t[23])],G=!0)},p(e,t){/*$_*/1048576&t[0]&&c!==(c=/*$_*/e[20]("placeHolderSearchGames"))&&_(l,"placeholder",c),/*searchValue*/2048&t[0]&&l.value!==/*searchValue*/e[11]&&E(l,/*searchValue*/e[11]),/*cancelbutton, searchValue*/2560&t[0]&&x!==(x="SearchClearButton "+(/*cancelbutton*/"true"!=e[9]?"WithoutCancel":"")+" "+(/*searchValue*/0!=e[11].length?"":"NotVisible"))&&_(m,"class",x),/*cancelbutton*/"true"===e[9]?P?P.p(e,t):(P=vi(e),P.c(),P.m(a,null)):P&&(P.d(1),P=null),/*searchCancelled*/4096&t[0]&&C!==(C="Search "+(/*searchCancelled*/e[12]?"":"SearchAnimation"))&&_(a,"class",C),/*cancelbutton*/512&t[0]&&$!==($=/*cancelbutton*/"true"!=e[9]?"OverlayCancel":"")&&_(L,"class",$),I===(I=M(e))&&D?D.p(e,t):(D.d(1),D=I(e),D&&(D.c(),D.m(n,null)))},i:e,o:e,d(e){e&&f(n)
|
|
1343
1345
|
/*input_binding*/,t[33](null),P&&P.d(),D.d(),
|
|
1344
|
-
/*div4_binding*/t[36](null),G=!1,r(O)}}}!customElements.get("casino-game-thumbnail")&&customElements.define("casino-game-thumbnail",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameContainer.WithGameName{padding-bottom:20px}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-size:16px;border:2px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-weight:bold;text-transform:uppercase;border-radius:5px}.GameInnerContainer:hover,.GameInnerContainer:active{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper,.GameInnerContainer:active .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1)}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, rgb(0, 0, 0) 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid #fff;opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}@container (max-width: 375px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{margin-bottom:5px;font-size:12px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:14px;padding:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px}}@container (max-width: 410px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:12px;margin-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:14px;padding:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px}}@container (max-width: 480px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:12px;margin-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:14px;padding:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px}}',this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},gi,hi,a,{session:44,userid:45,lang:1,clientstyling:46,clientstylingurl:47,translationurl:48,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gamelaunchurl:49,gameid:6,gameisnew:7,gametag:8,gamefunmode:50,gamefavorite:0,gamecellsize:9,showfavoredcategory:51,showgamename:10,currency:52,gamepagemodalurl:53,endpoint:54,livelobbyendpoint:55,connectlive:56,visibilityconnect:57,integratedgameframedesktop:58,integratedgameframemobile:59,casinogamesgridslider:11,MONEY_WHEEL_COLOR_MAP:60,ROULETTE_COLOR_MAP:61},null,[-1,-1,-1,-1]),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gamelaunchurl","gameid","gameisnew","gametag","gamefunmode","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","casinogamesgridslider","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[44]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[45]}set userid(e){this.$$set({userid:e}),B()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),B()}get clientstyling(){return this.$$.ctx[46]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[47]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get translationurl(){return this.$$.ctx[48]}set translationurl(e){this.$$set({translationurl:e}),B()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),B()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),B()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),B()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),B()}get gamelaunchurl(){return this.$$.ctx[49]}set gamelaunchurl(e){this.$$set({gamelaunchurl:e}),B()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),B()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),B()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),B()}get gamefunmode(){return this.$$.ctx[50]}set gamefunmode(e){this.$$set({gamefunmode:e}),B()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),B()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),B()}get showfavoredcategory(){return this.$$.ctx[51]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),B()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),B()}get currency(){return this.$$.ctx[52]}set currency(e){this.$$set({currency:e}),B()}get gamepagemodalurl(){return this.$$.ctx[53]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get endpoint(){return this.$$.ctx[54]}set endpoint(e){this.$$set({endpoint:e}),B()}get livelobbyendpoint(){return this.$$.ctx[55]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),B()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$$set({connectlive:e}),B()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[58]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get integratedgameframemobile(){return this.$$.ctx[59]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),B()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[60]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[61]}});let Gi=50;function Oi(e,t,n){let r;u(e,Ln,(e=>n(20,r=e)));let i,a,o,s,{endpoint:l=""}=t,{datasource:c=""}=t,{session:h=""}=t,{userid:d=""}=t,{lang:f="en"}=t,{clientstyling:m=""}=t,{clientstylingurl:p=""}=t,{integratedgameframedesktop:g="false"}=t,{integratedgameframemobile:y="false"}=t,{showgamename:v=""}=t,{gamepagemodalurl:b="true"}=t,{translationurl:w=""}=t,{showfavorites:_=""}=t,{cancelbutton:x="true"}=t,{notfoundicon:S="false"}=t,E=window.navigator.userAgent,C=[],T=[],L={},$="",G=!0,P=!1,M=!1,I=!1,D=[];Object.keys(kn).forEach((e=>{$n(e,kn[e])}));const F=e=>{e.data&&"SearchedItemClicked"==e.data.type&&B(e.data.gameId),"UserSessionID"==e.data.type&&(n(18,o=e.data.session),n(19,s=e.data.userid),n(31,I=!0)),"CategoryChange"==e.data.type&&U()},R=()=>{if(n(12,G=!1),n(16,P=!0),l&&c&&f&&$.length<2){n(14,C=[]);let e=localStorage.getItem("searchedGamesWds_casino"),t=[];e&&(t=e.split(","));let r=[],i=0,a=t.length;if(a>0){for(i=0;i<a;i++){let e=new URL(`${l}/v1/casino/games/${t[i]}`);e.searchParams.append("language",f),e.searchParams.append("datasource",c),e.searchParams.append("platform",Nr(E)),r.push(A(e,t[i]))}Promise.all(r).then((e=>{e=e.filter((function(e){return!!e})),n(14,C=e.map((e=>(e.isFavorite=H(e.id),e)))),C.length?N("searchSuccess","SearchWidget"):N("searchFail","SearchWidget")})).catch((e=>{N("searchError","SearchWidget")}))}}j(P),N("searchAttempt","SearchWidget"),
|
|
1346
|
+
/*div4_binding*/t[36](null),G=!1,r(O)}}}!customElements.get("casino-game-thumbnail")&&customElements.define("casino-game-thumbnail",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameContainer.WithGameName{padding-bottom:20px}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-size:16px;border:2px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-weight:bold;text-transform:uppercase;border-radius:5px}.GameInnerContainer:hover,.GameInnerContainer:active{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper,.GameInnerContainer:active .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1)}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, rgb(0, 0, 0) 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid #fff;opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}@container (max-width: 375px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{margin-bottom:5px;font-size:12px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:14px;padding:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px}}@container (max-width: 410px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:12px;margin-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:14px;padding:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px}}@container (max-width: 480px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:12px;margin-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:14px;padding:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px}}',this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},gi,hi,a,{session:44,userid:45,lang:1,clientstyling:46,clientstylingurl:47,translationurl:48,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gamelaunchurl:49,gameid:6,gameisnew:7,gametag:8,gamefunmode:50,gamefavorite:0,gamecellsize:9,showfavoredcategory:51,showgamename:10,currency:52,gamepagemodalurl:53,endpoint:54,livelobbyendpoint:55,connectlive:56,visibilityconnect:57,integratedgameframedesktop:58,integratedgameframemobile:59,casinogamesgridslider:11,MONEY_WHEEL_COLOR_MAP:60,ROULETTE_COLOR_MAP:61},null,[-1,-1,-1,-1]),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gamelaunchurl","gameid","gameisnew","gametag","gamefunmode","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","casinogamesgridslider","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[44]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[45]}set userid(e){this.$$set({userid:e}),B()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),B()}get clientstyling(){return this.$$.ctx[46]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[47]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get translationurl(){return this.$$.ctx[48]}set translationurl(e){this.$$set({translationurl:e}),B()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),B()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),B()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),B()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),B()}get gamelaunchurl(){return this.$$.ctx[49]}set gamelaunchurl(e){this.$$set({gamelaunchurl:e}),B()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),B()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),B()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),B()}get gamefunmode(){return this.$$.ctx[50]}set gamefunmode(e){this.$$set({gamefunmode:e}),B()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),B()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),B()}get showfavoredcategory(){return this.$$.ctx[51]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),B()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),B()}get currency(){return this.$$.ctx[52]}set currency(e){this.$$set({currency:e}),B()}get gamepagemodalurl(){return this.$$.ctx[53]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get endpoint(){return this.$$.ctx[54]}set endpoint(e){this.$$set({endpoint:e}),B()}get livelobbyendpoint(){return this.$$.ctx[55]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),B()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$$set({connectlive:e}),B()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[58]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get integratedgameframemobile(){return this.$$.ctx[59]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),B()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[60]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[61]}});let Oi=50;function Pi(e,t,n){let r;u(e,Ln,(e=>n(20,r=e)));let i,a,o,s,{endpoint:l=""}=t,{datasource:c=""}=t,{session:h=""}=t,{userid:d=""}=t,{lang:f="en"}=t,{clientstyling:m=""}=t,{clientstylingurl:p=""}=t,{integratedgameframedesktop:g="false"}=t,{integratedgameframemobile:y="false"}=t,{showgamename:v=""}=t,{gamepagemodalurl:b="true"}=t,{translationurl:w=""}=t,{showfavorites:_=""}=t,{cancelbutton:x="true"}=t,{notfoundicon:S="false"}=t,E=window.navigator.userAgent,C=[],T=[],L={},$="",G=!0,P=!1,M=!1,I=!1,D=[];Object.keys(kn).forEach((e=>{$n(e,kn[e])}));const F=e=>{e.data&&"SearchedItemClicked"==e.data.type&&B(e.data.gameId),"UserSessionID"==e.data.type&&(n(18,o=e.data.session),n(19,s=e.data.userid),n(31,I=!0)),"CategoryChange"==e.data.type&&U()},R=()=>{if(n(12,G=!1),n(16,P=!0),l&&c&&f&&$.length<2){n(14,C=[]);let e=localStorage.getItem("searchedGamesWds_casino"),t=[];e&&(t=e.split(","));let r=[],i=0,a=t.length;if(a>0){for(i=0;i<a;i++){let e=new URL(`${l}/v1/casino/games/${t[i]}`);e.searchParams.append("language",f),e.searchParams.append("datasource",c),e.searchParams.append("platform",Nr(E)),r.push(A(e,t[i]))}Promise.all(r).then((e=>{e=e.filter((function(e){return!!e})),n(14,C=e.map((e=>(e.isFavorite=H(e.id),e)))),C.length?N("searchSuccess","SearchWidget"):N("searchFail","SearchWidget")})).catch((e=>{N("searchError","SearchWidget")}))}}j(P),N("searchAttempt","SearchWidget"),
|
|
1345
1347
|
//Analytics event
|
|
1346
|
-
N("SearchInitialized","SearchWidget")},N=(e,t)=>{"function"==typeof gtag&>ag("event",e,{context:t})},A=(e,t)=>new Promise(((r,i)=>{n(17,M=!0),t&&Object.keys(L).indexOf(t)>=0?(n(17,M=!1),r(L[t])):fetch(e).then((e=>e.json())).then((e=>{n(17,M=!1),e.error||(L[e[0].gameId]=e[0]),r(e[0])})).catch((e=>{n(17,M=!1),console.error(e),i(e)}))})),H=e=>-1!==D.findIndex((t=>t==e)),B=e=>{if(T=localStorage.getItem("searchedGamesWds_casino"),T=T?T.split(","):[],-1===T.indexOf(e)){let t;T.unshift(e),t=T.join(","),localStorage.setItem("searchedGamesWds_casino",t)}},U=()=>{n(11,$=""),n(12,G=!0),n(17,M=!1),n(14,C=[]),n(16,P=!1),j(P)},Y=()=>{n(11,$=""),i.focus()},j=e=>{window.postMessage({type:!0===e?"searchActive":"searchCancelled",searchStatus:e},window.location.href)},W=()=>{var e;e=f,sn.set(e)};k((()=>(window.addEventListener("message",F,!1),()=>{window.removeEventListener("message",F)})));return e.$$set=e=>{"endpoint"in e&&n(0,l=e.endpoint),"datasource"in e&&n(27,c=e.datasource),"session"in e&&n(28,h=e.session),"userid"in e&&n(29,d=e.userid),"lang"in e&&n(1,f=e.lang),"clientstyling"in e&&n(2,m=e.clientstyling),"clientstylingurl"in e&&n(3,p=e.clientstylingurl),"integratedgameframedesktop"in e&&n(4,g=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(5,y=e.integratedgameframemobile),"showgamename"in e&&n(6,v=e.showgamename),"gamepagemodalurl"in e&&n(7,b=e.gamepagemodalurl),"translationurl"in e&&n(30,w=e.translationurl),"showfavorites"in e&&n(8,_=e.showfavorites),"cancelbutton"in e&&n(9,x=e.cancelbutton),"notfoundicon"in e&&n(10,S=e.notfoundicon)},e.$$.update=()=>{if(/*searchValue, endpoint, datasource, lang, searchCancelled*/134223875&e.$$.dirty[0])if($.length>=2){const e=new URL(`${l}/v1/casino/games`);e.searchParams.append("datasource",c),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",Nr(E)),e.searchParams.append("language",f),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter",`name=${$}`),(t=e,new Promise(((e,r)=>{n(17,M=!0),fetch(t.href).then((e=>e.json())).then((t=>{n(17,M=!1),e(t)})).catch((e=>{n(17,M=!1),console.error(e),r(e)}))}))).then((e=>{n(14,C=e.items.map((e=>(e.isFavorite=H(e.id),e))))}))}else G||R();var t;/*lang*/2&e.$$.dirty[0]&&f&&W(),/*translationurl*/1073741824&e.$$.dirty[0]&&w&&fetch(w).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{$n(t,e[t])}))})).catch((e=>{console.log(e)})),/*session, userid*/805306368&e.$$.dirty[0]&&h&&d&&(n(31,I=!0),n(18,o=h),n(19,s=d)),/*showfavorites*/256&e.$$.dirty[0]|/*isLoggedIn*/1&e.$$.dirty[1]&&_&&I&&(()=>{const e=new URL(`${l}/v1/player/${s}/favorites/`);n(17,M=!0);let t={method:"GET",headers:{"X-SessionID":o}};fetch(e.href,t).then((e=>e.json())).then((e=>{n(17,M=!1),D=e.items.map((e=>e.id))}))})(),/*clientstyling, customStylingContainer*/8196&e.$$.dirty[0]&&m&&a&&(()=>{let e=document.createElement("style");e.innerHTML=m,a.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/8200&e.$$.dirty[0]&&p&&a&&(()=>{let e=new URL(p),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{a.appendChild(t)}),1)}))})()},[l,f,m,p,g,y,v,b,_,x,S,$,G,a,C,i,P,M,o,s,r,E,R,()=>{"true"!=x&&U()},e=>{if(0===(null==e?void 0:e.length))return"";let t,n,r=99999999999;const i=new Date(Date.now());return e.forEach(((a,o)=>{const s=new Date(a.schedules[0].startTime),l=new Date(a.schedules[0].endTime);Ar(l).diff(i)<r&&(r=Ar(l).diff(i),n=o),Ar(i).isAfter(s)&&Ar(i).isBefore(l)&&(t=e[n].name)})),t},U,Y,c,h,d,w,I,function(){$=this.value,n(11,$)},function(e){O[e?"unshift":"push"]((()=>{i=e,n(15,i)}))},()=>Y(),()=>U(),function(e){O[e?"unshift":"push"]((()=>{a=e,n(13,a)}))}]}function Pi(e,t){Nt(e,t)}!customElements.get("casino-search")&&customElements.define("casino-search",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input{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(--emfe-w-casino-typography, var(--emfe-w-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(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-color-gray-100, #E6E6E6);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%}.SearchInput::placeholder{color:var(--emfe-w-color-gray-150, #828282);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emfe-w-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(--emfe-w-color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emfe-w-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(--emfe-w-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(--emfe-w-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}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},Oi,ki,a,{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},null,[-1,-1]),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","datasource","session","userid","lang","clientstyling","clientstylingurl","integratedgameframedesktop","integratedgameframemobile","showgamename","gamepagemodalurl","translationurl","showfavorites","cancelbutton","notfoundicon"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),B()}get datasource(){return this.$$.ctx[27]}set datasource(e){this.$$set({datasource:e}),B()}get session(){return this.$$.ctx[28]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[29]}set userid(e){this.$$set({userid:e}),B()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),B()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[4]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get integratedgameframemobile(){return this.$$.ctx[5]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get showgamename(){return this.$$.ctx[6]}set showgamename(e){this.$$set({showgamename:e}),B()}get gamepagemodalurl(){return this.$$.ctx[7]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get translationurl(){return this.$$.ctx[30]}set translationurl(e){this.$$set({translationurl:e}),B()}get showfavorites(){return this.$$.ctx[8]}set showfavorites(e){this.$$set({showfavorites:e}),B()}get cancelbutton(){return this.$$.ctx[9]}set cancelbutton(e){this.$$set({cancelbutton:e}),B()}get notfoundicon(){return this.$$.ctx[10]}set notfoundicon(e){this.$$set({notfoundicon:e}),B()}});const Mi={en:{categories:"Categories",providers:"Suppliers"},"zh-hk":{categories:"类别",providers:"供应商"},de:{categories:"Kategorien",providers:"Anbieter"},it:{categories:"Categories",providers:"Suppliers"},fr:{categories:"Catégories",providers:"Fournisseurs"},es:{categories:"Categorias",providers:"Proveedores"},tr:{categories:"Categories",providers:"Suppliers"},ru:{categories:"Categories",providers:"Suppliers"},ro:{categories:"Categorii",providers:"Furnizori"},hr:{categories:"Kategorije",providers:"Provideri"},hu:{categories:"Categories",providers:"Suppliers"},pl:{categories:"Categories",providers:"Suppliers"},pt:{categories:"Categories",providers:"Suppliers"},sl:{categories:"Categories",providers:"Suppliers"},sr:{categories:"Categories",providers:"Suppliers"}};function Ii(e,t){Nt(e,t)}const Di={en:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},"zh-hk":{topCategories:"热门类别",otherCategories:"其他类别",loading:"加载请稍候...",games:"游戏"},de:{topCategories:"Top Kategorien",otherCategories:"Andere Kategorien",loading:"Es lädt, bitte warten...",games:"Spiele"},it:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},fr:{topCategories:"Catégories principales",otherCategories:"Autres catégories",loading:"Chargement, veuillez patienter...",games:"jeux"},es:{topCategories:"Categorias Top",otherCategories:"Otras Categorias",loading:"Cargando...",games:"juegos"},tr:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},ru:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},ro:{topCategories:"Categorii de top",otherCategories:"Alte categorii",loading:"Se incarca, te rugam asteapta…",games:"jocuri"},hr:{topCategories:"Najbolje kategorije",otherCategories:"Ostale kategorije",loading:"Učitavam",games:"Igre"},hu:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},pl:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},pt:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},sl:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},sr:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"}};
|
|
1347
|
-
/* ../casino-categories/src/CasinoCategories.svelte generated by Svelte v3.59.2 */function
|
|
1348
|
+
N("SearchInitialized","SearchWidget")},N=(e,t)=>{"function"==typeof gtag&>ag("event",e,{context:t})},A=(e,t)=>new Promise(((r,i)=>{n(17,M=!0),t&&Object.keys(L).indexOf(t)>=0?(n(17,M=!1),r(L[t])):fetch(e).then((e=>e.json())).then((e=>{n(17,M=!1),e.error||(L[e[0].gameId]=e[0]),r(e[0])})).catch((e=>{n(17,M=!1),console.error(e),i(e)}))})),H=e=>-1!==D.findIndex((t=>t==e)),B=e=>{if(T=localStorage.getItem("searchedGamesWds_casino"),T=T?T.split(","):[],-1===T.indexOf(e)){let t;T.unshift(e),t=T.join(","),localStorage.setItem("searchedGamesWds_casino",t)}},U=()=>{n(11,$=""),n(12,G=!0),n(17,M=!1),n(14,C=[]),n(16,P=!1),j(P)},Y=()=>{n(11,$=""),i.focus()},j=e=>{window.postMessage({type:!0===e?"searchActive":"searchCancelled",searchStatus:e},window.location.href)},W=()=>{var e;e=f,sn.set(e)};k((()=>(window.addEventListener("message",F,!1),()=>{window.removeEventListener("message",F)})));return e.$$set=e=>{"endpoint"in e&&n(0,l=e.endpoint),"datasource"in e&&n(27,c=e.datasource),"session"in e&&n(28,h=e.session),"userid"in e&&n(29,d=e.userid),"lang"in e&&n(1,f=e.lang),"clientstyling"in e&&n(2,m=e.clientstyling),"clientstylingurl"in e&&n(3,p=e.clientstylingurl),"integratedgameframedesktop"in e&&n(4,g=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(5,y=e.integratedgameframemobile),"showgamename"in e&&n(6,v=e.showgamename),"gamepagemodalurl"in e&&n(7,b=e.gamepagemodalurl),"translationurl"in e&&n(30,w=e.translationurl),"showfavorites"in e&&n(8,_=e.showfavorites),"cancelbutton"in e&&n(9,x=e.cancelbutton),"notfoundicon"in e&&n(10,S=e.notfoundicon)},e.$$.update=()=>{if(/*searchValue, endpoint, datasource, lang, searchCancelled*/134223875&e.$$.dirty[0])if($.length>=2){const e=new URL(`${l}/v1/casino/games`);e.searchParams.append("datasource",c),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",Nr(E)),e.searchParams.append("language",f),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter",`name=${$}`),(t=e,new Promise(((e,r)=>{n(17,M=!0),fetch(t.href).then((e=>e.json())).then((t=>{n(17,M=!1),e(t)})).catch((e=>{n(17,M=!1),console.error(e),r(e)}))}))).then((e=>{n(14,C=e.items.map((e=>(e.isFavorite=H(e.id),e))))}))}else G||R();var t;/*lang*/2&e.$$.dirty[0]&&f&&W(),/*translationurl*/1073741824&e.$$.dirty[0]&&w&&fetch(w).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{$n(t,e[t])}))})).catch((e=>{console.log(e)})),/*session, userid*/805306368&e.$$.dirty[0]&&h&&d&&(n(31,I=!0),n(18,o=h),n(19,s=d)),/*showfavorites*/256&e.$$.dirty[0]|/*isLoggedIn*/1&e.$$.dirty[1]&&_&&I&&(()=>{const e=new URL(`${l}/v1/player/${s}/favorites/`);n(17,M=!0);let t={method:"GET",headers:{"X-SessionID":o}};fetch(e.href,t).then((e=>e.json())).then((e=>{n(17,M=!1),D=e.items.map((e=>e.id))}))})(),/*clientstyling, customStylingContainer*/8196&e.$$.dirty[0]&&m&&a&&(()=>{let e=document.createElement("style");e.innerHTML=m,a.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/8200&e.$$.dirty[0]&&p&&a&&(()=>{let e=new URL(p),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{a.appendChild(t)}),1)}))})()},[l,f,m,p,g,y,v,b,_,x,S,$,G,a,C,i,P,M,o,s,r,E,R,()=>{"true"!=x&&U()},e=>{if(0===(null==e?void 0:e.length))return"";let t,n,r=99999999999;const i=new Date(Date.now());return e.forEach(((a,o)=>{const s=new Date(a.schedules[0].startTime),l=new Date(a.schedules[0].endTime);Ar(l).diff(i)<r&&(r=Ar(l).diff(i),n=o),Ar(i).isAfter(s)&&Ar(i).isBefore(l)&&(t=e[n].name)})),t},U,Y,c,h,d,w,I,function(){$=this.value,n(11,$)},function(e){O[e?"unshift":"push"]((()=>{i=e,n(15,i)}))},()=>Y(),()=>U(),function(e){O[e?"unshift":"push"]((()=>{a=e,n(13,a)}))}]}function Mi(e,t){Nt(e,t)}!customElements.get("casino-search")&&customElements.define("casino-search",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input{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(--emfe-w-casino-typography, var(--emfe-w-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(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-color-gray-100, #E6E6E6);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%}.SearchInput::placeholder{color:var(--emfe-w-color-gray-150, #828282);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emfe-w-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(--emfe-w-color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emfe-w-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(--emfe-w-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(--emfe-w-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}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},Pi,Gi,a,{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},null,[-1,-1]),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","datasource","session","userid","lang","clientstyling","clientstylingurl","integratedgameframedesktop","integratedgameframemobile","showgamename","gamepagemodalurl","translationurl","showfavorites","cancelbutton","notfoundicon"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),B()}get datasource(){return this.$$.ctx[27]}set datasource(e){this.$$set({datasource:e}),B()}get session(){return this.$$.ctx[28]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[29]}set userid(e){this.$$set({userid:e}),B()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),B()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[4]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get integratedgameframemobile(){return this.$$.ctx[5]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get showgamename(){return this.$$.ctx[6]}set showgamename(e){this.$$set({showgamename:e}),B()}get gamepagemodalurl(){return this.$$.ctx[7]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get translationurl(){return this.$$.ctx[30]}set translationurl(e){this.$$set({translationurl:e}),B()}get showfavorites(){return this.$$.ctx[8]}set showfavorites(e){this.$$set({showfavorites:e}),B()}get cancelbutton(){return this.$$.ctx[9]}set cancelbutton(e){this.$$set({cancelbutton:e}),B()}get notfoundicon(){return this.$$.ctx[10]}set notfoundicon(e){this.$$set({notfoundicon:e}),B()}});const Ii={en:{categories:"Categories",providers:"Suppliers"},"zh-hk":{categories:"类别",providers:"供应商"},de:{categories:"Kategorien",providers:"Anbieter"},it:{categories:"Categories",providers:"Suppliers"},fr:{categories:"Catégories",providers:"Fournisseurs"},es:{categories:"Categorias",providers:"Proveedores"},tr:{categories:"Categories",providers:"Suppliers"},ru:{categories:"Categories",providers:"Suppliers"},ro:{categories:"Categorii",providers:"Furnizori"},hr:{categories:"Kategorije",providers:"Provideri"},hu:{categories:"Categories",providers:"Suppliers"},pl:{categories:"Categories",providers:"Suppliers"},pt:{categories:"Categories",providers:"Suppliers"},sl:{categories:"Categories",providers:"Suppliers"},sr:{categories:"Categories",providers:"Suppliers"}};function Di(e,t){Nt(e,t)}const Fi={en:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},"zh-hk":{topCategories:"热门类别",otherCategories:"其他类别",loading:"加载请稍候...",games:"游戏"},de:{topCategories:"Top Kategorien",otherCategories:"Andere Kategorien",loading:"Es lädt, bitte warten...",games:"Spiele"},it:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},fr:{topCategories:"Catégories principales",otherCategories:"Autres catégories",loading:"Chargement, veuillez patienter...",games:"jeux"},es:{topCategories:"Categorias Top",otherCategories:"Otras Categorias",loading:"Cargando...",games:"juegos"},tr:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},ru:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},ro:{topCategories:"Categorii de top",otherCategories:"Alte categorii",loading:"Se incarca, te rugam asteapta…",games:"jocuri"},hr:{topCategories:"Najbolje kategorije",otherCategories:"Ostale kategorije",loading:"Učitavam",games:"Igre"},hu:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},pl:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},pt:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},sl:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},sr:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"}};
|
|
1349
|
+
/* ../casino-categories/src/CasinoCategories.svelte generated by Svelte v3.59.2 */function Ri(e,t,n){const r=e.slice();return r[24]=t[n],r}function Ni(e,t,n){const r=e.slice();return r[24]=t[n],r}
|
|
1348
1350
|
// (80:2) {:else}
|
|
1349
|
-
function
|
|
1351
|
+
function Ai(e){let t,n,r,i,a,o,s,l,c=/*$_*/e[5]("topCategories")+"",u=/*$_*/e[5]("otherCategories")+"",g=/*topCategories*/e[3],b=[];for(let t=0;t<g.length;t+=1)b[t]=Bi(Ni(e,g,t));let w=/*otherCategories*/e[4],x=[];for(let t=0;t<w.length;t+=1)x[t]=Ui(Ri(e,w,t));return{c(){t=p("div"),n=p("h4"),r=y(c),i=v();for(let e=0;e<b.length;e+=1)b[e].c();a=v(),o=p("h4"),s=y(u),l=v();for(let e=0;e<x.length;e+=1)x[e].c();_(n,"class","CategoryTitle"),_(o,"class","CategoryTitle"),_(t,"class","CasinoCategories")},m(e,c){d(e,t,c),h(t,n),h(n,r),h(t,i);for(let e=0;e<b.length;e+=1)b[e]&&b[e].m(t,null);h(t,a),h(t,o),h(o,s),h(t,l);for(let e=0;e<x.length;e+=1)x[e]&&x[e].m(t,null)},p(e,n){if(/*$_*/32&n&&c!==(c=/*$_*/e[5]("topCategories")+"")&&S(r,c),/*activecategory, topCategories, openGameCategory, $_*/105&n){let r;for(g=/*topCategories*/e[3],r=0;r<g.length;r+=1){const i=Ni(e,g,r);b[r]?b[r].p(i,n):(b[r]=Bi(i),b[r].c(),b[r].m(t,a))}for(;r<b.length;r+=1)b[r].d(1);b.length=g.length}if(/*$_*/32&n&&u!==(u=/*$_*/e[5]("otherCategories")+"")&&S(s,u),/*activecategory, otherCategories, openGameCategory, $_*/113&n){let r;for(w=/*otherCategories*/e[4],r=0;r<w.length;r+=1){const i=Ri(e,w,r);x[r]?x[r].p(i,n):(x[r]=Ui(i),x[r].c(),x[r].m(t,null))}for(;r<x.length;r+=1)x[r].d(1);x.length=w.length}},d(e){e&&f(t),m(b,e),m(x,e)}}}
|
|
1350
1352
|
// (78:2) {#if isLoading}
|
|
1351
|
-
function
|
|
1353
|
+
function Hi(t){let n;return{c(){n=p("p"),n.textContent="Loading, please wait...",_(n,"class","Message")},m(e,t){d(e,n,t)},p:e,d(e){e&&f(n)}}}
|
|
1352
1354
|
// (83:4) {#each topCategories as category}
|
|
1353
|
-
function
|
|
1355
|
+
function Bi(e){let t,n,r,i,a,o,s,c,u,m,g,b,x,E,C,T,L=/*category*/e[24].name+"",$=/*category*/e[24].games.count+"",k=/*$_*/e[5]("games")+"";function G(){/*click_handler*/
|
|
1354
1356
|
return e[14](/*category*/e[24])}return{c(){t=p("div"),n=p("img"),a=v(),o=p("div"),s=p("p"),c=y(L),u=v(),m=p("p"),g=y($),b=v(),x=y(k),l(n.src,r=/*category*/e[24].icon)||_(n,"src",r),_(n,"alt",i=/*category*/e[24].name),_(n,"class","CategoryImage"),_(o,"class","CategoryTextContainer"),_(t,"class",E="Category "+(/*activecategory*/e[0]===/*category*/e[24].id?"Active":""))},m(e,r){d(e,t,r),h(t,n),h(t,a),h(t,o),h(o,s),h(s,c),h(o,u),h(o,m),h(m,g),h(m,b),h(m,x),C||(T=w(t,"click",G),C=!0)},p(a,o){e=a,/*topCategories*/8&o&&!l(n.src,r=/*category*/e[24].icon)&&_(n,"src",r),/*topCategories*/8&o&&i!==(i=/*category*/e[24].name)&&_(n,"alt",i),/*topCategories*/8&o&&L!==(L=/*category*/e[24].name+"")&&S(c,L),/*topCategories*/8&o&&$!==($=/*category*/e[24].games.count+"")&&S(g,$),/*$_*/32&o&&k!==(k=/*$_*/e[5]("games")+"")&&S(x,k),/*activecategory, topCategories*/9&o&&E!==(E="Category "+(/*activecategory*/e[0]===/*category*/e[24].id?"Active":""))&&_(t,"class",E)},d(e){e&&f(t),C=!1,T()}}}
|
|
1355
1357
|
// (93:4) {#each otherCategories as category}
|
|
1356
|
-
function
|
|
1357
|
-
return e[15](/*category*/e[24])}return{c(){t=p("div"),n=p("img"),a=v(),o=p("div"),s=p("p"),c=y($),u=v(),m=p("p"),g=y(k),b=v(),x=y(G),E=v(),l(n.src,r=/*category*/e[24].icon)||_(n,"src",r),_(n,"alt",i=/*category*/e[24].name),_(n,"class","CategoryImage"),_(o,"class","CategoryTextContainer"),_(t,"class",C="Category "+(/*activecategory*/e[0]===/*category*/e[24].id?"Active":""))},m(e,r){d(e,t,r),h(t,n),h(t,a),h(t,o),h(o,s),h(s,c),h(o,u),h(o,m),h(m,g),h(m,b),h(m,x),h(t,E),T||(L=w(t,"click",O),T=!0)},p(a,o){e=a,/*otherCategories*/16&o&&!l(n.src,r=/*category*/e[24].icon)&&_(n,"src",r),/*otherCategories*/16&o&&i!==(i=/*category*/e[24].name)&&_(n,"alt",i),/*otherCategories*/16&o&&$!==($=/*category*/e[24].name+"")&&S(c,$),/*otherCategories*/16&o&&k!==(k=/*category*/e[24].games.count+"")&&S(g,k),/*$_*/32&o&&G!==(G=/*$_*/e[5]("games")+"")&&S(x,G),/*activecategory, otherCategories*/17&o&&C!==(C="Category "+(/*activecategory*/e[0]===/*category*/e[24].id?"Active":""))&&_(t,"class",C)},d(e){e&&f(t),T=!1,L()}}}function
|
|
1358
|
-
return e[2]?Ai
|
|
1358
|
+
function Ui(e){let t,n,r,i,a,o,s,c,u,m,g,b,x,E,C,T,L,$=/*category*/e[24].name+"",k=/*category*/e[24].games.count+"",G=/*$_*/e[5]("games")+"";function O(){/*click_handler_1*/
|
|
1359
|
+
return e[15](/*category*/e[24])}return{c(){t=p("div"),n=p("img"),a=v(),o=p("div"),s=p("p"),c=y($),u=v(),m=p("p"),g=y(k),b=v(),x=y(G),E=v(),l(n.src,r=/*category*/e[24].icon)||_(n,"src",r),_(n,"alt",i=/*category*/e[24].name),_(n,"class","CategoryImage"),_(o,"class","CategoryTextContainer"),_(t,"class",C="Category "+(/*activecategory*/e[0]===/*category*/e[24].id?"Active":""))},m(e,r){d(e,t,r),h(t,n),h(t,a),h(t,o),h(o,s),h(s,c),h(o,u),h(o,m),h(m,g),h(m,b),h(m,x),h(t,E),T||(L=w(t,"click",O),T=!0)},p(a,o){e=a,/*otherCategories*/16&o&&!l(n.src,r=/*category*/e[24].icon)&&_(n,"src",r),/*otherCategories*/16&o&&i!==(i=/*category*/e[24].name)&&_(n,"alt",i),/*otherCategories*/16&o&&$!==($=/*category*/e[24].name+"")&&S(c,$),/*otherCategories*/16&o&&k!==(k=/*category*/e[24].games.count+"")&&S(g,k),/*$_*/32&o&&G!==(G=/*$_*/e[5]("games")+"")&&S(x,G),/*activecategory, otherCategories*/17&o&&C!==(C="Category "+(/*activecategory*/e[0]===/*category*/e[24].id?"Active":""))&&_(t,"class",C)},d(e){e&&f(t),T=!1,L()}}}function Yi(t){let n;function r(e,t){/*isLoading*/
|
|
1360
|
+
return e[2]?Hi:Ai}let i=r(t),a=i(t);return{c(){n=p("div"),a.c(),this.c=e},m(e,r){d(e,n,r),a.m(n,null),
|
|
1359
1361
|
/*div_binding*/t[16](n)},p(e,[t]){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n,null)))},i:e,o:e,d(e){e&&f(n),a.d(),
|
|
1360
|
-
/*div_binding*/t[16](null)}}}function
|
|
1362
|
+
/*div_binding*/t[16](null)}}}function ji(e,t,n){let r;u(e,Ln,(e=>n(5,r=e)));let i,{endpoint:a=""}=t,{datasource:o=""}=t,{lang:s="en"}=t,{activecategory:l=""}=t,{excludedflags:c=""}=t,{clientstyling:h=""}=t,{clientstylingurl:d=""}=t,{translationurl:f=""}=t,m=!1;const p=[];let g=[],y=[];Object.keys(Fi).forEach((e=>{Di(e,Fi[e])}));const v=e=>{window.postMessage({type:"OpenGameCategory",categoryId:e},window.location.href)},b=()=>{var e;e=s,sn.set(e)};return e.$$set=e=>{"endpoint"in e&&n(7,a=e.endpoint),"datasource"in e&&n(8,o=e.datasource),"lang"in e&&n(9,s=e.lang),"activecategory"in e&&n(0,l=e.activecategory),"excludedflags"in e&&n(10,c=e.excludedflags),"clientstyling"in e&&n(11,h=e.clientstyling),"clientstylingurl"in e&&n(12,d=e.clientstylingurl),"translationurl"in e&&n(13,f=e.translationurl)},e.$$.update=()=>{/*endpoint, datasource*/384&e.$$.dirty&&a&&o&&(()=>{n(2,m=!0);const e=new URL(`${a}/v1/casino/groups/${o}`);e.searchParams.append("language",s),fetch(e).then((e=>e.json())).then((e=>{n(2,m=!1);const t=c.split(",").map((e=>e.trim()));p.push(...e.items);
|
|
1361
1363
|
// remove those items which have a flag matching the excluded flags
|
|
1362
|
-
const r=p.filter((e=>!t.some((t=>{var n;return(null===(n=e.flags)||void 0===n?void 0:n.indexOf(t))>=0}))));n(3,g=r.filter((e=>!0===e.isTopCategory))),n(4,y=r.filter((e=>!1===e.isTopCategory)))}))})(),/*translationurl*/8192&e.$$.dirty&&f&&fetch(f).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{
|
|
1364
|
+
const r=p.filter((e=>!t.some((t=>{var n;return(null===(n=e.flags)||void 0===n?void 0:n.indexOf(t))>=0}))));n(3,g=r.filter((e=>!0===e.isTopCategory))),n(4,y=r.filter((e=>!1===e.isTopCategory)))}))})(),/*translationurl*/8192&e.$$.dirty&&f&&fetch(f).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Di(t,e[t])}))})).catch((e=>{console.log(e)})),/*lang*/512&e.$$.dirty&&s&&b(),/*clientstyling, customStylingContainer*/2050&e.$$.dirty&&h&&i&&(()=>{let e=document.createElement("style");e.innerHTML=h,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/4098&e.$$.dirty&&d&&i&&(()=>{let e=new URL(d),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{i.appendChild(t)}),1),setTimeout((()=>{}),500)}))})()},[l,i,m,g,y,r,v,a,o,s,c,h,d,f,e=>v(e.id),e=>v(e.id),function(e){O[e?"unshift":"push"]((()=>{i=e,n(1,i)}))}]}!customElements.get("casino-categories")&&customElements.define("casino-categories",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emfe-w-color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emfe-w-color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},ji,Yi,a,{endpoint:7,datasource:8,lang:9,activecategory:0,excludedflags:10,clientstyling:11,clientstylingurl:12,translationurl:13},null),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","datasource","lang","activecategory","excludedflags","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[7]}set endpoint(e){this.$$set({endpoint:e}),B()}get datasource(){return this.$$.ctx[8]}set datasource(e){this.$$set({datasource:e}),B()}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),B()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),B()}get excludedflags(){return this.$$.ctx[10]}set excludedflags(e){this.$$set({excludedflags:e}),B()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get translationurl(){return this.$$.ctx[13]}set translationurl(e){this.$$set({translationurl:e}),B()}});const Wi={en:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait...",games:"games"},"zh-hk":{popularProviders:"热门供应商",otherProviders:"其他供应商",loading:"加载请稍候...",games:"游戏"},de:{popularProviders:"Beliebte Anbieter",otherProviders:"Andere Anbieter",loading:"Es lädt, bitte warten...",games:"Spiele"},it:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},fr:{popularProviders:"Fournisseurs populaires",otherProviders:"Autres fournisseurs",loading:"Chargement, veuillez patienter...",games:"jeux"},es:{popularProviders:"Proveedores Populares",otherProviders:"Otros Proveedores",loading:"Cargando",games:"juegos"},tr:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},ru:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},ro:{popularProviders:"Furnizori de top",otherProviders:"Alti furnizori",loading:"Se incarca, te rugam asteapta…",games:"jocuri"},hr:{popularProviders:"Popularni brendovi",otherProviders:"Ostali brendovi",loading:"Učitavanje",games:"Igre"},hu:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},pl:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},pt:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},sl:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},sr:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"}};function zi(e,t){Nt(e,t)}
|
|
1363
1365
|
/* ../casino-providers/src/CasinoProviders.svelte generated by Svelte v3.59.2 */
|
|
1364
|
-
function
|
|
1366
|
+
function Vi(e,t,n){const r=e.slice();return r[21]=t[n],r}function Zi(e,t,n){const r=e.slice();return r[21]=t[n],r}
|
|
1365
1367
|
// (78:4) {:else}
|
|
1366
|
-
function
|
|
1368
|
+
function Ki(e){let t,n,r,i,a,o,s,l,c=/*$_*/e[4]("popularProviders")+"",u=/*$_*/e[4]("otherProviders")+"",g=/*topProviders*/e[1],w=[];for(let t=0;t<g.length;t+=1)w[t]=Ji(Zi(e,g,t));let x=/*otherProviders*/e[2],E=[];for(let t=0;t<x.length;t+=1)E[t]=qi(Vi(e,x,t));return{c(){t=p("h4"),n=y(c),r=v();for(let e=0;e<w.length;e+=1)w[e].c();i=v(),a=p("h4"),o=y(u),s=v();for(let e=0;e<E.length;e+=1)E[e].c();l=b(),_(t,"class","ProviderTitle"),_(a,"class","ProviderTitle")},m(e,c){d(e,t,c),h(t,n),d(e,r,c);for(let t=0;t<w.length;t+=1)w[t]&&w[t].m(e,c);d(e,i,c),d(e,a,c),h(a,o),d(e,s,c);for(let t=0;t<E.length;t+=1)E[t]&&E[t].m(e,c);d(e,l,c)},p(e,t){if(/*$_*/16&t&&c!==(c=/*$_*/e[4]("popularProviders")+"")&&S(n,c),/*openGameProviderPage, topProviders, $_*/50&t){let n;for(g=/*topProviders*/e[1],n=0;n<g.length;n+=1){const r=Zi(e,g,n);w[n]?w[n].p(r,t):(w[n]=Ji(r),w[n].c(),w[n].m(i.parentNode,i))}for(;n<w.length;n+=1)w[n].d(1);w.length=g.length}if(/*$_*/16&t&&u!==(u=/*$_*/e[4]("otherProviders")+"")&&S(o,u),/*openGameProviderPage, otherProviders, $_*/52&t){let n;for(x=/*otherProviders*/e[2],n=0;n<x.length;n+=1){const r=Vi(e,x,n);E[n]?E[n].p(r,t):(E[n]=qi(r),E[n].c(),E[n].m(l.parentNode,l))}for(;n<E.length;n+=1)E[n].d(1);E.length=x.length}},d(e){e&&f(t),e&&f(r),m(w,e),e&&f(i),e&&f(a),e&&f(s),m(E,e),e&&f(l)}}}
|
|
1367
1369
|
// (76:4) {#if isLoading === true}
|
|
1368
|
-
function
|
|
1370
|
+
function Xi(e){let t,n,r=/*$_*/e[4]("loading")+"";return{c(){t=p("p"),n=y(r),_(t,"class","Message")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/16&t&&r!==(r=/*$_*/e[4]("loading")+"")&&S(n,r)},d(e){e&&f(t)}}}
|
|
1369
1371
|
// (80:6) {#each topProviders as provider}
|
|
1370
|
-
function
|
|
1372
|
+
function Ji(e){let t,n,r,i,a,o,s,c,u,m,g,b,x,E,C,T=/*provider*/e[21].name+"",L=/*provider*/e[21].games.count+"",$=/*$_*/e[4]("games")+"";function k(){/*click_handler*/
|
|
1371
1373
|
return e[12](/*provider*/e[21])}return{c(){t=p("div"),n=p("img"),a=v(),o=p("div"),s=p("p"),c=y(T),u=v(),m=p("p"),g=y(L),b=v(),x=y($),l(n.src,r=/*provider*/e[21].logo)||_(n,"src",r),_(n,"alt",i=/*provider*/e[21].name),_(n,"class","ProviderImage"),_(o,"class","ProviderTextContainer"),_(t,"class","Provider")},m(e,r){d(e,t,r),h(t,n),h(t,a),h(t,o),h(o,s),h(s,c),h(o,u),h(o,m),h(m,g),h(m,b),h(m,x),E||(C=w(t,"click",k),E=!0)},p(t,a){e=t,/*topProviders*/2&a&&!l(n.src,r=/*provider*/e[21].logo)&&_(n,"src",r),/*topProviders*/2&a&&i!==(i=/*provider*/e[21].name)&&_(n,"alt",i),/*topProviders*/2&a&&T!==(T=/*provider*/e[21].name+"")&&S(c,T),/*topProviders*/2&a&&L!==(L=/*provider*/e[21].games.count+"")&&S(g,L),/*$_*/16&a&&$!==($=/*$_*/e[4]("games")+"")&&S(x,$)},d(e){e&&f(t),E=!1,C()}}}
|
|
1372
1374
|
// (90:6) {#each otherProviders as provider}
|
|
1373
|
-
function
|
|
1374
|
-
return e[13](/*provider*/e[21])}return{c(){t=p("div"),n=p("img"),a=v(),o=p("div"),s=p("p"),c=y(L),u=v(),m=p("p"),g=y($),b=v(),x=y(k),E=v(),l(n.src,r=/*provider*/e[21].logo)||_(n,"src",r),_(n,"alt",i=/*provider*/e[21].name),_(n,"class","ProviderImage"),_(o,"class","ProviderTextContainer"),_(t,"class","Provider")},m(e,r){d(e,t,r),h(t,n),h(t,a),h(t,o),h(o,s),h(s,c),h(o,u),h(o,m),h(m,g),h(m,b),h(m,x),h(t,E),C||(T=w(t,"click",G),C=!0)},p(t,a){e=t,/*otherProviders*/4&a&&!l(n.src,r=/*provider*/e[21].logo)&&_(n,"src",r),/*otherProviders*/4&a&&i!==(i=/*provider*/e[21].name)&&_(n,"alt",i),/*otherProviders*/4&a&&L!==(L=/*provider*/e[21].name+"")&&S(c,L),/*otherProviders*/4&a&&$!==($=/*provider*/e[21].games.count+"")&&S(g,$),/*$_*/16&a&&k!==(k=/*$_*/e[4]("games")+"")&&S(x,k)},d(e){e&&f(t),C=!1,T()}}}function
|
|
1375
|
-
return!0===e[3]?Ki
|
|
1375
|
+
function qi(e){let t,n,r,i,a,o,s,c,u,m,g,b,x,E,C,T,L=/*provider*/e[21].name+"",$=/*provider*/e[21].games.count+"",k=/*$_*/e[4]("games")+"";function G(){/*click_handler_1*/
|
|
1376
|
+
return e[13](/*provider*/e[21])}return{c(){t=p("div"),n=p("img"),a=v(),o=p("div"),s=p("p"),c=y(L),u=v(),m=p("p"),g=y($),b=v(),x=y(k),E=v(),l(n.src,r=/*provider*/e[21].logo)||_(n,"src",r),_(n,"alt",i=/*provider*/e[21].name),_(n,"class","ProviderImage"),_(o,"class","ProviderTextContainer"),_(t,"class","Provider")},m(e,r){d(e,t,r),h(t,n),h(t,a),h(t,o),h(o,s),h(s,c),h(o,u),h(o,m),h(m,g),h(m,b),h(m,x),h(t,E),C||(T=w(t,"click",G),C=!0)},p(t,a){e=t,/*otherProviders*/4&a&&!l(n.src,r=/*provider*/e[21].logo)&&_(n,"src",r),/*otherProviders*/4&a&&i!==(i=/*provider*/e[21].name)&&_(n,"alt",i),/*otherProviders*/4&a&&L!==(L=/*provider*/e[21].name+"")&&S(c,L),/*otherProviders*/4&a&&$!==($=/*provider*/e[21].games.count+"")&&S(g,$),/*$_*/16&a&&k!==(k=/*$_*/e[4]("games")+"")&&S(x,k)},d(e){e&&f(t),C=!1,T()}}}function Qi(t){let n;function r(e,t){/*isLoading*/
|
|
1377
|
+
return!0===e[3]?Xi:Ki}let i=r(t),a=i(t);return{c(){n=p("div"),a.c(),this.c=e,_(n,"class","CasinoProviders")},m(e,r){d(e,n,r),a.m(n,null),
|
|
1376
1378
|
/*div_binding*/t[14](n)},p(e,[t]){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n,null)))},i:e,o:e,d(e){e&&f(n),a.d(),
|
|
1377
|
-
/*div_binding*/t[14](null)}}}function
|
|
1379
|
+
/*div_binding*/t[14](null)}}}function ea(e,t,n){let r;u(e,Ln,(e=>n(4,r=e)));let i,{endpoint:a=""}=t,{datasource:o=""}=t,{lang:s="en"}=t,{clientstyling:l=""}=t,{clientstylingurl:c=""}=t,{translationurl:h=""}=t,d=[],f=[],m=[],p=!1;Object.keys(Wi).forEach((e=>{zi(e,Wi[e])}));const g=(e,t,n)=>{window.postMessage({type:"OpenGameProvider",providerId:e,providerName:t,providerLogo:n},window.location.href)},y=()=>{var e;e=s,sn.set(e)};return e.$$set=e=>{"endpoint"in e&&n(6,a=e.endpoint),"datasource"in e&&n(7,o=e.datasource),"lang"in e&&n(8,s=e.lang),"clientstyling"in e&&n(9,l=e.clientstyling),"clientstylingurl"in e&&n(10,c=e.clientstylingurl),"translationurl"in e&&n(11,h=e.translationurl)},e.$$.update=()=>{/*endpoint, lang, datasource*/448&e.$$.dirty&&a&&s&&o&&(()=>{n(3,p=!0);const e=new URL(`${a}/v1/casino/vendors`);e.searchParams.append("datasource",o),e.searchParams.append("language",s),e.searchParams.append("fields","id,name,displayName,subVendors,isTopVendor,logo,games"),fetch(e).then((e=>e.json())).then((e=>{n(3,p=!1),d=e.items.map((e=>e)),n(1,f=d.filter((e=>!0===e.isTopVendor))),n(2,m=d.filter((e=>!1===e.isTopVendor)));let t=[];t=d.flatMap((e=>e.subVendors)),m.push(...t.filter((e=>e.games.count>0)))}))})(),/*lang*/256&e.$$.dirty&&s&&y(),/*translationurl*/2048&e.$$.dirty&&h&&fetch(h).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{zi(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/513&e.$$.dirty&&l&&i&&(()=>{let e=document.createElement("style");e.innerHTML=l,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/1025&e.$$.dirty&&c&&i&&(()=>{let e=new URL(c),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{i.appendChild(t)}),1)}))})()},[i,f,m,p,r,g,a,o,s,l,c,h,e=>g(e.id,e.name,e.logo),e=>g(e.id,e.name,e.logo),function(e){O[e?"unshift":"push"]((()=>{i=e,n(0,i)}))}]}
|
|
1378
1380
|
/* ../casino-categories-providers/src/CasinoCategoriesProviders.svelte generated by Svelte v3.59.2 */
|
|
1379
|
-
function
|
|
1381
|
+
function ta(t){let n,i,a,o,s,l,c,u,m,g,b,E,C,T,L,$,k,G,O,P,M=/*$_*/t[11]("categories")+"",I=/*$_*/t[11]("providers")+"";return{c(){n=p("div"),i=p("div"),a=p("div"),o=p("button"),s=y(M),c=v(),u=p("button"),m=y(I),b=v(),E=p("div"),C=p("casino-categories"),L=v(),$=p("div"),k=p("casino-providers"),this.c=e,_(o,"class",l="HeaderButton "+(/*activeTab*/"categories"===t[10]?"Active":"")),_(u,"class",g="HeaderButton "+(/*activeTab*/"providers"===t[10]?"Active":"")),_(a,"class","Header"),x(C,"endpoint",/*endpointcategories*/t[0]),x(C,"datasource",/*datasourcecategories*/t[1]),x(C,"activecategory",/*activecategory*/t[2]),x(C,"excludedflags",/*excludedflags*/t[5]),x(C,"lang",/*lang*/t[6]),x(C,"clientstyling",/*clientstyling*/t[7]),x(C,"clientstylingurl",/*clientstylingurl*/t[8]),_(E,"class",T=/*activeTab*/"providers"===t[10]?"NotVisible":""),x(k,"endpoint",/*endpointproviders*/t[3]),x(k,"datasource",/*datasourceproviders*/t[4]),x(k,"lang",/*lang*/t[6]),x(k,"clientstyling",/*clientstyling*/t[7]),x(k,"clientstylingurl",/*clientstylingurl*/t[8]),_($,"class",G=/*activeTab*/"categories"===t[10]?"NotVisible":""),_(i,"class","CasinoCategoriesProviders")},m(e,r){d(e,n,r),h(n,i),h(i,a),h(a,o),h(o,s),h(a,c),h(a,u),h(u,m),h(i,b),h(i,E),h(E,C),h(i,L),h(i,$),h($,k),
|
|
1380
1382
|
/*div4_binding*/t[16](n),O||(P=[w(o,"click",/*click_handler*/t[14]),w(u,"click",/*click_handler_1*/t[15])],O=!0)},p(e,[t]){/*$_*/2048&t&&M!==(M=/*$_*/e[11]("categories")+"")&&S(s,M),/*activeTab*/1024&t&&l!==(l="HeaderButton "+(/*activeTab*/"categories"===e[10]?"Active":""))&&_(o,"class",l),/*$_*/2048&t&&I!==(I=/*$_*/e[11]("providers")+"")&&S(m,I),/*activeTab*/1024&t&&g!==(g="HeaderButton "+(/*activeTab*/"providers"===e[10]?"Active":""))&&_(u,"class",g),/*endpointcategories*/1&t&&x(C,"endpoint",/*endpointcategories*/e[0]),/*datasourcecategories*/2&t&&x(C,"datasource",/*datasourcecategories*/e[1]),/*activecategory*/4&t&&x(C,"activecategory",/*activecategory*/e[2]),/*excludedflags*/32&t&&x(C,"excludedflags",/*excludedflags*/e[5]),/*lang*/64&t&&x(C,"lang",/*lang*/e[6]),/*clientstyling*/128&t&&x(C,"clientstyling",/*clientstyling*/e[7]),/*clientstylingurl*/256&t&&x(C,"clientstylingurl",/*clientstylingurl*/e[8]),/*activeTab*/1024&t&&T!==(T=/*activeTab*/"providers"===e[10]?"NotVisible":"")&&_(E,"class",T),/*endpointproviders*/8&t&&x(k,"endpoint",/*endpointproviders*/e[3]),/*datasourceproviders*/16&t&&x(k,"datasource",/*datasourceproviders*/e[4]),/*lang*/64&t&&x(k,"lang",/*lang*/e[6]),/*clientstyling*/128&t&&x(k,"clientstyling",/*clientstyling*/e[7]),/*clientstylingurl*/256&t&&x(k,"clientstylingurl",/*clientstylingurl*/e[8]),/*activeTab*/1024&t&&G!==(G=/*activeTab*/"categories"===e[10]?"NotVisible":"")&&_($,"class",G)},i:e,o:e,d(e){e&&f(n)
|
|
1381
|
-
/*div4_binding*/,t[16](null),O=!1,r(P)}}}function
|
|
1383
|
+
/*div4_binding*/,t[16](null),O=!1,r(P)}}}function na(e,t,n){let r;u(e,Ln,(e=>n(11,r=e)));let i,{endpointcategories:a=""}=t,{datasourcecategories:o=""}=t,{activecategory:s=""}=t,{endpointproviders:l=""}=t,{datasourceproviders:c=""}=t,{excludedflags:h=""}=t,{lang:d="en"}=t,{clientstyling:f=""}=t,{clientstylingurl:m=""}=t,{translationurl:p=""}=t,g="categories";Object.keys(Ii).forEach((e=>{Mi(e,Ii[e])}));const y=e=>{g!==e&&n(10,g=e)},v=()=>{var e;e=d,sn.set(e)};return e.$$set=e=>{"endpointcategories"in e&&n(0,a=e.endpointcategories),"datasourcecategories"in e&&n(1,o=e.datasourcecategories),"activecategory"in e&&n(2,s=e.activecategory),"endpointproviders"in e&&n(3,l=e.endpointproviders),"datasourceproviders"in e&&n(4,c=e.datasourceproviders),"excludedflags"in e&&n(5,h=e.excludedflags),"lang"in e&&n(6,d=e.lang),"clientstyling"in e&&n(7,f=e.clientstyling),"clientstylingurl"in e&&n(8,m=e.clientstylingurl),"translationurl"in e&&n(13,p=e.translationurl)},e.$$.update=()=>{/*translationurl*/8192&e.$$.dirty&&p&&fetch(p).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Mi(t,e[t])}))})).catch((e=>{console.log(e)})),/*lang*/64&e.$$.dirty&&d&&v(),/*clientstyling, customStylingContainer*/640&e.$$.dirty&&f&&i&&(()=>{let e=document.createElement("style");e.innerHTML=f,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/768&e.$$.dirty&&m&&i&&(()=>{let e=new URL(m),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{i.appendChild(t)}),1),setTimeout((()=>{}),500)}))})()},[a,o,s,l,c,h,d,f,m,i,g,r,y,p,()=>y("categories"),()=>y("providers"),function(e){O[e?"unshift":"push"]((()=>{i=e,n(9,i)}))}]}!customElements.get("casino-providers")&&customElements.define("casino-providers",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoProviders{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.ProviderTitle{font-weight:500;position:relative;right:30px;margin:10px 0}.Provider{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.ProviderTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.ProviderTextContainer p:first-child{font-weight:600;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.ProviderTextContainer p:last-child{color:var(--emfe-w-color-gray-150, #828282);font-weight:300}.ProviderImage{border-radius:4px;object-fit:contain;height:64px;width:64px;font-weight:100;border:0.5px solid var(--emfe-w-color-gray-100, #E6E6E6);overflow:hidden;object-fit:contain}.Message{font-weight:600;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},ea,Qi,a,{endpoint:6,datasource:7,lang:8,clientstyling:9,clientstylingurl:10,translationurl:11},null),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","datasource","lang","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[6]}set endpoint(e){this.$$set({endpoint:e}),B()}get datasource(){return this.$$.ctx[7]}set datasource(e){this.$$set({datasource:e}),B()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),B()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),B()}});
|
|
1382
1384
|
/* src/CasinoNavigationSearch.svelte generated by Svelte v3.59.2 */
|
|
1383
|
-
function
|
|
1385
|
+
function ra(t){let n,r,i,a,o,s,l;return{c(){n=p("div"),r=p("div"),i=p("casino-search"),a=v(),o=p("div"),s=p("casino-categories-providers"),this.c=e,x(i,"endpoint",/*endpoint*/t[0]),x(i,"datasource",/*datasource*/t[5]),x(i,"lang",/*lang*/t[9]),x(i,"session",/*session*/t[1]),x(i,"userid",/*userid*/t[2]),x(i,"showfavorites",/*showfavorites*/t[8]),x(i,"clientstyling",/*clientstyling*/t[10]),x(i,"clientstylingurl",/*clientstylingurl*/t[11]),x(i,"integratedgameframedesktop",/*integratedgameframedesktop*/t[12]),x(i,"integratedgameframemobile",/*integratedgameframemobile*/t[13]),x(i,"gamepagemodalurl",/*gamepagemodalurl*/t[14]),x(s,"endpointcategories",/*endpointcategories*/t[3]),x(s,"datasourcecategories",/*datasource*/t[5]),x(s,"activecategory",/*activecategory*/t[6]),x(s,"endpointproviders",/*endpointproviders*/t[4]),x(s,"datasourceproviders",/*datasource*/t[5]),x(s,"excludedflags",/*excludedflags*/t[7]),x(s,"lang",/*lang*/t[9]),x(s,"clientstyling",/*clientstyling*/t[10]),x(s,"clientstylingurl",/*clientstylingurl*/t[11]),_(o,"class",l=/*searchActive*/!0===t[16]?"NotVisible":"")},m(e,l){d(e,n,l),h(n,r),h(r,i),h(n,a),h(n,o),h(o,s),
|
|
1384
1386
|
/*div2_binding*/t[17](n)},p(e,[t]){/*endpoint*/1&t&&x(i,"endpoint",/*endpoint*/e[0]),/*datasource*/32&t&&x(i,"datasource",/*datasource*/e[5]),/*lang*/512&t&&x(i,"lang",/*lang*/e[9]),/*session*/2&t&&x(i,"session",/*session*/e[1]),/*userid*/4&t&&x(i,"userid",/*userid*/e[2]),/*showfavorites*/256&t&&x(i,"showfavorites",/*showfavorites*/e[8]),/*clientstyling*/1024&t&&x(i,"clientstyling",/*clientstyling*/e[10]),/*clientstylingurl*/2048&t&&x(i,"clientstylingurl",/*clientstylingurl*/e[11]),/*integratedgameframedesktop*/4096&t&&x(i,"integratedgameframedesktop",/*integratedgameframedesktop*/e[12]),/*integratedgameframemobile*/8192&t&&x(i,"integratedgameframemobile",/*integratedgameframemobile*/e[13]),/*gamepagemodalurl*/16384&t&&x(i,"gamepagemodalurl",/*gamepagemodalurl*/e[14]),/*endpointcategories*/8&t&&x(s,"endpointcategories",/*endpointcategories*/e[3]),/*datasource*/32&t&&x(s,"datasourcecategories",/*datasource*/e[5]),/*activecategory*/64&t&&x(s,"activecategory",/*activecategory*/e[6]),/*endpointproviders*/16&t&&x(s,"endpointproviders",/*endpointproviders*/e[4]),/*datasource*/32&t&&x(s,"datasourceproviders",/*datasource*/e[5]),/*excludedflags*/128&t&&x(s,"excludedflags",/*excludedflags*/e[7]),/*lang*/512&t&&x(s,"lang",/*lang*/e[9]),/*clientstyling*/1024&t&&x(s,"clientstyling",/*clientstyling*/e[10]),/*clientstylingurl*/2048&t&&x(s,"clientstylingurl",/*clientstylingurl*/e[11]),/*searchActive*/65536&t&&l!==(l=/*searchActive*/!0===e[16]?"NotVisible":"")&&_(o,"class",l)},i:e,o:e,d(e){e&&f(n)
|
|
1385
|
-
/*div2_binding*/,t[17](null)}}}function
|
|
1387
|
+
/*div2_binding*/,t[17](null)}}}function ia(e,t,n){let r,i,{endpoint:a=""}=t,{session:o=""}=t,{userid:s=""}=t,{endpointcategories:l=""}=t,{endpointproviders:c=""}=t,{datasource:u=""}=t,{activecategory:h=""}=t,{excludedflags:d=""}=t,{showfavorites:f=""}=t,{lang:m="en"}=t,{clientstyling:p=""}=t,{clientstylingurl:g=""}=t,{integratedgameframedesktop:y="false"}=t,{integratedgameframemobile:v="false"}=t,{gamepagemodalurl:b="true"}=t;const w=e=>{e.data&&"searchActive"==e.data.type&&n(16,r=e.data.searchStatus),e.data&&"searchCancelled"==e.data.type&&n(16,r=e.data.searchStatus)};return k((()=>(window.addEventListener("message",w,!1),()=>{window.removeEventListener("message",w)}))),e.$$set=e=>{"endpoint"in e&&n(0,a=e.endpoint),"session"in e&&n(1,o=e.session),"userid"in e&&n(2,s=e.userid),"endpointcategories"in e&&n(3,l=e.endpointcategories),"endpointproviders"in e&&n(4,c=e.endpointproviders),"datasource"in e&&n(5,u=e.datasource),"activecategory"in e&&n(6,h=e.activecategory),"excludedflags"in e&&n(7,d=e.excludedflags),"showfavorites"in e&&n(8,f=e.showfavorites),"lang"in e&&n(9,m=e.lang),"clientstyling"in e&&n(10,p=e.clientstyling),"clientstylingurl"in e&&n(11,g=e.clientstylingurl),"integratedgameframedesktop"in e&&n(12,y=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(13,v=e.integratedgameframemobile),"gamepagemodalurl"in e&&n(14,b=e.gamepagemodalurl)},e.$$.update=()=>{/*clientstyling, customStylingContainer*/33792&e.$$.dirty&&p&&i&&(()=>{let e=document.createElement("style");e.innerHTML=p,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/34816&e.$$.dirty&&g&&i&&(()=>{let e=new URL(g),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{i.appendChild(t)}),1)}))})()},[a,o,s,l,c,u,h,d,f,m,p,g,y,v,b,i,r,function(e){O[e?"unshift":"push"]((()=>{i=e,n(15,i)}))}]}!customElements.get("casino-categories-providers")&&customElements.define("casino-categories-providers",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.NotVisible{display:none}.CasinoCategoriesProviders{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A))}.Header{display:flex;max-width:100%;min-width:320px;margin-bottom:14px;font-size:18px;background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A))}.HeaderButton{flex:1 2 0;min-height:48px;margin:0;border:none;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));box-shadow:1px 2px 2px rgba(var(--emfe-w-color-gray-150, #828282), 0.1)}.HeaderButton.Active{box-shadow:none;border-bottom:2px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},na,ta,a,{endpointcategories:0,datasourcecategories:1,activecategory:2,endpointproviders:3,datasourceproviders:4,excludedflags:5,lang:6,clientstyling:7,clientstylingurl:8,translationurl:13},null),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpointcategories","datasourcecategories","activecategory","endpointproviders","datasourceproviders","excludedflags","lang","clientstyling","clientstylingurl","translationurl"]}get endpointcategories(){return this.$$.ctx[0]}set endpointcategories(e){this.$$set({endpointcategories:e}),B()}get datasourcecategories(){return this.$$.ctx[1]}set datasourcecategories(e){this.$$set({datasourcecategories:e}),B()}get activecategory(){return this.$$.ctx[2]}set activecategory(e){this.$$set({activecategory:e}),B()}get endpointproviders(){return this.$$.ctx[3]}set endpointproviders(e){this.$$set({endpointproviders:e}),B()}get datasourceproviders(){return this.$$.ctx[4]}set datasourceproviders(e){this.$$set({datasourceproviders:e}),B()}get excludedflags(){return this.$$.ctx[5]}set excludedflags(e){this.$$set({excludedflags:e}),B()}get lang(){return this.$$.ctx[6]}set lang(e){this.$$set({lang:e}),B()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get translationurl(){return this.$$.ctx[13]}set translationurl(e){this.$$set({translationurl:e}),B()}});class aa extends z{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.NotVisible{display:none}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},ia,ra,a,{endpoint:0,session:1,userid:2,endpointcategories:3,endpointproviders:4,datasource:5,activecategory:6,excludedflags:7,showfavorites:8,lang:9,clientstyling:10,clientstylingurl:11,integratedgameframedesktop:12,integratedgameframemobile:13,gamepagemodalurl:14},null),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","session","userid","endpointcategories","endpointproviders","datasource","activecategory","excludedflags","showfavorites","lang","clientstyling","clientstylingurl","integratedgameframedesktop","integratedgameframemobile","gamepagemodalurl"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),B()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[2]}set userid(e){this.$$set({userid:e}),B()}get endpointcategories(){return this.$$.ctx[3]}set endpointcategories(e){this.$$set({endpointcategories:e}),B()}get endpointproviders(){return this.$$.ctx[4]}set endpointproviders(e){this.$$set({endpointproviders:e}),B()}get datasource(){return this.$$.ctx[5]}set datasource(e){this.$$set({datasource:e}),B()}get activecategory(){return this.$$.ctx[6]}set activecategory(e){this.$$set({activecategory:e}),B()}get excludedflags(){return this.$$.ctx[7]}set excludedflags(e){this.$$set({excludedflags:e}),B()}get showfavorites(){return this.$$.ctx[8]}set showfavorites(e){this.$$set({showfavorites:e}),B()}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),B()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get gamepagemodalurl(){return this.$$.ctx[14]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}}return!customElements.get("casino-navigation-search")&&customElements.define("casino-navigation-search",aa),aa}));
|
|
1386
1388
|
//# sourceMappingURL=casino-navigation-search.js.map
|