@everymatrix/casino-page-nd 1.61.1 → 1.62.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-CActgJfo.js → CasinoCalendar-BqKTPcTA.js} +815 -772
- package/components/{CasinoCalendar-DEQsjGYf.js → CasinoCalendar-COGjnTBp.js} +803 -760
- package/components/CasinoCalendar-CTYPczGs.cjs +19 -0
- package/components/{CasinoCalendarDailyDetails-IPdibvfl.cjs → CasinoCalendarDailyDetails-0k3Mbp7j.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-CNvOUDQF.js → CasinoCalendarDailyDetails-B-2HEN0k.js} +3 -3
- package/components/{CasinoCalendarDailyDetails-CC6TR9nQ.js → CasinoCalendarDailyDetails-B1Kbh42-.js} +3 -3
- package/components/{CasinoCalendarDailyItem-ChqfPKS5.js → CasinoCalendarDailyItem-BAo9XQZN.js} +2 -2
- package/components/{CasinoCalendarDailyItem-BhZaE5Na.js → CasinoCalendarDailyItem-Du2TyLo9.js} +2 -2
- package/components/{CasinoCalendarDailyItem-C8h665gX.cjs → CasinoCalendarDailyItem-HqKMb6b5.cjs} +1 -1
- package/components/CasinoCollectionsProviders-25tyT_nE.cjs +1 -0
- package/components/{CasinoCollectionsProviders-BjsqtCyq.js → CasinoCollectionsProviders-B6-NH1uG.js} +33 -33
- package/components/{CasinoCollectionsProviders-Ch8nNgV3.js → CasinoCollectionsProviders-CISr8kKd.js} +31 -31
- package/components/{CasinoFavoritesSectionNd-BOdBDWfO.js → CasinoFavoritesSectionNd-CbphhnLn.js} +2 -2
- package/components/{CasinoFavoritesSectionNd-kDkqdg8u.js → CasinoFavoritesSectionNd-DHUJrUU6.js} +2 -2
- package/components/{CasinoFavoritesSectionNd-CU52aCqN.cjs → CasinoFavoritesSectionNd-DKmvqg-7.cjs} +1 -1
- package/components/CasinoFilter-BLpga2AP.js +645 -0
- package/components/CasinoFilter-Bux0JP7a.cjs +1 -0
- package/components/CasinoFilter-ZArji2Fo.js +644 -0
- package/components/CasinoGameThumbnailNd-1QS0O_TH.cjs +39 -0
- package/components/{CasinoGameThumbnailNd-D2J-44u8.js → CasinoGameThumbnailNd-CAuklq8V.js} +1405 -1420
- package/components/{CasinoGameThumbnailNd-EAXyywew.js → CasinoGameThumbnailNd-NvuQBwre.js} +1417 -1464
- package/components/CasinoGamesCategorySectionNd-B7ZaM7ag.cjs +1 -0
- package/components/{CasinoGamesCategorySectionNd-B22uq9iz.js → CasinoGamesCategorySectionNd-Cbw2wQ8K.js} +777 -763
- package/components/{CasinoGamesCategorySectionNd-CKGdrnsq.js → CasinoGamesCategorySectionNd-DDDMBQk9.js} +728 -715
- package/components/CasinoJackpotBanner-CeqExh_j.cjs +1 -0
- package/components/{CasinoJackpotBanner-Cw2f34zI.js → CasinoJackpotBanner-DFBWbvH2.js} +66 -66
- package/components/{CasinoJackpotBanner-D9xUtwg7.js → CasinoJackpotBanner-DQ1IsIFk.js} +108 -108
- package/components/{CasinoLastPlayedSectionNd-C2KVsKB8.js → CasinoLastPlayedSectionNd-B4d306_p.js} +2 -2
- package/components/{CasinoLastPlayedSectionNd-BnQqvnRg.js → CasinoLastPlayedSectionNd-IINk8wFh.js} +2 -2
- package/components/{CasinoLastPlayedSectionNd-B9wnOT_-.cjs → CasinoLastPlayedSectionNd-z9nMr7zu.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-Dhg_Mhhn.js → CasinoMostPlayedSectionNd-3LRNG3-N.js} +2 -2
- package/components/{CasinoMostPlayedSectionNd-E4Rt0XLc.cjs → CasinoMostPlayedSectionNd-CWc2Iwfb.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-KAUSjntF.js → CasinoMostPlayedSectionNd-DCKYnHCZ.js} +2 -2
- package/components/{CasinoMyGamesNd-B-2vthJ9.js → CasinoMyGamesNd-BZguCNXP.js} +4 -4
- package/components/{CasinoMyGamesNd-h2Xe27Rp.cjs → CasinoMyGamesNd-JoGjxyy8.cjs} +1 -1
- package/components/{CasinoMyGamesNd-B8HugjzK.js → CasinoMyGamesNd-QCMTjWs6.js} +4 -4
- package/components/CasinoPageNd-B12444EL.js +4091 -0
- package/components/CasinoPageNd-BZGi1FWq.js +4110 -0
- package/components/CasinoPageNd-DT2p4P7g.cjs +1 -0
- package/components/{CasinoRandomGame-DRZn6Pg6.js → CasinoRandomGame-BNih6bp6.js} +189 -190
- package/components/{CasinoRandomGame-CT5OhEAx.js → CasinoRandomGame-Cio8WMk-.js} +150 -151
- package/components/CasinoRandomGame-xw4dbeuI.cjs +2 -0
- package/components/{CasinoSearchNd-CHDdx0Wz.js → CasinoSearchNd-BRztOwiq.js} +3 -3
- package/components/{CasinoSearchNd-Ct3Vb_Ak.js → CasinoSearchNd-C2mClTE_.js} +3 -3
- package/components/{CasinoSearchNd-BY39yzwt.cjs → CasinoSearchNd-DO6ByWSX.cjs} +1 -1
- package/components/{CasinoSort-CzpvwvLX.js → CasinoSort-BM9d9KRg.js} +1 -1
- package/components/{CasinoSort-DS3nszcz.cjs → CasinoSort-DQBRVKih.cjs} +1 -1
- package/components/{CasinoSort-BlhgMyWl.js → CasinoSort-OZn7Nqjm.js} +1 -1
- package/components/{CasinoWinners-CylytjaN.js → CasinoWinners-DvUHEbqa.js} +4 -4
- package/components/{CasinoWinners-DyXEB2s9.js → CasinoWinners-Dz0f6qwR.js} +4 -4
- package/components/{CasinoWinners--IAJcisz.cjs → CasinoWinners-tcuAKE5W.cjs} +1 -1
- package/components/{GeneralAnimationLoading-nHUDiPDj.cjs → GeneralAnimationLoading-C48CX7Rb.cjs} +1 -1
- package/components/{GeneralAnimationLoading-Bges0e48.js → GeneralAnimationLoading-CGyjjsF2.js} +1 -1
- package/components/{GeneralAnimationLoading-jv8-NmS3.js → GeneralAnimationLoading-DFkXKRPZ.js} +1 -1
- package/es2015/casino-page-nd.cjs +1 -1
- package/es2015/casino-page-nd.js +1 -1
- package/esnext/casino-page-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652-CCalHFFZ.js +558 -0
- package/stencil/index-97d17652-CeszPuI-.cjs +1 -0
- package/stencil/index-97d17652-De_e2iwD.js +542 -0
- package/stencil/{index-b2193545-k_uiu1dU.js → index-b2193545-60VR4wV3.js} +1 -1
- package/stencil/{index-b2193545-CGYrx6SV.js → index-b2193545-LYFajSbf.js} +1 -1
- package/stencil/{index-b2193545-DU7jU8hT.cjs → index-b2193545-nJb2J-aJ.cjs} +1 -1
- package/stencil/ui-image-3911756b-B-U8CxGn.cjs +1 -0
- package/stencil/ui-image-3911756b-C-PJ3oso.js +39 -0
- package/stencil/ui-image-3911756b-D1cmuQAe.js +39 -0
- package/stencil/ui-image-CUjXE1FQ.js +25 -0
- package/stencil/ui-image-DO4by88q.js +7 -0
- package/stencil/ui-image-DgVuZYOM.cjs +1 -0
- package/stencil/ui-image_2-8wL-gGdE.cjs +73 -0
- package/stencil/ui-image_2-BcBI-Hq7.js +154 -0
- package/stencil/ui-image_2-CIsvIZfV.js +154 -0
- package/stencil/{ui-skeleton-6d1c12ae-4HBL8qol.js → ui-skeleton-1cb75d00-BWUmrSx4.js} +4 -4
- package/stencil/{ui-skeleton-6d1c12ae-C3POR2WV.cjs → ui-skeleton-1cb75d00-C9ZtbYpX.cjs} +2 -2
- package/stencil/{ui-skeleton-6d1c12ae-f1sFu8zZ.js → ui-skeleton-1cb75d00-D5AevndQ.js} +4 -4
- package/stencil/{ui-skeleton-22AocHRT.js → ui-skeleton-CDhNSEbX.js} +2 -2
- package/stencil/{ui-skeleton-Di9b-pPK.cjs → ui-skeleton-CUmVjhrn.cjs} +1 -1
- package/stencil/{ui-skeleton-CMD3xF0X.js → ui-skeleton-D5ACyLBl.js} +2 -2
- package/components/CasinoCalendar-BEwHkg9Z.cjs +0 -19
- package/components/CasinoCollectionsProviders-u4eeC1UZ.cjs +0 -1
- package/components/CasinoFilter-BNn_67vk.cjs +0 -1
- package/components/CasinoFilter-C8Pt8Aoj.js +0 -633
- package/components/CasinoFilter-mKJD6Kdm.js +0 -632
- package/components/CasinoGameThumbnailNd-v0f-g55t.cjs +0 -39
- package/components/CasinoGamesCategorySectionNd-D-dd4gkg.cjs +0 -1
- package/components/CasinoJackpotBanner-Bpr0u9EJ.cjs +0 -1
- package/components/CasinoPageNd-BytAYVFB.js +0 -3955
- package/components/CasinoPageNd-QVOrpNeF.cjs +0 -1
- package/components/CasinoPageNd-ra1F2u5E.js +0 -3936
- package/components/CasinoRandomGame-CSI8B4dX.cjs +0 -2
- package/stencil/index-b7bbd57e-BMsMsYAr.js +0 -550
- package/stencil/index-b7bbd57e-CPxyz2y0.js +0 -534
- package/stencil/index-b7bbd57e-CiQAmzc6.cjs +0 -1
- package/stencil/ui-image-38c3c15f--IPbitii.js +0 -39
- package/stencil/ui-image-38c3c15f-CQXMTl7T.js +0 -39
- package/stencil/ui-image-38c3c15f-Dv8v2u8d.cjs +0 -1
- package/stencil/ui-image-CV8AJ9cY.js +0 -29
- package/stencil/ui-image-DG3xEaHN.js +0 -11
- package/stencil/ui-image-LuWVcxjH.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-CTYPczGs.cjs");require("../stencil/ui-image-DgVuZYOM.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,"class","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,"class","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,"class","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,"class","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,"class","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,5 +1,5 @@
|
|
|
1
|
-
import { a as xe, $ as We, S as Ae, i as Ie, s as Je, f as
|
|
2
|
-
import "../stencil/ui-image-
|
|
1
|
+
import { a as xe, $ as We, S as Ae, i as Ie, s as Je, f as w, b as Ve, n as ve, d as H, h as F, j as r, o as Ee, W 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 Ce, 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-BqKTPcTA.js";
|
|
2
|
+
import "../stencil/ui-image-CUjXE1FQ.js";
|
|
3
3
|
function Le(a, e) {
|
|
4
4
|
xe(a, e);
|
|
5
5
|
}
|
|
@@ -52,17 +52,17 @@ function Se(a, e, i) {
|
|
|
52
52
|
return l[53] = e[i], l[55] = i, l;
|
|
53
53
|
}
|
|
54
54
|
function Ge(a) {
|
|
55
|
-
let e, i, l, s, u, c,
|
|
55
|
+
let e, i, l, s, u, c, C, k, h, L, b, W, J;
|
|
56
56
|
function _(d, m) {
|
|
57
57
|
return (
|
|
58
58
|
/*tabletView*/
|
|
59
|
-
d[6] ?
|
|
59
|
+
d[6] ? Qe : Xe
|
|
60
60
|
);
|
|
61
61
|
}
|
|
62
62
|
let S = _(a), g = S(a);
|
|
63
63
|
return {
|
|
64
64
|
c() {
|
|
65
|
-
e = r("div"), i = r("div"), l = r("div"), s = r("div"), u = O(), c = r("div"), g.c(),
|
|
65
|
+
e = r("div"), i = r("div"), l = r("div"), s = r("div"), u = O(), c = r("div"), g.c(), C = O(), k = r("div"), h = r("ui-image"), o(s, "class", "vendorLogo"), _e(s, "background-image", "url(" + /*vendorIcon*/
|
|
66
66
|
a[7] + ")"), o(c, "class", "displayContainer"), V(h.src, L = /*titleLogoImg*/
|
|
67
67
|
a[12]) || y(h, "src", L), y(h, "alt", ""), o(k, "class", "title"), o(l, "class", b = "mainWrapper " + /*visualstructure*/
|
|
68
68
|
a[0] + " " + /*mobileView*/
|
|
@@ -74,7 +74,7 @@ function Ge(a) {
|
|
|
74
74
|
a[11] + ")"), o(i, "class", "jackpotBanner"), o(e, "class", "");
|
|
75
75
|
},
|
|
76
76
|
m(d, m) {
|
|
77
|
-
F(d, e, m), n(e, i), n(i, l), n(l, s), n(l, u), n(l, c), g.m(c, null), n(l,
|
|
77
|
+
F(d, e, m), n(e, i), n(i, l), n(l, s), n(l, u), n(l, c), g.m(c, null), n(l, C), n(l, k), n(k, h), W || (J = Ne(
|
|
78
78
|
i,
|
|
79
79
|
"click",
|
|
80
80
|
/*click_handler*/
|
|
@@ -117,7 +117,7 @@ function Ke(a) {
|
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function Ye(a) {
|
|
121
121
|
let e;
|
|
122
122
|
return {
|
|
123
123
|
c() {
|
|
@@ -132,8 +132,8 @@ function Xe(a) {
|
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
134
|
}
|
|
135
|
-
function
|
|
136
|
-
let e, i, l, s, u, c,
|
|
135
|
+
function Qe(a) {
|
|
136
|
+
let e, i, l, s, u, c, C = (
|
|
137
137
|
/*formattedLabels*/
|
|
138
138
|
a[9][0] + ""
|
|
139
139
|
), k, h, L, b = (
|
|
@@ -148,7 +148,7 @@ function Ye(a) {
|
|
|
148
148
|
), W, J, _, S, g, d, m, T, D, P, ae = (
|
|
149
149
|
/*formattedLabels*/
|
|
150
150
|
a[9][1] + ""
|
|
151
|
-
),
|
|
151
|
+
), X, U, Z, G = (
|
|
152
152
|
/*realtimeupdate*/
|
|
153
153
|
(a[2] === "true" ? (
|
|
154
154
|
/*updatedJackpotValues*/
|
|
@@ -157,7 +157,7 @@ function Ye(a) {
|
|
|
157
157
|
/*formattedJackpotValues*/
|
|
158
158
|
a[8][1]
|
|
159
159
|
)) + ""
|
|
160
|
-
), K, ue, $, ie, ne, N, x, R, E,
|
|
160
|
+
), K, ue, $, ie, ne, N, x, R, E, Y, z, q = (
|
|
161
161
|
/*formattedLabels*/
|
|
162
162
|
a[9][2] + ""
|
|
163
163
|
), ge, B, le, se = (
|
|
@@ -169,7 +169,7 @@ function Ye(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, Q, M, te, oe, de = (
|
|
173
173
|
/*formattedLabels*/
|
|
174
174
|
a[9][3] + ""
|
|
175
175
|
), fe, t, p, j = (
|
|
@@ -181,36 +181,36 @@ function Ye(a) {
|
|
|
181
181
|
/*formattedJackpotValues*/
|
|
182
182
|
a[8][3]
|
|
183
183
|
)) + ""
|
|
184
|
-
), me,
|
|
184
|
+
), me, we, be, ke;
|
|
185
185
|
return {
|
|
186
186
|
c() {
|
|
187
|
-
e = r("div"), i = r("div"), l = r("div"), s = r("ui-image"), c = r("span"), k = I(
|
|
187
|
+
e = r("div"), i = r("div"), l = r("div"), s = r("ui-image"), c = r("span"), k = I(C), 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"), X = I(ae), U = r("span"), Z = 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"), Q = r("div"), M = r("ui-image"), oe = r("span"), fe = I(de), t = r("span"), p = r("span"), me = I(j), we = O(), be = r("span"), ke = I(
|
|
197
197
|
/*currency*/
|
|
198
198
|
a[1]
|
|
199
|
-
), y(s, "
|
|
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, "
|
|
201
|
-
a[10][1]) || y(T, "src", D), y(T, "alt", ""), o(P, "class", "cardLabel"), o(m, "class", "iconWrapper"), o(Z, "class", "jackpotValue"), o($, "class", "jackpot-currency"), o(U, "class", "cardTextWrapper"), o(d, "class", "displayCard"), o(e, "class", "pairWrapper"), y(E, "
|
|
202
|
-
a[10][2]) || y(E, "src",
|
|
203
|
-
a[10][3]) || y(M, "src", te), y(M, "alt", ""), o(oe, "class", "cardLabel"), o(
|
|
199
|
+
), y(s, "class", "displayCardIcon"), V(s.src, u = /*caticons*/
|
|
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, "class", "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(Z, "class", "jackpotValue"), o($, "class", "jackpot-currency"), o(U, "class", "cardTextWrapper"), o(d, "class", "displayCard"), o(e, "class", "pairWrapper"), y(E, "class", "displayCardIcon"), V(E.src, Y = /*caticons*/
|
|
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, "class", "displayCardIcon"), V(M.src, te = /*caticons*/
|
|
203
|
+
a[10][3]) || y(M, "src", te), y(M, "alt", ""), o(oe, "class", "cardLabel"), o(Q, "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, X), n(d, U), n(U, Z), n(Z, 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, Q), n(Q, M), n(Q, oe), n(oe, fe), n(ee, t), n(t, p), n(p, me), n(t, we), n(t, be), n(be, ke);
|
|
207
207
|
},
|
|
208
208
|
p(f, v) {
|
|
209
209
|
v[0] & /*caticons*/
|
|
210
210
|
1024 && !V(s.src, u = /*caticons*/
|
|
211
211
|
f[10][0]) && y(s, "src", u), v[0] & /*formattedLabels*/
|
|
212
|
-
512 &&
|
|
213
|
-
f[9][0] + "") && A(k,
|
|
212
|
+
512 && C !== (C = /*formattedLabels*/
|
|
213
|
+
f[9][0] + "") && A(k, C), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
214
214
|
16644 && b !== (b = /*realtimeupdate*/
|
|
215
215
|
(f[2] === "true" ? (
|
|
216
216
|
/*updatedJackpotValues*/
|
|
@@ -227,7 +227,7 @@ function Ye(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(X, ae), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
231
231
|
16644 && G !== (G = /*realtimeupdate*/
|
|
232
232
|
(f[2] === "true" ? (
|
|
233
233
|
/*updatedJackpotValues*/
|
|
@@ -241,8 +241,8 @@ function Ye(a) {
|
|
|
241
241
|
/*currency*/
|
|
242
242
|
f[1]
|
|
243
243
|
), v[0] & /*caticons*/
|
|
244
|
-
1024 && !V(E.src,
|
|
245
|
-
f[10][2]) && y(E, "src",
|
|
244
|
+
1024 && !V(E.src, Y = /*caticons*/
|
|
245
|
+
f[10][2]) && y(E, "src", Y), v[0] & /*formattedLabels*/
|
|
246
246
|
512 && q !== (q = /*formattedLabels*/
|
|
247
247
|
f[9][2] + "") && A(ge, q), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
248
248
|
16644 && se !== (se = /*realtimeupdate*/
|
|
@@ -281,8 +281,8 @@ function Ye(a) {
|
|
|
281
281
|
}
|
|
282
282
|
};
|
|
283
283
|
}
|
|
284
|
-
function
|
|
285
|
-
let e, i =
|
|
284
|
+
function Xe(a) {
|
|
285
|
+
let e, i = Ce(Array(4)), l = [];
|
|
286
286
|
for (let s = 0; s < i.length; s += 1)
|
|
287
287
|
l[s] = Te(Se(a, i, s));
|
|
288
288
|
return {
|
|
@@ -299,11 +299,11 @@ function Qe(a) {
|
|
|
299
299
|
p(s, u) {
|
|
300
300
|
if (u[0] & /*currency, realtimeupdate, updatedJackpotValues, formattedJackpotValues, formattedLabels, caticons*/
|
|
301
301
|
18182) {
|
|
302
|
-
i =
|
|
302
|
+
i = Ce(Array(4));
|
|
303
303
|
let c;
|
|
304
304
|
for (c = 0; c < i.length; c += 1) {
|
|
305
|
-
const
|
|
306
|
-
l[c] ? l[c].p(
|
|
305
|
+
const C = Se(s, i, c);
|
|
306
|
+
l[c] ? l[c].p(C, u) : (l[c] = Te(C), l[c].c(), l[c].m(e.parentNode, e));
|
|
307
307
|
}
|
|
308
308
|
for (; c < l.length; c += 1)
|
|
309
309
|
l[c].d(1);
|
|
@@ -323,7 +323,7 @@ function Te(a) {
|
|
|
323
323
|
/*i*/
|
|
324
324
|
a[55]
|
|
325
325
|
] + ""
|
|
326
|
-
),
|
|
326
|
+
), C, k, h, L = (
|
|
327
327
|
/*realtimeupdate*/
|
|
328
328
|
(a[2] === "true" ? (
|
|
329
329
|
/*updatedJackpotValues*/
|
|
@@ -341,17 +341,17 @@ function Te(a) {
|
|
|
341
341
|
), b, W, J, _;
|
|
342
342
|
return {
|
|
343
343
|
c() {
|
|
344
|
-
e = r("div"), i = r("div"), l = r("ui-image"), u = r("span"),
|
|
344
|
+
e = r("div"), i = r("div"), l = r("ui-image"), u = r("span"), C = I(c), k = r("span"), h = r("span"), b = I(L), W = O(), J = r("span"), _ = I(
|
|
345
345
|
/*currency*/
|
|
346
346
|
a[1]
|
|
347
|
-
), y(l, "
|
|
347
|
+
), y(l, "class", "displayCardIcon"), V(l.src, s = /*caticons*/
|
|
348
348
|
a[10][
|
|
349
349
|
/*i*/
|
|
350
350
|
a[55]
|
|
351
351
|
]) || y(l, "src", s), y(l, "alt", ""), o(u, "class", "cardLabel"), o(i, "class", "iconWrapper"), o(h, "class", "jackpotValue"), o(J, "class", "jackpot-currency"), o(k, "class", "cardTextWrapper"), o(e, "class", "displayCard");
|
|
352
352
|
},
|
|
353
353
|
m(g, d) {
|
|
354
|
-
F(g, e, d), n(e, i), n(i, l), n(i, u), n(u,
|
|
354
|
+
F(g, e, d), n(e, i), n(i, l), n(i, u), n(u, C), n(e, k), n(k, h), n(h, b), n(k, W), n(k, J), n(J, _);
|
|
355
355
|
},
|
|
356
356
|
p(g, d) {
|
|
357
357
|
var m;
|
|
@@ -365,7 +365,7 @@ function Te(a) {
|
|
|
365
365
|
g[9][
|
|
366
366
|
/*i*/
|
|
367
367
|
g[55]
|
|
368
|
-
] + "") && A(
|
|
368
|
+
] + "") && A(C, c), d[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
369
369
|
16644 && L !== (L = /*realtimeupdate*/
|
|
370
370
|
(g[2] === "true" ? (
|
|
371
371
|
/*updatedJackpotValues*/
|
|
@@ -396,7 +396,7 @@ function Ze(a) {
|
|
|
396
396
|
function i(u, c) {
|
|
397
397
|
return (
|
|
398
398
|
/*hasErrors*/
|
|
399
|
-
u[13] ?
|
|
399
|
+
u[13] ? Ye : (
|
|
400
400
|
/*isLoading*/
|
|
401
401
|
u[4] ? Ke : Ge
|
|
402
402
|
)
|
|
@@ -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:
|
|
424
|
+
let { visualstructure: l = "" } = e, { title: s = "" } = e, { caticon0: u = "" } = e, { caticon1: c = "" } = e, { caticon2: C = "" } = 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, X = !1, U = !1, Z = "", 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) => {
|
|
@@ -445,7 +445,7 @@ function $e(a, e, i) {
|
|
|
445
445
|
if (m && _ && b) {
|
|
446
446
|
let t = new URL(`${m}/v1/casino/jackpots`);
|
|
447
447
|
t.searchParams.append("filter", `id=${T}`), t.searchParams.append("language", _), t.searchParams.append("additionalDataCurrency", b), fetch(t.href).then((p) => p.json().then((j) => {
|
|
448
|
-
i(4, R = !1),
|
|
448
|
+
i(4, R = !1), Y = j, K.includes(T) && (le(Y), se(Y));
|
|
449
449
|
}).catch((j) => {
|
|
450
450
|
i(13, E = !0), i(4, R = !1), console.error(j);
|
|
451
451
|
}).finally(() => {
|
|
@@ -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, X = 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 && X && !U ? W : L), i(12, N = J), i(10, ie = [u, c, C, 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
|
+
}, Q = () => {
|
|
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,14 +485,14 @@ 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 = () => Q();
|
|
489
489
|
function fe(t) {
|
|
490
490
|
Ue[t ? "unshift" : "push"](() => {
|
|
491
491
|
x = t, i(3, x);
|
|
492
492
|
});
|
|
493
493
|
}
|
|
494
494
|
return a.$$set = (t) => {
|
|
495
|
-
"visualstructure" in t && i(0, l = t.visualstructure), "title" in t && i(16, s = t.title), "caticon0" in t && i(17, u = t.caticon0), "caticon1" in t && i(18, c = t.caticon1), "caticon2" in t && i(19,
|
|
495
|
+
"visualstructure" in t && i(0, l = t.visualstructure), "title" in t && i(16, s = t.title), "caticon0" in t && i(17, u = t.caticon0), "caticon1" in t && i(18, c = t.caticon1), "caticon2" in t && i(19, C = t.caticon2), "caticon3" in t && i(20, k = t.caticon3), "iconlabels" in t && i(21, h = t.iconlabels), "backgroundsrc" in t && i(22, L = t.backgroundsrc), "currency" in t && i(1, b = t.currency), "backgroundsrcmobile" in t && i(23, W = t.backgroundsrcmobile), "titlelogopath" in t && i(24, J = t.titlelogopath), "lang" in t && i(25, _ = t.lang), "clientstyling" in t && i(26, S = t.clientstyling), "clientstylingurl" in t && i(27, g = t.clientstylingurl), "translationurl" in t && i(28, d = t.translationurl), "endpoint" in t && i(29, m = t.endpoint), "gameid" in t && i(30, T = t.gameid), "mbsource" in t && i(31, D = t.mbsource), "realtimeupdate" in t && i(2, P = t.realtimeupdate);
|
|
496
496
|
}, a.$$.update = () => {
|
|
497
497
|
a.$$.dirty[0] & /*endpoint*/
|
|
498
498
|
536870912 && m && re(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
@@ -512,7 +512,7 @@ function $e(a, e, i) {
|
|
|
512
512
|
P,
|
|
513
513
|
x,
|
|
514
514
|
R,
|
|
515
|
-
|
|
515
|
+
X,
|
|
516
516
|
U,
|
|
517
517
|
Z,
|
|
518
518
|
ue,
|
|
@@ -522,11 +522,11 @@ function $e(a, e, i) {
|
|
|
522
522
|
N,
|
|
523
523
|
E,
|
|
524
524
|
q,
|
|
525
|
-
|
|
525
|
+
Q,
|
|
526
526
|
s,
|
|
527
527
|
u,
|
|
528
528
|
c,
|
|
529
|
-
|
|
529
|
+
C,
|
|
530
530
|
k,
|
|
531
531
|
h,
|
|
532
532
|
L,
|
|
@@ -581,115 +581,115 @@ class et extends Ae {
|
|
|
581
581
|
return this.$$.ctx[0];
|
|
582
582
|
}
|
|
583
583
|
set visualstructure(e) {
|
|
584
|
-
this.$$set({ visualstructure: e }),
|
|
584
|
+
this.$$set({ visualstructure: e }), w();
|
|
585
585
|
}
|
|
586
586
|
get title() {
|
|
587
587
|
return this.$$.ctx[16];
|
|
588
588
|
}
|
|
589
589
|
set title(e) {
|
|
590
|
-
this.$$set({ title: e }),
|
|
590
|
+
this.$$set({ title: e }), w();
|
|
591
591
|
}
|
|
592
592
|
get caticon0() {
|
|
593
593
|
return this.$$.ctx[17];
|
|
594
594
|
}
|
|
595
595
|
set caticon0(e) {
|
|
596
|
-
this.$$set({ caticon0: e }),
|
|
596
|
+
this.$$set({ caticon0: e }), w();
|
|
597
597
|
}
|
|
598
598
|
get caticon1() {
|
|
599
599
|
return this.$$.ctx[18];
|
|
600
600
|
}
|
|
601
601
|
set caticon1(e) {
|
|
602
|
-
this.$$set({ caticon1: e }),
|
|
602
|
+
this.$$set({ caticon1: e }), w();
|
|
603
603
|
}
|
|
604
604
|
get caticon2() {
|
|
605
605
|
return this.$$.ctx[19];
|
|
606
606
|
}
|
|
607
607
|
set caticon2(e) {
|
|
608
|
-
this.$$set({ caticon2: e }),
|
|
608
|
+
this.$$set({ caticon2: e }), w();
|
|
609
609
|
}
|
|
610
610
|
get caticon3() {
|
|
611
611
|
return this.$$.ctx[20];
|
|
612
612
|
}
|
|
613
613
|
set caticon3(e) {
|
|
614
|
-
this.$$set({ caticon3: e }),
|
|
614
|
+
this.$$set({ caticon3: e }), w();
|
|
615
615
|
}
|
|
616
616
|
get iconlabels() {
|
|
617
617
|
return this.$$.ctx[21];
|
|
618
618
|
}
|
|
619
619
|
set iconlabels(e) {
|
|
620
|
-
this.$$set({ iconlabels: e }),
|
|
620
|
+
this.$$set({ iconlabels: e }), w();
|
|
621
621
|
}
|
|
622
622
|
get backgroundsrc() {
|
|
623
623
|
return this.$$.ctx[22];
|
|
624
624
|
}
|
|
625
625
|
set backgroundsrc(e) {
|
|
626
|
-
this.$$set({ backgroundsrc: e }),
|
|
626
|
+
this.$$set({ backgroundsrc: e }), w();
|
|
627
627
|
}
|
|
628
628
|
get currency() {
|
|
629
629
|
return this.$$.ctx[1];
|
|
630
630
|
}
|
|
631
631
|
set currency(e) {
|
|
632
|
-
this.$$set({ currency: e }),
|
|
632
|
+
this.$$set({ currency: e }), w();
|
|
633
633
|
}
|
|
634
634
|
get backgroundsrcmobile() {
|
|
635
635
|
return this.$$.ctx[23];
|
|
636
636
|
}
|
|
637
637
|
set backgroundsrcmobile(e) {
|
|
638
|
-
this.$$set({ backgroundsrcmobile: e }),
|
|
638
|
+
this.$$set({ backgroundsrcmobile: e }), w();
|
|
639
639
|
}
|
|
640
640
|
get titlelogopath() {
|
|
641
641
|
return this.$$.ctx[24];
|
|
642
642
|
}
|
|
643
643
|
set titlelogopath(e) {
|
|
644
|
-
this.$$set({ titlelogopath: e }),
|
|
644
|
+
this.$$set({ titlelogopath: e }), w();
|
|
645
645
|
}
|
|
646
646
|
get lang() {
|
|
647
647
|
return this.$$.ctx[25];
|
|
648
648
|
}
|
|
649
649
|
set lang(e) {
|
|
650
|
-
this.$$set({ lang: e }),
|
|
650
|
+
this.$$set({ lang: e }), w();
|
|
651
651
|
}
|
|
652
652
|
get clientstyling() {
|
|
653
653
|
return this.$$.ctx[26];
|
|
654
654
|
}
|
|
655
655
|
set clientstyling(e) {
|
|
656
|
-
this.$$set({ clientstyling: e }),
|
|
656
|
+
this.$$set({ clientstyling: e }), w();
|
|
657
657
|
}
|
|
658
658
|
get clientstylingurl() {
|
|
659
659
|
return this.$$.ctx[27];
|
|
660
660
|
}
|
|
661
661
|
set clientstylingurl(e) {
|
|
662
|
-
this.$$set({ clientstylingurl: e }),
|
|
662
|
+
this.$$set({ clientstylingurl: e }), w();
|
|
663
663
|
}
|
|
664
664
|
get translationurl() {
|
|
665
665
|
return this.$$.ctx[28];
|
|
666
666
|
}
|
|
667
667
|
set translationurl(e) {
|
|
668
|
-
this.$$set({ translationurl: e }),
|
|
668
|
+
this.$$set({ translationurl: e }), w();
|
|
669
669
|
}
|
|
670
670
|
get endpoint() {
|
|
671
671
|
return this.$$.ctx[29];
|
|
672
672
|
}
|
|
673
673
|
set endpoint(e) {
|
|
674
|
-
this.$$set({ endpoint: e }),
|
|
674
|
+
this.$$set({ endpoint: e }), w();
|
|
675
675
|
}
|
|
676
676
|
get gameid() {
|
|
677
677
|
return this.$$.ctx[30];
|
|
678
678
|
}
|
|
679
679
|
set gameid(e) {
|
|
680
|
-
this.$$set({ gameid: e }),
|
|
680
|
+
this.$$set({ gameid: e }), w();
|
|
681
681
|
}
|
|
682
682
|
get mbsource() {
|
|
683
683
|
return this.$$.ctx[31];
|
|
684
684
|
}
|
|
685
685
|
set mbsource(e) {
|
|
686
|
-
this.$$set({ mbsource: e }),
|
|
686
|
+
this.$$set({ mbsource: e }), w();
|
|
687
687
|
}
|
|
688
688
|
get realtimeupdate() {
|
|
689
689
|
return this.$$.ctx[2];
|
|
690
690
|
}
|
|
691
691
|
set realtimeupdate(e) {
|
|
692
|
-
this.$$set({ realtimeupdate: e }),
|
|
692
|
+
this.$$set({ realtimeupdate: e }), w();
|
|
693
693
|
}
|
|
694
694
|
}
|
|
695
695
|
qe(et, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {}, mbsource: {}, realtimeupdate: {} }, [], [], !0);
|