@everymatrix/casino-page-nd 1.0.69 → 1.0.70
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-5u74DcLE.cjs +6 -0
- package/components/CasinoCalendar-Dshv21Cf.js +4908 -0
- package/components/CasinoCalendarDailyDetails-BRBMLsB7.js +605 -0
- package/components/CasinoCalendarDailyDetails-Cn3MGBtm.cjs +1 -0
- package/components/CasinoCalendarDailyItem-DUfbw99q.js +228 -0
- package/components/CasinoCalendarDailyItem-Dd5Qwauh.cjs +1 -0
- package/components/CasinoCollectionsProviders-BTfRZJih.js +624 -0
- package/components/CasinoCollectionsProviders-Dpdu7x_G.cjs +1 -0
- package/components/CasinoFavoritesSectionNd-ByJ_eTZg.cjs +1 -0
- package/components/CasinoFavoritesSectionNd-DDWpN4gz.js +418 -0
- package/components/CasinoFilter-CMSoB-g5.js +628 -0
- package/components/CasinoFilter-tlkFocSg.cjs +1 -0
- package/components/CasinoGameThumbnailNd-CgJCFekB.cjs +39 -0
- package/components/CasinoGameThumbnailNd-Dnvi9XzQ.js +4403 -0
- package/components/CasinoGamesCategorySectionNd-BPf6pC8C.cjs +1 -0
- package/components/CasinoGamesCategorySectionNd-BYI7mKab.js +3018 -0
- package/components/CasinoJackpotBanner-1haMylVJ.cjs +1 -0
- package/components/CasinoJackpotBanner-uk0S8Dbs.js +619 -0
- package/components/CasinoLastPlayedSectionNd-BoS8v_Zv.cjs +1 -0
- package/components/CasinoLastPlayedSectionNd-DmzCxUN1.js +563 -0
- package/components/CasinoMostPlayedSectionNd-STZksmhK.js +580 -0
- package/components/CasinoMostPlayedSectionNd-anNR6iCn.cjs +1 -0
- package/components/CasinoMyGamesNd-BAODfgXZ.js +1313 -0
- package/components/CasinoMyGamesNd-Dk4TIAdJ.cjs +1 -0
- package/components/CasinoPageNd-B1ei1g-G.cjs +1 -0
- package/components/CasinoPageNd-DxwIploB.js +3525 -0
- package/components/CasinoRandomGame-C6T9mp6M.js +641 -0
- package/components/CasinoRandomGame-XO0pxgx1.cjs +2 -0
- package/components/CasinoSearchNd-CReTBete.js +1066 -0
- package/components/CasinoSearchNd-rHtHrOWF.cjs +1 -0
- package/components/CasinoSort-DSMtMOLF.cjs +1 -0
- package/components/CasinoSort-US1B32po.js +425 -0
- package/components/CasinoWinners-C_0O4Zpr.js +878 -0
- package/components/CasinoWinners-u8y7Ze1v.cjs +1 -0
- package/components/GeneralAnimationLoading-CX5EA8zI.cjs +1 -0
- package/components/GeneralAnimationLoading-C_l_vwEq.js +75 -0
- package/package.json +12 -11
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-5u74DcLE.cjs");function le(l,t){e.addMessages(l,t)}function Se(l){e.$locale.set(l)}const se={en:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},"zh-hk":{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"},de:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen"},it:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},fr:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"},es:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores"},el:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"},tr:{recentWinners:"Son Kazananlar",topWinners:"En Çok Kazananlar",won:"Sadece kazandı"},ru:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},ro:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"},hr:{recentWinners:"Nedavni dobitnici",topWinners:"Top dobitnici",won:"upravo osvojio"},hu:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"},pl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},pt:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},"pt-br":{recentWinners:"Vencedores recentes",topWinners:"Principais vencedores",won:"acabei de ganhar"},"es-mx":{recentWinners:"Ganadores recientes",topWinners:"Mejores Ganadores",won:"recién gano"}};if(typeof window!="undefined"){let l=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=l(customElements.define),Promise.resolve().then(()=>require("./GeneralAnimationLoading-CX5EA8zI.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}function Be(l){e.append_styles(l,"svelte-e7kblj",".svelte-e7kblj.svelte-e7kblj,.svelte-e7kblj.svelte-e7kblj::before,.svelte-e7kblj.svelte-e7kblj::after{margin:0;padding:0;box-sizing:border-box}.Off.svelte-e7kblj.svelte-e7kblj{display:none}.CasinoWinners.svelte-e7kblj.svelte-e7kblj{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile.svelte-e7kblj.svelte-e7kblj{padding:25px 10px;height:250px}.WinnersHeader.svelte-e7kblj.svelte-e7kblj{display:flex;justify-content:space-between}.SliderButton.svelte-e7kblj.svelte-e7kblj{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton.svelte-e7kblj.svelte-e7kblj:active{transform:translateY(1px)}.WinnerButtonsContainer.svelte-e7kblj.svelte-e7kblj{display:flex;margin-bottom:42px}.WinnersButton.svelte-e7kblj.svelte-e7kblj{border:none;background:none;color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton.svelte-e7kblj.svelte-e7kblj:hover{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.WinnersButton.svelte-e7kblj.svelte-e7kblj:focus{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.WinnersButton.Active.svelte-e7kblj.svelte-e7kblj{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.WinnersButton.Active.svelte-e7kblj.svelte-e7kblj{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.ButtonsContainerNone.svelte-e7kblj.svelte-e7kblj{display:none}.WinnersSlider.svelte-e7kblj.svelte-e7kblj{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden}.CardWrapper.svelte-e7kblj.svelte-e7kblj{position:absolute;top:0;left:0}.CardWrapperAnimation.svelte-e7kblj.svelte-e7kblj{transition:transform 2s}.WinnerCard.svelte-e7kblj.svelte-e7kblj{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard.svelte-e7kblj p.svelte-e7kblj:first-of-type{color:var(--emfe-w-color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard.svelte-e7kblj p.svelte-e7kblj:nth-child(3){text-align:center;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard.svelte-e7kblj p.svelte-e7kblj:nth-child(4){color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard.svelte-e7kblj p.svelte-e7kblj:last-of-type{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:16px}.WinnerCard.svelte-e7kblj.svelte-e7kblj:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage.svelte-e7kblj.svelte-e7kblj{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile.svelte-e7kblj .WinnersHeader.svelte-e7kblj{justify-content:flex-start}.Mobile.svelte-e7kblj .WinnersButton.svelte-e7kblj{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile.svelte-e7kblj .WinnersButton.svelte-e7kblj:last-child{margin-right:0}.Mobile.svelte-e7kblj .WinnersButton.Active.svelte-e7kblj{padding-bottom:4px}.Mobile.svelte-e7kblj .WinnersSlider.svelte-e7kblj{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile.svelte-e7kblj .WinnersSlider.svelte-e7kblj::-webkit-scrollbar{display:none}.Mobile.svelte-e7kblj .SliderButton.svelte-e7kblj{display:none}.Mobile.svelte-e7kblj .WinnerCard.svelte-e7kblj{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile.svelte-e7kblj .WinnerCard p.svelte-e7kblj:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile.svelte-e7kblj .WinnerCard p.svelte-e7kblj:nth-child(3){font-size:10px}.Mobile.svelte-e7kblj .WinnerCard p.svelte-e7kblj:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile.svelte-e7kblj .WinnerCard p.svelte-e7kblj:last-of-type{font-size:11px}.Mobile.svelte-e7kblj .WinnerButtonsContainer.svelte-e7kblj{margin-bottom:20px}")}function re(l,t,n){const r=l.slice();return r[67]=t[n],r}function ie(l,t,n){const r=l.slice();return r[70]=t[n],r}function Te(l){let t,n,r,i,a,o,u,d,k,z,W,v,h,T,F,A,S,B,C,j=e.ensure_array_like(l[17]),m=[];for(let c=0;c<j.length;c+=1)m[c]=ce(ie(l,j,c));function O(c,g){return c[18]?Ee:Le}let M=O(l),_=M(l);return{c(){t=e.element("div"),n=e.element("div"),r=e.element("div");for(let c=0;c<m.length;c+=1)m[c].c();i=e.space(),a=e.element("div"),o=e.element("button"),u=e.svg_element("svg"),d=e.svg_element("path"),z=e.space(),W=e.element("button"),v=e.svg_element("svg"),h=e.svg_element("path"),A=e.space(),_.c(),e.attr(r,"class","WinnerButtonsContainer svelte-e7kblj"),e.attr(d,"style",k=l[12]>=l[11].length?"fill:#F6F6F62E":""),e.attr(d,"id","Path_36"),e.attr(d,"data-name","Path 36"),e.attr(d,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(d,"transform","translate(14.656 0) rotate(90)"),e.attr(d,"fill","#fff"),e.attr(d,"class","svelte-e7kblj"),e.attr(u,"id","Component_46_2"),e.attr(u,"data-name","Component 46 – 2"),e.attr(u,"xmlns","http://www.w3.org/2000/svg"),e.attr(u,"width","15"),e.attr(u,"height","15"),e.attr(u,"viewBox","0 0 16 24.656"),e.attr(u,"class","svelte-e7kblj"),e.attr(o,"class","SliderButton svelte-e7kblj"),e.attr(h,"style",T=l[12]>=l[11].length?"fill:#F6F6F62E":""),e.attr(h,"id","Path_36"),e.attr(h,"data-name","Path 36"),e.attr(h,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(h,"transform","translate(0 24.656) rotate(-90)"),e.attr(h,"fill","#fff"),e.attr(h,"class","svelte-e7kblj"),e.attr(v,"id","Component_46_2"),e.attr(v,"data-name","Component 46 – 2"),e.attr(v,"xmlns","http://www.w3.org/2000/svg"),e.attr(v,"width","15"),e.attr(v,"height","15"),e.attr(v,"viewBox","0 0 16 24.656"),e.attr(v,"class","svelte-e7kblj"),e.attr(W,"class","SliderButton svelte-e7kblj"),e.attr(a,"class",F="ButtonsContainer "+(l[6]=="true"?"ButtonsContainerNone":"")+" svelte-e7kblj"),e.attr(n,"class","WinnersHeader svelte-e7kblj"),e.attr(t,"class",S="CasinoWinners "+(l[13]?"Mobile":"")+" svelte-e7kblj")},m(c,g){e.insert(c,t,g),e.append(t,n),e.append(n,r);for(let f=0;f<m.length;f+=1)m[f]&&m[f].m(r,null);e.append(n,i),e.append(n,a),e.append(a,o),e.append(o,u),e.append(u,d),e.append(a,z),e.append(a,W),e.append(W,v),e.append(v,h),e.append(t,A),_.m(t,null),B||(C=[e.listen(o,"click",l[42]),e.listen(W,"click",l[43])],B=!0)},p(c,g){if(g[0]&1704963){j=e.ensure_array_like(c[17]);let f;for(f=0;f<j.length;f+=1){const b=ie(c,j,f);m[f]?m[f].p(b,g):(m[f]=ce(b),m[f].c(),m[f].m(r,null))}for(;f<m.length;f+=1)m[f].d(1);m.length=j.length}g[0]&6144&&k!==(k=c[12]>=c[11].length?"fill:#F6F6F62E":"")&&e.attr(d,"style",k),g[0]&6144&&T!==(T=c[12]>=c[11].length?"fill:#F6F6F62E":"")&&e.attr(h,"style",T),g[0]&64&&F!==(F="ButtonsContainer "+(c[6]=="true"?"ButtonsContainerNone":"")+" svelte-e7kblj")&&e.attr(a,"class",F),M===(M=O(c))&&_?_.p(c,g):(_.d(1),_=M(c),_&&(_.c(),_.m(t,null))),g[0]&8192&&S!==(S="CasinoWinners "+(c[13]?"Mobile":"")+" svelte-e7kblj")&&e.attr(t,"class",S)},d(c){c&&e.detach(t),e.destroy_each(m,c),_.d(),B=!1,e.run_all(C)}}}function Ae(l){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",l[4]),e.set_custom_element_data(t,"clientstylingurl",l[5]),e.set_custom_element_data(t,"class","svelte-e7kblj")},m(n,r){e.insert(n,t,r)},p(n,r){r[0]&16&&e.set_custom_element_data(t,"clientstyling",n[4]),r[0]&32&&e.set_custom_element_data(t,"clientstylingurl",n[5])},d(n){n&&e.detach(t)}}}function ae(l){let t,n=l[19]("recentWinners")+"",r,i,a,o;return{c(){t=e.element("button"),r=e.text(n),e.attr(t,"class",i="WinnersButton "+(l[10]=="recent"?"Active":"")+" "+(l[0]=="false"?"Off":"")+" svelte-e7kblj")},m(u,d){e.insert(u,t,d),e.append(t,r),a||(o=e.listen(t,"click",l[40]),a=!0)},p(u,d){d[0]&524288&&n!==(n=u[19]("recentWinners")+"")&&e.set_data(r,n),d[0]&1025&&i!==(i="WinnersButton "+(u[10]=="recent"?"Active":"")+" "+(u[0]=="false"?"Off":"")+" svelte-e7kblj")&&e.attr(t,"class",i)},d(u){u&&e.detach(t),a=!1,o()}}}function oe(l){let t,n=l[19]("topWinners")+"",r,i,a,o,u;return{c(){t=e.element("button"),r=e.text(n),i=e.space(),e.attr(t,"class",a="WinnersButton "+(l[10]=="top"?"Active":"")+" "+(l[1]=="false"?"Off":"")+" svelte-e7kblj")},m(d,k){e.insert(d,t,k),e.append(t,r),e.append(t,i),o||(u=e.listen(t,"click",l[41]),o=!0)},p(d,k){k[0]&524288&&n!==(n=d[19]("topWinners")+"")&&e.set_data(r,n),k[0]&1026&&a!==(a="WinnersButton "+(d[10]=="top"?"Active":"")+" "+(d[1]=="false"?"Off":"")+" svelte-e7kblj")&&e.attr(t,"class",a)},d(d){d&&e.detach(t),o=!1,u()}}}function ce(l){let t,n,r=l[70]=="recent"&&ae(l),i=l[70]=="top"&&oe(l);return{c(){r&&r.c(),t=e.space(),i&&i.c(),n=e.empty()},m(a,o){r&&r.m(a,o),e.insert(a,t,o),i&&i.m(a,o),e.insert(a,n,o)},p(a,o){a[70]=="recent"?r?r.p(a,o):(r=ae(a),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),a[70]=="top"?i?i.p(a,o):(i=oe(a),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(a){a&&(e.detach(t),e.detach(n)),r&&r.d(a),i&&i.d(a)}}}function Le(l){let t,n=e.ensure_array_like(l[11]),r=[];for(let i=0;i<n.length;i+=1)r[i]=ue(re(l,n,i));return{c(){t=e.element("div");for(let i=0;i<r.length;i+=1)r[i].c();e.attr(t,"class","WinnersSlider svelte-e7kblj")},m(i,a){e.insert(i,t,a);for(let o=0;o<r.length;o+=1)r[o]&&r[o].m(t,null);l[45](t)},p(i,a){if(a[0]&6883468){n=e.ensure_array_like(i[11]);let o;for(o=0;o<n.length;o+=1){const u=re(i,n,o);r[o]?r[o].p(u,a):(r[o]=ue(u),r[o].c(),r[o].m(t,null))}for(;o<r.length;o+=1)r[o].d(1);r.length=n.length}},d(i){i&&e.detach(t),e.destroy_each(r,i),l[45](null)}}}function Ee(l){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",l[4]),e.set_custom_element_data(t,"clientstylingurl",l[5]),e.set_custom_element_data(t,"class","svelte-e7kblj")},m(n,r){e.insert(n,t,r)},p(n,r){r[0]&16&&e.set_custom_element_data(t,"clientstyling",n[4]),r[0]&32&&e.set_custom_element_data(t,"clientstylingurl",n[5])},d(n){n&&e.detach(t)}}}function ue(l){let t,n,r,i,a,o,u,d=l[67].gameName+"",k,z,W,v=l[21](l[67].username)+"",h,T,F,A=l[19]("won")+"",S,B,C,j=l[67].specifiedCurrencyAmount.toFixed(2)+"",m,O,M,_=(l[7]?l[3]:l[2])+"",c,g,f,b,w;function U(){return l[44](l[67])}return{c(){var E,y,R,x;t=e.element("div"),n=e.element("div"),r=e.element("img"),o=e.space(),u=e.element("p"),k=e.text(d),z=e.space(),W=e.element("p"),h=e.text(v),T=e.space(),F=e.element("p"),S=e.text(A),B=e.space(),C=e.element("p"),m=e.text(j),O=e.space(),M=e.element("span"),c=e.text(_),g=e.space(),e.src_url_equal(r.src,i=(y=(E=l[67])==null?void 0:E.gameModel)==null?void 0:y.thumbnail)||e.attr(r,"src",i),e.attr(r,"alt",a=(x=(R=l[67])==null?void 0:R.gameModel)==null?void 0:x.thumbnail),e.attr(r,"class","WinnersImage svelte-e7kblj"),e.attr(u,"class","svelte-e7kblj"),e.attr(W,"class","svelte-e7kblj"),e.attr(F,"class","WinnerUsername svelte-e7kblj"),e.attr(M,"class","svelte-e7kblj"),e.attr(C,"class","svelte-e7kblj"),e.attr(n,"class","WinnerCard svelte-e7kblj"),e.attr(t,"class",f="CardWrapper "+(l[16]?"CardWrapperAnimation":"")+" svelte-e7kblj")},m(E,y){e.insert(E,t,y),e.append(t,n),e.append(n,r),e.append(n,o),e.append(n,u),e.append(u,k),e.append(n,z),e.append(n,W),e.append(W,h),e.append(n,T),e.append(n,F),e.append(F,S),e.append(n,B),e.append(n,C),e.append(C,m),e.append(C,O),e.append(C,M),e.append(M,c),e.append(t,g),b||(w=e.listen(r,"click",U),b=!0)},p(E,y){var R,x,N,P;l=E,y[0]&2048&&!e.src_url_equal(r.src,i=(x=(R=l[67])==null?void 0:R.gameModel)==null?void 0:x.thumbnail)&&e.attr(r,"src",i),y[0]&2048&&a!==(a=(P=(N=l[67])==null?void 0:N.gameModel)==null?void 0:P.thumbnail)&&e.attr(r,"alt",a),y[0]&2048&&d!==(d=l[67].gameName+"")&&e.set_data(k,d),y[0]&2048&&v!==(v=l[21](l[67].username)+"")&&e.set_data(h,v),y[0]&524288&&A!==(A=l[19]("won")+"")&&e.set_data(S,A),y[0]&2048&&j!==(j=l[67].specifiedCurrencyAmount.toFixed(2)+"")&&e.set_data(m,j),y[0]&140&&_!==(_=(l[7]?l[3]:l[2])+"")&&e.set_data(c,_),y[0]&65536&&f!==(f="CardWrapper "+(l[16]?"CardWrapperAnimation":"")+" svelte-e7kblj")&&e.attr(t,"class",f)},d(E){E&&e.detach(t),b=!1,w()}}}function ze(l){let t;function n(a,o){return a[14]||a[15]?Ae:Te}let r=n(l),i=r(l);return{c(){t=e.element("div"),i.c(),e.attr(t,"class","svelte-e7kblj")},m(a,o){e.insert(a,t,o),i.m(t,null),l[46](t)},p(a,o){r===(r=n(a))&&i?i.p(a,o):(i.d(1),i=r(a),i&&(i.c(),i.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),i.d(),l[46](null)}}}const Oe=225;function Re(l,t,n){let r;e.component_subscribe(l,e.$format,s=>n(19,r=s));let{endpoint:i=""}=t,{session:a=""}=t,{userid:o=""}=t,{periodrecent:u="Today"}=t,{periodtop:d="Last7Days"}=t,{numberusersrecent:k="20"}=t,{numberuserstop:z="20"}=t,{amountlimit:W="1"}=t,{vendorCategory:v="All"}=t,{lang:h="en"}=t,{isrecentavailable:T="true"}=t,{istopavailable:F="true"}=t,{defaultcurrency:A=""}=t,{usercurrency:S=""}=t,{clientstyling:B=""}=t,{clientstylingurl:C=""}=t,{enableautoscroll:j=""}=t,{tabsorder:m=""}=t,{translationurl:O=""}=t,{winnersdatasources:M=""}=t,{hascustomstyling:_="false"}=t,c,g,f=[],b=0,w=0,U=window.navigator.userAgent,E,y,R,x,N=!0,P=!1,Z=!1,X,D,H,I,Y=[],q=!1;const fe=()=>{let s=new URL(O);fetch(s.href).then(p=>p.json()).then(p=>{Object.keys(p).forEach(L=>{le(L,p[L])})}).catch(p=>{console.log(p)})};Object.keys(se).forEach(s=>{le(s,se[s])});const J=()=>{Y=M.split(",").map(function(p){return p.trim()});const s=new URL(`${i}/v1/casino/${g}-winners`);n(18,q=!0),s.searchParams.append("limit",g=="recent"?k:z),s.searchParams.append("specifiedCurrency",I),s.searchParams.append("period",g=="recent"?u:d),s.searchParams.append("language",h),s.searchParams.append("amountLimit",W),s.searchParams.append("vendorCategory",v),Y.forEach(p=>{s.searchParams.append("dataSource",p)}),setTimeout(()=>{fetch(s.href).then(p=>p.json()).then(p=>{n(11,f=[]),n(11,f=p.items.map(L=>L)),n(18,q=!1),setTimeout(()=>{pe(),$(),j=="true"&&(clearInterval(D),be()),n(14,N=!1)},5)})},1e3)},V=s=>{g!==s&&(n(11,f=[]),n(10,g=s),J())},me=s=>s.slice(0,2)+s.slice(2,-2).replace(/./g,"*")+s.slice(-2),Q=(s,p,L,G)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:s,launchUrl:p,gameName:L,subVendor:G},window.location.href),typeof gtag=="function"&>ag("event","OpenGame",{context:"WinnersWidget",gameId:`${s}`,userId:`${R||"Not logged in"}`})},$=s=>{const p=[...c.children];X=p.length,p.forEach((L,G)=>{L.style.transform=`translateX(${100*(s?G-s:G)}%)`}),setTimeout(()=>{n(16,Z=!0)},10)},be=()=>{b=0,w<X?D=setInterval(()=>{K()},3e3):clearInterval(D)},ee=()=>{$(b)},pe=()=>{n(12,w=Math.round(c.offsetWidth/Oe))},te=()=>{if(w>=f.length)return;const s=f.length;b===0?b=s-w:b-w<0?b=0:b=b-w,ee()},K=()=>{if(w>=f.length)return;const s=f.length;j=="true"&&(b===s-w?b=0:b++),j=="false"&&(b===s-w?b=0:s-w<b+w?b=s-w:b+=w),ee()},he=()=>{Se(h)},ge=()=>{n(7,y=!0),R=o},ne=()=>{n(39,I=y?S:A)},ve=()=>{let s=document.createElement("style");s.innerHTML=B,x.appendChild(s)},_e=()=>{let s=new URL(C),p=document.createElement("style");fetch(s.href).then(L=>L.text()).then(L=>{p.innerHTML=L,setTimeout(()=>{x.appendChild(p)},1),setTimeout(()=>{},500),n(15,P=!1)})},ke=()=>{_==="true"&&(!B&&!C&&x&&console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!B&&C&&n(15,P=!0))},ye=()=>{n(17,H=m.split(",")),n(10,g=H[0]),T=="false"&&n(25,W=""),ne(),n(14,N=!1)};e.onMount(()=>(n(13,E=e.isMobile(U)),()=>{clearInterval(D)}));const je=()=>V("recent"),we=()=>V("top"),We=()=>te(),Ce=()=>K(),Me=s=>Q(s.gameId,s.gameModel.launchUrl,s.gameModel.name,s.gameModel.subVendor);function xe(s){e.binding_callbacks[s?"unshift":"push"](()=>{c=s,n(9,c)})}function Fe(s){e.binding_callbacks[s?"unshift":"push"](()=>{x=s,n(8,x)})}return l.$$set=s=>{"endpoint"in s&&n(26,i=s.endpoint),"session"in s&&n(27,a=s.session),"userid"in s&&n(28,o=s.userid),"periodrecent"in s&&n(29,u=s.periodrecent),"periodtop"in s&&n(30,d=s.periodtop),"numberusersrecent"in s&&n(31,k=s.numberusersrecent),"numberuserstop"in s&&n(32,z=s.numberuserstop),"amountlimit"in s&&n(25,W=s.amountlimit),"vendorCategory"in s&&n(33,v=s.vendorCategory),"lang"in s&&n(34,h=s.lang),"isrecentavailable"in s&&n(0,T=s.isrecentavailable),"istopavailable"in s&&n(1,F=s.istopavailable),"defaultcurrency"in s&&n(2,A=s.defaultcurrency),"usercurrency"in s&&n(3,S=s.usercurrency),"clientstyling"in s&&n(4,B=s.clientstyling),"clientstylingurl"in s&&n(5,C=s.clientstylingurl),"enableautoscroll"in s&&n(6,j=s.enableautoscroll),"tabsorder"in s&&n(35,m=s.tabsorder),"translationurl"in s&&n(36,O=s.translationurl),"winnersdatasources"in s&&n(37,M=s.winnersdatasources),"hascustomstyling"in s&&n(38,_=s.hascustomstyling)},l.$$.update=()=>{l.$$.dirty[0]&1644167171|l.$$.dirty[1]&31&&T&&F&&u&&d&&k&&z&&W&&v&&h&&m&&ye(),l.$$.dirty[0]&134217728&&a&&ge(),l.$$.dirty[0]&140&&y&&(S||A)&&ne(),l.$$.dirty[0]&67108864|l.$$.dirty[1]&320&&i&&M&&I&&J(),l.$$.dirty[1]&8&&h&&he(),l.$$.dirty[1]&32&&O&&fe(),l.$$.dirty[1]&128&&_&&ke(),l.$$.dirty[0]&272&&B&&x&&ve(),l.$$.dirty[0]&288&&C&&x&&_e()},[T,F,A,S,B,C,j,y,x,c,g,f,w,E,N,P,Z,H,q,r,V,me,Q,te,K,W,i,a,o,u,d,k,z,v,h,m,O,M,_,I,je,we,We,Ce,Me,xe,Fe]}class de extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Re,ze,e.safe_not_equal,{endpoint:26,session:27,userid:28,periodrecent:29,periodtop:30,numberusersrecent:31,numberuserstop:32,amountlimit:25,vendorCategory:33,lang:34,isrecentavailable:0,istopavailable:1,defaultcurrency:2,usercurrency:3,clientstyling:4,clientstylingurl:5,enableautoscroll:6,tabsorder:35,translationurl:36,winnersdatasources:37,hascustomstyling:38},Be,[-1,-1,-1])}get endpoint(){return this.$$.ctx[26]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[27]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[28]}set userid(t){this.$$set({userid:t}),e.flush()}get periodrecent(){return this.$$.ctx[29]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[30]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[31]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[32]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[25]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get vendorCategory(){return this.$$.ctx[33]}set vendorCategory(t){this.$$set({vendorCategory:t}),e.flush()}get lang(){return this.$$.ctx[34]}set lang(t){this.$$set({lang:t}),e.flush()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),e.flush()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(t){this.$$set({istopavailable:t}),e.flush()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get usercurrency(){return this.$$.ctx[3]}set usercurrency(t){this.$$set({usercurrency:t}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[6]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),e.flush()}get tabsorder(){return this.$$.ctx[35]}set tabsorder(t){this.$$set({tabsorder:t}),e.flush()}get translationurl(){return this.$$.ctx[36]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get winnersdatasources(){return this.$$.ctx[37]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),e.flush()}get hascustomstyling(){return this.$$.ctx[38]}set hascustomstyling(t){this.$$set({hascustomstyling:t}),e.flush()}}e.create_custom_element(de,{endpoint:{},session:{},userid:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},vendorCategory:{},lang:{},isrecentavailable:{},istopavailable:{},defaultcurrency:{},usercurrency:{},clientstyling:{},clientstylingurl:{},enableautoscroll:{},tabsorder:{},translationurl:{},winnersdatasources:{},hascustomstyling:{}},[],[],!0);exports.default=de;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-5u74DcLE.cjs");function u(l){t.append_styles(l,"svelte-g6m3er",".LoaderContainer.svelte-g6m3er.svelte-g6m3er{display:flex;justify-content:center}.lds-ellipsis.svelte-g6m3er.svelte-g6m3er{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis.svelte-g6m3er div.svelte-g6m3er{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis.svelte-g6m3er div.svelte-g6m3er:nth-child(1){left:8px;animation:svelte-g6m3er-lds-ellipsis1 0.6s infinite}.lds-ellipsis.svelte-g6m3er div.svelte-g6m3er:nth-child(2){left:8px;animation:svelte-g6m3er-lds-ellipsis2 0.6s infinite}.lds-ellipsis.svelte-g6m3er div.svelte-g6m3er:nth-child(3){left:32px;animation:svelte-g6m3er-lds-ellipsis2 0.6s infinite}.lds-ellipsis.svelte-g6m3er div.svelte-g6m3er:nth-child(4){left:56px;animation:svelte-g6m3er-lds-ellipsis3 0.6s infinite}@keyframes svelte-g6m3er-lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes svelte-g6m3er-lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes svelte-g6m3er-lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}")}function p(l){let e;return{c(){e=t.element("div"),e.innerHTML='<section class="LoaderContainer svelte-g6m3er" part="LoaderContainer"><div class="lds-ellipsis svelte-g6m3er"><div class="svelte-g6m3er"></div><div class="svelte-g6m3er"></div><div class="svelte-g6m3er"></div><div class="svelte-g6m3er"></div></div></section>'},m(s,r){t.insert(s,e,r),l[3](e)},p:t.noop,i:t.noop,o:t.noop,d(s){s&&t.detach(e),l[3](null)}}}function f(l,e,s){let{clientstyling:r=""}=e,{clientstylingurl:d=""}=e,n;const m=()=>{let i=document.createElement("style");i.innerHTML=r,n.appendChild(i)},g=()=>{let i=new URL(d),c=document.createElement("style");fetch(i.href).then(a=>a.text()).then(a=>{c.innerHTML=a,setTimeout(()=>{n.appendChild(c)},1),setTimeout(()=>{},500)})};function v(i){t.binding_callbacks[i?"unshift":"push"](()=>{n=i,s(0,n)})}return l.$$set=i=>{"clientstyling"in i&&s(1,r=i.clientstyling),"clientstylingurl"in i&&s(2,d=i.clientstylingurl)},l.$$.update=()=>{l.$$.dirty&3&&r&&n&&m(),l.$$.dirty&5&&d&&n&&g()},[n,r,d,v]}class o extends t.SvelteComponent{constructor(e){super(),t.init(this,e,f,p,t.safe_not_equal,{clientstyling:1,clientstylingurl:2},u)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}}t.create_custom_element(o,{clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=o;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { S as u, i as p, f as m, c as f, s as h, b as y, e as x, g as b, C as d, k as C, n as _ } from "./CasinoCalendar-Dshv21Cf.js";
|
|
2
|
+
function L(s) {
|
|
3
|
+
y(s, "svelte-g6m3er", ".LoaderContainer.svelte-g6m3er.svelte-g6m3er{display:flex;justify-content:center}.lds-ellipsis.svelte-g6m3er.svelte-g6m3er{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis.svelte-g6m3er div.svelte-g6m3er{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis.svelte-g6m3er div.svelte-g6m3er:nth-child(1){left:8px;animation:svelte-g6m3er-lds-ellipsis1 0.6s infinite}.lds-ellipsis.svelte-g6m3er div.svelte-g6m3er:nth-child(2){left:8px;animation:svelte-g6m3er-lds-ellipsis2 0.6s infinite}.lds-ellipsis.svelte-g6m3er div.svelte-g6m3er:nth-child(3){left:32px;animation:svelte-g6m3er-lds-ellipsis2 0.6s infinite}.lds-ellipsis.svelte-g6m3er div.svelte-g6m3er:nth-child(4){left:56px;animation:svelte-g6m3er-lds-ellipsis3 0.6s infinite}@keyframes svelte-g6m3er-lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes svelte-g6m3er-lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes svelte-g6m3er-lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
|
|
4
|
+
}
|
|
5
|
+
function k(s) {
|
|
6
|
+
let e;
|
|
7
|
+
return {
|
|
8
|
+
c() {
|
|
9
|
+
e = x("div"), e.innerHTML = '<section class="LoaderContainer svelte-g6m3er" part="LoaderContainer"><div class="lds-ellipsis svelte-g6m3er"><div class="svelte-g6m3er"></div><div class="svelte-g6m3er"></div><div class="svelte-g6m3er"></div><div class="svelte-g6m3er"></div></div></section>';
|
|
10
|
+
},
|
|
11
|
+
m(i, n) {
|
|
12
|
+
b(i, e, n), s[3](e);
|
|
13
|
+
},
|
|
14
|
+
p: d,
|
|
15
|
+
i: d,
|
|
16
|
+
o: d,
|
|
17
|
+
d(i) {
|
|
18
|
+
i && C(e), s[3](null);
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function S(s, e, i) {
|
|
23
|
+
let { clientstyling: n = "" } = e, { clientstylingurl: r = "" } = e, l;
|
|
24
|
+
const g = () => {
|
|
25
|
+
let t = document.createElement("style");
|
|
26
|
+
t.innerHTML = n, l.appendChild(t);
|
|
27
|
+
}, o = () => {
|
|
28
|
+
let t = new URL(r), c = document.createElement("style");
|
|
29
|
+
fetch(t.href).then((a) => a.text()).then((a) => {
|
|
30
|
+
c.innerHTML = a, setTimeout(
|
|
31
|
+
() => {
|
|
32
|
+
l.appendChild(c);
|
|
33
|
+
},
|
|
34
|
+
1
|
|
35
|
+
), setTimeout(
|
|
36
|
+
() => {
|
|
37
|
+
},
|
|
38
|
+
500
|
|
39
|
+
);
|
|
40
|
+
});
|
|
41
|
+
};
|
|
42
|
+
function v(t) {
|
|
43
|
+
_[t ? "unshift" : "push"](() => {
|
|
44
|
+
l = t, i(0, l);
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
return s.$$set = (t) => {
|
|
48
|
+
"clientstyling" in t && i(1, n = t.clientstyling), "clientstylingurl" in t && i(2, r = t.clientstylingurl);
|
|
49
|
+
}, s.$$.update = () => {
|
|
50
|
+
s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
51
|
+
3 && n && l && g(), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
52
|
+
5 && r && l && o();
|
|
53
|
+
}, [l, n, r, v];
|
|
54
|
+
}
|
|
55
|
+
class T extends u {
|
|
56
|
+
constructor(e) {
|
|
57
|
+
super(), p(this, e, S, k, h, { clientstyling: 1, clientstylingurl: 2 }, L);
|
|
58
|
+
}
|
|
59
|
+
get clientstyling() {
|
|
60
|
+
return this.$$.ctx[1];
|
|
61
|
+
}
|
|
62
|
+
set clientstyling(e) {
|
|
63
|
+
this.$$set({ clientstyling: e }), m();
|
|
64
|
+
}
|
|
65
|
+
get clientstylingurl() {
|
|
66
|
+
return this.$$.ctx[2];
|
|
67
|
+
}
|
|
68
|
+
set clientstylingurl(e) {
|
|
69
|
+
this.$$set({ clientstylingurl: e }), m();
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
f(T, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
73
|
+
export {
|
|
74
|
+
T as default
|
|
75
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everymatrix/casino-page-nd",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.70",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "es2015/casino-page-nd.cjs",
|
|
6
6
|
"module": "es2015/casino-page-nd.js",
|
|
@@ -11,21 +11,22 @@
|
|
|
11
11
|
},
|
|
12
12
|
"./es2015/casino-page-nd.cjs": "./es2015/casino-page-nd.cjs"
|
|
13
13
|
},
|
|
14
|
-
|
|
15
|
-
"es2015/"
|
|
14
|
+
"files": [
|
|
15
|
+
"es2015/",
|
|
16
|
+
"components"
|
|
16
17
|
],
|
|
17
18
|
"publishConfig": {
|
|
18
19
|
"access": "public"
|
|
19
20
|
},
|
|
20
21
|
"dependencies": {
|
|
21
|
-
"@everymatrix/casino-games-category-section-nd": "1.0.
|
|
22
|
-
"@everymatrix/casino-random-game": "1.0.
|
|
23
|
-
"@everymatrix/casino-winners": "1.0.
|
|
24
|
-
"@everymatrix/casino-jackpot-banner": "1.0.
|
|
25
|
-
"@everymatrix/casino-collections-providers": "1.0.
|
|
26
|
-
"@everymatrix/casino-my-games-nd": "1.0.
|
|
27
|
-
"@everymatrix/casino-search-nd": "1.0.
|
|
28
|
-
"@everymatrix/casino-calendar": "1.0.
|
|
22
|
+
"@everymatrix/casino-games-category-section-nd": "1.0.78",
|
|
23
|
+
"@everymatrix/casino-random-game": "1.0.78",
|
|
24
|
+
"@everymatrix/casino-winners": "1.0.78",
|
|
25
|
+
"@everymatrix/casino-jackpot-banner": "1.0.78",
|
|
26
|
+
"@everymatrix/casino-collections-providers": "1.0.78",
|
|
27
|
+
"@everymatrix/casino-my-games-nd": "1.0.78",
|
|
28
|
+
"@everymatrix/casino-search-nd": "1.0.78",
|
|
29
|
+
"@everymatrix/casino-calendar": "1.0.78",
|
|
29
30
|
"@everymatrix/casino-play-random-game": "*"
|
|
30
31
|
}
|
|
31
32
|
}
|