@everymatrix/casino-navigation-search 1.31.0 → 1.31.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.
|
@@ -1242,147 +1242,142 @@ MONTH:"YYYY-MM"},r}()}));function Hr(e,t){At(e,t)}const Br={en:{playNow:"Start n
|
|
|
1242
1242
|
/* eslint-disable quote-props */
|
|
1243
1243
|
/* ../casino-game-thumbnail/src/CasinoGameThumbnail.svelte generated by Svelte v3.59.2 */
|
|
1244
1244
|
function Yr(e,t,n){const r=e.slice();return r[103]=t[n],r[105]=n,r}function jr(e,t,n){const r=e.slice();return r[100]=t[n],r}
|
|
1245
|
-
// (
|
|
1246
|
-
function Wr(e){let t;
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
// (
|
|
1255
|
-
function Kr(e){let t,n,r=/*$_*/e[
|
|
1256
|
-
// (
|
|
1257
|
-
function Xr(e){let t,n;return{c(){t=m("
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
// (
|
|
1264
|
-
function
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
// (
|
|
1271
|
-
function ti(e){let t;
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
return 65541&t[0]&&(M=null),/*gamefavorite, isLoggedIn, favorites*/65541&t[0]&&(I=null),null==M&&(M=!(Rr(/*userAgent*/e[37])||/*gamefavorite*/!e[0]||/*isLoggedIn*/!e[16]||/*favorites*/!e[2])),M?ci:(null==I&&(I=!!(Rr(/*userAgent*/e[37])&&/*gamefavorite*/e[0]&&/*isLoggedIn*/e[16]&&/*favorites*/e[2])),I?li:void 0)}let z=W(t,[-1,-1,-1,-1]),V=z&&z(t),Z=/*showgamename*/"true"===t[10]&&ui(t);return{c(){n=m("div"),r=m("div"),i=m("img"),s=v(),c=m("div"),u=m("div"),H&&H.c(),p=v(),g=m("p"),b=y(/*gamename*/t[4]),w=v(),B&&B.c(),x=v(),C=m("span"),T=y(N),L=v(),$=m("div"),k=m("div"),U&&U.c(),G=v(),Y&&Y.c(),P=v(),j&&j.c(),O=v(),V&&V.c(),F=v(),Z&&Z.c(),this.c=e,l(i.src,a=/*gamethumbnail*/t[3])||_(i,"src",a),_(i,"class",o=`GameBg GameBg-${/*gamecellsize*/t[9]} ${/*loaded*/t[18]?"Loaded":""}`),_(i,"alt",""),_(i,"loading","lazy"),_(g,"class","GameInfoName"),_(g,"title",/*gamename*/t[4]),_(u,"class","GameInfo"),_(C,"class","GameInfoVendor"),_(c,"class","GameInfoWrapper"),_(k,"class","GameExtraInfo"),_($,"class","GameExtraInfoContainer"),_(r,"class",D="GameInnerContainer "+(/*livegamedata*/t[13]&&!/*isopen*/t[23]&&/*openhours*/t[24].value||/*livegamedata*/t[13]&&/*istablefull*/t[33]?"GameInnerContainerUnavailable":"")),_(n,"class",R=`GameContainer ${/*extraclassname*/t[34]} ${/*casinogamesgridslider*/"true"==t[11]?"CasinoGamesGridSlider":""}`),E(n,"WithGameName",/*showgamename*/t[10])},m(e,a){d(e,n,a),h(n,r),h(r,i),
|
|
1292
|
-
/*img_binding*/t[62](i),h(r,s),h(r,c),h(c,u),H&&H.m(u,null),h(u,p),h(u,g),h(g,b),h(u,w),B&&B.m(u,null),h(c,x),h(c,C),h(C,T),h(r,L),h(r,$),h($,k),U&&U.m(k,null),h(k,G),Y&&Y.m(k,null),h(k,P),j&&j.m(k,null),h($,O),V&&V.m($,null),h(n,F),Z&&Z.m(n,null)
|
|
1293
|
-
/*div5_binding*/,t[67](n)},p(e,t){/*gamethumbnail*/8&t[0]&&!l(i.src,a=/*gamethumbnail*/e[3])&&_(i,"src",a),/*gamecellsize, loaded*/262656&t[0]&&o!==(o=`GameBg GameBg-${/*gamecellsize*/e[9]} ${/*loaded*/e[18]?"Loaded":""}`)&&_(i,"class",o),/*gamefavorite, isLoggedIn*/65537&t[0]&&(A=!Rr(/*userAgent*/e[37])&&!/*gamefavorite*/e[0]&&/*isLoggedIn*/e[16]),A?H?H.p(e,t):(H=Wr(e),H.c(),H.m(u,p)):H&&(H.d(1),H=null),/*gamename*/16&t[0]&&S(b,/*gamename*/e[4]),/*gamename*/16&t[0]&&_(g,"title",/*gamename*/e[4]),/*lang*/e[1]?B?B.p(e,t):(B=Zr(e),B.c(),B.m(u,null)):B&&(B.d(1),B=null),/*gamevendor*/32&t[0]&&N!==(N=/*gamevendor*/(e[5]?/*gamevendor*/e[5]:"-")+"")&&S(T,N),/*gameisnew*/e[7]?U?U.p(e,t):(U=Kr(e),U.c(),U.m(k,G)):U&&(U.d(1),U=null),/*gametag*/e[8]?Y?Y.p(e,t):(Y=Xr(e),Y.c(),Y.m(k,P)):Y&&(Y.d(1),Y=null),/*livegamedata*/e[13]?j?j.p(e,t):(j=qr(e),j.c(),j.m(k,null)):j&&(j.d(1),j=null),z===(z=W(e,t))&&V?V.p(e,t):(V&&V.d(1),V=z&&z(e),V&&(V.c(),V.m($,null))),/*livegamedata, isopen, openhours*/25174016&t[0]|/*istablefull*/4&t[1]&&D!==(D="GameInnerContainer "+(/*livegamedata*/e[13]&&!/*isopen*/e[23]&&/*openhours*/e[24].value||/*livegamedata*/e[13]&&/*istablefull*/e[33]?"GameInnerContainerUnavailable":""))&&_(r,"class",D),/*showgamename*/"true"===e[10]?Z?Z.p(e,t):(Z=ui(e),Z.c(),Z.m(n,null)):Z&&(Z.d(1),Z=null),/*casinogamesgridslider*/2048&t[0]|/*extraclassname*/8&t[1]&&R!==(R=`GameContainer ${/*extraclassname*/e[34]} ${/*casinogamesgridslider*/"true"==e[11]?"CasinoGamesGridSlider":""}`)&&_(n,"class",R),/*casinogamesgridslider, showgamename*/3072&t[0]|/*extraclassname*/8&t[1]&&E(n,"WithGameName",/*showgamename*/e[10])},i:e,o:e,d(e){e&&f(n)
|
|
1294
|
-
/*img_binding*/,t[62](null),H&&H.d(),B&&B.d(),U&&U.d(),Y&&Y.d(),j&&j.d(),V&&V.d(),Z&&Z.d()
|
|
1295
|
-
/*div5_binding*/,t[67](null)}}}const di="blackjack",fi="roulette",pi="doubleballroulette",mi=5;function gi(e,t,n){let r;u(e,Ln,(e=>n(36,r=e)));let i,a,o,s,l,c,h,d,f,p,m,g,y,v,b,w,_,x,S,C,E,T,L,$,G,{session:O=""}=t,{userid:M=""}=t,{lang:I="en"}=t,{clientstyling:D=""}=t,{clientstylingurl:F=""}=t,{translationurl:A=""}=t,{favorites:N=""}=t,{gamethumbnail:H=""}=t,{gamename:B=""}=t,{gamevendor:U=""}=t,{gamelaunchurl:Y=""}=t,{gameid:j=""}=t,{gameisnew:W=""}=t,{gametag:z=""}=t,{gamefunmode:V=!1}=t,{gamefavorite:Z=!1}=t,{gamecellsize:K=""}=t,{showfavoredcategory:X=!1}=t,{showgamename:q=""}=t,{currency:J=""}=t,{gamepagemodalurl:Q="false"}=t,{endpoint:ee=""}=t,{livelobbyendpoint:te=""}=t,{connectlive:ne=""}=t,{visibilityconnect:re=""}=t,{integratedgameframedesktop:ie="false"}=t,{integratedgameframemobile:ae="false"}=t,{casinogamesgridslider:oe="false"}=t,se=!1,le=!1,ce=!1,ue=window.navigator.userAgent,he="HH:mm",de={},fe=[],pe="EUR",me="";const ge=[di],ye=[fi,pi],ve={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},be={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"};Object.keys(Br).forEach((e=>{Hr(e,Br[e])}));const we=e=>{e.data.type!==`AddFavoriteThumbnail_${j}`||X||n(0,Z=!0),e.data.type!==`RemoveFavoriteThumbnail_${j}`||X||n(0,Z=!1),"UserSessionID"===e.data.type&&(n(16,se=!0),e.data.session,i=e.data.userID),"CategoryUpdate"===e.data.type&&n(13,s=null)},_e=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),
|
|
1245
|
+
// (541:8) {#if lang}
|
|
1246
|
+
function Wr(e){let t,n,r,i,a=/*$_*/e[35]("playNow")+"";return{c(){t=m("button"),n=y(a),_(t,"class","GameInfoBtn")},m(a,o){d(a,t,o),h(t,n),r||(i=w(t,"click",/*click_handler*/e[62]),r=!0)},p(e,t){/*$_*/16&t[1]&&a!==(a=/*$_*/e[35]("playNow")+"")&&S(n,a)},d(e){e&&f(t),r=!1,i()}}}
|
|
1247
|
+
// (551:8) {#if gameisnew}
|
|
1248
|
+
function zr(e){let t,n,r=/*$_*/e[35]("new")+"";return{c(){t=m("span"),n=y(r),_(t,"class","GameExtraInfoLabel NewGameTag")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/16&t[1]&&r!==(r=/*$_*/e[35]("new")+"")&&S(n,r)},d(e){e&&f(t)}}}
|
|
1249
|
+
// (554:8) {#if gametag}
|
|
1250
|
+
function Vr(e){let t,n;return{c(){t=m("span"),n=y(/*gametag*/e[8]),_(t,"class","GameExtraInfoLabel PopularGameTag")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*gametag*/256&t[0]&&S(n,/*gametag*/e[8])},d(e){e&&f(t)}}}
|
|
1251
|
+
// (557:8) {#if livegamedata}
|
|
1252
|
+
function Zr(e){let t,n,r=!/*isopen*/e[22]&&/*starttime*/e[20]&&/*timeformat*/e[21]&&Kr(e);function i(e,t){/*isopen*/
|
|
1253
|
+
return e[22]&&/*displaytype*/e[19]&&/*displaytype*/e[19]===ui?qr:/*isopen*/e[22]&&/*displaytype*/e[19]&&/*displaytype*/e[19]===hi?Xr:void 0}let a=i(e),o=a&&a(e);return{c(){r&&r.c(),t=v(),o&&o.c(),n=b()},m(e,i){r&&r.m(e,i),d(e,t,i),o&&o.m(e,i),d(e,n,i)},p(e,s){!/*isopen*/e[22]&&/*starttime*/e[20]&&/*timeformat*/e[21]?r?r.p(e,s):(r=Kr(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),a===(a=i(e))&&o?o.p(e,s):(o&&o.d(1),o=a&&a(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){r&&r.d(e),e&&f(t),o&&o.d(e),e&&f(n)}}}
|
|
1254
|
+
// (558:10) {#if !isopen && starttime && timeformat}
|
|
1255
|
+
function Kr(e){let t,n,r,i,a,o,s,l,c,u,p=/*$_*/e[35]("opens")+"",g=Nr.utc(/*starttime*/e[20]).local().format(/*timeformat*/e[21])+"",b=/*renderDealerName*/e[41](/*dealername*/e[34])+"",w=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"";return{c(){t=m("div"),n=m("div"),r=y(p),i=v(),a=m("span"),o=y(g),s=v(),l=new T(!1),c=v(),u=new T(!1),_(n,"class","ClosedGame"),l.a=c,u.a=null,_(t,"class","GameProp LiveProps")},m(e,f){d(e,t,f),h(t,n),h(n,r),h(n,i),h(n,a),h(a,o),h(t,s),l.m(b,t),h(t,c),u.m(w,t)},p(e,t){/*$_*/16&t[1]&&p!==(p=/*$_*/e[35]("opens")+"")&&S(r,p),/*starttime, timeformat*/3145728&t[0]&&g!==(g=Nr.utc(/*starttime*/e[20]).local().format(/*timeformat*/e[21])+"")&&S(o,g),/*dealername*/8&t[1]&&b!==(b=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&l.p(b),/*min, max, currencySymbol*/234881024&t[0]&&w!==(w=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"")&&u.p(w)},d(e){e&&f(t)}}}
|
|
1256
|
+
// (591:70)
|
|
1257
|
+
function Xr(e){let t,n,r,i,a,o,s=/*renderDealerName*/e[41](/*dealername*/e[34])+"",l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"",c=new Array(fi),u=[];for(let t=0;t<c.length;t+=1)u[t]=ti(Yr(e,c,t));return{c(){t=m("div"),n=m("div");for(let e=0;e<u.length;e+=1)u[e].c();r=v(),i=new T(!1),a=v(),o=new T(!1),_(n,"class","LiveIcons"),i.a=a,o.a=null,_(t,"class",/*roulettecontainerclassname*/e[30])},m(c,f){d(c,t,f),h(t,n);for(let e=0;e<u.length;e+=1)u[e]&&u[e].m(n,null);
|
|
1258
|
+
/*div0_binding*/e[63](n),h(t,r),i.m(s,t),h(t,a),o.m(l,t)},p(e,r){if(/*roulleteresults, isdouble*/536887296&r[0]|/*renderSpan, colorsourcearray*/2049&r[1]){let t;for(c=new Array(fi),t=0;t<c.length;t+=1){const i=Yr(e,c,t);u[t]?u[t].p(i,r):(u[t]=ti(i),u[t].c(),u[t].m(n,null))}for(;t<u.length;t+=1)u[t].d(1);u.length=c.length}/*dealername*/8&r[1]&&s!==(s=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&i.p(s),/*min, max, currencySymbol*/234881024&r[0]&&l!==(l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"")&&o.p(l),/*roulettecontainerclassname*/1073741824&r[0]&&_(t,"class",/*roulettecontainerclassname*/e[30])},d(n){n&&f(t),p(u,n),
|
|
1259
|
+
/*div0_binding*/e[63](null)}}}
|
|
1260
|
+
// (570:10) {#if isopen && displaytype && displaytype === BLACKJACK}
|
|
1261
|
+
function qr(e){let t,n,r,i,a,o,s=/*renderDealerName*/e[41](/*dealername*/e[34])+"",l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"";function c(e,t){/*istablefull*/
|
|
1262
|
+
return e[32]?ri:ni}let u=c(e),p=u(e);return{c(){t=m("div"),n=m("div"),p.c(),r=v(),i=new T(!1),a=v(),o=new T(!1),_(n,"class","LiveIcons"),i.a=a,o.a=null,_(t,"class","GameProp LiveProps BlackjackDisplay"),_(t,"part","GameProp LiveProps BlackjackDisplay")},m(e,c){d(e,t,c),h(t,n),p.m(n,null),h(t,r),i.m(s,t),h(t,a),o.m(l,t)},p(e,t){u===(u=c(e))&&p?p.p(e,t):(p.d(1),p=u(e),p&&(p.c(),p.m(n,null))),/*dealername*/8&t[1]&&s!==(s=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&i.p(s),/*min, max, currencySymbol*/234881024&t[0]&&l!==(l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"")&&o.p(l)},d(e){e&&f(t),p.d()}}}
|
|
1263
|
+
// (595:18) {#if roulleteresults && roulleteresults[i]}
|
|
1264
|
+
function Jr(e){let t;function n(e,t){/*isdouble*/
|
|
1265
|
+
return e[29]?ei:Qr}let r=n(e),i=r(e);return{c(){i.c(),t=b()},m(e,n){i.m(e,n),d(e,t,n)},p(e,a){r===(r=n(e))&&i?i.p(e,a):(i.d(1),i=r(e),i&&(i.c(),i.m(t.parentNode,t)))},d(e){i.d(e),e&&f(t)}}}
|
|
1266
|
+
// (601:20) {:else}
|
|
1267
|
+
function Qr(e){let t,n,r=/*renderSpan*/e[42]("LatestResult "/*i*/+(/*i*/0===e[105]?"First":""),e[105],/*roulleteresults*/e[14][/*i*/e[105]],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[105]]])+"";return{c(){t=new T(!1),n=b(),t.a=n},m(e,i){t.m(r,e,i),d(e,n,i)},p(e,n){/*roulleteresults*/16384&n[0]|/*colorsourcearray*/1&n[1]&&r!==(r=/*renderSpan*/e[42]("LatestResult "/*i*/+(/*i*/0===e[105]?"First":""),e[105],/*roulleteresults*/e[14][/*i*/e[105]],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[105]]])+"")&&t.p(r)},d(e){e&&f(n),e&&t.d()}}}
|
|
1268
|
+
// (596:20) {#if isdouble}
|
|
1269
|
+
function ei(e){let t,n,r,i,a,o=/*renderSpan*/e[42]("LatestResult "+(/*i*/0===e[105]?"First":""),`first${/*i*/e[105]}${/*roulleteresults*/e[14][/*i*/e[105]][0]}`/*roulleteresults*/,e[14][/*i*/e[105]][0],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[105]][0]])+"",s=/*renderSpan*/e[42]("LatestResult "+(/*i*/0===e[105]?"First":""),`second${/*i*/e[105]}${/*roulleteresults*/e[14][/*i*/e[105]][1]}`/*roulleteresults*/,e[14][/*i*/e[105]][1],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[105]][1]])+"";return{c(){t=m("div"),n=new T(!1),r=v(),i=new T(!1),a=v(),n.a=r,i.a=a,_(t,"class","Double")},m(e,l){d(e,t,l),n.m(o,t),h(t,r),i.m(s,t),h(t,a)},p(e,t){/*roulleteresults*/16384&t[0]|/*colorsourcearray*/1&t[1]&&o!==(o=/*renderSpan*/e[42]("LatestResult "+(/*i*/0===e[105]?"First":""),`first${/*i*/e[105]}${/*roulleteresults*/e[14][/*i*/e[105]][0]}`/*roulleteresults*/,e[14][/*i*/e[105]][0],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[105]][0]])+"")&&n.p(o),/*roulleteresults*/16384&t[0]|/*colorsourcearray*/1&t[1]&&s!==(s=/*renderSpan*/e[42]("LatestResult "+(/*i*/0===e[105]?"First":""),`second${/*i*/e[105]}${/*roulleteresults*/e[14][/*i*/e[105]][1]}`/*roulleteresults*/,e[14][/*i*/e[105]][1],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[105]][1]])+"")&&i.p(s)},d(e){e&&f(t)}}}
|
|
1270
|
+
// (594:16) {#each new Array(numberofdisplayedresults) as garbage, i}
|
|
1271
|
+
function ti(e){let t,n=/*roulleteresults*/e[14]&&/*roulleteresults*/e[14][/*i*/e[105]]&&Jr(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),d(e,t,r)},p(e,r){/*roulleteresults*/e[14]&&/*roulleteresults*/e[14][/*i*/e[105]]?n?n.p(e,r):(n=Jr(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&f(t)}}}
|
|
1272
|
+
// (577:16) {:else}
|
|
1273
|
+
function ni(e){let t,n=/*seats*/e[24],r=[];for(let t=0;t<n.length;t+=1)r[t]=ii(jr(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(/*currentoccupiedseats, seats*/285212672&i[0]|/*contains*/256&i[1]){let a;for(n=/*seats*/e[24],a=0;a<n.length;a+=1){const o=jr(e,n,a);r[a]?r[a].p(o,i):(r[a]=ii(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){p(r,e),e&&f(t)}}}
|
|
1274
|
+
// (573:16) {#if istablefull}
|
|
1275
|
+
function ri(e){let t,n,r=/*$_*/e[35]("full")+"";return{c(){t=m("span"),n=y(r),_(t,"class","FullTable")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/16&t[1]&&r!==(r=/*$_*/e[35]("full")+"")&&S(n,r)},d(e){e&&f(t)}}}
|
|
1276
|
+
// (578:18) {#each seats as seatData}
|
|
1277
|
+
function ii(e){let t,n,r,i,a,o;return{c(){t=m("span"),n=g("svg"),r=g("path"),i=g("path"),a=v(),_(r,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),_(i,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),_(n,"xmlns","http://www.w3.org/2000/svg"),_(n,"width","13"),_(n,"height","14"),_(n,"viewBox","0 0 13 14"),_(t,"class",o=/*contains*/e[39](/*currentoccupiedseats*/e[28],/*seatData*/e[100].toString())?"ClosedSeat":"OpenSeat")},m(e,o){d(e,t,o),h(t,n),h(n,r),h(n,i),h(t,a)},p(e,n){/*currentoccupiedseats, seats*/285212672&n[0]&&o!==(o=/*contains*/e[39](/*currentoccupiedseats*/e[28],/*seatData*/e[100].toString())?"ClosedSeat":"OpenSeat")&&_(t,"class",o)},d(e){e&&f(t)}}}
|
|
1278
|
+
// (632:79)
|
|
1279
|
+
function ai(t){let n;return{c(){n=m("div"),n.innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: var(--emfe-w-color-white, #FFFFFF);" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',_(n,"class","FavIconContainer")},m(e,t){d(e,n,t)},p:e,d(e){e&&f(n)}}}
|
|
1280
|
+
// (619:68)
|
|
1281
|
+
function oi(t){let n,r,i;return{c(){n=m("div"),n.innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: var(--emfe-w-color-white, #FFFFFF);" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',_(n,"class","FavIconContainer")},m(e,a){d(e,n,a),r||(i=w(n,"click",/*click_handler_2*/t[65]),r=!0)},p:e,d(e){e&&f(n),r=!1,i()}}}
|
|
1282
|
+
// (613:6) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}
|
|
1283
|
+
function si(t){let n,r,i;return{c(){n=m("div"),n.innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: var(--emfe-w-color-white, #FFFFFF);" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',_(n,"class","FavIconContainer")},m(e,a){d(e,n,a),r||(i=w(n,"click",/*click_handler_1*/t[64]),r=!0)},p:e,d(e){e&&f(n),r=!1,i()}}}
|
|
1284
|
+
// (641:2) {#if showgamename === 'true'}
|
|
1285
|
+
function li(e){let t,n;return{c(){t=m("p"),n=y(/*gamename*/e[4]),_(t,"class","GameNameBelow"),_(t,"title",/*gamename*/e[4])},m(e,r){d(e,t,r),h(t,n)},p(e,r){/*gamename*/16&r[0]&&S(n,/*gamename*/e[4]),/*gamename*/16&r[0]&&_(t,"title",/*gamename*/e[4])},d(e){e&&f(t)}}}function ci(t){let n,r,i,a,o,s,c,u,p,g,b,w,x,C,T,L,$,k,G,P,O,M,I,D,F,R,A=/*gamevendor*/(t[5]?/*gamevendor*/t[5]:"-")+"",N=/*lang*/t[1]&&Wr(t),H=/*gameisnew*/t[7]&&zr(t),B=/*gametag*/t[8]&&Vr(t),U=/*livegamedata*/t[13]&&Zr(t);function Y(e,t){/*gamefavorite, isLoggedIn, favorites*/
|
|
1286
|
+
return 65541&t[0]&&(O=null),/*gamefavorite, isLoggedIn*/65537&t[0]&&(M=null),/*gamefavorite, isLoggedIn, favorites*/65541&t[0]&&(I=null),null==O&&(O=!(Rr(/*userAgent*/e[36])||/*gamefavorite*/!e[0]||/*isLoggedIn*/!e[16]||/*favorites*/!e[2])),O?si:(null==M&&(M=!(Rr(/*userAgent*/e[36])||/*gamefavorite*/e[0]||/*isLoggedIn*/!e[16])),M?oi:(null==I&&(I=!!(Rr(/*userAgent*/e[36])&&/*gamefavorite*/e[0]&&/*isLoggedIn*/e[16]&&/*favorites*/e[2])),I?ai:void 0))}let j=Y(t,[-1,-1,-1,-1]),W=j&&j(t),z=/*showgamename*/"true"===t[10]&&li(t);return{c(){n=m("div"),r=m("div"),i=m("img"),s=v(),c=m("div"),u=m("div"),p=m("p"),g=y(/*gamename*/t[4]),b=v(),N&&N.c(),w=v(),x=m("span"),C=y(A),T=v(),L=m("div"),$=m("div"),H&&H.c(),k=v(),B&&B.c(),G=v(),U&&U.c(),P=v(),W&&W.c(),F=v(),z&&z.c(),this.c=e,l(i.src,a=/*gamethumbnail*/t[3])||_(i,"src",a),_(i,"class",o=`GameBg GameBg-${/*gamecellsize*/t[9]} ${/*loaded*/t[17]?"Loaded":""}`),_(i,"alt",""),_(i,"loading","lazy"),_(p,"class","GameInfoName"),_(p,"title",/*gamename*/t[4]),_(u,"class","GameInfo"),_(x,"class","GameInfoVendor"),_(c,"class","GameInfoWrapper"),_($,"class","GameExtraInfo"),_(L,"class","GameExtraInfoContainer"),_(r,"class",D="GameInnerContainer "+(/*livegamedata*/t[13]&&!/*isopen*/t[22]&&/*openhours*/t[23].value||/*livegamedata*/t[13]&&/*istablefull*/t[32]?"GameInnerContainerUnavailable":"")),_(n,"class",R=`GameContainer ${/*extraclassname*/t[33]} ${/*casinogamesgridslider*/"true"==t[11]?"CasinoGamesGridSlider":""}`),E(n,"WithGameName",/*showgamename*/t[10])},m(e,a){d(e,n,a),h(n,r),h(r,i),
|
|
1287
|
+
/*img_binding*/t[61](i),h(r,s),h(r,c),h(c,u),h(u,p),h(p,g),h(u,b),N&&N.m(u,null),h(c,w),h(c,x),h(x,C),h(r,T),h(r,L),h(L,$),H&&H.m($,null),h($,k),B&&B.m($,null),h($,G),U&&U.m($,null),h(L,P),W&&W.m(L,null),h(n,F),z&&z.m(n,null)
|
|
1288
|
+
/*div5_binding*/,t[66](n)},p(e,t){/*gamethumbnail*/8&t[0]&&!l(i.src,a=/*gamethumbnail*/e[3])&&_(i,"src",a),/*gamecellsize, loaded*/131584&t[0]&&o!==(o=`GameBg GameBg-${/*gamecellsize*/e[9]} ${/*loaded*/e[17]?"Loaded":""}`)&&_(i,"class",o),/*gamename*/16&t[0]&&S(g,/*gamename*/e[4]),/*gamename*/16&t[0]&&_(p,"title",/*gamename*/e[4]),/*lang*/e[1]?N?N.p(e,t):(N=Wr(e),N.c(),N.m(u,null)):N&&(N.d(1),N=null),/*gamevendor*/32&t[0]&&A!==(A=/*gamevendor*/(e[5]?/*gamevendor*/e[5]:"-")+"")&&S(C,A),/*gameisnew*/e[7]?H?H.p(e,t):(H=zr(e),H.c(),H.m($,k)):H&&(H.d(1),H=null),/*gametag*/e[8]?B?B.p(e,t):(B=Vr(e),B.c(),B.m($,G)):B&&(B.d(1),B=null),/*livegamedata*/e[13]?U?U.p(e,t):(U=Zr(e),U.c(),U.m($,null)):U&&(U.d(1),U=null),j===(j=Y(e,t))&&W?W.p(e,t):(W&&W.d(1),W=j&&j(e),W&&(W.c(),W.m(L,null))),/*livegamedata, isopen, openhours*/12591104&t[0]|/*istablefull*/2&t[1]&&D!==(D="GameInnerContainer "+(/*livegamedata*/e[13]&&!/*isopen*/e[22]&&/*openhours*/e[23].value||/*livegamedata*/e[13]&&/*istablefull*/e[32]?"GameInnerContainerUnavailable":""))&&_(r,"class",D),/*showgamename*/"true"===e[10]?z?z.p(e,t):(z=li(e),z.c(),z.m(n,null)):z&&(z.d(1),z=null),/*casinogamesgridslider*/2048&t[0]|/*extraclassname*/4&t[1]&&R!==(R=`GameContainer ${/*extraclassname*/e[33]} ${/*casinogamesgridslider*/"true"==e[11]?"CasinoGamesGridSlider":""}`)&&_(n,"class",R),/*casinogamesgridslider, showgamename*/3072&t[0]|/*extraclassname*/4&t[1]&&E(n,"WithGameName",/*showgamename*/e[10])},i:e,o:e,d(e){e&&f(n)
|
|
1289
|
+
/*img_binding*/,t[61](null),N&&N.d(),H&&H.d(),B&&B.d(),U&&U.d(),W&&W.d(),z&&z.d()
|
|
1290
|
+
/*div5_binding*/,t[66](null)}}}const ui="blackjack",hi="roulette",di="doubleballroulette",fi=5;function pi(e,t,n){let r;u(e,Ln,(e=>n(35,r=e)));let i,a,o,s,l,c,h,d,f,p,m,g,y,v,b,w,_,x,S,C,E,T,L,$,G,{session:O=""}=t,{userid:M=""}=t,{lang:I="en"}=t,{clientstyling:D=""}=t,{clientstylingurl:F=""}=t,{translationurl:A=""}=t,{favorites:N=""}=t,{gamethumbnail:H=""}=t,{gamename:B=""}=t,{gamevendor:U=""}=t,{gamelaunchurl:Y=""}=t,{gameid:j=""}=t,{gameisnew:W=""}=t,{gametag:z=""}=t,{gamefunmode:V=!1}=t,{gamefavorite:Z=!1}=t,{gamecellsize:K=""}=t,{showfavoredcategory:X=!1}=t,{showgamename:q=""}=t,{currency:J=""}=t,{gamepagemodalurl:Q="false"}=t,{endpoint:ee=""}=t,{livelobbyendpoint:te=""}=t,{connectlive:ne=""}=t,{visibilityconnect:re=""}=t,{integratedgameframedesktop:ie="false"}=t,{integratedgameframemobile:ae="false"}=t,{casinogamesgridslider:oe="false"}=t,se=!1,le=!1,ce=window.navigator.userAgent,ue="HH:mm",he={},de=[],fe="EUR",pe="";const me=[ui],ge=[hi,di],ye={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},ve={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"};Object.keys(Br).forEach((e=>{Hr(e,Br[e])}));const be=e=>{e.data.type!==`AddFavoriteThumbnail_${j}`||X||n(0,Z=!0),e.data.type!==`RemoveFavoriteThumbnail_${j}`||X||n(0,Z=!1),"UserSessionID"===e.data.type&&(n(16,se=!0),e.data.session,i=e.data.userID),"CategoryUpdate"===e.data.type&&n(13,s=null)},we=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),
|
|
1296
1291
|
//Analytics event -- if game was searched
|
|
1297
1292
|
"function"==typeof gtag&>ag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:`${e}`,userId:`${i||"Not logged in"}`}),
|
|
1298
1293
|
// Case mobile
|
|
1299
|
-
Rr(
|
|
1294
|
+
Rr(ce)&&"true"==ae?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:V,gamepagemodalurl:Q,isMobile:Rr(ce),source:"GameThumbnail",identifier:"Lobby",subVendor:U,launchUrl:Y},window.location.href):Rr(ce)&&"false"==ae&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Rr(ce)},window.location.href),
|
|
1300
1295
|
// Case desktop
|
|
1301
|
-
Rr(
|
|
1296
|
+
Rr(ce)||"true"!=ie?Rr(ce)||"false"!=ie||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Rr(ce)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:V,gamepagemodalurl:Q,isMobile:Rr(ce),identifier:"Lobby",subVendor:U,launchUrl:Y},window.location.href)},_e=e=>{let t="thumbnail";Z?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href)},xe=()=>{var e;e=I,sn.set(e)},Se=()=>{te&&EventSource&&!l&&U&&j&&(l=new EventSource(`${ee}/v1/encoder/lobby/updates/${U}/${j}`),l.addEventListener("message",Ee))},Ce=()=>{l&&(l.close(),l=void 0)},Ee=async e=>{const{type:t,data:r}=e;let i;if("message"===t){if(r)try{i=JSON.parse(r)}catch(e){
|
|
1302
1297
|
// eslint-disable-next-line no-console
|
|
1303
1298
|
console.error("MESSAGE PARSING ERROR: ",e)}if(i){const{InternalTableId:e,MessageType:t,Results:// TakenSeats,
|
|
1304
1299
|
r,Seats:// Roads, // for baccarat
|
|
1305
|
-
a,Open:o}=i;if(e)switch(t){case"SeatsUpdated":a&&Array.isArray(a)&&(n(
|
|
1300
|
+
a,Open:o}=i;if(e)switch(t){case"SeatsUpdated":a&&Array.isArray(a)&&(n(28,y=a),n(13,s.currentOccupiedSeats=a,s),await R());break;case"RouletteResultsUpdated":r&&Array.isArray(r)&&(v=r,n(13,s.currentRouletteNumbers=r,s),await R());break;case"DoubleBallRouletteResultsUpdated":r&&Array.isArray(r)&&(b=r,n(13,s.currentDoubleBallRouletteNumbers=r,s),await R());break;case"TableOpened":case"TableClosed":n(22,d=o),n(13,s.isOpen=o,s),await R()}// default case
|
|
1306
1301
|
}}// default case
|
|
1307
|
-
},
|
|
1302
|
+
},Te=(e,t=",")=>null!=e?`${e}`.replace(/\B(?=(\d{3})+(?!\d))/g,t):"",Le=(e,t)=>e.some((e=>e===t)),$e=()=>{if(s){if(n(22,d=s.isOpen),he=s.betLimit||{},n(23,f=s.openHours),n(24,de=(e=>{g=e.totalSeats||7,n(28,y=e.currentOccupiedSeats||[]);const t=[];for(let e=1;e<=g;e++)t.push(e);return{seats:t}})(s).seats),f&&f.value){const{value:{startTime:e,originalTimeFormat:t}}=f;/* , timeFormat: timeFormatRaw */n(20,h=e),n(21,ue=t||ue)}d&&n(19,c=(e=>{let t=null;if(e){const{vendorCategory:n}=e;if(n){const e=n.toLowerCase();Le(me,e)?t=ui:Le(ge,e)&&(t=hi)}// else if (contains(baccaratCategory, gameTypeToLower)) {
|
|
1308
1303
|
// GameComponent = 'baccarat';
|
|
1309
1304
|
}// } else if (contains(otherLiveGamesCategory, gameTypeToLower)) {
|
|
1310
1305
|
// GameComponent = 'poker';
|
|
1311
1306
|
// }
|
|
1312
|
-
return t})(s)),n(
|
|
1307
|
+
return t})(s)),n(25,fe=Ur[J]),n(26,p=(he.min||{})[J]),n(27,m=(he.max||{})[J]),v=s.currentRouletteNumbers,b=s.currentDoubleBallRouletteNumbers,w=s.vendorCategory,n(29,_=w.toLowerCase()===di),n(14,x=(_?b:v)||[]),n(30,S="GameProp LiveProps RoulleteProps"),n(30,S+=_?" Double":""),n(31,C=Le(ge,w.toLowerCase())?ve:ye),T=E,n(32,E=Array.isArray(y)&&y.length===g),s.dealer&&n(34,$=s.dealer.DealerName),G=s.numberOfPlayers,n(33,pe="ListGame"),s.isOpen&&s.currentRouletteNumbers&&n(33,pe+=" GameBackdrop"),d&&E&&p&&m&&s.currentOccupiedSeats?n(33,pe+=" GameContainerDimmed"):!1===d&&h&&n(33,pe+=" GameContainerFullyDimmed"),o&&(!T&&E?(n(33,pe+=" PulsatingRedShadow"),n(33,pe=pe.replace(" PulsatingGreenShadow",""))):T&&!E&&(n(33,pe+=" PulsatingGreenShadow"),n(33,pe=pe.replace(" PulsatingRedShadow",""))))}},ke=()=>{let e=new URL(F),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{o.appendChild(t)}),1)}))};k((()=>(window.addEventListener("message",be,!1),()=>{window.removeEventListener("message",be),l&&l.removeEventListener("message",Ee)})));return e.$$set=e=>{"session"in e&&n(43,O=e.session),"userid"in e&&n(44,M=e.userid),"lang"in e&&n(1,I=e.lang),"clientstyling"in e&&n(45,D=e.clientstyling),"clientstylingurl"in e&&n(46,F=e.clientstylingurl),"translationurl"in e&&n(47,A=e.translationurl),"favorites"in e&&n(2,N=e.favorites),"gamethumbnail"in e&&n(3,H=e.gamethumbnail),"gamename"in e&&n(4,B=e.gamename),"gamevendor"in e&&n(5,U=e.gamevendor),"gamelaunchurl"in e&&n(48,Y=e.gamelaunchurl),"gameid"in e&&n(6,j=e.gameid),"gameisnew"in e&&n(7,W=e.gameisnew),"gametag"in e&&n(8,z=e.gametag),"gamefunmode"in e&&n(49,V=e.gamefunmode),"gamefavorite"in e&&n(0,Z=e.gamefavorite),"gamecellsize"in e&&n(9,K=e.gamecellsize),"showfavoredcategory"in e&&n(50,X=e.showfavoredcategory),"showgamename"in e&&n(10,q=e.showgamename),"currency"in e&&n(51,J=e.currency),"gamepagemodalurl"in e&&n(52,Q=e.gamepagemodalurl),"endpoint"in e&&n(53,ee=e.endpoint),"livelobbyendpoint"in e&&n(54,te=e.livelobbyendpoint),"connectlive"in e&&n(55,ne=e.connectlive),"visibilityconnect"in e&&n(56,re=e.visibilityconnect),"integratedgameframedesktop"in e&&n(57,ie=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(58,ae=e.integratedgameframemobile),"casinogamesgridslider"in e&&n(11,oe=e.casinogamesgridslider)},e.$$.update=()=>{/*connectlive*/16777216&e.$$.dirty[1]&&ne&&("disconnect"===ne?Ce():"connect"===ne&&Se()),/*visibilityconnect*/33554432&e.$$.dirty[1]&&re&&("disconnect"===re?Ce():"connect"===re&&"connect"===ne&&Se()),/*lang*/2&e.$$.dirty[0]&&I&&xe(),/*session, userid, endpoint*/4206592&e.$$.dirty[1]&&O&&M&&ee&&(n(16,se=!0),i=M),/*gamethumbnail*/8&e.$$.dirty[0]&&H&&a&&n(18,a.onload=()=>{n(17,le=!0)},a),/*customStylingContainer*/4096&e.$$.dirty[0]|/*clientstyling*/16384&e.$$.dirty[1]&&D&&o&&(()=>{let e=document.createElement("style");e.innerHTML=D,o.appendChild(e)})(),/*customStylingContainer*/4096&e.$$.dirty[0]|/*clientstylingurl*/32768&e.$$.dirty[1]&&F&&o&&ke(),e.$$.dirty[0],/*translationurl*/65536&e.$$.dirty[1]&&A&&fetch(A).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Hr(t,e[t])}))})).catch((e=>{console.log(e)})),/*gamecellsize*/512&e.$$.dirty[0]|/*clientstylingurl*/32768&e.$$.dirty[1]&&K&&F&&ke(),/*endpoint, livelobbyendpoint*/12582912&e.$$.dirty[1]&&ee&&te&&(()=>{let e=new URL(`${te.split("?")[0]}`);e.searchParams.append("platform",Ar(ce)),e.searchParams.append("language",I),
|
|
1313
1308
|
// let url:URL = new URL(`${endpoint}${livelobbyendpoint}`);
|
|
1314
|
-
fetch(e).then((e=>e.json())).then((e=>{const{details:t}=e[0];n(13,s=t)}))})(),/*livegamedata*/8192&e.$$.dirty[0]&&s
|
|
1309
|
+
fetch(e).then((e=>e.json())).then((e=>{const{details:t}=e[0];n(13,s=t)}))})(),/*livegamedata*/8192&e.$$.dirty[0]&&s&&$e(),/*roulletteref, roulleteresults*/49152&e.$$.dirty[0]&&L&&x&&(()=>{const e="FirstElementAnimated",t=L.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout((()=>{t.classList.remove(e)}),2e3))})()},[Z,I,N,H,B,U,j,W,z,K,q,oe,o,s,x,L,se,le,a,c,h,ue,d,f,de,fe,p,m,y,_,S,C,E,pe,$,r,ce,we,_e,Le,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`\n <span>\n ${n}\n </span>\n ${Te(e)}-${Te(t)}`),G&&(r=`\n <svg fill="var(--emfe-w-color-white, #FFFFFF);" width="13" height="13" viewBox="0 0 13 14" xmlns="http://www.w3.org/2000/svg"><path d="M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"/></svg>\n <span class="NrOfPlayers">${G}</span>`),r||i?`\n <p class="LiveLimits">\n <span class="BetLimitLeft">\n ${i||""}\n </span>\n <span class="BetLimitRight">\n ${r||""}\n </span>\n </p>`:""},e=>e?`\n <p class="LiveLimits">\n <span class="DealerName">${r("dealer")}: ${e}</span>\n </p>\n `:"",(e,t,n,r="")=>{const i=`${e} ${r}`,a=t.toString().match(/first0|second0|0/g);return 0===t||a&&0!==a.length?`\n <span\n id=${t}\n class="${i}"\n >\n ${n}\n </span>\n `:`\n <span id=${t} class="${i}">\n ${n}\n </span>\n `},O,M,D,F,A,Y,V,X,J,Q,ee,te,ne,re,ie,ae,ye,ve,function(e){P[e?"unshift":"push"]((()=>{a=e,n(18,a)}))},()=>we(j),function(e){P[e?"unshift":"push"]((()=>{L=e,n(15,L)}))},()=>_e(j),()=>_e(j),function(e){P[e?"unshift":"push"]((()=>{o=e,n(12,o)}))}]}
|
|
1315
1310
|
/* ../casino-search/src/CasinoSearch.svelte generated by Svelte v3.59.2 */
|
|
1316
|
-
function
|
|
1311
|
+
function mi(e,t,n){const r=e.slice();return r[53]=t[n],r}
|
|
1317
1312
|
// (312:10) {#if cancelbutton === 'true'}
|
|
1318
|
-
function
|
|
1313
|
+
function gi(e){let t,n,r,i,a,o=/*$_*/e[20]("cancel")+"";return{c(){t=m("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
1314
|
// (322:4) {:else}
|
|
1320
|
-
function
|
|
1321
|
-
return 1==e[16]&&/*searchValue*/e[11].length<2?
|
|
1315
|
+
function yi(e){let t,n,r,i;function a(e,t){/*searchActive*/
|
|
1316
|
+
return 1==e[16]&&/*searchValue*/e[11].length<2?wi:/*searchArray*/0!=e[14].length?bi:void 0}let o=a(e),s=o&&o(e),l=/*searchCancelled*/!1===e[12]&&Ci(e),c=/*searchValue*/e[11].length>=2&&/*searchArray*/0==e[14].length&&Ti(e);return{c(){s&&s.c(),t=v(),n=m("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=Ci(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=Ti(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
1317
|
// (320:4) {#if isLoading}
|
|
1323
|
-
function
|
|
1318
|
+
function vi(e){let t,n,r=/*$_*/e[20]("loading")+"";return{c(){t=m("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
1319
|
// (342:40)
|
|
1325
|
-
function
|
|
1320
|
+
function bi(e){let t,n,r=/*$_*/e[20]("searchResult")+"";return{c(){t=m("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
1321
|
// (323:6) {#if searchActive == true && searchValue.length < 2}
|
|
1327
|
-
function
|
|
1322
|
+
function wi(e){let t,n,r=/*searchArray*/0!==e[14].length&&_i(e),i=/*searchArray*/0==e[14].length&&xi(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=_i(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=xi(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
1323
|
// (324:8) {#if searchArray.length !== 0}
|
|
1329
|
-
function
|
|
1324
|
+
function _i(e){let t,n,r=/*$_*/e[20]("recentSearch")+"";return{c(){t=m("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
1325
|
// (327:10) {#if searchArray.length == 0}
|
|
1331
|
-
function
|
|
1326
|
+
function xi(e){let t,n,r,i,a,o=/*$_*/e[20]("noRecentSearches")+"",s=/*notfoundicon*/"true"===e[10]&&Si();return{c(){t=m("div"),s&&s.c(),n=v(),r=m("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=Si(),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
1327
|
// (329:12) {#if notfoundicon === 'true'}
|
|
1333
|
-
function
|
|
1328
|
+
function Si(e){let t;return{c(){t=m("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
1329
|
// (346:8) {#if searchCancelled === false}
|
|
1335
|
-
function
|
|
1330
|
+
function Ci(e){let t,n=/*searchArray*/e[14],r=[];for(let t=0;t<n.length;t+=1)r[t]=Ei(mi(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=mi(e,n,a);r[a]?r[a].p(o,i):(r[a]=Ei(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){p(r,e),e&&f(t)}}}
|
|
1336
1331
|
// (347:10) {#each searchArray as game}
|
|
1337
|
-
function
|
|
1332
|
+
function Ei(e){let t,n,r,i,a,o,s,l,c,u,h,p;return{c(){t=m("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",p=/*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]&&p!==(p=/*game*/e[53].details?/*game*/e[53].launchUrl:"")&&x(t,"livelobbyendpoint",p),/*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
1333
|
// (374:8) {#if searchValue.length >= 2 && searchArray.length == 0}
|
|
1339
|
-
function
|
|
1334
|
+
function Ti(e){let t,n,r,i,a,o,s,l,c=/*$_*/e[20]("notFound")+"",u=/*$_*/e[20]("notFoundText")+"",p=/*notfoundicon*/"true"===e[10]&&Li();return{c(){t=m("div"),p&&p.c(),n=v(),r=m("p"),i=y(c),a=v(),o=m("p"),s=y(u),_(r,"class","SearchMessage"),_(t,"class",l="ResultsContainerError "+(/*notfoundicon*/"true"==e[10]?"WithIcon":""))},m(e,l){d(e,t,l),p&&p.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]?p||(p=Li(),p.c(),p.m(t,n)):p&&(p.d(1),p=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),p&&p.d()}}}
|
|
1340
1335
|
// (376:12) {#if notfoundicon === 'true'}
|
|
1341
|
-
function
|
|
1342
|
-
return e[17]?
|
|
1336
|
+
function Li(e){let t;return{c(){t=m("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 $i(t){let n,i,a,o,s,l,c,u,p,y,b,x,S,E,T,L,$,k,G,P,O=/*cancelbutton*/"true"===t[9]&&gi(t);function M(e,t){/*isLoading*/
|
|
1337
|
+
return e[17]?vi:yi}let I=M(t),D=I(t);return{c(){n=m("div"),i=m("div"),a=m("div"),o=m("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=m("input"),u=v(),p=m("span"),y=g("svg"),b=g("path"),S=v(),O&&O.c(),T=v(),L=m("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",ki),_(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"),_(p,"class",x="SearchClearButton "+(/*cancelbutton*/"true"!=t[9]?"WithoutCancel":"")+" "+(/*searchValue*/0!=t[11].length?"":"NotVisible")),_(a,"class",E="Search "+(/*searchCancelled*/t[12]?"":"SearchAnimation")),_(i,"class","SearchWrap"),_(L,"class",$=/*cancelbutton*/"true"!=t[9]?"OverlayCancel":""),_(n,"class",("PC"!==Ar(/*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),C(l,/*searchValue*/t[11]),
|
|
1343
1338
|
/*input_binding*/t[33](l),h(a,u),h(a,p),h(p,y),h(y,b),h(a,S),O&&O.m(a,null),h(n,T),h(n,L),h(n,k),D.m(n,null),
|
|
1344
|
-
/*div4_binding*/t[36](n),G||(P=[w(l,"input",/*input_input_handler*/t[32]),w(l,"focus",/*onFocus*/t[22]),w(p,"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]&&C(l,/*searchValue*/e[11]),/*cancelbutton, searchValue*/2560&t[0]&&x!==(x="SearchClearButton "+(/*cancelbutton*/"true"!=e[9]?"WithoutCancel":"")+" "+(/*searchValue*/0!=e[11].length?"":"NotVisible"))&&_(p,"class",x),/*cancelbutton*/"true"===e[9]?O?O.p(e,t):(O=
|
|
1339
|
+
/*div4_binding*/t[36](n),G||(P=[w(l,"input",/*input_input_handler*/t[32]),w(l,"focus",/*onFocus*/t[22]),w(p,"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]&&C(l,/*searchValue*/e[11]),/*cancelbutton, searchValue*/2560&t[0]&&x!==(x="SearchClearButton "+(/*cancelbutton*/"true"!=e[9]?"WithoutCancel":"")+" "+(/*searchValue*/0!=e[11].length?"":"NotVisible"))&&_(p,"class",x),/*cancelbutton*/"true"===e[9]?O?O.p(e,t):(O=gi(e),O.c(),O.m(a,null)):O&&(O.d(1),O=null),/*searchCancelled*/4096&t[0]&&E!==(E="Search "+(/*searchCancelled*/e[12]?"":"SearchAnimation"))&&_(a,"class",E),/*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)
|
|
1345
1340
|
/*input_binding*/,t[33](null),O&&O.d(),D.d(),
|
|
1346
|
-
/*div4_binding*/t[36](null),G=!1,r(P)}}}!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;padding:8px}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:space-evenly}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;text-align:center;font-size:14px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.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:flex;justify-content:flex-end;align-items:center;color:white;font-size:12px;font-weight:normal}.GameInnerContainer .GameExtraInfoContainer{position:absolute;top:0;left:0;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:auto;padding:4px}.GameInnerContainer .GameExtraInfo{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%;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:flex;flex-direction:column;justify-content:center}.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{display:flex;justify-content:center;align-items:center;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: 480px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper{gap:0px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:12px;margin-top:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:12px;padding:2px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:8px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .FavoredIcon,.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .UnfavoredIcon{width:14px;height:14px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .GameExtraInfoLabel{font-size:8px}}',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 Pi=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:p=""}=t,{clientstylingurl:m=""}=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,C=window.navigator.userAgent,E=[],T=[],L={},$="",G=!0,O=!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,O=!0),l&&c&&f&&$.length<2){n(14,E=[]);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",Ar(C)),r.push(N(e,t[i]))}Promise.all(r).then((e=>{e=e.filter((function(e){return!!e})),n(14,E=e.map((e=>(e.isFavorite=H(e.id),e)))),E.length?A("searchSuccess","SearchWidget"):A("searchFail","SearchWidget")})).catch((e=>{A("searchError","SearchWidget")}))}}j(O),A("searchAttempt","SearchWidget"),
|
|
1341
|
+
/*div4_binding*/t[36](null),G=!1,r(P)}}}!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;padding:8px 25px}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:space-evenly}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;text-align:center;font-size:14px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.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:flex;justify-content:flex-end;align-items:center;color:white;font-size:12px;font-weight:normal}.GameInnerContainer .GameExtraInfoContainer{position:absolute;top:0;left:0;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:auto;padding:4px}.GameInnerContainer .GameExtraInfo{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%;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:flex;flex-direction:column;justify-content:center}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer:hover .UnfavoredIcon,.GameInnerContainer:active .UnfavoredIcon{display:flex}.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}.UnfavoredIcon{display:none}.FavIconContainer{display:flex;justify-content:center;align-items:center;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: 480px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper{gap:0px;padding:8px 10px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:12px;margin-top:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:12px;padding:2px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:8px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .FavoredIcon,.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .UnfavoredIcon{width:14px;height:14px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .GameExtraInfoLabel{font-size:8px}}',this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},pi,ci,a,{session:43,userid:44,lang:1,clientstyling:45,clientstylingurl:46,translationurl:47,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gamelaunchurl:48,gameid:6,gameisnew:7,gametag:8,gamefunmode:49,gamefavorite:0,gamecellsize:9,showfavoredcategory:50,showgamename:10,currency:51,gamepagemodalurl:52,endpoint:53,livelobbyendpoint:54,connectlive:55,visibilityconnect:56,integratedgameframedesktop:57,integratedgameframemobile:58,casinogamesgridslider:11,MONEY_WHEEL_COLOR_MAP:59,ROULETTE_COLOR_MAP:60},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[43]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[44]}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[45]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[46]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get translationurl(){return this.$$.ctx[47]}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[48]}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[49]}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[50]}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[51]}set currency(e){this.$$set({currency:e}),B()}get gamepagemodalurl(){return this.$$.ctx[52]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get endpoint(){return this.$$.ctx[53]}set endpoint(e){this.$$set({endpoint:e}),B()}get livelobbyendpoint(){return this.$$.ctx[54]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),B()}get connectlive(){return this.$$.ctx[55]}set connectlive(e){this.$$set({connectlive:e}),B()}get visibilityconnect(){return this.$$.ctx[56]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[57]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get integratedgameframemobile(){return this.$$.ctx[58]}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[59]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[60]}});let ki=50;function Gi(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:p=""}=t,{clientstylingurl:m=""}=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,C=window.navigator.userAgent,E=[],T=[],L={},$="",G=!0,O=!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,O=!0),l&&c&&f&&$.length<2){n(14,E=[]);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",Ar(C)),r.push(N(e,t[i]))}Promise.all(r).then((e=>{e=e.filter((function(e){return!!e})),n(14,E=e.map((e=>(e.isFavorite=H(e.id),e)))),E.length?A("searchSuccess","SearchWidget"):A("searchFail","SearchWidget")})).catch((e=>{A("searchError","SearchWidget")}))}}j(O),A("searchAttempt","SearchWidget"),
|
|
1347
1342
|
//Analytics event
|
|
1348
|
-
A("SearchInitialized","SearchWidget")},A=(e,t)=>{"function"==typeof gtag&>ag("event",e,{context:t})},N=(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,E=[]),n(16,O=!1),j(O)},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,p=e.clientstyling),"clientstylingurl"in e&&n(3,m=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",Ar(C)),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,E=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]&&p&&a&&(()=>{let e=document.createElement("style");e.innerHTML=p,a.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/8200&e.$$.dirty[0]&&m&&a&&(()=>{let e=new URL(m),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{a.appendChild(t)}),1)}))})()},[l,f,p,m,g,y,v,b,_,x,S,$,G,a,E,i,O,M,o,s,r,C,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);Nr(l).diff(i)<r&&(r=Nr(l).diff(i),n=o),Nr(i).isAfter(s)&&Nr(i).isBefore(l)&&(t=e[n].name)})),t},U,Y,c,h,d,w,I,function(){$=this.value,n(11,$)},function(e){P[e?"unshift":"push"]((()=>{i=e,n(15,i)}))},()=>Y(),()=>U(),function(e){P[e?"unshift":"push"]((()=>{a=e,n(13,a)}))}]}function Mi(e,t){At(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,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"},"pt-br":{categories:"Categorias",providers:"Provedores"},"es-mx":{categories:"Categorias",providers:"Proveedores"}};function Di(e,t){At(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"},"pt-br":{topCategories:"Categorias Principais",otherCategories:"Outras Categorias",Loading:"Carregando, por favor espere...",games:"jogos"},"es-mx":{topCategories:"Categorias Principales",otherCategories:"Otras Categorias",Loading:"Cargando, por favor espere...",games:"juegos"}};
|
|
1349
|
-
/* ../casino-categories/src/CasinoCategories.svelte generated by Svelte v3.59.2 */function
|
|
1343
|
+
A("SearchInitialized","SearchWidget")},A=(e,t)=>{"function"==typeof gtag&>ag("event",e,{context:t})},N=(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,E=[]),n(16,O=!1),j(O)},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,p=e.clientstyling),"clientstylingurl"in e&&n(3,m=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",Ar(C)),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,E=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]&&p&&a&&(()=>{let e=document.createElement("style");e.innerHTML=p,a.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/8200&e.$$.dirty[0]&&m&&a&&(()=>{let e=new URL(m),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{a.appendChild(t)}),1)}))})()},[l,f,p,m,g,y,v,b,_,x,S,$,G,a,E,i,O,M,o,s,r,C,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);Nr(l).diff(i)<r&&(r=Nr(l).diff(i),n=o),Nr(i).isAfter(s)&&Nr(i).isBefore(l)&&(t=e[n].name)})),t},U,Y,c,h,d,w,I,function(){$=this.value,n(11,$)},function(e){P[e?"unshift":"push"]((()=>{i=e,n(15,i)}))},()=>Y(),()=>U(),function(e){P[e?"unshift":"push"]((()=>{a=e,n(13,a)}))}]}function Pi(e,t){At(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},Gi,$i,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 Oi={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"},"pt-br":{categories:"Categorias",providers:"Provedores"},"es-mx":{categories:"Categorias",providers:"Proveedores"}};function Mi(e,t){At(e,t)}const Ii={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"},"pt-br":{topCategories:"Categorias Principais",otherCategories:"Outras Categorias",Loading:"Carregando, por favor espere...",games:"jogos"},"es-mx":{topCategories:"Categorias Principales",otherCategories:"Otras Categorias",Loading:"Cargando, por favor espere...",games:"juegos"}};
|
|
1344
|
+
/* ../casino-categories/src/CasinoCategories.svelte generated by Svelte v3.59.2 */function Di(e,t,n){const r=e.slice();return r[24]=t[n],r}function Fi(e,t,n){const r=e.slice();return r[24]=t[n],r}
|
|
1350
1345
|
// (80:2) {:else}
|
|
1351
|
-
function
|
|
1346
|
+
function Ri(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]=Ni(Fi(e,g,t));let w=/*otherCategories*/e[4],x=[];for(let t=0;t<w.length;t+=1)x[t]=Hi(Di(e,w,t));return{c(){t=m("div"),n=m("h4"),r=y(c),i=v();for(let e=0;e<b.length;e+=1)b[e].c();a=v(),o=m("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=Fi(e,g,r);b[r]?b[r].p(i,n):(b[r]=Ni(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=Di(e,w,r);x[r]?x[r].p(i,n):(x[r]=Hi(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),p(b,e),p(x,e)}}}
|
|
1352
1347
|
// (78:2) {#if isLoading}
|
|
1353
|
-
function
|
|
1348
|
+
function Ai(t){let n;return{c(){n=m("p"),n.textContent="Loading, please wait...",_(n,"class","Message")},m(e,t){d(e,n,t)},p:e,d(e){e&&f(n)}}}
|
|
1354
1349
|
// (83:4) {#each topCategories as category}
|
|
1355
|
-
function
|
|
1350
|
+
function Ni(e){let t,n,r,i,a,o,s,c,u,p,g,b,x,C,E,T,L=/*category*/e[24].name+"",$=/*category*/e[24].games.count+"",k=/*$_*/e[5]("games")+"";function G(){/*click_handler*/
|
|
1356
1351
|
return e[14](/*category*/e[24])}return{c(){t=m("div"),n=m("img"),a=v(),o=m("div"),s=m("p"),c=y(L),u=v(),p=m("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",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,p),h(p,g),h(p,b),h(p,x),E||(T=w(t,"click",G),E=!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&&C!==(C="Category "+(/*activecategory*/e[0]===/*category*/e[24].id?"Active":""))&&_(t,"class",C)},d(e){e&&f(t),E=!1,T()}}}
|
|
1357
1352
|
// (93:4) {#each otherCategories as category}
|
|
1358
|
-
function
|
|
1359
|
-
return e[15](/*category*/e[24])}return{c(){t=m("div"),n=m("img"),a=v(),o=m("div"),s=m("p"),c=y($),u=v(),p=m("p"),g=y(k),b=v(),x=y(G),C=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",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,p),h(p,g),h(p,b),h(p,x),h(t,C),T||(L=w(t,"click",P),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&&E!==(E="Category "+(/*activecategory*/e[0]===/*category*/e[24].id?"Active":""))&&_(t,"class",E)},d(e){e&&f(t),T=!1,L()}}}function
|
|
1360
|
-
return e[2]?
|
|
1353
|
+
function Hi(e){let t,n,r,i,a,o,s,c,u,p,g,b,x,C,E,T,L,$=/*category*/e[24].name+"",k=/*category*/e[24].games.count+"",G=/*$_*/e[5]("games")+"";function P(){/*click_handler_1*/
|
|
1354
|
+
return e[15](/*category*/e[24])}return{c(){t=m("div"),n=m("img"),a=v(),o=m("div"),s=m("p"),c=y($),u=v(),p=m("p"),g=y(k),b=v(),x=y(G),C=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",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,p),h(p,g),h(p,b),h(p,x),h(t,C),T||(L=w(t,"click",P),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&&E!==(E="Category "+(/*activecategory*/e[0]===/*category*/e[24].id?"Active":""))&&_(t,"class",E)},d(e){e&&f(t),T=!1,L()}}}function Bi(t){let n;function r(e,t){/*isLoading*/
|
|
1355
|
+
return e[2]?Ai:Ri}let i=r(t),a=i(t);return{c(){n=m("div"),a.c(),this.c=e},m(e,r){d(e,n,r),a.m(n,null),
|
|
1361
1356
|
/*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(),
|
|
1362
|
-
/*div_binding*/t[16](null)}}}function
|
|
1357
|
+
/*div_binding*/t[16](null)}}}function Ui(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,p=!1;const m=[];let g=[],y=[];Object.keys(Ii).forEach((e=>{Mi(e,Ii[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,p=!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,p=!1);const t=c.split(",").map((e=>e.trim()));m.push(...e.items);
|
|
1363
1358
|
// remove those items which have a flag matching the excluded flags
|
|
1364
|
-
const r=m.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=>{
|
|
1359
|
+
const r=m.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=>{Mi(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,p,g,y,r,v,a,o,s,c,h,d,f,e=>v(e.id),e=>v(e.id),function(e){P[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},Ui,Bi,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 Yi={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"},"pt-br":{popularProviders:"provedores populares",otherProviders:"Outros provedores",Loading:"Carregando",games:"jogos"},"es-mx":{popularProviders:"Proveedores Populares",otherProviders:"Otros proveedores",Loading:"Cargando, por favor espere...",games:"juegos"}};function ji(e,t){At(e,t)}
|
|
1365
1360
|
/* ../casino-providers/src/CasinoProviders.svelte generated by Svelte v3.59.2 */
|
|
1366
|
-
function
|
|
1361
|
+
function Wi(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}
|
|
1367
1362
|
// (78:4) {:else}
|
|
1368
|
-
function
|
|
1363
|
+
function Vi(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]=Ki(zi(e,g,t));let x=/*otherProviders*/e[2],C=[];for(let t=0;t<x.length;t+=1)C[t]=Xi(Wi(e,x,t));return{c(){t=m("h4"),n=y(c),r=v();for(let e=0;e<w.length;e+=1)w[e].c();i=v(),a=m("h4"),o=y(u),s=v();for(let e=0;e<C.length;e+=1)C[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<C.length;t+=1)C[t]&&C[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]=Ki(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=Wi(e,x,n);C[n]?C[n].p(r,t):(C[n]=Xi(r),C[n].c(),C[n].m(l.parentNode,l))}for(;n<C.length;n+=1)C[n].d(1);C.length=x.length}},d(e){e&&f(t),e&&f(r),p(w,e),e&&f(i),e&&f(a),e&&f(s),p(C,e),e&&f(l)}}}
|
|
1369
1364
|
// (76:4) {#if isLoading === true}
|
|
1370
|
-
function
|
|
1365
|
+
function Zi(e){let t,n,r=/*$_*/e[4]("loading")+"";return{c(){t=m("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)}}}
|
|
1371
1366
|
// (80:6) {#each topProviders as provider}
|
|
1372
|
-
function
|
|
1367
|
+
function Ki(e){let t,n,r,i,a,o,s,c,u,p,g,b,x,C,E,T=/*provider*/e[21].name+"",L=/*provider*/e[21].games.count+"",$=/*$_*/e[4]("games")+"";function k(){/*click_handler*/
|
|
1373
1368
|
return e[12](/*provider*/e[21])}return{c(){t=m("div"),n=m("img"),a=v(),o=m("div"),s=m("p"),c=y(T),u=v(),p=m("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,p),h(p,g),h(p,b),h(p,x),C||(E=w(t,"click",k),C=!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),C=!1,E()}}}
|
|
1374
1369
|
// (90:6) {#each otherProviders as provider}
|
|
1375
|
-
function
|
|
1376
|
-
return e[13](/*provider*/e[21])}return{c(){t=m("div"),n=m("img"),a=v(),o=m("div"),s=m("p"),c=y(L),u=v(),p=m("p"),g=y($),b=v(),x=y(k),C=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,p),h(p,g),h(p,b),h(p,x),h(t,C),E||(T=w(t,"click",G),E=!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),E=!1,T()}}}function
|
|
1377
|
-
return!0===e[3]?
|
|
1370
|
+
function Xi(e){let t,n,r,i,a,o,s,c,u,p,g,b,x,C,E,T,L=/*provider*/e[21].name+"",$=/*provider*/e[21].games.count+"",k=/*$_*/e[4]("games")+"";function G(){/*click_handler_1*/
|
|
1371
|
+
return e[13](/*provider*/e[21])}return{c(){t=m("div"),n=m("img"),a=v(),o=m("div"),s=m("p"),c=y(L),u=v(),p=m("p"),g=y($),b=v(),x=y(k),C=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,p),h(p,g),h(p,b),h(p,x),h(t,C),E||(T=w(t,"click",G),E=!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),E=!1,T()}}}function qi(t){let n;function r(e,t){/*isLoading*/
|
|
1372
|
+
return!0===e[3]?Zi:Vi}let i=r(t),a=i(t);return{c(){n=m("div"),a.c(),this.c=e,_(n,"class","CasinoProviders")},m(e,r){d(e,n,r),a.m(n,null),
|
|
1378
1373
|
/*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(),
|
|
1379
|
-
/*div_binding*/t[14](null)}}}function
|
|
1374
|
+
/*div_binding*/t[14](null)}}}function Ji(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=[],p=[],m=!1;Object.keys(Yi).forEach((e=>{ji(e,Yi[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,m=!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,m=!1),d=e.items.map((e=>e)),n(1,f=d.filter((e=>!0===e.isTopVendor))),n(2,p=d.filter((e=>!1===e.isTopVendor)));let t=[];t=d.flatMap((e=>e.subVendors)),p.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=>{ji(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,p,m,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){P[e?"unshift":"push"]((()=>{i=e,n(0,i)}))}]}
|
|
1380
1375
|
/* ../casino-categories-providers/src/CasinoCategoriesProviders.svelte generated by Svelte v3.59.2 */
|
|
1381
|
-
function
|
|
1376
|
+
function Qi(t){let n,i,a,o,s,l,c,u,p,g,b,C,E,T,L,$,k,G,P,O,M=/*$_*/t[11]("categories")+"",I=/*$_*/t[11]("providers")+"";return{c(){n=m("div"),i=m("div"),a=m("div"),o=m("button"),s=y(M),c=v(),u=m("button"),p=y(I),b=v(),C=m("div"),E=m("casino-categories"),L=v(),$=m("div"),k=m("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(E,"endpoint",/*endpointcategories*/t[0]),x(E,"datasource",/*datasourcecategories*/t[1]),x(E,"activecategory",/*activecategory*/t[2]),x(E,"excludedflags",/*excludedflags*/t[5]),x(E,"lang",/*lang*/t[6]),x(E,"clientstyling",/*clientstyling*/t[7]),x(E,"clientstylingurl",/*clientstylingurl*/t[8]),_(C,"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,p),h(i,b),h(i,C),h(C,E),h(i,L),h(i,$),h($,k),
|
|
1382
1377
|
/*div4_binding*/t[16](n),P||(O=[w(o,"click",/*click_handler*/t[14]),w(u,"click",/*click_handler_1*/t[15])],P=!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(p,I),/*activeTab*/1024&t&&g!==(g="HeaderButton "+(/*activeTab*/"providers"===e[10]?"Active":""))&&_(u,"class",g),/*endpointcategories*/1&t&&x(E,"endpoint",/*endpointcategories*/e[0]),/*datasourcecategories*/2&t&&x(E,"datasource",/*datasourcecategories*/e[1]),/*activecategory*/4&t&&x(E,"activecategory",/*activecategory*/e[2]),/*excludedflags*/32&t&&x(E,"excludedflags",/*excludedflags*/e[5]),/*lang*/64&t&&x(E,"lang",/*lang*/e[6]),/*clientstyling*/128&t&&x(E,"clientstyling",/*clientstyling*/e[7]),/*clientstylingurl*/256&t&&x(E,"clientstylingurl",/*clientstylingurl*/e[8]),/*activeTab*/1024&t&&T!==(T=/*activeTab*/"providers"===e[10]?"NotVisible":"")&&_(C,"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)
|
|
1383
|
-
/*div4_binding*/,t[16](null),P=!1,r(O)}}}function
|
|
1378
|
+
/*div4_binding*/,t[16](null),P=!1,r(O)}}}function ea(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:p=""}=t,{translationurl:m=""}=t,g="categories";Object.keys(Oi).forEach((e=>{Pi(e,Oi[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,p=e.clientstylingurl),"translationurl"in e&&n(13,m=e.translationurl)},e.$$.update=()=>{/*translationurl*/8192&e.$$.dirty&&m&&fetch(m).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Pi(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&&p&&i&&(()=>{let e=new URL(p),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,p,i,g,r,y,m,()=>y("categories"),()=>y("providers"),function(e){P[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},Ji,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()}});
|
|
1384
1379
|
/* src/CasinoNavigationSearch.svelte generated by Svelte v3.59.2 */
|
|
1385
|
-
function
|
|
1380
|
+
function ta(t){let n,r,i,a,o,s,l;return{c(){n=m("div"),r=m("div"),i=m("casino-search"),a=v(),o=m("div"),s=m("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),
|
|
1386
1381
|
/*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)
|
|
1387
|
-
/*div2_binding*/,t[17](null)}}}function
|
|
1382
|
+
/*div2_binding*/,t[17](null)}}}function na(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:p="en"}=t,{clientstyling:m=""}=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,p=e.lang),"clientstyling"in e&&n(10,m=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&&m&&i&&(()=>{let e=document.createElement("style");e.innerHTML=m,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,p,m,g,y,v,b,i,r,function(e){P[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},ea,Qi,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 ra 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},na,ta,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",ra),ra}));
|
|
1388
1383
|
//# sourceMappingURL=casino-navigation-search.js.map
|