@everymatrix/casino-winners 1.7.2 → 1.7.3
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/dist/casino-winners.js +1 -1
- package/package.json +2 -2
package/dist/casino-winners.js
CHANGED
|
@@ -642,5 +642,5 @@ setTimeout((()=>{J(),Y(),"true"==M&&(clearInterval(d),Z()),r(12,k=!1)}),5)}))},X
|
|
|
642
642
|
//Automatic scroll animation rules
|
|
643
643
|
"true"==M&&(G===e-F?G=0:G++),
|
|
644
644
|
//Standard scroll animation rules
|
|
645
|
-
"false"==M&&(G===e-F?G=0:e-F<G+F?G=e-F:G+=F),q()},te=()=>{var e;e=P,Xt.set(e)},re=()=>{r(36,b=c?I:L)};T((()=>(r(11,u=(e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)))(W)),()=>{clearInterval(d)})));return e.$$set=e=>{"endpoint"in e&&r(22,y=e.endpoint),"session"in e&&r(23,g=e.session),"userid"in e&&r(24,v=e.userid),"periodrecent"in e&&r(25,E=e.periodrecent),"periodtop"in e&&r(26,w=e.periodtop),"numberusersrecent"in e&&r(27,_=e.numberusersrecent),"numberuserstop"in e&&r(28,B=e.numberuserstop),"amountlimit"in e&&r(21,H=e.amountlimit),"vendorCategory"in e&&r(29,S=e.vendorCategory),"lang"in e&&r(30,P=e.lang),"isrecentavailable"in e&&r(0,C=e.isrecentavailable),"istopavailable"in e&&r(1,O=e.istopavailable),"defaultcurrency"in e&&r(2,L=e.defaultcurrency),"usercurrency"in e&&r(3,I=e.usercurrency),"clientstyling"in e&&r(31,x=e.clientstyling),"clientstylingurl"in e&&r(32,N=e.clientstylingurl),"enableautoscroll"in e&&r(4,M=e.enableautoscroll),"tabsorder"in e&&r(33,R=e.tabsorder),"translationurl"in e&&r(34,$=e.translationurl),"winnersdatasources"in e&&r(35,U=e.winnersdatasources)},e.$$.update=()=>{/*isrecentavailable, istopavailable, periodrecent, periodtop, numberusersrecent, numberuserstop, amountlimit, vendorCategory, lang*/2116026371&e.$$.dirty[0]|/*tabsorder*/4&e.$$.dirty[1]&&C&&O&&E&&w&&_&&B&&H&&S&&P&&R&&(r(14,m=R.split(",")),r(8,a=m[0]),"false"==C&&r(21,H=""),re(),r(12,k=!1)),/*session, endpoint*/12582912&e.$$.dirty[0]&&g&&y&&(r(5,c=!0),h=v),/*isLoggedIn*/32&e.$$.dirty[0]&&c&&re(),/*endpoint*/4194304&e.$$.dirty[0]|/*currency*/32&e.$$.dirty[1]&&y&&b&&z(),/*lang*/1073741824&e.$$.dirty[0]&&P&&te(),/*translationurl*/8&e.$$.dirty[1]&&$&&(()=>{let e=new URL($);fetch(e.href).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{sr(t,e[t])}))})).catch((e=>{console.log(e)}))})(),/*customStylingContainer*/64&e.$$.dirty[0]|/*clientstyling*/1&e.$$.dirty[1]&&x&&f&&(()=>{let e=document.createElement("style");e.innerHTML=x,f.appendChild(e)})(),/*customStylingContainer*/64&e.$$.dirty[0]|/*clientstylingurl*/2&e.$$.dirty[1]&&N&&f&&(()=>{let e=new URL(N),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{f.appendChild(t)}),1),setTimeout((()=>{}),500)}))})(),/*winnersdatasources*/16&e.$$.dirty[1]&&U&&z()},[C,O,L,I,M,c,f,s,a,D,F,u,k,j,m,n,X,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),K,Q,ee,H,y,g,v,E,w,_,B,S,P,x,N,R,$,U,b,()=>X("recent"),()=>X("top"),()=>Q(),()=>ee(),e=>K(e.gameId,e.gameModel.launchUrl,e.gameModel.name),function(e){A[e?"unshift":"push"]((()=>{s=e,r(7,s)}))},function(e){A[e?"unshift":"push"]((()=>{f=e,r(6,f)}))}]}class Hn extends U{constructor(e){super(),this.shadowRoot.innerHTML=
|
|
645
|
+
"false"==M&&(G===e-F?G=0:e-F<G+F?G=e-F:G+=F),q()},te=()=>{var e;e=P,Xt.set(e)},re=()=>{r(36,b=c?I:L)};T((()=>(r(11,u=(e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)))(W)),()=>{clearInterval(d)})));return e.$$set=e=>{"endpoint"in e&&r(22,y=e.endpoint),"session"in e&&r(23,g=e.session),"userid"in e&&r(24,v=e.userid),"periodrecent"in e&&r(25,E=e.periodrecent),"periodtop"in e&&r(26,w=e.periodtop),"numberusersrecent"in e&&r(27,_=e.numberusersrecent),"numberuserstop"in e&&r(28,B=e.numberuserstop),"amountlimit"in e&&r(21,H=e.amountlimit),"vendorCategory"in e&&r(29,S=e.vendorCategory),"lang"in e&&r(30,P=e.lang),"isrecentavailable"in e&&r(0,C=e.isrecentavailable),"istopavailable"in e&&r(1,O=e.istopavailable),"defaultcurrency"in e&&r(2,L=e.defaultcurrency),"usercurrency"in e&&r(3,I=e.usercurrency),"clientstyling"in e&&r(31,x=e.clientstyling),"clientstylingurl"in e&&r(32,N=e.clientstylingurl),"enableautoscroll"in e&&r(4,M=e.enableautoscroll),"tabsorder"in e&&r(33,R=e.tabsorder),"translationurl"in e&&r(34,$=e.translationurl),"winnersdatasources"in e&&r(35,U=e.winnersdatasources)},e.$$.update=()=>{/*isrecentavailable, istopavailable, periodrecent, periodtop, numberusersrecent, numberuserstop, amountlimit, vendorCategory, lang*/2116026371&e.$$.dirty[0]|/*tabsorder*/4&e.$$.dirty[1]&&C&&O&&E&&w&&_&&B&&H&&S&&P&&R&&(r(14,m=R.split(",")),r(8,a=m[0]),"false"==C&&r(21,H=""),re(),r(12,k=!1)),/*session, endpoint*/12582912&e.$$.dirty[0]&&g&&y&&(r(5,c=!0),h=v),/*isLoggedIn*/32&e.$$.dirty[0]&&c&&re(),/*endpoint*/4194304&e.$$.dirty[0]|/*currency*/32&e.$$.dirty[1]&&y&&b&&z(),/*lang*/1073741824&e.$$.dirty[0]&&P&&te(),/*translationurl*/8&e.$$.dirty[1]&&$&&(()=>{let e=new URL($);fetch(e.href).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{sr(t,e[t])}))})).catch((e=>{console.log(e)}))})(),/*customStylingContainer*/64&e.$$.dirty[0]|/*clientstyling*/1&e.$$.dirty[1]&&x&&f&&(()=>{let e=document.createElement("style");e.innerHTML=x,f.appendChild(e)})(),/*customStylingContainer*/64&e.$$.dirty[0]|/*clientstylingurl*/2&e.$$.dirty[1]&&N&&f&&(()=>{let e=new URL(N),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{f.appendChild(t)}),1),setTimeout((()=>{}),500)}))})(),/*winnersdatasources*/16&e.$$.dirty[1]&&U&&z()},[C,O,L,I,M,c,f,s,a,D,F,u,k,j,m,n,X,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),K,Q,ee,H,y,g,v,E,w,_,B,S,P,x,N,R,$,U,b,()=>X("recent"),()=>X("top"),()=>Q(),()=>ee(),e=>K(e.gameId,e.gameModel.launchUrl,e.gameModel.name),function(e){A[e?"unshift":"push"]((()=>{s=e,r(7,s)}))},function(e){A[e?"unshift":"push"]((()=>{f=e,r(6,f)}))}]}class Hn extends U{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{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:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton:focus{color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-color-primary, #D0046C)}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{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 p: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 p:nth-child(3){text-align:center;color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-color-primary, #D0046C);font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .WinnersSlider::-webkit-scrollbar{display:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}</style>",$(this,{target:this.shadowRoot,props:w(this.attributes),customElement:!0},An,Bn,o,{endpoint:22,session:23,userid:24,periodrecent:25,periodtop:26,numberusersrecent:27,numberuserstop:28,amountlimit:21,vendorCategory:29,lang:30,isrecentavailable:0,istopavailable:1,defaultcurrency:2,usercurrency:3,clientstyling:31,clientstylingurl:32,enableautoscroll:4,tabsorder:33,translationurl:34,winnersdatasources:35},null,[-1,-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),x()))}static get observedAttributes(){return["endpoint","session","userid","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","vendorCategory","lang","isrecentavailable","istopavailable","defaultcurrency","usercurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder","translationurl","winnersdatasources"]}get endpoint(){return this.$$.ctx[22]}set endpoint(e){this.$$set({endpoint:e}),x()}get session(){return this.$$.ctx[23]}set session(e){this.$$set({session:e}),x()}get userid(){return this.$$.ctx[24]}set userid(e){this.$$set({userid:e}),x()}get periodrecent(){return this.$$.ctx[25]}set periodrecent(e){this.$$set({periodrecent:e}),x()}get periodtop(){return this.$$.ctx[26]}set periodtop(e){this.$$set({periodtop:e}),x()}get numberusersrecent(){return this.$$.ctx[27]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),x()}get numberuserstop(){return this.$$.ctx[28]}set numberuserstop(e){this.$$set({numberuserstop:e}),x()}get amountlimit(){return this.$$.ctx[21]}set amountlimit(e){this.$$set({amountlimit:e}),x()}get vendorCategory(){return this.$$.ctx[29]}set vendorCategory(e){this.$$set({vendorCategory:e}),x()}get lang(){return this.$$.ctx[30]}set lang(e){this.$$set({lang:e}),x()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),x()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(e){this.$$set({istopavailable:e}),x()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),x()}get usercurrency(){return this.$$.ctx[3]}set usercurrency(e){this.$$set({usercurrency:e}),x()}get clientstyling(){return this.$$.ctx[31]}set clientstyling(e){this.$$set({clientstyling:e}),x()}get clientstylingurl(){return this.$$.ctx[32]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),x()}get enableautoscroll(){return this.$$.ctx[4]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),x()}get tabsorder(){return this.$$.ctx[33]}set tabsorder(e){this.$$set({tabsorder:e}),x()}get translationurl(){return this.$$.ctx[34]}set translationurl(e){this.$$set({translationurl:e}),x()}get winnersdatasources(){return this.$$.ctx[35]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),x()}}return!customElements.get("casino-winners")&&customElements.define("casino-winners",Hn),Hn}));
|
|
646
646
|
//# sourceMappingURL=casino-winners.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everymatrix/casino-winners",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.3",
|
|
4
4
|
"main": "dist/casino-winners.js",
|
|
5
5
|
"svelte": "src/index.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "af607736d2fefc2fcb0fc155b2023fcd62806a5c"
|
|
40
40
|
}
|