@everymatrix/casino-lobby 1.0.69 → 1.0.71

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/components/CasinoCalendar-1k0BBA2l.js +5133 -0
  2. package/components/CasinoCalendar-BWBvGSII.cjs +9 -0
  3. package/components/CasinoCalendarDailyDetails-BJKIAkbG.js +605 -0
  4. package/components/CasinoCalendarDailyDetails-DgCaDV2E.cjs +1 -0
  5. package/components/CasinoCalendarDailyItem-C_l5_Cbi.cjs +1 -0
  6. package/components/CasinoCalendarDailyItem-TzcXj_xp.js +228 -0
  7. package/components/CasinoCategoriesSlider-DOK-1TsD.cjs +1 -0
  8. package/components/CasinoCategoriesSlider-H9kgmTPC.js +597 -0
  9. package/components/CasinoCollectionsProviders-CTMcJfG2.cjs +1 -0
  10. package/components/CasinoCollectionsProviders-DcAD0Be0.js +624 -0
  11. package/components/CasinoFavoritesSection-BZ_XLRmR.cjs +1 -0
  12. package/components/CasinoFavoritesSection-DH6BKL3S.js +418 -0
  13. package/components/CasinoFilter-D7CEXK-l.cjs +1 -0
  14. package/components/CasinoFilter-ud_GEK1c.js +628 -0
  15. package/components/CasinoGamePage-CCUgU-We.js +4282 -0
  16. package/components/CasinoGamePage-DWdj6K_K.cjs +18 -0
  17. package/components/CasinoGameThumbnail-C1lv7WRh.js +1823 -0
  18. package/components/CasinoGameThumbnail-d4TgneFz.cjs +38 -0
  19. package/components/CasinoGamesCategorySection-BHD5W6Ng.cjs +1 -0
  20. package/components/CasinoGamesCategorySection-Exr1MKB1.js +3018 -0
  21. package/components/CasinoJackpotBanner-BFf1l5SE.cjs +1 -0
  22. package/components/CasinoJackpotBanner-CQopUNVw.js +619 -0
  23. package/components/CasinoLastPlayedSection-CT0J4KWo.cjs +1 -0
  24. package/components/CasinoLastPlayedSection-Cg5CoSZQ.js +563 -0
  25. package/components/CasinoLobby-CQ5QQCC5.js +2341 -0
  26. package/components/CasinoLobby-CeXBQomU.cjs +1 -0
  27. package/components/CasinoModal-DRQwRcHh.cjs +1 -0
  28. package/components/CasinoModal-tGpCX8AS.js +372 -0
  29. package/components/CasinoMostPlayedSection-DxHuPS1x.js +580 -0
  30. package/components/CasinoMostPlayedSection-mR65chYs.cjs +1 -0
  31. package/components/CasinoMyGames-BEQmLbuR.js +1313 -0
  32. package/components/CasinoMyGames-fIZN6Hwx.cjs +1 -0
  33. package/components/CasinoPage-B3P3Beyx.js +3525 -0
  34. package/components/CasinoPage-CV3pXWvT.cjs +1 -0
  35. package/components/CasinoRandomGame-BHTCDUvy.cjs +2 -0
  36. package/components/CasinoRandomGame-DVAINYig.js +641 -0
  37. package/components/CasinoSearch-CEyowN7y.cjs +1 -0
  38. package/components/CasinoSearch-DhJUhsQG.js +1066 -0
  39. package/components/CasinoSlider-C9caYXJM.js +803 -0
  40. package/components/CasinoSlider-CeyUOxE1.cjs +1 -0
  41. package/components/CasinoSort-BKpaIJVo.js +425 -0
  42. package/components/CasinoSort-C_BR2AM6.cjs +1 -0
  43. package/components/CasinoWinners-OIwhz7Uv.cjs +1 -0
  44. package/components/CasinoWinners-osa_wAsU.js +878 -0
  45. package/components/GeneralAnimationLoading-Bn_rjnZO.cjs +1 -0
  46. package/components/GeneralAnimationLoading-hP0Vi1pK.js +75 -0
  47. package/package.json +8 -7
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-BWBvGSII.cjs");function de(n,t){e.addMessages(n,t)}function fe(n){e.$locale.set(n)}const me={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..."}};function ve(n){e.append_styles(n,"svelte-5amccy",':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}.svelte-5amccy.svelte-5amccy,.svelte-5amccy.svelte-5amccy::before,.svelte-5amccy.svelte-5amccy::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.mainWrapper.svelte-5amccy.svelte-5amccy{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.svelte-5amccy.svelte-5amccy{grid-area:vendorLogo;height:24px;width:auto;display:flex;align-items:center}.vendorLogo.svelte-5amccy img.svelte-5amccy{height:100%;width:auto}.displayCard.svelte-5amccy.svelte-5amccy{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.svelte-5amccy .iconWrapper.svelte-5amccy{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard.svelte-5amccy .displayCardIcon.svelte-5amccy{height:100%;width:auto}.displayCard.svelte-5amccy .cardLabel.svelte-5amccy{font-size:0.8rem;font-style:italic}.displayCard.svelte-5amccy .cardTextWrapper.svelte-5amccy{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title.svelte-5amccy.svelte-5amccy{grid-area:title;display:flex;align-items:center}.title.svelte-5amccy img.svelte-5amccy{height:50px}.displayContainer.svelte-5amccy.svelte-5amccy{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer.svelte-5amccy .jackpotValue.svelte-5amccy{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer.svelte-5amccy .jackpot-currency.svelte-5amccy{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper.svelte-5amccy.svelte-5amccy{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread.svelte-5amccy.svelte-5amccy{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile.svelte-5amccy.svelte-5amccy{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread.svelte-5amccy .pairWrapper.svelte-5amccy{justify-content:center}.typeSpread.svelte-5amccy .vendorLogo.svelte-5amccy{justify-content:flex-end}.typeSpread.svelte-5amccy .title.svelte-5amccy{justify-content:flex-start}.typeSpread.svelte-5amccy .displayContainer.svelte-5amccy{justify-content:space-evenly}.typeLeft.svelte-5amccy.svelte-5amccy{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile.svelte-5amccy.svelte-5amccy{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile.svelte-5amccy .displayContainer.svelte-5amccy{margin-top:50px;gap:2.6rem}.typeLeft.svelte-5amccy .displayContainer.svelte-5amccy{padding-left:2rem;width:auto;gap:2rem}.typeLeft.svelte-5amccy .pairWrapper.svelte-5amccy{justify-content:space-evenly}.typeLeft.svelte-5amccy .title.svelte-5amccy{align-items:flex-end}.typeLeft.svelte-5amccy .vendorLogo.svelte-5amccy{height:24px;width:auto}.mobile.svelte-5amccy.svelte-5amccy{grid-template-columns:1fr;grid-gap:1rem}.mobile.svelte-5amccy .title.svelte-5amccy{justify-content:center;align-items:center}.mobile.svelte-5amccy .title img.svelte-5amccy{height:80px}.mobile.svelte-5amccy .displayContainer.svelte-5amccy{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile.svelte-5amccy .vendorLogo.svelte-5amccy{justify-content:center;align-items:center}.mobile.svelte-5amccy .displayCard.svelte-5amccy{width:40vw}.tablet.svelte-5amccy .displayContainer.svelte-5amccy{flex-wrap:wrap}.DisplayNone.svelte-5amccy.svelte-5amccy{display:none}.loadingPrompt.svelte-5amccy.svelte-5amccy{color:#333}.LoadingSpinner.svelte-5amccy.svelte-5amccy{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner.svelte-5amccy.svelte-5amccy:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:svelte-5amccy-LoadingSpinner 1.2s linear infinite}@keyframes svelte-5amccy-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function ue(n,t,a){const c=n.slice();return c[48]=t[a],c[50]=a,c}function he(n){let t,a,c,s,r,i,x,g,b,w,d,j,T,u,S,m,f;function k(p,C){return p[5]?ke:Ce}let v=k(n),L=v(n);return{c(){t=e.element("div"),a=e.element("div"),c=e.element("div"),s=e.element("div"),r=e.element("img"),x=e.space(),g=e.element("div"),L.c(),b=e.space(),w=e.element("div"),d=e.element("img"),e.src_url_equal(r.src,i=n[6])||e.attr(r,"src",i),e.attr(r,"alt",""),e.attr(r,"class","svelte-5amccy"),e.attr(s,"class","vendorLogo svelte-5amccy"),e.attr(g,"class","displayContainer svelte-5amccy"),e.src_url_equal(d.src,j=n[11])||e.attr(d,"src",j),e.attr(d,"alt",""),e.attr(d,"class","svelte-5amccy"),e.attr(w,"class","title svelte-5amccy"),e.attr(c,"class",T="mainWrapper "+n[0]+" "+(n[4]&&!n[5]?"mobile":n[5]?"tablet":"")+" svelte-5amccy"),e.set_style(c,"background","url("+n[10]+")"),e.attr(a,"class","jackpotBanner svelte-5amccy"),e.attr(t,"class",u=e.null_to_empty(n[12]?"DisplayNone":"")+" svelte-5amccy"),e.attr(t,"part",S=n[12]?"DisplayNone":"")},m(p,C){e.insert(p,t,C),e.append(t,a),e.append(a,c),e.append(c,s),e.append(s,r),e.append(c,x),e.append(c,g),L.m(g,null),e.append(c,b),e.append(c,w),e.append(w,d),m||(f=e.listen(a,"click",n[31]),m=!0)},p(p,C){C[0]&64&&!e.src_url_equal(r.src,i=p[6])&&e.attr(r,"src",i),v===(v=k(p))&&L?L.p(p,C):(L.d(1),L=v(p),L&&(L.c(),L.m(g,null))),C[0]&2048&&!e.src_url_equal(d.src,j=p[11])&&e.attr(d,"src",j),C[0]&49&&T!==(T="mainWrapper "+p[0]+" "+(p[4]&&!p[5]?"mobile":p[5]?"tablet":"")+" svelte-5amccy")&&e.attr(c,"class",T),C[0]&1024&&e.set_style(c,"background","url("+p[10]+")"),C[0]&4096&&u!==(u=e.null_to_empty(p[12]?"DisplayNone":"")+" svelte-5amccy")&&e.attr(t,"class",u),C[0]&4096&&S!==(S=p[12]?"DisplayNone":"")&&e.attr(t,"part",S)},d(p){p&&e.detach(t),L.d(),m=!1,f()}}}function _e(n){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner svelte-5amccy"),e.attr(t,"part","LoadingSpinner")},m(a,c){e.insert(a,t,c)},p:e.noop,d(a){a&&e.detach(t)}}}function be(n){let t;return{c(){t=e.element("p"),t.textContent="500 Server error",e.attr(t,"class","svelte-5amccy")},m(a,c){e.insert(a,t,c)},p:e.noop,d(a){a&&e.detach(t)}}}function ke(n){let t,a,c,s,r,i,x=n[8][0]+"",g,b,w,d=n[7][0]+"",j,T,u,S,m,f,k,v,L,p,C=n[8][1]+"",H,I,N,M=n[7][1]+"",P,Z,D,F,A,q,V,z,W,G,U,Y=n[8][2]+"",$,E,K,Q=n[7][2]+"",ee,le,O,te,ne,R,B,J,l,o,h=n[8][3]+"",ae,X,ce,se=n[7][3]+"",re,pe,ie,oe;return{c(){t=e.element("div"),a=e.element("div"),c=e.element("div"),s=e.element("img"),i=e.element("span"),g=e.text(x),b=e.element("span"),w=e.element("span"),j=e.text(d),T=e.space(),u=e.element("span"),S=e.text(n[1]),m=e.space(),f=e.element("div"),k=e.element("div"),v=e.element("img"),p=e.element("span"),H=e.text(C),I=e.element("span"),N=e.element("span"),P=e.text(M),Z=e.space(),D=e.element("span"),F=e.text(n[1]),A=e.space(),q=e.element("div"),V=e.element("div"),z=e.element("div"),W=e.element("img"),U=e.element("span"),$=e.text(Y),E=e.element("span"),K=e.element("span"),ee=e.text(Q),le=e.space(),O=e.element("span"),te=e.text(n[1]),ne=e.space(),R=e.element("div"),B=e.element("div"),J=e.element("img"),o=e.element("span"),ae=e.text(h),X=e.element("span"),ce=e.element("span"),re=e.text(se),pe=e.space(),ie=e.element("span"),oe=e.text(n[1]),e.attr(s,"class","displayCardIcon svelte-5amccy"),e.src_url_equal(s.src,r=n[9][0])||e.attr(s,"src",r),e.attr(s,"alt",""),e.attr(i,"class","cardLabel svelte-5amccy"),e.attr(c,"class","iconWrapper svelte-5amccy"),e.attr(w,"class","jackpotValue svelte-5amccy"),e.attr(u,"class","jackpot-currency svelte-5amccy"),e.attr(b,"class","cardTextWrapper svelte-5amccy"),e.attr(a,"class","displayCard svelte-5amccy"),e.attr(v,"class","displayCardIcon svelte-5amccy"),e.src_url_equal(v.src,L=n[9][1])||e.attr(v,"src",L),e.attr(v,"alt",""),e.attr(p,"class","cardLabel svelte-5amccy"),e.attr(k,"class","iconWrapper svelte-5amccy"),e.attr(N,"class","jackpotValue svelte-5amccy"),e.attr(D,"class","jackpot-currency svelte-5amccy"),e.attr(I,"class","cardTextWrapper svelte-5amccy"),e.attr(f,"class","displayCard svelte-5amccy"),e.attr(t,"class","pairWrapper svelte-5amccy"),e.attr(W,"class","displayCardIcon svelte-5amccy"),e.src_url_equal(W.src,G=n[9][2])||e.attr(W,"src",G),e.attr(W,"alt",""),e.attr(U,"class","cardLabel svelte-5amccy"),e.attr(z,"class","iconWrapper svelte-5amccy"),e.attr(K,"class","jackpotValue svelte-5amccy"),e.attr(O,"class","jackpot-currency svelte-5amccy"),e.attr(E,"class","cardTextWrapper svelte-5amccy"),e.attr(V,"class","displayCard svelte-5amccy"),e.attr(J,"class","displayCardIcon svelte-5amccy"),e.src_url_equal(J.src,l=n[9][3])||e.attr(J,"src",l),e.attr(J,"alt",""),e.attr(o,"class","cardLabel svelte-5amccy"),e.attr(B,"class","iconWrapper svelte-5amccy"),e.attr(ce,"class","jackpotValue svelte-5amccy"),e.attr(ie,"class","jackpot-currency svelte-5amccy"),e.attr(X,"class","cardTextWrapper svelte-5amccy"),e.attr(R,"class","displayCard svelte-5amccy"),e.attr(q,"class","pairWrapper svelte-5amccy")},m(y,_){e.insert(y,t,_),e.append(t,a),e.append(a,c),e.append(c,s),e.append(c,i),e.append(i,g),e.append(a,b),e.append(b,w),e.append(w,j),e.append(b,T),e.append(b,u),e.append(u,S),e.append(t,m),e.append(t,f),e.append(f,k),e.append(k,v),e.append(k,p),e.append(p,H),e.append(f,I),e.append(I,N),e.append(N,P),e.append(I,Z),e.append(I,D),e.append(D,F),e.insert(y,A,_),e.insert(y,q,_),e.append(q,V),e.append(V,z),e.append(z,W),e.append(z,U),e.append(U,$),e.append(V,E),e.append(E,K),e.append(K,ee),e.append(E,le),e.append(E,O),e.append(O,te),e.append(q,ne),e.append(q,R),e.append(R,B),e.append(B,J),e.append(B,o),e.append(o,ae),e.append(R,X),e.append(X,ce),e.append(ce,re),e.append(X,pe),e.append(X,ie),e.append(ie,oe)},p(y,_){_[0]&512&&!e.src_url_equal(s.src,r=y[9][0])&&e.attr(s,"src",r),_[0]&256&&x!==(x=y[8][0]+"")&&e.set_data(g,x),_[0]&128&&d!==(d=y[7][0]+"")&&e.set_data(j,d),_[0]&2&&e.set_data(S,y[1]),_[0]&512&&!e.src_url_equal(v.src,L=y[9][1])&&e.attr(v,"src",L),_[0]&256&&C!==(C=y[8][1]+"")&&e.set_data(H,C),_[0]&128&&M!==(M=y[7][1]+"")&&e.set_data(P,M),_[0]&2&&e.set_data(F,y[1]),_[0]&512&&!e.src_url_equal(W.src,G=y[9][2])&&e.attr(W,"src",G),_[0]&256&&Y!==(Y=y[8][2]+"")&&e.set_data($,Y),_[0]&128&&Q!==(Q=y[7][2]+"")&&e.set_data(ee,Q),_[0]&2&&e.set_data(te,y[1]),_[0]&512&&!e.src_url_equal(J.src,l=y[9][3])&&e.attr(J,"src",l),_[0]&256&&h!==(h=y[8][3]+"")&&e.set_data(ae,h),_[0]&128&&se!==(se=y[7][3]+"")&&e.set_data(re,se),_[0]&2&&e.set_data(oe,y[1])},d(y){y&&(e.detach(t),e.detach(A),e.detach(q))}}}function Ce(n){let t,a=e.ensure_array_like(Array(4)),c=[];for(let s=0;s<a.length;s+=1)c[s]=ye(ue(n,a,s));return{c(){for(let s=0;s<c.length;s+=1)c[s].c();t=e.empty()},m(s,r){for(let i=0;i<c.length;i+=1)c[i]&&c[i].m(s,r);e.insert(s,t,r)},p(s,r){if(r[0]&898){a=e.ensure_array_like(Array(4));let i;for(i=0;i<a.length;i+=1){const x=ue(s,a,i);c[i]?c[i].p(x,r):(c[i]=ye(x),c[i].c(),c[i].m(t.parentNode,t))}for(;i<c.length;i+=1)c[i].d(1);c.length=a.length}},d(s){s&&e.detach(t),e.destroy_each(c,s)}}}function ye(n){var S;let t,a,c,s,r,i=n[8][n[50]]+"",x,g,b,w=((S=n[7][n[50]])!=null?S:"")+"",d,j,T,u;return{c(){t=e.element("div"),a=e.element("div"),c=e.element("img"),r=e.element("span"),x=e.text(i),g=e.element("span"),b=e.element("span"),d=e.text(w),j=e.space(),T=e.element("span"),u=e.text(n[1]),e.attr(c,"class","displayCardIcon svelte-5amccy"),e.src_url_equal(c.src,s=n[9][n[50]])||e.attr(c,"src",s),e.attr(c,"alt",""),e.attr(r,"class","cardLabel svelte-5amccy"),e.attr(a,"class","iconWrapper svelte-5amccy"),e.attr(b,"class","jackpotValue svelte-5amccy"),e.attr(T,"class","jackpot-currency svelte-5amccy"),e.attr(g,"class","cardTextWrapper svelte-5amccy"),e.attr(t,"class","displayCard svelte-5amccy")},m(m,f){e.insert(m,t,f),e.append(t,a),e.append(a,c),e.append(a,r),e.append(r,x),e.append(t,g),e.append(g,b),e.append(b,d),e.append(g,j),e.append(g,T),e.append(T,u)},p(m,f){var k;f[0]&512&&!e.src_url_equal(c.src,s=m[9][m[50]])&&e.attr(c,"src",s),f[0]&256&&i!==(i=m[8][m[50]]+"")&&e.set_data(x,i),f[0]&128&&w!==(w=((k=m[7][m[50]])!=null?k:"")+"")&&e.set_data(d,w),f[0]&2&&e.set_data(u,m[1])},d(m){m&&e.detach(t)}}}function xe(n){let t;function a(r,i){return r[13]?be:r[3]?_e:he}let c=a(n),s=c(n);return{c(){t=e.element("div"),s.c(),e.attr(t,"class","svelte-5amccy")},m(r,i){e.insert(r,t,i),s.m(t,null),n[32](t)},p(r,i){c===(c=a(r))&&s?s.p(r,i):(s.d(1),s=c(r),s&&(s.c(),s.m(t,null)))},i:e.noop,o:e.noop,d(r){r&&e.detach(t),s.d(),n[32](null)}}}function we(n,t,a){let{visualstructure:c=""}=t,{title:s=""}=t,{caticon0:r=""}=t,{caticon1:i=""}=t,{caticon2:x=""}=t,{caticon3:g=""}=t,{iconlabels:b=""}=t,{backgroundsrc:w=""}=t,{currency:d=""}=t,{backgroundsrcmobile:j=""}=t,{titlelogopath:T=""}=t,{lang:u="en"}=t,{clientstyling:S=""}=t,{clientstylingurl:m=""}=t,{translationurl:f=""}=t,{endpoint:k=""}=t,{gameid:v=""}=t,L=window.navigator.userAgent,p=!1,C=!1,H="",I=[],N=[],M=[],P=[],Z=[],D="",F="",A,q=!1,V=!0,z=!1,W;const G=()=>{fetch(f).then(o=>o.json()).then(o=>{Object.keys(o).forEach(h=>{de(h,o[h])})}).catch(o=>{console.log(o)})};Object.keys(me).forEach(l=>{de(l,me[l])});const U=["typeSpread","typeLeft"],Y=l=>{var h;const o=(h=l==null?void 0:l.items[0])==null?void 0:h.additionalData;o&&Object.values(o).forEach(ae=>I.push(+ae))},$=l=>{var o;a(6,H=((o=l==null?void 0:l.items[0])==null?void 0:o.vendorLogo)||"")},E=()=>{if(k&&u&&d){let l=new URL(`${k}/v1/casino/jackpots`);l.searchParams.append("filter",`id=${v}`),l.searchParams.append("language",u),l.searchParams.append("additionalDataCurrency",d),fetch(l.href).then(o=>o.json().then(h=>{a(3,V=!1),W=h,N.includes(v)&&(Y(W),$(W))}).catch(h=>{a(13,z=!0),a(3,V=!1),console.error(h)}))}},K=()=>{let l=new URL(`${k}/v1/casino/jackpots/config`);fetch(l.href).then(o=>o.json()).then(o=>{a(30,N=o.egtJackpotIds.map(h=>h))})},Q=()=>{a(4,p=e.isMobile(L)&&window.innerHeight/window.innerWidth>1),a(5,C=le()),I.length!==0&&a(7,M=ee(I)),a(8,P=b?b.split(",").map(l=>l.trim().toUpperCase()):new Array(4).fill("")),U.includes(c.trim())?a(0,c=c.trim()):(console.warn(`Invalid Attribute Value: "${c}" is not a valid value for the "visualstructure" attribute. Defaulting to "${U[0]}"`),a(0,c=U[0])),a(10,D=j&&p&&!C?j:w),a(11,F=T),a(9,Z=[r,i,x,g])},ee=l=>l.map(o=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(o)),le=()=>{const l=window.innerHeight/window.innerWidth;return .75<l&&l<1.6},O=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:v},window.location.href),typeof gtag=="function"&&gtag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:`${v}`})},te=()=>{let l=document.createElement("style");l.innerHTML=S,A.appendChild(l)},ne=()=>{a(12,q=!0);let l=new URL(m),o=document.createElement("style");fetch(l.href).then(h=>h.text()).then(h=>{o.innerHTML=h,setTimeout(()=>{A.appendChild(o)},1),setTimeout(()=>{a(12,q=!1)},500)})},R=()=>{fe(u)},B=()=>O();function J(l){e.binding_callbacks[l?"unshift":"push"](()=>{A=l,a(2,A)})}return n.$$set=l=>{"visualstructure"in l&&a(0,c=l.visualstructure),"title"in l&&a(15,s=l.title),"caticon0"in l&&a(16,r=l.caticon0),"caticon1"in l&&a(17,i=l.caticon1),"caticon2"in l&&a(18,x=l.caticon2),"caticon3"in l&&a(19,g=l.caticon3),"iconlabels"in l&&a(20,b=l.iconlabels),"backgroundsrc"in l&&a(21,w=l.backgroundsrc),"currency"in l&&a(1,d=l.currency),"backgroundsrcmobile"in l&&a(22,j=l.backgroundsrcmobile),"titlelogopath"in l&&a(23,T=l.titlelogopath),"lang"in l&&a(24,u=l.lang),"clientstyling"in l&&a(25,S=l.clientstyling),"clientstylingurl"in l&&a(26,m=l.clientstylingurl),"translationurl"in l&&a(27,f=l.translationurl),"endpoint"in l&&a(28,k=l.endpoint),"gameid"in l&&a(29,v=l.gameid)},n.$$.update=()=>{n.$$.dirty[0]&268435456&&k&&K(),n.$$.dirty[0]&33554436&&A&&S&&te(),n.$$.dirty[0]&67108868&&A&&m&&ne(),n.$$.dirty[0]&1358954498&&k&&u&&d&&N.length>0&&E(),n.$$.dirty[0]&16777226&&d&&u&&!V&&Q(),n.$$.dirty[0]&16777216&&u&&R(),n.$$.dirty[0]&134217728&&f&&G()},[c,d,A,V,p,C,H,M,P,Z,D,F,q,z,O,s,r,i,x,g,b,w,j,T,u,S,m,f,k,v,N,B,J]}class ge extends e.SvelteComponent{constructor(t){super(),e.init(this,t,we,xe,e.safe_not_equal,{visualstructure:0,title:15,caticon0:16,caticon1:17,caticon2:18,caticon3:19,iconlabels:20,backgroundsrc:21,currency:1,backgroundsrcmobile:22,titlelogopath:23,lang:24,clientstyling:25,clientstylingurl:26,translationurl:27,endpoint:28,gameid:29},ve,[-1,-1])}get visualstructure(){return this.$$.ctx[0]}set visualstructure(t){this.$$set({visualstructure:t}),e.flush()}get title(){return this.$$.ctx[15]}set title(t){this.$$set({title:t}),e.flush()}get caticon0(){return this.$$.ctx[16]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[17]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[18]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[19]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get iconlabels(){return this.$$.ctx[20]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[21]}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[22]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[23]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get lang(){return this.$$.ctx[24]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[25]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[26]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[27]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get endpoint(){return this.$$.ctx[28]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get gameid(){return this.$$.ctx[29]}set gameid(t){this.$$set({gameid:t}),e.flush()}}e.create_custom_element(ge,{visualstructure:{},title:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},iconlabels:{},backgroundsrc:{},currency:{},backgroundsrcmobile:{},titlelogopath:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},endpoint:{},gameid:{}},[],[],!0);exports.default=ge;
@@ -0,0 +1,619 @@
1
+ import { I as Se, $ as We, S as Ae, i as Ie, f as S, c as Ve, s as Je, b as Ne, e as r, d as t, g as O, C as ve, k as F, m as ze, n as Ue, r as R, D as N, G as ke, W as Ce, v as s, w as Ee, u as V, A as J, q as we, F as De, B as Be } from "./CasinoCalendar-1k0BBA2l.js";
2
+ function Le(c, e) {
3
+ Se(c, e);
4
+ }
5
+ function Me(c) {
6
+ We.set(c);
7
+ }
8
+ const xe = {
9
+ en: {
10
+ loadingText: "Loading, please wait..."
11
+ },
12
+ "zh-hk": {
13
+ loadingText: "加载请稍候 ..."
14
+ },
15
+ fr: {
16
+ loadingText: "Chargement, veuillez patienter..."
17
+ },
18
+ ro: {
19
+ loadingText: "Se incarca, va rugam asteptati..."
20
+ },
21
+ es: {
22
+ loadingText: "Cargando"
23
+ },
24
+ pt: {
25
+ loadingText: "Carregando, por favor espere..."
26
+ },
27
+ de: {
28
+ loadingText: "Laden, bitte warten..."
29
+ },
30
+ hr: {
31
+ loadingText: "Učitavanje"
32
+ },
33
+ "pt-br": {
34
+ CarregandoText: "Carregando"
35
+ },
36
+ "es-mx": {
37
+ CargandoText: "Cargando, por favor espere…"
38
+ },
39
+ tr: {
40
+ loadingText: "Yükleniyor, lütfen bekleyin..."
41
+ }
42
+ };
43
+ function Re(c) {
44
+ Ne(c, "svelte-5amccy", ':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}.svelte-5amccy.svelte-5amccy,.svelte-5amccy.svelte-5amccy::before,.svelte-5amccy.svelte-5amccy::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.mainWrapper.svelte-5amccy.svelte-5amccy{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.svelte-5amccy.svelte-5amccy{grid-area:vendorLogo;height:24px;width:auto;display:flex;align-items:center}.vendorLogo.svelte-5amccy img.svelte-5amccy{height:100%;width:auto}.displayCard.svelte-5amccy.svelte-5amccy{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.svelte-5amccy .iconWrapper.svelte-5amccy{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard.svelte-5amccy .displayCardIcon.svelte-5amccy{height:100%;width:auto}.displayCard.svelte-5amccy .cardLabel.svelte-5amccy{font-size:0.8rem;font-style:italic}.displayCard.svelte-5amccy .cardTextWrapper.svelte-5amccy{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title.svelte-5amccy.svelte-5amccy{grid-area:title;display:flex;align-items:center}.title.svelte-5amccy img.svelte-5amccy{height:50px}.displayContainer.svelte-5amccy.svelte-5amccy{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer.svelte-5amccy .jackpotValue.svelte-5amccy{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer.svelte-5amccy .jackpot-currency.svelte-5amccy{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper.svelte-5amccy.svelte-5amccy{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread.svelte-5amccy.svelte-5amccy{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile.svelte-5amccy.svelte-5amccy{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread.svelte-5amccy .pairWrapper.svelte-5amccy{justify-content:center}.typeSpread.svelte-5amccy .vendorLogo.svelte-5amccy{justify-content:flex-end}.typeSpread.svelte-5amccy .title.svelte-5amccy{justify-content:flex-start}.typeSpread.svelte-5amccy .displayContainer.svelte-5amccy{justify-content:space-evenly}.typeLeft.svelte-5amccy.svelte-5amccy{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile.svelte-5amccy.svelte-5amccy{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile.svelte-5amccy .displayContainer.svelte-5amccy{margin-top:50px;gap:2.6rem}.typeLeft.svelte-5amccy .displayContainer.svelte-5amccy{padding-left:2rem;width:auto;gap:2rem}.typeLeft.svelte-5amccy .pairWrapper.svelte-5amccy{justify-content:space-evenly}.typeLeft.svelte-5amccy .title.svelte-5amccy{align-items:flex-end}.typeLeft.svelte-5amccy .vendorLogo.svelte-5amccy{height:24px;width:auto}.mobile.svelte-5amccy.svelte-5amccy{grid-template-columns:1fr;grid-gap:1rem}.mobile.svelte-5amccy .title.svelte-5amccy{justify-content:center;align-items:center}.mobile.svelte-5amccy .title img.svelte-5amccy{height:80px}.mobile.svelte-5amccy .displayContainer.svelte-5amccy{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile.svelte-5amccy .vendorLogo.svelte-5amccy{justify-content:center;align-items:center}.mobile.svelte-5amccy .displayCard.svelte-5amccy{width:40vw}.tablet.svelte-5amccy .displayContainer.svelte-5amccy{flex-wrap:wrap}.DisplayNone.svelte-5amccy.svelte-5amccy{display:none}.loadingPrompt.svelte-5amccy.svelte-5amccy{color:#333}.LoadingSpinner.svelte-5amccy.svelte-5amccy{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner.svelte-5amccy.svelte-5amccy:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:svelte-5amccy-LoadingSpinner 1.2s linear infinite}@keyframes svelte-5amccy-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
45
+ }
46
+ function je(c, e, a) {
47
+ const i = c.slice();
48
+ return i[48] = e[a], i[50] = a, i;
49
+ }
50
+ function He(c) {
51
+ let e, a, i, n, m, o, x, v, C, j, p, W, A, u, I, g, h;
52
+ function w(y, L) {
53
+ return (
54
+ /*tabletView*/
55
+ y[5] ? Pe : qe
56
+ );
57
+ }
58
+ let b = w(c), T = b(c);
59
+ return {
60
+ c() {
61
+ e = r("div"), a = r("div"), i = r("div"), n = r("div"), m = r("img"), x = R(), v = r("div"), T.c(), C = R(), j = r("div"), p = r("img"), N(m.src, o = /*vendorIcon*/
62
+ c[6]) || t(m, "src", o), t(m, "alt", ""), t(m, "class", "svelte-5amccy"), t(n, "class", "vendorLogo svelte-5amccy"), t(v, "class", "displayContainer svelte-5amccy"), N(p.src, W = /*titleLogoImg*/
63
+ c[11]) || t(p, "src", W), t(p, "alt", ""), t(p, "class", "svelte-5amccy"), t(j, "class", "title svelte-5amccy"), t(i, "class", A = "mainWrapper " + /*visualstructure*/
64
+ c[0] + " " + /*mobileView*/
65
+ (c[4] && !/*tabletView*/
66
+ c[5] ? "mobile" : (
67
+ /*tabletView*/
68
+ c[5] ? "tablet" : ""
69
+ )) + " svelte-5amccy"), ke(i, "background", "url(" + /*backgroundImg*/
70
+ c[10] + ")"), t(a, "class", "jackpotBanner svelte-5amccy"), t(e, "class", u = Ce(
71
+ /*displayNone*/
72
+ c[12] ? "DisplayNone" : ""
73
+ ) + " svelte-5amccy"), t(e, "part", I = /*displayNone*/
74
+ c[12] ? "DisplayNone" : "");
75
+ },
76
+ m(y, L) {
77
+ O(y, e, L), s(e, a), s(a, i), s(i, n), s(n, m), s(i, x), s(i, v), T.m(v, null), s(i, C), s(i, j), s(j, p), g || (h = Ee(
78
+ a,
79
+ "click",
80
+ /*click_handler*/
81
+ c[31]
82
+ ), g = !0);
83
+ },
84
+ p(y, L) {
85
+ L[0] & /*vendorIcon*/
86
+ 64 && !N(m.src, o = /*vendorIcon*/
87
+ y[6]) && t(m, "src", o), b === (b = w(y)) && T ? T.p(y, L) : (T.d(1), T = b(y), T && (T.c(), T.m(v, null))), L[0] & /*titleLogoImg*/
88
+ 2048 && !N(p.src, W = /*titleLogoImg*/
89
+ y[11]) && t(p, "src", W), L[0] & /*visualstructure, mobileView, tabletView*/
90
+ 49 && A !== (A = "mainWrapper " + /*visualstructure*/
91
+ y[0] + " " + /*mobileView*/
92
+ (y[4] && !/*tabletView*/
93
+ y[5] ? "mobile" : (
94
+ /*tabletView*/
95
+ y[5] ? "tablet" : ""
96
+ )) + " svelte-5amccy") && t(i, "class", A), L[0] & /*backgroundImg*/
97
+ 1024 && ke(i, "background", "url(" + /*backgroundImg*/
98
+ y[10] + ")"), L[0] & /*displayNone*/
99
+ 4096 && u !== (u = Ce(
100
+ /*displayNone*/
101
+ y[12] ? "DisplayNone" : ""
102
+ ) + " svelte-5amccy") && t(e, "class", u), L[0] & /*displayNone*/
103
+ 4096 && I !== (I = /*displayNone*/
104
+ y[12] ? "DisplayNone" : "") && t(e, "part", I);
105
+ },
106
+ d(y) {
107
+ y && F(e), T.d(), g = !1, h();
108
+ }
109
+ };
110
+ }
111
+ function Oe(c) {
112
+ let e;
113
+ return {
114
+ c() {
115
+ e = r("div"), t(e, "class", "LoadingSpinner svelte-5amccy"), t(e, "part", "LoadingSpinner");
116
+ },
117
+ m(a, i) {
118
+ O(a, e, i);
119
+ },
120
+ p: ve,
121
+ d(a) {
122
+ a && F(e);
123
+ }
124
+ };
125
+ }
126
+ function Fe(c) {
127
+ let e;
128
+ return {
129
+ c() {
130
+ e = r("p"), e.textContent = "500 Server error", t(e, "class", "svelte-5amccy");
131
+ },
132
+ m(a, i) {
133
+ O(a, e, i);
134
+ },
135
+ p: ve,
136
+ d(a) {
137
+ a && F(e);
138
+ }
139
+ };
140
+ }
141
+ function Pe(c) {
142
+ let e, a, i, n, m, o, x = (
143
+ /*formattedLabels*/
144
+ c[8][0] + ""
145
+ ), v, C, j, p = (
146
+ /*formattedJackpotValues*/
147
+ c[7][0] + ""
148
+ ), W, A, u, I, g, h, w, b, T, y, L = (
149
+ /*formattedLabels*/
150
+ c[8][1] + ""
151
+ ), $, D, H, Y = (
152
+ /*formattedJackpotValues*/
153
+ c[7][1] + ""
154
+ ), ee, ne, K, te, U, E, B, P, z, ae, q, le = (
155
+ /*formattedLabels*/
156
+ c[8][2] + ""
157
+ ), re, G, ce, se = (
158
+ /*formattedJackpotValues*/
159
+ c[7][2] + ""
160
+ ), oe, ye, Q, me, pe, X, Z, M, l, d, _ = (
161
+ /*formattedLabels*/
162
+ c[8][3] + ""
163
+ ), de, ie, ge, ue = (
164
+ /*formattedJackpotValues*/
165
+ c[7][3] + ""
166
+ ), he, _e, fe, be;
167
+ return {
168
+ c() {
169
+ e = r("div"), a = r("div"), i = r("div"), n = r("img"), o = r("span"), v = V(x), C = r("span"), j = r("span"), W = V(p), A = R(), u = r("span"), I = V(
170
+ /*currency*/
171
+ c[1]
172
+ ), g = R(), h = r("div"), w = r("div"), b = r("img"), y = r("span"), $ = V(L), D = r("span"), H = r("span"), ee = V(Y), ne = R(), K = r("span"), te = V(
173
+ /*currency*/
174
+ c[1]
175
+ ), U = R(), E = r("div"), B = r("div"), P = r("div"), z = r("img"), q = r("span"), re = V(le), G = r("span"), ce = r("span"), oe = V(se), ye = R(), Q = r("span"), me = V(
176
+ /*currency*/
177
+ c[1]
178
+ ), pe = R(), X = r("div"), Z = r("div"), M = r("img"), d = r("span"), de = V(_), ie = r("span"), ge = r("span"), he = V(ue), _e = R(), fe = r("span"), be = V(
179
+ /*currency*/
180
+ c[1]
181
+ ), t(n, "class", "displayCardIcon svelte-5amccy"), N(n.src, m = /*caticons*/
182
+ c[9][0]) || t(n, "src", m), t(n, "alt", ""), t(o, "class", "cardLabel svelte-5amccy"), t(i, "class", "iconWrapper svelte-5amccy"), t(j, "class", "jackpotValue svelte-5amccy"), t(u, "class", "jackpot-currency svelte-5amccy"), t(C, "class", "cardTextWrapper svelte-5amccy"), t(a, "class", "displayCard svelte-5amccy"), t(b, "class", "displayCardIcon svelte-5amccy"), N(b.src, T = /*caticons*/
183
+ c[9][1]) || t(b, "src", T), t(b, "alt", ""), t(y, "class", "cardLabel svelte-5amccy"), t(w, "class", "iconWrapper svelte-5amccy"), t(H, "class", "jackpotValue svelte-5amccy"), t(K, "class", "jackpot-currency svelte-5amccy"), t(D, "class", "cardTextWrapper svelte-5amccy"), t(h, "class", "displayCard svelte-5amccy"), t(e, "class", "pairWrapper svelte-5amccy"), t(z, "class", "displayCardIcon svelte-5amccy"), N(z.src, ae = /*caticons*/
184
+ c[9][2]) || t(z, "src", ae), t(z, "alt", ""), t(q, "class", "cardLabel svelte-5amccy"), t(P, "class", "iconWrapper svelte-5amccy"), t(ce, "class", "jackpotValue svelte-5amccy"), t(Q, "class", "jackpot-currency svelte-5amccy"), t(G, "class", "cardTextWrapper svelte-5amccy"), t(B, "class", "displayCard svelte-5amccy"), t(M, "class", "displayCardIcon svelte-5amccy"), N(M.src, l = /*caticons*/
185
+ c[9][3]) || t(M, "src", l), t(M, "alt", ""), t(d, "class", "cardLabel svelte-5amccy"), t(Z, "class", "iconWrapper svelte-5amccy"), t(ge, "class", "jackpotValue svelte-5amccy"), t(fe, "class", "jackpot-currency svelte-5amccy"), t(ie, "class", "cardTextWrapper svelte-5amccy"), t(X, "class", "displayCard svelte-5amccy"), t(E, "class", "pairWrapper svelte-5amccy");
186
+ },
187
+ m(f, k) {
188
+ O(f, e, k), s(e, a), s(a, i), s(i, n), s(i, o), s(o, v), s(a, C), s(C, j), s(j, W), s(C, A), s(C, u), s(u, I), s(e, g), s(e, h), s(h, w), s(w, b), s(w, y), s(y, $), s(h, D), s(D, H), s(H, ee), s(D, ne), s(D, K), s(K, te), O(f, U, k), O(f, E, k), s(E, B), s(B, P), s(P, z), s(P, q), s(q, re), s(B, G), s(G, ce), s(ce, oe), s(G, ye), s(G, Q), s(Q, me), s(E, pe), s(E, X), s(X, Z), s(Z, M), s(Z, d), s(d, de), s(X, ie), s(ie, ge), s(ge, he), s(ie, _e), s(ie, fe), s(fe, be);
189
+ },
190
+ p(f, k) {
191
+ k[0] & /*caticons*/
192
+ 512 && !N(n.src, m = /*caticons*/
193
+ f[9][0]) && t(n, "src", m), k[0] & /*formattedLabels*/
194
+ 256 && x !== (x = /*formattedLabels*/
195
+ f[8][0] + "") && J(v, x), k[0] & /*formattedJackpotValues*/
196
+ 128 && p !== (p = /*formattedJackpotValues*/
197
+ f[7][0] + "") && J(W, p), k[0] & /*currency*/
198
+ 2 && J(
199
+ I,
200
+ /*currency*/
201
+ f[1]
202
+ ), k[0] & /*caticons*/
203
+ 512 && !N(b.src, T = /*caticons*/
204
+ f[9][1]) && t(b, "src", T), k[0] & /*formattedLabels*/
205
+ 256 && L !== (L = /*formattedLabels*/
206
+ f[8][1] + "") && J($, L), k[0] & /*formattedJackpotValues*/
207
+ 128 && Y !== (Y = /*formattedJackpotValues*/
208
+ f[7][1] + "") && J(ee, Y), k[0] & /*currency*/
209
+ 2 && J(
210
+ te,
211
+ /*currency*/
212
+ f[1]
213
+ ), k[0] & /*caticons*/
214
+ 512 && !N(z.src, ae = /*caticons*/
215
+ f[9][2]) && t(z, "src", ae), k[0] & /*formattedLabels*/
216
+ 256 && le !== (le = /*formattedLabels*/
217
+ f[8][2] + "") && J(re, le), k[0] & /*formattedJackpotValues*/
218
+ 128 && se !== (se = /*formattedJackpotValues*/
219
+ f[7][2] + "") && J(oe, se), k[0] & /*currency*/
220
+ 2 && J(
221
+ me,
222
+ /*currency*/
223
+ f[1]
224
+ ), k[0] & /*caticons*/
225
+ 512 && !N(M.src, l = /*caticons*/
226
+ f[9][3]) && t(M, "src", l), k[0] & /*formattedLabels*/
227
+ 256 && _ !== (_ = /*formattedLabels*/
228
+ f[8][3] + "") && J(de, _), k[0] & /*formattedJackpotValues*/
229
+ 128 && ue !== (ue = /*formattedJackpotValues*/
230
+ f[7][3] + "") && J(he, ue), k[0] & /*currency*/
231
+ 2 && J(
232
+ be,
233
+ /*currency*/
234
+ f[1]
235
+ );
236
+ },
237
+ d(f) {
238
+ f && (F(e), F(U), F(E));
239
+ }
240
+ };
241
+ }
242
+ function qe(c) {
243
+ let e, a = we(Array(4)), i = [];
244
+ for (let n = 0; n < a.length; n += 1)
245
+ i[n] = Te(je(c, a, n));
246
+ return {
247
+ c() {
248
+ for (let n = 0; n < i.length; n += 1)
249
+ i[n].c();
250
+ e = De();
251
+ },
252
+ m(n, m) {
253
+ for (let o = 0; o < i.length; o += 1)
254
+ i[o] && i[o].m(n, m);
255
+ O(n, e, m);
256
+ },
257
+ p(n, m) {
258
+ if (m[0] & /*currency, formattedJackpotValues, formattedLabels, caticons*/
259
+ 898) {
260
+ a = we(Array(4));
261
+ let o;
262
+ for (o = 0; o < a.length; o += 1) {
263
+ const x = je(n, a, o);
264
+ i[o] ? i[o].p(x, m) : (i[o] = Te(x), i[o].c(), i[o].m(e.parentNode, e));
265
+ }
266
+ for (; o < i.length; o += 1)
267
+ i[o].d(1);
268
+ i.length = a.length;
269
+ }
270
+ },
271
+ d(n) {
272
+ n && F(e), Be(i, n);
273
+ }
274
+ };
275
+ }
276
+ function Te(c) {
277
+ var I;
278
+ let e, a, i, n, m, o = (
279
+ /*formattedLabels*/
280
+ c[8][
281
+ /*i*/
282
+ c[50]
283
+ ] + ""
284
+ ), x, v, C, j = (
285
+ /*formattedJackpotValues*/
286
+ ((I = c[7][
287
+ /*i*/
288
+ c[50]
289
+ ]) != null ? I : "") + ""
290
+ ), p, W, A, u;
291
+ return {
292
+ c() {
293
+ e = r("div"), a = r("div"), i = r("img"), m = r("span"), x = V(o), v = r("span"), C = r("span"), p = V(j), W = R(), A = r("span"), u = V(
294
+ /*currency*/
295
+ c[1]
296
+ ), t(i, "class", "displayCardIcon svelte-5amccy"), N(i.src, n = /*caticons*/
297
+ c[9][
298
+ /*i*/
299
+ c[50]
300
+ ]) || t(i, "src", n), t(i, "alt", ""), t(m, "class", "cardLabel svelte-5amccy"), t(a, "class", "iconWrapper svelte-5amccy"), t(C, "class", "jackpotValue svelte-5amccy"), t(A, "class", "jackpot-currency svelte-5amccy"), t(v, "class", "cardTextWrapper svelte-5amccy"), t(e, "class", "displayCard svelte-5amccy");
301
+ },
302
+ m(g, h) {
303
+ O(g, e, h), s(e, a), s(a, i), s(a, m), s(m, x), s(e, v), s(v, C), s(C, p), s(v, W), s(v, A), s(A, u);
304
+ },
305
+ p(g, h) {
306
+ var w;
307
+ h[0] & /*caticons*/
308
+ 512 && !N(i.src, n = /*caticons*/
309
+ g[9][
310
+ /*i*/
311
+ g[50]
312
+ ]) && t(i, "src", n), h[0] & /*formattedLabels*/
313
+ 256 && o !== (o = /*formattedLabels*/
314
+ g[8][
315
+ /*i*/
316
+ g[50]
317
+ ] + "") && J(x, o), h[0] & /*formattedJackpotValues*/
318
+ 128 && j !== (j = /*formattedJackpotValues*/
319
+ ((w = g[7][
320
+ /*i*/
321
+ g[50]
322
+ ]) != null ? w : "") + "") && J(p, j), h[0] & /*currency*/
323
+ 2 && J(
324
+ u,
325
+ /*currency*/
326
+ g[1]
327
+ );
328
+ },
329
+ d(g) {
330
+ g && F(e);
331
+ }
332
+ };
333
+ }
334
+ function Ge(c) {
335
+ let e;
336
+ function a(m, o) {
337
+ return (
338
+ /*hasErrors*/
339
+ m[13] ? Fe : (
340
+ /*isLoading*/
341
+ m[3] ? Oe : He
342
+ )
343
+ );
344
+ }
345
+ let i = a(c), n = i(c);
346
+ return {
347
+ c() {
348
+ e = r("div"), n.c(), t(e, "class", "svelte-5amccy");
349
+ },
350
+ m(m, o) {
351
+ O(m, e, o), n.m(e, null), c[32](e);
352
+ },
353
+ p(m, o) {
354
+ i === (i = a(m)) && n ? n.p(m, o) : (n.d(1), n = i(m), n && (n.c(), n.m(e, null)));
355
+ },
356
+ i: ve,
357
+ o: ve,
358
+ d(m) {
359
+ m && F(e), n.d(), c[32](null);
360
+ }
361
+ };
362
+ }
363
+ function Ye(c, e, a) {
364
+ let { visualstructure: i = "" } = e, { title: n = "" } = e, { caticon0: m = "" } = e, { caticon1: o = "" } = e, { caticon2: x = "" } = e, { caticon3: v = "" } = e, { iconlabels: C = "" } = e, { backgroundsrc: j = "" } = e, { currency: p = "" } = e, { backgroundsrcmobile: W = "" } = e, { titlelogopath: A = "" } = e, { lang: u = "en" } = e, { clientstyling: I = "" } = e, { clientstylingurl: g = "" } = e, { translationurl: h = "" } = e, { endpoint: w = "" } = e, { gameid: b = "" } = e, T = window.navigator.userAgent, y = !1, L = !1, $ = "", D = [], H = [], Y = [], ee = [], ne = [], K = "", te = "", U, E = !1, B = !0, P = !1, z;
365
+ const ae = () => {
366
+ fetch(h).then((d) => d.json()).then((d) => {
367
+ Object.keys(d).forEach((_) => {
368
+ Le(_, d[_]);
369
+ });
370
+ }).catch((d) => {
371
+ console.log(d);
372
+ });
373
+ };
374
+ Object.keys(xe).forEach((l) => {
375
+ Le(l, xe[l]);
376
+ });
377
+ const q = ["typeSpread", "typeLeft"], le = (l) => {
378
+ var _;
379
+ const d = (_ = l == null ? void 0 : l.items[0]) == null ? void 0 : _.additionalData;
380
+ d && Object.values(d).forEach((de) => D.push(+de));
381
+ }, re = (l) => {
382
+ var d;
383
+ a(6, $ = ((d = l == null ? void 0 : l.items[0]) == null ? void 0 : d.vendorLogo) || "");
384
+ }, G = () => {
385
+ if (w && u && p) {
386
+ let l = new URL(`${w}/v1/casino/jackpots`);
387
+ l.searchParams.append("filter", `id=${b}`), l.searchParams.append("language", u), l.searchParams.append("additionalDataCurrency", p), fetch(l.href).then((d) => d.json().then((_) => {
388
+ a(3, B = !1), z = _, H.includes(b) && (le(z), re(z));
389
+ }).catch((_) => {
390
+ a(13, P = !0), a(3, B = !1), console.error(_);
391
+ }));
392
+ }
393
+ }, ce = () => {
394
+ let l = new URL(`${w}/v1/casino/jackpots/config`);
395
+ fetch(l.href).then((d) => d.json()).then((d) => {
396
+ a(30, H = d.egtJackpotIds.map((_) => _));
397
+ });
398
+ }, se = () => {
399
+ a(4, y = ze(T) && window.innerHeight / window.innerWidth > 1), a(5, L = ye()), D.length !== 0 && a(7, Y = oe(D)), a(8, ee = C ? C.split(",").map((l) => l.trim().toUpperCase()) : new Array(4).fill("")), q.includes(i.trim()) ? a(0, i = i.trim()) : (console.warn(`Invalid Attribute Value: "${i}" is not a valid value for the "visualstructure" attribute. Defaulting to "${q[0]}"`), a(0, i = q[0])), a(10, K = W && y && !L ? W : j), a(11, te = A), a(9, ne = [m, o, x, v]);
400
+ }, oe = (l) => l.map((d) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(d)), ye = () => {
401
+ const l = window.innerHeight / window.innerWidth;
402
+ return 0.75 < l && l < 1.6;
403
+ }, Q = () => {
404
+ window.postMessage({ type: "JackpotBannerClicked", gameid: b }, window.location.href), typeof gtag == "function" && gtag("event", "JackpotBannerClicked", {
405
+ context: "JackpotBanner",
406
+ gameId: `${b}`
407
+ });
408
+ }, me = () => {
409
+ let l = document.createElement("style");
410
+ l.innerHTML = I, U.appendChild(l);
411
+ }, pe = () => {
412
+ a(12, E = !0);
413
+ let l = new URL(g), d = document.createElement("style");
414
+ fetch(l.href).then((_) => _.text()).then((_) => {
415
+ d.innerHTML = _, setTimeout(
416
+ () => {
417
+ U.appendChild(d);
418
+ },
419
+ 1
420
+ ), setTimeout(
421
+ () => {
422
+ a(12, E = !1);
423
+ },
424
+ 500
425
+ );
426
+ });
427
+ }, X = () => {
428
+ Me(u);
429
+ }, Z = () => Q();
430
+ function M(l) {
431
+ Ue[l ? "unshift" : "push"](() => {
432
+ U = l, a(2, U);
433
+ });
434
+ }
435
+ return c.$$set = (l) => {
436
+ "visualstructure" in l && a(0, i = l.visualstructure), "title" in l && a(15, n = l.title), "caticon0" in l && a(16, m = l.caticon0), "caticon1" in l && a(17, o = l.caticon1), "caticon2" in l && a(18, x = l.caticon2), "caticon3" in l && a(19, v = l.caticon3), "iconlabels" in l && a(20, C = l.iconlabels), "backgroundsrc" in l && a(21, j = l.backgroundsrc), "currency" in l && a(1, p = l.currency), "backgroundsrcmobile" in l && a(22, W = l.backgroundsrcmobile), "titlelogopath" in l && a(23, A = l.titlelogopath), "lang" in l && a(24, u = l.lang), "clientstyling" in l && a(25, I = l.clientstyling), "clientstylingurl" in l && a(26, g = l.clientstylingurl), "translationurl" in l && a(27, h = l.translationurl), "endpoint" in l && a(28, w = l.endpoint), "gameid" in l && a(29, b = l.gameid);
437
+ }, c.$$.update = () => {
438
+ c.$$.dirty[0] & /*endpoint*/
439
+ 268435456 && w && ce(), c.$$.dirty[0] & /*customStylingContainer, clientstyling*/
440
+ 33554436 && U && I && me(), c.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
441
+ 67108868 && U && g && pe(), c.$$.dirty[0] & /*endpoint, lang, currency, validGameIds*/
442
+ 1358954498 && w && u && p && H.length > 0 && G(), c.$$.dirty[0] & /*currency, lang, isLoading*/
443
+ 16777226 && p && u && !B && se(), c.$$.dirty[0] & /*lang*/
444
+ 16777216 && u && X(), c.$$.dirty[0] & /*translationurl*/
445
+ 134217728 && h && ae();
446
+ }, [
447
+ i,
448
+ p,
449
+ U,
450
+ B,
451
+ y,
452
+ L,
453
+ $,
454
+ Y,
455
+ ee,
456
+ ne,
457
+ K,
458
+ te,
459
+ E,
460
+ P,
461
+ Q,
462
+ n,
463
+ m,
464
+ o,
465
+ x,
466
+ v,
467
+ C,
468
+ j,
469
+ W,
470
+ A,
471
+ u,
472
+ I,
473
+ g,
474
+ h,
475
+ w,
476
+ b,
477
+ H,
478
+ Z,
479
+ M
480
+ ];
481
+ }
482
+ class Ke extends Ae {
483
+ constructor(e) {
484
+ super(), Ie(
485
+ this,
486
+ e,
487
+ Ye,
488
+ Ge,
489
+ Je,
490
+ {
491
+ visualstructure: 0,
492
+ title: 15,
493
+ caticon0: 16,
494
+ caticon1: 17,
495
+ caticon2: 18,
496
+ caticon3: 19,
497
+ iconlabels: 20,
498
+ backgroundsrc: 21,
499
+ currency: 1,
500
+ backgroundsrcmobile: 22,
501
+ titlelogopath: 23,
502
+ lang: 24,
503
+ clientstyling: 25,
504
+ clientstylingurl: 26,
505
+ translationurl: 27,
506
+ endpoint: 28,
507
+ gameid: 29
508
+ },
509
+ Re,
510
+ [-1, -1]
511
+ );
512
+ }
513
+ get visualstructure() {
514
+ return this.$$.ctx[0];
515
+ }
516
+ set visualstructure(e) {
517
+ this.$$set({ visualstructure: e }), S();
518
+ }
519
+ get title() {
520
+ return this.$$.ctx[15];
521
+ }
522
+ set title(e) {
523
+ this.$$set({ title: e }), S();
524
+ }
525
+ get caticon0() {
526
+ return this.$$.ctx[16];
527
+ }
528
+ set caticon0(e) {
529
+ this.$$set({ caticon0: e }), S();
530
+ }
531
+ get caticon1() {
532
+ return this.$$.ctx[17];
533
+ }
534
+ set caticon1(e) {
535
+ this.$$set({ caticon1: e }), S();
536
+ }
537
+ get caticon2() {
538
+ return this.$$.ctx[18];
539
+ }
540
+ set caticon2(e) {
541
+ this.$$set({ caticon2: e }), S();
542
+ }
543
+ get caticon3() {
544
+ return this.$$.ctx[19];
545
+ }
546
+ set caticon3(e) {
547
+ this.$$set({ caticon3: e }), S();
548
+ }
549
+ get iconlabels() {
550
+ return this.$$.ctx[20];
551
+ }
552
+ set iconlabels(e) {
553
+ this.$$set({ iconlabels: e }), S();
554
+ }
555
+ get backgroundsrc() {
556
+ return this.$$.ctx[21];
557
+ }
558
+ set backgroundsrc(e) {
559
+ this.$$set({ backgroundsrc: e }), S();
560
+ }
561
+ get currency() {
562
+ return this.$$.ctx[1];
563
+ }
564
+ set currency(e) {
565
+ this.$$set({ currency: e }), S();
566
+ }
567
+ get backgroundsrcmobile() {
568
+ return this.$$.ctx[22];
569
+ }
570
+ set backgroundsrcmobile(e) {
571
+ this.$$set({ backgroundsrcmobile: e }), S();
572
+ }
573
+ get titlelogopath() {
574
+ return this.$$.ctx[23];
575
+ }
576
+ set titlelogopath(e) {
577
+ this.$$set({ titlelogopath: e }), S();
578
+ }
579
+ get lang() {
580
+ return this.$$.ctx[24];
581
+ }
582
+ set lang(e) {
583
+ this.$$set({ lang: e }), S();
584
+ }
585
+ get clientstyling() {
586
+ return this.$$.ctx[25];
587
+ }
588
+ set clientstyling(e) {
589
+ this.$$set({ clientstyling: e }), S();
590
+ }
591
+ get clientstylingurl() {
592
+ return this.$$.ctx[26];
593
+ }
594
+ set clientstylingurl(e) {
595
+ this.$$set({ clientstylingurl: e }), S();
596
+ }
597
+ get translationurl() {
598
+ return this.$$.ctx[27];
599
+ }
600
+ set translationurl(e) {
601
+ this.$$set({ translationurl: e }), S();
602
+ }
603
+ get endpoint() {
604
+ return this.$$.ctx[28];
605
+ }
606
+ set endpoint(e) {
607
+ this.$$set({ endpoint: e }), S();
608
+ }
609
+ get gameid() {
610
+ return this.$$.ctx[29];
611
+ }
612
+ set gameid(e) {
613
+ this.$$set({ gameid: e }), S();
614
+ }
615
+ }
616
+ Ve(Ke, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {} }, [], [], !0);
617
+ export {
618
+ Ke as default
619
+ };