1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7696,8786],{17656:(e,o,l)=>{l.d(o,{A:()=>i,E:()=>n});var t=l(65641);let n=(0,t.y$)(!1,{sid:"9220gx9w",name:"$isPromoCodeModalOpen"}),i=(0,t.lh)({sid:"39r9jzn7",name:"setIsPromoCodeModalOpen"});n.on(i,(e,o)=>o)},42504:(e,o,l)=>{l.d(o,{H:()=>a});var t=l(29037),n=l(97186),i=l(90663),s=l(23825),r=l(3934);let a=(e,o)=>{let l=(0,s.e3)(t.xX),a=(0,r.useMemo)(()=>l.filter(o=>null==e?void 0:e.categoryIds.includes(o.id)).map(e=>e.visibleName).join(", "),[l,e]),c=(0,r.useMemo)(()=>e?e.type===n.DOV.SpinCount?"Make ".concat(e.taskRate.value," spins"):e.type===n.DOV.SpinSum?"Make spins for ".concat(o).concat(e.taskRate.value):"Mission":"Mission",[e,o]),x=(0,r.useMemo)(()=>e?e.type===n.DOV.SpinCount?"You need to make ".concat(e.taskRate.value," spins in the ").concat(a," categor").concat(a.length>1?"ies":"y"," of games."):e.type===n.DOV.SpinSum?"You need to make spins for ".concat(i.yR[o||"EUR"]).concat(e.taskRate.value," in the ").concat(a," categor").concat(a.length>1?"ies":"y"," of games."):"Mission":"Mission",[e,a,o]),d=(0,r.useMemo)(()=>{var l,t;if(!e)return"Mission";let n=x;return(null==(t=e.spinParams)||null==(l=t[0])?void 0:l.minBet)&&(n+="\nMin bet ".concat(o).concat(e.spinParams[0].minBet," on Cash wallet.")),n},[e,x,o]);return{title:c,text:x,detailedText:d}}},44349:(e,o,l)=>{l.d(o,{j:()=>c});var t=l(47758),n=l(44416),i=l(80011),s=l(97790),r=l(76356),a=l(78744);let c=e=>{let{onResolve:o,onReject:l,description:c}=e,{t:x}=(0,a.Bd)("common");return(0,t.jsxs)(n.A,{p:"12px",children:[(0,t.jsx)(i.A,{textAlign:"center",children:null!=c?c:x("discardBonusModal.description")}),(0,t.jsxs)(n.A,{sx:{display:"flex",gap:"16px",mt:"15px"},children:[(0,t.jsx)(s.A,{fullWidth:!0,variant:"outlined",color:"secondary",sx:{borderRadius:"4px"},onClick:()=>l(!1),children:x("discardBonusModal.cancel")}),(0,t.jsx)(r.l,{fullWidth:!0,color:"secondary",sx:{borderRadius:"4px"},onClick:()=>o(!0),children:x("discardBonusModal.continue")})]})]})}},76356:(e,o,l)=>{l.d(o,{l:()=>s});var t=l(47758),n=l(97790),i=l(5741);let s=e=>{let{loading:o=!1,children:l,disabled:s,startIcon:r,...a}=e;return(0,t.jsx)(n.A,{...a,disabled:s||o,startIcon:o?(0,t.jsx)(i.A,{size:20}):null!=r?r:null,children:l})}},78064:(e,o,l)=>{l.d(o,{p:()=>n});var t=l(47758);let n=e=>{let{style:o}=e;return(0,t.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:o,children:[(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 18.75L0 5H2.5L6.25 8.75L8.75 1.25H11.25L13.75 8.75L17.5 5H20L17.5 18.75H2.5ZM9.375 11.25L7.5 13.75L9.375 16.25H10.625L12.5 13.75L10.625 11.25H9.375Z",fill:"white"}),(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 18.75L0 5H2.5L6.25 8.75L8.75 1.25H11.25L13.75 8.75L17.5 5H20L17.5 18.75H2.5ZM9.375 11.25L7.5 13.75L9.375 16.25H10.625L12.5 13.75L10.625 11.25H9.375Z",fill:"url(#paint0_linear_5442_63194)"}),(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 18.75L0 5H2.5L6.25 8.75L8.75 1.25H11.25L13.75 8.75L17.5 5H20L17.5 18.75H2.5ZM9.375 11.25L7.5 13.75L9.375 16.25H10.625L12.5 13.75L10.625 11.25H9.375Z",fill:"url(#paint1_linear_5442_63194)"}),(0,t.jsxs)("defs",{children:[(0,t.jsxs)("linearGradient",{id:"paint0_linear_5442_63194",x1:"20",y1:"10",x2:"0",y2:"10",gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{stopColor:"#B4B4B4"}),(0,t.jsx)("stop",{offset:"0.495",stopColor:"#E0DFDC"}),(0,t.jsx)("stop",{offset:"1",stopColor:"#C0C0C0"})]}),(0,t.jsxs)("linearGradient",{id:"paint1_linear_5442_63194",x1:"20",y1:"10",x2:"0",y2:"10",gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{stopColor:"#C99257"}),(0,t.jsx)("stop",{offset:"0.49",stopColor:"#F4D9A8"}),(0,t.jsx)("stop",{offset:"1",stopColor:"#EABF88"})]})]})]})}},78786:(e,o,l)=>{l.r(o),l.d(o,{ExpiresTimerWithText:()=>u});var t=l(47758),n=l(2627),i=l(80011),s=l(44416),r=l(78744),a=l(3934);let c=(0,n.Ay)(i.A)(e=>{let{theme:o}=e;return{fontSize:"16px",fontWeight:800,color:o.colors.text1,lineHeight:1}}),x=(0,n.Ay)(i.A)(e=>{let{theme:o}=e;return{fontSize:"14px",fontWeight:600,color:o.colors.text4,lineHeight:1}}),d=(0,n.Ay)(i.A)(()=>({fontSize:"12px",fontWeight:800,lineHeight:1,marginLeft:"2px",marginRight:"2px"})),p=e=>{let o=new Date().getTime(),l=e.getTime()-o;return[{number:Math.max(Math.floor(l/864e5),0),label:"day"},{number:Math.max(Math.floor(l%864e5/36e5),0),label:"hour"},{number:Math.max(Math.floor(l%36e5/6e4),0),label:"min"},{number:Math.max(Math.floor(l%6e4/1e3),0),label:"sec"}]},u=e=>{let{date:o,title:l,hideZero:n}=e,{t:i}=(0,r.Bd)("common"),[u,h]=(0,a.useState)(()=>p(new Date(o)));return(0,a.useEffect)(()=>{let e=setInterval(()=>{let l=p(new Date(o));h(l),l.every(e=>0===e.number)&&clearInterval(e)},1e3);return()=>{clearInterval(e)}},[o]),(0,t.jsxs)(s.A,{sx:{display:"flex",justifyContent:"center",flexDirection:"column",gap:"5px"},children:[l&&(0,t.jsx)(x,{children:l}),(0,t.jsx)(s.A,{sx:{display:"flex"},children:null==u?void 0:u.map((e,o,l)=>{let r=e.label,a=e.number;return 0===a&&0===o&&n?null:(0,t.jsxs)(s.A,{sx:{display:"flex",alignItems:"center"},children:[(0,t.jsx)(s.A,{children:(0,t.jsxs)(c,{children:[a<0?"00":a<10?"0".concat(a):a,r&&i(r)]})}),o!==l.length-1&&(0,t.jsx)(d,{children:":"})]},o)})})]})}},92957:(e,o,l)=>{l.d(o,{m:()=>n});var t=l(47758);let n=e=>{let{style:o,fill:l}=e;return(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:o,children:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.667 2.51088C11.667 3.80537 10.5477 4.85476 9.16699 4.85476C7.78628 4.85476 6.66699 3.80537 6.66699 2.51088C6.66699 1.21638 7.78628 0.166992 9.16699 0.166992C10.5477 0.166992 11.667 1.21638 11.667 2.51088ZM8.96722 13.4897C9.44722 13.4897 10.0002 13.3172 10.0062 13.3153C10.2302 13.2459 10.4792 13.3322 10.5992
113.5244C10.7182 13.7175 10.6762 13.9641 10.4972 14.1113C10.4452 14.1544 9.19922 15.167 7.34922 15.167C7.03122 15.167 6.70922 15.1351 6.39522 15.076C5.51222 14.9073 4.83022 14.4357 4.47422 13.7485C4.03822 12.9094 4.12522 11.8359 4.71922 10.7249L5.71922 8.85444C6.25222 7.85876 5.93922 7.65062 5.77022 7.53999C5.73722 7.51843 5.63122 7.46686 5.36822 7.46686C4.88822 7.46686 4.33422 7.64031 4.32922 7.64219C4.10122 7.71532 3.85422 7.62719 3.73422 7.43405C3.61522 7.24091 3.65722 6.99528 3.83622 6.84714C3.88822 6.80401 5.13322 5.79146 6.98222 5.79146C7.30122 5.79146 7.62322 5.82146 7.94022 5.8824C8.82122 6.05116 9.50422 6.52275 9.86022 7.20997C10.2962 8.05002 10.2082 9.12352 9.61522 10.2336L8.61522 12.1031C8.08122 13.1006 8.39322 13.3059 8.56122 13.4156C8.59522 13.4381 8.70222 13.4897 8.96722 13.4897Z",fill:l||"#1F0000"})})}},95651:(e,o,l)=>{l.d(o,{S:()=>n});var t=l(47758);let n=e=>{let{style:o,color:l,filOpacity:n}=e;return(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:o,children:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 6C1.5 3.51472 3.51472 1.5 6 1.5H22.5V4.5H6V7.5H22.5V22.5H6C3.51472 22.5 1.5 20.4853 1.5 18V6ZM18 16.5C18.8284 16.5 19.5 15.8284 19.5 15C19.5 14.1716 18.8284 13.5 18 13.5C17.1716 13.5 16.5 14.1716 16.5 15C16.5 15.8284 17.1716 16.5 18 16.5Z",fill:null!=l?l:"#E0C5E0",fillOpacity:null!=n?n:"0.52"})})}},97696:(e,o,l)=>{l.r(o),l.d(o,{NavMenu:()=>_});var t=l(47758),n=l(3934),i=l(66951),s=l(44416),r=l(80011),a=l(97790),c=l(69736),x=l(77181),d=l(23825),p=l(400),u=l(78744),h=l(73080),f=l(13903),m=l(61577),g=l.n(m),j=l(78064),b=l(95651),v=l(17656),C=l(20879);let y={src:"/_next/static/media/missions-bg.98419d96.png"},w=()=>{let e=(0,C.A)();return{root:{position:"relative",display:"flex",flexDirection:"column",borderRadius:"8px",background:e.colors.opacity222,backgroundImage:'url("'.concat(y.src,'")'),backgroundSize:"70%",backgroundPosition:"right bottom",backgroundRepeat:"no-repeat",p:"12px",margin:"8px",overflow:"hidden"},title:{fontWeight:800,fontSize:"16px",color:e.colors.text1,mb:"12px"},list:{display:"flex",flexDirection:"column",gap:"4px"},missionBox:{background:e.colors.opacity333,borderRadius:"12px",p:"8px",display:"flex",flexDirection:"column",boxShadow:"0 2px 8px 0 rgba(0,0,0,0.04)"},missionHeader:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:1},missionLabel:{fontWeight:600,fontSize:"14px",color:e.colors.text2},missionProgress:{fontWeight:600,fontSize:"14px",color:e.colors.text1},progressBar:{height:"8px",border:"1px solid #2197FF",borderRadius:"8px",background:"#0D3D66","& .MuiLinearProgress-bar":{background:"linear-gradient(180deg, #2197FF 0%, #0655CC 100%)",borderRadius:"8px"}},tooltipArrow:{"&::before":{border:"1px solid ".concat(e.colors.color300),backgroundColor:e.colors.color500,boxSizing:"border-box"},width:"14px",height:"14px",color:e.colors.color500},tooltip:{backgroundColor:e.colors.color500,minWidth:"80px",fontSize:"14px",fontWeight:"600",padding:"8px 12px",color:e.colors.text1,borderRadius:"9px",border:"1px solid ".concat(e.colors.color300),maxWidth:"300px",whiteSpace:"pre-line"},missionTimerWrapper:{mt:"2px",ml:"auto","& div":{"& > p":{fontSize:"10px",color:"#999",textAlign:"center"},"& > div > p":{fontSize:"10px",color:"#999"}}}}};var A=l(22905),L=l(39695),k=l(96125),M=l(8485),H=l(90663),R=l(42504),B=l(92957),S=l(78786);let W=e=>{var o,l,i;let{taskInstance:a,missionEndDate:c}=e,x=w(),u=(0,d.zN)(p.A5,e=>{var o;return H.yR[(null==e||null==(o=e.currency)?void 0:o.code)||"EUR"]}),[h,f]=(0,n.useState)(!1),{title:m,detailedText:g}=(0,R.H)(a.taskConfig,u);return(0,t.jsxs)(s.A,{sx:x.missionBox,children:[(0,t.jsxs)(s.A,{sx:x.missionHeader,children:[(0,t.jsxs)(s.A,{sx:{display:"flex",alignItems:"center",gap:"8px"},children:[(0,t.jsx)(r.A,{sx:x.missionLabel,children:(null==(i=a.taskConfig)||null==(l=i.taskLanguages)||null==(o=l[0])?void 0:o.title)||m}),(0,t.jsx)(L.x,{onClickAway:()=>{f(!1)},children:(0,t.jsx)(s.A,{children:(0,t.jsx)(k.A,{title:g,arrow:!0,open:h,disableHoverListener:!0,disableFocusListener:!0,disableTouchListener:!0,slotProps:{popper:{sx:{zIndex:1e4}},tooltip:{sx:x.tooltip},arrow:{sx:x.tooltipArrow}},children:(0,t.jsx)(s.A,{sx:{display:"flex",alignItems:"center",cursor:"help"},onClick:()=>{f(e=>!e)},children:(0,t.jsx)(B.m,{style:{width:16,height:16,opacity:.7},fill:"#fff"})})})})})]}),(0,t.jsxs)(r.A,{sx:x.missionProgress,children:[+a.progress||0," / ",a.targetValue]})]}),(0,t.jsx)(M.A,{variant:"determinate",value:Math.min((+a.progress||0)/(+a.targetValue||0)*100,100),sx:x.progressBar}),c&&(0,t.jsx)(s.A,{sx:x.missionTimerWrapper,children:(0,t.jsx)(S.ExpiresTimerWithText,{date:c,hideZero:!0})})]})},I=()=>{var e,o;let{i18n:l}=(0,u.Bd)(),i=w(),a=(0,d.e3)(A.X_),c=(0,d.e3)(p.kc),x=(0,d.e3)(A.jY),[h,f]=(0,n.use
1State)(null),m=null!=(o=null==(e=c.find(e=>{var o;return e.code===(null==(o=l.language)?void 0:o.toUpperCase())}))?void 0:e.id)?o:3,g=(0,n.useCallback)(async()=>{if(m){f(null);try{await x(m)}catch(e){e instanceof Error?f(e.message):f("Failed to load missions")}}},[x,m]);return(0,n.useEffect)(()=>{g();let e=setInterval(g,6e4);return()=>clearInterval(e)},[g]),(0,t.jsx)(t.Fragment,{children:a.length>0?(0,t.jsxs)(s.A,{sx:i.root,children:[(0,t.jsx)(r.A,{sx:i.title,children:"Missions"}),h&&(0,t.jsx)(r.A,{color:"error.main",children:h}),(0,t.jsx)(s.A,{sx:i.list,children:a.map(e=>{let{taskInstances:o,id:l}=e;return o.map(e=>(0,t.jsx)(W,{taskInstance:e,missionEndDate:void 0},"".concat(l,"-").concat(e.id)))})})]}):null})},z=()=>(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9 0L3 2V14H1V16H15V14H13V2H11V14H9V0ZM6.75 9C7.16421 9 7.5 8.55229 7.5 8C7.5 7.44772 7.16421 7 6.75 7C6.33579 7 6 7.44772 6 8C6 8.55229 6.33579 9 6.75 9Z",fill:"#E0C5E0","fill-opacity":"0.52"})});var E=l(44349),V=l(44657),D=l(49259);let _=e=>
1{let{anchorEl:o,handleClose:l,currencySymbol:m}=e,{t:y}=(0,u.Bd)("common"),w=(0,d.e3)(p.A5),A=(0,d.e3)(p.E),L=(0,d.e3)(p.lt),[k,M]=(0,d.e3)([p.xW,p.xW.pending]),H=(0,h.useRouter)(),R=(0,d.e3)(f.Yq),B=(0,d.e3)(v.A),S=(()=>{let e=(0,C.A)();return{menu:{zIndex:2500,".MuiPaper-root":{mt:"20px",minWidth:"277px"}},profileBox:{m:"8px",borderRadius:"8px",background:e.colors.opacity222,p:"12px"},profileRow:{display:"flex",gap:"8px",alignItems:"center",mb:"12px"},profileIcon:{borderRadius:"100%",width:"36px",height:"36px",display:"flex",justifyContent:"center",alignItems:"center",background:e.colors.opacity444},nickname:{fontWeight:800,fontSize:"14px"},email:{fontWeight:500,fontSize:"14px",color:e.colors.text3,overflow:"hidden",textOverflow:"ellipsis",textWrap:"nowrap",maxWidth:"150px"},profileButtons:{display:"flex",gap:"8px"},profileBtn:{minWidth:"185px",maxHeight:"28px"},exitBtn:{minWidth:"40px",maxHeight:"28px",p:0},balanceBox:{display:"flex",flexDirection:"column",m:"8px",borderRadius:"8px",background:e.colors.opacity222,p:"12px"},cashRow:{display:"flex",gap:"8px",alignItems:"center",mb:"12px"},cashInner:{width:"100%",pb:"12px",display:"flex",alignItems:"center",gap:"12px",borderBottom:"1px solid ".concat(e.colors.color300)},cashLabel:{fontWeight:600,fontSize:"14px",color:e.colors.secondary500},cashValue:{fontWeight:800,fontSize:"14px"},bonusRow:{display:"flex",gap:"20px",justifyContent:"space-between",alignItems:"center",mb:"8px",pb:"12px",borderBottom:"1px solid ".concat(e.colors.color300)},bonusLabel:{fontWeight:600,fontSize:"14px",color:e.colors.secondary500},bonusValue:{fontWeight:800,fontSize:"14px"},depositBtn:{minWidth:"185px",maxHeight:"28px",mb:"8px"},withdrawBtn:{minWidth:"185px",maxHeight:"28px"},menuItem:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"8px",py:"10px",borderTop:"1px solid ".concat(e.colors.color300)}}})(),W=(0,d.e3)(V.IS),[_,F]=(0,n.useState)(!1),Z=w?w.email:(null==A?void 0:A.email)||"",O=(0,n.useMemo)(()=>[{tKey:"promoCode",onClick:()=>{B(!0)}},{tKey:"bonuses",route:"/bonuses"},{tKey:"verification",route:"/profile"},{tKey:"footer.selfExclusion",route:"/self-exclusion"}],[B]),P=async()=>{await k().catch(console.error),"/"!==H.pathname&&H.push("/").catch(console.error)},T=(0,n.useMemo)(()=>{var e;return(null==(e=L.find(e=>"BONUS"===e.type))?void 0:e.value)||"0.00"},[L]),N=(0,n.useMemo)(()=>{var e;return(null==(e=L.find(e=>"CASH"===e.type))?void 0:e.value)||"0.00"},[L]),U=async()=>{W?F(!0):(R({withdraw:!0}),l())};return(0,t.jsxs)(i.A,{anchorEl:o,open:!M&&!!o,onClose:l,sx:S.menu,children:[(0,t.jsxs)(s.A,{sx:S.profileBox,children:[(0,t.jsxs)(s.A,{sx:S.profileRow,children:[(0,t.jsx)(s.A,{sx:S.profileIcon,children:(0,t.jsx)(j.p,{})}),(0,t.jsxs)(s.A,{children:[(0,t.jsx)(r.A,{sx:S.nickname,children:y("nickname")}),(0,t.jsx)(r.A,{title:Z,sx:S.email,children:Z})]})]}),(0,t.jsxs)(s.A,{sx:S.profileButtons,children:[(0,t.jsx)(a.A,{fullWidth:!0,color:"inherit",LinkComponent:g(),href:"/profile",onClick:l,sx:S.profileBtn,children:y("profile")}),(0,t.jsx)(a.A,{color:"inherit",sx:S.exitBtn,onClick:P,children:(0,t.jsx)(z,{})})]})]}),(0,t.jsxs)(s.A,{sx:S.balanceBox,children:[(0,t.jsx)(s.A,{sx:S.cashRow,children:(0,t.jsxs)(s.A,{sx:S.cashInner,children:[(0,t.jsx)(b.S,{}),(0,t.jsxs)(s.A,{children:[(0,t.jsx)(r.A,{sx:S.cashLabel,children:y("Cash")}),(0,t.jsxs)(r.A,{sx:S.cashValue,children:[Number(N).toFixed(2)," ",m]})]})]})}),(0,t.jsxs)(s.A,{sx:S.bonusRow,children:[(0,t.jsx)(r.A,{sx:S.bonusLabel,children:y("bonus")}),(0,t.jsxs)(r.A,{sx:S.bonusValue,children:[Number(T).toFixed(2)," ",m]})]}),(0,t.jsx)(a.A,{fullWidth:!0,color:"success",onClick:()=>{R({}),l()},sx:S.depositBtn,children:y("deposit")}),(0,t.jsx)(a.A,{fullWidth:!0,color:"inherit",onClick:U,sx:S.withdrawBtn,children:y("withdrawal")})]}),(0,t.jsx)(c.A,{open:_,children:(0,t.jsx)(E.j,{onReject:()=>F(!1),onResolve:()=>{F(!1),R({withdraw:!0})}})}),(0,t.jsx)(I,{}),O.map((e,o)=>{let{tKey:n,route:i,onClick:s}=e;return(0,t.jsx)(x.A,{...i?{component:g(),href:i}:{},onClick:e=>{let o=()=>null==s?void 0:s();if(!i){o(),l();return}(0,D.R)(e,()=>{H.push(i).catch(console.error),o(),l()})},sx:S.menuItem,children:y(n)},o)})]})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.