text: (this["webpackJsonppancake-frontend"]=this["webpackJsonppancake-frontend"]||[]).push([[22],{1169:function(e,n,t){"use strict";t.r(n),t.d(n,"default",(function(){return or}));var c,i,r,a,o,b,s,j,l,d,x,O,p,u,g,h,m,f,v,k,y,w,S,F,z,E,D,H,Q,C,L,A,q,R,P,T,B,M,U,I,G,V,W,Y,J,N,K,X,Z,$,_,ee,ne,te,ce,ie,re,ae,oe,be,se,je,le,de,xe,Oe,pe,ue,ge,he,me,fe,ve,ke,ye,we,Se,Fe,ze,Ee,De,He,Qe,Ce,Le,Ae,qe,Re,Pe,Te,Be,Me,Ue,Ie,Ge,Ve,We,Ye,Je,Ne,Ke,Xe,Ze,$e,_e,en,nn,tn,cn,rn,an,on,bn,sn,jn,ln,dn,xn,On,pn,un,gn,hn,mn,fn,vn,kn,yn,wn,Sn,Fn,zn,En,Dn,Hn,Qn,Cn,Ln,An,qn,Rn,Pn,Tn,Bn,Mn,Un,In,Gn,Vn,Wn,Yn,Jn,Nn,Kn,Xn,Zn,$n,_n,et,nt,tt,ct,it,rt,at,ot,bt,st,jt,lt,dt,xt,Ot,pt,ut,gt,ht,mt,ft,vt,kt=t(29),yt=t(0),wt=t(11),St=t(5),Ft=t(24),zt=t(169),Et=t(3),Dt=t.n(Et),Ht=t(10),Qt=t(21),Ct=t(18),Lt=t(278),At=t(899),qt=(t(881),t(877)),Rt=(t(19),t(33)),Pt=(t(37),t(16),t(277)),Tt=t(2),Bt=function(e){var n=e.value,t=e.decimals,c=e.fontSize,i=void 0===c?"11px":c,r=e.lineHeight,a=void 0===r?"1":r,o=e.prefix,b=void 0===o?"":o,s=e.bold,j=void 0===s||s,l=e.color,d=void 0===l?"text":l,x=e.estadistica,O=e.extra,p=void 0===O?0:O,u=e.tag,g=Object(Pt.useCountUp)({start:0,end:n,duration:1,separator:",",decimals:void 0!==t?t:n<0?4:n>1e5?0:3}),h=g.countUp,m=g.update,f=Object(yt.useRef)(m);return Object(yt.useEffect)((function(){f.current(n)}),[n,f]),Object(Tt.jsxs)(St.Ob,{bold:j,fontSize:i,style:{lineHeight:a},color:d,children:[b,h,"/ + ",Object(Tt.jsxs)(St.Ob,{color:u,fontSize:"15px",children:[p,"  for ",x," "]})]})},Mt=(t(12),function(){var e=Object(Ft.b)().t,n=Object(qt.ib)(),t=Object(qt.Y)(),c=Object(qt.vc)(),i=Object(qt.rb)(),r=Object(qt.xb)();function a(e,n){return e*n}var o=a(n,3),b=a(t,1),s=a(c,3),j=a(i,5),l=a(r,10),d=o+b+s+j+l;return Object(Ct.c)().account?Object(Tt.jsx)(Tt.Fragment,{children:Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"25px",children:["  ",Object(Tt.jsx)("img",{src:"/images/chickenwar/army.png",alt:""})," Total Army Power: ",d," "]})}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"54px"},children:e("Locked")})}),Ut=function(){var e=Object(Ft.b)().t,n=Object(qt.Y)();var t=n*10,c=Object(Ct.c)().account,i=e("HP is the life of your army, the more HP you have, the more you will resist attacks."),r=Object(St.kc)(i,{placement:"bottom-end"}),a=r.targetRef,o=r.tooltip,b=r.tooltipVisible;return c?Object(Tt.jsx)(Tt.Fragment,{children:Object(Tt.jsxs)(St.R,{ref:a,children:[Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"20px",children:[" ",Object(Tt.jsx)("img",{src:"/images/chickenwar/hp.png",alt:""})," HP: ",t," "]}),b&&o,Object(Tt.jsx)(St.T,{ml:"4px",width:"10px",height:"10px",color:"textSubtle"})]})}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"54px"},children:e("Locked")})},It=function(){var e=Object(Ft.b)().t,n=Object(qt.ib)();var t=n*3,c=Object(Ct.c)().account,i=e("The amount of Attack of your army serves to reduce the life of your opponent.  "),r=Object(St.kc)(i,{placement:"bottom-end"}),a=r.targetRef,o=r.tooltip,b=r.tooltipVisible;return c?Object(Tt.jsx)(Tt.Fragment,{children:Object(Tt.jsxs)(St.R,{ref:a,children:[Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"20px",children:["  ",Object(Tt.jsx)("img",{src:"/images/chickenwar/attack.png",alt:""})," Attack: ",t," "]}),b&&o,Object(Tt.jsx)(St.T,{ml:"4px",width:"10px",height:"10px",color:"textSubtle"})]})}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"54px"},children:e("Locked")})},Gt=function(){var e=Object(Ft.b)().t,n=Object(qt.vc)();var t=n*3,c=Object(Ct.c)().account,i=e("Defense reduces the opponent s attack and protects your HP."),r=Object(St.kc)(i,{placement:"bottom-end"}),a=r.targetRef,o=r.tooltip,b=r.tooltipVisible;return c?Object(Tt.jsx)(Tt.Fragment,{children:Object(Tt.jsxs)(St.R,{ref:a,children:[Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"20px",children:["  ",Object(Tt.jsx)("img",{src:"/images/chickenwar/defense.png",alt:""})," Defense: ",t," "]}),b&&o,Object(Tt.jsx)(St.T,{ml:"4px",width:"10px",height:"10px",color:"textSubtle"})]})}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"54px"},children:e("Locked")})},Vt=function(){var e=Object(Ft.b)().t,n=Object(qt.rb)();var t=n*2,c=Object(Ct.c)().account,i=e("This attribute improves your statistics depending on the scenario where the army takes place (fire, water, air and stone)."),r=Object(St.kc)(i,{placement:"bottom-end"}),a=r.targetRef,o=r.tooltip,b=r.tooltipVisible;return c?Object(Tt.jsx)(Tt.Fragment,{children:Object(Tt.jsxs)(St.R,{ref:a,children:[Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"20px",children:["  ",Object(Tt.jsx)("img",{src:"/images/chickenwar/afinity.png",alt:""})," Elemental Afinity: ",t," "]}),b&&o,Object(Tt.jsx)(St.T,{ml:"4px",width:"10px",height:"10px",color:"textSubtle"})]})}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"54px"},children:e("Locked")})},Wt=function(){var e=Object(Ft.b)().t,n=Object(qt.xb)();var t=n*1,c=Object(Ct.c)().account,i=e("Luck increases the final reward you could win."),r=Object(St.kc)(i,{placement:"bottom-end"}),a=r.targetRef,o=r.tooltip,b=r.tooltipVisible;return c?Object(Tt.jsx)(Tt.Fragment,{children:Object(Tt.jsxs)(St.R,{ref:a,children:[Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"20px",children:["  ",Object(Tt.jsx)("img",{src:"/images/chickenwar/luck.png",alt:""})," Luck: ",t," "]}),b&&o,Object(Tt.jsx)(St.T,{ml:"4px",width:"10px",height:"10px",color:"textSubtle"})]})}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"54px"},children:e("Locked")})},Yt=function(){var e=Object(Ft.b)().t,n=Object(qt.xb)();var t=n*1,c=Object(Ct.c)().account,i=e("Reduces the opponent s defense giving the opportunity to inflict more damage."),r=Object(St.kc)(i,{placement:"bottom-end"}),a=r.targetRef,o=r.tooltip,b=r.tooltipVisible;return c?Object(Tt.jsx)(Tt.Fragment,{children:Object(Tt.jsxs)(St.R,{ref:a,children:[Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"20px",children:["  ",Object(Tt.jsx)("img",{src:"/images/chickenwar/strategy.png",alt:""})," Strategy: ",t," "]}),b&&o,Object(Tt.jsx)(St.T,{ml:"4px",width:"10px",height:"10px",color:"textSubtle"})]})}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"54px"},children:e("Locked")})},Jt=function(){var e=Object(Ft.b)().t,n=Object(Ct.c)().account,t=Object(qt.se)(),c=Object(qt.te)();return n?Object(Tt.jsx)(Tt.Fragment,{children:Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"15px",children:[" ",Object(Tt.jsx)("img",{src:"/images/blackevo.png",alt:""})," Black EvoChicken:",Object(Tt.jsx)(Bt,{value:Object(Rt.c)(t),decimals:4,fontSize:"15px",lineHeight:"10px",extra:Object(Rt.c)(c),estadistica:"Luck",tag:"#cda434"})," "]})}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"14px"},children:e("Locked")})},Nt=function(){var e=Object(Ft.b)().t,n=Object(Ct.c)().account,t=Object(qt.we)(),c=Object(qt.xe)();return n?Object(Tt.jsx)(Tt.Fragment,{children:Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"15px",children:[" ",Object(Tt.jsx)("img",{src:"/images/metalevo.png",alt:""})," Metal EvoChicken: ",Object(Tt.jsx)(Bt,{value:Object(Rt.c)(t),decimals:4,fontSize:"15px",lineHeight:"10px",extra:Object(Rt.c)(c),estadistica:"Luck",tag:"#cda434"})]})}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"14px"},children:e("Locked")})},Kt=function(){var e=Object(Ft.b)().t,n=Object(Ct.c)().account,t=Object(qt.ye)(),c=Object(qt.ze)();return n?Object(Tt.jsx)(Tt.Fragment,{children:Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"15px",children:[" ",Object(Tt.jsx)("img",{src:"/images/leafevo.png",alt:""})," Leaf EvoChicken: ",Object(Tt.jsx)(Bt,{value:Object(Rt.c)(t),decimals:4,fontSize:"15px",lineHeight:"10px",tag:"#f3670e",extra:Object(Rt.c)(c),estadistica:"ArmyPower"})]})}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"14px"},children:e("Locked")})},Xt=function(){var e=Object(Ft.b)().t,n=Object(Ct.c)().account,t=Object(qt.re)(),c=Object(qt.Ae)();var i=t-c,r=function(e,n){return e*n}(i,3);return n?Object(Tt.jsxs)(Tt.Fragment,{children:[Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"29px",lineHeight:"30px",children:["  Exploration Progress: ",i,"  Blocks."]}),Object(Tt.jsxs)(St.Ob,{color:"gray",fontSize:"15px",lineHeight:"20px",children:["  ~Time: ",r," Seg."]})]}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"14px"},children:e("Locked")})},Zt=function(){var e=Object(Ft.b)().t,n=Object(Ct.c)().account,t=Object(qt.Hd)(),c=Object(qt.Id)();return n?Object(Tt.jsx)(Tt.Fragment,{children:Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"15px",children:[" ",Object(Tt.jsx)("img",{src:"/images/magnetevo.png",alt:""})," Magnet EvoChicken:",Object(Tt.jsx)(Bt,{value:Object(Rt.c)(t),decimals:4,fontSize:"15px",lineHeight:"10px",extra:Object(Rt.c)(c),estadistica:"Luck",tag:"#cda434"})," "]})}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"14px"},children:e("Locked")})},$t=function(){var e=Object(Ft.b)().t,n=Object(Ct.c)().account,t=Object(qt.Jd)(),c=Object(qt.Kd)();return n?Object(Tt.jsx)(Tt.Fragment,{children:Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"15px",children:[" ",Object(Tt.jsx)("img",{src:"/images/copperevo.png",alt:""})," Copper EvoChicken: ",Object(Tt.jsx)(Bt,{value:Object(Rt.c)(t),decimals:4,fontSize:"15px",lineHeight:"10px",extra:Object(Rt.c)(c),estadistica:"Luck",tag:"#cda434"})]})}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"14px"},children:e("Locked")})},_t=function(){var e=Object(Ft.b)().t,n=Object(Ct.c)().account,t=Object(qt.Ld)(),c=Object(qt.Md)();return n?Object(Tt.jsx)(Tt.Fragment,{children:Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"15px",children:[" ",Object(Tt.jsx)("img",{src:"/images/crystalevo.png",alt:""})," Crystal EvoChicken: ",Object(Tt.jsx)(Bt,{value:Object(Rt.c)(t),decimals:4,fontSize:"15px",lineHeight:"10px",extra:Object(Rt.c)(c),estadistica:"Afinity",tag:"blue"})]})}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"14px"},children:e("Locked")})},ec=function(){var e=Object(Ft.b)().t,n=Object(Ct.c)().account,t=Object(qt.Nd)(),c=Object(qt.Od)();return n?Object(Tt.jsx)(Tt.Fragment,{children:Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"15px",children:[" ",Object(Tt.jsx)("img",{src:"/images/stoneevo.png",alt:""})," Stone EvoChicken: ",Object(Tt.jsx)(Bt,{value:Object(Rt.c)(t),decimals:4,fontSize:"15px",lineHeight:"10px",tag:"#f3670e",extra:Object(Rt.c)(c),estadistica:"ArmyPower"})]})}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"14px"},children:e("Locked")})},nc=function(){var e=Object(Ft.b)().t,n=Object(Ct.c)().account,t=Object(qt.Gd)(),c=Object(qt.Pd)();var i=t-c,r=function(e,n){return e*n}(i,3);return n?Object(Tt.jsxs)(Tt.Fragment,{children:[Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"29px",lineHeight:"30px",children:["  Exploration Progress: ",i,"  Blocks."]}),Object(Tt.jsxs)(St.Ob,{color:"gray",fontSize:"15px",lineHeight:"20px",children:["  ~Time: ",r," Seg."]})]}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"14px"},children:e("Locked")})},tc=function(){var e=Object(Ft.b)().t,n=Object(Ct.c)().account,t=Object(qt.hc)(),c=Object(qt.ic)();return n?Object(Tt.jsx)(Tt.Fragment,{children:Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"15px",children:[" ",Object(Tt.jsx)("img",{src:"/images/voidevo.png",alt:""})," Void EvoChicken:",Object(Tt.jsx)(Bt,{value:Object(Rt.c)(t),decimals:4,fontSize:"15px",lineHeight:"10px",extra:Object(Rt.c)(c),estadistica:"Luck",tag:"#cda434"})," "]})}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"14px"},children:e("Locked")})},cc=function(){var e=Object(Ft.b)().t,n=Object(Ct.c)().account,t=Object(qt.jc)(),c=Object(qt.kc)();return n?Object(Tt.jsx)(Tt.Fragment,{children:Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"15px",children:[" ",Object(Tt.jsx)("img",{src:"/images/sandevo.png",alt:""})," Sand EvoChicken: ",Object(Tt.jsx)(Bt,{value:Object(Rt.c)(t),decimals:4,fontSize:"15px",lineHeight:"10px",extra:Object(Rt.c)(c),estadistica:"Luck",tag:"#cda434"})]})}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"14px"},children:e("Locked")})},ic=function(){var e=Object(Ft.b)().t,n=Object(Ct.c)().account,t=Object(qt.lc)(),c=Object(qt.mc)();return n?Object(Tt.jsx)(Tt.Fragment,{children:Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"15px",children:[" ",Object(Tt.jsx)("img",{src:"/images/rubyevo.png",alt:""})," Ruby EvoChicken: ",Object(Tt.jsx)(Bt,{value:Object(Rt.c)(t),decimals:4,fontSize:"15px",lineHeight:"10px",extra:Object(Rt.c)(c),estadistica:"Attack",tag:"red"})]})}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"14px"},children:e("Locked")})},rc=function(){var e=Object(Ft.b)().t,n=Object(Ct.c)().account,t=Object(qt.nc)(),c=Object(qt.oc)();return n?Object(Tt.jsx)(Tt.Fragment,{children:Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"15px",children:[" ",Object(Tt.jsx)("img",{src:"/images/fireevo.png",alt:""})," Fire EvoChicken: ",Object(Tt.jsx)(Bt,{value:Object(Rt.c)(t),decimals:4,fontSize:"15px",lineHeight:"10px",tag:"#f3670e",extra:Object(Rt.c)(c),estadistica:"ArmyPower"})]})}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"14px"},children:e("Locked")})},ac=function(){var e=Object(Ft.b)().t,n=Object(Ct.c)().account,t=Object(qt.pc)(),c=Object(qt.qc)();return n?Object(Tt.jsx)(Tt.Fragment,{children:Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"15px",children:[" ",Object(Tt.jsx)("img",{src:"/images/eggc.png",alt:""})," EGGC: ",Object(Tt.jsx)(Bt,{value:Object(Rt.c)(t),decimals:4,fontSize:"15px",lineHeight:"10px",tag:"#cda434",extra:Object(Rt.c)(c),estadistica:"Luck"})]})}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"14px"},children:e("Locked")})},oc=function(){var e=Object(Ft.b)().t,n=Object(Ct.c)().account,t=Object(qt.gc)(),c=Object(qt.rc)();var i=t-c,r=function(e,n){return e*n}(i,3);return n?Object(Tt.jsxs)(Tt.Fragment,{children:[Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"29px",lineHeight:"30px",children:["  Exploration Progress: ",i,"  Blocks."]}),Object(Tt.jsxs)(St.Ob,{color:"gray",fontSize:"15px",lineHeight:"20px",children:["  ~Time: ",r," Seg."]})]}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"14px"},children:e("Locked")})},bc=function(){var e=Object(Ft.b)().t,n=Object(Ct.c)().account,t=Object(qt.Ud)(),c=Object(qt.Vd)();return n?Object(Tt.jsx)(Tt.Fragment,{children:Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"15px",children:[" ",Object(Tt.jsx)("img",{src:"/images/grayevo.png",alt:""})," Gray EvoChicken:",Object(Tt.jsx)(Bt,{value:Object(Rt.c)(t),decimals:4,fontSize:"15px",lineHeight:"10px",extra:Object(Rt.c)(c),estadistica:"Luck",tag:"#cda434"})," "]})}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"14px"},children:e("Locked")})},sc=function(){var e=Object(Ft.b)().t,n=Object(Ct.c)().account,t=Object(qt.Wd)(),c=Object(qt.Xd)();return n?Object(Tt.jsx)(Tt.Fragment,{children:Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"15px",children:[" ",Object(Tt.jsx)("img",{src:"/images/brownevo.png",alt:""})," Brown EvoChicken: ",Object(Tt.jsx)(Bt,{value:Object(Rt.c)(t),decimals:4,fontSize:"15px",lineHeight:"10px",extra:Object(Rt.c)(c),estadistica:"Luck",tag:"#cda434"})]})}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"14px"},children:e("Locked")})},jc=function(){var e=Object(Ft.b)().t,n=Object(Ct.c)().account,t=Object(qt.Yd)(),c=Object(qt.Zd)();return n?Object(Tt.jsx)(Tt.Fragment,{children:Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"15px",children:[" ",Object(Tt.jsx)("img",{src:"/images/cyanevo.png",alt:""})," Cyan EvoChicken: ",Object(Tt.jsx)(Bt,{value:Object(Rt.c)(t),decimals:4,fontSize:"15px",lineHeight:"10px",extra:Object(Rt.c)(c),estadistica:"Luck",tag:"#cda434"})]})}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"14px"},children:e("Locked")})},lc=function(){var e=Object(Ft.b)().t,n=Object(Ct.c)().account,t=Object(qt.ae)(),c=Object(qt.be)();return n?Object(Tt.jsx)(Tt.Fragment,{children:Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"15px",children:[" ",Object(Tt.jsx)("img",{src:"/images/purpleevo.png",alt:""})," Purple EvoChicken: ",Object(Tt.jsx)(Bt,{value:Object(Rt.c)(t),decimals:4,fontSize:"15px",lineHeight:"10px",tag:"#cda434",extra:Object(Rt.c)(c),estadistica:"Luck"})]})}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"14px"},children:e("Locked")})},dc=function(){var e=Object(Ft.b)().t,n=Object(Ct.c)().account,t=Object(qt.ce)(),c=Object(qt.de)();return n?Object(Tt.jsx)(Tt.Fragment,{children:Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"15px",children:[" ",Object(Tt.jsx)("img",{src:"/images/quartzevo.png",alt:""})," Quartz EvoChicken: ",Object(Tt.jsx)(Bt,{value:Object(Rt.c)(t),decimals:4,fontSize:"15px",lineHeight:"10px",tag:"brown",extra:Object(Rt.c)(c),estadistica:"Defense"})]})}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"14px"},children:e("Locked")})},xc=function(){var e=Object(Ft.b)().t,n=Object(Ct.c)().account,t=Object(qt.ee)(),c=Object(qt.fe)();return n?Object(Tt.jsx)(Tt.Fragment,{children:Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"15px",children:[" ",Object(Tt.jsx)("img",{src:"/images/waterevo.png",alt:""})," Water EvoChicken: ",Object(Tt.jsx)(Bt,{value:Object(Rt.c)(t),decimals:4,fontSize:"15px",lineHeight:"10px",tag:"#f3670e",extra:Object(Rt.c)(c),estadistica:"Army Power"})]})}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"14px"},children:e("Locked")})},Oc=function(){var e=Object(Ft.b)().t,n=Object(Ct.c)().account,t=Object(qt.Td)(),c=Object(qt.ge)();var i=t-c,r=function(e,n){return e*n}(i,3);return n?Object(Tt.jsxs)(Tt.Fragment,{children:[Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"29px",lineHeight:"30px",children:["  Exploration Progress: ",i,"  Blocks."]}),Object(Tt.jsxs)(St.Ob,{color:"gray",fontSize:"15px",lineHeight:"20px",children:["  ~Time: ",r," Seg."]})]}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"14px"},children:e("Locked")})},pc=function(){var e=Object(Ft.b)().t,n=Object(Ct.c)().account,t=Object(qt.o)(),c=Object(qt.p)();return n?Object(Tt.jsx)(Tt.Fragment,{children:Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"15px",children:[" ",Object(Tt.jsx)("img",{src:"/images/airevo.png",alt:""})," Air EvoChicken:",Object(Tt.jsx)(Bt,{value:Object(Rt.c)(t),decimals:4,fontSize:"15px",lineHeight:"10px",extra:Object(Rt.c)(c),estadistica:"Life",tag:"green"})," "]})}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"14px"},children:e("Locked")})},uc=function(){var e=Object(Ft.b)().t,n=Object(Ct.c)().account,t=Object(qt.q)(),c=Object(qt.r)();return n?Object(Tt.jsx)(Tt.Fragment,{children:Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"15px",children:[" ",Object(Tt.jsx)("img",{src:"/images/gravityevo.png",alt:""})," Gravity EvoChicken: ",Object(Tt.jsx)(Bt,{value:Object(Rt.c)(t),decimals:4,fontSize:"15px",lineHeight:"10px",extra:Object(Rt.c)(c),estadistica:"Life",tag:"green"})]})}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"14px"},children:e("Locked")})},gc=function(){var e=Object(Ft.b)().t,n=Object(Ct.c)().account,t=Object(qt.s)(),c=Object(qt.t)();return n?Object(Tt.jsx)(Tt.Fragment,{children:Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"15px",children:[" ",Object(Tt.jsx)("img",{src:"/images/electricevo.png",alt:""})," Electric EvoChicken: ",Object(Tt.jsx)(Bt,{value:Object(Rt.c)(t),decimals:4,fontSize:"15px",lineHeight:"10px",extra:Object(Rt.c)(c),estadistica:"Life",tag:"green"})]})}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"14px"},children:e("Locked")})},hc=function(){var e=Object(Ft.b)().t,n=Object(Ct.c)().account,t=Object(qt.u)(),c=Object(qt.v)();return n?Object(Tt.jsx)(Tt.Fragment,{children:Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"15px",children:[" ",Object(Tt.jsx)("img",{src:"/images/cloudevo.png",alt:""})," Cloud EvoChicken: ",Object(Tt.jsx)(Bt,{value:Object(Rt.c)(t),decimals:4,fontSize:"15px",lineHeight:"10px",tag:"#f3670e",extra:Object(Rt.c)(c),estadistica:"Army Power"})]})}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"14px"},children:e("Locked")})},mc=function(){var e=Object(Ft.b)().t,n=Object(Ct.c)().account,t=Object(qt.n)(),c=Object(qt.w)();var i=t-c,r=function(e,n){return e*n}(i,3);return n?Object(Tt.jsxs)(Tt.Fragment,{children:[Object(Tt.jsxs)(St.Ob,{color:"textSubtle",fontSize:"29px",lineHeight:"30px",children:["  Exploration Progress: ",i,"  Blocks."]}),Object(Tt.jsxs)(St.Ob,{color:"gray",fontSize:"15px",lineHeight:"20px",children:["  ~Time: ",r," Seg."]})]}):Object(Tt.jsx)(St.Ob,{color:"textDisabled",style:{lineHeight:"14px"},children:e("Locked")})},fc=Object(wt.e)(St.u)(c||(c=Object(kt.a)(["\n  background-image: url('/images/armylevel1b.gif');\n  background-repeat: no-repeat;\n  background-position: top right;\n  background-size: contain;\n  min-height: 200px;\n"]))),vc=wt.e.div(i||(i=Object(kt.a)(["\n  margin-bottom: 16px;\n"]))),kc=(wt.e.div(r||(r=Object(kt.a)(["\n  margin-bottom: 16px;\n  background-position: top left;\n"]))),wt.e.img(a||(a=Object(kt.a)(["\n  margin-bottom: 10px;\n"]))),wt.e.div(o||(o=Object(kt.a)(["\n  color: ",";\n  font-size: 14px;\n"])),(function(e){return e.theme.colors.textSubtle})),wt.e.div(b||(b=Object(kt.a)(["\n  margin-top: 24px;\n"]))),function(){var e=Object(yt.useState)(!1),n=Object(Qt.a)(e,2),t=(n[0],n[1]),c=(Object(Ct.c)().account,Object(Ft.b)().t,Object(At.a)().filter((function(e){return e.balance.toNumber()>0}))),i=Object(yt.useState)(!1),r=Object(Qt.a)(i,2),a=(r[0],r[1],Object(Lt.a)(c.map((function(e){return e.pid}))).onReward);Object(yt.useCallback)(Object(Ht.a)(Dt.a.mark((function e(){return Dt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t(!0),e.prev=1,e.next=4,a();case 4:e.next=8;break;case 6:e.prev=6,e.t0=e.catch(1);case 8:return e.prev=8,t(!1),e.finish(8);case 11:case"end":return e.stop()}}),e,null,[[1,6,8,11]])}))),[a]);return Object(Tt.jsx)(fc,{children:Object(Tt.jsx)(St.v,{children:Object(Tt.jsxs)(vc,{children:[Object(Tt.jsx)(Ut,{}),Object(Tt.jsx)(It,{}),Object(Tt.jsx)(Gt,{}),Object(Tt.jsx)(Vt,{}),Object(Tt.jsx)(Wt,{}),Object(Tt.jsx)(Yt,{})]})})})}),yc=t(876),wc=t(879),Sc=t(880),Fc=t(878),zc=(wt.e.div(s||(s=Object(kt.a)(["\n  align-self: stretch;\n  background: ",";\n  flex: none;\n  padding: 10px 0;\n  text-align: center;\n  width: 70px;\n  \n"])),(function(e){return function(e){return e.isDark?"linear-gradient(139.73deg, #142339 0%, #24243D 47.4%, #37273F 100%)":"linear-gradient(139.73deg, #E6FDFF 0%, #EFF4F5 46.87%, #F3EFFF 100%)"}(e.theme)})),wt.e.div(j||(j=Object(kt.a)(["\n  align-items: start;\n  display: flex;\n  flex: 1;\n  flex-direction: column;\n  padding: 24px;\n\n  "," {\n    align-items: center;\n    flex-direction: row;\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md}))),Ec=wt.e.div(l||(l=Object(kt.a)(["\n  flex: 1;\n"]))),Dc=wt.e.img(d||(d=Object(kt.a)(["\n  border-radius: 20%;\n  \n"]))),Hc=wt.e.img(x||(x=Object(kt.a)(["\n  border-radius:20%;\n  padding-top: 40px;\n  height: 380px;\n  width: 304px;\n"]))),Qc=Object(wt.e)(St.S).attrs({as:"h3"})(O||(O=Object(kt.a)(["\n  font-size: 20px;\n\n  "," {\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md})),Cc=(wt.e.div(p||(p=Object(kt.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 164px;\n    width: 164px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),Dc,(function(e){return e.theme.mediaQueries.md})),wt.e.div(u||(u=Object(kt.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 250px;\n    width: 250px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),Hc,(function(e){return e.theme.mediaQueries.md}))),Lc=wt.e.div(g||(g=Object(kt.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 200px;\n      width: 200px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),Dc),Ac=(wt.e.div(h||(h=Object(kt.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 300px;\n      width: 300px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),Hc),Object(wt.e)(St.u)(m||(m=Object(kt.a)(["\n  display: flex;\n  margin-bottom: 16px;\n  \n \n  & > div {\n    grid-column: span 6;\n    width: 40%;\n  }\n  \n"])))),qc=(Object(wt.e)(St.u)(f||(f=Object(kt.a)(["\n  background-image: url('/images/');\n  background-repeat: no-repeat;\n  background-position: top right;\n  min-height: 376px;\n"]))),wt.e.img(v||(v=Object(kt.a)(["\n  background-image: url('/images/armylevel1b.gif');\n  background-repeat: no-repeat;\n  background-size: contain;\n  \n  min-height: 376px;\n  "]))),wt.e.div(k||(k=Object(kt.a)(["\n  margin-bottom: 16px;\n"]))),wt.e.img(y||(y=Object(kt.a)(["\n  margin-bottom: 16px;\n"]))),wt.e.div(w||(w=Object(kt.a)(["\n  color: ",";\n  font-size: 14px;\n"])),(function(e){return e.theme.colors.textSubtle})),wt.e.div(S||(S=Object(kt.a)(["\n  display: flex;\n  margin-top: 24px;\n  button {\n    flex: 1 0 50%;\n  }\n"]))),function(){Object(Ct.c)().account;var e=Object(yt.useState)(!1),n=Object(Qt.a)(e,2),t=(n[0],n[1]),c=(Object(Ft.b)().t,Object(qt.j)(),Object(St.ic)(Object(Tt.jsx)(Fc.a,{}))),i=Object(Qt.a)(c,1)[0],r=Object(wc.b)(),a=(r.claimAmount,r.setLastUpdated),o=Object(yc.Db)().onMultiClaim,b=(Object(yc.n)(),Object(Sc.g)(i)),s=(b.handleApprove,b.requestedApproval,Object(Tt.jsx)(Hc,{src:"/images/chickenwar/woods.gif",alt:"team avatar"}));Object(yt.useCallback)(Object(Ht.a)(Dt.a.mark((function e(){return Dt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t(!0),e.next=4,o();case 4:e.sent&&(t(!1),a()),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),console.error(e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])}))),[o,t,a]);return Object(Tt.jsxs)(Ac,{children:[Object(Tt.jsx)(Lc,{children:s}),Object(Tt.jsx)(zc,{children:Object(Tt.jsxs)(Ec,{children:[Object(Tt.jsxs)(St.R,{alignItems:"center",mb:"16px",children:[Object(Tt.jsx)(Cc,{children:s}),Object(Tt.jsx)(Qc,{children:"Encrypted Forest"})]}),Object(Tt.jsx)(St.Ob,{as:"p",color:"textSubtle",pr:"24px",mb:"16px",children:"Crypto World Forest, it is said that certain Evochicken were lost here when they were teleported from the real world."})]})})]})}),Rc=t(125),Pc=(wt.e.div(F||(F=Object(kt.a)(["\n  align-self: stretch;\n  background: ",";\n  flex: none;\n  padding: 10px 0;\n  text-align: center;\n  width: 70px;\n  \n"])),(function(e){return function(e){return e.isDark?"linear-gradient(139.73deg, #142339 0%, #24243D 47.4%, #37273F 100%)":"linear-gradient(139.73deg, #E6FDFF 0%, #EFF4F5 46.87%, #F3EFFF 100%)"}(e.theme)})),wt.e.div(z||(z=Object(kt.a)(["\n  align-items: start;\n  display: flex;\n  flex: 1;\n  flex-direction: column;\n  padding: 24px;\n\n  "," {\n    align-items: center;\n    flex-direction: row;\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md}))),Tc=wt.e.div(E||(E=Object(kt.a)(["\n  flex: 1;\n"]))),Bc=wt.e.img(D||(D=Object(kt.a)(["\n  border-radius: 20%;\n  \n"]))),Mc=wt.e.img(H||(H=Object(kt.a)(["\n  border-radius: 25%;\n  height: 300px;\n  width: 300px;\n"]))),Uc=Object(wt.e)(St.S).attrs({as:"h3"})(Q||(Q=Object(kt.a)(["\n  font-size: 24px;\n\n  "," {\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md})),Ic=(wt.e.div(C||(C=Object(kt.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 164px;\n    width: 164px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),Bc,(function(e){return e.theme.mediaQueries.md})),wt.e.div(L||(L=Object(kt.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 300px;\n    width: 300px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),Mc,(function(e){return e.theme.mediaQueries.md})),wt.e.div(A||(A=Object(kt.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 300px;\n      width: 300px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),Bc),wt.e.div(q||(q=Object(kt.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 100px;\n      width: 100px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),Mc),Object(wt.e)(St.u)(R||(R=Object(kt.a)(["\n  display: flex;\n  margin-bottom: 16px;\n  \n \n  & > div {\n    grid-column: span 6;\n    width: 40%;\n  }\n  \n"])))),Gc=(Object(wt.e)(St.u)(P||(P=Object(kt.a)(["\n  background-image: url('/images/');\n  background-repeat: no-repeat;\n  background-position: top right;\n  min-height: 376px;\n"]))),wt.e.img(T||(T=Object(kt.a)(["\n  background-image: url('/images/armylevel1b.gif');\n  background-repeat: no-repeat;\n  background-size: contain;\n  \n  min-height: 376px;\n  "]))),wt.e.div(B||(B=Object(kt.a)(["\n  margin-bottom: 16px;\n"]))),wt.e.img(M||(M=Object(kt.a)(["\n  margin-bottom: 16px;\n"]))),wt.e.div(U||(U=Object(kt.a)(["\n  color: ",";\n  font-size: 14px;\n"])),(function(e){return e.theme.colors.textSubtle})),wt.e.div(I||(I=Object(kt.a)(["\n  display: flex;\n  margin-top: 24px;\n  button {\n    flex: 1 0 50%;\n  }\n"])))),Vc=function(){var e=Object(Ct.c)().account,n=Object(yt.useState)(!1),t=Object(Qt.a)(n,2),c=(t[0],t[1]),i=Object(Ft.b)().t,r=(Object(qt.j)(),Object(qt.qe)()),a=Object(qt.Fd)(),o=Object(qt.fc)(),b=Object(qt.Sd)(),s=Object(qt.m)(),j=Object(qt.Ab)(),l=Object(qt.Ae)(),d=Object(qt.re)(),x=Object(St.ic)(Object(Tt.jsx)(Fc.a,{})),O=Object(Qt.a)(x,1)[0],p=Object(wc.b)(),u=(p.claimAmount,p.setLastUpdated),g=Object(yc.Db)().onMultiClaim,h=Object(yc.eb)(),m=Object(yc.lc)(),f=Object(Sc.g)(O);f.handleApprove,f.requestedApproval,Object(yt.useCallback)(Object(Ht.a)(Dt.a.mark((function e(){return Dt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,c(!0),e.next=4,g();case 4:e.sent&&(c(!1),u()),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),console.error(e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])}))),[g,c,u]);return Object(Tt.jsx)(Ic,{children:Object(Tt.jsx)(Pc,{children:Object(Tt.jsxs)(Tc,{children:[Object(Tt.jsxs)(St.Ob,{color:"green",fontSize:"15px",children:["Army Power required: 30AP     ",Object(Tt.jsx)("img",{src:"/images/chickenwar/ButtonGreen.png",alt:""})]}),Object(Tt.jsx)(St.R,{alignItems:"center",mb:"10px",children:Object(Tt.jsx)(Uc,{children:Object(Tt.jsx)(Xt,{})})}),Object(Tt.jsx)(St.Ob,{as:"p",color:"textSubtle",pr:"24px",mb:"10px",children:"Possible Rewards of exploration:"}),Object(Tt.jsx)(Jt,{}),Object(Tt.jsx)(Nt,{}),Object(Tt.jsx)(Nt,{}),Object(Tt.jsx)(Kt,{}),Object(Tt.jsx)(St.Ob,{as:"p",color:"gray",pr:"24px",mb:"10px",fontSize:"15px",children:"Explorer Duration: 2hrs."}),e?Object(Tt.jsx)(Gc,{children:!1===r&&!1===a&&!1===o&&!1===b&&!1===s&&!1===j?Object(Tt.jsx)(St.q,{width:"100%",onClick:m,children:i("Start the Exploration.")}):d>=l||!0===a||!0===o||!0===b||!0===s||!0===j?Object(Tt.jsx)(St.q,{id:"dashboard-buy-tickets",variant:"secondary",children:i("Wait for the end of Exploration...")}):Object(Tt.jsx)(St.q,{onClick:h,children:i("Claim your rewards.")})}):Object(Tt.jsx)(Gc,{children:Object(Tt.jsx)(Rc.a,{width:"100%"})})]})})})},Wc=(wt.e.div(G||(G=Object(kt.a)(["\n  align-self: stretch;\n  background: ",";\n  flex: none;\n  padding: 10px 0;\n  text-align: center;\n  width: 70px;\n  \n"])),(function(e){return function(e){return e.isDark?"linear-gradient(139.73deg, #142339 0%, #24243D 47.4%, #37273F 100%)":"linear-gradient(139.73deg, #E6FDFF 0%, #EFF4F5 46.87%, #F3EFFF 100%)"}(e.theme)})),wt.e.div(V||(V=Object(kt.a)(["\n  align-items: start;\n  display: flex;\n  flex: 1;\n  flex-direction: column;\n  padding: 24px;\n\n  "," {\n    align-items: center;\n    flex-direction: row;\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md}))),Yc=wt.e.div(W||(W=Object(kt.a)(["\n  flex: 1;\n"]))),Jc=wt.e.img(Y||(Y=Object(kt.a)(["\n  border-radius: 20%;\n  \n"]))),Nc=wt.e.img(J||(J=Object(kt.a)(["\n  border-radius:20%;\n  padding-top: 40px;\n  height: 380px;\n  width: 304px;\n"]))),Kc=Object(wt.e)(St.S).attrs({as:"h3"})(N||(N=Object(kt.a)(["\n  font-size: 20px;\n\n  "," {\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md})),Xc=(wt.e.div(K||(K=Object(kt.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 164px;\n    width: 164px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),Jc,(function(e){return e.theme.mediaQueries.md})),wt.e.div(X||(X=Object(kt.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 250px;\n    width: 250px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),Nc,(function(e){return e.theme.mediaQueries.md}))),Zc=wt.e.div(Z||(Z=Object(kt.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 200px;\n      width: 200px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),Jc),$c=(wt.e.div($||($=Object(kt.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 300px;\n      width: 300px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),Nc),Object(wt.e)(St.u)(_||(_=Object(kt.a)(["\n  display: flex;\n  margin-bottom: 16px;\n  \n \n  & > div {\n    grid-column: span 6;\n    width: 40%;\n  }\n  \n"])))),_c=(Object(wt.e)(St.u)(ee||(ee=Object(kt.a)(["\n  background-image: url('/images/');\n  background-repeat: no-repeat;\n  background-position: top right;\n  min-height: 376px;\n"]))),wt.e.img(ne||(ne=Object(kt.a)(["\n  background-image: url('/images/armylevel1b.gif');\n  background-repeat: no-repeat;\n  background-size: contain;\n  \n  min-height: 376px;\n  "]))),wt.e.div(te||(te=Object(kt.a)(["\n  margin-bottom: 16px;\n"]))),wt.e.img(ce||(ce=Object(kt.a)(["\n  margin-bottom: 16px;\n"]))),wt.e.div(ie||(ie=Object(kt.a)(["\n  color: ",";\n  font-size: 14px;\n"])),(function(e){return e.theme.colors.textSubtle})),wt.e.div(re||(re=Object(kt.a)(["\n  display: flex;\n  margin-top: 24px;\n  button {\n    flex: 1 0 50%;\n  }\n"]))),function(){Object(Ct.c)().account;var e=Object(yt.useState)(!1),n=Object(Qt.a)(e,2),t=(n[0],n[1],Object(Ft.b)().t,Object(qt.j)(),Object(St.ic)(Object(Tt.jsx)(Fc.a,{}))),c=Object(Qt.a)(t,1)[0],i=Object(wc.b)(),r=(i.claimAmount,i.setLastUpdated,Object(yc.Db)().onMultiClaim,Object(yc.n)(),Object(Sc.g)(c)),a=(r.handleApprove,r.requestedApproval,Object(Tt.jsx)(Nc,{src:"/images/chickenwar/rockyblocks.gif",alt:"team avatar"}));return Object(Tt.jsxs)($c,{children:[Object(Tt.jsx)(Zc,{children:a}),Object(Tt.jsx)(Wc,{children:Object(Tt.jsxs)(Yc,{children:[Object(Tt.jsxs)(St.R,{alignItems:"center",mb:"16px",children:[Object(Tt.jsx)(Xc,{children:a}),Object(Tt.jsx)(Kc,{children:"Rocky Blocks"})]}),Object(Tt.jsx)(St.Ob,{as:"p",color:"textSubtle",pr:"24px",mb:"16px",children:"After emerging from the encrypted forest is the RockyBlocks, some hard training lovers Evochicken come here to improve their skills. To overcome this challenge it is important that your army has a great Elemental Affinity."})]})})]})}),ei=(wt.e.div(ae||(ae=Object(kt.a)(["\n  align-self: stretch;\n  background: ",";\n  flex: none;\n  padding: 10px 0;\n  text-align: center;\n  width: 70px;\n  \n"])),(function(e){return function(e){return e.isDark?"linear-gradient(139.73deg, #142339 0%, #24243D 47.4%, #37273F 100%)":"linear-gradient(139.73deg, #E6FDFF 0%, #EFF4F5 46.87%, #F3EFFF 100%)"}(e.theme)})),wt.e.div(oe||(oe=Object(kt.a)(["\n  align-items: start;\n  display: flex;\n  flex: 1;\n  flex-direction: column;\n  padding: 24px;\n\n  "," {\n    align-items: center;\n    flex-direction: row;\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md}))),ni=wt.e.div(be||(be=Object(kt.a)(["\n  flex: 1;\n"]))),ti=wt.e.img(se||(se=Object(kt.a)(["\n  border-radius: 20%;\n  \n"]))),ci=wt.e.img(je||(je=Object(kt.a)(["\n  border-radius: 25%;\n  height: 300px;\n  width: 300px;\n"]))),ii=Object(wt.e)(St.S).attrs({as:"h3"})(le||(le=Object(kt.a)(["\n  font-size: 24px;\n\n  "," {\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md})),ri=(wt.e.div(de||(de=Object(kt.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 164px;\n    width: 164px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),ti,(function(e){return e.theme.mediaQueries.md})),wt.e.div(xe||(xe=Object(kt.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 300px;\n    width: 300px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),ci,(function(e){return e.theme.mediaQueries.md})),wt.e.div(Oe||(Oe=Object(kt.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 300px;\n      width: 300px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),ti),wt.e.div(pe||(pe=Object(kt.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 100px;\n      width: 100px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),ci),Object(wt.e)(St.u)(ue||(ue=Object(kt.a)(["\n  display: flex;\n  margin-bottom: 16px;\n  \n \n  & > div {\n    grid-column: span 6;\n    width: 40%;\n  }\n  \n"])))),ai=(Object(wt.e)(St.u)(ge||(ge=Object(kt.a)(["\n  background-image: url('/images/');\n  background-repeat: no-repeat;\n  background-position: top right;\n  min-height: 376px;\n"]))),wt.e.img(he||(he=Object(kt.a)(["\n  background-image: url('/images/armylevel1b.gif');\n  background-repeat: no-repeat;\n  background-size: contain;\n  \n  min-height: 376px;\n  "]))),wt.e.div(me||(me=Object(kt.a)(["\n  margin-bottom: 16px;\n"]))),wt.e.img(fe||(fe=Object(kt.a)(["\n  margin-bottom: 16px;\n"]))),wt.e.div(ve||(ve=Object(kt.a)(["\n  color: ",";\n  font-size: 14px;\n"])),(function(e){return e.theme.colors.textSubtle})),wt.e.div(ke||(ke=Object(kt.a)(["\n  display: flex;\n  margin-top: 24px;\n  button {\n    flex: 1 0 50%;\n  }\n"])))),oi=function(){var e=Object(Ct.c)().account,n=Object(yt.useState)(!1),t=Object(Qt.a)(n,2),c=(t[0],t[1]),i=Object(Ft.b)().t,r=Object(qt.qe)(),a=Object(qt.Fd)(),o=Object(qt.fc)(),b=Object(qt.Sd)(),s=Object(qt.m)(),j=Object(qt.Ab)(),l=Object(qt.Pd)(),d=Object(qt.Gd)(),x=Object(St.ic)(Object(Tt.jsx)(Fc.a,{})),O=Object(Qt.a)(x,1)[0],p=Object(wc.b)(),u=(p.claimAmount,p.setLastUpdated),g=Object(yc.Db)().onMultiClaim,h=Object(yc.cb)(),m=Object(yc.jc)(),f=Object(Sc.g)(O);f.handleApprove,f.requestedApproval,Object(yt.useCallback)(Object(Ht.a)(Dt.a.mark((function e(){return Dt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,c(!0),e.next=4,g();case 4:e.sent&&(c(!1),u()),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),console.error(e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])}))),[g,c,u]);return Object(Tt.jsx)(ri,{children:Object(Tt.jsx)(ei,{children:Object(Tt.jsxs)(ni,{children:[Object(Tt.jsxs)(St.Ob,{color:"green",fontSize:"15px",children:["Army Power required: 50AP     ",Object(Tt.jsx)("img",{src:"/images/chickenwar/ButtonRock.png",alt:""})]}),Object(Tt.jsx)(St.R,{alignItems:"center",mb:"10px",children:Object(Tt.jsx)(ii,{children:Object(Tt.jsx)(nc,{})})}),Object(Tt.jsx)(St.Ob,{as:"p",color:"textSubtle",pr:"24px",mb:"10px",children:"Possible Rewards of exploration:"}),Object(Tt.jsx)(Zt,{}),Object(Tt.jsx)($t,{}),Object(Tt.jsx)(_t,{}),Object(Tt.jsx)(ec,{}),Object(Tt.jsx)(St.Ob,{as:"p",color:"gray",pr:"24px",mb:"10px",fontSize:"15px",children:"Explorer Duration: 4hrs."}),e?Object(Tt.jsx)(ai,{children:!1===a&&!1===r&&!1===o&&!1===b&&!1===s&&!1===j?Object(Tt.jsx)(St.q,{width:"100%",onClick:m,children:i("Start the Exploration.")}):d>=l||!0===r||!0===o||!0===b||!0===s||!0===j?Object(Tt.jsx)(St.q,{id:"dashboard-buy-tickets",variant:"secondary",children:i("Wait for the end of Exploration...")}):Object(Tt.jsx)(St.q,{onClick:h,children:i("Claim your rewards.")})}):Object(Tt.jsx)(ai,{children:Object(Tt.jsx)(Rc.a,{width:"100%"})})]})})})},bi=(wt.e.div(ye||(ye=Object(kt.a)(["\n  align-self: stretch;\n  background: ",";\n  flex: none;\n  padding: 10px 0;\n  text-align: center;\n  width: 70px;\n  \n"])),(function(e){return function(e){return e.isDark?"linear-gradient(139.73deg, #142339 0%, #24243D 47.4%, #37273F 100%)":"linear-gradient(139.73deg, #E6FDFF 0%, #EFF4F5 46.87%, #F3EFFF 100%)"}(e.theme)})),wt.e.div(we||(we=Object(kt.a)(["\n  align-items: start;\n  display: flex;\n  flex: 1;\n  flex-direction: column;\n  padding: 24px;\n\n  "," {\n    align-items: center;\n    flex-direction: row;\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md}))),si=wt.e.div(Se||(Se=Object(kt.a)(["\n  flex: 1;\n"]))),ji=wt.e.img(Fe||(Fe=Object(kt.a)(["\n  border-radius: 20%;\n  \n"]))),li=wt.e.img(ze||(ze=Object(kt.a)(["\n  border-radius:20%;\n  padding-top: 40px;\n  height: 380px;\n  width: 304px;\n"]))),di=Object(wt.e)(St.S).attrs({as:"h3"})(Ee||(Ee=Object(kt.a)(["\n  font-size: 18px;\n\n  "," {\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md})),xi=(wt.e.div(De||(De=Object(kt.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 164px;\n    width: 164px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),ji,(function(e){return e.theme.mediaQueries.md})),wt.e.div(He||(He=Object(kt.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 250px;\n    width: 250px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),li,(function(e){return e.theme.mediaQueries.md}))),Oi=wt.e.div(Qe||(Qe=Object(kt.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 200px;\n      width: 200px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),ji),pi=(wt.e.div(Ce||(Ce=Object(kt.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 300px;\n      width: 300px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),li),Object(wt.e)(St.u)(Le||(Le=Object(kt.a)(["\n  display: flex;\n  margin-bottom: 16px;\n  \n \n  & > div {\n    grid-column: span 6;\n    width: 40%;\n  }\n  \n"])))),ui=(Object(wt.e)(St.u)(Ae||(Ae=Object(kt.a)(["\n  background-image: url('/images/');\n  background-repeat: no-repeat;\n  background-position: top right;\n  min-height: 376px;\n"]))),wt.e.img(qe||(qe=Object(kt.a)(["\n  background-image: url('/images/armylevel1b.gif');\n  background-repeat: no-repeat;\n  background-size: contain;\n  \n  min-height: 376px;\n  "]))),wt.e.div(Re||(Re=Object(kt.a)(["\n  margin-bottom: 16px;\n"]))),wt.e.img(Pe||(Pe=Object(kt.a)(["\n  margin-bottom: 16px;\n"]))),wt.e.div(Te||(Te=Object(kt.a)(["\n  color: ",";\n  font-size: 14px;\n"])),(function(e){return e.theme.colors.textSubtle})),wt.e.div(Be||(Be=Object(kt.a)(["\n  display: flex;\n  margin-top: 24px;\n  button {\n    flex: 1 0 50%;\n  }\n"]))),function(){Object(Ct.c)().account;var e=Object(yt.useState)(!1),n=Object(Qt.a)(e,2),t=(n[0],n[1],Object(Ft.b)().t,Object(qt.j)(),Object(St.ic)(Object(Tt.jsx)(Fc.a,{}))),c=Object(Qt.a)(t,1)[0],i=Object(wc.b)(),r=(i.claimAmount,i.setLastUpdated,Object(yc.Db)().onMultiClaim,Object(yc.n)(),Object(Sc.g)(c)),a=(r.handleApprove,r.requestedApproval,Object(Tt.jsx)(li,{src:"/images/chickenwar/magmahash.gif",alt:"team avatar"}));return Object(Tt.jsxs)(pi,{children:[Object(Tt.jsx)(Oi,{children:a}),Object(Tt.jsx)(bi,{children:Object(Tt.jsxs)(si,{children:[Object(Tt.jsxs)(St.R,{alignItems:"center",mb:"16px",children:[Object(Tt.jsx)(xi,{children:a}),Object(Tt.jsx)(di,{children:"MagmaHash"})]}),Object(Tt.jsx)(St.Ob,{as:"p",color:"textSubtle",pr:"24px",mb:"16px",children:"MagmaHash known for keeping the heat of high speed transactions, a dangerous place where no Evochicken would want to enter, this excursion is classified as one of the most dangerous by the Scientific Sanders, your army will need a great Attack power but be careful with becoming a Evo-Roasted !!."})]})})]})}),gi=(wt.e.div(Me||(Me=Object(kt.a)(["\n  align-self: stretch;\n  background: ",";\n  flex: none;\n  padding: 10px 0;\n  text-align: center;\n  width: 70px;\n  \n"])),(function(e){return function(e){return e.isDark?"linear-gradient(139.73deg, #142339 0%, #24243D 47.4%, #37273F 100%)":"linear-gradient(139.73deg, #E6FDFF 0%, #EFF4F5 46.87%, #F3EFFF 100%)"}(e.theme)})),wt.e.div(Ue||(Ue=Object(kt.a)(["\n  align-items: start;\n  display: flex;\n  flex: 1;\n  flex-direction: column;\n  padding: 24px;\n\n  "," {\n    align-items: center;\n    flex-direction: row;\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md}))),hi=wt.e.div(Ie||(Ie=Object(kt.a)(["\n  flex: 1;\n"]))),mi=wt.e.img(Ge||(Ge=Object(kt.a)(["\n  border-radius: 20%;\n  \n"]))),fi=wt.e.img(Ve||(Ve=Object(kt.a)(["\n  border-radius: 25%;\n  height: 300px;\n  width: 300px;\n"]))),vi=Object(wt.e)(St.S).attrs({as:"h3"})(We||(We=Object(kt.a)(["\n  font-size: 24px;\n\n  "," {\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md})),ki=(wt.e.div(Ye||(Ye=Object(kt.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 164px;\n    width: 164px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),mi,(function(e){return e.theme.mediaQueries.md})),wt.e.div(Je||(Je=Object(kt.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 300px;\n    width: 300px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),fi,(function(e){return e.theme.mediaQueries.md})),wt.e.div(Ne||(Ne=Object(kt.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 300px;\n      width: 300px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),mi),wt.e.div(Ke||(Ke=Object(kt.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 100px;\n      width: 100px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),fi),Object(wt.e)(St.u)(Xe||(Xe=Object(kt.a)(["\n  display: flex;\n  margin-bottom: 16px;\n  \n \n  & > div {\n    grid-column: span 6;\n    width: 40%;\n  }\n  \n"])))),yi=(Object(wt.e)(St.u)(Ze||(Ze=Object(kt.a)(["\n  background-image: url('/images/');\n  background-repeat: no-repeat;\n  background-position: top right;\n  min-height: 376px;\n"]))),wt.e.img($e||($e=Object(kt.a)(["\n  background-image: url('/images/armylevel1b.gif');\n  background-repeat: no-repeat;\n  background-size: contain;\n  \n  min-height: 376px;\n  "]))),wt.e.div(_e||(_e=Object(kt.a)(["\n  margin-bottom: 16px;\n"]))),wt.e.img(en||(en=Object(kt.a)(["\n  margin-bottom: 16px;\n"]))),wt.e.div(nn||(nn=Object(kt.a)(["\n  color: ",";\n  font-size: 14px;\n"])),(function(e){return e.theme.colors.textSubtle})),wt.e.div(tn||(tn=Object(kt.a)(["\n  display: flex;\n  margin-top: 24px;\n  button {\n    flex: 1 0 50%;\n  }\n"])))),wi=function(){var e=Object(Ct.c)().account,n=Object(yt.useState)(!1),t=Object(Qt.a)(n,2),c=(t[0],t[1]),i=Object(Ft.b)().t,r=Object(qt.qe)(),a=Object(qt.Fd)(),o=Object(qt.fc)(),b=Object(qt.Sd)(),s=Object(qt.m)(),j=Object(qt.Ab)(),l=Object(qt.rc)(),d=Object(qt.gc)(),x=Object(St.ic)(Object(Tt.jsx)(Fc.a,{})),O=Object(Qt.a)(x,1)[0],p=Object(wc.b)(),u=(p.claimAmount,p.setLastUpdated),g=Object(yc.Db)().onMultiClaim,h=Object(yc.bb)(),m=Object(yc.ic)(),f=Object(Sc.g)(O);f.handleApprove,f.requestedApproval,Object(yt.useCallback)(Object(Ht.a)(Dt.a.mark((function e(){return Dt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,c(!0),e.next=4,g();case 4:e.sent&&(c(!1),u()),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),console.error(e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])}))),[g,c,u]);return Object(Tt.jsx)(ki,{children:Object(Tt.jsx)(gi,{children:Object(Tt.jsxs)(hi,{children:[Object(Tt.jsxs)(St.Ob,{color:"green",fontSize:"15px",children:["Army Power required: 75AP     ",Object(Tt.jsx)("img",{src:"/images/chickenwar/ButtonMagma.png",alt:""})]}),Object(Tt.jsx)(St.R,{alignItems:"center",mb:"10px",children:Object(Tt.jsx)(vi,{children:Object(Tt.jsx)(oc,{})})}),Object(Tt.jsx)(St.Ob,{as:"p",color:"textSubtle",pr:"24px",mb:"10px",children:"Possible Rewards of exploration:"}),Object(Tt.jsx)(tc,{}),Object(Tt.jsx)(cc,{}),Object(Tt.jsx)(ic,{}),Object(Tt.jsx)(rc,{}),Object(Tt.jsx)(ac,{}),Object(Tt.jsx)(St.Ob,{as:"p",color:"gray",pr:"24px",mb:"10px",fontSize:"15px",children:"Explorer Duration: 9hrs."}),e?Object(Tt.jsx)(yi,{children:!1===a&&!1===r&&!1===o&&!1===b&&!1===s&&!1===j?Object(Tt.jsx)(St.q,{width:"100%",onClick:m,children:i("Start the Exploration.")}):d>=l||!0===r||!0===a||!0===b||!0===s||!0===j?Object(Tt.jsx)(St.q,{id:"dashboard-buy-tickets",variant:"secondary",children:i("Wait for the end of Exploration...")}):Object(Tt.jsx)(St.q,{onClick:h,children:i("Claim your rewards.")})}):Object(Tt.jsx)(yi,{children:Object(Tt.jsx)(Rc.a,{width:"100%"})})]})})})},Si=(wt.e.div(cn||(cn=Object(kt.a)(["\n  align-self: stretch;\n  background: ",";\n  flex: none;\n  padding: 10px 0;\n  text-align: center;\n  width: 70px;\n  \n"])),(function(e){return function(e){return e.isDark?"linear-gradient(139.73deg, #142339 0%, #24243D 47.4%, #37273F 100%)":"linear-gradient(139.73deg, #E6FDFF 0%, #EFF4F5 46.87%, #F3EFFF 100%)"}(e.theme)})),wt.e.div(rn||(rn=Object(kt.a)(["\n  align-items: start;\n  display: flex;\n  flex: 1;\n  flex-direction: column;\n  padding: 24px;\n\n  "," {\n    align-items: center;\n    flex-direction: row;\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md}))),Fi=wt.e.div(an||(an=Object(kt.a)(["\n  flex: 1;\n"]))),zi=wt.e.img(on||(on=Object(kt.a)(["\n  border-radius: 20%;\n  \n"]))),Ei=wt.e.img(bn||(bn=Object(kt.a)(["\n  border-radius:20%;\n  padding-top: 40px;\n  height: 380px;\n  width: 304px;\n"]))),Di=Object(wt.e)(St.S).attrs({as:"h3"})(sn||(sn=Object(kt.a)(["\n  font-size: 20px;\n\n  "," {\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md})),Hi=(wt.e.div(jn||(jn=Object(kt.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 164px;\n    width: 164px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),zi,(function(e){return e.theme.mediaQueries.md})),wt.e.div(ln||(ln=Object(kt.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 250px;\n    width: 250px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),Ei,(function(e){return e.theme.mediaQueries.md}))),Qi=wt.e.div(dn||(dn=Object(kt.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 200px;\n      width: 200px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),zi),Ci=(wt.e.div(xn||(xn=Object(kt.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 250px;\n      width: 250px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),Ei),Object(wt.e)(St.u)(On||(On=Object(kt.a)(["\n  display: flex;\n  margin-bottom: 16px;\n  \n \n  & > div {\n    grid-column: span 6;\n    width: 40%;\n  }\n  \n"])))),Li=(Object(wt.e)(St.u)(pn||(pn=Object(kt.a)(["\n  background-image: url('/images/');\n  background-repeat: no-repeat;\n  background-position: top right;\n  min-height: 376px;\n"]))),wt.e.img(un||(un=Object(kt.a)(["\n  background-image: url('/images/armylevel1b.gif');\n  background-repeat: no-repeat;\n  background-size: contain;\n  \n  min-height: 376px;\n  "]))),wt.e.div(gn||(gn=Object(kt.a)(["\n  margin-bottom: 16px;\n"]))),wt.e.img(hn||(hn=Object(kt.a)(["\n  margin-bottom: 16px;\n"]))),wt.e.div(mn||(mn=Object(kt.a)(["\n  color: ",";\n  font-size: 14px;\n"])),(function(e){return e.theme.colors.textSubtle})),wt.e.div(fn||(fn=Object(kt.a)(["\n  display: flex;\n  margin-top: 24px;\n  button {\n    flex: 1 0 50%;\n  }\n"]))),function(){Object(Ct.c)().account;var e=Object(yt.useState)(!1),n=Object(Qt.a)(e,2),t=(n[0],n[1],Object(Ft.b)().t,Object(qt.j)(),Object(St.ic)(Object(Tt.jsx)(Fc.a,{}))),c=Object(Qt.a)(t,1)[0],i=Object(wc.b)(),r=(i.claimAmount,i.setLastUpdated,Object(yc.Db)().onMultiClaim,Object(yc.n)(),Object(Sc.g)(c)),a=(r.handleApprove,r.requestedApproval,Object(Tt.jsx)(Ei,{src:"/images/chickenwar/snowswap.gif",alt:"team avatar"}));return Object(Tt.jsxs)(Ci,{children:[Object(Tt.jsx)(Qi,{children:a}),Object(Tt.jsx)(Si,{children:Object(Tt.jsxs)(Fi,{children:[Object(Tt.jsxs)(St.R,{alignItems:"center",mb:"16px",children:[Object(Tt.jsx)(Hi,{children:a}),Object(Tt.jsx)(Di,{children:"SnowSwap"})]}),Object(Tt.jsx)(St.Ob,{as:"p",color:"textSubtle",pr:"24px",mb:"16px",children:"SnowSwap founded by some EvoChicken who found some peace in this frozen place, even though sometimes their plumage is not enough to withstand the low temperatures they are relatively happy, In this small town, trade and the exchange of objects is managed as its main economy, it is a perfect place to recruit a great variety of Evochicken for your army and venture to the next destination."})]})})]})}),Ai=(wt.e.div(vn||(vn=Object(kt.a)(["\n  align-self: stretch;\n  background: ",";\n  flex: none;\n  padding: 10px 0;\n  text-align: center;\n  width: 70px;\n  \n"])),(function(e){return function(e){return e.isDark?"linear-gradient(139.73deg, #142339 0%, #24243D 47.4%, #37273F 100%)":"linear-gradient(139.73deg, #E6FDFF 0%, #EFF4F5 46.87%, #F3EFFF 100%)"}(e.theme)})),wt.e.div(kn||(kn=Object(kt.a)(["\n  align-items: start;\n  display: flex;\n  flex: 1;\n  flex-direction: column;\n  padding: 24px;\n\n  "," {\n    align-items: center;\n    flex-direction: row;\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md}))),qi=wt.e.div(yn||(yn=Object(kt.a)(["\n  flex: 1;\n"]))),Ri=wt.e.img(wn||(wn=Object(kt.a)(["\n  border-radius: 20%;\n  \n"]))),Pi=wt.e.img(Sn||(Sn=Object(kt.a)(["\n  border-radius: 25%;\n  height: 300px;\n  width: 300px;\n"]))),Ti=Object(wt.e)(St.S).attrs({as:"h3"})(Fn||(Fn=Object(kt.a)(["\n  font-size: 24px;\n\n  "," {\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md})),Bi=(wt.e.div(zn||(zn=Object(kt.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 164px;\n    width: 164px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),Ri,(function(e){return e.theme.mediaQueries.md})),wt.e.div(En||(En=Object(kt.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 300px;\n    width: 300px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),Pi,(function(e){return e.theme.mediaQueries.md})),wt.e.div(Dn||(Dn=Object(kt.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 300px;\n      width: 300px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),Ri),wt.e.div(Hn||(Hn=Object(kt.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 100px;\n      width: 100px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),Pi),Object(wt.e)(St.u)(Qn||(Qn=Object(kt.a)(["\n  display: flex;\n  margin-bottom: 16px;\n  \n \n  & > div {\n    grid-column: span 6;\n    width: 40%;\n  }\n  \n"])))),Mi=(Object(wt.e)(St.u)(Cn||(Cn=Object(kt.a)(["\n  background-image: url('/images/');\n  background-repeat: no-repeat;\n  background-position: top right;\n  min-height: 376px;\n"]))),wt.e.img(Ln||(Ln=Object(kt.a)(["\n  background-image: url('/images/armylevel1b.gif');\n  background-repeat: no-repeat;\n  background-size: contain;\n  \n  min-height: 376px;\n  "]))),wt.e.div(An||(An=Object(kt.a)(["\n  margin-bottom: 16px;\n"]))),wt.e.img(qn||(qn=Object(kt.a)(["\n  margin-bottom: 16px;\n"]))),wt.e.div(Rn||(Rn=Object(kt.a)(["\n  color: ",";\n  font-size: 14px;\n"])),(function(e){return e.theme.colors.textSubtle})),wt.e.div(Pn||(Pn=Object(kt.a)(["\n  display: flex;\n  margin-top: 24px;\n  button {\n    flex: 1 0 50%;\n  }\n"])))),Ui=function(){var e=Object(Ct.c)().account,n=Object(yt.useState)(!1),t=Object(Qt.a)(n,2),c=(t[0],t[1]),i=Object(Ft.b)().t,r=Object(qt.qe)(),a=Object(qt.Fd)(),o=Object(qt.fc)(),b=Object(qt.Sd)(),s=Object(qt.m)(),j=Object(qt.Ab)(),l=Object(qt.ge)(),d=Object(qt.Td)(),x=Object(St.ic)(Object(Tt.jsx)(Fc.a,{})),O=Object(Qt.a)(x,1)[0],p=Object(wc.b)(),u=(p.claimAmount,p.setLastUpdated),g=Object(yc.Db)().onMultiClaim,h=Object(yc.db)(),m=Object(yc.kc)(),f=Object(Sc.g)(O),v=(f.handleApprove,f.requestedApproval,Object(yt.useCallback)(Object(Ht.a)(Dt.a.mark((function e(){return Dt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,c(!0),e.next=4,g();case 4:e.sent&&(c(!1),u()),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),console.error(e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])}))),[g,c,u]),i("The rewards are awarded depending on the NFTs and their stats you hold. The amounts depend on your HashPower. ")),k=Object(St.kc)(v,{placement:"top"}),y=k.targetRef,w=k.tooltip,S=k.tooltipVisible;return Object(Tt.jsx)(Bi,{children:Object(Tt.jsx)(Ai,{children:Object(Tt.jsxs)(qi,{children:[Object(Tt.jsxs)(St.Ob,{color:"green",fontSize:"15px",children:["Army Power required: 90AP     ",Object(Tt.jsx)("img",{src:"/images/chickenwar/ButtonSnow.png",alt:""})]}),Object(Tt.jsx)(St.R,{alignItems:"center",mb:"10px",children:Object(Tt.jsx)(Ti,{children:Object(Tt.jsx)(Oc,{})})}),S&&w,Object(Tt.jsx)(St.Ob,{as:"p",color:"textSubtle",pr:"24px",mb:"10px",ref:y,children:"Possible Rewards of exploration:"}),Object(Tt.jsx)(bc,{}),Object(Tt.jsx)(sc,{}),Object(Tt.jsx)(jc,{}),Object(Tt.jsx)(lc,{}),Object(Tt.jsx)(dc,{}),Object(Tt.jsx)(xc,{}),Object(Tt.jsx)(St.Ob,{as:"p",color:"gray",pr:"24px",mb:"10px",fontSize:"15px",children:"Explorer Duration: 6hrs."}),e?Object(Tt.jsx)(Mi,{children:!1===a&&!1===r&&!1===o&&!1===b&&!1===s&&!1===j?Object(Tt.jsx)(St.q,{width:"100%",onClick:m,children:i("Start the Exploration.")}):d>=l||!0===r||!0===a||!0===o||!0===s||!0===j?Object(Tt.jsx)(St.q,{id:"dashboard-buy-tickets",variant:"secondary",children:i("Wait for the end of Exploration...")}):Object(Tt.jsx)(St.q,{onClick:h,children:i("Claim your rewards.")})}):Object(Tt.jsx)(Mi,{children:Object(Tt.jsx)(Rc.a,{width:"100%"})})]})})})},Ii=(wt.e.div(Tn||(Tn=Object(kt.a)(["\n  align-self: stretch;\n  background: ",";\n  flex: none;\n  padding: 10px 0;\n  text-align: center;\n  width: 70px;\n  \n"])),(function(e){return function(e){return e.isDark?"linear-gradient(139.73deg, #142339 0%, #24243D 47.4%, #37273F 100%)":"linear-gradient(139.73deg, #E6FDFF 0%, #EFF4F5 46.87%, #F3EFFF 100%)"}(e.theme)})),wt.e.div(Bn||(Bn=Object(kt.a)(["\n  align-items: start;\n  display: flex;\n  flex: 1;\n  flex-direction: column;\n  padding: 24px;\n\n  "," {\n    align-items: center;\n    flex-direction: row;\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md}))),Gi=wt.e.div(Mn||(Mn=Object(kt.a)(["\n  flex: 1;\n"]))),Vi=wt.e.img(Un||(Un=Object(kt.a)(["\n  border-radius: 20%;\n  \n"]))),Wi=wt.e.img(In||(In=Object(kt.a)(["\n  border-radius:20%;\n  padding-top: 40px;\n  height: 380px;\n  width: 304px;\n"]))),Yi=Object(wt.e)(St.S).attrs({as:"h3"})(Gn||(Gn=Object(kt.a)(["\n  font-size: 20px;\n\n  "," {\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md})),Ji=(wt.e.div(Vn||(Vn=Object(kt.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 164px;\n    width: 164px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),Vi,(function(e){return e.theme.mediaQueries.md})),wt.e.div(Wn||(Wn=Object(kt.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 250px;\n    width: 250px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),Wi,(function(e){return e.theme.mediaQueries.md}))),Ni=wt.e.div(Yn||(Yn=Object(kt.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 200px;\n      width: 200px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),Vi),Ki=(wt.e.div(Jn||(Jn=Object(kt.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 300px;\n      width: 300px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),Wi),Object(wt.e)(St.u)(Nn||(Nn=Object(kt.a)(["\n  display: flex;\n  margin-bottom: 16px;\n  \n \n  & > div {\n    grid-column: span 6;\n    width: 40%;\n  }\n  \n"])))),Xi=(Object(wt.e)(St.u)(Kn||(Kn=Object(kt.a)(["\n  background-image: url('/images/');\n  background-repeat: no-repeat;\n  background-position: top right;\n  min-height: 376px;\n"]))),wt.e.img(Xn||(Xn=Object(kt.a)(["\n  background-image: url('/images/armylevel1b.gif');\n  background-repeat: no-repeat;\n  background-size: contain;\n  \n  min-height: 376px;\n  "]))),wt.e.div(Zn||(Zn=Object(kt.a)(["\n  margin-bottom: 16px;\n"]))),wt.e.img($n||($n=Object(kt.a)(["\n  margin-bottom: 16px;\n"]))),wt.e.div(_n||(_n=Object(kt.a)(["\n  color: ",";\n  font-size: 14px;\n"])),(function(e){return e.theme.colors.textSubtle})),wt.e.div(et||(et=Object(kt.a)(["\n  display: flex;\n  margin-top: 24px;\n  button {\n    flex: 1 0 50%;\n  }\n"]))),function(){Object(Ct.c)().account;var e=Object(yt.useState)(!1),n=Object(Qt.a)(e,2),t=(n[0],n[1],Object(Ft.b)().t,Object(qt.j)(),Object(St.ic)(Object(Tt.jsx)(Fc.a,{}))),c=Object(Qt.a)(t,1)[0],i=Object(wc.b)(),r=(i.claimAmount,i.setLastUpdated,Object(yc.Db)().onMultiClaim,Object(yc.n)(),Object(Sc.g)(c)),a=(r.handleApprove,r.requestedApproval,Object(Tt.jsx)(Wi,{src:"/images/chickenwar/bitclouds.gif",alt:"team avatar"}));return Object(Tt.jsxs)(Ki,{children:[Object(Tt.jsx)(Ni,{children:a}),Object(Tt.jsx)(Ii,{children:Object(Tt.jsxs)(Gi,{children:[Object(Tt.jsxs)(St.R,{alignItems:"center",mb:"16px",children:[Object(Tt.jsx)(Ji,{children:a}),Object(Tt.jsx)(Yi,{children:"BitClouds"})]}),Object(Tt.jsx)(St.Ob,{as:"p",color:"textSubtle",pr:"24px",mb:"16px",children:"Of the safest places within the Blockchain, only some Evochicken who managed to perfect the art of Flight could reach the Gygabit Tree, most of the Evochicken here are of Fusion grade, they are very wise maybe they have some information about it Genesis egg."})]})})]})}),Zi=(wt.e.div(nt||(nt=Object(kt.a)(["\n  align-self: stretch;\n  background: ",";\n  flex: none;\n  padding: 10px 0;\n  text-align: center;\n  width: 70px;\n  \n"])),(function(e){return function(e){return e.isDark?"linear-gradient(139.73deg, #142339 0%, #24243D 47.4%, #37273F 100%)":"linear-gradient(139.73deg, #E6FDFF 0%, #EFF4F5 46.87%, #F3EFFF 100%)"}(e.theme)})),wt.e.div(tt||(tt=Object(kt.a)(["\n  align-items: start;\n  display: flex;\n  flex: 1;\n  flex-direction: column;\n  padding: 24px;\n\n  "," {\n    align-items: center;\n    flex-direction: row;\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md}))),$i=wt.e.div(ct||(ct=Object(kt.a)(["\n  flex: 1;\n"]))),_i=wt.e.img(it||(it=Object(kt.a)(["\n  border-radius: 20%;\n  \n"]))),er=wt.e.img(rt||(rt=Object(kt.a)(["\n  border-radius: 25%;\n  height: 300px;\n  width: 300px;\n"]))),nr=Object(wt.e)(St.S).attrs({as:"h3"})(at||(at=Object(kt.a)(["\n  font-size: 24px;\n\n  "," {\n    font-size: 40px;\n  }\n"])),(function(e){return e.theme.mediaQueries.md})),tr=(wt.e.div(ot||(ot=Object(kt.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 164px;\n    width: 164px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),_i,(function(e){return e.theme.mediaQueries.md})),wt.e.div(bt||(bt=Object(kt.a)(["\n  flex: none;\n  margin-right: 8px;\n\n  "," {\n    height: 300px;\n    width: 300px;\n  }\n\n  "," {\n    display: none;\n  }\n"])),er,(function(e){return e.theme.mediaQueries.md})),wt.e.div(st||(st=Object(kt.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 300px;\n      width: 300px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),_i),wt.e.div(jt||(jt=Object(kt.a)(["\n  display: none;\n\n  "," {\n    display: block;\n    margin-left: 24px;\n\n    "," {\n      height: 100px;\n      width: 100px;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.md}),er),Object(wt.e)(St.u)(lt||(lt=Object(kt.a)(["\n  display: flex;\n  margin-bottom: 16px;\n  \n \n  & > div {\n    grid-column: span 6;\n    width: 40%;\n  }\n  \n"])))),cr=(Object(wt.e)(St.u)(dt||(dt=Object(kt.a)(["\n  background-image: url('/images/');\n  background-repeat: no-repeat;\n  background-position: top right;\n  min-height: 376px;\n"]))),wt.e.img(xt||(xt=Object(kt.a)(["\n  background-image: url('/images/armylevel1b.gif');\n  background-repeat: no-repeat;\n  background-size: contain;\n  \n  min-height: 376px;\n  "]))),wt.e.div(Ot||(Ot=Object(kt.a)(["\n  margin-bottom: 16px;\n"]))),wt.e.img(pt||(pt=Object(kt.a)(["\n  margin-bottom: 16px;\n"]))),wt.e.div(ut||(ut=Object(kt.a)(["\n  color: ",";\n  font-size: 14px;\n"])),(function(e){return e.theme.colors.textSubtle})),wt.e.div(gt||(gt=Object(kt.a)(["\n  display: flex;\n  margin-top: 24px;\n  button {\n    flex: 1 0 50%;\n  }\n"])))),ir=function(){var e=Object(Ct.c)().account,n=Object(yt.useState)(!1),t=Object(Qt.a)(n,2),c=(t[0],t[1]),i=Object(Ft.b)().t,r=Object(qt.qe)(),a=Object(qt.Fd)(),o=Object(qt.fc)(),b=Object(qt.Sd)(),s=Object(qt.m)(),j=Object(qt.Ab)(),l=Object(qt.w)(),d=Object(qt.n)(),x=Object(St.ic)(Object(Tt.jsx)(Fc.a,{})),O=Object(Qt.a)(x,1)[0],p=Object(wc.b)(),u=(p.claimAmount,p.setLastUpdated),g=Object(yc.Db)().onMultiClaim,h=Object(yc.Y)(),m=Object(yc.gc)(),f=Object(Sc.g)(O);f.handleApprove,f.requestedApproval,Object(yt.useCallback)(Object(Ht.a)(Dt.a.mark((function e(){return Dt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,c(!0),e.next=4,g();case 4:e.sent&&(c(!1),u()),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),console.error(e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])}))),[g,c,u]);return Object(Tt.jsx)(tr,{children:Object(Tt.jsx)(Zi,{children:Object(Tt.jsxs)($i,{children:[Object(Tt.jsxs)(St.Ob,{color:"green",fontSize:"15px",children:["Army Power required: 120AP     ",Object(Tt.jsx)("img",{src:"/images/chickenwar/ButtonCloud.png",alt:""})]}),Object(Tt.jsx)(St.R,{alignItems:"center",mb:"10px",children:Object(Tt.jsx)(nr,{children:Object(Tt.jsx)(mc,{})})}),Object(Tt.jsx)(St.Ob,{as:"p",color:"textSubtle",pr:"24px",mb:"10px",children:"Possible Rewards of exploration:"}),Object(Tt.jsx)(pc,{}),Object(Tt.jsx)(uc,{}),Object(Tt.jsx)(gc,{}),Object(Tt.jsx)(hc,{}),Object(Tt.jsx)(St.Ob,{as:"p",color:"gray",pr:"24px",mb:"10px",fontSize:"15px",children:"Explorer Duration: 7hrs."}),e?Object(Tt.jsx)(cr,{children:!1===a&&!1===r&&!1===o&&!1===b&&!1===s&&!1===j?Object(Tt.jsx)(St.q,{width:"100%",onClick:m,children:i("Start the Exploration.")}):d>=l||!0===r||!0===a||!0===o||!0===b||!0===j?Object(Tt.jsx)(St.q,{id:"dashboard-buy-tickets",variant:"secondary",children:i("Wait for the end of Exploration...")}):Object(Tt.jsx)(St.q,{onClick:h,children:i("Claim your rewards.")})}):Object(Tt.jsx)(cr,{children:Object(Tt.jsx)(Rc.a,{width:"100%"})})]})})})},rr=(wt.e.div(ht||(ht=Object(kt.a)(["\n  align-items: center;\n  background-image: url('/images/machinesanders.gif');\n  background-repeat: no-repeat;\n  background-size: contain;\n  background-position: top center;\n  display: flex;\n  justify-content: center;\n  flex-direction: column;\n  margin: auto;\n  margin-bottom: 10px;\n  padding-top: 116px;\n  text-align: center;\n\n  "," {\n    background-image: url('/images/machinesanders.gif');\n    background-position: Left;\n    background-size: contain;\n    height: 380px;\n    padding-top: 0;\n    \n  }\n"])),(function(e){return e.theme.mediaQueries.lg})),Object(wt.e)(St.i)(mt||(mt=Object(kt.a)(["\n  align-items: stretch;\n  justify-content: stretch;\n  margin-bottom: 64px;\n  grid-gap: 64px;\n\n  & > div {\n    grid-column: span 6;\n    width: 105%;\n  }\n\n  "," {\n    & > div {\n      grid-column: span 8;\n    }\n  }\n\n  "," {\n    margin-bottom: 32px;\n    grid-gap: 32px;\n\n    & > div {\n      grid-column: span 6;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.sm}),(function(e){return e.theme.mediaQueries.lg}))),ar=Object(wt.e)(St.i)(ft||(ft=Object(kt.a)(["\n  align-items: stretch;\n  justify-content: stretch;\n  margin-bottom: 64px;\n  grid-gap: 64px;\n\n  & > div {\n    grid-column: span 10;\n    width: 120%;\n  }\n\n  "," {\n    & > div {\n      grid-column: span 10;\n    }\n  }\n\n  "," {\n    margin-bottom: 32px;\n    grid-gap: 32px;\n\n    & > div {\n      grid-column: span 10;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.sm}),(function(e){return e.theme.mediaQueries.lg})),or=(Object(wt.e)(St.i)(vt||(vt=Object(kt.a)(["\n  align-items: start;\n  margin-bottom: 34px;\n  grid-gap: 24px;\n\n  & > div {\n    grid-column: span 6;\n  }\n\n  "," {\n    & > div {\n      grid-column: span 8;\n    }\n  }\n\n  "," {\n    margin-bottom: 32px;\n    grid-gap: 32px;\n\n    & > div {\n      grid-column: span 4;\n    }\n  }\n"])),(function(e){return e.theme.mediaQueries.sm}),(function(e){return e.theme.mediaQueries.lg})),function(){Object(Ft.b)().t;return Object(Tt.jsxs)(zt.a,{children:[Object(Tt.jsx)(Mt,{}),Object(Tt.jsx)(ar,{children:Object(Tt.jsx)(kc,{})}),Object(Tt.jsxs)(rr,{children:[Object(Tt.jsx)(qc,{}),Object(Tt.jsx)(Vc,{}),Object(Tt.jsx)(_c,{}),Object(Tt.jsx)(oi,{}),Object(Tt.jsx)(ui,{}),Object(Tt.jsx)(wi,{}),Object(Tt.jsx)(Li,{}),Object(Tt.jsx)(Ui,{}),Object(Tt.jsx)(Xi,{}),Object(Tt.jsx)(ir,{})]})]})})},881:function(e,n,t){"use strict";t.d(n,"b",(function(){return u})),t.d(n,"a",(function(){return g}));var c=t(3),i=t.n(c),r=t(10),a=t(21),o=t(0),b=t(16),s=t.n(b),j=t(18),l=t(22),d=t(34),x=t(28),O=t(143),p=t(275),u=function(e){var n=Object(o.useState)(d.c),t=Object(a.a)(n,2),c=t[0],b=t[1],p=Object(j.c)().account,u=Object(x.a)(),g=Object(O.a)().fastRefresh;return Object(o.useEffect)((function(){p&&function(){var n=Object(r.a)(i.a.mark((function n(){var t,c;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=Object(l.a)(e,u),n.next=3,t.methods.balanceOf(p).call();case 3:c=n.sent,b(new s.a(c));case 5:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}()()}),[p,e,u,g]),c},g=function(){var e=Object(o.useState)(d.c),n=Object(a.a)(e,2),t=n[0],c=n[1],b=Object(j.c)().account,l=Object(p.a)(),O=l.lastUpdated,u=l.setLastUpdated,g=Object(x.a)();return Object(o.useEffect)((function(){b&&function(){var e=Object(r.a)(i.a.mark((function e(){var n;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g.eth.getBalance(b);case 2:n=e.sent,c(new s.a(n));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()()}),[b,g,O,c]),{balance:t,refresh:u}}},899:function(e,n,t){"use strict";var c=t(3),i=t.n(c),r=t(12),a=t(10),o=t(21),b=t(0),s=t(16),j=t.n(s),l=t(18),d=t(60),x=t(19),O=t(101),p=t(147),u=t(143);n.a=function(){var e=Object(b.useState)([]),n=Object(o.a)(e,2),t=n[0],c=n[1],s=Object(l.c)().account,g=Object(u.a)().fastRefresh;return Object(b.useEffect)((function(){s&&function(){var e=Object(a.a)(i.a.mark((function e(){var n,t,a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=p.a.map((function(e){return{address:Object(x.eb)(),name:"pendingCake",params:[e.pid,s]}})),e.next=3,Object(d.a)(O,n);case 3:t=e.sent,a=p.a.map((function(e,n){return Object(r.a)(Object(r.a)({},e),{},{balance:new j.a(t[n])})})),c(a);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()()}),[s,g]),t}}}]);
  //# sourceMappingURL=22.ba6e2385.chunk.js.map