@everymatrix/casino-lobby 1.61.0 → 1.61.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCalendar-CR3NqEmo.cjs → CasinoCalendar-BaQd3tuL.cjs} +6 -6
- package/components/{CasinoCalendar-DoAbSivX.js → CasinoCalendar-C4nbeq1g.js} +277 -271
- package/components/{CasinoCalendar-m598e8c0.js → CasinoCalendar-WuTw9Z8d.js} +277 -271
- package/components/{CasinoCalendarDailyDetails-DwcDf4x5.js → CasinoCalendarDailyDetails-BAGuydyF.js} +1 -1
- package/components/{CasinoCalendarDailyDetails-B-xYqIE0.js → CasinoCalendarDailyDetails-CHONyOB5.js} +1 -1
- package/components/{CasinoCalendarDailyDetails-ihh2Fdl-.cjs → CasinoCalendarDailyDetails-DrcJ9qsj.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-CVcykkiO.cjs → CasinoCalendarDailyItem-B3npUDyl.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-Jx2wAoY3.js → CasinoCalendarDailyItem-CPM6-0C8.js} +1 -1
- package/components/{CasinoCalendarDailyItem-DD1zORXJ.js → CasinoCalendarDailyItem-eOgZSp2O.js} +1 -1
- package/components/{CasinoCategoriesSlider-BqUXbvm-.cjs → CasinoCategoriesSlider-CWcGEpfR.cjs} +1 -1
- package/components/{CasinoCategoriesSlider-DW81y1el.js → CasinoCategoriesSlider-DgQayYzE.js} +11 -11
- package/components/{CasinoCategoriesSlider-DE0uzQfF.js → CasinoCategoriesSlider-DyNiM5Xn.js} +10 -10
- package/components/{CasinoCollectionsProviders-FTsSIZe7.js → CasinoCollectionsProviders-5PJh4coY.js} +1 -1
- package/components/{CasinoCollectionsProviders-tBs9i_s1.cjs → CasinoCollectionsProviders-BMFI1FD2.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-CkxoIQMQ.js → CasinoCollectionsProviders-DvICMch1.js} +1 -1
- package/components/{CasinoFavoritesSection-CKWkFYb4.js → CasinoFavoritesSection-BLswksE3.js} +2 -2
- package/components/{CasinoFavoritesSection-MnxoGd6P.js → CasinoFavoritesSection-D57jT5yq.js} +2 -2
- package/components/{CasinoFavoritesSection-CtF6Vrcg.cjs → CasinoFavoritesSection-DXEM7KtA.cjs} +1 -1
- package/components/{CasinoFilter-C_1U3dc9.cjs → CasinoFilter-B9G8cs2A.cjs} +1 -1
- package/components/{CasinoFilter-D80YfaXW.js → CasinoFilter-BH7-Laxf.js} +1 -1
- package/components/{CasinoFilter-Cs9ZMDdP.js → CasinoFilter-COinUQ6E.js} +1 -1
- package/components/{CasinoGamePage-CLMVY2d0.js → CasinoGamePage-D4oYftHp.js} +1 -1
- package/components/{CasinoGamePage-BhfZPeFB.cjs → CasinoGamePage-DhNoxzWb.cjs} +1 -1
- package/components/{CasinoGamePage-B8-ifO-z.js → CasinoGamePage-NTjXPK0_.js} +1 -1
- package/components/{CasinoGameThumbnail-D6vWUaB6.js → CasinoGameThumbnail-C_F6ViBB.js} +2 -2
- package/components/{CasinoGameThumbnail-p0ydxgWU.cjs → CasinoGameThumbnail-DWRrHNvN.cjs} +1 -1
- package/components/{CasinoGameThumbnail-C3GiNGVC.js → CasinoGameThumbnail-pajQYCwc.js} +2 -2
- package/components/CasinoGamesCategorySection-BXWd7Cck.cjs +1 -0
- package/components/{CasinoGamesCategorySection-o-CZJ4iD.js → CasinoGamesCategorySection-Br-ZBeEp.js} +1181 -1111
- package/components/{CasinoGamesCategorySection-CIfBLzjC.js → CasinoGamesCategorySection-DrL01BnG.js} +742 -673
- package/components/{CasinoJackpotBanner-C8HGJTlE.cjs → CasinoJackpotBanner-BoWCKFIJ.cjs} +1 -1
- package/components/{CasinoJackpotBanner-CdD_15mU.js → CasinoJackpotBanner-CG4fFV2M.js} +22 -22
- package/components/{CasinoJackpotBanner-B3ZF9rcH.js → CasinoJackpotBanner-Yo5HGzmD.js} +22 -22
- package/components/{CasinoLastPlayedSection-Dxbzb-4o.js → CasinoLastPlayedSection-BUIc0ZEt.js} +2 -2
- package/components/{CasinoLastPlayedSection-BKNOgkbn.cjs → CasinoLastPlayedSection-CFEzl7GR.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-BPD5poPp.js → CasinoLastPlayedSection-DjRKGJ8F.js} +2 -2
- package/components/{CasinoLobby-Bntp7e5i.js → CasinoLobby-CQVjJ22J.js} +277 -238
- package/components/CasinoLobby-DnBSVJ5P.cjs +1 -0
- package/components/{CasinoLobby-6kkVRa0v.js → CasinoLobby-L5w-S2-2.js} +277 -238
- package/components/{CasinoModal-CX70u0Ty.cjs → CasinoModal-CeEDc631.cjs} +1 -1
- package/components/{CasinoModal-QtSV_GhN.js → CasinoModal-Cx4skobD.js} +1 -1
- package/components/{CasinoModal-bTxbu9d4.js → CasinoModal-DrALs71O.js} +1 -1
- package/components/{CasinoMostPlayedSection-B9_yeLMk.js → CasinoMostPlayedSection-BrjuU2ad.js} +2 -2
- package/components/{CasinoMostPlayedSection-mgY7J84H.cjs → CasinoMostPlayedSection-D72Posxa.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-D-VpqDyh.js → CasinoMostPlayedSection-Dru8l_gX.js} +2 -2
- package/components/{CasinoMyGames-BEUz5puH.js → CasinoMyGames-Cc8aQUy5.js} +4 -4
- package/components/{CasinoMyGames-CoK6Wgxp.cjs → CasinoMyGames-DP5VtRtX.cjs} +1 -1
- package/components/{CasinoMyGames-BQtk1EEq.js → CasinoMyGames-Eco1Z13t.js} +4 -4
- package/components/{CasinoPage-DOSD686t.js → CasinoPage-BvKvwzQq.js} +1021 -879
- package/components/CasinoPage-DAptP7ZQ.cjs +1 -0
- package/components/{CasinoPage-CiONVvV8.js → CasinoPage-mARxTyiZ.js} +1000 -842
- package/components/{CasinoRandomGame-DQXmOLue.js → CasinoRandomGame-5kYiDYSm.js} +1 -1
- package/components/{CasinoRandomGame-CpRxEK7p.cjs → CasinoRandomGame-BJiVFaRb.cjs} +1 -1
- package/components/{CasinoRandomGame-C7o1QBcd.js → CasinoRandomGame-RYfnY5_c.js} +1 -1
- package/components/{CasinoSearch-DTglx2jN.js → CasinoSearch-CnWoNOtX.js} +4 -4
- package/components/{CasinoSearch-D8oEWBOH.cjs → CasinoSearch-D-hwTHcV.cjs} +1 -1
- package/components/{CasinoSearch-CTxffz7Z.js → CasinoSearch-Nqv4h_zq.js} +4 -4
- package/components/{CasinoSlider-BU163_5n.cjs → CasinoSlider-B3dV89iI.cjs} +1 -1
- package/components/{CasinoSlider-CGpDul3G.js → CasinoSlider-Cr-fAktO.js} +1 -1
- package/components/{CasinoSlider-pPfml1-U.js → CasinoSlider-D1JzP31y.js} +1 -1
- package/components/{CasinoSort-BVq-FyEW.cjs → CasinoSort-ByAjtAxn.cjs} +1 -1
- package/components/{CasinoSort-BSaxbC32.js → CasinoSort-D51DNHxk.js} +1 -1
- package/components/{CasinoSort-DGdM4QXv.js → CasinoSort-DXiP4dA5.js} +1 -1
- package/components/{CasinoWinners-BwwKfUuN.js → CasinoWinners-B1BXrca1.js} +2 -2
- package/components/{CasinoWinners-CtwqFnag.cjs → CasinoWinners-CEq9st2v.cjs} +1 -1
- package/components/{CasinoWinners-i5RqXY4N.js → CasinoWinners-pzI08CdT.js} +2 -2
- package/components/{GeneralAnimationLoading-BszAoL3H.js → GeneralAnimationLoading-CI4qqgO_.js} +1 -1
- package/components/{GeneralAnimationLoading-Xq-D41Fg.js → GeneralAnimationLoading-CIaY2Gvf.js} +1 -1
- package/components/{GeneralAnimationLoading-CDwioZhT.cjs → GeneralAnimationLoading-DiZmxxRF.cjs} +1 -1
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/components/CasinoGamesCategorySection-BfmPSDQ9.cjs +0 -1
- package/components/CasinoLobby-BfVpgZO6.cjs +0 -1
- package/components/CasinoPage-CO6a5Btu.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-CR3NqEmo.cjs");require("../stencil/ui-image-LuWVcxjH.cjs");function pe(n,t){e.addMessages(n,t)}function _e(n){e.$locale.set(n)}const ue={en:{loadingText:"Loading, please wait..."},"zh-hk":{loadingText:"加载请稍候 ..."},fr:{loadingText:"Chargement, veuillez patienter..."},ro:{loadingText:"Se incarca, va rugam asteptati..."},es:{loadingText:"Cargando"},pt:{loadingText:"Carregando, por favor espere..."},de:{loadingText:"Laden, bitte warten..."},hr:{loadingText:"Učitavanje"},"pt-br":{CarregandoText:"Carregando"},"es-mx":{CargandoText:"Cargando, por favor espere…"},tr:{loadingText:"Yükleniyor, lütfen bekleyin..."},"en-us":{loadingText:"Loading, please wait..."}};function he(n){e.append_styles(n,"svelte-hxpfl0",':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title ui-image img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title ui-image img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #D0046C);border-color:var(--emw--color-primary, #D0046C) transparent var(--emw--color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function me(n,t,l){const i=n.slice();return i[53]=t[l],i[55]=l,i}function ye(n){let t,l,i,s,o,r,b,y,g,v,f,x,j;function _(c,m){return c[6]?ke:Ce}let C=_(n),d=C(n);return{c(){t=e.element("div"),l=e.element("div"),i=e.element("div"),s=e.element("div"),o=e.space(),r=e.element("div"),d.c(),b=e.space(),y=e.element("div"),g=e.element("ui-image"),e.attr(s,"class","vendorLogo"),e.set_style(s,"background-image","url("+n[7]+")"),e.attr(r,"class","displayContainer"),e.src_url_equal(g.src,v=n[12])||e.set_custom_element_data(g,"src",v),e.set_custom_element_data(g,"alt",""),e.attr(y,"class","title"),e.attr(i,"class",f="mainWrapper "+n[0]+" "+(n[5]&&!n[6]?"mobile":n[6]?"tablet":"")),e.set_style(i,"background","url("+n[11]+")"),e.attr(l,"class","jackpotBanner"),e.attr(t,"class","")},m(c,m){e.insert(c,t,m),e.append(t,l),e.append(l,i),e.append(i,s),e.append(i,o),e.append(i,r),d.m(r,null),e.append(i,b),e.append(i,y),e.append(y,g),x||(j=e.listen(l,"click",n[33]),x=!0)},p(c,m){m[0]&128&&e.set_style(s,"background-image","url("+c[7]+")"),C===(C=_(c))&&d?d.p(c,m):(d.d(1),d=C(c),d&&(d.c(),d.m(r,null))),m[0]&4096&&!e.src_url_equal(g.src,v=c[12])&&e.set_custom_element_data(g,"src",v),m[0]&97&&f!==(f="mainWrapper "+c[0]+" "+(c[5]&&!c[6]?"mobile":c[6]?"tablet":""))&&e.attr(i,"class",f),m[0]&2048&&e.set_style(i,"background","url("+c[11]+")")},d(c){c&&e.detach(t),d.d(),x=!1,j()}}}function be(n){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(l,i){e.insert(l,t,i)},p:e.noop,d(l){l&&e.detach(t)}}}function ve(n){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(l,i){e.insert(l,t,i)},p:e.noop,d(l){l&&e.detach(t)}}}function ke(n){let t,l,i,s,o,r,b=n[9][0]+"",y,g,v,f=(n[2]==="true"?n[14][0]:n[8][0])+"",x,j,_,C,d,c,m,w,J,E,F=n[9][1]+"",B,W,M,U=(n[2]==="true"?n[14][1]:n[8][1])+"",N,te,P,G,Y,A,L,I,S,R,T,z=n[9][2]+"",ae,V,K,Q=(n[2]==="true"?n[14][2]:n[8][2])+"",ne,se,X,Z,re,D,O,q,H,$,ee=n[9][3]+"",le,a,p,k=(n[2]==="true"?n[14][3]:n[8][3])+"",ie,de,ce,oe;return{c(){t=e.element("div"),l=e.element("div"),i=e.element("div"),s=e.element("ui-image"),r=e.element("span"),y=e.text(b),g=e.element("span"),v=e.element("span"),x=e.text(f),j=e.space(),_=e.element("span"),C=e.text(n[1]),d=e.space(),c=e.element("div"),m=e.element("div"),w=e.element("ui-image"),E=e.element("span"),B=e.text(F),W=e.element("span"),M=e.element("span"),N=e.text(U),te=e.space(),P=e.element("span"),G=e.text(n[1]),Y=e.space(),A=e.element("div"),L=e.element("div"),I=e.element("div"),S=e.element("ui-image"),T=e.element("span"),ae=e.text(z),V=e.element("span"),K=e.element("span"),ne=e.text(Q),se=e.space(),X=e.element("span"),Z=e.text(n[1]),re=e.space(),D=e.element("div"),O=e.element("div"),q=e.element("ui-image"),$=e.element("span"),le=e.text(ee),a=e.element("span"),p=e.element("span"),ie=e.text(k),de=e.space(),ce=e.element("span"),oe=e.text(n[1]),e.set_custom_element_data(s,"imgClass","displayCardIcon"),e.src_url_equal(s.src,o=n[10][0])||e.set_custom_element_data(s,"src",o),e.set_custom_element_data(s,"alt",""),e.attr(r,"class","cardLabel"),e.attr(i,"class","iconWrapper"),e.attr(v,"class","jackpotValue"),e.attr(_,"class","jackpot-currency"),e.attr(g,"class","cardTextWrapper"),e.attr(l,"class","displayCard"),e.set_custom_element_data(w,"imgClass","displayCardIcon"),e.src_url_equal(w.src,J=n[10][1])||e.set_custom_element_data(w,"src",J),e.set_custom_element_data(w,"alt",""),e.attr(E,"class","cardLabel"),e.attr(m,"class","iconWrapper"),e.attr(M,"class","jackpotValue"),e.attr(P,"class","jackpot-currency"),e.attr(W,"class","cardTextWrapper"),e.attr(c,"class","displayCard"),e.attr(t,"class","pairWrapper"),e.set_custom_element_data(S,"imgClass","displayCardIcon"),e.src_url_equal(S.src,R=n[10][2])||e.set_custom_element_data(S,"src",R),e.set_custom_element_data(S,"alt",""),e.attr(T,"class","cardLabel"),e.attr(I,"class","iconWrapper"),e.attr(K,"class","jackpotValue"),e.attr(X,"class","jackpot-currency"),e.attr(V,"class","cardTextWrapper"),e.attr(L,"class","displayCard"),e.set_custom_element_data(q,"imgClass","displayCardIcon"),e.src_url_equal(q.src,H=n[10][3])||e.set_custom_element_data(q,"src",H),e.set_custom_element_data(q,"alt",""),e.attr($,"class","cardLabel"),e.attr(O,"class","iconWrapper"),e.attr(p,"class","jackpotValue"),e.attr(ce,"class","jackpot-currency"),e.attr(a,"class","cardTextWrapper"),e.attr(D,"class","displayCard"),e.attr(A,"class","pairWrapper")},m(u,h){e.insert(u,t,h),e.append(t,l),e.append(l,i),e.append(i,s),e.append(i,r),e.append(r,y),e.append(l,g),e.append(g,v),e.append(v,x),e.append(g,j),e.append(g,_),e.append(_,C),e.append(t,d),e.append(t,c),e.append(c,m),e.append(m,w),e.append(m,E),e.append(E,B),e.append(c,W),e.append(W,M),e.append(M,N),e.append(W,te),e.append(W,P),e.append(P,G),e.insert(u,Y,h),e.insert(u,A,h),e.append(A,L),e.append(L,I),e.append(I,S),e.append(I,T),e.append(T,ae),e.append(L,V),e.append(V,K),e.append(K,ne),e.append(V,se),e.append(V,X),e.append(X,Z),e.append(A,re),e.append(A,D),e.append(D,O),e.append(O,q),e.append(O,$),e.append($,le),e.append(D,a),e.append(a,p),e.append(p,ie),e.append(a,de),e.append(a,ce),e.append(ce,oe)},p(u,h){h[0]&1024&&!e.src_url_equal(s.src,o=u[10][0])&&e.set_custom_element_data(s,"src",o),h[0]&512&&b!==(b=u[9][0]+"")&&e.set_data(y,b),h[0]&16644&&f!==(f=(u[2]==="true"?u[14][0]:u[8][0])+"")&&e.set_data(x,f),h[0]&2&&e.set_data(C,u[1]),h[0]&1024&&!e.src_url_equal(w.src,J=u[10][1])&&e.set_custom_element_data(w,"src",J),h[0]&512&&F!==(F=u[9][1]+"")&&e.set_data(B,F),h[0]&16644&&U!==(U=(u[2]==="true"?u[14][1]:u[8][1])+"")&&e.set_data(N,U),h[0]&2&&e.set_data(G,u[1]),h[0]&1024&&!e.src_url_equal(S.src,R=u[10][2])&&e.set_custom_element_data(S,"src",R),h[0]&512&&z!==(z=u[9][2]+"")&&e.set_data(ae,z),h[0]&16644&&Q!==(Q=(u[2]==="true"?u[14][2]:u[8][2])+"")&&e.set_data(ne,Q),h[0]&2&&e.set_data(Z,u[1]),h[0]&1024&&!e.src_url_equal(q.src,H=u[10][3])&&e.set_custom_element_data(q,"src",H),h[0]&512&&ee!==(ee=u[9][3]+"")&&e.set_data(le,ee),h[0]&16644&&k!==(k=(u[2]==="true"?u[14][3]:u[8][3])+"")&&e.set_data(ie,k),h[0]&2&&e.set_data(oe,u[1])},d(u){u&&(e.detach(t),e.detach(Y),e.detach(A))}}}function Ce(n){let t,l=e.ensure_array_like(Array(4)),i=[];for(let s=0;s<l.length;s+=1)i[s]=ge(me(n,l,s));return{c(){for(let s=0;s<i.length;s+=1)i[s].c();t=e.empty()},m(s,o){for(let r=0;r<i.length;r+=1)i[r]&&i[r].m(s,o);e.insert(s,t,o)},p(s,o){if(o[0]&18182){l=e.ensure_array_like(Array(4));let r;for(r=0;r<l.length;r+=1){const b=me(s,l,r);i[r]?i[r].p(b,o):(i[r]=ge(b),i[r].c(),i[r].m(t.parentNode,t))}for(;r<i.length;r+=1)i[r].d(1);i.length=l.length}},d(s){s&&e.detach(t),e.destroy_each(i,s)}}}function ge(n){var C;let t,l,i,s,o,r=n[9][n[55]]+"",b,y,g,v=(n[2]==="true"?n[14][n[55]]:(C=n[8][n[55]])!=null?C:"")+"",f,x,j,_;return{c(){t=e.element("div"),l=e.element("div"),i=e.element("ui-image"),o=e.element("span"),b=e.text(r),y=e.element("span"),g=e.element("span"),f=e.text(v),x=e.space(),j=e.element("span"),_=e.text(n[1]),e.set_custom_element_data(i,"imgClass","displayCardIcon"),e.src_url_equal(i.src,s=n[10][n[55]])||e.set_custom_element_data(i,"src",s),e.set_custom_element_data(i,"alt",""),e.attr(o,"class","cardLabel"),e.attr(l,"class","iconWrapper"),e.attr(g,"class","jackpotValue"),e.attr(j,"class","jackpot-currency"),e.attr(y,"class","cardTextWrapper"),e.attr(t,"class","displayCard")},m(d,c){e.insert(d,t,c),e.append(t,l),e.append(l,i),e.append(l,o),e.append(o,b),e.append(t,y),e.append(y,g),e.append(g,f),e.append(y,x),e.append(y,j),e.append(j,_)},p(d,c){var m;c[0]&1024&&!e.src_url_equal(i.src,s=d[10][d[55]])&&e.set_custom_element_data(i,"src",s),c[0]&512&&r!==(r=d[9][d[55]]+"")&&e.set_data(b,r),c[0]&16644&&v!==(v=(d[2]==="true"?d[14][d[55]]:(m=d[8][d[55]])!=null?m:"")+"")&&e.set_data(f,v),c[0]&2&&e.set_data(_,d[1])},d(d){d&&e.detach(t)}}}function we(n){let t;function l(o,r){return o[13]?ve:o[4]?be:ye}let i=l(n),s=i(n);return{c(){t=e.element("div"),s.c()},m(o,r){e.insert(o,t,r),s.m(t,null),n[34](t)},p(o,r){i===(i=l(o))&&s?s.p(o,r):(s.d(1),s=i(o),s&&(s.c(),s.m(t,null)))},i:e.noop,o:e.noop,d(o){o&&e.detach(t),s.d(),n[34](null)}}}function Le(n,t,l){let{visualstructure:i=""}=t,{title:s=""}=t,{caticon0:o=""}=t,{caticon1:r=""}=t,{caticon2:b=""}=t,{caticon3:y=""}=t,{iconlabels:g=""}=t,{backgroundsrc:v=""}=t,{currency:f=""}=t,{backgroundsrcmobile:x=""}=t,{titlelogopath:j=""}=t,{lang:_="en"}=t,{clientstyling:C=""}=t,{clientstylingurl:d=""}=t,{translationurl:c=""}=t,{endpoint:m=""}=t,{gameid:w=""}=t,{mbsource:J}=t,{realtimeupdate:E="false"}=t,F=window.navigator.userAgent,B=!1,W=!1,M="",U=[],N=[],te=[],P=[],G=[],Y="",A="",L,I=!0,S=!1,R,T=null,z=[];const ae=()=>{fetch(c).then(p=>p.json()).then(p=>{Object.keys(p).forEach(k=>{pe(k,p[k])})}).catch(p=>{console.log(p)})};Object.keys(ue).forEach(a=>{pe(a,ue[a])});const V=["typeSpread","typeLeft"],K=a=>{var k;const p=(k=a==null?void 0:a.items[0])==null?void 0:k.additionalData;p&&Object.values(p).forEach(ie=>U.push(+ie))},Q=a=>{var p;l(7,M=((p=a==null?void 0:a.items[0])==null?void 0:p.vendorLogo)||"")},ne=()=>{if(m&&_&&f){let a=new URL(`${m}/v1/casino/jackpots`);a.searchParams.append("filter",`id=${w}`),a.searchParams.append("language",_),a.searchParams.append("additionalDataCurrency",f),fetch(a.href).then(p=>p.json().then(k=>{l(4,I=!1),R=k,N.includes(w)&&(K(R),Q(R))}).catch(k=>{l(13,S=!0),l(4,I=!1),console.error(k)}).finally(()=>{se()}))}},se=()=>{const a=L.getRootNode().host;a.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:a}}))},X=()=>{let a=new URL(`${m}/v1/casino/jackpots/config`);fetch(a.href).then(p=>p.json()).then(p=>{l(32,N=p.egtJackpotIds.map(k=>k))})},Z=()=>{l(5,B=e.isMobile(F)&&window.innerHeight/window.innerWidth>1),l(6,W=D()),U.length!==0&&l(8,te=re(U)),l(9,P=g?g.split(",").map(a=>a.trim().toUpperCase()):new Array(4).fill("")),V.includes(i.trim())?l(0,i=i.trim()):(console.warn(`Invalid Attribute Value: "${i}" is not a valid value for the "visualstructure" attribute. Defaulting to "${V[0]}"`),l(0,i=V[0])),l(11,Y=x&&B&&!W?x:v),l(12,A=j),l(10,G=[o,r,b,y])},re=a=>a.map(p=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(p)),D=()=>{const a=window.innerHeight/window.innerWidth;return .75<a&&a<1.6},O=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:w},window.location.href),typeof gtag=="function"&>ag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:`${w}`})},q=()=>{_e(_)},H=a=>{const p=JSON.parse(a.data);if(p.success&&p.data.messageType==="UpdateEgtJackpotBalance"&&p.data.jackpotAlias.split("_")[0]===w){const k=Number(p.data.jackpotAlias.split("_")[1])-1;l(14,z[k]=p.data.data[`${f}`].balance.toString(),z)}},$=()=>{E==="true"&&(Z(),l(14,z=["","","",""]),T=new EventSource(`${m}/v1/encoder/jackpot/*/update`),T.addEventListener("message",H))};e.onMount(()=>()=>{}),e.onDestroy(()=>{T&&(T.removeEventListener("message",H),T.close(),T=null)});const ee=()=>O();function le(a){e.binding_callbacks[a?"unshift":"push"](()=>{L=a,l(3,L)})}return n.$$set=a=>{"visualstructure"in a&&l(0,i=a.visualstructure),"title"in a&&l(16,s=a.title),"caticon0"in a&&l(17,o=a.caticon0),"caticon1"in a&&l(18,r=a.caticon1),"caticon2"in a&&l(19,b=a.caticon2),"caticon3"in a&&l(20,y=a.caticon3),"iconlabels"in a&&l(21,g=a.iconlabels),"backgroundsrc"in a&&l(22,v=a.backgroundsrc),"currency"in a&&l(1,f=a.currency),"backgroundsrcmobile"in a&&l(23,x=a.backgroundsrcmobile),"titlelogopath"in a&&l(24,j=a.titlelogopath),"lang"in a&&l(25,_=a.lang),"clientstyling"in a&&l(26,C=a.clientstyling),"clientstylingurl"in a&&l(27,d=a.clientstylingurl),"translationurl"in a&&l(28,c=a.translationurl),"endpoint"in a&&l(29,m=a.endpoint),"gameid"in a&&l(30,w=a.gameid),"mbsource"in a&&l(31,J=a.mbsource),"realtimeupdate"in a&&l(2,E=a.realtimeupdate)},n.$$.update=()=>{n.$$.dirty[0]&536870912&&m&&X(),n.$$.dirty[0]&67108872&&C&&L&&e.setClientStyling(L,C),n.$$.dirty[0]&134217736&&d&&L&&e.setClientStylingURL(L,d),n.$$.dirty[0]&8|n.$$.dirty[1]&1&&J&&L&&e.setStreamStyling(L,`${J}.Style`),n.$$.dirty[0]&570425346|n.$$.dirty[1]&2&&m&&_&&f&&N.length>0&&ne(),n.$$.dirty[0]&33554450&&f&&_&&!I&&Z(),n.$$.dirty[0]&33554432&&_&&q(),n.$$.dirty[0]&268435456&&c&&ae(),n.$$.dirty[0]&4&&E&&$()},[i,f,E,L,I,B,W,M,te,P,G,Y,A,S,z,O,s,o,r,b,y,g,v,x,j,_,C,d,c,m,w,J,N,ee,le]}class fe extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Le,we,e.safe_not_equal,{visualstructure:0,title:16,caticon0:17,caticon1:18,caticon2:19,caticon3:20,iconlabels:21,backgroundsrc:22,currency:1,backgroundsrcmobile:23,titlelogopath:24,lang:25,clientstyling:26,clientstylingurl:27,translationurl:28,endpoint:29,gameid:30,mbsource:31,realtimeupdate:2},he,[-1,-1])}get visualstructure(){return this.$$.ctx[0]}set visualstructure(t){this.$$set({visualstructure:t}),e.flush()}get title(){return this.$$.ctx[16]}set title(t){this.$$set({title:t}),e.flush()}get caticon0(){return this.$$.ctx[17]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[18]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[19]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[20]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get iconlabels(){return this.$$.ctx[21]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[22]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get currency(){return this.$$.ctx[1]}set currency(t){this.$$set({currency:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[23]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[24]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get lang(){return this.$$.ctx[25]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[28]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get endpoint(){return this.$$.ctx[29]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get gameid(){return this.$$.ctx[30]}set gameid(t){this.$$set({gameid:t}),e.flush()}get mbsource(){return this.$$.ctx[31]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get realtimeupdate(){return this.$$.ctx[2]}set realtimeupdate(t){this.$$set({realtimeupdate:t}),e.flush()}}e.create_custom_element(fe,{visualstructure:{},title:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},iconlabels:{},backgroundsrc:{},currency:{},backgroundsrcmobile:{},titlelogopath:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},endpoint:{},gameid:{},mbsource:{},realtimeupdate:{}},[],[],!0);exports.default=fe;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-BaQd3tuL.cjs");require("../stencil/ui-image-LuWVcxjH.cjs");function pe(n,t){e.addMessages(n,t)}function _e(n){e.$locale.set(n)}const ue={en:{loadingText:"Loading, please wait..."},"zh-hk":{loadingText:"加载请稍候 ..."},fr:{loadingText:"Chargement, veuillez patienter..."},ro:{loadingText:"Se incarca, va rugam asteptati..."},es:{loadingText:"Cargando"},pt:{loadingText:"Carregando, por favor espere..."},de:{loadingText:"Laden, bitte warten..."},hr:{loadingText:"Učitavanje"},"pt-br":{CarregandoText:"Carregando"},"es-mx":{CargandoText:"Cargando, por favor espere…"},tr:{loadingText:"Yükleniyor, lütfen bekleyin..."},"en-us":{loadingText:"Loading, please wait..."}};function he(n){e.append_styles(n,"svelte-hxpfl0",':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title ui-image img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title ui-image img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #D0046C);border-color:var(--emw--color-primary, #D0046C) transparent var(--emw--color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function me(n,t,l){const i=n.slice();return i[53]=t[l],i[55]=l,i}function ye(n){let t,l,i,s,o,r,b,y,g,v,f,x,j;function _(c,m){return c[6]?ke:Ce}let C=_(n),d=C(n);return{c(){t=e.element("div"),l=e.element("div"),i=e.element("div"),s=e.element("div"),o=e.space(),r=e.element("div"),d.c(),b=e.space(),y=e.element("div"),g=e.element("ui-image"),e.attr(s,"class","vendorLogo"),e.set_style(s,"background-image","url("+n[7]+")"),e.attr(r,"class","displayContainer"),e.src_url_equal(g.src,v=n[12])||e.set_custom_element_data(g,"src",v),e.set_custom_element_data(g,"alt",""),e.attr(y,"class","title"),e.attr(i,"class",f="mainWrapper "+n[0]+" "+(n[5]&&!n[6]?"mobile":n[6]?"tablet":"")),e.set_style(i,"background","url("+n[11]+")"),e.attr(l,"class","jackpotBanner"),e.attr(t,"class","")},m(c,m){e.insert(c,t,m),e.append(t,l),e.append(l,i),e.append(i,s),e.append(i,o),e.append(i,r),d.m(r,null),e.append(i,b),e.append(i,y),e.append(y,g),x||(j=e.listen(l,"click",n[33]),x=!0)},p(c,m){m[0]&128&&e.set_style(s,"background-image","url("+c[7]+")"),C===(C=_(c))&&d?d.p(c,m):(d.d(1),d=C(c),d&&(d.c(),d.m(r,null))),m[0]&4096&&!e.src_url_equal(g.src,v=c[12])&&e.set_custom_element_data(g,"src",v),m[0]&97&&f!==(f="mainWrapper "+c[0]+" "+(c[5]&&!c[6]?"mobile":c[6]?"tablet":""))&&e.attr(i,"class",f),m[0]&2048&&e.set_style(i,"background","url("+c[11]+")")},d(c){c&&e.detach(t),d.d(),x=!1,j()}}}function be(n){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(l,i){e.insert(l,t,i)},p:e.noop,d(l){l&&e.detach(t)}}}function ve(n){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(l,i){e.insert(l,t,i)},p:e.noop,d(l){l&&e.detach(t)}}}function ke(n){let t,l,i,s,o,r,b=n[9][0]+"",y,g,v,f=(n[2]==="true"?n[14][0]:n[8][0])+"",x,j,_,C,d,c,m,w,J,E,F=n[9][1]+"",B,W,M,U=(n[2]==="true"?n[14][1]:n[8][1])+"",N,te,P,G,Y,A,L,I,S,R,T,z=n[9][2]+"",ae,V,K,Q=(n[2]==="true"?n[14][2]:n[8][2])+"",ne,se,X,Z,re,D,O,q,H,$,ee=n[9][3]+"",le,a,p,k=(n[2]==="true"?n[14][3]:n[8][3])+"",ie,de,ce,oe;return{c(){t=e.element("div"),l=e.element("div"),i=e.element("div"),s=e.element("ui-image"),r=e.element("span"),y=e.text(b),g=e.element("span"),v=e.element("span"),x=e.text(f),j=e.space(),_=e.element("span"),C=e.text(n[1]),d=e.space(),c=e.element("div"),m=e.element("div"),w=e.element("ui-image"),E=e.element("span"),B=e.text(F),W=e.element("span"),M=e.element("span"),N=e.text(U),te=e.space(),P=e.element("span"),G=e.text(n[1]),Y=e.space(),A=e.element("div"),L=e.element("div"),I=e.element("div"),S=e.element("ui-image"),T=e.element("span"),ae=e.text(z),V=e.element("span"),K=e.element("span"),ne=e.text(Q),se=e.space(),X=e.element("span"),Z=e.text(n[1]),re=e.space(),D=e.element("div"),O=e.element("div"),q=e.element("ui-image"),$=e.element("span"),le=e.text(ee),a=e.element("span"),p=e.element("span"),ie=e.text(k),de=e.space(),ce=e.element("span"),oe=e.text(n[1]),e.set_custom_element_data(s,"imgClass","displayCardIcon"),e.src_url_equal(s.src,o=n[10][0])||e.set_custom_element_data(s,"src",o),e.set_custom_element_data(s,"alt",""),e.attr(r,"class","cardLabel"),e.attr(i,"class","iconWrapper"),e.attr(v,"class","jackpotValue"),e.attr(_,"class","jackpot-currency"),e.attr(g,"class","cardTextWrapper"),e.attr(l,"class","displayCard"),e.set_custom_element_data(w,"imgClass","displayCardIcon"),e.src_url_equal(w.src,J=n[10][1])||e.set_custom_element_data(w,"src",J),e.set_custom_element_data(w,"alt",""),e.attr(E,"class","cardLabel"),e.attr(m,"class","iconWrapper"),e.attr(M,"class","jackpotValue"),e.attr(P,"class","jackpot-currency"),e.attr(W,"class","cardTextWrapper"),e.attr(c,"class","displayCard"),e.attr(t,"class","pairWrapper"),e.set_custom_element_data(S,"imgClass","displayCardIcon"),e.src_url_equal(S.src,R=n[10][2])||e.set_custom_element_data(S,"src",R),e.set_custom_element_data(S,"alt",""),e.attr(T,"class","cardLabel"),e.attr(I,"class","iconWrapper"),e.attr(K,"class","jackpotValue"),e.attr(X,"class","jackpot-currency"),e.attr(V,"class","cardTextWrapper"),e.attr(L,"class","displayCard"),e.set_custom_element_data(q,"imgClass","displayCardIcon"),e.src_url_equal(q.src,H=n[10][3])||e.set_custom_element_data(q,"src",H),e.set_custom_element_data(q,"alt",""),e.attr($,"class","cardLabel"),e.attr(O,"class","iconWrapper"),e.attr(p,"class","jackpotValue"),e.attr(ce,"class","jackpot-currency"),e.attr(a,"class","cardTextWrapper"),e.attr(D,"class","displayCard"),e.attr(A,"class","pairWrapper")},m(u,h){e.insert(u,t,h),e.append(t,l),e.append(l,i),e.append(i,s),e.append(i,r),e.append(r,y),e.append(l,g),e.append(g,v),e.append(v,x),e.append(g,j),e.append(g,_),e.append(_,C),e.append(t,d),e.append(t,c),e.append(c,m),e.append(m,w),e.append(m,E),e.append(E,B),e.append(c,W),e.append(W,M),e.append(M,N),e.append(W,te),e.append(W,P),e.append(P,G),e.insert(u,Y,h),e.insert(u,A,h),e.append(A,L),e.append(L,I),e.append(I,S),e.append(I,T),e.append(T,ae),e.append(L,V),e.append(V,K),e.append(K,ne),e.append(V,se),e.append(V,X),e.append(X,Z),e.append(A,re),e.append(A,D),e.append(D,O),e.append(O,q),e.append(O,$),e.append($,le),e.append(D,a),e.append(a,p),e.append(p,ie),e.append(a,de),e.append(a,ce),e.append(ce,oe)},p(u,h){h[0]&1024&&!e.src_url_equal(s.src,o=u[10][0])&&e.set_custom_element_data(s,"src",o),h[0]&512&&b!==(b=u[9][0]+"")&&e.set_data(y,b),h[0]&16644&&f!==(f=(u[2]==="true"?u[14][0]:u[8][0])+"")&&e.set_data(x,f),h[0]&2&&e.set_data(C,u[1]),h[0]&1024&&!e.src_url_equal(w.src,J=u[10][1])&&e.set_custom_element_data(w,"src",J),h[0]&512&&F!==(F=u[9][1]+"")&&e.set_data(B,F),h[0]&16644&&U!==(U=(u[2]==="true"?u[14][1]:u[8][1])+"")&&e.set_data(N,U),h[0]&2&&e.set_data(G,u[1]),h[0]&1024&&!e.src_url_equal(S.src,R=u[10][2])&&e.set_custom_element_data(S,"src",R),h[0]&512&&z!==(z=u[9][2]+"")&&e.set_data(ae,z),h[0]&16644&&Q!==(Q=(u[2]==="true"?u[14][2]:u[8][2])+"")&&e.set_data(ne,Q),h[0]&2&&e.set_data(Z,u[1]),h[0]&1024&&!e.src_url_equal(q.src,H=u[10][3])&&e.set_custom_element_data(q,"src",H),h[0]&512&&ee!==(ee=u[9][3]+"")&&e.set_data(le,ee),h[0]&16644&&k!==(k=(u[2]==="true"?u[14][3]:u[8][3])+"")&&e.set_data(ie,k),h[0]&2&&e.set_data(oe,u[1])},d(u){u&&(e.detach(t),e.detach(Y),e.detach(A))}}}function Ce(n){let t,l=e.ensure_array_like(Array(4)),i=[];for(let s=0;s<l.length;s+=1)i[s]=ge(me(n,l,s));return{c(){for(let s=0;s<i.length;s+=1)i[s].c();t=e.empty()},m(s,o){for(let r=0;r<i.length;r+=1)i[r]&&i[r].m(s,o);e.insert(s,t,o)},p(s,o){if(o[0]&18182){l=e.ensure_array_like(Array(4));let r;for(r=0;r<l.length;r+=1){const b=me(s,l,r);i[r]?i[r].p(b,o):(i[r]=ge(b),i[r].c(),i[r].m(t.parentNode,t))}for(;r<i.length;r+=1)i[r].d(1);i.length=l.length}},d(s){s&&e.detach(t),e.destroy_each(i,s)}}}function ge(n){var C;let t,l,i,s,o,r=n[9][n[55]]+"",b,y,g,v=(n[2]==="true"?n[14][n[55]]:(C=n[8][n[55]])!=null?C:"")+"",f,x,j,_;return{c(){t=e.element("div"),l=e.element("div"),i=e.element("ui-image"),o=e.element("span"),b=e.text(r),y=e.element("span"),g=e.element("span"),f=e.text(v),x=e.space(),j=e.element("span"),_=e.text(n[1]),e.set_custom_element_data(i,"imgClass","displayCardIcon"),e.src_url_equal(i.src,s=n[10][n[55]])||e.set_custom_element_data(i,"src",s),e.set_custom_element_data(i,"alt",""),e.attr(o,"class","cardLabel"),e.attr(l,"class","iconWrapper"),e.attr(g,"class","jackpotValue"),e.attr(j,"class","jackpot-currency"),e.attr(y,"class","cardTextWrapper"),e.attr(t,"class","displayCard")},m(d,c){e.insert(d,t,c),e.append(t,l),e.append(l,i),e.append(l,o),e.append(o,b),e.append(t,y),e.append(y,g),e.append(g,f),e.append(y,x),e.append(y,j),e.append(j,_)},p(d,c){var m;c[0]&1024&&!e.src_url_equal(i.src,s=d[10][d[55]])&&e.set_custom_element_data(i,"src",s),c[0]&512&&r!==(r=d[9][d[55]]+"")&&e.set_data(b,r),c[0]&16644&&v!==(v=(d[2]==="true"?d[14][d[55]]:(m=d[8][d[55]])!=null?m:"")+"")&&e.set_data(f,v),c[0]&2&&e.set_data(_,d[1])},d(d){d&&e.detach(t)}}}function we(n){let t;function l(o,r){return o[13]?ve:o[4]?be:ye}let i=l(n),s=i(n);return{c(){t=e.element("div"),s.c()},m(o,r){e.insert(o,t,r),s.m(t,null),n[34](t)},p(o,r){i===(i=l(o))&&s?s.p(o,r):(s.d(1),s=i(o),s&&(s.c(),s.m(t,null)))},i:e.noop,o:e.noop,d(o){o&&e.detach(t),s.d(),n[34](null)}}}function Le(n,t,l){let{visualstructure:i=""}=t,{title:s=""}=t,{caticon0:o=""}=t,{caticon1:r=""}=t,{caticon2:b=""}=t,{caticon3:y=""}=t,{iconlabels:g=""}=t,{backgroundsrc:v=""}=t,{currency:f=""}=t,{backgroundsrcmobile:x=""}=t,{titlelogopath:j=""}=t,{lang:_="en"}=t,{clientstyling:C=""}=t,{clientstylingurl:d=""}=t,{translationurl:c=""}=t,{endpoint:m=""}=t,{gameid:w=""}=t,{mbsource:J}=t,{realtimeupdate:E="false"}=t,F=window.navigator.userAgent,B=!1,W=!1,M="",U=[],N=[],te=[],P=[],G=[],Y="",A="",L,I=!0,S=!1,R,T=null,z=[];const ae=()=>{fetch(c).then(p=>p.json()).then(p=>{Object.keys(p).forEach(k=>{pe(k,p[k])})}).catch(p=>{console.log(p)})};Object.keys(ue).forEach(a=>{pe(a,ue[a])});const V=["typeSpread","typeLeft"],K=a=>{var k;const p=(k=a==null?void 0:a.items[0])==null?void 0:k.additionalData;p&&Object.values(p).forEach(ie=>U.push(+ie))},Q=a=>{var p;l(7,M=((p=a==null?void 0:a.items[0])==null?void 0:p.vendorLogo)||"")},ne=()=>{if(m&&_&&f){let a=new URL(`${m}/v1/casino/jackpots`);a.searchParams.append("filter",`id=${w}`),a.searchParams.append("language",_),a.searchParams.append("additionalDataCurrency",f),fetch(a.href).then(p=>p.json().then(k=>{l(4,I=!1),R=k,N.includes(w)&&(K(R),Q(R))}).catch(k=>{l(13,S=!0),l(4,I=!1),console.error(k)}).finally(()=>{se()}))}},se=()=>{const a=L.getRootNode().host;a.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:a}}))},X=()=>{let a=new URL(`${m}/v1/casino/jackpots/config`);fetch(a.href).then(p=>p.json()).then(p=>{l(32,N=p.egtJackpotIds.map(k=>k))})},Z=()=>{l(5,B=e.isMobile(F)&&window.innerHeight/window.innerWidth>1),l(6,W=D()),U.length!==0&&l(8,te=re(U)),l(9,P=g?g.split(",").map(a=>a.trim().toUpperCase()):new Array(4).fill("")),V.includes(i.trim())?l(0,i=i.trim()):(console.warn(`Invalid Attribute Value: "${i}" is not a valid value for the "visualstructure" attribute. Defaulting to "${V[0]}"`),l(0,i=V[0])),l(11,Y=x&&B&&!W?x:v),l(12,A=j),l(10,G=[o,r,b,y])},re=a=>a.map(p=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(p)),D=()=>{const a=window.innerHeight/window.innerWidth;return .75<a&&a<1.6},O=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:w},window.location.href),typeof gtag=="function"&>ag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:`${w}`})},q=()=>{_e(_)},H=a=>{const p=JSON.parse(a.data);if(p.success&&p.data.messageType==="UpdateEgtJackpotBalance"&&p.data.jackpotAlias.split("_")[0]===w){const k=Number(p.data.jackpotAlias.split("_")[1])-1;l(14,z[k]=p.data.data[`${f}`].balance.toString(),z)}},$=()=>{E==="true"&&(Z(),l(14,z=["","","",""]),T=new EventSource(`${m}/v1/encoder/jackpot/*/update`),T.addEventListener("message",H))};e.onMount(()=>()=>{}),e.onDestroy(()=>{T&&(T.removeEventListener("message",H),T.close(),T=null)});const ee=()=>O();function le(a){e.binding_callbacks[a?"unshift":"push"](()=>{L=a,l(3,L)})}return n.$$set=a=>{"visualstructure"in a&&l(0,i=a.visualstructure),"title"in a&&l(16,s=a.title),"caticon0"in a&&l(17,o=a.caticon0),"caticon1"in a&&l(18,r=a.caticon1),"caticon2"in a&&l(19,b=a.caticon2),"caticon3"in a&&l(20,y=a.caticon3),"iconlabels"in a&&l(21,g=a.iconlabels),"backgroundsrc"in a&&l(22,v=a.backgroundsrc),"currency"in a&&l(1,f=a.currency),"backgroundsrcmobile"in a&&l(23,x=a.backgroundsrcmobile),"titlelogopath"in a&&l(24,j=a.titlelogopath),"lang"in a&&l(25,_=a.lang),"clientstyling"in a&&l(26,C=a.clientstyling),"clientstylingurl"in a&&l(27,d=a.clientstylingurl),"translationurl"in a&&l(28,c=a.translationurl),"endpoint"in a&&l(29,m=a.endpoint),"gameid"in a&&l(30,w=a.gameid),"mbsource"in a&&l(31,J=a.mbsource),"realtimeupdate"in a&&l(2,E=a.realtimeupdate)},n.$$.update=()=>{n.$$.dirty[0]&536870912&&m&&X(),n.$$.dirty[0]&67108872&&C&&L&&e.setClientStyling(L,C),n.$$.dirty[0]&134217736&&d&&L&&e.setClientStylingURL(L,d),n.$$.dirty[0]&8|n.$$.dirty[1]&1&&J&&L&&e.setStreamStyling(L,`${J}.Style`),n.$$.dirty[0]&570425346|n.$$.dirty[1]&2&&m&&_&&f&&N.length>0&&ne(),n.$$.dirty[0]&33554450&&f&&_&&!I&&Z(),n.$$.dirty[0]&33554432&&_&&q(),n.$$.dirty[0]&268435456&&c&&ae(),n.$$.dirty[0]&4&&E&&$()},[i,f,E,L,I,B,W,M,te,P,G,Y,A,S,z,O,s,o,r,b,y,g,v,x,j,_,C,d,c,m,w,J,N,ee,le]}class fe extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Le,we,e.safe_not_equal,{visualstructure:0,title:16,caticon0:17,caticon1:18,caticon2:19,caticon3:20,iconlabels:21,backgroundsrc:22,currency:1,backgroundsrcmobile:23,titlelogopath:24,lang:25,clientstyling:26,clientstylingurl:27,translationurl:28,endpoint:29,gameid:30,mbsource:31,realtimeupdate:2},he,[-1,-1])}get visualstructure(){return this.$$.ctx[0]}set visualstructure(t){this.$$set({visualstructure:t}),e.flush()}get title(){return this.$$.ctx[16]}set title(t){this.$$set({title:t}),e.flush()}get caticon0(){return this.$$.ctx[17]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[18]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[19]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[20]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get iconlabels(){return this.$$.ctx[21]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[22]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get currency(){return this.$$.ctx[1]}set currency(t){this.$$set({currency:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[23]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[24]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get lang(){return this.$$.ctx[25]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[28]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get endpoint(){return this.$$.ctx[29]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get gameid(){return this.$$.ctx[30]}set gameid(t){this.$$set({gameid:t}),e.flush()}get mbsource(){return this.$$.ctx[31]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get realtimeupdate(){return this.$$.ctx[2]}set realtimeupdate(t){this.$$set({realtimeupdate:t}),e.flush()}}e.create_custom_element(fe,{visualstructure:{},title:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},iconlabels:{},backgroundsrc:{},currency:{},backgroundsrcmobile:{},titlelogopath:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},endpoint:{},gameid:{},mbsource:{},realtimeupdate:{}},[],[],!0);exports.default=fe;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as xe, $ as We, S as Ae, i as Ie, s as Je, f as w, b as Ve, n as _e, d as H, h as F, j as r, o as Ee,
|
|
1
|
+
import { a as xe, $ as We, S as Ae, i as Ie, s as Je, f as w, b as Ve, n as _e, d as H, h as F, j as r, o as Ee, Z as De, C as ze, r as c, I as be, D as V, E as b, p as n, A as Ue, B as M, l as Ne, v as we, w as Re, G as Be, m as A, q as I, J as Me, K as Oe, L as Pe, M as qe } from "./CasinoCalendar-C4nbeq1g.js";
|
|
2
2
|
import "../stencil/ui-image-DG3xEaHN.js";
|
|
3
3
|
function Le(t, e) {
|
|
4
4
|
xe(t, e);
|
|
@@ -56,7 +56,7 @@ function Ge(t) {
|
|
|
56
56
|
function k(f, y) {
|
|
57
57
|
return (
|
|
58
58
|
/*tabletView*/
|
|
59
|
-
f[6] ?
|
|
59
|
+
f[6] ? Ze : Qe
|
|
60
60
|
);
|
|
61
61
|
}
|
|
62
62
|
let g = k(t), m = g(t);
|
|
@@ -132,7 +132,7 @@ function Ye(t) {
|
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function Ze(t) {
|
|
136
136
|
let e, a, l, s, d, o, L = (
|
|
137
137
|
/*formattedLabels*/
|
|
138
138
|
t[9][0] + ""
|
|
@@ -148,7 +148,7 @@ function Qe(t) {
|
|
|
148
148
|
), W, J, k, g, m, f, y, T, O, P, ae = (
|
|
149
149
|
/*formattedLabels*/
|
|
150
150
|
t[9][1] + ""
|
|
151
|
-
),
|
|
151
|
+
), Q, z, X, G = (
|
|
152
152
|
/*realtimeupdate*/
|
|
153
153
|
(t[2] === "true" ? (
|
|
154
154
|
/*updatedJackpotValues*/
|
|
@@ -169,7 +169,7 @@ function Qe(t) {
|
|
|
169
169
|
/*formattedJackpotValues*/
|
|
170
170
|
t[8][2]
|
|
171
171
|
)) + ""
|
|
172
|
-
), pe, me, re, oe, he, ee,
|
|
172
|
+
), pe, me, re, oe, he, ee, Z, B, te, ce, de = (
|
|
173
173
|
/*formattedLabels*/
|
|
174
174
|
t[9][3] + ""
|
|
175
175
|
), fe, i, p, S = (
|
|
@@ -187,23 +187,23 @@ function Qe(t) {
|
|
|
187
187
|
e = r("div"), a = r("div"), l = r("div"), s = r("ui-image"), o = r("span"), C = I(L), h = r("span"), j = r("span"), W = I(_), J = M(), k = r("span"), g = I(
|
|
188
188
|
/*currency*/
|
|
189
189
|
t[1]
|
|
190
|
-
), m = M(), f = r("div"), y = r("div"), T = r("ui-image"), P = r("span"),
|
|
190
|
+
), m = M(), f = r("div"), y = r("div"), T = r("ui-image"), P = r("span"), Q = I(ae), z = r("span"), X = r("span"), K = I(G), ue = M(), $ = r("span"), ie = I(
|
|
191
191
|
/*currency*/
|
|
192
192
|
t[1]
|
|
193
193
|
), ne = M(), U = r("div"), x = r("div"), N = r("div"), E = r("ui-image"), D = r("span"), ge = I(q), R = r("span"), le = r("span"), pe = I(se), me = M(), re = r("span"), oe = I(
|
|
194
194
|
/*currency*/
|
|
195
195
|
t[1]
|
|
196
|
-
), he = M(), ee = r("div"),
|
|
196
|
+
), he = M(), ee = r("div"), Z = r("div"), B = r("ui-image"), ce = r("span"), fe = I(de), i = r("span"), p = r("span"), ke = I(S), Ce = M(), ye = r("span"), ve = I(
|
|
197
197
|
/*currency*/
|
|
198
198
|
t[1]
|
|
199
199
|
), b(s, "imgClass", "displayCardIcon"), V(s.src, d = /*caticons*/
|
|
200
200
|
t[10][0]) || b(s, "src", d), b(s, "alt", ""), c(o, "class", "cardLabel"), c(l, "class", "iconWrapper"), c(j, "class", "jackpotValue"), c(k, "class", "jackpot-currency"), c(h, "class", "cardTextWrapper"), c(a, "class", "displayCard"), b(T, "imgClass", "displayCardIcon"), V(T.src, O = /*caticons*/
|
|
201
|
-
t[10][1]) || b(T, "src", O), b(T, "alt", ""), c(P, "class", "cardLabel"), c(y, "class", "iconWrapper"), c(
|
|
201
|
+
t[10][1]) || b(T, "src", O), b(T, "alt", ""), c(P, "class", "cardLabel"), c(y, "class", "iconWrapper"), c(X, "class", "jackpotValue"), c($, "class", "jackpot-currency"), c(z, "class", "cardTextWrapper"), c(f, "class", "displayCard"), c(e, "class", "pairWrapper"), b(E, "imgClass", "displayCardIcon"), V(E.src, Y = /*caticons*/
|
|
202
202
|
t[10][2]) || b(E, "src", Y), b(E, "alt", ""), c(D, "class", "cardLabel"), c(N, "class", "iconWrapper"), c(le, "class", "jackpotValue"), c(re, "class", "jackpot-currency"), c(R, "class", "cardTextWrapper"), c(x, "class", "displayCard"), b(B, "imgClass", "displayCardIcon"), V(B.src, te = /*caticons*/
|
|
203
|
-
t[10][3]) || b(B, "src", te), b(B, "alt", ""), c(ce, "class", "cardLabel"), c(
|
|
203
|
+
t[10][3]) || b(B, "src", te), b(B, "alt", ""), c(ce, "class", "cardLabel"), c(Z, "class", "iconWrapper"), c(p, "class", "jackpotValue"), c(ye, "class", "jackpot-currency"), c(i, "class", "cardTextWrapper"), c(ee, "class", "displayCard"), c(U, "class", "pairWrapper");
|
|
204
204
|
},
|
|
205
205
|
m(u, v) {
|
|
206
|
-
F(u, e, v), n(e, a), n(a, l), n(l, s), n(l, o), n(o, C), n(a, h), n(h, j), n(j, W), n(h, J), n(h, k), n(k, g), n(e, m), n(e, f), n(f, y), n(y, T), n(y, P), n(P,
|
|
206
|
+
F(u, e, v), n(e, a), n(a, l), n(l, s), n(l, o), n(o, C), n(a, h), n(h, j), n(j, W), n(h, J), n(h, k), n(k, g), n(e, m), n(e, f), n(f, y), n(y, T), n(y, P), n(P, Q), n(f, z), n(z, X), n(X, K), n(z, ue), n(z, $), n($, ie), F(u, ne, v), F(u, U, v), n(U, x), n(x, N), n(N, E), n(N, D), n(D, ge), n(x, R), n(R, le), n(le, pe), n(R, me), n(R, re), n(re, oe), n(U, he), n(U, ee), n(ee, Z), n(Z, B), n(Z, ce), n(ce, fe), n(ee, i), n(i, p), n(p, ke), n(i, Ce), n(i, ye), n(ye, ve);
|
|
207
207
|
},
|
|
208
208
|
p(u, v) {
|
|
209
209
|
v[0] & /*caticons*/
|
|
@@ -227,7 +227,7 @@ function Qe(t) {
|
|
|
227
227
|
1024 && !V(T.src, O = /*caticons*/
|
|
228
228
|
u[10][1]) && b(T, "src", O), v[0] & /*formattedLabels*/
|
|
229
229
|
512 && ae !== (ae = /*formattedLabels*/
|
|
230
|
-
u[9][1] + "") && A(
|
|
230
|
+
u[9][1] + "") && A(Q, ae), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
231
231
|
16644 && G !== (G = /*realtimeupdate*/
|
|
232
232
|
(u[2] === "true" ? (
|
|
233
233
|
/*updatedJackpotValues*/
|
|
@@ -281,7 +281,7 @@ function Qe(t) {
|
|
|
281
281
|
}
|
|
282
282
|
};
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function Qe(t) {
|
|
285
285
|
let e, a = we(Array(4)), l = [];
|
|
286
286
|
for (let s = 0; s < a.length; s += 1)
|
|
287
287
|
l[s] = Te(Se(t, a, s));
|
|
@@ -389,7 +389,7 @@ function Te(t) {
|
|
|
389
389
|
}
|
|
390
390
|
};
|
|
391
391
|
}
|
|
392
|
-
function
|
|
392
|
+
function Xe(t) {
|
|
393
393
|
let e;
|
|
394
394
|
function a(d, o) {
|
|
395
395
|
return (
|
|
@@ -419,7 +419,7 @@ function Ze(t) {
|
|
|
419
419
|
};
|
|
420
420
|
}
|
|
421
421
|
function $e(t, e, a) {
|
|
422
|
-
let { visualstructure: l = "" } = e, { title: s = "" } = e, { caticon0: d = "" } = e, { caticon1: o = "" } = e, { caticon2: L = "" } = e, { caticon3: C = "" } = e, { iconlabels: h = "" } = e, { backgroundsrc: j = "" } = e, { currency: _ = "" } = e, { backgroundsrcmobile: W = "" } = e, { titlelogopath: J = "" } = e, { lang: k = "en" } = e, { clientstyling: g = "" } = e, { clientstylingurl: m = "" } = e, { translationurl: f = "" } = e, { endpoint: y = "" } = e, { gameid: T = "" } = e, { mbsource: O } = e, { realtimeupdate: P = "false" } = e, ae = window.navigator.userAgent,
|
|
422
|
+
let { visualstructure: l = "" } = e, { title: s = "" } = e, { caticon0: d = "" } = e, { caticon1: o = "" } = e, { caticon2: L = "" } = e, { caticon3: C = "" } = e, { iconlabels: h = "" } = e, { backgroundsrc: j = "" } = e, { currency: _ = "" } = e, { backgroundsrcmobile: W = "" } = e, { titlelogopath: J = "" } = e, { lang: k = "en" } = e, { clientstyling: g = "" } = e, { clientstylingurl: m = "" } = e, { translationurl: f = "" } = e, { endpoint: y = "" } = e, { gameid: T = "" } = e, { mbsource: O } = e, { realtimeupdate: P = "false" } = e, ae = window.navigator.userAgent, Q = !1, z = !1, X = "", G = [], K = [], ue = [], $ = [], ie = [], ne = "", U = "", x, N = !0, E = !1, Y, D = null, q = [];
|
|
423
423
|
const ge = () => {
|
|
424
424
|
fetch(f).then((p) => p.json()).then((p) => {
|
|
425
425
|
Object.keys(p).forEach((S) => {
|
|
@@ -436,7 +436,7 @@ function $e(t, e, a) {
|
|
|
436
436
|
const p = i?.items[0]?.additionalData;
|
|
437
437
|
p && Object.values(p).forEach((S) => G.push(+S));
|
|
438
438
|
}, se = (i) => {
|
|
439
|
-
a(7,
|
|
439
|
+
a(7, X = i?.items[0]?.vendorLogo || "");
|
|
440
440
|
}, pe = () => {
|
|
441
441
|
if (y && k && _) {
|
|
442
442
|
let i = new URL(`${y}/v1/casino/jackpots`);
|
|
@@ -457,11 +457,11 @@ function $e(t, e, a) {
|
|
|
457
457
|
a(32, K = p.egtJackpotIds.map((S) => S));
|
|
458
458
|
});
|
|
459
459
|
}, oe = () => {
|
|
460
|
-
a(5,
|
|
460
|
+
a(5, Q = Ne(ae) && window.innerHeight / window.innerWidth > 1), a(6, z = ee()), G.length !== 0 && a(8, ue = he(G)), a(9, $ = h ? h.split(",").map((i) => i.trim().toUpperCase()) : new Array(4).fill("")), R.includes(l.trim()) ? a(0, l = l.trim()) : (console.warn(`Invalid Attribute Value: "${l}" is not a valid value for the "visualstructure" attribute. Defaulting to "${R[0]}"`), a(0, l = R[0])), a(11, ne = W && Q && !z ? W : j), a(12, U = J), a(10, ie = [d, o, L, C]);
|
|
461
461
|
}, he = (i) => i.map((p) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(p)), ee = () => {
|
|
462
462
|
const i = window.innerHeight / window.innerWidth;
|
|
463
463
|
return 0.75 < i && i < 1.6;
|
|
464
|
-
},
|
|
464
|
+
}, Z = () => {
|
|
465
465
|
window.postMessage({ type: "JackpotBannerClicked", gameid: T }, window.location.href), typeof gtag == "function" && gtag("event", "JackpotBannerClicked", {
|
|
466
466
|
context: "JackpotBanner",
|
|
467
467
|
gameId: `${T}`
|
|
@@ -481,7 +481,7 @@ function $e(t, e, a) {
|
|
|
481
481
|
}), De(() => {
|
|
482
482
|
D && (D.removeEventListener("message", te), D.close(), D = null);
|
|
483
483
|
});
|
|
484
|
-
const de = () =>
|
|
484
|
+
const de = () => Z();
|
|
485
485
|
function fe(i) {
|
|
486
486
|
ze[i ? "unshift" : "push"](() => {
|
|
487
487
|
x = i, a(3, x);
|
|
@@ -508,9 +508,9 @@ function $e(t, e, a) {
|
|
|
508
508
|
P,
|
|
509
509
|
x,
|
|
510
510
|
N,
|
|
511
|
-
|
|
511
|
+
Q,
|
|
512
512
|
z,
|
|
513
|
-
|
|
513
|
+
X,
|
|
514
514
|
ue,
|
|
515
515
|
$,
|
|
516
516
|
ie,
|
|
@@ -518,7 +518,7 @@ function $e(t, e, a) {
|
|
|
518
518
|
U,
|
|
519
519
|
E,
|
|
520
520
|
q,
|
|
521
|
-
|
|
521
|
+
Z,
|
|
522
522
|
s,
|
|
523
523
|
d,
|
|
524
524
|
o,
|
|
@@ -546,7 +546,7 @@ class et extends Ae {
|
|
|
546
546
|
this,
|
|
547
547
|
e,
|
|
548
548
|
$e,
|
|
549
|
-
|
|
549
|
+
Xe,
|
|
550
550
|
Je,
|
|
551
551
|
{
|
|
552
552
|
visualstructure: 0,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as xe, $ as We, S as Ae, i as Ie, s as Je, f as C, b as Ve, n as ve, d as H, h as F, j as r, o as Ee,
|
|
1
|
+
import { a as xe, $ as We, S as Ae, i as Ie, s as Je, f as C, b as Ve, n as ve, d as H, h as F, j as r, o as Ee, Z as ze, C as Ue, r as o, I as _e, D as V, E as y, p as n, A as Ne, B as O, l as Re, v as we, w as Be, G as Me, m as A, q as I, J as Oe, K as De, L as Pe, M as qe } from "./CasinoCalendar-WuTw9Z8d.js";
|
|
2
2
|
import "../stencil/ui-image-CV8AJ9cY.js";
|
|
3
3
|
function Le(a, e) {
|
|
4
4
|
xe(a, e);
|
|
@@ -56,7 +56,7 @@ function Ge(a) {
|
|
|
56
56
|
function _(d, m) {
|
|
57
57
|
return (
|
|
58
58
|
/*tabletView*/
|
|
59
|
-
d[6] ?
|
|
59
|
+
d[6] ? Ze : Qe
|
|
60
60
|
);
|
|
61
61
|
}
|
|
62
62
|
let S = _(a), g = S(a);
|
|
@@ -132,7 +132,7 @@ function Ye(a) {
|
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function Ze(a) {
|
|
136
136
|
let e, i, l, s, u, c, w = (
|
|
137
137
|
/*formattedLabels*/
|
|
138
138
|
a[9][0] + ""
|
|
@@ -148,7 +148,7 @@ function Qe(a) {
|
|
|
148
148
|
), W, J, _, S, g, d, m, T, D, P, ae = (
|
|
149
149
|
/*formattedLabels*/
|
|
150
150
|
a[9][1] + ""
|
|
151
|
-
),
|
|
151
|
+
), Q, U, X, G = (
|
|
152
152
|
/*realtimeupdate*/
|
|
153
153
|
(a[2] === "true" ? (
|
|
154
154
|
/*updatedJackpotValues*/
|
|
@@ -169,7 +169,7 @@ function Qe(a) {
|
|
|
169
169
|
/*formattedJackpotValues*/
|
|
170
170
|
a[8][2]
|
|
171
171
|
)) + ""
|
|
172
|
-
), pe, he, re, ce, ye, ee,
|
|
172
|
+
), pe, he, re, ce, ye, ee, Z, M, te, oe, de = (
|
|
173
173
|
/*formattedLabels*/
|
|
174
174
|
a[9][3] + ""
|
|
175
175
|
), fe, t, p, j = (
|
|
@@ -187,23 +187,23 @@ function Qe(a) {
|
|
|
187
187
|
e = r("div"), i = r("div"), l = r("div"), s = r("ui-image"), c = r("span"), k = I(w), h = r("span"), L = r("span"), W = I(b), J = O(), _ = r("span"), S = I(
|
|
188
188
|
/*currency*/
|
|
189
189
|
a[1]
|
|
190
|
-
), g = O(), d = r("div"), m = r("div"), T = r("ui-image"), P = r("span"),
|
|
190
|
+
), g = O(), d = r("div"), m = r("div"), T = r("ui-image"), P = r("span"), Q = I(ae), U = r("span"), X = r("span"), K = I(G), ue = O(), $ = r("span"), ie = I(
|
|
191
191
|
/*currency*/
|
|
192
192
|
a[1]
|
|
193
193
|
), ne = O(), N = r("div"), x = r("div"), R = r("div"), E = r("ui-image"), z = r("span"), ge = I(q), B = r("span"), le = r("span"), pe = I(se), he = O(), re = r("span"), ce = I(
|
|
194
194
|
/*currency*/
|
|
195
195
|
a[1]
|
|
196
|
-
), ye = O(), ee = r("div"),
|
|
196
|
+
), ye = O(), ee = r("div"), Z = r("div"), M = r("ui-image"), oe = r("span"), fe = I(de), t = r("span"), p = r("span"), me = I(j), Ce = O(), be = r("span"), ke = I(
|
|
197
197
|
/*currency*/
|
|
198
198
|
a[1]
|
|
199
199
|
), y(s, "imgClass", "displayCardIcon"), V(s.src, u = /*caticons*/
|
|
200
200
|
a[10][0]) || y(s, "src", u), y(s, "alt", ""), o(c, "class", "cardLabel"), o(l, "class", "iconWrapper"), o(L, "class", "jackpotValue"), o(_, "class", "jackpot-currency"), o(h, "class", "cardTextWrapper"), o(i, "class", "displayCard"), y(T, "imgClass", "displayCardIcon"), V(T.src, D = /*caticons*/
|
|
201
|
-
a[10][1]) || y(T, "src", D), y(T, "alt", ""), o(P, "class", "cardLabel"), o(m, "class", "iconWrapper"), o(
|
|
201
|
+
a[10][1]) || y(T, "src", D), y(T, "alt", ""), o(P, "class", "cardLabel"), o(m, "class", "iconWrapper"), o(X, "class", "jackpotValue"), o($, "class", "jackpot-currency"), o(U, "class", "cardTextWrapper"), o(d, "class", "displayCard"), o(e, "class", "pairWrapper"), y(E, "imgClass", "displayCardIcon"), V(E.src, Y = /*caticons*/
|
|
202
202
|
a[10][2]) || y(E, "src", Y), y(E, "alt", ""), o(z, "class", "cardLabel"), o(R, "class", "iconWrapper"), o(le, "class", "jackpotValue"), o(re, "class", "jackpot-currency"), o(B, "class", "cardTextWrapper"), o(x, "class", "displayCard"), y(M, "imgClass", "displayCardIcon"), V(M.src, te = /*caticons*/
|
|
203
|
-
a[10][3]) || y(M, "src", te), y(M, "alt", ""), o(oe, "class", "cardLabel"), o(
|
|
203
|
+
a[10][3]) || y(M, "src", te), y(M, "alt", ""), o(oe, "class", "cardLabel"), o(Z, "class", "iconWrapper"), o(p, "class", "jackpotValue"), o(be, "class", "jackpot-currency"), o(t, "class", "cardTextWrapper"), o(ee, "class", "displayCard"), o(N, "class", "pairWrapper");
|
|
204
204
|
},
|
|
205
205
|
m(f, v) {
|
|
206
|
-
F(f, e, v), n(e, i), n(i, l), n(l, s), n(l, c), n(c, k), n(i, h), n(h, L), n(L, W), n(h, J), n(h, _), n(_, S), n(e, g), n(e, d), n(d, m), n(m, T), n(m, P), n(P,
|
|
206
|
+
F(f, e, v), n(e, i), n(i, l), n(l, s), n(l, c), n(c, k), n(i, h), n(h, L), n(L, W), n(h, J), n(h, _), n(_, S), n(e, g), n(e, d), n(d, m), n(m, T), n(m, P), n(P, Q), n(d, U), n(U, X), n(X, K), n(U, ue), n(U, $), n($, ie), F(f, ne, v), F(f, N, v), n(N, x), n(x, R), n(R, E), n(R, z), n(z, ge), n(x, B), n(B, le), n(le, pe), n(B, he), n(B, re), n(re, ce), n(N, ye), n(N, ee), n(ee, Z), n(Z, M), n(Z, oe), n(oe, fe), n(ee, t), n(t, p), n(p, me), n(t, Ce), n(t, be), n(be, ke);
|
|
207
207
|
},
|
|
208
208
|
p(f, v) {
|
|
209
209
|
v[0] & /*caticons*/
|
|
@@ -227,7 +227,7 @@ function Qe(a) {
|
|
|
227
227
|
1024 && !V(T.src, D = /*caticons*/
|
|
228
228
|
f[10][1]) && y(T, "src", D), v[0] & /*formattedLabels*/
|
|
229
229
|
512 && ae !== (ae = /*formattedLabels*/
|
|
230
|
-
f[9][1] + "") && A(
|
|
230
|
+
f[9][1] + "") && A(Q, ae), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
231
231
|
16644 && G !== (G = /*realtimeupdate*/
|
|
232
232
|
(f[2] === "true" ? (
|
|
233
233
|
/*updatedJackpotValues*/
|
|
@@ -281,7 +281,7 @@ function Qe(a) {
|
|
|
281
281
|
}
|
|
282
282
|
};
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function Qe(a) {
|
|
285
285
|
let e, i = we(Array(4)), l = [];
|
|
286
286
|
for (let s = 0; s < i.length; s += 1)
|
|
287
287
|
l[s] = Te(Se(a, i, s));
|
|
@@ -391,7 +391,7 @@ function Te(a) {
|
|
|
391
391
|
}
|
|
392
392
|
};
|
|
393
393
|
}
|
|
394
|
-
function
|
|
394
|
+
function Xe(a) {
|
|
395
395
|
let e;
|
|
396
396
|
function i(u, c) {
|
|
397
397
|
return (
|
|
@@ -421,7 +421,7 @@ function Ze(a) {
|
|
|
421
421
|
};
|
|
422
422
|
}
|
|
423
423
|
function $e(a, e, i) {
|
|
424
|
-
let { visualstructure: l = "" } = e, { title: s = "" } = e, { caticon0: u = "" } = e, { caticon1: c = "" } = e, { caticon2: w = "" } = e, { caticon3: k = "" } = e, { iconlabels: h = "" } = e, { backgroundsrc: L = "" } = e, { currency: b = "" } = e, { backgroundsrcmobile: W = "" } = e, { titlelogopath: J = "" } = e, { lang: _ = "en" } = e, { clientstyling: S = "" } = e, { clientstylingurl: g = "" } = e, { translationurl: d = "" } = e, { endpoint: m = "" } = e, { gameid: T = "" } = e, { mbsource: D } = e, { realtimeupdate: P = "false" } = e, ae = window.navigator.userAgent,
|
|
424
|
+
let { visualstructure: l = "" } = e, { title: s = "" } = e, { caticon0: u = "" } = e, { caticon1: c = "" } = e, { caticon2: w = "" } = e, { caticon3: k = "" } = e, { iconlabels: h = "" } = e, { backgroundsrc: L = "" } = e, { currency: b = "" } = e, { backgroundsrcmobile: W = "" } = e, { titlelogopath: J = "" } = e, { lang: _ = "en" } = e, { clientstyling: S = "" } = e, { clientstylingurl: g = "" } = e, { translationurl: d = "" } = e, { endpoint: m = "" } = e, { gameid: T = "" } = e, { mbsource: D } = e, { realtimeupdate: P = "false" } = e, ae = window.navigator.userAgent, Q = !1, U = !1, X = "", G = [], K = [], ue = [], $ = [], ie = [], ne = "", N = "", x, R = !0, E = !1, Y, z = null, q = [];
|
|
425
425
|
const ge = () => {
|
|
426
426
|
fetch(d).then((p) => p.json()).then((p) => {
|
|
427
427
|
Object.keys(p).forEach((j) => {
|
|
@@ -440,7 +440,7 @@ function $e(a, e, i) {
|
|
|
440
440
|
p && Object.values(p).forEach((me) => G.push(+me));
|
|
441
441
|
}, se = (t) => {
|
|
442
442
|
var p;
|
|
443
|
-
i(7,
|
|
443
|
+
i(7, X = ((p = t == null ? void 0 : t.items[0]) == null ? void 0 : p.vendorLogo) || "");
|
|
444
444
|
}, pe = () => {
|
|
445
445
|
if (m && _ && b) {
|
|
446
446
|
let t = new URL(`${m}/v1/casino/jackpots`);
|
|
@@ -461,11 +461,11 @@ function $e(a, e, i) {
|
|
|
461
461
|
i(32, K = p.egtJackpotIds.map((j) => j));
|
|
462
462
|
});
|
|
463
463
|
}, ce = () => {
|
|
464
|
-
i(5,
|
|
464
|
+
i(5, Q = Re(ae) && window.innerHeight / window.innerWidth > 1), i(6, U = ee()), G.length !== 0 && i(8, ue = ye(G)), i(9, $ = h ? h.split(",").map((t) => t.trim().toUpperCase()) : new Array(4).fill("")), B.includes(l.trim()) ? i(0, l = l.trim()) : (console.warn(`Invalid Attribute Value: "${l}" is not a valid value for the "visualstructure" attribute. Defaulting to "${B[0]}"`), i(0, l = B[0])), i(11, ne = W && Q && !U ? W : L), i(12, N = J), i(10, ie = [u, c, w, k]);
|
|
465
465
|
}, ye = (t) => t.map((p) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(p)), ee = () => {
|
|
466
466
|
const t = window.innerHeight / window.innerWidth;
|
|
467
467
|
return 0.75 < t && t < 1.6;
|
|
468
|
-
},
|
|
468
|
+
}, Z = () => {
|
|
469
469
|
window.postMessage({ type: "JackpotBannerClicked", gameid: T }, window.location.href), typeof gtag == "function" && gtag("event", "JackpotBannerClicked", {
|
|
470
470
|
context: "JackpotBanner",
|
|
471
471
|
gameId: `${T}`
|
|
@@ -485,7 +485,7 @@ function $e(a, e, i) {
|
|
|
485
485
|
}), ze(() => {
|
|
486
486
|
z && (z.removeEventListener("message", te), z.close(), z = null);
|
|
487
487
|
});
|
|
488
|
-
const de = () =>
|
|
488
|
+
const de = () => Z();
|
|
489
489
|
function fe(t) {
|
|
490
490
|
Ue[t ? "unshift" : "push"](() => {
|
|
491
491
|
x = t, i(3, x);
|
|
@@ -512,9 +512,9 @@ function $e(a, e, i) {
|
|
|
512
512
|
P,
|
|
513
513
|
x,
|
|
514
514
|
R,
|
|
515
|
-
|
|
515
|
+
Q,
|
|
516
516
|
U,
|
|
517
|
-
|
|
517
|
+
X,
|
|
518
518
|
ue,
|
|
519
519
|
$,
|
|
520
520
|
ie,
|
|
@@ -522,7 +522,7 @@ function $e(a, e, i) {
|
|
|
522
522
|
N,
|
|
523
523
|
E,
|
|
524
524
|
q,
|
|
525
|
-
|
|
525
|
+
Z,
|
|
526
526
|
s,
|
|
527
527
|
u,
|
|
528
528
|
c,
|
|
@@ -550,7 +550,7 @@ class et extends Ae {
|
|
|
550
550
|
this,
|
|
551
551
|
e,
|
|
552
552
|
$e,
|
|
553
|
-
|
|
553
|
+
Xe,
|
|
554
554
|
Je,
|
|
555
555
|
{
|
|
556
556
|
visualstructure: 0,
|
package/components/{CasinoLastPlayedSection-Dxbzb-4o.js → CasinoLastPlayedSection-BUIc0ZEt.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as M, h as D, p as Z, j as L, r as A, k as le, o as re, C as oe, m as ue, q as ce, E as i, O as me, J as ge, K as de, L as fe, M as he, N as ye } from "./CasinoCalendar-
|
|
2
|
-
import "./CasinoFavoritesSection-
|
|
1
|
+
import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as M, h as D, p as Z, j as L, r as A, k as le, o as re, C as oe, m as ue, q as ce, E as i, O as me, J as ge, K as de, L as fe, M as he, N as ye } from "./CasinoCalendar-WuTw9Z8d.js";
|
|
2
|
+
import "./CasinoFavoritesSection-BLswksE3.js";
|
|
3
3
|
function K(s, e) {
|
|
4
4
|
ee(s, e);
|
|
5
5
|
}
|
package/components/{CasinoLastPlayedSection-BKNOgkbn.cjs → CasinoLastPlayedSection-CFEzl7GR.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-CR3NqEmo.cjs");require("./CasinoFavoritesSection-CtF6Vrcg.cjs");function z(n,e){t.addMessages(n,e)}function Q(n){t.$locale.set(n)}const U={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function W(n){t.append_styles(n,"svelte-9pcrt1","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[14]),t.set_custom_element_data(e,"fetchviaevent",n[16]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"mbsource",n[17]),t.set_custom_element_data(e,"showgamename",n[12]),t.set_custom_element_data(e,"clientstyling",n[6]),t.set_custom_element_data(e,"clientstylingurl",n[7]),t.set_custom_element_data(e,"livecasino",n[8]),t.set_custom_element_data(e,"visiblegames",n[13]),t.set_custom_element_data(e,"gamepagemodalurl",n[11]),t.set_custom_element_data(e,"integratedgameframedesktop",n[10]),t.set_custom_element_data(e,"integratedgameframemobile",n[9]),t.set_custom_element_data(e,"casinomygames",n[15])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),i[0]&65536&&t.set_custom_element_data(e,"fetchviaevent",a[16]),i[0]&131072&&t.set_custom_element_data(e,"mbsource",a[17]),i[0]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),i[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),i[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),i[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),i[0]&8192&&t.set_custom_element_data(e,"visiblegames",a[13]),i[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",a[10]),i[0]&512&&t.set_custom_element_data(e,"integratedgameframemobile",a[9]),i[0]&32768&&t.set_custom_element_data(e,"casinomygames",a[15])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[20]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&1048576&&a!==(a=o[20]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[19]?p:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:_=""}=e,{clientstyling:h=""}=e,{clientstylingurl:y=""}=e,{translationurl:b=""}=e,{livecasino:v="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:D=""}=e,{visiblegames:k=""}=e,{favorites:E=""}=e,{lastplayedperiod:P="Last30Days"}=e,{lastplayedorder:L=""}=e,{lastplayedlimit:C=""}=e,{casinomygames:S="false"}=e,{lastplayedunique:j="true"}=e,{fetchviaevent:F="true"}=e,{mbsource:q}=e,I=window.navigator.userAgent,N=!1,w=[],O,g;const J=()=>{fetch(b).then(c=>c.json()).then(c=>{Object.keys(c).forEach(r=>{z(r,c[r])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let r=new URL(`${o}/v1/player/${_}/games/last-played`);r.searchParams.append("unique",j),r.searchParams.append("limit",C),r.searchParams.append("order",L),r.searchParams.append("period",P),t.getDevice(I)==="PC"?r.searchParams.append("device","Desktop"):r.searchParams.append("device","Mobile"),O=v?r:r.href,fetch(O).then(m=>m.json()).then(m=>{m.items=m.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(m.count--,T=!1),T}),s(m),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:m},window.location.href)}).catch(m=>{console.error(m),c(m)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(r=>{let f=new URL(`${o}/v1/casino/games/${r.gameId}`);f.searchParams.append("datasource",l),v?c.push(fetch(f.href).then(m=>m.json())):c.push(fetch(f.href).then(m=>m.json()))}),Promise.all(c).then(r=>{w=r.filter(f=>!("error"in f)).map(f=>f[0]),S==="true"&&(w=w.slice(0,JSON.parse(k))),window.postMessage({type:"LastPlayedData",lastPlayedGames:w},window.location.href)})}else a(19,N=!0)})},Z=()=>{Q(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(18,g)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,_=s.userid),"clientstyling"in s&&a(6,h=s.clientstyling),"clientstylingurl"in s&&a(7,y=s.clientstylingurl),"translationurl"in s&&a(21,b=s.translationurl),"livecasino"in s&&a(8,v=s.livecasino),"integratedgameframemobile"in s&&a(9,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(10,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(11,M=s.gamepagemodalurl),"showgamename"in s&&a(12,D=s.showgamename),"visiblegames"in s&&a(13,k=s.visiblegames),"favorites"in s&&a(14,E=s.favorites),"lastplayedperiod"in s&&a(22,P=s.lastplayedperiod),"lastplayedorder"in s&&a(23,L=s.lastplayedorder),"lastplayedlimit"in s&&a(24,C=s.lastplayedlimit),"casinomygames"in s&&a(15,S=s.casinomygames),"lastplayedunique"in s&&a(25,j=s.lastplayedunique),"fetchviaevent"in s&&a(16,F=s.fetchviaevent),"mbsource"in s&&a(17,q=s.mbsource)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&2097152&&b&&J(),n.$$.dirty[0]&262208&&h&&g&&t.setClientStyling(g,h),n.$$.dirty[0]&262272&&y&&g&&t.setClientStylingURL(g,y),n.$$.dirty[0]&393216&&g&&t.setStreamStyling(g,`${q}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,v,R,A,M,D,k,E,S,F,q,g,N,i,b,P,L,C,j,B]}class Y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:21,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:15,lastplayedunique:25,fetchviaevent:16,mbsource:17},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[22]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[23]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[24]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[25]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}get mbsource(){return this.$$.ctx[17]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(Y,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{},mbsource:{}},[],[],!0);exports.default=Y;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-BaQd3tuL.cjs");require("./CasinoFavoritesSection-DXEM7KtA.cjs");function z(n,e){t.addMessages(n,e)}function Q(n){t.$locale.set(n)}const U={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function W(n){t.append_styles(n,"svelte-9pcrt1","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[14]),t.set_custom_element_data(e,"fetchviaevent",n[16]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"mbsource",n[17]),t.set_custom_element_data(e,"showgamename",n[12]),t.set_custom_element_data(e,"clientstyling",n[6]),t.set_custom_element_data(e,"clientstylingurl",n[7]),t.set_custom_element_data(e,"livecasino",n[8]),t.set_custom_element_data(e,"visiblegames",n[13]),t.set_custom_element_data(e,"gamepagemodalurl",n[11]),t.set_custom_element_data(e,"integratedgameframedesktop",n[10]),t.set_custom_element_data(e,"integratedgameframemobile",n[9]),t.set_custom_element_data(e,"casinomygames",n[15])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),i[0]&65536&&t.set_custom_element_data(e,"fetchviaevent",a[16]),i[0]&131072&&t.set_custom_element_data(e,"mbsource",a[17]),i[0]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),i[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),i[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),i[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),i[0]&8192&&t.set_custom_element_data(e,"visiblegames",a[13]),i[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",a[10]),i[0]&512&&t.set_custom_element_data(e,"integratedgameframemobile",a[9]),i[0]&32768&&t.set_custom_element_data(e,"casinomygames",a[15])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[20]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&1048576&&a!==(a=o[20]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[19]?p:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:_=""}=e,{clientstyling:h=""}=e,{clientstylingurl:y=""}=e,{translationurl:b=""}=e,{livecasino:v="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:D=""}=e,{visiblegames:k=""}=e,{favorites:E=""}=e,{lastplayedperiod:P="Last30Days"}=e,{lastplayedorder:L=""}=e,{lastplayedlimit:C=""}=e,{casinomygames:S="false"}=e,{lastplayedunique:j="true"}=e,{fetchviaevent:F="true"}=e,{mbsource:q}=e,I=window.navigator.userAgent,N=!1,w=[],O,g;const J=()=>{fetch(b).then(c=>c.json()).then(c=>{Object.keys(c).forEach(r=>{z(r,c[r])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let r=new URL(`${o}/v1/player/${_}/games/last-played`);r.searchParams.append("unique",j),r.searchParams.append("limit",C),r.searchParams.append("order",L),r.searchParams.append("period",P),t.getDevice(I)==="PC"?r.searchParams.append("device","Desktop"):r.searchParams.append("device","Mobile"),O=v?r:r.href,fetch(O).then(m=>m.json()).then(m=>{m.items=m.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(m.count--,T=!1),T}),s(m),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:m},window.location.href)}).catch(m=>{console.error(m),c(m)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(r=>{let f=new URL(`${o}/v1/casino/games/${r.gameId}`);f.searchParams.append("datasource",l),v?c.push(fetch(f.href).then(m=>m.json())):c.push(fetch(f.href).then(m=>m.json()))}),Promise.all(c).then(r=>{w=r.filter(f=>!("error"in f)).map(f=>f[0]),S==="true"&&(w=w.slice(0,JSON.parse(k))),window.postMessage({type:"LastPlayedData",lastPlayedGames:w},window.location.href)})}else a(19,N=!0)})},Z=()=>{Q(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(18,g)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,_=s.userid),"clientstyling"in s&&a(6,h=s.clientstyling),"clientstylingurl"in s&&a(7,y=s.clientstylingurl),"translationurl"in s&&a(21,b=s.translationurl),"livecasino"in s&&a(8,v=s.livecasino),"integratedgameframemobile"in s&&a(9,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(10,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(11,M=s.gamepagemodalurl),"showgamename"in s&&a(12,D=s.showgamename),"visiblegames"in s&&a(13,k=s.visiblegames),"favorites"in s&&a(14,E=s.favorites),"lastplayedperiod"in s&&a(22,P=s.lastplayedperiod),"lastplayedorder"in s&&a(23,L=s.lastplayedorder),"lastplayedlimit"in s&&a(24,C=s.lastplayedlimit),"casinomygames"in s&&a(15,S=s.casinomygames),"lastplayedunique"in s&&a(25,j=s.lastplayedunique),"fetchviaevent"in s&&a(16,F=s.fetchviaevent),"mbsource"in s&&a(17,q=s.mbsource)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&2097152&&b&&J(),n.$$.dirty[0]&262208&&h&&g&&t.setClientStyling(g,h),n.$$.dirty[0]&262272&&y&&g&&t.setClientStylingURL(g,y),n.$$.dirty[0]&393216&&g&&t.setStreamStyling(g,`${q}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,v,R,A,M,D,k,E,S,F,q,g,N,i,b,P,L,C,j,B]}class Y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:21,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:15,lastplayedunique:25,fetchviaevent:16,mbsource:17},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[22]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[23]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[24]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[25]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}get mbsource(){return this.$$.ctx[17]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(Y,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{},mbsource:{}},[],[],!0);exports.default=Y;
|
package/components/{CasinoLastPlayedSection-BPD5poPp.js → CasinoLastPlayedSection-DjRKGJ8F.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as M, h as D, p as Z, j as L, r as A, k as le, o as re, C as oe, m as ue, q as ce, E as i, O as me, J as ge, K as de, L as fe, M as he, N as ye } from "./CasinoCalendar-
|
|
2
|
-
import "./CasinoFavoritesSection-
|
|
1
|
+
import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as M, h as D, p as Z, j as L, r as A, k as le, o as re, C as oe, m as ue, q as ce, E as i, O as me, J as ge, K as de, L as fe, M as he, N as ye } from "./CasinoCalendar-C4nbeq1g.js";
|
|
2
|
+
import "./CasinoFavoritesSection-D57jT5yq.js";
|
|
3
3
|
function K(s, e) {
|
|
4
4
|
ee(s, e);
|
|
5
5
|
}
|