"use strict";(self.webpackChunkleaderboard=self.webpackChunkleaderboard||[]).push([[236],{9872:(e,t,r)=>{r.r(t),r.d(t,{default:()=>p});var n=r(5439),o=r.n(n),i=r(5694),a=r(8416),s=r(2639),d=r(2522),l=r(5893);function c(e){var t=e.openBoard,r=e.showSlider,n=e.styles,o=(0,i.useSelector)(d.selectActiveLeaderBoard);return(0,l.jsx)(s.Z,{styles:n.leaderBoardTableWrapper,data:o,openBoard:t,showSlider:r})}c.defaultProps={styles:{},showSlider:!1,openBoard:function(){}},c.propTypes={styles:o().object,showSlider:o().bool,openBoard:o().func};const p=(0,a.memo)(c)},7556:(e,t,r)=>{r.r(t),r.d(t,{default:()=>b});var n=r(8416),o=r(9411),i=r.n(o),a=r(5439),s=r.n(a),d=r(9846),l=r.n(d),c=r(2597),p=r(5893),u=(0,n.memo)(i().div.withConfig({componentId:"sc-1ydhspb-0"})(["position:fixed;right:0;left:0;top:0;display:flex;align-items:center;height:2.5em;padding:0.438em 2em 0.438em 1em;background:linear-gradient(90deg,#016c25 0%,#157a2c 48.88%,#016c25 100%);font:1em var(--mainFont);color:#fff;z-index:6;",";"],(function(e){return e.isLandscape&&(0,o.css)(["width:21.875em;margin-bottom:0;padding:0 0.75em;left:50%;transform:translate(-50%,0);z-index:15;"])}))),f=(0,n.memo)(i()(c.X1).withConfig({componentId:"sc-1ydhspb-1"})(["position:absolute;width:1.5em;height:1.5em;right:0.6em;top:0.6em;color:#ffffff;&::after,&::before{width:1em;height:0.168em;}"]));function m(e){var t=e.styles,r=e.onClose,o=e.autoCloseSecond,i=e.children;(0,n.useEffect)((function(){o&&setTimeout((function(){r()}),1e3*o)}),[o,r]);var a=!l()();return(0,p.jsxs)(u,{style:t.popup,isLandscape:a,children:[!o&&(0,p.jsx)(f,{onClick:r}),(0,p.jsx)("div",{style:t.content,children:i})]})}const b=(0,n.memo)(m);m.defaultProps={onClose:function(){},autoCloseSecond:0,children:function(){},styles:{}},m.propTypes={onClose:s().func,autoCloseSecond:s().number,children:s().func,styles:s().object}},7072:(e,t,r)=>{r.r(t),r.d(t,{default:()=>h});var n=r(5439),o=r.n(n),i=r(9411),a=r.n(i),s=r(8416),d=r(2597),l=r(2058),c=r(5893),p=a()(d.AH).withConfig({componentId:"sc-ekina3-0"})(["width:","em;height:","em;top:","em;background-image:url(",");"],l.tq?"13.5":"20.313",l.tq?"11.625":"17.563",l.tq?"-6.5":"-9.5",l.al),u=a()(d.or).withConfig({componentId:"sc-ekina3-1"})(["padding:","em 0 0 0;"],l.tq?"5.438":"9.25"),f=a()(d.z).withConfig({componentId:"sc-ekina3-2"})(["text-transform:uppercase;font-size:","em;font-weight:600;"],l.tq?"1":"1.25"),m=a()(d.pU).withConfig({componentId:"sc-ekina3-3"})(["& > span:first-child{font-size:","em;}"],l.tq?"3":"4");function b(e){var t=e.onClose;return(0,c.jsx)(d.W2,{children:(0,c.jsxs)(u,{children:[(0,c.jsx)(p,{}),(0,c.jsx)(d.X1,{onClick:t}),(0,c.jsx)(d.Ej,{children:"4 Nov 00:01 - 10 Nov 23:59"}),(0,c.jsx)(f,{children:"Name of the Tournament / Leaderboard"}),(0,c.jsx)(d.Ez,{children:(0,c.jsx)("span",{children:"Prize Pool"})}),(0,c.jsxs)(m,{children:[(0,c.jsx)("span",{children:"3 000 000 AMD"}),(0,c.jsx)("span",{children:"+ Free Bet"})]}),(0,c.jsx)(d.zx,{children:(0,c.jsx)("span",{children:"Play"})}),(0,c.jsx)(d.dk,{children:"You can join the tournament by betting on the following games!"}),(0,c.jsx)(d.RU,{children:"rocketon, Crash, Hilo, Keno, blackjack"})]})})}b.defaultProps={onClose:function(){}},b.propTypes={onClose:o().func};const h=(0,s.memo)(b)},4767:(e,t,r)=>{r.r(t),r.d(t,{default:()=>R});var n=r(8416),o=r(5439),i=r.n(o),a=r(5694),s=r(1277),d=r(1284),l=r(2522),c=r(1174),p=r(2058),u=r(9411),f=r.n(u),m=r(5893),b=f().div.withConfig({componentId:"sc-1wsqsgr-0"})(["display:flex;flex-direction:column;align-items:center;flex:1 1 auto;background:linear-gradient(167.28deg,#2a2a2a 0%,#0e0e11 100%);border:1px solid;border-color:rgba(var(--white),0.1) rgba(var(--white),0.2) rgba(var(--white),0.3);border-radius:1em;height:100%;width:67.5em;margin-right:1em;padding:1em;position:absolute;top:0;left:0;z-index:3;"]),h=f().div.withConfig({componentId:"sc-1wsqsgr-1"})(["width:100%;display:flex;justify-content:space-between;padding:0 1.5em;color:rgba(var(--white),0.7);& > span{position:relative;display:inline-flex;flex:1 1 100%;justify-content:center;font:0.75em var(--mainFont);}& > span:first-child{justify-content:flex-start;}& > span:nth-child(5n){padding-right:0.938em;}& > span:nth-child(6n){padding-right:0.938em;}"]),g=f().div.withConfig({componentId:"sc-1wsqsgr-2"})(["display:flex;align-items:center;justify-content:space-between;padding:0 0.75em;border:1px solid;min-height:3.125em;border-color:rgba(var(--white),0.1) rgba(var(--white),0.2) rgba(var(--white),0.28);background:rgba(var(--white),0.1);border-radius:0.5em;width:100%;margin-bottom:0.25em;color:#ffffff;& > span{position:relative;display:inline-flex;flex:1 1 100%;font:0.875em var(--mainFont);justify-content:center;white-space:nowrap;}& > span:first-child{justify-content:flex-start;}& > span:last-child{flex:auto;max-width:3em;justify-content:flex-end;}& > span:nth-child(4n){text-align:center;overflow-wrap:break-word;white-space:normal;max-width:10.625em;}"]),y=f().div.withConfig({componentId:"sc-1wsqsgr-3"})(["position:relative;display:flex;flex-direction:column;width:100%;padding-right:0.25em;overflow-y:auto;margin-top:0.75em;height:44em;&::-webkit-scrollbar{display:block;margin-left:2px;left:2px;width:0.125em;}&::-webkit-scrollbar-track{background:rgba(var(--white),0.2);}&::-webkit-scrollbar-thumb{background:rgba(var(--white),0.28);border-radius:8px;}"]);function w(e){var t=e.styles,r=e.mappedLeaderboard,n=e.leaderboardRef,o=r.headers,i=r.body;return(0,m.jsxs)(b,{style:t.container,ref:n,children:[(0,m.jsx)(h,{style:t.header,children:null==o?void 0:o.map((function(e,t){return(0,m.jsx)("span",{children:e},e+t)}))}),(0,m.jsx)(y,{style:t.rowList,children:null==i?void 0:i.map((function(e,r){return(0,m.jsx)(g,{style:t.row,children:Object.getOwnPropertyNames(e).map((function(t,r){return(0,m.jsx)("span",{children:e[t]},r)}))},r)}))})]})}w.defaultProps={styles:{},mappedLeaderboard:{},leaderboardRef:null},w.propTypes={styles:i().object,mappedLeaderboard:i().object,leaderboardRef:i().object};const x=(0,n.memo)(w);var v=r(6261),j=r.n(v),k=r(8030),C=r(2597),P=f().div.withConfig({componentId:"sc-ervx1h-0"})(["display:flex;flex-direction:column;align-items:center;position:fixed;top:0;left:0;width:100%;height:100vh;padding:3.5em 0.5em 1em;background:linear-gradient(0deg,rgba(var(--black),0.2),rgba(var(--black),0.2)),linear-gradient(109.32deg,rgba(58,58,58,0.28) 0%,rgba(99,99,99,0.14) 98.5%);backdrop-filter:blur(46.5px);z-index:9;"]),S=f().span.withConfig({componentId:"sc-ervx1h-1"})(["margin:0 0 1em;font:0.875em var(--MainFont);color:#ffffff;"]),I={container:{width:"100%",height:"100%"}};function L(e){var t=e.mappedLeaderboard,r=e.styles,n=e.leaderboardRef,o=(0,a.useDispatch)(),i=(0,a.useSelector)(l.selectResources).strLeaderboards,d=t.headers,c=t.body;return(0,m.jsxs)(P,{style:r.container,ref:n,children:[(0,m.jsx)(C.X1,{style:r.closeBtn,onClick:function(){return o(s.actions.closePopup({name:k.BASE_POPUP_NAMES.LEADER_BOARD_HISTORY}))}}),(0,m.jsx)(S,{style:r.header,children:i}),(0,m.jsx)(j(),{styles:I,headers:d,body:c})]})}L.defaultProps={mappedLeaderboard:{},styles:{},leaderboardRef:null},L.propTypes={mappedLeaderboard:i().object,styles:i().object,leaderboardRef:i().object};const O=(0,n.memo)(L);function B(e){var t=e.styles,r=e.leaderboardRef,o=(0,a.useDispatch)(),i=(0,a.useSelector)(l.selectLeaderboardHistory),u=(0,a.useSelector)(l.selectResources),f=(0,a.useSelector)(l.selectCurrencyId),b=(0,a.useSelector)(l.selectFeatureHubIsConnected),h=(0,n.useCallback)((function(e,t){return o(s.actions.openPopup({name:e,args:t}))}),[]),g=(0,n.useMemo)((function(){return(0,d.I)(h,f,i,u)}),[i,h,u]);return(0,n.useEffect)((function(){(0,c.j)()}),[b]),p.tq?(0,m.jsx)(O,{mappedLeaderboard:g,styles:t,leaderboardRef:r}):(0,m.jsx)(x,{mappedLeaderboard:g,styles:t,leaderboardRef:r})}B.defaultProps={styles:{},leaderboardRef:null},B.propTypes={styles:i().object,leaderboardRef:i().object};const R=(0,n.memo)(B)},2316:(e,t,r)=>{r.r(t),r.d(t,{default:()=>y});var n=r(9411),o=r.n(n),i=r(5439),a=r.n(i),s=r(5694),d=r(8416),l=r(2522),c=r(2597),p=r(2058),u=r(5893),f=o().div.withConfig({componentId:"sc-y36m0k-0"})(["display:flex;flex-direction:column;align-items:center;justify-content:center;position:absolute;top:0;left:0;z-index:3;background:var(--leaderBoardBg,rgb(43,43,43));width:100%;height:100%;border-radius:1em;"]),m=o().img.withConfig({componentId:"sc-y36m0k-1"})(["object-fit:fill;width:18.375em;height:9.75em;"]),b=o().h3.withConfig({componentId:"sc-y36m0k-2"})(["color:rgb(var(--white));letter-spacing:0.04em;font:1.5em var(--mainFont);margin:1.5em 0 0.5em;"]),h=o().span.withConfig({componentId:"sc-y36m0k-3"})(["text-align:center;width:100%;padding:0 1.875em;overflow-wrap:break-word;color:rgba(var(--white),0.7);font:1em var(--mainFont);line-height:1.5em;margin-bottom:1.5em;"]);function g(e){var t=e.currencyCode,r=e.winAmount,n=e.leaderboardId,o=e.name,i=e.styles,a=(0,s.useDispatch)(),d=(0,s.useSelector)(l.selectResources),g=d.strCongratulations,y=d.strLeadboardWin,w=d.strOk,x=null==y?void 0:y.replace("[winAmount]",r).replace("[currencyCode]",t).replace("[LeaderBoardName]",o);return(0,u.jsxs)(f,{style:i.main,children:[(0,u.jsx)(m,{style:i.img,src:p.EY}),(0,u.jsx)(b,{style:i.header,children:g}),(0,u.jsx)(h,{style:i.description,children:x}),(0,u.jsx)(c.zx,{style:i.button,onClick:function(){return a(l.actions.clearPlayerLeaderboardWinById({leaderboardId:n}))},children:(0,u.jsx)("span",{children:w})})]})}g.defaultProps={currencyCode:"",winAmount:"",leaderboardId:0,name:"",styles:{}},g.propTypes={currencyCode:a().string,winAmount:a().string,leaderboardId:a().number,name:a().string,styles:a().object};const y=(0,d.memo)(g)},295:(e,t,r)=>{r.r(t),r.d(t,{default:()=>B});var n=r(5439),o=r.n(n),i=r(9411),a=r.n(i),s=r(2565),d=r.n(s),l=r(3197),c=r.n(l),p=r(5694),u=r(8030),f=r(1277),m=r(8416),b=r(2522),h=r(2597),g=r(9767),y=r(5893);function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t{r.r(t),r.d(t,{LeaderBoardRightPane:()=>i.default,LeaderboardMobileNotification:()=>l.default,LeaderboardNotification:()=>s.default,LeaderboardPopup:()=>o.default,LeaderboardTable:()=>n.default,LeaderboardWinPopup:()=>d.default,UpcomingLeaderboards:()=>a.default});var n=r(4767),o=r(2004),i=r(9872),a=r(295),s=r(7072),d=r(2316),l=r(7556)}}]);