(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1931,3964,2900],{11321:function(e,t,i){"use strict";var n,r=i(52846);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(this,arguments)}t.Z=function(e){return r.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),n||(n=r.createElement("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m12 16 4-4m0 0-4-4m4 4H8m14 0c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z"})))}},27133:function(e,t,i){"use strict";var n,r=i(52846);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(this,arguments)}t.Z=function(e){return r.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),n||(n=r.createElement("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 5v14m-7-7h14"})))}},98604:function(e,t,i){Promise.resolve().then(i.bind(i,20240)),Promise.resolve().then(i.bind(i,19721)),Promise.resolve().then(i.bind(i,17289)),Promise.resolve().then(i.bind(i,27822)),Promise.resolve().then(i.bind(i,79473)),Promise.resolve().then(i.bind(i,90149)),Promise.resolve().then(i.bind(i,33940)),Promise.resolve().then(i.bind(i,24881)),Promise.resolve().then(i.bind(i,79121))},7315:function(e,t,i){"use strict";i.d(t,{Q0:function(){return a},wZ:function(){return o},yo:function(){return l}});var n,r,o,l,s=i(80498);let a=s.ul.injectEndpoints({endpoints:e=>({getUserBoxBattles:e.query({query:()=>({url:"/battle-auth/",method:"GET",withAuth:!0})}),getActiveBoxBattles:e.query({query:()=>({url:"/battle-service/active",method:"GET"})}),getFinishedBoxBattles:e.query({query:()=>({url:"/battle-service/finished",method:"GET"})}),getBoxBattlesStats:e.query({query:()=>({url:"/battle-service/stats",method:"GET"})}),getBoxBattleBySocketId:e.query({query:e=>({url:"/battle-service/".concat(e),method:"GET"})}),copyBoxBattle:e.mutation({query:e=>({url:"/battle-auth/create/".concat(e),method:"POST",withAuth:!0}),invalidatesTags:(e,t)=>t?[]:[s.Ln.balance]}),createBoxBattle:e.mutation({query:e=>({url:"/battle-auth/create/",method:"POST",withAuth:!0,body:e}),invalidatesTags:(e,t)=>t?[]:[s.Ln.balance]}),joinBoxBattle:e.mutation({query:e=>{let{battleId:t,place:i}=e;return{url:"/battle-auth/join/".concat(t,"?place=").concat(i),method:"POST",withAuth:!0}},invalidatesTags:(e,t)=>t?[]:[s.Ln.balance]}),leaveBoxBattle:e.mutation({query:e=>{let{battleId:t}=e;return{url:"/battle-auth/leave/".concat(t),method:"POST",withAuth:!0}},invalidatesTags:(e,t)=>t?[]:[s.Ln.balance]}),cancelBoxBattle:e.mutation({query:e=>{let{battleId:t}=e;return{url:"/battle-auth/cancel/".concat(t),method:"POST",withAuth:!0}},invalidatesTags:(e,t)=>t?[]:[s.Ln.balance]})})}),{}=a;(n=o||(o={})).TEAM="TEAM",n.ROYAL="ROYAL",(r=l||(l={})).BATTLE_CREATED="battle_created",r.BATTLE_USER_JOIN="battle_user_join",r.BATTLE_USER_LEFT="battle_user_left",r.BATTLE_FINISHED="battle_finish"},34210:function(e,t,i){"use strict";i.d(t,{Z:function(){return r},a3:function(){return s},dQ:function(){return o},ie:function(){return a}});var n=i(80498);let r=n.ul.injectEndpoints({endpoints:e=>({getAllCases:e.query({query:e=>({url:"/cases-service/",params:e,method:"GET"}),providesTags:[n.aQ.allList]}),getCaseInfo:e.query({query:e=>({url:"/cases-service/name/".concat(e,"/info"),method:"GET"}),providesTags:[n.aQ.infoBySlug]}),getCaseOdds:e.query({query:e=>({url:"/cases-service/".concat(e,"/available-history"),method:"GET"}),providesTags:[n.aQ.oddsHistory]}),getCaseOddsItems:e.query({query:e=>({url:"/cases-service/odds/".concat(e),method:"GET"}),providesTags:[n.aQ.oddsItems]}),openCase:e.mutation({query:e=>({url:"/cases-auth/".concat(e,"/open"),params:{c:1},method:"POST",withAuth:!0}),invalidatesTags:(e,t)=>t?[]:[n.Ln.balance,n.Ln.userInventoryAmount,n.Ln.activeInventory,n.Ln.inventory,n.hK.freeCaseCheck,n.FO.list]}),checkFreeCase:e.query({query:e=>({url:"/promo-auth/user/".concat(e),method:"GET",withAuth:!0}),providesTags:[n.hK.freeCaseCheck]})})}),{useGetAllCasesQuery:o,useGetCaseInfoQuery:l,useGetCaseOddsQuery:s,useGetCaseOddsItemsQuery:a}=r},33813:function(e,t,i){"use strict";i.d(t,{Z:function(){return g}});var n=i(57437),r=i(60304),o=i(18087),l=i(2265),s=i(28455);let a={[s.j.NEW]:{textColor:"#472610",bgColor:"#FCBD1D"},[s.j.HOT]:{textColor:"#ffffff",bgColor:"#F55347"},[s.j.EXCLUSIVE]:{textColor:"#ffffff",bgColor:"#7A5AF8"},[s.j.SALE]:{textColor:"#ffffff",bgColor:"#2E90FA"}};var d=e=>{let{label:t=s.j.DEFAULT}=e,i=a[t]||null;return t!==s.j.DEFAULT&&i?(0,n.jsx)(r.Z,{display:"flex",position:"absolute",top:0,left:20,sx:e=>({bgcolor:null==i?void 0:i.bgColor,borderRadius:e.spacing(0,0,.5,.5),p:{phxs:e.spacing(.25,.5,.375,.5),tbxs:e.spacing(.5,.75)}}),children:(0,n.jsx)(o.Z,{variant:"primaryCaption",fontWeight:500,color:null==i?void 0:i.textColor,children:t})}):null},c=i(57943),u=i(10419),h=i(55027),A=i(7025),g=(0,l.memo)(function(e){let{item:t}=e;return(null==t?void 0:t.isActive)?(0,n.jsx)(h.p,{href:c.gT.bySlug(null==t?void 0:t.caseSlug),disabled:!(null==t?void 0:t.caseSlug),children:(0,n.jsxs)(r.Z,{width:1,display:"flex",flexDirection:"column",alignItems:"center",borderRadius:4,position:"relative",sx:e=>({transition:"100ms",cursor:"pointer",boxShadow:"0px 4px 8px -4px rgba(0, 0, 0, 0.03), 0px 10px 24px -4px rgba(0, 0, 0, 0.08)",background:"linear-gradient(180deg, rgba(43, 45, 54, 0.00) 0%, rgba(43, 45, 54, 0.25) 100%), var(--colors-gray-color-800, #202127)",".priceBox":{bgcolor:e.palette.grey[700]},":hover":{".priceBox":{bgcolor:e.palette.primaries[400],".MuiTypography-root":{color:e.palette.primaries[900]}},boxShadow:"0px 6px 8px -4px rgba(238, 183, 43, 0.03), 0px 4px 24px -4px rgba(238, 183, 43, 0.08)",background:"linear-gradient(180deg, rgba(238, 183, 43, 0.00) 0%, rgba(238, 183, 43, 0.25) 100%), var(--colors-gray-color-800, #202127)"}}),children:[(0,n.jsx)(r.Z,{width:1,maxWidth:{phxs:162,tbxs:200},height:{phxs:130,tbxs:160},position:"relative",display:"flex",alignItems:"center",justifyContent:"center",children:(0,n.jsx)(h.o,{src:(0,A.r)(null==t?void 0:t.caseImg),alt:null==t?void 0:t.caseSlug,width:200,height:200,quality:100,style:{objectFit:"contain",width:"auto",height:"100%"}},null==t?void 0:t.caseSlug)}),(0,n.jsxs)(r.Z,{display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",gap:1,width:1,p:1.5,children:[(0,n.jsx)(o.Z,{variant:"primaryBody1",children:null==t?void 0:t.name}),(0,n.jsx)(r.Z,{className:"priceBox",display:"flex",alignItems:"center",justifyContent:"center",width:1,borderRadius:2,px:1.5,py:1,children:(0,n.jsx)(o.Z,{variant:"primaryButton",color:"primary",children:(0,u.Z)(null==t?void 0:t.price,2)})})]}),(0,n.jsx)(d,{label:null==t?void 0:t.type})]})}):null})},17289:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return A}});var n=i(57437),r=i(82508),o=i(29272),l=i(60304),s=i(54983),a=i(7025),d=i(57943),c=i(34210),u=i(35756);let h=["special","new"];function A(){var e,t,i;let{data:A={},isLoading:g}=(0,c.dQ)({ignoredCategories:h});if(g)return(0,n.jsx)(r.ZP,{container:!0,spacing:2,children:Array.from({length:18}).map((e,t)=>(0,n.jsx)(r.ZP,{item:!0,phxs:6,tbxs:4,tblg:3,lp:2.4,dtxs:2,children:(0,n.jsx)(o.Z,{height:300})},"case-list-item-skeleton-".concat(t)))});if(!A||(null===(e=Object)||void 0===e?void 0:e.keys(A).length)<=0)return null;let p=(null===(i=Object)||void 0===i?void 0:null===(t=i.keys(A))||void 0===t?void 0:t.flatMap(e=>A[e]))||[],x={"@context":"https://schema.org","@type":"WebPage",name:"LootFire",description:"Explore our collection of loot boxes filled with valuable items. Win rare treasures and unlock exciting surprises. Start your journey now!",mainEntity:{"@type":"ItemList",itemListElement:null==p?void 0:p.map((e,t)=>({"@type":"ListItem",position:null==e?void 0:e.position,item:{"@type":"Product",name:null==e?void 0:e.name,description:"Category: ".concat(null==e?void 0:e.category,", Price: $").concat(null==e?void 0:e.price),image:(null==e?void 0:e.caseImg)?(0,a.r)(null==e?void 0:e.caseImg):void 0,offers:{"@type":"Offer",price:null==e?void 0:e.price,priceCurrency:"USD",availability:(null==e?void 0:e.isActive)?"https://schema.org/InStock":"https://schema.org/OutOfStock"},url:"".concat("https://lootfire.com").concat(d.gT.bySlug(null==e?void 0:e.caseSlug))}}))}};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.default,{id:"cases-section-2",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(x)}},"cases-section-2"),(0,n.jsx)(l.Z,{width:1,display:"flex",justifyContent:"center",flexDirection:"column",gap:2,children:(0,n.jsx)(u.Z,{list:p})})]})}},35756:function(e,t,i){"use strict";i.d(t,{Z:function(){return l}});var n=i(57437),r=i(82508),o=i(33813);function l(e){let{list:t=[]}=e;return t.length?(0,n.jsx)(r.ZP,{container:!0,spacing:2,children:null==t?void 0:t.map((e,t)=>(0,n.jsx)(r.ZP,{item:!0,phxs:6,tbxs:4,tblg:3,lp:2.4,dtxs:2,order:(null==e?void 0:e.position)||1,children:(0,n.jsx)(o.Z,{item:e})},"case-list-item-".concat(t)))}):null}},27822:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return h}});var n=i(57437),r=i(60304),o=i(18087),l=i(54983),s=i(7025),a=i(57943),d=i(28455),c=i(34210),u=i(35756);function h(e){var t,i;let{label:h="",type:A=d.j.DEFAULT,category:g,take:p}=e,{data:x,isLoading:m}=(0,c.dQ)({category:g,type:A,take:p});if(m||!x||(null===(t=Object)||void 0===t?void 0:t.keys(x).length)<=0)return null;let f=null===(i=Object)||void 0===i?void 0:i.values(x).flatMap(e=>e),v={"@context":"https://schema.org","@type":"WebPage",name:"LootFire",description:"Explore our collection of loot boxes filled with valuable items. Win rare treasures and unlock exciting surprises. Start your journey now!",mainEntity:{"@type":"ItemList",itemListElement:null==f?void 0:f.map((e,t)=>({"@type":"ListItem",position:null==e?void 0:e.position,item:{"@type":"Product",name:null==e?void 0:e.name,description:"Category: ".concat(null==e?void 0:e.category,", Price: $").concat(null==e?void 0:e.price),image:(null==e?void 0:e.caseImg)?(0,s.r)(null==e?void 0:e.caseImg):void 0,offers:{"@type":"Offer",price:null==e?void 0:e.price,priceCurrency:"USD",availability:(null==e?void 0:e.isActive)?"https://schema.org/InStock":"https://schema.org/OutOfStock"},url:"".concat("https://lootfire.com").concat(a.gT.bySlug(null==e?void 0:e.caseSlug))}}))}};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(l.default,{id:"cases-section-1",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(v)}},"cases-section-1"),(0,n.jsx)(r.Z,{width:1,display:"flex",justifyContent:"center",flexDirection:"column",gap:2,children:(0,n.jsxs)(r.Z,{display:"flex",flexDirection:"column",alignItems:"center",width:1,position:"relative",gap:3,children:[(0,n.jsx)(o.Z,{variant:"secondaryH4",textTransform:"uppercase",fontWeight:500,children:h}),(0,n.jsx)(u.Z,{list:f})]})})]})}},79473:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return f}});var n=i(57437),r=i(60304),o=i(18087),l=i(54983),s=i(34210),a=i(7025),d=i(82508),c=i(45577),u=i(83789),h=i(57943),A=i(10419),g=i(94177),p=i(55027);function x(e){let{item:t}=e;return(null==t?void 0:t.isActive)?(0,n.jsx)(p.p,{href:h.gT.bySlug(null==t?void 0:t.caseSlug),disabled:!(null==t?void 0:t.caseSlug),sx:{width:1},children:(0,n.jsxs)(r.Z,{width:1,display:"flex",flexDirection:"column",alignItems:"center",borderRadius:4,position:"relative",component:c.E.div,initial:"initial",whileHover:"hover",variants:{initial:{y:0},hover:{y:-8}},sx:e=>({cursor:"pointer",boxShadow:"0px 4px 8px -4px rgba(0, 0, 0, 0.03), 0px 10px 24px -4px rgba(0, 0, 0, 0.08)",background:"linear-gradient(180deg, #53B1FD 0%, #FAE28F 100%)",".MuiButton-root":{transition:"250ms",".boxPrice":{display:"flex"},".boxOpen":{display:"none"},".MuiButton-endIcon svg":{opacity:0,height:0,width:0,pointerEvents:"none",transition:"250ms"},backgroundColor:e.palette.grey[700],color:e.palette.primaries[400],path:{transition:"250ms"}},":hover":{".MuiButton-root":{transition:"250ms",".boxPrice":{display:"none"},".boxOpen":{display:"flex"},".MuiButton-endIcon svg":{opacity:1,height:"auto",width:"auto",transition:"250ms"},backgroundColor:e.palette.primaries[400],color:e.palette.primaries[900],path:{stroke:e.palette.primaries[900],transition:"250ms"}}}}),children:[(0,n.jsx)(r.Z,{width:1,maxWidth:{phxs:174,tbxs:224},height:{phxs:140,tbxs:180},position:"relative",display:"flex",alignItems:"center",justifyContent:"center",my:2,children:(0,n.jsx)(p.o,{src:(0,a.r)(null==t?void 0:t.caseImg),alt:null==t?void 0:t.caseSlug,width:350,height:350,quality:100,style:{objectFit:"contain",width:"auto",height:"100%"}},null==t?void 0:t.caseSlug)}),(0,n.jsxs)(r.Z,{display:"flex",flexDirection:"column",alignItems:"center",gap:1,width:1,p:1.5,pt:.5,children:[(0,n.jsx)(o.Z,{variant:"primaryBody1",children:null==t?void 0:t.name}),(0,n.jsxs)(g.zx,{fullWidth:!0,variant:"contained",color:"secondary",size:"small",endIcon:(0,n.jsx)(u.Z,{}),children:[(0,n.jsx)("span",{className:"boxPrice",children:(0,A.Z)(null==t?void 0:t.price,2)}),(0,n.jsx)("span",{className:"boxOpen",children:"Open Box"})]})]})]})}):null}function m(e){let{list:t=[]}=e;return t.length?(0,n.jsx)(d.ZP,{container:!0,spacing:{phxs:1.5,lb:3},justifyContent:"center",children:null==t?void 0:t.map((e,t)=>(0,n.jsx)(d.ZP,{item:!0,phxs:12,ph:6,phlg:6,tblg:4,lp:3,dtxs:2.4,children:(0,n.jsx)(x,{item:e})},"limited-case-".concat(null==e?void 0:e.caseSlug)))}):null}function f(){var e,t;let{data:i,isLoading:d}=(0,s.dQ)({category:"special"});if(d||!i||(null===(e=Object)||void 0===e?void 0:e.keys(i).length)<=0)return null;let c=null===(t=Object)||void 0===t?void 0:t.values(i).flatMap(e=>e),u={"@context":"https://schema.org","@type":"WebPage",name:"LootFire",description:"Explore our collection of loot boxes filled with valuable items. Win rare treasures and unlock exciting surprises. Start your journey now!",mainEntity:{"@type":"ItemList",itemListElement:null==c?void 0:c.map((e,t)=>({"@type":"ListItem",position:null==e?void 0:e.position,item:{"@type":"Product",name:null==e?void 0:e.name,description:"Category: ".concat(null==e?void 0:e.category,", Price: $").concat(null==e?void 0:e.price),image:(null==e?void 0:e.caseImg)?(0,a.r)(null==e?void 0:e.caseImg):void 0,offers:{"@type":"Offer",price:null==e?void 0:e.price,priceCurrency:"USD",availability:(null==e?void 0:e.isActive)?"https://schema.org/InStock":"https://schema.org/OutOfStock"},url:"".concat("https://lootfire.com").concat(h.gT.bySlug(null==e?void 0:e.caseSlug))}}))}};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(l.default,{id:"cases-section-3",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(u)}},"cases-section-3"),(0,n.jsxs)(r.Z,{display:"flex",flexDirection:"column",alignItems:"center",width:1,position:"relative",gap:3,children:[(0,n.jsx)(o.Z,{variant:"secondaryH4",textTransform:"uppercase",fontWeight:500,textAlign:"center",children:"Limited collection"}),(0,n.jsxs)(r.Z,{display:"flex",position:"relative",width:1,p:{phxs:1.5,lp:5},borderRadius:6,bgcolor:"grey.800",sx:{svg:{display:{phxs:"none",lp:"block"}}},children:[(0,n.jsx)(v,{top:16,left:16}),(0,n.jsx)(v,{top:16,right:16}),(0,n.jsx)(v,{bottom:16,left:16}),(0,n.jsx)(v,{bottom:16,right:16}),(0,n.jsx)(m,{list:c})]})]})]})}let v=e=>(0,n.jsx)(r.Z,{component:"svg",xmlns:"http://www.w3.org/2000/svg",width:"22px",height:"22px",viewBox:"0 0 22 22",fill:"none",position:"absolute",sx:e=>({path:{stroke:e.palette.grey[300]}}),...e,children:(0,n.jsx)("path",{d:"M11 1V21M21 11L1 11",stroke:"white",strokeWidth:"2",strokeLinecap:"round"})})},70042:function(e,t,i){"use strict";i.d(t,{Z:function(){return o}});var n=i(57437),r=i(55027);function o(e){let{src:t="",alt:i="empty",...o}=e;return(0,n.jsx)(r.o,{src:t,alt:i,width:180,height:180,style:{objectFit:"contain",height:"100%",width:"100%"},...o})}},63755:function(e,t,i){"use strict";i.d(t,{J:function(){return r},U:function(){return o}});var n=i(80498);let r=n.ul.injectEndpoints({endpoints:e=>({me:e.query({query:()=>({url:"/user-auth/profile",method:"GET",withAuth:!0}),providesTags:[n.Ln.main]}),balance:e.query({query:()=>({url:"/user-auth/profile/balance",method:"GET",withAuth:!0}),providesTags:[n.Ln.balance]}),privateBoxes:e.query({query:e=>({url:"/user-auth/profile/history/cases",params:e,method:"GET",withAuth:!0}),providesTags:[n.Ln.boxes]}),withdrawals:e.query({query:e=>({url:"/user-auth/profile/history/withdraw",params:e,method:"GET",withAuth:!0}),providesTags:[n.Ln.withdrawals]}),upgraderItems:e.query({query:e=>{let{userId:t,...i}=e;return{url:"/upgrader/public/".concat(t),params:i,method:"GET",withAuth:!0}},providesTags:[n.Ln.upgraderHistoryItems]}),upgraderDeals:e.query({query:e=>{let{userId:t,...i}=e;return{url:"/upgrader/public/deal/".concat(t),params:i,method:"GET",withAuth:!0}},providesTags:[n.Ln.upgraderHistoryDeals]}),config:e.query({query:()=>({url:"/referral/config",method:"GET"}),providesTags:[n.Ln.config]}),referral:e.query({query:()=>({url:"/referral-auth/profile",method:"GET",withAuth:!0}),providesTags:[n.Ln.referral]}),bonuses:e.query({query:()=>({url:"/user-auth/profile/bonuses",method:"GET",withAuth:!0}),providesTags:[n.Ln.bonuses]}),saveNewReferralUrl:e.mutation({query:e=>({url:"/referral-auth/url",body:{referralCode:e},method:"POST",withAuth:!0}),invalidatesTags:(e,t)=>t?[]:[n.Ln.referral,n.Ln.main]}),level:e.query({query:()=>({url:"/referral-auth/me/level",method:"GET",withAuth:!0}),providesTags:[n.Ln.level]}),getInventoryAmount:e.query({query:()=>({url:"/inventory-auth/amount",method:"GET",withAuth:!0}),transformResponse:e=>(null==e?void 0:e.price)||0,providesTags:[n.Ln.userInventoryAmount]}),sellAllUserItems:e.mutation({query:()=>({url:"/inventory-auth/sell/all",method:"POST",withAuth:!0}),invalidatesTags:(e,t)=>t?[]:[n.Ln.balance,n.Ln.inventory,n.Ln.userInventoryAmount,n.Ln.activeInventory]}),getInventory:e.query({query:e=>({url:"/inventory-auth/profile/history",params:e,method:"GET",withAuth:!0}),providesTags:[n.Ln.inventory]}),getUserGifts:e.query({query:e=>({url:"/promo-auth/history",params:e,method:"GET",withAuth:!0}),providesTags:[n.Ln.gifts]}),getActiveInventory:e.query({query:e=>({url:"/inventory-auth/active",params:e,method:"GET",withAuth:!0}),providesTags:[n.Ln.activeInventory]}),sellItems:e.mutation({query:e=>({url:"/inventory-auth/items/sell",body:{itemIds:[e]},method:"POST",withAuth:!0}),invalidatesTags:(e,t)=>t?[]:[n.Ln.balance,n.Ln.inventory,n.Ln.userInventoryAmount,n.Ln.activeInventory]}),redeemItem:e.mutation({query:e=>({url:"/withdraw-auth/bonus/claim",body:{itemId:e},method:"POST",withAuth:!0}),invalidatesTags:(e,t)=>t?[]:[n.q0.list,n.Ln.balance,n.Ln.inventory,n.Ln.userInventoryAmount]}),collectItem:e.mutation({query:e=>({url:"/withdraw-auth/shipping",body:{itemIds:[e]},method:"POST",withAuth:!0}),invalidatesTags:(e,t)=>t?[]:[n.q0.list,n.Ln.balance,n.Ln.inventory,n.Ln.userInventoryAmount,n.Ln.activeInventory]}),claimItem:e.mutation({query:e=>({url:"/withdraw-auth/kinguin/request",body:{itemId:e},method:"POST",withAuth:!0}),invalidatesTags:(e,t)=>t?[]:[n.q0.list,n.Ln.balance,n.Ln.inventory,n.Ln.userInventoryAmount]}),kinguinReveal:e.mutation({query:e=>({url:"/withdraw-auth/kinguin/claim",body:{itemId:e},method:"POST",withAuth:!0})})})}),{useMeQuery:o}=r},1124:function(e,t,i){"use strict";i.d(t,{Z:function(){return c}});var n=i(57437),r=i(60304),o=i(8792),l=i(99272),s=i(57943),a=i(30295),d=i(55027);function c(e){let{href:t,children:i,disabled:c=!1,target:u,...h}=e;return(0,a.C)(l.fN)?c||!t?(0,n.jsx)(n.Fragment,{children:i}):(0,n.jsx)(r.Z,{display:"flex",alignItems:"center",justifyContent:"center",component:o.default,href:t,passHref:!0,target:u,...h,children:i}):(0,n.jsx)(d.p,{href:s.nD.loginPage,display:"flex",alignItems:"center",justifyContent:"center",...h,children:i})}},8011:function(e,t,i){"use strict";i.r(t),i.d(t,{useLayoutBackground:function(){return a}});var n=i(57437),r=i(368),o=i(60304),l=i(82495),s=i(45577);let a=(0,i(24505).Ue)()(e=>({layoutColor:"",setLayoutColor:t=>e(()=>({layoutColor:t}))}));t.default=e=>{let{children:t}=e,i=(0,r.Z)(),{layoutColor:d}=a();return(0,n.jsxs)(o.Z,{display:"flex",width:1,flexDirection:"column",alignItems:"center",height:1,bgcolor:"grey.900",sx:{overflowX:"hidden",position:"relative"},children:[(0,n.jsx)(o.Z,{component:s.E.div,sx:{position:"absolute",top:0,left:0,right:0,height:390,pointerEvents:"none",zIndex:0},animate:{background:"linear-gradient(180deg, ".concat(d?(0,l.Fq)(d,.15):(0,l.Fq)(i.palette.grey[900],.15)," 0%,").concat(i.palette.grey[900]," 100%)")},transition:{duration:.5}}),t]})}},82988:function(e,t,i){"use strict";i.d(t,{e:function(){return o},z:function(){return l}});var n=i(28209);let r={transports:["websocket","pooling"],reconnection:!0,reconnectionAttempts:10,reconnectionDelay:2e3,reconnectionDelayMax:1e4,randomizationFactor:.5},o=(0,n.io)("".concat("wss://socket.lootfire.com","/stats"),r),l=(0,n.io)("".concat("wss://socket.lootfire.com","/battle"),r)},62849:function(e,t,i){"use strict";var n,r;i.d(t,{N:function(){return n}}),(r=n||(n={})).BATTLE_CREATED="BATTLE_CREATED",r.BATTLE_PENDING="BATTLE_PENDING",r.BATTLE_FINISHED="BATTLE_FINISHED",r.BATTLE_CANCELED="BATTLE_CANCELED",r.BATTLE_CLOSED="BATTLE_CLOSED"},28455:function(e,t,i){"use strict";var n,r;i.d(t,{j:function(){return n}}),(r=n||(n={})).DEFAULT="DEFAULT",r.HIDDEN="HIDDEN",r.HOT="HOT",r.NEW="NEW",r.SALE="SALE",r.EXCLUSIVE="EXCLUSIVE",r.LIMITED="LIMITED"},17163:function(e,t,i){"use strict";function n(){var e,t;let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return null===(t=Number(null!=i?i:0))||void 0===t?void 0:null===(e=t.toLocaleString("eu-US"))||void 0===e?void 0:e.replaceAll(","," ")}i.d(t,{Z:function(){return n}})},51340:function(e,t,i){"use strict";function n(e){var t;return(null!==(t=new URL(e).pathname.split(".").pop())&&void 0!==t?t:"").toLowerCase()}i.d(t,{Z:function(){return n}})},84955:function(e,t,i){"use strict";i.d(t,{Z:function(){return d}});var n=i(57437),r=i(23801),o=i(58836);i(2265);var l=i(51340),s=i(55027);let a=(0,o.ZP)(r.Z,{shouldForwardProp:e=>"size"!==e})(e=>{let{size:t}=e;return{flex:"none",..."large"===t&&{width:48,height:48},..."medium"===t&&{width:40,height:40},..."small"===t&&{width:32,height:32},..."extra-small"===t&&{width:24,height:24}}});function d(e){let{size:t="medium",src:i,alt:r="alt",key:o,nextImageProps:d,icon:c=null,...u}=e;return(0,n.jsx)(a,{size:t,...u,children:c||(0,n.jsx)(s.o,{unoptimized:!!i&&"svg"===(0,l.Z)(i),width:48,height:48,style:{objectFit:"contain",width:"100%",height:"auto"},...d,src:i,alt:r},o)})}},55027:function(e,t,i){"use strict";i.d(t,{o:function(){return l},p:function(){return a}});var n=i(57437),r=i(60304),o=i(20703);function l(e){let{src:t,sx:i,style:l,boxProps:s,...a}=e;return t?(0,n.jsx)(r.Z,{display:"flex",alignItems:"center",justifyContent:"center",width:1,height:1,sx:{...i,img:{...l}},...s,children:(0,n.jsx)(o.default,{src:t,style:{color:void 0},...a})}):null}var s=i(8792);function a(e){let{href:t,children:i,disabled:o=!1,target:l,...a}=e;return o||!t?(0,n.jsx)(n.Fragment,{children:i}):(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(r.Z,{display:"flex",alignItems:"center",justifyContent:"center",component:s.default,href:t,passHref:!0,target:l,...a,children:i})})}},11474:function(e,t,i){"use strict";var n=i(57437),r=i(60304),o=i(2265);t.Z=e=>{let{count:t,render:i,...l}=e;return(0,n.jsx)(r.Z,{...l,children:Array.from({length:t},(e,t)=>(0,n.jsx)(o.Fragment,{children:i(t)},t))})}},34020:function(e,t,i){"use strict";i.d(t,{XZ:function(){return R},Y8:function(){return j},rs:function(){return B}});var n,r,o,l,s,a,d,c,u,h,A,g,p,x=i(57437),m=i(97448),f=i(52846);function v(){return(v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(this,arguments)}var y=function(e){return f.createElement("svg",v({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),n||(n=f.createElement("rect",{width:15,height:15,x:.5,y:.5,fill:"#2B2D36",rx:7.5})),r||(r=f.createElement("circle",{cx:8,cy:8,r:3,fill:"#EEB72B"})),o||(o=f.createElement("rect",{width:15,height:15,x:.5,y:.5,stroke:"#EEB72B",rx:7.5})))};function b(){return(b=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(this,arguments)}var w=function(e){return f.createElement("svg",b({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),l||(l=f.createElement("rect",{width:15,height:15,x:.5,y:.5,fill:"#2B2D36",rx:7.5})),s||(s=f.createElement("rect",{width:15,height:15,x:.5,y:.5,stroke:"#53586F",rx:7.5})))};function j(e){return(0,x.jsx)(m.Z,{icon:(0,x.jsx)(w,{}),checkedIcon:(0,x.jsx)(y,{}),...e})}var E=i(60304),L=i(74944),Z=i(18087);function B(e){let{label:t="",caption:i="",...n}=e;return(0,x.jsxs)(E.Z,{display:"flex",gap:1,flex:"none",alignItems:"center",children:[(0,x.jsx)(L.Z,{...n}),(t||i)&&(0,x.jsxs)(E.Z,{display:"flex",flexDirection:"column",justifyContent:"center",gap:.25,children:[t&&(0,x.jsx)(Z.Z,{variant:"primaryBody1",children:t}),i&&(0,x.jsx)(Z.Z,{variant:"primaryBody2",color:"grey.400",children:i})]})]})}var C=i(18645);function T(){return(T=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(this,arguments)}var I=function(e){return f.createElement("svg",T({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),a||(a=f.createElement("rect",{width:15,height:15,x:.5,y:.5,fill:"#2B2D36",rx:3.5})),d||(d=f.createElement("path",{stroke:"#EEB72B",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.667,d:"m12 5-5.5 5.5L4 8"})),c||(c=f.createElement("rect",{width:15,height:15,x:.5,y:.5,stroke:"#EEB72B",rx:3.5})))};function k(){return(k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(this,arguments)}var D=function(e){return f.createElement("svg",k({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),u||(u=f.createElement("rect",{width:15,height:15,x:.5,y:.5,fill:"#2B2D36",rx:3.5})),h||(h=f.createElement("rect",{width:15,height:15,x:.5,y:.5,stroke:"#53586F",rx:3.5})))};function Q(){return(Q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(this,arguments)}var S=function(e){return f.createElement("svg",Q({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),A||(A=f.createElement("rect",{width:15,height:15,x:.5,y:.5,fill:"#2B2D36",rx:3.5})),g||(g=f.createElement("path",{stroke:"#EEB72B",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.667,d:"M4.5 8h7"})),p||(p=f.createElement("rect",{width:15,height:15,x:.5,y:.5,stroke:"#EEB72B",rx:3.5})))};function R(e){let{label:t,...i}=e;return(0,x.jsxs)(E.Z,{display:"flex",gap:1,children:[(0,x.jsx)(C.Z,{icon:(0,x.jsx)(D,{}),checkedIcon:(0,x.jsx)(I,{}),indeterminateIcon:(0,x.jsx)(S,{}),...i}),t&&(0,x.jsx)(Z.Z,{variant:"primaryBody2",children:t})]})}},75426:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return b}});var n=i(57437),r=i(60304),o=i(98899),l=i(18087),s=i(10675),a=i(29099),d=i(90471),c=i(73001),u=i(7025),h=i(70042),A=i(63755),g=i(51597),p=i(57943),x=i(62849),m=i(30295),f=i(10419),v=i(94177),y=i(55027);function b(e){var t,i,c;let{item:b,...j}=e,E=(0,m.C)(e=>e.session.isAuthorized),{data:L}=(0,A.U)(void 0,{skip:!E}),Z=null==b?void 0:null===(t=b.users)||void 0===t?void 0:t.find(e=>(null==e?void 0:e.id)===(null==L?void 0:L.id)),B=b?Z&&((null==b?void 0:b.status)===x.N.BATTLE_FINISHED||(null==b?void 0:b.status)===x.N.BATTLE_CLOSED)?(null==Z?void 0:Z.isWinner)?"WIN":"LOSE":(0,d.mH)(b):s.q4.PUBLIC;return(0,n.jsxs)(r.Z,{display:"flex",flexDirection:"column",width:1,bgcolor:"grey.600",borderRadius:5,p:1.5,gap:1.5,sx:{background:null===s.tf||void 0===s.tf?void 0:null===(i=s.tf[B])||void 0===i?void 0:i.background},...j,children:[(0,n.jsxs)(r.Z,{display:"flex",alignItems:"center",justifyContent:"space-between",gap:2,minHeight:84,height:"auto",children:[(0,n.jsx)(w,{battleInfo:b}),(0,n.jsx)(a.Z,{users:null==b?void 0:b.users,playersCount:null==b?void 0:b.players,battleType:null==b?void 0:b.type,battleSocketId:null==b?void 0:b.socketRoomId})]}),(0,n.jsx)(r.Z,{display:"flex",bgcolor:"grey.900",p:1,gap:1,borderRadius:3,position:"relative",width:1,sx:{overflowX:"scroll"},children:null==b?void 0:null===(c=b.cases)||void 0===c?void 0:c.map((e,t)=>(0,n.jsx)(o.Z,{title:null==e?void 0:e.name,children:(0,n.jsx)(r.Z,{display:"flex",flex:"none",position:"relative",width:90,height:90,sx:{filter:(null==b?void 0:b.status)===x.N.BATTLE_FINISHED||(null==b?void 0:b.status)===x.N.BATTLE_CLOSED?"brightness(0.4)":"none",cursor:"pointer",transition:"all 0.1s ease",":hover":{filter:"none"}},children:(0,n.jsx)(h.Z,{src:(0,u.r)(null==e?void 0:e.caseImg),alt:null==e?void 0:e.caseSlug},null==e?void 0:e.caseSlug)})},"battle-list-item-case-".concat(null==e?void 0:e.name,"-").concat(t)))}),(0,n.jsxs)(r.Z,{display:"flex",alignItems:"center",justifyContent:"space-between",gap:3,children:[(0,n.jsx)(r.Z,{display:"flex",alignItems:"center",gap:1,children:(0,n.jsx)(l.Z,{variant:"secondarySubtitle1",fontWeight:500,color:"primaries.400",children:(0,f.Z)(null==b?void 0:b.price,2)})}),(null==b?void 0:b.status)===x.N.BATTLE_FINISHED||(null==b?void 0:b.status)===x.N.BATTLE_CLOSED?(0,n.jsxs)(r.Z,{display:"flex",gap:1,children:[(0,n.jsx)(v.zx,{disabled:!0,color:"primary",variant:"outlined",sx:{width:143},children:"Battle finished"}),(0,n.jsx)(y.p,{href:p.Pd.bySocketId(null==b?void 0:b.socketRoomId),children:(0,n.jsx)(v.hU,{color:"secondaryContained",children:(0,n.jsx)(g.Z,{})})})]}):(0,n.jsx)(y.p,{href:p.Pd.bySocketId(null==b?void 0:b.socketRoomId),children:(0,n.jsx)(v.zx,{color:"primary",variant:"outlined",sx:{width:200},children:"Join battle"})})]})]},"battle-list-item-mobile-".concat(null==b?void 0:b.socketRoomId))}let w=e=>{let{battleInfo:t}=e,i=(0,c.Z)(t);return(0,n.jsxs)(r.Z,{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",children:[(0,n.jsx)(r.Z,{display:"flex",alignItems:"center",justifyContent:"center",flex:"none",width:64,height:64,children:(0,n.jsx)(y.o,{src:i.image,alt:i.slug,sx:{width:"100%",height:"100%"},style:{objectFit:"contain",width:"auto",height:"100%"}},i.slug)}),(0,n.jsxs)(r.Z,{display:"flex",alignItems:"center",justifyContent:"center",gap:.5,children:[(0,n.jsx)(r.Z,{display:"flex",alignItems:"center",justifyContent:"center",bgcolor:"greyTransparent.500",borderRadius:5,px:.75,py:.25,children:(0,n.jsx)(l.Z,{variant:"primaryCaption",fontWeight:500,color:"grey.100",children:null==t?void 0:t.rounds})}),(0,n.jsx)(r.Z,{display:"flex",alignItems:"center",justifyContent:"center",bgcolor:"greyTransparent.500",borderRadius:5,px:.75,py:.25,children:(0,n.jsx)(l.Z,{variant:"primaryCaption",fontWeight:500,color:"grey.100",children:(null==t?void 0:t.crazyMode)?"Crazy":(null==t?void 0:t.shared)?"Shared":(null==t?void 0:t.isPrivate)?"Private":"Classic"})})]})]})}},29099:function(e,t,i){"use strict";i.d(t,{Z:function(){return A}});var n=i(57437),r=i(60304),o=i(27133),l=i(57943),s=i(84955),a=i(55027);let d=()=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[(0,n.jsxs)("mask",{id:"path-1-outside-1_63_16442",maskUnits:"userSpaceOnUse",x:"-1",y:"0",width:"18",height:"16",fill:"black",children:[(0,n.jsx)("rect",{fill:"white",x:"-1",width:"18",height:"16"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.53333 10.75L2 5L5.5 7.5L8 2L10.5 7.5L14 5L12.4667 10.75H3.53333ZM3.93333 12.25L4.4 14H8H11.6L12.0667 12.25H3.93333Z"})]}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.53333 10.75L2 5L5.5 7.5L8 2L10.5 7.5L14 5L12.4667 10.75H3.53333ZM3.93333 12.25L4.4 14H8H11.6L12.0667 12.25H3.93333Z",fill:"#32D583"}),(0,n.jsx)("path",{d:"M2 5L3.16248 3.37253C2.47585 2.88209 1.55528 2.87533 0.861531 3.35565C0.167781 3.83597 -0.149885 4.70002 0.0675302 5.51533L2 5ZM3.53333 10.75L1.60086 11.2653C1.83432 12.1408 2.62722 12.75 3.53333 12.75V10.75ZM5.5 7.5L4.33752 9.12747C4.82403 9.47497 5.44048 9.5866 6.01795 9.43177C6.59542 9.27694 7.07333 8.87188 7.32073 8.32761L5.5 7.5ZM8 2L9.82073 1.17239C9.49619 0.458405 8.78429 0 8 0C7.21571 0 6.50381 0.458405 6.17927 1.17239L8 2ZM10.5 7.5L8.67927 8.32761C8.92667 8.87188 9.40458 9.27694 9.98205 9.43177C10.5595 9.5866 11.176 9.47497 11.6625 9.12747L10.5 7.5ZM14 5L15.9325 5.51533C16.1499 4.70002 15.8322 3.83597 15.1385 3.35565C14.4447 2.87533 13.5241 2.88209 12.8375 3.37253L14 5ZM12.4667 10.75V12.75C13.3728 12.75 14.1657 12.1408 14.3991 11.2653L12.4667 10.75ZM3.93333 12.25V10.25C3.31197 10.25 2.7259 10.5388 2.34735 11.0315C1.96879 11.5242 1.84075 12.1649 2.00086 12.7653L3.93333 12.25ZM4.4 14L2.46753 14.5153C2.701 15.3908 3.4939 16 4.4 16V14ZM11.6 14V16C12.5061 16 13.299 15.3908 13.5325 14.5153L11.6 14ZM12.0667 12.25L13.9991 12.7653C14.1592 12.1649 14.0312 11.5242 13.6527 11.0315C13.2741 10.5388 12.688 10.25 12.0667 10.25V12.25ZM0.0675302 5.51533L1.60086 11.2653L5.4658 10.2346L3.93247 4.48467L0.0675302 5.51533ZM6.66248 5.87253L3.16248 3.37253L0.837524 6.62747L4.33752 9.12747L6.66248 5.87253ZM6.17927 1.17239L3.67927 6.67239L7.32073 8.32761L9.82073 2.82761L6.17927 1.17239ZM12.3207 6.67239L9.82073 1.17239L6.17927 2.82761L8.67927 8.32761L12.3207 6.67239ZM12.8375 3.37253L9.33752 5.87253L11.6625 9.12747L15.1625 6.62747L12.8375 3.37253ZM14.3991 11.2653L15.9325 5.51533L12.0675 4.48467L10.5342 10.2346L14.3991 11.2653ZM3.53333 12.75H12.4667V8.74997H3.53333V12.75ZM2.00086 12.7653L2.46753 14.5153L6.33247 13.4847L5.8658 11.7346L2.00086 12.7653ZM4.4 16H8V12H4.4V16ZM8 16H11.6V12H8V16ZM13.5325 14.5153L13.9991 12.7653L10.1342 11.7346L9.66753 13.4847L13.5325 14.5153ZM12.0667 10.25H3.93333V14.25H12.0667V10.25Z",fill:"#202127",mask:"url(#path-1-outside-1_63_16442)"})]});function c(e){let{userImg:t,socketId:i,isWinner:c=!1,place:u=99}=e;return t?(0,n.jsxs)(r.Z,{display:"flex",flex:"none",position:"relative",order:u,children:[(0,n.jsx)(s.Z,{size:"large",src:t,sx:{border:c?"2px solid":"none",borderColor:"#32D583"}}),c&&(0,n.jsx)(r.Z,{display:"flex",justifyContent:"center",flex:"none",position:"absolute",sx:{bottom:-6,left:0,right:0,mx:"auto"},children:(0,n.jsx)(d,{})})]}):(0,n.jsx)(a.p,{href:l.Pd.bySocketId(i),sx:{order:u},children:(0,n.jsx)(r.Z,{display:"flex",alignItems:"center",justifyContent:"center",flex:"none",width:48,height:48,bgcolor:"grey.700",borderRadius:48,sx:{":hover":{bgcolor:"grey.600"}},children:(0,n.jsx)(o.Z,{})})})}var u=i(7315),h=i(11474);function A(e){let{users:t,playersCount:i=0,battleType:l,battleSocketId:s}=e,a=null==t?void 0:t.reduce((e,t)=>((null==t?void 0:t.place)>=1&&(null==t?void 0:t.place)<=i&&(e[(null==t?void 0:t.place)-1]=t),e),[,,,,].fill(void 0));return l===u.wZ.TEAM?(0,n.jsxs)(r.Z,{display:"flex",alignItems:"center",gap:.5,children:[null==a?void 0:a.slice(0,2).map((e,t)=>(0,n.jsx)(c,{userImg:null==e?void 0:e.avatarFull,socketId:s,isWinner:null==e?void 0:e.isWinner,place:t+1},t)),(0,n.jsx)(r.Z,{display:"flex",flex:"none",order:3,sx:{transform:"rotate(45deg)"},children:(0,n.jsx)(o.Z,{})}),null==a?void 0:a.slice(2).map((e,t)=>(0,n.jsx)(c,{userImg:null==e?void 0:e.avatarFull,socketId:s,isWinner:null==e?void 0:e.isWinner,place:t+3},t+2))]}):(0,n.jsx)(r.Z,{display:"flex",alignItems:"center",children:(0,n.jsx)(h.Z,{display:"flex",gap:.5,count:i,render:e=>{var t,i,r;return(0,n.jsx)(c,{userImg:null==a?void 0:null===(t=a[e])||void 0===t?void 0:t.avatarFull,socketId:s,isWinner:null==a?void 0:null===(i=a[e])||void 0===i?void 0:i.isWinner,place:(null==a?void 0:null===(r=a[e])||void 0===r?void 0:r.place)||e})}})})}},90149:function(e,t,i){"use strict";i.r(t);var n=i(57437),r=i(60304),o=i(18087),l=i(29272),s=i(45577),a=i(46368),d=i(2265),c=i(75426),u=i(1124),h=i(7315),A=i(82988),g=i(57943),p=i(62849),x=i(94177),m=i(55027);t.default=function(){return(0,n.jsx)(v,{})};let f=e=>{let{children:t}=e;return(0,n.jsxs)(r.Z,{display:"flex",flexDirection:"column",alignItems:"center",width:1,position:"relative",gap:3,component:s.E.div,initial:{opacity:0},animate:{opacity:1},children:[(0,n.jsxs)(r.Z,{display:"flex",alignItems:"center",justifyContent:{phxs:"center",tb:"flex-end"},width:1,position:"relative",height:46,children:[(0,n.jsx)(o.Z,{variant:"secondaryH4",textTransform:"uppercase",fontWeight:500,textAlign:"center",position:{phxs:"relative",tb:"absolute"},sx:{left:0,right:0},children:"Box Battles"}),(0,n.jsxs)(r.Z,{display:{phxs:"none",tb:"flex"},gap:1,children:[(0,n.jsx)(u.Z,{href:g.Pd.createBoxBattle,children:(0,n.jsx)(x.zx,{variant:"contained",color:"primary",size:"small",children:"Create battle"})}),(0,n.jsx)(m.p,{href:g.Pd.listMain,children:(0,n.jsx)(x.zx,{variant:"outlined",color:"primary",size:"small",children:"View All"})})]})]}),(0,n.jsx)(r.Z,{display:"flex",position:"relative",width:1,overflow:"hidden",children:t}),(0,n.jsxs)(r.Z,{display:{phxs:"flex",tb:"none"},gap:1,width:1,sx:{width:1,"*":{width:1}},children:[(0,n.jsx)(m.p,{href:g.Pd.listMain,children:(0,n.jsx)(x.zx,{fullWidth:!0,variant:"outlined",color:"primary",size:"small",children:"View All"})}),(0,n.jsx)(u.Z,{href:g.Pd.createBoxBattle,children:(0,n.jsx)(x.zx,{fullWidth:!0,variant:"contained",color:"primary",size:"small",children:"Create battle"})})]})]},"box-battles-section-main")};function v(e){let{}=e,{data:t,isFetching:i,isSuccess:r}=h.Q0.useGetActiveBoxBattlesQuery(void 0,{refetchOnMountOrArgChange:!0}),[o,l]=(0,d.useState)([]);(0,d.useEffect)(()=>{(null==t?void 0:t.data)&&l(null==t?void 0:t.data)},[t]);let s=(0,d.useCallback)(()=>{console.log("Connected to battle socket")},[]),a=(0,d.useCallback)(e=>{console.log("Connection Error",e)},[]),c=(0,d.useCallback)(e=>{console.log("BATTLE_CREATED",e),l(t=>t.some(t=>{var i;return(null==t?void 0:t.socketRoomId)===(null==e?void 0:null===(i=e.data)||void 0===i?void 0:i.socketRoomId)})?t:[e.data,...t])},[]),u=(0,d.useCallback)(e=>{console.log("BATTLE_USER_JOIN",e),l(t=>t.map(t=>{var i,n,r;return(null==t?void 0:t.socketRoomId)===(null==e?void 0:null===(i=e.data)||void 0===i?void 0:i.socketRoomId)?{...t,users:[null==e?void 0:null===(n=e.data)||void 0===n?void 0:n.user,...null==t?void 0:t.users],status:(null==e?void 0:null===(r=e.data)||void 0===r?void 0:r.isLast)?p.N.BATTLE_FINISHED:null==t?void 0:t.status}:t}))},[]),g=(0,d.useCallback)(e=>{console.log("BATTLE_USER_LEFT",e),l(t=>t.map(t=>{var i,n;return(null==t?void 0:t.socketRoomId)===(null==e?void 0:null===(i=e.data)||void 0===i?void 0:i.socketRoomId)?{...t,users:null==t?void 0:null===(n=t.users)||void 0===n?void 0:n.filter(t=>{var i,n;return t.id!==(null==e?void 0:null===(n=e.data)||void 0===n?void 0:null===(i=n.user)||void 0===i?void 0:i.id)})}:t}))},[]),x=(0,d.useCallback)(e=>{console.log("BATTLE_FINISHED",e),l(t=>t.filter(t=>(null==t?void 0:t.socketRoomId)!==(null==e?void 0:e.socketRoomId)))},[]);return((0,d.useEffect)(()=>(A.z.on("connect",s),A.z.on("connect_error",a),A.z.on(h.yo.BATTLE_CREATED,c),A.z.on(h.yo.BATTLE_USER_JOIN,u),A.z.on(h.yo.BATTLE_USER_LEFT,g),A.z.on(h.yo.BATTLE_FINISHED,x),()=>{A.z.off(h.yo.BATTLE_CREATED,c),A.z.off(h.yo.BATTLE_USER_JOIN,u),A.z.off(h.yo.BATTLE_USER_LEFT,g),A.z.off(h.yo.BATTLE_FINISHED,x),A.z.off("connect",s),A.z.off("connect_error",a),window.removeEventListener("pagehide",A.z.disconnect),window.removeEventListener("pageshow",A.z.connect)}),[]),o&&!((null==o?void 0:o.length)<=0)||r)?(0,n.jsx)(f,{children:(0,n.jsx)(y,{list:o})}):null}let y=e=>{let{list:t=[]}=e,i=[...t].sort((e,t)=>{let i=(null==e?void 0:e.updatedAt)?new Date(e.updatedAt):null,n=(null==t?void 0:t.updatedAt)?new Date(t.updatedAt):null;return i&&n?n.getTime()-i.getTime():0}),[o,u]=(0,d.useState)(!1),h=(0,d.useRef)(null);return(0,d.useEffect)(()=>{let e=()=>{if(h.current){let{scrollLeft:e,scrollWidth:t,clientWidth:i}=h.current;u(e+i>=t)}},t=h.current;return t&&(null==t||t.addEventListener("scroll",e)),()=>{t&&(null==t||t.removeEventListener("scroll",e))}},[]),(0,n.jsxs)(r.Z,{position:"relative",width:"100%",height:"100%",children:[(0,n.jsx)(r.Z,{ref:h,display:"flex",width:1,gap:1.5,sx:{overflowX:"scroll",overflowY:"hidden",position:"relative"},children:(0,n.jsxs)(a.M,{mode:"popLayout",children:[null==i?void 0:i.map(e=>(0,n.jsx)(r.Z,{width:1,maxWidth:340,minWidth:340,component:s.E.div,layout:!0,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:(0,n.jsx)(c.default,{item:e})},"battle-list-grid-mobile-'".concat(null==e?void 0:e.socketRoomId))),Array.from({length:6-(null==t?void 0:t.length)}).map((e,t)=>(0,n.jsx)(r.Z,{width:1,maxWidth:340,minWidth:340,component:s.E.div,layout:!0,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:(0,n.jsxs)(r.Z,{display:"flex",flexDirection:"column",width:1,height:1,alignItems:"center",bgcolor:"grey.800",borderRadius:5,p:1.5,gap:1.5,children:[(0,n.jsxs)(r.Z,{display:"flex",justifyContent:"space-between",alignItems:"center",height:84,width:1,children:[(0,n.jsx)(l.Z,{height:84,width:74,sx:{borderRadius:5}}),(0,n.jsxs)(r.Z,{display:"flex",gap:.5,children:[(0,n.jsx)(l.Z,{height:48,width:48,sx:{borderRadius:48}}),(0,n.jsx)(l.Z,{height:48,width:48,sx:{borderRadius:48}}),(0,n.jsx)(l.Z,{height:48,width:48,sx:{borderRadius:48}}),(0,n.jsx)(l.Z,{height:48,width:48,sx:{borderRadius:48}})]})]}),(0,n.jsx)(l.Z,{height:106,width:"100%"}),(0,n.jsxs)(r.Z,{display:"flex",justifyContent:"space-between",alignItems:"center",height:48,width:1,children:[(0,n.jsx)(l.Z,{height:26,width:80,sx:{borderRadius:2}}),(0,n.jsx)(l.Z,{height:"100%",width:200,sx:{borderRadius:2}})]})]})},"battle-list-grid-mobile-skeleton-'".concat(t,"}")))]})}),(0,n.jsx)(r.Z,{sx:{position:"absolute",top:0,right:0,width:"80px",height:"100%",background:"linear-gradient(270deg, #17181C 0%, rgba(23, 24, 28, 0.00) 100%)",pointerEvents:"none",opacity:o?0:1,transition:"opacity 200ms ease-in-out"}})]})}},10675:function(e,t,i){"use strict";var n,r;i.d(t,{dh:function(){return l},q4:function(){return n},tf:function(){return o}}),(r=n||(n={})).PUBLIC="PUBLIC",r.PRIVATE="PRIVATE",r.WIN="WIN",r.LOSE="LOSE",r.SHARED="SHARED",r.CRAZY="CRAZY";let o={PUBLIC:{background:"#202127",box:"#53586F",hexagon:{fill:"rgba(113, 121, 147, 0.30)",stroke:"rgba(113, 121, 147, 0.30)"}},PRIVATE:{background:"linear-gradient(90deg, rgba(245, 83, 71, 0.20)0%, rgba(240, 68, 56, 0.00)50%), var(--Colors-Gray-Color-800, #202127)",box:"#F55347",hexagon:{fill:"rgba(240, 68, 56, 0.30)",stroke:"rgba(113, 121, 147, 0.30)"}},WIN:{background:"linear-gradient(90deg, rgba(50, 213, 131, 0.20)0%, rgba(30, 30, 30, 0.20)50%), var(--Colors-Gray-Color-800, #202127)",box:"#32D583",hexagon:{fill:"rgba(18, 183, 106, 0.30)",stroke:"rgba(113, 121, 147, 0.30)"}},LOSE:{background:"linear-gradient(90deg, rgba(245, 83, 71, 0.20)0%, rgba(240, 68, 56, 0.00)50%), var(--Colors-Gray-Color-800, #202127)",box:"#F55347",hexagon:{fill:"rgba(240, 68, 56, 0.30)",stroke:"rgba(113, 121, 147, 0.30)"}},SHARED:{background:"linear-gradient(90deg, rgba(46, 144, 250, 0.20)0%, rgba(46, 144, 250, 0.00)50%), var(--Colors-Gray-Color-800, #202127)",box:"#2E90FA",hexagon:{fill:"rgba(46, 144, 250, 0.30)",stroke:"rgba(113, 121, 147, 0.30)"}},CRAZY:{background:"linear-gradient(90deg, rgba(122, 90, 248, 0.20)0%, rgba(122, 90, 248, 0.00)50%), var(--Colors-Gray-Color-800, #202127)",box:"#7A5AF8",hexagon:{fill:"rgba(122, 90, 248, 0.30)",stroke:"rgba(113, 121, 147, 0.30)"}}},l="#7A5AF8"},73001:function(e,t,i){"use strict";i.d(t,{Z:function(){return s}});var n=i(98113),r={src:"/_next/static/media/private.de50b3b6.webp",height:600,width:600,blurDataURL:"data:image/webp;base64,UklGRrQAAABXRUJQVlA4WAoAAAAQAAAABwAABwAAQUxQSEAAAAABYFJr25Pn/388CgUh8FSgwh6WBBxaTE2O2YEcOPSGDBExAfzUCufFPrYS0K1+qYB4PfbBgOU4jqMDN8sTz+QbVlA4IE4AAAAQAgCdASoIAAgAAkA4JZgCdAYqXvu+zW5gAP77cAXDxga1iYEVaFeV3Xvbs2U1QXtsu2axRHxWFU/+RTv+cB9ZQpmqNlX5Fj/g3f+1QAA=",blurWidth:8,blurHeight:8},o=i(15314),l=i(13532);function s(e){return(null==e?void 0:e.crazyMode)?{image:n.Z,slug:"crazy-mode-image"}:(null==e?void 0:e.shared)?{image:l.Z,slug:"shared-mode-image"}:(null==e?void 0:e.isPrivate)?{image:r,slug:"private-mode-image"}:{image:o.Z,slug:"classic-mode-image"}}},90471:function(e,t,i){"use strict";i.d(t,{mH:function(){return r}});var n=i(10675);i(62849);let r=e=>(null==e?void 0:e.crazyMode)?n.q4.CRAZY:(null==e?void 0:e.shared)?n.q4.SHARED:(null==e?void 0:e.isPrivate)?n.q4.PRIVATE:n.q4.PUBLIC},33940:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return d}});var n=i(57437),r=i(60304),o=i(18087),l=i(82508);let s=[{step:1,image:{src:"/_next/static/media/deposit-money.08e524c6.webp",height:400,width:520,blurDataURL:"data:image/webp;base64,UklGRp4AAABXRUJQVlA4WAoAAAAQAAAABwAABQAAQUxQSCwAAAABUFNtO/WPOv0RBFLArIAMVDAa/yTu9jsZIiLhg1Sz0xj6OGLcjBslLXl4AFZQOCBMAAAAsAEAnQEqCAAGAAJAOCWwAnQBFJd1AAD9vrGcfebrWLgKjL5xgM+iNNSdbQzdoMNPqNPZzAj5v/DS91dYpTKCH+xr7wr478G/WkAAAA==",blurWidth:8,blurHeight:6},slug:"deposit-money",title:"Deposit money",description:"Get ready for fun! Add funds to your account using our secure payment gateways, and you're all set to start the adventure."},{step:2,image:{src:"/_next/static/media/open-boxes.bd81df8a.webp",height:400,width:520,blurDataURL:"data:image/webp;base64,UklGRqIAAABXRUJQVlA4WAoAAAAQAAAABwAABQAAQUxQSDAAAAABYFTbVqqLZ6MJWRhbAoZkYRGACASQ79IhIhKvogCYqWs0uDHP8zyRzw90srH0gB9WUDggTAAAAJABAJ0BKggABgACQDglkAJ0APMMYADyhMN58HtPc/p9xnu+7lceauDjYVCiP2c/RoakPcvlsBKeQQzdXowh4mvmYq767A9WDA6AAAA=",blurWidth:8,blurHeight:6},slug:"open-boxes",title:"Open boxes",description:"Uncover hidden treasures! Pick from a diverse array of boxes and delight in discovering what fantastic items are inside. Every box is a new surprise!"},{step:3,image:{src:"/_next/static/media/win-items.5f726ad4.webp",height:400,width:520,blurDataURL:"data:image/webp;base64,UklGRpYAAABXRUJQVlA4WAoAAAAQAAAABwAABQAAQUxQSDEAAAAAAAJegRV3IQAAIv/u1v/7ngAB7f+67f7/AAC3////lfQAAIH//+xCUAAAJVJ3ggAAAFZQOCA+AAAA0AEAnQEqCAAGAAJAOCWkAAKd0WmB1AAA/vS2Qg96SlGUP0WXIXjswLvc0/MLC2OpDXReuInsA5b/MMQAAAA=",blurWidth:8,blurHeight:6},slug:"win-items",title:"Win items",description:"Experience the thrill of victory! Each box gives you a shot at winning exclusive and valuable items that will definitely enhance your collection or boost your gaming thrills."},{step:4,image:{src:"/_next/static/media/withdraw.5909db74.webp",height:400,width:520,blurDataURL:"data:image/webp;base64,UklGRqYAAABXRUJQVlA4WAoAAAAQAAAABwAABQAAQUxQSDEAAAAAAAAsLQAAAABCTZfx+bylCkle9P//dW0ABBD///+SAAAADf///5MAAAADWoR9HAAAAFZQOCBOAAAAkAEAnQEqCAAGAAJAOCUAToAePw4gAP7xvhXP/wkrcH80OllW+rmRFA7wn27gcCF6tykO4fLVBvMGPn6czA5auBTfTx7cuOAectcECcAA",blurWidth:8,blurHeight:6},slug:"withdraw-them",title:"Withdraw them",description:"Enjoy! Easily transfer your winnings to your preferred account or opt for physical delivery. It's all about making those rewards truly yours."}];var a=i(55027);function d(){return(0,n.jsxs)(r.Z,{display:"flex",flexDirection:"column",alignItems:"center",width:1,position:"relative",gap:4,minHeight:{phxs:1310,tbxs:684,lp:372},children:[(0,n.jsx)(o.Z,{variant:"secondaryH4",textTransform:"uppercase",fontWeight:500,children:"How it works"}),(0,n.jsx)(l.ZP,{container:!0,spacing:2,children:s.map((e,t)=>(0,n.jsx)(l.ZP,{item:!0,phxs:12,tbxs:6,lp:3,children:(0,n.jsxs)(r.Z,{display:"flex",gap:1.5,flexDirection:"column",position:"relative",children:[(0,n.jsxs)(r.Z,{display:"flex",alignItems:"center",justifyContent:"space-between",width:1,height:200,borderRadius:4,sx:{background:"linear-gradient(270deg, #202127 0%, rgba(32, 33, 39, 0.00) 100%)"},children:[(0,n.jsx)(o.Z,{variant:"secondaryH1",component:"span",fontSize:120,fontWeight:500,color:"transparent",sx:e=>({WebkitTextStrokeWidth:2,WebkitTextStrokeColor:e.palette.grey[400]}),children:e.step}),(0,n.jsx)(r.Z,{width:260,height:200,display:"flex",alignItems:"center",justifyContent:"center",position:"relative",children:(0,n.jsx)(a.o,{src:e.image,quality:100,width:390,height:300,alt:null==e?void 0:e.slug,style:{objectFit:"contain",width:"100%",height:"100%"}})})]}),(0,n.jsxs)(r.Z,{display:"flex",gap:1,flexDirection:"column",children:[(0,n.jsx)(o.Z,{variant:"primaryH6",fontWeight:500,children:e.title}),(0,n.jsx)(o.Z,{variant:"primaryBody1",color:"grey.300",children:e.description})]})]})},"global-how-it-works-".concat(e.step)))})]})}},24881:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return w}});var n=i(57437),r=i(368),o=i(60304),l=i(82508),s=i(18087),a=i(2265),d=i(8011),c=i(36113),u=i(1124),h=i(99272),A=i(11321),g=i(57943),p=i(73338),x=i(30295),m=i(55027),f={src:"/_next/static/media/box-battle.d3c9f034.webp",height:400,width:720,blurDataURL:"data:image/webp;base64,UklGRpIAAABXRUJQVlA4WAoAAAAQAAAABwAAAwAAQUxQSCEAAAAAAAACB0SFGAQAAw4gZ8U5EwEKImLkza4sAhAydf//0D4AVlA4IEoAAAAwAgCdASoIAAQAAkA4JbACdLoAAuaCxnz4AAD+7/y4ldw80fGjE3utZRqpfClz/5jPevn0w4BLEAChvbHQWRzF/tHXfcTl5nQAAA==",blurWidth:8,blurHeight:4},v={src:"/_next/static/media/deposit.ebf1e5af.webp",height:700,width:696,blurDataURL:"data:image/webp;base64,UklGRrYAAABXRUJQVlA4WAoAAAAQAAAABwAABwAAQUxQSDwAAAABYFTbtpL7P+4QwmXKiCC0YNGAOiwKOUXcqRAREwCAEABETX1Lsnkx2fcynvKs2Pe62uem3+/L/rz+WgBWUDggVAAAADACAJ0BKggACAACQDgliAJ0BigHLnjkNkqAAPa/cdX/1cyd8aWy2/1zXJfySV3sljxEO6cIwSiQQqkqPpOPBKL8pufOkpMzG6/gGf7Nyx3W9gAAAA==",blurWidth:8,blurHeight:8},y={src:"/_next/static/media/main-banner.3627a244.webp",height:700,width:1260,blurDataURL:"data:image/webp;base64,UklGRpoAAABXRUJQVlA4WAoAAAAQAAAABwAAAwAAQUxQSCEAAAAAAAACCnmACQAAqtuh//9yFBjg//7///mdkf////////gAVlA4IFIAAADQAQCdASoIAAQAAkA4JbACdAEXfo+2sAD+4nFJ4M/8lIau9Oo0WjSd6yr+JdHaGTqzKfg3lnbQDhZEoo3XkIoO9jy88uB7//U5Ms3dVljwAAAA",blurWidth:8,blurHeight:4},b={src:"/_next/static/media/upgrader.483fb72c.webp",height:400,width:720,blurDataURL:"data:image/webp;base64,UklGRpgAAABXRUJQVlA4WAoAAAAQAAAABwAAAwAAQUxQSCEAAAAAAAACCEEwCQQAAw5UzOmJmwEKKKLo8Nn9AhBC//////8AVlA4IFAAAACwAQCdASoIAAQAAkA4JaACdAD0gbJgAP76V0j/8uWg4l/bcLeB0DntkQN058kYxag943jl8spyPLP1/+Tkk3FR+9VtYhyKOcq3ipmqsGMAAA==",blurWidth:8,blurHeight:4};function w(){let e=(0,r.Z)(),t=(0,x.C)(h.fN),{showModal:i}=(0,p.usePopups)(),{setLayoutColor:w}=(0,d.useLayoutBackground)();return(0,a.useEffect)(()=>{w(e.palette.grey[900])},[]),(0,n.jsx)(o.Z,{display:"flex",width:1,position:"relative",minHeight:{phxs:632,tb:416,lplg:566},children:(0,n.jsxs)(l.ZP,{container:!0,spacing:2,children:[(0,n.jsx)(l.ZP,{item:!0,phxs:12,tb:6,children:(0,n.jsxs)(o.Z,{display:"flex",borderRadius:5,bgcolor:"primaries.400",width:1,height:{phxs:200,tb:250,lplg:350},overflow:"hidden",position:"relative",onClick:()=>{t?i(p.MODAL_TYPES.promocode):i(p.MODAL_TYPES.login)},sx:{cursor:"pointer",img:{transition:"transform 0.2s",willChange:"transform"},":hover":{img:{transform:"scale(1.05)"}}},children:[(0,n.jsx)(m.o,{priority:!0,src:y,alt:"welcome-bonus-banner",quality:100,style:{objectFit:"contain",width:"auto",height:"100%",position:"absolute",bottom:0,right:0}}),(0,n.jsx)(s.Z,{variant:"secondaryH4",position:"absolute",bottom:16,left:{phxs:12,tb:24},fontWeight:500,sx:{textWrap:"nowrap",typography:{phxs:"secondaryH6",tb:"secondaryH4"}},children:"Welcome Bonus"})]})}),(0,n.jsx)(l.ZP,{item:!0,phxs:6,tb:6,children:(0,n.jsx)(u.Z,{href:g.g3.deposit,children:(0,n.jsxs)(o.Z,{display:"flex",borderRadius:5,width:1,height:{phxs:200,tb:250,lplg:350},overflow:"hidden",position:"relative",sx:{background:"linear-gradient(152deg, #408AF2 0%, #1570EF 82.58%)",cursor:"pointer",img:{transition:"transform 0.2s",willChange:"transform"},":hover":{img:{transform:"scale(1.05)"}}},children:[(0,n.jsx)(m.o,{priority:!0,src:v,alt:"deposit-banner",quality:100,style:{objectFit:"contain",width:"auto",height:"100%",position:"absolute",bottom:0,right:0}}),(0,n.jsxs)(o.Z,{position:"absolute",display:"flex",alignItems:"baseline",gap:1.5,left:{phxs:12,tb:24},bottom:16,children:[(0,n.jsx)(s.Z,{variant:"secondaryH4",fontWeight:500,sx:{textWrap:"nowrap",typography:{phxs:"secondaryH6",tb:"secondaryH4"}},children:"Deposit"}),(0,n.jsx)(A.Z,{})]})]})})}),(0,n.jsx)(l.ZP,{item:!0,phxs:6,tb:4,children:(0,n.jsx)(m.p,{href:g.nD.upgrader,children:(0,n.jsxs)(o.Z,{display:"flex",borderRadius:5,width:1,height:{phxs:200,tb:150,lplg:200},overflow:"hidden",position:"relative",sx:{background:"linear-gradient(131deg, #F2C75A 16.33%, #EEB72B 73.4%)",cursor:"pointer",img:{transition:"transform 0.2s",willChange:"transform"},":hover":{img:{transform:"scale(1.05)"}}},children:[(0,n.jsx)(m.o,{priority:!0,src:b,alt:"upgrader-banner",quality:100,style:{objectFit:"contain",width:"auto",height:"100%",position:"absolute",bottom:0,right:{phxs:-40,tbxs:0}}}),(0,n.jsxs)(o.Z,{position:"absolute",display:"flex",alignItems:"baseline",gap:1.5,left:{phxs:12,tb:24},bottom:16,children:[(0,n.jsx)(s.Z,{variant:"secondaryH4",fontWeight:500,sx:{textWrap:"nowrap",typography:{phxs:"secondaryH6",tb:"secondaryH4"}},children:"Upgrader"}),(0,n.jsx)(A.Z,{})]})]})})}),(0,n.jsx)(l.ZP,{item:!0,phxs:6,tb:4,children:(0,n.jsx)(m.p,{href:g.Pd.listMain,children:(0,n.jsxs)(o.Z,{display:"flex",borderRadius:5,width:1,height:{phxs:200,tb:150,lplg:200},overflow:"hidden",position:"relative",sx:{background:"linear-gradient(120deg, #9076F9 13.22%, #7A5AF8 68.44%)",cursor:"pointer",img:{transition:"transform 0.2s",willChange:"transform"},":hover":{img:{transform:"scale(1.05)"}}},children:[(0,n.jsx)(m.o,{priority:!0,src:f,alt:"box-battle-banner",quality:100,style:{objectFit:"contain",width:"auto",height:"100%",position:"absolute",bottom:0,right:{phxs:-50,tbxs:0}}}),(0,n.jsxs)(o.Z,{position:"absolute",display:"flex",alignItems:"baseline",gap:1.5,left:{phxs:12,tb:24},bottom:16,children:[(0,n.jsx)(s.Z,{variant:"secondaryH4",fontWeight:500,sx:{textWrap:"nowrap",typography:{phxs:"secondaryH6",tb:"secondaryH4"}},children:"Box Battle"}),(0,n.jsx)(A.Z,{})]})]})})}),(0,n.jsx)(l.ZP,{item:!0,phxs:6,tb:4,children:(0,n.jsx)(m.p,{href:g.nD.missions,children:(0,n.jsxs)(o.Z,{display:"flex",borderRadius:5,width:1,height:{phxs:200,tb:150,lplg:200},overflow:"hidden",position:"relative",sx:{background:"linear-gradient(126deg, #EA4876 15.3%, #E31B54 70.84%)",cursor:"pointer",img:{transition:"transform 0.2s",willChange:"transform"},":hover":{img:{transform:"scale(1.05)"}}},children:[(0,n.jsx)(m.o,{priority:!0,src:c.Z,alt:"missions-banner",quality:100,width:720,height:640,style:{objectFit:"contain",width:"auto",height:"100%",position:"absolute",bottom:0,right:{phxs:-340,tbxs:-200}}}),(0,n.jsxs)(o.Z,{position:"absolute",display:"flex",alignItems:"baseline",gap:1.5,left:{phxs:12,tb:24},bottom:16,children:[(0,n.jsx)(s.Z,{variant:"secondaryH4",fontWeight:500,sx:{textWrap:"nowrap",typography:{phxs:"secondaryH6",tb:"secondaryH4"}},children:"Missions"}),(0,n.jsx)(A.Z,{})]})]})})})]})})}},79121:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return u}});var n=i(57437),r=i(60304),o=i(82508),l=i(18087);let s=[{image:i(12650).Z,label:"Users on website",slug:"users-on-website",objectKey:"users"},{image:{src:"/_next/static/media/boxes-opened.46579a53.webp",height:360,width:560,blurDataURL:"data:image/webp;base64,UklGRp4AAABXRUJQVlA4WAoAAAAQAAAABwAABAAAQUxQSCkAAAAAAA1tXgAAAAAADPb/Sy8AAAACs///0gQAALj/////6xIGiP////+4GwBWUDggTgAAAPABAJ0BKggABQACQDgliAJ0ARSjzUeMAAD+8bUwks3bu5rU/+cRxisrmzFOT66SGv35X28xFrrrw+7qiH4ZDc5yTxQXwnKBCcryXAAAAA==",blurWidth:8,blurHeight:5},label:"Boxes opened",slug:"boxes-opened",objectKey:"cases"},{image:{src:"/_next/static/media/products-delivered.c753d92a.webp",height:360,width:560,blurDataURL:"data:image/webp;base64,UklGRp4AAABXRUJQVlA4WAoAAAAQAAAABwAABAAAQUxQSCkAAAAAAAART1cRAAAAAD3//04AAAAMTv37XxQBALv//////yAAvf//////HwBWUDggTgAAANABAJ0BKggABQACQDglmAJ0AR6COZtAAP7CUx2+HuAw3e75fQDVt67m36vr+H2cxCpwNItMDoPY968PeYgia/VvCuJ8MKO9MxhGLIAAAA==",blurWidth:8,blurHeight:5},label:"Upgraded products",slug:"upgraded-products",objectKey:"upgrader"}],{useStatsQuery:a}=i(80498).ul.injectEndpoints({endpoints:e=>({stats:e.query({query:()=>({url:"/socket/stats",method:"GET"}),keepUnusedDataFor:0})})});var d=i(17163),c=i(55027);function u(){let{data:e}=a();return(0,n.jsx)(r.Z,{display:"flex",flexDirection:"column",alignItems:"center",width:1,position:"relative",children:(0,n.jsx)(o.ZP,{container:!0,spacing:2,children:s.map((t,i)=>{var s;return(0,n.jsx)(o.ZP,{item:!0,phxs:12,tblg:4,children:(0,n.jsxs)(r.Z,{display:"flex",alignItems:"flex-end",justifyContent:"space-between",gap:1.5,position:"relative",width:1,height:180,bgcolor:"grey.700",borderRadius:5,overflow:"hidden",sx:{backgroundImage:"url(".concat(null===(s=t.image)||void 0===s?void 0:s.src,")"),backgroundRepeat:"no-repeat",backgroundSize:{phxs:"contain",tb:"contain"},backgroundPosition:{phxs:"right bottom",tb:"right bottom"}},children:[(0,n.jsx)(c.o,{src:null==t?void 0:t.image,alt:null==t?void 0:t.slug,quality:100,style:{objectFit:"contain",width:"auto",height:"100%",position:"absolute",bottom:0,right:0}},null==t?void 0:t.slug),(0,n.jsxs)(r.Z,{p:2,position:"absolute",bottom:0,left:0,children:[(0,n.jsx)(l.Z,{variant:"secondaryH5",fontWeight:500,children:e?(0,d.Z)(null==e?void 0:e[null==t?void 0:t.objectKey]):0}),(0,n.jsx)(l.Z,{variant:"primaryBody1",children:t.label})]})]})},"global-stats-".concat(t.slug))})})})}},98113:function(e,t){"use strict";t.Z={src:"/_next/static/media/crazy.522d1a6d.webp",height:600,width:600,blurDataURL:"data:image/webp;base64,UklGRqgAAABXRUJQVlA4WAoAAAAQAAAABwAABwAAQUxQSD0AAAABYBPbdpQ7EZA6KuIhEkACgwFqNOz7ogATKMADQ4sIXhcNEZHEkxS71PehIi97SQ9480kvwCX9DsjOKhABAFZQOCBEAAAAEAIAnQEqCAAIAAJAOCUAToDFPMmTy9BIgAD+813EAU1iPuQZpNmNQxLSdQS643Ano6FFRY/xGPmf+8M6QsdwgvQWAAA=",blurWidth:8,blurHeight:8}},15314:function(e,t){"use strict";t.Z={src:"/_next/static/media/public.9b84b297.webp",height:600,width:600,blurDataURL:"data:image/webp;base64,UklGRsgAAABXRUJQVlA4WAoAAAAQAAAABwAABwAAQUxQSEEAAAABYBPZtpPzyclHThZw8BXgACp6SgRByaAhyQAPWURETAC/AuQyDruE4rquK4b844P8lFDP5zFV9A2mTtd6KoBhAwBWUDggYAAAANABAJ0BKggACAACQDglqAJ0ANsgm4QAAP7eLGbl1/dQ+tKr2renFoP/p3HPxoZtw76yI8mKNX6BaydIw/0yY3wUrmYpBVJ2JLH6JnTmI/4exfPd6BZMKulvKzvoJgAAAA==",blurWidth:8,blurHeight:8}},13532:function(e,t){"use strict";t.Z={src:"/_next/static/media/shared.e4aa5d90.webp",height:600,width:600,blurDataURL:"data:image/webp;base64,UklGRq4AAABXRUJQVlA4WAoAAAAQAAAABwAABwAAQUxQSD4AAAABYFNbe5OXhGqgjrBymFGBg4y4YGwKGHuz2UVExAQAjsmvLj65obu4BLe7rhNgva4emNKhDisTlyTDAPAiAFZQOCBKAAAAEAIAnQEqCAAIAAJAOCWMAnQBFc8hYkWjAAD+/E1YwmQikuKYiUvJe0U5PPSSF8d31F0Z+X29AaM+uq/e+SDCsEjZ7EK8qjwAAAA=",blurWidth:8,blurHeight:8}},12650:function(e,t){"use strict";t.Z={src:"/_next/static/media/users.02d03d4a.webp",height:360,width:560,blurDataURL:"data:image/webp;base64,UklGRqQAAABXRUJQVlA4WAoAAAAQAAAABwAABAAAQUxQSCkAAAAAAAAACwsAAAAAhT/Z3T6DAAC6XpCTX7oAPuGt29mq4T/C////////xABWUDggVAAAAFACAJ0BKggABQACQDglsAJ0ugADN5a7/mLGAAD+o06aJ+uDqCOOG+NNkGb4FoCXiT500j6KcuNnKmNNZf/myvwzpZw//DERTnT/XQX7B3KRKQkAAA==",blurWidth:8,blurHeight:5}},36113:function(e,t){"use strict";t.Z={src:"/_next/static/media/missions.4422883d.webp",height:500,width:1880,blurDataURL:"data:image/webp;base64,UklGRnIAAABXRUJQVlA4WAoAAAAQAAAABwAAAQAAQUxQSBEAAAAAAQYpu5yToykEFj3O9trGRQBWUDggOgAAAPABAJ0BKggAAgACQDgloAJ0ugACdcAmYAD5BW8LeuhnuVfh+fkMY/7R17MWE1AF/uN3dlJh5eMHIAA=",blurWidth:8,blurHeight:2}}},function(e){e.O(0,[6456,9135,6369,2013,4439,1596,8654,2690,7692,5046,8880,2508,6458,5546,5935,3711,81,2723,8899,8620,6579,0,6174,895,2971,8069,1744],function(){return e(e.s=98604)}),_N_E=e.O()}]);